@sheerid/jslib 2.313.0 → 2.315.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 (348) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +37 -37
  3. package/chunk/{AddressComponent-xHLmwR7C.js → AddressComponent-BUOibRxr.js} +5 -5
  4. package/chunk/{AddressComponent-BHiOCbUv.js.map → AddressComponent-BUOibRxr.js.map} +1 -1
  5. package/chunk/{AddressComponent-BHiOCbUv.js → AddressComponent-uhBMgV3q.js} +5 -5
  6. package/chunk/{AddressComponent-xHLmwR7C.js.map → AddressComponent-uhBMgV3q.js.map} +1 -1
  7. package/chunk/AnnouncingHeader-CM01vEpF.js +4 -4
  8. package/chunk/AnnouncingHeader-CSh0UW8I.js +4 -4
  9. package/chunk/{BirthDateComponent-D5pVkYha.js → BirthDateComponent-DEm62ubJ.js} +5 -5
  10. package/chunk/{BirthDateComponent-CRbZs5-I.js.map → BirthDateComponent-DEm62ubJ.js.map} +1 -1
  11. package/chunk/{BirthDateComponent-CRbZs5-I.js → BirthDateComponent-i59ScGu6.js} +5 -5
  12. package/chunk/{BirthDateComponent-D5pVkYha.js.map → BirthDateComponent-i59ScGu6.js.map} +1 -1
  13. package/chunk/{CaptchaComponent-DpiYztJ5.js → CaptchaComponent-BD4yKfJR.js} +8 -8
  14. package/chunk/{CaptchaComponent-DpiYztJ5.js.map → CaptchaComponent-BD4yKfJR.js.map} +1 -1
  15. package/chunk/{CaptchaComponent-Bay_IP0-.js → CaptchaComponent-g9Ye-t7Z.js} +8 -8
  16. package/chunk/{CaptchaComponent-Bay_IP0-.js.map → CaptchaComponent-g9Ye-t7Z.js.map} +1 -1
  17. package/chunk/{ChangeLocaleComponent-Bmq-3m3v.js → ChangeLocaleComponent-DBoMb2NA.js} +8 -8
  18. package/chunk/{ChangeLocaleComponent-Bmq-3m3v.js.map → ChangeLocaleComponent-DBoMb2NA.js.map} +1 -1
  19. package/chunk/{ChangeLocaleComponent-BMuiuSyJ.js → ChangeLocaleComponent-Drpt_vzW.js} +8 -8
  20. package/chunk/{ChangeLocaleComponent-BMuiuSyJ.js.map → ChangeLocaleComponent-Drpt_vzW.js.map} +1 -1
  21. package/chunk/{City-CFAsI7Sk.js → City-IKHXV6fA.js} +5 -5
  22. package/chunk/{City-CFAsI7Sk.js.map → City-IKHXV6fA.js.map} +1 -1
  23. package/chunk/{City-SZ26Bigy.js → City-gBRdOIsP.js} +5 -5
  24. package/chunk/{City-SZ26Bigy.js.map → City-gBRdOIsP.js.map} +1 -1
  25. package/chunk/{CollegeNameComponent-CXQ4oYar.js → CollegeNameComponent-CQvKnECH.js} +8 -8
  26. package/chunk/{CollegeNameComponent-CXQ4oYar.js.map → CollegeNameComponent-CQvKnECH.js.map} +1 -1
  27. package/chunk/{CollegeNameComponent-BGNJ8dpo.js → CollegeNameComponent-DpMt-iEi.js} +8 -8
  28. package/chunk/{CollegeNameComponent-BGNJ8dpo.js.map → CollegeNameComponent-DpMt-iEi.js.map} +1 -1
  29. package/chunk/CopyToClipboardComponent-BN9qCovT.js +4 -4
  30. package/chunk/CopyToClipboardComponent-Dag4rxf8.js +4 -4
  31. package/chunk/{CountryComponentWrapper-Ck2iP9bh.js → CountryComponentWrapper-A-NCx760.js} +8 -8
  32. package/chunk/{CountryComponentWrapper-Ck2iP9bh.js.map → CountryComponentWrapper-A-NCx760.js.map} +1 -1
  33. package/chunk/{CountryComponentWrapper-BlVfixh4.js → CountryComponentWrapper-DHUcGCUF.js} +8 -8
  34. package/chunk/{CountryComponentWrapper-BlVfixh4.js.map → CountryComponentWrapper-DHUcGCUF.js.map} +1 -1
  35. package/chunk/{DischargeDateComponent-DzNKj6v5.js → DischargeDateComponent-CifKJfBT.js} +9 -9
  36. package/chunk/{DischargeDateComponent-DzNKj6v5.js.map → DischargeDateComponent-CifKJfBT.js.map} +1 -1
  37. package/chunk/{DischargeDateComponent-C8PJeyup.js → DischargeDateComponent-DAeyxPdd.js} +9 -9
  38. package/chunk/{DischargeDateComponent-C8PJeyup.js.map → DischargeDateComponent-DAeyxPdd.js.map} +1 -1
  39. package/chunk/{DriverLicenseNumberComponent-B383rPMu.js → DriverLicenseNumberComponent-4I1cN8DR.js} +5 -5
  40. package/chunk/{DriverLicenseNumberComponent-9PlXE0Yo.js.map → DriverLicenseNumberComponent-4I1cN8DR.js.map} +1 -1
  41. package/chunk/{DriverLicenseNumberComponent-9PlXE0Yo.js → DriverLicenseNumberComponent-ej0LVqRI.js} +5 -5
  42. package/chunk/{DriverLicenseNumberComponent-B383rPMu.js.map → DriverLicenseNumberComponent-ej0LVqRI.js.map} +1 -1
  43. package/chunk/{EmailLoopPending-pvrnAh2C.js → EmailLoopPending-DQ4KVVzP.js} +6 -6
  44. package/chunk/{EmailLoopPending-pvrnAh2C.js.map → EmailLoopPending-DQ4KVVzP.js.map} +1 -1
  45. package/chunk/{EmailLoopPending-29RXro2U.js → EmailLoopPending-DnPlbLqA.js} +6 -6
  46. package/chunk/{EmailLoopPending-29RXro2U.js.map → EmailLoopPending-DnPlbLqA.js.map} +1 -1
  47. package/chunk/{ExtraMessage-QVMqiZm3.js → ExtraMessage-CzchllLx.js} +5 -5
  48. package/chunk/{ExtraMessage-CBPYszyt.js.map → ExtraMessage-CzchllLx.js.map} +1 -1
  49. package/chunk/{ExtraMessage-CBPYszyt.js → ExtraMessage-v4rZ0l8r.js} +5 -5
  50. package/chunk/{ExtraMessage-QVMqiZm3.js.map → ExtraMessage-v4rZ0l8r.js.map} +1 -1
  51. package/chunk/{FirstResponderOrganizationComponent-CjhnnEGx.js → FirstResponderOrganizationComponent-DUn8PxZo.js} +8 -8
  52. package/chunk/{FirstResponderOrganizationComponent-CjhnnEGx.js.map → FirstResponderOrganizationComponent-DUn8PxZo.js.map} +1 -1
  53. package/chunk/{FirstResponderOrganizationComponent-DyWgLJrZ.js → FirstResponderOrganizationComponent-JsNBGiPH.js} +8 -8
  54. package/chunk/{FirstResponderOrganizationComponent-DyWgLJrZ.js.map → FirstResponderOrganizationComponent-JsNBGiPH.js.map} +1 -1
  55. package/chunk/{FormFieldInputSelect-TMLbT75m.js → FormFieldInputSelect-CtLIp6NY.js} +5 -5
  56. package/chunk/{FormFieldInputSelect-TMLbT75m.js.map → FormFieldInputSelect-CtLIp6NY.js.map} +1 -1
  57. package/chunk/{FormFieldInputSelect-bCj6cOF6.js → FormFieldInputSelect-DzfYVFe2.js} +5 -5
  58. package/chunk/{FormFieldInputSelect-bCj6cOF6.js.map → FormFieldInputSelect-DzfYVFe2.js.map} +1 -1
  59. package/chunk/FormFieldLayout-KJilu-sR.js +4 -4
  60. package/chunk/FormFieldLayout-UCIBwDRH.js +4 -4
  61. package/chunk/FormFieldText-B_2IOFED.js +4 -4
  62. package/chunk/FormFieldText-CkPmuIPf.js +4 -4
  63. package/chunk/{FormFieldTypeahead-D65hqbmm.js → FormFieldTypeahead-BQGJX1il.js} +8 -8
  64. package/chunk/{FormFieldTypeahead-D65hqbmm.js.map → FormFieldTypeahead-BQGJX1il.js.map} +1 -1
  65. package/chunk/{FormFieldTypeahead-pQn7b3qO.js → FormFieldTypeahead-BjsW2DUM.js} +8 -8
  66. package/chunk/{FormFieldTypeahead-pQn7b3qO.js.map → FormFieldTypeahead-BjsW2DUM.js.map} +1 -1
  67. package/chunk/{FormFooterComponent-AuOOdrTD.js → FormFooterComponent-B7fUP0wx.js} +8 -8
  68. package/chunk/{FormFooterComponent-AuOOdrTD.js.map → FormFooterComponent-B7fUP0wx.js.map} +1 -1
  69. package/chunk/{FormFooterComponent-DBtwjSTL.js → FormFooterComponent-BTfz7YAX.js} +8 -8
  70. package/chunk/{FormFooterComponent-DBtwjSTL.js.map → FormFooterComponent-BTfz7YAX.js.map} +1 -1
  71. package/chunk/{FormSelectChoice-DFY-ryks.js → FormSelectChoice-DGDSioEg.js} +6 -6
  72. package/chunk/{FormSelectChoice-DFY-ryks.js.map → FormSelectChoice-DGDSioEg.js.map} +1 -1
  73. package/chunk/{FormSelectChoice-6hD-rK1b.js → FormSelectChoice-DN3XV8go.js} +6 -6
  74. package/chunk/{FormSelectChoice-6hD-rK1b.js.map → FormSelectChoice-DN3XV8go.js.map} +1 -1
  75. package/chunk/InputText-Bvj815Th.js +4 -4
  76. package/chunk/InputText-C2qEtF0t.js +4 -4
  77. package/chunk/{LicensedProfessionalOrganizationComponent-z7QjAVXa.js → LicensedProfessionalOrganizationComponent-C43VAUdy.js} +8 -8
  78. package/chunk/{LicensedProfessionalOrganizationComponent-z7QjAVXa.js.map → LicensedProfessionalOrganizationComponent-C43VAUdy.js.map} +1 -1
  79. package/chunk/{LicensedProfessionalOrganizationComponent-BGQZWcaF.js → LicensedProfessionalOrganizationComponent-DEwASktt.js} +8 -8
  80. package/chunk/{LicensedProfessionalOrganizationComponent-BGQZWcaF.js.map → LicensedProfessionalOrganizationComponent-DEwASktt.js.map} +1 -1
  81. package/chunk/{LogoComponent-BSmQaKpz.js → LogoComponent-BoEYsksW.js} +5 -5
  82. package/chunk/{LogoComponent-BSmQaKpz.js.map → LogoComponent-BoEYsksW.js.map} +1 -1
  83. package/chunk/{LogoComponent-Bj0nuSsL.js → LogoComponent-C2diSRfu.js} +5 -5
  84. package/chunk/{LogoComponent-Bj0nuSsL.js.map → LogoComponent-C2diSRfu.js.map} +1 -1
  85. package/chunk/{LowIncomeOrganizationComponent-BqbzF7QP.js → LowIncomeOrganizationComponent-D9qAHj0m.js} +9 -9
  86. package/chunk/{LowIncomeOrganizationComponent-BqbzF7QP.js.map → LowIncomeOrganizationComponent-D9qAHj0m.js.map} +1 -1
  87. package/chunk/{LowIncomeOrganizationComponent-DfcG7yCt.js → LowIncomeOrganizationComponent-bijYf_Ae.js} +9 -9
  88. package/chunk/{LowIncomeOrganizationComponent-DfcG7yCt.js.map → LowIncomeOrganizationComponent-bijYf_Ae.js.map} +1 -1
  89. package/chunk/{MedicalProfessionalOrganizationComponent-6KnihjFH.js → MedicalProfessionalOrganizationComponent-CMDxCj_U.js} +8 -8
  90. package/chunk/{MedicalProfessionalOrganizationComponent-6KnihjFH.js.map → MedicalProfessionalOrganizationComponent-CMDxCj_U.js.map} +1 -1
  91. package/chunk/{MedicalProfessionalOrganizationComponent-BlHxJHTt.js → MedicalProfessionalOrganizationComponent-CsZ0PEb5.js} +8 -8
  92. package/chunk/{MedicalProfessionalOrganizationComponent-BlHxJHTt.js.map → MedicalProfessionalOrganizationComponent-CsZ0PEb5.js.map} +1 -1
  93. package/chunk/{MemberIdComponent-CxKnpzyG.js → MemberIdComponent-B9vrsE-q.js} +5 -5
  94. package/chunk/{MemberIdComponent--hy77hro.js.map → MemberIdComponent-B9vrsE-q.js.map} +1 -1
  95. package/chunk/{MemberIdComponent--hy77hro.js → MemberIdComponent-JTyvLPTU.js} +5 -5
  96. package/chunk/{MemberIdComponent-CxKnpzyG.js.map → MemberIdComponent-JTyvLPTU.js.map} +1 -1
  97. package/chunk/{MembershipOrganizationComponent-CiSCMO-v.js → MembershipOrganizationComponent-C5dWGUPp.js} +8 -8
  98. package/chunk/{MembershipOrganizationComponent-CiSCMO-v.js.map → MembershipOrganizationComponent-C5dWGUPp.js.map} +1 -1
  99. package/chunk/{MembershipOrganizationComponent-C2tLFp9O.js → MembershipOrganizationComponent-Dwnrko48.js} +8 -8
  100. package/chunk/{MembershipOrganizationComponent-C2tLFp9O.js.map → MembershipOrganizationComponent-Dwnrko48.js.map} +1 -1
  101. package/chunk/{Message-Dn888b-7.js → Message-CexO4eZq.js} +5 -5
  102. package/chunk/{Message-Dn888b-7.js.map → Message-CexO4eZq.js.map} +1 -1
  103. package/chunk/{Message-CftKT89p.js → Message-YS1p6ov3.js} +5 -5
  104. package/chunk/{Message-CftKT89p.js.map → Message-YS1p6ov3.js.map} +1 -1
  105. package/chunk/Onfido-CTCgAwnB.js +4 -4
  106. package/chunk/{PersonalInfoStepSubmitButton-CR8ta98F.js → PersonalInfoStepSubmitButton-Ds_-FUfA.js} +5 -5
  107. package/chunk/{PersonalInfoStepSubmitButton-CR8ta98F.js.map → PersonalInfoStepSubmitButton-Ds_-FUfA.js.map} +1 -1
  108. package/chunk/{PersonalInfoStepSubmitButton-CTdBFGeG.js → PersonalInfoStepSubmitButton-vpNt-1XI.js} +5 -5
  109. package/chunk/{PersonalInfoStepSubmitButton-CTdBFGeG.js.map → PersonalInfoStepSubmitButton-vpNt-1XI.js.map} +1 -1
  110. package/chunk/{PersonalInfoStepWrapper-DbqQudr4.js → PersonalInfoStepWrapper-CJzVOQ_x.js} +7 -7
  111. package/chunk/{PersonalInfoStepWrapper-DbqQudr4.js.map → PersonalInfoStepWrapper-CJzVOQ_x.js.map} +1 -1
  112. package/chunk/{PersonalInfoStepWrapper-CPDfbnD6.js → PersonalInfoStepWrapper-CyCuyImb.js} +6 -6
  113. package/chunk/{PersonalInfoStepWrapper-CPDfbnD6.js.map → PersonalInfoStepWrapper-CyCuyImb.js.map} +1 -1
  114. package/chunk/{PostalCodeComponent-tJKRpJv-.js → PostalCodeComponent-B25YSrIO.js} +5 -5
  115. package/chunk/{PostalCodeComponent-D-7iqpnt.js.map → PostalCodeComponent-B25YSrIO.js.map} +1 -1
  116. package/chunk/{PostalCodeComponent-D-7iqpnt.js → PostalCodeComponent-IMgjUHRf.js} +5 -5
  117. package/chunk/{PostalCodeComponent-tJKRpJv-.js.map → PostalCodeComponent-IMgjUHRf.js.map} +1 -1
  118. package/chunk/{SSN-BQppmw27.js → SSN-0xlUI5ik.js} +5 -5
  119. package/chunk/{SSN-BQppmw27.js.map → SSN-0xlUI5ik.js.map} +1 -1
  120. package/chunk/{SSN-B5YqbTT5.js → SSN-BjBIZSyh.js} +5 -5
  121. package/chunk/{SSN-B5YqbTT5.js.map → SSN-BjBIZSyh.js.map} +1 -1
  122. package/chunk/{StateSelectComponent-DpYIJuax.js → StateSelectComponent-aAvCOLUg.js} +6 -6
  123. package/chunk/{StateSelectComponent-DpYIJuax.js.map → StateSelectComponent-aAvCOLUg.js.map} +1 -1
  124. package/chunk/{StateSelectComponent-CWadMo4I.js → StateSelectComponent-uKT0CUkG.js} +6 -6
  125. package/chunk/{StateSelectComponent-CWadMo4I.js.map → StateSelectComponent-uKT0CUkG.js.map} +1 -1
  126. package/chunk/{StatusComponent-BBX4mkER.js → StatusComponent-CmqMjhRY.js} +6 -6
  127. package/chunk/{StatusComponent-BBX4mkER.js.map → StatusComponent-CmqMjhRY.js.map} +1 -1
  128. package/chunk/{StatusComponent-Ct5RQIkF.js → StatusComponent-DqlhdO7Q.js} +6 -6
  129. package/chunk/{StatusComponent-Ct5RQIkF.js.map → StatusComponent-DqlhdO7Q.js.map} +1 -1
  130. package/chunk/{StepAgePersonalInfo-D-tK0wBW.js → StepAgePersonalInfo-BMB7unTI.js} +17 -17
  131. package/chunk/{StepAgePersonalInfo-D-tK0wBW.js.map → StepAgePersonalInfo-BMB7unTI.js.map} +1 -1
  132. package/chunk/{StepAgePersonalInfo-1PdZQGtF.js → StepAgePersonalInfo-D0vIoD_n.js} +17 -17
  133. package/chunk/{StepAgePersonalInfo-1PdZQGtF.js.map → StepAgePersonalInfo-D0vIoD_n.js.map} +1 -1
  134. package/chunk/StepCard-BEucy3JJ.js +4 -4
  135. package/chunk/StepCard-Blp7ZcI-.js +4 -4
  136. package/chunk/{StepCollectIdentifier-itJ5kD--.js → StepCollectIdentifier-B_IWZFnm.js} +6 -6
  137. package/chunk/{StepCollectIdentifier-itJ5kD--.js.map → StepCollectIdentifier-B_IWZFnm.js.map} +1 -1
  138. package/chunk/{StepCollectIdentifier-DBzFener.js → StepCollectIdentifier-RF_12KR0.js} +6 -6
  139. package/chunk/{StepCollectIdentifier-DBzFener.js.map → StepCollectIdentifier-RF_12KR0.js.map} +1 -1
  140. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CJ6z6yOJ.js → StepCollectMilitaryPersonalInfoComponent-CTniITbD.js} +22 -22
  141. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CJ6z6yOJ.js.map → StepCollectMilitaryPersonalInfoComponent-CTniITbD.js.map} +1 -1
  142. package/chunk/{StepCollectMilitaryPersonalInfoComponent-D6XSgd_g.js → StepCollectMilitaryPersonalInfoComponent-D9Z8yHB3.js} +22 -22
  143. package/chunk/{StepCollectMilitaryPersonalInfoComponent-D6XSgd_g.js.map → StepCollectMilitaryPersonalInfoComponent-D9Z8yHB3.js.map} +1 -1
  144. package/chunk/{StepCollectPersonalInfo-D2aFS5zY.js → StepCollectPersonalInfo-Bmu7n4bc.js} +31 -31
  145. package/chunk/{StepCollectPersonalInfo-D2aFS5zY.js.map → StepCollectPersonalInfo-Bmu7n4bc.js.map} +1 -1
  146. package/chunk/{StepCollectPersonalInfo-CceFy_mY.js → StepCollectPersonalInfo-CYAL3QrN.js} +31 -31
  147. package/chunk/{StepCollectPersonalInfo-CceFy_mY.js.map → StepCollectPersonalInfo-CYAL3QrN.js.map} +1 -1
  148. package/chunk/StepCompleteAuthentication-B_0EZ3mH.js +4 -4
  149. package/chunk/StepCompleteAuthentication-Ds3ieihr.js +4 -4
  150. package/chunk/{StepConsolation-B5w29LmQ.js → StepConsolation-D12aSsuO.js} +6 -6
  151. package/chunk/{StepConsolation-B5w29LmQ.js.map → StepConsolation-D12aSsuO.js.map} +1 -1
  152. package/chunk/{StepConsolation-uujlfm7I.js → StepConsolation-mzf-Xvuk.js} +6 -6
  153. package/chunk/{StepConsolation-uujlfm7I.js.map → StepConsolation-mzf-Xvuk.js.map} +1 -1
  154. package/chunk/{StepDocUpload-CCakJpRJ.js → StepDocUpload-BZ1I9-VI.js} +8 -8
  155. package/chunk/{StepDocUpload-CCakJpRJ.js.map → StepDocUpload-BZ1I9-VI.js.map} +1 -1
  156. package/chunk/{StepDocUpload-BWHsVHYJ.js → StepDocUpload-_qGcWolC.js} +8 -8
  157. package/chunk/{StepDocUpload-BWHsVHYJ.js.map → StepDocUpload-_qGcWolC.js.map} +1 -1
  158. package/chunk/{StepDriverLicensePersonalInfoComponent-DBJI6e7M.js → StepDriverLicensePersonalInfoComponent-BRLFwKvG.js} +13 -13
  159. package/chunk/{StepDriverLicensePersonalInfoComponent-DBJI6e7M.js.map → StepDriverLicensePersonalInfoComponent-BRLFwKvG.js.map} +1 -1
  160. package/chunk/{StepDriverLicensePersonalInfoComponent-BsO8PaEy.js → StepDriverLicensePersonalInfoComponent-DTjd9EPj.js} +13 -13
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-BsO8PaEy.js.map → StepDriverLicensePersonalInfoComponent-DTjd9EPj.js.map} +1 -1
  162. package/chunk/{StepEmailLoop-CRuym7fa.js → StepEmailLoop-2ftuvoPd.js} +7 -7
  163. package/chunk/{StepEmailLoop-CRuym7fa.js.map → StepEmailLoop-2ftuvoPd.js.map} +1 -1
  164. package/chunk/{StepEmailLoop-C-1f3M13.js → StepEmailLoop-CqjFTe3c.js} +7 -7
  165. package/chunk/{StepEmailLoop-C-1f3M13.js.map → StepEmailLoop-CqjFTe3c.js.map} +1 -1
  166. package/chunk/{StepEmploymentPersonalInfo-CdJDYIwe.js → StepEmploymentPersonalInfo-B-iW-S7t.js} +18 -18
  167. package/chunk/{StepEmploymentPersonalInfo-CdJDYIwe.js.map → StepEmploymentPersonalInfo-B-iW-S7t.js.map} +1 -1
  168. package/chunk/{StepEmploymentPersonalInfo-CNMdyOJ_.js → StepEmploymentPersonalInfo-D7Dp0Cg4.js} +18 -18
  169. package/chunk/{StepEmploymentPersonalInfo-CNMdyOJ_.js.map → StepEmploymentPersonalInfo-D7Dp0Cg4.js.map} +1 -1
  170. package/chunk/{StepFirstResponderPersonalInfo-BqRzEbuo.js → StepFirstResponderPersonalInfo-CPSAt1KD.js} +19 -19
  171. package/chunk/{StepFirstResponderPersonalInfo-BqRzEbuo.js.map → StepFirstResponderPersonalInfo-CPSAt1KD.js.map} +1 -1
  172. package/chunk/{StepFirstResponderPersonalInfo-AXfXETg6.js → StepFirstResponderPersonalInfo-LhAbOSlA.js} +19 -19
  173. package/chunk/{StepFirstResponderPersonalInfo-AXfXETg6.js.map → StepFirstResponderPersonalInfo-LhAbOSlA.js.map} +1 -1
  174. package/chunk/{StepGeneralIdentityPersonalInfoComponent-C7tkvOBU.js → StepGeneralIdentityPersonalInfoComponent-CgtkLEB0.js} +16 -16
  175. package/chunk/{StepGeneralIdentityPersonalInfoComponent-C7tkvOBU.js.map → StepGeneralIdentityPersonalInfoComponent-CgtkLEB0.js.map} +1 -1
  176. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CUn2efgL.js → StepGeneralIdentityPersonalInfoComponent-t9Kkem2-.js} +16 -16
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CUn2efgL.js.map → StepGeneralIdentityPersonalInfoComponent-t9Kkem2-.js.map} +1 -1
  178. package/chunk/{StepHybridIdentityPersonalInfoComponent-B8SSBkHj.js → StepHybridIdentityPersonalInfoComponent-BUMAYXNM.js} +17 -17
  179. package/chunk/{StepHybridIdentityPersonalInfoComponent-B8SSBkHj.js.map → StepHybridIdentityPersonalInfoComponent-BUMAYXNM.js.map} +1 -1
  180. package/chunk/{StepHybridIdentityPersonalInfoComponent-DtLvoAhk.js → StepHybridIdentityPersonalInfoComponent-iHwo3WsG.js} +17 -17
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-DtLvoAhk.js.map → StepHybridIdentityPersonalInfoComponent-iHwo3WsG.js.map} +1 -1
  182. package/chunk/{StepIDCheckLoop-CVfnTFcW.js → StepIDCheckLoop-CHAvBy1v.js} +5 -5
  183. package/chunk/{StepIDCheckLoop-CVfnTFcW.js.map → StepIDCheckLoop-CHAvBy1v.js.map} +1 -1
  184. package/chunk/{StepIDCheckLoop-BuNNOIEe.js → StepIDCheckLoop-CLclpa5W.js} +5 -5
  185. package/chunk/{StepIDCheckLoop-BuNNOIEe.js.map → StepIDCheckLoop-CLclpa5W.js.map} +1 -1
  186. package/chunk/{StepIDCheckLoopOnfido-CTFc-TCg.js → StepIDCheckLoopOnfido-BvBFfhtv.js} +8 -8
  187. package/chunk/{StepIDCheckLoopOnfido-CTFc-TCg.js.map → StepIDCheckLoopOnfido-BvBFfhtv.js.map} +1 -1
  188. package/chunk/{StepIDCheckLoopOnfido-DTkwFKIA.js → StepIDCheckLoopOnfido-DSXpRkVG.js} +8 -8
  189. package/chunk/{StepIDCheckLoopOnfido-DTkwFKIA.js.map → StepIDCheckLoopOnfido-DSXpRkVG.js.map} +1 -1
  190. package/chunk/{StepIDCheckLoopRegula-jXzfuOeA.js → StepIDCheckLoopRegula-B1ScLVSh.js} +7 -7
  191. package/chunk/{StepIDCheckLoopRegula-jXzfuOeA.js.map → StepIDCheckLoopRegula-B1ScLVSh.js.map} +1 -1
  192. package/chunk/{StepIDCheckLoopRegula-rDapkJ6d.js → StepIDCheckLoopRegula-BX_r_E4L.js} +7 -7
  193. package/chunk/{StepIDCheckLoopRegula-rDapkJ6d.js.map → StepIDCheckLoopRegula-BX_r_E4L.js.map} +1 -1
  194. package/chunk/{StepLicensedProfessionalPersonalInfo-SbTP67r7.js → StepLicensedProfessionalPersonalInfo-D6e0aKcx.js} +19 -19
  195. package/chunk/{StepLicensedProfessionalPersonalInfo-SbTP67r7.js.map → StepLicensedProfessionalPersonalInfo-D6e0aKcx.js.map} +1 -1
  196. package/chunk/{StepLicensedProfessionalPersonalInfo-BrIV2PqV.js → StepLicensedProfessionalPersonalInfo-PDja7OV9.js} +19 -19
  197. package/chunk/{StepLicensedProfessionalPersonalInfo-BrIV2PqV.js.map → StepLicensedProfessionalPersonalInfo-PDja7OV9.js.map} +1 -1
  198. package/chunk/{StepLowIncomePersonalInfo-C5_F7QeG.js → StepLowIncomePersonalInfo-BDgG3QSv.js} +21 -21
  199. package/chunk/{StepLowIncomePersonalInfo-C5_F7QeG.js.map → StepLowIncomePersonalInfo-BDgG3QSv.js.map} +1 -1
  200. package/chunk/{StepLowIncomePersonalInfo-BMESrbPv.js → StepLowIncomePersonalInfo-D2qFMg0V.js} +21 -21
  201. package/chunk/{StepLowIncomePersonalInfo-BMESrbPv.js.map → StepLowIncomePersonalInfo-D2qFMg0V.js.map} +1 -1
  202. package/chunk/{StepMedicalProfessionalPersonalInfo--mcpwTM-.js → StepMedicalProfessionalPersonalInfo-1XPLI2W3.js} +20 -20
  203. package/chunk/{StepMedicalProfessionalPersonalInfo--mcpwTM-.js.map → StepMedicalProfessionalPersonalInfo-1XPLI2W3.js.map} +1 -1
  204. package/chunk/{StepMedicalProfessionalPersonalInfo-dLbOXQIJ.js → StepMedicalProfessionalPersonalInfo-BC0lr1WI.js} +20 -20
  205. package/chunk/{StepMedicalProfessionalPersonalInfo-dLbOXQIJ.js.map → StepMedicalProfessionalPersonalInfo-BC0lr1WI.js.map} +1 -1
  206. package/chunk/{StepMemberPersonalInfo-Bcbs11kI.js → StepMemberPersonalInfo-BFKv1wPh.js} +15 -15
  207. package/chunk/{StepMemberPersonalInfo-Bcbs11kI.js.map → StepMemberPersonalInfo-BFKv1wPh.js.map} +1 -1
  208. package/chunk/{StepMemberPersonalInfo-BKHMUtj2.js → StepMemberPersonalInfo-RyxtQuwt.js} +15 -15
  209. package/chunk/{StepMemberPersonalInfo-BKHMUtj2.js.map → StepMemberPersonalInfo-RyxtQuwt.js.map} +1 -1
  210. package/chunk/{StepMoverPersonalInfo-DHGhPTGD.js → StepMoverPersonalInfo-BX_5wilp.js} +13 -13
  211. package/chunk/{StepMoverPersonalInfo-DHGhPTGD.js.map → StepMoverPersonalInfo-BX_5wilp.js.map} +1 -1
  212. package/chunk/{StepMoverPersonalInfo-BKJIrW0I.js → StepMoverPersonalInfo-Cl4UiqSf.js} +13 -13
  213. package/chunk/{StepMoverPersonalInfo-BKJIrW0I.js.map → StepMoverPersonalInfo-Cl4UiqSf.js.map} +1 -1
  214. package/chunk/{StepOverrideComponent-7rPDbArF.js → StepOverrideComponent-CPCNavii.js} +7 -7
  215. package/chunk/{StepOverrideComponent-7rPDbArF.js.map → StepOverrideComponent-CPCNavii.js.map} +1 -1
  216. package/chunk/{StepOverrideComponent-BegU2Ypq.js → StepOverrideComponent-mD4Wijhb.js} +7 -7
  217. package/chunk/{StepOverrideComponent-BegU2Ypq.js.map → StepOverrideComponent-mD4Wijhb.js.map} +1 -1
  218. package/chunk/{StepSMSLoop-WMnyUemP.js → StepSMSLoop-DE9FVO3o.js} +5 -5
  219. package/chunk/{StepSMSLoop-WMnyUemP.js.map → StepSMSLoop-DE9FVO3o.js.map} +1 -1
  220. package/chunk/{StepSMSLoop-k6YbuoGy.js → StepSMSLoop-l4LDphcg.js} +5 -5
  221. package/chunk/{StepSMSLoop-k6YbuoGy.js.map → StepSMSLoop-l4LDphcg.js.map} +1 -1
  222. package/chunk/StepSSO-Bx1gQq5b.js +4 -4
  223. package/chunk/StepSSO-Cy9ViRyN.js +4 -4
  224. package/chunk/{StepSocialSecurityNumber-DwYQJFSw.js → StepSocialSecurityNumber-Bjru8M0j.js} +8 -8
  225. package/chunk/{StepSocialSecurityNumber-DwYQJFSw.js.map → StepSocialSecurityNumber-Bjru8M0j.js.map} +1 -1
  226. package/chunk/{StepSocialSecurityNumber-Djep-ZY1.js → StepSocialSecurityNumber-DPstxLu3.js} +8 -8
  227. package/chunk/{StepSocialSecurityNumber-Djep-ZY1.js.map → StepSocialSecurityNumber-DPstxLu3.js.map} +1 -1
  228. package/chunk/{StepStudentPersonalInfo-DbSj3RAG.js → StepStudentPersonalInfo-BIewd34q.js} +18 -18
  229. package/chunk/{StepStudentPersonalInfo-DbSj3RAG.js.map → StepStudentPersonalInfo-BIewd34q.js.map} +1 -1
  230. package/chunk/{StepStudentPersonalInfo-3JoFLWbf.js → StepStudentPersonalInfo-DRvZ3Vtb.js} +18 -18
  231. package/chunk/{StepStudentPersonalInfo-3JoFLWbf.js.map → StepStudentPersonalInfo-DRvZ3Vtb.js.map} +1 -1
  232. package/chunk/{StepSuccess-QubTi-Zr.js → StepSuccess-Dh1ycMJX.js} +6 -6
  233. package/chunk/{StepSuccess-QubTi-Zr.js.map → StepSuccess-Dh1ycMJX.js.map} +1 -1
  234. package/chunk/{StepSuccess-Detlzl_x.js → StepSuccess-XOl1mdFQ.js} +6 -6
  235. package/chunk/{StepSuccess-Detlzl_x.js.map → StepSuccess-XOl1mdFQ.js.map} +1 -1
  236. package/chunk/{StepTeacherPersonalInfo-CcCuMb2Q.js → StepTeacherPersonalInfo-B8foLmZZ.js} +16 -16
  237. package/chunk/{StepTeacherPersonalInfo-CcCuMb2Q.js.map → StepTeacherPersonalInfo-B8foLmZZ.js.map} +1 -1
  238. package/chunk/{StepTeacherPersonalInfo-DgbTjRnf.js → StepTeacherPersonalInfo-ip_pVe12.js} +16 -16
  239. package/chunk/{StepTeacherPersonalInfo-DgbTjRnf.js.map → StepTeacherPersonalInfo-ip_pVe12.js.map} +1 -1
  240. package/chunk/StepThirdPartyLoop-BFizJiyZ.js +4 -4
  241. package/chunk/StepThirdPartyLoop-C9d7QWS3.js +4 -4
  242. package/chunk/{TeacherSchoolComponent-B6wZwHb1.js → TeacherSchoolComponent-kPobTv7N.js} +8 -8
  243. package/chunk/{TeacherSchoolComponent-B6wZwHb1.js.map → TeacherSchoolComponent-kPobTv7N.js.map} +1 -1
  244. package/chunk/{TeacherSchoolComponent-DF0oyfLp.js → TeacherSchoolComponent-nB-dP00I.js} +8 -8
  245. package/chunk/{TeacherSchoolComponent-DF0oyfLp.js.map → TeacherSchoolComponent-nB-dP00I.js.map} +1 -1
  246. package/chunk/TestingRouteOverrides-DXjtFZZd.js +4 -4
  247. package/chunk/TestingRouteOverrides-fnlJLg1Z.js +4 -4
  248. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  249. package/chunk/ar-D5CO913q.js +4 -4
  250. package/chunk/bg-1mhA5kYF.js +4 -4
  251. package/chunk/bn-IN-CpDqyRb_.js +4 -4
  252. package/chunk/clsx-DC8twM4t.js +4 -4
  253. package/chunk/countryUtils-DqbdyVbZ.js +12 -0
  254. package/chunk/{countryUtils-CF4wYFAO.js.map → countryUtils-DqbdyVbZ.js.map} +1 -1
  255. package/chunk/{countryUtils-DVCfJNrG.js → countryUtils-R4Q_aquD.js} +5 -5
  256. package/chunk/{countryUtils-DVCfJNrG.js.map → countryUtils-R4Q_aquD.js.map} +1 -1
  257. package/chunk/cs-Chh7FAGt.js +4 -4
  258. package/chunk/da-DwrVoxto.js +4 -4
  259. package/chunk/de-IWGZLhgY.js +4 -4
  260. package/chunk/{downshift.esm-Dnlt_89v.js → downshift.esm-D2aHUCbq.js} +5 -5
  261. package/chunk/{downshift.esm-Dnlt_89v.js.map → downshift.esm-D2aHUCbq.js.map} +1 -1
  262. package/chunk/{downshift.esm-Dg8Q4WfY.js → downshift.esm-DQMomT6K.js} +5 -5
  263. package/chunk/{downshift.esm-Dg8Q4WfY.js.map → downshift.esm-DQMomT6K.js.map} +1 -1
  264. package/chunk/el-DbDcvSPJ.js +4 -4
  265. package/chunk/empties-BBKd53_B.js +4 -4
  266. package/chunk/empties-DcQjcgEV.js +4 -4
  267. package/chunk/en-GB-CNQ8Ww2j.js +4 -4
  268. package/chunk/es-ES-DWimqEZ_.js +4 -4
  269. package/chunk/es-qhC-seq5.js +4 -4
  270. package/chunk/et-yF9G-Mym.js +4 -4
  271. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  272. package/chunk/fa-BcdSf7og.js +4 -4
  273. package/chunk/fi-D-IP_KHm.js +4 -4
  274. package/chunk/fr-BmUuYxk0.js +4 -4
  275. package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
  276. package/chunk/ga-DuZycND3.js +4 -4
  277. package/chunk/getInstallType-BRxisNNY.js +4 -4
  278. package/chunk/getInstallType-DlS_DNKt.js +4 -4
  279. package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
  280. package/chunk/hooks-B7aeAwHn.js +4 -4
  281. package/chunk/hooks-D0X_qdc-.js +4 -4
  282. package/chunk/hr-BtqyDzDB.js +4 -4
  283. package/chunk/hu-C6syKJfb.js +4 -4
  284. package/chunk/i18next-iyVj5hRL.js +4 -4
  285. package/chunk/id-GgI-Z2a5.js +4 -4
  286. package/chunk/intl-BK4prEGw.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-BUMIo32n.js +4 -4
  292. package/chunk/jsx-runtime-DwmrsRqi.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/mockProgramBranding-C9Ysu3Mp.js +4 -4
  299. package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
  300. package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
  301. package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
  302. package/chunk/mocks-DV23paUj.js +4 -4
  303. package/chunk/mocks-R-p7VtJz.js +4 -4
  304. package/chunk/ms-BjestZxy.js +4 -4
  305. package/chunk/nl-B1FyUfCT.js +4 -4
  306. package/chunk/nl-BE-CbeAd3nq.js +4 -4
  307. package/chunk/no-Dr633Ddi.js +4 -4
  308. package/chunk/pl-UYTjMIq_.js +4 -4
  309. package/chunk/{programThemeGetters-Ds4txnn8.js → programThemeGetters-0iwXNOx6.js} +5 -5
  310. package/chunk/{programThemeGetters-Ds4txnn8.js.map → programThemeGetters-0iwXNOx6.js.map} +1 -1
  311. package/chunk/{programThemeGetters-Dcff4Bu0.js → programThemeGetters-BEzpDnQy.js} +5 -5
  312. package/chunk/{programThemeGetters-Dcff4Bu0.js.map → programThemeGetters-BEzpDnQy.js.map} +1 -1
  313. package/chunk/pt-BR-C8SYMT-J.js +4 -4
  314. package/chunk/pt-uH-M3GdN.js +4 -4
  315. package/chunk/refs-Mq0rtW9K.js +4 -4
  316. package/chunk/ro-CAOSXZ7h.js +4 -4
  317. package/chunk/ru-iwYoEydL.js +4 -4
  318. package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
  319. package/chunk/sk-DYYNV3zw.js +4 -4
  320. package/chunk/sl-D_-eeM5N.js +4 -4
  321. package/chunk/sr-BTi9_anL.js +4 -4
  322. package/chunk/stepComponentHelpers-CyqXTDdj.js +4 -4
  323. package/chunk/stepComponentHelpers-Dztw-HNP.js +4 -4
  324. package/chunk/strings-DWLVdUcm.js +4 -4
  325. package/chunk/sv-DRwY4shG.js +4 -4
  326. package/chunk/sw-Bvj2mYmM.js +4 -4
  327. package/chunk/ta-CmtaYoNe.js +4 -4
  328. package/chunk/th-12r2yKkJ.js +4 -4
  329. package/chunk/tl-BGNfO7md.js +4 -4
  330. package/chunk/tr-DH2ZSJhs.js +4 -4
  331. package/chunk/uk-CELBZlTd.js +4 -4
  332. package/chunk/ur-MR8DTbmd.js +4 -4
  333. package/chunk/{useCollectFieldsEndpoint-CslbAox0.js → useCollectFieldsEndpoint-BbzTOhC3.js} +6 -6
  334. package/chunk/{useCollectFieldsEndpoint-CslbAox0.js.map → useCollectFieldsEndpoint-BbzTOhC3.js.map} +1 -1
  335. package/chunk/{useCollectFieldsEndpoint-Dye0dLpF.js → useCollectFieldsEndpoint-CKn8va6d.js} +6 -6
  336. package/chunk/{useCollectFieldsEndpoint-Dye0dLpF.js.map → useCollectFieldsEndpoint-CKn8va6d.js.map} +1 -1
  337. package/chunk/useMetrics-C13Ap129.js +4 -4
  338. package/chunk/useMetrics-O66_lNx5.js +4 -4
  339. package/chunk/vi-DtZ-SqD5.js +4 -4
  340. package/chunk/zh-DjyVyYac.js +4 -4
  341. package/chunk/zh-HK-CN1HarHq.js +4 -4
  342. package/chunk/zu-DPhgIh1z.js +4 -4
  343. package/package.json +1 -1
  344. package/sheerid-install.css +4 -4
  345. package/sheerid-install.js +4 -4
  346. package/sheerid.css +4 -4
  347. package/sheerid.js +37 -37
  348. package/chunk/countryUtils-CF4wYFAO.js +0 -12
