@sheerid/jslib-nightly 2.103.0-alpha.1 → 2.104.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 (462) hide show
  1. package/__tests__/__helpers__/renderers.d.ts +5 -5
  2. package/_mysheerid-preview.css +4 -4
  3. package/_mysheerid-preview.js +16418 -17936
  4. package/_mysheerid-preview.js.map +1 -1
  5. package/chunk/{EmailLoopPending-Cp3dQjbH.js → EmailLoopPending-D-O7IRrU.js} +17 -17
  6. package/chunk/{EmailLoopPending-Cp3dQjbH.js.map → EmailLoopPending-D-O7IRrU.js.map} +1 -1
  7. package/chunk/{EmailLoopPending-WTPkkJsm.js → EmailLoopPending-DmENoLpP.js} +17 -17
  8. package/chunk/{EmailLoopPending-WTPkkJsm.js.map → EmailLoopPending-DmENoLpP.js.map} +1 -1
  9. package/chunk/LicensedProfessionalOrganizationComponent-BrW9osPt.js +55 -0
  10. package/chunk/LicensedProfessionalOrganizationComponent-BrW9osPt.js.map +1 -0
  11. package/chunk/LicensedProfessionalOrganizationComponent-Cu6a9uBs.js +51 -0
  12. package/chunk/LicensedProfessionalOrganizationComponent-Cu6a9uBs.js.map +1 -0
  13. package/chunk/{Onfido-AyvUk6wg.js → Onfido-CMH3IUna.js} +28 -28
  14. package/chunk/{Onfido-AyvUk6wg.js.map → Onfido-CMH3IUna.js.map} +1 -1
  15. package/chunk/{StepIDCheckLoopOnfido-Dbk23JEP.js → StepIDCheckLoopOnfido-BRtMQNQl.js} +12 -13
  16. package/chunk/{StepIDCheckLoopOnfido-DbTm06es.js.map → StepIDCheckLoopOnfido-BRtMQNQl.js.map} +1 -1
  17. package/chunk/{StepIDCheckLoopOnfido-DbTm06es.js → StepIDCheckLoopOnfido-mZhLONqq.js} +12 -13
  18. package/chunk/{StepIDCheckLoopOnfido-Dbk23JEP.js.map → StepIDCheckLoopOnfido-mZhLONqq.js.map} +1 -1
  19. package/chunk/{StepIDCheckLoopRegula-CeadrU2e.js → StepIDCheckLoopRegula-1wd-jJGJ.js} +85 -58
  20. package/chunk/StepIDCheckLoopRegula-1wd-jJGJ.js.map +1 -0
  21. package/chunk/{StepIDCheckLoopRegula-B7RS9_LL.js → StepIDCheckLoopRegula-jyg1vIi3.js} +85 -58
  22. package/chunk/StepIDCheckLoopRegula-jyg1vIi3.js.map +1 -0
  23. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js → StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js} +52 -52
  24. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js.map → StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js.map} +1 -1
  25. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js → StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js} +52 -52
  26. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js.map → StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.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-Dl7QItmr.js → index-1tM2UWke.js} +56 -48
  46. package/chunk/{index-Dl7QItmr.js.map → index-1tM2UWke.js.map} +1 -1
  47. package/chunk/{index-XXxK9rgV.js → index-25aIMfhs.js} +87 -86
  48. package/chunk/index-25aIMfhs.js.map +1 -0
  49. package/chunk/{index-BOpxl8V9.js → index-2tpdu0Sm.js} +28 -28
  50. package/chunk/{index-BOpxl8V9.js.map → index-2tpdu0Sm.js.map} +1 -1
  51. package/chunk/{index-CaSKZsTY.js → index-BJxmlJd1.js} +15 -15
  52. package/chunk/{index-CaSKZsTY.js.map → index-BJxmlJd1.js.map} +1 -1
  53. package/chunk/{index-4APDQFqJ.js → index-BSXBGGOf.js} +10 -10
  54. package/{lib/index-BHwYKmBe.js.map → chunk/index-BSXBGGOf.js.map} +1 -1
  55. package/chunk/index-B_CvWvhW.js +27 -0
  56. package/chunk/index-B_CvWvhW.js.map +1 -0
  57. package/chunk/{index-DFQ4PjGJ.js → index-BgB4HxER.js} +58 -58
  58. package/chunk/{index-CtqWr1aK.js.map → index-BgB4HxER.js.map} +1 -1
  59. package/chunk/{index-RmF57u5_.js → index-BjWeyRVL.js} +43 -43
  60. package/chunk/{index-C0jDbJPp.js.map → index-BjWeyRVL.js.map} +1 -1
  61. package/chunk/{index-qAxcloBs.js → index-BmJ3aubI.js} +11 -11
  62. package/chunk/{index-qAxcloBs.js.map → index-BmJ3aubI.js.map} +1 -1
  63. package/chunk/{index-CtqWr1aK.js → index-BrVZpRb7.js} +58 -58
  64. package/chunk/{index-DFQ4PjGJ.js.map → index-BrVZpRb7.js.map} +1 -1
  65. package/chunk/index-Bv_0MGCt.js +31 -0
  66. package/chunk/index-Bv_0MGCt.js.map +1 -0
  67. package/chunk/{index-aKTpkBwz.js → index-C3tQa9xA.js} +56 -48
  68. package/chunk/{index-aKTpkBwz.js.map → index-C3tQa9xA.js.map} +1 -1
  69. package/chunk/{index-C0jDbJPp.js → index-C6cgSdQ9.js} +43 -43
  70. package/chunk/{index-RmF57u5_.js.map → index-C6cgSdQ9.js.map} +1 -1
  71. package/chunk/{index-D3dphMnl.js → index-CEidf7uT.js} +15 -15
  72. package/{lib/index-Sytmygw_.js.map → chunk/index-CEidf7uT.js.map} +1 -1
  73. package/chunk/{index-BhkJfnda.js → index-CGKKTwvx.js} +15 -15
  74. package/chunk/{index-BDw8efPp.js.map → index-CGKKTwvx.js.map} +1 -1
  75. package/chunk/{index-BtYzUCrC.js → index-Cb7GlxEu.js} +11 -11
  76. package/chunk/{index-BtYzUCrC.js.map → index-Cb7GlxEu.js.map} +1 -1
  77. package/chunk/{index-DPEoeYI6.js → index-Cq8qB8GK.js} +44 -44
  78. package/chunk/{index-CgSW4Vzh.js.map → index-Cq8qB8GK.js.map} +1 -1
  79. package/chunk/{index-B30_E6pJ.js → index-D1j4nnQa.js} +31 -31
  80. package/chunk/{index-B30_E6pJ.js.map → index-D1j4nnQa.js.map} +1 -1
  81. package/chunk/{index-DB9SisGK.js → index-D6Gez9pU.js} +21 -21
  82. package/chunk/{index-DB9SisGK.js.map → index-D6Gez9pU.js.map} +1 -1
  83. package/chunk/{index-BGCnajPS.js → index-D6RaCifq.js} +30 -30
  84. package/chunk/{index-BFMTiaJv.js.map → index-D6RaCifq.js.map} +1 -1
  85. package/chunk/{index-NjSUlAP4.js → index-D8z4eipH.js} +53 -53
  86. package/chunk/{index-oMg5zy_2.js.map → index-D8z4eipH.js.map} +1 -1
  87. package/chunk/{index-C9bZ7enn.js → index-DFjiwKs3.js} +7 -7
  88. package/chunk/{index-2QV6VPA3.js.map → index-DFjiwKs3.js.map} +1 -1
  89. package/chunk/index-DIkWpujR.js +4 -4
  90. package/chunk/index-DIkWpujR.js.map +1 -1
  91. package/chunk/{index-BDw8efPp.js → index-DJReh58z.js} +15 -15
  92. package/chunk/{index-BhkJfnda.js.map → index-DJReh58z.js.map} +1 -1
  93. package/chunk/{index-DWjrZunN.js → index-DPLvpl1z.js} +10 -10
  94. package/chunk/{index-4APDQFqJ.js.map → index-DPLvpl1z.js.map} +1 -1
  95. package/chunk/{index-DZsw9-0u.js → index-DR_Yi6nm.js} +237 -219
  96. package/chunk/index-DR_Yi6nm.js.map +1 -0
  97. package/chunk/{index-_ohn63ug.js → index-DZ0bnNgg.js} +31 -31
  98. package/chunk/{index-_ohn63ug.js.map → index-DZ0bnNgg.js.map} +1 -1
  99. package/chunk/{index-B3NA0DdP.js → index-D_lbJwrN.js} +87 -86
  100. package/chunk/index-D_lbJwrN.js.map +1 -0
  101. package/chunk/{index-MRhfTdmm.js → index-DyHhX3QL.js} +21 -21
  102. package/chunk/{index-MRhfTdmm.js.map → index-DyHhX3QL.js.map} +1 -1
  103. package/chunk/{index-CgSW4Vzh.js → index-F-HVkQz5.js} +44 -44
  104. package/{lib/index-Cn53lF5X.js.map → chunk/index-F-HVkQz5.js.map} +1 -1
  105. package/chunk/{index-D7dDB9pN.js → index-GaKINs6g.js} +23 -23
  106. package/chunk/{index-DIV55Je2.js.map → index-GaKINs6g.js.map} +1 -1
  107. package/{lib/index-S3ZpXPMJ.js → chunk/index-IntP52Fm.js} +22 -23
  108. package/chunk/{index-BGCnajPS.js.map → index-IntP52Fm.js.map} +1 -1
  109. package/chunk/{index-DIV55Je2.js → index-i9-QlgZ0.js} +23 -23
  110. package/chunk/{index-D7dDB9pN.js.map → index-i9-QlgZ0.js.map} +1 -1
  111. package/chunk/{index-tFgJS6bB.js → index-n6-LNqUp.js} +23 -23
  112. package/chunk/{index-tFgJS6bB.js.map → index-n6-LNqUp.js.map} +1 -1
  113. package/chunk/{index-2QV6VPA3.js → index-rjS-77t0.js} +7 -7
  114. package/chunk/{index-C9bZ7enn.js.map → index-rjS-77t0.js.map} +1 -1
  115. package/chunk/{index-BPEB_HHW.js → index-vIL1gjSk.js} +237 -219
  116. package/chunk/index-vIL1gjSk.js.map +1 -0
  117. package/chunk/{index-CgBENXRP.js → index-whConjrR.js} +23 -23
  118. package/{lib/index-BcE9NN84.js.map → chunk/index-whConjrR.js.map} +1 -1
  119. package/chunk/{index-DtoxnCtM.js → index-y-QcpyIc.js} +28 -28
  120. package/{lib/index-DQvdYpIH.js.map → chunk/index-y-QcpyIc.js.map} +1 -1
  121. package/chunk/{index-oMg5zy_2.js → index-ygMzyxW9.js} +53 -53
  122. package/chunk/{index-NjSUlAP4.js.map → index-ygMzyxW9.js.map} +1 -1
  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-BsY8WlOg.js → useCollectFieldsEndpoint-CumMd2sJ.js} +11 -11
  149. package/chunk/{useCollectFieldsEndpoint-BsY8WlOg.js.map → useCollectFieldsEndpoint-CumMd2sJ.js.map} +1 -1
  150. package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js → useCollectFieldsEndpoint-V5bz5WAF.js} +11 -11
  151. package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js.map → useCollectFieldsEndpoint-V5bz5WAF.js.map} +1 -1
  152. package/chunk/{useEmailFirstExperiment-3uKuefem.js → useEmailFirstExperiment-CV5nAxtl.js} +30 -29
  153. package/chunk/{useEmailFirstExperiment-3uKuefem.js.map → useEmailFirstExperiment-CV5nAxtl.js.map} +1 -1
  154. package/chunk/{useEmailFirstExperiment-B1_E_D0z.js → useEmailFirstExperiment-mjdDc7vk.js} +30 -29
  155. package/chunk/{useEmailFirstExperiment-B1_E_D0z.js.map → useEmailFirstExperiment-mjdDc7vk.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-BWEJteWf.js → EmailLoopPending-DUy2k56y.js} +14 -14
  164. package/lib/{EmailLoopPending-BWEJteWf.js.map → EmailLoopPending-DUy2k56y.js.map} +1 -1
  165. package/lib/LicensedProfessionalOrganizationComponent-BPtxmkjH.js +52 -0
  166. package/lib/LicensedProfessionalOrganizationComponent-BPtxmkjH.js.map +1 -0
  167. package/lib/{Onfido-AyvUk6wg.js → Onfido-CMH3IUna.js} +28 -28
  168. package/lib/{Onfido-AyvUk6wg.js.map → Onfido-CMH3IUna.js.map} +1 -1
  169. package/lib/StepCollectMilitaryStatusComponent-u1rI8N4t.js +11 -0
  170. package/lib/{StepCollectMilitaryStatusComponent-B6FWsKVT.js.map → StepCollectMilitaryStatusComponent-u1rI8N4t.js.map} +1 -1
  171. package/lib/{StepIDCheckLoopOnfido-BoYu03qf.js → StepIDCheckLoopOnfido-DirszrOR.js} +19 -19
  172. package/lib/{StepIDCheckLoopOnfido-BoYu03qf.js.map → StepIDCheckLoopOnfido-DirszrOR.js.map} +1 -1
  173. package/lib/{StepIDCheckLoopRegula-CleO2AvI.js → StepIDCheckLoopRegula-DoIQP1h2.js} +5 -5
  174. package/lib/{StepIDCheckLoopRegula-CleO2AvI.js.map → StepIDCheckLoopRegula-DoIQP1h2.js.map} +1 -1
  175. package/lib/{StepInactiveMilitaryPersonalInfoComponent-CwHB55DG.js → StepInactiveMilitaryPersonalInfoComponent-uX6OkV0d.js} +52 -52
  176. package/lib/{StepInactiveMilitaryPersonalInfoComponent-CwHB55DG.js.map → StepInactiveMilitaryPersonalInfoComponent-uX6OkV0d.js.map} +1 -1
  177. package/lib/VerificationApiUtils-DXDQAg5m.js +21 -0
  178. package/lib/VerificationApiUtils-DXDQAg5m.js.map +1 -0
  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-DS7nD0gX.js +26840 -0
  190. package/lib/es6-DS7nD0gX.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-DpFFsGey.js → index--qLF6ZOW.js} +76 -75
  200. package/lib/index--qLF6ZOW.js.map +1 -0
  201. package/lib/index-0NkCv3Y-.js +11 -0
  202. package/lib/index-0NkCv3Y-.js.map +1 -0
  203. package/lib/{index-DQvdYpIH.js → index-9ka8yNRo.js} +23 -23
  204. package/{chunk/index-DtoxnCtM.js.map → lib/index-9ka8yNRo.js.map} +1 -1
  205. package/lib/{index-D0D7HAPn.js → index-AWpSRRq3.js} +60 -60
  206. package/lib/{index-D0D7HAPn.js.map → index-AWpSRRq3.js.map} +1 -1
  207. package/lib/index-B9dEWYQH.js +11 -0
  208. package/lib/index-B9dEWYQH.js.map +1 -0
  209. package/lib/{index-BcE9NN84.js → index-BAFdbWcI.js} +32 -32
  210. package/{chunk/index-CgBENXRP.js.map → lib/index-BAFdbWcI.js.map} +1 -1
  211. package/lib/index-BY6Xy81u.js +11 -0
  212. package/lib/index-BY6Xy81u.js.map +1 -0
  213. package/lib/{index-CRYZY6vI.js → index-C1JFiqbD.js} +24 -24
  214. package/lib/{index-CRYZY6vI.js.map → index-C1JFiqbD.js.map} +1 -1
  215. package/lib/index-C3Iqch6i.js +11 -0
  216. package/lib/index-C3Iqch6i.js.map +1 -0
  217. package/lib/{index-CBDyLXYG.js → index-CCflTrqh.js} +52 -52
  218. package/lib/{index-CBDyLXYG.js.map → index-CCflTrqh.js.map} +1 -1
  219. package/lib/{index-VNMhK7yn.js → index-CJfYYEay.js} +7 -7
  220. package/lib/{index-VNMhK7yn.js.map → index-CJfYYEay.js.map} +1 -1
  221. package/lib/{index-Cn53lF5X.js → index-CLj9YCrn.js} +27 -27
  222. package/{chunk/index-DPEoeYI6.js.map → lib/index-CLj9YCrn.js.map} +1 -1
  223. package/lib/{index-CBifWEeV.js → index-CY10ElCy.js} +402 -385
  224. package/lib/index-CY10ElCy.js.map +1 -0
  225. package/lib/{index-3SRQvj39.js → index-CgJWGuRF.js} +26 -26
  226. package/lib/{index-3SRQvj39.js.map → index-CgJWGuRF.js.map} +1 -1
  227. package/lib/{index-BxVqnD-7.js → index-CkW6g9oh.js} +23 -23
  228. package/lib/{index-BxVqnD-7.js.map → index-CkW6g9oh.js.map} +1 -1
  229. package/lib/{index-eOSlGhXP.js → index-CwqfypY1.js} +5 -5
  230. package/lib/{index-eOSlGhXP.js.map → index-CwqfypY1.js.map} +1 -1
  231. package/{chunk/index-BFMTiaJv.js → lib/index-CyiYceqn.js} +33 -32
  232. package/lib/{index-S3ZpXPMJ.js.map → index-CyiYceqn.js.map} +1 -1
  233. package/lib/{index-BHwYKmBe.js → index-D-0wY68l.js} +10 -10
  234. package/{chunk/index-DWjrZunN.js.map → lib/index-D-0wY68l.js.map} +1 -1
  235. package/lib/{index-BJBWT9wa.js → index-DEYBhR7F.js} +25 -25
  236. package/lib/{index-BJBWT9wa.js.map → index-DEYBhR7F.js.map} +1 -1
  237. package/lib/index-DIkWpujR.js +4 -4
  238. package/lib/index-DIkWpujR.js.map +1 -1
  239. package/lib/index-Da2aS2uY.js +28 -0
  240. package/lib/{index-B8_50Him.js.map → index-Da2aS2uY.js.map} +1 -1
  241. package/lib/{index-Sytmygw_.js → index-DcOpzG-K.js} +5 -5
  242. package/{chunk/index-D3dphMnl.js.map → lib/index-DcOpzG-K.js.map} +1 -1
  243. package/lib/{index-CTem-Vg8.js → index-VC3WFrsr.js} +9 -9
  244. package/lib/{index-CTem-Vg8.js.map → index-VC3WFrsr.js.map} +1 -1
  245. package/lib/{index-CrV2nMoq.js → index-uCUcf8WW.js} +5 -5
  246. package/lib/{index-CrV2nMoq.js.map → index-uCUcf8WW.js.map} +1 -1
  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-CAKKawmD.js → useCollectFieldsEndpoint-DhvzoNQ8.js} +8 -8
  273. package/lib/{useCollectFieldsEndpoint-CAKKawmD.js.map → useCollectFieldsEndpoint-DhvzoNQ8.js.map} +1 -1
  274. package/lib/{useEmailFirstExperiment-vO9rcSms.js → useEmailFirstExperiment-r3ZPOBWV.js} +7 -6
  275. package/lib/{useEmailFirstExperiment-vO9rcSms.js.map → useEmailFirstExperiment-r3ZPOBWV.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 +16514 -18032
  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 +0 -1
  290. package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +1 -2
  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 +1 -2
  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/hooks/index.d.ts +1 -1
  419. package/src/lib/installScript/_mysheerid-preview.d.ts +2 -2
  420. package/src/lib/installScript/affinity.d.ts +1 -1
  421. package/src/lib/installScript/iframe.d.ts +1 -1
  422. package/src/lib/installScript/index.d.ts +3 -3
  423. package/src/lib/installScript/modal.d.ts +1 -1
  424. package/src/lib/state/contextHooks.d.ts +1 -1
  425. package/src/lib/types/runtimeTypes.d.ts +1 -1
  426. package/src/lib/types/types.d.ts +8 -7
  427. package/src/lib/utils/customTagReplacer/index.d.ts +1 -1
  428. package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +2 -2
  429. package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
  430. package/types-reference.zip +0 -0
  431. package/chunk/LicensedProfessionalOrganizationComponent-D7gWh3Qx.js +0 -45
  432. package/chunk/LicensedProfessionalOrganizationComponent-D7gWh3Qx.js.map +0 -1
  433. package/chunk/LicensedProfessionalOrganizationComponent-LYrmpWss.js +0 -49
  434. package/chunk/LicensedProfessionalOrganizationComponent-LYrmpWss.js.map +0 -1
  435. package/chunk/StepIDCheckLoopRegula-B7RS9_LL.js.map +0 -1
  436. package/chunk/StepIDCheckLoopRegula-CeadrU2e.js.map +0 -1
  437. package/chunk/index-B2aeWDCT.js +0 -48
  438. package/chunk/index-B2aeWDCT.js.map +0 -1
  439. package/chunk/index-B3NA0DdP.js.map +0 -1
  440. package/chunk/index-BPEB_HHW.js.map +0 -1
  441. package/chunk/index-BqmbVto7.js +0 -52
  442. package/chunk/index-BqmbVto7.js.map +0 -1
  443. package/chunk/index-DZsw9-0u.js.map +0 -1
  444. package/chunk/index-XXxK9rgV.js.map +0 -1
  445. package/lib/LicensedProfessionalOrganizationComponent-8Fz7VzpC.js +0 -46
  446. package/lib/LicensedProfessionalOrganizationComponent-8Fz7VzpC.js.map +0 -1
  447. package/lib/StepCollectMilitaryStatusComponent-B6FWsKVT.js +0 -11
  448. package/lib/VerificationApiUtils-xT8neNEB.js +0 -24
  449. package/lib/VerificationApiUtils-xT8neNEB.js.map +0 -1
  450. package/lib/es6-B4C99nr_.js +0 -27974
  451. package/lib/es6-B4C99nr_.js.map +0 -1
  452. package/lib/index-B8_50Him.js +0 -28
  453. package/lib/index-CBifWEeV.js.map +0 -1
  454. package/lib/index-CTWjUdXx.js +0 -11
  455. package/lib/index-CTWjUdXx.js.map +0 -1
  456. package/lib/index-CiuvIMbL.js +0 -11
  457. package/lib/index-CiuvIMbL.js.map +0 -1
  458. package/lib/index-DZB3KVgZ.js +0 -11
  459. package/lib/index-DZB3KVgZ.js.map +0 -1
  460. package/lib/index-DpFFsGey.js.map +0 -1
  461. package/lib/index-XBfOIml7.js +0 -11
  462. package/lib/index-XBfOIml7.js.map +0 -1
@@ -1,18 +1,18 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.103.0-alpha.1
4
- * BUILD_TIMESTAMP: 1746113249549
5
- * BUILD_DATE: Thu May 01 2025 15:27:29 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: d965970f2cd2a5e2e0ec472faaa3d106de7ca01e
3
+ * VERSION: 2.104.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746122030388
5
+ * BUILD_DATE: Thu May 01 2025 17:53:50 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
7
7
  */
8
- import { i as A, h as T, _ as k, $ as q, c as B, R as L, u as d, j as o, s as W, t as w, P as H, v as U, Q as K, x as l, w as O, y as z, W as G, a0 as Q, z as _, B as $, E as J, d as X, D as Y, G as Z, M as S, H as v, e as ee, V as se, a as ae, a1 as oe } from "../sheerid.js";
9
- import { u as te } from "./useCollectFieldsEndpoint-DeICm6Vb.js";
8
+ import { i as k, h as A, a4 as T, a5 as q, e as B, R as L, u as d, j as o, x as H, P as K, y as U, Y as W, a as l, z as w, B as O, $ as z, a6 as G, D as J, G as Y, E as $, f as Q, H as X, J as Z, M as _, K as S, k as v, V as ee, b as se, N as ae, a7 as oe } from "../sheerid.js";
9
+ import { u as te } from "./useCollectFieldsEndpoint-V5bz5WAF.js";
10
10
  const de = ({ verificationService: s, intl: j }) => {
11
- var p, C, h, b, i, g, N, x, y;
12
- const a = s.viewModel, { fieldValidationErrors: t } = s, r = s.verificationResponse, E = T(r), I = k(
11
+ var p, C, h, b, i, N, g, x, y;
12
+ const a = s.viewModel, { fieldValidationErrors: t } = s, r = s.verificationResponse, E = A(r), I = T(
13
13
  s.programTheme,
14
14
  j
15
- ), F = q(I), m = B(() => a.countryChoice.value, F.value), c = m === "US" ? [{ key: "postalCode" }] : [], M = m !== "US" || s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled, f = m !== "US" || s.programTheme.smsLoopEnabled, P = a.localeChoice.value, D = w();
15
+ ), F = q(I), m = B(() => a.countryChoice.value, F.value), M = m === "US" ? [{ key: "postalCode" }] : [], c = m !== "US" || s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled, f = m !== "US" || s.programTheme.smsLoopEnabled, P = a.localeChoice.value, D = ae();
16
16
  !t.phoneNumber && r.errorIds && r.errorIds.includes("invalidPhoneNumber") && s.updateFieldValidationErrors({
17
17
  ...t,
18
18
  phoneNumber: "invalidPhoneNumber"
@@ -24,20 +24,20 @@ const de = ({ verificationService: s, intl: j }) => {
24
24
  verificationId: r.verificationId,
25
25
  currentStep: r.currentStep,
26
26
  viewModel: a,
27
- defaultRequiredFields: c
27
+ defaultRequiredFields: M
28
28
  });
29
29
  return L.useEffect(() => {
30
30
  d("phoneNumber", a.phoneNumber, s);
31
31
  }, [a.country]), /* @__PURE__ */ o.jsxs(
32
- W,
32
+ H,
33
33
  {
34
34
  verificationService: s,
35
35
  step: r.currentStep,
36
36
  children: [
37
- /* @__PURE__ */ o.jsx(H, { verificationService: s, classNameIdentifier: "age" }),
37
+ /* @__PURE__ */ o.jsx(K, { verificationService: s, classNameIdentifier: "age" }),
38
38
  /* @__PURE__ */ o.jsx(U, { verificationService: s }),
39
39
  /* @__PURE__ */ o.jsx(
40
- K,
40
+ W,
41
41
  {
42
42
  verificationService: s,
43
43
  disabled: (p = l("country")) == null ? void 0 : p.disabled
@@ -45,7 +45,7 @@ const de = ({ verificationService: s, intl: j }) => {
45
45
  ),
46
46
  /* @__PURE__ */ o.jsxs("div", { className: "sid-names", children: [
47
47
  /* @__PURE__ */ o.jsx(
48
- O,
48
+ w,
49
49
  {
50
50
  value: a.firstName,
51
51
  isErrored: !!t.firstName,
@@ -56,7 +56,7 @@ const de = ({ verificationService: s, intl: j }) => {
56
56
  }
57
57
  ),
58
58
  /* @__PURE__ */ o.jsx(
59
- z,
59
+ O,
60
60
  {
61
61
  value: a.lastName,
62
62
  isErrored: !!t.lastName,
@@ -68,7 +68,7 @@ const de = ({ verificationService: s, intl: j }) => {
68
68
  )
69
69
  ] }),
70
70
  /* @__PURE__ */ o.jsx(
71
- G,
71
+ z,
72
72
  {
73
73
  errorId: t.birthDate,
74
74
  locale: P,
@@ -80,7 +80,7 @@ const de = ({ verificationService: s, intl: j }) => {
80
80
  }
81
81
  ),
82
82
  u("city") && /* @__PURE__ */ o.jsx(
83
- Q,
83
+ G,
84
84
  {
85
85
  value: a.city,
86
86
  isRequired: !0,
@@ -93,7 +93,7 @@ const de = ({ verificationService: s, intl: j }) => {
93
93
  }
94
94
  ),
95
95
  u("address1") && /* @__PURE__ */ o.jsx(
96
- _,
96
+ J,
97
97
  {
98
98
  value: a.address1,
99
99
  isRequired: !0,
@@ -105,30 +105,30 @@ const de = ({ verificationService: s, intl: j }) => {
105
105
  }
106
106
  ),
107
107
  u("postalCode") && /* @__PURE__ */ o.jsx(
108
- $,
108
+ Y,
109
109
  {
110
110
  isErrored: !!t.postalCode,
111
111
  onChange: (e) => {
112
112
  n("postalCode", e), d("postalCode", e, s);
113
113
  },
114
114
  value: a.postalCode,
115
- disabled: (g = l("postalCode")) == null ? void 0 : g.disabled
115
+ disabled: (N = l("postalCode")) == null ? void 0 : N.disabled
116
116
  }
117
117
  ),
118
118
  /* @__PURE__ */ o.jsx(
119
- J,
119
+ $,
120
120
  {
121
121
  value: a.email,
122
122
  isErrored: !!t.email,
123
123
  onChange: (e) => {
124
124
  n("email", e), d("email", e, s);
125
125
  },
126
- onKeyDown: (e) => X(e),
127
- disabled: (N = l("email")) == null ? void 0 : N.disabled
126
+ onKeyDown: (e) => Q(e),
127
+ disabled: (g = l("email")) == null ? void 0 : g.disabled
128
128
  }
129
129
  ),
130
- M ? /* @__PURE__ */ o.jsx(
131
- Y,
130
+ c ? /* @__PURE__ */ o.jsx(
131
+ X,
132
132
  {
133
133
  isRequired: f,
134
134
  value: a.phoneNumber,
@@ -142,7 +142,7 @@ const de = ({ verificationService: s, intl: j }) => {
142
142
  ) : null,
143
143
  D.customFormFields.map((e) => /* @__PURE__ */ o.jsx(Z, { config: e, verificationService: s })),
144
144
  /* @__PURE__ */ o.jsx(
145
- S,
145
+ _,
146
146
  {
147
147
  verificationService: s,
148
148
  isErrored: !!t.marketConsentValue,
@@ -156,16 +156,16 @@ const de = ({ verificationService: s, intl: j }) => {
156
156
  disabled: (y = l("marketConsentValue")) == null ? void 0 : y.disabled
157
157
  }
158
158
  ),
159
- /* @__PURE__ */ o.jsx(v, { verificationService: s, suffix: "CollectAboveSubmit" }),
159
+ /* @__PURE__ */ o.jsx(S, { verificationService: s, suffix: "CollectAboveSubmit" }),
160
160
  /* @__PURE__ */ o.jsx(
161
- ee,
161
+ v,
162
162
  {
163
- step: se.collectAgePersonalInfo,
163
+ step: ee.collectAgePersonalInfo,
164
164
  verificationService: s,
165
165
  viewModel: a,
166
166
  failedInstantMatch: E,
167
167
  buttonText: /* @__PURE__ */ o.jsx(
168
- ae,
168
+ se,
169
169
  {
170
170
  id: "step.personalInfo.submitButtonText",
171
171
  defaultMessage: "Verify and continue"
@@ -176,7 +176,7 @@ const de = ({ verificationService: s, intl: j }) => {
176
176
  ]
177
177
  }
178
178
  );
179
- }, re = A(de);
179
+ }, re = k(de);
180
180
  export {
181
181
  re as default
182
182
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index-_ohn63ug.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,IAC1DR,EAAoB;AAAA,IACpBC;AAAA,EACF,GACMQ,IACJC,EAAwBH,CAAc,GAClCI,IAAmBC,EAAQ,MAAMV,EAAU,cAAc,OAAOO,EAAqB,KAAK,GAC1FI,IACJF,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAc,CAAA,IAAI,CAAC,GAGnDG,IACJH,MAAqB,QACrBX,EAAoB,aAAa,2BACjCA,EAAoB,aAAa,gBAC7Be,IACJJ,MAAqB,QAAQX,EAAoB,aAAa,gBAE1DgB,IAASd,EAAU,aAAa,OAChCe,IAAUC,EAAW;AAGzB,EAAA,CAACf,EAAsB,eACvBC,EAAqB,YACrBA,EAAqB,SAAS,SAAS,oBAAoB,KAE3DJ,EAAoB,4BAA4B;AAAA,IAC9C,GAAGG;AAAA,IACH,aAAa;AAAA,EAAA,CACd;AAGG,QAAAgB,IAAqB,CAACC,GAAqCC,MAAe;AAC9E,UAAMC,IAAsCC,GAAsBrB,GAAWkB,GAAKC,CAAK;AACvF,IAAArB,EAAoB,gBAAgBsB,CAAS;AAAA,EAC/C,GAEM,EAAE,iBAAAE,EAAgB,IAAIC,GAAyB;AAAA,IACnD,gBAAgBrB,EAAqB;AAAA,IACrC,aAAaA,EAAqB;AAAA,IAClC,WAAAF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AAnB,EAAmB,YAAY;AAAA,gBAC7B,GAAGnB,EAAoB,UAAU;AAAA,gBACjC,oBAAoBsC;AAAA,cAAA,CACrB,GACoCX,EAAA,sBAAsBW,GAAUtC,CAAmB;AAAA,YAC1F;AAAA,YACA,WAAAE;AAAA,YACA,WAAUuD,IAAAtB,EAAwB,oBAAoB,MAA5C,gBAAAsB,EAA+C;AAAA,UAAA;AAAA,QAC3D;AAAA,QAEC3B,gBAAAA,EAAAA,IAAA4B,GAAA,EAAa,qBAAA1D,GAA0C,QAAO,qBAAqB,CAAA;AAAA,QAEpF8B,gBAAAA,EAAA;AAAA,UAAC6B;AAAA,UAAA;AAAA,YACC,MAAMC,GAAsB;AAAA,YAC5B,qBAAA5D;AAAA,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,EAAWhE,EAAmB;"}
1
+ {"version":3,"file":"index-DZ0bnNgg.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,EAAoB,aAAa,gBAC7Be,IACJJ,MAAqB,QAAQX,EAAoB,aAAa,gBAE1DgB,IAASd,EAAU,aAAa,OAChCe,IAAUC;AAGd,EAAA,CAACf,EAAsB,eACvBC,EAAqB,YACrBA,EAAqB,SAAS,SAAS,oBAAoB,KAE3DJ,EAAoB,4BAA4B;AAAA,IAC9C,GAAGG;AAAA,IACH,aAAa;AAAA,EAAA,CACd;AAGG,QAAAgB,IA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AI,CAACqC,MAC5BxB,gBAAAA,MAAAyB,GAAA,EAAgB,QAAAD,GAAgB,qBAAAtD,EAAA,CAA0C,CAC5E;AAAA,QAED8B,gBAAAA,EAAA;AAAA,UAAC0B;AAAAA,UAAA;AAAA,YACC,qBAAAxD;AAAA,YACA,WAAW,CAAC,CAACG,EAAsB;AAAA,YACnC,UAAU,CAACmC,MAAa;AACtB,cAAAnB,EAAmB,YAAY;AAAA,gBAC7B,GAAGnB,EAAoB,UAAU;AAAA,gBACjC,oBAAoBsC;AAAA,cAAA,CACrB,GACoCX,EAAA,sBAAsBW,GAAUtC,CAAmB;AAAA,YAC1F;AAAA,YACA,WAAAE;AAAA,YACA,WAAUuD,IAAAtB,EAAwB,oBAAoB,MAA5C,gBAAAsB,EAA+C;AAAA,UAAA;AAAA,QAC3D;AAAA,QAEC3B,gBAAAA,EAAAA,IAAA4B,GAAA,EAAa,qBAAA1D,GAA0C,QAAO,qBAAqB,CAAA;AAAA,QAEpF8B,gBAAAA,EAAA;AAAA,UAAC6B;AAAA,UAAA;AAAA,YACC,MAAMC,GAAsB;AAAA,YAC5B,qBAAA5D;AAAA,YACA,WAAAE;AAAA,YACA,oBAAAG;AAAA,YACA,YACEyB,gBAAAA,EAAA;AAAA,cAAC+B;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEaC,KAA+BC,EAAWhE,EAAmB;"}
@@ -1,47 +1,48 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.103.0-alpha.1
4
- * BUILD_TIMESTAMP: 1746113249549
5
- * BUILD_DATE: Thu May 01 2025 15:27:29 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: d965970f2cd2a5e2e0ec472faaa3d106de7ca01e
3
+ * VERSION: 2.104.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746122030388
5
+ * BUILD_DATE: Thu May 01 2025 17:53:50 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
7
7
  */
8
- import { i as $, ai as L, j as a, O as S, a as m, R as g, h as v, k as ee, s as ae, P as se, a8 as ne, E as k, x as l, u as r, t as te, v as oe, Q as le, aj as de, U as R, w as re, y as me, W as ie, d as ue, D as pe, G as be, M as Ce, H as ce, e as ge, V as he } from "../sheerid.js";
9
- import { u as xe, E as Ee, a as w } from "./useEmailFirstExperiment-B1_E_D0z.js";
10
- const Ne = ({
8
+ import { i as Z, al as w, a as l, j as a, X as S, b as i, R as g, h as v, n as ee, x as ae, P as se, ae as ne, E as R, u as r, y as te, Y as le, am as oe, _ as B, z as de, B as re, $ as ie, f as me, H as ue, J as pe, M as be, K as ce, k as Ce, V as ge, N as he } from "../sheerid.js";
9
+ import { u as xe, E as Ne, a as L } from "./useEmailFirstExperiment-mjdDc7vk.js";
10
+ const Ee = ({
11
11
  value: e,
12
12
  isErrored: n,
13
- onChange: t,
14
- intl: C,
13
+ onChange: o,
14
+ intl: c,
15
15
  explanation: h,
16
16
  placeholder: p = "",
17
17
  isRequired: b = !1
18
18
  }) => {
19
- const i = L("include-cvec-field-france-student"), x = () => i === "labeled-optional" ? /* @__PURE__ */ a.jsx(
20
- m,
19
+ var t;
20
+ const m = w("include-cvec-field-france-student"), x = () => m === "labeled-optional" ? /* @__PURE__ */ a.jsx(
21
+ i,
21
22
  {
22
23
  id: "cvecNumberExplanation",
23
24
  defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
24
25
  }
25
26
  ) : /* @__PURE__ */ a.jsx(
26
- m,
27
+ i,
27
28
  {
28
29
  id: "_EXPERIMENTAL.cvecNumberExplanation",
29
30
  defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
30
31
  }
31
32
  );
32
- return /* @__PURE__ */ a.jsx(
33
+ return ((t = l("cvecNumber")) == null ? void 0 : t.hidden) ? null : /* @__PURE__ */ a.jsx(
33
34
  S,
34
35
  {
35
36
  fieldId: "cvecNumber",
36
37
  value: e,
37
- onChange: t,
38
- placeholder: p || C.formatHTMLMessage({
38
+ onChange: o,
39
+ placeholder: p || c.formatHTMLMessage({
39
40
  id: "cvecNumberPlaceholder",
40
41
  defaultMessage: "CVEC certificate number"
41
42
  }),
42
- label: /* @__PURE__ */ a.jsx(m, { id: "cvecNumber", defaultMessage: "CVEC certificate number" }),
43
+ label: /* @__PURE__ */ a.jsx(i, { id: "cvecNumber", defaultMessage: "CVEC certificate number" }),
43
44
  errorMessage: n && /* @__PURE__ */ a.jsx(
44
- m,
45
+ i,
45
46
  {
46
47
  id: "errorId.invalidCvecNumber",
47
48
  defaultMessage: "Invalid CVEC certificate number"
@@ -52,55 +53,55 @@ const Ne = ({
52
53
  explanation: h || x()
53
54
  }
54
55
  );
55
- }, fe = $(Ne), je = ({
56
+ }, fe = Z(Ee), je = ({
56
57
  verificationService: e
57
58
  }) => {
58
- var N, f, j, M, y, F, I, O, V, D, P, T;
59
- const n = e.viewModel, { fieldValidationErrors: t } = e, C = e.verificationResponse, h = te(), p = L("include-cvec-field-france-student"), b = p !== "control" && p !== "default" && ((N = n == null ? void 0 : n.countryChoice) == null ? void 0 : N.value) === "FR";
59
+ var f, j, M, F, y, I, O, V, D, P, T, k;
60
+ const n = e.viewModel, { fieldValidationErrors: o } = e, c = e.verificationResponse, h = he(), p = w("include-cvec-field-france-student"), b = p !== "control" && p !== "default" && ((f = n == null ? void 0 : n.countryChoice) == null ? void 0 : f.value) === "FR";
60
61
  g.useEffect(() => {
61
62
  b ? d("fieldsToSkipValidation", []) : d("fieldsToSkipValidation", ["cvecNumber"]);
62
63
  }, [b]);
63
64
  const {
64
- isEmailUpTop: i,
65
+ isEmailUpTop: m,
65
66
  isEmailValidationLoading: x,
66
- showFormFields: B,
67
- emailLookupResponse: o,
67
+ showFormFields: N,
68
+ emailLookupResponse: t,
68
69
  emailOnBlur: z,
69
70
  emailOnKeyDown: H,
70
71
  handleResendClick: q,
71
72
  showEmailLookupResponseMessages: A,
72
73
  enableFormFields: K,
73
- isValidEmail: c,
74
- getOrgByDomain: U,
75
- handleOnClickProceedHere: W
74
+ isValidEmail: C,
75
+ getOrgByDomain: _,
76
+ handleOnClickProceedHere: U
76
77
  } = xe(
77
78
  e.programId,
78
79
  n.email,
79
80
  e.verificationResponse.segment
80
- ), [_, E] = g.useState(null), [G, Q] = g.useState(null);
81
+ ), [W, E] = g.useState(null), [X, J] = g.useState(null);
81
82
  g.useEffect(() => {
82
- c && o && (async () => {
83
- if (n.email && c && o && o.status === w.NOT_FOUND) {
84
- const u = await U(e);
85
- u && (E(u), R(u, e), r("organization", u, e));
83
+ C && t && (async () => {
84
+ if (n.email && C && t && t.status === L.NOT_FOUND) {
85
+ const u = await _(e);
86
+ u && (E(u), B(u, e), r("organization", u, e));
86
87
  } else
87
88
  E(null);
88
89
  })();
89
- }, [n.email, c, o == null ? void 0 : o.status]);
90
- const X = v(C), d = (s, u) => {
91
- const Y = ee(
90
+ }, [n.email, C, t == null ? void 0 : t.status]);
91
+ const Y = v(c), d = (s, u) => {
92
+ const G = ee(
92
93
  n,
93
- (Z) => {
94
- Z[s] = u;
94
+ (Q) => {
95
+ Q[s] = u;
95
96
  }
96
97
  );
97
- e.updateViewModel(Y);
98
- }, J = n.localeChoice.value;
98
+ e.updateViewModel(G);
99
+ }, $ = n.localeChoice.value;
99
100
  return /* @__PURE__ */ a.jsxs(
100
101
  ae,
101
102
  {
102
103
  verificationService: e,
103
- step: C.currentStep,
104
+ step: c.currentStep,
104
105
  children: [
105
106
  /* @__PURE__ */ a.jsx(
106
107
  se,
@@ -110,15 +111,15 @@ const Ne = ({
110
111
  }
111
112
  ),
112
113
  // #region email-first-experiment
113
- i && /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsxs("div", { className: "email-input-wrapper", children: [
114
+ m && /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsxs("div", { className: "email-input-wrapper", children: [
114
115
  x && /* @__PURE__ */ a.jsx("div", { className: "email-input-wrapper-frame", children: /* @__PURE__ */ a.jsx("div", { className: "sid-spinner scaled", children: /* @__PURE__ */ a.jsx(ne, {}) }) }),
115
116
  /* @__PURE__ */ a.jsx(
116
- k,
117
+ R,
117
118
  {
118
119
  value: n.email,
119
- isErrored: !!t.email,
120
+ isErrored: !!o.email,
120
121
  explanation: /* @__PURE__ */ a.jsx(
121
- m,
122
+ i,
122
123
  {
123
124
  id: "emailExplanation",
124
125
  defaultMessage: "Personal or school email is fine"
@@ -129,38 +130,38 @@ const Ne = ({
129
130
  },
130
131
  onKeyDown: H,
131
132
  onBlur: z,
132
- disabled: (f = l("email")) == null ? void 0 : f.disabled
133
+ disabled: (j = l("email")) == null ? void 0 : j.disabled
133
134
  }
134
135
  )
135
136
  ] }) }),
136
- A && o && c && /* @__PURE__ */ a.jsx(
137
- Ee,
137
+ A && t && C && /* @__PURE__ */ a.jsx(
138
+ Ne,
138
139
  {
139
- emailLookupResponse: o,
140
+ emailLookupResponse: t,
140
141
  onResendClick: q,
141
- onHandleClickLink: W
142
+ onHandleClickLink: U
142
143
  }
143
144
  ),
144
- B && /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsxs("div", { className: K || !i ? "" : "sid-disable-elements", children: [
145
+ N && /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsxs("div", { className: K || !m ? "" : "sid-disable-elements", children: [
145
146
  " ",
146
- /* @__PURE__ */ a.jsx(oe, { verificationService: e }),
147
+ /* @__PURE__ */ a.jsx(te, { verificationService: e }),
147
148
  /* @__PURE__ */ a.jsx(
148
149
  le,
149
150
  {
150
151
  verificationService: e,
151
- disabled: (j = l("country")) == null ? void 0 : j.disabled
152
+ disabled: (M = l("country")) == null ? void 0 : M.disabled
152
153
  }
153
154
  ),
154
155
  /* @__PURE__ */ a.jsx(
155
- de,
156
+ oe,
156
157
  {
157
- value: G || i && (o == null ? void 0 : o.status) === w.NOT_FOUND && _ || e.viewModel.organization,
158
+ value: X || m && (t == null ? void 0 : t.status) === L.NOT_FOUND && W || e.viewModel.organization,
158
159
  verificationService: e,
159
- isErrored: !!t.organization,
160
+ isErrored: !!o.organization,
160
161
  isRequired: !0,
161
- disabled: (M = l("organization")) == null ? void 0 : M.disabled,
162
+ disabled: (F = l("organization")) == null ? void 0 : F.disabled,
162
163
  onChange: (s) => {
163
- Q(s), R(s, e), r("organization", s, e);
164
+ J(s), B(s, e), r("organization", s, e);
164
165
  }
165
166
  }
166
167
  ),
@@ -169,8 +170,8 @@ const Ne = ({
169
170
  {
170
171
  isRequired: (y = l("cvecNumber")) == null ? void 0 : y.requireIfOptional,
171
172
  value: n.cvecNumber,
172
- isErrored: !!t.cvecNumber,
173
- disabled: (F = l("cvecNumber")) == null ? void 0 : F.disabled,
173
+ isErrored: !!o.cvecNumber,
174
+ disabled: (I = l("cvecNumber")) == null ? void 0 : I.disabled,
174
175
  onChange: (s) => {
175
176
  d("cvecNumber", s), r("cvecNumber", s, e);
176
177
  }
@@ -178,22 +179,22 @@ const Ne = ({
178
179
  ),
179
180
  /* @__PURE__ */ a.jsxs("div", { className: "sid-names", children: [
180
181
  /* @__PURE__ */ a.jsx(
181
- re,
182
+ de,
182
183
  {
183
184
  value: n.firstName,
184
- isErrored: !!t.firstName,
185
- disabled: (I = l("firstName")) == null ? void 0 : I.disabled,
185
+ isErrored: !!o.firstName,
186
+ disabled: (O = l("firstName")) == null ? void 0 : O.disabled,
186
187
  onChange: (s) => {
187
188
  d("firstName", s), r("firstName", s, e);
188
189
  }
189
190
  }
190
191
  ),
191
192
  /* @__PURE__ */ a.jsx(
192
- me,
193
+ re,
193
194
  {
194
195
  value: n.lastName,
195
- isErrored: !!t.lastName,
196
- disabled: (O = l("lastName")) == null ? void 0 : O.disabled,
196
+ isErrored: !!o.lastName,
197
+ disabled: (V = l("lastName")) == null ? void 0 : V.disabled,
197
198
  onChange: (s) => {
198
199
  d("lastName", s), r("lastName", s, e);
199
200
  }
@@ -204,22 +205,22 @@ const Ne = ({
204
205
  ie,
205
206
  {
206
207
  value: n.birthDate,
207
- errorId: t.birthDate,
208
- locale: J,
208
+ errorId: o.birthDate,
209
+ locale: $,
209
210
  isRequired: !0,
210
- disabled: (V = l("birthDate")) == null ? void 0 : V.disabled,
211
+ disabled: (D = l("birthDate")) == null ? void 0 : D.disabled,
211
212
  onChange: (s) => {
212
213
  d("birthDate", s), r("birthDate", s, e);
213
214
  }
214
215
  }
215
216
  ),
216
- !i && /* @__PURE__ */ a.jsx(
217
- k,
217
+ !m && /* @__PURE__ */ a.jsx(
218
+ R,
218
219
  {
219
220
  value: n.email,
220
- isErrored: !!t.email,
221
+ isErrored: !!o.email,
221
222
  explanation: /* @__PURE__ */ a.jsx(
222
- m,
223
+ i,
223
224
  {
224
225
  id: "emailExplanation",
225
226
  defaultMessage: "Personal or school email is fine"
@@ -228,17 +229,17 @@ const Ne = ({
228
229
  onChange: (s) => {
229
230
  d("email", s), r("email", s, e);
230
231
  },
231
- onKeyDown: (s) => ue(s),
232
- disabled: (D = l("email")) == null ? void 0 : D.disabled
232
+ onKeyDown: (s) => me(s),
233
+ disabled: (P = l("email")) == null ? void 0 : P.disabled
233
234
  }
234
235
  ),
235
236
  e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ a.jsx(
236
- pe,
237
+ ue,
237
238
  {
238
239
  isRequired: !!e.programTheme.smsLoopEnabled,
239
240
  value: n.phoneNumber,
240
- isErrored: !!t.phoneNumber,
241
- disabled: (P = l("phoneNumber")) == null ? void 0 : P.disabled,
241
+ isErrored: !!o.phoneNumber,
242
+ disabled: (T = l("phoneNumber")) == null ? void 0 : T.disabled,
242
243
  onChange: (s) => {
243
244
  d("phoneNumber", s), r(
244
245
  "phoneNumber",
@@ -249,14 +250,14 @@ const Ne = ({
249
250
  selectedCountryCode: n.countryChoice && n.countryChoice.value
250
251
  }
251
252
  ) : null,
252
- (h.customFormFields || []).map((s) => /* @__PURE__ */ a.jsx(be, { config: s, verificationService: e })),
253
+ (h.customFormFields || []).map((s) => /* @__PURE__ */ a.jsx(pe, { config: s, verificationService: e })),
253
254
  " ",
254
255
  /* @__PURE__ */ a.jsx(
255
- Ce,
256
+ be,
256
257
  {
257
258
  verificationService: e,
258
- isErrored: !!t.marketConsentValue,
259
- disabled: (T = l("marketConsentValue")) == null ? void 0 : T.disabled,
259
+ isErrored: !!o.marketConsentValue,
260
+ disabled: (k = l("marketConsentValue")) == null ? void 0 : k.disabled,
260
261
  onChange: (s) => {
261
262
  d("metadata", {
262
263
  ...e.viewModel.metadata,
@@ -272,14 +273,14 @@ const Ne = ({
272
273
  ),
273
274
  /* @__PURE__ */ a.jsx(ce, { verificationService: e, suffix: "CollectAboveSubmit" }),
274
275
  /* @__PURE__ */ a.jsx(
275
- ge,
276
+ Ce,
276
277
  {
277
- step: he.collectStudentPersonalInfo,
278
+ step: ge.collectStudentPersonalInfo,
278
279
  verificationService: e,
279
280
  viewModel: n,
280
- failedInstantMatch: X,
281
+ failedInstantMatch: Y,
281
282
  buttonText: /* @__PURE__ */ a.jsx(
282
- m,
283
+ i,
283
284
  {
284
285
  id: "step.personalInfo.submitButtonText",
285
286
  defaultMessage: "Verify My Student Status"
@@ -291,7 +292,7 @@ const Ne = ({
291
292
  ]
292
293
  }
293
294
  );
294
- }, Fe = je;
295
+ }, ye = je;
295
296
  export {
296
- Fe as default
297
+ ye as default
297
298
  };