@sheerid/jslib 2.313.0 → 2.315.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 (348) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +37 -37
  3. package/chunk/{AddressComponent-xHLmwR7C.js → AddressComponent-BUOibRxr.js} +5 -5
  4. package/chunk/{AddressComponent-BHiOCbUv.js.map → AddressComponent-BUOibRxr.js.map} +1 -1
  5. package/chunk/{AddressComponent-BHiOCbUv.js → AddressComponent-uhBMgV3q.js} +5 -5
  6. package/chunk/{AddressComponent-xHLmwR7C.js.map → AddressComponent-uhBMgV3q.js.map} +1 -1
  7. package/chunk/AnnouncingHeader-CM01vEpF.js +4 -4
  8. package/chunk/AnnouncingHeader-CSh0UW8I.js +4 -4
  9. package/chunk/{BirthDateComponent-D5pVkYha.js → BirthDateComponent-DEm62ubJ.js} +5 -5
  10. package/chunk/{BirthDateComponent-CRbZs5-I.js.map → BirthDateComponent-DEm62ubJ.js.map} +1 -1
  11. package/chunk/{BirthDateComponent-CRbZs5-I.js → BirthDateComponent-i59ScGu6.js} +5 -5
  12. package/chunk/{BirthDateComponent-D5pVkYha.js.map → BirthDateComponent-i59ScGu6.js.map} +1 -1
  13. package/chunk/{CaptchaComponent-DpiYztJ5.js → CaptchaComponent-BD4yKfJR.js} +8 -8
  14. package/chunk/{CaptchaComponent-DpiYztJ5.js.map → CaptchaComponent-BD4yKfJR.js.map} +1 -1
  15. package/chunk/{CaptchaComponent-Bay_IP0-.js → CaptchaComponent-g9Ye-t7Z.js} +8 -8
  16. package/chunk/{CaptchaComponent-Bay_IP0-.js.map → CaptchaComponent-g9Ye-t7Z.js.map} +1 -1
  17. package/chunk/{ChangeLocaleComponent-Bmq-3m3v.js → ChangeLocaleComponent-DBoMb2NA.js} +8 -8
  18. package/chunk/{ChangeLocaleComponent-Bmq-3m3v.js.map → ChangeLocaleComponent-DBoMb2NA.js.map} +1 -1
  19. package/chunk/{ChangeLocaleComponent-BMuiuSyJ.js → ChangeLocaleComponent-Drpt_vzW.js} +8 -8
  20. package/chunk/{ChangeLocaleComponent-BMuiuSyJ.js.map → ChangeLocaleComponent-Drpt_vzW.js.map} +1 -1
  21. package/chunk/{City-CFAsI7Sk.js → City-IKHXV6fA.js} +5 -5
  22. package/chunk/{City-CFAsI7Sk.js.map → City-IKHXV6fA.js.map} +1 -1
  23. package/chunk/{City-SZ26Bigy.js → City-gBRdOIsP.js} +5 -5
  24. package/chunk/{City-SZ26Bigy.js.map → City-gBRdOIsP.js.map} +1 -1
  25. package/chunk/{CollegeNameComponent-CXQ4oYar.js → CollegeNameComponent-CQvKnECH.js} +8 -8
  26. package/chunk/{CollegeNameComponent-CXQ4oYar.js.map → CollegeNameComponent-CQvKnECH.js.map} +1 -1
  27. package/chunk/{CollegeNameComponent-BGNJ8dpo.js → CollegeNameComponent-DpMt-iEi.js} +8 -8
  28. package/chunk/{CollegeNameComponent-BGNJ8dpo.js.map → CollegeNameComponent-DpMt-iEi.js.map} +1 -1
  29. package/chunk/CopyToClipboardComponent-BN9qCovT.js +4 -4
  30. package/chunk/CopyToClipboardComponent-Dag4rxf8.js +4 -4
  31. package/chunk/{CountryComponentWrapper-Ck2iP9bh.js → CountryComponentWrapper-A-NCx760.js} +8 -8
  32. package/chunk/{CountryComponentWrapper-Ck2iP9bh.js.map → CountryComponentWrapper-A-NCx760.js.map} +1 -1
  33. package/chunk/{CountryComponentWrapper-BlVfixh4.js → CountryComponentWrapper-DHUcGCUF.js} +8 -8
  34. package/chunk/{CountryComponentWrapper-BlVfixh4.js.map → CountryComponentWrapper-DHUcGCUF.js.map} +1 -1
  35. package/chunk/{DischargeDateComponent-DzNKj6v5.js → DischargeDateComponent-CifKJfBT.js} +9 -9
  36. package/chunk/{DischargeDateComponent-DzNKj6v5.js.map → DischargeDateComponent-CifKJfBT.js.map} +1 -1
  37. package/chunk/{DischargeDateComponent-C8PJeyup.js → DischargeDateComponent-DAeyxPdd.js} +9 -9
  38. package/chunk/{DischargeDateComponent-C8PJeyup.js.map → DischargeDateComponent-DAeyxPdd.js.map} +1 -1
  39. package/chunk/{DriverLicenseNumberComponent-B383rPMu.js → DriverLicenseNumberComponent-4I1cN8DR.js} +5 -5
  40. package/chunk/{DriverLicenseNumberComponent-9PlXE0Yo.js.map → DriverLicenseNumberComponent-4I1cN8DR.js.map} +1 -1
  41. package/chunk/{DriverLicenseNumberComponent-9PlXE0Yo.js → DriverLicenseNumberComponent-ej0LVqRI.js} +5 -5
  42. package/chunk/{DriverLicenseNumberComponent-B383rPMu.js.map → DriverLicenseNumberComponent-ej0LVqRI.js.map} +1 -1
  43. package/chunk/{EmailLoopPending-pvrnAh2C.js → EmailLoopPending-DQ4KVVzP.js} +6 -6
  44. package/chunk/{EmailLoopPending-pvrnAh2C.js.map → EmailLoopPending-DQ4KVVzP.js.map} +1 -1
  45. package/chunk/{EmailLoopPending-29RXro2U.js → EmailLoopPending-DnPlbLqA.js} +6 -6
  46. package/chunk/{EmailLoopPending-29RXro2U.js.map → EmailLoopPending-DnPlbLqA.js.map} +1 -1
  47. package/chunk/{ExtraMessage-QVMqiZm3.js → ExtraMessage-CzchllLx.js} +5 -5
  48. package/chunk/{ExtraMessage-CBPYszyt.js.map → ExtraMessage-CzchllLx.js.map} +1 -1
  49. package/chunk/{ExtraMessage-CBPYszyt.js → ExtraMessage-v4rZ0l8r.js} +5 -5
  50. package/chunk/{ExtraMessage-QVMqiZm3.js.map → ExtraMessage-v4rZ0l8r.js.map} +1 -1
  51. package/chunk/{FirstResponderOrganizationComponent-CjhnnEGx.js → FirstResponderOrganizationComponent-DUn8PxZo.js} +8 -8
  52. package/chunk/{FirstResponderOrganizationComponent-CjhnnEGx.js.map → FirstResponderOrganizationComponent-DUn8PxZo.js.map} +1 -1
  53. package/chunk/{FirstResponderOrganizationComponent-DyWgLJrZ.js → FirstResponderOrganizationComponent-JsNBGiPH.js} +8 -8
  54. package/chunk/{FirstResponderOrganizationComponent-DyWgLJrZ.js.map → FirstResponderOrganizationComponent-JsNBGiPH.js.map} +1 -1
  55. package/chunk/{FormFieldInputSelect-TMLbT75m.js → FormFieldInputSelect-CtLIp6NY.js} +5 -5
  56. package/chunk/{FormFieldInputSelect-TMLbT75m.js.map → FormFieldInputSelect-CtLIp6NY.js.map} +1 -1
  57. package/chunk/{FormFieldInputSelect-bCj6cOF6.js → FormFieldInputSelect-DzfYVFe2.js} +5 -5
  58. package/chunk/{FormFieldInputSelect-bCj6cOF6.js.map → FormFieldInputSelect-DzfYVFe2.js.map} +1 -1
  59. package/chunk/FormFieldLayout-KJilu-sR.js +4 -4
  60. package/chunk/FormFieldLayout-UCIBwDRH.js +4 -4
  61. package/chunk/FormFieldText-B_2IOFED.js +4 -4
  62. package/chunk/FormFieldText-CkPmuIPf.js +4 -4
  63. package/chunk/{FormFieldTypeahead-D65hqbmm.js → FormFieldTypeahead-BQGJX1il.js} +8 -8
  64. package/chunk/{FormFieldTypeahead-D65hqbmm.js.map → FormFieldTypeahead-BQGJX1il.js.map} +1 -1
  65. package/chunk/{FormFieldTypeahead-pQn7b3qO.js → FormFieldTypeahead-BjsW2DUM.js} +8 -8
  66. package/chunk/{FormFieldTypeahead-pQn7b3qO.js.map → FormFieldTypeahead-BjsW2DUM.js.map} +1 -1
  67. package/chunk/{FormFooterComponent-AuOOdrTD.js → FormFooterComponent-B7fUP0wx.js} +8 -8
  68. package/chunk/{FormFooterComponent-AuOOdrTD.js.map → FormFooterComponent-B7fUP0wx.js.map} +1 -1
  69. package/chunk/{FormFooterComponent-DBtwjSTL.js → FormFooterComponent-BTfz7YAX.js} +8 -8
  70. package/chunk/{FormFooterComponent-DBtwjSTL.js.map → FormFooterComponent-BTfz7YAX.js.map} +1 -1
  71. package/chunk/{FormSelectChoice-DFY-ryks.js → FormSelectChoice-DGDSioEg.js} +6 -6
  72. package/chunk/{FormSelectChoice-DFY-ryks.js.map → FormSelectChoice-DGDSioEg.js.map} +1 -1
  73. package/chunk/{FormSelectChoice-6hD-rK1b.js → FormSelectChoice-DN3XV8go.js} +6 -6
  74. package/chunk/{FormSelectChoice-6hD-rK1b.js.map → FormSelectChoice-DN3XV8go.js.map} +1 -1
  75. package/chunk/InputText-Bvj815Th.js +4 -4
  76. package/chunk/InputText-C2qEtF0t.js +4 -4
  77. package/chunk/{LicensedProfessionalOrganizationComponent-z7QjAVXa.js → LicensedProfessionalOrganizationComponent-C43VAUdy.js} +8 -8
  78. package/chunk/{LicensedProfessionalOrganizationComponent-z7QjAVXa.js.map → LicensedProfessionalOrganizationComponent-C43VAUdy.js.map} +1 -1
  79. package/chunk/{LicensedProfessionalOrganizationComponent-BGQZWcaF.js → LicensedProfessionalOrganizationComponent-DEwASktt.js} +8 -8
  80. package/chunk/{LicensedProfessionalOrganizationComponent-BGQZWcaF.js.map → LicensedProfessionalOrganizationComponent-DEwASktt.js.map} +1 -1
  81. package/chunk/{LogoComponent-BSmQaKpz.js → LogoComponent-BoEYsksW.js} +5 -5
  82. package/chunk/{LogoComponent-BSmQaKpz.js.map → LogoComponent-BoEYsksW.js.map} +1 -1
  83. package/chunk/{LogoComponent-Bj0nuSsL.js → LogoComponent-C2diSRfu.js} +5 -5
  84. package/chunk/{LogoComponent-Bj0nuSsL.js.map → LogoComponent-C2diSRfu.js.map} +1 -1
  85. package/chunk/{LowIncomeOrganizationComponent-BqbzF7QP.js → LowIncomeOrganizationComponent-D9qAHj0m.js} +9 -9
  86. package/chunk/{LowIncomeOrganizationComponent-BqbzF7QP.js.map → LowIncomeOrganizationComponent-D9qAHj0m.js.map} +1 -1
  87. package/chunk/{LowIncomeOrganizationComponent-DfcG7yCt.js → LowIncomeOrganizationComponent-bijYf_Ae.js} +9 -9
  88. package/chunk/{LowIncomeOrganizationComponent-DfcG7yCt.js.map → LowIncomeOrganizationComponent-bijYf_Ae.js.map} +1 -1
  89. package/chunk/{MedicalProfessionalOrganizationComponent-6KnihjFH.js → MedicalProfessionalOrganizationComponent-CMDxCj_U.js} +8 -8
  90. package/chunk/{MedicalProfessionalOrganizationComponent-6KnihjFH.js.map → MedicalProfessionalOrganizationComponent-CMDxCj_U.js.map} +1 -1
  91. package/chunk/{MedicalProfessionalOrganizationComponent-BlHxJHTt.js → MedicalProfessionalOrganizationComponent-CsZ0PEb5.js} +8 -8
  92. package/chunk/{MedicalProfessionalOrganizationComponent-BlHxJHTt.js.map → MedicalProfessionalOrganizationComponent-CsZ0PEb5.js.map} +1 -1
  93. package/chunk/{MemberIdComponent-CxKnpzyG.js → MemberIdComponent-B9vrsE-q.js} +5 -5
  94. package/chunk/{MemberIdComponent--hy77hro.js.map → MemberIdComponent-B9vrsE-q.js.map} +1 -1
  95. package/chunk/{MemberIdComponent--hy77hro.js → MemberIdComponent-JTyvLPTU.js} +5 -5
  96. package/chunk/{MemberIdComponent-CxKnpzyG.js.map → MemberIdComponent-JTyvLPTU.js.map} +1 -1
  97. package/chunk/{MembershipOrganizationComponent-CiSCMO-v.js → MembershipOrganizationComponent-C5dWGUPp.js} +8 -8
  98. package/chunk/{MembershipOrganizationComponent-CiSCMO-v.js.map → MembershipOrganizationComponent-C5dWGUPp.js.map} +1 -1
  99. package/chunk/{MembershipOrganizationComponent-C2tLFp9O.js → MembershipOrganizationComponent-Dwnrko48.js} +8 -8
  100. package/chunk/{MembershipOrganizationComponent-C2tLFp9O.js.map → MembershipOrganizationComponent-Dwnrko48.js.map} +1 -1
  101. package/chunk/{Message-Dn888b-7.js → Message-CexO4eZq.js} +5 -5
  102. package/chunk/{Message-Dn888b-7.js.map → Message-CexO4eZq.js.map} +1 -1
  103. package/chunk/{Message-CftKT89p.js → Message-YS1p6ov3.js} +5 -5
  104. package/chunk/{Message-CftKT89p.js.map → Message-YS1p6ov3.js.map} +1 -1
  105. package/chunk/Onfido-CTCgAwnB.js +4 -4
  106. package/chunk/{PersonalInfoStepSubmitButton-CR8ta98F.js → PersonalInfoStepSubmitButton-Ds_-FUfA.js} +5 -5
  107. package/chunk/{PersonalInfoStepSubmitButton-CR8ta98F.js.map → PersonalInfoStepSubmitButton-Ds_-FUfA.js.map} +1 -1
  108. package/chunk/{PersonalInfoStepSubmitButton-CTdBFGeG.js → PersonalInfoStepSubmitButton-vpNt-1XI.js} +5 -5
  109. package/chunk/{PersonalInfoStepSubmitButton-CTdBFGeG.js.map → PersonalInfoStepSubmitButton-vpNt-1XI.js.map} +1 -1
  110. package/chunk/{PersonalInfoStepWrapper-DbqQudr4.js → PersonalInfoStepWrapper-CJzVOQ_x.js} +7 -7
  111. package/chunk/{PersonalInfoStepWrapper-DbqQudr4.js.map → PersonalInfoStepWrapper-CJzVOQ_x.js.map} +1 -1
  112. package/chunk/{PersonalInfoStepWrapper-CPDfbnD6.js → PersonalInfoStepWrapper-CyCuyImb.js} +6 -6
  113. package/chunk/{PersonalInfoStepWrapper-CPDfbnD6.js.map → PersonalInfoStepWrapper-CyCuyImb.js.map} +1 -1
  114. package/chunk/{PostalCodeComponent-tJKRpJv-.js → PostalCodeComponent-B25YSrIO.js} +5 -5
  115. package/chunk/{PostalCodeComponent-D-7iqpnt.js.map → PostalCodeComponent-B25YSrIO.js.map} +1 -1
  116. package/chunk/{PostalCodeComponent-D-7iqpnt.js → PostalCodeComponent-IMgjUHRf.js} +5 -5
  117. package/chunk/{PostalCodeComponent-tJKRpJv-.js.map → PostalCodeComponent-IMgjUHRf.js.map} +1 -1
  118. package/chunk/{SSN-BQppmw27.js → SSN-0xlUI5ik.js} +5 -5
  119. package/chunk/{SSN-BQppmw27.js.map → SSN-0xlUI5ik.js.map} +1 -1
  120. package/chunk/{SSN-B5YqbTT5.js → SSN-BjBIZSyh.js} +5 -5
  121. package/chunk/{SSN-B5YqbTT5.js.map → SSN-BjBIZSyh.js.map} +1 -1
  122. package/chunk/{StateSelectComponent-DpYIJuax.js → StateSelectComponent-aAvCOLUg.js} +6 -6
  123. package/chunk/{StateSelectComponent-DpYIJuax.js.map → StateSelectComponent-aAvCOLUg.js.map} +1 -1
  124. package/chunk/{StateSelectComponent-CWadMo4I.js → StateSelectComponent-uKT0CUkG.js} +6 -6
  125. package/chunk/{StateSelectComponent-CWadMo4I.js.map → StateSelectComponent-uKT0CUkG.js.map} +1 -1
  126. package/chunk/{StatusComponent-BBX4mkER.js → StatusComponent-CmqMjhRY.js} +6 -6
  127. package/chunk/{StatusComponent-BBX4mkER.js.map → StatusComponent-CmqMjhRY.js.map} +1 -1
  128. package/chunk/{StatusComponent-Ct5RQIkF.js → StatusComponent-DqlhdO7Q.js} +6 -6
  129. package/chunk/{StatusComponent-Ct5RQIkF.js.map → StatusComponent-DqlhdO7Q.js.map} +1 -1
  130. package/chunk/{StepAgePersonalInfo-D-tK0wBW.js → StepAgePersonalInfo-BMB7unTI.js} +17 -17
  131. package/chunk/{StepAgePersonalInfo-D-tK0wBW.js.map → StepAgePersonalInfo-BMB7unTI.js.map} +1 -1
  132. package/chunk/{StepAgePersonalInfo-1PdZQGtF.js → StepAgePersonalInfo-D0vIoD_n.js} +17 -17
  133. package/chunk/{StepAgePersonalInfo-1PdZQGtF.js.map → StepAgePersonalInfo-D0vIoD_n.js.map} +1 -1
  134. package/chunk/StepCard-BEucy3JJ.js +4 -4
  135. package/chunk/StepCard-Blp7ZcI-.js +4 -4
  136. package/chunk/{StepCollectIdentifier-itJ5kD--.js → StepCollectIdentifier-B_IWZFnm.js} +6 -6
  137. package/chunk/{StepCollectIdentifier-itJ5kD--.js.map → StepCollectIdentifier-B_IWZFnm.js.map} +1 -1
  138. package/chunk/{StepCollectIdentifier-DBzFener.js → StepCollectIdentifier-RF_12KR0.js} +6 -6
  139. package/chunk/{StepCollectIdentifier-DBzFener.js.map → StepCollectIdentifier-RF_12KR0.js.map} +1 -1
  140. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CJ6z6yOJ.js → StepCollectMilitaryPersonalInfoComponent-CTniITbD.js} +22 -22
  141. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CJ6z6yOJ.js.map → StepCollectMilitaryPersonalInfoComponent-CTniITbD.js.map} +1 -1
  142. package/chunk/{StepCollectMilitaryPersonalInfoComponent-D6XSgd_g.js → StepCollectMilitaryPersonalInfoComponent-D9Z8yHB3.js} +22 -22
  143. package/chunk/{StepCollectMilitaryPersonalInfoComponent-D6XSgd_g.js.map → StepCollectMilitaryPersonalInfoComponent-D9Z8yHB3.js.map} +1 -1
  144. package/chunk/{StepCollectPersonalInfo-D2aFS5zY.js → StepCollectPersonalInfo-Bmu7n4bc.js} +31 -31
  145. package/chunk/{StepCollectPersonalInfo-D2aFS5zY.js.map → StepCollectPersonalInfo-Bmu7n4bc.js.map} +1 -1
  146. package/chunk/{StepCollectPersonalInfo-CceFy_mY.js → StepCollectPersonalInfo-CYAL3QrN.js} +31 -31
  147. package/chunk/{StepCollectPersonalInfo-CceFy_mY.js.map → StepCollectPersonalInfo-CYAL3QrN.js.map} +1 -1
  148. package/chunk/StepCompleteAuthentication-B_0EZ3mH.js +4 -4
  149. package/chunk/StepCompleteAuthentication-Ds3ieihr.js +4 -4
  150. package/chunk/{StepConsolation-B5w29LmQ.js → StepConsolation-D12aSsuO.js} +6 -6
  151. package/chunk/{StepConsolation-B5w29LmQ.js.map → StepConsolation-D12aSsuO.js.map} +1 -1
  152. package/chunk/{StepConsolation-uujlfm7I.js → StepConsolation-mzf-Xvuk.js} +6 -6
  153. package/chunk/{StepConsolation-uujlfm7I.js.map → StepConsolation-mzf-Xvuk.js.map} +1 -1
  154. package/chunk/{StepDocUpload-CCakJpRJ.js → StepDocUpload-BZ1I9-VI.js} +8 -8
  155. package/chunk/{StepDocUpload-CCakJpRJ.js.map → StepDocUpload-BZ1I9-VI.js.map} +1 -1
  156. package/chunk/{StepDocUpload-BWHsVHYJ.js → StepDocUpload-_qGcWolC.js} +8 -8
  157. package/chunk/{StepDocUpload-BWHsVHYJ.js.map → StepDocUpload-_qGcWolC.js.map} +1 -1
  158. package/chunk/{StepDriverLicensePersonalInfoComponent-DBJI6e7M.js → StepDriverLicensePersonalInfoComponent-BRLFwKvG.js} +13 -13
  159. package/chunk/{StepDriverLicensePersonalInfoComponent-DBJI6e7M.js.map → StepDriverLicensePersonalInfoComponent-BRLFwKvG.js.map} +1 -1
  160. package/chunk/{StepDriverLicensePersonalInfoComponent-BsO8PaEy.js → StepDriverLicensePersonalInfoComponent-DTjd9EPj.js} +13 -13
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-BsO8PaEy.js.map → StepDriverLicensePersonalInfoComponent-DTjd9EPj.js.map} +1 -1
  162. package/chunk/{StepEmailLoop-CRuym7fa.js → StepEmailLoop-2ftuvoPd.js} +7 -7
  163. package/chunk/{StepEmailLoop-CRuym7fa.js.map → StepEmailLoop-2ftuvoPd.js.map} +1 -1
  164. package/chunk/{StepEmailLoop-C-1f3M13.js → StepEmailLoop-CqjFTe3c.js} +7 -7
  165. package/chunk/{StepEmailLoop-C-1f3M13.js.map → StepEmailLoop-CqjFTe3c.js.map} +1 -1
  166. package/chunk/{StepEmploymentPersonalInfo-CdJDYIwe.js → StepEmploymentPersonalInfo-B-iW-S7t.js} +18 -18
  167. package/chunk/{StepEmploymentPersonalInfo-CdJDYIwe.js.map → StepEmploymentPersonalInfo-B-iW-S7t.js.map} +1 -1
  168. package/chunk/{StepEmploymentPersonalInfo-CNMdyOJ_.js → StepEmploymentPersonalInfo-D7Dp0Cg4.js} +18 -18
  169. package/chunk/{StepEmploymentPersonalInfo-CNMdyOJ_.js.map → StepEmploymentPersonalInfo-D7Dp0Cg4.js.map} +1 -1
  170. package/chunk/{StepFirstResponderPersonalInfo-BqRzEbuo.js → StepFirstResponderPersonalInfo-CPSAt1KD.js} +19 -19
  171. package/chunk/{StepFirstResponderPersonalInfo-BqRzEbuo.js.map → StepFirstResponderPersonalInfo-CPSAt1KD.js.map} +1 -1
  172. package/chunk/{StepFirstResponderPersonalInfo-AXfXETg6.js → StepFirstResponderPersonalInfo-LhAbOSlA.js} +19 -19
  173. package/chunk/{StepFirstResponderPersonalInfo-AXfXETg6.js.map → StepFirstResponderPersonalInfo-LhAbOSlA.js.map} +1 -1
  174. package/chunk/{StepGeneralIdentityPersonalInfoComponent-C7tkvOBU.js → StepGeneralIdentityPersonalInfoComponent-CgtkLEB0.js} +16 -16
  175. package/chunk/{StepGeneralIdentityPersonalInfoComponent-C7tkvOBU.js.map → StepGeneralIdentityPersonalInfoComponent-CgtkLEB0.js.map} +1 -1
  176. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CUn2efgL.js → StepGeneralIdentityPersonalInfoComponent-t9Kkem2-.js} +16 -16
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CUn2efgL.js.map → StepGeneralIdentityPersonalInfoComponent-t9Kkem2-.js.map} +1 -1
  178. package/chunk/{StepHybridIdentityPersonalInfoComponent-B8SSBkHj.js → StepHybridIdentityPersonalInfoComponent-BUMAYXNM.js} +17 -17
  179. package/chunk/{StepHybridIdentityPersonalInfoComponent-B8SSBkHj.js.map → StepHybridIdentityPersonalInfoComponent-BUMAYXNM.js.map} +1 -1
  180. package/chunk/{StepHybridIdentityPersonalInfoComponent-DtLvoAhk.js → StepHybridIdentityPersonalInfoComponent-iHwo3WsG.js} +17 -17
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-DtLvoAhk.js.map → StepHybridIdentityPersonalInfoComponent-iHwo3WsG.js.map} +1 -1
  182. package/chunk/{StepIDCheckLoop-CVfnTFcW.js → StepIDCheckLoop-CHAvBy1v.js} +5 -5
  183. package/chunk/{StepIDCheckLoop-CVfnTFcW.js.map → StepIDCheckLoop-CHAvBy1v.js.map} +1 -1
  184. package/chunk/{StepIDCheckLoop-BuNNOIEe.js → StepIDCheckLoop-CLclpa5W.js} +5 -5
  185. package/chunk/{StepIDCheckLoop-BuNNOIEe.js.map → StepIDCheckLoop-CLclpa5W.js.map} +1 -1
  186. package/chunk/{StepIDCheckLoopOnfido-CTFc-TCg.js → StepIDCheckLoopOnfido-BvBFfhtv.js} +8 -8
  187. package/chunk/{StepIDCheckLoopOnfido-CTFc-TCg.js.map → StepIDCheckLoopOnfido-BvBFfhtv.js.map} +1 -1
  188. package/chunk/{StepIDCheckLoopOnfido-DTkwFKIA.js → StepIDCheckLoopOnfido-DSXpRkVG.js} +8 -8
  189. package/chunk/{StepIDCheckLoopOnfido-DTkwFKIA.js.map → StepIDCheckLoopOnfido-DSXpRkVG.js.map} +1 -1
  190. package/chunk/{StepIDCheckLoopRegula-jXzfuOeA.js → StepIDCheckLoopRegula-B1ScLVSh.js} +7 -7
  191. package/chunk/{StepIDCheckLoopRegula-jXzfuOeA.js.map → StepIDCheckLoopRegula-B1ScLVSh.js.map} +1 -1
  192. package/chunk/{StepIDCheckLoopRegula-rDapkJ6d.js → StepIDCheckLoopRegula-BX_r_E4L.js} +7 -7
  193. package/chunk/{StepIDCheckLoopRegula-rDapkJ6d.js.map → StepIDCheckLoopRegula-BX_r_E4L.js.map} +1 -1
  194. package/chunk/{StepLicensedProfessionalPersonalInfo-SbTP67r7.js → StepLicensedProfessionalPersonalInfo-D6e0aKcx.js} +19 -19
  195. package/chunk/{StepLicensedProfessionalPersonalInfo-SbTP67r7.js.map → StepLicensedProfessionalPersonalInfo-D6e0aKcx.js.map} +1 -1
  196. package/chunk/{StepLicensedProfessionalPersonalInfo-BrIV2PqV.js → StepLicensedProfessionalPersonalInfo-PDja7OV9.js} +19 -19
  197. package/chunk/{StepLicensedProfessionalPersonalInfo-BrIV2PqV.js.map → StepLicensedProfessionalPersonalInfo-PDja7OV9.js.map} +1 -1
  198. package/chunk/{StepLowIncomePersonalInfo-C5_F7QeG.js → StepLowIncomePersonalInfo-BDgG3QSv.js} +21 -21
  199. package/chunk/{StepLowIncomePersonalInfo-C5_F7QeG.js.map → StepLowIncomePersonalInfo-BDgG3QSv.js.map} +1 -1
  200. package/chunk/{StepLowIncomePersonalInfo-BMESrbPv.js → StepLowIncomePersonalInfo-D2qFMg0V.js} +21 -21
  201. package/chunk/{StepLowIncomePersonalInfo-BMESrbPv.js.map → StepLowIncomePersonalInfo-D2qFMg0V.js.map} +1 -1
  202. package/chunk/{StepMedicalProfessionalPersonalInfo--mcpwTM-.js → StepMedicalProfessionalPersonalInfo-1XPLI2W3.js} +20 -20
  203. package/chunk/{StepMedicalProfessionalPersonalInfo--mcpwTM-.js.map → StepMedicalProfessionalPersonalInfo-1XPLI2W3.js.map} +1 -1
  204. package/chunk/{StepMedicalProfessionalPersonalInfo-dLbOXQIJ.js → StepMedicalProfessionalPersonalInfo-BC0lr1WI.js} +20 -20
  205. package/chunk/{StepMedicalProfessionalPersonalInfo-dLbOXQIJ.js.map → StepMedicalProfessionalPersonalInfo-BC0lr1WI.js.map} +1 -1
  206. package/chunk/{StepMemberPersonalInfo-Bcbs11kI.js → StepMemberPersonalInfo-BFKv1wPh.js} +15 -15
  207. package/chunk/{StepMemberPersonalInfo-Bcbs11kI.js.map → StepMemberPersonalInfo-BFKv1wPh.js.map} +1 -1
  208. package/chunk/{StepMemberPersonalInfo-BKHMUtj2.js → StepMemberPersonalInfo-RyxtQuwt.js} +15 -15
  209. package/chunk/{StepMemberPersonalInfo-BKHMUtj2.js.map → StepMemberPersonalInfo-RyxtQuwt.js.map} +1 -1
  210. package/chunk/{StepMoverPersonalInfo-DHGhPTGD.js → StepMoverPersonalInfo-BX_5wilp.js} +13 -13
  211. package/chunk/{StepMoverPersonalInfo-DHGhPTGD.js.map → StepMoverPersonalInfo-BX_5wilp.js.map} +1 -1
  212. package/chunk/{StepMoverPersonalInfo-BKJIrW0I.js → StepMoverPersonalInfo-Cl4UiqSf.js} +13 -13
  213. package/chunk/{StepMoverPersonalInfo-BKJIrW0I.js.map → StepMoverPersonalInfo-Cl4UiqSf.js.map} +1 -1
  214. package/chunk/{StepOverrideComponent-7rPDbArF.js → StepOverrideComponent-CPCNavii.js} +7 -7
  215. package/chunk/{StepOverrideComponent-7rPDbArF.js.map → StepOverrideComponent-CPCNavii.js.map} +1 -1
  216. package/chunk/{StepOverrideComponent-BegU2Ypq.js → StepOverrideComponent-mD4Wijhb.js} +7 -7
  217. package/chunk/{StepOverrideComponent-BegU2Ypq.js.map → StepOverrideComponent-mD4Wijhb.js.map} +1 -1
  218. package/chunk/{StepSMSLoop-WMnyUemP.js → StepSMSLoop-DE9FVO3o.js} +5 -5
  219. package/chunk/{StepSMSLoop-WMnyUemP.js.map → StepSMSLoop-DE9FVO3o.js.map} +1 -1
  220. package/chunk/{StepSMSLoop-k6YbuoGy.js → StepSMSLoop-l4LDphcg.js} +5 -5
  221. package/chunk/{StepSMSLoop-k6YbuoGy.js.map → StepSMSLoop-l4LDphcg.js.map} +1 -1
  222. package/chunk/StepSSO-Bx1gQq5b.js +4 -4
  223. package/chunk/StepSSO-Cy9ViRyN.js +4 -4
  224. package/chunk/{StepSocialSecurityNumber-DwYQJFSw.js → StepSocialSecurityNumber-Bjru8M0j.js} +8 -8
  225. package/chunk/{StepSocialSecurityNumber-DwYQJFSw.js.map → StepSocialSecurityNumber-Bjru8M0j.js.map} +1 -1
  226. package/chunk/{StepSocialSecurityNumber-Djep-ZY1.js → StepSocialSecurityNumber-DPstxLu3.js} +8 -8
  227. package/chunk/{StepSocialSecurityNumber-Djep-ZY1.js.map → StepSocialSecurityNumber-DPstxLu3.js.map} +1 -1
  228. package/chunk/{StepStudentPersonalInfo-DbSj3RAG.js → StepStudentPersonalInfo-BIewd34q.js} +18 -18
  229. package/chunk/{StepStudentPersonalInfo-DbSj3RAG.js.map → StepStudentPersonalInfo-BIewd34q.js.map} +1 -1
  230. package/chunk/{StepStudentPersonalInfo-3JoFLWbf.js → StepStudentPersonalInfo-DRvZ3Vtb.js} +18 -18
  231. package/chunk/{StepStudentPersonalInfo-3JoFLWbf.js.map → StepStudentPersonalInfo-DRvZ3Vtb.js.map} +1 -1
  232. package/chunk/{StepSuccess-QubTi-Zr.js → StepSuccess-Dh1ycMJX.js} +6 -6
  233. package/chunk/{StepSuccess-QubTi-Zr.js.map → StepSuccess-Dh1ycMJX.js.map} +1 -1
  234. package/chunk/{StepSuccess-Detlzl_x.js → StepSuccess-XOl1mdFQ.js} +6 -6
  235. package/chunk/{StepSuccess-Detlzl_x.js.map → StepSuccess-XOl1mdFQ.js.map} +1 -1
  236. package/chunk/{StepTeacherPersonalInfo-CcCuMb2Q.js → StepTeacherPersonalInfo-B8foLmZZ.js} +16 -16
  237. package/chunk/{StepTeacherPersonalInfo-CcCuMb2Q.js.map → StepTeacherPersonalInfo-B8foLmZZ.js.map} +1 -1
  238. package/chunk/{StepTeacherPersonalInfo-DgbTjRnf.js → StepTeacherPersonalInfo-ip_pVe12.js} +16 -16
  239. package/chunk/{StepTeacherPersonalInfo-DgbTjRnf.js.map → StepTeacherPersonalInfo-ip_pVe12.js.map} +1 -1
  240. package/chunk/StepThirdPartyLoop-BFizJiyZ.js +4 -4
  241. package/chunk/StepThirdPartyLoop-C9d7QWS3.js +4 -4
  242. package/chunk/{TeacherSchoolComponent-B6wZwHb1.js → TeacherSchoolComponent-kPobTv7N.js} +8 -8
  243. package/chunk/{TeacherSchoolComponent-B6wZwHb1.js.map → TeacherSchoolComponent-kPobTv7N.js.map} +1 -1
  244. package/chunk/{TeacherSchoolComponent-DF0oyfLp.js → TeacherSchoolComponent-nB-dP00I.js} +8 -8
  245. package/chunk/{TeacherSchoolComponent-DF0oyfLp.js.map → TeacherSchoolComponent-nB-dP00I.js.map} +1 -1
  246. package/chunk/TestingRouteOverrides-DXjtFZZd.js +4 -4
  247. package/chunk/TestingRouteOverrides-fnlJLg1Z.js +4 -4
  248. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  249. package/chunk/ar-D5CO913q.js +4 -4
  250. package/chunk/bg-1mhA5kYF.js +4 -4
  251. package/chunk/bn-IN-CpDqyRb_.js +4 -4
  252. package/chunk/clsx-DC8twM4t.js +4 -4
  253. package/chunk/countryUtils-DqbdyVbZ.js +12 -0
  254. package/chunk/{countryUtils-CF4wYFAO.js.map → countryUtils-DqbdyVbZ.js.map} +1 -1
  255. package/chunk/{countryUtils-DVCfJNrG.js → countryUtils-R4Q_aquD.js} +5 -5
  256. package/chunk/{countryUtils-DVCfJNrG.js.map → countryUtils-R4Q_aquD.js.map} +1 -1
  257. package/chunk/cs-Chh7FAGt.js +4 -4
  258. package/chunk/da-DwrVoxto.js +4 -4
  259. package/chunk/de-IWGZLhgY.js +4 -4
  260. package/chunk/{downshift.esm-Dnlt_89v.js → downshift.esm-D2aHUCbq.js} +5 -5
  261. package/chunk/{downshift.esm-Dnlt_89v.js.map → downshift.esm-D2aHUCbq.js.map} +1 -1
  262. package/chunk/{downshift.esm-Dg8Q4WfY.js → downshift.esm-DQMomT6K.js} +5 -5
  263. package/chunk/{downshift.esm-Dg8Q4WfY.js.map → downshift.esm-DQMomT6K.js.map} +1 -1
  264. package/chunk/el-DbDcvSPJ.js +4 -4
  265. package/chunk/empties-BBKd53_B.js +4 -4
  266. package/chunk/empties-DcQjcgEV.js +4 -4
  267. package/chunk/en-GB-CNQ8Ww2j.js +4 -4
  268. package/chunk/es-ES-DWimqEZ_.js +4 -4
  269. package/chunk/es-qhC-seq5.js +4 -4
  270. package/chunk/et-yF9G-Mym.js +4 -4
  271. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  272. package/chunk/fa-BcdSf7og.js +4 -4
  273. package/chunk/fi-D-IP_KHm.js +4 -4
  274. package/chunk/fr-BmUuYxk0.js +4 -4
  275. package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
  276. package/chunk/ga-DuZycND3.js +4 -4
  277. package/chunk/getInstallType-BRxisNNY.js +4 -4
  278. package/chunk/getInstallType-DlS_DNKt.js +4 -4
  279. package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
  280. package/chunk/hooks-B7aeAwHn.js +4 -4
  281. package/chunk/hooks-D0X_qdc-.js +4 -4
  282. package/chunk/hr-BtqyDzDB.js +4 -4
  283. package/chunk/hu-C6syKJfb.js +4 -4
  284. package/chunk/i18next-iyVj5hRL.js +4 -4
  285. package/chunk/id-GgI-Z2a5.js +4 -4
  286. package/chunk/intl-BK4prEGw.js +4 -4
  287. package/chunk/is-CvmKEON9.js +4 -4
  288. package/chunk/it-CnmveGgC.js +4 -4
  289. package/chunk/iw-DFUYHkxF.js +4 -4
  290. package/chunk/ja-CjVb2tWW.js +4 -4
  291. package/chunk/jsx-runtime-BUMIo32n.js +4 -4
  292. package/chunk/jsx-runtime-DwmrsRqi.js +4 -4
  293. package/chunk/kk-Dvz4nK6K.js +4 -4
  294. package/chunk/ko-DzOqBMGC.js +4 -4
  295. package/chunk/lo-C2WPq55d.js +4 -4
  296. package/chunk/lt-BSDYvjTF.js +4 -4
  297. package/chunk/lv-CefDPT-M.js +4 -4
  298. package/chunk/mockProgramBranding-C9Ysu3Mp.js +4 -4
  299. package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
  300. package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
  301. package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
  302. package/chunk/mocks-DV23paUj.js +4 -4
  303. package/chunk/mocks-R-p7VtJz.js +4 -4
  304. package/chunk/ms-BjestZxy.js +4 -4
  305. package/chunk/nl-B1FyUfCT.js +4 -4
  306. package/chunk/nl-BE-CbeAd3nq.js +4 -4
  307. package/chunk/no-Dr633Ddi.js +4 -4
  308. package/chunk/pl-UYTjMIq_.js +4 -4
  309. package/chunk/{programThemeGetters-Ds4txnn8.js → programThemeGetters-0iwXNOx6.js} +5 -5
  310. package/chunk/{programThemeGetters-Ds4txnn8.js.map → programThemeGetters-0iwXNOx6.js.map} +1 -1
  311. package/chunk/{programThemeGetters-Dcff4Bu0.js → programThemeGetters-BEzpDnQy.js} +5 -5
  312. package/chunk/{programThemeGetters-Dcff4Bu0.js.map → programThemeGetters-BEzpDnQy.js.map} +1 -1
  313. package/chunk/pt-BR-C8SYMT-J.js +4 -4
  314. package/chunk/pt-uH-M3GdN.js +4 -4
  315. package/chunk/refs-Mq0rtW9K.js +4 -4
  316. package/chunk/ro-CAOSXZ7h.js +4 -4
  317. package/chunk/ru-iwYoEydL.js +4 -4
  318. package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
  319. package/chunk/sk-DYYNV3zw.js +4 -4
  320. package/chunk/sl-D_-eeM5N.js +4 -4
  321. package/chunk/sr-BTi9_anL.js +4 -4
  322. package/chunk/stepComponentHelpers-CyqXTDdj.js +4 -4
  323. package/chunk/stepComponentHelpers-Dztw-HNP.js +4 -4
  324. package/chunk/strings-DWLVdUcm.js +4 -4
  325. package/chunk/sv-DRwY4shG.js +4 -4
  326. package/chunk/sw-Bvj2mYmM.js +4 -4
  327. package/chunk/ta-CmtaYoNe.js +4 -4
  328. package/chunk/th-12r2yKkJ.js +4 -4
  329. package/chunk/tl-BGNfO7md.js +4 -4
  330. package/chunk/tr-DH2ZSJhs.js +4 -4
  331. package/chunk/uk-CELBZlTd.js +4 -4
  332. package/chunk/ur-MR8DTbmd.js +4 -4
  333. package/chunk/{useCollectFieldsEndpoint-CslbAox0.js → useCollectFieldsEndpoint-BbzTOhC3.js} +6 -6
  334. package/chunk/{useCollectFieldsEndpoint-CslbAox0.js.map → useCollectFieldsEndpoint-BbzTOhC3.js.map} +1 -1
  335. package/chunk/{useCollectFieldsEndpoint-Dye0dLpF.js → useCollectFieldsEndpoint-CKn8va6d.js} +6 -6
  336. package/chunk/{useCollectFieldsEndpoint-Dye0dLpF.js.map → useCollectFieldsEndpoint-CKn8va6d.js.map} +1 -1
  337. package/chunk/useMetrics-C13Ap129.js +4 -4
  338. package/chunk/useMetrics-O66_lNx5.js +4 -4
  339. package/chunk/vi-DtZ-SqD5.js +4 -4
  340. package/chunk/zh-DjyVyYac.js +4 -4
  341. package/chunk/zh-HK-CN1HarHq.js +4 -4
  342. package/chunk/zu-DPhgIh1z.js +4 -4
  343. package/package.json +1 -1
  344. package/sheerid-install.css +4 -4
  345. package/sheerid-install.js +4 -4
  346. package/sheerid.css +4 -4
  347. package/sheerid.js +37 -37
  348. package/chunk/countryUtils-CF4wYFAO.js +0 -12
