@tsocial/tvweb-sdk.platform 0.0.0-beta.20251215-170414 → 0.0.0-beta.20260102-113929

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.
@@ -33783,7 +33783,7 @@
33783
33783
  }, nS$1;
33784
33784
  }();
33785
33785
  function nB$1() {
33786
- return "0.0.0-beta.20251215-170414";
33786
+ return "0.0.0-beta.20260102-113929";
33787
33787
  }
33788
33788
  function nI$1() {
33789
33789
  return {
@@ -41259,53 +41259,52 @@
41259
41259
  }, uz;
41260
41260
  }(), uG);
41261
41261
  }();
41262
- function dm(e, t) {
41263
- let r = dy();
41264
- return (dm = function(e, t) {
41265
- return r[e -= 334];
41266
- })(e, t);
41262
+ let dm = d_, dg = d_, dy = db();
41263
+ for(;;)try {
41264
+ if (-parseInt(dg(345)) / 1 + parseInt(dg(342)) / 2 + -parseInt(dg(337)) / 3 + parseInt(dg(351)) / 4 * (-parseInt(dg(352)) / 5) + -parseInt(dg(344)) / 6 + parseInt(dg(348)) / 7 * (-parseInt(dg(340)) / 8) + parseInt(dg(357)) / 9 * (parseInt(dg(354)) / 10) === 618403) break;
41265
+ dy.push(dy.shift());
41266
+ } catch (e) {
41267
+ dy.push(dy.shift());
41267
41268
  }
41268
- let dg = dm;
41269
- function dy() {
41269
+ function db() {
41270
41270
  let e = [
41271
+ "189hhFXAD",
41271
41272
  "0301070342",
41273
+ "44P0rKKsZK",
41274
+ "24rqmDDM",
41275
+ "1002995OcTyQq",
41276
+ "ytJdcsPxrD",
41277
+ "11990OPaSvM",
41278
+ "cDQgAE9h6Z",
41272
41279
  "072a8648ce",
41273
- "DepBO8t60S",
41274
- "+faHkP3QC3",
41275
- "D9EKOWS+U4",
41276
- "KA==",
41280
+ "37629rCUIjn",
41277
41281
  "000",
41278
- "KoZIzj0DAQ",
41279
- "ssRdXLZEX8",
41280
- "78pJsmjA",
41281
- "23755112qixOGK",
41282
- "ytJdcsPxrD",
41283
41282
  "MfPrcYTM70",
41284
- "MFkwEwYHKo",
41285
- "8915nLIOAa",
41286
- "44P0rKKsZK",
41287
- "cDQgAE9h6Z",
41288
- "4218291nxdvtB",
41289
- "2729172royNkn",
41290
- "653601YIYffL",
41291
- "2315541rITdMg",
41283
+ "KA==",
41284
+ "3577959zMwuqo",
41285
+ "ZIzj0CAQYI",
41292
41286
  "2a8648ce3d",
41293
- "1619078DMdLEK",
41294
- "Mjci1ul8mm",
41295
- "3059301306"
41287
+ "362952WZsXSr",
41288
+ "DepBO8t60S",
41289
+ "1669398mnxwun",
41290
+ "3d02010608",
41291
+ "2547624dmLhJV",
41292
+ "1183501ukhWAU",
41293
+ "ssRdXLZEX8",
41294
+ "+faHkP3QC3"
41296
41295
  ];
41297
- return (dy = function() {
41296
+ return (db = function() {
41298
41297
  return e;
41299
41298
  })();
41300
41299
  }
41301
- let db = dm, dv = dy();
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());
41300
+ let dv = "3059301306" + dm(356) + dm(343) + dm(339) + dm(349) + dm(358);
41301
+ function d_(e, t) {
41302
+ let r = db();
41303
+ return (d_ = function(e, t) {
41304
+ return r[e -= 335];
41305
+ })(e, t);
41307
41306
  }
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);
41307
+ let dx = "MFkwEwYHKo" + dm(338) + "KoZIzj0DAQ" + dm(355) + dm(341) + dm(353) + dm(347) + dm(350) + "Mjci1ul8mmD9EKOWS+U4" + dm(335) + dm(346) + dm(336);
41309
41308
  async function dC(e) {
41310
41309
  let t = new TextEncoder().encode(e);
41311
41310
  return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
@@ -41410,7 +41409,7 @@
41410
41409
  isValid: !1,
41411
41410
  error: i0$1.invalid_license
41412
41411
  };
41413
- let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(d_, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41412
+ let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(dv, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41414
41413
  verifySignature: async (e, t)=>{
41415
41414
  try {
41416
41415
  let r = await dC(e), n = i4$1(t);
@@ -45324,7 +45323,7 @@
45324
45323
  return this.getKey().getPublicKey();
45325
45324
  }, e.prototype.getPublicKeyB64 = function() {
45326
45325
  return this.getKey().getPublicBaseKeyB64();
45327
- }, e.version = "5.33.0", e;
45326
+ }, e.version = "5.34.0", e;
45328
45327
  }();
45329
45328
  let hO = [
45330
45329
  "-",
@@ -53107,7 +53106,7 @@
53107
53106
  });
53108
53107
  };
53109
53108
 
53110
- var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu, ef, ep, 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, tf, tp, 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, rf, rp, 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, of, op, 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 : {};
53109
+ 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 : {};
53111
53110
  function oX(t) {
53112
53111
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
53113
53112
  }
@@ -53186,7 +53185,7 @@
53186
53185
  };
53187
53186
  }
53188
53187
  function o5() {
53189
- return ep ? ef : (ep = 1, ef = function(t) {
53188
+ return ef ? ep : (ef = 1, ep = function(t) {
53190
53189
  return null != t && "object" == typeof t;
53191
53190
  });
53192
53191
  }
@@ -53418,10 +53417,10 @@
53418
53417
  return t(this, r).get(r);
53419
53418
  };
53420
53419
  }(), n = function() {
53421
- if (tp) return tf;
53422
- tp = 1;
53420
+ if (tf) return tp;
53421
+ tf = 1;
53423
53422
  var t = nr();
53424
- return tf = function(r) {
53423
+ return tp = function(r) {
53425
53424
  return t(this, r).has(r);
53426
53425
  };
53427
53426
  }(), i = function() {
@@ -53564,16 +53563,16 @@
53564
53563
  function nc(t, r) {
53565
53564
  return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
53566
53565
  }
53567
- var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
53566
+ var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", np = "exited", nf = "entering", nh = "entered", nm = "exiting", ng = function(r) {
53568
53567
  function o(t, o) {
53569
53568
  var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
53570
- return i.appearStatus = null, t.in ? a ? (n = nf, i.appearStatus = np) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : nf, i.state = {
53569
+ return i.appearStatus = null, t.in ? a ? (n = np, i.appearStatus = nf) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : np, i.state = {
53571
53570
  status: n
53572
53571
  }, i.nextCallback = null, i;
53573
53572
  }
53574
53573
  ns(o, r), o.getDerivedStateFromProps = function(t, r) {
53575
53574
  return t.in && r.status === nu ? {
53576
- status: nf
53575
+ status: np
53577
53576
  } : null;
53578
53577
  };
53579
53578
  var n = o.prototype;
@@ -53583,7 +53582,7 @@
53583
53582
  var r = null;
53584
53583
  if (t !== this.props) {
53585
53584
  var o = this.state.status;
53586
- this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
53585
+ this.props.in ? o !== nf && o !== nh && (r = nf) : (o === nf || o === nh) && (r = nm);
53587
53586
  }
53588
53587
  this.updateStatus(!1, r);
53589
53588
  }, n.componentWillUnmount = function() {
@@ -53596,7 +53595,7 @@
53596
53595
  appear: o
53597
53596
  };
53598
53597
  }, n.updateStatus = function(t, r) {
53599
- void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r === np ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === nf && this.setState({
53598
+ 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({
53600
53599
  status: nu
53601
53600
  });
53602
53601
  }, n.performEnter = function(t) {
@@ -53607,7 +53606,7 @@
53607
53606
  n
53608
53607
  ], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
53609
53608
  (t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
53610
- status: np
53609
+ status: nf
53611
53610
  }, function() {
53612
53611
  r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
53613
53612
  r.safeSetState({
@@ -53624,7 +53623,7 @@
53624
53623
  }, n.performExit = function() {
53625
53624
  var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
53626
53625
  !r || nl ? this.safeSetState({
53627
- status: nf
53626
+ status: np
53628
53627
  }, function() {
53629
53628
  t.props.onExited(n);
53630
53629
  }) : (this.props.onExit(n), this.safeSetState({
@@ -53632,7 +53631,7 @@
53632
53631
  }, function() {
53633
53632
  t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
53634
53633
  t.safeSetState({
53635
- status: nf
53634
+ status: np
53636
53635
  }, function() {
53637
53636
  t.props.onExited(n);
53638
53637
  });
@@ -53705,7 +53704,7 @@
53705
53704
  onExit: nb,
53706
53705
  onExiting: nb,
53707
53706
  onExited: nb
53708
- }, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
53707
+ }, ng.UNMOUNTED = nu, ng.EXITED = np, ng.ENTERING = nf, ng.ENTERED = nh, ng.EXITING = nm;
53709
53708
  var nv = function(t, r) {
53710
53709
  return t && r && r.split(" ").forEach(function(r) {
53711
53710
  var o, n;
@@ -53800,7 +53799,7 @@
53800
53799
  return /*#__PURE__*/ React.cloneElement(o, {
53801
53800
  in: !1,
53802
53801
  onExited: nC(o, "onExited", function() {
53803
- n(np, null);
53802
+ n(nf, null);
53804
53803
  })
53805
53804
  });
53806
53805
  }, tL[ny] = function(r) {
@@ -53810,7 +53809,7 @@
53810
53809
  /*#__PURE__*/ React.cloneElement(i, {
53811
53810
  in: !0,
53812
53811
  onEntered: nC(i, "onEntered", function() {
53813
- n(np);
53812
+ n(nf);
53814
53813
  })
53815
53814
  })
53816
53815
  ];
@@ -53863,8 +53862,8 @@
53863
53862
  if (null == r.children) return {
53864
53863
  current: null
53865
53864
  };
53866
- if (o.status === np && r.mode === ny) return {
53867
- status: np
53865
+ if (o.status === nf && r.mode === ny) return {
53866
+ status: nf
53868
53867
  };
53869
53868
  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) ? {
53870
53869
  status: nm
@@ -53881,7 +53880,7 @@
53881
53880
  status: s
53882
53881
  };
53883
53882
  switch(s){
53884
- case np:
53883
+ case nf:
53885
53884
  r = n_[i](l);
53886
53885
  break;
53887
53886
  case nm:
@@ -53911,7 +53910,7 @@
53911
53910
  var t, r;
53912
53911
  if (tN) return nS.exports;
53913
53912
  return tN = 1, t = nS, r = nS.exports, function(o, n) {
53914
- var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name", f = "type", p = "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) {
53913
+ 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) {
53915
53914
  var o = {};
53916
53915
  for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
53917
53916
  return o;
@@ -53926,9 +53925,9 @@
53926
53925
  if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
53927
53926
  }, X = function(t, r) {
53928
53927
  for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
53929
- var f = r[u], p = r[u + 1];
53930
- for(o = n = 0; o < f.length && !l && f[o];){
53931
- if (l = f[o++].exec(t)) for(a = 0; a < p.length; a++)d = l[++n], typeof (c = p[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;
53928
+ var p = r[u], f = r[u + 1];
53929
+ for(o = n = 0; o < p.length && !l && p[o];){
53930
+ 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;
53932
53931
  }
53933
53932
  u += 2;
53934
53933
  }
@@ -54512,11 +54511,11 @@
54512
54511
  [
54513
54512
  d,
54514
54513
  [
54515
- p,
54514
+ f,
54516
54515
  O
54517
54516
  ],
54518
54517
  [
54519
- f,
54518
+ p,
54520
54519
  v
54521
54520
  ]
54522
54521
  ],
@@ -54528,11 +54527,11 @@
54528
54527
  [
54529
54528
  d,
54530
54529
  [
54531
- p,
54530
+ f,
54532
54531
  O
54533
54532
  ],
54534
54533
  [
54535
- f,
54534
+ p,
54536
54535
  b
54537
54536
  ]
54538
54537
  ],
@@ -54542,11 +54541,11 @@
54542
54541
  [
54543
54542
  d,
54544
54543
  [
54545
- p,
54544
+ f,
54546
54545
  B
54547
54546
  ],
54548
54547
  [
54549
- f,
54548
+ p,
54550
54549
  b
54551
54550
  ]
54552
54551
  ],
@@ -54558,11 +54557,11 @@
54558
54557
  [
54559
54558
  d,
54560
54559
  [
54561
- p,
54560
+ f,
54562
54561
  B
54563
54562
  ],
54564
54563
  [
54565
- f,
54564
+ p,
54566
54565
  v
54567
54566
  ]
54568
54567
  ],
@@ -54572,7 +54571,7 @@
54572
54571
  [
54573
54572
  d,
54574
54573
  [
54575
- p,
54574
+ f,
54576
54575
  B
54577
54576
  ]
54578
54577
  ],
@@ -54582,11 +54581,11 @@
54582
54581
  [
54583
54582
  d,
54584
54583
  [
54585
- p,
54584
+ f,
54586
54585
  M
54587
54586
  ],
54588
54587
  [
54589
- f,
54588
+ p,
54590
54589
  b
54591
54590
  ]
54592
54591
  ],
@@ -54596,11 +54595,11 @@
54596
54595
  [
54597
54596
  d,
54598
54597
  [
54599
- p,
54598
+ f,
54600
54599
  D
54601
54600
  ],
54602
54601
  [
54603
- f,
54602
+ p,
54604
54603
  v
54605
54604
  ]
54606
54605
  ],
@@ -54611,11 +54610,11 @@
54611
54610
  [
54612
54611
  d,
54613
54612
  [
54614
- p,
54613
+ f,
54615
54614
  D
54616
54615
  ],
54617
54616
  [
54618
- f,
54617
+ p,
54619
54618
  b
54620
54619
  ]
54621
54620
  ],
@@ -54634,11 +54633,11 @@
54634
54633
  " "
54635
54634
  ],
54636
54635
  [
54637
- p,
54636
+ f,
54638
54637
  R
54639
54638
  ],
54640
54639
  [
54641
- f,
54640
+ p,
54642
54641
  b
54643
54642
  ]
54644
54643
  ],
@@ -54653,11 +54652,11 @@
54653
54652
  " "
54654
54653
  ],
54655
54654
  [
54656
- p,
54655
+ f,
54657
54656
  R
54658
54657
  ],
54659
54658
  [
54660
- f,
54659
+ p,
54661
54660
  v
54662
54661
  ]
54663
54662
  ],
@@ -54668,11 +54667,11 @@
54668
54667
  [
54669
54668
  d,
54670
54669
  [
54671
- p,
54670
+ f,
54672
54671
  "OPPO"
54673
54672
  ],
54674
54673
  [
54675
- f,
54674
+ p,
54676
54675
  b
54677
54676
  ]
54678
54677
  ],
@@ -54683,11 +54682,11 @@
54683
54682
  [
54684
54683
  d,
54685
54684
  [
54686
- p,
54685
+ f,
54687
54686
  "Vivo"
54688
54687
  ],
54689
54688
  [
54690
- f,
54689
+ p,
54691
54690
  b
54692
54691
  ]
54693
54692
  ],
@@ -54697,11 +54696,11 @@
54697
54696
  [
54698
54697
  d,
54699
54698
  [
54700
- p,
54699
+ f,
54701
54700
  "Realme"
54702
54701
  ],
54703
54702
  [
54704
- f,
54703
+ p,
54705
54704
  b
54706
54705
  ]
54707
54706
  ],
@@ -54713,11 +54712,11 @@
54713
54712
  [
54714
54713
  d,
54715
54714
  [
54716
- p,
54715
+ f,
54717
54716
  j
54718
54717
  ],
54719
54718
  [
54720
- f,
54719
+ p,
54721
54720
  b
54722
54721
  ]
54723
54722
  ],
@@ -54727,11 +54726,11 @@
54727
54726
  [
54728
54727
  d,
54729
54728
  [
54730
- p,
54729
+ f,
54731
54730
  j
54732
54731
  ],
54733
54732
  [
54734
- f,
54733
+ p,
54735
54734
  v
54736
54735
  ]
54737
54736
  ],
@@ -54741,11 +54740,11 @@
54741
54740
  [
54742
54741
  d,
54743
54742
  [
54744
- p,
54743
+ f,
54745
54744
  "LG"
54746
54745
  ],
54747
54746
  [
54748
- f,
54747
+ p,
54749
54748
  v
54750
54749
  ]
54751
54750
  ],
@@ -54757,11 +54756,11 @@
54757
54756
  [
54758
54757
  d,
54759
54758
  [
54760
- p,
54759
+ f,
54761
54760
  "LG"
54762
54761
  ],
54763
54762
  [
54764
- f,
54763
+ p,
54765
54764
  b
54766
54765
  ]
54767
54766
  ],
@@ -54772,11 +54771,11 @@
54772
54771
  [
54773
54772
  d,
54774
54773
  [
54775
- p,
54774
+ f,
54776
54775
  "Lenovo"
54777
54776
  ],
54778
54777
  [
54779
- f,
54778
+ p,
54780
54779
  v
54781
54780
  ]
54782
54781
  ],
@@ -54791,11 +54790,11 @@
54791
54790
  " "
54792
54791
  ],
54793
54792
  [
54794
- p,
54793
+ f,
54795
54794
  "Nokia"
54796
54795
  ],
54797
54796
  [
54798
- f,
54797
+ p,
54799
54798
  b
54800
54799
  ]
54801
54800
  ],
@@ -54805,11 +54804,11 @@
54805
54804
  [
54806
54805
  d,
54807
54806
  [
54808
- p,
54807
+ f,
54809
54808
  T
54810
54809
  ],
54811
54810
  [
54812
- f,
54811
+ p,
54813
54812
  v
54814
54813
  ]
54815
54814
  ],
@@ -54819,11 +54818,11 @@
54819
54818
  [
54820
54819
  d,
54821
54820
  [
54822
- p,
54821
+ f,
54823
54822
  T
54824
54823
  ],
54825
54824
  [
54826
- f,
54825
+ p,
54827
54826
  b
54828
54827
  ]
54829
54828
  ],
@@ -54833,11 +54832,11 @@
54833
54832
  [
54834
54833
  d,
54835
54834
  [
54836
- p,
54835
+ f,
54837
54836
  A
54838
54837
  ],
54839
54838
  [
54840
- f,
54839
+ p,
54841
54840
  b
54842
54841
  ]
54843
54842
  ],
@@ -54851,11 +54850,11 @@
54851
54850
  "Xperia Tablet"
54852
54851
  ],
54853
54852
  [
54854
- p,
54853
+ f,
54855
54854
  A
54856
54855
  ],
54857
54856
  [
54858
- f,
54857
+ p,
54859
54858
  v
54860
54859
  ]
54861
54860
  ],
@@ -54866,11 +54865,11 @@
54866
54865
  [
54867
54866
  d,
54868
54867
  [
54869
- p,
54868
+ f,
54870
54869
  "OnePlus"
54871
54870
  ],
54872
54871
  [
54873
- f,
54872
+ p,
54874
54873
  b
54875
54874
  ]
54876
54875
  ],
@@ -54882,11 +54881,11 @@
54882
54881
  [
54883
54882
  d,
54884
54883
  [
54885
- p,
54884
+ f,
54886
54885
  C
54887
54886
  ],
54888
54887
  [
54889
- f,
54888
+ p,
54890
54889
  v
54891
54890
  ]
54892
54891
  ],
@@ -54900,11 +54899,11 @@
54900
54899
  "Fire Phone $1"
54901
54900
  ],
54902
54901
  [
54903
- p,
54902
+ f,
54904
54903
  C
54905
54904
  ],
54906
54905
  [
54907
- f,
54906
+ p,
54908
54907
  b
54909
54908
  ]
54910
54909
  ],
@@ -54913,9 +54912,9 @@
54913
54912
  ],
54914
54913
  [
54915
54914
  d,
54916
- p,
54915
+ f,
54917
54916
  [
54918
- f,
54917
+ p,
54919
54918
  v
54920
54919
  ]
54921
54920
  ],
@@ -54926,11 +54925,11 @@
54926
54925
  [
54927
54926
  d,
54928
54927
  [
54929
- p,
54928
+ f,
54930
54929
  x
54931
54930
  ],
54932
54931
  [
54933
- f,
54932
+ p,
54934
54933
  b
54935
54934
  ]
54936
54935
  ],
@@ -54940,11 +54939,11 @@
54940
54939
  [
54941
54940
  d,
54942
54941
  [
54943
- p,
54942
+ f,
54944
54943
  _
54945
54944
  ],
54946
54945
  [
54947
- f,
54946
+ p,
54948
54947
  v
54949
54948
  ]
54950
54949
  ],
@@ -54954,11 +54953,11 @@
54954
54953
  [
54955
54954
  d,
54956
54955
  [
54957
- p,
54956
+ f,
54958
54957
  _
54959
54958
  ],
54960
54959
  [
54961
- f,
54960
+ p,
54962
54961
  b
54963
54962
  ]
54964
54963
  ],
@@ -54968,11 +54967,11 @@
54968
54967
  [
54969
54968
  d,
54970
54969
  [
54971
- p,
54970
+ f,
54972
54971
  "HTC"
54973
54972
  ],
54974
54973
  [
54975
- f,
54974
+ p,
54976
54975
  v
54977
54976
  ]
54978
54977
  ],
@@ -54982,14 +54981,14 @@
54982
54981
  /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
54983
54982
  ],
54984
54983
  [
54985
- p,
54984
+ f,
54986
54985
  [
54987
54986
  d,
54988
54987
  /_/g,
54989
54988
  " "
54990
54989
  ],
54991
54990
  [
54992
- f,
54991
+ p,
54993
54992
  b
54994
54993
  ]
54995
54994
  ],
@@ -54999,11 +54998,11 @@
54999
54998
  [
55000
54999
  d,
55001
55000
  [
55002
- p,
55001
+ f,
55003
55002
  "Acer"
55004
55003
  ],
55005
55004
  [
55006
- f,
55005
+ p,
55007
55006
  v
55008
55007
  ]
55009
55008
  ],
@@ -55014,11 +55013,11 @@
55014
55013
  [
55015
55014
  d,
55016
55015
  [
55017
- p,
55016
+ f,
55018
55017
  "Meizu"
55019
55018
  ],
55020
55019
  [
55021
- f,
55020
+ p,
55022
55021
  b
55023
55022
  ]
55024
55023
  ],
@@ -55028,11 +55027,11 @@
55028
55027
  [
55029
55028
  d,
55030
55029
  [
55031
- p,
55030
+ f,
55032
55031
  "Ulefone"
55033
55032
  ],
55034
55033
  [
55035
- f,
55034
+ p,
55036
55035
  b
55037
55036
  ]
55038
55037
  ],
@@ -55046,10 +55045,10 @@
55046
55045
  /(oppo) ?([\w ]+) bui/i
55047
55046
  ],
