@sheerid/jslib 2.316.0 → 2.318.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 (326) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +36 -36
  3. package/chunk/AddressComponent-BxavEqNN.js +4 -4
  4. package/chunk/AddressComponent-D2mEkfix.js +4 -4
  5. package/chunk/AnnouncingHeader-C3W0VQzV.js +4 -4
  6. package/chunk/AnnouncingHeader-OtaykXZw.js +4 -4
  7. package/chunk/{ApiUrls-DC453lFN.js → ApiUrls-Bjl68fZM.js} +5 -5
  8. package/chunk/{ApiUrls-DC453lFN.js.map → ApiUrls-Bjl68fZM.js.map} +1 -1
  9. package/chunk/{ApiUrls-C604MmkC.js → ApiUrls-DTAt_8rs.js} +5 -5
  10. package/chunk/{ApiUrls-C604MmkC.js.map → ApiUrls-DTAt_8rs.js.map} +1 -1
  11. package/chunk/{BirthDateComponent-BwcAqOFe.js → BirthDateComponent-DCF1BrYZ.js} +5 -5
  12. package/chunk/{BirthDateComponent-BwcAqOFe.js.map → BirthDateComponent-DCF1BrYZ.js.map} +1 -1
  13. package/chunk/{BirthDateComponent-d6voii3J.js → BirthDateComponent-DN47-PWx.js} +5 -5
  14. package/chunk/{BirthDateComponent-d6voii3J.js.map → BirthDateComponent-DN47-PWx.js.map} +1 -1
  15. package/chunk/{CaptchaComponent-Cw4MkQRy.js → CaptchaComponent-CGzj7Yl4.js} +5 -5
  16. package/chunk/{CaptchaComponent-Cw4MkQRy.js.map → CaptchaComponent-CGzj7Yl4.js.map} +1 -1
  17. package/chunk/{CaptchaComponent-Da7DkPA_.js → CaptchaComponent-Dqo1kgeK.js} +5 -5
  18. package/chunk/{CaptchaComponent-Da7DkPA_.js.map → CaptchaComponent-Dqo1kgeK.js.map} +1 -1
  19. package/chunk/{ChangeLocaleComponent-CUEmQuoA.js → ChangeLocaleComponent-WuEDLKSJ.js} +5 -5
  20. package/chunk/{ChangeLocaleComponent-CUEmQuoA.js.map → ChangeLocaleComponent-WuEDLKSJ.js.map} +1 -1
  21. package/chunk/{ChangeLocaleComponent--uRPSHsI.js → ChangeLocaleComponent-gNfmpOea.js} +5 -5
  22. package/chunk/{ChangeLocaleComponent--uRPSHsI.js.map → ChangeLocaleComponent-gNfmpOea.js.map} +1 -1
  23. package/chunk/City-CR2xigNn.js +4 -4
  24. package/chunk/City-DoccJLpM.js +4 -4
  25. package/chunk/{CollegeNameComponent-gIG7563E.js → CollegeNameComponent-BNzet1VC.js} +6 -6
  26. package/chunk/{CollegeNameComponent-gIG7563E.js.map → CollegeNameComponent-BNzet1VC.js.map} +1 -1
  27. package/chunk/{CollegeNameComponent-DwA9T43o.js → CollegeNameComponent-tRfamoZl.js} +6 -6
  28. package/chunk/{CollegeNameComponent-DwA9T43o.js.map → CollegeNameComponent-tRfamoZl.js.map} +1 -1
  29. package/chunk/CopyToClipboardComponent-DdLZvzfB.js +4 -4
  30. package/chunk/CopyToClipboardComponent-De_3_3VT.js +4 -4
  31. package/chunk/{CountryComponentWrapper-PZKJeo-8.js → CountryComponentWrapper-B6ekcGSw.js} +5 -5
  32. package/chunk/{CountryComponentWrapper-PZKJeo-8.js.map → CountryComponentWrapper-B6ekcGSw.js.map} +1 -1
  33. package/chunk/{CountryComponentWrapper-D6bRhqUP.js → CountryComponentWrapper-jCA_Bqtc.js} +5 -5
  34. package/chunk/{CountryComponentWrapper-D6bRhqUP.js.map → CountryComponentWrapper-jCA_Bqtc.js.map} +1 -1
  35. package/chunk/{DischargeDateComponent-DllDTFXI.js → DischargeDateComponent-Bg7e8XhP.js} +7 -7
  36. package/chunk/{DischargeDateComponent-DllDTFXI.js.map → DischargeDateComponent-Bg7e8XhP.js.map} +1 -1
  37. package/chunk/{DischargeDateComponent-sCHfnq4x.js → DischargeDateComponent-DmvM_4ww.js} +7 -7
  38. package/chunk/{DischargeDateComponent-sCHfnq4x.js.map → DischargeDateComponent-DmvM_4ww.js.map} +1 -1
  39. package/chunk/DriverLicenseNumberComponent-CdRJgKXz.js +4 -4
  40. package/chunk/DriverLicenseNumberComponent-iE4uZhjY.js +4 -4
  41. package/chunk/{EmailLoopPending-DPEx2yPl.js → EmailLoopPending-VmsBoCXx.js} +5 -5
  42. package/chunk/{EmailLoopPending-DPEx2yPl.js.map → EmailLoopPending-VmsBoCXx.js.map} +1 -1
  43. package/chunk/{EmailLoopPending-B3Y7-M0k.js → EmailLoopPending-YoCgPmyk.js} +5 -5
  44. package/chunk/{EmailLoopPending-B3Y7-M0k.js.map → EmailLoopPending-YoCgPmyk.js.map} +1 -1
  45. package/chunk/ExtraMessage-CR5rN46Q.js +4 -4
  46. package/chunk/ExtraMessage-Dy5YujvI.js +4 -4
  47. package/chunk/{FirstResponderOrganizationComponent-CrsqGhmT.js → FirstResponderOrganizationComponent-BS5Gpn9t.js} +6 -6
  48. package/chunk/{FirstResponderOrganizationComponent-CrsqGhmT.js.map → FirstResponderOrganizationComponent-BS5Gpn9t.js.map} +1 -1
  49. package/chunk/{FirstResponderOrganizationComponent-Bnqi3SpC.js → FirstResponderOrganizationComponent-SBuPeSkl.js} +6 -6
  50. package/chunk/{FirstResponderOrganizationComponent-Bnqi3SpC.js.map → FirstResponderOrganizationComponent-SBuPeSkl.js.map} +1 -1
  51. package/chunk/FormFieldInputSelect-DCe1fl-X.js +4 -4
  52. package/chunk/FormFieldInputSelect-wzL--dyG.js +4 -4
  53. package/chunk/FormFieldLayout-Cx2ljZnE.js +4 -4
  54. package/chunk/FormFieldLayout-eZlxsUFO.js +4 -4
  55. package/chunk/FormFieldText-BqN10-Wh.js +4 -4
  56. package/chunk/FormFieldText-CSfUMOnT.js +4 -4
  57. package/chunk/{FormFieldTypeahead-CoH3Km-j.js → FormFieldTypeahead-BAJbuBg6.js} +6 -6
  58. package/chunk/{FormFieldTypeahead-CoH3Km-j.js.map → FormFieldTypeahead-BAJbuBg6.js.map} +1 -1
  59. package/chunk/{FormFieldTypeahead-CP2_PAIw.js → FormFieldTypeahead-CfqEB4jD.js} +6 -6
  60. package/chunk/{FormFieldTypeahead-CP2_PAIw.js.map → FormFieldTypeahead-CfqEB4jD.js.map} +1 -1
  61. package/chunk/{FormFooterComponent-CCnomymd.js → FormFooterComponent-Ci3-eCIX.js} +7 -7
  62. package/chunk/{FormFooterComponent-CCnomymd.js.map → FormFooterComponent-Ci3-eCIX.js.map} +1 -1
  63. package/chunk/{FormFooterComponent-BNcMAlwo.js → FormFooterComponent-Du_HeEF3.js} +7 -7
  64. package/chunk/{FormFooterComponent-BNcMAlwo.js.map → FormFooterComponent-Du_HeEF3.js.map} +1 -1
  65. package/chunk/FormSelectChoice-BtoOF4T1.js +4 -4
  66. package/chunk/FormSelectChoice-OvLHNUCT.js +4 -4
  67. package/chunk/InputText-CofmfudI.js +4 -4
  68. package/chunk/InputText-Dcl3FSxA.js +4 -4
  69. package/chunk/{LicensedProfessionalOrganizationComponent-Do2puR4-.js → LicensedProfessionalOrganizationComponent-DE1cinB8.js} +6 -6
  70. package/chunk/{LicensedProfessionalOrganizationComponent-Do2puR4-.js.map → LicensedProfessionalOrganizationComponent-DE1cinB8.js.map} +1 -1
  71. package/chunk/{LicensedProfessionalOrganizationComponent-BpaFeYR-.js → LicensedProfessionalOrganizationComponent-lQzp_eZd.js} +6 -6
  72. package/chunk/{LicensedProfessionalOrganizationComponent-BpaFeYR-.js.map → LicensedProfessionalOrganizationComponent-lQzp_eZd.js.map} +1 -1
  73. package/chunk/LogoComponent-1FE2nzPz.js +4 -4
  74. package/chunk/LogoComponent-Dwrer09q.js +4 -4
  75. package/chunk/{LowIncomeOrganizationComponent-DtM5LGeH.js → LowIncomeOrganizationComponent-B2tEj__S.js} +7 -7
  76. package/chunk/{LowIncomeOrganizationComponent-DtM5LGeH.js.map → LowIncomeOrganizationComponent-B2tEj__S.js.map} +1 -1
  77. package/chunk/{LowIncomeOrganizationComponent-ClsRb34i.js → LowIncomeOrganizationComponent-Be_nVEU9.js} +7 -7
  78. package/chunk/{LowIncomeOrganizationComponent-ClsRb34i.js.map → LowIncomeOrganizationComponent-Be_nVEU9.js.map} +1 -1
  79. package/chunk/{MedicalProfessionalOrganizationComponent-BGx4efvQ.js → MedicalProfessionalOrganizationComponent-Br9D3MFc.js} +6 -6
  80. package/chunk/{MedicalProfessionalOrganizationComponent-BGx4efvQ.js.map → MedicalProfessionalOrganizationComponent-Br9D3MFc.js.map} +1 -1
  81. package/chunk/{MedicalProfessionalOrganizationComponent-DH-kRN2y.js → MedicalProfessionalOrganizationComponent-Z4Km0SN4.js} +6 -6
  82. package/chunk/{MedicalProfessionalOrganizationComponent-DH-kRN2y.js.map → MedicalProfessionalOrganizationComponent-Z4Km0SN4.js.map} +1 -1
  83. package/chunk/MemberIdComponent-Bwd8_Zby.js +4 -4
  84. package/chunk/MemberIdComponent-Op5eJ6S1.js +4 -4
  85. package/chunk/{MembershipOrganizationComponent-jn62suuT.js → MembershipOrganizationComponent-CBRY__Hh.js} +6 -6
  86. package/chunk/{MembershipOrganizationComponent-jn62suuT.js.map → MembershipOrganizationComponent-CBRY__Hh.js.map} +1 -1
  87. package/chunk/{MembershipOrganizationComponent-B7Xe1YGg.js → MembershipOrganizationComponent-CoVqns5U.js} +6 -6
  88. package/chunk/{MembershipOrganizationComponent-B7Xe1YGg.js.map → MembershipOrganizationComponent-CoVqns5U.js.map} +1 -1
  89. package/chunk/Message-B40rYRnQ.js +4 -4
  90. package/chunk/Message-DeYfEIfJ.js +4 -4
  91. package/chunk/Onfido-CTCgAwnB.js +4 -4
  92. package/chunk/PersonalInfoStepSubmitButton-CT7lguuZ.js +4 -4
  93. package/chunk/PersonalInfoStepSubmitButton-jF2Q-TQ1.js +4 -4
  94. package/chunk/{PersonalInfoStepWrapper-8bWmgyhA.js → PersonalInfoStepWrapper-DMq0FLJW.js} +5 -5
  95. package/chunk/{PersonalInfoStepWrapper-8bWmgyhA.js.map → PersonalInfoStepWrapper-DMq0FLJW.js.map} +1 -1
  96. package/chunk/{PersonalInfoStepWrapper-Wq0T4gth.js → PersonalInfoStepWrapper-ofVvlXHi.js} +6 -6
  97. package/chunk/{PersonalInfoStepWrapper-Wq0T4gth.js.map → PersonalInfoStepWrapper-ofVvlXHi.js.map} +1 -1
  98. package/chunk/PostalCodeComponent-CM7B9nbQ.js +4 -4
  99. package/chunk/PostalCodeComponent-DOaiP-XH.js +4 -4
  100. package/chunk/SSN-CLdLfiNj.js +4 -4
  101. package/chunk/SSN-CxrFw1Bw.js +4 -4
  102. package/chunk/StateSelectComponent-Bs0zMXwM.js +4 -4
  103. package/chunk/StateSelectComponent-CDUxaxhl.js +4 -4
  104. package/chunk/StatusComponent-B9xHqfyT.js +4 -4
  105. package/chunk/StatusComponent-wmBrTgh8.js +4 -4
  106. package/chunk/{StepAgePersonalInfo-8s929DzY.js → StepAgePersonalInfo-QkrbLc3r.js} +11 -11
  107. package/chunk/{StepAgePersonalInfo-8s929DzY.js.map → StepAgePersonalInfo-QkrbLc3r.js.map} +1 -1
  108. package/chunk/{StepAgePersonalInfo-Bbh1q-Ny.js → StepAgePersonalInfo-ekSBIwNV.js} +11 -11
  109. package/chunk/{StepAgePersonalInfo-Bbh1q-Ny.js.map → StepAgePersonalInfo-ekSBIwNV.js.map} +1 -1
  110. package/chunk/StepCard-C1asZqmo.js +4 -4
  111. package/chunk/StepCard-CSGX5DWE.js +4 -4
  112. package/chunk/{StepCollectIdentifier-BnKW0Kpp.js → StepCollectIdentifier-D-R_6RRa.js} +5 -5
  113. package/chunk/{StepCollectIdentifier-BnKW0Kpp.js.map → StepCollectIdentifier-D-R_6RRa.js.map} +1 -1
  114. package/chunk/{StepCollectIdentifier-eNuejbhk.js → StepCollectIdentifier-TeZscz9m.js} +5 -5
  115. package/chunk/{StepCollectIdentifier-eNuejbhk.js.map → StepCollectIdentifier-TeZscz9m.js.map} +1 -1
  116. package/chunk/{StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js → StepCollectMilitaryPersonalInfoComponent-BhmXgdZf.js} +13 -13
  117. package/chunk/{StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js.map → StepCollectMilitaryPersonalInfoComponent-BhmXgdZf.js.map} +1 -1
  118. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js → StepCollectMilitaryPersonalInfoComponent-DHrbqfLL.js} +13 -13
  119. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js.map → StepCollectMilitaryPersonalInfoComponent-DHrbqfLL.js.map} +1 -1
  120. package/chunk/{StepCollectPersonalInfo-DmTVCQ3_.js → StepCollectPersonalInfo-DCeljiww.js} +19 -19
  121. package/chunk/{StepCollectPersonalInfo-DmTVCQ3_.js.map → StepCollectPersonalInfo-DCeljiww.js.map} +1 -1
  122. package/chunk/{StepCollectPersonalInfo-Bxj7rasK.js → StepCollectPersonalInfo-Dk9Z7fPC.js} +19 -19
  123. package/chunk/{StepCollectPersonalInfo-Bxj7rasK.js.map → StepCollectPersonalInfo-Dk9Z7fPC.js.map} +1 -1
  124. package/chunk/StepCompleteAuthentication-Bjs9HhHK.js +4 -4
  125. package/chunk/StepCompleteAuthentication-CK8SYf3r.js +4 -4
  126. package/chunk/{StepConsolation-qIEGxdup.js → StepConsolation-BLTu2ZS0.js} +5 -5
  127. package/chunk/{StepConsolation-qIEGxdup.js.map → StepConsolation-BLTu2ZS0.js.map} +1 -1
  128. package/chunk/{StepConsolation-Do3BvzLY.js → StepConsolation-BfxNT2DD.js} +5 -5
  129. package/chunk/{StepConsolation-Do3BvzLY.js.map → StepConsolation-BfxNT2DD.js.map} +1 -1
  130. package/chunk/{StepDocUpload-Dwczk00D.js → StepDocUpload-Bd0kAmnq.js} +5 -5
  131. package/chunk/{StepDocUpload-Dwczk00D.js.map → StepDocUpload-Bd0kAmnq.js.map} +1 -1
  132. package/chunk/{StepDocUpload-DZFVexGs.js → StepDocUpload-CbMPDIPi.js} +5 -5
  133. package/chunk/{StepDocUpload-DZFVexGs.js.map → StepDocUpload-CbMPDIPi.js.map} +1 -1
  134. package/chunk/{StepDriverLicensePersonalInfoComponent-BWtUxbIw.js → StepDriverLicensePersonalInfoComponent-CBxl72AR.js} +8 -8
  135. package/chunk/{StepDriverLicensePersonalInfoComponent-BWtUxbIw.js.map → StepDriverLicensePersonalInfoComponent-CBxl72AR.js.map} +1 -1
  136. package/chunk/{StepDriverLicensePersonalInfoComponent-CE_p8hWp.js → StepDriverLicensePersonalInfoComponent-Cc8-xi1R.js} +8 -8
  137. package/chunk/{StepDriverLicensePersonalInfoComponent-CE_p8hWp.js.map → StepDriverLicensePersonalInfoComponent-Cc8-xi1R.js.map} +1 -1
  138. package/chunk/{StepEmailLoop-CPF3-q6j.js → StepEmailLoop-Cyhmox8M.js} +6 -6
  139. package/chunk/{StepEmailLoop-CPF3-q6j.js.map → StepEmailLoop-Cyhmox8M.js.map} +1 -1
  140. package/chunk/{StepEmailLoop-CuJwIM1_.js → StepEmailLoop-ZU1AYxgJ.js} +6 -6
  141. package/chunk/{StepEmailLoop-CuJwIM1_.js.map → StepEmailLoop-ZU1AYxgJ.js.map} +1 -1
  142. package/chunk/{StepEmploymentPersonalInfo-D5nZkseJ.js → StepEmploymentPersonalInfo-BsLzYGqG.js} +10 -10
  143. package/chunk/{StepEmploymentPersonalInfo-D5nZkseJ.js.map → StepEmploymentPersonalInfo-BsLzYGqG.js.map} +1 -1
  144. package/chunk/{StepEmploymentPersonalInfo-DkDvxjer.js → StepEmploymentPersonalInfo-fR3EaG9d.js} +10 -10
  145. package/chunk/{StepEmploymentPersonalInfo-DkDvxjer.js.map → StepEmploymentPersonalInfo-fR3EaG9d.js.map} +1 -1
  146. package/chunk/{StepFirstResponderPersonalInfo-CLxwkudV.js → StepFirstResponderPersonalInfo-1YaCvPlF.js} +13 -13
  147. package/chunk/{StepFirstResponderPersonalInfo-CLxwkudV.js.map → StepFirstResponderPersonalInfo-1YaCvPlF.js.map} +1 -1
  148. package/chunk/{StepFirstResponderPersonalInfo-HdJfcO_z.js → StepFirstResponderPersonalInfo-io6wBdNi.js} +13 -13
  149. package/chunk/{StepFirstResponderPersonalInfo-HdJfcO_z.js.map → StepFirstResponderPersonalInfo-io6wBdNi.js.map} +1 -1
  150. package/chunk/{StepGeneralIdentityPersonalInfoComponent-xgXKl9_S.js → StepGeneralIdentityPersonalInfoComponent-BM5vyCto.js} +9 -9
  151. package/chunk/{StepGeneralIdentityPersonalInfoComponent-xgXKl9_S.js.map → StepGeneralIdentityPersonalInfoComponent-BM5vyCto.js.map} +1 -1
  152. package/chunk/{StepGeneralIdentityPersonalInfoComponent-DJ-NhRjo.js → StepGeneralIdentityPersonalInfoComponent-Bew9tS4b.js} +9 -9
  153. package/chunk/{StepGeneralIdentityPersonalInfoComponent-DJ-NhRjo.js.map → StepGeneralIdentityPersonalInfoComponent-Bew9tS4b.js.map} +1 -1
  154. package/chunk/{StepHybridIdentityPersonalInfoComponent-DIJLJ-No.js → StepHybridIdentityPersonalInfoComponent-CkaUnpPE.js} +9 -9
  155. package/chunk/{StepHybridIdentityPersonalInfoComponent-DIJLJ-No.js.map → StepHybridIdentityPersonalInfoComponent-CkaUnpPE.js.map} +1 -1
  156. package/chunk/{StepHybridIdentityPersonalInfoComponent-BjSAtSa6.js → StepHybridIdentityPersonalInfoComponent-De_4SfjE.js} +9 -9
  157. package/chunk/{StepHybridIdentityPersonalInfoComponent-BjSAtSa6.js.map → StepHybridIdentityPersonalInfoComponent-De_4SfjE.js.map} +1 -1
  158. package/chunk/{StepIDCheckLoop-qIX2zLc8.js → StepIDCheckLoop-DmOAgdyO.js} +5 -5
  159. package/chunk/{StepIDCheckLoop-qIX2zLc8.js.map → StepIDCheckLoop-DmOAgdyO.js.map} +1 -1
  160. package/chunk/{StepIDCheckLoop-DUYjdP69.js → StepIDCheckLoop-_AGxi3GC.js} +5 -5
  161. package/chunk/{StepIDCheckLoop-DUYjdP69.js.map → StepIDCheckLoop-_AGxi3GC.js.map} +1 -1
  162. package/chunk/{StepIDCheckLoopOnfido-tvPCLWF8.js → StepIDCheckLoopOnfido-BpAfhFb8.js} +6 -6
  163. package/chunk/{StepIDCheckLoopOnfido-tvPCLWF8.js.map → StepIDCheckLoopOnfido-BpAfhFb8.js.map} +1 -1
  164. package/chunk/{StepIDCheckLoopOnfido-CV3kt9oK.js → StepIDCheckLoopOnfido-D-XL8iox.js} +6 -6
  165. package/chunk/{StepIDCheckLoopOnfido-CV3kt9oK.js.map → StepIDCheckLoopOnfido-D-XL8iox.js.map} +1 -1
  166. package/chunk/{StepIDCheckLoopRegula-De-6wF71.js → StepIDCheckLoopRegula-CbsEGFbq.js} +5 -5
  167. package/chunk/{StepIDCheckLoopRegula-De-6wF71.js.map → StepIDCheckLoopRegula-CbsEGFbq.js.map} +1 -1
  168. package/chunk/{StepIDCheckLoopRegula-BILUu5tf.js → StepIDCheckLoopRegula-lKBvVvCe.js} +5 -5
  169. package/chunk/{StepIDCheckLoopRegula-BILUu5tf.js.map → StepIDCheckLoopRegula-lKBvVvCe.js.map} +1 -1
  170. package/chunk/{StepLicensedProfessionalPersonalInfo-1usJS0LC.js → StepLicensedProfessionalPersonalInfo-BrWZJzLg.js} +13 -13
  171. package/chunk/{StepLicensedProfessionalPersonalInfo-1usJS0LC.js.map → StepLicensedProfessionalPersonalInfo-BrWZJzLg.js.map} +1 -1
  172. package/chunk/{StepLicensedProfessionalPersonalInfo-CG3ysYv5.js → StepLicensedProfessionalPersonalInfo-yU748Wst.js} +13 -13
  173. package/chunk/{StepLicensedProfessionalPersonalInfo-CG3ysYv5.js.map → StepLicensedProfessionalPersonalInfo-yU748Wst.js.map} +1 -1
  174. package/chunk/{StepLowIncomePersonalInfo-BDfU93Fg.js → StepLowIncomePersonalInfo-CGKliGEL.js} +13 -13
  175. package/chunk/{StepLowIncomePersonalInfo-BDfU93Fg.js.map → StepLowIncomePersonalInfo-CGKliGEL.js.map} +1 -1
  176. package/chunk/{StepLowIncomePersonalInfo-Gb1n2pGQ.js → StepLowIncomePersonalInfo-Dk4s2T13.js} +13 -13
  177. package/chunk/{StepLowIncomePersonalInfo-Gb1n2pGQ.js.map → StepLowIncomePersonalInfo-Dk4s2T13.js.map} +1 -1
  178. package/chunk/{StepMedicalProfessionalPersonalInfo-39h1tErA.js → StepMedicalProfessionalPersonalInfo-BPsyQNMI.js} +13 -13
  179. package/chunk/{StepMedicalProfessionalPersonalInfo-39h1tErA.js.map → StepMedicalProfessionalPersonalInfo-BPsyQNMI.js.map} +1 -1
  180. package/chunk/{StepMedicalProfessionalPersonalInfo-DMrAMdhg.js → StepMedicalProfessionalPersonalInfo-CZTvW0kE.js} +13 -13
  181. package/chunk/{StepMedicalProfessionalPersonalInfo-DMrAMdhg.js.map → StepMedicalProfessionalPersonalInfo-CZTvW0kE.js.map} +1 -1
  182. package/chunk/{StepMemberPersonalInfo-BaXygfnb.js → StepMemberPersonalInfo-BIsRx_uF.js} +11 -11
  183. package/chunk/{StepMemberPersonalInfo-BaXygfnb.js.map → StepMemberPersonalInfo-BIsRx_uF.js.map} +1 -1
  184. package/chunk/{StepMemberPersonalInfo-BcAmXMmQ.js → StepMemberPersonalInfo-DQG_HkVB.js} +11 -11
  185. package/chunk/{StepMemberPersonalInfo-BcAmXMmQ.js.map → StepMemberPersonalInfo-DQG_HkVB.js.map} +1 -1
  186. package/chunk/{StepMoverPersonalInfo-BaKNdrcZ.js → StepMoverPersonalInfo-CbH12Ryb.js} +8 -8
  187. package/chunk/{StepMoverPersonalInfo-BaKNdrcZ.js.map → StepMoverPersonalInfo-CbH12Ryb.js.map} +1 -1
  188. package/chunk/{StepMoverPersonalInfo-BGrXmC7p.js → StepMoverPersonalInfo-U4x0wEjX.js} +8 -8
  189. package/chunk/{StepMoverPersonalInfo-BGrXmC7p.js.map → StepMoverPersonalInfo-U4x0wEjX.js.map} +1 -1
  190. package/chunk/{StepOverrideComponent-Bs0kS5Fn.js → StepOverrideComponent-BO5fvDYL.js} +5 -5
  191. package/chunk/{StepOverrideComponent-Bs0kS5Fn.js.map → StepOverrideComponent-BO5fvDYL.js.map} +1 -1
  192. package/chunk/{StepOverrideComponent-BB3pmLMm.js → StepOverrideComponent-Cm8wpyht.js} +5 -5
  193. package/chunk/{StepOverrideComponent-BB3pmLMm.js.map → StepOverrideComponent-Cm8wpyht.js.map} +1 -1
  194. package/chunk/{StepSMSLoop-ChHl3FJv.js → StepSMSLoop-EbBlrcb0.js} +5 -5
  195. package/chunk/{StepSMSLoop-ChHl3FJv.js.map → StepSMSLoop-EbBlrcb0.js.map} +1 -1
  196. package/chunk/{StepSMSLoop-BzPFHGko.js → StepSMSLoop-uEIU5gnI.js} +5 -5
  197. package/chunk/{StepSMSLoop-BzPFHGko.js.map → StepSMSLoop-uEIU5gnI.js.map} +1 -1
  198. package/chunk/StepSSO-Bx1gQq5b.js +4 -4
  199. package/chunk/StepSSO-Cy9ViRyN.js +4 -4
  200. package/chunk/{StepSocialSecurityNumber-DWVLAzbC.js → StepSocialSecurityNumber-BhLxpxzZ.js} +6 -6
  201. package/chunk/{StepSocialSecurityNumber-DWVLAzbC.js.map → StepSocialSecurityNumber-BhLxpxzZ.js.map} +1 -1
  202. package/chunk/{StepSocialSecurityNumber-D-MJ_k8J.js → StepSocialSecurityNumber-C5enUjmE.js} +6 -6
  203. package/chunk/{StepSocialSecurityNumber-D-MJ_k8J.js.map → StepSocialSecurityNumber-C5enUjmE.js.map} +1 -1
  204. package/chunk/{StepStudentPersonalInfo-BBZZ7gam.js → StepStudentPersonalInfo-BEYtlF0D.js} +12 -12
  205. package/chunk/{StepStudentPersonalInfo-BBZZ7gam.js.map → StepStudentPersonalInfo-BEYtlF0D.js.map} +1 -1
  206. package/chunk/{StepStudentPersonalInfo-BUc4GbpM.js → StepStudentPersonalInfo-D5SeQJwZ.js} +12 -12
  207. package/chunk/{StepStudentPersonalInfo-BUc4GbpM.js.map → StepStudentPersonalInfo-D5SeQJwZ.js.map} +1 -1
  208. package/chunk/{StepSuccess-l84qE6Kp.js → StepSuccess-CN4QAYku.js} +5 -5
  209. package/chunk/{StepSuccess-l84qE6Kp.js.map → StepSuccess-CN4QAYku.js.map} +1 -1
  210. package/chunk/{StepSuccess-CZdiXPoC.js → StepSuccess-DXEe2YZh.js} +5 -5
  211. package/chunk/{StepSuccess-CZdiXPoC.js.map → StepSuccess-DXEe2YZh.js.map} +1 -1
  212. package/chunk/{StepTeacherPersonalInfo-BuMUyAcB.js → StepTeacherPersonalInfo-C3qXVaMk.js} +12 -12
  213. package/chunk/{StepTeacherPersonalInfo-BuMUyAcB.js.map → StepTeacherPersonalInfo-C3qXVaMk.js.map} +1 -1
  214. package/chunk/{StepTeacherPersonalInfo-Bn402aTO.js → StepTeacherPersonalInfo-DXulhHh2.js} +12 -12
  215. package/chunk/{StepTeacherPersonalInfo-Bn402aTO.js.map → StepTeacherPersonalInfo-DXulhHh2.js.map} +1 -1
  216. package/chunk/StepThirdPartyLoop-BFizJiyZ.js +4 -4
  217. package/chunk/StepThirdPartyLoop-C9d7QWS3.js +4 -4
  218. package/chunk/{TeacherSchoolComponent-uIDJa9LF.js → TeacherSchoolComponent-5408MiYe.js} +6 -6
  219. package/chunk/{TeacherSchoolComponent-uIDJa9LF.js.map → TeacherSchoolComponent-5408MiYe.js.map} +1 -1
  220. package/chunk/{TeacherSchoolComponent-D9ZZzXXt.js → TeacherSchoolComponent-BlSi0gfn.js} +6 -6
  221. package/chunk/{TeacherSchoolComponent-D9ZZzXXt.js.map → TeacherSchoolComponent-BlSi0gfn.js.map} +1 -1
  222. package/chunk/TestingRouteOverrides-Dq_tcy8v.js +4 -4
  223. package/chunk/TestingRouteOverrides-FmMiDhr9.js +4 -4
  224. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  225. package/chunk/{VerificationApiClient-D-j3JgWo.js → VerificationApiClient-C0lV_8hF.js} +5 -5
  226. package/chunk/{VerificationApiClient-D-j3JgWo.js.map → VerificationApiClient-C0lV_8hF.js.map} +1 -1
  227. package/chunk/{VerificationApiClient-DbvSVsoF.js → VerificationApiClient-hFBx5Mib.js} +5 -5
  228. package/chunk/{VerificationApiClient-DbvSVsoF.js.map → VerificationApiClient-hFBx5Mib.js.map} +1 -1
  229. package/chunk/ar-D5CO913q.js +4 -4
  230. package/chunk/bg-1mhA5kYF.js +4 -4
  231. package/chunk/bn-IN-CpDqyRb_.js +4 -4
  232. package/chunk/clsx-DC8twM4t.js +4 -4
  233. package/chunk/countryUtils-B1IlO46W.js +12 -0
  234. package/chunk/{countryUtils-Ckbc78Ow.js.map → countryUtils-B1IlO46W.js.map} +1 -1
  235. package/chunk/{countryUtils-DGu3xN9n.js → countryUtils-Ce-JCROO.js} +5 -5
  236. package/chunk/{countryUtils-DGu3xN9n.js.map → countryUtils-Ce-JCROO.js.map} +1 -1
  237. package/chunk/cs-Chh7FAGt.js +4 -4
  238. package/chunk/da-DwrVoxto.js +4 -4
  239. package/chunk/de-IWGZLhgY.js +4 -4
  240. package/chunk/downshift.esm-BHmrbwB5.js +4 -4
  241. package/chunk/downshift.esm-Bo38bpfV.js +4 -4
  242. package/chunk/el-DbDcvSPJ.js +4 -4
  243. package/chunk/empties-DtevBq9w.js +4 -4
  244. package/chunk/empties-xLh6FzDA.js +4 -4
  245. package/chunk/en-GB-CNQ8Ww2j.js +4 -4
  246. package/chunk/es-ES-DWimqEZ_.js +4 -4
  247. package/chunk/es-qhC-seq5.js +4 -4
  248. package/chunk/et-yF9G-Mym.js +4 -4
  249. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  250. package/chunk/fa-BcdSf7og.js +4 -4
  251. package/chunk/fi-D-IP_KHm.js +4 -4
  252. package/chunk/fr-BmUuYxk0.js +4 -4
  253. package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
  254. package/chunk/ga-DuZycND3.js +4 -4
  255. package/chunk/getInstallType-BRxisNNY.js +4 -4
  256. package/chunk/getInstallType-DlS_DNKt.js +4 -4
  257. package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
  258. package/chunk/hooks-D4L3tNqJ.js +4 -4
  259. package/chunk/hooks-D4L3tNqJ.js.map +1 -1
  260. package/chunk/hooks-df3XJbin.js +4 -4
  261. package/chunk/hooks-df3XJbin.js.map +1 -1
  262. package/chunk/hr-BtqyDzDB.js +4 -4
  263. package/chunk/hu-C6syKJfb.js +4 -4
  264. package/chunk/id-GgI-Z2a5.js +4 -4
  265. package/chunk/index.es-Cir3-TDI.js +4 -4
  266. package/chunk/index.es-Dw43pp1V.js +4 -4
  267. package/chunk/is-CvmKEON9.js +4 -4
  268. package/chunk/it-CnmveGgC.js +4 -4
  269. package/chunk/iw-DFUYHkxF.js +4 -4
  270. package/chunk/ja-CjVb2tWW.js +4 -4
  271. package/chunk/jsx-runtime-DQgZVOUX.js +4 -4
  272. package/chunk/jsx-runtime-h9ybVYa3.js +4 -4
  273. package/chunk/kk-Dvz4nK6K.js +4 -4
  274. package/chunk/ko-DzOqBMGC.js +4 -4
  275. package/chunk/lo-C2WPq55d.js +4 -4
  276. package/chunk/lt-BSDYvjTF.js +4 -4
  277. package/chunk/lv-CefDPT-M.js +4 -4
  278. package/chunk/mockProgramBranding-C9Ysu3Mp.js +4 -4
  279. package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
  280. package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
  281. package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
  282. package/chunk/mocks-D7frr82N.js +4 -4
  283. package/chunk/mocks-jT71x7MH.js +4 -4
  284. package/chunk/ms-BjestZxy.js +4 -4
  285. package/chunk/nl-B1FyUfCT.js +4 -4
  286. package/chunk/nl-BE-CbeAd3nq.js +4 -4
  287. package/chunk/no-Dr633Ddi.js +4 -4
  288. package/chunk/pl-UYTjMIq_.js +4 -4
  289. package/chunk/programThemeGetters-B2hrl_I4.js +4 -4
  290. package/chunk/programThemeGetters-BhNmQw7_.js +4 -4
  291. package/chunk/pt-BR-C8SYMT-J.js +4 -4
  292. package/chunk/pt-uH-M3GdN.js +4 -4
  293. package/chunk/refs-Mq0rtW9K.js +4 -4
  294. package/chunk/ro-CAOSXZ7h.js +4 -4
  295. package/chunk/ru-iwYoEydL.js +4 -4
  296. package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
  297. package/chunk/sk-DYYNV3zw.js +4 -4
  298. package/chunk/sl-D_-eeM5N.js +4 -4
  299. package/chunk/sr-BTi9_anL.js +4 -4
  300. package/chunk/stepComponentHelpers-3SlH9niv.js +4 -4
  301. package/chunk/stepComponentHelpers-BcYAcI_q.js +4 -4
  302. package/chunk/strings-DWLVdUcm.js +4 -4
  303. package/chunk/sv-DRwY4shG.js +4 -4
  304. package/chunk/sw-Bvj2mYmM.js +4 -4
  305. package/chunk/ta-CmtaYoNe.js +4 -4
  306. package/chunk/th-12r2yKkJ.js +4 -4
  307. package/chunk/tl-BGNfO7md.js +4 -4
  308. package/chunk/tr-DH2ZSJhs.js +4 -4
  309. package/chunk/uk-CELBZlTd.js +4 -4
  310. package/chunk/ur-MR8DTbmd.js +4 -4
  311. package/chunk/{useCollectFieldsEndpoint-CE4ZmnRu.js → useCollectFieldsEndpoint-CXRJZGXN.js} +6 -6
  312. package/chunk/{useCollectFieldsEndpoint-CE4ZmnRu.js.map → useCollectFieldsEndpoint-CXRJZGXN.js.map} +1 -1
  313. package/chunk/{useCollectFieldsEndpoint-1jasoT_J.js → useCollectFieldsEndpoint-axkugAWT.js} +6 -6
  314. package/chunk/{useCollectFieldsEndpoint-1jasoT_J.js.map → useCollectFieldsEndpoint-axkugAWT.js.map} +1 -1
  315. package/chunk/useMetrics-B96ha_3m.js +4 -4
  316. package/chunk/useMetrics-BV3Mnauz.js +4 -4
  317. package/chunk/vi-DtZ-SqD5.js +4 -4
  318. package/chunk/zh-DjyVyYac.js +4 -4
  319. package/chunk/zh-HK-CN1HarHq.js +4 -4
  320. package/chunk/zu-DPhgIh1z.js +4 -4
  321. package/package.json +1 -1
  322. package/sheerid-install.css +4 -4
  323. package/sheerid-install.js +4 -4
  324. package/sheerid.css +4 -4
  325. package/sheerid.js +36 -36
  326. package/chunk/countryUtils-Ckbc78Ow.js +0 -12
