@sheerid/jslib 2.271.0 → 2.273.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +949 -939
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/AddressComponent-BGFbAsvK.js +4 -4
  5. package/chunk/{AddressComponent-BLDI7tct.js → AddressComponent-DeQlodxe.js} +7 -7
  6. package/chunk/{AddressComponent-BLDI7tct.js.map → AddressComponent-DeQlodxe.js.map} +1 -1
  7. package/chunk/{AnnouncingHeader-BRATyipQ.js → AnnouncingHeader-Ces-_Aei.js} +6 -6
  8. package/chunk/{AnnouncingHeader-BRATyipQ.js.map → AnnouncingHeader-Ces-_Aei.js.map} +1 -1
  9. package/chunk/AnnouncingHeader-D01_AW-Z.js +4 -4
  10. package/chunk/{ApiUrls-B5vLKYvr.js → ApiUrls-BSpA-EvE.js} +15 -11
  11. package/chunk/ApiUrls-BSpA-EvE.js.map +1 -0
  12. package/chunk/{ApiUrls-BcXgSxEa.js → ApiUrls-D2NBzsjd.js} +12 -10
  13. package/chunk/ApiUrls-D2NBzsjd.js.map +1 -0
  14. package/chunk/{BirthDateComponent-CtIUFEqa.js → BirthDateComponent-BtHq4Iif.js} +5 -5
  15. package/chunk/{BirthDateComponent-BlCFzJvT.js.map → BirthDateComponent-BtHq4Iif.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-BlCFzJvT.js → BirthDateComponent-DrSpm0Qd.js} +8 -8
  17. package/chunk/{BirthDateComponent-CtIUFEqa.js.map → BirthDateComponent-DrSpm0Qd.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-CEPB12BX.js → CaptchaComponent-BG-8kESy.js} +89 -89
  19. package/chunk/{CaptchaComponent-CEPB12BX.js.map → CaptchaComponent-BG-8kESy.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-DZXh70CY.js → CaptchaComponent-Bc1fHINu.js} +6 -6
  21. package/chunk/{CaptchaComponent-DZXh70CY.js.map → CaptchaComponent-Bc1fHINu.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-CrvVzjED.js → ChangeLocaleComponent-BGbETEkv.js} +5 -5
  23. package/chunk/{ChangeLocaleComponent-CrvVzjED.js.map → ChangeLocaleComponent-BGbETEkv.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-Fvf4xg_B.js → ChangeLocaleComponent-CW99SZg6.js} +8 -8
  25. package/chunk/{ChangeLocaleComponent-Fvf4xg_B.js.map → ChangeLocaleComponent-CW99SZg6.js.map} +1 -1
  26. package/chunk/City-BJB8URp9.js +4 -4
  27. package/chunk/{City-EIxs9ACD.js → City-C1CWD14n.js} +7 -7
  28. package/chunk/{City-EIxs9ACD.js.map → City-C1CWD14n.js.map} +1 -1
  29. package/chunk/{CollegeNameComponent-CyF8y5LT.js → CollegeNameComponent-CgEhhfKb.js} +5 -5
  30. package/chunk/{CollegeNameComponent-CyF8y5LT.js.map → CollegeNameComponent-CgEhhfKb.js.map} +1 -1
  31. package/chunk/{CollegeNameComponent-ytoSBrc1.js → CollegeNameComponent-_X8YrEiD.js} +9 -9
  32. package/chunk/{CollegeNameComponent-ytoSBrc1.js.map → CollegeNameComponent-_X8YrEiD.js.map} +1 -1
  33. package/chunk/{CopyToClipboardComponent-L-1toxiA.js → CopyToClipboardComponent-C4DDGwe8.js} +6 -6
  34. package/chunk/{CopyToClipboardComponent-L-1toxiA.js.map → CopyToClipboardComponent-C4DDGwe8.js.map} +1 -1
  35. package/chunk/CopyToClipboardComponent-CWCaNcMS.js +4 -4
  36. package/chunk/{CountryComponentWrapper-BteQlq9g.js → CountryComponentWrapper-5NauYfPI.js} +5 -5
  37. package/chunk/{CountryComponentWrapper-9Y3eZHBf.js.map → CountryComponentWrapper-5NauYfPI.js.map} +1 -1
  38. package/chunk/{CountryComponentWrapper-9Y3eZHBf.js → CountryComponentWrapper-DIwD6bnY.js} +10 -10
  39. package/chunk/{CountryComponentWrapper-BteQlq9g.js.map → CountryComponentWrapper-DIwD6bnY.js.map} +1 -1
  40. package/chunk/{DischargeDateComponent-m4U3dxGy.js → DischargeDateComponent-BL8p4AAH.js} +7 -7
  41. package/chunk/{DischargeDateComponent-m4U3dxGy.js.map → DischargeDateComponent-BL8p4AAH.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-Dbf5lEnD.js → DischargeDateComponent-CeJ1mFmV.js} +11 -11
  43. package/chunk/{DischargeDateComponent-Dbf5lEnD.js.map → DischargeDateComponent-CeJ1mFmV.js.map} +1 -1
  44. package/chunk/{DriverLicenseNumberComponent-rkswBl9W.js → DriverLicenseNumberComponent-CFbngokf.js} +7 -7
  45. package/chunk/{DriverLicenseNumberComponent-rkswBl9W.js.map → DriverLicenseNumberComponent-CFbngokf.js.map} +1 -1
  46. package/chunk/DriverLicenseNumberComponent-Cfjxx2ik.js +4 -4
  47. package/chunk/EmailLoopPending-B4Fh096x.js +141 -0
  48. package/chunk/EmailLoopPending-B4Fh096x.js.map +1 -0
  49. package/chunk/EmailLoopPending-CGfAWhh1.js +137 -0
  50. package/chunk/EmailLoopPending-CGfAWhh1.js.map +1 -0
  51. package/chunk/{ExtraMessage-Dl0RzcnQ.js → ExtraMessage-BsiERsIi.js} +7 -7
  52. package/chunk/{ExtraMessage-CxSrc328.js.map → ExtraMessage-BsiERsIi.js.map} +1 -1
  53. package/chunk/{ExtraMessage-CxSrc328.js → ExtraMessage-HTrDGLg2.js} +5 -5
  54. package/chunk/{ExtraMessage-Dl0RzcnQ.js.map → ExtraMessage-HTrDGLg2.js.map} +1 -1
  55. package/chunk/{FirstResponderOrganizationComponent-CUlc-aZ6.js → FirstResponderOrganizationComponent-BIHryrkz.js} +8 -8
  56. package/chunk/{FirstResponderOrganizationComponent-CUlc-aZ6.js.map → FirstResponderOrganizationComponent-BIHryrkz.js.map} +1 -1
  57. package/chunk/{FirstResponderOrganizationComponent-DRcXZ4Sd.js → FirstResponderOrganizationComponent-DxQ7b_E4.js} +5 -5
  58. package/chunk/{FirstResponderOrganizationComponent-DRcXZ4Sd.js.map → FirstResponderOrganizationComponent-DxQ7b_E4.js.map} +1 -1
  59. package/chunk/{FormFieldInputSelect-aeEEBx8S.js → FormFieldInputSelect-BZOrwRe2.js} +5 -5
  60. package/chunk/{FormFieldInputSelect-aeEEBx8S.js.map → FormFieldInputSelect-BZOrwRe2.js.map} +1 -1
  61. package/chunk/{FormFieldInputSelect-CZ-rw9cV.js → FormFieldInputSelect-CwaMM3Sq.js} +7 -7
  62. package/chunk/{FormFieldInputSelect-CZ-rw9cV.js.map → FormFieldInputSelect-CwaMM3Sq.js.map} +1 -1
  63. package/chunk/{FormFieldLayout-CZyAbU7A.js → FormFieldLayout-BPBIL09f.js} +6 -6
  64. package/chunk/{FormFieldLayout-CZyAbU7A.js.map → FormFieldLayout-BPBIL09f.js.map} +1 -1
  65. package/chunk/FormFieldLayout-CuxYu2-h.js +4 -4
  66. package/chunk/{FormFieldText-hh7QLPOB.js → FormFieldText-BTWjkwwz.js} +7 -7
  67. package/chunk/{FormFieldText-hh7QLPOB.js.map → FormFieldText-BTWjkwwz.js.map} +1 -1
  68. package/chunk/FormFieldText-Qen7EAhG.js +4 -4
  69. package/chunk/{FormFieldTypeahead-CXopvS9K.js → FormFieldTypeahead-D0x3JaT6.js} +15 -15
  70. package/chunk/{FormFieldTypeahead-CXopvS9K.js.map → FormFieldTypeahead-D0x3JaT6.js.map} +1 -1
  71. package/chunk/{FormFieldTypeahead-D2s4xxy1.js → FormFieldTypeahead-DAtS-f0j.js} +7 -7
  72. package/chunk/{FormFieldTypeahead-D2s4xxy1.js.map → FormFieldTypeahead-DAtS-f0j.js.map} +1 -1
  73. package/chunk/{FormFooterComponent-BO7L9C9d.js → FormFooterComponent-1R8WNHYQ.js} +14 -14
  74. package/chunk/{FormFooterComponent-BO7L9C9d.js.map → FormFooterComponent-1R8WNHYQ.js.map} +1 -1
  75. package/chunk/{FormFooterComponent-CU22Zek6.js → FormFooterComponent-B8ugGLFu.js} +7 -7
  76. package/chunk/{FormFooterComponent-CU22Zek6.js.map → FormFooterComponent-B8ugGLFu.js.map} +1 -1
  77. package/chunk/{FormSelectChoice-Iha1-Hdy.js → FormSelectChoice-DNly6WMw.js} +8 -8
  78. package/chunk/{FormSelectChoice-CPYHvkif.js.map → FormSelectChoice-DNly6WMw.js.map} +1 -1
  79. package/chunk/{FormSelectChoice-CPYHvkif.js → FormSelectChoice-U1Rhqazm.js} +5 -5
  80. package/chunk/{FormSelectChoice-Iha1-Hdy.js.map → FormSelectChoice-U1Rhqazm.js.map} +1 -1
  81. package/chunk/InputText-Bw9hR6-E.js +4 -4
  82. package/chunk/{InputText-DLjv31-v.js → InputText-C8Mt-ybW.js} +7 -7
  83. package/chunk/{InputText-DLjv31-v.js.map → InputText-C8Mt-ybW.js.map} +1 -1
  84. package/chunk/{LicensedProfessionalOrganizationComponent-BsLhfoSG.js → LicensedProfessionalOrganizationComponent-CX-kVW_-.js} +5 -5
  85. package/chunk/{LicensedProfessionalOrganizationComponent-BsLhfoSG.js.map → LicensedProfessionalOrganizationComponent-CX-kVW_-.js.map} +1 -1
  86. package/chunk/{LicensedProfessionalOrganizationComponent-DZ7qK6nh.js → LicensedProfessionalOrganizationComponent-DmNTI3AC.js} +8 -8
  87. package/chunk/{LicensedProfessionalOrganizationComponent-DZ7qK6nh.js.map → LicensedProfessionalOrganizationComponent-DmNTI3AC.js.map} +1 -1
  88. package/chunk/LogoComponent-BbW4WS1K.js +4 -4
  89. package/chunk/{LogoComponent-DwoLE9u6.js → LogoComponent-CRfZyj0K.js} +6 -6
  90. package/chunk/{LogoComponent-DwoLE9u6.js.map → LogoComponent-CRfZyj0K.js.map} +1 -1
  91. package/chunk/{LowIncomeOrganizationComponent-DqJ5NKLy.js → LowIncomeOrganizationComponent-BiHU-zNm.js} +12 -12
  92. package/chunk/{LowIncomeOrganizationComponent-B4mPJzAU.js.map → LowIncomeOrganizationComponent-BiHU-zNm.js.map} +1 -1
  93. package/chunk/{LowIncomeOrganizationComponent-B4mPJzAU.js → LowIncomeOrganizationComponent-Hth2rGlu.js} +7 -7
  94. package/chunk/{LowIncomeOrganizationComponent-DqJ5NKLy.js.map → LowIncomeOrganizationComponent-Hth2rGlu.js.map} +1 -1
  95. package/chunk/{MedicalProfessionalOrganizationComponent-B5W2hJuV.js → MedicalProfessionalOrganizationComponent-DcgIWx2N.js} +5 -5
  96. package/chunk/{MedicalProfessionalOrganizationComponent-B5W2hJuV.js.map → MedicalProfessionalOrganizationComponent-DcgIWx2N.js.map} +1 -1
  97. package/chunk/{MedicalProfessionalOrganizationComponent-DUMdhpf3.js → MedicalProfessionalOrganizationComponent-P2DcDMBc.js} +8 -8
  98. package/chunk/{MedicalProfessionalOrganizationComponent-DUMdhpf3.js.map → MedicalProfessionalOrganizationComponent-P2DcDMBc.js.map} +1 -1
  99. package/chunk/MemberIdComponent-CuflPh6q.js +4 -4
  100. package/chunk/{MemberIdComponent-B5k8k7Ri.js → MemberIdComponent-DbvTJcos.js} +7 -7
  101. package/chunk/{MemberIdComponent-B5k8k7Ri.js.map → MemberIdComponent-DbvTJcos.js.map} +1 -1
  102. package/chunk/{MembershipOrganizationComponent-BGzBWtXQ.js → MembershipOrganizationComponent-CVr_5zc3.js} +8 -8
  103. package/chunk/{MembershipOrganizationComponent-uLqbKcIZ.js.map → MembershipOrganizationComponent-CVr_5zc3.js.map} +1 -1
  104. package/chunk/{MembershipOrganizationComponent-uLqbKcIZ.js → MembershipOrganizationComponent-DntafM-o.js} +5 -5
  105. package/chunk/{MembershipOrganizationComponent-BGzBWtXQ.js.map → MembershipOrganizationComponent-DntafM-o.js.map} +1 -1
  106. package/chunk/Onfido-CTCgAwnB.js +4 -4
  107. package/chunk/{PersonalInfoStepSubmitButton-GRWIeaA0.js → PersonalInfoStepSubmitButton-C7QmpcVd.js} +11 -11
  108. package/chunk/{PersonalInfoStepSubmitButton-GRWIeaA0.js.map → PersonalInfoStepSubmitButton-C7QmpcVd.js.map} +1 -1
  109. package/chunk/PersonalInfoStepSubmitButton-D55ut5Yp.js +4 -4
  110. package/chunk/{PersonalInfoStepWrapper-DXND4HuU.js → PersonalInfoStepWrapper-BvWqmplR.js} +8 -8
  111. package/chunk/{PersonalInfoStepWrapper-DXND4HuU.js.map → PersonalInfoStepWrapper-BvWqmplR.js.map} +1 -1
  112. package/chunk/{PersonalInfoStepWrapper-F2C8W598.js → PersonalInfoStepWrapper-CZ9RvUM1.js} +5 -5
  113. package/chunk/{PersonalInfoStepWrapper-F2C8W598.js.map → PersonalInfoStepWrapper-CZ9RvUM1.js.map} +1 -1
  114. package/chunk/PostalCodeComponent-Bs9KyOzc.js +4 -4
  115. package/chunk/{PostalCodeComponent-D9AMJfw1.js → PostalCodeComponent-Cd3MQUvZ.js} +7 -7
  116. package/chunk/{PostalCodeComponent-D9AMJfw1.js.map → PostalCodeComponent-Cd3MQUvZ.js.map} +1 -1
  117. package/chunk/SSN-Bj9BhqVP.js +4 -4
  118. package/chunk/{SSN-U1aHmtP9.js → SSN-xvlX6KT5.js} +8 -8
  119. package/chunk/{SSN-U1aHmtP9.js.map → SSN-xvlX6KT5.js.map} +1 -1
  120. package/chunk/{StateSelectComponent-DdjrQaBJ.js → StateSelectComponent-DB-icJb4.js} +5 -5
  121. package/chunk/{StateSelectComponent-DdjrQaBJ.js.map → StateSelectComponent-DB-icJb4.js.map} +1 -1
  122. package/chunk/{StateSelectComponent-oAM-jm-h.js → StateSelectComponent-HNquhK5M.js} +6 -6
  123. package/chunk/{StateSelectComponent-oAM-jm-h.js.map → StateSelectComponent-HNquhK5M.js.map} +1 -1
  124. package/chunk/{StatusComponent-BRvucFd7.js → StatusComponent-CbxiKW6N.js} +5 -5
  125. package/chunk/{StatusComponent-BRvucFd7.js.map → StatusComponent-CbxiKW6N.js.map} +1 -1
  126. package/chunk/{StatusComponent-DM7V7Crn.js → StatusComponent-FCCzivNr.js} +8 -8
  127. package/chunk/{StatusComponent-DM7V7Crn.js.map → StatusComponent-FCCzivNr.js.map} +1 -1
  128. package/chunk/{StepActiveMilitaryPersonalInfoComponent-_ALbMkY2.js → StepActiveMilitaryPersonalInfoComponent-80fdvKYN.js} +19 -19
  129. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DxLolnvF.js.map → StepActiveMilitaryPersonalInfoComponent-80fdvKYN.js.map} +1 -1
  130. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DxLolnvF.js → StepActiveMilitaryPersonalInfoComponent-B5It1LHf.js} +13 -13
  131. package/chunk/{StepActiveMilitaryPersonalInfoComponent-_ALbMkY2.js.map → StepActiveMilitaryPersonalInfoComponent-B5It1LHf.js.map} +1 -1
  132. package/chunk/{StepAgePersonalInfo-R7mSnHbY.js → StepAgePersonalInfo-D99jCwDW.js} +12 -12
  133. package/chunk/{StepAgePersonalInfo-R7mSnHbY.js.map → StepAgePersonalInfo-D99jCwDW.js.map} +1 -1
  134. package/chunk/{StepAgePersonalInfo-DP4M6F92.js → StepAgePersonalInfo-dGaBneRd.js} +19 -19
  135. package/chunk/{StepAgePersonalInfo-DP4M6F92.js.map → StepAgePersonalInfo-dGaBneRd.js.map} +1 -1
  136. package/chunk/StepCard-CPjUPPj0.js +4 -4
  137. package/chunk/{StepCard-C_A_mMZ0.js → StepCard-CbZaVC-t.js} +5 -5
  138. package/chunk/{StepCard-C_A_mMZ0.js.map → StepCard-CbZaVC-t.js.map} +1 -1
  139. package/chunk/{StepCollectIdentifier-7bhykca3.js → StepCollectIdentifier-B1TMICO6.js} +5 -5
  140. package/chunk/{StepCollectIdentifier-7bhykca3.js.map → StepCollectIdentifier-B1TMICO6.js.map} +1 -1
  141. package/chunk/{StepCollectIdentifier-sNYn2cRe.js → StepCollectIdentifier-DTJvarZx.js} +9 -9
  142. package/chunk/{StepCollectIdentifier-sNYn2cRe.js.map → StepCollectIdentifier-DTJvarZx.js.map} +1 -1
  143. package/chunk/StepCollectMilitaryStatusComponent-DI0gV31g.js +9 -0
  144. package/chunk/{StepCollectMilitaryStatusComponent-tWfm5Pve.js → StepCollectMilitaryStatusComponent-DnwYFCWA.js} +5 -5
  145. package/chunk/{StepCollectPersonalInfo-DexSTaT3.js → StepCollectPersonalInfo-DpR-uelA.js} +20 -20
  146. package/chunk/{StepCollectPersonalInfo-DexSTaT3.js.map → StepCollectPersonalInfo-DpR-uelA.js.map} +1 -1
  147. package/chunk/{StepCollectPersonalInfo-BRZCZbqu.js → StepCollectPersonalInfo-DpnPSRSb.js} +31 -31
  148. package/chunk/{StepCollectPersonalInfo-BRZCZbqu.js.map → StepCollectPersonalInfo-DpnPSRSb.js.map} +1 -1
  149. package/chunk/{StepCompleteAuthentication-B_kMG5T4.js → StepCompleteAuthentication-AKjdo3J9.js} +63 -60
  150. package/chunk/{StepCompleteAuthentication-B_kMG5T4.js.map → StepCompleteAuthentication-AKjdo3J9.js.map} +1 -1
  151. package/chunk/{StepCompleteAuthentication-WNoY9V_A.js → StepCompleteAuthentication-DytIfFlB.js} +68 -65
  152. package/chunk/{StepCompleteAuthentication-WNoY9V_A.js.map → StepCompleteAuthentication-DytIfFlB.js.map} +1 -1
  153. package/chunk/StepConsolation-BXsey-Qa.js +106 -0
  154. package/chunk/StepConsolation-BXsey-Qa.js.map +1 -0
  155. package/chunk/StepConsolation-CU5th9Bj.js +102 -0
  156. package/chunk/StepConsolation-CU5th9Bj.js.map +1 -0
  157. package/chunk/{StepDocUpload-Ci1HX8CC.js → StepDocUpload-DN9ZfWII.js} +13 -13
  158. package/chunk/{StepDocUpload-Ci1HX8CC.js.map → StepDocUpload-DN9ZfWII.js.map} +1 -1
  159. package/chunk/{StepDocUpload-CN4RAwbE.js → StepDocUpload-DSoMUEzB.js} +5 -5
  160. package/chunk/{StepDocUpload-CN4RAwbE.js.map → StepDocUpload-DSoMUEzB.js.map} +1 -1
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-EDit8M3P.js → StepDriverLicensePersonalInfoComponent-DAzXiXpo.js} +10 -10
  162. package/chunk/{StepDriverLicensePersonalInfoComponent-EDit8M3P.js.map → StepDriverLicensePersonalInfoComponent-DAzXiXpo.js.map} +1 -1
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-BTOc_Uc_.js → StepDriverLicensePersonalInfoComponent-k4-3JHQu.js} +16 -16
  164. package/chunk/{StepDriverLicensePersonalInfoComponent-BTOc_Uc_.js.map → StepDriverLicensePersonalInfoComponent-k4-3JHQu.js.map} +1 -1
  165. package/chunk/{StepEmailLoop-DyY8tAWO.js → StepEmailLoop-CFCTUQ2H.js} +6 -6
  166. package/chunk/{StepEmailLoop-DyY8tAWO.js.map → StepEmailLoop-CFCTUQ2H.js.map} +1 -1
  167. package/chunk/{StepEmailLoop-B6CvuWyG.js → StepEmailLoop-D-HkcLYo.js} +13 -13
  168. package/chunk/{StepEmailLoop-B6CvuWyG.js.map → StepEmailLoop-D-HkcLYo.js.map} +1 -1
  169. package/chunk/{StepEmploymentPersonalInfo-_NvDgTe9.js → StepEmploymentPersonalInfo-BTsNHWZF.js} +11 -11
  170. package/chunk/{StepEmploymentPersonalInfo-DgtioEvB.js.map → StepEmploymentPersonalInfo-BTsNHWZF.js.map} +1 -1
  171. package/chunk/{StepEmploymentPersonalInfo-DgtioEvB.js → StepEmploymentPersonalInfo-Bana5lJJ.js} +19 -19
  172. package/chunk/{StepEmploymentPersonalInfo-_NvDgTe9.js.map → StepEmploymentPersonalInfo-Bana5lJJ.js.map} +1 -1
  173. package/chunk/{StepFirstResponderPersonalInfo-Dnsn0xjq.js → StepFirstResponderPersonalInfo-0Wmk4K8o.js} +19 -19
  174. package/chunk/{StepFirstResponderPersonalInfo-BXcyAYbq.js.map → StepFirstResponderPersonalInfo-0Wmk4K8o.js.map} +1 -1
  175. package/chunk/{StepFirstResponderPersonalInfo-BXcyAYbq.js → StepFirstResponderPersonalInfo-E8DwIYDK.js} +13 -13
  176. package/chunk/{StepFirstResponderPersonalInfo-Dnsn0xjq.js.map → StepFirstResponderPersonalInfo-E8DwIYDK.js.map} +1 -1
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-C-SxfYZK.js → StepGeneralIdentityPersonalInfoComponent-CvK2tVsW.js} +19 -19
  178. package/chunk/{StepGeneralIdentityPersonalInfoComponent-C-SxfYZK.js.map → StepGeneralIdentityPersonalInfoComponent-CvK2tVsW.js.map} +1 -1
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-_kR3oKU-.js → StepGeneralIdentityPersonalInfoComponent-DynWrWja.js} +11 -11
  180. package/chunk/{StepGeneralIdentityPersonalInfoComponent-_kR3oKU-.js.map → StepGeneralIdentityPersonalInfoComponent-DynWrWja.js.map} +1 -1
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-D1x814qR.js → StepHybridIdentityPersonalInfoComponent-DPl3W3Cf.js} +11 -11
  182. package/chunk/{StepHybridIdentityPersonalInfoComponent-BcEg0jbb.js.map → StepHybridIdentityPersonalInfoComponent-DPl3W3Cf.js.map} +1 -1
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-BcEg0jbb.js → StepHybridIdentityPersonalInfoComponent-oxxDx61O.js} +20 -20
  184. package/chunk/{StepHybridIdentityPersonalInfoComponent-D1x814qR.js.map → StepHybridIdentityPersonalInfoComponent-oxxDx61O.js.map} +1 -1
  185. package/chunk/{StepIDCheckLoop-5qhfwZLd.js → StepIDCheckLoop-C55UI0Oi.js} +8 -8
  186. package/chunk/{StepIDCheckLoop-5qhfwZLd.js.map → StepIDCheckLoop-C55UI0Oi.js.map} +1 -1
  187. package/chunk/{StepIDCheckLoop-XkMrCzeK.js → StepIDCheckLoop-Dt7xuo29.js} +5 -5
  188. package/chunk/{StepIDCheckLoop-XkMrCzeK.js.map → StepIDCheckLoop-Dt7xuo29.js.map} +1 -1
  189. package/chunk/{StepIDCheckLoopOnfido-DEtpbRFp.js → StepIDCheckLoopOnfido-BFOFCYz9.js} +7 -7
  190. package/chunk/{StepIDCheckLoopOnfido-DEtpbRFp.js.map → StepIDCheckLoopOnfido-BFOFCYz9.js.map} +1 -1
  191. package/chunk/{StepIDCheckLoopOnfido-BJq3mQWH.js → StepIDCheckLoopOnfido-FXOQfnb5.js} +12 -12
  192. package/chunk/{StepIDCheckLoopOnfido-BJq3mQWH.js.map → StepIDCheckLoopOnfido-FXOQfnb5.js.map} +1 -1
  193. package/chunk/{StepIDCheckLoopRegula-Dmo3zlwX.js → StepIDCheckLoopRegula-V5XUp5Sp.js} +5 -5
  194. package/chunk/{StepIDCheckLoopRegula-DHhp7cTA.js.map → StepIDCheckLoopRegula-V5XUp5Sp.js.map} +1 -1
  195. package/chunk/{StepIDCheckLoopRegula-DHhp7cTA.js → StepIDCheckLoopRegula-nrHR4HBV.js} +10 -10
  196. package/chunk/{StepIDCheckLoopRegula-Dmo3zlwX.js.map → StepIDCheckLoopRegula-nrHR4HBV.js.map} +1 -1
  197. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-lev_o__q.js → StepInactiveMilitaryPersonalInfoComponent-4IM-NgSZ.js} +15 -15
  198. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-7oJewmOI.js.map → StepInactiveMilitaryPersonalInfoComponent-4IM-NgSZ.js.map} +1 -1
  199. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-7oJewmOI.js → StepInactiveMilitaryPersonalInfoComponent-C-EKKZ_Y.js} +24 -24
  200. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-lev_o__q.js.map → StepInactiveMilitaryPersonalInfoComponent-C-EKKZ_Y.js.map} +1 -1
  201. package/chunk/{StepLicensedProfessionalPersonalInfo-CsDpP6DL.js → StepLicensedProfessionalPersonalInfo-CCpe2JOf.js} +18 -18
  202. package/chunk/{StepLicensedProfessionalPersonalInfo-CsDpP6DL.js.map → StepLicensedProfessionalPersonalInfo-CCpe2JOf.js.map} +1 -1
  203. package/chunk/{StepLicensedProfessionalPersonalInfo-CU4M_MGi.js → StepLicensedProfessionalPersonalInfo-Dmro2sZO.js} +13 -13
  204. package/chunk/{StepLicensedProfessionalPersonalInfo-CU4M_MGi.js.map → StepLicensedProfessionalPersonalInfo-Dmro2sZO.js.map} +1 -1
  205. package/chunk/{StepLowIncomePersonalInfo-DJZEuLEy.js → StepLowIncomePersonalInfo-B3tof8VK.js} +13 -13
  206. package/chunk/{StepLowIncomePersonalInfo-DJZEuLEy.js.map → StepLowIncomePersonalInfo-B3tof8VK.js.map} +1 -1
  207. package/chunk/{StepLowIncomePersonalInfo-DX0OiL24.js → StepLowIncomePersonalInfo-o80w9ZIz.js} +22 -22
  208. package/chunk/{StepLowIncomePersonalInfo-DX0OiL24.js.map → StepLowIncomePersonalInfo-o80w9ZIz.js.map} +1 -1
  209. package/chunk/{StepMedicalProfessionalPersonalInfo-Dhs_MKzu.js → StepMedicalProfessionalPersonalInfo-COU9jt5d.js} +20 -20
  210. package/chunk/{StepMedicalProfessionalPersonalInfo-Dhs_MKzu.js.map → StepMedicalProfessionalPersonalInfo-COU9jt5d.js.map} +1 -1
  211. package/chunk/{StepMedicalProfessionalPersonalInfo-shccq-nA.js → StepMedicalProfessionalPersonalInfo-DMYnTMCS.js} +14 -14
  212. package/chunk/{StepMedicalProfessionalPersonalInfo-shccq-nA.js.map → StepMedicalProfessionalPersonalInfo-DMYnTMCS.js.map} +1 -1
  213. package/chunk/{StepMemberPersonalInfo-CgsclHfv.js → StepMemberPersonalInfo-CVUtun0N.js} +12 -12
  214. package/chunk/{StepMemberPersonalInfo-CgsclHfv.js.map → StepMemberPersonalInfo-CVUtun0N.js.map} +1 -1
  215. package/chunk/{StepMemberPersonalInfo-jKnQ1c0R.js → StepMemberPersonalInfo-U-DDdhfI.js} +17 -17
  216. package/chunk/{StepMemberPersonalInfo-jKnQ1c0R.js.map → StepMemberPersonalInfo-U-DDdhfI.js.map} +1 -1
  217. package/chunk/{StepMoverPersonalInfo-BRjIX2St.js → StepMoverPersonalInfo-BPjXPhGE.js} +15 -15
  218. package/chunk/{StepMoverPersonalInfo-BRjIX2St.js.map → StepMoverPersonalInfo-BPjXPhGE.js.map} +1 -1
  219. package/chunk/{StepMoverPersonalInfo-nC0_CRFe.js → StepMoverPersonalInfo-DVJeXj4p.js} +9 -9
  220. package/chunk/{StepMoverPersonalInfo-nC0_CRFe.js.map → StepMoverPersonalInfo-DVJeXj4p.js.map} +1 -1
  221. package/chunk/{StepOverrideComponent-Bs2XE8Wg.js → StepOverrideComponent-C9RKQNbb.js} +5 -5
  222. package/chunk/{StepOverrideComponent-Bs2XE8Wg.js.map → StepOverrideComponent-C9RKQNbb.js.map} +1 -1
  223. package/chunk/{StepOverrideComponent-DkpF6O_a.js → StepOverrideComponent-DxptMf1-.js} +11 -11
  224. package/chunk/{StepOverrideComponent-DkpF6O_a.js.map → StepOverrideComponent-DxptMf1-.js.map} +1 -1
  225. package/chunk/StepSMSLoop-DXcFnMxw.js +184 -0
  226. package/chunk/StepSMSLoop-DXcFnMxw.js.map +1 -0
  227. package/chunk/StepSMSLoop-Sw6fpsl2.js +180 -0
  228. package/chunk/StepSMSLoop-Sw6fpsl2.js.map +1 -0
  229. package/chunk/StepSSO-BGHCbduX.js +4 -4
  230. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  231. package/chunk/{StepSocialSecurityNumber-sKJq2Xm4.js → StepSocialSecurityNumber-BqFiivH2.js} +6 -6
  232. package/chunk/{StepSocialSecurityNumber-Cg7NnUnH.js.map → StepSocialSecurityNumber-BqFiivH2.js.map} +1 -1
  233. package/chunk/{StepSocialSecurityNumber-Cg7NnUnH.js → StepSocialSecurityNumber-Ctj2VlDU.js} +13 -13
  234. package/chunk/{StepSocialSecurityNumber-sKJq2Xm4.js.map → StepSocialSecurityNumber-Ctj2VlDU.js.map} +1 -1
  235. package/chunk/{StepStudentPersonalInfo-BT_mRXil.js → StepStudentPersonalInfo-D2pk-8s_.js} +13 -13
  236. package/chunk/{StepStudentPersonalInfo-BT_mRXil.js.map → StepStudentPersonalInfo-D2pk-8s_.js.map} +1 -1
  237. package/chunk/{StepStudentPersonalInfo-CIMl8KxG.js → StepStudentPersonalInfo-RPB8ihlV.js} +19 -19
  238. package/chunk/{StepStudentPersonalInfo-CIMl8KxG.js.map → StepStudentPersonalInfo-RPB8ihlV.js.map} +1 -1
  239. package/chunk/{StepSuccess-CKwAznSI.js → StepSuccess-BQBziAXc.js} +78 -74
  240. package/chunk/StepSuccess-BQBziAXc.js.map +1 -0
  241. package/chunk/{StepSuccess-C0mf9tuw.js → StepSuccess-e7HG4ePN.js} +104 -100
  242. package/chunk/StepSuccess-e7HG4ePN.js.map +1 -0
  243. package/chunk/{StepTeacherPersonalInfo-DKTvW9U-.js → StepTeacherPersonalInfo-B7uUAMg6.js} +18 -18
  244. package/chunk/{StepTeacherPersonalInfo-CGYMtsOJ.js.map → StepTeacherPersonalInfo-B7uUAMg6.js.map} +1 -1
  245. package/chunk/{StepTeacherPersonalInfo-CGYMtsOJ.js → StepTeacherPersonalInfo-Cezkzt9-.js} +13 -13
  246. package/chunk/{StepTeacherPersonalInfo-DKTvW9U-.js.map → StepTeacherPersonalInfo-Cezkzt9-.js.map} +1 -1
  247. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  248. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  249. package/chunk/{TeacherSchoolComponent-CwHaYq9G.js → TeacherSchoolComponent-B1TEhsOV.js} +9 -9
  250. package/chunk/{TeacherSchoolComponent-CwHaYq9G.js.map → TeacherSchoolComponent-B1TEhsOV.js.map} +1 -1
  251. package/chunk/{TeacherSchoolComponent-CR4ZGtU6.js → TeacherSchoolComponent-Cwzczii7.js} +5 -5
  252. package/chunk/{TeacherSchoolComponent-CR4ZGtU6.js.map → TeacherSchoolComponent-Cwzczii7.js.map} +1 -1
  253. package/chunk/TestingRouteOverrides-BeBP6XXB.js +4 -4
  254. package/chunk/{TestingRouteOverrides-DmJbygl9.js → TestingRouteOverrides-Bt8QuyMY.js} +13 -13
  255. package/chunk/{TestingRouteOverrides-DmJbygl9.js.map → TestingRouteOverrides-Bt8QuyMY.js.map} +1 -1
  256. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  257. package/chunk/{VerificationApiClient-CpzKo8CK.js → VerificationApiClient-BTck-af9.js} +5 -5
  258. package/chunk/{VerificationApiClient-CpzKo8CK.js.map → VerificationApiClient-BTck-af9.js.map} +1 -1
  259. package/chunk/{VerificationApiClient-Cw-SQiMg.js → VerificationApiClient-DIt6HZRu.js} +36 -36
  260. package/chunk/{VerificationApiClient-Cw-SQiMg.js.map → VerificationApiClient-DIt6HZRu.js.map} +1 -1
  261. package/chunk/{VerificationApiUtils-XACHG8Nw.js → VerificationApiUtils-DEbZosCm.js} +8 -8
  262. package/chunk/{VerificationApiUtils-DmygShO1.js.map → VerificationApiUtils-DEbZosCm.js.map} +1 -1
  263. package/chunk/{VerificationApiUtils-DmygShO1.js → VerificationApiUtils-DQlrPmrh.js} +6 -6
  264. package/chunk/{VerificationApiUtils-XACHG8Nw.js.map → VerificationApiUtils-DQlrPmrh.js.map} +1 -1
  265. package/chunk/ar-Dh-2G5c3.js +4 -4
  266. package/chunk/bg-BbAhdJRh.js +4 -4
  267. package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
  268. package/chunk/countryUtils-Bg9KdIbF.js +4 -4
  269. package/chunk/{countryUtils-DuFXy-Lc.js → countryUtils-QLzXPJsg.js} +5 -5
  270. package/chunk/{countryUtils-DuFXy-Lc.js.map → countryUtils-QLzXPJsg.js.map} +1 -1
  271. package/chunk/cs-CYGsmvju.js +4 -4
  272. package/chunk/da-COZWvvUD.js +4 -4
  273. package/chunk/de-BHclNQGr.js +4 -4
  274. package/chunk/{downshift.esm-hrBuc949.js → downshift.esm-CqBJT95X.js} +7 -7
  275. package/chunk/{downshift.esm-hrBuc949.js.map → downshift.esm-CqBJT95X.js.map} +1 -1
  276. package/chunk/{downshift.esm-M1ITKpIf.js → downshift.esm-CwOn56SI.js} +5 -5
  277. package/chunk/{downshift.esm-M1ITKpIf.js.map → downshift.esm-CwOn56SI.js.map} +1 -1
  278. package/chunk/el-Bv_XQ0FX.js +4 -4
  279. package/chunk/empties-COfIPxJ5.js +4 -4
  280. package/chunk/{empties-1_PAn0id.js → empties-DctbDY5s.js} +5 -5
  281. package/chunk/{empties-1_PAn0id.js.map → empties-DctbDY5s.js.map} +1 -1
  282. package/chunk/en-GB-CkENrh2I.js +4 -4
  283. package/chunk/es-BRKAFTKN.js +4 -4
  284. package/chunk/es-ES-BWfAbWbQ.js +4 -4
  285. package/chunk/et-CxMgVbW2.js +4 -4
  286. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  287. package/chunk/fa-BEC3aNBF.js +4 -4
  288. package/chunk/fi-BaP3FR15.js +4 -4
  289. package/chunk/fr-CA-CS4SuM-m.js +4 -4
  290. package/chunk/fr-DSU2B7p2.js +4 -4
  291. package/chunk/ga-DZEr9X_A.js +4 -4
  292. package/chunk/hi-IN-DvBVpWNQ.js +4 -4
  293. package/chunk/{hooks-XC-iN9KQ.js → hooks-DLtMDttz.js} +7 -7
  294. package/chunk/{hooks-XC-iN9KQ.js.map → hooks-DLtMDttz.js.map} +1 -1
  295. package/chunk/hooks-PN48cX8E.js +4 -4
  296. package/chunk/hr-CL1lHDbu.js +4 -4
  297. package/chunk/hu-Cf5Uq9R_.js +4 -4
  298. package/chunk/id-ay9yilKx.js +4 -4
  299. package/chunk/{intl-DJeZs3uh.js → intl-TN1Dianl.js} +583 -583
  300. package/chunk/{intl-DJeZs3uh.js.map → intl-TN1Dianl.js.map} +1 -1
  301. package/chunk/is-tpzRyIZi.js +4 -4
  302. package/chunk/it-C3-BupR4.js +4 -4
  303. package/chunk/iw-CBna3XPT.js +4 -4
  304. package/chunk/ja-DvXOkZRn.js +4 -4
  305. package/chunk/{jsx-runtime-Dd4OJ9ft.js → jsx-runtime-QRCZ6ZTK.js} +5 -5
  306. package/chunk/{jsx-runtime-Dd4OJ9ft.js.map → jsx-runtime-QRCZ6ZTK.js.map} +1 -1
  307. package/chunk/jsx-runtime-lVLuHIkM.js +4 -4
  308. package/chunk/kk-DGXgY6Uw.js +4 -4
  309. package/chunk/ko-BlUGwGxN.js +4 -4
  310. package/chunk/lo-DT6wxwS1.js +4 -4
  311. package/chunk/lt-CT5-H4ci.js +4 -4
  312. package/chunk/lv-CBMD1XRp.js +4 -4
  313. package/chunk/{militaryStepHelpers-DHTF3XjP.js → militaryStepHelpers-CF0fNRKQ.js} +5 -5
  314. package/chunk/{militaryStepHelpers-DHTF3XjP.js.map → militaryStepHelpers-CF0fNRKQ.js.map} +1 -1
  315. package/chunk/militaryStepHelpers-W31scSUE.js +4 -4
  316. package/chunk/{mocks-D4xoUQMt.js → mocks-BN2OnOjp.js} +6 -6
  317. package/chunk/{mocks-D4xoUQMt.js.map → mocks-BN2OnOjp.js.map} +1 -1
  318. package/chunk/mocks-l2e0aaeT.js +4 -4
  319. package/chunk/ms-DuxNeOgk.js +4 -4
  320. package/chunk/nl-BE-D028qM7-.js +4 -4
  321. package/chunk/nl-DEuaat_s.js +4 -4
  322. package/chunk/no-CjeRjD1D.js +4 -4
  323. package/chunk/options-BK6Zk2Oe.js +4 -4
  324. package/chunk/pl-X0qJw7IS.js +4 -4
  325. package/chunk/programThemeGetters-4Wf-YSPx.js +4 -4
  326. package/chunk/{programThemeGetters-UDiPGnE3.js → programThemeGetters-DECHMs91.js} +5 -5
  327. package/chunk/{programThemeGetters-UDiPGnE3.js.map → programThemeGetters-DECHMs91.js.map} +1 -1
  328. package/chunk/pt-BR-C6XmLn3o.js +4 -4
  329. package/chunk/pt-o7v4iOVx.js +4 -4
  330. package/chunk/{refs-i0Eo9ybu.js → refs-6KTRrw-F.js} +5 -5
  331. package/chunk/{refs-i0Eo9ybu.js.map → refs-6KTRrw-F.js.map} +1 -1
  332. package/chunk/refs-B8CaE8yL.js +4 -4
  333. package/chunk/ro-C74ZR3HS.js +4 -4
  334. package/chunk/ru-BA9P3RVu.js +4 -4
  335. package/chunk/sk-DmyizV49.js +4 -4
  336. package/chunk/sl-Cxm3YoWE.js +4 -4
  337. package/chunk/sr-gOtgEOlP.js +4 -4
  338. package/chunk/stepComponentHelpers-Darhp1Nn.js +4 -4
  339. package/chunk/{stepComponentHelpers-D-rc0nWU.js → stepComponentHelpers-DeWac6nj.js} +9 -9
  340. package/chunk/{stepComponentHelpers-D-rc0nWU.js.map → stepComponentHelpers-DeWac6nj.js.map} +1 -1
  341. package/chunk/strings-DWLVdUcm.js +4 -4
  342. package/chunk/sv-DnCUWo1-.js +4 -4
  343. package/chunk/sw-BY7XXvUU.js +4 -4
  344. package/chunk/ta-CVL0b6Hh.js +4 -4
  345. package/chunk/th-CyU0RW3x.js +4 -4
  346. package/chunk/tl-BfgQ0irB.js +4 -4
  347. package/chunk/tr-BPg_L4bY.js +4 -4
  348. package/chunk/uk-CNaioa7V.js +4 -4
  349. package/chunk/ur-Ht1Mcpm0.js +4 -4
  350. package/chunk/{useCollectFieldsEndpoint-ReBPfbst.js → useCollectFieldsEndpoint-B_vdP-Vu.js} +6 -6
  351. package/chunk/{useCollectFieldsEndpoint-ReBPfbst.js.map → useCollectFieldsEndpoint-B_vdP-Vu.js.map} +1 -1
  352. package/chunk/{useCollectFieldsEndpoint-DCXfzoV7.js → useCollectFieldsEndpoint-DO9D14eY.js} +8 -8
  353. package/chunk/{useCollectFieldsEndpoint-DCXfzoV7.js.map → useCollectFieldsEndpoint-DO9D14eY.js.map} +1 -1
  354. package/chunk/{useMetrics-BXtJHRFy.js → useMetrics-CiB8jnkE.js} +7 -7
  355. package/chunk/{useMetrics-BXtJHRFy.js.map → useMetrics-CiB8jnkE.js.map} +1 -1
  356. package/chunk/useMetrics-iqbs0R1u.js +4 -4
  357. package/chunk/vi-sI1BYLXG.js +4 -4
  358. package/chunk/zh-DNG4VB8r.js +4 -4
  359. package/chunk/zh-HK-5Y3ROXEm.js +4 -4
  360. package/chunk/zu-DNMG8Idu.js +4 -4
  361. package/package.json +1 -1
  362. package/sheerid-install.css +4 -4
  363. package/sheerid-install.js +6 -5
  364. package/sheerid-install.js.map +1 -1
  365. package/sheerid.css +5 -5
  366. package/sheerid.js +59 -50
  367. package/sheerid.js.map +1 -1
  368. package/chunk/ApiUrls-B5vLKYvr.js.map +0 -1
  369. package/chunk/ApiUrls-BcXgSxEa.js.map +0 -1
  370. package/chunk/EmailLoopPending-D3LsHSo0.js +0 -134
  371. package/chunk/EmailLoopPending-D3LsHSo0.js.map +0 -1
  372. package/chunk/EmailLoopPending-Ml18pvL9.js +0 -138
  373. package/chunk/EmailLoopPending-Ml18pvL9.js.map +0 -1
  374. package/chunk/StepCollectMilitaryStatusComponent-0MHQL7f0.js +0 -9
  375. package/chunk/StepConsolation-BU0Q7g6d.js +0 -104
  376. package/chunk/StepConsolation-BU0Q7g6d.js.map +0 -1
  377. package/chunk/StepConsolation-CBAokl8O.js +0 -100
  378. package/chunk/StepConsolation-CBAokl8O.js.map +0 -1
  379. package/chunk/StepSMSLoop-B3EzYNuW.js +0 -177
  380. package/chunk/StepSMSLoop-B3EzYNuW.js.map +0 -1
  381. package/chunk/StepSMSLoop-DX_rdtoq.js +0 -181
  382. package/chunk/StepSMSLoop-DX_rdtoq.js.map +0 -1
  383. package/chunk/StepSuccess-C0mf9tuw.js.map +0 -1
  384. package/chunk/StepSuccess-CKwAznSI.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StateSelectComponent-oAM-jm-h.js","names":[],"sources":["../../src/components/FormFields/State/StateSelectComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\nexport const StateSelect = ({\n value,\n isErrored,\n options,\n onChange,\n intl,\n placeholder = \"\",\n label = \"\",\n isRequired = false,\n disabled = false,\n}: InputSelectComponentProps) => {\n const stateFieldId = \"state\";\n\n return (\n <FormFieldInputSelect\n fieldId={stateFieldId}\n value={options.find((option) => option.value === value)}\n refId=\"state\"\n onChange={(state: FormSelectChoice) => onChange(state)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"statePlaceholder\",\n defaultMessage: \"State\",\n })\n }\n label={label || <FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidState\" defaultMessage=\"Invalid state\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n options={options}\n isRequired={isRequired}\n buttonRef=\"inputSelectButtonState\"\n containerId={`sid-${stateFieldId}__select`}\n disabled={disabled}\n autoComplete=\"address-level1\"\n />\n );\n};\n\nexport const StateSelectComponent = injectIntl(StateSelect);\n"],"mappings":";;;aAgDa,IAAuB,GA3CR,EAC1B,UACA,cACA,YACA,aACA,SACA,iBAAc,IACd,WAAQ,IACR,gBAAa,IACb,cAAW,SACoB;CAC/B,IAAM,IAAe;CAErB,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACT,OAAO,EAAQ,MAAM,MAAW,EAAO,UAAU,CAAK;EACtD,OAAM;EACN,WAAW,MAA4B,EAAS,CAAK;EACrD,aACE,KACA,EAAK,kBAAkB;GACrB,IAAI;GACJ,gBAAgB;EAClB,CAAC;EAEH,OAAO,KAAS,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAQ,gBAAe;EAAS,CAAA;EACzE,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAuB,gBAAe;EAAiB,CAAA;EAGpF,6BAA6B,CAAC,CAAC;EACtB;EACG;EACZ,WAAU;EACV,aAAa,OAAO,EAAa;EACvB;EACV,cAAa;CACd,CAAA;AAEL,CAE0D"}
