@sheerid/jslib 2.290.0 → 2.291.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 (379) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +1295 -1289
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-DD8h728z.js → AddressComponent-CXsUFn4e.js} +8 -8
  5. package/chunk/{AddressComponent-DD8h728z.js.map → AddressComponent-CXsUFn4e.js.map} +1 -1
  6. package/chunk/{AddressComponent-DKfHQAHW.js → AddressComponent-DFMtL5Ji.js} +8 -8
  7. package/chunk/{AddressComponent-DKfHQAHW.js.map → AddressComponent-DFMtL5Ji.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-CXTQdbKG.js → AnnouncingHeader-B6cTB52p.js} +6 -6
  9. package/chunk/{AnnouncingHeader-B0Ku-xl_.js.map → AnnouncingHeader-B6cTB52p.js.map} +1 -1
  10. package/chunk/{AnnouncingHeader-B0Ku-xl_.js → AnnouncingHeader-DtYf-VWN.js} +6 -6
  11. package/chunk/{AnnouncingHeader-CXTQdbKG.js.map → AnnouncingHeader-DtYf-VWN.js.map} +1 -1
  12. package/chunk/{BirthDateComponent-2PEmSvVv.js → BirthDateComponent-DAa17IR4.js} +8 -8
  13. package/chunk/{BirthDateComponent-2PEmSvVv.js.map → BirthDateComponent-DAa17IR4.js.map} +1 -1
  14. package/chunk/{BirthDateComponent-Cd0cMZrO.js → BirthDateComponent-DOJ2Eu4P.js} +8 -8
  15. package/chunk/{BirthDateComponent-Cd0cMZrO.js.map → BirthDateComponent-DOJ2Eu4P.js.map} +1 -1
  16. package/chunk/{CaptchaComponent-CeJZh2AO.js → CaptchaComponent-CHOmB72u.js} +35 -35
  17. package/chunk/{CaptchaComponent-CeJZh2AO.js.map → CaptchaComponent-CHOmB72u.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-D84uhigA.js → CaptchaComponent-CUbOXmiG.js} +42 -42
  19. package/chunk/{CaptchaComponent-D84uhigA.js.map → CaptchaComponent-CUbOXmiG.js.map} +1 -1
  20. package/chunk/{ChangeLocaleComponent-LlVAEjO9.js → ChangeLocaleComponent-D4HiJy2E.js} +9 -9
  21. package/chunk/{ChangeLocaleComponent-LlVAEjO9.js.map → ChangeLocaleComponent-D4HiJy2E.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-Slt2XjmB.js → ChangeLocaleComponent-D4pBfPkg.js} +9 -9
  23. package/chunk/{ChangeLocaleComponent-Slt2XjmB.js.map → ChangeLocaleComponent-D4pBfPkg.js.map} +1 -1
  24. package/chunk/{City-DzE-sIfb.js → City-BryCbKPP.js} +8 -8
  25. package/chunk/{City-DeTr-l8T.js.map → City-BryCbKPP.js.map} +1 -1
  26. package/chunk/{City-DeTr-l8T.js → City-CdWBe7HL.js} +8 -8
  27. package/chunk/{City-DzE-sIfb.js.map → City-CdWBe7HL.js.map} +1 -1
  28. package/chunk/{CollegeNameComponent-BIelwnwZ.js → CollegeNameComponent-CWAO3I4R.js} +10 -10
  29. package/chunk/{CollegeNameComponent-BIelwnwZ.js.map → CollegeNameComponent-CWAO3I4R.js.map} +1 -1
  30. package/chunk/{CollegeNameComponent-BLK9LM4N.js → CollegeNameComponent-DzyMYXew.js} +10 -10
  31. package/chunk/{CollegeNameComponent-BLK9LM4N.js.map → CollegeNameComponent-DzyMYXew.js.map} +1 -1
  32. package/chunk/{CopyToClipboardComponent-BejK3fLR.js → CopyToClipboardComponent-BxP-eIzM.js} +6 -6
  33. package/chunk/{CopyToClipboardComponent-BAOwMLHJ.js.map → CopyToClipboardComponent-BxP-eIzM.js.map} +1 -1
  34. package/chunk/{CopyToClipboardComponent-BAOwMLHJ.js → CopyToClipboardComponent-Dd5ZDKCz.js} +6 -6
  35. package/chunk/{CopyToClipboardComponent-BejK3fLR.js.map → CopyToClipboardComponent-Dd5ZDKCz.js.map} +1 -1
  36. package/chunk/{CountryComponentWrapper-DQW_P5GI.js → CountryComponentWrapper-DGqTUeJ9.js} +12 -12
  37. package/chunk/{CountryComponentWrapper-DQW_P5GI.js.map → CountryComponentWrapper-DGqTUeJ9.js.map} +1 -1
  38. package/chunk/{CountryComponentWrapper-D_v3ee4V.js → CountryComponentWrapper-DfWex-GH.js} +29 -29
  39. package/chunk/{CountryComponentWrapper-D_v3ee4V.js.map → CountryComponentWrapper-DfWex-GH.js.map} +1 -1
  40. package/chunk/{DischargeDateComponent-Dlm6t88Y.js → DischargeDateComponent-2sdFQFak.js} +14 -14
  41. package/chunk/{DischargeDateComponent-CDWiw0-D.js.map → DischargeDateComponent-2sdFQFak.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-CDWiw0-D.js → DischargeDateComponent-DsWFEkse.js} +14 -14
  43. package/chunk/{DischargeDateComponent-Dlm6t88Y.js.map → DischargeDateComponent-DsWFEkse.js.map} +1 -1
  44. package/chunk/{DriverLicenseNumberComponent-XVb7vgi3.js → DriverLicenseNumberComponent-CJmYTF0r.js} +8 -8
  45. package/chunk/{DriverLicenseNumberComponent-DpCVs8n_.js.map → DriverLicenseNumberComponent-CJmYTF0r.js.map} +1 -1
  46. package/chunk/{DriverLicenseNumberComponent-DpCVs8n_.js → DriverLicenseNumberComponent-w-Wpm0fk.js} +8 -8
  47. package/chunk/{DriverLicenseNumberComponent-XVb7vgi3.js.map → DriverLicenseNumberComponent-w-Wpm0fk.js.map} +1 -1
  48. package/chunk/{EmailLoopPending-Dz4TsQy4.js → EmailLoopPending-B2Ok4wQ5.js} +16 -16
  49. package/chunk/{EmailLoopPending-CMiOTpOJ.js.map → EmailLoopPending-B2Ok4wQ5.js.map} +1 -1
  50. package/chunk/{EmailLoopPending-CMiOTpOJ.js → EmailLoopPending-BVOXk0TZ.js} +17 -17
  51. package/chunk/{EmailLoopPending-Dz4TsQy4.js.map → EmailLoopPending-BVOXk0TZ.js.map} +1 -1
  52. package/chunk/{ExtraMessage-Bhmq_Waj.js → ExtraMessage-C31_qJNI.js} +7 -7
  53. package/chunk/{ExtraMessage-Bhmq_Waj.js.map → ExtraMessage-C31_qJNI.js.map} +1 -1
  54. package/chunk/{ExtraMessage-CgELJLpn.js → ExtraMessage-nnzMgwxs.js} +7 -7
  55. package/chunk/{ExtraMessage-CgELJLpn.js.map → ExtraMessage-nnzMgwxs.js.map} +1 -1
  56. package/chunk/{FirstResponderOrganizationComponent-CEBS72Sm.js → FirstResponderOrganizationComponent-B_SXFEXh.js} +9 -9
  57. package/chunk/{FirstResponderOrganizationComponent-CC5-PDrK.js.map → FirstResponderOrganizationComponent-B_SXFEXh.js.map} +1 -1
  58. package/chunk/{FirstResponderOrganizationComponent-CC5-PDrK.js → FirstResponderOrganizationComponent-B_ePUlXr.js} +9 -9
  59. package/chunk/{FirstResponderOrganizationComponent-CEBS72Sm.js.map → FirstResponderOrganizationComponent-B_ePUlXr.js.map} +1 -1
  60. package/chunk/{FormFieldInputSelect--mO3jmU8.js → FormFieldInputSelect-B4Q9e9yJ.js} +7 -7
  61. package/chunk/{FormFieldInputSelect--mO3jmU8.js.map → FormFieldInputSelect-B4Q9e9yJ.js.map} +1 -1
  62. package/chunk/{FormFieldInputSelect-CPeFv22D.js → FormFieldInputSelect-CijRsSql.js} +7 -7
  63. package/chunk/{FormFieldInputSelect-CPeFv22D.js.map → FormFieldInputSelect-CijRsSql.js.map} +1 -1
  64. package/chunk/{FormFieldLayout-NkmhFC9B.js → FormFieldLayout-23VdEPCo.js} +6 -6
  65. package/chunk/{FormFieldLayout-DEKIQK2R.js.map → FormFieldLayout-23VdEPCo.js.map} +1 -1
  66. package/chunk/{FormFieldLayout-DEKIQK2R.js → FormFieldLayout-TnxaO2D9.js} +6 -6
  67. package/chunk/{FormFieldLayout-NkmhFC9B.js.map → FormFieldLayout-TnxaO2D9.js.map} +1 -1
  68. package/chunk/{FormFieldText-Bn9WIKiI.js → FormFieldText-Cm6HS8da.js} +7 -7
  69. package/chunk/{FormFieldText-Bn9WIKiI.js.map → FormFieldText-Cm6HS8da.js.map} +1 -1
  70. package/chunk/{FormFieldText-Py7x4EZ6.js → FormFieldText-g6knOdgq.js} +7 -7
  71. package/chunk/{FormFieldText-Py7x4EZ6.js.map → FormFieldText-g6knOdgq.js.map} +1 -1
  72. package/chunk/{FormFieldTypeahead-Cy-3RAew.js → FormFieldTypeahead-CHRZZqMu.js} +56 -56
  73. package/chunk/{FormFieldTypeahead-Cy-3RAew.js.map → FormFieldTypeahead-CHRZZqMu.js.map} +1 -1
  74. package/chunk/{FormFieldTypeahead-LSYbrfBP.js → FormFieldTypeahead-ZVvnLWqG.js} +58 -58
  75. package/chunk/{FormFieldTypeahead-LSYbrfBP.js.map → FormFieldTypeahead-ZVvnLWqG.js.map} +1 -1
  76. package/chunk/{FormFooterComponent-Db94BTNT.js → FormFooterComponent-DN_aTukK.js} +73 -73
  77. package/chunk/{FormFooterComponent-Db94BTNT.js.map → FormFooterComponent-DN_aTukK.js.map} +1 -1
  78. package/chunk/{FormFooterComponent-D4QJJ-El.js → FormFooterComponent-UodGb8EG.js} +54 -54
  79. package/chunk/{FormFooterComponent-D4QJJ-El.js.map → FormFooterComponent-UodGb8EG.js.map} +1 -1
  80. package/chunk/{FormSelectChoice-Zw3pKb9v.js → FormSelectChoice-BIk2v_ij.js} +8 -8
  81. package/chunk/{FormSelectChoice-BoTIc5oD.js.map → FormSelectChoice-BIk2v_ij.js.map} +1 -1
  82. package/chunk/{FormSelectChoice-BoTIc5oD.js → FormSelectChoice-XZsvJdSa.js} +8 -8
  83. package/chunk/{FormSelectChoice-Zw3pKb9v.js.map → FormSelectChoice-XZsvJdSa.js.map} +1 -1
  84. package/chunk/{InputText-dflyPe3J.js → InputText-DjaVf2dX.js} +6 -6
  85. package/chunk/{InputText-CMu4ei8e.js.map → InputText-DjaVf2dX.js.map} +1 -1
  86. package/chunk/{InputText-CMu4ei8e.js → InputText-kW_kzMjm.js} +6 -6
  87. package/chunk/{InputText-dflyPe3J.js.map → InputText-kW_kzMjm.js.map} +1 -1
  88. package/chunk/{LicensedProfessionalOrganizationComponent-y5azOwHV.js → LicensedProfessionalOrganizationComponent-BU2SZvkL.js} +9 -9
  89. package/chunk/{LicensedProfessionalOrganizationComponent-BUtMTAkk.js.map → LicensedProfessionalOrganizationComponent-BU2SZvkL.js.map} +1 -1
  90. package/chunk/{LicensedProfessionalOrganizationComponent-BUtMTAkk.js → LicensedProfessionalOrganizationComponent-mcCaNV-R.js} +9 -9
  91. package/chunk/{LicensedProfessionalOrganizationComponent-y5azOwHV.js.map → LicensedProfessionalOrganizationComponent-mcCaNV-R.js.map} +1 -1
  92. package/chunk/{LogoComponent-DRlUkzL5.js → LogoComponent-BBiqSSo-.js} +6 -6
  93. package/chunk/{LogoComponent-CJcMDzxn.js.map → LogoComponent-BBiqSSo-.js.map} +1 -1
  94. package/chunk/{LogoComponent-CJcMDzxn.js → LogoComponent-WMEJyDHA.js} +6 -6
  95. package/chunk/{LogoComponent-DRlUkzL5.js.map → LogoComponent-WMEJyDHA.js.map} +1 -1
  96. package/chunk/{LowIncomeOrganizationComponent-XE645g9w.js → LowIncomeOrganizationComponent-BsAyEpcL.js} +12 -12
  97. package/chunk/{LowIncomeOrganizationComponent-CMLS_6f7.js.map → LowIncomeOrganizationComponent-BsAyEpcL.js.map} +1 -1
  98. package/chunk/{LowIncomeOrganizationComponent-CMLS_6f7.js → LowIncomeOrganizationComponent-DaAfsxyz.js} +15 -15
  99. package/chunk/{LowIncomeOrganizationComponent-XE645g9w.js.map → LowIncomeOrganizationComponent-DaAfsxyz.js.map} +1 -1
  100. package/chunk/{MedicalProfessionalOrganizationComponent-CEfnIdC3.js → MedicalProfessionalOrganizationComponent-D-OSmGVW.js} +9 -9
  101. package/chunk/{MedicalProfessionalOrganizationComponent-B6hySwWt.js.map → MedicalProfessionalOrganizationComponent-D-OSmGVW.js.map} +1 -1
  102. package/chunk/{MedicalProfessionalOrganizationComponent-B6hySwWt.js → MedicalProfessionalOrganizationComponent-j7YyHlZF.js} +9 -9
  103. package/chunk/{MedicalProfessionalOrganizationComponent-CEfnIdC3.js.map → MedicalProfessionalOrganizationComponent-j7YyHlZF.js.map} +1 -1
  104. package/chunk/{MemberIdComponent-CPlvhVZ8.js → MemberIdComponent-BZoHhg8k.js} +8 -8
  105. package/chunk/{MemberIdComponent-BnJLiVV-.js.map → MemberIdComponent-BZoHhg8k.js.map} +1 -1
  106. package/chunk/{MemberIdComponent-BnJLiVV-.js → MemberIdComponent-UKnA68zE.js} +8 -8
  107. package/chunk/{MemberIdComponent-CPlvhVZ8.js.map → MemberIdComponent-UKnA68zE.js.map} +1 -1
  108. package/chunk/{MembershipOrganizationComponent-CEU4TQuO.js → MembershipOrganizationComponent-CNeWeHzI.js} +9 -9
  109. package/chunk/{MembershipOrganizationComponent-CEU4TQuO.js.map → MembershipOrganizationComponent-CNeWeHzI.js.map} +1 -1
  110. package/chunk/{MembershipOrganizationComponent-D0YorDhu.js → MembershipOrganizationComponent-Du-uDZEG.js} +9 -9
  111. package/chunk/{MembershipOrganizationComponent-D0YorDhu.js.map → MembershipOrganizationComponent-Du-uDZEG.js.map} +1 -1
  112. package/chunk/{Message-BgJQKz_x.js → Message-CbU7t2F7.js} +1346 -1345
  113. package/chunk/{Message-BgJQKz_x.js.map → Message-CbU7t2F7.js.map} +1 -1
  114. package/chunk/{Message-C8hwqDr2.js → Message-Dh1_V9dt.js} +730 -729
  115. package/chunk/{Message-C8hwqDr2.js.map → Message-Dh1_V9dt.js.map} +1 -1
  116. package/chunk/Onfido-CTCgAwnB.js +4 -4
  117. package/chunk/{PersonalInfoStepSubmitButton-CJYeNqbu.js → PersonalInfoStepSubmitButton-B-M8eKpG.js} +19 -19
  118. package/chunk/{PersonalInfoStepSubmitButton-CJYeNqbu.js.map → PersonalInfoStepSubmitButton-B-M8eKpG.js.map} +1 -1
  119. package/chunk/{PersonalInfoStepSubmitButton-CdZymKZb.js → PersonalInfoStepSubmitButton-C67UOzbu.js} +20 -20
  120. package/chunk/{PersonalInfoStepSubmitButton-CdZymKZb.js.map → PersonalInfoStepSubmitButton-C67UOzbu.js.map} +1 -1
  121. package/chunk/{PersonalInfoStepWrapper-BIbUswfn.js → PersonalInfoStepWrapper-CJporV1L.js} +7 -7
  122. package/chunk/{PersonalInfoStepWrapper-BIbUswfn.js.map → PersonalInfoStepWrapper-CJporV1L.js.map} +1 -1
  123. package/chunk/{PersonalInfoStepWrapper-DQ75PRWo.js → PersonalInfoStepWrapper-Can2a6R_.js} +17 -17
  124. package/chunk/{PersonalInfoStepWrapper-DQ75PRWo.js.map → PersonalInfoStepWrapper-Can2a6R_.js.map} +1 -1
  125. package/chunk/{PostalCodeComponent-DNdUR9Xg.js → PostalCodeComponent-S8EMzjKA.js} +8 -8
  126. package/chunk/{PostalCodeComponent-DNdUR9Xg.js.map → PostalCodeComponent-S8EMzjKA.js.map} +1 -1
  127. package/chunk/{PostalCodeComponent-zteosCwv.js → PostalCodeComponent-S8f2lhPF.js} +8 -8
  128. package/chunk/{PostalCodeComponent-zteosCwv.js.map → PostalCodeComponent-S8f2lhPF.js.map} +1 -1
  129. package/chunk/{SSN-BKPNF7cg.js → SSN-CqHnWpBl.js} +8 -8
  130. package/chunk/{SSN-BKPNF7cg.js.map → SSN-CqHnWpBl.js.map} +1 -1
  131. package/chunk/{SSN-CTR6jwEC.js → SSN-Dt_cpKLM.js} +8 -8
  132. package/chunk/{SSN-CTR6jwEC.js.map → SSN-Dt_cpKLM.js.map} +1 -1
  133. package/chunk/{StateSelectComponent-Dt-vsjau.js → StateSelectComponent-CinTEErP.js} +8 -8
  134. package/chunk/{StateSelectComponent-CpGuzW45.js.map → StateSelectComponent-CinTEErP.js.map} +1 -1
  135. package/chunk/{StateSelectComponent-CpGuzW45.js → StateSelectComponent-DUZtpcwe.js} +8 -8
  136. package/chunk/{StateSelectComponent-Dt-vsjau.js.map → StateSelectComponent-DUZtpcwe.js.map} +1 -1
  137. package/chunk/{StatusComponent-8j96MYEP.js → StatusComponent-CwwsRQmS.js} +9 -9
  138. package/chunk/{StatusComponent-8j96MYEP.js.map → StatusComponent-CwwsRQmS.js.map} +1 -1
  139. package/chunk/{StatusComponent-DZu1lz0O.js → StatusComponent-D3J57l9V.js} +9 -9
  140. package/chunk/{StatusComponent-DZu1lz0O.js.map → StatusComponent-D3J57l9V.js.map} +1 -1
  141. package/chunk/{StepAgePersonalInfo-DFv4SYcW.js → StepAgePersonalInfo-Cd2H3W4S.js} +58 -58
  142. package/chunk/{StepAgePersonalInfo-BqALUq2Z.js.map → StepAgePersonalInfo-Cd2H3W4S.js.map} +1 -1
  143. package/chunk/{StepAgePersonalInfo-BqALUq2Z.js → StepAgePersonalInfo-bff8TmYc.js} +58 -58
  144. package/chunk/{StepAgePersonalInfo-DFv4SYcW.js.map → StepAgePersonalInfo-bff8TmYc.js.map} +1 -1
  145. package/chunk/{StepCard-EHeqFY3Y.js → StepCard-A7CfdiZx.js} +5 -5
  146. package/chunk/{StepCard-DQ9JkAjb.js.map → StepCard-A7CfdiZx.js.map} +1 -1
  147. package/chunk/{StepCard-DQ9JkAjb.js → StepCard-TuSPjGQj.js} +5 -5
  148. package/chunk/{StepCard-EHeqFY3Y.js.map → StepCard-TuSPjGQj.js.map} +1 -1
  149. package/chunk/{StepCollectIdentifier-DAwDOBzU.js → StepCollectIdentifier-DhHTccOW.js} +9 -9
  150. package/chunk/{StepCollectIdentifier-7VdLmT7J.js.map → StepCollectIdentifier-DhHTccOW.js.map} +1 -1
  151. package/chunk/{StepCollectIdentifier-7VdLmT7J.js → StepCollectIdentifier-DpxG8Qao.js} +9 -9
  152. package/chunk/{StepCollectIdentifier-DAwDOBzU.js.map → StepCollectIdentifier-DpxG8Qao.js.map} +1 -1
  153. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js → StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js} +23 -23
  154. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js.map → StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js.map} +1 -1
  155. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js → StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js} +23 -23
  156. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js.map → StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js.map} +1 -1
  157. package/chunk/{StepCollectPersonalInfo-DZlzAIxw.js → StepCollectPersonalInfo-0D43XcYg.js} +44 -44
  158. package/chunk/{StepCollectPersonalInfo-DZlzAIxw.js.map → StepCollectPersonalInfo-0D43XcYg.js.map} +1 -1
  159. package/chunk/{StepCollectPersonalInfo-CXurqlAa.js → StepCollectPersonalInfo-DGCHonaO.js} +44 -44
  160. package/chunk/{StepCollectPersonalInfo-CXurqlAa.js.map → StepCollectPersonalInfo-DGCHonaO.js.map} +1 -1
  161. package/chunk/{StepCompleteAuthentication-BY_5AqX4.js → StepCompleteAuthentication-9IO15InM.js} +9 -9
  162. package/chunk/{StepCompleteAuthentication-BY_5AqX4.js.map → StepCompleteAuthentication-9IO15InM.js.map} +1 -1
  163. package/chunk/{StepCompleteAuthentication-DMwS3S6i.js → StepCompleteAuthentication-BtaBmTdY.js} +20 -20
  164. package/chunk/{StepCompleteAuthentication-DMwS3S6i.js.map → StepCompleteAuthentication-BtaBmTdY.js.map} +1 -1
  165. package/chunk/{StepConsolation-yUao3Y71.js → StepConsolation-BYJrzPhb.js} +8 -8
  166. package/chunk/{StepConsolation-yUao3Y71.js.map → StepConsolation-BYJrzPhb.js.map} +1 -1
  167. package/chunk/{StepConsolation-f1mq8nYz.js → StepConsolation-BlyaWmH0.js} +8 -8
  168. package/chunk/{StepConsolation-f1mq8nYz.js.map → StepConsolation-BlyaWmH0.js.map} +1 -1
  169. package/chunk/{StepDocUpload-D8IflMYV.js → StepDocUpload-Dt9BXXEb.js} +28 -28
  170. package/chunk/{StepDocUpload-D8IflMYV.js.map → StepDocUpload-Dt9BXXEb.js.map} +1 -1
  171. package/chunk/{StepDocUpload-D5CXzeAU.js → StepDocUpload-UWDCjeCP.js} +30 -30
  172. package/chunk/{StepDocUpload-D5CXzeAU.js.map → StepDocUpload-UWDCjeCP.js.map} +1 -1
  173. package/chunk/{StepDriverLicensePersonalInfoComponent-aUQdYB_b.js → StepDriverLicensePersonalInfoComponent-BefsBTXA.js} +15 -15
  174. package/chunk/{StepDriverLicensePersonalInfoComponent-TSQaq3Ek.js.map → StepDriverLicensePersonalInfoComponent-BefsBTXA.js.map} +1 -1
  175. package/chunk/{StepDriverLicensePersonalInfoComponent-TSQaq3Ek.js → StepDriverLicensePersonalInfoComponent-CPOFMRp_.js} +15 -15
  176. package/chunk/{StepDriverLicensePersonalInfoComponent-aUQdYB_b.js.map → StepDriverLicensePersonalInfoComponent-CPOFMRp_.js.map} +1 -1
  177. package/chunk/{StepEmailLoop--xNmysns.js → StepEmailLoop-B0oRiGz0.js} +13 -13
  178. package/chunk/{StepEmailLoop--xNmysns.js.map → StepEmailLoop-B0oRiGz0.js.map} +1 -1
  179. package/chunk/{StepEmailLoop-BLT6aG-Y.js → StepEmailLoop-CS2KUPEU.js} +13 -13
  180. package/chunk/{StepEmailLoop-BLT6aG-Y.js.map → StepEmailLoop-CS2KUPEU.js.map} +1 -1
  181. package/chunk/{StepEmploymentPersonalInfo-9DG4e6iW.js → StepEmploymentPersonalInfo-B4Q_Vmn1.js} +20 -20
  182. package/chunk/{StepEmploymentPersonalInfo-9DG4e6iW.js.map → StepEmploymentPersonalInfo-B4Q_Vmn1.js.map} +1 -1
  183. package/chunk/{StepEmploymentPersonalInfo-DX3Ax6NO.js → StepEmploymentPersonalInfo-Yib6xGXV.js} +20 -20
  184. package/chunk/{StepEmploymentPersonalInfo-DX3Ax6NO.js.map → StepEmploymentPersonalInfo-Yib6xGXV.js.map} +1 -1
  185. package/chunk/{StepFirstResponderPersonalInfo-Ds1kO5m6.js → StepFirstResponderPersonalInfo-B4tL9MhD.js} +30 -30
  186. package/chunk/{StepFirstResponderPersonalInfo-CRF48sc2.js.map → StepFirstResponderPersonalInfo-B4tL9MhD.js.map} +1 -1
  187. package/chunk/{StepFirstResponderPersonalInfo-CRF48sc2.js → StepFirstResponderPersonalInfo-B9PC3Jng.js} +35 -35
  188. package/chunk/{StepFirstResponderPersonalInfo-Ds1kO5m6.js.map → StepFirstResponderPersonalInfo-B9PC3Jng.js.map} +1 -1
  189. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D8mnMCVb.js → StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js} +18 -18
  190. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D8mnMCVb.js.map → StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js.map} +1 -1
  191. package/chunk/{StepGeneralIdentityPersonalInfoComponent-DUsAZ0Xk.js → StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js} +18 -18
  192. package/chunk/{StepGeneralIdentityPersonalInfoComponent-DUsAZ0Xk.js.map → StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js.map} +1 -1
  193. package/chunk/{StepHybridIdentityPersonalInfoComponent-BqBc1AZg.js → StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js} +19 -19
  194. package/chunk/{StepHybridIdentityPersonalInfoComponent-BqBc1AZg.js.map → StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js.map} +1 -1
  195. package/chunk/{StepHybridIdentityPersonalInfoComponent-D8LGDNFl.js → StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js} +19 -19
  196. package/chunk/{StepHybridIdentityPersonalInfoComponent-D8LGDNFl.js.map → StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js.map} +1 -1
  197. package/chunk/{StepIDCheckLoop-YpZuox49.js → StepIDCheckLoop-D4zeYY-d.js} +8 -8
  198. package/chunk/{StepIDCheckLoop-Cwm6IPWs.js.map → StepIDCheckLoop-D4zeYY-d.js.map} +1 -1
  199. package/chunk/{StepIDCheckLoop-Cwm6IPWs.js → StepIDCheckLoop-DuWYhW6n.js} +8 -8
  200. package/chunk/{StepIDCheckLoop-YpZuox49.js.map → StepIDCheckLoop-DuWYhW6n.js.map} +1 -1
  201. package/chunk/{StepIDCheckLoopOnfido-L6oHneIc.js → StepIDCheckLoopOnfido-Rcx5dDBJ.js} +25 -25
  202. package/chunk/{StepIDCheckLoopOnfido-L6oHneIc.js.map → StepIDCheckLoopOnfido-Rcx5dDBJ.js.map} +1 -1
  203. package/chunk/{StepIDCheckLoopOnfido-CldFXtGX.js → StepIDCheckLoopOnfido-hmgOrSYi.js} +25 -25
  204. package/chunk/{StepIDCheckLoopOnfido-CldFXtGX.js.map → StepIDCheckLoopOnfido-hmgOrSYi.js.map} +1 -1
  205. package/chunk/{StepIDCheckLoopRegula-8pxLMKE0.js → StepIDCheckLoopRegula-D4uRVHpI.js} +11 -11
  206. package/chunk/{StepIDCheckLoopRegula-8pxLMKE0.js.map → StepIDCheckLoopRegula-D4uRVHpI.js.map} +1 -1
  207. package/chunk/{StepIDCheckLoopRegula-B0Yv__kO.js → StepIDCheckLoopRegula-DNfiiZQR.js} +11 -11
  208. package/chunk/{StepIDCheckLoopRegula-B0Yv__kO.js.map → StepIDCheckLoopRegula-DNfiiZQR.js.map} +1 -1
  209. package/chunk/{StepLicensedProfessionalPersonalInfo-oKQFxnEJ.js → StepLicensedProfessionalPersonalInfo-CIUHCkK-.js} +20 -20
  210. package/chunk/{StepLicensedProfessionalPersonalInfo-Bzrr0g4R.js.map → StepLicensedProfessionalPersonalInfo-CIUHCkK-.js.map} +1 -1
  211. package/chunk/{StepLicensedProfessionalPersonalInfo-Bzrr0g4R.js → StepLicensedProfessionalPersonalInfo-CdejPwI2.js} +20 -20
  212. package/chunk/{StepLicensedProfessionalPersonalInfo-oKQFxnEJ.js.map → StepLicensedProfessionalPersonalInfo-CdejPwI2.js.map} +1 -1
  213. package/chunk/{StepLowIncomePersonalInfo-qaRKPwSk.js → StepLowIncomePersonalInfo-Bhg26pJ9.js} +24 -24
  214. package/chunk/{StepLowIncomePersonalInfo-DOB6gFAS.js.map → StepLowIncomePersonalInfo-Bhg26pJ9.js.map} +1 -1
  215. package/chunk/{StepLowIncomePersonalInfo-DOB6gFAS.js → StepLowIncomePersonalInfo-jV2FDRyA.js} +32 -32
  216. package/chunk/{StepLowIncomePersonalInfo-qaRKPwSk.js.map → StepLowIncomePersonalInfo-jV2FDRyA.js.map} +1 -1
  217. package/chunk/{StepMedicalProfessionalPersonalInfo-D9k7ENlE.js → StepMedicalProfessionalPersonalInfo-2T8NjAkS.js} +21 -21
  218. package/chunk/{StepMedicalProfessionalPersonalInfo-D9k7ENlE.js.map → StepMedicalProfessionalPersonalInfo-2T8NjAkS.js.map} +1 -1
  219. package/chunk/{StepMedicalProfessionalPersonalInfo-RPKhaZPl.js → StepMedicalProfessionalPersonalInfo-5gdyRLPb.js} +21 -21
  220. package/chunk/{StepMedicalProfessionalPersonalInfo-RPKhaZPl.js.map → StepMedicalProfessionalPersonalInfo-5gdyRLPb.js.map} +1 -1
  221. package/chunk/{StepMemberPersonalInfo-Bza2nmdJ.js → StepMemberPersonalInfo-49h2IL56.js} +17 -17
  222. package/chunk/{StepMemberPersonalInfo-2IUwBn6z.js.map → StepMemberPersonalInfo-49h2IL56.js.map} +1 -1
  223. package/chunk/{StepMemberPersonalInfo-2IUwBn6z.js → StepMemberPersonalInfo-BLfVdTS4.js} +56 -56
  224. package/chunk/{StepMemberPersonalInfo-Bza2nmdJ.js.map → StepMemberPersonalInfo-BLfVdTS4.js.map} +1 -1
  225. package/chunk/{StepMoverPersonalInfo-D_lsPua4.js → StepMoverPersonalInfo-BBL0N0po.js} +47 -47
  226. package/chunk/{StepMoverPersonalInfo-BfN-eiIO.js.map → StepMoverPersonalInfo-BBL0N0po.js.map} +1 -1
  227. package/chunk/{StepMoverPersonalInfo-BfN-eiIO.js → StepMoverPersonalInfo-Bn4baYdo.js} +15 -15
  228. package/chunk/{StepMoverPersonalInfo-D_lsPua4.js.map → StepMoverPersonalInfo-Bn4baYdo.js.map} +1 -1
  229. package/chunk/{StepOverrideComponent-Ld6S6tQi.js → StepOverrideComponent-D1Yt52PA.js} +21 -21
  230. package/chunk/{StepOverrideComponent-Ld6S6tQi.js.map → StepOverrideComponent-D1Yt52PA.js.map} +1 -1
  231. package/chunk/{StepOverrideComponent-Mf03I7W7.js → StepOverrideComponent-Db2qbG7p.js} +21 -21
  232. package/chunk/{StepOverrideComponent-Mf03I7W7.js.map → StepOverrideComponent-Db2qbG7p.js.map} +1 -1
  233. package/chunk/{StepSMSLoop-Bcx24Ycx.js → StepSMSLoop-B5pvxGza.js} +22 -22
  234. package/chunk/{StepSMSLoop-9sxMk7gX.js.map → StepSMSLoop-B5pvxGza.js.map} +1 -1
  235. package/chunk/{StepSMSLoop-9sxMk7gX.js → StepSMSLoop-DyFk46pS.js} +22 -22
  236. package/chunk/{StepSMSLoop-Bcx24Ycx.js.map → StepSMSLoop-DyFk46pS.js.map} +1 -1
  237. package/chunk/StepSSO-BGHCbduX.js +4 -4
  238. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  239. package/chunk/{StepSocialSecurityNumber-DruKpXOw.js → StepSocialSecurityNumber-BScMW4aa.js} +24 -24
  240. package/chunk/{StepSocialSecurityNumber-7clvuQce.js.map → StepSocialSecurityNumber-BScMW4aa.js.map} +1 -1
  241. package/chunk/{StepSocialSecurityNumber-7clvuQce.js → StepSocialSecurityNumber-BXTFTRtU.js} +12 -12
  242. package/chunk/{StepSocialSecurityNumber-DruKpXOw.js.map → StepSocialSecurityNumber-BXTFTRtU.js.map} +1 -1
  243. package/chunk/{StepStudentPersonalInfo-BzMOGhN1.js → StepStudentPersonalInfo-BXgbCDPU.js} +63 -63
  244. package/chunk/{StepStudentPersonalInfo-BzMOGhN1.js.map → StepStudentPersonalInfo-BXgbCDPU.js.map} +1 -1
  245. package/chunk/{StepStudentPersonalInfo-Dw1ljSGU.js → StepStudentPersonalInfo-C_Gwr1pT.js} +20 -20
  246. package/chunk/{StepStudentPersonalInfo-Dw1ljSGU.js.map → StepStudentPersonalInfo-C_Gwr1pT.js.map} +1 -1
  247. package/chunk/{StepSuccess-DTqu9PmR.js → StepSuccess-BWigRqmh.js} +94 -94
  248. package/chunk/StepSuccess-BWigRqmh.js.map +1 -0
  249. package/chunk/{StepSuccess-ICuC7CFW.js → StepSuccess-D0GQexPa.js} +92 -92
  250. package/chunk/StepSuccess-D0GQexPa.js.map +1 -0
  251. package/chunk/{StepTeacherPersonalInfo-Ds2sDRzl.js → StepTeacherPersonalInfo-Bv9DB_Lt.js} +18 -18
  252. package/chunk/{StepTeacherPersonalInfo-BhvBqRYQ.js.map → StepTeacherPersonalInfo-Bv9DB_Lt.js.map} +1 -1
  253. package/chunk/{StepTeacherPersonalInfo-BhvBqRYQ.js → StepTeacherPersonalInfo-DZ4924qb.js} +18 -18
  254. package/chunk/{StepTeacherPersonalInfo-Ds2sDRzl.js.map → StepTeacherPersonalInfo-DZ4924qb.js.map} +1 -1
  255. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  256. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  257. package/chunk/{TeacherSchoolComponent-CzT9PLGe.js → TeacherSchoolComponent-DE9AiCxY.js} +10 -10
  258. package/chunk/{TeacherSchoolComponent-CzT9PLGe.js.map → TeacherSchoolComponent-DE9AiCxY.js.map} +1 -1
  259. package/chunk/{TeacherSchoolComponent-D9M32gJE.js → TeacherSchoolComponent-DmGbff9I.js} +10 -10
  260. package/chunk/{TeacherSchoolComponent-D9M32gJE.js.map → TeacherSchoolComponent-DmGbff9I.js.map} +1 -1
  261. package/chunk/{TestingRouteOverrides-ipf_F-iY.js → TestingRouteOverrides-A7CajDc2.js} +20 -20
  262. package/chunk/{TestingRouteOverrides-EggQSvgh.js.map → TestingRouteOverrides-A7CajDc2.js.map} +1 -1
  263. package/chunk/{TestingRouteOverrides-EggQSvgh.js → TestingRouteOverrides-CteVovkM.js} +12 -12
  264. package/chunk/{TestingRouteOverrides-ipf_F-iY.js.map → TestingRouteOverrides-CteVovkM.js.map} +1 -1
  265. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  266. package/chunk/ar-D5CO913q.js +4 -4
  267. package/chunk/bg-1mhA5kYF.js +4 -4
  268. package/chunk/bn-IN-CpDqyRb_.js +4 -4
  269. package/chunk/clsx-CB5rauS5.js +4 -4
  270. package/chunk/{countryUtils-CM4nPYrB.js → countryUtils-Cm0CKgKH.js} +5 -5
  271. package/chunk/{countryUtils-CM4nPYrB.js.map → countryUtils-Cm0CKgKH.js.map} +1 -1
  272. package/chunk/countryUtils-tSyfKDmf.js +12 -0
  273. package/chunk/{countryUtils-Df3Rcr8q.js.map → countryUtils-tSyfKDmf.js.map} +1 -1
  274. package/chunk/cs-Chh7FAGt.js +4 -4
  275. package/chunk/da-DwrVoxto.js +4 -4
  276. package/chunk/de-IWGZLhgY.js +4 -4
  277. package/chunk/{downshift.esm-BUyxJQSO.js → downshift.esm-DW1n73ef.js} +7 -7
  278. package/chunk/{downshift.esm-CQ910rwo.js.map → downshift.esm-DW1n73ef.js.map} +1 -1
  279. package/chunk/{downshift.esm-CQ910rwo.js → downshift.esm-DdyoD_BK.js} +7 -7
  280. package/chunk/{downshift.esm-BUyxJQSO.js.map → downshift.esm-DdyoD_BK.js.map} +1 -1
  281. package/chunk/el-DbDcvSPJ.js +4 -4
  282. package/chunk/{empties-Dhc64eA5.js → empties-CuzjzEsL.js} +5 -5
  283. package/chunk/{empties-DHI3R7ys.js.map → empties-CuzjzEsL.js.map} +1 -1
  284. package/chunk/{empties-DHI3R7ys.js → empties-vS2Us_U5.js} +5 -5
  285. package/chunk/{empties-Dhc64eA5.js.map → empties-vS2Us_U5.js.map} +1 -1
  286. package/chunk/en-GB-BBkjjtqq.js +4 -4
  287. package/chunk/es-ES-DWimqEZ_.js +4 -4
  288. package/chunk/es-qhC-seq5.js +4 -4
  289. package/chunk/et-yF9G-Mym.js +4 -4
  290. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  291. package/chunk/fa-BcdSf7og.js +4 -4
  292. package/chunk/fi-D-IP_KHm.js +4 -4
  293. package/chunk/fr-BmUuYxk0.js +4 -4
  294. package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
  295. package/chunk/ga-DuZycND3.js +4 -4
  296. package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
  297. package/chunk/{hooks-BlwolTIT.js → hooks-BqfaxVbh.js} +45 -45
  298. package/chunk/{hooks-BlwolTIT.js.map → hooks-BqfaxVbh.js.map} +1 -1
  299. package/chunk/{hooks-gC9DtNY1.js → hooks-CAAVVsC2.js} +47 -47
  300. package/chunk/{hooks-gC9DtNY1.js.map → hooks-CAAVVsC2.js.map} +1 -1
  301. package/chunk/hr-BtqyDzDB.js +4 -4
  302. package/chunk/hu-C6syKJfb.js +4 -4
  303. package/chunk/id-GgI-Z2a5.js +4 -4
  304. package/chunk/{intl-CvSmE54g.js → intl-8IwAIXoJ.js} +438 -430
  305. package/chunk/intl-8IwAIXoJ.js.map +1 -0
  306. package/chunk/is-CvmKEON9.js +4 -4
  307. package/chunk/it-CnmveGgC.js +4 -4
  308. package/chunk/iw-DFUYHkxF.js +4 -4
  309. package/chunk/ja-CjVb2tWW.js +4 -4
  310. package/chunk/{jsx-runtime-JSlXFmKD.js → jsx-runtime-DOcXt_NQ.js} +5 -5
  311. package/chunk/{jsx-runtime-JSlXFmKD.js.map → jsx-runtime-DOcXt_NQ.js.map} +1 -1
  312. package/chunk/{jsx-runtime-CyXcV_93.js → jsx-runtime-Dztc5pGe.js} +5 -5
  313. package/chunk/{jsx-runtime-CyXcV_93.js.map → jsx-runtime-Dztc5pGe.js.map} +1 -1
  314. package/chunk/kk-Dvz4nK6K.js +4 -4
  315. package/chunk/ko-DzOqBMGC.js +4 -4
  316. package/chunk/lo-C2WPq55d.js +4 -4
  317. package/chunk/lt-BSDYvjTF.js +4 -4
  318. package/chunk/lv-CefDPT-M.js +4 -4
  319. package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
  320. package/chunk/{mocks-Dpf6dNc6.js → mocks-B63gxlSj.js} +5 -5
  321. package/chunk/{mocks-DrV8NINc.js.map → mocks-B63gxlSj.js.map} +1 -1
  322. package/chunk/{mocks-DrV8NINc.js → mocks-DPa4hUmN.js} +5 -5
  323. package/chunk/{mocks-Dpf6dNc6.js.map → mocks-DPa4hUmN.js.map} +1 -1
  324. package/chunk/ms-BjestZxy.js +4 -4
  325. package/chunk/nl-B1FyUfCT.js +4 -4
  326. package/chunk/nl-BE-CbeAd3nq.js +4 -4
  327. package/chunk/no-Dr633Ddi.js +4 -4
  328. package/chunk/{options-CRzdSTAR.js → options-CbyxEsS6.js} +331 -323
  329. package/chunk/options-CbyxEsS6.js.map +1 -0
  330. package/chunk/pl-UYTjMIq_.js +4 -4
  331. package/chunk/{programThemeGetters-DhVXOl92.js → programThemeGetters-BzTM_4ke.js} +22 -22
  332. package/chunk/{programThemeGetters-DhVXOl92.js.map → programThemeGetters-BzTM_4ke.js.map} +1 -1
  333. package/chunk/{programThemeGetters-CdBaEHVT.js → programThemeGetters-Dz1mfptL.js} +34 -34
  334. package/chunk/{programThemeGetters-CdBaEHVT.js.map → programThemeGetters-Dz1mfptL.js.map} +1 -1
  335. package/chunk/pt-BR-C8SYMT-J.js +4 -4
  336. package/chunk/pt-uH-M3GdN.js +4 -4
  337. package/chunk/refs-Mq0rtW9K.js +4 -4
  338. package/chunk/ro-CAOSXZ7h.js +4 -4
  339. package/chunk/ru-iwYoEydL.js +4 -4
  340. package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
  341. package/chunk/sk-DYYNV3zw.js +4 -4
  342. package/chunk/sl-D_-eeM5N.js +4 -4
  343. package/chunk/sr-BTi9_anL.js +4 -4
  344. package/chunk/{stepComponentHelpers-CLUoIwIK.js → stepComponentHelpers-CuO5tLTB.js} +7 -7
  345. package/chunk/{stepComponentHelpers-C6PguBPd.js.map → stepComponentHelpers-CuO5tLTB.js.map} +1 -1
  346. package/chunk/{stepComponentHelpers-C6PguBPd.js → stepComponentHelpers-JFXsrK-K.js} +7 -7
  347. package/chunk/{stepComponentHelpers-CLUoIwIK.js.map → stepComponentHelpers-JFXsrK-K.js.map} +1 -1
  348. package/chunk/strings-DWLVdUcm.js +4 -4
  349. package/chunk/sv-DRwY4shG.js +4 -4
  350. package/chunk/sw-Bvj2mYmM.js +4 -4
  351. package/chunk/ta-CmtaYoNe.js +4 -4
  352. package/chunk/th-12r2yKkJ.js +4 -4
  353. package/chunk/tl-BGNfO7md.js +4 -4
  354. package/chunk/tr-DH2ZSJhs.js +4 -4
  355. package/chunk/uk-CELBZlTd.js +4 -4
  356. package/chunk/ur-MR8DTbmd.js +4 -4
  357. package/chunk/{useCollectFieldsEndpoint-DhEB0r4Q.js → useCollectFieldsEndpoint-B3-jkSlI.js} +12 -12
  358. package/chunk/{useCollectFieldsEndpoint-DhEB0r4Q.js.map → useCollectFieldsEndpoint-B3-jkSlI.js.map} +1 -1
  359. package/chunk/{useCollectFieldsEndpoint-C0RomFpQ.js → useCollectFieldsEndpoint-DnZkFvvB.js} +12 -12
  360. package/chunk/{useCollectFieldsEndpoint-C0RomFpQ.js.map → useCollectFieldsEndpoint-DnZkFvvB.js.map} +1 -1
  361. package/chunk/{useMetrics-C3KNudJk.js → useMetrics-BtncAWgP.js} +7 -7
  362. package/chunk/{useMetrics-C3KNudJk.js.map → useMetrics-BtncAWgP.js.map} +1 -1
  363. package/chunk/{useMetrics-Cjo0Vkjx.js → useMetrics-DRKq3hnJ.js} +7 -7
  364. package/chunk/{useMetrics-Cjo0Vkjx.js.map → useMetrics-DRKq3hnJ.js.map} +1 -1
  365. package/chunk/vi-DtZ-SqD5.js +4 -4
  366. package/chunk/zh-DjyVyYac.js +4 -4
  367. package/chunk/zh-HK-CN1HarHq.js +4 -4
  368. package/chunk/zu-DPhgIh1z.js +4 -4
  369. package/package.json +1 -1
  370. package/sheerid-install.css +4 -4
  371. package/sheerid-install.js +4 -4
  372. package/sheerid.css +4 -4
  373. package/sheerid.js +966 -960
  374. package/sheerid.js.map +1 -1
  375. package/chunk/StepSuccess-DTqu9PmR.js.map +0 -1
  376. package/chunk/StepSuccess-ICuC7CFW.js.map +0 -1
  377. package/chunk/countryUtils-Df3Rcr8q.js +0 -12
  378. package/chunk/intl-CvSmE54g.js.map +0 -1
  379. package/chunk/options-CRzdSTAR.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/militaryStepHelpers.ts","../../src/components/StepMilitaryPersonalInfo/StepCollectMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["import produce from \"immer\";\n\nimport {\n type VerificationService,\n type FormSelectChoice,\n type MilitaryPersonalInfoViewModel,\n} from \"../../lib/types/types\";\n\nexport const updateMilitaryViewModel = (\n key: keyof MilitaryPersonalInfoViewModel,\n value: any,\n verificationService: VerificationService,\n availableStatuses: FormSelectChoice[],\n): MilitaryPersonalInfoViewModel => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n return produce(viewModel, (draft: MilitaryPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n\n // Reset military-managed skip flags before reapplying.\n const militaryManagedFields = [\"status\"];\n draft.fieldsToSkipValidation = (draft.fieldsToSkipValidation || []).filter(\n (id) => !militaryManagedFields.includes(id),\n );\n\n if (!availableStatuses || availableStatuses.length === 0) {\n draft.fieldsToSkipValidation.push(\"status\");\n }\n\n if (key === \"status\") {\n draft.organization = { id: 0, name: \"\" };\n }\n });\n};\n","import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MilitaryPersonalInfoViewModel,\n type ActiveMilitaryPersonalInfoResponse,\n type InactiveMilitaryPersonalInfoResponse,\n type MilitaryStatusResponse,\n type CustomFormFieldConfig,\n type FieldDescription,\n type State,\n} from \"../../lib/types/types\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getStatusLabel,\n getStatusOptions,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\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 { StatusComponent as MilitaryStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { getOptions } from \"../../options/options\";\n\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\ninterface Props {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepCollectMilitaryPersonalInfo = ({ intl, verificationService }: Props) => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as\n | ActiveMilitaryPersonalInfoResponse\n | InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n // Seed: show dischargeDate on first paint when the response indicates an\n // inactive flow, or when the program's transitional validity window applies.\n // The /fields response replaces this once it resolves.\n const showDischargeDateInitially =\n verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo ||\n !!verificationService.programTheme.transitionalMilitaryValidityDays;\n const initialRequiredFields: FieldDescription[] = showDischargeDateInitially\n ? [{ key: \"dischargeDate\" }]\n : [];\n\n const {\n availableStatuses: dynamicStatuses,\n isFieldRequired,\n isFieldOptional,\n } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: VerificationStepsEnum.collectMilitaryPersonalInfo,\n viewModel,\n defaultRequiredFields: initialRequiredFields,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ??\n (verificationResponse as unknown as MilitaryStatusResponse).availableStatuses ??\n (verificationService.previousVerificationResponse as MilitaryStatusResponse)\n ?.availableStatuses,\n );\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const showDischargeDate = isFieldRequired(\"dischargeDate\") || isFieldOptional(\"dischargeDate\");\n\n const updateMilitary = (key: keyof MilitaryPersonalInfoViewModel, value: any) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, statusOptions),\n );\n };\n\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {statusOptions.length > 0 ? (\n <MilitaryStatusComponent\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updateMilitary(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: viewModel.organization.id,\n label: viewModel.organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.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 updateMilitary(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMilitary(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {showDischargeDate && (\n <DischargeDate\n mode={\n verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateMilitary(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n isRequired={isFieldRequired(\"dischargeDate\")}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateMilitary(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMilitary(\"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 {isFieldOptional(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"state\") && (\n <StateSelectComponent\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 updateMilitary(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMilitary(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.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 updateMilitary(\"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={verificationResponse.currentStep as CollectInfoSteps}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepCollectMilitaryPersonalInfoComponent = injectIntl(StepCollectMilitaryPersonalInfo);\nexport default StepColl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Component-0gI8ebUM.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/militaryStepHelpers.ts","../../src/components/StepMilitaryPersonalInfo/StepCollectMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["import produce from \"immer\";\n\nimport {\n type VerificationService,\n type FormSelectChoice,\n type MilitaryPersonalInfoViewModel,\n} from \"../../lib/types/types\";\n\nexport const updateMilitaryViewModel = (\n key: keyof MilitaryPersonalInfoViewModel,\n value: any,\n verificationService: VerificationService,\n availableStatuses: FormSelectChoice[],\n): MilitaryPersonalInfoViewModel => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n return produce(viewModel, (draft: MilitaryPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n\n // Reset military-managed skip flags before reapplying.\n const militaryManagedFields = [\"status\"];\n draft.fieldsToSkipValidation = (draft.fieldsToSkipValidation || []).filter(\n (id) => !militaryManagedFields.includes(id),\n );\n\n if (!availableStatuses || availableStatuses.length === 0) {\n draft.fieldsToSkipValidation.push(\"status\");\n }\n\n if (key === \"status\") {\n draft.organization = { id: 0, name: \"\" };\n }\n });\n};\n","import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MilitaryPersonalInfoViewModel,\n type ActiveMilitaryPersonalInfoResponse,\n type InactiveMilitaryPersonalInfoResponse,\n type MilitaryStatusResponse,\n type CustomFormFieldConfig,\n type FieldDescription,\n type State,\n} from \"../../lib/types/types\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getStatusLabel,\n getStatusOptions,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\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 { StatusComponent as MilitaryStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { getOptions } from \"../../options/options\";\n\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\ninterface Props {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepCollectMilitaryPersonalInfo = ({ intl, verificationService }: Props) => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as\n | ActiveMilitaryPersonalInfoResponse\n | InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n // Seed: show dischargeDate on first paint when the response indicates an\n // inactive flow, or when the program's transitional validity window applies.\n // The /fields response replaces this once it resolves.\n const showDischargeDateInitially =\n verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo ||\n !!verificationService.programTheme.transitionalMilitaryValidityDays;\n const initialRequiredFields: FieldDescription[] = showDischargeDateInitially\n ? [{ key: \"dischargeDate\" }]\n : [];\n\n const {\n availableStatuses: dynamicStatuses,\n isFieldRequired,\n isFieldOptional,\n } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: VerificationStepsEnum.collectMilitaryPersonalInfo,\n viewModel,\n defaultRequiredFields: initialRequiredFields,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ??\n (verificationResponse as unknown as MilitaryStatusResponse).availableStatuses ??\n (verificationService.previousVerificationResponse as MilitaryStatusResponse)\n ?.availableStatuses,\n );\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const showDischargeDate = isFieldRequired(\"dischargeDate\") || isFieldOptional(\"dischargeDate\");\n\n const updateMilitary = (key: keyof MilitaryPersonalInfoViewModel, value: any) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, statusOptions),\n );\n };\n\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {statusOptions.length > 0 ? (\n <MilitaryStatusComponent\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updateMilitary(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: viewModel.organization.id,\n label: viewModel.organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.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 updateMilitary(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMilitary(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {showDischargeDate && (\n <DischargeDate\n mode={\n verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateMilitary(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n isRequired={isFieldRequired(\"dischargeDate\")}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateMilitary(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMilitary(\"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 {isFieldOptional(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"state\") && (\n <StateSelectComponent\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 updateMilitary(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMilitary(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.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 updateMilitary(\"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={verificationResponse.currentStep as CollectInfoSteps}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepCollectMilitaryPersonalInfoComponent = injectIntl(StepCollectMilitaryPersonalInfo);\nexport default StepCollectMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAa,KACX,GACA,GACA,GACA,MACkC;CAClC,IAAM,IAAY,EAAoB;CACtC,OAAO,EAAQ,IAAY,MAAyC;EAClE,EAAO,KAAe;EAGtB,IAAM,IAAwB,CAAC,QAAQ;EASvC,AARA,EAAM,0BAA0B,E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AA,GAAA,EAAA,KAAC,GAAD;IACE,UAAU,EAAwB,YAAY,GAAG;IACjD,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAe,cAAc,CAAQ,GACrC,EAAqC,cAAc,GAAU,CAAmB;IAClF;IACA,OAAO,EAAU;IACjB,UAAU,EAAwB,YAAY,GAAG;GAClD,CAAA;GAGF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAe,YAAY;MACzB,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;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;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAqB;IACN;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA2C,EAAW,CAA+B"}