@@ -1 +1 @@
1
- {"version":3,"file":"StatusComponent-BBX4mkER.js","names":["__toESM","FormattedHTMLMessage","require_react","require_jsx_runtime","useMessage","getFieldConfigByFieldId","FormFieldInputSelect","import_react","import_jsx_runtime","StatusComponent","inputId","segmentId","hasOnlyOneOption","options","isFieldHidden","onlyOption","selectedValue","value","onChange","status","option","placeholder","msg","isErrored","errorId"],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n explanation?: string | JSX.Element;\n}\n\nexport const StatusComponent = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n label = <FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />,\n explanation = undefined,\n}: StatusComponentProps) => {\n const { msg } = useMessage();\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n // Auto select a status if there is only one option. Available statuses can\n // change after initial render.\n // Uses values instead of arrays for stable identities.\n const onlyOption = hasOnlyOneOption ? options[0] : undefined;\n const selectedValue = value?.value;\n React.useEffect(() => {\n if (onlyOption && selectedValue !== onlyOption.value) {\n onChange(onlyOption);\n }\n }, [onlyOption?.value, selectedValue]);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={placeholder || msg({ id: \"statusPlaceholder\" })}\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={label}\n disabled={disabled}\n explanation={explanation}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n"],"mappings":";;;;;;A,4CAeaS,KAAmB,EAC9B,UACA,cACA,aAAU,iBACV,YACA,aACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,IACX,WAAQ,iBAAA,GAAAD,EAAA,IAAA,CAACP,GAAD;CAAsB,IAAG;CAAS,gBAAe;AAAU,CAAA,GACnE,iBAAc,KAAA,QACY;CAC1B,IAAM,EAAE,WAAQG,EAAW,GACrBM,IAAU,GAAGC,EAAU,UACvBC,IAAmBC,EAAQ,WAAW,GACtCC,IACJT,EAAwB,QAAQ,CAAC,EAAE,UAAUA,EAAwB,UAAU,CAAC,EAAE,QAK9EU,IAAaH,IAAmBC,EAAQ,KAAK,KAAA,GAC7CG,IAAgBC,GAAO;CAW7B,OAVAV,EAAM,gBAAgB;EACpB,AAAIQ,KAAcC,MAAkBD,EAAW,SAC7CG,EAASH,CAAU;CAEvB,GAAG,CAACA,GAAY,OAAOC,CAAa,CAAC,GAEjCJ,KAAoBE,IACf,OAIP,iBAAA,GAAAN,EAAA,IAAA,CAACF,GAAD;EACE,SAASI;EACA;EACT,WAAW,MAA6BQ,EAASC,CAAM;EAC5C;EACX,OAAON,EAAQ,MAAM,MAAWO,EAAO,WAAWH,KAASA,EAAM,MAAM;EACvE,aAAaI,KAAeC,EAAI,EAAE,IAAI,oBAAoB,CAAC;EAC3D,6BAA6B,CAAC,CAACD;EAC/B,YAAA;EACA,aAAa,OAAOX;EACb;EACG;EACG;EACb,cACEa,KACE,iBAAA,GAAAf,EAAA,IAAA,CAACP,GAAD;GACE,IAAI,WAAWuB;GACf,gBAAgB,WAAWb,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL"}
1
+ {"version":3,"file":"StatusComponent-CmqMjhRY.js","names":["__toESM","FormattedHTMLMessage","require_react","require_jsx_runtime","useMessage","getFieldConfigByFieldId","FormFieldInputSelect","import_react","import_jsx_runtime","StatusComponent","inputId","segmentId","hasOnlyOneOption","options","isFieldHidden","onlyOption","selectedValue","value","onChange","status","option","placeholder","msg","isErrored","errorId"],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n explanation?: string | JSX.Element;\n}\n\nexport const StatusComponent = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n label = <FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />,\n explanation = undefined,\n}: StatusComponentProps) => {\n const { msg } = useMessage();\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n // Auto select a status if there is only one option. Available statuses can\n // change after initial render.\n // Uses values instead of arrays for stable identities.\n const onlyOption = hasOnlyOneOption ? options[0] : undefined;\n const selectedValue = value?.value;\n React.useEffect(() => {\n if (onlyOption && selectedValue !== onlyOption.value) {\n onChange(onlyOption);\n }\n }, [onlyOption?.value, selectedValue]);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={placeholder || msg({ id: \"statusPlaceholder\" })}\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={label}\n disabled={disabled}\n explanation={explanation}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n"],"mappings":";;;;;;A,4CAeaS,KAAmB,EAC9B,UACA,cACA,aAAU,iBACV,YACA,aACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,IACX,WAAQ,iBAAA,GAAAD,EAAA,IAAA,CAACP,GAAD;CAAsB,IAAG;CAAS,gBAAe;AAAU,CAAA,GACnE,iBAAc,KAAA,QACY;CAC1B,IAAM,EAAE,WAAQG,EAAW,GACrBM,IAAU,GAAGC,EAAU,UACvBC,IAAmBC,EAAQ,WAAW,GACtCC,IACJT,EAAwB,QAAQ,CAAC,EAAE,UAAUA,EAAwB,UAAU,CAAC,EAAE,QAK9EU,IAAaH,IAAmBC,EAAQ,KAAK,KAAA,GAC7CG,IAAgBC,GAAO;CAW7B,OAVAV,EAAM,gBAAgB;EACpB,AAAIQ,KAAcC,MAAkBD,EAAW,SAC7CG,EAASH,CAAU;CAEvB,GAAG,CAACA,GAAY,OAAOC,CAAa,CAAC,GAEjCJ,KAAoBE,IACf,OAIP,iBAAA,GAAAN,EAAA,IAAA,CAACF,GAAD;EACE,SAASI;EACA;EACT,WAAW,MAA6BQ,EAASC,CAAM;EAC5C;EACX,OAAON,EAAQ,MAAM,MAAWO,EAAO,WAAWH,KAASA,EAAM,MAAM;EACvE,aAAaI,KAAeC,EAAI,EAAE,IAAI,oBAAoB,CAAC;EAC3D,6BAA6B,CAAC,CAACD;EAC/B,YAAA;EACA,aAAa,OAAOX;EACb;EACG;EACG;EACb,cACEa,KACE,iBAAA,GAAAf,EAAA,IAAA,CAACP,GAAD;GACE,IAAI,WAAWuB;GACf,gBAAgB,WAAWb,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL"}
@@ -1,15 +1,15 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.313.0
4
- * BUILD_TIMESTAMP: 1793730421508
5
- * BUILD_DATE: Tue Nov 03 2026 18:27:01 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
3
+ * VERSION: 2.315.0
4
+ * BUILD_TIMESTAMP: 1793755574220
5
+ * BUILD_DATE: Wed Nov 04 2026 01:26:14 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
7
7
  */
8
8
  import { At as e } from "./i18next-iyVj5hRL.js";
9
9
  import { n as t, s as n, t as r } from "./jsx-runtime-DwmrsRqi.js";
10
- import { n as i } from "./Message-Dn888b-7.js";
10
+ import { n as i } from "./Message-CexO4eZq.js";
11
11
  import { t as a } from "./stepComponentHelpers-CyqXTDdj.js";
12
- import { t as o } from "./FormFieldInputSelect-TMLbT75m.js";
12
+ import { t as o } from "./FormFieldInputSelect-CtLIp6NY.js";
13
13
  //#region src/components/FormFields/Status/StatusComponent.tsx
14
14
  var s = /* @__PURE__ */ e(n(), 1), c = r(), l = ({ value: e, isErrored: n, errorId: r = "invalidStatus", options: l, onChange: u, placeholder: d = "", onKeyDown: f = void 0, segmentId: p, disabled: m = !1, label: h = /* @__PURE__ */ (0, c.jsx)(t, {
15
15
  id: "status",
@@ -1 +1 @@
1
- {"version":3,"file":"StatusComponent-Ct5RQIkF.js","names":["__toESM","FormattedHTMLMessage","require_react","require_jsx_runtime","useMessage","getFieldConfigByFieldId","FormFieldInputSelect","import_react","import_jsx_runtime","StatusComponent","inputId","segmentId","hasOnlyOneOption","options","isFieldHidden","onlyOption","selectedValue","value","onChange","status","option","placeholder","msg","isErrored","errorId"],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n explanation?: string | JSX.Element;\n}\n\nexport const StatusComponent = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n label = <FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />,\n explanation = undefined,\n}: StatusComponentProps) => {\n const { msg } = useMessage();\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n // Auto select a status if there is only one option. Available statuses can\n // change after initial render.\n // Uses values instead of arrays for stable identities.\n const onlyOption = hasOnlyOneOption ? options[0] : undefined;\n const selectedValue = value?.value;\n React.useEffect(() => {\n if (onlyOption && selectedValue !== onlyOption.value) {\n onChange(onlyOption);\n }\n }, [onlyOption?.value, selectedValue]);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={placeholder || msg({ id: \"statusPlaceholder\" })}\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={label}\n disabled={disabled}\n explanation={explanation}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n"],"mappings":";;;;;;A,4CAeaS,KAAmB,EAC9B,UACA,cACA,aAAU,iBACV,YACA,aACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,IACX,WAAQ,iBAAA,GAAAD,EAAA,IAAA,CAACP,GAAD;CAAsB,IAAG;CAAS,gBAAe;AAAU,CAAA,GACnE,iBAAc,KAAA,QACY;CAC1B,IAAM,EAAE,WAAQG,EAAW,GACrBM,IAAU,GAAGC,EAAU,UACvBC,IAAmBC,EAAQ,WAAW,GACtCC,IACJT,EAAwB,QAAQ,CAAC,EAAE,UAAUA,EAAwB,UAAU,CAAC,EAAE,QAK9EU,IAAaH,IAAmBC,EAAQ,KAAK,KAAA,GAC7CG,IAAgBC,GAAO;CAW7B,OAVAV,EAAM,gBAAgB;EACpB,AAAIQ,KAAcC,MAAkBD,EAAW,SAC7CG,EAASH,CAAU;CAEvB,GAAG,CAACA,GAAY,OAAOC,CAAa,CAAC,GAEjCJ,KAAoBE,IACf,OAIP,iBAAA,GAAAN,EAAA,IAAA,CAACF,GAAD;EACE,SAASI;EACA;EACT,WAAW,MAA6BQ,EAASC,CAAM;EAC5C;EACX,OAAON,EAAQ,MAAM,MAAWO,EAAO,WAAWH,KAASA,EAAM,MAAM;EACvE,aAAaI,KAAeC,EAAI,EAAE,IAAI,oBAAoB,CAAC;EAC3D,6BAA6B,CAAC,CAACD;EAC/B,YAAA;EACA,aAAa,OAAOX;EACb;EACG;EACG;EACb,cACEa,KACE,iBAAA,GAAAf,EAAA,IAAA,CAACP,GAAD;GACE,IAAI,WAAWuB;GACf,gBAAgB,WAAWb,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL"}
1
+ {"version":3,"file":"StatusComponent-DqlhdO7Q.js","names":["__toESM","FormattedHTMLMessage","require_react","require_jsx_runtime","useMessage","getFieldConfigByFieldId","FormFieldInputSelect","import_react","import_jsx_runtime","StatusComponent","inputId","segmentId","hasOnlyOneOption","options","isFieldHidden","onlyOption","selectedValue","value","onChange","status","option","placeholder","msg","isErrored","errorId"],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n explanation?: string | JSX.Element;\n}\n\nexport const StatusComponent = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n label = <FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />,\n explanation = undefined,\n}: StatusComponentProps) => {\n const { msg } = useMessage();\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n // Auto select a status if there is only one option. Available statuses can\n // change after initial render.\n // Uses values instead of arrays for stable identities.\n const onlyOption = hasOnlyOneOption ? options[0] : undefined;\n const selectedValue = value?.value;\n React.useEffect(() => {\n if (onlyOption && selectedValue !== onlyOption.value) {\n onChange(onlyOption);\n }\n }, [onlyOption?.value, selectedValue]);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={placeholder || msg({ id: \"statusPlaceholder\" })}\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={label}\n disabled={disabled}\n explanation={explanation}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n"],"mappings":";;;;;;A,4CAeaS,KAAmB,EAC9B,UACA,cACA,aAAU,iBACV,YACA,aACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,IACX,WAAQ,iBAAA,GAAAD,EAAA,IAAA,CAACP,GAAD;CAAsB,IAAG;CAAS,gBAAe;AAAU,CAAA,GACnE,iBAAc,KAAA,QACY;CAC1B,IAAM,EAAE,WAAQG,EAAW,GACrBM,IAAU,GAAGC,EAAU,UACvBC,IAAmBC,EAAQ,WAAW,GACtCC,IACJT,EAAwB,QAAQ,CAAC,EAAE,UAAUA,EAAwB,UAAU,CAAC,EAAE,QAK9EU,IAAaH,IAAmBC,EAAQ,KAAK,KAAA,GAC7CG,IAAgBC,GAAO;CAW7B,OAVAV,EAAM,gBAAgB;EACpB,AAAIQ,KAAcC,MAAkBD,EAAW,SAC7CG,EAASH,CAAU;CAEvB,GAAG,CAACA,GAAY,OAAOC,CAAa,CAAC,GAEjCJ,KAAoBE,IACf,OAIP,iBAAA,GAAAN,EAAA,IAAA,CAACF,GAAD;EACE,SAASI;EACA;EACT,WAAW,MAA6BQ,EAASC,CAAM;EAC5C;EACX,OAAON,EAAQ,MAAM,MAAWO,EAAO,WAAWH,KAASA,EAAM,MAAM;EACvE,aAAaI,KAAeC,EAAI,EAAE,IAAI,oBAAoB,CAAC;EAC3D,6BAA6B,CAAC,CAACD;EAC/B,YAAA;EACA,aAAa,OAAOX;EACb;EACG;EACG;EACb,cACEa,KACE,iBAAA,GAAAf,EAAA,IAAA,CAACP,GAAD;GACE,IAAI,WAAWuB;GACf,gBAAgB,WAAWb,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL"}
@@ -1,28 +1,28 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.313.0
4
- * BUILD_TIMESTAMP: 1793730421508
5
- * BUILD_DATE: Tue Nov 03 2026 18:27:01 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
3
+ * VERSION: 2.315.0
4
+ * BUILD_TIMESTAMP: 1793755574220
5
+ * BUILD_DATE: Wed Nov 04 2026 01:26:14 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
7
7
  */
8
8
  import { At as e, ft as t, u as n } from "./i18next-iyVj5hRL.js";
9
9
  import { n as r, s as i, t as a } from "./jsx-runtime-DwmrsRqi.js";
10
- import { o } from "./programThemeGetters-Ds4txnn8.js";
10
+ import { o } from "./programThemeGetters-0iwXNOx6.js";
11
11
  import { b as s } from "./runtimeTypes-B2AGNJMT.js";
12
- import { S as c, h as l } from "./FormFooterComponent-DBtwjSTL.js";
12
+ import { S as c, h as l } from "./FormFooterComponent-BTfz7YAX.js";
13
13
  import { n as u } from "../sheerid.js";
14
- import { t as d } from "./useCollectFieldsEndpoint-Dye0dLpF.js";
14
+ import { t as d } from "./useCollectFieldsEndpoint-CKn8va6d.js";
15
15
  import { d as f, o as p, r as m, t as h } from "./stepComponentHelpers-CyqXTDdj.js";
16
- import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-Bay_IP0-.js";
17
- import { n as S, t as C } from "./PersonalInfoStepSubmitButton-CTdBFGeG.js";
18
- import { t as w } from "./BirthDateComponent-CRbZs5-I.js";
19
- import { t as T } from "./PostalCodeComponent-tJKRpJv-.js";
20
- import { t as E } from "./CountryComponentWrapper-BlVfixh4.js";
21
- import { t as D } from "./City-SZ26Bigy.js";
22
- import { t as O } from "./AddressComponent-BHiOCbUv.js";
23
- import { t as k } from "./ExtraMessage-CBPYszyt.js";
24
- import { t as A } from "./ChangeLocaleComponent-Bmq-3m3v.js";
25
- import { t as j } from "./PersonalInfoStepWrapper-CPDfbnD6.js";
16
+ import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-g9Ye-t7Z.js";
17
+ import { n as S, t as C } from "./PersonalInfoStepSubmitButton-vpNt-1XI.js";
18
+ import { t as w } from "./BirthDateComponent-i59ScGu6.js";
19
+ import { t as T } from "./PostalCodeComponent-B25YSrIO.js";
20
+ import { t as E } from "./CountryComponentWrapper-DHUcGCUF.js";
21
+ import { t as D } from "./City-gBRdOIsP.js";
22
+ import { t as O } from "./AddressComponent-uhBMgV3q.js";
23
+ import { t as k } from "./ExtraMessage-v4rZ0l8r.js";
24
+ import { t as A } from "./ChangeLocaleComponent-DBoMb2NA.js";
25
+ import { t as j } from "./PersonalInfoStepWrapper-CyCuyImb.js";
26
26
  //#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
27
27
  var M = /* @__PURE__ */ e(i(), 1), N = a(), P = ({ verificationService: e }) => {
28
28
  let i = o(), a = e.viewModel, { fieldValidationErrors: P } = e, F = e.verificationResponse, I = l(F), L = c(i), R = L.length > 0 ? L[0] : "US", z = t(() => a.countryChoice.value, R), B = z === "US" ? [{ key: "postalCode" }] : [], V = z !== "US" || i.isSmsNotifierConfigured || i.smsLoopEnabled, H = z !== "US" || i.smsLoopEnabled, U = a.localeChoice.value, W = n();
@@ -1 +1 @@
1
- {"version":3,"file":"StepAgePersonalInfo-D-tK0wBW.js","names":["FirstName","LastName","BirthDate","PostalCode","Email","PhoneNumber","MarketConsentWrapper","__toESM","getSafe","getOptions","FormattedHTMLMessage","require_react","require_jsx_runtime","VerificationStepsEnum","getConfiguredCountries","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","produceDraftViewModel","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","CityComponent","AddressComponent","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","import_react","import_jsx_runtime","StepAgePersonalInfoComponent","programConfiguration","useProgramConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","countryChoices","defaultCountryChoice","safeCountryValue","defaultRequiredFields","showPhoneNumber","phoneNumberRequired","locale","options","fieldValidationErrors","updateAgeViewModel","nextState","key","value","newValue","isFieldRequired","event"],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { getConfiguredCountries } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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\";\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\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepAgePersonalInfoComponent = ({\n verificationService,\n}: StepAgePersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\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 = getConfiguredCountries(programConfiguration);\n const defaultCountryChoice = countryChoices.length > 0 ? countryChoices[0] : \"US\";\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice);\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 programConfiguration.isSmsNotifierConfigured ||\n programConfiguration.smsLoopEnabled;\n const phoneNumberRequired = safeCountryValue !== \"US\" || programConfiguration.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 explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\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 <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\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"],"mappings":";;;;;;;;;;;;;;;;;;;A,4CA+CawC,KAAgC,EAC3C,6BACuC;CACvC,IAAMC,IAAuBC,EAAwB,GAC/CC,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IAAuBD,EAAoB,sBAC3CE,IAAqB/B,EAAsB8B,CAAoB,GAC/DE,IAAiBjC,EAAuB2B,CAAoB,GAC5DO,IAAuBD,EAAe,SAAS,IAAIA,EAAe,KAAK,MACvEE,IAAmBzC,QAAcmC,EAAU,cAAc,OAAOK,CAAoB,GACpFE,IACJD,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnDE,IACJF,MAAqB,QACrBR,EAAqB,2BACrBA,EAAqB,gBACjBW,IAAsBH,MAAqB,QAAQR,EAAqB,gBAExEY,IA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IACrB,WAAW,CAAC,CAAC4B,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAAhB,EAAA,IAAA,CAACV,GAAD;IACE,MAAMhB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA0B,EAAA,IAAA,CAAC7B,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepAgePersonalInfo-BMB7unTI.js","names":["FirstName","LastName","BirthDate","PostalCode","Email","PhoneNumber","MarketConsentWrapper","__toESM","getSafe","getOptions","FormattedHTMLMessage","require_react","require_jsx_runtime","VerificationStepsEnum","getConfiguredCountries","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","produceDraftViewModel","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","CityComponent","AddressComponent","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","import_react","import_jsx_runtime","StepAgePersonalInfoComponent","programConfiguration","useProgramConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","countryChoices","defaultCountryChoice","safeCountryValue","defaultRequiredFields","showPhoneNumber","phoneNumberRequired","locale","options","fieldValidationErrors","updateAgeViewModel","nextState","key","value","newValue","isFieldRequired","event"],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { getConfiguredCountries } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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\";\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\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepAgePersonalInfoComponent = ({\n verificationService,\n}: StepAgePersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\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 = getConfiguredCountries(programConfiguration);\n const defaultCountryChoice = countryChoices.length > 0 ? countryChoices[0] : \"US\";\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice);\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 programConfiguration.isSmsNotifierConfigured ||\n programConfiguration.smsLoopEnabled;\n const phoneNumberRequired = safeCountryValue !== \"US\" || programConfiguration.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 explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\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 <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\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"],"mappings":";;;;;;;;;;;;;;;;;;;A,4CA+CawC,KAAgC,EAC3C,6BACuC;CACvC,IAAMC,IAAuBC,EAAwB,GAC/CC,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IAAuBD,EAAoB,sBAC3CE,IAAqB/B,EAAsB8B,CAAoB,GAC/DE,IAAiBjC,EAAuB2B,CAAoB,GAC5DO,IAAuBD,EAAe,SAAS,IAAIA,EAAe,KAAK,MACvEE,IAAmBzC,QAAcmC,EAAU,cAAc,OAAOK,CAAoB,GACpFE,IACJD,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnDE,IACJF,MAAqB,QACrBR,EAAqB,2BACrBA,EAAqB,gBACjBW,IAAsBH,MAAqB,QAAQR,EAAqB,gBAExEY,IAASV,EAAU,aAAa,OAChCW,IAAU7C,EAAW;CAE3B,AACE,CAAC8C,EAAsB,eACvBV,EAAqB,YACrBA,EAAqB,SAAS,SAAS,oBAAoB,KAE3DD,EAAoB,4BAA4B;EAC9C,GAAGW;EACH,aAAa;CACf,CAAC;CAGH,IAAMC,KAAsB,GAAqC,MAAe;EAC9E,IAAMC,IAAsCtC,EAAsBwB,GAAWe,GAAKC,CAAK;EACvF,EAAoB,gBAAgBF,CAAS;CAC/C,GAEM,EAAE,uBAAoBxC,EAAyB;EACnD,gBAAgB4B,EAAqB;EACrC,aAAaA,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALAP,EAAM,gBAAgB;EAEpB,EAAqC,eAAeK,EAAU,aAAaC,CAAmB;CAChG,GAAG,CAACD,EAAU,OAAO,CAAC,GAGpB,iBAAA,GAAAJ,EAAA,KAAA,CAACF,GAAD;EACuB;EACrB,MAAMQ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qC,eAAe0C,GAAUhB,CAAmB;IACnF;IACA,qBAAqBD,EAAU,iBAAiBA,EAAU,cAAc;IACxE,UAAUtB,EAAwB,aAAa,CAAC,EAAE;GACnD,CAAA,IACC;GAEHiC,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAAf,EAAA,IAAA,CAACf,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAAe,EAAA,IAAA,CAACjC,GAAD;IACuB;IACrB,WAAW,CAAC,CAACiD,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAC,EAAmB,YAAY;MAC7B,GAAGZ,EAAoB,UAAU;MACjC,oBAAoBgB;KACtB,CAAC,GACD1C,EAAqC,sBAAsB0C,GAAUhB,CAAmB;IAC1F;IACW;IACX,UAAUvB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GAED,iBAAA,GAAAkB,EAAA,IAAA,CAACJ,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAI,EAAA,IAAA,CAACZ,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC4B,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAAhB,EAAA,IAAA,CAACV,GAAD;IACE,MAAMhB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA0B,EAAA,IAAA,CAAC7B,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -4,29 +4,29 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.313.0
8
- * BUILD_TIMESTAMP: 1793730429946
9
- * BUILD_DATE: Tue Nov 03 2026 18:27:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
7
+ * VERSION: 2.315.0
8
+ * BUILD_TIMESTAMP: 1793755578665
9
+ * BUILD_DATE: Wed Nov 04 2026 01:26:18 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
11
11
  */
12
12
  import { At as e, Et as t, s as n } from "./intl-BK4prEGw.js";
13
13
  import { b as r } from "./runtimeTypes-B2AGNJMT.js";
14
14
  import { n as i, s as a, t as o } from "./jsx-runtime-BUMIo32n.js";
15
- import { o as s } from "./programThemeGetters-Dcff4Bu0.js";
16
- import { m as c, y as l } from "./FormFooterComponent-AuOOdrTD.js";
15
+ import { o as s } from "./programThemeGetters-BEzpDnQy.js";
16
+ import { m as c, y as l } from "./FormFooterComponent-B7fUP0wx.js";
17
17
  import { t as u } from "../_mysheerid-preview.js";
18
- import { t as d } from "./useCollectFieldsEndpoint-CslbAox0.js";
18
+ import { t as d } from "./useCollectFieldsEndpoint-BbzTOhC3.js";
19
19
  import { d as f, o as p, r as m, t as h } from "./stepComponentHelpers-Dztw-HNP.js";
20
- import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-DpiYztJ5.js";
21
- import { n as S, t as C } from "./PersonalInfoStepSubmitButton-CR8ta98F.js";
22
- import { t as w } from "./BirthDateComponent-D5pVkYha.js";
23
- import { t as T } from "./PostalCodeComponent-D-7iqpnt.js";
24
- import { t as E } from "./CountryComponentWrapper-Ck2iP9bh.js";
25
- import { t as D } from "./City-CFAsI7Sk.js";
26
- import { t as O } from "./AddressComponent-xHLmwR7C.js";
27
- import { t as k } from "./ExtraMessage-QVMqiZm3.js";
28
- import { t as A } from "./ChangeLocaleComponent-BMuiuSyJ.js";
29
- import { t as j } from "./PersonalInfoStepWrapper-DbqQudr4.js";
20
+ import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-BD4yKfJR.js";
21
+ import { n as S, t as C } from "./PersonalInfoStepSubmitButton-Ds_-FUfA.js";
22
+ import { t as w } from "./BirthDateComponent-DEm62ubJ.js";
23
+ import { t as T } from "./PostalCodeComponent-IMgjUHRf.js";
24
+ import { t as E } from "./CountryComponentWrapper-A-NCx760.js";
25
+ import { t as D } from "./City-IKHXV6fA.js";
26
+ import { t as O } from "./AddressComponent-BUOibRxr.js";
27
+ import { t as k } from "./ExtraMessage-CzchllLx.js";
28
+ import { t as A } from "./ChangeLocaleComponent-Drpt_vzW.js";
29
+ import { t as j } from "./PersonalInfoStepWrapper-CJzVOQ_x.js";
30
30
  //#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
31
31
  var M = /* @__PURE__ */ e(a(), 1), N = o(), P = ({ verificationService: e }) => {
32
32
  let a = s(), o = e.viewModel, { fieldValidationErrors: P } = e, F = e.verificationResponse, I = c(F), L = l(a), R = L.length > 0 ? L[0] : "US", z = t(() => o.countryChoice.value, R), B = z === "US" ? [{ key: "postalCode" }] : [], V = z !== "US" || a.isSmsNotifierConfigured || a.smsLoopEnabled, H = z !== "US" || a.smsLoopEnabled, U = o.localeChoice.value, W = n();
@@ -1 +1 @@
1
- {"version":3,"file":"StepAgePersonalInfo-1PdZQGtF.js","names":["FirstName","LastName","BirthDate","PostalCode","Email","PhoneNumber","MarketConsentWrapper","__toESM","getSafe","getOptions","VerificationStepsEnum","FormattedHTMLMessage","require_react","require_jsx_runtime","useProgramConfiguration","hasFailedInstantMatch","getConfiguredCountries","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","produceDraftViewModel","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","CityComponent","AddressComponent","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","import_react","import_jsx_runtime","StepAgePersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","countryChoices","defaultCountryChoice","safeCountryValue","defaultRequiredFields","showPhoneNumber","phoneNumberRequired","locale","options","fieldValidationErrors","updateAgeViewModel","nextState","key","value","newValue","isFieldRequired","event"],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { getConfiguredCountries } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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\";\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\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepAgePersonalInfoComponent = ({\n verificationService,\n}: StepAgePersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\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 = getConfiguredCountries(programConfiguration);\n const defaultCountryChoice = countryChoices.length > 0 ? countryChoices[0] : \"US\";\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice);\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 programConfiguration.isSmsNotifierConfigured ||\n programConfiguration.smsLoopEnabled;\n const phoneNumberRequired = safeCountryValue !== \"US\" || programConfiguration.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 explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\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 <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\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"],"mappings":";;;;;;;;;;;;;;;;;;;A,4CA+CayC,KAAgC,EAC3C,6BACuC;CACvC,IAAMC,IAAuB5B,EAAwB,GAC/C6B,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IAAuBD,EAAoB,sBAC3CE,IAAqB/B,EAAsB8B,CAAoB,GAC/DE,IAAiB/B,EAAuB0B,CAAoB,GAC5DM,IAAuBD,EAAe,SAAS,IAAIA,EAAe,KAAK,MACvEE,IAAmBzC,QAAcmC,EAAU,cAAc,OAAOK,CAAoB,GACpFE,IACJD,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnDE,IACJF,MAAqB,QACrBP,EAAqB,2BACrBA,EAAqB,gBACjBU,IAAsBH,MAAqB,QAAQP,EAAqB,gBAExEW,IAASV,EAAU,aAAa,OAChCW,IAAU7C,EAAW;CAE3B,AACE,CAAC8C,EAAsB,eACvBV,EAAqB,YACrBA,EAAqB,SAAS,SAAS,oBAAoB,KAE3DD,EAAoB,4BAA4B;EAC9C,GAAGW;EACH,aAAa;CACf,CAAC;CAGH,IAAMC,KAAsB,GAAqC,MAAe;EAC9E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EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepAgePersonalInfo-D0vIoD_n.js","names":["FirstName","LastName","BirthDate","PostalCode","Email","PhoneNumber","MarketConsentWrapper","__toESM","getSafe","getOptions","VerificationStepsEnum","FormattedHTMLMessage","require_react","require_jsx_runtime","useProgramConfiguration","hasFailedInstantMatch","getConfiguredCountries","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","produceDraftViewModel","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","CityComponent","AddressComponent","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","import_react","import_jsx_runtime","StepAgePersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","countryChoices","defaultCountryChoice","safeCountryValue","defaultRequiredFields","showPhoneNumber","phoneNumberRequired","locale","options","fieldValidationErrors","updateAgeViewModel","nextState","key","value","newValue","isFieldRequired","event"],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { getConfiguredCountries } from \"@/lib/ProgramConfiguration/programConfigurationGetters\";\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\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\";\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\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepAgePersonalInfoComponent = ({\n verificationService,\n}: StepAgePersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\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 = getConfiguredCountries(programConfiguration);\n const defaultCountryChoice = countryChoices.length > 0 ? countryChoices[0] : \"US\";\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice);\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 programConfiguration.isSmsNotifierConfigured ||\n programConfiguration.smsLoopEnabled;\n const phoneNumberRequired = safeCountryValue !== \"US\" || programConfiguration.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 explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\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 <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\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"],"mappings":";;;;;;;;;;;;;;;;;;;A,4CA+CayC,KAAgC,EAC3C,6B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AA,CAC7E;GAED,iBAAA,GAAAe,EAAA,IAAA,CAAClC,GAAD;IACuB;IACrB,WAAW,CAAC,CAACiD,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAC,EAAmB,YAAY;MAC7B,GAAGZ,EAAoB,UAAU;MACjC,oBAAoBgB;KACtB,CAAC,GACDzC,EAAqC,sBAAsByC,GAAUhB,CAAmB;IAC1F;IACW;IACX,UAAUtB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GAED,iBAAA,GAAAkB,EAAA,IAAA,CAACJ,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAI,EAAA,IAAA,CAACZ,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC2B,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAAf,EAAA,IAAA,CAACV,GAAD;IACE,MAAMpB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA8B,EAAA,IAAA,CAAC7B,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.313.0
4
- * BUILD_TIMESTAMP: 1793730421508
5
- * BUILD_DATE: Tue Nov 03 2026 18:27:01 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
3
+ * VERSION: 2.315.0
4
+ * BUILD_TIMESTAMP: 1793755574220
5
+ * BUILD_DATE: Wed Nov 04 2026 01:26:14 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
7
7
  */
8
8
  import { t as e } from "./jsx-runtime-DwmrsRqi.js";
9
9
  //#region src/components/StepIDCheckLoop/StepCard/StepCard.tsx
@@ -4,10 +4,10 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.313.0
8
- * BUILD_TIMESTAMP: 1793730429946
9
- * BUILD_DATE: Tue Nov 03 2026 18:27:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
7
+ * VERSION: 2.315.0
8
+ * BUILD_TIMESTAMP: 1793755578665
9
+ * BUILD_DATE: Wed Nov 04 2026 01:26:18 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
11
11
  */
12
12
  import { t as e } from "./jsx-runtime-BUMIo32n.js";
13
13
  //#region src/components/StepIDCheckLoop/StepCard/StepCard.tsx
@@ -1,17 +1,17 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.313.0
4
- * BUILD_TIMESTAMP: 1793730421508
5
- * BUILD_DATE: Tue Nov 03 2026 18:27:01 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
3
+ * VERSION: 2.315.0
4
+ * BUILD_TIMESTAMP: 1793755574220
5
+ * BUILD_DATE: Wed Nov 04 2026 01:26:14 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
7
7
  */
8
8
  import { dt as e } from "./i18next-iyVj5hRL.js";
9
9
  import { n as t, t as n } from "./jsx-runtime-DwmrsRqi.js";
10
10
  import { b as r } from "./runtimeTypes-B2AGNJMT.js";
11
- import { h as i, t as a } from "./FormFooterComponent-DBtwjSTL.js";
11
+ import { h as i, t as a } from "./FormFooterComponent-BTfz7YAX.js";
12
12
  import { n as o } from "../sheerid.js";
13
13
  import { d as s, r as c } from "./stepComponentHelpers-CyqXTDdj.js";
14
- import { n as l, t as u } from "./PersonalInfoStepSubmitButton-CTdBFGeG.js";
14
+ import { n as l, t as u } from "./PersonalInfoStepSubmitButton-vpNt-1XI.js";
15
15
  //#region src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx
16
16
  var d = n(), f = ({ verificationService: n }) => {
17
17
  let f = n.viewModel, { fieldValidationErrors: p } = n, m = n.verificationResponse, h = i(m), g = (t, r) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepCollectIdentifier-itJ5kD--.js","names":["produce","Email","FormFooter","fn","FormattedHTMLMessage","require_jsx_runtime","VerificationStepsEnum","hasFailedInstantMatch","FormFooterComponent","PersonalInfoHeader","updateFieldValidationErrorsByFieldId","handleEmailOnKeyDown","EmailComponent","PersonalInfoStepSubmitButton","import_jsx_runtime","StepCollectIdentifierComponent","viewModel","verificationService","verificationResponse","failedInstantMatch","updateCollectIdentifierViewmodel","nextState","key","value","fieldValidationErrors","newValue","event"],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\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 </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;;;A,aAqFae,KA7DkB,EAAE,6BAAsD;CACrF,IAAMC,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IAAuBD,EAAoB,sBAC3CE,IAAqBZ,EAAsBW,CAAoB,GAE/DE,KAAoC,GAAuC,MAAe;EAC9F,IAAMC,IAAwCrB,EAC5CgB,IACC,MAAsC;GACrC,EAAOM,KAAeC;EACxB,CACF;EACA,EAAoB,gBAAgBF,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAAP,EAAA,KAAA,CAAC,OAAD;EACE,IAAG;EACH,WAAU;EAFZ,UAAA,CAIE,iBAAA,GAAAA,EAAA,KAAA,CAAC,OAAD;GAAK,MAAK;GAAV,UAAA;IACE,iBAAA,GAAAA,EAAA,IAAA,CAACL,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAAK,EAAA,IAAA,CAACb,GAAD;KACE,OAAOe,EAAU;KACjB,WAAW,CAAC,CAACQ,EAAsB;KACnC,aACE,iBAAA,GAAAV,EAAA,IAAA,CAACV,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADAgB,EAAiC,SAASK,CAAQ,GAClDf,EAAqC,SAASe,GAAUR,CAAmB;KAC7E;KACA,YAAY,MAAiDN,EAAqBe,CAAK;IACxF,CAAA;IAED,iBAAA,GAAAZ,EAAA,IAAA,CAACD,GAAD;KACE,MAAMP,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAAQ,EAAA,IAAA,CAACV,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;EACL,CAAA,GAAA,iBAAA,GAAAU,EAAA,IAAA,CAACZ,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
1
+ {"version":3,"file":"StepCollectIdentifier-B_IWZFnm.js","names":["produce","Email","FormFooter","fn","FormattedHTMLMessage","require_jsx_runtime","VerificationStepsEnum","hasFailedInstantMatch","FormFooterComponent","PersonalInfoHeader","updateFieldValidationErrorsByFieldId","handleEmailOnKeyDown","EmailComponent","PersonalInfoStepSubmitButton","import_jsx_runtime","StepCollectIdentifierComponent","viewModel","verificationService","verificationResponse","failedInstantMatch","updateCollectIdentifierViewmodel","nextState","key","value","fieldValidationErrors","newValue","event"],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\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 </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;;;A,aAqFae,KA7DkB,EAAE,6BAAsD;CACrF,IAAMC,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IAAuBD,EAAoB,sBAC3CE,IAAqBZ,EAAsBW,CAAoB,GAE/DE,KAAoC,GAAuC,MAAe;EAC9F,IAAMC,IAAwCrB,EAC5CgB,IACC,MAAsC;GACrC,EAAOM,KAAeC;EACxB,CACF;EACA,EAAoB,gBAAgBF,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAAP,EAAA,KAAA,CAAC,OAAD;EACE,IAAG;EACH,WAAU;EAFZ,UAAA,CAIE,iBAAA,GAAAA,EAAA,KAAA,CAAC,OAAD;GAAK,MAAK;GAAV,UAAA;IACE,iBAAA,GAAAA,EAAA,IAAA,CAACL,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAAK,EAAA,IAAA,CAACb,GAAD;KACE,OAAOe,EAAU;KACjB,WAAW,CAAC,CAACQ,EAAsB;KACnC,aACE,iBAAA,GAAAV,EAAA,IAAA,CAACV,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADAgB,EAAiC,SAASK,CAAQ,GAClDf,EAAqC,SAASe,GAAUR,CAAmB;KAC7E;KACA,YAAY,MAAiDN,EAAqBe,CAAK;IACxF,CAAA;IAED,iBAAA,GAAAZ,EAAA,IAAA,CAACD,GAAD;KACE,MAAMP,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAAQ,EAAA,IAAA,CAACV,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;EACL,CAAA,GAAA,iBAAA,GAAAU,EAAA,IAAA,CAACZ,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
@@ -4,18 +4,18 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.313.0
8
- * BUILD_TIMESTAMP: 1793730429946
9
- * BUILD_DATE: Tue Nov 03 2026 18:27:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
7
+ * VERSION: 2.315.0
8
+ * BUILD_TIMESTAMP: 1793755578665
9
+ * BUILD_DATE: Wed Nov 04 2026 01:26:18 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
11
11
  */
12
12
  import { p as e } from "./intl-BK4prEGw.js";
13
13
  import { b as t } from "./runtimeTypes-B2AGNJMT.js";
14
14
  import { n, t as r } from "./jsx-runtime-BUMIo32n.js";
15
- import { m as i, t as a } from "./FormFooterComponent-AuOOdrTD.js";
15
+ import { m as i, t as a } from "./FormFooterComponent-B7fUP0wx.js";
16
16
  import { t as o } from "../_mysheerid-preview.js";
17
17
  import { d as s, r as c } from "./stepComponentHelpers-Dztw-HNP.js";
18
- import { n as l, t as u } from "./PersonalInfoStepSubmitButton-CR8ta98F.js";
18
+ import { n as l, t as u } from "./PersonalInfoStepSubmitButton-Ds_-FUfA.js";
19
19
  //#region src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx
20
20
  var d = r(), f = ({ verificationService: r }) => {
21
21
  let f = r.viewModel, { fieldValidationErrors: p } = r, m = r.verificationResponse, h = i(m), g = (t, n) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepCollectIdentifier-DBzFener.js","names":["produce","Email","FormFooter","fn","VerificationStepsEnum","require_jsx_runtime","hasFailedInstantMatch","FormFooterComponent","PersonalInfoHeader","updateFieldValidationErrorsByFieldId","handleEmailOnKeyDown","EmailComponent","PersonalInfoStepSubmitButton","import_jsx_runtime","StepCollectIdentifierComponent","viewModel","verificationService","verificationResponse","failedInstantMatch","updateCollectIdentifierViewmodel","nextState","key","value","fieldValidationErrors","FormattedHTMLMessage","newValue","event"],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\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 </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;;;A,aAqFac,KA7DkB,EAAE,6BAAsD;CACrF,IAAMC,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IAAuBD,EAAoB,sBAC3CE,IAAqBZ,EAAsBW,CAAoB,GAE/DE,KAAoC,GAAuC,MAAe;EAC9F,IAAMC,IAAwCpB,EAC5Ce,IACC,MAAsC;GACrC,EAAOM,KAAeC;EACxB,CACF;EACA,EAAoB,gBAAgBF,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAAP,EAAA,KAAA,CAAC,OAAD;EACE,IAAG;EACH,WAAU;EAFZ,UAAA,CAIE,iBAAA,GAAAA,EAAA,KAAA,CAAC,OAAD;GAAK,MAAK;GAAV,UAAA;IACE,iBAAA,GAAAA,EAAA,IAAA,CAACL,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAAK,EAAA,IAAA,CAACZ,GAAD;KACE,OAAOc,EAAU;KACjB,WAAW,CAAC,CAACQ,EAAsB;KACnC,aACE,iBAAA,GAAAV,EAAA,IAAA,CAACW,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADAL,EAAiC,SAASM,CAAQ,GAClDhB,EAAqC,SAASgB,GAAUT,CAAmB;KAC7E;KACA,YAAY,MAAiDN,EAAqBgB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAAb,EAAA,IAAA,CAACD,GAAD;KACE,MAAMR,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAAS,EAAA,IAAA,CAACW,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;EACL,CAAA,GAAA,iBAAA,GAAAX,EAAA,IAAA,CAACX,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
1
+ {"version":3,"file":"StepCollectIdentifier-RF_12KR0.js","names":["produce","Email","FormFooter","fn","VerificationStepsEnum","require_jsx_runtime","hasFailedInstantMatch","FormFooterComponent","PersonalInfoHeader","updateFieldValidationErrorsByFieldId","handleEmailOnKeyDown","EmailComponent","PersonalInfoStepSubmitButton","import_jsx_runtime","StepCollectIdentifierComponent","viewModel","verificationService","verificationResponse","failedInstantMatch","updateCollectIdentifierViewmodel","nextState","key","value","fieldValidationErrors","FormattedHTMLMessage","newValue","event"],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\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 </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;;;A,aAqFac,KA7DkB,EAAE,6BAAsD;CACrF,IAAMC,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IAAuBD,EAAoB,sBAC3CE,IAAqBZ,EAAsBW,CAAoB,GAE/DE,KAAoC,GAAuC,MAAe;EAC9F,IAAMC,IAAwCpB,EAC5Ce,IACC,MAAsC;GACrC,EAAOM,KAAeC;EACxB,CACF;EACA,EAAoB,gBAAgBF,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAAP,EAAA,KAAA,CAAC,OAAD;EACE,IAAG;EACH,WAAU;EAFZ,UAAA,CAIE,iBAAA,GAAAA,EAAA,KAAA,CAAC,OAAD;GAAK,MAAK;GAAV,UAAA;IACE,iBAAA,GAAAA,EAAA,IAAA,CAACL,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAAK,EAAA,IAAA,CAACZ,GAAD;KACE,OAAOc,EAAU;KACjB,WAAW,CAAC,CAACQ,EAAsB;KACnC,aACE,iBAAA,GAAAV,EAAA,IAAA,CAACW,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADAL,EAAiC,SAASM,CAAQ,GAClDhB,EAAqC,SAASgB,GAAUT,CAAmB;KAC7E;KACA,YAAY,MAAiDN,EAAqBgB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAAb,EAAA,IAAA,CAACD,GAAD;KACE,MAAMR,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAAS,EAAA,IAAA,CAACW,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;EACL,CAAA,GAAA,iBAAA,GAAAX,EAAA,IAAA,CAACX,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
@@ -1,34 +1,34 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.313.0
4
- * BUILD_TIMESTAMP: 1793730421508
5
- * BUILD_DATE: Tue Nov 03 2026 18:27:01 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 68b00c11ee3e150081caff4f99f9dec6ca549588
3
+ * VERSION: 2.315.0
4
+ * BUILD_TIMESTAMP: 1793755574220
5
+ * BUILD_DATE: Wed Nov 04 2026 01:26:14 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
7
7
  */
8
8
  import { dt as e, u as t } from "./i18next-iyVj5hRL.js";
9
9
  import { n, t as r } from "./jsx-runtime-DwmrsRqi.js";
10
- import { o as i } from "./programThemeGetters-Ds4txnn8.js";
10
+ import { o as i } from "./programThemeGetters-0iwXNOx6.js";
11
11
  import { b as a } from "./runtimeTypes-B2AGNJMT.js";
12
- import { h as o } from "./FormFooterComponent-DBtwjSTL.js";
12
+ import { h as o } from "./FormFooterComponent-BTfz7YAX.js";
13
13
  import { a as s } from "./refs-Mq0rtW9K.js";
14
14
  import { n as c } from "../sheerid.js";
15
- import { t as l } from "./useCollectFieldsEndpoint-Dye0dLpF.js";
15
+ import { t as l } from "./useCollectFieldsEndpoint-CKn8va6d.js";
16
16
  import { d as u, f as d, r as f, t as p } from "./stepComponentHelpers-CyqXTDdj.js";
17
- import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-Bay_IP0-.js";
18
- import { n as b, t as x } from "./PersonalInfoStepSubmitButton-CTdBFGeG.js";
19
- import { i as S } from "./FormSelectChoice-DFY-ryks.js";
20
- import { t as C } from "./BirthDateComponent-CRbZs5-I.js";
21
- import { t as w } from "./PostalCodeComponent-tJKRpJv-.js";
22
- import { t as T } from "./CountryComponentWrapper-BlVfixh4.js";
23
- import { t as E } from "./City-SZ26Bigy.js";
24
- import { t as D } from "./AddressComponent-BHiOCbUv.js";
25
- import { t as O } from "./ExtraMessage-CBPYszyt.js";
26
- import { t as k } from "./ChangeLocaleComponent-Bmq-3m3v.js";
27
- import { t as A } from "./PersonalInfoStepWrapper-CPDfbnD6.js";
28
- import { t as j } from "./countryUtils-CF4wYFAO.js";
29
- import { t as M } from "./StateSelectComponent-CWadMo4I.js";
30
- import { n as N, r as P, t as F } from "./DischargeDateComponent-C8PJeyup.js";
31
- import { t as I } from "./StatusComponent-Ct5RQIkF.js";
17
+ import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-g9Ye-t7Z.js";
18
+ import { n as b, t as x } from "./PersonalInfoStepSubmitButton-vpNt-1XI.js";
19
+ import { i as S } from "./FormSelectChoice-DGDSioEg.js";
20
+ import { t as C } from "./BirthDateComponent-i59ScGu6.js";
21
+ import { t as w } from "./PostalCodeComponent-B25YSrIO.js";
22
+ import { t as T } from "./CountryComponentWrapper-DHUcGCUF.js";
23
+ import { t as E } from "./City-gBRdOIsP.js";
24
+ import { t as D } from "./AddressComponent-uhBMgV3q.js";
25
+ import { t as O } from "./ExtraMessage-v4rZ0l8r.js";
26
+ import { t as k } from "./ChangeLocaleComponent-DBoMb2NA.js";
27
+ import { t as A } from "./PersonalInfoStepWrapper-CyCuyImb.js";
28
+ import { t as j } from "./countryUtils-DqbdyVbZ.js";
29
+ import { t as M } from "./StateSelectComponent-uKT0CUkG.js";
30
+ import { n as N, r as P, t as F } from "./DischargeDateComponent-DAeyxPdd.js";
31
+ import { t as I } from "./StatusComponent-DqlhdO7Q.js";
32
32
  //#region src/components/StepMilitaryPersonalInfo/militaryStepHelpers.ts
33
33
  var L = (t, n, r, i) => {
34
34
  let a = r.viewModel;