@sheerid/jslib 2.287.0 → 2.289.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 (351) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +900 -900
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-CJrrmHmU.js → AddressComponent-BFEdmLph.js} +6 -6
  5. package/chunk/{AddressComponent-CAljV9xQ.js.map → AddressComponent-BFEdmLph.js.map} +1 -1
  6. package/chunk/{AddressComponent-CAljV9xQ.js → AddressComponent-C2mollBp.js} +6 -6
  7. package/chunk/{AddressComponent-CJrrmHmU.js.map → AddressComponent-C2mollBp.js.map} +1 -1
  8. package/chunk/AnnouncingHeader-B0Ku-xl_.js +4 -4
  9. package/chunk/AnnouncingHeader-CXTQdbKG.js +4 -4
  10. package/chunk/{ApiUrls-Dz_hjktj.js → ApiUrls-mCK2IKFF.js} +5 -5
  11. package/chunk/{ApiUrls-Dz_hjktj.js.map → ApiUrls-mCK2IKFF.js.map} +1 -1
  12. package/chunk/{ApiUrls-DNSLMaf_.js → ApiUrls-ycoYioq4.js} +5 -5
  13. package/chunk/{ApiUrls-DNSLMaf_.js.map → ApiUrls-ycoYioq4.js.map} +1 -1
  14. package/chunk/{BirthDateComponent-C6inTN_d.js → BirthDateComponent-1FYtxavW.js} +6 -6
  15. package/chunk/{BirthDateComponent-B6CCdI1w.js.map → BirthDateComponent-1FYtxavW.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-B6CCdI1w.js → BirthDateComponent-DbILUMIz.js} +6 -6
  17. package/chunk/{BirthDateComponent-C6inTN_d.js.map → BirthDateComponent-DbILUMIz.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-BOIt_QNQ.js → CaptchaComponent-KFLJ56dX.js} +8 -8
  19. package/chunk/{CaptchaComponent-BOIt_QNQ.js.map → CaptchaComponent-KFLJ56dX.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-COMDyzye.js → CaptchaComponent-L3WoxJAC.js} +8 -8
  21. package/chunk/{CaptchaComponent-COMDyzye.js.map → CaptchaComponent-L3WoxJAC.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-BbkEb3a6.js → ChangeLocaleComponent-BcyU0Zgd.js} +6 -6
  23. package/chunk/{ChangeLocaleComponent-BbkEb3a6.js.map → ChangeLocaleComponent-BcyU0Zgd.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-jY0EP0y4.js → ChangeLocaleComponent-Wju8NvwL.js} +6 -6
  25. package/chunk/{ChangeLocaleComponent-jY0EP0y4.js.map → ChangeLocaleComponent-Wju8NvwL.js.map} +1 -1
  26. package/chunk/{City-D4i6_4Pu.js → City-BXTk8t3d.js} +6 -6
  27. package/chunk/{City-BEHiaazP.js.map → City-BXTk8t3d.js.map} +1 -1
  28. package/chunk/{City-BEHiaazP.js → City-mQnP6dP2.js} +6 -6
  29. package/chunk/{City-D4i6_4Pu.js.map → City-mQnP6dP2.js.map} +1 -1
  30. package/chunk/{CollegeNameComponent-Dlypt-Wd.js → CollegeNameComponent-Bov_i0oT.js} +7 -7
  31. package/chunk/{CollegeNameComponent-DNCDgzhk.js.map → CollegeNameComponent-Bov_i0oT.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-DNCDgzhk.js → CollegeNameComponent-Df_VMbdr.js} +7 -7
  33. package/chunk/{CollegeNameComponent-Dlypt-Wd.js.map → CollegeNameComponent-Df_VMbdr.js.map} +1 -1
  34. package/chunk/CopyToClipboardComponent-BAOwMLHJ.js +4 -4
  35. package/chunk/CopyToClipboardComponent-BejK3fLR.js +4 -4
  36. package/chunk/{CountryComponentWrapper-D0nzEytT.js → CountryComponentWrapper-BSg_JhlH.js} +9 -9
  37. package/chunk/{CountryComponentWrapper-D0nzEytT.js.map → CountryComponentWrapper-BSg_JhlH.js.map} +1 -1
  38. package/chunk/{CountryComponentWrapper-T2Bpp2gB.js → CountryComponentWrapper-dG5Zqfee.js} +9 -9
  39. package/chunk/{CountryComponentWrapper-T2Bpp2gB.js.map → CountryComponentWrapper-dG5Zqfee.js.map} +1 -1
  40. package/chunk/{DischargeDateComponent-C-HrV34I.js → DischargeDateComponent-C6BB3YwP.js} +8 -8
  41. package/chunk/{DischargeDateComponent-C-HrV34I.js.map → DischargeDateComponent-C6BB3YwP.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-bi1txW-r.js → DischargeDateComponent-D8yMgfh-.js} +8 -8
  43. package/chunk/{DischargeDateComponent-bi1txW-r.js.map → DischargeDateComponent-D8yMgfh-.js.map} +1 -1
  44. package/chunk/{DriverLicenseNumberComponent-ayI3u5Hr.js → DriverLicenseNumberComponent-C_wuryKm.js} +6 -6
  45. package/chunk/{DriverLicenseNumberComponent-CLNtUUgc.js.map → DriverLicenseNumberComponent-C_wuryKm.js.map} +1 -1
  46. package/chunk/{DriverLicenseNumberComponent-CLNtUUgc.js → DriverLicenseNumberComponent-i_ywdo3P.js} +6 -6
  47. package/chunk/{DriverLicenseNumberComponent-ayI3u5Hr.js.map → DriverLicenseNumberComponent-i_ywdo3P.js.map} +1 -1
  48. package/chunk/{EmailLoopPending-DNypwI3A.js → EmailLoopPending-DThAR1Iv.js} +6 -6
  49. package/chunk/{EmailLoopPending-D48nTSsQ.js.map → EmailLoopPending-DThAR1Iv.js.map} +1 -1
  50. package/chunk/{EmailLoopPending-D48nTSsQ.js → EmailLoopPending-Du6R4zif.js} +6 -6
  51. package/chunk/{EmailLoopPending-DNypwI3A.js.map → EmailLoopPending-Du6R4zif.js.map} +1 -1
  52. package/chunk/{ExtraMessage-D5tofP3l.js → ExtraMessage-BZ9XdOdL.js} +5 -5
  53. package/chunk/{ExtraMessage-D5tofP3l.js.map → ExtraMessage-BZ9XdOdL.js.map} +1 -1
  54. package/chunk/{ExtraMessage-D6mjCJWc.js → ExtraMessage-D1j0TLE3.js} +5 -5
  55. package/chunk/{ExtraMessage-D6mjCJWc.js.map → ExtraMessage-D1j0TLE3.js.map} +1 -1
  56. package/chunk/{FirstResponderOrganizationComponent-BXQqq3cc.js → FirstResponderOrganizationComponent-D5UbIVyE.js} +7 -7
  57. package/chunk/{FirstResponderOrganizationComponent-BXQqq3cc.js.map → FirstResponderOrganizationComponent-D5UbIVyE.js.map} +1 -1
  58. package/chunk/{FirstResponderOrganizationComponent-Cz-4YY2n.js → FirstResponderOrganizationComponent-D9VmCGiC.js} +7 -7
  59. package/chunk/{FirstResponderOrganizationComponent-Cz-4YY2n.js.map → FirstResponderOrganizationComponent-D9VmCGiC.js.map} +1 -1
  60. package/chunk/{FormFieldInputSelect-DfPHGWSM.js → FormFieldInputSelect-Cf2843FO.js} +5 -5
  61. package/chunk/{FormFieldInputSelect-BD0avAFv.js.map → FormFieldInputSelect-Cf2843FO.js.map} +1 -1
  62. package/chunk/{FormFieldInputSelect-BD0avAFv.js → FormFieldInputSelect-DFkZlHDE.js} +5 -5
  63. package/chunk/{FormFieldInputSelect-DfPHGWSM.js.map → FormFieldInputSelect-DFkZlHDE.js.map} +1 -1
  64. package/chunk/FormFieldLayout-DEKIQK2R.js +4 -4
  65. package/chunk/FormFieldLayout-NkmhFC9B.js +4 -4
  66. package/chunk/FormFieldText-Bn9WIKiI.js +4 -4
  67. package/chunk/FormFieldText-Py7x4EZ6.js +4 -4
  68. package/chunk/{FormFieldTypeahead-CexU7aJK.js → FormFieldTypeahead-CDKGsEZB.js} +7 -7
  69. package/chunk/{FormFieldTypeahead-CexU7aJK.js.map → FormFieldTypeahead-CDKGsEZB.js.map} +1 -1
  70. package/chunk/{FormFieldTypeahead-BGUkqjm_.js → FormFieldTypeahead-DWAxDXKP.js} +7 -7
  71. package/chunk/{FormFieldTypeahead-BGUkqjm_.js.map → FormFieldTypeahead-DWAxDXKP.js.map} +1 -1
  72. package/chunk/{FormFooterComponent-DdlG9tS3.js → FormFooterComponent-BrOM_pQ9.js} +7 -7
  73. package/chunk/{FormFooterComponent-DdlG9tS3.js.map → FormFooterComponent-BrOM_pQ9.js.map} +1 -1
  74. package/chunk/{FormFooterComponent-BiJ-9fwP.js → FormFooterComponent-CP0-Wobs.js} +7 -7
  75. package/chunk/{FormFooterComponent-BiJ-9fwP.js.map → FormFooterComponent-CP0-Wobs.js.map} +1 -1
  76. package/chunk/{FormSelectChoice-DiU96It5.js → FormSelectChoice-DWG9hYtf.js} +6 -6
  77. package/chunk/{FormSelectChoice-DK4cBs4M.js.map → FormSelectChoice-DWG9hYtf.js.map} +1 -1
  78. package/chunk/{FormSelectChoice-DK4cBs4M.js → FormSelectChoice-yNUPRIKO.js} +6 -6
  79. package/chunk/{FormSelectChoice-DiU96It5.js.map → FormSelectChoice-yNUPRIKO.js.map} +1 -1
  80. package/chunk/InputText-CMu4ei8e.js +4 -4
  81. package/chunk/InputText-dflyPe3J.js +4 -4
  82. package/chunk/{LicensedProfessionalOrganizationComponent-DrNi1J9O.js → LicensedProfessionalOrganizationComponent-CdVLOkti.js} +7 -7
  83. package/chunk/{LicensedProfessionalOrganizationComponent-CRbyZ67V.js.map → LicensedProfessionalOrganizationComponent-CdVLOkti.js.map} +1 -1
  84. package/chunk/{LicensedProfessionalOrganizationComponent-CRbyZ67V.js → LicensedProfessionalOrganizationComponent-FBu3_XDq.js} +7 -7
  85. package/chunk/{LicensedProfessionalOrganizationComponent-DrNi1J9O.js.map → LicensedProfessionalOrganizationComponent-FBu3_XDq.js.map} +1 -1
  86. package/chunk/LogoComponent-BDhMcJvy.js +4 -4
  87. package/chunk/LogoComponent-DASXTR4v.js +4 -4
  88. package/chunk/{LowIncomeOrganizationComponent-BqttAUep.js → LowIncomeOrganizationComponent-BI4Lscrc.js} +8 -8
  89. package/chunk/{LowIncomeOrganizationComponent-BqttAUep.js.map → LowIncomeOrganizationComponent-BI4Lscrc.js.map} +1 -1
  90. package/chunk/{LowIncomeOrganizationComponent-DJeHRnKV.js → LowIncomeOrganizationComponent-DrNEvBR8.js} +8 -8
  91. package/chunk/{LowIncomeOrganizationComponent-DJeHRnKV.js.map → LowIncomeOrganizationComponent-DrNEvBR8.js.map} +1 -1
  92. package/chunk/{MedicalProfessionalOrganizationComponent-StqqPfKh.js → MedicalProfessionalOrganizationComponent-BnVU_DtU.js} +7 -7
  93. package/chunk/{MedicalProfessionalOrganizationComponent-C9tC4-n0.js.map → MedicalProfessionalOrganizationComponent-BnVU_DtU.js.map} +1 -1
  94. package/chunk/{MedicalProfessionalOrganizationComponent-C9tC4-n0.js → MedicalProfessionalOrganizationComponent-i1AHUB2l.js} +7 -7
  95. package/chunk/{MedicalProfessionalOrganizationComponent-StqqPfKh.js.map → MedicalProfessionalOrganizationComponent-i1AHUB2l.js.map} +1 -1
  96. package/chunk/{MemberIdComponent--135FhsS.js → MemberIdComponent-BJIWA0U-.js} +6 -6
  97. package/chunk/{MemberIdComponent--135FhsS.js.map → MemberIdComponent-BJIWA0U-.js.map} +1 -1
  98. package/chunk/{MemberIdComponent-DK6TUfxB.js → MemberIdComponent-CJIKRgkP.js} +6 -6
  99. package/chunk/{MemberIdComponent-DK6TUfxB.js.map → MemberIdComponent-CJIKRgkP.js.map} +1 -1
  100. package/chunk/{MembershipOrganizationComponent-CTgnzgiz.js → MembershipOrganizationComponent-B2SfBgyQ.js} +7 -7
  101. package/chunk/{MembershipOrganizationComponent-CTgnzgiz.js.map → MembershipOrganizationComponent-B2SfBgyQ.js.map} +1 -1
  102. package/chunk/{MembershipOrganizationComponent-DG2QLHC2.js → MembershipOrganizationComponent-lCfT5hKV.js} +7 -7
  103. package/chunk/{MembershipOrganizationComponent-DG2QLHC2.js.map → MembershipOrganizationComponent-lCfT5hKV.js.map} +1 -1
  104. package/chunk/{Message-BBifXgZ3.js → Message-C5LUKoZw.js} +978 -976
  105. package/chunk/{Message-BBifXgZ3.js.map → Message-C5LUKoZw.js.map} +1 -1
  106. package/chunk/{Message-BL20LTBg.js → Message-CZD2IHWF.js} +5 -5
  107. package/chunk/{Message-BL20LTBg.js.map → Message-CZD2IHWF.js.map} +1 -1
  108. package/chunk/Onfido-CTCgAwnB.js +4 -4
  109. package/chunk/{PersonalInfoStepSubmitButton-BNUMtb0a.js → PersonalInfoStepSubmitButton-DnepwbFs.js} +10 -10
  110. package/chunk/{PersonalInfoStepSubmitButton-BNUMtb0a.js.map → PersonalInfoStepSubmitButton-DnepwbFs.js.map} +1 -1
  111. package/chunk/{PersonalInfoStepSubmitButton-NagYqca5.js → PersonalInfoStepSubmitButton-Q6g7KHwI.js} +10 -10
  112. package/chunk/{PersonalInfoStepSubmitButton-NagYqca5.js.map → PersonalInfoStepSubmitButton-Q6g7KHwI.js.map} +1 -1
  113. package/chunk/{PersonalInfoStepWrapper-9I7Aa79o.js → PersonalInfoStepWrapper-B7pfOMf3.js} +5 -5
  114. package/chunk/{PersonalInfoStepWrapper-9I7Aa79o.js.map → PersonalInfoStepWrapper-B7pfOMf3.js.map} +1 -1
  115. package/chunk/{PersonalInfoStepWrapper-DaH1p-AU.js → PersonalInfoStepWrapper-D2GlDkO6.js} +6 -6
  116. package/chunk/{PersonalInfoStepWrapper-DaH1p-AU.js.map → PersonalInfoStepWrapper-D2GlDkO6.js.map} +1 -1
  117. package/chunk/{PostalCodeComponent-CuiH815C.js → PostalCodeComponent-C-0blxoe.js} +6 -6
  118. package/chunk/{PostalCodeComponent-CuiH815C.js.map → PostalCodeComponent-C-0blxoe.js.map} +1 -1
  119. package/chunk/{PostalCodeComponent-Dg4YvxkC.js → PostalCodeComponent-C50XmPmv.js} +6 -6
  120. package/chunk/{PostalCodeComponent-Dg4YvxkC.js.map → PostalCodeComponent-C50XmPmv.js.map} +1 -1
  121. package/chunk/{SSN-D3NAFGpA.js → SSN-CjLxLrYN.js} +6 -6
  122. package/chunk/{SSN-D3NAFGpA.js.map → SSN-CjLxLrYN.js.map} +1 -1
  123. package/chunk/{SSN-x8cc3vng.js → SSN-DBPw87L6.js} +6 -6
  124. package/chunk/{SSN-x8cc3vng.js.map → SSN-DBPw87L6.js.map} +1 -1
  125. package/chunk/{StateSelectComponent-B3BsbyFa.js → StateSelectComponent-C05RJO04.js} +6 -6
  126. package/chunk/{StateSelectComponent-B3BsbyFa.js.map → StateSelectComponent-C05RJO04.js.map} +1 -1
  127. package/chunk/{StateSelectComponent-DBYcxzkn.js → StateSelectComponent-og_G8R5A.js} +6 -6
  128. package/chunk/{StateSelectComponent-DBYcxzkn.js.map → StateSelectComponent-og_G8R5A.js.map} +1 -1
  129. package/chunk/{StatusComponent-Cv67yZ8R.js → StatusComponent-CceeOAxy.js} +7 -7
  130. package/chunk/{StatusComponent-BxbVuoiu.js.map → StatusComponent-CceeOAxy.js.map} +1 -1
  131. package/chunk/{StatusComponent-BxbVuoiu.js → StatusComponent-DPs6MHNn.js} +7 -7
  132. package/chunk/{StatusComponent-Cv67yZ8R.js.map → StatusComponent-DPs6MHNn.js.map} +1 -1
  133. package/chunk/StepAgePersonalInfo-Bwdjo9Zy.js +172 -0
  134. package/chunk/StepAgePersonalInfo-Bwdjo9Zy.js.map +1 -0
  135. package/chunk/StepAgePersonalInfo-DIOOXX9y.js +176 -0
  136. package/chunk/StepAgePersonalInfo-DIOOXX9y.js.map +1 -0
  137. package/chunk/StepCard-DQ9JkAjb.js +4 -4
  138. package/chunk/StepCard-EHeqFY3Y.js +4 -4
  139. package/chunk/{StepCollectIdentifier-DlpQHPwr.js → StepCollectIdentifier-CSGIiyFf.js} +9 -9
  140. package/chunk/{StepCollectIdentifier-DlpQHPwr.js.map → StepCollectIdentifier-CSGIiyFf.js.map} +1 -1
  141. package/chunk/{StepCollectIdentifier-D4bSGAgT.js → StepCollectIdentifier-nrcBJaBK.js} +9 -9
  142. package/chunk/{StepCollectIdentifier-D4bSGAgT.js.map → StepCollectIdentifier-nrcBJaBK.js.map} +1 -1
  143. package/chunk/{StepCollectMilitaryPersonalInfoComponent-MqA789NL.js → StepCollectMilitaryPersonalInfoComponent-B6L54gOh.js} +58 -58
  144. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CQuEF5Hc.js.map → StepCollectMilitaryPersonalInfoComponent-B6L54gOh.js.map} +1 -1
  145. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CQuEF5Hc.js → StepCollectMilitaryPersonalInfoComponent-BhWPQoWG.js} +58 -58
  146. package/chunk/{StepCollectMilitaryPersonalInfoComponent-MqA789NL.js.map → StepCollectMilitaryPersonalInfoComponent-BhWPQoWG.js.map} +1 -1
  147. package/chunk/{StepCollectPersonalInfo-Blkdueac.js → StepCollectPersonalInfo-DtyiAaDl.js} +36 -36
  148. package/chunk/{StepCollectPersonalInfo-DYZwWO8s.js.map → StepCollectPersonalInfo-DtyiAaDl.js.map} +1 -1
  149. package/chunk/{StepCollectPersonalInfo-DYZwWO8s.js → StepCollectPersonalInfo-Mn8W7-0u.js} +36 -36
  150. package/chunk/{StepCollectPersonalInfo-Blkdueac.js.map → StepCollectPersonalInfo-Mn8W7-0u.js.map} +1 -1
  151. package/chunk/{StepCompleteAuthentication-DmkwcwhP.js → StepCompleteAuthentication-CJpJoWRq.js} +8 -8
  152. package/chunk/{StepCompleteAuthentication-oWf-NQ40.js.map → StepCompleteAuthentication-CJpJoWRq.js.map} +1 -1
  153. package/chunk/{StepCompleteAuthentication-oWf-NQ40.js → StepCompleteAuthentication-kKdUhF9e.js} +8 -8
  154. package/chunk/{StepCompleteAuthentication-DmkwcwhP.js.map → StepCompleteAuthentication-kKdUhF9e.js.map} +1 -1
  155. package/chunk/{StepConsolation-CzjNEpxI.js → StepConsolation-DI8kcTkV.js} +5 -5
  156. package/chunk/{StepConsolation-CzjNEpxI.js.map → StepConsolation-DI8kcTkV.js.map} +1 -1
  157. package/chunk/{StepConsolation-D3E8Apmh.js → StepConsolation-DwEwhgzI.js} +5 -5
  158. package/chunk/{StepConsolation-D3E8Apmh.js.map → StepConsolation-DwEwhgzI.js.map} +1 -1
  159. package/chunk/{StepDocUpload-D3lwZHBr.js → StepDocUpload-Bv6M-Z6q.js} +6 -6
  160. package/chunk/{StepDocUpload-D3lwZHBr.js.map → StepDocUpload-Bv6M-Z6q.js.map} +1 -1
  161. package/chunk/{StepDocUpload-Ddu77ITg.js → StepDocUpload-IOE10Q6k.js} +6 -6
  162. package/chunk/{StepDocUpload-Ddu77ITg.js.map → StepDocUpload-IOE10Q6k.js.map} +1 -1
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-vg7monLn.js → StepDriverLicensePersonalInfoComponent-CT2uHtsZ.js} +28 -28
  164. package/chunk/{StepDriverLicensePersonalInfoComponent-BvwuFoXL.js.map → StepDriverLicensePersonalInfoComponent-CT2uHtsZ.js.map} +1 -1
  165. package/chunk/{StepDriverLicensePersonalInfoComponent-BvwuFoXL.js → StepDriverLicensePersonalInfoComponent-DxgQc-yw.js} +28 -28
  166. package/chunk/{StepDriverLicensePersonalInfoComponent-vg7monLn.js.map → StepDriverLicensePersonalInfoComponent-DxgQc-yw.js.map} +1 -1
  167. package/chunk/{StepEmailLoop-C2dukW7l.js → StepEmailLoop-Bo5BbGQu.js} +9 -9
  168. package/chunk/{StepEmailLoop-2BC_llWt.js.map → StepEmailLoop-Bo5BbGQu.js.map} +1 -1
  169. package/chunk/{StepEmailLoop-2BC_llWt.js → StepEmailLoop-j2264k-N.js} +9 -9
  170. package/chunk/{StepEmailLoop-C2dukW7l.js.map → StepEmailLoop-j2264k-N.js.map} +1 -1
  171. package/chunk/{StepEmploymentPersonalInfo-Dubco5i-.js → StepEmploymentPersonalInfo-B2vkSor6.js} +23 -23
  172. package/chunk/{StepEmploymentPersonalInfo-CtYYyHKS.js.map → StepEmploymentPersonalInfo-B2vkSor6.js.map} +1 -1
  173. package/chunk/{StepEmploymentPersonalInfo-CtYYyHKS.js → StepEmploymentPersonalInfo-DuOMR21_.js} +23 -23
  174. package/chunk/{StepEmploymentPersonalInfo-Dubco5i-.js.map → StepEmploymentPersonalInfo-DuOMR21_.js.map} +1 -1
  175. package/chunk/{StepFirstResponderPersonalInfo-Cr3WqNMh.js → StepFirstResponderPersonalInfo-4wxW2cgL.js} +39 -39
  176. package/chunk/{StepFirstResponderPersonalInfo-CGYBZNTh.js.map → StepFirstResponderPersonalInfo-4wxW2cgL.js.map} +1 -1
  177. package/chunk/{StepFirstResponderPersonalInfo-CGYBZNTh.js → StepFirstResponderPersonalInfo-CizcIcEl.js} +39 -39
  178. package/chunk/{StepFirstResponderPersonalInfo-Cr3WqNMh.js.map → StepFirstResponderPersonalInfo-CizcIcEl.js.map} +1 -1
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-5CpheLjr.js → StepGeneralIdentityPersonalInfoComponent-CTfP5Oeu.js} +37 -37
  180. package/chunk/{StepGeneralIdentityPersonalInfoComponent-5CpheLjr.js.map → StepGeneralIdentityPersonalInfoComponent-CTfP5Oeu.js.map} +1 -1
  181. package/chunk/{StepGeneralIdentityPersonalInfoComponent-ClVB43d-.js → StepGeneralIdentityPersonalInfoComponent-P8d-Wb4X.js} +37 -37
  182. package/chunk/{StepGeneralIdentityPersonalInfoComponent-ClVB43d-.js.map → StepGeneralIdentityPersonalInfoComponent-P8d-Wb4X.js.map} +1 -1
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-DxIZgVIN.js → StepHybridIdentityPersonalInfoComponent-BRmrt3mv.js} +40 -40
  184. package/chunk/{StepHybridIdentityPersonalInfoComponent-BkYaeKq5.js.map → StepHybridIdentityPersonalInfoComponent-BRmrt3mv.js.map} +1 -1
  185. package/chunk/{StepHybridIdentityPersonalInfoComponent-BkYaeKq5.js → StepHybridIdentityPersonalInfoComponent-ErhEZ-zI.js} +40 -40
  186. package/chunk/{StepHybridIdentityPersonalInfoComponent-DxIZgVIN.js.map → StepHybridIdentityPersonalInfoComponent-ErhEZ-zI.js.map} +1 -1
  187. package/chunk/{StepIDCheckLoop-D895wubp.js → StepIDCheckLoop-B3ClVxOi.js} +5 -5
  188. package/chunk/{StepIDCheckLoop-BKQMci0g.js.map → StepIDCheckLoop-B3ClVxOi.js.map} +1 -1
  189. package/chunk/{StepIDCheckLoop-BKQMci0g.js → StepIDCheckLoop-BCJs6usj.js} +5 -5
  190. package/chunk/{StepIDCheckLoop-D895wubp.js.map → StepIDCheckLoop-BCJs6usj.js.map} +1 -1
  191. package/chunk/{StepIDCheckLoopOnfido-yLiY3DKt.js → StepIDCheckLoopOnfido-B4zpvkRd.js} +7 -7
  192. package/chunk/{StepIDCheckLoopOnfido-yLiY3DKt.js.map → StepIDCheckLoopOnfido-B4zpvkRd.js.map} +1 -1
  193. package/chunk/{StepIDCheckLoopOnfido-DK9tXC19.js → StepIDCheckLoopOnfido-DRZ4kP4R.js} +7 -7
  194. package/chunk/{StepIDCheckLoopOnfido-DK9tXC19.js.map → StepIDCheckLoopOnfido-DRZ4kP4R.js.map} +1 -1
  195. package/chunk/{StepIDCheckLoopRegula-Co5e1j2Q.js → StepIDCheckLoopRegula-CFgyZ_rn.js} +6 -6
  196. package/chunk/{StepIDCheckLoopRegula-BPQV1k_O.js.map → StepIDCheckLoopRegula-CFgyZ_rn.js.map} +1 -1
  197. package/chunk/{StepIDCheckLoopRegula-BPQV1k_O.js → StepIDCheckLoopRegula-Db6p5Cwl.js} +6 -6
  198. package/chunk/{StepIDCheckLoopRegula-Co5e1j2Q.js.map → StepIDCheckLoopRegula-Db6p5Cwl.js.map} +1 -1
  199. package/chunk/{StepLicensedProfessionalPersonalInfo-Dv46p6q2.js → StepLicensedProfessionalPersonalInfo-De005KQe.js} +39 -39
  200. package/chunk/{StepLicensedProfessionalPersonalInfo-Dv46p6q2.js.map → StepLicensedProfessionalPersonalInfo-De005KQe.js.map} +1 -1
  201. package/chunk/{StepLicensedProfessionalPersonalInfo-b4RPIfkb.js → StepLicensedProfessionalPersonalInfo-uC90t0Ka.js} +39 -39
  202. package/chunk/{StepLicensedProfessionalPersonalInfo-b4RPIfkb.js.map → StepLicensedProfessionalPersonalInfo-uC90t0Ka.js.map} +1 -1
  203. package/chunk/{StepLowIncomePersonalInfo-BPH02BAz.js → StepLowIncomePersonalInfo-BXeW16K1.js} +51 -51
  204. package/chunk/{StepLowIncomePersonalInfo-BPH02BAz.js.map → StepLowIncomePersonalInfo-BXeW16K1.js.map} +1 -1
  205. package/chunk/{StepLowIncomePersonalInfo-mgIrT_8x.js → StepLowIncomePersonalInfo-DeQ6ug4-.js} +51 -51
  206. package/chunk/{StepLowIncomePersonalInfo-mgIrT_8x.js.map → StepLowIncomePersonalInfo-DeQ6ug4-.js.map} +1 -1
  207. package/chunk/{StepMedicalProfessionalPersonalInfo-CO6Nog70.js → StepMedicalProfessionalPersonalInfo-DYhclBtt.js} +44 -44
  208. package/chunk/{StepMedicalProfessionalPersonalInfo-CO6Nog70.js.map → StepMedicalProfessionalPersonalInfo-DYhclBtt.js.map} +1 -1
  209. package/chunk/{StepMedicalProfessionalPersonalInfo-MLaT1AQH.js → StepMedicalProfessionalPersonalInfo-EGaswECh.js} +44 -44
  210. package/chunk/{StepMedicalProfessionalPersonalInfo-MLaT1AQH.js.map → StepMedicalProfessionalPersonalInfo-EGaswECh.js.map} +1 -1
  211. package/chunk/{StepMemberPersonalInfo-DqO6GrME.js → StepMemberPersonalInfo-DmqP1UcS.js} +35 -35
  212. package/chunk/{StepMemberPersonalInfo-DLPHUDJS.js.map → StepMemberPersonalInfo-DmqP1UcS.js.map} +1 -1
  213. package/chunk/{StepMemberPersonalInfo-DLPHUDJS.js → StepMemberPersonalInfo-VUcdpf1p.js} +35 -35
  214. package/chunk/{StepMemberPersonalInfo-DqO6GrME.js.map → StepMemberPersonalInfo-VUcdpf1p.js.map} +1 -1
  215. package/chunk/{StepMoverPersonalInfo-CkjQ6i7V.js → StepMoverPersonalInfo-BAy0fOpJ.js} +28 -28
  216. package/chunk/{StepMoverPersonalInfo-B-EAZZTp.js.map → StepMoverPersonalInfo-BAy0fOpJ.js.map} +1 -1
  217. package/chunk/{StepMoverPersonalInfo-B-EAZZTp.js → StepMoverPersonalInfo-CBaYoFQM.js} +28 -28
  218. package/chunk/{StepMoverPersonalInfo-CkjQ6i7V.js.map → StepMoverPersonalInfo-CBaYoFQM.js.map} +1 -1
  219. package/chunk/{StepOverrideComponent-CeMHVu_2.js → StepOverrideComponent-BU8tncVB.js} +6 -6
  220. package/chunk/{StepOverrideComponent-BKM8B40J.js.map → StepOverrideComponent-BU8tncVB.js.map} +1 -1
  221. package/chunk/{StepOverrideComponent-BKM8B40J.js → StepOverrideComponent-Bo0bkoYg.js} +6 -6
  222. package/chunk/{StepOverrideComponent-CeMHVu_2.js.map → StepOverrideComponent-Bo0bkoYg.js.map} +1 -1
  223. package/chunk/{StepSMSLoop-BwVhwpaO.js → StepSMSLoop-DLRGvoY8.js} +5 -5
  224. package/chunk/{StepSMSLoop-BwVhwpaO.js.map → StepSMSLoop-DLRGvoY8.js.map} +1 -1
  225. package/chunk/{StepSMSLoop-RYr51_dF.js → StepSMSLoop-usK-uwDi.js} +5 -5
  226. package/chunk/{StepSMSLoop-RYr51_dF.js.map → StepSMSLoop-usK-uwDi.js.map} +1 -1
  227. package/chunk/StepSSO-BGHCbduX.js +4 -4
  228. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  229. package/chunk/{StepSocialSecurityNumber-D0vgQBsC.js → StepSocialSecurityNumber-Dr0IZbPK.js} +10 -10
  230. package/chunk/{StepSocialSecurityNumber-D0vgQBsC.js.map → StepSocialSecurityNumber-Dr0IZbPK.js.map} +1 -1
  231. package/chunk/{StepSocialSecurityNumber-Dxoe5edN.js → StepSocialSecurityNumber-qFfdO1Gp.js} +10 -10
  232. package/chunk/{StepSocialSecurityNumber-Dxoe5edN.js.map → StepSocialSecurityNumber-qFfdO1Gp.js.map} +1 -1
  233. package/chunk/{StepStudentPersonalInfo-DX9xaTt3.js → StepStudentPersonalInfo-A3yGbDk7.js} +38 -38
  234. package/chunk/{StepStudentPersonalInfo-DX9xaTt3.js.map → StepStudentPersonalInfo-A3yGbDk7.js.map} +1 -1
  235. package/chunk/{StepStudentPersonalInfo-ayiFsJov.js → StepStudentPersonalInfo-B-RKUSVb.js} +38 -38
  236. package/chunk/{StepStudentPersonalInfo-ayiFsJov.js.map → StepStudentPersonalInfo-B-RKUSVb.js.map} +1 -1
  237. package/chunk/{StepSuccess-B_jflAwW.js → StepSuccess-CDyGNq3Q.js} +6 -6
  238. package/chunk/{StepSuccess-BpxyX77R.js.map → StepSuccess-CDyGNq3Q.js.map} +1 -1
  239. package/chunk/{StepSuccess-BpxyX77R.js → StepSuccess-Dviigo8q.js} +6 -6
  240. package/chunk/{StepSuccess-B_jflAwW.js.map → StepSuccess-Dviigo8q.js.map} +1 -1
  241. package/chunk/{StepTeacherPersonalInfo-DOyQ1_dK.js → StepTeacherPersonalInfo-D4UTbPDB.js} +34 -34
  242. package/chunk/{StepTeacherPersonalInfo-CiGSwW0v.js.map → StepTeacherPersonalInfo-D4UTbPDB.js.map} +1 -1
  243. package/chunk/{StepTeacherPersonalInfo-CiGSwW0v.js → StepTeacherPersonalInfo-DUZmMYli.js} +34 -34
  244. package/chunk/{StepTeacherPersonalInfo-DOyQ1_dK.js.map → StepTeacherPersonalInfo-DUZmMYli.js.map} +1 -1
  245. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  246. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  247. package/chunk/{TeacherSchoolComponent-Y3fcrHQz.js → TeacherSchoolComponent-CPoc8ceQ.js} +7 -7
  248. package/chunk/{TeacherSchoolComponent-BFtlvNC3.js.map → TeacherSchoolComponent-CPoc8ceQ.js.map} +1 -1
  249. package/chunk/{TeacherSchoolComponent-BFtlvNC3.js → TeacherSchoolComponent-D_yKCvzI.js} +7 -7
  250. package/chunk/{TeacherSchoolComponent-Y3fcrHQz.js.map → TeacherSchoolComponent-D_yKCvzI.js.map} +1 -1
  251. package/chunk/TestingRouteOverrides-EggQSvgh.js +4 -4
  252. package/chunk/TestingRouteOverrides-ipf_F-iY.js +4 -4
  253. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  254. package/chunk/ar-D5CO913q.js +4 -4
  255. package/chunk/bg-1mhA5kYF.js +4 -4
  256. package/chunk/bn-IN-CpDqyRb_.js +4 -4
  257. package/chunk/clsx-CB5rauS5.js +4 -4
  258. package/chunk/countryUtils-BBN8jYxF.js +4 -4
  259. package/chunk/countryUtils-n_5QoHGV.js +4 -4
  260. package/chunk/cs-Chh7FAGt.js +4 -4
  261. package/chunk/da-DwrVoxto.js +4 -4
  262. package/chunk/de-IWGZLhgY.js +4 -4
  263. package/chunk/{downshift.esm-DOLBdeca.js → downshift.esm-BbUU6siB.js} +5 -5
  264. package/chunk/{downshift.esm-BN-aEWbS.js.map → downshift.esm-BbUU6siB.js.map} +1 -1
  265. package/chunk/{downshift.esm-BN-aEWbS.js → downshift.esm-CF8pnAPi.js} +5 -5
  266. package/chunk/{downshift.esm-DOLBdeca.js.map → downshift.esm-CF8pnAPi.js.map} +1 -1
  267. package/chunk/el-DbDcvSPJ.js +4 -4
  268. package/chunk/empties-DHI3R7ys.js +4 -4
  269. package/chunk/empties-Dhc64eA5.js +4 -4
  270. package/chunk/en-GB-BBkjjtqq.js +4 -4
  271. package/chunk/es-ES-DWimqEZ_.js +4 -4
  272. package/chunk/es-qhC-seq5.js +4 -4
  273. package/chunk/et-yF9G-Mym.js +4 -4
  274. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  275. package/chunk/fa-BcdSf7og.js +4 -4
  276. package/chunk/fi-D-IP_KHm.js +4 -4
  277. package/chunk/fr-BmUuYxk0.js +4 -4
  278. package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
  279. package/chunk/ga-DuZycND3.js +4 -4
  280. package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
  281. package/chunk/hooks-BlwolTIT.js +4 -4
  282. package/chunk/hooks-gC9DtNY1.js +4 -4
  283. package/chunk/hr-BtqyDzDB.js +4 -4
  284. package/chunk/hu-C6syKJfb.js +4 -4
  285. package/chunk/id-GgI-Z2a5.js +4 -4
  286. package/chunk/intl-CvSmE54g.js +4 -4
  287. package/chunk/is-CvmKEON9.js +4 -4
  288. package/chunk/it-CnmveGgC.js +4 -4
  289. package/chunk/iw-DFUYHkxF.js +4 -4
  290. package/chunk/ja-CjVb2tWW.js +4 -4
  291. package/chunk/jsx-runtime-CyXcV_93.js +4 -4
  292. package/chunk/jsx-runtime-JSlXFmKD.js +4 -4
  293. package/chunk/kk-Dvz4nK6K.js +4 -4
  294. package/chunk/ko-DzOqBMGC.js +4 -4
  295. package/chunk/lo-C2WPq55d.js +4 -4
  296. package/chunk/lt-BSDYvjTF.js +4 -4
  297. package/chunk/lv-CefDPT-M.js +4 -4
  298. package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
  299. package/chunk/mocks-Dpf6dNc6.js +4 -4
  300. package/chunk/mocks-DrV8NINc.js +4 -4
  301. package/chunk/ms-BjestZxy.js +4 -4
  302. package/chunk/nl-B1FyUfCT.js +4 -4
  303. package/chunk/nl-BE-CbeAd3nq.js +4 -4
  304. package/chunk/no-Dr633Ddi.js +4 -4
  305. package/chunk/options-CRzdSTAR.js +4 -4
  306. package/chunk/pl-UYTjMIq_.js +4 -4
  307. package/chunk/programThemeGetters-DYWYXv-a.js +4 -4
  308. package/chunk/programThemeGetters-VBnkSxuj.js +4 -4
  309. package/chunk/pt-BR-C8SYMT-J.js +4 -4
  310. package/chunk/pt-uH-M3GdN.js +4 -4
  311. package/chunk/refs-Mq0rtW9K.js +4 -4
  312. package/chunk/ro-CAOSXZ7h.js +4 -4
  313. package/chunk/ru-iwYoEydL.js +4 -4
  314. package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
  315. package/chunk/sk-DYYNV3zw.js +4 -4
  316. package/chunk/sl-D_-eeM5N.js +4 -4
  317. package/chunk/sr-BTi9_anL.js +4 -4
  318. package/chunk/{stepComponentHelpers-CcEMtmwt.js → stepComponentHelpers-Bxse3jnq.js} +37 -46
  319. package/chunk/stepComponentHelpers-Bxse3jnq.js.map +1 -0
  320. package/chunk/{stepComponentHelpers-BFyXhiWa.js → stepComponentHelpers-CQUMKZ_f.js} +37 -46
  321. package/chunk/stepComponentHelpers-CQUMKZ_f.js.map +1 -0
  322. package/chunk/strings-DWLVdUcm.js +4 -4
  323. package/chunk/sv-DRwY4shG.js +4 -4
  324. package/chunk/sw-Bvj2mYmM.js +4 -4
  325. package/chunk/ta-CmtaYoNe.js +4 -4
  326. package/chunk/th-12r2yKkJ.js +4 -4
  327. package/chunk/tl-BGNfO7md.js +4 -4
  328. package/chunk/tr-DH2ZSJhs.js +4 -4
  329. package/chunk/uk-CELBZlTd.js +4 -4
  330. package/chunk/ur-MR8DTbmd.js +4 -4
  331. package/chunk/{useCollectFieldsEndpoint-CIBjRIaL.js → useCollectFieldsEndpoint-BW9WTICZ.js} +6 -6
  332. package/chunk/{useCollectFieldsEndpoint-D65zxif7.js.map → useCollectFieldsEndpoint-BW9WTICZ.js.map} +1 -1
  333. package/chunk/{useCollectFieldsEndpoint-D65zxif7.js → useCollectFieldsEndpoint-DBKghe_8.js} +6 -6
  334. package/chunk/{useCollectFieldsEndpoint-CIBjRIaL.js.map → useCollectFieldsEndpoint-DBKghe_8.js.map} +1 -1
  335. package/chunk/useMetrics-C3KNudJk.js +4 -4
  336. package/chunk/useMetrics-Cjo0Vkjx.js +4 -4
  337. package/chunk/vi-DtZ-SqD5.js +4 -4
  338. package/chunk/zh-DjyVyYac.js +4 -4
  339. package/chunk/zh-HK-CN1HarHq.js +4 -4
  340. package/chunk/zu-DPhgIh1z.js +4 -4
  341. package/package.json +1 -1
  342. package/sheerid-install.css +4 -4
  343. package/sheerid-install.js +4 -4
  344. package/sheerid.css +4 -4
  345. package/sheerid.js +37 -37
  346. package/chunk/StepAgePersonalInfo-Lx61MmjN.js +0 -175
  347. package/chunk/StepAgePersonalInfo-Lx61MmjN.js.map +0 -1
  348. package/chunk/StepAgePersonalInfo-TnXgTLlB.js +0 -171
  349. package/chunk/StepAgePersonalInfo-TnXgTLlB.js.map +0 -1
  350. package/chunk/stepComponentHelpers-BFyXhiWa.js.map +0 -1
  351. package/chunk/stepComponentHelpers-CcEMtmwt.js.map +0 -1
