bry-biometric-collector 2.0.3 → 2.0.5

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,11 +1,11 @@
1
- import { w as yt, S as tl, r as ll, t as Ot, x as il, y as p, z as Te, B as h, C as ee, D as o, E as w, G as S, H as Ye, I as Nt, J, K as L, L as Me, M as u, N as oe, O as _t, P as Z, Q as Bl, R as It, T, U as At, V as sl, W as xe, X as al, Y as De, Z as St, _ as gt, a0 as et, a1 as vt, a2 as Ft, a3 as Xe, a4 as Hl, $ as Ul, a5 as Vl, a6 as ge, a7 as Kl, a8 as Je, a9 as tt, aa as wt, ab as kt, ac as Se, ad as jl, ae as ql, af as ot, ag as Ct, ah as zl, ai as nt, aj as Wt, ak as Bt, al as Ht, am as Zl, an as Et, ao as Ut, ap as Vt, aq as Ql, ar as Xl, as as Jl, at as Gl, au as Yl, av as k, aw as Kt, ax as jt, f as $l, ay as ei, az as rt, aA as $, aB as ct, aC as ut, A as qt, aD as Rt, aE as dt, aF as ti, aG as li, aH as ii, aI as si, aJ as Ge, aK as ai, aL as oi, aM as bt, aN as ft, aO as ol, l as Pt, aP as Le, aQ as Lt, aR as W, aS as ni, aT as ri, aU as zt, aV as mt, aW as ci, aX as ui } from "./main_4a3321b2_2.0.3.js";
2
- var ce = /* @__PURE__ */ ((l) => (l.OK = "OK", l.DEVICE_NOT_FOUND_ERROR = "DEVICE_NOT_FOUND_ERROR", l.CAMERA_DENIED_ERROR = "CAMERA_DENIED_ERROR", l.CAMERA_IN_USE_ERROR = "CAMERA_IN_USE_ERROR", l.CAMERA_CLOSED_ERROR = "CAMERA_CLOSED_ERROR", l))(ce || {});
3
- const Ue = yt(
1
+ import { w as yt, S as tl, r as ll, t as It, x as il, y as p, z as Me, B as h, C as G, D as o, E as w, G as A, H as $e, I as Nt, J as Z, K as L, L as We, M as u, N as se, O as _t, P as q, Q as Bl, R as Pt, T, U as St, V as W, W as sl, X as Ne, Y as al, Z as Fe, _ as At, a0 as gt, a1 as lt, a2 as vt, a3 as Ft, a4 as Je, a5 as Hl, $ as Ul, a6 as Vl, a7 as Re, a8 as Kl, a9 as Ge, aa as it, ab as wt, ac as kt, ad as xe, ae as jl, af as ql, ag as ot, ah as Ct, ai as zl, aj as nt, ak as Wt, al as Bt, am as Ht, an as Zl, ao as Et, ap as Ut, aq as Vt, ar as Ql, as as Xl, at as Jl, au as Gl, av as Yl, aw as k, ax as Kt, ay as jt, f as $l, az as ei, aA as rt, aB as J, aC as ct, aD as ut, A as qt, aE as Rt, aF as ft, aG as ti, aH as li, aI as ii, aJ as si, aK as Ye, aL as ai, aM as oi, aN as bt, aO as dt, aP as ol, l as Ot, aQ as ye, aR as Lt, aS as ni, aT as ri, aU as zt, aV as mt, aW as ci, aX as ui } from "./main_bce0667c_2.0.5.js";
2
+ var re = /* @__PURE__ */ ((l) => (l.OK = "OK", l.DEVICE_NOT_FOUND_ERROR = "DEVICE_NOT_FOUND_ERROR", l.CAMERA_DENIED_ERROR = "CAMERA_DENIED_ERROR", l.CAMERA_IN_USE_ERROR = "CAMERA_IN_USE_ERROR", l.CAMERA_CLOSED_ERROR = "CAMERA_CLOSED_ERROR", l))(re || {});
3
+ const Ke = yt(
4
4
  "OK"
5
5
  /* OK */
6
6
  );
7
- function di(l) {
8
- let e, t, s, a, c, f, m, n, d, g, C = [
7
+ function fi(l) {
8
+ let e, t, s, a, c, d, m, n, f, g, E = [
9
9
  { class: "text-[8em] mx-auto" },
10
10
  { xmlns: "http://www.w3.org/2000/svg" },
11
11
  { width: "1em" },
@@ -14,22 +14,22 @@ function di(l) {
14
14
  /*$$props*/
15
15
  l[2]
16
16
  ], b = {};
17
- for (let r = 0; r < C.length; r += 1)
18
- b = Ye(b, C[r]);
17
+ for (let r = 0; r < E.length; r += 1)
18
+ b = $e(b, E[r]);
19
19
  return {
20
20
  c() {
21
- e = J("svg"), t = J("path"), s = L(), a = h("span"), a.textContent = "Por favor, permaneça na mesma aba durante a coleta biométrica.", c = L(), f = h("span"), f.textContent = "Clique no botão Reiniciar para capturar novamente.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "M236.8 188.09L149.35 36.22a24.76 24.76 0 0 0-42.7 0L19.2 188.09a23.51 23.51 0 0 0 0 23.72A24.35 24.35 0 0 0 40.55 224h174.9a24.35 24.35 0 0 0 21.33-12.19a23.51 23.51 0 0 0 .02-23.72m-13.87 15.71a8.5 8.5 0 0 1-7.48 4.2H40.55a8.5 8.5 0 0 1-7.48-4.2a7.59 7.59 0 0 1 0-7.72l87.45-151.87a8.75 8.75 0 0 1 15 0l87.45 151.87a7.59 7.59 0 0 1-.04 7.72M120 144v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12"), Me(e, b), o(a, "class", "text-xl font-bold text-center"), o(f, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
21
+ e = Z("svg"), t = Z("path"), s = L(), a = h("span"), a.textContent = "Por favor, permaneça na mesma aba durante a coleta biométrica.", c = L(), d = h("span"), d.textContent = "Clique no botão Reiniciar para capturar novamente.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "M236.8 188.09L149.35 36.22a24.76 24.76 0 0 0-42.7 0L19.2 188.09a23.51 23.51 0 0 0 0 23.72A24.35 24.35 0 0 0 40.55 224h174.9a24.35 24.35 0 0 0 21.33-12.19a23.51 23.51 0 0 0 .02-23.72m-13.87 15.71a8.5 8.5 0 0 1-7.48 4.2H40.55a8.5 8.5 0 0 1-7.48-4.2a7.59 7.59 0 0 1 0-7.72l87.45-151.87a8.75 8.75 0 0 1 15 0l87.45 151.87a7.59 7.59 0 0 1-.04 7.72M120 144v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12"), We(e, b), o(a, "class", "text-xl font-bold text-center"), o(d, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
22
22
  },
23
23
  m(r, _) {
24
- p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, f, _), p(r, m, _), p(r, n, _), d || (g = oe(
24
+ p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, d, _), p(r, m, _), p(r, n, _), f || (g = se(
25
25
  n,
26
26
  "click",
27
27
  /*click_handler_3*/
28
28
  l[6]
29
- ), d = !0);
29
+ ), f = !0);
30
30
  },
31
31
  p(r, _) {
32
- Me(e, b = _t(C, [
32
+ We(e, b = _t(E, [
33
33
  { class: "text-[8em] mx-auto" },
34
34
  { xmlns: "http://www.w3.org/2000/svg" },
35
35
  { width: "1em" },
@@ -41,12 +41,12 @@ function di(l) {
41
41
  ]));
42
42
  },
43
43
  d(r) {
44
- r && w(e), r && w(s), r && w(a), r && w(c), r && w(f), r && w(m), r && w(n), d = !1, g();
44
+ r && w(e), r && w(s), r && w(a), r && w(c), r && w(d), r && w(m), r && w(n), f = !1, g();
45
45
  }
46
46
  };
47
47
  }
48
- function fi(l) {
49
- let e, t, s, a, c, f, m, n, d, g, C = [
48
+ function di(l) {
49
+ let e, t, s, a, c, d, m, n, f, g, E = [
50
50
  { class: "text-[8em] mx-auto" },
51
51
  { xmlns: "http://www.w3.org/2000/svg" },
52
52
  { width: "1em" },
@@ -55,22 +55,22 @@ function fi(l) {
55
55
  /*$$props*/
56
56
  l[2]
57
57
  ], b = {};
58
- for (let r = 0; r < C.length; r += 1)
59
- b = Ye(b, C[r]);
58
+ for (let r = 0; r < E.length; r += 1)
59
+ b = $e(b, E[r]);
60
60
  return {
61
61
  c() {
62
- e = J("svg"), t = J("path"), s = L(), a = h("span"), a.textContent = "A câmera está em uso.", c = L(), f = h("span"), f.textContent = "Certifique-se de que a câmera não está sendo utilizada por nenhuma outra aplicação e clique no botão abaixo.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "M56.88 31.93a12 12 0 1 0-17.76 16.14l4 4.37A28 28 0 0 0 20 80v112a28 28 0 0 0 28 28h147.42l3.7 4.07a12 12 0 0 0 17.76-16.14Zm49.35 90L136 154.64a24 24 0 0 1-29.77-32.75ZM48 196a4 4 0 0 1-4-4V80a4 4 0 0 1 4-4h16.51l24.92 27.41a48 48 0 0 0 63.34 69.67L173.6 196ZM236 80v94.14a12 12 0 0 1-24 0V80a4 4 0 0 0-4-4h-32a12 12 0 0 1-10-5.34L153.57 52h-51.51a12 12 0 0 1 0-24H160a12 12 0 0 1 10 5.34L182.42 52H208a28 28 0 0 1 28 28"), Me(e, b), o(a, "class", "text-xl font-bold text-center"), o(f, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
62
+ e = Z("svg"), t = Z("path"), s = L(), a = h("span"), a.textContent = "A câmera está em uso.", c = L(), d = h("span"), d.textContent = "Certifique-se de que a câmera não está sendo utilizada por nenhuma outra aplicação e clique no botão abaixo.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "M56.88 31.93a12 12 0 1 0-17.76 16.14l4 4.37A28 28 0 0 0 20 80v112a28 28 0 0 0 28 28h147.42l3.7 4.07a12 12 0 0 0 17.76-16.14Zm49.35 90L136 154.64a24 24 0 0 1-29.77-32.75ZM48 196a4 4 0 0 1-4-4V80a4 4 0 0 1 4-4h16.51l24.92 27.41a48 48 0 0 0 63.34 69.67L173.6 196ZM236 80v94.14a12 12 0 0 1-24 0V80a4 4 0 0 0-4-4h-32a12 12 0 0 1-10-5.34L153.57 52h-51.51a12 12 0 0 1 0-24H160a12 12 0 0 1 10 5.34L182.42 52H208a28 28 0 0 1 28 28"), We(e, b), o(a, "class", "text-xl font-bold text-center"), o(d, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
63
63
  },
64
64
  m(r, _) {
65
- p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, f, _), p(r, m, _), p(r, n, _), d || (g = oe(
65
+ p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, d, _), p(r, m, _), p(r, n, _), f || (g = se(
66
66
  n,
67
67
  "click",
68
68
  /*click_handler_2*/
69
69
  l[5]
70
- ), d = !0);
70
+ ), f = !0);
71
71
  },
72
72
  p(r, _) {
73
- Me(e, b = _t(C, [
73
+ We(e, b = _t(E, [
74
74
  { class: "text-[8em] mx-auto" },
75
75
  { xmlns: "http://www.w3.org/2000/svg" },
76
76
  { width: "1em" },
@@ -82,12 +82,12 @@ function fi(l) {
82
82
  ]));
83
83
  },
84
84
  d(r) {
85
- r && w(e), r && w(s), r && w(a), r && w(c), r && w(f), r && w(m), r && w(n), d = !1, g();
85
+ r && w(e), r && w(s), r && w(a), r && w(c), r && w(d), r && w(m), r && w(n), f = !1, g();
86
86
  }
87
87
  };
88
88
  }
89
89
  function mi(l) {
90
- let e, t, s, a, c, f, m, n, d, g, C = [
90
+ let e, t, s, a, c, d, m, n, f, g, E = [
91
91
  { class: "text-[8em] mx-auto" },
92
92
  { xmlns: "http://www.w3.org/2000/svg" },
93
93
  { width: "1em" },
@@ -96,22 +96,22 @@ function mi(l) {
96
96
  /*$$props*/
97
97
  l[2]
98
98
  ], b = {};
99
- for (let r = 0; r < C.length; r += 1)
100
- b = Ye(b, C[r]);
99
+ for (let r = 0; r < E.length; r += 1)
100
+ b = $e(b, E[r]);
101
101
  return {
102
102
  c() {
103
- e = J("svg"), t = J("path"), s = L(), a = h("span"), a.textContent = "A câmera não foi detectada.", c = L(), f = h("span"), f.textContent = "Por favor, conecte a sua câmera, espere alguns instantes e clique no botão Reiniciar.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "m137 168l11.52-11.51a12 12 0 0 0-17-17L120 151l-15-15l11.52-11.51a12 12 0 0 0-17-17L88 119l-15.51-15.49a12 12 0 0 0-17 17L59 124l-20.46 20.49a36 36 0 0 0 0 50.91l2.55 2.54l-25.58 25.57a12 12 0 0 0 17 17l25.57-25.58l2.54 2.55a36.06 36.06 0 0 0 50.91 0L132 197l3.51 3.52a12 12 0 0 0 17-17Zm-42.46 32.49a12 12 0 0 1-17 0l-22.03-22.06a12 12 0 0 1 0-17L76 141l39 39Zm146-185a12 12 0 0 0-17 0l-25.6 25.6l-2.54-2.55a36.05 36.05 0 0 0-50.91 0L124 59l-3.51-3.52a12 12 0 0 0-17 17l80 80a12 12 0 0 0 17-17L197 132l20.49-20.49a36 36 0 0 0 0-50.91l-2.55-2.54l25.58-25.57a12 12 0 0 0-.03-16.98Zm-40 79L180 115l-39-39l20.49-20.49a12 12 0 0 1 17 0l22.06 22.06a12 12 0 0 1 0 17Z"), Me(e, b), o(a, "class", "text-xl font-bold text-center"), o(f, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
103
+ e = Z("svg"), t = Z("path"), s = L(), a = h("span"), a.textContent = "A câmera não foi detectada.", c = L(), d = h("span"), d.textContent = "Por favor, conecte a sua câmera, espere alguns instantes e clique no botão Reiniciar.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "m137 168l11.52-11.51a12 12 0 0 0-17-17L120 151l-15-15l11.52-11.51a12 12 0 0 0-17-17L88 119l-15.51-15.49a12 12 0 0 0-17 17L59 124l-20.46 20.49a36 36 0 0 0 0 50.91l2.55 2.54l-25.58 25.57a12 12 0 0 0 17 17l25.57-25.58l2.54 2.55a36.06 36.06 0 0 0 50.91 0L132 197l3.51 3.52a12 12 0 0 0 17-17Zm-42.46 32.49a12 12 0 0 1-17 0l-22.03-22.06a12 12 0 0 1 0-17L76 141l39 39Zm146-185a12 12 0 0 0-17 0l-25.6 25.6l-2.54-2.55a36.05 36.05 0 0 0-50.91 0L124 59l-3.51-3.52a12 12 0 0 0-17 17l80 80a12 12 0 0 0 17-17L197 132l20.49-20.49a36 36 0 0 0 0-50.91l-2.55-2.54l25.58-25.57a12 12 0 0 0-.03-16.98Zm-40 79L180 115l-39-39l20.49-20.49a12 12 0 0 1 17 0l22.06 22.06a12 12 0 0 1 0 17Z"), We(e, b), o(a, "class", "text-xl font-bold text-center"), o(d, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
104
104
  },
105
105
  m(r, _) {
106
- p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, f, _), p(r, m, _), p(r, n, _), d || (g = oe(
106
+ p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, d, _), p(r, m, _), p(r, n, _), f || (g = se(
107
107
  n,
108
108
  "click",
109
109
  /*click_handler_1*/
110
110
  l[4]
111
- ), d = !0);
111
+ ), f = !0);
112
112
  },
113
113
  p(r, _) {
114
- Me(e, b = _t(C, [
114
+ We(e, b = _t(E, [
115
115
  { class: "text-[8em] mx-auto" },
116
116
  { xmlns: "http://www.w3.org/2000/svg" },
117
117
  { width: "1em" },
@@ -123,12 +123,12 @@ function mi(l) {
123
123
  ]));
124
124
  },
125
125
  d(r) {
126
- r && w(e), r && w(s), r && w(a), r && w(c), r && w(f), r && w(m), r && w(n), d = !1, g();
126
+ r && w(e), r && w(s), r && w(a), r && w(c), r && w(d), r && w(m), r && w(n), f = !1, g();
127
127
  }
128
128
  };
129
129
  }
130
130
  function _i(l) {
131
- let e, t, s, a, c, f, m, n, d, g, C = [
131
+ let e, t, s, a, c, d, m, n, f, g, E = [
132
132
  { class: "text-[8em] mx-auto" },
133
133
  { xmlns: "http://www.w3.org/2000/svg" },
134
134
  { width: "1em" },
@@ -137,22 +137,22 @@ function _i(l) {
137
137
  /*$$props*/
138
138
  l[2]
139
139
  ], b = {};
140
- for (let r = 0; r < C.length; r += 1)
141
- b = Ye(b, C[r]);
140
+ for (let r = 0; r < E.length; r += 1)
141
+ b = $e(b, E[r]);
142
142
  return {
143
143
  c() {
144
- e = J("svg"), t = J("path"), s = L(), a = h("span"), a.textContent = "Por favor, conceda permissão de acesso à câmera.", c = L(), f = h("span"), f.textContent = "Após conceder a permissão, clique no botão Reiniciar.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "M249.45 69.31a12 12 0 0 0-12.51 1L212 88.43V72a20 20 0 0 0-20-20h-68.12a12 12 0 0 0 0 24H188v68a12 12 0 0 0 4.46 9.33c.15.13.31.25.48.38l44 32A12 12 0 0 0 256 176V80a12 12 0 0 0-6.55-10.69M232 152.43l-20-14.54v-19.78l20-14.54ZM56.88 31.93a12 12 0 1 0-17.76 16.14L42.69 52H32a20 20 0 0 0-20 20v112a20 20 0 0 0 20 20h148.87l18.25 20.07a12 12 0 0 0 17.76-16.14ZM36 180V76h28.51l94.55 104Z"), Me(e, b), o(a, "class", "text-xl font-bold text-center"), o(f, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
144
+ e = Z("svg"), t = Z("path"), s = L(), a = h("span"), a.textContent = "Por favor, conceda permissão de acesso à câmera.", c = L(), d = h("span"), d.textContent = "Após conceder a permissão, clique no botão Reiniciar.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "M249.45 69.31a12 12 0 0 0-12.51 1L212 88.43V72a20 20 0 0 0-20-20h-68.12a12 12 0 0 0 0 24H188v68a12 12 0 0 0 4.46 9.33c.15.13.31.25.48.38l44 32A12 12 0 0 0 256 176V80a12 12 0 0 0-6.55-10.69M232 152.43l-20-14.54v-19.78l20-14.54ZM56.88 31.93a12 12 0 1 0-17.76 16.14L42.69 52H32a20 20 0 0 0-20 20v112a20 20 0 0 0 20 20h148.87l18.25 20.07a12 12 0 0 0 17.76-16.14ZM36 180V76h28.51l94.55 104Z"), We(e, b), o(a, "class", "text-xl font-bold text-center"), o(d, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
145
145
  },
146
146
  m(r, _) {
147
- p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, f, _), p(r, m, _), p(r, n, _), d || (g = oe(
147
+ p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, d, _), p(r, m, _), p(r, n, _), f || (g = se(
148
148
  n,
149
149
  "click",
150
150
  /*click_handler*/
151
151
  l[3]
152
- ), d = !0);
152
+ ), f = !0);
153
153
  },
154
154
  p(r, _) {
155
- Me(e, b = _t(C, [
155
+ We(e, b = _t(E, [
156
156
  { class: "text-[8em] mx-auto" },
157
157
  { xmlns: "http://www.w3.org/2000/svg" },
158
158
  { width: "1em" },
@@ -164,47 +164,47 @@ function _i(l) {
164
164
  ]));
165
165
  },
166
166
  d(r) {
167
- r && w(e), r && w(s), r && w(a), r && w(c), r && w(f), r && w(m), r && w(n), d = !1, g();
167
+ r && w(e), r && w(s), r && w(a), r && w(c), r && w(d), r && w(m), r && w(n), f = !1, g();
168
168
  }
169
169
  };
170
170
  }
171
171
  function bi(l) {
172
172
  let e;
173
- function t(c, f) {
173
+ function t(c, d) {
174
174
  if (
175
175
  /*$cameraStatusStore*/
176
- c[1] === ce.CAMERA_DENIED_ERROR
176
+ c[1] === re.CAMERA_DENIED_ERROR
177
177
  )
178
178
  return _i;
179
179
  if (
180
180
  /*$cameraStatusStore*/
181
- c[1] === ce.DEVICE_NOT_FOUND_ERROR
181
+ c[1] === re.DEVICE_NOT_FOUND_ERROR
182
182
  )
183
183
  return mi;
184
184
  if (
185
185
  /*$cameraStatusStore*/
186
- c[1] === ce.CAMERA_IN_USE_ERROR
186
+ c[1] === re.CAMERA_IN_USE_ERROR
187
187
  )
188
- return fi;
188
+ return di;
189
189
  if (
190
190
  /*$cameraStatusStore*/
191
- c[1] === ce.CAMERA_CLOSED_ERROR
191
+ c[1] === re.CAMERA_CLOSED_ERROR
192
192
  )
193
- return di;
193
+ return fi;
194
194
  }
195
195
  let s = t(l), a = s && s(l);
196
196
  return {
197
197
  c() {
198
- e = h("div"), a && a.c(), this.c = ee, o(e, "class", "flex flex-col gap-4 justify-center absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible text-nowrap");
198
+ e = h("div"), a && a.c(), this.c = G, o(e, "class", "flex flex-col gap-4 justify-center absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible text-nowrap");
199
199
  },
200
- m(c, f) {
201
- p(c, e, f), a && a.m(e, null);
200
+ m(c, d) {
201
+ p(c, e, d), a && a.m(e, null);
202
202
  },
203
- p(c, [f]) {
204
- s === (s = t(c)) && a ? a.p(c, f) : (a && a.d(1), a = s && s(c), a && (a.c(), a.m(e, null)));
203
+ p(c, [d]) {
204
+ s === (s = t(c)) && a ? a.p(c, d) : (a && a.d(1), a = s && s(c), a && (a.c(), a.m(e, null)));
205
205
  },
206
- i: ee,
207
- o: ee,
206
+ i: G,
207
+ o: G,
208
208
  d(c) {
209
209
  c && w(e), a && a.d();
210
210
  }
@@ -212,26 +212,26 @@ function bi(l) {
212
212
  }
213
213
  function hi(l, e, t) {
214
214
  let s;
215
- S(l, Ue, (d) => t(1, s = d));
215
+ A(l, Ke, (f) => t(1, s = f));
216
216
  let { handler: a = () => {
217
217
  } } = e;
218
218
  const c = () => {
219
219
  a(), console.log("canicna", a);
220
- }, f = () => {
220
+ }, d = () => {
221
221
  a(), console.log("canicna", a);
222
222
  }, m = () => {
223
223
  a(), console.log("canicna", a);
224
224
  }, n = () => {
225
225
  a();
226
226
  };
227
- return l.$$set = (d) => {
228
- t(2, e = Ye(Ye({}, e), Nt(d))), "handler" in d && t(0, a = d.handler);
227
+ return l.$$set = (f) => {
228
+ t(2, e = $e($e({}, e), Nt(f))), "handler" in f && t(0, a = f.handler);
229
229
  }, e = Nt(e), [
230
230
  a,
231
231
  s,
232
232
  e,
233
233
  c,
234
- f,
234
+ d,
235
235
  m,
236
236
  n
237
237
  ];
@@ -247,10 +247,10 @@ class nl extends tl {
247
247
  },
248
248
  hi,
249
249
  bi,
250
- Ot,
250
+ It,
251
251
  { handler: 0 },
252
252
  null
253
- ), e && (e.target && p(e.target, this, e.anchor), e.props && (this.$set(e.props), Te()));
253
+ ), e && (e.target && p(e.target, this, e.anchor), e.props && (this.$set(e.props), Me()));
254
254
  }
255
255
  static get observedAttributes() {
256
256
  return ["handler"];
@@ -259,7 +259,7 @@ class nl extends tl {
259
259
  return this.$$.ctx[0];
260
260
  }
261
261
  set handler(e) {
262
- this.$$set({ handler: e }), Te();
262
+ this.$$set({ handler: e }), Me();
263
263
  }
264
264
  }
265
265
  customElements.define("camera-status", nl);
@@ -276,7 +276,7 @@ function pi(l) {
276
276
  m(t, s) {
277
277
  p(t, e, s), l[46](e);
278
278
  },
279
- p: ee,
279
+ p: G,
280
280
  d(t) {
281
281
  t && w(e), l[46](null);
282
282
  }
@@ -290,13 +290,13 @@ function Qt(l) {
290
290
  },
291
291
  m(a, c) {
292
292
  p(a, e, c), l[47](e), t || (s = [
293
- oe(
293
+ se(
294
294
  e,
295
295
  "canplay",
296
296
  /*canplay_handler*/
297
297
  l[48]
298
298
  ),
299
- oe(
299
+ se(
300
300
  e,
301
301
  "play",
302
302
  /*play*/
@@ -305,7 +305,7 @@ function Qt(l) {
305
305
  )
306
306
  ], t = !0);
307
307
  },
308
- p: ee,
308
+ p: G,
309
309
  d(a) {
310
310
  a && w(e), l[47](null), t = !1, bt(s);
311
311
  }
@@ -315,7 +315,7 @@ function gi(l) {
315
315
  let e, t;
316
316
  return {
317
317
  c() {
318
- e = J("svg"), t = J("path"), o(t, "fill", "currentColor"), o(t, "d", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"), o(e, "class", "mt-[1px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "1em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 512 512");
318
+ e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"), o(e, "class", "mt-[1px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "1em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 512 512");
319
319
  },
320
320
  m(s, a) {
321
321
  p(s, e, a), u(e, t);
@@ -329,7 +329,7 @@ function vi(l) {
329
329
  let e, t;
330
330
  return {
331
331
  c() {
332
- e = J("svg"), t = J("path"), o(t, "fill", "currentColor"), o(t, "d", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7L54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256L9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256l105.3-105.4z"), o(e, "class", "mt-[2px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "0.63em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 320 512");
332
+ e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7L54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256L9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256l105.3-105.4z"), o(e, "class", "mt-[2px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "0.63em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 320 512");
333
333
  },
334
334
  m(s, a) {
335
335
  p(s, e, a), u(e, t);
@@ -343,7 +343,7 @@ function wi(l) {
343
343
  let e, t;
344
344
  return {
345
345
  c() {
346
- e = J("svg"), t = J("path"), o(t, "fill", "currentColor"), o(t, "d", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7L54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256L9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256l105.3-105.4z"), o(e, "class", "mt-[2px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "0.63em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 320 512");
346
+ e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7L54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256L9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256l105.3-105.4z"), o(e, "class", "mt-[2px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "0.63em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 320 512");
347
347
  },
348
348
  m(s, a) {
349
349
  p(s, e, a), u(e, t);
@@ -357,7 +357,7 @@ function ki(l) {
357
357
  let e, t;
358
358
  return {
359
359
  c() {
360
- e = J("svg"), t = J("path"), o(t, "fill", "currentColor"), o(t, "d", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"), o(e, "class", "mt-[1px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "1em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 512 512");
360
+ e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"), o(e, "class", "mt-[1px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "1em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 512 512");
361
361
  },
362
362
  m(s, a) {
363
363
  p(s, e, a), u(e, t);
@@ -398,7 +398,7 @@ function Ei(l) {
398
398
  m(t, s) {
399
399
  p(t, e, s);
400
400
  },
401
- p: ee,
401
+ p: G,
402
402
  d(t) {
403
403
  t && w(e);
404
404
  }
@@ -408,7 +408,7 @@ function Ri(l) {
408
408
  let e, t;
409
409
  return {
410
410
  c() {
411
- e = J("svg"), t = J("path"), o(t, "fill", "currentColor"), o(t, "d", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7L54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256L9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256l105.3-105.4z"), o(e, "class", "mt-[2px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "0.63em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 320 512");
411
+ e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7L54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256L9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256l105.3-105.4z"), o(e, "class", "mt-[2px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "0.63em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 320 512");
412
412
  },
413
413
  m(s, a) {
414
414
  p(s, e, a), u(e, t);
@@ -422,7 +422,7 @@ function Li(l) {
422
422
  let e, t;
423
423
  return {
424
424
  c() {
425
- e = J("svg"), t = J("path"), o(t, "fill", "currentColor"), o(t, "d", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"), o(e, "class", "mt-[1px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "1em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 512 512");
425
+ e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"), o(e, "class", "mt-[1px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "1em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 512 512");
426
426
  },
427
427
  m(s, a) {
428
428
  p(s, e, a), u(e, t);
@@ -434,25 +434,25 @@ function Li(l) {
434
434
  }
435
435
  function Xt(l) {
436
436
  let e, t, s, a, c;
437
- function f(d, g) {
437
+ function d(f, g) {
438
438
  return (
439
439
  /*$isLoading*/
440
- d[33] ? Pi : yi
440
+ f[33] ? Oi : yi
441
441
  );
442
442
  }
443
- let m = f(l), n = m(l);
443
+ let m = d(l), n = m(l);
444
444
  return {
445
445
  c() {
446
- e = h("slot"), t = h("div"), s = h("img"), c = L(), n.c(), ft(s.src, a = ol) || o(s, "src", a), o(s, "alt", "loading gif"), o(s, "class", "m-auto h-[10em] lg:h-[12em]"), o(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), o(e, "name", "obtaining-photo-gif"), o(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
446
+ e = h("slot"), t = h("div"), s = h("img"), c = L(), n.c(), dt(s.src, a = ol) || o(s, "src", a), o(s, "alt", "loading gif"), o(s, "class", "m-auto h-[10em] lg:h-[12em]"), o(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), o(e, "name", "obtaining-photo-gif"), o(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
447
447
  },
448
- m(d, g) {
449
- p(d, e, g), u(e, t), u(t, s), u(t, c), n.m(t, null);
448
+ m(f, g) {
449
+ p(f, e, g), u(e, t), u(t, s), u(t, c), n.m(t, null);
450
450
  },
451
- p(d, g) {
452
- m === (m = f(d)) && n ? n.p(d, g) : (n.d(1), n = m(d), n && (n.c(), n.m(t, null)));
451
+ p(f, g) {
452
+ m === (m = d(f)) && n ? n.p(f, g) : (n.d(1), n = m(f), n && (n.c(), n.m(t, null)));
453
453
  },
454
- d(d) {
455
- d && w(e), n.d();
454
+ d(f) {
455
+ f && w(e), n.d();
456
456
  }
457
457
  };
458
458
  }
@@ -478,7 +478,7 @@ function yi(l) {
478
478
  }
479
479
  };
480
480
  }
481
- function Pi(l) {
481
+ function Oi(l) {
482
482
  let e;
483
483
  return {
484
484
  c() {
@@ -487,7 +487,7 @@ function Pi(l) {
487
487
  m(t, s) {
488
488
  p(t, e, s);
489
489
  },
490
- p: ee,
490
+ p: G,
491
491
  d(t) {
492
492
  t && w(e);
493
493
  }
@@ -495,29 +495,29 @@ function Pi(l) {
495
495
  }
496
496
  function Jt(l) {
497
497
  let e, t, s, a, c;
498
- function f(d, g) {
498
+ function d(f, g) {
499
499
  return (
500
500
  /*$isLoading*/
501
- d[33] ? Ii : Oi
501
+ f[33] ? Pi : Ii
502
502
  );
503
503
  }
504
- let m = f(l), n = m(l);
504
+ let m = d(l), n = m(l);
505
505
  return {
506
506
  c() {
507
- e = h("slot"), t = h("div"), s = h("img"), c = L(), n.c(), ft(s.src, a = ol) || o(s, "src", a), o(s, "alt", "loading gif"), o(s, "class", "m-auto h-[10em] lg:h-[12em]"), o(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), o(e, "name", "loading-camera-gif"), o(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
507
+ e = h("slot"), t = h("div"), s = h("img"), c = L(), n.c(), dt(s.src, a = ol) || o(s, "src", a), o(s, "alt", "loading gif"), o(s, "class", "m-auto h-[10em] lg:h-[12em]"), o(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), o(e, "name", "loading-camera-gif"), o(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
508
508
  },
509
- m(d, g) {
510
- p(d, e, g), u(e, t), u(t, s), u(t, c), n.m(t, null);
509
+ m(f, g) {
510
+ p(f, e, g), u(e, t), u(t, s), u(t, c), n.m(t, null);
511
511
  },
512
- p(d, g) {
513
- m === (m = f(d)) && n ? n.p(d, g) : (n.d(1), n = m(d), n && (n.c(), n.m(t, null)));
512
+ p(f, g) {
513
+ m === (m = d(f)) && n ? n.p(f, g) : (n.d(1), n = m(f), n && (n.c(), n.m(t, null)));
514
514
  },
515
- d(d) {
516
- d && w(e), n.d();
515
+ d(f) {
516
+ f && w(e), n.d();
517
517
  }
518
518
  };
519
519
  }
520
- function Oi(l) {
520
+ function Ii(l) {
521
521
  let e, t = (
522
522
  /*$_*/
523
523
  l[20]("faceCollector.initiatingCamera") + ""
@@ -539,7 +539,7 @@ function Oi(l) {
539
539
  }
540
540
  };
541
541
  }
542
- function Ii(l) {
542
+ function Pi(l) {
543
543
  let e;
544
544
  return {
545
545
  c() {
@@ -548,34 +548,34 @@ function Ii(l) {
548
548
  m(t, s) {
549
549
  p(t, e, s);
550
550
  },
551
- p: ee,
551
+ p: G,
552
552
  d(t) {
553
553
  t && w(e);
554
554
  }
555
555
  };
556
556
  }
557
- function Ai(l) {
557
+ function Si(l) {
558
558
  let e, t, s = (
559
559
  /*$_*/
560
560
  l[20]("faceCollector.finish") + ""
561
- ), a, c, f, m, n = (
561
+ ), a, c, d, m, n = (
562
562
  /*$_*/
563
563
  l[20]("faceCollector.retakePhoto") + ""
564
- ), d, g, C;
564
+ ), f, g, E;
565
565
  return {
566
566
  c() {
567
- e = h("div"), t = h("button"), a = T(s), f = L(), m = h("button"), d = T(n), t.disabled = c = /*$justification*/
567
+ e = h("div"), t = h("button"), a = T(s), d = L(), m = h("button"), f = T(n), t.disabled = c = /*$justification*/
568
568
  l[25].length === 0, o(t, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), o(m, "id", "bry-cc-retake-button"), o(m, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), o(e, "class", "ce-dui-btn-group flex");
569
569
  },
570
570
  m(b, r) {
571
- p(b, e, r), u(e, t), u(t, a), u(e, f), u(e, m), u(m, d), g || (C = [
572
- oe(
571
+ p(b, e, r), u(e, t), u(t, a), u(e, d), u(e, m), u(m, f), g || (E = [
572
+ se(
573
573
  t,
574
574
  "click",
575
575
  /*click_handler_1*/
576
576
  l[57]
577
577
  ),
578
- oe(
578
+ se(
579
579
  m,
580
580
  "click",
581
581
  /*click_handler_2*/
@@ -590,22 +590,22 @@ function Ai(l) {
590
590
  33554432 && c !== (c = /*$justification*/
591
591
  b[25].length === 0) && (t.disabled = c), r[0] & /*$_*/
592
592
  1048576 && n !== (n = /*$_*/
593
- b[20]("faceCollector.retakePhoto") + "") && W(d, n);
593
+ b[20]("faceCollector.retakePhoto") + "") && W(f, n);
594
594
  },
595
595
  d(b) {
596
- b && w(e), g = !1, bt(C);
596
+ b && w(e), g = !1, bt(E);
597
597
  }
598
598
  };
599
599
  }
600
- function Si(l) {
600
+ function Ai(l) {
601
601
  let e, t, s, a;
602
- function c(n, d) {
602
+ function c(n, f) {
603
603
  return (
604
604
  /*$isLoading*/
605
- n[33] ? xi : Ti
605
+ n[33] ? Di : Ti
606
606
  );
607
607
  }
608
- let f = c(l), m = f(l);
608
+ let d = c(l), m = d(l);
609
609
  return {
610
610
  c() {
611
611
  e = h("button"), m.c(), o(e, "id", "bry-cc-capture-btn"), e.disabled = t = !/*$faceFound*/
@@ -614,17 +614,17 @@ function Si(l) {
614
614
  l[29] && !/*$enableFaceApi*/
615
615
  l[28], o(e, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-primary text-xl");
616
616
  },
617
- m(n, d) {
618
- p(n, e, d), m.m(e, null), s || (a = oe(
617
+ m(n, f) {
618
+ p(n, e, f), m.m(e, null), s || (a = se(
619
619
  e,
620
620
  "click",
621
621
  /*click_handler*/
622
622
  l[56]
623
623
  ), s = !0);
624
624
  },
625
- p(n, d) {
626
- f === (f = c(n)) && m ? m.p(n, d) : (m.d(1), m = f(n), m && (m.c(), m.m(e, null))), d[0] & /*$enableFaceApi, $ready*/
627
- 805306368 | d[1] & /*$faceFound*/
625
+ p(n, f) {
626
+ d === (d = c(n)) && m ? m.p(n, f) : (m.d(1), m = d(n), m && (m.c(), m.m(e, null))), f[0] & /*$enableFaceApi, $ready*/
627
+ 805306368 | f[1] & /*$faceFound*/
628
628
  1 && t !== (t = !/*$faceFound*/
629
629
  n[31] && /*$enableFaceApi*/
630
630
  n[28] || !/*$ready*/
@@ -658,7 +658,7 @@ function Ti(l) {
658
658
  }
659
659
  };
660
660
  }
661
- function xi(l) {
661
+ function Di(l) {
662
662
  let e;
663
663
  return {
664
664
  c() {
@@ -667,23 +667,23 @@ function xi(l) {
667
667
  m(t, s) {
668
668
  p(t, e, s);
669
669
  },
670
- p: ee,
670
+ p: G,
671
671
  d(t) {
672
672
  t && w(e);
673
673
  }
674
674
  };
675
675
  }
676
- function Di(l) {
676
+ function xi(l) {
677
677
  let e, t;
678
678
  return e = new nl({ props: { handler: (
679
679
  /*func*/
680
680
  l[67]
681
681
  ) } }), {
682
682
  c() {
683
- It(e.$$.fragment);
683
+ Pt(e.$$.fragment);
684
684
  },
685
685
  m(s, a) {
686
- At(e, s, a), t = !0;
686
+ St(e, s, a), t = !0;
687
687
  },
688
688
  p(s, a) {
689
689
  const c = {};
@@ -692,25 +692,25 @@ function Di(l) {
692
692
  s[67]), e.$set(c);
693
693
  },
694
694
  i(s) {
695
- t || (De(e.$$.fragment, s), t = !0);
695
+ t || (Fe(e.$$.fragment, s), t = !0);
696
696
  },
697
697
  o(s) {
698
- xe(e.$$.fragment, s), t = !1;
698
+ Ne(e.$$.fragment, s), t = !1;
699
699
  },
700
700
  d(s) {
701
- St(e, s);
701
+ At(e, s);
702
702
  }
703
703
  };
704
704
  }
705
705
  function Mi(l) {
706
- let e, t, s, a, c, f, m, n, d;
706
+ let e, t, s, a, c, d, m, n, f;
707
707
  const g = [
708
708
  Hi,
709
709
  Bi,
710
710
  Wi,
711
711
  Fi,
712
712
  Ni
713
- ], C = [];
713
+ ], E = [];
714
714
  function b(r, _) {
715
715
  return (
716
716
  /*$captured*/
@@ -718,7 +718,7 @@ function Mi(l) {
718
718
  /*$unconformitiesStore*/
719
719
  r[23].isLoading ? 1 : (
720
720
  /*$requestResult*/
721
- r[21] !== $.OK ? 2 : (
721
+ r[21] !== J.OK ? 2 : (
722
722
  /*$saved*/
723
723
  r[24] ? 4 : 3
724
724
  )
@@ -726,9 +726,9 @@ function Mi(l) {
726
726
  ) : 0
727
727
  );
728
728
  }
729
- return f = b(l), m = C[f] = g[f](l), {
729
+ return d = b(l), m = E[d] = g[d](l), {
730
730
  c() {
731
- e = h("div"), t = h("img"), c = L(), m.c(), o(t, "class", "m-auto col-start-1 col-end-1 max-h-[23.2em]"), ft(t.src, s = /*$dataTypePrefix*/
731
+ e = h("div"), t = h("img"), c = L(), m.c(), o(t, "class", "m-auto col-start-1 col-end-1 max-h-[23.2em]"), dt(t.src, s = /*$dataTypePrefix*/
732
732
  l[27] + "," + /*$image*/
733
733
  l[26]) || o(t, "src", s), t.hidden = a = !/*$captured*/
734
734
  l[18] || !/*$showFaceWhileValidating*/
@@ -738,35 +738,35 @@ function Mi(l) {
738
738
  l[23].isLoading ? "absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible" : "grid m-[1em] overflow-hidden"));
739
739
  },
740
740
  m(r, _) {
741
- p(r, e, _), u(e, t), u(e, c), C[f].m(e, null), d = !0;
741
+ p(r, e, _), u(e, t), u(e, c), E[d].m(e, null), f = !0;
742
742
  },
743
743
  p(r, _) {
744
- (!d || _[0] & /*$dataTypePrefix, $image*/
745
- 201326592 && !ft(t.src, s = /*$dataTypePrefix*/
744
+ (!f || _[0] & /*$dataTypePrefix, $image*/
745
+ 201326592 && !dt(t.src, s = /*$dataTypePrefix*/
746
746
  r[27] + "," + /*$image*/
747
- r[26])) && o(t, "src", s), (!d || _[0] & /*$captured, $unconformitiesStore*/
747
+ r[26])) && o(t, "src", s), (!f || _[0] & /*$captured, $unconformitiesStore*/
748
748
  8650752 | _[1] & /*$showFaceWhileValidating*/
749
749
  8 && a !== (a = !/*$captured*/
750
750
  r[18] || !/*$showFaceWhileValidating*/
751
751
  r[34] && /*$unconformitiesStore*/
752
752
  r[23].isLoading)) && (t.hidden = a);
753
- let y = f;
754
- f = b(r), f === y ? C[f].p(r, _) : (sl(), xe(C[y], 1, 1, () => {
755
- C[y] = null;
756
- }), al(), m = C[f], m ? m.p(r, _) : (m = C[f] = g[f](r), m.c()), De(m, 1), m.m(e, null)), (!d || _[0] & /*$unconformitiesStore*/
753
+ let I = d;
754
+ d = b(r), d === I ? E[d].p(r, _) : (sl(), Ne(E[I], 1, 1, () => {
755
+ E[I] = null;
756
+ }), al(), m = E[d], m ? m.p(r, _) : (m = E[d] = g[d](r), m.c()), Fe(m, 1), m.m(e, null)), (!f || _[0] & /*$unconformitiesStore*/
757
757
  8388608 | _[1] & /*$showFaceWhileValidating*/
758
758
  8 && n !== (n = "grid-cols-1 grid-rows-2 sm:grid-cols-2 sm:grid-rows-1 gap-[.5em] " + (!/*$showFaceWhileValidating*/
759
759
  r[34] && /*$unconformitiesStore*/
760
760
  r[23].isLoading ? "absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible" : "grid m-[1em] overflow-hidden"))) && o(e, "class", n);
761
761
  },
762
762
  i(r) {
763
- d || (De(m), d = !0);
763
+ f || (Fe(m), f = !0);
764
764
  },
765
765
  o(r) {
766
- xe(m), d = !1;
766
+ Ne(m), f = !1;
767
767
  },
768
768
  d(r) {
769
- r && w(e), C[f].d();
769
+ r && w(e), E[d].d();
770
770
  }
771
771
  };
772
772
  }
@@ -774,44 +774,44 @@ function Ni(l) {
774
774
  let e, t, s = (
775
775
  /*$_*/
776
776
  l[20]("faceCollector.captured") + ""
777
- ), a, c, f, m, n, d = (
777
+ ), a, c, d, m, n, f = (
778
778
  /*$_*/
779
779
  l[20]("faceCollector.retakePhoto") + ""
780
- ), g, C, b = Pt(ni).faceStrategy !== ri.DISABLED, r, _, y, O = (
780
+ ), g, E, b = Ot(ni).faceStrategy !== ri.DISABLED, r, _, I, O = (
781
781
  /*$unconformitiesStore*/
782
782
  l[23].unconformities.length !== 0 && Gt(l)
783
783
  ), R = b && Ui();
784
784
  return {
785
785
  c() {
786
- e = h("div"), t = h("h1"), a = T(s), c = L(), O && O.c(), f = L(), m = h("div"), n = h("button"), g = T(d), C = L(), R && R.c(), o(t, "class", "text-3xl font-bold pb-[1em] transition-opacity"), o(n, "id", "bry-cc-retake-button"), o(n, "class", "ce-dui-btn ce-dui-btn-block flex-shrink text-base"), o(m, "class", "flex flex-row"), zt(m, "ce-dui-btn-group", !/*$exportButtonDisabled*/
786
+ e = h("div"), t = h("h1"), a = T(s), c = L(), O && O.c(), d = L(), m = h("div"), n = h("button"), g = T(f), E = L(), R && R.c(), o(t, "class", "text-3xl font-bold pb-[1em] transition-opacity"), o(n, "id", "bry-cc-retake-button"), o(n, "class", "ce-dui-btn ce-dui-btn-block flex-shrink text-base"), o(m, "class", "flex flex-row"), zt(m, "ce-dui-btn-group", !/*$exportButtonDisabled*/
787
787
  l[35]);
788
788
  },
789
- m(E, U) {
790
- p(E, e, U), u(e, t), u(t, a), u(e, c), O && O.m(e, null), u(e, f), u(e, m), u(m, n), u(n, g), u(m, C), R && R.m(m, null), r = !0, _ || (y = oe(
789
+ m(C, U) {
790
+ p(C, e, U), u(e, t), u(t, a), u(e, c), O && O.m(e, null), u(e, d), u(e, m), u(m, n), u(n, g), u(m, E), R && R.m(m, null), r = !0, _ || (I = se(
791
791
  n,
792
792
  "click",
793
793
  /*click_handler_7*/
794
794
  l[66]
795
795
  ), _ = !0);
796
796
  },
797
- p(E, U) {
797
+ p(C, U) {
798
798
  (!r || U[0] & /*$_*/
799
799
  1048576) && s !== (s = /*$_*/
800
- E[20]("faceCollector.captured") + "") && W(a, s), /*$unconformitiesStore*/
801
- E[23].unconformities.length !== 0 ? O ? O.p(E, U) : (O = Gt(E), O.c(), O.m(e, f)) : O && (O.d(1), O = null), (!r || U[0] & /*$_*/
802
- 1048576) && d !== (d = /*$_*/
803
- E[20]("faceCollector.retakePhoto") + "") && W(g, d), (!r || U[1] & /*$exportButtonDisabled*/
800
+ C[20]("faceCollector.captured") + "") && W(a, s), /*$unconformitiesStore*/
801
+ C[23].unconformities.length !== 0 ? O ? O.p(C, U) : (O = Gt(C), O.c(), O.m(e, d)) : O && (O.d(1), O = null), (!r || U[0] & /*$_*/
802
+ 1048576) && f !== (f = /*$_*/
803
+ C[20]("faceCollector.retakePhoto") + "") && W(g, f), (!r || U[1] & /*$exportButtonDisabled*/
804
804
  16) && zt(m, "ce-dui-btn-group", !/*$exportButtonDisabled*/
805
- E[35]);
805
+ C[35]);
806
806
  },
807
- i(E) {
808
- r || (De(R), r = !0);
807
+ i(C) {
808
+ r || (Fe(R), r = !0);
809
809
  },
810
- o(E) {
811
- xe(R), r = !1;
810
+ o(C) {
811
+ Ne(R), r = !1;
812
812
  },
813
- d(E) {
814
- E && w(e), O && O.d(), R && R.d(), _ = !1, y();
813
+ d(C) {
814
+ C && w(e), O && O.d(), R && R.d(), _ = !1, I();
815
815
  }
816
816
  };
817
817
  }
@@ -819,135 +819,135 @@ function Fi(l) {
819
819
  let e, t, s = (
820
820
  /*$_*/
821
821
  l[20]("faceCollector.unconformities") + ""
822
- ), a, c, f, m, n, d, g, C = (
822
+ ), a, c, d, m, n, f, g, E = (
823
823
  /*$_*/
824
824
  l[20]("faceCollector.provideAReasonForTheLowQualityCapture") + ""
825
- ), b, r, _, y, O, R, E, U, ve = (
825
+ ), b, r, _, I, O, R, C, U, _e = (
826
826
  /*$_*/
827
827
  l[20]("faceCollector.thisInformationIsRequired") + ""
828
- ), Q, te, we, X, Pe, G = (
828
+ ), ce, Q, ae, j, Ie, ue = (
829
829
  /*$unconformitiesStore*/
830
830
  l[23].unconformities
831
- ), B = [];
832
- for (let x = 0; x < G.length; x += 1)
833
- B[x] = Yt(Zt(l, G, x));
834
- let q = (
831
+ ), N = [];
832
+ for (let D = 0; D < ue.length; D += 1)
833
+ N[D] = Yt(Zt(l, ue, D));
834
+ let V = (
835
835
  /*$captured*/
836
836
  l[18] && $t(l)
837
837
  );
838
838
  return {
839
839
  c() {
840
- e = h("div"), t = h("h1"), a = T(s), c = L(), f = h("div");
841
- for (let x = 0; x < B.length; x += 1)
842
- B[x].c();
843
- m = L(), n = h("div"), d = h("label"), g = h("span"), b = T(C), r = L(), _ = h("textarea"), O = L(), R = h("label"), E = h("span"), U = T("("), Q = T(ve), te = T(")"), we = L(), q && q.c(), o(t, "class", "text-3xl font-bold pb-[1em] transition-opacity"), o(f, "class", "flex flex-wrap"), o(g, "class", "ce-dui-label-text text-base"), o(d, "class", "ce-dui-label"), o(d, "for", "justification"), o(_, "contenteditable", ""), o(_, "id", "justification"), o(_, "class", "ce-dui-textarea ce-dui-textarea-bordered h-[6em] text-base"), o(_, "placeholder", y = /*$_*/
844
- l[20]("faceCollector.yourJustification")), o(E, "class", "ce-dui-label-text-alt text-base"), o(R, "class", "ce-dui-label"), o(R, "for", "justification"), o(n, "class", "ce-dui-form-control mt-[2.5em]");
845
- },
846
- m(x, K) {
847
- p(x, e, K), u(e, t), u(t, a), u(e, c), u(e, f);
848
- for (let N = 0; N < B.length; N += 1)
849
- B[N] && B[N].m(f, null);
850
- u(e, m), u(e, n), u(n, d), u(d, g), u(g, b), u(n, r), u(n, _), mt(
840
+ e = h("div"), t = h("h1"), a = T(s), c = L(), d = h("div");
841
+ for (let D = 0; D < N.length; D += 1)
842
+ N[D].c();
843
+ m = L(), n = h("div"), f = h("label"), g = h("span"), b = T(E), r = L(), _ = h("textarea"), O = L(), R = h("label"), C = h("span"), U = T("("), ce = T(_e), Q = T(")"), ae = L(), V && V.c(), o(t, "class", "text-3xl font-bold pb-[1em] transition-opacity"), o(d, "class", "flex flex-wrap"), o(g, "class", "ce-dui-label-text text-base"), o(f, "class", "ce-dui-label"), o(f, "for", "justification"), o(_, "contenteditable", ""), o(_, "id", "justification"), o(_, "class", "ce-dui-textarea ce-dui-textarea-bordered h-[6em] text-base"), o(_, "placeholder", I = /*$_*/
844
+ l[20]("faceCollector.yourJustification")), o(C, "class", "ce-dui-label-text-alt text-base"), o(R, "class", "ce-dui-label"), o(R, "for", "justification"), o(n, "class", "ce-dui-form-control mt-[2.5em]");
845
+ },
846
+ m(D, te) {
847
+ p(D, e, te), u(e, t), u(t, a), u(e, c), u(e, d);
848
+ for (let x = 0; x < N.length; x += 1)
849
+ N[x] && N[x].m(d, null);
850
+ u(e, m), u(e, n), u(n, f), u(f, g), u(g, b), u(n, r), u(n, _), mt(
851
851
  _,
852
852
  /*$justification*/
853
853
  l[25]
854
- ), u(n, O), u(n, R), u(R, E), u(E, U), u(E, Q), u(E, te), u(e, we), q && q.m(e, null), X || (Pe = oe(
854
+ ), u(n, O), u(n, R), u(R, C), u(C, U), u(C, ce), u(C, Q), u(e, ae), V && V.m(e, null), j || (Ie = se(
855
855
  _,
856
856
  "input",
857
857
  /*textarea_input_handler*/
858
858
  l[62]
859
- ), X = !0);
859
+ ), j = !0);
860
860
  },
861
- p(x, K) {
862
- if (K[0] & /*$_*/
861
+ p(D, te) {
862
+ if (te[0] & /*$_*/
863
863
  1048576 && s !== (s = /*$_*/
864
- x[20]("faceCollector.unconformities") + "") && W(a, s), K[0] & /*$unconformitiesStore*/
864
+ D[20]("faceCollector.unconformities") + "") && W(a, s), te[0] & /*$unconformitiesStore*/
865
865
  8388608) {
866
- G = /*$unconformitiesStore*/
867
- x[23].unconformities;
868
- let N;
869
- for (N = 0; N < G.length; N += 1) {
870
- const ke = Zt(x, G, N);
871
- B[N] ? B[N].p(ke, K) : (B[N] = Yt(ke), B[N].c(), B[N].m(f, null));
866
+ ue = /*$unconformitiesStore*/
867
+ D[23].unconformities;
868
+ let x;
869
+ for (x = 0; x < ue.length; x += 1) {
870
+ const be = Zt(D, ue, x);
871
+ N[x] ? N[x].p(be, te) : (N[x] = Yt(be), N[x].c(), N[x].m(d, null));
872
872
  }
873
- for (; N < B.length; N += 1)
874
- B[N].d(1);
875
- B.length = G.length;
873
+ for (; x < N.length; x += 1)
874
+ N[x].d(1);
875
+ N.length = ue.length;
876
876
  }
877
- K[0] & /*$_*/
878
- 1048576 && C !== (C = /*$_*/
879
- x[20]("faceCollector.provideAReasonForTheLowQualityCapture") + "") && W(b, C), K[0] & /*$_*/
880
- 1048576 && y !== (y = /*$_*/
881
- x[20]("faceCollector.yourJustification")) && o(_, "placeholder", y), K[0] & /*$justification*/
877
+ te[0] & /*$_*/
878
+ 1048576 && E !== (E = /*$_*/
879
+ D[20]("faceCollector.provideAReasonForTheLowQualityCapture") + "") && W(b, E), te[0] & /*$_*/
880
+ 1048576 && I !== (I = /*$_*/
881
+ D[20]("faceCollector.yourJustification")) && o(_, "placeholder", I), te[0] & /*$justification*/
882
882
  33554432 && mt(
883
883
  _,
884
884
  /*$justification*/
885
- x[25]
886
- ), K[0] & /*$_*/
887
- 1048576 && ve !== (ve = /*$_*/
888
- x[20]("faceCollector.thisInformationIsRequired") + "") && W(Q, ve), /*$captured*/
889
- x[18] ? q ? q.p(x, K) : (q = $t(x), q.c(), q.m(e, null)) : q && (q.d(1), q = null);
890
- },
891
- i: ee,
892
- o: ee,
893
- d(x) {
894
- x && w(e), ci(B, x), q && q.d(), X = !1, Pe();
885
+ D[25]
886
+ ), te[0] & /*$_*/
887
+ 1048576 && _e !== (_e = /*$_*/
888
+ D[20]("faceCollector.thisInformationIsRequired") + "") && W(ce, _e), /*$captured*/
889
+ D[18] ? V ? V.p(D, te) : (V = $t(D), V.c(), V.m(e, null)) : V && (V.d(1), V = null);
890
+ },
891
+ i: G,
892
+ o: G,
893
+ d(D) {
894
+ D && w(e), ci(N, D), V && V.d(), j = !1, Ie();
895
895
  }
896
896
  };
897
897
  }
898
898
  function Wi(l) {
899
- let e, t, s, a, c, f = (
899
+ let e, t, s, a, c, d = (
900
900
  /*$_*/
901
901
  l[20]("faceCollector.finish") + ""
902
- ), m, n, d, g = (
902
+ ), m, n, f, g = (
903
903
  /*$_*/
904
904
  l[20]("faceCollector.retakePhoto") + ""
905
- ), C, b, r;
906
- function _(R, E) {
907
- return E[0] & /*$requestResult, $rejectOnFailLiveness*/
905
+ ), E, b, r;
906
+ function _(R, C) {
907
+ return C[0] & /*$requestResult, $rejectOnFailLiveness*/
908
908
  6291456 && (t = null), /*$requestResult*/
909
- R[21] === $.LIVENESS_DETECTION_FAILURE || /*$requestResult*/
910
- R[21] === $.UNKNOWN_LIVENESS_ERROR ? zi : (t == null && (t = !!/*$requestResult*/
911
- (R[21] === $.LOW_LIVENESS_SCORE && Z() && /*$rejectOnFailLiveness*/
909
+ R[21] === J.LIVENESS_DETECTION_FAILURE || /*$requestResult*/
910
+ R[21] === J.UNKNOWN_LIVENESS_ERROR ? zi : (t == null && (t = !!/*$requestResult*/
911
+ (R[21] === J.LOW_LIVENESS_SCORE && q() && /*$rejectOnFailLiveness*/
912
912
  R[22])), t ? qi : (
913
913
  /*$requestResult*/
914
- R[21] === $.TEMPLATE_EXTRACTION_ERROR || /*$requestResult*/
915
- R[21] === $.UNKNOWN_TEMPLATE_EXTRACTION_ERROR ? ji : (
914
+ R[21] === J.TEMPLATE_EXTRACTION_ERROR || /*$requestResult*/
915
+ R[21] === J.UNKNOWN_TEMPLATE_EXTRACTION_ERROR ? ji : (
916
916
  /*$requestResult*/
917
- R[21] === $.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE ? Ki : Vi
917
+ R[21] === J.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE ? Ki : Vi
918
918
  )
919
919
  ));
920
920
  }
921
- let y = _(l, [-1, -1, -1, -1]), O = y(l);
921
+ let I = _(l, [-1, -1, -1, -1]), O = I(l);
922
922
  return {
923
923
  c() {
924
- e = h("div"), O.c(), s = L(), a = h("div"), c = h("button"), m = T(f), n = L(), d = h("button"), C = T(g), c.disabled = !0, o(c, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), o(d, "id", "bry-cc-retake-button"), o(d, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), o(a, "class", "ce-dui-btn-group flex"), o(e, "class", "flex flex-col justify-between");
924
+ e = h("div"), O.c(), s = L(), a = h("div"), c = h("button"), m = T(d), n = L(), f = h("button"), E = T(g), c.disabled = !0, o(c, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), o(f, "id", "bry-cc-retake-button"), o(f, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), o(a, "class", "ce-dui-btn-group flex"), o(e, "class", "flex flex-col justify-between");
925
925
  },
926
- m(R, E) {
927
- p(R, e, E), O.m(e, null), u(e, s), u(e, a), u(a, c), u(c, m), u(a, n), u(a, d), u(d, C), b || (r = [
928
- oe(
926
+ m(R, C) {
927
+ p(R, e, C), O.m(e, null), u(e, s), u(e, a), u(a, c), u(c, m), u(a, n), u(a, f), u(f, E), b || (r = [
928
+ se(
929
929
  c,
930
930
  "click",
931
931
  /*click_handler_3*/
932
932
  l[60]
933
933
  ),
934
- oe(
935
- d,
934
+ se(
935
+ f,
936
936
  "click",
937
937
  /*click_handler_4*/
938
938
  l[61]
939
939
  )
940
940
  ], b = !0);
941
941
  },
942
- p(R, E) {
943
- y === (y = _(R, E)) && O ? O.p(R, E) : (O.d(1), O = y(R), O && (O.c(), O.m(e, s))), E[0] & /*$_*/
944
- 1048576 && f !== (f = /*$_*/
945
- R[20]("faceCollector.finish") + "") && W(m, f), E[0] & /*$_*/
942
+ p(R, C) {
943
+ I === (I = _(R, C)) && O ? O.p(R, C) : (O.d(1), O = I(R), O && (O.c(), O.m(e, s))), C[0] & /*$_*/
944
+ 1048576 && d !== (d = /*$_*/
945
+ R[20]("faceCollector.finish") + "") && W(m, d), C[0] & /*$_*/
946
946
  1048576 && g !== (g = /*$_*/
947
- R[20]("faceCollector.retakePhoto") + "") && W(C, g);
947
+ R[20]("faceCollector.retakePhoto") + "") && W(E, g);
948
948
  },
949
- i: ee,
950
- o: ee,
949
+ i: G,
950
+ o: G,
951
951
  d(R) {
952
952
  R && w(e), O.d(), b = !1, bt(r);
953
953
  }
@@ -957,21 +957,21 @@ function Bi(l) {
957
957
  let e, t, s = (
958
958
  /*$_*/
959
959
  l[20]("faceCollector.validating") + ""
960
- ), a, c, f;
960
+ ), a, c, d;
961
961
  return {
962
962
  c() {
963
- e = h("div"), t = h("h1"), a = T(s), c = L(), f = h("div"), o(t, "class", "inline-block text-3xl font-bold pb-[1em] transition-opacity"), o(f, "class", "ml-6 inline-block dot-typing"), o(e, "class", "min-w-[200px]");
963
+ e = h("div"), t = h("h1"), a = T(s), c = L(), d = h("div"), o(t, "class", "inline-block text-3xl font-bold pb-[1em] transition-opacity"), o(d, "class", "ml-6 inline-block dot-typing"), o(e, "class", "min-w-[200px]");
964
964
  },
965
965
  m(m, n) {
966
- p(m, e, n), u(e, t), u(t, a), u(e, c), u(e, f);
966
+ p(m, e, n), u(e, t), u(t, a), u(e, c), u(e, d);
967
967
  },
968
968
  p(m, n) {
969
969
  n[0] & /*$_*/
970
970
  1048576 && s !== (s = /*$_*/
971
971
  m[20]("faceCollector.validating") + "") && W(a, s);
972
972
  },
973
- i: ee,
974
- o: ee,
973
+ i: G,
974
+ o: G,
975
975
  d(m) {
976
976
  m && w(e);
977
977
  }
@@ -986,9 +986,9 @@ function Hi(l) {
986
986
  m(t, s) {
987
987
  p(t, e, s);
988
988
  },
989
- p: ee,
990
- i: ee,
991
- o: ee,
989
+ p: G,
990
+ i: G,
991
+ o: G,
992
992
  d(t) {
993
993
  t && w(e);
994
994
  }
@@ -998,35 +998,35 @@ function Gt(l) {
998
998
  let e, t, s = (
999
999
  /*$_*/
1000
1000
  l[20]("faceCollector.justification") + ""
1001
- ), a, c, f, m, n;
1001
+ ), a, c, d, m, n;
1002
1002
  return {
1003
1003
  c() {
1004
- e = h("label"), t = h("span"), a = T(s), c = L(), f = h("textarea"), o(t, "class", "ce-dui-label-text text-base"), o(e, "class", "ce-dui-label"), o(e, "for", "justification"), o(f, "contenteditable", ""), o(f, "id", "justification"), o(f, "class", "ce-dui-textarea ce-dui-textarea-bordered textarea-ghost h-[6em] w-full text-base");
1004
+ e = h("label"), t = h("span"), a = T(s), c = L(), d = h("textarea"), o(t, "class", "ce-dui-label-text text-base"), o(e, "class", "ce-dui-label"), o(e, "for", "justification"), o(d, "contenteditable", ""), o(d, "id", "justification"), o(d, "class", "ce-dui-textarea ce-dui-textarea-bordered textarea-ghost h-[6em] w-full text-base");
1005
1005
  },
1006
- m(d, g) {
1007
- p(d, e, g), u(e, t), u(t, a), p(d, c, g), p(d, f, g), mt(
1008
- f,
1006
+ m(f, g) {
1007
+ p(f, e, g), u(e, t), u(t, a), p(f, c, g), p(f, d, g), mt(
1008
+ d,
1009
1009
  /*$justification*/
1010
1010
  l[25]
1011
- ), m || (n = oe(
1012
- f,
1011
+ ), m || (n = se(
1012
+ d,
1013
1013
  "input",
1014
1014
  /*textarea_input_handler_1*/
1015
1015
  l[65]
1016
1016
  ), m = !0);
1017
1017
  },
1018
- p(d, g) {
1018
+ p(f, g) {
1019
1019
  g[0] & /*$_*/
1020
1020
  1048576 && s !== (s = /*$_*/
1021
- d[20]("faceCollector.justification") + "") && W(a, s), g[0] & /*$justification*/
1021
+ f[20]("faceCollector.justification") + "") && W(a, s), g[0] & /*$justification*/
1022
1022
  33554432 && mt(
1023
- f,
1023
+ d,
1024
1024
  /*$justification*/
1025
- d[25]
1025
+ f[25]
1026
1026
  );
1027
1027
  },
1028
- d(d) {
1029
- d && w(e), d && w(c), d && w(f), m = !1, n();
1028
+ d(f) {
1029
+ f && w(e), f && w(c), f && w(d), m = !1, n();
1030
1030
  }
1031
1031
  };
1032
1032
  }
@@ -1036,19 +1036,19 @@ function Ui(l) {
1036
1036
  props: { cssClass: "ce-dui-btn-block flex-shrink" }
1037
1037
  }), {
1038
1038
  c() {
1039
- It(e.$$.fragment);
1039
+ Pt(e.$$.fragment);
1040
1040
  },
1041
1041
  m(s, a) {
1042
- At(e, s, a), t = !0;
1042
+ St(e, s, a), t = !0;
1043
1043
  },
1044
1044
  i(s) {
1045
- t || (De(e.$$.fragment, s), t = !0);
1045
+ t || (Fe(e.$$.fragment, s), t = !0);
1046
1046
  },
1047
1047
  o(s) {
1048
- xe(e.$$.fragment, s), t = !1;
1048
+ Ne(e.$$.fragment, s), t = !1;
1049
1049
  },
1050
1050
  d(s) {
1051
- St(e, s);
1051
+ At(e, s);
1052
1052
  }
1053
1053
  };
1054
1054
  }
@@ -1061,11 +1061,11 @@ function Yt(l) {
1061
1061
  c() {
1062
1062
  e = h("div"), s = T(t), a = L(), o(e, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] ce-dui-badge-error text-xl pb-[.25em] m-[.5em]");
1063
1063
  },
1064
- m(c, f) {
1065
- p(c, e, f), u(e, s), u(e, a);
1064
+ m(c, d) {
1065
+ p(c, e, d), u(e, s), u(e, a);
1066
1066
  },
1067
- p(c, f) {
1068
- f[0] & /*$unconformitiesStore*/
1067
+ p(c, d) {
1068
+ d[0] & /*$unconformitiesStore*/
1069
1069
  8388608 && t !== (t = /*unconformity*/
1070
1070
  c[102] + "") && W(s, t);
1071
1071
  },
@@ -1078,24 +1078,24 @@ function $t(l) {
1078
1078
  let e, t, s = (
1079
1079
  /*$_*/
1080
1080
  l[20]("faceCollector.finish") + ""
1081
- ), a, c, f, m, n = (
1081
+ ), a, c, d, m, n = (
1082
1082
  /*$_*/
1083
1083
  l[20]("faceCollector.retakePhoto") + ""
1084
- ), d, g, C;
1084
+ ), f, g, E;
1085
1085
  return {
1086
1086
  c() {
1087
- e = h("div"), t = h("button"), a = T(s), f = L(), m = h("button"), d = T(n), t.disabled = c = /*$justification*/
1087
+ e = h("div"), t = h("button"), a = T(s), d = L(), m = h("button"), f = T(n), t.disabled = c = /*$justification*/
1088
1088
  l[25].length === 0, o(t, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink text-base"), o(m, "id", "bry-cc-retake-button"), o(m, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink text-base"), o(e, "class", "ce-dui-btn-group flex");
1089
1089
  },
1090
1090
  m(b, r) {
1091
- p(b, e, r), u(e, t), u(t, a), u(e, f), u(e, m), u(m, d), g || (C = [
1092
- oe(
1091
+ p(b, e, r), u(e, t), u(t, a), u(e, d), u(e, m), u(m, f), g || (E = [
1092
+ se(
1093
1093
  t,
1094
1094
  "click",
1095
1095
  /*click_handler_5*/
1096
1096
  l[63]
1097
1097
  ),
1098
- oe(
1098
+ se(
1099
1099
  m,
1100
1100
  "click",
1101
1101
  /*click_handler_6*/
@@ -1110,10 +1110,10 @@ function $t(l) {
1110
1110
  33554432 && c !== (c = /*$justification*/
1111
1111
  b[25].length === 0) && (t.disabled = c), r[0] & /*$_*/
1112
1112
  1048576 && n !== (n = /*$_*/
1113
- b[20]("faceCollector.retakePhoto") + "") && W(d, n);
1113
+ b[20]("faceCollector.retakePhoto") + "") && W(f, n);
1114
1114
  },
1115
1115
  d(b) {
1116
- b && w(e), g = !1, bt(C);
1116
+ b && w(e), g = !1, bt(E);
1117
1117
  }
1118
1118
  };
1119
1119
  }
@@ -1190,20 +1190,20 @@ function qi(l) {
1190
1190
  ), s, a, c = (
1191
1191
  /*$_*/
1192
1192
  l[20]("faceCollector.unaliveCapture") + ""
1193
- ), f;
1193
+ ), d;
1194
1194
  return {
1195
1195
  c() {
1196
- e = h("h1"), s = T(t), a = T(": "), f = T(c), o(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
1196
+ e = h("h1"), s = T(t), a = T(": "), d = T(c), o(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
1197
1197
  },
1198
1198
  m(m, n) {
1199
- p(m, e, n), u(e, s), u(e, a), u(e, f);
1199
+ p(m, e, n), u(e, s), u(e, a), u(e, d);
1200
1200
  },
1201
1201
  p(m, n) {
1202
1202
  n[0] & /*$_*/
1203
1203
  1048576 && t !== (t = /*$_*/
1204
1204
  m[20]("liveness.error.error") + "") && W(s, t), n[0] & /*$_*/
1205
1205
  1048576 && c !== (c = /*$_*/
1206
- m[20]("faceCollector.unaliveCapture") + "") && W(f, c);
1206
+ m[20]("faceCollector.unaliveCapture") + "") && W(d, c);
1207
1207
  },
1208
1208
  d(m) {
1209
1209
  m && w(e);
@@ -1220,23 +1220,23 @@ function zi(l) {
1220
1220
  /*livenessError*/
1221
1221
  l[17]
1222
1222
  ) + ""
1223
- ), f, m;
1223
+ ), d, m;
1224
1224
  return {
1225
1225
  c() {
1226
- e = h("h1"), s = T(t), a = T(": "), f = T(c), m = T("."), o(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
1226
+ e = h("h1"), s = T(t), a = T(": "), d = T(c), m = T("."), o(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
1227
1227
  },
1228
- m(n, d) {
1229
- p(n, e, d), u(e, s), u(e, a), u(e, f), u(e, m);
1228
+ m(n, f) {
1229
+ p(n, e, f), u(e, s), u(e, a), u(e, d), u(e, m);
1230
1230
  },
1231
- p(n, d) {
1232
- d[0] & /*$_*/
1231
+ p(n, f) {
1232
+ f[0] & /*$_*/
1233
1233
  1048576 && t !== (t = /*$_*/
1234
- n[20]("liveness.error.error") + "") && W(s, t), d[0] & /*$_, livenessError*/
1234
+ n[20]("liveness.error.error") + "") && W(s, t), f[0] & /*$_, livenessError*/
1235
1235
  1179648 && c !== (c = /*$_*/
1236
1236
  n[20](
1237
1237
  /*livenessError*/
1238
1238
  n[17]
1239
- ) + "") && W(f, c);
1239
+ ) + "") && W(d, c);
1240
1240
  },
1241
1241
  d(n) {
1242
1242
  n && w(e);
@@ -1244,106 +1244,111 @@ function zi(l) {
1244
1244
  };
1245
1245
  }
1246
1246
  function Zi(l) {
1247
- let e, t, s, a, c = Z(), f, m = (
1247
+ let e, t, s, a, c = q(), d, m = (
1248
1248
  /*unique*/
1249
1249
  l[10]
1250
- ), n, d, g, C, b, r, _, y, O, R, E, U, ve, Q, te, we, X, Pe, G, B, q, x, K, N, ke, Ne, Fe, $e, Ve = Z() && /*waitingIdrndCaptureEvent*/
1251
- l[16], I, ae = Z() && /*idrndLoading*/
1250
+ ), n, f, g, E, b, r, _, I, O, R, C = (
1251
+ /*$_*/
1252
+ l[20]("faceCollector.capturing") + ""
1253
+ ), U, _e, ce, Q, ae, j, Ie, ue, N, V, D, te, x, be, et, Be, He, tt, P = q() && /*waitingIdrndCaptureEvent*/
1254
+ l[16], le, Pe = q() && /*idrndLoading*/
1252
1255
  l[14] && /*$cameraStatusStore*/
1253
- l[30] === ce.OK, Oe, j, ie, be, F, z, he, Ce = c && pi(l), ue = Qt(l);
1254
- d = new Bl({ props: { className: "bottom-0" } });
1255
- function Ke(v, D) {
1256
+ l[30] === re.OK, Y, z, fe, we, H, $, he, ke = c && pi(l), pe = Qt(l);
1257
+ f = new Bl({ props: { className: "bottom-0" } });
1258
+ function je(v, F) {
1256
1259
  return !/*$faceValidationsStore*/
1257
1260
  v[32].isPersonCloseEnough || /*$faceValidationsStore*/
1258
1261
  v[32].isPersonTooclose ? vi : gi;
1259
1262
  }
1260
- let Ie = Ke(l), de = Ie(l);
1261
- function We(v, D) {
1263
+ let Se = je(l), de = Se(l);
1264
+ function Ae(v, F) {
1262
1265
  return (
1263
1266
  /*$faceValidationsStore*/
1264
1267
  v[32].closedMouth ? ki : wi
1265
1268
  );
1266
1269
  }
1267
- let Ee = We(l), V = Ee(l);
1268
- function Re(v, D) {
1270
+ let X = Ae(l), ie = X(l);
1271
+ function K(v, F) {
1269
1272
  return (
1270
1273
  /*$isLoading*/
1271
1274
  v[33] ? Ei : Ci
1272
1275
  );
1273
1276
  }
1274
- let H = Re(l), le = H(l);
1275
- function Be(v, D) {
1277
+ let ge = K(l), oe = ge(l);
1278
+ function Ue(v, F) {
1276
1279
  return (
1277
1280
  /*$faceValidationsStore*/
1278
1281
  v[32].isPersonInFrame ? Li : Ri
1279
1282
  );
1280
1283
  }
1281
- let ye = Be(l), ne = ye(l), Y = Ve && Xt(l), se = ae && Jt(l);
1282
- function fe(v, D) {
1284
+ let Ce = Ue(l), me = Ce(l), ee = P && Xt(l), B = Pe && Jt(l);
1285
+ function qe(v, F) {
1283
1286
  return (
1284
1287
  /*$captured*/
1285
- v[18] ? Ai : Si
1288
+ v[18] ? Si : Ai
1286
1289
  );
1287
1290
  }
1288
- let Ae = fe(l), re = Ae(l);
1289
- const je = [Mi, Di], me = [];
1290
- function lt(v, D) {
1291
+ let Te = qe(l), ne = Te(l);
1292
+ const ze = [Mi, xi], Le = [];
1293
+ function Oe(v, F) {
1291
1294
  return !/*idrndClosed*/
1292
1295
  v[15] || /*$captured*/
1293
1296
  v[18] ? 0 : (
1294
1297
  /*$cameraStatusStore*/
1295
- v[30] !== ce.OK ? 1 : -1
1298
+ v[30] !== re.OK ? 1 : -1
1296
1299
  );
1297
1300
  }
1298
- return ~(F = lt(l)) && (z = me[F] = je[F](l)), {
1301
+ return ~(H = Oe(l)) && ($ = Le[H] = ze[H](l)), {
1299
1302
  c() {
1300
- e = h("div"), t = h("div"), s = h("div"), a = h("div"), Ce && Ce.c(), f = L(), ue.c(), n = L(), It(d.$$.fragment), g = L(), C = h("canvas"), b = L(), r = h("canvas"), _ = L(), y = h("canvas"), O = L(), R = h("span"), E = T("Capturando"), ve = L(), Q = h("div"), te = h("div"), we = h("span"), we.textContent = "Longe", X = L(), de.c(), Pe = L(), G = h("div"), B = h("span"), B.textContent = "Boca Aberta", q = L(), V.c(), x = L(), K = h("div"), N = h("span"), le.c(), ke = L(), ne.c(), $e = L(), Y && Y.c(), I = L(), se && se.c(), Oe = L(), j = h("div"), re.c(), be = L(), z && z.c(), this.c = ee, o(C, "id", "bry-ce-displayCanvas"), o(C, "class", "max-w-full -scale-x-100"), o(r, "id", "bry-ce-detectionsCanvas"), o(r, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), o(y, "id", "bry-ce-maskCanvas"), o(y, "class", "absolute top-0 left-0 max-w-full"), R.hidden = U = !/*isCountingDown*/
1301
- l[9], o(R, "class", "absolute left-1/2 -translate-x-1/2 top-[85%] text-[1.5rem] bg-info text-info-content p-1 rounded-md"), o(te, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] text-2xs sm:text-base w-[10.1em]"), o(G, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] text-[.1em] 2xs:text-2xs sm:text-base w-[9.6em]"), o(K, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] text-2xs sm:text-base w-[10em]"), o(Q, "class", Ne = "absolute " + /*$enableFaceApi*/
1302
- (l[28] ? "flex" : "hidden") + " justify-around w-full top-[5%]"), o(a, "class", "relative"), a.hidden = Fe = Z() && /*idrndLoading*/
1303
+ e = h("div"), t = h("div"), s = h("div"), a = h("div"), ke && ke.c(), d = L(), pe.c(), n = L(), Pt(f.$$.fragment), g = L(), E = h("canvas"), b = L(), r = h("canvas"), _ = L(), I = h("canvas"), O = L(), R = h("span"), U = T(C), ce = L(), Q = h("div"), ae = h("div"), j = h("span"), j.textContent = "Longe", Ie = L(), de.c(), ue = L(), N = h("div"), V = h("span"), V.textContent = "Boca Aberta", D = L(), ie.c(), te = L(), x = h("div"), be = h("span"), oe.c(), et = L(), me.c(), tt = L(), ee && ee.c(), le = L(), B && B.c(), Y = L(), z = h("div"), ne.c(), we = L(), $ && $.c(), this.c = G, o(E, "id", "bry-ce-displayCanvas"), o(E, "class", "max-w-full -scale-x-100"), o(r, "id", "bry-ce-detectionsCanvas"), o(r, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), o(I, "id", "bry-ce-maskCanvas"), o(I, "class", "absolute top-0 left-0 max-w-full"), R.hidden = _e = !/*isCountingDown*/
1304
+ l[9], o(R, "class", "absolute left-1/2 -translate-x-1/2 top-[85%] text-[1.5rem] bg-info text-info-content p-1 rounded-md"), o(ae, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] text-2xs sm:text-base w-[10.1em]"), o(N, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] text-[.1em] 2xs:text-2xs sm:text-base w-[9.6em]"), o(x, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] text-2xs sm:text-base w-[10em]"), o(Q, "class", Be = "absolute " + /*$enableFaceApi*/
1305
+ (l[28] ? "flex" : "hidden") + " justify-around w-full top-[5%]"), o(a, "class", "relative"), a.hidden = He = q() && /*idrndLoading*/
1303
1306
  (l[14] || /*idrndClosed*/
1304
1307
  l[15] || /*waitingIdrndCaptureEvent*/
1305
- l[16]), o(j, "class", "px-4 sm:px-0 mt-[1em]"), j.hidden = ie = Z() && /*idrndLoading*/
1308
+ l[16]), o(z, "class", "px-4 sm:px-0 mt-[1em]"), z.hidden = fe = q() && /*idrndLoading*/
1306
1309
  (l[14] || /*idrndClosed*/
1307
1310
  l[15] || /*waitingIdrndCaptureEvent*/
1308
1311
  l[16]), o(s, "class", "relative mx-auto"), o(t, "class", "flex flex-col justify-between");
1309
1312
  },
1310
- m(v, D) {
1311
- p(v, e, D), u(e, t), u(t, s), u(s, a), Ce && Ce.m(a, null), u(a, f), ue.m(a, null), u(a, n), At(d, a, null), u(a, g), u(a, C), l[49](C), u(a, b), u(a, r), l[50](r), u(a, _), u(a, y), l[51](y), u(a, O), u(a, R), u(R, E), l[52](R), u(a, ve), u(a, Q), u(Q, te), u(te, we), u(te, X), de.m(te, null), l[53](te), u(Q, Pe), u(Q, G), u(G, B), u(G, q), V.m(G, null), l[54](G), u(Q, x), u(Q, K), u(K, N), le.m(N, null), u(K, ke), ne.m(K, null), l[55](K), u(s, $e), Y && Y.m(s, null), u(s, I), se && se.m(s, null), u(s, Oe), u(s, j), re.m(j, null), l[59](t), u(e, be), ~F && me[F].m(e, null), he = !0;
1312
- },
1313
- p(v, D) {
1314
- c && Ce.p(v, D), D[0] & /*unique*/
1315
- 1024 && Ot(m, m = /*unique*/
1316
- v[10]) ? (ue.d(1), ue = Qt(v), ue.c(), ue.m(a, n)) : ue.p(v, D), (!he || D[0] & /*isCountingDown*/
1317
- 512 && U !== (U = !/*isCountingDown*/
1318
- v[9])) && (R.hidden = U), Ie !== (Ie = Ke(v)) && (de.d(1), de = Ie(v), de && (de.c(), de.m(te, null))), Ee !== (Ee = We(v)) && (V.d(1), V = Ee(v), V && (V.c(), V.m(G, null))), H === (H = Re(v)) && le ? le.p(v, D) : (le.d(1), le = H(v), le && (le.c(), le.m(N, null))), ye !== (ye = Be(v)) && (ne.d(1), ne = ye(v), ne && (ne.c(), ne.m(K, null))), (!he || D[0] & /*$enableFaceApi*/
1319
- 268435456 && Ne !== (Ne = "absolute " + /*$enableFaceApi*/
1320
- (v[28] ? "flex" : "hidden") + " justify-around w-full top-[5%]")) && o(Q, "class", Ne), (!he || D[0] & /*idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
1321
- 114688 && Fe !== (Fe = Z() && /*idrndLoading*/
1313
+ m(v, F) {
1314
+ p(v, e, F), u(e, t), u(t, s), u(s, a), ke && ke.m(a, null), u(a, d), pe.m(a, null), u(a, n), St(f, a, null), u(a, g), u(a, E), l[49](E), u(a, b), u(a, r), l[50](r), u(a, _), u(a, I), l[51](I), u(a, O), u(a, R), u(R, U), l[52](R), u(a, ce), u(a, Q), u(Q, ae), u(ae, j), u(ae, Ie), de.m(ae, null), l[53](ae), u(Q, ue), u(Q, N), u(N, V), u(N, D), ie.m(N, null), l[54](N), u(Q, te), u(Q, x), u(x, be), oe.m(be, null), u(x, et), me.m(x, null), l[55](x), u(s, tt), ee && ee.m(s, null), u(s, le), B && B.m(s, null), u(s, Y), u(s, z), ne.m(z, null), l[59](t), u(e, we), ~H && Le[H].m(e, null), he = !0;
1315
+ },
1316
+ p(v, F) {
1317
+ c && ke.p(v, F), F[0] & /*unique*/
1318
+ 1024 && It(m, m = /*unique*/
1319
+ v[10]) ? (pe.d(1), pe = Qt(v), pe.c(), pe.m(a, n)) : pe.p(v, F), (!he || F[0] & /*$_*/
1320
+ 1048576) && C !== (C = /*$_*/
1321
+ v[20]("faceCollector.capturing") + "") && W(U, C), (!he || F[0] & /*isCountingDown*/
1322
+ 512 && _e !== (_e = !/*isCountingDown*/
1323
+ v[9])) && (R.hidden = _e), Se !== (Se = je(v)) && (de.d(1), de = Se(v), de && (de.c(), de.m(ae, null))), X !== (X = Ae(v)) && (ie.d(1), ie = X(v), ie && (ie.c(), ie.m(N, null))), ge === (ge = K(v)) && oe ? oe.p(v, F) : (oe.d(1), oe = ge(v), oe && (oe.c(), oe.m(be, null))), Ce !== (Ce = Ue(v)) && (me.d(1), me = Ce(v), me && (me.c(), me.m(x, null))), (!he || F[0] & /*$enableFaceApi*/
1324
+ 268435456 && Be !== (Be = "absolute " + /*$enableFaceApi*/
1325
+ (v[28] ? "flex" : "hidden") + " justify-around w-full top-[5%]")) && o(Q, "class", Be), (!he || F[0] & /*idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
1326
+ 114688 && He !== (He = q() && /*idrndLoading*/
1322
1327
  (v[14] || /*idrndClosed*/
1323
1328
  v[15] || /*waitingIdrndCaptureEvent*/
1324
- v[16]))) && (a.hidden = Fe), D[0] & /*waitingIdrndCaptureEvent*/
1325
- 65536 && (Ve = Z() && /*waitingIdrndCaptureEvent*/
1326
- v[16]), Ve ? Y ? Y.p(v, D) : (Y = Xt(v), Y.c(), Y.m(s, I)) : Y && (Y.d(1), Y = null), D[0] & /*idrndLoading, $cameraStatusStore*/
1327
- 1073758208 && (ae = Z() && /*idrndLoading*/
1329
+ v[16]))) && (a.hidden = He), F[0] & /*waitingIdrndCaptureEvent*/
1330
+ 65536 && (P = q() && /*waitingIdrndCaptureEvent*/
1331
+ v[16]), P ? ee ? ee.p(v, F) : (ee = Xt(v), ee.c(), ee.m(s, le)) : ee && (ee.d(1), ee = null), F[0] & /*idrndLoading, $cameraStatusStore*/
1332
+ 1073758208 && (Pe = q() && /*idrndLoading*/
1328
1333
  v[14] && /*$cameraStatusStore*/
1329
- v[30] === ce.OK), ae ? se ? se.p(v, D) : (se = Jt(v), se.c(), se.m(s, Oe)) : se && (se.d(1), se = null), Ae === (Ae = fe(v)) && re ? re.p(v, D) : (re.d(1), re = Ae(v), re && (re.c(), re.m(j, null))), (!he || D[0] & /*idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
1330
- 114688 && ie !== (ie = Z() && /*idrndLoading*/
1334
+ v[30] === re.OK), Pe ? B ? B.p(v, F) : (B = Jt(v), B.c(), B.m(s, Y)) : B && (B.d(1), B = null), Te === (Te = qe(v)) && ne ? ne.p(v, F) : (ne.d(1), ne = Te(v), ne && (ne.c(), ne.m(z, null))), (!he || F[0] & /*idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
1335
+ 114688 && fe !== (fe = q() && /*idrndLoading*/
1331
1336
  (v[14] || /*idrndClosed*/
1332
1337
  v[15] || /*waitingIdrndCaptureEvent*/
1333
- v[16]))) && (j.hidden = ie);
1334
- let qe = F;
1335
- F = lt(v), F === qe ? ~F && me[F].p(v, D) : (z && (sl(), xe(me[qe], 1, 1, () => {
1336
- me[qe] = null;
1337
- }), al()), ~F ? (z = me[F], z ? z.p(v, D) : (z = me[F] = je[F](v), z.c()), De(z, 1), z.m(e, null)) : z = null);
1338
+ v[16]))) && (z.hidden = fe);
1339
+ let De = H;
1340
+ H = Oe(v), H === De ? ~H && Le[H].p(v, F) : ($ && (sl(), Ne(Le[De], 1, 1, () => {
1341
+ Le[De] = null;
1342
+ }), al()), ~H ? ($ = Le[H], $ ? $.p(v, F) : ($ = Le[H] = ze[H](v), $.c()), Fe($, 1), $.m(e, null)) : $ = null);
1338
1343
  },
1339
1344
  i(v) {
1340
- he || (De(d.$$.fragment, v), De(z), he = !0);
1345
+ he || (Fe(f.$$.fragment, v), Fe($), he = !0);
1341
1346
  },
1342
1347
  o(v) {
1343
- xe(d.$$.fragment, v), xe(z), he = !1;
1348
+ Ne(f.$$.fragment, v), Ne($), he = !1;
1344
1349
  },
1345
1350
  d(v) {
1346
- v && w(e), Ce && Ce.d(), ue.d(v), St(d), l[49](null), l[50](null), l[51](null), l[52](null), de.d(), l[53](null), V.d(), l[54](null), le.d(), ne.d(), l[55](null), Y && Y.d(), se && se.d(), re.d(), l[59](null), ~F && me[F].d();
1351
+ v && w(e), ke && ke.d(), pe.d(v), At(f), l[49](null), l[50](null), l[51](null), l[52](null), de.d(), l[53](null), ie.d(), l[54](null), oe.d(), me.d(), l[55](null), ee && ee.d(), B && B.d(), ne.d(), l[59](null), ~H && Le[H].d();
1347
1352
  }
1348
1353
  };
1349
1354
  }
@@ -1362,392 +1367,392 @@ function el(l, e, t) {
1362
1367
  );
1363
1368
  }
1364
1369
  function Qi(l, e, t) {
1365
- let s, a, c, f, m, n, d, g, C, b, r, _, y, O, R, E, U, ve, Q, te, we, X, Pe, G, B, q, x, K, N, ke, Ne, Fe, $e, Ve;
1366
- S(l, gt, (i) => t(73, s = i)), S(l, et, (i) => t(18, c = i)), S(l, vt, (i) => t(75, f = i)), S(l, Ft, (i) => t(76, m = i)), S(l, Xe, (i) => t(19, n = i)), S(l, Hl, (i) => t(77, d = i)), S(l, Ul, (i) => t(20, g = i)), S(l, Vl, (i) => t(78, C = i)), S(l, ge, (i) => t(21, b = i)), S(l, Kl, (i) => t(22, r = i)), S(l, Je, (i) => t(23, _ = i)), S(l, tt, (i) => t(79, y = i)), S(l, wt, (i) => t(24, O = i)), S(l, kt, (i) => t(25, R = i)), S(l, Se, (i) => t(26, E = i)), S(l, jl, (i) => t(80, ve = i)), S(l, ql, (i) => t(28, Q = i)), S(l, ot, (i) => t(29, te = i)), S(l, Ct, (i) => t(81, we = i)), S(l, Ue, (i) => t(30, X = i)), S(l, zl, (i) => t(82, Pe = i)), S(l, nt, (i) => t(83, G = i)), S(l, Wt, (i) => t(84, B = i)), S(l, Bt, (i) => t(85, q = i)), S(l, Ht, (i) => t(86, x = i)), S(l, Zl, (i) => t(87, K = i)), S(l, Et, (i) => t(88, N = i)), S(l, Ut, (i) => t(31, ke = i)), S(l, Vt, (i) => t(32, Ne = i)), S(l, Ql, (i) => t(33, Fe = i)), S(l, Xl, (i) => t(34, $e = i)), S(l, Jl, (i) => t(35, Ve = i));
1367
- let I, ae, Oe, j, ie, be, F, z = !1, he = {}, Ce = !1, { enableMinutiae: ue } = e, { videoDimensions: Ke } = e, { noTabs: Ie } = e, { weightsPath: de } = e;
1368
- const We = yt(!1);
1369
- S(l, We, (i) => t(74, a = i));
1370
- const Ee = yt("data:image/png;base64");
1371
- S(l, Ee, (i) => t(27, U = i));
1372
- let { widgetInstance: V } = e, Re, H, le = !1, Be = !1, ye = !0, ne = !1, Y = !1, se = 0, fe = "", Ae = 0, re = !1;
1373
- const je = Gl.mixin({
1370
+ let s, a, c, d, m, n, f, g, E, b, r, _, I, O, R, C, U, _e, ce, Q, ae, j, Ie, ue, N, V, D, te, x, be, et, Be, He, tt;
1371
+ A(l, gt, (i) => t(73, s = i)), A(l, lt, (i) => t(18, c = i)), A(l, vt, (i) => t(75, d = i)), A(l, Ft, (i) => t(76, m = i)), A(l, Je, (i) => t(19, n = i)), A(l, Hl, (i) => t(77, f = i)), A(l, Ul, (i) => t(20, g = i)), A(l, Vl, (i) => t(78, E = i)), A(l, Re, (i) => t(21, b = i)), A(l, Kl, (i) => t(22, r = i)), A(l, Ge, (i) => t(23, _ = i)), A(l, it, (i) => t(79, I = i)), A(l, wt, (i) => t(24, O = i)), A(l, kt, (i) => t(25, R = i)), A(l, xe, (i) => t(26, C = i)), A(l, jl, (i) => t(80, _e = i)), A(l, ql, (i) => t(28, ce = i)), A(l, ot, (i) => t(29, Q = i)), A(l, Ct, (i) => t(81, ae = i)), A(l, Ke, (i) => t(30, j = i)), A(l, zl, (i) => t(82, Ie = i)), A(l, nt, (i) => t(83, ue = i)), A(l, Wt, (i) => t(84, N = i)), A(l, Bt, (i) => t(85, V = i)), A(l, Ht, (i) => t(86, D = i)), A(l, Zl, (i) => t(87, te = i)), A(l, Et, (i) => t(88, x = i)), A(l, Ut, (i) => t(31, be = i)), A(l, Vt, (i) => t(32, et = i)), A(l, Ql, (i) => t(33, Be = i)), A(l, Xl, (i) => t(34, He = i)), A(l, Jl, (i) => t(35, tt = i));
1372
+ let P, le, Pe, Y, z, fe, we, H = !1, $ = {}, he = !1, { enableMinutiae: ke } = e, { videoDimensions: pe } = e, { noTabs: je } = e, { weightsPath: Se } = e;
1373
+ const de = yt(!1);
1374
+ A(l, de, (i) => t(74, a = i));
1375
+ const Ae = yt("data:image/png;base64");
1376
+ A(l, Ae, (i) => t(27, U = i));
1377
+ let { widgetInstance: X } = e, ie, K, ge = !1, oe = !1, Ue = !0, Ce = !1, me = !1, ee = 0, B = "", qe = 0, Te = !1;
1378
+ const ne = Gl.mixin({
1374
1379
  toast: !0,
1375
1380
  position: "bottom-left",
1376
1381
  timer: 13e3,
1377
1382
  timerProgressBar: !0
1378
1383
  });
1379
1384
  Yl(async () => {
1380
- k(ot, te = !1, te), k(Ut, ke = !1, ke);
1381
- const [i, P] = (Ke ?? "")?.replaceAll(" ", "")?.split("x")?.map((A) => A ? parseInt(A) : void 0);
1382
- if (!(!i || !P)) {
1383
- if (P > i && !Z() && Kt() ? k(Xe, n = { videoWidth: P, videoHeight: i }, n) : Z() && P < i && Kt() ? k(Xe, n = { videoWidth: P, videoHeight: i }, n) : k(Xe, n = { videoWidth: i, videoHeight: P }, n), !Z())
1385
+ k(ot, Q = !1, Q), k(Ut, be = !1, be);
1386
+ const [i, y] = (pe ?? "")?.replaceAll(" ", "")?.split("x")?.map((S) => S ? parseInt(S) : void 0);
1387
+ if (!(!i || !y)) {
1388
+ if (y > i && !q() && Kt() ? k(Je, n = { videoWidth: y, videoHeight: i }, n) : q() && y < i && Kt() ? k(Je, n = { videoWidth: y, videoHeight: i }, n) : k(Je, n = { videoWidth: i, videoHeight: y }, n), !q())
1384
1389
  try {
1385
1390
  await jt(), (await navigator.mediaDevices.getUserMedia({
1386
1391
  video: {
1387
- height: { exact: P },
1392
+ height: { exact: y },
1388
1393
  width: { exact: i }
1389
1394
  },
1390
1395
  audio: !1
1391
- }))?.getTracks()?.forEach((M) => M?.stop()), k(Et, N = K[0].deviceId, N);
1392
- } catch (A) {
1393
- const M = A;
1394
- console.error(M), $l(M) && "message" in M && M.message.includes("Permission denied") && (console.error("User didn't give permission to use camera!"), k(Ht, x = !0, x));
1396
+ }))?.getTracks()?.forEach((M) => M?.stop()), k(Et, x = te[0].deviceId, x);
1397
+ } catch (S) {
1398
+ const M = S;
1399
+ console.error(M), $l(M) && "message" in M && M.message.includes("Permission denied") && (console.error("User didn't give permission to use camera!"), k(Ht, D = !0, D));
1395
1400
  }
1396
- Z() && (import("./index-no-detector_c7c1d3a2_2.0.3.js"), lt()), Q && (await ei(de), Ce = !0), Z() && !Be && B && v();
1401
+ q() && (import("./index-no-detector_c7c1d3a2_2.0.5.js"), Le()), ce && (await ei(Se), he = !0), q() && !oe && N && Oe();
1397
1402
  }
1398
1403
  });
1399
- function me(i, P) {
1400
- i.clearRect(0, 0, H.width, H.height), i.save(), i.filter = "blur(7px)", i.beginPath(), i.rect(0, 0, H.width, H.height);
1401
- let A = 200;
1402
- n.videoWidth > n.videoHeight ? A = 1.1 * (100 * n.videoWidth) / n.videoHeight * 1.1 : A = 1.1 * (100 * n.videoHeight * 1.1) / n.videoWidth;
1403
- const M = A * 1.45;
1404
- i.ellipse(n.videoWidth / 2, n.videoHeight / 2, A / 2, M / 2, 0, 0, 2 * Math.PI, !0), i.clip(), el(i, P, H), i.restore(), i.save(), i.beginPath();
1405
- const _e = window.getComputedStyle(H).getPropertyValue("--p"), Ze = window.getComputedStyle(H).getPropertyValue("--su");
1406
- if (i.strokeStyle = `hsl(${_e})`, i.lineWidth = 16, i.ellipse(n.videoWidth / 2, n.videoHeight / 2, A / 2, M / 2, 0, 0, 2 * Math.PI), i.stroke(), z && !re) {
1407
- const st = 1 - (Ae - (/* @__PURE__ */ new Date()).getTime()) / 4500;
1408
- i.save(), i.beginPath(), i.lineWidth = 16, i.strokeStyle = `hsl(${Ze})`, i.ellipse(n.videoWidth / 2, n.videoHeight / 2, A / 2, M / 2, 0, 0 - Math.PI / 2, 1.25 * (Math.PI * 2 * st) - Math.PI / 2), i.stroke();
1404
+ function ze(i, y) {
1405
+ i.clearRect(0, 0, K.width, K.height), i.save(), i.filter = "blur(7px)", i.beginPath(), i.rect(0, 0, K.width, K.height);
1406
+ let S = 200;
1407
+ n.videoWidth > n.videoHeight ? S = 1.1 * (100 * n.videoWidth) / n.videoHeight * 1.1 : S = 1.1 * (100 * n.videoHeight * 1.1) / n.videoWidth;
1408
+ const M = S * 1.45;
1409
+ i.ellipse(n.videoWidth / 2, n.videoHeight / 2, S / 2, M / 2, 0, 0, 2 * Math.PI, !0), i.clip(), el(i, y, K), i.restore(), i.save(), i.beginPath();
1410
+ const ve = window.getComputedStyle(K).getPropertyValue("--p"), Qe = window.getComputedStyle(K).getPropertyValue("--su");
1411
+ if (i.strokeStyle = `hsl(${ve})`, i.lineWidth = 16, i.ellipse(n.videoWidth / 2, n.videoHeight / 2, S / 2, M / 2, 0, 0, 2 * Math.PI), i.stroke(), H && !Te) {
1412
+ const st = 1 - (qe - (/* @__PURE__ */ new Date()).getTime()) / 4500;
1413
+ i.save(), i.beginPath(), i.lineWidth = 16, i.strokeStyle = `hsl(${Qe})`, i.ellipse(n.videoWidth / 2, n.videoHeight / 2, S / 2, M / 2, 0, 0 - Math.PI / 2, 1.25 * (Math.PI * 2 * st) - Math.PI / 2), i.stroke();
1409
1414
  }
1410
1415
  i.beginPath();
1411
- const Qe = new Path2D();
1412
- Qe.ellipse(n.videoWidth / 2, n.videoHeight / 2, A / 2, M / 2, 0, 0, 2 * Math.PI), i.clip(Qe), el(i, P, H), i.restore();
1416
+ const Xe = new Path2D();
1417
+ Xe.ellipse(n.videoWidth / 2, n.videoHeight / 2, S / 2, M / 2, 0, 0, 2 * Math.PI), i.clip(Xe), el(i, y, K), i.restore();
1413
1418
  }
1414
- function lt() {
1415
- V.addEventListener("open", (i) => {
1416
- const P = i.detail[0].video;
1419
+ function Le() {
1420
+ X.addEventListener("open", (i) => {
1421
+ const y = i.detail[0].video;
1417
1422
  k(
1418
1423
  Bt,
1419
- q = {
1420
- width: P.videoWidth,
1421
- height: P.videoHeight
1424
+ V = {
1425
+ width: y.videoWidth,
1426
+ height: y.videoHeight
1422
1427
  },
1423
- q
1424
- ), t(2, I.srcObject = P.srcObject, I), t(14, ye = !1);
1425
- function A() {
1426
- ne || (me(H.getContext("2d"), P), Ge(I, A, !0));
1428
+ V
1429
+ ), t(2, P.srcObject = y.srcObject, P), t(14, Ue = !1);
1430
+ function S() {
1431
+ Ce || (ze(K.getContext("2d"), y), Ye(P, S, !0));
1427
1432
  }
1428
- A();
1429
- }), V.addEventListener("error", (i) => {
1430
- console.error(i), i.detail[0].message === "Device in use" ? k(Ue, X = ce.CAMERA_IN_USE_ERROR, X) : i.detail[0].message === "Permission denied" || i.detail[0].message === "Permission dismissed" ? k(Ue, X = ce.CAMERA_DENIED_ERROR, X) : i.detail[0].message === "Requested device not found" && k(Ue, X = ce.DEVICE_NOT_FOUND_ERROR, X), t(14, ye = !1);
1431
- }), V.addEventListener("faceDetection", (i) => {
1432
- }), V.addEventListener("close", async (i) => {
1433
- c || t(13, le = !1), t(15, ne = !0), t(16, Y = !1), X === ce.OK && k(Ue, X = ce.CAMERA_CLOSED_ERROR, X);
1434
- }), V.addEventListener("initialize", async (i) => {
1435
- Be = !0, k(Wt, B = !0, B), we === rt.Face && !le && !c && Be && await v();
1436
- }), V.addEventListener("capture", async (i) => {
1437
- t(17, fe = "");
1438
- const { encryptedFile: P, photo: A } = i.detail[0];
1439
- k(nt, G = P, G), t(16, Y = !1), k(ge, b = $.OK, b), k(Je, _.isLoading = !0, _), k(et, c = !0, c), t(13, le = !1);
1440
- const M = (await ct(A)).split(",");
1441
- if (k(Ee, U = M[0], U), k(Se, E = M[1], E), k(tt, y = M[1], y), !Pe) {
1442
- let pe, ht;
1433
+ S();
1434
+ }), X.addEventListener("error", (i) => {
1435
+ console.error(i), i.detail[0].message === "Device in use" ? k(Ke, j = re.CAMERA_IN_USE_ERROR, j) : i.detail[0].message === "Permission denied" || i.detail[0].message === "Permission dismissed" ? k(Ke, j = re.CAMERA_DENIED_ERROR, j) : i.detail[0].message === "Requested device not found" && k(Ke, j = re.DEVICE_NOT_FOUND_ERROR, j), t(14, Ue = !1);
1436
+ }), X.addEventListener("faceDetection", (i) => {
1437
+ }), X.addEventListener("close", async (i) => {
1438
+ c || t(13, ge = !1), t(15, Ce = !0), t(16, me = !1), j === re.OK && k(Ke, j = re.CAMERA_CLOSED_ERROR, j);
1439
+ }), X.addEventListener("initialize", async (i) => {
1440
+ oe = !0, k(Wt, N = !0, N), ae === rt.Face && !ge && !c && oe && await Oe();
1441
+ }), X.addEventListener("capture", async (i) => {
1442
+ t(17, B = "");
1443
+ const { encryptedFile: y, photo: S } = i.detail[0];
1444
+ k(nt, ue = y, ue), t(16, me = !1), k(Re, b = J.OK, b), k(Ge, _.isLoading = !0, _), k(lt, c = !0, c), t(13, ge = !1);
1445
+ const M = (await ct(S)).split(",");
1446
+ if (k(Ae, U = M[0], U), k(xe, C = M[1], C), k(it, I = M[1], I), !Ie) {
1447
+ let Ee, ht;
1443
1448
  try {
1444
- ({ bodyParts: pe, icaoWarnings: ht } = await ut(y, (await ct(P)).split(",")[1])), window.dispatchEvent(new CustomEvent(
1449
+ ({ bodyParts: Ee, icaoWarnings: ht } = await ut(I, (await ct(y)).split(",")[1])), window.dispatchEvent(new CustomEvent(
1445
1450
  "face-unconformities-validated",
1446
1451
  {
1447
1452
  detail: {
1448
- bodyParts: pe,
1453
+ bodyParts: Ee,
1449
1454
  icaoWarnings: ht,
1450
1455
  status: b
1451
1456
  }
1452
1457
  }
1453
1458
  ));
1454
- } catch (He) {
1455
- console.error(He);
1456
- let at = Rt.UNKNOWN, pt = [], Dt = [];
1457
- if (He instanceof qt && He.response?.status === 400)
1458
- if (He.response.data && Array.isArray(He.response.data.bodyParts)) {
1459
- pt = He.response.data.bodyParts, Dt = He.response.data.icaoWarnings;
1459
+ } catch (Ve) {
1460
+ console.error(Ve);
1461
+ let at = Rt.UNKNOWN, pt = [], xt = [];
1462
+ if (Ve instanceof qt && Ve.response?.status === 400)
1463
+ if (Ve.response.data && Array.isArray(Ve.response.data.bodyParts)) {
1464
+ pt = Ve.response.data.bodyParts, xt = Ve.response.data.icaoWarnings;
1460
1465
  const Mt = pt.find((Wl) => Wl.livenessResult.error);
1461
- at = Mt?.livenessResult.error_code, k(ge, b = $.LIVENESS_DETECTION_FAILURE, b), Mt?.livenessResult.error_code || k(ge, b = $.UNKNOWN_LIVENESS_ERROR, b), t(17, fe = Rt[at]), console.error("Liveness error:", at);
1466
+ at = Mt?.livenessResult.error_code, k(Re, b = J.LIVENESS_DETECTION_FAILURE, b), Mt?.livenessResult.error_code || k(Re, b = J.UNKNOWN_LIVENESS_ERROR, b), t(17, B = Rt[at]), console.error("Liveness error:", at);
1462
1467
  } else
1463
- k(ge, b = $.TEMPLATE_EXTRACTION_ERROR, b);
1468
+ k(Re, b = J.TEMPLATE_EXTRACTION_ERROR, b);
1464
1469
  else
1465
- k(ge, b = $.UNKNOWN_LIVENESS_ERROR, b), je.fire({
1470
+ k(Re, b = J.UNKNOWN_LIVENESS_ERROR, b), ne.fire({
1466
1471
  icon: "error",
1467
1472
  title: "Falha ao comunicar com serviço de Liveness"
1468
1473
  });
1469
- k(Je, _.isLoading = !1, _), window.dispatchEvent(new CustomEvent(
1474
+ k(Ge, _.isLoading = !1, _), window.dispatchEvent(new CustomEvent(
1470
1475
  "face-unconformities-validated",
1471
1476
  {
1472
1477
  detail: {
1473
1478
  bodyParts: pt,
1474
1479
  errorCode: at,
1475
- translatedError: g(fe),
1480
+ translatedError: g(B),
1476
1481
  status: b,
1477
- icaoWarnings: Dt
1482
+ icaoWarnings: xt
1478
1483
  }
1479
1484
  }
1480
1485
  ));
1481
1486
  return;
1482
1487
  }
1483
- if (b !== $.OK) {
1484
- k(Je, _.isLoading = !1, _);
1488
+ if (b !== J.OK) {
1489
+ k(Ge, _.isLoading = !1, _);
1485
1490
  return;
1486
1491
  }
1487
- Tt(pe[0].livenessResult), pe.length !== 0 && pe[0].data && k(Se, E = pe[0].data, E), dt(ht);
1492
+ Tt(Ee[0].livenessResult), Ee.length !== 0 && Ee[0].data && k(xe, C = Ee[0].data, C), ft(ht);
1488
1493
  return;
1489
1494
  }
1490
- let _e, Ze;
1495
+ let ve, Qe;
1491
1496
  try {
1492
- Ze = await ti(P), Tt(Ze.data);
1493
- } catch (pe) {
1494
- k(ge, b = $.UNKNOWN_LIVENESS_ERROR, b), console.error(pe), pe instanceof qt && pe.response?.status === 400 ? (_e = pe.response.data.error_code, t(17, fe = Rt[_e]), console.error("Liveness error:", _e), k(ge, b = $.LIVENESS_DETECTION_FAILURE, b)) : je.fire({
1497
+ Qe = await ti(y), Tt(Qe.data);
1498
+ } catch (Ee) {
1499
+ k(Re, b = J.UNKNOWN_LIVENESS_ERROR, b), console.error(Ee), Ee instanceof qt && Ee.response?.status === 400 ? (ve = Ee.response.data.error_code, t(17, B = Rt[ve]), console.error("Liveness error:", ve), k(Re, b = J.LIVENESS_DETECTION_FAILURE, b)) : ne.fire({
1495
1500
  icon: "error",
1496
1501
  title: "Falha ao comunicar com serviço de Liveness"
1497
1502
  });
1498
1503
  }
1499
- if (b !== $.OK) {
1500
- k(Je, _.isLoading = !1, _), window.dispatchEvent(new CustomEvent(
1504
+ if (b !== J.OK) {
1505
+ k(Ge, _.isLoading = !1, _), window.dispatchEvent(new CustomEvent(
1501
1506
  "face-unconformities-validated",
1502
1507
  {
1503
1508
  detail: {
1504
1509
  bodyParts: [
1505
1510
  {
1506
1511
  bodyPart: "FACE",
1507
- data: y,
1508
- livenessBlob: (await ct(P)).split(",")[1],
1509
- ...Ze && { livenessResult: Ze }
1512
+ data: I,
1513
+ livenessBlob: (await ct(y)).split(",")[1],
1514
+ ...Qe && { livenessResult: Qe }
1510
1515
  }
1511
1516
  ],
1512
- ..._e && { errorCode: _e },
1513
- ...fe && { translatedError: g(fe) },
1517
+ ...ve && { errorCode: ve },
1518
+ ...B && { translatedError: g(B) },
1514
1519
  status: b
1515
1520
  }
1516
1521
  }
1517
1522
  ));
1518
1523
  return;
1519
1524
  }
1520
- let { bodyParts: Qe, icaoWarnings: st } = await ut(y);
1525
+ let { bodyParts: Xe, icaoWarnings: st } = await ut(I);
1521
1526
  window.dispatchEvent(new CustomEvent(
1522
1527
  "face-unconformities-validated",
1523
1528
  {
1524
1529
  detail: {
1525
- bodyParts: Qe,
1530
+ bodyParts: Xe,
1526
1531
  icaoWarnings: st,
1527
1532
  status: b,
1528
- errorCode: _e,
1529
- ...fe && { translatedError: g(fe) }
1533
+ errorCode: ve,
1534
+ ...B && { translatedError: g(B) }
1530
1535
  }
1531
1536
  }
1532
- )), Qe[0].data && k(Se, E = Qe[0].data, E), dt(st);
1537
+ )), Xe[0].data && k(xe, C = Xe[0].data, C), ft(st);
1533
1538
  });
1534
1539
  }
1535
- function v() {
1536
- k(Ue, X = ce.OK, X), V && "openCamera" in V && V.openCamera(), t(13, le = !0), t(15, ne = !1), t(14, ye = !0);
1540
+ function Oe() {
1541
+ k(Ke, j = re.OK, j), X && "openCamera" in X && X.openCamera(), t(13, ge = !0), t(15, Ce = !1), t(14, Ue = !0);
1537
1542
  }
1538
- async function D() {
1539
- if (Q && !Ce)
1540
- return Ge(I, D);
1541
- if (I) {
1542
- if (we !== rt.Face && !Ie)
1543
- return Ge(I, D);
1544
- k(ot, te = !0, te), Q ? (a || k(We, a = !0, a), Z() || me(H.getContext("2d"), I), Ge(I, D)) : (me(H.getContext("2d"), I), Ge(I, D));
1543
+ async function v() {
1544
+ if (ce && !he)
1545
+ return Ye(P, v);
1546
+ if (P) {
1547
+ if (ae !== rt.Face && !je)
1548
+ return Ye(P, v);
1549
+ k(ot, Q = !0, Q), ce ? (a || k(de, a = !0, a), q() || ze(K.getContext("2d"), P), Ye(P, v)) : (ze(K.getContext("2d"), P), Ye(P, v));
1545
1550
  }
1546
1551
  }
1547
- async function qe() {
1548
- if (k(ge, b = $.OK, b), Z()) {
1549
- t(16, Y = !0), V.takePhoto();
1552
+ async function F() {
1553
+ if (k(Re, b = J.OK, b), q()) {
1554
+ t(16, me = !0), X.takePhoto();
1550
1555
  return;
1551
1556
  }
1552
- if (k(et, c = !0, c), Q) {
1553
- const [i] = await (await import("./face_api_0e3ce8c8_2.0.3.js")).extractFaces(I, [ve]), P = i.toDataURL("image/jpeg").split(",");
1554
- k(Ee, U = P[0], U), k(Se, E = P[1], E), k(tt, y = P[1], y);
1555
- let { bodyParts: A, icaoWarnings: M } = await ut(E);
1557
+ if (k(lt, c = !0, c), ce) {
1558
+ const [i] = await (await import("./face_api_0e3ce8c8_2.0.5.js")).extractFaces(P, [_e]), y = i.toDataURL("image/jpeg").split(",");
1559
+ k(Ae, U = y[0], U), k(xe, C = y[1], C), k(it, I = y[1], I);
1560
+ let { bodyParts: S, icaoWarnings: M } = await ut(C);
1556
1561
  window.dispatchEvent(new CustomEvent(
1557
1562
  "face-unconformities-validated",
1558
1563
  {
1559
1564
  detail: {
1560
- bodyParts: [{ bodyPart: "FACE", data: y }],
1565
+ bodyParts: S,
1561
1566
  icaoWarnings: M,
1562
1567
  status: b
1563
1568
  }
1564
1569
  }
1565
- )), A.length !== 0 && A[0].data && k(Se, E = A[0].data, E), dt(M);
1570
+ )), S.length !== 0 && S[0].data && k(xe, C = S[0].data, C), ft(M);
1566
1571
  } else {
1567
- const i = document.createElement("canvas"), P = i.getContext("2d");
1568
- i.width = I.width, i.height = I.height, P?.drawImage(I, 0, 0, i.width, i.height);
1569
- const A = i.toDataURL("image/jpeg").split(",");
1570
- k(Ee, U = A[0], U), k(Se, E = A[1], E), k(tt, y = A[1], y);
1571
- let { bodyParts: M, icaoWarnings: _e } = await ut(E);
1572
+ const i = document.createElement("canvas"), y = i.getContext("2d");
1573
+ i.width = P.width, i.height = P.height, y?.drawImage(P, 0, 0, i.width, i.height);
1574
+ const S = i.toDataURL("image/jpeg").split(",");
1575
+ k(Ae, U = S[0], U), k(xe, C = S[1], C), k(it, I = S[1], I);
1576
+ let { bodyParts: M, icaoWarnings: ve } = await ut(C);
1572
1577
  window.dispatchEvent(new CustomEvent(
1573
1578
  "face-unconformities-validated",
1574
1579
  {
1575
1580
  detail: {
1576
- bodyParts: [{ bodyPart: "FACE", data: y }],
1577
- icaoWarnings: _e,
1581
+ bodyParts: M,
1582
+ icaoWarnings: ve,
1578
1583
  status: b
1579
1584
  }
1580
1585
  }
1581
- )), M.length !== 0 && M[0].data && k(Se, E = M[0].data, E), dt(_e);
1586
+ )), M.length !== 0 && M[0].data && k(xe, C = M[0].data, C), ft(ve);
1582
1587
  }
1583
1588
  }
1584
- function it() {
1589
+ function De() {
1585
1590
  const i = {
1586
1591
  bodyPart: "FACE",
1587
- data: y || E,
1592
+ data: I || C,
1588
1593
  justification: R
1589
1594
  };
1590
- k(wt, O = !0, O), Pt(nt) && ct(Pt(nt)).then((P) => {
1591
- i.livenessBlob = P.split(",")[1];
1595
+ k(wt, O = !0, O), Ot(nt) && ct(Ot(nt)).then((y) => {
1596
+ i.livenessBlob = y.split(",")[1];
1592
1597
  }), window.dispatchEvent(new CustomEvent("export-face", { detail: i }));
1593
1598
  }
1594
- function ze() {
1595
- window.dispatchEvent(new CustomEvent("face-scrapped")), k(wt, O = !1, O), k(ge, b = $.OK, b), k(et, c = !1, c), k(tt, y = "", y), k(Je, _.unconformities = [], _), ne && v();
1599
+ function Ze() {
1600
+ window.dispatchEvent(new CustomEvent("face-scrapped")), k(wt, O = !1, O), k(Re, b = J.OK, b), k(lt, c = !1, c), k(it, I = "", I), k(Ge, _.unconformities = [], _), Ce && Oe();
1596
1601
  }
1597
1602
  function Tt(i) {
1598
- let P = "", A = "success";
1599
- i.isAlive ? P = `Vivacidade de face (${i.face_liveness.probability.toFixed(2)}) e de captura (${i.capture_liveness.probability}, ${i.capture_liveness.score.toFixed(2)}) verificados!` : i?.face_liveness?.probability && (A = "error", P = `Vivacidade de face (${i.face_liveness.probability.toFixed(2)}) e de captura (${i.capture_liveness.probability}, ${i.capture_liveness.score.toFixed(2)}) insuficientes!`, r && k(ge, b = $.LOW_LIVENESS_SCORE, b)), C && je.fire({ icon: A, title: P });
1603
+ let y = "", S = "success";
1604
+ i.isAlive ? y = `Vivacidade de face (${i.face_liveness.probability.toFixed(2)}) e de captura (${i.capture_liveness.probability}, ${i.capture_liveness.score.toFixed(2)}) verificados!` : i?.face_liveness?.probability && (S = "error", y = `Vivacidade de face (${i.face_liveness.probability.toFixed(2)}) e de captura (${i.capture_liveness.probability}, ${i.capture_liveness.score.toFixed(2)}) insuficientes!`, r && k(Re, b = J.LOW_LIVENESS_SCORE, b)), E && ne.fire({ icon: S, title: y });
1600
1605
  }
1601
- const rl = Xe.subscribe((i) => {
1602
- I && ae && (t(2, I.width = i.videoWidth, I), t(2, I.height = i.videoHeight, I), t(3, ae.width = i.videoWidth, ae), t(3, ae.height = i.videoHeight, ae), t(11, Re.width = i.videoWidth, Re), t(11, Re.height = i.videoHeight, Re), t(12, H.width = i.videoWidth, H), t(12, H.height = i.videoHeight, H));
1606
+ const rl = Je.subscribe((i) => {
1607
+ P && le && (t(2, P.width = i.videoWidth, P), t(2, P.height = i.videoHeight, P), t(3, le.width = i.videoWidth, le), t(3, le.height = i.videoHeight, le), t(11, ie.width = i.videoWidth, ie), t(11, ie.height = i.videoHeight, ie), t(12, K.width = i.videoWidth, K), t(12, K.height = i.videoHeight, K));
1603
1608
  }), cl = Vt.subscribe((i) => {
1604
- if (!(!j || !ie || !be) && (i.closedMouth ? (ie.classList.add("ce-dui-badge-success"), ie.classList.remove("ce-dui-badge-error"), t(6, ie.firstChild.textContent = g("faceCollector.closedMouth"), ie)) : (ie.classList.remove("ce-dui-badge-success"), ie.classList.add("ce-dui-badge-error"), t(6, ie.firstChild.textContent = g("faceCollector.mouthOpen"), ie)), !i.isPersonCloseEnough || i.isPersonTooclose ? (j.classList.remove("ce-dui-badge-success"), j.classList.add("ce-dui-badge-error"), i.isPersonCloseEnough ? i.isPersonTooclose && t(5, j.firstChild.textContent = g("faceCollector.tooClose"), j) : t(5, j.firstChild.textContent = g("faceCollector.tooFar"), j)) : (j.classList.add("ce-dui-badge-success"), j.classList.remove("ce-dui-badge-error"), t(5, j.firstChild.textContent = g("faceCollector.okDistance"), j)), i.isPersonInFrame ? (be.classList.add("ce-dui-badge-success"), be.classList.remove("ce-dui-badge-error")) : (be.classList.remove("ce-dui-badge-success"), be.classList.add("ce-dui-badge-error")), !c && d && !z && Oe && i.isPersonInFrame && i.closedMouth && !(!i.isPersonCloseEnough || i.isPersonTooclose))) {
1605
- t(9, z = !0), Ae = (/* @__PURE__ */ new Date()).getTime() + 4500;
1606
- const P = setInterval(
1609
+ if (!(!Y || !z || !fe) && (i.closedMouth ? (z.classList.add("ce-dui-badge-success"), z.classList.remove("ce-dui-badge-error"), t(6, z.firstChild.textContent = g("faceCollector.closedMouth"), z)) : (z.classList.remove("ce-dui-badge-success"), z.classList.add("ce-dui-badge-error"), t(6, z.firstChild.textContent = g("faceCollector.mouthOpen"), z)), !i.isPersonCloseEnough || i.isPersonTooclose ? (Y.classList.remove("ce-dui-badge-success"), Y.classList.add("ce-dui-badge-error"), i.isPersonCloseEnough ? i.isPersonTooclose && t(5, Y.firstChild.textContent = g("faceCollector.tooClose"), Y) : t(5, Y.firstChild.textContent = g("faceCollector.tooFar"), Y)) : (Y.classList.add("ce-dui-badge-success"), Y.classList.remove("ce-dui-badge-error"), t(5, Y.firstChild.textContent = g("faceCollector.okDistance"), Y)), i.isPersonInFrame ? (fe.classList.add("ce-dui-badge-success"), fe.classList.remove("ce-dui-badge-error")) : (fe.classList.remove("ce-dui-badge-success"), fe.classList.add("ce-dui-badge-error")), !c && f && !H && Pe && i.isPersonInFrame && i.closedMouth && !(!i.isPersonCloseEnough || i.isPersonTooclose))) {
1610
+ t(9, H = !0), qe = (/* @__PURE__ */ new Date()).getTime() + 4500;
1611
+ const y = setInterval(
1607
1612
  () => {
1608
- if (!d || c || Z() && ne || !i.isPersonCloseEnough || i.isPersonTooclose || !i.closedMouth || !i.isPersonInFrame) {
1609
- t(9, z = !1), re = !0, setTimeout(
1613
+ if (!f || c || q() && Ce || !i.isPersonCloseEnough || i.isPersonTooclose || !i.closedMouth || !i.isPersonInFrame) {
1614
+ t(9, H = !1), Te = !0, setTimeout(
1610
1615
  () => {
1611
- re = !1;
1616
+ Te = !1;
1612
1617
  },
1613
1618
  1500
1614
- ), clearInterval(P);
1619
+ ), clearInterval(y);
1615
1620
  return;
1616
1621
  }
1617
- const A = (/* @__PURE__ */ new Date()).getTime();
1618
- Math.floor((Ae - A) % (1e3 * 60) / 1e3) <= 0 && (clearInterval(P), t(9, z = !1), document.getElementsByTagName("biometric-collector")?.[0]?.shadowRoot?.getElementById("bry-cc-capture-btn")?.click());
1622
+ const S = (/* @__PURE__ */ new Date()).getTime();
1623
+ Math.floor((qe - S) % (1e3 * 60) / 1e3) <= 0 && (clearInterval(y), t(9, H = !1), document.getElementsByTagName("biometric-collector")?.[0]?.shadowRoot?.getElementById("bry-cc-capture-btn")?.click());
1619
1624
  },
1620
1625
  250
1621
1626
  );
1622
1627
  }
1623
- }), ul = et.subscribe((i) => {
1624
- F && (i ? (F.classList.remove("flex"), F.classList.add("hidden")) : (F.classList.add("flex"), F.classList.remove("hidden")));
1625
- }), dl = vt.subscribe((i) => {
1626
- I && i && (console.log("setting null in video srcObject"), t(2, I.srcObject = null, I), t(2, I.src = "", I));
1628
+ }), ul = lt.subscribe((i) => {
1629
+ we && (i ? (we.classList.remove("flex"), we.classList.add("hidden")) : (we.classList.add("flex"), we.classList.remove("hidden")));
1630
+ }), fl = vt.subscribe((i) => {
1631
+ P && i && (console.log("setting null in video srcObject"), t(2, P.srcObject = null, P), t(2, P.src = "", P));
1627
1632
  });
1628
1633
  Ct.subscribe(async (i) => {
1629
1634
  i === rt.Face && await jt();
1630
1635
  });
1631
- const fl = Et.subscribe(async (i) => {
1632
- if (Z() || !i)
1636
+ const dl = Et.subscribe(async (i) => {
1637
+ if (q() || !i)
1633
1638
  return;
1634
- I || t(10, he = {});
1635
- const { videoHeight: P, videoWidth: A } = n, M = await li(A, P, i);
1636
- t(2, I.srcObject = M, I), k(Ft, m = M, m), k(vt, f = !1, f);
1639
+ P || t(10, $ = {});
1640
+ const { videoHeight: y, videoWidth: S } = n, M = await li(S, y, i);
1641
+ t(2, P.srcObject = M, P), k(Ft, m = M, m), k(vt, d = !1, d);
1637
1642
  }), ml = Ct.subscribe(async (i) => {
1638
- i === rt.Face && Z() && !le && !c && Be && await v();
1639
- }), _l = We.subscribe(async (i) => {
1640
- i && xt();
1643
+ i === rt.Face && q() && !ge && !c && oe && await Oe();
1644
+ }), _l = de.subscribe(async (i) => {
1645
+ i && Dt();
1641
1646
  });
1642
- async function xt() {
1643
- const i = await ii(), P = await import("./face_api_0e3ce8c8_2.0.3.js");
1644
- let A;
1645
- A = P.detectSingleFace(H, i);
1646
- const M = await A.withFaceLandmarks();
1647
- ae.getContext("2d")?.clearRect(0, 0, ae.width, ae.height), M && si(M, ae, ue), a && Ge(I, xt);
1647
+ async function Dt() {
1648
+ const i = await ii(), y = await import("./face_api_0e3ce8c8_2.0.5.js");
1649
+ let S;
1650
+ S = y.detectSingleFace(K, i);
1651
+ const M = await S.withFaceLandmarks();
1652
+ le.getContext("2d")?.clearRect(0, 0, le.width, le.height), M && si(M, le, ke), a && Ye(P, Dt);
1648
1653
  }
1649
1654
  gt.subscribe(async (i) => {
1650
- i && (ze(), k(gt, s = !1, s));
1655
+ i && (Ze(), k(gt, s = !1, s));
1651
1656
  });
1652
1657
  const bl = ot.subscribe((i) => {
1653
1658
  i && window.dispatchEvent(new CustomEvent("brycc-camera-ready"));
1654
1659
  });
1655
1660
  ai(() => {
1656
- oi(), ul(), cl(), rl(), dl(), fl(), ml(), clearInterval(se), _l(), bl(), se = 0;
1661
+ oi(), ul(), cl(), rl(), fl(), dl(), ml(), clearInterval(ee), _l(), bl(), ee = 0;
1657
1662
  });
1658
1663
  function hl(i) {
1659
- Le[i ? "unshift" : "push"](() => {
1660
- V = i, t(0, V);
1664
+ ye[i ? "unshift" : "push"](() => {
1665
+ X = i, t(0, X);
1661
1666
  });
1662
1667
  }
1663
1668
  function pl(i) {
1664
- Le[i ? "unshift" : "push"](() => {
1665
- I = i, t(2, I);
1669
+ ye[i ? "unshift" : "push"](() => {
1670
+ P = i, t(2, P);
1666
1671
  });
1667
1672
  }
1668
1673
  const gl = () => {
1669
- Z() || k(
1670
- Xe,
1674
+ q() || k(
1675
+ Je,
1671
1676
  n = {
1672
- videoHeight: I.videoHeight,
1673
- videoWidth: I.videoWidth
1677
+ videoHeight: P.videoHeight,
1678
+ videoWidth: P.videoWidth
1674
1679
  },
1675
1680
  n
1676
1681
  );
1677
1682
  };
1678
1683
  function vl(i) {
1679
- Le[i ? "unshift" : "push"](() => {
1680
- H = i, t(12, H);
1684
+ ye[i ? "unshift" : "push"](() => {
1685
+ K = i, t(12, K);
1681
1686
  });
1682
1687
  }
1683
1688
  function wl(i) {
1684
- Le[i ? "unshift" : "push"](() => {
1685
- ae = i, t(3, ae);
1689
+ ye[i ? "unshift" : "push"](() => {
1690
+ le = i, t(3, le);
1686
1691
  });
1687
1692
  }
1688
1693
  function kl(i) {
1689
- Le[i ? "unshift" : "push"](() => {
1690
- Re = i, t(11, Re);
1694
+ ye[i ? "unshift" : "push"](() => {
1695
+ ie = i, t(11, ie);
1691
1696
  });
1692
1697
  }
1693
1698
  function Cl(i) {
1694
- Le[i ? "unshift" : "push"](() => {
1695
- Oe = i, t(4, Oe);
1699
+ ye[i ? "unshift" : "push"](() => {
1700
+ Pe = i, t(4, Pe);
1696
1701
  });
1697
1702
  }
1698
1703
  function El(i) {
1699
- Le[i ? "unshift" : "push"](() => {
1700
- j = i, t(5, j);
1704
+ ye[i ? "unshift" : "push"](() => {
1705
+ Y = i, t(5, Y);
1701
1706
  });
1702
1707
  }
1703
1708
  function Rl(i) {
1704
- Le[i ? "unshift" : "push"](() => {
1705
- ie = i, t(6, ie);
1709
+ ye[i ? "unshift" : "push"](() => {
1710
+ z = i, t(6, z);
1706
1711
  });
1707
1712
  }
1708
1713
  function Ll(i) {
1709
- Le[i ? "unshift" : "push"](() => {
1710
- be = i, t(7, be);
1714
+ ye[i ? "unshift" : "push"](() => {
1715
+ fe = i, t(7, fe);
1711
1716
  });
1712
1717
  }
1713
- const yl = () => qe(), Pl = () => it(), Ol = () => ze();
1714
- function Il(i) {
1715
- Le[i ? "unshift" : "push"](() => {
1716
- F = i, t(8, F);
1718
+ const yl = () => F(), Ol = () => De(), Il = () => Ze();
1719
+ function Pl(i) {
1720
+ ye[i ? "unshift" : "push"](() => {
1721
+ we = i, t(8, we);
1717
1722
  });
1718
1723
  }
1719
- const Al = () => it(), Sl = () => ze();
1724
+ const Sl = () => De(), Al = () => Ze();
1720
1725
  function Tl() {
1721
1726
  R = this.value, kt.set(R);
1722
1727
  }
1723
- const xl = () => it(), Dl = () => ze();
1728
+ const Dl = () => De(), xl = () => Ze();
1724
1729
  function Ml() {
1725
1730
  R = this.value, kt.set(R);
1726
1731
  }
1727
- const Nl = () => ze(), Fl = () => {
1728
- t(13, le = !0), v();
1732
+ const Nl = () => Ze(), Fl = () => {
1733
+ t(13, ge = !0), Oe();
1729
1734
  };
1730
1735
  return l.$$set = (i) => {
1731
- "enableMinutiae" in i && t(42, ue = i.enableMinutiae), "videoDimensions" in i && t(43, Ke = i.videoDimensions), "noTabs" in i && t(44, Ie = i.noTabs), "weightsPath" in i && t(45, de = i.weightsPath), "widgetInstance" in i && t(0, V = i.widgetInstance);
1736
+ "enableMinutiae" in i && t(42, ke = i.enableMinutiae), "videoDimensions" in i && t(43, pe = i.videoDimensions), "noTabs" in i && t(44, je = i.noTabs), "weightsPath" in i && t(45, Se = i.weightsPath), "widgetInstance" in i && t(0, X = i.widgetInstance);
1732
1737
  }, [
1733
- V,
1734
- D,
1735
- I,
1736
- ae,
1737
- Oe,
1738
- j,
1739
- ie,
1740
- be,
1741
- F,
1742
- z,
1743
- he,
1744
- Re,
1745
- H,
1738
+ X,
1739
+ v,
1740
+ P,
1746
1741
  le,
1747
- ye,
1748
- ne,
1742
+ Pe,
1749
1743
  Y,
1744
+ z,
1750
1745
  fe,
1746
+ we,
1747
+ H,
1748
+ $,
1749
+ ie,
1750
+ K,
1751
+ ge,
1752
+ Ue,
1753
+ Ce,
1754
+ me,
1755
+ B,
1751
1756
  c,
1752
1757
  n,
1753
1758
  g,
@@ -1756,26 +1761,26 @@ function Qi(l, e, t) {
1756
1761
  _,
1757
1762
  O,
1758
1763
  R,
1759
- E,
1764
+ C,
1760
1765
  U,
1766
+ ce,
1761
1767
  Q,
1762
- te,
1763
- X,
1764
- ke,
1765
- Ne,
1766
- Fe,
1767
- $e,
1768
- Ve,
1769
- We,
1770
- Ee,
1771
- v,
1772
- qe,
1773
- it,
1774
- ze,
1775
- ue,
1776
- Ke,
1777
- Ie,
1768
+ j,
1769
+ be,
1770
+ et,
1771
+ Be,
1772
+ He,
1773
+ tt,
1778
1774
  de,
1775
+ Ae,
1776
+ Oe,
1777
+ F,
1778
+ De,
1779
+ Ze,
1780
+ ke,
1781
+ pe,
1782
+ je,
1783
+ Se,
1779
1784
  hl,
1780
1785
  pl,
1781
1786
  gl,
@@ -1787,14 +1792,14 @@ function Qi(l, e, t) {
1787
1792
  Rl,
1788
1793
  Ll,
1789
1794
  yl,
1790
- Pl,
1791
1795
  Ol,
1792
1796
  Il,
1793
- Al,
1797
+ Pl,
1794
1798
  Sl,
1799
+ Al,
1795
1800
  Tl,
1796
- xl,
1797
1801
  Dl,
1802
+ xl,
1798
1803
  Ml,
1799
1804
  Nl,
1800
1805
  Fl
@@ -1811,7 +1816,7 @@ class Xi extends tl {
1811
1816
  },
1812
1817
  Qi,
1813
1818
  Zi,
1814
- Ot,
1819
+ It,
1815
1820
  {
1816
1821
  enableMinutiae: 42,
1817
1822
  videoDimensions: 43,
@@ -1822,7 +1827,7 @@ class Xi extends tl {
1822
1827
  },
1823
1828
  null,
1824
1829
  [-1, -1, -1, -1]
1825
- ), e && (e.target && p(e.target, this, e.anchor), e.props && (this.$set(e.props), Te()));
1830
+ ), e && (e.target && p(e.target, this, e.anchor), e.props && (this.$set(e.props), Me()));
1826
1831
  }
1827
1832
  static get observedAttributes() {
1828
1833
  return [
@@ -1838,31 +1843,31 @@ class Xi extends tl {
1838
1843
  return this.$$.ctx[42];
1839
1844
  }
1840
1845
  set enableMinutiae(e) {
1841
- this.$$set({ enableMinutiae: e }), Te();
1846
+ this.$$set({ enableMinutiae: e }), Me();
1842
1847
  }
1843
1848
  get videoDimensions() {
1844
1849
  return this.$$.ctx[43];
1845
1850
  }
1846
1851
  set videoDimensions(e) {
1847
- this.$$set({ videoDimensions: e }), Te();
1852
+ this.$$set({ videoDimensions: e }), Me();
1848
1853
  }
1849
1854
  get noTabs() {
1850
1855
  return this.$$.ctx[44];
1851
1856
  }
1852
1857
  set noTabs(e) {
1853
- this.$$set({ noTabs: e }), Te();
1858
+ this.$$set({ noTabs: e }), Me();
1854
1859
  }
1855
1860
  get weightsPath() {
1856
1861
  return this.$$.ctx[45];
1857
1862
  }
1858
1863
  set weightsPath(e) {
1859
- this.$$set({ weightsPath: e }), Te();
1864
+ this.$$set({ weightsPath: e }), Me();
1860
1865
  }
1861
1866
  get widgetInstance() {
1862
1867
  return this.$$.ctx[0];
1863
1868
  }
1864
1869
  set widgetInstance(e) {
1865
- this.$$set({ widgetInstance: e }), Te();
1870
+ this.$$set({ widgetInstance: e }), Me();
1866
1871
  }
1867
1872
  get play() {
1868
1873
  return this.$$.ctx[1];