@regulaforensics/vp-frontend-document-components 7.7.2196-rc → 7.7.2197

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -318,7 +318,7 @@ function A2() {
318
318
  }), zd;
319
319
  }
320
320
  var qd, n0;
321
- function F6() {
321
+ function F7() {
322
322
  if (n0) return qd;
323
323
  n0 = 1;
324
324
  var t = A2();
@@ -328,7 +328,7 @@ var Zd, i0;
328
328
  function Ar() {
329
329
  if (i0) return Zd;
330
330
  i0 = 1;
331
- var t = Nt(), r = I2(), e = an(), a = R2(), o = A2(), s = F6(), c = t.Symbol, d = r("wks"), p = s ? c.for || c : c && c.withoutSetter || a;
331
+ var t = Nt(), r = I2(), e = an(), a = R2(), o = A2(), s = F7(), c = t.Symbol, d = r("wks"), p = s ? c.for || c : c && c.withoutSetter || a;
332
332
  return Zd = function(f) {
333
333
  return e(d, f) || (d[f] = o && e(c, f) ? c[f] : p("Symbol." + f)), d[f];
334
334
  }, Zd;
@@ -355,7 +355,7 @@ function ir() {
355
355
  }), Kd;
356
356
  }
357
357
  var Xd, s0;
358
- function V6() {
358
+ function V7() {
359
359
  if (s0) return Xd;
360
360
  s0 = 1;
361
361
  var t = ir(), r = kt();
@@ -368,7 +368,7 @@ function V6() {
368
368
  }), Xd;
369
369
  }
370
370
  var Qd = {}, Jd, l0;
371
- function U6() {
371
+ function U7() {
372
372
  if (l0) return Jd;
373
373
  l0 = 1;
374
374
  var t = ir(), r = kt(), e = v2();
@@ -411,7 +411,7 @@ var n_, d0;
411
411
  function Cc() {
412
412
  if (d0) return n_;
413
413
  d0 = 1;
414
- var t = _a(), r = fr(), e = Qo(), a = F6(), o = Object;
414
+ var t = _a(), r = fr(), e = Qo(), a = F7(), o = Object;
415
415
  return n_ = a ? function(s) {
416
416
  return typeof s == "symbol";
417
417
  } : function(s) {
@@ -464,7 +464,7 @@ function e8() {
464
464
  }, s_;
465
465
  }
466
466
  var l_, E0;
467
- function j6() {
467
+ function j7() {
468
468
  if (E0) return l_;
469
469
  E0 = 1;
470
470
  var t = dr(), r = nn(), e = Cc(), a = ml(), o = e8(), s = Ar(), c = TypeError, d = s("toPrimitive");
@@ -482,7 +482,7 @@ var u_, C0;
482
482
  function D2() {
483
483
  if (C0) return u_;
484
484
  C0 = 1;
485
- var t = j6(), r = Cc();
485
+ var t = j7(), r = Cc();
486
486
  return u_ = function(e) {
487
487
  var a = t(e, "string");
488
488
  return r(a) ? a : a + "";
@@ -492,7 +492,7 @@ var v0;
492
492
  function ai() {
493
493
  if (v0) return Qd;
494
494
  v0 = 1;
495
- var t = ir(), r = U6(), e = V6(), a = Sr(), o = D2(), s = TypeError, c = Object.defineProperty, d = Object.getOwnPropertyDescriptor, p = "enumerable", f = "configurable", m = "writable";
495
+ var t = ir(), r = U7(), e = V7(), a = Sr(), o = D2(), s = TypeError, c = Object.defineProperty, d = Object.getOwnPropertyDescriptor, p = "enumerable", f = "configurable", m = "writable";
496
496
  return Qd.f = t ? e ? function(C, S, g) {
497
497
  if (a(C), S = o(S), a(g), typeof C == "function" && S === "prototype" && "value" in g && m in g && !g[m]) {
498
498
  var R = d(C, S);
@@ -592,7 +592,7 @@ function T2() {
592
592
  return T0 || (T0 = 1, m_ = {}), m_;
593
593
  }
594
594
  var E_, O0;
595
- function $6() {
595
+ function $7() {
596
596
  if (O0) return E_;
597
597
  O0 = 1;
598
598
  var t = Ot(), r = an(), e = pl(), a = r8().indexOf, o = T2(), s = t([].push);
@@ -616,10 +616,10 @@ function O2() {
616
616
  ]), C_;
617
617
  }
618
618
  var v_, N0;
619
- function B6() {
619
+ function B7() {
620
620
  if (N0) return v_;
621
621
  N0 = 1;
622
- var t = $6(), r = O2();
622
+ var t = $7(), r = O2();
623
623
  return v_ = Object.keys || function(a) {
624
624
  return t(a, r);
625
625
  }, v_;
@@ -628,7 +628,7 @@ var L0;
628
628
  function n8() {
629
629
  if (L0) return Yd;
630
630
  L0 = 1;
631
- var t = ir(), r = V6(), e = ai(), a = Sr(), o = pl(), s = B6();
631
+ var t = ir(), r = V7(), e = ai(), a = Sr(), o = pl(), s = B7();
632
632
  return Yd.f = t && !r ? Object.defineProperties : function(d, p) {
633
633
  a(d);
634
634
  for (var f = o(p), m = s(p), v = m.length, C = 0, S; v > C; ) e.f(d, S = m[C++], f[S]);
@@ -768,7 +768,7 @@ function Ai() {
768
768
  }, y_;
769
769
  }
770
770
  var N_ = {}, L_ = {}, U0;
771
- function G6() {
771
+ function G7() {
772
772
  if (U0) return L_;
773
773
  U0 = 1;
774
774
  var t = {}.propertyIsEnumerable, r = Object.getOwnPropertyDescriptor, e = r && !t.call({ 1: 2 }, 1);
@@ -781,7 +781,7 @@ var j0;
781
781
  function N2() {
782
782
  if (j0) return N_;
783
783
  j0 = 1;
784
- var t = ir(), r = dr(), e = G6(), a = Wa(), o = pl(), s = D2(), c = an(), d = U6(), p = Object.getOwnPropertyDescriptor;
784
+ var t = ir(), r = dr(), e = G7(), a = Wa(), o = pl(), s = D2(), c = an(), d = U7(), p = Object.getOwnPropertyDescriptor;
785
785
  return N_.f = t ? p : function(m, v) {
786
786
  if (m = o(m), v = s(v), d) try {
787
787
  return p(m, v);
@@ -803,7 +803,7 @@ function Sc() {
803
803
  }, b_;
804
804
  }
805
805
  var M_, B0;
806
- function z6() {
806
+ function z7() {
807
807
  if (B0) return M_;
808
808
  B0 = 1;
809
809
  var t = Ot(), r = fr(), e = g2(), a = t(Function.toString);
@@ -812,10 +812,10 @@ function z6() {
812
812
  }), M_ = e.inspectSource, M_;
813
813
  }
814
814
  var G0;
815
- function q6() {
815
+ function q7() {
816
816
  if (G0) return P_.exports;
817
817
  G0 = 1;
818
- var t = Ot(), r = kt(), e = fr(), a = an(), o = ir(), s = Sc().CONFIGURABLE, c = z6(), d = Ai(), p = d.enforce, f = d.get, m = String, v = Object.defineProperty, C = t("".slice), S = t("".replace), g = t([].join), R = o && !r(function() {
818
+ var t = Ot(), r = kt(), e = fr(), a = an(), o = ir(), s = Sc().CONFIGURABLE, c = z7(), d = Ai(), p = d.enforce, f = d.get, m = String, v = Object.defineProperty, C = t("".slice), S = t("".replace), g = t([].join), R = o && !r(function() {
819
819
  return v(function() {
820
820
  }, "length", { value: 8 }).length !== 8;
821
821
  }), A = String(String).split("String"), P = P_.exports = function(L, O, y) {
@@ -835,7 +835,7 @@ var w_, z0;
835
835
  function Di() {
836
836
  if (z0) return w_;
837
837
  z0 = 1;
838
- var t = fr(), r = ai(), e = q6(), a = S2();
838
+ var t = fr(), r = ai(), e = q7(), a = S2();
839
839
  return w_ = function(o, s, c, d) {
840
840
  d || (d = {});
841
841
  var p = d.enumerable, f = d.name !== void 0 ? d.name : s;
@@ -857,23 +857,23 @@ function Di() {
857
857
  }, w_;
858
858
  }
859
859
  var x_ = {}, q0;
860
- function Z6() {
860
+ function Z7() {
861
861
  if (q0) return x_;
862
862
  q0 = 1;
863
- var t = $6(), r = O2(), e = r.concat("length", "prototype");
863
+ var t = $7(), r = O2(), e = r.concat("length", "prototype");
864
864
  return x_.f = Object.getOwnPropertyNames || function(o) {
865
865
  return t(o, e);
866
866
  }, x_;
867
867
  }
868
868
  var k_ = {}, Z0;
869
- function W6() {
869
+ function W7() {
870
870
  return Z0 || (Z0 = 1, k_.f = Object.getOwnPropertySymbols), k_;
871
871
  }
872
872
  var H_, W0;
873
873
  function s8() {
874
874
  if (W0) return H_;
875
875
  W0 = 1;
876
- var t = _a(), r = Ot(), e = Z6(), a = W6(), o = Sr(), s = r([].concat);
876
+ var t = _a(), r = Ot(), e = Z7(), a = W7(), o = Sr(), s = r([].concat);
877
877
  return H_ = t("Reflect", "ownKeys") || function(d) {
878
878
  var p = e.f(o(d)), f = a.f;
879
879
  return f ? s(p, f(d)) : p;
@@ -969,7 +969,7 @@ function ts() {
969
969
  }, G_;
970
970
  }
971
971
  var z_, r5;
972
- function Y6() {
972
+ function Y7() {
973
973
  if (r5) return z_;
974
974
  r5 = 1;
975
975
  var t = gc().IteratorPrototype, r = Za(), e = Wa(), a = ts(), o = El(), s = function() {
@@ -1028,10 +1028,10 @@ function rs() {
1028
1028
  }() : void 0), Y_;
1029
1029
  }
1030
1030
  var K_, s5;
1031
- function K6() {
1031
+ function K7() {
1032
1032
  if (s5) return K_;
1033
1033
  s5 = 1;
1034
- var t = ar(), r = dr(), e = Bi(), a = Sc(), o = fr(), s = Y6(), c = Cl(), d = rs(), p = ts(), f = Gn(), m = Di(), v = Ar(), C = El(), S = gc(), g = a.PROPER, R = a.CONFIGURABLE, A = S.IteratorPrototype, P = S.BUGGY_SAFARI_ITERATORS, L = v("iterator"), O = "keys", y = "values", M = "entries", U = function() {
1034
+ var t = ar(), r = dr(), e = Bi(), a = Sc(), o = fr(), s = Y7(), c = Cl(), d = rs(), p = ts(), f = Gn(), m = Di(), v = Ar(), C = El(), S = gc(), g = a.PROPER, R = a.CONFIGURABLE, A = S.IteratorPrototype, P = S.BUGGY_SAFARI_ITERATORS, L = v("iterator"), O = "keys", y = "values", M = "entries", U = function() {
1035
1035
  return this;
1036
1036
  };
1037
1037
  return K_ = function(w, B, j, G, q, Q, ne) {
@@ -1077,10 +1077,10 @@ function Ic() {
1077
1077
  }), X_;
1078
1078
  }
1079
1079
  var Q_, u5;
1080
- function X6() {
1080
+ function X7() {
1081
1081
  if (u5) return Q_;
1082
1082
  u5 = 1;
1083
- var t = pl(), r = a8(), e = El(), a = Ai(), o = ai().f, s = K6(), c = Ic(), d = Bi(), p = ir(), f = "Array Iterator", m = a.set, v = a.getterFor(f);
1083
+ var t = pl(), r = a8(), e = El(), a = Ai(), o = ai().f, s = K7(), c = Ic(), d = Bi(), p = ir(), f = "Array Iterator", m = a.set, v = a.getterFor(f);
1084
1084
  Q_ = s(Array, "Array", function(S, g) {
1085
1085
  m(this, {
1086
1086
  type: f,
@@ -1114,7 +1114,7 @@ var c5;
1114
1114
  function d8() {
1115
1115
  if (c5) return bv;
1116
1116
  c5 = 1;
1117
- var t = Nt(), r = Qy(), e = Jy(), a = X6(), o = Gn(), s = ts(), c = Ar(), d = c("iterator"), p = a.values, f = function(v, C) {
1117
+ var t = Nt(), r = Qy(), e = Jy(), a = X7(), o = Gn(), s = ts(), c = Ar(), d = c("iterator"), p = a.values, f = function(v, C) {
1118
1118
  if (v) {
1119
1119
  if (v[d] !== p) try {
1120
1120
  o(v, d, p);
@@ -1708,13 +1708,13 @@ var v1, j5;
1708
1708
  function Gi() {
1709
1709
  if (j5) return v1;
1710
1710
  j5 = 1;
1711
- var t = q6(), r = ai();
1711
+ var t = q7(), r = ai();
1712
1712
  return v1 = function(e, a, o) {
1713
1713
  return o.get && t(o.get, a, { getter: !0 }), o.set && t(o.set, a, { setter: !0 }), r.f(e, a, o);
1714
1714
  }, v1;
1715
1715
  }
1716
1716
  var S1, $5;
1717
- function Q6() {
1717
+ function Q7() {
1718
1718
  if ($5) return S1;
1719
1719
  $5 = 1;
1720
1720
  var t = ir(), r = ai(), e = Wa();
@@ -1726,7 +1726,7 @@ var B5;
1726
1726
  function L8() {
1727
1727
  if (B5) return V5;
1728
1728
  B5 = 1;
1729
- var t = ar(), r = Nt(), e = Sl(), a = Sr(), o = fr(), s = Cl(), c = Gi(), d = Q6(), p = kt(), f = an(), m = Ar(), v = gc().IteratorPrototype, C = ir(), S = Bi(), g = "constructor", R = "Iterator", A = m("toStringTag"), P = TypeError, L = r[R], O = S || !o(L) || L.prototype !== v || !p(function() {
1729
+ var t = ar(), r = Nt(), e = Sl(), a = Sr(), o = fr(), s = Cl(), c = Gi(), d = Q7(), p = kt(), f = an(), m = Ar(), v = gc().IteratorPrototype, C = ir(), S = Bi(), g = "constructor", R = "Iterator", A = m("toStringTag"), P = TypeError, L = r[R], O = S || !o(L) || L.prototype !== v || !p(function() {
1730
1730
  L({});
1731
1731
  }), y = function() {
1732
1732
  if (e(this, v), s(this) === v) throw new P("Abstract class Iterator not directly constructable");
@@ -1794,7 +1794,7 @@ function k2() {
1794
1794
  }, R1;
1795
1795
  }
1796
1796
  var A1, K5;
1797
- function J6() {
1797
+ function J7() {
1798
1798
  if (K5) return A1;
1799
1799
  K5 = 1;
1800
1800
  var t = dr(), r = Za(), e = Gn(), a = x2(), o = Ar(), s = Ai(), c = ml(), d = gc().IteratorPrototype, p = Ic(), f = k2(), m = o("toStringTag"), v = "IteratorHelper", C = "WrapForValidIterator", S = s.set, g = function(P) {
@@ -1850,7 +1850,7 @@ var Q5;
1850
1850
  function b8() {
1851
1851
  if (Q5) return q5;
1852
1852
  Q5 = 1;
1853
- var t = ar(), r = dr(), e = mn(), a = Sr(), o = Ya(), s = J6(), c = H2(), d = Bi(), p = s(function() {
1853
+ var t = ar(), r = dr(), e = mn(), a = Sr(), o = Ya(), s = J7(), c = H2(), d = Bi(), p = s(function() {
1854
1854
  for (var f = this.iterator, m = this.predicate, v = this.next, C, S, g; ; ) {
1855
1855
  if (C = a(r(v, f)), S = this.done = !!C.done, S) return;
1856
1856
  if (g = C.value, c(f, m, [g, this.counter++], !0)) return g;
@@ -7361,7 +7361,7 @@ Error generating stack: ` + I.message + `
7361
7361
  }, dn.version = "18.3.1-next-f1338f8080-20240426", dn;
7362
7362
  }
7363
7363
  var _S;
7364
- function e7() {
7364
+ function e6() {
7365
7365
  if (_S) return b1.exports;
7366
7366
  _S = 1;
7367
7367
  function t() {
@@ -7378,10 +7378,10 @@ var pS;
7378
7378
  function V8() {
7379
7379
  if (pS) return ku;
7380
7380
  pS = 1;
7381
- var t = e7();
7381
+ var t = e6();
7382
7382
  return ku.createRoot = t.createRoot, ku.hydrateRoot = t.hydrateRoot, ku;
7383
7383
  }
7384
- var t7 = V8(), hS = {}, x1, mS;
7384
+ var t6 = V8(), hS = {}, x1, mS;
7385
7385
  function U2() {
7386
7386
  return mS || (mS = 1, x1 = typeof ArrayBuffer != "undefined" && typeof DataView != "undefined"), x1;
7387
7387
  }
@@ -7466,7 +7466,7 @@ function G8() {
7466
7466
  }, j1;
7467
7467
  }
7468
7468
  var $1, RS;
7469
- function r7() {
7469
+ function r6() {
7470
7470
  if (RS) return $1;
7471
7471
  RS = 1;
7472
7472
  var t = Bn(), r = vc(), e = En();
@@ -7479,7 +7479,7 @@ var B1, AS;
7479
7479
  function $2() {
7480
7480
  if (AS) return B1;
7481
7481
  AS = 1;
7482
- var t = Nt(), r = Ot(), e = ir(), a = U2(), o = Sc(), s = Gn(), c = Gi(), d = x2(), p = kt(), f = Sl(), m = Ri(), v = es(), C = j2(), S = B8(), g = G8(), R = Cl(), A = rs(), P = r7(), L = Rc(), O = M2(), y = L2(), M = ts(), U = Ai(), w = o.PROPER, B = o.CONFIGURABLE, j = "ArrayBuffer", G = "DataView", q = "prototype", Q = "Wrong length", ne = "Wrong index", oe = U.getterFor(j), fe = U.getterFor(G), Se = U.set, pe = t[j], Z = pe, ae = Z && Z[q], J = t[G], F = J && J[q], Y = Object.prototype, De = t.Array, Ne = t.RangeError, de = r(P), Ue = r([].reverse), We = g.pack, Oe = g.unpack, je = function(Re) {
7482
+ var t = Nt(), r = Ot(), e = ir(), a = U2(), o = Sc(), s = Gn(), c = Gi(), d = x2(), p = kt(), f = Sl(), m = Ri(), v = es(), C = j2(), S = B8(), g = G8(), R = Cl(), A = rs(), P = r6(), L = Rc(), O = M2(), y = L2(), M = ts(), U = Ai(), w = o.PROPER, B = o.CONFIGURABLE, j = "ArrayBuffer", G = "DataView", q = "prototype", Q = "Wrong length", ne = "Wrong index", oe = U.getterFor(j), fe = U.getterFor(G), Se = U.set, pe = t[j], Z = pe, ae = Z && Z[q], J = t[G], F = J && J[q], Y = Object.prototype, De = t.Array, Ne = t.RangeError, de = r(P), Ue = r([].reverse), We = g.pack, Oe = g.unpack, je = function(Re) {
7483
7483
  return [Re & 255];
7484
7484
  }, Qe = function(Re) {
7485
7485
  return [Re & 255, Re >> 8 & 255];
@@ -7608,7 +7608,7 @@ function $2() {
7608
7608
  }, B1;
7609
7609
  }
7610
7610
  var G1, DS;
7611
- function n7() {
7611
+ function n6() {
7612
7612
  if (DS) return G1;
7613
7613
  DS = 1;
7614
7614
  var t = _a(), r = Gi(), e = Ar(), a = ir(), o = e("species");
@@ -7626,7 +7626,7 @@ var TS;
7626
7626
  function z8() {
7627
7627
  if (TS) return hS;
7628
7628
  TS = 1;
7629
- var t = ar(), r = Nt(), e = $2(), a = n7(), o = "ArrayBuffer", s = e[o], c = r[o];
7629
+ var t = ar(), r = Nt(), e = $2(), a = n6(), o = "ArrayBuffer", s = e[o], c = r[o];
7630
7630
  return t({ global: !0, constructor: !0, forced: c !== s }, {
7631
7631
  ArrayBuffer: s
7632
7632
  }), a(o), hS;
@@ -7651,7 +7651,7 @@ function q8() {
7651
7651
  }
7652
7652
  q8();
7653
7653
  var NS = {}, z1, LS;
7654
- function i7() {
7654
+ function i6() {
7655
7655
  if (LS) return z1;
7656
7656
  LS = 1;
7657
7657
  var t = Nt(), r = P2(), e = da(), a = t.ArrayBuffer, o = t.TypeError;
@@ -7661,10 +7661,10 @@ function i7() {
7661
7661
  }, z1;
7662
7662
  }
7663
7663
  var q1, PS;
7664
- function a7() {
7664
+ function a6() {
7665
7665
  if (PS) return q1;
7666
7666
  PS = 1;
7667
- var t = Nt(), r = U2(), e = i7(), a = t.DataView;
7667
+ var t = Nt(), r = U2(), e = i6(), a = t.DataView;
7668
7668
  return q1 = function(o) {
7669
7669
  if (!r || e(o) !== 0) return !1;
7670
7670
  try {
@@ -7678,7 +7678,7 @@ var bS;
7678
7678
  function Z8() {
7679
7679
  if (bS) return NS;
7680
7680
  bS = 1;
7681
- var t = ir(), r = Gi(), e = a7(), a = ArrayBuffer.prototype;
7681
+ var t = ir(), r = Gi(), e = a6(), a = ArrayBuffer.prototype;
7682
7682
  return t && !("detached" in a) && r(a, "detached", {
7683
7683
  configurable: !0,
7684
7684
  get: function() {
@@ -7691,14 +7691,14 @@ var MS = {}, Z1, wS;
7691
7691
  function W8() {
7692
7692
  if (wS) return Z1;
7693
7693
  wS = 1;
7694
- var t = a7(), r = TypeError;
7694
+ var t = a6(), r = TypeError;
7695
7695
  return Z1 = function(e) {
7696
7696
  if (t(e)) throw new r("ArrayBuffer is detached");
7697
7697
  return e;
7698
7698
  }, Z1;
7699
7699
  }
7700
7700
  var W1, xS;
7701
- function o7() {
7701
+ function o6() {
7702
7702
  if (xS) return W1;
7703
7703
  xS = 1;
7704
7704
  var t = Nt(), r = hl(), e = da(), a = function(o) {
@@ -7712,7 +7712,7 @@ var Y1, kS;
7712
7712
  function Y8() {
7713
7713
  if (kS) return Y1;
7714
7714
  kS = 1;
7715
- var t = o7();
7715
+ var t = o6();
7716
7716
  return Y1 = t === "NODE", Y1;
7717
7717
  }
7718
7718
  var K1, HS;
@@ -7734,10 +7734,10 @@ function K8() {
7734
7734
  }, K1;
7735
7735
  }
7736
7736
  var X1, FS;
7737
- function s7() {
7737
+ function s6() {
7738
7738
  if (FS) return X1;
7739
7739
  FS = 1;
7740
- var t = Nt(), r = kt(), e = Ec(), a = o7(), o = t.structuredClone;
7740
+ var t = Nt(), r = kt(), e = Ec(), a = o6(), o = t.structuredClone;
7741
7741
  return X1 = !!o && !r(function() {
7742
7742
  if (a === "DENO" && e > 92 || a === "NODE" && e > 94 || a === "BROWSER" && e > 97) return !1;
7743
7743
  var s = new ArrayBuffer(8), c = o(s, { transfer: [s] });
@@ -7748,7 +7748,7 @@ var Q1, VS;
7748
7748
  function X8() {
7749
7749
  if (VS) return Q1;
7750
7750
  VS = 1;
7751
- var t = Nt(), r = K8(), e = s7(), a = t.structuredClone, o = t.ArrayBuffer, s = t.MessageChannel, c = !1, d, p, f, m;
7751
+ var t = Nt(), r = K8(), e = s6(), a = t.structuredClone, o = t.ArrayBuffer, s = t.MessageChannel, c = !1, d, p, f, m;
7752
7752
  if (e)
7753
7753
  c = function(v) {
7754
7754
  a(v, { transfer: [v] });
@@ -7762,10 +7762,10 @@ function X8() {
7762
7762
  return Q1 = c, Q1;
7763
7763
  }
7764
7764
  var J1, US;
7765
- function l7() {
7765
+ function l6() {
7766
7766
  if (US) return J1;
7767
7767
  US = 1;
7768
- var t = Nt(), r = Ot(), e = P2(), a = j2(), o = W8(), s = i7(), c = X8(), d = s7(), p = t.structuredClone, f = t.ArrayBuffer, m = t.DataView, v = Math.min, C = f.prototype, S = m.prototype, g = r(C.slice), R = e(C, "resizable", "get"), A = e(C, "maxByteLength", "get"), P = r(S.getInt8), L = r(S.setInt8);
7768
+ var t = Nt(), r = Ot(), e = P2(), a = j2(), o = W8(), s = i6(), c = X8(), d = s6(), p = t.structuredClone, f = t.ArrayBuffer, m = t.DataView, v = Math.min, C = f.prototype, S = m.prototype, g = r(C.slice), R = e(C, "resizable", "get"), A = e(C, "maxByteLength", "get"), P = r(S.getInt8), L = r(S.setInt8);
7769
7769
  return J1 = (d || c) && function(O, y, M) {
7770
7770
  var U = s(O), w = y === void 0 ? U : a(y), B = !R || !R(O), j;
7771
7771
  if (o(O), d && (O = p(O, { transfer: [O] }), U === w && (M || B)))
@@ -7784,7 +7784,7 @@ var jS;
7784
7784
  function Q8() {
7785
7785
  if (jS) return MS;
7786
7786
  jS = 1;
7787
- var t = ar(), r = l7();
7787
+ var t = ar(), r = l6();
7788
7788
  return r && t({ target: "ArrayBuffer", proto: !0 }, {
7789
7789
  transfer: function() {
7790
7790
  return r(this, arguments.length ? arguments[0] : void 0, !0);
@@ -7796,7 +7796,7 @@ var $S = {}, BS;
7796
7796
  function J8() {
7797
7797
  if (BS) return $S;
7798
7798
  BS = 1;
7799
- var t = ar(), r = l7();
7799
+ var t = ar(), r = l6();
7800
7800
  return r && t({ target: "ArrayBuffer", proto: !0 }, {
7801
7801
  transferToFixedLength: function() {
7802
7802
  return r(this, arguments.length ? arguments[0] : void 0, !1);
@@ -7991,7 +7991,7 @@ function nN() {
7991
7991
  }, ip;
7992
7992
  }
7993
7993
  var ap, KS;
7994
- function u7() {
7994
+ function u6() {
7995
7995
  if (KS) return ap;
7996
7996
  KS = 1;
7997
7997
  var t = nN(), r = RangeError;
@@ -8015,7 +8015,7 @@ var sp, QS;
8015
8015
  function B2() {
8016
8016
  if (QS) return sp;
8017
8017
  QS = 1;
8018
- var t = Ot(), r = kt(), e = fr(), a = pa(), o = _a(), s = z6(), c = function() {
8018
+ var t = Ot(), r = kt(), e = fr(), a = pa(), o = _a(), s = z7(), c = function() {
8019
8019
  }, d = o("Reflect", "construct"), p = /^\s*(?:class|function)\b/, f = t(p.exec), m = !p.test(c), v = function(g) {
8020
8020
  if (!e(g)) return !1;
8021
8021
  try {
@@ -8055,7 +8055,7 @@ function aN() {
8055
8055
  }, lp;
8056
8056
  }
8057
8057
  var up, eg;
8058
- function c7() {
8058
+ function c6() {
8059
8059
  if (eg) return up;
8060
8060
  eg = 1;
8061
8061
  var t = pa();
@@ -8068,7 +8068,7 @@ var cp, tg;
8068
8068
  function G2() {
8069
8069
  if (tg) return cp;
8070
8070
  tg = 1;
8071
- var t = j6(), r = TypeError;
8071
+ var t = j7(), r = TypeError;
8072
8072
  return cp = function(e) {
8073
8073
  var a = t(e, "number");
8074
8074
  if (typeof a == "number") throw new r("Can't convert number to bigint");
@@ -8079,7 +8079,7 @@ var fp, rg;
8079
8079
  function oN() {
8080
8080
  if (rg) return fp;
8081
8081
  rg = 1;
8082
- var t = Ka(), r = dr(), e = aN(), a = Bn(), o = En(), s = Ac(), c = gl(), d = V2(), p = c7(), f = qn().aTypedArrayConstructor, m = G2();
8082
+ var t = Ka(), r = dr(), e = aN(), a = Bn(), o = En(), s = Ac(), c = gl(), d = V2(), p = c6(), f = qn().aTypedArrayConstructor, m = G2();
8083
8083
  return fp = function(C) {
8084
8084
  var S = e(this), g = a(C), R = arguments.length, A = R > 1 ? arguments[1] : void 0, P = A !== void 0, L = c(g), O, y, M, U, w, B, j, G;
8085
8085
  if (L && !d(L))
@@ -8169,7 +8169,7 @@ function uN() {
8169
8169
  }, pp;
8170
8170
  }
8171
8171
  var hp, og;
8172
- function f7() {
8172
+ function f6() {
8173
8173
  if (og) return hp;
8174
8174
  og = 1;
8175
8175
  var t = En();
@@ -8182,7 +8182,7 @@ var sg;
8182
8182
  function cN() {
8183
8183
  if (sg) return Hu.exports;
8184
8184
  sg = 1;
8185
- var t = ar(), r = Nt(), e = dr(), a = ir(), o = tN(), s = qn(), c = $2(), d = Sl(), p = Wa(), f = Gn(), m = rN(), v = es(), C = j2(), S = u7(), g = iN(), R = D2(), A = an(), P = pa(), L = nn(), O = Cc(), y = Za(), M = Qo(), U = rs(), w = Z6().f, B = oN(), j = uN().forEach, G = n7(), q = Gi(), Q = ai(), ne = N2(), oe = f7(), fe = Ai(), Se = M2(), pe = fe.get, Z = fe.set, ae = fe.enforce, J = Q.f, F = ne.f, Y = r.RangeError, De = c.ArrayBuffer, Ne = De.prototype, de = c.DataView, Ue = s.NATIVE_ARRAY_BUFFER_VIEWS, We = s.TYPED_ARRAY_TAG, Oe = s.TypedArray, je = s.TypedArrayPrototype, Qe = s.isTypedArray, tt = "BYTES_PER_ELEMENT", ct = "Wrong length", yt = function(Lt, dt) {
8185
+ var t = ar(), r = Nt(), e = dr(), a = ir(), o = tN(), s = qn(), c = $2(), d = Sl(), p = Wa(), f = Gn(), m = rN(), v = es(), C = j2(), S = u6(), g = iN(), R = D2(), A = an(), P = pa(), L = nn(), O = Cc(), y = Za(), M = Qo(), U = rs(), w = Z7().f, B = oN(), j = uN().forEach, G = n6(), q = Gi(), Q = ai(), ne = N2(), oe = f6(), fe = Ai(), Se = M2(), pe = fe.get, Z = fe.set, ae = fe.enforce, J = Q.f, F = ne.f, Y = r.RangeError, De = c.ArrayBuffer, Ne = De.prototype, de = c.DataView, Ue = s.NATIVE_ARRAY_BUFFER_VIEWS, We = s.TYPED_ARRAY_TAG, Oe = s.TypedArray, je = s.TypedArrayPrototype, Qe = s.isTypedArray, tt = "BYTES_PER_ELEMENT", ct = "Wrong length", yt = function(Lt, dt) {
8186
8186
  q(Lt, dt, {
8187
8187
  configurable: !0,
8188
8188
  get: function() {
@@ -8280,7 +8280,7 @@ var fg = {}, dg;
8280
8280
  function _N() {
8281
8281
  if (dg) return fg;
8282
8282
  dg = 1;
8283
- var t = qn(), r = r7(), e = G2(), a = pa(), o = dr(), s = Ot(), c = kt(), d = t.aTypedArray, p = t.exportTypedArrayMethod, f = s("".slice), m = c(function() {
8283
+ var t = qn(), r = r6(), e = G2(), a = pa(), o = dr(), s = Ot(), c = kt(), d = t.aTypedArray, p = t.exportTypedArrayMethod, f = s("".slice), m = c(function() {
8284
8284
  var v = 0;
8285
8285
  return new Int8Array(2).fill({ valueOf: function() {
8286
8286
  return v++;
@@ -8295,7 +8295,7 @@ function _N() {
8295
8295
  }
8296
8296
  _N();
8297
8297
  var _g = {}, mp, pg;
8298
- function d7() {
8298
+ function d6() {
8299
8299
  if (pg) return mp;
8300
8300
  pg = 1;
8301
8301
  var t = Ka(), r = hc(), e = Bn(), a = En(), o = function(s) {
@@ -8325,7 +8325,7 @@ var hg;
8325
8325
  function pN() {
8326
8326
  if (hg) return _g;
8327
8327
  hg = 1;
8328
- var t = qn(), r = d7().findLast, e = t.aTypedArray, a = t.exportTypedArrayMethod;
8328
+ var t = qn(), r = d6().findLast, e = t.aTypedArray, a = t.exportTypedArrayMethod;
8329
8329
  return a("findLast", function(s) {
8330
8330
  return r(e(this), s, arguments.length > 1 ? arguments[1] : void 0);
8331
8331
  }), _g;
@@ -8335,7 +8335,7 @@ var mg = {}, Eg;
8335
8335
  function hN() {
8336
8336
  if (Eg) return mg;
8337
8337
  Eg = 1;
8338
- var t = qn(), r = d7().findLastIndex, e = t.aTypedArray, a = t.exportTypedArrayMethod;
8338
+ var t = qn(), r = d6().findLastIndex, e = t.aTypedArray, a = t.exportTypedArrayMethod;
8339
8339
  return a("findLastIndex", function(s) {
8340
8340
  return r(e(this), s, arguments.length > 1 ? arguments[1] : void 0);
8341
8341
  }), mg;
@@ -8345,7 +8345,7 @@ var Cg = {}, vg;
8345
8345
  function mN() {
8346
8346
  if (vg) return Cg;
8347
8347
  vg = 1;
8348
- var t = Nt(), r = dr(), e = qn(), a = En(), o = u7(), s = Bn(), c = kt(), d = t.RangeError, p = t.Int8Array, f = p && p.prototype, m = f && f.set, v = e.aTypedArray, C = e.exportTypedArrayMethod, S = !c(function() {
8348
+ var t = Nt(), r = dr(), e = qn(), a = En(), o = u6(), s = Bn(), c = kt(), d = t.RangeError, p = t.Int8Array, f = p && p.prototype, m = f && f.set, v = e.aTypedArray, C = e.exportTypedArrayMethod, S = !c(function() {
8349
8349
  var R = new Uint8ClampedArray(2);
8350
8350
  return r(m, R, { length: 1, 0: 3 }, 1), R[1] !== 3;
8351
8351
  }), g = S && e.NATIVE_ARRAY_BUFFER_VIEWS && c(function() {
@@ -8382,21 +8382,21 @@ function z2() {
8382
8382
  return Ep = e, Ep;
8383
8383
  }
8384
8384
  var Cp, Ig;
8385
- function _7() {
8385
+ function _6() {
8386
8386
  if (Ig) return Cp;
8387
8387
  Ig = 1;
8388
8388
  var t = hl(), r = t.match(/firefox\/(\d+)/i);
8389
8389
  return Cp = !!r && +r[1], Cp;
8390
8390
  }
8391
8391
  var vp, Rg;
8392
- function p7() {
8392
+ function p6() {
8393
8393
  if (Rg) return vp;
8394
8394
  Rg = 1;
8395
8395
  var t = hl();
8396
8396
  return vp = /MSIE|Trident/.test(t), vp;
8397
8397
  }
8398
8398
  var Sp, Ag;
8399
- function h7() {
8399
+ function h6() {
8400
8400
  if (Ag) return Sp;
8401
8401
  Ag = 1;
8402
8402
  var t = hl(), r = t.match(/AppleWebKit\/(\d+)\./);
@@ -8406,7 +8406,7 @@ var Dg;
8406
8406
  function EN() {
8407
8407
  if (Dg) return Sg;
8408
8408
  Dg = 1;
8409
- var t = Nt(), r = F2(), e = kt(), a = mn(), o = z2(), s = qn(), c = _7(), d = p7(), p = Ec(), f = h7(), m = s.aTypedArray, v = s.exportTypedArrayMethod, C = t.Uint16Array, S = C && r(C.prototype.sort), g = !!S && !(e(function() {
8409
+ var t = Nt(), r = F2(), e = kt(), a = mn(), o = z2(), s = qn(), c = _6(), d = p6(), p = Ec(), f = h6(), m = s.aTypedArray, v = s.exportTypedArrayMethod, C = t.Uint16Array, S = C && r(C.prototype.sort), g = !!S && !(e(function() {
8410
8410
  S(new C(2), null);
8411
8411
  }) && e(function() {
8412
8412
  S(new C(2), {});
@@ -8456,7 +8456,7 @@ var Ng = {}, Lg;
8456
8456
  function SN() {
8457
8457
  if (Lg) return Ng;
8458
8458
  Lg = 1;
8459
- var t = qn(), r = Ot(), e = mn(), a = f7(), o = t.aTypedArray, s = t.getTypedArrayConstructor, c = t.exportTypedArrayMethod, d = r(t.TypedArrayPrototype.sort);
8459
+ var t = qn(), r = Ot(), e = mn(), a = f6(), o = t.aTypedArray, s = t.getTypedArrayConstructor, c = t.exportTypedArrayMethod, d = r(t.TypedArrayPrototype.sort);
8460
8460
  return c("toSorted", function(f) {
8461
8461
  f !== void 0 && e(f);
8462
8462
  var m = o(this), v = a(s(m), m);
@@ -8480,7 +8480,7 @@ var Mg;
8480
8480
  function IN() {
8481
8481
  if (Mg) return Pg;
8482
8482
  Mg = 1;
8483
- var t = gN(), r = qn(), e = c7(), a = Ri(), o = G2(), s = r.aTypedArray, c = r.getTypedArrayConstructor, d = r.exportTypedArrayMethod, p = !!function() {
8483
+ var t = gN(), r = qn(), e = c6(), a = Ri(), o = G2(), s = r.aTypedArray, c = r.getTypedArrayConstructor, d = r.exportTypedArrayMethod, p = !!function() {
8484
8484
  try {
8485
8485
  new Int8Array(1).with(2, { valueOf: function() {
8486
8486
  throw 8;
@@ -8495,8 +8495,8 @@ function IN() {
8495
8495
  }, !p), Pg;
8496
8496
  }
8497
8497
  IN();
8498
- var cr = /* @__PURE__ */ ((t) => (t.WASM_ERROR = "WASM_ERROR", t.WASM_LICENSE = "WASM_LICENSE", t.FILE_SIZE = "FILE_SIZE", t.INCORRECT_FILE = "INCORRECT_FILE", t.INCORRECT_SCENARIO = "INCORRECT_SCENARIO", t.MISSING_SCENARIO = "MISSING_SCENARIO", t.UNKNOWN_ERROR = "UNKNOWN_ERROR", t.NOT_SUPPORTED = "NOT_SUPPORTED", t.CAMERA_UNKNOWN_ERROR = "CAMERA_UNKNOWN_ERROR", t.CAMERA_PERMISSION_DENIED = "CAMERA_PERMISSION_DENIED", t.NO_CAMERA = "NO_CAMERA", t.INCORRECT_CAMERA_ID = "INCORRECT_CAMERA_ID", t.CONNECTION_ERROR = "CONNECTION_ERROR", t.HTTP_NOT_SUPPORTED = "HTTP_NOT_SUPPORTED", t.INSECURE_PAGE_CONTEXT = "INSECURE_PAGE_CONTEXT", t.BAD_CONFIGURATION = "BAD_CONFIGURATION", t))(cr || {}), It = /* @__PURE__ */ ((t) => (t.ELEMENT_VISIBLE = "ELEMENT_VISIBLE", t.PRESS_CAMERA_BUTTON = "PRESS_CAMERA_BUTTON", t.PRESS_FILE_BUTTON = "PRESS_FILE_BUTTON", t.PRESS_RETRY_BUTTON = "PRESS_RETRY_BUTTON", t.PRESS_SKIP_BUTTON = "PRESS_SKIP_BUTTON", t.PRESS_CAPTURE_BUTTON = "PRESS_CAPTURE_BUTTON", t.PRESS_CHANGE_CAMERA_BUTTON = "PRESS_CHANGE_CAMERA_BUTTON", t.PRESS_REMOTE_DEVICE_BUTTON = "PRESS_REMOTE_DEVICE_BUTTON", t.PRESS_MIRRORING_BUTTON = "PRESS_MIRRORING_BUTTON", t.NEW_PAGE_AVAILABLE = "NEW_PAGE_AVAILABLE", t.NEW_PAGE_STARTED = "NEW_PAGE_STARTED", t.CLOSE = "CLOSE", t.CAMERA_PROCESS_CLOSED = "CAMERA_PROCESS_CLOSED", t.CAMERA_PROCESS_STARTED = "CAMERA_PROCESS_STARTED", t.VIDEO_STARTED = "VIDEO_STARTED", t.VIDEO_STOPPED = "VIDEO_STOPPED", t.FILE_PROCESS_STARTED = "FILE_PROCESS_STARTED", t.PROCESS_FINISHED = "PROCESS_FINISHED", t.SERVICE_INITIALIZED = "SERVICE_INITIALIZED", t.REMOTE_TRANSACTION_UPLOADED = "REMOTE_TRANSACTION_UPLOADED", t.REMOTE_PROCESS_FINISHED = "REMOTE_PROCESS_FINISHED", t))(It || {}), ft = /* @__PURE__ */ ((t) => (t.FINDING = "FINDING", t.PROCESSING = "PROCESSING", t.SUCCESS = "SUCCESS", t.FAILED = "FAILED", t.RESOLUTION = "RESOLUTION", t.GLARE = "GLARE", t.FOCUS = "FOCUS", t.SHAKING = "SHAKING", t.HOLD = "HOLD", t.SERVICE_PREPARING = "SERVICE_PREPARING", t.START_NEXT_PAGE = "START_NEXT_PAGE", t.SNAPSHOT = "SNAPSHOT", t.TIMEOUT = "TIMEOUT", t))(ft || {}), fa = /* @__PURE__ */ ((t) => (t.auto = "auto", t.captureVideo = "captureVideo", t.captureFrame = "captureFrame", t))(fa || {}), xe = /* @__PURE__ */ ((t) => (t.CHOOSE_INPUT_SOURCE = "CHOOSE_INPUT_SOURCE", t.CAMERA_PROCESSING = "CAMERA_PROCESSING", t.FILE_PROCESSING = "FILE_PROCESSING", t.API_PROCESSING = "API_PROCESSING", t.REMOTE_SCANNER = "REMOTE_SCANNER", t.PROCESSING = "PROCESSING", t.SUCCESS = "SUCCESS", t.DELEGATE_SUCCESS = "DELEGATE_SUCCESS", t.FAILED = "FAILED", t.FILE_SIZE_ERROR = "FILE_SIZE_ERROR", t.WASM_DEFAULT_ERROR = "WASM_DEFAULT_ERROR", t.NOT_SUPPORTED_ERROR = "NOT_SUPPORTED_ERROR", t.WASM_LICENSE_ERROR = "WASM_LICENSE_ERROR", t.INCORRECT_FILE_ERROR = "INCORRECT_FILE_ERROR", t.UNKNOWN_ERROR = "UNKNOWN_ERROR", t.TIMEOUT = "TIMEOUT", t.CAMERA_PERMISSION_DENIED_ERROR = "CAMERA_PERMISSION_DENIED_ERROR", t.HTTP_NOT_SUPPORTED_ERROR = "HTTP_NOT_SUPPORTED_ERROR", t.INSECURE_PAGE_CONTEXT_ERROR = "INSECURE_PAGE_CONTEXT_ERROR", t.NO_CAMERA_ERROR = "NO_CAMERA_ERROR", t.INCORRECT_CAMERA_ID_ERROR = "INCORRECT_CAMERA_ID_ERROR", t.CONFIGURATION_ERROR = "CONFIGURATION_ERROR", t))(xe || {}), ji = /* @__PURE__ */ ((t) => (t.CHECKING = "CHECKING", t.AVAILABLE = "AVAILABLE", t.NOT_AVAILABLE = "NOT_AVAILABLE", t.ERROR = "ERROR", t))(ji || {}), Tn = /* @__PURE__ */ ((t) => (t.locale = "locale", t.multiple = "multiple", t.license = "license", t.copyright = "copyright", t.startScreen = "start-screen", t.internalScenario = "internal-scenario", t.multipageProcessing = "multipage-processing", t.cameraId = "camera-id", t.changeCamera = "change-camera", t.closeButton = "close-button", t.captureButton = "capture-button", t))(Tn || {}), Fi = /* @__PURE__ */ ((t) => (t.locale = "locale", t.multiple = "multiple", t.copyright = "copyright", t.startScreen = "start-screen", t.cameraId = "camera-id", t.changeCamera = "change-camera", t.closeButton = "close-button", t))(Fi || {}), RN = /* @__PURE__ */ ((t) => (t.MrzAndLocate = "MrzAndLocate", t.MrzOrLocate = "MrzOrLocate", t.Mrz = "Mrz", t.Locate = "Locate", t.Barcode = "Barcode", t.MrzOrBarcode = "MrzOrBarcode", t.BarcodeAndLocate = "BarcodeAndLocate", t))(RN || {}), Un = /* @__PURE__ */ ((t) => (t[t.prepare = 12e3] = "prepare", t[t.initialize = 12100] = "initialize", t[t.process = 12101] = "process", t[t.processImage = 12104] = "processImage", t[t.startNewPage = 12106] = "startNewPage", t[t.startNewDocument = 12105] = "startNewDocument", t[t.createBackendTransaction = 12125] = "createBackendTransaction", t[t.finalizePackage = 12122] = "finalizePackage", t[t.addDataToPackage = 12121] = "addDataToPackage", t))(Un || {}), Ys = /* @__PURE__ */ ((t) => (t.line = "line", t.corners = "corners", t))(Ys || {}), m7 = /* @__PURE__ */ ((t) => (t.butt = "butt", t.round = "round", t.square = "square", t))(m7 || {}), GE = /* @__PURE__ */ ((t) => (t[t.ok = 0] = "ok", t[t.unsupportedCommand = 1] = "unsupportedCommand", t[t.badInputData = 2] = "badInputData", t[t.finished = 3] = "finished", t[t.currentlyUnavailable = 4] = "currentlyUnavailable", t[t.badLicense = 5] = "badLicense", t[t.alreadyDone = 6] = "alreadyDone", t))(GE || {}), AN = /* @__PURE__ */ ((t) => (t.Glares = "glaresCheck", t.Focus = "focusCheck", t.Resolution = "dpiThreshold", t.Perspective = "perspectiveCheck", t.Bounds = "documentPosition", t.Portrait = "portraitCheck", t.Brightness = "brightnessCheck", t))(AN || {}), oc = /* @__PURE__ */ ((t) => (t[t.STARTED = 0] = "STARTED", t[t.UPLOADED = 1] = "UPLOADED", t[t.PROCESSED = 2] = "PROCESSED", t))(oc || {});
8499
- const DN = "document-reader", TN = "camera-snapshot", ON = 2.5, yN = 60, NN = 1, E7 = 25e6, LN = 536870912, PN = 5, bN = 15, MN = 5, wN = 0.5, xN = "rgba(255, 255, 255, 0.9)", kN = "rgba(30, 130, 76, 0.9)", HN = "rgba(27, 16, 31, 0.5)", FN = "white", VN = "#8C8C8C", UN = "Capture", C7 = 1500, v7 = 1500, jN = 1500, S7 = {
8498
+ var cr = /* @__PURE__ */ ((t) => (t.WASM_ERROR = "WASM_ERROR", t.WASM_LICENSE = "WASM_LICENSE", t.FILE_SIZE = "FILE_SIZE", t.INCORRECT_FILE = "INCORRECT_FILE", t.INCORRECT_SCENARIO = "INCORRECT_SCENARIO", t.MISSING_SCENARIO = "MISSING_SCENARIO", t.UNKNOWN_ERROR = "UNKNOWN_ERROR", t.NOT_SUPPORTED = "NOT_SUPPORTED", t.CAMERA_UNKNOWN_ERROR = "CAMERA_UNKNOWN_ERROR", t.CAMERA_PERMISSION_DENIED = "CAMERA_PERMISSION_DENIED", t.NO_CAMERA = "NO_CAMERA", t.INCORRECT_CAMERA_ID = "INCORRECT_CAMERA_ID", t.CONNECTION_ERROR = "CONNECTION_ERROR", t.HTTP_NOT_SUPPORTED = "HTTP_NOT_SUPPORTED", t.INSECURE_PAGE_CONTEXT = "INSECURE_PAGE_CONTEXT", t.BAD_CONFIGURATION = "BAD_CONFIGURATION", t))(cr || {}), It = /* @__PURE__ */ ((t) => (t.ELEMENT_VISIBLE = "ELEMENT_VISIBLE", t.PRESS_CAMERA_BUTTON = "PRESS_CAMERA_BUTTON", t.PRESS_FILE_BUTTON = "PRESS_FILE_BUTTON", t.PRESS_RETRY_BUTTON = "PRESS_RETRY_BUTTON", t.PRESS_SKIP_BUTTON = "PRESS_SKIP_BUTTON", t.PRESS_CAPTURE_BUTTON = "PRESS_CAPTURE_BUTTON", t.PRESS_CHANGE_CAMERA_BUTTON = "PRESS_CHANGE_CAMERA_BUTTON", t.PRESS_REMOTE_DEVICE_BUTTON = "PRESS_REMOTE_DEVICE_BUTTON", t.PRESS_MIRRORING_BUTTON = "PRESS_MIRRORING_BUTTON", t.NEW_PAGE_AVAILABLE = "NEW_PAGE_AVAILABLE", t.NEW_PAGE_STARTED = "NEW_PAGE_STARTED", t.CLOSE = "CLOSE", t.CAMERA_PROCESS_CLOSED = "CAMERA_PROCESS_CLOSED", t.CAMERA_PROCESS_STARTED = "CAMERA_PROCESS_STARTED", t.VIDEO_STARTED = "VIDEO_STARTED", t.VIDEO_STOPPED = "VIDEO_STOPPED", t.FILE_PROCESS_STARTED = "FILE_PROCESS_STARTED", t.PROCESS_FINISHED = "PROCESS_FINISHED", t.SERVICE_INITIALIZED = "SERVICE_INITIALIZED", t.REMOTE_TRANSACTION_UPLOADED = "REMOTE_TRANSACTION_UPLOADED", t.REMOTE_PROCESS_FINISHED = "REMOTE_PROCESS_FINISHED", t))(It || {}), ft = /* @__PURE__ */ ((t) => (t.FINDING = "FINDING", t.PROCESSING = "PROCESSING", t.SUCCESS = "SUCCESS", t.FAILED = "FAILED", t.RESOLUTION = "RESOLUTION", t.GLARE = "GLARE", t.FOCUS = "FOCUS", t.SHAKING = "SHAKING", t.HOLD = "HOLD", t.SERVICE_PREPARING = "SERVICE_PREPARING", t.START_NEXT_PAGE = "START_NEXT_PAGE", t.SNAPSHOT = "SNAPSHOT", t.TIMEOUT = "TIMEOUT", t))(ft || {}), fa = /* @__PURE__ */ ((t) => (t.auto = "auto", t.captureVideo = "captureVideo", t.captureFrame = "captureFrame", t))(fa || {}), xe = /* @__PURE__ */ ((t) => (t.CHOOSE_INPUT_SOURCE = "CHOOSE_INPUT_SOURCE", t.CAMERA_PROCESSING = "CAMERA_PROCESSING", t.FILE_PROCESSING = "FILE_PROCESSING", t.API_PROCESSING = "API_PROCESSING", t.REMOTE_SCANNER = "REMOTE_SCANNER", t.PROCESSING = "PROCESSING", t.SUCCESS = "SUCCESS", t.DELEGATE_SUCCESS = "DELEGATE_SUCCESS", t.FAILED = "FAILED", t.FILE_SIZE_ERROR = "FILE_SIZE_ERROR", t.WASM_DEFAULT_ERROR = "WASM_DEFAULT_ERROR", t.NOT_SUPPORTED_ERROR = "NOT_SUPPORTED_ERROR", t.WASM_LICENSE_ERROR = "WASM_LICENSE_ERROR", t.INCORRECT_FILE_ERROR = "INCORRECT_FILE_ERROR", t.UNKNOWN_ERROR = "UNKNOWN_ERROR", t.TIMEOUT = "TIMEOUT", t.CAMERA_PERMISSION_DENIED_ERROR = "CAMERA_PERMISSION_DENIED_ERROR", t.HTTP_NOT_SUPPORTED_ERROR = "HTTP_NOT_SUPPORTED_ERROR", t.INSECURE_PAGE_CONTEXT_ERROR = "INSECURE_PAGE_CONTEXT_ERROR", t.NO_CAMERA_ERROR = "NO_CAMERA_ERROR", t.INCORRECT_CAMERA_ID_ERROR = "INCORRECT_CAMERA_ID_ERROR", t.CONFIGURATION_ERROR = "CONFIGURATION_ERROR", t))(xe || {}), ji = /* @__PURE__ */ ((t) => (t.CHECKING = "CHECKING", t.AVAILABLE = "AVAILABLE", t.NOT_AVAILABLE = "NOT_AVAILABLE", t.ERROR = "ERROR", t))(ji || {}), Tn = /* @__PURE__ */ ((t) => (t.locale = "locale", t.multiple = "multiple", t.license = "license", t.copyright = "copyright", t.startScreen = "start-screen", t.internalScenario = "internal-scenario", t.multipageProcessing = "multipage-processing", t.cameraId = "camera-id", t.changeCamera = "change-camera", t.closeButton = "close-button", t.captureButton = "capture-button", t))(Tn || {}), Fi = /* @__PURE__ */ ((t) => (t.locale = "locale", t.multiple = "multiple", t.copyright = "copyright", t.startScreen = "start-screen", t.cameraId = "camera-id", t.changeCamera = "change-camera", t.closeButton = "close-button", t))(Fi || {}), RN = /* @__PURE__ */ ((t) => (t.MrzAndLocate = "MrzAndLocate", t.MrzOrLocate = "MrzOrLocate", t.Mrz = "Mrz", t.Locate = "Locate", t.Barcode = "Barcode", t.MrzOrBarcode = "MrzOrBarcode", t.BarcodeAndLocate = "BarcodeAndLocate", t))(RN || {}), Un = /* @__PURE__ */ ((t) => (t[t.prepare = 12e3] = "prepare", t[t.initialize = 12100] = "initialize", t[t.process = 12101] = "process", t[t.processImage = 12104] = "processImage", t[t.startNewPage = 12106] = "startNewPage", t[t.startNewDocument = 12105] = "startNewDocument", t[t.createBackendTransaction = 12125] = "createBackendTransaction", t[t.finalizePackage = 12122] = "finalizePackage", t[t.addDataToPackage = 12121] = "addDataToPackage", t))(Un || {}), Ys = /* @__PURE__ */ ((t) => (t.line = "line", t.corners = "corners", t))(Ys || {}), m6 = /* @__PURE__ */ ((t) => (t.butt = "butt", t.round = "round", t.square = "square", t))(m6 || {}), GE = /* @__PURE__ */ ((t) => (t[t.ok = 0] = "ok", t[t.unsupportedCommand = 1] = "unsupportedCommand", t[t.badInputData = 2] = "badInputData", t[t.finished = 3] = "finished", t[t.currentlyUnavailable = 4] = "currentlyUnavailable", t[t.badLicense = 5] = "badLicense", t[t.alreadyDone = 6] = "alreadyDone", t))(GE || {}), AN = /* @__PURE__ */ ((t) => (t.Glares = "glaresCheck", t.Focus = "focusCheck", t.Resolution = "dpiThreshold", t.Perspective = "perspectiveCheck", t.Bounds = "documentPosition", t.Portrait = "portraitCheck", t.Brightness = "brightnessCheck", t))(AN || {}), oc = /* @__PURE__ */ ((t) => (t[t.STARTED = 0] = "STARTED", t[t.UPLOADED = 1] = "UPLOADED", t[t.PROCESSED = 2] = "PROCESSED", t))(oc || {});
8499
+ const DN = "document-reader", TN = "camera-snapshot", ON = 2.5, yN = 60, NN = 1, E6 = 25e6, LN = 536870912, PN = 5, bN = 15, MN = 5, wN = 0.5, xN = "rgba(255, 255, 255, 0.9)", kN = "rgba(30, 130, 76, 0.9)", HN = "rgba(27, 16, 31, 0.5)", FN = "white", VN = "#8C8C8C", UN = "Capture", C6 = 1500, v6 = 1500, jN = 1500, S6 = {
8500
8500
  FILE_SIZE: "FILE_SIZE_ERROR",
8501
8501
  WASM_ERROR: "WASM_DEFAULT_ERROR",
8502
8502
  NOT_SUPPORTED: "NOT_SUPPORTED_ERROR",
@@ -8520,7 +8520,7 @@ const DN = "document-reader", TN = "camera-snapshot", ON = 2.5, yN = 60, NN = 1,
8520
8520
  4: "Command can not be processed at this moment, bad initial state.",
8521
8521
  5: "License max tags per container exceeded.",
8522
8522
  6: "The command has already been executed."
8523
- }, g7 = {
8523
+ }, g6 = {
8524
8524
  iOS: {
8525
8525
  Chrome: 99,
8526
8526
  Firefox: 99,
@@ -8593,8 +8593,8 @@ const DN = "document-reader", TN = "camera-snapshot", ON = 2.5, yN = 60, NN = 1,
8593
8593
  returnUncroppedImage: !0
8594
8594
  }
8595
8595
  }, ZN = ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/bmp"];
8596
- var Ba = /* @__PURE__ */ ((t) => (t.UINT = "UINT", t.BASE64 = "BASE64", t.UINT_AND_BASE64 = "UINT_AND_BASE64", t))(Ba || {}), $i = /* @__PURE__ */ ((t) => (t[t.EMPTY = -1] = "EMPTY", t[t.ERROR = 0] = "ERROR", t[t.OK = 1] = "OK", t[t.TIMEOUT = 2] = "TIMEOUT", t))($i || {}), Wt = /* @__PURE__ */ ((t) => (t.PREPARING = "StreamStatus.PREPARING", t.REQUESTING = "StreamStatus.REQUESTING", t.READY = "StreamStatus.READY", t.PLAY = "StreamStatus.PLAY", t.UNKNOWN_ERROR = "StreamStatus.UNKNOWN_ERROR", t.NOT_SUPPORTED = "StreamStatus.NOT_SUPPORTED", t.HTTP_NOT_SUPPORTED = "StreamStatus.HTTP_NOT_SUPPORTED", t.INSECURE_PAGE_CONTEXT = "StreamStatus.INSECURE_PAGE_CONTEXT", t.PERMISSION_DENIED = "StreamStatus.PERMISSION_DENIED", t.NO_CAMERA = "StreamStatus.NO_CAMERA", t.INCORRECT_CAMERA_ID = "StreamStatus.INCORRECT_CAMERA_ID", t))(Wt || {}), Nn = /* @__PURE__ */ ((t) => (t.user = "user", t.environment = "environment", t))(Nn || {}), sc = /* @__PURE__ */ ((t) => (t.contain = "contain", t.cover = "cover", t))(sc || {}), I7 = /* @__PURE__ */ ((t) => (t[t.HAVE_NOTHING = 0] = "HAVE_NOTHING", t[t.HAVE_METADATA = 1] = "HAVE_METADATA", t[t.HAVE_CURRENT_DATA = 2] = "HAVE_CURRENT_DATA", t[t.HAVE_FUTURE_DATA = 3] = "HAVE_FUTURE_DATA", t[t.HAVE_ENOUGH_DATA = 4] = "HAVE_ENOUGH_DATA", t))(I7 || {}), On = /* @__PURE__ */ ((t) => (t.stdout = "stdout", t.stderr = "stderr", t.custom = "custom", t.gl = "gl", t.init = "worker-init", t))(On || {}), zE = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(zE || {}), qE = /* @__PURE__ */ ((t) => (t.mirror = "mirror", t.noMirror = "noMirror", t))(qE || {});
8597
- const R7 = "NotAllowedError", wg = "en", WN = ["ar", "he"], YN = 1, A7 = 500, KN = 1500, xg = 1e4, Ii = {
8596
+ var Ba = /* @__PURE__ */ ((t) => (t.UINT = "UINT", t.BASE64 = "BASE64", t.UINT_AND_BASE64 = "UINT_AND_BASE64", t))(Ba || {}), $i = /* @__PURE__ */ ((t) => (t[t.EMPTY = -1] = "EMPTY", t[t.ERROR = 0] = "ERROR", t[t.OK = 1] = "OK", t[t.TIMEOUT = 2] = "TIMEOUT", t))($i || {}), Wt = /* @__PURE__ */ ((t) => (t.PREPARING = "StreamStatus.PREPARING", t.REQUESTING = "StreamStatus.REQUESTING", t.READY = "StreamStatus.READY", t.PLAY = "StreamStatus.PLAY", t.UNKNOWN_ERROR = "StreamStatus.UNKNOWN_ERROR", t.NOT_SUPPORTED = "StreamStatus.NOT_SUPPORTED", t.HTTP_NOT_SUPPORTED = "StreamStatus.HTTP_NOT_SUPPORTED", t.INSECURE_PAGE_CONTEXT = "StreamStatus.INSECURE_PAGE_CONTEXT", t.PERMISSION_DENIED = "StreamStatus.PERMISSION_DENIED", t.NO_CAMERA = "StreamStatus.NO_CAMERA", t.INCORRECT_CAMERA_ID = "StreamStatus.INCORRECT_CAMERA_ID", t))(Wt || {}), Nn = /* @__PURE__ */ ((t) => (t.user = "user", t.environment = "environment", t))(Nn || {}), sc = /* @__PURE__ */ ((t) => (t.contain = "contain", t.cover = "cover", t))(sc || {}), I6 = /* @__PURE__ */ ((t) => (t[t.HAVE_NOTHING = 0] = "HAVE_NOTHING", t[t.HAVE_METADATA = 1] = "HAVE_METADATA", t[t.HAVE_CURRENT_DATA = 2] = "HAVE_CURRENT_DATA", t[t.HAVE_FUTURE_DATA = 3] = "HAVE_FUTURE_DATA", t[t.HAVE_ENOUGH_DATA = 4] = "HAVE_ENOUGH_DATA", t))(I6 || {}), On = /* @__PURE__ */ ((t) => (t.stdout = "stdout", t.stderr = "stderr", t.custom = "custom", t.gl = "gl", t.init = "worker-init", t))(On || {}), zE = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(zE || {}), qE = /* @__PURE__ */ ((t) => (t.mirror = "mirror", t.noMirror = "noMirror", t))(qE || {});
8597
+ const R6 = "NotAllowedError", wg = "en", WN = ["ar", "he"], YN = 1, A6 = 500, KN = 1500, xg = 1e4, Ii = {
8598
8598
  VGA: {
8599
8599
  width: 640,
8600
8600
  height: 480
@@ -8607,7 +8607,7 @@ const R7 = "NotAllowedError", wg = "en", WN = ["ar", "he"], YN = 1, A7 = 500, KN
8607
8607
  width: 1920,
8608
8608
  height: 1080
8609
8609
  }
8610
- }, XN = ["rear", "back", "rück", "arrière", "trasera", "trás", "traseira", "posteriore", "posterior", "后面", "後面", "背面", "后置", "後置", "背置", "задней", "الخلفية", "خلفية", "후", "arka", "achterzijde", "หลัง", "baksidan", "bagside", "sau", "bak", "tylny", "takakamera", "belakang", "אחורית", "πίσω", "spate", "hátsó", "zadní", "darrere", "zadná", "задня", "задна", "birou", "артқы", "stražnja", "belakang", "बैक"], D7 = {
8610
+ }, XN = ["rear", "back", "rück", "arrière", "trasera", "trás", "traseira", "posteriore", "posterior", "后面", "後面", "背面", "后置", "後置", "背置", "задней", "الخلفية", "خلفية", "후", "arka", "achterzijde", "หลัง", "baksidan", "bagside", "sau", "bak", "tylny", "takakamera", "belakang", "אחורית", "πίσω", "spate", "hátsó", "zadní", "darrere", "zadná", "задня", "задна", "birou", "артқы", "stražnja", "belakang", "बैक"], D6 = {
8611
8611
  "StreamStatus.UNKNOWN_ERROR": "CAMERA_UNKNOWN_ERROR",
8612
8612
  "StreamStatus.PERMISSION_DENIED": "CAMERA_PERMISSION_DENIED",
8613
8613
  "StreamStatus.NO_CAMERA": "NO_CAMERA",
@@ -8616,7 +8616,7 @@ const R7 = "NotAllowedError", wg = "en", WN = ["ar", "he"], YN = 1, A7 = 500, KN
8616
8616
  "StreamStatus.HTTP_NOT_SUPPORTED": "HTTP_NOT_SUPPORTED",
8617
8617
  "StreamStatus.INSECURE_PAGE_CONTEXT": "INSECURE_PAGE_CONTEXT"
8618
8618
  /* INSECURE_PAGE_CONTEXT */
8619
- }, T7 = "rgl-uid";
8619
+ }, T6 = "rgl-uid";
8620
8620
  var kg = {}, Rp, Hg;
8621
8621
  function QN() {
8622
8622
  if (Hg) return Rp;
@@ -8644,7 +8644,7 @@ var Vg;
8644
8644
  function eL() {
8645
8645
  if (Vg) return kg;
8646
8646
  Vg = 1;
8647
- var t = ar(), r = Ot(), e = mn(), a = Bn(), o = En(), s = QN(), c = zn(), d = kt(), p = z2(), f = JN(), m = _7(), v = p7(), C = Ec(), S = h7(), g = [], R = r(g.sort), A = r(g.push), P = d(function() {
8647
+ var t = ar(), r = Ot(), e = mn(), a = Bn(), o = En(), s = QN(), c = zn(), d = kt(), p = z2(), f = JN(), m = _6(), v = p6(), C = Ec(), S = h6(), g = [], R = r(g.sort), A = r(g.push), P = d(function() {
8648
8648
  g.sort(void 0);
8649
8649
  }), L = d(function() {
8650
8650
  g.sort(null);
@@ -8772,7 +8772,7 @@ function Z2() {
8772
8772
  }), Np = C, Np;
8773
8773
  }
8774
8774
  var qg;
8775
- function O7() {
8775
+ function O6() {
8776
8776
  if (qg) return Ug;
8777
8777
  qg = 1;
8778
8778
  var t = ar(), r = Z2();
@@ -8780,11 +8780,11 @@ function O7() {
8780
8780
  exec: r
8781
8781
  }), Ug;
8782
8782
  }
8783
- O7();
8783
+ O6();
8784
8784
  var Zg = {}, Lp, Wg;
8785
8785
  function aL() {
8786
8786
  if (Wg) return Lp;
8787
- Wg = 1, O7();
8787
+ Wg = 1, O6();
8788
8788
  var t = dr(), r = Di(), e = Z2(), a = kt(), o = Ar(), s = Gn(), c = o("species"), d = RegExp.prototype;
8789
8789
  return Lp = function(p, f, m, v) {
8790
8790
  var C = o(p), S = !a(function() {
@@ -8990,7 +8990,7 @@ var lI = {}, uI = {}, xp, cI;
8990
8990
  function pL() {
8991
8991
  if (cI) return xp;
8992
8992
  cI = 1;
8993
- var t = dr(), r = mn(), e = Sr(), a = Ya(), o = J6(), s = H2(), c = o(function() {
8993
+ var t = dr(), r = mn(), e = Sr(), a = Ya(), o = J7(), s = H2(), c = o(function() {
8994
8994
  var d = this.iterator, p = e(t(this.next, d)), f = this.done = !!p.done;
8995
8995
  if (!f) return s(d, this.mapper, [p.value, this.counter++], !0);
8996
8996
  });
@@ -9059,7 +9059,7 @@ var gI = {}, II = {}, RI = {}, AI;
9059
9059
  function gL() {
9060
9060
  if (AI) return RI;
9061
9061
  AI = 1;
9062
- var t = W2().charAt, r = zn(), e = Ai(), a = K6(), o = Ic(), s = "String Iterator", c = e.set, d = e.getterFor(s);
9062
+ var t = W2().charAt, r = zn(), e = Ai(), a = K7(), o = Ic(), s = "String Iterator", c = e.set, d = e.getterFor(s);
9063
9063
  return a(String, "String", function(p) {
9064
9064
  c(this, {
9065
9065
  type: s,
@@ -9072,7 +9072,7 @@ function gL() {
9072
9072
  }), RI;
9073
9073
  }
9074
9074
  var kp, DI;
9075
- function y7() {
9075
+ function y6() {
9076
9076
  if (DI) return kp;
9077
9077
  DI = 1;
9078
9078
  var t = kt(), r = Ar(), e = ir(), a = Bi(), o = r("iterator");
@@ -9087,7 +9087,7 @@ var Hp, TI;
9087
9087
  function IL() {
9088
9088
  if (TI) return Hp;
9089
9089
  TI = 1;
9090
- var t = ir(), r = Ot(), e = dr(), a = kt(), o = B6(), s = W6(), c = G6(), d = Bn(), p = hc(), f = Object.assign, m = Object.defineProperty, v = r([].concat);
9090
+ var t = ir(), r = Ot(), e = dr(), a = kt(), o = B7(), s = W7(), c = G7(), d = Bn(), p = hc(), f = Object.assign, m = Object.defineProperty, v = r([].concat);
9091
9091
  return Hp = !f || a(function() {
9092
9092
  if (t && f({ b: 1 }, f(m({}, "a", {
9093
9093
  enumerable: !0,
@@ -9113,7 +9113,7 @@ var Fp, OI;
9113
9113
  function RL() {
9114
9114
  if (OI) return Fp;
9115
9115
  OI = 1;
9116
- var t = Ka(), r = dr(), e = Bn(), a = H2(), o = V2(), s = B2(), c = En(), d = Q6(), p = Ac(), f = gl(), m = Array;
9116
+ var t = Ka(), r = dr(), e = Bn(), a = H2(), o = V2(), s = B2(), c = En(), d = Q7(), p = Ac(), f = gl(), m = Array;
9117
9117
  return Fp = function(C) {
9118
9118
  var S = e(C), g = s(this), R = arguments.length, A = R > 1 ? arguments[1] : void 0, P = A !== void 0;
9119
9119
  P && (A = t(A, R > 2 ? arguments[2] : void 0));
@@ -9224,10 +9224,10 @@ function TL() {
9224
9224
  }, jp;
9225
9225
  }
9226
9226
  var $p, MI;
9227
- function N7() {
9227
+ function N6() {
9228
9228
  if (MI) return $p;
9229
- MI = 1, X6(), DL();
9230
- var t = ar(), r = Nt(), e = TL(), a = _a(), o = dr(), s = Ot(), c = ir(), d = y7(), p = Di(), f = Gi(), m = x2(), v = ts(), C = Y6(), S = Ai(), g = Sl(), R = fr(), A = an(), P = Ka(), L = pa(), O = Sr(), y = nn(), M = zn(), U = Za(), w = Wa(), B = Ac(), j = gl(), G = Ic(), q = Dc(), Q = Ar(), ne = z2(), oe = Q("iterator"), fe = "URLSearchParams", Se = fe + "Iterator", pe = S.set, Z = S.getterFor(fe), ae = S.getterFor(Se), J = e("fetch"), F = e("Request"), Y = e("Headers"), De = F && F.prototype, Ne = Y && Y.prototype, de = r.TypeError, Ue = r.encodeURIComponent, We = String.fromCharCode, Oe = a("String", "fromCodePoint"), je = parseInt, Qe = s("".charAt), tt = s([].join), ct = s([].push), yt = s("".replace), Ut = s([].shift), Ft = s([].splice), Tt = s("".split), Mt = s("".slice), Lt = s(/./.exec), dt = /\+/g, At = "�", Re = /^[0-9a-f]+$/i, Le = function(Te, ke) {
9229
+ MI = 1, X7(), DL();
9230
+ var t = ar(), r = Nt(), e = TL(), a = _a(), o = dr(), s = Ot(), c = ir(), d = y6(), p = Di(), f = Gi(), m = x2(), v = ts(), C = Y7(), S = Ai(), g = Sl(), R = fr(), A = an(), P = Ka(), L = pa(), O = Sr(), y = nn(), M = zn(), U = Za(), w = Wa(), B = Ac(), j = gl(), G = Ic(), q = Dc(), Q = Ar(), ne = z2(), oe = Q("iterator"), fe = "URLSearchParams", Se = fe + "Iterator", pe = S.set, Z = S.getterFor(fe), ae = S.getterFor(Se), J = e("fetch"), F = e("Request"), Y = e("Headers"), De = F && F.prototype, Ne = Y && Y.prototype, de = r.TypeError, Ue = r.encodeURIComponent, We = String.fromCharCode, Oe = a("String", "fromCodePoint"), je = parseInt, Qe = s("".charAt), tt = s([].join), ct = s([].push), yt = s("".replace), Ut = s([].shift), Ft = s([].splice), Tt = s("".split), Mt = s("".slice), Lt = s(/./.exec), dt = /\+/g, At = "�", Re = /^[0-9a-f]+$/i, Le = function(Te, ke) {
9231
9231
  var Me = Mt(Te, ke, ke + 2);
9232
9232
  return Lt(Re, Me) ? je(Me, 16) : NaN;
9233
9233
  }, Xe = function(Te) {
@@ -9489,7 +9489,7 @@ var wI;
9489
9489
  function OL() {
9490
9490
  if (wI) return II;
9491
9491
  wI = 1, gL();
9492
- var t = ar(), r = ir(), e = y7(), a = Nt(), o = Ka(), s = Ot(), c = Di(), d = Gi(), p = Sl(), f = an(), m = IL(), v = RL(), C = Rc(), S = W2().codeAt, g = AL(), R = zn(), A = ts(), P = Dc(), L = N7(), O = Ai(), y = O.set, M = O.getterFor("URL"), U = L.URLSearchParams, w = L.getState, B = a.URL, j = a.TypeError, G = a.parseInt, q = Math.floor, Q = Math.pow, ne = s("".charAt), oe = s(/./.exec), fe = s([].join), Se = s(1 .toString), pe = s([].pop), Z = s([].push), ae = s("".replace), J = s([].shift), F = s("".split), Y = s("".slice), De = s("".toLowerCase), Ne = s([].unshift), de = "Invalid authority", Ue = "Invalid scheme", We = "Invalid host", Oe = "Invalid port", je = /[a-z]/i, Qe = /[\d+-.a-z]/i, tt = /\d/, ct = /^0x/i, yt = /^[0-7]+$/, Ut = /^\d+$/, Ft = /^[\da-f]+$/i, Tt = /[\0\t\n\r #%/:<>?@[\\\]^|]/, Mt = /[\0\t\n\r #/:<>?@[\\\]^|]/, Lt = /^[\u0000-\u0020]+/, dt = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/, At = /[\t\n\r]/g, Re, Le = function(re) {
9492
+ var t = ar(), r = ir(), e = y6(), a = Nt(), o = Ka(), s = Ot(), c = Di(), d = Gi(), p = Sl(), f = an(), m = IL(), v = RL(), C = Rc(), S = W2().codeAt, g = AL(), R = zn(), A = ts(), P = Dc(), L = N6(), O = Ai(), y = O.set, M = O.getterFor("URL"), U = L.URLSearchParams, w = L.getState, B = a.URL, j = a.TypeError, G = a.parseInt, q = Math.floor, Q = Math.pow, ne = s("".charAt), oe = s(/./.exec), fe = s([].join), Se = s(1 .toString), pe = s([].pop), Z = s([].push), ae = s("".replace), J = s([].shift), F = s("".split), Y = s("".slice), De = s("".toLowerCase), Ne = s([].unshift), de = "Invalid authority", Ue = "Invalid scheme", We = "Invalid host", Oe = "Invalid port", je = /[a-z]/i, Qe = /[\d+-.a-z]/i, tt = /\d/, ct = /^0x/i, yt = /^[0-7]+$/, Ut = /^\d+$/, Ft = /^[\da-f]+$/i, Tt = /[\0\t\n\r #%/:<>?@[\\\]^|]/, Mt = /[\0\t\n\r #/:<>?@[\\\]^|]/, Lt = /^[\u0000-\u0020]+/, dt = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/, At = /[\t\n\r]/g, Re, Le = function(re) {
9493
9493
  var Ie = F(re, "."), le, W, he, ot, Ge, Gt, ht;
9494
9494
  if (Ie.length && Ie[Ie.length - 1] === "" && Ie.length--, le = Ie.length, le > 4) return re;
9495
9495
  for (W = [], he = 0; he < le; he++) {
@@ -10035,7 +10035,7 @@ function NL() {
10035
10035
  NL();
10036
10036
  var FI = {}, VI;
10037
10037
  function LL() {
10038
- return VI || (VI = 1, N7()), FI;
10038
+ return VI || (VI = 1, N6()), FI;
10039
10039
  }
10040
10040
  LL();
10041
10041
  var UI = {}, jI;
@@ -10885,7 +10885,7 @@ function YE(t, r, e) {
10885
10885
  throw new Error("Random bytes length must be >= 16");
10886
10886
  return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, VL(a);
10887
10887
  }
10888
- const L7 = (t) => {
10888
+ const L6 = (t) => {
10889
10889
  switch (t) {
10890
10890
  case "":
10891
10891
  case "true":
@@ -10897,7 +10897,7 @@ const L7 = (t) => {
10897
10897
  return;
10898
10898
  }
10899
10899
  };
10900
- function P7() {
10900
+ function P6() {
10901
10901
  for (var t = arguments.length, r = new Array(t), e = 0; e < t; e++)
10902
10902
  r[e] = arguments[e];
10903
10903
  const a = [...r];
@@ -10919,14 +10919,14 @@ function KI(t, r, e, a, o, s, c, d, p) {
10919
10919
  top: O
10920
10920
  };
10921
10921
  }
10922
- function b7(t, r) {
10922
+ function b6(t, r) {
10923
10923
  return new CustomEvent(t, {
10924
10924
  bubbles: !0,
10925
10925
  composed: !0,
10926
10926
  detail: r
10927
10927
  });
10928
10928
  }
10929
- function M7() {
10929
+ function M6() {
10930
10930
  return be(this, null, function* () {
10931
10931
  const r = (yield navigator.mediaDevices.enumerateDevices()).filter((a) => a.kind === "videoinput"), e = r.every((a) => a.label !== "");
10932
10932
  return {
@@ -10939,7 +10939,7 @@ function BL(t, r) {
10939
10939
  const e = t.toLowerCase();
10940
10940
  return r.some((a) => e.includes(a));
10941
10941
  }
10942
- function w7(t) {
10942
+ function w6(t) {
10943
10943
  return be(this, null, function* () {
10944
10944
  const r = {
10945
10945
  frontCameras: [],
@@ -10958,7 +10958,7 @@ function w7(t) {
10958
10958
  return r;
10959
10959
  });
10960
10960
  }
10961
- function x7(t, r, e) {
10961
+ function x6(t, r, e) {
10962
10962
  const a = [...r.frontCameras, ...r.backCameras];
10963
10963
  if (!a.length)
10964
10964
  return {
@@ -11000,7 +11000,7 @@ function x7(t, r, e) {
11000
11000
  const KE = (t) => {
11001
11001
  t.getTracks().forEach((r) => r.stop());
11002
11002
  };
11003
- function k7(t, r, e) {
11003
+ function k6(t, r, e) {
11004
11004
  return be(this, null, function* () {
11005
11005
  const a = {
11006
11006
  status: Wt.PREPARING,
@@ -11063,7 +11063,7 @@ function Tc(t, r) {
11063
11063
  videoWidth: o,
11064
11064
  readyState: s
11065
11065
  } = t;
11066
- if (a && o && s === I7.HAVE_ENOUGH_DATA) {
11066
+ if (a && o && s === I6.HAVE_ENOUGH_DATA) {
11067
11067
  const c = document.createElement("canvas");
11068
11068
  c.width = o, c.height = a;
11069
11069
  const d = c.getContext("2d", {
@@ -11093,12 +11093,12 @@ function rn(t, r) {
11093
11093
  }
11094
11094
  return a;
11095
11095
  }
11096
- function H7(t) {
11096
+ function H6(t) {
11097
11097
  return be(this, null, function* () {
11098
11098
  return new Promise((r) => setTimeout(r, t));
11099
11099
  });
11100
11100
  }
11101
- const F7 = (t) => {
11101
+ const F6 = (t) => {
11102
11102
  let r;
11103
11103
  try {
11104
11104
  var e;
@@ -11223,7 +11223,7 @@ function QL() {
11223
11223
  }, []);
11224
11224
  return _e.useEffect(() => {
11225
11225
  let S = !0;
11226
- return M7().then((g) => {
11226
+ return M6().then((g) => {
11227
11227
  Ha("Video devices: ".concat(JSON.stringify(g))), S && (Ha(g.isCameraAllowed ? "Preparing the camera" : "Requesting the camera"), c((R) => Fn(Fn({}, R), {}, {
11228
11228
  status: g.isCameraAllowed ? Wt.PREPARING : Wt.REQUESTING
11229
11229
  })), p(g));
@@ -11237,11 +11237,11 @@ function QL() {
11237
11237
  }, []), _e.useEffect(() => {
11238
11238
  let S = !0;
11239
11239
  if (!(!d || f))
11240
- return w7(d).then((g) => {
11240
+ return w6(d).then((g) => {
11241
11241
  Ha("Sorted cameras: ".concat(JSON.stringify(g))), S && m(g);
11242
11242
  }).catch((g) => {
11243
11243
  if (Ha("Error sorting cameras: ".concat(g)), !!S) {
11244
- if (g instanceof Error && g.name === R7)
11244
+ if (g instanceof Error && g.name === R6)
11245
11245
  return c((R) => Fn(Fn({}, R), {}, {
11246
11246
  status: Wt.PERMISSION_DENIED
11247
11247
  }));
@@ -11257,9 +11257,9 @@ function QL() {
11257
11257
  const g = a === Wt.PREPARING || a === Wt.REQUESTING;
11258
11258
  return !f || !g ? void 0 : (be(this, null, function* () {
11259
11259
  try {
11260
- const A = ur.isFirefox ? A7 : 0;
11261
- yield H7(A);
11262
- const P = x7(t, f, e), L = yield k7(r, P, e);
11260
+ const A = ur.isFirefox ? A6 : 0;
11261
+ yield H6(A);
11262
+ const P = x6(t, f, e), L = yield k6(r, P, e);
11263
11263
  if (Ha("Selected camera: ".concat(JSON.stringify(P))), S)
11264
11264
  v.current = L.camera.deviceId, c(L);
11265
11265
  else {
@@ -11400,7 +11400,7 @@ class n9 {
11400
11400
  });
11401
11401
  }
11402
11402
  }
11403
- const V7 = _e.forwardRef(function(r, e) {
11403
+ const V6 = _e.forwardRef(function(r, e) {
11404
11404
  let {
11405
11405
  onVideoStatusChange: a,
11406
11406
  onVideoSizeChange: o,
@@ -11466,7 +11466,7 @@ const V7 = _e.forwardRef(function(r, e) {
11466
11466
  }
11467
11467
  U.current.init(A);
11468
11468
  }
11469
- const fe = D7[R];
11469
+ const fe = D6[R];
11470
11470
  d && fe && d(fe), a({
11471
11471
  videoStatus: R,
11472
11472
  camera: P,
@@ -11563,9 +11563,9 @@ function m9(t) {
11563
11563
  };
11564
11564
  }
11565
11565
  }
11566
- const E9 = on.create("main"), U7 = _e.createContext({
11566
+ const E9 = on.create("main"), U6 = _e.createContext({
11567
11567
  onEvent: () => E9('Function "onEvent" not defined.')
11568
- }), Dr = () => _e.useContext(U7);
11568
+ }), Dr = () => _e.useContext(U6);
11569
11569
  function C9(t) {
11570
11570
  let {
11571
11571
  layoutParams: r,
@@ -11575,7 +11575,7 @@ function C9(t) {
11575
11575
  const {
11576
11576
  backgroundMaskAlpha: o = wN,
11577
11577
  cameraFrameShapeType: s = Ys.line,
11578
- cameraFrameLineCap: c = m7.butt,
11578
+ cameraFrameLineCap: c = m6.butt,
11579
11579
  cameraFrameLineLength: d = MN,
11580
11580
  cameraFrameCornerRadius: p = bN
11581
11581
  } = Dr(), [f, m] = _e.useState(null);
@@ -11625,7 +11625,7 @@ function XE() {
11625
11625
  return t;
11626
11626
  }, XE.apply(null, arguments);
11627
11627
  }
11628
- function j7(t, r) {
11628
+ function j6(t, r) {
11629
11629
  if (t == null) return {};
11630
11630
  var e = {};
11631
11631
  for (var a in t) if ({}.hasOwnProperty.call(t, a)) {
@@ -11654,11 +11654,11 @@ function JI(t, r) {
11654
11654
  function g9(t, r) {
11655
11655
  t.classList ? t.classList.remove(r) : typeof t.className == "string" ? t.className = JI(t.className, r) : t.setAttribute("class", JI(t.className && t.className.baseVal || "", r));
11656
11656
  }
11657
- var I9 = e7();
11657
+ var I9 = e6();
11658
11658
  const Uu = /* @__PURE__ */ _l(I9), eR = {
11659
11659
  disabled: !1
11660
11660
  }, X2 = gt.createContext(null);
11661
- var $7 = function(r) {
11661
+ var $6 = function(r) {
11662
11662
  return r.scrollTop;
11663
11663
  }, Qs = "unmounted", Va = "exited", jn = "entering", gi = "entered", ll = "exiting", zi = /* @__PURE__ */ function(t) {
11664
11664
  K2(r, t);
@@ -11700,7 +11700,7 @@ var $7 = function(r) {
11700
11700
  if (this.cancelNextCallback(), s === jn) {
11701
11701
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
11702
11702
  var c = this.props.nodeRef ? this.props.nodeRef.current : Uu.findDOMNode(this);
11703
- c && $7(c);
11703
+ c && $6(c);
11704
11704
  }
11705
11705
  this.performEnter(o);
11706
11706
  } else
@@ -11779,7 +11779,7 @@ var $7 = function(r) {
11779
11779
  return null;
11780
11780
  var s = this.props, c = s.children;
11781
11781
  s.in, s.mountOnEnter, s.unmountOnExit, s.appear, s.enter, s.exit, s.timeout, s.addEndListener, s.onEnter, s.onEntering, s.onEntered, s.onExit, s.onExiting, s.onExited, s.nodeRef;
11782
- var d = j7(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
11782
+ var d = j6(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
11783
11783
  return (
11784
11784
  // allows for nested Transitions
11785
11785
  /* @__PURE__ */ gt.createElement(X2.Provider, {
@@ -11860,14 +11860,14 @@ var R9 = function(r, e) {
11860
11860
  var e = r.prototype;
11861
11861
  return e.addClass = function(o, s, c) {
11862
11862
  var d = this.getClassNames(s)[c + "ClassName"], p = this.getClassNames("enter"), f = p.doneClassName;
11863
- s === "appear" && c === "done" && f && (d += " " + f), c === "active" && o && $7(o), d && (this.appliedClasses[s][c] = d, R9(o, d));
11863
+ s === "appear" && c === "done" && f && (d += " " + f), c === "active" && o && $6(o), d && (this.appliedClasses[s][c] = d, R9(o, d));
11864
11864
  }, e.removeClasses = function(o, s) {
11865
11865
  var c = this.appliedClasses[s], d = c.base, p = c.active, f = c.done;
11866
11866
  this.appliedClasses[s] = {}, d && Gp(o, d), p && Gp(o, p), f && Gp(o, f);
11867
11867
  }, e.render = function() {
11868
11868
  var o = this.props;
11869
11869
  o.classNames;
11870
- var s = j7(o, ["classNames"]);
11870
+ var s = j6(o, ["classNames"]);
11871
11871
  return /* @__PURE__ */ gt.createElement(zi, XE({}, s, {
11872
11872
  onEnter: this.onEnter,
11873
11873
  onEntered: this.onEntered,
@@ -13098,7 +13098,7 @@ var ha = dP();
13098
13098
  const _P = "_copyright_71w1z_1", pP = {
13099
13099
  copyright: _P
13100
13100
  };
13101
- function B7(t) {
13101
+ function B6(t) {
13102
13102
  var r;
13103
13103
  let {
13104
13104
  className: e
@@ -13135,10 +13135,10 @@ const rR = {
13135
13135
  const {
13136
13136
  flipFrontIcon: c,
13137
13137
  flipBackIcon: d,
13138
- nextPageAnimationStartDelay: p = v7
13138
+ nextPageAnimationStartDelay: p = v6
13139
13139
  } = Dr(), f = (s == null ? void 0 : s.length) === 1, m = f && s[0] === 2, v = rR[(a = s == null ? void 0 : s[0]) !== null && a !== void 0 ? a : 11], C = {
13140
13140
  "--animation-delay": p + "ms",
13141
- "--animation-duration": C7 + "ms"
13141
+ "--animation-duration": C6 + "ms"
13142
13142
  };
13143
13143
  if (f)
13144
13144
  return /* @__PURE__ */ h.jsx("div", { ref: e, className: "".concat(Yt["one-side"], " ").concat(m ? Yt.slide : ""), style: C, children: /* @__PURE__ */ h.jsx(_n, { type: v }) });
@@ -13184,7 +13184,7 @@ function mP(t) {
13184
13184
  color: m
13185
13185
  }, children: /* @__PURE__ */ h.jsx("p", { part: "hint-status-message-title", className: Yt.title, children: L(a) }) }) })
13186
13186
  ] }) }, r ? "flip-icon" : "message-container") }),
13187
- /* @__PURE__ */ h.jsx(B7, { className: Yt.copyright })
13187
+ /* @__PURE__ */ h.jsx(B6, { className: Yt.copyright })
13188
13188
  ] });
13189
13189
  }
13190
13190
  function EP(t) {
@@ -13271,10 +13271,10 @@ function e3(t) {
13271
13271
  return /* @__PURE__ */ h.jsxs("div", { part: "container", className: "".concat(zp.window, " ").concat(s != null ? s : ""), "data-direction": a, children: [
13272
13272
  o && /* @__PURE__ */ h.jsx("div", { part: "container-header", className: zp.header, children: c && /* @__PURE__ */ h.jsx("button", { part: "container-close-button", "data-e2e": "cross", onClick: r, children: /* @__PURE__ */ h.jsx(_n, { type: "cross", color: VN }) }) }),
13273
13273
  e,
13274
- o && /* @__PURE__ */ h.jsx("div", { part: "container-footer", className: zp.footer, children: /* @__PURE__ */ h.jsx(B7, {}) })
13274
+ o && /* @__PURE__ */ h.jsx("div", { part: "container-footer", className: zp.footer, children: /* @__PURE__ */ h.jsx(B6, {}) })
13275
13275
  ] });
13276
13276
  }
13277
- function G7(t) {
13277
+ function G6(t) {
13278
13278
  let {
13279
13279
  status: r,
13280
13280
  children: e,
@@ -13349,7 +13349,7 @@ function G7(t) {
13349
13349
  ] });
13350
13350
  }
13351
13351
  var aR = {}, qp, oR;
13352
- function z7() {
13352
+ function z6() {
13353
13353
  return oR || (oR = 1, qp = `
13354
13354
  \v\f\r                 \u2028\u2029\uFEFF`), qp;
13355
13355
  }
@@ -13357,7 +13357,7 @@ var Zp, sR;
13357
13357
  function DP() {
13358
13358
  if (sR) return Zp;
13359
13359
  sR = 1;
13360
- var t = Ot(), r = Xo(), e = zn(), a = z7(), o = t("".replace), s = RegExp("^[" + a + "]+"), c = RegExp("(^|[^" + a + "])[" + a + "]+$"), d = function(p) {
13360
+ var t = Ot(), r = Xo(), e = zn(), a = z6(), o = t("".replace), s = RegExp("^[" + a + "]+"), c = RegExp("(^|[^" + a + "])[" + a + "]+$"), d = function(p) {
13361
13361
  return function(f) {
13362
13362
  var m = e(r(f));
13363
13363
  return p & 1 && (m = o(m, s, "")), p & 2 && (m = o(m, c, "$1")), m;
@@ -13379,7 +13379,7 @@ var Wp, lR;
13379
13379
  function TP() {
13380
13380
  if (lR) return Wp;
13381
13381
  lR = 1;
13382
- var t = Sc().PROPER, r = kt(), e = z7(), a = "​…᠎";
13382
+ var t = Sc().PROPER, r = kt(), e = z6(), a = "​…᠎";
13383
13383
  return Wp = function(o) {
13384
13384
  return r(function() {
13385
13385
  return !!e[o]() || a[o]() !== a || t && e[o].name !== o;
@@ -13496,7 +13496,7 @@ class Kt {
13496
13496
  cR(this, "type", void 0), cR(this, "details", void 0), this.type = r, this.details = e;
13497
13497
  }
13498
13498
  }
13499
- function q7(t, r) {
13499
+ function q6(t, r) {
13500
13500
  return function() {
13501
13501
  return t.apply(r, arguments);
13502
13502
  };
@@ -13508,12 +13508,12 @@ const { toString: bP } = Object.prototype, { getPrototypeOf: t3 } = Object, Oc =
13508
13508
  function MP(t) {
13509
13509
  return t !== null && !ul(t) && t.constructor !== null && !ul(t.constructor) && Ln(t.constructor.isBuffer) && t.constructor.isBuffer(t);
13510
13510
  }
13511
- const Z7 = oi("ArrayBuffer");
13511
+ const Z6 = oi("ArrayBuffer");
13512
13512
  function wP(t) {
13513
13513
  let r;
13514
- return typeof ArrayBuffer != "undefined" && ArrayBuffer.isView ? r = ArrayBuffer.isView(t) : r = t && t.buffer && Z7(t.buffer), r;
13514
+ return typeof ArrayBuffer != "undefined" && ArrayBuffer.isView ? r = ArrayBuffer.isView(t) : r = t && t.buffer && Z6(t.buffer), r;
13515
13515
  }
13516
- const xP = yc("string"), Ln = yc("function"), W7 = yc("number"), Nc = (t) => t !== null && typeof t == "object", kP = (t) => t === !0 || t === !1, ec = (t) => {
13516
+ const xP = yc("string"), Ln = yc("function"), W6 = yc("number"), Nc = (t) => t !== null && typeof t == "object", kP = (t) => t === !0 || t === !1, ec = (t) => {
13517
13517
  if (Oc(t) !== "object")
13518
13518
  return !1;
13519
13519
  const r = t3(t);
@@ -13537,7 +13537,7 @@ function Al(t, r, { allOwnKeys: e = !1 } = {}) {
13537
13537
  d = s[a], r.call(null, t[d], d, t);
13538
13538
  }
13539
13539
  }
13540
- function Y7(t, r) {
13540
+ function Y6(t, r) {
13541
13541
  r = r.toLowerCase();
13542
13542
  const e = Object.keys(t);
13543
13543
  let a = e.length, o;
@@ -13546,10 +13546,10 @@ function Y7(t, r) {
13546
13546
  return o;
13547
13547
  return null;
13548
13548
  }
13549
- const Ua = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, K7 = (t) => !ul(t) && t !== Ua;
13549
+ const Ua = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, K6 = (t) => !ul(t) && t !== Ua;
13550
13550
  function JE() {
13551
- const { caseless: t } = K7(this) && this || {}, r = {}, e = (a, o) => {
13552
- const s = t && Y7(r, o) || o;
13551
+ const { caseless: t } = K6(this) && this || {}, r = {}, e = (a, o) => {
13552
+ const s = t && Y6(r, o) || o;
13553
13553
  ec(r[s]) && ec(a) ? r[s] = JE(r[s], a) : ec(a) ? r[s] = JE({}, a) : ns(a) ? r[s] = a.slice() : r[s] = a;
13554
13554
  };
13555
13555
  for (let a = 0, o = arguments.length; a < o; a++)
@@ -13557,7 +13557,7 @@ function JE() {
13557
13557
  return r;
13558
13558
  }
13559
13559
  const YP = (t, r, e, { allOwnKeys: a } = {}) => (Al(r, (o, s) => {
13560
- e && Ln(o) ? t[s] = q7(o, e) : t[s] = o;
13560
+ e && Ln(o) ? t[s] = q6(o, e) : t[s] = o;
13561
13561
  }, { allOwnKeys: a }), t), KP = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), XP = (t, r, e, a) => {
13562
13562
  t.prototype = Object.create(r.prototype, a), t.prototype.constructor = t, Object.defineProperty(t, "super", {
13563
13563
  value: r.prototype
@@ -13580,7 +13580,7 @@ const YP = (t, r, e, { allOwnKeys: a } = {}) => (Al(r, (o, s) => {
13580
13580
  if (!t) return null;
13581
13581
  if (ns(t)) return t;
13582
13582
  let r = t.length;
13583
- if (!W7(r)) return null;
13583
+ if (!W6(r)) return null;
13584
13584
  const e = new Array(r);
13585
13585
  for (; r-- > 0; )
13586
13586
  e[r] = t[r];
@@ -13603,14 +13603,14 @@ const YP = (t, r, e, { allOwnKeys: a } = {}) => (Al(r, (o, s) => {
13603
13603
  function(e, a, o) {
13604
13604
  return a.toUpperCase() + o;
13605
13605
  }
13606
- ), fR = (({ hasOwnProperty: t }) => (r, e) => t.call(r, e))(Object.prototype), ob = oi("RegExp"), X7 = (t, r) => {
13606
+ ), fR = (({ hasOwnProperty: t }) => (r, e) => t.call(r, e))(Object.prototype), ob = oi("RegExp"), X6 = (t, r) => {
13607
13607
  const e = Object.getOwnPropertyDescriptors(t), a = {};
13608
13608
  Al(e, (o, s) => {
13609
13609
  let c;
13610
13610
  (c = r(o, s, t)) !== !1 && (a[s] = c || o);
13611
13611
  }), Object.defineProperties(t, a);
13612
13612
  }, sb = (t) => {
13613
- X7(t, (r, e) => {
13613
+ X6(t, (r, e) => {
13614
13614
  if (Ln(t) && ["arguments", "caller", "callee"].indexOf(e) !== -1)
13615
13615
  return !1;
13616
13616
  const a = t[e];
@@ -13653,21 +13653,21 @@ const db = (t) => {
13653
13653
  return a;
13654
13654
  };
13655
13655
  return e(t, 0);
13656
- }, _b = oi("AsyncFunction"), pb = (t) => t && (Nc(t) || Ln(t)) && Ln(t.then) && Ln(t.catch), Q7 = ((t, r) => t ? setImmediate : r ? ((e, a) => (Ua.addEventListener("message", ({ source: o, data: s }) => {
13656
+ }, _b = oi("AsyncFunction"), pb = (t) => t && (Nc(t) || Ln(t)) && Ln(t.then) && Ln(t.catch), Q6 = ((t, r) => t ? setImmediate : r ? ((e, a) => (Ua.addEventListener("message", ({ source: o, data: s }) => {
13657
13657
  o === Ua && s === e && a.length && a.shift()();
13658
13658
  }, !1), (o) => {
13659
13659
  a.push(o), Ua.postMessage(e, "*");
13660
13660
  }))(`axios@${Math.random()}`, []) : (e) => setTimeout(e))(
13661
13661
  typeof setImmediate == "function",
13662
13662
  Ln(Ua.postMessage)
13663
- ), hb = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(Ua) : typeof process != "undefined" && process.nextTick || Q7, ce = {
13663
+ ), hb = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(Ua) : typeof process != "undefined" && process.nextTick || Q6, ce = {
13664
13664
  isArray: ns,
13665
- isArrayBuffer: Z7,
13665
+ isArrayBuffer: Z6,
13666
13666
  isBuffer: MP,
13667
13667
  isFormData: $P,
13668
13668
  isArrayBufferView: wP,
13669
13669
  isString: xP,
13670
- isNumber: W7,
13670
+ isNumber: W6,
13671
13671
  isBoolean: kP,
13672
13672
  isObject: Nc,
13673
13673
  isPlainObject: ec,
@@ -13702,20 +13702,20 @@ const db = (t) => {
13702
13702
  hasOwnProperty: fR,
13703
13703
  hasOwnProp: fR,
13704
13704
  // an alias to avoid ESLint no-prototype-builtins detection
13705
- reduceDescriptors: X7,
13705
+ reduceDescriptors: X6,
13706
13706
  freezeMethods: sb,
13707
13707
  toObjectSet: lb,
13708
13708
  toCamelCase: ab,
13709
13709
  noop: ub,
13710
13710
  toFiniteNumber: cb,
13711
- findKey: Y7,
13711
+ findKey: Y6,
13712
13712
  global: Ua,
13713
- isContextDefined: K7,
13713
+ isContextDefined: K6,
13714
13714
  isSpecCompliantForm: fb,
13715
13715
  toJSONObject: db,
13716
13716
  isAsyncFn: _b,
13717
13717
  isThenable: pb,
13718
- setImmediate: Q7,
13718
+ setImmediate: Q6,
13719
13719
  asap: hb
13720
13720
  };
13721
13721
  function Et(t, r, e, a, o) {
@@ -13742,7 +13742,7 @@ ce.inherits(Et, Error, {
13742
13742
  };
13743
13743
  }
13744
13744
  });
13745
- const J7 = Et.prototype, eD = {};
13745
+ const J6 = Et.prototype, eD = {};
13746
13746
  [
13747
13747
  "ERR_BAD_OPTION_VALUE",
13748
13748
  "ERR_BAD_OPTION",
@@ -13761,9 +13761,9 @@ const J7 = Et.prototype, eD = {};
13761
13761
  eD[t] = { value: t };
13762
13762
  });
13763
13763
  Object.defineProperties(Et, eD);
13764
- Object.defineProperty(J7, "isAxiosError", { value: !0 });
13764
+ Object.defineProperty(J6, "isAxiosError", { value: !0 });
13765
13765
  Et.from = (t, r, e, a, o, s) => {
13766
- const c = Object.create(J7);
13766
+ const c = Object.create(J6);
13767
13767
  return ce.toFlatObject(t, c, function(p) {
13768
13768
  return p !== Error.prototype;
13769
13769
  }, (d) => d !== "isAxiosError"), Et.call(c, t.message, r, e, a, o), c.cause = t, c.name = t.name, s && Object.assign(c, s), c;
@@ -15162,7 +15162,7 @@ Object.entries(i2).forEach(([t, r]) => {
15162
15162
  i2[r] = t;
15163
15163
  });
15164
15164
  function hD(t) {
15165
- const r = new ja(t), e = q7(ja.prototype.request, r);
15165
+ const r = new ja(t), e = q6(ja.prototype.request, r);
15166
15166
  return ce.extend(e, ja.prototype, r, { allOwnKeys: !0 }), ce.extend(e, r, null, { allOwnKeys: !0 }), e.create = function(o) {
15167
15167
  return hD(Ga(t, o));
15168
15168
  }, e;
@@ -17294,7 +17294,7 @@ function $w(t, r, e, a, o) {
17294
17294
  internalScenario: p,
17295
17295
  cameraFrame: f = !0,
17296
17296
  videoCaptureMotionControl: m,
17297
- nextPageAnimationStartDelay: v = v7,
17297
+ nextPageAnimationStartDelay: v = v6,
17298
17298
  nextPageAnimationEndDelay: C = jN
17299
17299
  } = Dr(), {
17300
17300
  isShake: S
@@ -17352,9 +17352,9 @@ function $w(t, r, e, a, o) {
17352
17352
  }), J = {
17353
17353
  platform: "Web",
17354
17354
  osVersion: "".concat(ur.osVersion),
17355
- sdkVersion: "7.7.2196-rc".trim(),
17355
+ sdkVersion: "7.7.2197".trim(),
17356
17356
  hostAppId: (Z = s.recognizerProcessParam.processParam.backendProcessing) === null || Z === void 0 ? void 0 : Z.serviceURL,
17357
- userID: F7(T7),
17357
+ userID: F6(T6),
17358
17358
  deviceModel: "".concat(ur.osName, "/").concat(ur.osVersion, " ").concat(ur.browserName, "/").concat(ur.fullBrowserVersion),
17359
17359
  hostAppVersion: "".concat(ur.browserName, "/").concat(ur.fullBrowserVersion),
17360
17360
  currentCameraInfo: {
@@ -17419,7 +17419,7 @@ function $w(t, r, e, a, o) {
17419
17419
  status: ft.FAILED
17420
17420
  })), a(new Kt(cr.WASM_ERROR, ae));
17421
17421
  }
17422
- }), v + C7 + C);
17422
+ }), v + C6 + C);
17423
17423
  return () => {
17424
17424
  clearTimeout(Z);
17425
17425
  };
@@ -17635,7 +17635,7 @@ function Zw(t) {
17635
17635
  data: null
17636
17636
  });
17637
17637
  };
17638
- return _e.useMemo(() => /* @__PURE__ */ h.jsx(G7, { mirroring: M, onChangeMirroring: Y, status: ne, videoStatusParams: j, frameParams: fe, videoElementParams: w, onProcessClose: De, onClose: o, onSnapshotProcess: Ue, onSkip: Ne, onChangeCamera: de, captureButton: Oe, animationImage: pe, children: Z === ji.NOT_AVAILABLE ? /* @__PURE__ */ h.jsx(V7, { onVideoSizeChange: B, onVideoStatusChange: G, resolution: P, onFailStatus: We, mode: v || Nn.environment, cameraId: q, onRecordService: J, videoRecord: C, onVideoStarted: je, onVideoStopped: Qe, onMirroringChange: U, mirrorType: S, ref: O }) : null }), [q, M, Ue, ne, j, fe, De, de, w, Oe, P, v, C, pe, Z]);
17638
+ return _e.useMemo(() => /* @__PURE__ */ h.jsx(G6, { mirroring: M, onChangeMirroring: Y, status: ne, videoStatusParams: j, frameParams: fe, videoElementParams: w, onProcessClose: De, onClose: o, onSnapshotProcess: Ue, onSkip: Ne, onChangeCamera: de, captureButton: Oe, animationImage: pe, children: Z === ji.NOT_AVAILABLE ? /* @__PURE__ */ h.jsx(V6, { onVideoSizeChange: B, onVideoStatusChange: G, resolution: P, onFailStatus: We, mode: v || Nn.environment, cameraId: q, onRecordService: J, videoRecord: C, onVideoStarted: je, onVideoStopped: Qe, onMirroringChange: U, mirrorType: S, ref: O }) : null }), [q, M, Ue, ne, j, fe, De, de, w, Oe, P, v, C, pe, Z]);
17639
17639
  }
17640
17640
  const Ww = "_title_1cchp_18", Yw = "_subtitle_1cchp_27", Ku = {
17641
17641
  "info-message": "_info-message_1cchp_1",
@@ -17847,7 +17847,7 @@ function ox(t) {
17847
17847
  resolution: 0,
17848
17848
  bytes: 0
17849
17849
  }), O = p && L / 1024 > p;
17850
- if (P > (f || E7) || O)
17850
+ if (P > (f || E6) || O)
17851
17851
  a(new Kt(cr.FILE_SIZE));
17852
17852
  else {
17853
17853
  const M = A.map((U) => {
@@ -17944,7 +17944,7 @@ function ST(t) {
17944
17944
  }
17945
17945
  function gT(t) {
17946
17946
  function r(e) {
17947
- return /* @__PURE__ */ h.jsx(U7.Provider, { value: e, children: /* @__PURE__ */ h.jsx(t, Fe({}, e)) });
17947
+ return /* @__PURE__ */ h.jsx(U6.Provider, { value: e, children: /* @__PURE__ */ h.jsx(t, Fe({}, e)) });
17948
17948
  }
17949
17949
  return r;
17950
17950
  }
@@ -19995,10 +19995,10 @@ function zk() {
19995
19995
  });
19996
19996
  return _E = a, _E;
19997
19997
  }
19998
- var pE, e6;
19998
+ var pE, e7;
19999
19999
  function qk() {
20000
- if (e6) return pE;
20001
- e6 = 1;
20000
+ if (e7) return pE;
20001
+ e7 = 1;
20002
20002
  function t(r, e) {
20003
20003
  for (var a = -1, o = r == null ? 0 : r.length, s = Array(o); ++a < o; )
20004
20004
  s[a] = e(r[a], a, r);
@@ -20006,10 +20006,10 @@ function qk() {
20006
20006
  }
20007
20007
  return pE = t, pE;
20008
20008
  }
20009
- var hE, t6;
20009
+ var hE, t7;
20010
20010
  function Zk() {
20011
- if (t6) return hE;
20012
- t6 = 1;
20011
+ if (t7) return hE;
20012
+ t7 = 1;
20013
20013
  var t = Tl(), r = qk(), e = ma(), a = d3(), o = t ? t.prototype : void 0, s = o ? o.toString : void 0;
20014
20014
  function c(d) {
20015
20015
  if (typeof d == "string")
@@ -20023,30 +20023,30 @@ function Zk() {
20023
20023
  }
20024
20024
  return hE = c, hE;
20025
20025
  }
20026
- var mE, r6;
20026
+ var mE, r7;
20027
20027
  function Wk() {
20028
- if (r6) return mE;
20029
- r6 = 1;
20028
+ if (r7) return mE;
20029
+ r7 = 1;
20030
20030
  var t = Zk();
20031
20031
  function r(e) {
20032
20032
  return e == null ? "" : t(e);
20033
20033
  }
20034
20034
  return mE = r, mE;
20035
20035
  }
20036
- var EE, n6;
20036
+ var EE, n7;
20037
20037
  function Uc() {
20038
- if (n6) return EE;
20039
- n6 = 1;
20038
+ if (n7) return EE;
20039
+ n7 = 1;
20040
20040
  var t = ma(), r = $k(), e = zk(), a = Wk();
20041
20041
  function o(s, c) {
20042
20042
  return t(s) ? s : r(s, c) ? [s] : e(a(s));
20043
20043
  }
20044
20044
  return EE = o, EE;
20045
20045
  }
20046
- var CE, i6;
20046
+ var CE, i7;
20047
20047
  function _3() {
20048
- if (i6) return CE;
20049
- i6 = 1;
20048
+ if (i7) return CE;
20049
+ i7 = 1;
20050
20050
  var t = d3();
20051
20051
  function r(e) {
20052
20052
  if (typeof e == "string" || t(e))
@@ -20056,10 +20056,10 @@ function _3() {
20056
20056
  }
20057
20057
  return CE = r, CE;
20058
20058
  }
20059
- var vE, a6;
20059
+ var vE, a7;
20060
20060
  function Yk() {
20061
- if (a6) return vE;
20062
- a6 = 1;
20061
+ if (a7) return vE;
20062
+ a7 = 1;
20063
20063
  var t = Uc(), r = _3();
20064
20064
  function e(a, o) {
20065
20065
  o = t(o, a);
@@ -20069,10 +20069,10 @@ function Yk() {
20069
20069
  }
20070
20070
  return vE = e, vE;
20071
20071
  }
20072
- var SE, o6;
20072
+ var SE, o7;
20073
20073
  function $T() {
20074
- if (o6) return SE;
20075
- o6 = 1;
20074
+ if (o7) return SE;
20075
+ o7 = 1;
20076
20076
  var t = Qa(), r = function() {
20077
20077
  try {
20078
20078
  var e = t(Object, "defineProperty");
@@ -20082,10 +20082,10 @@ function $T() {
20082
20082
  }();
20083
20083
  return SE = r, SE;
20084
20084
  }
20085
- var gE, s6;
20085
+ var gE, s7;
20086
20086
  function Kk() {
20087
- if (s6) return gE;
20088
- s6 = 1;
20087
+ if (s7) return gE;
20088
+ s7 = 1;
20089
20089
  var t = $T();
20090
20090
  function r(e, a, o) {
20091
20091
  a == "__proto__" && t ? t(e, a, {
@@ -20097,10 +20097,10 @@ function Kk() {
20097
20097
  }
20098
20098
  return gE = r, gE;
20099
20099
  }
20100
- var IE, l6;
20100
+ var IE, l7;
20101
20101
  function Xk() {
20102
- if (l6) return IE;
20103
- l6 = 1;
20102
+ if (l7) return IE;
20103
+ l7 = 1;
20104
20104
  var t = Kk(), r = a3(), e = Object.prototype, a = e.hasOwnProperty;
20105
20105
  function o(s, c, d) {
20106
20106
  var p = s[c];
@@ -20108,10 +20108,10 @@ function Xk() {
20108
20108
  }
20109
20109
  return IE = o, IE;
20110
20110
  }
20111
- var RE, u6;
20111
+ var RE, u7;
20112
20112
  function Qk() {
20113
- if (u6) return RE;
20114
- u6 = 1;
20113
+ if (u7) return RE;
20114
+ u7 = 1;
20115
20115
  var t = Xk(), r = Uc(), e = c3(), a = o3(), o = _3();
20116
20116
  function s(c, d, p, f) {
20117
20117
  if (!a(c))
@@ -20131,10 +20131,10 @@ function Qk() {
20131
20131
  }
20132
20132
  return RE = s, RE;
20133
20133
  }
20134
- var AE, c6;
20134
+ var AE, c7;
20135
20135
  function Jk() {
20136
- if (c6) return AE;
20137
- c6 = 1;
20136
+ if (c7) return AE;
20137
+ c7 = 1;
20138
20138
  var t = Yk(), r = Qk(), e = Uc();
20139
20139
  function a(o, s, c) {
20140
20140
  for (var d = -1, p = s.length, f = {}; ++d < p; ) {
@@ -20145,19 +20145,19 @@ function Jk() {
20145
20145
  }
20146
20146
  return AE = a, AE;
20147
20147
  }
20148
- var DE, f6;
20148
+ var DE, f7;
20149
20149
  function eH() {
20150
- if (f6) return DE;
20151
- f6 = 1;
20150
+ if (f7) return DE;
20151
+ f7 = 1;
20152
20152
  function t(r, e) {
20153
20153
  return r != null && e in Object(r);
20154
20154
  }
20155
20155
  return DE = t, DE;
20156
20156
  }
20157
- var TE, d6;
20157
+ var TE, d7;
20158
20158
  function tH() {
20159
- if (d6) return TE;
20160
- d6 = 1;
20159
+ if (d7) return TE;
20160
+ d7 = 1;
20161
20161
  var t = Uc(), r = u3(), e = ma(), a = c3(), o = f3(), s = _3();
20162
20162
  function c(d, p, f) {
20163
20163
  p = t(p, d);
@@ -20171,20 +20171,20 @@ function tH() {
20171
20171
  }
20172
20172
  return TE = c, TE;
20173
20173
  }
20174
- var OE, _6;
20174
+ var OE, _7;
20175
20175
  function rH() {
20176
- if (_6) return OE;
20177
- _6 = 1;
20176
+ if (_7) return OE;
20177
+ _7 = 1;
20178
20178
  var t = eH(), r = tH();
20179
20179
  function e(a, o) {
20180
20180
  return a != null && r(a, o, t);
20181
20181
  }
20182
20182
  return OE = e, OE;
20183
20183
  }
20184
- var yE, p6;
20184
+ var yE, p7;
20185
20185
  function nH() {
20186
- if (p6) return yE;
20187
- p6 = 1;
20186
+ if (p7) return yE;
20187
+ p7 = 1;
20188
20188
  var t = Jk(), r = rH();
20189
20189
  function e(a, o) {
20190
20190
  return t(a, o, function(s, c) {
@@ -20193,20 +20193,20 @@ function nH() {
20193
20193
  }
20194
20194
  return yE = e, yE;
20195
20195
  }
20196
- var NE, h6;
20196
+ var NE, h7;
20197
20197
  function iH() {
20198
- if (h6) return NE;
20199
- h6 = 1;
20198
+ if (h7) return NE;
20199
+ h7 = 1;
20200
20200
  var t = Tl(), r = u3(), e = ma(), a = t ? t.isConcatSpreadable : void 0;
20201
20201
  function o(s) {
20202
20202
  return e(s) || r(s) || !!(a && s && s[a]);
20203
20203
  }
20204
20204
  return NE = o, NE;
20205
20205
  }
20206
- var LE, m6;
20206
+ var LE, m7;
20207
20207
  function aH() {
20208
- if (m6) return LE;
20209
- m6 = 1;
20208
+ if (m7) return LE;
20209
+ m7 = 1;
20210
20210
  var t = VT(), r = iH();
20211
20211
  function e(a, o, s, c, d) {
20212
20212
  var p = -1, f = a.length;
@@ -20218,10 +20218,10 @@ function aH() {
20218
20218
  }
20219
20219
  return LE = e, LE;
20220
20220
  }
20221
- var PE, E6;
20221
+ var PE, E7;
20222
20222
  function oH() {
20223
- if (E6) return PE;
20224
- E6 = 1;
20223
+ if (E7) return PE;
20224
+ E7 = 1;
20225
20225
  var t = aH();
20226
20226
  function r(e) {
20227
20227
  var a = e == null ? 0 : e.length;
@@ -20229,10 +20229,10 @@ function oH() {
20229
20229
  }
20230
20230
  return PE = r, PE;
20231
20231
  }
20232
- var bE, C6;
20232
+ var bE, C7;
20233
20233
  function sH() {
20234
- if (C6) return bE;
20235
- C6 = 1;
20234
+ if (C7) return bE;
20235
+ C7 = 1;
20236
20236
  function t(r, e, a) {
20237
20237
  switch (a.length) {
20238
20238
  case 0:
@@ -20248,10 +20248,10 @@ function sH() {
20248
20248
  }
20249
20249
  return bE = t, bE;
20250
20250
  }
20251
- var ME, v6;
20251
+ var ME, v7;
20252
20252
  function lH() {
20253
- if (v6) return ME;
20254
- v6 = 1;
20253
+ if (v7) return ME;
20254
+ v7 = 1;
20255
20255
  var t = sH(), r = Math.max;
20256
20256
  function e(a, o, s) {
20257
20257
  return o = r(o === void 0 ? a.length - 1 : o, 0), function() {
@@ -20265,10 +20265,10 @@ function lH() {
20265
20265
  }
20266
20266
  return ME = e, ME;
20267
20267
  }
20268
- var wE, S6;
20268
+ var wE, S7;
20269
20269
  function uH() {
20270
- if (S6) return wE;
20271
- S6 = 1;
20270
+ if (S7) return wE;
20271
+ S7 = 1;
20272
20272
  function t(r) {
20273
20273
  return function() {
20274
20274
  return r;
@@ -20276,19 +20276,19 @@ function uH() {
20276
20276
  }
20277
20277
  return wE = t, wE;
20278
20278
  }
20279
- var xE, g6;
20279
+ var xE, g7;
20280
20280
  function cH() {
20281
- if (g6) return xE;
20282
- g6 = 1;
20281
+ if (g7) return xE;
20282
+ g7 = 1;
20283
20283
  function t(r) {
20284
20284
  return r;
20285
20285
  }
20286
20286
  return xE = t, xE;
20287
20287
  }
20288
- var kE, I6;
20288
+ var kE, I7;
20289
20289
  function fH() {
20290
- if (I6) return kE;
20291
- I6 = 1;
20290
+ if (I7) return kE;
20291
+ I7 = 1;
20292
20292
  var t = uH(), r = $T(), e = cH(), a = r ? function(o, s) {
20293
20293
  return r(o, "toString", {
20294
20294
  configurable: !0,
@@ -20299,10 +20299,10 @@ function fH() {
20299
20299
  } : e;
20300
20300
  return kE = a, kE;
20301
20301
  }
20302
- var HE, R6;
20302
+ var HE, R7;
20303
20303
  function dH() {
20304
- if (R6) return HE;
20305
- R6 = 1;
20304
+ if (R7) return HE;
20305
+ R7 = 1;
20306
20306
  var t = 800, r = 16, e = Date.now;
20307
20307
  function a(o) {
20308
20308
  var s = 0, c = 0;
@@ -20318,34 +20318,34 @@ function dH() {
20318
20318
  }
20319
20319
  return HE = a, HE;
20320
20320
  }
20321
- var FE, A6;
20321
+ var FE, A7;
20322
20322
  function _H() {
20323
- if (A6) return FE;
20324
- A6 = 1;
20323
+ if (A7) return FE;
20324
+ A7 = 1;
20325
20325
  var t = fH(), r = dH(), e = r(t);
20326
20326
  return FE = e, FE;
20327
20327
  }
20328
- var VE, D6;
20328
+ var VE, D7;
20329
20329
  function pH() {
20330
- if (D6) return VE;
20331
- D6 = 1;
20330
+ if (D7) return VE;
20331
+ D7 = 1;
20332
20332
  var t = oH(), r = lH(), e = _H();
20333
20333
  function a(o) {
20334
20334
  return e(r(o, void 0, t), o + "");
20335
20335
  }
20336
20336
  return VE = a, VE;
20337
20337
  }
20338
- var UE, T6;
20338
+ var UE, T7;
20339
20339
  function hH() {
20340
- if (T6) return UE;
20341
- T6 = 1;
20340
+ if (T7) return UE;
20341
+ T7 = 1;
20342
20342
  var t = nH(), r = pH(), e = r(function(a, o) {
20343
20343
  return a == null ? {} : t(a, o);
20344
20344
  });
20345
20345
  return UE = e, UE;
20346
20346
  }
20347
20347
  var mH = hH();
20348
- const O6 = /* @__PURE__ */ _l(mH), Xu = on.create("main"), y6 = (t) => {
20348
+ const O7 = /* @__PURE__ */ _l(mH), Xu = on.create("main"), y7 = (t) => {
20349
20349
  var r;
20350
20350
  return ((r = t.recognizerProcessParam.delegateProcessing) === null || r === void 0 ? void 0 : r.httpHeaders) || {};
20351
20351
  };
@@ -20362,7 +20362,7 @@ function EH(t) {
20362
20362
  } = ha.useLocalize(), p = window.RegulaDocumentSDK, f = ((r = p.recognizerProcessParam) === null || r === void 0 ? void 0 : r.tag) || YE(), m = (((e = p.recognizerProcessParam) === null || e === void 0 || (e = e.delegateProcessing) === null || e === void 0 ? void 0 : e.delegateURL) || window.location.href).replace("{tag}", f), v = new i3({
20363
20363
  basePath: ((a = p.recognizerProcessParam.delegateProcessing) === null || a === void 0 ? void 0 : a.serviceURL) || "",
20364
20364
  baseOptions: {
20365
- headers: y6(p)
20365
+ headers: y7(p)
20366
20366
  }
20367
20367
  }), C = _e.useRef(), S = _e.useRef(), [g, R] = _e.useState(!1);
20368
20368
  return _e.useEffect(() => {
@@ -20375,9 +20375,9 @@ function EH(t) {
20375
20375
  const {
20376
20376
  data: P
20377
20377
  } = yield v.getTransactionsByTag(f, {
20378
- headers: y6(p)
20378
+ headers: y7(p)
20379
20379
  }), L = jk(P.items);
20380
- if (Xu("Remote scanner transaction data: ".concat(JSON.stringify(P))), L && (Hk(O6(L, ["id", "state"]), O6(C.current, ["id", "state"])) || (L.state === oc.UPLOADED && (c({
20380
+ if (Xu("Remote scanner transaction data: ".concat(JSON.stringify(P))), L && (Hk(O7(L, ["id", "state"]), O7(C.current, ["id", "state"])) || (L.state === oc.UPLOADED && (c({
20381
20381
  action: It.REMOTE_TRANSACTION_UPLOADED,
20382
20382
  data: L
20383
20383
  }), R(!0)), Xu("Remote scanner status: UPLOADED"), C.current = L), L.state === oc.PROCESSED && L.id)) {
@@ -20440,7 +20440,7 @@ function IH(t) {
20440
20440
  }, O = () => {
20441
20441
  R(xe.REMOTE_SCANNER);
20442
20442
  }, y = (w) => {
20443
- const B = S7[w.type] || xe.UNKNOWN_ERROR;
20443
+ const B = S6[w.type] || xe.UNKNOWN_ERROR;
20444
20444
  R(B), e({
20445
20445
  action: It.PROCESS_FINISHED,
20446
20446
  data: {
@@ -20465,9 +20465,9 @@ function IH(t) {
20465
20465
  return y(new Kt(cr.MISSING_SCENARIO, "Set processing scenario (video and image)"));
20466
20466
  if (f === xe.CONFIGURATION_ERROR)
20467
20467
  return y(new Kt(cr.BAD_CONFIGURATION, "Incorrect component configuration"));
20468
- }, [o, a, s, c, f]), /* @__PURE__ */ h.jsx(_e.StrictMode, { children: /* @__PURE__ */ h.jsx(IT, { onError: y, supportedBrowserVersions: g7, children: /* @__PURE__ */ h.jsx(e3, { showHeaderAndFooter: g !== xe.CAMERA_PROCESSING, onClose: P, direction: r, children: g === xe.CHOOSE_INPUT_SOURCE ? /* @__PURE__ */ h.jsx(vT, { onStart: A, onFileImageSet: L, allowRemote: p, onRemoteDevice: O, title: m("verifyYourIdentity"), subtitle: m(vH(ur.isMobile, s, c, p)) }) : g === xe.CAMERA_PROCESSING ? /* @__PURE__ */ h.jsx(Zw, { onStatusChange: R, onFileImageSet: L, onError: y, onClose: P }) : g === xe.FILE_PROCESSING ? /* @__PURE__ */ h.jsx(ox, { onStatusChange: R, images: C, onError: y }) : g === xe.REMOTE_SCANNER ? /* @__PURE__ */ h.jsx(EH, { onError: y, onStatusChange: R }) : g === xe.SUCCESS ? /* @__PURE__ */ h.jsx(mr, { type: "verified", title: m("done") }) : g === xe.FILE_SIZE_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("largeFile") }) : g === xe.NOT_SUPPORTED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("versionNotSupported") }) : g === xe.WASM_LICENSE_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("badLicense") }) : g === xe.INCORRECT_FILE_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("fileCorrupt") }) : g === xe.CAMERA_PERMISSION_DENIED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: m("cameraUnavailable") }) : g === xe.HTTP_NOT_SUPPORTED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("httpNotSupported") }) : g === xe.INSECURE_PAGE_CONTEXT_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("insecurePageContext") }) : g === xe.NO_CAMERA_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: m("noCameraAvailable") }) : g === xe.INCORRECT_CAMERA_ID_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: m("incorrectCameraId") }) : g === xe.TIMEOUT ? /* @__PURE__ */ h.jsx(mr, { onReset: U, type: "error", title: m("timeout") }) : g === xe.DELEGATE_SUCCESS ? /* @__PURE__ */ h.jsx(mr, { type: "verified", title: m("returnToComputer"), subtitle: m("documentCaptured") }) : g === xe.PROCESSING ? /* @__PURE__ */ h.jsx(Rl, {}) : /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("somethingWentWrong") }) }) }) });
20468
+ }, [o, a, s, c, f]), /* @__PURE__ */ h.jsx(_e.StrictMode, { children: /* @__PURE__ */ h.jsx(IT, { onError: y, supportedBrowserVersions: g6, children: /* @__PURE__ */ h.jsx(e3, { showHeaderAndFooter: g !== xe.CAMERA_PROCESSING, onClose: P, direction: r, children: g === xe.CHOOSE_INPUT_SOURCE ? /* @__PURE__ */ h.jsx(vT, { onStart: A, onFileImageSet: L, allowRemote: p, onRemoteDevice: O, title: m("verifyYourIdentity"), subtitle: m(vH(ur.isMobile, s, c, p)) }) : g === xe.CAMERA_PROCESSING ? /* @__PURE__ */ h.jsx(Zw, { onStatusChange: R, onFileImageSet: L, onError: y, onClose: P }) : g === xe.FILE_PROCESSING ? /* @__PURE__ */ h.jsx(ox, { onStatusChange: R, images: C, onError: y }) : g === xe.REMOTE_SCANNER ? /* @__PURE__ */ h.jsx(EH, { onError: y, onStatusChange: R }) : g === xe.SUCCESS ? /* @__PURE__ */ h.jsx(mr, { type: "verified", title: m("done") }) : g === xe.FILE_SIZE_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("largeFile") }) : g === xe.NOT_SUPPORTED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("versionNotSupported") }) : g === xe.WASM_LICENSE_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("badLicense") }) : g === xe.INCORRECT_FILE_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("fileCorrupt") }) : g === xe.CAMERA_PERMISSION_DENIED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: m("cameraUnavailable") }) : g === xe.HTTP_NOT_SUPPORTED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("httpNotSupported") }) : g === xe.INSECURE_PAGE_CONTEXT_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("insecurePageContext") }) : g === xe.NO_CAMERA_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: m("noCameraAvailable") }) : g === xe.INCORRECT_CAMERA_ID_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: m("incorrectCameraId") }) : g === xe.TIMEOUT ? /* @__PURE__ */ h.jsx(mr, { onReset: U, type: "error", title: m("timeout") }) : g === xe.DELEGATE_SUCCESS ? /* @__PURE__ */ h.jsx(mr, { type: "verified", title: m("returnToComputer"), subtitle: m("documentCaptured") }) : g === xe.PROCESSING ? /* @__PURE__ */ h.jsx(Rl, {}) : /* @__PURE__ */ h.jsx(mr, { type: "error", title: m("somethingWentWrong") }) }) }) });
20469
20469
  }
20470
- const RH = P7(gT, ST)(IH), BT = "*,*:before,*:after{box-sizing:border-box}:host{display:block;container-type:inline-size;container-name:host;--font-family: Inter, sans-serif;--font-size: 16px;width:100%;height:100%}._window_1q4wr_15{width:100%;height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:0 8px 16px #0000000a,0 2px 4px #00000008,0 1px 2px #00000005;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);font-family:var(--font-family);font-size:var(--font-size)}._window_1q4wr_15[data-direction=rtl]{direction:rtl}._window_1q4wr_15[data-direction=ltr]{direction:ltr}._header_1q4wr_38{display:flex;justify-content:flex-end;padding:16px 16px 0}._header_1q4wr_38 button{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease;appearance:none}._footer_1q4wr_59{display:flex;align-items:center;padding:0 16px 10px}@media (max-width: 640px){._footer_1q4wr_59{justify-content:center}}@container host (max-width: 640px){._footer_1q4wr_59{justify-content:center}}", GT = "._start-window_1an07_1{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;row-gap:1.5em;padding:1.5em}._text_1an07_11{display:flex;flex-direction:column;row-gap:1em;align-items:center;text-align:center}._text_1an07_11 ._title_1an07_19{max-width:500px;color:#000;font-size:1.25em;font-weight:600;line-height:1.25em;margin:0}._text_1an07_11 ._subtitle_1an07_28{display:block;max-width:465px;color:#454545;font-size:.875em;font-weight:400;line-height:1.25em;margin:0}._buttons_1an07_38{display:flex;width:100%;align-items:center;justify-content:center;column-gap:1em}@media (max-width: 640px){._buttons_1an07_38{flex-direction:column;row-gap:1em}._text_1an07_11 ._title_1an07_19{font-size:1.125em}}@container host (max-width: 640px){._buttons_1an07_38{flex-direction:column;row-gap:1em}._text_1an07_11 ._title_1an07_19{font-size:1.125em}}", zT = "._info-message_1cchp_1{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:1.5em}._text-container_1cchp_10{display:flex;flex-direction:column;align-items:center;word-break:break-word;row-gap:1em}._title_1cchp_18{margin:0;font-size:1.25em;font-weight:600;line-height:120%;color:#262626;text-align:center}._subtitle_1cchp_27{margin:0;font-size:1em;font-weight:400;line-height:100%;color:#454545;text-align:center}", qT = "._container_ig6pm_1{display:flex;position:relative;width:100%;height:100%}._container_ig6pm_1,._layout_ig6pm_8{overflow:hidden}._hint-container_ig6pm_12{--message-container-height: auto;--message-margin-top: 50px;--message-top: 0}._layout_ig6pm_8,._hint-container_ig6pm_12{display:flex;justify-content:center}._svg_ig6pm_23,._hint-container_ig6pm_12,._layout_ig6pm_8{position:absolute;inset:0}._svg_ig6pm_23 rect,._svg_ig6pm_23 path{transition:.25s stroke}._message-container_ig6pm_32{display:flex;flex-direction:column;height:var(--message-container-height);width:100%;max-width:370px;position:relative;align-self:center;align-items:center;margin:0 1em}._icon_ig6pm_44{position:absolute;top:50%;display:flex;justify-content:center;align-items:center;width:80px;height:80px;transform:translateY(-50%);border-radius:50%}._message_ig6pm_32{position:absolute;top:var(--message-top);left:0;right:0;display:flex;justify-content:center;margin-top:var(--message-margin-top)}._message-background_ig6pm_66{text-align:center;padding:.75em 1.5em;border-radius:6px}._tips-frameless_ig6pm_72 ._message_ig6pm_32{margin-left:36px;margin-right:36px}._title_ig6pm_77{font-weight:400;margin:0;font-size:1.125em;line-height:1.3em}._bottom-functional-buttons_ig6pm_84,._top-functional-buttons_ig6pm_84{position:absolute;padding:15px;display:flex}._buttons-left_ig6pm_90,._buttons-right_ig6pm_90,._left-functional-buttons_ig6pm_90{display:flex}div[data-orientation=landscape] ._bottom-functional-buttons_ig6pm_84,div[data-orientation=landscape] ._buttons-left_ig6pm_90,div[data-orientation=landscape] ._buttons-right_ig6pm_90{flex-direction:column}div[data-orientation=landscape] ._buttons-left_ig6pm_90 button+button,div[data-orientation=landscape] ._buttons-right_ig6pm_90 button+button,div[data-orientation=landscape] ._bottom-functional-buttons_ig6pm_84 div+div{margin-top:15px}div[data-orientation=portrait] ._left-functional-buttons_ig6pm_90 button+button{margin-bottom:15px}div[data-orientation=landscape] ._top-functional-buttons_ig6pm_84,div[data-orientation=landscape] ._left-functional-buttons_ig6pm_90,div[data-direction=rtl] div[data-orientation=portrait] ._top-functional-buttons_ig6pm_84,._bottom-functional-buttons_ig6pm_84{left:0}div[data-orientation=portrait] ._bottom-functional-buttons_ig6pm_84,div[data-direction=ltr] div[data-orientation=portrait] ._top-functional-buttons_ig6pm_84{right:0}div[data-orientation=portrait] ._bottom-functional-buttons_ig6pm_84{justify-content:space-between}div[data-direction=ltr] div[data-orientation=portrait] ._buttons-left_ig6pm_90 button+button,div[data-direction=ltr] div[data-orientation=portrait] ._buttons-right_ig6pm_90 button+button,div[data-orientation=landscape] ._left-functional-buttons_ig6pm_90 button+button{margin-left:15px}div[data-direction=rtl] div[data-orientation=portrait] ._buttons-left_ig6pm_90 button+button,div[data-direction=rtl] div[data-orientation=portrait] ._buttons-right_ig6pm_90 button+button{margin-right:15px}._left-functional-buttons_ig6pm_90{position:absolute;bottom:50%;transform:translateY(50%);padding:15px;direction:ltr}div[data-orientation=portrait] ._left-functional-buttons_ig6pm_90{bottom:0;right:50%;transform:translate(50%);flex-direction:column-reverse;z-index:1}._top-functional-buttons_ig6pm_84{top:0}._bottom-functional-buttons_ig6pm_84{bottom:0}._bottom-functional-buttons_ig6pm_84 button:not(._snapshot-button_ig6pm_161):hover,._top-functional-buttons_ig6pm_84 button:hover,._left-functional-buttons_ig6pm_90 button:hover{transform:scale(1.1)}._bottom-functional-buttons_ig6pm_84 button,._top-functional-buttons_ig6pm_84 button,._left-functional-buttons_ig6pm_90 button,._snapshot-button_ig6pm_161{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease}._snapshot-button_ig6pm_161{position:absolute;bottom:20px;left:50%;transform:translate(-50%)}._left-functional-buttons_ig6pm_90 ._skip-button_ig6pm_191{padding:0 10px;border-radius:6px;background-color:#1b101f80}._snapshot-button_ig6pm_161:hover{transform:translate(-50%) scale(1.1)}@media (max-width: 640px){._snapshot-button_ig6pm_161{padding-bottom:27px}}@container host (max-width: 640px){._snapshot-button_ig6pm_161{padding-bottom:27px}}._flip_ig6pm_213,._one-side_ig6pm_213{width:70%;height:80%;position:relative;align-self:center;perspective:1000px}._flip_ig6pm_213 svg,._flip_ig6pm_213 img,._one-side_ig6pm_213 img,._one-side_ig6pm_213 svg{width:100%;height:auto;object-fit:cover}._slide_ig6pm_230 img,._slide_ig6pm_230 svg{position:absolute;bottom:0;animation:_slide_ig6pm_230 var(--animation-duration) var(--animation-delay) ease-out forwards}._front_ig6pm_236,._back_ig6pm_236{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden}._front_ig6pm_236{z-index:2;animation:_flip-front_ig6pm_1 var(--animation-duration) var(--animation-delay) ease-out forwards}._back_ig6pm_236{transform:rotateY(180deg);animation:_flip-back_ig6pm_1 var(--animation-duration) var(--animation-delay) ease-out forwards}@keyframes _slide_ig6pm_230{0%{transform:translateY(0)}to{transform:translateY(50%)}}@keyframes _flip-front_ig6pm_1{0%{transform:rotateY(0)}to{transform:rotateY(-180deg)}}@keyframes _flip-back_ig6pm_1{0%{transform:rotateY(180deg)}to{transform:rotateY(0)}}._fade-enter_ig6pm_286{opacity:0}._fade-exit_ig6pm_290,._fade-enter-active_ig6pm_294{opacity:1}._fade-exit-active_ig6pm_298{opacity:0}._fade-enter-active_ig6pm_294,._fade-exit-active_ig6pm_298{transition:opacity .3s}._loader_ig6pm_307{position:absolute;inset:0;box-shadow:none}._copyright_ig6pm_313{position:absolute;bottom:10px;right:20px;filter:drop-shadow(0 0 2px rgba(0,0,0,.5))}._copyright_ig6pm_313 span{color:#e9e9e9}", ZT = "._process-message_p14bs_1{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:1.5em;row-gap:1.5em}._message_p14bs_11{display:block;font-size:.875em;line-height:1.25em;color:#000}", WT = "._button_b09l6_1{display:flex;width:100%;max-width:290px;padding:.75em 1.5em;justify-content:center;column-gap:5px;background:#fff;border:1px solid #211236;border-radius:112px;cursor:pointer;font-size:1em}._button_b09l6_1 span{font-family:var(--font-family);font-style:normal;line-height:135%;font-size:1.125em;font-weight:400;color:#211236;white-space:nowrap;margin:0}._button_b09l6_1:hover:not(:disabled),._button_b09l6_1:focus:not(:disabled){background:#f5f5f5}._button_b09l6_1:active:not(:disabled){background:#e2e2e2}._button_b09l6_1:disabled{opacity:.5;cursor:default}", YT = "._copyright_71w1z_1{font-size:12px;font-weight:500;line-height:16px;letter-spacing:-.12px;color:#8c8c8c;direction:ltr}._copyright_71w1z_1 svg{vertical-align:bottom}", KT = "._container_1hyic_1{display:flex;flex:1}._video_1hyic_6{background-color:#fff;width:100%;height:100%;object-fit:contain}", XT = '._spinner_1ejqp_1{width:48px;height:48px;position:relative}._circle_1ejqp_7{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-radius:50%;border:2px solid #7E57C5;border-bottom-color:transparent;animation:_spin_1ejqp_1 1s linear infinite}._spinner_1ejqp_1:before{content:"";width:100%;height:100%;border-radius:50%;border:2px solid #D9D9D9;position:absolute;top:0;left:0;box-sizing:border-box}@keyframes _spin_1ejqp_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}', AH = "._remote-scanner-wrapper_12a10_1{display:flex;flex:1;flex-direction:column;align-items:center;row-gap:1.5em;justify-content:center;padding:1.5em}._qr-container_12a10_11{display:flex;flex-direction:column;align-items:center;max-width:350px;max-height:140px}._text_12a10_19{display:flex;flex-direction:column;align-items:center;text-align:center;row-gap:1em}._title_12a10_27{max-width:465px;color:#000;font-size:1.25em;font-weight:600;line-height:1.25em;margin:0}._subtitle_12a10_36{display:block;max-width:465px;color:#454545;font-size:.875em;font-weight:400;line-height:1.25em;margin:0}._note_12a10_46{display:block;max-width:465px;color:#000;font-size:.875em;line-height:1.375em}", DH = "Подготовка камеры...", TH = "Тайм-аут", OH = "Нет фокусировки камеры", yH = "Что-то пошло не так", NH = "Камера с заданным ID не найдена.", LH = "Подготовка сервиса...", PH = "Готово!", bH = "Камера недоступна!", MH = "Версия вашего браузера не поддерживается", wH = "HTTPS не используется", xH = "Небезопасный контекст", kH = "Лицензия не найдена или недействительна", HH = "Файл поврежден или не поддерживается", FH = "Размер загружаемого файла слишком велик", VH = "Поместите документ в рамку", UH = "Держите документ прямо", jH = "Избегайте бликов на документе", $H = "Повторите попытку", BH = "Отсутствует камера", GH = "Обработка документа...", zH = "Расположите документ в центре", qH = "Переверните документ", ZH = "Загрузите фото", WH = "Подвиньтесь ближе", YH = "Держите устройство неподвижно", KH = "Камера", XH = "Перейдите к мобильному устройству", QH = "Откройте камеру мобильного устройства, отсканируйте QR-код и перейдите по ссылке", JH = "Пожалуйста, подождите…", eF = "Мобильное устройство", tF = "Проверка документа, удостоверяющего личность", rF = "Сделайте снимок документа камерой компьютера, загрузите из файлов или отсканируйте с мобильного устройства", nF = "Сделайте снимок документа камерой компьютера или загрузите из файлов", iF = "Сделайте снимок документа камерой компьютера или отсканируйте с мобильного устройства", aF = "Загрузите документ из файлов или отсканируйте его с мобильного устройства", oF = "Воспользуйтесь камерой компьютера, чтобы сделать снимок документа", sF = "Выберите документ из файлов и загрузите его", lF = "Воспользуйтесь камерой мобильного устройства, чтобы сделать снимок документа", uF = "Сделайте снимок документа камерой мобильного устройства или загрузите из галереи", cF = "Выберите документ из галереи и загрузите его", fF = "Галерея", dF = "Файлы", _F = "Вернитесь к компьютеру", pF = "Ваш документ захвачен", hF = {
20470
+ const RH = P6(gT, ST)(IH), BT = "*,*:before,*:after{box-sizing:border-box}:host{display:block;container-type:inline-size;container-name:host;--font-family: Inter, sans-serif;--font-size: 16px;width:100%;height:100%}._window_1q4wr_15{width:100%;height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:0 8px 16px #0000000a,0 2px 4px #00000008,0 1px 2px #00000005;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);font-family:var(--font-family);font-size:var(--font-size)}._window_1q4wr_15[data-direction=rtl]{direction:rtl}._window_1q4wr_15[data-direction=ltr]{direction:ltr}._header_1q4wr_38{display:flex;justify-content:flex-end;padding:16px 16px 0}._header_1q4wr_38 button{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease;appearance:none}._footer_1q4wr_59{display:flex;align-items:center;padding:0 16px 10px}@media (max-width: 640px){._footer_1q4wr_59{justify-content:center}}@container host (max-width: 640px){._footer_1q4wr_59{justify-content:center}}", GT = "._start-window_1an07_1{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;row-gap:1.5em;padding:1.5em}._text_1an07_11{display:flex;flex-direction:column;row-gap:1em;align-items:center;text-align:center}._text_1an07_11 ._title_1an07_19{max-width:500px;color:#000;font-size:1.25em;font-weight:600;line-height:1.25em;margin:0}._text_1an07_11 ._subtitle_1an07_28{display:block;max-width:465px;color:#454545;font-size:.875em;font-weight:400;line-height:1.25em;margin:0}._buttons_1an07_38{display:flex;width:100%;align-items:center;justify-content:center;column-gap:1em}@media (max-width: 640px){._buttons_1an07_38{flex-direction:column;row-gap:1em}._text_1an07_11 ._title_1an07_19{font-size:1.125em}}@container host (max-width: 640px){._buttons_1an07_38{flex-direction:column;row-gap:1em}._text_1an07_11 ._title_1an07_19{font-size:1.125em}}", zT = "._info-message_1cchp_1{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:1.5em}._text-container_1cchp_10{display:flex;flex-direction:column;align-items:center;word-break:break-word;row-gap:1em}._title_1cchp_18{margin:0;font-size:1.25em;font-weight:600;line-height:120%;color:#262626;text-align:center}._subtitle_1cchp_27{margin:0;font-size:1em;font-weight:400;line-height:100%;color:#454545;text-align:center}", qT = "._container_ig6pm_1{display:flex;position:relative;width:100%;height:100%}._container_ig6pm_1,._layout_ig6pm_8{overflow:hidden}._hint-container_ig6pm_12{--message-container-height: auto;--message-margin-top: 50px;--message-top: 0}._layout_ig6pm_8,._hint-container_ig6pm_12{display:flex;justify-content:center}._svg_ig6pm_23,._hint-container_ig6pm_12,._layout_ig6pm_8{position:absolute;inset:0}._svg_ig6pm_23 rect,._svg_ig6pm_23 path{transition:.25s stroke}._message-container_ig6pm_32{display:flex;flex-direction:column;height:var(--message-container-height);width:100%;max-width:370px;position:relative;align-self:center;align-items:center;margin:0 1em}._icon_ig6pm_44{position:absolute;top:50%;display:flex;justify-content:center;align-items:center;width:80px;height:80px;transform:translateY(-50%);border-radius:50%}._message_ig6pm_32{position:absolute;top:var(--message-top);left:0;right:0;display:flex;justify-content:center;margin-top:var(--message-margin-top)}._message-background_ig6pm_66{text-align:center;padding:.75em 1.5em;border-radius:6px}._tips-frameless_ig6pm_72 ._message_ig6pm_32{margin-left:36px;margin-right:36px}._title_ig6pm_77{font-weight:400;margin:0;font-size:1.125em;line-height:1.3em}._bottom-functional-buttons_ig6pm_84,._top-functional-buttons_ig6pm_84{position:absolute;padding:15px;display:flex}._buttons-left_ig6pm_90,._buttons-right_ig6pm_90,._left-functional-buttons_ig6pm_90{display:flex}div[data-orientation=landscape] ._bottom-functional-buttons_ig6pm_84,div[data-orientation=landscape] ._buttons-left_ig6pm_90,div[data-orientation=landscape] ._buttons-right_ig6pm_90{flex-direction:column}div[data-orientation=landscape] ._buttons-left_ig6pm_90 button+button,div[data-orientation=landscape] ._buttons-right_ig6pm_90 button+button,div[data-orientation=landscape] ._bottom-functional-buttons_ig6pm_84 div+div{margin-top:15px}div[data-orientation=portrait] ._left-functional-buttons_ig6pm_90 button+button{margin-bottom:15px}div[data-orientation=landscape] ._top-functional-buttons_ig6pm_84,div[data-orientation=landscape] ._left-functional-buttons_ig6pm_90,div[data-direction=rtl] div[data-orientation=portrait] ._top-functional-buttons_ig6pm_84,._bottom-functional-buttons_ig6pm_84{left:0}div[data-orientation=portrait] ._bottom-functional-buttons_ig6pm_84,div[data-direction=ltr] div[data-orientation=portrait] ._top-functional-buttons_ig6pm_84{right:0}div[data-orientation=portrait] ._bottom-functional-buttons_ig6pm_84{justify-content:space-between}div[data-direction=ltr] div[data-orientation=portrait] ._buttons-left_ig6pm_90 button+button,div[data-direction=ltr] div[data-orientation=portrait] ._buttons-right_ig6pm_90 button+button,div[data-orientation=landscape] ._left-functional-buttons_ig6pm_90 button+button{margin-left:15px}div[data-direction=rtl] div[data-orientation=portrait] ._buttons-left_ig6pm_90 button+button,div[data-direction=rtl] div[data-orientation=portrait] ._buttons-right_ig6pm_90 button+button{margin-right:15px}._left-functional-buttons_ig6pm_90{position:absolute;bottom:50%;transform:translateY(50%);padding:15px;direction:ltr}div[data-orientation=portrait] ._left-functional-buttons_ig6pm_90{bottom:0;right:50%;transform:translate(50%);flex-direction:column-reverse;z-index:1}._top-functional-buttons_ig6pm_84{top:0}._bottom-functional-buttons_ig6pm_84{bottom:0}._bottom-functional-buttons_ig6pm_84 button:not(._snapshot-button_ig6pm_161):hover,._top-functional-buttons_ig6pm_84 button:hover,._left-functional-buttons_ig6pm_90 button:hover{transform:scale(1.1)}._bottom-functional-buttons_ig6pm_84 button,._top-functional-buttons_ig6pm_84 button,._left-functional-buttons_ig6pm_90 button,._snapshot-button_ig6pm_161{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease}._snapshot-button_ig6pm_161{position:absolute;bottom:20px;left:50%;transform:translate(-50%)}._left-functional-buttons_ig6pm_90 ._skip-button_ig6pm_191{padding:0 10px;border-radius:6px;background-color:#1b101f80}._snapshot-button_ig6pm_161:hover{transform:translate(-50%) scale(1.1)}@media (max-width: 640px){._snapshot-button_ig6pm_161{padding-bottom:27px}}@container host (max-width: 640px){._snapshot-button_ig6pm_161{padding-bottom:27px}}._flip_ig6pm_213,._one-side_ig6pm_213{width:70%;height:80%;position:relative;align-self:center;perspective:1000px}._flip_ig6pm_213 svg,._flip_ig6pm_213 img,._one-side_ig6pm_213 img,._one-side_ig6pm_213 svg{width:100%;height:auto;object-fit:cover}._slide_ig6pm_230 img,._slide_ig6pm_230 svg{position:absolute;bottom:0;animation:_slide_ig6pm_230 var(--animation-duration) var(--animation-delay) ease-out forwards}._front_ig6pm_236,._back_ig6pm_236{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden}._front_ig6pm_236{z-index:2;animation:_flip-front_ig6pm_1 var(--animation-duration) var(--animation-delay) ease-out forwards}._back_ig6pm_236{transform:rotateY(180deg);animation:_flip-back_ig6pm_1 var(--animation-duration) var(--animation-delay) ease-out forwards}@keyframes _slide_ig6pm_230{0%{transform:translateY(0)}to{transform:translateY(50%)}}@keyframes _flip-front_ig6pm_1{0%{transform:rotateY(0)}to{transform:rotateY(-180deg)}}@keyframes _flip-back_ig6pm_1{0%{transform:rotateY(180deg)}to{transform:rotateY(0)}}._fade-enter_ig6pm_286{opacity:0}._fade-exit_ig6pm_290,._fade-enter-active_ig6pm_294{opacity:1}._fade-exit-active_ig6pm_298{opacity:0}._fade-enter-active_ig6pm_294,._fade-exit-active_ig6pm_298{transition:opacity .3s}._loader_ig6pm_307{position:absolute;inset:0;box-shadow:none}._copyright_ig6pm_313{position:absolute;bottom:10px;right:20px;filter:drop-shadow(0 0 2px rgba(0,0,0,.5))}._copyright_ig6pm_313 span{color:#e9e9e9}", ZT = "._process-message_p14bs_1{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:1.5em;row-gap:1.5em}._message_p14bs_11{display:block;font-size:.875em;line-height:1.25em;color:#000}", WT = "._button_b09l6_1{display:flex;width:100%;max-width:290px;padding:.75em 1.5em;justify-content:center;column-gap:5px;background:#fff;border:1px solid #211236;border-radius:112px;cursor:pointer;font-size:1em}._button_b09l6_1 span{font-family:var(--font-family);font-style:normal;line-height:135%;font-size:1.125em;font-weight:400;color:#211236;white-space:nowrap;margin:0}._button_b09l6_1:hover:not(:disabled),._button_b09l6_1:focus:not(:disabled){background:#f5f5f5}._button_b09l6_1:active:not(:disabled){background:#e2e2e2}._button_b09l6_1:disabled{opacity:.5;cursor:default}", YT = "._copyright_71w1z_1{font-size:12px;font-weight:500;line-height:16px;letter-spacing:-.12px;color:#8c8c8c;direction:ltr}._copyright_71w1z_1 svg{vertical-align:bottom}", KT = "._container_1hyic_1{display:flex;flex:1}._video_1hyic_6{background-color:#fff;width:100%;height:100%;object-fit:contain}", XT = '._spinner_1ejqp_1{width:48px;height:48px;position:relative}._circle_1ejqp_7{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-radius:50%;border:2px solid #7E57C5;border-bottom-color:transparent;animation:_spin_1ejqp_1 1s linear infinite}._spinner_1ejqp_1:before{content:"";width:100%;height:100%;border-radius:50%;border:2px solid #D9D9D9;position:absolute;top:0;left:0;box-sizing:border-box}@keyframes _spin_1ejqp_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}', AH = "._remote-scanner-wrapper_12a10_1{display:flex;flex:1;flex-direction:column;align-items:center;row-gap:1.5em;justify-content:center;padding:1.5em}._qr-container_12a10_11{display:flex;flex-direction:column;align-items:center;max-width:350px;max-height:140px}._text_12a10_19{display:flex;flex-direction:column;align-items:center;text-align:center;row-gap:1em}._title_12a10_27{max-width:465px;color:#000;font-size:1.25em;font-weight:600;line-height:1.25em;margin:0}._subtitle_12a10_36{display:block;max-width:465px;color:#454545;font-size:.875em;font-weight:400;line-height:1.25em;margin:0}._note_12a10_46{display:block;max-width:465px;color:#000;font-size:.875em;line-height:1.375em}", DH = "Подготовка камеры...", TH = "Тайм-аут", OH = "Нет фокусировки камеры", yH = "Что-то пошло не так", NH = "Камера с заданным ID не найдена.", LH = "Подготовка сервиса...", PH = "Готово!", bH = "Камера недоступна!", MH = "Версия вашего браузера не поддерживается", wH = "HTTPS не используется", xH = "Небезопасный контекст", kH = "Лицензия не найдена или недействительна", HH = "Файл поврежден или не поддерживается", FH = "Размер загружаемого файла слишком велик", VH = "Поместите документ в рамку", UH = "Держите документ прямо", jH = "Избегайте бликов на документе", $H = "Повторите попытку", BH = "Отсутствует камера", GH = "Обработка документа...", zH = "Расположите документ в центре", qH = "Переверните документ", ZH = "Загрузите фото", WH = "Подвиньтесь ближе", YH = "Держите устройство неподвижно", KH = "Камера", XH = "Перейдите к мобильному устройству", QH = "Откройте камеру мобильного устройства, отсканируйте QR-код и перейдите по ссылке", JH = "Пожалуйста, подождите…", eF = "Мобильное устройство", tF = "Проверка документа, удостоверяющего личность", rF = "Сделайте снимок документа камерой компьютера, загрузите из файлов или отсканируйте с мобильного устройства", nF = "Сделайте снимок документа камерой компьютера или загрузите из файлов", iF = "Сделайте снимок документа камерой компьютера или отсканируйте с мобильного устройства", aF = "Загрузите документ из файлов или отсканируйте его с мобильного устройства", oF = "Воспользуйтесь камерой компьютера, чтобы сделать снимок документа", sF = "Выберите документ из файлов и загрузите его", lF = "Воспользуйтесь камерой мобильного устройства, чтобы сделать снимок документа", uF = "Сделайте снимок документа камерой мобильного устройства или загрузите из галереи", cF = "Выберите документ из галереи и загрузите его", fF = "Галерея", dF = "Файлы", _F = "Вернитесь к компьютеру", pF = "Ваш документ захвачен", hF = {
20471
20471
  preparingCamera: DH,
20472
20472
  timeout: TH,
20473
20473
  noFocus: OH,
@@ -22080,7 +22080,7 @@ const RH = P7(gT, ST)(IH), BT = "*,*:before,*:after{box-sizing:border-box}:host{
22080
22080
  vi: $K,
22081
22081
  zh: hB
22082
22082
  }, Symbol.toStringTag, { value: "Module" }));
22083
- function N6(t, r) {
22083
+ function N7(t, r) {
22084
22084
  var e = Object.keys(t);
22085
22085
  if (Object.getOwnPropertySymbols) {
22086
22086
  var a = Object.getOwnPropertySymbols(t);
@@ -22093,9 +22093,9 @@ function N6(t, r) {
22093
22093
  function wde(t) {
22094
22094
  for (var r = 1; r < arguments.length; r++) {
22095
22095
  var e = arguments[r] != null ? arguments[r] : {};
22096
- r % 2 ? N6(Object(e), !0).forEach(function(a) {
22096
+ r % 2 ? N7(Object(e), !0).forEach(function(a) {
22097
22097
  nl(t, a, e[a]);
22098
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : N6(Object(e)).forEach(function(a) {
22098
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : N7(Object(e)).forEach(function(a) {
22099
22099
  Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(e, a));
22100
22100
  });
22101
22101
  }
@@ -22121,7 +22121,7 @@ function kde(t, r) {
22121
22121
  const Qu = on.create("main");
22122
22122
  class Hde extends HTMLElement {
22123
22123
  constructor() {
22124
- super(), nl(this, "_root", t7.createRoot(this.attachShadow({
22124
+ super(), nl(this, "_root", t6.createRoot(this.attachShadow({
22125
22125
  mode: "open"
22126
22126
  }))), nl(this, "_mounted", !1), nl(this, "_translations", null), nl(this, "_settings", {});
22127
22127
  }
@@ -22129,12 +22129,12 @@ class Hde extends HTMLElement {
22129
22129
  return Object.values(Tn);
22130
22130
  }
22131
22131
  onEvent(r) {
22132
- const e = b7(DN, r);
22132
+ const e = b6(DN, r);
22133
22133
  this.dispatchEvent(e), Qu("Component event: ".concat(JSON.stringify(e.detail)));
22134
22134
  }
22135
22135
  attributeChangedCallback(r) {
22136
22136
  Qu("Attribute change: ".concat(r));
22137
- const e = this.getAttribute(r), a = L7(e), o = {
22137
+ const e = this.getAttribute(r), a = L6(e), o = {
22138
22138
  [Tn.locale]: () => e && (this._settings.locale = e),
22139
22139
  [Tn.multiple]: () => {
22140
22140
  this._settings.multipleFileInput = a;
@@ -22274,7 +22274,7 @@ function Fde(t) {
22274
22274
  data: null
22275
22275
  });
22276
22276
  };
22277
- return /* @__PURE__ */ h.jsx(G7, { mirroring: S, onChangeMirroring: M, status: ft.SNAPSHOT, videoStatusParams: P, onCameraSnapshot: w, onProcessClose: U, onClose: o, onChangeCamera: B, videoElementParams: R, children: /* @__PURE__ */ h.jsx(V7, { onVideoSizeChange: A, onVideoStatusChange: L, resolution: C, onFailStatus: j, mode: f || Nn.environment, cameraId: O, onVideoStarted: G, onVideoStopped: q, onMirroringChange: g, mirrorType: m, ref: v }) });
22277
+ return /* @__PURE__ */ h.jsx(G6, { mirroring: S, onChangeMirroring: M, status: ft.SNAPSHOT, videoStatusParams: P, onCameraSnapshot: w, onProcessClose: U, onClose: o, onChangeCamera: B, videoElementParams: R, children: /* @__PURE__ */ h.jsx(V6, { onVideoSizeChange: A, onVideoStatusChange: L, resolution: C, onFailStatus: j, mode: f || Nn.environment, cameraId: O, onVideoStarted: G, onVideoStopped: q, onMirroringChange: g, mirrorType: m, ref: v }) });
22278
22278
  }
22279
22279
  function jE(t, r, e) {
22280
22280
  return (r = Vde(r)) in t ? Object.defineProperty(t, r, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = e, t;
@@ -22376,7 +22376,7 @@ function zde(t) {
22376
22376
  data: null
22377
22377
  }), p(xe.CAMERA_PROCESSING);
22378
22378
  }, R = (L) => {
22379
- const O = S7[L.type] || xe.UNKNOWN_ERROR;
22379
+ const O = S6[L.type] || xe.UNKNOWN_ERROR;
22380
22380
  p(O), e({
22381
22381
  action: It.PROCESS_FINISHED,
22382
22382
  data: {
@@ -22406,10 +22406,10 @@ function zde(t) {
22406
22406
  response: v
22407
22407
  }
22408
22408
  });
22409
- }, [d, v]), /* @__PURE__ */ h.jsx(IT, { onError: R, supportedBrowserVersions: g7, children: /* @__PURE__ */ h.jsx(e3, { showHeaderAndFooter: d !== xe.CAMERA_PROCESSING, onClose: P, direction: r, children: d === xe.CHOOSE_INPUT_SOURCE ? /* @__PURE__ */ h.jsx(vT, { onStart: g, onFileImageSet: S, title: c("uploadPhoto"), subtitle: c(Gde(ur.isMobile, o, s)) }) : d === xe.CAMERA_PROCESSING ? /* @__PURE__ */ h.jsx(Fde, { onStatusChange: p, onCapture: C, onClose: P, onError: R }) : d === xe.FILE_PROCESSING ? /* @__PURE__ */ h.jsx(Bde, { onStatusChange: p, onCapture: C, images: f, onError: R }) : d === xe.SUCCESS ? /* @__PURE__ */ h.jsx(mr, { type: "verified", title: c("done") }) : d === xe.NOT_SUPPORTED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: c("versionNotSupported") }) : d === xe.INCORRECT_FILE_ERROR ? /* @__PURE__ */ h.jsx(mr, { onReset: A, type: "error", title: c("fileCorrupt") }) : d === xe.CAMERA_PERMISSION_DENIED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: c("cameraUnavailable") }) : d === xe.HTTP_NOT_SUPPORTED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: c("httpNotSupported") }) : d === xe.INSECURE_PAGE_CONTEXT_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: c("insecurePageContext") }) : d === xe.NO_CAMERA_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: c("noCameraAvailable") }) : d === xe.INCORRECT_CAMERA_ID_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: c("incorrectCameraId") }) : /* @__PURE__ */ h.jsx(mr, { onReset: A, type: "error", title: c("somethingWentWrong") }) }) });
22409
+ }, [d, v]), /* @__PURE__ */ h.jsx(IT, { onError: R, supportedBrowserVersions: g6, children: /* @__PURE__ */ h.jsx(e3, { showHeaderAndFooter: d !== xe.CAMERA_PROCESSING, onClose: P, direction: r, children: d === xe.CHOOSE_INPUT_SOURCE ? /* @__PURE__ */ h.jsx(vT, { onStart: g, onFileImageSet: S, title: c("uploadPhoto"), subtitle: c(Gde(ur.isMobile, o, s)) }) : d === xe.CAMERA_PROCESSING ? /* @__PURE__ */ h.jsx(Fde, { onStatusChange: p, onCapture: C, onClose: P, onError: R }) : d === xe.FILE_PROCESSING ? /* @__PURE__ */ h.jsx(Bde, { onStatusChange: p, onCapture: C, images: f, onError: R }) : d === xe.SUCCESS ? /* @__PURE__ */ h.jsx(mr, { type: "verified", title: c("done") }) : d === xe.NOT_SUPPORTED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: c("versionNotSupported") }) : d === xe.INCORRECT_FILE_ERROR ? /* @__PURE__ */ h.jsx(mr, { onReset: A, type: "error", title: c("fileCorrupt") }) : d === xe.CAMERA_PERMISSION_DENIED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: c("cameraUnavailable") }) : d === xe.HTTP_NOT_SUPPORTED_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: c("httpNotSupported") }) : d === xe.INSECURE_PAGE_CONTEXT_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "error", title: c("insecurePageContext") }) : d === xe.NO_CAMERA_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: c("noCameraAvailable") }) : d === xe.INCORRECT_CAMERA_ID_ERROR ? /* @__PURE__ */ h.jsx(mr, { type: "docreader-camera-disabled", title: c("incorrectCameraId") }) : /* @__PURE__ */ h.jsx(mr, { onReset: A, type: "error", title: c("somethingWentWrong") }) }) });
22410
22410
  }
22411
- const qde = P7(gT, ST)(zde);
22412
- function L6(t, r) {
22411
+ const qde = P6(gT, ST)(zde);
22412
+ function L7(t, r) {
22413
22413
  var e = Object.keys(t);
22414
22414
  if (Object.getOwnPropertySymbols) {
22415
22415
  var a = Object.getOwnPropertySymbols(t);
@@ -22422,9 +22422,9 @@ function L6(t, r) {
22422
22422
  function Zde(t) {
22423
22423
  for (var r = 1; r < arguments.length; r++) {
22424
22424
  var e = arguments[r] != null ? arguments[r] : {};
22425
- r % 2 ? L6(Object(e), !0).forEach(function(a) {
22425
+ r % 2 ? L7(Object(e), !0).forEach(function(a) {
22426
22426
  il(t, a, e[a]);
22427
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : L6(Object(e)).forEach(function(a) {
22427
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : L7(Object(e)).forEach(function(a) {
22428
22428
  Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(e, a));
22429
22429
  });
22430
22430
  }
@@ -22450,7 +22450,7 @@ function Yde(t, r) {
22450
22450
  const Kde = on.create("main");
22451
22451
  class Xde extends HTMLElement {
22452
22452
  constructor() {
22453
- super(), il(this, "_root", t7.createRoot(this.attachShadow({
22453
+ super(), il(this, "_root", t6.createRoot(this.attachShadow({
22454
22454
  mode: "open"
22455
22455
  }))), il(this, "_mounted", !1), il(this, "_translations", null), il(this, "_settings", {});
22456
22456
  }
@@ -22458,11 +22458,11 @@ class Xde extends HTMLElement {
22458
22458
  return Object.values(Fi);
22459
22459
  }
22460
22460
  onEvent(r) {
22461
- const e = b7(TN, r);
22461
+ const e = b6(TN, r);
22462
22462
  this.dispatchEvent(e), Kde("Component event: ".concat(JSON.stringify(e.detail)));
22463
22463
  }
22464
22464
  attributeChangedCallback(r) {
22465
- const e = this.getAttribute(r), a = L7(e), o = {
22465
+ const e = this.getAttribute(r), a = L6(e), o = {
22466
22466
  [Fi.locale]: () => e && (this._settings.locale = e),
22467
22467
  [Fi.multiple]: () => {
22468
22468
  this._settings.multipleFileInput = a;
@@ -22814,7 +22814,7 @@ var jc = function() {
22814
22814
  for (var C = Ko(v), S = C.next(); !S.done; S = C.next()) {
22815
22815
  var g = S.value;
22816
22816
  try {
22817
- P6(g);
22817
+ P7(g);
22818
22818
  } catch (R) {
22819
22819
  s = s != null ? s : [], R instanceof $E ? s = h2(h2([], p2(s)), p2(R.errors)) : s.push(R);
22820
22820
  }
@@ -22836,7 +22836,7 @@ var jc = function() {
22836
22836
  var e;
22837
22837
  if (r && r !== this)
22838
22838
  if (this.closed)
22839
- P6(r);
22839
+ P7(r);
22840
22840
  else {
22841
22841
  if (r instanceof t) {
22842
22842
  if (r.closed || r._hasParent(this))
@@ -22865,7 +22865,7 @@ var jc = function() {
22865
22865
  function rO(t) {
22866
22866
  return t instanceof jc || t && "closed" in t && Nr(t.remove) && Nr(t.add) && Nr(t.unsubscribe);
22867
22867
  }
22868
- function P6(t) {
22868
+ function P7(t) {
22869
22869
  Nr(t) ? t() : t.unsubscribe();
22870
22870
  }
22871
22871
  var a_e = {
@@ -22886,7 +22886,7 @@ function nO(t) {
22886
22886
  throw t;
22887
22887
  });
22888
22888
  }
22889
- function b6() {
22889
+ function b7() {
22890
22890
  }
22891
22891
  function ac(t) {
22892
22892
  t();
@@ -22973,9 +22973,9 @@ function l_e(t) {
22973
22973
  }
22974
22974
  var u_e = {
22975
22975
  closed: !0,
22976
- next: b6,
22976
+ next: b7,
22977
22977
  error: l_e,
22978
- complete: b6
22978
+ complete: b7
22979
22979
  }, h3 = function() {
22980
22980
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
22981
22981
  }();
@@ -23010,7 +23010,7 @@ var ii = function() {
23010
23010
  }
23011
23011
  }, t.prototype.forEach = function(r, e) {
23012
23012
  var a = this;
23013
- return e = M6(e), new e(function(o, s) {
23013
+ return e = M7(e), new e(function(o, s) {
23014
23014
  var c = new E2({
23015
23015
  next: function(d) {
23016
23016
  try {
@@ -23035,7 +23035,7 @@ var ii = function() {
23035
23035
  return f_e(r)(this);
23036
23036
  }, t.prototype.toPromise = function(r) {
23037
23037
  var e = this;
23038
- return r = M6(r), new r(function(a, o) {
23038
+ return r = M7(r), new r(function(a, o) {
23039
23039
  var s;
23040
23040
  e.subscribe(function(c) {
23041
23041
  return s = c;
@@ -23049,7 +23049,7 @@ var ii = function() {
23049
23049
  return new t(r);
23050
23050
  }, t;
23051
23051
  }();
23052
- function M6(t) {
23052
+ function M7(t) {
23053
23053
  var r;
23054
23054
  return (r = t != null ? t : a_e.Promise) !== null && r !== void 0 ? r : Promise;
23055
23055
  }
@@ -23124,7 +23124,7 @@ var h_e = function(t) {
23124
23124
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
23125
23125
  }
23126
23126
  return r.prototype.lift = function(e) {
23127
- var a = new w6(this, this);
23127
+ var a = new w7(this, this);
23128
23128
  return a.operator = e, a;
23129
23129
  }, r.prototype._throwIfClosed = function() {
23130
23130
  if (this.closed)
@@ -23194,9 +23194,9 @@ var h_e = function(t) {
23194
23194
  var e = new ii();
23195
23195
  return e.source = this, e;
23196
23196
  }, r.create = function(e, a) {
23197
- return new w6(e, a);
23197
+ return new w7(e, a);
23198
23198
  }, r;
23199
- }(ii), w6 = function(t) {
23199
+ }(ii), w7 = function(t) {
23200
23200
  Nl(r, t);
23201
23201
  function r(e, a) {
23202
23202
  var o = t.call(this) || this;
@@ -23482,7 +23482,7 @@ function N_e(t, r) {
23482
23482
  }
23483
23483
  throw uO(t);
23484
23484
  }
23485
- function x6(t, r) {
23485
+ function x7(t, r) {
23486
23486
  return r ? N_e(t, r) : os(t);
23487
23487
  }
23488
23488
  function L_e(t, r) {
@@ -23564,7 +23564,7 @@ function x_e(t, r) {
23564
23564
  }
23565
23565
  class k_e {
23566
23566
  constructor() {
23567
- M_e(this, "taskSubject", new iO()), this.taskSubject.pipe(b_e((r) => x6(r()).pipe(CO((e) => x6(Promise.reject(e)))))).subscribe();
23567
+ M_e(this, "taskSubject", new iO()), this.taskSubject.pipe(b_e((r) => x7(r()).pipe(CO((e) => x7(Promise.reject(e)))))).subscribe();
23568
23568
  }
23569
23569
  addTask(r) {
23570
23570
  return new Promise((e, a) => {
@@ -23673,7 +23673,7 @@ function $_e(t, r) {
23673
23673
  const s = t;
23674
23674
  return t = o.toString(), !r.removeSingleSlash && o.pathname === "/" && !s.endsWith("/") && o.hash === "" && (t = t.replace(/\/$/, "")), (r.removeTrailingSlash || o.pathname === "/") && o.hash === "" && r.removeSingleSlash && (t = t.replace(/\/$/, "")), e && !r.normalizeProtocol && (t = t.replace(/^http:\/\//, "//")), r.stripProtocol && (t = t.replace(/^(?:https?:)?\/\//, "")), t;
23675
23675
  }
23676
- function k6(t, r) {
23676
+ function k7(t, r) {
23677
23677
  var e = Object.keys(t);
23678
23678
  if (Object.getOwnPropertySymbols) {
23679
23679
  var a = Object.getOwnPropertySymbols(t);
@@ -23686,9 +23686,9 @@ function k6(t, r) {
23686
23686
  function jo(t) {
23687
23687
  for (var r = 1; r < arguments.length; r++) {
23688
23688
  var e = arguments[r] != null ? arguments[r] : {};
23689
- r % 2 ? k6(Object(e), !0).forEach(function(a) {
23689
+ r % 2 ? k7(Object(e), !0).forEach(function(a) {
23690
23690
  kr(t, a, e[a]);
23691
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : k6(Object(e)).forEach(function(a) {
23691
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : k7(Object(e)).forEach(function(a) {
23692
23692
  Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(e, a));
23693
23693
  });
23694
23694
  }
@@ -23711,15 +23711,15 @@ function G_e(t, r) {
23711
23711
  }
23712
23712
  return (r === "string" ? String : Number)(t);
23713
23713
  }
23714
- const H6 = on.create("wasm"), xr = on.create("main");
23714
+ const H7 = on.create("wasm"), xr = on.create("main");
23715
23715
  class z_e {
23716
23716
  constructor() {
23717
23717
  kr(this, "_worker", null), kr(this, "_prepareListener", null), kr(this, "_initializeListener", null), kr(this, "_processingListener", null), kr(this, "_queueService", new k_e()), kr(this, "_initProcess", null), kr(this, "onFinalize", null), kr(this, "isAutoPrepare", !1), kr(this, "isPrepared", !1), kr(this, "isInitialized", !1), kr(this, "isProcessing", !1), kr(this, "initData", null), kr(this, "recognizerProcessParam", {
23718
23718
  processParam: {}
23719
23719
  }), kr(this, "imageProcessParam", {
23720
23720
  processParam: {}
23721
- }), kr(this, "recognizeListener", null), kr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/7.7/254a53de-8cc6d8828"), kr(this, "version", {
23722
- component: "7.7.2196-rc".trim()
23721
+ }), kr(this, "recognizeListener", null), kr(this, "workerPath", "https://wasm.regulaforensics.com/document/release/7.7/173f7ed7-278542421"), kr(this, "version", {
23722
+ component: "7.7.2197".trim()
23723
23723
  });
23724
23724
  }
23725
23725
  get processingListener() {
@@ -23783,7 +23783,7 @@ class z_e {
23783
23783
  xr(m), a(m);
23784
23784
  }
23785
23785
  }
23786
- o.data.target === On.stdout && H6(JSON.stringify(o.data.content)), o.data.target === On.stderr && (H6(JSON.stringify(o.data.content)), a(o.data.content));
23786
+ o.data.target === On.stdout && H7(JSON.stringify(o.data.content)), o.data.target === On.stderr && (H7(JSON.stringify(o.data.content)), a(o.data.content));
23787
23787
  }, xr("Send message to worker: { target: ".concat(r.target, ", method: ").concat(r.method, " }")), this._worker.postMessage(r, "data" in r && r.data ? r.data.map((o) => o.data) : []);
23788
23788
  }));
23789
23789
  }
@@ -23791,7 +23791,7 @@ class z_e {
23791
23791
  return be(this, null, function* () {
23792
23792
  var r, e;
23793
23793
  xr("Preparing the service");
23794
- const a = "ProcMgr.worker.js", o = this.workerPath === "https://wasm-development.regulaforensics.com/document/rc/7.7/254a53de-8cc6d8828", s = $_e(this.workerPath);
23794
+ const a = "ProcMgr.worker.js", o = this.workerPath === "https://wasm.regulaforensics.com/document/release/7.7/173f7ed7-278542421", s = $_e(this.workerPath);
23795
23795
  {
23796
23796
  let d = yield (yield fetch("".concat(s, "/").concat(a))).text();
23797
23797
  o || (d = bw(d, s));
@@ -23835,7 +23835,7 @@ class z_e {
23835
23835
  preMain: !0,
23836
23836
  request: {
23837
23837
  systemInfo: {
23838
- userID: F7(T7),
23838
+ userID: F6(T6),
23839
23839
  hostName: (e = document.location) === null || e === void 0 ? void 0 : e.origin,
23840
23840
  license: r == null ? void 0 : r.license
23841
23841
  }
@@ -24017,13 +24017,13 @@ class h1e {
24017
24017
  return new Promise((r, e) => {
24018
24018
  be(this, null, function* () {
24019
24019
  try {
24020
- if (this._devices || (this._devices = yield M7()), this._sortedDevices || (this._sortedDevices = yield w7(this._devices), this._devices.isCameraAllowed = !0), this._cameraInfo = x7(this._streamParam.cameraMode, this._sortedDevices, this._streamParam.preferredCameraId), this._streamData = yield new Promise((o, s) => {
24020
+ if (this._devices || (this._devices = yield M6()), this._sortedDevices || (this._sortedDevices = yield w6(this._devices), this._devices.isCameraAllowed = !0), this._cameraInfo = x6(this._streamParam.cameraMode, this._sortedDevices, this._streamParam.preferredCameraId), this._streamData = yield new Promise((o, s) => {
24021
24021
  be(this, null, function* () {
24022
- const d = ur.isFirefox ? A7 : 0;
24023
- yield H7(d);
24022
+ const d = ur.isFirefox ? A6 : 0;
24023
+ yield H6(d);
24024
24024
  try {
24025
24025
  if (!this._cameraInfo) return;
24026
- const p = yield k7({
24026
+ const p = yield k6({
24027
24027
  width: this._streamParam.resolution.width || Ii.HD.width,
24028
24028
  height: this._streamParam.resolution.height || Ii.HD.height
24029
24029
  }, this._cameraInfo, this._streamParam.preferredCameraId);
@@ -24037,11 +24037,11 @@ class h1e {
24037
24037
  this.videoElement && (this._canvas.width = this.videoElement.videoWidth, this._canvas.height = this.videoElement.videoHeight, r());
24038
24038
  }, this.videoElement.addEventListener("loadeddata", this._videoEventListener);
24039
24039
  else {
24040
- const o = D7[this._streamData.status] || cr.CAMERA_UNKNOWN_ERROR;
24040
+ const o = D6[this._streamData.status] || cr.CAMERA_UNKNOWN_ERROR;
24041
24041
  e(new Kt(o));
24042
24042
  }
24043
24043
  } catch (o) {
24044
- if (o instanceof Error && o.name === R7)
24044
+ if (o instanceof Error && o.name === R6)
24045
24045
  return e(new Kt(cr.CAMERA_PERMISSION_DENIED, o));
24046
24046
  e(new Kt(cr.CAMERA_UNKNOWN_ERROR, o));
24047
24047
  }
@@ -24107,7 +24107,7 @@ class h1e {
24107
24107
  processImage(r) {
24108
24108
  return be(this, null, function* () {
24109
24109
  const e = yield mT(r);
24110
- if (e.reduce((o, s) => o + s.width * s.height, 0) > E7)
24110
+ if (e.reduce((o, s) => o + s.width * s.height, 0) > E6)
24111
24111
  return Promise.reject(new Kt(cr.FILE_SIZE));
24112
24112
  {
24113
24113
  const o = e.map((s) => {
@@ -24161,7 +24161,7 @@ export {
24161
24161
  ch as DocumentTypeRecognitionResult,
24162
24162
  cr as ErrorTypes,
24163
24163
  It as EventActions,
24164
- m7 as FrameLineCap,
24164
+ m6 as FrameLineCap,
24165
24165
  Ys as FrameShapeType,
24166
24166
  t_e as FullScreenContainer,
24167
24167
  fh as GraphicFieldType,