@@ -4,33 +4,33 @@
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.290.0
8
- * BUILD_TIMESTAMP: 1790025873709
9
- * BUILD_DATE: Mon Sep 21 2026 21:24:33 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: c0fd12478ebbf79e09888ff6cc408f0695f12ab0
7
+ * VERSION: 2.291.0
8
+ * BUILD_TIMESTAMP: 1790031324838
9
+ * BUILD_DATE: Mon Sep 21 2026 22:55:24 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: be7cd0d3fb5ee01f15a63a6669da3dfe86723b27
11
11
  */
12
- import { p as e, s as t } from "./intl-CvSmE54g.js";
12
+ import { p as e, s as t } from "./intl-8IwAIXoJ.js";
13
13
  import { b as n } from "./runtimeTypes-B2AGNJMT.js";
14
- import { a as r, n as i, t as a } from "./jsx-runtime-JSlXFmKD.js";
15
- import { p as o } from "./FormFooterComponent-D4QJJ-El.js";
14
+ import { a as r, n as i, t as a } from "./jsx-runtime-DOcXt_NQ.js";
15
+ import { p as o } from "./FormFooterComponent-UodGb8EG.js";
16
16
  import { a as s } from "./refs-Mq0rtW9K.js";
17
17
  import { t as c } from "../_mysheerid-preview.js";