55048
55047
  [
55049
- p,
55048
+ f,
55050
55049
  d,
55051
55050
  [
55052
- f,
55051
+ p,
55053
55052
  b
55054
55053
  ]
55055
55054
  ],
@@ -55066,10 +55065,10 @@
55066
55065
  /(vodafone) ([\w ]+)(?:\)| bui)/i
55067
55066
  ],
55068
55067
  [
55069
- p,
55068
+ f,
55070
55069
  d,
55071
55070
  [
55072
- f,
55071
+ p,
55073
55072
  v
55074
55073
  ]
55075
55074
  ],
@@ -55079,11 +55078,11 @@
55079
55078
  [
55080
55079
  d,
55081
55080
  [
55082
- p,
55081
+ f,
55083
55082
  $
55084
55083
  ],
55085
55084
  [
55086
- f,
55085
+ p,
55087
55086
  v
55088
55087
  ]
55089
55088
  ],
@@ -55093,11 +55092,11 @@
55093
55092
  [
55094
55093
  d,
55095
55094
  [
55096
- p,
55095
+ f,
55097
55096
  "Fairphone"
55098
55097
  ],
55099
55098
  [
55100
- f,
55099
+ p,
55101
55100
  b
55102
55101
  ]
55103
55102
  ],
@@ -55107,11 +55106,11 @@
55107
55106
  [
55108
55107
  d,
55109
55108
  [
55110
- p,
55109
+ f,
55111
55110
  "AT&T"
55112
55111
  ],
55113
55112
  [
55114
- f,
55113
+ p,
55115
55114
  b
55116
55115
  ]
55117
55116
  ],
@@ -55121,11 +55120,11 @@
55121
55120
  [
55122
55121
  d,
55123
55122
  [
55124
- p,
55123
+ f,
55125
55124
  "Siemens"
55126
55125
  ],
55127
55126
  [
55128
- f,
55127
+ p,
55129
55128
  b
55130
55129
  ]
55131
55130
  ],
@@ -55135,11 +55134,11 @@
55135
55134
  [
55136
55135
  d,
55137
55136
  [
55138
- p,
55137
+ f,
55139
55138
  "RCA"
55140
55139
  ],
55141
55140
  [
55142
- f,
55141
+ p,
55143
55142
  v
55144
55143
  ]
55145
55144
  ],
@@ -55149,11 +55148,11 @@
55149
55148
  [
55150
55149
  d,
55151
55150
  [
55152
- p,
55151
+ f,
55153
55152
  "Dell"
55154
55153
  ],
55155
55154
  [
55156
- f,
55155
+ p,
55157
55156
  v
55158
55157
  ]
55159
55158
  ],
@@ -55163,11 +55162,11 @@
55163
55162
  [
55164
55163
  d,
55165
55164
  [
55166
- p,
55165
+ f,
55167
55166
  "Verizon"
55168
55167
  ],
55169
55168
  [
55170
- f,
55169
+ p,
55171
55170
  v
55172
55171
  ]
55173
55172
  ],
@@ -55177,11 +55176,11 @@
55177
55176
  [
55178
55177
  d,
55179
55178
  [
55180
- p,
55179
+ f,
55181
55180
  "Barnes & Noble"
55182
55181
  ],
55183
55182
  [
55184
- f,
55183
+ p,
55185
55184
  v
55186
55185
  ]
55187
55186
  ],
@@ -55191,11 +55190,11 @@
55191
55190
  [
55192
55191
  d,
55193
55192
  [
55194
- p,
55193
+ f,
55195
55194
  "NuVision"
55196
55195
  ],
55197
55196
  [
55198
- f,
55197
+ p,
55199
55198
  v
55200
55199
  ]
55201
55200
  ],
@@ -55205,11 +55204,11 @@
55205
55204
  [
55206
55205
  d,
55207
55206
  [
55208
- p,
55207
+ f,
55209
55208
  "ZTE"
55210
55209
  ],
55211
55210
  [
55212
- f,
55211
+ p,
55213
55212
  v
55214
55213
  ]
55215
55214
  ],
@@ -55219,11 +55218,11 @@
55219
55218
  [
55220
55219
  d,
55221
55220
  [
55222
- p,
55221
+ f,
55223
55222
  "ZTE"
55224
55223
  ],
55225
55224
  [
55226
- f,
55225
+ p,
55227
55226
  b
55228
55227
  ]
55229
55228
  ],
@@ -55233,11 +55232,11 @@
55233
55232
  [
55234
55233
  d,
55235
55234
  [
55236
- p,
55235
+ f,
55237
55236
  "Swiss"
55238
55237
  ],
55239
55238
  [
55240
- f,
55239
+ p,
55241
55240
  b
55242
55241
  ]
55243
55242
  ],
@@ -55247,11 +55246,11 @@
55247
55246
  [
55248
55247
  d,
55249
55248
  [
55250
- p,
55249
+ f,
55251
55250
  "Swiss"
55252
55251
  ],
55253
55252
  [
55254
- f,
55253
+ p,
55255
55254
  v
55256
55255
  ]
55257
55256
  ],
@@ -55261,11 +55260,11 @@
55261
55260
  [
55262
55261
  d,
55263
55262
  [
55264
- p,
55263
+ f,
55265
55264
  "Zeki"
55266
55265
  ],
55267
55266
  [
55268
- f,
55267
+ p,
55269
55268
  v
55270
55269
  ]
55271
55270
  ],
@@ -55275,12 +55274,12 @@
55275
55274
  ],
55276
55275
  [
55277
55276
  [
55278
- p,
55277
+ f,
55279
55278
  "Dragon Touch"
55280
55279
  ],
55281
55280
  d,
55282
55281
  [
55283
- f,
55282
+ p,
55284
55283
  v
55285
55284
  ]
55286
55285
  ],
@@ -55290,11 +55289,11 @@
55290
55289
  [
55291
55290
  d,
55292
55291
  [
55293
- p,
55292
+ f,
55294
55293
  "Insignia"
55295
55294
  ],
55296
55295
  [
55297
- f,
55296
+ p,
55298
55297
  v
55299
55298
  ]
55300
55299
  ],
@@ -55304,11 +55303,11 @@
55304
55303
  [
55305
55304
  d,
55306
55305
  [
55307
- p,
55306
+ f,
55308
55307
  "NextBook"
55309
55308
  ],
55310
55309
  [
55311
- f,
55310
+ p,
55312
55311
  v
55313
55312
  ]
55314
55313
  ],
@@ -55317,12 +55316,12 @@
55317
55316
  ],
55318
55317
  [
55319
55318
  [
55320
- p,
55319
+ f,
55321
55320
  "Voice"
55322
55321
  ],
55323
55322
  d,
55324
55323
  [
55325
- f,
55324
+ p,
55326
55325
  b
55327
55326
  ]
55328
55327
  ],
@@ -55331,12 +55330,12 @@
55331
55330
  ],
55332
55331
  [
55333
55332
  [
55334
- p,
55333
+ f,
55335
55334
  "LvTel"
55336
55335
  ],
55337
55336
  d,
55338
55337
  [
55339
- f,
55338
+ p,
55340
55339
  b
55341
55340
  ]
55342
55341
  ],
@@ -55346,11 +55345,11 @@
55346
55345
  [
55347
55346
  d,
55348
55347
  [
55349
- p,
55348
+ f,
55350
55349
  "Essential"
55351
55350
  ],
55352
55351
  [
55353
- f,
55352
+ p,
55354
55353
  b
55355
55354
  ]
55356
55355
  ],
@@ -55360,11 +55359,11 @@
55360
55359
  [
55361
55360
  d,
55362
55361
  [
55363
- p,
55362
+ f,
55364
55363
  "Envizen"
55365
55364
  ],
55366
55365
  [
55367
- f,
55366
+ p,
55368
55367
  v
55369
55368
  ]
55370
55369
  ],
@@ -55374,11 +55373,11 @@
55374
55373
  [
55375
55374
  d,
55376
55375
  [
55377
- p,
55376
+ f,
55378
55377
  "MachSpeed"
55379
55378
  ],
55380
55379
  [
55381
- f,
55380
+ p,
55382
55381
  v
55383
55382
  ]
55384
55383
  ],
@@ -55388,11 +55387,11 @@
55388
55387
  [
55389
55388
  d,
55390
55389
  [
55391
- p,
55390
+ f,
55392
55391
  "Rotor"
55393
55392
  ],
55394
55393
  [
55395
- f,
55394
+ p,
55396
55395
  v
55397
55396
  ]
55398
55397
  ],
