@sheerid/jslib-nightly 2.262.0-alpha.3 → 2.263.0-alpha.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 (400) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +1511 -1394
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-C4EQ1638.js → AddressComponent-0vaEURVZ.js} +6 -6
  5. package/chunk/{AddressComponent-BEOTwoo8.js.map → AddressComponent-0vaEURVZ.js.map} +1 -1
  6. package/chunk/{AddressComponent-BEOTwoo8.js → AddressComponent-D9R5iYEq.js} +6 -6
  7. package/chunk/{AddressComponent-C4EQ1638.js.map → AddressComponent-D9R5iYEq.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-BQ8ZM0VA.js → AnnouncingHeader-2fKF8wpi.js} +6 -6
  9. package/chunk/{AnnouncingHeader-BQ8ZM0VA.js.map → AnnouncingHeader-2fKF8wpi.js.map} +1 -1
  10. package/chunk/{AnnouncingHeader-BxnHzcl6.js → AnnouncingHeader-C46Kp2B-.js} +6 -6
  11. package/chunk/{AnnouncingHeader-BxnHzcl6.js.map → AnnouncingHeader-C46Kp2B-.js.map} +1 -1
  12. package/chunk/{ApiUrls-CV7PU5EV.js → ApiUrls-CcYW2aEq.js} +13 -13
  13. package/chunk/{ApiUrls-CV7PU5EV.js.map → ApiUrls-CcYW2aEq.js.map} +1 -1
  14. package/chunk/{ApiUrls-nZXwhWiR.js → ApiUrls-DlpncFa4.js} +6 -6
  15. package/chunk/{ApiUrls-nZXwhWiR.js.map → ApiUrls-DlpncFa4.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-DW-1r_MV.js → BirthDateComponent-CPX6e-oS.js} +7 -7
  17. package/chunk/{BirthDateComponent-DW-1r_MV.js.map → BirthDateComponent-CPX6e-oS.js.map} +1 -1
  18. package/chunk/{BirthDateComponent-Dn4Pkaiz.js → BirthDateComponent-DiB89V9D.js} +7 -7
  19. package/chunk/{BirthDateComponent-Dn4Pkaiz.js.map → BirthDateComponent-DiB89V9D.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-Eh4up7Aj.js → CaptchaComponent-D5Dv1noI.js} +151 -151
  21. package/chunk/{CaptchaComponent-6YC__tfs.js.map → CaptchaComponent-D5Dv1noI.js.map} +1 -1
  22. package/chunk/{CaptchaComponent-6YC__tfs.js → CaptchaComponent-gd5yubvd.js} +151 -151
  23. package/chunk/{CaptchaComponent-Eh4up7Aj.js.map → CaptchaComponent-gd5yubvd.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-CiTWGwun.js → ChangeLocaleComponent-B8O2m2HE.js} +7 -7
  25. package/chunk/{ChangeLocaleComponent-Brii1NXA.js.map → ChangeLocaleComponent-B8O2m2HE.js.map} +1 -1
  26. package/chunk/{ChangeLocaleComponent-Brii1NXA.js → ChangeLocaleComponent-BTZAq7uW.js} +7 -7
  27. package/chunk/{ChangeLocaleComponent-CiTWGwun.js.map → ChangeLocaleComponent-BTZAq7uW.js.map} +1 -1
  28. package/chunk/{City-DSfS926t.js → City-B6J8thJW.js} +6 -6
  29. package/chunk/{City-B2YRxbl9.js.map → City-B6J8thJW.js.map} +1 -1
  30. package/chunk/{City-B2YRxbl9.js → City-CLyjXYQj.js} +6 -6
  31. package/chunk/{City-DSfS926t.js.map → City-CLyjXYQj.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-uGitSOUf.js → CollegeNameComponent-CzyeuqK7.js} +8 -8
  33. package/chunk/{CollegeNameComponent-DU90yMx3.js.map → CollegeNameComponent-CzyeuqK7.js.map} +1 -1
  34. package/chunk/{CollegeNameComponent-DU90yMx3.js → CollegeNameComponent-VCRUE6e_.js} +8 -8
  35. package/chunk/{CollegeNameComponent-uGitSOUf.js.map → CollegeNameComponent-VCRUE6e_.js.map} +1 -1
  36. package/chunk/{CopyToClipboardComponent-RewXk0sK.js → CopyToClipboardComponent-C3q4w3A8.js} +6 -6
  37. package/chunk/{CopyToClipboardComponent-28EiBssf.js.map → CopyToClipboardComponent-C3q4w3A8.js.map} +1 -1
  38. package/chunk/{CopyToClipboardComponent-28EiBssf.js → CopyToClipboardComponent-mgX-iqqn.js} +6 -6
  39. package/chunk/{CopyToClipboardComponent-RewXk0sK.js.map → CopyToClipboardComponent-mgX-iqqn.js.map} +1 -1
  40. package/chunk/{CountryComponentWrapper-3OT-MoBx.js → CountryComponentWrapper-BGajYZrL.js} +24 -24
  41. package/chunk/{CountryComponentWrapper-3OT-MoBx.js.map → CountryComponentWrapper-BGajYZrL.js.map} +1 -1
  42. package/chunk/CountryComponentWrapper-CLGBVkRB.js +74 -0
  43. package/chunk/{CountryComponentWrapper-DKuB4eQA.js.map → CountryComponentWrapper-CLGBVkRB.js.map} +1 -1
  44. package/chunk/{DischargeDateComponent-1-3M2rHI.js → DischargeDateComponent-CrJy29pH.js} +18 -18
  45. package/chunk/{DischargeDateComponent-02d47HpL.js.map → DischargeDateComponent-CrJy29pH.js.map} +1 -1
  46. package/chunk/{DischargeDateComponent-02d47HpL.js → DischargeDateComponent-S0alvYUT.js} +16 -16
  47. package/chunk/{DischargeDateComponent-1-3M2rHI.js.map → DischargeDateComponent-S0alvYUT.js.map} +1 -1
  48. package/chunk/{DriverLicenseNumberComponent-DnmKchNM.js → DriverLicenseNumberComponent-5Zli2AqS.js} +6 -6
  49. package/chunk/{DriverLicenseNumberComponent-CEUybEf8.js.map → DriverLicenseNumberComponent-5Zli2AqS.js.map} +1 -1
  50. package/chunk/{DriverLicenseNumberComponent-CEUybEf8.js → DriverLicenseNumberComponent-Cn9W9CIk.js} +6 -6
  51. package/chunk/{DriverLicenseNumberComponent-DnmKchNM.js.map → DriverLicenseNumberComponent-Cn9W9CIk.js.map} +1 -1
  52. package/chunk/{EmailLoopPending-CcT00POj.js → EmailLoopPending-DY_CezIw.js} +22 -22
  53. package/chunk/{EmailLoopPending-CcT00POj.js.map → EmailLoopPending-DY_CezIw.js.map} +1 -1
  54. package/chunk/{EmailLoopPending-CauMM4y6.js → EmailLoopPending-yAg-0vC3.js} +18 -18
  55. package/chunk/{EmailLoopPending-CauMM4y6.js.map → EmailLoopPending-yAg-0vC3.js.map} +1 -1
  56. package/chunk/{ExtraMessage-BppIwzQ5.js → ExtraMessage-UbmnijRM.js} +7 -7
  57. package/chunk/{ExtraMessage-BppIwzQ5.js.map → ExtraMessage-UbmnijRM.js.map} +1 -1
  58. package/chunk/{ExtraMessage-LK23_Ou9.js → ExtraMessage-vcQ9SW6K.js} +7 -7
  59. package/chunk/{ExtraMessage-LK23_Ou9.js.map → ExtraMessage-vcQ9SW6K.js.map} +1 -1
  60. package/chunk/{FirstResponderOrganizationComponent-BTBEk0SV.js → FirstResponderOrganizationComponent-DMOFM1oz.js} +7 -7
  61. package/chunk/{FirstResponderOrganizationComponent-BHHEnu32.js.map → FirstResponderOrganizationComponent-DMOFM1oz.js.map} +1 -1
  62. package/chunk/{FirstResponderOrganizationComponent-BHHEnu32.js → FirstResponderOrganizationComponent-NKG9W0hn.js} +7 -7
  63. package/chunk/{FirstResponderOrganizationComponent-BTBEk0SV.js.map → FirstResponderOrganizationComponent-NKG9W0hn.js.map} +1 -1
  64. package/chunk/{FormFieldInputSelect-C6RnAJlO.js → FormFieldInputSelect-Bi8LOivJ.js} +7 -7
  65. package/chunk/{FormFieldInputSelect-C6RnAJlO.js.map → FormFieldInputSelect-Bi8LOivJ.js.map} +1 -1
  66. package/chunk/{FormFieldInputSelect-Cp0KLU3t.js → FormFieldInputSelect-DtvPrvCM.js} +7 -7
  67. package/chunk/{FormFieldInputSelect-Cp0KLU3t.js.map → FormFieldInputSelect-DtvPrvCM.js.map} +1 -1
  68. package/chunk/{FormFieldLayout-BGlrOIA_.js → FormFieldLayout-CM-yJADZ.js} +6 -6
  69. package/chunk/{FormFieldLayout-ByyE03RB.js.map → FormFieldLayout-CM-yJADZ.js.map} +1 -1
  70. package/chunk/{FormFieldLayout-ByyE03RB.js → FormFieldLayout-x7EaxmB4.js} +6 -6
  71. package/chunk/{FormFieldLayout-BGlrOIA_.js.map → FormFieldLayout-x7EaxmB4.js.map} +1 -1
  72. package/chunk/{FormFieldText-D85-RYTm.js → FormFieldText-ByMirgSm.js} +7 -7
  73. package/chunk/{FormFieldText-D85-RYTm.js.map → FormFieldText-ByMirgSm.js.map} +1 -1
  74. package/chunk/{FormFieldText-ZGZooQh1.js → FormFieldText-Cer6Ul3T.js} +7 -7
  75. package/chunk/{FormFieldText-ZGZooQh1.js.map → FormFieldText-Cer6Ul3T.js.map} +1 -1
  76. package/chunk/{FormFieldTypeahead-DZzZXvKC.js → FormFieldTypeahead-CS8Gc1-N.js} +136 -136
  77. package/chunk/{FormFieldTypeahead-DZzZXvKC.js.map → FormFieldTypeahead-CS8Gc1-N.js.map} +1 -1
  78. package/chunk/{FormFieldTypeahead-DH4pE3j0.js → FormFieldTypeahead-pogmD1N2.js} +47 -47
  79. package/chunk/{FormFieldTypeahead-DH4pE3j0.js.map → FormFieldTypeahead-pogmD1N2.js.map} +1 -1
  80. package/chunk/{FormFooterComponent-DB0-FOF0.js → FormFooterComponent-Bf1bxfK_.js} +1682 -1601
  81. package/chunk/FormFooterComponent-Bf1bxfK_.js.map +1 -0
  82. package/chunk/{FormFooterComponent-Cgu8_872.js → FormFooterComponent-hQ9YVK_9.js} +2278 -2209
  83. package/chunk/FormFooterComponent-hQ9YVK_9.js.map +1 -0
  84. package/chunk/{FormSelectChoice-DZ3D1_pD.js → FormSelectChoice-CD4kEzVG.js} +13 -9
  85. package/chunk/{FormSelectChoice-C_wNKkAd.js.map → FormSelectChoice-CD4kEzVG.js.map} +1 -1
  86. package/chunk/{FormSelectChoice-C_wNKkAd.js → FormSelectChoice-DFW__bqf.js} +9 -13
  87. package/chunk/{FormSelectChoice-DZ3D1_pD.js.map → FormSelectChoice-DFW__bqf.js.map} +1 -1
  88. package/chunk/{InputText-DQ-OK_iF.js → InputText-CFKx7skU.js} +7 -7
  89. package/chunk/{InputText-CZCqykcE.js.map → InputText-CFKx7skU.js.map} +1 -1
  90. package/chunk/{InputText-CZCqykcE.js → InputText-rG2lFIuH.js} +7 -7
  91. package/chunk/{InputText-DQ-OK_iF.js.map → InputText-rG2lFIuH.js.map} +1 -1
  92. package/chunk/{LicensedProfessionalOrganizationComponent-BQmqXV5V.js → LicensedProfessionalOrganizationComponent-CabaokFb.js} +7 -7
  93. package/chunk/{LicensedProfessionalOrganizationComponent-BQmqXV5V.js.map → LicensedProfessionalOrganizationComponent-CabaokFb.js.map} +1 -1
  94. package/chunk/{LicensedProfessionalOrganizationComponent-DlZsN8Ah.js → LicensedProfessionalOrganizationComponent-DmjiRyX1.js} +7 -7
  95. package/chunk/{LicensedProfessionalOrganizationComponent-DlZsN8Ah.js.map → LicensedProfessionalOrganizationComponent-DmjiRyX1.js.map} +1 -1
  96. package/chunk/{LogoComponent-DfYUd29W.js → LogoComponent-40n5vaD0.js} +6 -6
  97. package/chunk/{LogoComponent-DLw4pZDn.js.map → LogoComponent-40n5vaD0.js.map} +1 -1
  98. package/chunk/{LogoComponent-DLw4pZDn.js → LogoComponent-lTeCnowz.js} +6 -6
  99. package/chunk/{LogoComponent-DfYUd29W.js.map → LogoComponent-lTeCnowz.js.map} +1 -1
  100. package/chunk/{LowIncomeOrganizationComponent-CUYnhGeZ.js → LowIncomeOrganizationComponent-DHP7BAWQ.js} +16 -16
  101. package/chunk/{LowIncomeOrganizationComponent-Bc9lkn66.js.map → LowIncomeOrganizationComponent-DHP7BAWQ.js.map} +1 -1
  102. package/chunk/{LowIncomeOrganizationComponent-Bc9lkn66.js → LowIncomeOrganizationComponent-uUgJiZtV.js} +16 -16
  103. package/chunk/{LowIncomeOrganizationComponent-CUYnhGeZ.js.map → LowIncomeOrganizationComponent-uUgJiZtV.js.map} +1 -1
  104. package/chunk/{MedicalProfessionalOrganizationComponent-Bei1ny_n.js → MedicalProfessionalOrganizationComponent-B1QLHEJV.js} +7 -7
  105. package/chunk/{MedicalProfessionalOrganizationComponent-Bei1ny_n.js.map → MedicalProfessionalOrganizationComponent-B1QLHEJV.js.map} +1 -1
  106. package/chunk/{MedicalProfessionalOrganizationComponent-CpY5QvlU.js → MedicalProfessionalOrganizationComponent-CkhM5nex.js} +7 -7
  107. package/chunk/{MedicalProfessionalOrganizationComponent-CpY5QvlU.js.map → MedicalProfessionalOrganizationComponent-CkhM5nex.js.map} +1 -1
  108. package/chunk/{MemberIdComponent-ByLsGDO-.js → MemberIdComponent-BJC0oeuE.js} +6 -6
  109. package/chunk/{MemberIdComponent-ByLsGDO-.js.map → MemberIdComponent-BJC0oeuE.js.map} +1 -1
  110. package/chunk/{MemberIdComponent-DlhBKfuU.js → MemberIdComponent-F3J2XAp3.js} +6 -6
  111. package/chunk/{MemberIdComponent-DlhBKfuU.js.map → MemberIdComponent-F3J2XAp3.js.map} +1 -1
  112. package/chunk/{MembershipOrganizationComponent-BHf7Ie57.js → MembershipOrganizationComponent-0uqSgnl9.js} +7 -7
  113. package/chunk/{MembershipOrganizationComponent-BERnC4LT.js.map → MembershipOrganizationComponent-0uqSgnl9.js.map} +1 -1
  114. package/chunk/{MembershipOrganizationComponent-BERnC4LT.js → MembershipOrganizationComponent-n6dsAj9D.js} +7 -7
  115. package/chunk/{MembershipOrganizationComponent-BHf7Ie57.js.map → MembershipOrganizationComponent-n6dsAj9D.js.map} +1 -1
  116. package/chunk/Onfido-CTCgAwnB.js +4 -4
  117. package/chunk/{PersonalInfoStepSubmitButton-clzrobVs.js → PersonalInfoStepSubmitButton-BS7TwIFn.js} +16 -16
  118. package/chunk/{PersonalInfoStepSubmitButton-DuUlUXYD.js.map → PersonalInfoStepSubmitButton-BS7TwIFn.js.map} +1 -1
  119. package/chunk/{PersonalInfoStepSubmitButton-DuUlUXYD.js → PersonalInfoStepSubmitButton-IMW1ww2e.js} +19 -19
  120. package/chunk/{PersonalInfoStepSubmitButton-clzrobVs.js.map → PersonalInfoStepSubmitButton-IMW1ww2e.js.map} +1 -1
  121. package/chunk/{PersonalInfoStepWrapper-D8lig4zW.js → PersonalInfoStepWrapper-CZDrFaqC.js} +8 -8
  122. package/chunk/{PersonalInfoStepWrapper-D8lig4zW.js.map → PersonalInfoStepWrapper-CZDrFaqC.js.map} +1 -1
  123. package/chunk/{PersonalInfoStepWrapper-D3KT38ON.js → PersonalInfoStepWrapper-DwvV4VsT.js} +7 -7
  124. package/chunk/{PersonalInfoStepWrapper-D3KT38ON.js.map → PersonalInfoStepWrapper-DwvV4VsT.js.map} +1 -1
  125. package/chunk/{PostalCodeComponent-BByC-zpa.js → PostalCodeComponent-BDFy_9yi.js} +6 -6
  126. package/chunk/{PostalCodeComponent-BByC-zpa.js.map → PostalCodeComponent-BDFy_9yi.js.map} +1 -1
  127. package/chunk/{PostalCodeComponent-COaeeNXA.js → PostalCodeComponent-DuEPciUA.js} +6 -6
  128. package/chunk/{PostalCodeComponent-COaeeNXA.js.map → PostalCodeComponent-DuEPciUA.js.map} +1 -1
  129. package/chunk/{SSN-Dp0h787p.js → SSN-DYqbsF85.js} +7 -7
  130. package/chunk/{SSN-Dp0h787p.js.map → SSN-DYqbsF85.js.map} +1 -1
  131. package/chunk/{SSN-iGqsPg4C.js → SSN-DvsdFp8R.js} +7 -7
  132. package/chunk/{SSN-iGqsPg4C.js.map → SSN-DvsdFp8R.js.map} +1 -1
  133. package/chunk/{StateSelectComponent-xOKtNAUf.js → StateSelectComponent-CFY00_F5.js} +6 -6
  134. package/chunk/{StateSelectComponent-M54AviWD.js.map → StateSelectComponent-CFY00_F5.js.map} +1 -1
  135. package/chunk/{StateSelectComponent-M54AviWD.js → StateSelectComponent-CN7u7Z5P.js} +6 -6
  136. package/chunk/{StateSelectComponent-xOKtNAUf.js.map → StateSelectComponent-CN7u7Z5P.js.map} +1 -1
  137. package/chunk/{StatusComponent-DPhnz8ZI.js → StatusComponent-BLbeJdVB.js} +7 -7
  138. package/chunk/{StatusComponent-DPhnz8ZI.js.map → StatusComponent-BLbeJdVB.js.map} +1 -1
  139. package/chunk/{StatusComponent-Dxna8rvR.js → StatusComponent-CvMMC2MR.js} +7 -7
  140. package/chunk/{StatusComponent-Dxna8rvR.js.map → StatusComponent-CvMMC2MR.js.map} +1 -1
  141. package/chunk/{StepActiveMilitaryPersonalInfoComponent-3Mbij1P9.js → StepActiveMilitaryPersonalInfoComponent-Dv9E-wNt.js} +23 -23
  142. package/chunk/{StepActiveMilitaryPersonalInfoComponent-3Mbij1P9.js.map → StepActiveMilitaryPersonalInfoComponent-Dv9E-wNt.js.map} +1 -1
  143. package/chunk/{StepActiveMilitaryPersonalInfoComponent-FFvDeDRG.js → StepActiveMilitaryPersonalInfoComponent-XDLAbyN0.js} +24 -24
  144. package/chunk/{StepActiveMilitaryPersonalInfoComponent-FFvDeDRG.js.map → StepActiveMilitaryPersonalInfoComponent-XDLAbyN0.js.map} +1 -1
  145. package/chunk/{StepAgePersonalInfo-DG9Hb5S-.js → StepAgePersonalInfo-BsTJ2oQP.js} +18 -18
  146. package/chunk/{StepAgePersonalInfo-DG9Hb5S-.js.map → StepAgePersonalInfo-BsTJ2oQP.js.map} +1 -1
  147. package/chunk/{StepAgePersonalInfo-Dux-oXiF.js → StepAgePersonalInfo-CD8rmbII.js} +18 -18
  148. package/chunk/{StepAgePersonalInfo-Dux-oXiF.js.map → StepAgePersonalInfo-CD8rmbII.js.map} +1 -1
  149. package/chunk/{StepCard-BnBrK5Xn.js → StepCard-Bp4YtbLH.js} +5 -5
  150. package/chunk/{StepCard-B0Stfmvc.js.map → StepCard-Bp4YtbLH.js.map} +1 -1
  151. package/chunk/{StepCard-B0Stfmvc.js → StepCard-Bzt1Ked6.js} +5 -5
  152. package/chunk/{StepCard-BnBrK5Xn.js.map → StepCard-Bzt1Ked6.js.map} +1 -1
  153. package/chunk/{StepCollectIdentifier-nslQ_uiD.js → StepCollectIdentifier-DbqT3QQe.js} +10 -10
  154. package/chunk/{StepCollectIdentifier-CUfJd9lR.js.map → StepCollectIdentifier-DbqT3QQe.js.map} +1 -1
  155. package/chunk/{StepCollectIdentifier-CUfJd9lR.js → StepCollectIdentifier-_CGgV5yn.js} +8 -8
  156. package/chunk/{StepCollectIdentifier-nslQ_uiD.js.map → StepCollectIdentifier-_CGgV5yn.js.map} +1 -1
  157. package/chunk/StepCollectMilitaryStatusComponent-D48r1TIH.js +9 -0
  158. package/chunk/{StepCollectMilitaryStatusComponent-Csz5hXck.js → StepCollectMilitaryStatusComponent-yDElymyn.js} +5 -5
  159. package/chunk/{StepCollectPersonalInfo-DFocRlxy.js → StepCollectPersonalInfo-DBt095uS.js} +98 -98
  160. package/chunk/{StepCollectPersonalInfo-BdYq3OaA.js.map → StepCollectPersonalInfo-DBt095uS.js.map} +1 -1
  161. package/chunk/{StepCollectPersonalInfo-BdYq3OaA.js → StepCollectPersonalInfo-qc9qiwM9.js} +131 -131
  162. package/chunk/{StepCollectPersonalInfo-DFocRlxy.js.map → StepCollectPersonalInfo-qc9qiwM9.js.map} +1 -1
  163. package/chunk/{StepCompleteAuthentication-DIu2DNgh.js → StepCompleteAuthentication-D5eAqv1G.js} +7 -7
  164. package/chunk/{StepCompleteAuthentication-CbAA1cG8.js.map → StepCompleteAuthentication-D5eAqv1G.js.map} +1 -1
  165. package/chunk/{StepCompleteAuthentication-CbAA1cG8.js → StepCompleteAuthentication-Dn2a9n2B.js} +7 -7
  166. package/chunk/{StepCompleteAuthentication-DIu2DNgh.js.map → StepCompleteAuthentication-Dn2a9n2B.js.map} +1 -1
  167. package/chunk/{StepConsolation-CPppVczj.js → StepConsolation-98Hyjrx9.js} +9 -9
  168. package/chunk/{StepConsolation-CPppVczj.js.map → StepConsolation-98Hyjrx9.js.map} +1 -1
  169. package/chunk/{StepConsolation-Ga2Deo3F.js → StepConsolation-XE4XTZd0.js} +9 -9
  170. package/chunk/{StepConsolation-Ga2Deo3F.js.map → StepConsolation-XE4XTZd0.js.map} +1 -1
  171. package/chunk/{StepDocUpload-DBL1iycT.js → StepDocUpload-DCVjwY0r.js} +208 -208
  172. package/chunk/{StepDocUpload-DBL1iycT.js.map → StepDocUpload-DCVjwY0r.js.map} +1 -1
  173. package/chunk/{StepDocUpload-BkCbuH5X.js → StepDocUpload-DIJmY36O.js} +216 -216
  174. package/chunk/{StepDocUpload-BkCbuH5X.js.map → StepDocUpload-DIJmY36O.js.map} +1 -1
  175. package/chunk/{StepDriverLicensePersonalInfoComponent-CrADIMOS.js → StepDriverLicensePersonalInfoComponent-BVLj7Snm.js} +15 -15
  176. package/chunk/{StepDriverLicensePersonalInfoComponent-CUiqvHhA.js.map → StepDriverLicensePersonalInfoComponent-BVLj7Snm.js.map} +1 -1
  177. package/chunk/{StepDriverLicensePersonalInfoComponent-CUiqvHhA.js → StepDriverLicensePersonalInfoComponent-DpQbQRYk.js} +15 -15
  178. package/chunk/{StepDriverLicensePersonalInfoComponent-CrADIMOS.js.map → StepDriverLicensePersonalInfoComponent-DpQbQRYk.js.map} +1 -1
  179. package/chunk/{StepEmailLoop-BLpzq_JF.js → StepEmailLoop-DijPspCu.js} +14 -14
  180. package/chunk/{StepEmailLoop-4i91aS0V.js.map → StepEmailLoop-DijPspCu.js.map} +1 -1
  181. package/chunk/{StepEmailLoop-4i91aS0V.js → StepEmailLoop-DlMwekLO.js} +11 -11
  182. package/chunk/{StepEmailLoop-BLpzq_JF.js.map → StepEmailLoop-DlMwekLO.js.map} +1 -1
  183. package/chunk/{StepEmploymentPersonalInfo-X7zDA2LO.js → StepEmploymentPersonalInfo-CK1WQrFc.js} +18 -18
  184. package/chunk/{StepEmploymentPersonalInfo-BdrrnW6U.js.map → StepEmploymentPersonalInfo-CK1WQrFc.js.map} +1 -1
  185. package/chunk/{StepEmploymentPersonalInfo-BdrrnW6U.js → StepEmploymentPersonalInfo-Io5lDANI.js} +18 -18
  186. package/chunk/{StepEmploymentPersonalInfo-X7zDA2LO.js.map → StepEmploymentPersonalInfo-Io5lDANI.js.map} +1 -1
  187. package/chunk/{StepFirstResponderPersonalInfo-DlMdPlSa.js → StepFirstResponderPersonalInfo-BNBFV9nZ.js} +26 -26
  188. package/chunk/{StepFirstResponderPersonalInfo-Cpjozwj9.js.map → StepFirstResponderPersonalInfo-BNBFV9nZ.js.map} +1 -1
  189. package/chunk/{StepFirstResponderPersonalInfo-Cpjozwj9.js → StepFirstResponderPersonalInfo-y8pLS7Ot.js} +24 -24
  190. package/chunk/{StepFirstResponderPersonalInfo-DlMdPlSa.js.map → StepFirstResponderPersonalInfo-y8pLS7Ot.js.map} +1 -1
  191. package/chunk/{StepGeneralIdentityPersonalInfoComponent-BrkQbrIa.js → StepGeneralIdentityPersonalInfoComponent-BOVFxi7E.js} +18 -18
  192. package/chunk/{StepGeneralIdentityPersonalInfoComponent-BrkQbrIa.js.map → StepGeneralIdentityPersonalInfoComponent-BOVFxi7E.js.map} +1 -1
  193. package/chunk/{StepGeneralIdentityPersonalInfoComponent-GQ0_pyiW.js → StepGeneralIdentityPersonalInfoComponent-DN4fDgmT.js} +18 -18
  194. package/chunk/{StepGeneralIdentityPersonalInfoComponent-GQ0_pyiW.js.map → StepGeneralIdentityPersonalInfoComponent-DN4fDgmT.js.map} +1 -1
  195. package/chunk/{StepHybridIdentityPersonalInfoComponent-DBQA9Czz.js → StepHybridIdentityPersonalInfoComponent-B7GiImzs.js} +19 -19
  196. package/chunk/{StepHybridIdentityPersonalInfoComponent-DBQA9Czz.js.map → StepHybridIdentityPersonalInfoComponent-B7GiImzs.js.map} +1 -1
  197. package/chunk/{StepHybridIdentityPersonalInfoComponent-DGJ-K8jL.js → StepHybridIdentityPersonalInfoComponent-CpLwzKR3.js} +19 -19
  198. package/chunk/{StepHybridIdentityPersonalInfoComponent-DGJ-K8jL.js.map → StepHybridIdentityPersonalInfoComponent-CpLwzKR3.js.map} +1 -1
  199. package/chunk/{StepIDCheckLoop-CmDYY5x_.js → StepIDCheckLoop-BvXMO0o-.js} +8 -8
  200. package/chunk/{StepIDCheckLoop-CmDYY5x_.js.map → StepIDCheckLoop-BvXMO0o-.js.map} +1 -1
  201. package/chunk/{StepIDCheckLoop-N0V-opfP.js → StepIDCheckLoop-mjicZN47.js} +8 -8
  202. package/chunk/{StepIDCheckLoop-N0V-opfP.js.map → StepIDCheckLoop-mjicZN47.js.map} +1 -1
  203. package/chunk/{StepIDCheckLoopOnfido-DrbnvX-v.js → StepIDCheckLoopOnfido-BOV4prFg.js} +38 -38
  204. package/chunk/{StepIDCheckLoopOnfido-DrbnvX-v.js.map → StepIDCheckLoopOnfido-BOV4prFg.js.map} +1 -1
  205. package/chunk/{StepIDCheckLoopOnfido-vUiFK8kD.js → StepIDCheckLoopOnfido-DruIo3QT.js} +37 -37
  206. package/chunk/{StepIDCheckLoopOnfido-vUiFK8kD.js.map → StepIDCheckLoopOnfido-DruIo3QT.js.map} +1 -1
  207. package/chunk/{StepIDCheckLoopRegula-DUQqWyY7.js → StepIDCheckLoopRegula-DyBl3yuL.js} +20 -20
  208. package/chunk/{StepIDCheckLoopRegula-6F05II31.js.map → StepIDCheckLoopRegula-DyBl3yuL.js.map} +1 -1
  209. package/chunk/{StepIDCheckLoopRegula-6F05II31.js → StepIDCheckLoopRegula-_AQpP8Wd.js} +21 -21
  210. package/chunk/{StepIDCheckLoopRegula-DUQqWyY7.js.map → StepIDCheckLoopRegula-_AQpP8Wd.js.map} +1 -1
  211. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-WvnubM6a.js → StepInactiveMilitaryPersonalInfoComponent-DCG2AMPg.js} +35 -35
  212. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CZNK0Ym-.js.map → StepInactiveMilitaryPersonalInfoComponent-DCG2AMPg.js.map} +1 -1
  213. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CZNK0Ym-.js → StepInactiveMilitaryPersonalInfoComponent-DyWjru-q.js} +32 -32
  214. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-WvnubM6a.js.map → StepInactiveMilitaryPersonalInfoComponent-DyWjru-q.js.map} +1 -1
  215. package/chunk/{StepLicensedProfessionalPersonalInfo-B6orcA1q.js → StepLicensedProfessionalPersonalInfo-CeTlSVd_.js} +17 -17
  216. package/chunk/{StepLicensedProfessionalPersonalInfo-B6orcA1q.js.map → StepLicensedProfessionalPersonalInfo-CeTlSVd_.js.map} +1 -1
  217. package/chunk/{StepLicensedProfessionalPersonalInfo-Cybuz5wl.js → StepLicensedProfessionalPersonalInfo-l2Kz9fjT.js} +17 -17
  218. package/chunk/{StepLicensedProfessionalPersonalInfo-Cybuz5wl.js.map → StepLicensedProfessionalPersonalInfo-l2Kz9fjT.js.map} +1 -1
  219. package/chunk/{StepLowIncomePersonalInfo-Bex7yLTA.js → StepLowIncomePersonalInfo-CprfWbyi.js} +30 -30
  220. package/chunk/{StepLowIncomePersonalInfo-Bex7yLTA.js.map → StepLowIncomePersonalInfo-CprfWbyi.js.map} +1 -1
  221. package/chunk/{StepLowIncomePersonalInfo-PGMXtmeY.js → StepLowIncomePersonalInfo-LJsDGPUb.js} +33 -33
  222. package/chunk/{StepLowIncomePersonalInfo-PGMXtmeY.js.map → StepLowIncomePersonalInfo-LJsDGPUb.js.map} +1 -1
  223. package/chunk/{StepMedicalProfessionalPersonalInfo-D9Dq4buf.js → StepMedicalProfessionalPersonalInfo-CCmT6j7D.js} +25 -25
  224. package/chunk/{StepMedicalProfessionalPersonalInfo-BCh4dVMx.js.map → StepMedicalProfessionalPersonalInfo-CCmT6j7D.js.map} +1 -1
  225. package/chunk/{StepMedicalProfessionalPersonalInfo-BCh4dVMx.js → StepMedicalProfessionalPersonalInfo-wIOQmTNI.js} +21 -21
  226. package/chunk/{StepMedicalProfessionalPersonalInfo-D9Dq4buf.js.map → StepMedicalProfessionalPersonalInfo-wIOQmTNI.js.map} +1 -1
  227. package/chunk/{StepMemberPersonalInfo-h4gOJKVO.js → StepMemberPersonalInfo-BBo85iSh.js} +16 -16
  228. package/chunk/{StepMemberPersonalInfo-CZ4eG64m.js.map → StepMemberPersonalInfo-BBo85iSh.js.map} +1 -1
  229. package/chunk/{StepMemberPersonalInfo-CZ4eG64m.js → StepMemberPersonalInfo-Bl21iEdB.js} +16 -16
  230. package/chunk/{StepMemberPersonalInfo-h4gOJKVO.js.map → StepMemberPersonalInfo-Bl21iEdB.js.map} +1 -1
  231. package/chunk/{StepMoverPersonalInfo-1qubJ21-.js → StepMoverPersonalInfo-CPfQCBOL.js} +14 -14
  232. package/chunk/{StepMoverPersonalInfo-1qubJ21-.js.map → StepMoverPersonalInfo-CPfQCBOL.js.map} +1 -1
  233. package/chunk/{StepMoverPersonalInfo-DjmlleEw.js → StepMoverPersonalInfo-WIqMMlAQ.js} +14 -14
  234. package/chunk/{StepMoverPersonalInfo-DjmlleEw.js.map → StepMoverPersonalInfo-WIqMMlAQ.js.map} +1 -1
  235. package/chunk/{StepOverrideComponent-C5LO9dxP.js → StepOverrideComponent-Bx00Gy5b.js} +15 -15
  236. package/chunk/{StepOverrideComponent-C5LO9dxP.js.map → StepOverrideComponent-Bx00Gy5b.js.map} +1 -1
  237. package/chunk/{StepOverrideComponent-DGSV1P5q.js → StepOverrideComponent-DkwzqsMM.js} +15 -15
  238. package/chunk/{StepOverrideComponent-DGSV1P5q.js.map → StepOverrideComponent-DkwzqsMM.js.map} +1 -1
  239. package/chunk/{StepSMSLoop-Cb56n7Er.js → StepSMSLoop-DF072Jty.js} +16 -16
  240. package/chunk/{StepSMSLoop-Cb56n7Er.js.map → StepSMSLoop-DF072Jty.js.map} +1 -1
  241. package/chunk/{StepSMSLoop-XVN6o1NS.js → StepSMSLoop-WSBQ_nIW.js} +16 -16
  242. package/chunk/{StepSMSLoop-XVN6o1NS.js.map → StepSMSLoop-WSBQ_nIW.js.map} +1 -1
  243. package/chunk/StepSSO-BRFhNvkp.js +4 -4
  244. package/chunk/StepSSO-BaFk7RFJ.js +4 -4
  245. package/chunk/{StepSocialSecurityNumber-B0kLt_Ff.js → StepSocialSecurityNumber-B46D7NFt.js} +16 -16
  246. package/chunk/{StepSocialSecurityNumber-B0kLt_Ff.js.map → StepSocialSecurityNumber-B46D7NFt.js.map} +1 -1
  247. package/chunk/{StepSocialSecurityNumber-CE3z8DHI.js → StepSocialSecurityNumber-DABlcVKf.js} +16 -16
  248. package/chunk/{StepSocialSecurityNumber-CE3z8DHI.js.map → StepSocialSecurityNumber-DABlcVKf.js.map} +1 -1
  249. package/chunk/{StepStudentPersonalInfo-BI9ktkUU.js → StepStudentPersonalInfo-CP_4yhlJ.js} +50 -50
  250. package/chunk/{StepStudentPersonalInfo-BI9ktkUU.js.map → StepStudentPersonalInfo-CP_4yhlJ.js.map} +1 -1
  251. package/chunk/{StepStudentPersonalInfo-MarIxoV4.js → StepStudentPersonalInfo-CTZIwyV3.js} +17 -17
  252. package/chunk/{StepStudentPersonalInfo-MarIxoV4.js.map → StepStudentPersonalInfo-CTZIwyV3.js.map} +1 -1
  253. package/chunk/{StepSuccess-BDy48JTw.js → StepSuccess-C6Uc5k_Q.js} +34 -30
  254. package/chunk/{StepSuccess-BDy48JTw.js.map → StepSuccess-C6Uc5k_Q.js.map} +1 -1
  255. package/chunk/{StepSuccess-C3xkPK0R.js → StepSuccess-CBdsz8MT.js} +29 -33
  256. package/chunk/{StepSuccess-C3xkPK0R.js.map → StepSuccess-CBdsz8MT.js.map} +1 -1
  257. package/chunk/{StepTeacherPersonalInfo-Cd-1RDI8.js → StepTeacherPersonalInfo-60j8F4p1.js} +17 -17
  258. package/chunk/{StepTeacherPersonalInfo-Cd-1RDI8.js.map → StepTeacherPersonalInfo-60j8F4p1.js.map} +1 -1
  259. package/chunk/{StepTeacherPersonalInfo-CfaA5EF-.js → StepTeacherPersonalInfo-BCHnJj4O.js} +17 -17
  260. package/chunk/{StepTeacherPersonalInfo-CfaA5EF-.js.map → StepTeacherPersonalInfo-BCHnJj4O.js.map} +1 -1
  261. package/chunk/StepThirdPartyLoop-BGHCbduX.js +4 -4
  262. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +4 -4
  263. package/chunk/{TeacherSchoolComponent-QMCnfKO6.js → TeacherSchoolComponent-BBl8EFEF.js} +8 -8
  264. package/chunk/{TeacherSchoolComponent-QMCnfKO6.js.map → TeacherSchoolComponent-BBl8EFEF.js.map} +1 -1
  265. package/chunk/{TeacherSchoolComponent-D9WEKaHi.js → TeacherSchoolComponent-en6KtVzc.js} +8 -8
  266. package/chunk/{TeacherSchoolComponent-D9WEKaHi.js.map → TeacherSchoolComponent-en6KtVzc.js.map} +1 -1
  267. package/chunk/TestingRouteOverrides-BGh0Kqkp.js +77 -0
  268. package/chunk/{TestingRouteOverrides-BddK1BnO.js.map → TestingRouteOverrides-BGh0Kqkp.js.map} +1 -1
  269. package/chunk/TestingRouteOverrides-CWSI3tlL.js +81 -0
  270. package/chunk/{TestingRouteOverrides-D2lQ2iql.js.map → TestingRouteOverrides-CWSI3tlL.js.map} +1 -1
  271. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  272. package/chunk/{VerificationApiClient-CXH2RHWK.js → VerificationApiClient-CAFyrI7O.js} +110 -103
  273. package/chunk/VerificationApiClient-CAFyrI7O.js.map +1 -0
  274. package/chunk/{VerificationApiClient-BTNoYJ13.js → VerificationApiClient-ClWX625R.js} +169 -162
  275. package/chunk/VerificationApiClient-ClWX625R.js.map +1 -0
  276. package/chunk/{VerificationApiUtils-jjMt3smk.js → VerificationApiUtils-CGXDqW3c.js} +7 -7
  277. package/chunk/{VerificationApiUtils-DEt8hCJB.js.map → VerificationApiUtils-CGXDqW3c.js.map} +1 -1
  278. package/chunk/VerificationApiUtils-Cqrb105H.js +21 -0
  279. package/chunk/{VerificationApiUtils-jjMt3smk.js.map → VerificationApiUtils-Cqrb105H.js.map} +1 -1
  280. package/chunk/ar-oaTqX-Bi.js +4 -4
  281. package/chunk/bg-FRD3ihTE.js +4 -4
  282. package/chunk/bn-IN-Dy8OAkhr.js +4 -4
  283. package/chunk/{countryUtils-D6zs2LHQ.js → countryUtils-1JE4C2YN.js} +5 -5
  284. package/chunk/{countryUtils-D6zs2LHQ.js.map → countryUtils-1JE4C2YN.js.map} +1 -1
  285. package/chunk/countryUtils-DDvwDj32.js +12 -0
  286. package/chunk/{countryUtils-FDuHjQVt.js.map → countryUtils-DDvwDj32.js.map} +1 -1
  287. package/chunk/cs-enxrquzj.js +4 -4
  288. package/chunk/da-xnww0OFf.js +4 -4
  289. package/chunk/de-Bpbr5cGf.js +4 -4
  290. package/chunk/{downshift.esm-BsLBKER5.js → downshift.esm-CD2wa3dL.js} +43 -43
  291. package/chunk/{downshift.esm-BsLBKER5.js.map → downshift.esm-CD2wa3dL.js.map} +1 -1
  292. package/chunk/{downshift.esm-CtV-zKqm.js → downshift.esm-DuUxTaVX.js} +122 -122
  293. package/chunk/{downshift.esm-CtV-zKqm.js.map → downshift.esm-DuUxTaVX.js.map} +1 -1
  294. package/chunk/el-CGE77D1a.js +4 -4
  295. package/chunk/{empties-CUtOn4FK.js → empties-CadVejwz.js} +49 -49
  296. package/chunk/{empties-BE8mPIWm.js.map → empties-CadVejwz.js.map} +1 -1
  297. package/chunk/{empties-BE8mPIWm.js → empties-DPqJljgl.js} +5 -5
  298. package/chunk/{empties-CUtOn4FK.js.map → empties-DPqJljgl.js.map} +1 -1
  299. package/chunk/en-GB-DtYEpdGz.js +4 -4
  300. package/chunk/es-B7Lqo7bY.js +4 -4
  301. package/chunk/es-ES-DMWW2FXA.js +4 -4
  302. package/chunk/et-q5WIKwz8.js +4 -4
  303. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  304. package/chunk/fa-BsqNfa1o.js +4 -4
  305. package/chunk/fi-CcuqPTQ2.js +4 -4
  306. package/chunk/fr-8Mug3b2y.js +4 -4
  307. package/chunk/fr-CA-DNMuEFMS.js +4 -4
  308. package/chunk/ga-BCyuagqq.js +4 -4
  309. package/chunk/hi-IN-s-W34sti.js +4 -4
  310. package/chunk/hr-B5aHCY4_.js +4 -4
  311. package/chunk/hu-C5qCDre-.js +4 -4
  312. package/chunk/id-B1goA5xk.js +4 -4
  313. package/chunk/{intl-CSRMUNER.js → intl-RejEV_0u.js} +409 -401
  314. package/chunk/intl-RejEV_0u.js.map +1 -0
  315. package/chunk/is-BW-t-Zif.js +4 -4
  316. package/chunk/it-DvCMm2we.js +4 -4
  317. package/chunk/iw-69T_ZKoI.js +4 -4
  318. package/chunk/ja-D-tWJV9S.js +4 -4
  319. package/chunk/{jsx-runtime-Dwjl7cK_.js → jsx-runtime-BzjRi5cY.js} +5 -5
  320. package/chunk/{jsx-runtime-ad-EElqi.js.map → jsx-runtime-BzjRi5cY.js.map} +1 -1
  321. package/chunk/{jsx-runtime-ad-EElqi.js → jsx-runtime-C8rHQFpC.js} +5 -5
  322. package/chunk/{jsx-runtime-Dwjl7cK_.js.map → jsx-runtime-C8rHQFpC.js.map} +1 -1
  323. package/chunk/kk-Cen4nsDW.js +4 -4
  324. package/chunk/ko-CKXa3e4S.js +4 -4
  325. package/chunk/lo-B4V3NOya.js +4 -4
  326. package/chunk/lt-CfHYjV7E.js +4 -4
  327. package/chunk/lv-bF1azTKb.js +4 -4
  328. package/chunk/{militaryStepHelpers-ZTXJBaSu.js → militaryStepHelpers-DIXJbH-e.js} +5 -5
  329. package/chunk/{militaryStepHelpers-7zTr1SAJ.js.map → militaryStepHelpers-DIXJbH-e.js.map} +1 -1
  330. package/chunk/{militaryStepHelpers-7zTr1SAJ.js → militaryStepHelpers-DjUPkHuN.js} +5 -5
  331. package/chunk/{militaryStepHelpers-ZTXJBaSu.js.map → militaryStepHelpers-DjUPkHuN.js.map} +1 -1
  332. package/chunk/{mocks-pQI41mbh.js → mocks-C4r3kSBm.js} +9 -9
  333. package/chunk/{mocks-CqvJ21vO.js.map → mocks-C4r3kSBm.js.map} +1 -1
  334. package/chunk/{mocks-CqvJ21vO.js → mocks-ZRlDr2zp.js} +9 -9
  335. package/chunk/{mocks-pQI41mbh.js.map → mocks-ZRlDr2zp.js.map} +1 -1
  336. package/chunk/ms-DIzxVhax.js +4 -4
  337. package/chunk/nl-BE-BP03y6BO.js +4 -4
  338. package/chunk/nl-DfctTqxe.js +4 -4
  339. package/chunk/no-RQH9Zv2G.js +4 -4
  340. package/chunk/{options-BbtwtZJW.js → options-5u5_TcMp.js} +394 -386
  341. package/chunk/{options-BbtwtZJW.js.map → options-5u5_TcMp.js.map} +1 -1
  342. package/chunk/pl-DbogtaWs.js +4 -4
  343. package/chunk/programThemeGetters-BXh5zb0K.js +165 -0
  344. package/chunk/{programThemeGetters-BntsyO45.js.map → programThemeGetters-BXh5zb0K.js.map} +1 -1
  345. package/chunk/{programThemeGetters-Cs5pPYoq.js → programThemeGetters-D-drBRV1.js} +18 -18
  346. package/chunk/{programThemeGetters-Cs5pPYoq.js.map → programThemeGetters-D-drBRV1.js.map} +1 -1
  347. package/chunk/pt-B2V6YtyG.js +4 -4
  348. package/chunk/pt-BR-CVJoyXno.js +4 -4
  349. package/chunk/{refs-DAyn6DqR.js → refs-BxfzLCJo.js} +5 -5
  350. package/chunk/{refs-DAyn6DqR.js.map → refs-BxfzLCJo.js.map} +1 -1
  351. package/chunk/{refs-jwRCkD4_.js → refs-Dbu3I4qq.js} +5 -5
  352. package/chunk/{refs-jwRCkD4_.js.map → refs-Dbu3I4qq.js.map} +1 -1
  353. package/chunk/ro-FX-D-E91.js +4 -4
  354. package/chunk/ru-DMxlV75G.js +4 -4
  355. package/chunk/sk-CligiCej.js +4 -4
  356. package/chunk/sl-DQanH4Ky.js +4 -4
  357. package/chunk/sr-BZNIdT32.js +4 -4
  358. package/chunk/strings-DWLVdUcm.js +4 -4
  359. package/chunk/sv-BfXPNNfM.js +4 -4
  360. package/chunk/sw-Cw__J23Z.js +4 -4
  361. package/chunk/ta-Chf_KWJv.js +4 -4
  362. package/chunk/th-BC7lSeIN.js +4 -4
  363. package/chunk/tl-BIXqJsLl.js +4 -4
  364. package/chunk/tr-C_V4PV3Q.js +4 -4
  365. package/chunk/uk-ebwNkDb6.js +4 -4
  366. package/chunk/ur-BbRoatfN.js +4 -4
  367. package/chunk/{useCollectFieldsEndpoint-T8xZdFDS.js → useCollectFieldsEndpoint-7AsHsqB8.js} +11 -11
  368. package/chunk/{useCollectFieldsEndpoint-DGhrHYA3.js.map → useCollectFieldsEndpoint-7AsHsqB8.js.map} +1 -1
  369. package/chunk/{useCollectFieldsEndpoint-DGhrHYA3.js → useCollectFieldsEndpoint-Ce2HnQ3I.js} +12 -12
  370. package/chunk/{useCollectFieldsEndpoint-T8xZdFDS.js.map → useCollectFieldsEndpoint-Ce2HnQ3I.js.map} +1 -1
  371. package/chunk/{useMetrics-Dq3FoQl7.js → useMetrics-CLtxtSUO.js} +7 -11
  372. package/chunk/{useMetrics-CNgGT8bK.js.map → useMetrics-CLtxtSUO.js.map} +1 -1
  373. package/chunk/{useMetrics-CNgGT8bK.js → useMetrics-CnnipBHm.js} +11 -7
  374. package/chunk/{useMetrics-Dq3FoQl7.js.map → useMetrics-CnnipBHm.js.map} +1 -1
  375. package/chunk/{validators-D7nh3NtK.js → validators-BTSkTV2f.js} +288 -288
  376. package/chunk/{validators-BCgU1EZZ.js.map → validators-BTSkTV2f.js.map} +1 -1
  377. package/chunk/{validators-BCgU1EZZ.js → validators-Bs1tWRSl.js} +86 -86
  378. package/chunk/{validators-D7nh3NtK.js.map → validators-Bs1tWRSl.js.map} +1 -1
  379. package/chunk/vi-B3RXegfW.js +4 -4
  380. package/chunk/zh-CD_hFClw.js +4 -4
  381. package/chunk/zh-HK-CGOvOtYE.js +4 -4
  382. package/chunk/zu-BMx7nUPZ.js +4 -4
  383. package/package.json +3 -2
  384. package/sheerid-install.css +4 -4
  385. package/sheerid-install.js +4 -4
  386. package/sheerid.css +4 -4
  387. package/sheerid.js +1427 -1400
  388. package/sheerid.js.map +1 -1
  389. package/chunk/CountryComponentWrapper-DKuB4eQA.js +0 -74
  390. package/chunk/FormFooterComponent-Cgu8_872.js.map +0 -1
  391. package/chunk/FormFooterComponent-DB0-FOF0.js.map +0 -1
  392. package/chunk/StepCollectMilitaryStatusComponent-BLY_y2Bh.js +0 -9
  393. package/chunk/TestingRouteOverrides-BddK1BnO.js +0 -77
  394. package/chunk/TestingRouteOverrides-D2lQ2iql.js +0 -81
  395. package/chunk/VerificationApiClient-BTNoYJ13.js.map +0 -1
  396. package/chunk/VerificationApiClient-CXH2RHWK.js.map +0 -1
  397. package/chunk/VerificationApiUtils-DEt8hCJB.js +0 -21
  398. package/chunk/countryUtils-FDuHjQVt.js +0 -12
  399. package/chunk/intl-CSRMUNER.js.map +0 -1
  400. package/chunk/programThemeGetters-BntsyO45.js +0 -165