@@ -4,29 +4,29 @@
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.287.0
8
- * BUILD_TIMESTAMP: 1789665281474
9
- * BUILD_DATE: Thu Sep 17 2026 17:14:41 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 9a5a30040ec07861e609bafce1e2c77d4044026f
7
+ * VERSION: 2.289.0
8
+ * BUILD_TIMESTAMP: 1789773579865
9
+ * BUILD_DATE: Fri Sep 18 2026 23:19:39 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 97371345cabb92f713fd30bd7baf2bb5e4a9f973
11
11
  */
12
12
  import { p as e, s as t } from "./intl-CvSmE54g.js";
13
13
  import { b as n } from "./runtimeTypes-B2AGNJMT.js";
14
14
  import { a as r, n as i, t as a } from "./jsx-runtime-JSlXFmKD.js";
15
- import { p as o } from "./FormFooterComponent-DdlG9tS3.js";
15
+ import { p as o } from "./FormFooterComponent-BrOM_pQ9.js";
16
16
  import { t as s } from "../_mysheerid-preview.js";
17
- import { t as c } from "./useCollectFieldsEndpoint-CIBjRIaL.js";
18
- import { _ as l, c as u, g as d, i as f, o as p, s as m } from "./stepComponentHelpers-CcEMtmwt.js";
19
- import { a as h, i as g, n as _, o as v, s as y, t as b } from "./CaptchaComponent-BOIt_QNQ.js";
20
- import { n as x, t as S } from "./PersonalInfoStepSubmitButton-NagYqca5.js";
21
- import { t as C } from "./BirthDateComponent-B6CCdI1w.js";
22
- import { t as w } from "./PostalCodeComponent-CuiH815C.js";
23
- import { t as T } from "./CountryComponentWrapper-D0nzEytT.js";
24
- import { t as E } from "./ExtraMessage-D6mjCJWc.js";
25
- import { t as D } from "./ChangeLocaleComponent-BbkEb3a6.js";
26
- import { t as O } from "./PersonalInfoStepWrapper-DaH1p-AU.js";
17
+ import { t as c } from "./useCollectFieldsEndpoint-BW9WTICZ.js";
18
+ import { a as l, h as u, i as d, m as f, n as p, o as m } from "./stepComponentHelpers-Bxse3jnq.js";
19
+ import { a as h, i as g, n as _, o as v, s as y, t as b } from "./CaptchaComponent-KFLJ56dX.js";
20
+ import { n as x, t as S } from "./PersonalInfoStepSubmitButton-Q6g7KHwI.js";
21
+ import { t as C } from "./BirthDateComponent-DbILUMIz.js";
22
+ import { t as w } from "./PostalCodeComponent-C-0blxoe.js";
23
+ import { t as T } from "./CountryComponentWrapper-BSg_JhlH.js";
24
+ import { t as E } from "./ExtraMessage-D1j0TLE3.js";
25
+ import { t as D } from "./ChangeLocaleComponent-BcyU0Zgd.js";
26
+ import { t as O } from "./PersonalInfoStepWrapper-D2GlDkO6.js";
27
27
  import { t as k } from "./countryUtils-BBN8jYxF.js";