@@ -1 +1 @@
1
- {"version":3,"file":"StepTeacherPersonalInfo-BuMUyAcB.js","names":["FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","getOptions","__toESM","VerificationStepsEnum","require_jsx_runtime","useProgramConfiguration","hasFailedInstantMatch","FormattedHTMLMessage","PersonalInfoHeader","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","shouldCollectPostalCode","TeacherSchoolComponent","import_react","require_react","import_jsx_runtime","StepTeacherPersonalInfoComponent","programConfiguration","verificationService","verificationResponse","failedInstantMatch","options","locale","viewModel","updateTeacherViewModel","nextState","key","value","existing","id","fieldValidationErrors","choice","newValue","event"],"sources":["../../src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\nimport React, { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { shouldCollectPostalCode } from \"../../lib/organization/organization\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n CustomFormFieldConfig,\n Organization,\n TeacherPersonalInfoResponse,\n TeacherPersonalInfoViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\n\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { TeacherSchoolComponent } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepTeacherPersonalInfoComponentProps {\n verificationService: VerificationService<TeacherPersonalInfoViewModel>;\n}\n\nconst StepTeacherPersonalInfo = ({\n verificationService,\n}: StepTeacherPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const { viewModel } = verificationService;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as TeacherPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const locale = viewModel.localeChoice.value;\n const updateTeacherViewModel = (key: keyof TeacherPersonalInfoViewModel, value: any) => {\n const nextState = {\n [key]: value,\n };\n verificationService.updateViewModel(nextState, { partial: true });\n };\n\n // Don't validate DOB if ID Check is not enabled\n useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"birthDate\",\n );\n if (!programConfiguration.idCheckAddOnEnabled) {\n updateTeacherViewModel(\"birthDate\", \"\");\n updateTeacherViewModel(\"fieldsToSkipValidation\", [...existing, \"birthDate\"]);\n } else {\n updateTeacherViewModel(\"fieldsToSkipValidation\", existing);\n }\n }, [programConfiguration.idCheckAddOnEnabled]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"teacher-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <TeacherSchoolComponent\n value={verificationService.viewModel.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 <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"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 updateTeacherViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n {programConfiguration.idCheckAddOnEnabled ? (\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n ) : null}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Must be your school-issued email address\"\n />\n }\n onChange={(newValue) => {\n updateTeacherViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateTeacherViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldCollectPostalCode(programConfiguration, viewModel) ? (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateTeacherViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n ) : null}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateTeacherViewModel(\"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.collectTeacherPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Teacher Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepTeacherPersonalInfoComponent = StepTeacherPersonalInfo;\nfunction userDidConvert(COLLECT_INFO_SUBMIT: any, COLLECT_INFO_SUBMISSION_TIME: any) {\n throw new Error(\"Function not implemented.\");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;A,4CAsNaqC,KAzKoB,EAC/B,6BAC2C;CAC3C,IAAMC,IAAuB5B,EAAwB,GAC/C,EAAE,iBAAc6B,GAChB,EAAE,6BAA0BA,GAC5BC,IACJD,EAAoB,sBAChBE,IAAqB9B,EAAsB6B,CAAoB,GAC/DE,IAAUpC,EAAW,GACrBqC,IAASC,EAAU,aAAa,OAChCC,KAA0B,GAAyC,MAAe;EACtF,IAAMC,IAAY,GACfC,IAAMC,EACT;EACA,EAAoB,gBAAgBF,GAAW,EAAE,SAAS,GAAK,CAAC;CAClE;CAeA,QAZA,GAAAZ,EAAA,UAAA,OAAgB;EACd,IAAMe,KAAYV,EAAoB,WAAW,0BAA0B,CAAC,EAAA,CAAG,QAC5E,MAAOW,MAAO,WACjB;EACA,AAAKZ,EAAqB,sBAIxBO,EAAuB,0BAA0BI,CAAQ,KAHzDJ,EAAuB,aAAa,EAAE,GACtCA,EAAuB,0BAA0B,CAAC,GAAGI,GAAU,WAAW,CAAC;CAI/E,GAA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AAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAAN,EAAA,IAAA,CAAChB,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GACD,iBAAA,GAAAgB,EAAA,IAAA,CAAC/B,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC8C,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAN,EAAuB,YAAY;MACjC,GAAGN,EAAoB,UAAU;MACjC,oBAAoBc;KACtB,CAAC,GACDvC,EAAqC,sBAAsBuC,GAAUd,CAAmB;IAC1F;IACW;IACX,UAAUtB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GACD,iBAAA,GAAAmB,EAAA,IAAA,CAACP,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAO,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC4B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAf,EAAA,IAAA,CAACX,GAAD;IACE,MAAMjB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA4B,EAAA,IAAA,CAACxB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepTeacherPersonalInfo-C3qXVaMk.js","names":["FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","getOptions","__toESM","VerificationStepsEnum","require_jsx_runtime","useProgramConfiguration","hasFailedInstantMatch","FormattedHTMLMessage","PersonalInfoHeader","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","shouldCollectPostalCode","TeacherSchoolComponent","import_react","require_react","import_jsx_runtime","StepTeacherPersonalInfoComponent","programConfiguration","verificationService","verificationResponse","failedInstantMatch","options","locale","viewModel","updateTeacherViewModel","nextState","key","value","existing","id","fieldValidationErrors","choice","newValue","event"],"sources":["../../src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\nimport React, { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { shouldCollectPostalCode } from \"../../lib/organization/organization\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n CustomFormFieldConfig,\n Organization,\n TeacherPersonalInfoResponse,\n TeacherPersonalInfoViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\n\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { TeacherSchoolComponent } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepTeacherPersonalInfoComponentProps {\n verificationService: VerificationService<TeacherPersonalInfoViewModel>;\n}\n\nconst StepTeacherPersonalInfo = ({\n verificationService,\n}: StepTeacherPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const { viewModel } = verificationService;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as TeacherPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const locale = viewModel.localeChoice.value;\n const updateTeacherViewModel = (key: keyof TeacherPersonalInfoViewModel, value: any) => {\n const nextState = {\n [key]: value,\n };\n verificationService.updateViewModel(nextState, { partial: true });\n };\n\n // Don't validate DOB if ID Check is not enabled\n useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"birthDate\",\n );\n if (!programConfiguration.idCheckAddOnEnabled) {\n updateTeacherViewModel(\"birthDate\", \"\");\n updateTeacherViewModel(\"fieldsToSkipValidation\", [...existing, \"birthDate\"]);\n } else {\n updateTeacherViewModel(\"fieldsToSkipValidation\", existing);\n }\n }, [programConfiguration.idCheckAddOnEnabled]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"teacher-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <TeacherSchoolComponent\n value={verificationService.viewModel.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 <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"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 updateTeacherViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n {programConfiguration.idCheckAddOnEnabled ? (\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n ) : null}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Must be your school-issued email address\"\n />\n }\n onChange={(newValue) => {\n updateTeacherViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateTeacherViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldCollectPostalCode(programConfiguration, viewModel) ? (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateTeacherViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n ) : null}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateTeacherViewModel(\"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.collectTeacherPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Teacher Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepTeacherPersonalInfoComponent = StepTeacherPersonalInfo;\nfunction userDidConvert(COLLECT_INFO_SUBMIT: any, COLLECT_INFO_SUBMISSION_TIME: any) {\n throw new Error(\"Function not implemented.\");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;A,4CAsNaqC,KAzKoB,EAC/B,6BAC2C;CAC3C,IAAMC,IAAuB5B,EAAwB,GAC/C,EAAE,iBAAc6B,GAChB,EAAE,6BAA0BA,GAC5BC,IACJD,EAAoB,sBAChBE,IAAqB9B,EAAsB6B,CAAoB,GAC/DE,IAAUpC,EAAW,GACrBqC,IAASC,EAAU,aAAa,OAChCC,KAA0B,GAAyC,MAAe;EACtF,IAAMC,IAAY,GACfC,IAAMC,EACT;EACA,EAAoB,gBAAgBF,GAAW,EAAE,SAAS,GAAK,CAAC;CAClE;CAeA,QAZA,GAAAZ,EAAA,UAAA,OAAgB;EACd,IAAMe,KAAYV,EAAoB,WAAW,0BAA0B,CAAC,EAAA,CAAG,QAC5E,MAAOW,MAAO,WACjB;EACA,AAAKZ,EAAqB,sBAIxBO,EAAuB,0BAA0BI,CAAQ,KAHzDJ,EAAuB,aAAa,EAAE,GACtCA,EAAuB,0BAA0B,CAAC,GAAGI,GAAU,WAAW,CAAC;CAI/E,GAAG,CAACX,EAAqB,mBAAmB,CAAC,GAG3C,iBAAA,GAAAF,EAAA,KAAA,CAACL,GAAD;EACuB;EACrB,MAAMS,EAAqB;EAF7B,UAAA;GAIE,iBAAA,GAAAJ,EAAA,IAAA,CAACvB,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAAuB,EAAA,IAAA,CAACN,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAAM,EAAA,IAAA,CAACR,GAAD;IACuB;IACrB,UAAUX,EAAwB,SAAS,CAAC,EAAE;GAC/C,CAAA;GACD,iBAAA,GAAAmB,EAAA,IAAA,CAACH,GAAD;IACE,OAAOM,EAAoB,UAAU;IAChB;IACrB,WAAW,CAAC,CAACY,EAAsB;IACnC,UAAUlC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A,GAAAO,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC4B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAf,EAAA,IAAA,CAACX,GAAD;IACE,MAAMjB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA4B,EAAA,IAAA,CAACxB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -1,28 +1,28 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.316.0
4
- * BUILD_TIMESTAMP: 1793815392848
5
- * BUILD_DATE: Wed Nov 04 2026 18:03:12 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
3
+ * VERSION: 2.318.0
4
+ * BUILD_TIMESTAMP: 1793833682219
5
+ * BUILD_DATE: Wed Nov 04 2026 23:08:02 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
7
7
  */
8
8
  import { y as e, zt as t } from "./empties-xLh6FzDA.js";
9
9
  import { r as n, t as r } from "./jsx-runtime-h9ybVYa3.js";
10
10
  import { o as i } from "./programThemeGetters-BhNmQw7_.js";
11
11
  import { b as a } from "./runtimeTypes-B2AGNJMT.js";
12
- import { h as o } from "./FormFooterComponent-CCnomymd.js";
12
+ import { h as o } from "./FormFooterComponent-Ci3-eCIX.js";
13
13
  import { t as s } from "./index.es-Dw43pp1V.js";
14
14
  import { n as c } from "../sheerid.js";
15
15
  import { d as l, f as u, r as d, t as f } from "./stepComponentHelpers-BcYAcI_q.js";
16
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-Da7DkPA_.js";
16
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-Dqo1kgeK.js";
17
17
  import { n as y, t as b } from "./PersonalInfoStepSubmitButton-jF2Q-TQ1.js";
18
- import { t as x } from "./BirthDateComponent-BwcAqOFe.js";
18
+ import { t as x } from "./BirthDateComponent-DCF1BrYZ.js";
19
19
  import { t as S } from "./PostalCodeComponent-DOaiP-XH.js";
20
- import { t as C } from "./CountryComponentWrapper-PZKJeo-8.js";
20
+ import { t as C } from "./CountryComponentWrapper-B6ekcGSw.js";
21
21
  import { t as w } from "./ExtraMessage-Dy5YujvI.js";
22
- import { t as T } from "./ChangeLocaleComponent-CUEmQuoA.js";
23
- import { t as E } from "./PersonalInfoStepWrapper-8bWmgyhA.js";
24
- import { n as D } from "./FormFieldTypeahead-CoH3Km-j.js";
25
- import { t as O } from "./TeacherSchoolComponent-D9ZZzXXt.js";
22
+ import { t as T } from "./ChangeLocaleComponent-WuEDLKSJ.js";
23
+ import { t as E } from "./PersonalInfoStepWrapper-DMq0FLJW.js";
24
+ import { n as D } from "./FormFieldTypeahead-BAJbuBg6.js";
25
+ import { t as O } from "./TeacherSchoolComponent-BlSi0gfn.js";
26
26
  //#region src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.tsx
27
27
  var k = /* @__PURE__ */ t(n(), 1), A = r(), j = ({ verificationService: t }) => {
28
28
  let n = i(), { viewModel: r } = t, { fieldValidationErrors: j } = t, M = t.verificationResponse, N = o(M), P = e(), F = r.localeChoice.value, I = (e, n) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepTeacherPersonalInfo-Bn402aTO.js","names":["FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","getOptions","__toESM","require_react","require_jsx_runtime","useProgramConfiguration","VerificationStepsEnum","hasFailedInstantMatch","FormattedHTMLMessage","PersonalInfoHeader","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","shouldCollectPostalCode","TeacherSchoolComponent","import_react","import_jsx_runtime","StepTeacherPersonalInfoComponent","programConfiguration","verificationService","verificationResponse","failedInstantMatch","options","locale","viewModel","updateTeacherViewModel","nextState","key","value","existing","id","fieldValidationErrors","choice","newValue","event"],"sources":["../../src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\nimport React, { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { shouldCollectPostalCode } from \"../../lib/organization/organization\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n CustomFormFieldConfig,\n Organization,\n TeacherPersonalInfoResponse,\n TeacherPersonalInfoViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\n\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { TeacherSchoolComponent } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepTeacherPersonalInfoComponentProps {\n verificationService: VerificationService<TeacherPersonalInfoViewModel>;\n}\n\nconst StepTeacherPersonalInfo = ({\n verificationService,\n}: StepTeacherPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const { viewModel } = verificationService;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as TeacherPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const locale = viewModel.localeChoice.value;\n const updateTeacherViewModel = (key: keyof TeacherPersonalInfoViewModel, value: any) => {\n const nextState = {\n [key]: value,\n };\n verificationService.updateViewModel(nextState, { partial: true });\n };\n\n // Don't validate DOB if ID Check is not enabled\n useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"birthDate\",\n );\n if (!programConfiguration.idCheckAddOnEnabled) {\n updateTeacherViewModel(\"birthDate\", \"\");\n updateTeacherViewModel(\"fieldsToSkipValidation\", [...existing, \"birthDate\"]);\n } else {\n updateTeacherViewModel(\"fieldsToSkipValidation\", existing);\n }\n }, [programConfiguration.idCheckAddOnEnabled]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"teacher-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <TeacherSchoolComponent\n value={verificationService.viewModel.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 <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"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 updateTeacherViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n {programConfiguration.idCheckAddOnEnabled ? (\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n ) : null}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Must be your school-issued email address\"\n />\n }\n onChange={(newValue) => {\n updateTeacherViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateTeacherViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldCollectPostalCode(programConfiguration, viewModel) ? (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateTeacherViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n ) : null}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateTeacherViewModel(\"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.collectTeacherPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Teacher Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepTeacherPersonalInfoComponent = StepTeacherPersonalInfo;\nfunction userDidConvert(COLLECT_INFO_SUBMIT: any, COLLECT_INFO_SUBMISSION_TIME: any) {\n throw new Error(\"Function not implemented.\");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;A,4CAsNaqC,KAzKoB,EAC/B,6BAC2C;CAC3C,IAAMC,IAAuB5B,EAAwB,GAC/C,EAAE,iBAAc6B,GAChB,EAAE,6BAA0BA,GAC5BC,IACJD,EAAoB,sBAChBE,IAAqB7B,EAAsB4B,CAAoB,GAC/DE,IAAUpC,EAAW,GACrBqC,IAASC,EAAU,aAAa,OAChCC,KAA0B,GAAyC,MAAe;EACtF,IAAMC,IAAY,GACfC,IAAMC,EACT;EACA,EAAoB,gBAAgBF,GAAW,EAAE,SAAS,GAAK,CAAC;CAClE;CAeA,QAZA,GAAAX,EAAA,UAAA,OAAgB;EACd,IAAMc,KAAYV,EAAoB,WAAW,0BAA0B,CAAC,EAAA,CAAG,QAC5E,MAAOW,MAAO,WACjB;EACA,AAAKZ,EAAqB,sBAIxBO,EAAuB,0BAA0BI,CAAQ,KAHzDJ,EAAuB,aAAa,EAAE,GACtCA,EAAuB,0BAA0B,CAAC,GAAGI,GAAU,WAAW,CAAC;CAI/E,GAAG,CAACX,EAAqB,mBAAmB,CAAC,GAG3C,iBAAA,GAAAF,EAAA,KAAA,CAACJ,GAAD;EACuB;EACrB,MAAMQ,EAAqB;EAF7B,UAAA;GAIE,iBAAA,GAAAJ,EAAA,IAAA,CAACtB,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAAsB,EAAA,IAAA,CAACL,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAAK,EAAA,IAAA,CAACP,GAAD;IACuB;IACrB,UAAUX,EAAwB,SAAS,CAAC,EAAE;GAC/C,CAAA;GACD,iBAAA,GAAAkB,EAAA,IAAA,CAACF,GAAD;IACE,OAAOK,EAAoB,UAAU;IAChB;IACr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IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAM,EAAA,IAAA,CAACZ,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC2B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAf,EAAA,IAAA,CAACV,GAAD;IACE,MAAMf,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAAyB,EAAA,IAAA,CAACvB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepTeacherPersonalInfo-DXulhHh2.js","names":["FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","getOptions","__toESM","require_react","require_jsx_runtime","useProgramConfiguration","VerificationStepsEnum","hasFailedInstantMatch","FormattedHTMLMessage","PersonalInfoHeader","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","shouldCollectPostalCode","TeacherSchoolComponent","import_react","import_jsx_runtime","StepTeacherPersonalInfoComponent","programConfiguration","verificationService","verificationResponse","failedInstantMatch","options","locale","viewModel","updateTeacherViewModel","nextState","key","value","existing","id","fieldValidationErrors","choice","newValue","event"],"sources":["../../src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\nimport React, { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { shouldCollectPostalCode } from \"../../lib/organization/organization\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n CustomFormFieldConfig,\n Organization,\n TeacherPersonalInfoResponse,\n TeacherPersonalInfoViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\n\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { TeacherSchoolComponent } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepTeacherPersonalInfoComponentProps {\n verificationService: VerificationService<TeacherPersonalInfoViewModel>;\n}\n\nconst StepTeacherPersonalInfo = ({\n verificationService,\n}: StepTeacherPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const { viewModel } = verificationService;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as TeacherPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const locale = viewModel.localeChoice.value;\n const updateTeacherViewModel = (key: keyof TeacherPersonalInfoViewModel, value: any) => {\n const nextState = {\n [key]: value,\n };\n verificationService.updateViewModel(nextState, { partial: true });\n };\n\n // Don't validate DOB if ID Check is not enabled\n useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"birthDate\",\n );\n if (!programConfiguration.idCheckAddOnEnabled) {\n updateTeacherViewModel(\"birthDate\", \"\");\n updateTeacherViewModel(\"fieldsToSkipValidation\", [...existing, \"birthDate\"]);\n } else {\n updateTeacherViewModel(\"fieldsToSkipValidation\", existing);\n }\n }, [programConfiguration.idCheckAddOnEnabled]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"teacher-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <TeacherSchoolComponent\n value={verificationService.viewModel.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 <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"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 updateTeacherViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n {programConfiguration.idCheckAddOnEnabled ? (\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n ) : null}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Must be your school-issued email address\"\n />\n }\n onChange={(newValue) => {\n updateTeacherViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateTeacherViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldCollectPostalCode(programConfiguration, viewModel) ? (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateTeacherViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n ) : null}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateTeacherViewModel(\"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.collectTeacherPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Teacher Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepTeacherPersonalInfoComponent = StepTeacherPersonalInfo;\nfunction userDidConvert(COLLECT_INFO_SUBMIT: any, COLLECT_INFO_SUBMISSION_TIME: any) {\n throw new Error(\"Function not implemented.\");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;A,4CAsNaqC,KAzKoB,EAC/B,6BAC2C;CAC3C,IAAMC,IAAuB5B,EAAwB,GAC/C,EAAE,iBAAc6B,GAChB,EAAE,6BAA0BA,GAC5BC,IACJD,EAAoB,sBAChBE,IAAqB7B,EAAsB4B,CAAoB,GAC/DE,IAAUpC,EAAW,GACrBqC,IAASC,EAAU,aAAa,OAChCC,KAA0B,GAAyC,MAAe;EACtF,IAAMC,IAAY,GACfC,IAAMC,EACT;EACA,EAAoB,gBAAgBF,GAAW,EA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edf7c454e7b96109378831b676a31ea9eb
3
+ * VERSION: 2.318.0
4
+ * BUILD_TIMESTAMP: 1793833682219
5
+ * BUILD_DATE: Wed Nov 04 2026 23:08:02 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
7
7
  */
8
8
  export { k as default } from "../sheerid.js";
@@ -4,9 +4,9 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.316.0
8
- * BUILD_TIMESTAMP: 1793815397313
9
- * BUILD_DATE: Wed Nov 04 2026 18:03:17 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
7
+ * VERSION: 2.318.0
8
+ * BUILD_TIMESTAMP: 1793833687046
9
+ * BUILD_DATE: Wed Nov 04 2026 23:08:07 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
11
11
  */
12
12
  export { O as default } from "../_mysheerid-preview.js";
@@ -4,19 +4,19 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.316.0
8
- * BUILD_TIMESTAMP: 1793815397313
9
- * BUILD_DATE: Wed Nov 04 2026 18:03:17 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
7
+ * VERSION: 2.318.0
8
+ * BUILD_TIMESTAMP: 1793833687046
9
+ * BUILD_DATE: Wed Nov 04 2026 23:08:07 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
11
11
  */
12
12
  import { g as e } from "./empties-DtevBq9w.js";
13
13
  import { t } from "./jsx-runtime-DQgZVOUX.js";
14
14
  import { n } from "./Message-B40rYRnQ.js";
15
15
  import { o as r } from "./programThemeGetters-B2hrl_I4.js";
16
- import { x as i } from "./FormFooterComponent-BNcMAlwo.js";
16
+ import { x as i } from "./FormFooterComponent-Du_HeEF3.js";
17
17
  import { t as a } from "./index.es-Cir3-TDI.js";
18
18
  import { t as o } from "./stepComponentHelpers-3SlH9niv.js";
19
- import { t as s } from "./FormFieldTypeahead-CP2_PAIw.js";
19
+ import { t as s } from "./FormFieldTypeahead-CfqEB4jD.js";
20
20
  //#region src/components/FormFields/TeacherSchool/TeacherSchoolComponent.tsx
21
21
  var c = t(), l = ({ value: t, isErrored: l, onChange: u, verificationService: d, placeholder: f = "", isRequired: p = !0, disabled: m = !1 }) => {
22
22
  let h = r(), { msg: g } = n(), _ = (e().urlAddSchoolForm || "").trim();
@@ -1 +1 @@
1
- {"version":3,"file":"TeacherSchoolComponent-uIDJa9LF.js","names":["getOptions","useProgramConfiguration","getOrgSearchUrl","FormattedHTMLMessage","getFieldConfigByFieldId","FormFieldTypeahead","import_jsx_runtime","require_jsx_runtime","TeacherSchoolComponent","programConfiguration","useMessage","urlAddSchoolForm","onChange","choice","placeholder","msg","isErrored","verificationService"],"sources":["../../src/components/FormFields/TeacherSchool/TeacherSchoolComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { getOrgSearchUrl } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { getOptions } from \"../../../options/options\";\n\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\n\nexport const TeacherSchoolComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n isRequired = true,\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const programConfiguration = useProgramConfiguration();\n const { msg } = useMessage();\n const urlAddSchoolForm = (getOptions().urlAddSchoolForm || \"\").trim();\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"teacher-school\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={placeholder || msg({ id: \"schoolNamePlaceholder\" })}\n label={<FormattedHTMLMessage id=\"schoolName\" defaultMessage=\"School name\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired={isRequired}\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, programConfiguration)}\n urlAddSchoolForm={urlAddSchoolForm}\n disabled={disabled}\n />\n );\n};\n"],"mappings":";;;;;;;;;A,aAiBaQ,KAA0B,EACrC,UACA,cACA,aACA,wBACA,iBAAc,IACd,gBAAa,IACb,cAAW,SAC6C;CACxD,IAAMC,IAAuBR,EAAwB,GAC/C,EAAE,WAAQS,EAAW,GACrBC,KAAoBX,EAAW,CAAC,CAAC,oBAAoB,GAAA,CAAI,KAAK;CAQpE,OANsBI,EAAwB,cAAc,CAAC,EAAE,SAGtD,OAIP,iBAAA,GAAAE,EAAA,IAAA,CAACD,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyBO,EAASC,CAAM;EACnD,aAAaC,KAAeC,EAAI,EAAE,IAAI,wBAAwB,CAAC;EAC/D,OAAO,iBAAA,GAAAT,EAAA,IAAA,CAACH,GAAD;GAAsB,IAAG;GAAa,gBAAe;EAAe,CAAA;EAC3E,cACEa,KACE,iBAAA,GAAAV,EAAA,IAAA,CAACH,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGL,6BAA6B,CAAC,CAACW;EACnB;EACZ,cAAcZ,EAAgBe,EAAoB,WAAWR,CAAoB;EAC/D;EACR;CACX,CAAA;AAEL"}
1
+ {"version":3,"file":"TeacherSchoolComponent-5408MiYe.js","names":["getOptions","useProgramConfiguration","getOrgSearchUrl","FormattedHTMLMessage","getFieldConfigByFieldId","FormFieldTypeahead","import_jsx_runtime","require_jsx_runtime","TeacherSchoolComponent","programConfiguration","useMessage","urlAddSchoolForm","onChange","choice","placeholder","msg","isErrored","verificationService"],"sources":["../../src/components/FormFields/TeacherSchool/TeacherSchoolComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { getOrgSearchUrl } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { getOptions } from \"../../../options/options\";\n\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\n\nexport const TeacherSchoolComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n isRequired = true,\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const programConfiguration = useProgramConfiguration();\n const { msg } = useMessage();\n const urlAddSchoolForm = (getOptions().urlAddSchoolForm || \"\").trim();\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"teacher-school\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={placeholder || msg({ id: \"schoolNamePlaceholder\" })}\n label={<FormattedHTMLMessage id=\"schoolName\" defaultMessage=\"School name\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired={isRequired}\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, programConfiguration)}\n urlAddSchoolForm={urlAddSchoolForm}\n disabled={disabled}\n />\n );\n};\n"],"mappings":";;;;;;;;;A,aAiBaQ,KAA0B,EACrC,UACA,cACA,aACA,wBACA,iBAAc,IACd,gBAAa,IACb,cAAW,SAC6C;CACxD,IAAMC,IAAuBR,EAAwB,GAC/C,EAAE,WAAQS,EAAW,GACrBC,KAAoBX,EAAW,CAAC,CAAC,oBAAoB,GAAA,CAAI,KAAK;CAQpE,OANsBI,EAAwB,cAAc,CAAC,EAAE,SAGtD,OAIP,iBAAA,GAAAE,EAAA,IAAA,CAACD,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyBO,EAASC,CAAM;EACnD,aAAaC,KAAeC,EAAI,EAAE,IAAI,wBAAwB,CAAC;EAC/D,OAAO,iBAAA,GAAAT,EAAA,IAAA,CAACH,GAAD;GAAsB,IAAG;GAAa,gBAAe;EAAe,CAAA;EAC3E,cACEa,KACE,iBAAA,GAAAV,EAAA,IAAA,CAACH,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGL,6BAA6B,CAAC,CAACW;EACnB;EACZ,cAAcZ,EAAgBe,EAAoB,WAAWR,CAAoB;EAC/D;EACR;CACX,CAAA;AAEL"}
@@ -1,18 +1,18 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.316.0
4
- * BUILD_TIMESTAMP: 1793815392848
5
- * BUILD_DATE: Wed Nov 04 2026 18:03:12 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
3
+ * VERSION: 2.318.0
4
+ * BUILD_TIMESTAMP: 1793833682219
5
+ * BUILD_DATE: Wed Nov 04 2026 23:08:02 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
7
7
  */
8
8
  import { y as e } from "./empties-xLh6FzDA.js";
9
9
  import { t } from "./jsx-runtime-h9ybVYa3.js";
10
10
  import { o as n } from "./programThemeGetters-BhNmQw7_.js";
11
11
  import { n as r } from "./Message-DeYfEIfJ.js";
12
- import { w as i } from "./FormFooterComponent-CCnomymd.js";
12
+ import { w as i } from "./FormFooterComponent-Ci3-eCIX.js";
13
13
  import { t as a } from "./index.es-Dw43pp1V.js";
14
14
  import { t as o } from "./stepComponentHelpers-BcYAcI_q.js";
15
- import { t as s } from "./FormFieldTypeahead-CoH3Km-j.js";
15
+ import { t as s } from "./FormFieldTypeahead-BAJbuBg6.js";
16
16
  //#region src/components/FormFields/TeacherSchool/TeacherSchoolComponent.tsx
17
17
  var c = t(), l = ({ value: t, isErrored: l, onChange: u, verificationService: d, placeholder: f = "", isRequired: p = !0, disabled: m = !1 }) => {
18
18
  let h = n(), { msg: g } = r(), _ = (e().urlAddSchoolForm || "").trim();
@@ -1 +1 @@
1
- {"version":3,"file":"TeacherSchoolComponent-D9ZZzXXt.js","names":["getOptions","useProgramConfiguration","useMessage","getOrgSearchUrl","FormattedHTMLMessage","getFieldConfigByFieldId","FormFieldTypeahead","import_jsx_runtime","require_jsx_runtime","TeacherSchoolComponent","programConfiguration","urlAddSchoolForm","onChange","choice","placeholder","msg","isErrored","verificationService"],"sources":["../../src/components/FormFields/TeacherSchool/TeacherSchoolComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { getOrgSearchUrl } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { getOptions } from \"../../../options/options\";\n\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\n\nexport const TeacherSchoolComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n isRequired = true,\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const programConfiguration = useProgramConfiguration();\n const { msg } = useMessage();\n const urlAddSchoolForm = (getOptions().urlAddSchoolForm || \"\").trim();\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"teacher-school\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={placeholder || msg({ id: \"schoolNamePlaceholder\" })}\n label={<FormattedHTMLMessage id=\"schoolName\" defaultMessage=\"School name\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired={isRequired}\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, programConfiguration)}\n urlAddSchoolForm={urlAddSchoolForm}\n disabled={disabled}\n />\n );\n};\n"],"mappings":";;;;;;;;;A,aAiBaS,KAA0B,EACrC,UACA,cACA,aACA,wBACA,iBAAc,IACd,gBAAa,IACb,cAAW,SAC6C;CACxD,IAAMC,IAAuBT,EAAwB,GAC/C,EAAE,WAAQC,EAAW,GACrBS,KAAoBX,EAAW,CAAC,CAAC,oBAAoB,GAAA,CAAI,KAAK;CAQpE,OANsBK,EAAwB,cAAc,CAAC,EAAE,SAGtD,OAIP,iBAAA,GAAAE,EAAA,IAAA,CAACD,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyBM,EAASC,CAAM;EACnD,aAAaC,KAAeC,EAAI,EAAE,IAAI,wBAAwB,CAAC;EAC/D,OAAO,iBAAA,GAAAR,EAAA,IAAA,CAACH,GAAD;GAAsB,IAAG;GAAa,gBAAe;EAAe,CAAA;EAC3E,cACEY,KACE,iBAAA,GAAAT,EAAA,IAAA,CAACH,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGL,6BAA6B,CAAC,CAACU;EACnB;EACZ,cAAcX,EAAgBc,EAAoB,WAAWP,CAAoB;EAC/D;EACR;CACX,CAAA;AAEL"}
1
+ {"version":3,"file":"TeacherSchoolComponent-BlSi0gfn.js","names":["getOptions","useProgramConfiguration","useMessage","getOrgSearchUrl","FormattedHTMLMessage","getFieldConfigByFieldId","FormFieldTypeahead","import_jsx_runtime","require_jsx_runtime","TeacherSchoolComponent","programConfiguration","urlAddSchoolForm","onChange","choice","placeholder","msg","isErrored","verificationService"],"sources":["../../src/components/FormFields/TeacherSchool/TeacherSchoolComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { getOrgSearchUrl } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { getOptions } from \"../../../options/options\";\n\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\n\nexport const TeacherSchoolComponent = ({\n value,\n isErrored,\n onChange,\n verificationService,\n placeholder = \"\",\n isRequired = true,\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const programConfiguration = useProgramConfiguration();\n const { msg } = useMessage();\n const urlAddSchoolForm = (getOptions().urlAddSchoolForm || \"\").trim();\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"teacher-school\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={placeholder || msg({ id: \"schoolNamePlaceholder\" })}\n label={<FormattedHTMLMessage id=\"schoolName\" defaultMessage=\"School name\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired={isRequired}\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, programConfiguration)}\n urlAddSchoolForm={urlAddSchoolForm}\n disabled={disabled}\n />\n );\n};\n"],"mappings":";;;;;;;;;A,aAiBaS,KAA0B,EACrC,UACA,cACA,aACA,wBACA,iBAAc,IACd,gBAAa,IACb,cAAW,SAC6C;CACxD,IAAMC,IAAuBT,EAAwB,GAC/C,EAAE,WAAQC,EAAW,GACrBS,KAAoBX,EAAW,CAAC,CAAC,oBAAoB,GAAA,CAAI,KAAK;CAQpE,OANsBK,EAAwB,cAAc,CAAC,EAAE,SAGtD,OAIP,iBAAA,GAAAE,EAAA,IAAA,CAACD,GAAD;EACE,SAAQ;EACD;EACc;EACrB,WAAW,MAAyBM,EAASC,CAAM;EACnD,aAAaC,KAAeC,EAAI,EAAE,IAAI,wBAAwB,CAAC;EAC/D,OAAO,iBAAA,GAAAR,EAAA,IAAA,CAACH,GAAD;GAAsB,IAAG;GAAa,gBAAe;EAAe,CAAA;EAC3E,cACEY,KACE,iBAAA,GAAAT,EAAA,IAAA,CAACH,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGL,6BAA6B,CAAC,CAACU;EACnB;EACZ,cAAcX,EAAgBc,EAAoB,WAAWP,CAAoB;EAC/D;EACR;CACX,CAAA;AAEL"}
@@ -4,10 +4,10 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.316.0
8
- * BUILD_TIMESTAMP: 1793815397313
9
- * BUILD_DATE: Wed Nov 04 2026 18:03:17 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
7
+ * VERSION: 2.318.0
8
+ * BUILD_TIMESTAMP: 1793833687046
9
+ * BUILD_DATE: Wed Nov 04 2026 23:08:07 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
11
11
  */
12
12
  import { Ft as e, dt as t, et as n, ft as r, g as i, lt as a, ot as o, pt as s, st as c, tt as l, ut as u, z as d } from "./empties-DtevBq9w.js";
13
13
  import { S as f, b as p, d as m, o as h } from "./runtimeTypes-B2AGNJMT.js";
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.316.0
4
- * BUILD_TIMESTAMP: 1793815392848
5
- * BUILD_DATE: Wed Nov 04 2026 18:03:12 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
3
+ * VERSION: 2.318.0
4
+ * BUILD_TIMESTAMP: 1793833682219
5
+ * BUILD_DATE: Wed Nov 04 2026 23:08:02 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
7
7
  */
8
8
  import { $ as e, F as t, K as n, Q as r, at as i, it as a, nt as o, q as s, rt as c, tt as l, xt as u, y as d } from "./empties-xLh6FzDA.js";
9
9
  import { S as f, b as p, d as m, o as h } from "./runtimeTypes-B2AGNJMT.js";
@@ -4,10 +4,10 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.316.0
8
- * BUILD_TIMESTAMP: 1793815397313
9
- * BUILD_DATE: Wed Nov 04 2026 18:03:17 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
7
+ * VERSION: 2.318.0
8
+ * BUILD_TIMESTAMP: 1793833687046
9
+ * BUILD_DATE: Wed Nov 04 2026 23:08:07 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
11
11
  */
12
12
  var e = (() => {
13
13
  let e = window.hp_frame || null, t = window.tmx_frame || null, n = window.tmx_script || null;
@@ -4,15 +4,15 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.316.0
8
- * BUILD_TIMESTAMP: 1793815397313
9
- * BUILD_DATE: Wed Nov 04 2026 18:03:17 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
7
+ * VERSION: 2.318.0
8
+ * BUILD_TIMESTAMP: 1793833687046
9
+ * BUILD_DATE: Wed Nov 04 2026 23:08:07 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: de80b03200d5bbe92c9c93c39987693a03445901
11
11
  */
12
12
  import { A as e, Ct as t, Dt as n, Et as r, Ft as i, Lt as a, Ot as o, T as s, bt as c, g as l, i as u, kt as d, n as f, r as p, t as m, u as h, yt as g, zt as _ } from "./empties-DtevBq9w.js";
13
13
  import { S as v, b as y } from "./runtimeTypes-B2AGNJMT.js";
14
14
  import { n as b } from "./getInstallType-BRxisNNY.js";
15
- import { a as x, c as S, d as C, f as w, i as T, l as E, m as ee, n as D, o as O, p as k, r as te, s as A, u as ne } from "./ApiUrls-C604MmkC.js";
15
+ import { a as x, c as S, d as C, f as w, i as T, l as E, m as ee, n as D, o as O, p as k, r as te, s as A, u as ne } from "./ApiUrls-DTAt_8rs.js";
16
16
  import { i as j, t as M } from "./TestingRouteOverrides-Dq_tcy8v.js";
17
17
  //#region src/lib/state/mockProgram.ts
18
18
  var N = !1, re = () => {