@sekyro/web 0.1.0-rc.14 → 0.1.0-rc.15

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 (39) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{capture-session-doc-J2CJELJ7.js → capture-session-doc-5FHM3DSX.js} +1 -1
  3. package/dist/{capture-session-v3-CH6iDIql.d.cts → capture-session-v3-DVJvecJq.d.cts} +1 -1
  4. package/dist/{capture-session-v3-BrWuhh8k.d.ts → capture-session-v3-DsHBvxFa.d.ts} +1 -1
  5. package/dist/{chunk-JPAGYRNX.js → chunk-23XZDY52.js} +1 -1
  6. package/dist/{chunk-VRD3HG2L.js → chunk-4SQBEKG7.js} +1 -1
  7. package/dist/{chunk-EIETPWIG.js → chunk-7SJHXIM3.js} +1 -1
  8. package/dist/{chunk-YKXG7GME.js → chunk-EIFZSEYD.js} +1 -1
  9. package/dist/{chunk-KEIGHTGM.js → chunk-G7WHAP7L.js} +1 -1
  10. package/dist/{chunk-XEOM3MX3.js → chunk-M35OBPDV.js} +1 -1
  11. package/dist/{chunk-LPQQOB6M.js → chunk-RBDRJRXB.js} +1 -1
  12. package/dist/{chunk-Q6CPJVOG.js → chunk-RNZ4CQEC.js} +1 -1
  13. package/dist/{chunk-VDNW4TR5.js → chunk-ZJUA2Y22.js} +1 -1
  14. package/dist/client/index.cjs +1 -1
  15. package/dist/client/index.d.cts +4 -4
  16. package/dist/client/index.d.ts +4 -4
  17. package/dist/client/index.js +1 -1
  18. package/dist/core/index.cjs +1 -1
  19. package/dist/core/index.d.cts +3 -3
  20. package/dist/core/index.d.ts +3 -3
  21. package/dist/core/index.js +1 -1
  22. package/dist/{create-document-capture-ENXEVHWQ.js → create-document-capture-4KABJ5FV.js} +1 -1
  23. package/dist/{create-verification-CXATqO0d.d.ts → create-verification-2hqtJWN9.d.ts} +4 -4
  24. package/dist/{create-verification-B4f0BrHs.d.cts → create-verification-60S1U9Dl.d.cts} +4 -4
  25. package/dist/{icao-gate-DSbntJnM.d.ts → icao-gate-B2zgdb5m.d.ts} +1 -1
  26. package/dist/{icao-gate-D576CJ_s.d.cts → icao-gate-sKqrgMTo.d.cts} +1 -1
  27. package/dist/index.cjs +1 -1
  28. package/dist/index.d.cts +6 -6
  29. package/dist/index.d.ts +6 -6
  30. package/dist/index.js +1 -1
  31. package/dist/internal/index.cjs +1 -1
  32. package/dist/internal/index.d.cts +6 -6
  33. package/dist/internal/index.d.ts +6 -6
  34. package/dist/internal/index.js +1 -1
  35. package/dist/{plan-runner-YXN3I6CA.js → plan-runner-FZJ5KVT3.js} +1 -1
  36. package/dist/{types-BtEm3Lxe.d.cts → types-BZXO8xhw.d.cts} +18 -3
  37. package/dist/{types-BtEm3Lxe.d.ts → types-BZXO8xhw.d.ts} +18 -3
  38. package/package.json +1 -1
  39. package/sbom.cdx.json +7 -7
@@ -1,11 +1,11 @@
1
- import { a_ as DocCatalogEntry, a$ as LiveMrzTuning, b0 as TextLockTuning, b1 as OcrEngineClient, b2 as DocAssistReport, b3 as ReadyInfo, b4 as LoadFailure, b5 as OcrEngineOptions, b6 as SubmitRuntime, a1 as LivenessCaptureOptions, a0 as LivenessCaptureHandle, aJ as VerificationStep, aH as VerificationResult, ay as StepSnapshot, Y as LivePhotoGateUpdate, b7 as HostedClientLike } from '../create-verification-B4f0BrHs.cjs';
2
- export { b8 as ANALYSIS_LONG_EDGE, b9 as ASPECT_BANDS, ba as AttestationError, bb as BLUR_REFUSE_SHARPNESS_MAX, bc as BlurStatus, bd as CAPTURE_CANDIDATE_SPACING_MS, be as CAPTURE_EXTRA_CANDIDATES, bf as CLIP_MIME_ALLOWLIST, bg as CaptureEngine, bh as CaptureSessionDoc, bi as CaptureSessionDocEvents, bj as CaptureSessionDocOptions, bk as DOC_ANALYSIS_DEFAULTS, bl as DOC_BLACK_FRAME_LUMA, bm as DOC_BLACK_FRAME_TICKS, bn as DOC_CADENCE_HZ, bo as DOC_CAMERA_TUNING_DEFAULTS, bp as DOC_CATALOG, bq as DOC_DETECT_WIDTH, br as DOC_FEEDBACK_STATES, bs as DOC_FIRST_FRAME_MS, bt as DOC_GATE_V1_DEFAULTS, bu as DOC_SHUTTER_DEFAULTS, bv as DeviceReadHint, bw as DocArtifacts, bx as DocAssist, by as DocAssistEngine, bz as DocAssistTick, bA as DocCameraTuning, bB as DocCaptureReport, bC as DocCaptureVia, bD as DocChecksPayload, bE as DocEngineLike, bF as DocFeedbackAggregator, bG as DocFeedbackKey, bH as DocFeedbackState, bI as DocFormat, bJ as DocFrameAnalysis, bK as DocFrameMeasures, bL as DocGateQuality, bM as DocGateThresholds, bN as DocGateTick, bO as DocGateTickInput, bP as DocGateV1, bQ as DocQuad, bR as DocQuadPoint, bS as DocShutterReason, bT as DocShutterTuning, bU as DocSide, bV as DocumentCaptureController, bW as DocumentCaptureInternals, bX as EMPTY_GUIDE_METRICS, bY as EncodedDocument, bZ as FLIP_FILL_MIN, b_ as FLIP_GAP_MS, b$ as FLIP_TIMEOUT_MS, c0 as FocusCaps, c1 as FramingStatus, c2 as GUIDE_LOCK_DEFAULTS, c3 as GlareStatus, c4 as GrabbedFrame, c5 as GuideBlocker, c6 as GuideLock, c7 as GuideLockTick, c8 as GuideLockTuning, c9 as GuideMetrics, ca as GuideRect, cb as INFERENCE_RETRY_ATTEMPTS, cc as INFERENCE_RETRY_DEFAULT_S, U as ISSUER_CODES, cd as LANDMARKER_MODEL, ce as LENS_STORAGE_KEY, cf as LENS_TRY_MAX, cg as LIVE_MRZ_DEFAULTS, ch as LIVE_PHOTO_IDLE_MS, ci as LIVE_PHOTO_MAX_HZ, cj as LandmarkedFace, ck as LandmarkerLike, cl as LensKind, cm as LensSource, cn as LightingStatus, co as LiveMrzCapture, cp as LiveMrzState, cq as LivePhotoGate, cr as LivePhotoKit, cs as LivePhotoKitInternals, ct as LivePhotoKitOptions, cu as LivePhotoStill, cv as LivenessCaptureInternalHandle, cw as LivenessCaptureInternals, cx as LivenessFlowDeps, cy as LivenessFlowOutcome, cz as MANUAL_SHUTTER_MS, cA as MR_DOC_CATALOG, cB as NO_REPORT_MS, cC as OpenDocCameraDeps, cD as PORTRAIT_JPEG_QUALITY, cE as PRELOAD_BLAZE_INIT_TIMEOUT_MS, cF as PRELOAD_BUDGET_MS, cG as PROCESSING_POLL_DELAY_MS, cH as PROCESSING_POLL_MAX, cI as PortraitCaptureController, cJ as PortraitCaptureInternals, cK as REGISTRY_RETRY_DELAY_MS, cL as ReticleType, cM as SAME_FACE_MAX_DROPS, cN as ScanEvent, cO as ScanLayout, cP as ScanNotice, cQ as ScanPhase, cR as ScanReport, cS as ScanSide, cT as ScanState, cU as SubmitExecutor, cV as TEXT_LOCK_DEFAULTS, cW as TRANSPORT_REPLAY_ATTEMPTS, cX as TRANSPORT_REPLAY_DELAY_MS, cY as VerificationInternals, cZ as analyzeDocFrame, c_ as analyzeGuide, c$ as aspectBand, d0 as aspectFits, d1 as buildDeviceReadHint, d2 as coverPointToVideo, d3 as createDocumentCaptureInternal, d4 as createFaceLandmarker, d5 as createLivePhotoKit, d6 as createLivenessCaptureInternal, d7 as createPortraitCaptureInternal, d8 as createVerificationInternal, d9 as docZoomFor, da as encodeDocumentImage, db as facesOf, dc as feedbackVoteOf, dd as focusOk, de as guideQuad, df as guideRegionInFrame, dg as initialScanState, dh as lensKindOf, di as mapEngineState, dj as mapErrorKind, dk as mapGuidanceHint, dl as nextScanState, dm as observePortraitFrame, dn as openDocCamera, dp as passportBandOf, dq as portraitMatchStep, dr as preloadedDetectorFactory, ds as quadAreaFrac, dt as quadBounds, du as quadIou, dv as quadTiltRatio, dw as randomUuid, dx as rankBackCameras, dy as readStoredLens, dz as resetLivenessAssetsForTests, dA as resolveDocCameraTuning, dB as resolveDocShutterTuning, dC as resolveGuideLockTuning, dD as runLivenessFlow, dE as runSubmission, dF as scannerFormatFor, dG as setPreloadLoaderForTests, dH as settledHint, dI as singleShotFocusAt, dJ as specularFraction, dK as supportsFocusMode, dL as warmDocDetector, dM as writeStoredLens } from '../create-verification-B4f0BrHs.cjs';
1
+ import { a_ as DocCatalogEntry, a$ as LiveMrzTuning, b0 as TextLockTuning, b1 as OcrEngineClient, b2 as DocAssistReport, b3 as ReadyInfo, b4 as LoadFailure, b5 as OcrEngineOptions, b6 as SubmitRuntime, a1 as LivenessCaptureOptions, a0 as LivenessCaptureHandle, aJ as VerificationStep, aH as VerificationResult, ay as StepSnapshot, Y as LivePhotoGateUpdate, b7 as HostedClientLike } from '../create-verification-60S1U9Dl.cjs';
2
+ export { b8 as ANALYSIS_LONG_EDGE, b9 as ASPECT_BANDS, ba as AttestationError, bb as BLUR_REFUSE_SHARPNESS_MAX, bc as BlurStatus, bd as CAPTURE_CANDIDATE_SPACING_MS, be as CAPTURE_EXTRA_CANDIDATES, bf as CLIP_MIME_ALLOWLIST, bg as CaptureEngine, bh as CaptureSessionDoc, bi as CaptureSessionDocEvents, bj as CaptureSessionDocOptions, bk as DOC_ANALYSIS_DEFAULTS, bl as DOC_BLACK_FRAME_LUMA, bm as DOC_BLACK_FRAME_TICKS, bn as DOC_CADENCE_HZ, bo as DOC_CAMERA_TUNING_DEFAULTS, bp as DOC_CATALOG, bq as DOC_DETECT_WIDTH, br as DOC_FEEDBACK_STATES, bs as DOC_FIRST_FRAME_MS, bt as DOC_GATE_V1_DEFAULTS, bu as DOC_SHUTTER_DEFAULTS, bv as DeviceReadHint, bw as DocArtifacts, bx as DocAssist, by as DocAssistEngine, bz as DocAssistTick, bA as DocCameraTuning, bB as DocCaptureReport, bC as DocCaptureVia, bD as DocChecksPayload, bE as DocEngineLike, bF as DocFeedbackAggregator, bG as DocFeedbackKey, bH as DocFeedbackState, bI as DocFormat, bJ as DocFrameAnalysis, bK as DocFrameMeasures, bL as DocGateQuality, bM as DocGateThresholds, bN as DocGateTick, bO as DocGateTickInput, bP as DocGateV1, bQ as DocQuad, bR as DocQuadPoint, bS as DocShutterReason, bT as DocShutterTuning, bU as DocSide, bV as DocumentCaptureController, bW as DocumentCaptureInternals, bX as EMPTY_GUIDE_METRICS, bY as EncodedDocument, bZ as FLIP_FILL_MIN, b_ as FLIP_GAP_MS, b$ as FLIP_TIMEOUT_MS, c0 as FocusCaps, c1 as FramingStatus, c2 as GUIDE_LOCK_DEFAULTS, c3 as GlareStatus, c4 as GrabbedFrame, c5 as GuideBlocker, c6 as GuideLock, c7 as GuideLockTick, c8 as GuideLockTuning, c9 as GuideMetrics, ca as GuideRect, cb as INFERENCE_RETRY_ATTEMPTS, cc as INFERENCE_RETRY_DEFAULT_S, U as ISSUER_CODES, cd as LANDMARKER_MODEL, ce as LENS_STORAGE_KEY, cf as LENS_TRY_MAX, cg as LIVE_MRZ_DEFAULTS, ch as LIVE_PHOTO_IDLE_MS, ci as LIVE_PHOTO_MAX_HZ, cj as LandmarkedFace, ck as LandmarkerLike, cl as LensKind, cm as LensSource, cn as LightingStatus, co as LiveMrzCapture, cp as LiveMrzState, cq as LivePhotoGate, cr as LivePhotoKit, cs as LivePhotoKitInternals, ct as LivePhotoKitOptions, cu as LivePhotoStill, cv as LivenessCaptureInternalHandle, cw as LivenessCaptureInternals, cx as LivenessFlowDeps, cy as LivenessFlowOutcome, cz as MANUAL_SHUTTER_MS, cA as MR_DOC_CATALOG, cB as NO_REPORT_MS, cC as OpenDocCameraDeps, cD as PORTRAIT_JPEG_QUALITY, cE as PRELOAD_BLAZE_INIT_TIMEOUT_MS, cF as PRELOAD_BUDGET_MS, cG as PROCESSING_POLL_DELAY_MS, cH as PROCESSING_POLL_MAX, cI as PortraitCaptureController, cJ as PortraitCaptureInternals, cK as REGISTRY_RETRY_DELAY_MS, cL as ReticleType, cM as SAME_FACE_MAX_DROPS, cN as ScanEvent, cO as ScanLayout, cP as ScanNotice, cQ as ScanPhase, cR as ScanReport, cS as ScanSide, cT as ScanState, cU as SubmitExecutor, cV as TEXT_LOCK_DEFAULTS, cW as TRANSPORT_REPLAY_ATTEMPTS, cX as TRANSPORT_REPLAY_DELAY_MS, cY as VerificationInternals, cZ as analyzeDocFrame, c_ as analyzeGuide, c$ as aspectBand, d0 as aspectFits, d1 as buildDeviceReadHint, d2 as coverPointToVideo, d3 as createDocumentCaptureInternal, d4 as createFaceLandmarker, d5 as createLivePhotoKit, d6 as createLivenessCaptureInternal, d7 as createPortraitCaptureInternal, d8 as createVerificationInternal, d9 as docZoomFor, da as encodeDocumentImage, db as facesOf, dc as feedbackVoteOf, dd as focusOk, de as guideQuad, df as guideRegionInFrame, dg as initialScanState, dh as lensKindOf, di as mapEngineState, dj as mapErrorKind, dk as mapGuidanceHint, dl as nextScanState, dm as observePortraitFrame, dn as openDocCamera, dp as passportBandOf, dq as portraitMatchStep, dr as preloadedDetectorFactory, ds as quadAreaFrac, dt as quadBounds, du as quadIou, dv as quadTiltRatio, dw as randomUuid, dx as rankBackCameras, dy as readStoredLens, dz as resetLivenessAssetsForTests, dA as resolveDocCameraTuning, dB as resolveDocShutterTuning, dC as resolveGuideLockTuning, dD as runLivenessFlow, dE as runSubmission, dF as scannerFormatFor, dG as setPreloadLoaderForTests, dH as settledHint, dI as singleShotFocusAt, dJ as specularFraction, dK as supportsFocusMode, dL as warmDocDetector, dM as writeStoredLens } from '../create-verification-60S1U9Dl.cjs';
3
3
  export { C as CENTERED_FACTOR, a as CIRCLE_RADIUS_FACTOR, F as FormFactor, I as IN_CIRCLE_FACTOR, d as detectFormFactor, c as detectIsMobile } from '../capture-constraints-B5omafmk.cjs';
