@incodetech/web 2.0.1-rc.0 → 2.1.0-rc.0
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/ae-signature/ae-signature.es.js +15 -13
- package/dist/ae-signature/styles.css +3 -17
- package/dist/ae-signature/styles2.css +15 -5
- package/dist/aligndevicelottie-DY_bX_p8.js +12769 -0
- package/dist/antifraud/antifraud.es.js +23 -16
- package/dist/authentication/authentication.es.js +42 -27
- package/dist/autoFocusTitle-BzkUiELM.js +29 -0
- package/dist/{back-horizontal-hint-B8Brxh3U.js → back-horizontal-hint-D_8LptLm.js} +26 -26
- package/dist/back-tutorial-vb1MxlrT.js +14597 -0
- package/dist/{back-vertical-hint-BBo36dxn.js → back-vertical-hint-C1evxxq2.js} +27 -27
- package/dist/backdevicelottie-HypPqBz7.js +16690 -0
- package/dist/base.css +1258 -104
- package/dist/blurdevicelottie-CBXtBFiJ.js +15951 -0
- package/dist/bottomSheet-F1GJfQx_.js +39 -0
- package/dist/browser-ponyfill-CLLvZCVg.js +441 -0
- package/dist/button-CM_hgyIP.js +35 -0
- package/dist/checkbox-BoeLHKgp.js +96 -0
- package/dist/consent/consent.es.js +89 -73
- package/dist/consent/styles.css +35 -22
- package/dist/countrySelector-mSWyHSy4.js +60 -0
- package/dist/cpf-ocr/cpf-ocr.es.js +2 -0
- package/dist/cpfOcr-MtpRztkG.js +92 -0
- package/dist/cpfOcr-jJkYCfsX.js +2 -0
- package/dist/cross-document-data-match/cross-document-data-match.es.js +20 -16
- package/dist/curp-validation/curp-validation.es.js +247 -203
- package/dist/customFields-DXXt9HGM.js +140 -0
- package/dist/customWatchlist-DsW04UF6.js +36 -0
- package/dist/dateInputComposed-C_mh4XBg.js +69 -0
- package/dist/dateInputComposed-Cy6a7ymh.js +1 -0
- package/dist/defineProperty-mefzVtTv.js +39 -0
- package/dist/document-capture/document-capture.es.js +2 -0
- package/dist/document-capture/styles.css +2 -5
- package/dist/documentCapture-8ypBJehw.js +2 -0
- package/dist/documentCapture-BDV_921m.js +880 -0
- package/dist/dropdownComposed-CEWBSdGl.js +1 -0
- package/dist/dropdownComposed-_fgAlo_C.js +380 -0
- package/dist/dynamic-forms/styles.css +25 -13
- package/dist/dynamicForms-DyfnsS7E.js +352 -0
- package/dist/ekyb/ekyb.es.js +2 -2
- package/dist/ekyb/styles.css +2 -0
- package/dist/ekybModule-CIPGmCvD.js +279 -0
- package/dist/ekybModule-DFoYpheB.js +2 -0
- package/dist/ekyc/ekyc.es.js +2 -2
- package/dist/ekyc/styles.css +9 -7
- package/dist/ekycModule-BGzwgjl1.js +2 -0
- package/dist/ekycModule-BuTaC5ct.js +257 -0
- package/dist/electronic-signature/electronic-signature.es.js +2 -2
- package/dist/electronic-signature-B-Q7M0wK.js +430 -0
- package/dist/email/email.es.js +199 -66
- package/dist/emailInput-KZmhjOdZ.js +39 -0
- package/dist/errorIcon-DJRZpd8j.js +26 -0
- package/dist/expiredId-Q1t6aVpk.js +85 -0
- package/dist/extensibility-Cs3KQQdC.js +3070 -0
- package/dist/extensibility.es.js +26 -25
- package/dist/face-match/face-match.es.js +2 -2
- package/dist/face-match/styles.css +0 -4
- package/dist/faceMatch--RDHJe4t.js +343 -0
- package/dist/faceMatch-yEKPYaym.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +2 -0
- package/dist/field-comparison/styles.css +16 -0
- package/dist/fieldComparison-CAF86bTC.js +88 -0
- package/dist/fieldComparison-D0an7T_g.js +2 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +224 -0
- package/dist/fiscal-qr/styles.css +71 -0
- package/dist/{flip-animation-CgwRsEmK.js → flip-animation-BGRvygw9.js} +4221 -4221
- package/dist/flow/flow.es.js +619 -484
- package/dist/flow/styles.css +378 -418
- package/dist/{front-horizontal-hint-DGGGi8e1.js → front-horizontal-hint-Uf5bHCsd.js} +70 -70
- package/dist/{front-vertical-hint-CNr5mE6Q.js → front-vertical-hint-DdWNA45v.js} +81 -81
- package/dist/frontdevicelottie-CLqitJhG.js +17314 -0
- package/dist/geolocation/geolocation.es.js +486 -395
- package/dist/glaredevicelottie-BS04U6Fc.js +14478 -0
- package/dist/governmentValidation/governmentValidation.es.js +166 -93
- package/dist/governmentValidation/styles.css +0 -17
- package/dist/homeScreen-BZnIEDrV.js +264 -0
- package/dist/hooks-Da_yP_Dr.js +149 -0
- package/dist/i18n-CoCO2ZuN.js +2971 -0
- package/dist/icons-Dbs9ZfYM.js +360 -0
- package/dist/id/id.es.js +583 -414
- package/dist/id/styles.css +59 -43
- package/dist/id-laser-h-DX8UbVNH.js +467 -0
- package/dist/id-laser-v-DhnHdjlB.js +490 -0
- package/dist/id-tutorial-lj4iKtYT.js +13165 -0
- package/dist/id-verification/id-verification.es.js +21 -17
- package/dist/idOcr-CjGbb4dB.js +123 -0
- package/dist/identity-reuse/identity-reuse.es.js +311 -182
- package/dist/identity-reuse/styles.css +134 -80
- package/dist/incode-logo-57XFniXU.js +4 -0
- package/dist/incodeComponent-wfnHlnXx.js +63 -0
- package/dist/incodeModule-BUDoTwT9.js +13 -0
- package/dist/index.es.js +16 -13
- package/dist/inputComposed-BEn7_nZd.js +1 -0
- package/dist/inputComposed-CQ4AsvZg.js +99 -0
- package/dist/loadingIcon-B0ysgiNq.js +148 -0
- package/dist/lottie_light-Dp9Bz3mf.js +9031 -0
- package/dist/mandatoryConsent-r0PQHmv-.js +107 -0
- package/dist/modal-nTSaG7nB.js +139 -0
- package/dist/modal.hooks-D2xhIuHA.js +195 -0
- package/dist/numberedStep-CEtwZqLp.js +13 -0
- package/dist/optionAccessibleLabel-CnA-mNAU.js +202 -0
- package/dist/otpInput-_JmtVwa0.js +195 -0
- package/dist/page-DxGQj7Gk.js +71 -0
- package/dist/{passport-horizontal-hint-Bgquwtac.js → passport-horizontal-hint-Bbm2mvSn.js} +55 -55
- package/dist/{passport-tutorial-DwRwtPVX.js → passport-tutorial-zT1ZoA-D.js} +7096 -7084
- package/dist/{passport-vertical-hint-BT1D5BrW.js → passport-vertical-hint-DJbCtBiM.js} +49 -49
- package/dist/pdf-BZA70WbM.js +22398 -0
- package/dist/pdfViewer-BK-yVIve.js +114 -0
- package/dist/phone/phone.es.js +214 -70
- package/dist/phoneInputComposed-DjNdsmPE.js +12142 -0
- package/dist/processing-BM-wT-1W.js +8 -0
- package/dist/qe-signature/qe-signature.es.js +15 -13
- package/dist/radioGroupComposed-BNuaopVr.js +215 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +2774 -0
- package/dist/redirect-to-mobile/styles.css +19 -269
- package/dist/registerIncodeElement-77NGCDsy.js +11 -0
- package/dist/requiredLabelHint-DEadtiwx.js +17 -0
- package/dist/richText-Cf9aMOCk.js +3153 -0
- package/dist/rolldown-runtime--E5BIlTp.js +33 -0
- package/dist/selfie/selfie.es.js +54 -37
- package/dist/selfie/styles.css +0 -4
- package/dist/selfieTutorial-CtruLyO2.js +2689 -0
- package/dist/signature/signature.es.js +778 -405
- package/dist/snackbar-CxepGC3e.js +16 -0
- package/dist/spinner-B6RxGFrI.js +1 -0
- package/dist/spinner-D8a_2LvW.js +42 -0
- package/dist/statusPage-DMYPUwRZ.js +28 -0
- package/dist/successIcon-BAyDPT7I.js +30 -0
- package/dist/tabs-C8npVBbk.js +103 -0
- package/dist/themes/dark.css +5 -0
- package/dist/themes/light.css +4 -0
- package/dist/transitionSpinner-DRRz-NV8.js +26 -0
- package/dist/{tutorial-9vHAHvMK.js → tutorial-D1qaY2Tm.js} +1105 -856
- package/dist/types/ae-signature.d.ts +4 -1
- package/dist/types/antifraud.d.ts +9 -3
- package/dist/types/authentication.d.ts +4 -1
- package/dist/types/consent.d.ts +4 -1
- package/dist/types/cpf-ocr.d.ts +12 -0
- package/dist/types/cross-document-data-match.d.ts +4 -1
- package/dist/types/curp-validation.d.ts +9 -3
- package/dist/types/document-capture.d.ts +37 -0
- package/dist/types/ekyb.d.ts +4 -1
- package/dist/types/ekyc.d.ts +4 -1
- package/dist/types/electronic-signature.d.ts +4 -1
- package/dist/types/email.d.ts +4 -1
- package/dist/types/extensibility.d.ts +40 -15
- package/dist/types/face-match.d.ts +4 -1
- package/dist/types/field-comparison.d.ts +38 -0
- package/dist/types/fiscal-qr.d.ts +43 -0
- package/dist/types/flow.d.ts +5 -2
- package/dist/types/geolocation.d.ts +4 -1
- package/dist/types/governmentValidation.d.ts +4 -1
- package/dist/types/id-verification.d.ts +4 -1
- package/dist/types/id.d.ts +4 -1
- package/dist/types/identity-reuse.d.ts +4 -1
- package/dist/types/index.d.ts +20 -2
- package/dist/types/phone.d.ts +4 -1
- package/dist/types/qe-signature.d.ts +4 -1
- package/dist/types/redirect-to-mobile.d.ts +17 -0
- package/dist/types/selfie.d.ts +4 -1
- package/dist/types/signature.d.ts +4 -1
- package/dist/types/watchlist.d.ts +4 -1
- package/dist/types/workflow.d.ts +55 -11
- package/dist/typography-YLgHHuao.js +45 -0
- package/dist/uiConfig-D2_wawvr.js +25 -0
- package/dist/useModuleLoader-CeJ2jL25.js +672 -0
- package/dist/vendor-preact-DThS2ZQ_.js +955 -0
- package/dist/verificationResult-Do5SpZ6X.js +64 -0
- package/dist/verifiedByIncode-DjXOdCml.js +103 -0
- package/dist/watchlist/watchlist.es.js +31 -28
- package/dist/watchlistForBusiness-BFFXC9d-.js +80 -0
- package/dist/workflow/styles.css +449 -427
- package/dist/workflow/workflow.es.js +268 -182
- package/package.json +32 -10
- package/dist/aligndevicelottie-DoV8xKjh.js +0 -12757
- package/dist/autoFocusTitle-QexamZ4i.js +0 -16
- package/dist/back-tutorial-1NOQobGO.js +0 -14585
- package/dist/backdevicelottie-C_ceuqY7.js +0 -16678
- package/dist/blurdevicelottie-UO14Y0WC.js +0 -15939
- package/dist/bottomSheet-DE_8TFEC.js +0 -31
- package/dist/browser-ponyfill-jOkuz57z.js +0 -299
- package/dist/button-DcCUEn2n.js +0 -24
- package/dist/checkbox-Cl57ltq_.js +0 -85
- package/dist/countrySelector-CE-JgIsv.js +0 -58
- package/dist/cpfOcr-D_tbwbvh.js +0 -78
- package/dist/customFields-CW38fQUv.js +0 -127
- package/dist/customWatchlist-D9_yjEQd.js +0 -33
- package/dist/dateInputComposed-BpAGsjN6.js +0 -55
- package/dist/dateInputComposed-DU3o6PAV.js +0 -1
- package/dist/defineProperty-Dh8nSJpJ.js +0 -39
- package/dist/documentCapture-xX-JT7ZY.js +0 -763
- package/dist/dropdownComposed-DFRBG22E.js +0 -284
- package/dist/dropdownComposed-DwTzc2YU.js +0 -1
- package/dist/dynamicForms-CJP1Ia6Q.js +0 -262
- package/dist/ekybModule-BSs7mndb.js +0 -280
- package/dist/ekybModule-D9M3E2Gm.js +0 -2
- package/dist/ekycModule-CU9pt5YN.js +0 -246
- package/dist/ekycModule-CZw9cLno.js +0 -2
- package/dist/electronic-signature-COYXjGdd.js +0 -410
- package/dist/emailInput-DppGf9pv.js +0 -37
- package/dist/expiredId-BnmzE8T3.js +0 -70
- package/dist/extensibility-CzEJfRwo.js +0 -2586
- package/dist/faceMatch-B8j0g0Yo.js +0 -2
- package/dist/faceMatch-BV8UD7tj.js +0 -201
- package/dist/frontdevicelottie-Bu6f9fDE.js +0 -17302
- package/dist/glaredevicelottie-B10axYs_.js +0 -14466
- package/dist/homeScreen-DnP1jw9A.js +0 -227
- package/dist/hooks-BVnGysT7.js +0 -80
- package/dist/i18n-9s4OSqwi.js +0 -2010
- package/dist/icons-Cc7zwchP.js +0 -310
- package/dist/id-laser-h-mBAzHVOK.js +0 -467
- package/dist/id-laser-v-CrFg4bcJ.js +0 -483
- package/dist/id-tutorial-BCr42Pnn.js +0 -13153
- package/dist/idOcr-CCjfWQvH.js +0 -94
- package/dist/incode-logo-DX016usY.js +0 -4
- package/dist/incodeComponent-C1o4M0ZK.js +0 -50
- package/dist/incodeModule-BqCjVgEI.js +0 -18
- package/dist/inputComposed-APSw8C7o.js +0 -89
- package/dist/inputComposed-XYrarFxS.js +0 -1
- package/dist/loadingIcon-BN5YRQUb.js +0 -104
- package/dist/mandatoryConsent-DssKMC3v.js +0 -100
- package/dist/modal-NMxsQHAO.js +0 -135
- package/dist/modal.hooks-CAjcIFZK.js +0 -126
- package/dist/numberedStep-CT-alrK5.js +0 -11
- package/dist/optionAccessibleLabel-CzEeX3Q4.js +0 -140
- package/dist/otpInput-DqRA_egd.js +0 -145
- package/dist/page-C1yT4DLb.js +0 -69
- package/dist/pdf-BurGZ08w.js +0 -14967
- package/dist/pdfViewer-BGBNL1Ea.js +0 -63
- package/dist/phoneInputComposed-bvWhGLFZ.js +0 -11206
- package/dist/processing-G_y3o32b.js +0 -6
- package/dist/radioGroupComposed-BbmvxmD2.js +0 -177
- package/dist/redirectToMobile-C3k1gloW.js +0 -1514
- package/dist/requiredLabelHint-BLwgqozE.js +0 -13
- package/dist/richText-DbJ5sl2n.js +0 -1973
- package/dist/rolldown-runtime-CYMK-g2i.js +0 -20
- package/dist/selfieTutorial-BgrlUMXP.js +0 -2677
- package/dist/snackbar-BDp8x7Cv.js +0 -14
- package/dist/spinner-B4dcie2T.js +0 -1
- package/dist/spinner-CKnjVHxw.js +0 -39
- package/dist/statusPage-CUI7ApcU.js +0 -28
- package/dist/successIcon-DbILeIz_.js +0 -28
- package/dist/tabs-DaPyP71c.js +0 -78
- package/dist/transitionSpinner-PIEPU2Vx.js +0 -17
- package/dist/types/cpf-ocr/styles.d.ts +0 -1
- package/dist/types/document-capture/styles.d.ts +0 -1
- package/dist/types/redirect-to-mobile/styles.d.ts +0 -1
- package/dist/typography-CxjaknHN.js +0 -28
- package/dist/uiConfig-CwpQ-IM6.js +0 -20
- package/dist/useModuleLoader-BFiVA41N.js +0 -432
- package/dist/vendor-preact-D6SntenC.js +0 -958
- package/dist/verificationResult-BrVbUJ4U.js +0 -97
- package/dist/verifiedByIncode-ChZBpqNy.js +0 -101
- package/dist/watchlistForBusiness-BcSNtHCV.js +0 -77
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { n as useTranslation } from "./i18n-CoCO2ZuN.js";
|
|
2
|
+
import { _ as y, h as q, l as A, v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
3
|
+
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
4
|
+
import { t as Button } from "./button-CM_hgyIP.js";
|
|
5
|
+
import { t as InputComposed } from "./inputComposed-CQ4AsvZg.js";
|
|
6
|
+
import "./inputComposed-BEn7_nZd.js";
|
|
7
|
+
//#region src/shared/otpInput/otpInput.tsx
|
|
8
|
+
var formatTimer = (seconds) => {
|
|
9
|
+
return `${Math.floor(seconds / 60)}:${(seconds % 60).toString().padStart(2, "0")}`;
|
|
10
|
+
};
|
|
11
|
+
var normalizeOtp = (value, maxLength) => {
|
|
12
|
+
return value.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, maxLength);
|
|
13
|
+
};
|
|
14
|
+
var OtpInput = ({ value, otpLength, resendTimer, canResend, error, validationError, isValid = true, onSubmit, onChange, onValidate, onResend, onBack, backLinkText = "otp.changePhoneNumber", disabled = false, isLoading = false }) => {
|
|
15
|
+
const { t } = useTranslation();
|
|
16
|
+
const inputRef = A(null);
|
|
17
|
+
const prevCodeLengthRef = A(value.length);
|
|
18
|
+
const lastSubmittedCodeRef = A(null);
|
|
19
|
+
const liveRef = A(null);
|
|
20
|
+
const prevCanResendRef = A(canResend);
|
|
21
|
+
const hasAnnouncedStartRef = A(false);
|
|
22
|
+
const announceTimerRef = A();
|
|
23
|
+
const announce = q((message) => {
|
|
24
|
+
const node = liveRef.current;
|
|
25
|
+
if (!node) return;
|
|
26
|
+
clearTimeout(announceTimerRef.current);
|
|
27
|
+
node.textContent = "";
|
|
28
|
+
announceTimerRef.current = setTimeout(() => {
|
|
29
|
+
node.textContent = message;
|
|
30
|
+
}, 50);
|
|
31
|
+
}, []);
|
|
32
|
+
y(() => {
|
|
33
|
+
const wasUnavailable = !prevCanResendRef.current;
|
|
34
|
+
prevCanResendRef.current = canResend;
|
|
35
|
+
if (wasUnavailable && canResend) announce(t("otp.resendCodeAvailable"));
|
|
36
|
+
return () => clearTimeout(announceTimerRef.current);
|
|
37
|
+
}, [
|
|
38
|
+
canResend,
|
|
39
|
+
announce,
|
|
40
|
+
t
|
|
41
|
+
]);
|
|
42
|
+
y(() => {
|
|
43
|
+
if (error) {
|
|
44
|
+
lastSubmittedCodeRef.current = null;
|
|
45
|
+
setTimeout(() => {
|
|
46
|
+
inputRef.current?.focus();
|
|
47
|
+
}, 0);
|
|
48
|
+
}
|
|
49
|
+
}, [error]);
|
|
50
|
+
const submitCode = q((rawCode) => {
|
|
51
|
+
const normalized = normalizeOtp(rawCode, otpLength);
|
|
52
|
+
if (normalized.length !== otpLength || isLoading) return;
|
|
53
|
+
if (lastSubmittedCodeRef.current === normalized) return;
|
|
54
|
+
lastSubmittedCodeRef.current = normalized;
|
|
55
|
+
onSubmit(normalized);
|
|
56
|
+
}, [
|
|
57
|
+
isLoading,
|
|
58
|
+
onSubmit,
|
|
59
|
+
otpLength
|
|
60
|
+
]);
|
|
61
|
+
y(() => {
|
|
62
|
+
const reachedMax = value.length === otpLength && prevCodeLengthRef.current < otpLength;
|
|
63
|
+
prevCodeLengthRef.current = value.length;
|
|
64
|
+
if (reachedMax) submitCode(value);
|
|
65
|
+
}, [
|
|
66
|
+
value,
|
|
67
|
+
otpLength,
|
|
68
|
+
submitCode
|
|
69
|
+
]);
|
|
70
|
+
const handleChange = (e) => {
|
|
71
|
+
const target = e.target;
|
|
72
|
+
onChange(normalizeOtp(target.value, otpLength));
|
|
73
|
+
};
|
|
74
|
+
const handlePaste = (e) => {
|
|
75
|
+
e.preventDefault();
|
|
76
|
+
const normalized = normalizeOtp(e.clipboardData?.getData("text") || "", otpLength);
|
|
77
|
+
if (normalized) onChange(normalized);
|
|
78
|
+
};
|
|
79
|
+
const handleSubmitClick = () => {
|
|
80
|
+
if (value.length < otpLength) {
|
|
81
|
+
onValidate?.();
|
|
82
|
+
inputRef.current?.focus();
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
submitCode(value);
|
|
86
|
+
};
|
|
87
|
+
const displayedError = error ?? validationError;
|
|
88
|
+
y(() => {
|
|
89
|
+
if (canResend || resendTimer <= 0) {
|
|
90
|
+
hasAnnouncedStartRef.current = false;
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
if (!hasAnnouncedStartRef.current) {
|
|
94
|
+
hasAnnouncedStartRef.current = true;
|
|
95
|
+
announce(t("otp.timerStarted", { time: String(resendTimer) }));
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
if (resendTimer === 10) announce(t("otp.timerTenSeconds"));
|
|
99
|
+
else if (resendTimer === 5) announce(t("otp.timerFiveSeconds"));
|
|
100
|
+
}, [
|
|
101
|
+
resendTimer,
|
|
102
|
+
canResend,
|
|
103
|
+
announce,
|
|
104
|
+
t
|
|
105
|
+
]);
|
|
106
|
+
const renderActions = () => {
|
|
107
|
+
if (!canResend && resendTimer > 0) return /* @__PURE__ */ u("div", {
|
|
108
|
+
class: "IncodeOtpInputActions",
|
|
109
|
+
children: /* @__PURE__ */ u("p", {
|
|
110
|
+
class: "IncodeOtpInputTimerText",
|
|
111
|
+
"data-testid": "otp-timer",
|
|
112
|
+
children: t("otp.resendCountdown", { time: formatTimer(resendTimer) })
|
|
113
|
+
})
|
|
114
|
+
});
|
|
115
|
+
const handleResend = () => {
|
|
116
|
+
lastSubmittedCodeRef.current = null;
|
|
117
|
+
onChange("");
|
|
118
|
+
onResend();
|
|
119
|
+
};
|
|
120
|
+
const handleBack = () => {
|
|
121
|
+
lastSubmittedCodeRef.current = null;
|
|
122
|
+
onChange("");
|
|
123
|
+
onBack();
|
|
124
|
+
};
|
|
125
|
+
return /* @__PURE__ */ u("div", {
|
|
126
|
+
class: "IncodeOtpInputActions",
|
|
127
|
+
children: /* @__PURE__ */ u("p", {
|
|
128
|
+
class: `IncodeOtpInputResendText ${disabled ? "IncodeOtpInputResendTextDisabled" : ""}`,
|
|
129
|
+
"data-testid": "otp-resend-section",
|
|
130
|
+
children: [
|
|
131
|
+
t("otp.didYouNotGetIt"),
|
|
132
|
+
/* @__PURE__ */ u("button", {
|
|
133
|
+
type: "button",
|
|
134
|
+
class: "IncodeOtpInputLink",
|
|
135
|
+
onClick: handleResend,
|
|
136
|
+
disabled: disabled || !canResend,
|
|
137
|
+
"data-testid": "otp-resend",
|
|
138
|
+
children: t("otp.resendCode")
|
|
139
|
+
}),
|
|
140
|
+
` ${t("otp.or")} `,
|
|
141
|
+
/* @__PURE__ */ u("button", {
|
|
142
|
+
type: "button",
|
|
143
|
+
class: "IncodeOtpInputLink",
|
|
144
|
+
onClick: handleBack,
|
|
145
|
+
disabled,
|
|
146
|
+
"data-testid": "otp-back",
|
|
147
|
+
children: t(backLinkText)
|
|
148
|
+
})
|
|
149
|
+
]
|
|
150
|
+
})
|
|
151
|
+
});
|
|
152
|
+
};
|
|
153
|
+
return /* @__PURE__ */ u("div", {
|
|
154
|
+
class: `IncodeOtpInput IncodeOtpInputComposed`,
|
|
155
|
+
children: [
|
|
156
|
+
/* @__PURE__ */ u("div", {
|
|
157
|
+
ref: liveRef,
|
|
158
|
+
class: "IncodeSrOnly",
|
|
159
|
+
"aria-live": "polite",
|
|
160
|
+
"aria-atomic": "true"
|
|
161
|
+
}),
|
|
162
|
+
/* @__PURE__ */ u(InputComposed, {
|
|
163
|
+
id: "otp-code",
|
|
164
|
+
type: "text",
|
|
165
|
+
inputMode: "text",
|
|
166
|
+
ref: inputRef,
|
|
167
|
+
maxLength: otpLength,
|
|
168
|
+
value,
|
|
169
|
+
error: displayedError,
|
|
170
|
+
onInput: handleChange,
|
|
171
|
+
onBlur: onValidate,
|
|
172
|
+
onPaste: handlePaste,
|
|
173
|
+
disabled: disabled || isLoading,
|
|
174
|
+
required: true,
|
|
175
|
+
autocomplete: "one-time-code",
|
|
176
|
+
"data-testid": "otp-input-0",
|
|
177
|
+
"aria-label": t("otp.verificationCode"),
|
|
178
|
+
class: "IncodeOtpSingleInput",
|
|
179
|
+
showErrorIcon: true
|
|
180
|
+
}),
|
|
181
|
+
/* @__PURE__ */ u(Spacer, {}),
|
|
182
|
+
/* @__PURE__ */ u(Button, {
|
|
183
|
+
onClick: handleSubmitClick,
|
|
184
|
+
disabled: disabled || isLoading || !isValid,
|
|
185
|
+
isLoading,
|
|
186
|
+
"data-testid": "otp-submit",
|
|
187
|
+
children: t("common.continue")
|
|
188
|
+
}),
|
|
189
|
+
/* @__PURE__ */ u(Spacer, { size: 12 }),
|
|
190
|
+
renderActions()
|
|
191
|
+
]
|
|
192
|
+
});
|
|
193
|
+
};
|
|
194
|
+
//#endregion
|
|
195
|
+
export { OtpInput as t };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { _ as y, l as A, v as u, x as k } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
|
+
import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
|
|
3
|
+
import { t as incode_logo_default } from "./incode-logo-57XFniXU.js";
|
|
4
|
+
import { n as usePageUiConfig, t as VerifiedByIncodeLogo } from "./verifiedByIncode-DjXOdCml.js";
|
|
5
|
+
//#region src/shared/page/page.tsx
|
|
6
|
+
var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children, hideHeader, hideFooterBranding, footerBrandingSlot, "data-testid": dataTestId, "data-permission-status": dataPermissionStatus }) => {
|
|
7
|
+
const titleRef = A(null);
|
|
8
|
+
y(() => {
|
|
9
|
+
titleRef.current?.focus();
|
|
10
|
+
}, []);
|
|
11
|
+
const uiConfig = usePageUiConfig({
|
|
12
|
+
hideHeader,
|
|
13
|
+
hideFooterBranding,
|
|
14
|
+
logo,
|
|
15
|
+
defaultLogoSrc: incode_logo_default
|
|
16
|
+
});
|
|
17
|
+
const shouldShowHeader = title || subtitle || titleTopSlot;
|
|
18
|
+
return /* @__PURE__ */ u("div", {
|
|
19
|
+
class: `IncodePageContainer ${className ?? ""}`,
|
|
20
|
+
"data-testid": dataTestId,
|
|
21
|
+
"data-permission-status": dataPermissionStatus,
|
|
22
|
+
children: /* @__PURE__ */ u("main", {
|
|
23
|
+
class: "IncodePageInner",
|
|
24
|
+
children: [
|
|
25
|
+
!uiConfig.hideHeader && /* @__PURE__ */ u("header", {
|
|
26
|
+
class: "IncodePageHeader",
|
|
27
|
+
children: /* @__PURE__ */ u("img", {
|
|
28
|
+
src: uiConfig.logoSrc,
|
|
29
|
+
height: uiConfig.logoHeightPx,
|
|
30
|
+
class: "IncodePageLogo",
|
|
31
|
+
"aria-hidden": "true",
|
|
32
|
+
alt: ""
|
|
33
|
+
})
|
|
34
|
+
}),
|
|
35
|
+
shouldShowHeader ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: uiConfig.hideHeader ? 40 : 24 }), /* @__PURE__ */ u("div", {
|
|
36
|
+
class: "IncodePageTitleContainer",
|
|
37
|
+
children: [
|
|
38
|
+
titleTopSlot ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
|
|
39
|
+
class: "IncodePageTitleTopSlot",
|
|
40
|
+
children: titleTopSlot
|
|
41
|
+
}), /* @__PURE__ */ u(Spacer, { size: 12 })] }) : null,
|
|
42
|
+
title ? /* @__PURE__ */ u("h2", {
|
|
43
|
+
ref: titleRef,
|
|
44
|
+
id: titleId,
|
|
45
|
+
class: "IncodePageTitle",
|
|
46
|
+
tabIndex: -1,
|
|
47
|
+
children: title
|
|
48
|
+
}) : null,
|
|
49
|
+
subtitle ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
|
|
50
|
+
class: "IncodePageSubtitle",
|
|
51
|
+
children: subtitle
|
|
52
|
+
})] }) : null
|
|
53
|
+
]
|
|
54
|
+
})] }) : null,
|
|
55
|
+
/* @__PURE__ */ u("div", {
|
|
56
|
+
class: "IncodePageContent",
|
|
57
|
+
children
|
|
58
|
+
}),
|
|
59
|
+
!uiConfig.hideFooterBranding ? /* @__PURE__ */ u("div", {
|
|
60
|
+
class: "IncodePageFooter",
|
|
61
|
+
children: /* @__PURE__ */ u("div", {
|
|
62
|
+
class: "IncodePageFooterInner",
|
|
63
|
+
children: footerBrandingSlot ?? /* @__PURE__ */ u(VerifiedByIncodeLogo, {})
|
|
64
|
+
})
|
|
65
|
+
}) : null
|
|
66
|
+
]
|
|
67
|
+
})
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
//#endregion
|
|
71
|
+
export { Page as t };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { v as
|
|
1
|
+
import { v as u } from "./vendor-preact-DThS2ZQ_.js";
|
|
2
2
|
//#region src/modules/id/capture/assets/hints/passport-horizontal-hint.svg?react
|
|
3
|
-
var
|
|
3
|
+
var SvgPassportHorizontalHint = (props) => /* @__PURE__ */ u("svg", {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
fill: "none",
|
|
6
6
|
viewBox: "0 0 800 800",
|
|
7
|
-
...
|
|
8
|
-
children: [/* @__PURE__ */
|
|
7
|
+
...props,
|
|
8
|
+
children: [/* @__PURE__ */ u("g", {
|
|
9
9
|
clipPath: "url(#a)",
|
|
10
10
|
children: [
|
|
11
|
-
/* @__PURE__ */
|
|
11
|
+
/* @__PURE__ */ u("path", {
|
|
12
12
|
fill: "url(#b)",
|
|
13
13
|
d: "M415.572 580.418c4.238-.127 9.173-1.097 14.216-2.469l23.174-8.448c-2.299 4.667-3.336 8.669-3.376 12.08-.03 4.204 1.466 7.435 3.865 9.807 2.362 2.317 5.505 3.738 8.659 4.549 3.176.815 6.477 1.043 9.289.908l.412.005.328-.213c8.506-4.907 27.223-15.81 35.28-20.989 2.042.327 4.428-.193 6.778-1.039 2.731-.977 5.744-2.508 8.725-4.27 5.363-3.156 10.78-7.126 14.544-10.137 3.843 3.905 8.33 5.211 12.163 5.269 2.081.028 3.99-.298 5.512-.801.922-.288 1.777-.649 2.461-1.094.158.034.33.058.493.069.678.026 1.278-.189 1.701-.405l27.061-60.035c4.892-12.832 2.373-25.148-2.101-38.976-1.122-3.493-2.38-7.073-3.676-10.804-3.872-11.105-8.182-23.483-10.966-38.273-.117-15.297-4.053-24.765-9.202-30.35-5.099-5.54-11.272-7.073-15.562-6.697-20.792-1.449-69.646-4.875-99.793-7.035-12.981-.927-23.098-3.717-31.98-6.166l-.039-.011-.151-.041c-3.878-1.067-7.528-2.071-11.093-2.827-5.824-1.235-11.348-1.769-16.991-.631-5.656 1.147-11.287 3.951-17.38 9.157-27.728 21.918-63.835 48.309-78.424 58.766l-.074.067-.068.044c-11.63 10.46-28.652 31.511-48.357 46.072 0 0 6.739 18.716 8.816 35.5 2.077 16.784 5.184 17.5 5.684 39.5s3 38.5-9 78.5c-11.269 37.563-28.5 40-28.5 40 37.5 1.5 63.902 1.409 109.858-41.662 4.243-4.1 23.892-20.125 30.287-25.255 11.454-9.189 15.119-14.692 23.552-20.699 7.269-5.193 15.011-11.434 19.641-16.136.608 4.528 3.008 9.117 5.062 12.277 2.472 2.305 5.016 3.026 9.172 2.893Z"
|
|
14
14
|
}),
|
|
15
|
-
/* @__PURE__ */
|
|
15
|
+
/* @__PURE__ */ u("path", {
|
|
16
16
|
fill: "url(#c)",
|
|
17
17
|
fillRule: "evenodd",
|
|
18
18
|
d: "M558.988 386.387c-4.458-4.962-9.693-6.218-13.027-5.894l-.124.012-.125-.008c-8.099-.566-20.943-1.429-35.389-2.401-22.488-1.512-48.857-3.285-67.245-4.6l.214-2.992c18.389 1.315 44.731 3.086 67.209 4.598 14.378.966 27.175 1.827 35.299 2.393 4.286-.372 10.382 1.279 15.42 6.888 5.077 5.652 8.975 15.197 9.095 30.473 2.761 14.712 7.066 27.199 10.95 38.465 1.335 3.875 2.621 7.605 3.777 11.232 4.5 14.112 7.038 26.692 2.176 39.48l-.024.064-28.904 59.127-.151.163c-.721.775-2.016 1.446-3.468 1.916-1.513.491-3.4.829-5.471.799-3.837-.054-8.318-1.376-12.16-5.317-3.759 3.02-9.217 7.023-14.618 10.206-2.978 1.755-5.983 3.288-8.705 4.263-2.374.85-4.753 1.359-6.763 1.024-8.027 5.163-26.785 16.099-35.313 21.01l-.317.182-.365.016c-2.8.126-6.088-.101-9.244-.906-3.146-.803-6.261-2.208-8.598-4.516-2.374-2.345-3.862-5.546-3.822-9.717.04-4.117 1.563-9.098 5.007-15.114 8.571-14.971 20.411-25.619 30.526-32.931 5.06-3.659 9.698-6.489 13.286-8.607.74-.438 1.429-.84 2.066-1.213.919-.537 1.73-1.012 2.435-1.436.544-.328.99-.606 1.346-.841-2.242-4.159-4.959-10.333-6.535-16.688-1.408-5.679-1.984-11.82-.172-16.784-6.742 1.437-16.148 2.973-25.565 3.575-5.481.35-10.997.386-16.011-.107-4.996-.492-9.596-1.519-13.179-3.36l1.372-2.668c3.104 1.595 7.279 2.567 12.101 3.042 4.802.473 10.146.443 15.525.099 10.76-.688 21.533-2.622 28.148-4.193l3.676-.873-2.077 3.157c-2.762 4.199-2.579 10.64-.906 17.39 1.65 6.654 4.635 13.157 6.875 17.09l.592 1.04-.882.808c-.588.539-1.59 1.177-2.76 1.882-.716.432-1.56.925-2.497 1.473-.636.372-1.315.77-2.027 1.19-3.554 2.098-8.102 4.875-13.054 8.455-9.909 7.164-21.392 17.515-29.68 31.991-3.3 5.764-4.577 10.233-4.61 13.651-.032 3.364 1.137 5.783 2.931 7.555 1.832 1.81 4.398 3.02 7.231 3.743 2.691.687 5.532.91 8.007.83 8.887-5.12 27.855-16.188 35.383-21.081l.57-.371.655.185c1.195.338 3.094.103 5.633-.807 2.473-.886 5.297-2.315 8.193-4.022 5.222-3.077 10.533-6.968 14.207-9.916-1.54-2.103-2.903-4.711-4.005-7.914-3.444-10.007-1.412-23.561 1.874-35.925 2.551-9.597 5.937-18.739 8.357-25.273.637-1.72 1.207-3.259 1.677-4.578-.617-1.919-1.813-4.696-3.395-8.173-.67-1.471-1.408-3.066-2.191-4.759-1.189-2.57-2.481-5.364-3.792-8.282-4.143-9.22-8.617-19.986-11.211-30.211-12.095 4.085-30.926 7.388-47.85 9.173-8.855.934-17.239 1.457-23.923 1.455-3.34-.001-6.283-.134-8.663-.419-2.314-.277-4.305-.72-5.579-1.467l1.519-2.588c.693.407 2.136.803 4.417 1.077 2.217.265 5.032.396 8.307.397 6.546.002 14.819-.512 23.607-1.438 17.608-1.857 37.077-5.349 48.72-9.562l1.585-.573.385 1.641c2.445 10.402 7.071 21.603 11.422 31.286 1.311 2.916 2.582 5.665 3.762 8.214.784 1.695 1.528 3.303 2.215 4.813 1.694 3.723 3.05 6.863 3.684 9.028l.136.464-.16.456c-.52 1.476-1.166 3.22-1.892 5.18-2.419 6.533-5.729 15.469-8.238 24.91-3.279 12.338-5.06 25.101-1.936 34.177 1.221 3.549 2.75 6.197 4.404 8.157 3.412 4.042 7.477 5.297 10.902 5.346 1.727.024 3.288-.26 4.504-.654 1.081-.35 1.761-.744 2.066-.989l28.625-58.556c4.442-11.747 2.208-23.445-2.254-37.44-1.121-3.517-2.383-7.178-3.704-11.008-3.91-11.341-8.334-24.172-11.138-39.18l-.025-.132-.001-.134c-.095-14.879-3.875-23.665-8.328-28.623Z",
|
|
19
19
|
clipRule: "evenodd",
|
|
20
20
|
opacity: .5
|
|
21
21
|
}),
|
|
22
|
-
/* @__PURE__ */
|
|
22
|
+
/* @__PURE__ */ u("path", {
|
|
23
23
|
fill: "url(#d)",
|
|
24
24
|
fillOpacity: .3,
|
|
25
25
|
d: "M561.108 29c5.463 0 9.892 4.3658 9.892 9.7513V274H229V38.7513C229 33.3658 233.429 29 238.892 29h322.216Z"
|
|
26
26
|
}),
|
|
27
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ u("path", {
|
|
28
28
|
fill: "#C9C9C9",
|
|
29
29
|
fillOpacity: .8,
|
|
30
30
|
fillRule: "evenodd",
|
|
31
31
|
d: "M571 274v-7H229v7h342Z",
|
|
32
32
|
clipRule: "evenodd"
|
|
33
33
|
}),
|
|
34
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ u("path", {
|
|
35
35
|
fill: "#fff",
|
|
36
36
|
d: "M229 274h342v200H229z"
|
|
37
37
|
}),
|
|
38
|
-
/* @__PURE__ */
|
|
38
|
+
/* @__PURE__ */ u("path", {
|
|
39
39
|
fill: "#E9E9EB",
|
|
40
40
|
d: "M379.815 438c1.105 0 2 .895 2 2v10c0 1.105-.895 2-2 2h-44c-1.104 0-2-.895-2-2v-10c0-1.105.896-2 2-2h44Zm92-27c1.105 0 2 .895 2 2v9c0 1.105-.895 2-2 2h-136c-1.104 0-2-.895-2-2v-9c0-1.105.896-2 2-2h136Zm-38-27c1.105 0 2 .895 2 2v10c0 1.105-.895 2-2 2h-98c-1.104 0-2-.895-2-2v-10c0-1.105.896-2 2-2h98Zm0-27c1.105 0 2 .895 2 2v10c0 1.105-.895 2-2 2h-98c-1.104 0-2-.895-2-2v-10c0-1.105.896-2 2-2h98Z"
|
|
41
41
|
}),
|
|
42
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ u("rect", {
|
|
43
43
|
width: 34,
|
|
44
44
|
height: 13,
|
|
45
45
|
x: 514.815,
|
|
@@ -47,7 +47,7 @@ var t = (t) => /* @__PURE__ */ e("svg", {
|
|
|
47
47
|
fill: "#E9E9EB",
|
|
48
48
|
rx: 2
|
|
49
49
|
}),
|
|
50
|
-
/* @__PURE__ */
|
|
50
|
+
/* @__PURE__ */ u("rect", {
|
|
51
51
|
width: 34,
|
|
52
52
|
height: 13,
|
|
53
53
|
x: 514.815,
|
|
@@ -55,7 +55,7 @@ var t = (t) => /* @__PURE__ */ e("svg", {
|
|
|
55
55
|
fill: "#E9E9EB",
|
|
56
56
|
rx: 2
|
|
57
57
|
}),
|
|
58
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ u("rect", {
|
|
59
59
|
width: 34,
|
|
60
60
|
height: 13,
|
|
61
61
|
x: 514.815,
|
|
@@ -63,11 +63,11 @@ var t = (t) => /* @__PURE__ */ e("svg", {
|
|
|
63
63
|
fill: "#E9E9EB",
|
|
64
64
|
rx: 2
|
|
65
65
|
}),
|
|
66
|
-
/* @__PURE__ */
|
|
66
|
+
/* @__PURE__ */ u("path", {
|
|
67
67
|
fill: "#F4F4F5",
|
|
68
68
|
d: "M229 474h342v40c0 6.627-5.373 12-12 12H241c-6.627 0-12-5.373-12-12v-40Z"
|
|
69
69
|
}),
|
|
70
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ u("rect", {
|
|
71
71
|
width: 140,
|
|
72
72
|
height: 20,
|
|
73
73
|
x: 252.815,
|
|
@@ -76,7 +76,7 @@ var t = (t) => /* @__PURE__ */ e("svg", {
|
|
|
76
76
|
fillOpacity: .5,
|
|
77
77
|
rx: 2
|
|
78
78
|
}),
|
|
79
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ u("rect", {
|
|
80
80
|
width: 27,
|
|
81
81
|
height: 27,
|
|
82
82
|
x: 522.815,
|
|
@@ -84,7 +84,7 @@ var t = (t) => /* @__PURE__ */ e("svg", {
|
|
|
84
84
|
fill: "#EAF0F6",
|
|
85
85
|
rx: 2
|
|
86
86
|
}),
|
|
87
|
-
/* @__PURE__ */
|
|
87
|
+
/* @__PURE__ */ u("rect", {
|
|
88
88
|
width: 302.152,
|
|
89
89
|
height: 13.6164,
|
|
90
90
|
x: 248.16,
|
|
@@ -93,7 +93,7 @@ var t = (t) => /* @__PURE__ */ e("svg", {
|
|
|
93
93
|
fillOpacity: .5,
|
|
94
94
|
rx: 1.13155
|
|
95
95
|
}),
|
|
96
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ u("rect", {
|
|
97
97
|
width: 302.152,
|
|
98
98
|
height: 13.6164,
|
|
99
99
|
x: 248.16,
|
|
@@ -102,114 +102,114 @@ var t = (t) => /* @__PURE__ */ e("svg", {
|
|
|
102
102
|
fillOpacity: .5,
|
|
103
103
|
rx: 1.13155
|
|
104
104
|
}),
|
|
105
|
-
/* @__PURE__ */
|
|
105
|
+
/* @__PURE__ */ u("path", {
|
|
106
106
|
fill: "#fff",
|
|
107
107
|
d: "M329.649 436.427c3.68 6.486 5.799 21.445 5.799 21.445h-92.787s2.12-14.961 5.799-21.445c3.68-6.485 26.106-12.499 26.106-12.499 1.986 3.534 7.817 6.758 13.786 6.902 6.476.156 13.115-3.068 15.18-6.904 0 0 22.436 6.015 26.117 12.501Z"
|
|
108
108
|
}),
|
|
109
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ u("path", {
|
|
110
110
|
fill: "#AEAEAE",
|
|
111
111
|
d: "M258.815 356c-4.418 0-8 3.587-8 8.012V434c6.876-5.44 23.751-9.973 23.751-9.973 0 3.937 7.736 9.613 13.786 9.714 8.435 0 15.18-5.777 15.18-9.716 0 0 14.738 3.957 22.283 8.915v-68.928c0-4.425-3.581-8.012-8-8.012h-59Z"
|
|
112
112
|
}),
|
|
113
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ u("path", {
|
|
114
114
|
fill: "url(#e)",
|
|
115
115
|
d: "M277.626 418.773v.147c-.04 3.108-2.643 5.444-7.808 7.01 6.224 4.545 12.448 8.18 18.671 8.18 6.223 0 12.447-3.635 18.67-8.18-5.129-1.567-7.732-3.908-7.807-7.021 0-1.181.004-12.691.009-13.872.371.052.34.019 0-.076.01-3.892.027 1.203.05-4.116.023-5.318-22.144-10.077-21.819 4.528.005 1.489.013 11.714.034 13.4Z"
|
|
116
116
|
}),
|
|
117
|
-
/* @__PURE__ */
|
|
117
|
+
/* @__PURE__ */ u("path", {
|
|
118
118
|
fill: "#CDCDCD",
|
|
119
119
|
d: "M277.738 411.629c9.325-.968 18.105 3.068 18.105 3.068s-1.74 9.138-18.105 6.482v-9.55Z"
|
|
120
120
|
}),
|
|
121
|
-
/* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ u("path", {
|
|
122
122
|
fill: "url(#f)",
|
|
123
123
|
d: "M269.964 392.91c1.232-1.943 2.75-.622 3.355.281l.808 8.599c-.034.749-.509 1.228-1.743 1.384-1.542.195-2.54-3.782-2.887-5.266-.348-1.485-1.074-2.569.467-4.998Z"
|
|
124
124
|
}),
|
|
125
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ u("path", {
|
|
126
126
|
fill: "url(#g)",
|
|
127
127
|
d: "M307.008 394.029c-1.214-1.954-2.745-.648-3.359.25l-.889 8.591c.027.749.498 1.232 1.73 1.4 1.54.21 2.576-3.757 2.937-5.239.362-1.481 1.098-2.558-.419-5.002Z"
|
|
128
128
|
}),
|
|
129
|
-
/* @__PURE__ */
|
|
129
|
+
/* @__PURE__ */ u("path", {
|
|
130
130
|
fill: "#fff",
|
|
131
131
|
d: "M306.028 394.716c0 13.008-9.533 23.552-16.974 23.552-8.138 0-16.973-10.544-16.973-23.552 0-11.589.936-23.973 16.973-23.973s16.974 12.116 16.974 23.973Z"
|
|
132
132
|
}),
|
|
133
|
-
/* @__PURE__ */
|
|
133
|
+
/* @__PURE__ */ u("path", {
|
|
134
134
|
fill: "#707070",
|
|
135
135
|
d: "M325.815 432.159V448c0 4.418-3.581 8-8 8h-59c-4.418 0-8-3.582-8-8v-14.752c6.876-5.589 23.5-9.748 23.5-9.748 0 4.044 7.987 9.378 14.037 9.482 8.435 0 14.963-5.435 14.963-9.482 0 0 14.955 3.565 22.5 8.659Z"
|
|
136
136
|
}),
|
|
137
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ u("path", {
|
|
138
138
|
fill: "#C9C9C9",
|
|
139
139
|
fillOpacity: .8,
|
|
140
140
|
fillRule: "evenodd",
|
|
141
141
|
d: "M240.815 24h318c9.389 0 17 7.6112 17 17v473c0 9.389-7.611 17-17 17h-318c-9.388 0-17-7.611-17-17V41c0-9.3888 7.612-17 17-17Zm0 5C234.188 29 229 34.3726 229 41v473c0 6.627 5.188 12 11.815 12h318c6.628 0 12.185-5.373 12.185-12V41c0-6.6274-5.557-12-12.185-12h-318Z",
|
|
142
142
|
clipRule: "evenodd"
|
|
143
143
|
}),
|
|
144
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ u("path", {
|
|
145
145
|
fill: "url(#h)",
|
|
146
146
|
d: "m217.673 295.259-16.131 50.81-13.818 22.397c-4.624 5.653-13.741 19.044-13.22 27.374.652 10.412-2.49 76.411-1.699 90.409.632 11.198-11.848 86.074-16.16 114.816C138.641 720.427 221.067 681.548 237.5 646c13.148-28.439 18.47-65.338 15.816-112.912-1.609-28.845-14.401-55.523-15.73-79.338-1.419-25.445-4.848-60.056.409-74.683 14.3-26.206 5.169-64.457-1.588-78.635-5.406-11.342-14.742-8.175-18.734-5.173Z"
|
|
147
147
|
}),
|
|
148
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ u("path", {
|
|
149
149
|
fill: "url(#i)",
|
|
150
150
|
fillRule: "evenodd",
|
|
151
151
|
d: "m206.963 348.548-14.441 23.406-.263.321c-2.114 2.586-5.32 7.03-7.896 11.731-1.285 2.344-2.346 4.633-3.047 6.698-.722 2.127-.937 3.656-.877 4.616.326 5.214-.215 22.625-.774 40.6-.04 1.277-.08 2.556-.119 3.834-.612 19.753-1.18 39.361-.805 46.012.198 3.494-.571 10.928-1.691 19.748-1.158 9.117-2.802 20.482-4.594 32.352-1.987 13.159-4.103 26.608-5.974 38.502-1.563 9.936-2.955 18.787-3.96 25.479v.005c-4.435 29.4-2.402 47.823 2.465 58.65 4.618 10.273 11.855 13.952 20.008 14.05 8.682.103 18.895-3.921 28.162-10.461 9.249-6.527 16.709-14.967 20.24-22.607 12.522-27.086 16.612-60.757 13.981-107.918-.765-13.706-4.194-27.017-7.771-40.313-.189-.705-.379-1.41-.57-2.115-3.332-12.356-6.719-24.914-7.388-36.91-.222-3.977-.498-8.241-.783-12.651-.611-9.436-1.265-19.538-1.524-28.919-.191-6.927-.176-13.641.239-19.621.41-5.895 1.23-11.472 2.834-15.936l.164-.456.232-.425c6.312-11.568 7.65-26.266 6.365-40.285-1.282-13.972-5.088-26.377-8.132-32.763-1.934-4.059-3.951-4.587-5.084-4.668-1.093-.078-2.296.236-3.337.716l-15.66 49.328Zm10.71-53.289-16.131 50.81-13.818 22.397c-4.624 5.653-13.741 19.044-13.22 27.374.307 4.909-.229 22.172-.798 40.517-.639 20.567-1.319 42.493-.902 49.892.489 8.652-6.85 55.318-12.202 89.348-1.575 10.014-2.977 18.933-3.958 25.468-18.003 119.362 65.69 78.443 82.124 42.895 13.147-28.439 17.202-63.298 14.547-110.872-.843-15.113-4.755-29.631-8.481-43.454-3.385-12.56-6.615-24.546-7.248-35.884-.228-4.091-.508-8.419-.796-12.862-1.502-23.196-3.208-49.546 1.205-61.821 14.3-26.206 5.169-64.457-1.589-78.635-5.406-11.342-14.741-8.175-18.733-5.173Z",
|
|
152
152
|
clipRule: "evenodd"
|
|
153
153
|
})
|
|
154
154
|
]
|
|
155
|
-
}), /* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */
|
|
155
|
+
}), /* @__PURE__ */ u("defs", { children: [
|
|
156
|
+
/* @__PURE__ */ u("linearGradient", {
|
|
157
157
|
id: "b",
|
|
158
158
|
x1: 651,
|
|
159
159
|
x2: 240.5,
|
|
160
160
|
y1: -134,
|
|
161
161
|
y2: 662.5,
|
|
162
162
|
gradientUnits: "userSpaceOnUse",
|
|
163
|
-
children: [/* @__PURE__ */
|
|
163
|
+
children: [/* @__PURE__ */ u("stop", { stopColor: "#fff" }), /* @__PURE__ */ u("stop", {
|
|
164
164
|
offset: 1,
|
|
165
165
|
stopColor: "#fff",
|
|
166
166
|
stopOpacity: 0
|
|
167
167
|
})]
|
|
168
168
|
}),
|
|
169
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ u("linearGradient", {
|
|
170
170
|
id: "c",
|
|
171
171
|
x1: 585.816,
|
|
172
172
|
x2: 451.816,
|
|
173
173
|
y1: 415,
|
|
174
174
|
y2: 658.5,
|
|
175
175
|
gradientUnits: "userSpaceOnUse",
|
|
176
|
-
children: [/* @__PURE__ */
|
|
176
|
+
children: [/* @__PURE__ */ u("stop", {
|
|
177
177
|
stopColor: "#fff",
|
|
178
178
|
stopOpacity: .5
|
|
179
|
-
}), /* @__PURE__ */
|
|
179
|
+
}), /* @__PURE__ */ u("stop", {
|
|
180
180
|
offset: 1,
|
|
181
181
|
stopColor: "#fff"
|
|
182
182
|
})]
|
|
183
183
|
}),
|
|
184
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ u("linearGradient", {
|
|
185
185
|
id: "d",
|
|
186
186
|
x1: 399.499,
|
|
187
187
|
x2: 399.499,
|
|
188
188
|
y1: 29,
|
|
189
189
|
y2: 260,
|
|
190
190
|
gradientUnits: "userSpaceOnUse",
|
|
191
|
-
children: [/* @__PURE__ */
|
|
191
|
+
children: [/* @__PURE__ */ u("stop", {
|
|
192
192
|
offset: .108594,
|
|
193
193
|
stopColor: "#EAEAEA",
|
|
194
194
|
stopOpacity: 0
|
|
195
|
-
}), /* @__PURE__ */
|
|
195
|
+
}), /* @__PURE__ */ u("stop", {
|
|
196
196
|
offset: 1,
|
|
197
197
|
stopColor: "#848484"
|
|
198
198
|
})]
|
|
199
199
|
}),
|
|
200
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ u("linearGradient", {
|
|
201
201
|
id: "e",
|
|
202
202
|
x1: 286.833,
|
|
203
203
|
x2: 286.833,
|
|
204
204
|
y1: 406.261,
|
|
205
205
|
y2: 424.335,
|
|
206
206
|
gradientUnits: "userSpaceOnUse",
|
|
207
|
-
children: [/* @__PURE__ */
|
|
207
|
+
children: [/* @__PURE__ */ u("stop", { stopColor: "#B1B1B1" }), /* @__PURE__ */ u("stop", {
|
|
208
208
|
offset: 1,
|
|
209
209
|
stopColor: "#fff"
|
|
210
210
|
})]
|
|
211
211
|
}),
|
|
212
|
-
/* @__PURE__ */
|
|
212
|
+
/* @__PURE__ */ u("linearGradient", {
|
|
213
213
|
id: "f",
|
|
214
214
|
x1: 273.239,
|
|
215
215
|
x2: 270.299,
|
|
@@ -217,21 +217,21 @@ var t = (t) => /* @__PURE__ */ e("svg", {
|
|
|
217
217
|
y2: 397.798,
|
|
218
218
|
gradientUnits: "userSpaceOnUse",
|
|
219
219
|
children: [
|
|
220
|
-
/* @__PURE__ */
|
|
220
|
+
/* @__PURE__ */ u("stop", {
|
|
221
221
|
offset: .171875,
|
|
222
222
|
stopColor: "#BDBDBD"
|
|
223
223
|
}),
|
|
224
|
-
/* @__PURE__ */
|
|
224
|
+
/* @__PURE__ */ u("stop", {
|
|
225
225
|
offset: .640625,
|
|
226
226
|
stopColor: "#E1E1E1"
|
|
227
227
|
}),
|
|
228
|
-
/* @__PURE__ */
|
|
228
|
+
/* @__PURE__ */ u("stop", {
|
|
229
229
|
offset: 1,
|
|
230
230
|
stopColor: "#DDD"
|
|
231
231
|
})
|
|
232
232
|
]
|
|
233
233
|
}),
|
|
234
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ u("linearGradient", {
|
|
235
235
|
id: "g",
|
|
236
236
|
x1: 303.692,
|
|
237
237
|
x2: 306.626,
|
|
@@ -239,49 +239,49 @@ var t = (t) => /* @__PURE__ */ e("svg", {
|
|
|
239
239
|
y2: 398.914,
|
|
240
240
|
gradientUnits: "userSpaceOnUse",
|
|
241
241
|
children: [
|
|
242
|
-
/* @__PURE__ */
|
|
242
|
+
/* @__PURE__ */ u("stop", {
|
|
243
243
|
offset: .0416667,
|
|
244
244
|
stopColor: "#B5B5B5"
|
|
245
245
|
}),
|
|
246
|
-
/* @__PURE__ */
|
|
246
|
+
/* @__PURE__ */ u("stop", {
|
|
247
247
|
offset: .362488,
|
|
248
248
|
stopColor: "#E2E2E2"
|
|
249
249
|
}),
|
|
250
|
-
/* @__PURE__ */
|
|
250
|
+
/* @__PURE__ */ u("stop", {
|
|
251
251
|
offset: 1,
|
|
252
252
|
stopColor: "#fff"
|
|
253
253
|
})
|
|
254
254
|
]
|
|
255
255
|
}),
|
|
256
|
-
/* @__PURE__ */
|
|
256
|
+
/* @__PURE__ */ u("linearGradient", {
|
|
257
257
|
id: "h",
|
|
258
258
|
x1: 292.5,
|
|
259
259
|
x2: 188.344,
|
|
260
260
|
y1: 69,
|
|
261
261
|
y2: 692.978,
|
|
262
262
|
gradientUnits: "userSpaceOnUse",
|
|
263
|
-
children: [/* @__PURE__ */
|
|
263
|
+
children: [/* @__PURE__ */ u("stop", { stopColor: "#DCDCDC" }), /* @__PURE__ */ u("stop", {
|
|
264
264
|
offset: 1,
|
|
265
265
|
stopColor: "#fff",
|
|
266
266
|
stopOpacity: 0
|
|
267
267
|
})]
|
|
268
268
|
}),
|
|
269
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ u("linearGradient", {
|
|
270
270
|
id: "i",
|
|
271
271
|
x1: 221.315,
|
|
272
272
|
x2: 220.354,
|
|
273
273
|
y1: 366,
|
|
274
274
|
y2: 565.109,
|
|
275
275
|
gradientUnits: "userSpaceOnUse",
|
|
276
|
-
children: [/* @__PURE__ */
|
|
276
|
+
children: [/* @__PURE__ */ u("stop", { stopColor: "#fff" }), /* @__PURE__ */ u("stop", {
|
|
277
277
|
offset: 1,
|
|
278
278
|
stopColor: "#fff",
|
|
279
279
|
stopOpacity: 0
|
|
280
280
|
})]
|
|
281
281
|
}),
|
|
282
|
-
/* @__PURE__ */
|
|
282
|
+
/* @__PURE__ */ u("clipPath", {
|
|
283
283
|
id: "a",
|
|
284
|
-
children: /* @__PURE__ */
|
|
284
|
+
children: /* @__PURE__ */ u("path", {
|
|
285
285
|
fill: "#fff",
|
|
286
286
|
d: "M0 0h800v800H0z",
|
|
287
287
|
transform: "matrix(-1 0 0 1 800 0)"
|
|
@@ -290,4 +290,4 @@ var t = (t) => /* @__PURE__ */ e("svg", {
|
|
|
290
290
|
] })]
|
|
291
291
|
});
|
|
292
292
|
//#endregion
|
|
293
|
-
export {
|
|
293
|
+
export { SvgPassportHorizontalHint as default };
|