@@ -4,31 +4,31 @@
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.313.0
8
- * BUILD_TIMESTAMP: 1793730429946
9
- * BUILD_DATE: Tue Nov 03 2026 18:27:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
7
+ * VERSION: 2.315.0
8
+ * BUILD_TIMESTAMP: 1793755578665
9
+ * BUILD_DATE: Wed Nov 04 2026 01:26:18 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
11
11
  */
12
12
  import { p as e, s as t } from "./intl-BK4prEGw.js";
13
13
  import { b as n } from "./runtimeTypes-B2AGNJMT.js";
14
14
  import { n as r, t as i } from "./jsx-runtime-BUMIo32n.js";
15
- import { o as a } from "./programThemeGetters-Dcff4Bu0.js";
16
- import { m as o } from "./FormFooterComponent-AuOOdrTD.js";
15
+ import { o as a } from "./programThemeGetters-BEzpDnQy.js";
16
+ import { m as o } from "./FormFooterComponent-B7fUP0wx.js";
17
17
  import { t as s } from "../_mysheerid-preview.js";
18
- import { t as c } from "./useCollectFieldsEndpoint-CslbAox0.js";
18
+ import { t as c } from "./useCollectFieldsEndpoint-BbzTOhC3.js";
19
19
  import { d as l, f as u, r as d, t as f } from "./stepComponentHelpers-Dztw-HNP.js";
