@sheerid/jslib 2.218.0 → 2.220.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 (224) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +26 -26
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{ActiveDutyStartDateComponent-8ed93MIc.js → ActiveDutyStartDateComponent-DN0HfTFx.js} +5 -5
  5. package/chunk/{ActiveDutyStartDateComponent-8ed93MIc.js.map → ActiveDutyStartDateComponent-DN0HfTFx.js.map} +1 -1
  6. package/chunk/{ActiveDutyStartDateComponent-BfkF0ser.js → ActiveDutyStartDateComponent-mYpDRuc-.js} +5 -5
  7. package/chunk/{ActiveDutyStartDateComponent-BfkF0ser.js.map → ActiveDutyStartDateComponent-mYpDRuc-.js.map} +1 -1
  8. package/chunk/AddressComponent-AiyIPiCz.js +4 -4
  9. package/chunk/AddressComponent-DV2Wsw6k.js +4 -4
  10. package/chunk/{CaptchaComponent-CSCvSY8Y.js → CaptchaComponent-BfZgvFl0.js} +349 -343
  11. package/chunk/{CaptchaComponent-CSCvSY8Y.js.map → CaptchaComponent-BfZgvFl0.js.map} +1 -1
  12. package/chunk/{CaptchaComponent-DcxyBvrf.js → CaptchaComponent-DFZOJr8t.js} +349 -343
  13. package/chunk/{CaptchaComponent-DcxyBvrf.js.map → CaptchaComponent-DFZOJr8t.js.map} +1 -1
  14. package/chunk/ChangeLocaleComponent-Cu2DR-Q3.js +4 -4
  15. package/chunk/ChangeLocaleComponent-DUnfgQuX.js +4 -4
  16. package/chunk/City-BmrJpnS6.js +4 -4
  17. package/chunk/City-yVVnZQTP.js +4 -4
  18. package/chunk/CollegeNameComponent-DaTimEqC.js +4 -4
  19. package/chunk/CollegeNameComponent-DtKPZHb-.js +4 -4
  20. package/chunk/CopyToClipboardComponent-9hyfSMC0.js +4 -4
  21. package/chunk/CopyToClipboardComponent-H3bJGcOM.js +4 -4
  22. package/chunk/CountryComponentWrapper--2UQ7mXP.js +4 -4
  23. package/chunk/CountryComponentWrapper-Ceq-eink.js +4 -4
  24. package/chunk/DriverLicenseNumberComponent-D9cakdvU.js +4 -4
  25. package/chunk/DriverLicenseNumberComponent-ziLNYB8e.js +4 -4
  26. package/chunk/EBTCardNumberComponent-B1kv4R4G.js +4 -4
  27. package/chunk/EBTCardNumberComponent-oYQJ_tP7.js +4 -4
  28. package/chunk/EmailLoopPending-In0FH-Ap.js +4 -4
  29. package/chunk/EmailLoopPending-lxRF0bx8.js +4 -4
  30. package/chunk/FirstResponderOrganizationComponent-Bru1a0U7.js +4 -4
  31. package/chunk/FirstResponderOrganizationComponent-fPxZFdpO.js +4 -4
  32. package/chunk/FormFieldInputSelect-CjWY_ush.js +4 -4
  33. package/chunk/FormFieldInputSelect-o7QZaYhS.js +4 -4
  34. package/chunk/FormFieldLayout-DDEEmlGC.js +4 -4
  35. package/chunk/FormFieldLayout-DEVPpEyA.js +4 -4
  36. package/chunk/FormFieldText-CJ-GVpZE.js +4 -4
  37. package/chunk/FormFieldText-CaWtYVur.js +4 -4
  38. package/chunk/FormFieldTypeahead-C6eS7yJg.js +4 -4
  39. package/chunk/FormFieldTypeahead-CyKKVK89.js +4 -4
  40. package/chunk/FormSelectChoice-BahCx4wG.js +4 -4
  41. package/chunk/FormSelectChoice-C-rIlDKl.js +4 -4
  42. package/chunk/InputText-CCNbZmMe.js +4 -4
  43. package/chunk/InputText-PEiatRRJ.js +4 -4
  44. package/chunk/LicensedProfessionalOrganizationComponent-C5pc7hVJ.js +4 -4
  45. package/chunk/LicensedProfessionalOrganizationComponent-CnR_qF3r.js +4 -4
  46. package/chunk/MedicalProfessionalOrganizationComponent-CXHX25GN.js +4 -4
  47. package/chunk/MedicalProfessionalOrganizationComponent-DBf6V49M.js +4 -4
  48. package/chunk/MemberIdComponent-C8mVSo9m.js +4 -4
  49. package/chunk/MemberIdComponent-oanWSvQh.js +4 -4
  50. package/chunk/MembershipOrganizationComponent-CN6_d_Fk.js +4 -4
  51. package/chunk/MembershipOrganizationComponent-yu-UNXIK.js +4 -4
  52. package/chunk/Onfido-BG8cDEVW.js +4 -4
  53. package/chunk/PersonalInfoStepSubmitButton-j44RdZDq.js +4 -4
  54. package/chunk/PersonalInfoStepSubmitButton-v_kWLmEw.js +4 -4
  55. package/chunk/PersonalInfoStepWrapper-BOBNCgik.js +4 -4
  56. package/chunk/PersonalInfoStepWrapper-PV06WMKL.js +4 -4
  57. package/chunk/PostalCodeComponent-DrCcV90W.js +4 -4
  58. package/chunk/PostalCodeComponent-KXVfZkLx.js +4 -4
  59. package/chunk/SSN-B_z2R4Bx.js +4 -4
  60. package/chunk/SSN-Hb1lTx8A.js +4 -4
  61. package/chunk/StateSelectComponent-CChSqKXz.js +4 -4
  62. package/chunk/StateSelectComponent-CIpB-Rh1.js +4 -4
  63. package/chunk/StatusComponent-C6J1B7Tl.js +4 -4
  64. package/chunk/StatusComponent-pmuIhuXi.js +4 -4
  65. package/chunk/StepCard-CIfaQVu-.js +4 -4
  66. package/chunk/StepCard-dcwCtPrW.js +4 -4
  67. package/chunk/{StepCollectMilitaryStatusComponent-CaP-tPJA.js → StepCollectMilitaryStatusComponent-CvXEQ2_6.js} +7 -7
  68. package/chunk/{StepCollectMilitaryStatusComponent-C02BKffq.js.map → StepCollectMilitaryStatusComponent-CvXEQ2_6.js.map} +1 -1
  69. package/chunk/{StepCollectMilitaryStatusComponent-C02BKffq.js → StepCollectMilitaryStatusComponent-Dpchizu3.js} +7 -7
  70. package/chunk/{StepCollectMilitaryStatusComponent-CaP-tPJA.js.map → StepCollectMilitaryStatusComponent-Dpchizu3.js.map} +1 -1
  71. package/chunk/{StepDriverLicensePersonalInfoComponent-I3LNN4GB.js → StepDriverLicensePersonalInfoComponent-DP6zH_ax.js} +5 -5
  72. package/chunk/{StepDriverLicensePersonalInfoComponent-C4QRbgMC.js.map → StepDriverLicensePersonalInfoComponent-DP6zH_ax.js.map} +1 -1
  73. package/chunk/{StepDriverLicensePersonalInfoComponent-C4QRbgMC.js → StepDriverLicensePersonalInfoComponent-ewQpSg2t.js} +5 -5
  74. package/chunk/{StepDriverLicensePersonalInfoComponent-I3LNN4GB.js.map → StepDriverLicensePersonalInfoComponent-ewQpSg2t.js.map} +1 -1
  75. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CGIiAyvk.js → StepGeneralIdentityPersonalInfoComponent-CJjM8zVt.js} +6 -6
  76. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Bw6WDrOP.js.map → StepGeneralIdentityPersonalInfoComponent-CJjM8zVt.js.map} +1 -1
  77. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Bw6WDrOP.js → StepGeneralIdentityPersonalInfoComponent-CpkyNgCu.js} +6 -6
  78. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CGIiAyvk.js.map → StepGeneralIdentityPersonalInfoComponent-CpkyNgCu.js.map} +1 -1
  79. package/chunk/{StepHybridIdentityPersonalInfoComponent-kE7xVuag.js → StepHybridIdentityPersonalInfoComponent-DO0EJx9W.js} +6 -6
  80. package/chunk/{StepHybridIdentityPersonalInfoComponent-BAe_HzjN.js.map → StepHybridIdentityPersonalInfoComponent-DO0EJx9W.js.map} +1 -1
  81. package/chunk/{StepHybridIdentityPersonalInfoComponent-BAe_HzjN.js → StepHybridIdentityPersonalInfoComponent-mXPGFhFn.js} +6 -6
  82. package/chunk/{StepHybridIdentityPersonalInfoComponent-kE7xVuag.js.map → StepHybridIdentityPersonalInfoComponent-mXPGFhFn.js.map} +1 -1
  83. package/chunk/StepIDCheckLoopOnfido-Sg4a19wV.js +4 -4
  84. package/chunk/StepIDCheckLoopOnfido-djTS20UT.js +4 -4
  85. package/chunk/StepIDCheckLoopRegula-B5I-ojjy.js +4 -4
  86. package/chunk/StepIDCheckLoopRegula-DZA5G1Z6.js +4 -4
  87. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DDwAnwM5.js → StepInactiveMilitaryPersonalInfoComponent-B-4CBRod.js} +7 -7
  88. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BBsJj3Sm.js.map → StepInactiveMilitaryPersonalInfoComponent-B-4CBRod.js.map} +1 -1
  89. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BBsJj3Sm.js → StepInactiveMilitaryPersonalInfoComponent-C7_holiH.js} +7 -7
  90. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DDwAnwM5.js.map → StepInactiveMilitaryPersonalInfoComponent-C7_holiH.js.map} +1 -1
  91. package/chunk/TeacherSchoolComponent-BSHPjiwQ.js +4 -4
  92. package/chunk/TeacherSchoolComponent-Bf3ZhJ_c.js +4 -4
  93. package/chunk/ar-uNi-5jZs.js +4 -4
  94. package/chunk/bg-BSs2zI8g.js +4 -4
  95. package/chunk/bn-IN-DgKTANOE.js +4 -4
  96. package/chunk/cs-ZQhsI2gf.js +4 -4
  97. package/chunk/da-Ca6-P-fb.js +4 -4
  98. package/chunk/de-qTizo3k0.js +4 -4
  99. package/chunk/downshift.esm-CtrbqQGL.js +4 -4
  100. package/chunk/downshift.esm-huKBwB2d.js +4 -4
  101. package/chunk/el-Ci0_i7um.js +4 -4
  102. package/chunk/en-GB-BMFtN6kg.js +4 -4
  103. package/chunk/es-10I2Uwx1.js +4 -4
  104. package/chunk/es-ES-BEtGV8ZY.js +4 -4
  105. package/chunk/fi-VAIle52X.js +4 -4
  106. package/chunk/fr-CA-YGnUj1Cd.js +4 -4
  107. package/chunk/fr-CmkojiS4.js +4 -4
  108. package/chunk/ga-CTdDfi4f.js +4 -4
  109. package/chunk/hi-IN-mBG2SFX6.js +4 -4
  110. package/chunk/hr-D8voB0hC.js +4 -4
  111. package/chunk/hu-DzN9Oup5.js +4 -4
  112. package/chunk/id-ZqMlj7_U.js +4 -4
  113. package/chunk/{index-CBoeMu9i.js → index-Ag935IQm.js} +7 -7
  114. package/chunk/{index-Ck4Jg3xo.js.map → index-Ag935IQm.js.map} +1 -1
  115. package/chunk/index-B0SBEWOf.js +4 -4
  116. package/chunk/{index-q6PutwA-.js → index-B4FcNhzB.js} +19 -16
  117. package/chunk/index-B4FcNhzB.js.map +1 -0
  118. package/chunk/index-BA3bE-f-.js +4 -4
  119. package/chunk/{index-DE_o4TXi.js → index-BGgNLPMu.js} +6 -6
  120. package/chunk/{index-zyCRCimF.js.map → index-BGgNLPMu.js.map} +1 -1
  121. package/chunk/{index-DeW_gAIO.js → index-BKyRIfb4.js} +6 -6
  122. package/chunk/{index-CARFmnRY.js.map → index-BKyRIfb4.js.map} +1 -1
  123. package/chunk/{index-DdxRfsSh.js → index-BUKeo5wI.js} +5 -5
  124. package/chunk/{index-DdxRfsSh.js.map → index-BUKeo5wI.js.map} +1 -1
  125. package/chunk/{index-MB6FRj7G.js → index-BW4GfeEt.js} +5 -5
  126. package/chunk/{index-dWqQPCim.js.map → index-BW4GfeEt.js.map} +1 -1
  127. package/chunk/{index-BKJ-EAbL.js → index-BXgePv3X.js} +6 -6
  128. package/chunk/{index-BKJ-EAbL.js.map → index-BXgePv3X.js.map} +1 -1
  129. package/chunk/index-BZ1nv-sB.js +4 -4
  130. package/chunk/{index-C6CmnxtU.js → index-BZxLbodL.js} +6 -6
  131. package/chunk/{index-C6CmnxtU.js.map → index-BZxLbodL.js.map} +1 -1
  132. package/chunk/index-BbOCWcRK.js +4 -4
  133. package/chunk/{index-Dekegp07.js → index-BjnL3xjz.js} +6 -6
  134. package/chunk/{index-Dekegp07.js.map → index-BjnL3xjz.js.map} +1 -1
  135. package/chunk/index-Bn00xQJF.js +4 -4
  136. package/chunk/index-Brpm5gN6.js +4 -4
  137. package/chunk/index-CHDBBfsg.js +4 -4
  138. package/chunk/index-CR19uOwz.js +4 -4
  139. package/chunk/index-CTGY1a4m.js +4 -4
  140. package/chunk/{index-DWjm3Bvf.js → index-CU6BdnXA.js} +6 -6
  141. package/chunk/{index-DD5n87cJ.js.map → index-CU6BdnXA.js.map} +1 -1
  142. package/chunk/{index-Xq2oC7I1.js → index-CXkOlMH8.js} +6 -6
  143. package/chunk/{index-CYi-EOgq.js.map → index-CXkOlMH8.js.map} +1 -1
  144. package/chunk/{index-W05VUuom.js → index-CYCcqiVr.js} +6 -6
  145. package/chunk/{index-W05VUuom.js.map → index-CYCcqiVr.js.map} +1 -1
  146. package/chunk/index-CaBrLsal.js +4 -4
  147. package/chunk/{index-jeII5suL.js → index-CiSNwFCt.js} +6 -6
  148. package/chunk/{index-jeII5suL.js.map → index-CiSNwFCt.js.map} +1 -1
  149. package/chunk/index-CrPc1exn.js +4 -4
  150. package/chunk/{index-OS2bzRh2.js → index-CwaTj-69.js} +19 -16
  151. package/chunk/index-CwaTj-69.js.map +1 -0
  152. package/chunk/{index-BSzMX8zb.js → index-CxnTO_Lf.js} +6 -6
  153. package/chunk/{index-BSzMX8zb.js.map → index-CxnTO_Lf.js.map} +1 -1
  154. package/chunk/index-D2d6x5LN.js +4 -4
  155. package/chunk/index-D7Mqx5na.js +4 -4
  156. package/chunk/{index-DD5n87cJ.js → index-DAIJvzG8.js} +6 -6
  157. package/chunk/{index-DWjm3Bvf.js.map → index-DAIJvzG8.js.map} +1 -1
  158. package/chunk/index-DFoMYB8K.js +4 -4
  159. package/chunk/index-DIkWpujR.js +4 -4
  160. package/chunk/{index-DbVmFTqT.js → index-DR6Pa1j5.js} +6 -6
  161. package/chunk/{index-DbVmFTqT.js.map → index-DR6Pa1j5.js.map} +1 -1
  162. package/chunk/{index-CYi-EOgq.js → index-DUSchoSP.js} +6 -6
  163. package/chunk/{index-Xq2oC7I1.js.map → index-DUSchoSP.js.map} +1 -1
  164. package/chunk/{index-CzRLvvKQ.js → index-DknL9KFe.js} +5 -5
  165. package/chunk/{index-CzRLvvKQ.js.map → index-DknL9KFe.js.map} +1 -1
  166. package/chunk/{index-BbDuLZm0.js → index-DmsA0RkT.js} +6 -6
  167. package/chunk/{index-BbDuLZm0.js.map → index-DmsA0RkT.js.map} +1 -1
  168. package/chunk/{index-zyCRCimF.js → index-Du8yP6jg.js} +6 -6
  169. package/chunk/{index-DE_o4TXi.js.map → index-Du8yP6jg.js.map} +1 -1
  170. package/chunk/index-EUJqfdiJ.js +4 -4
  171. package/chunk/{index-Ck4Jg3xo.js → index-PK17Xb1V.js} +7 -7
  172. package/chunk/{index-CBoeMu9i.js.map → index-PK17Xb1V.js.map} +1 -1
  173. package/chunk/{index-dWqQPCim.js → index-TJmIB8hf.js} +5 -5
  174. package/chunk/{index-MB6FRj7G.js.map → index-TJmIB8hf.js.map} +1 -1
  175. package/chunk/index-dTu4ORna.js +4 -4
  176. package/chunk/{index-CARFmnRY.js → index-t_EdXFvl.js} +6 -6
  177. package/chunk/{index-DeW_gAIO.js.map → index-t_EdXFvl.js.map} +1 -1
  178. package/chunk/is-OeoxCvCJ.js +4 -4
  179. package/chunk/it-C8ZVZXAZ.js +4 -4
  180. package/chunk/iw-BlNWQ44s.js +4 -4
  181. package/chunk/ja-ByZsq6B3.js +4 -4
  182. package/chunk/ko-CJtRHc1k.js +4 -4
  183. package/chunk/lo-DG5_kBxI.js +4 -4
  184. package/chunk/lt-CPMjVK0l.js +4 -4
  185. package/chunk/{militaryStepHelpers-BBHrfNCB.js → militaryStepHelpers-CmAqOhOv.js} +5 -5
  186. package/chunk/{militaryStepHelpers-BAkdVJwA.js.map → militaryStepHelpers-CmAqOhOv.js.map} +1 -1
  187. package/chunk/{militaryStepHelpers-BAkdVJwA.js → militaryStepHelpers-DuJLFDxo.js} +5 -5
  188. package/chunk/{militaryStepHelpers-BBHrfNCB.js.map → militaryStepHelpers-DuJLFDxo.js.map} +1 -1
  189. package/chunk/mocks-CeAm-JFs.js +4 -4
  190. package/chunk/mocks-ClJ0M6QH.js +4 -4
  191. package/chunk/ms-kW4-QxcQ.js +4 -4
  192. package/chunk/nl-BE-B50g9ESZ.js +4 -4
  193. package/chunk/nl-CqhguuWs.js +4 -4
  194. package/chunk/no-oDvd5Pbh.js +4 -4
  195. package/chunk/pl-CmJTwwaK.js +4 -4
  196. package/chunk/pt-BR-Bn7yzXgL.js +4 -4
  197. package/chunk/pt-CO5wB188.js +4 -4
  198. package/chunk/ro-sj1FJM-g.js +4 -4
  199. package/chunk/ru-8IiNvgy2.js +4 -4
  200. package/chunk/sk-aGVgcFKm.js +4 -4
  201. package/chunk/sl-BhNdkTbu.js +4 -4
  202. package/chunk/sr-BMFHnZm-.js +4 -4
  203. package/chunk/sv-B_eq88ce.js +4 -4
  204. package/chunk/sw-DbdFPGF8.js +4 -4
  205. package/chunk/th-BYY2tGFz.js +4 -4
  206. package/chunk/tr-d4Yjkvpu.js +4 -4
  207. package/chunk/uk-Cm64Vc92.js +4 -4
  208. package/chunk/ur-DFf2LHi5.js +4 -4
  209. package/chunk/useCollectFieldsEndpoint-Cd6d_u47.js +4 -4
  210. package/chunk/useCollectFieldsEndpoint-DqTjyVEr.js +4 -4
  211. package/chunk/useMetrics-D2fG6cgw.js +4 -4
  212. package/chunk/useMetrics-wq7yrL0b.js +4 -4
  213. package/chunk/vi-DDgpUcog.js +4 -4
  214. package/chunk/zh-BoejQGiZ.js +4 -4
  215. package/chunk/zh-HK-Bwd8sr9B.js +4 -4
  216. package/chunk/zu-BKlg24xX.js +4 -4
  217. package/package.json +1 -1
  218. package/sheerid-install.css +4 -4
  219. package/sheerid-install.js +4 -4
  220. package/sheerid.css +4 -4
  221. package/sheerid.js +914 -914
  222. package/sheerid.js.map +1 -1
  223. package/chunk/index-OS2bzRh2.js.map +0 -1
  224. package/chunk/index-q6PutwA-.js.map +0 -1
