@tsocial/tvweb-sdk.nbcci 0.0.0-beta.20251215-170414 → 0.0.0-beta.20251217-142321
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/build/tvweb-sdk.nbcci.cjs.min.js +720 -720
- package/build/tvweb-sdk.nbcci.esm.min.js +720 -720
- package/build/tvweb-sdk.nbcci.standalone.js +566 -548
- package/build/tvweb-sdk.nbcci.standalone.min.js +720 -720
- package/build/types/index.d.ts +2 -0
- package/package.json +5 -5
|
@@ -33783,7 +33783,7 @@
|
|
|
33783
33783
|
}, nS$1;
|
|
33784
33784
|
}();
|
|
33785
33785
|
function nB$1() {
|
|
33786
|
-
return "0.0.0-beta.
|
|
33786
|
+
return "0.0.0-beta.20251217-142321";
|
|
33787
33787
|
}
|
|
33788
33788
|
function nI$1() {
|
|
33789
33789
|
return {
|
|
@@ -41260,52 +41260,49 @@
|
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
41262
|
function dm(e, t) {
|
|
41263
|
-
let r =
|
|
41263
|
+
let r = dv();
|
|
41264
41264
|
return (dm = function(e, t) {
|
|
41265
|
-
return r[e -=
|
|
41265
|
+
return r[e -= 360];
|
|
41266
41266
|
})(e, t);
|
|
41267
41267
|
}
|
|
41268
|
-
let dg = dm;
|
|
41269
|
-
|
|
41268
|
+
let dg = dm, dy = dm, db = dv();
|
|
41269
|
+
for(;;)try {
|
|
41270
|
+
if (parseInt(dy(360)) / 1 + parseInt(dy(376)) / 2 * (parseInt(dy(364)) / 3) + parseInt(dy(377)) / 4 * (parseInt(dy(367)) / 5) + -parseInt(dy(380)) / 6 + parseInt(dy(374)) / 7 * (parseInt(dy(369)) / 8) + -parseInt(dy(373)) / 9 * (parseInt(dy(378)) / 10) + parseInt(dy(365)) / 11 === 431675) break;
|
|
41271
|
+
db.push(db.shift());
|
|
41272
|
+
} catch (e) {
|
|
41273
|
+
db.push(db.shift());
|
|
41274
|
+
}
|
|
41275
|
+
function dv() {
|
|
41270
41276
|
let e = [
|
|
41271
|
-
"
|
|
41272
|
-
"
|
|
41273
|
-
"DepBO8t60S",
|
|
41274
|
-
"+faHkP3QC3",
|
|
41275
|
-
"D9EKOWS+U4",
|
|
41276
|
-
"KA==",
|
|
41277
|
-
"000",
|
|
41278
|
-
"KoZIzj0DAQ",
|
|
41279
|
-
"ssRdXLZEX8",
|
|
41280
|
-
"78pJsmjA",
|
|
41281
|
-
"23755112qixOGK",
|
|
41282
|
-
"ytJdcsPxrD",
|
|
41277
|
+
"431298HdIesc",
|
|
41278
|
+
"28QBzsDj",
|
|
41283
41279
|
"MfPrcYTM70",
|
|
41284
|
-
"
|
|
41285
|
-
"
|
|
41280
|
+
"278jLdKKf",
|
|
41281
|
+
"69524PqGfjj",
|
|
41282
|
+
"40oyrDAO",
|
|
41283
|
+
"Mjci1ul8mm",
|
|
41284
|
+
"4090686MGSzKL",
|
|
41285
|
+
"ssRdXLZEX8",
|
|
41286
41286
|
"44P0rKKsZK",
|
|
41287
|
-
"
|
|
41288
|
-
"
|
|
41289
|
-
"
|
|
41290
|
-
"653601YIYffL",
|
|
41291
|
-
"2315541rITdMg",
|
|
41287
|
+
"388265omPOkm",
|
|
41288
|
+
"D9EKOWS+U4",
|
|
41289
|
+
"KA==",
|
|
41292
41290
|
"2a8648ce3d",
|
|
41293
|
-
"
|
|
41294
|
-
"
|
|
41295
|
-
"
|
|
41291
|
+
"1131IWqIwd",
|
|
41292
|
+
"3490498FdsWqz",
|
|
41293
|
+
"MFkwEwYHKo",
|
|
41294
|
+
"130pWIRuI",
|
|
41295
|
+
"KoZIzj0DAQ",
|
|
41296
|
+
"190504tfNTkt",
|
|
41297
|
+
"ZIzj0CAQYI",
|
|
41298
|
+
"3d02010608",
|
|
41299
|
+
"DepBO8t60S"
|
|
41296
41300
|
];
|
|
41297
|
-
return (
|
|
41301
|
+
return (dv = function() {
|
|
41298
41302
|
return e;
|
|
41299
41303
|
})();
|
|
41300
41304
|
}
|
|
41301
|
-
let
|
|
41302
|
-
for(;;)try {
|
|
41303
|
-
if (parseInt(db(350)) / 1 + parseInt(db(353)) / 2 + parseInt(db(351)) / 3 + parseInt(db(349)) / 4 + parseInt(db(345)) / 5 * (parseInt(db(340)) / 6) + parseInt(db(348)) / 7 + -parseInt(db(341)) / 8 === 573683) break;
|
|
41304
|
-
dv.push(dv.shift());
|
|
41305
|
-
} catch (e) {
|
|
41306
|
-
dv.push(dv.shift());
|
|
41307
|
-
}
|
|
41308
|
-
let d_ = dg(355) + dg(357) + "3d02010608" + dg(352) + dg(356) + dg(337), dx = dg(344) + "ZIzj0CAQYI" + dg(338) + dg(347) + dg(358) + dg(342) + dg(334) + dg(346) + dg(354) + dg(335) + dg(343) + dg(339) + dg(336);
|
|
41305
|
+
let d_ = "3059301306072a8648ce" + dg(371) + dg(363) + "0301070342000", dx = dg(366) + dg(370) + dg(368) + "cDQgAE9h6Z" + dg(372) + "ytJdcsPxrD+faHkP3QC3" + dg(382) + dg(379) + dg(361) + dg(375) + dg(381) + dg(362);
|
|
41309
41306
|
async function dC(e) {
|
|
41310
41307
|
let t = new TextEncoder().encode(e);
|
|
41311
41308
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -53096,7 +53093,7 @@
|
|
|
53096
53093
|
});
|
|
53097
53094
|
};
|
|
53098
53095
|
|
|
53099
|
-
var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu,
|
|
53096
|
+
var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu, ep, ef, eh, em, eg, eb, ev, ew, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, ej, eI, eO, eM, eA, eR, eL, eF, eN, ez, eV, eW, eU, eq, eQ, eX, eH, eG, eZ, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e7, e6, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tp, tf, th, tm, tg, tb, tv, tw, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tj, tI, tO, tM, tA, tR, tL, tF, tN, tz, tV, tW, tU, tq, tQ, tX, tH, tG, tZ, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t7, t6, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rp, rf, rh, rm, rg, rb, rv, rw, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rj, rI, rO, rM, rA, rR, rL, rF, rN, rz, rV, rW, rU, rq, rQ, rX, rH, rG, rZ, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r7, r6, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, op, of, oh, om, og, ob, ov, ow, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oj, oI, oO, oM, oA, oR, oL, oF, oN, oz, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
|
|
53100
53097
|
function oX(t) {
|
|
53101
53098
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
53102
53099
|
}
|
|
@@ -53175,7 +53172,7 @@
|
|
|
53175
53172
|
};
|
|
53176
53173
|
}
|
|
53177
53174
|
function o5() {
|
|
53178
|
-
return
|
|
53175
|
+
return ef ? ep : (ef = 1, ep = function(t) {
|
|
53179
53176
|
return null != t && "object" == typeof t;
|
|
53180
53177
|
});
|
|
53181
53178
|
}
|
|
@@ -53407,10 +53404,10 @@
|
|
|
53407
53404
|
return t(this, r).get(r);
|
|
53408
53405
|
};
|
|
53409
53406
|
}(), n = function() {
|
|
53410
|
-
if (
|
|
53411
|
-
|
|
53407
|
+
if (tf) return tp;
|
|
53408
|
+
tf = 1;
|
|
53412
53409
|
var t = nr();
|
|
53413
|
-
return
|
|
53410
|
+
return tp = function(r) {
|
|
53414
53411
|
return t(this, r).has(r);
|
|
53415
53412
|
};
|
|
53416
53413
|
}(), i = function() {
|
|
@@ -53553,16 +53550,16 @@
|
|
|
53553
53550
|
function nc(t, r) {
|
|
53554
53551
|
return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
53555
53552
|
}
|
|
53556
|
-
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted",
|
|
53553
|
+
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", np = "exited", nf = "entering", nh = "entered", nm = "exiting", ng = function(r) {
|
|
53557
53554
|
function o(t, o) {
|
|
53558
53555
|
var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
|
|
53559
|
-
return i.appearStatus = null, t.in ? a ? (n =
|
|
53556
|
+
return i.appearStatus = null, t.in ? a ? (n = np, i.appearStatus = nf) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : np, i.state = {
|
|
53560
53557
|
status: n
|
|
53561
53558
|
}, i.nextCallback = null, i;
|
|
53562
53559
|
}
|
|
53563
53560
|
ns(o, r), o.getDerivedStateFromProps = function(t, r) {
|
|
53564
53561
|
return t.in && r.status === nu ? {
|
|
53565
|
-
status:
|
|
53562
|
+
status: np
|
|
53566
53563
|
} : null;
|
|
53567
53564
|
};
|
|
53568
53565
|
var n = o.prototype;
|
|
@@ -53572,7 +53569,7 @@
|
|
|
53572
53569
|
var r = null;
|
|
53573
53570
|
if (t !== this.props) {
|
|
53574
53571
|
var o = this.state.status;
|
|
53575
|
-
this.props.in ? o !==
|
|
53572
|
+
this.props.in ? o !== nf && o !== nh && (r = nf) : (o === nf || o === nh) && (r = nm);
|
|
53576
53573
|
}
|
|
53577
53574
|
this.updateStatus(!1, r);
|
|
53578
53575
|
}, n.componentWillUnmount = function() {
|
|
@@ -53585,7 +53582,7 @@
|
|
|
53585
53582
|
appear: o
|
|
53586
53583
|
};
|
|
53587
53584
|
}, n.updateStatus = function(t, r) {
|
|
53588
|
-
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r ===
|
|
53585
|
+
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r === nf ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === np && this.setState({
|
|
53589
53586
|
status: nu
|
|
53590
53587
|
});
|
|
53591
53588
|
}, n.performEnter = function(t) {
|
|
@@ -53596,7 +53593,7 @@
|
|
|
53596
53593
|
n
|
|
53597
53594
|
], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
|
|
53598
53595
|
(t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
|
|
53599
|
-
status:
|
|
53596
|
+
status: nf
|
|
53600
53597
|
}, function() {
|
|
53601
53598
|
r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
|
|
53602
53599
|
r.safeSetState({
|
|
@@ -53613,7 +53610,7 @@
|
|
|
53613
53610
|
}, n.performExit = function() {
|
|
53614
53611
|
var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
|
|
53615
53612
|
!r || nl ? this.safeSetState({
|
|
53616
|
-
status:
|
|
53613
|
+
status: np
|
|
53617
53614
|
}, function() {
|
|
53618
53615
|
t.props.onExited(n);
|
|
53619
53616
|
}) : (this.props.onExit(n), this.safeSetState({
|
|
@@ -53621,7 +53618,7 @@
|
|
|
53621
53618
|
}, function() {
|
|
53622
53619
|
t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
|
|
53623
53620
|
t.safeSetState({
|
|
53624
|
-
status:
|
|
53621
|
+
status: np
|
|
53625
53622
|
}, function() {
|
|
53626
53623
|
t.props.onExited(n);
|
|
53627
53624
|
});
|
|
@@ -53694,7 +53691,7 @@
|
|
|
53694
53691
|
onExit: nb,
|
|
53695
53692
|
onExiting: nb,
|
|
53696
53693
|
onExited: nb
|
|
53697
|
-
}, ng.UNMOUNTED = nu, ng.EXITED =
|
|
53694
|
+
}, ng.UNMOUNTED = nu, ng.EXITED = np, ng.ENTERING = nf, ng.ENTERED = nh, ng.EXITING = nm;
|
|
53698
53695
|
var nv = function(t, r) {
|
|
53699
53696
|
return t && r && r.split(" ").forEach(function(r) {
|
|
53700
53697
|
var o, n;
|
|
@@ -53789,7 +53786,7 @@
|
|
|
53789
53786
|
return /*#__PURE__*/ React.cloneElement(o, {
|
|
53790
53787
|
in: !1,
|
|
53791
53788
|
onExited: nC(o, "onExited", function() {
|
|
53792
|
-
n(
|
|
53789
|
+
n(nf, null);
|
|
53793
53790
|
})
|
|
53794
53791
|
});
|
|
53795
53792
|
}, tL[ny] = function(r) {
|
|
@@ -53799,7 +53796,7 @@
|
|
|
53799
53796
|
/*#__PURE__*/ React.cloneElement(i, {
|
|
53800
53797
|
in: !0,
|
|
53801
53798
|
onEntered: nC(i, "onEntered", function() {
|
|
53802
|
-
n(
|
|
53799
|
+
n(nf);
|
|
53803
53800
|
})
|
|
53804
53801
|
})
|
|
53805
53802
|
];
|
|
@@ -53852,8 +53849,8 @@
|
|
|
53852
53849
|
if (null == r.children) return {
|
|
53853
53850
|
current: null
|
|
53854
53851
|
};
|
|
53855
|
-
if (o.status ===
|
|
53856
|
-
status:
|
|
53852
|
+
if (o.status === nf && r.mode === ny) return {
|
|
53853
|
+
status: nf
|
|
53857
53854
|
};
|
|
53858
53855
|
return o.current && (n = o.current, !(n === (i = r.children) || /*#__PURE__*/ React.isValidElement(n) && /*#__PURE__*/ React.isValidElement(i) && null != n.key && n.key === i.key) && 1) ? {
|
|
53859
53856
|
status: nm
|
|
@@ -53870,7 +53867,7 @@
|
|
|
53870
53867
|
status: s
|
|
53871
53868
|
};
|
|
53872
53869
|
switch(s){
|
|
53873
|
-
case
|
|
53870
|
+
case nf:
|
|
53874
53871
|
r = n_[i](l);
|
|
53875
53872
|
break;
|
|
53876
53873
|
case nm:
|
|
@@ -53900,7 +53897,7 @@
|
|
|
53900
53897
|
var t, r;
|
|
53901
53898
|
if (tN) return nS.exports;
|
|
53902
53899
|
return tN = 1, t = nS, r = nS.exports, function(o, n) {
|
|
53903
|
-
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name",
|
|
53900
|
+
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name", p = "type", f = "vendor", h = "version", m = "architecture", g = "console", b = "mobile", v = "tablet", w = "smarttv", k = "wearable", y = "embedded", C = "Amazon", B = "Apple", _ = "ASUS", x = "BlackBerry", P = "Browser", S = "Chrome", E = "Firefox", T = "Google", D = "Huawei", $ = "Microsoft", j = "Motorola", I = "Opera", O = "Samsung", M = "Sharp", A = "Sony", R = "Xiaomi", L = "Zebra", F = "Facebook", N = "Chromium OS", z = "Mac OS", V = function(t, r) {
|
|
53904
53901
|
var o = {};
|
|
53905
53902
|
for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
|
|
53906
53903
|
return o;
|
|
@@ -53915,9 +53912,9 @@
|
|
|
53915
53912
|
if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
|
|
53916
53913
|
}, X = function(t, r) {
|
|
53917
53914
|
for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
|
|
53918
|
-
var
|
|
53919
|
-
for(o = n = 0; o <
|
|
53920
|
-
if (l =
|
|
53915
|
+
var p = r[u], f = r[u + 1];
|
|
53916
|
+
for(o = n = 0; o < p.length && !l && p[o];){
|
|
53917
|
+
if (l = p[o++].exec(t)) for(a = 0; a < f.length; a++)d = l[++n], typeof (c = f[a]) === s && c.length > 0 ? 2 === c.length ? typeof c[1] == i ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : 3 === c.length ? typeof c[1] !== i || c[1].exec && c[1].test ? this[c[0]] = d ? d.replace(c[1], c[2]) : void 0 : this[c[0]] = d ? c[1].call(this, d, c[2]) : void 0 : 4 === c.length && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : void 0) : this[c] = d || void 0;
|
|
53921
53918
|
}
|
|
53922
53919
|
u += 2;
|
|
53923
53920
|
}
|
|
@@ -54501,11 +54498,11 @@
|
|
|
54501
54498
|
[
|
|
54502
54499
|
d,
|
|
54503
54500
|
[
|
|
54504
|
-
|
|
54501
|
+
f,
|
|
54505
54502
|
O
|
|
54506
54503
|
],
|
|
54507
54504
|
[
|
|
54508
|
-
|
|
54505
|
+
p,
|
|
54509
54506
|
v
|
|
54510
54507
|
]
|
|
54511
54508
|
],
|
|
@@ -54517,11 +54514,11 @@
|
|
|
54517
54514
|
[
|
|
54518
54515
|
d,
|
|
54519
54516
|
[
|
|
54520
|
-
|
|
54517
|
+
f,
|
|
54521
54518
|
O
|
|
54522
54519
|
],
|
|
54523
54520
|
[
|
|
54524
|
-
|
|
54521
|
+
p,
|
|
54525
54522
|
b
|
|
54526
54523
|
]
|
|
54527
54524
|
],
|
|
@@ -54531,11 +54528,11 @@
|
|
|
54531
54528
|
[
|
|
54532
54529
|
d,
|
|
54533
54530
|
[
|
|
54534
|
-
|
|
54531
|
+
f,
|
|
54535
54532
|
B
|
|
54536
54533
|
],
|
|
54537
54534
|
[
|
|
54538
|
-
|
|
54535
|
+
p,
|
|
54539
54536
|
b
|
|
54540
54537
|
]
|
|
54541
54538
|
],
|
|
@@ -54547,11 +54544,11 @@
|
|
|
54547
54544
|
[
|
|
54548
54545
|
d,
|
|
54549
54546
|
[
|
|
54550
|
-
|
|
54547
|
+
f,
|
|
54551
54548
|
B
|
|
54552
54549
|
],
|
|
54553
54550
|
[
|
|
54554
|
-
|
|
54551
|
+
p,
|
|
54555
54552
|
v
|
|
54556
54553
|
]
|
|
54557
54554
|
],
|
|
@@ -54561,7 +54558,7 @@
|
|
|
54561
54558
|
[
|
|
54562
54559
|
d,
|
|
54563
54560
|
[
|
|
54564
|
-
|
|
54561
|
+
f,
|
|
54565
54562
|
B
|
|
54566
54563
|
]
|
|
54567
54564
|
],
|
|
@@ -54571,11 +54568,11 @@
|
|
|
54571
54568
|
[
|
|
54572
54569
|
d,
|
|
54573
54570
|
[
|
|
54574
|
-
|
|
54571
|
+
f,
|
|
54575
54572
|
M
|
|
54576
54573
|
],
|
|
54577
54574
|
[
|
|
54578
|
-
|
|
54575
|
+
p,
|
|
54579
54576
|
b
|
|
54580
54577
|
]
|
|
54581
54578
|
],
|
|
@@ -54585,11 +54582,11 @@
|
|
|
54585
54582
|
[
|
|
54586
54583
|
d,
|
|
54587
54584
|
[
|
|
54588
|
-
|
|
54585
|
+
f,
|
|
54589
54586
|
D
|
|
54590
54587
|
],
|
|
54591
54588
|
[
|
|
54592
|
-
|
|
54589
|
+
p,
|
|
54593
54590
|
v
|
|
54594
54591
|
]
|
|
54595
54592
|
],
|
|
@@ -54600,11 +54597,11 @@
|
|
|
54600
54597
|
[
|
|
54601
54598
|
d,
|
|
54602
54599
|
[
|
|
54603
|
-
|
|
54600
|
+
f,
|
|
54604
54601
|
D
|
|
54605
54602
|
],
|
|
54606
54603
|
[
|
|
54607
|
-
|
|
54604
|
+
p,
|
|
54608
54605
|
b
|
|
54609
54606
|
]
|
|
54610
54607
|
],
|
|
@@ -54623,11 +54620,11 @@
|
|
|
54623
54620
|
" "
|
|
54624
54621
|
],
|
|
54625
54622
|
[
|
|
54626
|
-
|
|
54623
|
+
f,
|
|
54627
54624
|
R
|
|
54628
54625
|
],
|
|
54629
54626
|
[
|
|
54630
|
-
|
|
54627
|
+
p,
|
|
54631
54628
|
b
|
|
54632
54629
|
]
|
|
54633
54630
|
],
|
|
@@ -54642,11 +54639,11 @@
|
|
|
54642
54639
|
" "
|
|
54643
54640
|
],
|
|
54644
54641
|
[
|
|
54645
|
-
|
|
54642
|
+
f,
|
|
54646
54643
|
R
|
|
54647
54644
|
],
|
|
54648
54645
|
[
|
|
54649
|
-
|
|
54646
|
+
p,
|
|
54650
54647
|
v
|
|
54651
54648
|
]
|
|
54652
54649
|
],
|
|
@@ -54657,11 +54654,11 @@
|
|
|
54657
54654
|
[
|
|
54658
54655
|
d,
|
|
54659
54656
|
[
|
|
54660
|
-
|
|
54657
|
+
f,
|
|
54661
54658
|
"OPPO"
|
|
54662
54659
|
],
|
|
54663
54660
|
[
|
|
54664
|
-
|
|
54661
|
+
p,
|
|
54665
54662
|
b
|
|
54666
54663
|
]
|
|
54667
54664
|
],
|
|
@@ -54672,11 +54669,11 @@
|
|
|
54672
54669
|
[
|
|
54673
54670
|
d,
|
|
54674
54671
|
[
|
|
54675
|
-
|
|
54672
|
+
f,
|
|
54676
54673
|
"Vivo"
|
|
54677
54674
|
],
|
|
54678
54675
|
[
|
|
54679
|
-
|
|
54676
|
+
p,
|
|
54680
54677
|
b
|
|
54681
54678
|
]
|
|
54682
54679
|
],
|
|
@@ -54686,11 +54683,11 @@
|
|
|
54686
54683
|
[
|
|
54687
54684
|
d,
|
|
54688
54685
|
[
|
|
54689
|
-
|
|
54686
|
+
f,
|
|
54690
54687
|
"Realme"
|
|
54691
54688
|
],
|
|
54692
54689
|
[
|
|
54693
|
-
|
|
54690
|
+
p,
|
|
54694
54691
|
b
|
|
54695
54692
|
]
|
|
54696
54693
|
],
|
|
@@ -54702,11 +54699,11 @@
|
|
|
54702
54699
|
[
|
|
54703
54700
|
d,
|
|
54704
54701
|
[
|
|
54705
|
-
|
|
54702
|
+
f,
|
|
54706
54703
|
j
|
|
54707
54704
|
],
|
|
54708
54705
|
[
|
|
54709
|
-
|
|
54706
|
+
p,
|
|
54710
54707
|
b
|
|
54711
54708
|
]
|
|
54712
54709
|
],
|
|
@@ -54716,11 +54713,11 @@
|
|
|
54716
54713
|
[
|
|
54717
54714
|
d,
|
|
54718
54715
|
[
|
|
54719
|
-
|
|
54716
|
+
f,
|
|
54720
54717
|
j
|
|
54721
54718
|
],
|
|
54722
54719
|
[
|
|
54723
|
-
|
|
54720
|
+
p,
|
|
54724
54721
|
v
|
|
54725
54722
|
]
|
|
54726
54723
|
],
|
|
@@ -54730,11 +54727,11 @@
|
|
|
54730
54727
|
[
|
|
54731
54728
|
d,
|
|
54732
54729
|
[
|
|
54733
|
-
|
|
54730
|
+
f,
|
|
54734
54731
|
"LG"
|
|
54735
54732
|
],
|
|
54736
54733
|
[
|
|
54737
|
-
|
|
54734
|
+
p,
|
|
54738
54735
|
v
|
|
54739
54736
|
]
|
|
54740
54737
|
],
|
|
@@ -54746,11 +54743,11 @@
|
|
|
54746
54743
|
[
|
|
54747
54744
|
d,
|
|
54748
54745
|
[
|
|
54749
|
-
|
|
54746
|
+
f,
|
|
54750
54747
|
"LG"
|
|
54751
54748
|
],
|
|
54752
54749
|
[
|
|
54753
|
-
|
|
54750
|
+
p,
|
|
54754
54751
|
b
|
|
54755
54752
|
]
|
|
54756
54753
|
],
|
|
@@ -54761,11 +54758,11 @@
|
|
|
54761
54758
|
[
|
|
54762
54759
|
d,
|
|
54763
54760
|
[
|
|
54764
|
-
|
|
54761
|
+
f,
|
|
54765
54762
|
"Lenovo"
|
|
54766
54763
|
],
|
|
54767
54764
|
[
|
|
54768
|
-
|
|
54765
|
+
p,
|
|
54769
54766
|
v
|
|
54770
54767
|
]
|
|
54771
54768
|
],
|
|
@@ -54780,11 +54777,11 @@
|
|
|
54780
54777
|
" "
|
|
54781
54778
|
],
|
|
54782
54779
|
[
|
|
54783
|
-
|
|
54780
|
+
f,
|
|
54784
54781
|
"Nokia"
|
|
54785
54782
|
],
|
|
54786
54783
|
[
|
|
54787
|
-
|
|
54784
|
+
p,
|
|
54788
54785
|
b
|
|
54789
54786
|
]
|
|
54790
54787
|
],
|
|
@@ -54794,11 +54791,11 @@
|
|
|
54794
54791
|
[
|
|
54795
54792
|
d,
|
|
54796
54793
|
[
|
|
54797
|
-
|
|
54794
|
+
f,
|
|
54798
54795
|
T
|
|
54799
54796
|
],
|
|
54800
54797
|
[
|
|
54801
|
-
|
|
54798
|
+
p,
|
|
54802
54799
|
v
|
|
54803
54800
|
]
|
|
54804
54801
|
],
|
|
@@ -54808,11 +54805,11 @@
|
|
|
54808
54805
|
[
|
|
54809
54806
|
d,
|
|
54810
54807
|
[
|
|
54811
|
-
|
|
54808
|
+
f,
|
|
54812
54809
|
T
|
|
54813
54810
|
],
|
|
54814
54811
|
[
|
|
54815
|
-
|
|
54812
|
+
p,
|
|
54816
54813
|
b
|
|
54817
54814
|
]
|
|
54818
54815
|
],
|
|
@@ -54822,11 +54819,11 @@
|
|
|
54822
54819
|
[
|
|
54823
54820
|
d,
|
|
54824
54821
|
[
|
|
54825
|
-
|
|
54822
|
+
f,
|
|
54826
54823
|
A
|
|
54827
54824
|
],
|
|
54828
54825
|
[
|
|
54829
|
-
|
|
54826
|
+
p,
|
|
54830
54827
|
b
|
|
54831
54828
|
]
|
|
54832
54829
|
],
|
|
@@ -54840,11 +54837,11 @@
|
|
|
54840
54837
|
"Xperia Tablet"
|
|
54841
54838
|
],
|
|
54842
54839
|
[
|
|
54843
|
-
|
|
54840
|
+
f,
|
|
54844
54841
|
A
|
|
54845
54842
|
],
|
|
54846
54843
|
[
|
|
54847
|
-
|
|
54844
|
+
p,
|
|
54848
54845
|
v
|
|
54849
54846
|
]
|
|
54850
54847
|
],
|
|
@@ -54855,11 +54852,11 @@
|
|
|
54855
54852
|
[
|
|
54856
54853
|
d,
|
|
54857
54854
|
[
|
|
54858
|
-
|
|
54855
|
+
f,
|
|
54859
54856
|
"OnePlus"
|
|
54860
54857
|
],
|
|
54861
54858
|
[
|
|
54862
|
-
|
|
54859
|
+
p,
|
|
54863
54860
|
b
|
|
54864
54861
|
]
|
|
54865
54862
|
],
|
|
@@ -54871,11 +54868,11 @@
|
|
|
54871
54868
|
[
|
|
54872
54869
|
d,
|
|
54873
54870
|
[
|
|
54874
|
-
|
|
54871
|
+
f,
|
|
54875
54872
|
C
|
|
54876
54873
|
],
|
|
54877
54874
|
[
|
|
54878
|
-
|
|
54875
|
+
p,
|
|
54879
54876
|
v
|
|
54880
54877
|
]
|
|
54881
54878
|
],
|
|
@@ -54889,11 +54886,11 @@
|
|
|
54889
54886
|
"Fire Phone $1"
|
|
54890
54887
|
],
|
|
54891
54888
|
[
|
|
54892
|
-
|
|
54889
|
+
f,
|
|
54893
54890
|
C
|
|
54894
54891
|
],
|
|
54895
54892
|
[
|
|
54896
|
-
|
|
54893
|
+
p,
|
|
54897
54894
|
b
|
|
54898
54895
|
]
|
|
54899
54896
|
],
|
|
@@ -54902,9 +54899,9 @@
|
|
|
54902
54899
|
],
|
|
54903
54900
|
[
|
|
54904
54901
|
d,
|
|
54905
|
-
|
|
54902
|
+
f,
|
|
54906
54903
|
[
|
|
54907
|
-
|
|
54904
|
+
p,
|
|
54908
54905
|
v
|
|
54909
54906
|
]
|
|
54910
54907
|
],
|
|
@@ -54915,11 +54912,11 @@
|
|
|
54915
54912
|
[
|
|
54916
54913
|
d,
|
|
54917
54914
|
[
|
|
54918
|
-
|
|
54915
|
+
f,
|
|
54919
54916
|
x
|
|
54920
54917
|
],
|
|
54921
54918
|
[
|
|
54922
|
-
|
|
54919
|
+
p,
|
|
54923
54920
|
b
|
|
54924
54921
|
]
|
|
54925
54922
|
],
|
|
@@ -54929,11 +54926,11 @@
|
|
|
54929
54926
|
[
|
|
54930
54927
|
d,
|
|
54931
54928
|
[
|
|
54932
|
-
|
|
54929
|
+
f,
|
|
54933
54930
|
_
|
|
54934
54931
|
],
|
|
54935
54932
|
[
|
|
54936
|
-
|
|
54933
|
+
p,
|
|
54937
54934
|
v
|
|
54938
54935
|
]
|
|
54939
54936
|
],
|
|
@@ -54943,11 +54940,11 @@
|
|
|
54943
54940
|
[
|
|
54944
54941
|
d,
|
|
54945
54942
|
[
|
|
54946
|
-
|
|
54943
|
+
f,
|
|
54947
54944
|
_
|
|
54948
54945
|
],
|
|
54949
54946
|
[
|
|
54950
|
-
|
|
54947
|
+
p,
|
|
54951
54948
|
b
|
|
54952
54949
|
]
|
|
54953
54950
|
],
|
|
@@ -54957,11 +54954,11 @@
|
|
|
54957
54954
|
[
|
|
54958
54955
|
d,
|
|
54959
54956
|
[
|
|
54960
|
-
|
|
54957
|
+
f,
|
|
54961
54958
|
"HTC"
|
|
54962
54959
|
],
|
|
54963
54960
|
[
|
|
54964
|
-
|
|
54961
|
+
p,
|
|
54965
54962
|
v
|
|
54966
54963
|
]
|
|
54967
54964
|
],
|
|
@@ -54971,14 +54968,14 @@
|
|
|
54971
54968
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
54972
54969
|
],
|
|
54973
54970
|
[
|
|
54974
|
-
|
|
54971
|
+
f,
|
|
54975
54972
|
[
|
|
54976
54973
|
d,
|
|
54977
54974
|
/_/g,
|
|
54978
54975
|
" "
|
|
54979
54976
|
],
|
|
54980
54977
|
[
|
|
54981
|
-
|
|
54978
|
+
p,
|
|
54982
54979
|
b
|
|
54983
54980
|
]
|
|
54984
54981
|
],
|
|
@@ -54988,11 +54985,11 @@
|
|
|
54988
54985
|
[
|
|
54989
54986
|
d,
|
|
54990
54987
|
[
|
|
54991
|
-
|
|
54988
|
+
f,
|
|
54992
54989
|
"Acer"
|
|
54993
54990
|
],
|
|
54994
54991
|
[
|
|
54995
|
-
|
|
54992
|
+
p,
|
|
54996
54993
|
v
|
|
54997
54994
|
]
|
|
54998
54995
|
],
|
|
@@ -55003,11 +55000,11 @@
|
|
|
55003
55000
|
[
|
|
55004
55001
|
d,
|
|
55005
55002
|
[
|
|
55006
|
-
|
|
55003
|
+
f,
|
|
55007
55004
|
"Meizu"
|
|
55008
55005
|
],
|
|
55009
55006
|
[
|
|
55010
|
-
|
|
55007
|
+
p,
|
|
55011
55008
|
b
|
|
55012
55009
|
]
|
|
55013
55010
|
],
|
|
@@ -55017,11 +55014,11 @@
|
|
|
55017
55014
|
[
|
|
55018
55015
|
d,
|
|
55019
55016
|
[
|
|
55020
|
-
|
|
55017
|
+
f,
|
|
55021
55018
|
"Ulefone"
|
|
55022
55019
|
],
|
|
55023
55020
|
[
|
|
55024
|
-
|
|
55021
|
+
p,
|
|
55025
55022
|
b
|
|
55026
55023
|
]
|
|
55027
55024
|
],
|
|
@@ -55035,10 +55032,10 @@
|
|
|
55035
55032
|
/(oppo) ?([\w ]+) bui/i
|
|
55036
55033
|
],
|
|
55037
55034
|
[
|
|
55038
|
-
|
|
55035
|
+
f,
|
|
55039
55036
|
d,
|
|
55040
55037
|
[
|
|
55041
|
-
|
|
55038
|
+
p,
|
|
55042
55039
|
b
|
|
55043
55040
|
]
|
|
55044
55041
|
],
|
|
@@ -55055,10 +55052,10 @@
|
|
|
55055
55052
|
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
55056
55053
|
],
|
|
55057
55054
|
[
|
|
55058
|
-
|
|
55055
|
+
f,
|
|
55059
55056
|
d,
|
|
55060
55057
|
[
|
|
55061
|
-
|
|
55058
|
+
p,
|
|
55062
55059
|
v
|
|
55063
55060
|
]
|
|
55064
55061
|
],
|
|
@@ -55068,11 +55065,11 @@
|
|
|
55068
55065
|
[
|
|
55069
55066
|
d,
|
|
55070
55067
|
[
|
|
55071
|
-
|
|
55068
|
+
f,
|
|
55072
55069
|
$
|
|
55073
55070
|
],
|
|
55074
55071
|
[
|
|
55075
|
-
|
|
55072
|
+
p,
|
|
55076
55073
|
v
|
|
55077
55074
|
]
|
|
55078
55075
|
],
|
|
@@ -55082,11 +55079,11 @@
|
|
|
55082
55079
|
[
|
|
55083
55080
|
d,
|
|
55084
55081
|
[
|
|
55085
|
-
|
|
55082
|
+
f,
|
|
55086
55083
|
"Fairphone"
|
|
55087
55084
|
],
|
|
55088
55085
|
[
|
|
55089
|
-
|
|
55086
|
+
p,
|
|
55090
55087
|
b
|
|
55091
55088
|
]
|
|
55092
55089
|
],
|
|
@@ -55096,11 +55093,11 @@
|
|
|
55096
55093
|
[
|
|
55097
55094
|
d,
|
|
55098
55095
|
[
|
|
55099
|
-
|
|
55096
|
+
f,
|
|
55100
55097
|
"AT&T"
|
|
55101
55098
|
],
|
|
55102
55099
|
[
|
|
55103
|
-
|
|
55100
|
+
p,
|
|
55104
55101
|
b
|
|
55105
55102
|
]
|
|
55106
55103
|
],
|
|
@@ -55110,11 +55107,11 @@
|
|
|
55110
55107
|
[
|
|
55111
55108
|
d,
|
|
55112
55109
|
[
|
|
55113
|
-
|
|
55110
|
+
f,
|
|
55114
55111
|
"Siemens"
|
|
55115
55112
|
],
|
|
55116
55113
|
[
|
|
55117
|
-
|
|
55114
|
+
p,
|
|
55118
55115
|
b
|
|
55119
55116
|
]
|
|
55120
55117
|
],
|
|
@@ -55124,11 +55121,11 @@
|
|
|
55124
55121
|
[
|
|
55125
55122
|
d,
|
|
55126
55123
|
[
|
|
55127
|
-
|
|
55124
|
+
f,
|
|
55128
55125
|
"RCA"
|
|
55129
55126
|
],
|
|
55130
55127
|
[
|
|
55131
|
-
|
|
55128
|
+
p,
|
|
55132
55129
|
v
|
|
55133
55130
|
]
|
|
55134
55131
|
],
|
|
@@ -55138,11 +55135,11 @@
|
|
|
55138
55135
|
[
|
|
55139
55136
|
d,
|
|
55140
55137
|
[
|
|
55141
|
-
|
|
55138
|
+
f,
|
|
55142
55139
|
"Dell"
|
|
55143
55140
|
],
|
|
55144
55141
|
[
|
|
55145
|
-
|
|
55142
|
+
p,
|
|
55146
55143
|
v
|
|
55147
55144
|
]
|
|
55148
55145
|
],
|
|
@@ -55152,11 +55149,11 @@
|
|
|
55152
55149
|
[
|
|
55153
55150
|
d,
|
|
55154
55151
|
[
|
|
55155
|
-
|
|
55152
|
+
f,
|
|
55156
55153
|
"Verizon"
|
|
55157
55154
|
],
|
|
55158
55155
|
[
|
|
55159
|
-
|
|
55156
|
+
p,
|
|
55160
55157
|
v
|
|
55161
55158
|
]
|
|
55162
55159
|
],
|
|
@@ -55166,11 +55163,11 @@
|
|
|
55166
55163
|
[
|
|
55167
55164
|
d,
|
|
55168
55165
|
[
|
|
55169
|
-
|
|
55166
|
+
f,
|
|
55170
55167
|
"Barnes & Noble"
|
|
55171
55168
|
],
|
|
55172
55169
|
[
|
|
55173
|
-
|
|
55170
|
+
p,
|
|
55174
55171
|
v
|
|
55175
55172
|
]
|
|
55176
55173
|
],
|
|
@@ -55180,11 +55177,11 @@
|
|
|
55180
55177
|
[
|
|
55181
55178
|
d,
|
|
55182
55179
|
[
|
|
55183
|
-
|
|
55180
|
+
f,
|
|
55184
55181
|
"NuVision"
|
|
55185
55182
|
],
|
|
55186
55183
|
[
|
|
55187
|
-
|
|
55184
|
+
p,
|
|
55188
55185
|
v
|
|
55189
55186
|
]
|
|
55190
55187
|
],
|
|
@@ -55194,11 +55191,11 @@
|
|
|
55194
55191
|
[
|
|
55195
55192
|
d,
|
|
55196
55193
|
[
|
|
55197
|
-
|
|
55194
|
+
f,
|
|
55198
55195
|
"ZTE"
|
|
55199
55196
|
],
|
|
55200
55197
|
[
|
|
55201
|
-
|
|
55198
|
+
p,
|
|
55202
55199
|
v
|
|
55203
55200
|
]
|
|
55204
55201
|
],
|
|
@@ -55208,11 +55205,11 @@
|
|
|
55208
55205
|
[
|
|
55209
55206
|
d,
|
|
55210
55207
|
[
|
|
55211
|
-
|
|
55208
|
+
f,
|
|
55212
55209
|
"ZTE"
|
|
55213
55210
|
],
|
|
55214
55211
|
[
|
|
55215
|
-
|
|
55212
|
+
p,
|
|
55216
55213
|
b
|
|
55217
55214
|
]
|
|
55218
55215
|
],
|
|
@@ -55222,11 +55219,11 @@
|
|
|
55222
55219
|
[
|
|
55223
55220
|
d,
|
|
55224
55221
|
[
|
|
55225
|
-
|
|
55222
|
+
f,
|
|
55226
55223
|
"Swiss"
|
|
55227
55224
|
],
|
|
55228
55225
|
[
|
|
55229
|
-
|
|
55226
|
+
p,
|
|
55230
55227
|
b
|
|
55231
55228
|
]
|
|
55232
55229
|
],
|
|
@@ -55236,11 +55233,11 @@
|
|
|
55236
55233
|
[
|
|
55237
55234
|
d,
|
|
55238
55235
|
[
|
|
55239
|
-
|
|
55236
|
+
f,
|
|
55240
55237
|
"Swiss"
|
|
55241
55238
|
],
|
|
55242
55239
|
[
|
|
55243
|
-
|
|
55240
|
+
p,
|
|
55244
55241
|
v
|
|
55245
55242
|
]
|
|
55246
55243
|
],
|
|
@@ -55250,11 +55247,11 @@
|
|
|
55250
55247
|
[
|
|
55251
55248
|
d,
|
|
55252
55249
|
[
|
|
55253
|
-
|
|
55250
|
+
f,
|
|
55254
55251
|
"Zeki"
|
|
55255
55252
|
],
|
|
55256
55253
|
[
|
|
55257
|
-
|
|
55254
|
+
p,
|
|
55258
55255
|
v
|
|
55259
55256
|
]
|
|
55260
55257
|
],
|
|
@@ -55264,12 +55261,12 @@
|
|
|
55264
55261
|
],
|
|
55265
55262
|
[
|
|
55266
55263
|
[
|
|
55267
|
-
|
|
55264
|
+
f,
|
|
55268
55265
|
"Dragon Touch"
|
|
55269
55266
|
],
|
|
55270
55267
|
d,
|
|
55271
55268
|
[
|
|
55272
|
-
|
|
55269
|
+
p,
|
|
55273
55270
|
v
|
|
55274
55271
|
]
|
|
55275
55272
|
],
|
|
@@ -55279,11 +55276,11 @@
|
|
|
55279
55276
|
[
|
|
55280
55277
|
d,
|
|
55281
55278
|
[
|
|
55282
|
-
|
|
55279
|
+
f,
|
|
55283
55280
|
"Insignia"
|
|
55284
55281
|
],
|
|
55285
55282
|
[
|
|
55286
|
-
|
|
55283
|
+
p,
|
|
55287
55284
|
v
|
|
55288
55285
|
]
|
|
55289
55286
|
],
|
|
@@ -55293,11 +55290,11 @@
|
|
|
55293
55290
|
[
|
|
55294
55291
|
d,
|
|
55295
55292
|
[
|
|
55296
|
-
|
|
55293
|
+
f,
|
|
55297
55294
|
"NextBook"
|
|
55298
55295
|
],
|
|
55299
55296
|
[
|
|
55300
|
-
|
|
55297
|
+
p,
|
|
55301
55298
|
v
|
|
55302
55299
|
]
|
|
55303
55300
|
],
|
|
@@ -55306,12 +55303,12 @@
|
|
|
55306
55303
|
],
|
|
55307
55304
|
[
|
|
55308
55305
|
[
|
|
55309
|
-
|
|
55306
|
+
f,
|
|
55310
55307
|
"Voice"
|
|
55311
55308
|
],
|
|
55312
55309
|
d,
|
|
55313
55310
|
[
|
|
55314
|
-
|
|
55311
|
+
p,
|
|
55315
55312
|
b
|
|
55316
55313
|
]
|
|
55317
55314
|
],
|
|
@@ -55320,12 +55317,12 @@
|
|
|
55320
55317
|
],
|
|
55321
55318
|
[
|
|
55322
55319
|
[
|
|
55323
|
-
|
|
55320
|
+
f,
|
|
55324
55321
|
"LvTel"
|
|
55325
55322
|
],
|
|
55326
55323
|
d,
|
|
55327
55324
|
[
|
|
55328
|
-
|
|
55325
|
+
p,
|
|
55329
55326
|
b
|
|
55330
55327
|
]
|
|
55331
55328
|
],
|
|
@@ -55335,11 +55332,11 @@
|
|
|
55335
55332
|
[
|
|
55336
55333
|
d,
|
|
55337
55334
|
[
|
|
55338
|
-
|
|
55335
|
+
f,
|
|
55339
55336
|
"Essential"
|
|
55340
55337
|
],
|
|
55341
55338
|
[
|
|
55342
|
-
|
|
55339
|
+
p,
|
|
55343
55340
|
b
|
|
55344
55341
|
]
|
|
55345
55342
|
],
|
|
@@ -55349,11 +55346,11 @@
|
|
|
55349
55346
|
[
|
|
55350
55347
|
d,
|
|
55351
55348
|
[
|
|
55352
|
-
|
|
55349
|
+
f,
|
|
55353
55350
|
"Envizen"
|
|
55354
55351
|
],
|
|
55355
55352
|
[
|
|
55356
|
-
|
|
55353
|
+
p,
|
|
55357
55354
|
v
|
|
55358
55355
|
]
|
|
55359
55356
|
],
|
|
@@ -55363,11 +55360,11 @@
|
|
|
55363
55360
|
[
|
|
55364
55361
|
d,
|
|
55365
55362
|
[
|
|
55366
|
-
|
|
55363
|
+
f,
|
|
55367
55364
|
"MachSpeed"
|
|
55368
55365
|
],
|
|
55369
55366
|
[
|
|
55370
|
-
|
|
55367
|
+
p,
|
|
55371
55368
|
v
|
|
55372
55369
|
]
|
|
55373
55370
|
],
|
|
@@ -55377,11 +55374,11 @@
|
|
|
55377
55374
|
[
|
|
55378
55375
|
d,
|
|
55379
55376
|
[
|
|
55380
|
-
|
|
55377
|
+
f,
|
|
55381
55378
|
"Rotor"
|
|
55382
55379
|
],
|
|
55383
55380
|
[
|
|
55384
|
-
|
|
55381
|
+
p,
|
|
55385
55382
|
v
|
|
55386
55383
|
]
|
|
55387
55384
|
],
|
|
@@ -55391,11 +55388,11 @@
|
|
|
55391
55388
|
[
|
|
55392
55389
|
d,
|
|
55393
55390
|
[
|
|
55394
|
-
|
|
55391
|
+
f,
|
|
55395
55392
|
"Nvidia"
|
|
55396
55393
|
],
|
|
55397
55394
|
[
|
|
55398
|
-
|
|
55395
|
+
p,
|
|
55399
55396
|
v
|
|
55400
55397
|
]
|
|
55401
55398
|
],
|
|
@@ -55403,10 +55400,10 @@
|
|
|
55403
55400
|
/(sprint) (\w+)/i
|
|
55404
55401
|
],
|
|
55405
55402
|
[
|
|
55406
|
-
|
|
55403
|
+
f,
|
|
55407
55404
|
d,
|
|
55408
55405
|
[
|
|
55409
|
-
|
|
55406
|
+
p,
|
|
55410
55407
|
b
|
|
55411
55408
|
]
|
|
55412
55409
|
],
|
|
@@ -55420,11 +55417,11 @@
|
|
|
55420
55417
|
" "
|
|
55421
55418
|
],
|
|
55422
55419
|
[
|
|
55423
|
-
|
|
55420
|
+
f,
|
|
55424
55421
|
$
|
|
55425
55422
|
],
|
|
55426
55423
|
[
|
|
55427
|
-
|
|
55424
|
+
p,
|
|
55428
55425
|
b
|
|
55429
55426
|
]
|
|
55430
55427
|
],
|
|
@@ -55434,11 +55431,11 @@
|
|
|
55434
55431
|
[
|
|
55435
55432
|
d,
|
|
55436
55433
|
[
|
|
55437
|
-
|
|
55434
|
+
f,
|
|
55438
55435
|
L
|
|
55439
55436
|
],
|
|
55440
55437
|
[
|
|
55441
|
-
|
|
55438
|
+
p,
|
|
55442
55439
|
v
|
|
55443
55440
|
]
|
|
55444
55441
|
],
|
|
@@ -55448,11 +55445,11 @@
|
|
|
55448
55445
|
[
|
|
55449
55446
|
d,
|
|
55450
55447
|
[
|
|
55451
|
-
|
|
55448
|
+
f,
|
|
55452
55449
|
L
|
|
55453
55450
|
],
|
|
55454
55451
|
[
|
|
55455
|
-
|
|
55452
|
+
p,
|
|
55456
55453
|
b
|
|
55457
55454
|
]
|
|
55458
55455
|
],
|
|
@@ -55460,9 +55457,9 @@
|
|
|
55460
55457
|
/smart-tv.+(samsung)/i
|
|
55461
55458
|
],
|
|
55462
55459
|
[
|
|
55463
|
-
|
|
55460
|
+
f,
|
|
55464
55461
|
[
|
|
55465
|
-
|
|
55462
|
+
p,
|
|
55466
55463
|
w
|
|
55467
55464
|
]
|
|
55468
55465
|
],
|
|
@@ -55476,11 +55473,11 @@
|
|
|
55476
55473
|
"SmartTV"
|
|
55477
55474
|
],
|
|
55478
55475
|
[
|
|
55479
|
-
|
|
55476
|
+
f,
|
|
55480
55477
|
O
|
|
55481
55478
|
],
|
|
55482
55479
|
[
|
|
55483
|
-
|
|
55480
|
+
p,
|
|
55484
55481
|
w
|
|
55485
55482
|
]
|
|
55486
55483
|
],
|
|
@@ -55489,11 +55486,11 @@
|
|
|
55489
55486
|
],
|
|
55490
55487
|
[
|
|
55491
55488
|
[
|
|
55492
|
-
|
|
55489
|
+
f,
|
|
55493
55490
|
"LG"
|
|
55494
55491
|
],
|
|
55495
55492
|
[
|
|
55496
|
-
|
|
55493
|
+
p,
|
|
55497
55494
|
w
|
|
55498
55495
|
]
|
|
55499
55496
|
],
|
|
@@ -55501,13 +55498,13 @@
|
|
|
55501
55498
|
/(apple) ?tv/i
|
|
55502
55499
|
],
|
|
55503
55500
|
[
|
|
55504
|
-
|
|
55501
|
+
f,
|
|
55505
55502
|
[
|
|
55506
55503
|
d,
|
|
55507
55504
|
B + " TV"
|
|
55508
55505
|
],
|
|
55509
55506
|
[
|
|
55510
|
-
|
|
55507
|
+
p,
|
|
55511
55508
|
w
|
|
55512
55509
|
]
|
|
55513
55510
|
],
|
|
@@ -55520,11 +55517,11 @@
|
|
|
55520
55517
|
S + "cast"
|
|
55521
55518
|
],
|
|
55522
55519
|
[
|
|
55523
|
-
|
|
55520
|
+
f,
|
|
55524
55521
|
T
|
|
55525
55522
|
],
|
|
55526
55523
|
[
|
|
55527
|
-
|
|
55524
|
+
p,
|
|
55528
55525
|
w
|
|
55529
55526
|
]
|
|
55530
55527
|
],
|
|
@@ -55534,11 +55531,11 @@
|
|
|
55534
55531
|
[
|
|
55535
55532
|
d,
|
|
55536
55533
|
[
|
|
55537
|
-
|
|
55534
|
+
f,
|
|
55538
55535
|
C
|
|
55539
55536
|
],
|
|
55540
55537
|
[
|
|
55541
|
-
|
|
55538
|
+
p,
|
|
55542
55539
|
w
|
|
55543
55540
|
]
|
|
55544
55541
|
],
|
|
@@ -55549,11 +55546,11 @@
|
|
|
55549
55546
|
[
|
|
55550
55547
|
d,
|
|
55551
55548
|
[
|
|
55552
|
-
|
|
55549
|
+
f,
|
|
55553
55550
|
M
|
|
55554
55551
|
],
|
|
55555
55552
|
[
|
|
55556
|
-
|
|
55553
|
+
p,
|
|
55557
55554
|
w
|
|
55558
55555
|
]
|
|
55559
55556
|
],
|
|
@@ -55563,11 +55560,11 @@
|
|
|
55563
55560
|
[
|
|
55564
55561
|
d,
|
|
55565
55562
|
[
|
|
55566
|
-
|
|
55563
|
+
f,
|
|
55567
55564
|
A
|
|
55568
55565
|
],
|
|
55569
55566
|
[
|
|
55570
|
-
|
|
55567
|
+
p,
|
|
55571
55568
|
w
|
|
55572
55569
|
]
|
|
55573
55570
|
],
|
|
@@ -55577,11 +55574,11 @@
|
|
|
55577
55574
|
[
|
|
55578
55575
|
d,
|
|
55579
55576
|
[
|
|
55580
|
-
|
|
55577
|
+
f,
|
|
55581
55578
|
R
|
|
55582
55579
|
],
|
|
55583
55580
|
[
|
|
55584
|
-
|
|
55581
|
+
p,
|
|
55585
55582
|
w
|
|
55586
55583
|
]
|
|
55587
55584
|
],
|
|
@@ -55589,10 +55586,10 @@
|
|
|
55589
55586
|
/Hbbtv.*(technisat) (.*);/i
|
|
55590
55587
|
],
|
|
55591
55588
|
[
|
|
55592
|
-
|
|
55589
|
+
f,
|
|
55593
55590
|
d,
|
|
55594
55591
|
[
|
|
55595
|
-
|
|
55592
|
+
p,
|
|
55596
55593
|
w
|
|
55597
55594
|
]
|
|
55598
55595
|
],
|
|
@@ -55602,7 +55599,7 @@
|
|
|
55602
55599
|
],
|
|
55603
55600
|
[
|
|
55604
55601
|
[
|
|
55605
|
-
|
|
55602
|
+
f,
|
|
55606
55603
|
Q
|
|
55607
55604
|
],
|
|
55608
55605
|
[
|
|
@@ -55610,7 +55607,7 @@
|
|
|
55610
55607
|
Q
|
|
55611
55608
|
],
|
|
55612
55609
|
[
|
|
55613
|
-
|
|
55610
|
+
p,
|
|
55614
55611
|
w
|
|
55615
55612
|
]
|
|
55616
55613
|
],
|
|
@@ -55619,7 +55616,7 @@
|
|
|
55619
55616
|
],
|
|
55620
55617
|
[
|
|
55621
55618
|
[
|
|
55622
|
-
|
|
55619
|
+
p,
|
|
55623
55620
|
w
|
|
55624
55621
|
]
|
|
55625
55622
|
],
|
|
@@ -55628,10 +55625,10 @@
|
|
|
55628
55625
|
/(nintendo) ([wids3utch]+)/i
|
|
55629
55626
|
],
|
|
55630
55627
|
[
|
|
55631
|
-
|
|
55628
|
+
f,
|
|
55632
55629
|
d,
|
|
55633
55630
|
[
|
|
55634
|
-
|
|
55631
|
+
p,
|
|
55635
55632
|
g
|
|
55636
55633
|
]
|
|
55637
55634
|
],
|
|
@@ -55641,11 +55638,11 @@
|
|
|
55641
55638
|
[
|
|
55642
55639
|
d,
|
|
55643
55640
|
[
|
|
55644
|
-
|
|
55641
|
+
f,
|
|
55645
55642
|
"Nvidia"
|
|
55646
55643
|
],
|
|
55647
55644
|
[
|
|
55648
|
-
|
|
55645
|
+
p,
|
|
55649
55646
|
g
|
|
55650
55647
|
]
|
|
55651
55648
|
],
|
|
@@ -55655,11 +55652,11 @@
|
|
|
55655
55652
|
[
|
|
55656
55653
|
d,
|
|
55657
55654
|
[
|
|
55658
|
-
|
|
55655
|
+
f,
|
|
55659
55656
|
A
|
|
55660
55657
|
],
|
|
55661
55658
|
[
|
|
55662
|
-
|
|
55659
|
+
p,
|
|
55663
55660
|
g
|
|
55664
55661
|
]
|
|
55665
55662
|
],
|
|
@@ -55669,11 +55666,11 @@
|
|
|
55669
55666
|
[
|
|
55670
55667
|
d,
|
|
55671
55668
|
[
|
|
55672
|
-
|
|
55669
|
+
f,
|
|
55673
55670
|
$
|
|
55674
55671
|
],
|
|
55675
55672
|
[
|
|
55676
|
-
|
|
55673
|
+
p,
|
|
55677
55674
|
g
|
|
55678
55675
|
]
|
|
55679
55676
|
],
|
|
@@ -55681,10 +55678,10 @@
|
|
|
55681
55678
|
/((pebble))app/i
|
|
55682
55679
|
],
|
|
55683
55680
|
[
|
|
55684
|
-
|
|
55681
|
+
f,
|
|
55685
55682
|
d,
|
|
55686
55683
|
[
|
|
55687
|
-
|
|
55684
|
+
p,
|
|
55688
55685
|
k
|
|
55689
55686
|
]
|
|
55690
55687
|
],
|
|
@@ -55694,11 +55691,11 @@
|
|
|
55694
55691
|
[
|
|
55695
55692
|
d,
|
|
55696
55693
|
[
|
|
55697
|
-
|
|
55694
|
+
f,
|
|
55698
55695
|
B
|
|
55699
55696
|
],
|
|
55700
55697
|
[
|
|
55701
|
-
|
|
55698
|
+
p,
|
|
55702
55699
|
k
|
|
55703
55700
|
]
|
|
55704
55701
|
],
|
|
@@ -55708,11 +55705,11 @@
|
|
|
55708
55705
|
[
|
|
55709
55706
|
d,
|
|
55710
55707
|
[
|
|
55711
|
-
|
|
55708
|
+
f,
|
|
55712
55709
|
T
|
|
55713
55710
|
],
|
|
55714
55711
|
[
|
|
55715
|
-
|
|
55712
|
+
p,
|
|
55716
55713
|
k
|
|
55717
55714
|
]
|
|
55718
55715
|
],
|
|
@@ -55722,11 +55719,11 @@
|
|
|
55722
55719
|
[
|
|
55723
55720
|
d,
|
|
55724
55721
|
[
|
|
55725
|
-
|
|
55722
|
+
f,
|
|
55726
55723
|
L
|
|
55727
55724
|
],
|
|
55728
55725
|
[
|
|
55729
|
-
|
|
55726
|
+
p,
|
|
55730
55727
|
k
|
|
55731
55728
|
]
|
|
55732
55729
|
],
|
|
@@ -55736,11 +55733,11 @@
|
|
|
55736
55733
|
[
|
|
55737
55734
|
d,
|
|
55738
55735
|
[
|
|
55739
|
-
|
|
55736
|
+
f,
|
|
55740
55737
|
F
|
|
55741
55738
|
],
|
|
55742
55739
|
[
|
|
55743
|
-
|
|
55740
|
+
p,
|
|
55744
55741
|
k
|
|
55745
55742
|
]
|
|
55746
55743
|
],
|
|
@@ -55748,9 +55745,9 @@
|
|
|
55748
55745
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
55749
55746
|
],
|
|
55750
55747
|
[
|
|
55751
|
-
|
|
55748
|
+
f,
|
|
55752
55749
|
[
|
|
55753
|
-
|
|
55750
|
+
p,
|
|
55754
55751
|
y
|
|
55755
55752
|
]
|
|
55756
55753
|
],
|
|
@@ -55760,11 +55757,11 @@
|
|
|
55760
55757
|
[
|
|
55761
55758
|
d,
|
|
55762
55759
|
[
|
|
55763
|
-
|
|
55760
|
+
f,
|
|
55764
55761
|
C
|
|
55765
55762
|
],
|
|
55766
55763
|
[
|
|
55767
|
-
|
|
55764
|
+
p,
|
|
55768
55765
|
y
|
|
55769
55766
|
]
|
|
55770
55767
|
],
|
|
@@ -55774,7 +55771,7 @@
|
|
|
55774
55771
|
[
|
|
55775
55772
|
d,
|
|
55776
55773
|
[
|
|
55777
|
-
|
|
55774
|
+
p,
|
|
55778
55775
|
b
|
|
55779
55776
|
]
|
|
55780
55777
|
],
|
|
@@ -55784,7 +55781,7 @@
|
|
|
55784
55781
|
[
|
|
55785
55782
|
d,
|
|
55786
55783
|
[
|
|
55787
|
-
|
|
55784
|
+
p,
|
|
55788
55785
|
v
|
|
55789
55786
|
]
|
|
55790
55787
|
],
|
|
@@ -55793,7 +55790,7 @@
|
|
|
55793
55790
|
],
|
|
55794
55791
|
[
|
|
55795
55792
|
[
|
|
55796
|
-
|
|
55793
|
+
p,
|
|
55797
55794
|
v
|
|
55798
55795
|
]
|
|
55799
55796
|
],
|
|
@@ -55802,7 +55799,7 @@
|
|
|
55802
55799
|
],
|
|
55803
55800
|
[
|
|
55804
55801
|
[
|
|
55805
|
-
|
|
55802
|
+
p,
|
|
55806
55803
|
b
|
|
55807
55804
|
]
|
|
55808
55805
|
],
|
|
@@ -55812,7 +55809,7 @@
|
|
|
55812
55809
|
[
|
|
55813
55810
|
d,
|
|
55814
55811
|
[
|
|
55815
|
-
|
|
55812
|
+
f,
|
|
55816
55813
|
"Generic"
|
|
55817
55814
|
]
|
|
55818
55815
|
]
|
|
@@ -56063,7 +56060,7 @@
|
|
|
56063
56060
|
return t[m] = void 0, X.call(t, g, k.cpu), t;
|
|
56064
56061
|
}, this.getDevice = function() {
|
|
56065
56062
|
var t = {};
|
|
56066
|
-
return t[
|
|
56063
|
+
return t[f] = void 0, t[d] = void 0, t[p] = void 0, X.call(t, g, k.device), y && !t[p] && w && w.mobile && (t[p] = b), y && "Macintosh" == t[d] && n && typeof n.standalone !== a && n.maxTouchPoints && n.maxTouchPoints > 2 && (t[d] = "iPad", t[p] = v), t;
|
|
56067
56064
|
}, this.getEngine = function() {
|
|
56068
56065
|
var t = {};
|
|
56069
56066
|
return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
|
|
@@ -56093,8 +56090,8 @@
|
|
|
56093
56090
|
m
|
|
56094
56091
|
]), K.DEVICE = W([
|
|
56095
56092
|
d,
|
|
56096
|
-
p,
|
|
56097
56093
|
f,
|
|
56094
|
+
p,
|
|
56098
56095
|
g,
|
|
56099
56096
|
b,
|
|
56100
56097
|
w,
|
|
@@ -56117,9 +56114,9 @@
|
|
|
56117
56114
|
};
|
|
56118
56115
|
}
|
|
56119
56116
|
}("object" == typeof window ? window : nE), nS.exports;
|
|
56120
|
-
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(),
|
|
56117
|
+
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), p = function(t) {
|
|
56121
56118
|
return i.setUA(t);
|
|
56122
|
-
},
|
|
56119
|
+
}, f = function(t) {
|
|
56123
56120
|
if (!t) return void console.error("No userAgent string was provided");
|
|
56124
56121
|
var r = new n(t);
|
|
56125
56122
|
return {
|
|
@@ -56142,8 +56139,8 @@
|
|
|
56142
56139
|
engine: l,
|
|
56143
56140
|
os: d,
|
|
56144
56141
|
ua: u,
|
|
56145
|
-
setUa:
|
|
56146
|
-
parseUserAgent:
|
|
56142
|
+
setUa: p,
|
|
56143
|
+
parseUserAgent: f
|
|
56147
56144
|
});
|
|
56148
56145
|
function m(t, r) {
|
|
56149
56146
|
var o = Object.keys(t);
|
|
@@ -56362,9 +56359,9 @@
|
|
|
56362
56359
|
}, eu = function(t) {
|
|
56363
56360
|
var r = t.name;
|
|
56364
56361
|
return r === $.InternetExplorer || r === $.Ie;
|
|
56365
|
-
}, ef = function(t) {
|
|
56366
|
-
return t.name === $.MIUI;
|
|
56367
56362
|
}, ep = function(t) {
|
|
56363
|
+
return t.name === $.MIUI;
|
|
56364
|
+
}, ef = function(t) {
|
|
56368
56365
|
return t.name === $.SamsungBrowser;
|
|
56369
56366
|
}, eh = function(t) {
|
|
56370
56367
|
return M(t.version);
|
|
@@ -56437,13 +56434,13 @@
|
|
|
56437
56434
|
isLegacyEdge: ea(n) && !ek(s),
|
|
56438
56435
|
isWindows: K(i),
|
|
56439
56436
|
isMacOs: Y(i),
|
|
56440
|
-
isMIUI:
|
|
56441
|
-
isSamsungBrowser:
|
|
56437
|
+
isMIUI: ep(n),
|
|
56438
|
+
isSamsungBrowser: ef(n)
|
|
56442
56439
|
};
|
|
56443
56440
|
}
|
|
56444
|
-
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn =
|
|
56441
|
+
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn = ep(a), ti = ef(a);
|
|
56445
56442
|
function ta(t) {
|
|
56446
|
-
return
|
|
56443
|
+
return f(t || window.navigator.userAgent);
|
|
56447
56444
|
}
|
|
56448
56445
|
return nP.AndroidView = function(r) {
|
|
56449
56446
|
var n = r.renderWithFragment, i = r.children, a = y(r, [
|
|
@@ -56527,7 +56524,7 @@
|
|
|
56527
56524
|
]);
|
|
56528
56525
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
56529
56526
|
}, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
|
|
56530
|
-
var r, o, n, i, a, s, c, l, d, u,
|
|
56527
|
+
var r, o, n, i, a, s, c, l, d, u, p, m, g, b, v, w, k, y, C, B, _, x, P = t ? f(t) : h, S = P.device, E = P.browser, T = P.engine, D = P.os, $ = P.ua, j = O(S.type), I = j.isBrowser, A = j.isMobile, R = j.isTablet, F = j.isSmartTV, N = j.isConsole, z = j.isWearable, V = j.isEmbedded;
|
|
56531
56528
|
if (I) {
|
|
56532
56529
|
return r = I, o = E, n = T, i = D, a = $, {
|
|
56533
56530
|
isBrowser: r,
|
|
@@ -56552,10 +56549,10 @@
|
|
|
56552
56549
|
};
|
|
56553
56550
|
}
|
|
56554
56551
|
if (N) {
|
|
56555
|
-
return u = N,
|
|
56552
|
+
return u = N, p = T, m = D, g = $, {
|
|
56556
56553
|
isConsole: u,
|
|
56557
|
-
engineName: M(
|
|
56558
|
-
engineVersion: M(
|
|
56554
|
+
engineName: M(p.name),
|
|
56555
|
+
engineVersion: M(p.version),
|
|
56559
56556
|
osName: M(m.name),
|
|
56560
56557
|
osVersion: M(m.version),
|
|
56561
56558
|
userAgent: M(g)
|
|
@@ -56586,7 +56583,7 @@
|
|
|
56586
56583
|
}
|
|
56587
56584
|
}, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
|
|
56588
56585
|
if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
|
|
56589
|
-
var r =
|
|
56586
|
+
var r = f(t);
|
|
56590
56587
|
return eP({
|
|
56591
56588
|
device: r.device,
|
|
56592
56589
|
browser: r.browser,
|
|
@@ -56594,8 +56591,8 @@
|
|
|
56594
56591
|
engine: r.engine,
|
|
56595
56592
|
ua: r.ua
|
|
56596
56593
|
});
|
|
56597
|
-
}, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent =
|
|
56598
|
-
return
|
|
56594
|
+
}, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent = f, nP.setUserAgent = function(t) {
|
|
56595
|
+
return p(t);
|
|
56599
56596
|
}, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
|
|
56600
56597
|
var r = ta(t || window.navigator.userAgent);
|
|
56601
56598
|
return [
|
|
@@ -56801,7 +56798,7 @@
|
|
|
56801
56798
|
var nM = oX(function() {
|
|
56802
56799
|
if (tW) return tV;
|
|
56803
56800
|
tW = 1;
|
|
56804
|
-
var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max,
|
|
56801
|
+
var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max, p = Math.min, f = function() {
|
|
56805
56802
|
return l.Date.now();
|
|
56806
56803
|
};
|
|
56807
56804
|
function h(t) {
|
|
@@ -56817,8 +56814,8 @@
|
|
|
56817
56814
|
}
|
|
56818
56815
|
if ("string" != typeof s) return 0 === s ? s : +s;
|
|
56819
56816
|
s = s.replace(r, "");
|
|
56820
|
-
var
|
|
56821
|
-
return
|
|
56817
|
+
var p = n.test(s);
|
|
56818
|
+
return p || i.test(s) ? a(s.slice(2), p ? 2 : 8) : o.test(s) ? t : +s;
|
|
56822
56819
|
}
|
|
56823
56820
|
return tV = function(t, r, o) {
|
|
56824
56821
|
var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
|
|
@@ -56833,15 +56830,15 @@
|
|
|
56833
56830
|
return void 0 === l || o >= r || o < 0 || b && n >= a;
|
|
56834
56831
|
}
|
|
56835
56832
|
function y() {
|
|
56836
|
-
var t, o, n, i, s =
|
|
56833
|
+
var t, o, n, i, s = f();
|
|
56837
56834
|
if (k(s)) return C(s);
|
|
56838
|
-
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ?
|
|
56835
|
+
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? p(i, a - n) : i));
|
|
56839
56836
|
}
|
|
56840
56837
|
function C(t) {
|
|
56841
56838
|
return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
|
|
56842
56839
|
}
|
|
56843
56840
|
function B() {
|
|
56844
|
-
var t, o =
|
|
56841
|
+
var t, o = f(), a = k(o);
|
|
56845
56842
|
if (n = arguments, i = this, l = o, a) {
|
|
56846
56843
|
if (void 0 === c) {
|
|
56847
56844
|
return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
|
|
@@ -56853,7 +56850,7 @@
|
|
|
56853
56850
|
return B.cancel = function() {
|
|
56854
56851
|
void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
|
|
56855
56852
|
}, B.flush = function() {
|
|
56856
|
-
return void 0 === c ? s : C(
|
|
56853
|
+
return void 0 === c ? s : C(f());
|
|
56857
56854
|
}, B;
|
|
56858
56855
|
};
|
|
56859
56856
|
}()), nA = {
|
|
@@ -56864,11 +56861,11 @@
|
|
|
56864
56861
|
var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
|
|
56865
56862
|
if (tU) return nR;
|
|
56866
56863
|
tU = 1;
|
|
56867
|
-
var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112,
|
|
56864
|
+
var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, p = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
56868
56865
|
function k(t) {
|
|
56869
56866
|
if ("object" == typeof t && null !== t) {
|
|
56870
|
-
var
|
|
56871
|
-
switch(
|
|
56867
|
+
var f = t.$$typeof;
|
|
56868
|
+
switch(f){
|
|
56872
56869
|
case r:
|
|
56873
56870
|
switch(t = t.type){
|
|
56874
56871
|
case l:
|
|
@@ -56876,7 +56873,7 @@
|
|
|
56876
56873
|
case n:
|
|
56877
56874
|
case a:
|
|
56878
56875
|
case i:
|
|
56879
|
-
case
|
|
56876
|
+
case p:
|
|
56880
56877
|
return t;
|
|
56881
56878
|
default:
|
|
56882
56879
|
switch(t = t && t.$$typeof){
|
|
@@ -56887,18 +56884,18 @@
|
|
|
56887
56884
|
case s:
|
|
56888
56885
|
return t;
|
|
56889
56886
|
default:
|
|
56890
|
-
return
|
|
56887
|
+
return f;
|
|
56891
56888
|
}
|
|
56892
56889
|
}
|
|
56893
56890
|
case o:
|
|
56894
|
-
return
|
|
56891
|
+
return f;
|
|
56895
56892
|
}
|
|
56896
56893
|
}
|
|
56897
56894
|
}
|
|
56898
56895
|
function y(t) {
|
|
56899
56896
|
return k(t) === d;
|
|
56900
56897
|
}
|
|
56901
|
-
return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense =
|
|
56898
|
+
return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense = p, nR.isAsyncMode = function(t) {
|
|
56902
56899
|
return y(t) || k(t) === l;
|
|
56903
56900
|
}, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
|
|
56904
56901
|
return k(t) === c;
|
|
@@ -56921,9 +56918,9 @@
|
|
|
56921
56918
|
}, nR.isStrictMode = function(t) {
|
|
56922
56919
|
return k(t) === i;
|
|
56923
56920
|
}, nR.isSuspense = function(t) {
|
|
56924
|
-
return k(t) ===
|
|
56921
|
+
return k(t) === p;
|
|
56925
56922
|
}, nR.isValidElementType = function(t) {
|
|
56926
|
-
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t ===
|
|
56923
|
+
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t === p || t === f || "object" == typeof t && null !== t && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === s || t.$$typeof === c || t.$$typeof === u || t.$$typeof === b || t.$$typeof === v || t.$$typeof === w || t.$$typeof === g);
|
|
56927
56924
|
}, nR.typeOf = k, nR;
|
|
56928
56925
|
}(), nA.exports), r = {
|
|
56929
56926
|
childContextTypes: !0,
|
|
@@ -56963,12 +56960,12 @@
|
|
|
56963
56960
|
displayName: !0,
|
|
56964
56961
|
propTypes: !0
|
|
56965
56962
|
}, i[t.Memo] = n;
|
|
56966
|
-
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf,
|
|
56963
|
+
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, p = Object.prototype;
|
|
56967
56964
|
return tQ = function t(r, n, i) {
|
|
56968
56965
|
if ("string" != typeof n) {
|
|
56969
|
-
if (
|
|
56970
|
-
var
|
|
56971
|
-
|
|
56966
|
+
if (p) {
|
|
56967
|
+
var f = u(n);
|
|
56968
|
+
f && f !== p && t(r, f, i);
|
|
56972
56969
|
}
|
|
56973
56970
|
var h = c(n);
|
|
56974
56971
|
l && (h = h.concat(l(n)));
|
|
@@ -57125,7 +57122,7 @@
|
|
|
57125
57122
|
else console.warn("Flashlight is not supported or not initialized.");
|
|
57126
57123
|
}, [
|
|
57127
57124
|
c
|
|
57128
|
-
]),
|
|
57125
|
+
]), p = reactExports.useCallback(async ()=>{
|
|
57129
57126
|
if (c && c.isSupported()) try {
|
|
57130
57127
|
await c.turnOff(), d.current = !1;
|
|
57131
57128
|
} catch (t) {
|
|
@@ -57133,15 +57130,15 @@
|
|
|
57133
57130
|
}
|
|
57134
57131
|
}, [
|
|
57135
57132
|
c
|
|
57136
|
-
]),
|
|
57133
|
+
]), f = React.useMemo(()=>({
|
|
57137
57134
|
turnOnFlashlight: u,
|
|
57138
|
-
turnOffFlashlight:
|
|
57135
|
+
turnOffFlashlight: p
|
|
57139
57136
|
}), [
|
|
57140
57137
|
u,
|
|
57141
|
-
|
|
57138
|
+
p
|
|
57142
57139
|
]);
|
|
57143
57140
|
return oZ.jsx(nU.Provider, {
|
|
57144
|
-
value:
|
|
57141
|
+
value: f,
|
|
57145
57142
|
children: s
|
|
57146
57143
|
});
|
|
57147
57144
|
}, { Errors: nQ } = ra$1, nX = dt$1.div`
|
|
@@ -57187,7 +57184,7 @@
|
|
|
57187
57184
|
`;
|
|
57188
57185
|
function nJ(r) {
|
|
57189
57186
|
var s, c;
|
|
57190
|
-
let l, { checkCameraMode: d, frontCamera: u, onClose:
|
|
57187
|
+
let l, { checkCameraMode: d, frontCamera: u, onClose: p, children: f, onVideoPlayed: w, flipHorizontal: k, videoSettings: y, refVideo: C, onError: B, closeButton: _, videoClassName: x, scale: P, defaultCameraId: S, onWarning: E } = r, T = reactExports.useRef(), { lang: D } = no$1.useSDKSettings(), { sendEvent: $ } = iN$1.useSDKTracking(), j = nz("closeButton.src", "ic_close.svg"), [I, O] = reactExports.useState(""), M = reactExports.useRef(!1), A = reactExports.useRef(!1), R = reactExports.useRef(!1), L = reactExports.useRef(), F = reactExports.useRef([]), N = reactExports.useRef(""), z = gB(), V = reactExports.useCallback((t)=>{
|
|
57191
57188
|
B && B(t);
|
|
57192
57189
|
}, [
|
|
57193
57190
|
B
|
|
@@ -57263,8 +57260,8 @@
|
|
|
57263
57260
|
},
|
|
57264
57261
|
...o
|
|
57265
57262
|
}
|
|
57266
|
-
},
|
|
57267
|
-
if (await U(), q(), !
|
|
57263
|
+
}, p = await navigator.mediaDevices.getUserMedia(n);
|
|
57264
|
+
if (await U(), q(), !p) return O(z("not_supported")), V(nQ.not_supported), null;
|
|
57268
57265
|
a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
|
|
57269
57266
|
tag: "cam_permission",
|
|
57270
57267
|
event: "user_activity.cam",
|
|
@@ -57277,13 +57274,13 @@
|
|
|
57277
57274
|
log: {}
|
|
57278
57275
|
});
|
|
57279
57276
|
try {
|
|
57280
|
-
let t =
|
|
57281
|
-
if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof
|
|
57282
|
-
let t =
|
|
57277
|
+
let t = p.getVideoTracks()[0].getSettings();
|
|
57278
|
+
if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof p.getVideoTracks()[0].getCapabilities) {
|
|
57279
|
+
let t = p.getVideoTracks()[0].getCapabilities();
|
|
57283
57280
|
h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
|
|
57284
57281
|
}
|
|
57285
57282
|
} catch (t) {}
|
|
57286
|
-
return
|
|
57283
|
+
return p;
|
|
57287
57284
|
} catch (t) {
|
|
57288
57285
|
a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
|
|
57289
57286
|
tag: "cam_permission",
|
|
@@ -57394,13 +57391,13 @@
|
|
|
57394
57391
|
z
|
|
57395
57392
|
]);
|
|
57396
57393
|
let H = reactExports.useCallback(()=>{
|
|
57397
|
-
W(),
|
|
57394
|
+
W(), p && p(), $({
|
|
57398
57395
|
tag: "result",
|
|
57399
57396
|
event: "user_activity.cancel",
|
|
57400
57397
|
log: {}
|
|
57401
57398
|
});
|
|
57402
57399
|
}, [
|
|
57403
|
-
|
|
57400
|
+
p,
|
|
57404
57401
|
W,
|
|
57405
57402
|
$
|
|
57406
57403
|
]);
|
|
@@ -57463,7 +57460,7 @@
|
|
|
57463
57460
|
className: x,
|
|
57464
57461
|
scale: P
|
|
57465
57462
|
}),
|
|
57466
|
-
|
|
57463
|
+
f,
|
|
57467
57464
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
57468
57465
|
onClick: H,
|
|
57469
57466
|
"data-testid": "close-camera"
|
|
@@ -57663,32 +57660,32 @@
|
|
|
57663
57660
|
"left center",
|
|
57664
57661
|
"left bottom"
|
|
57665
57662
|
], io = function(t, r, o, n, i) {
|
|
57666
|
-
var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2,
|
|
57663
|
+
var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2, p = r.height, f = r.width, h = d - p / 2, m = u - f / 2, g = "", b = "0%", v = "0%";
|
|
57667
57664
|
switch(l[0]){
|
|
57668
57665
|
case "top":
|
|
57669
|
-
h -=
|
|
57666
|
+
h -= p / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
|
|
57670
57667
|
break;
|
|
57671
57668
|
case "bottom":
|
|
57672
|
-
h +=
|
|
57669
|
+
h += p / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
|
|
57673
57670
|
break;
|
|
57674
57671
|
case "left":
|
|
57675
|
-
m -=
|
|
57672
|
+
m -= f / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
|
|
57676
57673
|
break;
|
|
57677
57674
|
case "right":
|
|
57678
|
-
m +=
|
|
57675
|
+
m += f / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
|
|
57679
57676
|
}
|
|
57680
57677
|
switch(l[1]){
|
|
57681
57678
|
case "top":
|
|
57682
57679
|
h = t.top, b = t.height / 2 + "px";
|
|
57683
57680
|
break;
|
|
57684
57681
|
case "bottom":
|
|
57685
|
-
h = t.top -
|
|
57682
|
+
h = t.top - p + t.height, b = p - t.height / 2 + "px";
|
|
57686
57683
|
break;
|
|
57687
57684
|
case "left":
|
|
57688
57685
|
m = t.left, v = t.width / 2 + "px";
|
|
57689
57686
|
break;
|
|
57690
57687
|
case "right":
|
|
57691
|
-
m = t.left -
|
|
57688
|
+
m = t.left - f + t.width, v = f - t.width / 2 + "px";
|
|
57692
57689
|
}
|
|
57693
57690
|
return h = "top" === l[0] ? h - s : h + s, {
|
|
57694
57691
|
top: h,
|
|
@@ -57716,12 +57713,12 @@
|
|
|
57716
57713
|
left: 0,
|
|
57717
57714
|
top: 0,
|
|
57718
57715
|
transform: "rotate(135deg)"
|
|
57719
|
-
}, d = 0, u = ii(a),
|
|
57716
|
+
}, d = 0, u = ii(a), p = Array.isArray(o) ? o : [
|
|
57720
57717
|
o
|
|
57721
57718
|
];
|
|
57722
|
-
for((a || Array.isArray(o)) && (
|
|
57723
|
-
var
|
|
57724
|
-
top: (l = io(t, r,
|
|
57719
|
+
for((a || Array.isArray(o)) && (p = [].concat(p, ir)); d < p.length;){
|
|
57720
|
+
var f = {
|
|
57721
|
+
top: (l = io(t, r, p[d], n, {
|
|
57725
57722
|
offsetX: s,
|
|
57726
57723
|
offsetY: c
|
|
57727
57724
|
})).top,
|
|
@@ -57729,7 +57726,7 @@
|
|
|
57729
57726
|
width: r.width,
|
|
57730
57727
|
height: r.height
|
|
57731
57728
|
};
|
|
57732
|
-
if (
|
|
57729
|
+
if (f.top <= u.top || f.left <= u.left || f.top + f.height >= u.top + u.height || f.left + f.width >= u.left + u.width) d++;
|
|
57733
57730
|
else break;
|
|
57734
57731
|
}
|
|
57735
57732
|
return l;
|
|
@@ -57737,7 +57734,7 @@
|
|
|
57737
57734
|
var t = document.getElementById("popup-root");
|
|
57738
57735
|
return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
|
|
57739
57736
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
57740
|
-
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l,
|
|
57737
|
+
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l, p = r.onClose, f = void 0 === p ? function() {} : p, h = r.defaultOpen, m = r.open, g = void 0 === m ? void 0 : m, b = r.disabled, v = void 0 !== b && b, w = r.nested, k = void 0 !== w && w, y = r.closeOnDocumentClick, C = void 0 === y || y, B = r.repositionOnResize, _ = r.closeOnEscape, x = r.on, P = void 0 === x ? [
|
|
57741
57738
|
"click"
|
|
57742
57739
|
] : x, S = r.contentStyle, E = void 0 === S ? {} : S, T = r.arrowStyle, D = void 0 === T ? {} : T, $ = r.overlayStyle, j = r.className, I = void 0 === j ? "" : j, O = r.position, M = void 0 === O ? "bottom center" : O, A = r.modal, R = void 0 !== A && A, L = r.lockScroll, F = void 0 !== L && L, N = r.arrow, z = void 0 === N || N, V = r.offsetX, W = void 0 === V ? 0 : V, U = r.offsetY, q = void 0 === U ? 0 : U, Q = r.mouseEnterDelay, X = void 0 === Q ? 100 : Q, H = r.mouseLeaveDelay, Z = void 0 === H ? 100 : H, K = r.keepTooltipInside, Y = void 0 !== K && K, J = r.children, ee = reactExports.useState(g || void 0 !== h && h), et = ee[0], er = ee[1], eo = reactExports.useRef(null), en = reactExports.useRef(null), ei = reactExports.useRef(null), ea = reactExports.useRef(null), es = reactExports.useRef("popup-" + ++is), ec = !!R || !c, el = reactExports.useRef(0);
|
|
57743
57740
|
n7(function() {
|
|
@@ -57759,16 +57756,16 @@
|
|
|
57759
57756
|
}, eu = function(t) {
|
|
57760
57757
|
var r;
|
|
57761
57758
|
et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
|
|
57762
|
-
return
|
|
57759
|
+
return f(t);
|
|
57763
57760
|
}, 0));
|
|
57764
|
-
}, ef = function(t) {
|
|
57765
|
-
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57766
57761
|
}, ep = function(t) {
|
|
57762
|
+
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57763
|
+
}, ef = function(t) {
|
|
57767
57764
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57768
57765
|
return ed(t);
|
|
57769
57766
|
}, X);
|
|
57770
57767
|
}, eh = function(t) {
|
|
57771
|
-
null == t || t.preventDefault(),
|
|
57768
|
+
null == t || t.preventDefault(), ep();
|
|
57772
57769
|
}, em = function(t) {
|
|
57773
57770
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57774
57771
|
return eu(t);
|
|
@@ -57790,7 +57787,7 @@
|
|
|
57790
57787
|
eu();
|
|
57791
57788
|
},
|
|
57792
57789
|
toggle: function() {
|
|
57793
|
-
|
|
57790
|
+
ep();
|
|
57794
57791
|
}
|
|
57795
57792
|
};
|
|
57796
57793
|
});
|
|
@@ -57824,7 +57821,7 @@
|
|
|
57824
57821
|
t.stopPropagation();
|
|
57825
57822
|
}
|
|
57826
57823
|
};
|
|
57827
|
-
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter =
|
|
57824
|
+
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ef, r.onMouseLeave = em), r;
|
|
57828
57825
|
}, ey = function() {
|
|
57829
57826
|
return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
|
|
57830
57827
|
key: "C",
|
|
@@ -57871,16 +57868,16 @@
|
|
|
57871
57868
|
P
|
|
57872
57869
|
], n = 0, i = o.length; n < i; n++)switch(o[n]){
|
|
57873
57870
|
case "click":
|
|
57874
|
-
r.onClick =
|
|
57871
|
+
r.onClick = ep;
|
|
57875
57872
|
break;
|
|
57876
57873
|
case "right-click":
|
|
57877
57874
|
r.onContextMenu = eh;
|
|
57878
57875
|
break;
|
|
57879
57876
|
case "hover":
|
|
57880
|
-
r.onMouseEnter =
|
|
57877
|
+
r.onMouseEnter = ef, r.onMouseLeave = em;
|
|
57881
57878
|
break;
|
|
57882
57879
|
case "focus":
|
|
57883
|
-
r.onFocus =
|
|
57880
|
+
r.onFocus = ef, r.onBlur = em;
|
|
57884
57881
|
}
|
|
57885
57882
|
if ("function" == typeof c) {
|
|
57886
57883
|
var a = c(et);
|
|
@@ -58146,8 +58143,8 @@
|
|
|
58146
58143
|
}
|
|
58147
58144
|
}
|
|
58148
58145
|
}, im = "default", ig = "error";
|
|
58149
|
-
function ib({ className: t, width: r, height: o, type: n, strokeStyles: i, strokeWidth: a, radius: s, paddingStyle: c, defaultRectStyles: l, errorRectStyles: d }) {
|
|
58150
|
-
let
|
|
58146
|
+
function ib({ className: t, width: r, height: o, type: n, strokeStyles: i, strokeWidth: a, radius: s, paddingStyle: c, defaultRectStyles: l, errorRectStyles: d, paddingCornerMultiplier: u = 1.5 }) {
|
|
58147
|
+
let f = reactExports.useMemo(()=>({
|
|
58151
58148
|
[im]: l,
|
|
58152
58149
|
[ig]: d,
|
|
58153
58150
|
...i
|
|
@@ -58155,7 +58152,7 @@
|
|
|
58155
58152
|
l,
|
|
58156
58153
|
d,
|
|
58157
58154
|
i
|
|
58158
|
-
]),
|
|
58155
|
+
]), h = s + a * u, m = f[n];
|
|
58159
58156
|
return oZ.jsxs("svg", {
|
|
58160
58157
|
width: r,
|
|
58161
58158
|
height: o,
|
|
@@ -58168,22 +58165,22 @@
|
|
|
58168
58165
|
ry: s,
|
|
58169
58166
|
width: r - a,
|
|
58170
58167
|
height: o - a,
|
|
58171
|
-
style:
|
|
58168
|
+
style: m
|
|
58172
58169
|
}),
|
|
58173
58170
|
oZ.jsx("path", {
|
|
58174
|
-
d: `M0,${
|
|
58171
|
+
d: `M0,${h} Q0,0 ${h},0 L0,0 Z`,
|
|
58175
58172
|
style: c
|
|
58176
58173
|
}),
|
|
58177
58174
|
oZ.jsx("path", {
|
|
58178
|
-
d: `M0,${o -
|
|
58175
|
+
d: `M0,${o - h} Q0,${o} ${h},${o} L0,${o} Z`,
|
|
58179
58176
|
style: c
|
|
58180
58177
|
}),
|
|
58181
58178
|
oZ.jsx("path", {
|
|
58182
|
-
d: `M${r -
|
|
58179
|
+
d: `M${r - h},${o} Q${r},${o} ${r},${o - h} L${r},${o} Z`,
|
|
58183
58180
|
style: c
|
|
58184
58181
|
}),
|
|
58185
58182
|
oZ.jsx("path", {
|
|
58186
|
-
d: `M${r -
|
|
58183
|
+
d: `M${r - h},0 Q${r},0 ${r},${h} L${r},0 Z`,
|
|
58187
58184
|
style: c
|
|
58188
58185
|
})
|
|
58189
58186
|
]
|
|
@@ -58202,7 +58199,8 @@
|
|
|
58202
58199
|
radius: PropTypes.number,
|
|
58203
58200
|
paddingStyle: PropTypes.shape({}),
|
|
58204
58201
|
defaultRectStyles: PropTypes.shape({}),
|
|
58205
|
-
errorRectStyles: PropTypes.shape({})
|
|
58202
|
+
errorRectStyles: PropTypes.shape({}),
|
|
58203
|
+
paddingCornerMultiplier: PropTypes.number
|
|
58206
58204
|
}, ib.defaultProps = {
|
|
58207
58205
|
className: "",
|
|
58208
58206
|
width: ih.IDCapturing.rectangleMask.width,
|
|
@@ -58213,7 +58211,8 @@
|
|
|
58213
58211
|
radius: ih.IDCapturing.rectangleMask.radius,
|
|
58214
58212
|
paddingStyle: ih.IDCapturing.rectangleMask.paddingStyle,
|
|
58215
58213
|
defaultRectStyles: ih.IDCapturing.rectangleMask.default,
|
|
58216
|
-
errorRectStyles: ih.IDCapturing.rectangleMask.error
|
|
58214
|
+
errorRectStyles: ih.IDCapturing.rectangleMask.error,
|
|
58215
|
+
paddingCornerMultiplier: 1.5
|
|
58217
58216
|
};
|
|
58218
58217
|
let iv = mt$1`
|
|
58219
58218
|
from {
|
|
@@ -58372,8 +58371,8 @@
|
|
|
58372
58371
|
if (o && !a || !o && !s) return null;
|
|
58373
58372
|
let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
|
|
58374
58373
|
d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
|
|
58375
|
-
let
|
|
58376
|
-
|
|
58374
|
+
let p = d.getContext("2d"), f = u.getContext("2d");
|
|
58375
|
+
p.drawImage(r, 0, 0, c / 2, l, 0, 0, c / 2, l), f.drawImage(r, c / 2, 0, c / 2, l, 0, 0, c / 2, l);
|
|
58377
58376
|
let [h, m] = await Promise.all([
|
|
58378
58377
|
fb.getModelPredictions({
|
|
58379
58378
|
model: t,
|
|
@@ -58414,13 +58413,13 @@
|
|
|
58414
58413
|
return i;
|
|
58415
58414
|
}, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
|
|
58416
58415
|
if (null === t) return !0;
|
|
58417
|
-
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large,
|
|
58418
|
-
return (!c || !(
|
|
58416
|
+
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, p = r?.small, f = r?.large;
|
|
58417
|
+
return (!c || !(p < s) && !(f < a)) && (Math.abs(p - d) > Number.EPSILON ? p > d : Math.abs(f - u) > Number.EPSILON ? f > u : !!(l && Math.abs(n - o) > Number.EPSILON) && n > o);
|
|
58419
58418
|
};
|
|
58420
58419
|
function iW(t, r, o, n, i) {
|
|
58421
58420
|
o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
|
|
58422
|
-
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n,
|
|
58423
|
-
o.strokeRect(l, d, u - l,
|
|
58421
|
+
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n, p = (c + i.y) * n;
|
|
58422
|
+
o.strokeRect(l, d, u - l, p - d);
|
|
58424
58423
|
}));
|
|
58425
58424
|
}
|
|
58426
58425
|
function iU(t) {
|
|
@@ -59226,14 +59225,14 @@
|
|
|
59226
59225
|
_drawToCanvas(t, r, o, n, i, a) {
|
|
59227
59226
|
if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
|
|
59228
59227
|
this._lastFrameTime = 0;
|
|
59229
|
-
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i,
|
|
59228
|
+
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, p = (i)=>{
|
|
59230
59229
|
if (this._stopDrawing) {
|
|
59231
59230
|
this._animationFrameId = null;
|
|
59232
59231
|
return;
|
|
59233
59232
|
}
|
|
59234
|
-
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(
|
|
59233
|
+
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(p);
|
|
59235
59234
|
};
|
|
59236
|
-
this._animationFrameId = requestAnimationFrame(
|
|
59235
|
+
this._animationFrameId = requestAnimationFrame(p);
|
|
59237
59236
|
}
|
|
59238
59237
|
stopDrawing() {
|
|
59239
59238
|
this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
|
|
@@ -59243,10 +59242,10 @@
|
|
|
59243
59242
|
this.clearVideoChunks(), this._stopDrawing = !1;
|
|
59244
59243
|
let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
|
|
59245
59244
|
aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
|
|
59246
|
-
let
|
|
59247
|
-
|
|
59248
|
-
let
|
|
59249
|
-
if (!
|
|
59245
|
+
let p = document.createElement("canvas");
|
|
59246
|
+
p.width = n, p.height = i;
|
|
59247
|
+
let f = p.getContext("2d");
|
|
59248
|
+
if (!f) return console.error("Could not get canvas context."), {
|
|
59250
59249
|
mediaRecorder: null
|
|
59251
59250
|
};
|
|
59252
59251
|
try {
|
|
@@ -59254,7 +59253,7 @@
|
|
|
59254
59253
|
mimeType: "video/webm",
|
|
59255
59254
|
videoBitsPerSecond: c
|
|
59256
59255
|
}, i = nT.isIOS ? "video/mp4" : "video/webm";
|
|
59257
|
-
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(
|
|
59256
|
+
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(f, t, n, n / u, d, r), this._stream = p.captureStream(), o = {
|
|
59258
59257
|
mimeType: i,
|
|
59259
59258
|
videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
|
|
59260
59259
|
}), !this._stream) throw Error("Failed to create a media stream for recording.");
|
|
@@ -59309,7 +59308,7 @@
|
|
|
59309
59308
|
}
|
|
59310
59309
|
}, [
|
|
59311
59310
|
i
|
|
59312
|
-
]),
|
|
59311
|
+
]), f = reactExports.useCallback(()=>{
|
|
59313
59312
|
if (s.current && r.current) try {
|
|
59314
59313
|
s.current.discardRecording(), r.current = !1;
|
|
59315
59314
|
} catch (t) {
|
|
@@ -59318,19 +59317,19 @@
|
|
|
59318
59317
|
}, []);
|
|
59319
59318
|
return reactExports.useEffect(()=>{
|
|
59320
59319
|
let t = ()=>{
|
|
59321
|
-
"hidden" === document.visibilityState ?
|
|
59320
|
+
"hidden" === document.visibilityState ? f() : "visible" === document.visibilityState && c.current && l(c.current);
|
|
59322
59321
|
};
|
|
59323
59322
|
return document.addEventListener("visibilitychange", t), ()=>{
|
|
59324
59323
|
document.removeEventListener("visibilitychange", t);
|
|
59325
59324
|
};
|
|
59326
59325
|
}, [
|
|
59327
59326
|
l,
|
|
59328
|
-
|
|
59327
|
+
f
|
|
59329
59328
|
]), {
|
|
59330
59329
|
startRecording: l,
|
|
59331
59330
|
stopRecording: d,
|
|
59332
59331
|
resetRecording: u,
|
|
59333
|
-
discardRecording:
|
|
59332
|
+
discardRecording: f
|
|
59334
59333
|
};
|
|
59335
59334
|
}, { Errors: a$ } = ra$1, aj = ()=>({
|
|
59336
59335
|
imageBlob: null,
|
|
@@ -59543,22 +59542,22 @@
|
|
|
59543
59542
|
});
|
|
59544
59543
|
}
|
|
59545
59544
|
let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
59546
|
-
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo:
|
|
59545
|
+
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: f, frontSide: k, allowedCardTypes: y, settings: C, onCaptureDone: B, onUISpacingChange: x, outputEncryptionSettings: S, isShowingSpinner: E } = t, T = nt$2(), [D, F] = reactExports.useState({}), { yMessage: N, yCaptureButton: z, yToggleButton: V, yInstruction: U, yCountdown: q } = D, Q = nz("IDCapturing.captureIcon.src", "ic_camera.svg"), X = nz("IDCapturing.captureIcon.disabled.src", "ic_camera.svg"), H = nN("IDCapturing.countdown.color")({
|
|
59547
59546
|
theme: T
|
|
59548
|
-
}), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}),
|
|
59547
|
+
}), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}), ep = reactExports.useCallback((t)=>{
|
|
59549
59548
|
null === t ? er("") : er(Y(t?.code, {
|
|
59550
59549
|
side: k ? Y("front") : Y("back")
|
|
59551
59550
|
}));
|
|
59552
59551
|
}, [
|
|
59553
59552
|
Y,
|
|
59554
59553
|
k
|
|
59555
|
-
]),
|
|
59554
|
+
]), ef = reactExports.useCallback(()=>{
|
|
59556
59555
|
ee(""), eu.current();
|
|
59557
59556
|
}, []), eh = reactExports.useCallback((...t)=>{
|
|
59558
59557
|
ee(""), B(...t);
|
|
59559
59558
|
}, [
|
|
59560
59559
|
B
|
|
59561
|
-
]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange:
|
|
59560
|
+
]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange: f, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: C, quality: B })=>{
|
|
59562
59561
|
let x = reactExports.useRef(!1), [S, E] = reactExports.useState(!1), T = reactExports.useRef(()=>{}), { sendEvent: D } = iN$1.useSDKTracking(), L = reactExports.useRef(), F = reactExports.useRef(), N = reactExports.useRef(), z = reactExports.useContext(aO), { enableAntiDebug: V } = no$1.useSDKSettings(), { onErrorCallback: W } = aS(), { playVoice: U } = iJ$1.useVoicePlayer(), [q, Q] = reactExports.useState(nn(l, "enableAutoCapture")), X = reactExports.useCallback(()=>{
|
|
59563
59562
|
Q((t)=>!t);
|
|
59564
59563
|
}, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
|
|
@@ -59599,30 +59598,30 @@
|
|
|
59599
59598
|
l.blurLargeThresholdAuto,
|
|
59600
59599
|
l.blurLargeThresholdManual,
|
|
59601
59600
|
l.enableAutoCapture
|
|
59602
|
-
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState:
|
|
59601
|
+
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState: ep, resetRecordVideo: ef } = function({ isAutoCapture: t, blurSmallThreshold: r, blurLargeThreshold: s, refVideo: l, shouldStart: d, cropArea: u, settings: f, onError: m, frontSide: g, onAutoCaptureSuccess: b, quality: k, debug: y }) {
|
|
59603
59602
|
let C = reactExports.useRef(null);
|
|
59604
59603
|
null === C.current && (C.current = document.createElement("canvas"));
|
|
59605
|
-
let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } =
|
|
59606
|
-
videoFrameWidth:
|
|
59607
|
-
videoFrameHeight:
|
|
59608
|
-
videoBitrate:
|
|
59609
|
-
fps:
|
|
59604
|
+
let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } = f, K = reactExports.useRef(null), [Y, J] = reactExports.useState(!1), ee = reactExports.useRef(!1), et = reactExports.useMemo(()=>({
|
|
59605
|
+
videoFrameWidth: f.recordVideoFrameWidth,
|
|
59606
|
+
videoFrameHeight: f.recordVideoFrameHeight,
|
|
59607
|
+
videoBitrate: f.recordVideoBitrate,
|
|
59608
|
+
fps: f.recordVideoFps
|
|
59610
59609
|
}), [
|
|
59611
|
-
|
|
59612
|
-
|
|
59613
|
-
|
|
59614
|
-
|
|
59610
|
+
f.recordVideoBitrate,
|
|
59611
|
+
f.recordVideoFps,
|
|
59612
|
+
f.recordVideoFrameHeight,
|
|
59613
|
+
f.recordVideoFrameWidth
|
|
59615
59614
|
]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
|
|
59616
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59615
|
+
shouldRecord: reactExports.useMemo(()=>g ? f.enableRecordCapturingFront : f.enableRecordCapturingBack, [
|
|
59617
59616
|
g,
|
|
59618
|
-
|
|
59619
|
-
|
|
59617
|
+
f.enableRecordCapturingBack,
|
|
59618
|
+
f.enableRecordCapturingFront
|
|
59620
59619
|
])
|
|
59621
59620
|
}), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
|
|
59622
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59621
|
+
shouldRecord: reactExports.useMemo(()=>g ? f.enableRecordFullSessionFront : f.enableRecordFullSessionBack, [
|
|
59623
59622
|
g,
|
|
59624
|
-
|
|
59625
|
-
|
|
59623
|
+
f.enableRecordFullSessionBack,
|
|
59624
|
+
f.enableRecordFullSessionFront
|
|
59626
59625
|
])
|
|
59627
59626
|
}), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
|
|
59628
59627
|
let t = reactExports.useContext(nU);
|
|
@@ -59636,8 +59635,8 @@
|
|
|
59636
59635
|
]), reactExports.useEffect(()=>{
|
|
59637
59636
|
let t = !1;
|
|
59638
59637
|
return async function r() {
|
|
59639
|
-
if (
|
|
59640
|
-
if (
|
|
59638
|
+
if (f && !I) {
|
|
59639
|
+
if (f.enableIdDetection) {
|
|
59641
59640
|
let t = ((t, r)=>{
|
|
59642
59641
|
if (0 === t.length) return {
|
|
59643
59642
|
isValid: !1
|
|
@@ -59658,7 +59657,7 @@
|
|
|
59658
59657
|
} : {
|
|
59659
59658
|
isValid: !1
|
|
59660
59659
|
};
|
|
59661
|
-
})(Z.map((t)=>t.code),
|
|
59660
|
+
})(Z.map((t)=>t.code), f?.cardTypeModelMapping);
|
|
59662
59661
|
if (!t.isValid) {
|
|
59663
59662
|
U(a$.invalid_card_type_config), Q(!1), O(!0);
|
|
59664
59663
|
return;
|
|
@@ -59667,7 +59666,7 @@
|
|
|
59667
59666
|
V.current = await a_({
|
|
59668
59667
|
...W,
|
|
59669
59668
|
idCardModelUrl: r
|
|
59670
|
-
}, t.cardModel), await fY.initTensorFlow(), N.current =
|
|
59669
|
+
}, t.cardModel), await fY.initTensorFlow(), N.current = f.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
|
|
59671
59670
|
} else Q(!1), N.current = !1;
|
|
59672
59671
|
t || O(!0);
|
|
59673
59672
|
}
|
|
@@ -59676,7 +59675,7 @@
|
|
|
59676
59675
|
};
|
|
59677
59676
|
}, [
|
|
59678
59677
|
I,
|
|
59679
|
-
|
|
59678
|
+
f,
|
|
59680
59679
|
W,
|
|
59681
59680
|
Z,
|
|
59682
59681
|
U
|
|
@@ -59693,13 +59692,13 @@
|
|
|
59693
59692
|
});
|
|
59694
59693
|
}, [
|
|
59695
59694
|
k
|
|
59696
|
-
]),
|
|
59695
|
+
]), ep = reactExports.useCallback(()=>{
|
|
59697
59696
|
Y || (en(), es());
|
|
59698
59697
|
}, [
|
|
59699
59698
|
Y,
|
|
59700
59699
|
en,
|
|
59701
59700
|
es
|
|
59702
|
-
]),
|
|
59701
|
+
]), ef = reactExports.useCallback(async ()=>{
|
|
59703
59702
|
let t = {
|
|
59704
59703
|
capturingVideo: {
|
|
59705
59704
|
blob: null
|
|
@@ -59714,18 +59713,18 @@
|
|
|
59714
59713
|
}, [
|
|
59715
59714
|
eo,
|
|
59716
59715
|
ea
|
|
59717
|
-
]), eh = reactExports.useMemo(()=>g ?
|
|
59716
|
+
]), eh = reactExports.useMemo(()=>g ? f.enableFlashlightFront : f.enableFlashlightBack, [
|
|
59718
59717
|
g,
|
|
59719
|
-
|
|
59720
|
-
|
|
59721
|
-
]), em = reactExports.useMemo(()=>g ?
|
|
59718
|
+
f.enableFlashlightBack,
|
|
59719
|
+
f.enableFlashlightFront
|
|
59720
|
+
]), em = reactExports.useMemo(()=>g ? f.flashlightActivationDelayFront : f.flashlightActivationDelayBack, [
|
|
59722
59721
|
g,
|
|
59723
|
-
|
|
59724
|
-
|
|
59725
|
-
]), eg = reactExports.useMemo(()=>g ?
|
|
59722
|
+
f.flashlightActivationDelayBack,
|
|
59723
|
+
f.flashlightActivationDelayFront
|
|
59724
|
+
]), eg = reactExports.useMemo(()=>g ? f.flashlightDurationFront : f.flashlightDurationBack, [
|
|
59726
59725
|
g,
|
|
59727
|
-
|
|
59728
|
-
|
|
59726
|
+
f.flashlightDurationBack,
|
|
59727
|
+
f.flashlightDurationFront
|
|
59729
59728
|
]), eb = reactExports.useCallback(()=>{
|
|
59730
59729
|
!ed.current && eh && (ed.current = !0, setTimeout(()=>{
|
|
59731
59730
|
ec(eg);
|
|
@@ -59742,9 +59741,9 @@
|
|
|
59742
59741
|
]), ew = reactExports.useCallback(()=>{
|
|
59743
59742
|
!0 === T.current && (T.current = !1);
|
|
59744
59743
|
}, []), ek = reactExports.useCallback(()=>{
|
|
59745
|
-
|
|
59744
|
+
ep(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
|
|
59746
59745
|
}, [
|
|
59747
|
-
|
|
59746
|
+
ep
|
|
59748
59747
|
]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59749
59748
|
await er({
|
|
59750
59749
|
videoEl: l.current,
|
|
@@ -59757,7 +59756,7 @@
|
|
|
59757
59756
|
incomingFrameBlurScore: t,
|
|
59758
59757
|
currentFrameGlareScore: i.glareScore,
|
|
59759
59758
|
incomingFrameGlareScore: n,
|
|
59760
|
-
settings:
|
|
59759
|
+
settings: f,
|
|
59761
59760
|
blurLargeThreshold: s,
|
|
59762
59761
|
blurSmallThreshold: r
|
|
59763
59762
|
})) {
|
|
@@ -59775,25 +59774,25 @@
|
|
|
59775
59774
|
}
|
|
59776
59775
|
i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
|
|
59777
59776
|
}
|
|
59778
|
-
|
|
59777
|
+
f.enableBlurCheck && X.current.push(t), f.enableGlareCheck && H.current.push(n);
|
|
59779
59778
|
}, [
|
|
59780
59779
|
er,
|
|
59781
59780
|
l,
|
|
59782
59781
|
et,
|
|
59783
59782
|
eb,
|
|
59784
|
-
|
|
59783
|
+
f,
|
|
59785
59784
|
s,
|
|
59786
59785
|
r,
|
|
59787
59786
|
k
|
|
59788
59787
|
]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59789
59788
|
F.current = !0;
|
|
59790
59789
|
let i = A.current;
|
|
59791
|
-
if (
|
|
59790
|
+
if (f.enableBlurCheck && X.current.push(t), f.enableGlareCheck && H.current.push(n), iV({
|
|
59792
59791
|
currentFrameBlurScore: i.blurScore,
|
|
59793
59792
|
currentFrameGlareScore: i.glareScore,
|
|
59794
59793
|
incomingFrameBlurScore: t,
|
|
59795
59794
|
incomingFrameGlareScore: n,
|
|
59796
|
-
settings:
|
|
59795
|
+
settings: f,
|
|
59797
59796
|
blurLargeThreshold: s,
|
|
59798
59797
|
blurSmallThreshold: r
|
|
59799
59798
|
})) {
|
|
@@ -59812,19 +59811,19 @@
|
|
|
59812
59811
|
s,
|
|
59813
59812
|
r,
|
|
59814
59813
|
k,
|
|
59815
|
-
|
|
59814
|
+
f
|
|
59816
59815
|
]), eB = reactExports.useCallback(async ()=>{
|
|
59817
|
-
let { autoCaptureWaitForBestImageTimeMs: t } =
|
|
59816
|
+
let { autoCaptureWaitForBestImageTimeMs: t } = f, r = M.current;
|
|
59818
59817
|
if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
|
|
59819
|
-
let t = await
|
|
59818
|
+
let t = await ef();
|
|
59820
59819
|
await ev(), await b({
|
|
59821
59820
|
...r,
|
|
59822
59821
|
...t
|
|
59823
59822
|
}), J(!1), R.current = null;
|
|
59824
59823
|
}
|
|
59825
59824
|
}, [
|
|
59826
|
-
|
|
59827
|
-
|
|
59825
|
+
f,
|
|
59826
|
+
ef,
|
|
59828
59827
|
ev,
|
|
59829
59828
|
b
|
|
59830
59829
|
]), e_ = reactExports.useCallback(()=>{
|
|
@@ -59839,7 +59838,7 @@
|
|
|
59839
59838
|
resultAnalyzeVideoAndWindowSizes: D.current,
|
|
59840
59839
|
recordVideoSettings: et
|
|
59841
59840
|
}), eb(), new Promise((t)=>{
|
|
59842
|
-
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } =
|
|
59841
|
+
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = f, i = A.current;
|
|
59843
59842
|
if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
|
|
59844
59843
|
ex().then(async ()=>{
|
|
59845
59844
|
await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
|
|
@@ -59854,7 +59853,7 @@
|
|
|
59854
59853
|
quality: k
|
|
59855
59854
|
}).then(async (n)=>{
|
|
59856
59855
|
i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
|
|
59857
|
-
let a = await
|
|
59856
|
+
let a = await ef();
|
|
59858
59857
|
t({
|
|
59859
59858
|
...i,
|
|
59860
59859
|
...a
|
|
@@ -59862,7 +59861,7 @@
|
|
|
59862
59861
|
});
|
|
59863
59862
|
} else {
|
|
59864
59863
|
o && await eu(i.detectedCard);
|
|
59865
|
-
let r = await
|
|
59864
|
+
let r = await ef();
|
|
59866
59865
|
t({
|
|
59867
59866
|
...i,
|
|
59868
59867
|
...r
|
|
@@ -59889,10 +59888,10 @@
|
|
|
59889
59888
|
l,
|
|
59890
59889
|
et,
|
|
59891
59890
|
eb,
|
|
59892
|
-
|
|
59891
|
+
f,
|
|
59893
59892
|
e_,
|
|
59894
59893
|
ex,
|
|
59895
|
-
|
|
59894
|
+
ef,
|
|
59896
59895
|
ev,
|
|
59897
59896
|
r,
|
|
59898
59897
|
s,
|
|
@@ -59926,10 +59925,10 @@
|
|
|
59926
59925
|
portraitTopLeft: c,
|
|
59927
59926
|
portraitBottomRight: l
|
|
59928
59927
|
};
|
|
59929
|
-
}(t,
|
|
59928
|
+
}(t, f.blurFullFaceImageRatio, r), a = function(t, r) {
|
|
59930
59929
|
let { cv: o } = window;
|
|
59931
59930
|
if (!o) throw Error("Opencv not found!");
|
|
59932
|
-
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t,
|
|
59931
|
+
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t, p = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59933
59932
|
n.x,
|
|
59934
59933
|
n.y,
|
|
59935
59934
|
i.x,
|
|
@@ -59938,7 +59937,7 @@
|
|
|
59938
59937
|
a.y,
|
|
59939
59938
|
s.x,
|
|
59940
59939
|
s.y
|
|
59941
|
-
]),
|
|
59940
|
+
]), f = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59942
59941
|
0,
|
|
59943
59942
|
0,
|
|
59944
59943
|
c - 1,
|
|
@@ -59947,7 +59946,7 @@
|
|
|
59947
59946
|
l - 1,
|
|
59948
59947
|
0,
|
|
59949
59948
|
l - 1
|
|
59950
|
-
]), h = o.getPerspectiveTransform(
|
|
59949
|
+
]), h = o.getPerspectiveTransform(p, f), m = (t)=>{
|
|
59951
59950
|
let r = o.matFromArray(1, 1, o.CV_32FC2, [
|
|
59952
59951
|
t[0],
|
|
59953
59952
|
t[1]
|
|
@@ -59961,7 +59960,7 @@
|
|
|
59961
59960
|
Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
|
|
59962
59961
|
];
|
|
59963
59962
|
}, g = m(d), b = m(u);
|
|
59964
|
-
return
|
|
59963
|
+
return p.delete(), f.delete(), h.delete(), [
|
|
59965
59964
|
parseInt(g[0], 10),
|
|
59966
59965
|
parseInt(g[1], 10),
|
|
59967
59966
|
parseInt(b[0], 10),
|
|
@@ -60039,9 +60038,9 @@
|
|
|
60039
60038
|
};
|
|
60040
60039
|
}
|
|
60041
60040
|
}, [
|
|
60042
|
-
|
|
60041
|
+
f
|
|
60043
60042
|
]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
|
|
60044
|
-
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding:
|
|
60043
|
+
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding: p, cropHeightWithoutPadding: h } = D.current, { enableBlurCheck: m, enableGlareCheck: b, glareThreshold: v, isVietnameseCardFlow: k, hasFrontFace: C, hasBackFace: B, genericEnableCheckFrontFace: x, genericEnableCheckBackFace: P } = f, { blazefaceModel: S, blurDetector: E } = V.current, T = {
|
|
60045
60044
|
error: null
|
|
60046
60045
|
};
|
|
60047
60046
|
try {
|
|
@@ -60058,12 +60057,12 @@
|
|
|
60058
60057
|
area: c.width * c.height
|
|
60059
60058
|
},
|
|
60060
60059
|
big: {
|
|
60061
|
-
area:
|
|
60060
|
+
area: p * h
|
|
60062
60061
|
}
|
|
60063
60062
|
});
|
|
60064
60063
|
if (l < .5) throw Error("id_detector_card_too_small");
|
|
60065
60064
|
if (l > .95) throw Error("id_detector_error_incomplete");
|
|
60066
|
-
if (k && nn(
|
|
60065
|
+
if (k && nn(f, "enableCardTypeCheck")) {
|
|
60067
60066
|
let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
|
|
60068
60067
|
let o = t.split(".")?.[0];
|
|
60069
60068
|
if (o !== r[0].split(".")?.[0]) return {
|
|
@@ -60137,8 +60136,8 @@
|
|
|
60137
60136
|
smallThreshold: r,
|
|
60138
60137
|
largeThreshold: s
|
|
60139
60138
|
}), u = {
|
|
60140
|
-
small: iz(d?.[0],
|
|
60141
|
-
large: iz(d?.[1],
|
|
60139
|
+
small: iz(d?.[0], f.blurSmallDecimal),
|
|
60140
|
+
large: iz(d?.[1], f.blurLargeDecimal)
|
|
60142
60141
|
};
|
|
60143
60142
|
if (eT.current = {
|
|
60144
60143
|
...eT.current,
|
|
@@ -60154,10 +60153,10 @@
|
|
|
60154
60153
|
}
|
|
60155
60154
|
if (y) {
|
|
60156
60155
|
var I, O, M, A, R, L, F, N;
|
|
60157
|
-
let r, s,
|
|
60156
|
+
let r, s, p, f = nn(t, "card.label"), h = nn(t, "card.corners");
|
|
60158
60157
|
eT.current = {
|
|
60159
60158
|
...eT.current,
|
|
60160
|
-
label:
|
|
60159
|
+
label: f,
|
|
60161
60160
|
corner_size: h?.length
|
|
60162
60161
|
}, p_.drawDebugCanvas(eE.current, eT.current);
|
|
60163
60162
|
let m = i$ / o.width, g = eS.current.getContext("2d");
|
|
@@ -60169,7 +60168,7 @@
|
|
|
60169
60168
|
o.strokeRect(s, c, l - s, d - c);
|
|
60170
60169
|
}(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
|
|
60171
60170
|
iW(t.bboxes, "blue", I, R, r);
|
|
60172
|
-
}),
|
|
60171
|
+
}), p = M.filter((t)=>"large" === t.lapType), p.length > 0 && p.forEach((t)=>{
|
|
60173
60172
|
iW(t.bboxes, "green", I, R, r);
|
|
60174
60173
|
}), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
|
|
60175
60174
|
let r = t.x * N, o = t.y * N;
|
|
@@ -60178,7 +60177,7 @@
|
|
|
60178
60177
|
}
|
|
60179
60178
|
return T;
|
|
60180
60179
|
}, [
|
|
60181
|
-
|
|
60180
|
+
f,
|
|
60182
60181
|
y,
|
|
60183
60182
|
l,
|
|
60184
60183
|
Z,
|
|
@@ -60187,13 +60186,13 @@
|
|
|
60187
60186
|
s,
|
|
60188
60187
|
eD
|
|
60189
60188
|
]), ej = reactExports.useCallback(async ()=>{
|
|
60190
|
-
if (!
|
|
60189
|
+
if (!f || !I || T.current) return;
|
|
60191
60190
|
M.current = aj(), A.current = aI();
|
|
60192
|
-
let { enableVirtualCamHashes: t } =
|
|
60191
|
+
let { enableVirtualCamHashes: t } = f, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
|
|
60193
60192
|
T.current = !0;
|
|
60194
60193
|
let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
|
|
60195
60194
|
u.width = c, u.height = d;
|
|
60196
|
-
let
|
|
60195
|
+
let p = u.getContext("2d"), h = async ()=>{
|
|
60197
60196
|
if (!1 === T.current) return;
|
|
60198
60197
|
await ei({
|
|
60199
60198
|
videoEl: l.current,
|
|
@@ -60201,11 +60200,11 @@
|
|
|
60201
60200
|
recordVideoSettings: et
|
|
60202
60201
|
});
|
|
60203
60202
|
let n = K.current;
|
|
60204
|
-
|
|
60203
|
+
p.drawImage(i, a, s, c, d, 0, 0, c, d);
|
|
60205
60204
|
let g = performance.now();
|
|
60206
60205
|
if (z.current = !1, q && o) {
|
|
60207
60206
|
let o = await r.predict(u);
|
|
60208
|
-
!
|
|
60207
|
+
!f?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
|
|
60209
60208
|
let r = nn(t, "card.corners");
|
|
60210
60209
|
if (r && Array.isArray(r) && r.length > 0) {
|
|
60211
60210
|
let { x: t, y: o } = nn(r, "[0].location");
|
|
@@ -60234,7 +60233,7 @@
|
|
|
60234
60233
|
};
|
|
60235
60234
|
K.current = window.requestAnimationFrame(h);
|
|
60236
60235
|
}, [
|
|
60237
|
-
|
|
60236
|
+
f,
|
|
60238
60237
|
I,
|
|
60239
60238
|
l,
|
|
60240
60239
|
ei,
|
|
@@ -60287,7 +60286,7 @@
|
|
|
60287
60286
|
refBlurScores: X,
|
|
60288
60287
|
refGlareScores: H,
|
|
60289
60288
|
resetState: ek,
|
|
60290
|
-
resetRecordVideo:
|
|
60289
|
+
resetRecordVideo: ep
|
|
60291
60290
|
};
|
|
60292
60291
|
}({
|
|
60293
60292
|
isAutoCapture: q,
|
|
@@ -60305,17 +60304,17 @@
|
|
|
60305
60304
|
});
|
|
60306
60305
|
reactExports.useContext(aO);
|
|
60307
60306
|
let eh = reactExports.useCallback(()=>{
|
|
60308
|
-
|
|
60307
|
+
ef(), eo(), k();
|
|
60309
60308
|
}, [
|
|
60310
60309
|
eo,
|
|
60311
|
-
|
|
60310
|
+
ef,
|
|
60312
60311
|
k
|
|
60313
60312
|
]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
|
|
60314
|
-
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t,
|
|
60313
|
+
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, p = reactExports.useRef(new pT({
|
|
60315
60314
|
totalTime: i,
|
|
60316
60315
|
interruptible: r
|
|
60317
60316
|
}));
|
|
60318
|
-
reactExports.useEffect(()=>
|
|
60317
|
+
reactExports.useEffect(()=>p.current.on("tick", ({ remainTime: t })=>{
|
|
60319
60318
|
t >= 0 && t <= i / 3 && "function" == typeof c && c({
|
|
60320
60319
|
curTimeLeft: t
|
|
60321
60320
|
});
|
|
@@ -60324,24 +60323,24 @@
|
|
|
60324
60323
|
c,
|
|
60325
60324
|
i,
|
|
60326
60325
|
r
|
|
60327
|
-
]), reactExports.useEffect(()=>
|
|
60328
|
-
r &&
|
|
60326
|
+
]), reactExports.useEffect(()=>p.current.on("reset", ({ attemptCount: t })=>{
|
|
60327
|
+
r && p.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
|
|
60329
60328
|
}), [
|
|
60330
60329
|
l,
|
|
60331
60330
|
u,
|
|
60332
60331
|
s?.enable,
|
|
60333
60332
|
s?.total,
|
|
60334
60333
|
r
|
|
60335
|
-
]), reactExports.useEffect(()=>d ?
|
|
60334
|
+
]), reactExports.useEffect(()=>d ? p.current.start() : ()=>{}, [
|
|
60336
60335
|
d
|
|
60337
60336
|
]);
|
|
60338
|
-
let
|
|
60339
|
-
|
|
60337
|
+
let f = reactExports.useCallback(()=>{
|
|
60338
|
+
p.current.resume();
|
|
60340
60339
|
}, []);
|
|
60341
60340
|
return {
|
|
60342
|
-
resumeTimer:
|
|
60341
|
+
resumeTimer: f,
|
|
60343
60342
|
pauseTimer: reactExports.useCallback(()=>{
|
|
60344
|
-
|
|
60343
|
+
p.current.pause();
|
|
60345
60344
|
}, [])
|
|
60346
60345
|
};
|
|
60347
60346
|
})({
|
|
@@ -60355,24 +60354,24 @@
|
|
|
60355
60354
|
}), eb = reactExports.useCallback(()=>{
|
|
60356
60355
|
x.current = !1;
|
|
60357
60356
|
}, []), ev = reactExports.useCallback(async ()=>{
|
|
60358
|
-
eb(), em(),
|
|
60357
|
+
eb(), em(), ep(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
|
|
60359
60358
|
en()
|
|
60360
60359
|
]);
|
|
60361
60360
|
}, [
|
|
60362
60361
|
eb,
|
|
60363
|
-
|
|
60362
|
+
ep,
|
|
60364
60363
|
U,
|
|
60365
60364
|
u,
|
|
60366
60365
|
en,
|
|
60367
60366
|
em
|
|
60368
60367
|
]), ew = reactExports.useCallback(async (t = {})=>{
|
|
60369
|
-
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash:
|
|
60368
|
+
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash: p, blurScore: f, glareScore: h, fullVideo: m, capturingVideo: g } = t;
|
|
60370
60369
|
if (x.current) return;
|
|
60371
60370
|
x.current = !0, E(!0), eo(), eg(), Y(null);
|
|
60372
60371
|
let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
|
|
60373
|
-
if (v && null !==
|
|
60372
|
+
if (v && null !== p) {
|
|
60374
60373
|
let t = [
|
|
60375
|
-
|
|
60374
|
+
p,
|
|
60376
60375
|
...ec.current
|
|
60377
60376
|
];
|
|
60378
60377
|
t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
|
|
@@ -60381,7 +60380,7 @@
|
|
|
60381
60380
|
h7.addExifData("user_action", {
|
|
60382
60381
|
start_id_card: F.current,
|
|
60383
60382
|
end_id_card: Date.now()
|
|
60384
|
-
}), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score",
|
|
60383
|
+
}), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score", f), h7.addExifData("blur_score_frames", JSON.stringify(ed.current))), w && (h7.addExifData("model_score.glare_score", h), h7.addExifData("glare_score_frames", JSON.stringify(eu.current)));
|
|
60385
60384
|
let T = await h7.writeCurrentExif({
|
|
60386
60385
|
imageData: {
|
|
60387
60386
|
blob: o
|
|
@@ -60519,14 +60518,14 @@
|
|
|
60519
60518
|
};
|
|
60520
60519
|
})({
|
|
60521
60520
|
shouldStart: !0,
|
|
60522
|
-
refVideo:
|
|
60521
|
+
refVideo: f,
|
|
60523
60522
|
cropArea: eo,
|
|
60524
60523
|
settings: C,
|
|
60525
|
-
onModelErrorChange:
|
|
60524
|
+
onModelErrorChange: ep,
|
|
60526
60525
|
frontSide: k,
|
|
60527
60526
|
allowedCardTypes: y,
|
|
60528
60527
|
onDebugInfoChange: K,
|
|
60529
|
-
onSessionTimeout:
|
|
60528
|
+
onSessionTimeout: ef,
|
|
60530
60529
|
onCaptureDone: eh,
|
|
60531
60530
|
onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
|
|
60532
60531
|
ee(Y("remaining_time", {
|
|
@@ -60555,9 +60554,9 @@
|
|
|
60555
60554
|
}), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
|
|
60556
60555
|
reactExports.useEffect(()=>{
|
|
60557
60556
|
if (u) {
|
|
60558
|
-
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX:
|
|
60559
|
-
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 *
|
|
60560
|
-
x: Math.floor((c - i) / 2) +
|
|
60557
|
+
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: p, lostY: f, clientHeight: h } = u;
|
|
60558
|
+
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 * f - 80 - 100)), n = (t = (s = f + 140) - 70) + 30, o = eT ? s + a + 20 : s + a, r = s + a + 135, en({
|
|
60559
|
+
x: Math.floor((c - i) / 2) + p,
|
|
60561
60560
|
y: s,
|
|
60562
60561
|
width: i,
|
|
60563
60562
|
height: a,
|
|
@@ -61027,8 +61026,8 @@
|
|
|
61027
61026
|
Object.keys(l || {}).forEach(function(t) {
|
|
61028
61027
|
l[t] = i[t] || l[t];
|
|
61029
61028
|
});
|
|
61030
|
-
var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized,
|
|
61031
|
-
return
|
|
61029
|
+
var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized, p = d.inverted, f = c(s ? p : u);
|
|
61030
|
+
return f || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (f = c(s ? u : p)), f;
|
|
61032
61031
|
}
|
|
61033
61032
|
d.default = d, r.default = d;
|
|
61034
61033
|
},
|
|
@@ -61049,10 +61048,10 @@
|
|
|
61049
61048
|
r.binarize = function(t, r, o, a) {
|
|
61050
61049
|
if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
|
|
61051
61050
|
for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
|
|
61052
|
-
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1],
|
|
61053
|
-
s.set(c, l, .2126 * d + .7152 * u + .0722 *
|
|
61051
|
+
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], p = t[(l * r + c) * 4 + 2];
|
|
61052
|
+
s.set(c, l, .2126 * d + .7152 * u + .0722 * p);
|
|
61054
61053
|
}
|
|
61055
|
-
for(var
|
|
61054
|
+
for(var f = Math.ceil(r / 8), h = Math.ceil(o / 8), m = new i(f, h), g = 0; g < h; g++)for(var b = 0; b < f; b++){
|
|
61056
61055
|
for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
|
|
61057
61056
|
var y = s.get(8 * b + c, 8 * g + l);
|
|
61058
61057
|
v += y, w = Math.min(w, y), k = Math.max(k, y);
|
|
@@ -61066,8 +61065,8 @@
|
|
|
61066
61065
|
}
|
|
61067
61066
|
var _ = n.BitMatrix.createEmpty(r, o), x = null;
|
|
61068
61067
|
a && (x = n.BitMatrix.createEmpty(r, o));
|
|
61069
|
-
for(var g = 0; g < h; g++)for(var b = 0; b <
|
|
61070
|
-
for(var P, S, E, T, D = (P = b, S =
|
|
61068
|
+
for(var g = 0; g < h; g++)for(var b = 0; b < f; b++){
|
|
61069
|
+
for(var P, S, E, T, D = (P = b, S = f - 3, P < 2 ? 2 : P > S ? S : P), $ = (E = g, T = h - 3, E < 2 ? 2 : E > T ? T : E), v = 0, j = -2; j <= 2; j++)for(var I = -2; I <= 2; I++)v += m.get(D + j, $ + I);
|
|
61071
61070
|
for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
|
|
61072
61071
|
var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
|
|
61073
61072
|
_.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
|
|
@@ -61348,16 +61347,16 @@
|
|
|
61348
61347
|
for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
|
|
61349
61348
|
r = t.get(u, d), l = l << 1 | r;
|
|
61350
61349
|
}
|
|
61351
|
-
for(var
|
|
61352
|
-
o = t.get(u, d),
|
|
61350
|
+
for(var p = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
|
|
61351
|
+
o = t.get(u, d), p = p << 1 | o;
|
|
61353
61352
|
}
|
|
61354
|
-
for(var
|
|
61353
|
+
for(var f = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
|
|
61355
61354
|
var g = m[h];
|
|
61356
|
-
if (g.infoBits === l || g.infoBits ===
|
|
61355
|
+
if (g.infoBits === l || g.infoBits === p) return g;
|
|
61357
61356
|
var b = c(l, g.infoBits);
|
|
61358
|
-
b <
|
|
61357
|
+
b < f && (n = g, f = b), (b = c(p, g.infoBits)) < f && (n = g, f = b);
|
|
61359
61358
|
}
|
|
61360
|
-
if (
|
|
61359
|
+
if (f <= 3) return n;
|
|
61361
61360
|
}(t);
|
|
61362
61361
|
if (!r) return null;
|
|
61363
61362
|
var o = function(t) {
|
|
@@ -61367,19 +61366,19 @@
|
|
|
61367
61366
|
for(var d = 7; d >= 0; d--){
|
|
61368
61367
|
6 !== d && (o = t.get(8, d), a = a << 1 | o);
|
|
61369
61368
|
}
|
|
61370
|
-
for(var u = t.height,
|
|
61371
|
-
n = t.get(8, d),
|
|
61369
|
+
for(var u = t.height, p = 0, d = u - 1; d >= u - 7; d--){
|
|
61370
|
+
n = t.get(8, d), p = p << 1 | n;
|
|
61372
61371
|
}
|
|
61373
61372
|
for(var s = u - 8; s < u; s++){
|
|
61374
|
-
i = t.get(s, 8),
|
|
61373
|
+
i = t.get(s, 8), p = p << 1 | i;
|
|
61375
61374
|
}
|
|
61376
|
-
for(var
|
|
61375
|
+
for(var f = 1 / 0, h = null, m = 0; m < l.length; m++){
|
|
61377
61376
|
var g = l[m], b = g.bits, v = g.formatInfo;
|
|
61378
|
-
if (b === a || b ===
|
|
61377
|
+
if (b === a || b === p) return v;
|
|
61379
61378
|
var w = c(a, b);
|
|
61380
|
-
w <
|
|
61379
|
+
w < f && (h = v, f = w), a !== p && (w = c(p, b)) < f && (h = v, f = w);
|
|
61381
61380
|
}
|
|
61382
|
-
return
|
|
61381
|
+
return f <= 3 ? h : null;
|
|
61383
61382
|
}(t);
|
|
61384
61383
|
if (!o) return null;
|
|
61385
61384
|
var u = function(t, r, o) {
|
|
@@ -61396,10 +61395,10 @@
|
|
|
61396
61395
|
d.codewords.push(t.shift());
|
|
61397
61396
|
}
|
|
61398
61397
|
if (n.ecBlocks.length > 1) {
|
|
61399
|
-
for(var u = n.ecBlocks[0].numBlocks,
|
|
61398
|
+
for(var u = n.ecBlocks[0].numBlocks, p = n.ecBlocks[1].numBlocks, c = 0; c < p; c++)i[u + c].codewords.push(t.shift());
|
|
61400
61399
|
}
|
|
61401
|
-
for(; t.length > 0;)for(var
|
|
61402
|
-
var d = i[
|
|
61400
|
+
for(; t.length > 0;)for(var f = 0; f < i.length; f++){
|
|
61401
|
+
var d = i[f];
|
|
61403
61402
|
d.codewords.push(t.shift());
|
|
61404
61403
|
}
|
|
61405
61404
|
return i;
|
|
@@ -61414,11 +61413,11 @@
|
|
|
61414
61413
|
}
|
|
61415
61414
|
}
|
|
61416
61415
|
return o.setRegion(6, 9, 1, r - 17, !0), o.setRegion(9, 6, r - 17, 1, !0), t.versionNumber > 6 && (o.setRegion(r - 11, 0, 3, 6, !0), o.setRegion(0, r - 11, 6, 3, !0)), o;
|
|
61417
|
-
}(r), c = [], l = 0, u = 0,
|
|
61418
|
-
6 ===
|
|
61416
|
+
}(r), c = [], l = 0, u = 0, p = !0, f = a - 1; f > 0; f -= 2){
|
|
61417
|
+
6 === f && f--;
|
|
61419
61418
|
for(var h = 0; h < a; h++){
|
|
61420
|
-
for(var m =
|
|
61421
|
-
var b =
|
|
61419
|
+
for(var m = p ? a - 1 - h : h, g = 0; g < 2; g++){
|
|
61420
|
+
var b = f - g;
|
|
61422
61421
|
if (!s.get(b, m)) {
|
|
61423
61422
|
u++;
|
|
61424
61423
|
var v = t.get(b, m);
|
|
@@ -61429,20 +61428,20 @@
|
|
|
61429
61428
|
}
|
|
61430
61429
|
}
|
|
61431
61430
|
}
|
|
61432
|
-
|
|
61431
|
+
p = !p;
|
|
61433
61432
|
}
|
|
61434
61433
|
return c;
|
|
61435
61434
|
}(t, r, o), r, o.errorCorrectionLevel);
|
|
61436
61435
|
if (!u) return null;
|
|
61437
|
-
for(var
|
|
61436
|
+
for(var p = new Uint8ClampedArray(u.reduce(function(t, r) {
|
|
61438
61437
|
return t + r.numDataCodewords;
|
|
61439
|
-
}, 0)),
|
|
61438
|
+
}, 0)), f = 0, h = 0; h < u.length; h++){
|
|
61440
61439
|
var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
|
|
61441
61440
|
if (!g) return null;
|
|
61442
|
-
for(var b = 0; b < m.numDataCodewords; b++)f
|
|
61441
|
+
for(var b = 0; b < m.numDataCodewords; b++)p[f++] = g[b];
|
|
61443
61442
|
}
|
|
61444
61443
|
try {
|
|
61445
|
-
return i.decode(
|
|
61444
|
+
return i.decode(p, r.versionNumber);
|
|
61446
61445
|
} catch (t) {
|
|
61447
61446
|
return null;
|
|
61448
61447
|
}
|
|
@@ -61509,23 +61508,23 @@
|
|
|
61509
61508
|
":"
|
|
61510
61509
|
];
|
|
61511
61510
|
r.decode = function(t, r) {
|
|
61512
|
-
for(var o, n, i, u,
|
|
61511
|
+
for(var o, n, i, u, p = new c.BitStream(t), f = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
|
|
61513
61512
|
text: "",
|
|
61514
61513
|
bytes: [],
|
|
61515
61514
|
chunks: [],
|
|
61516
61515
|
version: r
|
|
61517
|
-
};
|
|
61518
|
-
var m =
|
|
61516
|
+
}; p.available() >= 4;){
|
|
61517
|
+
var m = p.readBits(4);
|
|
61519
61518
|
if (m === s.Terminator) return h;
|
|
61520
|
-
if (m === s.ECI) 0 ===
|
|
61519
|
+
if (m === s.ECI) 0 === p.readBits(1) ? h.chunks.push({
|
|
61521
61520
|
type: a.ECI,
|
|
61522
|
-
assignmentNumber:
|
|
61523
|
-
}) : 0 ===
|
|
61521
|
+
assignmentNumber: p.readBits(7)
|
|
61522
|
+
}) : 0 === p.readBits(1) ? h.chunks.push({
|
|
61524
61523
|
type: a.ECI,
|
|
61525
|
-
assignmentNumber:
|
|
61526
|
-
}) : 0 ===
|
|
61524
|
+
assignmentNumber: p.readBits(14)
|
|
61525
|
+
}) : 0 === p.readBits(1) ? h.chunks.push({
|
|
61527
61526
|
type: a.ECI,
|
|
61528
|
-
assignmentNumber:
|
|
61527
|
+
assignmentNumber: p.readBits(21)
|
|
61529
61528
|
}) : h.chunks.push({
|
|
61530
61529
|
type: a.ECI,
|
|
61531
61530
|
assignmentNumber: -1
|
|
@@ -61556,7 +61555,7 @@
|
|
|
61556
61555
|
bytes: o,
|
|
61557
61556
|
text: n
|
|
61558
61557
|
};
|
|
61559
|
-
}(
|
|
61558
|
+
}(p, f);
|
|
61560
61559
|
h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
|
|
61561
61560
|
type: a.Numeric,
|
|
61562
61561
|
text: g.text
|
|
@@ -61579,7 +61578,7 @@
|
|
|
61579
61578
|
bytes: o,
|
|
61580
61579
|
text: n
|
|
61581
61580
|
};
|
|
61582
|
-
}(
|
|
61581
|
+
}(p, f);
|
|
61583
61582
|
h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
|
|
61584
61583
|
type: a.Alphanumeric,
|
|
61585
61584
|
text: b.text
|
|
@@ -61603,7 +61602,7 @@
|
|
|
61603
61602
|
bytes: o,
|
|
61604
61603
|
text: n
|
|
61605
61604
|
};
|
|
61606
|
-
}(
|
|
61605
|
+
}(p, f);
|
|
61607
61606
|
h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
|
|
61608
61607
|
type: a.Byte,
|
|
61609
61608
|
bytes: v.bytes,
|
|
@@ -61623,7 +61622,7 @@
|
|
|
61623
61622
|
bytes: o,
|
|
61624
61623
|
text: n
|
|
61625
61624
|
};
|
|
61626
|
-
}(
|
|
61625
|
+
}(p, f);
|
|
61627
61626
|
h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
|
|
61628
61627
|
type: a.Kanji,
|
|
61629
61628
|
bytes: w.bytes,
|
|
@@ -61631,7 +61630,7 @@
|
|
|
61631
61630
|
});
|
|
61632
61631
|
}
|
|
61633
61632
|
}
|
|
61634
|
-
if (0 ===
|
|
61633
|
+
if (0 === p.available() || 0 === p.readBits(p.available())) return h;
|
|
61635
61634
|
};
|
|
61636
61635
|
},
|
|
61637
61636
|
function(t, r, o) {
|
|
@@ -68717,7 +68716,7 @@
|
|
|
68717
68716
|
c[c.length - 1 - d] = u, 0 !== u && (l = !0);
|
|
68718
68717
|
}
|
|
68719
68718
|
if (!l) return o;
|
|
68720
|
-
var
|
|
68719
|
+
var p = new i.default(a, c), f = function(t, r, o, n) {
|
|
68721
68720
|
r.degree() < o.degree() && (r = (i = [
|
|
68722
68721
|
o,
|
|
68723
68722
|
r
|
|
@@ -68726,11 +68725,11 @@
|
|
|
68726
68725
|
var d = a, u = c;
|
|
68727
68726
|
if (a = s, c = l, a.isZero()) return null;
|
|
68728
68727
|
s = d;
|
|
68729
|
-
for(var
|
|
68728
|
+
for(var p = t.zero, f = a.getCoefficient(a.degree()), h = t.inverse(f); s.degree() >= a.degree() && !s.isZero();){
|
|
68730
68729
|
var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
|
|
68731
|
-
|
|
68730
|
+
p = p.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
|
|
68732
68731
|
}
|
|
68733
|
-
if (l =
|
|
68732
|
+
if (l = p.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
|
|
68734
68733
|
}
|
|
68735
68734
|
var b = l.getCoefficient(0);
|
|
68736
68735
|
if (0 === b) return null;
|
|
@@ -68739,8 +68738,8 @@
|
|
|
68739
68738
|
l.multiply(v),
|
|
68740
68739
|
s.multiply(v)
|
|
68741
68740
|
];
|
|
68742
|
-
}(a, a.buildMonomial(r, 1),
|
|
68743
|
-
if (null ===
|
|
68741
|
+
}(a, a.buildMonomial(r, 1), p, r);
|
|
68742
|
+
if (null === f) return null;
|
|
68744
68743
|
var h = function(t, r) {
|
|
68745
68744
|
var o = r.degree();
|
|
68746
68745
|
if (1 === o) return [
|
|
@@ -68748,7 +68747,7 @@
|
|
|
68748
68747
|
];
|
|
68749
68748
|
for(var n = Array(o), i = 0, a = 1; a < t.size && i < o; a++)0 === r.evaluateAt(a) && (n[i] = t.inverse(a), i++);
|
|
68750
68749
|
return i !== o ? null : n;
|
|
68751
|
-
}(a,
|
|
68750
|
+
}(a, f[0]);
|
|
68752
68751
|
if (null == h) return null;
|
|
68753
68752
|
for(var m = function(t, r, o) {
|
|
68754
68753
|
for(var i = o.length, a = Array(i), s = 0; s < i; s++){
|
|
@@ -68756,7 +68755,7 @@
|
|
|
68756
68755
|
a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
|
|
68757
68756
|
}
|
|
68758
68757
|
return a;
|
|
68759
|
-
}(a,
|
|
68758
|
+
}(a, f[1], h), g = 0; g < h.length; g++){
|
|
68760
68759
|
var b = o.length - 1 - a.log(h[g]);
|
|
68761
68760
|
if (b < 0) return null;
|
|
68762
68761
|
o[b] = n.addOrSubtractGF(o[b], m[g]);
|
|
@@ -71237,14 +71236,14 @@
|
|
|
71237
71236
|
a32: t.y,
|
|
71238
71237
|
a33: 1
|
|
71239
71238
|
};
|
|
71240
|
-
var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l,
|
|
71239
|
+
var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l, p = (i * d - c * a) / u, f = (s * a - i * l) / u;
|
|
71241
71240
|
return {
|
|
71242
|
-
a11: r.x - t.x +
|
|
71243
|
-
a12: r.y - t.y +
|
|
71244
|
-
a13:
|
|
71245
|
-
a21: n.x - t.x +
|
|
71246
|
-
a22: n.y - t.y +
|
|
71247
|
-
a23:
|
|
71241
|
+
a11: r.x - t.x + p * r.x,
|
|
71242
|
+
a12: r.y - t.y + p * r.y,
|
|
71243
|
+
a13: p,
|
|
71244
|
+
a21: n.x - t.x + f * n.x,
|
|
71245
|
+
a22: n.y - t.y + f * n.y,
|
|
71246
|
+
a23: f,
|
|
71248
71247
|
a31: t.x,
|
|
71249
71248
|
a32: t.y,
|
|
71250
71249
|
a33: 1
|
|
@@ -71273,7 +71272,7 @@
|
|
|
71273
71272
|
a31: c.a21 * c.a32 - c.a22 * c.a31,
|
|
71274
71273
|
a32: c.a12 * c.a31 - c.a11 * c.a32,
|
|
71275
71274
|
a33: c.a11 * c.a22 - c.a12 * c.a21
|
|
71276
|
-
}),
|
|
71275
|
+
}), p = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
|
|
71277
71276
|
a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
|
|
71278
71277
|
a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
|
|
71279
71278
|
a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
|
|
@@ -71283,18 +71282,18 @@
|
|
|
71283
71282
|
a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
|
|
71284
71283
|
a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
|
|
71285
71284
|
a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
|
|
71286
|
-
}),
|
|
71287
|
-
var o =
|
|
71285
|
+
}), f = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
|
|
71286
|
+
var o = p.a13 * t + p.a23 * r + p.a33;
|
|
71288
71287
|
return {
|
|
71289
|
-
x: (
|
|
71290
|
-
y: (
|
|
71288
|
+
x: (p.a11 * t + p.a21 * r + p.a31) / o,
|
|
71289
|
+
y: (p.a12 * t + p.a22 * r + p.a32) / o
|
|
71291
71290
|
};
|
|
71292
71291
|
}, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
|
|
71293
71292
|
var b = h(g + .5, m + .5);
|
|
71294
|
-
|
|
71293
|
+
f.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
|
|
71295
71294
|
}
|
|
71296
71295
|
return {
|
|
71297
|
-
matrix:
|
|
71296
|
+
matrix: f,
|
|
71298
71297
|
mappingFunction: h
|
|
71299
71298
|
};
|
|
71300
71299
|
};
|
|
@@ -71319,15 +71318,15 @@
|
|
|
71319
71318
|
}
|
|
71320
71319
|
], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
|
|
71321
71320
|
u ? (a = Math.floor(t.y), s = Math.floor(t.x), c = Math.floor(r.y), l = Math.floor(r.x)) : (a = Math.floor(t.x), s = Math.floor(t.y), c = Math.floor(r.x), l = Math.floor(r.y));
|
|
71322
|
-
for(var
|
|
71321
|
+
for(var p = Math.abs(c - a), f = Math.abs(l - s), h = Math.floor(-p / 2), m = a < c ? 1 : -1, g = s < l ? 1 : -1, b = !0, v = a, w = s; v !== c + m; v += m){
|
|
71323
71322
|
var k = u ? w : v, y = u ? v : w;
|
|
71324
71323
|
if (o.get(k, y) !== b && (b = !b, d.push({
|
|
71325
71324
|
x: k,
|
|
71326
71325
|
y: y
|
|
71327
71326
|
}), d.length === i + 1)) break;
|
|
71328
|
-
if ((h +=
|
|
71327
|
+
if ((h += f) > 0) {
|
|
71329
71328
|
if (w === l) break;
|
|
71330
|
-
w += g, h -=
|
|
71329
|
+
w += g, h -= p;
|
|
71331
71330
|
}
|
|
71332
71331
|
}
|
|
71333
71332
|
for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
|
|
@@ -71363,7 +71362,7 @@
|
|
|
71363
71362
|
}, l = s(t, a, o, r.length), d = {
|
|
71364
71363
|
x: Math.min(o.width, t.x + t.y) + 1,
|
|
71365
71364
|
y: Math.min(o.height, t.y + t.x) + 1
|
|
71366
|
-
}, u = s(t, d, o, r.length),
|
|
71365
|
+
}, u = s(t, d, o, r.length), p = c(n, r), f = c(i, r), h = c(l, r), m = c(u, r), g = Math.sqrt(p.error * p.error + f.error * f.error + h.error * h.error + m.error * m.error), b = (p.averageSize + f.averageSize + h.averageSize + m.averageSize) / 4, v = (Math.pow(p.averageSize - b, 2) + Math.pow(f.averageSize - b, 2) + Math.pow(h.averageSize - b, 2) + Math.pow(m.averageSize - b, 2)) / b;
|
|
71367
71366
|
return g + v;
|
|
71368
71367
|
} catch (t) {
|
|
71369
71368
|
return 1 / 0;
|
|
@@ -71396,16 +71395,16 @@
|
|
|
71396
71395
|
dimension: l,
|
|
71397
71396
|
moduleSize: c
|
|
71398
71397
|
};
|
|
71399
|
-
}(a, o, c, t)).dimension,
|
|
71398
|
+
}(a, o, c, t)).dimension, p = d.moduleSize;
|
|
71400
71399
|
} catch (t) {
|
|
71401
71400
|
return null;
|
|
71402
71401
|
}
|
|
71403
|
-
var d, u,
|
|
71402
|
+
var d, u, p, f = {
|
|
71404
71403
|
x: o.x - a.x + c.x,
|
|
71405
71404
|
y: o.y - a.y + c.y
|
|
71406
|
-
}, h = (n(a, c) + n(a, o)) / 2 /
|
|
71407
|
-
x: a.x + m * (
|
|
71408
|
-
y: a.y + m * (
|
|
71405
|
+
}, h = (n(a, c) + n(a, o)) / 2 / p, m = 1 - 3 / h, g = {
|
|
71406
|
+
x: a.x + m * (f.x - a.x),
|
|
71407
|
+
y: a.y + m * (f.y - a.y)
|
|
71409
71408
|
}, b = r.map(function(r) {
|
|
71410
71409
|
var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
|
|
71411
71410
|
if (t.get(Math.floor(o), Math.floor(a))) {
|
|
@@ -71443,7 +71442,7 @@
|
|
|
71443
71442
|
};
|
|
71444
71443
|
}
|
|
71445
71444
|
r.locate = function(t) {
|
|
71446
|
-
for(var r, o, a, s, c,
|
|
71445
|
+
for(var r, o, a, s, c, p, f, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
|
|
71447
71446
|
for(var o = 0, n = !1, a = [
|
|
71448
71447
|
0,
|
|
71449
71448
|
0,
|
|
@@ -71461,21 +71460,21 @@
|
|
|
71461
71460
|
a[4],
|
|
71462
71461
|
o
|
|
71463
71462
|
], o = 1, n = c;
|
|
71464
|
-
var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3,
|
|
71463
|
+
var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3, p = Math.abs(a[2] - u) < u && Math.abs(a[3] - u) < u && Math.abs(a[4] - u) < u && c;
|
|
71465
71464
|
if (d) {
|
|
71466
|
-
var
|
|
71465
|
+
var f = s - a[3] - a[4], h = f - a[2], m = {
|
|
71467
71466
|
startX: h,
|
|
71468
|
-
endX:
|
|
71467
|
+
endX: f,
|
|
71469
71468
|
y: r
|
|
71470
71469
|
}, g = y.filter(function(t) {
|
|
71471
|
-
return h >= t.bottom.startX && h <= t.bottom.endX ||
|
|
71470
|
+
return h >= t.bottom.startX && h <= t.bottom.endX || f >= t.bottom.startX && h <= t.bottom.endX || h <= t.bottom.startX && f >= t.bottom.endX && a[2] / (t.bottom.endX - t.bottom.startX) < 1.5 && a[2] / (t.bottom.endX - t.bottom.startX) > .5;
|
|
71472
71471
|
});
|
|
71473
71472
|
g.length > 0 ? g[0].bottom = m : y.push({
|
|
71474
71473
|
top: m,
|
|
71475
71474
|
bottom: m
|
|
71476
71475
|
});
|
|
71477
71476
|
}
|
|
71478
|
-
if (
|
|
71477
|
+
if (p) {
|
|
71479
71478
|
var b = s - a[4], v = b - a[3], m = {
|
|
71480
71479
|
startX: v,
|
|
71481
71480
|
y: r,
|
|
@@ -71569,14 +71568,14 @@
|
|
|
71569
71568
|
r,
|
|
71570
71569
|
o,
|
|
71571
71570
|
a
|
|
71572
|
-
])[0], m = c[1], g = c[2]) : (h = (
|
|
71571
|
+
])[0], m = c[1], g = c[2]) : (h = (p = [
|
|
71573
71572
|
r,
|
|
71574
71573
|
a,
|
|
71575
71574
|
o
|
|
71576
|
-
])[0], m =
|
|
71575
|
+
])[0], m = p[1], g = p[2]), (g.x - m.x) * (h.y - m.y) - (g.y - m.y) * (h.x - m.x) < 0 && (h = (f = [
|
|
71577
71576
|
g,
|
|
71578
71577
|
h
|
|
71579
|
-
])[0], g =
|
|
71578
|
+
])[0], g = f[1]), {
|
|
71580
71579
|
bottomLeft: h,
|
|
71581
71580
|
topLeft: m,
|
|
71582
71581
|
topRight: g
|
|
@@ -71790,10 +71789,10 @@
|
|
|
71790
71789
|
}
|
|
71791
71790
|
];
|
|
71792
71791
|
function sV() {
|
|
71793
|
-
if (rh) return
|
|
71792
|
+
if (rh) return rf;
|
|
71794
71793
|
rh = 1;
|
|
71795
71794
|
var t = o9();
|
|
71796
|
-
return
|
|
71795
|
+
return rf = function() {
|
|
71797
71796
|
try {
|
|
71798
71797
|
var r = t(Object, "defineProperty");
|
|
71799
71798
|
return r({}, "", {}), r;
|
|
@@ -71940,14 +71939,14 @@
|
|
|
71940
71939
|
return n;
|
|
71941
71940
|
}), r = sH(), o = oK(), n = sY(), i = s5(), a = s3(), s = Object.prototype.hasOwnProperty;
|
|
71942
71941
|
return od = function(c, l) {
|
|
71943
|
-
var d = o(c), u = !d && r(c),
|
|
71944
|
-
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b ||
|
|
71942
|
+
var d = o(c), u = !d && r(c), p = !d && !u && n(c), f = !d && !u && !p && a(c), h = d || u || p || f, m = h ? t(c.length, String) : [], g = m.length;
|
|
71943
|
+
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b || p && ("offset" == b || "parent" == b) || f && ("buffer" == b || "byteLength" == b || "byteOffset" == b) || i(b, g))) && m.push(b);
|
|
71945
71944
|
return m;
|
|
71946
71945
|
};
|
|
71947
71946
|
}(), r = function() {
|
|
71948
71947
|
if (om) return oh;
|
|
71949
71948
|
om = 1;
|
|
71950
|
-
var t = o1(), r = sX(), o =
|
|
71949
|
+
var t = o1(), r = sX(), o = of ? op : (of = 1, op = function(t) {
|
|
71951
71950
|
var r = [];
|
|
71952
71951
|
if (null != t) for(var o in Object(t))r.push(o);
|
|
71953
71952
|
return r;
|
|
@@ -71975,8 +71974,8 @@
|
|
|
71975
71974
|
if (oB) return oC;
|
|
71976
71975
|
oB = 1;
|
|
71977
71976
|
var t = function() {
|
|
71978
|
-
if (
|
|
71979
|
-
|
|
71977
|
+
if (rp) return ru;
|
|
71978
|
+
rp = 1;
|
|
71980
71979
|
var t = ne(), r = function() {
|
|
71981
71980
|
if (rr) return rt;
|
|
71982
71981
|
rr = 1;
|
|
@@ -72080,7 +72079,7 @@
|
|
|
72080
72079
|
return rZ = function(o) {
|
|
72081
72080
|
return r(o) && t(o);
|
|
72082
72081
|
};
|
|
72083
|
-
}(), l = sY(), d = o8(), u = o1(),
|
|
72082
|
+
}(), l = sY(), d = o8(), u = o1(), p = function() {
|
|
72084
72083
|
if (r5) return r2;
|
|
72085
72084
|
r5 = 1;
|
|
72086
72085
|
var t = o2(), r = sQ(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
|
|
@@ -72091,7 +72090,7 @@
|
|
|
72091
72090
|
var l = a.call(c, "constructor") && c.constructor;
|
|
72092
72091
|
return "function" == typeof l && l instanceof l && i.call(l) == s;
|
|
72093
72092
|
};
|
|
72094
|
-
}(),
|
|
72093
|
+
}(), f = s3(), h = s2(), m = function() {
|
|
72095
72094
|
if (ow) return ov;
|
|
72096
72095
|
ow = 1;
|
|
72097
72096
|
var t = function() {
|
|
@@ -72125,17 +72124,17 @@
|
|
|
72125
72124
|
if (x) return void t(g, v, x);
|
|
72126
72125
|
var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
|
|
72127
72126
|
if (S) {
|
|
72128
|
-
var E = s(_), T = !E && l(_), D = !E && !T &&
|
|
72129
|
-
P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] :
|
|
72127
|
+
var E = s(_), T = !E && l(_), D = !E && !T && f(_);
|
|
72128
|
+
P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] : p(_) || a(_) ? (P = B, a(B) ? P = m(B) : (!u(B) || d(B)) && (P = i(_))) : S = !1;
|
|
72130
72129
|
}
|
|
72131
72130
|
S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
|
|
72132
72131
|
};
|
|
72133
72132
|
}(), i = o1(), a = s0(), s = s2();
|
|
72134
|
-
return oC = function c(l, d, u,
|
|
72133
|
+
return oC = function c(l, d, u, p, f) {
|
|
72135
72134
|
l !== d && o(d, function(o, a) {
|
|
72136
|
-
if (
|
|
72135
|
+
if (f || (f = new t), i(o)) n(l, d, a, u, c, p, f);
|
|
72137
72136
|
else {
|
|
72138
|
-
var h =
|
|
72137
|
+
var h = p ? p(s(l, a), o, a + "", l, d, f) : void 0;
|
|
72139
72138
|
void 0 === h && (h = o), r(l, a, h);
|
|
72140
72139
|
}
|
|
72141
72140
|
}, a);
|
|
@@ -90582,6 +90581,7 @@
|
|
|
90582
90581
|
const DefaultFlashLivenessBody = FlashLivenessBody;
|
|
90583
90582
|
const DefaultFlashLivenessOverlay = FlashLivenessOverlay;
|
|
90584
90583
|
const DefaultFlashLivenessError = FlashLivenessError;
|
|
90584
|
+
const DefaultFlashLivenessCloseIcon = CloseIcon;
|
|
90585
90585
|
function FlashLivenessImpl(props) {
|
|
90586
90586
|
const { onReset, onFlashDone: onFlashDoneCallback, frontCamera, styledComponent, onFramesCaptured, customComponent, extraConfig, onImageCaptured } = props;
|
|
90587
90587
|
const { onCloseCallback, onErrorCallback } = useSDKCallback();
|
|
@@ -90589,6 +90589,7 @@
|
|
|
90589
90589
|
const FlashLivenessBodyComponent = customComponent?.FlashLivenessBody ?? DefaultFlashLivenessBody;
|
|
90590
90590
|
const FlashLivenessOverlayComponent = customComponent?.FlashLivenessOverlay ?? DefaultFlashLivenessOverlay;
|
|
90591
90591
|
const FlashLivenessErrorComponent = customComponent?.FlashLivenessError ?? DefaultFlashLivenessError;
|
|
90592
|
+
const FlashLivenessCloseIconComponent = customComponent?.FlashLivenessCloseIcon ?? DefaultFlashLivenessCloseIcon;
|
|
90592
90593
|
const { maskSettings, flashSettings, faceSettings, livenessSettings, captureFrameSettings, imageSettings, timeoutSettings, blurCheckFarSettings, blurCheckCloseSettings, exifSettings, autoGenFrameIds } = flashLivenessSettings;
|
|
90593
90594
|
if (maskSettings.smallScale > maskSettings.largeScale) {
|
|
90594
90595
|
throw new Error('smallScale must be smaller than largeScale');
|
|
@@ -91315,7 +91316,7 @@
|
|
|
91315
91316
|
ref: videoRef,
|
|
91316
91317
|
onError: onErrorCallback,
|
|
91317
91318
|
videoSettings: videoSettings$5,
|
|
91318
|
-
closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(
|
|
91319
|
+
closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(FlashLivenessCloseIconComponent, {}),
|
|
91319
91320
|
children: /*#__PURE__*/ jsxRuntimeExports.jsxs(WarmUpOverlay, {
|
|
91320
91321
|
overlay: !warmupDone || !isPlaying,
|
|
91321
91322
|
loadingComponent: Loading,
|
|
@@ -92597,12 +92598,14 @@
|
|
|
92597
92598
|
};
|
|
92598
92599
|
const DefaultPassiveLivenessBody = PassiveLivenessBody;
|
|
92599
92600
|
const DefaultPassiveLivenessError = PassiveLivenessError;
|
|
92601
|
+
const DefaultPassiveLivenessCloseIcon = CloseIcon;
|
|
92600
92602
|
function PassiveLivenessUI(props) {
|
|
92601
92603
|
const { onReset, onDone: onDoneCallback, frontCamera, styledComponent, onFramesCaptured, customComponent, extraConfig } = props;
|
|
92602
92604
|
const { onErrorCallback, onCloseCallback } = useSDKCallback();
|
|
92603
92605
|
const passiveLivenessSettings = usePassiveLivenessV2Settings();
|
|
92604
92606
|
const PassiveLivenessBodyComponent = customComponent?.PassiveLivenessBody ?? DefaultPassiveLivenessBody;
|
|
92605
92607
|
const PassiveLivenessErrorComponent = customComponent?.PassiveLivenessError ?? DefaultPassiveLivenessError;
|
|
92608
|
+
const PassiveLivenessCloseIconComponent = customComponent?.PassiveLivenessCloseIcon ?? DefaultPassiveLivenessCloseIcon;
|
|
92606
92609
|
const { maskSettings, faceSettings, captureFrameSettings, exifSettings, imageSettings, timeoutSettings, blurCheckFarSettings, outputImageSettings, autoGenFrameIds } = passiveLivenessSettings;
|
|
92607
92610
|
const farFaceTimeRef = reactExports.useRef();
|
|
92608
92611
|
const logEvent = useEventLogging();
|
|
@@ -93088,7 +93091,7 @@
|
|
|
93088
93091
|
ref: videoRef,
|
|
93089
93092
|
onError: onErrorCallback,
|
|
93090
93093
|
videoSettings: videoSettings$3,
|
|
93091
|
-
closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(
|
|
93094
|
+
closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(PassiveLivenessCloseIconComponent, {}),
|
|
93092
93095
|
children: /*#__PURE__*/ jsxRuntimeExports.jsxs(WarmUpOverlay, {
|
|
93093
93096
|
overlay: !warmupDone || !isPlaying,
|
|
93094
93097
|
loadingComponent: Loading,
|
|
@@ -94748,7 +94751,7 @@
|
|
|
94748
94751
|
DEFAULT: 'default',
|
|
94749
94752
|
ERROR: 'error'
|
|
94750
94753
|
};
|
|
94751
|
-
function RectangleMask({ className, width, height, type, strokeStyles, strokeWidth, radius, paddingStyle, defaultRectStyles, errorRectStyles }) {
|
|
94754
|
+
function RectangleMask({ className, width, height, type, strokeStyles, strokeWidth, radius, paddingStyle, defaultRectStyles, errorRectStyles, paddingCornerMultiplier = 1.5 }) {
|
|
94752
94755
|
const styleMapping = reactExports.useMemo(()=>{
|
|
94753
94756
|
return {
|
|
94754
94757
|
[Type.DEFAULT]: defaultRectStyles,
|
|
@@ -94760,7 +94763,7 @@
|
|
|
94760
94763
|
errorRectStyles,
|
|
94761
94764
|
strokeStyles
|
|
94762
94765
|
]);
|
|
94763
|
-
const paddingCornerSize = radius + strokeWidth *
|
|
94766
|
+
const paddingCornerSize = radius + strokeWidth * paddingCornerMultiplier;
|
|
94764
94767
|
const rectStyle = styleMapping[type];
|
|
94765
94768
|
return /*#__PURE__*/ jsxRuntimeExports.jsxs("svg", {
|
|
94766
94769
|
width: width,
|
|
@@ -94808,7 +94811,8 @@
|
|
|
94808
94811
|
radius: PropTypes.number,
|
|
94809
94812
|
paddingStyle: PropTypes.shape({}),
|
|
94810
94813
|
defaultRectStyles: PropTypes.shape({}),
|
|
94811
|
-
errorRectStyles: PropTypes.shape({})
|
|
94814
|
+
errorRectStyles: PropTypes.shape({}),
|
|
94815
|
+
paddingCornerMultiplier: PropTypes.number
|
|
94812
94816
|
};
|
|
94813
94817
|
RectangleMask.defaultProps = {
|
|
94814
94818
|
className: '',
|
|
@@ -94820,7 +94824,8 @@
|
|
|
94820
94824
|
radius: defaultIDThemeV2$1.IDCapturing.rectangleMask.radius,
|
|
94821
94825
|
paddingStyle: defaultIDThemeV2$1.IDCapturing.rectangleMask.paddingStyle,
|
|
94822
94826
|
defaultRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.default,
|
|
94823
|
-
errorRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.error
|
|
94827
|
+
errorRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.error,
|
|
94828
|
+
paddingCornerMultiplier: 1.5
|
|
94824
94829
|
};
|
|
94825
94830
|
|
|
94826
94831
|
const StyledRectangleMask = dt$1(RectangleMask)``;
|
|
@@ -113182,6 +113187,17 @@
|
|
|
113182
113187
|
});
|
|
113183
113188
|
};
|
|
113184
113189
|
};
|
|
113190
|
+
const withLocale = (Component)=>{
|
|
113191
|
+
return function WrappedComponent(props) {
|
|
113192
|
+
const { customTexts } = props;
|
|
113193
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(SDKLocaleProvider, {
|
|
113194
|
+
customTexts: customTexts,
|
|
113195
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(Component, {
|
|
113196
|
+
...props
|
|
113197
|
+
})
|
|
113198
|
+
});
|
|
113199
|
+
};
|
|
113200
|
+
};
|
|
113185
113201
|
// eslint-disable-next-line react/require-default-props
|
|
113186
113202
|
function FaceAuthenticationContainer(props) {
|
|
113187
113203
|
const { apiCheck, mode, authType, authMethod, apiCredentials, onDone: onDoneFromProp, onError: onErrorFromProp, onClose: onCloseFromProp, onReset, captureFrameSettings, onFramesCaptured, clientSettings: clientSettingsFromProp, outputEncryptionSettings, logCredentials, flowId, serviceSettings, cameraScale, offsetFaceY, frontalMinSize, customTheme, livenessDetectionComponent: LivenessDetectionComponent, customComponent, customTexts, extraConfig } = props;
|
|
@@ -113433,7 +113449,7 @@
|
|
|
113433
113449
|
onFramesCaptured: ()=>{},
|
|
113434
113450
|
customTexts: {}
|
|
113435
113451
|
};
|
|
113436
|
-
var FaceAuthenticationContainer$1 = withClientSettings(FaceAuthenticationContainer);
|
|
113452
|
+
var FaceAuthenticationContainer$1 = withClientSettings(withLocale(FaceAuthenticationContainer));
|
|
113437
113453
|
|
|
113438
113454
|
// eslint-disable-next-line react/require-default-props
|
|
113439
113455
|
function FaceAuthentication(props) {
|
|
@@ -113466,13 +113482,15 @@
|
|
|
113466
113482
|
FlashLivenessOverlay,
|
|
113467
113483
|
FlashLivenessLoading,
|
|
113468
113484
|
FlashLivenessError,
|
|
113485
|
+
FlashLivenessCloseIcon: CloseIcon,
|
|
113486
|
+
PassiveLivenessCloseIcon: CloseIcon,
|
|
113469
113487
|
PassiveLivenessBody,
|
|
113470
113488
|
PassiveLivenessError
|
|
113471
113489
|
}
|
|
113472
113490
|
};
|
|
113473
113491
|
};
|
|
113474
113492
|
|
|
113475
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.
|
|
113493
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.20251217-142321/assets";
|
|
113476
113494
|
class TVWebSDK extends gU {
|
|
113477
113495
|
constructor(props){
|
|
113478
113496
|
super({
|