@sheerid/jslib-nightly 2.258.0-alpha.2 → 2.258.0-alpha.3

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 (373) hide show
  1. package/_mysheerid-preview.css +3 -3
  2. package/_mysheerid-preview.js +1423 -1524
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/AddressComponent-DMwOmjiG.js +3 -3
  5. package/chunk/{AddressComponent-CJV3vrMt.js → AddressComponent-DluNaOpg.js} +5 -5
  6. package/chunk/{AddressComponent-CJV3vrMt.js.map → AddressComponent-DluNaOpg.js.map} +1 -1
  7. package/chunk/{AnnouncingHeader-BF69hVVm.js → AnnouncingHeader-BZreAj2L.js} +5 -5
  8. package/chunk/{AnnouncingHeader-BF69hVVm.js.map → AnnouncingHeader-BZreAj2L.js.map} +1 -1
  9. package/chunk/AnnouncingHeader-DjgtqEeX.js +3 -3
  10. package/chunk/{ApiUrls-BjhuhV-u.js → ApiUrls-D-825yEj.js} +4 -4
  11. package/chunk/{ApiUrls-BjhuhV-u.js.map → ApiUrls-D-825yEj.js.map} +1 -1
  12. package/chunk/{ApiUrls-Br8Vslon.js → ApiUrls-aJgNbpjJ.js} +12 -12
  13. package/chunk/{ApiUrls-Br8Vslon.js.map → ApiUrls-aJgNbpjJ.js.map} +1 -1
  14. package/chunk/{BirthDateComponent-BNxj7HVi.js → BirthDateComponent-BqZned-E.js} +4 -4
  15. package/chunk/{BirthDateComponent-BNxj7HVi.js.map → BirthDateComponent-BqZned-E.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-DJ0lhMz0.js → BirthDateComponent-C787gXja.js} +6 -6
  17. package/chunk/{BirthDateComponent-DJ0lhMz0.js.map → BirthDateComponent-C787gXja.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-3CkADj7Y.js → CaptchaComponent-Cs2wOhj5.js} +93 -93
  19. package/chunk/{CaptchaComponent-3CkADj7Y.js.map → CaptchaComponent-Cs2wOhj5.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-Dj1XrWkM.js → CaptchaComponent-WnBWWmBW.js} +5 -5
  21. package/chunk/{CaptchaComponent-Dj1XrWkM.js.map → CaptchaComponent-WnBWWmBW.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-CuzJdznM.js → ChangeLocaleComponent-D1iUYYBG.js} +6 -6
  23. package/chunk/{ChangeLocaleComponent-CuzJdznM.js.map → ChangeLocaleComponent-D1iUYYBG.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-D1rmQo2-.js → ChangeLocaleComponent-DOa9NZyI.js} +4 -4
  25. package/chunk/{ChangeLocaleComponent-D1rmQo2-.js.map → ChangeLocaleComponent-DOa9NZyI.js.map} +1 -1
  26. package/chunk/{City-DlWin4GX.js → City-BP95fpVf.js} +5 -5
  27. package/chunk/{City-DlWin4GX.js.map → City-BP95fpVf.js.map} +1 -1
  28. package/chunk/City-CmO85Z9x.js +3 -3
  29. package/chunk/{CollegeNameComponent-xQgFrK2K.js → CollegeNameComponent-CTgm9HoV.js} +7 -7
  30. package/chunk/{CollegeNameComponent-x7_ep0bP.js.map → CollegeNameComponent-CTgm9HoV.js.map} +1 -1
  31. package/chunk/{CollegeNameComponent-x7_ep0bP.js → CollegeNameComponent-Cd_gOpDt.js} +4 -4
  32. package/chunk/{CollegeNameComponent-xQgFrK2K.js.map → CollegeNameComponent-Cd_gOpDt.js.map} +1 -1
  33. package/chunk/CopyToClipboardComponent-1BeB_oX_.js +3 -3
  34. package/chunk/{CopyToClipboardComponent-C1BnmvlK.js → CopyToClipboardComponent-6MY3v7_-.js} +8 -8
  35. package/chunk/{CopyToClipboardComponent-C1BnmvlK.js.map → CopyToClipboardComponent-6MY3v7_-.js.map} +1 -1
  36. package/chunk/CountryComponentWrapper-BV78vTBy.js +78 -0
  37. package/chunk/{CountryComponentWrapper-CHsLroJa.js.map → CountryComponentWrapper-BV78vTBy.js.map} +1 -1
  38. package/chunk/{CountryComponentWrapper-DSWE6u6x.js → CountryComponentWrapper-bzcjcPxz.js} +4 -4
  39. package/chunk/{CountryComponentWrapper-DSWE6u6x.js.map → CountryComponentWrapper-bzcjcPxz.js.map} +1 -1
  40. package/chunk/{DischargeDateComponent-DM1bcMxW.js → DischargeDateComponent-Dhp63XO4.js} +13 -13
  41. package/chunk/{DischargeDateComponent-DM1bcMxW.js.map → DischargeDateComponent-Dhp63XO4.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-DCTFDEO0.js → DischargeDateComponent-bYahQG3V.js} +6 -6
  43. package/chunk/{DischargeDateComponent-DCTFDEO0.js.map → DischargeDateComponent-bYahQG3V.js.map} +1 -1
  44. package/chunk/{DriverLicenseNumberComponent-D8q18o2M.js → DriverLicenseNumberComponent-CQeKZs0G.js} +5 -5
  45. package/chunk/{DriverLicenseNumberComponent-D8q18o2M.js.map → DriverLicenseNumberComponent-CQeKZs0G.js.map} +1 -1
  46. package/chunk/DriverLicenseNumberComponent-DgXMM-Pt.js +3 -3
  47. package/chunk/{EmailLoopPending-lv7oBmbw.js → EmailLoopPending-DpsmbvMr.js} +4 -4
  48. package/chunk/{EmailLoopPending-lv7oBmbw.js.map → EmailLoopPending-DpsmbvMr.js.map} +1 -1
  49. package/chunk/{EmailLoopPending-CfIA0oJ-.js → EmailLoopPending-OaRdirPJ.js} +17 -17
  50. package/chunk/{EmailLoopPending-CfIA0oJ-.js.map → EmailLoopPending-OaRdirPJ.js.map} +1 -1
  51. package/chunk/{ExtraMessage-DOEcewIZ.js → ExtraMessage-C8bkhYx2.js} +6 -6
  52. package/chunk/{ExtraMessage-CwPDe_DW.js.map → ExtraMessage-C8bkhYx2.js.map} +1 -1
  53. package/chunk/{ExtraMessage-CwPDe_DW.js → ExtraMessage-MKBXSbM_.js} +4 -4
  54. package/chunk/{ExtraMessage-DOEcewIZ.js.map → ExtraMessage-MKBXSbM_.js.map} +1 -1
  55. package/chunk/{FirstResponderOrganizationComponent-DNyzoV7G.js → FirstResponderOrganizationComponent-D2itQahP.js} +6 -6
  56. package/chunk/{FirstResponderOrganizationComponent-DNyzoV7G.js.map → FirstResponderOrganizationComponent-D2itQahP.js.map} +1 -1
  57. package/chunk/{FirstResponderOrganizationComponent-DmLH7cEa.js → FirstResponderOrganizationComponent-DUiRbusi.js} +4 -4
  58. package/chunk/{FirstResponderOrganizationComponent-DmLH7cEa.js.map → FirstResponderOrganizationComponent-DUiRbusi.js.map} +1 -1
  59. package/chunk/{FormFieldInputSelect-7aYo31R5.js → FormFieldInputSelect-B9u-1CeU.js} +6 -6
  60. package/chunk/{FormFieldInputSelect-7aYo31R5.js.map → FormFieldInputSelect-B9u-1CeU.js.map} +1 -1
  61. package/chunk/{FormFieldInputSelect-g9GagJpQ.js → FormFieldInputSelect-Dkf3rE9E.js} +4 -4
  62. package/chunk/{FormFieldInputSelect-g9GagJpQ.js.map → FormFieldInputSelect-Dkf3rE9E.js.map} +1 -1
  63. package/chunk/{FormFieldLayout-BpmeMD4X.js → FormFieldLayout-CUA-PItd.js} +5 -5
  64. package/chunk/{FormFieldLayout-BpmeMD4X.js.map → FormFieldLayout-CUA-PItd.js.map} +1 -1
  65. package/chunk/FormFieldLayout-DIcCOsGu.js +3 -3
  66. package/chunk/{FormFieldText-zuTjfmLt.js → FormFieldText-BeEhq8Kc.js} +6 -6
  67. package/chunk/{FormFieldText-zuTjfmLt.js.map → FormFieldText-BeEhq8Kc.js.map} +1 -1
  68. package/chunk/FormFieldText-zjWk7Cyc.js +3 -3
  69. package/chunk/{FormFieldTypeahead-BblauBOC.js → FormFieldTypeahead-BjSdh81I.js} +79 -79
  70. package/chunk/FormFieldTypeahead-BjSdh81I.js.map +1 -0
  71. package/chunk/{FormFieldTypeahead-bR9_vlWX.js → FormFieldTypeahead-CkHcG0fF.js} +9 -9
  72. package/chunk/FormFieldTypeahead-CkHcG0fF.js.map +1 -0
  73. package/chunk/{FormFooterComponent-DdYBy4hI.js → FormFooterComponent-CbppOmMP.js} +1225 -1343
  74. package/chunk/FormFooterComponent-CbppOmMP.js.map +1 -0
  75. package/chunk/{FormFooterComponent-QZUjL2NN.js → FormFooterComponent-QN5kZ4hU.js} +277 -383
  76. package/chunk/FormFooterComponent-QN5kZ4hU.js.map +1 -0
  77. package/chunk/{FormSelectChoice-DMJegqqj.js → FormSelectChoice-B0V4ga-y.js} +4 -4
  78. package/chunk/{FormSelectChoice-CqCNOEHe.js.map → FormSelectChoice-B0V4ga-y.js.map} +1 -1
  79. package/chunk/{FormSelectChoice-CqCNOEHe.js → FormSelectChoice-BJ3IWwoF.js} +16 -16
  80. package/chunk/{FormSelectChoice-DMJegqqj.js.map → FormSelectChoice-BJ3IWwoF.js.map} +1 -1
  81. package/chunk/InputText-Bzkl8mKj.js +3 -3
  82. package/chunk/{InputText-DA8wfbQM.js → InputText-CkDvaW9P.js} +6 -6
  83. package/chunk/{InputText-DA8wfbQM.js.map → InputText-CkDvaW9P.js.map} +1 -1
  84. package/chunk/{LicensedProfessionalOrganizationComponent-BdsboIHn.js → LicensedProfessionalOrganizationComponent-BuaJAhns.js} +4 -4
  85. package/chunk/{LicensedProfessionalOrganizationComponent-BdsboIHn.js.map → LicensedProfessionalOrganizationComponent-BuaJAhns.js.map} +1 -1
  86. package/chunk/{LicensedProfessionalOrganizationComponent-Bm1EuiZe.js → LicensedProfessionalOrganizationComponent-guc4J-8q.js} +6 -6
  87. package/chunk/{LicensedProfessionalOrganizationComponent-Bm1EuiZe.js.map → LicensedProfessionalOrganizationComponent-guc4J-8q.js.map} +1 -1
  88. package/chunk/LogoComponent-BMeuu-aK.js +3 -3
  89. package/chunk/{LogoComponent-BxIXOXCM.js → LogoComponent-CFPoRk_q.js} +5 -5
  90. package/chunk/{LogoComponent-BxIXOXCM.js.map → LogoComponent-CFPoRk_q.js.map} +1 -1
  91. package/chunk/{LowIncomeOrganizationComponent-JIBMRBVu.js → LowIncomeOrganizationComponent-B29RCDio.js} +15 -15
  92. package/chunk/{LowIncomeOrganizationComponent-DV4xhsxA.js.map → LowIncomeOrganizationComponent-B29RCDio.js.map} +1 -1
  93. package/chunk/{LowIncomeOrganizationComponent-DV4xhsxA.js → LowIncomeOrganizationComponent-D5Z2U9Jg.js} +6 -6
  94. package/chunk/{LowIncomeOrganizationComponent-JIBMRBVu.js.map → LowIncomeOrganizationComponent-D5Z2U9Jg.js.map} +1 -1
  95. package/chunk/{MedicalProfessionalOrganizationComponent-Bu7uAv6y.js → MedicalProfessionalOrganizationComponent-BbWBfH4X.js} +4 -4
  96. package/chunk/{MedicalProfessionalOrganizationComponent-Bu7uAv6y.js.map → MedicalProfessionalOrganizationComponent-BbWBfH4X.js.map} +1 -1
  97. package/chunk/{MedicalProfessionalOrganizationComponent-DtRRbuPO.js → MedicalProfessionalOrganizationComponent-D3gPq7_e.js} +6 -6
  98. package/chunk/{MedicalProfessionalOrganizationComponent-DtRRbuPO.js.map → MedicalProfessionalOrganizationComponent-D3gPq7_e.js.map} +1 -1
  99. package/chunk/{MemberIdComponent-DMGaNM9l.js → MemberIdComponent-D_KVob09.js} +5 -5
  100. package/chunk/{MemberIdComponent-DMGaNM9l.js.map → MemberIdComponent-D_KVob09.js.map} +1 -1
  101. package/chunk/MemberIdComponent-Dva2Xx7J.js +3 -3
  102. package/chunk/{MembershipOrganizationComponent-0dDQxNdP.js → MembershipOrganizationComponent-B8DVGQzN.js} +4 -4
  103. package/chunk/{MembershipOrganizationComponent-0dDQxNdP.js.map → MembershipOrganizationComponent-B8DVGQzN.js.map} +1 -1
  104. package/chunk/{MembershipOrganizationComponent-BURHKl64.js → MembershipOrganizationComponent-NFWPqmc5.js} +6 -6
  105. package/chunk/{MembershipOrganizationComponent-BURHKl64.js.map → MembershipOrganizationComponent-NFWPqmc5.js.map} +1 -1
  106. package/chunk/Onfido-CTCgAwnB.js +3 -3
  107. package/chunk/{PersonalInfoStepSubmitButton-D3lzSm2E.js → PersonalInfoStepSubmitButton-CdweyyxM.js} +20 -20
  108. package/chunk/{PersonalInfoStepSubmitButton-D3lzSm2E.js.map → PersonalInfoStepSubmitButton-CdweyyxM.js.map} +1 -1
  109. package/chunk/PersonalInfoStepSubmitButton-Ywai8bYu.js +3 -3
  110. package/chunk/{PersonalInfoStepWrapper-jdzoT2oQ.js → PersonalInfoStepWrapper-BgWJSycH.js} +4 -4
  111. package/chunk/{PersonalInfoStepWrapper-jdzoT2oQ.js.map → PersonalInfoStepWrapper-BgWJSycH.js.map} +1 -1
  112. package/chunk/{PersonalInfoStepWrapper-CGH-h9Jf.js → PersonalInfoStepWrapper-DC_FCdYS.js} +7 -7
  113. package/chunk/{PersonalInfoStepWrapper-CGH-h9Jf.js.map → PersonalInfoStepWrapper-DC_FCdYS.js.map} +1 -1
  114. package/chunk/PostalCodeComponent-C97fgZFI.js +3 -3
  115. package/chunk/{PostalCodeComponent-BGzBByZd.js → PostalCodeComponent-YFm2z5qa.js} +5 -5
  116. package/chunk/{PostalCodeComponent-BGzBByZd.js.map → PostalCodeComponent-YFm2z5qa.js.map} +1 -1
  117. package/chunk/{SSN-CNzKgddw.js → SSN-CtVtLOD7.js} +6 -6
  118. package/chunk/{SSN-CNzKgddw.js.map → SSN-CtVtLOD7.js.map} +1 -1
  119. package/chunk/SSN-mk_cMbDH.js +3 -3
  120. package/chunk/{StateSelectComponent-Dt7KMYlB.js → StateSelectComponent-2QRd98vp.js} +5 -5
  121. package/chunk/{StateSelectComponent-C4bCRzw5.js.map → StateSelectComponent-2QRd98vp.js.map} +1 -1
  122. package/chunk/{StateSelectComponent-C4bCRzw5.js → StateSelectComponent-Dyghw0EV.js} +4 -4
  123. package/chunk/{StateSelectComponent-Dt7KMYlB.js.map → StateSelectComponent-Dyghw0EV.js.map} +1 -1
  124. package/chunk/{StatusComponent-DNYk1Jwe.js → StatusComponent-CA-P_mFH.js} +4 -4
  125. package/chunk/{StatusComponent-DNYk1Jwe.js.map → StatusComponent-CA-P_mFH.js.map} +1 -1
  126. package/chunk/{StatusComponent-DnmUFkly.js → StatusComponent-D05R_Lpo.js} +6 -6
  127. package/chunk/{StatusComponent-DnmUFkly.js.map → StatusComponent-D05R_Lpo.js.map} +1 -1
  128. package/chunk/{StepActiveMilitaryPersonalInfoComponent-BjomAUg2.js → StepActiveMilitaryPersonalInfoComponent-8ThEBNF0.js} +23 -23
  129. package/chunk/{StepActiveMilitaryPersonalInfoComponent-BjomAUg2.js.map → StepActiveMilitaryPersonalInfoComponent-8ThEBNF0.js.map} +1 -1
  130. package/chunk/{StepActiveMilitaryPersonalInfoComponent-hM8dAepU.js → StepActiveMilitaryPersonalInfoComponent-DvQndd5k.js} +12 -12
  131. package/chunk/{StepActiveMilitaryPersonalInfoComponent-hM8dAepU.js.map → StepActiveMilitaryPersonalInfoComponent-DvQndd5k.js.map} +1 -1
  132. package/chunk/{StepAgePersonalInfo-BqtUw-Nv.js → StepAgePersonalInfo-70S216_Z.js} +11 -11
  133. package/chunk/{StepAgePersonalInfo-BqtUw-Nv.js.map → StepAgePersonalInfo-70S216_Z.js.map} +1 -1
  134. package/chunk/{StepAgePersonalInfo-CdST_Dmi.js → StepAgePersonalInfo-D7dzQYtc.js} +56 -56
  135. package/chunk/{StepAgePersonalInfo-CdST_Dmi.js.map → StepAgePersonalInfo-D7dzQYtc.js.map} +1 -1
  136. package/chunk/StepCard-7t2vkHqM.js +3 -3
  137. package/chunk/{StepCard-BtvCt-ND.js → StepCard-BF_RD7Rd.js} +4 -4
  138. package/chunk/{StepCard-BtvCt-ND.js.map → StepCard-BF_RD7Rd.js.map} +1 -1
  139. package/chunk/{StepCollectIdentifier-CedPx9ND.js → StepCollectIdentifier-CT4IWLCw.js} +4 -4
  140. package/chunk/{StepCollectIdentifier-CedPx9ND.js.map → StepCollectIdentifier-CT4IWLCw.js.map} +1 -1
  141. package/chunk/{StepCollectIdentifier-mCEUNf8R.js → StepCollectIdentifier-ICI-KNfa.js} +7 -7
  142. package/chunk/{StepCollectIdentifier-mCEUNf8R.js.map → StepCollectIdentifier-ICI-KNfa.js.map} +1 -1
  143. package/chunk/StepCollectMilitaryStatusComponent--YmKy9i3.js +9 -0
  144. package/chunk/{StepCollectMilitaryStatusComponent-CsrWN1Fp.js → StepCollectMilitaryStatusComponent-BmpNHdrV.js} +4 -4
  145. package/chunk/{StepCollectPersonalInfo-BleSjjbJ.js → StepCollectPersonalInfo-BfwOSCSV.js} +106 -106
  146. package/chunk/{StepCollectPersonalInfo-BleSjjbJ.js.map → StepCollectPersonalInfo-BfwOSCSV.js.map} +1 -1
  147. package/chunk/{StepCollectPersonalInfo-XfmHEIhX.js → StepCollectPersonalInfo-CH-SF0HY.js} +19 -19
  148. package/chunk/{StepCollectPersonalInfo-XfmHEIhX.js.map → StepCollectPersonalInfo-CH-SF0HY.js.map} +1 -1
  149. package/chunk/StepCompleteAuthentication-Cs4zhI-D.js +3 -3
  150. package/chunk/{StepCompleteAuthentication-C2HoMZzF.js → StepCompleteAuthentication-q5i7ecb3.js} +18 -18
  151. package/chunk/{StepCompleteAuthentication-C2HoMZzF.js.map → StepCompleteAuthentication-q5i7ecb3.js.map} +1 -1
  152. package/chunk/{StepConsolation-BlC3FCxR.js → StepConsolation-CJTxZS4c.js} +8 -8
  153. package/chunk/{StepConsolation-CP7Ty_3Z.js.map → StepConsolation-CJTxZS4c.js.map} +1 -1
  154. package/chunk/{StepConsolation-CP7Ty_3Z.js → StepConsolation-DC9hLoIz.js} +4 -4
  155. package/chunk/{StepConsolation-BlC3FCxR.js.map → StepConsolation-DC9hLoIz.js.map} +1 -1
  156. package/chunk/{StepDocUpload-DkWwguQ-.js → StepDocUpload-BfvzN2vx.js} +4 -4
  157. package/chunk/{StepDocUpload-DkWwguQ-.js.map → StepDocUpload-BfvzN2vx.js.map} +1 -1
  158. package/chunk/{StepDocUpload-CAUGwHSg.js → StepDocUpload-CVQuOWJO.js} +206 -206
  159. package/chunk/{StepDocUpload-CAUGwHSg.js.map → StepDocUpload-CVQuOWJO.js.map} +1 -1
  160. package/chunk/{StepDriverLicensePersonalInfoComponent-B2SMQtFn.js → StepDriverLicensePersonalInfoComponent-B3-W6vPk.js} +9 -9
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-tLFYrsZm.js.map → StepDriverLicensePersonalInfoComponent-B3-W6vPk.js.map} +1 -1
  162. package/chunk/{StepDriverLicensePersonalInfoComponent-tLFYrsZm.js → StepDriverLicensePersonalInfoComponent-B38Avvcd.js} +14 -14
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-B2SMQtFn.js.map → StepDriverLicensePersonalInfoComponent-B38Avvcd.js.map} +1 -1
  164. package/chunk/{StepEmailLoop-D4zZZn8J.js → StepEmailLoop-Buz33mMQ.js} +5 -5
  165. package/chunk/{StepEmailLoop-D4zZZn8J.js.map → StepEmailLoop-Buz33mMQ.js.map} +1 -1
  166. package/chunk/{StepEmailLoop-FausTzfT.js → StepEmailLoop-DACxlJBV.js} +13 -13
  167. package/chunk/{StepEmailLoop-FausTzfT.js.map → StepEmailLoop-DACxlJBV.js.map} +1 -1
  168. package/chunk/{StepEmploymentPersonalInfo-oGRFGWG3.js → StepEmploymentPersonalInfo-B9sA1iOS.js} +10 -10
  169. package/chunk/{StepEmploymentPersonalInfo-BWnfMrEI.js.map → StepEmploymentPersonalInfo-B9sA1iOS.js.map} +1 -1
  170. package/chunk/{StepEmploymentPersonalInfo-BWnfMrEI.js → StepEmploymentPersonalInfo-MLslqLd4.js} +17 -17
  171. package/chunk/{StepEmploymentPersonalInfo-oGRFGWG3.js.map → StepEmploymentPersonalInfo-MLslqLd4.js.map} +1 -1
  172. package/chunk/{StepFirstResponderPersonalInfo-BBIjWUh9.js → StepFirstResponderPersonalInfo-Bo-Ksi2D.js} +12 -12
  173. package/chunk/{StepFirstResponderPersonalInfo-BBIjWUh9.js.map → StepFirstResponderPersonalInfo-Bo-Ksi2D.js.map} +1 -1
  174. package/chunk/{StepFirstResponderPersonalInfo-CntfAPiK.js → StepFirstResponderPersonalInfo-BsZSfBSh.js} +19 -19
  175. package/chunk/{StepFirstResponderPersonalInfo-CntfAPiK.js.map → StepFirstResponderPersonalInfo-BsZSfBSh.js.map} +1 -1
  176. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D53k6Woe.js → StepGeneralIdentityPersonalInfoComponent-BifHA2mt.js} +10 -10
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ccjf20DV.js.map → StepGeneralIdentityPersonalInfoComponent-BifHA2mt.js.map} +1 -1
  178. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ccjf20DV.js → StepGeneralIdentityPersonalInfoComponent-DiX4v8KA.js} +17 -17
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D53k6Woe.js.map → StepGeneralIdentityPersonalInfoComponent-DiX4v8KA.js.map} +1 -1
  180. package/chunk/{StepHybridIdentityPersonalInfoComponent-CRlkXJEC.js → StepHybridIdentityPersonalInfoComponent-CdW7WnyT.js} +10 -10
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-BI6nJsLA.js.map → StepHybridIdentityPersonalInfoComponent-CdW7WnyT.js.map} +1 -1
  182. package/chunk/{StepHybridIdentityPersonalInfoComponent-BI6nJsLA.js → StepHybridIdentityPersonalInfoComponent-DVyNVGmg.js} +18 -18
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-CRlkXJEC.js.map → StepHybridIdentityPersonalInfoComponent-DVyNVGmg.js.map} +1 -1
  184. package/chunk/{StepIDCheckLoop-D-d08feu.js → StepIDCheckLoop-C0u3toCU.js} +7 -7
  185. package/chunk/{StepIDCheckLoop-CFfZ9eP_.js.map → StepIDCheckLoop-C0u3toCU.js.map} +1 -1
  186. package/chunk/{StepIDCheckLoop-CFfZ9eP_.js → StepIDCheckLoop-ChuwpneN.js} +4 -4
  187. package/chunk/{StepIDCheckLoop-D-d08feu.js.map → StepIDCheckLoop-ChuwpneN.js.map} +1 -1
  188. package/chunk/{StepIDCheckLoopOnfido-BkjksFOf.js → StepIDCheckLoopOnfido-D_TuhsWr.js} +6 -6
  189. package/chunk/{StepIDCheckLoopOnfido-BkjksFOf.js.map → StepIDCheckLoopOnfido-D_TuhsWr.js.map} +1 -1
  190. package/chunk/{StepIDCheckLoopOnfido-Bf0C3aeV.js → StepIDCheckLoopOnfido-Xz9jd0i2.js} +39 -39
  191. package/chunk/{StepIDCheckLoopOnfido-Bf0C3aeV.js.map → StepIDCheckLoopOnfido-Xz9jd0i2.js.map} +1 -1
  192. package/chunk/{StepIDCheckLoopRegula-D57Xo4OF.js → StepIDCheckLoopRegula-WD_vXRI_.js} +4 -4
  193. package/chunk/{StepIDCheckLoopRegula-BJXRrYWz.js.map → StepIDCheckLoopRegula-WD_vXRI_.js.map} +1 -1
  194. package/chunk/{StepIDCheckLoopRegula-BJXRrYWz.js → StepIDCheckLoopRegula-WaU4xBQP.js} +15 -15
  195. package/chunk/{StepIDCheckLoopRegula-D57Xo4OF.js.map → StepIDCheckLoopRegula-WaU4xBQP.js.map} +1 -1
  196. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-kReQFO-c.js → StepInactiveMilitaryPersonalInfoComponent-1D5iMZSJ.js} +14 -14
  197. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BlqS85GS.js.map → StepInactiveMilitaryPersonalInfoComponent-1D5iMZSJ.js.map} +1 -1
  198. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BlqS85GS.js → StepInactiveMilitaryPersonalInfoComponent-CJF9sE0N.js} +34 -34
  199. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-kReQFO-c.js.map → StepInactiveMilitaryPersonalInfoComponent-CJF9sE0N.js.map} +1 -1
  200. package/chunk/{StepLicensedProfessionalPersonalInfo-DzzDNAit.js → StepLicensedProfessionalPersonalInfo-CgIdnlmk.js} +12 -12
  201. package/chunk/{StepLicensedProfessionalPersonalInfo-Cjh5Fxbc.js.map → StepLicensedProfessionalPersonalInfo-CgIdnlmk.js.map} +1 -1
  202. package/chunk/{StepLicensedProfessionalPersonalInfo-Cjh5Fxbc.js → StepLicensedProfessionalPersonalInfo-OrWHof63.js} +16 -16
  203. package/chunk/{StepLicensedProfessionalPersonalInfo-DzzDNAit.js.map → StepLicensedProfessionalPersonalInfo-OrWHof63.js.map} +1 -1
  204. package/chunk/{StepLowIncomePersonalInfo-CRGvFqIN.js → StepLowIncomePersonalInfo-B47fi2y2.js} +12 -12
  205. package/chunk/{StepLowIncomePersonalInfo-BYJ5d1tK.js.map → StepLowIncomePersonalInfo-B47fi2y2.js.map} +1 -1
  206. package/chunk/{StepLowIncomePersonalInfo-BYJ5d1tK.js → StepLowIncomePersonalInfo-BL8fX2SZ.js} +25 -25
  207. package/chunk/{StepLowIncomePersonalInfo-CRGvFqIN.js.map → StepLowIncomePersonalInfo-BL8fX2SZ.js.map} +1 -1
  208. package/chunk/{StepMedicalProfessionalPersonalInfo-Ql3EDfEE.js → StepMedicalProfessionalPersonalInfo-PfAVnLpu.js} +13 -13
  209. package/chunk/{StepMedicalProfessionalPersonalInfo-D_GPvIBq.js.map → StepMedicalProfessionalPersonalInfo-PfAVnLpu.js.map} +1 -1
  210. package/chunk/{StepMedicalProfessionalPersonalInfo-D_GPvIBq.js → StepMedicalProfessionalPersonalInfo-pSBxypv4.js} +24 -24
  211. package/chunk/{StepMedicalProfessionalPersonalInfo-Ql3EDfEE.js.map → StepMedicalProfessionalPersonalInfo-pSBxypv4.js.map} +1 -1
  212. package/chunk/{StepMemberPersonalInfo-BaPGBsQ0.js → StepMemberPersonalInfo-CcDuf_LZ.js} +11 -11
  213. package/chunk/{StepMemberPersonalInfo-BaPGBsQ0.js.map → StepMemberPersonalInfo-CcDuf_LZ.js.map} +1 -1
  214. package/chunk/{StepMemberPersonalInfo-D6yWywSK.js → StepMemberPersonalInfo-DjF8htn5.js} +56 -56
  215. package/chunk/{StepMemberPersonalInfo-D6yWywSK.js.map → StepMemberPersonalInfo-DjF8htn5.js.map} +1 -1
  216. package/chunk/{StepMoverPersonalInfo-DJDvFEXY.js → StepMoverPersonalInfo-C6Qhyk62.js} +47 -47
  217. package/chunk/{StepMoverPersonalInfo-DJDvFEXY.js.map → StepMoverPersonalInfo-C6Qhyk62.js.map} +1 -1
  218. package/chunk/{StepMoverPersonalInfo-GrXVpjHj.js → StepMoverPersonalInfo-Cg9SlaxL.js} +8 -8
  219. package/chunk/{StepMoverPersonalInfo-GrXVpjHj.js.map → StepMoverPersonalInfo-Cg9SlaxL.js.map} +1 -1
  220. package/chunk/{StepOverrideComponent-DM7_NsVu.js → StepOverrideComponent-BT3m-hB9.js} +15 -15
  221. package/chunk/{StepOverrideComponent-DM7_NsVu.js.map → StepOverrideComponent-BT3m-hB9.js.map} +1 -1
  222. package/chunk/{StepOverrideComponent-DrRBc0Vr.js → StepOverrideComponent-DWLtrNiP.js} +4 -4
  223. package/chunk/{StepOverrideComponent-DrRBc0Vr.js.map → StepOverrideComponent-DWLtrNiP.js.map} +1 -1
  224. package/chunk/{StepSMSLoop-CuLSFRil.js → StepSMSLoop-4ITuy_ww.js} +4 -4
  225. package/chunk/{StepSMSLoop-CuLSFRil.js.map → StepSMSLoop-4ITuy_ww.js.map} +1 -1
  226. package/chunk/{StepSMSLoop-mGoGBOK0.js → StepSMSLoop-AcEj31iz.js} +18 -18
  227. package/chunk/{StepSMSLoop-mGoGBOK0.js.map → StepSMSLoop-AcEj31iz.js.map} +1 -1
  228. package/chunk/StepSSO-BRFhNvkp.js +3 -3
  229. package/chunk/StepSSO-BaFk7RFJ.js +3 -3
  230. package/chunk/{StepSocialSecurityNumber-Ccvhxlo8.js → StepSocialSecurityNumber-BGsylXEh.js} +25 -25
  231. package/chunk/{StepSocialSecurityNumber-Ccvhxlo8.js.map → StepSocialSecurityNumber-BGsylXEh.js.map} +1 -1
  232. package/chunk/{StepSocialSecurityNumber-CDGcyqvg.js → StepSocialSecurityNumber-CYzq93oK.js} +5 -5
  233. package/chunk/{StepSocialSecurityNumber-CDGcyqvg.js.map → StepSocialSecurityNumber-CYzq93oK.js.map} +1 -1
  234. package/chunk/{StepStudentPersonalInfo-BiKIDVhk.js → StepStudentPersonalInfo-7T1fonlN.js} +58 -58
  235. package/chunk/{StepStudentPersonalInfo-BiKIDVhk.js.map → StepStudentPersonalInfo-7T1fonlN.js.map} +1 -1
  236. package/chunk/{StepStudentPersonalInfo-e1z1hWCH.js → StepStudentPersonalInfo-Dcih7Qze.js} +11 -11
  237. package/chunk/{StepStudentPersonalInfo-e1z1hWCH.js.map → StepStudentPersonalInfo-Dcih7Qze.js.map} +1 -1
  238. package/chunk/{StepSuccess-T6-OhHHn.js → StepSuccess-B8mKkiSn.js} +4 -4
  239. package/chunk/StepSuccess-B8mKkiSn.js.map +1 -0
  240. package/chunk/{StepSuccess-BocTx0BL.js → StepSuccess-KHgnlbqc.js} +25 -25
  241. package/chunk/StepSuccess-KHgnlbqc.js.map +1 -0
  242. package/chunk/StepTeacherPersonalInfo-B0oy6FPu.js +153 -0
  243. package/chunk/{StepTeacherPersonalInfo-SArNeiJd.js.map → StepTeacherPersonalInfo-B0oy6FPu.js.map} +1 -1
  244. package/chunk/{StepTeacherPersonalInfo-e1HTq7uH.js → StepTeacherPersonalInfo-C_jGXdnq.js} +12 -12
  245. package/chunk/{StepTeacherPersonalInfo-e1HTq7uH.js.map → StepTeacherPersonalInfo-C_jGXdnq.js.map} +1 -1
  246. package/chunk/StepThirdPartyLoop-BGHCbduX.js +3 -3
  247. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +3 -3
  248. package/chunk/{TeacherSchoolComponent-C8gC3I9P.js → TeacherSchoolComponent-CLnLmUU-.js} +7 -7
  249. package/chunk/{TeacherSchoolComponent-BRp8x8NS.js.map → TeacherSchoolComponent-CLnLmUU-.js.map} +1 -1
  250. package/chunk/{TeacherSchoolComponent-BRp8x8NS.js → TeacherSchoolComponent-Ceve3sQi.js} +4 -4
  251. package/chunk/{TeacherSchoolComponent-C8gC3I9P.js.map → TeacherSchoolComponent-Ceve3sQi.js.map} +1 -1
  252. package/chunk/TestingRouteOverrides-B-zcTBa_.js +3 -3
  253. package/chunk/TestingRouteOverrides-DCR0qXVH.js +81 -0
  254. package/chunk/{TestingRouteOverrides-BDCygTLC.js.map → TestingRouteOverrides-DCR0qXVH.js.map} +1 -1
  255. package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
  256. package/chunk/{VerificationApiClient-Ba7s5IGi.js → VerificationApiClient-B74cwlAH.js} +4 -4
  257. package/chunk/{VerificationApiClient-Ba7s5IGi.js.map → VerificationApiClient-B74cwlAH.js.map} +1 -1
  258. package/chunk/{VerificationApiClient-B40BtVcX.js → VerificationApiClient-o29UFrLq.js} +140 -140
  259. package/chunk/{VerificationApiClient-B40BtVcX.js.map → VerificationApiClient-o29UFrLq.js.map} +1 -1
  260. package/chunk/{VerificationApiUtils-DsurExmN.js → VerificationApiUtils-2uVrxfLJ.js} +5 -5
  261. package/chunk/{VerificationApiUtils-Dmxo4F16.js.map → VerificationApiUtils-2uVrxfLJ.js.map} +1 -1
  262. package/chunk/{VerificationApiUtils-Dmxo4F16.js → VerificationApiUtils-Ccd1usA7.js} +6 -6
  263. package/chunk/{VerificationApiUtils-DsurExmN.js.map → VerificationApiUtils-Ccd1usA7.js.map} +1 -1
  264. package/chunk/ar-wkBEXxD9.js +3 -3
  265. package/chunk/bg-D2-seofX.js +3 -3
  266. package/chunk/bn-IN-B5PyYaJU.js +3 -3
  267. package/chunk/{countryUtils-D2UBy7Uo.js → countryUtils-BAFwHnuu.js} +4 -4
  268. package/chunk/{countryUtils-D2UBy7Uo.js.map → countryUtils-BAFwHnuu.js.map} +1 -1
  269. package/chunk/countryUtils-QSjR1rBI.js +3 -3
  270. package/chunk/cs-CsEnIopo.js +3 -3
  271. package/chunk/da-Da-m3VU_.js +3 -3
  272. package/chunk/de-BSoD5U3-.js +3 -3
  273. package/chunk/{downshift.esm-C-gdTM26.js → downshift.esm-Bq9WfE1w.js} +121 -121
  274. package/chunk/{downshift.esm-C-gdTM26.js.map → downshift.esm-Bq9WfE1w.js.map} +1 -1
  275. package/chunk/{downshift.esm-CxrmBk-8.js → downshift.esm-DnvoFfPd.js} +4 -4
  276. package/chunk/{downshift.esm-CxrmBk-8.js.map → downshift.esm-DnvoFfPd.js.map} +1 -1
  277. package/chunk/el-CFa6y9Ri.js +3 -3
  278. package/chunk/empties-BIoZK05_.js +3 -3
  279. package/chunk/{empties-DHvaWflk.js → empties-Ck9OJXHG.js} +4 -4
  280. package/chunk/{empties-DHvaWflk.js.map → empties-Ck9OJXHG.js.map} +1 -1
  281. package/chunk/en-GB-V8XaGkaI.js +3 -3
  282. package/chunk/es-D18tLxcT.js +3 -3
  283. package/chunk/es-ES-7x2bVUQr.js +3 -3
  284. package/chunk/et-udrWMVlD.js +3 -3
  285. package/chunk/eventEmitter-CSG6jR7V.js +3 -3
  286. package/chunk/fa-DgwYULMs.js +3 -3
  287. package/chunk/fi-CkCWFGDC.js +3 -3
  288. package/chunk/fr-BprIFEa8.js +3 -3
  289. package/chunk/fr-CA-DrjICejr.js +3 -3
  290. package/chunk/ga-LaV5ZJgg.js +3 -3
  291. package/chunk/hi-IN-7dtEICYI.js +3 -3
  292. package/chunk/hr-2Bctl997.js +3 -3
  293. package/chunk/hu-BT0z6TPZ.js +3 -3
  294. package/chunk/id-BvyYep3X.js +3 -3
  295. package/chunk/{intl-Yr2cw5px.js → intl-aUfdCP8t.js} +4 -4
  296. package/chunk/{intl-Yr2cw5px.js.map → intl-aUfdCP8t.js.map} +1 -1
  297. package/chunk/is-DOsKfa80.js +3 -3
  298. package/chunk/it-3dX9AQk7.js +3 -3
  299. package/chunk/iw-5I90wqQ8.js +3 -3
  300. package/chunk/ja-CHdgbMgX.js +3 -3
  301. package/chunk/jsx-runtime-BknAqbDq.js +3 -3
  302. package/chunk/{jsx-runtime-D_-z-h6n.js → jsx-runtime-XNwIsY_N.js} +17 -17
  303. package/chunk/{jsx-runtime-D_-z-h6n.js.map → jsx-runtime-XNwIsY_N.js.map} +1 -1
  304. package/chunk/kk-BriyNfHL.js +3 -3
  305. package/chunk/ko-DsMaax3V.js +3 -3
  306. package/chunk/lo-CjASRmNr.js +3 -3
  307. package/chunk/lt-DF29E1de.js +3 -3
  308. package/chunk/lv-DlHBZyt-.js +3 -3
  309. package/chunk/militaryStepHelpers-UF-7lF1f.js +3 -3
  310. package/chunk/{militaryStepHelpers-DSh6iat_.js → militaryStepHelpers-qMYyQgVn.js} +4 -4
  311. package/chunk/{militaryStepHelpers-DSh6iat_.js.map → militaryStepHelpers-qMYyQgVn.js.map} +1 -1
  312. package/chunk/mocks-1r84in2Q.js +3 -3
  313. package/chunk/{mocks-CKXq8CZk.js → mocks-fUTXc8-e.js} +8 -8
  314. package/chunk/{mocks-CKXq8CZk.js.map → mocks-fUTXc8-e.js.map} +1 -1
  315. package/chunk/ms-B3vDtlFh.js +3 -3
  316. package/chunk/nl-BE-Dw1IGXuF.js +3 -3
  317. package/chunk/nl-Cqkrr5-r.js +3 -3
  318. package/chunk/no-876EdwkX.js +3 -3
  319. package/chunk/options-D19mRw5a.js +3 -3
  320. package/chunk/pl-B_G8s05-.js +3 -3
  321. package/chunk/{programThemeGetters-iBty-gXI.js → programThemeGetters-CyMKyJao.js} +35 -35
  322. package/chunk/{programThemeGetters-iBty-gXI.js.map → programThemeGetters-CyMKyJao.js.map} +1 -1
  323. package/chunk/programThemeGetters-Lz3L0Vh7.js +3 -3
  324. package/chunk/pt-BR-DWj043qk.js +3 -3
  325. package/chunk/pt-DckA3Jnn.js +3 -3
  326. package/chunk/{refs-C_tB1qMA.js → refs--ECXpllB.js} +4 -4
  327. package/chunk/{refs-C_tB1qMA.js.map → refs--ECXpllB.js.map} +1 -1
  328. package/chunk/refs-Bbe0gnJ3.js +3 -3
  329. package/chunk/ro-DukNcWCM.js +3 -3
  330. package/chunk/ru-RkdRQ7qb.js +3 -3
  331. package/chunk/sk-CPBgBtC5.js +3 -3
  332. package/chunk/sl-Cyj9PWmN.js +3 -3
  333. package/chunk/sr-Bm1GVW8m.js +3 -3
  334. package/chunk/strings-DWLVdUcm.js +3 -3
  335. package/chunk/sv-CcMmeZrG.js +3 -3
  336. package/chunk/sw-BPvl1ou6.js +3 -3
  337. package/chunk/ta-BPEH7IlE.js +3 -3
  338. package/chunk/th-Dd912RL5.js +3 -3
  339. package/chunk/tl-J_TdpjQz.js +3 -3
  340. package/chunk/tr-B-GrrJj0.js +3 -3
  341. package/chunk/uk-MohyvT_n.js +3 -3
  342. package/chunk/ur-CDYGpWMm.js +3 -3
  343. package/chunk/{useCollectFieldsEndpoint-DEqgS7M_.js → useCollectFieldsEndpoint-1e9hjiDq.js} +10 -10
  344. package/chunk/{useCollectFieldsEndpoint-pOK1f5os.js.map → useCollectFieldsEndpoint-1e9hjiDq.js.map} +1 -1
  345. package/chunk/{useCollectFieldsEndpoint-pOK1f5os.js → useCollectFieldsEndpoint-C4UDrIxG.js} +5 -5
  346. package/chunk/{useCollectFieldsEndpoint-DEqgS7M_.js.map → useCollectFieldsEndpoint-C4UDrIxG.js.map} +1 -1
  347. package/chunk/useMetrics-D_8asKZL.js +3 -3
  348. package/chunk/{useMetrics-BdMoL7SD.js → useMetrics-Ivet_g4B.js} +17 -17
  349. package/chunk/{useMetrics-BdMoL7SD.js.map → useMetrics-Ivet_g4B.js.map} +1 -1
  350. package/chunk/{validators-DTjHYDSK.js → validators-BZCydYkb.js} +79 -79
  351. package/chunk/{validators-DTjHYDSK.js.map → validators-BZCydYkb.js.map} +1 -1
  352. package/chunk/validators-Do9xo2t_.js +3 -3
  353. package/chunk/vi-CdPTWSev.js +3 -3
  354. package/chunk/zh-DhnjKBoc.js +3 -3
  355. package/chunk/zh-HK-CWKNP_HX.js +3 -3
  356. package/chunk/zu-BpMHS0oR.js +3 -3
  357. package/package.json +2 -3
  358. package/sheerid-install.css +3 -3
  359. package/sheerid-install.js +4 -4
  360. package/sheerid-install.js.map +1 -1
  361. package/sheerid.css +3 -3
  362. package/sheerid.js +1659 -1674
  363. package/sheerid.js.map +1 -1
  364. package/chunk/CountryComponentWrapper-CHsLroJa.js +0 -78
  365. package/chunk/FormFieldTypeahead-BblauBOC.js.map +0 -1
  366. package/chunk/FormFieldTypeahead-bR9_vlWX.js.map +0 -1
  367. package/chunk/FormFooterComponent-DdYBy4hI.js.map +0 -1
  368. package/chunk/FormFooterComponent-QZUjL2NN.js.map +0 -1
  369. package/chunk/StepCollectMilitaryStatusComponent-Bk3fehX6.js +0 -9
  370. package/chunk/StepSuccess-BocTx0BL.js.map +0 -1
  371. package/chunk/StepSuccess-T6-OhHHn.js.map +0 -1
  372. package/chunk/StepTeacherPersonalInfo-SArNeiJd.js +0 -153
  373. package/chunk/TestingRouteOverrides-BDCygTLC.js +0 -81
