@sheerid/jslib 2.262.0 → 2.264.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 (415) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +1522 -3822
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-DJPGVE04.js → AddressComponent-BcUOtiOW.js} +7 -7
  5. package/chunk/{AddressComponent-CL1CDsWz.js.map → AddressComponent-BcUOtiOW.js.map} +1 -1
  6. package/chunk/{AddressComponent-CL1CDsWz.js → AddressComponent-cZ7Rrphj.js} +7 -7
  7. package/chunk/{AddressComponent-DJPGVE04.js.map → AddressComponent-cZ7Rrphj.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-lotcA5d8.js → AnnouncingHeader-DDT5xAyL.js} +6 -6
  9. package/chunk/{AnnouncingHeader-DGy7wEme.js.map → AnnouncingHeader-DDT5xAyL.js.map} +1 -1
  10. package/chunk/{AnnouncingHeader-DGy7wEme.js → AnnouncingHeader-DSPYeTwU.js} +6 -6
  11. package/chunk/{AnnouncingHeader-lotcA5d8.js.map → AnnouncingHeader-DSPYeTwU.js.map} +1 -1
  12. package/chunk/{ApiUrls-CCydfy8I.js → ApiUrls-BGkT0u8_.js} +6 -6
  13. package/chunk/{ApiUrls-CCydfy8I.js.map → ApiUrls-BGkT0u8_.js.map} +1 -1
  14. package/chunk/{ApiUrls-DdwCkseK.js → ApiUrls-DplKihXV.js} +13 -13
  15. package/chunk/{ApiUrls-DdwCkseK.js.map → ApiUrls-DplKihXV.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-DRjYSB1_.js → BirthDateComponent-DiRfVMkQ.js} +8 -8
  17. package/chunk/{BirthDateComponent-CBXOBCcV.js.map → BirthDateComponent-DiRfVMkQ.js.map} +1 -1
  18. package/chunk/{BirthDateComponent-CBXOBCcV.js → BirthDateComponent-mw3tGfO1.js} +8 -8
  19. package/chunk/{BirthDateComponent-DRjYSB1_.js.map → BirthDateComponent-mw3tGfO1.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-BdltUs-q.js → CaptchaComponent-Bo6-PXzj.js} +162 -158
  21. package/chunk/{CaptchaComponent-BdltUs-q.js.map → CaptchaComponent-Bo6-PXzj.js.map} +1 -1
  22. package/chunk/{CaptchaComponent-DiYK5xPX.js → CaptchaComponent-D6FNNlKj.js} +148 -152
  23. package/chunk/{CaptchaComponent-DiYK5xPX.js.map → CaptchaComponent-D6FNNlKj.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-DrY1Xz8z.js → ChangeLocaleComponent-B905JfFy.js} +8 -8
  25. package/chunk/{ChangeLocaleComponent-DUIMw7ra.js.map → ChangeLocaleComponent-B905JfFy.js.map} +1 -1
  26. package/chunk/{ChangeLocaleComponent-DUIMw7ra.js → ChangeLocaleComponent-C1vybPVc.js} +8 -8
  27. package/chunk/{ChangeLocaleComponent-DrY1Xz8z.js.map → ChangeLocaleComponent-C1vybPVc.js.map} +1 -1
  28. package/chunk/{City-FRiBMMDp.js → City-BiuOEuRx.js} +7 -7
  29. package/chunk/{City-C7052kY5.js.map → City-BiuOEuRx.js.map} +1 -1
  30. package/chunk/{City-C7052kY5.js → City-D-gJ5H6v.js} +7 -7
  31. package/chunk/{City-FRiBMMDp.js.map → City-D-gJ5H6v.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-D8AH4Ios.js → CollegeNameComponent-BDZD28ed.js} +9 -9
  33. package/chunk/{CollegeNameComponent-BbW5HgWL.js.map → CollegeNameComponent-BDZD28ed.js.map} +1 -1
  34. package/chunk/{CollegeNameComponent-BbW5HgWL.js → CollegeNameComponent-C_1m4XT-.js} +9 -9
  35. package/chunk/{CollegeNameComponent-D8AH4Ios.js.map → CollegeNameComponent-C_1m4XT-.js.map} +1 -1
  36. package/chunk/{CopyToClipboardComponent-DnS2qHDv.js → CopyToClipboardComponent-CI5EWk0o.js} +6 -6
  37. package/chunk/{CopyToClipboardComponent-DMUuSpCM.js.map → CopyToClipboardComponent-CI5EWk0o.js.map} +1 -1
  38. package/chunk/{CopyToClipboardComponent-DMUuSpCM.js → CopyToClipboardComponent-DyolMvdc.js} +6 -6
  39. package/chunk/{CopyToClipboardComponent-DnS2qHDv.js.map → CopyToClipboardComponent-DyolMvdc.js.map} +1 -1
  40. package/chunk/{CountryComponentWrapper-5cH6YXTK.js → CountryComponentWrapper-BrhHPoQD.js} +25 -25
  41. package/chunk/{CountryComponentWrapper-5cH6YXTK.js.map → CountryComponentWrapper-BrhHPoQD.js.map} +1 -1
  42. package/chunk/CountryComponentWrapper-HDMnK8-s.js +74 -0
  43. package/chunk/{CountryComponentWrapper-NmfwlmFA.js.map → CountryComponentWrapper-HDMnK8-s.js.map} +1 -1
  44. package/chunk/{DischargeDateComponent-DXCPG2NN.js → DischargeDateComponent-CFgYtvv6.js} +22 -22
  45. package/chunk/{DischargeDateComponent-DXCPG2NN.js.map → DischargeDateComponent-CFgYtvv6.js.map} +1 -1
  46. package/chunk/{DischargeDateComponent-kDvAcwU2.js → DischargeDateComponent-D3GK6UIu.js} +17 -17
  47. package/chunk/{DischargeDateComponent-kDvAcwU2.js.map → DischargeDateComponent-D3GK6UIu.js.map} +1 -1
  48. package/chunk/{DriverLicenseNumberComponent-DZtTp8zc.js → DriverLicenseNumberComponent-BzgEUUM2.js} +7 -7
  49. package/chunk/{DriverLicenseNumberComponent-BpY0Emv_.js.map → DriverLicenseNumberComponent-BzgEUUM2.js.map} +1 -1
  50. package/chunk/{DriverLicenseNumberComponent-BpY0Emv_.js → DriverLicenseNumberComponent-DoJspVrD.js} +7 -7
  51. package/chunk/{DriverLicenseNumberComponent-DZtTp8zc.js.map → DriverLicenseNumberComponent-DoJspVrD.js.map} +1 -1
  52. package/chunk/EmailLoopPending-Bm7vJ_QR.js +133 -0
  53. package/chunk/EmailLoopPending-Bm7vJ_QR.js.map +1 -0
  54. package/chunk/EmailLoopPending-CpMrwV1m.js +137 -0
  55. package/chunk/EmailLoopPending-CpMrwV1m.js.map +1 -0
  56. package/chunk/{ExtraMessage-Cf_jXuhg.js → ExtraMessage-BbACElsX.js} +7 -7
  57. package/chunk/{ExtraMessage-BjQEDNZp.js.map → ExtraMessage-BbACElsX.js.map} +1 -1
  58. package/chunk/{ExtraMessage-BjQEDNZp.js → ExtraMessage-C4sJr6cw.js} +7 -7
  59. package/chunk/{ExtraMessage-Cf_jXuhg.js.map → ExtraMessage-C4sJr6cw.js.map} +1 -1
  60. package/chunk/{FirstResponderOrganizationComponent-BeCWKFfA.js → FirstResponderOrganizationComponent-Bq03G6Dk.js} +8 -8
  61. package/chunk/{FirstResponderOrganizationComponent-5kCooG6X.js.map → FirstResponderOrganizationComponent-Bq03G6Dk.js.map} +1 -1
  62. package/chunk/{FirstResponderOrganizationComponent-5kCooG6X.js → FirstResponderOrganizationComponent-C7ULKSCq.js} +8 -8
  63. package/chunk/{FirstResponderOrganizationComponent-BeCWKFfA.js.map → FirstResponderOrganizationComponent-C7ULKSCq.js.map} +1 -1
  64. package/chunk/{FormFieldInputSelect-BGytnCis.js → FormFieldInputSelect-B3UZlH_H.js} +7 -7
  65. package/chunk/{FormFieldInputSelect-BGytnCis.js.map → FormFieldInputSelect-B3UZlH_H.js.map} +1 -1
  66. package/chunk/{FormFieldInputSelect-ERxtSM2k.js → FormFieldInputSelect-CnGFMROq.js} +7 -7
  67. package/chunk/{FormFieldInputSelect-ERxtSM2k.js.map → FormFieldInputSelect-CnGFMROq.js.map} +1 -1
  68. package/chunk/{FormFieldLayout-BzljWm45.js → FormFieldLayout-C-prs50D.js} +6 -6
  69. package/chunk/{FormFieldLayout-BzljWm45.js.map → FormFieldLayout-C-prs50D.js.map} +1 -1
  70. package/chunk/{FormFieldLayout-Bmwrqqid.js → FormFieldLayout-eXRaMPRB.js} +6 -6
  71. package/chunk/{FormFieldLayout-Bmwrqqid.js.map → FormFieldLayout-eXRaMPRB.js.map} +1 -1
  72. package/chunk/{FormFieldText-Cd6qEKyH.js → FormFieldText-C44FpzvF.js} +7 -7
  73. package/chunk/{FormFieldText-Cd6qEKyH.js.map → FormFieldText-C44FpzvF.js.map} +1 -1
  74. package/chunk/{FormFieldText-Dj7CbXHB.js → FormFieldText-DKDYD6O1.js} +7 -7
  75. package/chunk/{FormFieldText-Dj7CbXHB.js.map → FormFieldText-DKDYD6O1.js.map} +1 -1
  76. package/chunk/{FormFieldTypeahead-f3sCsyGd.js → FormFieldTypeahead-BSbSF1lL.js} +548 -547
  77. package/chunk/{FormFieldTypeahead-Qg03EGUM.js.map → FormFieldTypeahead-BSbSF1lL.js.map} +1 -1
  78. package/chunk/{FormFieldTypeahead-Qg03EGUM.js → FormFieldTypeahead-DmKNOVYP.js} +483 -482
  79. package/chunk/{FormFieldTypeahead-f3sCsyGd.js.map → FormFieldTypeahead-DmKNOVYP.js.map} +1 -1
  80. package/chunk/{FormFooterComponent-B5GraQki.js → FormFooterComponent-BkXmQxBf.js} +2221 -2140
  81. package/chunk/FormFooterComponent-BkXmQxBf.js.map +1 -0
  82. package/chunk/{FormFooterComponent-Cjj1N06z.js → FormFooterComponent-khRc1L5E.js} +2012 -1943
  83. package/chunk/FormFooterComponent-khRc1L5E.js.map +1 -0
  84. package/chunk/{FormSelectChoice-BYqGfG0H.js → FormSelectChoice-DJuQmzKz.js} +9 -13
  85. package/chunk/{FormSelectChoice-BYqGfG0H.js.map → FormSelectChoice-DJuQmzKz.js.map} +1 -1
  86. package/chunk/{FormSelectChoice-CwTiq1ri.js → FormSelectChoice-tC4ovQdX.js} +13 -9
  87. package/chunk/{FormSelectChoice-CwTiq1ri.js.map → FormSelectChoice-tC4ovQdX.js.map} +1 -1
  88. package/chunk/{InputText-B0p1sWvq.js → InputText-C12rmr0E.js} +7 -7
  89. package/chunk/{InputText-15VS1v4H.js.map → InputText-C12rmr0E.js.map} +1 -1
  90. package/chunk/{InputText-15VS1v4H.js → InputText-CDxD4Fcy.js} +7 -7
  91. package/chunk/{InputText-B0p1sWvq.js.map → InputText-CDxD4Fcy.js.map} +1 -1
  92. package/chunk/{LicensedProfessionalOrganizationComponent-Bh44hIRm.js → LicensedProfessionalOrganizationComponent-BZsY1scU.js} +8 -8
  93. package/chunk/{LicensedProfessionalOrganizationComponent-Bh44hIRm.js.map → LicensedProfessionalOrganizationComponent-BZsY1scU.js.map} +1 -1
  94. package/chunk/{LicensedProfessionalOrganizationComponent-CIgDgcV-.js → LicensedProfessionalOrganizationComponent-dNPXXR17.js} +8 -8
  95. package/chunk/{LicensedProfessionalOrganizationComponent-CIgDgcV-.js.map → LicensedProfessionalOrganizationComponent-dNPXXR17.js.map} +1 -1
  96. package/chunk/{LogoComponent-CTCMA59a.js → LogoComponent-Dt2sl-7K.js} +6 -6
  97. package/chunk/{LogoComponent-CTCMA59a.js.map → LogoComponent-Dt2sl-7K.js.map} +1 -1
  98. package/chunk/{LogoComponent-CXrKiNgF.js → LogoComponent-qYFfdGhk.js} +6 -6
  99. package/chunk/{LogoComponent-CXrKiNgF.js.map → LogoComponent-qYFfdGhk.js.map} +1 -1
  100. package/chunk/{LowIncomeOrganizationComponent-CeT3e_1t.js → LowIncomeOrganizationComponent-B2w-1D1s.js} +19 -15
  101. package/chunk/{LowIncomeOrganizationComponent-BFyrnocd.js.map → LowIncomeOrganizationComponent-B2w-1D1s.js.map} +1 -1
  102. package/chunk/{LowIncomeOrganizationComponent-BFyrnocd.js → LowIncomeOrganizationComponent-Z0BGp7hP.js} +12 -16
  103. package/chunk/{LowIncomeOrganizationComponent-CeT3e_1t.js.map → LowIncomeOrganizationComponent-Z0BGp7hP.js.map} +1 -1
  104. package/chunk/{MedicalProfessionalOrganizationComponent-uOzlQSJl.js → MedicalProfessionalOrganizationComponent-D-YIIZN8.js} +8 -8
  105. package/chunk/{MedicalProfessionalOrganizationComponent-DIv02ngj.js.map → MedicalProfessionalOrganizationComponent-D-YIIZN8.js.map} +1 -1
  106. package/chunk/{MedicalProfessionalOrganizationComponent-DIv02ngj.js → MedicalProfessionalOrganizationComponent-DdVYxvwO.js} +8 -8
  107. package/chunk/{MedicalProfessionalOrganizationComponent-uOzlQSJl.js.map → MedicalProfessionalOrganizationComponent-DdVYxvwO.js.map} +1 -1
  108. package/chunk/{MemberIdComponent-CptMgI3z.js → MemberIdComponent-DDa-iQtj.js} +7 -7
  109. package/chunk/{MemberIdComponent-CptMgI3z.js.map → MemberIdComponent-DDa-iQtj.js.map} +1 -1
  110. package/chunk/{MemberIdComponent-D9iQX3c1.js → MemberIdComponent-DDpGpO2e.js} +7 -7
  111. package/chunk/{MemberIdComponent-D9iQX3c1.js.map → MemberIdComponent-DDpGpO2e.js.map} +1 -1
  112. package/chunk/{MembershipOrganizationComponent-BxdQ7Dxj.js → MembershipOrganizationComponent-BEOw1H7n.js} +8 -8
  113. package/chunk/{MembershipOrganizationComponent-BxdQ7Dxj.js.map → MembershipOrganizationComponent-BEOw1H7n.js.map} +1 -1
  114. package/chunk/{MembershipOrganizationComponent-WAGr7NJ8.js → MembershipOrganizationComponent-CCCYoUe_.js} +8 -8
  115. package/chunk/{MembershipOrganizationComponent-WAGr7NJ8.js.map → MembershipOrganizationComponent-CCCYoUe_.js.map} +1 -1
  116. package/chunk/Onfido-CTCgAwnB.js +4 -4
  117. package/chunk/{PersonalInfoStepSubmitButton-BjmIuVJ1.js → PersonalInfoStepSubmitButton-C6dx95ih.js} +18 -18
  118. package/chunk/{PersonalInfoStepSubmitButton-BS-lDcpS.js.map → PersonalInfoStepSubmitButton-C6dx95ih.js.map} +1 -1
  119. package/chunk/{PersonalInfoStepSubmitButton-BS-lDcpS.js → PersonalInfoStepSubmitButton-DBVGelcX.js} +21 -21
  120. package/chunk/{PersonalInfoStepSubmitButton-BjmIuVJ1.js.map → PersonalInfoStepSubmitButton-DBVGelcX.js.map} +1 -1
  121. package/chunk/{PersonalInfoStepWrapper-BbIk3Vx2.js → PersonalInfoStepWrapper-BmHuTQIp.js} +7 -7
  122. package/chunk/{PersonalInfoStepWrapper-BbIk3Vx2.js.map → PersonalInfoStepWrapper-BmHuTQIp.js.map} +1 -1
  123. package/chunk/{PersonalInfoStepWrapper-BdmcREBy.js → PersonalInfoStepWrapper-D0IAqpda.js} +8 -8
  124. package/chunk/{PersonalInfoStepWrapper-BdmcREBy.js.map → PersonalInfoStepWrapper-D0IAqpda.js.map} +1 -1
  125. package/chunk/{PostalCodeComponent-BLKNma3I.js → PostalCodeComponent-BSNHro7-.js} +7 -7
  126. package/chunk/{PostalCodeComponent-BLKNma3I.js.map → PostalCodeComponent-BSNHro7-.js.map} +1 -1
  127. package/chunk/{PostalCodeComponent-CvmEHXss.js → PostalCodeComponent-EPa7PrEn.js} +7 -7
  128. package/chunk/{PostalCodeComponent-CvmEHXss.js.map → PostalCodeComponent-EPa7PrEn.js.map} +1 -1
  129. package/chunk/{SSN-7ZWvh6Fl.js → SSN-BTH_HKwP.js} +8 -8
  130. package/chunk/{SSN-7ZWvh6Fl.js.map → SSN-BTH_HKwP.js.map} +1 -1
  131. package/chunk/{SSN-D4L9dF07.js → SSN-CoqeSJiv.js} +8 -8
  132. package/chunk/{SSN-D4L9dF07.js.map → SSN-CoqeSJiv.js.map} +1 -1
  133. package/chunk/{StateSelectComponent-CIPdo6OL.js → StateSelectComponent-CsMhYr5S.js} +6 -6
  134. package/chunk/{StateSelectComponent-2ZrqKNnd.js.map → StateSelectComponent-CsMhYr5S.js.map} +1 -1
  135. package/chunk/{StateSelectComponent-2ZrqKNnd.js → StateSelectComponent-D3JOWUan.js} +6 -6
  136. package/chunk/{StateSelectComponent-CIPdo6OL.js.map → StateSelectComponent-D3JOWUan.js.map} +1 -1
  137. package/chunk/{StatusComponent-Be-kNy-2.js → StatusComponent-BV3O5IFV.js} +8 -8
  138. package/chunk/{StatusComponent-Be-kNy-2.js.map → StatusComponent-BV3O5IFV.js.map} +1 -1
  139. package/chunk/{StatusComponent-lWYpHXI5.js → StatusComponent-CZMNhzFo.js} +8 -8
  140. package/chunk/{StatusComponent-lWYpHXI5.js.map → StatusComponent-CZMNhzFo.js.map} +1 -1
  141. package/chunk/{StepActiveMilitaryPersonalInfoComponent-KkWaNIkx.js → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js} +52 -48
  142. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DBe3v9gn.js.map → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js.map} +1 -1
  143. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DBe3v9gn.js → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js} +22 -26
  144. package/chunk/{StepActiveMilitaryPersonalInfoComponent-KkWaNIkx.js.map → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js.map} +1 -1
  145. package/chunk/{StepAgePersonalInfo-BhvhM0Qc.js → StepAgePersonalInfo-7J8X1jpZ.js} +41 -41
  146. package/chunk/{StepAgePersonalInfo-BhvhM0Qc.js.map → StepAgePersonalInfo-7J8X1jpZ.js.map} +1 -1
  147. package/chunk/{StepAgePersonalInfo-yyCGLpxY.js → StepAgePersonalInfo-CdgtxCTX.js} +42 -42
  148. package/chunk/{StepAgePersonalInfo-yyCGLpxY.js.map → StepAgePersonalInfo-CdgtxCTX.js.map} +1 -1
  149. package/chunk/{StepCard-42EsVjXX.js → StepCard-B-nYcoAX.js} +5 -5
  150. package/chunk/{StepCard-42EsVjXX.js.map → StepCard-B-nYcoAX.js.map} +1 -1
  151. package/chunk/{StepCard-Bp2KEF4j.js → StepCard-DXyV0Wj4.js} +5 -5
  152. package/chunk/{StepCard-Bp2KEF4j.js.map → StepCard-DXyV0Wj4.js.map} +1 -1
  153. package/chunk/{StepCollectIdentifier-BfsiGjxy.js → StepCollectIdentifier-BGN4P47k.js} +13 -13
  154. package/chunk/{StepCollectIdentifier-BfsiGjxy.js.map → StepCollectIdentifier-BGN4P47k.js.map} +1 -1
  155. package/chunk/{StepCollectIdentifier-CL3M2ylz.js → StepCollectIdentifier-DNIMAHOm.js} +9 -9
  156. package/chunk/{StepCollectIdentifier-CL3M2ylz.js.map → StepCollectIdentifier-DNIMAHOm.js.map} +1 -1
  157. package/chunk/StepCollectMilitaryStatusComponent-02pN7KWp.js +9 -0
  158. package/chunk/{StepCollectMilitaryStatusComponent-BkJqLpHn.js → StepCollectMilitaryStatusComponent-A0b6sTsC.js} +5 -5
  159. package/chunk/{StepCollectPersonalInfo-D5Fs34Ny.js → StepCollectPersonalInfo-DSYGRZsu.js} +80 -80
  160. package/chunk/{StepCollectPersonalInfo-D6eSY_w8.js.map → StepCollectPersonalInfo-DSYGRZsu.js.map} +1 -1
  161. package/chunk/{StepCollectPersonalInfo-D6eSY_w8.js → StepCollectPersonalInfo-Dnp2yK42.js} +83 -83
  162. package/chunk/{StepCollectPersonalInfo-D5Fs34Ny.js.map → StepCollectPersonalInfo-Dnp2yK42.js.map} +1 -1
  163. package/chunk/{StepCompleteAuthentication-ZqAH64xm.js → StepCompleteAuthentication-COpZ5w8i.js} +46 -45
  164. package/chunk/StepCompleteAuthentication-COpZ5w8i.js.map +1 -0
  165. package/chunk/{StepCompleteAuthentication-B5kvuKWH.js → StepCompleteAuthentication-CWDsVUrM.js} +46 -45
  166. package/chunk/StepCompleteAuthentication-CWDsVUrM.js.map +1 -0
  167. package/chunk/{StepConsolation-DMvLMVkh.js → StepConsolation-CWZOfBEr.js} +9 -9
  168. package/chunk/{StepConsolation-Bsk_fLwi.js.map → StepConsolation-CWZOfBEr.js.map} +1 -1
  169. package/chunk/{StepConsolation-Bsk_fLwi.js → StepConsolation-DISoSIlj.js} +9 -9
  170. package/chunk/{StepConsolation-DMvLMVkh.js.map → StepConsolation-DISoSIlj.js.map} +1 -1
  171. package/chunk/{StepDocUpload-DSpodLC9.js → StepDocUpload-BDm37Fq1.js} +272 -268
  172. package/chunk/{StepDocUpload-DSpodLC9.js.map → StepDocUpload-BDm37Fq1.js.map} +1 -1
  173. package/chunk/{StepDocUpload-BtRS8S-x.js → StepDocUpload-ETxR-vzb.js} +238 -242
  174. package/chunk/{StepDocUpload-BtRS8S-x.js.map → StepDocUpload-ETxR-vzb.js.map} +1 -1
  175. package/chunk/{StepDriverLicensePersonalInfoComponent-BJwEr-7A.js → StepDriverLicensePersonalInfoComponent-CBOl141P.js} +37 -33
  176. package/chunk/{StepDriverLicensePersonalInfoComponent-BJwEr-7A.js.map → StepDriverLicensePersonalInfoComponent-CBOl141P.js.map} +1 -1
  177. package/chunk/{StepDriverLicensePersonalInfoComponent-Dhsw3bkZ.js → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js} +16 -20
  178. package/chunk/{StepDriverLicensePersonalInfoComponent-Dhsw3bkZ.js.map → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js.map} +1 -1
  179. package/chunk/{StepEmailLoop-CRbDel8p.js → StepEmailLoop-66eXFv6H.js} +52 -51
  180. package/chunk/StepEmailLoop-66eXFv6H.js.map +1 -0
  181. package/chunk/{StepEmailLoop-CLdfvPXB.js → StepEmailLoop-DQiSiwAG.js} +51 -50
  182. package/chunk/StepEmailLoop-DQiSiwAG.js.map +1 -0
  183. package/chunk/{StepEmploymentPersonalInfo-DPJ0UMrJ.js → StepEmploymentPersonalInfo-CKeI3whS.js} +19 -23
  184. package/chunk/{StepEmploymentPersonalInfo-DPJ0UMrJ.js.map → StepEmploymentPersonalInfo-CKeI3whS.js.map} +1 -1
  185. package/chunk/{StepEmploymentPersonalInfo-urokkAjm.js → StepEmploymentPersonalInfo-gKRvI5TZ.js} +49 -45
  186. package/chunk/{StepEmploymentPersonalInfo-urokkAjm.js.map → StepEmploymentPersonalInfo-gKRvI5TZ.js.map} +1 -1
  187. package/chunk/{StepFirstResponderPersonalInfo-ThcHSwW0.js → StepFirstResponderPersonalInfo-B42FfPMz.js} +35 -39
  188. package/chunk/{StepFirstResponderPersonalInfo-BvK0QXPZ.js.map → StepFirstResponderPersonalInfo-B42FfPMz.js.map} +1 -1
  189. package/chunk/{StepFirstResponderPersonalInfo-BvK0QXPZ.js → StepFirstResponderPersonalInfo-B8DN_Q06.js} +57 -53
  190. package/chunk/{StepFirstResponderPersonalInfo-ThcHSwW0.js.map → StepFirstResponderPersonalInfo-B8DN_Q06.js.map} +1 -1
  191. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CDNQr2j2.js → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js} +46 -42
  192. package/chunk/{StepGeneralIdentityPersonalInfoComponent-aDUUPfUK.js.map → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js.map} +1 -1
  193. package/chunk/{StepGeneralIdentityPersonalInfoComponent-aDUUPfUK.js → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js} +19 -23
  194. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CDNQr2j2.js.map → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js.map} +1 -1
  195. package/chunk/{StepHybridIdentityPersonalInfoComponent-deShTQld.js → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js} +49 -45
  196. package/chunk/{StepHybridIdentityPersonalInfoComponent-Cz7NMFyK.js.map → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js.map} +1 -1
  197. package/chunk/{StepHybridIdentityPersonalInfoComponent-Cz7NMFyK.js → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js} +20 -24
  198. package/chunk/{StepHybridIdentityPersonalInfoComponent-deShTQld.js.map → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js.map} +1 -1
  199. package/chunk/{StepIDCheckLoop-Bc69OZrr.js → StepIDCheckLoop-DKQFGeYF.js} +9 -9
  200. package/chunk/{StepIDCheckLoop-Bc69OZrr.js.map → StepIDCheckLoop-DKQFGeYF.js.map} +1 -1
  201. package/chunk/{StepIDCheckLoop-qQM2ppOK.js → StepIDCheckLoop-DzY5dNGP.js} +9 -9
  202. package/chunk/{StepIDCheckLoop-qQM2ppOK.js.map → StepIDCheckLoop-DzY5dNGP.js.map} +1 -1
  203. package/chunk/{StepIDCheckLoopOnfido-CYiSsYZC.js → StepIDCheckLoopOnfido-Cch_5u12.js} +39 -39
  204. package/chunk/{StepIDCheckLoopOnfido-_Y2Yl8H4.js.map → StepIDCheckLoopOnfido-Cch_5u12.js.map} +1 -1
  205. package/chunk/{StepIDCheckLoopOnfido-_Y2Yl8H4.js → StepIDCheckLoopOnfido-Dx2ATNUg.js} +38 -38
  206. package/chunk/{StepIDCheckLoopOnfido-CYiSsYZC.js.map → StepIDCheckLoopOnfido-Dx2ATNUg.js.map} +1 -1
  207. package/chunk/{StepIDCheckLoopRegula-CjeAqwHh.js → StepIDCheckLoopRegula-BTQfpfOM.js} +21 -17
  208. package/chunk/{StepIDCheckLoopRegula-CjeAqwHh.js.map → StepIDCheckLoopRegula-BTQfpfOM.js.map} +1 -1
  209. package/chunk/{StepIDCheckLoopRegula-KS_bH-2k.js → StepIDCheckLoopRegula-DdWBTpVn.js} +24 -28
  210. package/chunk/{StepIDCheckLoopRegula-KS_bH-2k.js.map → StepIDCheckLoopRegula-DdWBTpVn.js.map} +1 -1
  211. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CUyp2gOH.js → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js} +69 -65
  212. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CUyp2gOH.js.map → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js.map} +1 -1
  213. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CwEps3yq.js → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js} +36 -40
  214. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CwEps3yq.js.map → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js.map} +1 -1
  215. package/chunk/{StepLicensedProfessionalPersonalInfo-Ckl7LuJd.js → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js} +42 -38
  216. package/chunk/{StepLicensedProfessionalPersonalInfo-BrUYM89F.js.map → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js.map} +1 -1
  217. package/chunk/{StepLicensedProfessionalPersonalInfo-BrUYM89F.js → StepLicensedProfessionalPersonalInfo-DKMUW049.js} +18 -22
  218. package/chunk/{StepLicensedProfessionalPersonalInfo-Ckl7LuJd.js.map → StepLicensedProfessionalPersonalInfo-DKMUW049.js.map} +1 -1
  219. package/chunk/{StepLowIncomePersonalInfo-Bn1TGxr5.js → StepLowIncomePersonalInfo-D9O8Uor2.js} +68 -64
  220. package/chunk/{StepLowIncomePersonalInfo-Bn1TGxr5.js.map → StepLowIncomePersonalInfo-D9O8Uor2.js.map} +1 -1
  221. package/chunk/{StepLowIncomePersonalInfo-C3A_oITZ.js → StepLowIncomePersonalInfo-QFuvGE-L.js} +28 -32
  222. package/chunk/{StepLowIncomePersonalInfo-C3A_oITZ.js.map → StepLowIncomePersonalInfo-QFuvGE-L.js.map} +1 -1
  223. package/chunk/{StepMedicalProfessionalPersonalInfo-Bny4aBGH.js → StepMedicalProfessionalPersonalInfo-CbmolcMH.js} +51 -47
  224. package/chunk/{StepMedicalProfessionalPersonalInfo-Bny4aBGH.js.map → StepMedicalProfessionalPersonalInfo-CbmolcMH.js.map} +1 -1
  225. package/chunk/{StepMedicalProfessionalPersonalInfo-bEmltLO0.js → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js} +25 -29
  226. package/chunk/{StepMedicalProfessionalPersonalInfo-bEmltLO0.js.map → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js.map} +1 -1
  227. package/chunk/{StepMemberPersonalInfo-ByHX0gaS.js → StepMemberPersonalInfo-CVOzYqMw.js} +37 -37
  228. package/chunk/{StepMemberPersonalInfo-wwAzUKPQ.js.map → StepMemberPersonalInfo-CVOzYqMw.js.map} +1 -1
  229. package/chunk/{StepMemberPersonalInfo-wwAzUKPQ.js → StepMemberPersonalInfo-DvmSqX4n.js} +27 -27
  230. package/chunk/{StepMemberPersonalInfo-ByHX0gaS.js.map → StepMemberPersonalInfo-DvmSqX4n.js.map} +1 -1
  231. package/chunk/{StepMoverPersonalInfo-CUbmmXDG.js → StepMoverPersonalInfo-ADq4X93i.js} +23 -23
  232. package/chunk/{StepMoverPersonalInfo-B1SbMnni.js.map → StepMoverPersonalInfo-ADq4X93i.js.map} +1 -1
  233. package/chunk/{StepMoverPersonalInfo-B1SbMnni.js → StepMoverPersonalInfo-u06pbtdj.js} +24 -24
  234. package/chunk/{StepMoverPersonalInfo-CUbmmXDG.js.map → StepMoverPersonalInfo-u06pbtdj.js.map} +1 -1
  235. package/chunk/{StepOverrideComponent-Brq5KLjj.js → StepOverrideComponent-CPTcGV0Y.js} +41 -41
  236. package/chunk/StepOverrideComponent-CPTcGV0Y.js.map +1 -0
  237. package/chunk/{StepOverrideComponent-DbVmCfo8.js → StepOverrideComponent-DrnSMis1.js} +41 -41
  238. package/chunk/StepOverrideComponent-DrnSMis1.js.map +1 -0
  239. package/chunk/{StepSMSLoop-DLc0yIT_.js → StepSMSLoop-BeJD_bwf.js} +16 -16
  240. package/chunk/{StepSMSLoop-BETiez1v.js.map → StepSMSLoop-BeJD_bwf.js.map} +1 -1
  241. package/chunk/{StepSMSLoop-BETiez1v.js → StepSMSLoop-WBuEgD6l.js} +16 -16
  242. package/chunk/{StepSMSLoop-DLc0yIT_.js.map → StepSMSLoop-WBuEgD6l.js.map} +1 -1
  243. package/chunk/{StepSSO-BaFk7RFJ.js → StepSSO-Bp-M6Mod.js} +5 -5
  244. package/chunk/StepSSO-DfPU73JX.js +9 -0
  245. package/chunk/{StepSocialSecurityNumber-Bpo4fPf6.js → StepSocialSecurityNumber-CxmDZ_yz.js} +19 -19
  246. package/chunk/{StepSocialSecurityNumber-BdnDRRc3.js.map → StepSocialSecurityNumber-CxmDZ_yz.js.map} +1 -1
  247. package/chunk/{StepSocialSecurityNumber-BdnDRRc3.js → StepSocialSecurityNumber-DR2_1m3S.js} +17 -17
  248. package/chunk/{StepSocialSecurityNumber-Bpo4fPf6.js.map → StepSocialSecurityNumber-DR2_1m3S.js.map} +1 -1
  249. package/chunk/{StepStudentPersonalInfo-C6vglquS.js → StepStudentPersonalInfo-C27MhV1r.js} +44 -43
  250. package/chunk/{StepStudentPersonalInfo-C6vglquS.js.map → StepStudentPersonalInfo-C27MhV1r.js.map} +1 -1
  251. package/chunk/{StepStudentPersonalInfo-DBBWOcEx.js → StepStudentPersonalInfo-Cw-DUf5K.js} +66 -65
  252. package/chunk/{StepStudentPersonalInfo-DBBWOcEx.js.map → StepStudentPersonalInfo-Cw-DUf5K.js.map} +1 -1
  253. package/chunk/{StepSuccess-C51_tEas.js → StepSuccess-BFG2uFAo.js} +86 -89
  254. package/chunk/StepSuccess-BFG2uFAo.js.map +1 -0
  255. package/chunk/{StepSuccess-CErDLjZO.js → StepSuccess-DjqHe3hp.js} +92 -87
  256. package/chunk/StepSuccess-DjqHe3hp.js.map +1 -0
  257. package/chunk/{StepTeacherPersonalInfo-BUw1PXZ1.js → StepTeacherPersonalInfo-DMMFjHnf.js} +36 -36
  258. package/chunk/{StepTeacherPersonalInfo-BUw1PXZ1.js.map → StepTeacherPersonalInfo-DMMFjHnf.js.map} +1 -1
  259. package/chunk/{StepTeacherPersonalInfo-C_pDLBTF.js → StepTeacherPersonalInfo-j1D03USI.js} +28 -28
  260. package/chunk/{StepTeacherPersonalInfo-C_pDLBTF.js.map → StepTeacherPersonalInfo-j1D03USI.js.map} +1 -1
  261. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +9 -0
  262. package/chunk/{StepThirdPartyLoop-BGHCbduX.js → StepThirdPartyLoop-CbFTIlwP.js} +5 -5
  263. package/chunk/{TeacherSchoolComponent-DTOJqI0k.js → TeacherSchoolComponent-CiMvlnGq.js} +9 -9
  264. package/chunk/{TeacherSchoolComponent-CH5QkYRm.js.map → TeacherSchoolComponent-CiMvlnGq.js.map} +1 -1
  265. package/chunk/{TeacherSchoolComponent-CH5QkYRm.js → TeacherSchoolComponent-DsUzj_xt.js} +9 -9
  266. package/chunk/{TeacherSchoolComponent-DTOJqI0k.js.map → TeacherSchoolComponent-DsUzj_xt.js.map} +1 -1
  267. package/chunk/TestingRouteOverrides-C6_6elEq.js +77 -0
  268. package/chunk/{TestingRouteOverrides-BQzBlUms.js.map → TestingRouteOverrides-C6_6elEq.js.map} +1 -1
  269. package/chunk/TestingRouteOverrides-DHL_cusu.js +81 -0
  270. package/chunk/{TestingRouteOverrides-Dw6GXQ6-.js.map → TestingRouteOverrides-DHL_cusu.js.map} +1 -1
  271. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  272. package/chunk/{VerificationApiClient-DWnRRNnT.js → VerificationApiClient-1OjLrKjE.js} +76 -76
  273. package/chunk/{VerificationApiClient-DWnRRNnT.js.map → VerificationApiClient-1OjLrKjE.js.map} +1 -1
  274. package/chunk/{VerificationApiClient-BsLwbdz4.js → VerificationApiClient-PLVc1WDR.js} +142 -142
  275. package/chunk/{VerificationApiClient-BsLwbdz4.js.map → VerificationApiClient-PLVc1WDR.js.map} +1 -1
  276. package/chunk/{VerificationApiUtils-DDWkS3br.js → VerificationApiUtils-CbPWShkM.js} +7 -7
  277. package/chunk/{VerificationApiUtils-B4YmzpPS.js.map → VerificationApiUtils-CbPWShkM.js.map} +1 -1
  278. package/chunk/{VerificationApiUtils-B4YmzpPS.js → VerificationApiUtils-DnXcSPRj.js} +7 -7
  279. package/chunk/{VerificationApiUtils-DDWkS3br.js.map → VerificationApiUtils-DnXcSPRj.js.map} +1 -1
  280. package/chunk/ar-CZrVPqvf.js +4 -4
  281. package/chunk/bg-Cj9u62RW.js +4 -4
  282. package/chunk/bn-IN-AX8JdjQ8.js +4 -4
  283. package/chunk/countryUtils-CAW7TO02.js +12 -0
  284. package/chunk/{countryUtils-B0gQRrDx.js.map → countryUtils-CAW7TO02.js.map} +1 -1
  285. package/chunk/{countryUtils-CLqT0spr.js → countryUtils-CV_Lr16_.js} +5 -5
  286. package/chunk/{countryUtils-CLqT0spr.js.map → countryUtils-CV_Lr16_.js.map} +1 -1
  287. package/chunk/cs-5rrzGv7_.js +4 -4
  288. package/chunk/da-DMDlBT-5.js +4 -4
  289. package/chunk/de-DG-q-l7o.js +4 -4
  290. package/chunk/{downshift.esm-DECZgbjH.js → downshift.esm-BaiLtXU1.js} +122 -122
  291. package/chunk/{downshift.esm-3U7ccZMr.js.map → downshift.esm-BaiLtXU1.js.map} +1 -1
  292. package/chunk/{downshift.esm-3U7ccZMr.js → downshift.esm-DG33Aw1V.js} +43 -43
  293. package/chunk/{downshift.esm-DECZgbjH.js.map → downshift.esm-DG33Aw1V.js.map} +1 -1
  294. package/chunk/el-yctEkMhE.js +4 -4
  295. package/chunk/{empties-DXsucFOV.js → empties-CuuBn0bi.js} +5 -5
  296. package/chunk/{empties-DXsucFOV.js.map → empties-CuuBn0bi.js.map} +1 -1
  297. package/chunk/{empties-GdeHHk2b.js → empties-NTFzwSRR.js} +49 -49
  298. package/chunk/{empties-GdeHHk2b.js.map → empties-NTFzwSRR.js.map} +1 -1
  299. package/chunk/en-GB-6LZCsn1D.js +4 -4
  300. package/chunk/es-BMeF1R04.js +4 -4
  301. package/chunk/es-ES-CsFb7QAU.js +4 -4
  302. package/chunk/et-CiZKWMRu.js +4 -4
  303. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  304. package/chunk/fa-D9V3MCMh.js +4 -4
  305. package/chunk/fi-poKCN0AL.js +4 -4
  306. package/chunk/fr-BiSjb5hG.js +4 -4
  307. package/chunk/fr-CA-zBX3D7Nl.js +4 -4
  308. package/chunk/ga-jC99p6r7.js +4 -4
  309. package/chunk/hi-IN-C_1AZftT.js +4 -4
  310. package/chunk/hooks-ClexZCWs.js +2888 -0
  311. package/chunk/hooks-ClexZCWs.js.map +1 -0
  312. package/chunk/hooks-DqGWdJ7N.js +2892 -0
  313. package/chunk/hooks-DqGWdJ7N.js.map +1 -0
  314. package/chunk/hr-abbR52XG.js +4 -4
  315. package/chunk/hu-CeZoihsr.js +4 -4
  316. package/chunk/id-wFLT8G20.js +4 -4
  317. package/chunk/{intl-B461eGlU.js → intl-CuZpjbF2.js} +409 -401
  318. package/chunk/intl-CuZpjbF2.js.map +1 -0
  319. package/chunk/is-sc_8Dmxx.js +4 -4
  320. package/chunk/it-Mhw_31wt.js +4 -4
  321. package/chunk/iw-BfqjzsAq.js +4 -4
  322. package/chunk/ja-Bdvw5s91.js +4 -4
  323. package/chunk/{jsx-runtime-CeRrwqti.js → jsx-runtime-B29HBOo1.js} +5 -5
  324. package/chunk/{jsx-runtime-KEs0wOl5.js.map → jsx-runtime-B29HBOo1.js.map} +1 -1
  325. package/chunk/{jsx-runtime-KEs0wOl5.js → jsx-runtime-Br-ldzo0.js} +5 -5
  326. package/chunk/{jsx-runtime-CeRrwqti.js.map → jsx-runtime-Br-ldzo0.js.map} +1 -1
  327. package/chunk/kk-mHV9A9HS.js +4 -4
  328. package/chunk/ko-C7nyKdTs.js +4 -4
  329. package/chunk/lo-baNG1foB.js +4 -4
  330. package/chunk/lt-CNU2L7fK.js +4 -4
  331. package/chunk/lv-bP-HuAKS.js +4 -4
  332. package/chunk/{militaryStepHelpers-CT2x_HCE.js → militaryStepHelpers-BlzQcNHu.js} +5 -5
  333. package/chunk/{militaryStepHelpers-BeN98TAk.js.map → militaryStepHelpers-BlzQcNHu.js.map} +1 -1
  334. package/chunk/{militaryStepHelpers-BeN98TAk.js → militaryStepHelpers-COmBnCcw.js} +5 -5
  335. package/chunk/{militaryStepHelpers-CT2x_HCE.js.map → militaryStepHelpers-COmBnCcw.js.map} +1 -1
  336. package/chunk/{mocks-CmzyO_3E.js → mocks-BlLp3eOz.js} +9 -9
  337. package/chunk/{mocks-3VPL7XDa.js.map → mocks-BlLp3eOz.js.map} +1 -1
  338. package/chunk/{mocks-3VPL7XDa.js → mocks-CuPTVtpf.js} +9 -9
  339. package/chunk/{mocks-CmzyO_3E.js.map → mocks-CuPTVtpf.js.map} +1 -1
  340. package/chunk/ms-Bg8aDCAA.js +4 -4
  341. package/chunk/nl-BE-Ct8zP0W1.js +4 -4
  342. package/chunk/nl-CbfjSfKQ.js +4 -4
  343. package/chunk/no-DjDW2Ec_.js +4 -4
  344. package/chunk/{options-PkP3zQGm.js → options-BqxY1ri6.js} +394 -386
  345. package/chunk/{options-PkP3zQGm.js.map → options-BqxY1ri6.js.map} +1 -1
  346. package/chunk/pl--DnD-6qz.js +4 -4
  347. package/chunk/programThemeGetters-BKJAvlOG.js +165 -0
  348. package/chunk/{programThemeGetters-DSFEiKNU.js.map → programThemeGetters-BKJAvlOG.js.map} +1 -1
  349. package/chunk/{programThemeGetters-LYR56E0U.js → programThemeGetters-f9o96pYi.js} +18 -18
  350. package/chunk/{programThemeGetters-LYR56E0U.js.map → programThemeGetters-f9o96pYi.js.map} +1 -1
  351. package/chunk/pt-BR-B02CJDXT.js +4 -4
  352. package/chunk/pt-CcmRJnZb.js +4 -4
  353. package/chunk/{refs-xcOEsQO3.js → refs-B-c--SWS.js} +5 -5
  354. package/chunk/{refs-V7YziA0C.js.map → refs-B-c--SWS.js.map} +1 -1
  355. package/chunk/{refs-V7YziA0C.js → refs-CWwQlqJe.js} +5 -5
  356. package/chunk/{refs-xcOEsQO3.js.map → refs-CWwQlqJe.js.map} +1 -1
  357. package/chunk/ro-CLdi0jqR.js +4 -4
  358. package/chunk/ru-Z91NV1Cr.js +4 -4
  359. package/chunk/sk-B7rRmmv6.js +4 -4
  360. package/chunk/sl-DhAq6T_a.js +4 -4
  361. package/chunk/sr-DpP50d7v.js +4 -4
  362. package/chunk/strings-DWLVdUcm.js +4 -4
  363. package/chunk/sv-QG7LEZNd.js +4 -4
  364. package/chunk/sw--WAxwRTW.js +4 -4
  365. package/chunk/ta-DRF7u30N.js +4 -4
  366. package/chunk/th-BoK35Z2N.js +4 -4
  367. package/chunk/tl-BDTwfyaC.js +4 -4
  368. package/chunk/tr-BoXGTv5p.js +4 -4
  369. package/chunk/uk-AXN3c9FX.js +4 -4
  370. package/chunk/ur-D5Nqe4mS.js +4 -4
  371. package/chunk/{useCollectFieldsEndpoint-VPw0kC1j.js → useCollectFieldsEndpoint-ChTjhl6c.js} +12 -12
  372. package/chunk/{useCollectFieldsEndpoint-CmhsVIvE.js.map → useCollectFieldsEndpoint-ChTjhl6c.js.map} +1 -1
  373. package/chunk/{useCollectFieldsEndpoint-CmhsVIvE.js → useCollectFieldsEndpoint-CqGDsmUW.js} +11 -11
  374. package/chunk/{useCollectFieldsEndpoint-VPw0kC1j.js.map → useCollectFieldsEndpoint-CqGDsmUW.js.map} +1 -1
  375. package/chunk/{useMetrics-C13BbDWa.js → useMetrics-BIJ6jLMV.js} +7 -11
  376. package/chunk/{useMetrics-C13BbDWa.js.map → useMetrics-BIJ6jLMV.js.map} +1 -1
  377. package/chunk/{useMetrics-ntewhX51.js → useMetrics-DWYTjtqD.js} +11 -7
  378. package/chunk/{useMetrics-ntewhX51.js.map → useMetrics-DWYTjtqD.js.map} +1 -1
  379. package/chunk/vi-BE4aMeLo.js +4 -4
  380. package/chunk/zh-CUzsIz8M.js +4 -4
  381. package/chunk/zh-HK-BTCqwQOw.js +4 -4
  382. package/chunk/zu-ChHTiO3Y.js +4 -4
  383. package/package.json +3 -2
  384. package/sheerid-install.css +4 -4
  385. package/sheerid-install.js +4 -4
  386. package/sheerid.css +4 -4
  387. package/sheerid.js +1456 -3846
  388. package/sheerid.js.map +1 -1
  389. package/chunk/CountryComponentWrapper-NmfwlmFA.js +0 -74
  390. package/chunk/EmailLoopPending-CqkK5rZw.js +0 -136
  391. package/chunk/EmailLoopPending-CqkK5rZw.js.map +0 -1
  392. package/chunk/EmailLoopPending-WlbBU74F.js +0 -132
  393. package/chunk/EmailLoopPending-WlbBU74F.js.map +0 -1
  394. package/chunk/FormFooterComponent-B5GraQki.js.map +0 -1
  395. package/chunk/FormFooterComponent-Cjj1N06z.js.map +0 -1
  396. package/chunk/StepCollectMilitaryStatusComponent-BtbLeQMg.js +0 -9
  397. package/chunk/StepCompleteAuthentication-B5kvuKWH.js.map +0 -1
  398. package/chunk/StepCompleteAuthentication-ZqAH64xm.js.map +0 -1
  399. package/chunk/StepEmailLoop-CLdfvPXB.js.map +0 -1
  400. package/chunk/StepEmailLoop-CRbDel8p.js.map +0 -1
  401. package/chunk/StepOverrideComponent-Brq5KLjj.js.map +0 -1
  402. package/chunk/StepOverrideComponent-DbVmCfo8.js.map +0 -1
  403. package/chunk/StepSSO-BRFhNvkp.js +0 -9
  404. package/chunk/StepSuccess-C51_tEas.js.map +0 -1
  405. package/chunk/StepSuccess-CErDLjZO.js.map +0 -1
  406. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +0 -9
  407. package/chunk/TestingRouteOverrides-BQzBlUms.js +0 -77
  408. package/chunk/TestingRouteOverrides-Dw6GXQ6-.js +0 -81
  409. package/chunk/countryUtils-B0gQRrDx.js +0 -12
  410. package/chunk/intl-B461eGlU.js.map +0 -1
  411. package/chunk/programThemeGetters-DSFEiKNU.js +0 -165
  412. package/chunk/validators-BIcHHTv2.js +0 -474
  413. package/chunk/validators-BIcHHTv2.js.map +0 -1
  414. package/chunk/validators-CWveyjFm.js +0 -470
  415. package/chunk/validators-CWveyjFm.js.map +0 -1