1
+ {"version":3,"file":"StateSelectComponent-HNquhK5M.js","names":[],"sources":["../../src/components/FormFields/State/StateSelectComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\nexport const StateSelect = ({\n value,\n isErrored,\n options,\n onChange,\n intl,\n placeholder = \"\",\n label = \"\",\n isRequired = false,\n disabled = false,\n}: InputSelectComponentProps) => {\n const stateFieldId = \"state\";\n\n return (\n <FormFieldInputSelect\n fieldId={stateFieldId}\n value={options.find((option) => option.value === value)}\n refId=\"state\"\n onChange={(state: FormSelectChoice) => onChange(state)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"statePlaceholder\",\n defaultMessage: \"State\",\n })\n }\n label={label || <FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidState\" defaultMessage=\"Invalid state\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n options={options}\n isRequired={isRequired}\n buttonRef=\"inputSelectButtonState\"\n containerId={`sid-${stateFieldId}__select`}\n disabled={disabled}\n autoComplete=\"address-level1\"\n />\n );\n};\n\nexport const StateSelectComponent = injectIntl(StateSelect);\n"],"mappings":";;;aAgDa,IAAuB,GA3CR,EAC1B,UACA,cACA,YACA,aACA,SACA,iBAAc,IACd,WAAQ,IACR,gBAAa,IACb,cAAW,SACoB;CAC/B,IAAM,IAAe;CAErB,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACT,OAAO,EAAQ,MAAM,MAAW,EAAO,UAAU,CAAK;EACtD,OAAM;EACN,WAAW,MAA4B,EAAS,CAAK;EACrD,aACE,KACA,EAAK,kBAAkB;GACrB,IAAI;GACJ,gBAAgB;EAClB,CAAC;EAEH,OAAO,KAAS,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAQ,gBAAe;EAAS,CAAA;EACzE,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAuB,gBAAe;EAAiB,CAAA;EAGpF,6BAA6B,CAAC,CAAC;EACtB;EACG;EACZ,WAAU;EACV,aAAa,OAAO,EAAa;EACvB;EACV,cAAa;CACd,CAAA;AAEL,CAE0D"}
@@ -1,14 +1,14 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.271.0
4
- * BUILD_TIMESTAMP: 1786663697687
5
- * BUILD_DATE: Thu Aug 13 2026 23:28:17 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 5d1a2ef3479b19233de1d8db2156b40e071d4727
3
+ * VERSION: 2.273.0
4
+ * BUILD_TIMESTAMP: 1787093698608
5
+ * BUILD_DATE: Tue Aug 18 2026 22:54:58 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 78d9641eca48fc07a34804c02d8d62a71025eebf
7
7
  */
