@sheerid/jslib 2.272.0 → 2.274.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +949 -939
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/AddressComponent-BGFbAsvK.js +4 -4
  5. package/chunk/{AddressComponent-BLDI7tct.js → AddressComponent-DeQlodxe.js} +7 -7
  6. package/chunk/{AddressComponent-BLDI7tct.js.map → AddressComponent-DeQlodxe.js.map} +1 -1
  7. package/chunk/{AnnouncingHeader-BRATyipQ.js → AnnouncingHeader-Ces-_Aei.js} +6 -6
  8. package/chunk/{AnnouncingHeader-BRATyipQ.js.map → AnnouncingHeader-Ces-_Aei.js.map} +1 -1
  9. package/chunk/AnnouncingHeader-D01_AW-Z.js +4 -4
  10. package/chunk/{ApiUrls--XFHYK_y.js → ApiUrls-CCrEMNcV.js} +12 -10
  11. package/chunk/ApiUrls-CCrEMNcV.js.map +1 -0
  12. package/chunk/{ApiUrls-C95G_IDd.js → ApiUrls-CtTZRLIz.js} +15 -11
  13. package/chunk/ApiUrls-CtTZRLIz.js.map +1 -0
  14. package/chunk/{BirthDateComponent-fvOK4oaB.js → BirthDateComponent-DidDEb4J.js} +5 -5
  15. package/chunk/{BirthDateComponent-D_pIZKnS.js.map → BirthDateComponent-DidDEb4J.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-D_pIZKnS.js → BirthDateComponent-DlrYopO3.js} +8 -8
  17. package/chunk/{BirthDateComponent-fvOK4oaB.js.map → BirthDateComponent-DlrYopO3.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-WxyecFik.js → CaptchaComponent-CoUrV-PT.js} +89 -89
  19. package/chunk/{CaptchaComponent-D-Nz76Qg.js.map → CaptchaComponent-CoUrV-PT.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-D-Nz76Qg.js → CaptchaComponent-D57Ffe6H.js} +6 -6
  21. package/chunk/{CaptchaComponent-WxyecFik.js.map → CaptchaComponent-D57Ffe6H.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-DJQZb54_.js → ChangeLocaleComponent-ClmSxxuE.js} +5 -5
  23. package/chunk/{ChangeLocaleComponent-BlBc_jHa.js.map → ChangeLocaleComponent-ClmSxxuE.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-BlBc_jHa.js → ChangeLocaleComponent-fFVOdtsS.js} +8 -8
  25. package/chunk/{ChangeLocaleComponent-DJQZb54_.js.map → ChangeLocaleComponent-fFVOdtsS.js.map} +1 -1
  26. package/chunk/City-BJB8URp9.js +4 -4
  27. package/chunk/{City-EIxs9ACD.js → City-C1CWD14n.js} +7 -7
  28. package/chunk/{City-EIxs9ACD.js.map → City-C1CWD14n.js.map} +1 -1
  29. package/chunk/{CollegeNameComponent-CBt---A3.js → CollegeNameComponent-BMBLbuQc.js} +5 -5
  30. package/chunk/{CollegeNameComponent-C9EAsbzB.js.map → CollegeNameComponent-BMBLbuQc.js.map} +1 -1
  31. package/chunk/{CollegeNameComponent-C9EAsbzB.js → CollegeNameComponent-BnJDGc88.js} +9 -9
  32. package/chunk/{CollegeNameComponent-CBt---A3.js.map → CollegeNameComponent-BnJDGc88.js.map} +1 -1
  33. package/chunk/{CopyToClipboardComponent-L-1toxiA.js → CopyToClipboardComponent-C4DDGwe8.js} +6 -6
  34. package/chunk/{CopyToClipboardComponent-L-1toxiA.js.map → CopyToClipboardComponent-C4DDGwe8.js.map} +1 -1
  35. package/chunk/CopyToClipboardComponent-CWCaNcMS.js +4 -4
  36. package/chunk/{CountryComponentWrapper-LGUaAegT.js → CountryComponentWrapper-C1CD8ZAg.js} +5 -5
  37. package/chunk/{CountryComponentWrapper-Dc-JmygI.js.map → CountryComponentWrapper-C1CD8ZAg.js.map} +1 -1
  38. package/chunk/{CountryComponentWrapper-Dc-JmygI.js → CountryComponentWrapper-DeOnkeWj.js} +10 -10
  39. package/chunk/{CountryComponentWrapper-LGUaAegT.js.map → CountryComponentWrapper-DeOnkeWj.js.map} +1 -1
  40. package/chunk/{DischargeDateComponent-XQlaYCm3.js → DischargeDateComponent-Rjgoohzn.js} +11 -11
  41. package/chunk/{DischargeDateComponent-XQlaYCm3.js.map → DischargeDateComponent-Rjgoohzn.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-CofeIk6F.js → DischargeDateComponent-VzOdjzS5.js} +7 -7
  43. package/chunk/{DischargeDateComponent-CofeIk6F.js.map → DischargeDateComponent-VzOdjzS5.js.map} +1 -1
  44. package/chunk/{DriverLicenseNumberComponent-rkswBl9W.js → DriverLicenseNumberComponent-CFbngokf.js} +7 -7
  45. package/chunk/{DriverLicenseNumberComponent-rkswBl9W.js.map → DriverLicenseNumberComponent-CFbngokf.js.map} +1 -1
  46. package/chunk/DriverLicenseNumberComponent-Cfjxx2ik.js +4 -4
  47. package/chunk/EmailLoopPending-BHVS5imA.js +137 -0
  48. package/chunk/EmailLoopPending-BHVS5imA.js.map +1 -0
  49. package/chunk/EmailLoopPending-C7lV28N9.js +141 -0
  50. package/chunk/EmailLoopPending-C7lV28N9.js.map +1 -0
  51. package/chunk/{ExtraMessage-BWiMOnGY.js → ExtraMessage-C2HFAvWw.js} +7 -7
  52. package/chunk/{ExtraMessage-2Q_abIAw.js.map → ExtraMessage-C2HFAvWw.js.map} +1 -1
  53. package/chunk/{ExtraMessage-2Q_abIAw.js → ExtraMessage-DU8TXgyJ.js} +5 -5
  54. package/chunk/{ExtraMessage-BWiMOnGY.js.map → ExtraMessage-DU8TXgyJ.js.map} +1 -1
  55. package/chunk/{FirstResponderOrganizationComponent-BM458oYQ.js → FirstResponderOrganizationComponent-Cojs7nNP.js} +8 -8
  56. package/chunk/{FirstResponderOrganizationComponent-B8O9Js_y.js.map → FirstResponderOrganizationComponent-Cojs7nNP.js.map} +1 -1
  57. package/chunk/{FirstResponderOrganizationComponent-B8O9Js_y.js → FirstResponderOrganizationComponent-DaIpM9B_.js} +5 -5
  58. package/chunk/{FirstResponderOrganizationComponent-BM458oYQ.js.map → FirstResponderOrganizationComponent-DaIpM9B_.js.map} +1 -1
  59. package/chunk/{FormFieldInputSelect-C8JRUmT0.js → FormFieldInputSelect-BF_uqQju.js} +7 -7
  60. package/chunk/{FormFieldInputSelect-BZAr3lul.js.map → FormFieldInputSelect-BF_uqQju.js.map} +1 -1
  61. package/chunk/{FormFieldInputSelect-BZAr3lul.js → FormFieldInputSelect-Cio6GCQa.js} +5 -5
  62. package/chunk/{FormFieldInputSelect-C8JRUmT0.js.map → FormFieldInputSelect-Cio6GCQa.js.map} +1 -1
  63. package/chunk/{FormFieldLayout-CZyAbU7A.js → FormFieldLayout-BPBIL09f.js} +6 -6
  64. package/chunk/{FormFieldLayout-CZyAbU7A.js.map → FormFieldLayout-BPBIL09f.js.map} +1 -1
  65. package/chunk/FormFieldLayout-CuxYu2-h.js +4 -4
  66. package/chunk/{FormFieldText-hh7QLPOB.js → FormFieldText-BTWjkwwz.js} +7 -7
  67. package/chunk/{FormFieldText-hh7QLPOB.js.map → FormFieldText-BTWjkwwz.js.map} +1 -1
  68. package/chunk/FormFieldText-Qen7EAhG.js +4 -4
  69. package/chunk/{FormFieldTypeahead-D_9PZ8-X.js → FormFieldTypeahead-CEVrBhmP.js} +7 -7
  70. package/chunk/{FormFieldTypeahead-D_9PZ8-X.js.map → FormFieldTypeahead-CEVrBhmP.js.map} +1 -1
  71. package/chunk/{FormFieldTypeahead-BX2aRyXH.js → FormFieldTypeahead-CTs2-gEo.js} +15 -15
  72. package/chunk/{FormFieldTypeahead-BX2aRyXH.js.map → FormFieldTypeahead-CTs2-gEo.js.map} +1 -1
  73. package/chunk/{FormFooterComponent-C_die6IY.js → FormFooterComponent-BYkrVAWO.js} +7 -7
  74. package/chunk/{FormFooterComponent-C_die6IY.js.map → FormFooterComponent-BYkrVAWO.js.map} +1 -1
  75. package/chunk/{FormFooterComponent-2At3EC6s.js → FormFooterComponent-DSZX7clY.js} +14 -14
  76. package/chunk/{FormFooterComponent-2At3EC6s.js.map → FormFooterComponent-DSZX7clY.js.map} +1 -1
  77. package/chunk/{FormSelectChoice-Bw2i04PW.js → FormSelectChoice-eq9jx2Ul.js} +8 -8
  78. package/chunk/{FormSelectChoice-Bw2i04PW.js.map → FormSelectChoice-eq9jx2Ul.js.map} +1 -1
  79. package/chunk/{FormSelectChoice-DaO1Ka0G.js → FormSelectChoice-ktUJwtNJ.js} +5 -5
  80. package/chunk/{FormSelectChoice-DaO1Ka0G.js.map → FormSelectChoice-ktUJwtNJ.js.map} +1 -1
  81. package/chunk/InputText-Bw9hR6-E.js +4 -4
  82. package/chunk/{InputText-DLjv31-v.js → InputText-C8Mt-ybW.js} +7 -7
  83. package/chunk/{InputText-DLjv31-v.js.map → InputText-C8Mt-ybW.js.map} +1 -1
  84. package/chunk/{LicensedProfessionalOrganizationComponent-D0HVaJJm.js → LicensedProfessionalOrganizationComponent-B_kcJSx5.js} +8 -8
  85. package/chunk/{LicensedProfessionalOrganizationComponent-D0HVaJJm.js.map → LicensedProfessionalOrganizationComponent-B_kcJSx5.js.map} +1 -1
  86. package/chunk/{LicensedProfessionalOrganizationComponent-hpsP5RWp.js → LicensedProfessionalOrganizationComponent-Bn6p2Wrg.js} +5 -5
  87. package/chunk/{LicensedProfessionalOrganizationComponent-hpsP5RWp.js.map → LicensedProfessionalOrganizationComponent-Bn6p2Wrg.js.map} +1 -1
  88. package/chunk/LogoComponent-BbW4WS1K.js +4 -4
  89. package/chunk/{LogoComponent-DwoLE9u6.js → LogoComponent-CRfZyj0K.js} +6 -6
  90. package/chunk/{LogoComponent-DwoLE9u6.js.map → LogoComponent-CRfZyj0K.js.map} +1 -1
  91. package/chunk/{LowIncomeOrganizationComponent-qz116YzW.js → LowIncomeOrganizationComponent-DYt5-V2e.js} +12 -12
  92. package/chunk/{LowIncomeOrganizationComponent-Cdw9ZCY2.js.map → LowIncomeOrganizationComponent-DYt5-V2e.js.map} +1 -1
  93. package/chunk/{LowIncomeOrganizationComponent-Cdw9ZCY2.js → LowIncomeOrganizationComponent-Ddn9t9I5.js} +7 -7
  94. package/chunk/{LowIncomeOrganizationComponent-qz116YzW.js.map → LowIncomeOrganizationComponent-Ddn9t9I5.js.map} +1 -1
  95. package/chunk/{MedicalProfessionalOrganizationComponent-DsVqGq52.js → MedicalProfessionalOrganizationComponent-CiFB27-_.js} +5 -5
  96. package/chunk/{MedicalProfessionalOrganizationComponent-CpYu81O7.js.map → MedicalProfessionalOrganizationComponent-CiFB27-_.js.map} +1 -1
  97. package/chunk/{MedicalProfessionalOrganizationComponent-CpYu81O7.js → MedicalProfessionalOrganizationComponent-Cjcj-Orv.js} +8 -8
  98. package/chunk/{MedicalProfessionalOrganizationComponent-DsVqGq52.js.map → MedicalProfessionalOrganizationComponent-Cjcj-Orv.js.map} +1 -1
  99. package/chunk/MemberIdComponent-CuflPh6q.js +4 -4
  100. package/chunk/{MemberIdComponent-B5k8k7Ri.js → MemberIdComponent-DbvTJcos.js} +7 -7
  101. package/chunk/{MemberIdComponent-B5k8k7Ri.js.map → MemberIdComponent-DbvTJcos.js.map} +1 -1
  102. package/chunk/{MembershipOrganizationComponent-0OzqEfPm.js → MembershipOrganizationComponent-B4S0h6q3.js} +5 -5
  103. package/chunk/{MembershipOrganizationComponent-DQAJm-UR.js.map → MembershipOrganizationComponent-B4S0h6q3.js.map} +1 -1
  104. package/chunk/{MembershipOrganizationComponent-DQAJm-UR.js → MembershipOrganizationComponent-BoH-wjYj.js} +8 -8
  105. package/chunk/{MembershipOrganizationComponent-0OzqEfPm.js.map → MembershipOrganizationComponent-BoH-wjYj.js.map} +1 -1
  106. package/chunk/Onfido-CTCgAwnB.js +4 -4
  107. package/chunk/{PersonalInfoStepSubmitButton-GRWIeaA0.js → PersonalInfoStepSubmitButton-C7QmpcVd.js} +11 -11
  108. package/chunk/{PersonalInfoStepSubmitButton-GRWIeaA0.js.map → PersonalInfoStepSubmitButton-C7QmpcVd.js.map} +1 -1
  109. package/chunk/PersonalInfoStepSubmitButton-D55ut5Yp.js +4 -4
  110. package/chunk/{PersonalInfoStepWrapper-B8Bql-P4.js → PersonalInfoStepWrapper-B084bLf0.js} +5 -5
  111. package/chunk/{PersonalInfoStepWrapper-B8Bql-P4.js.map → PersonalInfoStepWrapper-B084bLf0.js.map} +1 -1
  112. package/chunk/{PersonalInfoStepWrapper-DITCr11F.js → PersonalInfoStepWrapper-eaFX3Ju2.js} +8 -8
  113. package/chunk/{PersonalInfoStepWrapper-DITCr11F.js.map → PersonalInfoStepWrapper-eaFX3Ju2.js.map} +1 -1
  114. package/chunk/PostalCodeComponent-Bs9KyOzc.js +4 -4
  115. package/chunk/{PostalCodeComponent-D9AMJfw1.js → PostalCodeComponent-Cd3MQUvZ.js} +7 -7
  116. package/chunk/{PostalCodeComponent-D9AMJfw1.js.map → PostalCodeComponent-Cd3MQUvZ.js.map} +1 -1
  117. package/chunk/SSN-Bj9BhqVP.js +4 -4
  118. package/chunk/{SSN-U1aHmtP9.js → SSN-xvlX6KT5.js} +8 -8
  119. package/chunk/{SSN-U1aHmtP9.js.map → SSN-xvlX6KT5.js.map} +1 -1
  120. package/chunk/{StateSelectComponent-DHTKj5Wr.js → StateSelectComponent-DB2ZVCla.js} +5 -5
  121. package/chunk/{StateSelectComponent-BHVGDHvm.js.map → StateSelectComponent-DB2ZVCla.js.map} +1 -1
  122. package/chunk/{StateSelectComponent-BHVGDHvm.js → StateSelectComponent-bfYGRqFK.js} +6 -6
  123. package/chunk/{StateSelectComponent-DHTKj5Wr.js.map → StateSelectComponent-bfYGRqFK.js.map} +1 -1
  124. package/chunk/{StatusComponent-BB2vWFCb.js → StatusComponent-B82t_yYt.js} +5 -5
  125. package/chunk/{StatusComponent-BB2vWFCb.js.map → StatusComponent-B82t_yYt.js.map} +1 -1
  126. package/chunk/{StatusComponent-BIHaYuzH.js → StatusComponent-DK_vIH9q.js} +8 -8
  127. package/chunk/{StatusComponent-BIHaYuzH.js.map → StatusComponent-DK_vIH9q.js.map} +1 -1
  128. package/chunk/{StepActiveMilitaryPersonalInfoComponent-QDu81Gxq.js → StepActiveMilitaryPersonalInfoComponent-Cd3A-_0F.js} +13 -13
  129. package/chunk/{StepActiveMilitaryPersonalInfoComponent-BTUcPHLY.js.map → StepActiveMilitaryPersonalInfoComponent-Cd3A-_0F.js.map} +1 -1
  130. package/chunk/{StepActiveMilitaryPersonalInfoComponent-BTUcPHLY.js → StepActiveMilitaryPersonalInfoComponent-EQ6bJz4Q.js} +19 -19
  131. package/chunk/{StepActiveMilitaryPersonalInfoComponent-QDu81Gxq.js.map → StepActiveMilitaryPersonalInfoComponent-EQ6bJz4Q.js.map} +1 -1
  132. package/chunk/{StepAgePersonalInfo-DNgmilV6.js → StepAgePersonalInfo-CBZWwvsC.js} +19 -19
  133. package/chunk/{StepAgePersonalInfo-DNgmilV6.js.map → StepAgePersonalInfo-CBZWwvsC.js.map} +1 -1
  134. package/chunk/{StepAgePersonalInfo-CqlMEv4L.js → StepAgePersonalInfo-DGEVSOm6.js} +12 -12
  135. package/chunk/{StepAgePersonalInfo-CqlMEv4L.js.map → StepAgePersonalInfo-DGEVSOm6.js.map} +1 -1
  136. package/chunk/StepCard-CPjUPPj0.js +4 -4
  137. package/chunk/{StepCard-C_A_mMZ0.js → StepCard-CbZaVC-t.js} +5 -5
  138. package/chunk/{StepCard-C_A_mMZ0.js.map → StepCard-CbZaVC-t.js.map} +1 -1
  139. package/chunk/{StepCollectIdentifier-BCDtRblo.js → StepCollectIdentifier-CgDnf5rW.js} +9 -9
  140. package/chunk/{StepCollectIdentifier-CeoBjs-4.js.map → StepCollectIdentifier-CgDnf5rW.js.map} +1 -1
  141. package/chunk/{StepCollectIdentifier-CeoBjs-4.js → StepCollectIdentifier-DdbkjInv.js} +5 -5
  142. package/chunk/{StepCollectIdentifier-BCDtRblo.js.map → StepCollectIdentifier-DdbkjInv.js.map} +1 -1
  143. package/chunk/StepCollectMilitaryStatusComponent-Ciey9jqp.js +9 -0
  144. package/chunk/{StepCollectMilitaryStatusComponent-Cmh7V4nS.js → StepCollectMilitaryStatusComponent-kyUWKjnU.js} +5 -5
  145. package/chunk/{StepCollectPersonalInfo-Bze5MY2K.js → StepCollectPersonalInfo-CrmZROYx.js} +31 -31
  146. package/chunk/{StepCollectPersonalInfo-Bze5MY2K.js.map → StepCollectPersonalInfo-CrmZROYx.js.map} +1 -1
  147. package/chunk/{StepCollectPersonalInfo-B72pYr2M.js → StepCollectPersonalInfo-DCuE4DCp.js} +20 -20
  148. package/chunk/{StepCollectPersonalInfo-B72pYr2M.js.map → StepCollectPersonalInfo-DCuE4DCp.js.map} +1 -1
  149. package/chunk/{StepCompleteAuthentication-B_kMG5T4.js → StepCompleteAuthentication-AKjdo3J9.js} +63 -60
  150. package/chunk/{StepCompleteAuthentication-B_kMG5T4.js.map → StepCompleteAuthentication-AKjdo3J9.js.map} +1 -1
  151. package/chunk/{StepCompleteAuthentication-WNoY9V_A.js → StepCompleteAuthentication-DytIfFlB.js} +68 -65
  152. package/chunk/{StepCompleteAuthentication-WNoY9V_A.js.map → StepCompleteAuthentication-DytIfFlB.js.map} +1 -1
  153. package/chunk/StepConsolation-CUnbBuhu.js +102 -0
  154. package/chunk/StepConsolation-CUnbBuhu.js.map +1 -0
  155. package/chunk/StepConsolation-CoWUFyb8.js +106 -0
  156. package/chunk/StepConsolation-CoWUFyb8.js.map +1 -0
  157. package/chunk/{StepDocUpload-YUcB9r4W.js → StepDocUpload-CxMWqwg6.js} +14 -14
  158. package/chunk/{StepDocUpload-mqNa0ERD.js.map → StepDocUpload-CxMWqwg6.js.map} +1 -1
  159. package/chunk/{StepDocUpload-mqNa0ERD.js → StepDocUpload-RjZfQA5x.js} +6 -6
  160. package/chunk/{StepDocUpload-YUcB9r4W.js.map → StepDocUpload-RjZfQA5x.js.map} +1 -1
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-Cmkn8ssJ.js → StepDriverLicensePersonalInfoComponent-Bi_QAHBT.js} +10 -10
  162. package/chunk/{StepDriverLicensePersonalInfoComponent-Cmkn8ssJ.js.map → StepDriverLicensePersonalInfoComponent-Bi_QAHBT.js.map} +1 -1
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-CER5z8aa.js → StepDriverLicensePersonalInfoComponent-CJolYOjr.js} +16 -16
  164. package/chunk/{StepDriverLicensePersonalInfoComponent-CER5z8aa.js.map → StepDriverLicensePersonalInfoComponent-CJolYOjr.js.map} +1 -1
  165. package/chunk/{StepEmailLoop-CPTtkURy.js → StepEmailLoop-DgiXMCz5.js} +13 -13
  166. package/chunk/{StepEmailLoop-CPTtkURy.js.map → StepEmailLoop-DgiXMCz5.js.map} +1 -1
  167. package/chunk/{StepEmailLoop-B8jULmEc.js → StepEmailLoop-Doiy14Hn.js} +6 -6
  168. package/chunk/{StepEmailLoop-B8jULmEc.js.map → StepEmailLoop-Doiy14Hn.js.map} +1 -1
  169. package/chunk/{StepEmploymentPersonalInfo-BX4-rPJK.js → StepEmploymentPersonalInfo-B7E-tWiE.js} +19 -19
  170. package/chunk/{StepEmploymentPersonalInfo-BX4-rPJK.js.map → StepEmploymentPersonalInfo-B7E-tWiE.js.map} +1 -1
  171. package/chunk/{StepEmploymentPersonalInfo-ZhNapb6M.js → StepEmploymentPersonalInfo-Ck7Qrd42.js} +11 -11
  172. package/chunk/{StepEmploymentPersonalInfo-ZhNapb6M.js.map → StepEmploymentPersonalInfo-Ck7Qrd42.js.map} +1 -1
  173. package/chunk/{StepFirstResponderPersonalInfo-B915idqX.js → StepFirstResponderPersonalInfo-Bu--Ctxo.js} +19 -19
  174. package/chunk/{StepFirstResponderPersonalInfo-B915idqX.js.map → StepFirstResponderPersonalInfo-Bu--Ctxo.js.map} +1 -1
  175. package/chunk/{StepFirstResponderPersonalInfo-uC_14VCl.js → StepFirstResponderPersonalInfo-oR__DCIi.js} +13 -13
  176. package/chunk/{StepFirstResponderPersonalInfo-uC_14VCl.js.map → StepFirstResponderPersonalInfo-oR__DCIi.js.map} +1 -1
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-ADRRmyOZ.js → StepGeneralIdentityPersonalInfoComponent-BWsszzUk.js} +11 -11
  178. package/chunk/{StepGeneralIdentityPersonalInfoComponent-ADRRmyOZ.js.map → StepGeneralIdentityPersonalInfoComponent-BWsszzUk.js.map} +1 -1
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-C52vpHHa.js → StepGeneralIdentityPersonalInfoComponent-C1LcXbVS.js} +19 -19
  180. package/chunk/{StepGeneralIdentityPersonalInfoComponent-C52vpHHa.js.map → StepGeneralIdentityPersonalInfoComponent-C1LcXbVS.js.map} +1 -1
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-BM1k5KK1.js → StepHybridIdentityPersonalInfoComponent-DtVW5Ijk.js} +11 -11
  182. package/chunk/{StepHybridIdentityPersonalInfoComponent-BM1k5KK1.js.map → StepHybridIdentityPersonalInfoComponent-DtVW5Ijk.js.map} +1 -1
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-DODm4DTn.js → StepHybridIdentityPersonalInfoComponent-fcsS3HaW.js} +20 -20
  184. package/chunk/{StepHybridIdentityPersonalInfoComponent-DODm4DTn.js.map → StepHybridIdentityPersonalInfoComponent-fcsS3HaW.js.map} +1 -1
  185. package/chunk/{StepIDCheckLoop-CEjxRr5H.js → StepIDCheckLoop-CkrXFNDD.js} +5 -5
  186. package/chunk/{StepIDCheckLoop-CEjxRr5H.js.map → StepIDCheckLoop-CkrXFNDD.js.map} +1 -1
  187. package/chunk/{StepIDCheckLoop-DIYrsFwr.js → StepIDCheckLoop-QwQxcr6G.js} +8 -8
  188. package/chunk/{StepIDCheckLoop-DIYrsFwr.js.map → StepIDCheckLoop-QwQxcr6G.js.map} +1 -1
  189. package/chunk/{StepIDCheckLoopOnfido-D_eLypXC.js → StepIDCheckLoopOnfido-BxWt_tTD.js} +12 -12
  190. package/chunk/{StepIDCheckLoopOnfido-wtq0fJ-c.js.map → StepIDCheckLoopOnfido-BxWt_tTD.js.map} +1 -1
  191. package/chunk/{StepIDCheckLoopOnfido-wtq0fJ-c.js → StepIDCheckLoopOnfido-DiPll7qE.js} +7 -7
  192. package/chunk/{StepIDCheckLoopOnfido-D_eLypXC.js.map → StepIDCheckLoopOnfido-DiPll7qE.js.map} +1 -1
  193. package/chunk/{StepIDCheckLoopRegula-B0r0Uv54.js → StepIDCheckLoopRegula-Bdm-MlNE.js} +5 -5
  194. package/chunk/{StepIDCheckLoopRegula-B0r0Uv54.js.map → StepIDCheckLoopRegula-Bdm-MlNE.js.map} +1 -1
  195. package/chunk/{StepIDCheckLoopRegula-Do3ozU_J.js → StepIDCheckLoopRegula-C4VNjr3j.js} +10 -10
  196. package/chunk/{StepIDCheckLoopRegula-Do3ozU_J.js.map → StepIDCheckLoopRegula-C4VNjr3j.js.map} +1 -1
  197. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-QEnfHmjk.js → StepInactiveMilitaryPersonalInfoComponent-CFuD6VTH.js} +15 -15
  198. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-QEnfHmjk.js.map → StepInactiveMilitaryPersonalInfoComponent-CFuD6VTH.js.map} +1 -1
  199. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-efGhy63T.js → StepInactiveMilitaryPersonalInfoComponent-E7wXl5fr.js} +24 -24
  200. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-efGhy63T.js.map → StepInactiveMilitaryPersonalInfoComponent-E7wXl5fr.js.map} +1 -1
  201. package/chunk/{StepLicensedProfessionalPersonalInfo-Cs86v_OB.js → StepLicensedProfessionalPersonalInfo-7qvdOCxP.js} +18 -18
  202. package/chunk/{StepLicensedProfessionalPersonalInfo-CX9NspCc.js.map → StepLicensedProfessionalPersonalInfo-7qvdOCxP.js.map} +1 -1
  203. package/chunk/{StepLicensedProfessionalPersonalInfo-CX9NspCc.js → StepLicensedProfessionalPersonalInfo-BPO41u3Q.js} +13 -13
  204. package/chunk/{StepLicensedProfessionalPersonalInfo-Cs86v_OB.js.map → StepLicensedProfessionalPersonalInfo-BPO41u3Q.js.map} +1 -1
  205. package/chunk/{StepLowIncomePersonalInfo-D7eko7ht.js → StepLowIncomePersonalInfo-DM27_Fv9.js} +22 -22
  206. package/chunk/{StepLowIncomePersonalInfo-D7eko7ht.js.map → StepLowIncomePersonalInfo-DM27_Fv9.js.map} +1 -1
  207. package/chunk/{StepLowIncomePersonalInfo-DFVNYXtR.js → StepLowIncomePersonalInfo-sLsTIBCk.js} +13 -13
  208. package/chunk/{StepLowIncomePersonalInfo-DFVNYXtR.js.map → StepLowIncomePersonalInfo-sLsTIBCk.js.map} +1 -1
  209. package/chunk/{StepMedicalProfessionalPersonalInfo-C_AnvyQj.js → StepMedicalProfessionalPersonalInfo-BKS432PR.js} +14 -14
  210. package/chunk/{StepMedicalProfessionalPersonalInfo-BAcFB6Mb.js.map → StepMedicalProfessionalPersonalInfo-BKS432PR.js.map} +1 -1
  211. package/chunk/{StepMedicalProfessionalPersonalInfo-BAcFB6Mb.js → StepMedicalProfessionalPersonalInfo-CXFjH431.js} +20 -20
  212. package/chunk/{StepMedicalProfessionalPersonalInfo-C_AnvyQj.js.map → StepMedicalProfessionalPersonalInfo-CXFjH431.js.map} +1 -1
  213. package/chunk/{StepMemberPersonalInfo-BW67LVWx.js → StepMemberPersonalInfo-BfERXavf.js} +12 -12
  214. package/chunk/{StepMemberPersonalInfo-BW67LVWx.js.map → StepMemberPersonalInfo-BfERXavf.js.map} +1 -1
  215. package/chunk/{StepMemberPersonalInfo-CDtaOn7T.js → StepMemberPersonalInfo-CqtZioX5.js} +17 -17
  216. package/chunk/{StepMemberPersonalInfo-CDtaOn7T.js.map → StepMemberPersonalInfo-CqtZioX5.js.map} +1 -1
  217. package/chunk/{StepMoverPersonalInfo-CnGdDV-d.js → StepMoverPersonalInfo-B4uXChsu.js} +15 -15
  218. package/chunk/{StepMoverPersonalInfo-CGhgUm1j.js.map → StepMoverPersonalInfo-B4uXChsu.js.map} +1 -1
  219. package/chunk/{StepMoverPersonalInfo-CGhgUm1j.js → StepMoverPersonalInfo-CQprA7My.js} +9 -9
  220. package/chunk/{StepMoverPersonalInfo-CnGdDV-d.js.map → StepMoverPersonalInfo-CQprA7My.js.map} +1 -1
  221. package/chunk/{StepOverrideComponent-Cde3FPYX.js → StepOverrideComponent-BfutBYKU.js} +11 -11
  222. package/chunk/{StepOverrideComponent-Cde3FPYX.js.map → StepOverrideComponent-BfutBYKU.js.map} +1 -1
  223. package/chunk/{StepOverrideComponent-wiMuwIu-.js → StepOverrideComponent-BqQF_3dO.js} +5 -5
  224. package/chunk/{StepOverrideComponent-wiMuwIu-.js.map → StepOverrideComponent-BqQF_3dO.js.map} +1 -1
  225. package/chunk/StepSMSLoop-BZS30ArE.js +180 -0
  226. package/chunk/StepSMSLoop-BZS30ArE.js.map +1 -0
  227. package/chunk/StepSMSLoop-CsN3smWP.js +184 -0
  228. package/chunk/StepSMSLoop-CsN3smWP.js.map +1 -0
  229. package/chunk/StepSSO-BGHCbduX.js +4 -4
  230. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  231. package/chunk/{StepSocialSecurityNumber-BOaXygFU.js → StepSocialSecurityNumber-CNYkj1us.js} +13 -13
  232. package/chunk/{StepSocialSecurityNumber-BOaXygFU.js.map → StepSocialSecurityNumber-CNYkj1us.js.map} +1 -1
  233. package/chunk/{StepSocialSecurityNumber-CBrM2Tm-.js → StepSocialSecurityNumber-h5XRRxQ1.js} +6 -6
  234. package/chunk/{StepSocialSecurityNumber-CBrM2Tm-.js.map → StepSocialSecurityNumber-h5XRRxQ1.js.map} +1 -1
  235. package/chunk/{StepStudentPersonalInfo-CVQpNQXs.js → StepStudentPersonalInfo-BK4Vzxug.js} +19 -19
  236. package/chunk/{StepStudentPersonalInfo-BQuHXyBx.js.map → StepStudentPersonalInfo-BK4Vzxug.js.map} +1 -1
  237. package/chunk/{StepStudentPersonalInfo-BQuHXyBx.js → StepStudentPersonalInfo-DMDBFsoT.js} +13 -13
  238. package/chunk/{StepStudentPersonalInfo-CVQpNQXs.js.map → StepStudentPersonalInfo-DMDBFsoT.js.map} +1 -1
  239. package/chunk/{StepSuccess-Fh5qHhhJ.js → StepSuccess-BTgPBEUH.js} +78 -74
  240. package/chunk/StepSuccess-BTgPBEUH.js.map +1 -0
  241. package/chunk/{StepSuccess-B4m12cuz.js → StepSuccess-CpGC44L8.js} +104 -100
  242. package/chunk/StepSuccess-CpGC44L8.js.map +1 -0
  243. package/chunk/{StepTeacherPersonalInfo-BWIWPznT.js → StepTeacherPersonalInfo-3iYsyMc8.js} +13 -13
  244. package/chunk/{StepTeacherPersonalInfo-BWIWPznT.js.map → StepTeacherPersonalInfo-3iYsyMc8.js.map} +1 -1
  245. package/chunk/{StepTeacherPersonalInfo-Iimih9IF.js → StepTeacherPersonalInfo-CCm_8ZHt.js} +18 -18
  246. package/chunk/{StepTeacherPersonalInfo-Iimih9IF.js.map → StepTeacherPersonalInfo-CCm_8ZHt.js.map} +1 -1
  247. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  248. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  249. package/chunk/{TeacherSchoolComponent-BQd6FhY1.js → TeacherSchoolComponent-5OscH6cJ.js} +5 -5
  250. package/chunk/{TeacherSchoolComponent-Dd19Qkfb.js.map → TeacherSchoolComponent-5OscH6cJ.js.map} +1 -1
  251. package/chunk/{TeacherSchoolComponent-Dd19Qkfb.js → TeacherSchoolComponent-wTJoE5I1.js} +9 -9
  252. package/chunk/{TeacherSchoolComponent-BQd6FhY1.js.map → TeacherSchoolComponent-wTJoE5I1.js.map} +1 -1
  253. package/chunk/TestingRouteOverrides-BeBP6XXB.js +4 -4
  254. package/chunk/{TestingRouteOverrides-DmJbygl9.js → TestingRouteOverrides-Bt8QuyMY.js} +13 -13
  255. package/chunk/{TestingRouteOverrides-DmJbygl9.js.map → TestingRouteOverrides-Bt8QuyMY.js.map} +1 -1
  256. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  257. package/chunk/{VerificationApiClient-D9TY-1LV.js → VerificationApiClient-CV-pPSzS.js} +36 -36
  258. package/chunk/{VerificationApiClient-D9TY-1LV.js.map → VerificationApiClient-CV-pPSzS.js.map} +1 -1
  259. package/chunk/{VerificationApiClient-BU-AI9RP.js → VerificationApiClient-DDY8kVrd.js} +5 -5
  260. package/chunk/{VerificationApiClient-BU-AI9RP.js.map → VerificationApiClient-DDY8kVrd.js.map} +1 -1
  261. package/chunk/{VerificationApiUtils-DcBv0vx1.js → VerificationApiUtils-DVXEkkFJ.js} +8 -8
  262. package/chunk/{VerificationApiUtils-BSy9Ko-O.js.map → VerificationApiUtils-DVXEkkFJ.js.map} +1 -1
  263. package/chunk/{VerificationApiUtils-BSy9Ko-O.js → VerificationApiUtils-V2wmWL9a.js} +6 -6
  264. package/chunk/{VerificationApiUtils-DcBv0vx1.js.map → VerificationApiUtils-V2wmWL9a.js.map} +1 -1
  265. package/chunk/ar-Dh-2G5c3.js +4 -4
  266. package/chunk/bg-BbAhdJRh.js +4 -4
  267. package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
  268. package/chunk/countryUtils-Bg9KdIbF.js +4 -4
  269. package/chunk/{countryUtils-DuFXy-Lc.js → countryUtils-QLzXPJsg.js} +5 -5
  270. package/chunk/{countryUtils-DuFXy-Lc.js.map → countryUtils-QLzXPJsg.js.map} +1 -1
  271. package/chunk/cs-CYGsmvju.js +4 -4
  272. package/chunk/da-COZWvvUD.js +4 -4
  273. package/chunk/de-BHclNQGr.js +4 -4
  274. package/chunk/{downshift.esm--oxGxbi5.js → downshift.esm-BMKqQbKD.js} +7 -7
  275. package/chunk/{downshift.esm--oxGxbi5.js.map → downshift.esm-BMKqQbKD.js.map} +1 -1
  276. package/chunk/{downshift.esm-KWl0sOpP.js → downshift.esm-Be27xbKJ.js} +5 -5
  277. package/chunk/{downshift.esm-KWl0sOpP.js.map → downshift.esm-Be27xbKJ.js.map} +1 -1
  278. package/chunk/el-Bv_XQ0FX.js +4 -4
  279. package/chunk/empties-COfIPxJ5.js +4 -4
  280. package/chunk/{empties-1_PAn0id.js → empties-DctbDY5s.js} +5 -5
  281. package/chunk/{empties-1_PAn0id.js.map → empties-DctbDY5s.js.map} +1 -1
  282. package/chunk/en-GB-CkENrh2I.js +4 -4
  283. package/chunk/es-BRKAFTKN.js +4 -4
  284. package/chunk/es-ES-BWfAbWbQ.js +4 -4
  285. package/chunk/et-CxMgVbW2.js +4 -4
  286. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  287. package/chunk/fa-BEC3aNBF.js +4 -4
  288. package/chunk/fi-BaP3FR15.js +4 -4
  289. package/chunk/fr-CA-CS4SuM-m.js +4 -4
  290. package/chunk/fr-DSU2B7p2.js +4 -4
  291. package/chunk/ga-DZEr9X_A.js +4 -4
  292. package/chunk/hi-IN-DvBVpWNQ.js +4 -4
  293. package/chunk/{hooks-XC-iN9KQ.js → hooks-DLtMDttz.js} +7 -7
  294. package/chunk/{hooks-XC-iN9KQ.js.map → hooks-DLtMDttz.js.map} +1 -1
  295. package/chunk/hooks-PN48cX8E.js +4 -4
  296. package/chunk/hr-CL1lHDbu.js +4 -4
  297. package/chunk/hu-Cf5Uq9R_.js +4 -4
  298. package/chunk/id-ay9yilKx.js +4 -4
  299. package/chunk/{intl-DJeZs3uh.js → intl-TN1Dianl.js} +583 -583
  300. package/chunk/{intl-DJeZs3uh.js.map → intl-TN1Dianl.js.map} +1 -1
  301. package/chunk/is-tpzRyIZi.js +4 -4
  302. package/chunk/it-C3-BupR4.js +4 -4
  303. package/chunk/iw-CBna3XPT.js +4 -4
  304. package/chunk/ja-DvXOkZRn.js +4 -4
  305. package/chunk/{jsx-runtime-Dd4OJ9ft.js → jsx-runtime-QRCZ6ZTK.js} +5 -5
  306. package/chunk/{jsx-runtime-Dd4OJ9ft.js.map → jsx-runtime-QRCZ6ZTK.js.map} +1 -1
  307. package/chunk/jsx-runtime-lVLuHIkM.js +4 -4
  308. package/chunk/kk-DGXgY6Uw.js +4 -4
  309. package/chunk/ko-BlUGwGxN.js +4 -4
  310. package/chunk/lo-DT6wxwS1.js +4 -4
  311. package/chunk/lt-CT5-H4ci.js +4 -4
  312. package/chunk/lv-CBMD1XRp.js +4 -4
  313. package/chunk/{militaryStepHelpers-DHTF3XjP.js → militaryStepHelpers-CF0fNRKQ.js} +5 -5
  314. package/chunk/{militaryStepHelpers-DHTF3XjP.js.map → militaryStepHelpers-CF0fNRKQ.js.map} +1 -1
  315. package/chunk/militaryStepHelpers-W31scSUE.js +4 -4
  316. package/chunk/{mocks-D4xoUQMt.js → mocks-BN2OnOjp.js} +6 -6
  317. package/chunk/{mocks-D4xoUQMt.js.map → mocks-BN2OnOjp.js.map} +1 -1
  318. package/chunk/mocks-l2e0aaeT.js +4 -4
  319. package/chunk/ms-DuxNeOgk.js +4 -4
  320. package/chunk/nl-BE-D028qM7-.js +4 -4
  321. package/chunk/nl-DEuaat_s.js +4 -4
  322. package/chunk/no-CjeRjD1D.js +4 -4
  323. package/chunk/options-BK6Zk2Oe.js +4 -4
  324. package/chunk/pl-X0qJw7IS.js +4 -4
  325. package/chunk/programThemeGetters-4Wf-YSPx.js +4 -4
  326. package/chunk/{programThemeGetters-UDiPGnE3.js → programThemeGetters-DECHMs91.js} +5 -5
  327. package/chunk/{programThemeGetters-UDiPGnE3.js.map → programThemeGetters-DECHMs91.js.map} +1 -1
  328. package/chunk/pt-BR-C6XmLn3o.js +4 -4
  329. package/chunk/pt-o7v4iOVx.js +4 -4
  330. package/chunk/{refs-i0Eo9ybu.js → refs-6KTRrw-F.js} +5 -5
  331. package/chunk/{refs-i0Eo9ybu.js.map → refs-6KTRrw-F.js.map} +1 -1
  332. package/chunk/refs-B8CaE8yL.js +4 -4
  333. package/chunk/ro-C74ZR3HS.js +4 -4
  334. package/chunk/ru-BA9P3RVu.js +4 -4
  335. package/chunk/sk-DmyizV49.js +4 -4
  336. package/chunk/sl-Cxm3YoWE.js +4 -4
  337. package/chunk/sr-gOtgEOlP.js +4 -4
  338. package/chunk/stepComponentHelpers-Darhp1Nn.js +4 -4
  339. package/chunk/{stepComponentHelpers-D-rc0nWU.js → stepComponentHelpers-DeWac6nj.js} +9 -9
  340. package/chunk/{stepComponentHelpers-D-rc0nWU.js.map → stepComponentHelpers-DeWac6nj.js.map} +1 -1
  341. package/chunk/strings-DWLVdUcm.js +4 -4
  342. package/chunk/sv-DnCUWo1-.js +4 -4
  343. package/chunk/sw-BY7XXvUU.js +4 -4
  344. package/chunk/ta-CVL0b6Hh.js +4 -4
  345. package/chunk/th-CyU0RW3x.js +4 -4
  346. package/chunk/tl-BfgQ0irB.js +4 -4
  347. package/chunk/tr-BPg_L4bY.js +4 -4
  348. package/chunk/uk-CNaioa7V.js +4 -4
  349. package/chunk/ur-Ht1Mcpm0.js +4 -4
  350. package/chunk/{useCollectFieldsEndpoint-sPDbkjgh.js → useCollectFieldsEndpoint-C63IlRvv.js} +6 -6
  351. package/chunk/{useCollectFieldsEndpoint-sPDbkjgh.js.map → useCollectFieldsEndpoint-C63IlRvv.js.map} +1 -1
  352. package/chunk/{useCollectFieldsEndpoint-D4yLfK0P.js → useCollectFieldsEndpoint-bttd-mOP.js} +8 -8
  353. package/chunk/{useCollectFieldsEndpoint-D4yLfK0P.js.map → useCollectFieldsEndpoint-bttd-mOP.js.map} +1 -1
  354. package/chunk/{useMetrics-BXtJHRFy.js → useMetrics-CiB8jnkE.js} +7 -7
  355. package/chunk/{useMetrics-BXtJHRFy.js.map → useMetrics-CiB8jnkE.js.map} +1 -1
  356. package/chunk/useMetrics-iqbs0R1u.js +4 -4
  357. package/chunk/vi-sI1BYLXG.js +4 -4
  358. package/chunk/zh-DNG4VB8r.js +4 -4
  359. package/chunk/zh-HK-5Y3ROXEm.js +4 -4
  360. package/chunk/zu-DNMG8Idu.js +4 -4
  361. package/package.json +1 -1
  362. package/sheerid-install.css +4 -4
  363. package/sheerid-install.js +6 -5
  364. package/sheerid-install.js.map +1 -1
  365. package/sheerid.css +5 -5
  366. package/sheerid.js +59 -50
  367. package/sheerid.js.map +1 -1
  368. package/chunk/ApiUrls--XFHYK_y.js.map +0 -1
  369. package/chunk/ApiUrls-C95G_IDd.js.map +0 -1
  370. package/chunk/EmailLoopPending-DE3tDyAY.js +0 -138
  371. package/chunk/EmailLoopPending-DE3tDyAY.js.map +0 -1
  372. package/chunk/EmailLoopPending-e5hz6IDY.js +0 -134
  373. package/chunk/EmailLoopPending-e5hz6IDY.js.map +0 -1
  374. package/chunk/StepCollectMilitaryStatusComponent-DDpq80DQ.js +0 -9
  375. package/chunk/StepConsolation-DP_22v0E.js +0 -104
  376. package/chunk/StepConsolation-DP_22v0E.js.map +0 -1
  377. package/chunk/StepConsolation-ol5BCfGd.js +0 -100
  378. package/chunk/StepConsolation-ol5BCfGd.js.map +0 -1
  379. package/chunk/StepSMSLoop-0m1VJY-W.js +0 -181
  380. package/chunk/StepSMSLoop-0m1VJY-W.js.map +0 -1
  381. package/chunk/StepSMSLoop-CPLQBDGY.js +0 -177
  382. package/chunk/StepSMSLoop-CPLQBDGY.js.map +0 -1
  383. package/chunk/StepSuccess-B4m12cuz.js.map +0 -1
  384. package/chunk/StepSuccess-Fh5qHhhJ.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StepAgePersonalInfo-CqlMEv4L.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CAAK;EACvF,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALA,EAAM,gBAAgB;EAEpB,EAAqC,eAAe,EAAU,aAAa,CAAmB;CAChG,GAAG,CAAC,EAAU,OAAO,CAAC,GAGpB,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyC;IAAqB,qBAAoB;GAAO,CAAA;GAEzF,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBA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1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE0E"}
