@sheerid/jslib 2.278.0 → 2.280.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 (424) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +808 -809
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-LZTJCC-l.js → AddressComponent-Dt6V7nTl.js} +8 -8
  5. package/chunk/{AddressComponent-CaMRwh5O.js.map → AddressComponent-Dt6V7nTl.js.map} +1 -1
  6. package/chunk/{AddressComponent-CaMRwh5O.js → AddressComponent-jYt6u6Og.js} +8 -8
  7. package/chunk/{AddressComponent-LZTJCC-l.js.map → AddressComponent-jYt6u6Og.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-YPjBYzsZ.js → AnnouncingHeader-DXfeQFzD.js} +6 -6
  9. package/chunk/{AnnouncingHeader-CCVSQeQR.js.map → AnnouncingHeader-DXfeQFzD.js.map} +1 -1
  10. package/chunk/{AnnouncingHeader-CCVSQeQR.js → AnnouncingHeader-DgKb4Oci.js} +6 -6
  11. package/chunk/{AnnouncingHeader-YPjBYzsZ.js.map → AnnouncingHeader-DgKb4Oci.js.map} +1 -1
  12. package/chunk/{ApiUrls-_Hc7S_uv.js → ApiUrls-DU5mINxc.js} +13 -13
  13. package/chunk/{ApiUrls-_Hc7S_uv.js.map → ApiUrls-DU5mINxc.js.map} +1 -1
  14. package/chunk/{ApiUrls-DRCiQtw6.js → ApiUrls-iC5Epdhr.js} +13 -13
  15. package/chunk/{ApiUrls-DRCiQtw6.js.map → ApiUrls-iC5Epdhr.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-CAQJ-IWM.js → BirthDateComponent-C31Jxnf9.js} +8 -8
  17. package/chunk/{BirthDateComponent-CAQJ-IWM.js.map → BirthDateComponent-C31Jxnf9.js.map} +1 -1
  18. package/chunk/{BirthDateComponent-_BjsBSM4.js → BirthDateComponent-J3GXZush.js} +8 -8
  19. package/chunk/{BirthDateComponent-_BjsBSM4.js.map → BirthDateComponent-J3GXZush.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-D2OIvL-b.js → CaptchaComponent-BrH791mU.js} +143 -143
  21. package/chunk/{CaptchaComponent-BqREyMje.js.map → CaptchaComponent-BrH791mU.js.map} +1 -1
  22. package/chunk/{CaptchaComponent-BqREyMje.js → CaptchaComponent-D3gR_wiv.js} +131 -131
  23. package/chunk/{CaptchaComponent-D2OIvL-b.js.map → CaptchaComponent-D3gR_wiv.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-BvnXlDa-.js → ChangeLocaleComponent-4lrBj9C8.js} +63 -62
  25. package/chunk/{ChangeLocaleComponent-BvnXlDa-.js.map → ChangeLocaleComponent-4lrBj9C8.js.map} +1 -1
  26. package/chunk/{ChangeLocaleComponent-CpHB_D8Q.js → ChangeLocaleComponent-mFvHcArW.js} +63 -62
  27. package/chunk/{ChangeLocaleComponent-CpHB_D8Q.js.map → ChangeLocaleComponent-mFvHcArW.js.map} +1 -1
  28. package/chunk/{City-B6bQRRvQ.js → City-4Y-JSMns.js} +8 -8
  29. package/chunk/{City-B6bQRRvQ.js.map → City-4Y-JSMns.js.map} +1 -1
  30. package/chunk/{City-CCBan228.js → City-C9ODgW6J.js} +8 -8
  31. package/chunk/{City-CCBan228.js.map → City-C9ODgW6J.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-BbxIOfzR.js → CollegeNameComponent-Bx67cbxR.js} +9 -9
  33. package/chunk/{CollegeNameComponent-BbxIOfzR.js.map → CollegeNameComponent-Bx67cbxR.js.map} +1 -1
  34. package/chunk/{CollegeNameComponent-CEJO0-bq.js → CollegeNameComponent-DERbwtnk.js} +9 -9
  35. package/chunk/{CollegeNameComponent-CEJO0-bq.js.map → CollegeNameComponent-DERbwtnk.js.map} +1 -1
  36. package/chunk/{CopyToClipboardComponent-DGi3bxV2.js → CopyToClipboardComponent-B1sjjnah.js} +9 -9
  37. package/chunk/{CopyToClipboardComponent-DGi3bxV2.js.map → CopyToClipboardComponent-B1sjjnah.js.map} +1 -1
  38. package/chunk/{CopyToClipboardComponent-cLuyXFes.js → CopyToClipboardComponent-kC3bs3Rs.js} +9 -9
  39. package/chunk/{CopyToClipboardComponent-cLuyXFes.js.map → CopyToClipboardComponent-kC3bs3Rs.js.map} +1 -1
  40. package/chunk/{CountryComponentWrapper-CW4yj9IF.js → CountryComponentWrapper-CR9HrOiD.js} +16 -16
  41. package/chunk/{CountryComponentWrapper-BNtvUusJ.js.map → CountryComponentWrapper-CR9HrOiD.js.map} +1 -1
  42. package/chunk/{CountryComponentWrapper-BNtvUusJ.js → CountryComponentWrapper-Dp_Lw4Jz.js} +16 -16
  43. package/chunk/{CountryComponentWrapper-CW4yj9IF.js.map → CountryComponentWrapper-Dp_Lw4Jz.js.map} +1 -1
  44. package/chunk/{DischargeDateComponent-CNaz5UZP.js → DischargeDateComponent-CVzCNByg.js} +20 -21
  45. package/chunk/{DischargeDateComponent-CNaz5UZP.js.map → DischargeDateComponent-CVzCNByg.js.map} +1 -1
  46. package/chunk/{DischargeDateComponent-tTwN3FLy.js → DischargeDateComponent-CwuBWpWv.js} +17 -18
  47. package/chunk/{DischargeDateComponent-tTwN3FLy.js.map → DischargeDateComponent-CwuBWpWv.js.map} +1 -1
  48. package/chunk/{DriverLicenseNumberComponent-vsVldXkA.js → DriverLicenseNumberComponent-Bc6KjLgw.js} +8 -8
  49. package/chunk/{DriverLicenseNumberComponent-B5_svahy.js.map → DriverLicenseNumberComponent-Bc6KjLgw.js.map} +1 -1
  50. package/chunk/{DriverLicenseNumberComponent-B5_svahy.js → DriverLicenseNumberComponent-Dc0IOI_1.js} +8 -8
  51. package/chunk/{DriverLicenseNumberComponent-vsVldXkA.js.map → DriverLicenseNumberComponent-Dc0IOI_1.js.map} +1 -1
  52. package/chunk/{EmailLoopPending-DNFHR6Ck.js → EmailLoopPending-CgRp0qIE.js} +44 -53
  53. package/chunk/EmailLoopPending-CgRp0qIE.js.map +1 -0
  54. package/chunk/{EmailLoopPending-CYCQv7pW.js → EmailLoopPending-k272doKR.js} +45 -54
  55. package/chunk/EmailLoopPending-k272doKR.js.map +1 -0
  56. package/chunk/{ExtraMessage-Byw0Tgm1.js → ExtraMessage-BqOf0zRz.js} +7 -7
  57. package/chunk/{ExtraMessage-Byw0Tgm1.js.map → ExtraMessage-BqOf0zRz.js.map} +1 -1
  58. package/chunk/{ExtraMessage-g4LSV-H2.js → ExtraMessage-DNaGfjEE.js} +7 -7
  59. package/chunk/{ExtraMessage-g4LSV-H2.js.map → ExtraMessage-DNaGfjEE.js.map} +1 -1
  60. package/chunk/{FirstResponderOrganizationComponent-DVF6aC7P.js → FirstResponderOrganizationComponent-C4O8PWXy.js} +9 -9
  61. package/chunk/{FirstResponderOrganizationComponent-BtIXngo4.js.map → FirstResponderOrganizationComponent-C4O8PWXy.js.map} +1 -1
  62. package/chunk/{FirstResponderOrganizationComponent-BtIXngo4.js → FirstResponderOrganizationComponent-CmNIF2iC.js} +9 -9
  63. package/chunk/{FirstResponderOrganizationComponent-DVF6aC7P.js.map → FirstResponderOrganizationComponent-CmNIF2iC.js.map} +1 -1
  64. package/chunk/{FormFieldInputSelect-D1aFx17c.js → FormFieldInputSelect-BaYOGEm0.js} +7 -7
  65. package/chunk/{FormFieldInputSelect-D1aFx17c.js.map → FormFieldInputSelect-BaYOGEm0.js.map} +1 -1
  66. package/chunk/{FormFieldInputSelect-ie6Vx1Bx.js → FormFieldInputSelect-DDcenZW0.js} +7 -7
  67. package/chunk/{FormFieldInputSelect-ie6Vx1Bx.js.map → FormFieldInputSelect-DDcenZW0.js.map} +1 -1
  68. package/chunk/{FormFieldLayout-C4SCdGBC.js → FormFieldLayout-B0rAKucV.js} +6 -6
  69. package/chunk/{FormFieldLayout-C4SCdGBC.js.map → FormFieldLayout-B0rAKucV.js.map} +1 -1
  70. package/chunk/{FormFieldLayout-Cj_v9kYa.js → FormFieldLayout-CRoiILDA.js} +6 -6
  71. package/chunk/{FormFieldLayout-Cj_v9kYa.js.map → FormFieldLayout-CRoiILDA.js.map} +1 -1
  72. package/chunk/{FormFieldText-BbdrtNh_.js → FormFieldText-4HZU3C1Z.js} +7 -7
  73. package/chunk/{FormFieldText-BbdrtNh_.js.map → FormFieldText-4HZU3C1Z.js.map} +1 -1
  74. package/chunk/{FormFieldText-Gf13Luq7.js → FormFieldText-hOha2vTr.js} +7 -7
  75. package/chunk/{FormFieldText-Gf13Luq7.js.map → FormFieldText-hOha2vTr.js.map} +1 -1
  76. package/chunk/{FormFieldTypeahead-DQEez7ko.js → FormFieldTypeahead-BCZ6Nsns.js} +141 -142
  77. package/chunk/{FormFieldTypeahead-uKX8ZHqO.js.map → FormFieldTypeahead-BCZ6Nsns.js.map} +1 -1
  78. package/chunk/{FormFieldTypeahead-uKX8ZHqO.js → FormFieldTypeahead-Cv1WXfhF.js} +132 -133
  79. package/chunk/{FormFieldTypeahead-DQEez7ko.js.map → FormFieldTypeahead-Cv1WXfhF.js.map} +1 -1
  80. package/chunk/{FormFooterComponent-BHQc5VBK.js → FormFooterComponent-D9mEMiRZ.js} +515 -520
  81. package/chunk/FormFooterComponent-D9mEMiRZ.js.map +1 -0
  82. package/chunk/{FormFooterComponent-CAoH3NjO.js → FormFooterComponent-oaSe-Xzj.js} +468 -473
  83. package/chunk/FormFooterComponent-oaSe-Xzj.js.map +1 -0
  84. package/chunk/{FormSelectChoice-DjcUTWnw.js → FormSelectChoice-C8zbGNXM.js} +16 -16
  85. package/chunk/{FormSelectChoice-Cm99LmoK.js.map → FormSelectChoice-C8zbGNXM.js.map} +1 -1
  86. package/chunk/{FormSelectChoice-Cm99LmoK.js → FormSelectChoice-DhgV7HJV.js} +16 -16
  87. package/chunk/{FormSelectChoice-DjcUTWnw.js.map → FormSelectChoice-DhgV7HJV.js.map} +1 -1
  88. package/chunk/{InputText-BXPuBlPq.js → InputText-BZv5j2AC.js} +7 -7
  89. package/chunk/{InputText-BXPuBlPq.js.map → InputText-BZv5j2AC.js.map} +1 -1
  90. package/chunk/{InputText-h_myNeHr.js → InputText-CeC4vzEI.js} +7 -7
  91. package/chunk/{InputText-h_myNeHr.js.map → InputText-CeC4vzEI.js.map} +1 -1
  92. package/chunk/{LicensedProfessionalOrganizationComponent-BHrQmG_W.js → LicensedProfessionalOrganizationComponent-BXcQ9OAk.js} +9 -9
  93. package/chunk/{LicensedProfessionalOrganizationComponent-BHrQmG_W.js.map → LicensedProfessionalOrganizationComponent-BXcQ9OAk.js.map} +1 -1
  94. package/chunk/{LicensedProfessionalOrganizationComponent-DMdDUhnU.js → LicensedProfessionalOrganizationComponent-BY-_49Un.js} +9 -9
  95. package/chunk/{LicensedProfessionalOrganizationComponent-DMdDUhnU.js.map → LicensedProfessionalOrganizationComponent-BY-_49Un.js.map} +1 -1
  96. package/chunk/{LogoComponent-Do8K5ydz.js → LogoComponent-DIcMbBgg.js} +6 -6
  97. package/chunk/{LogoComponent-Do8K5ydz.js.map → LogoComponent-DIcMbBgg.js.map} +1 -1
  98. package/chunk/{LogoComponent-Dx1G-rzE.js → LogoComponent-U1dLeCEh.js} +6 -6
  99. package/chunk/{LogoComponent-Dx1G-rzE.js.map → LogoComponent-U1dLeCEh.js.map} +1 -1
  100. package/chunk/{LowIncomeOrganizationComponent-DLxB_wnC.js → LowIncomeOrganizationComponent-BRvt-ulP.js} +21 -22
  101. package/chunk/{LowIncomeOrganizationComponent-DLxB_wnC.js.map → LowIncomeOrganizationComponent-BRvt-ulP.js.map} +1 -1
  102. package/chunk/{LowIncomeOrganizationComponent-CZnbIM2h.js → LowIncomeOrganizationComponent-DGK9gkyA.js} +21 -22
  103. package/chunk/{LowIncomeOrganizationComponent-CZnbIM2h.js.map → LowIncomeOrganizationComponent-DGK9gkyA.js.map} +1 -1
  104. package/chunk/{MedicalProfessionalOrganizationComponent-t-k48G10.js → MedicalProfessionalOrganizationComponent-CTJ3FmrY.js} +9 -9
  105. package/chunk/{MedicalProfessionalOrganizationComponent-t-k48G10.js.map → MedicalProfessionalOrganizationComponent-CTJ3FmrY.js.map} +1 -1
  106. package/chunk/{MedicalProfessionalOrganizationComponent-CozwSmoI.js → MedicalProfessionalOrganizationComponent-DH5zW7H6.js} +9 -9
  107. package/chunk/{MedicalProfessionalOrganizationComponent-CozwSmoI.js.map → MedicalProfessionalOrganizationComponent-DH5zW7H6.js.map} +1 -1
  108. package/chunk/{MemberIdComponent-CYqH9MG5.js → MemberIdComponent-BAFAN1PO.js} +8 -8
  109. package/chunk/{MemberIdComponent-BzUuPdSk.js.map → MemberIdComponent-BAFAN1PO.js.map} +1 -1
  110. package/chunk/{MemberIdComponent-BzUuPdSk.js → MemberIdComponent-DFE0KKa8.js} +8 -8
  111. package/chunk/{MemberIdComponent-CYqH9MG5.js.map → MemberIdComponent-DFE0KKa8.js.map} +1 -1
  112. package/chunk/{MembershipOrganizationComponent-Bbu2i3Dm.js → MembershipOrganizationComponent-Bqfrzd_X.js} +9 -9
  113. package/chunk/{MembershipOrganizationComponent-BPQ27RX9.js.map → MembershipOrganizationComponent-Bqfrzd_X.js.map} +1 -1
  114. package/chunk/{MembershipOrganizationComponent-BPQ27RX9.js → MembershipOrganizationComponent-CmgEVqRQ.js} +9 -9
  115. package/chunk/{MembershipOrganizationComponent-Bbu2i3Dm.js.map → MembershipOrganizationComponent-CmgEVqRQ.js.map} +1 -1
  116. package/chunk/{Message-BK3a2RyH.js → Message-8LvAVwXZ.js} +3831 -2389
  117. package/chunk/Message-8LvAVwXZ.js.map +1 -0
  118. package/chunk/{Message-CSa2etjX.js → Message-C8ZwB4H_.js} +3934 -2476
  119. package/chunk/Message-C8ZwB4H_.js.map +1 -0
  120. package/chunk/Onfido-CTCgAwnB.js +4 -4
  121. package/chunk/{PersonalInfoStepSubmitButton-VxT_vwVv.js → PersonalInfoStepSubmitButton-CaE4yvTG.js} +18 -18
  122. package/chunk/PersonalInfoStepSubmitButton-CaE4yvTG.js.map +1 -0
  123. package/chunk/{PersonalInfoStepSubmitButton-BcdQUzMO.js → PersonalInfoStepSubmitButton-huS5DiV5.js} +18 -18
  124. package/chunk/PersonalInfoStepSubmitButton-huS5DiV5.js.map +1 -0
  125. package/chunk/{PersonalInfoStepWrapper-CxRB64LQ.js → PersonalInfoStepWrapper-CoL68lv9.js} +20 -20
  126. package/chunk/{PersonalInfoStepWrapper-CxRB64LQ.js.map → PersonalInfoStepWrapper-CoL68lv9.js.map} +1 -1
  127. package/chunk/{PersonalInfoStepWrapper-BHS3GKl7.js → PersonalInfoStepWrapper-D6RA9ErC.js} +7 -7
  128. package/chunk/{PersonalInfoStepWrapper-BHS3GKl7.js.map → PersonalInfoStepWrapper-D6RA9ErC.js.map} +1 -1
  129. package/chunk/{PostalCodeComponent-jmSOU3LM.js → PostalCodeComponent-BJJkLSwH.js} +8 -8
  130. package/chunk/{PostalCodeComponent-CKbC80_m.js.map → PostalCodeComponent-BJJkLSwH.js.map} +1 -1
  131. package/chunk/{PostalCodeComponent-CKbC80_m.js → PostalCodeComponent-gktdA05J.js} +8 -8
  132. package/chunk/{PostalCodeComponent-jmSOU3LM.js.map → PostalCodeComponent-gktdA05J.js.map} +1 -1
  133. package/chunk/{SSN-DNVykxAU.js → SSN-D32o5tdz.js} +9 -9
  134. package/chunk/{SSN-DHAzpgQK.js.map → SSN-D32o5tdz.js.map} +1 -1
  135. package/chunk/{SSN-DHAzpgQK.js → SSN-RI7wGUeN.js} +9 -9
  136. package/chunk/{SSN-DNVykxAU.js.map → SSN-RI7wGUeN.js.map} +1 -1
  137. package/chunk/{StateSelectComponent-B7Cp6ANo.js → StateSelectComponent-CUkPmdgD.js} +7 -7
  138. package/chunk/{StateSelectComponent-B5lHw2N5.js.map → StateSelectComponent-CUkPmdgD.js.map} +1 -1
  139. package/chunk/{StateSelectComponent-B5lHw2N5.js → StateSelectComponent-IqnD_yvb.js} +7 -7
  140. package/chunk/{StateSelectComponent-B7Cp6ANo.js.map → StateSelectComponent-IqnD_yvb.js.map} +1 -1
  141. package/chunk/{StatusComponent-CrGh5fqB.js → StatusComponent-B9rfe8oP.js} +8 -8
  142. package/chunk/{StatusComponent-CrGh5fqB.js.map → StatusComponent-B9rfe8oP.js.map} +1 -1
  143. package/chunk/{StatusComponent-CyX5COrt.js → StatusComponent-Domycxys.js} +8 -8
  144. package/chunk/{StatusComponent-CyX5COrt.js.map → StatusComponent-Domycxys.js.map} +1 -1
  145. package/chunk/StepAgePersonalInfo-CkvJUnK6.js +174 -0
  146. package/chunk/{StepAgePersonalInfo-BswIeVCd.js.map → StepAgePersonalInfo-CkvJUnK6.js.map} +1 -1
  147. package/chunk/StepAgePersonalInfo-DYee4Bdk.js +170 -0
  148. package/chunk/{StepAgePersonalInfo-CHBH5ROm.js.map → StepAgePersonalInfo-DYee4Bdk.js.map} +1 -1
  149. package/chunk/{StepCard-CWT2BiAH.js → StepCard-BgkQO1Vv.js} +5 -5
  150. package/chunk/{StepCard-B0o7IN6g.js.map → StepCard-BgkQO1Vv.js.map} +1 -1
  151. package/chunk/{StepCard-B0o7IN6g.js → StepCard-CdjikmfN.js} +5 -5
  152. package/chunk/{StepCard-CWT2BiAH.js.map → StepCard-CdjikmfN.js.map} +1 -1
  153. package/chunk/{StepCollectIdentifier-D8IjgFjI.js → StepCollectIdentifier-CZPgIiri.js} +9 -9
  154. package/chunk/{StepCollectIdentifier-D8IjgFjI.js.map → StepCollectIdentifier-CZPgIiri.js.map} +1 -1
  155. package/chunk/{StepCollectIdentifier-dPXJHRwi.js → StepCollectIdentifier-z7v0uFVo.js} +9 -9
  156. package/chunk/{StepCollectIdentifier-dPXJHRwi.js.map → StepCollectIdentifier-z7v0uFVo.js.map} +1 -1
  157. package/chunk/{StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js → StepCollectMilitaryPersonalInfoComponent-aLezCfcI.js} +62 -62
  158. package/chunk/{StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js.map → StepCollectMilitaryPersonalInfoComponent-aLezCfcI.js.map} +1 -1
  159. package/chunk/{StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js → StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js} +62 -62
  160. package/chunk/{StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js.map → StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js.map} +1 -1
  161. package/chunk/StepCollectPersonalInfo-BH2TbclC.js +372 -0
  162. package/chunk/{StepCollectPersonalInfo-BvBAA_0_.js.map → StepCollectPersonalInfo-BH2TbclC.js.map} +1 -1
  163. package/chunk/StepCollectPersonalInfo-mmn3gr1x.js +368 -0
  164. package/chunk/{StepCollectPersonalInfo-BLClPcAC.js.map → StepCollectPersonalInfo-mmn3gr1x.js.map} +1 -1
  165. package/chunk/{StepCompleteAuthentication-D7NH3MFa.js → StepCompleteAuthentication-aZqH2zX2.js} +21 -21
  166. package/chunk/{StepCompleteAuthentication-D7NH3MFa.js.map → StepCompleteAuthentication-aZqH2zX2.js.map} +1 -1
  167. package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js → StepCompleteAuthentication-wMkyc86t.js} +21 -21
  168. package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js.map → StepCompleteAuthentication-wMkyc86t.js.map} +1 -1
  169. package/chunk/{StepConsolation-CKbOj-OW.js → StepConsolation-DRnpaPIB.js} +9 -9
  170. package/chunk/{StepConsolation-CKbOj-OW.js.map → StepConsolation-DRnpaPIB.js.map} +1 -1
  171. package/chunk/{StepConsolation-qvCq7iMz.js → StepConsolation-Dv1D8Kkg.js} +9 -9
  172. package/chunk/{StepConsolation-qvCq7iMz.js.map → StepConsolation-Dv1D8Kkg.js.map} +1 -1
  173. package/chunk/{StepDocUpload-hbZjFKLA.js → StepDocUpload-CyqOFprF.js} +742 -745
  174. package/chunk/{StepDocUpload-CelPrD2S.js.map → StepDocUpload-CyqOFprF.js.map} +1 -1
  175. package/chunk/{StepDocUpload-CelPrD2S.js → StepDocUpload-DALptUyS.js} +628 -631
  176. package/chunk/{StepDocUpload-hbZjFKLA.js.map → StepDocUpload-DALptUyS.js.map} +1 -1
  177. package/chunk/{StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js → StepDriverLicensePersonalInfoComponent-BxHNa8Y6.js} +32 -32
  178. package/chunk/{StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js.map → StepDriverLicensePersonalInfoComponent-BxHNa8Y6.js.map} +1 -1
  179. package/chunk/{StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js → StepDriverLicensePersonalInfoComponent-vwgnq6DB.js} +32 -32
  180. package/chunk/{StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js.map → StepDriverLicensePersonalInfoComponent-vwgnq6DB.js.map} +1 -1
  181. package/chunk/{StepEmailLoop-DnFBaEUV.js → StepEmailLoop-BEIC15oF.js} +59 -59
  182. package/chunk/{StepEmailLoop-B_D0MzXV.js.map → StepEmailLoop-BEIC15oF.js.map} +1 -1
  183. package/chunk/{StepEmailLoop-B_D0MzXV.js → StepEmailLoop-CDFx1DYG.js} +59 -59
  184. package/chunk/{StepEmailLoop-DnFBaEUV.js.map → StepEmailLoop-CDFx1DYG.js.map} +1 -1
  185. package/chunk/{StepEmploymentPersonalInfo-CWyReZIX.js → StepEmploymentPersonalInfo-BdPNUH_U.js} +49 -49
  186. package/chunk/{StepEmploymentPersonalInfo-D6wk7BPP.js.map → StepEmploymentPersonalInfo-BdPNUH_U.js.map} +1 -1
  187. package/chunk/{StepEmploymentPersonalInfo-D6wk7BPP.js → StepEmploymentPersonalInfo-WW3m6eci.js} +49 -49
  188. package/chunk/{StepEmploymentPersonalInfo-CWyReZIX.js.map → StepEmploymentPersonalInfo-WW3m6eci.js.map} +1 -1
  189. package/chunk/{StepFirstResponderPersonalInfo-BEYQjJZE.js → StepFirstResponderPersonalInfo-CtkSlAqn.js} +50 -50
  190. package/chunk/{StepFirstResponderPersonalInfo-BEYQjJZE.js.map → StepFirstResponderPersonalInfo-CtkSlAqn.js.map} +1 -1
  191. package/chunk/{StepFirstResponderPersonalInfo-WFafxPno.js → StepFirstResponderPersonalInfo-duACveZS.js} +47 -47
  192. package/chunk/{StepFirstResponderPersonalInfo-WFafxPno.js.map → StepFirstResponderPersonalInfo-duACveZS.js.map} +1 -1
  193. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js → StepGeneralIdentityPersonalInfoComponent-BsZXHtwX.js} +41 -41
  194. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js.map → StepGeneralIdentityPersonalInfoComponent-BsZXHtwX.js.map} +1 -1
  195. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js → StepGeneralIdentityPersonalInfoComponent-D9svwHkN.js} +41 -41
  196. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js.map → StepGeneralIdentityPersonalInfoComponent-D9svwHkN.js.map} +1 -1
  197. package/chunk/{StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js → StepHybridIdentityPersonalInfoComponent-BBXGkQ13.js} +44 -44
  198. package/chunk/{StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js.map → StepHybridIdentityPersonalInfoComponent-BBXGkQ13.js.map} +1 -1
  199. package/chunk/{StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js → StepHybridIdentityPersonalInfoComponent-ClebDHVj.js} +44 -44
  200. package/chunk/{StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js.map → StepHybridIdentityPersonalInfoComponent-ClebDHVj.js.map} +1 -1
  201. package/chunk/StepIDCheckLoop-B1ZBa2cL.js +24 -0
  202. package/chunk/{StepIDCheckLoop-3dEcYNM-.js.map → StepIDCheckLoop-B1ZBa2cL.js.map} +1 -1
  203. package/chunk/{StepIDCheckLoop-ADjD8T7n.js → StepIDCheckLoop-DYhoRoFm.js} +8 -8
  204. package/chunk/{StepIDCheckLoop-ADjD8T7n.js.map → StepIDCheckLoop-DYhoRoFm.js.map} +1 -1
  205. package/chunk/{StepIDCheckLoopOnfido-DFITsdwV.js → StepIDCheckLoopOnfido-XnkRtW2L.js} +129 -130
  206. package/chunk/StepIDCheckLoopOnfido-XnkRtW2L.js.map +1 -0
  207. package/chunk/{StepIDCheckLoopOnfido-u841Fq12.js → StepIDCheckLoopOnfido-aRk8hzdK.js} +129 -130
  208. package/chunk/StepIDCheckLoopOnfido-aRk8hzdK.js.map +1 -0
  209. package/chunk/{StepIDCheckLoopRegula-4XrJNB8_.js → StepIDCheckLoopRegula-BljVwImZ.js} +22 -22
  210. package/chunk/{StepIDCheckLoopRegula-4XrJNB8_.js.map → StepIDCheckLoopRegula-BljVwImZ.js.map} +1 -1
  211. package/chunk/{StepIDCheckLoopRegula-DDU-aqdl.js → StepIDCheckLoopRegula-Cf7ASD1i.js} +22 -22
  212. package/chunk/{StepIDCheckLoopRegula-DDU-aqdl.js.map → StepIDCheckLoopRegula-Cf7ASD1i.js.map} +1 -1
  213. package/chunk/{StepLicensedProfessionalPersonalInfo-CvU4u5nA.js → StepLicensedProfessionalPersonalInfo-D6n29Iss.js} +42 -42
  214. package/chunk/{StepLicensedProfessionalPersonalInfo-BXscxOmH.js.map → StepLicensedProfessionalPersonalInfo-D6n29Iss.js.map} +1 -1
  215. package/chunk/{StepLicensedProfessionalPersonalInfo-BXscxOmH.js → StepLicensedProfessionalPersonalInfo-hXd4L7zJ.js} +42 -42
  216. package/chunk/{StepLicensedProfessionalPersonalInfo-CvU4u5nA.js.map → StepLicensedProfessionalPersonalInfo-hXd4L7zJ.js.map} +1 -1
  217. package/chunk/{StepLowIncomePersonalInfo-BlvN-faw.js → StepLowIncomePersonalInfo-B9rvMh5D.js} +61 -61
  218. package/chunk/{StepLowIncomePersonalInfo-BD5AdV7z.js.map → StepLowIncomePersonalInfo-B9rvMh5D.js.map} +1 -1
  219. package/chunk/{StepLowIncomePersonalInfo-BD5AdV7z.js → StepLowIncomePersonalInfo-Dt3q7Wto.js} +61 -61
  220. package/chunk/{StepLowIncomePersonalInfo-BlvN-faw.js.map → StepLowIncomePersonalInfo-Dt3q7Wto.js.map} +1 -1
  221. package/chunk/{StepMedicalProfessionalPersonalInfo-DzPoAdkI.js → StepMedicalProfessionalPersonalInfo-Dj00ow88.js} +50 -50
  222. package/chunk/{StepMedicalProfessionalPersonalInfo-D-wc9M27.js.map → StepMedicalProfessionalPersonalInfo-Dj00ow88.js.map} +1 -1
  223. package/chunk/{StepMedicalProfessionalPersonalInfo-D-wc9M27.js → StepMedicalProfessionalPersonalInfo-bFiCwH3X.js} +50 -50
  224. package/chunk/{StepMedicalProfessionalPersonalInfo-DzPoAdkI.js.map → StepMedicalProfessionalPersonalInfo-bFiCwH3X.js.map} +1 -1
  225. package/chunk/StepMemberPersonalInfo-D5G1Esfb.js +153 -0
  226. package/chunk/{StepMemberPersonalInfo-BwhcP3-x.js.map → StepMemberPersonalInfo-D5G1Esfb.js.map} +1 -1
  227. package/chunk/StepMemberPersonalInfo-DXQDbgye.js +157 -0
  228. package/chunk/{StepMemberPersonalInfo-DcH87kDt.js.map → StepMemberPersonalInfo-DXQDbgye.js.map} +1 -1
  229. package/chunk/StepMoverPersonalInfo-BoV-SR2Q.js +140 -0
  230. package/chunk/{StepMoverPersonalInfo-C3e_5Bhi.js.map → StepMoverPersonalInfo-BoV-SR2Q.js.map} +1 -1
  231. package/chunk/StepMoverPersonalInfo-C4dW2U-w.js +144 -0
  232. package/chunk/{StepMoverPersonalInfo-DdAYuWun.js.map → StepMoverPersonalInfo-C4dW2U-w.js.map} +1 -1
  233. package/chunk/{StepOverrideComponent-C58-KkL6.js → StepOverrideComponent-BLPmVFvp.js} +36 -38
  234. package/chunk/StepOverrideComponent-BLPmVFvp.js.map +1 -0
  235. package/chunk/{StepOverrideComponent-BA6ZbYda.js → StepOverrideComponent-jBI8dQE7.js} +36 -38
  236. package/chunk/StepOverrideComponent-jBI8dQE7.js.map +1 -0
  237. package/chunk/StepSMSLoop-BN32oj1H.js +168 -0
  238. package/chunk/StepSMSLoop-BN32oj1H.js.map +1 -0
  239. package/chunk/StepSMSLoop-Cyus2TEa.js +172 -0
  240. package/chunk/StepSMSLoop-Cyus2TEa.js.map +1 -0
  241. package/chunk/StepSSO-BGHCbduX.js +4 -4
  242. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  243. package/chunk/{StepSocialSecurityNumber-6QeIRjAc.js → StepSocialSecurityNumber-BlzVBYtJ.js} +31 -27
  244. package/chunk/{StepSocialSecurityNumber-6QeIRjAc.js.map → StepSocialSecurityNumber-BlzVBYtJ.js.map} +1 -1
  245. package/chunk/{StepSocialSecurityNumber-kcHexBbp.js → StepSocialSecurityNumber-DSnFbXs9.js} +17 -21
  246. package/chunk/{StepSocialSecurityNumber-kcHexBbp.js.map → StepSocialSecurityNumber-DSnFbXs9.js.map} +1 -1
  247. package/chunk/StepStudentPersonalInfo-03QpIWkq.js +217 -0
  248. package/chunk/StepStudentPersonalInfo-03QpIWkq.js.map +1 -0
  249. package/chunk/StepStudentPersonalInfo-BxyMqSGg.js +213 -0
  250. package/chunk/StepStudentPersonalInfo-BxyMqSGg.js.map +1 -0
  251. package/chunk/{StepSuccess-ZEmH-ZFX.js → StepSuccess--jHHRqxE.js} +31 -31
  252. package/chunk/{StepSuccess-Cc0UdSaD.js.map → StepSuccess--jHHRqxE.js.map} +1 -1
  253. package/chunk/{StepSuccess-Cc0UdSaD.js → StepSuccess-CY2liqnE.js} +31 -31
  254. package/chunk/{StepSuccess-ZEmH-ZFX.js.map → StepSuccess-CY2liqnE.js.map} +1 -1
  255. package/chunk/StepTeacherPersonalInfo-C8Limyv9.js +150 -0
  256. package/chunk/{StepTeacherPersonalInfo-CiHN6WAb.js.map → StepTeacherPersonalInfo-C8Limyv9.js.map} +1 -1
  257. package/chunk/StepTeacherPersonalInfo-CDiyDDoq.js +154 -0
  258. package/chunk/{StepTeacherPersonalInfo-X7uaefYx.js.map → StepTeacherPersonalInfo-CDiyDDoq.js.map} +1 -1
  259. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  260. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  261. package/chunk/{TeacherSchoolComponent-DL4ZFk5x.js → TeacherSchoolComponent-Bau63Qxf.js} +9 -9
  262. package/chunk/{TeacherSchoolComponent-DH3cPm43.js.map → TeacherSchoolComponent-Bau63Qxf.js.map} +1 -1
  263. package/chunk/{TeacherSchoolComponent-DH3cPm43.js → TeacherSchoolComponent-DgOYDpYq.js} +9 -9
  264. package/chunk/{TeacherSchoolComponent-DL4ZFk5x.js.map → TeacherSchoolComponent-DgOYDpYq.js.map} +1 -1
  265. package/chunk/TestingRouteOverrides-CVTgdIFf.js +77 -0
  266. package/chunk/{TestingRouteOverrides-CAGESMw9.js.map → TestingRouteOverrides-CVTgdIFf.js.map} +1 -1
  267. package/chunk/TestingRouteOverrides-CfhNQg5b.js +81 -0
  268. package/chunk/{TestingRouteOverrides-CrhfSmLr.js.map → TestingRouteOverrides-CfhNQg5b.js.map} +1 -1
  269. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  270. package/chunk/ar-Dh-2G5c3.js +4 -4
  271. package/chunk/bg-BbAhdJRh.js +4 -4
  272. package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
  273. package/chunk/{countryUtils-AR9k3KRg.js → countryUtils-D3poSBsN.js} +5 -5
  274. package/chunk/{countryUtils-AR9k3KRg.js.map → countryUtils-D3poSBsN.js.map} +1 -1
  275. package/chunk/countryUtils-DhafHNJu.js +12 -0
  276. package/chunk/{countryUtils-DWqId-zY.js.map → countryUtils-DhafHNJu.js.map} +1 -1
  277. package/chunk/cs-CYGsmvju.js +4 -4
  278. package/chunk/da-COZWvvUD.js +4 -4
  279. package/chunk/de-BHclNQGr.js +4 -4
  280. package/chunk/{downshift.esm-5BwX87os.js → downshift.esm-CP7HkAFI.js} +7 -7
  281. package/chunk/{downshift.esm-5BwX87os.js.map → downshift.esm-CP7HkAFI.js.map} +1 -1
  282. package/chunk/{downshift.esm-GtunYkBG.js → downshift.esm-DiHkspCQ.js} +7 -7
  283. package/chunk/{downshift.esm-GtunYkBG.js.map → downshift.esm-DiHkspCQ.js.map} +1 -1
  284. package/chunk/el-Bv_XQ0FX.js +4 -4
  285. package/chunk/{empties-B6naRhes.js → empties-BAB8wNt9.js} +5 -5
  286. package/chunk/{empties-B6naRhes.js.map → empties-BAB8wNt9.js.map} +1 -1
  287. package/chunk/{empties-Crmkxudi.js → empties-Tz4MgFii.js} +49 -49
  288. package/chunk/{empties-Crmkxudi.js.map → empties-Tz4MgFii.js.map} +1 -1
  289. package/chunk/en-GB-CkENrh2I.js +4 -4
  290. package/chunk/es-BRKAFTKN.js +4 -4
  291. package/chunk/es-ES-BWfAbWbQ.js +4 -4
  292. package/chunk/et-CxMgVbW2.js +4 -4
  293. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  294. package/chunk/fa-BEC3aNBF.js +4 -4
  295. package/chunk/fi-BaP3FR15.js +4 -4
  296. package/chunk/fr-CA-CS4SuM-m.js +4 -4
  297. package/chunk/fr-DSU2B7p2.js +4 -4
  298. package/chunk/ga-DZEr9X_A.js +4 -4
  299. package/chunk/hi-IN-DvBVpWNQ.js +4 -4
  300. package/chunk/{hooks-ChQrxN58.js → hooks-C64fd9ZU.js} +80 -80
  301. package/chunk/{hooks-C15H5pD-.js.map → hooks-C64fd9ZU.js.map} +1 -1
  302. package/chunk/{hooks-C15H5pD-.js → hooks-DuYcWWea.js} +75 -75
  303. package/chunk/{hooks-ChQrxN58.js.map → hooks-DuYcWWea.js.map} +1 -1
  304. package/chunk/hr-CL1lHDbu.js +4 -4
  305. package/chunk/hu-Cf5Uq9R_.js +4 -4
  306. package/chunk/id-ay9yilKx.js +4 -4
  307. package/chunk/{intl-e5WHiYfA.js → intl-COP5OPN0.js} +322 -319
  308. package/chunk/intl-COP5OPN0.js.map +1 -0
  309. package/chunk/is-tpzRyIZi.js +4 -4
  310. package/chunk/it-C3-BupR4.js +4 -4
  311. package/chunk/iw-CBna3XPT.js +4 -4
  312. package/chunk/ja-DvXOkZRn.js +4 -4
  313. package/chunk/{jsx-runtime-LqzCS-0D.js → jsx-runtime-CCEfa_da.js} +18 -18
  314. package/chunk/{jsx-runtime-Ini3eO9_.js.map → jsx-runtime-CCEfa_da.js.map} +1 -1
  315. package/chunk/{jsx-runtime-Ini3eO9_.js → jsx-runtime-CeCA46f-.js} +18 -18
  316. package/chunk/{jsx-runtime-LqzCS-0D.js.map → jsx-runtime-CeCA46f-.js.map} +1 -1
  317. package/chunk/kk-DGXgY6Uw.js +4 -4
  318. package/chunk/ko-BlUGwGxN.js +4 -4
  319. package/chunk/lo-DT6wxwS1.js +4 -4
  320. package/chunk/lt-CT5-H4ci.js +4 -4
  321. package/chunk/lv-CBMD1XRp.js +4 -4
  322. package/chunk/{mocks-DGc1byho.js → mocks-CeB2B-__.js} +6 -6
  323. package/chunk/{mocks-DGc1byho.js.map → mocks-CeB2B-__.js.map} +1 -1
  324. package/chunk/{mocks-RU9BGNOn.js → mocks-R7IOaaBN.js} +9 -9
  325. package/chunk/{mocks-RU9BGNOn.js.map → mocks-R7IOaaBN.js.map} +1 -1
  326. package/chunk/ms-DuxNeOgk.js +4 -4
  327. package/chunk/nl-BE-D028qM7-.js +4 -4
  328. package/chunk/nl-DEuaat_s.js +4 -4
  329. package/chunk/no-CjeRjD1D.js +4 -4
  330. package/chunk/{options-pBCAJBwS.js → options-sWzacjlS.js} +309 -306
  331. package/chunk/{options-pBCAJBwS.js.map → options-sWzacjlS.js.map} +1 -1
  332. package/chunk/pl-X0qJw7IS.js +4 -4
  333. package/chunk/{programThemeGetters-C9Sw0RZq.js → programThemeGetters-BnS5Q93M.js} +29 -25
  334. package/chunk/{programThemeGetters-C9Sw0RZq.js.map → programThemeGetters-BnS5Q93M.js.map} +1 -1
  335. package/chunk/programThemeGetters-D44jbcz5.js +149 -0
  336. package/chunk/{programThemeGetters-uLsgGat1.js.map → programThemeGetters-D44jbcz5.js.map} +1 -1
  337. package/chunk/pt-BR-C6XmLn3o.js +4 -4
  338. package/chunk/pt-o7v4iOVx.js +4 -4
  339. package/chunk/{refs-CGvEbCaw.js → refs-CYbzNJIm.js} +5 -5
  340. package/chunk/{refs-CGvEbCaw.js.map → refs-CYbzNJIm.js.map} +1 -1
  341. package/chunk/{refs-CI3K5ndt.js → refs-DiYh48lF.js} +5 -5
  342. package/chunk/{refs-CI3K5ndt.js.map → refs-DiYh48lF.js.map} +1 -1
  343. package/chunk/ro-C74ZR3HS.js +4 -4
  344. package/chunk/ru-BA9P3RVu.js +4 -4
  345. package/chunk/sk-DmyizV49.js +4 -4
  346. package/chunk/sl-Cxm3YoWE.js +4 -4
  347. package/chunk/sr-gOtgEOlP.js +4 -4
  348. package/chunk/stepComponentHelpers-CEcpJGQG.js +121 -0
  349. package/chunk/stepComponentHelpers-CEcpJGQG.js.map +1 -0
  350. package/chunk/stepComponentHelpers-DoMfmu_O.js +117 -0
  351. package/chunk/stepComponentHelpers-DoMfmu_O.js.map +1 -0
  352. package/chunk/strings-DWLVdUcm.js +4 -4
  353. package/chunk/sv-DnCUWo1-.js +4 -4
  354. package/chunk/sw-BY7XXvUU.js +4 -4
  355. package/chunk/ta-CVL0b6Hh.js +4 -4
  356. package/chunk/th-CyU0RW3x.js +4 -4
  357. package/chunk/tl-BfgQ0irB.js +4 -4
  358. package/chunk/tr-BPg_L4bY.js +4 -4
  359. package/chunk/uk-CNaioa7V.js +4 -4
  360. package/chunk/ur-Ht1Mcpm0.js +4 -4
  361. package/chunk/useCollectFieldsEndpoint-Ce16y3_V.js +61 -0
  362. package/chunk/{useCollectFieldsEndpoint-74jMd594.js.map → useCollectFieldsEndpoint-Ce16y3_V.js.map} +1 -1
  363. package/chunk/useCollectFieldsEndpoint-DZRtkBor.js +65 -0
  364. package/chunk/{useCollectFieldsEndpoint-dSngHehw.js.map → useCollectFieldsEndpoint-DZRtkBor.js.map} +1 -1
  365. package/chunk/{useMetrics-O5xTFm6y.js → useMetrics-Bqc9pEAl.js} +19 -19
  366. package/chunk/{useMetrics-O5xTFm6y.js.map → useMetrics-Bqc9pEAl.js.map} +1 -1
  367. package/chunk/{useMetrics-BrHWTzbP.js → useMetrics-Lk6qCoTA.js} +19 -19
  368. package/chunk/{useMetrics-BrHWTzbP.js.map → useMetrics-Lk6qCoTA.js.map} +1 -1
  369. package/chunk/vi-sI1BYLXG.js +4 -4
  370. package/chunk/zh-DNG4VB8r.js +4 -4
  371. package/chunk/zh-HK-5Y3ROXEm.js +4 -4
  372. package/chunk/zu-DNMG8Idu.js +4 -4
  373. package/package.json +1 -1
  374. package/sheerid-install.css +4 -4
  375. package/sheerid-install.js +4 -4
  376. package/sheerid.css +4 -4
  377. package/sheerid.js +277 -278
  378. package/sheerid.js.map +1 -1
  379. package/chunk/EmailLoopPending-CYCQv7pW.js.map +0 -1
  380. package/chunk/EmailLoopPending-DNFHR6Ck.js.map +0 -1
  381. package/chunk/FormFooterComponent-BHQc5VBK.js.map +0 -1
  382. package/chunk/FormFooterComponent-CAoH3NjO.js.map +0 -1
  383. package/chunk/Message-BK3a2RyH.js.map +0 -1
  384. package/chunk/Message-CSa2etjX.js.map +0 -1
  385. package/chunk/PersonalInfoStepSubmitButton-BcdQUzMO.js.map +0 -1
  386. package/chunk/PersonalInfoStepSubmitButton-VxT_vwVv.js.map +0 -1
  387. package/chunk/StepAgePersonalInfo-BswIeVCd.js +0 -170
  388. package/chunk/StepAgePersonalInfo-CHBH5ROm.js +0 -174
  389. package/chunk/StepCollectPersonalInfo-BLClPcAC.js +0 -372
  390. package/chunk/StepCollectPersonalInfo-BvBAA_0_.js +0 -368
  391. package/chunk/StepIDCheckLoop-3dEcYNM-.js +0 -24
  392. package/chunk/StepIDCheckLoopOnfido-DFITsdwV.js.map +0 -1
  393. package/chunk/StepIDCheckLoopOnfido-u841Fq12.js.map +0 -1
  394. package/chunk/StepMemberPersonalInfo-BwhcP3-x.js +0 -157
  395. package/chunk/StepMemberPersonalInfo-DcH87kDt.js +0 -153
  396. package/chunk/StepMoverPersonalInfo-C3e_5Bhi.js +0 -140
  397. package/chunk/StepMoverPersonalInfo-DdAYuWun.js +0 -144
  398. package/chunk/StepOverrideComponent-BA6ZbYda.js.map +0 -1
  399. package/chunk/StepOverrideComponent-C58-KkL6.js.map +0 -1
  400. package/chunk/StepSMSLoop-CiFQF0bq.js +0 -181
  401. package/chunk/StepSMSLoop-CiFQF0bq.js.map +0 -1
  402. package/chunk/StepSMSLoop-DmbMtSCW.js +0 -185
  403. package/chunk/StepSMSLoop-DmbMtSCW.js.map +0 -1
  404. package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js +0 -216
  405. package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js.map +0 -1
  406. package/chunk/StepStudentPersonalInfo-ubt7IGBA.js +0 -220
  407. package/chunk/StepStudentPersonalInfo-ubt7IGBA.js.map +0 -1
  408. package/chunk/StepTeacherPersonalInfo-CiHN6WAb.js +0 -154
  409. package/chunk/StepTeacherPersonalInfo-X7uaefYx.js +0 -150
  410. package/chunk/TestingRouteOverrides-CAGESMw9.js +0 -81
  411. package/chunk/TestingRouteOverrides-CrhfSmLr.js +0 -77
  412. package/chunk/VerificationApiClient-CVe2IgK7.js +0 -1451
  413. package/chunk/VerificationApiClient-CVe2IgK7.js.map +0 -1
  414. package/chunk/VerificationApiClient-DOQLbKh3.js +0 -1471
  415. package/chunk/VerificationApiClient-DOQLbKh3.js.map +0 -1
  416. package/chunk/countryUtils-DWqId-zY.js +0 -12
  417. package/chunk/intl-e5WHiYfA.js.map +0 -1
  418. package/chunk/programThemeGetters-uLsgGat1.js +0 -153
  419. package/chunk/stepComponentHelpers-BdqtwfRd.js +0 -133
  420. package/chunk/stepComponentHelpers-BdqtwfRd.js.map +0 -1
  421. package/chunk/stepComponentHelpers-DIHMDrmF.js +0 -129
  422. package/chunk/stepComponentHelpers-DIHMDrmF.js.map +0 -1
  423. package/chunk/useCollectFieldsEndpoint-74jMd594.js +0 -66
  424. package/chunk/useCollectFieldsEndpoint-dSngHehw.js +0 -62
