@sheerid/jslib-nightly 2.105.0-alpha.0 → 2.107.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (475) hide show
  1. package/__tests__/__helpers__/renderers.d.ts +5 -5
  2. package/_mysheerid-preview.css +4 -4
  3. package/_mysheerid-preview.js +18351 -16683
  4. package/_mysheerid-preview.js.map +1 -1
  5. package/chunk/{EmailLoopPending-Dzs07hxx.js → EmailLoopPending-Dtf0p85F.js} +18 -18
  6. package/chunk/{EmailLoopPending-Dzs07hxx.js.map → EmailLoopPending-Dtf0p85F.js.map} +1 -1
  7. package/chunk/{EmailLoopPending-CKTAwQQA.js → EmailLoopPending-Dy8mLFvV.js} +18 -18
  8. package/chunk/{EmailLoopPending-CKTAwQQA.js.map → EmailLoopPending-Dy8mLFvV.js.map} +1 -1
  9. package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +55 -0
  10. package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js.map +1 -0
  11. package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +51 -0
  12. package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js.map +1 -0
  13. package/chunk/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
  14. package/chunk/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
  15. package/chunk/{StepIDCheckLoopOnfido-lChJAp_W.js → StepIDCheckLoopOnfido-CmNwFqjD.js} +13 -12
  16. package/chunk/{StepIDCheckLoopOnfido-C9iUX8TC.js.map → StepIDCheckLoopOnfido-CmNwFqjD.js.map} +1 -1
  17. package/{lib/StepIDCheckLoopOnfido-DiSAKwu6.js → chunk/StepIDCheckLoopOnfido-DtbplNxs.js} +26 -27
  18. package/chunk/{StepIDCheckLoopOnfido-lChJAp_W.js.map → StepIDCheckLoopOnfido-DtbplNxs.js.map} +1 -1
  19. package/chunk/{StepIDCheckLoopRegula-BB8xA4nn.js → StepIDCheckLoopRegula-RoX971sR.js} +59 -85
  20. package/chunk/StepIDCheckLoopRegula-RoX971sR.js.map +1 -0
  21. package/chunk/{StepIDCheckLoopRegula-D8XhToQz.js → StepIDCheckLoopRegula-oqf-QxHT.js} +59 -85
  22. package/chunk/StepIDCheckLoopRegula-oqf-QxHT.js.map +1 -0
  23. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js → StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js} +48 -48
  24. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js.map → StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js.map} +1 -1
  25. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js → StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js} +48 -48
  26. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js.map → StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js.map} +1 -1
  27. package/chunk/ar-CtJ_9k3U.js +4 -4
  28. package/chunk/bg-CWxXfiDq.js +4 -4
  29. package/chunk/bn-IN-Dpq_hCqt.js +4 -4
  30. package/chunk/cs-HevyelX7.js +4 -4
  31. package/chunk/da-6QXhWjWH.js +4 -4
  32. package/chunk/de-ChuCvRLv.js +4 -4
  33. package/chunk/el-3IAhABcN.js +4 -4
  34. package/chunk/en-GB-ByNBaer-.js +4 -4
  35. package/chunk/es-CL_dUc9X.js +4 -4
  36. package/chunk/es-ES-CW4At4Ol.js +4 -4
  37. package/chunk/fi-D8cIebkk.js +4 -4
  38. package/chunk/fr-BDU-1C6f.js +4 -4
  39. package/chunk/fr-CA-Dc02rv8D.js +4 -4
  40. package/chunk/ga-P7eP-INQ.js +4 -4
  41. package/chunk/hi-IN-DlmwjoqH.js +4 -4
  42. package/chunk/hr-CT_VP_lm.js +4 -4
  43. package/chunk/hu-I8Z1uXsR.js +4 -4
  44. package/chunk/id-CUPTGKOT.js +4 -4
  45. package/chunk/{index-DGGRPaEI.js → index-4APUDd8S.js} +27 -27
  46. package/chunk/{index-DGGRPaEI.js.map → index-4APUDd8S.js.map} +1 -1
  47. package/chunk/{index-BDsZCFuU.js → index-9OD0Bw98.js} +58 -58
  48. package/chunk/{index-D6oLMvTq.js.map → index-9OD0Bw98.js.map} +1 -1
  49. package/chunk/index-B-PpnUEO.js +52 -0
  50. package/chunk/index-B-PpnUEO.js.map +1 -0
  51. package/chunk/{index-BW4s6-PH.js → index-B8F8N-JM.js} +90 -89
  52. package/chunk/index-B8F8N-JM.js.map +1 -0
  53. package/chunk/{index-BGGHZBWq.js → index-B8KPM--K.js} +48 -56
  54. package/chunk/{index-BGGHZBWq.js.map → index-B8KPM--K.js.map} +1 -1
  55. package/chunk/{index-DhpucFa7.js → index-BD2bjH-C.js} +5 -5
  56. package/{lib/index-UiGEZV81.js.map → chunk/index-BD2bjH-C.js.map} +1 -1
  57. package/chunk/{index-Dba2dHcR.js → index-BD_a0MZT.js} +21 -21
  58. package/chunk/{index-Dba2dHcR.js.map → index-BD_a0MZT.js.map} +1 -1
  59. package/chunk/{index-DnCqjuSC.js → index-BDrKYann.js} +26 -26
  60. package/chunk/{index-DnCqjuSC.js.map → index-BDrKYann.js.map} +1 -1
  61. package/chunk/index-BTR4RdFx.js +169 -0
  62. package/chunk/index-BTR4RdFx.js.map +1 -0
  63. package/chunk/{index-Bld-AWYE.js → index-Bi9QXN5x.js} +13 -13
  64. package/chunk/{index-CZjGTko2.js.map → index-Bi9QXN5x.js.map} +1 -1
  65. package/chunk/{index-B1579hxf.js → index-Bmq6cJ3F.js} +26 -26
  66. package/{lib/index-BR7Obj6X.js.map → chunk/index-Bmq6cJ3F.js.map} +1 -1
  67. package/chunk/{index-DPv0lytr.js → index-BpZoH-Wz.js} +21 -21
  68. package/chunk/{index-DPv0lytr.js.map → index-BpZoH-Wz.js.map} +1 -1
  69. package/chunk/{index-BjaCS2a8.js → index-BuX76GyE.js} +34 -34
  70. package/{lib/index-MzEDmZWe.js.map → chunk/index-BuX76GyE.js.map} +1 -1
  71. package/chunk/{index-CfUabHav.js → index-C2h0Wj84.js} +48 -56
  72. package/chunk/{index-CfUabHav.js.map → index-C2h0Wj84.js.map} +1 -1
  73. package/chunk/{index-B5okgMmp.js → index-C8MQD8EK.js} +27 -27
  74. package/chunk/{index-B5okgMmp.js.map → index-C8MQD8EK.js.map} +1 -1
  75. package/chunk/{index-CCUi9Uhw.js → index-C8u9IJUa.js} +11 -11
  76. package/chunk/{index-CCUi9Uhw.js.map → index-C8u9IJUa.js.map} +1 -1
  77. package/chunk/{index-D7O7vvSe.js → index-C96ntS0u.js} +26 -26
  78. package/chunk/{index-B1579hxf.js.map → index-C96ntS0u.js.map} +1 -1
  79. package/chunk/{index-eYM75vHB.js → index-CG2W8lDZ.js} +51 -54
  80. package/chunk/index-CG2W8lDZ.js.map +1 -0
  81. package/chunk/index-CHK5i4jj.js +48 -0
  82. package/chunk/index-CHK5i4jj.js.map +1 -0
  83. package/chunk/{index-DSrYVtDo.js → index-CTb96lOK.js} +10 -10
  84. package/chunk/{index-DSrYVtDo.js.map → index-CTb96lOK.js.map} +1 -1
  85. package/chunk/{index-Cq__fToG.js → index-CcRowarb.js} +5 -5
  86. package/chunk/{index-DhpucFa7.js.map → index-CcRowarb.js.map} +1 -1
  87. package/chunk/{index-BnPrfsM1.js → index-CeHu2Npu.js} +7 -7
  88. package/chunk/{index-BnPrfsM1.js.map → index-CeHu2Npu.js.map} +1 -1
  89. package/chunk/index-CepZL7Cr.js +173 -0
  90. package/chunk/index-CepZL7Cr.js.map +1 -0
  91. package/chunk/{index-BvGP9l7M.js → index-CniY_P3e.js} +219 -237
  92. package/chunk/index-CniY_P3e.js.map +1 -0
  93. package/chunk/{index-BrkIzqD1.js → index-DDyTUP55.js} +51 -54
  94. package/chunk/index-DDyTUP55.js.map +1 -0
  95. package/chunk/index-DIkWpujR.js +4 -4
  96. package/chunk/index-DIkWpujR.js.map +1 -1
  97. package/chunk/{index-D6oLMvTq.js → index-DKWjcFJK.js} +58 -58
  98. package/chunk/{index-BDsZCFuU.js.map → index-DKWjcFJK.js.map} +1 -1
  99. package/chunk/{index-B4B6qxaM.js → index-DLz31Fzh.js} +11 -11
  100. package/chunk/{index-BYMr8It7.js.map → index-DLz31Fzh.js.map} +1 -1
  101. package/chunk/{index-B8tKf2Rd.js → index-DO5Z3e-E.js} +34 -34
  102. package/chunk/{index-B8tKf2Rd.js.map → index-DO5Z3e-E.js.map} +1 -1
  103. package/chunk/{index-CjcHzfTY.js → index-DRlGAW07.js} +11 -11
  104. package/chunk/{index-CjcHzfTY.js.map → index-DRlGAW07.js.map} +1 -1
  105. package/chunk/{index-YmkMflXj.js → index-DVynViqA.js} +7 -7
  106. package/chunk/{index-YmkMflXj.js.map → index-DVynViqA.js.map} +1 -1
  107. package/chunk/{index-B92Kfyw6.js → index-Dg8t7-dm.js} +90 -89
  108. package/chunk/index-Dg8t7-dm.js.map +1 -0
  109. package/chunk/{index-DpYUZXus.js → index-DhGg9lvf.js} +26 -26
  110. package/chunk/{index-DpYUZXus.js.map → index-DhGg9lvf.js.map} +1 -1
  111. package/chunk/{index-BqnEM3hj.js → index-DtH8Qo7N.js} +52 -52
  112. package/chunk/index-DtH8Qo7N.js.map +1 -0
  113. package/chunk/{index-BYMr8It7.js → index-DzqRsB7_.js} +11 -11
  114. package/chunk/{index-B4B6qxaM.js.map → index-DzqRsB7_.js.map} +1 -1
  115. package/chunk/{index-CEi_QkyI.js → index-FfXcSdRM.js} +219 -237
  116. package/chunk/index-FfXcSdRM.js.map +1 -0
  117. package/chunk/{index-CZjGTko2.js → index-FjzhfDlx.js} +13 -13
  118. package/chunk/{index-Bld-AWYE.js.map → index-FjzhfDlx.js.map} +1 -1
  119. package/chunk/{index-Cp0C-9fh.js → index-Gfy-1H7s.js} +10 -10
  120. package/{lib/index-BwlcJZwR.js.map → chunk/index-Gfy-1H7s.js.map} +1 -1
  121. package/chunk/{index-F6_JySe5.js → index-jFznw2e5.js} +52 -52
  122. package/chunk/index-jFznw2e5.js.map +1 -0
  123. package/chunk/is-CUuXi4qZ.js +4 -4
  124. package/chunk/it-BNmynTsg.js +4 -4
  125. package/chunk/iw-FGzquR_X.js +4 -4
  126. package/chunk/ja-YgUpXA0l.js +4 -4
  127. package/chunk/ko-CuNS5J_M.js +4 -4
  128. package/chunk/lo-BEf8aFjR.js +4 -4
  129. package/chunk/lt-DvX1gz1a.js +4 -4
  130. package/chunk/ms-gSqM-Mfi.js +4 -4
  131. package/chunk/nl-BE-Cid5LFlN.js +4 -4
  132. package/chunk/nl-CUUTswxa.js +4 -4
  133. package/chunk/no-BvUqlShV.js +4 -4
  134. package/chunk/pl-CU8leZhI.js +4 -4
  135. package/chunk/pt-BR-CboWpHFi.js +4 -4
  136. package/chunk/pt-BnK7xRT_.js +4 -4
  137. package/chunk/ro-BfAyXxSW.js +4 -4
  138. package/chunk/ru-BD-YGPuQ.js +4 -4
  139. package/chunk/sk-CqsabpdG.js +4 -4
  140. package/chunk/sl-CeVAf0S_.js +4 -4
  141. package/chunk/sr-DSaHxcCQ.js +4 -4
  142. package/chunk/sv-DOyWYViy.js +4 -4
  143. package/chunk/sw-2Q7Jo6wp.js +4 -4
  144. package/chunk/th-BZ6F9sPf.js +4 -4
  145. package/chunk/tr-om80xrv2.js +4 -4
  146. package/chunk/uk-Dxugux8e.js +4 -4
  147. package/chunk/ur-OBILUeZ7.js +4 -4
  148. package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js +4 -4
  149. package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js.map +1 -1
  150. package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +4 -4
  151. package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js.map +1 -1
  152. package/chunk/{useEmailFirstExperiment-CSa3DQll.js → useEmailFirstExperiment-BbDrKQEs.js} +29 -30
  153. package/chunk/{useEmailFirstExperiment-CSa3DQll.js.map → useEmailFirstExperiment-BbDrKQEs.js.map} +1 -1
  154. package/chunk/{useEmailFirstExperiment-DZ1B78ke.js → useEmailFirstExperiment-CgU-itQI.js} +29 -30
  155. package/chunk/{useEmailFirstExperiment-DZ1B78ke.js.map → useEmailFirstExperiment-CgU-itQI.js.map} +1 -1
  156. package/chunk/vi-BOR2GuRI.js +4 -4
  157. package/chunk/zh-HK-BI-IHOGG.js +4 -4
  158. package/chunk/zh-eoMG5RFC.js +4 -4
  159. package/chunk/zu-D_A8wcJW.js +4 -4
  160. package/dev/programIds.d.ts +1 -1
  161. package/es6.css +4 -4
  162. package/jslib.js +25 -25
  163. package/lib/{EmailLoopPending-Dv5RU8aW.js → EmailLoopPending-DmK3Dk78.js} +12 -12
  164. package/lib/{EmailLoopPending-Dv5RU8aW.js.map → EmailLoopPending-DmK3Dk78.js.map} +1 -1
  165. package/lib/LicensedProfessionalOrganizationComponent-DW-zL6gw.js +52 -0
  166. package/lib/LicensedProfessionalOrganizationComponent-DW-zL6gw.js.map +1 -0
  167. package/lib/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
  168. package/lib/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
  169. package/lib/StepCollectMilitaryStatusComponent-D517feFX.js +11 -0
  170. package/lib/{StepCollectMilitaryStatusComponent-DGfjdYFR.js.map → StepCollectMilitaryStatusComponent-D517feFX.js.map} +1 -1
  171. package/{chunk/StepIDCheckLoopOnfido-C9iUX8TC.js → lib/StepIDCheckLoopOnfido-NUszkhqn.js} +13 -11
  172. package/lib/{StepIDCheckLoopOnfido-DiSAKwu6.js.map → StepIDCheckLoopOnfido-NUszkhqn.js.map} +1 -1
  173. package/lib/{StepIDCheckLoopRegula-Cbr1wxzD.js → StepIDCheckLoopRegula-B5k4M7-s.js} +22 -21
  174. package/lib/StepIDCheckLoopRegula-B5k4M7-s.js.map +1 -0
  175. package/lib/{StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js → StepInactiveMilitaryPersonalInfoComponent-De7qPVP3.js} +45 -45
  176. package/lib/{StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js.map → StepInactiveMilitaryPersonalInfoComponent-De7qPVP3.js.map} +1 -1
  177. package/lib/VerificationApiUtils-Dgr2p-KR.js +23 -0
  178. package/lib/{VerificationApiUtils-BaeyxwKQ.js.map → VerificationApiUtils-Dgr2p-KR.js.map} +1 -1
  179. package/lib/ar-CtJ_9k3U.js +4 -4
  180. package/lib/bg-CWxXfiDq.js +4 -4
  181. package/lib/bn-IN-Dpq_hCqt.js +4 -4
  182. package/lib/cs-HevyelX7.js +4 -4
  183. package/lib/da-6QXhWjWH.js +4 -4
  184. package/lib/de-ChuCvRLv.js +4 -4
  185. package/lib/el-3IAhABcN.js +4 -4
  186. package/lib/en-GB-ByNBaer-.js +4 -4
  187. package/lib/es-CL_dUc9X.js +4 -4
  188. package/lib/es-ES-CW4At4Ol.js +4 -4
  189. package/lib/{es6-DIUKg5Yl.js → es6-DhcaGhs8.js} +13140 -11855
  190. package/lib/es6-DhcaGhs8.js.map +1 -0
  191. package/lib/fi-D8cIebkk.js +4 -4
  192. package/lib/fr-BDU-1C6f.js +4 -4
  193. package/lib/fr-CA-Dc02rv8D.js +4 -4
  194. package/lib/ga-P7eP-INQ.js +4 -4
  195. package/lib/hi-IN-DlmwjoqH.js +4 -4
  196. package/lib/hr-CT_VP_lm.js +4 -4
  197. package/lib/hu-I8Z1uXsR.js +4 -4
  198. package/lib/id-CUPTGKOT.js +4 -4
  199. package/lib/{index-UiGEZV81.js → index--hk3qU5j.js} +5 -5
  200. package/{chunk/index-Cq__fToG.js.map → lib/index--hk3qU5j.js.map} +1 -1
  201. package/lib/{index-BfZIEtAp.js → index-4U7sgQbx.js} +66 -69
  202. package/lib/index-4U7sgQbx.js.map +1 -0
  203. package/lib/{index-BNxZc3yj.js → index-BM2JvToK.js} +26 -26
  204. package/lib/{index-BNxZc3yj.js.map → index-BM2JvToK.js.map} +1 -1
  205. package/lib/{index-BwlcJZwR.js → index-B_I5R2Ce.js} +8 -8
  206. package/{chunk/index-Cp0C-9fh.js.map → lib/index-B_I5R2Ce.js.map} +1 -1
  207. package/lib/{index-CT2Bcg4x.js → index-Be5oG0nx.js} +5 -5
  208. package/lib/{index-CT2Bcg4x.js.map → index-Be5oG0nx.js.map} +1 -1
  209. package/lib/{index-BR7Obj6X.js → index-Bn7Kgzdx.js} +34 -34
  210. package/{chunk/index-D7O7vvSe.js.map → lib/index-Bn7Kgzdx.js.map} +1 -1
  211. package/lib/{index-LZPXbSqW.js → index-BsaBuTgg.js} +385 -402
  212. package/lib/index-BsaBuTgg.js.map +1 -0
  213. package/lib/{index-B8tJDCPk.js → index-C6IOYgpI.js} +76 -75
  214. package/lib/index-C6IOYgpI.js.map +1 -0
  215. package/lib/{index-348MFV_0.js → index-C7HbjJvs.js} +5 -5
  216. package/lib/{index-348MFV_0.js.map → index-C7HbjJvs.js.map} +1 -1
  217. package/lib/{index-DdQXDuhi.js → index-CphWbkm1.js} +9 -9
  218. package/lib/{index-DdQXDuhi.js.map → index-CphWbkm1.js.map} +1 -1
  219. package/lib/index-Ct_ymRT6.js +11 -0
  220. package/lib/index-Ct_ymRT6.js.map +1 -0
  221. package/lib/{index-ed6oGI-U.js → index-DHIS6PX-.js} +7 -7
  222. package/lib/{index-ed6oGI-U.js.map → index-DHIS6PX-.js.map} +1 -1
  223. package/lib/index-DIkWpujR.js +4 -4
  224. package/lib/index-DIkWpujR.js.map +1 -1
  225. package/lib/{index-CeXTXAJi.js → index-DTK3eeAU.js} +58 -58
  226. package/lib/{index-CeXTXAJi.js.map → index-DTK3eeAU.js.map} +1 -1
  227. package/lib/index-DZkbdItU.js +28 -0
  228. package/lib/{index-DXdjJ-86.js.map → index-DZkbdItU.js.map} +1 -1
  229. package/lib/index-D_s1zEq9.js +11 -0
  230. package/lib/index-D_s1zEq9.js.map +1 -0
  231. package/lib/{index-CEOPDO2Y.js → index-DlIi02F3.js} +25 -28
  232. package/lib/index-DlIi02F3.js.map +1 -0
  233. package/lib/index-Pv3dTiem.js +11 -0
  234. package/lib/index-Pv3dTiem.js.map +1 -0
  235. package/lib/{index-MzEDmZWe.js → index-Sz0yEwC4.js} +24 -24
  236. package/{chunk/index-BjaCS2a8.js.map → lib/index-Sz0yEwC4.js.map} +1 -1
  237. package/lib/{index-5FO_J7_Z.js → index-URlzJ94n.js} +30 -30
  238. package/lib/{index-5FO_J7_Z.js.map → index-URlzJ94n.js.map} +1 -1
  239. package/lib/{index-CUzHMJTj.js → index-X06Yiw_j.js} +26 -26
  240. package/lib/{index-CUzHMJTj.js.map → index-X06Yiw_j.js.map} +1 -1
  241. package/lib/{index-CGjXCGni.js → index-c9iRwjya.js} +22 -22
  242. package/lib/{index-CGjXCGni.js.map → index-c9iRwjya.js.map} +1 -1
  243. package/lib/index-l90g2Fnn.js +11 -0
  244. package/lib/index-l90g2Fnn.js.map +1 -0
  245. package/lib/{index-s5CW4RjM.js → index-yjjxxYCV.js} +59 -59
  246. package/lib/index-yjjxxYCV.js.map +1 -0
  247. package/lib/is-CUuXi4qZ.js +4 -4
  248. package/lib/it-BNmynTsg.js +4 -4
  249. package/lib/iw-FGzquR_X.js +4 -4
  250. package/lib/ja-YgUpXA0l.js +4 -4
  251. package/lib/ko-CuNS5J_M.js +4 -4
  252. package/lib/lo-BEf8aFjR.js +4 -4
  253. package/lib/lt-DvX1gz1a.js +4 -4
  254. package/lib/ms-gSqM-Mfi.js +4 -4
  255. package/lib/nl-BE-Cid5LFlN.js +4 -4
  256. package/lib/nl-CUUTswxa.js +4 -4
  257. package/lib/no-BvUqlShV.js +4 -4
  258. package/lib/pl-CU8leZhI.js +4 -4
  259. package/lib/pt-BR-CboWpHFi.js +4 -4
  260. package/lib/pt-BnK7xRT_.js +4 -4
  261. package/lib/ro-BfAyXxSW.js +4 -4
  262. package/lib/ru-BD-YGPuQ.js +4 -4
  263. package/lib/sk-CqsabpdG.js +4 -4
  264. package/lib/sl-CeVAf0S_.js +4 -4
  265. package/lib/sr-DSaHxcCQ.js +4 -4
  266. package/lib/sv-DOyWYViy.js +4 -4
  267. package/lib/sw-2Q7Jo6wp.js +4 -4
  268. package/lib/th-BZ6F9sPf.js +4 -4
  269. package/lib/tr-om80xrv2.js +4 -4
  270. package/lib/uk-Dxugux8e.js +4 -4
  271. package/lib/ur-OBILUeZ7.js +4 -4
  272. package/lib/{useCollectFieldsEndpoint-CS1fVgEX.js → useCollectFieldsEndpoint-CIUfq_bG.js} +8 -8
  273. package/lib/{useCollectFieldsEndpoint-CS1fVgEX.js.map → useCollectFieldsEndpoint-CIUfq_bG.js.map} +1 -1
  274. package/lib/{useEmailFirstExperiment-Co9DPGhK.js → useEmailFirstExperiment-Bm2bKd9p.js} +6 -7
  275. package/lib/{useEmailFirstExperiment-Co9DPGhK.js.map → useEmailFirstExperiment-Bm2bKd9p.js.map} +1 -1
  276. package/lib/vi-BOR2GuRI.js +4 -4
  277. package/lib/zh-HK-BI-IHOGG.js +4 -4
  278. package/lib/zh-eoMG5RFC.js +4 -4
  279. package/lib/zu-D_A8wcJW.js +4 -4
  280. package/package.json +4 -4
  281. package/sheerid-install.css +4 -4
  282. package/sheerid-install.js +6 -6
  283. package/sheerid-install.js.map +1 -1
  284. package/sheerid.css +5 -5
  285. package/sheerid.js +18547 -16879
  286. package/sheerid.js.map +1 -1
  287. package/src/components/AcceptableUploadsComponent/AcceptableUploadsComponent.d.ts +1 -1
  288. package/src/components/AcceptableUploadsComponent/getLegacyAcceptableUploads.d.ts +1 -1
  289. package/src/components/Button/Button.d.ts +1 -0
  290. package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +2 -1
  291. package/src/components/CustomCssContext/CustomCssContextProvider.d.ts +1 -1
  292. package/src/components/DateComponent/DateComponent.d.ts +2 -2
  293. package/src/components/ExtraMessage.d.ts +1 -1
  294. package/src/components/FaqLink/FaqLinkComponent.d.ts +1 -1
  295. package/src/components/FeatureFlags/ExperimentComponent/ExperimentComponent.d.ts +4 -4
  296. package/src/components/FetchOrganizationsComponent.d.ts +1 -1
  297. package/src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.d.ts +1 -1
  298. package/src/components/FormFields/Address/AddressComponent.d.ts +2 -2
  299. package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +1 -1
  300. package/src/components/FormFields/BranchOfService/BranchOfServiceComponent.d.ts +2 -2
  301. package/src/components/FormFields/CVECNumber/CVECNumberComponent.d.ts +2 -2
  302. package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +3 -3
  303. package/src/components/FormFields/City/City.d.ts +2 -2
  304. package/src/components/FormFields/CollegeName/CollegeNameComponent.d.ts +2 -2
  305. package/src/components/FormFields/Company/CompanyComponent.d.ts +2 -2
  306. package/src/components/FormFields/Country/CountryComponent.d.ts +2 -2
  307. package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +2 -2
  308. package/src/components/FormFields/DischargeDate/DischargeDateComponent.d.ts +1 -1
  309. package/src/components/FormFields/DriverLicenseNumber/DriverLicenseNumberComponent.d.ts +2 -2
  310. package/src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.d.ts +2 -2
  311. package/src/components/FormFields/Email/EmailComponent.d.ts +2 -2
  312. package/src/components/FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent.d.ts +1 -1
  313. package/src/components/FormFields/EmailFirstCollectInfo/useEmailFirstExperiment.d.ts +1 -1
  314. package/src/components/FormFields/FirstName/FirstNameComponent.d.ts +2 -2
  315. package/src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.d.ts +2 -2
  316. package/src/components/FormFields/FormFieldCustom/FormFieldCustom.d.ts +2 -2
  317. package/src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.d.ts +1 -1
  318. package/src/components/FormFields/FormFieldRadio/FormFieldRadio.d.ts +2 -2
  319. package/src/components/FormFields/FormFieldSelect/FormFieldSelect.d.ts +2 -2
  320. package/src/components/FormFields/FormFieldText/FormFieldText.d.ts +1 -1
  321. package/src/components/FormFields/FormFieldTypeahead/FormFieldTypeahead.d.ts +2 -2
  322. package/src/components/FormFields/LastName/LastNameComponent.d.ts +2 -2
  323. package/src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.d.ts +2 -2
  324. package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +2 -2
  325. package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
  326. package/src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.d.ts +2 -2
  327. package/src/components/FormFields/MemberId/MemberIdComponent.d.ts +2 -2
  328. package/src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.d.ts +2 -2
  329. package/src/components/FormFields/OptIn/OptInComponent.d.ts +1 -1
  330. package/src/components/FormFields/OverrideCode/OverrideCodeComponent.d.ts +2 -2
  331. package/src/components/FormFields/PhoneNumber/PhoneNumberComponent.d.ts +2 -2
  332. package/src/components/FormFields/PostalCode/PostalCodeComponent.d.ts +2 -2
  333. package/src/components/FormFields/SMSCode/SMSCodeComponent.d.ts +2 -2
  334. package/src/components/FormFields/SSN/SSN.d.ts +2 -2
  335. package/src/components/FormFields/State/State.d.ts +2 -2
  336. package/src/components/FormFields/State/StateSelectComponent.d.ts +2 -2
  337. package/src/components/FormFields/Status/StatusComponent.d.ts +2 -2
  338. package/src/components/FormFields/TeacherSchool/TeacherSchoolComponent.d.ts +2 -2
  339. package/src/components/FormFooter/FooterTextComponent.d.ts +1 -1
  340. package/src/components/FormFooter/FormFooterComponent.d.ts +1 -1
  341. package/src/components/FormHeader/FormHeaderComponent.d.ts +1 -1
  342. package/src/components/FormHeader/StepHeaders/PersonalInfoHeaderComponent.d.ts +1 -1
  343. package/src/components/FormInputs/InputRadio/InputRadio.d.ts +1 -1
  344. package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +1 -1
  345. package/src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.d.ts +1 -1
  346. package/src/components/FormInputs/PostalCodeInput/PostalCodeInputComponent.d.ts +1 -1
  347. package/src/components/FormInputs/Select/SelectComponent.d.ts +1 -1
  348. package/src/components/FormInputs/Select/SelectList/SelectListComponent.d.ts +1 -1
  349. package/src/components/FormInputs/Typeahead/TypeaheadComponent.d.ts +1 -1
  350. package/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.d.ts +1 -1
  351. package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkComponent.d.ts +1 -1
  352. package/src/components/Layout/Layout.d.ts +1 -1
  353. package/src/components/LoadStepComponent.d.ts +1 -1
  354. package/src/components/LoadingScreen/LoadingScreenComponent.d.ts +1 -1
  355. package/src/components/LoadingScreen/LoadingScreenMessage.d.ts +1 -1
  356. package/src/components/LogoComponent/LogoComponent.d.ts +1 -1
  357. package/src/components/NewVerificationComponent.d.ts +3 -3
  358. package/src/components/NewVerificationInnerComponent.d.ts +1 -1
  359. package/src/components/OrganizationList/OrganizationListComponent.d.ts +1 -1
  360. package/src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.d.ts +2 -2
  361. package/src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.d.ts +2 -1
  362. package/src/components/PoweredBy/PoweredByComponent.d.ts +1 -1
  363. package/src/components/PrivacyPolicyLink/PrivacyPolicyLinkComponent.d.ts +2 -2
  364. package/src/components/RewardsRemaining/RewardsRemainingComponent.d.ts +1 -1
  365. package/src/components/SingleSignOnComponent.d.ts +2 -2
  366. package/src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.d.ts +2 -2
  367. package/src/components/StepCollectIdentifier/StepCollectIdentifierComponent.d.ts +1 -1
  368. package/src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.d.ts +2 -2
  369. package/src/components/StepConsolation/StepConsolationComponent.d.ts +1 -1
  370. package/src/components/StepDocUpload/StepDocUploadComponent.d.ts +1 -1
  371. package/src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.d.ts +1 -1
  372. package/src/components/StepEmailLoop/EmailLoopPending.d.ts +1 -1
  373. package/src/components/StepEmailLoop/StepEmailLoopComponent.d.ts +2 -2
  374. package/src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.d.ts +1 -1
  375. package/src/components/StepError/StepErrorComponent.d.ts +2 -2
  376. package/src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.d.ts +1 -1
  377. package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.d.ts +1 -1
  378. package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.d.ts +1 -1
  379. package/src/components/StepIDCheckLoop/Onfido/IdCheckLoopOnfido/IdCheckLoopOnfido.d.ts +2 -2
  380. package/src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.d.ts +1 -1
  381. package/src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.d.ts +1 -1
  382. package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.d.ts +1 -1
  383. package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.d.ts +1 -1
  384. package/src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.d.ts +1 -1
  385. package/src/components/StepIDCheckLoop/StepIDCheckLoopComponent.d.ts +1 -1
  386. package/src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.d.ts +1 -1
  387. package/src/components/StepIdentityPersonalInfo/StepGeneralIdentityPersonalInfoComponent.d.ts +1 -1
  388. package/src/components/StepIdentityPersonalInfo/StepHybridIdentityPersonalInfoComponent.d.ts +1 -1
  389. package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -1
  390. package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +1 -1
  391. package/src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.d.ts +1 -1
  392. package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +1 -1
  393. package/src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.d.ts +1 -1
  394. package/src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.d.ts +1 -1
  395. package/src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.d.ts +1 -1
  396. package/src/components/StepOverrideComponent/StepOverrideComponent.d.ts +2 -2
  397. package/src/components/StepPending/ReviewPendingComponent.d.ts +1 -1
  398. package/src/components/StepPending/SingleSignOnPendingComponent.d.ts +2 -2
  399. package/src/components/StepPending/StepPendingComponent.d.ts +1 -1
  400. package/src/components/StepPending/ThirdPartyLoopPendingComponent.d.ts +1 -1
  401. package/src/components/StepSMSLoop/StepSMSLoopComponent.d.ts +2 -2
  402. package/src/components/StepSSO/StepSSOComponent.d.ts +1 -1
  403. package/src/components/StepSeniorPersonalInfo/StepSeniorPersonalInfoComponent.d.ts +1 -1
  404. package/src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.d.ts +1 -1
  405. package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +1 -1
  406. package/src/components/StepSuccess/StepSuccessComponent.d.ts +1 -1
  407. package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +1 -1
  408. package/src/components/StepThirdPartyLoop/StepThirdPartyLoopComponent.d.ts +3 -3
  409. package/src/components/TestModeFlag/TestModeFlagComponent.d.ts +1 -1
  410. package/src/components/UploadInfoComponent/UploadInfoComponent.d.ts +1 -1
  411. package/src/components/VerificationForm/VerificationFormComponent.d.ts +1 -1
  412. package/src/es5Bindings/VerificationFormEs5.d.ts +1 -1
  413. package/src/lib/ProgramTheme/programThemeGetters.d.ts +1 -1
  414. package/src/lib/ServerApi/ApiUrls.d.ts +1 -1
  415. package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
  416. package/src/lib/ServerApi/VerificationHelpRequestApi.d.ts +1 -1
  417. package/src/lib/VerificationService/VerificationServiceActions.d.ts +1 -1
  418. package/src/lib/VerificationService/ViewModel.d.ts +3 -5
  419. package/src/lib/hooks/index.d.ts +1 -1
  420. package/src/lib/installScript/_mysheerid-preview.d.ts +2 -2
  421. package/src/lib/installScript/affinity.d.ts +1 -1
  422. package/src/lib/installScript/iframe.d.ts +1 -1
  423. package/src/lib/installScript/index.d.ts +3 -3
  424. package/src/lib/installScript/modal.d.ts +1 -1
  425. package/src/lib/intl/localized-messages/en-US.json.d.ts +1 -1
  426. package/src/lib/state/contextHooks.d.ts +1 -1
  427. package/src/lib/types/runtimeTypes.d.ts +1 -1
  428. package/src/lib/types/types.d.ts +9 -12
  429. package/src/lib/utils/customTagReplacer/index.d.ts +1 -1
  430. package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +2 -2
  431. package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
  432. package/types-reference.zip +0 -0
  433. package/__tests__/e2e/collectInfo/collectInfo.spec.d.ts +0 -1
  434. package/chunk/LicensedProfessionalOrganizationComponent-BNNNPaDn.js +0 -45
  435. package/chunk/LicensedProfessionalOrganizationComponent-BNNNPaDn.js.map +0 -1
  436. package/chunk/LicensedProfessionalOrganizationComponent-trZr_eIW.js +0 -49
  437. package/chunk/LicensedProfessionalOrganizationComponent-trZr_eIW.js.map +0 -1
  438. package/chunk/StepIDCheckLoopRegula-BB8xA4nn.js.map +0 -1
  439. package/chunk/StepIDCheckLoopRegula-D8XhToQz.js.map +0 -1
  440. package/chunk/index-B92Kfyw6.js.map +0 -1
  441. package/chunk/index-BW4s6-PH.js.map +0 -1
  442. package/chunk/index-BqnEM3hj.js.map +0 -1
  443. package/chunk/index-BrkIzqD1.js.map +0 -1
  444. package/chunk/index-BupTUiiS.js +0 -27
  445. package/chunk/index-BupTUiiS.js.map +0 -1
  446. package/chunk/index-BvGP9l7M.js.map +0 -1
  447. package/chunk/index-C7nYtBX_.js +0 -172
  448. package/chunk/index-C7nYtBX_.js.map +0 -1
  449. package/chunk/index-CEi_QkyI.js.map +0 -1
  450. package/chunk/index-CLCPYu7D.js +0 -176
  451. package/chunk/index-CLCPYu7D.js.map +0 -1
  452. package/chunk/index-F6_JySe5.js.map +0 -1
  453. package/chunk/index-eYM75vHB.js.map +0 -1
  454. package/chunk/index-iZ8pO5if.js +0 -31
  455. package/chunk/index-iZ8pO5if.js.map +0 -1
  456. package/lib/LicensedProfessionalOrganizationComponent-DtoPR91l.js +0 -46
  457. package/lib/LicensedProfessionalOrganizationComponent-DtoPR91l.js.map +0 -1
  458. package/lib/StepCollectMilitaryStatusComponent-DGfjdYFR.js +0 -11
  459. package/lib/StepIDCheckLoopRegula-Cbr1wxzD.js.map +0 -1
  460. package/lib/VerificationApiUtils-BaeyxwKQ.js +0 -21
  461. package/lib/es6-DIUKg5Yl.js.map +0 -1
  462. package/lib/index-B8tJDCPk.js.map +0 -1
  463. package/lib/index-BfZIEtAp.js.map +0 -1
  464. package/lib/index-CEOPDO2Y.js.map +0 -1
  465. package/lib/index-CLowb6Wx.js +0 -11
  466. package/lib/index-CLowb6Wx.js.map +0 -1
  467. package/lib/index-DPs8xffH.js +0 -11
  468. package/lib/index-DPs8xffH.js.map +0 -1
  469. package/lib/index-DWo3Cysb.js +0 -11
  470. package/lib/index-DWo3Cysb.js.map +0 -1
  471. package/lib/index-DXdjJ-86.js +0 -28
  472. package/lib/index-LZPXbSqW.js.map +0 -1
  473. package/lib/index-TKSJ1nbf.js +0 -11
  474. package/lib/index-TKSJ1nbf.js.map +0 -1
  475. package/lib/index-s5CW4RjM.js.map +0 -1