@@ -55402,11 +55401,11 @@
55402
55401
  [
55403
55402
  d,
55404
55403
  [
55405
- p,
55404
+ f,
55406
55405
  "Nvidia"
55407
55406
  ],
55408
55407
  [
55409
- f,
55408
+ p,
55410
55409
  v
55411
55410
  ]
55412
55411
  ],
@@ -55414,10 +55413,10 @@
55414
55413
  /(sprint) (\w+)/i
55415
55414
  ],
55416
55415
  [
55417
- p,
55416
+ f,
55418
55417
  d,
55419
55418
  [
55420
- f,
55419
+ p,
55421
55420
  b
55422
55421
  ]
55423
55422
  ],
@@ -55431,11 +55430,11 @@
55431
55430
  " "
55432
55431
  ],
55433
55432
  [
55434
- p,
55433
+ f,
55435
55434
  $
55436
55435
  ],
55437
55436
  [
55438
- f,
55437
+ p,
55439
55438
  b
55440
55439
  ]
55441
55440
  ],
@@ -55445,11 +55444,11 @@
55445
55444
  [
55446
55445
  d,
55447
55446
  [
55448
- p,
55447
+ f,
55449
55448
  L
55450
55449
  ],
55451
55450
  [
55452
- f,
55451
+ p,
55453
55452
  v
55454
55453
  ]
55455
55454
  ],
@@ -55459,11 +55458,11 @@
55459
55458
  [
55460
55459
  d,
55461
55460
  [
55462
- p,
55461
+ f,
55463
55462
  L
55464
55463
  ],
55465
55464
  [
55466
- f,
55465
+ p,
55467
55466
  b
55468
55467
  ]
55469
55468
  ],
@@ -55471,9 +55470,9 @@
55471
55470
  /smart-tv.+(samsung)/i
55472
55471
  ],
55473
55472
  [
55474
- p,
55473
+ f,
55475
55474
  [
55476
- f,
55475
+ p,
55477
55476
  w
55478
55477
  ]
55479
55478
  ],
@@ -55487,11 +55486,11 @@
55487
55486
  "SmartTV"
55488
55487
  ],
55489
55488
  [
55490
- p,
55489
+ f,
55491
55490
  O
55492
55491
  ],
55493
55492
  [
55494
- f,
55493
+ p,
55495
55494
  w
55496
55495
  ]
55497
55496
  ],
@@ -55500,11 +55499,11 @@
55500
55499
  ],
55501
55500
  [
55502
55501
  [
55503
- p,
55502
+ f,
55504
55503
  "LG"
55505
55504
  ],
55506
55505
  [
55507
- f,
55506
+ p,
55508
55507
  w
55509
55508
  ]
55510
55509
  ],
@@ -55512,13 +55511,13 @@
55512
55511
  /(apple) ?tv/i
55513
55512
  ],
55514
55513
  [
55515
- p,
55514
+ f,
55516
55515
  [
55517
55516
  d,
55518
55517
  B + " TV"
55519
55518
  ],
55520
55519
  [
55521
- f,
55520
+ p,
55522
55521
  w
55523
55522
  ]
55524
55523
  ],
@@ -55531,11 +55530,11 @@
55531
55530
  S + "cast"
55532
55531
  ],
55533
55532
  [
55534
- p,
55533
+ f,
55535
55534
  T
55536
55535
  ],
55537
55536
  [
55538
- f,
55537
+ p,
55539
55538
  w
55540
55539
  ]
55541
55540
  ],
@@ -55545,11 +55544,11 @@
55545
55544
  [
55546
55545
  d,
55547
55546
  [
55548
- p,
55547
+ f,
55549
55548
  C
55550
55549
  ],
55551
55550
  [
55552
- f,
55551
+ p,
55553
55552
  w
55554
55553
  ]
55555
55554
  ],
@@ -55560,11 +55559,11 @@
55560
55559
  [
55561
55560
  d,
55562
55561
  [
55563
- p,
55562
+ f,
55564
55563
  M
55565
55564
  ],
55566
55565
  [
55567
- f,
55566
+ p,
55568
55567
  w
55569
55568
  ]
55570
55569
  ],
@@ -55574,11 +55573,11 @@
55574
55573
  [
55575
55574
  d,
55576
55575
  [
55577
- p,
55576
+ f,
55578
55577
  A
55579
55578
  ],
55580
55579
  [
55581
- f,
55580
+ p,
55582
55581
  w
55583
55582
  ]
55584
55583
  ],
@@ -55588,11 +55587,11 @@
55588
55587
  [
55589
55588
  d,
55590
55589
  [
55591
- p,
55590
+ f,
55592
55591
  R
55593
55592
  ],
55594
55593
  [
55595
- f,
55594
+ p,
55596
55595
  w
55597
55596
  ]
55598
55597
  ],
@@ -55600,10 +55599,10 @@
55600
55599
  /Hbbtv.*(technisat) (.*);/i
55601
55600
  ],
55602
55601
  [
55603
- p,
55602
+ f,
55604
55603
  d,
55605
55604
  [
55606
- f,
55605
+ p,
55607
55606
  w
55608
55607
  ]
55609
55608
  ],
@@ -55613,7 +55612,7 @@
55613
55612
  ],
55614
55613
  [
55615
55614
  [
55616
- p,
55615
+ f,
55617
55616
  Q
55618
55617
  ],
55619
55618
  [
@@ -55621,7 +55620,7 @@
55621
55620
  Q
55622
55621
  ],
55623
55622
  [
55624
- f,
55623
+ p,
55625
55624
  w
55626
55625
  ]
55627
55626
  ],
@@ -55630,7 +55629,7 @@
55630
55629
  ],
55631
55630
  [
55632
55631
  [
55633
- f,
55632
+ p,
55634
55633
  w
55635
55634
  ]
55636
55635
  ],
@@ -55639,10 +55638,10 @@
55639
55638
  /(nintendo) ([wids3utch]+)/i
55640
55639
  ],
55641
55640
  [
55642
- p,
55641
+ f,
55643
55642
  d,
55644
55643
  [
55645
- f,
55644
+ p,
55646
55645
  g
55647
55646
  ]
55648
55647
  ],
@@ -55652,11 +55651,11 @@
55652
55651
  [
55653
55652
  d,
55654
55653
  [
55655
- p,
55654
+ f,
55656
55655
  "Nvidia"
55657
55656
  ],
55658
55657
  [
55659
- f,
55658
+ p,
55660
55659
  g
55661
55660
  ]
55662
55661
  ],
@@ -55666,11 +55665,11 @@
55666
55665
  [
55667
55666
  d,
55668
55667
  [
55669
- p,
55668
+ f,
55670
55669
  A
55671
55670
  ],
55672
55671
  [
55673
- f,
55672
+ p,
55674
55673
  g
55675
55674
  ]
55676
55675
  ],
@@ -55680,11 +55679,11 @@
55680
55679
  [
55681
55680
  d,
55682
55681
  [
55683
- p,
55682
+ f,
55684
55683
  $
55685
55684
  ],
55686
55685
  [
55687
- f,
55686
+ p,
55688
55687
  g
55689
55688
  ]
55690
55689
  ],
@@ -55692,10 +55691,10 @@
55692
55691
  /((pebble))app/i
55693
55692
  ],
55694
55693
  [
55695
- p,
55694
+ f,
55696
55695
  d,
55697
55696
  [
55698
- f,
55697
+ p,
55699
55698
  k
55700
55699
  ]
55701
55700
  ],
@@ -55705,11 +55704,11 @@
55705
55704
  [
55706
55705
  d,
55707
55706
  [
55708
- p,
55707
+ f,
55709
55708
  B
55710
55709
  ],
55711
55710
  [
55712
- f,
55711
+ p,
55713
55712
  k
55714
55713
  ]
55715
55714
  ],
@@ -55719,11 +55718,11 @@
55719
55718
  [
55720
55719
  d,
55721
55720
  [
55722
- p,
55721
+ f,
55723
55722
  T
55724
55723
  ],
55725
55724
  [
55726
- f,
55725
+ p,
55727
55726
  k
55728
55727
  ]
55729
55728
  ],
@@ -55733,11 +55732,11 @@
55733
55732
  [
55734
55733
  d,
55735
55734
  [
55736
- p,
55735
+ f,
55737
55736
  L
55738
55737
  ],
55739
55738
  [
55740
- f,
55739
+ p,
55741
55740
  k
55742
55741
  ]
55743
55742
  ],
@@ -55747,11 +55746,11 @@
55747
55746
  [
55748
55747
  d,
55749
55748
  [
55750
- p,
55749
+ f,
55751
55750
  F
55752
55751
  ],
55753
55752
  [
55754
- f,
55753
+ p,
55755
55754
  k
55756
55755
  ]
55757
55756
  ],
@@ -55759,9 +55758,9 @@
55759
55758
  /(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
55760
55759
  ],
55761
55760
  [
55762
- p,
55761
+ f,
55763
55762
  [
55764
- f,
55763
+ p,
55765
55764
  y
55766
55765
  ]
55767
55766
  ],
@@ -55771,11 +55770,11 @@
55771
55770
  [
55772
55771
  d,
55773
55772
  [
55774
- p,
55773
+ f,
55775
55774
  C
55776
55775
  ],
55777
55776
  [
55778
- f,
55777
+ p,
55779
55778
  y
55780
55779
  ]
55781
55780
  ],
@@ -55785,7 +55784,7 @@
55785
55784
  [
55786
55785
  d,
55787
55786
  [
55788
- f,
55787
+ p,
55789
55788
  b
55790
55789
  ]
55791
55790
  ],
@@ -55795,7 +55794,7 @@
55795
55794
  [
55796
55795
  d,
55797
55796
  [
55798
- f,
55797
+ p,
55799
55798
  v
55800
55799
  ]
55801
55800
  ],
@@ -55804,7 +55803,7 @@
55804
55803
  ],
55805
55804
  [
55806
55805
  [
55807
- f,
55806
+ p,
55808
55807
  v
55809
55808
  ]
55810
55809
  ],
@@ -55813,7 +55812,7 @@
55813
55812
  ],
55814
55813
  [
55815
55814
  [
55816
- f,
55815
+ p,
55817
55816
  b
55818
55817
  ]
55819
55818
  ],
@@ -55823,7 +55822,7 @@
55823
55822
  [
55824
55823
  d,
55825
55824
  [
55826
- p,
55825
+ f,
55827
55826
  "Generic"
55828
55827
  ]
55829
55828
  ]
@@ -56074,7 +56073,7 @@
56074
56073
  return t[m] = void 0, X.call(t, g, k.cpu), t;
56075
56074
  }, this.getDevice = function() {
56076
56075
  var t = {};
56077
- return t[p] = void 0, t[d] = void 0, t[f] = void 0, X.call(t, g, k.device), y && !t[f] && w && w.mobile && (t[f] = b), y && "Macintosh" == t[d] && n && typeof n.standalone !== a && n.maxTouchPoints && n.maxTouchPoints > 2 && (t[d] = "iPad", t[f] = v), t;
56076
+ 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;
56078
56077
  }, this.getEngine = function() {
56079
56078
  var t = {};
56080
56079
  return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
@@ -56104,8 +56103,8 @@
56104
56103
  m
56105
56104
  ]), K.DEVICE = W([
56106
56105
  d,
56107
- p,
56108
56106
  f,
56107
+ p,
56109
56108
  g,
56110
56109
  b,
56111
56110
  w,
@@ -56128,9 +56127,9 @@
56128
56127
  };
56129
56128
  }
56130
56129
  }("object" == typeof window ? window : nE), nS.exports;
56131
- }(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), f = function(t) {
56130
+ }(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), p = function(t) {
56132
56131
  return i.setUA(t);
56133
- }, p = function(t) {
56132
+ }, f = function(t) {
56134
56133
  if (!t) return void console.error("No userAgent string was provided");
56135
56134
  var r = new n(t);
56136
56135
  return {
@@ -56153,8 +56152,8 @@
56153
56152
  engine: l,
56154
56153
  os: d,
56155
56154
  ua: u,
56156
- setUa: f,
56157
- parseUserAgent: p
56155
+ setUa: p,
56156
+ parseUserAgent: f
56158
56157
  });
56159
56158
  function m(t, r) {
56160
56159
  var o = Object.keys(t);
@@ -56373,9 +56372,9 @@
56373
56372
  }, eu = function(t) {
56374
56373
  var r = t.name;
56375
56374
  return r === $.InternetExplorer || r === $.Ie;
56376
- }, ef = function(t) {
56377
- return t.name === $.MIUI;
56378
56375
  }, ep = function(t) {
56376
+ return t.name === $.MIUI;
56377
+ }, ef = function(t) {
56379
56378
  return t.name === $.SamsungBrowser;
56380
56379
  }, eh = function(t) {
56381
56380
  return M(t.version);
@@ -56448,13 +56447,13 @@
56448
56447
  isLegacyEdge: ea(n) && !ek(s),
56449
56448
  isWindows: K(i),
56450
56449
  isMacOs: Y(i),
56451
- isMIUI: ef(n),
56452
- isSamsungBrowser: ep(n)
56450
+ isMIUI: ep(n),
56451
+ isSamsungBrowser: ef(n)
56453
56452
  };
56454
56453
  }
56455
- 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 = ef(a), ti = ep(a);
56454
+ 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);
56456
56455
  function ta(t) {
56457
- return p(t || window.navigator.userAgent);
56456
+ return f(t || window.navigator.userAgent);
56458
56457
  }
56459
56458
  return nP.AndroidView = function(r) {
56460
56459
  var n = r.renderWithFragment, i = r.children, a = y(r, [
@@ -56538,7 +56537,7 @@
56538
56537
  ]);
56539
56538
  return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
56540
56539
  }, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
56541
- var r, o, n, i, a, s, c, l, d, u, f, m, g, b, v, w, k, y, C, B, _, x, P = t ? p(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;
56540
+ 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;
56542
56541
  if (I) {
56543
56542
  return r = I, o = E, n = T, i = D, a = $, {
56544
56543
  isBrowser: r,
@@ -56563,10 +56562,10 @@
56563
56562
  };
56564
56563
  }
56565
56564
  if (N) {
56566
- return u = N, f = T, m = D, g = $, {
56565
+ return u = N, p = T, m = D, g = $, {
56567
56566
  isConsole: u,
56568
- engineName: M(f.name),
56569
- engineVersion: M(f.version),
56567
+ engineName: M(p.name),
56568
+ engineVersion: M(p.version),
56570
56569
  osName: M(m.name),
56571
56570
  osVersion: M(m.version),
56572
56571
  userAgent: M(g)
@@ -56597,7 +56596,7 @@
56597
56596
  }
56598
56597
  }, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
56599
56598
  if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
56600
- var r = p(t);
56599
+ var r = f(t);
56601
56600
  return eP({
56602
56601
  device: r.device,
56603
56602
  browser: r.browser,
@@ -56605,8 +56604,8 @@
56605
56604
  engine: r.engine,
56606
56605
  ua: r.ua
56607
56606
  });
56608
- }, 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 = p, nP.setUserAgent = function(t) {
56609
- return f(t);
56607
+ }, 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) {
56608
+ return p(t);
56610
56609
  }, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
56611
56610
  var r = ta(t || window.navigator.userAgent);