@@ -4,18 +4,18 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.218.0
8
- * BUILD_TIMESTAMP: 1776447642173
9
- * BUILD_DATE: Fri Apr 17 2026 17:40:42 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 43d04e08fcd291a32b6342270c78bca9f0f1a0e2
7
+ * VERSION: 2.220.0
8
+ * BUILD_TIMESTAMP: 1776785604219
9
+ * BUILD_DATE: Tue Apr 21 2026 15:33:24 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 2afa2b6b8ba8a91ceba649fb1c953b467bba4c7f
11
11
  */
12
- import { b as Pe, s as $t, j as l, d as ze, R as Be, ao as or, a$ as Qt, F as ge, g as It, b0 as ir, W as yr, i as dt, H as gr, l as St, h as lt, p as Xt, b1 as He, aA as Ft, a4 as vr, b2 as Cr, ai as _r, b3 as xr, J as Lt, o as jr } from "../_mysheerid-preview.js";
13
- import { a as sr, F as ur, g as wr } from "./FormFieldLayout-DDEEmlGC.js";
14
- import { F as Pt } from "./FormFieldText-CJ-GVpZE.js";
12
+ import { b as Re, s as $t, j as l, d as ze, R as Be, ao as or, a$ as Qt, F as ge, g as It, b0 as ir, W as yr, i as dt, H as gr, l as St, h as lt, p as Xt, b1 as He, aA as Lt, a4 as vr, b2 as Cr, ai as _r, b3 as xr, r as jr, N as wr, E as Sr, J as Ft, o as Ir } from "../_mysheerid-preview.js";
13
+ import { a as sr, F as ur, g as Tr } from "./FormFieldLayout-DDEEmlGC.js";
14
+ import { F as Rt } from "./FormFieldText-CJ-GVpZE.js";
15
15
  import { I as lr, g as er } from "./FormSelectChoice-C-rIlDKl.js";
16
16
  import { I as tr } from "./InputText-PEiatRRJ.js";