@@ -1,44 +1,48 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.262.0
4
- * BUILD_TIMESTAMP: 1785450406075
5
- * BUILD_DATE: Thu Jul 30 2026 22:26:46 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 68821addc264679ff62b3fd4a999222f4aba0b42
3
+ * WARNING: This file is intended to be used within MySheerID.
4
+ * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
+ */
6
+ /**
7
+ * VERSION: 2.264.0
8
+ * BUILD_TIMESTAMP: 1785521582792
9
+ * BUILD_DATE: Fri Jul 31 2026 18:13:02 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
7
11
  */
8
- import { Gt as e, It as t, Vt as n, c as r, n as i, wt as a } from "./options-PkP3zQGm.js";
9
- import { a as o, c as s, n as c, t as l } from "./jsx-runtime-CeRrwqti.js";
10
- import { x as u } from "./FormFooterComponent-Cjj1N06z.js";
11
- import { a as d } from "./refs-V7YziA0C.js";
12
- import { G as f, I as p, K as m, L as h, V as g, et as _, r as v, tt as y } from "../sheerid.js";
13
- import { t as b } from "./VerificationApiUtils-DDWkS3br.js";
14
- import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-BdltUs-q.js";
15
- import { n as D, t as O } from "./PersonalInfoStepSubmitButton-BS-lDcpS.js";
16
- import { t as k } from "./BirthDateComponent-DRjYSB1_.js";
17
- import { t as A } from "./PostalCodeComponent-BLKNma3I.js";
18
- import { t as j } from "./CountryComponentWrapper-NmfwlmFA.js";
19
- import { t as M } from "./City-C7052kY5.js";
20
- import { t as N } from "./AddressComponent-CL1CDsWz.js";
21
- import { t as P } from "./ExtraMessage-Cf_jXuhg.js";
22
- import { t as F } from "./ChangeLocaleComponent-DrY1Xz8z.js";
23
- import { t as I } from "./PersonalInfoStepWrapper-BbIk3Vx2.js";
24
- import { t as L } from "./StateSelectComponent-2ZrqKNnd.js";
25
- import { n as R, r as z, t as B } from "./DischargeDateComponent-kDvAcwU2.js";
26
- import { t as V } from "./StatusComponent-lWYpHXI5.js";
27
- import { t as H } from "./militaryStepHelpers-BeN98TAk.js";
12
+ import { Ct as e, Ft as t, Kt as n, Vt as r, p as i, s as a } from "./intl-CuZpjbF2.js";
13
+ import { a as o, c as s, n as c, t as l } from "./jsx-runtime-Br-ldzo0.js";
14
+ import { D as u } from "./FormFooterComponent-BkXmQxBf.js";
15
+ import { a as d } from "./refs-B-c--SWS.js";
16
+ import { $ as f, F as p, P as m, Q as h, U as g, W as _, t as v, z as y } from "../_mysheerid-preview.js";
17
+ import { t as b } from "./VerificationApiUtils-DnXcSPRj.js";
18
+ import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-Bo6-PXzj.js";
19
+ import { n as D, t as O } from "./PersonalInfoStepSubmitButton-C6dx95ih.js";
20
+ import { t as k } from "./BirthDateComponent-mw3tGfO1.js";
21
+ import { t as A } from "./PostalCodeComponent-EPa7PrEn.js";
22
+ import { t as j } from "./CountryComponentWrapper-BrhHPoQD.js";
23
+ import { t as M } from "./City-BiuOEuRx.js";
24
+ import { t as N } from "./AddressComponent-BcUOtiOW.js";
25
+ import { t as P } from "./ExtraMessage-C4sJr6cw.js";
26
+ import { t as F } from "./ChangeLocaleComponent-C1vybPVc.js";
27
+ import { t as I } from "./PersonalInfoStepWrapper-D0IAqpda.js";
28
+ import { t as L } from "./StateSelectComponent-CsMhYr5S.js";
29
+ import { n as R, r as z, t as B } from "./DischargeDateComponent-CFgYtvv6.js";
30
+ import { t as V } from "./StatusComponent-BV3O5IFV.js";
31
+ import { t as H } from "./militaryStepHelpers-BlzQcNHu.js";
28
32
  //#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