28
- import { t as A } from "./StatusComponent-Cv67yZ8R.js";
29
- import { t as j } from "./LicensedProfessionalOrganizationComponent-DrNi1J9O.js";
28
+ import { t as A } from "./StatusComponent-CceeOAxy.js";
29
+ import { t as j } from "./LicensedProfessionalOrganizationComponent-CdVLOkti.js";
30
30
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
31
31
  var M = a(), N = r(({ intl: r, verificationService: a }) => {
32
32
  let N = a.viewModel, { fieldValidationErrors: P } = a, F = a.verificationResponse, I = o(F), L = N.localeChoice.value, R = t(), { availableStatuses: z } = c({
@@ -50,49 +50,49 @@ var M = a(), N = r(({ intl: r, verificationService: a }) => {
50
50
  /* @__PURE__ */ (0, M.jsx)(D, { verificationService: a }),
51
51
  /* @__PURE__ */ (0, M.jsx)(T, {
52
52
  verificationService: a,
53
- disabled: f("country")?.disabled
53
+ disabled: p("country")?.disabled
54
54
  }),
55
55
  /* @__PURE__ */ (0, M.jsx)(A, {
56
56
  segmentId: "licensed-professional",
57
57
  value: {
58
58
  value: N.statuses ? N.statuses[0] : "",
59
- label: N.statuses ? p(r, N.statuses[0]) : ""
59
+ label: N.statuses ? d(r, N.statuses[0]) : ""
60
60
  },
61
61
  isErrored: !!P.statuses,
62
- options: m(r, z ?? F.availableStatuses),
63
- disabled: V || f("statuses")?.disabled,
62
+ options: l(r, z ?? F.availableStatuses),
63
+ disabled: V || p("statuses")?.disabled,
64
64
  explanation: V ? /* @__PURE__ */ (0, M.jsx)(i, {
65
65
  id: "chooseCountry",
66
66
  defaultMessage: "Choose a country first"
67
67
  }) : void 0,
68
68
  onChange: (e) => {
69
- H("statuses", e ? [e.value] : []), d("statuses", e ? e.value : "", a);
69
+ H("statuses", e ? [e.value] : []), f("statuses", e ? e.value : "", a);
70
70
  }
71
71
  }),
72
72
  /* @__PURE__ */ (0, M.jsx)(j, {
73
73
  isErrored: !!P.organization,
74
74
  onChange: (e) => {
75
- l(e, a), d("organization", e, a);
75
+ u(e, a), f("organization", e, a);
76
76
  },
77
77
  value: a.viewModel.organization,
78
78
  verificationService: a,
79
- disabled: f("organization")?.disabled
79
+ disabled: p("organization")?.disabled
80
80
  }),
81
81
  /* @__PURE__ */ (0, M.jsxs)("div", {
82
82
  className: "sid-names",
83
83
  children: [/* @__PURE__ */ (0, M.jsx)(h, {
84
84
  value: N.firstName,
85
85
  isErrored: !!P.firstName,
86
- disabled: f("firstName")?.disabled,
86
+ disabled: p("firstName")?.disabled,
87
87
  onChange: (e) => {
88
- H("firstName", e), d("firstName", e, a);
88
+ H("firstName", e), f("firstName", e, a);
89
89
  }
90
90
  }), /* @__PURE__ */ (0, M.jsx)(g, {
91
91
  value: N.lastName,
92
92
  isErrored: !!P.lastName,
93
- disabled: f("lastName")?.disabled,
93
+ disabled: p("lastName")?.disabled,
94
94
  onChange: (e) => {
95
- H("lastName", e), d("lastName", e, a);
95
+ H("lastName", e), f("lastName", e, a);
96
96
  }
97
97
  })]
98
98
  }),
@@ -100,18 +100,18 @@ var M = a(), N = r(({ intl: r, verificationService: a }) => {
100
100
  errorId: P.birthDate,
101
101
  locale: L,
102
102
  onChange: (e) => {
103
- H("birthDate", e), d("birthDate", e, a);
103
+ H("birthDate", e), f("birthDate", e, a);
104
104
  },
105
105
  value: N.birthDate,
106
- disabled: f("birthDate")?.disabled
106
+ disabled: p("birthDate")?.disabled
107
107
  }),
108
108
  /* @__PURE__ */ (0, M.jsx)(w, {
109
109
  isErrored: !!P.postalCode,
110
110
  onChange: (e) => {
111
- H("postalCode", e), d("postalCode", e, a);
111
+ H("postalCode", e), f("postalCode", e, a);
112
112
  },
113
113
  value: N.postalCode,
114
- disabled: f("postalCode")?.disabled,
114
+ disabled: p("postalCode")?.disabled,
115
115
  explanation: /* @__PURE__ */ (0, M.jsx)(i, {
116
116
  id: "postalCodeExplanation",
117
117
  defaultMessage: "Use the location on file with your licensing body"
@@ -125,20 +125,20 @@ var M = a(), N = r(({ intl: r, verificationService: a }) => {
125
125
  defaultMessage: "Needed to send you your unique code"
126
126
  }),
127
127
  onChange: (e) => {
128
- H("email", e), d("email", e, a);
128
+ H("email", e), f("email", e, a);
129
129
  },
130
- onKeyDown: (e) => u(e),
131
- disabled: f("email")?.disabled
130
+ onKeyDown: (e) => m(e),
131
+ disabled: p("email")?.disabled
132
132
  }),
133
133
  a.programTheme.isSmsNotifierConfigured || a.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, M.jsx)(v, {
134
134
  isRequired: !!a.programTheme.smsLoopEnabled,
135
135
  value: N.phoneNumber,
136
136
  isErrored: !!P.phoneNumber,
137
137
  onChange: (e) => {
138
- H("phoneNumber", e), d("phoneNumber", e, a);
138
+ H("phoneNumber", e), f("phoneNumber", e, a);
139
139
  },
140
140
  selectedCountryCode: N.countryChoice && N.countryChoice.value,
141
- disabled: f("phoneNumber")?.disabled
141
+ disabled: p("phoneNumber")?.disabled
142
142
  }) : null,
143
143
  R.customFormFields.map((e) => /* @__PURE__ */ (0, M.jsx)(_, {
144
144
  config: e,
@@ -151,10 +151,10 @@ var M = a(), N = r(({ intl: r, verificationService: a }) => {
151
151
  H("metadata", {
152
152
  ...a.viewModel.metadata,
153
153
  marketConsentValue: e
154
- }), d("marketConsentValue", e, a);
154
+ }), f("marketConsentValue", e, a);
155
155
  },
156
156
  viewModel: N,
157
- disabled: f("marketConsentValue")?.disabled
157
+ disabled: p("marketConsentValue")?.disabled
158
158
  }),
159
159
  /* @__PURE__ */ (0, M.jsx)(E, {
160
160
  verificationService: a,
@@ -1 +1 @@
1
- {"version":3,"file":"StepLicensedProfessionalPersonalInfo-Dv46p6q2.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n getStatusLabel,\n getStatusOptions,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(intl, viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getStatusOptions(intl, dynamicStatuses ?? verificationResponse.availableStatuses)}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"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\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;aA+Pa,IAAgD,GAhNf,EAC5C,SACA,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAE/D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAqB,EAAU,eAAe,O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,YAAY,MAAU,EAAqB,CAAK;IAChD,UAAU,EAAwB,OAAO,GAAG;GAC7C,CAAA;GACA,EAAoB,aAAa,2BAClC,EAAoB,aAAa,iBAC/B,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,YAAY,CAAC,CAAC,EAAoB,aAAa;IAC/C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAoC,eAAe,CAAQ,GAC3D,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,EAAoC,YAAY;MAC9C,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;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;EACkB;;AAEzB,CAIA"}
1
+ {"version":3,"file":"StepLicensedProfessionalPersonalInfo-De005KQe.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n getStatusLabel,\n getStatusOptions,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(intl, viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getStatusOptions(intl, dynamicStatuses ?? verificationResponse.availableStatuses)}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"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\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;aA+Pa,IAAgD,GAhNf,EAC5C,SACA,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAE/D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACxB,EAAoB,cACpB,CACF,GAEM,KACJ,GACA,MACG;EACH,IAAM,IAAuD,EAC3D,IACC,MAAqD;GACpD,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE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nC,WAAW,MAAa;KAEtB,AADA,EAAoC,eAAe,CAAQ,GAC3D,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,EAAoC,YAAY;MAC9C,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;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;EACkB;;AAEzB,CAIA"}
@@ -1,28 +1,28 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.287.0
4
- * BUILD_TIMESTAMP: 1789665276668
5
- * BUILD_DATE: Thu Sep 17 2026 17:14:36 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 9a5a30040ec07861e609bafce1e2c77d4044026f
3
+ * VERSION: 2.289.0
4
+ * BUILD_TIMESTAMP: 1789773568893
5
+ * BUILD_DATE: Fri Sep 18 2026 23:19:28 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 97371345cabb92f713fd30bd7baf2bb5e4a9f973
7
7
  */
8
8
  import { c as e, n as t } from "./options-CRzdSTAR.js";
9
9
  import { a as n, n as r, t as i } from "./jsx-runtime-CyXcV_93.js";
10
10
  import { b as a } from "./runtimeTypes-B2AGNJMT.js";
11
- import { h as o } from "./FormFooterComponent-BiJ-9fwP.js";
11
+ import { h as o } from "./FormFooterComponent-CP0-Wobs.js";
12
12
  import { n as s } from "../sheerid.js";
13
- import { t as c } from "./useCollectFieldsEndpoint-D65zxif7.js";
14
- import { _ as l, c as u, g as d, i as f, o as p, s as m } from "./stepComponentHelpers-BFyXhiWa.js";
15
- import { a as h, i as g, n as _, o as v, s as y, t as b } from "./CaptchaComponent-COMDyzye.js";
16
- import { n as x, t as S } from "./PersonalInfoStepSubmitButton-BNUMtb0a.js";
17
- import { t as C } from "./BirthDateComponent-C6inTN_d.js";
18
- import { t as w } from "./PostalCodeComponent-Dg4YvxkC.js";
19
- import { t as T } from "./CountryComponentWrapper-T2Bpp2gB.js";
20
- import { t as E } from "./ExtraMessage-D5tofP3l.js";
21
- import { t as D } from "./ChangeLocaleComponent-jY0EP0y4.js";
22
- import { t as O } from "./PersonalInfoStepWrapper-9I7Aa79o.js";
13
+ import { t as c } from "./useCollectFieldsEndpoint-DBKghe_8.js";
14
+ import { a as l, h as u, i as d, m as f, n as p, o as m } from "./stepComponentHelpers-CQUMKZ_f.js";
15
+ import { a as h, i as g, n as _, o as v, s as y, t as b } from "./CaptchaComponent-L3WoxJAC.js";
16
+ import { n as x, t as S } from "./PersonalInfoStepSubmitButton-DnepwbFs.js";
17
+ import { t as C } from "./BirthDateComponent-1FYtxavW.js";
18
+ import { t as w } from "./PostalCodeComponent-C50XmPmv.js";
19
+ import { t as T } from "./CountryComponentWrapper-dG5Zqfee.js";
20
+ import { t as E } from "./ExtraMessage-BZ9XdOdL.js";
21
+ import { t as D } from "./ChangeLocaleComponent-Wju8NvwL.js";
22
+ import { t as O } from "./PersonalInfoStepWrapper-B7pfOMf3.js";
23
23
  import { t as k } from "./countryUtils-n_5QoHGV.js";
24
- import { t as A } from "./StatusComponent-BxbVuoiu.js";
25
- import { t as j } from "./LicensedProfessionalOrganizationComponent-CRbyZ67V.js";
24
+ import { t as A } from "./StatusComponent-DPs6MHNn.js";
25
+ import { t as j } from "./LicensedProfessionalOrganizationComponent-FBu3_XDq.js";
26
26
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
27
27
  var M = i(), N = n(({ intl: n, verificationService: i }) => {
28
28
  let N = i.viewModel, { fieldValidationErrors: P } = i, F = i.verificationResponse, I = o(F), L = N.localeChoice.value, R = t(), { availableStatuses: z } = c({
@@ -46,49 +46,49 @@ var M = i(), N = n(({ intl: n, verificationService: i }) => {
46
46
  /* @__PURE__ */ (0, M.jsx)(D, { verificationService: i }),
47
47
  /* @__PURE__ */ (0, M.jsx)(T, {
48
48
  verificationService: i,
49
- disabled: f("country")?.disabled
49
+ disabled: p("country")?.disabled
50
50
  }),
51
51
  /* @__PURE__ */ (0, M.jsx)(A, {
52
52
  segmentId: "licensed-professional",
53
53
  value: {
54
54
  value: N.statuses ? N.statuses[0] : "",
55
- label: N.statuses ? p(n, N.statuses[0]) : ""
55
+ label: N.statuses ? d(n, N.statuses[0]) : ""
56
56
  },
57
57
  isErrored: !!P.statuses,
58
- options: m(n, z ?? F.availableStatuses),
59
- disabled: V || f("statuses")?.disabled,
58
+ options: l(n, z ?? F.availableStatuses),
59
+ disabled: V || p("statuses")?.disabled,
60
60
  explanation: V ? /* @__PURE__ */ (0, M.jsx)(r, {
61
61
  id: "chooseCountry",
62
62
  defaultMessage: "Choose a country first"
63
63
  }) : void 0,
64
64
  onChange: (e) => {
65
- H("statuses", e ? [e.value] : []), d("statuses", e ? e.value : "", i);
65
+ H("statuses", e ? [e.value] : []), f("statuses", e ? e.value : "", i);
66
66
  }
67
67
  }),
68
68
  /* @__PURE__ */ (0, M.jsx)(j, {
69
69
  isErrored: !!P.organization,
70
70
  onChange: (e) => {
71
- l(e, i), d("organization", e, i);
71
+ u(e, i), f("organization", e, i);
72
72
  },
73
73
  value: i.viewModel.organization,
74
74
  verificationService: i,
75
- disabled: f("organization")?.disabled
75
+ disabled: p("organization")?.disabled
76
76
  }),
77
77
  /* @__PURE__ */ (0, M.jsxs)("div", {
78
78
  className: "sid-names",
79
79
  children: [/* @__PURE__ */ (0, M.jsx)(h, {
80
80
  value: N.firstName,
81
81
  isErrored: !!P.firstName,
82
- disabled: f("firstName")?.disabled,
82
+ disabled: p("firstName")?.disabled,
83
83
  onChange: (e) => {
84
- H("firstName", e), d("firstName", e, i);
84
+ H("firstName", e), f("firstName", e, i);
85
85
  }
86
86
  }), /* @__PURE__ */ (0, M.jsx)(g, {
87
87
  value: N.lastName,
88
88
  isErrored: !!P.lastName,
89
- disabled: f("lastName")?.disabled,
89
+ disabled: p("lastName")?.disabled,
90
90
  onChange: (e) => {
91
- H("lastName", e), d("lastName", e, i);
91
+ H("lastName", e), f("lastName", e, i);
92
92
  }
93
93
  })]
94
94
  }),
@@ -96,18 +96,18 @@ var M = i(), N = n(({ intl: n, verificationService: i }) => {
96
96
  errorId: P.birthDate,
97
97
  locale: L,
98
98
  onChange: (e) => {
99
- H("birthDate", e), d("birthDate", e, i);
99
+ H("birthDate", e), f("birthDate", e, i);
100
100
  },
101
101
  value: N.birthDate,
102
- disabled: f("birthDate")?.disabled
102
+ disabled: p("birthDate")?.disabled
103
103
  }),
104
104
  /* @__PURE__ */ (0, M.jsx)(w, {
105
105
  isErrored: !!P.postalCode,
106
106
  onChange: (e) => {
107
- H("postalCode", e), d("postalCode", e, i);
107
+ H("postalCode", e), f("postalCode", e, i);
108
108
  },
109
109
  value: N.postalCode,
110
- disabled: f("postalCode")?.disabled,
110
+ disabled: p("postalCode")?.disabled,
111
111
  explanation: /* @__PURE__ */ (0, M.jsx)(r, {
112
112
  id: "postalCodeExplanation",
113
113
  defaultMessage: "Use the location on file with your licensing body"
@@ -121,20 +121,20 @@ var M = i(), N = n(({ intl: n, verificationService: i }) => {
121
121
  defaultMessage: "Needed to send you your unique code"
122
122
  }),
123
123
  onChange: (e) => {
124
- H("email", e), d("email", e, i);
124
+ H("email", e), f("email", e, i);
125
125
  },
126
- onKeyDown: (e) => u(e),
127
- disabled: f("email")?.disabled
126
+ onKeyDown: (e) => m(e),
127
+ disabled: p("email")?.disabled
128
128
  }),
129
129
  i.programTheme.isSmsNotifierConfigured || i.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, M.jsx)(v, {
130
130
  isRequired: !!i.programTheme.smsLoopEnabled,
131
131
  value: N.phoneNumber,
132
132
  isErrored: !!P.phoneNumber,
133
133
  onChange: (e) => {
134
- H("phoneNumber", e), d("phoneNumber", e, i);
134
+ H("phoneNumber", e), f("phoneNumber", e, i);
135
135
  },
136
136
  selectedCountryCode: N.countryChoice && N.countryChoice.value,
137
- disabled: f("phoneNumber")?.disabled
137
+ disabled: p("phoneNumber")?.disabled
138
138
  }) : null,
139
139
  R.customFormFields.map((e) => /* @__PURE__ */ (0, M.jsx)(_, {
140
140
  config: e,
@@ -147,10 +147,10 @@ var M = i(), N = n(({ intl: n, verificationService: i }) => {
147
147
  H("metadata", {
148
148
  ...i.viewModel.metadata,
149
149
  marketConsentValue: e
150
- }), d("marketConsentValue", e, i);
150
+ }), f("marketConsentValue", e, i);
151
151
  },
152
152
  viewModel: N,
153
- disabled: f("marketConsentValue")?.disabled
153
+ disabled: p("marketConsentValue")?.disabled
154
154
  }),
155
155
  /* @__PURE__ */ (0, M.jsx)(E, {
156
156
  verificationService: i,
@@ -1 +1 @@
1
- {"version":3,"file":"StepLicensedProfessionalPersonalInfo-b4RPIfkb.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n getStatusLabel,\n getStatusOptions,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(intl, viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getStatusOptions(intl, dynamicStatuses ?? verificationResponse.availableStatuses)}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"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\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;aA+Pa,IAAgD,GAhNf,EAC5C,SACA,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAE/D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACxB,EAAoB,cACpB,CACF,GAEM,KACJ,GACA,MACG;EACH,IAAM,IAAuD,EAC3D,IACC,MAAqD;GACpD,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAA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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,EAAoC,YAAY;MAC9C,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;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;EACkB;;AAEzB,CAIA"}
1
+ {"version":3,"file":"StepLicensedProfessionalPersonalInfo-uC90t0Ka.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n getStatusLabel,\n getStatusOptions,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(intl, viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getStatusOptions(intl, dynamicStatuses ?? verificationResponse.availableStatuses)}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"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\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;aA+Pa,IAAgD,GAhNf,EAC5C,SACA,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAE/D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACxB,EAAoB,cACpB,CACF,GAEM,KACJ,GACA,MACG;EACH,IAAM,IAAuD,EAC3D,IACC,MAAqD;GACpD,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAU;IACV,OAAO;KACL,OAAO,EAAU,WAAW,EAAU,SAAS,KAAK;KACpD,OAAO,EAAU,WAAW,EAAe,GAAM,EAAU,SAAS,EAAE,IAAI;IAC5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