8
8
  import { Jt as e } from "./options-BK6Zk2Oe.js";
9
9
  import { a as t, c as n, n as r, t as i } from "./jsx-runtime-lVLuHIkM.js";
10
10
  import { u as a } from "./stepComponentHelpers-Darhp1Nn.js";
11
- import { t as o } from "./FormFieldInputSelect-aeEEBx8S.js";
11
+ import { t as o } from "./FormFieldInputSelect-BZOrwRe2.js";
12
12
  //#region src/components/FormFields/Status/StatusComponent.tsx
13
13
  var s = /* @__PURE__ */ e(n(), 1), c = i(), l = t(({ value: e, isErrored: t, errorId: n = "invalidStatus", options: i, onChange: l, intl: u, placeholder: d = "", onKeyDown: f = void 0, segmentId: p, disabled: m = !1, label: h = /* @__PURE__ */ (0, c.jsx)(r, {
14
14
  id: "status",
@@ -1 +1 @@
1
- {"version":3,"file":"StatusComponent-BRvucFd7.js","names":[],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n}\n\nexport const Status = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n intl,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n label = <FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />,\n}: StatusComponentProps) => {\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n React.useEffect(() => {\n if (hasOnlyOneOption) {\n onChange(options[0]);\n }\n }, []);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder || intl.formatHTMLMessage({ id: \"statusPlaceholder\", defaultMessage: \"Status\" })\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={label}\n disabled={disabled}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n\nexport const StatusComponent = injectIntl(Status);\n"],"mappings":";;;;;4CAoEa,IAAkB,GAvDR,EACrB,UACA,cACA,aAAU,iBACV,YACA,aACA,SACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,IACX,WAAQ,iBAAA,GAAA,EAAA,KAAC,GAAD;CAAsB,IAAG;CAAS,gBAAe;AAAU,CAAA,QACzC;CAC1B,IAAM,IAAU,GAAG,EAAU,UACvB,IAAmB,EAAQ,WAAW,GACtC,IACJ,EAAwB,QAAQ,GAAG,UAAU,EAAwB,UAAU,GAAG;CAYpF,OAVA,EAAM,gBAAgB;EACpB,AAAI,KACF,EAAS,EAAQ,EAAE;CAEvB,GAAG,CAAC,CAAC,GAED,KAAoB,IACf,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACA;EACT,WAAW,MAA6B,EAAS,CAAM;EAC5C;EACX,OAAO,EAAQ,MAAM,MAAW,EAAO,WAAW,KAAS,EAAM,MAAM;EACvE,aACE,KAAe,EAAK,kBAAkB;GAAE,IAAI;GAAqB,gBAAgB;EAAS,CAAC;EAE7F,6BAA6B,CAAC,CAAC;EAC/B,YAAA;EACA,aAAa,OAAO;EACb;EACG;EACV,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAI,WAAW;GACf,gBAAgB,WAAW,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL,CAEgD"}
1
+ {"version":3,"file":"StatusComponent-CbxiKW6N.js","names":[],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n}\n\nexport const Status = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n intl,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n label = <FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />,\n}: StatusComponentProps) => {\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n React.useEffect(() => {\n if (hasOnlyOneOption) {\n onChange(options[0]);\n }\n }, []);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder || intl.formatHTMLMessage({ id: \"statusPlaceholder\", defaultMessage: \"Status\" })\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={label}\n disabled={disabled}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n\nexport const StatusComponent = injectIntl(Status);\n"],"mappings":";;;;;4CAoEa,IAAkB,GAvDR,EACrB,UACA,cACA,aAAU,iBACV,YACA,aACA,SACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,IACX,WAAQ,iBAAA,GAAA,EAAA,KAAC,GAAD;CAAsB,IAAG;CAAS,gBAAe;AAAU,CAAA,QACzC;CAC1B,IAAM,IAAU,GAAG,EAAU,UACvB,IAAmB,EAAQ,WAAW,GACtC,IACJ,EAAwB,QAAQ,GAAG,UAAU,EAAwB,UAAU,GAAG;CAYpF,OAVA,EAAM,gBAAgB;EACpB,AAAI,KACF,EAAS,EAAQ,EAAE;CAEvB,GAAG,CAAC,CAAC,GAED,KAAoB,IACf,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACA;EACT,WAAW,MAA6B,EAAS,CAAM;EAC5C;EACX,OAAO,EAAQ,MAAM,MAAW,EAAO,WAAW,KAAS,EAAM,MAAM;EACvE,aACE,KAAe,EAAK,kBAAkB;GAAE,IAAI;GAAqB,gBAAgB;EAAS,CAAC;EAE7F,6BAA6B,CAAC,CAAC;EAC/B,YAAA;EACA,aAAa,OAAO;EACb;EACG;EACV,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAI,WAAW;GACf,gBAAgB,WAAW,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL,CAEgD"}
@@ -4,15 +4,15 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.271.0
8
- * BUILD_TIMESTAMP: 1786663702187
9
- * BUILD_DATE: Thu Aug 13 2026 23:28:22 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 5d1a2ef3479b19233de1d8db2156b40e071d4727
7
+ * VERSION: 2.273.0
8
+ * BUILD_TIMESTAMP: 1787093703440
9
+ * BUILD_DATE: Tue Aug 18 2026 22:55:03 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 78d9641eca48fc07a34804c02d8d62a71025eebf
11
11
  */
12
- import { Jt as e } from "./intl-DJeZs3uh.js";
13
- import { a as t, c as n, n as r, t as i } from "./jsx-runtime-Dd4OJ9ft.js";
14
- import { u as a } from "./stepComponentHelpers-D-rc0nWU.js";
15
- import { t as o } from "./FormFieldInputSelect-CZ-rw9cV.js";
12
+ import { Jt as e } from "./intl-TN1Dianl.js";
13
+ import { a as t, c as n, n as r, t as i } from "./jsx-runtime-QRCZ6ZTK.js";
14
+ import { u as a } from "./stepComponentHelpers-DeWac6nj.js";
15
+ import { t as o } from "./FormFieldInputSelect-CwaMM3Sq.js";
16
16
  //#region src/components/FormFields/Status/StatusComponent.tsx
17
17
  var s = /* @__PURE__ */ e(n(), 1), c = i(), l = t(({ value: e, isErrored: t, errorId: n = "invalidStatus", options: i, onChange: l, intl: u, placeholder: d = "", onKeyDown: f = void 0, segmentId: p, disabled: m = !1, label: h = /* @__PURE__ */ (0, c.jsx)(r, {
18
18
  id: "status",
@@ -1 +1 @@
1
- {"version":3,"file":"StatusComponent-DM7V7Crn.js","names":[],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n}\n\nexport const Status = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n intl,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n label = <FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />,\n}: StatusComponentProps) => {\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n React.useEffect(() => {\n if (hasOnlyOneOption) {\n onChange(options[0]);\n }\n }, []);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder || intl.formatHTMLMessage({ id: \"statusPlaceholder\", defaultMessage: \"Status\" })\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={label}\n disabled={disabled}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n\nexport const StatusComponent = injectIntl(Status);\n"],"mappings":";;;;;4CAoEa,IAAkB,GAvDR,EACrB,UACA,cACA,aAAU,iBACV,YACA,aACA,SACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,IACX,WAAQ,iBAAA,GAAA,EAAA,KAAC,GAAD;CAAsB,IAAG;CAAS,gBAAe;AAAU,CAAA,QACzC;CAC1B,IAAM,IAAU,GAAG,EAAU,UACvB,IAAmB,EAAQ,WAAW,GACtC,IACJ,EAAwB,QAAQ,GAAG,UAAU,EAAwB,UAAU,GAAG;CAYpF,OAVA,EAAM,gBAAgB;EACpB,AAAI,KACF,EAAS,EAAQ,EAAE;CAEvB,GAAG,CAAC,CAAC,GAED,KAAoB,IACf,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACA;EACT,WAAW,MAA6B,EAAS,CAAM;EAC5C;EACX,OAAO,EAAQ,MAAM,MAAW,EAAO,WAAW,KAAS,EAAM,MAAM;EACvE,aACE,KAAe,EAAK,kBAAkB;GAAE,IAAI;GAAqB,gBAAgB;EAAS,CAAC;EAE7F,6BAA6B,CAAC,CAAC;EAC/B,YAAA;EACA,aAAa,OAAO;EACb;EACG;EACV,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAI,WAAW;GACf,gBAAgB,WAAW,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL,CAEgD"}
1
+ {"version":3,"file":"StatusComponent-FCCzivNr.js","names":[],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n}\n\nexport const Status = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n intl,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n label = <FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />,\n}: StatusComponentProps) => {\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n React.useEffect(() => {\n if (hasOnlyOneOption) {\n onChange(options[0]);\n }\n }, []);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder || intl.formatHTMLMessage({ id: \"statusPlaceholder\", defaultMessage: \"Status\" })\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={label}\n disabled={disabled}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n\nexport const StatusComponent = injectIntl(Status);\n"],"mappings":";;;;;4CAoEa,IAAkB,GAvDR,EACrB,UACA,cACA,aAAU,iBACV,YACA,aACA,SACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,IACX,WAAQ,iBAAA,GAAA,EAAA,KAAC,GAAD;CAAsB,IAAG;CAAS,gBAAe;AAAU,CAAA,QACzC;CAC1B,IAAM,IAAU,GAAG,EAAU,UACvB,IAAmB,EAAQ,WAAW,GACtC,IACJ,EAAwB,QAAQ,GAAG,UAAU,EAAwB,UAAU,GAAG;CAYpF,OAVA,EAAM,gBAAgB;EACpB,AAAI,KACF,EAAS,EAAQ,EAAE;CAEvB,GAAG,CAAC,CAAC,GAED,KAAoB,IACf,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACA;EACT,WAAW,MAA6B,EAAS,CAAM;EAC5C;EACX,OAAO,EAAQ,MAAM,MAAW,EAAO,WAAW,KAAS,EAAM,MAAM;EACvE,aACE,KAAe,EAAK,kBAAkB;GAAE,IAAI;GAAqB,gBAAgB;EAAS,CAAC;EAE7F,6BAA6B,CAAC,CAAC;EAC/B,YAAA;EACA,aAAa,OAAO;EACb;EACG;EACV,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAI,WAAW;GACf,gBAAgB,WAAW,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL,CAEgD"}
@@ -4,27 +4,27 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.271.0
8
- * BUILD_TIMESTAMP: 1786663702187
9
- * BUILD_DATE: Thu Aug 13 2026 23:28:22 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 5d1a2ef3479b19233de1d8db2156b40e071d4727
7
+ * VERSION: 2.273.0
8
+ * BUILD_TIMESTAMP: 1787093703440
9
+ * BUILD_DATE: Tue Aug 18 2026 22:55:03 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 78d9641eca48fc07a34804c02d8d62a71025eebf
11
11
  */
12
- import { Lt as e, Tt as t, Ut as n, p as r, s as i } from "./intl-DJeZs3uh.js";
13
- import { a, c as o, n as s, t as c } from "./jsx-runtime-Dd4OJ9ft.js";
14
- import { O as l } from "./FormFooterComponent-BO7L9C9d.js";
15
- import { a as u } from "./refs-i0Eo9ybu.js";
12
+ import { Lt as e, Tt as t, Wt as n, p as r, s as i } from "./intl-TN1Dianl.js";
13
+ import { a, c as o, n as s, t as c } from "./jsx-runtime-QRCZ6ZTK.js";
14
+ import { O as l } from "./FormFooterComponent-1R8WNHYQ.js";
15
+ import { a as u } from "./refs-6KTRrw-F.js";
16
16
  import { t as d } from "../_mysheerid-preview.js";
17
- import { C as f, h as p, m, o as h, u as g, w as _ } from "./stepComponentHelpers-D-rc0nWU.js";
18
- import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-CEPB12BX.js";
19
- import { n as w, t as T } from "./PersonalInfoStepSubmitButton-GRWIeaA0.js";
20
- import { t as E } from "./BirthDateComponent-BlCFzJvT.js";
21
- import { t as D } from "./CountryComponentWrapper-9Y3eZHBf.js";
22
- import { t as O } from "./ExtraMessage-Dl0RzcnQ.js";
23
- import { t as k } from "./ChangeLocaleComponent-Fvf4xg_B.js";
24
- import { t as A } from "./PersonalInfoStepWrapper-DXND4HuU.js";
25
- import { n as j, r as M, t as N } from "./DischargeDateComponent-Dbf5lEnD.js";
26
- import { t as P } from "./StatusComponent-DM7V7Crn.js";
27
- import { t as F } from "./militaryStepHelpers-DHTF3XjP.js";
17
+ import { C as f, h as p, m, o as h, u as g, w as _ } from "./stepComponentHelpers-DeWac6nj.js";
18
+ import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-BG-8kESy.js";
19
+ import { n as w, t as T } from "./PersonalInfoStepSubmitButton-C7QmpcVd.js";
20
+ import { t as E } from "./BirthDateComponent-DrSpm0Qd.js";
21
+ import { t as D } from "./CountryComponentWrapper-DIwD6bnY.js";
22
+ import { t as O } from "./ExtraMessage-BsiERsIi.js";
23
+ import { t as k } from "./ChangeLocaleComponent-CW99SZg6.js";
24
+ import { t as A } from "./PersonalInfoStepWrapper-BvWqmplR.js";
25
+ import { n as j, r as M, t as N } from "./DischargeDateComponent-CeJ1mFmV.js";
26
+ import { t as P } from "./StatusComponent-FCCzivNr.js";
27
+ import { t as F } from "./militaryStepHelpers-CF0fNRKQ.js";
28
28
  o();
29
29
  var I = c(), L = ({ intl: a, verificationService: o }) => {
30
30
  let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = h(o, a), H = c.localeChoice.value, U = i(), W = (e, t) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-DxLolnvF.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.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 ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as 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 { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\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 // 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=\"active-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 updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\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 StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB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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,IAA0C,EAAW,CAA8B"}
1
+ {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-80fdvKYN.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.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 ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as 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 { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\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 // 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=\"active-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 updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\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 StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,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;CAwBA,QAXG,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,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB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:17 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 5d1a2ef3479b19233de1d8db2156b40e071d4727
3
+ * VERSION: 2.273.0
4
+ * BUILD_TIMESTAMP: 1787093698608
5
+ * BUILD_DATE: Tue Aug 18 2026 22:54:58 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 78d9641eca48fc07a34804c02d8d62a71025eebf
7
7
  */
8
8
  import { Dt as e, Wt as t, c as n, n as r, zt as i } from "./options-BK6Zk2Oe.js";
9
9
  import { a, c as o, n as s, t as c } from "./jsx-runtime-lVLuHIkM.js";
10
- import { w as l } from "./FormFooterComponent-CU22Zek6.js";
10
+ import { w as l } from "./FormFooterComponent-B8ugGLFu.js";
11
11
  import { a as u } from "./refs-B8CaE8yL.js";
12
12
  import { n as d } from "../sheerid.js";
13
13
  import { C as f, h as p, m, o as h, u as g, w as _ } from "./stepComponentHelpers-Darhp1Nn.js";
14
- import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-DZXh70CY.js";
14
+ import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-Bc1fHINu.js";
15
15
  import { n as w, t as T } from "./PersonalInfoStepSubmitButton-D55ut5Yp.js";
16
- import { t as E } from "./BirthDateComponent-CtIUFEqa.js";
17
- import { t as D } from "./CountryComponentWrapper-BteQlq9g.js";
18
- import { t as O } from "./ExtraMessage-CxSrc328.js";
19
- import { t as k } from "./ChangeLocaleComponent-CrvVzjED.js";
20
- import { t as A } from "./PersonalInfoStepWrapper-F2C8W598.js";
21
- import { n as j, r as M, t as N } from "./DischargeDateComponent-m4U3dxGy.js";
22
- import { t as P } from "./StatusComponent-BRvucFd7.js";
16
+ import { t as E } from "./BirthDateComponent-BtHq4Iif.js";
17
+ import { t as D } from "./CountryComponentWrapper-5NauYfPI.js";
18
+ import { t as O } from "./ExtraMessage-HTrDGLg2.js";
19
+ import { t as k } from "./ChangeLocaleComponent-BGbETEkv.js";
20
+ import { t as A } from "./PersonalInfoStepWrapper-CZ9RvUM1.js";
21
+ import { n as j, r as M, t as N } from "./DischargeDateComponent-BL8p4AAH.js";
22
+ import { t as P } from "./StatusComponent-CbxiKW6N.js";
23
23
  import { t as F } from "./militaryStepHelpers-W31scSUE.js";
24
24
  o();
25
25
  var I = c(), L = ({ intl: a, verificationService: o }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-_ALbMkY2.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.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 ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as 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 { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\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 // 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=\"active-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 updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\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 StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,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;CAwBA,QAXG,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,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;EAC3B,WAAU;YAHZ,CAKE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACuB;GACrB,qBAAoB;EACrB,CAAA,GAED,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA;GACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAA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C,WAAW,MAAa;KAEtB,AADA,EAA8B,eAAe,CAAQ,GACrD,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,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,EAA8B,YAAY;MACxC,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,IAA0C,EAAW,CAA8B"}
1
+ {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-B5It1LHf.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.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 ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as 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 { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\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 // 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=\"active-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 updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\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 StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA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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,IAA0C,EAAW,CAA8B"}
@@ -1,26 +1,26 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.271.0
4
- * BUILD_TIMESTAMP: 1786663697687
5
- * BUILD_DATE: Thu Aug 13 2026 23:28:17 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 5d1a2ef3479b19233de1d8db2156b40e071d4727
3
+ * VERSION: 2.273.0
4
+ * BUILD_TIMESTAMP: 1787093698608
5
+ * BUILD_DATE: Tue Aug 18 2026 22:54:58 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 78d9641eca48fc07a34804c02d8d62a71025eebf
7
7
  */
8
8
  import { Jt as e, lt as t, n, zt as r } from "./options-BK6Zk2Oe.js";
9
9
  import { a as i, c as a, n as o, t as s } from "./jsx-runtime-lVLuHIkM.js";
10
- import { w as c } from "./FormFooterComponent-CU22Zek6.js";
10
+ import { w as c } from "./FormFooterComponent-B8ugGLFu.js";
11
11
  import { n as l } from "../sheerid.js";
12
- import { t as u } from "./useCollectFieldsEndpoint-ReBPfbst.js";
12
+ import { t as u } from "./useCollectFieldsEndpoint-B_vdP-Vu.js";
13
13
  import { C as d, h as f, l as p, t as m, u as h, v as g } from "./stepComponentHelpers-Darhp1Nn.js";
14
- import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-DZXh70CY.js";
14
+ import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-Bc1fHINu.js";
15
15
  import { n as C, t as w } from "./PersonalInfoStepSubmitButton-D55ut5Yp.js";
16
- import { t as T } from "./BirthDateComponent-CtIUFEqa.js";
16
+ import { t as T } from "./BirthDateComponent-BtHq4Iif.js";
17
17
  import { t as E } from "./PostalCodeComponent-Bs9KyOzc.js";
18
- import { t as D } from "./CountryComponentWrapper-BteQlq9g.js";
18
+ import { t as D } from "./CountryComponentWrapper-5NauYfPI.js";
19
19
  import { t as O } from "./City-BJB8URp9.js";
20
20
  import { t as k } from "./AddressComponent-BGFbAsvK.js";
21
- import { t as A } from "./ExtraMessage-CxSrc328.js";
22
- import { t as j } from "./ChangeLocaleComponent-CrvVzjED.js";
23
- import { t as M } from "./PersonalInfoStepWrapper-F2C8W598.js";
21
+ import { t as A } from "./ExtraMessage-HTrDGLg2.js";
22
+ import { t as j } from "./ChangeLocaleComponent-BGbETEkv.js";
23
+ import { t as M } from "./PersonalInfoStepWrapper-CZ9RvUM1.js";
24
24
  //#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
25
25
  var N = /* @__PURE__ */ e(a(), 1), P = s(), F = i(({ verificationService: e, intl: i }) => {
26
26
  let a = e.viewModel, { fieldValidationErrors: s } = e, F = e.verificationResponse, I = c(F), L = t(() => a.countryChoice.value, p(m(e.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled, B = L !== "US" || e.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = n();
@@ -1 +1 @@
1
- {"version":3,"file":"StepAgePersonalInfo-R7mSnHbY.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CAAK;EACvF,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALA,EAAM,gBAAgB;EAEpB,EAAqC,eAAe,EAAU,aAAa,CAAmB;CAChG,GAAG,CAAC,EAA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AED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmB,YAAY;MAC7B,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE0E"}
1
+ {"version":3,"file":"StepAgePersonalInfo-D99jCwDW.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;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AA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE0E"}
@@ -4,27 +4,27 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.271.0
8
- * BUILD_TIMESTAMP: 1786663702187
9
- * BUILD_DATE: Thu Aug 13 2026 23:28:22 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 5d1a2ef3479b19233de1d8db2156b40e071d4727
7
+ * VERSION: 2.273.0
8
+ * BUILD_TIMESTAMP: 1787093703440
9
+ * BUILD_DATE: Tue Aug 18 2026 22:55:03 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 78d9641eca48fc07a34804c02d8d62a71025eebf
11
11
  */
12
- import { Ht as e, Jt as t, Lt as n, s as r } from "./intl-DJeZs3uh.js";
13
- import { a as i, c as a, n as o, t as s } from "./jsx-runtime-Dd4OJ9ft.js";
14
- import { O as c } from "./FormFooterComponent-BO7L9C9d.js";
12
+ import { Ht as e, Jt as t, Lt as n, s as r } from "./intl-TN1Dianl.js";
13
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-QRCZ6ZTK.js";
14
+ import { O as c } from "./FormFooterComponent-1R8WNHYQ.js";
15
15
  import { t as l } from "../_mysheerid-preview.js";
16
- import { t as u } from "./useCollectFieldsEndpoint-DCXfzoV7.js";
17
- import { C as d, h as f, l as p, t as m, u as h, v as g } from "./stepComponentHelpers-D-rc0nWU.js";
18
- import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-CEPB12BX.js";
19
- import { n as C, t as w } from "./PersonalInfoStepSubmitButton-GRWIeaA0.js";
20
- import { t as T } from "./BirthDateComponent-BlCFzJvT.js";
21
- import { t as E } from "./PostalCodeComponent-D9AMJfw1.js";
22
- import { t as D } from "./CountryComponentWrapper-9Y3eZHBf.js";
23
- import { t as O } from "./City-EIxs9ACD.js";
24
- import { t as k } from "./AddressComponent-BLDI7tct.js";
25
- import { t as A } from "./ExtraMessage-Dl0RzcnQ.js";
26
- import { t as j } from "./ChangeLocaleComponent-Fvf4xg_B.js";
27
- import { t as M } from "./PersonalInfoStepWrapper-DXND4HuU.js";
16
+ import { t as u } from "./useCollectFieldsEndpoint-DO9D14eY.js";
17
+ import { C as d, h as f, l as p, t as m, u as h, v as g } from "./stepComponentHelpers-DeWac6nj.js";
18
+ import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-BG-8kESy.js";
19
+ import { n as C, t as w } from "./PersonalInfoStepSubmitButton-C7QmpcVd.js";
20
+ import { t as T } from "./BirthDateComponent-DrSpm0Qd.js";
21
+ import { t as E } from "./PostalCodeComponent-Cd3MQUvZ.js";
22
+ import { t as D } from "./CountryComponentWrapper-DIwD6bnY.js";
23
+ import { t as O } from "./City-C1CWD14n.js";
24
+ import { t as k } from "./AddressComponent-DeQlodxe.js";
25
+ import { t as A } from "./ExtraMessage-BsiERsIi.js";
26
+ import { t as j } from "./ChangeLocaleComponent-CW99SZg6.js";
27
+ import { t as M } from "./PersonalInfoStepWrapper-BvWqmplR.js";
28
28
  //#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
29
29
  var N = /* @__PURE__ */ t(a(), 1), P = s(), F = i(({ verificationService: t, intl: i }) => {
30
30
  let a = t.viewModel, { fieldValidationErrors: s } = t, F = t.verificationResponse, I = c(F), L = e(() => a.countryChoice.value, p(m(t.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled, B = L !== "US" || t.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();