@@ -1,20 +1,20 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.105.0-alpha.0
4
- * BUILD_TIMESTAMP: 1746202293151
5
- * BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
3
+ * VERSION: 2.107.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746502674678
5
+ * BUILD_DATE: Tue May 06 2025 03:37:54 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f17a7649831871c7796a28ddab8dcf715fc9700c
7
7
  */
8
- import { i as V, a8 as k, a9 as A, h as q, u as d, j as o, M as B, k as L, x as U, a2 as W, O as r, N as O, T as _, a5 as w, aa as H, U as K, W as X, E as Y, m as Z, X as $, Y as z, Z as G, _ as J, n as Q, V as S, $ as v, ab as ee } from "./es6-DIUKg5Yl.js";
8
+ import { k as V, a7 as k, a8 as A, i as q, u as d, j as o, M as B, N as L, m as U, w as W, a1 as w, f as r, O, T as _, a4 as H, a9 as K, U as X, W as Y, E as Z, n as z, X as G, Y as J, Z as Q, _ as $, o as S, V as v, aa as ee } from "./es6-DhcaGhs8.js";
9
9
  import se from "react";
10
10
  import { injectIntl as ae, FormattedHTMLMessage as oe } from "react-intl";
11
- import { u as te } from "./useCollectFieldsEndpoint-CS1fVgEX.js";
11
+ import { u as te } from "./useCollectFieldsEndpoint-CIUfq_bG.js";
12
12
  const de = ({ verificationService: s, intl: j }) => {
13
13
  var p, C, h, b, i, N, g, x, y;
14
14
  const a = s.viewModel, { fieldValidationErrors: t } = s, l = s.verificationResponse, E = V(l), I = k(
15
15
  s.programTheme,
16
16
  j
17
- ), f = A(I), m = q(() => a.countryChoice.value, f.value), F = m === "US" ? [{ key: "postalCode" }] : [], M = m !== "US" || s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled, c = m !== "US" || s.programTheme.smsLoopEnabled, P = a.localeChoice.value, D = v();
17
+ ), f = A(I), m = q(() => a.countryChoice.value, f.value), F = m === "US" ? [{ key: "postalCode" }] : [], M = m !== "US" || s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled, c = m !== "US" || s.programTheme.smsLoopEnabled, P = a.localeChoice.value, D = L();
18
18
  !t.phoneNumber && l.errorIds && l.errorIds.includes("invalidPhoneNumber") && s.updateFieldValidationErrors({
19
19
  ...t,
20
20
  phoneNumber: "invalidPhoneNumber"
@@ -36,10 +36,10 @@ const de = ({ verificationService: s, intl: j }) => {
36
36
  verificationService: s,
37
37
  step: l.currentStep,
38
38
  children: [
39
- /* @__PURE__ */ o.jsx(L, { verificationService: s, classNameIdentifier: "age" }),
40
- /* @__PURE__ */ o.jsx(U, { verificationService: s }),
39
+ /* @__PURE__ */ o.jsx(U, { verificationService: s, classNameIdentifier: "age" }),
40
+ /* @__PURE__ */ o.jsx(W, { verificationService: s }),
41
41
  /* @__PURE__ */ o.jsx(
42
- W,
42
+ w,
43
43
  {
44
44
  verificationService: s,
45
45
  disabled: (p = r("country")) == null ? void 0 : p.disabled
@@ -70,7 +70,7 @@ const de = ({ verificationService: s, intl: j }) => {
70
70
  )
71
71
  ] }),
72
72
  /* @__PURE__ */ o.jsx(
73
- w,
73
+ H,
74
74
  {
75
75
  errorId: t.birthDate,
76
76
  locale: P,
@@ -82,7 +82,7 @@ const de = ({ verificationService: s, intl: j }) => {
82
82
  }
83
83
  ),
84
84
  u("city") && /* @__PURE__ */ o.jsx(
85
- H,
85
+ K,
86
86
  {
87
87
  value: a.city,
88
88
  isRequired: !0,
@@ -95,7 +95,7 @@ const de = ({ verificationService: s, intl: j }) => {
95
95
  }
96
96
  ),
97
97
  u("address1") && /* @__PURE__ */ o.jsx(
98
- K,
98
+ X,
99
99
  {
100
100
  value: a.address1,
101
101
  isRequired: !0,
@@ -107,7 +107,7 @@ const de = ({ verificationService: s, intl: j }) => {
107
107
  }
108
108
  ),
109
109
  u("postalCode") && /* @__PURE__ */ o.jsx(
110
- X,
110
+ Y,
111
111
  {
112
112
  isErrored: !!t.postalCode,
113
113
  onChange: (e) => {
@@ -118,19 +118,19 @@ const de = ({ verificationService: s, intl: j }) => {
118
118
  }
119
119
  ),
120
120
  /* @__PURE__ */ o.jsx(
121
- Y,
121
+ Z,
122
122
  {
123
123
  value: a.email,
124
124
  isErrored: !!t.email,
125
125
  onChange: (e) => {
126
126
  n("email", e), d("email", e, s);
127
127
  },
128
- onKeyDown: (e) => Z(e),
128
+ onKeyDown: (e) => z(e),
129
129
  disabled: (g = r("email")) == null ? void 0 : g.disabled
130
130
  }
131
131
  ),
132
132
  M ? /* @__PURE__ */ o.jsx(
133
- $,
133
+ G,
134
134
  {
135
135
  isRequired: c,
136
136
  value: a.phoneNumber,
@@ -142,9 +142,9 @@ const de = ({ verificationService: s, intl: j }) => {
142
142
  disabled: (x = r("phoneNumber")) == null ? void 0 : x.disabled
143
143
  }
144
144
  ) : null,
145
- D.customFormFields.map((e) => /* @__PURE__ */ o.jsx(z, { config: e, verificationService: s })),
145
+ D.customFormFields.map((e) => /* @__PURE__ */ o.jsx(J, { config: e, verificationService: s })),
146
146
  /* @__PURE__ */ o.jsx(
147
- G,
147
+ Q,
148
148
  {
149
149
  verificationService: s,
150
150
  isErrored: !!t.marketConsentValue,
@@ -158,11 +158,11 @@ const de = ({ verificationService: s, intl: j }) => {
158
158
  disabled: (y = r("marketConsentValue")) == null ? void 0 : y.disabled
159
159
  }
160
160
  ),
161
- /* @__PURE__ */ o.jsx(J, { verificationService: s, suffix: "CollectAboveSubmit" }),
161
+ /* @__PURE__ */ o.jsx($, { verificationService: s, suffix: "CollectAboveSubmit" }),
162
162
  /* @__PURE__ */ o.jsx(
163
- Q,
163
+ S,
164
164
  {
165
- step: S.collectAgePersonalInfo,
165
+ step: v.collectAgePersonalInfo,
166
166
  verificationService: s,
167
167
  viewModel: a,
168
168
  failedInstantMatch: E,
@@ -1 +1 @@
1
- {"version":3,"file":"index-CGjXCGni.js","sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { getSafe } from \"../../lib/utils/getSafe\";\nimport {\n VerificationService,\n AgePersonalInfoViewModel,\n AgePersonalInfoResponse,\n FormSelectChoice,\n Country,\n FieldDescription,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"names":["StepAgePersonalInfo","verificationService","intl","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","countryChoices","getAvailableCountryChoices","defaultCountryChoice","getDefaultCountryChoice","safeCountryValue","getSafe","defaultRequiredFields","showPhoneNumber","phoneNumberRequired","locale","options","getOptions","updateAgeViewModel","key","value","nextState","produceDraftViewModel","isFieldRequired","useCollectFieldsEndpoint","React","updateFieldValidationErrorsByFieldId","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_a","getFieldConfigByFieldId","FirstName","_b","newValue","LastName","_c","BirthDate","_d","CityComponent","_e","AddressComponent","PostalCode","_f","Email","event","handleEmailOnKeyDown","_g","PhoneNumber","_h","config","FormFieldCustom","MarketConsentWrapper","_i","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","FormattedHTMLMessage","StepAgePersonalInfoComponent","injectIntl"],"mappings":";;;;AAqDA,MAAMA,KAAsB,CAAC,EAAE,qBAAAC,GAAqB,MAAAC,QAA8C;;AAChG,QAAMC,IAAYF,EAAoB,WAChC,EAAE,uBAAAG,EAA0B,IAAAH,GAC5BI,IAAuBJ,EAAoB,sBAC3CK,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAsDC;AAAA,IAC1DR,EAAoB;AAAA,IACpBC;AAAA,EAAA,GAEIQ,IACJC,EAAwBH,CAAc,GAClCI,IAAmBC,EAAQ,MAAMV,EAAU,cAAc,OAAOO,EAAqB,KAAK,GAC1FI,IACJF,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAA,CAAc,IAAI,IAGlDG,IACJH,MAAqB,QACrBX,EAAoB,aAAa,2BACjCA,E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1
+ {"version":3,"file":"index-c9iRwjya.js","sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { getSafe } from \"../../lib/utils/getSafe\";\nimport {\n VerificationService,\n AgePersonalInfoViewModel,\n AgePersonalInfoResponse,\n FormSelectChoice,\n Country,\n FieldDescription,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"names":["StepAgePersonalInfo","verificationService","intl","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","countryChoices","getAvailableCountryChoices","defaultCountryChoice","getDefaultCountryChoice","safeCountryValue","getSafe","defaultRequiredFields","showPhoneNumber","phoneNumberRequired","locale","options","getOptions","updateAgeViewModel","key","value","nextState","produceDraftViewModel","isFieldRequired","useCollectFieldsEndpoint","React","updateFieldValidationErrorsByFieldId","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_a","getFieldConfigByFieldId","FirstName","_b","newValue","LastName","_c","BirthDate","_d","CityComponent","_e","AddressComponent","PostalCode","_f","Email","event","handleEmailOnKeyDown","_g","PhoneNumber","_h","config","FormFieldCustom","MarketConsentWrapper","_i","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","FormattedHTMLMessage","StepAgePersonalInfoComponent","injectIntl"],"mappings":";;;;AAqDA,MAAMA,KAAsB,CAAC,EAAE,qBAAAC,GAAqB,MAAAC,QAA8C;;AAChG,QAAMC,IAAYF,EAAoB,WAChC,EAAE,uBAAAG,MAA0BH,GAC5BI,IAAuBJ,EAAoB,sBAC3CK,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAsDC;AAAA,IAC1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YACA,WAAAE;AAAA,YACA,oBAAAG;AAAA,YACA,YACEyB,gBAAAA,EAAA;AAAA,cAAC+B;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YAAA;AAAA,UACjB;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAAA,EACF;AAEJ,GAEaC,KAA+BC,GAAWhE,EAAmB;"}
@@ -0,0 +1,11 @@
1
+
2
+ /**
3
+ * VERSION: 2.107.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746502674678
5
+ * BUILD_DATE: Tue May 06 2025 03:37:54 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f17a7649831871c7796a28ddab8dcf715fc9700c
7
+ */
8
+ import { S as f } from "./es6-DhcaGhs8.js";
9
+ export {
10
+ f as default
11
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-l90g2Fnn.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,46 +1,46 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.105.0-alpha.0
4
- * BUILD_TIMESTAMP: 1746202293151
5
- * BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
3
+ * VERSION: 2.107.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746502674678
5
+ * BUILD_DATE: Tue May 06 2025 03:37:54 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f17a7649831871c7796a28ddab8dcf715fc9700c
7
7
  */
8
- import { i as X, j as e, M as Y, k as Z, am as $, E as D, u as t, O as d, x as G, a2 as J, an as Q, a4 as k, N as S, T as v, a5 as aa, m as sa, X as ea, ao as oa, W as la, Y as na, Z as ta, _ as da, n as ma, V as ra, $ as pa } from "./es6-DIUKg5Yl.js";
9
- import i, { useEffect as ua } from "react";
10
- import { FormattedHTMLMessage as h } from "react-intl";
11
- import { u as ia, E as ha, a as I } from "./useEmailFirstExperiment-Co9DPGhK.js";
8
+ import { k as X, j as e, M as Y, m as Z, al as G, E as D, f as t, u as d, N as J, w as Q, a1 as $, am as S, a3 as k, O as v, T as aa, a4 as sa, n as ea, X as oa, an as la, W as na, Y as ta, Z as da, _ as ma, o as ra, V as pa } from "./es6-DhcaGhs8.js";
9
+ import h, { useEffect as ua } from "react";
10
+ import { FormattedHTMLMessage as i } from "react-intl";
11
+ import { u as ha, E as ia, a as I } from "./useEmailFirstExperiment-Bm2bKd9p.js";
12
12
  const Ca = ({
13
13
  verificationService: a
14
14
  }) => {
15
15
  var b, x, E, j, N, T, M, F, O, y;
16
- const { viewModel: o } = a, { fieldValidationErrors: m } = a, C = a.verificationResponse, f = X(C), B = pa(), P = o.localeChoice.value, l = (s, r) => {
16
+ const { viewModel: o } = a, { fieldValidationErrors: m } = a, C = a.verificationResponse, f = X(C), B = J(), P = o.localeChoice.value, l = (s, r) => {
17
17
  const q = {
18
18
  [s]: r
19
19
  };
20
- a.updateViewModel(q, { partial: !0 });
20
+ a.updateViewModel(q, !0);
21
21
  }, {
22
22
  isEmailUpTop: p,
23
23
  isEmailValidationLoading: V,
24
- showFormFields: z,
24
+ showFormFields: w,
25
25
  emailLookupResponse: n,
26
- emailOnBlur: L,
27
- emailOnKeyDown: w,
26
+ emailOnBlur: z,
27
+ emailOnKeyDown: L,
28
28
  handleResendClick: R,
29
29
  showEmailLookupResponseMessages: _,
30
30
  isValidEmail: u,
31
31
  getOrgByDomain: A,
32
32
  enableFormFields: H,
33
33
  handleOnClickProceedHere: K
34
- } = ia(
34
+ } = ha(
35
35
  a.programId,
36
36
  o.email,
37
37
  a.verificationResponse.segment
38
- ), [W, g] = i.useState(null), [U, c] = i.useState(null);
39
- return i.useEffect(() => {
38
+ ), [W, g] = h.useState(null), [U, c] = h.useState(null);
39
+ return h.useEffect(() => {
40
40
  u && n && (async () => {
41
41
  if (o.email && u && n && n.status === I.NOT_FOUND) {
42
42
  const r = await A(a);
43
- r && (g(r), k(r, a), t("organization", r, a));
43
+ r && (g(r), k(r, a), d("organization", r, a));
44
44
  } else
45
45
  g(null);
46
46
  })();
@@ -61,89 +61,89 @@ const Ca = ({
61
61
  ),
62
62
  // #region email-first-experiment
63
63
  p && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: "email-input-wrapper", children: [
64
- V && /* @__PURE__ */ e.jsx("div", { className: "email-input-wrapper-frame", children: /* @__PURE__ */ e.jsx("div", { className: "sid-spinner scaled", children: /* @__PURE__ */ e.jsx($, {}) }) }),
64
+ V && /* @__PURE__ */ e.jsx("div", { className: "email-input-wrapper-frame", children: /* @__PURE__ */ e.jsx("div", { className: "sid-spinner scaled", children: /* @__PURE__ */ e.jsx(G, {}) }) }),
65
65
  /* @__PURE__ */ e.jsx(
66
66
  D,
67
67
  {
68
68
  value: o.email,
69
69
  isErrored: !!m.email,
70
70
  explanation: /* @__PURE__ */ e.jsx(
71
- h,
71
+ i,
72
72
  {
73
73
  id: "emailExplanation",
74
74
  defaultMessage: "Must be your school-issued email address"
75
75
  }
76
76
  ),
77
77
  onChange: (s) => {
78
- l("email", s), t("email", s, a);
78
+ l("email", s), d("email", s, a);
79
79
  },
80
- onKeyDown: w,
81
- onBlur: L,
82
- disabled: (b = d("email")) == null ? void 0 : b.disabled
80
+ onKeyDown: L,
81
+ onBlur: z,
82
+ disabled: (b = t("email")) == null ? void 0 : b.disabled
83
83
  }
84
84
  )
85
85
  ] }) }),
86
86
  _ && n && u && /* @__PURE__ */ e.jsx(
87
- ha,
87
+ ia,
88
88
  {
89
89
  emailLookupResponse: n,
90
90
  onResendClick: R,
91
91
  onHandleClickLink: K
92
92
  }
93
93
  ),
94
- z && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: H || !p ? "" : "sid-disable-elements", children: [
95
- /* @__PURE__ */ e.jsx(G, { verificationService: a }),
94
+ w && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: H || !p ? "" : "sid-disable-elements", children: [
95
+ /* @__PURE__ */ e.jsx(Q, { verificationService: a }),
96
96
  /* @__PURE__ */ e.jsx(
97
- J,
97
+ $,
98
98
  {
99
99
  verificationService: a,
100
- disabled: (x = d("country")) == null ? void 0 : x.disabled
100
+ disabled: (x = t("country")) == null ? void 0 : x.disabled
101
101
  }
102
102
  ),
103
103
  /* @__PURE__ */ e.jsx(
104
- Q,
104
+ S,
105
105
  {
106
106
  value: U || p && (n == null ? void 0 : n.status) === I.NOT_FOUND && W || a.viewModel.organization,
107
107
  verificationService: a,
108
108
  isErrored: !!m.organization,
109
- disabled: (E = d("organization")) == null ? void 0 : E.disabled,
109
+ disabled: (E = t("organization")) == null ? void 0 : E.disabled,
110
110
  onChange: (s) => {
111
- c(s), k(s, a), t("organization", s, a);
111
+ c(s), k(s, a), d("organization", s, a);
112
112
  }
113
113
  }
114
114
  ),
115
115
  /* @__PURE__ */ e.jsxs("div", { className: "sid-names", children: [
116
116
  /* @__PURE__ */ e.jsx(
117
- S,
117
+ v,
118
118
  {
119
119
  value: o.firstName,
120
120
  isErrored: !!m.firstName,
121
- disabled: (j = d("firstName")) == null ? void 0 : j.disabled,
121
+ disabled: (j = t("firstName")) == null ? void 0 : j.disabled,
122
122
  onChange: (s) => {
123
- l("firstName", s), t("firstName", s, a);
123
+ l("firstName", s), d("firstName", s, a);
124
124
  }
125
125
  }
126
126
  ),
127
127
  /* @__PURE__ */ e.jsx(
128
- v,
128
+ aa,
129
129
  {
130
130
  value: o.lastName,
131
131
  isErrored: !!m.lastName,
132
- disabled: (N = d("lastName")) == null ? void 0 : N.disabled,
132
+ disabled: (N = t("lastName")) == null ? void 0 : N.disabled,
133
133
  onChange: (s) => {
134
- l("lastName", s), t("lastName", s, a);
134
+ l("lastName", s), d("lastName", s, a);
135
135
  }
136
136
  }
137
137
  )
138
138
  ] }),
139
139
  a.programTheme.idCheckAddOnEnabled ? /* @__PURE__ */ e.jsx(
140
- aa,
140
+ sa,
141
141
  {
142
142
  errorId: m.birthDate,
143
143
  locale: P,
144
- disabled: (T = d("birthDate")) == null ? void 0 : T.disabled,
144
+ disabled: (T = t("birthDate")) == null ? void 0 : T.disabled,
145
145
  onChange: (s) => {
146
- l("birthDate", s), t("birthDate", s, a);
146
+ l("birthDate", s), d("birthDate", s, a);
147
147
  },
148
148
  value: o.birthDate
149
149
  }
@@ -154,50 +154,50 @@ const Ca = ({
154
154
  value: o.email,
155
155
  isErrored: !!m.email,
156
156
  explanation: /* @__PURE__ */ e.jsx(
157
- h,
157
+ i,
158
158
  {
159
159
  id: "emailExplanation",
160
160
  defaultMessage: "Must be your school-issued email address"
161
161
  }
162
162
  ),
163
163
  onChange: (s) => {
164
- l("email", s), t("email", s, a);
164
+ l("email", s), d("email", s, a);
165
165
  },
166
- onKeyDown: (s) => sa(s),
167
- disabled: (M = d("email")) == null ? void 0 : M.disabled
166
+ onKeyDown: (s) => ea(s),
167
+ disabled: (M = t("email")) == null ? void 0 : M.disabled
168
168
  }
169
169
  ),
170
170
  a.programTheme.isSmsNotifierConfigured || a.programTheme.smsLoopEnabled ? /* @__PURE__ */ e.jsx(
171
- ea,
171
+ oa,
172
172
  {
173
173
  isRequired: !!a.programTheme.smsLoopEnabled,
174
174
  value: o.phoneNumber,
175
175
  isErrored: !!m.phoneNumber,
176
176
  onChange: (s) => {
177
- l("phoneNumber", s), t(
177
+ l("phoneNumber", s), d(
178
178
  "phoneNumber",
179
179
  s,
180
180
  a
181
181
  );
182
182
  },
183
183
  selectedCountryCode: o.countryChoice && o.countryChoice.value,
184
- disabled: (F = d("phoneNumber")) == null ? void 0 : F.disabled
184
+ disabled: (F = t("phoneNumber")) == null ? void 0 : F.disabled
185
185
  }
186
186
  ) : null,
187
- oa(a.programTheme, o) ? /* @__PURE__ */ e.jsx(
188
- la,
187
+ la(a.programTheme, o) ? /* @__PURE__ */ e.jsx(
188
+ na,
189
189
  {
190
190
  isErrored: !!m.postalCode,
191
191
  onChange: (s) => {
192
- l("postalCode", s), t("postalCode", s, a);
192
+ l("postalCode", s), d("postalCode", s, a);
193
193
  },
194
194
  value: o.postalCode,
195
- disabled: (O = d("postalCode")) == null ? void 0 : O.disabled
195
+ disabled: (O = t("postalCode")) == null ? void 0 : O.disabled
196
196
  }
197
197
  ) : null,
198
- B.customFormFields.map((s) => /* @__PURE__ */ e.jsx(na, { config: s, verificationService: a })),
198
+ B.customFormFields.map((s) => /* @__PURE__ */ e.jsx(ta, { config: s, verificationService: a })),
199
199
  /* @__PURE__ */ e.jsx(
200
- ta,
200
+ da,
201
201
  {
202
202
  verificationService: a,
203
203
  isErrored: !!m.marketConsentValue,
@@ -205,26 +205,26 @@ const Ca = ({
205
205
  l("metadata", {
206
206
  ...a.viewModel.metadata,
207
207
  marketConsentValue: s
208
- }), t(
208
+ }), d(
209
209
  "marketConsentValue",
210
210
  s,
211
211
  a
212
212
  );
213
213
  },
214
214
  viewModel: o,
215
- disabled: (y = d("marketConsentValue")) == null ? void 0 : y.disabled
215
+ disabled: (y = t("marketConsentValue")) == null ? void 0 : y.disabled
216
216
  }
217
217
  ),
218
- /* @__PURE__ */ e.jsx(da, { verificationService: a, suffix: "CollectAboveSubmit" }),
218
+ /* @__PURE__ */ e.jsx(ma, { verificationService: a, suffix: "CollectAboveSubmit" }),
219
219
  /* @__PURE__ */ e.jsx(
220
- ma,
220
+ ra,
221
221
  {
222
- step: ra.collectTeacherPersonalInfo,
222
+ step: pa.collectTeacherPersonalInfo,
223
223
  verificationService: a,
224
224
  viewModel: o,
225
225
  failedInstantMatch: f,
226
226
  buttonText: /* @__PURE__ */ e.jsx(
227
- h,
227
+ i,
228
228
  {
229
229
  id: "step.personalInfo.submitButtonText",
230
230
  defaultMessage: "Verify My Teacher Status"
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-yjjxxYCV.js","sources":["../../src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\nimport React, { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { shouldCollectPostalCode } from \"../../lib/organization/organization\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n CustomFormFieldConfig,\n Organization,\n TeacherPersonalInfoResponse,\n TeacherPersonalInfoViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\n\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { TeacherSchoolComponent } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { LoadingSpinnerComponent } from \"../LoadingSpinner/LoadingSpinnerComponent\";\nimport EmailLookupResponseMessages from \"../FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent\";\nimport { useEmailFirstExperiment } from \"../FormFields/EmailFirstCollectInfo/useEmailFirstExperiment\";\nimport { EmailLookupStatus } from \"../FormFields/EmailFirstCollectInfo/types\";\n\ninterface StepTeacherPersonalInfoComponentProps {\n verificationService: VerificationService<TeacherPersonalInfoViewModel>;\n}\n\nconst StepTeacherPersonalInfo = ({\n verificationService,\n}: StepTeacherPersonalInfoComponentProps) => {\n const { viewModel } = verificationService;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as TeacherPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const locale = viewModel.localeChoice.value;\n const updateTeacherViewModel = (key: keyof TeacherPersonalInfoViewModel, value: any) => {\n const nextState = {\n [key]: value,\n };\n verificationService.updateViewModel(nextState, true);\n };\n\n // #region collect-info-step-email-first\n const {\n isEmailUpTop,\n isEmailValidationLoading,\n showFormFields,\n emailLookupResponse,\n emailOnBlur,\n emailOnKeyDown,\n handleResendClick,\n showEmailLookupResponseMessages,\n isValidEmail,\n getOrgByDomain,\n enableFormFields,\n handleOnClickProceedHere,\n } = useEmailFirstExperiment(\n verificationService.programId,\n viewModel.email,\n verificationService.verificationResponse.segment,\n );\n const [orgByEmailDomain, setOrgByEmailDomain] = React.useState<Organization | null>(null);\n const [selectedOrganization, setSelectedOrganization] = React.useState<Organization | null>(null);\n\n React.useEffect(() => {\n const fetchOrg = async () => {\n if (\n viewModel.email &&\n isValidEmail &&\n emailLookupResponse &&\n emailLookupResponse.status === EmailLookupStatus.NOT_FOUND\n ) {\n const org = await getOrgByDomain(verificationService);\n if (org) {\n setOrgByEmailDomain(org);\n updateViewModelOrganization(org, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", org, verificationService);\n }\n } else {\n setOrgByEmailDomain(null);\n }\n };\n\n if (isValidEmail && emailLookupResponse) {\n fetchOrg();\n }\n }, [viewModel.email, isValidEmail, emailLookupResponse?.status]);\n // #endregion collect-info-step-email-first\n\n // Don't validate DOB if ID Check is not enabled\n useEffect(() => {\n if (!verificationService.programTheme.idCheckAddOnEnabled) {\n updateTeacherViewModel(\"birthDate\", \"\");\n updateTeacherViewModel(\"fieldsToSkipValidation\", [\"birthDate\"]);\n } else {\n updateTeacherViewModel(\"fieldsToSkipValidation\", []);\n }\n }, [verificationService.programTheme.idCheckAddOnEnabled]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"teacher-personal-info\"\n />\n {\n // #region email-first-experiment\n isEmailUpTop && (\n <>\n <div className=\"email-input-wrapper\">\n {isEmailValidationLoading && (\n <div className=\"email-input-wrapper-frame\">\n <div className=\"sid-spinner scaled\">\n <LoadingSpinnerComponent />\n </div>\n </div>\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Must be your school-issued email address\"\n />\n }\n onChange={(newValue) => {\n updateTeacherViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={emailOnKeyDown}\n onBlur={emailOnBlur}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n </div>\n </>\n )\n // #endregion email-first-experiment\n }\n {showEmailLookupResponseMessages && emailLookupResponse && isValidEmail && (\n <EmailLookupResponseMessages\n emailLookupResponse={emailLookupResponse}\n onResendClick={handleResendClick}\n onHandleClickLink={handleOnClickProceedHere}\n />\n )}\n {showFormFields && (\n <>\n <div className={enableFormFields || !isEmailUpTop ? \"\" : \"sid-disable-elements\"}>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <TeacherSchoolComponent\n value={\n selectedOrganization ||\n (isEmailUpTop &&\n emailLookupResponse?.status === EmailLookupStatus.NOT_FOUND &&\n orgByEmailDomain) ||\n verificationService.viewModel.organization\n }\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n setSelectedOrganization(choice);\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n {verificationService.programTheme.idCheckAddOnEnabled ? (\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n ) : null}\n {!isEmailUpTop && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Must be your school-issued email address\"\n />\n }\n onChange={(newValue) => {\n updateTeacherViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateTeacherViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"phoneNumber\",\n newValue,\n verificationService,\n );\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldCollectPostalCode(verificationService.programTheme, viewModel) ? (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateTeacherViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n ) : null}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateTeacherViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectTeacherPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Teacher Status\"\n />\n }\n />\n </div>\n </>\n )}\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepTeacherPersonalInfoComponent = StepTeacherPersonalInfo;\nfunction userDidConvert(COLLECT_INFO_SUBMIT: any, COLLECT_INFO_SUBMISSION_TIME: any) {\n throw new Error(\"Function not implemented.\");\n}\n"],"names":["StepTeacherPersonalInfo","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","options","getOptions","locale","updateTeacherViewModel","key","value","nextState","isEmailUpTop","isEmailValidationLoading","showFormFields","emailLookupResponse","emailOnBlur","emailOnKeyDown","handleResendClick","showEmailLookupResponseMessages","isValidEmail","getOrgByDomain","enableFormFields","handleOnClickProceedHere","useEmailFirstExperiment","orgByEmailDomain","setOrgByEmailDomain","React","selectedOrganization","setSelectedOrganization","EmailLookupStatus","org","updateViewModelOrganization","updateFieldValidationErrorsByFieldId","useEffect","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","LoadingSpinnerComponent","Email","FormattedHTMLMessage","newValue","_a","getFieldConfigByFieldId","EmailLookupResponseMessages","ChangeLocaleV2Component","CountryComponentWrapper","_b","TeacherSchoolComponent","_c","choice","FirstName","_d","LastName","_e","BirthDate","_f","event","handleEmailOnKeyDown","_g","PhoneNumber","_h","shouldCollectPostalCode","PostalCodeComponent","_i","config","FormFieldCustom","MarketConsentWrapper","_j","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepTeacherPersonalInfoComponent"],"mappings":";;;;AA8CA,MAAMA,KAA0B,CAAC;AAAA,EAC/B,qBAAAC;AACF,MAA6C;;AACrC,QAAA,EAAE,WAAAC,MAAcD,GAChB,EAAE,uBAAAE,MAA0BF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,EAAW,GACrBC,IAASP,EAAU,aAAa,OAChCQ,IAAyB,CAAC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,gBAAAA,EAAAA,IAAAkC,IAAA,EAAa,qBAAAxE,GAA0C,QAAO,qBAAqB,CAAA;AAAA,UACpFsC,gBAAAA,EAAA;AAAA,YAACmC;AAAA,YAAA;AAAA,cACC,MAAMC,GAAsB;AAAA,cAC5B,qBAAA1E;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAG;AAAA,cACA,YACEkC,gBAAAA,EAAA;AAAA,gBAACK;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,EAAA,CACF,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAEJ;AAEJ,GAEagC,KAAmC5E;"}
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.105.0-alpha.0
4
- * BUILD_TIMESTAMP: 1746202293151
5
- * BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
3
+ * VERSION: 2.107.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746502674678
5
+ * BUILD_DATE: Tue May 06 2025 03:37:54 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f17a7649831871c7796a28ddab8dcf715fc9700c
7
7
  */
8
8
  const e = {
9
9
  "defaultMessages.ACTIVE_DUTY": "Virk herskylda",
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.105.0-alpha.0
4
- * BUILD_TIMESTAMP: 1746202293151
5
- * BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
3
+ * VERSION: 2.107.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746502674678
5
+ * BUILD_DATE: Tue May 06 2025 03:37:54 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f17a7649831871c7796a28ddab8dcf715fc9700c
7
7
  */
8
8
  const e = {
9
9
  "defaultMessages.ACTIVE_DUTY": "Servizio Attivo",
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.105.0-alpha.0
4
- * BUILD_TIMESTAMP: 1746202293151
5
- * BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
3
+ * VERSION: 2.107.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746502674678
5
+ * BUILD_DATE: Tue May 06 2025 03:37:54 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f17a7649831871c7796a28ddab8dcf715fc9700c
7
7
  */
8
8
  const e = {
9
9
  "defaultMessages.ACTIVE_DUTY": "שירות פעיל",
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.105.0-alpha.0
4
- * BUILD_TIMESTAMP: 1746202293151
5
- * BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
3
+ * VERSION: 2.107.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746502674678
5
+ * BUILD_DATE: Tue May 06 2025 03:37:54 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f17a7649831871c7796a28ddab8dcf715fc9700c
7
7
  */
8
8
  const e = {
9
9
  "defaultMessages.ACTIVE_DUTY": "現役軍人",
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.105.0-alpha.0
4
- * BUILD_TIMESTAMP: 1746202293151
5
- * BUILD_DATE: Fri May 02 2025 16:11:33 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
3
+ * VERSION: 2.107.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746502674678
5
+ * BUILD_DATE: Tue May 06 2025 03:37:54 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f17a7649831871c7796a28ddab8dcf715fc9700c
7
7
  */
8
8
  const e = {
9
9
  "defaultMessages.ACTIVE_DUTY": "현역 군인",