29
- var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService: o }) => {
30
- let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = p(o, e), Z = s.localeChoice.value, Q = i(), $ = (e, t) => {
33
+ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService: o }) => {
34
+ let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = m(o, n), Z = s.localeChoice.value, Q = a(), $ = (e, t) => {
31
35
  o.updateViewModel(H(e, t, o, X));
32
36
  };
33
37
  return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
34
- let e = r(s, () => {});
35
- n.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, e, o.previousVerificationResponse || o.verificationResponse);
38
+ let e = i(s, () => {});
39
+ r.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, e, o.previousVerificationResponse || o.verificationResponse);
36
40
  })(), U.useEffect(() => {
37
41
  (async () => {
38
42
  if (o.verificationResponse.currentStep === t.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
39
43
  Y((await b(K.verificationId, t.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
40
44
  } catch (e) {
41
- n.error(`Failed to determine fields to collect: ${e}`, t.collectInactiveMilitaryPersonalInfo);
45
+ r.error(`Failed to determine fields to collect: ${e}`, t.collectInactiveMilitaryPersonalInfo);
42
46
  }
43
47
  })();
44
48
  }, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
@@ -54,49 +58,49 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
54
58
  /* @__PURE__ */ (0, W.jsx)(F, { verificationService: o }),
55
59
  /* @__PURE__ */ (0, W.jsx)(j, {
56
60
  verificationService: o,
57
- disabled: g("country")?.disabled
61
+ disabled: y("country")?.disabled
58
62
  }),
59
63
  X ? /* @__PURE__ */ (0, W.jsx)(V, {
60
64
  segmentId: "military",
61
65
  value: {
62
66
  value: s.status,
63
- label: f(e, s.status, a)
67
+ label: g(n, s.status, e)
64
68
  },
65
69
  isErrored: !!G.status,
66
70
  errorId: "invalidMilitaryStatus",
67
71
  options: X,
68
- disabled: g("status")?.disabled,
72
+ disabled: y("status")?.disabled,
69
73
  onChange: (e) => {
70
- $("status", e ? e.value : ""), _("status", e ? e.value : "", o);
74
+ $("status", e ? e.value : ""), h("status", e ? e.value : "", o);
71
75
  }
72
76
  }) : null,
73
77
  /* @__PURE__ */ (0, W.jsx)(R, {
74
78
  isErrored: !!G.organization,
75
79
  onChange: (e) => {
76
- y(e, o), _("organization", e, o);
80
+ f(e, o), h("organization", e, o);
77
81
  },
78
82
  value: {
79
83
  value: o.viewModel.organization.id,
80
84
  label: o.viewModel.organization.name
81
85
  },
82
86
  verificationService: o,
83
- disabled: g("organization")?.disabled
87
+ disabled: y("organization")?.disabled
84
88
  }),
85
89
  /* @__PURE__ */ (0, W.jsxs)("div", {
86
90
  className: "sid-names",
87
91
  children: [/* @__PURE__ */ (0, W.jsx)(x, {
88
92
  value: s.firstName,
89
93
  isErrored: !!G.firstName,
90
- disabled: g("firstName")?.disabled,
94
+ disabled: y("firstName")?.disabled,
91
95
  onChange: (e) => {
92
- $("firstName", e), _("firstName", e, o);
96
+ $("firstName", e), h("firstName", e, o);
93
97
  }
94
98
  }), /* @__PURE__ */ (0, W.jsx)(S, {
95
99
  value: s.lastName,
96
100
  isErrored: !!G.lastName,
97
- disabled: g("lastName")?.disabled,
101
+ disabled: y("lastName")?.disabled,
98
102
  onChange: (e) => {
99
- $("lastName", e), _("lastName", e, o);
103
+ $("lastName", e), h("lastName", e, o);
100
104
  }
101
105
  })]
102
106
  }),
@@ -104,29 +108,29 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
104
108
  errorId: G.birthDate,
105
109
  locale: Z,
106
110
  onChange: (e) => {
107
- $("birthDate", e), _("birthDate", e, o);
111
+ $("birthDate", e), h("birthDate", e, o);
108
112
  },
109
113
  value: s.birthDate,
110
- disabled: g("birthDate")?.disabled
114
+ disabled: y("birthDate")?.disabled
111
115
  }),
112
116
  o.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ (0, W.jsx)(z, {
113
117
  errorId: G.activeDutyStartDate,
114
118
  locale: Z,
115
119
  onChange: (e) => {
116
- $("activeDutyStartDate", e), _("activeDutyStartDate", e, o);
120
+ $("activeDutyStartDate", e), h("activeDutyStartDate", e, o);
117
121
  },
118
122
  value: s.activeDutyStartDate,
119
- disabled: g("activeDutyStartDate")?.disabled
123
+ disabled: y("activeDutyStartDate")?.disabled
120
124
  }),
121
125
  /* @__PURE__ */ (0, W.jsx)(B, {
122
126
  mode: o.programTheme.transitionalMilitaryValidityDays ? "date" : "month",
123
127
  errorId: G.dischargeDate,
124
128
  onChange: (e) => {
125
- $("dischargeDate", e), _("dischargeDate", e, o);
129
+ $("dischargeDate", e), h("dischargeDate", e, o);
126
130
  },
127
131
  value: s.dischargeDate,
128
132
  locale: Z,
129
- disabled: g("dischargeDate")?.disabled
133
+ disabled: y("dischargeDate")?.disabled
130
134
  }),
131
135
  /* @__PURE__ */ (0, W.jsx)(D, {
132
136
  value: s.email,
@@ -136,64 +140,64 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
136
140
  defaultMessage: "Personal email address is recommended"
137
141
  }),
138
142
  onChange: (e) => {
139
- $("email", e), _("email", e, o);
143
+ $("email", e), h("email", e, o);
140
144
  },
141
- onKeyDown: (e) => m(e),
142
- disabled: g("email")?.disabled
145
+ onKeyDown: (e) => _(e),
146
+ disabled: y("email")?.disabled
143
147
  }),