4
- import { H as HostedSessionView, e as CheckType, k as CheckReason, ae as PlanStepView } from '../types-BtEm3Lxe.cjs';
5
- export { at as ICAO_FALLBACK, Y as IcaoCaptureTuning, au as IcaoProfile, R as ResolvedIcaoTuning, av as resolveIcaoTuning } from '../types-BtEm3Lxe.cjs';
6
- export { B as BackgroundStats, e as Box, C as CLIPPED_LUMA, F as FaceGeometry, f as FaceLighting, H as HeadPose, g as ICAO_CANVAS, h as ICAO_GATE_CRITERIA, i as ICAO_SHARP_REF, I as IcaoCoachKey, a as IcaoCriterionState, j as IcaoFrameObservation, k as IcaoGate, b as IcaoGateCriterion, l as IcaoGateOptions, c as IcaoGateSummary, d as IcaoGateUpdate, m as IcaoJudgedCriterion, n as IcaoMeasures, o as IcaoPixelStats, L as LumaPlane, P as Point, R as RegionStats, p as backgroundStats, q as createIcaoGate, r as eyeLineRoll, s as eyeOpenness, t as eyeSpecular, u as faceGeometry, v as faceLighting, w as faceSharpness, x as icaoPixelStats, y as icaoWindow, z as judgeIcao, A as lumaPlane, D as percentile, E as portraitCropRegion, G as poseFromMatrix, J as regionStats, K as scoreFrame, M as windowOverflow } from '../icao-gate-D576CJ_s.cjs';
4
+ import { H as HostedSessionView, e as CheckType, k as CheckReason, ae as PlanStepView } from '../types-BZXO8xhw.cjs';
5
+ export { at as ICAO_FALLBACK, Y as IcaoCaptureTuning, au as IcaoProfile, R as ResolvedIcaoTuning, av as resolveIcaoTuning } from '../types-BZXO8xhw.cjs';
6
+ export { B as BackgroundStats, e as Box, C as CLIPPED_LUMA, F as FaceGeometry, f as FaceLighting, H as HeadPose, g as ICAO_CANVAS, h as ICAO_GATE_CRITERIA, i as ICAO_SHARP_REF, I as IcaoCoachKey, a as IcaoCriterionState, j as IcaoFrameObservation, k as IcaoGate, b as IcaoGateCriterion, l as IcaoGateOptions, c as IcaoGateSummary, d as IcaoGateUpdate, m as IcaoJudgedCriterion, n as IcaoMeasures, o as IcaoPixelStats, L as LumaPlane, P as Point, R as RegionStats, p as backgroundStats, q as createIcaoGate, r as eyeLineRoll, s as eyeOpenness, t as eyeSpecular, u as faceGeometry, v as faceLighting, w as faceSharpness, x as icaoPixelStats, y as icaoWindow, z as judgeIcao, A as lumaPlane, D as percentile, E as portraitCropRegion, G as poseFromMatrix, J as regionStats, K as scoreFrame, M as windowOverflow } from '../icao-gate-sKqrgMTo.cjs';
7
7
  import '../detect-worker-DclNxkZT.cjs';
8
- import '../capture-session-v3-CH6iDIql.cjs';
8
+ import '../capture-session-v3-DVJvecJq.cjs';
9
9
 
10
10
  type DocumentTypeId = DocCatalogEntry["docType"];
11
11
  /** Same shape as the hosted view's `acceptedDocuments`. */