56612
56611
  return [
@@ -56812,7 +56811,7 @@
56812
56811
  var nM = oX(function() {
56813
56812
  if (tW) return tV;
56814
56813
  tW = 1;
56815
- 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, f = Math.min, p = function() {
56814
+ 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() {
56816
56815
  return l.Date.now();
56817
56816
  };
56818
56817
  function h(t) {
@@ -56828,8 +56827,8 @@
56828
56827
  }
56829
56828
  if ("string" != typeof s) return 0 === s ? s : +s;
56830
56829
  s = s.replace(r, "");
56831
- var f = n.test(s);
56832
- return f || i.test(s) ? a(s.slice(2), f ? 2 : 8) : o.test(s) ? t : +s;
56830
+ var p = n.test(s);
56831
+ return p || i.test(s) ? a(s.slice(2), p ? 2 : 8) : o.test(s) ? t : +s;
56833
56832
  }
56834
56833
  return tV = function(t, r, o) {
56835
56834
  var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
@@ -56844,15 +56843,15 @@
56844
56843
  return void 0 === l || o >= r || o < 0 || b && n >= a;
56845
56844
  }
56846
56845
  function y() {
56847
- var t, o, n, i, s = p();
56846
+ var t, o, n, i, s = f();
56848
56847
  if (k(s)) return C(s);
56849
- c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? f(i, a - n) : i));
56848
+ c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? p(i, a - n) : i));
56850
56849
  }
56851
56850
  function C(t) {
56852
56851
  return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
56853
56852
  }
56854
56853
  function B() {
56855
- var t, o = p(), a = k(o);
56854
+ var t, o = f(), a = k(o);
56856
56855
  if (n = arguments, i = this, l = o, a) {
56857
56856
  if (void 0 === c) {
56858
56857
  return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
@@ -56864,7 +56863,7 @@
56864
56863
  return B.cancel = function() {
56865
56864
  void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
56866
56865
  }, B.flush = function() {
56867
- return void 0 === c ? s : C(p());
56866
+ return void 0 === c ? s : C(f());
56868
56867
  }, B;
56869
56868
  };
56870
56869
  }()), nA = {
@@ -56875,11 +56874,11 @@
56875
56874
  var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
56876
56875
  if (tU) return nR;
56877
56876
  tU = 1;
56878
- 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, f = t ? Symbol.for("react.suspense") : 60113, p = 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;
56877
+ 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;
56879
56878
  function k(t) {
56880
56879
  if ("object" == typeof t && null !== t) {
56881
- var p = t.$$typeof;
56882
- switch(p){
56880
+ var f = t.$$typeof;
56881
+ switch(f){
56883
56882
  case r:
56884
56883
  switch(t = t.type){
56885
56884
  case l:
@@ -56887,7 +56886,7 @@
56887
56886
  case n:
56888
56887
  case a:
56889
56888
  case i:
56890
- case f:
56889
+ case p:
56891
56890
  return t;
56892
56891
  default:
56893
56892
  switch(t = t && t.$$typeof){
@@ -56898,18 +56897,18 @@
56898
56897
  case s:
56899
56898
  return t;
56900
56899
  default:
56901
- return p;
56900
+ return f;
56902
56901
  }
56903
56902
  }
56904
56903
  case o:
56905
- return p;
56904
+ return f;
56906
56905
  }
56907
56906
  }
56908
56907
  }
56909
56908
  function y(t) {
56910
56909
  return k(t) === d;
56911
56910
  }
56912
- 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 = f, nR.isAsyncMode = function(t) {
56911
+ 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) {
56913
56912
  return y(t) || k(t) === l;
56914
56913
  }, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
56915
56914
  return k(t) === c;
@@ -56932,9 +56931,9 @@
56932
56931
  }, nR.isStrictMode = function(t) {
56933
56932
  return k(t) === i;
56934
56933
  }, nR.isSuspense = function(t) {
56935
- return k(t) === f;
56934
+ return k(t) === p;
56936
56935
  }, nR.isValidElementType = function(t) {
56937
- return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t === f || t === p || "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);
56936
+ 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);
56938
56937
  }, nR.typeOf = k, nR;
56939
56938
  }(), nA.exports), r = {
56940
56939
  childContextTypes: !0,
@@ -56974,12 +56973,12 @@
56974
56973
  displayName: !0,
56975
56974
  propTypes: !0
56976
56975
  }, i[t.Memo] = n;
56977
- var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
56976
+ var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, p = Object.prototype;
56978
56977
  return tQ = function t(r, n, i) {
56979
56978
  if ("string" != typeof n) {
56980
- if (f) {
56981
- var p = u(n);
56982
- p && p !== f && t(r, p, i);
56979
+ if (p) {
56980
+ var f = u(n);
56981
+ f && f !== p && t(r, f, i);
56983
56982
  }
56984
56983
  var h = c(n);
56985
56984
  l && (h = h.concat(l(n)));
@@ -57136,7 +57135,7 @@
57136
57135
  else console.warn("Flashlight is not supported or not initialized.");
57137
57136
  }, [
57138
57137
  c
57139
- ]), f = reactExports.useCallback(async ()=>{
57138
+ ]), p = reactExports.useCallback(async ()=>{
57140
57139
  if (c && c.isSupported()) try {
57141
57140
  await c.turnOff(), d.current = !1;
57142
57141
  } catch (t) {
@@ -57144,15 +57143,15 @@
57144
57143
  }
57145
57144
  }, [
57146
57145
  c
57147
- ]), p = React.useMemo(()=>({
57146
+ ]), f = React.useMemo(()=>({
57148
57147
  turnOnFlashlight: u,
57149
- turnOffFlashlight: f
57148
+ turnOffFlashlight: p
57150
57149
  }), [
57151
57150
  u,
57152
- f
57151
+ p
57153
57152
  ]);
57154
57153
  return oZ.jsx(nU.Provider, {
57155
- value: p,
57154
+ value: f,
57156
57155
  children: s
57157
57156
  });
57158
57157
  }, { Errors: nQ } = ra$1, nX = dt$1.div`
@@ -57198,7 +57197,7 @@
57198
57197
  `;
57199
57198
  function nJ(r) {
57200
57199
  var s, c;
57201
- let l, { checkCameraMode: d, frontCamera: u, onClose: f, children: p, 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)=>{
57200
+ 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)=>{
57202
57201
  B && B(t);
57203
57202
  }, [
57204
57203
  B
@@ -57274,8 +57273,8 @@
57274
57273
  },
57275
57274
  ...o
57276
57275
  }
57277
- }, f = await navigator.mediaDevices.getUserMedia(n);
57278
- if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
57276
+ }, p = await navigator.mediaDevices.getUserMedia(n);
57277
+ if (await U(), q(), !p) return O(z("not_supported")), V(nQ.not_supported), null;
57279
57278
  a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
57280
57279
  tag: "cam_permission",
57281
57280
  event: "user_activity.cam",
@@ -57288,13 +57287,13 @@
57288
57287
  log: {}
57289
57288
  });
57290
57289
  try {
57291
- let t = f.getVideoTracks()[0].getSettings();
57292
- 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 f.getVideoTracks()[0].getCapabilities) {
57293
- let t = f.getVideoTracks()[0].getCapabilities();
57290
+ let t = p.getVideoTracks()[0].getSettings();
57291
+ 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) {
57292
+ let t = p.getVideoTracks()[0].getCapabilities();
57294
57293
  h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
57295
57294
  }
57296
57295
  } catch (t) {}
57297
- return f;
57296
+ return p;
57298
57297
  } catch (t) {
57299
57298
  a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
57300
57299
  tag: "cam_permission",
@@ -57405,13 +57404,13 @@
57405
57404
  z
57406
57405
  ]);
57407
57406
  let H = reactExports.useCallback(()=>{
57408
- W(), f && f(), $({
57407
+ W(), p && p(), $({
57409
57408
  tag: "result",
57410
57409
  event: "user_activity.cancel",
57411
57410
  log: {}
57412
57411
  });
57413
57412
  }, [
57414
- f,
57413
+ p,
57415
57414
  W,
57416
57415
  $
57417
57416
  ]);
@@ -57474,7 +57473,7 @@
57474
57473
  className: x,
57475
57474
  scale: P
57476
57475
  }),
57477
- p,
57476
+ f,
57478
57477
  _ ? /*#__PURE__*/ React.cloneElement(_, {
57479
57478
  onClick: H,
57480
57479
  "data-testid": "close-camera"
@@ -57674,32 +57673,32 @@
57674
57673
  "left center",
57675
57674
  "left bottom"
57676
57675
  ], io = function(t, r, o, n, i) {
57677
- 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, f = r.height, p = r.width, h = d - f / 2, m = u - p / 2, g = "", b = "0%", v = "0%";
57676
+ 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%";
57678
57677
  switch(l[0]){
57679
57678
  case "top":
57680
- h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
57679
+ h -= p / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
57681
57680
  break;
57682
57681
  case "bottom":
57683
- h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
57682
+ h += p / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
57684
57683
  break;
57685
57684
  case "left":
57686
- m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
57685
+ m -= f / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
57687
57686
  break;
57688
57687
  case "right":
57689
- m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
57688
+ m += f / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
57690
57689
  }
57691
57690
  switch(l[1]){
57692
57691
  case "top":
57693
57692
  h = t.top, b = t.height / 2 + "px";
57694
57693
  break;
57695
57694
  case "bottom":
57696
- h = t.top - f + t.height, b = f - t.height / 2 + "px";
57695
+ h = t.top - p + t.height, b = p - t.height / 2 + "px";
57697
57696
  break;
57698
57697
  case "left":
57699
57698
  m = t.left, v = t.width / 2 + "px";
57700
57699
  break;
57701
57700
  case "right":
57702
- m = t.left - p + t.width, v = p - t.width / 2 + "px";
57701
+ m = t.left - f + t.width, v = f - t.width / 2 + "px";
57703
57702
  }
57704
57703
  return h = "top" === l[0] ? h - s : h + s, {
57705
57704
  top: h,
@@ -57727,12 +57726,12 @@
57727
57726
  left: 0,
57728
57727
  top: 0,
57729
57728
  transform: "rotate(135deg)"
57730
- }, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
57729
+ }, d = 0, u = ii(a), p = Array.isArray(o) ? o : [
57731
57730
  o
57732
57731
  ];
57733
- for((a || Array.isArray(o)) && (f = [].concat(f, ir)); d < f.length;){
57734
- var p = {
57735
- top: (l = io(t, r, f[d], n, {
57732
+ for((a || Array.isArray(o)) && (p = [].concat(p, ir)); d < p.length;){
57733
+ var f = {
57734
+ top: (l = io(t, r, p[d], n, {
57736
57735
  offsetX: s,
57737
57736
  offsetY: c
57738
57737
  })).top,
@@ -57740,7 +57739,7 @@
57740
57739
  width: r.width,
57741
57740
  height: r.height
57742
57741
  };
57743
- if (p.top <= u.top || p.left <= u.left || p.top + p.height >= u.top + u.height || p.left + p.width >= u.left + u.width) d++;
57742
+ 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++;
57744
57743
  else break;
57745
57744
  }
57746
57745
  return l;
@@ -57748,7 +57747,7 @@
57748
57747
  var t = document.getElementById("popup-root");
57749
57748
  return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
57750
57749
  }, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
57751
- var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l, f = r.onClose, p = void 0 === f ? function() {} : f, 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 ? [
57750
+ 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 ? [
57752
57751
  "click"
57753
57752
  ] : 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);
57754
57753
  n7(function() {
@@ -57770,16 +57769,16 @@
57770
57769
  }, eu = function(t) {
57771
57770
  var r;
57772
57771
  et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
57773
- return p(t);
57772
+ return f(t);
57774
57773
  }, 0));
57775
- }, ef = function(t) {
57776
- null == t || t.stopPropagation(), et ? eu(t) : ed(t);
57777
57774
  }, ep = function(t) {
57775
+ null == t || t.stopPropagation(), et ? eu(t) : ed(t);
57776
+ }, ef = function(t) {
57778
57777
  clearTimeout(el.current), el.current = setTimeout(function() {
57779
57778
  return ed(t);
57780
57779
  }, X);
57781
57780
  }, eh = function(t) {
57782
- null == t || t.preventDefault(), ef();
57781
+ null == t || t.preventDefault(), ep();
57783
57782
  }, em = function(t) {
57784
57783
  clearTimeout(el.current), el.current = setTimeout(function() {
57785
57784
  return eu(t);
@@ -57801,7 +57800,7 @@
57801
57800
  eu();
57802
57801
  },
57803
57802
  toggle: function() {
57804
- ef();
57803
+ ep();
57805
57804
  }
57806
57805
  };
57807
57806
  });
@@ -57835,7 +57834,7 @@
57835
57834
  t.stopPropagation();
57836
57835
  }
57837
57836
  };
57838
- return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
57837
+ return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ef, r.onMouseLeave = em), r;
57839
57838
  }, ey = function() {
57840
57839
  return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
57841
57840
  key: "C",
@@ -57882,16 +57881,16 @@
57882
57881
  P
57883
57882
  ], n = 0, i = o.length; n < i; n++)switch(o[n]){
57884
57883
  case "click":
57885
- r.onClick = ef;
57884
+ r.onClick = ep;
57886
57885
  break;
57887
57886
  case "right-click":
57888
57887
  r.onContextMenu = eh;
57889
57888
  break;
57890
57889
  case "hover":
57891
- r.onMouseEnter = ep, r.onMouseLeave = em;
57890
+ r.onMouseEnter = ef, r.onMouseLeave = em;
57892
57891
  break;
57893
57892
  case "focus":
57894
- r.onFocus = ep, r.onBlur = em;
57893
+ r.onFocus = ef, r.onBlur = em;
57895
57894
  }
57896
57895
  if ("function" == typeof c) {
57897
57896
  var a = c(et);
@@ -58157,8 +58156,8 @@
58157
58156
  }
58158
58157
  }
58159
58158
  }, im = "default", ig = "error";
58160
- function ib({ className: t, width: r, height: o, type: n, strokeStyles: i, strokeWidth: a, radius: s, paddingStyle: c, defaultRectStyles: l, errorRectStyles: d }) {
58161
- let u = reactExports.useMemo(()=>({
58159
+ 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 }) {
58160
+ let f = reactExports.useMemo(()=>({
58162
58161
  [im]: l,
58163
58162
  [ig]: d,
58164
58163
  ...i
@@ -58166,7 +58165,7 @@
58166
58165
  l,
58167
58166
  d,
58168
58167
  i
58169
- ]), p = s + 1.5 * a, h = u[n];
58168
+ ]), h = s + a * u, m = f[n];
58170
58169
  return oZ.jsxs("svg", {
58171
58170
  width: r,
58172
58171
  height: o,
@@ -58179,22 +58178,22 @@
58179
58178
  ry: s,
58180
58179
  width: r - a,
58181
58180
  height: o - a,
58182
- style: h
58181
+ style: m
58183
58182
  }),
58184
58183
  oZ.jsx("path", {
58185
- d: `M0,${p} Q0,0 ${p},0 L0,0 Z`,
58184
+ d: `M0,${h} Q0,0 ${h},0 L0,0 Z`,
58186
58185
  style: c
58187
58186
  }),
58188
58187
  oZ.jsx("path", {
58189
- d: `M0,${o - p} Q0,${o} ${p},${o} L0,${o} Z`,
58188
+ d: `M0,${o - h} Q0,${o} ${h},${o} L0,${o} Z`,
58190
58189
  style: c
58191
58190
  }),
58192
58191
  oZ.jsx("path", {
58193
- d: `M${r - p},${o} Q${r},${o} ${r},${o - p} L${r},${o} Z`,
58192
+ d: `M${r - h},${o} Q${r},${o} ${r},${o - h} L${r},${o} Z`,
58194
58193
  style: c
58195
58194
  }),
58196
58195
  oZ.jsx("path", {
58197
- d: `M${r - p},0 Q${r},0 ${r},${p} L${r},0 Z`,
58196
+ d: `M${r - h},0 Q${r},0 ${r},${h} L${r},0 Z`,
58198
58197
  style: c
58199
58198
  })
58200
58199
  ]
@@ -58213,7 +58212,8 @@
58213
58212
  radius: PropTypes.number,
58214
58213
  paddingStyle: PropTypes.shape({}),
58215
58214
  defaultRectStyles: PropTypes.shape({}),
58216
- errorRectStyles: PropTypes.shape({})
58215
+ errorRectStyles: PropTypes.shape({}),
58216
+ paddingCornerMultiplier: PropTypes.number
58217
58217
  }, ib.defaultProps = {
58218
58218
  className: "",
58219
58219
  width: ih.IDCapturing.rectangleMask.width,
@@ -58224,7 +58224,8 @@
58224
58224
  radius: ih.IDCapturing.rectangleMask.radius,
58225
58225
  paddingStyle: ih.IDCapturing.rectangleMask.paddingStyle,
58226
58226
  defaultRectStyles: ih.IDCapturing.rectangleMask.default,
58227
- errorRectStyles: ih.IDCapturing.rectangleMask.error
58227
+ errorRectStyles: ih.IDCapturing.rectangleMask.error,
58228
+ paddingCornerMultiplier: 1.5
58228
58229
  };