144
148
  o.programTheme.isSmsNotifierConfigured || o.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, W.jsx)(w, {
145
149
  isRequired: !!o.programTheme.smsLoopEnabled,
146
150
  value: s.phoneNumber,
147
151
  isErrored: !!G.phoneNumber,
148
152
  onChange: (e) => {
149
- $("phoneNumber", e), _("phoneNumber", e, o);
153
+ $("phoneNumber", e), h("phoneNumber", e, o);
150
154
  },
151
155
  selectedCountryCode: s.countryChoice && s.countryChoice.value,
152
- disabled: g("phoneNumber")?.disabled
156
+ disabled: y("phoneNumber")?.disabled
153
157
  }) : null,
154
158
  J.includes("address1") && /* @__PURE__ */ (0, W.jsx)(N, {
155
159
  value: s.address1,
156
160
  isErrored: !!G.address1,
157
161
  errorId: G.address1,
158
- disabled: g("address1")?.disabled,
162
+ disabled: y("address1")?.disabled,
159
163
  onChange: (e) => {
160
- $("address1", e), _("address1", e, o);
164
+ $("address1", e), h("address1", e, o);
161
165
  },
162
- isRequired: g("address1")?.requireIfOptional
166
+ isRequired: y("address1")?.requireIfOptional
163
167
  }),