@@ -1,11 +1,11 @@
1
- import { a_ as DocCatalogEntry, a$ as LiveMrzTuning, b0 as TextLockTuning, b1 as OcrEngineClient, b2 as DocAssistReport, b3 as ReadyInfo, b4 as LoadFailure, b5 as OcrEngineOptions, b6 as SubmitRuntime, a1 as LivenessCaptureOptions, a0 as LivenessCaptureHandle, aJ as VerificationStep, aH as VerificationResult, ay as StepSnapshot, Y as LivePhotoGateUpdate, b7 as HostedClientLike } from '../create-verification-CXATqO0d.js';
2
- export { b8 as ANALYSIS_LONG_EDGE, b9 as ASPECT_BANDS, ba as AttestationError, bb as BLUR_REFUSE_SHARPNESS_MAX, bc as BlurStatus, bd as CAPTURE_CANDIDATE_SPACING_MS, be as CAPTURE_EXTRA_CANDIDATES, bf as CLIP_MIME_ALLOWLIST, bg as CaptureEngine, bh as CaptureSessionDoc, bi as CaptureSessionDocEvents, bj as CaptureSessionDocOptions, bk as DOC_ANALYSIS_DEFAULTS, bl as DOC_BLACK_FRAME_LUMA, bm as DOC_BLACK_FRAME_TICKS, bn as DOC_CADENCE_HZ, bo as DOC_CAMERA_TUNING_DEFAULTS, bp as DOC_CATALOG, bq as DOC_DETECT_WIDTH, br as DOC_FEEDBACK_STATES, bs as DOC_FIRST_FRAME_MS, bt as DOC_GATE_V1_DEFAULTS, bu as DOC_SHUTTER_DEFAULTS, bv as DeviceReadHint, bw as DocArtifacts, bx as DocAssist, by as DocAssistEngine, bz as DocAssistTick, bA as DocCameraTuning, bB as DocCaptureReport, bC as DocCaptureVia, bD as DocChecksPayload, bE as DocEngineLike, bF as DocFeedbackAggregator, bG as DocFeedbackKey, bH as DocFeedbackState, bI as DocFormat, bJ as DocFrameAnalysis, bK as DocFrameMeasures, bL as DocGateQuality, bM as DocGateThresholds, bN as DocGateTick, bO as DocGateTickInput, bP as DocGateV1, bQ as DocQuad, bR as DocQuadPoint, bS as DocShutterReason, bT as DocShutterTuning, bU as DocSide, bV as DocumentCaptureController, bW as DocumentCaptureInternals, bX as EMPTY_GUIDE_METRICS, bY as EncodedDocument, bZ as FLIP_FILL_MIN, b_ as FLIP_GAP_MS, b$ as FLIP_TIMEOUT_MS, c0 as FocusCaps, c1 as FramingStatus, c2 as GUIDE_LOCK_DEFAULTS, c3 as GlareStatus, c4 as GrabbedFrame, c5 as GuideBlocker, c6 as GuideLock, c7 as GuideLockTick, c8 as GuideLockTuning, c9 as GuideMetrics, ca as GuideRect, cb as INFERENCE_RETRY_ATTEMPTS, cc as INFERENCE_RETRY_DEFAULT_S, U as ISSUER_CODES, cd as LANDMARKER_MODEL, ce as LENS_STORAGE_KEY, cf as LENS_TRY_MAX, cg as LIVE_MRZ_DEFAULTS, ch as LIVE_PHOTO_IDLE_MS, ci as LIVE_PHOTO_MAX_HZ, cj as LandmarkedFace, ck as LandmarkerLike, cl as LensKind, cm as LensSource, cn as LightingStatus, co as LiveMrzCapture, cp as LiveMrzState, cq as LivePhotoGate, cr as LivePhotoKit, cs as LivePhotoKitInternals, ct as LivePhotoKitOptions, cu as LivePhotoStill, cv as LivenessCaptureInternalHandle, cw as LivenessCaptureInternals, cx as LivenessFlowDeps, cy as LivenessFlowOutcome, cz as MANUAL_SHUTTER_MS, cA as MR_DOC_CATALOG, cB as NO_REPORT_MS, cC as OpenDocCameraDeps, cD as PORTRAIT_JPEG_QUALITY, cE as PRELOAD_BLAZE_INIT_TIMEOUT_MS, cF as PRELOAD_BUDGET_MS, cG as PROCESSING_POLL_DELAY_MS, cH as PROCESSING_POLL_MAX, cI as PortraitCaptureController, cJ as PortraitCaptureInternals, cK as REGISTRY_RETRY_DELAY_MS, cL as ReticleType, cM as SAME_FACE_MAX_DROPS, cN as ScanEvent, cO as ScanLayout, cP as ScanNotice, cQ as ScanPhase, cR as ScanReport, cS as ScanSide, cT as ScanState, cU as SubmitExecutor, cV as TEXT_LOCK_DEFAULTS, cW as TRANSPORT_REPLAY_ATTEMPTS, cX as TRANSPORT_REPLAY_DELAY_MS, cY as VerificationInternals, cZ as analyzeDocFrame, c_ as analyzeGuide, c$ as aspectBand, d0 as aspectFits, d1 as buildDeviceReadHint, d2 as coverPointToVideo, d3 as createDocumentCaptureInternal, d4 as createFaceLandmarker, d5 as createLivePhotoKit, d6 as createLivenessCaptureInternal, d7 as createPortraitCaptureInternal, d8 as createVerificationInternal, d9 as docZoomFor, da as encodeDocumentImage, db as facesOf, dc as feedbackVoteOf, dd as focusOk, de as guideQuad, df as guideRegionInFrame, dg as initialScanState, dh as lensKindOf, di as mapEngineState, dj as mapErrorKind, dk as mapGuidanceHint, dl as nextScanState, dm as observePortraitFrame, dn as openDocCamera, dp as passportBandOf, dq as portraitMatchStep, dr as preloadedDetectorFactory, ds as quadAreaFrac, dt as quadBounds, du as quadIou, dv as quadTiltRatio, dw as randomUuid, dx as rankBackCameras, dy as readStoredLens, dz as resetLivenessAssetsForTests, dA as resolveDocCameraTuning, dB as resolveDocShutterTuning, dC as resolveGuideLockTuning, dD as runLivenessFlow, dE as runSubmission, dF as scannerFormatFor, dG as setPreloadLoaderForTests, dH as settledHint, dI as singleShotFocusAt, dJ as specularFraction, dK as supportsFocusMode, dL as warmDocDetector, dM as writeStoredLens } from '../create-verification-CXATqO0d.js';
1
+ import { a_ as DocCatalogEntry, a$ as LiveMrzTuning, b0 as TextLockTuning, b1 as OcrEngineClient, b2 as DocAssistReport, b3 as ReadyInfo, b4 as LoadFailure, b5 as OcrEngineOptions, b6 as SubmitRuntime, a1 as LivenessCaptureOptions, a0 as LivenessCaptureHandle, aJ as VerificationStep, aH as VerificationResult, ay as StepSnapshot, Y as LivePhotoGateUpdate, b7 as HostedClientLike } from '../create-verification-2hqtJWN9.js';
2
+ export { b8 as ANALYSIS_LONG_EDGE, b9 as ASPECT_BANDS, ba as AttestationError, bb as BLUR_REFUSE_SHARPNESS_MAX, bc as BlurStatus, bd as CAPTURE_CANDIDATE_SPACING_MS, be as CAPTURE_EXTRA_CANDIDATES, bf as CLIP_MIME_ALLOWLIST, bg as CaptureEngine, bh as CaptureSessionDoc, bi as CaptureSessionDocEvents, bj as CaptureSessionDocOptions, bk as DOC_ANALYSIS_DEFAULTS, bl as DOC_BLACK_FRAME_LUMA, bm as DOC_BLACK_FRAME_TICKS, bn as DOC_CADENCE_HZ, bo as DOC_CAMERA_TUNING_DEFAULTS, bp as DOC_CATALOG, bq as DOC_DETECT_WIDTH, br as DOC_FEEDBACK_STATES, bs as DOC_FIRST_FRAME_MS, bt as DOC_GATE_V1_DEFAULTS, bu as DOC_SHUTTER_DEFAULTS, bv as DeviceReadHint, bw as DocArtifacts, bx as DocAssist, by as DocAssistEngine, bz as DocAssistTick, bA as DocCameraTuning, bB as DocCaptureReport, bC as DocCaptureVia, bD as DocChecksPayload, bE as DocEngineLike, bF as DocFeedbackAggregator, bG as DocFeedbackKey, bH as DocFeedbackState, bI as DocFormat, bJ as DocFrameAnalysis, bK as DocFrameMeasures, bL as DocGateQuality, bM as DocGateThresholds, bN as DocGateTick, bO as DocGateTickInput, bP as DocGateV1, bQ as DocQuad, bR as DocQuadPoint, bS as DocShutterReason, bT as DocShutterTuning, bU as DocSide, bV as DocumentCaptureController, bW as DocumentCaptureInternals, bX as EMPTY_GUIDE_METRICS, bY as EncodedDocument, bZ as FLIP_FILL_MIN, b_ as FLIP_GAP_MS, b$ as FLIP_TIMEOUT_MS, c0 as FocusCaps, c1 as FramingStatus, c2 as GUIDE_LOCK_DEFAULTS, c3 as GlareStatus, c4 as GrabbedFrame, c5 as GuideBlocker, c6 as GuideLock, c7 as GuideLockTick, c8 as GuideLockTuning, c9 as GuideMetrics, ca as GuideRect, cb as INFERENCE_RETRY_ATTEMPTS, cc as INFERENCE_RETRY_DEFAULT_S, U as ISSUER_CODES, cd as LANDMARKER_MODEL, ce as LENS_STORAGE_KEY, cf as LENS_TRY_MAX, cg as LIVE_MRZ_DEFAULTS, ch as LIVE_PHOTO_IDLE_MS, ci as LIVE_PHOTO_MAX_HZ, cj as LandmarkedFace, ck as LandmarkerLike, cl as LensKind, cm as LensSource, cn as LightingStatus, co as LiveMrzCapture, cp as LiveMrzState, cq as LivePhotoGate, cr as LivePhotoKit, cs as LivePhotoKitInternals, ct as LivePhotoKitOptions, cu as LivePhotoStill, cv as LivenessCaptureInternalHandle, cw as LivenessCaptureInternals, cx as LivenessFlowDeps, cy as LivenessFlowOutcome, cz as MANUAL_SHUTTER_MS, cA as MR_DOC_CATALOG, cB as NO_REPORT_MS, cC as OpenDocCameraDeps, cD as PORTRAIT_JPEG_QUALITY, cE as PRELOAD_BLAZE_INIT_TIMEOUT_MS, cF as PRELOAD_BUDGET_MS, cG as PROCESSING_POLL_DELAY_MS, cH as PROCESSING_POLL_MAX, cI as PortraitCaptureController, cJ as PortraitCaptureInternals, cK as REGISTRY_RETRY_DELAY_MS, cL as ReticleType, cM as SAME_FACE_MAX_DROPS, cN as ScanEvent, cO as ScanLayout, cP as ScanNotice, cQ as ScanPhase, cR as ScanReport, cS as ScanSide, cT as ScanState, cU as SubmitExecutor, cV as TEXT_LOCK_DEFAULTS, cW as TRANSPORT_REPLAY_ATTEMPTS, cX as TRANSPORT_REPLAY_DELAY_MS, cY as VerificationInternals, cZ as analyzeDocFrame, c_ as analyzeGuide, c$ as aspectBand, d0 as aspectFits, d1 as buildDeviceReadHint, d2 as coverPointToVideo, d3 as createDocumentCaptureInternal, d4 as createFaceLandmarker, d5 as createLivePhotoKit, d6 as createLivenessCaptureInternal, d7 as createPortraitCaptureInternal, d8 as createVerificationInternal, d9 as docZoomFor, da as encodeDocumentImage, db as facesOf, dc as feedbackVoteOf, dd as focusOk, de as guideQuad, df as guideRegionInFrame, dg as initialScanState, dh as lensKindOf, di as mapEngineState, dj as mapErrorKind, dk as mapGuidanceHint, dl as nextScanState, dm as observePortraitFrame, dn as openDocCamera, dp as passportBandOf, dq as portraitMatchStep, dr as preloadedDetectorFactory, ds as quadAreaFrac, dt as quadBounds, du as quadIou, dv as quadTiltRatio, dw as randomUuid, dx as rankBackCameras, dy as readStoredLens, dz as resetLivenessAssetsForTests, dA as resolveDocCameraTuning, dB as resolveDocShutterTuning, dC as resolveGuideLockTuning, dD as runLivenessFlow, dE as runSubmission, dF as scannerFormatFor, dG as setPreloadLoaderForTests, dH as settledHint, dI as singleShotFocusAt, dJ as specularFraction, dK as supportsFocusMode, dL as warmDocDetector, dM as writeStoredLens } from '../create-verification-2hqtJWN9.js';
3
3
  export { C as CENTERED_FACTOR, a as CIRCLE_RADIUS_FACTOR, F as FormFactor, I as IN_CIRCLE_FACTOR, d as detectFormFactor, c as detectIsMobile } from '../capture-constraints-B5omafmk.js';