1
+ {"version":3,"file":"StepAgePersonalInfo-DGEVSOm6.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0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AAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE0E"}
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.272.0
4
- * BUILD_TIMESTAMP: 1786985243999
5
- * BUILD_DATE: Mon Aug 17 2026 16:47:23 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: d064c2af76aac9d55139aba9c13ac7581d22fea8
3
+ * VERSION: 2.274.0
4
+ * BUILD_TIMESTAMP: 1787094663644
5
+ * BUILD_DATE: Tue Aug 18 2026 23:11:03 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f159388091b6a2928e80ee1b0cbd31d037de5a6c
7
7
  */
8
8
  import { t as e } from "./jsx-runtime-lVLuHIkM.js";
9
9
  //#region src/components/StepIDCheckLoop/StepCard/StepCard.tsx
@@ -4,12 +4,12 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.272.0
8
- * BUILD_TIMESTAMP: 1786985250935
9
- * BUILD_DATE: Mon Aug 17 2026 16:47:30 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d064c2af76aac9d55139aba9c13ac7581d22fea8
7
+ * VERSION: 2.274.0
8
+ * BUILD_TIMESTAMP: 1787094668046
9
+ * BUILD_DATE: Tue Aug 18 2026 23:11:08 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: f159388091b6a2928e80ee1b0cbd31d037de5a6c
11
11
  */