18
- import { t as l } from "./useCollectFieldsEndpoint-C0RomFpQ.js";
19
- import { a as u, i as d, m as f, p, r as m, t as h } from "./stepComponentHelpers-C6PguBPd.js";
20
- import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-D84uhigA.js";
21
- import { n as S, t as C } from "./PersonalInfoStepSubmitButton-CJYeNqbu.js";
22
- import { t as w } from "./BirthDateComponent-Cd0cMZrO.js";
23
- import { t as T } from "./PostalCodeComponent-zteosCwv.js";
24
- import { t as E } from "./CountryComponentWrapper-DQW_P5GI.js";
25
- import { t as D } from "./City-DzE-sIfb.js";
26
- import { t as O } from "./AddressComponent-DD8h728z.js";
27
- import { t as k } from "./ExtraMessage-CgELJLpn.js";
28
- import { t as A } from "./ChangeLocaleComponent-LlVAEjO9.js";
29
- import { t as j } from "./PersonalInfoStepWrapper-DQ75PRWo.js";
30
- import { t as M } from "./countryUtils-CM4nPYrB.js";
31
- import { t as N } from "./StateSelectComponent-CpGuzW45.js";
32
- import { n as P, r as F, t as I } from "./DischargeDateComponent-Dlm6t88Y.js";
33
- import { t as L } from "./StatusComponent-8j96MYEP.js";
18
+ import { t as l } from "./useCollectFieldsEndpoint-DnZkFvvB.js";
19
+ import { a as u, i as d, m as f, p, r as m, t as h } from "./stepComponentHelpers-JFXsrK-K.js";
20
+ import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-CUbOXmiG.js";
21
+ import { n as S, t as C } from "./PersonalInfoStepSubmitButton-B-M8eKpG.js";
22
+ import { t as w } from "./BirthDateComponent-DOJ2Eu4P.js";
23
+ import { t as T } from "./PostalCodeComponent-S8f2lhPF.js";
24
+ import { t as E } from "./CountryComponentWrapper-DGqTUeJ9.js";
25
+ import { t as D } from "./City-BryCbKPP.js";
26
+ import { t as O } from "./AddressComponent-CXsUFn4e.js";
27
+ import { t as k } from "./ExtraMessage-nnzMgwxs.js";
28
+ import { t as A } from "./ChangeLocaleComponent-D4HiJy2E.js";
29
+ import { t as j } from "./PersonalInfoStepWrapper-Can2a6R_.js";
30
+ import { t as M } from "./countryUtils-Cm0CKgKH.js";
31
+ import { t as N } from "./StateSelectComponent-DUZtpcwe.js";
32
+ import { n as P, r as F, t as I } from "./DischargeDateComponent-2sdFQFak.js";
33
+ import { t as L } from "./StatusComponent-CwwsRQmS.js";
34
34
  //#region src/components/StepMilitaryPersonalInfo/militaryStepHelpers.ts