4
- import { H as HostedSessionView, e as CheckType, k as CheckReason, ae as PlanStepView } from '../types-BtEm3Lxe.js';
5
- export { at as ICAO_FALLBACK, Y as IcaoCaptureTuning, au as IcaoProfile, R as ResolvedIcaoTuning, av as resolveIcaoTuning } from '../types-BtEm3Lxe.js';
6
- export { B as BackgroundStats, e as Box, C as CLIPPED_LUMA, F as FaceGeometry, f as FaceLighting, H as HeadPose, g as ICAO_CANVAS, h as ICAO_GATE_CRITERIA, i as ICAO_SHARP_REF, I as IcaoCoachKey, a as IcaoCriterionState, j as IcaoFrameObservation, k as IcaoGate, b as IcaoGateCriterion, l as IcaoGateOptions, c as IcaoGateSummary, d as IcaoGateUpdate, m as IcaoJudgedCriterion, n as IcaoMeasures, o as IcaoPixelStats, L as LumaPlane, P as Point, R as RegionStats, p as backgroundStats, q as createIcaoGate, r as eyeLineRoll, s as eyeOpenness, t as eyeSpecular, u as faceGeometry, v as faceLighting, w as faceSharpness, x as icaoPixelStats, y as icaoWindow, z as judgeIcao, A as lumaPlane, D as percentile, E as portraitCropRegion, G as poseFromMatrix, J as regionStats, K as scoreFrame, M as windowOverflow } from '../icao-gate-DSbntJnM.js';
4
+ import { H as HostedSessionView, e as CheckType, k as CheckReason, ae as PlanStepView } from '../types-BZXO8xhw.js';
5
+ export { at as ICAO_FALLBACK, Y as IcaoCaptureTuning, au as IcaoProfile, R as ResolvedIcaoTuning, av as resolveIcaoTuning } from '../types-BZXO8xhw.js';
6
+ export { B as BackgroundStats, e as Box, C as CLIPPED_LUMA, F as FaceGeometry, f as FaceLighting, H as HeadPose, g as ICAO_CANVAS, h as ICAO_GATE_CRITERIA, i as ICAO_SHARP_REF, I as IcaoCoachKey, a as IcaoCriterionState, j as IcaoFrameObservation, k as IcaoGate, b as IcaoGateCriterion, l as IcaoGateOptions, c as IcaoGateSummary, d as IcaoGateUpdate, m as IcaoJudgedCriterion, n as IcaoMeasures, o as IcaoPixelStats, L as LumaPlane, P as Point, R as RegionStats, p as backgroundStats, q as createIcaoGate, r as eyeLineRoll, s as eyeOpenness, t as eyeSpecular, u as faceGeometry, v as faceLighting, w as faceSharpness, x as icaoPixelStats, y as icaoWindow, z as judgeIcao, A as lumaPlane, D as percentile, E as portraitCropRegion, G as poseFromMatrix, J as regionStats, K as scoreFrame, M as windowOverflow } from '../icao-gate-B2zgdb5m.js';
7
7
  import '../detect-worker-DclNxkZT.js';
8
- import '../capture-session-v3-BrWuhh8k.js';
8
+ import '../capture-session-v3-DsHBvxFa.js';
9
9
 
10
10
  type DocumentTypeId = DocCatalogEntry["docType"];
11
11
  /** Same shape as the hosted view's `acceptedDocuments`. */