@@ -1 +1 @@
1
- {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-3Mbij1P9.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,i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,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,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-Dv9E-wNt.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,sBA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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,33 +1,33 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.262.0-alpha.3
4
- * BUILD_TIMESTAMP: 1785444444877
5
- * BUILD_DATE: Thu Jul 30 2026 20:47:24 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
3
+ * VERSION: 2.263.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1785516877881
5
+ * BUILD_DATE: Fri Jul 31 2026 16:54:37 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
7
7
  */
8
- import { It as e, Vt as t, c as n, n as r, wt as i } from "./options-BbtwtZJW.js";
9
- import { a, c as o, n as s, t as c } from "./jsx-runtime-Dwjl7cK_.js";
10
- import { x as l } from "./FormFooterComponent-Cgu8_872.js";
11
- import { a as u } from "./refs-jwRCkD4_.js";
8
+ import { Ht as e, Lt as t, Tt as n, c as r, n as i } from "./options-5u5_TcMp.js";
9
+ import { a, c as o, n as s, t as c } from "./jsx-runtime-BzjRi5cY.js";
10
+ import { C as l } from "./FormFooterComponent-hQ9YVK_9.js";
11
+ import { a as u } from "./refs-Dbu3I4qq.js";
12
12
  import { G as d, I as f, K as p, V as m, et as h, r as g, tt as _ } from "../sheerid.js";
13
- import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-Eh4up7Aj.js";
14
- import { n as w, t as T } from "./PersonalInfoStepSubmitButton-DuUlUXYD.js";
15
- import { t as E } from "./BirthDateComponent-DW-1r_MV.js";
16
- import { t as D } from "./CountryComponentWrapper-DKuB4eQA.js";
17
- import { t as O } from "./ExtraMessage-BppIwzQ5.js";
18
- import { t as k } from "./ChangeLocaleComponent-CiTWGwun.js";
19
- import { t as A } from "./PersonalInfoStepWrapper-D3KT38ON.js";
20
- import { n as j, r as M, t as N } from "./DischargeDateComponent-02d47HpL.js";
21
- import { t as P } from "./StatusComponent-DPhnz8ZI.js";
22
- import { t as F } from "./militaryStepHelpers-ZTXJBaSu.js";
13
+ import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-D5Dv1noI.js";
14
+ import { n as w, t as T } from "./PersonalInfoStepSubmitButton-IMW1ww2e.js";
15
+ import { t as E } from "./BirthDateComponent-CPX6e-oS.js";
16
+ import { t as D } from "./CountryComponentWrapper-CLGBVkRB.js";
17
+ import { t as O } from "./ExtraMessage-UbmnijRM.js";
18
+ import { t as k } from "./ChangeLocaleComponent-B8O2m2HE.js";
19
+ import { t as A } from "./PersonalInfoStepWrapper-DwvV4VsT.js";
20
+ import { n as j, r as M, t as N } from "./DischargeDateComponent-S0alvYUT.js";
21
+ import { t as P } from "./StatusComponent-BLbeJdVB.js";
22
+ import { t as F } from "./militaryStepHelpers-DIXJbH-e.js";
23
23
  o();
24
24
  var I = c(), L = ({ intl: a, verificationService: o }) => {
25
- let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = f(o, a), H = c.localeChoice.value, U = r(), W = (e, t) => {
25
+ let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = f(o, a), H = c.localeChoice.value, U = i(), W = (e, t) => {
26
26
  o.updateViewModel(F(e, t, o, V));
27
27
  };
28
- return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep === e.collectMilitaryStatus) && (() => {
29
- let r = n(c, () => {});
30
- t.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, r, o.previousVerificationResponse || o.verificationResponse);
28
+ return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
29
+ let n = r(c, () => {});
30
+ e.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, n, o.previousVerificationResponse || o.verificationResponse);
31
31
  })(), u(), /* @__PURE__ */ (0, I.jsxs)(A, {
32
32
  verificationService: o,
33
33
  step: z.currentStep,
@@ -45,7 +45,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
45
45
  segmentId: "military",
46
46
  value: {
47
47
  value: c.status,
48
- label: d(a, c.status, i)
48
+ label: d(a, c.status, n)
49
49
  },
50
50
  isErrored: !!R.status,
51
51
  errorId: "invalidMilitaryStatus",
@@ -162,7 +162,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
162
162
  isErrored: !!R.captchaToken
163
163
  }),
