@sheerid/jslib-nightly 2.112.0-alpha.4 → 2.112.0-alpha.6

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 (239) hide show
  1. package/_mysheerid-preview.css +3 -3
  2. package/_mysheerid-preview.js +5 -5
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/EmailLoopPending-Dtf0p85F.js +3 -3
  5. package/chunk/EmailLoopPending-Dy8mLFvV.js +3 -3
  6. package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +3 -3
  7. package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +3 -3
  8. package/chunk/Onfido-AyvUk6wg.js +3 -3
  9. package/chunk/StepIDCheckLoopOnfido-CmNwFqjD.js +3 -3
  10. package/chunk/StepIDCheckLoopOnfido-DtbplNxs.js +3 -3
  11. package/chunk/StepIDCheckLoopRegula-RoX971sR.js +3 -3
  12. package/chunk/StepIDCheckLoopRegula-oqf-QxHT.js +3 -3
  13. package/chunk/StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js +3 -3
  14. package/chunk/StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js +3 -3
  15. package/chunk/ar-CTZ8n_FV.js +3 -3
  16. package/chunk/bg-B1tbUffD.js +3 -3
  17. package/chunk/bn-IN-BA_ZFkiC.js +3 -3
  18. package/chunk/cs-_sREQ07E.js +3 -3
  19. package/chunk/da-DPi7xGRT.js +3 -3
  20. package/chunk/de-Cdu4F7oz.js +3 -3
  21. package/chunk/el-Csc8XB1z.js +3 -3
  22. package/chunk/en-GB-CDsqsXSF.js +3 -3
  23. package/chunk/es-BgNy3pMu.js +3 -3
  24. package/chunk/es-ES-HVAL-fE7.js +3 -3
  25. package/chunk/fi-CCyjkr-W.js +3 -3
  26. package/chunk/fr-CA-DwRs4Got.js +3 -3
  27. package/chunk/fr-alhQlPBO.js +3 -3
  28. package/chunk/ga-DfyMbfDn.js +3 -3
  29. package/chunk/hi-IN-CnIX7S9Z.js +3 -3
  30. package/chunk/hr-HChVQ_Sw.js +3 -3
  31. package/chunk/hu-CWN1WU0a.js +3 -3
  32. package/chunk/id-C1Ck0Iu_.js +3 -3
  33. package/chunk/index-4APUDd8S.js +3 -3
  34. package/chunk/index-9OD0Bw98.js +3 -3
  35. package/chunk/index-B-PpnUEO.js +3 -3
  36. package/chunk/index-B8F8N-JM.js +3 -3
  37. package/chunk/index-B8KPM--K.js +3 -3
  38. package/chunk/index-BD2bjH-C.js +3 -3
  39. package/chunk/index-BD_a0MZT.js +3 -3
  40. package/chunk/index-BDrKYann.js +3 -3
  41. package/chunk/index-BORxVuto.js +3 -3
  42. package/chunk/index-BTMETMEE.js +3 -3
  43. package/chunk/index-Bi9QXN5x.js +3 -3
  44. package/chunk/index-Bmq6cJ3F.js +3 -3
  45. package/chunk/index-BpZoH-Wz.js +3 -3
  46. package/chunk/index-BuX76GyE.js +3 -3
  47. package/chunk/index-C2h0Wj84.js +3 -3
  48. package/chunk/index-C8MQD8EK.js +3 -3
  49. package/chunk/index-C8u9IJUa.js +3 -3
  50. package/chunk/index-C96ntS0u.js +3 -3
  51. package/chunk/index-CHK5i4jj.js +3 -3
  52. package/chunk/index-CTb96lOK.js +3 -3
  53. package/chunk/index-CU0rkVHP.js +3 -3
  54. package/chunk/index-CcRowarb.js +3 -3
  55. package/chunk/index-CeHu2Npu.js +3 -3
  56. package/chunk/index-DIkWpujR.js +3 -3
  57. package/chunk/index-DKWjcFJK.js +3 -3
  58. package/chunk/index-DLz31Fzh.js +3 -3
  59. package/chunk/index-DO5Z3e-E.js +3 -3
  60. package/chunk/index-DRlGAW07.js +3 -3
  61. package/chunk/index-DVynViqA.js +3 -3
  62. package/chunk/index-D_9J6arc.js +3 -3
  63. package/chunk/index-Dg8t7-dm.js +3 -3
  64. package/chunk/index-DhGg9lvf.js +3 -3
  65. package/chunk/index-DsgCNIS5.js +3 -3
  66. package/chunk/index-DvQoVn8P.js +3 -3
  67. package/chunk/index-DzqRsB7_.js +3 -3
  68. package/chunk/index-FjzhfDlx.js +3 -3
  69. package/chunk/index-Gfy-1H7s.js +3 -3
  70. package/chunk/index-YSVzGeq_.js +3 -3
  71. package/chunk/index-_t8SsXjy.js +3 -3
  72. package/chunk/is-Bf2mOiIg.js +3 -3
  73. package/chunk/it-IMkNWYOG.js +3 -3
  74. package/chunk/iw-BuDnLn5x.js +3 -3
  75. package/chunk/ja-DdM1Ym9C.js +3 -3
  76. package/chunk/ko-B01TPi1c.js +3 -3
  77. package/chunk/lo-CDeDGaKo.js +3 -3
  78. package/chunk/lt-DyBa0gOR.js +3 -3
  79. package/chunk/ms-LqU5Yd8l.js +3 -3
  80. package/chunk/nl-BE-BFg3IyDd.js +3 -3
  81. package/chunk/nl-kMVLoHoM.js +3 -3
  82. package/chunk/no-BAFfWVPm.js +3 -3
  83. package/chunk/pl-Cxz2q367.js +3 -3
  84. package/chunk/pt-BR-CgWnbrVG.js +3 -3
  85. package/chunk/pt-ClU8GfPr.js +3 -3
  86. package/chunk/ro-CjVQ_Zpn.js +3 -3
  87. package/chunk/ru-BdRZQIfm.js +3 -3
  88. package/chunk/sk-C-xR48Aj.js +3 -3
  89. package/chunk/sl-CImZBWQa.js +3 -3
  90. package/chunk/sr-CZdt5Aa4.js +3 -3
  91. package/chunk/sv-BclJkJLk.js +3 -3
  92. package/chunk/sw-BMcrEvkG.js +3 -3
  93. package/chunk/th-Dl_Lc--C.js +3 -3
  94. package/chunk/tr-CL17frp4.js +3 -3
  95. package/chunk/uk-zgBsQ3Tg.js +3 -3
  96. package/chunk/ur-DJP0igA6.js +3 -3
  97. package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js +3 -3
  98. package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +3 -3
  99. package/chunk/useEmailFirstExperiment-BbDrKQEs.js +3 -3
  100. package/chunk/useEmailFirstExperiment-CgU-itQI.js +3 -3
  101. package/chunk/vi-B1t3wnVe.js +3 -3
  102. package/chunk/zh-B1K_f766.js +3 -3
  103. package/chunk/zh-HK-B7LwDNgi.js +3 -3
  104. package/chunk/zu-DXIuiqYP.js +3 -3
  105. package/es6.css +3 -3
  106. package/jslib.js +4 -4
  107. package/lib/{EmailLoopPending-DrisvsNk.js → EmailLoopPending-8SrVq8_4.js} +4 -4
  108. package/lib/{EmailLoopPending-DrisvsNk.js.map → EmailLoopPending-8SrVq8_4.js.map} +1 -1
  109. package/lib/{LicensedProfessionalOrganizationComponent-CFEiKHMr.js → LicensedProfessionalOrganizationComponent-CNZuQ91j.js} +4 -4
  110. package/lib/{LicensedProfessionalOrganizationComponent-CFEiKHMr.js.map → LicensedProfessionalOrganizationComponent-CNZuQ91j.js.map} +1 -1
  111. package/lib/Onfido-AyvUk6wg.js +3 -3
  112. package/lib/StepCollectMilitaryStatusComponent-diSO4X44.js +11 -0
  113. package/lib/{StepCollectMilitaryStatusComponent-Dm84F8Ui.js.map → StepCollectMilitaryStatusComponent-diSO4X44.js.map} +1 -1
  114. package/lib/{StepIDCheckLoopOnfido-BeLzOKOj.js → StepIDCheckLoopOnfido-BwfFHPbH.js} +4 -4
  115. package/lib/{StepIDCheckLoopOnfido-BeLzOKOj.js.map → StepIDCheckLoopOnfido-BwfFHPbH.js.map} +1 -1
  116. package/lib/{StepIDCheckLoopRegula-CIrXQIVn.js → StepIDCheckLoopRegula-B_XUpN32.js} +4 -4
  117. package/lib/{StepIDCheckLoopRegula-CIrXQIVn.js.map → StepIDCheckLoopRegula-B_XUpN32.js.map} +1 -1
  118. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DzWkTTsC.js → StepInactiveMilitaryPersonalInfoComponent--j3AeyAM.js} +5 -5
  119. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DzWkTTsC.js.map → StepInactiveMilitaryPersonalInfoComponent--j3AeyAM.js.map} +1 -1
  120. package/lib/{VerificationApiUtils-0LG5zgCj.js → VerificationApiUtils-qdYPexhk.js} +4 -4
  121. package/lib/{VerificationApiUtils-0LG5zgCj.js.map → VerificationApiUtils-qdYPexhk.js.map} +1 -1
  122. package/lib/ar-CTZ8n_FV.js +3 -3
  123. package/lib/bg-B1tbUffD.js +3 -3
  124. package/lib/bn-IN-BA_ZFkiC.js +3 -3
  125. package/lib/cs-_sREQ07E.js +3 -3
  126. package/lib/da-DPi7xGRT.js +3 -3
  127. package/lib/de-Cdu4F7oz.js +3 -3
  128. package/lib/el-Csc8XB1z.js +3 -3
  129. package/lib/en-GB-CDsqsXSF.js +3 -3
  130. package/lib/es-BgNy3pMu.js +3 -3
  131. package/lib/es-ES-HVAL-fE7.js +3 -3
  132. package/lib/{es6-BGT6VLRG.js → es6-CmswRPjK.js} +32 -32
  133. package/lib/{es6-BGT6VLRG.js.map → es6-CmswRPjK.js.map} +1 -1
  134. package/lib/fi-CCyjkr-W.js +3 -3
  135. package/lib/fr-CA-DwRs4Got.js +3 -3
  136. package/lib/fr-alhQlPBO.js +3 -3
  137. package/lib/ga-DfyMbfDn.js +3 -3
  138. package/lib/hi-IN-CnIX7S9Z.js +3 -3
  139. package/lib/hr-HChVQ_Sw.js +3 -3
  140. package/lib/hu-CWN1WU0a.js +3 -3
  141. package/lib/id-C1Ck0Iu_.js +3 -3
  142. package/lib/index-3Zq_I3L9.js +11 -0
  143. package/lib/index-3Zq_I3L9.js.map +1 -0
  144. package/lib/{index-DvHnBvUt.js → index-B0Xzi5fz.js} +4 -4
  145. package/lib/{index-DvHnBvUt.js.map → index-B0Xzi5fz.js.map} +1 -1
  146. package/lib/{index-RTyDygJA.js → index-BVkO1s81.js} +5 -5
  147. package/lib/{index-RTyDygJA.js.map → index-BVkO1s81.js.map} +1 -1
  148. package/lib/{index-DqfO09tu.js → index-BW1KI9lV.js} +4 -4
  149. package/lib/{index-DqfO09tu.js.map → index-BW1KI9lV.js.map} +1 -1
  150. package/lib/{index-D5MR-f4E.js → index-BcXJ1-DF.js} +5 -5
  151. package/lib/{index-D5MR-f4E.js.map → index-BcXJ1-DF.js.map} +1 -1
  152. package/lib/{index-Dcasc8R1.js → index-Be3_NBkN.js} +4 -4
  153. package/lib/{index-Dcasc8R1.js.map → index-Be3_NBkN.js.map} +1 -1
  154. package/lib/{index-OIwocGgH.js → index-BiIbo2KG.js} +4 -4
  155. package/lib/{index-OIwocGgH.js.map → index-BiIbo2KG.js.map} +1 -1
  156. package/lib/index-BvTqyz7K.js +11 -0
  157. package/lib/index-BvTqyz7K.js.map +1 -0
  158. package/lib/{index-BANwQk4U.js → index-CLW01LQa.js} +5 -5
  159. package/lib/{index-BANwQk4U.js.map → index-CLW01LQa.js.map} +1 -1
  160. package/lib/{index-CbyZWnr5.js → index-CVplTTFK.js} +5 -5
  161. package/lib/{index-CbyZWnr5.js.map → index-CVplTTFK.js.map} +1 -1
  162. package/lib/index-D6B6HAGi.js +11 -0
  163. package/lib/index-D6B6HAGi.js.map +1 -0
  164. package/lib/{index-9RUq5Tvc.js → index-DC_tMfvx.js} +6 -6
  165. package/lib/{index-9RUq5Tvc.js.map → index-DC_tMfvx.js.map} +1 -1
  166. package/lib/{index-BXMOCIdp.js → index-DI0BRmX0.js} +6 -6
  167. package/lib/{index-BXMOCIdp.js.map → index-DI0BRmX0.js.map} +1 -1
  168. package/lib/index-DIkWpujR.js +3 -3
  169. package/lib/{index-DKruKnPT.js → index-DLEUiNwX.js} +4 -4
  170. package/lib/{index-DKruKnPT.js.map → index-DLEUiNwX.js.map} +1 -1
  171. package/lib/index-DjHUibJy.js +11 -0
  172. package/lib/index-DjHUibJy.js.map +1 -0
  173. package/lib/{index-CD9Szi3E.js → index-Dt00IbgN.js} +5 -5
  174. package/lib/{index-CD9Szi3E.js.map → index-Dt00IbgN.js.map} +1 -1
  175. package/lib/{index-jZ_zLZvH.js → index-DvtVG-vT.js} +4 -4
  176. package/lib/{index-jZ_zLZvH.js.map → index-DvtVG-vT.js.map} +1 -1
  177. package/lib/{index-BzjahvnA.js → index-OeVwnTSz.js} +4 -4
  178. package/lib/{index-BzjahvnA.js.map → index-OeVwnTSz.js.map} +1 -1
  179. package/lib/{index-CXwdeDor.js → index-d_PLvLfG.js} +4 -4
  180. package/lib/{index-CXwdeDor.js.map → index-d_PLvLfG.js.map} +1 -1
  181. package/lib/{index-DbVU1s8G.js → index-grVGwN7h.js} +5 -5
  182. package/lib/{index-DbVU1s8G.js.map → index-grVGwN7h.js.map} +1 -1
  183. package/lib/{index-Bs78W4Se.js → index-nX2lLyUj.js} +5 -5
  184. package/lib/{index-Bs78W4Se.js.map → index-nX2lLyUj.js.map} +1 -1
  185. package/lib/{index-DgN2jNLf.js → index-pdBa2Jss.js} +4 -4
  186. package/lib/{index-DgN2jNLf.js.map → index-pdBa2Jss.js.map} +1 -1
  187. package/lib/{index-DlXSe7zO.js → index-wlSdkN3D.js} +4 -4
  188. package/lib/{index-DlXSe7zO.js.map → index-wlSdkN3D.js.map} +1 -1
  189. package/lib/is-Bf2mOiIg.js +3 -3
  190. package/lib/it-IMkNWYOG.js +3 -3
  191. package/lib/iw-BuDnLn5x.js +3 -3
  192. package/lib/ja-DdM1Ym9C.js +3 -3
  193. package/lib/ko-B01TPi1c.js +3 -3
  194. package/lib/lo-CDeDGaKo.js +3 -3
  195. package/lib/lt-DyBa0gOR.js +3 -3
  196. package/lib/ms-LqU5Yd8l.js +3 -3
  197. package/lib/nl-BE-BFg3IyDd.js +3 -3
  198. package/lib/nl-kMVLoHoM.js +3 -3
  199. package/lib/no-BAFfWVPm.js +3 -3
  200. package/lib/pl-Cxz2q367.js +3 -3
  201. package/lib/pt-BR-CgWnbrVG.js +3 -3
  202. package/lib/pt-ClU8GfPr.js +3 -3
  203. package/lib/ro-CjVQ_Zpn.js +3 -3
  204. package/lib/ru-BdRZQIfm.js +3 -3
  205. package/lib/sk-C-xR48Aj.js +3 -3
  206. package/lib/sl-CImZBWQa.js +3 -3
  207. package/lib/sr-CZdt5Aa4.js +3 -3
  208. package/lib/sv-BclJkJLk.js +3 -3
  209. package/lib/sw-BMcrEvkG.js +3 -3
  210. package/lib/th-Dl_Lc--C.js +3 -3
  211. package/lib/tr-CL17frp4.js +3 -3
  212. package/lib/uk-zgBsQ3Tg.js +3 -3
  213. package/lib/ur-DJP0igA6.js +3 -3
  214. package/lib/{useCollectFieldsEndpoint-B61_DguV.js → useCollectFieldsEndpoint-dzRFN2x5.js} +5 -5
  215. package/lib/{useCollectFieldsEndpoint-B61_DguV.js.map → useCollectFieldsEndpoint-dzRFN2x5.js.map} +1 -1
  216. package/lib/{useEmailFirstExperiment-CQta_14_.js → useEmailFirstExperiment-BQshZb8j.js} +4 -4
  217. package/lib/{useEmailFirstExperiment-CQta_14_.js.map → useEmailFirstExperiment-BQshZb8j.js.map} +1 -1
  218. package/lib/vi-B1t3wnVe.js +3 -3
  219. package/lib/zh-B1K_f766.js +3 -3
  220. package/lib/zh-HK-B7LwDNgi.js +3 -3
  221. package/lib/zu-DXIuiqYP.js +3 -3
  222. package/package.json +1 -1
  223. package/sheerid-install.css +3 -3
  224. package/sheerid-install.js +4 -4
  225. package/sheerid.css +3 -3
  226. package/sheerid.js +5 -5
  227. package/sheerid.js.map +1 -1
  228. package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
  229. package/types-reference.zip +0 -0
  230. package/lib/StepCollectMilitaryStatusComponent-Dm84F8Ui.js +0 -11
  231. package/lib/index-BtVZojxO.js +0 -11
  232. package/lib/index-BtVZojxO.js.map +0 -1
  233. package/lib/index-CH2g0Pj-.js +0 -11
  234. package/lib/index-CH2g0Pj-.js.map +0 -1
  235. package/lib/index-C_CvQ7wV.js +0 -11
  236. package/lib/index-C_CvQ7wV.js.map +0 -1
  237. package/lib/index-uz9w2o_u.js +0 -11
  238. package/lib/index-uz9w2o_u.js.map +0 -1
  239. package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.test.d.ts +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-DzWkTTsC.js","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 \"../../lib/utils/logger/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\";\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 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 <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"],"names":["StepInactiveMilitaryPersonalInfo","intl","verificationService","viewModel","previousViewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","optionalFields","setOptionalFields","React","availableStatuses","getAvailableMilitaryStatuses","locale","options","getOptions","updateInactiveMilitaryViewModel","key","value","updateMilitaryViewModel","submitStep","nextState","produce","logger","VerificationStepsEnum","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","ExtraMessage","PersonalInfoStepSubmitButton","StepInactiveMilitaryPersonalInfoComponent","injectIntl"],"mappings":";;;;AAkEO,MAAMA,KAAmC,CAAC;AAAA,EAC/C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAAsD;;AACpD,QAAMC,IAAYD,EAAoB,WAChCE,IACJF,EAAoB,mBAChB,EAAE,uBAAAG,MAA0BH,GAC5BI,IACJJ,EAAoB,sBAChBK,IAAqBC,EAAsBF,CAAoB,GAC/D,CAACG,GAAgBC,CAAiB,IAAIC,EAAM,SAAS,CAAA,CAAE,GACvDC,IAAoBC,EAA6BX,GAAqBD,CAAI,GAC1Ea,IAASX,EAAU,aAAa,OAChCY,IAAUC,EAAW,GAErBC,IAAkC,CACtCC,GACAC,MACG;AACiB,IAAAjB,EAAA;AAAA,MAClBkB,GAAwBF,GAAKC,GAAOjB,GAAqBU,CAAiB;AAAA,IAC5E;AAAA,EACF,GAEMS,IAAa,MAAM;AACjB,UAAAC,IAAYC,GAAQpB,GAAW,MAAM;AAAA,IAAA,CAAE;AAC7C,IAAAqB,EAAO,KAAK,6CAA6C,GACrCtB,EAAA;AAAA,MAClBuB,EAAsB;AAAA,MACtBH;AAAA,MACApB,EAAoB,gCAAgCA,EAAoB;AAAA,IAC1E;AAAA,EACF;AAEA,UACGC,EAAU,UAAUC,KAAqBA,EAAkB,WAAWD,EAAU,UAChFA,EAAU,UACTD,EAAoB,qBAAqB,gBACvCuB,EAAsB,0BAEfJ,EAAA,GAGbV,EAAM,UAAU,MAAM;AACpB,KAAC,YAAY;;AAET,UAAAT,EAAoB,qBAAqB,gBACvCuB,EAAsB,yCACxBC,IAAAvB,EAAU,kBAAV,gBAAAuB,EAAyB,WAAU;AAE/B,YAAA;AACF,gBAAMC,IAA+C,MAAMC;AAAA,YACzDtB,EAAqB;AAAA,YACrBmB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,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE6B,gBAAAA,EAAA;AAAA,gBAAC0B;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