@@ -1 +1 @@
1
- import{c as _e,d as Le,e as Re,g as Se,h as Te,i as ce}from"../chunk-VDNW4TR5.js";import{a as Vt,b as Xt,c as Zt,d as Jt,e as Qt,f as jt,g as qt,h as $t,i as er,j as ae,l as se,n as Ee,o as me}from"../chunk-G6MU3B5V.js";import{b as pe,c as ie,d as ne}from"../chunk-CJHMFPL6.js";import"../chunk-RI3E7GBN.js";import{a as d,b as M,c as F,d as N,e as v}from"../chunk-O5WKNZ2C.js";import{A as yt,B as ft,C as ut,D as Ot,E as At,F as It,G as xt,H as Ct,I as Pt,J as Dt,K as dt,L as Mt,M as Ft,a as We,b as ke,c as Ke,d as Je,e as Qe,f as je,g as qe,h as $e,i as et,j as tt,k as rt,l as ot,m as pt,n as it,o as nt,p as at,q as st,r as Et,s as mt,t as _t,u as Lt,v as Rt,w as St,x as Tt,y as ct,z as lt}from"../chunk-LPQQOB6M.js";import{a as Ye,b as He}from"../chunk-SMKCBUJL.js";import{a as Be,b as we,c as ze,d as Ve,e as Xe,f as Ze}from"../chunk-MXWLCDFX.js";import{a as k,b as Fe,c as Ne,d as ve,e as ge,f as be,g as Ge,h as he,i as Ue,j as K,k as B,l as w,m as Z,n as J,o as Q,p as j,q,r as $,s as ee,t as te,u as re,x as oe}from"../chunk-XEOM3MX3.js";import{a as g,b,c as G,d as h,e as U,f as Y,g as H,h as W,i as z,j as V,l as X}from"../chunk-G6LKLN4U.js";import{a as xe,b as Ce,c as Pe,d as De,e as de,f as Me}from"../chunk-TDLIXFDT.js";import{a as Nt,b as vt,c as gt,d as bt,e as Gt,f as ht,g as Ut,h as Yt,i as Ht,j as Wt,k as kt,l as Kt,m as Bt}from"../chunk-7ZCZY3ZP.js";import{a as wt,b as zt}from"../chunk-BPE5NSQ2.js";import"../chunk-GI3UFGRQ.js";import{b as ye,c as fe,d as ue,e as Oe,g as Ae,h as tr,i as rr,j as or,k as pr,l as ir,m as nr,s as Ie}from"../chunk-VRD3HG2L.js";import{c as S,i as T,j as c,k as l,l as y,n as f,p as u,q as O,r as A,s as I,t as x,u as C,v as P,w as D}from"../chunk-KEIGHTGM.js";import{a as i,b as n,c as a,d as s,i as E,j as m,k as _,l as L,m as R}from"../chunk-YKXG7GME.js";import"../chunk-GT2ZLGF7.js";import"../chunk-EIETPWIG.js";import{c as e,d as t,f as r,g as o,h as p}from"../chunk-FUHDOEBP.js";import"../chunk-POIQGEZM.js";import"../chunk-2BFYVMUU.js";import"../chunk-FPXL63KZ.js";import"../chunk-JPAGYRNX.js";import"../chunk-Q6CPJVOG.js";import"../chunk-OKWG3PVH.js";import{a as le}from"../chunk-DFTCAWMP.js";import"../chunk-DK5YPBDQ.js";export{ae as ANALYSIS_LONG_EDGE,xe as ASPECT_BANDS,C as AttestationError,Ge as BLUR_REFUSE_SHARPNESS_MAX,Ft as CAPTURE_CANDIDATE_SPACING_MS,Mt as CAPTURE_EXTRA_CANDIDATES,p as CENTERED_FACTOR,r as CIRCLE_RADIUS_FACTOR,Vt as CLIPPED_LUMA,u as CLIP_MIME_ALLOWLIST,Dt as CaptureSessionDoc,rr as DOCUMENT_TYPE_ORDER,Je as DOC_ANALYSIS_DEFAULTS,At as DOC_BLACK_FRAME_LUMA,It as DOC_BLACK_FRAME_TICKS,xt as DOC_CADENCE_HZ,$e as DOC_CAMERA_TUNING_DEFAULTS,de as DOC_CATALOG,Be as DOC_DETECT_WIDTH,We as DOC_FEEDBACK_STATES,Ot as DOC_FIRST_FRAME_MS,we as DOC_GATE_V1_DEFAULTS,Ct as DOC_SHUTTER_DEFAULTS,X as DocAssist,Ke as DocFeedbackAggregator,Ze as DocGateV1,Rt as EMPTY_GUIDE_METRICS,Ne as FLIP_FILL_MIN,Fe as FLIP_GAP_MS,ve as FLIP_TIMEOUT_MS,lt as GUIDE_LOCK_DEFAULTS,ft as GuideLock,bt as ICAO_CANVAS,wt as ICAO_FALLBACK,Yt as ICAO_GATE_CRITERIA,Xt as ICAO_SHARP_REF,I as INFERENCE_RETRY_ATTEMPTS,x as INFERENCE_RETRY_DEFAULT_S,o as IN_CIRCLE_FACTOR,tr as ISSUER_CODES,pe as LANDMARKER_MODEL,ot as LENS_STORAGE_KEY,_t as LENS_TRY_MAX,V as LIVE_MRZ_DEFAULTS,Le as LIVE_PHOTO_IDLE_MS,_e as LIVE_PHOTO_MAX_HZ,ge as MANUAL_SHUTTER_MS,Ye as MRZ_BAND_DEFAULTS,De as MR_DOC_CATALOG,be as NO_REPORT_MS,le as OCR_ASSET_SET,Te as OTP_RESEND_COOLDOWN_MS,se as PORTRAIT_JPEG_QUALITY,i as PRELOAD_BLAZE_INIT_TIMEOUT_MS,n as PRELOAD_BUDGET_MS,Se as PROCESSING_BACKOFF_MS,fe as PROCESSING_POLL_DELAY_MS,ue as PROCESSING_POLL_MAX,G as REGION_PAD,ye as REGISTRY_RETRY_DELAY_MS,S as RETRYABLE_REASONS,re as SAME_FACE_MAX_DROPS,g as SHARPNESS_LONG_EDGE,z as TEXT_LOCK_DEFAULTS,O as TRANSPORT_REPLAY_ATTEMPTS,A as TRANSPORT_REPLAY_DELAY_MS,M as TURNSTILE_EXECUTE_TIMEOUT_MS,d as TURNSTILE_SCRIPT_SRC,Q as WEB_OCR_ENGINE,pr as acceptedIssuers,or as acceptedTypesFor,qe as analyzeDocFrame,Tt as analyzeGuide,Ce as aspectBand,Pe as aspectFits,qt as backgroundStats,$ as browserFamily,Z as buildDeviceReadHint,B as classifyCardSide,K as classifyCardSideWith,st as coverPointToVideo,oe as createDocumentCaptureInternal,ne as createFaceLandmarker,Bt as createIcaoGate,Re as createLivePhotoKit,R as createLivenessCaptureInternal,me as createPortraitCaptureInternal,ce as createStepRunner,Ae as createVerificationInternal,U as cropImage,e as detectFormFactor,t as detectIsMobile,He as detectMrzBand,Et as docZoomFor,k as encodeDocumentImage,v as executeTurnstile,gt as eyeLineRoll,Wt as eyeOpenness,jt as eyeSpecular,Nt as faceGeometry,Qt as faceLighting,$t as faceSharpness,ie as facesOf,ke as feedbackVoteOf,nr as flagOf,mt as focusOk,te as formatMismatch,l as frontierStep,ct as guideQuad,St as guideRegionInFrame,er as icaoPixelStats,Gt as icaoWindow,he as initialScanState,T as isExecutable,c as isTerminalView,Ht as judgeIcao,tt as lensKindOf,ee as liveMrzWireReport,N as loadTurnstile,Zt as lumaPlane,_ as mapEngineState,L as mapErrorKind,m as mapGuidanceHint,f as mapSessionResult,W as measureBitmapSharpness,H as measureRegionSharpness,Ue as nextScanState,Ee as observePortraitFrame,Lt as openDocCamera,dt as passportBandOf,kt as percentile,b as photoSharpness,Ut as portraitCropRegion,Ie as portraitMatchStep,vt as poseFromMatrix,E as preloadedDetectorFactory,ze as quadAreaFrac,Xe as quadBounds,Ve as quadIou,je as quadTiltRatio,Oe as randomUuid,rt as rankBackCameras,pt as readStoredLens,Jt as regionStats,s as resetLivenessAssetsForTests,F as resetTurnstileForTests,Y as resizeLongEdge,ir as resolveAcceptedDocuments,et as resolveDocCameraTuning,Pt as resolveDocShutterTuning,yt as resolveGuideLockTuning,zt as resolveIcaoTuning,j as resolveWebOcrPlan,D as runLivenessFlow,P as runSubmission,Me as scannerFormatFor,Kt as scoreFrame,a as setPreloadLoaderForTests,J as settledHint,at as singleShotFocusAt,Qe as specularFraction,q as startWebOcr,y as stepOf,h as stillRegionOf,w as stillToImageData,nt as supportsFocusMode,ut as warmDocDetector,ht as windowOverflow,it as writeStoredLens};
1
+ import{c as _e,d as Le,e as Re,g as Se,h as Te,i as ce}from"../chunk-ZJUA2Y22.js";import{a as Vt,b as Xt,c as Zt,d as Jt,e as Qt,f as jt,g as qt,h as $t,i as er,j as ae,l as se,n as Ee,o as me}from"../chunk-G6MU3B5V.js";import{b as pe,c as ie,d as ne}from"../chunk-CJHMFPL6.js";import"../chunk-RI3E7GBN.js";import{a as d,b as M,c as F,d as N,e as v}from"../chunk-O5WKNZ2C.js";import{A as yt,B as ft,C as ut,D as Ot,E as At,F as It,G as xt,H as Ct,I as Pt,J as Dt,K as dt,L as Mt,M as Ft,a as We,b as ke,c as Ke,d as Je,e as Qe,f as je,g as qe,h as $e,i as et,j as tt,k as rt,l as ot,m as pt,n as it,o as nt,p as at,q as st,r as Et,s as mt,t as _t,u as Lt,v as Rt,w as St,x as Tt,y as ct,z as lt}from"../chunk-RBDRJRXB.js";import{a as Ye,b as He}from"../chunk-SMKCBUJL.js";import{a as Be,b as we,c as ze,d as Ve,e as Xe,f as Ze}from"../chunk-MXWLCDFX.js";import{a as k,b as Fe,c as Ne,d as ve,e as ge,f as be,g as Ge,h as he,i as Ue,j as K,k as B,l as w,m as Z,n as J,o as Q,p as j,q,r as $,s as ee,t as te,u as re,x as oe}from"../chunk-M35OBPDV.js";import{a as g,b,c as G,d as h,e as U,f as Y,g as H,h as W,i as z,j as V,l as X}from"../chunk-G6LKLN4U.js";import{a as xe,b as Ce,c as Pe,d as De,e as de,f as Me}from"../chunk-TDLIXFDT.js";import{a as Nt,b as vt,c as gt,d as bt,e as Gt,f as ht,g as Ut,h as Yt,i as Ht,j as Wt,k as kt,l as Kt,m as Bt}from"../chunk-7ZCZY3ZP.js";import{a as wt,b as zt}from"../chunk-BPE5NSQ2.js";import"../chunk-GI3UFGRQ.js";import{b as ye,c as fe,d as ue,e as Oe,g as Ae,h as tr,i as rr,j as or,k as pr,l as ir,m as nr,s as Ie}from"../chunk-4SQBEKG7.js";import{c as S,i as T,j as c,k as l,l as y,n as f,p as u,q as O,r as A,s as I,t as x,u as C,v as P,w as D}from"../chunk-G7WHAP7L.js";import{a as i,b as n,c as a,d as s,i as E,j as m,k as _,l as L,m as R}from"../chunk-EIFZSEYD.js";import"../chunk-GT2ZLGF7.js";import"../chunk-7SJHXIM3.js";import{c as e,d as t,f as r,g as o,h as p}from"../chunk-FUHDOEBP.js";import"../chunk-POIQGEZM.js";import"../chunk-2BFYVMUU.js";import"../chunk-FPXL63KZ.js";import"../chunk-23XZDY52.js";import"../chunk-RNZ4CQEC.js";import"../chunk-OKWG3PVH.js";import{a as le}from"../chunk-DFTCAWMP.js";import"../chunk-DK5YPBDQ.js";export{ae as ANALYSIS_LONG_EDGE,xe as ASPECT_BANDS,C as AttestationError,Ge as BLUR_REFUSE_SHARPNESS_MAX,Ft as CAPTURE_CANDIDATE_SPACING_MS,Mt as CAPTURE_EXTRA_CANDIDATES,p as CENTERED_FACTOR,r as CIRCLE_RADIUS_FACTOR,Vt as CLIPPED_LUMA,u as CLIP_MIME_ALLOWLIST,Dt as CaptureSessionDoc,rr as DOCUMENT_TYPE_ORDER,Je as DOC_ANALYSIS_DEFAULTS,At as DOC_BLACK_FRAME_LUMA,It as DOC_BLACK_FRAME_TICKS,xt as DOC_CADENCE_HZ,$e as DOC_CAMERA_TUNING_DEFAULTS,de as DOC_CATALOG,Be as DOC_DETECT_WIDTH,We as DOC_FEEDBACK_STATES,Ot as DOC_FIRST_FRAME_MS,we as DOC_GATE_V1_DEFAULTS,Ct as DOC_SHUTTER_DEFAULTS,X as DocAssist,Ke as DocFeedbackAggregator,Ze as DocGateV1,Rt as EMPTY_GUIDE_METRICS,Ne as FLIP_FILL_MIN,Fe as FLIP_GAP_MS,ve as FLIP_TIMEOUT_MS,lt as GUIDE_LOCK_DEFAULTS,ft as GuideLock,bt as ICAO_CANVAS,wt as ICAO_FALLBACK,Yt as ICAO_GATE_CRITERIA,Xt as ICAO_SHARP_REF,I as INFERENCE_RETRY_ATTEMPTS,x as INFERENCE_RETRY_DEFAULT_S,o as IN_CIRCLE_FACTOR,tr as ISSUER_CODES,pe as LANDMARKER_MODEL,ot as LENS_STORAGE_KEY,_t as LENS_TRY_MAX,V as LIVE_MRZ_DEFAULTS,Le as LIVE_PHOTO_IDLE_MS,_e as LIVE_PHOTO_MAX_HZ,ge as MANUAL_SHUTTER_MS,Ye as MRZ_BAND_DEFAULTS,De as MR_DOC_CATALOG,be as NO_REPORT_MS,le as OCR_ASSET_SET,Te as OTP_RESEND_COOLDOWN_MS,se as PORTRAIT_JPEG_QUALITY,i as PRELOAD_BLAZE_INIT_TIMEOUT_MS,n as PRELOAD_BUDGET_MS,Se as PROCESSING_BACKOFF_MS,fe as PROCESSING_POLL_DELAY_MS,ue as PROCESSING_POLL_MAX,G as REGION_PAD,ye as REGISTRY_RETRY_DELAY_MS,S as RETRYABLE_REASONS,re as SAME_FACE_MAX_DROPS,g as SHARPNESS_LONG_EDGE,z as TEXT_LOCK_DEFAULTS,O as TRANSPORT_REPLAY_ATTEMPTS,A as TRANSPORT_REPLAY_DELAY_MS,M as TURNSTILE_EXECUTE_TIMEOUT_MS,d as TURNSTILE_SCRIPT_SRC,Q as WEB_OCR_ENGINE,pr as acceptedIssuers,or as acceptedTypesFor,qe as analyzeDocFrame,Tt as analyzeGuide,Ce as aspectBand,Pe as aspectFits,qt as backgroundStats,$ as browserFamily,Z as buildDeviceReadHint,B as classifyCardSide,K as classifyCardSideWith,st as coverPointToVideo,oe as createDocumentCaptureInternal,ne as createFaceLandmarker,Bt as createIcaoGate,Re as createLivePhotoKit,R as createLivenessCaptureInternal,me as createPortraitCaptureInternal,ce as createStepRunner,Ae as createVerificationInternal,U as cropImage,e as detectFormFactor,t as detectIsMobile,He as detectMrzBand,Et as docZoomFor,k as encodeDocumentImage,v as executeTurnstile,gt as eyeLineRoll,Wt as eyeOpenness,jt as eyeSpecular,Nt as faceGeometry,Qt as faceLighting,$t as faceSharpness,ie as facesOf,ke as feedbackVoteOf,nr as flagOf,mt as focusOk,te as formatMismatch,l as frontierStep,ct as guideQuad,St as guideRegionInFrame,er as icaoPixelStats,Gt as icaoWindow,he as initialScanState,T as isExecutable,c as isTerminalView,Ht as judgeIcao,tt as lensKindOf,ee as liveMrzWireReport,N as loadTurnstile,Zt as lumaPlane,_ as mapEngineState,L as mapErrorKind,m as mapGuidanceHint,f as mapSessionResult,W as measureBitmapSharpness,H as measureRegionSharpness,Ue as nextScanState,Ee as observePortraitFrame,Lt as openDocCamera,dt as passportBandOf,kt as percentile,b as photoSharpness,Ut as portraitCropRegion,Ie as portraitMatchStep,vt as poseFromMatrix,E as preloadedDetectorFactory,ze as quadAreaFrac,Xe as quadBounds,Ve as quadIou,je as quadTiltRatio,Oe as randomUuid,rt as rankBackCameras,pt as readStoredLens,Jt as regionStats,s as resetLivenessAssetsForTests,F as resetTurnstileForTests,Y as resizeLongEdge,ir as resolveAcceptedDocuments,et as resolveDocCameraTuning,Pt as resolveDocShutterTuning,yt as resolveGuideLockTuning,zt as resolveIcaoTuning,j as resolveWebOcrPlan,D as runLivenessFlow,P as runSubmission,Me as scannerFormatFor,Kt as scoreFrame,a as setPreloadLoaderForTests,J as settledHint,at as singleShotFocusAt,Qe as specularFraction,q as startWebOcr,y as stepOf,h as stillRegionOf,w as stillToImageData,nt as supportsFocusMode,ut as warmDocDetector,ht as windowOverflow,it as writeStoredLens};
@@ -1 +1 @@
1
- import{e as K}from"./chunk-A3FUGHAH.js";import{a as B,b as H,e as F,f as w,i as U}from"./chunk-VDNW4TR5.js";import{o as A}from"./chunk-G6MU3B5V.js";import"./chunk-CJHMFPL6.js";import"./chunk-RI3E7GBN.js";import{A as T,I as V,i as x}from"./chunk-LPQQOB6M.js";import"./chunk-SMKCBUJL.js";import"./chunk-MXWLCDFX.js";import{x as O}from"./chunk-XEOM3MX3.js";import"./chunk-G6LKLN4U.js";import"./chunk-TDLIXFDT.js";import"./chunk-7ZCZY3ZP.js";import"./chunk-BPE5NSQ2.js";import"./chunk-GI3UFGRQ.js";import{a as L,o as I}from"./chunk-KEIGHTGM.js";import"./chunk-YKXG7GME.js";import"./chunk-GT2ZLGF7.js";import"./chunk-EIETPWIG.js";import"./chunk-FUHDOEBP.js";import"./chunk-POIQGEZM.js";import"./chunk-2BFYVMUU.js";import"./chunk-FPXL63KZ.js";import{h as _}from"./chunk-JPAGYRNX.js";import{a as M}from"./chunk-Q6CPJVOG.js";import"./chunk-OKWG3PVH.js";import"./chunk-DFTCAWMP.js";import"./chunk-DK5YPBDQ.js";function z(e){let a=null,c=Promise.resolve(),u=!1,g=null,y=null,C=null,k=!1,m=()=>{a?.controller.handle.destroy(),a=null},h=()=>{let i=e.currentView(),l=i===null?null:w(i,{isMobile:e.isMobile()});return l?.kind==="portrait"?l:null},P=async(i,l)=>{if(e.destroyed())return;l.setFlowState("uploading"),u=!1;let d=null;try{await e.runner().submit("portrait_icao",async(n,r)=>{if(d===null){let p=await I(n,"image","image/jpeg",i.image.size,{engine:"portrait"});await n.uploadToSpaces(p.uploadUrl,i.image,"image/jpeg"),d=(await n.completeMedia(p.key)).key}l.setFlowState("checking");let s={media:{portrait:d},gate:_(i.gate),...i.tuningVersion!==void 0?{tuningVersion:i.tuningVersion}:{}};return n.submitCheck("portrait_icao",s,{idempotencyKey:r})},()=>{g=d})}catch{u=!0}if(l.setFlowState("done"),e.destroyed())return;let t=h();(t===null||t.phase!=="capture")&&a?.controller===l&&m(),e.runner().republish()},b=i=>e.runner().submit("face_match",(l,d)=>l.submitCheck("face_match",g!==null?{imageKey:g}:{},{idempotencyKey:d})).then(()=>{},()=>{u=!0,i()});return{bind:(i,l)=>{if(i.phase==="match")return m(),y!==i.attemptsRemaining&&!u&&(y=i.attemptsRemaining,b(l)),{...i,uploadFailed:u,resubmit:()=>(u=!1,y=i.attemptsRemaining,l(),b(l)),capture:()=>{throw new Error("the portrait was already accepted")}};y=null;let d=e.keptPortraitInput?.()??null;return d!==null&&(k||d!==C&&i.report===null&&i.reason===void 0&&!i.retakeOnly)?(k||(C=d,k=!0,e.runner().submit("portrait_icao",(t,n)=>t.submitCheck("portrait_icao",d,{idempotencyKey:n}),()=>{g=d.media.portrait}).catch(()=>{}).finally(()=>{k=!1,l()})),{kind:"processing",key:"processing",context:i.context,section:i.section,stalled:!1,refresh:()=>Promise.resolve()}):{...i,uploadFailed:u,resubmit:()=>Promise.resolve(),capture:t=>{if(a!==null&&a.video===t.video)return a.controller.handle;m(),u=!1;let n=A({video:t.video,tuning:i.tuning,tuningVersion:i.tuningVersion,...i.icao!=null?{policy:i.icao.policy}:{},...t.keepScreenAwake!==void 0?{keepScreenAwake:t.keepScreenAwake}:{},...t.assetBaseUrl!==void 0?{assetBaseUrl:t.assetBaseUrl}:{}},e.internals,()=>e.destroyed()?"self":L(e.currentView()));return a={video:t.video,controller:n},n.handle.on("captured",r=>{c=c.then(()=>P(r,n)).catch(()=>{})}),n.handle}}},destroy:m}}function j(e){let a=e;if(typeof a.apiOrigin!="string"||typeof a.sessionToken!="string")return;let c=`${a.apiOrigin}/api/v2/hosted/capture-reports`,u=a.sessionToken;return g=>{try{fetch(c,{method:"POST",headers:{"content-type":"application/json","x-session-token":u,"x-sekyro-sdk":`@sekyro/web/${M}`},body:JSON.stringify({reports:g}),keepalive:!0}).catch(()=>{})}catch{}}}function G(e){let a=e.apiOrigin;return K("sdk",typeof a=="string"&&/staging|sandbox|localhost/.test(a)?"sandbox":"live")}function le(e){let a=null,c=null,u=null,g=Promise.resolve(),y=()=>{u?.flow.handle.destroy(),u=null},C=async(t,n)=>{if(e.destroyed())return;n.setFlowState("uploading");let r=null,s,p=!1;try{await a.submit("doc_ocr",async(S,E)=>{if(r===null){let R=await I(S,"image","image/jpeg",t.image.size,{engine:"document"});await S.uploadToSpaces(R.uploadUrl,t.image,"image/jpeg"),r=(await S.completeMedia(R.key)).key}return n.setFlowState("checking"),s===void 0&&(s=n.takeDeviceRead(t)),S.submitCheck("doc_ocr",{imageKey:r,side:t.side,...s!==null?{deviceRead:s}:{}},{idempotencyKey:E})})}catch{p=!0}finally{n.setFlowState("done")}if(e.destroyed())return;if(p){n.settle(t.side,{ok:!1,issue:"technical"});return}let v=e.currentView(),o=v===null?null:w(v,{isMobile:e.isMobile()});if(o?.kind!=="document"){n.settle(t.side,{ok:!0}),u?.flow===n?y():n.handle.destroy();return}if(o.reason==="document_type_not_accepted"){c=null,u?.flow===n&&y(),a.republish();return}t.side==="single"||o.acceptedSides.includes(t.side)||o.reason==="side_missing"?(n.settle(t.side,{ok:!0}),c?.documentType!=="passport"&&n.handle.setSide(o.side)):n.settle(t.side,{ok:!1,issue:"reread"})},k=(t,n)=>({...t,issuer:c?.issuer??null,documentType:c?.documentType??null,captureSide:c===null?null:c.documentType==="passport"?"single":t.side,selectDocument:(r,s)=>{if(!H(t.documents).includes(r)||!B(t.documents,r).includes(s))throw new RangeError(`${s} from ${r} is not accepted`);(c?.issuer!==r||c.documentType!==s)&&y(),c={issuer:r,documentType:s},n()},capture:r=>{if(c===null)throw new Error("selectDocument() first");if(u!==null&&u.video===r.video)return u.flow.handle;y();let s=c,p=s.documentType==="passport"?"single":t.acceptedSides.length>0?t.side:void 0,v=O({video:r.video,documentType:s.documentType,issuer:s.issuer,...p!==void 0?{side:p}:{},...r.keepScreenAwake!==void 0?{keepScreenAwake:r.keepScreenAwake}:{},...r.liveMrz!==void 0?{liveMrz:r.liveMrz}:{}},{...e.documentInternals??{},...(()=>{let o=e.currentView()?.capture?.document,f=e.documentInternals?.blurRefuseSharpnessMax??o?.scan?.blurRefuseSharpnessMax;return{engineOptions:{camera:x(o?.camera),shutter:V(o?.scan),guideLock:T(o?.guide),...e.documentInternals?.engineOptions??{}},...typeof f=="number"&&Number.isFinite(f)&&f>=0&&f<=1?{blurRefuseSharpnessMax:f}:{}}})(),deferRead:!0,...(()=>{let o=e.currentView();if(o===null||e.documentInternals?.webOcr!==void 0)return{};let f=j(e.runtime.client);return{webOcr:{captureDocument:o.capture?.document,salt:o.sessionId,baseUrl:G(e.runtime.client),...f!==void 0?{reports:f}:{}}}})()});return u={video:r.video,flow:v},v.handle.on("captured",o=>{g=g.then(()=>C(o,v)).catch(()=>{})}),v.handle}}),m=null,h=null,P=new Set,b=e.runtime.client;e.runtime.client=new Proxy(b,{get(t,n){if(n==="submitCheck")return(h??t).submitCheck.bind(h??t);let r=Reflect.get(t,n);return typeof r=="function"?r.bind(t):r}});let D=()=>{m?.destroy(),m=null,h=null},i=t=>{let n=e.currentView(),r=n===null?null:w(n,{isMobile:e.isMobile()});if(n===null||r?.kind!=="liveness"||r.livePhoto?.icao!==!0)return;if(m===null){let o=F({tuning:n.capture?.icao??null,tuningVersion:n.capture?.tuningVersion??null,...r.icao!=null?{policy:r.icao.policy}:{},still:r.livePhoto.still,...t.assetBaseUrl!==void 0?{assetBaseUrl:t.assetBaseUrl}:{}},e.livePhotoInternals);m=o,h=o.decorate(b),o.onGate(f=>{for(let S of P)S(f)})}let s=m,p=e.baseCapture??{},v=p.engineOptions?.telemetry;return{...p,engineOptions:{...p.engineOptions??{},measureQuality:s.engineOptions.measureQuality,telemetry:o=>{v?.(o),s.engineOptions.telemetry(o)}}}},l=z({keptPortraitInput:()=>m?.lastPortraitInput()??null,runner:()=>a,currentView:e.currentView,destroyed:e.destroyed,isMobile:e.isMobile,...e.portraitInternals!==void 0?{internals:e.portraitInternals}:{}}),d=U({...e,bindDocument:k,bindPortrait:l.bind,onLivePhoto:t=>(P.add(t),()=>P.delete(t))});return a=d,{...d,captureInternals:i,destroy:()=>{y(),l.destroy(),D(),P.clear()}}}export{le as createPlanRunner,j as reportSink,G as sdkAssetBase};
1
+ import{e as K}from"./chunk-A3FUGHAH.js";import{a as B,b as H,e as F,f as w,i as U}from"./chunk-ZJUA2Y22.js";import{o as A}from"./chunk-G6MU3B5V.js";import"./chunk-CJHMFPL6.js";import"./chunk-RI3E7GBN.js";import{A as T,I as V,i as x}from"./chunk-RBDRJRXB.js";import"./chunk-SMKCBUJL.js";import"./chunk-MXWLCDFX.js";import{x as O}from"./chunk-M35OBPDV.js";import"./chunk-G6LKLN4U.js";import"./chunk-TDLIXFDT.js";import"./chunk-7ZCZY3ZP.js";import"./chunk-BPE5NSQ2.js";import"./chunk-GI3UFGRQ.js";import{a as L,o as I}from"./chunk-G7WHAP7L.js";import"./chunk-EIFZSEYD.js";import"./chunk-GT2ZLGF7.js";import"./chunk-7SJHXIM3.js";import"./chunk-FUHDOEBP.js";import"./chunk-POIQGEZM.js";import"./chunk-2BFYVMUU.js";import"./chunk-FPXL63KZ.js";import{h as _}from"./chunk-23XZDY52.js";import{a as M}from"./chunk-RNZ4CQEC.js";import"./chunk-OKWG3PVH.js";import"./chunk-DFTCAWMP.js";import"./chunk-DK5YPBDQ.js";function z(e){let a=null,c=Promise.resolve(),u=!1,g=null,y=null,C=null,k=!1,m=()=>{a?.controller.handle.destroy(),a=null},h=()=>{let i=e.currentView(),l=i===null?null:w(i,{isMobile:e.isMobile()});return l?.kind==="portrait"?l:null},P=async(i,l)=>{if(e.destroyed())return;l.setFlowState("uploading"),u=!1;let d=null;try{await e.runner().submit("portrait_icao",async(n,r)=>{if(d===null){let p=await I(n,"image","image/jpeg",i.image.size,{engine:"portrait"});await n.uploadToSpaces(p.uploadUrl,i.image,"image/jpeg"),d=(await n.completeMedia(p.key)).key}l.setFlowState("checking");let s={media:{portrait:d},gate:_(i.gate),...i.tuningVersion!==void 0?{tuningVersion:i.tuningVersion}:{}};return n.submitCheck("portrait_icao",s,{idempotencyKey:r})},()=>{g=d})}catch{u=!0}if(l.setFlowState("done"),e.destroyed())return;let t=h();(t===null||t.phase!=="capture")&&a?.controller===l&&m(),e.runner().republish()},b=i=>e.runner().submit("face_match",(l,d)=>l.submitCheck("face_match",g!==null?{imageKey:g}:{},{idempotencyKey:d})).then(()=>{},()=>{u=!0,i()});return{bind:(i,l)=>{if(i.phase==="match")return m(),y!==i.attemptsRemaining&&!u&&(y=i.attemptsRemaining,b(l)),{...i,uploadFailed:u,resubmit:()=>(u=!1,y=i.attemptsRemaining,l(),b(l)),capture:()=>{throw new Error("the portrait was already accepted")}};y=null;let d=e.keptPortraitInput?.()??null;return d!==null&&(k||d!==C&&i.report===null&&i.reason===void 0&&!i.retakeOnly)?(k||(C=d,k=!0,e.runner().submit("portrait_icao",(t,n)=>t.submitCheck("portrait_icao",d,{idempotencyKey:n}),()=>{g=d.media.portrait}).catch(()=>{}).finally(()=>{k=!1,l()})),{kind:"processing",key:"processing",context:i.context,section:i.section,stalled:!1,refresh:()=>Promise.resolve()}):{...i,uploadFailed:u,resubmit:()=>Promise.resolve(),capture:t=>{if(a!==null&&a.video===t.video)return a.controller.handle;m(),u=!1;let n=A({video:t.video,tuning:i.tuning,tuningVersion:i.tuningVersion,...i.icao!=null?{policy:i.icao.policy}:{},...t.keepScreenAwake!==void 0?{keepScreenAwake:t.keepScreenAwake}:{},...t.assetBaseUrl!==void 0?{assetBaseUrl:t.assetBaseUrl}:{}},e.internals,()=>e.destroyed()?"self":L(e.currentView()));return a={video:t.video,controller:n},n.handle.on("captured",r=>{c=c.then(()=>P(r,n)).catch(()=>{})}),n.handle}}},destroy:m}}function j(e){let a=e;if(typeof a.apiOrigin!="string"||typeof a.sessionToken!="string")return;let c=`${a.apiOrigin}/api/v2/hosted/capture-reports`,u=a.sessionToken;return g=>{try{fetch(c,{method:"POST",headers:{"content-type":"application/json","x-session-token":u,"x-sekyro-sdk":`@sekyro/web/${M}`},body:JSON.stringify({reports:g}),keepalive:!0}).catch(()=>{})}catch{}}}function G(e){let a=e.apiOrigin;return K("sdk",typeof a=="string"&&/staging|sandbox|localhost/.test(a)?"sandbox":"live")}function le(e){let a=null,c=null,u=null,g=Promise.resolve(),y=()=>{u?.flow.handle.destroy(),u=null},C=async(t,n)=>{if(e.destroyed())return;n.setFlowState("uploading");let r=null,s,p=!1;try{await a.submit("doc_ocr",async(S,E)=>{if(r===null){let R=await I(S,"image","image/jpeg",t.image.size,{engine:"document"});await S.uploadToSpaces(R.uploadUrl,t.image,"image/jpeg"),r=(await S.completeMedia(R.key)).key}return n.setFlowState("checking"),s===void 0&&(s=n.takeDeviceRead(t)),S.submitCheck("doc_ocr",{imageKey:r,side:t.side,...s!==null?{deviceRead:s}:{}},{idempotencyKey:E})})}catch{p=!0}finally{n.setFlowState("done")}if(e.destroyed())return;if(p){n.settle(t.side,{ok:!1,issue:"technical"});return}let v=e.currentView(),o=v===null?null:w(v,{isMobile:e.isMobile()});if(o?.kind!=="document"){n.settle(t.side,{ok:!0}),u?.flow===n?y():n.handle.destroy();return}if(o.reason==="document_type_not_accepted"){c=null,u?.flow===n&&y(),a.republish();return}t.side==="single"||o.acceptedSides.includes(t.side)||o.reason==="side_missing"?(n.settle(t.side,{ok:!0}),c?.documentType!=="passport"&&n.handle.setSide(o.side)):n.settle(t.side,{ok:!1,issue:"reread"})},k=(t,n)=>({...t,issuer:c?.issuer??null,documentType:c?.documentType??null,captureSide:c===null?null:c.documentType==="passport"?"single":t.side,selectDocument:(r,s)=>{if(!H(t.documents).includes(r)||!B(t.documents,r).includes(s))throw new RangeError(`${s} from ${r} is not accepted`);(c?.issuer!==r||c.documentType!==s)&&y(),c={issuer:r,documentType:s},n()},capture:r=>{if(c===null)throw new Error("selectDocument() first");if(u!==null&&u.video===r.video)return u.flow.handle;y();let s=c,p=s.documentType==="passport"?"single":t.acceptedSides.length>0?t.side:void 0,v=O({video:r.video,documentType:s.documentType,issuer:s.issuer,...p!==void 0?{side:p}:{},...r.keepScreenAwake!==void 0?{keepScreenAwake:r.keepScreenAwake}:{},...r.liveMrz!==void 0?{liveMrz:r.liveMrz}:{}},{...e.documentInternals??{},...(()=>{let o=e.currentView()?.capture?.document,f=e.documentInternals?.blurRefuseSharpnessMax??o?.scan?.blurRefuseSharpnessMax;return{engineOptions:{camera:x(o?.camera),shutter:V(o?.scan),guideLock:T(o?.guide),...e.documentInternals?.engineOptions??{}},...typeof f=="number"&&Number.isFinite(f)&&f>=0&&f<=1?{blurRefuseSharpnessMax:f}:{}}})(),deferRead:!0,...(()=>{let o=e.currentView();if(o===null||e.documentInternals?.webOcr!==void 0)return{};let f=j(e.runtime.client);return{webOcr:{captureDocument:o.capture?.document,salt:o.sessionId,baseUrl:G(e.runtime.client),...f!==void 0?{reports:f}:{}}}})()});return u={video:r.video,flow:v},v.handle.on("captured",o=>{g=g.then(()=>C(o,v)).catch(()=>{})}),v.handle}}),m=null,h=null,P=new Set,b=e.runtime.client;e.runtime.client=new Proxy(b,{get(t,n){if(n==="submitCheck")return(h??t).submitCheck.bind(h??t);let r=Reflect.get(t,n);return typeof r=="function"?r.bind(t):r}});let D=()=>{m?.destroy(),m=null,h=null},i=t=>{let n=e.currentView(),r=n===null?null:w(n,{isMobile:e.isMobile()});if(n===null||r?.kind!=="liveness"||r.livePhoto?.icao!==!0)return;if(m===null){let o=F({tuning:n.capture?.icao??null,tuningVersion:n.capture?.tuningVersion??null,...r.icao!=null?{policy:r.icao.policy}:{},still:r.livePhoto.still,...t.assetBaseUrl!==void 0?{assetBaseUrl:t.assetBaseUrl}:{}},e.livePhotoInternals);m=o,h=o.decorate(b),o.onGate(f=>{for(let S of P)S(f)})}let s=m,p=e.baseCapture??{},v=p.engineOptions?.telemetry;return{...p,engineOptions:{...p.engineOptions??{},measureQuality:s.engineOptions.measureQuality,telemetry:o=>{v?.(o),s.engineOptions.telemetry(o)}}}},l=z({keptPortraitInput:()=>m?.lastPortraitInput()??null,runner:()=>a,currentView:e.currentView,destroyed:e.destroyed,isMobile:e.isMobile,...e.portraitInternals!==void 0?{internals:e.portraitInternals}:{}}),d=U({...e,bindDocument:k,bindPortrait:l.bind,onLivePhoto:t=>(P.add(t),()=>P.delete(t))});return a=d,{...d,captureInternals:i,destroy:()=>{y(),l.destroy(),D(),P.clear()}}}export{le as createPlanRunner,j as reportSink,G as sdkAssetBase};
@@ -777,8 +777,14 @@ interface HostedVoiceView {
777
777
  readonly [L in HostedVoiceLocale]?: Readonly<Record<string, string>>;
778
778
  };