17
- import { u as Sr, M as Ie } from "./useMetrics-D2fG6cgw.js";
18
- const Ir = ({
17
+ import { u as Er, M as Ie } from "./useMetrics-D2fG6cgw.js";
18
+ const Nr = ({
19
19
  isErrored: r,
20
20
  onChange: f,
21
21
  value: i,
@@ -24,14 +24,14 @@ const Ir = ({
24
24
  id: v = "new",
25
25
  disabled: I = !1
26
26
  }) => {
27
- const N = o ? { "aria-labelledby": o } : {}, M = Pe.useRef(null), ee = () => {
27
+ const N = o ? { "aria-labelledby": o } : {}, M = Re.useRef(null), ee = () => {
28
28
  M.current && f(!M.current.checked);
29
29
  }, ie = (Y) => {
30
30
  (Y.key === " " || Y.key === "Enter") && (Y.preventDefault(), ee());
31
31
  };
32
- return Pe.useEffect(() => {
32
+ return Re.useEffect(() => {
33
33
  $t("optIn", M.current);
34
- }), Pe.useEffect(() => {
34
+ }), Re.useEffect(() => {
35
35
  M.current && (M.current.checked = i);
36
36
  }, [i]), /* @__PURE__ */ l.jsxs("div", { className: "sid-checkbox", children: [
37
37
  /* @__PURE__ */ l.jsx(
@@ -63,7 +63,7 @@ const Ir = ({
63
63
  }
64
64
  )
65
65
  ] });
66
- }, Rt = Ir, Tr = ({
66
+ }, Pt = Nr, Mr = ({
67
67
  isErrored: r,
68
68
  isRequired: f,
69
69
  onChange: i,
@@ -87,7 +87,7 @@ const Ir = ({
87
87
  /* @__PURE__ */ l.jsx("div", { className: "sid-l-space-top-md" }),
88
88
  /* @__PURE__ */ l.jsx("div", { className: "sid-l-position", children: /* @__PURE__ */ l.jsxs("label", { htmlFor: "sid-opt-in__optIn", children: [
89
89
  /* @__PURE__ */ l.jsx(
90
- Rt,
90
+ Pt,
91
91
  {
92
92
  id: "optIn",
93
93
  ariaDescribedBy: r ? N : void 0,
@@ -114,7 +114,7 @@ const Ir = ({
114
114
  ) })
115
115
  ] }) })
116
116
  ] });
117
- }, ta = ({
117
+ }, na = ({
118
118
  verificationService: r,
119
119
  isErrored: f,
120
120
  onChange: i,
@@ -123,7 +123,7 @@ const Ir = ({
123
123
  }) => {
124
124
  const { programTheme: v } = r, I = or(v);
125
125
  return It("marketConsentValue")?.hidden ? null : I.enabled ? /* @__PURE__ */ l.jsx(
126
- Tr,
126
+ Mr,
127
127
  {
128
128
  isErrored: f,
129
129
  isRequired: I.required,
@@ -135,7 +135,7 @@ const Ir = ({
135
135
  ) : null;
136
136
  };
137
137
  var At, rr;
138
- function Er() {
138
+ function kr() {
139
139
  return rr || (rr = 1, At = (function(r) {
140
140
  var f = {};
141
141
  function i(o) {
@@ -190,7 +190,7 @@ function Er() {
190
190
  })();
191
191
  }, function(r, f, i) {
192
192
  (function(o) {
193
- var d = /^\s+|\s+$/g, v = /^[-+]0x[0-9a-f]+$/i, I = /^0b[01]+$/i, N = /^0o[0-7]+$/i, M = parseInt, ee = typeof o == "object" && o && o.Object === Object && o, ie = typeof self == "object" && self && self.Object === Object && self, Y = ee || ie || Function("return this")(), g = Object.prototype.toString, P = Y.Symbol, V = P ? P.prototype : void 0, te = V ? V.toString : void 0;
193
+ var d = /^\s+|\s+$/g, v = /^[-+]0x[0-9a-f]+$/i, I = /^0b[01]+$/i, N = /^0o[0-7]+$/i, M = parseInt, ee = typeof o == "object" && o && o.Object === Object && o, ie = typeof self == "object" && self && self.Object === Object && self, Y = ee || ie || Function("return this")(), g = Object.prototype.toString, R = Y.Symbol, P = R ? R.prototype : void 0, te = P ? P.toString : void 0;
194
194
  function m(_) {
195
195
  if (typeof _ == "string") return _;
196
196
  if ($(_)) return te ? te.call(_) : "";
@@ -206,7 +206,7 @@ function Er() {
206
206
  return !!C && typeof C == "object";
207
207
  })(_) && g.call(_) == "[object Symbol]";
208
208
  }
209
- function H(_) {
209
+ function B(_) {
210
210
  return _ ? (_ = (function(C) {
211
211
  if (typeof C == "number") return C;
212
212
  if ($(C)) return NaN;
@@ -221,11 +221,11 @@ function Er() {
221
221
  })(_)) === 1 / 0 || _ === -1 / 0 ? 17976931348623157e292 * (_ < 0 ? -1 : 1) : _ == _ ? _ : 0 : _ === 0 ? _ : 0;
222
222
  }
223
223
  r.exports = function(_, C, Q) {
224
- var G, J, O, z;
224
+ var G, J, O, V;
225
225
  return _ = (G = _) == null ? "" : m(G), J = (function(xe) {
226
- var de = H(xe), we = de % 1;
226
+ var de = B(xe), we = de % 1;
227
227
  return de == de ? we ? de - we : de : 0;
228
- })(Q), O = 0, z = _.length, J == J && (z !== void 0 && (J = J <= z ? J : z), O !== void 0 && (J = J >= O ? J : O)), Q = J, C = m(C), _.slice(Q, Q + C.length) == C;
228
+ })(Q), O = 0, V = _.length, J == J && (V !== void 0 && (J = J <= V ? J : V), O !== void 0 && (J = J >= O ? J : O)), Q = J, C = m(C), _.slice(Q, Q + C.length) == C;
229
229
  };
230
230
  }).call(this, i(3));
231
231
  }, function(r, f) {
@@ -241,7 +241,7 @@ function Er() {
241
241
  r.exports = i;
242
242
  }, function(r, f, i) {
243
243
  (function(o) {
244
- var d = /^\[object .+?Constructor\]$/, v = typeof o == "object" && o && o.Object === Object && o, I = typeof self == "object" && self && self.Object === Object && self, N = v || I || Function("return this")(), M, ee = Array.prototype, ie = Function.prototype, Y = Object.prototype, g = N["__core-js_shared__"], P = (M = /[^.]+$/.exec(g && g.keys && g.keys.IE_PROTO || "")) ? "Symbol(src)_1." + M : "", V = ie.toString, te = Y.hasOwnProperty, m = Y.toString, se = RegExp("^" + V.call(te).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), $ = ee.splice, H = xe(N, "Map"), _ = xe(Object, "create");
244
+ var d = /^\[object .+?Constructor\]$/, v = typeof o == "object" && o && o.Object === Object && o, I = typeof self == "object" && self && self.Object === Object && self, N = v || I || Function("return this")(), M, ee = Array.prototype, ie = Function.prototype, Y = Object.prototype, g = N["__core-js_shared__"], R = (M = /[^.]+$/.exec(g && g.keys && g.keys.IE_PROTO || "")) ? "Symbol(src)_1." + M : "", P = ie.toString, te = Y.hasOwnProperty, m = Y.toString, se = RegExp("^" + P.call(te).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), $ = ee.splice, B = xe(N, "Map"), _ = xe(Object, "create");
245
245
  function C(b) {
246
246
  var w = -1, p = b ? b.length : 0;
247
247
  for (this.clear(); ++w < p; ) {
@@ -268,7 +268,7 @@ function Er() {
268
268
  return -1;
269
269
  }
270
270
  function O(b) {
271
- return !(!we(b) || (w = b, P && P in w)) && ((function(p) {
271
+ return !(!we(b) || (w = b, R && R in w)) && ((function(p) {
272
272
  var x = we(p) ? m.call(p) : "";
273
273
  return x == "[object Function]" || x == "[object GeneratorFunction]";
274
274
  })(b) || (function(p) {
@@ -281,7 +281,7 @@ function Er() {
281
281
  })(b) ? se : d).test((function(p) {
282
282
  if (p != null) {
283
283
  try {
284
- return V.call(p);
284
+ return P.call(p);
285
285
  } catch {
286
286
  }
287
287
  try {
@@ -293,7 +293,7 @@ function Er() {
293
293
  })(b));
294
294
  var w;
295
295
  }
296
- function z(b, w) {
296
+ function V(b, w) {
297
297
  var p, x, fe = b.__data__;
298
298
  return ((x = typeof (p = w)) == "string" || x == "number" || x == "symbol" || x == "boolean" ? p !== "__proto__" : p === null) ? fe[typeof w == "string" ? "string" : "hash"] : fe.map;
299
299
  }
@@ -347,25 +347,25 @@ function Er() {
347
347
  var p = this.__data__, x = J(p, b);
348
348
  return x < 0 ? p.push([b, w]) : p[x][1] = w, this;
349
349
  }, G.prototype.clear = function() {
350
- this.__data__ = { hash: new C(), map: new (H || Q)(), string: new C() };
350
+ this.__data__ = { hash: new C(), map: new (B || Q)(), string: new C() };
351
351
  }, G.prototype.delete = function(b) {
352
- return z(this, b).delete(b);
352
+ return V(this, b).delete(b);
353
353
  }, G.prototype.get = function(b) {
354
- return z(this, b).get(b);
354
+ return V(this, b).get(b);
355
355
  }, G.prototype.has = function(b) {
356
- return z(this, b).has(b);
356
+ return V(this, b).has(b);
357
357
  }, G.prototype.set = function(b, w) {
358
- return z(this, b).set(b, w), this;
358
+ return V(this, b).set(b, w), this;
359
359
  }, de.Cache = G, r.exports = de;
360
360
  }).call(this, i(3));
361
361
  }, function(r, f, i) {
362
362
  (function(o) {
363
- var d = /^\s+|\s+$/g, v = /^[-+]0x[0-9a-f]+$/i, I = /^0b[01]+$/i, N = /^0o[0-7]+$/i, M = parseInt, ee = typeof o == "object" && o && o.Object === Object && o, ie = typeof self == "object" && self && self.Object === Object && self, Y = ee || ie || Function("return this")(), g = Object.prototype.toString, P = Math.max, V = Math.min, te = function() {
363
+ var d = /^\s+|\s+$/g, v = /^[-+]0x[0-9a-f]+$/i, I = /^0b[01]+$/i, N = /^0o[0-7]+$/i, M = parseInt, ee = typeof o == "object" && o && o.Object === Object && o, ie = typeof self == "object" && self && self.Object === Object && self, Y = ee || ie || Function("return this")(), g = Object.prototype.toString, R = Math.max, P = Math.min, te = function() {
364
364
  return Y.Date.now();
365
365
  };
366
366
  function m($) {
367
- var H = typeof $;
368
- return !!$ && (H == "object" || H == "function");
367
+ var B = typeof $;
368
+ return !!$ && (B == "object" || B == "function");
369
369
  }
370
370
  function se($) {
371
371
  if (typeof $ == "number") return $;
@@ -375,34 +375,34 @@ function Er() {
375
375
  })(C) && g.call(C) == "[object Symbol]";
376
376
  })($)) return NaN;
377
377
  if (m($)) {
378
- var H = typeof $.valueOf == "function" ? $.valueOf() : $;
379
- $ = m(H) ? H + "" : H;
378
+ var B = typeof $.valueOf == "function" ? $.valueOf() : $;
379
+ $ = m(B) ? B + "" : B;
380
380
  }
381
381
  if (typeof $ != "string") return $ === 0 ? $ : +$;
382
382
  $ = $.replace(d, "");
383
383
  var _ = I.test($);
384
384
  return _ || N.test($) ? M($.slice(2), _ ? 2 : 8) : v.test($) ? NaN : +$;
385
385
  }
386
- r.exports = function($, H, _) {
387
- var C, Q, G, J, O, z, xe = 0, de = !1, we = !1, b = !0;
386
+ r.exports = function($, B, _) {
387
+ var C, Q, G, J, O, V, xe = 0, de = !1, we = !1, b = !0;
388
388
  if (typeof $ != "function") throw new TypeError("Expected a function");
389
389
  function w(h) {
390
390
  var D = C, K = Q;
391
391
  return C = Q = void 0, xe = h, J = $.apply(K, D);
392
392
  }
393
393
  function p(h) {
394
- return xe = h, O = setTimeout(fe, H), de ? w(h) : J;
394
+ return xe = h, O = setTimeout(fe, B), de ? w(h) : J;
395
395
  }
396
396
  function x(h) {
397
- var D = h - z;
398
- return z === void 0 || D >= H || D < 0 || we && h - xe >= G;
397
+ var D = h - V;
398
+ return V === void 0 || D >= B || D < 0 || we && h - xe >= G;
399
399
  }
400
400
  function fe() {
401
401
  var h = te();
402
402
  if (x(h)) return ke(h);
403
403
  O = setTimeout(fe, (function(D) {
404
- var K = H - (D - z);
405
- return we ? V(K, G - (D - xe)) : K;
404
+ var K = B - (D - V);
405
+ return we ? P(K, G - (D - xe)) : K;
406
406
  })(h));
407
407
  }
408
408
  function ke(h) {
@@ -410,14 +410,14 @@ function Er() {
410
410
  }
411
411
  function S() {
412
412
  var h = te(), D = x(h);
413
- if (C = arguments, Q = this, z = h, D) {
414
- if (O === void 0) return p(z);
415
- if (we) return O = setTimeout(fe, H), w(z);
413
+ if (C = arguments, Q = this, V = h, D) {
414
+ if (O === void 0) return p(V);
415
+ if (we) return O = setTimeout(fe, B), w(V);
416
416
  }
417
- return O === void 0 && (O = setTimeout(fe, H)), J;
417
+ return O === void 0 && (O = setTimeout(fe, B)), J;
418
418
  }
419
- return H = se(H) || 0, m(_) && (de = !!_.leading, G = (we = "maxWait" in _) ? P(se(_.maxWait) || 0, H) : G, b = "trailing" in _ ? !!_.trailing : b), S.cancel = function() {
420
- O !== void 0 && clearTimeout(O), xe = 0, C = z = Q = O = void 0;
419
+ return B = se(B) || 0, m(_) && (de = !!_.leading, G = (we = "maxWait" in _) ? R(se(_.maxWait) || 0, B) : G, b = "trailing" in _ ? !!_.trailing : b), S.cancel = function() {
420
+ O !== void 0 && clearTimeout(O), xe = 0, C = V = Q = O = void 0;
421
421
  }, S.flush = function() {
422
422
  return O === void 0 ? J : ke(te());
423
423
  }, S;
@@ -425,26 +425,26 @@ function Er() {
425
425
  }).call(this, i(3));
426
426
  }, function(r, f, i) {
427
427
  (function(o, d) {
428
- var v = "[object Arguments]", I = "[object Map]", N = "[object Object]", M = "[object Set]", ee = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ie = /^\w*$/, Y = /^\./, g = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, P = /\\(\\)?/g, V = /^\[object .+?Constructor\]$/, te = /^(?:0|[1-9]\d*)$/, m = {};
428
+ var v = "[object Arguments]", I = "[object Map]", N = "[object Object]", M = "[object Set]", ee = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ie = /^\w*$/, Y = /^\./, g = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, R = /\\(\\)?/g, P = /^\[object .+?Constructor\]$/, te = /^(?:0|[1-9]\d*)$/, m = {};
429
429
  m["[object Float32Array]"] = m["[object Float64Array]"] = m["[object Int8Array]"] = m["[object Int16Array]"] = m["[object Int32Array]"] = m["[object Uint8Array]"] = m["[object Uint8ClampedArray]"] = m["[object Uint16Array]"] = m["[object Uint32Array]"] = !0, m[v] = m["[object Array]"] = m["[object ArrayBuffer]"] = m["[object Boolean]"] = m["[object DataView]"] = m["[object Date]"] = m["[object Error]"] = m["[object Function]"] = m[I] = m["[object Number]"] = m[N] = m["[object RegExp]"] = m[M] = m["[object String]"] = m["[object WeakMap]"] = !1;
430
- var se = typeof o == "object" && o && o.Object === Object && o, $ = typeof self == "object" && self && self.Object === Object && self, H = se || $ || Function("return this")(), _ = f && !f.nodeType && f, C = _ && typeof d == "object" && d && !d.nodeType && d, Q = C && C.exports === _ && se.process, G = (function() {
430
+ var se = typeof o == "object" && o && o.Object === Object && o, $ = typeof self == "object" && self && self.Object === Object && self, B = se || $ || Function("return this")(), _ = f && !f.nodeType && f, C = _ && typeof d == "object" && d && !d.nodeType && d, Q = C && C.exports === _ && se.process, G = (function() {
431
431
  try {
432
432
  return Q && Q.binding("util");
433
433
  } catch {
434
434
  }
435
435
  })(), J = G && G.isTypedArray;
436
436
  function O(t, a, s, c) {
437
- var F = -1, L = t ? t.length : 0;
438
- for (c && L && (s = t[++F]); ++F < L; ) s = a(s, t[F], F, t);
437
+ var L = -1, F = t ? t.length : 0;
438
+ for (c && F && (s = t[++L]); ++L < F; ) s = a(s, t[L], L, t);
439
439
  return s;
440
440
  }
441
- function z(t, a) {
441
+ function V(t, a) {
442
442
  for (var s = -1, c = t ? t.length : 0; ++s < c; ) if (a(t[s], s, t)) return !0;
443
443
  return !1;
444
444
  }
445
- function xe(t, a, s, c, F) {
446
- return F(t, (function(L, W, Ce) {
447
- s = c ? (c = !1, L) : a(s, L, W, Ce);
445
+ function xe(t, a, s, c, L) {
446
+ return L(t, (function(F, W, Ce) {
447
+ s = c ? (c = !1, F) : a(s, F, W, Ce);
448
448
  })), s;
449
449
  }
450
450
  function de(t) {
@@ -457,8 +457,8 @@ function Er() {
457
457
  }
458
458
  function we(t) {
459
459
  var a = -1, s = Array(t.size);
460
- return t.forEach((function(c, F) {
461
- s[++a] = [F, c];
460
+ return t.forEach((function(c, L) {
461
+ s[++a] = [L, c];
462
462
  })), s;
463
463
  }
464
464
  function b(t) {
@@ -467,9 +467,9 @@ function Er() {
467
467
  s[++a] = c;
468
468
  })), s;
469
469
  }
470
- var w, p, x, fe = Array.prototype, ke = Function.prototype, S = Object.prototype, h = H["__core-js_shared__"], D = (w = /[^.]+$/.exec(h && h.keys && h.keys.IE_PROTO || "")) ? "Symbol(src)_1." + w : "", K = ke.toString, y = S.hasOwnProperty, e = S.toString, ne = RegExp("^" + K.call(y).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), re = H.Symbol, X = H.Uint8Array, le = S.propertyIsEnumerable, pe = fe.splice, me = (p = Object.keys, x = Object, function(t) {
470
+ var w, p, x, fe = Array.prototype, ke = Function.prototype, S = Object.prototype, h = B["__core-js_shared__"], D = (w = /[^.]+$/.exec(h && h.keys && h.keys.IE_PROTO || "")) ? "Symbol(src)_1." + w : "", K = ke.toString, y = S.hasOwnProperty, e = S.toString, ne = RegExp("^" + K.call(y).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), re = B.Symbol, X = B.Uint8Array, le = S.propertyIsEnumerable, pe = fe.splice, me = (p = Object.keys, x = Object, function(t) {
471
471
  return p(x(t));
472
- }), oe = tt(H, "DataView"), je = tt(H, "Map"), B = tt(H, "Promise"), n = tt(H, "Set"), u = tt(H, "WeakMap"), j = tt(Object, "create"), q = Ze(oe), R = Ze(je), U = Ze(B), Z = Ze(n), ce = Ze(u), T = re ? re.prototype : void 0, A = T ? T.valueOf : void 0, ae = T ? T.toString : void 0;
472
+ }), oe = tt(B, "DataView"), je = tt(B, "Map"), z = tt(B, "Promise"), n = tt(B, "Set"), u = tt(B, "WeakMap"), j = tt(Object, "create"), q = Ze(oe), H = Ze(je), U = Ze(z), Z = Ze(n), ce = Ze(u), T = re ? re.prototype : void 0, A = T ? T.valueOf : void 0, ae = T ? T.toString : void 0;
473
473
  function E(t) {
474
474
  var a = -1, s = t ? t.length : 0;
475
475
  for (this.clear(); ++a < s; ) {
@@ -498,15 +498,15 @@ function Er() {
498
498
  function Ne(t) {
499
499
  this.__data__ = new k(t);
500
500
  }
501
- function Le(t, a) {
501
+ function Fe(t, a) {
502
502
  var s = Ue(t) || Gt(t) ? (function(W, Ce) {
503
503
  for (var _e = -1, be = Array(W); ++_e < W; ) be[_e] = Ce(_e);
504
504
  return be;
505
- })(t.length, String) : [], c = s.length, F = !!c;
506
- for (var L in t) !y.call(t, L) || F && (L == "length" || Vt(L, c)) || s.push(L);
505
+ })(t.length, String) : [], c = s.length, L = !!c;
506
+ for (var F in t) !y.call(t, F) || L && (F == "length" || Vt(F, c)) || s.push(F);
507
507
  return s;
508
508
  }
509
- function Re(t, a) {
509
+ function Pe(t, a) {
510
510
  for (var s = t.length; s--; ) if (Ut(t[s][0], a)) return s;
511
511
  return -1;
512
512
  }
@@ -529,15 +529,15 @@ function Er() {
529
529
  }, k.prototype.clear = function() {
530
530
  this.__data__ = [];
531
531
  }, k.prototype.delete = function(t) {
532
- var a = this.__data__, s = Re(a, t);
532
+ var a = this.__data__, s = Pe(a, t);
533
533
  return !(s < 0) && (s == a.length - 1 ? a.pop() : pe.call(a, s, 1), !0);
534
534
  }, k.prototype.get = function(t) {
535
- var a = this.__data__, s = Re(a, t);
535
+ var a = this.__data__, s = Pe(a, t);
536
536
  return s < 0 ? void 0 : a[s][1];
537
537
  }, k.prototype.has = function(t) {
538
- return Re(this.__data__, t) > -1;
538
+ return Pe(this.__data__, t) > -1;
539
539
  }, k.prototype.set = function(t, a) {
540
- var s = this.__data__, c = Re(s, t);
540
+ var s = this.__data__, c = Pe(s, t);
541
541
  return c < 0 ? s.push([t, a]) : s[c][1] = a, this;
542
542
  }, ve.prototype.clear = function() {
543
543
  this.__data__ = { hash: new E(), map: new (je || k)(), string: new E() };
@@ -575,13 +575,13 @@ function Er() {
575
575
  }, function(t, a) {
576
576
  if (t == null) return t;
577
577
  if (!Nt(t)) return Je(t, a);
578
- for (var s = t.length, c = -1, F = Object(t); ++c < s && a(F[c], c, F) !== !1; ) ;
578
+ for (var s = t.length, c = -1, L = Object(t); ++c < s && a(L[c], c, L) !== !1; ) ;
579
579
  return t;
580
580
  }), et = /* @__PURE__ */ (function(t) {
581
581
  return function(a, s, c) {
582
- for (var F = -1, L = Object(a), W = c(a), Ce = W.length; Ce--; ) {
583
- var _e = W[++F];
584
- if (s(L[_e], _e, L) === !1) break;
582
+ for (var L = -1, F = Object(a), W = c(a), Ce = W.length; Ce--; ) {
583
+ var _e = W[++L];
584
+ if (s(F[_e], _e, F) === !1) break;
585
585
  }
586
586
  return a;
587
587
  };
@@ -593,12 +593,12 @@ function Er() {
593
593
  function Tt(t, a) {
594
594
  return t != null && a in Object(t);
595
595
  }
596
- function it(t, a, s, c, F) {
597
- return t === a || (t == null || a == null || !mt(t) && !bt(a) ? t != t && a != a : (function(L, W, Ce, _e, be, ue) {
598
- var Ae = Ue(L), Me = Ue(W), Te = "[object Array]", Ee = "[object Array]";
599
- Ae || (Te = (Te = qe(L)) == v ? N : Te), Me || (Ee = (Ee = qe(W)) == v ? N : Ee);
600
- var $e = Te == N && !de(L), rt = Ee == N && !de(W), Ge = Te == Ee;
601
- if (Ge && !$e) return ue || (ue = new Ne()), Ae || pr(L) ? Bt(L, W, Ce, _e, be, ue) : (function(ye, he, Ot, Qe, gt, Fe, Ve) {
596
+ function it(t, a, s, c, L) {
597
+ return t === a || (t == null || a == null || !mt(t) && !bt(a) ? t != t && a != a : (function(F, W, Ce, _e, be, ue) {
598
+ var Ae = Ue(F), Me = Ue(W), Te = "[object Array]", Ee = "[object Array]";
599
+ Ae || (Te = (Te = qe(F)) == v ? N : Te), Me || (Ee = (Ee = qe(W)) == v ? N : Ee);
600
+ var $e = Te == N && !de(F), rt = Ee == N && !de(W), Ge = Te == Ee;
601
+ if (Ge && !$e) return ue || (ue = new Ne()), Ae || pr(F) ? Bt(F, W, Ce, _e, be, ue) : (function(ye, he, Ot, Qe, gt, Le, Ve) {
602
602
  switch (Ot) {
603
603
  case "[object DataView]":
604
604
  if (ye.byteLength != he.byteLength || ye.byteOffset != he.byteOffset) return !1;
@@ -617,41 +617,41 @@ function Er() {
617
617
  case I:
618
618
  var Ke = we;
619
619
  case M:
620
- var ut = 2 & Fe;
620
+ var ut = 2 & Le;
621
621
  if (Ke || (Ke = b), ye.size != he.size && !ut) return !1;
622
622
  var vt = Ve.get(ye);
623
623
  if (vt) return vt == he;
624
- Fe |= 1, Ve.set(ye, he);
625
- var at = Bt(Ke(ye), Ke(he), Qe, gt, Fe, Ve);
624
+ Le |= 1, Ve.set(ye, he);
625
+ var at = Bt(Ke(ye), Ke(he), Qe, gt, Le, Ve);
626
626
  return Ve.delete(ye), at;
627
627
  case "[object Symbol]":
628
628
  if (A) return A.call(ye) == A.call(he);
629
629
  }
630
630
  return !1;
631
- })(L, W, Te, Ce, _e, be, ue);
631
+ })(F, W, Te, Ce, _e, be, ue);
632
632
  if (!(2 & be)) {
633
- var Wt = $e && y.call(L, "__wrapped__"), Yt = rt && y.call(W, "__wrapped__");
633
+ var Wt = $e && y.call(F, "__wrapped__"), Yt = rt && y.call(W, "__wrapped__");
634
634
  if (Wt || Yt) {
635
- var mr = Wt ? L.value() : L, br = Yt ? W.value() : W;
635
+ var mr = Wt ? F.value() : F, br = Yt ? W.value() : W;
636
636
  return ue || (ue = new Ne()), Ce(mr, br, _e, be, ue);
637
637
  }
638
638
  }
639
- return Ge ? (ue || (ue = new Ne()), (function(ye, he, Ot, Qe, gt, Fe) {
639
+ return Ge ? (ue || (ue = new Ne()), (function(ye, he, Ot, Qe, gt, Le) {
640
640
  var Ve = 2 & gt, Ke = yt(ye), ut = Ke.length, vt = yt(he).length;
641
641
  if (ut != vt && !Ve) return !1;
642
642
  for (var at = ut; at--; ) {
643
643
  var We = Ke[at];
644
644
  if (!(Ve ? We in he : y.call(he, We))) return !1;
645
645
  }
646
- var Jt = Fe.get(ye);
647
- if (Jt && Fe.get(he)) return Jt == he;
646
+ var Jt = Le.get(ye);
647
+ if (Jt && Le.get(he)) return Jt == he;
648
648
  var Ct = !0;
649
- Fe.set(ye, he), Fe.set(he, ye);
649
+ Le.set(ye, he), Le.set(he, ye);
650
650
  for (var Dt = Ve; ++at < ut; ) {
651
651
  We = Ke[at];
652
652
  var _t = ye[We], xt = he[We];
653
- if (Qe) var Zt = Ve ? Qe(xt, _t, We, he, ye, Fe) : Qe(_t, xt, We, ye, he, Fe);
654
- if (!(Zt === void 0 ? _t === xt || Ot(_t, xt, Qe, gt, Fe) : Zt)) {
653
+ if (Qe) var Zt = Ve ? Qe(xt, _t, We, he, ye, Le) : Qe(_t, xt, We, ye, he, Le);
654
+ if (!(Zt === void 0 ? _t === xt || Ot(_t, xt, Qe, gt, Le) : Zt)) {
655
655
  Ct = !1;
656
656
  break;
657
657
  }
@@ -661,23 +661,23 @@ function Er() {
661
661
  var jt = ye.constructor, wt = he.constructor;
662
662
  jt == wt || !("constructor" in ye) || !("constructor" in he) || typeof jt == "function" && jt instanceof jt && typeof wt == "function" && wt instanceof wt || (Ct = !1);
663
663
  }
664
- return Fe.delete(ye), Fe.delete(he), Ct;
665
- })(L, W, Ce, _e, be, ue)) : !1;
666
- })(t, a, it, s, c, F));
664
+ return Le.delete(ye), Le.delete(he), Ct;
665
+ })(F, W, Ce, _e, be, ue)) : !1;
666
+ })(t, a, it, s, c, L));
667
667
  }
668
668
  function st(t) {
669
669
  return !(!mt(t) || (function(a) {
670
670
  return !!D && D in a;
671
- })(t)) && (Kt(t) || de(t) ? ne : V).test(Ze(t));
671
+ })(t)) && (Kt(t) || de(t) ? ne : P).test(Ze(t));
672
672
  }
673
673
  function cr(t) {
674
- return typeof t == "function" ? t : t == null ? hr : typeof t == "object" ? Ue(t) ? (function(c, F) {
675
- return pt(c) && zt(F) ? qt(ht(c), F) : function(L) {
674
+ return typeof t == "function" ? t : t == null ? hr : typeof t == "object" ? Ue(t) ? (function(c, L) {
675
+ return pt(c) && zt(L) ? qt(ht(c), L) : function(F) {
676
676
  var W = (function(Ce, _e, be) {
677
677
  var ue = Ce == null ? void 0 : ot(Ce, _e);
678
678
  return ue === void 0 ? be : ue;
679
- })(L, c);
680
- return W === void 0 && W === F ? (function(Ce, _e) {
679
+ })(F, c);
680
+ return W === void 0 && W === L ? (function(Ce, _e) {
681
681
  return Ce != null && (function(be, ue, Ae) {
682
682
  ue = pt(ue, be) ? [ue] : Ht(ue);
683
683
  for (var Me, Te = -1, Ee = ue.length; ++Te < Ee; ) {
@@ -687,18 +687,18 @@ function Er() {
687
687
  }
688
688
  return Me || !!(Ee = be ? be.length : 0) && Mt(Ee) && Vt($e, Ee) && (Ue(be) || Gt(be));
689
689
  })(Ce, _e, Tt);
690
- })(L, c) : it(F, W, void 0, 3);
690
+ })(F, c) : it(L, W, void 0, 3);
691
691
  };
692
692
  })(t[0], t[1]) : (function(c) {
693
- var F = (function(L) {
694
- for (var W = yt(L), Ce = W.length; Ce--; ) {
695
- var _e = W[Ce], be = L[_e];
693
+ var L = (function(F) {
694
+ for (var W = yt(F), Ce = W.length; Ce--; ) {
695
+ var _e = W[Ce], be = F[_e];
696
696
  W[Ce] = [_e, be, zt(be)];
697
697
  }
698
698
  return W;
699
699
  })(c);
700
- return F.length == 1 && F[0][2] ? qt(F[0][0], F[0][1]) : function(L) {
701
- return L === c || (function(W, Ce, _e, be) {
700
+ return L.length == 1 && L[0][2] ? qt(L[0][0], L[0][1]) : function(F) {
701
+ return F === c || (function(W, Ce, _e, be) {
702
702
  var ue = _e.length, Ae = ue;
703
703
  if (W == null) return !Ae;
704
704
  for (W = Object(W); ue--; ) {
@@ -715,61 +715,61 @@ function Er() {
715
715
  }
716
716
  }
717
717
  return !0;
718
- })(L, c, F);
718
+ })(F, c, L);
719
719
  };
720
720
  })(t) : pt(a = t) ? (s = ht(a), function(c) {
721
721
  return c?.[s];
722
722
  }) : /* @__PURE__ */ (function(c) {
723
- return function(F) {
724
- return ot(F, c);
723
+ return function(L) {
724
+ return ot(L, c);
725
725
  };
726
726
  })(a);
727
727
  var a, s;
728
728
  }
729
729
  function dr(t) {
730
730
  if (s = (a = t) && a.constructor, c = typeof s == "function" && s.prototype || S, a !== c) return me(t);
731
- var a, s, c, F = [];
732
- for (var L in Object(t)) y.call(t, L) && L != "constructor" && F.push(L);
733
- return F;
731
+ var a, s, c, L = [];
732
+ for (var F in Object(t)) y.call(t, F) && F != "constructor" && L.push(F);
733
+ return L;
734
734
  }
735
735
  function Ht(t) {
736
736
  return Ue(t) ? t : fr(t);
737
737
  }
738
- function Bt(t, a, s, c, F, L) {
739
- var W = 2 & F, Ce = t.length, _e = a.length;
738
+ function Bt(t, a, s, c, L, F) {
739
+ var W = 2 & L, Ce = t.length, _e = a.length;
740
740
  if (Ce != _e && !(W && _e > Ce)) return !1;
741
- var be = L.get(t);
742
- if (be && L.get(a)) return be == a;
743
- var ue = -1, Ae = !0, Me = 1 & F ? new De() : void 0;
744
- for (L.set(t, a), L.set(a, t); ++ue < Ce; ) {
741
+ var be = F.get(t);
742
+ if (be && F.get(a)) return be == a;
743
+ var ue = -1, Ae = !0, Me = 1 & L ? new De() : void 0;
744
+ for (F.set(t, a), F.set(a, t); ++ue < Ce; ) {
745
745
  var Te = t[ue], Ee = a[ue];
746
- if (c) var $e = W ? c(Ee, Te, ue, a, t, L) : c(Te, Ee, ue, t, a, L);
746
+ if (c) var $e = W ? c(Ee, Te, ue, a, t, F) : c(Te, Ee, ue, t, a, F);
747
747
  if ($e !== void 0) {
748
748
  if ($e) continue;
749
749
  Ae = !1;
750
750
  break;
751
751
  }
752
752
  if (Me) {
753
- if (!z(a, (function(rt, Ge) {
754
- if (!Me.has(Ge) && (Te === rt || s(Te, rt, c, F, L))) return Me.add(Ge);
753
+ if (!V(a, (function(rt, Ge) {
754
+ if (!Me.has(Ge) && (Te === rt || s(Te, rt, c, L, F))) return Me.add(Ge);
755
755
  }))) {
756
756
  Ae = !1;
757
757
  break;
758
758
  }
759
- } else if (Te !== Ee && !s(Te, Ee, c, F, L)) {
759
+ } else if (Te !== Ee && !s(Te, Ee, c, L, F)) {
760
760
  Ae = !1;
761
761
  break;
762
762
  }
763
763
  }
764
- return L.delete(t), L.delete(a), Ae;
764
+ return F.delete(t), F.delete(a), Ae;
765
765
  }
766
766
  function ft(t, a) {
767
- var s, c, F = t.__data__;
768
- return ((c = typeof (s = a)) == "string" || c == "number" || c == "symbol" || c == "boolean" ? s !== "__proto__" : s === null) ? F[typeof a == "string" ? "string" : "hash"] : F.map;
767
+ var s, c, L = t.__data__;
768
+ return ((c = typeof (s = a)) == "string" || c == "number" || c == "symbol" || c == "boolean" ? s !== "__proto__" : s === null) ? L[typeof a == "string" ? "string" : "hash"] : L.map;
769
769
  }
770
770
  function tt(t, a) {
771
- var s = (function(c, F) {
772
- return c?.[F];
771
+ var s = (function(c, L) {
772
+ return c?.[L];
773
773
  })(t, a);
774
774
  return st(s) ? s : void 0;
775
775
  }
@@ -792,12 +792,12 @@ function Er() {
792
792
  return s != null && s[t] === a && (a !== void 0 || t in Object(s));
793
793
  };
794
794
  }
795
- (oe && qe(new oe(new ArrayBuffer(1))) != "[object DataView]" || je && qe(new je()) != I || B && qe(B.resolve()) != "[object Promise]" || n && qe(new n()) != M || u && qe(new u()) != "[object WeakMap]") && (qe = function(t) {
795
+ (oe && qe(new oe(new ArrayBuffer(1))) != "[object DataView]" || je && qe(new je()) != I || z && qe(z.resolve()) != "[object Promise]" || n && qe(new n()) != M || u && qe(new u()) != "[object WeakMap]") && (qe = function(t) {
796
796
  var a = e.call(t), s = a == N ? t.constructor : void 0, c = s ? Ze(s) : void 0;
797
797
  if (c) switch (c) {
798
798
  case q:
799
799
  return "[object DataView]";
800
- case R:
800
+ case H:
801
801
  return I;
802
802
  case U:
803
803
  return "[object Promise]";
@@ -813,12 +813,12 @@ function Er() {
813
813
  t = (a = t) == null ? "" : (function(c) {
814
814
  if (typeof c == "string") return c;
815
815
  if (kt(c)) return ae ? ae.call(c) : "";
816
- var F = c + "";
817
- return F == "0" && 1 / c == -1 / 0 ? "-0" : F;
816
+ var L = c + "";
817
+ return L == "0" && 1 / c == -1 / 0 ? "-0" : L;
818
818
  })(a);
819
819
  var s = [];
820
- return Y.test(t) && s.push(""), t.replace(g, (function(c, F, L, W) {
821
- s.push(L ? W.replace(P, "$1") : F || c);
820
+ return Y.test(t) && s.push(""), t.replace(g, (function(c, L, F, W) {
821
+ s.push(F ? W.replace(R, "$1") : L || c);
822
822
  })), s;
823
823
  }));
824
824
  function ht(t) {
@@ -842,10 +842,10 @@ function Er() {
842
842
  function Et(t, a) {
843
843
  if (typeof t != "function" || a && typeof a != "function") throw new TypeError("Expected a function");
844
844
  var s = function() {
845
- var c = arguments, F = a ? a.apply(this, c) : c[0], L = s.cache;
846
- if (L.has(F)) return L.get(F);
845
+ var c = arguments, L = a ? a.apply(this, c) : c[0], F = s.cache;
846
+ if (F.has(L)) return F.get(L);
847
847
  var W = t.apply(this, c);
848
- return s.cache = L.set(F, W), W;
848
+ return s.cache = F.set(L, W), W;
849
849
  };
850
850
  return s.cache = new (Et.Cache || ve)(), s;
851
851
  }
@@ -887,14 +887,14 @@ function Er() {
887
887
  return bt(t) && Mt(t.length) && !!m[e.call(t)];
888
888
  };
889
889
  function yt(t) {
890
- return Nt(t) ? Le(t) : dr(t);
890
+ return Nt(t) ? Fe(t) : dr(t);
891
891
  }
892
892
  function hr(t) {
893
893
  return t;
894
894
  }
895
895
  d.exports = function(t, a, s) {
896
- var c = Ue(t) ? O : xe, F = arguments.length < 3;
897
- return c(t, cr(a), s, F, Se);
896
+ var c = Ue(t) ? O : xe, L = arguments.length < 3;
897
+ return c(t, cr(a), s, L, Se);
898
898
  };
899
899
  }).call(this, i(3), i(7)(r));
900
900
  }, function(r, f) {
@@ -960,18 +960,18 @@ function Er() {
960
960
  if (S === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
961
961
  return S;
962
962
  }
963
- function P(S) {
964
- return (P = Object.setPrototypeOf ? Object.getPrototypeOf : function(h) {
963
+ function R(S) {
964
+ return (R = Object.setPrototypeOf ? Object.getPrototypeOf : function(h) {
965
965
  return h.__proto__ || Object.getPrototypeOf(h);
966
966
  })(S);
967
967
  }
968
- function V(S, h) {
969
- return (V = Object.setPrototypeOf || function(D, K) {
968
+ function P(S, h) {
969
+ return (P = Object.setPrototypeOf || function(D, K) {
970
970
  return D.__proto__ = K, D;
971
971
  })(S, h);
972
972
  }
973
973
  i.r(f);
974
- var te = i(0), m = i.n(te), se = i(5), $ = i.n(se), H = i(4), _ = i.n(H), C = i(6), Q = i.n(C), G = i(2), J = i.n(G), O = i(1), z = i.n(O);
974
+ var te = i(0), m = i.n(te), se = i(5), $ = i.n(se), B = i(4), _ = i.n(B), C = i(6), Q = i.n(C), G = i(2), J = i.n(G), O = i(1), V = i.n(O);
975
975
  i(8);
976
976
  function xe(S, h) {
977
977
  return I(S) || (function(D, K) {
@@ -1000,8 +1000,8 @@ function Er() {
1000
1000
  var le = { name: X[0], regions: X[1], iso2: X[2], countryCode: X[3], dialCode: X[3], format: b(D, X[3], X[4], K, y), priority: X[5] || 0 }, pe = [];
1001
1001
  return X[6] && X[6].map((function(me) {
1002
1002
  var oe = (function(je) {
1003
- for (var B = 1; B < arguments.length; B++) {
1004
- var n = arguments[B] != null ? arguments[B] : {}, u = Object.keys(n);
1003
+ for (var z = 1; z < arguments.length; z++) {
1004
+ var n = arguments[z] != null ? arguments[z] : {}, u = Object.keys(n);
1005
1005
  typeof Object.getOwnPropertySymbols == "function" && (u = u.concat(Object.getOwnPropertySymbols(n).filter((function(j) {
1006
1006
  return Object.getOwnPropertyDescriptor(n, j).enumerable;
1007
1007
  })))), u.forEach((function(j) {
@@ -1039,7 +1039,7 @@ function Er() {
1039
1039
  return y[1] && (D[4] = y[1]), y[3] && (D[5] = y[3]), y[2] && (D[6] = y[2]), D;
1040
1040
  }));
1041
1041
  }
1042
- var fe = function S(h, D, K, y, e, ne, re, X, le, pe, me, oe, je, B) {
1042
+ var fe = function S(h, D, K, y, e, ne, re, X, le, pe, me, oe, je, z) {
1043
1043
  M(this, S), this.filterRegions = function(T, A) {
1044
1044
  if (typeof T == "string") {
1045
1045
  var ae = T;
@@ -1095,28 +1095,28 @@ function Er() {
1095
1095
  var n = (function(T, A, ae) {
1096
1096
  var E = [];
1097
1097
  return p(E, 1, T, !0), p(E, 3, A), p(E, 2, ae), E;
1098
- })(X, le, pe), u = x(JSON.parse(JSON.stringify(de)), n), j = x(JSON.parse(JSON.stringify(we)), n), q = xe(w(u, h, oe, je, B), 2), R = q[0], U = q[1];
1098
+ })(X, le, pe), u = x(JSON.parse(JSON.stringify(de)), n), j = x(JSON.parse(JSON.stringify(we)), n), q = xe(w(u, h, oe, je, z), 2), H = q[0], U = q[1];
1099
1099
  if (D) {
1100
- var Z = xe(w(j, h, oe, je, B), 2), ce = Z[0];
1101
- Z[1], R = this.sortTerritories(ce, R);
1100
+ var Z = xe(w(j, h, oe, je, z), 2), ce = Z[0];
1101
+ Z[1], H = this.sortTerritories(ce, H);
1102
1102
  }
1103
- K && (R = this.filterRegions(K, R)), this.onlyCountries = this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(y, R, re.includes("onlyCountries")), ne), me, re.includes("onlyCountries")), this.preferredCountries = e.length === 0 ? [] : this.localizeCountries(this.getFilteredCountryList(e, R, re.includes("preferredCountries")), me, re.includes("preferredCountries")), this.hiddenAreaCodes = this.excludeCountries(this.getFilteredCountryList(y, U), ne);
1103
+ K && (H = this.filterRegions(K, H)), this.onlyCountries = this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(y, H, re.includes("onlyCountries")), ne), me, re.includes("onlyCountries")), this.preferredCountries = e.length === 0 ? [] : this.localizeCountries(this.getFilteredCountryList(e, H, re.includes("preferredCountries")), me, re.includes("preferredCountries")), this.hiddenAreaCodes = this.excludeCountries(this.getFilteredCountryList(y, U), ne);
1104
1104
  }, ke = (function(S) {
1105
1105
  function h(y) {
1106
1106
  var e;
1107
1107
  M(this, h), (e = (function(n, u) {
1108
1108
  return !u || Y(u) !== "object" && typeof u != "function" ? g(n) : u;
1109
- })(this, P(h).call(this, y))).getProbableCandidate = _()((function(n) {
1109
+ })(this, R(h).call(this, y))).getProbableCandidate = _()((function(n) {
1110
1110
  return n && n.length !== 0 ? e.state.onlyCountries.filter((function(u) {
1111
1111
  return J()(u.name.toLowerCase(), n.toLowerCase());
1112
1112
  }), g(g(e)))[0] : null;
1113
1113
  })), e.guessSelectedCountry = _()((function(n, u, j, q) {
1114
- var R;
1114
+ var H;
1115
1115
  if (e.props.enableAreaCodes === !1 && (q.some((function(ce) {
1116
1116
  if (J()(n, ce.dialCode)) return j.some((function(T) {
1117
- if (ce.iso2 === T.iso2 && T.mainCode) return R = T, !0;
1117
+ if (ce.iso2 === T.iso2 && T.mainCode) return H = T, !0;
1118
1118
  })), !0;
1119
- })), R)) return R;
1119
+ })), H)) return H;
1120
1120
  var U = j.find((function(ce) {
1121
1121
  return ce.iso2 == u;
1122
1122
  }));
@@ -1136,8 +1136,8 @@ function Er() {
1136
1136
  if (n) {
1137
1137
  var j = e.dropdownRef;
1138
1138
  if (j && document.body) {
1139
- var q = j.offsetHeight, R = j.getBoundingClientRect().top + document.body.scrollTop, U = R + q, Z = n, ce = Z.getBoundingClientRect(), T = Z.offsetHeight, A = ce.top + document.body.scrollTop, ae = A + T, E = A - R + j.scrollTop, k = q / 2 - T / 2;
1140
- if (e.props.enableSearch ? A < R + 32 : A < R) u && (E -= k), j.scrollTop = E;
1139
+ var q = j.offsetHeight, H = j.getBoundingClientRect().top + document.body.scrollTop, U = H + q, Z = n, ce = Z.getBoundingClientRect(), T = Z.offsetHeight, A = ce.top + document.body.scrollTop, ae = A + T, E = A - H + j.scrollTop, k = q / 2 - T / 2;
1140
+ if (e.props.enableSearch ? A < H + 32 : A < H) u && (E -= k), j.scrollTop = E;
1141
1141
  else if (ae > U) {
1142
1142
  u && (E += k);
1143
1143
  var ve = q - T;
@@ -1150,14 +1150,14 @@ function Er() {
1150
1150
  n && document.body && (n.scrollTop = 0);
1151
1151
  }, e.formatNumber = function(n, u) {
1152
1152
  if (!u) return n;
1153
- var j, q = u.format, R = e.props, U = R.disableCountryCode, Z = R.enableAreaCodeStretch, ce = R.enableLongNumbers, T = R.autoFormat;
1153
+ var j, q = u.format, H = e.props, U = H.disableCountryCode, Z = H.enableAreaCodeStretch, ce = H.enableLongNumbers, T = H.autoFormat;
1154
1154
  if (U ? ((j = q.split(" ")).shift(), j = j.join(" ")) : Z && u.isAreaCode ? ((j = q.split(" "))[1] = j[1].replace(/\.+/, "".padEnd(u.areaCodeLength, ".")), j = j.join(" ")) : j = q, !n || n.length === 0) return U ? "" : e.props.prefix;
1155
1155
  if (n && n.length < 2 || !j || !T) return U ? n : e.props.prefix + n;
1156
1156
  var A, ae = Q()(j, (function(E, k) {
1157
1157
  if (E.remainingText.length === 0) return E;
1158
1158
  if (k !== ".") return { formattedText: E.formattedText + k, remainingText: E.remainingText };
1159
- var ve, De = I(ve = E.remainingText) || d(ve) || N(), Ne = De[0], Le = De.slice(1);
1160
- return { formattedText: E.formattedText + Ne, remainingText: Le };
1159
+ var ve, De = I(ve = E.remainingText) || d(ve) || N(), Ne = De[0], Fe = De.slice(1);
1160
+ return { formattedText: E.formattedText + Ne, remainingText: Fe };
1161
1161
  }), { formattedText: "", remainingText: n.split("") });
1162
1162
  return (A = ce ? ae.formattedText + ae.remainingText.join("") : ae.formattedText).includes("(") && !A.includes(")") && (A += ")"), A;
1163
1163
  }, e.cursorToEnd = function() {
@@ -1173,32 +1173,32 @@ function Er() {
1173
1173
  return e.state.selectedCountry ? { name: e.state.selectedCountry.name || "", dialCode: e.state.selectedCountry.dialCode || "", countryCode: e.state.selectedCountry.iso2 || "", format: e.state.selectedCountry.format || "" } : {};
1174
1174
  }, e.handleFlagDropdownClick = function(n) {
1175
1175
  if (n.preventDefault(), e.state.showDropdown || !e.props.disabled) {
1176
- var u = e.state, j = u.preferredCountries, q = u.onlyCountries, R = u.selectedCountry, U = e.concatPreferredCountries(j, q).findIndex((function(Z) {
1177
- return Z.dialCode === R.dialCode && Z.iso2 === R.iso2;
1176
+ var u = e.state, j = u.preferredCountries, q = u.onlyCountries, H = u.selectedCountry, U = e.concatPreferredCountries(j, q).findIndex((function(Z) {
1177
+ return Z.dialCode === H.dialCode && Z.iso2 === H.iso2;
1178
1178
  }));
1179
1179
  e.setState({ showDropdown: !e.state.showDropdown, highlightCountryIndex: U }, (function() {
1180
1180
  e.state.showDropdown && e.scrollTo(e.getElement(e.state.highlightCountryIndex));
1181
1181
  }));
1182
1182
  }
1183
1183
  }, e.handleInput = function(n) {
1184
- var u = n.target.value, j = e.props, q = j.prefix, R = j.onChange, U = e.props.disableCountryCode ? "" : q, Z = e.state.selectedCountry, ce = e.state.freezeSelection;
1184
+ var u = n.target.value, j = e.props, q = j.prefix, H = j.onChange, U = e.props.disableCountryCode ? "" : q, Z = e.state.selectedCountry, ce = e.state.freezeSelection;
1185
1185
  if (!e.props.countryCodeEditable) {
1186
1186
  var T = q + (Z.hasAreaCodes ? e.state.onlyCountries.find((function(Se) {
1187
1187
  return Se.iso2 === Z.iso2 && Se.mainCode;
1188
1188
  })).dialCode : Z.dialCode);
1189
1189
  if (u.slice(0, T.length) !== T) return;
1190
1190
  }
1191
- if (u === q) return R && R("", e.getCountryData(), n, ""), e.setState({ formattedNumber: "" });
1191
+ if (u === q) return H && H("", e.getCountryData(), n, ""), e.setState({ formattedNumber: "" });
1192
1192
  if (!(u.replace(/\D/g, "").length > 15 && (e.props.enableLongNumbers === !1 || typeof e.props.enableLongNumbers == "number" && u.replace(/\D/g, "").length > e.props.enableLongNumbers)) && u !== e.state.formattedNumber) {
1193
1193
  n.preventDefault ? n.preventDefault() : n.returnValue = !1;
1194
1194
  var A = e.props.country, ae = e.state, E = ae.onlyCountries, k = ae.selectedCountry, ve = ae.hiddenAreaCodes;
1195
- if (R && n.persist(), u.length > 0) {
1195
+ if (H && n.persist(), u.length > 0) {
1196
1196
  var De = u.replace(/\D/g, "");
1197
1197
  (!e.state.freezeSelection || k && k.dialCode.length > De.length) && (Z = e.props.disableCountryGuess ? k : e.guessSelectedCountry(De.substring(0, 6), A, E, ve) || k, ce = !1), U = e.formatNumber(De, Z), Z = Z.dialCode ? Z : k;
1198
1198
  }
1199
- var Ne = n.target.selectionStart, Le = n.target.selectionStart, Re = e.state.formattedNumber, Je = U.length - Re.length;
1199
+ var Ne = n.target.selectionStart, Fe = n.target.selectionStart, Pe = e.state.formattedNumber, Je = U.length - Pe.length;
1200
1200
  e.setState({ formattedNumber: U, freezeSelection: ce, selectedCountry: Z }, (function() {
1201
- Je > 0 && (Le -= Je), U.charAt(U.length - 1) == ")" ? e.numberInputRef.setSelectionRange(U.length - 1, U.length - 1) : Le > 0 && Re.length >= U.length ? e.numberInputRef.setSelectionRange(Le, Le) : Ne < Re.length && e.numberInputRef.setSelectionRange(Ne, Ne), R && R(U.replace(/[^0-9]+/g, ""), e.getCountryData(), n, U);
1201
+ Je > 0 && (Fe -= Je), U.charAt(U.length - 1) == ")" ? e.numberInputRef.setSelectionRange(U.length - 1, U.length - 1) : Fe > 0 && Pe.length >= U.length ? e.numberInputRef.setSelectionRange(Fe, Fe) : Ne < Pe.length && e.numberInputRef.setSelectionRange(Ne, Ne), H && H(U.replace(/[^0-9]+/g, ""), e.getCountryData(), n, U);
1202
1202
  }));
1203
1203
  }
1204
1204
  }, e.handleInputClick = function(n) {
@@ -1211,7 +1211,7 @@ function Er() {
1211
1211
  return ce == n;
1212
1212
  }));
1213
1213
  if (q) {
1214
- var R = e.state.formattedNumber.replace(" ", "").replace("(", "").replace(")", "").replace("-", ""), U = R.length > 1 ? R.replace(j.dialCode, q.dialCode) : q.dialCode, Z = e.formatNumber(U.replace(/\D/g, ""), q);
1214
+ var H = e.state.formattedNumber.replace(" ", "").replace("(", "").replace(")", "").replace("-", ""), U = H.length > 1 ? H.replace(j.dialCode, q.dialCode) : q.dialCode, Z = e.formatNumber(U.replace(/\D/g, ""), q);
1215
1215
  e.setState({ showDropdown: !1, selectedCountry: q, freezeSelection: !0, formattedNumber: Z, searchValue: "" }, (function() {
1216
1216
  e.cursorToEnd(), e.props.onChange && e.props.onChange(Z.replace(/[^0-9]+/g, ""), e.getCountryData(), u, Z);
1217
1217
  }));
@@ -1241,8 +1241,8 @@ function Er() {
1241
1241
  if (j.includes("form-control") && (n.which === u.ENTER || n.which === u.ESC)) return n.target.blur();
1242
1242
  if (e.state.showDropdown && !e.props.disabled && (!j.includes("search-box") || n.which === u.UP || n.which === u.DOWN || n.which === u.ENTER || n.which === u.ESC && n.target.value === "")) {
1243
1243
  n.preventDefault ? n.preventDefault() : n.returnValue = !1;
1244
- var q = function(R) {
1245
- e.setState({ highlightCountryIndex: e.getHighlightCountryIndex(R) }, (function() {
1244
+ var q = function(H) {
1245
+ e.setState({ highlightCountryIndex: e.getHighlightCountryIndex(H) }, (function() {
1246
1246
  e.scrollTo(e.getElement(e.state.highlightCountryIndex), !0);
1247
1247
  }));
1248
1248
  };
@@ -1265,16 +1265,16 @@ function Er() {
1265
1265
  }
1266
1266
  }
1267
1267
  }, e.handleInputKeyDown = function(n) {
1268
- var u = e.props, j = u.keys, q = u.onEnterKeyPress, R = u.onKeyDown;
1269
- n.which === j.ENTER && q && q(n), R && R(n);
1268
+ var u = e.props, j = u.keys, q = u.onEnterKeyPress, H = u.onKeyDown;
1269
+ n.which === j.ENTER && q && q(n), H && H(n);
1270
1270
  }, e.handleClickOutside = function(n) {
1271
1271
  e.dropdownRef && !e.dropdownContainerRef.contains(n.target) && e.state.showDropdown && e.setState({ showDropdown: !1 });
1272
1272
  }, e.handleSearchChange = function(n) {
1273
- var u = n.currentTarget.value, j = e.state, q = j.preferredCountries, R = j.selectedCountry, U = 0;
1274
- if (u === "" && R) {
1273
+ var u = n.currentTarget.value, j = e.state, q = j.preferredCountries, H = j.selectedCountry, U = 0;
1274
+ if (u === "" && H) {
1275
1275
  var Z = e.state.onlyCountries;
1276
1276
  U = e.concatPreferredCountries(q, Z).findIndex((function(ce) {
1277
- return ce == R;
1277
+ return ce == H;
1278
1278
  })), setTimeout((function() {
1279
1279
  return e.scrollTo(e.getElement(U));
1280
1280
  }), 100);
@@ -1285,8 +1285,8 @@ function Er() {
1285
1285
  }, e.getDropdownCountryName = function(n) {
1286
1286
  return n.localName || n.name;
1287
1287
  }, e.getSearchFilteredCountries = function() {
1288
- var n = e.state, u = n.preferredCountries, j = n.onlyCountries, q = n.searchValue, R = e.props.enableSearch, U = e.concatPreferredCountries(u, j), Z = q.trim().toLowerCase().replace("+", "");
1289
- if (R && Z) {
1288
+ var n = e.state, u = n.preferredCountries, j = n.onlyCountries, q = n.searchValue, H = e.props.enableSearch, U = e.concatPreferredCountries(u, j), Z = q.trim().toLowerCase().replace("+", "");
1289
+ if (H && Z) {
1290
1290
  if (/^\d+$/.test(Z)) return U.filter((function(A) {
1291
1291
  var ae = A.dialCode;
1292
1292
  return ["".concat(ae)].some((function(E) {
@@ -1308,19 +1308,19 @@ function Er() {
1308
1308
  }
1309
1309
  return U;
1310
1310
  }, e.getCountryDropdownList = function() {
1311
- var n = e.state, u = n.preferredCountries, j = n.highlightCountryIndex, q = n.showDropdown, R = n.searchValue, U = e.props, Z = U.disableDropdown, ce = U.prefix, T = e.props, A = T.enableSearch, ae = T.searchNotFound, E = T.disableSearchIcon, k = T.searchClass, ve = T.searchStyle, De = T.searchPlaceholder, Ne = T.autocompleteSearch, Le = e.getSearchFilteredCountries().map((function(Se, et) {
1312
- var ot = j === et, Tt = z()({ country: !0, preferred: Se.iso2 === "us" || Se.iso2 === "gb", active: Se.iso2 === "us", highlight: ot }), it = "flag ".concat(Se.iso2);
1311
+ var n = e.state, u = n.preferredCountries, j = n.highlightCountryIndex, q = n.showDropdown, H = n.searchValue, U = e.props, Z = U.disableDropdown, ce = U.prefix, T = e.props, A = T.enableSearch, ae = T.searchNotFound, E = T.disableSearchIcon, k = T.searchClass, ve = T.searchStyle, De = T.searchPlaceholder, Ne = T.autocompleteSearch, Fe = e.getSearchFilteredCountries().map((function(Se, et) {
1312
+ var ot = j === et, Tt = V()({ country: !0, preferred: Se.iso2 === "us" || Se.iso2 === "gb", active: Se.iso2 === "us", highlight: ot }), it = "flag ".concat(Se.iso2);
1313
1313
  return m.a.createElement("li", Object.assign({ ref: function(st) {
1314
1314
  return e["flag_no_".concat(et)] = st;
1315
1315
  }, key: "flag_no_".concat(et), "data-flag-key": "flag_no_".concat(et), className: Tt, "data-dial-code": "1", tabIndex: Z ? "-1" : "0", "data-country-code": Se.iso2, onClick: function(st) {
1316
1316
  return e.handleFlagItemClick(Se, st);
1317
1317
  }, role: "option" }, ot ? { "aria-selected": !0 } : {}), m.a.createElement("div", { className: it }), m.a.createElement("span", { className: "country-name" }, e.getDropdownCountryName(Se)), m.a.createElement("span", { className: "dial-code" }, Se.format ? e.formatNumber(Se.dialCode, Se) : ce + Se.dialCode));
1318
- })), Re = m.a.createElement("li", { key: "dashes", className: "divider" });
1319
- u.length > 0 && (!A || A && !R.trim()) && Le.splice(u.length, 0, Re);
1320
- var Je = z()(o({ "country-list": !0, hide: !q }, e.props.dropdownClass, !0));
1318
+ })), Pe = m.a.createElement("li", { key: "dashes", className: "divider" });
1319
+ u.length > 0 && (!A || A && !H.trim()) && Fe.splice(u.length, 0, Pe);
1320
+ var Je = V()(o({ "country-list": !0, hide: !q }, e.props.dropdownClass, !0));
1321
1321
  return m.a.createElement("ul", { ref: function(Se) {
1322
1322
  return !A && Se && Se.focus(), e.dropdownRef = Se;
1323
- }, className: Je, style: e.props.dropdownStyle, role: "listbox", tabIndex: "0" }, A && m.a.createElement("li", { className: z()(o({ search: !0 }, k, k)) }, !E && m.a.createElement("span", { className: z()(o({ "search-emoji": !0 }, "".concat(k, "-emoji"), k)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), m.a.createElement("input", { className: z()(o({ "search-box": !0 }, "".concat(k, "-box"), k)), style: ve, type: "search", placeholder: De, autoFocus: !0, autoComplete: Ne ? "on" : "off", value: R, onChange: e.handleSearchChange })), Le.length > 0 ? Le : m.a.createElement("li", { className: "no-entries-message" }, m.a.createElement("span", null, ae)));
1323
+ }, className: Je, style: e.props.dropdownStyle, role: "listbox", tabIndex: "0" }, A && m.a.createElement("li", { className: V()(o({ search: !0 }, k, k)) }, !E && m.a.createElement("span", { className: V()(o({ "search-emoji": !0 }, "".concat(k, "-emoji"), k)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), m.a.createElement("input", { className: V()(o({ "search-box": !0 }, "".concat(k, "-box"), k)), style: ve, type: "search", placeholder: De, autoFocus: !0, autoComplete: Ne ? "on" : "off", value: H, onChange: e.handleSearchChange })), Fe.length > 0 ? Fe : m.a.createElement("li", { className: "no-entries-message" }, m.a.createElement("span", null, ae)));
1324
1324
  };
1325
1325
  var ne, re = new fe(y.enableAreaCodes, y.enableTerritories, y.regions, y.onlyCountries, y.preferredCountries, y.excludeCountries, y.preserveOrder, y.masks, y.priority, y.areaCodes, y.localization, y.prefix, y.defaultMask, y.alwaysDefaultMask), X = re.onlyCountries, le = re.preferredCountries, pe = re.hiddenAreaCodes, me = y.value ? y.value.replace(/\D/g, "") : "";
1326
1326
  ne = y.disableInitialCountryGuess ? 0 : me.length > 1 ? e.guessSelectedCountry(me.substring(0, 6), y.country, X, pe) || 0 : y.country && X.find((function(n) {
@@ -1328,15 +1328,15 @@ function Er() {
1328
1328
  })) || 0;
1329
1329
  var oe, je = me.length < 2 && ne && !J()(me, ne.dialCode) ? ne.dialCode : "";
1330
1330
  oe = me === "" && ne === 0 ? "" : e.formatNumber((y.disableCountryCode ? "" : je) + me, ne.name ? ne : void 0);
1331
- var B = X.findIndex((function(n) {
1331
+ var z = X.findIndex((function(n) {
1332
1332
  return n == ne;
1333
1333
  }));
1334
- return e.state = { showDropdown: y.showDropdown, formattedNumber: oe, onlyCountries: X, preferredCountries: le, hiddenAreaCodes: pe, selectedCountry: ne, highlightCountryIndex: B, queryString: "", freezeSelection: !1, debouncedQueryStingSearcher: $()(e.searchCountry, 250), searchValue: "" }, e;
1334
+ return e.state = { showDropdown: y.showDropdown, formattedNumber: oe, onlyCountries: X, preferredCountries: le, hiddenAreaCodes: pe, selectedCountry: ne, highlightCountryIndex: z, queryString: "", freezeSelection: !1, debouncedQueryStingSearcher: $()(e.searchCountry, 250), searchValue: "" }, e;
1335
1335
  }
1336
1336
  var D, K;
1337
1337
  return (function(y, e) {
1338
1338
  if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
1339
- y.prototype = Object.create(e && e.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), e && V(y, e);
1339
+ y.prototype = Object.create(e && e.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), e && P(y, e);
1340
1340
  })(h, S), D = h, (K = [{ key: "componentDidMount", value: function() {
1341
1341
  document.addEventListener && this.props.enableClickOutside && document.addEventListener("mousedown", this.handleClickOutside), this.props.onMount && this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g, ""), this.getCountryData(), this.state.formattedNumber);
1342
1342
  } }, { key: "componentWillUnmount", value: function() {
@@ -1347,21 +1347,21 @@ function Er() {
1347
1347
  if (y === null) return this.setState({ selectedCountry: 0, formattedNumber: "" });
1348
1348
  var e = this.state, ne = e.onlyCountries, re = e.selectedCountry, X = e.hiddenAreaCodes, le = this.props, pe = le.country, me = le.prefix;
1349
1349
  if (y === "") return this.setState({ selectedCountry: re, formattedNumber: "" });
1350
- var oe, je, B = y.replace(/\D/g, "");
1351
- if (re && J()(y, me + re.dialCode)) je = this.formatNumber(B, re), this.setState({ formattedNumber: je });
1350
+ var oe, je, z = y.replace(/\D/g, "");
1351
+ if (re && J()(y, me + re.dialCode)) je = this.formatNumber(z, re), this.setState({ formattedNumber: je });
1352
1352
  else {
1353
- var n = (oe = this.props.disableCountryGuess ? re : this.guessSelectedCountry(B.substring(0, 6), pe, ne, X) || re) && J()(B, me + oe.dialCode) ? oe.dialCode : "";
1354
- je = this.formatNumber((this.props.disableCountryCode ? "" : n) + B, oe || void 0), this.setState({ selectedCountry: oe, formattedNumber: je });
1353
+ var n = (oe = this.props.disableCountryGuess ? re : this.guessSelectedCountry(z.substring(0, 6), pe, ne, X) || re) && J()(z, me + oe.dialCode) ? oe.dialCode : "";
1354
+ je = this.formatNumber((this.props.disableCountryCode ? "" : n) + z, oe || void 0), this.setState({ selectedCountry: oe, formattedNumber: je });
1355
1355
  }
1356
1356
  } }, { key: "render", value: function() {
1357
- var y, e, ne, re = this, X = this.state, le = X.onlyCountries, pe = X.selectedCountry, me = X.showDropdown, oe = X.formattedNumber, je = X.hiddenAreaCodes, B = this.props, n = B.disableDropdown, u = B.renderStringAsFlag, j = B.isValid, q = B.defaultErrorMessage, R = B.specialLabel;
1357
+ var y, e, ne, re = this, X = this.state, le = X.onlyCountries, pe = X.selectedCountry, me = X.showDropdown, oe = X.formattedNumber, je = X.hiddenAreaCodes, z = this.props, n = z.disableDropdown, u = z.renderStringAsFlag, j = z.isValid, q = z.defaultErrorMessage, H = z.specialLabel;
1358
1358
  if (typeof j == "boolean") e = j;
1359
1359
  else {
1360
1360
  var U = j(oe.replace(/\D/g, ""), pe, le, je);
1361
1361
  typeof U == "boolean" ? (e = U) === !1 && (ne = q) : (e = !1, ne = U);
1362
1362
  }
1363
- var Z = z()((o(y = {}, this.props.containerClass, !0), o(y, "react-tel-input", !0), y)), ce = z()({ arrow: !0, up: me }), T = z()(o({ "form-control": !0, "invalid-number": !e, open: me }, this.props.inputClass, !0)), A = z()({ "selected-flag": !0, open: me }), ae = z()(o({ "flag-dropdown": !0, "invalid-number": !e, open: me }, this.props.buttonClass, !0)), E = "flag ".concat(pe && pe.iso2);
1364
- return m.a.createElement("div", { className: "".concat(Z, " ").concat(this.props.className), style: this.props.style || this.props.containerStyle, onKeyDown: this.handleKeydown }, R && m.a.createElement("div", { className: "special-label" }, R), ne && m.a.createElement("div", { className: "invalid-number-message" }, ne), m.a.createElement("input", Object.assign({ className: T, style: this.props.inputStyle, onChange: this.handleInput, onClick: this.handleInputClick, onDoubleClick: this.handleDoubleClick, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onCopy: this.handleInputCopy, value: oe, onKeyDown: this.handleInputKeyDown, placeholder: this.props.placeholder, disabled: this.props.disabled, type: "tel" }, this.props.inputProps, { ref: function(k) {
1363
+ var Z = V()((o(y = {}, this.props.containerClass, !0), o(y, "react-tel-input", !0), y)), ce = V()({ arrow: !0, up: me }), T = V()(o({ "form-control": !0, "invalid-number": !e, open: me }, this.props.inputClass, !0)), A = V()({ "selected-flag": !0, open: me }), ae = V()(o({ "flag-dropdown": !0, "invalid-number": !e, open: me }, this.props.buttonClass, !0)), E = "flag ".concat(pe && pe.iso2);
1364
+ return m.a.createElement("div", { className: "".concat(Z, " ").concat(this.props.className), style: this.props.style || this.props.containerStyle, onKeyDown: this.handleKeydown }, H && m.a.createElement("div", { className: "special-label" }, H), ne && m.a.createElement("div", { className: "invalid-number-message" }, ne), m.a.createElement("input", Object.assign({ className: T, style: this.props.inputStyle, onChange: this.handleInput, onClick: this.handleInputClick, onDoubleClick: this.handleDoubleClick, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onCopy: this.handleInputCopy, value: oe, onKeyDown: this.handleInputKeyDown, placeholder: this.props.placeholder, disabled: this.props.disabled, type: "tel" }, this.props.inputProps, { ref: function(k) {
1365
1365
  re.numberInputRef = k, typeof re.props.inputProps.ref == "function" ? re.props.inputProps.ref(k) : typeof re.props.inputProps.ref == "object" && (re.props.inputProps.ref.current = k);
1366
1366
  } })), m.a.createElement("div", { className: ae, style: this.props.buttonStyle, ref: function(k) {
1367
1367
  return re.dropdownContainerRef = k;
@@ -1371,8 +1371,8 @@ function Er() {
1371
1371
  ke.defaultProps = { country: "", value: "", onlyCountries: [], preferredCountries: [], excludeCountries: [], placeholder: "1 (702) 123-4567", searchPlaceholder: "search", searchNotFound: "No entries to show", flagsImagePath: "./flags.png", disabled: !1, containerStyle: {}, inputStyle: {}, buttonStyle: {}, dropdownStyle: {}, searchStyle: {}, containerClass: "", inputClass: "", buttonClass: "", dropdownClass: "", searchClass: "", className: "", autoFormat: !0, enableAreaCodes: !1, enableTerritories: !1, disableCountryCode: !1, disableDropdown: !1, enableLongNumbers: !1, countryCodeEditable: !0, enableSearch: !1, disableSearchIcon: !1, disableInitialCountryGuess: !1, disableCountryGuess: !1, regions: "", inputProps: {}, localization: {}, masks: null, priority: null, areaCodes: null, preserveOrder: [], defaultMask: "... ... ... ... ..", alwaysDefaultMask: !1, prefix: "+", copyNumbersOnly: !0, renderStringAsFlag: "", autocompleteSearch: !1, jumpCursorToEnd: !0, enableAreaCodeStretch: !1, enableClickOutside: !0, showDropdown: !1, isValid: !0, defaultErrorMessage: "", specialLabel: "Phone", onEnterKeyPress: null, keys: { UP: 38, DOWN: 40, RIGHT: 39, LEFT: 37, ENTER: 13, ESC: 27, PLUS: 43, A: 65, Z: 90, SPACE: 32, TAB: 9 } }, f.default = ke;
1372
1372
  }])), At;
1373
1373
  }
1374
- var Nr = Er();
1375
- const Mr = /* @__PURE__ */ yr(Nr), kr = ({
1374
+ var Or = kr();
1375
+ const Dr = /* @__PURE__ */ yr(Or), Lr = ({
1376
1376
  value: r,
1377
1377
  isErrored: f,
1378
1378
  onChange: i,
@@ -1392,8 +1392,8 @@ const Mr = /* @__PURE__ */ yr(Nr), kr = ({
1392
1392
  // eslint-disable-next-line
1393
1393
  internationalSupport: g = !1,
1394
1394
  // deprecated
1395
- selectedCountryCode: P = "us",
1396
- disabled: V = !1,
1395
+ selectedCountryCode: R = "us",
1396
+ disabled: P = !1,
1397
1397
  label: te
1398
1398
  }) => {
1399
1399
  const [m, se] = Be.useState(""), $ = () => I ? "" : /* @__PURE__ */ l.jsx(
@@ -1402,11 +1402,11 @@ const Mr = /* @__PURE__ */ yr(Nr), kr = ({
1402
1402
  id: "phoneNumberExplanation",
1403
1403
  defaultMessage: "Optional - get text notifications of status updates"
1404
1404
  }
1405
- ), H = Pe.useRef(null), _ = "sid-phone-number-error", C = (G, J) => {
1405
+ ), B = Re.useRef(null), _ = "sid-phone-number-error", C = (G, J) => {
1406
1406
  m || se(J.dialCode), G.slice(m.length) ? i(`+${G}`) : i("");
1407
1407
  };
1408
- return Pe.useEffect(() => {
1409
- H.current && $t("phoneNumber", H.current);
1408
+ return Re.useEffect(() => {
1409
+ B.current && $t("phoneNumber", B.current);
1410
1410
  }), It("phoneNumber")?.hidden ? null : /* @__PURE__ */ l.jsxs("div", { className: "sid-field sid-phone-number", children: [
1411
1411
  /* @__PURE__ */ l.jsx("div", { className: "sid-l-space-top-md" }),
1412
1412
  /* @__PURE__ */ l.jsx(
@@ -1421,16 +1421,16 @@ const Mr = /* @__PURE__ */ yr(Nr), kr = ({
1421
1421
  }
1422
1422
  ),
1423
1423
  /* @__PURE__ */ l.jsx(
1424
- Mr,
1424
+ Dr,
1425
1425
  {
1426
- country: P.toLowerCase(),
1426
+ country: R.toLowerCase(),
1427
1427
  containerClass: "react-tel-input sid-phone-number__wrapper",
1428
1428
  inputClass: `sid-text-input sid-phone-number__field sid-phone-number__field--intl ${I ? "sid-text-input--required" : ""} sid-l-full-width ${f ? "sid-text-input--error" : ""}`,
1429
1429
  autoFormat: !1,
1430
1430
  value: r || `${m}`,
1431
1431
  onChange: (G, J) => C(G, J),
1432
1432
  placeholder: M,
1433
- ref: H,
1433
+ ref: B,
1434
1434
  inputProps: {
1435
1435
  id: "sid-phone-number",
1436
1436
  name: "sid-phone-number",
@@ -1441,7 +1441,7 @@ const Mr = /* @__PURE__ */ yr(Nr), kr = ({
1441
1441
  "aria-describedby": f ? _ : "",
1442
1442
  "aria-invalid": f,
1443
1443
  countryCodeEditable: !1,
1444
- disabled: V,
1444
+ disabled: P,
1445
1445
  disableCountryGuess: !0
1446
1446
  }
1447
1447
  ),
@@ -1461,7 +1461,7 @@ const Mr = /* @__PURE__ */ yr(Nr), kr = ({
1461
1461
  ) }),
1462
1462
  ie && /* @__PURE__ */ l.jsx("div", { className: "sid-l-position sid-carrier-disclosure-consent", children: /* @__PURE__ */ l.jsx("div", { className: "sid-h-small-text sid-l-space-top-md", children: /* @__PURE__ */ l.jsxs("label", { htmlFor: "sid-opt-in__carrier-consent", children: [
1463
1463
  /* @__PURE__ */ l.jsx(
1464
- Rt,
1464
+ Pt,
1465
1465
  {
1466
1466
  id: "carrier-consent",
1467
1467
  ariaDescribedBy: _,
@@ -1479,13 +1479,13 @@ const Mr = /* @__PURE__ */ yr(Nr), kr = ({
1479
1479
  ) })
1480
1480
  ] }) }) })
1481
1481
  ] });
1482
- }, ra = dt(kr);
1483
- function Or({
1482
+ }, oa = dt(Lr);
1483
+ function Fr({
1484
1484
  title: r,
1485
1485
  titleId: f,
1486
1486
  ...i
1487
1487
  }, o) {
1488
- return /* @__PURE__ */ Pe.createElement("svg", Object.assign({
1488
+ return /* @__PURE__ */ Re.createElement("svg", Object.assign({
1489
1489
  xmlns: "http://www.w3.org/2000/svg",
1490
1490
  fill: "none",
1491
1491
  viewBox: "0 0 24 24",
@@ -1495,15 +1495,15 @@ function Or({
1495
1495
  "data-slot": "icon",
1496
1496
  ref: o,
1497
1497
  "aria-labelledby": f
1498
- }, i), r ? /* @__PURE__ */ Pe.createElement("title", {
1498
+ }, i), r ? /* @__PURE__ */ Re.createElement("title", {
1499
1499
  id: f
1500
- }, r) : null, /* @__PURE__ */ Pe.createElement("path", {
1500
+ }, r) : null, /* @__PURE__ */ Re.createElement("path", {
1501
1501
  strokeLinecap: "round",
1502
1502
  strokeLinejoin: "round",
1503
1503
  d: "M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"
1504
1504
  }));
1505
1505
  }
1506
- const Dr = /* @__PURE__ */ Pe.forwardRef(Or), Fr = ({
1506
+ const Ar = /* @__PURE__ */ Re.forwardRef(Fr), $r = ({
1507
1507
  value: r,
1508
1508
  isErrored: f,
1509
1509
  onChange: i,
@@ -1511,7 +1511,7 @@ const Dr = /* @__PURE__ */ Pe.forwardRef(Or), Fr = ({
1511
1511
  placeholder: d = "",
1512
1512
  disabled: v = !1
1513
1513
  }) => It("firstName")?.hidden ? null : /* @__PURE__ */ l.jsx(
1514
- Pt,
1514
+ Rt,
1515
1515
  {
1516
1516
  fieldId: "firstName",
1517
1517
  autoComplete: "given-name",
@@ -1523,7 +1523,7 @@ const Dr = /* @__PURE__ */ Pe.forwardRef(Or), Fr = ({
1523
1523
  showPlaceholderAndHideLabel: !!d,
1524
1524
  disabled: v
1525
1525
  }
1526
- ), aa = dt(Fr), Lr = ({
1526
+ ), ia = dt($r), Rr = ({
1527
1527
  value: r,
1528
1528
  isErrored: f,
1529
1529
  onChange: i,
@@ -1531,7 +1531,7 @@ const Dr = /* @__PURE__ */ Pe.forwardRef(Or), Fr = ({
1531
1531
  placeholder: d = "",
1532
1532
  disabled: v = !1
1533
1533
  }) => It("lastName")?.hidden ? null : /* @__PURE__ */ l.jsx(
1534
- Pt,
1534
+ Rt,
1535
1535
  {
1536
1536
  fieldId: "lastName",
1537
1537
  autoComplete: "family-name",
@@ -1543,11 +1543,11 @@ const Dr = /* @__PURE__ */ Pe.forwardRef(Or), Fr = ({
1543
1543
  showPlaceholderAndHideLabel: !!d,
1544
1544
  disabled: v
1545
1545
  }
1546
- ), na = dt(Lr), Ye = (r) => {
1546
+ ), sa = dt(Rr), Ye = (r) => {
1547
1547
  if (r)
1548
1548
  return r < 10 ? `0${r}` : r.toString();
1549
1549
  };
1550
- function Ar(r) {
1550
+ function Pr(r) {
1551
1551
  const i = new Date(2222, 0, 3);
1552
1552
  try {
1553
1553
  return new Intl.DateTimeFormat(r).format(i).replace("0", "").startsWith("3");
@@ -1555,7 +1555,7 @@ function Ar(r) {
1555
1555
  return !1;
1556
1556
  }
1557
1557
  }
1558
- const $r = ({
1558
+ const Hr = ({
1559
1559
  onChange: r,
1560
1560
  intl: f,
1561
1561
  isErrored: i,
@@ -1569,9 +1569,9 @@ const $r = ({
1569
1569
  mode: ie = "date",
1570
1570
  locale: Y = gr,
1571
1571
  disabled: g = !1,
1572
- autoComplete: P
1572
+ autoComplete: R
1573
1573
  }) => {
1574
- const V = `sid-${ee}`, te = `sid-${ee}-error`, m = d.split("-"), se = Number.parseInt(m[0], 10) || void 0, $ = Number.parseInt(m[1], 10) || void 0, H = ie === "month" ? 1 : Number.parseInt(m[2], 10) || void 0, _ = [
1574
+ const P = `sid-${ee}`, te = `sid-${ee}-error`, m = d.split("-"), se = Number.parseInt(m[0], 10) || void 0, $ = Number.parseInt(m[1], 10) || void 0, B = ie === "month" ? 1 : Number.parseInt(m[2], 10) || void 0, _ = [
1575
1575
  { value: "1", label: f.formatHTMLMessage({ id: "dateTime.january", defaultMessage: "January" }) },
1576
1576
  { value: "2", label: f.formatHTMLMessage({ id: "dateTime.february", defaultMessage: "February" }) },
1577
1577
  { value: "3", label: f.formatHTMLMessage({ id: "dateTime.march", defaultMessage: "March" }) },
@@ -1585,13 +1585,13 @@ const $r = ({
1585
1585
  { value: "11", label: f.formatHTMLMessage({ id: "dateTime.november", defaultMessage: "November" }) },
1586
1586
  { value: "12", label: f.formatHTMLMessage({ id: "dateTime.december", defaultMessage: "December" }) }
1587
1587
  ], C = (p, x, fe) => (!fe || fe === "") && (!x || x === "") && (!p || p === ""), Q = (p) => {
1588
- if (C(se, p, H)) {
1588
+ if (C(se, p, B)) {
1589
1589
  r("");
1590
1590
  return;
1591
1591
  }
1592
- (p === "" || p === null) && r(`${se}--${H}`);
1592
+ (p === "" || p === null) && r(`${se}--${B}`);
1593
1593
  const x = Number.parseInt(p, 10);
1594
- typeof x == "number" && x >= 1 && x <= 12 ? r(`${se}-${Ye(p)}-${Ye(H)}`) : St.warn(`Value '${x}' is an invalid month`);
1594
+ typeof x == "number" && x >= 1 && x <= 12 ? r(`${se}-${Ye(p)}-${Ye(B)}`) : St.warn(`Value '${x}' is an invalid month`);
1595
1595
  }, G = (p) => {
1596
1596
  if (C(se, $, p)) {
1597
1597
  r("");
@@ -1601,21 +1601,21 @@ const $r = ({
1601
1601
  const x = Number.parseInt(p, 10);
1602
1602
  typeof x == "number" && x >= 1 && x <= 31 ? r(`${se}-${Ye($)}-${Ye(x)}`) : St.warn(`Value '${x}' is an invalid day`);
1603
1603
  }, J = (p) => {
1604
- if (C(p, $, H)) {
1604
+ if (C(p, $, B)) {
1605
1605
  r("");
1606
1606
  return;
1607
1607
  }
1608
- p === "" && r(`-${$}-${H}`);
1608
+ p === "" && r(`-${$}-${B}`);
1609
1609
  const x = Number.parseInt(p, 10);
1610
- typeof x == "number" && x >= 1 ? r(`${x}-${Ye($)}-${Ye(H)}`) : St.warn(`Value '${x}' is an invalid year`);
1610
+ typeof x == "number" && x >= 1 ? r(`${x}-${Ye($)}-${Ye(B)}`) : St.warn(`Value '${x}' is an invalid year`);
1611
1611
  }, O = () => {
1612
- r(!H && !$ && !se ? "" : `${se}-${Ye($)}-${Ye(H)}`);
1613
- }, z = `${V}__month`, xe = `${V}-label`, de = /* @__PURE__ */ l.jsx("div", { className: "sid-field-error", id: te, children: v }), we = /* @__PURE__ */ l.jsx(
1612
+ r(!B && !$ && !se ? "" : `${se}-${Ye($)}-${Ye(B)}`);
1613
+ }, V = `${P}__month`, xe = `${P}-label`, de = /* @__PURE__ */ l.jsx("div", { className: "sid-field-error", id: te, children: v }), we = /* @__PURE__ */ l.jsx(
1614
1614
  lr,
1615
1615
  {
1616
- className: `${V}__month sid-date__month`,
1616
+ className: `${P}__month sid-date__month`,
1617
1617
  fieldId: M,
1618
- inputId: z,
1618
+ inputId: V,
1619
1619
  fieldLabelId: xe,
1620
1620
  ariaDescribedBy: i ? te : void 0,
1621
1621
  isErrored: i,
@@ -1629,37 +1629,37 @@ const $r = ({
1629
1629
  isRequired: o,
1630
1630
  buttonRef: "inputSelectButtonBirthDate",
1631
1631
  disabled: g,
1632
- autoComplete: P ? `${P}-month` : void 0
1632
+ autoComplete: R ? `${R}-month` : void 0
1633
1633
  }
1634
1634
  ), b = ie === "date" && /* @__PURE__ */ l.jsx(
1635
1635
  tr,
1636
1636
  {
1637
- className: `${V}__day sid-date__day sid-text-input sid-text-input--required ${i ? "sid-text-input--error" : ""}`,
1637
+ className: `${P}__day sid-date__day sid-text-input sid-text-input--required ${i ? "sid-text-input--error" : ""}`,
1638
1638
  id: `${ee}-day`,
1639
1639
  isErrored: i,
1640
1640
  min: 1,
1641
1641
  max: 31,
1642
- name: `${V}-day`,
1642
+ name: `${P}-day`,
1643
1643
  onChange: (p) => G(p.target.value),
1644
1644
  onBlur: O,
1645
1645
  pattern: "\\d*",
1646
1646
  placeholder: f.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }),
1647
1647
  hidePlaceholder: !1,
1648
1648
  "aria-label": f.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }),
1649
- "aria-labelledby": V,
1649
+ "aria-labelledby": P,
1650
1650
  "aria-required": o,
1651
1651
  refId: `${M}Day`,
1652
1652
  type: "text",
1653
- value: H || "",
1653
+ value: B || "",
1654
1654
  disabled: g,
1655
- autoComplete: P ? `${P}-day` : void 0
1655
+ autoComplete: R ? `${R}-day` : void 0
1656
1656
  }
1657
1657
  ), w = /* @__PURE__ */ l.jsx(
1658
1658
  tr,
1659
1659
  {
1660
- className: `${V}__year sid-date__year sid-text-input sid-text-input--required ${i ? "sid-text-input--error" : ""}`,
1660
+ className: `${P}__year sid-date__year sid-text-input sid-text-input--required ${i ? "sid-text-input--error" : ""}`,
1661
1661
  id: `${ee}-year`,
1662
- name: `${V}-year`,
1662
+ name: `${P}-year`,
1663
1663
  type: "text",
1664
1664
  isErrored: i,
1665
1665
  inputMode: "numeric",
@@ -1668,30 +1668,30 @@ const $r = ({
1668
1668
  placeholder: f.formatHTMLMessage({ id: "dateTime.year", defaultMessage: "Year" }),
1669
1669
  hidePlaceholder: !1,
1670
1670
  "aria-label": f.formatHTMLMessage({ id: "dateTime.year", defaultMessage: "Year" }),
1671
- "aria-labelledby": V,
1671
+ "aria-labelledby": P,
1672
1672
  "aria-required": o,
1673
1673
  refId: `${M}Year`,
1674
1674
  onChange: (p) => J(p.target.value),
1675
1675
  onBlur: O,
1676
1676
  disabled: g,
1677
- autoComplete: P ? `${P}-year` : void 0
1677
+ autoComplete: R ? `${R}-year` : void 0
1678
1678
  }
1679
1679
  );
1680
- return /* @__PURE__ */ l.jsxs("div", { className: `sid-field ${V}`, children: [
1680
+ return /* @__PURE__ */ l.jsxs("div", { className: `sid-field ${P}`, children: [
1681
1681
  /* @__PURE__ */ l.jsx("div", { className: "sid-l-space-top-md" }),
1682
1682
  /* @__PURE__ */ l.jsx(
1683
1683
  sr,
1684
1684
  {
1685
1685
  text: I,
1686
- htmlForLabel: z,
1686
+ htmlForLabel: V,
1687
1687
  id: xe,
1688
1688
  displayClasses: "sid-used-for-verification-purposes-label sid-field__label-with-explanation",
1689
1689
  isRequired: o,
1690
1690
  children: N
1691
1691
  }
1692
1692
  ),
1693
- /* @__PURE__ */ l.jsxs("div", { className: `${V}__inputs sid-date__inputs`, children: [
1694
- Ar(Y) ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1693
+ /* @__PURE__ */ l.jsxs("div", { className: `${P}__inputs sid-date__inputs`, children: [
1694
+ Pr(Y) ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1695
1695
  b,
1696
1696
  we
1697
1697
  ] }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -1702,7 +1702,7 @@ const $r = ({
1702
1702
  ] }),
1703
1703
  i && de
1704
1704
  ] });
1705
- }, Pr = dt($r), Rr = ({
1705
+ }, Br = dt(Hr), Vr = ({
1706
1706
  fieldId: r,
1707
1707
  value: f,
1708
1708
  onChange: i,
@@ -1715,7 +1715,7 @@ const $r = ({
1715
1715
  /* @__PURE__ */ l.jsx("div", { className: "sid-l-space-top-md" }),
1716
1716
  /* @__PURE__ */ l.jsxs("div", { className: "sid-checkbox-flex", children: [
1717
1717
  /* @__PURE__ */ l.jsx(
1718
- Rt,
1718
+ Pt,
1719
1719
  {
1720
1720
  id: ze(r),
1721
1721
  isErrored: !!d,
@@ -1741,7 +1741,7 @@ const $r = ({
1741
1741
  ] }),
1742
1742
  d ? /* @__PURE__ */ l.jsx("div", { className: "sid-field-error", id: M, children: d }) : null
1743
1743
  ] });
1744
- }, Hr = ({
1744
+ }, zr = ({
1745
1745
  value: r,
1746
1746
  options: f,
1747
1747
  onChange: i,
@@ -1754,7 +1754,7 @@ const $r = ({
1754
1754
  onKeyDown: ee = void 0,
1755
1755
  disabled: ie = !1
1756
1756
  }) => {
1757
- const Y = `${o}Label`, g = `sid-${ze(Y)}`, P = `sid-${ze(o)}-error`;
1757
+ const Y = `${o}Label`, g = `sid-${ze(Y)}`, R = `sid-${ze(o)}-error`;
1758
1758
  return /* @__PURE__ */ l.jsx(
1759
1759
  ur,
1760
1760
  {
@@ -1771,19 +1771,19 @@ const $r = ({
1771
1771
  fieldLabelId: g,
1772
1772
  isErrored: !!I,
1773
1773
  options: f,
1774
- onChange: (V) => i(V?.value.toString() || ""),
1774
+ onChange: (P) => i(P?.value.toString() || ""),
1775
1775
  onKeyDown: ee,
1776
- value: f.find((V) => V.value === r),
1776
+ value: f.find((P) => P.value === r),
1777
1777
  suppressPlaceholder: !M,
1778
1778
  placeholder: v,
1779
- ariaDescribedBy: I ? P : void 0,
1779
+ ariaDescribedBy: I ? R : void 0,
1780
1780
  isRequired: N,
1781
1781
  disabled: ie
1782
1782
  }
1783
1783
  )
1784
1784
  }
1785
1785
  );
1786
- }, Br = ({
1786
+ }, qr = ({
1787
1787
  fieldId: r,
1788
1788
  index: f,
1789
1789
  option: i,
@@ -1791,8 +1791,8 @@ const $r = ({
1791
1791
  onChange: d,
1792
1792
  disabled: v = !1
1793
1793
  }) => {
1794
- const I = Pe.useRef(null);
1795
- return Pe.useEffect(() => {
1794
+ const I = Re.useRef(null);
1795
+ return Re.useEffect(() => {
1796
1796
  $t(r, I.current);
1797
1797
  }), /* @__PURE__ */ l.jsxs("label", { className: "sid-radio__input sid-radio__input-label", children: [
1798
1798
  /* @__PURE__ */ l.jsx(
@@ -1810,7 +1810,7 @@ const $r = ({
1810
1810
  ),
1811
1811
  /* @__PURE__ */ l.jsx("span", { children: i.label })
1812
1812
  ] });
1813
- }, Vr = ({
1813
+ }, Ur = ({
1814
1814
  fieldId: r,
1815
1815
  onChange: f,
1816
1816
  options: i,
@@ -1821,7 +1821,7 @@ const $r = ({
1821
1821
  value: N,
1822
1822
  disabled: M = !1
1823
1823
  }) => {
1824
- const ee = ze(r), ie = wr(r);
1824
+ const ee = ze(r), ie = Tr(r);
1825
1825
  return /* @__PURE__ */ l.jsx(
1826
1826
  ur,
1827
1827
  {
@@ -1837,7 +1837,7 @@ const $r = ({
1837
1837
  className: `sid-radio__inputs sid-${ee}__inputs sid-radio-grid${I ? " sid-radio__inputs--error" : ""}`,
1838
1838
  "aria-labelledby": ie,
1839
1839
  children: i.map((Y, g) => /* @__PURE__ */ l.jsx(
1840
- Br,
1840
+ qr,
1841
1841
  {
1842
1842
  fieldId: r,
1843
1843
  index: g,
@@ -1859,7 +1859,7 @@ const $r = ({
1859
1859
  RADIO: "radio",
1860
1860
  DATE: "date",
1861
1861
  DATEYM: "dateYm"
1862
- }, ct = (r) => `${r.fieldId}Label`, nt = (r) => `${r.fieldId}Explanation`, zr = (r) => `${r.fieldId}Placeholder`, oa = dt(
1862
+ }, ct = (r) => `${r.fieldId}Label`, nt = (r) => `${r.fieldId}Explanation`, Gr = (r) => `${r.fieldId}Placeholder`, ua = dt(
1863
1863
  ({ config: r, verificationService: f, intl: i }) => {
1864
1864
  const o = lt(() => f.viewModel.metadata[r.fieldId]), d = lt(() => f.fieldValidationErrors[r.fieldId]), v = (I) => {
1865
1865
  f.updateViewModel(
@@ -1875,14 +1875,14 @@ const $r = ({
1875
1875
  switch (r.fieldType) {
1876
1876
  case Xe.TEXT:
1877
1877
  return /* @__PURE__ */ l.jsx(
1878
- Pt,
1878
+ Rt,
1879
1879
  {
1880
1880
  fieldId: r.fieldId,
1881
1881
  value: `${o || ""}`,
1882
1882
  onChange: v,
1883
1883
  disabled: r.disabled,
1884
1884
  placeholder: i.formatHTMLMessage({
1885
- id: zr(r),
1885
+ id: Gr(r),
1886
1886
  defaultMessage: r.fieldId
1887
1887
  }),
1888
1888
  label: /* @__PURE__ */ l.jsx(
@@ -1906,7 +1906,7 @@ const $r = ({
1906
1906
  );
1907
1907
  case Xe.CHECKBOX:
1908
1908
  return /* @__PURE__ */ l.jsx(
1909
- Rr,
1909
+ Vr,
1910
1910
  {
1911
1911
  fieldId: r.fieldId,
1912
1912
  value: typeof o == "boolean" ? o : !1,
@@ -1930,7 +1930,7 @@ const $r = ({
1930
1930
  );
1931
1931
  case Xe.SELECT:
1932
1932
  return /* @__PURE__ */ l.jsx(
1933
- Hr,
1933
+ zr,
1934
1934
  {
1935
1935
  fieldId: r.fieldId,
1936
1936
  value: `${o || ""}`,
@@ -1963,7 +1963,7 @@ const $r = ({
1963
1963
  case Xe.DATEYM:
1964
1964
  const I = r.fieldType === Xe.DATEYM ? "month" : void 0;
1965
1965
  return /* @__PURE__ */ l.jsx(
1966
- Pr,
1966
+ Br,
1967
1967
  {
1968
1968
  fieldId: r.fieldId,
1969
1969
  fieldName: r.fieldId,
@@ -1992,7 +1992,7 @@ const $r = ({
1992
1992
  );
1993
1993
  case Xe.RADIO:
1994
1994
  return /* @__PURE__ */ l.jsx(
1995
- Vr,
1995
+ Ur,
1996
1996
  {
1997
1997
  onChange: v,
1998
1998
  value: `${o || ""}`,
@@ -2023,49 +2023,49 @@ const $r = ({
2023
2023
  }
2024
2024
  );
2025
2025
  var Oe = {}, ar;
2026
- function qr() {
2026
+ function Kr() {
2027
2027
  if (ar) return Oe;
2028
2028
  ar = 1;
2029
- var r = Oe && Oe.__createBinding || (Object.create ? (function(g, P, V, te) {
2030
- te === void 0 && (te = V);
2031
- var m = Object.getOwnPropertyDescriptor(P, V);
2032
- (!m || ("get" in m ? !P.__esModule : m.writable || m.configurable)) && (m = { enumerable: !0, get: function() {
2033
- return P[V];
2029
+ var r = Oe && Oe.__createBinding || (Object.create ? (function(g, R, P, te) {
2030
+ te === void 0 && (te = P);
2031
+ var m = Object.getOwnPropertyDescriptor(R, P);
2032
+ (!m || ("get" in m ? !R.__esModule : m.writable || m.configurable)) && (m = { enumerable: !0, get: function() {
2033
+ return R[P];
2034
2034
  } }), Object.defineProperty(g, te, m);
2035
- }) : (function(g, P, V, te) {
2036
- te === void 0 && (te = V), g[te] = P[V];
2037
- })), f = Oe && Oe.__setModuleDefault || (Object.create ? (function(g, P) {
2038
- Object.defineProperty(g, "default", { enumerable: !0, value: P });
2039
- }) : function(g, P) {
2040
- g.default = P;
2035
+ }) : (function(g, R, P, te) {
2036
+ te === void 0 && (te = P), g[te] = R[P];
2037
+ })), f = Oe && Oe.__setModuleDefault || (Object.create ? (function(g, R) {
2038
+ Object.defineProperty(g, "default", { enumerable: !0, value: R });
2039
+ }) : function(g, R) {
2040
+ g.default = R;
2041
2041
  }), i = Oe && Oe.__importStar || function(g) {
2042
2042
  if (g && g.__esModule) return g;
2043
- var P = {};
2044
- if (g != null) for (var V in g) V !== "default" && Object.prototype.hasOwnProperty.call(g, V) && r(P, g, V);
2045
- return f(P, g), P;
2043
+ var R = {};
2044
+ if (g != null) for (var P in g) P !== "default" && Object.prototype.hasOwnProperty.call(g, P) && r(R, g, P);
2045
+ return f(R, g), R;
2046
2046
  };
2047
2047
  Object.defineProperty(Oe, "__esModule", { value: !0 }), Oe.useTurnstile = Oe.Turnstile = void 0;
2048
2048
  const o = i(ir()), d = typeof globalThis < "u" ? globalThis : window;
2049
2049
  let v = typeof d.turnstile < "u" ? "ready" : "unloaded", I, N;
2050
- const M = new Promise((g, P) => {
2051
- N = { resolve: g, reject: P }, v === "ready" && g(void 0);
2050
+ const M = new Promise((g, R) => {
2051
+ N = { resolve: g, reject: R }, v === "ready" && g(void 0);
2052
2052
  });
2053
2053
  {
2054
- const g = "cf__reactTurnstileOnLoad", P = "https://challenges.cloudflare.com/turnstile/v0/api.js";
2054
+ const g = "cf__reactTurnstileOnLoad", R = "https://challenges.cloudflare.com/turnstile/v0/api.js";
2055
2055
  I = () => {
2056
2056
  if (v === "unloaded") {
2057
2057
  v = "loading", d[g] = () => {
2058
2058
  N.resolve(), v = "ready", delete d[g];
2059
2059
  };
2060
- const V = `${P}?onload=${g}&render=explicit`, te = document.createElement("script");
2061
- te.src = V, te.async = !0, te.addEventListener("error", () => {
2060
+ const P = `${R}?onload=${g}&render=explicit`, te = document.createElement("script");
2061
+ te.src = P, te.async = !0, te.addEventListener("error", () => {
2062
2062
  N.reject("Failed to load Turnstile."), delete d[g];
2063
2063
  }), document.head.appendChild(te);
2064
2064
  }
2065
2065
  return M;
2066
2066
  };
2067
2067
  }
2068
- function ee({ id: g, className: P, style: V, sitekey: te, action: m, cData: se, theme: $, language: H, tabIndex: _, responseField: C, responseFieldName: Q, size: G, fixedSize: J, retry: O, retryInterval: z, refreshExpired: xe, appearance: de, execution: we, userRef: b, onVerify: w, onSuccess: p, onLoad: x, onError: fe, onExpire: ke, onTimeout: S, onAfterInteractive: h, onBeforeInteractive: D, onUnsupported: K }) {
2068
+ function ee({ id: g, className: R, style: P, sitekey: te, action: m, cData: se, theme: $, language: B, tabIndex: _, responseField: C, responseFieldName: Q, size: G, fixedSize: J, retry: O, retryInterval: V, refreshExpired: xe, appearance: de, execution: we, userRef: b, onVerify: w, onSuccess: p, onLoad: x, onError: fe, onExpire: ke, onTimeout: S, onAfterInteractive: h, onBeforeInteractive: D, onUnsupported: K }) {
2069
2069
  const y = (0, o.useRef)(null), e = (0, o.useState)({
2070
2070
  onVerify: w,
2071
2071
  onSuccess: p,
@@ -2079,8 +2079,8 @@ function qr() {
2079
2079
  })[0], ne = b ?? y, re = J ? {
2080
2080
  width: G === "compact" ? "130px" : G === "flexible" ? "100%" : "300px",
2081
2081
  height: G === "compact" ? "120px" : "65px",
2082
- ...V
2083
- } : V;
2082
+ ...P
2083
+ } : P;
2084
2084
  return (0, o.useEffect)(() => {
2085
2085
  if (!ne.current)
2086
2086
  return;
@@ -2090,8 +2090,8 @@ function qr() {
2090
2090
  if (v !== "ready")
2091
2091
  try {
2092
2092
  await I();
2093
- } catch (B) {
2094
- (pe = e.onError) === null || pe === void 0 || pe.call(e, B);
2093
+ } catch (z) {
2094
+ (pe = e.onError) === null || pe === void 0 || pe.call(e, z);
2095
2095
  return;
2096
2096
  }
2097
2097
  if (X || !ne.current)
@@ -2102,43 +2102,43 @@ function qr() {
2102
2102
  action: m,
2103
2103
  cData: se,
2104
2104
  theme: $,
2105
- language: H,
2105
+ language: B,
2106
2106
  tabindex: _,
2107
2107
  "response-field": C,
2108
2108
  "response-field-name": Q,
2109
2109
  size: G,
2110
2110
  retry: O,
2111
- "retry-interval": z,
2111
+ "retry-interval": V,
2112
2112
  "refresh-expired": xe,
2113
2113
  appearance: de,
2114
2114
  execution: we,
2115
- callback: (B, n) => {
2115
+ callback: (z, n) => {
2116
2116
  var u, j;
2117
- (u = e.onVerify) === null || u === void 0 || u.call(e, B, oe), (j = e.onSuccess) === null || j === void 0 || j.call(e, B, n, oe);
2117
+ (u = e.onVerify) === null || u === void 0 || u.call(e, z, oe), (j = e.onSuccess) === null || j === void 0 || j.call(e, z, n, oe);
2118
2118
  },
2119
- "error-callback": (B) => {
2119
+ "error-callback": (z) => {
2120
2120
  var n;
2121
- return (n = e.onError) === null || n === void 0 ? void 0 : n.call(e, B, oe);
2121
+ return (n = e.onError) === null || n === void 0 ? void 0 : n.call(e, z, oe);
2122
2122
  },
2123
- "expired-callback": (B) => {
2123
+ "expired-callback": (z) => {
2124
2124
  var n;
2125
- return (n = e.onExpire) === null || n === void 0 ? void 0 : n.call(e, B, oe);
2125
+ return (n = e.onExpire) === null || n === void 0 ? void 0 : n.call(e, z, oe);
2126
2126
  },
2127
2127
  "timeout-callback": () => {
2128
- var B;
2129
- return (B = e.onTimeout) === null || B === void 0 ? void 0 : B.call(e, oe);
2128
+ var z;
2129
+ return (z = e.onTimeout) === null || z === void 0 ? void 0 : z.call(e, oe);
2130
2130
  },
2131
2131
  "after-interactive-callback": () => {
2132
- var B;
2133
- return (B = e.onAfterInteractive) === null || B === void 0 ? void 0 : B.call(e, oe);
2132
+ var z;
2133
+ return (z = e.onAfterInteractive) === null || z === void 0 ? void 0 : z.call(e, oe);
2134
2134
  },
2135
2135
  "before-interactive-callback": () => {
2136
- var B;
2137
- return (B = e.onBeforeInteractive) === null || B === void 0 ? void 0 : B.call(e, oe);
2136
+ var z;
2137
+ return (z = e.onBeforeInteractive) === null || z === void 0 ? void 0 : z.call(e, oe);
2138
2138
  },
2139
2139
  "unsupported-callback": () => {
2140
- var B;
2141
- return (B = e.onUnsupported) === null || B === void 0 ? void 0 : B.call(e, oe);
2140
+ var z;
2141
+ return (z = e.onUnsupported) === null || z === void 0 ? void 0 : z.call(e, oe);
2142
2142
  }
2143
2143
  };
2144
2144
  le = window.turnstile.render(ne.current, je), oe = ie(le), (me = e.onLoad) === null || me === void 0 || me.call(e, le, oe);
@@ -2150,13 +2150,13 @@ function qr() {
2150
2150
  m,
2151
2151
  se,
2152
2152
  $,
2153
- H,
2153
+ B,
2154
2154
  _,
2155
2155
  C,
2156
2156
  Q,
2157
2157
  G,
2158
2158
  O,
2159
- z,
2159
+ V,
2160
2160
  xe,
2161
2161
  de,
2162
2162
  we
@@ -2172,31 +2172,31 @@ function qr() {
2172
2172
  h,
2173
2173
  D,
2174
2174
  K
2175
- ]), o.default.createElement("div", { ref: ne, id: g, className: P, style: re });
2175
+ ]), o.default.createElement("div", { ref: ne, id: g, className: R, style: re });
2176
2176
  }
2177
2177
  Oe.Turnstile = ee, Oe.default = ee;
2178
2178
  function ie(g) {
2179
2179
  return {
2180
- execute: (P) => window.turnstile.execute(g, P),
2180
+ execute: (R) => window.turnstile.execute(g, R),
2181
2181
  reset: () => window.turnstile.reset(g),
2182
2182
  getResponse: () => window.turnstile.getResponse(g),
2183
2183
  isExpired: () => window.turnstile.isExpired(g)
2184
2184
  };
2185
2185
  }
2186
2186
  function Y() {
2187
- const [g, P] = (0, o.useState)(v);
2187
+ const [g, R] = (0, o.useState)(v);
2188
2188
  return (0, o.useEffect)(() => {
2189
- v !== "ready" && M.then(() => P(v));
2189
+ v !== "ready" && M.then(() => R(v));
2190
2190
  }, []), d.turnstile;
2191
2191
  }
2192
2192
  return Oe.useTurnstile = Y, Oe;
2193
2193
  }
2194
- var nr = qr();
2195
- const Ur = ({ errorType: r, onRetry: f }) => r ? /* @__PURE__ */ l.jsxs("div", { className: "sid-captcha-notification", role: "alert", "data-testid": r, children: [
2196
- /* @__PURE__ */ l.jsx("div", { className: "sid-captcha-notification__icon-wrapper", children: /* @__PURE__ */ l.jsx(Dr, { className: "sid-captcha-notification__icon" }) }),
2194
+ var nr = Kr();
2195
+ const Wr = ({ errorType: r, onRetry: f }) => r ? /* @__PURE__ */ l.jsxs("div", { className: "sid-captcha-notification", role: "alert", "data-testid": r, children: [
2196
+ /* @__PURE__ */ l.jsx("div", { className: "sid-captcha-notification__icon-wrapper", children: /* @__PURE__ */ l.jsx(Ar, { className: "sid-captcha-notification__icon" }) }),
2197
2197
  /* @__PURE__ */ l.jsxs("div", { children: [
2198
2198
  r !== He.SERVER && /* @__PURE__ */ l.jsx("span", { className: "sid-captcha-notification__title", children: /* @__PURE__ */ l.jsx(
2199
- Ft,
2199
+ Lt,
2200
2200
  {
2201
2201
  id: `step.personalInfo.captcha.error.${r}.title`,
2202
2202
  defaultMessage: "Verification Unsuccessful, Please try again."
@@ -2204,34 +2204,34 @@ const Ur = ({ errorType: r, onRetry: f }) => r ? /* @__PURE__ */ l.jsxs("div", {
2204
2204
  ) }),
2205
2205
  " ",
2206
2206
  /* @__PURE__ */ l.jsx(
2207
- Ft,
2207
+ Lt,
2208
2208
  {
2209
2209
  id: `step.personalInfo.captcha.error.${r}.content`,
2210
2210
  defaultMessage: "If the issue persists, disable any VPN or ad-blocking extensions and retry."
2211
2211
  }
2212
2212
  )
2213
2213
  ] }),
2214
- f && /* @__PURE__ */ l.jsx("button", { type: "button", className: "sid-captcha-notification__retry-button", onClick: f, children: /* @__PURE__ */ l.jsx(Ft, { id: "step.personalInfo.captcha.retryButton" }) })
2215
- ] }) : null, Gr = 12e4, Kr = 1e4, Wr = {
2214
+ f && /* @__PURE__ */ l.jsx("button", { type: "button", className: "sid-captcha-notification__retry-button", onClick: f, children: /* @__PURE__ */ l.jsx(Lt, { id: "step.personalInfo.captcha.retryButton" }) })
2215
+ ] }) : null, Yr = 12e4, Jr = 1e4, Zr = {
2216
2216
  [He.SERVER]: Ie.CaptchaErrorServer,
2217
2217
  [He.BROWSER_COMPATIBILITY]: Ie.CaptchaErrorBrowserCompatibility
2218
- }, ia = ({ verificationService: r, isErrored: f }) => {
2219
- const i = nr.useTurnstile(), o = vr("captcha") === "enabled", { programTheme: d, programId: v } = r, I = r.verificationResponse.segment, N = Cr(d) || o, { trackEvent: M, recordNumericMetric: ee, flush: ie } = Sr({ segment: I, programId: v }), Y = Be.useRef(/* @__PURE__ */ new Set()), g = (O) => {
2218
+ }, la = ({ verificationService: r, isErrored: f }) => {
2219
+ const i = nr.useTurnstile(), o = vr("captcha") === "enabled", { programTheme: d, programId: v } = r, I = r.verificationResponse.segment, N = Cr(d) || o, { trackEvent: M, recordNumericMetric: ee, flush: ie } = Er({ segment: I, programId: v }), Y = Be.useRef(/* @__PURE__ */ new Set()), g = (O) => {
2220
2220
  Y.current.has(O) || (Y.current.add(O), M(O));
2221
- }, P = _r(xr), V = Object.values(He).includes(P) ? P : null, [te, m] = Be.useState(V), [se, $] = Be.useState(!1), H = () => {
2221
+ }, R = _r(xr), P = Object.values(He).includes(R) ? R : null, [te, m] = Be.useState(P), [se, $] = Be.useState(!1), B = () => {
2222
2222
  g(Ie.CaptchaRetryClicked), m(null), i.reset();
2223
2223
  }, _ = (O) => {
2224
- Lt({ captchaToken: O }), jr("captchaToken", O, r);
2224
+ Ft({ captchaToken: O }), Ir("captchaToken", O, r);
2225
2225
  }, C = (O) => {
2226
- g(Wr[O]), m(O), _("");
2226
+ g(Zr[O]), m(O), _("");
2227
2227
  }, Q = () => r.viewModel?.fieldsToSkipValidation || [], G = () => {
2228
2228
  const O = Q();
2229
- Lt({
2230
- fieldsToSkipValidation: O.filter((z) => z !== "captchaToken")
2229
+ Ft({
2230
+ fieldsToSkipValidation: O.filter((V) => V !== "captchaToken")
2231
2231
  }), _("");
2232
2232
  }, J = () => {
2233
2233
  const O = Q();
2234
- Lt({
2234
+ Ft({
2235
2235
  captchaToken: void 0,
2236
2236
  fieldsToSkipValidation: O.includes("captchaToken") ? O : [...O, "captchaToken"]
2237
2237
  });
@@ -2245,40 +2245,46 @@ const Ur = ({ errorType: r, onRetry: f }) => r ? /* @__PURE__ */ l.jsxs("div", {
2245
2245
  const O = () => {
2246
2246
  const de = Y.current;
2247
2247
  return de.has(Ie.CaptchaVerified) || de.has(Ie.CaptchaErrorClient) || de.has(Ie.CaptchaErrorScriptLoad) || de.has(Ie.CaptchaErrorBrowserCompatibility) || de.has(Ie.CaptchaErrorLoadTimeout);
2248
- }, z = () => {
2248
+ }, V = () => {
2249
2249
  O() || (Y.current.has(Ie.CaptchaRendered) ? g(Ie.CaptchaAbandonedAfterRender) : g(Ie.CaptchaUnmountedBeforeRender));
2250
2250
  }, xe = () => {
2251
- z(), ie();
2251
+ V(), ie();
2252
2252
  };
2253
2253
  return window.addEventListener("beforeunload", xe), () => {
2254
- window.removeEventListener("beforeunload", xe), z(), J();
2254
+ window.removeEventListener("beforeunload", xe), V(), J();
2255
2255
  };
2256
2256
  }, [N]), Be.useEffect(() => {
2257
- if (!N || se)
2257
+ if (!N || se || P)
2258
2258
  return;
2259
2259
  const O = setTimeout(() => {
2260
2260
  Y.current.has(Ie.CaptchaErrorScriptLoad) || (g(Ie.CaptchaErrorLoadTimeout), m(He.CLIENT), _(""));
2261
- }, Kr);
2261
+ }, Jr);
2262
2262
  return () => clearTimeout(O);
2263
2263
  }, [N, se]), N ? /* @__PURE__ */ l.jsxs("div", { children: [
2264
- /* @__PURE__ */ l.jsx(
2264
+ !P && /* @__PURE__ */ l.jsx(
2265
2265
  nr.Turnstile,
2266
2266
  {
2267
2267
  sitekey: "0x4AAAAAACaWNlR_tN9-HfHj",
2268
2268
  refreshExpired: "auto",
2269
- retryInterval: Gr,
2269
+ retryInterval: Yr,
2270
2270
  onLoad: () => {
2271
2271
  $(!0), g(Ie.CaptchaRendered);
2272
2272
  },
2273
2273
  onVerify: (O) => {
2274
- g(Ie.CaptchaVerified), m((z) => z === He.SERVER ? z : null), _(O);
2274
+ g(Ie.CaptchaVerified), m((V) => V === He.SERVER ? V : null), _(O);
2275
2275
  },
2276
2276
  onError: (O) => {
2277
2277
  if (!se)
2278
2278
  g(Ie.CaptchaErrorScriptLoad);
2279
2279
  else if (!Y.current.has(Ie.CaptchaErrorClient)) {
2280
- const z = parseInt(O, 10);
2281
- ee(Ie.CaptchaErrorClientCode, isNaN(z) ? 0 : z), g(Ie.CaptchaErrorClient);
2280
+ const V = parseInt(O, 10);
2281
+ ee(
2282
+ Ie.CaptchaErrorClientCode,
2283
+ isNaN(V) ? 0 : V
2284
+ ), jr({
2285
+ eventName: Sr.CAPTCHA_CLIENT_ERROR_CODE,
2286
+ params: { [wr.ERROR_CODE]: isNaN(V) ? 0 : V }
2287
+ }), g(Ie.CaptchaErrorClient);
2282
2288
  }
2283
2289
  m(He.CLIENT), _("");
2284
2290
  },
@@ -2288,20 +2294,20 @@ const Ur = ({ errorType: r, onRetry: f }) => r ? /* @__PURE__ */ l.jsxs("div", {
2288
2294
  }
2289
2295
  ),
2290
2296
  /* @__PURE__ */ l.jsx(
2291
- Ur,
2297
+ Wr,
2292
2298
  {
2293
2299
  errorType: te,
2294
- onRetry: se && te === He.CLIENT ? H : void 0
2300
+ onRetry: se && te === He.CLIENT ? B : void 0
2295
2301
  }
2296
2302
  )
2297
2303
  ] }) : null;
2298
2304
  };
2299
2305
  export {
2300
- ia as C,
2301
- Pr as D,
2302
- aa as F,
2303
- na as L,
2304
- ta as M,
2305
- ra as P,
2306
- oa as a
2306
+ la as C,
2307
+ Br as D,
2308
+ ia as F,
2309
+ sa as L,
2310
+ na as M,
2311
+ oa as P,
2312
+ ua as a
2307
2313
  };