1
+ {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent--j3AeyAM.js","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 \"../../lib/utils/logger/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\";\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 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 <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"],"names":["StepInactiveMilitaryPersonalInfo","intl","verificationService","viewModel","previousViewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","optionalFields","setOptionalFields","React","availableStatuses","getAvailableMilitaryStatuses","locale","options","getOptions","updateInactiveMilitaryViewModel","key","value","updateMilitaryViewModel","submitStep","nextState","produce","logger","VerificationStepsEnum","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","ExtraMessage","PersonalInfoStepSubmitButton","StepInactiveMilitaryPersonalInfoComponent","injectIntl"],"mappings":";;;;AAkEO,MAAMA,KAAmC,CAAC;AAAA,EAC/C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAAsD;;AACpD,QAAMC,IAAYD,EAAoB,WAChCE,IACJF,EAAoB,mBAChB,EAAE,uBAAAG,MAA0BH,GAC5BI,IACJJ,EAAoB,sBAChBK,IAAqBC,EAAsBF,CAAoB,GAC/D,CAACG,GAAgBC,CAAiB,IAAIC,EAAM,SAAS,CAAA,CAAE,GACvDC,IAAoBC,EAA6BX,GAAqBD,CAAI,GAC1Ea,IAASX,EAAU,aAAa,OAChCY,IAAUC,EAAW,GAErBC,IAAkC,CACtCC,GACAC,MACG;AACiB,IAAAjB,EAAA;AAAA,MAClBkB,GAAwBF,GAAKC,GAAOjB,GAAqBU,CAAiB;AAAA,IAC5E;AAAA,EACF,GAEMS,IAAa,MAAM;AACjB,UAAAC,IAAYC,GAAQpB,GAAW,MAAM;AAAA,IAAA,CAAE;AAC7C,IAAAqB,EAAO,KAAK,6CAA6C,GACrCtB,EAAA;AAAA,MAClBuB,EAAsB;AAAA,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AAoB,UAAU;AAAA,kBACjC,oBAAoBkD;AAAA,gBAAA,CACrB,GACDN;AAAA,kBACE;AAAA,kBACAM;AAAA,kBACAlD;AAAA,gBACF;AAAA,cACF;AAAA,cACA,WAAAC;AAAA,cACA,WAAUmF,IAAA7C,EAAwB,oBAAoB,MAA5C,gBAAA6C,EAA+C;AAAA,YAAA;AAAA,UAC3D;AAAA,UAEClD,gBAAAA,EAAAA,IAAAmD,IAAA,EAAa,qBAAArF,GAA0C,QAAO,qBAAqB,CAAA;AAAA,UAEpFkC,gBAAAA,EAAA;AAAA,YAACoD;AAAA,YAAA;AAAA,cACC,MAAM/D,EAAsB;AAAA,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE6B,gBAAAA,EAAA;AAAA,gBAAC0B;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
@@ -1,11 +1,11 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
- import { V as n, s as i, P as l, g as a } from "./es6-BGT6VLRG.js";
8
+ import { V as n, s as i, P as l, g as a } from "./es6-CmswRPjK.js";
9
9
  async function d(r, e, t) {
10
10
  if (n[e]) {
11
11
  const s = i[e](t), o = await l(
@@ -1 +1 @@
1
- {"version":3,"file":"VerificationApiUtils-0LG5zgCj.js","sources":["../../src/lib/ServerApi/VerificationApiUtils.ts"],"sourcesContent":["import { VerificationStepsEnum } from \"../types/runtimeTypes\";\nimport { CollectFieldsResponse, DatabaseId, VerificationStep, ViewModel } from \"../types/types\";\nimport { getFieldsToCollectUrl } from \"./ApiUrls\";\nimport * as Network from \"./Network\";\nimport { stepToRequest } from \"./StepToRequest\";\n\n/**\n * EXPERIMENTAL - Check which fields are required and optional for a given view model\n */\nexport async function getFieldsToCollect(\n verificationId: DatabaseId,\n step: VerificationStep,\n viewModel: ViewModel,\n): Promise<CollectFieldsResponse> {\n if (VerificationStepsEnum[step]) {\n const requestBody = stepToRequest[step](viewModel);\n const response = (await Network.PostJson(\n getFieldsToCollectUrl(verificationId, step),\n requestBody,\n )) as CollectFieldsResponse;\n if (response.currentStep === \"error\") {\n throw new Error(`Failed to determine fields to collect: ${response}`);\n }\n return response as CollectFieldsResponse;\n }\n throw new Error(`Unknown step ${step}`);\n}\n"],"names":["getFieldsToCollect","verificationId","step","viewModel","VerificationStepsEnum","requestBody","stepToRequest","response","Network.PostJson","getFieldsToCollectUrl"],"mappings":";AASsB,eAAAA,EACpBC,GACAC,GACAC,GACgC;AAC5B,MAAAC,EAAsBF,CAAI,GAAG;AAC/B,UAAMG,IAAcC,EAAcJ,CAAI,EAAEC,CAAS,GAC3CI,IAAY,MAAMC;AAAAA,MACtBC,EAAsBR,GAAgBC,CAAI;AAAA,MAC1CG;AAAA,IACF;AACI,QAAAE,EAAS,gBAAgB;AAC3B,YAAM,IAAI,MAAM,0CAA0CA,CAAQ,EAAE;AAE/D,WAAAA;AAAA,EAAA;AAET,QAAM,IAAI,MAAM,gBAAgBL,CAAI,EAAE;AACxC;"}
1
+ {"version":3,"file":"VerificationApiUtils-qdYPexhk.js","sources":["../../src/lib/ServerApi/VerificationApiUtils.ts"],"sourcesContent":["import { VerificationStepsEnum } from \"../types/runtimeTypes\";\nimport { CollectFieldsResponse, DatabaseId, VerificationStep, ViewModel } from \"../types/types\";\nimport { getFieldsToCollectUrl } from \"./ApiUrls\";\nimport * as Network from \"./Network\";\nimport { stepToRequest } from \"./StepToRequest\";\n\n/**\n * EXPERIMENTAL - Check which fields are required and optional for a given view model\n */\nexport async function getFieldsToCollect(\n verificationId: DatabaseId,\n step: VerificationStep,\n viewModel: ViewModel,\n): Promise<CollectFieldsResponse> {\n if (VerificationStepsEnum[step]) {\n const requestBody = stepToRequest[step](viewModel);\n const response = (await Network.PostJson(\n getFieldsToCollectUrl(verificationId, step),\n requestBody,\n )) as CollectFieldsResponse;\n if (response.currentStep === \"error\") {\n throw new Error(`Failed to determine fields to collect: ${response}`);\n }\n return response as CollectFieldsResponse;\n }\n throw new Error(`Unknown step ${step}`);\n}\n"],"names":["getFieldsToCollect","verificationId","step","viewModel","VerificationStepsEnum","requestBody","stepToRequest","response","Network.PostJson","getFieldsToCollectUrl"],"mappings":";AASsB,eAAAA,EACpBC,GACAC,GACAC,GACgC;AAC5B,MAAAC,EAAsBF,CAAI,GAAG;AAC/B,UAAMG,IAAcC,EAAcJ,CAAI,EAAEC,CAAS,GAC3CI,IAAY,MAAMC;AAAAA,MACtBC,EAAsBR,GAAgBC,CAAI;AAAA,MAC1CG;AAAA,IACF;AACI,QAAAE,EAAS,gBAAgB;AAC3B,YAAM,IAAI,MAAM,0CAA0CA,CAAQ,EAAE;AAE/D,WAAAA;AAAA,EAAA;AAET,QAAM,IAAI,MAAM,gBAAgBL,CAAI,EAAE;AACxC;"}
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.112.0-alpha.4
4
- * BUILD_TIMESTAMP: 1749596653808
5
- * BUILD_DATE: Tue Jun 10 2025 23:04:13 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.112.0-alpha.6
4
+ * BUILD_TIMESTAMP: 1749741537426
5
+ * BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
7
7
  */
8
8
  var jM = Object.defineProperty;
@@ -105,7 +105,7 @@ const JM = (e) => e && e.stack && e.message, bi = (...e) => {
105
105
  locale: ve(() => o.programTheme.intl.locale),
106
106
  isTestMode: ve(() => o.programTheme.isTestMode),
107
107
  openOrgSearchEnabled: ve(() => o.programTheme.openOrgSearchEnabled),
108
- jslibVerActual: ve(() => "2.112.0-alpha.4", "?"),
108
+ jslibVerActual: ve(() => "2.112.0-alpha.6", "?"),
109
109
  ...r
110
110
  };
111
111
  }
@@ -3665,7 +3665,7 @@ const j$ = (e, t) => {
3665
3665
  }, Oy = () => `${Ie().restApi.serviceUrl}${Ie().restApi.resources.verification}`, xw = (e) => `${Oy()}${e}`, Cw = () => Oy(), Tw = (e, t = null) => {
3666
3666
  const r = `${Ie().restApi.serviceUrl}${Ie().restApi.resources.program.base}${e}/${Ie().restApi.resources.program.theme}`;
3667
3667
  return t ? `${r}?locale=${t}` : `${r}`;
3668
- }, Pw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, Rw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, Aw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, Nw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, $$ = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Dy = () => "2.112.0-alpha.4", Ow = () => window.location.href, ky = () => {
3668
+ }, Pw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, Rw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, Aw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, Nw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, $$ = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Dy = () => "2.112.0-alpha.6", Ow = () => window.location.href, ky = () => {
3669
3669
  try {
3670
3670
  const e = new URLSearchParams(window.location.search);
3671
3671
  if (e.get(Hr))
@@ -13697,25 +13697,25 @@ const fI = ({
13697
13697
  }, td = ze(GD), WD = {
13698
13698
  StepPendingComponent: _D,
13699
13699
  StepErrorComponent: td,
13700
- StepStudentPersonalInfoComponent: ee.lazy(() => import("./index-CD9Szi3E.js")),
13701
- StepOverrideComponent: ee.lazy(() => import("./index-C_CvQ7wV.js")),
13702
- StepAgePersonalInfoComponent: ee.lazy(() => import("./index-BANwQk4U.js")),
13703
- StepSeniorPersonalInfoComponent: ee.lazy(() => import("./index-BANwQk4U.js")),
13700
+ StepStudentPersonalInfoComponent: ee.lazy(() => import("./index-Dt00IbgN.js")),
13701
+ StepOverrideComponent: ee.lazy(() => import("./index-3Zq_I3L9.js")),
13702
+ StepAgePersonalInfoComponent: ee.lazy(() => import("./index-CLW01LQa.js")),
13703
+ StepSeniorPersonalInfoComponent: ee.lazy(() => import("./index-CLW01LQa.js")),
13704
13704
  StepActiveMilitaryPersonalInfoComponent: ee.lazy(
13705
13705
  () => Promise.resolve().then(() => YF)
13706
13706
  ),
13707
13707
  StepCollectMilitaryStatusComponent: ee.lazy(
13708
- () => import("./StepCollectMilitaryStatusComponent-Dm84F8Ui.js")
13708
+ () => import("./StepCollectMilitaryStatusComponent-diSO4X44.js")
13709
13709
  ),
13710
13710
  StepInactiveMilitaryPersonalInfoComponent: ee.lazy(
13711
- () => import("./StepInactiveMilitaryPersonalInfoComponent-DzWkTTsC.js")
13711
+ () => import("./StepInactiveMilitaryPersonalInfoComponent--j3AeyAM.js")
13712
13712
  ),
13713
13713
  StepDriverLicensePersonalInfoComponent: ee.lazy(
13714
13714
  () => Promise.resolve().then(() => r$)
13715
13715
  ),
13716
- StepEmploymentPersonalInfoComponent: ee.lazy(() => import("./index-DqfO09tu.js")),
13716
+ StepEmploymentPersonalInfoComponent: ee.lazy(() => import("./index-BW1KI9lV.js")),
13717
13717
  StepFirstResponderPersonalInfoComponent: ee.lazy(
13718
- () => import("./index-RTyDygJA.js")
13718
+ () => import("./index-BVkO1s81.js")
13719
13719
  ),
13720
13720
  StepGeneralIdentityPersonalInfoComponent: ee.lazy(
13721
13721
  () => Promise.resolve().then(() => n$)
@@ -13723,29 +13723,29 @@ const fI = ({
13723
13723
  StepHybridIdentityPersonalInfoComponent: ee.lazy(
13724
13724
  () => Promise.resolve().then(() => a$)
13725
13725
  ),
13726
- StepIDCheckLoopComponent: ee.lazy(() => import("./index-BXMOCIdp.js")),
13726
+ StepIDCheckLoopComponent: ee.lazy(() => import("./index-DI0BRmX0.js")),
13727
13727
  StepLicensedProfessionalPersonalInfoComponent: ee.lazy(
13728
- () => import("./index-DbVU1s8G.js")
13728
+ () => import("./index-grVGwN7h.js")
13729
13729
  ),
13730
- StepLowIncomePersonalInfoComponent: ee.lazy(() => import("./index-CH2g0Pj-.js")),
13730
+ StepLowIncomePersonalInfoComponent: ee.lazy(() => import("./index-BvTqyz7K.js")),
13731
13731
  StepMedicalProfessionalPersonalInfoComponent: ee.lazy(
13732
- () => import("./index-9RUq5Tvc.js")
13732
+ () => import("./index-DC_tMfvx.js")
13733
13733
  ),
13734
- StepMemberPersonalInfoComponent: ee.lazy(() => import("./index-Dcasc8R1.js")),
13735
- StepConsolationComponent: ee.lazy(() => import("./index-DvHnBvUt.js")),
13736
- StepDocUploadComponent: ee.lazy(() => import("./index-DKruKnPT.js")),
13737
- StepEmailLoopComponent: ee.lazy(() => import("./index-D5MR-f4E.js")),
13738
- StepPendingEmailLoopComponent: ee.lazy(() => import("./EmailLoopPending-DrisvsNk.js")),
13739
- StepMoverPersonalInfoComponent: ee.lazy(() => import("./index-BzjahvnA.js")),
13740
- StepSMSLoopComponent: ee.lazy(() => import("./index-DlXSe7zO.js")),
13741
- StepSocialSecurity: ee.lazy(() => import("./index-CXwdeDor.js")),
13742
- StepSSOComponent: ee.lazy(() => import("./index-BtVZojxO.js")),
13743
- StepSuccessComponent: ee.lazy(() => import("./index-DgN2jNLf.js")),
13744
- StepTeacherPersonalInfoComponent: ee.lazy(() => import("./index-CbyZWnr5.js")),
13745
- StepCompleteAuthentication: ee.lazy(() => import("./index-jZ_zLZvH.js")),
13746
- StepCollectIdentifierComponent: ee.lazy(() => import("./index-OIwocGgH.js")),
13747
- StepCollectPersonalInfo: ee.lazy(() => import("./index-Bs78W4Se.js")),
13748
- StepThirdPartyLoopComponent: ee.lazy(() => import("./index-uz9w2o_u.js"))
13734
+ StepMemberPersonalInfoComponent: ee.lazy(() => import("./index-Be3_NBkN.js")),
13735
+ StepConsolationComponent: ee.lazy(() => import("./index-B0Xzi5fz.js")),
13736
+ StepDocUploadComponent: ee.lazy(() => import("./index-DLEUiNwX.js")),
13737
+ StepEmailLoopComponent: ee.lazy(() => import("./index-BcXJ1-DF.js")),
13738
+ StepPendingEmailLoopComponent: ee.lazy(() => import("./EmailLoopPending-8SrVq8_4.js")),
13739
+ StepMoverPersonalInfoComponent: ee.lazy(() => import("./index-OeVwnTSz.js")),
13740
+ StepSMSLoopComponent: ee.lazy(() => import("./index-wlSdkN3D.js")),
13741
+ StepSocialSecurity: ee.lazy(() => import("./index-d_PLvLfG.js")),
13742
+ StepSSOComponent: ee.lazy(() => import("./index-D6B6HAGi.js")),
13743
+ StepSuccessComponent: ee.lazy(() => import("./index-pdBa2Jss.js")),
13744
+ StepTeacherPersonalInfoComponent: ee.lazy(() => import("./index-CVplTTFK.js")),
13745
+ StepCompleteAuthentication: ee.lazy(() => import("./index-DvtVG-vT.js")),
13746
+ StepCollectIdentifierComponent: ee.lazy(() => import("./index-BiIbo2KG.js")),
13747
+ StepCollectPersonalInfo: ee.lazy(() => import("./index-nX2lLyUj.js")),
13748
+ StepThirdPartyLoopComponent: ee.lazy(() => import("./index-DjHUibJy.js"))
13749
13749
  }, Xe = (e) => {
13750
13750
  A.info("getComponent", e);
13751
13751
  const t = sP(e);