35
35
  var R = (t, n, r, i) => {
36
36
  let a = r.viewModel;
@@ -1 +1 @@
1
- {"version":3,"file":"StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/militaryStepHelpers.ts","../../src/components/StepMilitaryPersonalInfo/StepCollectMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["import produce from \"immer\";\n\nimport {\n type VerificationService,\n type FormSelectChoice,\n type MilitaryPersonalInfoViewModel,\n} from \"../../lib/types/types\";\n\nexport const updateMilitaryViewModel = (\n key: keyof MilitaryPersonalInfoViewModel,\n value: any,\n verificationService: VerificationService,\n availableStatuses: FormSelectChoice[],\n): MilitaryPersonalInfoViewModel => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n return produce(viewModel, (draft: MilitaryPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n\n // Reset military-managed skip flags before reapplying.\n const militaryManagedFields = [\"status\"];\n draft.fieldsToSkipValidation = (draft.fieldsToSkipValidation || []).filter(\n (id) => !militaryManagedFields.includes(id),\n );\n\n if (!availableStatuses || availableStatuses.length === 0) {\n draft.fieldsToSkipValidation.push(\"status\");\n }\n\n if (key === \"status\") {\n draft.organization = { id: 0, name: \"\" };\n }\n });\n};\n","import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MilitaryPersonalInfoViewModel,\n type ActiveMilitaryPersonalInfoResponse,\n type InactiveMilitaryPersonalInfoResponse,\n type MilitaryStatusResponse,\n type CustomFormFieldConfig,\n type FieldDescription,\n type State,\n} from \"../../lib/types/types\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getStatusLabel,\n getStatusOptions,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\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 { StatusComponent as MilitaryStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { getOptions } from \"../../options/options\";\n\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\ninterface Props {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepCollectMilitaryPersonalInfo = ({ intl, verificationService }: Props) => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as\n | ActiveMilitaryPersonalInfoResponse\n | InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n // Seed: show dischargeDate on first paint when the response indicates an\n // inactive flow, or when the program's transitional validity window applies.\n // The /fields response replaces this once it resolves.\n const showDischargeDateInitially =\n verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo ||\n !!verificationService.programTheme.transitionalMilitaryValidityDays;\n const initialRequiredFields: FieldDescription[] = showDischargeDateInitially\n ? [{ key: \"dischargeDate\" }]\n : [];\n\n const {\n availableStatuses: dynamicStatuses,\n isFieldRequired,\n isFieldOptional,\n } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: VerificationStepsEnum.collectMilitaryPersonalInfo,\n viewModel,\n defaultRequiredFields: initialRequiredFields,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ??\n (verificationResponse as unknown as MilitaryStatusResponse).availableStatuses ??\n (verificationService.previousVerificationResponse as MilitaryStatusResponse)\n ?.availableStatuses,\n );\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const showDischargeDate = isFieldRequired(\"dischargeDate\") || isFieldOptional(\"dischargeDate\");\n\n const updateMilitary = (key: keyof MilitaryPersonalInfoViewModel, value: any) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, statusOptions),\n );\n };\n\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {statusOptions.length > 0 ? (\n <MilitaryStatusComponent\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updateMilitary(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: viewModel.organization.id,\n label: viewModel.organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.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 updateMilitary(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMilitary(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {showDischargeDate && (\n <DischargeDate\n mode={\n verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateMilitary(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n isRequired={isFieldRequired(\"dischargeDate\")}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateMilitary(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMilitary(\"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 {isFieldOptional(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"state\") && (\n <StateSelectComponent\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 updateMilitary(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMilitary(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.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 updateMilitary(\"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={verificationResponse.currentStep as CollectInfoSteps}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepCollectMilitaryPersonalInfoComponent = injectIntl(StepCollectMilitaryPersonalInfo);\nexport default StepCollectMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAa,KACX,GACA,GACA,GACA,MACkC;CAClC,IAAM,IAAY,EAAoB;CACtC,OAAO,EAAQ,IAAY,MAAyC;EAClE,EAAO,KAAe;EAGtB,IAAM,IAAwB,CAAC,QAAQ;EASvC,AARA,EAAM,0BAA0B,EAAM,0BAA0B,CAAC,GAAG,QACjE,MAAO,CAAC,EAAsB,SAAS,CAAE,CAC5C,IAEI,CAAC,KAAqB,EAAkB,WAAW,MACrD,EAAM,uBAAuB,KAAK,QAAQ,GAGxC,MAAQ,aACV,EAAM,eAAe;GAAE,IAAI;GAAG,MAAM;EAAG;CAE3C,CAAC;AACH,YC2Ba,KAAmC,EAAE,SAAM,6BAAiC;CACvF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAG3C,IAAqB,EAAsB,CAAoB,GAS/D,IAHJ,EAAqB,gB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;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAe,YAAY;MACzB,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;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;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAqB;IACN;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA2C,EAAW,CAA+B"}
1
+ {"version":3,"file":"StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/militaryStepHelpers.ts","../../src/components/StepMilitaryPersonalInfo/StepCollectMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["import produce from \"immer\";\n\nimport {\n type VerificationService,\n type FormSelectChoice,\n type MilitaryPersonalInfoViewModel,\n} from \"../../lib/types/types\";\n\nexport const updateMilitaryViewModel = (\n key: keyof MilitaryPersonalInfoViewModel,\n value: any,\n verificationService: VerificationService,\n availableStatuses: FormSelectChoice[],\n): MilitaryPersonalInfoViewModel => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n return produce(viewModel, (draft: MilitaryPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n\n // Reset military-managed skip flags before reapplying.\n const militaryManagedFields = [\"status\"];\n draft.fieldsToSkipValidation = (draft.fieldsToSkipValidation || []).filter(\n (id) => !militaryManagedFields.includes(id),\n );\n\n if (!availableStatuses || availableStatuses.length === 0) {\n draft.fieldsToSkipValidation.push(\"status\");\n }\n\n if (key === \"status\") {\n draft.organization = { id: 0, name: \"\" };\n }\n });\n};\n","import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MilitaryPersonalInfoViewModel,\n type ActiveMilitaryPersonalInfoResponse,\n type InactiveMilitaryPersonalInfoResponse,\n type MilitaryStatusResponse,\n type CustomFormFieldConfig,\n type FieldDescription,\n type State,\n} from \"../../lib/types/types\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getStatusLabel,\n getStatusOptions,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\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 { StatusComponent as MilitaryStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { getOptions } from \"../../options/options\";\n\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\ninterface Props {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepCollectMilitaryPersonalInfo = ({ intl, verificationService }: Props) => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as\n | ActiveMilitaryPersonalInfoResponse\n | InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n // Seed: show dischargeDate on first paint when the response indicates an\n // inactive flow, or when the program's transitional validity window applies.\n // The /fields response replaces this once it resolves.\n const showDischargeDateInitially =\n verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo ||\n !!verificationService.programTheme.transitionalMilitaryValidityDays;\n const initialRequiredFields: FieldDescription[] = showDischargeDateInitially\n ? [{ key: \"dischargeDate\" }]\n : [];\n\n const {\n availableStatuses: dynamicStatuses,\n isFieldRequired,\n isFieldOptional,\n } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: VerificationStepsEnum.collectMilitaryPersonalInfo,\n viewModel,\n defaultRequiredFields: initialRequiredFields,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ??\n (verificationResponse as unknown as MilitaryStatusResponse).availableStatuses ??\n (verificationService.previousVerificationResponse as MilitaryStatusResponse)\n ?.availableStatuses,\n );\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const showDischargeDate = isFieldRequired(\"dischargeDate\") || isFieldOptional(\"dischargeDate\");\n\n const updateMilitary = (key: keyof MilitaryPersonalInfoViewModel, value: any) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, statusOptions),\n );\n };\n\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {statusOptions.length > 0 ? (\n <MilitaryStatusComponent\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updateMilitary(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: viewModel.organization.id,\n label: viewModel.organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.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 updateMilitary(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMilitary(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {showDischargeDate && (\n <DischargeDate\n mode={\n verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateMilitary(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n isRequired={isFieldRequired(\"dischargeDate\")}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateMilitary(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMilitary(\"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 {isFieldOptional(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"state\") && (\n <StateSelectComponent\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 updateMilitary(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMilitary(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.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 updateMilitary(\"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={verificationResponse.currentStep as CollectInfoSteps}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepCollectMilitaryPersonalInfoComponent = injectIntl(StepCollectMilitaryPersonalInfo);\nexport default StepCollectMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAa,KACX,GACA,GACA,GACA,MACkC;CAClC,IAAM,IAAY,EAAoB;CACtC,OAAO,EAAQ,IAAY,MAAyC;EAClE,EAAO,KAAe;EAGtB,IAAM,IAAwB,CAAC,QAAQ;EASvC,AARA,EAAM,0BAA0B,EAAM,0BAA0B,CAAC,GAAG,QACjE,MAAO,CAAC,EAAsB,SAAS,CAAE,CAC5C,IAEI,CAAC,KAAqB,EAAkB,WAAW,MACrD,EAAM,uBAAuB,KAAK,QAAQ,GAGxC,MAAQ,aACV,EAAM,eAAe;GAAE,IAAI;GAAG,MAAM;EAAG;CAE3C,CAAC;AACH,YC2Ba,KAAmC,EAAE,SAAM,6BAAiC;CACvF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAG3C,IAAqB,EAAsB,CAAoB,GAS/D,IAHJ,EAAqB,gBACnB,EAAsB,uCACtB,EAAoB,aAAa,mCAEjC,CAAC,EAAE,KAAK,gBAAgB,CAAC,IACzB,CAAC,GAEC,EACJ,mBAAmB,GACnB,oBACA,uBACE,EAAyB;EAC3B,gBAAgB,EAAqB;EACrC,aAAa,EAAsB;EACnC;EACA,uBAAuB;CACzB,CAAC,GAEK,IAAqB,EAAU,eAAe,OAC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AAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAqB;IACN;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA2C,EAAW,CAA+B"}
@@ -4,58 +4,58 @@
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.290.0
8
- * BUILD_TIMESTAMP: 1790025873709
9
- * BUILD_DATE: Mon Sep 21 2026 21:24:33 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: c0fd12478ebbf79e09888ff6cc408f0695f12ab0
7
+ * VERSION: 2.291.0
8
+ * BUILD_TIMESTAMP: 1790031324838
9
+ * BUILD_DATE: Mon Sep 21 2026 22:55:24 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: be7cd0d3fb5ee01f15a63a6669da3dfe86723b27
11
11
  */
12
- import { Ot as e, p as t, s as n, wt as r } from "./intl-CvSmE54g.js";
12
+ import { Tt as e, kt as t, p as n, s as r } from "./intl-8IwAIXoJ.js";
13
13
  import { S as i, b as a, t as ee, u as o } from "./runtimeTypes-B2AGNJMT.js";
14
- import { o as te } from "./programThemeGetters-CdBaEHVT.js";
15
- import { a as s, c, n as l, t as u } from "./jsx-runtime-JSlXFmKD.js";
16
- import { T as ne } from "./Message-C8hwqDr2.js";
17
- import { p as re, t as ie } from "./FormFooterComponent-D4QJJ-El.js";
14
+ import { o as te } from "./programThemeGetters-Dz1mfptL.js";
15
+ import { a as s, c, n as l, t as u } from "./jsx-runtime-DOcXt_NQ.js";
16
+ import { T as ne } from "./Message-Dh1_V9dt.js";
17
+ import { p as re, t as ie } from "./FormFooterComponent-UodGb8EG.js";
18
18
  import { t as ae } from "../_mysheerid-preview.js";
19
- import { t as oe } from "./useCollectFieldsEndpoint-C0RomFpQ.js";
20
- import { a as se, d as ce, i as le, l as ue, m as d, o as de, p as f, r as p, t as m } from "./stepComponentHelpers-C6PguBPd.js";
21
- import { a as fe, i as pe, n as h, o as g, s as _, t as v } from "./CaptchaComponent-D84uhigA.js";
22
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CJYeNqbu.js";
23
- import { t as x } from "./BirthDateComponent-Cd0cMZrO.js";
24
- import { t as S } from "./PostalCodeComponent-zteosCwv.js";
25
- import { t as C } from "./CountryComponentWrapper-DQW_P5GI.js";
26
- import { t as w } from "./City-DzE-sIfb.js";
27
- import { t as T } from "./AddressComponent-DD8h728z.js";
28
- import { t as E } from "./ExtraMessage-CgELJLpn.js";
29
- import { t as D } from "./countryUtils-CM4nPYrB.js";
30
- import { t as O } from "./CollegeNameComponent-BLK9LM4N.js";
31
- import { t as k } from "./StateSelectComponent-CpGuzW45.js";
32
- import { n as A, r as j, t as M } from "./DischargeDateComponent-Dlm6t88Y.js";
33
- import { t as N } from "./DriverLicenseNumberComponent-XVb7vgi3.js";
34
- import { n as P, t as F } from "./LowIncomeOrganizationComponent-XE645g9w.js";
35
- import { t as I } from "./StatusComponent-8j96MYEP.js";
36
- import { t as L } from "./FirstResponderOrganizationComponent-CEBS72Sm.js";
37
- import { t as me } from "./LicensedProfessionalOrganizationComponent-y5azOwHV.js";
38
- import { t as R } from "./MedicalProfessionalOrganizationComponent-CEfnIdC3.js";
39
- import { t as z } from "./MemberIdComponent-CPlvhVZ8.js";
40
- import { t as he } from "./MembershipOrganizationComponent-CEU4TQuO.js";
41
- import { t as ge } from "./TeacherSchoolComponent-D9M32gJE.js";
42
- import { t as _e } from "./SSN-CTR6jwEC.js";
19
+ import { t as oe } from "./useCollectFieldsEndpoint-DnZkFvvB.js";
20
+ import { a as se, d as ce, i as le, l as ue, m as d, o as de, p as f, r as p, t as m } from "./stepComponentHelpers-JFXsrK-K.js";
21
+ import { a as fe, i as pe, n as h, o as g, s as _, t as v } from "./CaptchaComponent-CUbOXmiG.js";
22
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-B-M8eKpG.js";
23
+ import { t as x } from "./BirthDateComponent-DOJ2Eu4P.js";
24
+ import { t as S } from "./PostalCodeComponent-S8f2lhPF.js";
25
+ import { t as C } from "./CountryComponentWrapper-DGqTUeJ9.js";
26
+ import { t as w } from "./City-BryCbKPP.js";
27
+ import { t as T } from "./AddressComponent-CXsUFn4e.js";
28
+ import { t as E } from "./ExtraMessage-nnzMgwxs.js";
29
+ import { t as D } from "./countryUtils-Cm0CKgKH.js";
30
+ import { t as O } from "./CollegeNameComponent-DzyMYXew.js";
31
+ import { t as k } from "./StateSelectComponent-DUZtpcwe.js";
32
+ import { n as A, r as j, t as M } from "./DischargeDateComponent-2sdFQFak.js";
33
+ import { t as N } from "./DriverLicenseNumberComponent-CJmYTF0r.js";
34
+ import { n as P, t as F } from "./LowIncomeOrganizationComponent-BsAyEpcL.js";
35
+ import { t as I } from "./StatusComponent-CwwsRQmS.js";
36
+ import { t as L } from "./FirstResponderOrganizationComponent-B_SXFEXh.js";
37
+ import { t as me } from "./LicensedProfessionalOrganizationComponent-BU2SZvkL.js";
38
+ import { t as R } from "./MedicalProfessionalOrganizationComponent-D-OSmGVW.js";
39
+ import { t as z } from "./MemberIdComponent-BZoHhg8k.js";
40
+ import { t as he } from "./MembershipOrganizationComponent-CNeWeHzI.js";
41
+ import { t as ge } from "./TeacherSchoolComponent-DmGbff9I.js";
42
+ import { t as _e } from "./SSN-Dt_cpKLM.js";
43
43
  //#region src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx
44
- var B = /* @__PURE__ */ e(c(), 1), V = u(), H = s(({ intl: e, verificationService: s }) => {
45
- let c = s.viewModel, { updateViewModel: u, programTheme: H } = s, [U, ve] = B.useState(void 0), W = (e) => U && U.some((t) => t.key === e), { fieldValidationErrors: G } = s, K = s.verificationResponse, ye = re(K), q = (e, n) => {
46
- u(t(c, (t) => {
47
- t[e] = n;
44
+ var B = /* @__PURE__ */ t(c(), 1), V = u(), H = s(({ intl: t, verificationService: s }) => {
45
+ let c = s.viewModel, { updateViewModel: u, programTheme: H } = s, [U, ve] = B.useState(void 0), W = (e) => U && U.some((t) => t.key === e), { fieldValidationErrors: G } = s, K = s.verificationResponse, ye = re(K), q = (e, t) => {
46
+ u(n(c, (n) => {
47
+ n[e] = t;
48
48
  }));
49
49
  }, be = (e) => {
50
50
  u(ue(c, e));
51
- }, J = c.localeChoice.value, xe = n(), { segment: Y, availableStatuses: X } = K, Se = Y.charAt(0).toUpperCase() + Y.slice(1), Z = () => X && (Y === o.FIRST_RESPONDER || Y === o.MEDICAL || Y === o.LOW_INCOME || Y === o.LICENSED_PROFESSIONAL || Y === o.EMPLOYMENT || Y === o.RECENT_MOVER || Y === o.MILITARY), { availableStatuses: Ce } = oe({
51
+ }, J = c.localeChoice.value, xe = r(), { segment: Y, availableStatuses: X } = K, Se = Y.charAt(0).toUpperCase() + Y.slice(1), Z = () => X && (Y === o.FIRST_RESPONDER || Y === o.MEDICAL || Y === o.LOW_INCOME || Y === o.LICENSED_PROFESSIONAL || Y === o.EMPLOYMENT || Y === o.RECENT_MOVER || Y === o.MILITARY), { availableStatuses: Ce } = oe({
52
52
  verificationId: K.verificationId,
53
53
  currentStep: K.currentStep,
54
54
  viewModel: c
55
- }), we = c.countryChoice?.value, Q = D(H, we), Te = le(e, Ce ?? X), $ = (e) => (async () => {
55
+ }), we = c.countryChoice?.value, Q = D(H, we), Te = le(t, Ce ?? X), $ = (t) => (async () => {
56
56
  try {
57
- let t = await ne(K.verificationId, K.currentStep, e), n = r(() => t.fieldsToCollect.required, []);
58
- Z() && n.push({ key: "status" }), be(n), ve(n);
57
+ let n = await ne(K.verificationId, K.currentStep, t), r = e(() => n.fieldsToCollect.required, []);
58
+ Z() && r.push({ key: "status" }), be(r), ve(r);
59
59
  } catch (e) {
60
60
  i.error(`Failed to determine fields to collect: ${e}`);
61
61
  }
@@ -84,7 +84,7 @@ var B = /* @__PURE__ */ e(c(), 1), V = u(), H = s(({ intl: e, verificationServic
84
84
  segmentId: Y,
85
85
  value: {
86
86
  value: c.status,
87
- label: p(e, c.status)
87
+ label: p(t, c.status)
88
88
  },
89
89
  isErrored: !!G.status,
90
90
  errorId: `invalid${Se}Status`,
@@ -134,8 +134,8 @@ var B = /* @__PURE__ */ e(c(), 1), V = u(), H = s(({ intl: e, verificationServic
134
134
  d(e, s), f("organization", e, s);
135
135
  },
136
136
  value: {
137
- value: r(() => s.viewModel.organization.id),
138
- label: r(() => s.viewModel.organization.name)
137
+ value: e(() => s.viewModel.organization.id),
138
+ label: e(() => s.viewModel.organization.name)
139
139
  },
140
140
  verificationService: s,
141
141
  disabled: m("organization")?.disabled