58229
58230
  let iv = mt$1`
58230
58231
  from {
@@ -58383,8 +58384,8 @@
58383
58384
  if (o && !a || !o && !s) return null;
58384
58385
  let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
58385
58386
  d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
58386
- let f = d.getContext("2d"), p = u.getContext("2d");
58387
- f.drawImage(r, 0, 0, c / 2, l, 0, 0, c / 2, l), p.drawImage(r, c / 2, 0, c / 2, l, 0, 0, c / 2, l);
58387
+ let p = d.getContext("2d"), f = u.getContext("2d");
58388
+ 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);
58388
58389
  let [h, m] = await Promise.all([
58389
58390
  fb.getModelPredictions({
58390
58391
  model: t,
@@ -58425,13 +58426,13 @@
58425
58426
  return i;
58426
58427
  }, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
58427
58428
  if (null === t) return !0;
58428
- let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, f = r?.small, p = r?.large;
58429
- return (!c || !(f < s) && !(p < a)) && (Math.abs(f - d) > Number.EPSILON ? f > d : Math.abs(p - u) > Number.EPSILON ? p > u : !!(l && Math.abs(n - o) > Number.EPSILON) && n > o);
58429
+ let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, p = r?.small, f = r?.large;
58430
+ 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);
58430
58431
  };
58431
58432
  function iW(t, r, o, n, i) {
58432
58433
  o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
58433
- let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n, f = (c + i.y) * n;
58434
- o.strokeRect(l, d, u - l, f - d);
58434
+ 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;
58435
+ o.strokeRect(l, d, u - l, p - d);
58435
58436
  }));
58436
58437
  }
58437
58438
  function iU(t) {
@@ -59237,14 +59238,14 @@
59237
59238
  _drawToCanvas(t, r, o, n, i, a) {
59238
59239
  if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
59239
59240
  this._lastFrameTime = 0;
59240
- let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
59241
+ let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, p = (i)=>{
59241
59242
  if (this._stopDrawing) {
59242
59243
  this._animationFrameId = null;
59243
59244
  return;
59244
59245
  }
59245
- i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
59246
+ i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(p);
59246
59247
  };
59247
- this._animationFrameId = requestAnimationFrame(f);
59248
+ this._animationFrameId = requestAnimationFrame(p);
59248
59249
  }
59249
59250
  stopDrawing() {
59250
59251
  this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
@@ -59254,10 +59255,10 @@
59254
59255
  this.clearVideoChunks(), this._stopDrawing = !1;
59255
59256
  let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
59256
59257
  aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
59257
- let f = document.createElement("canvas");
59258
- f.width = n, f.height = i;
59259
- let p = f.getContext("2d");
59260
- if (!p) return console.error("Could not get canvas context."), {
59258
+ let p = document.createElement("canvas");
59259
+ p.width = n, p.height = i;
59260
+ let f = p.getContext("2d");
59261
+ if (!f) return console.error("Could not get canvas context."), {
59261
59262
  mediaRecorder: null
59262
59263
  };
59263
59264
  try {
@@ -59265,7 +59266,7 @@
59265
59266
  mimeType: "video/webm",
59266
59267
  videoBitsPerSecond: c
59267
59268
  }, i = nT.isIOS ? "video/mp4" : "video/webm";
59268
- if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(p, t, n, n / u, d, r), this._stream = f.captureStream(), o = {
59269
+ 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 = {
59269
59270
  mimeType: i,
59270
59271
  videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
59271
59272
  }), !this._stream) throw Error("Failed to create a media stream for recording.");
@@ -59320,7 +59321,7 @@
59320
59321
  }
59321
59322
  }, [
59322
59323
  i
59323
- ]), p = reactExports.useCallback(()=>{
59324
+ ]), f = reactExports.useCallback(()=>{
59324
59325
  if (s.current && r.current) try {
59325
59326
  s.current.discardRecording(), r.current = !1;
59326
59327
  } catch (t) {
@@ -59329,19 +59330,19 @@
59329
59330
  }, []);
59330
59331
  return reactExports.useEffect(()=>{
59331
59332
  let t = ()=>{
59332
- "hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
59333
+ "hidden" === document.visibilityState ? f() : "visible" === document.visibilityState && c.current && l(c.current);
59333
59334
  };
59334
59335
  return document.addEventListener("visibilitychange", t), ()=>{
59335
59336
  document.removeEventListener("visibilitychange", t);
59336
59337
  };
59337
59338
  }, [
59338
59339
  l,
59339
- p
59340
+ f
59340
59341
  ]), {
59341
59342
  startRecording: l,
59342
59343
  stopRecording: d,
59343
59344
  resetRecording: u,
59344
- discardRecording: p
59345
+ discardRecording: f
59345
59346
  };
59346
59347
  }, { Errors: a$ } = ra$1, aj = ()=>({
59347
59348
  imageBlob: null,
@@ -59554,22 +59555,22 @@
59554
59555
  });
59555
59556
  }
59556
59557
  let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
59557
- let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: p, 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")({
59558
+ 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")({
59558
59559
  theme: T
59559
- }), 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(()=>{}), ef = reactExports.useCallback((t)=>{
59560
+ }), 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)=>{
59560
59561
  null === t ? er("") : er(Y(t?.code, {
59561
59562
  side: k ? Y("front") : Y("back")
59562
59563
  }));
59563
59564
  }, [
59564
59565
  Y,
59565
59566
  k
59566
- ]), ep = reactExports.useCallback(()=>{
59567
+ ]), ef = reactExports.useCallback(()=>{
59567
59568
  ee(""), eu.current();
59568
59569
  }, []), eh = reactExports.useCallback((...t)=>{
59569
59570
  ee(""), B(...t);
59570
59571
  }, [
59571
59572
  B
59572
- ]), { 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: p, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: C, quality: B })=>{
59573
+ ]), { 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 })=>{
59573
59574
  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(()=>{
59574
59575
  Q((t)=>!t);
59575
59576
  }, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
@@ -59610,30 +59611,30 @@
59610
59611
  l.blurLargeThresholdAuto,
59611
59612
  l.blurLargeThresholdManual,
59612
59613
  l.enableAutoCapture
59613
- ]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState: ef, resetRecordVideo: ep } = function({ isAutoCapture: t, blurSmallThreshold: r, blurLargeThreshold: s, refVideo: l, shouldStart: d, cropArea: u, settings: p, onError: m, frontSide: g, onAutoCaptureSuccess: b, quality: k, debug: y }) {
59614
+ ]), { 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 }) {
59614
59615
  let C = reactExports.useRef(null);
59615
59616
  null === C.current && (C.current = document.createElement("canvas"));
59616
- 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 } = p, K = reactExports.useRef(null), [Y, J] = reactExports.useState(!1), ee = reactExports.useRef(!1), et = reactExports.useMemo(()=>({
59617
- videoFrameWidth: p.recordVideoFrameWidth,
59618
- videoFrameHeight: p.recordVideoFrameHeight,
59619
- videoBitrate: p.recordVideoBitrate,
59620
- fps: p.recordVideoFps
59617
+ 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(()=>({
59618
+ videoFrameWidth: f.recordVideoFrameWidth,
59619
+ videoFrameHeight: f.recordVideoFrameHeight,
59620
+ videoBitrate: f.recordVideoBitrate,
59621
+ fps: f.recordVideoFps
59621
59622
  }), [
59622
- p.recordVideoBitrate,
59623
- p.recordVideoFps,
59624
- p.recordVideoFrameHeight,
59625
- p.recordVideoFrameWidth
59623
+ f.recordVideoBitrate,
59624
+ f.recordVideoFps,
59625
+ f.recordVideoFrameHeight,
59626
+ f.recordVideoFrameWidth
59626
59627
  ]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
59627
- shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
59628
+ shouldRecord: reactExports.useMemo(()=>g ? f.enableRecordCapturingFront : f.enableRecordCapturingBack, [
59628
59629
  g,
59629
- p.enableRecordCapturingBack,
59630
- p.enableRecordCapturingFront
59630
+ f.enableRecordCapturingBack,
59631
+ f.enableRecordCapturingFront
59631
59632
  ])
59632
59633
  }), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
59633
- shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
59634
+ shouldRecord: reactExports.useMemo(()=>g ? f.enableRecordFullSessionFront : f.enableRecordFullSessionBack, [
59634
59635
  g,
59635
- p.enableRecordFullSessionBack,
59636
- p.enableRecordFullSessionFront
59636
+ f.enableRecordFullSessionBack,
59637
+ f.enableRecordFullSessionFront
59637
59638
  ])
59638
59639
  }), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
59639
59640
  let t = reactExports.useContext(nU);
@@ -59647,8 +59648,8 @@
59647
59648
  ]), reactExports.useEffect(()=>{
59648
59649
  let t = !1;
59649
59650
  return async function r() {
59650
- if (p && !I) {
59651
- if (p.enableIdDetection) {
59651
+ if (f && !I) {
59652
+ if (f.enableIdDetection) {
59652
59653
  let t = ((t, r)=>{
59653
59654
  if (0 === t.length) return {
59654
59655
  isValid: !1
@@ -59669,7 +59670,7 @@
59669
59670
  } : {
59670
59671
  isValid: !1
59671
59672
  };
59672
- })(Z.map((t)=>t.code), p?.cardTypeModelMapping);
59673
+ })(Z.map((t)=>t.code), f?.cardTypeModelMapping);
59673
59674
  if (!t.isValid) {
59674
59675
  U(a$.invalid_card_type_config), Q(!1), O(!0);
59675
59676
  return;
@@ -59678,7 +59679,7 @@
59678
59679
  V.current = await a_({
59679
59680
  ...W,
59680
59681
  idCardModelUrl: r
59681
- }, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
59682
+ }, t.cardModel), await fY.initTensorFlow(), N.current = f.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
59682
59683
  } else Q(!1), N.current = !1;
59683
59684
  t || O(!0);
59684
59685
  }
@@ -59687,7 +59688,7 @@
59687
59688
  };
59688
59689
  }, [
59689
59690
  I,
59690
- p,
59691
+ f,
59691
59692
  W,
59692
59693
  Z,
59693
59694
  U
@@ -59704,13 +59705,13 @@
59704
59705
  });
59705
59706
  }, [
59706
59707
  k
59707
- ]), ef = reactExports.useCallback(()=>{
59708
+ ]), ep = reactExports.useCallback(()=>{
59708
59709
  Y || (en(), es());
59709
59710
  }, [
59710
59711
  Y,
59711
59712
  en,
59712
59713
  es
59713
- ]), ep = reactExports.useCallback(async ()=>{
59714
+ ]), ef = reactExports.useCallback(async ()=>{
59714
59715
  let t = {
59715
59716
  capturingVideo: {
59716
59717
  blob: null
@@ -59725,18 +59726,18 @@
59725
59726
  }, [
59726
59727
  eo,
59727
59728
  ea
59728
- ]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
59729
+ ]), eh = reactExports.useMemo(()=>g ? f.enableFlashlightFront : f.enableFlashlightBack, [
59729
59730
  g,
59730
- p.enableFlashlightBack,
59731
- p.enableFlashlightFront
59732
- ]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
59731
+ f.enableFlashlightBack,
59732
+ f.enableFlashlightFront
59733
+ ]), em = reactExports.useMemo(()=>g ? f.flashlightActivationDelayFront : f.flashlightActivationDelayBack, [
59733
59734
  g,
59734
- p.flashlightActivationDelayBack,
59735
- p.flashlightActivationDelayFront
59736
- ]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
59735
+ f.flashlightActivationDelayBack,
59736
+ f.flashlightActivationDelayFront
59737
+ ]), eg = reactExports.useMemo(()=>g ? f.flashlightDurationFront : f.flashlightDurationBack, [
59737
59738
  g,
59738
- p.flashlightDurationBack,
59739
- p.flashlightDurationFront
59739
+ f.flashlightDurationBack,
59740
+ f.flashlightDurationFront
59740
59741
  ]), eb = reactExports.useCallback(()=>{
59741
59742
  !ed.current && eh && (ed.current = !0, setTimeout(()=>{
59742
59743
  ec(eg);
@@ -59753,9 +59754,9 @@
59753
59754
  ]), ew = reactExports.useCallback(()=>{
59754
59755
  !0 === T.current && (T.current = !1);
59755
59756
  }, []), ek = reactExports.useCallback(()=>{
59756
- ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
59757
+ ep(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
59757
59758
  }, [
59758
- ef
59759
+ ep
59759
59760
  ]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
59760
59761
  await er({
59761
59762
  videoEl: l.current,
@@ -59768,7 +59769,7 @@
59768
59769
  incomingFrameBlurScore: t,
59769
59770
  currentFrameGlareScore: i.glareScore,
59770
59771
  incomingFrameGlareScore: n,
59771
- settings: p,
59772
+ settings: f,
59772
59773
  blurLargeThreshold: s,
59773
59774
  blurSmallThreshold: r
59774
59775
  })) {
@@ -59786,25 +59787,25 @@
59786
59787
  }
59787
59788
  i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
59788
59789
  }
59789
- p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
59790
+ f.enableBlurCheck && X.current.push(t), f.enableGlareCheck && H.current.push(n);
59790
59791
  }, [
59791
59792
  er,
59792
59793
  l,
59793
59794
  et,
59794
59795
  eb,
59795
- p,
59796
+ f,
59796
59797
  s,
59797
59798
  r,
59798
59799
  k
59799
59800
  ]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
59800
59801
  F.current = !0;
59801
59802
  let i = A.current;
59802
- if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
59803
+ if (f.enableBlurCheck && X.current.push(t), f.enableGlareCheck && H.current.push(n), iV({
59803
59804
  currentFrameBlurScore: i.blurScore,
59804
59805
  currentFrameGlareScore: i.glareScore,
59805
59806
  incomingFrameBlurScore: t,
59806
59807
  incomingFrameGlareScore: n,
59807
- settings: p,
59808
+ settings: f,
59808
59809
  blurLargeThreshold: s,
59809
59810
  blurSmallThreshold: r
59810
59811
  })) {
@@ -59823,19 +59824,19 @@
59823
59824
  s,
59824
59825
  r,
59825
59826
  k,
59826
- p
59827
+ f
59827
59828
  ]), eB = reactExports.useCallback(async ()=>{
59828
- let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
59829
+ let { autoCaptureWaitForBestImageTimeMs: t } = f, r = M.current;
59829
59830
  if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
59830
- let t = await ep();
59831
+ let t = await ef();
59831
59832
  await ev(), await b({
59832
59833
  ...r,
59833
59834
  ...t
59834
59835
  }), J(!1), R.current = null;
59835
59836
  }
59836
59837
  }, [
59837
- p,
59838
- ep,
59838
+ f,
59839
+ ef,
59839
59840
  ev,
59840
59841
  b
59841
59842
  ]), e_ = reactExports.useCallback(()=>{
@@ -59850,7 +59851,7 @@
59850
59851
  resultAnalyzeVideoAndWindowSizes: D.current,
59851
59852
  recordVideoSettings: et
59852
59853
  }), eb(), new Promise((t)=>{
59853
- let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
59854
+ let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = f, i = A.current;
59854
59855
  if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
59855
59856
  ex().then(async ()=>{
59856
59857
  await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
@@ -59865,7 +59866,7 @@
59865
59866
  quality: k
59866
59867
  }).then(async (n)=>{
59867
59868
  i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
59868
- let a = await ep();
59869
+ let a = await ef();
59869
59870
  t({
59870
59871
  ...i,
59871
59872
  ...a
@@ -59873,7 +59874,7 @@
59873
59874
  });
59874
59875
  } else {
59875
59876
  o && await eu(i.detectedCard);
59876
- let r = await ep();
59877
+ let r = await ef();
59877
59878
  t({
59878
59879
  ...i,
59879
59880
  ...r
@@ -59900,10 +59901,10 @@
59900
59901
  l,
59901
59902
  et,
59902
59903
  eb,
59903
- p,
59904
+ f,
59904
59905
  e_,
59905
59906
  ex,
59906
- ep,
59907
+ ef,
59907
59908
  ev,
59908
59909
  r,
59909
59910
  s,
@@ -59937,10 +59938,10 @@
59937
59938
  portraitTopLeft: c,
59938
59939
  portraitBottomRight: l
59939
59940
  };
59940
- }(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
59941
+ }(t, f.blurFullFaceImageRatio, r), a = function(t, r) {
59941
59942
  let { cv: o } = window;
59942
59943
  if (!o) throw Error("Opencv not found!");
59943
- let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t, f = o.matFromArray(4, 1, o.CV_32FC2, [
59944
+ 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, [
59944
59945
  n.x,
59945
59946
  n.y,
59946
59947
  i.x,
@@ -59949,7 +59950,7 @@
59949
59950
  a.y,
59950
59951
  s.x,
59951
59952
  s.y
59952
- ]), p = o.matFromArray(4, 1, o.CV_32FC2, [
59953
+ ]), f = o.matFromArray(4, 1, o.CV_32FC2, [
59953
59954
  0,
59954
59955
  0,
59955
59956
  c - 1,
@@ -59958,7 +59959,7 @@
59958
59959
  l - 1,
59959
59960
  0,
59960
59961
  l - 1
59961
- ]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
59962
+ ]), h = o.getPerspectiveTransform(p, f), m = (t)=>{
59962
59963
  let r = o.matFromArray(1, 1, o.CV_32FC2, [
59963
59964
  t[0],
59964
59965
  t[1]
@@ -59972,7 +59973,7 @@
59972
59973
  Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
59973
59974
  ];
59974
59975
  }, g = m(d), b = m(u);
59975
- return f.delete(), p.delete(), h.delete(), [
59976
+ return p.delete(), f.delete(), h.delete(), [
59976
59977
  parseInt(g[0], 10),
59977
59978
  parseInt(g[1], 10),
59978
59979
  parseInt(b[0], 10),
@@ -60050,9 +60051,9 @@
60050
60051
  };
60051
60052
  }
60052
60053
  }, [
60053
- p
60054
+ f
60054
60055
  ]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
60055
- let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding: f, cropHeightWithoutPadding: h } = D.current, { enableBlurCheck: m, enableGlareCheck: b, glareThreshold: v, isVietnameseCardFlow: k, hasFrontFace: C, hasBackFace: B, genericEnableCheckFrontFace: x, genericEnableCheckBackFace: P } = p, { blazefaceModel: S, blurDetector: E } = V.current, T = {
60056
+ 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 = {
60056
60057
  error: null
60057
60058
  };
60058
60059
  try {
@@ -60069,12 +60070,12 @@
60069
60070
  area: c.width * c.height
60070
60071
  },
60071
60072
  big: {
60072
- area: f * h
60073
+ area: p * h
60073
60074
  }
60074
60075
  });
60075
60076
  if (l < .5) throw Error("id_detector_card_too_small");
60076
60077
  if (l > .95) throw Error("id_detector_error_incomplete");
60077
- if (k && nn(p, "enableCardTypeCheck")) {
60078
+ if (k && nn(f, "enableCardTypeCheck")) {
60078
60079
  let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
60079
60080
  let o = t.split(".")?.[0];
60080
60081
  if (o !== r[0].split(".")?.[0]) return {
@@ -60148,8 +60149,8 @@
60148
60149
  smallThreshold: r,
60149
60150
  largeThreshold: s
60150
60151
  }), u = {
60151
- small: iz(d?.[0], p.blurSmallDecimal),
60152
- large: iz(d?.[1], p.blurLargeDecimal)
60152
+ small: iz(d?.[0], f.blurSmallDecimal),
60153
+ large: iz(d?.[1], f.blurLargeDecimal)
60153
60154
  };
60154
60155
  if (eT.current = {
60155
60156
  ...eT.current,
@@ -60165,10 +60166,10 @@
60165
60166
  }
60166
60167
  if (y) {
60167
60168
  var I, O, M, A, R, L, F, N;
60168
- let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
60169
+ let r, s, p, f = nn(t, "card.label"), h = nn(t, "card.corners");
60169
60170
  eT.current = {
60170
60171
  ...eT.current,
60171
- label: p,
60172
+ label: f,
60172
60173
  corner_size: h?.length
60173
60174
  }, p_.drawDebugCanvas(eE.current, eT.current);
60174
60175
  let m = i$ / o.width, g = eS.current.getContext("2d");
@@ -60180,7 +60181,7 @@
60180
60181
  o.strokeRect(s, c, l - s, d - c);
60181
60182
  }(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
60182
60183
  iW(t.bboxes, "blue", I, R, r);
60183
- }), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
60184
+ }), p = M.filter((t)=>"large" === t.lapType), p.length > 0 && p.forEach((t)=>{
60184
60185
  iW(t.bboxes, "green", I, R, r);
60185
60186
  }), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
60186
60187
  let r = t.x * N, o = t.y * N;
@@ -60189,7 +60190,7 @@
60189
60190
  }
60190
60191
  return T;
60191
60192
  }, [
60192
- p,
60193
+ f,
60193
60194
  y,
60194
60195
  l,
60195
60196
  Z,
@@ -60198,13 +60199,13 @@
60198
60199
  s,
60199
60200
  eD
60200
60201
  ]), ej = reactExports.useCallback(async ()=>{
60201
- if (!p || !I || T.current) return;
60202
+ if (!f || !I || T.current) return;
60202
60203
  M.current = aj(), A.current = aI();
60203
- let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
60204
+ let { enableVirtualCamHashes: t } = f, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
60204
60205
  T.current = !0;
60205
60206
  let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
60206
60207
  u.width = c, u.height = d;
60207
- let f = u.getContext("2d"), h = async ()=>{
60208
+ let p = u.getContext("2d"), h = async ()=>{
60208
60209
  if (!1 === T.current) return;
60209
60210
  await ei({
60210
60211
  videoEl: l.current,
@@ -60212,11 +60213,11 @@
60212
60213
  recordVideoSettings: et
60213
60214
  });
60214
60215
  let n = K.current;
60215
- f.drawImage(i, a, s, c, d, 0, 0, c, d);
60216
+ p.drawImage(i, a, s, c, d, 0, 0, c, d);
60216
60217
  let g = performance.now();
60217
60218
  if (z.current = !1, q && o) {
60218
60219
  let o = await r.predict(u);
60219
- !p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
60220
+ !f?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
60220
60221
  let r = nn(t, "card.corners");
60221
60222
  if (r && Array.isArray(r) && r.length > 0) {
60222
60223
  let { x: t, y: o } = nn(r, "[0].location");
@@ -60245,7 +60246,7 @@
60245
60246
  };
60246
60247
  K.current = window.requestAnimationFrame(h);
60247
60248
  }, [
60248
- p,
60249
+ f,
60249
60250
  I,
60250
60251
  l,
60251
60252
  ei,
@@ -60298,7 +60299,7 @@
60298
60299
  refBlurScores: X,
60299
60300
  refGlareScores: H,
60300
60301
  resetState: ek,
60301
- resetRecordVideo: ef
60302
+ resetRecordVideo: ep
60302
60303
  };
60303
60304
  }({
60304
60305
  isAutoCapture: q,
@@ -60316,17 +60317,17 @@
60316
60317
  });
60317
60318
  reactExports.useContext(aO);
60318
60319
  let eh = reactExports.useCallback(()=>{
60319
- ep(), eo(), k();
60320
+ ef(), eo(), k();
60320
60321
  }, [
60321
60322
  eo,
60322
- ep,
60323
+ ef,
60323
60324
  k
60324
60325
  ]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
60325
- let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, f = reactExports.useRef(new pT({
60326
+ let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, p = reactExports.useRef(new pT({
60326
60327
  totalTime: i,
60327
60328
  interruptible: r
60328
60329
  }));
60329
- reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
60330
+ reactExports.useEffect(()=>p.current.on("tick", ({ remainTime: t })=>{
60330
60331
  t >= 0 && t <= i / 3 && "function" == typeof c && c({
60331
60332
  curTimeLeft: t
60332
60333
  });
@@ -60335,24 +60336,24 @@
60335
60336
  c,
60336
60337
  i,
60337
60338
  r
60338
- ]), reactExports.useEffect(()=>f.current.on("reset", ({ attemptCount: t })=>{
60339
- r && f.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
60339
+ ]), reactExports.useEffect(()=>p.current.on("reset", ({ attemptCount: t })=>{
60340
+ r && p.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
60340
60341
  }), [
60341
60342
  l,
60342
60343
  u,
60343
60344
  s?.enable,
60344
60345
  s?.total,
60345
60346
  r
60346
- ]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
60347
+ ]), reactExports.useEffect(()=>d ? p.current.start() : ()=>{}, [
60347
60348
  d
60348
60349
  ]);
60349
- let p = reactExports.useCallback(()=>{
60350
- f.current.resume();
60350
+ let f = reactExports.useCallback(()=>{
60351
+ p.current.resume();
60351
60352
  }, []);
60352
60353
  return {
60353
- resumeTimer: p,
60354
+ resumeTimer: f,
60354
60355
  pauseTimer: reactExports.useCallback(()=>{
60355
- f.current.pause();
60356
+ p.current.pause();
60356
60357
  }, [])
60357
60358
  };
60358
60359
  })({
@@ -60366,24 +60367,24 @@
60366
60367
  }), eb = reactExports.useCallback(()=>{
60367
60368
  x.current = !1;
60368
60369
  }, []), ev = reactExports.useCallback(async ()=>{
60369
- eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
60370
+ eb(), em(), ep(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
60370
60371
  en()
60371
60372
  ]);
60372
60373
  }, [
60373
60374
  eb,
60374
- ef,
60375
+ ep,
60375
60376
  U,
60376
60377
  u,
60377
60378
  en,
60378
60379
  em
60379
60380
  ]), ew = reactExports.useCallback(async (t = {})=>{
60380
- let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash: f, blurScore: p, glareScore: h, fullVideo: m, capturingVideo: g } = t;
60381
+ 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;
60381
60382
  if (x.current) return;
60382
60383
  x.current = !0, E(!0), eo(), eg(), Y(null);
60383
60384
  let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
60384
- if (v && null !== f) {
60385
+ if (v && null !== p) {
60385
60386
  let t = [
60386
- f,
60387
+ p,
60387
60388
  ...ec.current
60388
60389
  ];
60389
60390
  t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
@@ -60392,7 +60393,7 @@
60392
60393
  h7.addExifData("user_action", {
60393
60394
  start_id_card: F.current,
60394
60395
  end_id_card: Date.now()
60395
- }), 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", p), 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)));
60396
+ }), 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)));
60396
60397
  let T = await h7.writeCurrentExif({
60397
60398
  imageData: {
60398
60399
  blob: o
@@ -60530,14 +60531,14 @@
60530
60531
  };
60531
60532
  })({
60532
60533
  shouldStart: !0,
60533
- refVideo: p,
60534
+ refVideo: f,
60534
60535
  cropArea: eo,
60535
60536
  settings: C,
60536
- onModelErrorChange: ef,
60537
+ onModelErrorChange: ep,
60537
60538
  frontSide: k,
60538
60539
  allowedCardTypes: y,
60539
60540
  onDebugInfoChange: K,
60540
- onSessionTimeout: ep,
60541
+ onSessionTimeout: ef,
60541
60542
  onCaptureDone: eh,
60542
60543
  onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
60543
60544
  ee(Y("remaining_time", {
@@ -60566,9 +60567,9 @@
60566
60567
  }), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
60567
60568
  reactExports.useEffect(()=>{
60568
60569
  if (u) {
60569
- let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: f, lostY: p, clientHeight: h } = u;
60570
- l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 * p - 80 - 100)), n = (t = (s = p + 140) - 70) + 30, o = eT ? s + a + 20 : s + a, r = s + a + 135, en({
60571
- x: Math.floor((c - i) / 2) + f,
60570
+ let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: p, lostY: f, clientHeight: h } = u;
60571
+ 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({
60572
+ x: Math.floor((c - i) / 2) + p,
60572
60573
  y: s,
60573
60574
  width: i,
60574
60575
  height: a,
@@ -61038,8 +61039,8 @@
61038
61039
  Object.keys(l || {}).forEach(function(t) {
61039
61040
  l[t] = i[t] || l[t];
61040
61041
  });
61041
- 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, f = d.inverted, p = c(s ? f : u);
61042
- return p || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (p = c(s ? u : f)), p;
61042
+ 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);
61043
+ return f || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (f = c(s ? u : p)), f;
61043
61044
  }
61044
61045
  d.default = d, r.default = d;
61045
61046
  },
@@ -61060,10 +61061,10 @@
61060
61061
  r.binarize = function(t, r, o, a) {
61061
61062
  if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
61062
61063
  for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
61063
- var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], f = t[(l * r + c) * 4 + 2];
61064
- s.set(c, l, .2126 * d + .7152 * u + .0722 * f);
61064
+ var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], p = t[(l * r + c) * 4 + 2];
61065
+ s.set(c, l, .2126 * d + .7152 * u + .0722 * p);
61065
61066
  }
61066
- for(var p = Math.ceil(r / 8), h = Math.ceil(o / 8), m = new i(p, h), g = 0; g < h; g++)for(var b = 0; b < p; b++){
61067
+ 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++){
61067
61068
  for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
61068
61069
  var y = s.get(8 * b + c, 8 * g + l);
61069
61070
  v += y, w = Math.min(w, y), k = Math.max(k, y);
@@ -61077,8 +61078,8 @@
61077
61078
  }
61078
61079
  var _ = n.BitMatrix.createEmpty(r, o), x = null;
61079
61080
  a && (x = n.BitMatrix.createEmpty(r, o));
61080
- for(var g = 0; g < h; g++)for(var b = 0; b < p; b++){
61081
- for(var P, S, E, T, D = (P = b, S = p - 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);
61081
+ for(var g = 0; g < h; g++)for(var b = 0; b < f; b++){
61082
+ 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);
61082
61083
  for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
61083
61084
  var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
61084
61085
  _.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
@@ -61359,16 +61360,16 @@
61359
61360
  for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
61360
61361
  r = t.get(u, d), l = l << 1 | r;
61361
61362
  }
61362
- for(var f = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
61363
- o = t.get(u, d), f = f << 1 | o;
61363
+ for(var p = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
61364
+ o = t.get(u, d), p = p << 1 | o;
61364
61365
  }
61365
- for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
61366
+ for(var f = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
61366
61367
  var g = m[h];
61367
- if (g.infoBits === l || g.infoBits === f) return g;
61368
+ if (g.infoBits === l || g.infoBits === p) return g;
61368
61369
  var b = c(l, g.infoBits);
61369
- b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
61370
+ b < f && (n = g, f = b), (b = c(p, g.infoBits)) < f && (n = g, f = b);
61370
61371
  }
61371
- if (p <= 3) return n;
61372
+ if (f <= 3) return n;
61372
61373
  }(t);
61373
61374
  if (!r) return null;
61374
61375
  var o = function(t) {
@@ -61378,19 +61379,19 @@
61378
61379
  for(var d = 7; d >= 0; d--){
61379
61380
  6 !== d && (o = t.get(8, d), a = a << 1 | o);
61380
61381
  }
61381
- for(var u = t.height, f = 0, d = u - 1; d >= u - 7; d--){
61382
- n = t.get(8, d), f = f << 1 | n;
61382
+ for(var u = t.height, p = 0, d = u - 1; d >= u - 7; d--){
61383
+ n = t.get(8, d), p = p << 1 | n;
61383
61384
  }
61384
61385
  for(var s = u - 8; s < u; s++){
61385
- i = t.get(s, 8), f = f << 1 | i;
61386
+ i = t.get(s, 8), p = p << 1 | i;
61386
61387
  }
61387
- for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
61388
+ for(var f = 1 / 0, h = null, m = 0; m < l.length; m++){
61388
61389
  var g = l[m], b = g.bits, v = g.formatInfo;
61389
- if (b === a || b === f) return v;
61390
+ if (b === a || b === p) return v;
61390
61391
  var w = c(a, b);
61391
- w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
61392
+ w < f && (h = v, f = w), a !== p && (w = c(p, b)) < f && (h = v, f = w);
61392
61393
  }
61393
- return p <= 3 ? h : null;
61394
+ return f <= 3 ? h : null;
61394
61395
  }(t);
61395
61396
  if (!o) return null;
61396
61397
  var u = function(t, r, o) {
@@ -61407,10 +61408,10 @@
61407
61408
  d.codewords.push(t.shift());
61408
61409
  }
61409
61410
  if (n.ecBlocks.length > 1) {
61410
- for(var u = n.ecBlocks[0].numBlocks, f = n.ecBlocks[1].numBlocks, c = 0; c < f; c++)i[u + c].codewords.push(t.shift());
61411
+ for(var u = n.ecBlocks[0].numBlocks, p = n.ecBlocks[1].numBlocks, c = 0; c < p; c++)i[u + c].codewords.push(t.shift());
61411
61412
  }
61412
- for(; t.length > 0;)for(var p = 0; p < i.length; p++){
61413
- var d = i[p];
61413
+ for(; t.length > 0;)for(var f = 0; f < i.length; f++){
61414
+ var d = i[f];
61414
61415
  d.codewords.push(t.shift());
61415
61416
  }
61416
61417
  return i;
@@ -61425,11 +61426,11 @@
61425
61426
  }
61426
61427
  }
61427
61428
  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;
61428
- }(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
61429
- 6 === p && p--;
61429
+ }(r), c = [], l = 0, u = 0, p = !0, f = a - 1; f > 0; f -= 2){
61430
+ 6 === f && f--;
61430
61431
  for(var h = 0; h < a; h++){
61431
- for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
61432
- var b = p - g;
61432
+ for(var m = p ? a - 1 - h : h, g = 0; g < 2; g++){
61433
+ var b = f - g;
61433
61434
  if (!s.get(b, m)) {
61434
61435
  u++;
61435
61436
  var v = t.get(b, m);
@@ -61440,20 +61441,20 @@
61440
61441
  }
61441
61442
  }
61442
61443
  }
61443
- f = !f;
61444
+ p = !p;
61444
61445
  }
61445
61446
  return c;
61446
61447
  }(t, r, o), r, o.errorCorrectionLevel);
61447
61448
  if (!u) return null;
61448
- for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
61449
+ for(var p = new Uint8ClampedArray(u.reduce(function(t, r) {
61449
61450
  return t + r.numDataCodewords;
61450
- }, 0)), p = 0, h = 0; h < u.length; h++){
61451
+ }, 0)), f = 0, h = 0; h < u.length; h++){
61451
61452
  var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
61452
61453
  if (!g) return null;
61453
- for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
61454
+ for(var b = 0; b < m.numDataCodewords; b++)p[f++] = g[b];
61454
61455
  }
61455
61456
  try {
61456
- return i.decode(f, r.versionNumber);
61457
+ return i.decode(p, r.versionNumber);
61457
61458
  } catch (t) {
61458
61459
  return null;
61459
61460
  }
@@ -61520,23 +61521,23 @@
61520
61521
  ":"
61521
61522
  ];
61522
61523
  r.decode = function(t, r) {
61523
- for(var o, n, i, u, f = new c.BitStream(t), p = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
61524
+ for(var o, n, i, u, p = new c.BitStream(t), f = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
61524
61525
  text: "",
61525
61526
  bytes: [],
61526
61527
  chunks: [],
61527
61528
  version: r
61528
- }; f.available() >= 4;){
61529
- var m = f.readBits(4);
61529
+ }; p.available() >= 4;){
61530
+ var m = p.readBits(4);
61530
61531
  if (m === s.Terminator) return h;
61531
- if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
61532
+ if (m === s.ECI) 0 === p.readBits(1) ? h.chunks.push({
61532
61533
  type: a.ECI,
61533
- assignmentNumber: f.readBits(7)
61534
- }) : 0 === f.readBits(1) ? h.chunks.push({
61534
+ assignmentNumber: p.readBits(7)
61535
+ }) : 0 === p.readBits(1) ? h.chunks.push({
61535
61536
  type: a.ECI,
61536
- assignmentNumber: f.readBits(14)
61537
- }) : 0 === f.readBits(1) ? h.chunks.push({
61537
+ assignmentNumber: p.readBits(14)
61538
+ }) : 0 === p.readBits(1) ? h.chunks.push({
61538
61539
  type: a.ECI,
61539
- assignmentNumber: f.readBits(21)
61540
+ assignmentNumber: p.readBits(21)
61540
61541
  }) : h.chunks.push({
61541
61542
  type: a.ECI,
61542
61543
  assignmentNumber: -1
@@ -61567,7 +61568,7 @@
61567
61568
  bytes: o,
61568
61569
  text: n
61569
61570
  };
61570
- }(f, p);
61571
+ }(p, f);
61571
61572
  h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
61572
61573
  type: a.Numeric,
61573
61574
  text: g.text
@@ -61590,7 +61591,7 @@
61590
61591
  bytes: o,
61591
61592
  text: n
61592
61593
  };
61593
- }(f, p);
61594
+ }(p, f);
61594
61595
  h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
61595
61596
  type: a.Alphanumeric,
61596
61597
  text: b.text
@@ -61614,7 +61615,7 @@
61614
61615
  bytes: o,
61615
61616
  text: n
61616
61617
  };
61617
- }(f, p);
61618
+ }(p, f);
61618
61619
  h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
61619
61620
  type: a.Byte,
61620
61621
  bytes: v.bytes,
@@ -61634,7 +61635,7 @@
61634
61635
  bytes: o,
61635
61636
  text: n
61636
61637
  };
61637
- }(f, p);
61638
+ }(p, f);
61638
61639
  h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
61639
61640
  type: a.Kanji,
61640
61641
  bytes: w.bytes,
@@ -61642,7 +61643,7 @@
61642
61643
  });
61643
61644
  }
61644
61645
  }
61645
- if (0 === f.available() || 0 === f.readBits(f.available())) return h;
61646
+ if (0 === p.available() || 0 === p.readBits(p.available())) return h;
61646
61647
  };
61647
61648
  },
61648
61649
  function(t, r, o) {
@@ -68728,7 +68729,7 @@
68728
68729
  c[c.length - 1 - d] = u, 0 !== u && (l = !0);
68729
68730
  }
68730
68731
  if (!l) return o;
68731
- var f = new i.default(a, c), p = function(t, r, o, n) {
68732
+ var p = new i.default(a, c), f = function(t, r, o, n) {
68732
68733
  r.degree() < o.degree() && (r = (i = [
68733
68734
  o,
68734
68735
  r
@@ -68737,11 +68738,11 @@
68737
68738
  var d = a, u = c;
68738
68739
  if (a = s, c = l, a.isZero()) return null;
68739
68740
  s = d;
68740
- for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
68741
+ for(var p = t.zero, f = a.getCoefficient(a.degree()), h = t.inverse(f); s.degree() >= a.degree() && !s.isZero();){
68741
68742
  var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
68742
- f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
68743
+ p = p.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
68743
68744
  }
68744
- if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
68745
+ if (l = p.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
68745
68746
  }
68746
68747
  var b = l.getCoefficient(0);
68747
68748
  if (0 === b) return null;
@@ -68750,8 +68751,8 @@
68750
68751
  l.multiply(v),
68751
68752
  s.multiply(v)
68752
68753
  ];
68753
- }(a, a.buildMonomial(r, 1), f, r);
68754
- if (null === p) return null;
68754
+ }(a, a.buildMonomial(r, 1), p, r);
68755
+ if (null === f) return null;
68755
68756
  var h = function(t, r) {
68756
68757
  var o = r.degree();
68757
68758
  if (1 === o) return [
@@ -68759,7 +68760,7 @@
68759
68760
  ];
68760
68761
  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++);
68761
68762
  return i !== o ? null : n;
68762
- }(a, p[0]);
68763
+ }(a, f[0]);
68763
68764
  if (null == h) return null;
68764
68765
  for(var m = function(t, r, o) {
68765
68766
  for(var i = o.length, a = Array(i), s = 0; s < i; s++){
@@ -68767,7 +68768,7 @@
68767
68768
  a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
68768
68769
  }
68769
68770
  return a;
68770
- }(a, p[1], h), g = 0; g < h.length; g++){
68771
+ }(a, f[1], h), g = 0; g < h.length; g++){
68771
68772
  var b = o.length - 1 - a.log(h[g]);
68772
68773
  if (b < 0) return null;
68773
68774
  o[b] = n.addOrSubtractGF(o[b], m[g]);
@@ -71248,14 +71249,14 @@
71248
71249
  a32: t.y,
71249
71250
  a33: 1
71250
71251
  };
71251
- 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, f = (i * d - c * a) / u, p = (s * a - i * l) / u;
71252
+ 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;
71252
71253
  return {
71253
- a11: r.x - t.x + f * r.x,
71254
- a12: r.y - t.y + f * r.y,
71255
- a13: f,
71256
- a21: n.x - t.x + p * n.x,
71257
- a22: n.y - t.y + p * n.y,
71258
- a23: p,
71254
+ a11: r.x - t.x + p * r.x,
71255
+ a12: r.y - t.y + p * r.y,
71256
+ a13: p,
71257
+ a21: n.x - t.x + f * n.x,
71258
+ a22: n.y - t.y + f * n.y,
71259
+ a23: f,
71259
71260
  a31: t.x,
71260
71261
  a32: t.y,
71261
71262
  a33: 1
@@ -71284,7 +71285,7 @@
71284
71285
  a31: c.a21 * c.a32 - c.a22 * c.a31,
71285
71286
  a32: c.a12 * c.a31 - c.a11 * c.a32,
71286
71287
  a33: c.a11 * c.a22 - c.a12 * c.a21
71287
- }), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
71288
+ }), p = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
71288
71289
  a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
71289
71290
  a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
71290
71291
  a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
@@ -71294,18 +71295,18 @@
71294
71295
  a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
71295
71296
  a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
71296
71297
  a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
71297
- }), p = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
71298
- var o = f.a13 * t + f.a23 * r + f.a33;
71298
+ }), f = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
71299
+ var o = p.a13 * t + p.a23 * r + p.a33;
71299
71300
  return {
71300
- x: (f.a11 * t + f.a21 * r + f.a31) / o,
71301
- y: (f.a12 * t + f.a22 * r + f.a32) / o
71301
+ x: (p.a11 * t + p.a21 * r + p.a31) / o,
71302
+ y: (p.a12 * t + p.a22 * r + p.a32) / o
71302
71303
  };
71303
71304
  }, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
71304
71305
  var b = h(g + .5, m + .5);
71305
- p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
71306
+ f.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
71306
71307
  }
71307
71308
  return {
71308
- matrix: p,
71309
+ matrix: f,
71309
71310
  mappingFunction: h
71310
71311
  };
71311
71312
  };
@@ -71330,15 +71331,15 @@
71330
71331
  }
71331
71332
  ], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
71332
71333
  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));
71333
- for(var f = Math.abs(c - a), p = Math.abs(l - s), h = Math.floor(-f / 2), m = a < c ? 1 : -1, g = s < l ? 1 : -1, b = !0, v = a, w = s; v !== c + m; v += m){
71334
+ 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){
71334
71335
  var k = u ? w : v, y = u ? v : w;
71335
71336
  if (o.get(k, y) !== b && (b = !b, d.push({
71336
71337
  x: k,
71337
71338
  y: y
71338
71339
  }), d.length === i + 1)) break;
71339
- if ((h += p) > 0) {
71340
+ if ((h += f) > 0) {
71340
71341
  if (w === l) break;
71341
- w += g, h -= f;
71342
+ w += g, h -= p;
71342
71343
  }
71343
71344
  }
71344
71345
  for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
@@ -71374,7 +71375,7 @@
71374
71375
  }, l = s(t, a, o, r.length), d = {
71375
71376
  x: Math.min(o.width, t.x + t.y) + 1,
71376
71377
  y: Math.min(o.height, t.y + t.x) + 1
71377
- }, u = s(t, d, o, r.length), f = c(n, r), p = c(i, r), h = c(l, r), m = c(u, r), g = Math.sqrt(f.error * f.error + p.error * p.error + h.error * h.error + m.error * m.error), b = (f.averageSize + p.averageSize + h.averageSize + m.averageSize) / 4, v = (Math.pow(f.averageSize - b, 2) + Math.pow(p.averageSize - b, 2) + Math.pow(h.averageSize - b, 2) + Math.pow(m.averageSize - b, 2)) / b;
71378
+ }, 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;
71378
71379
  return g + v;
71379
71380
  } catch (t) {
71380
71381
  return 1 / 0;
@@ -71407,16 +71408,16 @@
71407
71408
  dimension: l,
71408
71409
  moduleSize: c
71409
71410
  };
71410
- }(a, o, c, t)).dimension, f = d.moduleSize;
71411
+ }(a, o, c, t)).dimension, p = d.moduleSize;
71411
71412
  } catch (t) {
71412
71413
  return null;
71413
71414
  }
71414
- var d, u, f, p = {
71415
+ var d, u, p, f = {
71415
71416
  x: o.x - a.x + c.x,
71416
71417
  y: o.y - a.y + c.y
71417
- }, h = (n(a, c) + n(a, o)) / 2 / f, m = 1 - 3 / h, g = {
71418
- x: a.x + m * (p.x - a.x),
71419
- y: a.y + m * (p.y - a.y)
71418
+ }, h = (n(a, c) + n(a, o)) / 2 / p, m = 1 - 3 / h, g = {
71419
+ x: a.x + m * (f.x - a.x),
71420
+ y: a.y + m * (f.y - a.y)
71420
71421
  }, b = r.map(function(r) {
71421
71422
  var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
71422
71423
  if (t.get(Math.floor(o), Math.floor(a))) {
@@ -71454,7 +71455,7 @@
71454
71455
  };
71455
71456
  }
71456
71457
  r.locate = function(t) {
71457
- for(var r, o, a, s, c, f, p, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
71458
+ for(var r, o, a, s, c, p, f, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
71458
71459
  for(var o = 0, n = !1, a = [
71459
71460
  0,
71460
71461
  0,
@@ -71472,21 +71473,21 @@
71472
71473
  a[4],
71473
71474
  o
71474
71475
  ], o = 1, n = c;
71475
- 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, f = Math.abs(a[2] - u) < u && Math.abs(a[3] - u) < u && Math.abs(a[4] - u) < u && c;
71476
+ 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;
71476
71477
  if (d) {
71477
- var p = s - a[3] - a[4], h = p - a[2], m = {
71478
+ var f = s - a[3] - a[4], h = f - a[2], m = {
71478
71479
  startX: h,
71479
- endX: p,
71480
+ endX: f,
71480
71481
  y: r
71481
71482
  }, g = y.filter(function(t) {
71482
- return h >= t.bottom.startX && h <= t.bottom.endX || p >= t.bottom.startX && h <= t.bottom.endX || h <= t.bottom.startX && p >= t.bottom.endX && a[2] / (t.bottom.endX - t.bottom.startX) < 1.5 && a[2] / (t.bottom.endX - t.bottom.startX) > .5;
71483
+ 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;
71483
71484
  });
71484
71485
  g.length > 0 ? g[0].bottom = m : y.push({
71485
71486
  top: m,
71486
71487
  bottom: m
71487
71488
  });
71488
71489
  }
71489
- if (f) {
71490
+ if (p) {
71490
71491
  var b = s - a[4], v = b - a[3], m = {
71491
71492
  startX: v,
71492
71493
  y: r,
@@ -71580,14 +71581,14 @@
71580
71581
  r,
71581
71582
  o,
71582
71583
  a
71583
- ])[0], m = c[1], g = c[2]) : (h = (f = [
71584
+ ])[0], m = c[1], g = c[2]) : (h = (p = [
71584
71585
  r,
71585
71586
  a,
71586
71587
  o
71587
- ])[0], m = f[1], g = f[2]), (g.x - m.x) * (h.y - m.y) - (g.y - m.y) * (h.x - m.x) < 0 && (h = (p = [
71588
+ ])[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 = [
71588
71589
  g,
71589
71590
  h
71590
- ])[0], g = p[1]), {
71591
+ ])[0], g = f[1]), {
71591
71592
  bottomLeft: h,
71592
71593
  topLeft: m,
71593
71594
  topRight: g
@@ -71760,7 +71761,8 @@
71760
71761
  opacity: ${({ showChildren: t })=>+!!t};
71761
71762
  `;
