@sekyro/react 0.1.0-rc.4 → 0.1.0-rc.6

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +137 -0
  2. package/LICENSE +25 -16
  3. package/README.md +39 -7
  4. package/dist/chunk-3MBJZSJL.js +2 -0
  5. package/dist/chunk-4INDRENU.js +2 -0
  6. package/dist/chunk-4RUZQW5T.js +2 -0
  7. package/dist/chunk-63NUMQST.js +2 -0
  8. package/dist/chunk-65JA6YKG.js +2 -0
  9. package/dist/chunk-ADMDZLPM.js +2 -0
  10. package/dist/chunk-AMOZXMUP.js +2 -0
  11. package/dist/chunk-BENNJ4GV.js +2 -0
  12. package/dist/chunk-BJJZ4MO5.js +2 -0
  13. package/dist/chunk-BRA6F56P.js +2 -0
  14. package/dist/chunk-JAUZKPQO.js +2 -0
  15. package/dist/chunk-P2LX7BBE.js +2 -0
  16. package/dist/chunk-Q232JYNO.js +2 -0
  17. package/dist/chunk-YUNPD6ZB.js +2 -0
  18. package/dist/document-capture-view-SKFDM4AQ.js +2 -0
  19. package/dist/eid-view-WIK6KUTY.js +2 -0
  20. package/dist/email-otp-view-TYSBCGUY.js +2 -0
  21. package/dist/flow-views-PCBR5GYS.js +2 -0
  22. package/dist/fonts/Cairo-OFL.txt +93 -0
  23. package/dist/fonts/Geist-OFL.txt +93 -0
  24. package/dist/fonts/Inter-OFL.txt +93 -0
  25. package/dist/fonts/SekyroCairo-Bold.woff2 +0 -0
  26. package/dist/fonts/SekyroCairo-Regular.woff2 +0 -0
  27. package/dist/fonts/SekyroCairo-SemiBold.woff2 +0 -0
  28. package/dist/fonts/SekyroGeist-Bold.woff2 +0 -0
  29. package/dist/fonts/SekyroGeist-SemiBold.woff2 +0 -0
  30. package/dist/fonts/SekyroInter-Medium.woff2 +0 -0
  31. package/dist/fonts/SekyroInter-Regular.woff2 +0 -0
  32. package/dist/fonts/SekyroInter-SemiBold.woff2 +0 -0
  33. package/dist/index.cjs +1 -2
  34. package/dist/index.d.cts +5 -383
  35. package/dist/index.d.ts +5 -383
  36. package/dist/index.js +1 -2
  37. package/dist/portrait-capture-view-HYOEOAF4.js +2 -0
  38. package/dist/theme-BpOuzcWh.d.cts +456 -0
  39. package/dist/theme-BpOuzcWh.d.ts +456 -0
  40. package/dist/verification/index.cjs +2 -0
  41. package/dist/verification/index.d.cts +524 -0
  42. package/dist/verification/index.d.ts +524 -0
  43. package/dist/verification/index.js +2 -0
  44. package/dist/verification.css +560 -0
  45. package/package.json +24 -13
  46. package/sbom.cdx.json +153 -0
  47. package/dist/index.cjs.map +0 -1
  48. package/dist/index.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,142 @@
1
1
  # @sekyro/react
2
2
 
