bry-biometric-collector 2.2.19 → 2.2.20

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,5 +1,5 @@
1
- import { S as Mi, q as Wi, r as Xt, t as Ui, w as L, x as b, y as F, z as te, B as u, C as Re, D as c, E as me, G as U, H as S, I as N, J as lt, $ as Bi, K as d, L as oe, M as K, N as D, O as G, P as He, Q as ee, R as je, T as Mt, U as va, V as mt, W as Ne, X as Ea, Y as Le, Z as Be, _ as Wt, a0 as ni, a1 as Ut, a2 as wa, a3 as oi, a4 as Se, a5 as tt, a6 as re, a7 as Bt, a8 as Kt, a9 as ye, aa as Ca, ab as ka, ac as ya, ad as ri, ae as ht, af as _t, ag as Vt, ah as Ra, ai as bt, aj as ci, ak as ui, al as gt, am as fi, an as Oa, ao as Ta, ap as Ia, aq as Aa, ar as Pa, as as Ht, at as Na, au as H, av as pt, aw as vt, A as jt, ax as it, ay as Et, az as La, aA as di, aB as qt, d as wt, aC as Ct, aD as zt, aE as Sa, aF as Jt, aG as Da, aH as Fa, aI as Ma, aJ as Ke, aK as Wa, aL as mi, aM as Rt, aN as Ua, aO as qe, aP as ze, aQ as Je, aR as st, aS as Qt, aT as hi, aU as _i, j as kt, aV as Ba, aW as Ka, aX as Va, aY as Ve, aZ as at, a_ as Ha, a$ as ja, b0 as bi, b1 as qa, b2 as yt, b3 as za } from "./main_b20b5c3f_2.2.19.js";
2
- import { C as j, c as ce, a as Ja, T as Xa, b as Qa } from "./TakePictureBtn_77d8280d_2.2.19.js";
1
+ import { S as Mi, q as Bi, r as Xt, t as Ui, w as S, x as b, y as F, z as te, B as u, C as Re, D as c, E as me, G as U, H as D, I as L, J as lt, $ as Wi, K as d, L as oe, M as V, N, O as G, P as He, Q as ee, R as je, T as Mt, U as va, V as mt, W as Le, X as Ca, Y as Se, Z as We, _ as Bt, a0 as ni, a1 as Ut, a2 as Ea, a3 as oi, a4 as De, a5 as tt, a6 as ce, a7 as Wt, a8 as Vt, a9 as ye, aa as wa, ab as ka, ac as ya, ad as ri, ae as ht, af as _t, ag as Kt, ah as Ra, ai as bt, aj as ci, ak as ui, al as gt, am as fi, an as Ta, ao as Oa, ap as Ia, aq as Aa, ar as Pa, as as Ht, at as La, au as Q, av as pt, aw as vt, A as jt, ax as it, ay as Ct, az as Sa, aA as di, aB as qt, d as Et, aC as wt, aD as zt, aE as Da, aF as Jt, aG as Na, aH as Fa, aI as Ma, aJ as Ve, aK as Ba, aL as mi, aM as Rt, aN as Ua, aO as qe, aP as ze, aQ as Je, aR as st, aS as Qt, aT as hi, aU as _i, j as kt, aV as Wa, aW as Va, aX as Ka, aY as Ke, aZ as at, a_ as Ha, a$ as ja, b0 as bi, b1 as qa, b2 as yt, b3 as za } from "./main_56b6ad2b_2.2.20.js";
2
+ import { C as H, c as re, a as Ja, T as Xa, b as Qa } from "./TakePictureBtn_7eac14d6_2.2.20.js";
3
3
  function Ga(a) {
4
4
  let e, t, l = (
5
5
  /*$_*/
@@ -10,7 +10,7 @@ function Ga(a) {
10
10
  e = b("div"), t = b("button"), s = F(l), this.c = te, u(t, "class", Re() ? "ce-dui-btn ce-dui-btn-primary text-base text-xl pb-[2px] absolute z-20 bottom-10" : "ce-dui-btn ce-dui-btn-primary text-base text-xl pb-[2px] absolute z-20 bottom-2"), u(e, "class", "flex justify-center items-center");
11
11
  },
12
12
  m(r, o) {
13
- L(r, e, o), c(e, t), c(t, s), n || (m = me(
13
+ S(r, e, o), c(e, t), c(t, s), n || (m = me(
14
14
  t,
15
15
  "click",
16
16
  /*click_handler*/
@@ -25,21 +25,21 @@ function Ga(a) {
25
25
  i: te,
26
26
  o: te,
27
27
  d(r) {
28
- r && S(e), n = !1, m();
28
+ r && D(e), n = !1, m();
29
29
  }
30
30
  };
31
31
  }
32
32
  function Ya(a, e, t) {
33
33
  let l, s;
34
- N(a, lt, (r) => t(3, l = r)), N(a, Bi, (r) => t(0, s = r));
34
+ L(a, lt, (r) => t(3, l = r)), L(a, Wi, (r) => t(0, s = r));
35
35
  function n() {
36
36
  d(lt, l = !0, l);
37
37
  }
38
38
  return [s, n, () => n()];
39
39
  }
40
- class Ki extends Mi {
40
+ class Vi extends Mi {
41
41
  constructor(e) {
42
- super(), Wi(
42
+ super(), Bi(
43
43
  this,
44
44
  {
45
45
  target: this.shadowRoot,
@@ -51,10 +51,10 @@ class Ki extends Mi {
51
51
  Xt,
52
52
  {},
53
53
  null
54
- ), e && e.target && L(e.target, this, e.anchor);
54
+ ), e && e.target && S(e.target, this, e.anchor);
55
55
  }
56
56
  }
57
- customElements.define("start-auto-capture-btn", Ki);
57
+ customElements.define("start-auto-capture-btn", Vi);
58
58
  function gi(a, e, t) {
59
59
  const l = a.slice();
60
60
  return l[117] = e[t], l;
@@ -71,7 +71,7 @@ function Za(a) {
71
71
  );
72
72
  },
73
73
  m(t, l) {
74
- L(t, e, l), a[53](e);
74
+ S(t, e, l), a[53](e);
75
75
  },
76
76
  p(t, l) {
77
77
  l[0] & /*$selectedVideoDeviceId*/
@@ -83,7 +83,7 @@ function Za(a) {
83
83
  );
84
84
  },
85
85
  d(t) {
86
- t && S(e), a[53](null);
86
+ t && D(e), a[53](null);
87
87
  }
88
88
  };
89
89
  }
@@ -94,7 +94,7 @@ function pi(a) {
94
94
  e = b("video"), u(e, "id", "bry-cc-camera-video-tag"), u(e, "class", "absolute -z-10"), e.playsInline = !0, e.muted = !0, e.autoplay = !0;
95
95
  },
96
96
  m(s, n) {
97
- L(s, e, n), a[54](e), t || (l = [
97
+ S(s, e, n), a[54](e), t || (l = [
98
98
  me(
99
99
  e,
100
100
  "canplay",
@@ -112,7 +112,7 @@ function pi(a) {
112
112
  },
113
113
  p: te,
114
114
  d(s) {
115
- s && S(e), a[54](null), t = !1, Rt(l);
115
+ s && D(e), a[54](null), t = !1, Rt(l);
116
116
  }
117
117
  };
118
118
  }
@@ -136,7 +136,7 @@ function vi(a) {
136
136
  }
137
137
  };
138
138
  }
139
- function Ei(a) {
139
+ function Ci(a) {
140
140
  let e, t;
141
141
  return e = new Ja({}), {
142
142
  c() {
@@ -156,9 +156,9 @@ function Ei(a) {
156
156
  }
157
157
  };
158
158
  }
159
- function wi(a) {
159
+ function Ei(a) {
160
160
  let e, t;
161
- return e = new Ki({}), {
161
+ return e = new Vi({}), {
162
162
  c() {
163
163
  qe(e.$$.fragment);
164
164
  },
@@ -176,7 +176,7 @@ function wi(a) {
176
176
  }
177
177
  };
178
178
  }
179
- function Ci(a) {
179
+ function wi(a) {
180
180
  let e, t;
181
181
  return e = new Xa({
182
182
  props: {
@@ -187,7 +187,7 @@ function Ci(a) {
187
187
  a[34],
188
188
  hidden: (
189
189
  /*$cameraStatusStore*/
190
- a[20] !== j.OK || K() && /*idrndLoading*/
190
+ a[20] !== H.OK || V() && /*idrndLoading*/
191
191
  (a[16] || /*idrndClosed*/
192
192
  a[17] || /*waitingIdrndCaptureEvent*/
193
193
  a[18])
@@ -213,7 +213,7 @@ function Ci(a) {
213
213
  l[35] && !/*$enableFaceApi*/
214
214
  l[34]), s[0] & /*$cameraStatusStore, idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
215
215
  1507328 && (n.hidden = /*$cameraStatusStore*/
216
- l[20] !== j.OK || K() && /*idrndLoading*/
216
+ l[20] !== H.OK || V() && /*idrndLoading*/
217
217
  (l[16] || /*idrndClosed*/
218
218
  l[17] || /*waitingIdrndCaptureEvent*/
219
219
  l[18])), e.$set(n);
@@ -239,7 +239,7 @@ function ki(a) {
239
239
  e = b("span"), l = F(t), u(e, "class", "absolute left-1/2 -translate-x-1/2 ce-dui-badge ce-dui-badge-lg h-[2em] text-2xl xl:text-base w-[12.1em] " + (Re() ? "top-[10%]" : "top-[3%]"));
240
240
  },
241
241
  m(s, n) {
242
- L(s, e, n), c(e, l);
242
+ S(s, e, n), c(e, l);
243
243
  },
244
244
  p(s, n) {
245
245
  n[1] & /*$_*/
@@ -247,7 +247,7 @@ function ki(a) {
247
247
  s[32]("faceCollector.stayStill") + "") && U(l, t);
248
248
  },
249
249
  d(s) {
250
- s && S(e);
250
+ s && D(e);
251
251
  }
252
252
  };
253
253
  }
@@ -262,7 +262,7 @@ function yi(a) {
262
262
  e = b("span"), l = F(t), u(e, "class", "absolute left-1/2 -translate-x-1/2 ce-dui-badge ce-dui-badge-lg h-[2em] text-2xl xl:text-base w-[12.1em] " + (Re() ? "top-[10%]" : "top-[3%]"));
263
263
  },
264
264
  m(s, n) {
265
- L(s, e, n), c(e, l);
265
+ S(s, e, n), c(e, l);
266
266
  },
267
267
  p(s, n) {
268
268
  n[0] & /*$faceValidationAlert*/
@@ -272,7 +272,7 @@ function yi(a) {
272
272
  s[26]}`) + "") && U(l, t);
273
273
  },
274
274
  d(s) {
275
- s && S(e);
275
+ s && D(e);
276
276
  }
277
277
  };
278
278
  }
@@ -287,16 +287,16 @@ function Ri(a) {
287
287
  let r = m(a), o = r(a);
288
288
  return {
289
289
  c() {
290
- e = b("slot"), t = b("div"), l = b("img"), n = D(), o.c(), st(l.src, s = Qt) || u(l, "src", s), u(l, "alt", "loading gif"), u(l, "class", "m-auto h-[10em] lg:h-[12em]"), u(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), u(e, "name", "loading-camera-gif"), u(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
290
+ e = b("slot"), t = b("div"), l = b("img"), n = N(), o.c(), st(l.src, s = Qt) || u(l, "src", s), u(l, "alt", "loading gif"), u(l, "class", "m-auto h-[10em] lg:h-[12em]"), u(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), u(e, "name", "loading-camera-gif"), u(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
291
291
  },
292
292
  m(f, h) {
293
- L(f, e, h), c(e, t), c(t, l), c(t, n), o.m(t, null);
293
+ S(f, e, h), c(e, t), c(t, l), c(t, n), o.m(t, null);
294
294
  },
295
295
  p(f, h) {
296
296
  r === (r = m(f)) && o ? o.p(f, h) : (o.d(1), o = r(f), o && (o.c(), o.m(t, null)));
297
297
  },
298
298
  d(f) {
299
- f && S(e), o.d();
299
+ f && D(e), o.d();
300
300
  }
301
301
  };
302
302
  }
@@ -310,7 +310,7 @@ function xa(a) {
310
310
  e = b("span"), l = F(t), u(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
311
311
  },
312
312
  m(s, n) {
313
- L(s, e, n), c(e, l);
313
+ S(s, e, n), c(e, l);
314
314
  },
315
315
  p(s, n) {
316
316
  n[1] & /*$_*/
@@ -318,7 +318,7 @@ function xa(a) {
318
318
  s[32]("faceCollector.initiatingCamera") + "") && U(l, t);
319
319
  },
320
320
  d(s) {
321
- s && S(e);
321
+ s && D(e);
322
322
  }
323
323
  };
324
324
  }
@@ -329,15 +329,15 @@ function $a(a) {
329
329
  e = b("span"), e.textContent = "Loading camera...", u(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
330
330
  },
331
331
  m(t, l) {
332
- L(t, e, l);
332
+ S(t, e, l);
333
333
  },
334
334
  p: te,
335
335
  d(t) {
336
- t && S(e);
336
+ t && D(e);
337
337
  }
338
338
  };
339
339
  }
340
- function Oi(a) {
340
+ function Ti(a) {
341
341
  let e, t, l, s, n;
342
342
  function m(f, h) {
343
343
  return (
@@ -348,16 +348,16 @@ function Oi(a) {
348
348
  let r = m(a), o = r(a);
349
349
  return {
350
350
  c() {
351
- e = b("slot"), t = b("div"), l = b("img"), n = D(), o.c(), st(l.src, s = Qt) || u(l, "src", s), u(l, "alt", "loading gif"), u(l, "class", "m-auto h-[10em] lg:h-[12em]"), u(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), u(e, "name", "obtaining-photo-gif"), u(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
351
+ e = b("slot"), t = b("div"), l = b("img"), n = N(), o.c(), st(l.src, s = Qt) || u(l, "src", s), u(l, "alt", "loading gif"), u(l, "class", "m-auto h-[10em] lg:h-[12em]"), u(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), u(e, "name", "obtaining-photo-gif"), u(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
352
352
  },
353
353
  m(f, h) {
354
- L(f, e, h), c(e, t), c(t, l), c(t, n), o.m(t, null);
354
+ S(f, e, h), c(e, t), c(t, l), c(t, n), o.m(t, null);
355
355
  },
356
356
  p(f, h) {
357
357
  r === (r = m(f)) && o ? o.p(f, h) : (o.d(1), o = r(f), o && (o.c(), o.m(t, null)));
358
358
  },
359
359
  d(f) {
360
- f && S(e), o.d();
360
+ f && D(e), o.d();
361
361
  }
362
362
  };
363
363
  }
@@ -371,7 +371,7 @@ function el(a) {
371
371
  e = b("span"), l = F(t), u(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
372
372
  },
373
373
  m(s, n) {
374
- L(s, e, n), c(e, l);
374
+ S(s, e, n), c(e, l);
375
375
  },
376
376
  p(s, n) {
377
377
  n[1] & /*$_*/
@@ -379,7 +379,7 @@ function el(a) {
379
379
  s[32]("faceCollector.obtainingPicture") + "") && U(l, t);
380
380
  },
381
381
  d(s) {
382
- s && S(e);
382
+ s && D(e);
383
383
  }
384
384
  };
385
385
  }
@@ -390,15 +390,15 @@ function tl(a) {
390
390
  e = b("span"), e.textContent = "Obtaining photo...", u(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
391
391
  },
392
392
  m(t, l) {
393
- L(t, e, l);
393
+ S(t, e, l);
394
394
  },
395
395
  p: te,
396
396
  d(t) {
397
- t && S(e);
397
+ t && D(e);
398
398
  }
399
399
  };
400
400
  }
401
- function Ti(a) {
401
+ function Oi(a) {
402
402
  let e, t, l, s, n;
403
403
  function m(f, h) {
404
404
  return (
@@ -409,16 +409,16 @@ function Ti(a) {
409
409
  let r = m(a), o = r(a);
410
410
  return {
411
411
  c() {
412
- e = b("slot"), t = b("div"), l = b("img"), n = D(), o.c(), st(l.src, s = Qt) || u(l, "src", s), u(l, "alt", "loading gif"), u(l, "class", "m-auto h-[10em] lg:h-[12em]"), u(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), u(e, "name", "loading-camera-gif"), u(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
412
+ e = b("slot"), t = b("div"), l = b("img"), n = N(), o.c(), st(l.src, s = Qt) || u(l, "src", s), u(l, "alt", "loading gif"), u(l, "class", "m-auto h-[10em] lg:h-[12em]"), u(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), u(e, "name", "loading-camera-gif"), u(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
413
413
  },
414
414
  m(f, h) {
415
- L(f, e, h), c(e, t), c(t, l), c(t, n), o.m(t, null);
415
+ S(f, e, h), c(e, t), c(t, l), c(t, n), o.m(t, null);
416
416
  },
417
417
  p(f, h) {
418
418
  r === (r = m(f)) && o ? o.p(f, h) : (o.d(1), o = r(f), o && (o.c(), o.m(t, null)));
419
419
  },
420
420
  d(f) {
421
- f && S(e), o.d();
421
+ f && D(e), o.d();
422
422
  }
423
423
  };
424
424
  }
@@ -432,7 +432,7 @@ function il(a) {
432
432
  e = b("span"), l = F(t), u(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
433
433
  },
434
434
  m(s, n) {
435
- L(s, e, n), c(e, l);
435
+ S(s, e, n), c(e, l);
436
436
  },
437
437
  p(s, n) {
438
438
  n[1] & /*$_*/
@@ -440,7 +440,7 @@ function il(a) {
440
440
  s[32]("faceCollector.initiatingCamera") + "") && U(l, t);
441
441
  },
442
442
  d(s) {
443
- s && S(e);
443
+ s && D(e);
444
444
  }
445
445
  };
446
446
  }
@@ -451,11 +451,11 @@ function al(a) {
451
451
  e = b("span"), e.textContent = "Loading camera...", u(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
452
452
  },
453
453
  m(t, l) {
454
- L(t, e, l);
454
+ S(t, e, l);
455
455
  },
456
456
  p: te,
457
457
  d(t) {
458
- t && S(e);
458
+ t && D(e);
459
459
  }
460
460
  };
461
461
  }
@@ -469,11 +469,11 @@ function Ii(a) {
469
469
  ), f, h, p;
470
470
  return {
471
471
  c() {
472
- e = b("div"), t = b("button"), s = F(l), m = D(), r = b("button"), f = F(o), t.disabled = n = /*$justification*/
472
+ e = b("div"), t = b("button"), s = F(l), m = N(), r = b("button"), f = F(o), t.disabled = n = /*$justification*/
473
473
  a[30].length === 0, u(t, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), u(r, "id", "bry-cc-retake-button"), u(r, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), u(e, "class", "ce-dui-btn-group flex");
474
474
  },
475
- m(C, _) {
476
- L(C, e, _), c(e, t), c(t, s), c(e, m), c(e, r), c(r, f), h || (p = [
475
+ m(w, _) {
476
+ S(w, e, _), c(e, t), c(t, s), c(e, m), c(e, r), c(r, f), h || (p = [
477
477
  me(
478
478
  t,
479
479
  "click",
@@ -488,17 +488,17 @@ function Ii(a) {
488
488
  )
489
489
  ], h = !0);
490
490
  },
491
- p(C, _) {
491
+ p(w, _) {
492
492
  _[1] & /*$_*/
493
493
  2 && l !== (l = /*$_*/
494
- C[32]("faceCollector.finish") + "") && U(s, l), _[0] & /*$justification*/
494
+ w[32]("faceCollector.finish") + "") && U(s, l), _[0] & /*$justification*/
495
495
  1073741824 && n !== (n = /*$justification*/
496
- C[30].length === 0) && (t.disabled = n), _[1] & /*$_*/
496
+ w[30].length === 0) && (t.disabled = n), _[1] & /*$_*/
497
497
  2 && o !== (o = /*$_*/
498
- C[32]("faceCollector.retakePhoto") + "") && U(f, o);
498
+ w[32]("faceCollector.retakePhoto") + "") && U(f, o);
499
499
  },
500
- d(C) {
501
- C && S(e), h = !1, Rt(p);
500
+ d(w) {
501
+ w && D(e), h = !1, Rt(p);
502
502
  }
503
503
  };
504
504
  }
@@ -535,14 +535,14 @@ function sl(a) {
535
535
  ol,
536
536
  nl
537
537
  ], p = [];
538
- function C(_, k) {
538
+ function w(_, k) {
539
539
  return (
540
540
  /*$captured*/
541
541
  _[23] ? (
542
542
  /*$unconformitiesStore*/
543
543
  _[27].isLoading ? 1 : (
544
544
  /*$requestResult*/
545
- _[28] !== H.OK ? 2 : (
545
+ _[28] !== Q.OK ? 2 : (
546
546
  /*$saved*/
547
547
  _[29] ? 4 : 3
548
548
  )
@@ -550,9 +550,9 @@ function sl(a) {
550
550
  ) : 0
551
551
  );
552
552
  }
553
- return m = C(a), r = p[m] = h[m](a), {
553
+ return m = w(a), r = p[m] = h[m](a), {
554
554
  c() {
555
- e = b("div"), t = b("img"), n = D(), r.c(), u(t, "class", "m-auto col-start-1 col-end-1 max-h-[23.2em]"), st(t.src, l = /*$dataTypePrefix*/
555
+ e = b("div"), t = b("img"), n = N(), r.c(), u(t, "class", "m-auto col-start-1 col-end-1 max-h-[23.2em]"), st(t.src, l = /*$dataTypePrefix*/
556
556
  a[33] + "," + /*$image*/
557
557
  a[31]) || u(t, "src", l), t.hidden = s = !/*$captured*/
558
558
  a[23] || !/*$showFaceWhileValidating*/
@@ -562,7 +562,7 @@ function sl(a) {
562
562
  a[27].isLoading ? "absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible" : "grid m-[1em] overflow-hidden"));
563
563
  },
564
564
  m(_, k) {
565
- L(_, e, k), c(e, t), c(e, n), p[m].m(e, null), f = !0;
565
+ S(_, e, k), c(e, t), c(e, n), p[m].m(e, null), f = !0;
566
566
  },
567
567
  p(_, k) {
568
568
  (!f || k[1] & /*$dataTypePrefix, $image*/
@@ -575,7 +575,7 @@ function sl(a) {
575
575
  _[38] && /*$unconformitiesStore*/
576
576
  _[27].isLoading)) && (t.hidden = s);
577
577
  let v = m;
578
- m = C(_), m === v ? p[m].p(_, k) : (He(), ee(p[v], 1, 1, () => {
578
+ m = w(_), m === v ? p[m].p(_, k) : (He(), ee(p[v], 1, 1, () => {
579
579
  p[v] = null;
580
580
  }), je(), r = p[m], r ? r.p(_, k) : (r = p[m] = h[m](_), r.c()), G(r, 1), r.m(e, null)), (!f || k[0] & /*$unconformitiesStore*/
581
581
  134217728 | k[1] & /*$showFaceWhileValidating*/
@@ -590,7 +590,7 @@ function sl(a) {
590
590
  ee(r), f = !1;
591
591
  },
592
592
  d(_) {
593
- _ && S(e), p[m].d();
593
+ _ && D(e), p[m].d();
594
594
  }
595
595
  };
596
596
  }
@@ -601,41 +601,41 @@ function nl(a) {
601
601
  ), s, n, m, r, o, f = (
602
602
  /*$_*/
603
603
  a[32]("faceCollector.retakePhoto") + ""
604
- ), h, p, C = kt(Ha).faceStrategy !== ja.DISABLED, _, k, v, w = (
604
+ ), h, p, w = kt(Ha).faceStrategy !== ja.DISABLED, _, k, v, E = (
605
605
  /*$unconformitiesStore*/
606
606
  a[27].unconformities.length !== 0 && Ai(a)
607
- ), O = C && fl();
607
+ ), T = w && fl();
608
608
  return {
609
609
  c() {
610
- e = b("div"), t = b("h1"), s = F(l), n = D(), w && w.c(), m = D(), r = b("div"), o = b("button"), h = F(f), p = D(), O && O.c(), u(t, "class", "text-3xl font-bold pb-[1em] transition-opacity"), u(o, "id", "bry-cc-retake-button"), u(o, "class", "ce-dui-btn ce-dui-btn-block flex-shrink text-base"), u(r, "class", "flex flex-row"), bi(r, "ce-dui-btn-group", !/*$exportButtonDisabled*/
610
+ e = b("div"), t = b("h1"), s = F(l), n = N(), E && E.c(), m = N(), r = b("div"), o = b("button"), h = F(f), p = N(), T && T.c(), u(t, "class", "text-3xl font-bold pb-[1em] transition-opacity"), u(o, "id", "bry-cc-retake-button"), u(o, "class", "ce-dui-btn ce-dui-btn-block flex-shrink text-base"), u(r, "class", "flex flex-row"), bi(r, "ce-dui-btn-group", !/*$exportButtonDisabled*/
611
611
  a[39]);
612
612
  },
613
- m(P, W) {
614
- L(P, e, W), c(e, t), c(t, s), c(e, n), w && w.m(e, null), c(e, m), c(e, r), c(r, o), c(o, h), c(r, p), O && O.m(r, null), _ = !0, k || (v = me(
613
+ m(A, B) {
614
+ S(A, e, B), c(e, t), c(t, s), c(e, n), E && E.m(e, null), c(e, m), c(e, r), c(r, o), c(o, h), c(r, p), T && T.m(r, null), _ = !0, k || (v = me(
615
615
  o,
616
616
  "click",
617
617
  /*click_handler_6*/
618
618
  a[68]
619
619
  ), k = !0);
620
620
  },
621
- p(P, W) {
622
- (!_ || W[1] & /*$_*/
621
+ p(A, B) {
622
+ (!_ || B[1] & /*$_*/
623
623
  2) && l !== (l = /*$_*/
624
- P[32]("faceCollector.captured") + "") && U(s, l), /*$unconformitiesStore*/
625
- P[27].unconformities.length !== 0 ? w ? w.p(P, W) : (w = Ai(P), w.c(), w.m(e, m)) : w && (w.d(1), w = null), (!_ || W[1] & /*$_*/
624
+ A[32]("faceCollector.captured") + "") && U(s, l), /*$unconformitiesStore*/
625
+ A[27].unconformities.length !== 0 ? E ? E.p(A, B) : (E = Ai(A), E.c(), E.m(e, m)) : E && (E.d(1), E = null), (!_ || B[1] & /*$_*/
626
626
  2) && f !== (f = /*$_*/
627
- P[32]("faceCollector.retakePhoto") + "") && U(h, f), (!_ || W[1] & /*$exportButtonDisabled*/
627
+ A[32]("faceCollector.retakePhoto") + "") && U(h, f), (!_ || B[1] & /*$exportButtonDisabled*/
628
628
  256) && bi(r, "ce-dui-btn-group", !/*$exportButtonDisabled*/
629
- P[39]);
629
+ A[39]);
630
630
  },
631
- i(P) {
632
- _ || (G(O), _ = !0);
631
+ i(A) {
632
+ _ || (G(T), _ = !0);
633
633
  },
634
- o(P) {
635
- ee(O), _ = !1;
634
+ o(A) {
635
+ ee(T), _ = !1;
636
636
  },
637
- d(P) {
638
- P && S(e), w && w.d(), O && O.d(), k = !1, v();
637
+ d(A) {
638
+ A && D(e), E && E.d(), T && T.d(), k = !1, v();
639
639
  }
640
640
  };
641
641
  }
@@ -655,33 +655,33 @@ function ol(a) {
655
655
  ), p = [];
656
656
  for (let v = 0; v < h.length; v += 1)
657
657
  p[v] = Pi(gi(a, h, v));
658
- let C = (
658
+ let w = (
659
659
  /*evaluatePhoto*/
660
660
  a[1] && /*$unconformitiesStore*/
661
- a[27].unconformities.length == 0 && Ni(a)
661
+ a[27].unconformities.length == 0 && Li(a)
662
662
  ), _ = (
663
663
  /*showJustificationField*/
664
- a[7] && Li(a)
664
+ a[7] && Si(a)
665
665
  ), k = (
666
666
  /*$captured*/
667
- a[23] && Si(a)
667
+ a[23] && Di(a)
668
668
  );
669
669
  return {
670
670
  c() {
671
- e = b("div"), t = b("h1"), s = F(l), n = D(), m = b("div");
671
+ e = b("div"), t = b("h1"), s = F(l), n = N(), m = b("div");
672
672
  for (let v = 0; v < p.length; v += 1)
673
673
  p[v].c();
674
- r = D(), C && C.c(), o = D(), _ && _.c(), f = D(), k && k.c(), u(t, "class", "text-3xl font-bold transition-opacity"), u(m, "class", "flex flex-wrap"), u(e, "class", "flex flex-col justify-between");
674
+ r = N(), w && w.c(), o = N(), _ && _.c(), f = N(), k && k.c(), u(t, "class", "text-3xl font-bold transition-opacity"), u(m, "class", "flex flex-wrap"), u(e, "class", "flex flex-col justify-between");
675
675
  },
676
- m(v, w) {
677
- L(v, e, w), c(e, t), c(t, s), c(e, n), c(e, m);
678
- for (let O = 0; O < p.length; O += 1)
679
- p[O] && p[O].m(m, null);
680
- c(m, r), C && C.m(m, null), c(e, o), _ && _.m(e, null), c(e, f), k && k.m(e, null);
676
+ m(v, E) {
677
+ S(v, e, E), c(e, t), c(t, s), c(e, n), c(e, m);
678
+ for (let T = 0; T < p.length; T += 1)
679
+ p[T] && p[T].m(m, null);
680
+ c(m, r), w && w.m(m, null), c(e, o), _ && _.m(e, null), c(e, f), k && k.m(e, null);
681
681
  },
682
- p(v, w) {
683
- if (w[0] & /*evaluatePhoto*/
684
- 2 | w[1] & /*$_*/
682
+ p(v, E) {
683
+ if (E[0] & /*evaluatePhoto*/
684
+ 2 | E[1] & /*$_*/
685
685
  2 && l !== (l = /*evaluatePhoto*/
686
686
  (v[1] ? (
687
687
  /*$_*/
@@ -689,29 +689,29 @@ function ol(a) {
689
689
  ) : (
690
690
  /*$_*/
691
691
  v[32]("faceCollector.previewCapture")
692
- )) + "") && U(s, l), w[0] & /*$unconformitiesStore*/
692
+ )) + "") && U(s, l), E[0] & /*$unconformitiesStore*/
693
693
  134217728) {
694
694
  h = /*$unconformitiesStore*/
695
695
  v[27].unconformities;
696
- let O;
697
- for (O = 0; O < h.length; O += 1) {
698
- const P = gi(v, h, O);
699
- p[O] ? p[O].p(P, w) : (p[O] = Pi(P), p[O].c(), p[O].m(m, r));
696
+ let T;
697
+ for (T = 0; T < h.length; T += 1) {
698
+ const A = gi(v, h, T);
699
+ p[T] ? p[T].p(A, E) : (p[T] = Pi(A), p[T].c(), p[T].m(m, r));
700
700
  }
701
- for (; O < p.length; O += 1)
702
- p[O].d(1);
701
+ for (; T < p.length; T += 1)
702
+ p[T].d(1);
703
703
  p.length = h.length;
704
704
  }
705
705
  /*evaluatePhoto*/
706
706
  v[1] && /*$unconformitiesStore*/
707
- v[27].unconformities.length == 0 ? C ? C.p(v, w) : (C = Ni(v), C.c(), C.m(m, null)) : C && (C.d(1), C = null), /*showJustificationField*/
708
- v[7] ? _ ? _.p(v, w) : (_ = Li(v), _.c(), _.m(e, f)) : _ && (_.d(1), _ = null), /*$captured*/
709
- v[23] ? k ? k.p(v, w) : (k = Si(v), k.c(), k.m(e, null)) : k && (k.d(1), k = null);
707
+ v[27].unconformities.length == 0 ? w ? w.p(v, E) : (w = Li(v), w.c(), w.m(m, null)) : w && (w.d(1), w = null), /*showJustificationField*/
708
+ v[7] ? _ ? _.p(v, E) : (_ = Si(v), _.c(), _.m(e, f)) : _ && (_.d(1), _ = null), /*$captured*/
709
+ v[23] ? k ? k.p(v, E) : (k = Di(v), k.c(), k.m(e, null)) : k && (k.d(1), k = null);
710
710
  },
711
711
  i: te,
712
712
  o: te,
713
713
  d(v) {
714
- v && S(e), qa(p, v), C && C.d(), _ && _.d(), k && k.d();
714
+ v && D(e), qa(p, v), w && w.d(), _ && _.d(), k && k.d();
715
715
  }
716
716
  };
717
717
  }
@@ -722,21 +722,21 @@ function rl(a) {
722
722
  ), m, r, o, f = (
723
723
  /*$_*/
724
724
  a[32]("faceCollector.retakePhoto") + ""
725
- ), h, p, C;
726
- function _(w, O) {
725
+ ), h, p, w;
726
+ function _(E, T) {
727
727
  return (
728
728
  /*$requestResult*/
729
- w[28] === H.LIVENESS_DETECTION_FAILURE || /*$requestResult*/
730
- w[28] === H.UNKNOWN_LIVENESS_ERROR ? gl : (
729
+ E[28] === Q.LIVENESS_DETECTION_FAILURE || /*$requestResult*/
730
+ E[28] === Q.UNKNOWN_LIVENESS_ERROR ? gl : (
731
731
  /*$requestResult*/
732
- w[28] === H.LOW_LIVENESS_SCORE ? bl : (
732
+ E[28] === Q.LOW_LIVENESS_SCORE ? bl : (
733
733
  /*$requestResult*/
734
- w[28] === H.TEMPLATE_EXTRACTION_ERROR || /*$requestResult*/
735
- w[28] === H.UNKNOWN_TEMPLATE_EXTRACTION_ERROR ? _l : (
734
+ E[28] === Q.TEMPLATE_EXTRACTION_ERROR || /*$requestResult*/
735
+ E[28] === Q.UNKNOWN_TEMPLATE_EXTRACTION_ERROR ? _l : (
736
736
  /*$requestResult*/
737
- w[28] === H.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE ? hl : (
737
+ E[28] === Q.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE ? hl : (
738
738
  /*$requestResult*/
739
- w[28] === H.LIVENESS_EVALUATION_ERROR ? ml : dl
739
+ E[28] === Q.LIVENESS_EVALUATION_ERROR ? ml : dl
740
740
  )
741
741
  )
742
742
  )
@@ -746,10 +746,10 @@ function rl(a) {
746
746
  let k = _(a), v = k(a);
747
747
  return {
748
748
  c() {
749
- e = b("div"), v.c(), t = D(), l = b("div"), s = b("button"), m = F(n), r = D(), o = b("button"), h = F(f), s.disabled = !0, u(s, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), u(o, "id", "bry-cc-retake-button"), u(o, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), u(l, "class", "ce-dui-btn-group flex"), u(e, "class", "flex flex-col justify-between");
749
+ e = b("div"), v.c(), t = N(), l = b("div"), s = b("button"), m = F(n), r = N(), o = b("button"), h = F(f), s.disabled = !0, u(s, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), u(o, "id", "bry-cc-retake-button"), u(o, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), u(l, "class", "ce-dui-btn-group flex"), u(e, "class", "flex flex-col justify-between");
750
750
  },
751
- m(w, O) {
752
- L(w, e, O), v.m(e, null), c(e, t), c(e, l), c(l, s), c(s, m), c(l, r), c(l, o), c(o, h), p || (C = [
751
+ m(E, T) {
752
+ S(E, e, T), v.m(e, null), c(e, t), c(e, l), c(l, s), c(s, m), c(l, r), c(l, o), c(o, h), p || (w = [
753
753
  me(
754
754
  s,
755
755
  "click",
@@ -764,17 +764,17 @@ function rl(a) {
764
764
  )
765
765
  ], p = !0);
766
766
  },
767
- p(w, O) {
768
- k === (k = _(w)) && v ? v.p(w, O) : (v.d(1), v = k(w), v && (v.c(), v.m(e, t))), O[1] & /*$_*/
767
+ p(E, T) {
768
+ k === (k = _(E)) && v ? v.p(E, T) : (v.d(1), v = k(E), v && (v.c(), v.m(e, t))), T[1] & /*$_*/
769
769
  2 && n !== (n = /*$_*/
770
- w[32]("faceCollector.finish") + "") && U(m, n), O[1] & /*$_*/
770
+ E[32]("faceCollector.finish") + "") && U(m, n), T[1] & /*$_*/
771
771
  2 && f !== (f = /*$_*/
772
- w[32]("faceCollector.retakePhoto") + "") && U(h, f);
772
+ E[32]("faceCollector.retakePhoto") + "") && U(h, f);
773
773
  },
774
774
  i: te,
775
775
  o: te,
776
- d(w) {
777
- w && S(e), v.d(), p = !1, Rt(C);
776
+ d(E) {
777
+ E && D(e), v.d(), p = !1, Rt(w);
778
778
  }
779
779
  };
780
780
  }
@@ -785,10 +785,10 @@ function cl(a) {
785
785
  ), s, n, m;
786
786
  return {
787
787
  c() {
788
- e = b("div"), t = b("h1"), s = F(l), n = D(), m = b("div"), u(t, "class", "inline-block text-3xl font-bold pb-[1em] transition-opacity"), u(m, "class", "ml-6 inline-block dot-typing"), u(e, "class", "min-w-[200px]");
788
+ e = b("div"), t = b("h1"), s = F(l), n = N(), m = b("div"), u(t, "class", "inline-block text-3xl font-bold pb-[1em] transition-opacity"), u(m, "class", "ml-6 inline-block dot-typing"), u(e, "class", "min-w-[200px]");
789
789
  },
790
790
  m(r, o) {
791
- L(r, e, o), c(e, t), c(t, s), c(e, n), c(e, m);
791
+ S(r, e, o), c(e, t), c(t, s), c(e, n), c(e, m);
792
792
  },
793
793
  p(r, o) {
794
794
  o[1] & /*$_*/
@@ -798,7 +798,7 @@ function cl(a) {
798
798
  i: te,
799
799
  o: te,
800
800
  d(r) {
801
- r && S(e);
801
+ r && D(e);
802
802
  }
803
803
  };
804
804
  }
@@ -809,13 +809,13 @@ function ul(a) {
809
809
  e = b("div"), u(e, "class", "");
810
810
  },
811
811
  m(t, l) {
812
- L(t, e, l);
812
+ S(t, e, l);
813
813
  },
814
814
  p: te,
815
815
  i: te,
816
816
  o: te,
817
817
  d(t) {
818
- t && S(e);
818
+ t && D(e);
819
819
  }
820
820
  };
821
821
  }
@@ -826,10 +826,10 @@ function Ai(a) {
826
826
  ), s, n, m, r, o;
827
827
  return {
828
828
  c() {
829
- e = b("label"), t = b("span"), s = F(l), n = D(), m = b("textarea"), u(t, "class", "ce-dui-label-text text-base"), u(e, "class", "ce-dui-label"), u(e, "for", "justification"), u(m, "contenteditable", ""), u(m, "id", "justification"), u(m, "class", "ce-dui-textarea ce-dui-textarea-bordered textarea-ghost h-[6em] w-full text-base");
829
+ e = b("label"), t = b("span"), s = F(l), n = N(), m = b("textarea"), u(t, "class", "ce-dui-label-text text-base"), u(e, "class", "ce-dui-label"), u(e, "for", "justification"), u(m, "contenteditable", ""), u(m, "id", "justification"), u(m, "class", "ce-dui-textarea ce-dui-textarea-bordered textarea-ghost h-[6em] w-full text-base");
830
830
  },
831
831
  m(f, h) {
832
- L(f, e, h), c(e, t), c(t, s), L(f, n, h), L(f, m, h), yt(
832
+ S(f, e, h), c(e, t), c(t, s), S(f, n, h), S(f, m, h), yt(
833
833
  m,
834
834
  /*$justification*/
835
835
  a[30]
@@ -851,7 +851,7 @@ function Ai(a) {
851
851
  );
852
852
  },
853
853
  d(f) {
854
- f && S(e), f && S(n), f && S(m), r = !1, o();
854
+ f && D(e), f && D(n), f && D(m), r = !1, o();
855
855
  }
856
856
  };
857
857
  }
@@ -887,7 +887,7 @@ function Pi(a) {
887
887
  e = b("div"), l = F(t), u(e, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] ce-dui-badge-error text-xl pb-[.25em] m-[.5em]");
888
888
  },
889
889
  m(s, n) {
890
- L(s, e, n), c(e, l);
890
+ S(s, e, n), c(e, l);
891
891
  },
892
892
  p(s, n) {
893
893
  n[0] & /*$unconformitiesStore*/
@@ -895,11 +895,11 @@ function Pi(a) {
895
895
  s[117] + "") && U(l, t);
896
896
  },
897
897
  d(s) {
898
- s && S(e);
898
+ s && D(e);
899
899
  }
900
900
  };
901
901
  }
902
- function Ni(a) {
902
+ function Li(a) {
903
903
  let e, t = (
904
904
  /*$_*/
905
905
  a[32]("faceCollector.noNonconformity") + ""
@@ -909,7 +909,7 @@ function Ni(a) {
909
909
  e = b("div"), l = F(t), u(e, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] ce-dui-badge-info text-xl pb-[.25em] m-[.5em]");
910
910
  },
911
911
  m(s, n) {
912
- L(s, e, n), c(e, l);
912
+ S(s, e, n), c(e, l);
913
913
  },
914
914
  p(s, n) {
915
915
  n[1] & /*$_*/
@@ -917,55 +917,55 @@ function Ni(a) {
917
917
  s[32]("faceCollector.noNonconformity") + "") && U(l, t);
918
918
  },
919
919
  d(s) {
920
- s && S(e);
920
+ s && D(e);
921
921
  }
922
922
  };
923
923
  }
924
- function Li(a) {
924
+ function Si(a) {
925
925
  let e, t, l, s = (
926
926
  /*$_*/
927
927
  a[32]("faceCollector.provideAReasonForTheLowQualityCapture") + ""
928
- ), n, m, r, o, f, h, p, C, _ = (
928
+ ), n, m, r, o, f, h, p, w, _ = (
929
929
  /*$_*/
930
930
  a[32]("faceCollector.thisInformationIsRequired") + ""
931
- ), k, v, w, O;
931
+ ), k, v, E, T;
932
932
  return {
933
933
  c() {
934
- e = b("div"), t = b("label"), l = b("span"), n = F(s), m = D(), r = b("textarea"), f = D(), h = b("label"), p = b("span"), C = F("("), k = F(_), v = F(")"), u(l, "class", "ce-dui-label-text text-base"), u(t, "class", "ce-dui-label"), u(t, "for", "justification"), u(r, "contenteditable", ""), u(r, "id", "justification"), u(r, "class", "ce-dui-textarea ce-dui-textarea-bordered h-[6em] text-base"), u(r, "placeholder", o = /*$_*/
934
+ e = b("div"), t = b("label"), l = b("span"), n = F(s), m = N(), r = b("textarea"), f = N(), h = b("label"), p = b("span"), w = F("("), k = F(_), v = F(")"), u(l, "class", "ce-dui-label-text text-base"), u(t, "class", "ce-dui-label"), u(t, "for", "justification"), u(r, "contenteditable", ""), u(r, "id", "justification"), u(r, "class", "ce-dui-textarea ce-dui-textarea-bordered h-[6em] text-base"), u(r, "placeholder", o = /*$_*/
935
935
  a[32]("faceCollector.yourJustification")), u(p, "class", "ce-dui-label-text-alt text-base"), u(h, "class", "ce-dui-label"), u(h, "for", "justification"), u(e, "class", "ce-dui-form-control");
936
936
  },
937
- m(P, W) {
938
- L(P, e, W), c(e, t), c(t, l), c(l, n), c(e, m), c(e, r), yt(
937
+ m(A, B) {
938
+ S(A, e, B), c(e, t), c(t, l), c(l, n), c(e, m), c(e, r), yt(
939
939
  r,
940
940
  /*$justification*/
941
941
  a[30]
942
- ), c(e, f), c(e, h), c(h, p), c(p, C), c(p, k), c(p, v), w || (O = me(
942
+ ), c(e, f), c(e, h), c(h, p), c(p, w), c(p, k), c(p, v), E || (T = me(
943
943
  r,
944
944
  "input",
945
945
  /*textarea_input_handler*/
946
946
  a[64]
947
- ), w = !0);
947
+ ), E = !0);
948
948
  },
949
- p(P, W) {
950
- W[1] & /*$_*/
949
+ p(A, B) {
950
+ B[1] & /*$_*/
951
951
  2 && s !== (s = /*$_*/
952
- P[32]("faceCollector.provideAReasonForTheLowQualityCapture") + "") && U(n, s), W[1] & /*$_*/
952
+ A[32]("faceCollector.provideAReasonForTheLowQualityCapture") + "") && U(n, s), B[1] & /*$_*/
953
953
  2 && o !== (o = /*$_*/
954
- P[32]("faceCollector.yourJustification")) && u(r, "placeholder", o), W[0] & /*$justification*/
954
+ A[32]("faceCollector.yourJustification")) && u(r, "placeholder", o), B[0] & /*$justification*/
955
955
  1073741824 && yt(
956
956
  r,
957
957
  /*$justification*/
958
- P[30]
959
- ), W[1] & /*$_*/
958
+ A[30]
959
+ ), B[1] & /*$_*/
960
960
  2 && _ !== (_ = /*$_*/
961
- P[32]("faceCollector.thisInformationIsRequired") + "") && U(k, _);
961
+ A[32]("faceCollector.thisInformationIsRequired") + "") && U(k, _);
962
962
  },
963
- d(P) {
964
- P && S(e), w = !1, O();
963
+ d(A) {
964
+ A && D(e), E = !1, T();
965
965
  }
966
966
  };
967
967
  }
968
- function Si(a) {
968
+ function Di(a) {
969
969
  let e, t, l = (
970
970
  /*$_*/
971
971
  a[32]("faceCollector.finish") + ""
@@ -975,12 +975,12 @@ function Si(a) {
975
975
  ), f, h, p;
976
976
  return {
977
977
  c() {
978
- e = b("div"), t = b("button"), s = F(l), m = D(), r = b("button"), f = F(o), t.disabled = n = /*$justification*/
978
+ e = b("div"), t = b("button"), s = F(l), m = N(), r = b("button"), f = F(o), t.disabled = n = /*$justification*/
979
979
  a[30].length === 0 && /*showJustificationField*/
980
980
  a[7], u(t, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink text-base"), u(r, "id", "bry-cc-retake-button"), u(r, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink text-base"), u(e, "class", "ce-dui-btn-group flex");
981
981
  },
982
- m(C, _) {
983
- L(C, e, _), c(e, t), c(t, s), c(e, m), c(e, r), c(r, f), h || (p = [
982
+ m(w, _) {
983
+ S(w, e, _), c(e, t), c(t, s), c(e, m), c(e, r), c(r, f), h || (p = [
984
984
  me(
985
985
  t,
986
986
  "click",
@@ -995,18 +995,18 @@ function Si(a) {
995
995
  )
996
996
  ], h = !0);
997
997
  },
998
- p(C, _) {
998
+ p(w, _) {
999
999
  _[1] & /*$_*/
1000
1000
  2 && l !== (l = /*$_*/
1001
- C[32]("faceCollector.finish") + "") && U(s, l), _[0] & /*$justification, showJustificationField*/
1001
+ w[32]("faceCollector.finish") + "") && U(s, l), _[0] & /*$justification, showJustificationField*/
1002
1002
  1073741952 && n !== (n = /*$justification*/
1003
- C[30].length === 0 && /*showJustificationField*/
1004
- C[7]) && (t.disabled = n), _[1] & /*$_*/
1003
+ w[30].length === 0 && /*showJustificationField*/
1004
+ w[7]) && (t.disabled = n), _[1] & /*$_*/
1005
1005
  2 && o !== (o = /*$_*/
1006
- C[32]("faceCollector.retakePhoto") + "") && U(f, o);
1006
+ w[32]("faceCollector.retakePhoto") + "") && U(f, o);
1007
1007
  },
1008
- d(C) {
1009
- C && S(e), h = !1, Rt(p);
1008
+ d(w) {
1009
+ w && D(e), h = !1, Rt(p);
1010
1010
  }
1011
1011
  };
1012
1012
  }
@@ -1020,7 +1020,7 @@ function dl(a) {
1020
1020
  e = b("h1"), l = F(t), u(e, "class", "text-3xl font-bold pb-[1em] transition-opacity");
1021
1021
  },
1022
1022
  m(s, n) {
1023
- L(s, e, n), c(e, l);
1023
+ S(s, e, n), c(e, l);
1024
1024
  },
1025
1025
  p(s, n) {
1026
1026
  n[1] & /*$_*/
@@ -1028,7 +1028,7 @@ function dl(a) {
1028
1028
  s[32]("faceCollector.everythingOk") + "") && U(l, t);
1029
1029
  },
1030
1030
  d(s) {
1031
- s && S(e);
1031
+ s && D(e);
1032
1032
  }
1033
1033
  };
1034
1034
  }
@@ -1042,7 +1042,7 @@ function ml(a) {
1042
1042
  e = b("h1"), l = F(t), u(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
1043
1043
  },
1044
1044
  m(s, n) {
1045
- L(s, e, n), c(e, l);
1045
+ S(s, e, n), c(e, l);
1046
1046
  },
1047
1047
  p(s, n) {
1048
1048
  n[1] & /*$_*/
@@ -1050,7 +1050,7 @@ function ml(a) {
1050
1050
  s[32]("liveness.error.evaluationError") + "") && U(l, t);
1051
1051
  },
1052
1052
  d(s) {
1053
- s && S(e);
1053
+ s && D(e);
1054
1054
  }
1055
1055
  };
1056
1056
  }
@@ -1064,7 +1064,7 @@ function hl(a) {
1064
1064
  e = b("h1"), l = F(t), u(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
1065
1065
  },
1066
1066
  m(s, n) {
1067
- L(s, e, n), c(e, l);
1067
+ S(s, e, n), c(e, l);
1068
1068
  },
1069
1069
  p(s, n) {
1070
1070
  n[1] & /*$_*/
@@ -1072,7 +1072,7 @@ function hl(a) {
1072
1072
  s[32]("faceCollector.unableToCompleteRequest") + "") && U(l, t);
1073
1073
  },
1074
1074
  d(s) {
1075
- s && S(e);
1075
+ s && D(e);
1076
1076
  }
1077
1077
  };
1078
1078
  }
@@ -1086,7 +1086,7 @@ function _l(a) {
1086
1086
  e = b("h1"), l = F(t), u(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
1087
1087
  },
1088
1088
  m(s, n) {
1089
- L(s, e, n), c(e, l);
1089
+ S(s, e, n), c(e, l);
1090
1090
  },
1091
1091
  p(s, n) {
1092
1092
  n[1] & /*$_*/
@@ -1094,7 +1094,7 @@ function _l(a) {
1094
1094
  s[32]("faceCollector.lowQualityCapture") + "") && U(l, t);
1095
1095
  },
1096
1096
  d(s) {
1097
- s && S(e);
1097
+ s && D(e);
1098
1098
  }
1099
1099
  };
1100
1100
  }
@@ -1111,7 +1111,7 @@ function bl(a) {
1111
1111
  e = b("h1"), l = F(t), s = F(": "), m = F(n), u(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
1112
1112
  },
1113
1113
  m(r, o) {
1114
- L(r, e, o), c(e, l), c(e, s), c(e, m);
1114
+ S(r, e, o), c(e, l), c(e, s), c(e, m);
1115
1115
  },
1116
1116
  p(r, o) {
1117
1117
  o[1] & /*$_*/
@@ -1121,7 +1121,7 @@ function bl(a) {
1121
1121
  r[32]("faceCollector.unaliveCapture") + "") && U(m, n);
1122
1122
  },
1123
1123
  d(r) {
1124
- r && S(e);
1124
+ r && D(e);
1125
1125
  }
1126
1126
  };
1127
1127
  }
@@ -1141,7 +1141,7 @@ function gl(a) {
1141
1141
  e = b("h1"), l = F(t), s = F(": "), m = F(n), r = F("."), u(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
1142
1142
  },
1143
1143
  m(o, f) {
1144
- L(o, e, f), c(e, l), c(e, s), c(e, m), c(e, r);
1144
+ S(o, e, f), c(e, l), c(e, s), c(e, m), c(e, r);
1145
1145
  },
1146
1146
  p(o, f) {
1147
1147
  f[1] & /*$_*/
@@ -1155,36 +1155,36 @@ function gl(a) {
1155
1155
  ) + "") && U(m, n);
1156
1156
  },
1157
1157
  d(o) {
1158
- o && S(e);
1158
+ o && D(e);
1159
1159
  }
1160
1160
  };
1161
1161
  }
1162
1162
  function pl(a) {
1163
- let e, t, l, s, n = K(), m, r = (
1163
+ let e, t, l, s, n = V(), m, r = (
1164
1164
  /*unique*/
1165
1165
  a[13]
1166
- ), o, f, h, p, C, _, k, v, w, O, P, W, T, he, pe, q = !K() && !/*$ready*/
1167
- a[35], ue, fe = K() && /*waitingIdrndCaptureEvent*/
1168
- a[18], De, ve = K() && /*idrndLoading*/
1166
+ ), o, f, h, p, w, _, k, v, E, T, A, B, P, he, pe, j = !V() && !/*$ready*/
1167
+ a[35], ue, fe = V() && /*waitingIdrndCaptureEvent*/
1168
+ a[18], Ne, ve = V() && /*idrndLoading*/
1169
1169
  a[16] && /*$cameraStatusStore*/
1170
- a[20] === j.OK, Oe, Te, Y, Z, we, Ee = n && Za(a), de = pi(a), x = (
1170
+ a[20] === H.OK, Te, Oe, Y, Z, Ee, Ce = n && Za(a), de = pi(a), x = (
1171
1171
  /*showConfigButton*/
1172
1172
  a[4] && /*$ready*/
1173
1173
  a[35] && vi()
1174
1174
  ), $ = (
1175
1175
  /*showCameraButton*/
1176
1176
  a[6] && /*$ready*/
1177
- a[35] && Ei()
1178
- ), V = (
1177
+ a[35] && Ci()
1178
+ ), K = (
1179
1179
  /*showAutoCaptureButton*/
1180
1180
  a[5] && !/*$automaticCapture*/
1181
1181
  a[24] && !/*showCaptureButton*/
1182
1182
  a[2] && /*$ready*/
1183
- a[35] && wi()
1184
- ), z = (
1183
+ a[35] && Ei()
1184
+ ), q = (
1185
1185
  /*showCaptureButton*/
1186
1186
  a[2] && /*$ready*/
1187
- a[35] && Ci(a)
1187
+ a[35] && wi(a)
1188
1188
  ), ie = (
1189
1189
  /*isCountingDown*/
1190
1190
  a[12] && ki(a)
@@ -1195,34 +1195,34 @@ function pl(a) {
1195
1195
  a[36] && !/*$faceValidated*/
1196
1196
  a[25] && /*$faceValidationAlert*/
1197
1197
  a[26] && yi(a)
1198
- ), le = q && Ri(a), R = fe && Oi(a), B = ve && Ti(a), J = (
1198
+ ), le = j && Ri(a), R = fe && Ti(a), W = ve && Oi(a), z = (
1199
1199
  /*$captured*/
1200
1200
  a[23] && Ii(a)
1201
1201
  );
1202
- const Ce = [sl, ll], _e = [];
1202
+ const we = [sl, ll], _e = [];
1203
1203
  function Xe(g, M) {
1204
1204
  return (!/*idrndClosed*/
1205
1205
  g[17] || /*$captured*/
1206
1206
  g[23]) && /*showUnconformities*/
1207
1207
  g[3] ? 0 : (
1208
1208
  /*$cameraStatusStore*/
1209
- g[20] !== j.OK ? 1 : -1
1209
+ g[20] !== H.OK ? 1 : -1
1210
1210
  );
1211
1211
  }
1212
- return ~(Y = Xe(a)) && (Z = _e[Y] = Ce[Y](a)), {
1212
+ return ~(Y = Xe(a)) && (Z = _e[Y] = we[Y](a)), {
1213
1213
  c() {
1214
- e = b("div"), t = b("div"), l = b("div"), s = b("div"), Ee && Ee.c(), m = D(), de.c(), o = D(), x && x.c(), f = D(), $ && $.c(), h = D(), V && V.c(), p = D(), z && z.c(), C = D(), _ = b("canvas"), k = D(), v = b("canvas"), w = D(), O = b("canvas"), P = D(), ie && ie.c(), W = D(), ae && ae.c(), pe = D(), le && le.c(), ue = D(), R && R.c(), De = D(), B && B.c(), Oe = D(), J && J.c(), Te = D(), Z && Z.c(), this.c = te, u(_, "id", "bry-ce-displayCanvas"), u(_, "class", "max-w-full -scale-x-100"), u(v, "id", "bry-ce-detectionsCanvas"), u(v, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), u(O, "id", "bry-ce-maskCanvas"), u(O, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), u(s, "class", T = /*$ready*/
1214
+ e = b("div"), t = b("div"), l = b("div"), s = b("div"), Ce && Ce.c(), m = N(), de.c(), o = N(), x && x.c(), f = N(), $ && $.c(), h = N(), K && K.c(), p = N(), q && q.c(), w = N(), _ = b("canvas"), k = N(), v = b("canvas"), E = N(), T = b("canvas"), A = N(), ie && ie.c(), B = N(), ae && ae.c(), pe = N(), le && le.c(), ue = N(), R && R.c(), Ne = N(), W && W.c(), Te = N(), z && z.c(), Oe = N(), Z && Z.c(), this.c = te, u(_, "id", "bry-ce-displayCanvas"), u(_, "class", "max-w-full -scale-x-100"), u(v, "id", "bry-ce-detectionsCanvas"), u(v, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), u(T, "id", "bry-ce-maskCanvas"), u(T, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), u(s, "class", P = /*$ready*/
1215
1215
  a[35] ? "relative" : "relative w-0 h-0"), s.hidden = he = /*$cameraStatusStore*/
1216
- a[20] !== j.OK || K() && /*idrndLoading*/
1216
+ a[20] !== H.OK || V() && /*idrndLoading*/
1217
1217
  (a[16] || /*idrndClosed*/
1218
1218
  a[17] || /*waitingIdrndCaptureEvent*/
1219
1219
  a[18]), u(l, "class", "relative mx-auto"), u(t, "class", "flex flex-col justify-between");
1220
1220
  },
1221
1221
  m(g, M) {
1222
- L(g, e, M), c(e, t), c(t, l), c(l, s), Ee && Ee.m(s, null), c(s, m), de.m(s, null), c(s, o), x && x.m(s, null), c(s, f), $ && $.m(s, null), c(s, h), V && V.m(s, null), c(s, p), z && z.m(s, null), c(s, C), c(s, _), a[56](_), c(s, k), c(s, v), a[57](v), c(s, w), c(s, O), a[58](O), c(s, P), ie && ie.m(s, null), c(s, W), ae && ae.m(s, null), c(l, pe), le && le.m(l, null), c(l, ue), R && R.m(l, null), c(l, De), B && B.m(l, null), c(l, Oe), J && J.m(l, null), a[61](t), c(e, Te), ~Y && _e[Y].m(e, null), we = !0;
1222
+ S(g, e, M), c(e, t), c(t, l), c(l, s), Ce && Ce.m(s, null), c(s, m), de.m(s, null), c(s, o), x && x.m(s, null), c(s, f), $ && $.m(s, null), c(s, h), K && K.m(s, null), c(s, p), q && q.m(s, null), c(s, w), c(s, _), a[56](_), c(s, k), c(s, v), a[57](v), c(s, E), c(s, T), a[58](T), c(s, A), ie && ie.m(s, null), c(s, B), ae && ae.m(s, null), c(l, pe), le && le.m(l, null), c(l, ue), R && R.m(l, null), c(l, Ne), W && W.m(l, null), c(l, Te), z && z.m(l, null), a[61](t), c(e, Oe), ~Y && _e[Y].m(e, null), Ee = !0;
1223
1223
  },
1224
1224
  p(g, M) {
1225
- n && Ee.p(g, M), M[0] & /*unique*/
1225
+ n && Ce.p(g, M), M[0] & /*unique*/
1226
1226
  8192 && Xt(r, r = /*unique*/
1227
1227
  g[13]) ? (de.d(1), de = pi(g), de.c(), de.m(s, o)) : de.p(g, M), /*showConfigButton*/
1228
1228
  g[4] && /*$ready*/
@@ -1234,61 +1234,61 @@ function pl(a) {
1234
1234
  g[6] && /*$ready*/
1235
1235
  g[35] ? $ ? M[0] & /*showCameraButton*/
1236
1236
  64 | M[1] & /*$ready*/
1237
- 16 && G($, 1) : ($ = Ei(), $.c(), G($, 1), $.m(s, h)) : $ && (He(), ee($, 1, 1, () => {
1237
+ 16 && G($, 1) : ($ = Ci(), $.c(), G($, 1), $.m(s, h)) : $ && (He(), ee($, 1, 1, () => {
1238
1238
  $ = null;
1239
1239
  }), je()), /*showAutoCaptureButton*/
1240
1240
  g[5] && !/*$automaticCapture*/
1241
1241
  g[24] && !/*showCaptureButton*/
1242
1242
  g[2] && /*$ready*/
1243
- g[35] ? V ? M[0] & /*showAutoCaptureButton, $automaticCapture, showCaptureButton*/
1243
+ g[35] ? K ? M[0] & /*showAutoCaptureButton, $automaticCapture, showCaptureButton*/
1244
1244
  16777252 | M[1] & /*$ready*/
1245
- 16 && G(V, 1) : (V = wi(), V.c(), G(V, 1), V.m(s, p)) : V && (He(), ee(V, 1, 1, () => {
1246
- V = null;
1245
+ 16 && G(K, 1) : (K = Ei(), K.c(), G(K, 1), K.m(s, p)) : K && (He(), ee(K, 1, 1, () => {
1246
+ K = null;
1247
1247
  }), je()), /*showCaptureButton*/
1248
1248
  g[2] && /*$ready*/
1249
- g[35] ? z ? (z.p(g, M), M[0] & /*showCaptureButton*/
1249
+ g[35] ? q ? (q.p(g, M), M[0] & /*showCaptureButton*/
1250
1250
  4 | M[1] & /*$ready*/
1251
- 16 && G(z, 1)) : (z = Ci(g), z.c(), G(z, 1), z.m(s, C)) : z && (He(), ee(z, 1, 1, () => {
1252
- z = null;
1251
+ 16 && G(q, 1)) : (q = wi(g), q.c(), G(q, 1), q.m(s, w)) : q && (He(), ee(q, 1, 1, () => {
1252
+ q = null;
1253
1253
  }), je()), /*isCountingDown*/
1254
- g[12] ? ie ? ie.p(g, M) : (ie = ki(g), ie.c(), ie.m(s, W)) : ie && (ie.d(1), ie = null), /*$enableFaceApi*/
1254
+ g[12] ? ie ? ie.p(g, M) : (ie = ki(g), ie.c(), ie.m(s, B)) : ie && (ie.d(1), ie = null), /*$enableFaceApi*/
1255
1255
  g[34] && !/*isCountingDown*/
1256
1256
  g[12] && /*$faceFound*/
1257
1257
  g[36] && !/*$faceValidated*/
1258
1258
  g[25] && /*$faceValidationAlert*/
1259
- g[26] ? ae ? ae.p(g, M) : (ae = yi(g), ae.c(), ae.m(s, null)) : ae && (ae.d(1), ae = null), (!we || M[1] & /*$ready*/
1260
- 16 && T !== (T = /*$ready*/
1261
- g[35] ? "relative" : "relative w-0 h-0")) && u(s, "class", T), (!we || M[0] & /*$cameraStatusStore, idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
1259
+ g[26] ? ae ? ae.p(g, M) : (ae = yi(g), ae.c(), ae.m(s, null)) : ae && (ae.d(1), ae = null), (!Ee || M[1] & /*$ready*/
1260
+ 16 && P !== (P = /*$ready*/
1261
+ g[35] ? "relative" : "relative w-0 h-0")) && u(s, "class", P), (!Ee || M[0] & /*$cameraStatusStore, idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
1262
1262
  1507328 && he !== (he = /*$cameraStatusStore*/
1263
- g[20] !== j.OK || K() && /*idrndLoading*/
1263
+ g[20] !== H.OK || V() && /*idrndLoading*/
1264
1264
  (g[16] || /*idrndClosed*/
1265
1265
  g[17] || /*waitingIdrndCaptureEvent*/
1266
1266
  g[18]))) && (s.hidden = he), M[1] & /*$ready*/
1267
- 16 && (q = !K() && !/*$ready*/
1268
- g[35]), q ? le ? le.p(g, M) : (le = Ri(g), le.c(), le.m(l, ue)) : le && (le.d(1), le = null), M[0] & /*waitingIdrndCaptureEvent*/
1269
- 262144 && (fe = K() && /*waitingIdrndCaptureEvent*/
1270
- g[18]), fe ? R ? R.p(g, M) : (R = Oi(g), R.c(), R.m(l, De)) : R && (R.d(1), R = null), M[0] & /*idrndLoading, $cameraStatusStore*/
1271
- 1114112 && (ve = K() && /*idrndLoading*/
1267
+ 16 && (j = !V() && !/*$ready*/
1268
+ g[35]), j ? le ? le.p(g, M) : (le = Ri(g), le.c(), le.m(l, ue)) : le && (le.d(1), le = null), M[0] & /*waitingIdrndCaptureEvent*/
1269
+ 262144 && (fe = V() && /*waitingIdrndCaptureEvent*/
1270
+ g[18]), fe ? R ? R.p(g, M) : (R = Ti(g), R.c(), R.m(l, Ne)) : R && (R.d(1), R = null), M[0] & /*idrndLoading, $cameraStatusStore*/
1271
+ 1114112 && (ve = V() && /*idrndLoading*/
1272
1272
  g[16] && /*$cameraStatusStore*/
1273
- g[20] === j.OK), ve ? B ? B.p(g, M) : (B = Ti(g), B.c(), B.m(l, Oe)) : B && (B.d(1), B = null), /*$captured*/
1274
- g[23] ? J ? J.p(g, M) : (J = Ii(g), J.c(), J.m(l, null)) : J && (J.d(1), J = null);
1273
+ g[20] === H.OK), ve ? W ? W.p(g, M) : (W = Oi(g), W.c(), W.m(l, Te)) : W && (W.d(1), W = null), /*$captured*/
1274
+ g[23] ? z ? z.p(g, M) : (z = Ii(g), z.c(), z.m(l, null)) : z && (z.d(1), z = null);
1275
1275
  let Ie = Y;
1276
1276
  Y = Xe(g), Y === Ie ? ~Y && _e[Y].p(g, M) : (Z && (He(), ee(_e[Ie], 1, 1, () => {
1277
1277
  _e[Ie] = null;
1278
- }), je()), ~Y ? (Z = _e[Y], Z ? Z.p(g, M) : (Z = _e[Y] = Ce[Y](g), Z.c()), G(Z, 1), Z.m(e, null)) : Z = null);
1278
+ }), je()), ~Y ? (Z = _e[Y], Z ? Z.p(g, M) : (Z = _e[Y] = we[Y](g), Z.c()), G(Z, 1), Z.m(e, null)) : Z = null);
1279
1279
  },
1280
1280
  i(g) {
1281
- we || (G(x), G($), G(V), G(z), G(Z), we = !0);
1281
+ Ee || (G(x), G($), G(K), G(q), G(Z), Ee = !0);
1282
1282
  },
1283
1283
  o(g) {
1284
- ee(x), ee($), ee(V), ee(z), ee(Z), we = !1;
1284
+ ee(x), ee($), ee(K), ee(q), ee(Z), Ee = !1;
1285
1285
  },
1286
1286
  d(g) {
1287
- g && S(e), Ee && Ee.d(), de.d(g), x && x.d(), $ && $.d(), V && V.d(), z && z.d(), a[56](null), a[57](null), a[58](null), ie && ie.d(), ae && ae.d(), le && le.d(), R && R.d(), B && B.d(), J && J.d(), a[61](null), ~Y && _e[Y].d();
1287
+ g && D(e), Ce && Ce.d(), de.d(g), x && x.d(), $ && $.d(), K && K.d(), q && q.d(), a[56](null), a[57](null), a[58](null), ie && ie.d(), ae && ae.d(), le && le.d(), R && R.d(), W && W.d(), z && z.d(), a[61](null), ~Y && _e[Y].d();
1288
1288
  }
1289
1289
  };
1290
1290
  }
1291
- let vl = 5, Di = 3e3;
1291
+ let vl = 5, Ni = 3e3;
1292
1292
  function Fi(a, e, t) {
1293
1293
  const l = e.videoHeight >= e.videoWidth && t.height >= t.width || e.videoHeight < e.videoWidth && t.height < t.width;
1294
1294
  a.drawImage(
@@ -1303,15 +1303,15 @@ function Fi(a, e, t) {
1303
1303
  t.height
1304
1304
  );
1305
1305
  }
1306
- function El(a, e, t) {
1307
- let l, s, n, m, r, o, f, h, p, C, _, k, v, w, O, P, W, T, he, pe, q, ue, fe, De, ve, Oe, Te, Y, Z, we, Ee, de, x, $, V, z, ie, ae, le;
1308
- N(a, Mt, (i) => t(78, l = i)), N(a, ce, (i) => t(20, n = i)), N(a, va, (i) => t(80, m = i)), N(a, mt, (i) => t(81, r = i)), N(a, Ne, (i) => t(21, o = i)), N(a, Ea, (i) => t(82, f = i)), N(a, Le, (i) => t(22, h = i)), N(a, Be, (i) => t(23, p = i)), N(a, Wt, (i) => t(83, C = i)), N(a, ni, (i) => t(84, _ = i)), N(a, lt, (i) => t(24, k = i)), N(a, Ut, (i) => t(25, v = i)), N(a, wa, (i) => t(85, w = i)), N(a, oi, (i) => t(26, O = i)), N(a, Se, (i) => t(27, P = i)), N(a, tt, (i) => t(86, W = i)), N(a, re, (i) => t(28, T = i)), N(a, Bt, (i) => t(29, he = i)), N(a, Kt, (i) => t(30, pe = i)), N(a, ye, (i) => t(31, q = i)), N(a, Bi, (i) => t(32, ue = i)), N(a, Ca, (i) => t(87, De = i)), N(a, ka, (i) => t(34, ve = i)), N(a, ya, (i) => t(88, Oe = i)), N(a, ri, (i) => t(89, Te = i)), N(a, ht, (i) => t(90, Y = i)), N(a, _t, (i) => t(35, Z = i)), N(a, Vt, (i) => t(91, we = i)), N(a, Ra, (i) => t(92, Ee = i)), N(a, bt, (i) => t(93, de = i)), N(a, ci, (i) => t(94, x = i)), N(a, ui, (i) => t(95, $ = i)), N(a, gt, (i) => t(96, V = i)), N(a, fi, (i) => t(36, z = i)), N(a, Oa, (i) => t(37, ie = i)), N(a, Ta, (i) => t(38, ae = i)), N(a, Ia, (i) => t(39, le = i));
1309
- let R, B, J, Ce = !1, _e = {}, Xe = !1, { enableMinutiae: g } = e, { videoDimensions: M } = e, { noTabs: Ie } = e, { weightsPath: Ot } = e, { evaluatePhoto: ke } = e, { showCaptureButton: Tt } = e, { showUnconformities: Gt } = e, { videoOverlay: nt } = e, { videoOverlayTransparency: Qe } = e, { showConfigButton: Yt } = e, { showAutoCaptureButton: Ge } = e, { showCameraButton: Zt } = e, { showJustificationField: xt } = e, { minEyeToEyeDist: Ye } = e;
1306
+ function Cl(a, e, t) {
1307
+ let l, s, n, m, r, o, f, h, p, w, _, k, v, E, T, A, B, P, he, pe, j, ue, fe, Ne, ve, Te, Oe, Y, Z, Ee, Ce, de, x, $, K, q, ie, ae, le;
1308
+ L(a, Mt, (i) => t(78, l = i)), L(a, re, (i) => t(20, n = i)), L(a, va, (i) => t(80, m = i)), L(a, mt, (i) => t(81, r = i)), L(a, Le, (i) => t(21, o = i)), L(a, Ca, (i) => t(82, f = i)), L(a, Se, (i) => t(22, h = i)), L(a, We, (i) => t(23, p = i)), L(a, Bt, (i) => t(83, w = i)), L(a, ni, (i) => t(84, _ = i)), L(a, lt, (i) => t(24, k = i)), L(a, Ut, (i) => t(25, v = i)), L(a, Ea, (i) => t(85, E = i)), L(a, oi, (i) => t(26, T = i)), L(a, De, (i) => t(27, A = i)), L(a, tt, (i) => t(86, B = i)), L(a, ce, (i) => t(28, P = i)), L(a, Wt, (i) => t(29, he = i)), L(a, Vt, (i) => t(30, pe = i)), L(a, ye, (i) => t(31, j = i)), L(a, Wi, (i) => t(32, ue = i)), L(a, wa, (i) => t(87, Ne = i)), L(a, ka, (i) => t(34, ve = i)), L(a, ya, (i) => t(88, Te = i)), L(a, ri, (i) => t(89, Oe = i)), L(a, ht, (i) => t(90, Y = i)), L(a, _t, (i) => t(35, Z = i)), L(a, Kt, (i) => t(91, Ee = i)), L(a, Ra, (i) => t(92, Ce = i)), L(a, bt, (i) => t(93, de = i)), L(a, ci, (i) => t(94, x = i)), L(a, ui, (i) => t(95, $ = i)), L(a, gt, (i) => t(96, K = i)), L(a, fi, (i) => t(36, q = i)), L(a, Ta, (i) => t(37, ie = i)), L(a, Oa, (i) => t(38, ae = i)), L(a, Ia, (i) => t(39, le = i));
1309
+ let R, W, z, we = !1, _e = {}, Xe = !1, { enableMinutiae: g } = e, { videoDimensions: M } = e, { noTabs: Ie } = e, { weightsPath: Tt } = e, { evaluatePhoto: ke } = e, { showCaptureButton: Ot } = e, { showUnconformities: Gt } = e, { videoOverlay: nt } = e, { videoOverlayTransparency: Qe } = e, { showConfigButton: Yt } = e, { showAutoCaptureButton: Ge } = e, { showCameraButton: Zt } = e, { showJustificationField: xt } = e, { minEyeToEyeDist: Ye } = e;
1310
1310
  const ot = hi(!1);
1311
- N(a, ot, (i) => t(79, s = i));
1311
+ L(a, ot, (i) => t(79, s = i));
1312
1312
  const Ze = hi("data:image/png;base64");
1313
- N(a, Ze, (i) => t(33, fe = i));
1314
- let { widgetInstance: ne } = e, Ae, X, rt = !1, $t = !1, ct = !0, be = !0, ut = !1, ei = 0, ge = "", It = 0, At = !0, Pt = 0, Nt = !1;
1313
+ L(a, Ze, (i) => t(33, fe = i));
1314
+ let { widgetInstance: ne } = e, Ae, J, rt = !1, $t = !1, ct = !0, be = !0, ut = !1, ei = 0, ge = "", It = 0, At = !0, Pt = 0, Lt = !1;
1315
1315
  const xe = Aa.mixin({
1316
1316
  toast: !0,
1317
1317
  position: "bottom-left",
@@ -1319,62 +1319,62 @@ function El(a, e, t) {
1319
1319
  timerProgressBar: !0
1320
1320
  });
1321
1321
  Pa(async () => {
1322
- d(ht, Y = !0, Y), d(_t, Z = !1, Z), d(fi, z = !1, z), d(Be, p = !1, p), d(mt, r = Ht.FRONT_CAMERA, r), d(ce, n = j.OK, n), Ge && d(lt, k = !1, k), K() && (import("./index-no-detector_4b302e78_2.2.19.js"), Vi()), ve && (await Na(Ot), Xe = !0), await Fe(), ji();
1322
+ d(ht, Y = !0, Y), d(_t, Z = !1, Z), d(fi, q = !1, q), d(We, p = !1, p), d(mt, r = Ht.FRONT_CAMERA, r), d(re, n = H.OK, n), Ge && d(lt, k = !1, k), V() && (import("./index-no-detector_4b302e78_2.2.20.js"), Ki()), ve && (await La(Tt), Xe = !0), await Fe(), ji();
1323
1323
  });
1324
- function Lt(i, E) {
1325
- i.clearRect(0, 0, X.width, X.height), i.save(), nt != "none" ? (Qe > 0 && (i.globalAlpha = Qe / 100), i.fillStyle = nt, i.fillRect(0, 0, X.width, X.height)) : (i.beginPath(), i.rect(0, 0, X.width, X.height));
1326
- let y = X.height * 0.8;
1327
- const I = h.videoWidth / 2;
1328
- let A = h.videoHeight * 0.5;
1329
- (Ge || Tt) && (A = h.videoHeight * 0.44), Re() && (y = X.height * 0.65, A = h.videoHeight * 0.51);
1330
- const Q = y / 1.45;
1331
- d(gt, V.width = Q, V), d(gt, V.height = y, V), d(gt, V.y = A, V), i.ellipse(I, A, Q / 2, y / 2, 0, 0, 2 * Math.PI, !0), Qe == 0 && i.clip(), Fi(i, E, X), i.restore(), i.save(), i.beginPath();
1332
- const We = window.getComputedStyle(X).getPropertyValue("--p"), Ue = window.getComputedStyle(X).getPropertyValue("--su");
1333
- if (i.strokeStyle = `hsl(${We})`, i.lineWidth = 16, i.ellipse(I, A, Q / 2, y / 2, 0, 0, 2 * Math.PI), i.stroke(), Ce && !Nt) {
1334
- const et = 1 - (Pt - (/* @__PURE__ */ new Date()).getTime()) / Di;
1335
- i.save(), i.beginPath(), i.lineWidth = 16, i.strokeStyle = `hsl(${Ue})`, i.ellipse(I, A, Q / 2, y / 2, 0, 0 - Math.PI / 2, 1.5 * (Math.PI * 2 * et) - Math.PI / 2), i.stroke();
1324
+ function St(i, C) {
1325
+ i.clearRect(0, 0, J.width, J.height), i.save(), nt != "none" ? (Qe > 0 && (i.globalAlpha = Qe / 100), i.fillStyle = nt, i.fillRect(0, 0, J.width, J.height)) : (i.beginPath(), i.rect(0, 0, J.width, J.height));
1326
+ let y = J.height * 0.8;
1327
+ const O = h.videoWidth / 2;
1328
+ let I = h.videoHeight * 0.5;
1329
+ (Ge || Ot) && (I = h.videoHeight * 0.44), Re() && (y = J.height * 0.65, I = h.videoHeight * 0.51);
1330
+ const X = y / 1.45;
1331
+ d(gt, K.width = X, K), d(gt, K.height = y, K), d(gt, K.y = I, K), i.ellipse(O, I, X / 2, y / 2, 0, 0, 2 * Math.PI, !0), Qe == 0 && i.clip(), Fi(i, C, J), i.restore(), i.save(), i.beginPath();
1332
+ const Be = window.getComputedStyle(J).getPropertyValue("--p"), Ue = window.getComputedStyle(J).getPropertyValue("--su");
1333
+ if (i.strokeStyle = `hsl(${Be})`, i.lineWidth = 16, i.ellipse(O, I, X / 2, y / 2, 0, 0, 2 * Math.PI), i.stroke(), we && !Lt) {
1334
+ const et = 1 - (Pt - (/* @__PURE__ */ new Date()).getTime()) / Ni;
1335
+ i.save(), i.beginPath(), i.lineWidth = 16, i.strokeStyle = `hsl(${Ue})`, i.ellipse(O, I, X / 2, y / 2, 0, 0 - Math.PI / 2, 1.5 * (Math.PI * 2 * et) - Math.PI / 2), i.stroke();
1336
1336
  }
1337
1337
  i.beginPath();
1338
1338
  const se = new Path2D();
1339
- se.ellipse(I, A, Q / 2, y / 2, 0, 0, 2 * Math.PI), i.clip(se), Fi(i, E, X), i.restore();
1339
+ se.ellipse(O, I, X / 2, y / 2, 0, 0, 2 * Math.PI), i.clip(se), Fi(i, C, J), i.restore();
1340
1340
  }
1341
- function Vi() {
1341
+ function Ki() {
1342
1342
  ne.addEventListener("open", (i) => {
1343
- const E = i.detail[0].video;
1343
+ const C = i.detail[0].video;
1344
1344
  d(
1345
1345
  ui,
1346
1346
  $ = {
1347
- width: E.videoWidth,
1348
- height: E.videoHeight
1347
+ width: C.videoWidth,
1348
+ height: C.videoHeight
1349
1349
  },
1350
1350
  $
1351
- ), t(9, R.srcObject = E.srcObject, R), t(16, ct = !1);
1351
+ ), t(9, R.srcObject = C.srcObject, R), t(16, ct = !1);
1352
1352
  function y() {
1353
- be || (Lt(X.getContext("2d"), E), Ke(R, y, !0));
1353
+ be || (St(J.getContext("2d"), C), Ve(R, y, !0));
1354
1354
  }
1355
1355
  y();
1356
1356
  }), ne.addEventListener("error", (i) => {
1357
- console.error(i), i.detail[0].message === "Device in use" ? d(ce, n = j.CAMERA_IN_USE_ERROR, n) : i.detail[0].message === "Permission denied" || i.detail[0].message === "Permission dismissed" ? d(ce, n = j.CAMERA_DENIED_ERROR, n) : i.detail[0].message === "Requested device not found" && d(ce, n = j.DEVICE_NOT_FOUND_ERROR, n), t(16, ct = !1);
1357
+ console.error(i), i.detail[0].message === "Device in use" ? d(re, n = H.CAMERA_IN_USE_ERROR, n) : i.detail[0].message === "Permission denied" || i.detail[0].message === "Permission dismissed" ? d(re, n = H.CAMERA_DENIED_ERROR, n) : i.detail[0].message === "Requested device not found" && d(re, n = H.DEVICE_NOT_FOUND_ERROR, n), t(16, ct = !1);
1358
1358
  }), ne.addEventListener("faceDetection", (i) => {
1359
1359
  }), ne.addEventListener("close", async (i) => {
1360
- p || (rt = !1), t(17, be = !0), t(18, ut = !1), n === j.OK && d(ce, n = j.CAMERA_CLOSED_ERROR, n);
1360
+ p || (rt = !1), t(17, be = !0), t(18, ut = !1), n === H.OK && d(re, n = H.CAMERA_CLOSED_ERROR, n);
1361
1361
  }), ne.addEventListener("initialize", async (i) => {
1362
1362
  $t = !0, d(ci, x = !0, x);
1363
1363
  }), ne.addEventListener("capture", async (i) => {
1364
1364
  t(19, ge = "");
1365
- const { encryptedFile: E, photo: y } = i.detail[0];
1366
- d(bt, de = E, de), t(18, ut = !1), d(re, T = H.OK, T), d(Se, P.isLoading = !0, P), d(Be, p = !0, p), rt = !1;
1367
- const I = (await pt(y)).split(",");
1368
- if (d(Ze, fe = I[0], fe), d(ye, q = I[1], q), d(tt, W = I[1], W), !Ee) {
1365
+ const { encryptedFile: C, photo: y } = i.detail[0];
1366
+ d(bt, de = C, de), t(18, ut = !1), d(ce, P = Q.OK, P), d(De, A.isLoading = !0, A), d(We, p = !0, p), rt = !1;
1367
+ const O = (await pt(y)).split(",");
1368
+ if (d(Ze, fe = O[0], fe), d(ye, j = O[1], j), d(tt, B = O[1], B), !Ce) {
1369
1369
  let se, et;
1370
1370
  try {
1371
- ({ bodyParts: se, icaoWarnings: et } = await vt(W, ke, (await pt(E)).split(",")[1])), window.dispatchEvent(new CustomEvent(
1371
+ ({ bodyParts: se, icaoWarnings: et } = await vt(B, ke, (await pt(C)).split(",")[1])), window.dispatchEvent(new CustomEvent(
1372
1372
  "face-unconformities-validated",
1373
1373
  {
1374
1374
  detail: {
1375
1375
  bodyParts: se,
1376
1376
  icaoWarnings: et,
1377
- status: T
1377
+ status: P
1378
1378
  }
1379
1379
  }
1380
1380
  ));
@@ -1385,193 +1385,193 @@ function El(a, e, t) {
1385
1385
  if (Pe.response.data && Array.isArray(Pe.response.data.bodyParts)) {
1386
1386
  Ft = Pe.response.data.bodyParts, li = Pe.response.data.icaoWarnings;
1387
1387
  const si = Ft.find((pa) => pa.livenessResult.error);
1388
- dt = si?.livenessResult.error_code, d(re, T = H.LIVENESS_DETECTION_FAILURE, T), si?.livenessResult.error_code || d(re, T = H.UNKNOWN_LIVENESS_ERROR, T), t(19, ge = it[dt]), console.error("Liveness error:", dt);
1388
+ dt = si?.livenessResult.error_code, d(ce, P = Q.LIVENESS_DETECTION_FAILURE, P), si?.livenessResult.error_code || d(ce, P = Q.UNKNOWN_LIVENESS_ERROR, P), t(19, ge = it[dt]), console.error("Liveness error:", dt);
1389
1389
  } else
1390
- d(re, T = H.TEMPLATE_EXTRACTION_ERROR, T);
1390
+ d(ce, P = Q.TEMPLATE_EXTRACTION_ERROR, P);
1391
1391
  else
1392
- d(re, T = H.UNKNOWN_TEMPLATE_EXTRACTION_ERROR, T), ke && (d(re, T = H.UNKNOWN_LIVENESS_ERROR, T), xe.fire({
1392
+ d(ce, P = Q.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE, P), ke && xe.fire({
1393
1393
  icon: "error",
1394
1394
  title: "Falha ao comunicar com serviço de Liveness"
1395
- }));
1396
- d(Se, P.isLoading = !1, P), window.dispatchEvent(new CustomEvent(
1395
+ });
1396
+ d(De, A.isLoading = !1, A), window.dispatchEvent(new CustomEvent(
1397
1397
  "face-unconformities-validated",
1398
1398
  {
1399
1399
  detail: {
1400
1400
  bodyParts: Ft,
1401
1401
  errorCode: dt,
1402
1402
  translatedError: ue(ge),
1403
- status: T,
1403
+ status: P,
1404
1404
  icaoWarnings: li
1405
1405
  }
1406
1406
  }
1407
1407
  ));
1408
1408
  return;
1409
1409
  }
1410
- if (T !== H.OK) {
1411
- d(Se, P.isLoading = !1, P);
1410
+ if (P !== Q.OK) {
1411
+ d(De, A.isLoading = !1, A);
1412
1412
  return;
1413
1413
  }
1414
- se[0].livenessResult && ii(se[0].livenessResult), se.length !== 0 && se[0].data && d(ye, q = se[0].data, q), Et(et);
1414
+ se[0].livenessResult && ii(se[0].livenessResult), se.length !== 0 && se[0].data && d(ye, j = se[0].data, j), Ct(et);
1415
1415
  return;
1416
1416
  }
1417
- let A, Q;
1417
+ let I, X;
1418
1418
  try {
1419
- Q = await La(E), ii(Q.data);
1419
+ X = await Sa(C), ii(X.data);
1420
1420
  } catch (se) {
1421
- d(re, T = H.UNKNOWN_LIVENESS_ERROR, T), console.error(se), se instanceof jt && se.response?.status === 400 ? (A = se.response.data.error_code, t(19, ge = it[A]), console.error("Liveness error:", A), d(re, T = H.LIVENESS_DETECTION_FAILURE, T)) : xe.fire({
1421
+ d(ce, P = Q.UNKNOWN_LIVENESS_ERROR, P), console.error(se), se instanceof jt && se.response?.status === 400 ? (I = se.response.data.error_code, t(19, ge = it[I]), console.error("Liveness error:", I), d(ce, P = Q.LIVENESS_DETECTION_FAILURE, P)) : xe.fire({
1422
1422
  icon: "error",
1423
1423
  title: "Falha ao comunicar com serviço de Liveness"
1424
1424
  });
1425
1425
  }
1426
- if (T !== H.OK) {
1427
- d(Se, P.isLoading = !1, P), window.dispatchEvent(new CustomEvent(
1426
+ if (P !== Q.OK) {
1427
+ d(De, A.isLoading = !1, A), window.dispatchEvent(new CustomEvent(
1428
1428
  "face-unconformities-validated",
1429
1429
  {
1430
1430
  detail: {
1431
1431
  bodyParts: [
1432
1432
  {
1433
1433
  bodyPart: "FACE",
1434
- data: W,
1435
- livenessBlob: (await pt(E)).split(",")[1],
1436
- ...Q && { livenessResult: Q }
1434
+ data: B,
1435
+ livenessBlob: (await pt(C)).split(",")[1],
1436
+ ...X && { livenessResult: X }
1437
1437
  }
1438
1438
  ],
1439
- ...A && { errorCode: A },
1439
+ ...I && { errorCode: I },
1440
1440
  ...ge && { translatedError: ue(ge) },
1441
- status: T
1441
+ status: P
1442
1442
  }
1443
1443
  }
1444
1444
  ));
1445
1445
  return;
1446
1446
  }
1447
- let { bodyParts: We, icaoWarnings: Ue } = await vt(W, ke);
1447
+ let { bodyParts: Be, icaoWarnings: Ue } = await vt(B, ke);
1448
1448
  window.dispatchEvent(new CustomEvent(
1449
1449
  "face-unconformities-validated",
1450
1450
  {
1451
1451
  detail: {
1452
- bodyParts: We,
1452
+ bodyParts: Be,
1453
1453
  icaoWarnings: Ue,
1454
- status: T,
1455
- errorCode: A,
1454
+ status: P,
1455
+ errorCode: I,
1456
1456
  ...ge && { translatedError: ue(ge) }
1457
1457
  }
1458
1458
  }
1459
- )), We[0].data && d(ye, q = We[0].data, q), Et(Ue);
1459
+ )), Be[0].data && d(ye, j = Be[0].data, j), Ct(Ue);
1460
1460
  });
1461
1461
  }
1462
1462
  async function Fe(i) {
1463
- const [E, y] = (M ?? "")?.replaceAll(" ", "")?.split("x")?.map((I) => I ? parseInt(I) : void 0);
1464
- if (!(!E || !y)) {
1465
- if (d(Le, h = { videoWidth: E, videoHeight: y }, h), K() && y < E && Re() && d(Le, h = { videoWidth: y, videoHeight: E }, h), K()) {
1466
- St();
1463
+ const [C, y] = (M ?? "")?.replaceAll(" ", "")?.split("x")?.map((O) => O ? parseInt(O) : void 0);
1464
+ if (!(!C || !y)) {
1465
+ if (d(Se, h = { videoWidth: C, videoHeight: y }, h), V() && y < C && Re() && d(Se, h = { videoWidth: y, videoHeight: C }, h), V()) {
1466
+ Dt();
1467
1467
  return;
1468
1468
  }
1469
- await Hi(E, y, i);
1469
+ await Hi(C, y, i);
1470
1470
  }
1471
1471
  }
1472
- async function St() {
1473
- if (K() && (d(ce, n = j.OK, n), ne && "openCamera" in ne && ne.openCamera(), rt = !0, t(17, be = !1), t(16, ct = !0), !f[0]?.deviceId)) {
1474
- const [i, E] = (M ?? "")?.replaceAll(" ", "")?.split("x")?.map((y) => y ? parseInt(y) : void 0);
1475
- if (!i || !E)
1472
+ async function Dt() {
1473
+ if (V() && (d(re, n = H.OK, n), ne && "openCamera" in ne && ne.openCamera(), rt = !0, t(17, be = !1), t(16, ct = !0), !f[0]?.deviceId)) {
1474
+ const [i, C] = (M ?? "")?.replaceAll(" ", "")?.split("x")?.map((y) => y ? parseInt(y) : void 0);
1475
+ if (!i || !C)
1476
1476
  return;
1477
- await di(i, E, r), await qt();
1477
+ await di(i, C, r), await qt();
1478
1478
  }
1479
1479
  }
1480
1480
  async function $e() {
1481
1481
  if (ve && !Xe)
1482
- return Ke(R, $e);
1482
+ return Ve(R, $e);
1483
1483
  if (R) {
1484
- if (we !== Jt.Face && !Ie)
1485
- return Ke(R, $e);
1486
- d(_t, Z = !0, Z), d(ht, Y = !1, Y), ve ? (s || d(ot, s = !0, s), K() || Lt(X.getContext("2d"), R), Ke(R, $e)) : (Lt(X.getContext("2d"), R), Ke(R, $e));
1484
+ if (Ee !== Jt.Face && !Ie)
1485
+ return Ve(R, $e);
1486
+ d(_t, Z = !0, Z), d(ht, Y = !1, Y), ve ? (s || d(ot, s = !0, s), V() || St(J.getContext("2d"), R), Ve(R, $e)) : (St(J.getContext("2d"), R), Ve(R, $e));
1487
1487
  }
1488
1488
  }
1489
1489
  async function ti() {
1490
- if (Te && (mi(), d(ri, Te = !1, Te)), Ye > 0 && Oe < Ye) {
1490
+ if (Oe && (mi(), d(ri, Oe = !1, Oe)), Ye > 0 && Te < Ye) {
1491
1491
  let i = "FACE_MUITO_PEQUENA";
1492
- const E = _i[i];
1492
+ const C = _i[i];
1493
1493
  i = _i.FACE_MUITO_PEQUENA, window.dispatchEvent(new CustomEvent(
1494
1494
  "low-quality-face",
1495
1495
  {
1496
1496
  detail: {
1497
1497
  errorCode: i,
1498
- translatedError: ue(E),
1498
+ translatedError: ue(C),
1499
1499
  bodyParts: [
1500
1500
  {
1501
1501
  bodyPart: "FACE",
1502
1502
  minEyeToEyeDist: Ye,
1503
- capturedEyeToEyeDist: Oe
1503
+ capturedEyeToEyeDist: Te
1504
1504
  }
1505
1505
  ]
1506
1506
  }
1507
1507
  }
1508
1508
  )), xe.fire({
1509
1509
  icon: "error",
1510
- title: ue(E)
1510
+ title: ue(C)
1511
1511
  });
1512
1512
  return;
1513
1513
  }
1514
- if (d(re, T = H.OK, T), K()) {
1514
+ if (d(ce, P = Q.OK, P), V()) {
1515
1515
  t(18, ut = !0), ne.takePhoto();
1516
1516
  return;
1517
1517
  }
1518
- d(Be, p = !0, p);
1518
+ d(We, p = !0, p);
1519
1519
  try {
1520
1520
  if (ve) {
1521
- const [i] = await (await import("./face_api_0e3ce8c8_2.2.19.js")).extractFaces(R, [De]), E = i.toDataURL("image/jpeg").split(",");
1522
- d(Ze, fe = E[0], fe), d(ye, q = E[1], q), d(tt, W = E[1], W);
1523
- let y, I;
1524
- ({ bodyParts: y, icaoWarnings: I } = await vt(q, ke)), window.dispatchEvent(new CustomEvent(
1521
+ const [i] = await (await import("./face_api_0e3ce8c8_2.2.20.js")).extractFaces(R, [Ne]), C = i.toDataURL("image/jpeg").split(",");
1522
+ d(Ze, fe = C[0], fe), d(ye, j = C[1], j), d(tt, B = C[1], B);
1523
+ let y, O;
1524
+ ({ bodyParts: y, icaoWarnings: O } = await vt(j, ke)), window.dispatchEvent(new CustomEvent(
1525
1525
  "face-unconformities-validated",
1526
1526
  {
1527
1527
  detail: {
1528
1528
  bodyParts: y,
1529
- icaoWarnings: I,
1530
- status: T
1529
+ icaoWarnings: O,
1530
+ status: P
1531
1531
  }
1532
1532
  }
1533
- )), y.length !== 0 && y[0].data && d(ye, q = y[0].data, q), Et(I);
1533
+ )), y.length !== 0 && y[0].data && d(ye, j = y[0].data, j), Ct(O);
1534
1534
  } else {
1535
- const i = document.createElement("canvas"), E = i.getContext("2d");
1536
- i.width = R.width, i.height = R.height, E?.drawImage(R, 0, 0, i.width, i.height);
1535
+ const i = document.createElement("canvas"), C = i.getContext("2d");
1536
+ i.width = R.width, i.height = R.height, C?.drawImage(R, 0, 0, i.width, i.height);
1537
1537
  const y = i.toDataURL("image/jpeg").split(",");
1538
- d(Ze, fe = y[0], fe), d(ye, q = y[1], q), d(tt, W = y[1], W);
1539
- let { bodyParts: I, icaoWarnings: A } = await vt(q, ke);
1538
+ d(Ze, fe = y[0], fe), d(ye, j = y[1], j), d(tt, B = y[1], B);
1539
+ let { bodyParts: O, icaoWarnings: I } = await vt(j, ke);
1540
1540
  window.dispatchEvent(new CustomEvent(
1541
1541
  "face-unconformities-validated",
1542
1542
  {
1543
1543
  detail: {
1544
- bodyParts: I,
1545
- icaoWarnings: A,
1546
- status: T
1544
+ bodyParts: O,
1545
+ icaoWarnings: I,
1546
+ status: P
1547
1547
  }
1548
1548
  }
1549
- )), I.length !== 0 && I[0].data && d(ye, q = I[0].data, q), Et(A);
1549
+ )), O.length !== 0 && O[0].data && d(ye, j = O[0].data, j), Ct(I);
1550
1550
  }
1551
1551
  } catch (i) {
1552
1552
  console.error(i);
1553
- let E = it.UNKNOWN, y = [], I = [];
1553
+ let C = it.UNKNOWN, y = [], O = [];
1554
1554
  if (i instanceof jt && i.response?.status === 400)
1555
1555
  if (i.response.data && Array.isArray(i.response.data.bodyParts)) {
1556
- y = i.response.data.bodyParts, I = i.response.data.icaoWarnings;
1557
- const A = y.find((Q) => Q.livenessResult.error);
1558
- E = A?.livenessResult.error_code, d(re, T = H.LIVENESS_DETECTION_FAILURE, T), A?.livenessResult.error_code || d(re, T = H.UNKNOWN_LIVENESS_ERROR, T), t(19, ge = it[E]), console.error("Liveness error:", E);
1556
+ y = i.response.data.bodyParts, O = i.response.data.icaoWarnings;
1557
+ const I = y.find((X) => X.livenessResult.error);
1558
+ C = I?.livenessResult.error_code, d(ce, P = Q.LIVENESS_DETECTION_FAILURE, P), I?.livenessResult.error_code || d(ce, P = Q.UNKNOWN_LIVENESS_ERROR, P), t(19, ge = it[C]), console.error("Liveness error:", C);
1559
1559
  } else
1560
- d(re, T = H.TEMPLATE_EXTRACTION_ERROR, T);
1560
+ d(ce, P = Q.TEMPLATE_EXTRACTION_ERROR, P);
1561
1561
  else
1562
- d(re, T = H.UNKNOWN_TEMPLATE_EXTRACTION_ERROR, T), ke && (d(re, T = H.UNKNOWN_LIVENESS_ERROR, T), xe.fire({
1562
+ d(ce, P = Q.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE, P), ke && xe.fire({
1563
1563
  icon: "error",
1564
1564
  title: "Falha ao comunicar com serviço de Liveness"
1565
- }));
1566
- d(Se, P.isLoading = !1, P), window.dispatchEvent(new CustomEvent(
1565
+ });
1566
+ d(De, A.isLoading = !1, A), window.dispatchEvent(new CustomEvent(
1567
1567
  "face-unconformities-validated",
1568
1568
  {
1569
1569
  detail: {
1570
1570
  bodyParts: y,
1571
- errorCode: E,
1571
+ errorCode: C,
1572
1572
  translatedError: ue(ge),
1573
- status: T,
1574
- icaoWarnings: I
1573
+ status: P,
1574
+ icaoWarnings: O
1575
1575
  }
1576
1576
  }
1577
1577
  ));
@@ -1581,132 +1581,132 @@ function El(a, e, t) {
1581
1581
  function ft() {
1582
1582
  const i = {
1583
1583
  bodyPart: "FACE",
1584
- data: q,
1584
+ data: j,
1585
1585
  justification: pe
1586
1586
  };
1587
- d(Bt, he = !0, he), kt(bt) && pt(kt(bt)).then((E) => {
1588
- i.livenessBlob = E.split(",")[1];
1587
+ d(Wt, he = !0, he), kt(bt) && pt(kt(bt)).then((C) => {
1588
+ i.livenessBlob = C.split(",")[1];
1589
1589
  }), window.dispatchEvent(new CustomEvent("export-face", { detail: i }));
1590
1590
  }
1591
1591
  function Me() {
1592
- window.dispatchEvent(new CustomEvent("face-scrapped")), d(Bt, he = !1, he), d(re, T = H.OK, T), d(Be, p = !1, p), d(tt, W = "", W), d(Se, P.unconformities = [], P);
1592
+ window.dispatchEvent(new CustomEvent("face-scrapped")), d(Wt, he = !1, he), d(ce, P = Q.OK, P), d(We, p = !1, p), d(tt, B = "", B), d(De, A.unconformities = [], A);
1593
1593
  const i = kt(zt);
1594
- i.closedMouth = !1, i.isPersonCloseEnough = !1, i.isPersonTooclose = !0, i.isPersonInFrame = !1, d(oi, O = "", O), d(Ut, v = !0, v), Ge && d(lt, k = !1, k), zt.set(i), be && St();
1594
+ i.closedMouth = !1, i.isPersonCloseEnough = !1, i.isPersonTooclose = !0, i.isPersonInFrame = !1, d(oi, T = "", T), d(Ut, v = !0, v), Ge && d(lt, k = !1, k), zt.set(i), be && Dt();
1595
1595
  }
1596
1596
  function ii(i) {
1597
- let E = "", y = "success";
1598
- i.isAlive ? E = `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 && (y = "error", E = `Vivacidade de face (${i.face_liveness.probability.toFixed(2)}) e de captura (${i.capture_liveness.probability}, ${i.capture_liveness.score.toFixed(2)}) insuficientes!`), w && xe.fire({ icon: y, title: E });
1597
+ let C = "", y = "success";
1598
+ i.isAlive ? C = `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 && (y = "error", C = `Vivacidade de face (${i.face_liveness.probability.toFixed(2)}) e de captura (${i.capture_liveness.probability}, ${i.capture_liveness.score.toFixed(2)}) insuficientes!`), E && xe.fire({ icon: y, title: C });
1599
1599
  }
1600
- async function Hi(i, E, y) {
1600
+ async function Hi(i, C, y) {
1601
1601
  try {
1602
- const { deviceId: I, width: A, height: Q, aspectRatio: We, facingMode: Ue, touchPoints: se } = await di(i, E, r, y);
1603
- A < i && Q < E && d(
1604
- Le,
1602
+ const { deviceId: O, width: I, height: X, aspectRatio: Be, facingMode: Ue, touchPoints: se } = await di(i, C, r, y);
1603
+ I < i && X < C && d(
1604
+ Se,
1605
1605
  h = {
1606
- videoWidth: A,
1607
- videoHeight: Q
1606
+ videoWidth: I,
1607
+ videoHeight: X
1608
1608
  },
1609
1609
  h
1610
- ), Re() && (!Ue || se <= 1) && A > Q && d(
1611
- Le,
1610
+ ), Re() && (!Ue || se <= 1) && I > X && d(
1611
+ Se,
1612
1612
  h = {
1613
- videoWidth: Q,
1614
- videoHeight: A
1613
+ videoWidth: X,
1614
+ videoHeight: I
1615
1615
  },
1616
1616
  h
1617
- ), d(Ne, o = I || f[0].deviceId, o);
1618
- } catch (I) {
1619
- const A = I;
1617
+ ), d(Le, o = O || f[0].deviceId, o);
1618
+ } catch (O) {
1619
+ const I = O;
1620
1620
  t(17, be = !0);
1621
- const Q = wt(I) && I.constraint ? I.constraint : "";
1622
- console.error(A, Q), wt(A) && "message" in A && A.message.includes("Permission denied") && (console.error("User didn't give permission to use camera!"), d(ce, n = j.CAMERA_DENIED_ERROR, n)), wt(A) && "message" in A && A.message.includes("Requested device not found") && d(ce, n = j.DEVICE_NOT_FOUND_ERROR, n), (Q.includes("width") || Q.includes("height")) && (console.error(`Camera does not meet the minimum supported requirements! (${Q})`), d(ce, n = j.CAMERA_UNSUPPORTED, n));
1621
+ const X = Et(O) && O.constraint ? O.constraint : "";
1622
+ console.error(I, X), Et(I) && "message" in I && I.message.includes("Permission denied") && (console.error("User didn't give permission to use camera!"), d(re, n = H.CAMERA_DENIED_ERROR, n)), Et(I) && "message" in I && I.message.includes("Requested device not found") && d(re, n = H.DEVICE_NOT_FOUND_ERROR, n), (X.includes("width") || X.includes("height")) && (console.error(`Camera does not meet the minimum supported requirements! (${X})`), d(re, n = H.CAMERA_UNSUPPORTED, n));
1623
1623
  }
1624
1624
  }
1625
- async function Dt() {
1626
- d(Ne, o = "", o), await Fe();
1625
+ async function Nt() {
1626
+ d(Le, o = "", o), await Fe();
1627
1627
  }
1628
1628
  function ji() {
1629
1629
  navigator.mediaDevices.ondevicechange = async (i) => {
1630
- await qt(), n !== j.OK ? await Dt() : (!K() && !_.active || K() && !be) && (Ct(ne), d(ce, n = j.DEVICE_NOT_FOUND_ERROR, n), t(17, be = !0));
1630
+ await qt(), n !== H.OK ? await Nt() : (!V() && !_.active || V() && !be) && (wt(ne), d(re, n = H.DEVICE_NOT_FOUND_ERROR, n), t(17, be = !0));
1631
1631
  };
1632
1632
  }
1633
- const qi = Le.subscribe((i) => {
1634
- R && B && (t(9, R.width = i.videoWidth, R), t(9, R.height = i.videoHeight, R), t(10, B.width = i.videoWidth, B), t(10, B.height = i.videoHeight, B), t(14, Ae.width = i.videoWidth, Ae), t(14, Ae.height = i.videoHeight, Ae), t(15, X.width = i.videoWidth, X), t(15, X.height = i.videoHeight, X));
1633
+ const qi = Se.subscribe((i) => {
1634
+ R && W && (t(9, R.width = i.videoWidth, R), t(9, R.height = i.videoHeight, R), t(10, W.width = i.videoWidth, W), t(10, W.height = i.videoHeight, W), t(14, Ae.width = i.videoWidth, Ae), t(14, Ae.height = i.videoHeight, Ae), t(15, J.width = i.videoWidth, J), t(15, J.height = i.videoHeight, J));
1635
1635
  }), zi = zt.subscribe((i) => {
1636
1636
  if (m == "DOCUMENT")
1637
1637
  return;
1638
- let E = "", y = !1;
1639
- if (i.isPersonCloseEnough ? i.isPersonTooclose ? E = "faceCollector.moveAwayCamera" : i.isPersonInFrame ? i.closedMouth ? y = !0 : E = "faceCollector.dontOpenMouth" : E = "faceCollector.stayInFrame" : E = "faceCollector.comeCloserCamera", Sa(y, E), !p && k && !Ce && i.isPersonInFrame && i.closedMouth && !(!i.isPersonCloseEnough || i.isPersonTooclose)) {
1640
- t(12, Ce = !0), d(Ut, v = !0, v), Pt = (/* @__PURE__ */ new Date()).getTime() + Di;
1641
- const I = setInterval(
1638
+ let C = "", y = !1;
1639
+ if (i.isPersonCloseEnough ? i.isPersonTooclose ? C = "faceCollector.moveAwayCamera" : i.isPersonInFrame ? i.closedMouth ? y = !0 : C = "faceCollector.dontOpenMouth" : C = "faceCollector.stayInFrame" : C = "faceCollector.comeCloserCamera", Da(y, C), !p && k && !we && i.isPersonInFrame && i.closedMouth && !(!i.isPersonCloseEnough || i.isPersonTooclose)) {
1640
+ t(12, we = !0), d(Ut, v = !0, v), Pt = (/* @__PURE__ */ new Date()).getTime() + Ni;
1641
+ const O = setInterval(
1642
1642
  () => {
1643
- if (!k || p || K() && be || !i.isPersonCloseEnough || i.isPersonTooclose || !i.closedMouth || !i.isPersonInFrame) {
1644
- t(12, Ce = !1), Nt = !0, setTimeout(
1643
+ if (!k || p || V() && be || !i.isPersonCloseEnough || i.isPersonTooclose || !i.closedMouth || !i.isPersonInFrame) {
1644
+ t(12, we = !1), Lt = !0, setTimeout(
1645
1645
  () => {
1646
- Nt = !1;
1646
+ Lt = !1;
1647
1647
  },
1648
1648
  1500
1649
- ), clearInterval(I);
1649
+ ), clearInterval(O);
1650
1650
  return;
1651
1651
  }
1652
- const A = (/* @__PURE__ */ new Date()).getTime();
1653
- Math.floor((Pt - A) % (1e3 * 60) / 1e3) <= 0 && (clearInterval(I), t(12, Ce = !1), ti());
1652
+ const I = (/* @__PURE__ */ new Date()).getTime();
1653
+ Math.floor((Pt - I) % (1e3 * 60) / 1e3) <= 0 && (clearInterval(O), t(12, we = !1), ti());
1654
1654
  },
1655
1655
  100
1656
1656
  );
1657
1657
  }
1658
- }), Ji = Be.subscribe((i) => {
1659
- J && (i ? (J.classList.remove("flex"), J.classList.add("hidden")) : (J.classList.add("flex"), J.classList.remove("hidden")));
1660
- }), Xi = Wt.subscribe((i) => {
1661
- R && i && (console.log("setting null in video srcObject"), t(9, R.srcObject = null, R), t(9, R.src = "", R), d(Ne, o = null, o));
1658
+ }), Ji = We.subscribe((i) => {
1659
+ z && (i ? (z.classList.remove("flex"), z.classList.add("hidden")) : (z.classList.add("flex"), z.classList.remove("hidden")));
1660
+ }), Xi = Bt.subscribe((i) => {
1661
+ R && i && (console.log("setting null in video srcObject"), t(9, R.srcObject = null, R), t(9, R.src = "", R), d(Le, o = null, o));
1662
1662
  });
1663
- Vt.subscribe(async (i) => {
1664
- i === Jt.Face && (await qt(), K() && d(Ne, o = f[0]?.deviceId, o));
1663
+ Kt.subscribe(async (i) => {
1664
+ i === Jt.Face && (await qt(), V() && d(Le, o = f[0]?.deviceId, o));
1665
1665
  });
1666
- const Qi = Ne.subscribe(async (i) => {
1667
- if (!i || m == "DOCUMENT" || K() && be)
1666
+ const Qi = Le.subscribe(async (i) => {
1667
+ if (!i || m == "DOCUMENT" || V() && be)
1668
1668
  return;
1669
1669
  R || t(13, _e = {});
1670
- const { videoHeight: E, videoWidth: y } = h;
1670
+ const { videoHeight: C, videoWidth: y } = h;
1671
1671
  try {
1672
- if (K()) {
1673
- await Ct(ne), await St();
1672
+ if (V()) {
1673
+ await wt(ne), await Dt();
1674
1674
  return;
1675
1675
  }
1676
- const I = await Da(y, E, i);
1677
- t(9, R.srcObject = I, R), d(ni, _ = I, _), d(Wt, C = !1, C), At ? d(ce, n = j.OK, n) : d(ce, n = j.CAMERA_ORIENTATION_PORTRAIT, n), I.getTracks().forEach((A) => {
1678
- A.readyState === "live" && console.log(`Camera ${A.label} opened successfully!`);
1676
+ const O = await Na(y, C, i);
1677
+ t(9, R.srcObject = O, R), d(ni, _ = O, _), d(Bt, w = !1, w), At ? d(re, n = H.OK, n) : d(re, n = H.CAMERA_ORIENTATION_PORTRAIT, n), O.getTracks().forEach((I) => {
1678
+ I.readyState === "live" && console.log(`Camera ${I.label} opened successfully!`);
1679
1679
  });
1680
- } catch (I) {
1681
- const A = I;
1682
- t(17, be = !0), wt(A) && "message" in A && A.message.includes("Requested device not found") && d(ce, n = j.DEVICE_NOT_FOUND_ERROR, n);
1680
+ } catch (O) {
1681
+ const I = O;
1682
+ t(17, be = !0), Et(I) && "message" in I && I.message.includes("Requested device not found") && d(re, n = H.DEVICE_NOT_FOUND_ERROR, n);
1683
1683
  }
1684
- }), Gi = Vt.subscribe(async (i) => {
1685
- i === Jt.Face && K() && !rt && !p && $t && await Fe();
1684
+ }), Gi = Kt.subscribe(async (i) => {
1685
+ i === Jt.Face && V() && !rt && !p && $t && await Fe();
1686
1686
  }), Yi = ot.subscribe(async (i) => {
1687
1687
  i && ai();
1688
1688
  }), Zi = Fa.subscribe(async (i) => {
1689
1689
  if (h) {
1690
- if (Ct(), !Re()) {
1691
- const y = (f.findIndex((A) => A.deviceId === o) + 1) % f.length, I = f[y].deviceId;
1692
- K() ? d(Ne, o = I, o) : await Fe(I);
1690
+ if (wt(), !Re()) {
1691
+ const y = (f.findIndex((I) => I.deviceId === o) + 1) % f.length, O = f[y].deviceId;
1692
+ V() ? d(Le, o = O, o) : await Fe(O);
1693
1693
  return;
1694
1694
  }
1695
1695
  i ? (d(mt, r = Ht.REAR_CAMERA, r), await Fe()) : (d(mt, r = Ht.FRONT_CAMERA, r), await Fe());
1696
1696
  }
1697
1697
  }), xi = Ma.subscribe(async (i) => {
1698
- !i.isSupported || !Re() || m != "FACE" || (At = i.orientation.includes("portrait"), At ? d(ce, n = j.OK, n) : d(ce, n = j.CAMERA_ORIENTATION_PORTRAIT, n));
1698
+ !i.isSupported || !Re() || m != "FACE" || (At = i.orientation.includes("portrait"), At ? d(re, n = H.OK, n) : d(re, n = H.CAMERA_ORIENTATION_PORTRAIT, n));
1699
1699
  });
1700
1700
  async function ai() {
1701
1701
  let i;
1702
1702
  if (It >= vl) {
1703
1703
  It = 0;
1704
- const E = await Ba(), y = await import("./face_api_0e3ce8c8_2.2.19.js");
1705
- let I;
1706
- I = y.detectSingleFace(X, E), i = await I.withFaceLandmarks(), B.getContext("2d")?.clearRect(0, 0, B.width, B.height);
1704
+ const C = await Wa(), y = await import("./face_api_0e3ce8c8_2.2.20.js");
1705
+ let O;
1706
+ O = y.detectSingleFace(J, C), i = await O.withFaceLandmarks(), W.getContext("2d")?.clearRect(0, 0, W.width, W.height);
1707
1707
  } else
1708
1708
  It++;
1709
- i ? Ka(i, B, g) : Va(), s && Ke(R, ai);
1709
+ i ? Va(i, W, g) : Ka(), s && Ve(R, ai);
1710
1710
  }
1711
1711
  Mt.subscribe(async (i) => {
1712
1712
  i && (Me(), d(Mt, l = !1, l));
@@ -1716,22 +1716,22 @@ function El(a, e, t) {
1716
1716
  }), ea = ht.subscribe((i) => {
1717
1717
  i && window.dispatchEvent(new CustomEvent("brycc-face-initialized"));
1718
1718
  });
1719
- Wa(() => {
1720
- Ct(), Ji(), zi(), qi(), Xi(), Qi(), Gi(), clearInterval(ei), Yi(), Zi(), xi(), $i(), ea(), mi(), ei = 0;
1719
+ Ba(() => {
1720
+ wt(), Ji(), zi(), qi(), Xi(), Qi(), Gi(), clearInterval(ei), Yi(), Zi(), xi(), $i(), ea(), mi(), ei = 0;
1721
1721
  });
1722
1722
  function ta(i) {
1723
- Ve[i ? "unshift" : "push"](() => {
1723
+ Ke[i ? "unshift" : "push"](() => {
1724
1724
  ne = i, t(0, ne);
1725
1725
  });
1726
1726
  }
1727
1727
  function ia(i) {
1728
- Ve[i ? "unshift" : "push"](() => {
1728
+ Ke[i ? "unshift" : "push"](() => {
1729
1729
  R = i, t(9, R);
1730
1730
  });
1731
1731
  }
1732
1732
  const aa = () => {
1733
- K() || d(
1734
- Le,
1733
+ V() || d(
1734
+ Se,
1735
1735
  h = {
1736
1736
  videoHeight: R.videoHeight,
1737
1737
  videoWidth: R.videoWidth
@@ -1740,43 +1740,43 @@ function El(a, e, t) {
1740
1740
  );
1741
1741
  };
1742
1742
  function la(i) {
1743
- Ve[i ? "unshift" : "push"](() => {
1744
- X = i, t(15, X);
1743
+ Ke[i ? "unshift" : "push"](() => {
1744
+ J = i, t(15, J);
1745
1745
  });
1746
1746
  }
1747
1747
  function sa(i) {
1748
- Ve[i ? "unshift" : "push"](() => {
1749
- B = i, t(10, B);
1748
+ Ke[i ? "unshift" : "push"](() => {
1749
+ W = i, t(10, W);
1750
1750
  });
1751
1751
  }
1752
1752
  function na(i) {
1753
- Ve[i ? "unshift" : "push"](() => {
1753
+ Ke[i ? "unshift" : "push"](() => {
1754
1754
  Ae = i, t(14, Ae);
1755
1755
  });
1756
1756
  }
1757
1757
  const oa = () => ft(), ra = () => Me();
1758
1758
  function ca(i) {
1759
- Ve[i ? "unshift" : "push"](() => {
1760
- J = i, t(11, J);
1759
+ Ke[i ? "unshift" : "push"](() => {
1760
+ z = i, t(11, z);
1761
1761
  });
1762
1762
  }
1763
1763
  const ua = () => ft(), fa = () => Me();
1764
1764
  function da() {
1765
- pe = this.value, Kt.set(pe);
1765
+ pe = this.value, Vt.set(pe);
1766
1766
  }
1767
1767
  const ma = () => ft(), ha = () => Me();
1768
1768
  function _a() {
1769
- pe = this.value, Kt.set(pe);
1769
+ pe = this.value, Vt.set(pe);
1770
1770
  }
1771
1771
  const ba = () => Me(), ga = async () => {
1772
- await Dt();
1772
+ await Nt();
1773
1773
  };
1774
1774
  return a.$$set = (i) => {
1775
- "enableMinutiae" in i && t(46, g = i.enableMinutiae), "videoDimensions" in i && t(47, M = i.videoDimensions), "noTabs" in i && t(48, Ie = i.noTabs), "weightsPath" in i && t(49, Ot = i.weightsPath), "evaluatePhoto" in i && t(1, ke = i.evaluatePhoto), "showCaptureButton" in i && t(2, Tt = i.showCaptureButton), "showUnconformities" in i && t(3, Gt = i.showUnconformities), "videoOverlay" in i && t(50, nt = i.videoOverlay), "videoOverlayTransparency" in i && t(51, Qe = i.videoOverlayTransparency), "showConfigButton" in i && t(4, Yt = i.showConfigButton), "showAutoCaptureButton" in i && t(5, Ge = i.showAutoCaptureButton), "showCameraButton" in i && t(6, Zt = i.showCameraButton), "showJustificationField" in i && t(7, xt = i.showJustificationField), "minEyeToEyeDist" in i && t(52, Ye = i.minEyeToEyeDist), "widgetInstance" in i && t(0, ne = i.widgetInstance);
1775
+ "enableMinutiae" in i && t(46, g = i.enableMinutiae), "videoDimensions" in i && t(47, M = i.videoDimensions), "noTabs" in i && t(48, Ie = i.noTabs), "weightsPath" in i && t(49, Tt = i.weightsPath), "evaluatePhoto" in i && t(1, ke = i.evaluatePhoto), "showCaptureButton" in i && t(2, Ot = i.showCaptureButton), "showUnconformities" in i && t(3, Gt = i.showUnconformities), "videoOverlay" in i && t(50, nt = i.videoOverlay), "videoOverlayTransparency" in i && t(51, Qe = i.videoOverlayTransparency), "showConfigButton" in i && t(4, Yt = i.showConfigButton), "showAutoCaptureButton" in i && t(5, Ge = i.showAutoCaptureButton), "showCameraButton" in i && t(6, Zt = i.showCameraButton), "showJustificationField" in i && t(7, xt = i.showJustificationField), "minEyeToEyeDist" in i && t(52, Ye = i.minEyeToEyeDist), "widgetInstance" in i && t(0, ne = i.widgetInstance);
1776
1776
  }, [
1777
1777
  ne,
1778
1778
  ke,
1779
- Tt,
1779
+ Ot,
1780
1780
  Gt,
1781
1781
  Yt,
1782
1782
  Ge,
@@ -1784,12 +1784,12 @@ function El(a, e, t) {
1784
1784
  xt,
1785
1785
  $e,
1786
1786
  R,
1787
- B,
1788
- J,
1789
- Ce,
1787
+ W,
1788
+ z,
1789
+ we,
1790
1790
  _e,
1791
1791
  Ae,
1792
- X,
1792
+ J,
1793
1793
  ct,
1794
1794
  be,
1795
1795
  ut,
@@ -1800,17 +1800,17 @@ function El(a, e, t) {
1800
1800
  p,
1801
1801
  k,
1802
1802
  v,
1803
- O,
1804
- P,
1805
1803
  T,
1804
+ A,
1805
+ P,
1806
1806
  he,
1807
1807
  pe,
1808
- q,
1808
+ j,
1809
1809
  ue,
1810
1810
  fe,
1811
1811
  ve,
1812
1812
  Z,
1813
- z,
1813
+ q,
1814
1814
  ie,
1815
1815
  ae,
1816
1816
  le,
@@ -1819,11 +1819,11 @@ function El(a, e, t) {
1819
1819
  ti,
1820
1820
  ft,
1821
1821
  Me,
1822
- Dt,
1822
+ Nt,
1823
1823
  g,
1824
1824
  M,
1825
1825
  Ie,
1826
- Ot,
1826
+ Tt,
1827
1827
  nt,
1828
1828
  Qe,
1829
1829
  Ye,
@@ -1846,16 +1846,16 @@ function El(a, e, t) {
1846
1846
  ga
1847
1847
  ];
1848
1848
  }
1849
- class wl extends Mi {
1849
+ class El extends Mi {
1850
1850
  constructor(e) {
1851
- super(), Wi(
1851
+ super(), Bi(
1852
1852
  this,
1853
1853
  {
1854
1854
  target: this.shadowRoot,
1855
1855
  props: Ui(this.attributes),
1856
1856
  customElement: !0
1857
1857
  },
1858
- El,
1858
+ Cl,
1859
1859
  pl,
1860
1860
  Xt,
1861
1861
  {
@@ -1878,7 +1878,7 @@ class wl extends Mi {
1878
1878
  },
1879
1879
  null,
1880
1880
  [-1, -1, -1, -1]
1881
- ), e && (e.target && L(e.target, this, e.anchor), e.props && (this.$set(e.props), oe()));
1881
+ ), e && (e.target && S(e.target, this, e.anchor), e.props && (this.$set(e.props), oe()));
1882
1882
  }
1883
1883
  static get observedAttributes() {
1884
1884
  return [
@@ -1994,7 +1994,7 @@ class wl extends Mi {
1994
1994
  return this.$$.ctx[8];
1995
1995
  }
1996
1996
  }
1997
- customElements.define("face-collector", wl);
1997
+ customElements.define("face-collector", El);
1998
1998
  export {
1999
- wl as default
1999
+ El as default
2000
2000
  };