71762
71763
  ({
71763
- onOrientationChange: PropTypes.func
71764
+ onOrientationChange: PropTypes.func,
71765
+ shouldUnmount: PropTypes.bool
71764
71766
  });
71765
71767
  ({
71766
71768
  allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
@@ -71801,10 +71803,10 @@
71801
71803
  }
71802
71804
  ];
71803
71805
  function sV() {
71804
- if (rh) return rp;
71806
+ if (rh) return rf;
71805
71807
  rh = 1;
71806
71808
  var t = o9();
71807
- return rp = function() {
71809
+ return rf = function() {
71808
71810
  try {
71809
71811
  var r = t(Object, "defineProperty");
71810
71812
  return r({}, "", {}), r;
@@ -71951,14 +71953,14 @@
71951
71953
  return n;
71952
71954
  }), r = sH(), o = oK(), n = sY(), i = s5(), a = s3(), s = Object.prototype.hasOwnProperty;
71953
71955
  return od = function(c, l) {
71954
- var d = o(c), u = !d && r(c), f = !d && !u && n(c), p = !d && !u && !f && a(c), h = d || u || f || p, m = h ? t(c.length, String) : [], g = m.length;
71955
- for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b || f && ("offset" == b || "parent" == b) || p && ("buffer" == b || "byteLength" == b || "byteOffset" == b) || i(b, g))) && m.push(b);
71956
+ 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;
71957
+ 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);
71956
71958
  return m;