779
779
  }
780
- /** A branding colour key (each value is `#rrggbb`). */
781
- type HostedBrandingColorKey = "brand" | "brandFg" | "bg" | "surface" | "fg" | "fgMuted" | "danger" | "success" | "warning";
780
+ /**
781
+ * A branding colour key (each value is `#rrggbb`).
782
+ *
783
+ * Status colours (`danger`, `success`, `warning`) are no longer part of partner
784
+ * branding: they are standard on every partner page since 0.1.0-rc.15 and
785
+ * follow the partner surface automatically.
786
+ */
787
+ type HostedBrandingColorKey = "brand" | "brandFg" | "bg" | "surface" | "fg" | "fgMuted";
782
788
  /**
783
789
  * The org / app branding of a session (`HostedSessionView.branding`): only the
784
790
  * fields set in the dashboard, merged per field (app over org). A field the
@@ -1092,7 +1098,7 @@ interface HostedSessionView {
1092
1098
  level?: VerificationLevel | null;
1093
1099
  /** How the level was proved, once terminal; `null` while it runs. Absent on older APIs. */
1094
1100
  assurance?: VerificationAssurance | null;
1095
- /** The subject (person) the session is linked to, once known. Absent on older APIs. */
1101
+ /** The subject (person) the session is linked to, once that subject has passed a verification (absent before that). Absent on older APIs. */
1096
1102
  subjectId?: string;