@@ -1 +1 @@
1
- {"version":3,"file":"StepStudentPersonalInfo-BiKIDVhk.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\",\n );\n if (showCvecInput) {\n updateStudentViewModel(\"fieldsToSkipValidation\", existing);\n } else {\n // Don't validate CVEC number if country is not France\n updateStudentViewModel(\"fieldsToSkipValidation\", [...existing, \"cvecNumber\"]);\n }\n }, [showCvecInput]);\n // #endregion include-cvec-field-france-student\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n draft[key] = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"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 updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\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 disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepStudentPersonalInfoComponent = StepStudentPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;4CAuEA,IAAA,GA3DA,EAAA,UAAA,cAAA,aAAA,SAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,CACA,GC4Ja,KAnLoB,EAC/B,6BAC2C;CAC3C,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU;CAEtC,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,YACjB;EACA,AAAI,IACF,EAAuB,0BAA0B,CAAQ,IAGzD,EAAuB,0BAA0B,CAAC,GAAG,GAAU,YAAY,CAAC;CAEhF,GAAG,CAAC,CAAa,CAAC;CAGlB,IAAM,IAAqB,EAAsB,CAAoB,GAE/D,KAA0B,GAAyC,MAAe;EACtF,IAAM,IAA0C,EAC9C,IACC,MAAwC;GACvC,EAAM,KAAO;EACf,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IAAS,EAAU,aAAa;CAEtC,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YA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F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepStudentPersonalInfo-7T1fonlN.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\",\n );\n if (showCvecInput) {\n updateStudentViewModel(\"fieldsToSkipValidation\", existing);\n } else {\n // Don't validate CVEC number if country is not France\n updateStudentViewModel(\"fieldsToSkipValidation\", [...existing, \"cvecNumber\"]);\n }\n }, [showCvecInput]);\n // #endregion include-cvec-field-france-student\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n draft[key] = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"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 updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\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 disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepStudentPersonalInfoComponent = StepStudentPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;4CAuEA,IAAA,GA3DA,EAAA,UAAA,cAAA,aAAA,SAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,CACA,GC4Ja,KAnLoB,EAC/B,6BAC2C;CAC3C,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU;CAEtC,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,YACjB;EACA,AAAI,IACF,EAAuB,0BAA0B,CAAQ,IAGzD,EAAuB,0BAA0B,CAAC,GAAG,GAAU,YAAY,CAAC;CAEhF,GAAG,CAAC,CAAa,CAAC;CAGlB,IAAM,IAAqB,EAAsB,CAAoB,GAE/D,KAA0B,GAAyC,MAAe;EACtF,IAAM,IAA0C,EAC9C,IACC,MAAwC;GACvC,EAAM,KAAO;EACf,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IAAS,EAAU,aAAa;CAEtC,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACu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AAsB,GAAU,CAAmB;IAC1F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -1,23 +1,23 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.258.0-alpha.2
4
- * BUILD_TIMESTAMP: 1784652149837
5
- * BUILD_DATE: Tue Jul 21 2026 16:42:29 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.258.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1784652830507
5
+ * BUILD_DATE: Tue Jul 21 2026 16:53:50 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
7
7
  */
8
8
  import { Ft as e, Wt as t, c as n, n as r } from "./options-D19mRw5a.js";
9
9
  import { a as i, c as a, n as o, t as s } from "./jsx-runtime-BknAqbDq.js";
10
- import { w as c } from "./FormFooterComponent-QZUjL2NN.js";
10
+ import { x as c } from "./FormFooterComponent-QN5kZ4hU.js";
11
11
  import { K as l, V as u, et as d, n as f, r as p, tt as m } from "../sheerid.js";
12
- import { a as h, i as g, n as _, o as v, s as y, t as b } from "./CaptchaComponent-Dj1XrWkM.js";
12
+ import { a as h, i as g, n as _, o as v, s as y, t as b } from "./CaptchaComponent-WnBWWmBW.js";
13
13
  import { t as x } from "./FormFieldText-zjWk7Cyc.js";
14
14
  import { n as S, t as C } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
15
- import { t as w } from "./BirthDateComponent-BNxj7HVi.js";
16
- import { t as T } from "./CountryComponentWrapper-DSWE6u6x.js";
17
- import { t as E } from "./ExtraMessage-CwPDe_DW.js";
18
- import { t as D } from "./ChangeLocaleComponent-D1rmQo2-.js";
19
- import { t as O } from "./PersonalInfoStepWrapper-jdzoT2oQ.js";
20
- import { t as k } from "./CollegeNameComponent-x7_ep0bP.js";
15
+ import { t as w } from "./BirthDateComponent-BqZned-E.js";
16
+ import { t as T } from "./CountryComponentWrapper-bzcjcPxz.js";
17
+ import { t as E } from "./ExtraMessage-MKBXSbM_.js";
18
+ import { t as D } from "./ChangeLocaleComponent-DOa9NZyI.js";
19
+ import { t as O } from "./PersonalInfoStepWrapper-BgWJSycH.js";
20
+ import { t as k } from "./CollegeNameComponent-Cd_gOpDt.js";
21
21
  //#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
22
22
  var A = /* @__PURE__ */ t(a(), 1), j = s(), M = i(({ value: e, isErrored: t, onChange: n, intl: r, explanation: i, placeholder: a = "", isRequired: s = !1 }) => {
23
23
  let c = f("include-cvec-field-france-student");
@@ -1 +1 @@
1
- {"version":3,"file":"StepStudentPersonalInfo-e1z1hWCH.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\",\n );\n if (showCvecInput) {\n updateStudentViewModel(\"fieldsToSkipValidation\", existing);\n } else {\n // Don't validate CVEC number if country is not France\n updateStudentViewModel(\"fieldsToSkipValidation\", [...existing, \"cvecNumber\"]);\n }\n }, [showCvecInput]);\n // #endregion include-cvec-field-france-student\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n draft[key] = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"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 updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\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 disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepStudentPersonalInfoComponent = StepStudentPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;4CAuEA,IAAA,GA3DA,EAAA,UAAA,cAAA,aAAA,SAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,CACA,GC4Ja,KAnLoB,EAC/B,6BAC2C;CAC3C,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU;CAEtC,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,YACjB;EACA,AAAI,IACF,EAAuB,0BAA0B,CAAQ,IAGzD,EAAuB,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KAAK,MACrC,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,UAAU,EAAwB,oBAAoB,GAAG;IACzD,WAAW,MAAa;KAKtB,AAJA,EAAuB,YAAY;MACjC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepStudentPersonalInfo-Dcih7Qze.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\",\n );\n if (showCvecInput) {\n updateStudentViewModel(\"fieldsToSkipValidation\", existing);\n } else {\n // Don't validate CVEC number if country is not France\n updateStudentViewModel(\"fieldsToSkipValidation\", [...existing, \"cvecNumber\"]);\n }\n }, [showCvecInput]);\n // #endregion include-cvec-field-france-student\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n draft[key] = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"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 updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\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 disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepStudentPersonalInfoComponent = StepStudentPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;4CAuEA,IAAA,GA3DA,EAAA,UAAA,cAAA,aAAA,SAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,CACA,GC4Ja,KAnLoB,EAC/B,6BAC2C;CAC3C,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU;CAEtC,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,YACjB;EACA,AAAI,IACF,EAAuB,0BAA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AQ,oBAAoB,CAAC,GAAG,KAAK,MACrC,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,UAAU,EAAwB,oBAAoB,GAAG;IACzD,WAAW,MAAa;KAKtB,AAJA,EAAuB,YAAY;MACjC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -1,14 +1,14 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.258.0-alpha.2
4
- * BUILD_TIMESTAMP: 1784652149837
5
- * BUILD_DATE: Tue Jul 21 2026 16:42:29 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.258.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1784652830507
5
+ * BUILD_DATE: Tue Jul 21 2026 16:53:50 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
7
7
  */
8
8
  import { Bt as e, C as t, G as n, Ot as r, W as i, Wt as a, d as o, m as s, n as c } from "./options-D19mRw5a.js";
9
9
  import { c as l, n as u, t as d } from "./jsx-runtime-BknAqbDq.js";
10
10
  import { i as f } from "./TestingRouteOverrides-B-zcTBa_.js";
11
- import { t as p } from "./ApiUrls-BjhuhV-u.js";
11
+ import { t as p } from "./ApiUrls-D-825yEj.js";
12
12
  import { t as m } from "./eventEmitter-CSG6jR7V.js";
13
13
  import { t as h } from "./LogoComponent-BMeuu-aK.js";
14
14
  import { t as g } from "./AnnouncingHeader-DjgtqEeX.js";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepSuccess-B8mKkiSn.js","names":[],"sources":["../../src/lib/installScript/utils.ts","../../src/lib/installScript/constants.ts","../../src/lib/installScript/iframe.ts","../../src/lib/installScript/affinity.ts","../../src/components/StepSuccess/StepSuccessComponent.tsx"],"sourcesContent":["export const fadeInElements = (elements: HTMLElement[]) => {\n elements.forEach((element: HTMLElement) => {\n element.classList.add(\"fade-in\");\n });\n};\n\nexport const removeElement = (element: HTMLElement, transitionTimeout: number) => {\n element.classList.remove(\"fade-in\");\n window.setTimeout(() => {\n document.body.style.overflow = \"\";\n element.parentNode.removeChild(element);\n }, transitionTimeout);\n};\n\nexport const getVerificationUrl = (url: string): string => {\n const newUrl = new URL(url);\n const parentUrl = new URL(window.location.href);\n\n // Combine query parameters from parent window and provided url.\n // If duplicates, provided url parameters supercede.\n parentUrl.searchParams.forEach((value, key) => {\n if (!newUrl.searchParams.has(key)) {\n newUrl.searchParams.set(key, value);\n }\n });\n\n return newUrl.href;\n};\n","const iframeClassNames = {\n INLINE_IFRAME_CONTENT: \"sid-inline-iframe\",\n MODAL_WRAPPER: \"sid-modal__wrapper\",\n MODAL_IFRAME: \"sid-modal__iframe\",\n OVERLAY: \"sid-modal__overlay\",\n CLOSE_BUTTON: \"sid-modal__close-button\",\n CLOSE_TEXT: \"sid-modal__close-text\",\n CLOSE_ICON: \"sid-modal__close-icon\",\n};\n\nexport const iframeTitle = \"SheerID Verification Form\";\n\nexport const iframeConstants = {\n CLASS_NAMES: iframeClassNames,\n DEFAULT_MOBILE_THRESHOLD_WIDTH: 620,\n MODAL_OPACITY_TRANSITION_PERIOD: 300,\n};\n","import { logger } from \"@jslib/shared/utils/logger\";\n\nimport { QUERY_STRING_INSTALL_PAGE_URL, QUERY_STRING_INSTALL_TYPE } from \"../../constants\";\nimport { type InstallPageEvent } from \"../frames/frameMessages\";\nimport type { HookEvents, Options, PostMessageAction, ViewModel } from \"../types/types\";\nimport { EventEmitter } from \"../hooks/eventEmitter\";\n\nimport { getVerificationUrl } from \"./utils\";\nimport { iframeConstants as constants, iframeTitle } from \"./constants\";\n\nexport type IframeOptions = {\n className: string;\n title: string;\n};\n\nexport const DEFAULT_OPTIONS: IframeOptions = {\n className: constants.CLASS_NAMES.INLINE_IFRAME_CONTENT,\n title: iframeTitle,\n};\n\nexport const assertValidFunction = (candidate: Function) => {\n if (typeof candidate !== \"function\") {\n throw new Error(`Expected type \"function\", but received ${typeof candidate}`);\n }\n};\n\nclass Iframe extends EventEmitter<HookEvents> {\n containerElement: HTMLElement;\n\n verificationUrl: URL;\n\n isMobileDevice: boolean;\n\n iframe: HTMLIFrameElement;\n\n verificationIframeUid: string;\n\n locale: string;\n\n hasLoaded: boolean = false;\n\n onLoadEvents: Function[] = [];\n\n onCleanupEvents: (() => void)[] = [];\n\n installType = \"cdn_inline_iframe\";\n\n constructor(containerElement: HTMLElement, url: string) {\n super();\n\n if (Iframe.isValidHttpUrl(url)) {\n this.containerElement = containerElement;\n this.verificationUrl = new URL(getVerificationUrl(url));\n this.verificationIframeUid = Iframe.createUniqueId();\n } else {\n logger.error(\"Invalid URL. Provide a proper URL: https://example.com/\", \"iframe url\");\n }\n }\n\n cleanup(): void {\n this.onCleanupEvents.forEach((callback) => callback());\n }\n\n static createUniqueId(): string {\n return Math.random().toString(36).substr(2, 9);\n }\n\n static isValidHttpUrl(urlString: string): boolean {\n try {\n const url = new URL(urlString);\n return url.protocol === \"http:\" || url.protocol === \"https:\";\n } catch {\n return false;\n }\n }\n\n createIframe(options: IframeOptions): HTMLIFrameElement {\n this.iframe = document.createElement(\"iframe\");\n this.iframe.classList.add(options.className);\n this.iframe.title = options.title;\n this.iframe.src = this.getIframeUrl();\n this.iframe.allow = \"camera *;microphone *;geolocation *;clipboard-read *;clipboard-write *\";\n this.iframe.onload = () => this.onLoad();\n return this.iframe;\n }\n\n getIframeUrl(): string {\n const url = new URL(this.verificationUrl);\n url.searchParams.set(\"verificationIframeUid\", this.verificationIframeUid);\n url.searchParams.set(QUERY_STRING_INSTALL_PAGE_URL, window.location.href);\n url.searchParams.set(QUERY_STRING_INSTALL_TYPE, this.installType);\n if (this.locale) {\n url.searchParams.set(\"locale\", this.locale);\n }\n return url.toString();\n }\n\n // If iFrame hasn't loaded yet, queue up the callback\n // otherwise call it immediately\n addOnLoadEvent(callback: Function) {\n try {\n assertValidFunction(callback);\n } catch (e) {\n logger.error(\"Invalid callback provided to iFrame.onLoad()\", \"iframe addOnLoadEvent\");\n return;\n }\n if (this.hasLoaded) {\n callback();\n } else {\n this.onLoadEvents.push(callback);\n }\n }\n\n onLoad() {\n this.hasLoaded = true;\n this.onLoadEvents.forEach((callback) => callback());\n }\n\n /**\n * Using this to add parent window message listeners gives us\n * - Event Cleanup for modals\n * - verification of origin, verificationIframeUid, and message data structure\n */\n addWindowMessageListener(actionCb: (action: PostMessageAction) => void): void {\n const listener = (ev: MessageEvent) => {\n if (this.verificationUrl.origin !== ev.origin) {\n return;\n }\n\n if (ev.data.verificationIframeUid !== this.verificationIframeUid) {\n return;\n }\n\n if (ev.data.action && ev.data.action.type) {\n actionCb(ev.data.action);\n } else if (ev.data.action && ev.data.height) {\n // Older versions of the jslib send the full action object as the message\n actionCb(ev.data);\n }\n };\n\n window.addEventListener(\"message\", listener);\n this.onCleanupEvents.push(() => window.removeEventListener(\"message\", listener));\n }\n\n addActionListener() {\n this.addWindowMessageListener((messageAction) => {\n if (messageAction.type === \"hook\") {\n this.emit(messageAction.hook.name, messageAction.hook.data);\n }\n\n if (\n (messageAction.action && messageAction.action === \"updateHeight\") ||\n messageAction.type === \"updateHeight\"\n ) {\n // UX-1129: If we are getting height updates, turn off scrolling for\n // the iframe. This prevents browsers (Safari in particular) from\n // re-wrapping because of different widths and constantly changing\n // it's own height. `scrolling = \"no\"` is deprecated, but supported in\n // all browsers and fixes the problem well.\n this.iframe.scrolling = \"no\";\n this.iframe.style.height = `${messageAction.height}px`;\n }\n });\n }\n\n setViewModel(viewModel: Partial<ViewModel> | ViewModel) {\n const message: InstallPageEvent = {\n action: \"setViewModel\",\n viewModel,\n };\n\n this.addOnLoadEvent(() => {\n this.iframe.contentWindow.postMessage(message, this.verificationUrl.origin);\n });\n }\n\n setOptions(options: Options) {\n const message: InstallPageEvent = {\n action: \"setOptions\",\n options,\n };\n\n // HC-1181: Special casing options.locale to set locale as as QSP if the frame hasn't fully loaded yet.\n // This causes a re-load, but in most cases would happen within milliseconds of the frame initialization.\n // It prevents the race conditions that were failing to set the locale properly on load.\n // If the associated playwright tests passes without this is can be removed.\n if (!this.hasLoaded && options.locale) {\n this.locale = options.locale;\n const newUrl = this.getIframeUrl();\n if (newUrl !== this.iframe.src) {\n this.iframe.src = newUrl;\n }\n }\n\n this.addOnLoadEvent(() => {\n this.iframe.contentWindow.postMessage(message, this.verificationUrl.origin);\n });\n }\n\n setInstallType(installType: string) {\n this.installType = installType;\n }\n\n init(createIframe: boolean = true): void {\n if (createIframe) {\n this.createIframe(DEFAULT_OPTIONS);\n }\n\n this.addActionListener();\n this.containerElement.appendChild(this.iframe);\n }\n}\n\nexport default Iframe;\n","import type { PostMessageAction } from \"../types/types\";\n\nimport Iframe, { DEFAULT_OPTIONS, type IframeOptions } from \"./iframe\";\n\nexport const assertValidFunction = (candidate: Function) => {\n if (typeof candidate !== \"function\") {\n throw new Error(`Expected type \"function\", but received ${typeof candidate}`);\n }\n};\n\nclass AffinityIFrame extends Iframe {\n constructor(containerElement: HTMLElement, url: string) {\n super(containerElement, url);\n this.verificationUrl = new URL(this.getAffinityUrlWithUID(url));\n }\n\n static createUniqueId() {\n return Math.random().toString(36).substr(2, 9);\n }\n\n getAffinityUrlWithUID(url: string): string {\n const urlObj = new URL(url);\n urlObj.searchParams.set(\"affinityIframeUid\", this.verificationIframeUid);\n return urlObj.toString();\n }\n\n override addWindowMessageListener(actionCb: (action: PostMessageAction) => void): void {\n const listener = (ev: MessageEvent) => {\n if (this.verificationUrl.origin !== ev.origin) {\n return;\n }\n\n if (ev.data.affinityIframeUid !== this.verificationIframeUid) {\n return;\n }\n\n if (ev.data.action && ev.data.action.type) {\n actionCb(ev.data.action);\n }\n };\n\n window.addEventListener(\"message\", listener);\n this.onCleanupEvents.push(() => window.removeEventListener(\"message\", listener));\n }\n\n override createIframe(options: IframeOptions): HTMLIFrameElement {\n this.iframe = document.createElement(\"iframe\");\n this.iframe.classList.add(options.className);\n this.iframe.title = options.title;\n this.iframe.src = this.verificationUrl.href;\n this.iframe.allow = \"camera;microphone\";\n this.iframe.onload = () => this.onLoad();\n return this.iframe;\n }\n\n override init() {\n this.createIframe({ ...DEFAULT_OPTIONS, title: \"SheerID Affinity Offers\" });\n this.addActionListener();\n this.containerElement.appendChild(this.iframe);\n }\n}\n\nexport function loadAffinityIFrame(containerElement: HTMLElement, url: string): AffinityIFrame {\n const affinity = new AffinityIFrame(containerElement, url);\n affinity.init();\n return affinity;\n}\n\nexport default AffinityIFrame;\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { loadAffinityIFrame } from \"@/lib/installScript/affinity\";\n\nimport {\n type VerificationService,\n type SuccessResponse,\n type ConsumerInfoState,\n} from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getLocaleSafely } from \"../../lib/intl/intl\";\nimport { getRememberMeRedirectDestination } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { getQueryOrOption } from \"../../lib/ServerApi/TestingRouteOverrides\";\nimport { QUERY_STRING_REMEMBER_ME_OVERRIDE } from \"../../constants\";\nimport { getOptions } from \"../../options/options\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { EventName, recordCTAClickEvent } from \"../../lib/GoogleAnalytics/ga\";\n\ninterface StepSuccessProps {\n verificationService: VerificationService;\n}\n\nconst redirect = (redirectDestination: string, target: string = \"_top\") => {\n const win = window.open(redirectDestination, target);\n win.focus();\n};\n\nconst getAffinityBaseUrl = () => {\n const options = getOptions();\n const apiBaseUrl = options.restApi.serviceUrl;\n\n if (apiBaseUrl.includes(\"services.sheerid.com\") || apiBaseUrl.includes(\"my.sheerid.com\")) {\n return \"https://shr-id.com\";\n }\n\n return \"https://aa-preview.sheerid.net\";\n};\n\nconst StepSuccess = ({ verificationService }: StepSuccessProps) => {\n const { verificationResponse, programId, viewModel } = verificationService;\n const { verificationId, redirectUrl } = verificationResponse as SuccessResponse;\n const { config } = verificationService.programTheme;\n const affinityRef = React.useRef<HTMLDivElement>(null);\n\n const showRedirect = Boolean(redirectUrl);\n const rewardCode = (verificationResponse as SuccessResponse).rewardCode || \"{rewardCode}\";\n const noCodeType = config.offerType === \"noCode\";\n\n const { rewardDisplay } = config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n const mockConsumerInfoState = getQueryOrOption(\n QUERY_STRING_REMEMBER_ME_OVERRIDE,\n ) as ConsumerInfoState;\n const consumerInfoState: ConsumerInfoState =\n mockConsumerInfoState || (verificationResponse as SuccessResponse).consumerInfoState;\n const showRememberMeFooter =\n consumerInfoState === \"consumerNotFound\" ||\n consumerInfoState === \"consumerFoundNewFieldsAvailable\";\n\n const locale = getLocaleSafely(viewModel, verificationResponse);\n\n const handleOnRedirect = () => {\n recordCTAClickEvent(EventName.SUCCESS_REDIRECT_CLICKED, {\n programId,\n locale,\n verificationId,\n });\n\n redirect(getRememberMeRedirectDestination(locale, programId, verificationId), \"_blank\");\n };\n\n React.useEffect(() => {\n // Load the affinity widget if enabled\n if (affinityRef.current) {\n affinityRef.current.innerHTML = \"\";\n loadAffinityIFrame(\n affinityRef.current,\n `${getAffinityBaseUrl()}/affinity/${locale}/${programId}/${verificationId}`,\n );\n }\n }, [affinityRef, programId, verificationId, locale]);\n\n return (\n <div id=\"sid-step-success\" className=\"sid-success-container sid-l-container\" role=\"region\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-success-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-success-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/circle-check.svg\"\n />\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.success.title\"\n defaultMessage=\"Success! You've been verified.\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.success.subtitle\"\n defaultMessage=\"You are now eligible for this special offer.\"\n tagName=\"p\"\n />\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={rewardCode}\n src={getBarcodeUrl(verificationId, \"rewardCode\", displayType)}\n />\n );\n return (\n <div key={displayType}>\n <div\n className=\"sid-reward-code sid-l-space-top-md sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {rewardCode}\n </div>\n <div className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\">\n <CopyToClipboard\n textToCopy={rewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy coupon code\"\n />\n </CopyToClipboard>\n </div>\n </div>\n );\n })}\n </div>\n )}\n\n <div\n className={`sid-footer sid-success-footer sid-l-horz-center ${\n noCodeType ? \"sid-l-space-top-md\" : \"sid-l-space-top-lg\"\n }`}\n >\n <FormattedHTMLMessage\n id=\"step.success.emailNotification\"\n defaultMessage=\"We have sent you a confirmation email with redemption instructions. Look for the email from {email}.\"\n tagName=\"p\"\n values={{ email: \"verify@sheerid.com\" }}\n />\n </div>\n\n {showRedirect ? (\n <div className=\"sid-submit sid-success-submit sid-l-space-top-md\">\n <button\n type=\"button\"\n onClick={() => redirect(redirectUrl)}\n className=\"sid-btn sid-success-redirect-btn sid-btn--dark\"\n >\n <FormattedHTMLMessage id=\"step.success.redirectButtonText\" defaultMessage=\"Continue\" />\n </button>\n </div>\n ) : (\n \"\"\n )}\n\n <div\n className=\"sid-footer sid-success-verification-only-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.success.verificationOnly\"\n defaultMessage={`\n SheerID handles verification only.\n Now that you've been approved, please direct all questions about the\n promotion terms to {companyName} customer service.\n `}\n values={{ companyName }}\n tagName=\"p\"\n />\n )}\n </FormattedHTMLMessage>\n </div>\n\n {verificationService.programTheme.affinityProgramEnabled && (\n <div\n ref={affinityRef}\n id=\"sid-affinity-iframe\"\n className=\"sid-affinity-container sid-l-full-width sid-l-space-top-lg\"\n />\n )}\n\n {showRememberMeFooter && (\n <div className=\"sid-remember-me-footer-container\">\n <div className=\"sid-remember-me-title\">\n {consumerInfoState === \"consumerNotFound\" ? (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerNotFound.title\"\n defaultMessage=\"Save your info for 1-click verification\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerFound.title\"\n defaultMessage=\"Update Your Profile\"\n />\n )}\n </div>\n <div className=\"sid-remember-me-description\">\n {consumerInfoState === \"consumerNotFound\" ? (\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerNotFound.description\"\n defaultMessage=\"Get faster access to future offers with {companyName} and other brands using SheerID's Remember Me service.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n ) : (\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerFound.description\"\n defaultMessage=\"Save new info for future offers with {companyName} and other brands using SheerID's Remember Me service.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n )}\n </div>\n <button\n type=\"button\"\n onClick={handleOnRedirect}\n className=\"sid-btn sid-remember-me-redirect-btn\"\n >\n {consumerInfoState === \"consumerNotFound\" ? (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerNotFound.button\"\n defaultMessage=\"Enroll Now\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerFound.button\"\n defaultMessage=\"Save to Remember Me\"\n />\n )}\n </button>\n </div>\n )}\n </div>\n );\n};\n\nexport const StepSuccessComponent = StepSuccess;\n"],"mappings":";;;;;;;;;;mCAcA,KAAA,MAAA;;;;;AAaA,GEZa,IAAiC;CAC5C,WAAW;EDHX,aAAa;GAZb,uBAAuB;GACvB,eAAe;GACf,cAAc;GACd,SAAS;GACT,cAAc;GACd,YAAY;GACZ,YAAY;EAMC;EACb,gCAAgC;EAChC,iCAAiC;CCCtB,EAAU,YAAY;CACjC,OAAO;AACT,GAEa,KAAuB,MAAwB;CAC1D,IAAI,OAAO,KAAc,YACvB,MAAU,MAAM,0CAA0C,OAAO,GAAW;AAEhF,GAEM,IAAN,MAAM,UAAe,EAAyB;CAC5C;CAEA;CAEA;CAEA;CAEA;CAEA;CAEA,YAAqB;CAErB,eAA2B,CAAC;CAE5B,kBAAkC,CAAC;CAEnC,cAAc;CAEd,YAAY,GAA+B,GAAa;EAGtD,AA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iBAAA,GAAA,EAAA,KAAC,UAAD;MACE,MAAK;MACL,eAxLqB;OAO7B,AANA,EAAoB,EAAU,0BAA0B;QACtD;QACA;QACA;OACF,CAAC,GAED,EAAS,EAAiC,GAAQ,GAAW,CAAc,GAAG,QAAQ;MACxF;MAiLU,WAAU;gBAET,MAAsB,qBACrB,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA,IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KAEG,CAAA;IACL;;EAEJ;;AAET"}
@@ -4,22 +4,22 @@
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.258.0-alpha.2
8
- * BUILD_TIMESTAMP: 1784652153608
9
- * BUILD_DATE: Tue Jul 21 2026 16:42:33 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.258.0-alpha.3
8
+ * BUILD_TIMESTAMP: 1784652834327
9
+ * BUILD_DATE: Tue Jul 21 2026 16:53:54 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
11
11
  */
12
- import { G as e, K as t, Rt as n, Tt as r, Ut as i, g as a, s as o, t as s, y as c } from "./intl-Yr2cw5px.js";
13
- import { c as l, n as u, t as d } from "./jsx-runtime-D_-z-h6n.js";
14
- import { t as f } from "./ApiUrls-Br8Vslon.js";
15
- import { i as p } from "./TestingRouteOverrides-BDCygTLC.js";
12
+ import { G as e, Ht as t, Lt as n, W as r, g as i, s as a, t as o, wt as s, y as c } from "./intl-aUfdCP8t.js";
13
+ import { c as l, n as u, t as d } from "./jsx-runtime-XNwIsY_N.js";
14
+ import { t as f } from "./ApiUrls-aJgNbpjJ.js";
15
+ import { i as p } from "./TestingRouteOverrides-DCR0qXVH.js";
16
16
  import { t as m } from "./eventEmitter-CSG6jR7V.js";
17
- import { t as h } from "./LogoComponent-BxIXOXCM.js";
18
- import { t as g } from "./AnnouncingHeader-BF69hVVm.js";
17
+ import { t as h } from "./LogoComponent-CFPoRk_q.js";
18
+ import { t as g } from "./AnnouncingHeader-BZreAj2L.js";
19
19
  import { V as _ } from "../_mysheerid-preview.js";
20
- import { t as v } from "./CopyToClipboardComponent-C1BnmvlK.js";
20
+ import { t as v } from "./CopyToClipboardComponent-6MY3v7_-.js";
21
21
  //#region src/lib/installScript/utils.ts
22
- var y = /* @__PURE__ */ i(l(), 1), b = (e) => {
22
+ var y = /* @__PURE__ */ t(l(), 1), b = (e) => {
23
23
  let t = new URL(e);
24
24
  return new URL(window.location.href).searchParams.forEach((e, n) => {
25
25
  t.searchParams.has(n) || t.searchParams.set(n, e);
@@ -41,7 +41,7 @@ var y = /* @__PURE__ */ i(l(), 1), b = (e) => {
41
41
  title: "SheerID Verification Form"
42
42
  }, S = (e) => {
43
43
  if (typeof e != "function") throw Error(`Expected type "function", but received ${typeof e}`);
44
- }, C = class r extends m {
44
+ }, C = class t extends m {
45
45
  containerElement;
46
46
  verificationUrl;
47
47
  isMobileDevice;
@@ -52,8 +52,8 @@ var y = /* @__PURE__ */ i(l(), 1), b = (e) => {
52
52
  onLoadEvents = [];
53
53
  onCleanupEvents = [];
54
54
  installType = "cdn_inline_iframe";
55
- constructor(e, t) {
56
- super(), r.isValidHttpUrl(t) ? (this.containerElement = e, this.verificationUrl = new URL(b(t)), this.verificationIframeUid = r.createUniqueId()) : n.error("Invalid URL. Provide a proper URL: https://example.com/", "iframe url");
55
+ constructor(e, r) {
56
+ super(), t.isValidHttpUrl(r) ? (this.containerElement = e, this.verificationUrl = new URL(b(r)), this.verificationIframeUid = t.createUniqueId()) : n.error("Invalid URL. Provide a proper URL: https://example.com/", "iframe url");
57
57
  }
58
58
  cleanup() {
59
59
  this.onCleanupEvents.forEach((e) => e());
@@ -73,8 +73,8 @@ var y = /* @__PURE__ */ i(l(), 1), b = (e) => {
73
73
  return this.iframe = document.createElement("iframe"), this.iframe.classList.add(e.className), this.iframe.title = e.title, this.iframe.src = this.getIframeUrl(), this.iframe.allow = "camera *;microphone *;geolocation *;clipboard-read *;clipboard-write *", this.iframe.onload = () => this.onLoad(), this.iframe;
74
74
  }
75
75
  getIframeUrl() {
76
- let n = new URL(this.verificationUrl);
77
- return n.searchParams.set("verificationIframeUid", this.verificationIframeUid), n.searchParams.set(e, window.location.href), n.searchParams.set(t, this.installType), this.locale && n.searchParams.set("locale", this.locale), n.toString();
76
+ let t = new URL(this.verificationUrl);
77
+ return t.searchParams.set("verificationIframeUid", this.verificationIframeUid), t.searchParams.set(r, window.location.href), t.searchParams.set(e, this.installType), this.locale && t.searchParams.set("locale", this.locale), t.toString();
78
78
  }
79
79
  addOnLoadEvent(e) {
80
80
  try {
@@ -164,16 +164,16 @@ function T(e, t) {
164
164
  var E = d(), D = (e, t = "_top") => {
165
165
  window.open(e, t).focus();
166
166
  }, O = () => {
167
- let e = o().restApi.serviceUrl;
167
+ let e = a().restApi.serviceUrl;
168
168
  return e.includes("services.sheerid.com") || e.includes("my.sheerid.com") ? "https://shr-id.com" : "https://aa-preview.sheerid.net";
169
169
  }, k = ({ verificationService: e }) => {
170
- let { verificationResponse: t, programId: n, viewModel: i } = e, { verificationId: o, redirectUrl: l } = t, { config: d } = e.programTheme, m = y.useRef(null), b = !!l, x = t.rewardCode || "{rewardCode}", S = d.offerType === "noCode", { rewardDisplay: C } = d, w = !S && !!C.length, k = p("mockConsumerInfoState") || t.consumerInfoState, A = k === "consumerNotFound" || k === "consumerFoundNewFieldsAvailable", j = s(i, t);
170
+ let { verificationResponse: t, programId: n, viewModel: r } = e, { verificationId: a, redirectUrl: l } = t, { config: d } = e.programTheme, m = y.useRef(null), b = !!l, x = t.rewardCode || "{rewardCode}", S = d.offerType === "noCode", { rewardDisplay: C } = d, w = !S && !!C.length, k = p("mockConsumerInfoState") || t.consumerInfoState, A = k === "consumerNotFound" || k === "consumerFoundNewFieldsAvailable", j = o(r, t);
171
171
  return y.useEffect(() => {
172
- m.current && (m.current.innerHTML = "", T(m.current, `${O()}/affinity/${j}/${n}/${o}`));
172
+ m.current && (m.current.innerHTML = "", T(m.current, `${O()}/affinity/${j}/${n}/${a}`));
173
173
  }, [
174
174
  m,
175
175
  n,
176
- o,
176
+ a,
177
177
  j
178
178
  ]), /* @__PURE__ */ (0, E.jsxs)("div", {
179
179
  id: "sid-step-success",
@@ -214,7 +214,7 @@ var E = d(), D = (e, t = "_top") => {
214
214
  }),
215
215
  w && /* @__PURE__ */ (0, E.jsx)("div", {
216
216
  className: "sid-l-horz-center sid-reward-container sid-l-space-top-md",
217
- children: C.map((e) => e === r.TEXT ? /* @__PURE__ */ (0, E.jsxs)("div", { children: [/* @__PURE__ */ (0, E.jsx)("div", {
217
+ children: C.map((e) => e === s.TEXT ? /* @__PURE__ */ (0, E.jsxs)("div", { children: [/* @__PURE__ */ (0, E.jsx)("div", {
218
218
  className: "sid-reward-code sid-l-space-top-md sid-h-jumbo-text sid-l-horz-center",
219
219
  role: "region",
220
220
  children: x
@@ -234,7 +234,7 @@ var E = d(), D = (e, t = "_top") => {
234
234
  })] }, e) : /* @__PURE__ */ (0, E.jsx)("img", {
235
235
  className: "sid-l-space-top-md sid-barcode",
236
236
  alt: x,
237
- src: f(o, "rewardCode", e)
237
+ src: f(a, "rewardCode", e)
238
238
  }, e))
239
239
  }),
240
240
  /* @__PURE__ */ (0, E.jsx)("div", {
@@ -313,11 +313,11 @@ var E = d(), D = (e, t = "_top") => {
313
313
  /* @__PURE__ */ (0, E.jsx)("button", {
314
314
  type: "button",
315
315
  onClick: () => {
316
- c(a.SUCCESS_REDIRECT_CLICKED, {
316
+ c(i.SUCCESS_REDIRECT_CLICKED, {
317
317
  programId: n,
318
318
  locale: j,
319
- verificationId: o
320
- }), D(_(j, n, o), "_blank");
319
+ verificationId: a
320
+ }), D(_(j, n, a), "_blank");
321
321
  },
322
322
  className: "sid-btn sid-remember-me-redirect-btn",
323
323
  children: k === "consumerNotFound" ? /* @__PURE__ */ (0, E.jsx)(u, {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepSuccess-KHgnlbqc.js","names":[],"sources":["../../src/lib/installScript/utils.ts","../../src/lib/installScript/constants.ts","../../src/lib/installScript/iframe.ts","../../src/lib/installScript/affinity.ts","../../src/components/StepSuccess/StepSuccessComponent.tsx"],"sourcesContent":["export const fadeInElements = (elements: HTMLElement[]) => {\n elements.forEach((element: HTMLElement) => {\n element.classList.add(\"fade-in\");\n });\n};\n\nexport const removeElement = (element: HTMLElement, transitionTimeout: number) => {\n element.classList.remove(\"fade-in\");\n window.setTimeout(() => {\n document.body.style.overflow = \"\";\n element.parentNode.removeChild(element);\n }, transitionTimeout);\n};\n\nexport const getVerificationUrl = (url: string): string => {\n const newUrl = new URL(url);\n const parentUrl = new URL(window.location.href);\n\n // Combine query parameters from parent window and provided url.\n // If duplicates, provided url parameters supercede.\n parentUrl.searchParams.forEach((value, key) => {\n if (!newUrl.searchParams.has(key)) {\n newUrl.searchParams.set(key, value);\n }\n });\n\n return newUrl.href;\n};\n","const iframeClassNames = {\n INLINE_IFRAME_CONTENT: \"sid-inline-iframe\",\n MODAL_WRAPPER: \"sid-modal__wrapper\",\n MODAL_IFRAME: \"sid-modal__iframe\",\n OVERLAY: \"sid-modal__overlay\",\n CLOSE_BUTTON: \"sid-modal__close-button\",\n CLOSE_TEXT: \"sid-modal__close-text\",\n CLOSE_ICON: \"sid-modal__close-icon\",\n};\n\nexport const iframeTitle = \"SheerID Verification Form\";\n\nexport const iframeConstants = {\n CLASS_NAMES: iframeClassNames,\n DEFAULT_MOBILE_THRESHOLD_WIDTH: 620,\n MODAL_OPACITY_TRANSITION_PERIOD: 300,\n};\n","import { logger } from \"@jslib/shared/utils/logger\";\n\nimport { QUERY_STRING_INSTALL_PAGE_URL, QUERY_STRING_INSTALL_TYPE } from \"../../constants\";\nimport { type InstallPageEvent } from \"../frames/frameMessages\";\nimport type { HookEvents, Options, PostMessageAction, ViewModel } from \"../types/types\";\nimport { EventEmitter } from \"../hooks/eventEmitter\";\n\nimport { getVerificationUrl } from \"./utils\";\nimport { iframeConstants as constants, iframeTitle } from \"./constants\";\n\nexport type IframeOptions = {\n className: string;\n title: string;\n};\n\nexport const DEFAULT_OPTIONS: IframeOptions = {\n className: constants.CLASS_NAMES.INLINE_IFRAME_CONTENT,\n title: iframeTitle,\n};\n\nexport const assertValidFunction = (candidate: Function) => {\n if (typeof candidate !== \"function\") {\n throw new Error(`Expected type \"function\", but received ${typeof candidate}`);\n }\n};\n\nclass Iframe extends EventEmitter<HookEvents> {\n containerElement: HTMLElement;\n\n verificationUrl: URL;\n\n isMobileDevice: boolean;\n\n iframe: HTMLIFrameElement;\n\n verificationIframeUid: string;\n\n locale: string;\n\n hasLoaded: boolean = false;\n\n onLoadEvents: Function[] = [];\n\n onCleanupEvents: (() => void)[] = [];\n\n installType = \"cdn_inline_iframe\";\n\n constructor(containerElement: HTMLElement, url: string) {\n super();\n\n if (Iframe.isValidHttpUrl(url)) {\n this.containerElement = containerElement;\n this.verificationUrl = new URL(getVerificationUrl(url));\n this.verificationIframeUid = Iframe.createUniqueId();\n } else {\n logger.error(\"Invalid URL. Provide a proper URL: https://example.com/\", \"iframe url\");\n }\n }\n\n cleanup(): void {\n this.onCleanupEvents.forEach((callback) => callback());\n }\n\n static createUniqueId(): string {\n return Math.random().toString(36).substr(2, 9);\n }\n\n static isValidHttpUrl(urlString: string): boolean {\n try {\n const url = new URL(urlString);\n return url.protocol === \"http:\" || url.protocol === \"https:\";\n } catch {\n return false;\n }\n }\n\n createIframe(options: IframeOptions): HTMLIFrameElement {\n this.iframe = document.createElement(\"iframe\");\n this.iframe.classList.add(options.className);\n this.iframe.title = options.title;\n this.iframe.src = this.getIframeUrl();\n this.iframe.allow = \"camera *;microphone *;geolocation *;clipboard-read *;clipboard-write *\";\n this.iframe.onload = () => this.onLoad();\n return this.iframe;\n }\n\n getIframeUrl(): string {\n const url = new URL(this.verificationUrl);\n url.searchParams.set(\"verificationIframeUid\", this.verificationIframeUid);\n url.searchParams.set(QUERY_STRING_INSTALL_PAGE_URL, window.location.href);\n url.searchParams.set(QUERY_STRING_INSTALL_TYPE, this.installType);\n if (this.locale) {\n url.searchParams.set(\"locale\", this.locale);\n }\n return url.toString();\n }\n\n // If iFrame hasn't loaded yet, queue up the callback\n // otherwise call it immediately\n addOnLoadEvent(callback: Function) {\n try {\n assertValidFunction(callback);\n } catch (e) {\n logger.error(\"Invalid callback provided to iFrame.onLoad()\", \"iframe addOnLoadEvent\");\n return;\n }\n if (this.hasLoaded) {\n callback();\n } else {\n this.onLoadEvents.push(callback);\n }\n }\n\n onLoad() {\n this.hasLoaded = true;\n this.onLoadEvents.forEach((callback) => callback());\n }\n\n /**\n * Using this to add parent window message listeners gives us\n * - Event Cleanup for modals\n * - verification of origin, verificationIframeUid, and message data structure\n */\n addWindowMessageListener(actionCb: (action: PostMessageAction) => void): void {\n const listener = (ev: MessageEvent) => {\n if (this.verificationUrl.origin !== ev.origin) {\n return;\n }\n\n if (ev.data.verificationIframeUid !== this.verificationIframeUid) {\n return;\n }\n\n if (ev.data.action && ev.data.action.type) {\n actionCb(ev.data.action);\n } else if (ev.data.action && ev.data.height) {\n // Older versions of the jslib send the full action object as the message\n actionCb(ev.data);\n }\n };\n\n window.addEventListener(\"message\", listener);\n this.onCleanupEvents.push(() => window.removeEventListener(\"message\", listener));\n }\n\n addActionListener() {\n this.addWindowMessageListener((messageAction) => {\n if (messageAction.type === \"hook\") {\n this.emit(messageAction.hook.name, messageAction.hook.data);\n }\n\n if (\n (messageAction.action && messageAction.action === \"updateHeight\") ||\n messageAction.type === \"updateHeight\"\n ) {\n // UX-1129: If we are getting height updates, turn off scrolling for\n // the iframe. This prevents browsers (Safari in particular) from\n // re-wrapping because of different widths and constantly changing\n // it's own height. `scrolling = \"no\"` is deprecated, but supported in\n // all browsers and fixes the problem well.\n this.iframe.scrolling = \"no\";\n this.iframe.style.height = `${messageAction.height}px`;\n }\n });\n }\n\n setViewModel(viewModel: Partial<ViewModel> | ViewModel) {\n const message: InstallPageEvent = {\n action: \"setViewModel\",\n viewModel,\n };\n\n this.addOnLoadEvent(() => {\n this.iframe.contentWindow.postMessage(message, this.verificationUrl.origin);\n });\n }\n\n setOptions(options: Options) {\n const message: InstallPageEvent = {\n action: \"setOptions\",\n options,\n };\n\n // HC-1181: Special casing options.locale to set locale as as QSP if the frame hasn't fully loaded yet.\n // This causes a re-load, but in most cases would happen within milliseconds of the frame initialization.\n // It prevents the race conditions that were failing to set the locale properly on load.\n // If the associated playwright tests passes without this is can be removed.\n if (!this.hasLoaded && options.locale) {\n this.locale = options.locale;\n const newUrl = this.getIframeUrl();\n if (newUrl !== this.iframe.src) {\n this.iframe.src = newUrl;\n }\n }\n\n this.addOnLoadEvent(() => {\n this.iframe.contentWindow.postMessage(message, this.verificationUrl.origin);\n });\n }\n\n setInstallType(installType: string) {\n this.installType = installType;\n }\n\n init(createIframe: boolean = true): void {\n if (createIframe) {\n this.createIframe(DEFAULT_OPTIONS);\n }\n\n this.addActionListener();\n this.containerElement.appendChild(this.iframe);\n }\n}\n\nexport default Iframe;\n","import type { PostMessageAction } from \"../types/types\";\n\nimport Iframe, { DEFAULT_OPTIONS, type IframeOptions } from \"./iframe\";\n\nexport const assertValidFunction = (candidate: Function) => {\n if (typeof candidate !== \"function\") {\n throw new Error(`Expected type \"function\", but received ${typeof candidate}`);\n }\n};\n\nclass AffinityIFrame extends Iframe {\n constructor(containerElement: HTMLElement, url: string) {\n super(containerElement, url);\n this.verificationUrl = new URL(this.getAffinityUrlWithUID(url));\n }\n\n static createUniqueId() {\n return Math.random().toString(36).substr(2, 9);\n }\n\n getAffinityUrlWithUID(url: string): string {\n const urlObj = new URL(url);\n urlObj.searchParams.set(\"affinityIframeUid\", this.verificationIframeUid);\n return urlObj.toString();\n }\n\n override addWindowMessageListener(actionCb: (action: PostMessageAction) => void): void {\n const listener = (ev: MessageEvent) => {\n if (this.verificationUrl.origin !== ev.origin) {\n return;\n }\n\n if (ev.data.affinityIframeUid !== this.verificationIframeUid) {\n return;\n }\n\n if (ev.data.action && ev.data.action.type) {\n actionCb(ev.data.action);\n }\n };\n\n window.addEventListener(\"message\", listener);\n this.onCleanupEvents.push(() => window.removeEventListener(\"message\", listener));\n }\n\n override createIframe(options: IframeOptions): HTMLIFrameElement {\n this.iframe = document.createElement(\"iframe\");\n this.iframe.classList.add(options.className);\n this.iframe.title = options.title;\n this.iframe.src = this.verificationUrl.href;\n this.iframe.allow = \"camera;microphone\";\n this.iframe.onload = () => this.onLoad();\n return this.iframe;\n }\n\n override init() {\n this.createIframe({ ...DEFAULT_OPTIONS, title: \"SheerID Affinity Offers\" });\n this.addActionListener();\n this.containerElement.appendChild(this.iframe);\n }\n}\n\nexport function loadAffinityIFrame(containerElement: HTMLElement, url: string): AffinityIFrame {\n const affinity = new AffinityIFrame(containerElement, url);\n affinity.init();\n return affinity;\n}\n\nexport default AffinityIFrame;\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { loadAffinityIFrame } from \"@/lib/installScript/affinity\";\n\nimport {\n type VerificationService,\n type SuccessResponse,\n type ConsumerInfoState,\n} from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getLocaleSafely } from \"../../lib/intl/intl\";\nimport { getRememberMeRedirectDestination } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { getQueryOrOption } from \"../../lib/ServerApi/TestingRouteOverrides\";\nimport { QUERY_STRING_REMEMBER_ME_OVERRIDE } from \"../../constants\";\nimport { getOptions } from \"../../options/options\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { EventName, recordCTAClickEvent } from \"../../lib/GoogleAnalytics/ga\";\n\ninterface StepSuccessProps {\n verificationService: VerificationService;\n}\n\nconst redirect = (redirectDestination: string, target: string = \"_top\") => {\n const win = window.open(redirectDestination, target);\n win.focus();\n};\n\nconst getAffinityBaseUrl = () => {\n const options = getOptions();\n const apiBaseUrl = options.restApi.serviceUrl;\n\n if (apiBaseUrl.includes(\"services.sheerid.com\") || apiBaseUrl.includes(\"my.sheerid.com\")) {\n return \"https://shr-id.com\";\n }\n\n return \"https://aa-preview.sheerid.net\";\n};\n\nconst StepSuccess = ({ verificationService }: StepSuccessProps) => {\n const { verificationResponse, programId, viewModel } = verificationService;\n const { verificationId, redirectUrl } = verificationResponse as SuccessResponse;\n const { config } = verificationService.programTheme;\n const affinityRef = React.useRef<HTMLDivElement>(null);\n\n const showRedirect = Boolean(redirectUrl);\n const rewardCode = (verificationResponse as SuccessResponse).rewardCode || \"{rewardCode}\";\n const noCodeType = config.offerType === \"noCode\";\n\n const { rewardDisplay } = config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n const mockConsumerInfoState = getQueryOrOption(\n QUERY_STRING_REMEMBER_ME_OVERRIDE,\n ) as ConsumerInfoState;\n const consumerInfoState: ConsumerInfoState =\n mockConsumerInfoState || (verificationResponse as SuccessResponse).consumerInfoState;\n const showRememberMeFooter =\n consumerInfoState === \"consumerNotFound\" ||\n consumerInfoState === \"consumerFoundNewFieldsAvailable\";\n\n const locale = getLocaleSafely(viewModel, verificationResponse);\n\n const handleOnRedirect = () => {\n recordCTAClickEvent(EventName.SUCCESS_REDIRECT_CLICKED, {\n programId,\n locale,\n verificationId,\n });\n\n redirect(getRememberMeRedirectDestination(locale, programId, verificationId), \"_blank\");\n };\n\n React.useEffect(() => {\n // Load the affinity widget if enabled\n if (affinityRef.current) {\n affinityRef.current.innerHTML = \"\";\n loadAffinityIFrame(\n affinityRef.current,\n `${getAffinityBaseUrl()}/affinity/${locale}/${programId}/${verificationId}`,\n );\n }\n }, [affinityRef, programId, verificationId, locale]);\n\n return (\n <div id=\"sid-step-success\" className=\"sid-success-container sid-l-container\" role=\"region\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-success-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-success-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/circle-check.svg\"\n />\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.success.title\"\n defaultMessage=\"Success! You've been verified.\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.success.subtitle\"\n defaultMessage=\"You are now eligible for this special offer.\"\n tagName=\"p\"\n />\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={rewardCode}\n src={getBarcodeUrl(verificationId, \"rewardCode\", displayType)}\n />\n );\n return (\n <div key={displayType}>\n <div\n className=\"sid-reward-code sid-l-space-top-md sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {rewardCode}\n </div>\n <div className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\">\n <CopyToClipboard\n textToCopy={rewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy coupon code\"\n />\n </CopyToClipboard>\n </div>\n </div>\n );\n })}\n </div>\n )}\n\n <div\n className={`sid-footer sid-success-footer sid-l-horz-center ${\n noCodeType ? \"sid-l-space-top-md\" : \"sid-l-space-top-lg\"\n }`}\n >\n <FormattedHTMLMessage\n id=\"step.success.emailNotification\"\n defaultMessage=\"We have sent you a confirmation email with redemption instructions. Look for the email from {email}.\"\n tagName=\"p\"\n values={{ email: \"verify@sheerid.com\" }}\n />\n </div>\n\n {showRedirect ? (\n <div className=\"sid-submit sid-success-submit sid-l-space-top-md\">\n <button\n type=\"button\"\n onClick={() => redirect(redirectUrl)}\n className=\"sid-btn sid-success-redirect-btn sid-btn--dark\"\n >\n <FormattedHTMLMessage id=\"step.success.redirectButtonText\" defaultMessage=\"Continue\" />\n </button>\n </div>\n ) : (\n \"\"\n )}\n\n <div\n className=\"sid-footer sid-success-verification-only-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.success.verificationOnly\"\n defaultMessage={`\n SheerID handles verification only.\n Now that you've been approved, please direct all questions about the\n promotion terms to {companyName} customer service.\n `}\n values={{ companyName }}\n tagName=\"p\"\n />\n )}\n </FormattedHTMLMessage>\n </div>\n\n {verificationService.programTheme.affinityProgramEnabled && (\n <div\n ref={affinityRef}\n id=\"sid-affinity-iframe\"\n className=\"sid-affinity-container sid-l-full-width sid-l-space-top-lg\"\n />\n )}\n\n {showRememberMeFooter && (\n <div className=\"sid-remember-me-footer-container\">\n <div className=\"sid-remember-me-title\">\n {consumerInfoState === \"consumerNotFound\" ? (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerNotFound.title\"\n defaultMessage=\"Save your info for 1-click verification\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerFound.title\"\n defaultMessage=\"Update Your Profile\"\n />\n )}\n </div>\n <div className=\"sid-remember-me-description\">\n {consumerInfoState === \"consumerNotFound\" ? (\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerNotFound.description\"\n defaultMessage=\"Get faster access to future offers with {companyName} and other brands using SheerID's Remember Me service.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n ) : (\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerFound.description\"\n defaultMessage=\"Save new info for future offers with {companyName} and other brands using SheerID's Remember Me service.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n )}\n </div>\n <button\n type=\"button\"\n onClick={handleOnRedirect}\n className=\"sid-btn sid-remember-me-redirect-btn\"\n >\n {consumerInfoState === \"consumerNotFound\" ? (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerNotFound.button\"\n defaultMessage=\"Enroll Now\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.success.rememberMe.consumerFound.button\"\n defaultMessage=\"Save to Remember Me\"\n />\n )}\n </button>\n </div>\n )}\n </div>\n );\n};\n\nexport const StepSuccessComponent = StepSuccess;\n"],"mappings":";;;;;;;;;;mCAcA,KAAA,MAAA;;;;;AAaA,GEZa,IAAiC;CAC5C,WAAW;EDHX,aAAa;GAZb,uBAAuB;GACvB,eAAe;GACf,cAAc;GACd,SAAS;GACT,cAAc;GACd,YAAY;GACZ,YAAY;EAMC;EACb,gCAAgC;EAChC,iCAAiC;CCCtB,EAAU,YAAY;CACjC,OAAO;AACT,GAEa,KAAuB,MAAwB;CAC1D,IAAI,OAAO,KAAc,YACvB,MAAU,MAAM,0CAA0C,OAAO,GAAW;AAEhF,GAEM,IAAN,MAAM,UAAe,EAAyB;CAC5C;CAEA;CAEA;CAEA;CAEA;CAEA;CAEA,YAAqB;CAErB,eAA2B,CAAC;CAE5B,kBAAkC,CAAC;CAEnC,cAAc;CAEd,YAAY,GAA+B,GAAa;EAGtD,AAFA,MAAM,GAEF,EAAO,eAAe,CAAG,KAC3B,KAAK,mBAAmB,GACxB,KAAK,kBAAkB,IAAI,IAAI,EAAmB,CAAG,CAAC,GACtD,KAAK,wBAAwB,EAAO,eAAe,K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