164
164
  /* @__PURE__ */ (0, I.jsx)(T, {
165
- step: e.collectActiveMilitaryPersonalInfo,
165
+ step: t.collectActiveMilitaryPersonalInfo,
166
166
  verificationService: o,
167
167
  viewModel: c,
168
168
  failedInstantMatch: B,
@@ -1 +1 @@
1
- {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-FFvDeDRG.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,GAC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D;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-XDLAbyN0.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;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,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,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,25 +1,25 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.262.0-alpha.3
4
- * BUILD_TIMESTAMP: 1785444444877
5
- * BUILD_DATE: Thu Jul 30 2026 20:47:24 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
3
+ * VERSION: 2.263.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1785516877881
5
+ * BUILD_DATE: Fri Jul 31 2026 16:54:37 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
7
7
  */
8
- import { Gt as e, It as t, ct as n, n as r } from "./options-BbtwtZJW.js";
9
- import { a as i, c as a, n as o, t as s } from "./jsx-runtime-Dwjl7cK_.js";
10
- import { x as c } from "./FormFooterComponent-Cgu8_872.js";
8
+ import { Kt as e, Lt as t, lt as n, n as r } from "./options-5u5_TcMp.js";
9
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-BzjRi5cY.js";
10
+ import { C as c } from "./FormFooterComponent-hQ9YVK_9.js";
11
11
  import { K as l, V as u, Y as d, et as f, j as p, r as m, z as h } from "../sheerid.js";
12
- import { t as g } from "./useCollectFieldsEndpoint-DGhrHYA3.js";
13
- import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-Eh4up7Aj.js";
14
- import { n as C, t as w } from "./PersonalInfoStepSubmitButton-DuUlUXYD.js";
15
- import { t as T } from "./BirthDateComponent-DW-1r_MV.js";
16
- import { t as E } from "./PostalCodeComponent-BByC-zpa.js";
17
- import { t as D } from "./CountryComponentWrapper-DKuB4eQA.js";
18
- import { t as O } from "./City-B2YRxbl9.js";
19
- import { t as k } from "./AddressComponent-BEOTwoo8.js";
20
- import { t as A } from "./ExtraMessage-BppIwzQ5.js";
21
- import { t as j } from "./ChangeLocaleComponent-CiTWGwun.js";
22
- import { t as M } from "./PersonalInfoStepWrapper-D3KT38ON.js";
12
+ import { t as g } from "./useCollectFieldsEndpoint-Ce2HnQ3I.js";
13
+ import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-D5Dv1noI.js";
14
+ import { n as C, t as w } from "./PersonalInfoStepSubmitButton-IMW1ww2e.js";
15
+ import { t as T } from "./BirthDateComponent-CPX6e-oS.js";
16
+ import { t as E } from "./PostalCodeComponent-BDFy_9yi.js";
17
+ import { t as D } from "./CountryComponentWrapper-CLGBVkRB.js";
18
+ import { t as O } from "./City-CLyjXYQj.js";
19
+ import { t as k } from "./AddressComponent-D9R5iYEq.js";
20
+ import { t as A } from "./ExtraMessage-UbmnijRM.js";
21
+ import { t as j } from "./ChangeLocaleComponent-B8O2m2HE.js";
22
+ import { t as M } from "./PersonalInfoStepWrapper-DwvV4VsT.js";
23
23
  //#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
24
24
  var N = /* @__PURE__ */ e(a(), 1), P = s(), F = i(({ verificationService: e, intl: i }) => {
25
25
  let a = e.viewModel, { fieldValidationErrors: s } = e, F = e.verificationResponse, I = c(F), L = n(() => a.countryChoice.value, h(p(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 = r();
@@ -1 +1 @@
1
- {"version":3,"file":"StepAgePersonalInfo-DG9Hb5S-.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,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AW,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-BsTJ2oQP.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,aA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SAAS,CAAQ,GACpC,EAAqC,SAAS,GAAU,CAAmB;IAC7E;IACA,YAAY,MAAU,EAAqB,CAAK;IAChD,UAAU,EAAwB,OAAO,GAAG;GAC7C,CAAA;GAEA,IACC,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,YAAY;IACZ,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAmB,eAAe,CAAQ,GAC1C,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,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"}
@@ -4,26 +4,26 @@
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.262.0-alpha.3
8
- * BUILD_TIMESTAMP: 1785444448827
9
- * BUILD_DATE: Thu Jul 30 2026 20:47:28 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
7
+ * VERSION: 2.263.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1785516882559
9
+ * BUILD_DATE: Fri Jul 31 2026 16:54:42 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
11
11
  */
12
- import { Lt as e, Mt as t, Ut as n, s as r } from "./intl-CSRMUNER.js";
13
- import { a as i, c as a, n as o, t as s } from "./jsx-runtime-ad-EElqi.js";
14
- import { T as c } from "./FormFooterComponent-DB0-FOF0.js";
12
+ import { Bt as e, Ft as t, Kt as n, s as r } from "./intl-RejEV_0u.js";
13
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-C8rHQFpC.js";
14
+ import { D as c } from "./FormFooterComponent-Bf1bxfK_.js";
15
15
  import { $ as l, A as u, B as d, G as f, J as p, R as m, n as h } from "../_mysheerid-preview.js";
16
- import { t as g } from "./useCollectFieldsEndpoint-T8xZdFDS.js";
17
- import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-6YC__tfs.js";
18
- import { n as C, t as w } from "./PersonalInfoStepSubmitButton-clzrobVs.js";
19
- import { t as T } from "./BirthDateComponent-Dn4Pkaiz.js";
20
- import { t as E } from "./PostalCodeComponent-COaeeNXA.js";
21
- import { t as D } from "./CountryComponentWrapper-3OT-MoBx.js";
22
- import { t as O } from "./City-DSfS926t.js";
23
- import { t as k } from "./AddressComponent-C4EQ1638.js";
24
- import { t as A } from "./ExtraMessage-LK23_Ou9.js";
25
- import { t as j } from "./ChangeLocaleComponent-Brii1NXA.js";
26
- import { t as M } from "./PersonalInfoStepWrapper-D8lig4zW.js";
16
+ import { t as g } from "./useCollectFieldsEndpoint-7AsHsqB8.js";
17
+ import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-gd5yubvd.js";
18
+ import { n as C, t as w } from "./PersonalInfoStepSubmitButton-BS7TwIFn.js";
19
+ import { t as T } from "./BirthDateComponent-DiB89V9D.js";
20
+ import { t as E } from "./PostalCodeComponent-DuEPciUA.js";
21
+ import { t as D } from "./CountryComponentWrapper-BGajYZrL.js";
22
+ import { t as O } from "./City-B6J8thJW.js";
23
+ import { t as k } from "./AddressComponent-0vaEURVZ.js";
24
+ import { t as A } from "./ExtraMessage-vcQ9SW6K.js";
25
+ import { t as j } from "./ChangeLocaleComponent-BTZAq7uW.js";
26
+ import { t as M } from "./PersonalInfoStepWrapper-CZDrFaqC.js";
27
27
  //#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
28
28
  var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, intl: i }) => {
29
29
  let a = n.viewModel, { fieldValidationErrors: s } = n, F = n.verificationResponse, I = c(F), L = e(() => a.countryChoice.value, m(u(n.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || n.programTheme.isSmsNotifierConfigured || n.programTheme.smsLoopEnabled, B = L !== "US" || n.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
@@ -1 +1 @@
1
- {"version":3,"file":"StepAgePersonalInfo-Dux-oXiF.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CAAK;EACvF,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALA,EAAM,gBAAgB;EAEpB,EAAqC,eAAe,EAAU,aAAa,CAAmB;CAChG,GAAG,CAAC,EAAU,OAAO,CAAC,GAGpB,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyC;IAAqB,qBAAoB;GAAO,CAAA;GAEzF,iBAAA,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D,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-CD8rmbII.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,IAAm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A,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE0E"}
@@ -4,12 +4,12 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.262.0-alpha.3
8
- * BUILD_TIMESTAMP: 1785444448827
9
- * BUILD_DATE: Thu Jul 30 2026 20:47:28 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
7
+ * VERSION: 2.263.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1785516882559
9
+ * BUILD_DATE: Fri Jul 31 2026 16:54:42 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
11
11
  */
12
- import { t as e } from "./jsx-runtime-ad-EElqi.js";
12
+ import { t as e } from "./jsx-runtime-C8rHQFpC.js";
13
13
  //#region src/components/StepIDCheckLoop/StepCard/StepCard.tsx
14
14
  var t = e(), n = ({ icon: e, title: n, subtitle: r = void 0, isHighlighted: i = !1 }) => /* @__PURE__ */ (0, t.jsxs)("div", {
15
15
  className: `sid-id-check-step-card ${i && "sid-id-check-step-card--highlighted"}`,
@@ -1 +1 @@
1
- {"version":3,"file":"StepCard-B0Stfmvc.js","names":[],"sources":["../../src/components/StepIDCheckLoop/StepCard/StepCard.tsx"],"sourcesContent":["import type React from \"react\";\n\ninterface StepCardComponentProps {\n icon: React.ReactNode;\n title: React.ReactNode;\n subtitle?: React.ReactNode;\n isHighlighted?: boolean;\n}\n\nconst StepCard = ({\n icon,\n title,\n subtitle = undefined,\n isHighlighted = false,\n}: StepCardComponentProps) => (\n <div\n className={`sid-id-check-step-card ${isHighlighted && \"sid-id-check-step-card--highlighted\"}`}\n >\n <div className=\"sid-id-check-step-card__icon\">{icon}</div>\n\n <div className=\"sid-id-check-step-card__description\">\n <div className=\"sid-id-check-step-card__title\">{title}</div>\n {subtitle && (\n <div className=\"sid-id-check-step-card__subtitle sid-l-space-top-sm\">{subtitle}</div>\n )}\n </div>\n </div>\n);\n\nexport const StepCardComponent = StepCard;\n"],"mappings":";;aA6Ba,KApBK,EAChB,SACA,UACA,cAAW,KAAA,GACX,mBAAgB,SAEhB,iBAAA,GAAA,EAAA,MAAC,OAAD;CACE,WAAW,0BAA0B,KAAiB;WADxD,CAGE,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YAAgC;CAAU,CAAA,GAEzD,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAiC;EAAW,CAAA,GAC1D,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAuD;EAAc,CAAA,CAEnF;GACF"}
1
+ {"version":3,"file":"StepCard-Bp4YtbLH.js","names":[],"sources":["../../src/components/StepIDCheckLoop/StepCard/StepCard.tsx"],"sourcesContent":["import type React from \"react\";\n\ninterface StepCardComponentProps {\n icon: React.ReactNode;\n title: React.ReactNode;\n subtitle?: React.ReactNode;\n isHighlighted?: boolean;\n}\n\nconst StepCard = ({\n icon,\n title,\n subtitle = undefined,\n isHighlighted = false,\n}: StepCardComponentProps) => (\n <div\n className={`sid-id-check-step-card ${isHighlighted && \"sid-id-check-step-card--highlighted\"}`}\n >\n <div className=\"sid-id-check-step-card__icon\">{icon}</div>\n\n <div className=\"sid-id-check-step-card__description\">\n <div className=\"sid-id-check-step-card__title\">{title}</div>\n {subtitle && (\n <div className=\"sid-id-check-step-card__subtitle sid-l-space-top-sm\">{subtitle}</div>\n )}\n </div>\n </div>\n);\n\nexport const StepCardComponent = StepCard;\n"],"mappings":";;aA6Ba,KApBK,EAChB,SACA,UACA,cAAW,KAAA,GACX,mBAAgB,SAEhB,iBAAA,GAAA,EAAA,MAAC,OAAD;CACE,WAAW,0BAA0B,KAAiB;WADxD,CAGE,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YAAgC;CAAU,CAAA,GAEzD,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAiC;EAAW,CAAA,GAC1D,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAuD;EAAc,CAAA,CAEnF;GACF"}
@@ -1,11 +1,11 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.262.0-alpha.3
4
- * BUILD_TIMESTAMP: 1785444444877
5
- * BUILD_DATE: Thu Jul 30 2026 20:47:24 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
3
+ * VERSION: 2.263.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1785516877881
5
+ * BUILD_DATE: Fri Jul 31 2026 16:54:37 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
7
7
  */
8
- import { t as e } from "./jsx-runtime-Dwjl7cK_.js";
8
+ import { t as e } from "./jsx-runtime-BzjRi5cY.js";
9
9
  //#region src/components/StepIDCheckLoop/StepCard/StepCard.tsx
10
10
  var t = e(), n = ({ icon: e, title: n, subtitle: r = void 0, isHighlighted: i = !1 }) => /* @__PURE__ */ (0, t.jsxs)("div", {
11
11
  className: `sid-id-check-step-card ${i && "sid-id-check-step-card--highlighted"}`,
@@ -1 +1 @@
1
- {"version":3,"file":"StepCard-BnBrK5Xn.js","names":[],"sources":["../../src/components/StepIDCheckLoop/StepCard/StepCard.tsx"],"sourcesContent":["import type React from \"react\";\n\ninterface StepCardComponentProps {\n icon: React.ReactNode;\n title: React.ReactNode;\n subtitle?: React.ReactNode;\n isHighlighted?: boolean;\n}\n\nconst StepCard = ({\n icon,\n title,\n subtitle = undefined,\n isHighlighted = false,\n}: StepCardComponentProps) => (\n <div\n className={`sid-id-check-step-card ${isHighlighted && \"sid-id-check-step-card--highlighted\"}`}\n >\n <div className=\"sid-id-check-step-card__icon\">{icon}</div>\n\n <div className=\"sid-id-check-step-card__description\">\n <div className=\"sid-id-check-step-card__title\">{title}</div>\n {subtitle && (\n <div className=\"sid-id-check-step-card__subtitle sid-l-space-top-sm\">{subtitle}</div>\n )}\n </div>\n </div>\n);\n\nexport const StepCardComponent = StepCard;\n"],"mappings":";;aA6Ba,KApBK,EAChB,SACA,UACA,cAAW,KAAA,GACX,mBAAgB,SAEhB,iBAAA,GAAA,EAAA,MAAC,OAAD;CACE,WAAW,0BAA0B,KAAiB;WADxD,CAGE,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YAAgC;CAAU,CAAA,GAEzD,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAiC;EAAW,CAAA,GAC1D,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAuD;EAAc,CAAA,CAEnF;GACF"}
1
+ {"version":3,"file":"StepCard-Bzt1Ked6.js","names":[],"sources":["../../src/components/StepIDCheckLoop/StepCard/StepCard.tsx"],"sourcesContent":["import type React from \"react\";\n\ninterface StepCardComponentProps {\n icon: React.ReactNode;\n title: React.ReactNode;\n subtitle?: React.ReactNode;\n isHighlighted?: boolean;\n}\n\nconst StepCard = ({\n icon,\n title,\n subtitle = undefined,\n isHighlighted = false,\n}: StepCardComponentProps) => (\n <div\n className={`sid-id-check-step-card ${isHighlighted && \"sid-id-check-step-card--highlighted\"}`}\n >\n <div className=\"sid-id-check-step-card__icon\">{icon}</div>\n\n <div className=\"sid-id-check-step-card__description\">\n <div className=\"sid-id-check-step-card__title\">{title}</div>\n {subtitle && (\n <div className=\"sid-id-check-step-card__subtitle sid-l-space-top-sm\">{subtitle}</div>\n )}\n </div>\n </div>\n);\n\nexport const StepCardComponent = StepCard;\n"],"mappings":";;aA6Ba,KApBK,EAChB,SACA,UACA,cAAW,KAAA,GACX,mBAAgB,SAEhB,iBAAA,GAAA,EAAA,MAAC,OAAD;CACE,WAAW,0BAA0B,KAAiB;WADxD,CAGE,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YAAgC;CAAU,CAAA,GAEzD,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAiC;EAAW,CAAA,GAC1D,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAuD;EAAc,CAAA,CAEnF;GACF"}
@@ -1,18 +1,18 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.262.0-alpha.3
4
- * BUILD_TIMESTAMP: 1785444444877
5
- * BUILD_DATE: Thu Jul 30 2026 20:47:24 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
3
+ * VERSION: 2.263.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1785516877881
5
+ * BUILD_DATE: Fri Jul 31 2026 16:54:37 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
7
7
  */
8
- import { It as e, c as t } from "./options-BbtwtZJW.js";
9
- import { n, t as r } from "./jsx-runtime-Dwjl7cK_.js";
10
- import { t as i, x as a } from "./FormFooterComponent-Cgu8_872.js";
8
+ import { Lt as e, c as t } from "./options-5u5_TcMp.js";
9
+ import { n, t as r } from "./jsx-runtime-BzjRi5cY.js";
10
+ import { C as i, t as a } from "./FormFooterComponent-hQ9YVK_9.js";
11
11
  import { K as o, et as s, r as c } from "../sheerid.js";
12
- import { n as l, t as u } from "./PersonalInfoStepSubmitButton-DuUlUXYD.js";
12
+ import { n as l, t as u } from "./PersonalInfoStepSubmitButton-IMW1ww2e.js";
13
13
  //#region src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx
14
14
  var d = r(), f = ({ verificationService: r }) => {
15
- let f = r.viewModel, { fieldValidationErrors: p } = r, m = r.verificationResponse, h = a(m), g = (e, n) => {
15
+ let f = r.viewModel, { fieldValidationErrors: p } = r, m = r.verificationResponse, h = i(m), g = (e, n) => {
16
16
  let i = t(f, (t) => {
17
17
  t[e] = n;
18
18
  });
@@ -51,7 +51,7 @@ var d = r(), f = ({ verificationService: r }) => {
51
51
  })
52
52
  })
53
53
  ]
54
- }), /* @__PURE__ */ (0, d.jsx)(i, { verificationService: r })]
54
+ }), /* @__PURE__ */ (0, d.jsx)(a, { verificationService: r })]
55
55
  });
56
56
  };
57
57
  //#endregion