bry-biometric-collector 2.4.0 → 2.4.1-RC02

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.
Files changed (22) hide show
  1. package/README.md +52 -8
  2. package/dist/DocumentCollector_5f82eb10_2.4.1-RC02.js +1121 -0
  3. package/dist/FaceCollector_dce93c4d_2.4.1-RC02.js +1992 -0
  4. package/dist/{TakePictureBtn_3c447bd3_2.4.0.js → TakePictureBtn_22c86e39_2.4.1-RC02.js} +93 -93
  5. package/dist/{___vite-browser-external_commonjs-proxy_12b6e368_2.4.0.js → ___vite-browser-external_commonjs-proxy_1b93077b_2.4.1-RC02.js} +1 -1
  6. package/dist/bry-biometric-collector-main.js +3 -2
  7. package/dist/{en-us_46a6e2d2_2.4.0.js → en-us_99b30d39_2.4.1-RC02.js} +2 -1
  8. package/dist/{es-cl_af82486d_2.4.0.js → es-cl_cfa50670_2.4.1-RC02.js} +7 -6
  9. package/dist/{fingersApi_8e2acbb1_2.4.0.js → fingersApi_5ac257a6_2.4.1-RC02.js} +5 -4
  10. package/dist/index.d.ts +0 -6
  11. package/dist/index.js +3 -2
  12. package/dist/{index_9664d71c_2.4.0.js → index_57e8f323_2.4.1-RC02.js} +7 -6
  13. package/dist/{index_898ffd1f_2.4.0.js → index_e8c1550c_2.4.1-RC02.js} +5 -4
  14. package/dist/{main_ade50a8c_2.4.0.js → main_37501062_2.4.1-RC02.js} +1292 -1272
  15. package/dist/{pt-br_b6088a59_2.4.0.js → pt-br_d5ca6103_2.4.1-RC02.js} +8 -7
  16. package/dist/style.css +1 -1
  17. package/package.json +2 -4
  18. package/dist/DocumentCollector_33be8c4f_2.4.0.js +0 -1249
  19. package/dist/FaceCollector_c6ab76c4_2.4.0.js +0 -1985
  20. /package/dist/{face_api_0e3ce8c8_2.4.0.js → face_api_0e3ce8c8_2.4.1-RC02.js} +0 -0
  21. /package/dist/{index-no-detector_4b302e78_2.4.0.js → index-no-detector_4b302e78_2.4.1-RC02.js} +0 -0
  22. /package/dist/{index-no-detector_b6972e40_2.4.0.js → index-no-detector_b6972e40_2.4.1-RC02.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { S as U, q as P, r as j, t as F, w as b, L as O, x as g, z, B as _, H as v, I as V, W, $ as K, ba as N, bb as Z, N as H, bc as B, O as E, y as A, bd as L, D as k, be as D, G as R, E as T, bf as Y, aR as J, C as I, aS as Q, P as X, R as y, aT as $, aK as q, Y as G, a0 as ee, K as te, b9 as le } from "./main_ade50a8c_2.4.0.js";
1
+ import { S as U, q as P, r as j, t as F, w as b, L as T, x as g, z as V, B as _, H as v, I as z, W as K, $ as W, bd as N, be as Z, N as O, bf as B, O as M, y as A, bg as L, D as k, bh as H, G as E, E as D, bi as Y, aU as J, C as I, aV as Q, P as X, R as y, aW as $, aN as q, Y as G, a0 as ee, K as te, bb as le } from "./main_37501062_2.4.1-RC02.js";
2
2
  function ae(i) {
3
3
  let e, a, n, s, l = (
4
4
  /*$_*/
@@ -19,13 +19,13 @@ function ae(i) {
19
19
  m = N(m, S[o]);
20
20
  return {
21
21
  c() {
22
- e = B("svg"), a = B("path"), n = E(), s = g("span"), c = A(l), u = E(), r = g("span"), w = A(h), _(a, "fill", "currentColor"), _(a, "d", "M9 1H3a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2m0 14H3V3h6zm12-2h-8v2h8v6H9v-1H6v1a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2m2-3l-4-2l1.91-.91A7.52 7.52 0 0 0 14 2.5V1a9 9 0 0 1 9 9"), L(e, m), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center");
22
+ e = B("svg"), a = B("path"), n = M(), s = g("span"), c = A(l), u = M(), r = g("span"), w = A(h), _(a, "fill", "currentColor"), _(a, "d", "M9 1H3a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2m0 14H3V3h6zm12-2h-8v2h8v6H9v-1H6v1a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2m2-3l-4-2l1.91-.91A7.52 7.52 0 0 0 14 2.5V1a9 9 0 0 1 9 9"), L(e, m), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center");
23
23
  },
24
24
  m(o, f) {
25
25
  b(o, e, f), k(e, a), b(o, n, f), b(o, s, f), k(s, c), b(o, u, f), b(o, r, f), k(r, w);
26
26
  },
27
27
  p(o, f) {
28
- L(e, m = D(S, [
28
+ L(e, m = H(S, [
29
29
  { class: "text-[8em] mx-auto" },
30
30
  { xmlns: "http://www.w3.org/2000/svg" },
31
31
  { width: "1em" },
@@ -36,9 +36,9 @@ function ae(i) {
36
36
  o[3]
37
37
  ])), f & /*$_*/
38
38
  4 && l !== (l = /*$_*/
39
- o[2]("cameraStatus.deviceMustBeInLandscape") + "") && R(c, l), f & /*$_*/
39
+ o[2]("cameraStatus.deviceMustBeInLandscape") + "") && E(c, l), f & /*$_*/
40
40
  4 && h !== (h = /*$_*/
41
- o[2]("cameraStatus.rotateDevice") + "") && R(w, h);
41
+ o[2]("cameraStatus.rotateDevice") + "") && E(w, h);
42
42
  },
43
43
  d(o) {
44
44
  o && v(e), o && v(n), o && v(s), o && v(u), o && v(r);
@@ -65,13 +65,13 @@ function se(i) {
65
65
  m = N(m, S[o]);
66
66
  return {
67
67
  c() {
68
- e = B("svg"), a = B("path"), n = E(), s = g("span"), c = A(l), u = E(), r = g("span"), w = A(h), _(a, "fill", "currentColor"), _(a, "d", "M9 1H3a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h1v-3H3V3h6v8h2V3a2 2 0 0 0-2-2m14 20v-6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2M9 21v-6h12v6zm14-11h-1.5c0-3-1.81-5.73-4.58-6.91L16 5l-2-4a9 9 0 0 1 9 9"), L(e, m), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center");
68
+ e = B("svg"), a = B("path"), n = M(), s = g("span"), c = A(l), u = M(), r = g("span"), w = A(h), _(a, "fill", "currentColor"), _(a, "d", "M9 1H3a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h1v-3H3V3h6v8h2V3a2 2 0 0 0-2-2m14 20v-6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2M9 21v-6h12v6zm14-11h-1.5c0-3-1.81-5.73-4.58-6.91L16 5l-2-4a9 9 0 0 1 9 9"), L(e, m), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center");
69
69
  },
70
70
  m(o, f) {
71
71
  b(o, e, f), k(e, a), b(o, n, f), b(o, s, f), k(s, c), b(o, u, f), b(o, r, f), k(r, w);
72
72
  },
73
73
  p(o, f) {
74
- L(e, m = D(S, [
74
+ L(e, m = H(S, [
75
75
  { class: "text-[8em] mx-auto" },
76
76
  { xmlns: "http://www.w3.org/2000/svg" },
77
77
  { width: "1em" },
@@ -82,9 +82,9 @@ function se(i) {
82
82
  o[3]
83
83
  ])), f & /*$_*/
84
84
  4 && l !== (l = /*$_*/
85
- o[2]("cameraStatus.deviceMustBeInPortrait") + "") && R(c, l), f & /*$_*/
85
+ o[2]("cameraStatus.deviceMustBeInPortrait") + "") && E(c, l), f & /*$_*/
86
86
  4 && h !== (h = /*$_*/
87
- o[2]("cameraStatus.rotateDevice") + "") && R(w, h);
87
+ o[2]("cameraStatus.rotateDevice") + "") && E(w, h);
88
88
  },
89
89
  d(o) {
90
90
  o && v(e), o && v(n), o && v(s), o && v(u), o && v(r);
@@ -111,10 +111,10 @@ function ie(i) {
111
111
  f = N(f, o[p]);
112
112
  return {
113
113
  c() {
114
- e = B("svg"), a = B("path"), n = E(), s = g("span"), c = A(l), u = E(), r = g("button"), w = A(h), _(a, "fill", "currentColor"), _(a, "d", "M16 2H8a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3m1 17a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-1h10Zm-5-5a3 3 0 0 1 2.82 2H9.18A3 3 0 0 1 12 14m-1-3a1 1 0 1 1 1 1a1 1 0 0 1-1-1m6 5h-.1a5 5 0 0 0-2.42-3.32A3 3 0 0 0 15 11a3 3 0 0 0-6 0a3 3 0 0 0 .52 1.68A5 5 0 0 0 7.1 16H7V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1ZM12 5a1 1 0 1 0 1 1a1 1 0 0 0-1-1"), L(e, f), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
114
+ e = B("svg"), a = B("path"), n = M(), s = g("span"), c = A(l), u = M(), r = g("button"), w = A(h), _(a, "fill", "currentColor"), _(a, "d", "M16 2H8a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3m1 17a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-1h10Zm-5-5a3 3 0 0 1 2.82 2H9.18A3 3 0 0 1 12 14m-1-3a1 1 0 1 1 1 1a1 1 0 0 1-1-1m6 5h-.1a5 5 0 0 0-2.42-3.32A3 3 0 0 0 15 11a3 3 0 0 0-6 0a3 3 0 0 0 .52 1.68A5 5 0 0 0 7.1 16H7V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1ZM12 5a1 1 0 1 0 1 1a1 1 0 0 0-1-1"), L(e, f), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
115
115
  },
116
116
  m(p, C) {
117
- b(p, e, C), k(e, a), b(p, n, C), b(p, s, C), k(s, c), b(p, u, C), b(p, r, C), k(r, w), S || (m = T(
117
+ b(p, e, C), k(e, a), b(p, n, C), b(p, s, C), k(s, c), b(p, u, C), b(p, r, C), k(r, w), S || (m = D(
118
118
  r,
119
119
  "click",
120
120
  /*click_handler_5*/
@@ -122,7 +122,7 @@ function ie(i) {
122
122
  ), S = !0);
123
123
  },
124
124
  p(p, C) {
125
- L(e, f = D(o, [
125
+ L(e, f = H(o, [
126
126
  { class: "text-[8em] mx-auto" },
127
127
  { xmlns: "http://www.w3.org/2000/svg" },
128
128
  { width: "1em" },
@@ -133,9 +133,9 @@ function ie(i) {
133
133
  p[3]
134
134
  ])), C & /*$_*/
135
135
  4 && l !== (l = /*$_*/
136
- p[2]("cameraStatus.biometricCapture") + "") && R(c, l), C & /*$_*/
136
+ p[2]("cameraStatus.biometricCapture") + "") && E(c, l), C & /*$_*/
137
137
  4 && h !== (h = /*$_*/
138
- p[2]("cameraStatus.startCapture") + "") && R(w, h);
138
+ p[2]("cameraStatus.startCapture") + "") && E(w, h);
139
139
  },
140
140
  d(p) {
141
141
  p && v(e), p && v(n), p && v(s), p && v(u), p && v(r), S = !1, m();
@@ -152,7 +152,7 @@ function ue(i) {
152
152
  ), w, S, m, o = (
153
153
  /*$_*/
154
154
  i[2]("cameraStatus.restart") + ""
155
- ), f, p, C, M = [
155
+ ), f, p, C, R = [
156
156
  { class: "text-[8em] mx-auto" },
157
157
  { xmlns: "http://www.w3.org/2000/svg" },
158
158
  { width: "1em" },
@@ -161,14 +161,14 @@ function ue(i) {
161
161
  /*$$props*/
162
162
  i[3]
163
163
  ], x = {};
164
- for (let t = 0; t < M.length; t += 1)
165
- x = N(x, M[t]);
164
+ for (let t = 0; t < R.length; t += 1)
165
+ x = N(x, R[t]);
166
166
  return {
167
167
  c() {
168
- e = B("svg"), a = B("path"), n = E(), s = g("span"), c = A(l), u = E(), r = g("span"), w = A(h), S = E(), m = g("button"), f = A(o), _(a, "fill", "currentColor"), _(a, "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"), L(e, x), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center"), _(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
168
+ e = B("svg"), a = B("path"), n = M(), s = g("span"), c = A(l), u = M(), r = g("span"), w = A(h), S = M(), m = g("button"), f = A(o), _(a, "fill", "currentColor"), _(a, "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"), L(e, x), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center"), _(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
169
169
  },
170
170
  m(t, d) {
171
- b(t, e, d), k(e, a), b(t, n, d), b(t, s, d), k(s, c), b(t, u, d), b(t, r, d), k(r, w), b(t, S, d), b(t, m, d), k(m, f), p || (C = T(
171
+ b(t, e, d), k(e, a), b(t, n, d), b(t, s, d), k(s, c), b(t, u, d), b(t, r, d), k(r, w), b(t, S, d), b(t, m, d), k(m, f), p || (C = D(
172
172
  m,
173
173
  "click",
174
174
  /*click_handler_4*/
@@ -176,7 +176,7 @@ function ue(i) {
176
176
  ), p = !0);
177
177
  },
178
178
  p(t, d) {
179
- L(e, x = D(M, [
179
+ L(e, x = H(R, [
180
180
  { class: "text-[8em] mx-auto" },
181
181
  { xmlns: "http://www.w3.org/2000/svg" },
182
182
  { width: "1em" },
@@ -187,11 +187,11 @@ function ue(i) {
187
187
  t[3]
188
188
  ])), d & /*$_*/
189
189
  4 && l !== (l = /*$_*/
190
- t[2]("cameraStatus.cameraNotSupported") + "") && R(c, l), d & /*$_*/
190
+ t[2]("cameraStatus.cameraNotSupported") + "") && E(c, l), d & /*$_*/
191
191
  4 && h !== (h = /*$_*/
192
- t[2]("cameraStatus.connectAnotherCamera") + "") && R(w, h), d & /*$_*/
192
+ t[2]("cameraStatus.connectAnotherCamera") + "") && E(w, h), d & /*$_*/
193
193
  4 && o !== (o = /*$_*/
194
- t[2]("cameraStatus.restart") + "") && R(f, o);
194
+ t[2]("cameraStatus.restart") + "") && E(f, o);
195
195
  },
196
196
  d(t) {
197
197
  t && v(e), t && v(n), t && v(s), t && v(u), t && v(r), t && v(S), t && v(m), p = !1, C();
@@ -208,7 +208,7 @@ function re(i) {
208
208
  ), w, S, m, o = (
209
209
  /*$_*/
210
210
  i[2]("cameraStatus.restart") + ""
211
- ), f, p, C, M = [
211
+ ), f, p, C, R = [
212
212
  { class: "text-[8em] mx-auto" },
213
213
  { xmlns: "http://www.w3.org/2000/svg" },
214
214
  { width: "1em" },
@@ -217,14 +217,14 @@ function re(i) {
217
217
  /*$$props*/
218
218
  i[3]
219
219
  ], x = {};
220
- for (let t = 0; t < M.length; t += 1)
221
- x = N(x, M[t]);
220
+ for (let t = 0; t < R.length; t += 1)
221
+ x = N(x, R[t]);
222
222
  return {
223
223
  c() {
224
- e = B("svg"), a = B("path"), n = E(), s = g("span"), c = A(l), u = E(), r = g("span"), w = A(h), S = E(), m = g("button"), f = A(o), _(a, "fill", "currentColor"), _(a, "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"), L(e, x), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center"), _(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
224
+ e = B("svg"), a = B("path"), n = M(), s = g("span"), c = A(l), u = M(), r = g("span"), w = A(h), S = M(), m = g("button"), f = A(o), _(a, "fill", "currentColor"), _(a, "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"), L(e, x), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center"), _(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
225
225
  },
226
226
  m(t, d) {
227
- b(t, e, d), k(e, a), b(t, n, d), b(t, s, d), k(s, c), b(t, u, d), b(t, r, d), k(r, w), b(t, S, d), b(t, m, d), k(m, f), p || (C = T(
227
+ b(t, e, d), k(e, a), b(t, n, d), b(t, s, d), k(s, c), b(t, u, d), b(t, r, d), k(r, w), b(t, S, d), b(t, m, d), k(m, f), p || (C = D(
228
228
  m,
229
229
  "click",
230
230
  /*click_handler_3*/
@@ -232,7 +232,7 @@ function re(i) {
232
232
  ), p = !0);
233
233
  },
234
234
  p(t, d) {
235
- L(e, x = D(M, [
235
+ L(e, x = H(R, [
236
236
  { class: "text-[8em] mx-auto" },
237
237
  { xmlns: "http://www.w3.org/2000/svg" },
238
238
  { width: "1em" },
@@ -243,11 +243,11 @@ function re(i) {
243
243
  t[3]
244
244
  ])), d & /*$_*/
245
245
  4 && l !== (l = /*$_*/
246
- t[2]("cameraStatus.stayOnSameTab") + "") && R(c, l), d & /*$_*/
246
+ t[2]("cameraStatus.stayOnSameTab") + "") && E(c, l), d & /*$_*/
247
247
  4 && h !== (h = /*$_*/
248
- t[2]("cameraStatus.clickRestartToRecapture") + "") && R(w, h), d & /*$_*/
248
+ t[2]("cameraStatus.clickRestartToRecapture") + "") && E(w, h), d & /*$_*/
249
249
  4 && o !== (o = /*$_*/
250
- t[2]("cameraStatus.restart") + "") && R(f, o);
250
+ t[2]("cameraStatus.restart") + "") && E(f, o);
251
251
  },
252
252
  d(t) {
253
253
  t && v(e), t && v(n), t && v(s), t && v(u), t && v(r), t && v(S), t && v(m), p = !1, C();
@@ -264,7 +264,7 @@ function ne(i) {
264
264
  ), w, S, m, o = (
265
265
  /*$_*/
266
266
  i[2]("cameraStatus.restart") + ""
267
- ), f, p, C, M = [
267
+ ), f, p, C, R = [
268
268
  { class: "text-[8em] mx-auto" },
269
269
  { xmlns: "http://www.w3.org/2000/svg" },
270
270
  { width: "1em" },
@@ -273,14 +273,14 @@ function ne(i) {
273
273
  /*$$props*/
274
274
  i[3]
275
275
  ], x = {};
276
- for (let t = 0; t < M.length; t += 1)
277
- x = N(x, M[t]);
276
+ for (let t = 0; t < R.length; t += 1)
277
+ x = N(x, R[t]);
278
278
  return {
279
279
  c() {
280
- e = B("svg"), a = B("path"), n = E(), s = g("span"), c = A(l), u = E(), r = g("span"), w = A(h), S = E(), m = g("button"), f = A(o), _(a, "fill", "currentColor"), _(a, "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"), L(e, x), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center"), _(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
280
+ e = B("svg"), a = B("path"), n = M(), s = g("span"), c = A(l), u = M(), r = g("span"), w = A(h), S = M(), m = g("button"), f = A(o), _(a, "fill", "currentColor"), _(a, "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"), L(e, x), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center"), _(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
281
281
  },
282
282
  m(t, d) {
283
- b(t, e, d), k(e, a), b(t, n, d), b(t, s, d), k(s, c), b(t, u, d), b(t, r, d), k(r, w), b(t, S, d), b(t, m, d), k(m, f), p || (C = T(
283
+ b(t, e, d), k(e, a), b(t, n, d), b(t, s, d), k(s, c), b(t, u, d), b(t, r, d), k(r, w), b(t, S, d), b(t, m, d), k(m, f), p || (C = D(
284
284
  m,
285
285
  "click",
286
286
  /*click_handler_2*/
@@ -288,7 +288,7 @@ function ne(i) {
288
288
  ), p = !0);
289
289
  },
290
290
  p(t, d) {
291
- L(e, x = D(M, [
291
+ L(e, x = H(R, [
292
292
  { class: "text-[8em] mx-auto" },
293
293
  { xmlns: "http://www.w3.org/2000/svg" },
294
294
  { width: "1em" },
@@ -299,11 +299,11 @@ function ne(i) {
299
299
  t[3]
300
300
  ])), d & /*$_*/
301
301
  4 && l !== (l = /*$_*/
302
- t[2]("cameraStatus.cameraInUse") + "") && R(c, l), d & /*$_*/
302
+ t[2]("cameraStatus.cameraInUse") + "") && E(c, l), d & /*$_*/
303
303
  4 && h !== (h = /*$_*/
304
- t[2]("cameraStatus.ensureCameraNotInUse") + "") && R(w, h), d & /*$_*/
304
+ t[2]("cameraStatus.ensureCameraNotInUse") + "") && E(w, h), d & /*$_*/
305
305
  4 && o !== (o = /*$_*/
306
- t[2]("cameraStatus.restart") + "") && R(f, o);
306
+ t[2]("cameraStatus.restart") + "") && E(f, o);
307
307
  },
308
308
  d(t) {
309
309
  t && v(e), t && v(n), t && v(s), t && v(u), t && v(r), t && v(S), t && v(m), p = !1, C();
@@ -320,7 +320,7 @@ function oe(i) {
320
320
  ), w, S, m, o = (
321
321
  /*$_*/
322
322
  i[2]("cameraStatus.restart") + ""
323
- ), f, p, C, M = [
323
+ ), f, p, C, R = [
324
324
  { class: "text-[8em] mx-auto" },
325
325
  { xmlns: "http://www.w3.org/2000/svg" },
326
326
  { width: "1em" },
@@ -329,14 +329,14 @@ function oe(i) {
329
329
  /*$$props*/
330
330
  i[3]
331
331
  ], x = {};
332
- for (let t = 0; t < M.length; t += 1)
333
- x = N(x, M[t]);
332
+ for (let t = 0; t < R.length; t += 1)
333
+ x = N(x, R[t]);
334
334
  return {
335
335
  c() {
336
- e = B("svg"), a = B("path"), n = E(), s = g("span"), c = A(l), u = E(), r = g("span"), w = A(h), S = E(), m = g("button"), f = A(o), _(a, "fill", "currentColor"), _(a, "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"), L(e, x), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center"), _(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
336
+ e = B("svg"), a = B("path"), n = M(), s = g("span"), c = A(l), u = M(), r = g("span"), w = A(h), S = M(), m = g("button"), f = A(o), _(a, "fill", "currentColor"), _(a, "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"), L(e, x), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center"), _(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
337
337
  },
338
338
  m(t, d) {
339
- b(t, e, d), k(e, a), b(t, n, d), b(t, s, d), k(s, c), b(t, u, d), b(t, r, d), k(r, w), b(t, S, d), b(t, m, d), k(m, f), p || (C = T(
339
+ b(t, e, d), k(e, a), b(t, n, d), b(t, s, d), k(s, c), b(t, u, d), b(t, r, d), k(r, w), b(t, S, d), b(t, m, d), k(m, f), p || (C = D(
340
340
  m,
341
341
  "click",
342
342
  /*click_handler_1*/
@@ -344,7 +344,7 @@ function oe(i) {
344
344
  ), p = !0);
345
345
  },
346
346
  p(t, d) {
347
- L(e, x = D(M, [
347
+ L(e, x = H(R, [
348
348
  { class: "text-[8em] mx-auto" },
349
349
  { xmlns: "http://www.w3.org/2000/svg" },
350
350
  { width: "1em" },
@@ -355,11 +355,11 @@ function oe(i) {
355
355
  t[3]
356
356
  ])), d & /*$_*/
357
357
  4 && l !== (l = /*$_*/
358
- t[2]("cameraStatus.cameraNotDetected") + "") && R(c, l), d & /*$_*/
358
+ t[2]("cameraStatus.cameraNotDetected") + "") && E(c, l), d & /*$_*/
359
359
  4 && h !== (h = /*$_*/
360
- t[2]("cameraStatus.connectCameraAndRestart") + "") && R(w, h), d & /*$_*/
360
+ t[2]("cameraStatus.connectCameraAndRestart") + "") && E(w, h), d & /*$_*/
361
361
  4 && o !== (o = /*$_*/
362
- t[2]("cameraStatus.restart") + "") && R(f, o);
362
+ t[2]("cameraStatus.restart") + "") && E(f, o);
363
363
  },
364
364
  d(t) {
365
365
  t && v(e), t && v(n), t && v(s), t && v(u), t && v(r), t && v(S), t && v(m), p = !1, C();
@@ -376,7 +376,7 @@ function me(i) {
376
376
  ), w, S, m, o = (
377
377
  /*$_*/
378
378
  i[2]("cameraStatus.restart") + ""
379
- ), f, p, C, M = [
379
+ ), f, p, C, R = [
380
380
  { class: "text-[8em] mx-auto" },
381
381
  { xmlns: "http://www.w3.org/2000/svg" },
382
382
  { width: "1em" },
@@ -385,14 +385,14 @@ function me(i) {
385
385
  /*$$props*/
386
386
  i[3]
387
387
  ], x = {};
388
- for (let t = 0; t < M.length; t += 1)
389
- x = N(x, M[t]);
388
+ for (let t = 0; t < R.length; t += 1)
389
+ x = N(x, R[t]);
390
390
  return {
391
391
  c() {
392
- e = B("svg"), a = B("path"), n = E(), s = g("span"), c = A(l), u = E(), r = g("span"), w = A(h), S = E(), m = g("button"), f = A(o), _(a, "fill", "currentColor"), _(a, "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"), L(e, x), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center"), _(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
392
+ e = B("svg"), a = B("path"), n = M(), s = g("span"), c = A(l), u = M(), r = g("span"), w = A(h), S = M(), m = g("button"), f = A(o), _(a, "fill", "currentColor"), _(a, "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"), L(e, x), _(s, "class", "text-xl font-bold text-center"), _(r, "class", "m-auto text-base block text-center"), _(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
393
393
  },
394
394
  m(t, d) {
395
- b(t, e, d), k(e, a), b(t, n, d), b(t, s, d), k(s, c), b(t, u, d), b(t, r, d), k(r, w), b(t, S, d), b(t, m, d), k(m, f), p || (C = T(
395
+ b(t, e, d), k(e, a), b(t, n, d), b(t, s, d), k(s, c), b(t, u, d), b(t, r, d), k(r, w), b(t, S, d), b(t, m, d), k(m, f), p || (C = D(
396
396
  m,
397
397
  "click",
398
398
  /*click_handler*/
@@ -400,7 +400,7 @@ function me(i) {
400
400
  ), p = !0);
401
401
  },
402
402
  p(t, d) {
403
- L(e, x = D(M, [
403
+ L(e, x = H(R, [
404
404
  { class: "text-[8em] mx-auto" },
405
405
  { xmlns: "http://www.w3.org/2000/svg" },
406
406
  { width: "1em" },
@@ -411,11 +411,11 @@ function me(i) {
411
411
  t[3]
412
412
  ])), d & /*$_*/
413
413
  4 && l !== (l = /*$_*/
414
- t[2]("cameraStatus.cameraPermission") + "") && R(c, l), d & /*$_*/
414
+ t[2]("cameraStatus.cameraPermission") + "") && E(c, l), d & /*$_*/
415
415
  4 && h !== (h = /*$_*/
416
- t[2]("cameraStatus.clickRestartButton") + "") && R(w, h), d & /*$_*/
416
+ t[2]("cameraStatus.clickRestartButton") + "") && E(w, h), d & /*$_*/
417
417
  4 && o !== (o = /*$_*/
418
- t[2]("cameraStatus.restart") + "") && R(f, o);
418
+ t[2]("cameraStatus.restart") + "") && E(f, o);
419
419
  },
420
420
  d(t) {
421
421
  t && v(e), t && v(n), t && v(s), t && v(u), t && v(r), t && v(S), t && v(m), p = !1, C();
@@ -427,49 +427,49 @@ function ce(i) {
427
427
  function a(l, c) {
428
428
  if (
429
429
  /*$cameraStatusStore*/
430
- l[1] === H.CAMERA_DENIED_ERROR
430
+ l[1] === O.CAMERA_DENIED_ERROR
431
431
  )
432
432
  return me;
433
433
  if (
434
434
  /*$cameraStatusStore*/
435
- l[1] === H.DEVICE_NOT_FOUND_ERROR
435
+ l[1] === O.DEVICE_NOT_FOUND_ERROR
436
436
  )
437
437
  return oe;
438
438
  if (
439
439
  /*$cameraStatusStore*/
440
- l[1] === H.CAMERA_IN_USE_ERROR
440
+ l[1] === O.CAMERA_IN_USE_ERROR
441
441
  )
442
442
  return ne;
443
443
  if (
444
444
  /*$cameraStatusStore*/
445
- l[1] === H.CAMERA_CLOSED_ERROR
445
+ l[1] === O.CAMERA_CLOSED_ERROR
446
446
  )
447
447
  return re;
448
448
  if (
449
449
  /*$cameraStatusStore*/
450
- l[1] === H.CAMERA_UNSUPPORTED
450
+ l[1] === O.CAMERA_UNSUPPORTED
451
451
  )
452
452
  return ue;
453
453
  if (
454
454
  /*$cameraStatusStore*/
455
- l[1] === H.CAMERA_NOT_STARTED
455
+ l[1] === O.CAMERA_NOT_STARTED
456
456
  )
457
457
  return ie;
458
458
  if (
459
459
  /*$cameraStatusStore*/
460
- l[1] === H.CAMERA_ORIENTATION_PORTRAIT
460
+ l[1] === O.CAMERA_ORIENTATION_PORTRAIT
461
461
  )
462
462
  return se;
463
463
  if (
464
464
  /*$cameraStatusStore*/
465
- l[1] === H.CAMERA_ORIENTATION_LANDSCAPE
465
+ l[1] === O.CAMERA_ORIENTATION_LANDSCAPE
466
466
  )
467
467
  return ae;
468
468
  }
469
469
  let n = a(i), s = n && n(i);
470
470
  return {
471
471
  c() {
472
- e = g("div"), s && s.c(), this.c = z, _(e, "class", "flex flex-col gap-4 justify-center items-center relative overflow-visible p-4");
472
+ e = g("div"), s && s.c(), this.c = V, _(e, "class", "flex flex-col gap-4 justify-center items-center relative overflow-visible p-4");
473
473
  },
474
474
  m(l, c) {
475
475
  b(l, e, c), s && s.m(e, null);
@@ -477,8 +477,8 @@ function ce(i) {
477
477
  p(l, [c]) {
478
478
  n === (n = a(l)) && s ? s.p(l, c) : (s && s.d(1), s = n && n(l), s && (s.c(), s.m(e, null)));
479
479
  },
480
- i: z,
481
- o: z,
480
+ i: V,
481
+ o: V,
482
482
  d(l) {
483
483
  l && v(e), s && s.d();
484
484
  }
@@ -486,7 +486,7 @@ function ce(i) {
486
486
  }
487
487
  function fe(i, e, a) {
488
488
  let n, s;
489
- V(i, W, (m) => a(1, n = m)), V(i, K, (m) => a(2, s = m));
489
+ z(i, K, (m) => a(1, n = m)), z(i, W, (m) => a(2, s = m));
490
490
  let { handler: l = () => {
491
491
  } } = e;
492
492
  const c = () => {
@@ -531,7 +531,7 @@ class de extends U {
531
531
  j,
532
532
  { handler: 0 },
533
533
  null
534
- ), e && (e.target && b(e.target, this, e.anchor), e.props && (this.$set(e.props), O()));
534
+ ), e && (e.target && b(e.target, this, e.anchor), e.props && (this.$set(e.props), T()));
535
535
  }
536
536
  static get observedAttributes() {
537
537
  return ["handler"];
@@ -540,7 +540,7 @@ class de extends U {
540
540
  return this.$$.ctx[0];
541
541
  }
542
542
  set handler(e) {
543
- this.$$set({ handler: e }), O();
543
+ this.$$set({ handler: e }), T();
544
544
  }
545
545
  }
546
546
  customElements.define("camera-status", de);
@@ -559,13 +559,13 @@ function be(i) {
559
559
  o = N(o, m[f]);
560
560
  return {
561
561
  c() {
562
- J(e.$$.fragment), a = E(), n = g("div"), s = g("label"), l = B("svg"), c = B("path"), this.c = z, _(c, "fill", "hsl(var(--n))"), _(c, "d", "M208 56h-27.72l-13.63-20.44A8 8 0 0 0 160 32H96a8 8 0 0 0-6.65 3.56L75.71 56H48a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h160a24 24 0 0 0 24-24V80a24 24 0 0 0-24-24m-51.19 110.4A48.21 48.21 0 0 1 96 163.77V168a8 8 0 0 1-16 0v-24a8 8 0 0 1 8-8h24a8 8 0 0 1 0 16h-5.15a32.12 32.12 0 0 0 40.34 1.61a8 8 0 0 1 9.62 12.79M176 120a8 8 0 0 1-8 8h-24a8 8 0 0 1 0-16h5.15a32.12 32.12 0 0 0-40.34-1.61a8 8 0 0 1-9.62-12.79a48.21 48.21 0 0 1 60.81 2.63V96a8 8 0 0 1 16 0Z"), L(l, o), _(s, "tabindex", "0"), s.hidden = u = /*$cameraDevicesStore*/
562
+ J(e.$$.fragment), a = M(), n = g("div"), s = g("label"), l = B("svg"), c = B("path"), this.c = V, _(c, "fill", "hsl(var(--n))"), _(c, "d", "M208 56h-27.72l-13.63-20.44A8 8 0 0 0 160 32H96a8 8 0 0 0-6.65 3.56L75.71 56H48a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h160a24 24 0 0 0 24-24V80a24 24 0 0 0-24-24m-51.19 110.4A48.21 48.21 0 0 1 96 163.77V168a8 8 0 0 1-16 0v-24a8 8 0 0 1 8-8h24a8 8 0 0 1 0 16h-5.15a32.12 32.12 0 0 0 40.34 1.61a8 8 0 0 1 9.62 12.79M176 120a8 8 0 0 1-8 8h-24a8 8 0 0 1 0-16h5.15a32.12 32.12 0 0 0-40.34-1.61a8 8 0 0 1-9.62-12.79a48.21 48.21 0 0 1 60.81 2.63V96a8 8 0 0 1 16 0Z"), L(l, o), _(s, "tabindex", "0"), s.hidden = u = /*$cameraDevicesStore*/
563
563
  i[2].length <= 1, _(s, "class", "ce-dui-btn ce-dui-btn-ghost"), _(n, "class", r = I() && /*$collectorSelect*/
564
564
  i[1] == "DOCUMENT" || I() && /*$collectorSelect*/
565
565
  i[1] == "FACE" ? "absolute z-20 right-2 sm:block bottom-[15%]" : "absolute z-20 right-2 sm:block bottom-2");
566
566
  },
567
567
  m(f, p) {
568
- Q(e, f, p), b(f, a, p), b(f, n, p), k(n, s), k(s, l), k(l, c), h = !0, w || (S = T(
568
+ Q(e, f, p), b(f, a, p), b(f, n, p), k(n, s), k(s, l), k(l, c), h = !0, w || (S = D(
569
569
  n,
570
570
  "click",
571
571
  /*click_handler*/
@@ -573,7 +573,7 @@ function be(i) {
573
573
  ), w = !0);
574
574
  },
575
575
  p(f, [p]) {
576
- L(l, o = D(m, [
576
+ L(l, o = H(m, [
577
577
  { xmlns: "http://www.w3.org/2000/svg" },
578
578
  { width: "2em" },
579
579
  { height: "2em" },
@@ -601,7 +601,7 @@ function be(i) {
601
601
  }
602
602
  function ve(i, e, a) {
603
603
  let n, s, l;
604
- V(i, q, (u) => a(0, n = u)), V(i, G, (u) => a(1, s = u)), V(i, ee, (u) => a(2, l = u));
604
+ z(i, q, (u) => a(0, n = u)), z(i, G, (u) => a(1, s = u)), z(i, ee, (u) => a(2, l = u));
605
605
  const c = () => {
606
606
  te(q, n = !n, n);
607
607
  };
@@ -623,7 +623,7 @@ class _e extends U {
623
623
  j,
624
624
  {},
625
625
  null
626
- ), e && (e.target && b(e.target, this, e.anchor), e.props && (this.$set(e.props), O()));
626
+ ), e && (e.target && b(e.target, this, e.anchor), e.props && (this.$set(e.props), T()));
627
627
  }
628
628
  }
629
629
  customElements.define("camera-btn", _e);
@@ -644,7 +644,7 @@ function he(i) {
644
644
  i[3], _(a, "class", I() ? "ce-dui-btn ce-dui-btn-primary text-xl pb-[2px] absolute z-20 bottom-[15%]" : "ce-dui-btn ce-dui-btn-primary text-xl pb-[2px] absolute z-20 bottom-2"), _(e, "class", "flex justify-center items-center");
645
645
  },
646
646
  m(u, r) {
647
- b(u, e, r), k(e, a), k(a, s), l || (c = T(
647
+ b(u, e, r), k(e, a), k(a, s), l || (c = D(
648
648
  a,
649
649
  "click",
650
650
  /*click_handler_2*/
@@ -654,7 +654,7 @@ function he(i) {
654
654
  p(u, r) {
655
655
  r & /*$_*/
656
656
  32 && n !== (n = /*$_*/
657
- u[5]("faceCollector.capture") + "") && R(s, n), r & /*id*/
657
+ u[5]("faceCollector.capture") + "") && E(s, n), r & /*id*/
658
658
  2 && _(
659
659
  a,
660
660
  "id",
@@ -688,7 +688,7 @@ function pe(i) {
688
688
  i[3], _(a, "class", "ce-dui-btn ce-dui-btn-primary text-xl pb-[2px] absolute z-10 bottom-2"), _(e, "class", "flex justify-center items-center");
689
689
  },
690
690
  m(u, r) {
691
- b(u, e, r), k(e, a), k(a, s), l || (c = T(
691
+ b(u, e, r), k(e, a), k(a, s), l || (c = D(
692
692
  a,
693
693
  "click",
694
694
  /*click_handler_1*/
@@ -698,7 +698,7 @@ function pe(i) {
698
698
  p(u, r) {
699
699
  r & /*$_*/
700
700
  32 && n !== (n = /*$_*/
701
- u[5]("docCollector.capture") + "") && R(s, n), r & /*id*/
701
+ u[5]("docCollector.capture") + "") && E(s, n), r & /*id*/
702
702
  2 && _(
703
703
  a,
704
704
  "id",
@@ -732,7 +732,7 @@ function we(i) {
732
732
  i[3], _(a, "class", "ce-dui-btn ce-dui-btn-primary text-xl pb-[2px] absolute z-10 bottom-[15%]"), _(e, "class", "flex justify-center items-center");
733
733
  },
734
734
  m(u, r) {
735
- b(u, e, r), k(e, a), k(a, s), l || (c = T(
735
+ b(u, e, r), k(e, a), k(a, s), l || (c = D(
736
736
  a,
737
737
  "click",
738
738
  /*click_handler*/
@@ -742,7 +742,7 @@ function we(i) {
742
742
  p(u, r) {
743
743
  r & /*$_*/
744
744
  32 && n !== (n = /*$_*/
745
- u[5]("docCollector.capture") + "") && R(s, n), r & /*id*/
745
+ u[5]("docCollector.capture") + "") && E(s, n), r & /*id*/
746
746
  2 && _(
747
747
  a,
748
748
  "id",
@@ -772,7 +772,7 @@ function Se(i) {
772
772
  let s = n(i, -1), l = s(i);
773
773
  return {
774
774
  c() {
775
- l.c(), a = le(), this.c = z;
775
+ l.c(), a = le(), this.c = V;
776
776
  },
777
777
  m(c, u) {
778
778
  l.m(c, u), b(c, a, u);
@@ -780,8 +780,8 @@ function Se(i) {
780
780
  p(c, [u]) {
781
781
  s === (s = n(c, u)) && l ? l.p(c, u) : (l.d(1), l = s(c), l && (l.c(), l.m(a.parentNode, a)));
782
782
  },
783
- i: z,
784
- o: z,
783
+ i: V,
784
+ o: V,
785
785
  d(c) {
786
786
  l.d(c), c && v(a);
787
787
  }
@@ -789,7 +789,7 @@ function Se(i) {
789
789
  }
790
790
  function ke(i, e, a) {
791
791
  let n, s;
792
- V(i, G, (m) => a(4, n = m)), V(i, K, (m) => a(5, s = m));
792
+ z(i, G, (m) => a(4, n = m)), z(i, W, (m) => a(5, s = m));
793
793
  let { handler: l = () => {
794
794
  } } = e, { id: c = "" } = e, { disabled: u = !1 } = e, { hidden: r = !1 } = e;
795
795
  const h = () => l(), w = () => l(), S = () => l();
@@ -826,7 +826,7 @@ class ge extends U {
826
826
  hidden: 3
827
827
  },
828
828
  null
829
- ), e && (e.target && b(e.target, this, e.anchor), e.props && (this.$set(e.props), O()));
829
+ ), e && (e.target && b(e.target, this, e.anchor), e.props && (this.$set(e.props), T()));
830
830
  }
831
831
  static get observedAttributes() {
832
832
  return ["handler", "id", "disabled", "hidden"];
@@ -835,25 +835,25 @@ class ge extends U {
835
835
  return this.$$.ctx[0];
836
836
  }
837
837
  set handler(e) {
838
- this.$$set({ handler: e }), O();
838
+ this.$$set({ handler: e }), T();
839
839
  }
840
840
  get id() {
841
841
  return this.$$.ctx[1];
842
842
  }
843
843
  set id(e) {
844
- this.$$set({ id: e }), O();
844
+ this.$$set({ id: e }), T();
845
845
  }
846
846
  get disabled() {
847
847
  return this.$$.ctx[2];
848
848
  }
849
849
  set disabled(e) {
850
- this.$$set({ disabled: e }), O();
850
+ this.$$set({ disabled: e }), T();
851
851
  }
852
852
  get hidden() {
853
853
  return this.$$.ctx[3];
854
854
  }
855
855
  set hidden(e) {
856
- this.$$set({ hidden: e }), O();
856
+ this.$$set({ hidden: e }), T();
857
857
  }
858
858
  }
859
859
  customElements.define("take-picture-btn", ge);
@@ -1,4 +1,4 @@
1
- import { bh as D, bi as V } from "./main_ade50a8c_2.4.0.js";
1
+ import { bk as D, bl as V } from "./main_37501062_2.4.1-RC02.js";
2
2
  function H(e, t) {
3
3
  for (var n = 0; n < t.length; n++) {
4
4
  const r = t[n];
@@ -1,4 +1,5 @@
1
- import { bj as f } from "./main_ade50a8c_2.4.0.js";
1
+ import { bm as t } from "./main_37501062_2.4.1-RC02.js";
2
+ import "./face_api_0e3ce8c8_2.4.1-RC02.js";
2
3
  export {
3
- f as default
4
+ t as default
4
5
  };
@@ -193,7 +193,8 @@ const e = {
193
193
  moveAwayCamera: "Move away",
194
194
  stayInFrame: "Center the document",
195
195
  capture: "Capture",
196
- docWasNotFound: "Document not found"
196
+ docWasNotFound: "Document not found",
197
+ docNotFound: "Document not found, please retake the photo!"
197
198
  }, R = {
198
199
  close: "close",
199
200
  instructions: "To download the driver for your scanner, please select the brand of your scanner:",