@regulaforensics/ui-components 0.0.16 → 0.0.17
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/index.js +251 -255
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21779,34 +21779,21 @@ const HY = "_text_i1hpy_1", wY = {
|
|
|
21779
21779
|
/* @__PURE__ */ I.jsx(Wj, {}),
|
|
21780
21780
|
/* @__PURE__ */ I.jsx(IY, {}),
|
|
21781
21781
|
/* @__PURE__ */ I.jsx(KY, { additionalFields: t })
|
|
21782
|
-
] }), qY = "
|
|
21783
|
-
|
|
21784
|
-
|
|
21785
|
-
imageQuality: nF,
|
|
21786
|
-
identification: rF
|
|
21787
|
-
}, eF = "Текстовые данные", oF = "Подлинность", sF = "Качество изображения", EF = "Identification", aF = {
|
|
21788
|
-
textData: eF,
|
|
21789
|
-
authenticity: oF,
|
|
21790
|
-
imageQuality: sF,
|
|
21791
|
-
identification: EF
|
|
21792
|
-
}, cF = () => qt("document-reader-info");
|
|
21793
|
-
Q.addResourceBundle("en", "document-reader-info", _F);
|
|
21794
|
-
Q.addResourceBundle("ru", "document-reader-info", aF);
|
|
21795
|
-
const OF = "_container_8h2a4_1", iF = {
|
|
21796
|
-
container: OF
|
|
21797
|
-
}, IF = ({
|
|
21782
|
+
] }), qY = "_container_8h2a4_1", tF = {
|
|
21783
|
+
container: qY
|
|
21784
|
+
}, nF = ({
|
|
21798
21785
|
documentIdentification: t
|
|
21799
|
-
}) => /* @__PURE__ */ I.jsx("div", { className:
|
|
21800
|
-
lights:
|
|
21801
|
-
preview:
|
|
21802
|
-
pages:
|
|
21803
|
-
},
|
|
21804
|
-
lights:
|
|
21805
|
-
preview:
|
|
21806
|
-
pages:
|
|
21807
|
-
},
|
|
21808
|
-
Q.addResourceBundle("en", "document-reader-info-document-images",
|
|
21809
|
-
Q.addResourceBundle("ru", "document-reader-info-document-images",
|
|
21786
|
+
}) => /* @__PURE__ */ I.jsx("div", { className: tF.container, children: /* @__PURE__ */ I.jsx(Tt, { size: "18x135", children: t.documentName }) }), rF = "Lights", _F = "Preview", eF = "Pages", oF = {
|
|
21787
|
+
lights: rF,
|
|
21788
|
+
preview: _F,
|
|
21789
|
+
pages: eF
|
|
21790
|
+
}, sF = "Lights", EF = "Просмотр", aF = "Страницы", cF = {
|
|
21791
|
+
lights: sF,
|
|
21792
|
+
preview: EF,
|
|
21793
|
+
pages: aF
|
|
21794
|
+
}, OF = () => qt("document-reader-info-document-images");
|
|
21795
|
+
Q.addResourceBundle("en", "document-reader-info-document-images", oF);
|
|
21796
|
+
Q.addResourceBundle("ru", "document-reader-info-document-images", cF);
|
|
21810
21797
|
var Ji = function(t, n) {
|
|
21811
21798
|
return Ji = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, _) {
|
|
21812
21799
|
r.__proto__ = _;
|
|
@@ -22001,7 +21988,7 @@ var Ef = {
|
|
|
22001
21988
|
},
|
|
22002
21989
|
delegate: void 0
|
|
22003
21990
|
};
|
|
22004
|
-
function
|
|
21991
|
+
function iF(t) {
|
|
22005
21992
|
af.setTimeout(function() {
|
|
22006
21993
|
throw t;
|
|
22007
21994
|
});
|
|
@@ -22015,7 +22002,7 @@ var PR = function(t) {
|
|
|
22015
22002
|
Ys(n, t);
|
|
22016
22003
|
function n(r) {
|
|
22017
22004
|
var _ = t.call(this) || this;
|
|
22018
|
-
return _.isStopped = !1, r ? (_.destination = r, sf(r) && r.add(_)) : _.destination =
|
|
22005
|
+
return _.isStopped = !1, r ? (_.destination = r, sf(r) && r.add(_)) : _.destination = NF, _;
|
|
22019
22006
|
}
|
|
22020
22007
|
return n.create = function(r, _, e) {
|
|
22021
22008
|
return new nI(r, _, e);
|
|
@@ -22042,11 +22029,11 @@ var PR = function(t) {
|
|
|
22042
22029
|
this.unsubscribe();
|
|
22043
22030
|
}
|
|
22044
22031
|
}, n;
|
|
22045
|
-
}(hO),
|
|
22032
|
+
}(hO), IF = Function.prototype.bind;
|
|
22046
22033
|
function ri(t, n) {
|
|
22047
|
-
return
|
|
22034
|
+
return IF.call(t, n);
|
|
22048
22035
|
}
|
|
22049
|
-
var
|
|
22036
|
+
var RF = function() {
|
|
22050
22037
|
function t(n) {
|
|
22051
22038
|
this.partialObserver = n;
|
|
22052
22039
|
}
|
|
@@ -22097,28 +22084,28 @@ var DF = function() {
|
|
|
22097
22084
|
complete: r.complete && ri(r.complete, E)
|
|
22098
22085
|
}) : s = r;
|
|
22099
22086
|
}
|
|
22100
|
-
return o.destination = new
|
|
22087
|
+
return o.destination = new RF(s), o;
|
|
22101
22088
|
}
|
|
22102
22089
|
return n;
|
|
22103
22090
|
}(PR);
|
|
22104
22091
|
function Xa(t) {
|
|
22105
|
-
|
|
22092
|
+
iF(t);
|
|
22106
22093
|
}
|
|
22107
|
-
function
|
|
22094
|
+
function AF(t) {
|
|
22108
22095
|
throw t;
|
|
22109
22096
|
}
|
|
22110
|
-
var
|
|
22097
|
+
var NF = {
|
|
22111
22098
|
closed: !0,
|
|
22112
22099
|
next: NN,
|
|
22113
|
-
error:
|
|
22100
|
+
error: AF,
|
|
22114
22101
|
complete: NN
|
|
22115
|
-
},
|
|
22102
|
+
}, SF = function() {
|
|
22116
22103
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
22117
22104
|
}();
|
|
22118
22105
|
function cf(t) {
|
|
22119
22106
|
return t;
|
|
22120
22107
|
}
|
|
22121
|
-
function
|
|
22108
|
+
function TF(t) {
|
|
22122
22109
|
return t.length === 0 ? cf : t.length === 1 ? t[0] : function(r) {
|
|
22123
22110
|
return t.reduce(function(_, e) {
|
|
22124
22111
|
return e(_);
|
|
@@ -22133,7 +22120,7 @@ var rI = function() {
|
|
|
22133
22120
|
var r = new t();
|
|
22134
22121
|
return r.source = this, r.operator = n, r;
|
|
22135
22122
|
}, t.prototype.subscribe = function(n, r, _) {
|
|
22136
|
-
var e = this, o =
|
|
22123
|
+
var e = this, o = uF(n) ? n : new nI(n, r, _);
|
|
22137
22124
|
return ac(function() {
|
|
22138
22125
|
var s = e, E = s.operator, c = s.source;
|
|
22139
22126
|
o.add(E ? E.call(o, c) : c ? e._subscribe(o) : e._trySubscribe(o));
|
|
@@ -22163,12 +22150,12 @@ var rI = function() {
|
|
|
22163
22150
|
}, t.prototype._subscribe = function(n) {
|
|
22164
22151
|
var r;
|
|
22165
22152
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n);
|
|
22166
|
-
}, t.prototype[
|
|
22153
|
+
}, t.prototype[SF] = function() {
|
|
22167
22154
|
return this;
|
|
22168
22155
|
}, t.prototype.pipe = function() {
|
|
22169
22156
|
for (var n = [], r = 0; r < arguments.length; r++)
|
|
22170
22157
|
n[r] = arguments[r];
|
|
22171
|
-
return
|
|
22158
|
+
return TF(n)(this);
|
|
22172
22159
|
}, t.prototype.toPromise = function(n) {
|
|
22173
22160
|
var r = this;
|
|
22174
22161
|
return n = SN(n), new n(function(_, e) {
|
|
@@ -22189,18 +22176,18 @@ function SN(t) {
|
|
|
22189
22176
|
var n;
|
|
22190
22177
|
return (n = t ?? Ef.Promise) !== null && n !== void 0 ? n : Promise;
|
|
22191
22178
|
}
|
|
22192
|
-
function
|
|
22179
|
+
function CF(t) {
|
|
22193
22180
|
return t && Wr(t.next) && Wr(t.error) && Wr(t.complete);
|
|
22194
22181
|
}
|
|
22195
|
-
function
|
|
22196
|
-
return t && t instanceof PR ||
|
|
22182
|
+
function uF(t) {
|
|
22183
|
+
return t && t instanceof PR || CF(t) && sf(t);
|
|
22197
22184
|
}
|
|
22198
|
-
function
|
|
22185
|
+
function fF(t) {
|
|
22199
22186
|
return Wr(t == null ? void 0 : t.lift);
|
|
22200
22187
|
}
|
|
22201
22188
|
function Of(t) {
|
|
22202
22189
|
return function(n) {
|
|
22203
|
-
if (
|
|
22190
|
+
if (fF(n))
|
|
22204
22191
|
return n.lift(function(r) {
|
|
22205
22192
|
try {
|
|
22206
22193
|
return t(r, this);
|
|
@@ -22212,9 +22199,9 @@ function Of(t) {
|
|
|
22212
22199
|
};
|
|
22213
22200
|
}
|
|
22214
22201
|
function If(t, n, r, _, e) {
|
|
22215
|
-
return new
|
|
22202
|
+
return new lF(t, n, r, _, e);
|
|
22216
22203
|
}
|
|
22217
|
-
var
|
|
22204
|
+
var lF = function(t) {
|
|
22218
22205
|
Ys(n, t);
|
|
22219
22206
|
function n(r, _, e, o, s, E) {
|
|
22220
22207
|
var c = t.call(this, r) || this;
|
|
@@ -22249,7 +22236,7 @@ var UF = function(t) {
|
|
|
22249
22236
|
t.prototype.unsubscribe.call(this), !_ && ((r = this.onFinalize) === null || r === void 0 || r.call(this));
|
|
22250
22237
|
}
|
|
22251
22238
|
}, n;
|
|
22252
|
-
}(PR),
|
|
22239
|
+
}(PR), pF = ef(function(t) {
|
|
22253
22240
|
return function() {
|
|
22254
22241
|
t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
22255
22242
|
};
|
|
@@ -22264,7 +22251,7 @@ var UF = function(t) {
|
|
|
22264
22251
|
return _.operator = r, _;
|
|
22265
22252
|
}, n.prototype._throwIfClosed = function() {
|
|
22266
22253
|
if (this.closed)
|
|
22267
|
-
throw new
|
|
22254
|
+
throw new pF();
|
|
22268
22255
|
}, n.prototype.next = function(r) {
|
|
22269
22256
|
var _ = this;
|
|
22270
22257
|
ac(function() {
|
|
@@ -22376,10 +22363,10 @@ var UF = function(t) {
|
|
|
22376
22363
|
t.prototype.next.call(this, this._value = r);
|
|
22377
22364
|
}, n;
|
|
22378
22365
|
}(dR);
|
|
22379
|
-
function
|
|
22366
|
+
function hF(t) {
|
|
22380
22367
|
return !!t && (t instanceof rI || Wr(t.lift) && Wr(t.subscribe));
|
|
22381
22368
|
}
|
|
22382
|
-
function
|
|
22369
|
+
function DF(t, n) {
|
|
22383
22370
|
return Of(function(r, _) {
|
|
22384
22371
|
var e = 0;
|
|
22385
22372
|
r.subscribe(If(_, function(o) {
|
|
@@ -22388,7 +22375,7 @@ function xF(t, n) {
|
|
|
22388
22375
|
});
|
|
22389
22376
|
}
|
|
22390
22377
|
function CN(t, n) {
|
|
22391
|
-
return n === void 0 && (n = cf), t = t ??
|
|
22378
|
+
return n === void 0 && (n = cf), t = t ?? LF, Of(function(r, _) {
|
|
22392
22379
|
var e, o = !0;
|
|
22393
22380
|
r.subscribe(If(_, function(s) {
|
|
22394
22381
|
var E = n(s);
|
|
@@ -22396,10 +22383,10 @@ function CN(t, n) {
|
|
|
22396
22383
|
}));
|
|
22397
22384
|
});
|
|
22398
22385
|
}
|
|
22399
|
-
function
|
|
22386
|
+
function LF(t, n) {
|
|
22400
22387
|
return t === n;
|
|
22401
22388
|
}
|
|
22402
|
-
var
|
|
22389
|
+
var PF = () => new dR(), dF = /* istanbul ignore next */ typeof window > "u" ? Un : $N, uN = (t) => {
|
|
22403
22390
|
var n;
|
|
22404
22391
|
return (n = t[1]) != null && n.next ? t[1] : {
|
|
22405
22392
|
next: t[1],
|
|
@@ -22407,9 +22394,9 @@ var wF = () => new dR(), yF = /* istanbul ignore next */ typeof window > "u" ? U
|
|
|
22407
22394
|
complete: t[3]
|
|
22408
22395
|
};
|
|
22409
22396
|
};
|
|
22410
|
-
function
|
|
22397
|
+
function vF(t, n) {
|
|
22411
22398
|
const r = zn(n), _ = zn(), e = zn();
|
|
22412
|
-
return
|
|
22399
|
+
return dF(() => {
|
|
22413
22400
|
r.current = n, _.current = uN(n);
|
|
22414
22401
|
}), t(() => {
|
|
22415
22402
|
const o = r.current[0];
|
|
@@ -22432,31 +22419,31 @@ function BF(t, n) {
|
|
|
22432
22419
|
};
|
|
22433
22420
|
}, [n[0]]), e;
|
|
22434
22421
|
}
|
|
22435
|
-
function
|
|
22436
|
-
return
|
|
22422
|
+
function MF(t, n, r, _) {
|
|
22423
|
+
return vF(Un, [
|
|
22437
22424
|
t,
|
|
22438
22425
|
n,
|
|
22439
22426
|
r,
|
|
22440
22427
|
_
|
|
22441
22428
|
]);
|
|
22442
22429
|
}
|
|
22443
|
-
function
|
|
22444
|
-
if (
|
|
22430
|
+
function mF(t, n, r) {
|
|
22431
|
+
if (hF(n)) {
|
|
22445
22432
|
const _ = n, [e, o] = Mn(() => _ instanceof Rf || _.value !== void 0 ? _.value : typeof r == "function" ? r() : r);
|
|
22446
22433
|
return t(_, o), mR(e), e;
|
|
22447
22434
|
} else {
|
|
22448
|
-
const _ = n, [e, o] = Mn(r), [s] = Mn(
|
|
22435
|
+
const _ = n, [e, o] = Mn(r), [s] = Mn(PF), [E] = Mn(() => _(s, e)), c = zn((a) => s.next(a)).current;
|
|
22449
22436
|
return t(E, o), mR(e), [e, c];
|
|
22450
22437
|
}
|
|
22451
22438
|
}
|
|
22452
|
-
function
|
|
22453
|
-
return
|
|
22454
|
-
|
|
22439
|
+
function gF(t, n) {
|
|
22440
|
+
return mF(
|
|
22441
|
+
MF,
|
|
22455
22442
|
t,
|
|
22456
22443
|
n
|
|
22457
22444
|
);
|
|
22458
22445
|
}
|
|
22459
|
-
class
|
|
22446
|
+
class UF {
|
|
22460
22447
|
constructor(n) {
|
|
22461
22448
|
DO(this, "defaultState");
|
|
22462
22449
|
DO(this, "subject$");
|
|
@@ -22478,11 +22465,11 @@ class FF {
|
|
|
22478
22465
|
);
|
|
22479
22466
|
}
|
|
22480
22467
|
observe() {
|
|
22481
|
-
return
|
|
22468
|
+
return gF(this.state$);
|
|
22482
22469
|
}
|
|
22483
22470
|
selectChanges$(n) {
|
|
22484
22471
|
return this.subject$.pipe(
|
|
22485
|
-
|
|
22472
|
+
DF((r) => r[n]),
|
|
22486
22473
|
CN()
|
|
22487
22474
|
);
|
|
22488
22475
|
}
|
|
@@ -22493,36 +22480,36 @@ class FF {
|
|
|
22493
22480
|
this.subject$.complete();
|
|
22494
22481
|
}
|
|
22495
22482
|
}
|
|
22496
|
-
var
|
|
22497
|
-
for (var e = _ > 1 ? void 0 : _ ?
|
|
22483
|
+
var GF = Object.defineProperty, bF = Object.getOwnPropertyDescriptor, xF = (t, n, r, _) => {
|
|
22484
|
+
for (var e = _ > 1 ? void 0 : _ ? bF(n, r) : n, o = t.length - 1, s; o >= 0; o--)
|
|
22498
22485
|
(s = t[o]) && (e = (_ ? s(n, r, e) : s(e)) || e);
|
|
22499
|
-
return _ && e &&
|
|
22486
|
+
return _ && e && GF(n, r, e), e;
|
|
22500
22487
|
};
|
|
22501
|
-
const
|
|
22488
|
+
const HF = {
|
|
22502
22489
|
id: null,
|
|
22503
22490
|
page: null,
|
|
22504
22491
|
checkData: []
|
|
22505
22492
|
};
|
|
22506
|
-
let B_ = class extends
|
|
22493
|
+
let B_ = class extends UF {
|
|
22507
22494
|
constructor() {
|
|
22508
|
-
super(
|
|
22495
|
+
super(HF);
|
|
22509
22496
|
}
|
|
22510
22497
|
};
|
|
22511
|
-
B_ =
|
|
22498
|
+
B_ = xF([
|
|
22512
22499
|
mY()
|
|
22513
22500
|
], B_);
|
|
22514
|
-
const
|
|
22515
|
-
container:
|
|
22516
|
-
images:
|
|
22517
|
-
vertical:
|
|
22518
|
-
horizontal:
|
|
22519
|
-
fit:
|
|
22520
|
-
},
|
|
22521
|
-
container:
|
|
22522
|
-
image:
|
|
22523
|
-
active:
|
|
22524
|
-
inactive:
|
|
22525
|
-
},
|
|
22501
|
+
const wF = "_container_5l0yf_1", yF = "_images_5l0yf_12", BF = "_vertical_5l0yf_18", $F = "_horizontal_5l0yf_22", jF = "_fit_5l0yf_26", Va = {
|
|
22502
|
+
container: wF,
|
|
22503
|
+
images: yF,
|
|
22504
|
+
vertical: BF,
|
|
22505
|
+
horizontal: $F,
|
|
22506
|
+
fit: jF
|
|
22507
|
+
}, YF = "_container_1lqqx_1", FF = "_image_1lqqx_8", KF = "_active_1lqqx_19", WF = "_inactive_1lqqx_24", Za = {
|
|
22508
|
+
container: YF,
|
|
22509
|
+
image: FF,
|
|
22510
|
+
active: KF,
|
|
22511
|
+
inactive: WF
|
|
22512
|
+
}, XF = ({
|
|
22526
22513
|
title: t,
|
|
22527
22514
|
src: n,
|
|
22528
22515
|
onClick: r,
|
|
@@ -22583,7 +22570,7 @@ const ZF = "_container_5l0yf_1", kF = "_images_5l0yf_12", JF = "_vertical_5l0yf_
|
|
|
22583
22570
|
}
|
|
22584
22571
|
),
|
|
22585
22572
|
/* @__PURE__ */ I.jsx("div", { className: mn(Va.images, Va[r]), children: n.map(({ name: o, src: s, id: E }) => /* @__PURE__ */ I.jsx(
|
|
22586
|
-
|
|
22573
|
+
XF,
|
|
22587
22574
|
{
|
|
22588
22575
|
src: s,
|
|
22589
22576
|
title: o,
|
|
@@ -22594,12 +22581,12 @@ const ZF = "_container_5l0yf_1", kF = "_images_5l0yf_12", JF = "_vertical_5l0yf_
|
|
|
22594
22581
|
)) })
|
|
22595
22582
|
]
|
|
22596
22583
|
}
|
|
22597
|
-
),
|
|
22598
|
-
canvas:
|
|
22584
|
+
), VF = "_canvas_1duaq_1", ZF = {
|
|
22585
|
+
canvas: VF
|
|
22599
22586
|
}, ka = (t, n, r) => {
|
|
22600
22587
|
const [_, e] = n, [o, s] = r;
|
|
22601
22588
|
return (t - _) / (e - _) * (s - o) + o;
|
|
22602
|
-
},
|
|
22589
|
+
}, kF = ({
|
|
22603
22590
|
currentPage: t,
|
|
22604
22591
|
currentLight: n,
|
|
22605
22592
|
locationPage: r,
|
|
@@ -22623,24 +22610,27 @@ const ZF = "_container_5l0yf_1", kF = "_images_5l0yf_12", JF = "_vertical_5l0yf_
|
|
|
22623
22610
|
"canvas",
|
|
22624
22611
|
{
|
|
22625
22612
|
ref: o,
|
|
22626
|
-
className:
|
|
22613
|
+
className: ZF.canvas
|
|
22627
22614
|
}
|
|
22628
22615
|
);
|
|
22629
|
-
},
|
|
22630
|
-
viewer:
|
|
22631
|
-
preview:
|
|
22632
|
-
current:
|
|
22633
|
-
image:
|
|
22634
|
-
},
|
|
22616
|
+
}, JF = "_viewer_35suj_1", zF = "_preview_35suj_11", QF = "_current_35suj_17", qF = "_image_35suj_21", Ja = {
|
|
22617
|
+
viewer: JF,
|
|
22618
|
+
preview: zF,
|
|
22619
|
+
current: QF,
|
|
22620
|
+
image: qF
|
|
22621
|
+
}, tK = ({
|
|
22635
22622
|
images: t
|
|
22636
22623
|
}) => {
|
|
22637
|
-
const { t: n } =
|
|
22638
|
-
|
|
22639
|
-
|
|
22640
|
-
|
|
22641
|
-
|
|
22624
|
+
const { t: n } = OF(), { checkData: r, page: _ } = Ee.resolve(B_).observe(), [e, o] = Mn(t[0].light), [s, E] = Mn(0), c = rc(() => t.map(({ pages: T, light: L }) => {
|
|
22625
|
+
let P = T.find(({ pageIndex: D }) => D === s);
|
|
22626
|
+
return P || (P = T[0], E(P.pageIndex)), {
|
|
22627
|
+
id: L,
|
|
22628
|
+
name: Ut.getLightsLabel(L),
|
|
22629
|
+
src: P.src
|
|
22630
|
+
};
|
|
22631
|
+
}), [t, s]), a = rc(() => {
|
|
22642
22632
|
let T = t.find((P) => P.light === e);
|
|
22643
|
-
return T || (T = t[0], o(
|
|
22633
|
+
return T || (T = t[0], o(T.light)), [...T.pages].sort((P, D) => P.pageIndex - D.pageIndex).map((P, D) => ({
|
|
22644
22634
|
id: D,
|
|
22645
22635
|
name: String(P.pageIndex + 1),
|
|
22646
22636
|
src: P.src
|
|
@@ -22649,7 +22639,7 @@ const ZF = "_container_5l0yf_1", kF = "_images_5l0yf_12", JF = "_vertical_5l0yf_
|
|
|
22649
22639
|
let T = a[s] || a[0];
|
|
22650
22640
|
return E(T.id ?? 0), T.src;
|
|
22651
22641
|
}, [a, s]), N = (T) => {
|
|
22652
|
-
o(T),
|
|
22642
|
+
o(T), Ee.resolve(B_).push({ id: null, page: null, checkData: [] });
|
|
22653
22643
|
}, R = (T) => {
|
|
22654
22644
|
E(T), Ee.resolve(B_).push({ id: null, page: null, checkData: [] });
|
|
22655
22645
|
};
|
|
@@ -22681,7 +22671,7 @@ const ZF = "_container_5l0yf_1", kF = "_images_5l0yf_12", JF = "_vertical_5l0yf_
|
|
|
22681
22671
|
}
|
|
22682
22672
|
),
|
|
22683
22673
|
r.length > 0 && /* @__PURE__ */ I.jsx(
|
|
22684
|
-
|
|
22674
|
+
kF,
|
|
22685
22675
|
{
|
|
22686
22676
|
image: O,
|
|
22687
22677
|
checkData: r,
|
|
@@ -22703,30 +22693,30 @@ const ZF = "_container_5l0yf_1", kF = "_images_5l0yf_12", JF = "_vertical_5l0yf_
|
|
|
22703
22693
|
)
|
|
22704
22694
|
] })
|
|
22705
22695
|
] });
|
|
22706
|
-
},
|
|
22696
|
+
}, nK = () => {
|
|
22707
22697
|
const { response: t } = Zn();
|
|
22708
22698
|
if (!t)
|
|
22709
22699
|
return null;
|
|
22710
22700
|
const n = bE(t, [rs.DOCUMENT_FRONT], [_c.DOCUMENT_IMAGE]);
|
|
22711
|
-
return /* @__PURE__ */ I.jsx(
|
|
22712
|
-
},
|
|
22713
|
-
page:
|
|
22714
|
-
probability:
|
|
22715
|
-
},
|
|
22716
|
-
page:
|
|
22717
|
-
probability:
|
|
22718
|
-
},
|
|
22719
|
-
Q.addResourceBundle("en", "document-reader-info-text-data-child",
|
|
22720
|
-
Q.addResourceBundle("ru", "document-reader-info-text-data-child",
|
|
22721
|
-
const
|
|
22722
|
-
container:
|
|
22723
|
-
name:
|
|
22724
|
-
},
|
|
22701
|
+
return /* @__PURE__ */ I.jsx(tK, { images: n });
|
|
22702
|
+
}, rK = "Page", _K = "Probability", eK = {
|
|
22703
|
+
page: rK,
|
|
22704
|
+
probability: _K
|
|
22705
|
+
}, oK = "Страница", sK = "Вероятность", EK = {
|
|
22706
|
+
page: oK,
|
|
22707
|
+
probability: sK
|
|
22708
|
+
}, aK = () => qt("document-reader-info-text-data-child");
|
|
22709
|
+
Q.addResourceBundle("en", "document-reader-info-text-data-child", eK);
|
|
22710
|
+
Q.addResourceBundle("ru", "document-reader-info-text-data-child", EK);
|
|
22711
|
+
const cK = "_container_ni12q_1", OK = "_name_ni12q_23", za = {
|
|
22712
|
+
container: cK,
|
|
22713
|
+
name: OK
|
|
22714
|
+
}, iK = ({
|
|
22725
22715
|
probability: t,
|
|
22726
22716
|
pageIndex: n,
|
|
22727
22717
|
shift: r = 0
|
|
22728
22718
|
}) => {
|
|
22729
|
-
const { t: _ } =
|
|
22719
|
+
const { t: _ } = aK(), e = {
|
|
22730
22720
|
"--shift": r + "px"
|
|
22731
22721
|
};
|
|
22732
22722
|
return /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
@@ -22767,22 +22757,22 @@ const fK = "_container_ni12q_1", lK = "_name_ni12q_23", za = {
|
|
|
22767
22757
|
}
|
|
22768
22758
|
)
|
|
22769
22759
|
] });
|
|
22770
|
-
},
|
|
22771
|
-
content:
|
|
22772
|
-
},
|
|
22760
|
+
}, IK = "_content_19nax_1", RK = {
|
|
22761
|
+
content: IK
|
|
22762
|
+
}, AK = ({
|
|
22773
22763
|
source: t
|
|
22774
|
-
}) => /* @__PURE__ */ I.jsxs("div", { className:
|
|
22764
|
+
}) => /* @__PURE__ */ I.jsxs("div", { className: RK.content, children: [
|
|
22775
22765
|
/* @__PURE__ */ I.jsx(Tt, { size: "18x135", children: /* @__PURE__ */ I.jsx(Ut.Source, { children: t }) }),
|
|
22776
22766
|
/* @__PURE__ */ I.jsx(Tt, { children: /* @__PURE__ */ I.jsx(Ut.SourceDescription, { children: t }) })
|
|
22777
|
-
] }),
|
|
22778
|
-
content:
|
|
22779
|
-
},
|
|
22767
|
+
] }), NK = "_content_lkw3k_1", SK = {
|
|
22768
|
+
content: NK
|
|
22769
|
+
}, TK = ({
|
|
22780
22770
|
left: t,
|
|
22781
22771
|
right: n
|
|
22782
|
-
}) => /* @__PURE__ */ I.jsx("div", { className:
|
|
22783
|
-
comparison:
|
|
22784
|
-
name:
|
|
22785
|
-
},
|
|
22772
|
+
}) => /* @__PURE__ */ I.jsx("div", { className: SK.content, children: /* @__PURE__ */ I.jsx(Tt, { children: `Comparison between ${t} and ${n}.` }) }), CK = "_comparison_pjakd_1", uK = "_name_pjakd_7", lN = {
|
|
22773
|
+
comparison: CK,
|
|
22774
|
+
name: uK
|
|
22775
|
+
}, fK = ({
|
|
22786
22776
|
left: t,
|
|
22787
22777
|
right: n,
|
|
22788
22778
|
status: r
|
|
@@ -22792,15 +22782,15 @@ const fK = "_container_ni12q_1", lK = "_name_ni12q_23", za = {
|
|
|
22792
22782
|
/* @__PURE__ */ I.jsx(Tt, { className: lN.name, children: /* @__PURE__ */ I.jsx(
|
|
22793
22783
|
RR,
|
|
22794
22784
|
{
|
|
22795
|
-
modal: /* @__PURE__ */ I.jsx(
|
|
22785
|
+
modal: /* @__PURE__ */ I.jsx(TK, { left: t, right: n }),
|
|
22796
22786
|
children: `${t} - ${n}`
|
|
22797
22787
|
}
|
|
22798
22788
|
) }),
|
|
22799
22789
|
_
|
|
22800
22790
|
] });
|
|
22801
|
-
},
|
|
22791
|
+
}, lK = {
|
|
22802
22792
|
"text-data": "_text-data_uau8a_1"
|
|
22803
|
-
},
|
|
22793
|
+
}, pK = ({
|
|
22804
22794
|
textData: t
|
|
22805
22795
|
}) => t.map(({ name: n, value: r, checkResult: _, bySource: e, comparisonList: o }, s) => /* @__PURE__ */ I.jsx(
|
|
22806
22796
|
ie,
|
|
@@ -22809,17 +22799,17 @@ const fK = "_container_ni12q_1", lK = "_name_ni12q_23", za = {
|
|
|
22809
22799
|
value: r,
|
|
22810
22800
|
status: _,
|
|
22811
22801
|
open: _ === Nn.ERROR,
|
|
22812
|
-
children: /* @__PURE__ */ I.jsxs("div", { className:
|
|
22802
|
+
children: /* @__PURE__ */ I.jsxs("div", { className: lK["text-data"], children: [
|
|
22813
22803
|
e.map(({ source: E, value: c, checkResult: a, probability: O, pageIndex: N }, R) => c ? /* @__PURE__ */ I.jsx(
|
|
22814
22804
|
ie,
|
|
22815
22805
|
{
|
|
22816
22806
|
nested: !0,
|
|
22817
22807
|
shift: 20,
|
|
22818
|
-
name: /* @__PURE__ */ I.jsx(RR, { modal: /* @__PURE__ */ I.jsx(
|
|
22808
|
+
name: /* @__PURE__ */ I.jsx(RR, { modal: /* @__PURE__ */ I.jsx(AK, { source: E }), children: E }),
|
|
22819
22809
|
value: c,
|
|
22820
22810
|
status: a,
|
|
22821
22811
|
children: /* @__PURE__ */ I.jsx(
|
|
22822
|
-
|
|
22812
|
+
iK,
|
|
22823
22813
|
{
|
|
22824
22814
|
probability: O,
|
|
22825
22815
|
pageIndex: N,
|
|
@@ -22830,7 +22820,7 @@ const fK = "_container_ni12q_1", lK = "_name_ni12q_23", za = {
|
|
|
22830
22820
|
R
|
|
22831
22821
|
) : null),
|
|
22832
22822
|
o.map(({ sourceLeft: E, sourceRight: c, status: a }) => /* @__PURE__ */ I.jsx(
|
|
22833
|
-
|
|
22823
|
+
fK,
|
|
22834
22824
|
{
|
|
22835
22825
|
left: E,
|
|
22836
22826
|
right: c,
|
|
@@ -22841,16 +22831,16 @@ const fK = "_container_ni12q_1", lK = "_name_ni12q_23", za = {
|
|
|
22841
22831
|
] })
|
|
22842
22832
|
},
|
|
22843
22833
|
s
|
|
22844
|
-
)),
|
|
22845
|
-
page:
|
|
22846
|
-
},
|
|
22847
|
-
page:
|
|
22848
|
-
},
|
|
22849
|
-
Q.addResourceBundle("en", "document-reader-info-image-quality",
|
|
22850
|
-
Q.addResourceBundle("ru", "document-reader-info-image-quality",
|
|
22851
|
-
const
|
|
22852
|
-
container:
|
|
22853
|
-
name:
|
|
22834
|
+
)), hK = "Page", DK = {
|
|
22835
|
+
page: hK
|
|
22836
|
+
}, LK = "Страница", PK = {
|
|
22837
|
+
page: LK
|
|
22838
|
+
}, dK = () => qt("document-reader-info-image-quality");
|
|
22839
|
+
Q.addResourceBundle("en", "document-reader-info-image-quality", DK);
|
|
22840
|
+
Q.addResourceBundle("ru", "document-reader-info-image-quality", PK);
|
|
22841
|
+
const vK = "_container_q8n6s_1", MK = "_name_q8n6s_14", pN = {
|
|
22842
|
+
container: vK,
|
|
22843
|
+
name: MK
|
|
22854
22844
|
}, hN = ({
|
|
22855
22845
|
name: t,
|
|
22856
22846
|
status: n,
|
|
@@ -22873,10 +22863,10 @@ const BK = "_container_q8n6s_1", $K = "_name_q8n6s_14", pN = {
|
|
|
22873
22863
|
] });
|
|
22874
22864
|
}, DN = {
|
|
22875
22865
|
"image-quality": "_image-quality_l45bi_1"
|
|
22876
|
-
},
|
|
22866
|
+
}, mK = ({
|
|
22877
22867
|
imageQuality: t
|
|
22878
22868
|
}) => {
|
|
22879
|
-
const { t: n } =
|
|
22869
|
+
const { t: n } = dK();
|
|
22880
22870
|
return t.length === 1 ? /* @__PURE__ */ I.jsx("div", { className: DN["image-quality"], children: t[0].checks.map(({ checkType: r, checkResult: _ }, e) => /* @__PURE__ */ I.jsx(
|
|
22881
22871
|
hN,
|
|
22882
22872
|
{
|
|
@@ -22902,7 +22892,7 @@ const BK = "_container_q8n6s_1", $K = "_name_q8n6s_14", pN = {
|
|
|
22902
22892
|
},
|
|
22903
22893
|
o
|
|
22904
22894
|
));
|
|
22905
|
-
},
|
|
22895
|
+
}, gK = (t) => {
|
|
22906
22896
|
const n = [];
|
|
22907
22897
|
return t.forEach(({ page: r, checks: _, checkResult: e }) => {
|
|
22908
22898
|
const o = {
|
|
@@ -22929,23 +22919,23 @@ const BK = "_container_q8n6s_1", $K = "_name_q8n6s_14", pN = {
|
|
|
22929
22919
|
}, LN = (t, n, r) => {
|
|
22930
22920
|
const _ = [...t, ...n, ...r];
|
|
22931
22921
|
return _.every(({ checkResult: e }) => e === Nn.OK) ? Nn.OK : _.some(({ checkResult: e }) => e === Nn.WAS_NOT_DONE) ? Nn.WAS_NOT_DONE : Nn.ERROR;
|
|
22932
|
-
},
|
|
22933
|
-
similarity:
|
|
22934
|
-
image:
|
|
22935
|
-
reference:
|
|
22936
|
-
diagnose:
|
|
22937
|
-
},
|
|
22938
|
-
similarity:
|
|
22939
|
-
image:
|
|
22940
|
-
reference:
|
|
22941
|
-
diagnose:
|
|
22942
|
-
},
|
|
22943
|
-
Q.addResourceBundle("en", "document-reader-info-authenticity-group-ident",
|
|
22944
|
-
Q.addResourceBundle("ru", "document-reader-info-authenticity-group-ident",
|
|
22945
|
-
const
|
|
22946
|
-
container:
|
|
22947
|
-
name:
|
|
22948
|
-
},
|
|
22922
|
+
}, UK = "Similarity", GK = "Image", bK = "Reference", xK = "Diagnose", HK = {
|
|
22923
|
+
similarity: UK,
|
|
22924
|
+
image: GK,
|
|
22925
|
+
reference: bK,
|
|
22926
|
+
diagnose: xK
|
|
22927
|
+
}, wK = "Подобие", yK = "Изображение", BK = "Эталон", $K = "Diagnose", jK = {
|
|
22928
|
+
similarity: wK,
|
|
22929
|
+
image: yK,
|
|
22930
|
+
reference: BK,
|
|
22931
|
+
diagnose: $K
|
|
22932
|
+
}, YK = () => qt("document-reader-info-authenticity-group-ident");
|
|
22933
|
+
Q.addResourceBundle("en", "document-reader-info-authenticity-group-ident", HK);
|
|
22934
|
+
Q.addResourceBundle("ru", "document-reader-info-authenticity-group-ident", jK);
|
|
22935
|
+
const FK = "_container_rx31i_1", KK = "_name_rx31i_24", ee = {
|
|
22936
|
+
container: FK,
|
|
22937
|
+
name: KK
|
|
22938
|
+
}, WK = ({
|
|
22949
22939
|
diagnose: t,
|
|
22950
22940
|
image: n,
|
|
22951
22941
|
referenceImage: r,
|
|
@@ -22954,7 +22944,7 @@ const tW = "_container_rx31i_1", nW = "_name_rx31i_24", ee = {
|
|
|
22954
22944
|
group: o,
|
|
22955
22945
|
shift: s = 0
|
|
22956
22946
|
}) => {
|
|
22957
|
-
const { t: E } =
|
|
22947
|
+
const { t: E } = YK(), c = _ === 0, N = o === ut.IR_VISIBILITY && _ === 1, R = {
|
|
22958
22948
|
"--shift": s + "px"
|
|
22959
22949
|
};
|
|
22960
22950
|
return /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
@@ -23031,25 +23021,25 @@ const tW = "_container_rx31i_1", nW = "_name_rx31i_24", ee = {
|
|
|
23031
23021
|
}
|
|
23032
23022
|
)
|
|
23033
23023
|
] });
|
|
23034
|
-
},
|
|
23035
|
-
image:
|
|
23036
|
-
diagnose:
|
|
23037
|
-
},
|
|
23038
|
-
image:
|
|
23039
|
-
diagnose:
|
|
23040
|
-
},
|
|
23041
|
-
Q.addResourceBundle("en", "document-reader-info-authenticity-group-photo-ident",
|
|
23042
|
-
Q.addResourceBundle("ru", "document-reader-info-authenticity-group-photo-ident",
|
|
23043
|
-
const
|
|
23044
|
-
container:
|
|
23045
|
-
name:
|
|
23046
|
-
},
|
|
23024
|
+
}, XK = "Image", VK = "Diagnose", ZK = {
|
|
23025
|
+
image: XK,
|
|
23026
|
+
diagnose: VK
|
|
23027
|
+
}, kK = "Изображение", JK = "Diagnose", zK = {
|
|
23028
|
+
image: kK,
|
|
23029
|
+
diagnose: JK
|
|
23030
|
+
}, QK = () => qt("document-reader-info-authenticity-group-photo-ident");
|
|
23031
|
+
Q.addResourceBundle("en", "document-reader-info-authenticity-group-photo-ident", ZK);
|
|
23032
|
+
Q.addResourceBundle("ru", "document-reader-info-authenticity-group-photo-ident", zK);
|
|
23033
|
+
const qK = "_container_170hg_1", tW = "_name_170hg_24", Qa = {
|
|
23034
|
+
container: qK,
|
|
23035
|
+
name: tW
|
|
23036
|
+
}, nW = ({
|
|
23047
23037
|
diagnose: t,
|
|
23048
23038
|
image: n,
|
|
23049
23039
|
status: r,
|
|
23050
23040
|
shift: _
|
|
23051
23041
|
}) => {
|
|
23052
|
-
const { t: e } =
|
|
23042
|
+
const { t: e } = QK(), o = {
|
|
23053
23043
|
"--shift": _ + "px"
|
|
23054
23044
|
};
|
|
23055
23045
|
return /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
@@ -23090,21 +23080,21 @@ const OW = "_container_170hg_1", iW = "_name_170hg_24", Qa = {
|
|
|
23090
23080
|
}
|
|
23091
23081
|
)
|
|
23092
23082
|
] });
|
|
23093
|
-
},
|
|
23094
|
-
diagnose:
|
|
23095
|
-
},
|
|
23096
|
-
diagnose:
|
|
23097
|
-
},
|
|
23098
|
-
Q.addResourceBundle("en", "document-reader-info-authenticity-group-security",
|
|
23099
|
-
Q.addResourceBundle("ru", "document-reader-info-authenticity-group-security",
|
|
23100
|
-
const
|
|
23101
|
-
container:
|
|
23102
|
-
name:
|
|
23103
|
-
},
|
|
23083
|
+
}, rW = "Diagnose", _W = {
|
|
23084
|
+
diagnose: rW
|
|
23085
|
+
}, eW = "Diagnose", oW = {
|
|
23086
|
+
diagnose: eW
|
|
23087
|
+
}, sW = () => qt("document-reader-info-authenticity-group-security");
|
|
23088
|
+
Q.addResourceBundle("en", "document-reader-info-authenticity-group-security", _W);
|
|
23089
|
+
Q.addResourceBundle("ru", "document-reader-info-authenticity-group-security", oW);
|
|
23090
|
+
const EW = "_container_1jxaz_1", aW = "_name_1jxaz_21", PN = {
|
|
23091
|
+
container: EW,
|
|
23092
|
+
name: aW
|
|
23093
|
+
}, cW = ({
|
|
23104
23094
|
diagnose: t,
|
|
23105
23095
|
shift: n = 0
|
|
23106
23096
|
}) => {
|
|
23107
|
-
const { t: r } =
|
|
23097
|
+
const { t: r } = sW(), _ = {
|
|
23108
23098
|
"--shift": n + "px"
|
|
23109
23099
|
};
|
|
23110
23100
|
return /* @__PURE__ */ I.jsxs(
|
|
@@ -23163,7 +23153,7 @@ const CW = "_container_1jxaz_1", uW = "_name_1jxaz_21", PN = {
|
|
|
23163
23153
|
collapse: f,
|
|
23164
23154
|
onClick: d && _i(d) ? () => s({ id: h, page: c, checkData: [{ checkResult: T, location: d }] }) : void 0,
|
|
23165
23155
|
children: /* @__PURE__ */ I.jsx(
|
|
23166
|
-
|
|
23156
|
+
WK,
|
|
23167
23157
|
{
|
|
23168
23158
|
image: L,
|
|
23169
23159
|
referenceImage: P,
|
|
@@ -23179,7 +23169,7 @@ const CW = "_container_1jxaz_1", uW = "_name_1jxaz_21", PN = {
|
|
|
23179
23169
|
);
|
|
23180
23170
|
}),
|
|
23181
23171
|
_.map(({ image: R, checkResult: T, diagnose: L }, P) => /* @__PURE__ */ I.jsx(
|
|
23182
|
-
|
|
23172
|
+
nW,
|
|
23183
23173
|
{
|
|
23184
23174
|
status: T,
|
|
23185
23175
|
diagnose: L,
|
|
@@ -23202,7 +23192,7 @@ const CW = "_container_1jxaz_1", uW = "_name_1jxaz_21", PN = {
|
|
|
23202
23192
|
collapse: R === Nn.ERROR,
|
|
23203
23193
|
onClick: P && _i(P) ? () => s({ id: g, page: c, checkData: [{ checkResult: R, location: P }] }) : void 0,
|
|
23204
23194
|
children: /* @__PURE__ */ I.jsx(
|
|
23205
|
-
|
|
23195
|
+
cW,
|
|
23206
23196
|
{
|
|
23207
23197
|
diagnose: T,
|
|
23208
23198
|
shift: a + 44
|
|
@@ -23215,9 +23205,9 @@ const CW = "_container_1jxaz_1", uW = "_name_1jxaz_21", PN = {
|
|
|
23215
23205
|
]
|
|
23216
23206
|
}
|
|
23217
23207
|
);
|
|
23218
|
-
},
|
|
23219
|
-
authenticity:
|
|
23220
|
-
},
|
|
23208
|
+
}, OW = "_authenticity_ymfvw_1", vN = {
|
|
23209
|
+
authenticity: OW
|
|
23210
|
+
}, iW = ({
|
|
23221
23211
|
authenticity: t,
|
|
23222
23212
|
currentID: n,
|
|
23223
23213
|
clickHandler: r
|
|
@@ -23259,10 +23249,10 @@ const CW = "_container_1jxaz_1", uW = "_name_1jxaz_21", PN = {
|
|
|
23259
23249
|
)) })
|
|
23260
23250
|
},
|
|
23261
23251
|
_
|
|
23262
|
-
)),
|
|
23252
|
+
)), IW = ({
|
|
23263
23253
|
authenticity: t
|
|
23264
23254
|
}) => {
|
|
23265
|
-
const n =
|
|
23255
|
+
const n = gK(t), { id: r } = Ee.resolve(B_).observe(), _ = ({
|
|
23266
23256
|
id: e,
|
|
23267
23257
|
page: o,
|
|
23268
23258
|
checkData: s
|
|
@@ -23270,23 +23260,23 @@ const CW = "_container_1jxaz_1", uW = "_name_1jxaz_21", PN = {
|
|
|
23270
23260
|
r === e ? Ee.resolve(B_).push({ id: null, page: null, checkData: [] }) : Ee.resolve(B_).push({ id: e, page: o, checkData: s });
|
|
23271
23261
|
};
|
|
23272
23262
|
return /* @__PURE__ */ I.jsx(
|
|
23273
|
-
|
|
23263
|
+
iW,
|
|
23274
23264
|
{
|
|
23275
23265
|
authenticity: n,
|
|
23276
23266
|
currentID: r,
|
|
23277
23267
|
clickHandler: _
|
|
23278
23268
|
}
|
|
23279
23269
|
);
|
|
23280
|
-
},
|
|
23281
|
-
page:
|
|
23282
|
-
},
|
|
23283
|
-
page:
|
|
23284
|
-
},
|
|
23285
|
-
Q.addResourceBundle("en", "document-reader-info-identification",
|
|
23286
|
-
Q.addResourceBundle("ru", "document-reader-info-identification",
|
|
23287
|
-
const
|
|
23288
|
-
container:
|
|
23289
|
-
name:
|
|
23270
|
+
}, RW = "Page", AW = {
|
|
23271
|
+
page: RW
|
|
23272
|
+
}, NW = "Страница", SW = {
|
|
23273
|
+
page: NW
|
|
23274
|
+
}, TW = () => qt("document-reader-info-identification");
|
|
23275
|
+
Q.addResourceBundle("en", "document-reader-info-identification", AW);
|
|
23276
|
+
Q.addResourceBundle("ru", "document-reader-info-identification", SW);
|
|
23277
|
+
const CW = "_container_q8n6s_1", uW = "_name_q8n6s_14", MN = {
|
|
23278
|
+
container: CW,
|
|
23279
|
+
name: uW
|
|
23290
23280
|
}, mN = ({
|
|
23291
23281
|
name: t,
|
|
23292
23282
|
shift: n
|
|
@@ -23303,12 +23293,12 @@ const MW = "_container_q8n6s_1", mW = "_name_q8n6s_14", MN = {
|
|
|
23303
23293
|
children: t
|
|
23304
23294
|
}
|
|
23305
23295
|
) });
|
|
23306
|
-
},
|
|
23307
|
-
identification:
|
|
23308
|
-
},
|
|
23296
|
+
}, fW = "_identification_1v3mp_1", gN = {
|
|
23297
|
+
identification: fW
|
|
23298
|
+
}, lW = ({
|
|
23309
23299
|
documentIdentification: t
|
|
23310
23300
|
}) => {
|
|
23311
|
-
const { t: n } =
|
|
23301
|
+
const { t: n } = TW();
|
|
23312
23302
|
return t.length === 1 ? /* @__PURE__ */ I.jsx("div", { className: gN.identification, children: /* @__PURE__ */ I.jsx(mN, { name: t[0].documentName }) }) : t.sort((r, _) => r.pageIndex - _.pageIndex).map(({ pageIndex: r, documentName: _ }, e) => /* @__PURE__ */ I.jsx(
|
|
23313
23303
|
ie,
|
|
23314
23304
|
{
|
|
@@ -23323,41 +23313,47 @@ const MW = "_container_q8n6s_1", mW = "_name_q8n6s_14", MN = {
|
|
|
23323
23313
|
},
|
|
23324
23314
|
e
|
|
23325
23315
|
));
|
|
23326
|
-
},
|
|
23327
|
-
container:
|
|
23328
|
-
content:
|
|
23329
|
-
},
|
|
23330
|
-
|
|
23331
|
-
|
|
23332
|
-
|
|
23333
|
-
documentIdentification:
|
|
23334
|
-
|
|
23335
|
-
|
|
23336
|
-
|
|
23337
|
-
|
|
23338
|
-
|
|
23339
|
-
|
|
23340
|
-
|
|
23341
|
-
|
|
23342
|
-
|
|
23343
|
-
|
|
23344
|
-
|
|
23345
|
-
|
|
23346
|
-
|
|
23347
|
-
|
|
23348
|
-
|
|
23349
|
-
},
|
|
23350
|
-
|
|
23351
|
-
|
|
23316
|
+
}, pW = "_container_1d9ti_1", hW = "_content_1d9ti_10", UN = {
|
|
23317
|
+
container: pW,
|
|
23318
|
+
content: hW
|
|
23319
|
+
}, DW = ({
|
|
23320
|
+
tabs: t,
|
|
23321
|
+
identification: n
|
|
23322
|
+
}) => /* @__PURE__ */ I.jsxs("div", { className: UN.container, children: [
|
|
23323
|
+
n && /* @__PURE__ */ I.jsx(nF, { documentIdentification: n }),
|
|
23324
|
+
/* @__PURE__ */ I.jsxs("div", { className: UN.content, children: [
|
|
23325
|
+
/* @__PURE__ */ I.jsx(nK, {}),
|
|
23326
|
+
t.length && /* @__PURE__ */ I.jsx(
|
|
23327
|
+
EC,
|
|
23328
|
+
{
|
|
23329
|
+
type: "line",
|
|
23330
|
+
items: t
|
|
23331
|
+
}
|
|
23332
|
+
)
|
|
23333
|
+
] })
|
|
23334
|
+
] }), LW = "Text data", PW = "Authenticity", dW = "Image quality", vW = "Identification", MW = {
|
|
23335
|
+
textData: LW,
|
|
23336
|
+
authenticity: PW,
|
|
23337
|
+
imageQuality: dW,
|
|
23338
|
+
identification: vW
|
|
23339
|
+
}, mW = "Текстовые данные", gW = "Подлинность", UW = "Качество изображения", GW = "Identification", bW = {
|
|
23340
|
+
textData: mW,
|
|
23341
|
+
authenticity: gW,
|
|
23342
|
+
imageQuality: UW,
|
|
23343
|
+
identification: GW
|
|
23344
|
+
}, xW = () => qt("document-reader-info");
|
|
23345
|
+
Q.addResourceBundle("en", "document-reader-info", MW);
|
|
23346
|
+
Q.addResourceBundle("ru", "document-reader-info", bW);
|
|
23347
|
+
const BZ = () => {
|
|
23348
|
+
const { t } = xW(), { response: n } = Zn();
|
|
23349
|
+
if (!n)
|
|
23352
23350
|
return null;
|
|
23353
|
-
const
|
|
23354
|
-
return /* @__PURE__ */ I.jsx(
|
|
23355
|
-
|
|
23351
|
+
const r = Zv(n), _ = Iv(n), e = y0(n), o = wv(n), s = o.find(({ pageIndex: c }) => c === 0), E = [];
|
|
23352
|
+
return r.length && E.push({ label: t("textData"), children: /* @__PURE__ */ I.jsx(pK, { textData: r }) }), e.length && E.push({ label: t("authenticity"), children: /* @__PURE__ */ I.jsx(IW, { authenticity: e }) }), _.length && E.push({ label: t("imageQuality"), children: /* @__PURE__ */ I.jsx(mK, { imageQuality: _ }) }), o.length && E.push({ label: t("identification"), children: /* @__PURE__ */ I.jsx(lW, { documentIdentification: o }) }), /* @__PURE__ */ I.jsx(
|
|
23353
|
+
DW,
|
|
23356
23354
|
{
|
|
23357
|
-
|
|
23358
|
-
|
|
23359
|
-
authenticity: _,
|
|
23360
|
-
documentIdentification: e
|
|
23355
|
+
tabs: E,
|
|
23356
|
+
identification: s
|
|
23361
23357
|
}
|
|
23362
23358
|
);
|
|
23363
23359
|
}, HW = "RFID chip", wW = {
|
|
@@ -23849,7 +23845,7 @@ const rZ = "_text_n239b_1", _Z = "_image_n239b_5", eZ = "_rate_n239b_21", nc = {
|
|
|
23849
23845
|
),
|
|
23850
23846
|
r !== void 0 && _ !== void 0 && /* @__PURE__ */ I.jsxs("span", { className: nc.rate, children: [
|
|
23851
23847
|
Q_(r),
|
|
23852
|
-
/* @__PURE__ */ I.jsx(Tt, { children: `${e("rate")} ${_
|
|
23848
|
+
/* @__PURE__ */ I.jsx(Tt, { children: `${e("rate")} ${_}%` })
|
|
23853
23849
|
] })
|
|
23854
23850
|
] })
|
|
23855
23851
|
] });
|