@regulaforensics/ui-components 9.7.1084-nightly → 9.7.1086-nightly
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/core/index.cjs +2 -2
- package/dist/core/index.d.ts +12 -0
- package/dist/core/index.js +280 -255
- package/dist/main/index.cjs +2 -2
- package/dist/main/index.d.ts +12 -0
- package/dist/main/index.js +280 -255
- package/package.json +1 -1
package/dist/main/index.js
CHANGED
|
@@ -80784,19 +80784,19 @@ var lU = () => Qk("cba5b1563e4d8bfbec09cb310eaef733"), uU = {
|
|
|
80784
80784
|
items: "_items_l6jk0_35",
|
|
80785
80785
|
item: "_item_l6jk0_35",
|
|
80786
80786
|
text: "_text_l6jk0_47"
|
|
80787
|
-
}, dU = ({ nameSurname: e, issuingStateName: t, dateOfExpiry: n, dateOfBirth: r, documentNumber: i, portrait: a, documentOwnerAge: o, documentOwnerNationalityCode: s, documentOwnerSex: c, imageViewer: l = !0, showPortrait: u, className: d }) => {
|
|
80788
|
-
let { t:
|
|
80787
|
+
}, dU = ({ nameSurname: e, issuingStateName: t, dateOfExpiry: n, dateOfBirth: r, documentNumber: i, portrait: a, documentOwnerAge: o, documentOwnerNationalityCode: s, documentOwnerSex: c, imageViewer: l = !0, showPortrait: u, className: d, downloadImage: f }) => {
|
|
80788
|
+
let { t: p } = lU(), m = c.value ? $.getSex(c.value) : "", _ = o.value ? `${p("age")}: ${o.value}` : "";
|
|
80789
80789
|
return /* @__PURE__ */ g("div", {
|
|
80790
80790
|
className: (0, yD.default)(uU.container, d),
|
|
80791
80791
|
children: [u && /* @__PURE__ */ h("div", {
|
|
80792
80792
|
className: uU.image,
|
|
80793
80793
|
children: a ? /* @__PURE__ */ h(fA, {
|
|
80794
80794
|
src: a,
|
|
80795
|
-
alt:
|
|
80795
|
+
alt: p("portrait"),
|
|
80796
80796
|
draggable: !1,
|
|
80797
80797
|
viewer: l,
|
|
80798
80798
|
magnifier: !0,
|
|
80799
|
-
download:
|
|
80799
|
+
download: f,
|
|
80800
80800
|
magnifierImgBorderRadius: 6
|
|
80801
80801
|
}) : /* @__PURE__ */ h(VH, { type: "photo" })
|
|
80802
80802
|
}), /* @__PURE__ */ g("div", {
|
|
@@ -80808,7 +80808,7 @@ var lU = () => Qk("cba5b1563e4d8bfbec09cb310eaef733"), uU = {
|
|
|
80808
80808
|
className: uU.title,
|
|
80809
80809
|
children: e.value.replace(/\^/g, " ")
|
|
80810
80810
|
}),
|
|
80811
|
-
(
|
|
80811
|
+
(m || _) && /* @__PURE__ */ h(G, { children: `${m}${m && _ ? ", " : ""}${_}` }),
|
|
80812
80812
|
/* @__PURE__ */ g("div", {
|
|
80813
80813
|
className: uU.items,
|
|
80814
80814
|
children: [
|
|
@@ -80818,7 +80818,7 @@ var lU = () => Qk("cba5b1563e4d8bfbec09cb310eaef733"), uU = {
|
|
|
80818
80818
|
className: uU.text,
|
|
80819
80819
|
size: "12x160",
|
|
80820
80820
|
uppercase: !0,
|
|
80821
|
-
children:
|
|
80821
|
+
children: p("dateOfBirth")
|
|
80822
80822
|
}), /* @__PURE__ */ h(G, { children: r.value })]
|
|
80823
80823
|
}),
|
|
80824
80824
|
s.value && /* @__PURE__ */ g("div", {
|
|
@@ -80827,7 +80827,7 @@ var lU = () => Qk("cba5b1563e4d8bfbec09cb310eaef733"), uU = {
|
|
|
80827
80827
|
className: uU.text,
|
|
80828
80828
|
size: "12x160",
|
|
80829
80829
|
uppercase: !0,
|
|
80830
|
-
children:
|
|
80830
|
+
children: p("nationality")
|
|
80831
80831
|
}), /* @__PURE__ */ h(G, { children: s.value.replace(/\^/g, " ") })]
|
|
80832
80832
|
}),
|
|
80833
80833
|
t.value && /* @__PURE__ */ g("div", {
|
|
@@ -80836,7 +80836,7 @@ var lU = () => Qk("cba5b1563e4d8bfbec09cb310eaef733"), uU = {
|
|
|
80836
80836
|
className: uU.text,
|
|
80837
80837
|
size: "12x160",
|
|
80838
80838
|
uppercase: !0,
|
|
80839
|
-
children:
|
|
80839
|
+
children: p("issuingState")
|
|
80840
80840
|
}), /* @__PURE__ */ h(G, { children: t.value })]
|
|
80841
80841
|
}),
|
|
80842
80842
|
n.value && /* @__PURE__ */ g("div", {
|
|
@@ -80845,7 +80845,7 @@ var lU = () => Qk("cba5b1563e4d8bfbec09cb310eaef733"), uU = {
|
|
|
80845
80845
|
className: uU.text,
|
|
80846
80846
|
size: "12x160",
|
|
80847
80847
|
uppercase: !0,
|
|
80848
|
-
children:
|
|
80848
|
+
children: p("dateOfExpiry")
|
|
80849
80849
|
}), /* @__PURE__ */ h(G, { children: n.value })]
|
|
80850
80850
|
}),
|
|
80851
80851
|
i.value && /* @__PURE__ */ g("div", {
|
|
@@ -80854,7 +80854,7 @@ var lU = () => Qk("cba5b1563e4d8bfbec09cb310eaef733"), uU = {
|
|
|
80854
80854
|
className: uU.text,
|
|
80855
80855
|
size: "12x160",
|
|
80856
80856
|
uppercase: !0,
|
|
80857
|
-
children:
|
|
80857
|
+
children: p("number")
|
|
80858
80858
|
}), /* @__PURE__ */ h(G, { children: i.value })]
|
|
80859
80859
|
})
|
|
80860
80860
|
]
|
|
@@ -80866,23 +80866,24 @@ var lU = () => Qk("cba5b1563e4d8bfbec09cb310eaef733"), uU = {
|
|
|
80866
80866
|
value: "",
|
|
80867
80867
|
status: A.ERROR,
|
|
80868
80868
|
lcid: j.LATIN
|
|
80869
|
-
}, pU = ({ showPortrait: e = !0, imageViewer: t, className: n }) => {
|
|
80870
|
-
let { response:
|
|
80871
|
-
if (!
|
|
80872
|
-
let
|
|
80869
|
+
}, pU = ({ showPortrait: e = !0, imageViewer: t, className: n, downloadImage: r }) => {
|
|
80870
|
+
let { response: i } = re();
|
|
80871
|
+
if (!i) return null;
|
|
80872
|
+
let a = (e) => KT(i, [za.PORTRAIT], e)?.[0]?.pages?.[0]?.src, o = a([M.RFID_GRAPHICS]) || a([M.VISUAL_GRAPHICS]) || a([M.BARCODE_GRAPHICS]) || a([M.LIVE_PORTRAIT]) || a([M.EXT_PORTRAIT]), s = ME(i), c = HE(i)?.[0] ?? fU, l = VE(i)?.[0] ?? fU, u = UE(i)?.[0] ?? fU, d = WE(i)?.[0] ?? fU, f = KE(i)?.[0] ?? fU, p = BE(i, F.NATIONALITY)?.[0] ?? fU;
|
|
80873
80873
|
return /* @__PURE__ */ h(dU, {
|
|
80874
|
-
nameSurname:
|
|
80875
|
-
issuingStateName:
|
|
80876
|
-
dateOfExpiry:
|
|
80877
|
-
dateOfBirth: BE(
|
|
80878
|
-
documentNumber:
|
|
80879
|
-
portrait:
|
|
80880
|
-
documentOwnerAge:
|
|
80881
|
-
documentOwnerSex:
|
|
80882
|
-
documentOwnerNationalityCode:
|
|
80874
|
+
nameSurname: s,
|
|
80875
|
+
issuingStateName: c,
|
|
80876
|
+
dateOfExpiry: l,
|
|
80877
|
+
dateOfBirth: BE(i, F.DATE_OF_BIRTH)?.[0] ?? fU,
|
|
80878
|
+
documentNumber: u,
|
|
80879
|
+
portrait: o,
|
|
80880
|
+
documentOwnerAge: d,
|
|
80881
|
+
documentOwnerSex: f,
|
|
80882
|
+
documentOwnerNationalityCode: p,
|
|
80883
80883
|
showPortrait: e,
|
|
80884
80884
|
imageViewer: t,
|
|
80885
|
-
className: n
|
|
80885
|
+
className: n,
|
|
80886
|
+
downloadImage: r
|
|
80886
80887
|
});
|
|
80887
80888
|
};
|
|
80888
80889
|
q.addResourceBundle("ru-RU", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Время обработки" }), q.addResourceBundle("en-US", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("lv-LV", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("de-DE", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("pl-PL", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("it-IT", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("hu-HU", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("zh-Hans", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "处理时间" }), q.addResourceBundle("zh-Hant", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "處理時間" }), q.addResourceBundle("sk-SK", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("uk-UA", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("fr-FR", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("es-ES", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("pt-PT", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("ar-AE", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "معالجة الوقت" }), q.addResourceBundle("nl-NL", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("id-ID", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("vi-VN", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("ko-KR", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("ms-MY", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("ro-RO", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("el-GR", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("tr-TR", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("ja-JP", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("cs-CZ", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("th-TH", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("hi-IN", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("bn-BD", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("he-IL", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("fi-FI", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("sv-SE", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("da-DK", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("hr-HR", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("no-NO", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("uz-Latn", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Processing time" }), q.addResourceBundle("hy-AM", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Մշակման ժամանակը" }), q.addResourceBundle("ky-KG", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Иштетүү убактысы" }), q.addResourceBundle("ku-Arab", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "کاتی چاککردن" }), q.addResourceBundle("tg-TJ", "fd36d162be5de318f22b05af38ffef8b", { processingTime: "Вақти коркард" });
|
|
@@ -80928,12 +80929,15 @@ var mU = () => Qk("fd36d162be5de318f22b05af38ffef8b"), hU = { text: "_text_i1hpy
|
|
|
80928
80929
|
}), SU = () => {
|
|
80929
80930
|
let { response: e } = re();
|
|
80930
80931
|
return e ? /* @__PURE__ */ h(xU, { detailedStatus: wE(e) }) : null;
|
|
80931
|
-
}, CU = { container: "_container_3v1pw_1" }, wU = ({ additionalFields: e, scrollToResult: t, imageViewer: n }) => /* @__PURE__ */ g("div", {
|
|
80932
|
+
}, CU = { container: "_container_3v1pw_1" }, wU = ({ additionalFields: e, scrollToResult: t, imageViewer: n, downloadImage: r }) => /* @__PURE__ */ g("div", {
|
|
80932
80933
|
className: CU.container,
|
|
80933
80934
|
children: [
|
|
80934
80935
|
/* @__PURE__ */ h(SU, {}),
|
|
80935
80936
|
/* @__PURE__ */ h(cU, { scrollToResult: t }),
|
|
80936
|
-
/* @__PURE__ */ h(pU, {
|
|
80937
|
+
/* @__PURE__ */ h(pU, {
|
|
80938
|
+
imageViewer: n,
|
|
80939
|
+
downloadImage: r
|
|
80940
|
+
}),
|
|
80937
80941
|
/* @__PURE__ */ h(yU, { additionalFields: e })
|
|
80938
80942
|
]
|
|
80939
80943
|
}), TU = { canvas: "_canvas_1duaq_1" }, EU = ({ image: e, selections: t, onCanvas: n }) => {
|
|
@@ -81196,12 +81200,12 @@ var FU = () => Qk("c629d0f0d0896c2f20a19a5ed9ede37b"), IU = {
|
|
|
81196
81200
|
preview: "_preview_d5kxz_6",
|
|
81197
81201
|
"view-container": "_view-container_d5kxz_12",
|
|
81198
81202
|
current: "_current_d5kxz_20"
|
|
81199
|
-
}, LU = ({ showLightDock: e, lightImages: t, pageImages: n, currentLight: r, setCurrentLight: i, currentImage: a, magnifierImg: o, currentSelections: s, setMagnifierImg: c, currentPage: l, setCurrentPage: u, imageViewer: d = !0 }) => {
|
|
81200
|
-
let { t:
|
|
81203
|
+
}, LU = ({ showLightDock: e, lightImages: t, pageImages: n, currentLight: r, setCurrentLight: i, currentImage: a, magnifierImg: o, currentSelections: s, setMagnifierImg: c, currentPage: l, setCurrentPage: u, imageViewer: d = !0, downloadImage: f }) => {
|
|
81204
|
+
let { t: p } = FU();
|
|
81201
81205
|
return /* @__PURE__ */ g("div", {
|
|
81202
81206
|
className: IU.viewer,
|
|
81203
81207
|
children: [e && /* @__PURE__ */ h(PU, {
|
|
81204
|
-
title:
|
|
81208
|
+
title: p("lights"),
|
|
81205
81209
|
images: t,
|
|
81206
81210
|
activeImg: r,
|
|
81207
81211
|
onSelect: i
|
|
@@ -81214,13 +81218,13 @@ var FU = () => Qk("c629d0f0d0896c2f20a19a5ed9ede37b"), IU = {
|
|
|
81214
81218
|
children: [/* @__PURE__ */ h(fA, {
|
|
81215
81219
|
className: IU.image,
|
|
81216
81220
|
src: a,
|
|
81217
|
-
alt:
|
|
81221
|
+
alt: p("preview"),
|
|
81218
81222
|
magnifierImg: o,
|
|
81219
81223
|
previewImg: o,
|
|
81220
81224
|
magnifierImgBorderRadius: 16,
|
|
81221
81225
|
draggable: !1,
|
|
81222
81226
|
magnifier: !0,
|
|
81223
|
-
download:
|
|
81227
|
+
download: f,
|
|
81224
81228
|
viewer: d
|
|
81225
81229
|
}), /* @__PURE__ */ h(EU, {
|
|
81226
81230
|
image: a,
|
|
@@ -81230,7 +81234,7 @@ var FU = () => Qk("c629d0f0d0896c2f20a19a5ed9ede37b"), IU = {
|
|
|
81230
81234
|
})
|
|
81231
81235
|
}), n.length > 1 && /* @__PURE__ */ h(PU, {
|
|
81232
81236
|
large: !e,
|
|
81233
|
-
title:
|
|
81237
|
+
title: p("pages"),
|
|
81234
81238
|
images: n,
|
|
81235
81239
|
activeImg: l,
|
|
81236
81240
|
onSelect: u,
|
|
@@ -81263,59 +81267,60 @@ var FU = () => Qk("c629d0f0d0896c2f20a19a5ed9ede37b"), IU = {
|
|
|
81263
81267
|
pageImages: a,
|
|
81264
81268
|
currentImage: u(() => a.find(({ id: e }) => e === n) || a[0], [a, n])
|
|
81265
81269
|
};
|
|
81266
|
-
}, zU = ({ imageViewer: e, className: t, initialPageIndex: n, initialLight: r, onPageChanged: i, onLightChanged: a }) => {
|
|
81267
|
-
let { response:
|
|
81268
|
-
images:
|
|
81269
|
-
currentLight:
|
|
81270
|
-
page:
|
|
81270
|
+
}, zU = ({ imageViewer: e, className: t, initialPageIndex: n, initialLight: r, onPageChanged: i, onLightChanged: a, downloadImage: o }) => {
|
|
81271
|
+
let { response: s } = re(), l = u(() => sN(s), [s]), d = n ?? 0, m = r ?? l[0]?.light ?? Ua.WHITE, g = f(d), _ = f(m), { selections: v, setSelections: y } = le(), { page: b = d, setPage: x } = oe(), [S, C] = p(m), [w, T] = p(""), [E, ee] = p([]), { pageImages: te, lightImages: ne, currentImage: ie, showLightDock: ae } = RU({
|
|
81272
|
+
images: l,
|
|
81273
|
+
currentLight: S,
|
|
81274
|
+
page: b
|
|
81271
81275
|
});
|
|
81272
81276
|
return c(() => {
|
|
81273
81277
|
let e = (e) => {
|
|
81274
|
-
if (
|
|
81275
|
-
let t =
|
|
81276
|
-
e.key === "ArrowLeft" ? (e.preventDefault(),
|
|
81278
|
+
if (te.length <= 1 || cN(e.target) || cN(document.activeElement)) return;
|
|
81279
|
+
let t = te.findIndex((e) => e.id === b);
|
|
81280
|
+
e.key === "ArrowLeft" ? (e.preventDefault(), x(te[t > 0 ? t - 1 : te.length - 1].id)) : e.key === "ArrowRight" && (e.preventDefault(), x(te[t < te.length - 1 ? t + 1 : 0].id));
|
|
81277
81281
|
};
|
|
81278
81282
|
return window.addEventListener("keydown", e), () => {
|
|
81279
81283
|
window.removeEventListener("keydown", e);
|
|
81280
81284
|
};
|
|
81281
81285
|
}, [
|
|
81282
|
-
|
|
81283
|
-
|
|
81284
|
-
|
|
81286
|
+
b,
|
|
81287
|
+
te,
|
|
81288
|
+
x
|
|
81285
81289
|
]), c(() => {
|
|
81286
|
-
if (!
|
|
81287
|
-
let { location: e, page: t } =
|
|
81288
|
-
|
|
81289
|
-
}, [
|
|
81290
|
-
|
|
81290
|
+
if (!v.length || !l.length) return;
|
|
81291
|
+
let { location: e, page: t } = v[0];
|
|
81292
|
+
C(e.light === void 0 ? l[0].light : e.light), x(t);
|
|
81293
|
+
}, [v, l]), c(() => {
|
|
81294
|
+
l.length && ee(v.filter((e) => e.page === b && (S === l[0].light ? e.location.light === S || e.location.light === void 0 : e.location.light === S)));
|
|
81291
81295
|
}, [
|
|
81292
|
-
|
|
81293
|
-
|
|
81294
|
-
|
|
81295
|
-
|
|
81296
|
+
S,
|
|
81297
|
+
b,
|
|
81298
|
+
v,
|
|
81299
|
+
l
|
|
81296
81300
|
]), c(() => {
|
|
81297
|
-
!
|
|
81298
|
-
}, [
|
|
81299
|
-
|
|
81300
|
-
}, [
|
|
81301
|
-
|
|
81302
|
-
}, [
|
|
81303
|
-
|
|
81304
|
-
}, [
|
|
81301
|
+
!ie || ie.id === b || x(ie.id);
|
|
81302
|
+
}, [ie, b]), c(() => () => {
|
|
81303
|
+
x(d), C(m), y([]);
|
|
81304
|
+
}, [l]), c(() => {
|
|
81305
|
+
g.current !== b && (g.current = b, i?.(b));
|
|
81306
|
+
}, [b]), c(() => {
|
|
81307
|
+
_.current !== S && (_.current = S, a?.(S));
|
|
81308
|
+
}, [S]), /* @__PURE__ */ h(OU, {
|
|
81305
81309
|
className: t,
|
|
81306
|
-
children:
|
|
81307
|
-
showLightDock:
|
|
81308
|
-
lightImages:
|
|
81309
|
-
currentLight:
|
|
81310
|
-
setCurrentLight:
|
|
81311
|
-
currentImage:
|
|
81312
|
-
magnifierImg:
|
|
81313
|
-
currentSelections:
|
|
81314
|
-
setMagnifierImg:
|
|
81315
|
-
pageImages:
|
|
81316
|
-
currentPage:
|
|
81317
|
-
setCurrentPage:
|
|
81318
|
-
imageViewer: e
|
|
81310
|
+
children: ie ? /* @__PURE__ */ h(LU, {
|
|
81311
|
+
showLightDock: ae,
|
|
81312
|
+
lightImages: ne,
|
|
81313
|
+
currentLight: S,
|
|
81314
|
+
setCurrentLight: C,
|
|
81315
|
+
currentImage: ie.src,
|
|
81316
|
+
magnifierImg: w,
|
|
81317
|
+
currentSelections: E,
|
|
81318
|
+
setMagnifierImg: T,
|
|
81319
|
+
pageImages: te,
|
|
81320
|
+
currentPage: b,
|
|
81321
|
+
setCurrentPage: x,
|
|
81322
|
+
imageViewer: e,
|
|
81323
|
+
downloadImage: o
|
|
81319
81324
|
}) : /* @__PURE__ */ h(AU, {})
|
|
81320
81325
|
});
|
|
81321
81326
|
}, BU = /* @__PURE__ */ function(e) {
|
|
@@ -82080,10 +82085,10 @@ var eW = () => Qk("c5291d1c5e6d9464c1e104be56e67cda"), tW = {
|
|
|
82080
82085
|
status: n
|
|
82081
82086
|
}),
|
|
82082
82087
|
children: a
|
|
82083
|
-
}), aW = ({ src: e, alt: t, imageViewer: n = !0, heightLimit: r = 100, className: i }) => {
|
|
82084
|
-
let
|
|
82088
|
+
}), aW = ({ src: e, alt: t, imageViewer: n = !0, heightLimit: r = 100, className: i, downloadImage: a }) => {
|
|
82089
|
+
let o = f(null);
|
|
82085
82090
|
return c(() => {
|
|
82086
|
-
let e =
|
|
82091
|
+
let e = o.current;
|
|
82087
82092
|
if (!e) return;
|
|
82088
82093
|
let t = e.parentElement, n = e.children[0];
|
|
82089
82094
|
if (!t || !n) return;
|
|
@@ -82099,47 +82104,48 @@ var eW = () => Qk("c5291d1c5e6d9464c1e104be56e67cda"), tW = {
|
|
|
82099
82104
|
alt: t,
|
|
82100
82105
|
viewer: n,
|
|
82101
82106
|
magnifier: !0,
|
|
82102
|
-
download:
|
|
82107
|
+
download: a,
|
|
82103
82108
|
className: i,
|
|
82104
|
-
ref:
|
|
82109
|
+
ref: o
|
|
82105
82110
|
});
|
|
82106
82111
|
}, oW = {
|
|
82107
82112
|
container: "_container_1bdwk_1",
|
|
82108
82113
|
item: "_item_1bdwk_4",
|
|
82109
82114
|
name: "_name_1bdwk_12"
|
|
82110
|
-
}, sW = ({ diagnose: e, image: t, referenceImage: n, similarity: r, status: i, group: a, type: o, isOpen: s, onOpen: c, imageViewer: l, isSelected: u, onClick: d, shift: f = 0 }) => {
|
|
82111
|
-
let { t:
|
|
82115
|
+
}, sW = ({ diagnose: e, image: t, referenceImage: n, similarity: r, status: i, group: a, type: o, isOpen: s, onOpen: c, imageViewer: l, isSelected: u, onClick: d, shift: f = 0, downloadImage: p }) => {
|
|
82116
|
+
let { t: m } = eW(), _ = !!(t || n || i !== A.OK), v = a === O.IR_VISIBILITY;
|
|
82112
82117
|
return /* @__PURE__ */ h(iW, {
|
|
82113
|
-
shift:
|
|
82118
|
+
shift: _ ? f + 20 : f,
|
|
82114
82119
|
name: /* @__PURE__ */ h($.SecurityFeatureTypeLabel, { children: o }),
|
|
82115
82120
|
status: i,
|
|
82116
82121
|
selected: u,
|
|
82117
82122
|
open: s,
|
|
82118
82123
|
onOpen: c,
|
|
82119
|
-
collapse:
|
|
82124
|
+
collapse: _,
|
|
82120
82125
|
onHeadClick: d,
|
|
82121
82126
|
children: /* @__PURE__ */ g("div", {
|
|
82122
82127
|
className: oW.container,
|
|
82123
82128
|
children: [
|
|
82124
|
-
!(o === P.INVISIBLE_OBJECT || r === 0 && !
|
|
82129
|
+
!(o === P.INVISIBLE_OBJECT || r === 0 && !v) && /* @__PURE__ */ g("div", {
|
|
82125
82130
|
className: oW.item,
|
|
82126
82131
|
children: [/* @__PURE__ */ h(G, {
|
|
82127
82132
|
uppercase: !0,
|
|
82128
82133
|
className: oW.name,
|
|
82129
|
-
children:
|
|
82130
|
-
}), /* @__PURE__ */ h(G, { children:
|
|
82134
|
+
children: m(v ? "visibility" : "similarity")
|
|
82135
|
+
}), /* @__PURE__ */ h(G, { children: v ? dd(r).map($.getIRVisibilityStatus).join(", ") : r + "%" })]
|
|
82131
82136
|
}),
|
|
82132
82137
|
n && /* @__PURE__ */ g("div", {
|
|
82133
82138
|
className: oW.item,
|
|
82134
82139
|
children: [/* @__PURE__ */ h(G, {
|
|
82135
82140
|
uppercase: !0,
|
|
82136
82141
|
className: oW.name,
|
|
82137
|
-
children:
|
|
82142
|
+
children: m("reference")
|
|
82138
82143
|
}), /* @__PURE__ */ h("div", {
|
|
82139
82144
|
className: oW.image,
|
|
82140
82145
|
children: /* @__PURE__ */ h(aW, {
|
|
82141
82146
|
src: n,
|
|
82142
82147
|
imageViewer: l,
|
|
82148
|
+
downloadImage: p,
|
|
82143
82149
|
alt: "Reference"
|
|
82144
82150
|
})
|
|
82145
82151
|
})]
|
|
@@ -82149,12 +82155,13 @@ var eW = () => Qk("c5291d1c5e6d9464c1e104be56e67cda"), tW = {
|
|
|
82149
82155
|
children: [/* @__PURE__ */ h(G, {
|
|
82150
82156
|
uppercase: !0,
|
|
82151
82157
|
className: oW.name,
|
|
82152
|
-
children:
|
|
82158
|
+
children: m("image")
|
|
82153
82159
|
}), /* @__PURE__ */ h("div", {
|
|
82154
82160
|
className: oW.image,
|
|
82155
82161
|
children: /* @__PURE__ */ h(aW, {
|
|
82156
82162
|
src: t,
|
|
82157
82163
|
imageViewer: l,
|
|
82164
|
+
downloadImage: p,
|
|
82158
82165
|
alt: "Image"
|
|
82159
82166
|
})
|
|
82160
82167
|
})]
|
|
@@ -82164,7 +82171,7 @@ var eW = () => Qk("c5291d1c5e6d9464c1e104be56e67cda"), tW = {
|
|
|
82164
82171
|
children: [/* @__PURE__ */ h(G, {
|
|
82165
82172
|
uppercase: !0,
|
|
82166
82173
|
className: oW.name,
|
|
82167
|
-
children:
|
|
82174
|
+
children: m("diagnose")
|
|
82168
82175
|
}), /* @__PURE__ */ h(G, { children: /* @__PURE__ */ h($.CheckDiagnose, { children: e }) })]
|
|
82169
82176
|
})
|
|
82170
82177
|
]
|
|
@@ -82293,22 +82300,23 @@ var cW = () => Qk("f5703a9089310f67332ce6624b257773"), lW = {
|
|
|
82293
82300
|
container: "_container_1bdwk_1",
|
|
82294
82301
|
item: "_item_1bdwk_4",
|
|
82295
82302
|
name: "_name_1bdwk_12"
|
|
82296
|
-
}, uW = ({ diagnose: e, image: t, status: n, imageViewer: r, shift: i }) => {
|
|
82297
|
-
let { t:
|
|
82303
|
+
}, uW = ({ diagnose: e, image: t, status: n, imageViewer: r, shift: i, downloadImage: a }) => {
|
|
82304
|
+
let { t: o } = cW(), s = { "--shift": i + "px" };
|
|
82298
82305
|
return /* @__PURE__ */ g("div", {
|
|
82299
82306
|
className: lW.container,
|
|
82300
|
-
style:
|
|
82307
|
+
style: s,
|
|
82301
82308
|
children: [t && /* @__PURE__ */ g("div", {
|
|
82302
82309
|
className: lW.item,
|
|
82303
82310
|
children: [/* @__PURE__ */ h(G, {
|
|
82304
82311
|
uppercase: !0,
|
|
82305
82312
|
className: lW.name,
|
|
82306
|
-
children:
|
|
82313
|
+
children: o("image")
|
|
82307
82314
|
}), /* @__PURE__ */ h("div", {
|
|
82308
82315
|
className: lW.image,
|
|
82309
82316
|
children: /* @__PURE__ */ h(aW, {
|
|
82310
82317
|
imageViewer: r,
|
|
82311
82318
|
src: t,
|
|
82319
|
+
downloadImage: a,
|
|
82312
82320
|
alt: "Reference"
|
|
82313
82321
|
})
|
|
82314
82322
|
})]
|
|
@@ -82317,7 +82325,7 @@ var cW = () => Qk("f5703a9089310f67332ce6624b257773"), lW = {
|
|
|
82317
82325
|
children: [/* @__PURE__ */ h(G, {
|
|
82318
82326
|
uppercase: !0,
|
|
82319
82327
|
className: lW.name,
|
|
82320
|
-
children:
|
|
82328
|
+
children: o("diagnose")
|
|
82321
82329
|
}), /* @__PURE__ */ h(G, { children: /* @__PURE__ */ h($.CheckDiagnose, { children: e }) })]
|
|
82322
82330
|
})]
|
|
82323
82331
|
});
|
|
@@ -82716,7 +82724,7 @@ var TW = () => Qk("4e7992d19a663aace2a1c84e11059e2a"), EW = { content: "_content
|
|
|
82716
82724
|
dataTestKey: u
|
|
82717
82725
|
}),
|
|
82718
82726
|
children: a
|
|
82719
|
-
}), NW = { checks: "_checks_zbgpv_1" }, PW = ({ group: e, checks: t, status: n, onSelect: r, selections: i, page: a, isSelected: o, openFields: s, onOpen: c, onGroupClick: l, onSubGroupClick: u, groupId: d, imageViewer: f, collapse: p, shift: m = 0, type: g }) => /* @__PURE__ */ h(MW, {
|
|
82727
|
+
}), NW = { checks: "_checks_zbgpv_1" }, PW = ({ group: e, checks: t, status: n, onSelect: r, selections: i, page: a, isSelected: o, openFields: s, onOpen: c, onGroupClick: l, onSubGroupClick: u, groupId: d, imageViewer: f, collapse: p, shift: m = 0, type: g, downloadImage: _ }) => /* @__PURE__ */ h(MW, {
|
|
82720
82728
|
shift: m,
|
|
82721
82729
|
type: g,
|
|
82722
82730
|
name: /* @__PURE__ */ h(OW, { group: e }),
|
|
@@ -82729,62 +82737,64 @@ var TW = () => Qk("4e7992d19a663aace2a1c84e11059e2a"), EW = { content: "_content
|
|
|
82729
82737
|
children: /* @__PURE__ */ h("div", {
|
|
82730
82738
|
className: (0, yD.default)({ [NW.checks]: g !== "nested" }),
|
|
82731
82739
|
children: t.map((t, n) => {
|
|
82732
|
-
let { checkResult: o, diagnose: l, location: p } = t, g = `${d}.${n}`,
|
|
82740
|
+
let { checkResult: o, diagnose: l, location: p } = t, g = `${d}.${n}`, v = p && {
|
|
82733
82741
|
light: p.light || KU(e),
|
|
82734
82742
|
rect: p.rect
|
|
82735
|
-
},
|
|
82743
|
+
}, y = !!(v && HU(i, [{
|
|
82736
82744
|
page: a,
|
|
82737
82745
|
path: String(e),
|
|
82738
82746
|
checkResult: o,
|
|
82739
|
-
location:
|
|
82740
|
-
}])),
|
|
82747
|
+
location: v
|
|
82748
|
+
}])), b = v && VU(v.rect) ? [{
|
|
82741
82749
|
page: a,
|
|
82742
82750
|
path: String(e),
|
|
82743
82751
|
checkResult: o,
|
|
82744
|
-
location:
|
|
82745
|
-
}] : [],
|
|
82752
|
+
location: v
|
|
82753
|
+
}] : [], x = (t) => `${a}/${e}/${t}/${n}`, S = () => c(g), C = () => u(y, g, b);
|
|
82746
82754
|
if (_T.isBelongs(t)) return /* @__PURE__ */ h(sW, {
|
|
82747
82755
|
type: t.type,
|
|
82748
|
-
isSelected:
|
|
82756
|
+
isSelected: y,
|
|
82749
82757
|
status: o,
|
|
82750
82758
|
diagnose: l,
|
|
82751
82759
|
image: t.image,
|
|
82752
82760
|
referenceImage: t.referenceImage,
|
|
82753
82761
|
similarity: t.similarity,
|
|
82754
82762
|
group: e,
|
|
82755
|
-
onClick:
|
|
82763
|
+
onClick: C,
|
|
82756
82764
|
shift: m,
|
|
82757
82765
|
imageViewer: f,
|
|
82758
82766
|
isOpen: s.has(g),
|
|
82759
|
-
onOpen:
|
|
82760
|
-
|
|
82767
|
+
onOpen: S,
|
|
82768
|
+
downloadImage: _
|
|
82769
|
+
}, x("ident"));
|
|
82761
82770
|
if (yT.isBelongs(t)) return /* @__PURE__ */ h(uW, {
|
|
82762
82771
|
status: o,
|
|
82763
82772
|
diagnose: l,
|
|
82764
82773
|
image: t.image,
|
|
82765
82774
|
shift: m,
|
|
82766
|
-
imageViewer: f
|
|
82767
|
-
|
|
82775
|
+
imageViewer: f,
|
|
82776
|
+
downloadImage: _
|
|
82777
|
+
}, x("photoIdent"));
|
|
82768
82778
|
if (hT.isBelongs(t)) return /* @__PURE__ */ h($U, {
|
|
82769
82779
|
colorValues: t.colorValues,
|
|
82770
|
-
isSelected:
|
|
82780
|
+
isSelected: y,
|
|
82771
82781
|
status: o,
|
|
82772
82782
|
diagnose: l,
|
|
82773
|
-
onClick:
|
|
82783
|
+
onClick: C,
|
|
82774
82784
|
shift: m,
|
|
82775
82785
|
isOpen: s.has(g),
|
|
82776
|
-
onOpen:
|
|
82777
|
-
},
|
|
82786
|
+
onOpen: S
|
|
82787
|
+
}, x("fibers"));
|
|
82778
82788
|
if (xT.isBelongs(t)) return /* @__PURE__ */ h(_W, {
|
|
82779
82789
|
type: t.feature,
|
|
82780
|
-
isSelected:
|
|
82790
|
+
isSelected: y,
|
|
82781
82791
|
status: o,
|
|
82782
82792
|
diagnose: l,
|
|
82783
|
-
onClick:
|
|
82793
|
+
onClick: C,
|
|
82784
82794
|
shift: m,
|
|
82785
82795
|
isOpen: s.has(g),
|
|
82786
|
-
onOpen:
|
|
82787
|
-
},
|
|
82796
|
+
onOpen: S
|
|
82797
|
+
}, x("security"));
|
|
82788
82798
|
if (CT.isBelongs(t)) {
|
|
82789
82799
|
let n = (t) => `${e}${t}`, c = (e, t) => {
|
|
82790
82800
|
r([{
|
|
@@ -82798,27 +82808,27 @@ var TW = () => Qk("4e7992d19a663aace2a1c84e11059e2a"), EW = { content: "_content
|
|
|
82798
82808
|
path: n(t),
|
|
82799
82809
|
checkResult: o,
|
|
82800
82810
|
location: e
|
|
82801
|
-
}]), f = u(p, t.type), _ = u(t.reference.location, t.reference.type),
|
|
82811
|
+
}]), f = u(p, t.type), _ = u(t.reference.location, t.reference.type), v = d(p, t.type), b = d(t.reference.location, t.reference.type);
|
|
82802
82812
|
return /* @__PURE__ */ h(wW, {
|
|
82803
82813
|
type: t.type,
|
|
82804
|
-
isSelected:
|
|
82814
|
+
isSelected: y,
|
|
82805
82815
|
status: o,
|
|
82806
82816
|
diagnose: l,
|
|
82807
82817
|
reference: t.reference,
|
|
82808
82818
|
onResultClick: f,
|
|
82809
82819
|
onReferenceClick: _,
|
|
82810
|
-
isResultSelected:
|
|
82811
|
-
isReferenceSelected:
|
|
82812
|
-
onClick:
|
|
82820
|
+
isResultSelected: v,
|
|
82821
|
+
isReferenceSelected: b,
|
|
82822
|
+
onClick: C,
|
|
82813
82823
|
shift: m + 20,
|
|
82814
82824
|
isOpen: s.has(g),
|
|
82815
|
-
onOpen:
|
|
82816
|
-
},
|
|
82825
|
+
onOpen: S
|
|
82826
|
+
}, x("text"));
|
|
82817
82827
|
}
|
|
82818
82828
|
})
|
|
82819
82829
|
})
|
|
82820
|
-
}), FW = ({ group: e, checks: t, status: n, onSelect: r, selections: i, page: a, groupId: o, imageViewer: s, shift: c = 0, type: l }) => {
|
|
82821
|
-
let { openFields:
|
|
82830
|
+
}), FW = ({ group: e, checks: t, status: n, onSelect: r, selections: i, page: a, groupId: o, imageViewer: s, shift: c = 0, type: l, downloadImage: u }) => {
|
|
82831
|
+
let { openFields: d, addOpenField: f, removeOpenField: p } = Qt(), m = t.reduce((t, n) => (n.location && VU(n.location.rect) && t.push({
|
|
82822
82832
|
page: a,
|
|
82823
82833
|
path: String(e),
|
|
82824
82834
|
checkResult: n.checkResult,
|
|
@@ -82826,20 +82836,20 @@ var TW = () => Qk("4e7992d19a663aace2a1c84e11059e2a"), EW = { content: "_content
|
|
|
82826
82836
|
light: n.location.light || KU(e),
|
|
82827
82837
|
rect: n.location.rect
|
|
82828
82838
|
}
|
|
82829
|
-
}), t), []),
|
|
82830
|
-
if (!
|
|
82831
|
-
let e =
|
|
82832
|
-
if ((!
|
|
82833
|
-
|
|
82834
|
-
},
|
|
82835
|
-
if (!n.length) return
|
|
82836
|
-
let i =
|
|
82837
|
-
if (
|
|
82838
|
-
r(n),
|
|
82839
|
+
}), t), []), g = HU(i, m), _ = (e) => d.authenticity.has(e) ? p("authenticity", e) : f("authenticity", e), v = () => {
|
|
82840
|
+
if (!m.length) return _(o);
|
|
82841
|
+
let e = d.authenticity.has(o);
|
|
82842
|
+
if ((!g || e) && r(m), !e) return f("authenticity", o);
|
|
82843
|
+
g && p("authenticity", o);
|
|
82844
|
+
}, y = (e, t, n) => {
|
|
82845
|
+
if (!n.length) return _(t);
|
|
82846
|
+
let i = d.authenticity.has(t);
|
|
82847
|
+
if (g && m.length > 1) {
|
|
82848
|
+
r(n), f("authenticity", t);
|
|
82839
82849
|
return;
|
|
82840
82850
|
}
|
|
82841
|
-
(!e || i) && r(n), i ? e &&
|
|
82842
|
-
},
|
|
82851
|
+
(!e || i) && r(n), i ? e && p("authenticity", t) : f("authenticity", t);
|
|
82852
|
+
}, b = t.length > 0;
|
|
82843
82853
|
return /* @__PURE__ */ h(PW, {
|
|
82844
82854
|
group: e,
|
|
82845
82855
|
checks: t,
|
|
@@ -82848,23 +82858,24 @@ var TW = () => Qk("4e7992d19a663aace2a1c84e11059e2a"), EW = { content: "_content
|
|
|
82848
82858
|
selections: i,
|
|
82849
82859
|
page: a,
|
|
82850
82860
|
groupId: o,
|
|
82851
|
-
shift:
|
|
82861
|
+
shift: b ? c : 0,
|
|
82852
82862
|
type: l,
|
|
82853
|
-
openFields:
|
|
82854
|
-
onOpen:
|
|
82855
|
-
onGroupClick:
|
|
82856
|
-
onSubGroupClick:
|
|
82857
|
-
collapse:
|
|
82858
|
-
isSelected:
|
|
82859
|
-
imageViewer: s
|
|
82863
|
+
openFields: d.authenticity,
|
|
82864
|
+
onOpen: _,
|
|
82865
|
+
onGroupClick: v,
|
|
82866
|
+
onSubGroupClick: y,
|
|
82867
|
+
collapse: b,
|
|
82868
|
+
isSelected: g,
|
|
82869
|
+
imageViewer: s,
|
|
82870
|
+
downloadImage: u
|
|
82860
82871
|
});
|
|
82861
82872
|
};
|
|
82862
82873
|
q.addResourceBundle("ru-RU", "c978bfc734ce43cb57f59e262c5b970c", { page: "Страница" }), q.addResourceBundle("en-US", "c978bfc734ce43cb57f59e262c5b970c", { page: "Page" }), q.addResourceBundle("lv-LV", "c978bfc734ce43cb57f59e262c5b970c", { page: "Lappuse" }), q.addResourceBundle("de-DE", "c978bfc734ce43cb57f59e262c5b970c", { page: "Seite" }), q.addResourceBundle("pl-PL", "c978bfc734ce43cb57f59e262c5b970c", { page: "Strona" }), q.addResourceBundle("it-IT", "c978bfc734ce43cb57f59e262c5b970c", { page: "Pagina" }), q.addResourceBundle("hu-HU", "c978bfc734ce43cb57f59e262c5b970c", { page: "Oldal" }), q.addResourceBundle("zh-Hans", "c978bfc734ce43cb57f59e262c5b970c", { page: "页" }), q.addResourceBundle("zh-Hant", "c978bfc734ce43cb57f59e262c5b970c", { page: "頁" }), q.addResourceBundle("sk-SK", "c978bfc734ce43cb57f59e262c5b970c", { page: "Strana" }), q.addResourceBundle("uk-UA", "c978bfc734ce43cb57f59e262c5b970c", { page: "Сторінка" }), q.addResourceBundle("fr-FR", "c978bfc734ce43cb57f59e262c5b970c", { page: "Page" }), q.addResourceBundle("es-ES", "c978bfc734ce43cb57f59e262c5b970c", { page: "Página" }), q.addResourceBundle("pt-PT", "c978bfc734ce43cb57f59e262c5b970c", { page: "Página" }), q.addResourceBundle("ar-AE", "c978bfc734ce43cb57f59e262c5b970c", { page: "صفحة" }), q.addResourceBundle("nl-NL", "c978bfc734ce43cb57f59e262c5b970c", { page: "Pagina" }), q.addResourceBundle("id-ID", "c978bfc734ce43cb57f59e262c5b970c", { page: "Halaman" }), q.addResourceBundle("vi-VN", "c978bfc734ce43cb57f59e262c5b970c", { page: "Trang" }), q.addResourceBundle("ko-KR", "c978bfc734ce43cb57f59e262c5b970c", { page: "페이지" }), q.addResourceBundle("ms-MY", "c978bfc734ce43cb57f59e262c5b970c", { page: "Halaman" }), q.addResourceBundle("ro-RO", "c978bfc734ce43cb57f59e262c5b970c", { page: "Pagina" }), q.addResourceBundle("el-GR", "c978bfc734ce43cb57f59e262c5b970c", { page: "Σελίδα" }), q.addResourceBundle("tr-TR", "c978bfc734ce43cb57f59e262c5b970c", { page: "Sayfa" }), q.addResourceBundle("ja-JP", "c978bfc734ce43cb57f59e262c5b970c", { page: "ページ" }), q.addResourceBundle("cs-CZ", "c978bfc734ce43cb57f59e262c5b970c", { page: "Strana" }), q.addResourceBundle("th-TH", "c978bfc734ce43cb57f59e262c5b970c", { page: "หน้า" }), q.addResourceBundle("hi-IN", "c978bfc734ce43cb57f59e262c5b970c", { page: "पृष्ठ" }), q.addResourceBundle("bn-BD", "c978bfc734ce43cb57f59e262c5b970c", { page: "পেইজ" }), q.addResourceBundle("he-IL", "c978bfc734ce43cb57f59e262c5b970c", { page: "דף" }), q.addResourceBundle("fi-FI", "c978bfc734ce43cb57f59e262c5b970c", { page: "Sivu" }), q.addResourceBundle("sv-SE", "c978bfc734ce43cb57f59e262c5b970c", { page: "Sida" }), q.addResourceBundle("da-DK", "c978bfc734ce43cb57f59e262c5b970c", { page: "Side" }), q.addResourceBundle("hr-HR", "c978bfc734ce43cb57f59e262c5b970c", { page: "Stranica" }), q.addResourceBundle("no-NO", "c978bfc734ce43cb57f59e262c5b970c", { page: "Side" }), q.addResourceBundle("uz-Latn", "c978bfc734ce43cb57f59e262c5b970c", { page: "Sahifa" }), q.addResourceBundle("hy-AM", "c978bfc734ce43cb57f59e262c5b970c", { page: "Էջ" }), q.addResourceBundle("ky-KG", "c978bfc734ce43cb57f59e262c5b970c", { page: "Бет" }), q.addResourceBundle("ku-Arab", "c978bfc734ce43cb57f59e262c5b970c", { page: "پەڕە" }), q.addResourceBundle("tg-TJ", "c978bfc734ce43cb57f59e262c5b970c", { page: "Саҳифа" });
|
|
82863
82874
|
var IW = () => Qk("c978bfc734ce43cb57f59e262c5b970c"), LW = {
|
|
82864
82875
|
scroll: "_scroll_wfx4h_1",
|
|
82865
82876
|
authenticity: "_authenticity_wfx4h_7"
|
|
82866
|
-
}, RW = 255, zW = ({ authenticity: e, documentIdentification: t, selections: n, onSelect: r, onOpen: i, openFields: a, imageViewer: o, initialScrollPosition: s, onScrollTop: c }) => {
|
|
82867
|
-
let { t:
|
|
82877
|
+
}, RW = 255, zW = ({ authenticity: e, documentIdentification: t, selections: n, onSelect: r, onOpen: i, openFields: a, imageViewer: o, initialScrollPosition: s, onScrollTop: c, downloadImage: l }) => {
|
|
82878
|
+
let { t: u } = IW();
|
|
82868
82879
|
return /* @__PURE__ */ h(FH, {
|
|
82869
82880
|
extendedItemSelector: "[data-extended-scroll]",
|
|
82870
82881
|
extendedScrollDelay: 200,
|
|
@@ -82882,10 +82893,11 @@ var IW = () => Qk("c978bfc734ce43cb57f59e262c5b970c"), LW = {
|
|
|
82882
82893
|
selections: n,
|
|
82883
82894
|
type: "nested",
|
|
82884
82895
|
imageViewer: o,
|
|
82885
|
-
groupId: String(s)
|
|
82896
|
+
groupId: String(s),
|
|
82897
|
+
downloadImage: l
|
|
82886
82898
|
}, t))
|
|
82887
82899
|
}) : e.map(({ page: e, groups: s }, c) => {
|
|
82888
|
-
let
|
|
82900
|
+
let d = String(c);
|
|
82889
82901
|
return e === RW ? s.map(({ group: t, checks: i }) => /* @__PURE__ */ h(FW, {
|
|
82890
82902
|
checks: i,
|
|
82891
82903
|
group: t,
|
|
@@ -82893,11 +82905,12 @@ var IW = () => Qk("c978bfc734ce43cb57f59e262c5b970c"), LW = {
|
|
|
82893
82905
|
onSelect: r,
|
|
82894
82906
|
selections: n,
|
|
82895
82907
|
imageViewer: o,
|
|
82896
|
-
groupId:
|
|
82908
|
+
groupId: d,
|
|
82909
|
+
downloadImage: l
|
|
82897
82910
|
}, t)) : /* @__PURE__ */ h(oO, {
|
|
82898
|
-
head: /* @__PURE__ */ h(G, { children: t.find(({ pageIndex: t }) => t === e)?.documentName || `${
|
|
82899
|
-
open: a.has(
|
|
82900
|
-
onOpen: () => i(e,
|
|
82911
|
+
head: /* @__PURE__ */ h(G, { children: t.find(({ pageIndex: t }) => t === e)?.documentName || `${u("page")} ${e + 1}` }),
|
|
82912
|
+
open: a.has(d),
|
|
82913
|
+
onOpen: () => i(e, d),
|
|
82901
82914
|
openClickArea: "head",
|
|
82902
82915
|
children: /* @__PURE__ */ h("div", {
|
|
82903
82916
|
className: LW.authenticity,
|
|
@@ -82911,28 +82924,30 @@ var IW = () => Qk("c978bfc734ce43cb57f59e262c5b970c"), LW = {
|
|
|
82911
82924
|
shift: 16,
|
|
82912
82925
|
type: "nested",
|
|
82913
82926
|
imageViewer: o,
|
|
82914
|
-
groupId: `${
|
|
82927
|
+
groupId: `${d}.${s}`,
|
|
82928
|
+
downloadImage: l
|
|
82915
82929
|
}, t))
|
|
82916
82930
|
})
|
|
82917
82931
|
}, e);
|
|
82918
82932
|
})
|
|
82919
82933
|
});
|
|
82920
|
-
}, BW = ({ authenticity: e, documentIdentification: t, onSelect: n, imageViewer: r, initialScrollPosition: i }) => {
|
|
82921
|
-
let { setScroll:
|
|
82922
|
-
|
|
82923
|
-
},
|
|
82934
|
+
}, BW = ({ authenticity: e, documentIdentification: t, onSelect: n, imageViewer: r, initialScrollPosition: i, downloadImage: a }) => {
|
|
82935
|
+
let { setScroll: o } = rn(), { openFields: s, addOpenField: l, removeOpenField: u, resetOpenField: d } = Qt(), { selections: f } = le(), { setPage: p } = oe(), m = (e, t) => {
|
|
82936
|
+
s.authenticity.has(t) ? u("authenticity", t) : (p(e), l("authenticity", t));
|
|
82937
|
+
}, g = o ? (e) => o("authenticity", e) : void 0;
|
|
82924
82938
|
return c(() => () => {
|
|
82925
|
-
|
|
82939
|
+
d("authenticity");
|
|
82926
82940
|
}, [e]), /* @__PURE__ */ h(zW, {
|
|
82927
82941
|
authenticity: e,
|
|
82928
82942
|
documentIdentification: t,
|
|
82929
|
-
selections:
|
|
82943
|
+
selections: f,
|
|
82930
82944
|
onSelect: n,
|
|
82931
82945
|
imageViewer: r,
|
|
82932
82946
|
initialScrollPosition: i,
|
|
82933
|
-
onScrollTop:
|
|
82934
|
-
openFields:
|
|
82935
|
-
onOpen:
|
|
82947
|
+
onScrollTop: g,
|
|
82948
|
+
openFields: s.authenticity,
|
|
82949
|
+
onOpen: m,
|
|
82950
|
+
downloadImage: a
|
|
82936
82951
|
});
|
|
82937
82952
|
};
|
|
82938
82953
|
q.addResourceBundle("ru-RU", "dc87716ea86ebf584e6de7d3249457b2", {
|
|
@@ -83913,26 +83928,26 @@ var cG = () => Qk("0b9710958905a1fef033fa8881ba3e7a"), lG = {
|
|
|
83913
83928
|
items: e,
|
|
83914
83929
|
onTabChange: t
|
|
83915
83930
|
})
|
|
83916
|
-
}), NG = ({ imageViewer: e, className: t, initialTab: n, onTabChange: r, initialScrollPosition: i, onScrollTop: a, openFields: o, onOpenFieldsChange: s }) => {
|
|
83917
|
-
let { t:
|
|
83931
|
+
}), NG = ({ imageViewer: e, className: t, initialTab: n, onTabChange: r, initialScrollPosition: i, onScrollTop: a, openFields: o, onOpenFieldsChange: s, downloadImage: l }) => {
|
|
83932
|
+
let { t: d } = GU(), { response: f } = re(), { tabID: p = n, setTabID: m } = fe(), { setSelections: g } = le();
|
|
83918
83933
|
c(() => () => {
|
|
83919
|
-
|
|
83920
|
-
}, [
|
|
83921
|
-
let { textData:
|
|
83922
|
-
textData: LE(
|
|
83923
|
-
imageQuality: nE(
|
|
83924
|
-
authenticity: AT(
|
|
83925
|
-
documentIdentification: kE(
|
|
83934
|
+
m(n ?? BU.TEXT_DATA);
|
|
83935
|
+
}, [f]);
|
|
83936
|
+
let { textData: _, imageQuality: v, authenticity: y, documentIdentification: b } = u(() => f ? {
|
|
83937
|
+
textData: LE(f).filter((e) => e.value.trim() || e.checkResult !== A.WAS_NOT_DONE),
|
|
83938
|
+
imageQuality: nE(f).sort((e, t) => e.pageIndex - t.pageIndex),
|
|
83939
|
+
authenticity: AT(f).filter(({ groups: e }) => e.length > 0),
|
|
83940
|
+
documentIdentification: kE(f).sort((e, t) => e.pageIndex - t.pageIndex)
|
|
83926
83941
|
} : {
|
|
83927
83942
|
textData: [],
|
|
83928
83943
|
imageQuality: [],
|
|
83929
83944
|
authenticity: [],
|
|
83930
83945
|
documentIdentification: []
|
|
83931
|
-
}, [
|
|
83932
|
-
authenticity: UU(
|
|
83933
|
-
imageQuality: WU(
|
|
83934
|
-
}), [
|
|
83935
|
-
|
|
83946
|
+
}, [f]), x = u(() => ({
|
|
83947
|
+
authenticity: UU(y),
|
|
83948
|
+
imageQuality: WU(v)
|
|
83949
|
+
}), [y, v]), S = (e) => {
|
|
83950
|
+
g((t) => {
|
|
83936
83951
|
let n = t.map((e) => JSON.stringify(e)), r = [...t];
|
|
83937
83952
|
if (e.length === 1) {
|
|
83938
83953
|
let t = JSON.stringify(e[0]);
|
|
@@ -83942,63 +83957,64 @@ var cG = () => Qk("0b9710958905a1fef033fa8881ba3e7a"), lG = {
|
|
|
83942
83957
|
return e.every((e) => n.includes(JSON.stringify(e))) ? r.filter((e) => !t.includes(JSON.stringify(e))) : e;
|
|
83943
83958
|
}
|
|
83944
83959
|
});
|
|
83945
|
-
},
|
|
83946
|
-
r?.(e),
|
|
83947
|
-
},
|
|
83960
|
+
}, C = (e) => {
|
|
83961
|
+
r?.(e), m(e), g([]);
|
|
83962
|
+
}, w = u(() => {
|
|
83948
83963
|
let t = [];
|
|
83949
|
-
return
|
|
83964
|
+
return _.length && t.push({
|
|
83950
83965
|
id: BU.TEXT_DATA,
|
|
83951
|
-
label:
|
|
83966
|
+
label: d("textFields"),
|
|
83952
83967
|
children: /* @__PURE__ */ h(AG, {
|
|
83953
|
-
textData:
|
|
83954
|
-
onSelect:
|
|
83968
|
+
textData: _,
|
|
83969
|
+
onSelect: S,
|
|
83955
83970
|
initialScrollPosition: i?.textData
|
|
83956
83971
|
})
|
|
83957
|
-
}),
|
|
83972
|
+
}), y.length && t.push({
|
|
83958
83973
|
id: BU.AUTHENTICITY,
|
|
83959
|
-
label:
|
|
83974
|
+
label: d("securityChecks"),
|
|
83960
83975
|
children: /* @__PURE__ */ h(BW, {
|
|
83961
|
-
authenticity:
|
|
83962
|
-
documentIdentification:
|
|
83963
|
-
onSelect:
|
|
83976
|
+
authenticity: y,
|
|
83977
|
+
documentIdentification: b,
|
|
83978
|
+
onSelect: S,
|
|
83964
83979
|
imageViewer: e,
|
|
83965
|
-
initialScrollPosition: i?.authenticity
|
|
83980
|
+
initialScrollPosition: i?.authenticity,
|
|
83981
|
+
downloadImage: l
|
|
83966
83982
|
})
|
|
83967
|
-
}),
|
|
83983
|
+
}), v.length && t.push({
|
|
83968
83984
|
id: BU.IMAGE_QUALITY,
|
|
83969
|
-
label:
|
|
83985
|
+
label: d("imageQuality"),
|
|
83970
83986
|
children: /* @__PURE__ */ h(nG, {
|
|
83971
|
-
imageQuality:
|
|
83972
|
-
documentIdentification:
|
|
83973
|
-
onSelect:
|
|
83987
|
+
imageQuality: v,
|
|
83988
|
+
documentIdentification: b,
|
|
83989
|
+
onSelect: S,
|
|
83974
83990
|
initialScrollPosition: i?.imageQuality
|
|
83975
83991
|
})
|
|
83976
|
-
}),
|
|
83992
|
+
}), b.length && t.push({
|
|
83977
83993
|
id: BU.IDENTIFICATION,
|
|
83978
|
-
label:
|
|
83994
|
+
label: d("documentType"),
|
|
83979
83995
|
children: /* @__PURE__ */ h(KW, {
|
|
83980
|
-
documentIdentification:
|
|
83996
|
+
documentIdentification: b,
|
|
83981
83997
|
initialScrollPosition: i?.identification
|
|
83982
83998
|
})
|
|
83983
83999
|
}), t;
|
|
83984
84000
|
}, [
|
|
83985
|
-
g,
|
|
83986
|
-
v,
|
|
83987
84001
|
_,
|
|
83988
84002
|
y,
|
|
84003
|
+
v,
|
|
84004
|
+
b,
|
|
83989
84005
|
i,
|
|
83990
84006
|
e,
|
|
83991
|
-
|
|
84007
|
+
d
|
|
83992
84008
|
]);
|
|
83993
|
-
return
|
|
84009
|
+
return w.length ? /* @__PURE__ */ h(Zt, {
|
|
83994
84010
|
onOpenFieldsChange: s,
|
|
83995
|
-
openFields: o ||
|
|
84011
|
+
openFields: o || x,
|
|
83996
84012
|
children: /* @__PURE__ */ h(nn, {
|
|
83997
84013
|
onScrollTop: a,
|
|
83998
84014
|
children: /* @__PURE__ */ h(MG, {
|
|
83999
|
-
tab:
|
|
84000
|
-
onTabChange:
|
|
84001
|
-
tabs:
|
|
84015
|
+
tab: p,
|
|
84016
|
+
onTabChange: C,
|
|
84017
|
+
tabs: w,
|
|
84002
84018
|
className: t
|
|
84003
84019
|
})
|
|
84004
84020
|
})
|
|
@@ -84020,16 +84036,18 @@ var cG = () => Qk("0b9710958905a1fef033fa8881ba3e7a"), lG = {
|
|
|
84020
84036
|
content: "_content_10kpe_11",
|
|
84021
84037
|
tabs: "_tabs_10kpe_15",
|
|
84022
84038
|
images: "_images_10kpe_18"
|
|
84023
|
-
}, RG = ({ imageViewer: e }) => /* @__PURE__ */ g("div", {
|
|
84039
|
+
}, RG = ({ imageViewer: e, downloadImage: t }) => /* @__PURE__ */ g("div", {
|
|
84024
84040
|
className: LG.container,
|
|
84025
84041
|
children: [/* @__PURE__ */ h(IG, {}), /* @__PURE__ */ g("div", {
|
|
84026
84042
|
className: LG.content,
|
|
84027
84043
|
children: [/* @__PURE__ */ h(zU, {
|
|
84028
84044
|
className: LG.images,
|
|
84029
|
-
imageViewer: e
|
|
84045
|
+
imageViewer: e,
|
|
84046
|
+
downloadImage: t
|
|
84030
84047
|
}), /* @__PURE__ */ h(NG, {
|
|
84031
84048
|
className: LG.tabs,
|
|
84032
|
-
imageViewer: e
|
|
84049
|
+
imageViewer: e,
|
|
84050
|
+
downloadImage: t
|
|
84033
84051
|
})]
|
|
84034
84052
|
})]
|
|
84035
84053
|
});
|
|
@@ -85364,7 +85382,7 @@ var wK = () => Qk("3bc9054a63aa53765bd9ce110e67521e"), TK = { container: "_conta
|
|
|
85364
85382
|
}, DK = {
|
|
85365
85383
|
text: "_text_c8ml4_1",
|
|
85366
85384
|
image: "_image_c8ml4_5"
|
|
85367
|
-
}, OK = ({ name: e, url: t, imageViewer: n = !0 }) => /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(G, {
|
|
85385
|
+
}, OK = ({ name: e, url: t, imageViewer: n = !0, downloadImage: r }) => /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(G, {
|
|
85368
85386
|
className: DK.text,
|
|
85369
85387
|
size: "12x160",
|
|
85370
85388
|
uppercase: !0,
|
|
@@ -85376,7 +85394,7 @@ var wK = () => Qk("3bc9054a63aa53765bd9ce110e67521e"), TK = { container: "_conta
|
|
|
85376
85394
|
draggable: !1,
|
|
85377
85395
|
magnifierImgBorderRadius: 4,
|
|
85378
85396
|
magnifier: !0,
|
|
85379
|
-
download:
|
|
85397
|
+
download: r,
|
|
85380
85398
|
viewer: n
|
|
85381
85399
|
})] }), kK = /* @__PURE__ */ function(e) {
|
|
85382
85400
|
return e.NONE = "NONE", e.SOURCE = "SOURCE", e.LIGHT = "LIGHT", e.SOURCE_LIGHT = "SOURCE_LIGHT", e;
|
|
@@ -85390,31 +85408,33 @@ var wK = () => Qk("3bc9054a63aa53765bd9ce110e67521e"), TK = { container: "_conta
|
|
|
85390
85408
|
case kK.SOURCE_LIGHT: return `${$.getGraphicFieldType(e)} (${$.getSource(t)}, ${$.getLightsLabel(n)})`;
|
|
85391
85409
|
default: return $.getGraphicFieldType(e);
|
|
85392
85410
|
}
|
|
85393
|
-
}, MK = { container: "_container_b06p4_1" }, NK = ({ images: e, imageViewer: t }) => (Qk(), /* @__PURE__ */ h(FH, { children: /* @__PURE__ */ h("div", {
|
|
85411
|
+
}, MK = { container: "_container_b06p4_1" }, NK = ({ images: e, imageViewer: t, downloadImage: n }) => (Qk(), /* @__PURE__ */ h(FH, { children: /* @__PURE__ */ h("div", {
|
|
85394
85412
|
className: MK.container,
|
|
85395
|
-
children: Object.entries(e).reduce((e, [
|
|
85396
|
-
let
|
|
85397
|
-
return
|
|
85398
|
-
let
|
|
85399
|
-
|
|
85400
|
-
name:
|
|
85401
|
-
url:
|
|
85402
|
-
imageViewer: t
|
|
85403
|
-
|
|
85413
|
+
children: Object.entries(e).reduce((e, [r, i]) => {
|
|
85414
|
+
let a = AK(i);
|
|
85415
|
+
return i.forEach(({ src: i, source: o, light: s }, c) => {
|
|
85416
|
+
let l = jK(r, o, s, a);
|
|
85417
|
+
i && e.push(/* @__PURE__ */ h(OK, {
|
|
85418
|
+
name: l,
|
|
85419
|
+
url: i,
|
|
85420
|
+
imageViewer: t,
|
|
85421
|
+
downloadImage: n
|
|
85422
|
+
}, r + c));
|
|
85404
85423
|
}), e;
|
|
85405
85424
|
}, [])
|
|
85406
|
-
}) })), PK = { container: "_container_1hyjc_1" }, FK = ({ images: e, imageViewer: t }) => /* @__PURE__ */ g("div", {
|
|
85425
|
+
}) })), PK = { container: "_container_1hyjc_1" }, FK = ({ images: e, imageViewer: t, downloadImage: n }) => /* @__PURE__ */ g("div", {
|
|
85407
85426
|
className: PK.container,
|
|
85408
85427
|
children: [/* @__PURE__ */ h(EK, {}), /* @__PURE__ */ h(NK, {
|
|
85409
85428
|
images: e,
|
|
85410
|
-
imageViewer: t
|
|
85429
|
+
imageViewer: t,
|
|
85430
|
+
downloadImage: n
|
|
85411
85431
|
})]
|
|
85412
|
-
}), IK = ({ imageViewer: e }) => {
|
|
85413
|
-
let { response:
|
|
85414
|
-
if (!
|
|
85415
|
-
let
|
|
85416
|
-
return
|
|
85417
|
-
images:
|
|
85432
|
+
}), IK = ({ imageViewer: e, downloadImage: t }) => {
|
|
85433
|
+
let { response: n } = re();
|
|
85434
|
+
if (!n) return null;
|
|
85435
|
+
let r = KT(n).filter((e) => e.fieldType !== za.DOCUMENT_FRONT);
|
|
85436
|
+
return r.length ? /* @__PURE__ */ h(FK, {
|
|
85437
|
+
images: r.reduce((e, { pages: t, light: n, fieldType: r }) => {
|
|
85418
85438
|
let i = t.map(({ src: e, source: t }) => ({
|
|
85419
85439
|
light: n,
|
|
85420
85440
|
source: t,
|
|
@@ -85422,7 +85442,8 @@ var wK = () => Qk("3bc9054a63aa53765bd9ce110e67521e"), TK = { container: "_conta
|
|
|
85422
85442
|
}));
|
|
85423
85443
|
return e[r] ? e[r].push(...i) : e[r] = i, e;
|
|
85424
85444
|
}, {}),
|
|
85425
|
-
imageViewer: e
|
|
85445
|
+
imageViewer: e,
|
|
85446
|
+
downloadImage: t
|
|
85426
85447
|
}) : null;
|
|
85427
85448
|
}, LK = ({ response: e, request: t, children: n, language: r }) => {
|
|
85428
85449
|
let i = eA(r);
|
|
@@ -86089,51 +86110,52 @@ var rq = () => Qk("90a425db4934211fafe21693ab2e9a39"), iq = {
|
|
|
86089
86110
|
text: "_text_1wz9f_1",
|
|
86090
86111
|
"source-content": "_source-content_1wz9f_5",
|
|
86091
86112
|
rate: "_rate_1wz9f_28"
|
|
86092
|
-
}, aq = ({ source: e, image: t, checkResult: n, similarity: r, imageViewer: i = !0 }) => {
|
|
86093
|
-
let { t:
|
|
86113
|
+
}, aq = ({ source: e, image: t, checkResult: n, similarity: r, imageViewer: i = !0, downloadImage: a }) => {
|
|
86114
|
+
let { t: o } = rq(), s = $.getPortraitComparisonSource(e);
|
|
86094
86115
|
return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(G, {
|
|
86095
86116
|
className: iq.text,
|
|
86096
86117
|
size: "12x160",
|
|
86097
86118
|
uppercase: !0,
|
|
86098
|
-
children:
|
|
86119
|
+
children: s
|
|
86099
86120
|
}), /* @__PURE__ */ g("div", {
|
|
86100
86121
|
className: iq["source-content"],
|
|
86101
86122
|
children: [t ? /* @__PURE__ */ h(fA, {
|
|
86102
86123
|
src: `data:image/jpeg;base64,${t}`,
|
|
86103
|
-
alt: String(
|
|
86124
|
+
alt: String(s),
|
|
86104
86125
|
magnifierImgBorderRadius: 4,
|
|
86105
86126
|
draggable: !1,
|
|
86106
86127
|
magnifier: !0,
|
|
86107
86128
|
viewer: i,
|
|
86108
|
-
download:
|
|
86129
|
+
download: a
|
|
86109
86130
|
}) : /* @__PURE__ */ h(VH, {
|
|
86110
86131
|
type: "photo",
|
|
86111
86132
|
className: iq["default-image"]
|
|
86112
86133
|
}), n !== void 0 && r !== void 0 && /* @__PURE__ */ g("span", {
|
|
86113
86134
|
className: iq.rate,
|
|
86114
|
-
children: [qH(n), /* @__PURE__ */ h(G, { children: `${
|
|
86135
|
+
children: [qH(n), /* @__PURE__ */ h(G, { children: `${o("rate")} ${r}%` })]
|
|
86115
86136
|
})]
|
|
86116
86137
|
})] });
|
|
86117
|
-
}, oq = { result: "_result_1sdjd_1" }, sq = ({ source: e, image: t, comparable: n, imageViewer: r }) => /* @__PURE__ */ h(FH, { children: /* @__PURE__ */ g("div", {
|
|
86138
|
+
}, oq = { result: "_result_1sdjd_1" }, sq = ({ source: e, image: t, comparable: n, imageViewer: r, downloadImage: i }) => /* @__PURE__ */ h(FH, { children: /* @__PURE__ */ g("div", {
|
|
86118
86139
|
className: oq.result,
|
|
86119
86140
|
children: [/* @__PURE__ */ h(aq, {
|
|
86120
86141
|
source: e,
|
|
86121
86142
|
image: t,
|
|
86122
86143
|
imageViewer: r
|
|
86123
|
-
}), n.map(({ source: e, image: t, checkResult: n, similarity:
|
|
86144
|
+
}), n.map(({ source: e, image: t, checkResult: n, similarity: a }, o) => /* @__PURE__ */ h(aq, {
|
|
86124
86145
|
source: e,
|
|
86125
86146
|
image: t,
|
|
86126
86147
|
checkResult: n,
|
|
86127
|
-
similarity:
|
|
86128
|
-
imageViewer: r
|
|
86129
|
-
|
|
86148
|
+
similarity: a,
|
|
86149
|
+
imageViewer: r,
|
|
86150
|
+
downloadImage: i
|
|
86151
|
+
}, t || o))]
|
|
86130
86152
|
}) });
|
|
86131
86153
|
q.addResourceBundle("ru-RU", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Сервис не отвечает" }), q.addResourceBundle("en-US", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "The service does not respond" }), q.addResourceBundle("lv-LV", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "The service does not respond" }), q.addResourceBundle("de-DE", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Keine Rückmeldung vom Service" }), q.addResourceBundle("pl-PL", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Serwis nie odpowiada" }), q.addResourceBundle("it-IT", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Il servizio non risponde" }), q.addResourceBundle("hu-HU", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "A szolgáltatás nem válaszol" }), q.addResourceBundle("zh-Hans", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "服务没有回应" }), q.addResourceBundle("zh-Hant", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "服務沒有響應" }), q.addResourceBundle("sk-SK", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Služba nereaguje" }), q.addResourceBundle("uk-UA", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Сервіс не відповідає" }), q.addResourceBundle("fr-FR", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Le service ne répond pas" }), q.addResourceBundle("es-ES", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Servicio no responde" }), q.addResourceBundle("pt-PT", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "O serviço não responde" }), q.addResourceBundle("ar-AE", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "الخدمة لا تستجيب" }), q.addResourceBundle("nl-NL", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "De dienst reageert niet" }), q.addResourceBundle("id-ID", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Layanan tidak merepsons" }), q.addResourceBundle("vi-VN", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Dịch vụ không phản hồi" }), q.addResourceBundle("ko-KR", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "서비스가 응답하지 않습니다" }), q.addResourceBundle("ms-MY", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Perkhidmatan tidak memberi maklum balas" }), q.addResourceBundle("ro-RO", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Serviciul nu răspunde" }), q.addResourceBundle("el-GR", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Η υπηρεσία δεν ανταποκρίνεται" }), q.addResourceBundle("tr-TR", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Hizmet yanıt vermiyor" }), q.addResourceBundle("ja-JP", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "サービスは応答しません" }), q.addResourceBundle("cs-CZ", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Služba neodpovídá" }), q.addResourceBundle("th-TH", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "บริการไม่ตอบสนอง" }), q.addResourceBundle("hi-IN", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "सेवा जवाब नहीं देती है" }), q.addResourceBundle("bn-BD", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "পরিষেবাটি সাড়া দেয়নি" }), q.addResourceBundle("he-IL", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "אין תגובה מהשירות" }), q.addResourceBundle("fi-FI", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Palvelu ei vastaa" }), q.addResourceBundle("sv-SE", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Tjänsten svarar inte" }), q.addResourceBundle("da-DK", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Servicen fungerer ikke" }), q.addResourceBundle("hr-HR", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Usluga ne odgovara" }), q.addResourceBundle("no-NO", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Tjenesten svarer ikke" }), q.addResourceBundle("uz-Latn", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Xizmat javob bermaydi" }), q.addResourceBundle("hy-AM", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Ծառայությունը չի պատասխանում" }), q.addResourceBundle("ky-KG", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Сервис жооп бербей жатат" }), q.addResourceBundle("ku-Arab", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "خزمەتگوزاری وەڵام ناداتەوە" }), q.addResourceBundle("tg-TJ", "aac8d134d61c1e4793fd82a4718ac196", { serviceNotRespond: "Хизматрасонӣ посух намедиҳад" });
|
|
86132
86154
|
var cq = () => Qk("aac8d134d61c1e4793fd82a4718ac196"), lq = {
|
|
86133
86155
|
comparison: "_comparison_5medb_1",
|
|
86134
86156
|
results: "_results_5medb_20"
|
|
86135
|
-
}, uq = ({ status: e, name: t, comparisons: n, showDiagnose: r, imageViewer: i }) => {
|
|
86136
|
-
let { t:
|
|
86157
|
+
}, uq = ({ status: e, name: t, comparisons: n, showDiagnose: r, imageViewer: i, downloadImage: a }) => {
|
|
86158
|
+
let { t: o } = cq();
|
|
86137
86159
|
return /* @__PURE__ */ g("div", {
|
|
86138
86160
|
className: lq.comparison,
|
|
86139
86161
|
children: [/* @__PURE__ */ h(nq, {
|
|
@@ -86144,36 +86166,39 @@ var cq = () => Qk("aac8d134d61c1e4793fd82a4718ac196"), lq = {
|
|
|
86144
86166
|
className: lq.results,
|
|
86145
86167
|
children: [r && /* @__PURE__ */ h(GH, { children: /* @__PURE__ */ h(G, {
|
|
86146
86168
|
size: "14x157",
|
|
86147
|
-
children:
|
|
86169
|
+
children: o("serviceNotRespond")
|
|
86148
86170
|
}) }), n.map(({ source: e, image: t, comparable: n }, r) => /* @__PURE__ */ h(sq, {
|
|
86149
86171
|
source: e,
|
|
86150
86172
|
image: t,
|
|
86151
86173
|
comparable: n,
|
|
86152
|
-
imageViewer: i
|
|
86174
|
+
imageViewer: i,
|
|
86175
|
+
downloadImage: a
|
|
86153
86176
|
}, t || r))]
|
|
86154
86177
|
})]
|
|
86155
86178
|
});
|
|
86156
|
-
}, dq = { comparisons: "_comparisons_pgp5t_1" }, fq = ({ portraitsComparison: e, portraitsStatus: t, showDiagnose: n, imageViewer: r }) => {
|
|
86157
|
-
let { t:
|
|
86179
|
+
}, dq = { comparisons: "_comparisons_pgp5t_1" }, fq = ({ portraitsComparison: e, portraitsStatus: t, showDiagnose: n, imageViewer: r, downloadImage: i }) => {
|
|
86180
|
+
let { t: a } = eq();
|
|
86158
86181
|
return /* @__PURE__ */ h("div", {
|
|
86159
86182
|
className: dq.comparisons,
|
|
86160
86183
|
children: /* @__PURE__ */ h(uq, {
|
|
86161
86184
|
status: t,
|
|
86162
|
-
name:
|
|
86185
|
+
name: a("portraitComparison"),
|
|
86163
86186
|
comparisons: e,
|
|
86164
86187
|
showDiagnose: n,
|
|
86165
|
-
imageViewer: r
|
|
86188
|
+
imageViewer: r,
|
|
86189
|
+
downloadImage: i
|
|
86166
86190
|
})
|
|
86167
86191
|
});
|
|
86168
|
-
}, pq = ({ imageViewer: e }) => {
|
|
86169
|
-
let { response:
|
|
86170
|
-
if (!
|
|
86171
|
-
let
|
|
86172
|
-
return
|
|
86173
|
-
portraitsComparison:
|
|
86174
|
-
portraitsStatus:
|
|
86192
|
+
}, pq = ({ imageViewer: e, downloadImage: t }) => {
|
|
86193
|
+
let { response: n } = re();
|
|
86194
|
+
if (!n) return null;
|
|
86195
|
+
let r = IT(n), i = wE(n), a = r.every(({ diagnose: e }) => e === k.PORTRAIT_COMPARISON_NO_SERVICE_REPLY);
|
|
86196
|
+
return r.length ? /* @__PURE__ */ h(fq, {
|
|
86197
|
+
portraitsComparison: r,
|
|
86198
|
+
portraitsStatus: i.summary.portrait,
|
|
86175
86199
|
imageViewer: e,
|
|
86176
|
-
showDiagnose:
|
|
86200
|
+
showDiagnose: a,
|
|
86201
|
+
downloadImage: t
|
|
86177
86202
|
}) : null;
|
|
86178
86203
|
}, mq = (e) => Number.isInteger(e) ? e : parseFloat(e.toFixed(2)), hq = {
|
|
86179
86204
|
list: "_list_1jb30_1",
|