20
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-DpiYztJ5.js";
21
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CR8ta98F.js";
22
- import { i as x } from "./FormSelectChoice-6hD-rK1b.js";
23
- import { t as S } from "./BirthDateComponent-D5pVkYha.js";
24
- import { t as C } from "./PostalCodeComponent-D-7iqpnt.js";
25
- import { t as w } from "./CountryComponentWrapper-Ck2iP9bh.js";
26
- import { t as T } from "./ExtraMessage-QVMqiZm3.js";
27
- import { t as E } from "./ChangeLocaleComponent-BMuiuSyJ.js";
28
- import { t as D } from "./PersonalInfoStepWrapper-DbqQudr4.js";
29
- import { t as O } from "./countryUtils-DVCfJNrG.js";
30
- import { t as k } from "./StatusComponent-BBX4mkER.js";
31
- import { t as A } from "./LicensedProfessionalOrganizationComponent-z7QjAVXa.js";
20
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BD4yKfJR.js";
21
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Ds_-FUfA.js";
22
+ import { i as x } from "./FormSelectChoice-DN3XV8go.js";
23
+ import { t as S } from "./BirthDateComponent-DEm62ubJ.js";
24
+ import { t as C } from "./PostalCodeComponent-IMgjUHRf.js";
25
+ import { t as w } from "./CountryComponentWrapper-A-NCx760.js";
26
+ import { t as T } from "./ExtraMessage-CzchllLx.js";
27
+ import { t as E } from "./ChangeLocaleComponent-Drpt_vzW.js";
28
+ import { t as D } from "./PersonalInfoStepWrapper-CJzVOQ_x.js";
29
+ import { t as O } from "./countryUtils-R4Q_aquD.js";
30
+ import { t as k } from "./StatusComponent-CmqMjhRY.js";
31
+ import { t as A } from "./LicensedProfessionalOrganizationComponent-C43VAUdy.js";
32
32
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
33
33
  var j = i(), M = ({ verificationService: i }) => {
34
34
  let M = a(), N = i.viewModel, { fieldValidationErrors: P } = i, F = i.verificationResponse, I = o(F), L = N.localeChoice.value, R = t(), { availableStatuses: z } = c({
@@ -1 +1 @@
1
- {"version":3,"file":"StepLicensedProfessionalPersonalInfo-SbTP67r7.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","VerificationStepsEnum","FormattedHTMLMessage","require_jsx_runtime","useProgramConfiguration","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\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 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}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\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 statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\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={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\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 {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.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"],"mappings":";;;;;;;;;;;;;;;;;;;;;A,aAgDayC,KAAiD,EAC5D,6BACwD;CACxD,IAAMC,IAAuB5B,EAAwB,GAC/C6B,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC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B,UAAU;MACjC,oBAAoBkB;KACtB,CAAC,GACD5C,EAAqC,sBAAsB4C,GAAUlB,CAAmB;IAC1F;IACW;IACX,UAAUvB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GAED,iBAAA,GAAAmB,EAAA,IAAA,CAACN,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAM,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC+B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAlB,EAAA,IAAA,CAACX,GAAD;IACE,MAAMlB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA6B,EAAA,IAAA,CAAC5B,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepLicensedProfessionalPersonalInfo-D6e0aKcx.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","VerificationStepsEnum","FormattedHTMLMessage","require_jsx_runtime","useProgramConfiguration","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\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 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}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\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 statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\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={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\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 {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.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"],"mappings":";;;;;;;;;;;;;;;;;;;;;A,aAgDayC,KAAiD,EAC5D,6BACwD;CACxD,IAAMC,IAAuB5B,EAAwB,GAC/C6B,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IACJD,EAAoB,sBAChBE,IAAqB/B,EAAsB8B,CAAoB,GAE/DE,IAASJ,EAAU,aAAa,OAChCK,IAAUtC,EAAW,GAErB,EAAE,mBAAmBuC,MAAoBhC,EAAyB;EACtE,gBAAgB4B,EAAqB;EACrC,aAAaA,EAAqB;EAClC;CACF,CAAC,GAEKK,IAAgBpB,EACnBmB,KAAmBJ,EAAqB,iBAC3C,GAEMM,IAAqBR,EAAU,eAAe,OAC9CS,IAAoBf,EAAyBK,GAAsBS,CAAkB,GAErFE,KACJ,GACA,MACG;EACH,IAAMC,I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X,GAAD;IACE,MAAMlB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA6B,EAAA,IAAA,CAAC5B,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -1,30 +1,30 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.313.0
4
- * BUILD_TIMESTAMP: 1793730421508
5
- * BUILD_DATE: Tue Nov 03 2026 18:27:01 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
3
+ * VERSION: 2.315.0
4
+ * BUILD_TIMESTAMP: 1793755574220
5
+ * BUILD_DATE: Wed Nov 04 2026 01:26:14 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
7
7
  */
8
8
  import { dt as e, u as t } from "./i18next-iyVj5hRL.js";
9
9
  import { n, t as r } from "./jsx-runtime-DwmrsRqi.js";
10
- import { o as i } from "./programThemeGetters-Ds4txnn8.js";
10
+ import { o as i } from "./programThemeGetters-0iwXNOx6.js";
11
11
  import { b as a } from "./runtimeTypes-B2AGNJMT.js";
12
- import { h as o } from "./FormFooterComponent-DBtwjSTL.js";
12
+ import { h as o } from "./FormFooterComponent-BTfz7YAX.js";
13
13
  import { n as s } from "../sheerid.js";
14
- import { t as c } from "./useCollectFieldsEndpoint-Dye0dLpF.js";
14
+ import { t as c } from "./useCollectFieldsEndpoint-CKn8va6d.js";
15
15
  import { d as l, f as u, r as d, t as f } from "./stepComponentHelpers-CyqXTDdj.js";
16
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-Bay_IP0-.js";
17
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CTdBFGeG.js";
18
- import { i as x } from "./FormSelectChoice-DFY-ryks.js";
19
- import { t as S } from "./BirthDateComponent-CRbZs5-I.js";
20
- import { t as C } from "./PostalCodeComponent-tJKRpJv-.js";
21
- import { t as w } from "./CountryComponentWrapper-BlVfixh4.js";
22
- import { t as T } from "./ExtraMessage-CBPYszyt.js";
23
- import { t as E } from "./ChangeLocaleComponent-Bmq-3m3v.js";
24
- import { t as D } from "./PersonalInfoStepWrapper-CPDfbnD6.js";
25
- import { t as O } from "./countryUtils-CF4wYFAO.js";
26
- import { t as k } from "./StatusComponent-Ct5RQIkF.js";
27
- import { t as A } from "./LicensedProfessionalOrganizationComponent-BGQZWcaF.js";
16
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-g9Ye-t7Z.js";
17
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-vpNt-1XI.js";
18
+ import { i as x } from "./FormSelectChoice-DGDSioEg.js";
19
+ import { t as S } from "./BirthDateComponent-i59ScGu6.js";
20
+ import { t as C } from "./PostalCodeComponent-B25YSrIO.js";
21
+ import { t as w } from "./CountryComponentWrapper-DHUcGCUF.js";
22
+ import { t as T } from "./ExtraMessage-v4rZ0l8r.js";
23
+ import { t as E } from "./ChangeLocaleComponent-DBoMb2NA.js";
24
+ import { t as D } from "./PersonalInfoStepWrapper-CyCuyImb.js";
25
+ import { t as O } from "./countryUtils-DqbdyVbZ.js";
26
+ import { t as k } from "./StatusComponent-DqlhdO7Q.js";
27
+ import { t as A } from "./LicensedProfessionalOrganizationComponent-DEwASktt.js";
28
28
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
29
29
  var j = r(), M = ({ verificationService: r }) => {
30
30
  let M = i(), N = r.viewModel, { fieldValidationErrors: P } = r, F = r.verificationResponse, I = o(F), L = N.localeChoice.value, R = t(), { availableStatuses: z } = c({
@@ -1 +1 @@
1
- {"version":3,"file":"StepLicensedProfessionalPersonalInfo-BrIV2PqV.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","require_jsx_runtime","useProgramConfiguration","VerificationStepsEnum","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","FormattedHTMLMessage","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\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 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}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\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 statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\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={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\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 {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.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 />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B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAAgB,EAAA,IAAA,CAAC/B,GAAD;IACuB;IACrB,WAAW,CAAC,CAACiD,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAL,EAAoC,YAAY;MAC9C,GAAGT,EAAoB,UAAU;MACjC,oBAAoBmB;KACtB,CAAC,GACD7C,EAAqC,sBAAsB6C,GAAUnB,CAAmB;IAC1F;IACW;IACX,UAAUvB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GAED,iBAAA,GAAAmB,EAAA,IAAA,CAACN,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAM,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC+B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAlB,EAAA,IAAA,CAACX,GAAD;IACE,MAAMf,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA0B,EAAA,IAAA,CAACmB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepLicensedProfessionalPersonalInfo-PDja7OV9.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","require_jsx_runtime","useProgramConfiguration","VerificationStepsEnum","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","FormattedHTMLMessage","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\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 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}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\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 statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\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={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\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 {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.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"],"mappings":";;;;;;;;;;;;;;;;;;;;;A,aAgDawC,KAAiD,EAC5D,6BACwD;CACxD,IAAMC,IAAuB7B,EAAwB,GAC/C8B,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IACJD,EAAoB,sBAChBE,IAAqB/B,EAAsB8B,CAAoB,GAE/DE,IAASJ,EAAU,aAAa,OAChCK,IAAUrC,EAAW,GAErB,EAAE,mBAAmBsC,MAAoBhC,EAAyB;EACtE,gBAAgB4B,EAAqB;EACrC,aAAaA,EAAqB;EA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IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAM,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC+B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAlB,EAAA,IAAA,CAACX,GAAD;IACE,MAAMf,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA0B,EAAA,IAAA,CAACmB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -1,33 +1,33 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.313.0
4
- * BUILD_TIMESTAMP: 1793730421508
5
- * BUILD_DATE: Tue Nov 03 2026 18:27:01 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
3
+ * VERSION: 2.315.0
4
+ * BUILD_TIMESTAMP: 1793755574220
5
+ * BUILD_DATE: Wed Nov 04 2026 01:26:14 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
7
7
  */
8
8
  import { At as e, dt as t, u as n } from "./i18next-iyVj5hRL.js";
9
9
  import { n as r, s as i, t as a } from "./jsx-runtime-DwmrsRqi.js";
10
- import { o } from "./programThemeGetters-Ds4txnn8.js";
10
+ import { o } from "./programThemeGetters-0iwXNOx6.js";
11
11
  import { S as s, b as c } from "./runtimeTypes-B2AGNJMT.js";
12
12
  import { a as l } from "./empties-BBKd53_B.js";
13
- import { E as u, h as d } from "./FormFooterComponent-DBtwjSTL.js";
13
+ import { E as u, h as d } from "./FormFooterComponent-BTfz7YAX.js";
14
14
  import { n as f } from "../sheerid.js";
15
- import { t as p } from "./useCollectFieldsEndpoint-Dye0dLpF.js";
15
+ import { t as p } from "./useCollectFieldsEndpoint-CKn8va6d.js";
16
16
  import { d as m, f as h, i as g, r as _, t as v } from "./stepComponentHelpers-CyqXTDdj.js";
17
- import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-Bay_IP0-.js";
18
- import { n as T, t as E } from "./PersonalInfoStepSubmitButton-CTdBFGeG.js";
19
- import { i as D } from "./FormSelectChoice-DFY-ryks.js";
20
- import { t as O } from "./BirthDateComponent-CRbZs5-I.js";
21
- import { t as k } from "./PostalCodeComponent-tJKRpJv-.js";
22
- import { t as A } from "./CountryComponentWrapper-BlVfixh4.js";
23
- import { t as j } from "./City-SZ26Bigy.js";
24
- import { t as M } from "./AddressComponent-BHiOCbUv.js";
25
- import { t as N } from "./ChangeLocaleComponent-Bmq-3m3v.js";
26
- import { t as P } from "./PersonalInfoStepWrapper-CPDfbnD6.js";
27
- import { t as F } from "./countryUtils-CF4wYFAO.js";
28
- import { t as I } from "./StateSelectComponent-CWadMo4I.js";
29
- import { n as L, t as R } from "./LowIncomeOrganizationComponent-BqbzF7QP.js";
30
- import { t as z } from "./StatusComponent-Ct5RQIkF.js";
17
+ import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-g9Ye-t7Z.js";
18
+ import { n as T, t as E } from "./PersonalInfoStepSubmitButton-vpNt-1XI.js";
19
+ import { i as D } from "./FormSelectChoice-DGDSioEg.js";
20
+ import { t as O } from "./BirthDateComponent-i59ScGu6.js";
21
+ import { t as k } from "./PostalCodeComponent-B25YSrIO.js";
22
+ import { t as A } from "./CountryComponentWrapper-DHUcGCUF.js";
23
+ import { t as j } from "./City-gBRdOIsP.js";
24
+ import { t as M } from "./AddressComponent-uhBMgV3q.js";
25
+ import { t as N } from "./ChangeLocaleComponent-DBoMb2NA.js";
26
+ import { t as P } from "./PersonalInfoStepWrapper-CyCuyImb.js";
27
+ import { t as F } from "./countryUtils-DqbdyVbZ.js";
28
+ import { t as I } from "./StateSelectComponent-uKT0CUkG.js";
29
+ import { n as L, t as R } from "./LowIncomeOrganizationComponent-D9qAHj0m.js";
30
+ import { t as z } from "./StatusComponent-DqlhdO7Q.js";
31
31
  //#region src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx
32
32
  var B = /* @__PURE__ */ e(i(), 1), V = a(), H = ({ verificationService: e }) => {
33
33
  let i = o(), { viewModel: a } = e, H = n();
@@ -1 +1 @@
1
- {"version":3,"file":"StepLowIncomePersonalInfo-C5_F7QeG.js","names":["produce","LowIncomeOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","__toESM","fn","getOptions","FormattedHTMLMessage","require_react","require_jsx_runtime","logger","VerificationStepsEnum","blankOrganization","isLowIncomeVM","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","orgToOption","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","CityComponent","AddressComponent","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StateSelectComponent","EBTCardNumberComponent","LowIncomeOrganizationComponent","StatusComponent","import_react","import_jsx_runtime","StepLowIncomePersonalInfoComponent","programConfiguration","useProgramConfiguration","verificationService","options","viewModel","verificationResponse","failedInstantMatch","dynamicStatuses","countryChoiceValue","needToPickCountry","statusOptions","locale","selectedStatus","isSelectedStatusSnapBenefits","updateLowIncomeViewModel","nextState","key","value","remaining","id","option","fieldValidationErrors","updatedStatuses","status","newValue","choice","stateValue","stateChoice","event"],"sources":["../../src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type FormSelectChoice,\n type LowIncomePersonalInfoResponse,\n type LowIncomePersonalInfoViewModel,\n type LowIncomeStatus,\n type Organization,\n type State,\n type VerificationService,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n orgToOption,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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 } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { blankOrganization } from \"../../lib/types/empties\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { isLowIncomeVM } from \"./lowIncomeTypes\";\n\ninterface StepLowIncomePersonalInfoComponentProps {\n verificationService: VerificationService<LowIncomePersonalInfoViewModel>;\n}\nexport const StepLowIncomePersonalInfoComponent = ({\n verificationService,\n}: StepLowIncomePersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const { viewModel } = verificationService;\n const options = getOptions();\n\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return null;\n }\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LowIncomePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\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(programConfiguration, countryChoiceValue);\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LowIncomeStatus[],\n );\n\n const locale = viewModel.localeChoice.value;\n\n const selectedStatus = viewModel.statuses[0] ? viewModel.statuses[0] : undefined;\n const isSelectedStatusSnapBenefits = selectedStatus === \"SNAP_BENEFITS\";\n const updateLowIncomeViewModel = (key: keyof LowIncomePersonalInfoViewModel, value: any) => {\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return;\n }\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n // SNAP recipients get the EBT card number field instead of an organization\n // picker, so organization cannot be validated for them. Preserve entries\n // other fields own, and drop ours again once the picker comes back.\n // A partial update cannot do this: it deep merges, which concatenates\n // arrays rather than replacing them, so entries could never be removed.\n const remaining = (viewModel.fieldsToSkipValidation || []).filter(\n (id) => id !== \"organization\",\n );\n updateLowIncomeViewModel(\n \"fieldsToSkipValidation\",\n isSelectedStatusSnapBenefits ? [...remaining, \"organization\"] : remaining,\n );\n }, [isSelectedStatusSnapBenefits]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"low-income\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <StatusComponent\n segmentId=\"low-income\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n options={statusOptions}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice<LowIncomeStatus>) => {\n const updatedStatuses = status ? [status.value as LowIncomeStatus] : [];\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n if (viewModel.statuses[0] !== updatedStatuses[0]) {\n draft.organization = blankOrganization.organization; // Clear out the org b/c they're of different kind\n }\n draft.statuses = updatedStatuses;\n },\n );\n verificationService.updateViewModel(nextState);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? status.value : \"\",\n verificationService,\n );\n }}\n />\n {selectedStatus === \"SNAP_BENEFITS\" && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n {(selectedStatus === \"OTHER_GOVERNMENT_ASSISTANCE\" ||\n selectedStatus === \"COMMUNITY_ELIGIBILITY_PROVISION\") && (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(verificationService.viewModel.organization)}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n )}\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <AddressComponent\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n value={viewModel.address1}\n isRequired\n explanation={\n <FormattedHTMLMessage id=\"addressExplanation\" defaultMessage=\"Use your home address\" />\n }\n />\n <div className=\"sid-address-extra-fields sid-thirds\">\n <CityComponent\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n value={viewModel.city}\n isRequired\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n />\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateLowIncomeViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n </div>\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"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 <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLowIncomePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;A,4CA2DaiD,KAAsC,EACjD,6BAC6C;CAC7C,IAAMC,IAAuBC,EAAwB,GAC/C,EAAE,iBAAcC,GAChBC,IAAU3C,EAAW;CAE3B,IAAI,CAACO,EAAcqC,CAAS,GAE1B,OADAxC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B,EAAqB,2BAA2BA,EAAqB,iBACpE,iBAAA,GAAAF,EAAA,IAAA,CAAC1C,GAAD;IACE,YAAY,CAAC,CAAC4C,EAAqB;IACnC,OAAOI,EAAU;IACjB,WAAW,CAAC,CAACiB,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADAP,EAAyB,eAAeU,CAAQ,GAChDrD,EAAqC,eAAeqD,GAAUtB,CAAmB;IACnF;IACA,qBAAqBE,EAAU,iBAAiBA,EAAU,cAAc;IACxE,UAAU7B,EAAwB,aAAa,CAAC,EAAE;GACnD,CAAA,IACC;IACF4B,EAAQ,oBAAoB,CAAC,EAAA,CAAG,KAAK,MACrC,iBAAA,GAAAL,EAAA,IAAA,CAACpB,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAAoB,EAAA,IAAA,CAACzC,GAAD;IACuB;IACrB,WAAW,CAAC,CAACgE,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAP,EAAyB,YAAY;MACnC,GAAGZ,EAAoB,UAAU;MACjC,oBAAoBsB;KACtB,CAAC,GACDrD,EAAqC,sBAAsBqD,GAAUtB,CAAmB;IAC1F;IACW;IACX,UAAU3B,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GACD,iBAAA,GAAAuB,EAAA,IAAA,CAACjB,GAAD;IACuB;IACrB,WAAW,CAAC,CAACwC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAAvB,EAAA,IAAA,CAACf,GAAD;IACE,MAAMlB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAAiC,EAAA,IAAA,CAACrC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepLowIncomePersonalInfo-BDgG3QSv.js","names":["produce","LowIncomeOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","__toESM","fn","getOptions","FormattedHTMLMessage","require_react","require_jsx_runtime","logger","VerificationStepsEnum","blankOrganization","isLowIncomeVM","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","orgToOption","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","CityComponent","AddressComponent","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StateSelectComponent","EBTCardNumberComponent","LowIncomeOrganizationComponent","StatusComponent","import_react","import_jsx_runtime","StepLowIncomePersonalInfoComponent","programConfiguration","useProgramConfiguration","verificationService","options","viewModel","verificationResponse","failedInstantMatch","dynamicStatuses","countryChoiceValue","needToPickCountry","statusOptions","locale","selectedStatus","isSelectedStatusSnapBenefits","updateLowIncomeViewModel","nextState","key","value","remaining","id","option","fieldValidationErrors","updatedStatuses","status","newValue","choice","stateValue","stateChoice","event"],"sources":["../../src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type FormSelectChoice,\n type LowIncomePersonalInfoResponse,\n type LowIncomePersonalInfoViewModel,\n type LowIncomeStatus,\n type Organization,\n type State,\n type VerificationService,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n orgToOption,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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 } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { blankOrganization } from \"../../lib/types/empties\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { isLowIncomeVM } from \"./lowIncomeTypes\";\n\ninterface StepLowIncomePersonalInfoComponentProps {\n verificationService: VerificationService<LowIncomePersonalInfoViewModel>;\n}\nexport const StepLowIncomePersonalInfoComponent = ({\n verificationService,\n}: StepLowIncomePersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const { viewModel } = verificationService;\n const options = getOptions();\n\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return null;\n }\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LowIncomePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\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(programConfiguration, countryChoiceValue);\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LowIncomeStatus[],\n );\n\n const locale = viewModel.localeChoice.value;\n\n const selectedStatus = viewModel.statuses[0] ? viewModel.statuses[0] : undefined;\n const isSelectedStatusSnapBenefits = selectedStatus === \"SNAP_BENEFITS\";\n const updateLowIncomeViewModel = (key: keyof LowIncomePersonalInfoViewModel, value: any) => {\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return;\n }\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n // SNAP recipients get the EBT card number field instead of an organization\n // picker, so organization cannot be validated for them. Preserve entries\n // other fields own, and drop ours again once the picker comes back.\n // A partial update cannot do this: it deep merges, which concatenates\n // arrays rather than replacing them, so entries could never be removed.\n const remaining = (viewModel.fieldsToSkipValidation || []).filter(\n (id) => id !== \"organization\",\n );\n updateLowIncomeViewModel(\n \"fieldsToSkipValidation\",\n isSelectedStatusSnapBenefits ? [...remaining, \"organization\"] : remaining,\n );\n }, [isSelectedStatusSnapBenefits]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"low-income\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <StatusComponent\n segmentId=\"low-income\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n options={statusOptions}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice<LowIncomeStatus>) => {\n const updatedStatuses = status ? [status.value as LowIncomeStatus] : [];\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n if (viewModel.statuses[0] !== updatedStatuses[0]) {\n draft.organization = blankOrganization.organization; // Clear out the org b/c they're of different kind\n }\n draft.statuses = updatedStatuses;\n },\n );\n verificationService.updateViewModel(nextState);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? status.value : \"\",\n verificationService,\n );\n }}\n />\n {selectedStatus === \"SNAP_BENEFITS\" && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n {(selectedStatus === \"OTHER_GOVERNMENT_ASSISTANCE\" ||\n selectedStatus === \"COMMUNITY_ELIGIBILITY_PROVISION\") && (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(verificationService.viewModel.organization)}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n )}\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <AddressComponent\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n value={viewModel.address1}\n isRequired\n explanation={\n <FormattedHTMLMessage id=\"addressExplanation\" defaultMessage=\"Use your home address\" />\n }\n />\n <div className=\"sid-address-extra-fields sid-thirds\">\n <CityComponent\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n value={viewModel.city}\n isRequired\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n />\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateLowIncomeViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n </div>\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"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 <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLowIncomePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;A,4CA2DaiD,KAAsC,EACjD,6BAC6C;CAC7C,IAAMC,IAAuBC,EAAwB,GAC/C,EAAE,iBAAcC,GAChBC,IAAU3C,EAAW;CAE3B,IAAI,CAACO,EAAcqC,CAAS,GAE1B,OADAxC,EAAO,MAAM,yCAAyC,GAC/C;CAGT,IAAM,EAAE,6BAA0BsC,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBtC,EAAsBqC,CAAoB,GAE/D,EAAE,mBAAmBE,MAAoBrC,EAAyB;EACtE,gBAAgBmC,EAAqB;EACrC,aAAaA,EAAqB;EAClC;CACF,CAAC,GAEKG,IAAqBJ,EAAU,eAAe,OAC9CK,IAAoBjB,EAAyBQ,GAAsBQ,CAAkB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EAAU,cAAc;IACxE,UAAU7B,EAAwB,aAAa,CAAC,EAAE;GACnD,CAAA,IACC;IACF4B,EAAQ,oBAAoB,CAAC,EAAA,CAAG,KAAK,MACrC,iBAAA,GAAAL,EAAA,IAAA,CAACpB,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAAoB,EAAA,IAAA,CAACzC,GAAD;IACuB;IACrB,WAAW,CAAC,CAACgE,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAP,EAAyB,YAAY;MACnC,GAAGZ,EAAoB,UAAU;MACjC,oBAAoBsB;KACtB,CAAC,GACDrD,EAAqC,sBAAsBqD,GAAUtB,CAAmB;IAC1F;IACW;IACX,UAAU3B,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GACD,iBAAA,GAAAuB,EAAA,IAAA,CAACjB,GAAD;IACuB;IACrB,WAAW,CAAC,CAACwC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAAvB,EAAA,IAAA,CAACf,GAAD;IACE,MAAMlB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAAiC,EAAA,IAAA,CAACrC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -4,34 +4,34 @@
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.313.0
8
- * BUILD_TIMESTAMP: 1793730429946
9
- * BUILD_DATE: Tue Nov 03 2026 18:27:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
7
+ * VERSION: 2.315.0
8
+ * BUILD_TIMESTAMP: 1793755578665
9
+ * BUILD_DATE: Wed Nov 04 2026 01:26:18 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
11
11
  */
12
12
  import { At as e, p as t, s as n } from "./intl-BK4prEGw.js";
13
13
  import { S as r, b as i } from "./runtimeTypes-B2AGNJMT.js";
14
14
  import { n as a, s as o, t as s } from "./jsx-runtime-BUMIo32n.js";
15
- import { o as c } from "./programThemeGetters-Dcff4Bu0.js";
15
+ import { o as c } from "./programThemeGetters-BEzpDnQy.js";
16
16
  import { a as l } from "./empties-DcQjcgEV.js";
17
- import { C as u, m as d } from "./FormFooterComponent-AuOOdrTD.js";
17
+ import { C as u, m as d } from "./FormFooterComponent-B7fUP0wx.js";
18
18
  import { t as f } from "../_mysheerid-preview.js";
19
- import { t as p } from "./useCollectFieldsEndpoint-CslbAox0.js";
19
+ import { t as p } from "./useCollectFieldsEndpoint-BbzTOhC3.js";
20
20
  import { d as m, f as h, i as g, r as _, t as v } from "./stepComponentHelpers-Dztw-HNP.js";
21
- import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-DpiYztJ5.js";
22
- import { n as T, t as E } from "./PersonalInfoStepSubmitButton-CR8ta98F.js";
23
- import { i as D } from "./FormSelectChoice-6hD-rK1b.js";
24
- import { t as O } from "./BirthDateComponent-D5pVkYha.js";
25
- import { t as k } from "./PostalCodeComponent-D-7iqpnt.js";
26
- import { t as A } from "./CountryComponentWrapper-Ck2iP9bh.js";
27
- import { t as j } from "./City-CFAsI7Sk.js";
28
- import { t as M } from "./AddressComponent-xHLmwR7C.js";
29
- import { t as N } from "./ChangeLocaleComponent-BMuiuSyJ.js";
30
- import { t as P } from "./PersonalInfoStepWrapper-DbqQudr4.js";
31
- import { t as F } from "./countryUtils-DVCfJNrG.js";
32
- import { t as I } from "./StateSelectComponent-DpYIJuax.js";
33
- import { n as L, t as R } from "./LowIncomeOrganizationComponent-DfcG7yCt.js";
34
- import { t as z } from "./StatusComponent-BBX4mkER.js";
21
+ import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-BD4yKfJR.js";
22
+ import { n as T, t as E } from "./PersonalInfoStepSubmitButton-Ds_-FUfA.js";
23
+ import { i as D } from "./FormSelectChoice-DN3XV8go.js";
24
+ import { t as O } from "./BirthDateComponent-DEm62ubJ.js";
25
+ import { t as k } from "./PostalCodeComponent-IMgjUHRf.js";
26
+ import { t as A } from "./CountryComponentWrapper-A-NCx760.js";
27
+ import { t as j } from "./City-IKHXV6fA.js";
28
+ import { t as M } from "./AddressComponent-BUOibRxr.js";
29
+ import { t as N } from "./ChangeLocaleComponent-Drpt_vzW.js";
30
+ import { t as P } from "./PersonalInfoStepWrapper-CJzVOQ_x.js";
31
+ import { t as F } from "./countryUtils-R4Q_aquD.js";
32
+ import { t as I } from "./StateSelectComponent-aAvCOLUg.js";
33
+ import { n as L, t as R } from "./LowIncomeOrganizationComponent-bijYf_Ae.js";
34
+ import { t as z } from "./StatusComponent-CmqMjhRY.js";
35
35
  //#region src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx
36
36
  var B = /* @__PURE__ */ e(o(), 1), V = s(), H = ({ verificationService: e }) => {
37
37
  let o = c(), { viewModel: s } = e, H = n();