@@ -1 +1 @@
1
- {"version":3,"file":"StepMedicalProfessionalPersonalInfo-DzPoAdkI.js","names":[],"sources":["../../src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MedicalProfessionalPersonalInfoViewModel,\n type MedicalProfessionalPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModel,\n getStatusLabel,\n getStatusOptions,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StatusComponent as MedicalStatus } from \"../FormFields/Status/StatusComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMedicalProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype MemberIdFieldType =\n | \"registrationNumber\"\n | \"numeroColegiado\"\n | \"autorisationsId\"\n | \"globalLocationNumber\"\n | \"gbrNummer\";\n\nconst memberIdMessageKeysByCountry: Record<string, MemberIdFieldType> = {\n AT: \"gbrNummer\",\n ES: \"numeroColegiado\",\n DK: \"autorisationsId\",\n CH: \"globalLocationNumber\",\n IE: \"registrationNumber\",\n GB: \"registrationNumber\",\n};\n\nconst getMemberIdMessageKeys = (country: string) => {\n const memberIdFieldType: MemberIdFieldType =\n memberIdMessageKeysByCountry[country] || \"registrationNumber\";\n return {\n labelKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Label`,\n explanationKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Explanation`,\n };\n};\n\nexport const StepMedicalProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepMedicalProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MedicalProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMedicalProfessionalViewModel = (\n key: keyof MedicalProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldOptional, availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ?? verificationResponse.availableStatuses,\n );\n\n React.useEffect(() => {\n // If the memberId field is not rendered, we shouldn't validate it\n // partially update to avoid clobbering the rest of the viewModel\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (shouldRenderMemberId) {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n } else {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n }\n }, [shouldRenderMemberId]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"medical-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <MedicalStatus\n segmentId=\"medical\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updateMedicalProfessionalViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel).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 updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldRenderMemberId && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n explanation={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).explanationKey}\n defaultMessage=\"Your Professional Membership Registration Number\"\n />\n }\n label={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).labelKey}\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\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 updateMedicalProfessionalViewModel(\"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 <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMedicalProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Medical Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMedicalProfessionalPersonalInfoComponent = injectIntl(\n StepMedicalProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;4CA6DM,IAAkE;CACtE,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN,GAEM,KAA0B,MAAoB;CAClD,IAAM,IACJ,EAA6B,MAAY;CAC3C,OAAO;EACL,UAAU,mCAAmC,EAAkB;EAC/D,gBAAgB,mCAAmC,EAAkB;CACvE;AACF,GAsPa,IAA+C,GApPR,EAClD,SACA,6BACuD;CACvD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,aAAa,OAEhC,KACJ,GACA,MACG;EACH,IAAM,IAAY,EAAsB,GAAW,GAAK,CAAK;EAC7D,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,oBAAiB,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sB,CAAA,CAC7E;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmC,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
1
+ {"version":3,"file":"StepMedicalProfessionalPersonalInfo-bFiCwH3X.js","names":[],"sources":["../../src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MedicalProfessionalPersonalInfoViewModel,\n type MedicalProfessionalPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModel,\n getStatusLabel,\n getStatusOptions,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StatusComponent as MedicalStatus } from \"../FormFields/Status/StatusComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMedicalProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype MemberIdFieldType =\n | \"registrationNumber\"\n | \"numeroColegiado\"\n | \"autorisationsId\"\n | \"globalLocationNumber\"\n | \"gbrNummer\";\n\nconst memberIdMessageKeysByCountry: Record<string, MemberIdFieldType> = {\n AT: \"gbrNummer\",\n ES: \"numeroColegiado\",\n DK: \"autorisationsId\",\n CH: \"globalLocationNumber\",\n IE: \"registrationNumber\",\n GB: \"registrationNumber\",\n};\n\nconst getMemberIdMessageKeys = (country: string) => {\n const memberIdFieldType: MemberIdFieldType =\n memberIdMessageKeysByCountry[country] || \"registrationNumber\";\n return {\n labelKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Label`,\n explanationKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Explanation`,\n };\n};\n\nexport const StepMedicalProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepMedicalProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MedicalProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMedicalProfessionalViewModel = (\n key: keyof MedicalProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldOptional, availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ?? verificationResponse.availableStatuses,\n );\n\n React.useEffect(() => {\n // If the memberId field is not rendered, we shouldn't validate it\n // partially update to avoid clobbering the rest of the viewModel\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (shouldRenderMemberId) {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n } else {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n }\n }, [shouldRenderMemberId]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"medical-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <MedicalStatus\n segmentId=\"medical\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updateMedicalProfessionalViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel).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 updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldRenderMemberId && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n explanation={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).explanationKey}\n defaultMessage=\"Your Professional Membership Registration Number\"\n />\n }\n label={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).labelKey}\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\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 updateMedicalProfessionalViewModel(\"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 <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMedicalProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Medical Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMedicalProfessionalPersonalInfoComponent = injectIntl(\n StepMedicalProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;4CA6DM,IAAkE;CACtE,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN,GAEM,KAA0B,MAAoB;CAClD,IAAM,IACJ,EAA6B,MAAY;CAC3C,OAAO;EACL,UAAU,mCAAmC,EAAkB;EAC/D,gBAAgB,mCAAmC,EAAkB;CACvE;AACF,GAsPa,IAA+C,GApPR,EAClD,SACA,6BACuD;CACvD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,IAAS,EAAU,aAAa,OAEhC,KACJ,GACA,MACG;EACH,IAAM,IAAY,EAAsB,GAAW,GAAK,CAAK;EAC7D,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,oBAAiB,mBAAmB,MAAoB,EAAyB;EACvF,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GACK,IAAuB,EAAgB,UAAU,GAEjD,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACxB,EAAoB,cACpB,CACF,GAEM,IAAgB,EACpB,GACA,KAAmB,EAAqB,iBAC1C;CAkBA,OAhBA,EAAM,gBAAgB;EAGpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,UACjB;EACA,AAAI,IACF,EAAoB,gBAAgB,EAAE,wBAAwB,EAAS,GAAG,EAAE,SAAS,GAAK,CAAC,IAE3F,EAAoB,gBAClB,EAAE,wBAAwB,CAAC,GAAG,GAAU,UAAU,EAAE,GACpD,EAAE,SAAS,GAAK,CAClB;CAEJ,GAAG,CAAC,CAAoB,CAAC,GAGvB,iBAAA,GAAA,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;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
@@ -0,0 +1,153 @@
1
+
2
+ /**
3
+ * VERSION: 2.280.0
4
+ * BUILD_TIMESTAMP: 1789074197174
5
+ * BUILD_DATE: Thu Sep 10 2026 21:03:17 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
7
+ */
8
+ import { Gt as e, It as t, c as n, n as r } from "./options-sWzacjlS.js";
9
+ import { c as i, n as a, t as o } from "./jsx-runtime-CeCA46f-.js";
10
+ import { h as s } from "./FormFooterComponent-D9mEMiRZ.js";
11
+ import { n as c } from "../sheerid.js";
12
+ import { _ as l, c as u, g as d, i as f } from "./stepComponentHelpers-DoMfmu_O.js";
13
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BrH791mU.js";
14
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-huS5DiV5.js";
15
+ import { t as x } from "./BirthDateComponent-C31Jxnf9.js";
16
+ import { t as S } from "./CountryComponentWrapper-CR9HrOiD.js";
17
+ import { t as C } from "./ExtraMessage-DNaGfjEE.js";
18
+ import { t as w } from "./ChangeLocaleComponent-4lrBj9C8.js";
19
+ import { t as T } from "./PersonalInfoStepWrapper-D6RA9ErC.js";
20
+ import { t as E } from "./MemberIdComponent-DFE0KKa8.js";
21
+ import { t as D } from "./MembershipOrganizationComponent-Bqfrzd_X.js";
22
+ //#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
23
+ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) => {
24
+ let i = e.viewModel, { fieldValidationErrors: o } = e, A = e.verificationResponse, j = s(A), M = r(), N = f("memberId")?.requireIfOptional, P = i.localeChoice.value, F = (t, r) => {
25
+ let a = n(i, (e) => {
26
+ e[t] = r;
27
+ });
28
+ e.updateViewModel(a);
29
+ };
30
+ return O.useEffect(() => {
31
+ let t = (e.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "memberId");
32
+ N ? e.updateViewModel({ fieldsToSkipValidation: t }, { partial: !0 }) : e.updateViewModel({ fieldsToSkipValidation: [...t, "memberId"] }, { partial: !0 });
33
+ }, [N]), /* @__PURE__ */ (0, k.jsxs)(T, {
34
+ verificationService: e,
35
+ step: A.currentStep,
36
+ children: [
37
+ /* @__PURE__ */ (0, k.jsx)(c, {
38
+ verificationService: e,
39
+ classNameIdentifier: "member-personal-info"
40
+ }),
41
+ /* @__PURE__ */ (0, k.jsx)(w, { verificationService: e }),
42
+ /* @__PURE__ */ (0, k.jsx)(S, {
43
+ verificationService: e,
44
+ disabled: f("country")?.disabled
45
+ }),
46
+ /* @__PURE__ */ (0, k.jsx)(D, {
47
+ value: e.viewModel.organization,
48
+ verificationService: e,
49
+ isErrored: !!o.organization,
50
+ disabled: f("organization")?.disabled,
51
+ onChange: (t) => {
52
+ l(t, e), d("organization", t, e);
53
+ }
54
+ }),
55
+ /* @__PURE__ */ (0, k.jsxs)("div", {
56
+ className: "sid-names",
57
+ children: [/* @__PURE__ */ (0, k.jsx)(p, {
58
+ value: i.firstName,
59
+ isErrored: !!o.firstName,
60
+ disabled: f("firstName")?.disabled,
61
+ onChange: (t) => {
62
+ F("firstName", t), d("firstName", t, e);
63
+ }
64
+ }), /* @__PURE__ */ (0, k.jsx)(m, {
65
+ value: i.lastName,
66
+ isErrored: !!o.lastName,
67
+ disabled: f("lastName")?.disabled,
68
+ onChange: (t) => {
69
+ F("lastName", t), d("lastName", t, e);
70
+ }
71
+ })]
72
+ }),
73
+ /* @__PURE__ */ (0, k.jsx)(y, {
74
+ value: i.email,
75
+ isErrored: !!o.email,
76
+ explanation: /* @__PURE__ */ (0, k.jsx)(a, {
77
+ id: "emailExplanation",
78
+ defaultMessage: " "
79
+ }),
80
+ onChange: (t) => {
81
+ F("email", t), d("email", t, e);
82
+ },
83
+ onKeyDown: (e) => u(e),
84
+ disabled: f("email")?.disabled
85
+ }),
86
+ /* @__PURE__ */ (0, k.jsx)(x, {
87
+ errorId: o.birthDate,
88
+ locale: P,
89
+ isRequired: f("birthDate")?.requireIfOptional,
90
+ onChange: (t) => {
91
+ F("birthDate", t), d("birthDate", t, e);
92
+ },
93
+ value: i.birthDate,
94
+ disabled: f("birthDate")?.disabled
95
+ }),
96
+ /* @__PURE__ */ (0, k.jsx)(E, {
97
+ value: i.memberId,
98
+ isErrored: !!o.memberId,
99
+ isRequired: N,
100
+ disabled: f("memberId")?.disabled,
101
+ onChange: (t) => {
102
+ F("memberId", t), d("memberId", t, e);
103
+ }
104
+ }),
105
+ e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, k.jsx)(g, {
106
+ isRequired: !!e.programTheme.smsLoopEnabled,
107
+ value: i.phoneNumber,
108
+ isErrored: !!o.phoneNumber,
109
+ onChange: (t) => {
110
+ F("phoneNumber", t), d("phoneNumber", t, e);
111
+ },
112
+ selectedCountryCode: i.countryChoice && i.countryChoice.value,
113
+ disabled: f("phoneNumber")?.disabled
114
+ }) : null,
115
+ M.customFormFields.map((t) => /* @__PURE__ */ (0, k.jsx)(h, {
116
+ config: t,
117
+ verificationService: e
118
+ })),
119
+ /* @__PURE__ */ (0, k.jsx)(_, {
120
+ verificationService: e,
121
+ isErrored: !!o.marketConsentValue,
122
+ onChange: (t) => {
123
+ F("metadata", {
124
+ ...e.viewModel.metadata,
125
+ marketConsentValue: t
126
+ }), d("marketConsentValue", t, e);
127
+ },
128
+ viewModel: i,
129
+ disabled: f("marketConsentValue")?.disabled
130
+ }),
131
+ /* @__PURE__ */ (0, k.jsx)(C, {
132
+ verificationService: e,
133
+ suffix: "CollectAboveSubmit"
134
+ }),
135
+ /* @__PURE__ */ (0, k.jsx)(v, {
136
+ verificationService: e,
137
+ isErrored: !!o.captchaToken
138
+ }),
139
+ /* @__PURE__ */ (0, k.jsx)(b, {
140
+ step: t.collectMemberPersonalInfo,
141
+ verificationService: e,
142
+ viewModel: i,
143
+ failedInstantMatch: j,
144
+ buttonText: /* @__PURE__ */ (0, k.jsx)(a, {
145
+ id: "step.personalInfo.submitButtonText",
146
+ defaultMessage: "Verify My Membership Status"
147
+ })
148
+ })
149
+ ]
150
+ });
151
+ };
152
+ //#endregion
153
+ export { A as default };
@@ -1 +1 @@
1
- {"version":3,"file":"StepMemberPersonalInfo-BwhcP3-x.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\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 updateMemberViewModel(\"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 updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"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 <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"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.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nex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A,EAAsB,YAAY,CAAQ,GAC1C,EAAqC,YAAY,GAAU,CAAmB;IAChF;GACD,CAAA;GAEA,EAAoB,aAAa,2BAClC,EAAoB,aAAa,iBAC/B,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,YAAY,CAAC,CAAC,EAAoB,aAAa;IAC/C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAsB,eAAe,CAAQ,GAC7C,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepMemberPersonalInfo-D5G1Esfb.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\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 updateMemberViewModel(\"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 updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"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 <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"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.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GACrB,IAAqB,EAAwB,UAAU,GAAG,mBAE1D,IAAS,EAAU,aAAa,OAEhC,KAAyB,GAAwC,MAAe;EACpF,IAAM,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GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -0,0 +1,157 @@
1
+
2
+ /**
3
+ * WARNING: This file is intended to be used within MySheerID.
4
+ * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
+ */
6
+ /**
7
+ * VERSION: 2.280.0
8
+ * BUILD_TIMESTAMP: 1789074204977
9
+ * BUILD_DATE: Thu Sep 10 2026 21:03:24 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
11
+ */
12
+ import { Gt as e, Pt as t, p as n, s as r } from "./intl-COP5OPN0.js";
13
+ import { c as i, n as a, t as o } from "./jsx-runtime-CCEfa_da.js";
14
+ import { p as s } from "./FormFooterComponent-oaSe-Xzj.js";
15
+ import { t as c } from "../_mysheerid-preview.js";
16
+ import { _ as l, c as u, g as d, i as f } from "./stepComponentHelpers-CEcpJGQG.js";
17
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-D3gR_wiv.js";
18
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CaE4yvTG.js";
19
+ import { t as x } from "./BirthDateComponent-J3GXZush.js";
20
+ import { t as S } from "./CountryComponentWrapper-Dp_Lw4Jz.js";
21
+ import { t as C } from "./ExtraMessage-BqOf0zRz.js";
22
+ import { t as w } from "./ChangeLocaleComponent-mFvHcArW.js";
23
+ import { t as T } from "./PersonalInfoStepWrapper-CoL68lv9.js";
24
+ import { t as E } from "./MemberIdComponent-BAFAN1PO.js";
25
+ import { t as D } from "./MembershipOrganizationComponent-CmgEVqRQ.js";
26
+ //#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
27
+ var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) => {
28
+ let i = e.viewModel, { fieldValidationErrors: o } = e, A = e.verificationResponse, j = s(A), M = r(), N = f("memberId")?.requireIfOptional, P = i.localeChoice.value, F = (t, r) => {
29
+ let a = n(i, (e) => {
30
+ e[t] = r;
31
+ });
32
+ e.updateViewModel(a);
33
+ };
34
+ return O.useEffect(() => {
35
+ let t = (e.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "memberId");
36
+ N ? e.updateViewModel({ fieldsToSkipValidation: t }, { partial: !0 }) : e.updateViewModel({ fieldsToSkipValidation: [...t, "memberId"] }, { partial: !0 });
37
+ }, [N]), /* @__PURE__ */ (0, k.jsxs)(T, {
38
+ verificationService: e,
39
+ step: A.currentStep,
40
+ children: [
41
+ /* @__PURE__ */ (0, k.jsx)(c, {
42
+ verificationService: e,
43
+ classNameIdentifier: "member-personal-info"
44
+ }),
45
+ /* @__PURE__ */ (0, k.jsx)(w, { verificationService: e }),
46
+ /* @__PURE__ */ (0, k.jsx)(S, {
47
+ verificationService: e,
48
+ disabled: f("country")?.disabled
49
+ }),
50
+ /* @__PURE__ */ (0, k.jsx)(D, {
51
+ value: e.viewModel.organization,
52
+ verificationService: e,
53
+ isErrored: !!o.organization,
54
+ disabled: f("organization")?.disabled,
55
+ onChange: (t) => {
56
+ l(t, e), d("organization", t, e);
57
+ }
58
+ }),
59
+ /* @__PURE__ */ (0, k.jsxs)("div", {
60
+ className: "sid-names",
61
+ children: [/* @__PURE__ */ (0, k.jsx)(p, {
62
+ value: i.firstName,
63
+ isErrored: !!o.firstName,
64
+ disabled: f("firstName")?.disabled,
65
+ onChange: (t) => {
66
+ F("firstName", t), d("firstName", t, e);
67
+ }
68
+ }), /* @__PURE__ */ (0, k.jsx)(m, {
69
+ value: i.lastName,
70
+ isErrored: !!o.lastName,
71
+ disabled: f("lastName")?.disabled,
72
+ onChange: (t) => {
73
+ F("lastName", t), d("lastName", t, e);
74
+ }
75
+ })]
76
+ }),
77
+ /* @__PURE__ */ (0, k.jsx)(y, {
78
+ value: i.email,
79
+ isErrored: !!o.email,
80
+ explanation: /* @__PURE__ */ (0, k.jsx)(a, {
81
+ id: "emailExplanation",
82
+ defaultMessage: " "
83
+ }),
84
+ onChange: (t) => {
85
+ F("email", t), d("email", t, e);
86
+ },
87
+ onKeyDown: (e) => u(e),
88
+ disabled: f("email")?.disabled
89
+ }),
90
+ /* @__PURE__ */ (0, k.jsx)(x, {
91
+ errorId: o.birthDate,
92
+ locale: P,
93
+ isRequired: f("birthDate")?.requireIfOptional,
94
+ onChange: (t) => {
95
+ F("birthDate", t), d("birthDate", t, e);
96
+ },
97
+ value: i.birthDate,
98
+ disabled: f("birthDate")?.disabled
99
+ }),
100
+ /* @__PURE__ */ (0, k.jsx)(E, {
101
+ value: i.memberId,
102
+ isErrored: !!o.memberId,
103
+ isRequired: N,
104
+ disabled: f("memberId")?.disabled,
105
+ onChange: (t) => {
106
+ F("memberId", t), d("memberId", t, e);
107
+ }
108
+ }),
109
+ e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, k.jsx)(g, {
110
+ isRequired: !!e.programTheme.smsLoopEnabled,
111
+ value: i.phoneNumber,
112
+ isErrored: !!o.phoneNumber,
113
+ onChange: (t) => {
114
+ F("phoneNumber", t), d("phoneNumber", t, e);
115
+ },
116
+ selectedCountryCode: i.countryChoice && i.countryChoice.value,
117
+ disabled: f("phoneNumber")?.disabled
118
+ }) : null,
119
+ M.customFormFields.map((t) => /* @__PURE__ */ (0, k.jsx)(h, {
120
+ config: t,
121
+ verificationService: e
122
+ })),
123
+ /* @__PURE__ */ (0, k.jsx)(_, {
124
+ verificationService: e,
125
+ isErrored: !!o.marketConsentValue,
126
+ onChange: (t) => {
127
+ F("metadata", {
128
+ ...e.viewModel.metadata,
129
+ marketConsentValue: t
130
+ }), d("marketConsentValue", t, e);
131
+ },
132
+ viewModel: i,
133
+ disabled: f("marketConsentValue")?.disabled
134
+ }),
135
+ /* @__PURE__ */ (0, k.jsx)(C, {
136
+ verificationService: e,
137
+ suffix: "CollectAboveSubmit"
138
+ }),
139
+ /* @__PURE__ */ (0, k.jsx)(v, {
140
+ verificationService: e,
141
+ isErrored: !!o.captchaToken
142
+ }),
143
+ /* @__PURE__ */ (0, k.jsx)(b, {
144
+ step: t.collectMemberPersonalInfo,
145
+ verificationService: e,
146
+ viewModel: i,
147
+ failedInstantMatch: j,
148
+ buttonText: /* @__PURE__ */ (0, k.jsx)(a, {
149
+ id: "step.personalInfo.submitButtonText",
150
+ defaultMessage: "Verify My Membership Status"
151
+ })
152
+ })
153
+ ]
154
+ });
155
+ };
156
+ //#endregion
157
+ export { A as default };
@@ -1 +1 @@
1
- {"version":3,"file":"StepMemberPersonalInfo-DcH87kDt.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\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 updateMemberViewModel(\"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 updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"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 <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"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.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GACrB,IAAqB,EAAwB,UAAU,GAAG,mBAE1D,IAAS,EAAU,aAAa,OAEhC,KAAyB,GAAwC,MAAe;EACpF,IAAM,IAAyC,EAC7C,IACC,MAAuC;GACtC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB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wB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepMemberPersonalInfo-DXQDbgye.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\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 updateMemberViewModel(\"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 updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"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 <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"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.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GACrB,IAAqB,EAAwB,UAAU,GAAG,mBAE1D,IAAS,EAAU,aAAa,OAEhC,KAAyB,GAAwC,MAAe;EACpF,IAAM,IAAyC,EAC7C,IACC,MAAuC;GACtC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAgBA,OAdA,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,UACjB;EACA,AAAK,IAMH,EAAoB,gBAAgB,EAAE,wBAAwB,EAAS,GAAG,EAAE,SAAS,GAAK,CAAC,IAL3F,EAAoB,gBAClB,EAAE,wBAAwB,CAAC,GAAG,GAAU,UAAU,EAAE,GACpD,EAAE,SAAS,GAAK,CAClB;CAIJ,GAAG,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