12
- import { t as e } from "./jsx-runtime-Dd4OJ9ft.js";
12
+ import { t as e } from "./jsx-runtime-QRCZ6ZTK.js";
13
13
  //#region src/components/StepIDCheckLoop/StepCard/StepCard.tsx
14
14
  var t = e(), n = ({ icon: e, title: n, subtitle: r = void 0, isHighlighted: i = !1 }) => /* @__PURE__ */ (0, t.jsxs)("div", {
15
15
  className: `sid-id-check-step-card ${i && "sid-id-check-step-card--highlighted"}`,
@@ -1 +1 @@
1
- {"version":3,"file":"StepCard-C_A_mMZ0.js","names":[],"sources":["../../src/components/StepIDCheckLoop/StepCard/StepCard.tsx"],"sourcesContent":["import type React from \"react\";\n\ninterface StepCardComponentProps {\n icon: React.ReactNode;\n title: React.ReactNode;\n subtitle?: React.ReactNode;\n isHighlighted?: boolean;\n}\n\nconst StepCard = ({\n icon,\n title,\n subtitle = undefined,\n isHighlighted = false,\n}: StepCardComponentProps) => (\n <div\n className={`sid-id-check-step-card ${isHighlighted && \"sid-id-check-step-card--highlighted\"}`}\n >\n <div className=\"sid-id-check-step-card__icon\">{icon}</div>\n\n <div className=\"sid-id-check-step-card__description\">\n <div className=\"sid-id-check-step-card__title\">{title}</div>\n {subtitle && (\n <div className=\"sid-id-check-step-card__subtitle sid-l-space-top-sm\">{subtitle}</div>\n )}\n </div>\n </div>\n);\n\nexport const StepCardComponent = StepCard;\n"],"mappings":";;aA6Ba,KApBK,EAChB,SACA,UACA,cAAW,KAAA,GACX,mBAAgB,SAEhB,iBAAA,GAAA,EAAA,MAAC,OAAD;CACE,WAAW,0BAA0B,KAAiB;WADxD,CAGE,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YAAgC;CAAU,CAAA,GAEzD,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAiC;EAAW,CAAA,GAC1D,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAuD;EAAc,CAAA,CAEnF;GACF"}
1
+ {"version":3,"file":"StepCard-CbZaVC-t.js","names":[],"sources":["../../src/components/StepIDCheckLoop/StepCard/StepCard.tsx"],"sourcesContent":["import type React from \"react\";\n\ninterface StepCardComponentProps {\n icon: React.ReactNode;\n title: React.ReactNode;\n subtitle?: React.ReactNode;\n isHighlighted?: boolean;\n}\n\nconst StepCard = ({\n icon,\n title,\n subtitle = undefined,\n isHighlighted = false,\n}: StepCardComponentProps) => (\n <div\n className={`sid-id-check-step-card ${isHighlighted && \"sid-id-check-step-card--highlighted\"}`}\n >\n <div className=\"sid-id-check-step-card__icon\">{icon}</div>\n\n <div className=\"sid-id-check-step-card__description\">\n <div className=\"sid-id-check-step-card__title\">{title}</div>\n {subtitle && (\n <div className=\"sid-id-check-step-card__subtitle sid-l-space-top-sm\">{subtitle}</div>\n )}\n </div>\n </div>\n);\n\nexport const StepCardComponent = StepCard;\n"],"mappings":";;aA6Ba,KApBK,EAChB,SACA,UACA,cAAW,KAAA,GACX,mBAAgB,SAEhB,iBAAA,GAAA,EAAA,MAAC,OAAD;CACE,WAAW,0BAA0B,KAAiB;WADxD,CAGE,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YAAgC;CAAU,CAAA,GAEzD,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAiC;EAAW,CAAA,GAC1D,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAuD;EAAc,CAAA,CAEnF;GACF"}
@@ -4,17 +4,17 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.272.0
8
- * BUILD_TIMESTAMP: 1786985250935
9
- * BUILD_DATE: Mon Aug 17 2026 16:47:30 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d064c2af76aac9d55139aba9c13ac7581d22fea8
7
+ * VERSION: 2.274.0
8
+ * BUILD_TIMESTAMP: 1787094668046
9
+ * BUILD_DATE: Tue Aug 18 2026 23:11:08 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: f159388091b6a2928e80ee1b0cbd31d037de5a6c
11
11
  */
12
- import { Lt as e, p as t } from "./intl-DJeZs3uh.js";
13
- import { n, t as r } from "./jsx-runtime-Dd4OJ9ft.js";
14
- import { O as i, t as a } from "./FormFooterComponent-2At3EC6s.js";
12
+ import { Lt as e, p as t } from "./intl-TN1Dianl.js";
13
+ import { n, t as r } from "./jsx-runtime-QRCZ6ZTK.js";
14
+ import { O as i, t as a } from "./FormFooterComponent-DSZX7clY.js";
15
15
  import { t as o } from "../_mysheerid-preview.js";
16
- import { C as s, h as c } from "./stepComponentHelpers-D-rc0nWU.js";
17
- import { n as l, t as u } from "./PersonalInfoStepSubmitButton-GRWIeaA0.js";
16
+ import { C as s, h as c } from "./stepComponentHelpers-DeWac6nj.js";
17
+ import { n as l, t as u } from "./PersonalInfoStepSubmitButton-C7QmpcVd.js";
18
18
  //#region src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx
19
19
  var d = r(), f = ({ verificationService: r }) => {
20
20
  let f = r.viewModel, { fieldValidationErrors: p } = r, m = r.verificationResponse, h = i(m), g = (e, n) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepCollectIdentifier-CeoBjs-4.js","names":[],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;;aAqFa,KA7DkB,EAAE,6BAAsD;CACrF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAE/D,KAAoC,GAAuC,MAAe;EAC9F,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADA,EAAiC,SAAS,CAAQ,GAClD,EAAqC,SAAS,GAAU,CAAmB;KAC7E;KACA,YAAY,MAAiD,EAAqB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
1
+ {"version":3,"file":"StepCollectIdentifier-CgDnf5rW.js","names":[],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;;aAqFa,KA7DkB,EAAE,6BAAsD;CACrF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAE/D,KAAoC,GAAuC,MAAe;EAC9F,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADA,EAAiC,SAAS,CAAQ,GAClD,EAAqC,SAAS,GAAU,CAAmB;KAC7E;KACA,YAAY,MAAiD,EAAqB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
@@ -1,13 +1,13 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.272.0
4
- * BUILD_TIMESTAMP: 1786985243999
5
- * BUILD_DATE: Mon Aug 17 2026 16:47:23 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: d064c2af76aac9d55139aba9c13ac7581d22fea8
3
+ * VERSION: 2.274.0
4
+ * BUILD_TIMESTAMP: 1787094663644
5
+ * BUILD_DATE: Tue Aug 18 2026 23:11:03 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f159388091b6a2928e80ee1b0cbd31d037de5a6c
7
7
  */
8
8
  import { c as e, zt as t } from "./options-BK6Zk2Oe.js";
9
9
  import { n, t as r } from "./jsx-runtime-lVLuHIkM.js";
10
- import { t as i, w as a } from "./FormFooterComponent-C_die6IY.js";
10
+ import { t as i, w as a } from "./FormFooterComponent-BYkrVAWO.js";
11
11
  import { n as o } from "../sheerid.js";
12
12
  import { C as s, h as c } from "./stepComponentHelpers-Darhp1Nn.js";
13
13
  import { n as l, t as u } from "./PersonalInfoStepSubmitButton-D55ut5Yp.js";
@@ -1 +1 @@
1
- {"version":3,"file":"StepCollectIdentifier-BCDtRblo.js","names":[],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;;aAqFa,KA7DkB,EAAE,6BAAsD;CACrF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAE/D,KAAoC,GAAuC,MAAe;EAC9F,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADA,EAAiC,SAAS,CAAQ,GAClD,EAAqC,SAAS,GAAU,CAAmB;KAC7E;KACA,YAAY,MAAiD,EAAqB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
1
+ {"version":3,"file":"StepCollectIdentifier-DdbkjInv.js","names":[],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;;aAqFa,KA7DkB,EAAE,6BAAsD;CACrF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAE/D,KAAoC,GAAuC,MAAe;EAC9F,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADA,EAAiC,SAAS,CAAQ,GAClD,EAAqC,SAAS,GAAU,CAAmB;KAC7E;KACA,YAAY,MAAiD,EAAqB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
@@ -0,0 +1,9 @@
1
+
2
+ /**
3
+ * VERSION: 2.274.0
4
+ * BUILD_TIMESTAMP: 1787094663644
5
+ * BUILD_DATE: Tue Aug 18 2026 23:11:03 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f159388091b6a2928e80ee1b0cbd31d037de5a6c
7
+ */
8
+ import { StepActiveMilitaryPersonalInfoComponent as e } from "./StepActiveMilitaryPersonalInfoComponent-Cd3A-_0F.js";
9
+ export { e as default };
@@ -4,10 +4,10 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.272.0
8
- * BUILD_TIMESTAMP: 1786985250935
9
- * BUILD_DATE: Mon Aug 17 2026 16:47:30 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d064c2af76aac9d55139aba9c13ac7581d22fea8
7
+ * VERSION: 2.274.0
8
+ * BUILD_TIMESTAMP: 1787094668046
9
+ * BUILD_DATE: Tue Aug 18 2026 23:11:08 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: f159388091b6a2928e80ee1b0cbd31d037de5a6c
11
11
  */
12
- import { StepActiveMilitaryPersonalInfoComponent as e } from "./StepActiveMilitaryPersonalInfoComponent-BTUcPHLY.js";
12
+ import { StepActiveMilitaryPersonalInfoComponent as e } from "./StepActiveMilitaryPersonalInfoComponent-EQ6bJz4Q.js";
13
13
  export { e as default };
@@ -4,39 +4,39 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.272.0
8
- * BUILD_TIMESTAMP: 1786985250935
9
- * BUILD_DATE: Mon Aug 17 2026 16:47:30 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d064c2af76aac9d55139aba9c13ac7581d22fea8
7
+ * VERSION: 2.274.0
8
+ * BUILD_TIMESTAMP: 1787094668046
9
+ * BUILD_DATE: Tue Aug 18 2026 23:11:08 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: f159388091b6a2928e80ee1b0cbd31d037de5a6c
11
11
  */
12
- import { At as e, Ht as t, Jt as n, Lt as r, Ut as ee, bt as te, p as ne, s as i } from "./intl-DJeZs3uh.js";
13
- import { a, c as o, n as s, t as c } from "./jsx-runtime-Dd4OJ9ft.js";
14
- import { O as re, t as ie } from "./FormFooterComponent-2At3EC6s.js";
15
- import { n as ae } from "./VerificationApiClient-D9TY-1LV.js";
16
- import { o as oe } from "./programThemeGetters-UDiPGnE3.js";
12
+ import { At as e, Ht as t, Jt as n, Lt as r, Wt as ee, bt as te, p as ne, s as i } from "./intl-TN1Dianl.js";
13
+ import { a, c as o, n as s, t as c } from "./jsx-runtime-QRCZ6ZTK.js";
14
+ import { O as re, t as ie } from "./FormFooterComponent-DSZX7clY.js";
15
+ import { n as ae } from "./VerificationApiClient-CV-pPSzS.js";
16
+ import { o as oe } from "./programThemeGetters-DECHMs91.js";
17
17
  import { t as se } from "../_mysheerid-preview.js";
18
- import { C as l, c as ce, g as le, h as ue, m as de, s as fe, u, w as d, x as f, y as p } from "./stepComponentHelpers-D-rc0nWU.js";
19
- import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-WxyecFik.js";
20
- import { n as b, t as x } from "./PersonalInfoStepSubmitButton-GRWIeaA0.js";
21
- import { t as S } from "./BirthDateComponent-D_pIZKnS.js";
22
- import { t as C } from "./PostalCodeComponent-D9AMJfw1.js";
23
- import { t as w } from "./CountryComponentWrapper-Dc-JmygI.js";
24
- import { t as T } from "./City-EIxs9ACD.js";
25
- import { t as E } from "./AddressComponent-BLDI7tct.js";
26
- import { t as D } from "./ExtraMessage-BWiMOnGY.js";
27
- import { t as O } from "./CollegeNameComponent-C9EAsbzB.js";
28
- import { t as k } from "./StateSelectComponent-BHVGDHvm.js";
29
- import { n as A, r as j, t as M } from "./DischargeDateComponent-XQlaYCm3.js";
30
- import { t as N } from "./DriverLicenseNumberComponent-rkswBl9W.js";
31
- import { n as P, t as F } from "./LowIncomeOrganizationComponent-qz116YzW.js";
32
- import { t as pe } from "./StatusComponent-BIHaYuzH.js";
33
- import { t as I } from "./FirstResponderOrganizationComponent-BM458oYQ.js";
34
- import { t as L } from "./LicensedProfessionalOrganizationComponent-D0HVaJJm.js";
35
- import { t as R } from "./MedicalProfessionalOrganizationComponent-CpYu81O7.js";
36
- import { t as z } from "./MemberIdComponent-B5k8k7Ri.js";
37
- import { t as B } from "./MembershipOrganizationComponent-DQAJm-UR.js";
38
- import { t as me } from "./TeacherSchoolComponent-Dd19Qkfb.js";
39
- import { t as he } from "./SSN-U1aHmtP9.js";
18
+ import { C as l, c as ce, g as le, h as ue, m as de, s as fe, u, w as d, x as f, y as p } from "./stepComponentHelpers-DeWac6nj.js";
19
+ import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-CoUrV-PT.js";
20
+ import { n as b, t as x } from "./PersonalInfoStepSubmitButton-C7QmpcVd.js";
21
+ import { t as S } from "./BirthDateComponent-DlrYopO3.js";
22
+ import { t as C } from "./PostalCodeComponent-Cd3MQUvZ.js";
23
+ import { t as w } from "./CountryComponentWrapper-DeOnkeWj.js";
24
+ import { t as T } from "./City-C1CWD14n.js";
25
+ import { t as E } from "./AddressComponent-DeQlodxe.js";
26
+ import { t as D } from "./ExtraMessage-C2HFAvWw.js";
27
+ import { t as O } from "./CollegeNameComponent-BnJDGc88.js";
28
+ import { t as k } from "./StateSelectComponent-bfYGRqFK.js";
29
+ import { n as A, r as j, t as M } from "./DischargeDateComponent-Rjgoohzn.js";
30
+ import { t as N } from "./DriverLicenseNumberComponent-CFbngokf.js";
31
+ import { n as P, t as F } from "./LowIncomeOrganizationComponent-DYt5-V2e.js";
32
+ import { t as pe } from "./StatusComponent-DK_vIH9q.js";
33
+ import { t as I } from "./FirstResponderOrganizationComponent-Cojs7nNP.js";
34
+ import { t as L } from "./LicensedProfessionalOrganizationComponent-B_kcJSx5.js";
35
+ import { t as R } from "./MedicalProfessionalOrganizationComponent-Cjcj-Orv.js";
36
+ import { t as z } from "./MemberIdComponent-DbvTJcos.js";
37
+ import { t as B } from "./MembershipOrganizationComponent-BoH-wjYj.js";
38
+ import { t as me } from "./TeacherSchoolComponent-wTJoE5I1.js";
39
+ import { t as he } from "./SSN-xvlX6KT5.js";
40
40
  //#region src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx
41
41
  var V = /* @__PURE__ */ n(o(), 1), H = c(), U = a(({ intl: n, verificationService: a }) => {
42
42
  let o = a.viewModel, { updateViewModel: c, programTheme: U } = a, [W, ge] = V.useState(void 0), G = (e) => W && W.some((t) => t.key === e), { fieldValidationErrors: K } = a, q = a.verificationResponse, _e = re(q), J = (e, t) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepCollectPersonalInfo-Bze5MY2K.js","names":[],"sources":["../../src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectPersonalInfoViewModel,\n type CustomFormFieldConfig,\n type Organization,\n type FormSelectChoice,\n type State,\n type CollectFieldsResponse,\n type CollectPersonalInfoResponse,\n type FieldDescription,\n type AllStatuses,\n} from \"../../lib/types/types\";\nimport {\n getAvailableStateChoices,\n orgToOption,\n getStatusLabel,\n handleEmailOnKeyDown,\n submitForm,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModelWithAllRequiredFields,\n getAvailableStatuses,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { FieldIdEnum, SegmentEnum, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { MembershipOrganizationComponent as MembershipOrganization } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { TeacherSchoolComponent as TeacherSchool } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { DischargeDateComponent } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { getAllFieldsToCollect } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { getMarketConsent } from \"../../lib/ProgramTheme/programThemeGetters\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepCollectPersonalInfoProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepCollectPersonalInfo = ({\n intl,\n verificationService,\n}: StepCollectPersonalInfoProps) => {\n const viewModel = verificationService.viewModel as CollectPersonalInfoViewModel;\n const { updateViewModel, programTheme } = verificationService;\n\n const [requiredFields, setRequiredFields] = React.useState<FieldDescription[]>(undefined);\n\n const isFieldRequired = (key: keyof CollectPersonalInfoViewModel) =>\n requiredFields && requiredFields.some((field) => field.key === key);\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as CollectPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updatePersonalInfoViewModel = (key: keyof CollectPersonalInfoViewModel, value: any) => {\n const nextState: CollectPersonalInfoViewModel = produce(\n viewModel,\n (draft: CollectPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n updateViewModel(nextState);\n };\n\n const updateViewModelWithRequiredFields = (newRequiredFields: FieldDescription[]) => {\n const nextState: CollectPersonalInfoViewModel = produceDraftViewModelWithAllRequiredFields(\n viewModel,\n newRequiredFields,\n );\n updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { segment, availableStatuses } = verificationResponse;\n const pascalCaseSegment = segment.charAt(0).toUpperCase() + segment.slice(1);\n\n const isStatusRequired = (): boolean =>\n availableStatuses &&\n (segment === SegmentEnum.FIRST_RESPONDER ||\n segment === SegmentEnum.MEDICAL ||\n segment === SegmentEnum.LOW_INCOME ||\n segment === SegmentEnum.LICENSED_PROFESSIONAL ||\n segment === SegmentEnum.EMPLOYMENT ||\n segment === SegmentEnum.RECENT_MOVER ||\n segment === SegmentEnum.MILITARY);\n\n const getAndSetRequiredFields = (requestBody: { statuses?: AllStatuses[] }) =>\n (async () => {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getAllFieldsToCollect(\n verificationResponse.verificationId,\n verificationResponse.currentStep,\n requestBody,\n );\n const newRequiredFields = getSafe(() => collectFieldsResponse.fieldsToCollect.required, []);\n\n if (isStatusRequired()) {\n // Adding `status` as a required input field if it's been removed by getting\n // all fields to collect with a statuses req body\n newRequiredFields.push({ key: \"status\" });\n }\n\n updateViewModelWithRequiredFields(newRequiredFields);\n setRequiredFields(newRequiredFields);\n } catch (error) {\n logger.error(`Failed to determine fields to collect: ${error}`);\n }\n })();\n\n const getOrganizationField = () => {\n switch (segment) {\n case SegmentEnum.STUDENT:\n return (\n <CollegeName\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.TEACHER:\n return (\n <TeacherSchool\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MEMBER:\n return (\n <MembershipOrganization\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MILITARY:\n return (\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.id,\n ),\n label: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.name,\n ),\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.FIRST_RESPONDER:\n return (\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.MEDICAL:\n return (\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LICENSED_PROFESSIONAL:\n return (\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LOW_INCOME:\n return (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization,\n )}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n default:\n return null;\n }\n };\n\n React.useEffect(() => {\n if (availableStatuses && segment === SegmentEnum.MILITARY) {\n // display all required military fields by setting an initial default status\n getAndSetRequiredFields({ statuses: [] });\n } else {\n // fetch initial list of required input fields\n getAndSetRequiredFields({});\n }\n }, []);\n\n React.useEffect(() => {\n if (!getMarketConsent(programTheme).enabled && requiredFields && requiredFields.length === 0) {\n // skip this step if there are no required fields, and marketConsent is not enabled\n submitForm(viewModel, verificationService, VerificationStepsEnum.collectPersonalInfo);\n }\n }, [requiredFields]);\n\n React.useEffect(() => {\n if (viewModel.status) {\n // if status changes, re-fetch required fields because they may have changed based on selected status\n getAndSetRequiredFields({ statuses: [viewModel.status] });\n }\n }, [viewModel.status]);\n\n return (\n <div\n id=\"sid-step-personal-info-personal-info\"\n className=\"sid-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"personal-info\"\n />\n\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n {isStatusRequired() && (\n <Status\n segmentId={segment}\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, null),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId={`invalid${pascalCaseSegment}Status`}\n options={getAvailableStatuses(intl, availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updatePersonalInfoViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"organization\") && getOrganizationField()}\n\n <div className=\"sid-names\">\n {isFieldRequired(\"firstName\") && (\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"lastName\") && (\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n )}\n </div>\n\n {isFieldRequired(\"birthDate\") && (\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"email\") && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation=\" \"\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"phoneNumber\") && (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updatePersonalInfoViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"dischargeDate\") && (\n <DischargeDateComponent\n errorId={fieldValidationErrors.dischargeDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"driverLicenseNumber\") && (\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"ebtCardNumber\") && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"memberId\") && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage\n id=\"step.collectMedicalPersonalInfo.registrationNumberLabel\"\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n\n {isFieldRequired(\"postalCode\") && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"socialSecurityNumber\") && (\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updatePersonalInfoViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n disabled={getFieldConfigByFieldId(\"socialSecurityNumber\")?.disabled}\n />\n </div>\n )}\n\n {isFieldRequired(\"state\") && (\n <StateSelectComponent\n isRequired\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updatePersonalInfoViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"activeDutyStartDate\") &&\n verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n {options.customFormFields?.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectPersonalInfoComponent = injectIntl(StepCollectPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA6lBa,IAAmC,GAnhBR,EACtC,SACA,6BACkC;CAClC,IAAM,IAAY,EAAoB,WAChC,EAAE,oBAAiB,oBAAiB,GAEpC,CAAC,GAAgB,MAAA,EAA2B,SAA6B,KAAA,CAAS,GAElF,KAAmB,MACvB,KAAkB,EAAe,MAAM,MAAU,EAAM,QAAQ,CAAG,GAE9D,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,KAAqB,GAAsB,CAAoB,GAE/D,KAA+B,GAAyC,MAAe;EAO3F,EANgD,GAC9C,IACC,MAAwC;GACvC,EAAO,KAAe;EACxB,CAEc,CAAS;CAC3B,GAEM,MAAqC,MAA0C;EAKnF,EAJgD,EAC9C,GACA,CAEc,CAAS;CAC3B,GAEM,IAAS,EAAU,aAAa,OAChC,KAAU,EAAW,GAErB,EAAE,YAAS,yBAAsB,GACjC,KAAoB,EAAQ,OAAO,CAAC,EAAE,YAAY,IAAI,EAAQ,MAAM,CAAC,GAErE,UACJ,MACC,MAAY,EAAY,mBACvB,MAAY,EAAY,WACxB,MAAY,EAAY,cACxB,MAAY,EAAY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e;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,IAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET,CAEkF"}
1
+ {"version":3,"file":"StepCollectPersonalInfo-CrmZROYx.js","names":[],"sources":["../../src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectPersonalInfoViewModel,\n type CustomFormFieldConfig,\n type Organization,\n type FormSelectChoice,\n type State,\n type CollectFieldsResponse,\n type CollectPersonalInfoResponse,\n type FieldDescription,\n type AllStatuses,\n} from \"../../lib/types/types\";\nimport {\n getAvailableStateChoices,\n orgToOption,\n getStatusLabel,\n handleEmailOnKeyDown,\n submitForm,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModelWithAllRequiredFields,\n getAvailableStatuses,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { FieldIdEnum, SegmentEnum, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { MembershipOrganizationComponent as MembershipOrganization } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { TeacherSchoolComponent as TeacherSchool } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { DischargeDateComponent } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { getAllFieldsToCollect } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { getMarketConsent } from \"../../lib/ProgramTheme/programThemeGetters\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepCollectPersonalInfoProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepCollectPersonalInfo = ({\n intl,\n verificationService,\n}: StepCollectPersonalInfoProps) => {\n const viewModel = verificationService.viewModel as CollectPersonalInfoViewModel;\n const { updateViewModel, programTheme } = verificationService;\n\n const [requiredFields, setRequiredFields] = React.useState<FieldDescription[]>(undefined);\n\n const isFieldRequired = (key: keyof CollectPersonalInfoViewModel) =>\n requiredFields && requiredFields.some((field) => field.key === key);\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as CollectPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updatePersonalInfoViewModel = (key: keyof CollectPersonalInfoViewModel, value: any) => {\n const nextState: CollectPersonalInfoViewModel = produce(\n viewModel,\n (draft: CollectPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n updateViewModel(nextState);\n };\n\n const updateViewModelWithRequiredFields = (newRequiredFields: FieldDescription[]) => {\n const nextState: CollectPersonalInfoViewModel = produceDraftViewModelWithAllRequiredFields(\n viewModel,\n newRequiredFields,\n );\n updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { segment, availableStatuses } = verificationResponse;\n const pascalCaseSegment = segment.charAt(0).toUpperCase() + segment.slice(1);\n\n const isStatusRequired = (): boolean =>\n availableStatuses &&\n (segment === SegmentEnum.FIRST_RESPONDER ||\n segment === SegmentEnum.MEDICAL ||\n segment === SegmentEnum.LOW_INCOME ||\n segment === SegmentEnum.LICENSED_PROFESSIONAL ||\n segment === SegmentEnum.EMPLOYMENT ||\n segment === SegmentEnum.RECENT_MOVER ||\n segment === SegmentEnum.MILITARY);\n\n const getAndSetRequiredFields = (requestBody: { statuses?: AllStatuses[] }) =>\n (async () => {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getAllFieldsToCollect(\n verificationResponse.verificationId,\n verificationResponse.currentStep,\n requestBody,\n );\n const newRequiredFields = getSafe(() => collectFieldsResponse.fieldsToCollect.required, []);\n\n if (isStatusRequired()) {\n // Adding `status` as a required input field if it's been removed by getting\n // all fields to collect with a statuses req body\n newRequiredFields.push({ key: \"status\" });\n }\n\n updateViewModelWithRequiredFields(newRequiredFields);\n setRequiredFields(newRequiredFields);\n } catch (error) {\n logger.error(`Failed to determine fields to collect: ${error}`);\n }\n })();\n\n const getOrganizationField = () => {\n switch (segment) {\n case SegmentEnum.STUDENT:\n return (\n <CollegeName\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.TEACHER:\n return (\n <TeacherSchool\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MEMBER:\n return (\n <MembershipOrganization\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MILITARY:\n return (\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.id,\n ),\n label: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.name,\n ),\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.FIRST_RESPONDER:\n return (\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.MEDICAL:\n return (\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LICENSED_PROFESSIONAL:\n return (\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LOW_INCOME:\n return (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization,\n )}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n default:\n return null;\n }\n };\n\n React.useEffect(() => {\n if (availableStatuses && segment === SegmentEnum.MILITARY) {\n // display all required military fields by setting an initial default status\n getAndSetRequiredFields({ statuses: [] });\n } else {\n // fetch initial list of required input fields\n getAndSetRequiredFields({});\n }\n }, []);\n\n React.useEffect(() => {\n if (!getMarketConsent(programTheme).enabled && requiredFields && requiredFields.length === 0) {\n // skip this step if there are no required fields, and marketConsent is not enabled\n submitForm(viewModel, verificationService, VerificationStepsEnum.collectPersonalInfo);\n }\n }, [requiredFields]);\n\n React.useEffect(() => {\n if (viewModel.status) {\n // if status changes, re-fetch required fields because they may have changed based on selected status\n getAndSetRequiredFields({ statuses: [viewModel.status] });\n }\n }, [viewModel.status]);\n\n return (\n <div\n id=\"sid-step-personal-info-personal-info\"\n className=\"sid-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"personal-info\"\n />\n\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n {isStatusRequired() && (\n <Status\n segmentId={segment}\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, null),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId={`invalid${pascalCaseSegment}Status`}\n options={getAvailableStatuses(intl, availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updatePersonalInfoViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"organization\") && getOrganizationField()}\n\n <div className=\"sid-names\">\n {isFieldRequired(\"firstName\") && (\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"lastName\") && (\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n )}\n </div>\n\n {isFieldRequired(\"birthDate\") && (\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"email\") && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation=\" \"\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"phoneNumber\") && (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updatePersonalInfoViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"dischargeDate\") && (\n <DischargeDateComponent\n errorId={fieldValidationErrors.dischargeDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"driverLicenseNumber\") && (\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"ebtCardNumber\") && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"memberId\") && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage\n id=\"step.collectMedicalPersonalInfo.registrationNumberLabel\"\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n\n {isFieldRequired(\"postalCode\") && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"socialSecurityNumber\") && (\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updatePersonalInfoViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n disabled={getFieldConfigByFieldId(\"socialSecurityNumber\")?.disabled}\n />\n </div>\n )}\n\n {isFieldRequired(\"state\") && (\n <StateSelectComponent\n isRequired\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updatePersonalInfoViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"activeDutyStartDate\") &&\n verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n {options.customFormFields?.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectPersonalInfoComponent = injectIntl(StepCollectPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA6lBa,IAAmC,GAnhBR,EACtC,SACA,6BACkC;CAClC,IAAM,IAAY,EAAoB,WAChC,EAAE,oBAAiB,oBAAiB,GAEpC,CAAC,GAAgB,MAAA,EAA2B,SAA6B,KAAA,CAAS,GAElF,KAAmB,MACvB,KAAkB,EAAe,MAAM,MAAU,EAAM,QAAQ,CAAG,GAE9D,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,KAAqB,GAAsB,CAAoB,GAE/D,KAA+B,GAAyC,MAAe;EAO3F,EANgD,GAC9C,IACC,MAAwC;GACvC,EAAO,KAAe;EACxB,CAEc,CAAS;CAC3B,GAEM,MAAqC,MAA0C;EAKnF,EAJgD,EAC9C,GACA,CAEc,CAAS;CAC3B,GAEM,IAAS,EAAU,aAAa,OAChC,KAAU,EAAW,GAErB,EAAE,YAAS,yBAAsB,GACjC,KAAoB,EAAQ,OAAO,CAAC,EAAE,YAAY,IAAI,EAAQ,MAAM,CAAC,GAErE,UACJ,MACC,MAAY,EAAY,mBACvB,MAAY,EAAY,WACxB,MAAY,EAAY,cACxB,MAAY,EAAY,yBACxB,MAAY,EAAY,cACxB,MAAY,EAAY,gBACxB,MAAY,EAAY,WAEtB,KAA2B,OAC9B,YAAY;EACX,IAAI;GACF,IAAM,IAA+C,MAAM,GACzD,EAAqB,gBACrB,EAAqB,aACrB,CACF,GACM,IAAoB,QAAc,EAAsB,gBAAgB,UAAU,CAAC,CAAC;GAS1F,AAPI,EAAiB,KAGnB,EAAkB,KAAK,EAAE,KAAK,SAAS,CAAC,GAG1C,GAAkC,CAAiB,GACnD,GA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,EAAwB,OAAO,GAAG;IAC7C,CAAA;IAGF,EAAgB,qBAAqB,KACpC,EAAoB,aAAa,mCAC/B,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,SAAS,EAAsB;KACvB;KACR,WAAW,MAAa;MAEtB,AADA,EAA4B,uBAAuB,CAAQ,GAC3D,EACE,uBACA,GACA,CACF;KACF;KACA,OAAO,EAAU;KACjB,UAAU,EAAwB,qBAAqB,GAAG;IAC3D,CAAA;IAGJ,GAAQ,kBAAkB,KAAK,MAC9B,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAyB;KAA6B;IAAsB,CAAA,CAC7E;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,WAAW,CAAC,CAAC,EAAsB;KACnC,WAAW,MAAa;MAKtB,AAJA,EAA4B,YAAY;OACtC,GAAG,EAAoB,UAAU;OACjC,oBAAoB;MACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;KACF;KACW;KACX,UAAU,EAAwB,oBAAoB,GAAG;IAC1D,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAmC;KAAqB,QAAO;IAAsB,CAAA;IAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,WAAW,CAAC,CAAC,EAAsB;IACpC,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,IAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET,CAEkF"}
@@ -1,37 +1,37 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.272.0
4
- * BUILD_TIMESTAMP: 1786985243999
5
- * BUILD_DATE: Mon Aug 17 2026 16:47:23 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: d064c2af76aac9d55139aba9c13ac7581d22fea8
3
+ * VERSION: 2.274.0
4
+ * BUILD_TIMESTAMP: 1787094663644
5
+ * BUILD_DATE: Tue Aug 18 2026 23:11:03 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f159388091b6a2928e80ee1b0cbd31d037de5a6c
7
7
  */
8
8
  import { Jt as e, Mt as t, St as n, Wt as r, c as i, lt as a, n as ee, zt as o } from "./options-BK6Zk2Oe.js";
9
9
  import { a as s, c, n as l, t as u } from "./jsx-runtime-lVLuHIkM.js";
10
- import { t as te, w as ne } from "./FormFooterComponent-C_die6IY.js";
11
- import { n as re } from "./VerificationApiClient-BU-AI9RP.js";
10
+ import { t as te, w as ne } from "./FormFooterComponent-BYkrVAWO.js";
11
+ import { n as re } from "./VerificationApiClient-DDY8kVrd.js";
12
12
  import { o as ie } from "./programThemeGetters-4Wf-YSPx.js";
13
13
  import { n as ae } from "../sheerid.js";
14
14
  import { C as d, c as oe, g as se, h as ce, m as le, s as ue, u as f, w as p, x as de, y as fe } from "./stepComponentHelpers-Darhp1Nn.js";
15
- import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-D-Nz76Qg.js";
15
+ import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-D57Ffe6H.js";
16
16
  import { n as b, t as x } from "./PersonalInfoStepSubmitButton-D55ut5Yp.js";
17
- import { t as S } from "./BirthDateComponent-fvOK4oaB.js";
17
+ import { t as S } from "./BirthDateComponent-DidDEb4J.js";
18
18
  import { t as C } from "./PostalCodeComponent-Bs9KyOzc.js";
19
- import { t as w } from "./CountryComponentWrapper-LGUaAegT.js";
19
+ import { t as w } from "./CountryComponentWrapper-C1CD8ZAg.js";
20
20
  import { t as T } from "./City-BJB8URp9.js";
21
21
  import { t as E } from "./AddressComponent-BGFbAsvK.js";
22
- import { t as D } from "./ExtraMessage-2Q_abIAw.js";
23
- import { t as O } from "./CollegeNameComponent-CBt---A3.js";
24
- import { t as k } from "./StateSelectComponent-DHTKj5Wr.js";
25
- import { n as A, r as j, t as M } from "./DischargeDateComponent-CofeIk6F.js";
22
+ import { t as D } from "./ExtraMessage-DU8TXgyJ.js";
23
+ import { t as O } from "./CollegeNameComponent-BMBLbuQc.js";
24
+ import { t as k } from "./StateSelectComponent-DB2ZVCla.js";
25
+ import { n as A, r as j, t as M } from "./DischargeDateComponent-VzOdjzS5.js";
26
26
  import { t as N } from "./DriverLicenseNumberComponent-Cfjxx2ik.js";
27
- import { n as P, t as F } from "./LowIncomeOrganizationComponent-Cdw9ZCY2.js";
28
- import { t as I } from "./StatusComponent-BB2vWFCb.js";
29
- import { t as pe } from "./FirstResponderOrganizationComponent-B8O9Js_y.js";
30
- import { t as L } from "./LicensedProfessionalOrganizationComponent-hpsP5RWp.js";
31
- import { t as R } from "./MedicalProfessionalOrganizationComponent-DsVqGq52.js";
27
+ import { n as P, t as F } from "./LowIncomeOrganizationComponent-Ddn9t9I5.js";
28
+ import { t as I } from "./StatusComponent-B82t_yYt.js";
29
+ import { t as pe } from "./FirstResponderOrganizationComponent-DaIpM9B_.js";
30
+ import { t as L } from "./LicensedProfessionalOrganizationComponent-Bn6p2Wrg.js";
31
+ import { t as R } from "./MedicalProfessionalOrganizationComponent-CiFB27-_.js";
32
32
  import { t as z } from "./MemberIdComponent-CuflPh6q.js";
33
- import { t as B } from "./MembershipOrganizationComponent-0OzqEfPm.js";
34
- import { t as me } from "./TeacherSchoolComponent-BQd6FhY1.js";
33
+ import { t as B } from "./MembershipOrganizationComponent-B4S0h6q3.js";
34
+ import { t as me } from "./TeacherSchoolComponent-5OscH6cJ.js";
35
35
  import { t as he } from "./SSN-Bj9BhqVP.js";
36
36
  //#region src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx
37
37
  var V = /* @__PURE__ */ e(c(), 1), H = u(), U = s(({ intl: e, verificationService: s }) => {