@sheerid/jslib 2.249.0 → 2.250.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 (361) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +893 -894
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-BlFms8RU.js → AddressComponent-CmVyKqXc.js} +10 -10
  5. package/chunk/{AddressComponent-BlFms8RU.js.map → AddressComponent-CmVyKqXc.js.map} +1 -1
  6. package/chunk/{AddressComponent-DnFQfTYR.js → AddressComponent-ZIF4nAg6.js} +10 -10
  7. package/chunk/{AddressComponent-DnFQfTYR.js.map → AddressComponent-ZIF4nAg6.js.map} +1 -1
  8. package/chunk/BirthDateComponent-CMfd5EBF.js +35 -0
  9. package/chunk/{BirthDateComponent-DBoGs0xO.js.map → BirthDateComponent-CMfd5EBF.js.map} +1 -1
  10. package/chunk/{BirthDateComponent-Dl0XGTEU.js → BirthDateComponent-qIJ6VyBN.js} +10 -6
  11. package/chunk/{BirthDateComponent-Dl0XGTEU.js.map → BirthDateComponent-qIJ6VyBN.js.map} +1 -1
  12. package/chunk/{CaptchaComponent-CpD7kabQ.js → CaptchaComponent-D9qU6ygz.js} +389 -351
  13. package/chunk/CaptchaComponent-D9qU6ygz.js.map +1 -0
  14. package/chunk/{CaptchaComponent-CX3VgnkO.js → CaptchaComponent-DtcFKhJ1.js} +416 -386
  15. package/chunk/CaptchaComponent-DtcFKhJ1.js.map +1 -0
  16. package/chunk/{ChangeLocaleComponent-CwUU2jUS.js → ChangeLocaleComponent-C506fsyP.js} +15 -15
  17. package/chunk/{ChangeLocaleComponent-CwUU2jUS.js.map → ChangeLocaleComponent-C506fsyP.js.map} +1 -1
  18. package/chunk/{ChangeLocaleComponent-Db5V1sYM.js → ChangeLocaleComponent-D56onLa2.js} +12 -12
  19. package/chunk/{ChangeLocaleComponent-Db5V1sYM.js.map → ChangeLocaleComponent-D56onLa2.js.map} +1 -1
  20. package/chunk/{City-Dkthk9oJ.js → City-Ci2TwR7A.js} +10 -10
  21. package/chunk/{City-COH8oAI6.js.map → City-Ci2TwR7A.js.map} +1 -1
  22. package/chunk/{City-COH8oAI6.js → City-DcsZCOpS.js} +10 -10
  23. package/chunk/{City-Dkthk9oJ.js.map → City-DcsZCOpS.js.map} +1 -1
  24. package/chunk/{CollegeNameComponent-CcQ9X9_B.js → CollegeNameComponent-BgqXaJxu.js} +12 -12
  25. package/chunk/{CollegeNameComponent-C-dy7DMD.js.map → CollegeNameComponent-BgqXaJxu.js.map} +1 -1
  26. package/chunk/{CollegeNameComponent-C-dy7DMD.js → CollegeNameComponent-CIzSgol6.js} +13 -13
  27. package/chunk/{CollegeNameComponent-CcQ9X9_B.js.map → CollegeNameComponent-CIzSgol6.js.map} +1 -1
  28. package/chunk/{CopyToClipboardComponent-DIjRs4qZ.js → CopyToClipboardComponent-BESIJEWv.js} +5 -5
  29. package/chunk/{CopyToClipboardComponent-DIjRs4qZ.js.map → CopyToClipboardComponent-BESIJEWv.js.map} +1 -1
  30. package/chunk/CopyToClipboardComponent-BkiBQWbH.js +4 -4
  31. package/chunk/CountryComponentWrapper-CASuw2te.js +70 -0
  32. package/chunk/{CountryComponentWrapper-BKmiop9j.js.map → CountryComponentWrapper-CASuw2te.js.map} +1 -1
  33. package/chunk/CountryComponentWrapper-hbHOWlgu.js +74 -0
  34. package/chunk/{CountryComponentWrapper-cR2hBUDi.js.map → CountryComponentWrapper-hbHOWlgu.js.map} +1 -1
  35. package/chunk/{DischargeDateComponent-CRwKMsjW.js → DischargeDateComponent-C6MdcBJl.js} +31 -35
  36. package/chunk/{DischargeDateComponent-CRwKMsjW.js.map → DischargeDateComponent-C6MdcBJl.js.map} +1 -1
  37. package/chunk/{DischargeDateComponent-DSOfwpfI.js → DischargeDateComponent-GAHaUq3j.js} +34 -30
  38. package/chunk/{DischargeDateComponent-DSOfwpfI.js.map → DischargeDateComponent-GAHaUq3j.js.map} +1 -1
  39. package/chunk/{DriverLicenseNumberComponent-akwgy_SO.js → DriverLicenseNumberComponent-Bcrs2J8F.js} +11 -11
  40. package/chunk/{DriverLicenseNumberComponent-BH6bl91g.js.map → DriverLicenseNumberComponent-Bcrs2J8F.js.map} +1 -1
  41. package/chunk/{DriverLicenseNumberComponent-BH6bl91g.js → DriverLicenseNumberComponent-DRqO_tKm.js} +11 -11
  42. package/chunk/{DriverLicenseNumberComponent-akwgy_SO.js.map → DriverLicenseNumberComponent-DRqO_tKm.js.map} +1 -1
  43. package/chunk/{EmailLoopPending-BchQNg80.js → EmailLoopPending-C2nD34JV.js} +29 -29
  44. package/chunk/{EmailLoopPending-BchQNg80.js.map → EmailLoopPending-C2nD34JV.js.map} +1 -1
  45. package/chunk/{EmailLoopPending-D7XGFrxz.js → EmailLoopPending-tGJf2KO-.js} +21 -21
  46. package/chunk/{EmailLoopPending-D7XGFrxz.js.map → EmailLoopPending-tGJf2KO-.js.map} +1 -1
  47. package/chunk/{ExtraMessage-BNODbSi-.js → ExtraMessage-BF7WCgKF.js} +5 -5
  48. package/chunk/{ExtraMessage-BNODbSi-.js.map → ExtraMessage-BF7WCgKF.js.map} +1 -1
  49. package/chunk/ExtraMessage-BKREmfl_.js +18 -0
  50. package/chunk/{ExtraMessage-D78-mbs6.js.map → ExtraMessage-BKREmfl_.js.map} +1 -1
  51. package/chunk/{FirstResponderOrganizationComponent-BEvHXfgc.js → FirstResponderOrganizationComponent-CDUd_3wQ.js} +11 -11
  52. package/chunk/{FirstResponderOrganizationComponent-BEvHXfgc.js.map → FirstResponderOrganizationComponent-CDUd_3wQ.js.map} +1 -1
  53. package/chunk/{FirstResponderOrganizationComponent-BLNdDDOa.js → FirstResponderOrganizationComponent-DjVlz-RC.js} +10 -10
  54. package/chunk/{FirstResponderOrganizationComponent-BLNdDDOa.js.map → FirstResponderOrganizationComponent-DjVlz-RC.js.map} +1 -1
  55. package/chunk/{FormFieldInputSelect-B8lVVG8B.js → FormFieldInputSelect-B9m2vcvX.js} +7 -7
  56. package/chunk/{FormFieldInputSelect-B8lVVG8B.js.map → FormFieldInputSelect-B9m2vcvX.js.map} +1 -1
  57. package/chunk/{FormFieldInputSelect-C8O7C4IK.js → FormFieldInputSelect-d_7zlfAb.js} +7 -7
  58. package/chunk/{FormFieldInputSelect-C8O7C4IK.js.map → FormFieldInputSelect-d_7zlfAb.js.map} +1 -1
  59. package/chunk/{FormFieldLayout-ZhDGr6rb.js → FormFieldLayout-26v_1nBx.js} +5 -5
  60. package/chunk/{FormFieldLayout-yzfzLAfZ.js.map → FormFieldLayout-26v_1nBx.js.map} +1 -1
  61. package/chunk/{FormFieldLayout-yzfzLAfZ.js → FormFieldLayout-DJMFhEbe.js} +13 -13
  62. package/chunk/{FormFieldLayout-ZhDGr6rb.js.map → FormFieldLayout-DJMFhEbe.js.map} +1 -1
  63. package/chunk/{FormFieldText-B9EYGm5E.js → FormFieldText-BMCOvY3k.js} +6 -6
  64. package/chunk/{FormFieldText-B9EYGm5E.js.map → FormFieldText-BMCOvY3k.js.map} +1 -1
  65. package/chunk/{FormFieldText-DIAcRrkr.js → FormFieldText-CK9dvuS4.js} +7 -7
  66. package/chunk/{FormFieldText-DIAcRrkr.js.map → FormFieldText-CK9dvuS4.js.map} +1 -1
  67. package/chunk/{FormFieldTypeahead-Y91SkMJD.js → FormFieldTypeahead-ir8rYkOD.js} +435 -439
  68. package/chunk/{FormFieldTypeahead-BhoK1wVB.js.map → FormFieldTypeahead-ir8rYkOD.js.map} +1 -1
  69. package/chunk/{FormFieldTypeahead-BhoK1wVB.js → FormFieldTypeahead-pZggFuzg.js} +280 -276
  70. package/chunk/{FormFieldTypeahead-Y91SkMJD.js.map → FormFieldTypeahead-pZggFuzg.js.map} +1 -1
  71. package/chunk/{FormSelectChoice-BLQgJEYO.js → FormSelectChoice-A_dweQ9k.js} +20 -20
  72. package/chunk/{FormSelectChoice-BLQgJEYO.js.map → FormSelectChoice-A_dweQ9k.js.map} +1 -1
  73. package/chunk/{FormSelectChoice-u5sO_GqU.js → FormSelectChoice-C0ZvRRU4.js} +11 -11
  74. package/chunk/{FormSelectChoice-u5sO_GqU.js.map → FormSelectChoice-C0ZvRRU4.js.map} +1 -1
  75. package/chunk/{InputText-Cc-nHAaa.js → InputText-CMlYmMPL.js} +5 -5
  76. package/chunk/{InputText-Cc-nHAaa.js.map → InputText-CMlYmMPL.js.map} +1 -1
  77. package/chunk/InputText-CtKHbFE7.js +4 -4
  78. package/chunk/{LicensedProfessionalOrganizationComponent-KmfBDjN9.js → LicensedProfessionalOrganizationComponent-C9z4nWyc.js} +10 -10
  79. package/chunk/{LicensedProfessionalOrganizationComponent-Bd32g18q.js.map → LicensedProfessionalOrganizationComponent-C9z4nWyc.js.map} +1 -1
  80. package/chunk/{LicensedProfessionalOrganizationComponent-Bd32g18q.js → LicensedProfessionalOrganizationComponent-CVmJ9eS_.js} +11 -11
  81. package/chunk/{LicensedProfessionalOrganizationComponent-KmfBDjN9.js.map → LicensedProfessionalOrganizationComponent-CVmJ9eS_.js.map} +1 -1
  82. package/chunk/{LowIncomeOrganizationComponent-DmPn8oNy.js → LowIncomeOrganizationComponent-CVYnXbo4.js} +24 -28
  83. package/chunk/{LowIncomeOrganizationComponent-BDCwBwqA.js.map → LowIncomeOrganizationComponent-CVYnXbo4.js.map} +1 -1
  84. package/chunk/{LowIncomeOrganizationComponent-BDCwBwqA.js → LowIncomeOrganizationComponent-CvMiwUmr.js} +27 -23
  85. package/chunk/{LowIncomeOrganizationComponent-DmPn8oNy.js.map → LowIncomeOrganizationComponent-CvMiwUmr.js.map} +1 -1
  86. package/chunk/{MedicalProfessionalOrganizationComponent-CqNumnEx.js → MedicalProfessionalOrganizationComponent-6CxBMyJW.js} +10 -10
  87. package/chunk/{MedicalProfessionalOrganizationComponent-BvZ5-GKO.js.map → MedicalProfessionalOrganizationComponent-6CxBMyJW.js.map} +1 -1
  88. package/chunk/{MedicalProfessionalOrganizationComponent-BvZ5-GKO.js → MedicalProfessionalOrganizationComponent-BAhuoYQR.js} +11 -11
  89. package/chunk/{MedicalProfessionalOrganizationComponent-CqNumnEx.js.map → MedicalProfessionalOrganizationComponent-BAhuoYQR.js.map} +1 -1
  90. package/chunk/{MemberIdComponent-CZ4ylsxJ.js → MemberIdComponent-Bc6-XSmk.js} +11 -11
  91. package/chunk/{MemberIdComponent-CZ4ylsxJ.js.map → MemberIdComponent-Bc6-XSmk.js.map} +1 -1
  92. package/chunk/{MemberIdComponent-ClhVOK0_.js → MemberIdComponent-D3r9Y4c3.js} +11 -11
  93. package/chunk/{MemberIdComponent-ClhVOK0_.js.map → MemberIdComponent-D3r9Y4c3.js.map} +1 -1
  94. package/chunk/{MembershipOrganizationComponent-Ds1UMq_P.js → MembershipOrganizationComponent-PJ1L85G4.js} +10 -10
  95. package/chunk/{MembershipOrganizationComponent-B2k3iMwP.js.map → MembershipOrganizationComponent-PJ1L85G4.js.map} +1 -1
  96. package/chunk/{MembershipOrganizationComponent-B2k3iMwP.js → MembershipOrganizationComponent-xgi0R8Qh.js} +11 -11
  97. package/chunk/{MembershipOrganizationComponent-Ds1UMq_P.js.map → MembershipOrganizationComponent-xgi0R8Qh.js.map} +1 -1
  98. package/chunk/Onfido-DX6DWIy6.js +4 -4
  99. package/chunk/{PersonalInfoStepSubmitButton-C2E_vI6h.js → PersonalInfoStepSubmitButton-COTSMNng.js} +29 -25
  100. package/chunk/{PersonalInfoStepSubmitButton-BEt7G8pL.js.map → PersonalInfoStepSubmitButton-COTSMNng.js.map} +1 -1
  101. package/chunk/{PersonalInfoStepSubmitButton-BEt7G8pL.js → PersonalInfoStepSubmitButton-DL0Qjm6T.js} +29 -33
  102. package/chunk/{PersonalInfoStepSubmitButton-C2E_vI6h.js.map → PersonalInfoStepSubmitButton-DL0Qjm6T.js.map} +1 -1
  103. package/chunk/{PersonalInfoStepWrapper-DIecrjL_.js → PersonalInfoStepWrapper-BoM-u8Vg.js} +5 -5
  104. package/chunk/{PersonalInfoStepWrapper-DIecrjL_.js.map → PersonalInfoStepWrapper-BoM-u8Vg.js.map} +1 -1
  105. package/chunk/{PersonalInfoStepWrapper-B7jyR5L2.js → PersonalInfoStepWrapper-DgxBk5YC.js} +27 -27
  106. package/chunk/{PersonalInfoStepWrapper-B7jyR5L2.js.map → PersonalInfoStepWrapper-DgxBk5YC.js.map} +1 -1
  107. package/chunk/{PostalCodeComponent-BRv1OY2E.js → PostalCodeComponent-BAMN5oNJ.js} +10 -10
  108. package/chunk/{PostalCodeComponent-C5geCnf3.js.map → PostalCodeComponent-BAMN5oNJ.js.map} +1 -1
  109. package/chunk/{PostalCodeComponent-C5geCnf3.js → PostalCodeComponent-BoviWgTs.js} +10 -10
  110. package/chunk/{PostalCodeComponent-BRv1OY2E.js.map → PostalCodeComponent-BoviWgTs.js.map} +1 -1
  111. package/chunk/{SSN-DbmDwC_V.js → SSN-C-tXgqEW.js} +11 -11
  112. package/chunk/{SSN-DEDbmtXI.js.map → SSN-C-tXgqEW.js.map} +1 -1
  113. package/chunk/{SSN-DEDbmtXI.js → SSN-Dm927vAY.js} +11 -11
  114. package/chunk/{SSN-DbmDwC_V.js.map → SSN-Dm927vAY.js.map} +1 -1
  115. package/chunk/{StateSelectComponent-BVUvB4i-.js → StateSelectComponent-DRh_P7z6.js} +5 -5
  116. package/chunk/{StateSelectComponent-BVUvB4i-.js.map → StateSelectComponent-DRh_P7z6.js.map} +1 -1
  117. package/chunk/{StateSelectComponent-ykysTrKn.js → StateSelectComponent-uvSd1iyo.js} +9 -9
  118. package/chunk/{StateSelectComponent-ykysTrKn.js.map → StateSelectComponent-uvSd1iyo.js.map} +1 -1
  119. package/chunk/StatusComponent-Bn_amGh4.js +40 -0
  120. package/chunk/{StatusComponent-C9qP2xkk.js.map → StatusComponent-Bn_amGh4.js.map} +1 -1
  121. package/chunk/{StatusComponent-C9qP2xkk.js → StatusComponent-DN4l8Npf.js} +14 -14
  122. package/chunk/{StatusComponent-K7sbnHoL.js.map → StatusComponent-DN4l8Npf.js.map} +1 -1
  123. package/chunk/{StepActiveMilitaryPersonalInfoComponent-OP3pj1nz.js → StepActiveMilitaryPersonalInfoComponent-C195u8WH.js} +59 -55
  124. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B19DJheV.js.map → StepActiveMilitaryPersonalInfoComponent-C195u8WH.js.map} +1 -1
  125. package/chunk/StepActiveMilitaryPersonalInfoComponent-ZcCZn0os.js +174 -0
  126. package/chunk/{StepActiveMilitaryPersonalInfoComponent-OP3pj1nz.js.map → StepActiveMilitaryPersonalInfoComponent-ZcCZn0os.js.map} +1 -1
  127. package/chunk/StepAgePersonalInfo-BPeMAudS.js +166 -0
  128. package/chunk/{StepAgePersonalInfo-Bi-QeGX8.js.map → StepAgePersonalInfo-BPeMAudS.js.map} +1 -1
  129. package/chunk/StepAgePersonalInfo-ChwZMKcL.js +170 -0
  130. package/chunk/{StepAgePersonalInfo-CQBDmfRF.js.map → StepAgePersonalInfo-ChwZMKcL.js.map} +1 -1
  131. package/chunk/StepCard-B06reTxD.js +4 -4
  132. package/chunk/StepCard-Bypd7Dt8.js +4 -4
  133. package/chunk/{StepCollectIdentifier-BHAvn2O0.js → StepCollectIdentifier-DuKdS-j5.js} +19 -19
  134. package/chunk/{StepCollectIdentifier-BHAvn2O0.js.map → StepCollectIdentifier-DuKdS-j5.js.map} +1 -1
  135. package/chunk/{StepCollectIdentifier-CJWthRfj.js → StepCollectIdentifier-SFcn1Kr-.js} +12 -12
  136. package/chunk/{StepCollectIdentifier-CJWthRfj.js.map → StepCollectIdentifier-SFcn1Kr-.js.map} +1 -1
  137. package/chunk/StepCollectMilitaryStatusComponent-Bxu0tcW8.js +9 -0
  138. package/chunk/{StepCollectMilitaryStatusComponent-C4P5lSIX.js → StepCollectMilitaryStatusComponent-DKO_s_ta.js} +5 -5
  139. package/chunk/StepCollectPersonalInfo-H3GU_HNZ.js +352 -0
  140. package/chunk/{StepCollectPersonalInfo-B7--XzLY.js.map → StepCollectPersonalInfo-H3GU_HNZ.js.map} +1 -1
  141. package/chunk/{StepCollectPersonalInfo-DZpwrzjQ.js → StepCollectPersonalInfo-gDQydB_T.js} +124 -120
  142. package/chunk/{StepCollectPersonalInfo-DZpwrzjQ.js.map → StepCollectPersonalInfo-gDQydB_T.js.map} +1 -1
  143. package/chunk/{StepCompleteAuthentication-B66TaYiw.js → StepCompleteAuthentication-BjFkNxUn.js} +17 -17
  144. package/chunk/{StepCompleteAuthentication-B66TaYiw.js.map → StepCompleteAuthentication-BjFkNxUn.js.map} +1 -1
  145. package/chunk/{StepCompleteAuthentication-C0kcCUjP.js → StepCompleteAuthentication-DP1Q0Z7P.js} +24 -24
  146. package/chunk/{StepCompleteAuthentication-C0kcCUjP.js.map → StepCompleteAuthentication-DP1Q0Z7P.js.map} +1 -1
  147. package/chunk/{StepConsolation-BKobQblj.js → StepConsolation-C1iBEDx5.js} +13 -13
  148. package/chunk/{StepConsolation-BKobQblj.js.map → StepConsolation-C1iBEDx5.js.map} +1 -1
  149. package/chunk/{StepConsolation-CfpgPGx0.js → StepConsolation-DkIj9ddz.js} +19 -19
  150. package/chunk/{StepConsolation-CfpgPGx0.js.map → StepConsolation-DkIj9ddz.js.map} +1 -1
  151. package/chunk/{StepDocUpload-BM_hrO6C.js → StepDocUpload-CRn87Rqx.js} +249 -249
  152. package/chunk/{StepDocUpload-DkHcpKDh.js.map → StepDocUpload-CRn87Rqx.js.map} +1 -1
  153. package/chunk/{StepDocUpload-DkHcpKDh.js → StepDocUpload-D7O41B7o.js} +266 -266
  154. package/chunk/{StepDocUpload-BM_hrO6C.js.map → StepDocUpload-D7O41B7o.js.map} +1 -1
  155. package/chunk/StepDriverLicensePersonalInfoComponent-Bf27mPeI.js +136 -0
  156. package/chunk/{StepDriverLicensePersonalInfoComponent-DRAZbywp.js.map → StepDriverLicensePersonalInfoComponent-Bf27mPeI.js.map} +1 -1
  157. package/chunk/{StepDriverLicensePersonalInfoComponent-DRAZbywp.js → StepDriverLicensePersonalInfoComponent-BydWgQhM.js} +44 -40
  158. package/chunk/{StepDriverLicensePersonalInfoComponent-DvF6gQri.js.map → StepDriverLicensePersonalInfoComponent-BydWgQhM.js.map} +1 -1
  159. package/chunk/{StepEmailLoop-B2pJ6TII.js → StepEmailLoop-BwdA2js0.js} +31 -31
  160. package/chunk/{StepEmailLoop-B2pJ6TII.js.map → StepEmailLoop-BwdA2js0.js.map} +1 -1
  161. package/chunk/{StepEmailLoop-D82Ol-tF.js → StepEmailLoop-CaGMrw-M.js} +19 -19
  162. package/chunk/{StepEmailLoop-D82Ol-tF.js.map → StepEmailLoop-CaGMrw-M.js.map} +1 -1
  163. package/chunk/StepEmploymentPersonalInfo-BP0D_L-2.js +211 -0
  164. package/chunk/{StepEmploymentPersonalInfo-BIzLUyqF.js.map → StepEmploymentPersonalInfo-BP0D_L-2.js.map} +1 -1
  165. package/chunk/{StepEmploymentPersonalInfo-BIzLUyqF.js → StepEmploymentPersonalInfo-DokmufZm.js} +70 -70
  166. package/chunk/{StepEmploymentPersonalInfo-CfW1cRz5.js.map → StepEmploymentPersonalInfo-DokmufZm.js.map} +1 -1
  167. package/chunk/StepFirstResponderPersonalInfo-CFlC4kHJ.js +167 -0
  168. package/chunk/{StepFirstResponderPersonalInfo-CcKpt9P9.js.map → StepFirstResponderPersonalInfo-CFlC4kHJ.js.map} +1 -1
  169. package/chunk/StepFirstResponderPersonalInfo-DxaX2t3m.js +171 -0
  170. package/chunk/{StepFirstResponderPersonalInfo-fkmalnSR.js.map → StepFirstResponderPersonalInfo-DxaX2t3m.js.map} +1 -1
  171. package/chunk/StepGeneralIdentityPersonalInfoComponent-D7rWM-zc.js +169 -0
  172. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D-g65U8N.js.map → StepGeneralIdentityPersonalInfoComponent-D7rWM-zc.js.map} +1 -1
  173. package/chunk/{StepGeneralIdentityPersonalInfoComponent-DCzOLLXt.js → StepGeneralIdentityPersonalInfoComponent-DjlrFqzf.js} +49 -45
  174. package/chunk/{StepGeneralIdentityPersonalInfoComponent-DCzOLLXt.js.map → StepGeneralIdentityPersonalInfoComponent-DjlrFqzf.js.map} +1 -1
  175. package/chunk/StepHybridIdentityPersonalInfoComponent-7Tl8uDuV.js +178 -0
  176. package/chunk/{StepHybridIdentityPersonalInfoComponent-B1U-D-Oa.js.map → StepHybridIdentityPersonalInfoComponent-7Tl8uDuV.js.map} +1 -1
  177. package/chunk/{StepHybridIdentityPersonalInfoComponent-B1U-D-Oa.js → StepHybridIdentityPersonalInfoComponent-QCqe5hPY.js} +51 -47
  178. package/chunk/{StepHybridIdentityPersonalInfoComponent-CKqXVn71.js.map → StepHybridIdentityPersonalInfoComponent-QCqe5hPY.js.map} +1 -1
  179. package/chunk/{StepIDCheckLoop-C55YxnHR.js → StepIDCheckLoop-BJgnlAgW.js} +6 -6
  180. package/chunk/{StepIDCheckLoop-qAopx3ex.js.map → StepIDCheckLoop-BJgnlAgW.js.map} +1 -1
  181. package/chunk/StepIDCheckLoop-DSWI3l3R.js +21 -0
  182. package/chunk/{StepIDCheckLoop-C55YxnHR.js.map → StepIDCheckLoop-DSWI3l3R.js.map} +1 -1
  183. package/chunk/{StepIDCheckLoopOnfido-CNjlvSWc.js → StepIDCheckLoopOnfido-BQFOVwjz.js} +49 -49
  184. package/chunk/{StepIDCheckLoopOnfido-CNjlvSWc.js.map → StepIDCheckLoopOnfido-BQFOVwjz.js.map} +1 -1
  185. package/chunk/{StepIDCheckLoopOnfido-DMT6NO1B.js → StepIDCheckLoopOnfido-Q2N4Nl-N.js} +50 -50
  186. package/chunk/{StepIDCheckLoopOnfido-DMT6NO1B.js.map → StepIDCheckLoopOnfido-Q2N4Nl-N.js.map} +1 -1
  187. package/chunk/{StepIDCheckLoopRegula-qC6UgIrq.js → StepIDCheckLoopRegula-CV50hZTK.js} +40 -40
  188. package/chunk/{StepIDCheckLoopRegula-CTSRHPQ4.js.map → StepIDCheckLoopRegula-CV50hZTK.js.map} +1 -1
  189. package/chunk/{StepIDCheckLoopRegula-CTSRHPQ4.js → StepIDCheckLoopRegula-G6YJq954.js} +26 -26
  190. package/chunk/{StepIDCheckLoopRegula-qC6UgIrq.js.map → StepIDCheckLoopRegula-G6YJq954.js.map} +1 -1
  191. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DVxON89y.js → StepInactiveMilitaryPersonalInfoComponent-BD5AYCGD.js} +89 -85
  192. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DVxON89y.js.map → StepInactiveMilitaryPersonalInfoComponent-BD5AYCGD.js.map} +1 -1
  193. package/chunk/StepInactiveMilitaryPersonalInfoComponent-CzS52K0a.js +232 -0
  194. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Sgb4Acqi.js.map → StepInactiveMilitaryPersonalInfoComponent-CzS52K0a.js.map} +1 -1
  195. package/chunk/{StepLicensedProfessionalPersonalInfo-DssaBYy5.js → StepLicensedProfessionalPersonalInfo-Co6ysIbQ.js} +49 -49
  196. package/chunk/{StepLicensedProfessionalPersonalInfo-COwznw-a.js.map → StepLicensedProfessionalPersonalInfo-Co6ysIbQ.js.map} +1 -1
  197. package/chunk/{StepLicensedProfessionalPersonalInfo-COwznw-a.js → StepLicensedProfessionalPersonalInfo-MyhaHS8O.js} +67 -67
  198. package/chunk/{StepLicensedProfessionalPersonalInfo-DssaBYy5.js.map → StepLicensedProfessionalPersonalInfo-MyhaHS8O.js.map} +1 -1
  199. package/chunk/{StepLowIncomePersonalInfo-C3U0bUtb.js → StepLowIncomePersonalInfo-DEvMpSOc.js} +76 -76
  200. package/chunk/{StepLowIncomePersonalInfo-X2S_WVZz.js.map → StepLowIncomePersonalInfo-DEvMpSOc.js.map} +1 -1
  201. package/chunk/StepLowIncomePersonalInfo-MwI07ZDr.js +217 -0
  202. package/chunk/{StepLowIncomePersonalInfo-C3U0bUtb.js.map → StepLowIncomePersonalInfo-MwI07ZDr.js.map} +1 -1
  203. package/chunk/StepMedicalProfessionalPersonalInfo-Br3HaEsM.js +199 -0
  204. package/chunk/{StepMedicalProfessionalPersonalInfo-bRiGlQYY.js.map → StepMedicalProfessionalPersonalInfo-Br3HaEsM.js.map} +1 -1
  205. package/chunk/StepMedicalProfessionalPersonalInfo-Cz4yih5L.js +203 -0
  206. package/chunk/{StepMedicalProfessionalPersonalInfo-k9qmhFHs.js.map → StepMedicalProfessionalPersonalInfo-Cz4yih5L.js.map} +1 -1
  207. package/chunk/StepMemberPersonalInfo-D3y5Orq9.js +149 -0
  208. package/chunk/{StepMemberPersonalInfo-AnJ_sPsq.js.map → StepMemberPersonalInfo-D3y5Orq9.js.map} +1 -1
  209. package/chunk/{StepMemberPersonalInfo-AnJ_sPsq.js → StepMemberPersonalInfo-DxET2t6t.js} +35 -31
  210. package/chunk/{StepMemberPersonalInfo-DJC6kzko.js.map → StepMemberPersonalInfo-DxET2t6t.js.map} +1 -1
  211. package/chunk/{StepMoverPersonalInfo-Bf95T7H2.js → StepMoverPersonalInfo-BJQcx0QE.js} +44 -40
  212. package/chunk/{StepMoverPersonalInfo-Bf95T7H2.js.map → StepMoverPersonalInfo-BJQcx0QE.js.map} +1 -1
  213. package/chunk/StepMoverPersonalInfo-ms_oSmJJ.js +136 -0
  214. package/chunk/{StepMoverPersonalInfo-R8lZHUqS.js.map → StepMoverPersonalInfo-ms_oSmJJ.js.map} +1 -1
  215. package/chunk/{StepOverrideComponent-C3Wt9p-Y.js → StepOverrideComponent-DR6qA-CV.js} +18 -18
  216. package/chunk/{StepOverrideComponent-DQ6KQfVX.js.map → StepOverrideComponent-DR6qA-CV.js.map} +1 -1
  217. package/chunk/{StepOverrideComponent-DQ6KQfVX.js → StepOverrideComponent-DUneGdaQ.js} +26 -26
  218. package/chunk/{StepOverrideComponent-C3Wt9p-Y.js.map → StepOverrideComponent-DUneGdaQ.js.map} +1 -1
  219. package/chunk/{StepSMSLoop-BrbJqPhN.js → StepSMSLoop-CmnU4foO.js} +29 -29
  220. package/chunk/{StepSMSLoop-BrbJqPhN.js.map → StepSMSLoop-CmnU4foO.js.map} +1 -1
  221. package/chunk/{StepSMSLoop-C48P-QXx.js → StepSMSLoop-D96_oeaY.js} +22 -22
  222. package/chunk/{StepSMSLoop-C48P-QXx.js.map → StepSMSLoop-D96_oeaY.js.map} +1 -1
  223. package/chunk/StepSSO-D2pCLSYD.js +9 -0
  224. package/chunk/{StepSSO-DlRartMb.js → StepSSO-y263jjm-.js} +5 -5
  225. package/chunk/{StepSocialSecurityNumber-DyiO7ggN.js → StepSocialSecurityNumber-Bv8OGQDM.js} +31 -31
  226. package/chunk/{StepSocialSecurityNumber-Bn9fK496.js.map → StepSocialSecurityNumber-Bv8OGQDM.js.map} +1 -1
  227. package/chunk/{StepSocialSecurityNumber-Bn9fK496.js → StepSocialSecurityNumber-C4iQRaSu.js} +25 -25
  228. package/chunk/{StepSocialSecurityNumber-DyiO7ggN.js.map → StepSocialSecurityNumber-C4iQRaSu.js.map} +1 -1
  229. package/chunk/{StepStudentPersonalInfo-BK34pk1g.js → StepStudentPersonalInfo-CStD7GTz.js} +52 -48
  230. package/chunk/{StepStudentPersonalInfo-BK34pk1g.js.map → StepStudentPersonalInfo-CStD7GTz.js.map} +1 -1
  231. package/chunk/StepStudentPersonalInfo-DC_LuVGO.js +181 -0
  232. package/chunk/{StepStudentPersonalInfo-Cpx5Y88n.js.map → StepStudentPersonalInfo-DC_LuVGO.js.map} +1 -1
  233. package/chunk/{StepSuccess-5zi6JPlJ.js → StepSuccess-D0zwNWtW.js} +47 -47
  234. package/chunk/{StepSuccess-5zi6JPlJ.js.map → StepSuccess-D0zwNWtW.js.map} +1 -1
  235. package/chunk/{StepSuccess-BEVsDxMB.js → StepSuccess-DH_SCQ3o.js} +43 -43
  236. package/chunk/{StepSuccess-BEVsDxMB.js.map → StepSuccess-DH_SCQ3o.js.map} +1 -1
  237. package/chunk/{StepTeacherPersonalInfo-kUTcaH1X.js → StepTeacherPersonalInfo-BD270H75.js} +36 -32
  238. package/chunk/{StepTeacherPersonalInfo-JFMv7J7a.js.map → StepTeacherPersonalInfo-BD270H75.js.map} +1 -1
  239. package/chunk/StepTeacherPersonalInfo-CdIYEUhN.js +146 -0
  240. package/chunk/{StepTeacherPersonalInfo-kUTcaH1X.js.map → StepTeacherPersonalInfo-CdIYEUhN.js.map} +1 -1
  241. package/chunk/StepThirdPartyLoop-C9irc_Or.js +9 -0
  242. package/chunk/{StepThirdPartyLoop-DgBM8Hjr.js → StepThirdPartyLoop-DfDkHKc3.js} +5 -5
  243. package/chunk/{TeacherSchoolComponent-BlXd_Ago.js → TeacherSchoolComponent-BVq4mqo8.js} +13 -13
  244. package/chunk/{TeacherSchoolComponent-lxPkOdX5.js.map → TeacherSchoolComponent-BVq4mqo8.js.map} +1 -1
  245. package/chunk/{TeacherSchoolComponent-lxPkOdX5.js → TeacherSchoolComponent-CBD2dQym.js} +12 -12
  246. package/chunk/{TeacherSchoolComponent-BlXd_Ago.js.map → TeacherSchoolComponent-CBD2dQym.js.map} +1 -1
  247. package/chunk/ThreatMetrix-DneXzgNV.js +4 -4
  248. package/chunk/{VerificationApiUtils-Ci3HFxmT.js → VerificationApiUtils-CuQ536DE.js} +5 -5
  249. package/chunk/{VerificationApiUtils-Ci3HFxmT.js.map → VerificationApiUtils-CuQ536DE.js.map} +1 -1
  250. package/chunk/{VerificationApiUtils-Cnf-uqtw.js → VerificationApiUtils-D715lDKh.js} +7 -7
  251. package/chunk/{VerificationApiUtils-Cnf-uqtw.js.map → VerificationApiUtils-D715lDKh.js.map} +1 -1
  252. package/chunk/ar-DY-xX8jm.js +4 -4
  253. package/chunk/bg-DtqxFXxf.js +4 -4
  254. package/chunk/bn-IN-CLQsDlLx.js +4 -4
  255. package/chunk/countryUtils-D5jLglud.js +4 -4
  256. package/chunk/countryUtils-ZO5utVC3.js +4 -4
  257. package/chunk/cs-zKYalrCx.js +4 -4
  258. package/chunk/da-B5mz--q8.js +4 -4
  259. package/chunk/de-C1u5bH-H.js +4 -4
  260. package/chunk/{downshift.esm-qbGlaZEh.js → downshift.esm-CmXev3Ne.js} +5 -5
  261. package/chunk/{downshift.esm-qbGlaZEh.js.map → downshift.esm-CmXev3Ne.js.map} +1 -1
  262. package/chunk/{downshift.esm-fwmIRsQT.js → downshift.esm-CtORkuQS.js} +228 -228
  263. package/chunk/{downshift.esm-fwmIRsQT.js.map → downshift.esm-CtORkuQS.js.map} +1 -1
  264. package/chunk/el-By0fu1Nj.js +4 -4
  265. package/chunk/en-GB-C2Ud3xXN.js +4 -4
  266. package/chunk/es-CNmoqMfp.js +4 -4
  267. package/chunk/es-ES-B7X6cedJ.js +4 -4
  268. package/chunk/et-DjJMLduk.js +4 -4
  269. package/chunk/fa-C9Wazqks.js +4 -4
  270. package/chunk/fi-Bt0kXgNy.js +4 -4
  271. package/chunk/fr-BvwOLEGk.js +4 -4
  272. package/chunk/fr-CA-DDN6X27Z.js +4 -4
  273. package/chunk/ga-DyaPZPE4.js +4 -4
  274. package/chunk/hi-IN-BsHMHntR.js +4 -4
  275. package/chunk/hr-BVl-px1q.js +4 -4
  276. package/chunk/hu-D4VjeLtb.js +4 -4
  277. package/chunk/id-B9cy0h8v.js +4 -4
  278. package/chunk/is-DFpeGHFj.js +4 -4
  279. package/chunk/it-DWz5-P-2.js +4 -4
  280. package/chunk/iw-DdKzE4KC.js +4 -4
  281. package/chunk/ja-BfUezqgt.js +4 -4
  282. package/chunk/kk-dxzPsna4.js +4 -4
  283. package/chunk/ko-BoAyzxes.js +4 -4
  284. package/chunk/lo-VdDzVd41.js +4 -4
  285. package/chunk/lt-CtEXkLkn.js +4 -4
  286. package/chunk/lv-SXvo6W1l.js +4 -4
  287. package/chunk/militaryStepHelpers--Wm0W_ag.js +4 -4
  288. package/chunk/militaryStepHelpers-BeuHYTWR.js +4 -4
  289. package/chunk/{mocks-Cgaq6lp9.js → mocks-DW4afxJL.js} +7 -7
  290. package/chunk/{mocks-BPyxndtc.js.map → mocks-DW4afxJL.js.map} +1 -1
  291. package/chunk/{mocks-BPyxndtc.js → mocks-WjVFEPXM.js} +8 -8
  292. package/chunk/{mocks-Cgaq6lp9.js.map → mocks-WjVFEPXM.js.map} +1 -1
  293. package/chunk/ms-CAQm5fnc.js +4 -4
  294. package/chunk/nl-BE-bh2asFFE.js +4 -4
  295. package/chunk/nl-TH42E1ce.js +4 -4
  296. package/chunk/no-CWx3bQiE.js +4 -4
  297. package/chunk/pl-C5UPRDbl.js +4 -4
  298. package/chunk/pt-BR-WR8V3NBI.js +4 -4
  299. package/chunk/pt-DuRmZVpm.js +4 -4
  300. package/chunk/ro-X6KMMewz.js +4 -4
  301. package/chunk/ru-D8cwuuW9.js +4 -4
  302. package/chunk/sk-l-usPvHT.js +4 -4
  303. package/chunk/sl-CcFevFDd.js +4 -4
  304. package/chunk/sr-5hqdw8W6.js +4 -4
  305. package/chunk/sv-CHHsIc-_.js +4 -4
  306. package/chunk/sw-N7xKwBA-.js +4 -4
  307. package/chunk/ta-CJbnZGAc.js +4 -4
  308. package/chunk/th-BGQ9NXQb.js +4 -4
  309. package/chunk/tl-D4edHa4A.js +4 -4
  310. package/chunk/tr-CzGpuTpn.js +4 -4
  311. package/chunk/uk-ChRcPkiM.js +4 -4
  312. package/chunk/ur-DwjvEWmp.js +4 -4
  313. package/chunk/{useCollectFieldsEndpoint-Clin3AaA.js → useCollectFieldsEndpoint-BEwU2IXN.js} +9 -9
  314. package/chunk/{useCollectFieldsEndpoint-Cig4wEUB.js.map → useCollectFieldsEndpoint-BEwU2IXN.js.map} +1 -1
  315. package/chunk/{useCollectFieldsEndpoint-Cig4wEUB.js → useCollectFieldsEndpoint-CvOWXfx8.js} +8 -8
  316. package/chunk/{useCollectFieldsEndpoint-Clin3AaA.js.map → useCollectFieldsEndpoint-CvOWXfx8.js.map} +1 -1
  317. package/chunk/{useMetrics-CLLh0Tan.js → useMetrics-2o9KG92p.js} +12 -26
  318. package/chunk/useMetrics-2o9KG92p.js.map +1 -0
  319. package/chunk/{useMetrics-5ft9MF-y.js → useMetrics-DW_mv5wy.js} +6 -20
  320. package/chunk/useMetrics-DW_mv5wy.js.map +1 -0
  321. package/chunk/vi-CyTj2EhC.js +4 -4
  322. package/chunk/zh-91qJ02Dp.js +4 -4
  323. package/chunk/zh-HK-xEJkIfby.js +4 -4
  324. package/chunk/zu-BrvraDYW.js +4 -4
  325. package/package.json +1 -1
  326. package/sheerid-install.css +4 -4
  327. package/sheerid-install.js +4 -4
  328. package/sheerid.css +4 -4
  329. package/sheerid.js +939 -940
  330. package/sheerid.js.map +1 -1
  331. package/chunk/BirthDateComponent-DBoGs0xO.js +0 -39
  332. package/chunk/CaptchaComponent-CX3VgnkO.js.map +0 -1
  333. package/chunk/CaptchaComponent-CpD7kabQ.js.map +0 -1
  334. package/chunk/CountryComponentWrapper-BKmiop9j.js +0 -70
  335. package/chunk/CountryComponentWrapper-cR2hBUDi.js +0 -74
  336. package/chunk/ExtraMessage-D78-mbs6.js +0 -18
  337. package/chunk/StatusComponent-K7sbnHoL.js +0 -40
  338. package/chunk/StepActiveMilitaryPersonalInfoComponent-B19DJheV.js +0 -178
  339. package/chunk/StepAgePersonalInfo-Bi-QeGX8.js +0 -166
  340. package/chunk/StepAgePersonalInfo-CQBDmfRF.js +0 -170
  341. package/chunk/StepCollectMilitaryStatusComponent-Cp82hWUq.js +0 -9
  342. package/chunk/StepCollectPersonalInfo-B7--XzLY.js +0 -356
  343. package/chunk/StepDriverLicensePersonalInfoComponent-DvF6gQri.js +0 -140
  344. package/chunk/StepEmploymentPersonalInfo-CfW1cRz5.js +0 -211
  345. package/chunk/StepFirstResponderPersonalInfo-CcKpt9P9.js +0 -167
  346. package/chunk/StepFirstResponderPersonalInfo-fkmalnSR.js +0 -171
  347. package/chunk/StepGeneralIdentityPersonalInfoComponent-D-g65U8N.js +0 -173
  348. package/chunk/StepHybridIdentityPersonalInfoComponent-CKqXVn71.js +0 -182
  349. package/chunk/StepIDCheckLoop-qAopx3ex.js +0 -21
  350. package/chunk/StepInactiveMilitaryPersonalInfoComponent-Sgb4Acqi.js +0 -236
  351. package/chunk/StepLowIncomePersonalInfo-X2S_WVZz.js +0 -217
  352. package/chunk/StepMedicalProfessionalPersonalInfo-bRiGlQYY.js +0 -203
  353. package/chunk/StepMedicalProfessionalPersonalInfo-k9qmhFHs.js +0 -199
  354. package/chunk/StepMemberPersonalInfo-DJC6kzko.js +0 -153
  355. package/chunk/StepMoverPersonalInfo-R8lZHUqS.js +0 -140
  356. package/chunk/StepSSO-wafaHYQE.js +0 -9
  357. package/chunk/StepStudentPersonalInfo-Cpx5Y88n.js +0 -185
  358. package/chunk/StepTeacherPersonalInfo-JFMv7J7a.js +0 -150
  359. package/chunk/StepThirdPartyLoop-B12aMzdI.js +0 -9
  360. package/chunk/useMetrics-5ft9MF-y.js.map +0 -1
  361. package/chunk/useMetrics-CLLh0Tan.js.map +0 -1