164
168
  J.includes("city") && /* @__PURE__ */ (0, W.jsx)(M, {
165
169
  value: s.city,
166
170
  isErrored: !!G.city,
167
171
  errorId: G.city,
168
- disabled: g("city")?.disabled,
172
+ disabled: y("city")?.disabled,
169
173
  onChange: (e) => {
170
- $("city", e), _("city", e, o);
174
+ $("city", e), h("city", e, o);
171
175
  },
172
- isRequired: g("city")?.requireIfOptional
176
+ isRequired: y("city")?.requireIfOptional
173
177
  }),
174
178
  J.includes("state") && /* @__PURE__ */ (0, W.jsx)(L, {
175
- options: h(o.programTheme, e),
179
+ options: p(o.programTheme, n),
176
180
  value: s.state || void 0,
177
181
  isErrored: !!G.state,
178
182
  onChange: async (e) => {
179
183
  let t = e ? e.value : void 0;
180
- $("state", t), _("state", t, o);
184
+ $("state", t), h("state", t, o);
181
185
  },
182
186
  label: /* @__PURE__ */ (0, W.jsx)(c, {
183
187
  id: "state",
184
188
  defaultMessage: "State"
185
189
  }),
186
- disabled: g("state")?.disabled,
187
- isRequired: g("state")?.requireIfOptional
190
+ disabled: y("state")?.disabled,
191
+ isRequired: y("state")?.requireIfOptional
188
192
  }),