71957
71959
  };
71958
71960
  }(), r = function() {
71959
71961
  if (om) return oh;
71960
71962
  om = 1;
71961
- var t = o1(), r = sX(), o = op ? of : (op = 1, of = function(t) {
71963
+ var t = o1(), r = sX(), o = of ? op : (of = 1, op = function(t) {
71962
71964
  var r = [];
71963
71965
  if (null != t) for(var o in Object(t))r.push(o);
71964
71966
  return r;
@@ -71986,8 +71988,8 @@
71986
71988
  if (oB) return oC;
71987
71989
  oB = 1;
71988
71990
  var t = function() {
71989
- if (rf) return ru;
71990
- rf = 1;
71991
+ if (rp) return ru;
71992
+ rp = 1;
71991
71993
  var t = ne(), r = function() {
71992
71994
  if (rr) return rt;
71993
71995
  rr = 1;
@@ -72091,7 +72093,7 @@
72091
72093
  return rZ = function(o) {
72092
72094
  return r(o) && t(o);
72093
72095
  };
72094
- }(), l = sY(), d = o8(), u = o1(), f = function() {
72096
+ }(), l = sY(), d = o8(), u = o1(), p = function() {
72095
72097
  if (r5) return r2;
72096
72098
  r5 = 1;
72097
72099
  var t = o2(), r = sQ(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
@@ -72102,7 +72104,7 @@
72102
72104
  var l = a.call(c, "constructor") && c.constructor;
72103
72105
  return "function" == typeof l && l instanceof l && i.call(l) == s;
72104
72106
  };
72105
- }(), p = s3(), h = s2(), m = function() {
72107
+ }(), f = s3(), h = s2(), m = function() {
72106
72108
  if (ow) return ov;
72107
72109
  ow = 1;
72108
72110
  var t = function() {
@@ -72136,17 +72138,17 @@
72136
72138
  if (x) return void t(g, v, x);
72137
72139
  var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
72138
72140
  if (S) {
72139
- var E = s(_), T = !E && l(_), D = !E && !T && p(_);
72140
- 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 = [] : f(_) || a(_) ? (P = B, a(B) ? P = m(B) : (!u(B) || d(B)) && (P = i(_))) : S = !1;
72141
+ var E = s(_), T = !E && l(_), D = !E && !T && f(_);
72142
+ 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;
72141
72143
  }
72142
72144
  S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
72143
72145
  };
72144
72146
  }(), i = o1(), a = s0(), s = s2();
72145
- return oC = function c(l, d, u, f, p) {
72147
+ return oC = function c(l, d, u, p, f) {
72146
72148
  l !== d && o(d, function(o, a) {
72147
- if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
72149
+ if (f || (f = new t), i(o)) n(l, d, a, u, c, p, f);
72148
72150
  else {
72149
- var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
72151
+ var h = p ? p(s(l, a), o, a + "", l, d, f) : void 0;
72150
72152
  void 0 === h && (h = o), r(l, a, h);
72151
72153
  }
72152
72154
  }, a);
@@ -88755,7 +88757,7 @@
88755
88757
  opacity: ${({ showChildren })=>showChildren ? 1 : 0};
88756
88758
  `;
88757
88759
  // eslint-disable-next-line react/require-default-props
88758
- function OrientationDetection({ onOrientationChange, children }) {
88760
+ function OrientationDetection({ onOrientationChange, shouldUnmount, children }) {
88759
88761
  const t = gB();
88760
88762
  const { curOrientation } = useDetectOrientation(onOrientationChange);
88761
88763
  const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
@@ -88767,7 +88769,7 @@
88767
88769
  children: t('wrong_orientation')
88768
88770
  })
88769
88771
  }),
88770
- /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
88772
+ (shouldUnmount ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
88771
88773
  showChildren: shouldShowChildren,
88772
88774
  children: children
88773
88775
  })
@@ -88775,10 +88777,12 @@
88775
88777
  });
88776
88778
  }
88777
88779
  OrientationDetection.defaultProps = {
88778
- onOrientationChange: ()=>{}
88780
+ onOrientationChange: ()=>{},
88781
+ shouldUnmount: false
88779
88782
  };
88780
88783
  OrientationDetection.propTypes = {
88781
- onOrientationChange: PropTypes.func
88784
+ onOrientationChange: PropTypes.func,
88785
+ shouldUnmount: PropTypes.bool
88782
88786
  };
88783
88787
 
88784
88788
  const useEkycSession = ()=>{
@@ -90593,6 +90597,7 @@
90593
90597
  const DefaultFlashLivenessBody = FlashLivenessBody;
90594
90598
  const DefaultFlashLivenessOverlay = FlashLivenessOverlay;
90595
90599
  const DefaultFlashLivenessError = FlashLivenessError;
90600
+ const DefaultFlashLivenessCloseIcon = CloseIcon;
90596
90601
  function FlashLivenessImpl(props) {
90597
90602
  const { onReset, onFlashDone: onFlashDoneCallback, frontCamera, styledComponent, onFramesCaptured, customComponent, extraConfig, onImageCaptured } = props;
90598
90603
  const { onCloseCallback, onErrorCallback } = useSDKCallback();
@@ -90600,6 +90605,7 @@
90600
90605
  const FlashLivenessBodyComponent = customComponent?.FlashLivenessBody ?? DefaultFlashLivenessBody;
90601
90606
  const FlashLivenessOverlayComponent = customComponent?.FlashLivenessOverlay ?? DefaultFlashLivenessOverlay;
90602
90607
  const FlashLivenessErrorComponent = customComponent?.FlashLivenessError ?? DefaultFlashLivenessError;
90608
+ const FlashLivenessCloseIconComponent = customComponent?.FlashLivenessCloseIcon ?? DefaultFlashLivenessCloseIcon;
90603
90609
  const { maskSettings, flashSettings, faceSettings, livenessSettings, captureFrameSettings, imageSettings, timeoutSettings, blurCheckFarSettings, blurCheckCloseSettings, exifSettings, autoGenFrameIds } = flashLivenessSettings;
90604
90610
  if (maskSettings.smallScale > maskSettings.largeScale) {
90605
90611
  throw new Error('smallScale must be smaller than largeScale');
@@ -91326,7 +91332,7 @@
91326
91332
  ref: videoRef,
91327
91333
  onError: onErrorCallback,
91328
91334
  videoSettings: videoSettings$5,
91329
- closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(CloseIcon, {}),
91335
+ closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(FlashLivenessCloseIconComponent, {}),
91330
91336
  children: /*#__PURE__*/ jsxRuntimeExports.jsxs(WarmUpOverlay, {
91331
91337
  overlay: !warmupDone || !isPlaying,
91332
91338
  loadingComponent: Loading,
@@ -92608,12 +92614,14 @@
92608
92614
  };
92609
92615
  const DefaultPassiveLivenessBody = PassiveLivenessBody;
92610
92616
  const DefaultPassiveLivenessError = PassiveLivenessError;
92617
+ const DefaultPassiveLivenessCloseIcon = CloseIcon;
92611
92618
  function PassiveLivenessUI(props) {
92612
92619
  const { onReset, onDone: onDoneCallback, frontCamera, styledComponent, onFramesCaptured, customComponent, extraConfig } = props;
92613
92620
  const { onErrorCallback, onCloseCallback } = useSDKCallback();
92614
92621
  const passiveLivenessSettings = usePassiveLivenessV2Settings();
92615
92622
  const PassiveLivenessBodyComponent = customComponent?.PassiveLivenessBody ?? DefaultPassiveLivenessBody;
92616
92623
  const PassiveLivenessErrorComponent = customComponent?.PassiveLivenessError ?? DefaultPassiveLivenessError;
92624
+ const PassiveLivenessCloseIconComponent = customComponent?.PassiveLivenessCloseIcon ?? DefaultPassiveLivenessCloseIcon;
92617
92625
  const { maskSettings, faceSettings, captureFrameSettings, exifSettings, imageSettings, timeoutSettings, blurCheckFarSettings, outputImageSettings, autoGenFrameIds } = passiveLivenessSettings;
92618
92626
  const farFaceTimeRef = reactExports.useRef();
92619
92627
  const logEvent = useEventLogging();
@@ -93099,7 +93107,7 @@
93099
93107
  ref: videoRef,
93100
93108
  onError: onErrorCallback,
93101
93109
  videoSettings: videoSettings$3,
93102
- closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(CloseIcon, {}),
93110
+ closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(PassiveLivenessCloseIconComponent, {}),
93103
93111
  children: /*#__PURE__*/ jsxRuntimeExports.jsxs(WarmUpOverlay, {
93104
93112
  overlay: !warmupDone || !isPlaying,
93105
93113
  loadingComponent: Loading,
@@ -94759,7 +94767,7 @@
94759
94767
  DEFAULT: 'default',
94760
94768
  ERROR: 'error'
94761
94769
  };
94762
- function RectangleMask({ className, width, height, type, strokeStyles, strokeWidth, radius, paddingStyle, defaultRectStyles, errorRectStyles }) {
94770
+ function RectangleMask({ className, width, height, type, strokeStyles, strokeWidth, radius, paddingStyle, defaultRectStyles, errorRectStyles, paddingCornerMultiplier = 1.5 }) {
94763
94771
  const styleMapping = reactExports.useMemo(()=>{
94764
94772
  return {
94765
94773
  [Type.DEFAULT]: defaultRectStyles,
@@ -94771,7 +94779,7 @@
94771
94779
  errorRectStyles,
94772
94780
  strokeStyles
94773
94781
  ]);
94774
- const paddingCornerSize = radius + strokeWidth * 1.5;
94782
+ const paddingCornerSize = radius + strokeWidth * paddingCornerMultiplier;
94775
94783
  const rectStyle = styleMapping[type];
94776
94784
  return /*#__PURE__*/ jsxRuntimeExports.jsxs("svg", {
94777
94785
  width: width,
@@ -94819,7 +94827,8 @@
94819
94827
  radius: PropTypes.number,
94820
94828
  paddingStyle: PropTypes.shape({}),
94821
94829
  defaultRectStyles: PropTypes.shape({}),
94822
- errorRectStyles: PropTypes.shape({})
94830
+ errorRectStyles: PropTypes.shape({}),
94831
+ paddingCornerMultiplier: PropTypes.number
94823
94832
  };
94824
94833
  RectangleMask.defaultProps = {
94825
94834
  className: '',
@@ -94831,7 +94840,8 @@
94831
94840
  radius: defaultIDThemeV2$1.IDCapturing.rectangleMask.radius,
94832
94841
  paddingStyle: defaultIDThemeV2$1.IDCapturing.rectangleMask.paddingStyle,
94833
94842
  defaultRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.default,
94834
- errorRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.error
94843
+ errorRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.error,
94844
+ paddingCornerMultiplier: 1.5
94835
94845
  };
94836
94846
 
94837
94847
  const StyledRectangleMask = dt$1(RectangleMask)``;
@@ -113193,6 +113203,17 @@
113193
113203
  });
113194
113204
  };
113195
113205
  };
113206
+ const withLocale = (Component)=>{
113207
+ return function WrappedComponent(props) {
113208
+ const { customTexts } = props;
113209
+ return /*#__PURE__*/ jsxRuntimeExports.jsx(SDKLocaleProvider, {
113210
+ customTexts: customTexts,
113211
+ children: /*#__PURE__*/ jsxRuntimeExports.jsx(Component, {
113212
+ ...props
113213
+ })
113214
+ });
113215
+ };
113216
+ };
113196
113217
  // eslint-disable-next-line react/require-default-props
113197
113218
  function FaceAuthenticationContainer(props) {
113198
113219
  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;
@@ -113444,7 +113465,7 @@
113444
113465
  onFramesCaptured: ()=>{},
113445
113466
  customTexts: {}
113446
113467
  };
113447
- var FaceAuthenticationContainer$1 = withClientSettings(FaceAuthenticationContainer);
113468
+ var FaceAuthenticationContainer$1 = withClientSettings(withLocale(FaceAuthenticationContainer));
113448
113469
 
113449
113470
  // eslint-disable-next-line react/require-default-props
113450
113471
  function FaceAuthentication(props) {
@@ -113477,13 +113498,15 @@
113477
113498
  FlashLivenessOverlay,
113478
113499
  FlashLivenessLoading,
113479
113500
  FlashLivenessError,
113501
+ FlashLivenessCloseIcon: CloseIcon,
113502
+ PassiveLivenessCloseIcon: CloseIcon,
113480
113503
  PassiveLivenessBody,
113481
113504
  PassiveLivenessError
113482
113505
  }
113483
113506
  };
113484
113507
  };
113485
113508
 
113486
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.platform/0.0.0-beta.20251215-170414/assets";
113509
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.platform/0.0.0-beta.20260102-113929/assets";
113487
113510
  class TVWebSDK extends gU {
113488
113511
  constructor(props){
113489
113512
  super({