@@ -1,34 +1,29 @@
1
1
 
2
2
  /**
3
- * WARNING: This file is intended to be used within MySheerID.
4
- * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
- */
6
- /**
7
- * VERSION: 2.249.0
8
- * BUILD_TIMESTAMP: 1782520958289
9
- * BUILD_DATE: Sat Jun 27 2026 00:42:38 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d434b306f163c625231516e302f145313c088dbc
3
+ * VERSION: 2.250.0
4
+ * BUILD_TIMESTAMP: 1782922520068
5
+ * BUILD_DATE: Wed Jul 01 2026 16:15:20 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: cb70a3d38f25dac850245b568238895cd279ec48
11
7
  */
12
- import { $t as e, An as t, Dn as n, It as r, Mn as i, On as a, Pt as o, Q as s, Qt as c, Ut as l, Xt as u, Zt as d, _t as f, an as p, bt as m, kn as h, kt as g, on as _, ot as v, rn as y, rt as b, st as x, tn as S, vt as C, yt as w, z as T } from "../_mysheerid-preview.js";
13
- import { n as E, r as D, t as O } from "./FormFieldLayout-yzfzLAfZ.js";
14
- import { t as k } from "./InputText-Cc-nHAaa.js";
15
- import { t as A } from "./FormFieldText-DIAcRrkr.js";
16
- import { n as j, r as M } from "./FormSelectChoice-BLQgJEYO.js";
17
- import { a as N, o as P } from "./useMetrics-CLLh0Tan.js";
8
+ import { An as e, Ct as t, Dn as n, En as r, Mn as i, Rt as a, Tn as o, Tt as s, V as c, Vt as l, Xt as u, Yt as d, an as f, at as p, ct as m, et as h, in as g, kn as _, rn as v, sn as y, yt as b, zt as x } from "../sheerid.js";
9
+ import { n as S, r as C, t as w } from "./FormFieldLayout-26v_1nBx.js";
10
+ import { t as T } from "./InputText-CtKHbFE7.js";
11
+ import { t as E } from "./FormFieldText-BMCOvY3k.js";
12
+ import { n as D, r as O } from "./FormSelectChoice-C0ZvRRU4.js";
18
13
  //#region src/components/FormInputs/OptInInput/OptInInputComponent.tsx
