bry-biometric-collector 3.0.0-RC01 → 3.0.0-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.
- package/dist/DocumentCollector_cf9a12b0_3.0.0-RC02.js +1173 -0
- package/dist/{FaceCollector_95bb182b_3.0.0-RC01.js → FaceCollector_ce582a75_3.0.0-RC02.js} +253 -259
- package/dist/{ValidationAlert_0a6b586f_3.0.0-RC01.js → ValidationAlert_61be42c7_3.0.0-RC02.js} +219 -218
- package/dist/{___vite-browser-external_commonjs-proxy_8bb8db0d_3.0.0-RC01.js → ___vite-browser-external_commonjs-proxy_df2c73e2_3.0.0-RC02.js} +31 -31
- package/dist/bry-biometric-collector-main.js +3 -3
- package/dist/{fingersApi_09f5a55b_3.0.0-RC01.js → fingersApi_9b1d92d4_3.0.0-RC02.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{index_b8df6bb6_3.0.0-RC01.js → index_1e6ec6e7_3.0.0-RC02.js} +3 -3
- package/dist/{index_fa569ec3_3.0.0-RC01.js → index_f8e53f14_3.0.0-RC02.js} +3 -3
- package/dist/{main_550fd4ab_3.0.0-RC01.js → main_8b4294dd_3.0.0-RC02.js} +66 -65
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/DocumentCollector_480bc217_3.0.0-RC01.js +0 -1029
- /package/dist/{en-us_99b30d39_3.0.0-RC01.js → en-us_99b30d39_3.0.0-RC02.js} +0 -0
- /package/dist/{es-cl_cfa50670_3.0.0-RC01.js → es-cl_cfa50670_3.0.0-RC02.js} +0 -0
- /package/dist/{face_api_0e3ce8c8_3.0.0-RC01.js → face_api_0e3ce8c8_3.0.0-RC02.js} +0 -0
- /package/dist/{index-no-detector_281a271b_3.0.0-RC01.js → index-no-detector_281a271b_3.0.0-RC02.js} +0 -0
- /package/dist/{index-no-detector_56051121_3.0.0-RC01.js → index-no-detector_56051121_3.0.0-RC02.js} +0 -0
- /package/dist/{pt-br_d5ca6103_3.0.0-RC01.js → pt-br_d5ca6103_3.0.0-RC02.js} +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { bn as D, bo as V } from "./main_8b4294dd_3.0.0-RC02.js";
|
2
2
|
function H(e, t) {
|
3
3
|
for (var n = 0; n < t.length; n++) {
|
4
4
|
const r = t[n];
|
@@ -324,10 +324,10 @@ function q(e, t) {
|
|
324
324
|
f.fromInt = q;
|
325
325
|
function O(e, t) {
|
326
326
|
if (isNaN(e))
|
327
|
-
return t ?
|
327
|
+
return t ? m : L;
|
328
328
|
if (t) {
|
329
329
|
if (e < 0)
|
330
|
-
return
|
330
|
+
return m;
|
331
331
|
if (e >= Z)
|
332
332
|
return j;
|
333
333
|
} else {
|
@@ -348,7 +348,7 @@ function A(e, t, n) {
|
|
348
348
|
if (e.length === 0)
|
349
349
|
throw Error("empty string");
|
350
350
|
if (e === "NaN" || e === "Infinity" || e === "+Infinity" || e === "-Infinity")
|
351
|
-
return
|
351
|
+
return L;
|
352
352
|
if (typeof t == "number" ? (n = t, t = !1) : t = !!t, n = n || 10, n < 2 || 36 < n)
|
353
353
|
throw RangeError("radix");
|
354
354
|
var r;
|
@@ -356,7 +356,7 @@ function A(e, t, n) {
|
|
356
356
|
throw Error("interior hyphen");
|
357
357
|
if (r === 0)
|
358
358
|
return A(e.substring(1), t, n).neg();
|
359
|
-
for (var s = O(T(n, 8)), h =
|
359
|
+
for (var s = O(T(n, 8)), h = L, u = 0; u < e.length; u += 8) {
|
360
360
|
var F = Math.min(8, e.length - u), E = parseInt(e.substring(u, u + F), n);
|
361
361
|
if (F < 8) {
|
362
362
|
var l = O(T(n, F));
|
@@ -367,14 +367,14 @@ function A(e, t, n) {
|
|
367
367
|
return h.unsigned = t, h;
|
368
368
|
}
|
369
369
|
f.fromString = A;
|
370
|
-
function
|
370
|
+
function b(e, t) {
|
371
371
|
return typeof e == "number" ? O(e, t) : typeof e == "string" ? A(e, t) : o(e.low, e.high, typeof t == "boolean" ? t : e.unsigned);
|
372
372
|
}
|
373
|
-
f.fromValue =
|
374
|
-
var M = 65536, C = 1 << 24, d = M * M, Z = d * d, P = Z / 2, S = q(C),
|
375
|
-
f.ZERO =
|
376
|
-
var
|
377
|
-
f.UZERO =
|
373
|
+
f.fromValue = b;
|
374
|
+
var M = 65536, C = 1 << 24, d = M * M, Z = d * d, P = Z / 2, S = q(C), L = q(0);
|
375
|
+
f.ZERO = L;
|
376
|
+
var m = q(0, !0);
|
377
|
+
f.UZERO = m;
|
378
378
|
var y = q(1);
|
379
379
|
f.ONE = y;
|
380
380
|
var p = q(1, !0);
|
@@ -450,7 +450,7 @@ i.isEven = function() {
|
|
450
450
|
return (this.low & 1) === 0;
|
451
451
|
};
|
452
452
|
i.equals = function(t) {
|
453
|
-
return w(t) || (t =
|
453
|
+
return w(t) || (t = b(t)), this.unsigned !== t.unsigned && this.high >>> 31 === 1 && t.high >>> 31 === 1 ? !1 : this.high === t.high && this.low === t.low;
|
454
454
|
};
|
455
455
|
i.eq = i.equals;
|
456
456
|
i.notEquals = function(t) {
|
@@ -492,7 +492,7 @@ i.greaterThanOrEqual = function(t) {
|
|
492
492
|
i.gte = i.greaterThanOrEqual;
|
493
493
|
i.ge = i.greaterThanOrEqual;
|
494
494
|
i.compare = function(t) {
|
495
|
-
if (w(t) || (t =
|
495
|
+
if (w(t) || (t = b(t)), this.eq(t))
|
496
496
|
return 0;
|
497
497
|
var n = this.isNegative(), r = t.isNegative();
|
498
498
|
return n && !r ? -1 : !n && r ? 1 : this.unsigned ? t.high >>> 0 > this.high >>> 0 || t.high === this.high && t.low >>> 0 > this.low >>> 0 ? -1 : 1 : this.sub(t).isNegative() ? -1 : 1;
|
@@ -503,18 +503,18 @@ i.negate = function() {
|
|
503
503
|
};
|
504
504
|
i.neg = i.negate;
|
505
505
|
i.add = function(t) {
|
506
|
-
w(t) || (t =
|
506
|
+
w(t) || (t = b(t));
|
507
507
|
var n = this.high >>> 16, r = this.high & 65535, s = this.low >>> 16, h = this.low & 65535, u = t.high >>> 16, F = t.high & 65535, E = t.low >>> 16, l = t.low & 65535, g = 0, N = 0, a = 0, _ = 0;
|
508
508
|
return _ += h + l, a += _ >>> 16, _ &= 65535, a += s + E, N += a >>> 16, a &= 65535, N += r + F, g += N >>> 16, N &= 65535, g += n + u, g &= 65535, o(a << 16 | _, g << 16 | N, this.unsigned);
|
509
509
|
};
|
510
510
|
i.subtract = function(t) {
|
511
|
-
return w(t) || (t =
|
511
|
+
return w(t) || (t = b(t)), this.add(t.neg());
|
512
512
|
};
|
513
513
|
i.sub = i.subtract;
|
514
514
|
i.multiply = function(t) {
|
515
515
|
if (this.isZero())
|
516
|
-
return
|
517
|
-
if (w(t) || (t =
|
516
|
+
return L;
|
517
|
+
if (w(t) || (t = b(t)), v) {
|
518
518
|
var n = v.mul(
|
519
519
|
this.low,
|
520
520
|
this.high,
|
@@ -524,11 +524,11 @@ i.multiply = function(t) {
|
|
524
524
|
return o(n, v.get_high(), this.unsigned);
|
525
525
|
}
|
526
526
|
if (t.isZero())
|
527
|
-
return
|
527
|
+
return L;
|
528
528
|
if (this.eq(c))
|
529
|
-
return t.isOdd() ? c :
|
529
|
+
return t.isOdd() ? c : L;
|
530
530
|
if (t.eq(c))
|
531
|
-
return this.isOdd() ? c :
|
531
|
+
return this.isOdd() ? c : L;
|
532
532
|
if (this.isNegative())
|
533
533
|
return t.isNegative() ? this.neg().mul(t.neg()) : this.neg().mul(t).neg();
|
534
534
|
if (t.isNegative())
|
@@ -540,7 +540,7 @@ i.multiply = function(t) {
|
|
540
540
|
};
|
541
541
|
i.mul = i.multiply;
|
542
542
|
i.divide = function(t) {
|
543
|
-
if (w(t) || (t =
|
543
|
+
if (w(t) || (t = b(t)), t.isZero())
|
544
544
|
throw Error("division by zero");
|
545
545
|
if (v) {
|
546
546
|
if (!this.unsigned && this.high === -2147483648 && t.low === -1 && t.high === -1)
|
@@ -554,14 +554,14 @@ i.divide = function(t) {
|
|
554
554
|
return o(n, v.get_high(), this.unsigned);
|
555
555
|
}
|
556
556
|
if (this.isZero())
|
557
|
-
return this.unsigned ?
|
557
|
+
return this.unsigned ? m : L;
|
558
558
|
var r, s, h;
|
559
559
|
if (this.unsigned) {
|
560
560
|
if (t.unsigned || (t = t.toUnsigned()), t.gt(this))
|
561
|
-
return
|
561
|
+
return m;
|
562
562
|
if (t.gt(this.shru(1)))
|
563
563
|
return p;
|
564
|
-
h =
|
564
|
+
h = m;
|
565
565
|
} else {
|
566
566
|
if (this.eq(c)) {
|
567
567
|
if (t.eq(y) || t.eq(U))
|
@@ -569,14 +569,14 @@ i.divide = function(t) {
|
|
569
569
|
if (t.eq(c))
|
570
570
|
return y;
|
571
571
|
var u = this.shr(1);
|
572
|
-
return r = u.div(t).shl(1), r.eq(
|
572
|
+
return r = u.div(t).shl(1), r.eq(L) ? t.isNegative() ? y : U : (s = this.sub(t.mul(r)), h = r.add(s.div(t)), h);
|
573
573
|
} else if (t.eq(c))
|
574
|
-
return this.unsigned ?
|
574
|
+
return this.unsigned ? m : L;
|
575
575
|
if (this.isNegative())
|
576
576
|
return t.isNegative() ? this.neg().div(t.neg()) : this.neg().div(t).neg();
|
577
577
|
if (t.isNegative())
|
578
578
|
return this.div(t.neg()).neg();
|
579
|
-
h =
|
579
|
+
h = L;
|
580
580
|
}
|
581
581
|
for (s = this; s.gte(t); ) {
|
582
582
|
r = Math.max(1, Math.floor(s.toNumber() / t.toNumber()));
|
@@ -588,7 +588,7 @@ i.divide = function(t) {
|
|
588
588
|
};
|
589
589
|
i.div = i.divide;
|
590
590
|
i.modulo = function(t) {
|
591
|
-
if (w(t) || (t =
|
591
|
+
if (w(t) || (t = b(t)), v) {
|
592
592
|
var n = (this.unsigned ? v.rem_u : v.rem_s)(
|
593
593
|
this.low,
|
594
594
|
this.high,
|
@@ -605,13 +605,13 @@ i.not = function() {
|
|
605
605
|
return o(~this.low, ~this.high, this.unsigned);
|
606
606
|
};
|
607
607
|
i.and = function(t) {
|
608
|
-
return w(t) || (t =
|
608
|
+
return w(t) || (t = b(t)), o(this.low & t.low, this.high & t.high, this.unsigned);
|
609
609
|
};
|
610
610
|
i.or = function(t) {
|
611
|
-
return w(t) || (t =
|
611
|
+
return w(t) || (t = b(t)), o(this.low | t.low, this.high | t.high, this.unsigned);
|
612
612
|
};
|
613
613
|
i.xor = function(t) {
|
614
|
-
return w(t) || (t =
|
614
|
+
return w(t) || (t = b(t)), o(this.low ^ t.low, this.high ^ t.high, this.unsigned);
|
615
615
|
};
|
616
616
|
i.shiftLeft = function(t) {
|
617
617
|
return w(t) && (t = t.toInt()), (t &= 63) === 0 ? this : t < 32 ? o(this.low << t, this.high << t | this.low >>> 32 - t, this.unsigned) : o(0, this.low << t - 32, this.unsigned);
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { u as m, $ as D, n as C, g as b, i as y, s as l, a as F, F as U, b as M, c, v as x, d as P, A as B, e as I, h as g, f as v, j as W, k as R, l as $, m as k, o as w, p as V } from "./
|
2
|
-
import "./face_api_0e3ce8c8_3.0.0-
|
1
|
+
import { u as m, $ as D, n as C, g as b, i as y, s as l, a as F, F as U, b as M, c, v as x, d as P, A as B, e as I, h as g, f as v, j as W, k as R, l as $, m as k, o as w, p as V } from "./main_8b4294dd_3.0.0-RC02.js";
|
2
|
+
import "./face_api_0e3ce8c8_3.0.0-RC02.js";
|
3
3
|
const f = m(D);
|
4
4
|
var X = /* @__PURE__ */ ((n) => (n.EXTENSION_MISSING = "EXTENSION_MISSING", n.USER_CANCELLED = "USER_CANCELLED", n.UNAUTHORIZED_EXTENSION = "UNAUTHORIZED_EXTENSION", n.SCANNER_NOT_FOUND = "SCANNER_NOT_FOUND", n.EXTENSION_MODULE_NOT_INSTALLED = "EXTENSION_MODULE_NOT_INSTALLED", n.FINGER_NOT_REMOVED = "FINGER_NOT_REMOVED", n.UNKNOWN_ERROR = "UNKNOWN_ERROR", n.EVALUATE_BIOMETRICS_TIMEOUT = "EVALUATE_BIOMETRICS_TIMEOUT", n.EVALUATE_BIOMETRICS_NETWORK_ISSUE = "EVALUATE_BIOMETRICS_NETWORK_ISSUE", n))(X || {});
|
5
5
|
class r extends Error {
|
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-
|
3
|
-
import "./face_api_0e3ce8c8_3.0.0-
|
1
|
+
import { bm as eo } from "./main_8b4294dd_3.0.0-RC02.js";
|
2
|
+
import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_df2c73e2_3.0.0-RC02.js";
|
3
|
+
import "./face_api_0e3ce8c8_3.0.0-RC02.js";
|
4
4
|
var pu = { exports: {} };
|
5
5
|
pu.exports;
|
6
6
|
(function(n) {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-
|
2
|
-
import {
|
3
|
-
import "./face_api_0e3ce8c8_3.0.0-
|
1
|
+
import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_df2c73e2_3.0.0-RC02.js";
|
2
|
+
import { bm as Xa, bn as hr } from "./main_8b4294dd_3.0.0-RC02.js";
|
3
|
+
import "./face_api_0e3ce8c8_3.0.0-RC02.js";
|
4
4
|
function gr(e, t) {
|
5
5
|
for (var n = 0; n < t.length; n++) {
|
6
6
|
const s = t[n];
|