1097
1103
  /**
1098
1104
  * A returning-user session (profile v2 step 5): the person verified before
@@ -1154,6 +1160,15 @@ interface HostedSessionView {
1154
1160
  returnUrl?: string;
1155
1161
  state?: string;
1156
1162
  };
1163
+ /**
1164
+ * Custom domains (spec 2026-11-02 §5.4): `origin` = where this session's link was minted, `hosts` = the
1165
+ * hostnames allowed to serve it (the platform host, then the org's active custom hostnames). Absent on older
1166
+ * APIs; the SDK does not need it.
1167
+ */
1168
+ hosted?: {
1169
+ origin: string;
1170
+ hosts: string[];
1171
+ };
1157
1172
  }
1158
1173
  /** `POST /hosted/consent` result — 201 on first record, 200 `{alreadyRecorded: true}` on replay. */
1159
1174
  /**
@@ -777,8 +777,14 @@ interface HostedVoiceView {
777
777
  readonly [L in HostedVoiceLocale]?: Readonly<Record<string, string>>;
778
778
  };
779
779
  }
780
- /** A branding colour key (each value is `#rrggbb`). */
781
- type HostedBrandingColorKey = "brand" | "brandFg" | "bg" | "surface" | "fg" | "fgMuted" | "danger" | "success" | "warning";
780
+ /**
781
+ * A branding colour key (each value is `#rrggbb`).
782
+ *
783
+ * Status colours (`danger`, `success`, `warning`) are no longer part of partner
784
+ * branding: they are standard on every partner page since 0.1.0-rc.15 and
785
+ * follow the partner surface automatically.
786
+ */
787
+ type HostedBrandingColorKey = "brand" | "brandFg" | "bg" | "surface" | "fg" | "fgMuted";
782
788
  /**
783
789
  * The org / app branding of a session (`HostedSessionView.branding`): only the
784
790
  * fields set in the dashboard, merged per field (app over org). A field the
@@ -1092,7 +1098,7 @@ interface HostedSessionView {
1092
1098
  level?: VerificationLevel | null;
1093
1099
  /** How the level was proved, once terminal; `null` while it runs. Absent on older APIs. */