19
- var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, value: n, ariaLabelledby: r, ariaDescribedBy: i, id: a = "new", disabled: o = !1 }) => {
20
- let s = r ? { "aria-labelledby": r } : {}, c = (0, F.useRef)(null), l = () => {
14
+ var k = /* @__PURE__ */ i(_(), 1), A = a(), j = ({ isErrored: e, onChange: t, value: n, ariaLabelledby: r, ariaDescribedBy: i, id: a = "new", disabled: o = !1 }) => {
15
+ let s = r ? { "aria-labelledby": r } : {}, c = (0, k.useRef)(null), l = () => {
21
16
  c.current && t(!c.current.checked);
22
17
  }, u = (e) => {
23
18
  (e.key === " " || e.key === "Enter") && (e.preventDefault(), l());
24
19
  };
25
- return (0, F.useEffect)(() => {
26
- g("optIn", c.current);
27
- }), (0, F.useEffect)(() => {
20
+ return (0, k.useEffect)(() => {
21
+ b("optIn", c.current);
22
+ }), (0, k.useEffect)(() => {
28
23
  c.current && (c.current.checked = n);
29
- }, [n]), /* @__PURE__ */ (0, I.jsxs)("div", {
24
+ }, [n]), /* @__PURE__ */ (0, A.jsxs)("div", {
30
25
  className: "sid-checkbox",
31
- children: [/* @__PURE__ */ (0, I.jsx)("input", {
26
+ children: [/* @__PURE__ */ (0, A.jsx)("input", {
32
27
  className: "sid-checkbox__input",
33
28
  id: `sid-opt-in__${a}`,
34
29
  name: "sid-opt-in",
@@ -39,7 +34,7 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
39
34
  "aria-describedby": i,
40
35
  disabled: o,
41
36
  tabIndex: -1
42
- }), /* @__PURE__ */ (0, I.jsx)("span", {
37
+ }), /* @__PURE__ */ (0, A.jsx)("span", {
43
38
  ...s,
44
39
  className: `sid-checkbox__input-like ${e ? "sid-checkbox__input-like--error" : ""}`,
45
40
  onClick: l,
@@ -50,22 +45,22 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
50
45
  "data-testid": "stylable-checkbox-input"
51
46
  })]
52
47
  });
53
- }, R = ({ isErrored: e, isRequired: t, onChange: r, value: i, verificationService: a, disabled: s = !1 }) => {
54
- let c = "marketConsentValue", l = `sid-${b(c)}-error`, u = `sid-${b(c)}-label`, d = F.useCallback((e) => {
55
- if (t && !e) return "marketConsentRequired";
56
- }, [t]), f = (a && a.programTheme && o(a.programTheme) || {}).message || "Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more";
57
- return F.useEffect(() => {
58
- n(c, d);
59
- }, [c, d]), F.useEffect(() => {
60
- n(c, d);
61
- }, [c, d]), /* @__PURE__ */ (0, I.jsxs)("div", {
48
+ }, M = ({ isErrored: e, isRequired: n, onChange: r, value: i, verificationService: a, disabled: s = !1 }) => {
49
+ let c = "marketConsentValue", l = `sid-${p(c)}-error`, u = `sid-${p(c)}-label`, d = k.useCallback((e) => {
50
+ if (n && !e) return "marketConsentRequired";
51
+ }, [n]), f = (a && a.programTheme && t(a.programTheme) || {}).message || "Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more";
52
+ return k.useEffect(() => {
53
+ o(c, d);
54
+ }, [c, d]), k.useEffect(() => {
55
+ o(c, d);
56
+ }, [c, d]), /* @__PURE__ */ (0, A.jsxs)("div", {
62
57
  className: "sid-field sid-opt-in",
63
- children: [/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }), /* @__PURE__ */ (0, I.jsx)("div", {
58
+ children: [/* @__PURE__ */ (0, A.jsx)("div", { className: "sid-l-space-top-md" }), /* @__PURE__ */ (0, A.jsx)("div", {
64
59
  className: "sid-l-position",
65
- children: /* @__PURE__ */ (0, I.jsxs)("label", {
60
+ children: /* @__PURE__ */ (0, A.jsxs)("label", {
66
61
  htmlFor: "sid-opt-in__optIn",
67
62
  children: [
68
- /* @__PURE__ */ (0, I.jsx)(L, {
63
+ /* @__PURE__ */ (0, A.jsx)(j, {
69
64
  id: "optIn",
70
65
  ariaLabelledby: u,
71
66
  ariaDescribedBy: e ? l : void 0,
@@ -74,26 +69,26 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
74
69
  value: i,
75
70
  disabled: s
76
71
  }),
77
- /* @__PURE__ */ (0, I.jsx)("div", {
72
+ /* @__PURE__ */ (0, A.jsx)("div", {
78
73
  className: "sid-field__label sid-checkbox__label",
79
74
  id: u,
80
- children: a ? /* @__PURE__ */ (0, I.jsx)(C, {
75
+ children: a ? /* @__PURE__ */ (0, A.jsx)(v, {
81
76
  id: "companyName",
82
77
  defaultMessage: "{Company}",
83
- children: (e) => /* @__PURE__ */ (0, I.jsx)(C, {
78
+ children: (e) => /* @__PURE__ */ (0, A.jsx)(v, {
84
79
  id: "optIn",
85
80
  values: { company: e },
86
81
  defaultMessage: f
87
82
  })
88
- }) : /* @__PURE__ */ (0, I.jsx)(C, {
83
+ }) : /* @__PURE__ */ (0, A.jsx)(v, {
89
84
  id: "optIn",
90
85
  defaultMessage: f
91
86
  })
92
87
  }),
93
- e && /* @__PURE__ */ (0, I.jsx)("div", {
88
+ e && /* @__PURE__ */ (0, A.jsx)("div", {
94
89
  className: "sid-field-error",
95
90
  id: l,
96
- children: /* @__PURE__ */ (0, I.jsx)(C, {
91
+ children: /* @__PURE__ */ (0, A.jsx)(v, {
97
92
  id: "errorId.invalidOptIn",
98
93
  defaultMessage: "Must be selected to continue"
99
94
  })
@@ -102,17 +97,17 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
102
97
  })
103
98
  })]
104
99
  });
105
- }, z = ({ verificationService: e, isErrored: t, onChange: n, viewModel: r, disabled: i = !1 }) => {
106
- let { programTheme: a } = e, s = o(a);
107
- return T("marketConsentValue")?.hidden ? null : s.enabled ? /* @__PURE__ */ (0, I.jsx)(R, {
108
- isErrored: t,
100
+ }, N = ({ verificationService: e, isErrored: n, onChange: r, viewModel: i, disabled: a = !1 }) => {
101
+ let { programTheme: o } = e, s = t(o);
102
+ return c("marketConsentValue")?.hidden ? null : s.enabled ? /* @__PURE__ */ (0, A.jsx)(M, {
103
+ isErrored: n,
109
104
  isRequired: s.required,
110
105
  verificationService: e,
111
- value: r.metadata && r.metadata.marketConsentValue || !1,
112
- onChange: (e) => n(e),
113
- disabled: i
106
+ value: i.metadata && i.metadata.marketConsentValue || !1,
107
+ onChange: (e) => r(e),
108
+ disabled: a
114
109
  }) : null;
115
- }, ee = /* @__PURE__ */ i((/* @__PURE__ */ t(((e, t) => {
110
+ }, P = /* @__PURE__ */ i((/* @__PURE__ */ e(((e, t) => {
116
111
  t.exports = function(e) {
117
112
  var t = {};
118
113
  function n(r) {
@@ -153,7 +148,7 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
153
148
  }, n.p = "", n(n.s = 9);
154
149
  }([
155
150
  function(e, t) {
156
- e.exports = y();
151
+ e.exports = _();
157
152
  },
158
153
  function(e, t, n) {
159
154
  var r;
@@ -459,38 +454,38 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
459
454
  n[++t] = e;
460
455
  })), n;
461
456
  }
462
- var k, A, j, M = Array.prototype, N = Function.prototype, P = Object.prototype, F = _["__core-js_shared__"], I = (k = /[^.]+$/.exec(F && F.keys && F.keys.IE_PROTO || "")) ? "Symbol(src)_1." + k : "", L = N.toString, R = P.hasOwnProperty, z = P.toString, ee = RegExp("^" + L.call(R).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), te = _.Symbol, ne = _.Uint8Array, re = P.propertyIsEnumerable, ie = M.splice, B = (A = Object.keys, j = Object, function(e) {
457
+ var k, A, j, M = Array.prototype, N = Function.prototype, P = Object.prototype, F = _["__core-js_shared__"], I = (k = /[^.]+$/.exec(F && F.keys && F.keys.IE_PROTO || "")) ? "Symbol(src)_1." + k : "", L = N.toString, R = P.hasOwnProperty, z = P.toString, ee = RegExp("^" + L.call(R).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), te = _.Symbol, ne = _.Uint8Array, re = P.propertyIsEnumerable, ie = M.splice, ae = (A = Object.keys, j = Object, function(e) {
463
458
  return A(j(e));
464
- }), ae = ke(_, "DataView"), V = ke(_, "Map"), oe = ke(_, "Promise"), se = ke(_, "Set"), ce = ke(_, "WeakMap"), H = ke(Object, "create"), U = Q(ae), W = Q(V), G = Q(oe), le = Q(se), ue = Q(ce), de = te ? te.prototype : void 0, fe = de ? de.valueOf : void 0, pe = de ? de.toString : void 0;
465
- function K(e) {
459
+ }), B = X(_, "DataView"), V = X(_, "Map"), H = X(_, "Promise"), oe = X(_, "Set"), se = X(_, "WeakMap"), U = X(Object, "create"), ce = Q(B), le = Q(V), ue = Q(H), de = Q(oe), fe = Q(se), W = te ? te.prototype : void 0, pe = W ? W.valueOf : void 0, me = W ? W.toString : void 0;
460
+ function G(e) {
466
461
  var t = -1, n = e ? e.length : 0;
467
462
  for (this.clear(); ++t < n;) {
468
463
  var r = e[t];
469
464
  this.set(r[0], r[1]);
470
465
  }
471
466
  }
472
- function q(e) {
467
+ function K(e) {
473
468
  var t = -1, n = e ? e.length : 0;
474
469
  for (this.clear(); ++t < n;) {
475
470
  var r = e[t];
476
471
  this.set(r[0], r[1]);
477
472
  }
478
473
  }
479
- function J(e) {
474
+ function q(e) {
480
475
  var t = -1, n = e ? e.length : 0;
481
476
  for (this.clear(); ++t < n;) {
482
477
  var r = e[t];
483
478
  this.set(r[0], r[1]);
484
479
  }
485
480
  }
486
- function me(e) {
481
+ function J(e) {
487
482
  var t = -1, n = e ? e.length : 0;
488
- for (this.__data__ = new J(); ++t < n;) this.add(e[t]);
483
+ for (this.__data__ = new q(); ++t < n;) this.add(e[t]);
489
484
  }
490
485
  function Y(e) {
491
- this.__data__ = new q(e);
486
+ this.__data__ = new K(e);
492
487
  }
493
- function X(e, t) {
488
+ function he(e, t) {
494
489
  var n = $(e) || Re(e) ? function(e, t) {
495
490
  for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
496
491
  return r;
@@ -498,59 +493,59 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
498
493
  for (var a in e) !t && !R.call(e, a) || i && (a == "length" || Ae(a, r)) || n.push(a);
499
494
  return n;
500
495
  }
501
- function he(e, t) {
496
+ function ge(e, t) {
502
497
  for (var n = e.length; n--;) if (Le(e[n][0], t)) return n;
503
498
  return -1;
504
499
  }
505
- K.prototype.clear = function() {
506
- this.__data__ = H ? H(null) : {};
507
- }, K.prototype.delete = function(e) {
500
+ G.prototype.clear = function() {
501
+ this.__data__ = U ? U(null) : {};
502
+ }, G.prototype.delete = function(e) {
508
503
  return this.has(e) && delete this.__data__[e];
509
- }, K.prototype.get = function(e) {
504
+ }, G.prototype.get = function(e) {
510
505
  var t = this.__data__;
511
- if (H) {
506
+ if (U) {
512
507
  var n = t[e];
513
508
  return n === "__lodash_hash_undefined__" ? void 0 : n;
514
509
  }
515
510
  return R.call(t, e) ? t[e] : void 0;
516
- }, K.prototype.has = function(e) {
511
+ }, G.prototype.has = function(e) {
517
512
  var t = this.__data__;
518
- return H ? t[e] !== void 0 : R.call(t, e);
519
- }, K.prototype.set = function(e, t) {
520
- return this.__data__[e] = H && t === void 0 ? "__lodash_hash_undefined__" : t, this;
521
- }, q.prototype.clear = function() {
513
+ return U ? t[e] !== void 0 : R.call(t, e);
514
+ }, G.prototype.set = function(e, t) {
515
+ return this.__data__[e] = U && t === void 0 ? "__lodash_hash_undefined__" : t, this;
516
+ }, K.prototype.clear = function() {
522
517
  this.__data__ = [];
523
- }, q.prototype.delete = function(e) {
524
- var t = this.__data__, n = he(t, e);
518
+ }, K.prototype.delete = function(e) {
519
+ var t = this.__data__, n = ge(t, e);
525
520
  return !(n < 0) && (n == t.length - 1 ? t.pop() : ie.call(t, n, 1), !0);
526
- }, q.prototype.get = function(e) {
527
- var t = this.__data__, n = he(t, e);
521
+ }, K.prototype.get = function(e) {
522
+ var t = this.__data__, n = ge(t, e);
528
523
  return n < 0 ? void 0 : t[n][1];
529
- }, q.prototype.has = function(e) {
530
- return he(this.__data__, e) > -1;
531
- }, q.prototype.set = function(e, t) {
532
- var n = this.__data__, r = he(n, e);
524
+ }, K.prototype.has = function(e) {
525
+ return ge(this.__data__, e) > -1;
526
+ }, K.prototype.set = function(e, t) {
527
+ var n = this.__data__, r = ge(n, e);
533
528
  return r < 0 ? n.push([e, t]) : n[r][1] = t, this;
534
- }, J.prototype.clear = function() {
529
+ }, q.prototype.clear = function() {
535
530
  this.__data__ = {
536
- hash: new K(),
537
- map: new (V || q)(),
538
- string: new K()
531
+ hash: new G(),
532
+ map: new (V || K)(),
533
+ string: new G()
539
534
  };
540
- }, J.prototype.delete = function(e) {
541
- return Oe(this, e).delete(e);
542
- }, J.prototype.get = function(e) {
543
- return Oe(this, e).get(e);
544
- }, J.prototype.has = function(e) {
545
- return Oe(this, e).has(e);
546
- }, J.prototype.set = function(e, t) {
547
- return Oe(this, e).set(e, t), this;
548
- }, me.prototype.add = me.prototype.push = function(e) {
535
+ }, q.prototype.delete = function(e) {
536
+ return ke(this, e).delete(e);
537
+ }, q.prototype.get = function(e) {
538
+ return ke(this, e).get(e);
539
+ }, q.prototype.has = function(e) {
540
+ return ke(this, e).has(e);
541
+ }, q.prototype.set = function(e, t) {
542
+ return ke(this, e).set(e, t), this;
543
+ }, J.prototype.add = J.prototype.push = function(e) {
549
544
  return this.__data__.set(e, "__lodash_hash_undefined__"), this;
550
- }, me.prototype.has = function(e) {
545
+ }, J.prototype.has = function(e) {
551
546
  return this.__data__.has(e);
552
547
  }, Y.prototype.clear = function() {
553
- this.__data__ = new q();
548
+ this.__data__ = new K();
554
549
  }, Y.prototype.delete = function(e) {
555
550
  return this.__data__.delete(e);
556
551
  }, Y.prototype.get = function(e) {
@@ -559,21 +554,21 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
559
554
  return this.__data__.has(e);
560
555
  }, Y.prototype.set = function(e, t) {
561
556
  var n = this.__data__;
562
- if (n instanceof q) {
557
+ if (n instanceof K) {
563
558
  var r = n.__data__;
564
559
  if (!V || r.length < 199) return r.push([e, t]), this;
565
- n = this.__data__ = new J(r);
560
+ n = this.__data__ = new q(r);
566
561
  }
567
562
  return n.set(e, t), this;
568
563
  };
569
- var ge, _e, ve = (ge = function(e, t) {
570
- return e && ye(e, t, Ke);
564
+ var _e, ve, ye = (_e = function(e, t) {
565
+ return e && be(e, t, Ke);
571
566
  }, function(e, t) {
572
567
  if (e == null) return e;
573
- if (!ze(e)) return ge(e, t);
574
- for (var n = e.length, r = _e ? n : -1, i = Object(e); (_e ? r-- : ++r < n) && !1 !== t(i[r], r, i););
568
+ if (!ze(e)) return _e(e, t);
569
+ for (var n = e.length, r = ve ? n : -1, i = Object(e); (ve ? r-- : ++r < n) && !1 !== t(i[r], r, i););
575
570
  return e;
576
- }), ye = function(e) {
571
+ }), be = function(e) {
577
572
  return function(t, n, r) {
578
573
  for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
579
574
  var c = o[e ? s : ++i];
@@ -582,19 +577,19 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
582
577
  return t;
583
578
  };
584
579
  }();
585
- function be(e, t) {
586
- for (var n = 0, r = (t = je(t, e) ? [t] : Ee(t)).length; e != null && n < r;) e = e[Fe(t[n++])];
580
+ function xe(e, t) {
581
+ for (var n = 0, r = (t = je(t, e) ? [t] : De(t)).length; e != null && n < r;) e = e[Fe(t[n++])];
587
582
  return n && n == r ? e : void 0;
588
583
  }
589
- function xe(e, t) {
584
+ function Se(e, t) {
590
585
  return e != null && t in Object(e);
591
586
  }
592
- function Se(e, t, n, s, c) {
587
+ function Ce(e, t, n, s, c) {
593
588
  return e === t || (e == null || t == null || !He(e) && !Ue(t) ? e != e && t != t : function(e, t, n, s, c, l) {
594
589
  var u = $(e), d = $(t), f = "[object Array]", p = "[object Array]";
595
590
  u || (f = (f = Z(e)) == r ? a : f), d || (p = (p = Z(t)) == r ? a : p);
596
591
  var m = f == a && !E(e), h = p == a && !E(t), g = f == p;
597
- if (g && !m) return l ||= new Y(), u || Ge(e) ? De(e, t, n, s, c, l) : function(e, t, n, r, a, s, c) {
592
+ if (g && !m) return l ||= new Y(), u || Ge(e) ? Oe(e, t, n, s, c, l) : function(e, t, n, r, a, s, c) {
598
593
  switch (n) {
599
594
  case "[object DataView]":
600
595
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
@@ -613,9 +608,9 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
613
608
  var d = c.get(e);
614
609
  if (d) return d == t;
615
610
  s |= 1, c.set(e, t);
616
- var f = De(l(e), l(t), r, a, s, c);
611
+ var f = Oe(l(e), l(t), r, a, s, c);
617
612
  return c.delete(e), f;
618
- case "[object Symbol]": if (fe) return fe.call(e) == fe.call(t);
613
+ case "[object Symbol]": if (pe) return pe.call(e) == pe.call(t);
619
614
  }
620
615
  return !1;
621
616
  }(e, t, f, n, s, c, l);
@@ -653,31 +648,31 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
653
648
  }
654
649
  return a.delete(e), a.delete(t), f;
655
650
  }(e, t, n, s, c, l)) : !1;
656
- }(e, t, Se, n, s, c));
651
+ }(e, t, Ce, n, s, c));
657
652
  }
658
- function Ce(e) {
653
+ function we(e) {
659
654
  return !(!He(e) || function(e) {
660
655
  return !!I && I in e;
661
656
  }(e)) && (Be(e) || E(e) ? ee : f).test(Q(e));
662
657
  }
663
- function we(e) {
658
+ function Te(e) {
664
659
  return typeof e == "function" ? e : e == null ? qe : typeof e == "object" ? $(e) ? function(e, t) {
665
660
  return je(e) && Me(t) ? Ne(Fe(e), t) : function(n) {
666
661
  var r = function(e, t, n) {
667
- var r = e == null ? void 0 : be(e, t);
662
+ var r = e == null ? void 0 : xe(e, t);
668
663
  return r === void 0 ? n : r;
669
664
  }(n, e);
670
665
  return r === void 0 && r === t ? function(e, t) {
671
666
  return e != null && function(e, t, n) {
672
- t = je(t, e) ? [t] : Ee(t);
667
+ t = je(t, e) ? [t] : De(t);
673
668
  for (var r, i = -1, a = t.length; ++i < a;) {
674
669
  var o = Fe(t[i]);
675
670
  if (!(r = e != null && n(e, o))) break;
676
671
  e = e[o];
677
672
  }
678
673
  return r || !!(a = e ? e.length : 0) && Ve(a) && Ae(o, a) && ($(e) || Re(e));
679
- }(e, t, xe);
680
- }(n, e) : Se(t, r, void 0, 3);
674
+ }(e, t, Se);
675
+ }(n, e) : Ce(t, r, void 0, 3);
681
676
  };
682
677
  }(e[0], e[1]) : function(e) {
683
678
  var t = function(e) {
@@ -706,7 +701,7 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
706
701
  } else {
707
702
  var d = new Y();
708
703
  if (r) var f = r(l, u, c, e, t, d);
709
- if (!(f === void 0 ? Se(u, l, r, 3, d) : f)) return !1;
704
+ if (!(f === void 0 ? Ce(u, l, r, 3, d) : f)) return !1;
710
705
  }
711
706
  }
712
707
  return !0;
@@ -716,26 +711,26 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
716
711
  return e?.[n];
717
712
  }) : function(e) {
718
713
  return function(t) {
719
- return be(t, e);
714
+ return xe(t, e);
720
715
  };
721
716
  }(t);
722
717
  var t, n;
723
718
  }
724
- function Te(e) {
725
- if (n = (t = e) && t.constructor, r = typeof n == "function" && n.prototype || P, t !== r) return B(e);
719
+ function Ee(e) {
720
+ if (n = (t = e) && t.constructor, r = typeof n == "function" && n.prototype || P, t !== r) return ae(e);
726
721
  var t, n, r, i = [];
727
722
  for (var a in Object(e)) R.call(e, a) && a != "constructor" && i.push(a);
728
723
  return i;
729
724
  }
730
- function Ee(e) {
725
+ function De(e) {
731
726
  return $(e) ? e : Pe(e);
732
727
  }
733
- function De(e, t, n, r, i, a) {
728
+ function Oe(e, t, n, r, i, a) {
734
729
  var o = 2 & i, s = e.length, c = t.length;
735
730
  if (s != c && !(o && c > s)) return !1;
736
731
  var l = a.get(e);
737
732
  if (l && a.get(t)) return l == t;
738
- var u = -1, d = !0, f = 1 & i ? new me() : void 0;
733
+ var u = -1, d = !0, f = 1 & i ? new J() : void 0;
739
734
  for (a.set(e, t), a.set(t, e); ++u < s;) {
740
735
  var p = e[u], m = t[u];
741
736
  if (r) var h = o ? r(m, p, u, t, e, a) : r(p, m, u, e, t, a);
@@ -758,15 +753,15 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
758
753
  }
759
754
  return a.delete(e), a.delete(t), d;
760
755
  }
761
- function Oe(e, t) {
756
+ function ke(e, t) {
762
757
  var n, r, i = e.__data__;
763
758
  return ((r = typeof (n = t)) == "string" || r == "number" || r == "symbol" || r == "boolean" ? n !== "__proto__" : n === null) ? i[typeof t == "string" ? "string" : "hash"] : i.map;
764
759
  }
765
- function ke(e, t) {
760
+ function X(e, t) {
766
761
  var n = function(e, t) {
767
762
  return e?.[t];
768
763
  }(e, t);
769
- return Ce(n) ? n : void 0;
764
+ return we(n) ? n : void 0;
770
765
  }
771
766
  var Z = function(e) {
772
767
  return z.call(e);
@@ -787,14 +782,14 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
787
782
  return n != null && n[e] === t && (t !== void 0 || e in Object(n));
788
783
  };
789
784
  }
790
- (ae && Z(new ae(/* @__PURE__ */ new ArrayBuffer(1))) != "[object DataView]" || V && Z(new V()) != i || oe && Z(oe.resolve()) != "[object Promise]" || se && Z(new se()) != o || ce && Z(new ce()) != "[object WeakMap]") && (Z = function(e) {
785
+ (B && Z(new B(/* @__PURE__ */ new ArrayBuffer(1))) != "[object DataView]" || V && Z(new V()) != i || H && Z(H.resolve()) != "[object Promise]" || oe && Z(new oe()) != o || se && Z(new se()) != "[object WeakMap]") && (Z = function(e) {
791
786
  var t = z.call(e), n = t == a ? e.constructor : void 0, r = n ? Q(n) : void 0;
792
787
  if (r) switch (r) {
793
- case U: return "[object DataView]";
794
- case W: return i;
795
- case G: return "[object Promise]";
796
- case le: return o;
797
- case ue: return "[object WeakMap]";
788
+ case ce: return "[object DataView]";
789
+ case le: return i;
790
+ case ue: return "[object Promise]";
791
+ case de: return o;
792
+ case fe: return "[object WeakMap]";
798
793
  }
799
794
  return t;
800
795
  });
@@ -802,7 +797,7 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
802
797
  var t;
803
798
  e = (t = e) == null ? "" : function(e) {
804
799
  if (typeof e == "string") return e;
805
- if (We(e)) return pe ? pe.call(e) : "";
800
+ if (We(e)) return me ? me.call(e) : "";
806
801
  var t = e + "";
807
802
  return t == "0" && 1 / e == -Infinity ? "-0" : t;
808
803
  }(t);
@@ -835,7 +830,7 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
835
830
  var o = e.apply(this, r);
836
831
  return n.cache = a.set(i, o), o;
837
832
  };
838
- return n.cache = new (Ie.Cache || J)(), n;
833
+ return n.cache = new (Ie.Cache || q)(), n;
839
834
  }
840
835
  function Le(e, t) {
841
836
  return e === t || e != e && t != t;
@@ -845,7 +840,7 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
845
840
  return Ue(e) && ze(e);
846
841
  }(e) && R.call(e, "callee") && (!re.call(e, "callee") || z.call(e) == r);
847
842
  }
848
- Ie.Cache = J;
843
+ Ie.Cache = q;
849
844
  var $ = Array.isArray;
850
845
  function ze(e) {
851
846
  return e != null && Ve(e.length) && !Be(e);
@@ -875,14 +870,14 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
875
870
  return Ue(e) && Ve(e.length) && !!m[z.call(e)];
876
871
  };
877
872
  function Ke(e) {
878
- return ze(e) ? X(e) : Te(e);
873
+ return ze(e) ? he(e) : Ee(e);
879
874
  }
880
875
  function qe(e) {
881
876
  return e;
882
877
  }
883
878
  n.exports = function(e, t, n) {
884
879
  var r = $(e) ? C : T, i = arguments.length < 3;
885
- return r(e, we(t), n, i, ve);
880
+ return r(e, Te(t), n, i, ye);
886
881
  };
887
882
  }).call(this, n(3), n(7)(e));
888
883
  },
@@ -3222,39 +3217,39 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
3222
3217
  }, t.default = F;
3223
3218
  }
3224
3219
  ]);
3225
- })))(), 1), te = ee.default.default || ee.default, ne = m(({ value: e, isErrored: t, onChange: n, explanation: r, onCarrierConsentChange: i, intl: a, isRequired: o = !1, onKeyDown: s = void 0, placeholder: c = "", displaySmsConsent: l = !0, requireCarrierConsent: u = !1, carrierConsent: d = !1, internationalSupport: f = !1, selectedCountryCode: p = "us", disabled: m = !1, label: h }) => {
3226
- let [_, v] = F.useState(""), y = () => o ? "" : /* @__PURE__ */ (0, I.jsx)(C, {
3220
+ })))(), 1), F = P.default.default || P.default, I = f(({ value: e, isErrored: t, onChange: n, explanation: r, onCarrierConsentChange: i, intl: a, isRequired: o = !1, onKeyDown: s = void 0, placeholder: l = "", displaySmsConsent: u = !0, requireCarrierConsent: d = !1, carrierConsent: f = !1, internationalSupport: p = !1, selectedCountryCode: m = "us", disabled: h = !1, label: g }) => {
3221
+ let [_, y] = k.useState(""), x = () => o ? "" : /* @__PURE__ */ (0, A.jsx)(v, {
3227
3222
  id: "phoneNumberExplanation",
3228
3223
  defaultMessage: "Optional - get text notifications of status updates"
3229
- }), b = (0, F.useRef)(null), x = "sid-phone-number-error", S = (e, t) => {
3230
- _ || v(t.dialCode), e.slice(_.length) ? n(`+${e}`) : n("");
3224
+ }), S = (0, k.useRef)(null), w = "sid-phone-number-error", T = (e, t) => {
3225
+ _ || y(t.dialCode), e.slice(_.length) ? n(`+${e}`) : n("");
3231
3226
  };
3232
- return (0, F.useEffect)(() => {
3233
- b.current && g("phoneNumber", b.current);
3234
- }), T("phoneNumber")?.hidden ? null : /* @__PURE__ */ (0, I.jsxs)("div", {
3227
+ return (0, k.useEffect)(() => {
3228
+ S.current && b("phoneNumber", S.current);
3229
+ }), c("phoneNumber")?.hidden ? null : /* @__PURE__ */ (0, A.jsxs)("div", {
3235
3230
  className: "sid-field sid-phone-number",
3236
3231
  children: [
3237
- /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
3238
- /* @__PURE__ */ (0, I.jsx)(D, {
3239
- text: h || /* @__PURE__ */ (0, I.jsx)(C, {
3232
+ /* @__PURE__ */ (0, A.jsx)("div", { className: "sid-l-space-top-md" }),
3233
+ /* @__PURE__ */ (0, A.jsx)(C, {
3234
+ text: g || /* @__PURE__ */ (0, A.jsx)(v, {
3240
3235
  id: "phoneNumber",
3241
3236
  defaultMessage: "Mobile Number"
3242
3237
  }),
3243
3238
  htmlForLabel: "sid-phone-number",
3244
3239
  id: "sid-phone-number-label",
3245
- displayClasses: `sid-field__label-with-explanation${c && "sid-h-screen-reader-only"}`,
3240
+ displayClasses: `sid-field__label-with-explanation${l && "sid-h-screen-reader-only"}`,
3246
3241
  isRequired: o,
3247
- children: r || y()
3242
+ children: r || x()
3248
3243
  }),
3249
- /* @__PURE__ */ (0, I.jsx)(te, {
3250
- country: p.toLowerCase(),
3244
+ /* @__PURE__ */ (0, A.jsx)(F, {
3245
+ country: m.toLowerCase(),
3251
3246
  containerClass: "react-tel-input sid-phone-number__wrapper",
3252
3247
  inputClass: `sid-text-input sid-phone-number__field sid-phone-number__field--intl ${o ? "sid-text-input--required" : ""} sid-l-full-width ${t ? "sid-text-input--error" : ""}`,
3253
3248
  autoFormat: !1,
3254
3249
  value: e || `${_}`,
3255
- onChange: (e, t) => S(e, t),
3256
- placeholder: c,
3257
- ref: b,
3250
+ onChange: (e, t) => T(e, t),
3251
+ placeholder: l,
3252
+ ref: S,
3258
3253
  inputProps: {
3259
3254
  id: "sid-phone-number",
3260
3255
  name: "sid-phone-number",
@@ -3262,42 +3257,42 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
3262
3257
  "data-testid": "phone-number-input"
3263
3258
  },
3264
3259
  "aria-labelledby": "sid-phone-number-label",
3265
- "aria-describedby": t ? x : "",
3260
+ "aria-describedby": t ? w : "",
3266
3261
  "aria-invalid": t,
3267
3262
  countryCodeEditable: !1,
3268
- disabled: m,
3263
+ disabled: h,
3269
3264
  disableCountryGuess: !0
3270
3265
  }),
3271
- t && /* @__PURE__ */ (0, I.jsx)("div", {
3266
+ t && /* @__PURE__ */ (0, A.jsx)("div", {
3272
3267
  className: "sid-field-error",
3273
- id: x,
3274
- children: /* @__PURE__ */ (0, I.jsx)(C, {
3268
+ id: w,
3269
+ children: /* @__PURE__ */ (0, A.jsx)(v, {
3275
3270
  id: "errorId.invalidPhoneNumber",
3276
3271
  defaultMessage: "Invalid mobile number"
3277
3272
  })
3278
3273
  }),
3279
- l && /* @__PURE__ */ (0, I.jsx)("div", {
3274
+ u && /* @__PURE__ */ (0, A.jsx)("div", {
3280
3275
  className: "sid-h-small-text sid-l-space-top-md sid-sms-consent",
3281
- children: /* @__PURE__ */ (0, I.jsx)(C, {
3276
+ children: /* @__PURE__ */ (0, A.jsx)(v, {
3282
3277
  id: "phoneNumberWarnMessage1",
3283
3278
  defaultMessage: "By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply."
3284
3279
  })
3285
3280
  }),
3286
- u && /* @__PURE__ */ (0, I.jsx)("div", {
3281
+ d && /* @__PURE__ */ (0, A.jsx)("div", {
3287
3282
  className: "sid-l-position sid-carrier-disclosure-consent",
3288
- children: /* @__PURE__ */ (0, I.jsx)("div", {
3283
+ children: /* @__PURE__ */ (0, A.jsx)("div", {
3289
3284
  className: "sid-h-small-text sid-l-space-top-md",
3290
- children: /* @__PURE__ */ (0, I.jsxs)("label", {
3285
+ children: /* @__PURE__ */ (0, A.jsxs)("label", {
3291
3286
  htmlFor: "sid-opt-in__carrier-consent",
3292
- children: [/* @__PURE__ */ (0, I.jsx)(L, {
3287
+ children: [/* @__PURE__ */ (0, A.jsx)(j, {
3293
3288
  id: "carrier-consent",
3294
- ariaDescribedBy: x,
3289
+ ariaDescribedBy: w,
3295
3290
  isErrored: !!t,
3296
- value: d,
3291
+ value: f,
3297
3292
  onChange: (e) => i && i(e)
3298
- }), /* @__PURE__ */ (0, I.jsx)("div", {
3293
+ }), /* @__PURE__ */ (0, A.jsx)("div", {
3299
3294
  className: "sid-field__label sid-checkbox__label",
3300
- children: /* @__PURE__ */ (0, I.jsx)(C, {
3295
+ children: /* @__PURE__ */ (0, A.jsx)(v, {
3301
3296
  id: "phoneNumberWarnMessage2",
3302
3297
  defaultMessage: "You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud."
3303
3298
  })
@@ -3307,7 +3302,7 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
3307
3302
  })
3308
3303
  ]
3309
3304
  });
3310
- }), re = m(({ value: e, isErrored: t, onChange: n, intl: r, placeholder: i = "", disabled: a = !1 }) => T("firstName")?.hidden ? null : /* @__PURE__ */ (0, I.jsx)(A, {
3305
+ }), L = f(({ value: e, isErrored: t, onChange: n, intl: r, placeholder: i = "", disabled: a = !1 }) => c("firstName")?.hidden ? null : /* @__PURE__ */ (0, A.jsx)(E, {
3311
3306
  fieldId: "firstName",
3312
3307
  autoComplete: "given-name",
3313
3308
  value: e,
@@ -3316,17 +3311,17 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
3316
3311
  id: "firstNamePlaceholder",
3317
3312
  defaultMessage: "First Name"
3318
3313
  }),
3319
- label: /* @__PURE__ */ (0, I.jsx)(C, {
3314
+ label: /* @__PURE__ */ (0, A.jsx)(v, {
3320
3315
  id: "firstName",
3321
3316
  defaultMessage: "First name"
3322
3317
  }),
3323
- errorMessage: t && /* @__PURE__ */ (0, I.jsx)(C, {
3318
+ errorMessage: t && /* @__PURE__ */ (0, A.jsx)(v, {
3324
3319
  id: "errorId.invalidFirstName",
3325
3320
  defaultMessage: "Invalid first name"
3326
3321
  }),
3327
3322
  showPlaceholderAndHideLabel: !!i,
3328
3323
  disabled: a
3329
- })), ie = m(({ value: e, isErrored: t, onChange: n, intl: r, placeholder: i = "", disabled: a = !1 }) => T("lastName")?.hidden ? null : /* @__PURE__ */ (0, I.jsx)(A, {
3324
+ })), R = f(({ value: e, isErrored: t, onChange: n, intl: r, placeholder: i = "", disabled: a = !1 }) => c("lastName")?.hidden ? null : /* @__PURE__ */ (0, A.jsx)(E, {
3330
3325
  fieldId: "lastName",
3331
3326
  autoComplete: "family-name",
3332
3327
  value: e,
@@ -3335,22 +3330,22 @@ var F = /* @__PURE__ */ i(y(), 1), I = f(), L = ({ isErrored: e, onChange: t, va
3335
3330
  id: "lastNamePlaceholder",
3336
3331
  defaultMessage: "Last Name"
3337
3332
  }),
3338
- label: /* @__PURE__ */ (0, I.jsx)(C, {
3333
+ label: /* @__PURE__ */ (0, A.jsx)(v, {
3339
3334
  id: "lastName",
3340
3335
  defaultMessage: "Last name"
3341
3336
  }),
3342
- errorMessage: t && /* @__PURE__ */ (0, I.jsx)(C, {
3337
+ errorMessage: t && /* @__PURE__ */ (0, A.jsx)(v, {
3343
3338
  id: "errorId.invalidLastName",
3344
3339
  defaultMessage: "Invalid last name"
3345
3340
  }),
3346
3341
  showPlaceholderAndHideLabel: !!i,
3347
3342
  disabled: a
3348
- })), B = (e) => {
3343
+ })), z = (e) => {
3349
3344
  if (e) return e < 10 ? `0${e}` : e.toString();
3350
3345
  };
3351
3346
  //#endregion
3352
3347
  //#region src/components/DateComponent/isDayFirst.ts
3353
- function ae(e) {
3348
+ function ee(e) {
3354
3349
  let t = new Date(2222, 0, 3);
3355
3350
  try {
3356
3351
  return new Intl.DateTimeFormat(e).format(t).replace("0", "").startsWith("3");
@@ -3358,8 +3353,8 @@ function ae(e) {
3358
3353
  return !1;
3359
3354
  }
3360
3355
  }
3361
- var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i = "2000-01-01", errorMsg: a, label: o, explanation: s, fieldName: c, fieldId: l, mode: u = "date", locale: d = p, disabled: f = !1, autoComplete: m }) => {
3362
- let g = `sid-${l}`, _ = `sid-${l}-error`, v = i.split("-"), y = Number.parseInt(v[0], 10) || void 0, b = Number.parseInt(v[1], 10) || void 0, x = u === "month" ? 1 : Number.parseInt(v[2], 10) || void 0, S = [
3356
+ var te = f(({ onChange: e, intl: t, isErrored: n, isRequired: i = !0, value: a = "2000-01-01", errorMsg: o, label: s, explanation: c, fieldName: l, fieldId: u, mode: f = "date", locale: p = d, disabled: m = !1, autoComplete: h }) => {
3357
+ let g = `sid-${u}`, _ = `sid-${u}-error`, v = a.split("-"), y = Number.parseInt(v[0], 10) || void 0, b = Number.parseInt(v[1], 10) || void 0, x = f === "month" ? 1 : Number.parseInt(v[2], 10) || void 0, S = [
3363
3358
  {
3364
3359
  value: "1",
3365
3360
  label: t.formatHTMLMessage({
@@ -3444,46 +3439,46 @@ var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i =
3444
3439
  defaultMessage: "December"
3445
3440
  })
3446
3441
  }
3447
- ], C = (e, t, n) => (!n || n === "") && (!t || t === "") && (!e || e === ""), w = (t) => {
3448
- if (C(y, t, x)) {
3442
+ ], w = (e, t, n) => (!n || n === "") && (!t || t === "") && (!e || e === ""), E = (t) => {
3443
+ if (w(y, t, x)) {
3449
3444
  e("");
3450
3445
  return;
3451
3446
  }
3452
3447
  (t === "" || t === null) && e(`${y}--${x}`);
3453
3448
  let n = Number.parseInt(t, 10);
3454
- typeof n == "number" && n >= 1 && n <= 12 ? e(`${y}-${B(t)}-${B(x)}`) : h.warn(`Value '${n}' is an invalid month`);
3455
- }, T = (t) => {
3456
- if (C(y, b, t)) {
3449
+ typeof n == "number" && n >= 1 && n <= 12 ? e(`${y}-${z(t)}-${z(x)}`) : r.warn(`Value '${n}' is an invalid month`);
3450
+ }, D = (t) => {
3451
+ if (w(y, b, t)) {
3457
3452
  e("");
3458
3453
  return;
3459
3454
  }
3460
3455
  t === "" && e(`${y}-${b}-`);
3461
3456
  let n = Number.parseInt(t, 10);
3462
- typeof n == "number" && n >= 1 && n <= 31 ? e(`${y}-${B(b)}-${B(n)}`) : h.warn(`Value '${n}' is an invalid day`);
3463
- }, E = (t) => {
3464
- if (C(t, b, x)) {
3457
+ typeof n == "number" && n >= 1 && n <= 31 ? e(`${y}-${z(b)}-${z(n)}`) : r.warn(`Value '${n}' is an invalid day`);
3458
+ }, k = (t) => {
3459
+ if (w(t, b, x)) {
3465
3460
  e("");
3466
3461
  return;
3467
3462
  }
3468
3463
  t === "" && e(`-${b}-${x}`);
3469
3464
  let n = Number.parseInt(t, 10);
3470
- typeof n == "number" && n >= 1 ? e(`${n}-${B(b)}-${B(x)}`) : h.warn(`Value '${n}' is an invalid year`);
3471
- }, O = () => {
3472
- e(!x && !b && !y ? "" : `${y}-${B(b)}-${B(x)}`);
3473
- }, A = `${g}__month`, j = `${g}-label`, N = /* @__PURE__ */ (0, I.jsx)("div", {
3465
+ typeof n == "number" && n >= 1 ? e(`${n}-${z(b)}-${z(x)}`) : r.warn(`Value '${n}' is an invalid year`);
3466
+ }, j = () => {
3467
+ e(!x && !b && !y ? "" : `${y}-${z(b)}-${z(x)}`);
3468
+ }, M = `${g}__month`, N = `${g}-label`, P = /* @__PURE__ */ (0, A.jsx)("div", {
3474
3469
  className: "sid-field-error",
3475
3470
  id: _,
3476
- children: a
3477
- }), P = /* @__PURE__ */ (0, I.jsx)(M, {
3471
+ children: o
3472
+ }), F = /* @__PURE__ */ (0, A.jsx)(O, {
3478
3473
  className: `${g}__month sid-date__month`,
3479
- fieldId: c,
3480
- inputId: A,
3481
- fieldLabelId: j,
3474
+ fieldId: l,
3475
+ inputId: M,
3476
+ fieldLabelId: N,
3482
3477
  ariaDescribedBy: n ? _ : void 0,
3483
3478
  isErrored: n,
3484
3479
  options: S,
3485
3480
  onChange: (e) => {
3486
- w(e ? e.value : null);
3481
+ E(e ? e.value : null);
3487
3482
  },
3488
3483
  placeholder: t.formatHTMLMessage({
3489
3484
  id: "dateTime.month",
@@ -3491,19 +3486,19 @@ var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i =
3491
3486
  }),
3492
3487
  suppressPlaceholder: !1,
3493
3488
  value: b ? S[b - 1] : void 0,
3494
- isRequired: r,
3489
+ isRequired: i,
3495
3490
  buttonRef: "inputSelectButtonBirthDate",
3496
- disabled: f,
3497
- autoComplete: m ? `${m}-month` : void 0
3498
- }), F = u === "date" && /* @__PURE__ */ (0, I.jsx)(k, {
3491
+ disabled: m,
3492
+ autoComplete: h ? `${h}-month` : void 0
3493
+ }), I = f === "date" && /* @__PURE__ */ (0, A.jsx)(T, {
3499
3494
  className: `${g}__day sid-date__day sid-text-input sid-text-input--required ${n ? "sid-text-input--error" : ""}`,
3500
- id: `${l}-day`,
3495
+ id: `${u}-day`,
3501
3496
  isErrored: n,
3502
3497
  min: 1,
3503
3498
  max: 31,
3504
3499
  name: `${g}-day`,
3505
- onChange: (e) => T(e.target.value),
3506
- onBlur: O,
3500
+ onChange: (e) => D(e.target.value),
3501
+ onBlur: j,
3507
3502
  pattern: "\\d*",
3508
3503
  placeholder: t.formatHTMLMessage({
3509
3504
  id: "dateTime.day",
@@ -3514,16 +3509,16 @@ var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i =
3514
3509
  id: "dateTime.day",
3515
3510
  defaultMessage: "Day"
3516
3511
  }),
3517
- "aria-labelledby": j,
3518
- "aria-required": r,
3519
- refId: `${c}Day`,
3512
+ "aria-labelledby": N,
3513
+ "aria-required": i,
3514
+ refId: `${l}Day`,
3520
3515
  type: "text",
3521
3516
  value: x || "",
3522
- disabled: f,
3523
- autoComplete: m ? `${m}-day` : void 0
3524
- }), L = /* @__PURE__ */ (0, I.jsx)(k, {
3517
+ disabled: m,
3518
+ autoComplete: h ? `${h}-day` : void 0
3519
+ }), L = /* @__PURE__ */ (0, A.jsx)(T, {
3525
3520
  className: `${g}__year sid-date__year sid-text-input sid-text-input--required ${n ? "sid-text-input--error" : ""}`,
3526
- id: `${l}-year`,
3521
+ id: `${u}-year`,
3527
3522
  name: `${g}-year`,
3528
3523
  type: "text",
3529
3524
  isErrored: n,
@@ -3539,50 +3534,50 @@ var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i =
3539
3534
  id: "dateTime.year",
3540
3535
  defaultMessage: "Year"
3541
3536
  }),
3542
- "aria-labelledby": j,
3543
- "aria-required": r,
3544
- refId: `${c}Year`,
3545
- onChange: (e) => E(e.target.value),
3546
- onBlur: O,
3547
- disabled: f,
3548
- autoComplete: m ? `${m}-year` : void 0
3537
+ "aria-labelledby": N,
3538
+ "aria-required": i,
3539
+ refId: `${l}Year`,
3540
+ onChange: (e) => k(e.target.value),
3541
+ onBlur: j,
3542
+ disabled: m,
3543
+ autoComplete: h ? `${h}-year` : void 0
3549
3544
  });
3550
- return /* @__PURE__ */ (0, I.jsxs)("div", {
3545
+ return /* @__PURE__ */ (0, A.jsxs)("div", {
3551
3546
  className: `sid-field ${g}`,
3552
3547
  children: [
3553
- /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
3554
- /* @__PURE__ */ (0, I.jsx)(D, {
3555
- text: o,
3556
- htmlForLabel: A,
3557
- id: j,
3548
+ /* @__PURE__ */ (0, A.jsx)("div", { className: "sid-l-space-top-md" }),
3549
+ /* @__PURE__ */ (0, A.jsx)(C, {
3550
+ text: s,
3551
+ htmlForLabel: M,
3552
+ id: N,
3558
3553
  displayClasses: "sid-used-for-verification-purposes-label sid-field__label-with-explanation",
3559
- isRequired: r,
3560
- children: s
3554
+ isRequired: i,
3555
+ children: c
3561
3556
  }),
3562
- /* @__PURE__ */ (0, I.jsxs)("div", {
3557
+ /* @__PURE__ */ (0, A.jsxs)("div", {
3563
3558
  className: `${g}__inputs sid-date__inputs`,
3564
- children: [ae(d) ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [F, P] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [P, F] }), L]
3559
+ children: [ee(p) ? /* @__PURE__ */ (0, A.jsxs)(A.Fragment, { children: [I, F] }) : /* @__PURE__ */ (0, A.jsxs)(A.Fragment, { children: [F, I] }), L]
3565
3560
  }),
3566
- n && N
3561
+ n && P
3567
3562
  ]
3568
3563
  });
3569
- }), oe = ({ fieldId: e, value: t, onChange: n, label: r, errorMessage: i, disabled: a = !1 }) => {
3570
- let o = `${e}Label`, s = `sid-${b(o)}`, c = `sid-${b(o)}-error`, l = () => n(!t);
3571
- return /* @__PURE__ */ (0, I.jsxs)("div", {
3572
- className: `sid-field sid-${b(e)}`,
3564
+ }), ne = ({ fieldId: e, value: t, onChange: n, label: r, errorMessage: i, disabled: a = !1 }) => {
3565
+ let o = `${e}Label`, s = `sid-${p(o)}`, c = `sid-${p(o)}-error`, l = () => n(!t);
3566
+ return /* @__PURE__ */ (0, A.jsxs)("div", {
3567
+ className: `sid-field sid-${p(e)}`,
3573
3568
  children: [
3574
- /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
3575
- /* @__PURE__ */ (0, I.jsxs)("div", {
3569
+ /* @__PURE__ */ (0, A.jsx)("div", { className: "sid-l-space-top-md" }),
3570
+ /* @__PURE__ */ (0, A.jsxs)("div", {
3576
3571
  className: "sid-checkbox-flex",
3577
- children: [/* @__PURE__ */ (0, I.jsx)(L, {
3578
- id: b(e),
3572
+ children: [/* @__PURE__ */ (0, A.jsx)(j, {
3573
+ id: p(e),
3579
3574
  isErrored: !!i,
3580
3575
  value: t,
3581
3576
  onChange: l,
3582
3577
  ariaLabelledby: s,
3583
3578
  ariaDescribedBy: i ? c : "",
3584
3579
  disabled: a
3585
- }), /* @__PURE__ */ (0, I.jsx)("div", {
3580
+ }), /* @__PURE__ */ (0, A.jsx)("div", {
3586
3581
  className: "sid-checkbox__label",
3587
3582
  onClick: l,
3588
3583
  onKeyPress: l,
@@ -3592,24 +3587,24 @@ var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i =
3592
3587
  children: r
3593
3588
  })]
3594
3589
  }),
3595
- i ? /* @__PURE__ */ (0, I.jsx)("div", {
3590
+ i ? /* @__PURE__ */ (0, A.jsx)("div", {
3596
3591
  className: "sid-field-error",
3597
3592
  id: c,
3598
3593
  children: i
3599
3594
  }) : null
3600
3595
  ]
3601
3596
  });
3602
- }, se = ({ value: e, options: t, onChange: n, fieldId: r, label: i, placeholder: a = "", errorMessage: o, required: s, showPlaceholderAndHideLabel: c = !1, onKeyDown: l = void 0, disabled: u = !1 }) => {
3603
- let d = `sid-${b(`${r}Label`)}`, f = `sid-${b(r)}-error`;
3604
- return /* @__PURE__ */ (0, I.jsx)(O, {
3597
+ }, re = ({ value: e, options: t, onChange: n, fieldId: r, label: i, placeholder: a = "", errorMessage: o, required: s, showPlaceholderAndHideLabel: c = !1, onKeyDown: l = void 0, disabled: u = !1 }) => {
3598
+ let d = `sid-${p(`${r}Label`)}`, f = `sid-${p(r)}-error`;
3599
+ return /* @__PURE__ */ (0, A.jsx)(w, {
3605
3600
  fieldId: r,
3606
3601
  label: i,
3607
3602
  errorMessage: o,
3608
3603
  showPlaceholderAndHideLabel: c,
3609
3604
  isRequired: s,
3610
- children: /* @__PURE__ */ (0, I.jsx)(M, {
3605
+ children: /* @__PURE__ */ (0, A.jsx)(O, {
3611
3606
  fieldId: r,
3612
- inputId: `sid-${b(r)}`,
3607
+ inputId: `sid-${p(r)}`,
3613
3608
  fieldLabelId: d,
3614
3609
  isErrored: !!o,
3615
3610
  options: t,
@@ -3623,13 +3618,13 @@ var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i =
3623
3618
  disabled: u
3624
3619
  })
3625
3620
  });
3626
- }, ce = ({ fieldId: e, index: t, option: n, value: r, onChange: i, disabled: a = !1 }) => {
3627
- let o = (0, F.useRef)(null);
3628
- return (0, F.useEffect)(() => {
3629
- g(e, o.current);
3630
- }), /* @__PURE__ */ (0, I.jsxs)("label", {
3621
+ }, ie = ({ fieldId: e, index: t, option: n, value: r, onChange: i, disabled: a = !1 }) => {
3622
+ let o = (0, k.useRef)(null);
3623
+ return (0, k.useEffect)(() => {
3624
+ b(e, o.current);
3625
+ }), /* @__PURE__ */ (0, A.jsxs)("label", {
3631
3626
  className: "sid-radio__input sid-radio__input-label",
3632
- children: [/* @__PURE__ */ (0, I.jsx)("input", {
3627
+ children: [/* @__PURE__ */ (0, A.jsx)("input", {
3633
3628
  id: `sid-radio__${e}-${t}`,
3634
3629
  name: `sid-${e}`,
3635
3630
  type: "radio",
@@ -3638,21 +3633,21 @@ var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i =
3638
3633
  onChange: (e) => e.target.checked && i(n.value),
3639
3634
  ref: o,
3640
3635
  disabled: a
3641
- }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.label })]
3636
+ }), /* @__PURE__ */ (0, A.jsx)("span", { children: n.label })]
3642
3637
  });
3643
- }, H = ({ fieldId: e, onChange: t, options: n, label: r, explanation: i = void 0, required: a, errorMessage: o, value: s, disabled: c = !1 }) => {
3644
- let l = b(e), u = E(e);
3645
- return /* @__PURE__ */ (0, I.jsx)(O, {
3638
+ }, ae = ({ fieldId: e, onChange: t, options: n, label: r, explanation: i = void 0, required: a, errorMessage: o, value: s, disabled: c = !1 }) => {
3639
+ let l = p(e), u = S(e);
3640
+ return /* @__PURE__ */ (0, A.jsx)(w, {
3646
3641
  fieldId: l,
3647
3642
  label: r,
3648
3643
  explanation: i,
3649
3644
  errorMessage: o,
3650
3645
  isRequired: a,
3651
- children: /* @__PURE__ */ (0, I.jsx)("div", {
3646
+ children: /* @__PURE__ */ (0, A.jsx)("div", {
3652
3647
  role: "group",
3653
3648
  className: `sid-radio__inputs sid-${l}__inputs sid-radio-grid${o ? " sid-radio__inputs--error" : ""}`,
3654
3649
  "aria-labelledby": u,
3655
- children: n.map((n, r) => /* @__PURE__ */ (0, I.jsx)(ce, {
3650
+ children: n.map((n, r) => /* @__PURE__ */ (0, A.jsx)(ie, {
3656
3651
  fieldId: e,
3657
3652
  index: r,
3658
3653
  option: n,
@@ -3662,120 +3657,120 @@ var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i =
3662
3657
  }, n.value))
3663
3658
  })
3664
3659
  });
3665
- }, U = {
3660
+ }, B = {
3666
3661
  TEXT: "text",
3667
3662
  CHECKBOX: "checkbox",
3668
3663
  SELECT: "select",
3669
3664
  RADIO: "radio",
3670
3665
  DATE: "date",
3671
3666
  DATEYM: "dateYm"
3672
- }, W = (e) => `${e.fieldId}Label`, G = (e) => `${e.fieldId}Explanation`, le = (e) => `${e.fieldId}Placeholder`, ue = m(({ config: e, verificationService: t, intl: n }) => {
3673
- let r = a(() => t.viewModel.metadata[e.fieldId]), i = a(() => t.fieldValidationErrors[e.fieldId]), o = (n) => {
3674
- t.updateViewModel(u(t.viewModel, (t) => {
3667
+ }, V = (e) => `${e.fieldId}Label`, H = (e) => `${e.fieldId}Explanation`, oe = (e) => `${e.fieldId}Placeholder`, se = f(({ config: e, verificationService: t, intl: n }) => {
3668
+ let i = y(() => t.viewModel.metadata[e.fieldId]), a = y(() => t.fieldValidationErrors[e.fieldId]), o = (n) => {
3669
+ t.updateViewModel(l(t.viewModel, (t) => {
3675
3670
  t.metadata = t.metadata || {}, t.metadata[e.fieldId] = n;
3676
- })), t.updateFieldValidationErrors(u(t.fieldValidationErrors, (t) => {
3671
+ })), t.updateFieldValidationErrors(l(t.fieldValidationErrors, (t) => {
3677
3672
  e.validate(n) === void 0 && delete t[e.fieldId];
3678
3673
  }));
3679
3674
  };
3680
3675
  switch (e.fieldType) {
3681
- case U.TEXT: return /* @__PURE__ */ (0, I.jsx)(A, {
3676
+ case B.TEXT: return /* @__PURE__ */ (0, A.jsx)(E, {
3682
3677
  fieldId: e.fieldId,
3683
- value: `${r || ""}`,
3678
+ value: `${i || ""}`,
3684
3679
  onChange: o,
3685
3680
  disabled: e.disabled,
3686
3681
  placeholder: n.formatHTMLMessage({
3687
- id: le(e),
3682
+ id: oe(e),
3688
3683
  defaultMessage: e.fieldId
3689
3684
  }),
3690
- label: /* @__PURE__ */ (0, I.jsx)(C, {
3691
- id: W(e),
3685
+ label: /* @__PURE__ */ (0, A.jsx)(v, {
3686
+ id: V(e),
3692
3687
  defaultMessage: e.fieldId
3693
3688
  }),
3694
- explanation: a(() => n.messages[G(e)]) && /* @__PURE__ */ (0, I.jsx)(C, { id: G(e) }),
3695
- errorMessage: i && /* @__PURE__ */ (0, I.jsx)(C, {
3696
- id: `errorId.${i}`,
3689
+ explanation: y(() => n.messages[H(e)]) && /* @__PURE__ */ (0, A.jsx)(v, { id: H(e) }),
3690
+ errorMessage: a && /* @__PURE__ */ (0, A.jsx)(v, {
3691
+ id: `errorId.${a}`,
3697
3692
  defaultMessage: `Invalid ${e.fieldId}`
3698
3693
  }),
3699
3694
  showPlaceholderAndHideLabel: e.showPlaceholderAndHideLabel,
3700
3695
  required: e.required
3701
3696
  });
3702
- case U.CHECKBOX: return /* @__PURE__ */ (0, I.jsx)(oe, {
3697
+ case B.CHECKBOX: return /* @__PURE__ */ (0, A.jsx)(ne, {
3703
3698
  fieldId: e.fieldId,
3704
- value: typeof r == "boolean" ? r : !1,
3699
+ value: typeof i == "boolean" ? i : !1,
3705
3700
  onChange: o,
3706
3701
  disabled: e.disabled,
3707
- label: /* @__PURE__ */ (0, I.jsx)(C, {
3708
- id: W(e),
3702
+ label: /* @__PURE__ */ (0, A.jsx)(v, {
3703
+ id: V(e),
3709
3704
  defaultMessage: e.fieldId
3710
3705
  }),
3711
- errorMessage: i && /* @__PURE__ */ (0, I.jsx)(C, {
3712
- id: `errorId.${i}`,
3706
+ errorMessage: a && /* @__PURE__ */ (0, A.jsx)(v, {
3707
+ id: `errorId.${a}`,
3713
3708
  defaultMessage: `Invalid ${e.fieldId}`
3714
3709
  })
3715
3710
  });
3716
- case U.SELECT: return /* @__PURE__ */ (0, I.jsx)(se, {
3711
+ case B.SELECT: return /* @__PURE__ */ (0, A.jsx)(re, {
3717
3712
  fieldId: e.fieldId,
3718
- value: `${r || ""}`,
3713
+ value: `${i || ""}`,
3719
3714
  onChange: o,
3720
- options: j(e.fieldId, e.options, n),
3715
+ options: D(e.fieldId, e.options, n),
3721
3716
  disabled: e.disabled,
3722
3717
  placeholder: n.formatHTMLMessage({
3723
3718
  id: `${e.fieldId}Placeholder`,
3724
3719
  defaultMessage: e.fieldId
3725
3720
  }),
3726
- label: /* @__PURE__ */ (0, I.jsx)(C, {
3727
- id: W(e),
3721
+ label: /* @__PURE__ */ (0, A.jsx)(v, {
3722
+ id: V(e),
3728
3723
  defaultMessage: e.fieldId
3729
3724
  }),
3730
- errorMessage: i && /* @__PURE__ */ (0, I.jsx)(C, {
3731
- id: `errorId.${i}`,
3725
+ errorMessage: a && /* @__PURE__ */ (0, A.jsx)(v, {
3726
+ id: `errorId.${a}`,
3732
3727
  defaultMessage: `Invalid ${e.fieldId}`
3733
3728
  }),
3734
3729
  showPlaceholderAndHideLabel: e.showPlaceholderAndHideLabel,
3735
3730
  required: e.required
3736
3731
  });
3737
- case U.DATE:
3738
- case U.DATEYM:
3739
- let t = e.fieldType === U.DATEYM ? "month" : void 0;
3740
- return /* @__PURE__ */ (0, I.jsx)(V, {
3732
+ case B.DATE:
3733
+ case B.DATEYM:
3734
+ let t = e.fieldType === B.DATEYM ? "month" : void 0;
3735
+ return /* @__PURE__ */ (0, A.jsx)(te, {
3741
3736
  fieldId: e.fieldId,
3742
3737
  fieldName: e.fieldId,
3743
- value: `${r || ""}`,
3738
+ value: `${i || ""}`,
3744
3739
  onChange: o,
3745
3740
  disabled: e.disabled,
3746
- label: /* @__PURE__ */ (0, I.jsx)(C, {
3747
- id: W(e),
3741
+ label: /* @__PURE__ */ (0, A.jsx)(v, {
3742
+ id: V(e),
3748
3743
  defaultMessage: e.fieldId
3749
3744
  }),
3750
- explanation: a(() => n.messages[G(e)]) && /* @__PURE__ */ (0, I.jsx)(C, { id: G(e) }),
3751
- isErrored: !!i,
3752
- errorMsg: /* @__PURE__ */ (0, I.jsx)(C, {
3753
- id: `errorId.${i}`,
3745
+ explanation: y(() => n.messages[H(e)]) && /* @__PURE__ */ (0, A.jsx)(v, { id: H(e) }),
3746
+ isErrored: !!a,
3747
+ errorMsg: /* @__PURE__ */ (0, A.jsx)(v, {
3748
+ id: `errorId.${a}`,
3754
3749
  defaultMessage: `Invalid ${e.fieldId}`
3755
3750
  }),
3756
3751
  isRequired: e.required,
3757
3752
  mode: t
3758
3753
  });
3759
- case U.RADIO: return /* @__PURE__ */ (0, I.jsx)(H, {
3754
+ case B.RADIO: return /* @__PURE__ */ (0, A.jsx)(ae, {
3760
3755
  onChange: o,
3761
- value: `${r || ""}`,
3762
- options: j(e.fieldId, e.options, n),
3756
+ value: `${i || ""}`,
3757
+ options: D(e.fieldId, e.options, n),
3763
3758
  required: e.required,
3764
3759
  fieldId: e.fieldId,
3765
3760
  disabled: e.disabled,
3766
- label: /* @__PURE__ */ (0, I.jsx)(C, {
3767
- id: W(e),
3761
+ label: /* @__PURE__ */ (0, A.jsx)(v, {
3762
+ id: V(e),
3768
3763
  defaultMessage: e.fieldId
3769
3764
  }),
3770
- explanation: a(() => n.messages[G(e)]) && /* @__PURE__ */ (0, I.jsx)(C, { id: G(e) }),
3771
- errorMessage: i && /* @__PURE__ */ (0, I.jsx)(C, {
3772
- id: `errorId.${i}`,
3765
+ explanation: y(() => n.messages[H(e)]) && /* @__PURE__ */ (0, A.jsx)(v, { id: H(e) }),
3766
+ errorMessage: a && /* @__PURE__ */ (0, A.jsx)(v, {
3767
+ id: `errorId.${a}`,
3773
3768
  defaultMessage: `Invalid ${e.fieldId}`
3774
3769
  })
3775
3770
  });
3776
- default: return h.warn(`Unknown field type: ${e.fieldType}`), null;
3771
+ default: return r.warn(`Unknown field type: ${e.fieldType}`), null;
3777
3772
  }
3778
- }), de = (/* @__PURE__ */ t(((e) => {
3773
+ }), U = (/* @__PURE__ */ e(((e) => {
3779
3774
  var t = e && e.__createBinding || (Object.create ? (function(e, t, n, r) {
3780
3775
  r === void 0 && (r = n);
3781
3776
  var i = Object.getOwnPropertyDescriptor(t, n);
@@ -3801,7 +3796,7 @@ var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i =
3801
3796
  return n(r, e), r;
3802
3797
  };
3803
3798
  Object.defineProperty(e, "__esModule", { value: !0 }), e.useTurnstile = e.Turnstile = void 0;
3804
- var i = r(y()), a = typeof globalThis < "u" ? globalThis : window, o = a.turnstile === void 0 ? "unloaded" : "ready", s, c, l = new Promise((e, t) => {
3799
+ var i = r(_()), a = typeof globalThis < "u" ? globalThis : window, o = a.turnstile === void 0 ? "unloaded" : "ready", s, c, l = new Promise((e, t) => {
3805
3800
  c = {
3806
3801
  resolve: e,
3807
3802
  reject: t
@@ -3931,8 +3926,8 @@ var V = m(({ onChange: e, intl: t, isErrored: n, isRequired: r = !0, value: i =
3931
3926
  }
3932
3927
  e.useTurnstile = f;
3933
3928
  })))();
3934
- function fe({ title: e, titleId: t, ...n }, r) {
3935
- return /* @__PURE__ */ F.createElement("svg", Object.assign({
3929
+ function ce({ title: e, titleId: t, ...n }, r) {
3930
+ return /* @__PURE__ */ k.createElement("svg", Object.assign({
3936
3931
  xmlns: "http://www.w3.org/2000/svg",
3937
3932
  fill: "none",
3938
3933
  viewBox: "0 0 24 24",
@@ -3942,17 +3937,17 @@ function fe({ title: e, titleId: t, ...n }, r) {
3942
3937
  "data-slot": "icon",
3943
3938
  ref: r,
3944
3939
  "aria-labelledby": t
3945
- }, n), e ? /* @__PURE__ */ F.createElement("title", { id: t }, e) : null, /* @__PURE__ */ F.createElement("path", {
3940
+ }, n), e ? /* @__PURE__ */ k.createElement("title", { id: t }, e) : null, /* @__PURE__ */ k.createElement("path", {
3946
3941
  strokeLinecap: "round",
3947
3942
  strokeLinejoin: "round",
3948
3943
  d: "M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"
3949
3944
  }));
3950
3945
  }
3951
- var pe = /* @__PURE__ */ F.forwardRef(fe);
3946
+ var le = /* @__PURE__ */ k.forwardRef(ce);
3952
3947
  //#endregion
3953
3948
  //#region ../node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js
3954
- function K({ title: e, titleId: t, ...n }, r) {
3955
- return /* @__PURE__ */ F.createElement("svg", Object.assign({
3949
+ function ue({ title: e, titleId: t, ...n }, r) {
3950
+ return /* @__PURE__ */ k.createElement("svg", Object.assign({
3956
3951
  xmlns: "http://www.w3.org/2000/svg",
3957
3952
  fill: "none",
3958
3953
  viewBox: "0 0 24 24",
@@ -3962,160 +3957,195 @@ function K({ title: e, titleId: t, ...n }, r) {
3962
3957
  "data-slot": "icon",
3963
3958
  ref: r,
3964
3959
  "aria-labelledby": t
3965
- }, n), e ? /* @__PURE__ */ F.createElement("title", { id: t }, e) : null, /* @__PURE__ */ F.createElement("path", {
3960
+ }, n), e ? /* @__PURE__ */ k.createElement("title", { id: t }, e) : null, /* @__PURE__ */ k.createElement("path", {
3966
3961
  strokeLinecap: "round",
3967
3962
  strokeLinejoin: "round",
3968
3963
  d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
3969
3964
  }));
3970
3965
  }
3971
- var q = /* @__PURE__ */ F.forwardRef(K), J = () => /* @__PURE__ */ (0, I.jsxs)("svg", {
3966
+ var de = /* @__PURE__ */ k.forwardRef(ue), fe = () => /* @__PURE__ */ (0, A.jsxs)("svg", {
3972
3967
  className: "sid-captcha-notification__spinner",
3973
3968
  viewBox: "0 0 24 24",
3974
3969
  width: "24",
3975
3970
  height: "24",
3976
3971
  fill: "none",
3977
3972
  "aria-hidden": "true",
3978
- children: [/* @__PURE__ */ (0, I.jsx)("circle", {
3973
+ children: [/* @__PURE__ */ (0, A.jsx)("circle", {
3979
3974
  cx: "12",
3980
3975
  cy: "12",
3981
3976
  r: "9",
3982
3977
  stroke: "#9ae7bc",
3983
3978
  strokeWidth: "1.5"
3984
- }), /* @__PURE__ */ (0, I.jsx)("path", {
3979
+ }), /* @__PURE__ */ (0, A.jsx)("path", {
3985
3980
  d: "M21 12a9 9 0 0 0-9-9",
3986
3981
  stroke: "#00a246",
3987
3982
  strokeWidth: "1.5",
3988
3983
  strokeLinecap: "round"
3989
3984
  })]
3990
- }), me = m(({ hasError: e, uiState: t, onRetry: n, intl: r }) => {
3985
+ }), W = f(({ hasError: e, uiState: t, onRetry: n, intl: r }) => {
3991
3986
  let i = r.formatMessage({
3992
3987
  id: "step.personalInfo.submitButtonText",
3993
3988
  defaultMessage: "Verify My Status"
3994
3989
  });
3995
- return t === "loading" ? /* @__PURE__ */ (0, I.jsxs)("div", {
3990
+ return t === "loading" ? /* @__PURE__ */ (0, A.jsxs)("div", {
3996
3991
  className: "sid-captcha-notification sid-captcha-notification__loading",
3997
3992
  role: "status",
3998
3993
  "data-testid": "captcha-loading",
3999
- children: [/* @__PURE__ */ (0, I.jsx)("div", {
3994
+ children: [/* @__PURE__ */ (0, A.jsx)("div", {
4000
3995
  className: "sid-captcha-notification__icon-wrapper",
4001
- children: /* @__PURE__ */ (0, I.jsx)(J, {})
4002
- }), /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(w, {
3996
+ children: /* @__PURE__ */ (0, A.jsx)(fe, {})
3997
+ }), /* @__PURE__ */ (0, A.jsx)("div", { children: /* @__PURE__ */ (0, A.jsx)(g, {
4003
3998
  id: "step.personalInfo.captcha.loading",
4004
3999
  defaultMessage: "Confirming you are human, please click \"{submitButtonText}\" again once the button becomes enabled.",
4005
4000
  values: { submitButtonText: i }
4006
4001
  }) })]
4007
- }) : t === "success" ? /* @__PURE__ */ (0, I.jsxs)("div", {
4002
+ }) : t === "success" ? /* @__PURE__ */ (0, A.jsxs)("div", {
4008
4003
  className: "sid-captcha-notification sid-captcha-notification__success",
4009
4004
  role: "status",
4010
4005
  "data-testid": "captcha-success",
4011
- children: [/* @__PURE__ */ (0, I.jsx)("div", {
4006
+ children: [/* @__PURE__ */ (0, A.jsx)("div", {
4012
4007
  className: "sid-captcha-notification__icon-wrapper",
4013
- children: /* @__PURE__ */ (0, I.jsx)(q, { className: "sid-captcha-notification__icon-success" })
4014
- }), /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(w, {
4008
+ children: /* @__PURE__ */ (0, A.jsx)(de, { className: "sid-captcha-notification__icon-success" })
4009
+ }), /* @__PURE__ */ (0, A.jsx)("div", { children: /* @__PURE__ */ (0, A.jsx)(g, {
4015
4010
  id: "step.personalInfo.captcha.success",
4016
4011
  defaultMessage: "Confirmation complete, please click \"{submitButtonText}\" again to continue with verification.",
4017
4012
  values: { submitButtonText: i }
4018
4013
  }) })]
4019
- }) : e ? /* @__PURE__ */ (0, I.jsxs)("div", {
4014
+ }) : e ? /* @__PURE__ */ (0, A.jsxs)("div", {
4020
4015
  className: "sid-captcha-notification",
4021
4016
  role: "alert",
4022
4017
  "data-testid": "captcha-error",
4023
4018
  children: [
4024
- /* @__PURE__ */ (0, I.jsx)("div", {
4019
+ /* @__PURE__ */ (0, A.jsx)("div", {
4025
4020
  className: "sid-captcha-notification__icon-wrapper",
4026
- children: /* @__PURE__ */ (0, I.jsx)(pe, { className: "sid-captcha-notification__icon-error" })
4021
+ children: /* @__PURE__ */ (0, A.jsx)(le, { className: "sid-captcha-notification__icon-error" })
4027
4022
  }),
4028
- /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(w, {
4023
+ /* @__PURE__ */ (0, A.jsx)("div", { children: /* @__PURE__ */ (0, A.jsx)(g, {
4029
4024
  id: "step.personalInfo.captcha.error",
4030
4025
  defaultMessage: "Unable to confirm you are human. Please check your connection, disable ad-blockers, or refresh the page and try again."
4031
4026
  }) }),
4032
- n && /* @__PURE__ */ (0, I.jsx)("button", {
4027
+ n && /* @__PURE__ */ (0, A.jsx)("button", {
4033
4028
  type: "button",
4034
4029
  className: "sid-captcha-notification__retry-button",
4035
4030
  onClick: n,
4036
- children: /* @__PURE__ */ (0, I.jsx)(w, { id: "step.personalInfo.captcha.retryButton" })
4031
+ children: /* @__PURE__ */ (0, A.jsx)(g, { id: "step.personalInfo.captcha.retryButton" })
4037
4032
  })
4038
4033
  ]
4039
4034
  }) : null;
4040
- }), Y = 1e4, X = /* @__PURE__ */ new Set(), he = ({ verificationService: t, isErrored: n }) => {
4041
- let i = (0, de.useTurnstile)(), a = x("captcha") === "enabled", { programTheme: o, programId: u } = t, f = t.verificationResponse.segment, p = r(o) || a, { trackEvent: m, recordNumericMetric: h, flush: g } = P({
4042
- segment: f,
4043
- programId: u
4044
- }), y = (e) => {
4045
- X.has(e) || (X.add(e), m(e));
4046
- }, b = l(_), C = !!b, w = b === "loading" || b === "success" ? b : b === "hidden" ? "idle" : null, T = !!b && w === null, [E, D] = F.useState("idle"), [O, k] = F.useState(!1), [A, j] = F.useState(n);
4047
- F.useEffect(() => {
4048
- j(n);
4049
- }, [n]);
4050
- let M = () => {
4051
- y(N.CaptchaRetryClicked), D("loading"), i?.reset();
4052
- }, L = (e) => {
4053
- v({ captchaToken: e }), s("captchaToken", e, t);
4054
- }, R = () => {
4055
- v({ fieldsToSkipValidation: (t.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "captchaToken") }), L("");
4056
- }, z = () => {
4057
- let e = t.viewModel?.fieldsToSkipValidation || [];
4058
- v({
4035
+ }), pe = "Captcha", me = () => ({
4036
+ rendered: !1,
4037
+ verified: !1,
4038
+ retryCount: 0,
4039
+ serverError: !1,
4040
+ clientErrorCodes: [],
4041
+ clientErrorVisibilityState: "",
4042
+ scriptLoadError: !1,
4043
+ browserUnsupported: !1,
4044
+ loadTimeout: !1
4045
+ }), G = (e) => e.verified ? "verified" : e.browserUnsupported ? "browser-unsupported" : e.scriptLoadError ? "script-load-error" : e.loadTimeout ? "load-timeout" : e.clientErrorCodes.length ? "client-error" : e.serverError ? "server-error" : e.rendered ? "abandoned-after-render" : "unmounted-before-render", K = ({ segment: e, programId: t }) => {
4046
+ let r = k.useRef(me()), i = k.useRef(!1);
4047
+ return {
4048
+ markRendered: () => {
4049
+ r.current.rendered = !0;
4050
+ },
4051
+ markVerified: () => {
4052
+ r.current.verified = !0;
4053
+ },
4054
+ incrementRetryCount: () => {
4055
+ r.current.retryCount += 1;
4056
+ },
4057
+ markServerError: () => {
4058
+ r.current.serverError = !0;
4059
+ },
4060
+ recordClientError: (e) => {
4061
+ r.current.clientErrorCodes.length === 0 && (r.current.clientErrorVisibilityState = document.visibilityState), r.current.clientErrorCodes.includes(e) || r.current.clientErrorCodes.push(e);
4062
+ },
4063
+ markScriptLoadError: () => {
4064
+ r.current.scriptLoadError = !0;
4065
+ },
4066
+ markBrowserUnsupported: () => {
4067
+ r.current.browserUnsupported = !0;
4068
+ },
4069
+ markLoadTimeout: () => {
4070
+ r.current.scriptLoadError || (r.current.loadTimeout = !0);
4071
+ },
4072
+ emit: () => {
4073
+ i.current || (i.current = !0, n(pe, {
4074
+ outcome: G(r.current),
4075
+ ...r.current,
4076
+ clientErrorCodes: r.current.clientErrorCodes.join(","),
4077
+ segment: e,
4078
+ programId: t
4079
+ }));
4080
+ }
4081
+ };
4082
+ }, q = 1e4, J = ({ verificationService: e, isErrored: t }) => {
4083
+ let n = (0, U.useTurnstile)(), { programTheme: r, programId: i } = e, a = e.verificationResponse.segment, o = s(r), { markRendered: c, markVerified: l, incrementRetryCount: d, markServerError: f, recordClientError: p, markScriptLoadError: g, markBrowserUnsupported: _, markLoadTimeout: v, emit: y } = K({
4084
+ segment: a,
4085
+ programId: i
4086
+ }), b = x(u), S = !!b, C = b === "loading" || b === "success" ? b : b === "hidden" ? "idle" : null, w = !!b && C === null, [T, E] = k.useState("idle"), [D, O] = k.useState(!1), [j, M] = k.useState(t);
4087
+ k.useEffect(() => {
4088
+ M(t);
4089
+ }, [t]);
4090
+ let N = () => {
4091
+ d(), E("loading"), n?.reset();
4092
+ }, P = (t) => {
4093
+ m({ captchaToken: t }), h("captchaToken", t, e);
4094
+ }, F = () => {
4095
+ m({ fieldsToSkipValidation: (e.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "captchaToken") }), P("");
4096
+ }, I = () => {
4097
+ let t = e.viewModel?.fieldsToSkipValidation || [];
4098
+ m({
4059
4099
  captchaToken: void 0,
4060
- fieldsToSkipValidation: e.includes("captchaToken") ? e : [...e, "captchaToken"]
4100
+ fieldsToSkipValidation: t.includes("captchaToken") ? t : [...t, "captchaToken"]
4061
4101
  });
4062
4102
  };
4063
- return F.useEffect(() => {
4064
- !p || !n || !O || (y(N.CaptchaErrorServer), D("loading"), L(""), i?.reset());
4103
+ return k.useEffect(() => {
4104
+ !o || !t || !D || (f(), E("loading"), P(""), n?.reset());
4065
4105
  }, [
4066
- p,
4067
- n,
4068
- O
4069
- ]), F.useEffect(() => {
4070
- if (!p) return;
4071
- let e = setTimeout(R, 0), t = () => X.has(N.CaptchaVerified) || X.has(N.CaptchaErrorClient) || X.has(N.CaptchaErrorScriptLoad) || X.has(N.CaptchaErrorBrowserCompatibility) || X.has(N.CaptchaErrorLoadTimeout), n = () => {
4072
- t() || (X.has(N.CaptchaRendered) ? y(N.CaptchaAbandonedAfterRender) : y(N.CaptchaUnmountedBeforeRender));
4073
- }, r = () => {
4074
- n(), g();
4075
- };
4076
- return window.addEventListener("beforeunload", r), () => {
4077
- clearTimeout(e), window.removeEventListener("beforeunload", r), n(), z();
4106
+ o,
4107
+ t,
4108
+ D
4109
+ ]), k.useEffect(() => {
4110
+ if (!o) return;
4111
+ let e = setTimeout(F, 0);
4112
+ return window.addEventListener("beforeunload", y), () => {
4113
+ clearTimeout(e), window.removeEventListener("beforeunload", y), y(), I();
4078
4114
  };
4079
- }, [p]), F.useEffect(() => {
4080
- if (!p || O || C) return;
4115
+ }, [o]), k.useEffect(() => {
4116
+ if (!o || D || S) return;
4081
4117
  let e = setTimeout(() => {
4082
- X.has(N.CaptchaErrorScriptLoad) || y(N.CaptchaErrorLoadTimeout), j(!0);
4083
- }, Y);
4118
+ v(), M(!0);
4119
+ }, q);
4084
4120
  return () => clearTimeout(e);
4085
- }, [p, O]), p ? /* @__PURE__ */ (0, I.jsxs)("div", { children: [!C && /* @__PURE__ */ (0, I.jsx)(de.Turnstile, {
4121
+ }, [o, D]), o ? /* @__PURE__ */ (0, A.jsxs)("div", { children: [!S && /* @__PURE__ */ (0, A.jsx)(U.Turnstile, {
4086
4122
  sitekey: "0x4AAAAAACaWNlR_tN9-HfHj",
4087
4123
  refreshExpired: "auto",
4088
4124
  onLoad: () => {
4089
- k(!0), y(N.CaptchaRendered);
4125
+ O(!0), c();
4090
4126
  },
4091
4127
  onVerify: (e) => {
4092
- y(N.CaptchaVerified), D((e) => e === "loading" ? "success" : e), j(!1), L(e);
4128
+ l(), E((e) => e === "loading" ? "success" : e), M(!1), P(e);
4093
4129
  },
4094
4130
  onExpire: () => {
4095
- L("");
4131
+ P("");
4096
4132
  },
4097
- onError: (t) => {
4098
- if (!O) y(N.CaptchaErrorScriptLoad);
4099
- else if (!X.has(N.CaptchaErrorClient)) {
4100
- let n = parseInt(t, 10);
4101
- h(N.CaptchaErrorClientCode, isNaN(n) ? 0 : n), S({
4102
- eventName: e.CAPTCHA_CLIENT_ERROR_CODE,
4103
- params: {
4104
- [c.ERROR_CODE]: isNaN(n) ? 0 : n,
4105
- [d.visibilityState]: document.visibilityState
4106
- }
4107
- }), y(N.CaptchaErrorClient);
4133
+ onError: (e) => {
4134
+ if (!D) g();
4135
+ else {
4136
+ let t = parseInt(e, 10);
4137
+ p(isNaN(t) ? 0 : t);
4108
4138
  }
4109
- D("idle"), j(!0), L("");
4139
+ E("idle"), M(!0), P("");
4110
4140
  },
4111
4141
  onUnsupported: () => {
4112
- y(N.CaptchaErrorBrowserCompatibility), D("idle"), j(!0), L("");
4142
+ _(), E("idle"), M(!0), P("");
4113
4143
  }
4114
- }), /* @__PURE__ */ (0, I.jsx)(me, {
4115
- hasError: A || T,
4116
- uiState: w ?? E,
4117
- onRetry: O && E === "idle" && A ? M : void 0
4144
+ }), /* @__PURE__ */ (0, A.jsx)(W, {
4145
+ hasError: j || w,
4146
+ uiState: C ?? T,
4147
+ onRetry: D && T === "idle" && j ? N : void 0
4118
4148
  })] }) : null;
4119
4149
  };
4120
4150
  //#endregion
4121
- export { re as a, ie as i, ue as n, ne as o, V as r, z as s, he as t };
4151
+ export { L as a, R as i, se as n, I as o, te as r, N as s, J as t };