3
+ ## 0.1.0-rc.6
4
+
5
+ ### Minor Changes
6
+
7
+ - ff0dcc7: Flow model 2026-10-23 (web lane):
8
+
9
+ - `<SekyroVerification>`: one-line implicit consent ("By continuing, you agree to the terms." with a terms link — no photo/video wording), one progress segment per section, the phone-or-email choice (+ "Use another option" under the OTP), the identity summary (portrait from memory as a blob URL, revoked on unmount; masked values left to right inside RTL; confirm / retake), the eID "then a quick live photo" hint (method screen and eID screen), the ICAO tips variant and ICAO coaching for the one-capture live photo, the portrait-only retake notice, and a QR handoff for `mobile_required` when `handoffUrl` is set. The new views and their ar/fr/en copy load on demand (one lazy chunk).
10
+ - `<SekyroFlow>`: the page shell — in-app browser prompt (WhatsApp, Instagram, Facebook, TikTok, … → open in the browser / copy link / continue anyway) and the desktop-to-phone QR of `hostedUrl` (a built-in QR encoder, no new runtime dependency). `isInAppBrowser()` is exported.
11
+ - `<LivenessCapture>`: `tipsSummary` (the spoken summary of custom tips, device voice) and `coach` (host coaching that replaces the guidance line while the camera runs).
12
+ - Step copy: new optional keys (`consent.short`, `consent.termsLink`, `section.*`, `contact.*`, `summary.*`, `capture.tipsIcao.*`, `portrait.retakeOnly`, `portrait.keepCamera`, `handoff.*`, `inApp.*`, `eid.continueHint*`, `session.progressLabel`).
13
+ - e240081: National eID screens (SDK spec §3.2; Houwiyeti in Mauritania) in `@sekyro/react/verification`: the method screen now offers "Verify with Houwiyeti" (generic "Verify with your national eID" without provider details) when the session does, and `<SekyroVerification>` runs the new `<EidStep>` — NNI entry (never asked on an NNI-bound session, which starts by itself once), the 6-digit code from the provider's app with its expiry countdown, resend after the server's spacing and up to its limit, and every `eid_*` verdict with "Verify with my camera instead" where the session allows the camera path. The view and its ar/fr/en copy load lazily (like the email OTP view), so apps without a national eID never download them. `StepStrings` gains the `method.national_eid*` keys and optional `eid.*` / `reasons.eid_*` keys (host overrides win). The 0.1 `<LivenessCapture>` drop-in is unchanged (it never offers the eID).
14
+ - 46905f2: National eID sign-in (SDK spec §3.2; Houwiyeti in Mauritania) in the headless web runner: the `eid_auth` check type, the `national_eid` identity method with `methodChoice.nationalEid`, the `HostedStepView.eid` view and the `eid_*` reasons, and an `eid` plan-runner step whose handle offers `start(identifier?)`, `verify(code)`, `resend()` and `useCamera()`. `@sekyro/react` has no eID screen yet: its method screen leaves `national_eid` out and `<SekyroVerification>` shows the "unsupported" notice when the eID is the only path.
15
+
16
+ **Migration (TypeScript):** these exported unions gained members — `CheckType` (`eid_auth`), `IdentityMethod` (`national_eid`), `CheckReason` (the `eid_*` reasons), `VerificationStep` (a new `kind: "eid"` step). Code that switches over them exhaustively must add an `eid` branch. An invalid eID number rejects with the existing `InvalidInputError("nni", …)`. Nothing changes at runtime until a profile turns the national eID on.
17
+ - 7a3f935: Phone OTP channel choice and the email OTP step.
18
+
19
+ - `@sekyro/web`: the phone OTP step lists the channels the person can choose from (`PhoneOtpSnapshot.channels`, WhatsApp first; `[]` on a session created before channel choice). With more than one, `send({ channel })` needs the person's choice — it is never picked for them — and a channel the step doesn't offer is refused locally with the new `OtpInputError` (`channel`, `required` / `unavailable`). `resendAvailableAt` now follows the server's resend time when the session reports one. New `email_otp` step (`EmailOtpStepHandle`: `send({ email })`, `verify(code)`; a malformed address rejects with `OtpInputError("email", "format")`), shown before the identity-method choice like the phone step. New types: `HostedEmailOtpView`, `EmailOtpInput`, `EmailOtpReason`, the `email_otp` check type and the reasons `otp_channel_unavailable`, `otp_destination_not_allowed`, `otp_destination_unknown`, `otp_rate_limited`, `email_invalid`, `email_disposable`.
20
+ - `@sekyro/react`: `PhoneOtpStep` shows one "Send code by …" button per offered channel (WhatsApp first) and a "Resend by …" button per channel after the server's resend time; sessions without channels keep the single "Send code" button. New `EmailOtpStep` (rendered by `SekyroVerification` for the `email_otp` step); its view and ar/fr/en copy load on demand, so apps without an email check don't download them. New copy keys `otp.chooseChannel`, `otp.sendBy`, `otp.resendBy`, the new `otp.reason_*` keys and `emailOtp.*` (overridable through `strings`).
21
+ - `@sekyro/node`: profile `phone.channels` / `phone.destinations`, `email` (`ProfileEmail`: `emailSource`, `disposable`), `attempts.email`, the `input.email` session anchor and the `email_otp` check type.
22
+ - 0c59c9a: `@sekyro/react/verification`: `<DocumentCapture>` — pick the issuing country (searchable, only the countries your eKYC profile accepts), then the document type, then scan identity cards, residence permits or passports with the rear camera: the photo is taken by itself, a flip animation asks for the other face, and the progress line shows Front · Back. The camera view loads only when a document step is shown.
23
+ - ac69110: `@sekyro/react/verification`: `<PhoneOtpStep>`, `<MethodChoice>` and `<NniEntry>` — the phone OTP, "How do you want to verify?" and national-number steps of the hosted page, accessible in Arabic, French and English.
24
+ - 7a77b9d: `@sekyro/react/verification`: `<SekyroVerification verification={…} locale="fr" />` renders the whole eKYC profile — phone OTP, method choice, national number, document for any country, liveness and face match, and every result screen (policy stops, cooldown, "needs a phone app", no attempts left) — in your theme over the session's branding, with `slots` for header, footer and result and an `onLivenessCaptured` hook that fires before the upload. `<VerificationResultScreen>` is available on its own.
25
+ - d93f378: New entry `@sekyro/react/verification` (with `@sekyro/react/verification.css`) for the profile v2 steps: the ar/fr/en step copy (`enSteps`, `frSteps`, `arSteps`, `resolveSekyroStrings`) and `useVerificationStep(verification)`. The main `@sekyro/react` entry, its strings, theme and stylesheet are unchanged.
26
+ - c9edead: `<SekyroVerification>` matches the native SDKs on the remaining screens. Consent stays flow model v3's one line (no consent screen). The face capture (liveness and the ICAO live photo, whose tips the Sekyro face intro lists) is the Lumière face camera, edge to edge: the oval cut from the ink, a ring of ticks that turns green with the capture while the aqua light runs round it, the instruction above the oval. New optional `onClose(event)` prop: when given, the header ends with a close button (`{ reason: "cancelled" }`) and the result page with "Back to {org}" (`{ reason: "finished", result }`); `VerificationResultScreen` takes an optional `onClose` for the same action. The SDK's fonts (Inter, Inter Display for titles, Cairo for Arabic) ship as woff2 assets beside `verification.css` (`font-display: swap`, `unicode-range`). Also: resending a code is a quiet text action with its countdown; the document intro offers "Change document" when the country has other documents and "Change country" only with several countries; the ID card's landscape glyph; white turn cue; one 2 px read line; the lock and the capture checks in the camera's own green; the reference is one tabular caption line with a copy glyph. In `@sekyro/web`, a card's face is classified on the card itself (an MRZ band in its lower half), so the photo side is no longer filed as the verso. The 0.1 surface (`DEFAULT_THEME`, `styles.css`) is unchanged.
27
+ - c9edead: `<SekyroVerification>` takes the Sekyro identity the Android and iOS SDKs share: the partner's logo (or initials) and name
28
+ over "identity verification", the section progress (flow model v3) drawn as thin bars, the Sekyro brand as the default
29
+ theme (partner branding and the runtime theme still win), six-box one-time code fields, document cards with an icon
30
+ and a subtitle, the camera stages in the Sekyro navy, and a "Verified by Sekyro AI" footer (`slots.footer` replaces it,
31
+ `footer: null` hides it). New `colorScheme` prop: `light` (default), `dark` or `system`; in dark a partner's brand is
32
+ kept only while it stands out from the dark canvas.
33
+ The 0.1 surface (`DEFAULT_THEME`, `styles.css`, `<LivenessCapture>` and the other 0.1 components) is unchanged.
34
+
35
+ **Visible to existing `<SekyroVerification>` integrations.** Without a `theme` prop or session branding the flow now
36
+ draws in the Sekyro brand (it used `DEFAULT_THEME` before) and ends with a "Verified by Sekyro AI" line. To keep your
37
+ current look, pass your colours (`theme={{ colors: … }}`, or set them as the app's branding) and `slots={{ footer: null }}`.
38
+ `verification.css` now loads the SDK's fonts (`./fonts/*.woff2`): your bundler must emit them as assets (esbuild needs
39
+ `loader: { ".woff2": "file" }`; Vite, webpack 5 and Next.js do it by default) and your CSP `font-src` must allow them.
40
+ - fce1604: Web live MRZ (on-device, server-controlled, additive):
41
+
42
+ - `@sekyro/web`: `DocumentCaptureOptions.liveMrz` (`mode`, `assetBaseUrl`, `workerUrl`) and the text-free `mrz` event (`searching` / `reading` / `valid` / `mismatch` / `fallback`, with a format, a coaching hint or a reason — never MRZ text). On a face with an MRZ, the session's `capture.document.liveMrz` tuning lets the on-device reader (the OCR engine in a Web Worker, now with a 494 KB MRZ-only recognizer) take the photo once every hard check digit validates twice in a row; card fronts get a text-layout lock (`capture.document.frontLock`). Every failure is today's capture. `doc_ocr` submissions carry the optional, text-free `deviceRead` hint (`DocOcrInput.deviceRead`, `DocDeviceRead`) when the still confirmation is ready. New static file `core/ocr/worker.bundle.js` (a self-contained OCR worker for static hosting).
43
+ - `@sekyro/react`: `SekyroVerification`'s `documentLiveMrz` and `DocumentCapture`'s `liveMrz` pass the options through; the document view shows the reader's states (ar/fr/en), a band strip and the 2 s "this looks like a passport/card" line.
44
+
45
+ ### Patch Changes
46
+
47
+ - 626104f: Document capture resolution: the scanner asks the opened back camera for up to 4K, takes the full-sensor `ImageCapture` photo where the browser has one (else the native video frame), crops the still to the document (card + 15 % margins, or the passport page estimated from the MRZ band) and encodes the crop at a 2560 / 2240 / 1920 px long edge (1.6 MB / 1.2 MB / 700 KB budgets). A passport MRZ goes from ~630 px to ≥ 1300 px wide where the camera delivers the pixels. `@sekyro/react`'s document stage switches to a 4:3 layout when the phone is held sideways.
48
+
49
+ Focus: the scanner ranks the back cameras after permission and opens the main wide lens (lowest-index Android back camera with continuous AF; iOS "Back Camera"), remembered per browser, falling back to `facingMode`. It applies continuous autofocus where offered, refocuses (single-shot at the document) before the photo, zooms in (≤ 2×) when the camera reports a minimum focus distance beyond the document's fill distance (1.5× on a ≥ 4K track with no focus info), refuses an out-of-focus auto-captured still (`focus_far` coaching, `dcv2.focus_far`), and adds `DocumentCaptureHandle.focusAt(x, y)` for tap-to-focus (wired into `@sekyro/react`'s stage). All feature-detected; no-ops where unsupported.
50
+ - 83c7664: `<SekyroVerification>` sets its titles of 22 px and more (page titles, the result, the camera guidance, the phone and code fields) in Geist, the brand's display face on the website and dashboard, instead of Inter Display. `verification.css` loads `fonts/SekyroGeist-SemiBold.woff2` and `fonts/SekyroGeist-Bold.woff2` (OFL, `fonts/Geist-OFL.txt`); the two Inter Display files are gone, so the fonts beside `verification.css` shrink from about 249 KB to 215 KB. Body text stays Inter, Arabic stays Cairo, and a partner font from the dashboard still replaces the titles' face too. The native SDKs (and the React Native and Flutter wrappers, which render them) ship the same change.
51
+ - 9db49b8: Adds the `nationality_unreadable` document reason: the MRZ nationality (no check digit covers it) could not be read as a country code, nor recovered from a re-read or the printed nationality — retryable with a clearer photo, not billed, and never replaced by the issuing state. `@sekyro/web`: in `DocReason` and the retryable set (the same document side is re-read). `@sekyro/react`: `reasons.nationality_unreadable` copy in ar/fr/en.
52
+ - 9acafe1: NFC chip check (M-nfc). New check type `nfc_chip` (read by the native SDKs only), its reasons (`NfcChipReason`: retryable `chip_read_failed`, `chip_access_denied`, `chip_parse_failed`; final `chip_not_present`, `nfc_unavailable`, `chip_document_mismatch`, `chip_integrity_failed`, `registry_mismatch`, `document_nni_mismatch`, `platform_unsupported`), the error codes `method_not_offered` and `nfc_outcome_not_accepted` (`KNOWN_CODES`), the identity method `document_chip`, the session failure reason `platform_unsupported` and the optional `HostedStepView.nfc` hints (`NfcStepView`). Web behaviour is unchanged: the server skips the chip for web clients or stops the session with `platform_unsupported`; `@sekyro/react`'s method screen never renders the `document_chip` option.
53
+ - 4dd2b68: ICAO `id_document` portrait capture on the web (SDK spec §5.4, M1b): `createPortraitCapture` (strict ICAO gate on the MediaPipe Face Landmarker, lazy-loaded engine, server `capture.icao` tuning), a `portrait` plan-runner step that submits `portrait_icao` and then `face_match` with the portrait, the `portrait_required` hand-over reason, and `<PortraitCapture>` in `@sekyro/react/verification`.
54
+ - 8425e95: Face-match probe binding (SDK spec §4.10): the server matches the face_match probe against face crops of the scored liveness clip. New retryable, billed `face_match` reason `probe_not_from_liveness` (the face image isn't the person in the liveness clip). `@sekyro/web`: in `FaceMatchReason` and the retryable set (the runner re-captures). `@sekyro/react`: ar/fr/en retry copy "Keep your face in the frame the whole time, then try again"; bundle budget 24 → 25 KiB. `@sekyro/node`: `ProbeBindingReason`. No capture or upload change on any platform.
55
+ - e0da6e6: `<SekyroVerification>`: `slots.headerEnd` adds a node (a language menu) at the inline end of the partner header, before the close button; and `livenessProps.slots.stageOverlay` now draws over the full-screen face camera.
56
+ - b758c1e: `<SekyroVerification>`: a step the web cannot run because it reads the document's chip (`unsupported` / `platform_unsupported`) now says "This verification needs a phone app" and names the organisation's app ("{org} asks to read your document's chip. Open {org}'s app on a phone with NFC to continue."), instead of "Update required". New `StepStrings` keys: `needsApp.title`, `needsApp.description`, `needsApp.descriptionNoOrg`.
57
+ - c9edead: `<SekyroVerification>` takes the premium redesign of the native SDKs, so the flow looks and behaves the same on the web: the flow-* type scale; one heading per page with its actions pinned in the thumb zone; the old page leaves before the new one rises in; a thin section progress whose current section is partly filled; white fields with a hairline and a 2px focus ring; the phone number after a fixed 🇲🇷 +222 segment, sendable only once valid; full-width code boxes (digit pop, caret, a shake on a wrong code) that send the code on its last digit; one tap on a country or a document chooses it; the camera intros' line marks; the Lumière document camera edge to edge (brackets that follow the card, steadied like the native ScanPresenter; the lock trace; the aqua read line; a light blur with the photo sharp in the slot while it is read and "you can put it down"; the turn cue under the slot; the captured faces in the tray); the face intro; the outcome mark drawn in light with a tap-to-copy reference. The 0.1 surface (`DEFAULT_THEME`, `styles.css`) is unchanged.
58
+ - 58c18a4: The `@sekyro/web` peer range is now `^0.1.0-rc.8 || ^0.2.0-rc.0` (was `^0.1.0-rc.7 || ^0.2.0-rc.0`): `@sekyro/react/verification` needs the step runner, `DocumentCapture` (`warmDocumentCapture`), `isValidNni` and `acceptedIssuers`, first released in `@sekyro/web` 0.1.0-rc.8. Upgrade `@sekyro/web` to 0.1.0-rc.8 or later together with this release; the main `@sekyro/react` entry is otherwise unchanged.
59
+ - f316221: The `@sekyro/web` peer range is widened to `^0.1.0-rc.7 || ^0.2.0-rc.0`. The next `@sekyro/web` release candidate (0.1.0-rc.8, with the step runner and DocumentCapture) is already inside the old range; the wider range only keeps a later 0.2 line installable next to this package. Nothing in `@sekyro/react` changes.
60
+ - 8425e95: Returning-user sessions (profile v2 step 5): `HostedSessionView.returning` and the optional `Verification.returning()` tell the host the session only confirms a known person (liveness + face match against their stored photo); `<LivenessCapture>` opens with "Confirm it's you" (ar/fr/en) unless the host renders its own header.
61
+ - 45f639f: Licence: the SDKs are now under the Sekyro AI SDK License of Ibtikar Technologies, Inc. (https://sekyro.ai/en/legal/sdk-license, also in French and Arabic). `package.json#license` is `SEE LICENSE IN LICENSE`, and each package's `LICENSE` summarises the licence and links to it. `@sekyro/web` now also ships `THIRD-PARTY-NOTICES.txt` with the MIT notice of the bundled scanic document detector and the MIT/NCSA notice of the Emscripten glue in its OCR worker.
62
+ - bc29977: Selfie ICAO policy: on a session whose selfie is checked with the `selfie` ICAO profile, the one-capture live photo shows the ICAO tips without the background tip, under the standard tips title (it is not an ID photo), and speaks those tips. ID-document sessions are unchanged.
63
+ - Updated dependencies [b81288e]
64
+ - Updated dependencies [d0c4f27]
65
+ - Updated dependencies [3438e10]
66
+ - Updated dependencies [e82324a]
67
+ - Updated dependencies [c9edead]
68
+ - Updated dependencies [f0ba853]
69
+ - Updated dependencies [626104f]
70
+ - Updated dependencies [0f19e99]
71
+ - Updated dependencies [76174c8]
72
+ - Updated dependencies [67a6be3]
73
+ - Updated dependencies [c9edead]
74
+ - Updated dependencies [650d70d]
75
+ - Updated dependencies [6571361]
76
+ - Updated dependencies [ff0dcc7]
77
+ - Updated dependencies [68b5df5]
78
+ - Updated dependencies [4c1aa5b]
79
+ - Updated dependencies [273d2ce]
80
+ - Updated dependencies [46905f2]
81
+ - Updated dependencies [9db49b8]
82
+ - Updated dependencies [6420611]
83
+ - Updated dependencies [9acafe1]
84
+ - Updated dependencies [2055ae5]
85
+ - Updated dependencies [9e27401]
86
+ - Updated dependencies [7a3f935]
87
+ - Updated dependencies [723039c]
88
+ - Updated dependencies [4dd2b68]
89
+ - Updated dependencies [471d833]
90
+ - Updated dependencies [8425e95]
91
+ - Updated dependencies [c9edead]
92
+ - Updated dependencies [8425e95]
93
+ - Updated dependencies [a3689e4]
94
+ - Updated dependencies [45f639f]
95
+ - Updated dependencies [c9edead]
96
+ - Updated dependencies [bc29977]
97
+ - Updated dependencies [4e6bfb8]
98
+ - Updated dependencies [69638fa]
99
+ - Updated dependencies [5eec558]
100
+ - Updated dependencies [fce1604]
101
+ - Updated dependencies [bdcd56e]
102
+ - Updated dependencies [426e180]
103
+ - Updated dependencies [2f9e980]
104
+ - Updated dependencies [b4c8465]
105
+ - Updated dependencies [225aeea]
106
+ - @sekyro/web@0.1.0-rc.8
107
+
108
+ ## 0.1.0-rc.5
109
+
110
+ ### Minor Changes
111
+
112
+ - 06ea302: Org and app branding from the Sekyro AI dashboard.
113
+
114
+ - `@sekyro/web`: `HostedSessionView.branding` (`HostedBranding`: `logoUrl`, `colors`, `radius`, `fontFamily`, all optional) carries only the branding set in the dashboard, merged per field (app over org). Fields nobody set are absent (keep your defaults for them), and `branding` itself is absent when nothing is set or on older APIs.
115
+ - `@sekyro/react`: `brandingToTheme(view.branding)` maps it onto a `SekyroTheme`, and `mergeThemes(...)` combines themes left to right. Pass your own theme last so it still wins: `mergeThemes(brandingToTheme(view.branding), myTheme)`. Integrations that ignore it keep the default theme.
116
+
117
+ ### Patch Changes
118
+
119
+ - 4e7a4a3: Brand: the product is now **Sekyro AI** — package descriptions, READMEs, LICENSE text and the `@sekyro/node` configuration error messages say "Sekyro AI". No API change: package names, the `Sekyro` class, exports and header names are unchanged.
120
+ - 1b6bef2: Profile v2 policy reasons, round 2. New eligibility reason `age_unverifiable` (the app sets a minimum age but the birth date could not be read — `doc_ocr`: retryable with a clearer photo; `population_registry`: final). `failureReason` is widened to every policy reason a session can end on: the session-level reasons plus `nationality_not_allowed`, `underage`, `document_type_not_accepted`, `document_nni_mismatch` and `age_unverifiable`. `@sekyro/web`: `PolicyFailureReason` widened, `age_unverifiable` in `DocReason` / `PopulationReason` / `RETRYABLE_REASONS`. `@sekyro/react`: ar/fr/en copy for `age_unverifiable`. `@sekyro/node`: `EligibilityReason` gains `age_unverifiable`; new `PolicyFailureReason` type used by `Session.failureReason` and the `session.failed` webhook data.
121
+ - 1b6bef2: Profile v2 policy reasons. `@sekyro/web`: the eligibility check reasons `document_type_not_accepted` (retryable), `nationality_not_allowed` and `underage`; `SessionFailureReason` (`location_not_allowed`, `anonymizer_blocked`); `HostedSessionView.failureReason` and `acceptedDocumentTypes`. `@sekyro/react`: ar/fr/en copy for the five reasons. `@sekyro/node`: `SessionFailureReason`, `EligibilityReason`, and `failureReason` on `Session` and the `session.failed` webhook data.
122
+ - 13d512f: Profile v2 step 3: identity-method choice, document-NNI registry submit, matching reasons, `subject` input. `@sekyro/web`: `IdentityMethod`, `MethodChoiceView` and `HostedSessionView.methodChoice`; `HostedStepView.attemptsExhausted` / `nniFromDocument` (and `SessionStepView.attemptsExhausted`); `HostedClient.selectMethod()` (`POST /hosted/method`); error codes `method_required` / `method_locked` / `document_nni_mismatch` (409 when a typed NNI differs from the document's); matching reasons `name_mismatch`, `birth_date_mismatch`, `nationality_mismatch` (doc_ocr + population_registry) and `document_number_mismatch` (doc_ocr) as `MatchReason`. The headless runner stops on a pending choice (`unavailable` / `method_required`, `on('method')`), adds `verification.methodChoice()` / `selectMethod()`, and submits the registry with an empty input when the document gave the NNI. `@sekyro/react`: ar/fr/en copy for the four reasons and the method screen; `<LivenessCapture>` handles the method step while the session waits on the choice: it offers only the methods it can run (the national number — it has no document capture) and selects it without a screen when it is the only one left. `@sekyro/node`: `CreateSessionInput.subject` (`SessionSubjectInput`), `CreateSessionInput.identityMethod` and `sessions.selectMethod(id, method)` (`POST /sessions/:id/method`, `IdentityMethod`) so partners can choose the identity method of an optional-document session, `subjectId` / `externalRef` / `subjectConflict` on `Session` and session webhooks, `SessionStep.attemptsExhausted`, `MatchReason`, and the `subject.updated` webhook data (`{ subjectId, sessionId, status, outcome }`).
123
+ - acbf409: Profile v2 step 4: decision mode, desktop handoff, device stops, per-session profile overrides. `@sekyro/web`: decision-mode reasons `liveness_inconclusive`, `mobile_required`, `match_inconclusive`, `document_authenticity` (`DecisionReason`; the inconclusive three are retryable) and the registered `uncalibrated_capture_channel`; session failure reasons `capture_tampered`, `device_velocity_exceeded`, `device_cooldown`; `HostedStepView.requiresMobile` and `HostedSessionView.retryAfter`; the error code `inference_unavailable` (503, request-level, with `retryAfterSeconds` from `Retry-After` or the body). The headless runner retries `inference_unavailable` up to 3 times after `retryAfterSeconds` (default 10 s) under a fresh idempotency key and a fresh attestation, emitting `on('busy')` for each retry, then surfaces `unavailable / inference_unavailable`; it never captures a `requiresMobile` liveness step on desktop (`unavailable / mobile_required`, nothing uploaded) and adds `verification.mobileRequired()`; a `device_cooldown` result carries `retryAfter`. `@sekyro/react`: ar/fr/en coaching for the inconclusive reasons, "Continue on your phone" instead of the camera when liveness needs a phone, a "busy, trying again" notice, the device stop copy (the cooldown says when to try again — `retryAfterTime()`), no retry button for stops or `mobile_required`; bundle budget 23 → 24 KiB. `@sekyro/node`: `CreateSessionInput.profile` (`EkycProfileOverride`, a deep-partial of `EkycProfileSettings`; unknown keys are rejected server-side, widening answers `403 override_widens_profile` unless the app allows it), `Session.overriddenFields` / `riskSignals` / `retryAfter` (`overriddenFields` and `riskSignals` also on the session lifecycle webhooks), `DecisionReason`, the three device stops in `SessionFailureReason`, and the `subject.suspicious_activity` webhook data (`{ subjectId, sessionId, count }`).
124
+ - c3699fd: Add the `document_nni_mismatch` reason copy (en/fr/ar): the document belongs to a different person than the one the verification was created for.
125
+ - 58e220c: Published bundles are now minified and no longer include source maps. The public API and types are unchanged.
126
+ - Updated dependencies [4e7a4a3]
127
+ - Updated dependencies [fa95c41]
128
+ - Updated dependencies [d321707]
129
+ - Updated dependencies [c3699fd]
130
+ - Updated dependencies [c3699fd]
131
+ - Updated dependencies [1b6bef2]
132
+ - Updated dependencies [1b6bef2]
133
+ - Updated dependencies [13d512f]
134
+ - Updated dependencies [acbf409]
135
+ - Updated dependencies [b230694]
136
+ - Updated dependencies [06ea302]
137
+ - Updated dependencies [58e220c]
138
+ - @sekyro/web@0.1.0-rc.7
139
+
3
140
  ## 0.1.0-rc.4
4
141
 
5
142
  ### Minor Changes
package/LICENSE CHANGED
@@ -1,20 +1,29 @@
1
- Sekyro SDK — Proprietary License
1
+ Sekyro AI SDK License (proprietary)
2
2
 
3
- Copyright (c) 2026 Ibtikar Technologies. All rights reserved.
3
+ Copyright (c) 2026 Ibtikar Technologies, Inc. All rights reserved.
4
4
 
5
- This software (the "SDK") is proprietary to Ibtikar Technologies. Use is
6
- permitted only under a Sekyro customer agreement with Ibtikar Technologies, and
7
- only to integrate the customer's own applications with the Sekyro
8
- identity-verification service. For that purpose you may install the SDK
9
- from the public npm registry and run it unmodified.
5
+ This SDK is proprietary software of Ibtikar Technologies, Inc., licensed
6
+ only under the Sekyro AI SDK License:
7
+ https://sekyro.ai/en/legal/sdk-license
8
+ (in French: https://sekyro.ai/fr/legal/sdk-license,
9
+ in Arabic: https://sekyro.ai/ar/legal/sdk-license).
10
10
 
11
- No other right or license, express or implied, is granted. You may not
12
- modify, reverse-engineer, redistribute, sublicense, resell or create
13
- derivative works of the SDK, nor remove or alter this notice. The source
14
- code is published for transparency (build provenance, security review); its
15
- publication grants no additional rights.
11
+ In short, and subject to the full license:
16
12
 
17
- THE SDK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED. TO THE EXTENT PERMITTED BY LAW, IBTIKAR TECHNOLOGIES SHALL NOT BE
19
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM THE USE OF THE
20
- SDK, EXCEPT AS PROVIDED IN THE APPLICABLE CUSTOMER AGREEMENT.
13
+ - You may use the SDK only with a Sekyro AI account, a customer agreement
14
+ with Ibtikar Technologies, Inc. and valid API keys, to integrate the
15
+ Sekyro AI services into your own applications. You may distribute it to
16
+ your end users only as embedded in those applications.
17
+ - You may not use it with another identity verification provider, modify it
18
+ beyond the configuration and theming it exposes, reverse engineer,
19
+ decompile or disassemble it (except where the law expressly allows it),
20
+ circumvent its security, attestation, license checks or usage metering,
21
+ or distribute or sublicense it on its own.
22
+ - Open-source components keep their own licenses. See the third-party
23
+ notices shipped with this SDK.
24
+ - The SDK is provided "as is", without warranty, except as your customer
25
+ agreement provides. The license is governed by the laws of the State of
26
+ Delaware, USA. If this license and your customer agreement conflict,
27
+ the customer agreement prevails.
28
+
29
+ Questions: contact@sekyro.ai
package/README.md CHANGED
@@ -1,13 +1,11 @@
1
1
  # @sekyro/react
2
2
 
3
- React component for [Sekyro](https://sekyro.ai) liveness capture: the hosted page's
3
+ React component for [Sekyro AI](https://sekyro.ai) liveness capture: the hosted page's
4
4
  capture UI (`<LivenessCapture />`), extracted onto the public `@sekyro/web` API with
5
5
  no private design-system or framework dependency. Themeable through CSS variables,
6
6
  ar / fr / en built in, RTL-safe (logical CSS only), WCAG AAA defaults.
7
7
 
8
- > Status: `0.1.0-rc.0`, still `private` — the public npm release is wired in a later
9
- > task (Changesets + Trusted Publishing). Sekyro's own hosted page dogfoods it via a
10
- > `file:` link.
8
+ > Release candidate (`npm i @sekyro/react@next @sekyro/web@next`). Sekyro AI's own hosted page dogfoods it.
11
9
 
12
10
  ## Install
13
11
 
@@ -15,7 +13,7 @@ ar / fr / en built in, RTL-safe (logical CSS only), WCAG AAA defaults.
15
13
  npm install @sekyro/react @sekyro/web react react-dom
16
14
  ```
17
15
 
18
- Peer dependencies: `react >=18.2`, `react-dom >=18.2`, `@sekyro/web ^0.1.0-rc.0`.
16
+ Peer dependencies: `react >=18.2`, `react-dom >=18.2`, `@sekyro/web ^0.1.0-rc.8 || ^0.2.0-rc.0`.
19
17
  No other runtime dependencies.
20
18
 
21
19
  ## Usage
@@ -111,11 +109,11 @@ switch toggle it; the viewer's choice persists in `localStorage`.
111
109
  | `VoiceOptions` | Default | Notes |
112
110
  |---|---|---|
113
111
  | `defaultEnabled?` | `true` | Used when the viewer has no stored preference. |
114
- | `clips?` | verification mode: Sekyro clips from the session (add `https://assets.sekyro.ai` to `media-src`); capture-only: none | `VoiceClipSource`: a resolver `(key, locale) => url \| null` **or** a map `{ [locale]: { [voiceKey]: url } }` (e.g. delivered by your backend — pass a new object to change it). Yours always wins over the Sekyro clips. A missing URL or a throwing resolver = no clip → device voice. |
112
+ | `clips?` | verification mode: Sekyro AI clips from the session (add `https://assets.sekyro.ai` to `media-src`); capture-only: none | `VoiceClipSource`: a resolver `(key, locale) => url \| null` **or** a map `{ [locale]: { [voiceKey]: url } }` (e.g. delivered by your backend — pass a new object to change it). Yours always wins over the Sekyro AI clips. A missing URL or a throwing resolver = no clip → device voice. |
115
113
  | `speechFallback?` | `true` | `false`, or the locales where the device voice may speak. A device with no voice for the language stays silent rather than read Arabic in a French voice. |
116
114
  | `storageKey?` | `"sekyro.voiceGuidance"` | `null` = do not persist. |
117
115
 
118
- **Sekyro clips.** In verification mode the component speaks the recorded
116
+ **Sekyro AI clips.** In verification mode the component speaks the recorded
119
117
  ar/fr clip set that arrives with the session (`verification.voiceClips()`),
120
118
  served from `https://assets.sekyro.ai` — a page with a Content-Security-Policy
121
119
  must allow that origin in `media-src`. Until the set arrives, when the session
@@ -184,6 +182,40 @@ Keys follow the hosted message catalog (`capture.*`, `fcv2.err.*`, `fcv3.*`,
184
182
  - Inline SVG icons only; no emoji; logical CSS properties only (`scripts/check-css.mjs`
185
183
  fails the build on any physical `left`/`right`).
186
184
 
185
+ ## Entries: `@sekyro/react` and `@sekyro/react/verification`
186
+
187
+ The main entry is the 0.1 liveness component above. The profile v2 steps
188
+ (`<SekyroVerification>`, `<PhoneOtpStep>`, `<MethodChoice>`, `<NniEntry>`,
189
+ `<DocumentCapture>`, `<VerificationResultScreen>`) live on a second entry,
190
+ `@sekyro/react/verification`, with its own stylesheet
191
+ (`import "@sekyro/react/verification.css"` next to `styles.css`). It needs
192
+ `@sekyro/web` 0.1.0-rc.8 or later (the plan runner).
193
+
194
+ `verification.css` loads the SDK's fonts (subset Inter, Geist and Cairo,
195
+ woff2, OFL) from `fonts/` beside it: your bundler emits them as assets (allow
196
+ them in your CSP `font-src`); they load only for the text that needs them and
197
+ never block it (`font-display: swap`). A partner font from the dashboard
198
+ branding or `theme.fontFamily` still wins.
199
+
200
+ Pass `onClose` to `<SekyroVerification>` to take the person back to your page:
201
+ the header then ends with a close button (`{ reason: "cancelled" }`) and the
202
+ result page with "Back to {org}" (`{ reason: "finished", result }`). Consent is
203
+ the one line over the first step; the runner records it on the person's first
204
+ action.
205
+
206
+ **Use the ESM build (`import`).** In ESM both entries import one shared copy of
207
+ the common code (theme, strings, `<LivenessCapture>`), and the document camera
208
+ view is a separate chunk loaded only when a document step shows. The CJS build
209
+ (`require`) has no code splitting: each entry is a self-contained bundle with
210
+ its **own copy** of the shared modules, so nothing module-level is shared
211
+ between `@sekyro/react` and `@sekyro/react/verification` (for example, a
212
+ `SekyroThemeProvider` or `<LivenessCapture>` imported from one entry is a
213
+ different component from the one the other entry renders), the camera view is
214
+ inlined, and the code is downloaded twice if you import both. The theme itself
215
+ is plain CSS variables on `.sekyro-root`, so a provider from either entry still
216
+ themes both, but every bundler partners use (Next, Vite, webpack 5, esbuild)
217
+ resolves the ESM build by default, so keep it that way.
218
+
187
219
  ## Scripts
188
220
 
189
221
  `npm test` (CSS lint + vitest: behaviour, jest-axe per state × ar/fr, contrast, RTL
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{a as C}from"./chunk-Q232JYNO.js";import{e as S,f as I}from"./chunk-63NUMQST.js";import{a as m}from"./chunk-4RUZQW5T.js";import{useLayoutEffect as L,useRef as P,useState as z}from"react";import{jsx as s,jsxs as y}from"react/jsx-runtime";var x=72;function F(n,r){let t=n*.72,o=t*1.32;return{cx:n/2,cy:(r-o)/2.1+o/2,a:t/2,b:o/2}}m(F,"faceOval");function H({cx:n,cy:r,a:t,b:o}){return Array.from({length:x},(M,f)=>{let p=-Math.PI/2+f/x*2*Math.PI,c=Math.cos(p),d=Math.sin(p),h=n+t*c,k=r+o*d,v=Math.hypot(o*c,t*d),u=o*c/v,a=t*d/v,l=m(e=>Math.round(e*10)/10,"r");return`M${l(h+u*16)} ${l(k+a*16)}L${l(h+u*28)} ${l(k+a*28)}`})}m(H,"ticks");function E({video:n,instruction:r,note:t,busy:o,progress:M,still:f,overlay:p,onClose:c,closeLabel:d,live:h=!0,children:k,testId:v}){S(h);let u=P(null),[a,l]=z({w:0,h:0});L(()=>{let b=u.current;if(b===null)return;let R=m(()=>l({w:b.clientWidth,h:b.clientHeight}),"measure");if(R(),typeof ResizeObserver>"u")return;let O=new ResizeObserver(R);return O.observe(b),()=>O.disconnect()},[]);let e=F(a.w,a.h),$=a.w>0?H(e):[],N=Math.round(Math.min(1,Math.max(0,M))*x),w=e.cy-e.b,i=Math.max(e.a,e.b)+40,g=70*Math.PI/180;return s("section",{className:"sekyro-lm sekyro-fc","aria-label":r,"data-testid":v,children:y("div",{ref:u,className:"sekyro-lm-stage",children:[n,f?s("img",{className:"sekyro-lm-video sekyro-fc-still",src:f,alt:""}):null,p,a.w>0?y("svg",{className:"sekyro-lm-overlay",viewBox:`0 0 ${a.w} ${a.h}`,"aria-hidden":"true",focusable:"false",children:[y("defs",{children:[y("linearGradient",{id:"sekyro-fc-fade",gradientUnits:"userSpaceOnUse",x1:e.cx-i*Math.sin(g),y1:e.cy,x2:e.cx,y2:e.cy,children:[s("stop",{offset:"0",className:"sekyro-fc-fade",stopOpacity:"0"}),s("stop",{offset:"1",className:"sekyro-fc-fade"})]}),s("mask",{id:"sekyro-fc-light",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:a.w,height:a.h,children:s("path",{className:"sekyro-fc-sweep",style:{transformOrigin:`${e.cx}px ${e.cy}px`},d:`M${e.cx} ${e.cy}L${e.cx-i*Math.sin(g)} ${e.cy-i*Math.cos(g)}A${i} ${i} 0 0 1 ${e.cx} ${e.cy-i}Z`,fill:"url(#sekyro-fc-fade)"})})]}),s("path",{className:"sekyro-fc-scrim",fillRule:"evenodd",d:`M0 0H${a.w}V${a.h}H0Z M${e.cx-e.a} ${e.cy}a${e.a} ${e.b} 0 1 0 ${2*e.a} 0a${e.a} ${e.b} 0 1 0 ${-2*e.a} 0Z`}),s("ellipse",{className:"sekyro-fc-rim",cx:e.cx,cy:e.cy,rx:e.a,ry:e.b}),s("path",{className:"sekyro-fc-ticks",d:$.join("")}),N>0?s("path",{className:"sekyro-fc-ticks is-done",d:$.slice(0,N).join("")}):null,N<x?s("path",{className:"sekyro-fc-ticks is-light",d:$.join(""),mask:"url(#sekyro-fc-light)"}):null]}):null,s("div",{className:"sekyro-lm-instruction sekyro-fc-instruction",style:{insetBlockStart:w-80},children:s("div",{role:"status","aria-live":"polite",children:s(I,{swapKey:r,className:"sekyro-lm-line",children:r})})}),t?y("p",{className:"sekyro-lm-under sekyro-lm-note",style:{insetBlockStart:w+2*e.b+48},children:[o?s("span",{className:"sekyro-lm-spinner","aria-hidden":"true"}):null,s("span",{children:t})]}):null,y("div",{className:"sekyro-lm-controls",children:[s("div",{className:"sekyro-lm-bar",children:c!==void 0?s("button",{type:"button",className:"sekyro-glass","aria-label":d,onClick:c,children:s(C,{name:"close"})}):null}),k]})]})})}m(E,"FaceCamera");export{E as a};
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{a as t}from"./chunk-4RUZQW5T.js";import{useEffect as u,useState as s}from"react";function f(e){let[n,o]=s(()=>Date.now());return u(()=>{if(!e)return;let r=setInterval(()=>o(Date.now()),1e3);return()=>clearInterval(r)},[e]),n}t(f,"useNow");export{f as a};
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ var p=Object.defineProperty;var r=(e,t)=>p(e,"name",{value:t,configurable:!0});import{forwardRef as l}from"react";import{jsx as d}from"react/jsx-runtime";var y=l(r(function({kind:t="primary",full:a=!1,className:n,type:o,...s},c){let i=["sekyro-btn",`sekyro-btn--${t}`];return a&&i.push("sekyro-btn--full"),n!==void 0&&i.push(n),d("button",{ref:c,type:o??"button",className:i.join(" "),...s})},"Button"));var u={"capture.start":"Start camera","capture.recordAgain":"Start a new attempt","capture.switchCamera":"Switch camera","capture.preparing.title":"Preparing secure capture…","capture.checking":"We're checking your identity…","capture.checkingHint":"This usually takes a few seconds — keep this page open","capture.securityNote":"Your images are encrypted and used only for this verification","capture.cameraOff":"Camera off","capture.previewAlt":"Preview of the captured image of your face","capture.retryCoaching.title":"That attempt didn't work — a few adjustments will help:","capture.retryCoaching.light":"Find good lighting — light on your face, not behind you","capture.retryCoaching.eyeLevel":"Hold your phone at eye level","capture.retryCoaching.head":"Look straight at the camera and keep your head upright","capture.attemptsRemaining.one":"{count} attempt remaining","capture.attemptsRemaining.other":"{count} attempts remaining","common.retry":"Try again","fcv2.err.permission":"Allow camera access in your browser settings (the camera icon in the address bar), then try again","fcv2.err.notfound":"No camera detected — connect or enable a camera, then try again","fcv2.err.inuse":"Another app is using the camera — close it, then try again","fcv2.err.insecure":"The camera needs a secure connection (HTTPS) — reopen this page over HTTPS","fcv2.err.unsupported":"Your browser cannot capture in a supported format — open this page in a recent browser such as Chrome or Safari","fcv2.err.generic":"The camera is unavailable — try again, or contact support if it keeps failing","fcv3.no_face":"We can't see your face — hold the phone in front of you","fcv3.come_closer":"Bring the phone a little closer","fcv3.move_back":"Move the phone a little farther away","fcv3.center_face":"Center your face in the circle","fcv3.straighten":"Hold your head straight","fcv3.more_light":"Find a brighter spot — light your face","fcv3.too_bright":"Too much light — move out of direct light","fcv3.hold_still":"Perfect — hold still","fcv3.steady_camera":"Hold the phone steady","reasons.no_face":"No face could be detected during the check","reasons.media_unreadable":"The submitted capture could not be read","reasons.clip_too_short":"The capture was too short","reasons.spoof_detected":"The liveness check could not confirm a live person in front of the camera","reasons.review_band":"The automatic check was not conclusive, so it was sent to human review","reasons.nni_not_found":"The national identification number was not found in the civil registry","reasons.nni_invalid":"The national identification number is not a valid 10-digit NNI","reasons.registry_unavailable":"The civil registry could not be reached to confirm the NNI","reasons.result_from_cache":"The registry check was confirmed from a recent copy of the registry","reasons.no_face_source":"No face could be detected in the selfie photo","reasons.no_face_reference":"No reference photo was available to compare your selfie against — the requester needs to resolve this, so retaking your selfie will not help","reasons.low_quality_reference":"The reference photo on file was not clear enough to compare against","reasons.below_threshold":"The selfie did not match the photo on the identity document closely enough","reasons.side_missing":"One side of the identity document was not submitted","reasons.mrz_checksum_failed":"The machine-readable zone of the document could not be validated","reasons.unreadable":"The document photo was not clear enough to read","reasons.expired_document":"The identity document has expired","reasons.authenticity_review":"The document was sent to human review to confirm its authenticity","reasons.registry_mismatch":"The document's details did not match the civil registry — a reviewer will check","reasons.document_nni_mismatch":"This document belongs to a different person than the one this verification was created for","reasons.otp_mismatch":"The verification code did not match the one we sent","reasons.otp_expired":"The verification code expired before it was entered","reasons.otp_send_failed":"We could not send a verification code to your phone","reasons.uncalibrated_capture_channel":"Desktop/webcam captures are not yet auto-decided — your verification went to human review","reasons.location_not_allowed":"Verification isn't available in your region.","reasons.anonymizer_blocked":"Turn off your VPN or proxy, then open the link again.","reasons.nationality_not_allowed":"This service can't verify this document. Contact the organization for other options.","reasons.document_type_not_accepted":"This type of document isn't accepted. Choose another document.","reasons.underage":"You don't meet the minimum age for this service.","reasons.age_unverifiable":"We couldn't read your date of birth. Take a clearer photo of your document.","reasons.nationality_unreadable":"We couldn't read your nationality. Take a clearer photo of your document.","reasons.name_mismatch":"The details don't match the information the organization has. Contact the organization.","reasons.birth_date_mismatch":"The details don't match the information the organization has. Contact the organization.","reasons.nationality_mismatch":"The details don't match the information the organization has. Contact the organization.","reasons.document_number_mismatch":"The details don't match the information the organization has. Contact the organization.","reasons.liveness_inconclusive":"Let's try again: face a light source and hold still.","reasons.match_inconclusive":"We couldn't confirm it's you. Try again in good light, without glasses.","reasons.subject_revoked":"The identity on file for this check is no longer available — the requester needs to run a full verification, so retrying will not help","reasons.probe_not_from_liveness":"Keep your face in the frame the whole time, then try again.","reasons.document_authenticity":"Use the original card, not a photo or a copy, and avoid reflections.","reasons.mobile_required":"Continue on your phone to take the selfie.","reasons.capture_tampered":"We couldn't verify this capture. Use your phone's built-in camera, without screen recording or camera apps.","reasons.device_velocity_exceeded":"This device can't be used for another verification right now. Contact the organization.","reasons.device_cooldown":"Too many attempts. Try again later.","cooldown.retryIn":"Too many attempts. Try again {time}.","cooldown.retryAt":"Too many attempts. Try again after {time}.","capture.busy":"Our service is busy. Trying again…","errors.inference_unavailable":"Try again in a moment.","method.title":"How do you want to verify?","method.description":"Choose one option to continue","returning.title":"Confirm it's you","returning.description":"You verified your identity before. One short face capture confirms it's still you.","method.national_number":"Enter my national number (NNI)","method.document_photo":"Photo of my document","errors.method_required":"Choose how you want to verify, then continue","errors.attestation_invalid":"We could not confirm this browser session is genuine — reload the page and try again","errors.network_error":"We could not reach the verification service — check your internet connection and try again","errors.session_expired":"This verification session has expired — ask the organisation that sent you here for a new link","errors.nni_unbound":"This link was created without your national ID number — ask the requester for a new link","capture.tips.title":"For a successful check:","capture.tips.light":"Face a light source — avoid strong light behind you","capture.tips.uncover":"Uncover your face — no glasses, mask or hand in front of it","capture.tips.eyeLevel":"Hold your phone at eye level","capture.tips.straight":"Look straight at the camera and keep still","capture.tips.summary":"Stand in a well-lit area. Uncover your face — no glasses, no mask. Once the camera starts, hold your phone at eye level, look straight at the camera and keep still.","capture.tips.listen":"Listen to the instructions","capture.tips.stop":"Stop","capture.permission.granted":"Camera access allowed","capture.permission.prompt":"Your browser will ask to use the camera — choose Allow","capture.permission.denied":"Camera access is blocked — allow it in your browser settings (the camera icon in the address bar), then reload this page","capture.permission.unknown":"We'll ask to use your camera when you start","capture.cameraLabel":"Camera","capture.facing.user":"Front camera","capture.facing.environment":"Back camera","capture.voiceGuidance":"Voice guidance","capture.preparing.hint":"Setting up on-device face detection — this can take a moment on a slow connection","capture.ready":"Ready — start when you are","fcv2.err.models":"The face-detection models could not be loaded — check your connection and try again"};var m={"capture.start":"تشغيل الكاميرا","capture.recordAgain":"ابدأ محاولة جديدة","capture.switchCamera":"تبديل الكاميرا","capture.preparing.title":"جارٍ تجهيز الالتقاط الآمن…","capture.checking":"نتحقق من هويتك…","capture.checkingHint":"يستغرق هذا عادةً بضع ثوانٍ — أبقِ هذه الصفحة مفتوحة","capture.securityNote":"تُشفَّر لقطاتك وتُستخدم فقط لهذا التحقق","capture.cameraOff":"الكاميرا مطفأة","capture.previewAlt":"معاينة الصورة الملتقطة لوجهك","capture.retryCoaching.title":"لم تنجح هذه المحاولة — بعض التعديلات ستساعد:","capture.retryCoaching.light":"اختر مكانًا جيد الإضاءة — الضوء على وجهك لا خلفك","capture.retryCoaching.eyeLevel":"أمسك هاتفك بمستوى العينين","capture.retryCoaching.head":"انظر مباشرة إلى الكاميرا وأبقِ رأسك مستقيمًا","capture.attemptsRemaining.zero":"لم تتبقَّ أي محاولة","capture.attemptsRemaining.one":"تبقّت محاولة واحدة","capture.attemptsRemaining.two":"تبقّت محاولتان","capture.attemptsRemaining.few":"تبقّت {count} محاولات","capture.attemptsRemaining.many":"تبقّت {count} محاولة","capture.attemptsRemaining.other":"تبقّت {count} محاولة","common.retry":"أعد المحاولة","fcv2.err.permission":"اسمح بالوصول إلى الكاميرا من إعدادات المتصفح (أيقونة الكاميرا في شريط العنوان) ثم أعد المحاولة","fcv2.err.notfound":"لم يتم العثور على كاميرا — وصِّل كاميرا أو فعِّلها ثم أعد المحاولة","fcv2.err.inuse":"تطبيق آخر يستخدم الكاميرا — أغلقه ثم أعد المحاولة","fcv2.err.insecure":"تتطلب الكاميرا اتصالًا آمنًا (HTTPS) — افتح هذه الصفحة عبر HTTPS","fcv2.err.unsupported":"متصفحك لا يستطيع الالتقاط بصيغة مدعومة — افتح هذه الصفحة في متصفح حديث مثل كروم أو سفاري","fcv2.err.generic":"الكاميرا غير متاحة — أعد المحاولة، وتواصل مع الدعم إذا استمرت المشكلة","fcv3.no_face":"لا نرى وجهك — أمسك الهاتف أمامك","fcv3.come_closer":"قرّب الهاتف قليلًا","fcv3.move_back":"أبعد الهاتف قليلًا","fcv3.center_face":"ضع وجهك في منتصف الدائرة","fcv3.straighten":"أبقِ رأسك مستقيمًا","fcv3.more_light":"انتقل إلى مكان أكثر إضاءة — أضئ وجهك","fcv3.too_bright":"الإضاءة قوية جدًا — تجنّب الضوء المباشر على وجهك","fcv3.hold_still":"ممتاز — لا تتحرك","fcv3.steady_camera":"أمسك الهاتف بثبات","reasons.no_face":"تعذّر اكتشاف أي وجه أثناء التحقق","reasons.media_unreadable":"تعذّرت قراءة اللقطة المُرسلة","reasons.clip_too_short":"كانت اللقطة أقصر من اللازم","reasons.spoof_detected":"لم يتمكن فحص الحضور الحي من تأكيد وجود شخص حقيقي أمام الكاميرا","reasons.review_band":"لم يكن الفحص التلقائي حاسمًا، لذا أُحيل إلى مراجعة بشرية","reasons.nni_not_found":"لم يُعثر على الرقم الوطني في سجل الحالة المدنية","reasons.nni_invalid":"الرقم الوطني ليس رقمًا صالحًا مكوّنًا من 10 أرقام","reasons.registry_unavailable":"تعذّر الوصول إلى سجل الحالة المدنية لتأكيد الرقم الوطني","reasons.result_from_cache":"أُكِّد فحص السجل استنادًا إلى نسخة حديثة من السجل","reasons.no_face_source":"تعذّر اكتشاف وجه في الصورة الذاتية","reasons.no_face_reference":"لم تتوفّر صورة مرجعية لمقارنة صورتك الذاتية بها — على الجهة الطالبة معالجة ذلك، وإعادة التقاط صورتك الذاتية لن تُجدي","reasons.low_quality_reference":"الصورة المرجعية المحفوظة لم تكن واضحة بما يكفي للمقارنة","reasons.below_threshold":"الصورة الذاتية لم تطابق صورة وثيقة الهوية بدرجة كافية","reasons.side_missing":"أحد وجهي وثيقة الهوية لم يُرسل","reasons.mrz_checksum_failed":"تعذّر التحقق من منطقة القراءة الآلية في الوثيقة","reasons.unreadable":"صورة الوثيقة لم تكن واضحة بما يكفي للقراءة","reasons.expired_document":"انتهت صلاحية وثيقة الهوية","reasons.authenticity_review":"أُحيلت الوثيقة إلى مراجعة بشرية للتأكد من صحتها","reasons.registry_mismatch":"بيانات الوثيقة لا تطابق السجل المدني — سيتحقق منها مراجع","reasons.document_nni_mismatch":"هذه الوثيقة تخص شخصًا آخر غير الشخص الذي أُنشئ له هذا التحقق","reasons.otp_mismatch":"رمز التحقّق لا يطابق الرمز الذي أرسلناه","reasons.otp_expired":"انتهت صلاحية رمز التحقّق قبل إدخاله","reasons.otp_send_failed":"تعذّر إرسال رمز التحقّق إلى هاتفك","reasons.uncalibrated_capture_channel":"جودة الكاميرا المكتبية غير معايَرة بعد — أُحيل تحققك إلى مراجعة بشرية","reasons.location_not_allowed":"التحقق غير متاح في منطقتك.","reasons.anonymizer_blocked":"أوقف تشغيل VPN أو الوكيل ثم افتح الرابط مجددًا.","reasons.nationality_not_allowed":"لا يمكن لهذه الخدمة التحقق من هذه الوثيقة. تواصل مع الجهة لمعرفة الخيارات الأخرى.","reasons.document_type_not_accepted":"هذا النوع من الوثائق غير مقبول. اختر وثيقة أخرى.","reasons.underage":"لا تستوفي الحد الأدنى للسن لهذه الخدمة.","reasons.age_unverifiable":"تعذّرت قراءة تاريخ ميلادك. التقط صورة أوضح لوثيقتك.","reasons.nationality_unreadable":"تعذّرت قراءة جنسيتك. التقط صورة أوضح لوثيقتك.","reasons.name_mismatch":"بياناتك لا تطابق المعلومات المتوفرة لدى الجهة. تواصل مع الجهة.","reasons.birth_date_mismatch":"بياناتك لا تطابق المعلومات المتوفرة لدى الجهة. تواصل مع الجهة.","reasons.nationality_mismatch":"بياناتك لا تطابق المعلومات المتوفرة لدى الجهة. تواصل مع الجهة.","reasons.document_number_mismatch":"بياناتك لا تطابق المعلومات المتوفرة لدى الجهة. تواصل مع الجهة.","reasons.liveness_inconclusive":"لنحاول مجددًا: اجعل وجهك مقابل مصدر ضوء وابقَ ثابتًا.","reasons.match_inconclusive":"لم نتمكّن من التأكد من أنك أنت. حاول مجددًا في إضاءة جيدة ومن دون نظارات.","reasons.subject_revoked":"لم تعد الهوية المحفوظة لهذا التحقق متاحة — على الجهة الطالبة إجراء تحقق كامل، وإعادة المحاولة لن تُجدي","reasons.probe_not_from_liveness":"أبقِ وجهك داخل الإطار طوال الوقت، ثم حاول مجددًا.","reasons.document_authenticity":"استخدم البطاقة الأصلية، لا صورة لها ولا نسخة منها، وتجنّب الانعكاسات.","reasons.mobile_required":"تابع على هاتفك لالتقاط صورة لوجهك.","reasons.capture_tampered":"تعذّر التحقق من هذا الالتقاط. استخدم الكاميرا المدمجة في هاتفك، دون تسجيل الشاشة أو تطبيقات الكاميرا.","reasons.device_velocity_exceeded":"لا يمكن استخدام هذا الجهاز لعملية تحقق أخرى حاليًا. تواصل مع الجهة.","reasons.device_cooldown":"محاولات كثيرة. حاول مجددًا لاحقًا.","cooldown.retryIn":"محاولات كثيرة. حاول مجددًا {time}.","cooldown.retryAt":"محاولات كثيرة. حاول مجددًا بعد {time}.","capture.busy":"خدمتنا مشغولة حاليًا. نعيد المحاولة…","errors.inference_unavailable":"حاول مجددًا بعد لحظات.","method.title":"كيف تريد التحقق من هويتك؟","method.description":"اختر إحدى الطريقتين للمتابعة","returning.title":"أكّد أنك أنت","returning.description":"سبق أن تحقّقت من هويتك. التقاط قصير لوجهك يكفي لتأكيد أنك أنت.","method.national_number":"إدخال رقمي الوطني (NNI)","method.document_photo":"تصوير وثيقتي","errors.method_required":"اختر طريقة التحقق، ثم تابع","errors.attestation_invalid":"تعذّر التأكد من سلامة جلسة المتصفح — أعد تحميل الصفحة وحاول مجددًا","errors.network_error":"تعذّر الوصول إلى خدمة التحقق — تحقق من اتصالك بالإنترنت وأعد المحاولة","errors.session_expired":"انتهت صلاحية جلسة التحقق هذه — اطلب رابطًا جديدًا من الجهة التي أرسلتك إلى هنا","errors.nni_unbound":"أُنشئ هذا الرابط دون رقمك الوطني للتعريف — اطلب رابطًا جديدًا من الجهة الطالبة","capture.tips.title":"لتحقق ناجح:","capture.tips.light":"اجعل الضوء أمام وجهك — تجنّب الإضاءة القوية خلفك","capture.tips.uncover":"اكشف وجهك — بلا نظارات أو كمامة أو يد أمامه","capture.tips.eyeLevel":"أمسك هاتفك بمستوى العينين","capture.tips.straight":"انظر مباشرة إلى الكاميرا وابقَ ثابتًا","capture.tips.summary":"اختر مكانًا جيد الإضاءة. اكشف وجهك — بلا نظارات أو كمامة. بعد تشغيل الكاميرا، أمسك هاتفك بمستوى العينين، وانظر مباشرة إلى الكاميرا وابقَ ثابتًا.","capture.tips.listen":"استمع إلى التعليمات","capture.tips.stop":"إيقاف","capture.permission.granted":"تم السماح بالوصول إلى الكاميرا","capture.permission.prompt":"سيطلب متصفحك استخدام الكاميرا — اختر «السماح»","capture.permission.denied":"الوصول إلى الكاميرا محظور — اسمح به من إعدادات المتصفح (رمز الكاميرا في شريط العنوان)، ثم أعد تحميل الصفحة","capture.permission.unknown":"سنطلب استخدام الكاميرا عند البدء","capture.cameraLabel":"الكاميرا","capture.facing.user":"الكاميرا الأمامية","capture.facing.environment":"الكاميرا الخلفية","capture.voiceGuidance":"الإرشاد الصوتي","capture.preparing.hint":"يجري إعداد كشف الوجه على جهازك — قد يستغرق ذلك لحظة على اتصال بطيء","capture.ready":"جاهز — ابدأ عندما تكون مستعدًا","fcv2.err.models":"تعذّر تحميل نماذج التعرف على الوجه — تحقق من اتصالك ثم أعد المحاولة"};var h={"capture.start":"Démarrer la caméra","capture.recordAgain":"Commencer une nouvelle tentative","capture.switchCamera":"Changer de caméra","capture.preparing.title":"Préparation de la capture sécurisée…","capture.checking":"Nous vérifions votre identité…","capture.checkingHint":"Cela prend généralement quelques secondes — gardez cette page ouverte","capture.securityNote":"Vos images sont chiffrées et utilisées uniquement pour cette vérification","capture.cameraOff":"Caméra éteinte","capture.previewAlt":"Aperçu de l’image capturée de votre visage","capture.retryCoaching.title":"Cette tentative n'a pas abouti — quelques ajustements vous aideront :","capture.retryCoaching.light":"Placez-vous dans un endroit bien éclairé — lumière sur le visage, pas derrière vous","capture.retryCoaching.eyeLevel":"Tenez votre téléphone à hauteur des yeux","capture.retryCoaching.head":"Regardez droit vers la caméra, la tête bien droite","capture.attemptsRemaining.one":"{count} tentative restante","capture.attemptsRemaining.other":"{count} tentatives restantes","common.retry":"Réessayer","fcv2.err.permission":"Autorisez la caméra dans les réglages du navigateur (icône caméra dans la barre d’adresse), puis réessayez","fcv2.err.notfound":"Aucune caméra détectée — branchez ou activez une caméra, puis réessayez","fcv2.err.inuse":"La caméra est utilisée par une autre application — fermez-la, puis réessayez","fcv2.err.insecure":"La caméra nécessite une connexion sécurisée (HTTPS) — rouvrez cette page en HTTPS","fcv2.err.unsupported":"Votre navigateur ne prend pas en charge un format de capture compatible — ouvrez cette page dans un navigateur récent comme Chrome ou Safari","fcv2.err.generic":"Caméra indisponible — réessayez, ou contactez le support si le problème persiste","fcv3.no_face":"Nous ne voyons pas votre visage — tenez le téléphone devant vous","fcv3.come_closer":"Rapprochez un peu le téléphone","fcv3.move_back":"Éloignez un peu le téléphone","fcv3.center_face":"Centrez votre visage dans le cercle","fcv3.straighten":"Tenez la tête droite","fcv3.more_light":"Cherchez un endroit plus lumineux — éclairez votre visage","fcv3.too_bright":"Trop de lumière — évitez la lumière directe sur le visage","fcv3.hold_still":"Parfait — ne bougez plus","fcv3.steady_camera":"Tenez le téléphone stable","reasons.no_face":"Aucun visage n’a pu être détecté pendant la vérification","reasons.media_unreadable":"La capture envoyée n’a pas pu être lue","reasons.clip_too_short":"La capture était trop courte","reasons.spoof_detected":"Le contrôle de présence n'a pas pu confirmer la présence d'une personne réelle devant la caméra","reasons.review_band":"Le contrôle automatique n'a pas été concluant, il a donc été transmis à un examen humain","reasons.nni_not_found":"Le numéro national d'identification n'a pas été trouvé dans le registre d'état civil","reasons.nni_invalid":"Le numéro national d'identification n'est pas un NNI valide à 10 chiffres","reasons.registry_unavailable":"Le registre d'état civil n'a pas pu être joint pour confirmer le NNI","reasons.result_from_cache":"Le contrôle du registre a été confirmé à partir d'une copie récente du registre","reasons.no_face_source":"Aucun visage n'a pu être détecté sur la photo selfie","reasons.no_face_reference":"Aucune photo de référence n'était disponible pour comparer votre selfie — c'est au demandeur de le résoudre, reprendre votre selfie n'y changera rien","reasons.low_quality_reference":"La photo de référence enregistrée n'était pas assez nette pour la comparaison","reasons.below_threshold":"Le selfie ne correspondait pas suffisamment à la photo de la pièce d'identité","reasons.side_missing":"Un côté de la pièce d'identité n'a pas été envoyé","reasons.mrz_checksum_failed":"La zone de lecture automatique du document n'a pas pu être validée","reasons.unreadable":"La photo du document n'était pas assez nette pour être lue","reasons.expired_document":"La pièce d'identité a expiré","reasons.authenticity_review":"Le document a été transmis à un examen humain pour confirmer son authenticité","reasons.registry_mismatch":"Les informations du document ne correspondent pas au registre civil — un examinateur va vérifier","reasons.document_nni_mismatch":"Ce document appartient à une autre personne que celle pour qui cette vérification a été créée","reasons.otp_mismatch":"Le code de vérification ne correspond pas à celui que nous avons envoyé","reasons.otp_expired":"Le code de vérification a expiré avant d'être saisi","reasons.otp_send_failed":"Nous n'avons pas pu envoyer de code de vérification à votre téléphone","reasons.uncalibrated_capture_channel":"Les captures webcam ne sont pas encore décidées automatiquement — votre vérification part en revue humaine","reasons.location_not_allowed":"La vérification n'est pas disponible dans votre région.","reasons.anonymizer_blocked":"Désactivez votre VPN ou proxy, puis rouvrez le lien.","reasons.nationality_not_allowed":"Ce service ne peut pas vérifier ce document. Contactez l'organisation pour d'autres options.","reasons.document_type_not_accepted":"Ce type de document n'est pas accepté. Choisissez un autre document.","reasons.underage":"Vous n'avez pas l'âge minimum requis pour ce service.","reasons.age_unverifiable":"Nous n'avons pas pu lire votre date de naissance. Prenez une photo plus nette de votre document.","reasons.nationality_unreadable":"Nous n'avons pas pu lire votre nationalité. Prenez une photo plus nette de votre document.","reasons.name_mismatch":"Ces informations ne correspondent pas à celles dont dispose l'organisation. Contactez l'organisation.","reasons.birth_date_mismatch":"Ces informations ne correspondent pas à celles dont dispose l'organisation. Contactez l'organisation.","reasons.nationality_mismatch":"Ces informations ne correspondent pas à celles dont dispose l'organisation. Contactez l'organisation.","reasons.document_number_mismatch":"Ces informations ne correspondent pas à celles dont dispose l'organisation. Contactez l'organisation.","reasons.liveness_inconclusive":"Réessayons : placez-vous face à une source de lumière et restez immobile.","reasons.match_inconclusive":"Nous n'avons pas pu confirmer qu'il s'agit bien de vous. Réessayez dans un endroit bien éclairé, sans lunettes.","reasons.subject_revoked":"L'identité enregistrée pour cette vérification n'est plus disponible — le demandeur doit lancer une vérification complète, réessayer n'y changera rien","reasons.probe_not_from_liveness":"Gardez votre visage dans le cadre tout du long, puis réessayez.","reasons.document_authenticity":"Utilisez la carte originale, pas une photo ni une copie, et évitez les reflets.","reasons.mobile_required":"Continuez sur votre téléphone pour prendre le selfie.","reasons.capture_tampered":"Nous n'avons pas pu vérifier cette capture. Utilisez l'appareil photo intégré de votre téléphone, sans enregistrement d'écran ni application de caméra.","reasons.device_velocity_exceeded":"Cet appareil ne peut pas servir à une autre vérification pour le moment. Contactez l'organisation.","reasons.device_cooldown":"Trop de tentatives. Réessayez plus tard.","cooldown.retryIn":"Trop de tentatives. Réessayez {time}.","cooldown.retryAt":"Trop de tentatives. Réessayez à partir de {time}.","capture.busy":"Notre service est très sollicité. Nouvel essai en cours…","errors.inference_unavailable":"Réessayez dans un instant.","method.title":"Comment souhaitez-vous vérifier votre identité ?","method.description":"Choisissez une option pour continuer","returning.title":"Confirmez qu'il s'agit bien de vous","returning.description":"Vous avez déjà vérifié votre identité. Une courte capture du visage confirme qu'il s'agit toujours de vous.","method.national_number":"Saisir mon numéro national (NNI)","method.document_photo":"Photographier mon document","errors.method_required":"Choisissez comment vérifier votre identité, puis continuez","errors.attestation_invalid":"Nous n'avons pas pu confirmer l'authenticité de cette session de navigateur — rechargez la page et réessayez","errors.network_error":"Nous n'avons pas pu joindre le service de vérification — vérifiez votre connexion internet et réessayez","errors.session_expired":"Cette session de vérification a expiré — demandez un nouveau lien à l'organisme qui vous a envoyé ici","errors.nni_unbound":"Ce lien a été créé sans votre numéro national d'identification — demandez un nouveau lien à l'organisme demandeur","capture.tips.title":"Pour une vérification réussie :","capture.tips.light":"Placez-vous face à la lumière — évitez une forte lumière derrière vous","capture.tips.uncover":"Dégagez votre visage — ni lunettes, ni masque, ni main devant","capture.tips.eyeLevel":"Tenez votre téléphone à hauteur des yeux","capture.tips.straight":"Regardez droit vers la caméra et restez immobile","capture.tips.summary":"Placez-vous dans une zone bien éclairée. Dégagez votre visage — ni lunettes, ni masque. Une fois la caméra démarrée, tenez votre téléphone à hauteur des yeux, regardez droit vers la caméra et restez immobile.","capture.tips.listen":"Écouter les instructions","capture.tips.stop":"Arrêter","capture.permission.granted":"Accès à la caméra autorisé","capture.permission.prompt":"Votre navigateur va demander l’accès à la caméra — choisissez « Autoriser »","capture.permission.denied":"L’accès à la caméra est bloqué — autorisez-le dans les réglages du navigateur (icône caméra dans la barre d’adresse), puis rechargez la page","capture.permission.unknown":"Nous demanderons l’accès à la caméra au démarrage","capture.cameraLabel":"Caméra","capture.facing.user":"Caméra avant","capture.facing.environment":"Caméra arrière","capture.voiceGuidance":"Guidage vocal","capture.preparing.hint":"Mise en place de la détection du visage sur l’appareil — cela peut prendre un instant sur une connexion lente","capture.ready":"Prêt — commencez quand vous voulez","fcv2.err.models":"Impossible de charger les modèles de détection du visage — vérifiez votre connexion puis réessayez"};function L(e){switch(e){case"center":return"fcv3.center_face";case"closer":return"fcv3.come_closer";case"farther":return"fcv3.move_back";case"light":return"fcv3.more_light";case"still":case"hold":return"fcv3.hold_still";default:{let t=e;throw new Error(`hintStringKey: unhandled hint ${t}`)}}}r(L,"hintStringKey");function N(e){return`fcv2.err.${e}`}r(N,"captureErrorStringKey");function S(e){switch(e){case"no_recorder":return"fcv2.err.unsupported";case"attestation":return"errors.attestation_invalid";case"network":return"errors.network_error";case"nni_unbound":return"errors.nni_unbound";case"method_required":return"errors.method_required";case"inference_unavailable":return"errors.inference_unavailable";default:{let t=`reasons.${e}`;return Object.hasOwn(u,t)?t:null}}}r(S,"reasonStringKey");function q(e,t,a=new Date){if(t===void 0)return null;let n=new Date(t),o=n.getTime()-a.getTime();if(!Number.isFinite(o)||o<=0)return null;if(o<36e5){let i=Math.max(1,Math.ceil(o/6e4));return{key:"cooldown.retryIn",time:new Intl.RelativeTimeFormat(e,{numeric:"always"}).format(i,"minute")}}let s=n.toDateString()===a.toDateString();return{key:"cooldown.retryAt",time:new Intl.DateTimeFormat(e,{...s?{}:{day:"numeric",month:"long"},hour:"2-digit",minute:"2-digit"}).format(n)}}r(q,"retryAfterTime");function R(e,t,a){let n=new Intl.PluralRules(t).select(a);return((n==="other"?void 0:e[`capture.attemptsRemaining.${n}`])??e["capture.attemptsRemaining.other"]).replace("{count}",new Intl.NumberFormat(t).format(a))}r(R,"attemptsRemainingText");import{useCallback as g}from"react";function D(){return g(e=>{e?.focus()},[])}r(D,"useFocusOnMount");import{jsx as f}from"react/jsx-runtime";function O({tone:e,role:t,children:a,testId:n}){return f("div",{role:t??(e==="info"?"status":"alert"),className:`sekyro-notice sekyro-notice--${e}`,"data-testid":n,children:a})}r(O,"Notice");export{r as a,y as b,u as c,m as d,h as e,L as f,N as g,S as h,q as i,R as j,O as k,D as l};
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{a as n,l as c}from"./chunk-4RUZQW5T.js";import{createContext as d,useContext as m,useEffect as u,useRef as f,useState as x}from"react";import{jsx as i,jsxs as N}from"react/jsx-runtime";function h({id:e,title:t,lead:o}){let s=c();return N("div",{className:"sekyro-heading",children:[i("h2",{id:e,ref:s,tabIndex:-1,className:"sekyro-text-body",children:t}),o!==void 0?i("p",{className:"sekyro-text-muted",children:o}):null]})}n(h,"StepHeading");function R({children:e}){return i("div",{className:"sekyro-actions",children:e})}n(R,"StepActions");var w=d(void 0),v=d(()=>{});function C(e){let t=m(v);u(()=>(t(e),()=>t(!1)),[e,t])}n(C,"useImmersive");var g=100;function y({swapKey:e,className:t,children:o}){let[s,l]=x({key:e,node:o}),a=f(o);a.current=o;let r=s.key!==e;return u(()=>{if(!r)return;let p=setTimeout(()=>l({key:e,node:a.current}),g);return()=>clearTimeout(p)},[r,e]),i("div",{className:`${t}${r?" is-leaving":""}`,"aria-hidden":r||void 0,children:r?s.node:o},s.key)}n(y,"Swap");var b=n(({pageKey:e,children:t})=>i(y,{swapKey:e,className:"sekyro-page",children:t}),"PageSwap");export{h as a,R as b,w as c,v as d,C as e,y as f,b as g};
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{a as r,c as n,d as c,e as g}from"./chunk-4RUZQW5T.js";import{createContext as y,useContext as f}from"react";var p={ar:c,fr:g,en:n};function x(t,e){let o=p[t];if(e===void 0)return o;let s={...o};for(let i of Object.keys(e)){let a=e[i];typeof a=="string"&&(s[i]=a)}return s}r(x,"resolveStrings");var S=y(t=>n[t]??""),k=S.Provider;function m(){return f(S)}r(m,"useStrings");export{x as a,k as b,m as c};
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{a as s}from"./chunk-4RUZQW5T.js";import{jsx as m}from"react/jsx-runtime";var n={colors:{brand:"#1e40af",brandFg:"#ffffff",fg:"#111827",fgMuted:"#4b5563",bg:"#f8fafc",surface:"#ffffff",ring:"#1e40af",danger:"#b91c1c",success:"#15803d",warning:"#a16207"},radius:"12px",fontFamily:'system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif'},f={brand:"--sekyro-color-brand",brandFg:"--sekyro-color-brand-fg",fg:"--sekyro-color-fg",fgMuted:"--sekyro-color-fg-muted",bg:"--sekyro-color-bg",surface:"--sekyro-color-surface",ring:"--sekyro-color-ring",danger:"--sekyro-color-danger",success:"--sekyro-color-success",warning:"--sekyro-color-warning"};function y(e={}){let r={};for(let o of Object.keys(f))r[f[o]]=e.colors?.[o]??n.colors[o];return r["--sekyro-radius"]=e.radius??n.radius,r["--sekyro-font"]=e.fontFamily??n.fontFamily,r}s(y,"themeToCssVars");var l=/^#[0-9a-f]{6}$/i,d={none:"0px",sm:"4px",md:"8px",lg:"12px",full:"9999px"},g={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function k(e){let r={};if(!e)return r;let o={};for(let[a,c]of Object.entries(e.colors??{}))a in f&&a!=="ring"&&l.test(c??"")&&(o[a]=c);o.brand&&(o.ring=o.brand),Object.keys(o).length&&(r.colors=o);let t=d[e.radius];t&&(r.radius=t);let i=g[e.fontFamily];return i!==void 0&&(r.fontFamily=i?`${i}, ${n.fontFamily}`:n.fontFamily),r}s(k,"brandingToTheme");function u(...e){let r={};for(let o of e)o?.colors&&(r.colors={...r.colors,...o.colors}),o?.radius&&(r.radius=o.radius),o?.fontFamily&&(r.fontFamily=o.fontFamily);return r}s(u,"mergeThemes");function S({theme:e,children:r,className:o}){let t=y(e);return m("div",{className:o===void 0?"sekyro-root":`sekyro-root ${o}`,style:t,children:r})}s(S,"SekyroThemeProvider");export{n as a,y as b,k as c,u as d,S as e};
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{a as u}from"./chunk-4RUZQW5T.js";import{normalizeNni as h}from"@sekyro/web";import{useEffect as c,useRef as b,useState as p}from"react";import{jsx as r,jsxs as N}from"react/jsx-runtime";function I({id:l,value:e,onChange:m,length:n=6,describedBy:f,invalid:o}){let[g,i]=p(!1),[a,k]=p(0);c(()=>{o&&k(t=>t+1)},[o]);let d=b(null);c(()=>{let t=setTimeout(()=>d.current?.focus({preventScroll:!0}),350);return()=>clearTimeout(t)},[]);let y=e.length<n?e.length:-1;return N("div",{className:"sekyro-otp-boxes",dir:"ltr",children:[r("div",{className:`sekyro-otp-row${a>0?" is-shaking":""}`,"aria-hidden":"true",children:Array.from({length:n},(t,s)=>r("span",{className:`sekyro-otp-box${s<e.length?" is-filled":""}${g&&s===y?" is-current":""}${o?" is-invalid":""}`,children:e[s]!==void 0?r("span",{className:"sekyro-otp-digit",children:e[s]},e[s]):null},s))},a),r("input",{ref:d,id:l,className:"sekyro-input sekyro-input--code",dir:"ltr",inputMode:"numeric",autoComplete:"one-time-code",value:e,"aria-describedby":f,"aria-invalid":o||void 0,onFocus:()=>i(!0),onBlur:()=>i(!1),onChange:t=>m(h(t.target.value).replace(/\D/g,"").slice(0,n))})]})}u(I,"CodeInput");export{I as a};
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{a as o,j as n,k as r}from"./chunk-4RUZQW5T.js";import{jsx as i}from"react/jsx-runtime";function a({tone:t,children:e}){return i(r,{tone:t,children:e})}o(a,"StepNotice");function f(t,e,p){return p?t.t("common.noAttemptsLeft"):n(t.strings,t.locale,e)}o(f,"attemptsLine");export{a,f as b};
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{a}from"./chunk-65JA6YKG.js";import{a as i}from"./chunk-4RUZQW5T.js";var s={"session.title":"تحقّق من هويتك","session.requestedBy":"تطلب {orgName} منك التحقق من هويتك","returning.requestedBy":"تطلب {orgName} منك تأكيد أنك أنت","consent.notice":"بإكمال عملية التحقق من الهوية، فإنك توافق على معالجة بياناتك الشخصية والبيومترية للتحقق من هويتك.","consent.details":"التفاصيل","consent.terms.intro":"تتحقق Sekyro AI من هويتك نيابةً عن الجهة التي أرسلت إليك هذا الرابط. قبل البدء، اطّلع على كيفية استخدام بياناتك.","consent.terms.data":"أثناء التحقق، تجمع Sekyro AI صور وثيقة هويتك، ومقطع فيديو ذاتيًا قصيرًا، وصورة ذاتية، ورقم تعريفك الوطني.","consent.terms.processing":"تُستخدم هذه البيانات للتحقق من هويتك فقط: يُقارَن وجهك بالصورة الموجودة على وثيقتك، ويُطابَق رقمك الوطني مع سجل الحالة المدنية. وقد يفحص بعض الخطوات مراجع بشري مخوَّل.","consent.terms.sharing":"تُبلَّغ الجهة التي طلبت هذا التحقق بنتيجته.","consent.terms.retention":"تُخزَّن بياناتك مشفّرة ولا يُحتفظ بها إلا للمدة التي يقتضيها القانون. لممارسة حقوقك المتعلقة بحماية البيانات، تواصل مع الجهة التي طلبت هذا التحقق.","otp.sendTitle":"تحقّق من رقم هاتفك","otp.sendDescription":"سنرسل إليك رمزًا يُستخدم مرة واحدة لتأكيد أن هذا الرقم يخصّك","otp.prefilledNotice":"سنرسل رمز تحقّق إلى رقم هاتفك المسجّل.","otp.phoneLabel":"رقم الهاتف","otp.phoneHelper":"سنرسل رمزًا يُستخدم مرة واحدة إلى هذا الرقم","otp.phonePlaceholder":"+222 36 00 00 00","otp.send":"إرسال الرمز","otp.channelSms":"رسالة نصية","otp.channelWhatsapp":"واتساب","otp.verifyTitle":"أدخل رمز التحقّق","otp.verifyDescription":"أدخل الرمز المكوّن من 6 أرقام الذي أرسلناه إليك لإتمام التحقّق من رقمك","otp.sentTo":"أرسلنا رمزًا مكوّنًا من 6 أرقام إلى {number} عبر {channel}","otp.codeLabel":"رمز التحقّق","otp.codeHelper":"أدخل الرمز المكوّن من 6 أرقام الذي أرسلناه إليك","otp.verify":"تحقّق من الرمز","otp.resend":"إعادة إرسال الرمز","otp.resendIn":"إعادة إرسال الرمز خلال {seconds} ثانية","otp.expiresIn":"ينتهي الرمز خلال {time}","otp.expired":"انتهت صلاحية الرمز — أعد إرسال رمز جديد","otp.reason_otp_mismatch":"الرمز غير صحيح — تحقّق منه وأعد إدخاله","otp.reason_otp_expired":"انتهت صلاحية الرمز — أعد إرسال رمز جديد للمتابعة","otp.reason_otp_send_failed":"تعذّر إرسال الرمز — أعد المحاولة بعد قليل","otp.chooseChannel":"كيف تريد أن تتلقّى رمزك؟","otp.sendBy":"إرسال الرمز عبر {channel}","otp.resendBy":"إعادة الإرسال عبر {channel}","otp.reason_otp_channel_unavailable":"هذه الوسيلة غير متاحة — اختر طريقة أخرى لتلقّي رمزك","otp.reason_otp_destination_not_allowed":"لا يمكننا إرسال الرموز إلى أرقام هذا البلد — أدخل رقمًا آخر","otp.reason_otp_destination_unknown":"تعذّر التعرّف على هذا الرقم — تحقّق منه وأعد إدخاله مع رمز البلد","otp.reason_otp_rate_limited":"طلبت رموزًا كثيرة — انتظر قليلًا ثم أعد المحاولة","session.steps.population.title":"أدخل رقم تعريفك الوطني","session.steps.population.description":"يُطابَق رقمك الوطني المكوّن من 10 أرقام مع سجل الحالة المدنية","population.label":"الرقم الوطني للتعريف (NNI)","population.helper":"رقم التعريف الوطني المكوّن من 10 أرقام كما هو مطبوع على بطاقتك","population.placeholder":"3501234567","population.submit":"تحقّق من رقمي","population.invalid":"أدخل الأرقام العشرة للرقم الوطني كما هو مطبوع على بطاقة هويتك","population.reason_registry_unavailable":"سجل الحالة المدنية غير متاح مؤقتًا — لم يُتحقَّق من رقمك. أعد المحاولة بعد قليل","population.reason_nni_not_found":"لم يُعثر على هذا الرقم في سجل الحالة المدنية — تأكد من مطابقته تمامًا لبطاقتك","population.reason_nni_invalid":"هذا الرقم ليس رقمًا وطنيًا صالحًا — تحقق من الأرقام العشرة المطبوعة على بطاقة هويتك","population.bound.description":"قدّمت الجهة الطالبة رقمك الوطني للتعريف مسبقًا — أكّد للتحقق منه في سجل الحالة المدنية","population.bound.confirm":"تأكيد ومتابعة","population.reason_nni_not_found_or_document":"لم نعثر على هذا الرقم. تأكّد منه، أو استخدم وثيقتك بدلًا منه.","population.useDocument":"استخدام وثيقتي بدلًا من ذلك","population.fromDocument.title":"التحقق في السجل المدني","population.fromDocument.description":"نتحقق من الرقم الوطني المقروء من وثيقتك في السجل المدني","population.fromDocument.continue":"متابعة","session.steps.doc.titleRecto":"صوّر الوجه الأمامي لوثيقة هويتك","session.steps.doc.titleVerso":"صوّر الوجه الخلفي لوثيقة هويتك","session.steps.doc.description":"استخدم إضاءة جيدة وأبقِ البطاقة كاملة داخل الإطار","doc.pickTitle":"أي وثيقة ستستخدم؟","doc.pickDescription":"اختر وثيقة الهوية التي بحوزتك — ستمسحها بالكاميرا","doc.pickLabel":"نوع الوثيقة","doc.startScan":"بدء المسح","doc.titlePassport":"امسح صفحة بيانات جواز سفرك","doc.reason_side_missing":"حُفظ أحد الوجهين — صوّر الآن الوجه المتبقي من الوثيقة","doc.reason_unreadable":"تعذّرت قراءة الوثيقة — أعد التقاط الصورة بحيث تكون البطاقة كاملة وواضحة داخل الإطار","doc.process_failed":"تعذّرت معالجة هذه الصورة — التقط صورة جديدة وأعد المحاولة","doc.uploading":"جارٍ رفع وثيقتك…","doc.cameraBlocked":"نحتاج إلى الكاميرا لمسح الوثيقة — الوصول إلى الكاميرا محظور أو غير متاح","doc.cameraBlockedHint":"اسمح بالوصول إلى الكاميرا لهذا الموقع من إعدادات المتصفح ثم أعد المحاولة","doc.retryCamera":"إعادة تجربة الكاميرا","doc.holdUpright":"ضع الوثيقة داخل الإطار — سيتم الالتقاط تلقائيًا. للحصول على صورة أوضح، أدر هاتفك أفقيًا","dcv2.sensing":"جارٍ البحث عن الوثيقة — ضعها داخل الإطار","dcv2.too_far":"قرّب الوثيقة حتى تملأ الإطار","dcv2.too_close":"ابتعد قليلًا — أبقِ الوثيقة كاملة داخل الإطار","dcv2.edge_clipped":"أدخل الوثيقة كاملة داخل الإطار — أبقِ الحواف ظاهرة","dcv2.wrong_shape":"هذا لا يبدو صحيحًا — ضع الوثيقة مسطحة باتجاه الكاميرا مباشرة","dcv2.tilted":"أمسك الهاتف بشكل مستوٍ فوق الوثيقة — الزاوية كبيرة جدًا","dcv2.too_dark":"ابحث عن مكان أكثر إضاءة — أنر الوثيقة","dcv2.too_bright":"الإضاءة قوية جدًا — أمل الوثيقة بعيدًا عن الانعكاس","dcv2.blurry":"ثبّت هاتفك — الصورة غير واضحة","dcv2.focus_far":"قريب جدًا للتركيز — أبعد الهاتف قليلًا","dcv2.glare":"الضوء ينعكس على الوثيقة — أملها قليلًا","dcv2.hold_still":"ممتاز — لا تتحرك","dcv2.processing":"جارٍ الالتقاط…","dcv2.side_captured":"تم التقاط هذا الوجه — اقلب الوثيقة إلى الوجه الخلفي","dcv2.captured":"تم الالتقاط","session.processing.title":"جارٍ معالجة عمليات التحقق","session.processing.description":"يستغرق ذلك عادةً بضع ثوانٍ — وستظهر النتيجة هنا","handoff.title":"تابع على هاتفك","session.result.approved.title":"تم التحقق من هويتك","session.result.approved.description":"انتهيت — يمكنك إغلاق هذه الصفحة","session.result.review.title":"تحققك قيد المراجعة","session.result.review.description":"سيتم إرسال النتيجة إلى الجهة التي أرسلت لك هذا الرابط — لا حاجة لأي إجراء آخر.","session.result.rejected.title":"تعذّر التحقق من هويتك","session.result.rejected.description":"تواصل مع الجهة التي أرسلت إليك هذا الرابط إذا كنت تعتقد أن الأمر خطأ","session.result.expired.title":"انتهت صلاحية جلسة التحقق هذه","session.result.expired.description":"اطلب رابطًا جديدًا من الجهة التي أرسلته، ثم ابدأ من جديد","session.result.detailsMismatch":"بياناتك لا تطابق المعلومات المتوفرة لدى {org}. تواصل مع {org}.","session.result.deviceVelocity":"لا يمكن استخدام هذا الجهاز لعملية تحقق أخرى حاليًا. تواصل مع {org}.","result.referenceLabel":"الرمز المرجعي","common.loading":"جارٍ تحميل جلسة التحقق","common.refresh":"حدّث الحالة","common.noAttemptsLeft":"لم تتبقَّ أي محاولة","session.steps.portrait.title":"التقط صورة الهوية","session.steps.portrait.description":"انظر مباشرة إلى الكاميرا بملامح محايدة، أمام جدار سادة وفاتح","portrait.coach.no_face":"ضع وجهك داخل الإطار البيضاوي","portrait.coach.multiple_faces":"تأكد من عدم وجود أي شخص آخر في الصورة","portrait.coach.center":"ضع وجهك في وسط الإطار البيضاوي","portrait.coach.too_close":"ابتعد قليلاً","portrait.coach.pose":"انظر مباشرة إلى الكاميرا","portrait.coach.eyes":"افتح عينيك أكثر قليلاً","portrait.coach.mouth":"أغلق فمك، بتعبير محايد","portrait.coach.glare":"أمِل نظارتك أو انزعها","portrait.coach.lighting":"اجعل وجهك مقابل نافذة أو مصباح","portrait.coach.lighting_side":"تجنّب الإضاءة من جانب واحد","portrait.coach.background":"قف أمام جدار فاتح اللون وسادة","portrait.coach.resolution":"اقترب قليلاً","portrait.coach.hold_still":"لا تتحرك","portrait.coach.hold":"ممتاز — لا تتحرك","portrait.criteria.face":"الوجه داخل الإطار","portrait.criteria.framing":"في الوسط","portrait.criteria.pose":"النظر مباشرة","portrait.criteria.eyes":"العينان مفتوحتان","portrait.criteria.mouth":"تعبير محايد","portrait.criteria.glare":"بلا انعكاس","portrait.criteria.lighting":"إضاءة متساوية","portrait.criteria.background":"خلفية سادة","portrait.criteria.resolution":"قريب بما يكفي","portrait.criteria.sharpness":"ثابت","portrait.report.pose":"وضعية الرأس","portrait.report.eyes":"العينان","portrait.report.mouth":"تعبير الوجه","portrait.report.occlusion":"الوجه مكشوف","portrait.report.glare":"انعكاس النظارة","portrait.report.lighting":"الإضاءة","portrait.report.background":"الخلفية","portrait.report.resolution":"المسافة","portrait.checksLabel":"فحوصات الصورة","portrait.met":"تم","portrait.notMet":"ليس بعد","portrait.starting":"جارٍ تشغيل الكاميرا…","portrait.taken":"تم التقاط الصورة","portrait.uploading":"جارٍ إرسال صورتك…","portrait.checking":"جارٍ التحقق من صورتك…","portrait.retryTitle":"لنلتقط صورتك مرة أخرى","portrait.reportTitle":"ما يجب تصحيحه","portrait.retake":"التقط الصورة مرة أخرى","portrait.uploadFailed":"تعذّر إرسال صورتك. تحقّق من اتصالك ثم أعد المحاولة.","portrait.sendAgain":"أرسل الصورة مرة أخرى","portrait.matching":"جارٍ مقارنة صورتك بوثيقة هويتك…","portrait.reviewTitle":"سنراجع صورتك","portrait.reviewDescription":"سيتحقق أحد أعضاء فريقنا من صورتك. يمكنك المتابعة.","portrait.cameraBlocked":"نحتاج إلى الكاميرا لالتقاط صورة الهوية — الوصول إلى الكاميرا محظور أو غير متاح","portrait.cameraBlockedHint":"اسمح بالوصول إلى الكاميرا لهذا الموقع من إعدادات المتصفح ثم أعد المحاولة","portrait.retryCamera":"إعادة تجربة الكاميرا","reasons.icao_pose":"انظر مباشرة إلى الكاميرا","reasons.icao_eyes":"افتح عينيك أكثر قليلاً","reasons.icao_mouth":"أغلق فمك وحافظ على ملامح محايدة","reasons.icao_occlusion":"أزل ما يغطي وجهك، وأمِل نظارتك أو انزعها","reasons.icao_lighting":"قف مقابل نافذة أو مصباح، وتجنب الضوء من جهة واحدة","reasons.icao_background":"قف أمام جدار سادة وفاتح","reasons.icao_resolution":"اقترب قليلاً من الكاميرا","reasons.portrait_not_from_liveness":"يجب أن تكون الصورة للشخص نفسه الذي أجرى فحص الوجه. التقطها بنفسك مرة أخرى","method.national_eid":"التحقق عبر {provider}","method.national_eidGeneric":"التحقق عبر هويتك الرقمية الوطنية","consent.short":"بالمتابعة، فإنك توافق على {terms}.","consent.termsLink":"الشروط","session.progressLabel":"تقدّم التحقق","section.contact":"تحقق من وسيلة التواصل","section.identity":"تحقق من هويتك","section.live_photo":"التقط صورة حية","handoff.copied":"تم نسخ الرابط — افتحه على هاتفك","needsApp.title":"يتطلب هذا التحقق تطبيقًا على الهاتف","needsApp.description":"تطلب {org} قراءة شريحة مستندك. افتح تطبيق {org} على هاتف يدعم NFC للمتابعة.","needsApp.descriptionNoOrg":"يقرأ هذا التحقق شريحة مستندك. افتح التطبيق على هاتف يدعم NFC للمتابعة.","population.recheck.title":"تحقّق من رقمك الوطني","population.recheck.description":"لم يتطابق وجهك مع السجل الخاص بهذا الرقم. تحقّق من الرقم وأدخله مرة أخرى.","otp.phoneInvalid":"أدخل رقم هاتفك مع رمز البلد، مثل ‎+222 36 00 00 00","otp.codeInvalid":"أدخل الرمز المكوّن من 6 أرقام","doc.countryTitle":"ما البلد الذي أصدر وثيقتك؟","doc.countryLabel":"بلد الإصدار","doc.countrySearch":"ابحث عن بلد","doc.noCountryMatch":"لا يوجد بلد يطابق بحثك","doc.type.carte_identite":"بطاقة الهوية","doc.type.residence_permit":"بطاقة الإقامة","doc.type.passport":"جواز السفر","doc.showSide":"اعرض أحد وجهي البطاقة","doc.showPage":"اعرض صفحة الصورة","doc.flip":"اقلب البطاقة","doc.sameFace":"الوجه نفسه · اقلب البطاقة","doc.reaskRecto":"اعرض الوجه الأمامي مرة أخرى","doc.reread":"تعذّرت قراءة هذا الوجه · ثبّت البطاقة في إضاءة جيدة","doc.photoTaken":"تم التقاط الصورة","doc.frontCaptured":"تم التقاط الوجه الأمامي","doc.backCaptured":"تم التقاط الوجه الخلفي","doc.pageCaptured":"تم التقاط الصفحة","doc.progressFront":"الأمام","doc.progressBack":"الخلف","doc.progressPage":"صفحة الصورة","doc.shutter":"التقط الصورة","doc.torchOn":"شغّل الضوء","doc.torchOff":"أطفئ الضوء","result.platform_unsupported":"يتطلب هذا التحقق تطبيقًا على الهاتف.","unsupported.title":"يلزم التحديث","unsupported.description":"تتطلب هذه الخطوة إصدارًا أحدث من هذه الصفحة. تواصل مع {org}.","shell.subtitle":"التحقق من الهوية","shell.verifiedBy":"تم التحقق بواسطة Sekyro AI","doc.sub.carte_identite":"الوجه والظهر","doc.sub.residence_permit":"الوجه والظهر","doc.sub.passport":"الصفحة التي تحمل صورتك","native.close":"إغلاق","native.face.introTitle":"لنتحقق الآن من وجهك","native.face.introLead":"لقطة واحدة دون أي حركة خاصة: انظر إلى الشاشة فقط.","native.doc.holdIt":"احتفظ بوثيقتك في متناول يدك.","native.doc.changeCountry":"تغيير البلد","native.result.approved":"اكتمل التحقق. يمكنك العودة إلى {org}.","native.result.review":"ستُرسل النتيجة إلى {org}. لا يلزمك فعل أي شيء آخر.","native.result.rejected":"تواصل مع {org} إذا كنت تعتقد أن هذا خطأ.","native.result.expired":"ابدأ من جديد من {org} للحصول على جلسة جديدة.","native.result.copied":"تم النسخ","native.result.back":"العودة إلى {org}"};var c={"session.title":"Verify your identity","session.requestedBy":"{orgName} asks you to verify your identity","returning.requestedBy":"{orgName} asks you to confirm it's you","consent.notice":"By completing this identity verification, you consent to the processing of your personal and biometric data to verify your identity.","consent.details":"Learn more","consent.terms.intro":"Sekyro AI verifies your identity on behalf of the organization that sent you this link. Before you start, review how your data is used.","consent.terms.data":"During verification, Sekyro AI collects photos of your identity document, a short selfie video, a selfie photo, and your national identification number (NNI).","consent.terms.processing":"This data is used only to verify your identity: your face is compared with the photo on your document, and your NNI is checked against the civil registry. Some steps may be examined by an authorized human reviewer.","consent.terms.sharing":"The organization that requested this verification is informed of its outcome.","consent.terms.retention":"Your data is stored encrypted and kept only as long as the law requires. To exercise your data-protection rights, contact the organization that requested this verification.","otp.sendTitle":"Verify your phone number","otp.sendDescription":"We'll send you a one-time code to confirm this number is yours","otp.prefilledNotice":"We'll send a verification code to your registered phone number.","otp.phoneLabel":"Phone number","otp.phoneHelper":"We'll send a one-time code to this number","otp.phonePlaceholder":"+222 36 00 00 00","otp.send":"Send code","otp.channelSms":"SMS","otp.channelWhatsapp":"WhatsApp","otp.verifyTitle":"Enter the verification code","otp.verifyDescription":"Type the 6-digit code we sent you to finish verifying your number","otp.sentTo":"We sent a 6-digit code to {number} via {channel}","otp.codeLabel":"Verification code","otp.codeHelper":"Enter the 6-digit code we sent you","otp.verify":"Verify code","otp.resend":"Resend code","otp.resendIn":"Resend code in {seconds}s","otp.expiresIn":"Code expires in {time}","otp.expired":"That code has expired — resend a new one","otp.reason_otp_mismatch":"That code was incorrect — check it and enter it again","otp.reason_otp_expired":"That code has expired — resend a new code to continue","otp.reason_otp_send_failed":"We couldn't send the code — try again in a moment","otp.chooseChannel":"How should we send your code?","otp.sendBy":"Send code by {channel}","otp.resendBy":"Resend by {channel}","otp.reason_otp_channel_unavailable":"That channel isn't available — choose another way to get your code","otp.reason_otp_destination_not_allowed":"We can't send codes to numbers from this country — enter another number","otp.reason_otp_destination_unknown":"We couldn't recognise this number — check it and enter it again with the country code","otp.reason_otp_rate_limited":"Too many codes requested — wait a moment, then try again","session.steps.population.title":"Enter your national ID number","session.steps.population.description":"Your 10-digit NNI is checked against the civil registry","population.label":"National ID (NNI)","population.helper":"10-digit national identification number, exactly as printed on your ID","population.placeholder":"3501234567","population.submit":"Verify my number","population.invalid":"Enter the 10-digit NNI printed on your national ID","population.reason_registry_unavailable":"The civil registry is temporarily unreachable — your number was not checked. Try again in a moment","population.reason_nni_not_found":"This number was not found in the civil registry — check that it matches your ID exactly","population.reason_nni_invalid":"This is not a valid NNI — check the 10 digits printed on your national ID","population.bound.description":"The requester already provided your national ID number — confirm to check it against the civil registry","population.bound.confirm":"Confirm and continue","population.reason_nni_not_found_or_document":"We couldn't find this number. Check it, or use your document instead.","population.useDocument":"Use my document instead","population.fromDocument.title":"Checking the civil registry","population.fromDocument.description":"We're checking the national number from your document against the civil registry","population.fromDocument.continue":"Continue","session.steps.doc.titleRecto":"Photograph the front of your ID document","session.steps.doc.titleVerso":"Photograph the back of your ID document","session.steps.doc.description":"Use good lighting and keep the whole card inside the frame","doc.pickTitle":"Which document will you use?","doc.pickDescription":"Choose the identity document you have with you — you will scan it with your camera","doc.pickLabel":"Document type","doc.startScan":"Start scanning","doc.titlePassport":"Scan your passport data page","doc.reason_side_missing":"One side is saved — now photograph the remaining side of the document","doc.reason_unreadable":"We could not read the document — retake the photo with the whole card sharp and inside the frame","doc.process_failed":"We could not process this photo — take a new one and try again","doc.uploading":"Uploading your document…","doc.cameraBlocked":"We need your camera to scan the document — camera access is blocked or unavailable","doc.cameraBlockedHint":"Allow camera access for this site in your browser settings, then try again","doc.retryCamera":"Try the camera again","doc.holdUpright":"Fit the document inside the frame — it captures by itself. For a sharper photo, turn your phone sideways","dcv2.sensing":"Looking for the document — fit it inside the frame","dcv2.too_far":"Bring the document closer so it fills the frame","dcv2.too_close":"Move back a little — keep the whole document in the frame","dcv2.edge_clipped":"Fit the whole document inside the frame — keep the edges visible","dcv2.wrong_shape":"That doesn't look right — lay the document flat, straight toward the camera","dcv2.tilted":"Hold the phone flat above the document — too much angle","dcv2.too_dark":"Find a brighter spot — light the document","dcv2.too_bright":"Too much light — tilt the document away from the glare","dcv2.blurry":"Hold your phone steady — the image is blurry","dcv2.focus_far":"Too close to focus — move the phone a little farther","dcv2.glare":"Light is reflecting off the document — tilt it slightly","dcv2.hold_still":"Perfect — hold still","dcv2.processing":"Capturing…","dcv2.side_captured":"Side captured — flip the document to the back","dcv2.captured":"Captured","session.processing.title":"Your checks are being processed","session.processing.description":"This usually takes a few seconds — the result will appear here","handoff.title":"Continue on your phone","session.result.approved.title":"Your identity is verified","session.result.approved.description":"You are done — you can close this page","session.result.review.title":"Your verification is under review","session.result.review.description":"The result will be sent to the organization that gave you this link — you don't need to do anything else.","session.result.rejected.title":"Your identity could not be verified","session.result.rejected.description":"Contact the organization that sent you this link if you believe this is a mistake","session.result.expired.title":"This verification session has expired","session.result.expired.description":"Request a new link from the organization that sent it, then start again","session.result.detailsMismatch":"The details don't match the information {org} has. Contact {org}.","session.result.deviceVelocity":"This device can't be used for another verification right now. Contact {org}.","result.referenceLabel":"Reference code","common.loading":"Loading your verification session","common.refresh":"Refresh status","common.noAttemptsLeft":"No attempts left","session.steps.portrait.title":"Take your ID photo","session.steps.portrait.description":"Look straight at the camera with a neutral expression, in front of a plain, light wall","portrait.coach.no_face":"Place your face inside the oval","portrait.coach.multiple_faces":"Make sure no one else is in the picture","portrait.coach.center":"Center your face in the oval","portrait.coach.too_close":"Move back a little","portrait.coach.pose":"Look straight at the camera","portrait.coach.eyes":"Open your eyes a little more","portrait.coach.mouth":"Close your mouth, neutral expression","portrait.coach.glare":"Tilt your glasses or remove them","portrait.coach.lighting":"Face a window or a lamp","portrait.coach.lighting_side":"Avoid light from one side","portrait.coach.background":"Stand in front of a plain, light wall","portrait.coach.resolution":"Come a little closer","portrait.coach.hold_still":"Hold still","portrait.coach.hold":"Perfect — hold still","portrait.criteria.face":"Face in the oval","portrait.criteria.framing":"Centered","portrait.criteria.pose":"Looking straight","portrait.criteria.eyes":"Eyes open","portrait.criteria.mouth":"Neutral expression","portrait.criteria.glare":"No glare","portrait.criteria.lighting":"Even light","portrait.criteria.background":"Plain background","portrait.criteria.resolution":"Close enough","portrait.criteria.sharpness":"Steady","portrait.report.pose":"Head position","portrait.report.eyes":"Eyes","portrait.report.mouth":"Expression","portrait.report.occlusion":"Face uncovered","portrait.report.glare":"Glasses glare","portrait.report.lighting":"Lighting","portrait.report.background":"Background","portrait.report.resolution":"Distance","portrait.checksLabel":"Photo checks","portrait.met":"done","portrait.notMet":"not yet","portrait.starting":"Starting the camera…","portrait.taken":"Photo taken","portrait.uploading":"Sending your photo…","portrait.checking":"Checking your photo…","portrait.retryTitle":"Let's take your photo again","portrait.reportTitle":"What to fix","portrait.retake":"Take the photo again","portrait.uploadFailed":"We couldn't send your photo. Check your connection, then try again.","portrait.sendAgain":"Send the photo again","portrait.matching":"Comparing your photo with your identity document…","portrait.reviewTitle":"We'll review your photo","portrait.reviewDescription":"A member of our team will check your photo. You can continue.","portrait.cameraBlocked":"We need your camera to take your ID photo — camera access is blocked or unavailable","portrait.cameraBlockedHint":"Allow camera access for this site in your browser settings, then try again","portrait.retryCamera":"Try the camera again","reasons.icao_pose":"Look straight at the camera","reasons.icao_eyes":"Open your eyes a little more","reasons.icao_mouth":"Close your mouth and keep a neutral expression","reasons.icao_occlusion":"Remove anything covering your face, and tilt or remove your glasses","reasons.icao_lighting":"Face a window or a lamp, and avoid light from one side","reasons.icao_background":"Stand in front of a plain, light wall","reasons.icao_resolution":"Come a little closer to the camera","reasons.portrait_not_from_liveness":"The photo must be of the same person who did the face check. Take it again yourself","method.national_eid":"Verify with {provider}","method.national_eidGeneric":"Verify with your national eID","consent.short":"By continuing, you agree to the {terms}.","consent.termsLink":"terms","session.progressLabel":"Verification progress","section.contact":"Verify your contact","section.identity":"Verify your identity","section.live_photo":"Take a live photo","handoff.copied":"Link copied — open it on your phone","needsApp.title":"This verification needs a phone app","needsApp.description":"{org} asks to read your document's chip. Open {org}'s app on a phone with NFC to continue.","needsApp.descriptionNoOrg":"This verification reads your document's chip. Open the app on a phone with NFC to continue.","population.recheck.title":"Check your national number","population.recheck.description":"Your face didn't match the record for this number. Check the number and enter it again.","otp.phoneInvalid":"Enter your phone number with the country code, for example +222 36 00 00 00","otp.codeInvalid":"Enter the 6-digit code","doc.countryTitle":"Which country issued your document?","doc.countryLabel":"Issuing country","doc.countrySearch":"Search for a country","doc.noCountryMatch":"No country matches your search","doc.type.carte_identite":"Identity card","doc.type.residence_permit":"Residence permit","doc.type.passport":"Passport","doc.showSide":"Show one side of the card","doc.showPage":"Show the photo page","doc.flip":"Turn the card over","doc.sameFace":"Same side · turn the card over","doc.reaskRecto":"Show the front again","doc.reread":"We couldn't read this side · hold it steady in good light","doc.photoTaken":"Photo taken","doc.frontCaptured":"Front captured","doc.backCaptured":"Back captured","doc.pageCaptured":"Page captured","doc.progressFront":"Front","doc.progressBack":"Back","doc.progressPage":"Photo page","doc.shutter":"Take the photo","doc.torchOn":"Turn on the light","doc.torchOff":"Turn off the light","result.platform_unsupported":"This verification needs a phone app.","unsupported.title":"Update required","unsupported.description":"This step needs a newer version of this page. Contact {org}.","shell.subtitle":"Identity verification","shell.verifiedBy":"Verified by Sekyro AI","doc.sub.carte_identite":"Front and back","doc.sub.residence_permit":"Front and back","doc.sub.passport":"The page with your photo","native.close":"Close","native.face.introTitle":"Now let's check your face","native.face.introLead":"One capture, no special movement: just look at the screen.","native.doc.holdIt":"Keep your document within reach.","native.doc.changeCountry":"Change country","native.result.approved":"Your verification is complete. You can go back to {org}.","native.result.review":"The result will be sent to {org}. There's nothing else you need to do.","native.result.rejected":"Contact {org} if you think this is a mistake.","native.result.expired":"Start again from {org} to get a new session.","native.result.copied":"Copied","native.result.back":"Back to {org}"};var p={"session.title":"Vérifiez votre identité","session.requestedBy":"{orgName} vous demande de vérifier votre identité","returning.requestedBy":"{orgName} vous demande de confirmer qu'il s'agit bien de vous","consent.notice":"En poursuivant la vérification d'identité, vous consentez au traitement de vos données personnelles et biométriques afin de vérifier votre identité.","consent.details":"En savoir plus","consent.terms.intro":"Sekyro AI vérifie votre identité pour le compte de l'organisme qui vous a envoyé ce lien. Avant de commencer, consultez la façon dont vos données sont utilisées.","consent.terms.data":"Pendant la vérification, Sekyro AI recueille les photos de votre pièce d'identité, une courte vidéo selfie, une photo selfie et votre numéro national d'identification (NNI).","consent.terms.processing":"Ces données servent uniquement à vérifier votre identité : votre visage est comparé à la photo de votre document et votre NNI est vérifié auprès du registre d'état civil. Certaines étapes peuvent être examinées par un examinateur humain habilité.","consent.terms.sharing":"L'organisme qui a demandé cette vérification est informé de son résultat.","consent.terms.retention":"Vos données sont stockées chiffrées et conservées uniquement pendant la durée exigée par la loi. Pour exercer vos droits en matière de protection des données, contactez l'organisme qui a demandé cette vérification.","otp.sendTitle":"Vérifiez votre numéro de téléphone","otp.sendDescription":"Nous vous enverrons un code à usage unique pour confirmer que ce numéro vous appartient","otp.prefilledNotice":"Nous enverrons un code de vérification à votre numéro de téléphone enregistré.","otp.phoneLabel":"Numéro de téléphone","otp.phoneHelper":"Nous enverrons un code à usage unique à ce numéro","otp.phonePlaceholder":"+222 36 00 00 00","otp.send":"Envoyer le code","otp.channelSms":"SMS","otp.channelWhatsapp":"WhatsApp","otp.verifyTitle":"Saisissez le code de vérification","otp.verifyDescription":"Saisissez le code à 6 chiffres que nous vous avons envoyé pour finaliser la vérification de votre numéro","otp.sentTo":"Nous avons envoyé un code à 6 chiffres au {number} par {channel}","otp.codeLabel":"Code de vérification","otp.codeHelper":"Saisissez le code à 6 chiffres que nous vous avons envoyé","otp.verify":"Vérifier le code","otp.resend":"Renvoyer le code","otp.resendIn":"Renvoyer le code dans {seconds} s","otp.expiresIn":"Le code expire dans {time}","otp.expired":"Ce code a expiré — renvoyez-en un nouveau","otp.reason_otp_mismatch":"Ce code est incorrect — vérifiez-le et saisissez-le à nouveau","otp.reason_otp_expired":"Ce code a expiré — renvoyez un nouveau code pour continuer","otp.reason_otp_send_failed":"Nous n'avons pas pu envoyer le code — réessayez dans un instant","otp.chooseChannel":"Comment souhaitez-vous recevoir votre code ?","otp.sendBy":"Envoyer le code par {channel}","otp.resendBy":"Renvoyer par {channel}","otp.reason_otp_channel_unavailable":"Ce moyen d'envoi n'est pas disponible — choisissez une autre façon de recevoir votre code","otp.reason_otp_destination_not_allowed":"Nous ne pouvons pas envoyer de code aux numéros de ce pays — saisissez un autre numéro","otp.reason_otp_destination_unknown":"Nous n'avons pas reconnu ce numéro — vérifiez-le et saisissez-le à nouveau avec l'indicatif du pays","otp.reason_otp_rate_limited":"Trop de codes demandés — patientez un instant, puis réessayez","session.steps.population.title":"Saisissez votre numéro national d'identification","session.steps.population.description":"Votre NNI à 10 chiffres est vérifié auprès du registre d'état civil","population.label":"Numéro national d'identification (NNI)","population.helper":"Numéro national d'identification à 10 chiffres, tel qu'imprimé sur votre pièce","population.placeholder":"3501234567","population.submit":"Vérifier mon numéro","population.invalid":"Saisissez les 10 chiffres du NNI imprimé sur votre pièce d'identité","population.reason_registry_unavailable":"Le registre d'état civil est temporairement inaccessible — votre numéro n'a pas été vérifié. Réessayez dans un instant","population.reason_nni_not_found":"Ce numéro est introuvable dans le registre d'état civil — vérifiez qu'il correspond exactement à votre pièce","population.reason_nni_invalid":"Ce numéro n'est pas un NNI valide — vérifiez les 10 chiffres imprimés sur votre pièce d'identité","population.bound.description":"L'organisme demandeur a déjà fourni votre numéro national d'identification — confirmez pour le vérifier auprès de l'état civil","population.bound.confirm":"Confirmer et continuer","population.reason_nni_not_found_or_document":"Nous n'avons pas trouvé ce numéro. Vérifiez-le, ou utilisez plutôt votre document.","population.useDocument":"Utiliser plutôt mon document","population.fromDocument.title":"Vérification auprès du registre civil","population.fromDocument.description":"Nous vérifions le numéro national lu sur votre document auprès du registre civil","population.fromDocument.continue":"Continuer","session.steps.doc.titleRecto":"Photographiez le recto de votre pièce d'identité","session.steps.doc.titleVerso":"Photographiez le verso de votre pièce d'identité","session.steps.doc.description":"Utilisez un bon éclairage et gardez la carte entière dans le cadre","doc.pickTitle":"Quel document allez-vous utiliser ?","doc.pickDescription":"Choisissez la pièce d'identité en votre possession — vous la scannerez avec votre caméra","doc.pickLabel":"Type de document","doc.startScan":"Commencer le scan","doc.titlePassport":"Scannez la page de données de votre passeport","doc.reason_side_missing":"Une face est enregistrée — photographiez maintenant l'autre face du document","doc.reason_unreadable":"Nous n'avons pas pu lire le document — reprenez la photo avec la carte entière, nette et dans le cadre","doc.process_failed":"Nous n'avons pas pu traiter cette photo — prenez-en une nouvelle et réessayez","doc.uploading":"Envoi de votre document…","doc.cameraBlocked":"Nous avons besoin de votre caméra pour scanner le document — l'accès est bloqué ou indisponible","doc.cameraBlockedHint":"Autorisez l'accès à la caméra pour ce site dans les réglages du navigateur, puis réessayez","doc.retryCamera":"Réessayer la caméra","doc.holdUpright":"Placez le document dans le cadre — la capture est automatique. Pour une photo plus nette, tournez votre téléphone à l'horizontale","dcv2.sensing":"Recherche du document — placez-le dans le cadre","dcv2.too_far":"Rapprochez le document pour qu'il remplisse le cadre","dcv2.too_close":"Reculez un peu — gardez tout le document dans le cadre","dcv2.edge_clipped":"Placez tout le document dans le cadre — gardez les bords visibles","dcv2.wrong_shape":"Cela ne semble pas correct — posez le document à plat, face à la caméra","dcv2.tilted":"Tenez le téléphone à plat au-dessus du document — trop d'angle","dcv2.too_dark":"Trouvez un endroit plus lumineux — éclairez le document","dcv2.too_bright":"Trop de lumière — inclinez le document pour éviter les reflets","dcv2.blurry":"Tenez votre téléphone immobile — l'image est floue","dcv2.focus_far":"Trop près pour la mise au point — éloignez un peu le téléphone","dcv2.glare":"La lumière se reflète sur le document — inclinez-le légèrement","dcv2.hold_still":"Parfait — ne bougez plus","dcv2.processing":"Capture…","dcv2.side_captured":"Face capturée — retournez le document","dcv2.captured":"Capturé","session.processing.title":"Vos vérifications sont en cours de traitement","session.processing.description":"Cela prend généralement quelques secondes — le résultat s'affichera ici","handoff.title":"Continuez sur votre téléphone","session.result.approved.title":"Votre identité est vérifiée","session.result.approved.description":"C'est terminé — vous pouvez fermer cette page","session.result.review.title":"Votre vérification est en cours d'examen","session.result.review.description":"Le résultat sera transmis à l'organisation qui vous a envoyé ce lien — vous n'avez rien d'autre à faire.","session.result.rejected.title":"Votre identité n'a pas pu être vérifiée","session.result.rejected.description":"Contactez l'organisme qui vous a envoyé ce lien si vous pensez qu'il s'agit d'une erreur","session.result.expired.title":"Cette session de vérification a expiré","session.result.expired.description":"Demandez un nouveau lien à l'organisme qui l'a envoyé, puis recommencez","session.result.detailsMismatch":"Ces informations ne correspondent pas à celles dont dispose {org}. Contactez {org}.","session.result.deviceVelocity":"Cet appareil ne peut pas servir à une autre vérification pour le moment. Contactez {org}.","result.referenceLabel":"Code de référence","common.loading":"Chargement de votre session de vérification","common.refresh":"Actualiser le statut","common.noAttemptsLeft":"Plus aucune tentative","session.steps.portrait.title":"Prenez votre photo d’identité","session.steps.portrait.description":"Regardez la caméra bien en face, l’expression neutre, devant un mur uni et clair","portrait.coach.no_face":"Placez votre visage dans l'ovale","portrait.coach.multiple_faces":"Assurez-vous d'être seul sur la photo","portrait.coach.center":"Centrez votre visage dans l'ovale","portrait.coach.too_close":"Reculez un peu","portrait.coach.pose":"Regardez droit vers la caméra","portrait.coach.eyes":"Ouvrez un peu plus les yeux","portrait.coach.mouth":"Fermez la bouche, expression neutre","portrait.coach.glare":"Inclinez vos lunettes ou retirez-les","portrait.coach.lighting":"Placez-vous face à une fenêtre ou une lampe","portrait.coach.lighting_side":"Évitez la lumière venant d'un seul côté","portrait.coach.background":"Placez-vous devant un mur uni et clair","portrait.coach.resolution":"Rapprochez-vous un peu","portrait.coach.hold_still":"Ne bougez plus","portrait.coach.hold":"Parfait — ne bougez plus","portrait.criteria.face":"Visage dans l'ovale","portrait.criteria.framing":"Centré","portrait.criteria.pose":"Regard droit","portrait.criteria.eyes":"Yeux ouverts","portrait.criteria.mouth":"Expression neutre","portrait.criteria.glare":"Sans reflet","portrait.criteria.lighting":"Lumière uniforme","portrait.criteria.background":"Fond uni","portrait.criteria.resolution":"Assez proche","portrait.criteria.sharpness":"Stable","portrait.report.pose":"Position de la tête","portrait.report.eyes":"Yeux","portrait.report.mouth":"Expression","portrait.report.occlusion":"Visage dégagé","portrait.report.glare":"Reflets des lunettes","portrait.report.lighting":"Éclairage","portrait.report.background":"Arrière-plan","portrait.report.resolution":"Distance","portrait.checksLabel":"Contrôles de la photo","portrait.met":"validé","portrait.notMet":"pas encore","portrait.starting":"Démarrage de la caméra…","portrait.taken":"Photo prise","portrait.uploading":"Envoi de votre photo…","portrait.checking":"Vérification de votre photo…","portrait.retryTitle":"Reprenons votre photo","portrait.reportTitle":"À corriger","portrait.retake":"Reprendre la photo","portrait.uploadFailed":"Nous n'avons pas pu envoyer votre photo. Vérifiez votre connexion, puis réessayez.","portrait.sendAgain":"Renvoyer la photo","portrait.matching":"Comparaison de votre photo avec votre pièce d'identité…","portrait.reviewTitle":"Nous allons vérifier votre photo","portrait.reviewDescription":"Un membre de notre équipe vérifiera votre photo. Vous pouvez continuer.","portrait.cameraBlocked":"Nous avons besoin de votre caméra pour prendre votre photo d'identité — l'accès à la caméra est bloqué ou indisponible","portrait.cameraBlockedHint":"Autorisez l'accès à la caméra pour ce site dans les réglages du navigateur, puis réessayez","portrait.retryCamera":"Réessayer la caméra","reasons.icao_pose":"Regardez la caméra bien en face","reasons.icao_eyes":"Ouvrez un peu plus les yeux","reasons.icao_mouth":"Fermez la bouche et gardez une expression neutre","reasons.icao_occlusion":"Retirez ce qui couvre votre visage, et inclinez ou retirez vos lunettes","reasons.icao_lighting":"Placez-vous face à une fenêtre ou une lampe, sans lumière d’un seul côté","reasons.icao_background":"Placez-vous devant un mur uni et clair","reasons.icao_resolution":"Rapprochez-vous un peu de la caméra","reasons.portrait_not_from_liveness":"La photo doit être celle de la personne qui a fait le contrôle du visage. Reprenez-la vous-même","method.national_eid":"Vérifier avec {provider}","method.national_eidGeneric":"Vérifier avec votre eID national","consent.short":"En continuant, vous acceptez les {terms}.","consent.termsLink":"conditions","session.progressLabel":"Progression de la vérification","section.contact":"Vérifiez votre contact","section.identity":"Vérifiez votre identité","section.live_photo":"Prenez une photo en direct","handoff.copied":"Lien copié — ouvrez-le sur votre téléphone","needsApp.title":"Cette vérification nécessite une application mobile","needsApp.description":"{org} demande de lire la puce de votre document. Ouvrez l'application de {org} sur un téléphone avec NFC pour continuer.","needsApp.descriptionNoOrg":"Cette vérification lit la puce de votre document. Ouvrez l'application sur un téléphone avec NFC pour continuer.","population.recheck.title":"Vérifiez votre numéro national","population.recheck.description":"Votre visage ne correspond pas au dossier de ce numéro. Vérifiez le numéro et saisissez-le à nouveau.","otp.phoneInvalid":"Saisissez votre numéro avec l'indicatif du pays, par exemple +222 36 00 00 00","otp.codeInvalid":"Saisissez le code à 6 chiffres","doc.countryTitle":"Quel pays a délivré votre document ?","doc.countryLabel":"Pays de délivrance","doc.countrySearch":"Rechercher un pays","doc.noCountryMatch":"Aucun pays ne correspond à votre recherche","doc.type.carte_identite":"Carte d'identité","doc.type.residence_permit":"Titre de séjour","doc.type.passport":"Passeport","doc.showSide":"Montrez une face de la carte","doc.showPage":"Montrez la page avec la photo","doc.flip":"Retournez la carte","doc.sameFace":"Même face · retournez la carte","doc.reaskRecto":"Remontrez le recto","doc.reread":"Lecture impossible · tenez la carte stable, bien éclairée","doc.photoTaken":"Photo prise","doc.frontCaptured":"Recto capturé","doc.backCaptured":"Verso capturé","doc.pageCaptured":"Page capturée","doc.progressFront":"Recto","doc.progressBack":"Verso","doc.progressPage":"Page photo","doc.shutter":"Prendre la photo","doc.torchOn":"Allumer la lampe","doc.torchOff":"Éteindre la lampe","result.platform_unsupported":"Cette vérification nécessite une application mobile.","unsupported.title":"Mise à jour requise","unsupported.description":"Cette étape nécessite une version plus récente de cette page. Contactez {org}.","shell.subtitle":"Vérification d'identité","shell.verifiedBy":"Vérifié par Sekyro AI","doc.sub.carte_identite":"Recto et verso","doc.sub.residence_permit":"Recto et verso","doc.sub.passport":"La page avec votre photo","native.close":"Fermer","native.face.introTitle":"Vérifions maintenant votre visage","native.face.introLead":"Une seule prise, sans geste particulier : regardez simplement l'écran.","native.doc.holdIt":"Gardez votre document à portée de main.","native.doc.changeCountry":"Changer de pays","native.result.approved":"Votre vérification est terminée. Vous pouvez retourner à {org}.","native.result.review":"Le résultat sera transmis à {org}. Vous n'avez rien d'autre à faire.","native.result.rejected":"Contactez {org} si vous pensez qu'il s'agit d'une erreur.","native.result.expired":"Recommencez depuis {org} pour obtenir une nouvelle session.","native.result.copied":"Copiée","native.result.back":"Revenir à {org}"};import{createContext as h,useContext as m,useMemo as d}from"react";import{jsx as y}from"react/jsx-runtime";var v={en:c,fr:p,ar:s};function g(t,e){return e===void 0?t:t.replace(/\{(\w+)\}/g,(o,r)=>Object.hasOwn(e,r)?String(e[r]):o)}i(g,"formatTemplate");function f(t,e){let o={...a(t),...v[t]};if(e!==void 0)for(let r of Object.keys(e)){let n=e[r];typeof n=="string"&&(o[r]=n)}return o}i(f,"resolveSekyroStrings");var l=h(null);function u(t,e){let o=f(t,e);return{locale:t,strings:o,t:i((r,n)=>g(o[r]??"",n),"t")}}i(u,"build");function x({locale:t,strings:e,children:o}){let r=d(()=>u(t,e),[t,e]);return y(l.Provider,{value:r,children:o})}i(x,"StepI18nProvider");function N(t,e){let o=m(l);return d(()=>o!==null&&t===void 0&&e===void 0?o:u(t??o?.locale??"en",e),[o,t,e])}i(N,"useStepI18n");export{s as a,c as b,p as c,g as d,f as e,x as f,N as g};