@incodetech/core 0.0.0-dev-20260715-b208c5e1 → 0.0.0-dev-20260715-dcc78bcd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{3dAvatarProvider-BYxFCuIv.esm.js → 3dAvatarProvider-D9H4rR6_.esm.js} +811 -880
- package/dist/Actor-iTq7YY48.d.ts +1 -0
- package/dist/{BrowserStorageProvider-CBXGCHnK.esm.js → BrowserStorageProvider-P6aUarE9.esm.js} +1 -2
- package/dist/{BrowserTimerProvider-CHloo0eQ.esm.js → BrowserTimerProvider-BXhgNxLt.esm.js} +1 -2
- package/dist/{BrowserVisibilityObserverProvider-B04zvOXW.esm.js → BrowserVisibilityObserverProvider-sJclps4C.esm.js} +1 -3
- package/dist/{Face2DProvider-TeN1Xqr0.esm.js → Face2DProvider-xWUeSJZI.esm.js} +10 -22
- package/dist/{createFaceAvatar-BjBu2CrU.d.ts → FaceDetectionProvider-BHweGBEM.d.ts} +108 -159
- package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +23 -0
- package/dist/IStorageCapability-B8IGxCwe.d.ts +131 -0
- package/dist/{ITimerCapability-G7lQg-be.esm.js → ITimerCapability-DgdDzp8G.esm.js} +1 -2
- package/dist/{Manager-DE5DydXZ.d.ts → Manager-CQQ99QOI.d.ts} +1 -0
- package/dist/{MotionSensorProvider-BkHKMCPE.esm.js → MotionSensorProvider-DYvM90IX.esm.js} +1 -2
- package/dist/{OpenViduRecordingProvider-xR5osKzW.esm.js → OpenViduRecordingProvider-Du98qevC.esm.js} +2 -4
- package/dist/{PrivacyLensProvider-CqlsCaJv.esm.js → PrivacyLensProvider-BrYSd1dr.esm.js} +2 -5
- package/dist/StateMachine-EDpYWy0i.d.ts +6 -0
- package/dist/{StreamCanvasCapture-CRk7c7u7.esm.js → StreamCanvasCapture-D2XcXCZ4.esm.js} +2 -4
- package/dist/{WasmUtilProvider-BNQ2PBjG.esm.js → WasmUtilProvider-DAshwHhX.esm.js} +38 -71
- package/dist/{addressSearch-B2NxSpHl.esm.js → addressSearch-DH-IPF-w.esm.js} +10 -21
- package/dist/ae-signature.d.ts +2 -6
- package/dist/ae-signature.esm.js +10 -11
- package/dist/antifraud.d.ts +1 -6
- package/dist/antifraud.esm.js +3 -8
- package/dist/{antifraudManager-C490m0p4.d.ts → antifraudManager-BY36bS12.d.ts} +3 -3
- package/dist/{antifraudManager-C1xnhF2Q.esm.js → antifraudManager-CL2YhiVX.esm.js} +11 -8
- package/dist/{antifraudStateMachine-BQVw46N5.esm.js → antifraudStateMachine-Bf-IiCq7.esm.js} +5 -7
- package/dist/{api-DsbUi7TO.esm.js → api-BDTZNnca.esm.js} +1 -2
- package/dist/{apiError-DkOXfFBu.esm.js → apiError-COvIGYWe.esm.js} +1 -2
- package/dist/authentication.d.ts +2 -19
- package/dist/authentication.esm.js +3 -34
- package/dist/{authenticationManager-DZXQpCjQ.esm.js → authenticationManager-DM7ttL5V.esm.js} +7 -10
- package/dist/{authenticationManager-BD81fnrn.d.ts → authenticationManager-G-k-13Fe.d.ts} +3 -4
- package/dist/{authenticationStateMachine-CJrTbLWU.esm.js → authenticationStateMachine-DiI8jfmO.esm.js} +11 -15
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +2 -3
- package/dist/{backCameraStream-DYnfq7Hr.esm.js → backCameraStream-Heg6vA1j.esm.js} +4 -7
- package/dist/browser-DlFgHpoC-DnyrCR8r.esm.js +1513 -0
- package/dist/callback-645_omgz.d.ts +133 -0
- package/dist/{camera-B0yWS33x.esm.js → camera-BmFEyPP_.esm.js} +1 -2
- package/dist/camera.d.ts +1 -2
- package/dist/camera.esm.js +2 -6
- package/dist/{canvas-DsJa51yU.esm.js → canvas-E1zGkel4.esm.js} +1 -2
- package/dist/certificate-issuance.d.ts +34 -39
- package/dist/certificate-issuance.esm.js +4 -11
- package/dist/{certificateIssuanceStateMachine-CpewPqas.esm.js → certificateIssuanceStateMachine-Ce568YfR.esm.js} +7 -11
- package/dist/{clientLifecycle-CCJMDjFe.esm.js → clientLifecycle-DzT65Fvf.esm.js} +23 -29
- package/dist/consent.d.ts +1 -4
- package/dist/consent.esm.js +3 -8
- package/dist/{consentManager-r4MTIoV3.esm.js → consentManager-D3GyyH5u.esm.js} +5 -7
- package/dist/{consentManager-QGuw4zmH.d.ts → consentManager-DLOyIZzt.d.ts} +58 -64
- package/dist/{consentStateMachine-DnqwsZ7o.esm.js → consentStateMachine-Pc3Ez3mV.esm.js} +5 -7
- package/dist/{cpf-B9htWzDt.esm.js → cpf-BIADjddF.esm.js} +1 -2
- package/dist/cpf-ocr.d.ts +1 -5
- package/dist/cpf-ocr.esm.js +2 -8
- package/dist/{cpfOcrManager-RkeZCqSz.d.ts → cpfOcrManager-CQkUAeWO.d.ts} +21 -23
- package/dist/{cpfOcrManager-D6ZQ9kkv.esm.js → cpfOcrManager-Cwm0MesJ.esm.js} +7 -12
- package/dist/createFaceAvatar-BEj18KXi.d.ts +50 -0
- package/dist/{createFaceAvatar-B_v2At2h.esm.js → createFaceAvatar-CwVapQiu.esm.js} +5 -9
- package/dist/cross-document-data-match.d.ts +1 -5
- package/dist/cross-document-data-match.esm.js +2 -8
- package/dist/{crossDocumentDataMatchManager-DoFG_S91.esm.js → crossDocumentDataMatchManager-9rdIO8Qk.esm.js} +12 -12
- package/dist/{crossDocumentDataMatchManager-CdiqxhJm.d.ts → crossDocumentDataMatchManager-Dq8Z3SOg.d.ts} +3 -3
- package/dist/curp-validation.d.ts +1 -11
- package/dist/curp-validation.esm.js +3 -8
- package/dist/{curpValidationManager-07oV78Bn.d.ts → curpValidationManager--HSBTwOy.d.ts} +4 -6
- package/dist/{curpValidationManager-D6jt1Gs9.esm.js → curpValidationManager-C2i9Lzx9.esm.js} +11 -7
- package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-7i3TD8J2.esm.js} +22 -14
- package/dist/custom-fields.d.ts +2 -5
- package/dist/custom-fields.esm.js +24 -11
- package/dist/custom-watchlist.d.ts +1 -3
- package/dist/custom-watchlist.esm.js +11 -10
- package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-D23XTxl2.esm.js} +5 -7
- package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-CvG0FvK8.esm.js} +1 -2
- package/dist/{deepsightService-CV1NAkg9.esm.js → deepsightLoader-CQWGVLP0.esm.js} +62 -14
- package/dist/deepsightService-CR-CYdka.d.ts +218 -0
- package/dist/device.d.ts +0 -1
- package/dist/device.esm.js +5 -10
- package/dist/document-capture.d.ts +1 -6
- package/dist/document-capture.esm.js +3 -16
- package/dist/document-upload.d.ts +48 -55
- package/dist/document-upload.esm.js +8 -14
- package/dist/{documentCaptureManager-HNu28khr.d.ts → documentCaptureManager-Biz_PFqs.d.ts} +190 -199
- package/dist/{documentCaptureManager-pufyUaQz.esm.js → documentCaptureManager-DijbJFun.esm.js} +5 -7
- package/dist/{documentCaptureStateMachine-CaJgb_Vn.esm.js → documentCaptureStateMachine-qgsrlcVh.esm.js} +11 -15
- package/dist/dynamic-forms.d.ts +1 -4
- package/dist/dynamic-forms.esm.js +3 -10
- package/dist/{dynamicFormsManager-C3jlNlWK.esm.js → dynamicFormsManager-COik5bJ7.esm.js} +41 -7
- package/dist/{dynamicFormsManager-HQhUJCLg.d.ts → dynamicFormsManager-Dposae2l.d.ts} +3 -4
- package/dist/{dynamicFormsStateMachine-DdpJI6ne.esm.js → dynamicFormsStateMachine-BV-Fn13x.esm.js} +7 -11
- package/dist/ekyb.d.ts +4 -11
- package/dist/ekyb.esm.js +3 -20
- package/dist/{ekybManager-l67BnqxH.esm.js → ekybManager-BTcW4poN.esm.js} +17 -7
- package/dist/{ekybManager-CZUVEWMw.d.ts → ekybManager-CBX0tM04.d.ts} +4 -5
- package/dist/{ekybStateMachine-BmfNaHRF.esm.js → ekybStateMachine-DmZLm35R.esm.js} +16 -25
- package/dist/ekyc.d.ts +2 -7
- package/dist/ekyc.esm.js +3 -11
- package/dist/{ekycManager-ClRqj2rg.d.ts → ekycManager-BFpHbBoT.d.ts} +4 -5
- package/dist/{ekycManager-B_uUa1iN.esm.js → ekycManager-BSMlIpGA.esm.js} +14 -7
- package/dist/{ekycStateMachine-BD8GjdL5.esm.js → ekycStateMachine-a7oP-XWo.esm.js} +140 -201
- package/dist/electronic-signature.d.ts +2 -5
- package/dist/electronic-signature.esm.js +2 -10
- package/dist/{electronicSignatureManager-CzMj-Tjm.esm.js → electronicSignatureManager-DSZu9OHT.esm.js} +9 -14
- package/dist/email.d.ts +1 -5
- package/dist/email.esm.js +3 -10
- package/dist/{emailManager-Lv9BHgel.d.ts → emailManager-CADXW_9X.d.ts} +4 -7
- package/dist/{emailManager-BsynjdWX.esm.js → emailManager-c-mDLieD.esm.js} +76 -12
- package/dist/{emailStateMachine-Z-Jf4qOc.esm.js → emailStateMachine-ChNwY22u.esm.js} +7 -9
- package/dist/{endpoints-CwrFQfW7.esm.js → endpoints-DLQ0g4-R.esm.js} +33 -2
- package/dist/{events-aeCkGlnn.esm.js → events-Dy8PyVO5.esm.js} +4 -168
- package/dist/events.d.ts +1 -9
- package/dist/events.esm.js +2 -4
- package/dist/extensibility.d.ts +30 -42
- package/dist/extensibility.esm.js +29 -87
- package/dist/{externalFetch-hvmz_npP.esm.js → externalFetch-BKBThAUC.esm.js} +2 -4
- package/dist/face-match.d.ts +1 -5
- package/dist/face-match.esm.js +3 -8
- package/dist/{faceCaptureManagerFactory-CGFQg1kl.d.ts → faceCaptureManagerFactory-BWD3O4Eg.d.ts} +50 -14
- package/dist/{faceCaptureManagerFactory-BIH53wvb.esm.js → faceCaptureManagerFactory-CZLSziU3.esm.js} +49 -28
- package/dist/{faceCaptureSetup-shrwrZaK.esm.js → faceCaptureSetup-__lVldUG.esm.js} +12 -15
- package/dist/{faceMatchManager-BrNYVk-p.esm.js → faceMatchManager-B7jlv77Q.esm.js} +24 -7
- package/dist/{faceMatchManager-X2eQo0o-.d.ts → faceMatchManager-CJQG1W1u.d.ts} +4 -4
- package/dist/{faceMatchStateMachine-CbeacEqd.esm.js → faceMatchStateMachine-DD7FxtUj.esm.js} +6 -9
- package/dist/field-comparison.d.ts +1 -4
- package/dist/field-comparison.esm.js +2 -7
- package/dist/{fieldComparisonManager-BxhleGNI.esm.js → fieldComparisonManager-5LlxYad-.esm.js} +6 -11
- package/dist/{fieldComparisonManager-Dg03uIX1.d.ts → fieldComparisonManager-CBvEGxFx.d.ts} +3 -5
- package/dist/fiscal-qr.d.ts +1 -6
- package/dist/fiscal-qr.esm.js +14 -29
- package/dist/flow-events.d.ts +2 -9
- package/dist/flow.d.ts +13 -19
- package/dist/flow.esm.js +109 -34
- package/dist/{flowCompletionService-qf-s8Uxl.esm.js → flowCompletionService-DQSC7Kso.esm.js} +4 -6
- package/dist/{flowServices-CJXaWFlZ.esm.js → flowServices-BQEUaMg6.esm.js} +10 -11
- package/dist/geolocation.d.ts +1 -4
- package/dist/geolocation.esm.js +3 -9
- package/dist/{geolocationManager-CAtyY00b.d.ts → geolocationManager-BWhRzBjk.d.ts} +3 -4
- package/dist/{geolocationManager-4j_DV3jW.esm.js → geolocationManager-D58ehBHU.esm.js} +19 -8
- package/dist/{geolocationStateMachine-BE72KBAX.esm.js → geolocationStateMachine-BorcBNZ6.esm.js} +6 -8
- package/dist/getBrowser-Cb8Zgrgp.esm.js +7 -0
- package/dist/{getDeviceClass-BdgmyOOu.esm.js → getDeviceClass-CeBiEayS.esm.js} +1 -2
- package/dist/{getDeviceClass-DsNb6nEl.esm.js → getDeviceClass-CkgnSJel.esm.js} +3 -5
- package/dist/{getBrowser-CZ66VtC7.esm.js → getParsedUserAgent-pJjATANs.esm.js} +109 -30
- package/dist/government-validation.d.ts +3 -6
- package/dist/government-validation.esm.js +7 -13
- package/dist/{governmentValidationStateMachine-BfZ_WQC0.esm.js → governmentValidationStateMachine-DkakcwTj.esm.js} +8 -11
- package/dist/home.d.ts +14 -22
- package/dist/home.esm.js +3 -8
- package/dist/http.d.ts +0 -1
- package/dist/http.esm.js +2 -4
- package/dist/id-ocr.d.ts +1 -5
- package/dist/id-ocr.esm.js +3 -9
- package/dist/id-verification.d.ts +1 -4
- package/dist/id-verification.esm.js +3 -8
- package/dist/id.d.ts +105 -18
- package/dist/id.esm.js +40 -50
- package/dist/{idCaptureDefaults-Df8XKQ0o.esm.js → idCaptureDefaults-Dzfws4i0.esm.js} +9 -16
- package/dist/{idCaptureManager-Fr9c67Rx.esm.js → idCaptureManager-BGAdNNVq.esm.js} +117 -23
- package/dist/{idCaptureManager-BXG8kVMW.d.ts → idCaptureManager-CSGbGORT.d.ts} +12 -113
- package/dist/{idCaptureStateMachine-CpjwdaYN.esm.js → idCaptureStateMachine-DYgckwCg.esm.js} +56 -195
- package/dist/{idOcrManager-DLF3J2cx.esm.js → idOcrManager-niAg-BE0.esm.js} +4 -7
- package/dist/{idOcrManager-DnhdGuVX.d.ts → idOcrManager-vXa7GdRh.d.ts} +60 -66
- package/dist/{idOcrStateMachine-BPXTUjNY.esm.js → idOcrStateMachine-CpZZL411.esm.js} +13 -18
- package/dist/{idVerificationManager-BD2FO09A.d.ts → idVerificationManager-BB4Pj_N6.d.ts} +31 -35
- package/dist/{idVerificationManager-23kPMn7T.esm.js → idVerificationManager-CujJqsiX.esm.js} +4 -7
- package/dist/{idVerificationStateMachine-C1eMEu_Y.esm.js → idVerificationStateMachine-D-1GlgC5.esm.js} +5 -7
- package/dist/identity-reuse.d.ts +1 -4
- package/dist/identity-reuse.esm.js +3 -8
- package/dist/{identityReuseManager-Ct-9qYpC.esm.js → identityReuseManager-DHfJZTVo.esm.js} +24 -7
- package/dist/{identityReuseManager-DOufEjLa.d.ts → identityReuseManager-aTyLyYrr.d.ts} +38 -43
- package/dist/{identityReuseStateMachine-Cqc-NwEQ.esm.js → identityReuseStateMachine-CM45EBrb.esm.js} +6 -8
- package/dist/index-B8weJxmL.d.ts +1 -0
- package/dist/index-BKOWUhxG.d.ts +258 -0
- package/dist/{index-WMHgnbC1.d.ts → index-CKbmDFNq.d.ts} +160 -165
- package/dist/{index-Bk5nhSg2.d.ts → index-DQ2fdqoI.d.ts} +3 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +2 -15
- package/dist/{invokeOnCaptureCallback-Bs09kdY_.esm.js → invokeOnCaptureCallback-B-QfsCQY.esm.js} +2 -4
- package/dist/{lib-DvZ6nVvW.esm.js → lib-DAyUtOTj.esm.js} +1510 -1589
- package/dist/mandatory-consent.d.ts +1 -10
- package/dist/mandatory-consent.esm.js +3 -8
- package/dist/{mandatoryConsentManager-D0qQHcl2.d.ts → mandatoryConsentManager-BlB4bX6_.d.ts} +59 -65
- package/dist/{mandatoryConsentManager-Bh_n0uEP.esm.js → mandatoryConsentManager-CQC-zA4P.esm.js} +4 -7
- package/dist/{mandatoryConsentStateMachine-DYeKH1L7.esm.js → mandatoryConsentStateMachine-BN4Obfl7.esm.js} +5 -7
- package/dist/{mediaRecorderOptions-BIn657lu.esm.js → mediaRecorderOptions-BhSZDDNb.esm.js} +2 -4
- package/dist/{mediapipeShared-B-RiRyLN.esm.js → mediapipeShared-B0iQQ5k7.esm.js} +2 -6
- package/dist/{onDeviceFaceResults-CJuDp67S.esm.js → onDeviceFaceResults-LRTvBL7m.esm.js} +18 -84
- package/dist/openviduLazy-CCDpFWg1.esm.js +10 -0
- package/dist/{otp-D_9QPNbs.d.ts → otp-CEWfTj9v.d.ts} +0 -1
- package/dist/{otp-Bbe_izFJ.esm.js → otp-D2k3PeSL.esm.js} +3 -14
- package/dist/{permissionGuards-CayfS8OY.esm.js → permissionGuards-DguX5vFY.esm.js} +2 -4
- package/dist/{permissionServices-B7lD6fiG.esm.js → permissionServices-DwNCUB2I.esm.js} +4 -9
- package/dist/personhood.d.ts +13 -20
- package/dist/personhood.esm.js +153 -72
- package/dist/phone.d.ts +1 -5
- package/dist/phone.esm.js +3 -10
- package/dist/{phoneManager-85eRUhJD.d.ts → phoneManager-BBU8Lq0O.d.ts} +4 -7
- package/dist/{phoneManager-Byive8Xl.esm.js → phoneManager-KbcmjEeH.esm.js} +82 -12
- package/dist/{phoneStateMachine-BlYF4nKx.esm.js → phoneStateMachine-wDQtaT38.esm.js} +7 -9
- package/dist/{platform-BoeUeUrV.esm.js → platform-wmV7oTAJ.esm.js} +1 -9
- package/dist/qe-signature.d.ts +2 -6
- package/dist/qe-signature.esm.js +10 -11
- package/dist/{recordingService-BzQUrf40.esm.js → recordingService-TuBlOjvH.esm.js} +15 -19
- package/dist/redirect-to-mobile.d.ts +1 -6
- package/dist/redirect-to-mobile.esm.js +3 -10
- package/dist/{redirectToMobileManager-DrxIfZr8.esm.js → redirectToMobileManager-EGXGKftv.esm.js} +25 -8
- package/dist/{redirectToMobileManager-2TtzpSOw.d.ts → redirectToMobileManager-NVQM3o5P.d.ts} +3 -4
- package/dist/{redirectToMobileStateMachine-BetR6r8p.esm.js → redirectToMobileStateMachine-D-8ipBq2.esm.js} +7 -9
- package/dist/rolldown-runtime-FZ4Itg2g.esm.js +42 -0
- package/dist/{runChildModule-FH_tixbR.esm.js → runChildModule-Crz1nHwJ.esm.js} +5 -9
- package/dist/selfie.d.ts +7 -20
- package/dist/selfie.esm.js +40 -46
- package/dist/{selfieManager-CdUnYjmt.esm.js → selfieManager-C4_2DgTF.esm.js} +7 -10
- package/dist/{selfieManager-d7nkO-UP.d.ts → selfieManager-CN8wJ14s.d.ts} +3 -4
- package/dist/{selfieStateMachine-zz4WqziP.esm.js → selfieStateMachine-ODRceav2.esm.js} +15 -20
- package/dist/selfieUploadService-B4LnSIf6.esm.js +62 -0
- package/dist/session-CQ2x2aLl.esm.js +1 -0
- package/dist/session.d.ts +2 -9
- package/dist/session.esm.js +153 -15
- package/dist/sessionInitializer-Cjpnacyg.esm.js +1801 -0
- package/dist/{setup-BxB6QUto.d.ts → setup-CgBvqGWw.d.ts} +2 -4
- package/dist/{setup-DCyhfufM.esm.js → setup-Hyb_Yiuu.esm.js} +126 -18
- package/dist/signature.d.ts +2 -6
- package/dist/signature.esm.js +6 -9
- package/dist/{signatureStateMachine-U8ewxW1t.esm.js → signatureStateMachine-BmKPC5A9.esm.js} +5 -7
- package/dist/spawn-D9jgw9pW.d.ts +1441 -0
- package/dist/{stats-BVy52wLy.esm.js → stats-Bu6bL_CX.esm.js} +3 -5
- package/dist/stats.esm.js +2 -5
- package/dist/topLevelStateName-B5i2avbh.esm.js +41 -0
- package/dist/{tri-Calc36Ny.esm.js → tri-N-xlKhZK.esm.js} +3 -7
- package/dist/tri.d.ts +2 -2
- package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
- package/dist/tri.esm.js +2 -4
- package/dist/trust-graph.d.ts +4 -5
- package/dist/trust-graph.esm.js +13 -9
- package/dist/{types-Db2ooXIu.esm.js → types-BN5RPPIZ.esm.js} +1 -2
- package/dist/{types-ZezaAAbn.d.ts → types-BfgmV7s7.d.ts} +2 -2
- package/dist/{types-NizIIgLD.d.ts → types-BnEHzP1K.d.ts} +3 -5
- package/dist/{types-DCOl8zy6.d.ts → types-Vb4P9ovf.d.ts} +1 -3
- package/dist/{types-C0D4Brd6.d.ts → types-ctqh-iS4.d.ts} +80 -6
- package/dist/{urlUtils-CpiYwn7w.esm.js → urlUtils-D6phjq1-.esm.js} +1 -2
- package/dist/{video-DXf5H9rY.esm.js → video-BtSWtHy1.esm.js} +1 -2
- package/dist/video-selfie.d.ts +10 -15
- package/dist/video-selfie.esm.js +114 -106
- package/dist/{videoSelfieSteps-DAky5sq5.esm.js → videoSelfieSteps-DHcibfYH.esm.js} +1 -2
- package/dist/wasm.d.ts +2 -4
- package/dist/wasm.esm.js +3 -15
- package/dist/watchlist-for-business.d.ts +1 -3
- package/dist/watchlist-for-business.esm.js +9 -9
- package/dist/watchlist.d.ts +1 -3
- package/dist/watchlist.esm.js +11 -10
- package/dist/{watchlistForBusinessStateMachine-Bbn_dcVT.esm.js → watchlistForBusinessStateMachine-BC_-3fJs.esm.js} +5 -7
- package/dist/{watchlistStateMachine-SZ-1xpe4.esm.js → watchlistStateMachine-CL2j3aRl.esm.js} +5 -7
- package/dist/workflow.d.ts +124 -146
- package/dist/workflow.esm.js +75 -80
- package/dist/xstate-actors.esm-CtI5S0f4.esm.js +310 -0
- package/dist/{xstate.esm-nY3M5UYm.esm.js → xstate.esm-Cf4e0Cfd.esm.js} +136 -610
- package/package.json +2 -2
- package/dist/Actor-CdjYVucI.d.ts +0 -2
- package/dist/FaceDetectionProvider-D-zCGbS9.d.ts +0 -119
- package/dist/IWasmUtilCapability-CuiW_6d1.d.ts +0 -150
- package/dist/StateMachine-BTkXO3Na.d.ts +0 -2
- package/dist/StreamCanvasCapture-D9u4hwul.d.ts +0 -42
- package/dist/ae-signature-eQWjmzE8.esm.js +0 -12
- package/dist/browser-DlFgHpoC-BTB6a7n-.esm.js +0 -1425
- package/dist/browserSimulation-CQjwFn0Z.esm.js +0 -1256
- package/dist/canvas-COIxuirO.d.ts +0 -112
- package/dist/chunk-CIKcdghV.esm.js +0 -49
- package/dist/deepsightLoader-BppeThau.esm.js +0 -67
- package/dist/deepsightService-mkIAy_Eq.d.ts +0 -69
- package/dist/http-C3Pq6njG.esm.js +0 -0
- package/dist/index-BD6ZVw2f.d.ts +0 -93
- package/dist/openviduLazy-CuGqb-8Q.esm.js +0 -12
- package/dist/openviduLazy-DNb0xHJp.esm.js +0 -3
- package/dist/qe-signature-D9XM2d-F.esm.js +0 -12
- package/dist/session--C2lbjK5.esm.js +0 -152
- package/dist/sessionInitializer-Dx_oPfHP.esm.js +0 -548
- package/dist/tri.esm-BDhptA8x.esm.js +0 -2593
- /package/dist/{IVisibilityObserverCapability-C3tAkSfF.d.ts → IVisibilityObserverCapability-D4tvIB5v.d.ts} +0 -0
- /package/dist/{camera-DRH7co71.d.ts → camera-9wWD-pwg.d.ts} +0 -0
- /package/dist/{flowCompletionService-DGcE_OvO.d.ts → flowCompletionService-BlAHsKyv.d.ts} +0 -0
- /package/dist/{types-DawqnFVn.d.ts → types-BT-aiBYV.d.ts} +0 -0
- /package/dist/{types-B6KIOo6S.d.ts → types-Bk_6dmDa.d.ts} +0 -0
- /package/dist/{warmup-CE9Fhs6N.d.ts → warmup-Dv2alr2-.d.ts} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
1
|
+
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
+
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
6
|
+
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DH-IPF-w.esm.js";
|
|
7
7
|
//#region src/modules/ekyc/ekycConsts.ts
|
|
8
8
|
const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
|
|
9
9
|
const STATE_CODE_HINTS = {
|
|
@@ -121,7 +121,6 @@ const MIDDLE_NAME_SOURCES = [
|
|
|
121
121
|
];
|
|
122
122
|
const PHONE_RISK_ADDONS = ["phoneCheck", "advancedPhoneCheck"];
|
|
123
123
|
const EMAIL_RISK_ADDONS = ["emailCheck"];
|
|
124
|
-
|
|
125
124
|
//#endregion
|
|
126
125
|
//#region src/modules/ekyc/ekycUtils.ts
|
|
127
126
|
function mapToEKYCvalue(field) {
|
|
@@ -226,7 +225,6 @@ function isFieldOptional(fieldName, configSource) {
|
|
|
226
225
|
if (fieldName === "phone") return PHONE_OPTIONAL_SOURCES.includes(configSource);
|
|
227
226
|
return false;
|
|
228
227
|
}
|
|
229
|
-
|
|
230
228
|
//#endregion
|
|
231
229
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
|
|
232
230
|
var metadata_min_json_default = {
|
|
@@ -7674,7 +7672,6 @@ var metadata_min_json_default = {
|
|
|
7674
7672
|
]
|
|
7675
7673
|
}
|
|
7676
7674
|
};
|
|
7677
|
-
|
|
7678
7675
|
//#endregion
|
|
7679
7676
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js
|
|
7680
7677
|
function withMetadataArgument(func, _arguments) {
|
|
@@ -7682,7 +7679,6 @@ function withMetadataArgument(func, _arguments) {
|
|
|
7682
7679
|
args.push(metadata_min_json_default);
|
|
7683
7680
|
return func.apply(this, args);
|
|
7684
7681
|
}
|
|
7685
|
-
|
|
7686
7682
|
//#endregion
|
|
7687
7683
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/tools/semver-compare.js
|
|
7688
7684
|
function semver_compare_default(a, b) {
|
|
@@ -7701,22 +7697,20 @@ function semver_compare_default(a, b) {
|
|
|
7701
7697
|
if (a[1] && b[1]) return a[1] > b[1] ? 1 : a[1] < b[1] ? -1 : 0;
|
|
7702
7698
|
return !a[1] && b[1] ? 1 : a[1] && !b[1] ? -1 : 0;
|
|
7703
7699
|
}
|
|
7704
|
-
|
|
7705
7700
|
//#endregion
|
|
7706
7701
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/isObject.js
|
|
7707
7702
|
var objectConstructor = {}.constructor;
|
|
7708
7703
|
function isObject(object) {
|
|
7709
7704
|
return object !== void 0 && object !== null && object.constructor === objectConstructor;
|
|
7710
7705
|
}
|
|
7711
|
-
|
|
7712
7706
|
//#endregion
|
|
7713
7707
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/metadata.js
|
|
7714
7708
|
function _typeof$6(o) {
|
|
7715
7709
|
"@babel/helpers - typeof";
|
|
7716
|
-
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o
|
|
7717
|
-
return typeof o
|
|
7718
|
-
} : function(o
|
|
7719
|
-
return o
|
|
7710
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
7711
|
+
return typeof o;
|
|
7712
|
+
} : function(o) {
|
|
7713
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
7720
7714
|
}, _typeof$6(o);
|
|
7721
7715
|
}
|
|
7722
7716
|
function _classCallCheck$2(a, n) {
|
|
@@ -7752,14 +7746,14 @@ var CALLING_CODE_REG_EXP = /^\d+$/;
|
|
|
7752
7746
|
/**
|
|
7753
7747
|
* See: https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/METADATA.md
|
|
7754
7748
|
*/
|
|
7755
|
-
var Metadata =
|
|
7756
|
-
function Metadata
|
|
7757
|
-
_classCallCheck$2(this, Metadata
|
|
7749
|
+
var Metadata = /*#__PURE__*/ function() {
|
|
7750
|
+
function Metadata(metadata) {
|
|
7751
|
+
_classCallCheck$2(this, Metadata);
|
|
7758
7752
|
validateMetadata(metadata);
|
|
7759
7753
|
this.metadata = metadata;
|
|
7760
7754
|
setVersion.call(this, metadata);
|
|
7761
7755
|
}
|
|
7762
|
-
return _createClass$2(Metadata
|
|
7756
|
+
return _createClass$2(Metadata, [
|
|
7763
7757
|
{
|
|
7764
7758
|
key: "getCountries",
|
|
7765
7759
|
value: function getCountries() {
|
|
@@ -7953,14 +7947,14 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
7953
7947
|
}
|
|
7954
7948
|
]);
|
|
7955
7949
|
}();
|
|
7956
|
-
var NumberingPlan =
|
|
7957
|
-
function NumberingPlan
|
|
7958
|
-
_classCallCheck$2(this, NumberingPlan
|
|
7950
|
+
var NumberingPlan = /*#__PURE__*/ function() {
|
|
7951
|
+
function NumberingPlan(metadata, globalMetadataObject) {
|
|
7952
|
+
_classCallCheck$2(this, NumberingPlan);
|
|
7959
7953
|
this.globalMetadataObject = globalMetadataObject;
|
|
7960
7954
|
this.metadata = metadata;
|
|
7961
7955
|
setVersion.call(this, globalMetadataObject.metadata);
|
|
7962
7956
|
}
|
|
7963
|
-
return _createClass$2(NumberingPlan
|
|
7957
|
+
return _createClass$2(NumberingPlan, [
|
|
7964
7958
|
{
|
|
7965
7959
|
key: "callingCode",
|
|
7966
7960
|
value: function callingCode() {
|
|
@@ -8099,13 +8093,13 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
8099
8093
|
}
|
|
8100
8094
|
]);
|
|
8101
8095
|
}();
|
|
8102
|
-
var Format =
|
|
8103
|
-
function Format
|
|
8104
|
-
_classCallCheck$2(this, Format
|
|
8096
|
+
var Format = /*#__PURE__*/ function() {
|
|
8097
|
+
function Format(format, metadata) {
|
|
8098
|
+
_classCallCheck$2(this, Format);
|
|
8105
8099
|
this._format = format;
|
|
8106
8100
|
this.metadata = metadata;
|
|
8107
8101
|
}
|
|
8108
|
-
return _createClass$2(Format
|
|
8102
|
+
return _createClass$2(Format, [
|
|
8109
8103
|
{
|
|
8110
8104
|
key: "pattern",
|
|
8111
8105
|
value: function pattern() {
|
|
@@ -8162,13 +8156,13 @@ var Format = /* @__PURE__ */ function() {
|
|
|
8162
8156
|
* Note that the pattern explicitly allows for unbalanced parentheses.
|
|
8163
8157
|
*/
|
|
8164
8158
|
var FIRST_GROUP_ONLY_PREFIX_PATTERN = /^\(?\$1\)?$/;
|
|
8165
|
-
var Type =
|
|
8166
|
-
function Type
|
|
8167
|
-
_classCallCheck$2(this, Type
|
|
8159
|
+
var Type = /*#__PURE__*/ function() {
|
|
8160
|
+
function Type(type, metadata) {
|
|
8161
|
+
_classCallCheck$2(this, Type);
|
|
8168
8162
|
this.type = type;
|
|
8169
8163
|
this.metadata = metadata;
|
|
8170
8164
|
}
|
|
8171
|
-
return _createClass$2(Type
|
|
8165
|
+
return _createClass$2(Type, [{
|
|
8172
8166
|
key: "pattern",
|
|
8173
8167
|
value: function pattern() {
|
|
8174
8168
|
if (this.metadata.v1) return this.type;
|
|
@@ -8201,7 +8195,7 @@ function validateMetadata(metadata) {
|
|
|
8201
8195
|
if (!isObject(metadata) || !isObject(metadata.countries)) throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(isObject(metadata) ? "an object of shape: { " + Object.keys(metadata).join(", ") + " }" : "a " + typeOf(metadata) + ": " + metadata, "."));
|
|
8202
8196
|
}
|
|
8203
8197
|
/* istanbul ignore next */
|
|
8204
|
-
var typeOf = function typeOf
|
|
8198
|
+
var typeOf = function typeOf(_) {
|
|
8205
8199
|
return _typeof$6(_);
|
|
8206
8200
|
};
|
|
8207
8201
|
/**
|
|
@@ -8234,7 +8228,6 @@ function setVersion(metadata) {
|
|
|
8234
8228
|
else if (semver_compare_default(version, V4) === -1) this.v3 = true;
|
|
8235
8229
|
else this.v4 = true;
|
|
8236
8230
|
}
|
|
8237
|
-
|
|
8238
8231
|
//#endregion
|
|
8239
8232
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js
|
|
8240
8233
|
function _createForOfIteratorHelperLoose$3(r, e) {
|
|
@@ -8276,11 +8269,10 @@ function mergeArrays(a, b) {
|
|
|
8276
8269
|
var element = _step.value;
|
|
8277
8270
|
if (a.indexOf(element) < 0) merged.push(element);
|
|
8278
8271
|
}
|
|
8279
|
-
return merged.sort(function(a
|
|
8280
|
-
return a
|
|
8272
|
+
return merged.sort(function(a, b) {
|
|
8273
|
+
return a - b;
|
|
8281
8274
|
});
|
|
8282
8275
|
}
|
|
8283
|
-
|
|
8284
8276
|
//#endregion
|
|
8285
8277
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js
|
|
8286
8278
|
function checkNumberLength(nationalNumber, country, metadata) {
|
|
@@ -8307,7 +8299,6 @@ function checkNumberLengthForType(nationalNumber, country, type, metadata) {
|
|
|
8307
8299
|
if (possible_lengths[possible_lengths.length - 1] < actual_length) return "TOO_LONG";
|
|
8308
8300
|
return possible_lengths.indexOf(actual_length, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
8309
8301
|
}
|
|
8310
|
-
|
|
8311
8302
|
//#endregion
|
|
8312
8303
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/isPossible.js
|
|
8313
8304
|
/**
|
|
@@ -8350,7 +8341,6 @@ function isPossibleNumber(nationalNumber, country, metadata) {
|
|
|
8350
8341
|
default: return false;
|
|
8351
8342
|
}
|
|
8352
8343
|
}
|
|
8353
|
-
|
|
8354
8344
|
//#endregion
|
|
8355
8345
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js
|
|
8356
8346
|
/**
|
|
@@ -8360,9 +8350,8 @@ function isPossibleNumber(nationalNumber, country, metadata) {
|
|
|
8360
8350
|
*/
|
|
8361
8351
|
function matchesEntirely(text, regularExpressionText) {
|
|
8362
8352
|
text = text || "";
|
|
8363
|
-
return
|
|
8353
|
+
return new RegExp("^(?:" + regularExpressionText + ")$").test(text);
|
|
8364
8354
|
}
|
|
8365
|
-
|
|
8366
8355
|
//#endregion
|
|
8367
8356
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/getNumberType.js
|
|
8368
8357
|
function _createForOfIteratorHelperLoose$2(r, e) {
|
|
@@ -8428,7 +8417,6 @@ function isNumberTypeEqualTo(nationalNumber, type, metadata) {
|
|
|
8428
8417
|
if (type.possibleLengths() && type.possibleLengths().indexOf(nationalNumber.length) < 0) return false;
|
|
8429
8418
|
return matchesEntirely(nationalNumber, type.pattern());
|
|
8430
8419
|
}
|
|
8431
|
-
|
|
8432
8420
|
//#endregion
|
|
8433
8421
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/isValid.js
|
|
8434
8422
|
/**
|
|
@@ -8472,7 +8460,6 @@ function isValidNumber(input, options, metadata) {
|
|
|
8472
8460
|
if (metadata.hasTypes()) return getNumberType(input, options, metadata.metadata) !== void 0;
|
|
8473
8461
|
return matchesEntirely(options.v2 ? input.nationalNumber : input.phone, metadata.nationalNumberPattern());
|
|
8474
8462
|
}
|
|
8475
|
-
|
|
8476
8463
|
//#endregion
|
|
8477
8464
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js
|
|
8478
8465
|
/**
|
|
@@ -8495,25 +8482,14 @@ function couldNationalNumberBelongToCountry(nationalNumber, country, metadata) {
|
|
|
8495
8482
|
if (_metadata.numberingPlan.possibleLengths().indexOf(nationalNumber.length) >= 0) return true;
|
|
8496
8483
|
return false;
|
|
8497
8484
|
}
|
|
8498
|
-
|
|
8499
8485
|
//#endregion
|
|
8500
8486
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/constants.js
|
|
8501
|
-
var MIN_LENGTH_FOR_NSN = 2;
|
|
8502
|
-
var MAX_LENGTH_FOR_NSN = 17;
|
|
8503
|
-
var MAX_LENGTH_COUNTRY_CODE = 3;
|
|
8504
8487
|
var VALID_DIGITS = "0-90-9٠-٩۰-۹";
|
|
8505
|
-
var
|
|
8506
|
-
var SLASHES = "//";
|
|
8507
|
-
var DOTS = "..";
|
|
8508
|
-
var WHITESPACE = " \xA0 ";
|
|
8509
|
-
var BRACKETS = "()()[]\\[\\]";
|
|
8510
|
-
var TILDES = "~⁓∼~";
|
|
8511
|
-
var VALID_PUNCTUATION = "".concat(DASHES).concat(SLASHES).concat(DOTS).concat(WHITESPACE).concat(BRACKETS).concat(TILDES);
|
|
8488
|
+
var VALID_PUNCTUATION = "".concat("-‐-―−ー-").concat("//").concat("..").concat(" \xA0 ").concat("()()[]\\[\\]").concat("~⁓∼~");
|
|
8512
8489
|
var PLUS_CHARS = "++";
|
|
8513
|
-
|
|
8514
8490
|
//#endregion
|
|
8515
8491
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js
|
|
8516
|
-
var CAPTURING_DIGIT_PATTERN =
|
|
8492
|
+
var CAPTURING_DIGIT_PATTERN = new RegExp("([" + VALID_DIGITS + "])");
|
|
8517
8493
|
function stripIddPrefix(number, country, callingCode, metadata) {
|
|
8518
8494
|
if (!country) return;
|
|
8519
8495
|
var countryMetadata = new Metadata(metadata);
|
|
@@ -8527,7 +8503,6 @@ function stripIddPrefix(number, country, callingCode, metadata) {
|
|
|
8527
8503
|
}
|
|
8528
8504
|
return number;
|
|
8529
8505
|
}
|
|
8530
|
-
|
|
8531
8506
|
//#endregion
|
|
8532
8507
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js
|
|
8533
8508
|
/**
|
|
@@ -8545,7 +8520,7 @@ function stripIddPrefix(number, country, callingCode, metadata) {
|
|
|
8545
8520
|
*/
|
|
8546
8521
|
function extractNationalNumberFromPossiblyIncompleteNumber(number, metadata) {
|
|
8547
8522
|
if (number && metadata.numberingPlan.nationalPrefixForParsing()) {
|
|
8548
|
-
var prefixPattern =
|
|
8523
|
+
var prefixPattern = new RegExp("^(?:" + metadata.numberingPlan.nationalPrefixForParsing() + ")");
|
|
8549
8524
|
var prefixMatch = prefixPattern.exec(number);
|
|
8550
8525
|
if (prefixMatch) {
|
|
8551
8526
|
var nationalNumber;
|
|
@@ -8574,7 +8549,6 @@ function extractNationalNumberFromPossiblyIncompleteNumber(number, metadata) {
|
|
|
8574
8549
|
}
|
|
8575
8550
|
return { nationalNumber: number };
|
|
8576
8551
|
}
|
|
8577
|
-
|
|
8578
8552
|
//#endregion
|
|
8579
8553
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js
|
|
8580
8554
|
function _createForOfIteratorHelperLoose$1(r, e) {
|
|
@@ -8618,7 +8592,6 @@ function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
|
8618
8592
|
}, void 0, metadata.metadata)) return country;
|
|
8619
8593
|
}
|
|
8620
8594
|
}
|
|
8621
|
-
|
|
8622
8595
|
//#endregion
|
|
8623
8596
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js
|
|
8624
8597
|
var USE_NON_GEOGRAPHIC_COUNTRY_CODE$2 = false;
|
|
@@ -8636,7 +8609,6 @@ function getCountryByCallingCode(callingCode, _ref) {
|
|
|
8636
8609
|
metadata: metadata.metadata
|
|
8637
8610
|
});
|
|
8638
8611
|
}
|
|
8639
|
-
|
|
8640
8612
|
//#endregion
|
|
8641
8613
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js
|
|
8642
8614
|
/**
|
|
@@ -8677,7 +8649,6 @@ function isPossibleIncompleteNationalNumber(nationalNumber, country, metadata) {
|
|
|
8677
8649
|
default: return true;
|
|
8678
8650
|
}
|
|
8679
8651
|
}
|
|
8680
|
-
|
|
8681
8652
|
//#endregion
|
|
8682
8653
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js
|
|
8683
8654
|
/**
|
|
@@ -8705,7 +8676,6 @@ function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number,
|
|
|
8705
8676
|
}
|
|
8706
8677
|
return { number };
|
|
8707
8678
|
}
|
|
8708
|
-
|
|
8709
8679
|
//#endregion
|
|
8710
8680
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js
|
|
8711
8681
|
/**
|
|
@@ -8750,7 +8720,7 @@ function extractCountryCallingCode(number, country, defaultCountry, defaultCalli
|
|
|
8750
8720
|
if (number[1] === "0") return {};
|
|
8751
8721
|
metadata = new Metadata(metadata);
|
|
8752
8722
|
var i = 2;
|
|
8753
|
-
while (i - 1 <=
|
|
8723
|
+
while (i - 1 <= 3 && i <= number.length) {
|
|
8754
8724
|
var _countryCallingCode = number.slice(1, i);
|
|
8755
8725
|
if (metadata.hasCallingCode(_countryCallingCode)) {
|
|
8756
8726
|
metadata.selectNumberingPlan(_countryCallingCode);
|
|
@@ -8764,13 +8734,11 @@ function extractCountryCallingCode(number, country, defaultCountry, defaultCalli
|
|
|
8764
8734
|
}
|
|
8765
8735
|
return {};
|
|
8766
8736
|
}
|
|
8767
|
-
|
|
8768
8737
|
//#endregion
|
|
8769
8738
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js
|
|
8770
8739
|
function applyInternationalSeparatorStyle(formattedNumber) {
|
|
8771
8740
|
return formattedNumber.replace(new RegExp("[".concat(VALID_PUNCTUATION, "]+"), "g"), " ").trim();
|
|
8772
8741
|
}
|
|
8773
|
-
|
|
8774
8742
|
//#endregion
|
|
8775
8743
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js
|
|
8776
8744
|
var FIRST_GROUP_PATTERN = /(\$\d)/;
|
|
@@ -8782,7 +8750,6 @@ function formatNationalNumberUsingFormat(number, format, _ref) {
|
|
|
8782
8750
|
if (useInternationalFormat) return applyInternationalSeparatorStyle(formattedNumber);
|
|
8783
8751
|
return formattedNumber;
|
|
8784
8752
|
}
|
|
8785
|
-
|
|
8786
8753
|
//#endregion
|
|
8787
8754
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js
|
|
8788
8755
|
/**
|
|
@@ -8801,7 +8768,6 @@ function getIddPrefix(country, callingCode, metadata) {
|
|
|
8801
8768
|
if (countryMetadata.defaultIDDPrefix()) return countryMetadata.defaultIDDPrefix();
|
|
8802
8769
|
if (SINGLE_IDD_PREFIX_REG_EXP.test(countryMetadata.IDDPrefix())) return countryMetadata.IDDPrefix();
|
|
8803
8770
|
}
|
|
8804
|
-
|
|
8805
8771
|
//#endregion
|
|
8806
8772
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js
|
|
8807
8773
|
var RFC3966_EXTN_PREFIX = ";ext=";
|
|
@@ -8810,7 +8776,7 @@ var RFC3966_EXTN_PREFIX = ";ext=";
|
|
|
8810
8776
|
* an expression that captures up to max_length digits.
|
|
8811
8777
|
* @return {string} RegEx pattern to capture extension digits.
|
|
8812
8778
|
*/
|
|
8813
|
-
var getExtensionDigitsPattern = function getExtensionDigitsPattern
|
|
8779
|
+
var getExtensionDigitsPattern = function getExtensionDigitsPattern(maxLength) {
|
|
8814
8780
|
return "([".concat(VALID_DIGITS, "]{1,").concat(maxLength, "})");
|
|
8815
8781
|
};
|
|
8816
8782
|
/**
|
|
@@ -8859,21 +8825,19 @@ function createExtensionPattern(purpose) {
|
|
|
8859
8825
|
var onlyCommasExtn = possibleSeparatorsNumberExtLabelNoComma + "(?:,)+" + possibleCharsAfterExtLabel + getExtensionDigitsPattern(extLimitAfterAmbiguousChar) + optionalExtnSuffix;
|
|
8860
8826
|
return rfcExtn + "|" + explicitExtn + "|" + ambiguousExtn + "|" + americanStyleExtnWithSuffix + "|" + autoDiallingExtn + "|" + onlyCommasExtn;
|
|
8861
8827
|
}
|
|
8862
|
-
|
|
8863
8828
|
//#endregion
|
|
8864
8829
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js
|
|
8865
|
-
var MIN_LENGTH_PHONE_NUMBER_PATTERN = "[" + VALID_DIGITS + "]{
|
|
8830
|
+
var MIN_LENGTH_PHONE_NUMBER_PATTERN = "[" + VALID_DIGITS + "]{2}";
|
|
8866
8831
|
var VALID_PHONE_NUMBER = "[" + PLUS_CHARS + "]{0,1}(?:[" + VALID_PUNCTUATION + "]*[" + VALID_DIGITS + "]){3,}[" + VALID_PUNCTUATION + VALID_DIGITS + "]*";
|
|
8867
8832
|
var VALID_PHONE_NUMBER_START_REG_EXP = new RegExp("^[" + PLUS_CHARS + "]{0,1}(?:[" + VALID_PUNCTUATION + "]*[" + VALID_DIGITS + "]){1,2}$", "i");
|
|
8868
8833
|
var VALID_PHONE_NUMBER_WITH_EXTENSION = VALID_PHONE_NUMBER + "(?:" + createExtensionPattern() + ")?";
|
|
8869
8834
|
var VALID_PHONE_NUMBER_PATTERN = new RegExp("^" + MIN_LENGTH_PHONE_NUMBER_PATTERN + "$|^" + VALID_PHONE_NUMBER_WITH_EXTENSION + "$", "i");
|
|
8870
8835
|
function isViablePhoneNumber(number) {
|
|
8871
|
-
return number.length >=
|
|
8836
|
+
return number.length >= 2 && VALID_PHONE_NUMBER_PATTERN.test(number);
|
|
8872
8837
|
}
|
|
8873
8838
|
function isViablePhoneNumberStart(number) {
|
|
8874
8839
|
return VALID_PHONE_NUMBER_START_REG_EXP.test(number);
|
|
8875
8840
|
}
|
|
8876
|
-
|
|
8877
8841
|
//#endregion
|
|
8878
8842
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/RFC3966.js
|
|
8879
8843
|
/**
|
|
@@ -8886,7 +8850,6 @@ function formatRFC3966(_ref) {
|
|
|
8886
8850
|
if (number[0] !== "+") throw new Error("\"formatRFC3966()\" expects \"number\" to be in E.164 format.");
|
|
8887
8851
|
return "tel:".concat(number).concat(ext ? ";ext=" + ext : "");
|
|
8888
8852
|
}
|
|
8889
|
-
|
|
8890
8853
|
//#endregion
|
|
8891
8854
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/format.js
|
|
8892
8855
|
var DEFAULT_OPTIONS = { formatExtension: function formatExtension(formattedNumber, extension, metadata) {
|
|
@@ -8987,23 +8950,22 @@ function pickFirstMatchingElement(elements, testFunction) {
|
|
|
8987
8950
|
i++;
|
|
8988
8951
|
}
|
|
8989
8952
|
}
|
|
8990
|
-
|
|
8991
8953
|
//#endregion
|
|
8992
8954
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/PhoneNumber.js
|
|
8993
8955
|
function _typeof$5(o) {
|
|
8994
8956
|
"@babel/helpers - typeof";
|
|
8995
|
-
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o
|
|
8996
|
-
return typeof o
|
|
8997
|
-
} : function(o
|
|
8998
|
-
return o
|
|
8957
|
+
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
8958
|
+
return typeof o;
|
|
8959
|
+
} : function(o) {
|
|
8960
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8999
8961
|
}, _typeof$5(o);
|
|
9000
8962
|
}
|
|
9001
8963
|
function ownKeys$4(e, r) {
|
|
9002
8964
|
var t = Object.keys(e);
|
|
9003
8965
|
if (Object.getOwnPropertySymbols) {
|
|
9004
8966
|
var o = Object.getOwnPropertySymbols(e);
|
|
9005
|
-
r && (o = o.filter(function(r
|
|
9006
|
-
return Object.getOwnPropertyDescriptor(e, r
|
|
8967
|
+
r && (o = o.filter(function(r) {
|
|
8968
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
9007
8969
|
})), t.push.apply(t, o);
|
|
9008
8970
|
}
|
|
9009
8971
|
return t;
|
|
@@ -9011,10 +8973,10 @@ function ownKeys$4(e, r) {
|
|
|
9011
8973
|
function _objectSpread$4(e) {
|
|
9012
8974
|
for (var r = 1; r < arguments.length; r++) {
|
|
9013
8975
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
9014
|
-
r % 2 ? ownKeys$4(Object(t), !0).forEach(function(r
|
|
9015
|
-
_defineProperty$4(e, r
|
|
9016
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function(r
|
|
9017
|
-
Object.defineProperty(e, r
|
|
8976
|
+
r % 2 ? ownKeys$4(Object(t), !0).forEach(function(r) {
|
|
8977
|
+
_defineProperty$4(e, r, t[r]);
|
|
8978
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function(r) {
|
|
8979
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
9018
8980
|
});
|
|
9019
8981
|
}
|
|
9020
8982
|
return e;
|
|
@@ -9054,15 +9016,15 @@ function _toPrimitive$5(t, r) {
|
|
|
9054
9016
|
return ("string" === r ? String : Number)(t);
|
|
9055
9017
|
}
|
|
9056
9018
|
var USE_NON_GEOGRAPHIC_COUNTRY_CODE$1 = false;
|
|
9057
|
-
var PhoneNumber =
|
|
9019
|
+
var PhoneNumber = /*#__PURE__*/ function() {
|
|
9058
9020
|
/**
|
|
9059
9021
|
* @param {string} countryOrCountryCallingCode
|
|
9060
9022
|
* @param {string} nationalNumber
|
|
9061
9023
|
* @param {object} metadata — Metadata JSON
|
|
9062
9024
|
* @return {PhoneNumber}
|
|
9063
9025
|
*/
|
|
9064
|
-
function PhoneNumber
|
|
9065
|
-
_classCallCheck$1(this, PhoneNumber
|
|
9026
|
+
function PhoneNumber(countryOrCountryCallingCode, nationalNumber, metadata) {
|
|
9027
|
+
_classCallCheck$1(this, PhoneNumber);
|
|
9066
9028
|
if (!countryOrCountryCallingCode) throw new TypeError("First argument is required");
|
|
9067
9029
|
if (typeof countryOrCountryCallingCode !== "string") throw new TypeError("First argument must be a string");
|
|
9068
9030
|
if (countryOrCountryCallingCode[0] === "+" && !nationalNumber) throw new TypeError("`metadata` argument not passed");
|
|
@@ -9087,7 +9049,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
9087
9049
|
return metadata;
|
|
9088
9050
|
};
|
|
9089
9051
|
}
|
|
9090
|
-
return _createClass$1(PhoneNumber
|
|
9052
|
+
return _createClass$1(PhoneNumber, [
|
|
9091
9053
|
{
|
|
9092
9054
|
key: "setExt",
|
|
9093
9055
|
value: function setExt(ext) {
|
|
@@ -9127,7 +9089,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
9127
9089
|
},
|
|
9128
9090
|
{
|
|
9129
9091
|
key: "getType",
|
|
9130
|
-
value: function getType
|
|
9092
|
+
value: function getType() {
|
|
9131
9093
|
return getNumberType(this, { v2: true }, this.getMetadata());
|
|
9132
9094
|
}
|
|
9133
9095
|
},
|
|
@@ -9157,7 +9119,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
9157
9119
|
}
|
|
9158
9120
|
]);
|
|
9159
9121
|
}();
|
|
9160
|
-
var isCountryCode = function isCountryCode
|
|
9122
|
+
var isCountryCode = function isCountryCode(value) {
|
|
9161
9123
|
return /^[A-Z]{2}$/.test(value);
|
|
9162
9124
|
};
|
|
9163
9125
|
function getCountryAndCountryCallingCode(countryOrCountryCallingCode, metadataJson) {
|
|
@@ -9181,15 +9143,14 @@ function getCountryAndCountryCallingCode(countryOrCountryCallingCode, metadataJs
|
|
|
9181
9143
|
};
|
|
9182
9144
|
}
|
|
9183
9145
|
var E164_NUMBER_REGEXP = /^\+\d+$/;
|
|
9184
|
-
|
|
9185
9146
|
//#endregion
|
|
9186
9147
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/ParseError.js
|
|
9187
9148
|
function _typeof$4(o) {
|
|
9188
9149
|
"@babel/helpers - typeof";
|
|
9189
|
-
return _typeof$4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o
|
|
9190
|
-
return typeof o
|
|
9191
|
-
} : function(o
|
|
9192
|
-
return o
|
|
9150
|
+
return _typeof$4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
9151
|
+
return typeof o;
|
|
9152
|
+
} : function(o) {
|
|
9153
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
9193
9154
|
}, _typeof$4(o);
|
|
9194
9155
|
}
|
|
9195
9156
|
function _defineProperties(e, r) {
|
|
@@ -9240,22 +9201,22 @@ function _inherits(t, e) {
|
|
|
9240
9201
|
}
|
|
9241
9202
|
function _wrapNativeSuper(t) {
|
|
9242
9203
|
var r = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0;
|
|
9243
|
-
return _wrapNativeSuper = function _wrapNativeSuper
|
|
9244
|
-
if (null === t
|
|
9245
|
-
if ("function" != typeof t
|
|
9204
|
+
return _wrapNativeSuper = function _wrapNativeSuper(t) {
|
|
9205
|
+
if (null === t || !_isNativeFunction(t)) return t;
|
|
9206
|
+
if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function");
|
|
9246
9207
|
if (void 0 !== r) {
|
|
9247
|
-
if (r.has(t
|
|
9248
|
-
r.set(t
|
|
9208
|
+
if (r.has(t)) return r.get(t);
|
|
9209
|
+
r.set(t, Wrapper);
|
|
9249
9210
|
}
|
|
9250
9211
|
function Wrapper() {
|
|
9251
|
-
return _construct(t
|
|
9212
|
+
return _construct(t, arguments, _getPrototypeOf(this).constructor);
|
|
9252
9213
|
}
|
|
9253
|
-
return Wrapper.prototype = Object.create(t
|
|
9214
|
+
return Wrapper.prototype = Object.create(t.prototype, { constructor: {
|
|
9254
9215
|
value: Wrapper,
|
|
9255
9216
|
enumerable: !1,
|
|
9256
9217
|
writable: !0,
|
|
9257
9218
|
configurable: !0
|
|
9258
|
-
} }), _setPrototypeOf(Wrapper, t
|
|
9219
|
+
} }), _setPrototypeOf(Wrapper, t);
|
|
9259
9220
|
}, _wrapNativeSuper(t);
|
|
9260
9221
|
}
|
|
9261
9222
|
function _construct(t, e, r) {
|
|
@@ -9268,8 +9229,8 @@ function _construct(t, e, r) {
|
|
|
9268
9229
|
function _isNativeReflectConstruct() {
|
|
9269
9230
|
try {
|
|
9270
9231
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
9271
|
-
} catch (t
|
|
9272
|
-
return (_isNativeReflectConstruct = function _isNativeReflectConstruct
|
|
9232
|
+
} catch (t) {}
|
|
9233
|
+
return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
|
|
9273
9234
|
return !!t;
|
|
9274
9235
|
})();
|
|
9275
9236
|
}
|
|
@@ -9281,28 +9242,27 @@ function _isNativeFunction(t) {
|
|
|
9281
9242
|
}
|
|
9282
9243
|
}
|
|
9283
9244
|
function _setPrototypeOf(t, e) {
|
|
9284
|
-
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t
|
|
9285
|
-
return t
|
|
9245
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
9246
|
+
return t.__proto__ = e, t;
|
|
9286
9247
|
}, _setPrototypeOf(t, e);
|
|
9287
9248
|
}
|
|
9288
9249
|
function _getPrototypeOf(t) {
|
|
9289
|
-
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t
|
|
9290
|
-
return t
|
|
9250
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
9251
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
9291
9252
|
}, _getPrototypeOf(t);
|
|
9292
9253
|
}
|
|
9293
|
-
var ParseError =
|
|
9294
|
-
function ParseError
|
|
9254
|
+
var ParseError = /*#__PURE__*/ function(_Error) {
|
|
9255
|
+
function ParseError(code) {
|
|
9295
9256
|
var _this;
|
|
9296
|
-
_classCallCheck(this, ParseError
|
|
9297
|
-
_this = _callSuper(this, ParseError
|
|
9298
|
-
Object.setPrototypeOf(_this, ParseError
|
|
9257
|
+
_classCallCheck(this, ParseError);
|
|
9258
|
+
_this = _callSuper(this, ParseError, [code]);
|
|
9259
|
+
Object.setPrototypeOf(_this, ParseError.prototype);
|
|
9299
9260
|
_this.name = _this.constructor.name;
|
|
9300
9261
|
return _this;
|
|
9301
9262
|
}
|
|
9302
|
-
_inherits(ParseError
|
|
9303
|
-
return _createClass(ParseError
|
|
9304
|
-
}(
|
|
9305
|
-
|
|
9263
|
+
_inherits(ParseError, _Error);
|
|
9264
|
+
return _createClass(ParseError);
|
|
9265
|
+
}(/*#__PURE__*/ _wrapNativeSuper(Error));
|
|
9306
9266
|
//#endregion
|
|
9307
9267
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js
|
|
9308
9268
|
var EXTN_PATTERN = new RegExp("(?:" + createExtensionPattern() + ")$", "i");
|
|
@@ -9320,7 +9280,6 @@ function extractExtension(number) {
|
|
|
9320
9280
|
i++;
|
|
9321
9281
|
}
|
|
9322
9282
|
}
|
|
9323
|
-
|
|
9324
9283
|
//#endregion
|
|
9325
9284
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/parseDigits.js
|
|
9326
9285
|
var DIGITS = {
|
|
@@ -9368,7 +9327,6 @@ var DIGITS = {
|
|
|
9368
9327
|
function parseDigit(character) {
|
|
9369
9328
|
return DIGITS[character];
|
|
9370
9329
|
}
|
|
9371
|
-
|
|
9372
9330
|
//#endregion
|
|
9373
9331
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js
|
|
9374
9332
|
function _createForOfIteratorHelperLoose(r, e) {
|
|
@@ -9414,12 +9372,12 @@ function _arrayLikeToArray$1(r, a) {
|
|
|
9414
9372
|
* ```
|
|
9415
9373
|
*/
|
|
9416
9374
|
function parseIncompletePhoneNumber(string) {
|
|
9417
|
-
var result
|
|
9375
|
+
var result = "";
|
|
9418
9376
|
for (var _iterator = _createForOfIteratorHelperLoose(string.split("")), _step; !(_step = _iterator()).done;) {
|
|
9419
9377
|
var character = _step.value;
|
|
9420
|
-
result
|
|
9378
|
+
result += parsePhoneNumberCharacter(character, result) || "";
|
|
9421
9379
|
}
|
|
9422
|
-
return result
|
|
9380
|
+
return result;
|
|
9423
9381
|
}
|
|
9424
9382
|
/**
|
|
9425
9383
|
* Parses next character while parsing phone number digits (including a `+`)
|
|
@@ -9442,12 +9400,8 @@ function parsePhoneNumberCharacter(character, prevParsedCharacters, eventListene
|
|
|
9442
9400
|
}
|
|
9443
9401
|
return parseDigit(character);
|
|
9444
9402
|
}
|
|
9445
|
-
|
|
9446
|
-
//#endregion
|
|
9447
|
-
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js
|
|
9448
|
-
var PLUS_SIGN = "+";
|
|
9449
9403
|
var RFC3966_PHONE_DIGIT_ = "([" + VALID_DIGITS + "]|[\\-\\.\\(\\)]?)";
|
|
9450
|
-
var RFC3966_GLOBAL_NUMBER_DIGITS_ = "
|
|
9404
|
+
var RFC3966_GLOBAL_NUMBER_DIGITS_ = "^\\+" + RFC3966_PHONE_DIGIT_ + "*[" + VALID_DIGITS + "]" + RFC3966_PHONE_DIGIT_ + "*$";
|
|
9451
9405
|
/**
|
|
9452
9406
|
* Regular expression of valid global-number-digits for the phone-context
|
|
9453
9407
|
* parameter, following the syntax defined in RFC3966.
|
|
@@ -9492,7 +9446,6 @@ function isPhoneContextValid(phoneContext) {
|
|
|
9492
9446
|
if (phoneContext.length === 0) return false;
|
|
9493
9447
|
return RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) || RFC3966_DOMAINNAME_PATTERN_.test(phoneContext);
|
|
9494
9448
|
}
|
|
9495
|
-
|
|
9496
9449
|
//#endregion
|
|
9497
9450
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js
|
|
9498
9451
|
/**
|
|
@@ -9508,7 +9461,7 @@ function extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(numberToParse,
|
|
|
9508
9461
|
if (phoneContext === null) phoneNumberString = extractFormattedPhoneNumber(numberToParse) || "";
|
|
9509
9462
|
else {
|
|
9510
9463
|
phoneNumberString = "";
|
|
9511
|
-
if (phoneContext.charAt(0) ===
|
|
9464
|
+
if (phoneContext.charAt(0) === "+") phoneNumberString += phoneContext;
|
|
9512
9465
|
var indexOfRfc3966Prefix = numberToParse.indexOf(RFC3966_PREFIX_);
|
|
9513
9466
|
var indexOfNationalNumber;
|
|
9514
9467
|
/* istanbul ignore else */
|
|
@@ -9521,12 +9474,11 @@ function extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(numberToParse,
|
|
|
9521
9474
|
if (indexOfIsdn > 0) phoneNumberString = phoneNumberString.substring(0, indexOfIsdn);
|
|
9522
9475
|
if (phoneNumberString !== "") return phoneNumberString;
|
|
9523
9476
|
}
|
|
9524
|
-
|
|
9525
9477
|
//#endregion
|
|
9526
9478
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/parse.js
|
|
9527
9479
|
var MAX_INPUT_STRING_LENGTH = 250;
|
|
9528
|
-
var PHONE_NUMBER_START_PATTERN =
|
|
9529
|
-
var AFTER_PHONE_NUMBER_END_PATTERN =
|
|
9480
|
+
var PHONE_NUMBER_START_PATTERN = new RegExp("[" + PLUS_CHARS + VALID_DIGITS + "]");
|
|
9481
|
+
var AFTER_PHONE_NUMBER_END_PATTERN = new RegExp("[^" + VALID_DIGITS + "#]+$");
|
|
9530
9482
|
var USE_NON_GEOGRAPHIC_COUNTRY_CODE = false;
|
|
9531
9483
|
/**
|
|
9532
9484
|
* Parses a phone number.
|
|
@@ -9560,12 +9512,12 @@ function parse(text, options, metadata) {
|
|
|
9560
9512
|
if (options.v2) throw new ParseError("INVALID_COUNTRY");
|
|
9561
9513
|
return {};
|
|
9562
9514
|
}
|
|
9563
|
-
if (!nationalNumber || nationalNumber.length <
|
|
9515
|
+
if (!nationalNumber || nationalNumber.length < 2) {
|
|
9564
9516
|
/* istanbul ignore if */
|
|
9565
9517
|
if (options.v2) throw new ParseError("TOO_SHORT");
|
|
9566
9518
|
return {};
|
|
9567
9519
|
}
|
|
9568
|
-
if (nationalNumber.length >
|
|
9520
|
+
if (nationalNumber.length > 17) {
|
|
9569
9521
|
if (options.v2) throw new ParseError("TOO_LONG");
|
|
9570
9522
|
return {};
|
|
9571
9523
|
}
|
|
@@ -9619,8 +9571,8 @@ function _extractFormattedPhoneNumber(text, extract, throwOnError) {
|
|
|
9619
9571
|
* @return {object} `{ ?number, ?ext }`.
|
|
9620
9572
|
*/
|
|
9621
9573
|
function parseInput(text, v2, extract) {
|
|
9622
|
-
var number = extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(text, { extractFormattedPhoneNumber: function extractFormattedPhoneNumber(text
|
|
9623
|
-
return _extractFormattedPhoneNumber(text
|
|
9574
|
+
var number = extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(text, { extractFormattedPhoneNumber: function extractFormattedPhoneNumber(text) {
|
|
9575
|
+
return _extractFormattedPhoneNumber(text, extract, v2);
|
|
9624
9576
|
} });
|
|
9625
9577
|
if (!number) return {};
|
|
9626
9578
|
if (!isViablePhoneNumber(number)) {
|
|
@@ -9635,12 +9587,12 @@ function parseInput(text, v2, extract) {
|
|
|
9635
9587
|
* Creates `parse()` result object.
|
|
9636
9588
|
*/
|
|
9637
9589
|
function result(country, nationalNumber, ext) {
|
|
9638
|
-
var result
|
|
9590
|
+
var result = {
|
|
9639
9591
|
country,
|
|
9640
9592
|
phone: nationalNumber
|
|
9641
9593
|
};
|
|
9642
|
-
if (ext) result
|
|
9643
|
-
return result
|
|
9594
|
+
if (ext) result.ext = ext;
|
|
9595
|
+
return result;
|
|
9644
9596
|
}
|
|
9645
9597
|
/**
|
|
9646
9598
|
* Parses a viable phone number.
|
|
@@ -9684,23 +9636,22 @@ function parsePhoneNumber$3(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
9684
9636
|
carrierCode
|
|
9685
9637
|
};
|
|
9686
9638
|
}
|
|
9687
|
-
|
|
9688
9639
|
//#endregion
|
|
9689
9640
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js
|
|
9690
9641
|
function _typeof$3(o) {
|
|
9691
9642
|
"@babel/helpers - typeof";
|
|
9692
|
-
return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o
|
|
9693
|
-
return typeof o
|
|
9694
|
-
} : function(o
|
|
9695
|
-
return o
|
|
9643
|
+
return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
9644
|
+
return typeof o;
|
|
9645
|
+
} : function(o) {
|
|
9646
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
9696
9647
|
}, _typeof$3(o);
|
|
9697
9648
|
}
|
|
9698
9649
|
function ownKeys$3(e, r) {
|
|
9699
9650
|
var t = Object.keys(e);
|
|
9700
9651
|
if (Object.getOwnPropertySymbols) {
|
|
9701
9652
|
var o = Object.getOwnPropertySymbols(e);
|
|
9702
|
-
r && (o = o.filter(function(r
|
|
9703
|
-
return Object.getOwnPropertyDescriptor(e, r
|
|
9653
|
+
r && (o = o.filter(function(r) {
|
|
9654
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
9704
9655
|
})), t.push.apply(t, o);
|
|
9705
9656
|
}
|
|
9706
9657
|
return t;
|
|
@@ -9708,10 +9659,10 @@ function ownKeys$3(e, r) {
|
|
|
9708
9659
|
function _objectSpread$3(e) {
|
|
9709
9660
|
for (var r = 1; r < arguments.length; r++) {
|
|
9710
9661
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
9711
|
-
r % 2 ? ownKeys$3(Object(t), !0).forEach(function(r
|
|
9712
|
-
_defineProperty$3(e, r
|
|
9713
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function(r
|
|
9714
|
-
Object.defineProperty(e, r
|
|
9662
|
+
r % 2 ? ownKeys$3(Object(t), !0).forEach(function(r) {
|
|
9663
|
+
_defineProperty$3(e, r, t[r]);
|
|
9664
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function(r) {
|
|
9665
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
9715
9666
|
});
|
|
9716
9667
|
}
|
|
9717
9668
|
return e;
|
|
@@ -9741,23 +9692,22 @@ function _toPrimitive$3(t, r) {
|
|
|
9741
9692
|
function parsePhoneNumberWithError(text, options, metadata) {
|
|
9742
9693
|
return parse(text, _objectSpread$3(_objectSpread$3({}, options), {}, { v2: true }), metadata);
|
|
9743
9694
|
}
|
|
9744
|
-
|
|
9745
9695
|
//#endregion
|
|
9746
9696
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/normalizeArguments.js
|
|
9747
9697
|
function _typeof$2(o) {
|
|
9748
9698
|
"@babel/helpers - typeof";
|
|
9749
|
-
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o
|
|
9750
|
-
return typeof o
|
|
9751
|
-
} : function(o
|
|
9752
|
-
return o
|
|
9699
|
+
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
9700
|
+
return typeof o;
|
|
9701
|
+
} : function(o) {
|
|
9702
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
9753
9703
|
}, _typeof$2(o);
|
|
9754
9704
|
}
|
|
9755
9705
|
function ownKeys$2(e, r) {
|
|
9756
9706
|
var t = Object.keys(e);
|
|
9757
9707
|
if (Object.getOwnPropertySymbols) {
|
|
9758
9708
|
var o = Object.getOwnPropertySymbols(e);
|
|
9759
|
-
r && (o = o.filter(function(r
|
|
9760
|
-
return Object.getOwnPropertyDescriptor(e, r
|
|
9709
|
+
r && (o = o.filter(function(r) {
|
|
9710
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
9761
9711
|
})), t.push.apply(t, o);
|
|
9762
9712
|
}
|
|
9763
9713
|
return t;
|
|
@@ -9765,10 +9715,10 @@ function ownKeys$2(e, r) {
|
|
|
9765
9715
|
function _objectSpread$2(e) {
|
|
9766
9716
|
for (var r = 1; r < arguments.length; r++) {
|
|
9767
9717
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
9768
|
-
r % 2 ? ownKeys$2(Object(t), !0).forEach(function(r
|
|
9769
|
-
_defineProperty$2(e, r
|
|
9770
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function(r
|
|
9771
|
-
Object.defineProperty(e, r
|
|
9718
|
+
r % 2 ? ownKeys$2(Object(t), !0).forEach(function(r) {
|
|
9719
|
+
_defineProperty$2(e, r, t[r]);
|
|
9720
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function(r) {
|
|
9721
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
9772
9722
|
});
|
|
9773
9723
|
}
|
|
9774
9724
|
return e;
|
|
@@ -9822,8 +9772,8 @@ function _iterableToArrayLimit(r, l) {
|
|
|
9822
9772
|
if (Object(t) !== t) return;
|
|
9823
9773
|
f = !1;
|
|
9824
9774
|
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
9825
|
-
} catch (r
|
|
9826
|
-
o = !0, n = r
|
|
9775
|
+
} catch (r) {
|
|
9776
|
+
o = !0, n = r;
|
|
9827
9777
|
} finally {
|
|
9828
9778
|
try {
|
|
9829
9779
|
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
@@ -9864,23 +9814,22 @@ function normalizeArguments(args) {
|
|
|
9864
9814
|
metadata
|
|
9865
9815
|
};
|
|
9866
9816
|
}
|
|
9867
|
-
|
|
9868
9817
|
//#endregion
|
|
9869
9818
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js
|
|
9870
9819
|
function _typeof$1(o) {
|
|
9871
9820
|
"@babel/helpers - typeof";
|
|
9872
|
-
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o
|
|
9873
|
-
return typeof o
|
|
9874
|
-
} : function(o
|
|
9875
|
-
return o
|
|
9821
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
9822
|
+
return typeof o;
|
|
9823
|
+
} : function(o) {
|
|
9824
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
9876
9825
|
}, _typeof$1(o);
|
|
9877
9826
|
}
|
|
9878
9827
|
function ownKeys$1(e, r) {
|
|
9879
9828
|
var t = Object.keys(e);
|
|
9880
9829
|
if (Object.getOwnPropertySymbols) {
|
|
9881
9830
|
var o = Object.getOwnPropertySymbols(e);
|
|
9882
|
-
r && (o = o.filter(function(r
|
|
9883
|
-
return Object.getOwnPropertyDescriptor(e, r
|
|
9831
|
+
r && (o = o.filter(function(r) {
|
|
9832
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
9884
9833
|
})), t.push.apply(t, o);
|
|
9885
9834
|
}
|
|
9886
9835
|
return t;
|
|
@@ -9888,10 +9837,10 @@ function ownKeys$1(e, r) {
|
|
|
9888
9837
|
function _objectSpread$1(e) {
|
|
9889
9838
|
for (var r = 1; r < arguments.length; r++) {
|
|
9890
9839
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
9891
|
-
r % 2 ? ownKeys$1(Object(t), !0).forEach(function(r
|
|
9892
|
-
_defineProperty$1(e, r
|
|
9893
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r
|
|
9894
|
-
Object.defineProperty(e, r
|
|
9840
|
+
r % 2 ? ownKeys$1(Object(t), !0).forEach(function(r) {
|
|
9841
|
+
_defineProperty$1(e, r, t[r]);
|
|
9842
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r) {
|
|
9843
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
9895
9844
|
});
|
|
9896
9845
|
}
|
|
9897
9846
|
return e;
|
|
@@ -9927,30 +9876,28 @@ function parsePhoneNumber$2(text, options, metadata) {
|
|
|
9927
9876
|
if (error instanceof ParseError) {} else throw error;
|
|
9928
9877
|
}
|
|
9929
9878
|
}
|
|
9930
|
-
|
|
9931
9879
|
//#endregion
|
|
9932
9880
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/parsePhoneNumber.js
|
|
9933
9881
|
function parsePhoneNumber$1() {
|
|
9934
9882
|
var _normalizeArguments = normalizeArguments(arguments), text = _normalizeArguments.text, options = _normalizeArguments.options, metadata = _normalizeArguments.metadata;
|
|
9935
9883
|
return parsePhoneNumber$2(text, options, metadata);
|
|
9936
9884
|
}
|
|
9937
|
-
|
|
9938
9885
|
//#endregion
|
|
9939
9886
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/isValidPhoneNumber.js
|
|
9940
9887
|
function _typeof(o) {
|
|
9941
9888
|
"@babel/helpers - typeof";
|
|
9942
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o
|
|
9943
|
-
return typeof o
|
|
9944
|
-
} : function(o
|
|
9945
|
-
return o
|
|
9889
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
9890
|
+
return typeof o;
|
|
9891
|
+
} : function(o) {
|
|
9892
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
9946
9893
|
}, _typeof(o);
|
|
9947
9894
|
}
|
|
9948
9895
|
function ownKeys(e, r) {
|
|
9949
9896
|
var t = Object.keys(e);
|
|
9950
9897
|
if (Object.getOwnPropertySymbols) {
|
|
9951
9898
|
var o = Object.getOwnPropertySymbols(e);
|
|
9952
|
-
r && (o = o.filter(function(r
|
|
9953
|
-
return Object.getOwnPropertyDescriptor(e, r
|
|
9899
|
+
r && (o = o.filter(function(r) {
|
|
9900
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
9954
9901
|
})), t.push.apply(t, o);
|
|
9955
9902
|
}
|
|
9956
9903
|
return t;
|
|
@@ -9958,10 +9905,10 @@ function ownKeys(e, r) {
|
|
|
9958
9905
|
function _objectSpread(e) {
|
|
9959
9906
|
for (var r = 1; r < arguments.length; r++) {
|
|
9960
9907
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
9961
|
-
r % 2 ? ownKeys(Object(t), !0).forEach(function(r
|
|
9962
|
-
_defineProperty(e, r
|
|
9963
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r
|
|
9964
|
-
Object.defineProperty(e, r
|
|
9908
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
|
|
9909
|
+
_defineProperty(e, r, t[r]);
|
|
9910
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
|
|
9911
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
9965
9912
|
});
|
|
9966
9913
|
}
|
|
9967
9914
|
return e;
|
|
@@ -9994,19 +9941,16 @@ function isValidPhoneNumber$1() {
|
|
|
9994
9941
|
var phoneNumber = parsePhoneNumber$2(text, options, metadata);
|
|
9995
9942
|
return phoneNumber && phoneNumber.isValid() || false;
|
|
9996
9943
|
}
|
|
9997
|
-
|
|
9998
9944
|
//#endregion
|
|
9999
9945
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js
|
|
10000
9946
|
function parsePhoneNumber() {
|
|
10001
9947
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
10002
9948
|
}
|
|
10003
|
-
|
|
10004
9949
|
//#endregion
|
|
10005
9950
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/min/exports/isValidPhoneNumber.js
|
|
10006
9951
|
function isValidPhoneNumber() {
|
|
10007
9952
|
return withMetadataArgument(isValidPhoneNumber$1, arguments);
|
|
10008
9953
|
}
|
|
10009
|
-
|
|
10010
9954
|
//#endregion
|
|
10011
9955
|
//#region ../infra/src/providers/browser/PhoneValidationProvider.ts
|
|
10012
9956
|
var PhoneValidationProvider = class {
|
|
@@ -10026,7 +9970,6 @@ var PhoneValidationProvider = class {
|
|
|
10026
9970
|
return null;
|
|
10027
9971
|
}
|
|
10028
9972
|
};
|
|
10029
|
-
|
|
10030
9973
|
//#endregion
|
|
10031
9974
|
//#region src/modules/ekyc/ekycValidators.ts
|
|
10032
9975
|
const phoneValidator = new PhoneValidationProvider();
|
|
@@ -10125,7 +10068,8 @@ const evaluateRules = (value, rules, field, validators) => {
|
|
|
10125
10068
|
function validateEkycForm(values, fields) {
|
|
10126
10069
|
const validators = createValidators();
|
|
10127
10070
|
return fields.reduce((errors, field) => {
|
|
10128
|
-
const
|
|
10071
|
+
const value = normalizeFieldValue(values[field.name]);
|
|
10072
|
+
const error = evaluateRules(value, field.validation, field, validators);
|
|
10129
10073
|
if (error) errors[field.name] = error;
|
|
10130
10074
|
return errors;
|
|
10131
10075
|
}, {});
|
|
@@ -10134,9 +10078,9 @@ function validateEkycField(values, fieldName, fields) {
|
|
|
10134
10078
|
const field = fields.find((f) => f.name === fieldName);
|
|
10135
10079
|
if (!field) return void 0;
|
|
10136
10080
|
const validators = createValidators();
|
|
10137
|
-
|
|
10081
|
+
const value = normalizeFieldValue(values[field.name]);
|
|
10082
|
+
return evaluateRules(value, field.validation, field, validators);
|
|
10138
10083
|
}
|
|
10139
|
-
|
|
10140
10084
|
//#endregion
|
|
10141
10085
|
//#region src/modules/ekyc/ekycActions.ts
|
|
10142
10086
|
function buildValidationRules(field, country, configSource) {
|
|
@@ -10385,7 +10329,6 @@ function processFieldValue(name, value, fieldsCountry) {
|
|
|
10385
10329
|
if (name === "panNumber") return value.replace(/[^a-zA-Z0-9]/g, "").toUpperCase();
|
|
10386
10330
|
return value;
|
|
10387
10331
|
}
|
|
10388
|
-
|
|
10389
10332
|
//#endregion
|
|
10390
10333
|
//#region src/modules/ekyc/ekycServices.ts
|
|
10391
10334
|
/** Fetches module configuration for EXTERNAL_VERIFICATION */
|
|
@@ -10429,7 +10372,6 @@ async function submitEkyc(data, signal) {
|
|
|
10429
10372
|
throw err;
|
|
10430
10373
|
}
|
|
10431
10374
|
}
|
|
10432
|
-
|
|
10433
10375
|
//#endregion
|
|
10434
10376
|
//#region src/modules/ekyc/ekycGuards.ts
|
|
10435
10377
|
const hasNoValidationErrorsGuard = ({ context }) => Object.keys(context.validationErrors ?? {}).length === 0;
|
|
@@ -10440,7 +10382,6 @@ const isCountryNotSupportedGuard = ({ event }) => {
|
|
|
10440
10382
|
const err = event.error;
|
|
10441
10383
|
return err instanceof EkycSubmitError && err.status === 400 && err.apiError === COUNTRY_NOT_SUPPORTED_MSG;
|
|
10442
10384
|
};
|
|
10443
|
-
|
|
10444
10385
|
//#endregion
|
|
10445
10386
|
//#region src/modules/ekyc/ekycActors.ts
|
|
10446
10387
|
const fetchModuleConfigActor = fromPromise(async ({ input, signal }) => fetchModuleConfig(input.flowId, signal));
|
|
@@ -10452,7 +10393,6 @@ const fetchPrefillDataActor = fromPromise(async ({ signal }) => {
|
|
|
10452
10393
|
};
|
|
10453
10394
|
});
|
|
10454
10395
|
const submitEkycActor = fromPromise(async ({ input, signal }) => submitEkyc(input, signal));
|
|
10455
|
-
|
|
10456
10396
|
//#endregion
|
|
10457
10397
|
//#region src/modules/ekyc/ekycStateMachine.ts
|
|
10458
10398
|
const ADDRESS_AUTOCOMPLETE_KEYS = [
|
|
@@ -10709,6 +10649,5 @@ const ekycMachine = setup({
|
|
|
10709
10649
|
closed: { type: "final" }
|
|
10710
10650
|
}
|
|
10711
10651
|
});
|
|
10712
|
-
|
|
10713
10652
|
//#endregion
|
|
10714
|
-
export { toEkycConfig as n, ekycMachine as t };
|
|
10653
|
+
export { toEkycConfig as n, ekycMachine as t };
|