1094
1100
  assurance?: VerificationAssurance | null;
1095
- /** The subject (person) the session is linked to, once known. Absent on older APIs. */
1101
+ /** The subject (person) the session is linked to, once that subject has passed a verification (absent before that). Absent on older APIs. */
1096
1102
  subjectId?: string;
1097
1103
  /**
1098
1104
  * A returning-user session (profile v2 step 5): the person verified before
@@ -1154,6 +1160,15 @@ interface HostedSessionView {
1154
1160
  returnUrl?: string;
1155
1161
  state?: string;
1156
1162
  };
1163
+ /**
1164
+ * Custom domains (spec 2026-11-02 §5.4): `origin` = where this session's link was minted, `hosts` = the
1165
+ * hostnames allowed to serve it (the platform host, then the org's active custom hostnames). Absent on older
1166
+ * APIs; the SDK does not need it.
1167
+ */
1168
+ hosted?: {
1169
+ origin: string;
1170
+ hosts: string[];
1171
+ };
1157
1172
  }
1158
1173
  /** `POST /hosted/consent` result — 201 on first record, 200 `{alreadyRecorded: true}` on replay. */
1159
1174
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sekyro/web",
3
- "version": "0.1.0-rc.14",
3
+ "version": "0.1.0-rc.15",
4
4
  "description": "Sekyro AI web SDK \u2014 browser liveness capture, hosted-verification client and popup embed for Sekyro AI identity verification",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {
package/sbom.cdx.json CHANGED
@@ -97,8 +97,8 @@
97
97
  "type": "application",
98
98
  "name": "web",
99
99
  "group": "@sekyro",
100
- "version": "0.1.0-rc.14",
101
- "bom-ref": "@sekyro/web@0.1.0-rc.14",
100
+ "version": "0.1.0-rc.15",
101
+ "bom-ref": "@sekyro/web@0.1.0-rc.15",
102
102
  "description": "Sekyro AI web SDK — browser liveness capture, hosted-verification client and popup embed for Sekyro AI identity verification",
103
103
  "licenses": [
104
104
  {
@@ -108,7 +108,7 @@
108
108
  }
109
109
  }
110
110
  ],
111
- "purl": "pkg:npm/%40sekyro/web@0.1.0-rc.14?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2FIBTIKAR-Technologies%2Fibtikar-identity.git%23packages%2Fsekyro-web",
111
+ "purl": "pkg:npm/%40sekyro/web@0.1.0-rc.15?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2FIBTIKAR-Technologies%2Fibtikar-identity.git%23packages%2Fsekyro-web",
112
112
  "externalReferences": [
113
113
  {
114
114
  "url": "https://github.com/IBTIKAR-Technologies/ibtikar-identity/issues",
@@ -150,7 +150,7 @@
150
150
  "name": "tasks-vision",
151
151
  "group": "@mediapipe",
152
152
  "version": "0.10.35",
153
- "bom-ref": "@sekyro/web@0.1.0-rc.14|@mediapipe/tasks-vision@0.10.35",
153
+ "bom-ref": "@sekyro/web@0.1.0-rc.15|@mediapipe/tasks-vision@0.10.35",
154
154
  "licenses": [
155
155
  {
156
156
  "license": {
@@ -183,13 +183,13 @@
183
183
  ],
184
184
  "dependencies": [
185
185
  {
186
- "ref": "@sekyro/web@0.1.0-rc.14",
186
+ "ref": "@sekyro/web@0.1.0-rc.15",
187
187
  "dependsOn": [
188
- "@sekyro/web@0.1.0-rc.14|@mediapipe/tasks-vision@0.10.35"
188
+ "@sekyro/web@0.1.0-rc.15|@mediapipe/tasks-vision@0.10.35"
189
189
  ]
190
190
  },
191
191
  {
192
- "ref": "@sekyro/web@0.1.0-rc.14|@mediapipe/tasks-vision@0.10.35"
192
+ "ref": "@sekyro/web@0.1.0-rc.15|@mediapipe/tasks-vision@0.10.35"
193
193
  }
194
194
  ]
195
195
  }