189
193
  J.includes("postalCode") && /* @__PURE__ */ (0, W.jsx)(A, {
190
- required: g("postalCode")?.requireIfOptional,
194
+ required: y("postalCode")?.requireIfOptional,
191
195
  isErrored: !!G.postalCode,
192
196
  onChange: (e) => {
193
- $("postalCode", e), _("postalCode", e, o);
197
+ $("postalCode", e), h("postalCode", e, o);
194
198
  },
195
199
  value: s.postalCode,
196
- disabled: g("postalCode")?.disabled
200
+ disabled: y("postalCode")?.disabled
197
201
  }),
198
202
  Q.customFormFields.map((e) => /* @__PURE__ */ (0, W.jsx)(C, {
199
203
  config: e,
@@ -206,10 +210,10 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
206
210
  $("metadata", {
207
211
  ...o.viewModel.metadata,
208
212
  marketConsentValue: e
209
- }), _("marketConsentValue", e, o);
213
+ }), h("marketConsentValue", e, o);
210
214
  },
211
215
  viewModel: s,
212
- disabled: g("marketConsentValue")?.disabled
216
+ disabled: y("marketConsentValue")?.disabled
213
217
  }),
214
218
  /* @__PURE__ */ (0, W.jsx)(P, {
215
219
  verificationService: o,
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CUyp2gOH.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 MilitaryStatus } 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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\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=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .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 updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,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AwB,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,EAAgC,YAAY;MAC1C,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,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
1
+ {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 MilitaryStatus } 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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\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=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .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 updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAuDA,QA1CG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAGb,EAAM,gBAAgB;EACpB,CAAC,YAAY;GACX,IACE,EAAoB,qBAAqB,gBACvC,EAAsB,uCACxB,EAAU,eAAe,UAAU,MAEnC,IAAI;IAOF,GAAkB,MANyC,EAC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O;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
@@ -1,48 +1,44 @@
1
1
 
2
2
  /**
3
- * WARNING: This file is intended to be used within MySheerID.
4
- * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
- */
6
- /**
7
- * VERSION: 2.262.0
8
- * BUILD_TIMESTAMP: 1785450410018
9
- * BUILD_DATE: Thu Jul 30 2026 22:26:50 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 68821addc264679ff62b3fd4a999222f4aba0b42
3
+ * VERSION: 2.264.0
4
+ * BUILD_TIMESTAMP: 1785521577545
5
+ * BUILD_DATE: Fri Jul 31 2026 18:12:57 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
11
7
  */
12
- import { Mt as e, Rt as t, Ut as n, bt as r, p as i, s as a } from "./intl-B461eGlU.js";
13
- import { a as o, c as s, n as c, t as l } from "./jsx-runtime-KEs0wOl5.js";
14
- import { T as u } from "./FormFooterComponent-B5GraQki.js";
15
- import { a as d } from "./refs-xcOEsQO3.js";
16
- import { $ as f, B as p, F as m, G as h, I as g, W as _, et as v, n as y } from "../_mysheerid-preview.js";
17
- import { t as b } from "./VerificationApiUtils-B4YmzpPS.js";
18
- import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-DiYK5xPX.js";
19
- import { n as D, t as O } from "./PersonalInfoStepSubmitButton-BjmIuVJ1.js";
20
- import { t as k } from "./BirthDateComponent-CBXOBCcV.js";
21
- import { t as A } from "./PostalCodeComponent-CvmEHXss.js";
22
- import { t as j } from "./CountryComponentWrapper-5cH6YXTK.js";
23
- import { t as M } from "./City-FRiBMMDp.js";
24
- import { t as N } from "./AddressComponent-DJPGVE04.js";
25
- import { t as P } from "./ExtraMessage-BjQEDNZp.js";
26
- import { t as F } from "./ChangeLocaleComponent-DUIMw7ra.js";
27
- import { t as I } from "./PersonalInfoStepWrapper-BdmcREBy.js";
28
- import { t as L } from "./StateSelectComponent-CIPdo6OL.js";
29
- import { n as R, r as z, t as B } from "./DischargeDateComponent-DXCPG2NN.js";
30
- import { t as V } from "./StatusComponent-Be-kNy-2.js";
31
- import { t as H } from "./militaryStepHelpers-CT2x_HCE.js";
8
+ import { Ht as e, Kt as t, Lt as n, Tt as r, c as i, n as a } from "./options-BqxY1ri6.js";
9
+ import { a as o, c as s, n as c, t as l } from "./jsx-runtime-B29HBOo1.js";
10
+ import { C as u } from "./FormFooterComponent-khRc1L5E.js";
11
+ import { a as d } from "./refs-CWwQlqJe.js";
12
+ import { $ as f, B as p, F as m, G as h, I as g, W as _, et as v, n as y } from "../sheerid.js";
13
+ import { t as b } from "./VerificationApiUtils-CbPWShkM.js";
14
+ import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-D6FNNlKj.js";
15
+ import { n as D, t as O } from "./PersonalInfoStepSubmitButton-DBVGelcX.js";
16
+ import { t as k } from "./BirthDateComponent-DiRfVMkQ.js";
17
+ import { t as A } from "./PostalCodeComponent-BSNHro7-.js";
18
+ import { t as j } from "./CountryComponentWrapper-HDMnK8-s.js";
19
+ import { t as M } from "./City-D-gJ5H6v.js";
20
+ import { t as N } from "./AddressComponent-cZ7Rrphj.js";
21
+ import { t as P } from "./ExtraMessage-BbACElsX.js";
22
+ import { t as F } from "./ChangeLocaleComponent-B905JfFy.js";
23
+ import { t as I } from "./PersonalInfoStepWrapper-BmHuTQIp.js";
24
+ import { t as L } from "./StateSelectComponent-D3JOWUan.js";
25
+ import { n as R, r as z, t as B } from "./DischargeDateComponent-D3GK6UIu.js";
26
+ import { t as V } from "./StatusComponent-CZMNhzFo.js";
27
+ import { t as H } from "./militaryStepHelpers-COmBnCcw.js";
32
28
  //#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
33
- var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService: o }) => {
34
- let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = m(o, n), Z = s.localeChoice.value, Q = a(), $ = (e, t) => {
29
+ var U = /* @__PURE__ */ t(s(), 1), W = l(), G = ({ intl: t, verificationService: o }) => {
30
+ let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = m(o, t), Z = s.localeChoice.value, Q = a(), $ = (e, t) => {
35
31
  o.updateViewModel(H(e, t, o, X));
36
32
  };
37
- return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === e.collectMilitaryStatus) && (() => {
38
- let n = i(s, () => {});
39
- t.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, n, o.previousVerificationResponse || o.verificationResponse);
33
+ return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === n.collectMilitaryStatus) && (() => {
34
+ let t = i(s, () => {});
35
+ e.info("StepMilitaryStatusComponent submitting form"), o.submitStep(n.collectMilitaryStatus, t, o.previousVerificationResponse || o.verificationResponse);
40
36
  })(), U.useEffect(() => {
41
37
  (async () => {
42
- if (o.verificationResponse.currentStep === e.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
43
- Y((await b(K.verificationId, e.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
44
- } catch (n) {
45
- t.error(`Failed to determine fields to collect: ${n}`, e.collectInactiveMilitaryPersonalInfo);
38
+ if (o.verificationResponse.currentStep === n.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
39
+ Y((await b(K.verificationId, n.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
40
+ } catch (t) {
41
+ e.error(`Failed to determine fields to collect: ${t}`, n.collectInactiveMilitaryPersonalInfo);
46
42
  }
47
43
  })();
48
44
  }, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
@@ -64,7 +60,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
64
60
  segmentId: "military",
65
61
  value: {
66
62
  value: s.status,
67
- label: _(n, s.status, r)
63
+ label: _(t, s.status, r)
68
64
  },
69
65
  isErrored: !!G.status,
70
66
  errorId: "invalidMilitaryStatus",
@@ -176,7 +172,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
176
172
  isRequired: p("city")?.requireIfOptional
177
173
  }),
178
174
  J.includes("state") && /* @__PURE__ */ (0, W.jsx)(L, {
179
- options: g(o.programTheme, n),
175
+ options: g(o.programTheme, t),
180
176
  value: s.state || void 0,
181
177
  isErrored: !!G.state,
182
178
  onChange: async (e) => {
@@ -224,7 +220,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
224
220
  isErrored: !!G.captchaToken
225
221
  }),
226
222
  /* @__PURE__ */ (0, W.jsx)(O, {
227
- step: e.collectInactiveMilitaryPersonalInfo,
223
+ step: n.collectInactiveMilitaryPersonalInfo,
228
224
  verificationService: o,
229
225
  viewModel: s,
230
226
  failedInstantMatch: q,
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CwEps3yq.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 MilitaryStatus } 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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\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=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .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 updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAuDA,QA1CG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7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,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAgC,YAAY;MAC1C,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,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
1
+ {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 MilitaryStatus } 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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\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=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .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 updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAuDA,QA1CG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAGb,EAAM,gBAAgB;EACpB,CAAC,YAAY;GACX,IACE,EAAoB,qBAAqB,gBACvC,EAAsB,uCACxB,EAAU,eAAe,UAAU,MAEnC,IAAI;IAOF,GAAkB,MANyC,EACzD,EAAqB,gBACrB,EAAsB,qCACtB,CACF,IAEyC,iBAAiB,UAAU,KAAK,MAAM,EAAE,GAAG,CAAC;GACvF,SAAS,GAAO;IACd,EAAO,MACL,0CAA0C,KAC1C,EAAsB,mCACxB;GACF;EAEJ,GAAG;CACL,GAAG,CAAC,EAA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