@sheerid/jslib 2.263.0 → 2.264.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 (373) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +1376 -3792
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-Bz4YL1zB.js → AddressComponent-BcUOtiOW.js} +5 -5
  5. package/chunk/{AddressComponent-BIrgOqZP.js.map → AddressComponent-BcUOtiOW.js.map} +1 -1
  6. package/chunk/{AddressComponent-BIrgOqZP.js → AddressComponent-cZ7Rrphj.js} +5 -5
  7. package/chunk/{AddressComponent-Bz4YL1zB.js.map → AddressComponent-cZ7Rrphj.js.map} +1 -1
  8. package/chunk/AnnouncingHeader-DDT5xAyL.js +4 -4
  9. package/chunk/AnnouncingHeader-DSPYeTwU.js +4 -4
  10. package/chunk/{ApiUrls-5BL8244F.js → ApiUrls-BGkT0u8_.js} +5 -5
  11. package/chunk/{ApiUrls-5BL8244F.js.map → ApiUrls-BGkT0u8_.js.map} +1 -1
  12. package/chunk/{ApiUrls-BtzfsgUq.js → ApiUrls-DplKihXV.js} +5 -5
  13. package/chunk/{ApiUrls-BtzfsgUq.js.map → ApiUrls-DplKihXV.js.map} +1 -1
  14. package/chunk/{BirthDateComponent-DolPukGV.js → BirthDateComponent-DiRfVMkQ.js} +6 -6
  15. package/chunk/{BirthDateComponent-C9D52_sv.js.map → BirthDateComponent-DiRfVMkQ.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-C9D52_sv.js → BirthDateComponent-mw3tGfO1.js} +6 -6
  17. package/chunk/{BirthDateComponent-DolPukGV.js.map → BirthDateComponent-mw3tGfO1.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-Bd0QiNl5.js → CaptchaComponent-Bo6-PXzj.js} +7 -7
  19. package/chunk/{CaptchaComponent-Bd0QiNl5.js.map → CaptchaComponent-Bo6-PXzj.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-jOXCtvzE.js → CaptchaComponent-D6FNNlKj.js} +15 -15
  21. package/chunk/{CaptchaComponent-jOXCtvzE.js.map → CaptchaComponent-D6FNNlKj.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-Bip0Zvo1.js → ChangeLocaleComponent-B905JfFy.js} +6 -6
  23. package/chunk/{ChangeLocaleComponent-Bip0Zvo1.js.map → ChangeLocaleComponent-B905JfFy.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-qKZIgmCX.js → ChangeLocaleComponent-C1vybPVc.js} +6 -6
  25. package/chunk/{ChangeLocaleComponent-qKZIgmCX.js.map → ChangeLocaleComponent-C1vybPVc.js.map} +1 -1
  26. package/chunk/{City-CCtrauPi.js → City-BiuOEuRx.js} +5 -5
  27. package/chunk/{City-CCtrauPi.js.map → City-BiuOEuRx.js.map} +1 -1
  28. package/chunk/{City-DOi7PTZI.js → City-D-gJ5H6v.js} +5 -5
  29. package/chunk/{City-DOi7PTZI.js.map → City-D-gJ5H6v.js.map} +1 -1
  30. package/chunk/{CollegeNameComponent-B02MJ5F0.js → CollegeNameComponent-BDZD28ed.js} +6 -6
  31. package/chunk/{CollegeNameComponent-B02MJ5F0.js.map → CollegeNameComponent-BDZD28ed.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-BoT4meEn.js → CollegeNameComponent-C_1m4XT-.js} +6 -6
  33. package/chunk/{CollegeNameComponent-BoT4meEn.js.map → CollegeNameComponent-C_1m4XT-.js.map} +1 -1
  34. package/chunk/CopyToClipboardComponent-CI5EWk0o.js +4 -4
  35. package/chunk/CopyToClipboardComponent-DyolMvdc.js +4 -4
  36. package/chunk/{CountryComponentWrapper-GPBK6Y8O.js → CountryComponentWrapper-BrhHPoQD.js} +9 -9
  37. package/chunk/{CountryComponentWrapper-CCoy3Zoi.js.map → CountryComponentWrapper-BrhHPoQD.js.map} +1 -1
  38. package/chunk/{CountryComponentWrapper-CCoy3Zoi.js → CountryComponentWrapper-HDMnK8-s.js} +10 -10
  39. package/chunk/{CountryComponentWrapper-GPBK6Y8O.js.map → CountryComponentWrapper-HDMnK8-s.js.map} +1 -1
  40. package/chunk/{DischargeDateComponent-ymNhH1GN.js → DischargeDateComponent-CFgYtvv6.js} +12 -12
  41. package/chunk/{DischargeDateComponent-CyYECS-K.js.map → DischargeDateComponent-CFgYtvv6.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-CyYECS-K.js → DischargeDateComponent-D3GK6UIu.js} +8 -8
  43. package/chunk/{DischargeDateComponent-ymNhH1GN.js.map → DischargeDateComponent-D3GK6UIu.js.map} +1 -1
  44. package/chunk/{DriverLicenseNumberComponent-C3627P1m.js → DriverLicenseNumberComponent-BzgEUUM2.js} +5 -5
  45. package/chunk/{DriverLicenseNumberComponent-C3627P1m.js.map → DriverLicenseNumberComponent-BzgEUUM2.js.map} +1 -1
  46. package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js → DriverLicenseNumberComponent-DoJspVrD.js} +5 -5
  47. package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js.map → DriverLicenseNumberComponent-DoJspVrD.js.map} +1 -1
  48. package/chunk/{EmailLoopPending-Czkli3uD.js → EmailLoopPending-Bm7vJ_QR.js} +55 -54
  49. package/chunk/EmailLoopPending-Bm7vJ_QR.js.map +1 -0
  50. package/chunk/{EmailLoopPending-FiV8oqMN.js → EmailLoopPending-CpMrwV1m.js} +55 -54
  51. package/chunk/EmailLoopPending-CpMrwV1m.js.map +1 -0
  52. package/chunk/{ExtraMessage-CZyIoyAy.js → ExtraMessage-BbACElsX.js} +5 -5
  53. package/chunk/{ExtraMessage-CZyIoyAy.js.map → ExtraMessage-BbACElsX.js.map} +1 -1
  54. package/chunk/{ExtraMessage-D6xvBugr.js → ExtraMessage-C4sJr6cw.js} +5 -5
  55. package/chunk/{ExtraMessage-D6xvBugr.js.map → ExtraMessage-C4sJr6cw.js.map} +1 -1
  56. package/chunk/{FirstResponderOrganizationComponent-Bt8BWHYf.js → FirstResponderOrganizationComponent-Bq03G6Dk.js} +6 -6
  57. package/chunk/{FirstResponderOrganizationComponent-Bt8BWHYf.js.map → FirstResponderOrganizationComponent-Bq03G6Dk.js.map} +1 -1
  58. package/chunk/{FirstResponderOrganizationComponent-DbMHmm5D.js → FirstResponderOrganizationComponent-C7ULKSCq.js} +6 -6
  59. package/chunk/{FirstResponderOrganizationComponent-DbMHmm5D.js.map → FirstResponderOrganizationComponent-C7ULKSCq.js.map} +1 -1
  60. package/chunk/{FormFieldInputSelect-Bzcg97PF.js → FormFieldInputSelect-B3UZlH_H.js} +5 -5
  61. package/chunk/{FormFieldInputSelect-Bzcg97PF.js.map → FormFieldInputSelect-B3UZlH_H.js.map} +1 -1
  62. package/chunk/{FormFieldInputSelect-DZsD_cQO.js → FormFieldInputSelect-CnGFMROq.js} +5 -5
  63. package/chunk/{FormFieldInputSelect-DZsD_cQO.js.map → FormFieldInputSelect-CnGFMROq.js.map} +1 -1
  64. package/chunk/FormFieldLayout-C-prs50D.js +4 -4
  65. package/chunk/FormFieldLayout-eXRaMPRB.js +4 -4
  66. package/chunk/FormFieldText-C44FpzvF.js +4 -4
  67. package/chunk/FormFieldText-DKDYD6O1.js +4 -4
  68. package/chunk/{FormFieldTypeahead-WerEgh8b.js → FormFieldTypeahead-BSbSF1lL.js} +457 -456
  69. package/chunk/{FormFieldTypeahead-WerEgh8b.js.map → FormFieldTypeahead-BSbSF1lL.js.map} +1 -1
  70. package/chunk/{FormFieldTypeahead-D_LQgN8U.js → FormFieldTypeahead-DmKNOVYP.js} +459 -458
  71. package/chunk/{FormFieldTypeahead-D_LQgN8U.js.map → FormFieldTypeahead-DmKNOVYP.js.map} +1 -1
  72. package/chunk/{FormFooterComponent-7bb8jZLG.js → FormFooterComponent-BkXmQxBf.js} +1114 -1114
  73. package/chunk/{FormFooterComponent-7bb8jZLG.js.map → FormFooterComponent-BkXmQxBf.js.map} +1 -1
  74. package/chunk/{FormFooterComponent-DNXKayDA.js → FormFooterComponent-khRc1L5E.js} +1198 -1198
  75. package/chunk/{FormFooterComponent-DNXKayDA.js.map → FormFooterComponent-khRc1L5E.js.map} +1 -1
  76. package/chunk/{FormSelectChoice-BcBYNROQ.js → FormSelectChoice-DJuQmzKz.js} +6 -6
  77. package/chunk/{FormSelectChoice-BcBYNROQ.js.map → FormSelectChoice-DJuQmzKz.js.map} +1 -1
  78. package/chunk/{FormSelectChoice-Cd6Pov12.js → FormSelectChoice-tC4ovQdX.js} +6 -6
  79. package/chunk/{FormSelectChoice-Cd6Pov12.js.map → FormSelectChoice-tC4ovQdX.js.map} +1 -1
  80. package/chunk/InputText-C12rmr0E.js +4 -4
  81. package/chunk/InputText-CDxD4Fcy.js +4 -4
  82. package/chunk/{LicensedProfessionalOrganizationComponent-DsIDg2GA.js → LicensedProfessionalOrganizationComponent-BZsY1scU.js} +6 -6
  83. package/chunk/{LicensedProfessionalOrganizationComponent-CbdvK7yE.js.map → LicensedProfessionalOrganizationComponent-BZsY1scU.js.map} +1 -1
  84. package/chunk/{LicensedProfessionalOrganizationComponent-CbdvK7yE.js → LicensedProfessionalOrganizationComponent-dNPXXR17.js} +6 -6
  85. package/chunk/{LicensedProfessionalOrganizationComponent-DsIDg2GA.js.map → LicensedProfessionalOrganizationComponent-dNPXXR17.js.map} +1 -1
  86. package/chunk/LogoComponent-Dt2sl-7K.js +4 -4
  87. package/chunk/LogoComponent-qYFfdGhk.js +4 -4
  88. package/chunk/{LowIncomeOrganizationComponent-Cadz2x7K.js → LowIncomeOrganizationComponent-B2w-1D1s.js} +12 -12
  89. package/chunk/{LowIncomeOrganizationComponent-Cadz2x7K.js.map → LowIncomeOrganizationComponent-B2w-1D1s.js.map} +1 -1
  90. package/chunk/{LowIncomeOrganizationComponent-ChkotGFN.js → LowIncomeOrganizationComponent-Z0BGp7hP.js} +10 -10
  91. package/chunk/{LowIncomeOrganizationComponent-ChkotGFN.js.map → LowIncomeOrganizationComponent-Z0BGp7hP.js.map} +1 -1
  92. package/chunk/{MedicalProfessionalOrganizationComponent-DZZIqryd.js → MedicalProfessionalOrganizationComponent-D-YIIZN8.js} +6 -6
  93. package/chunk/{MedicalProfessionalOrganizationComponent-DJeYueww.js.map → MedicalProfessionalOrganizationComponent-D-YIIZN8.js.map} +1 -1
  94. package/chunk/{MedicalProfessionalOrganizationComponent-DJeYueww.js → MedicalProfessionalOrganizationComponent-DdVYxvwO.js} +6 -6
  95. package/chunk/{MedicalProfessionalOrganizationComponent-DZZIqryd.js.map → MedicalProfessionalOrganizationComponent-DdVYxvwO.js.map} +1 -1
  96. package/chunk/{MemberIdComponent-BehRbst0.js → MemberIdComponent-DDa-iQtj.js} +5 -5
  97. package/chunk/{MemberIdComponent-BehRbst0.js.map → MemberIdComponent-DDa-iQtj.js.map} +1 -1
  98. package/chunk/{MemberIdComponent-Bwx5Gc1F.js → MemberIdComponent-DDpGpO2e.js} +5 -5
  99. package/chunk/{MemberIdComponent-Bwx5Gc1F.js.map → MemberIdComponent-DDpGpO2e.js.map} +1 -1
  100. package/chunk/{MembershipOrganizationComponent-DJCNzvV4.js → MembershipOrganizationComponent-BEOw1H7n.js} +6 -6
  101. package/chunk/{MembershipOrganizationComponent-DJCNzvV4.js.map → MembershipOrganizationComponent-BEOw1H7n.js.map} +1 -1
  102. package/chunk/{MembershipOrganizationComponent-BiDHWiH7.js → MembershipOrganizationComponent-CCCYoUe_.js} +6 -6
  103. package/chunk/{MembershipOrganizationComponent-BiDHWiH7.js.map → MembershipOrganizationComponent-CCCYoUe_.js.map} +1 -1
  104. package/chunk/Onfido-CTCgAwnB.js +4 -4
  105. package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js → PersonalInfoStepSubmitButton-C6dx95ih.js} +11 -11
  106. package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js.map → PersonalInfoStepSubmitButton-C6dx95ih.js.map} +1 -1
  107. package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js → PersonalInfoStepSubmitButton-DBVGelcX.js} +11 -11
  108. package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js.map → PersonalInfoStepSubmitButton-DBVGelcX.js.map} +1 -1
  109. package/chunk/{PersonalInfoStepWrapper-D311a-Ph.js → PersonalInfoStepWrapper-BmHuTQIp.js} +5 -5
  110. package/chunk/{PersonalInfoStepWrapper-D311a-Ph.js.map → PersonalInfoStepWrapper-BmHuTQIp.js.map} +1 -1
  111. package/chunk/{PersonalInfoStepWrapper-BRtYQQe-.js → PersonalInfoStepWrapper-D0IAqpda.js} +6 -6
  112. package/chunk/{PersonalInfoStepWrapper-BRtYQQe-.js.map → PersonalInfoStepWrapper-D0IAqpda.js.map} +1 -1
  113. package/chunk/{PostalCodeComponent-Ds-f1Aso.js → PostalCodeComponent-BSNHro7-.js} +5 -5
  114. package/chunk/{PostalCodeComponent-BA2FNJ8F.js.map → PostalCodeComponent-BSNHro7-.js.map} +1 -1
  115. package/chunk/{PostalCodeComponent-BA2FNJ8F.js → PostalCodeComponent-EPa7PrEn.js} +5 -5
  116. package/chunk/{PostalCodeComponent-Ds-f1Aso.js.map → PostalCodeComponent-EPa7PrEn.js.map} +1 -1
  117. package/chunk/{SSN-V4OsBJo-.js → SSN-BTH_HKwP.js} +5 -5
  118. package/chunk/{SSN-DKOJL4kj.js.map → SSN-BTH_HKwP.js.map} +1 -1
  119. package/chunk/{SSN-DKOJL4kj.js → SSN-CoqeSJiv.js} +5 -5
  120. package/chunk/{SSN-V4OsBJo-.js.map → SSN-CoqeSJiv.js.map} +1 -1
  121. package/chunk/{StateSelectComponent-H1NOjMea.js → StateSelectComponent-CsMhYr5S.js} +5 -5
  122. package/chunk/{StateSelectComponent-H1NOjMea.js.map → StateSelectComponent-CsMhYr5S.js.map} +1 -1
  123. package/chunk/{StateSelectComponent-n7Tw6woS.js → StateSelectComponent-D3JOWUan.js} +5 -5
  124. package/chunk/{StateSelectComponent-n7Tw6woS.js.map → StateSelectComponent-D3JOWUan.js.map} +1 -1
  125. package/chunk/{StatusComponent-DjlW-ELF.js → StatusComponent-BV3O5IFV.js} +6 -6
  126. package/chunk/{StatusComponent-Bcd8Ga_d.js.map → StatusComponent-BV3O5IFV.js.map} +1 -1
  127. package/chunk/{StatusComponent-Bcd8Ga_d.js → StatusComponent-CZMNhzFo.js} +6 -6
  128. package/chunk/{StatusComponent-DjlW-ELF.js.map → StatusComponent-CZMNhzFo.js.map} +1 -1
  129. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B14u20Oo.js → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js} +49 -45
  130. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B14u20Oo.js.map → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js.map} +1 -1
  131. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DfxYTbSc.js → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js} +22 -26
  132. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DfxYTbSc.js.map → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js.map} +1 -1
  133. package/chunk/{StepAgePersonalInfo-CAR0KywC.js → StepAgePersonalInfo-7J8X1jpZ.js} +39 -39
  134. package/chunk/{StepAgePersonalInfo-BSbrQCh3.js.map → StepAgePersonalInfo-7J8X1jpZ.js.map} +1 -1
  135. package/chunk/{StepAgePersonalInfo-BSbrQCh3.js → StepAgePersonalInfo-CdgtxCTX.js} +40 -40
  136. package/chunk/{StepAgePersonalInfo-CAR0KywC.js.map → StepAgePersonalInfo-CdgtxCTX.js.map} +1 -1
  137. package/chunk/StepCard-B-nYcoAX.js +4 -4
  138. package/chunk/StepCard-DXyV0Wj4.js +4 -4
  139. package/chunk/{StepCollectIdentifier-l3Wvwdwp.js → StepCollectIdentifier-BGN4P47k.js} +9 -9
  140. package/chunk/{StepCollectIdentifier-z-vfDewz.js.map → StepCollectIdentifier-BGN4P47k.js.map} +1 -1
  141. package/chunk/{StepCollectIdentifier-z-vfDewz.js → StepCollectIdentifier-DNIMAHOm.js} +7 -7
  142. package/chunk/{StepCollectIdentifier-l3Wvwdwp.js.map → StepCollectIdentifier-DNIMAHOm.js.map} +1 -1
  143. package/chunk/StepCollectMilitaryStatusComponent-02pN7KWp.js +9 -0
  144. package/chunk/{StepCollectMilitaryStatusComponent-CdmUVnga.js → StepCollectMilitaryStatusComponent-A0b6sTsC.js} +5 -5
  145. package/chunk/{StepCollectPersonalInfo-CvzeFcB4.js → StepCollectPersonalInfo-DSYGRZsu.js} +86 -86
  146. package/chunk/{StepCollectPersonalInfo-CvzeFcB4.js.map → StepCollectPersonalInfo-DSYGRZsu.js.map} +1 -1
  147. package/chunk/{StepCollectPersonalInfo-C-CKn207.js → StepCollectPersonalInfo-Dnp2yK42.js} +118 -118
  148. package/chunk/{StepCollectPersonalInfo-C-CKn207.js.map → StepCollectPersonalInfo-Dnp2yK42.js.map} +1 -1
  149. package/chunk/{StepCompleteAuthentication-zrcJ8B4S.js → StepCompleteAuthentication-COpZ5w8i.js} +44 -43
  150. package/chunk/StepCompleteAuthentication-COpZ5w8i.js.map +1 -0
  151. package/chunk/{StepCompleteAuthentication-Al4mmZZ4.js → StepCompleteAuthentication-CWDsVUrM.js} +44 -43
  152. package/chunk/StepCompleteAuthentication-CWDsVUrM.js.map +1 -0
  153. package/chunk/{StepConsolation-C_Prf3j3.js → StepConsolation-CWZOfBEr.js} +5 -5
  154. package/chunk/{StepConsolation-BQAOeOOd.js.map → StepConsolation-CWZOfBEr.js.map} +1 -1
  155. package/chunk/{StepConsolation-BQAOeOOd.js → StepConsolation-DISoSIlj.js} +5 -5
  156. package/chunk/{StepConsolation-C_Prf3j3.js.map → StepConsolation-DISoSIlj.js.map} +1 -1
  157. package/chunk/{StepDocUpload-C1IXuvwZ.js → StepDocUpload-BDm37Fq1.js} +60 -60
  158. package/chunk/{StepDocUpload-C1IXuvwZ.js.map → StepDocUpload-BDm37Fq1.js.map} +1 -1
  159. package/chunk/{StepDocUpload-B43mxO56.js → StepDocUpload-ETxR-vzb.js} +56 -56
  160. package/chunk/{StepDocUpload-B43mxO56.js.map → StepDocUpload-ETxR-vzb.js.map} +1 -1
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-yf_0IUzD.js → StepDriverLicensePersonalInfoComponent-CBOl141P.js} +37 -33
  162. package/chunk/{StepDriverLicensePersonalInfoComponent-Ckfq3VFs.js.map → StepDriverLicensePersonalInfoComponent-CBOl141P.js.map} +1 -1
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-Ckfq3VFs.js → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js} +16 -20
  164. package/chunk/{StepDriverLicensePersonalInfoComponent-yf_0IUzD.js.map → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js.map} +1 -1
  165. package/chunk/{StepEmailLoop-CHiMm3ff.js → StepEmailLoop-66eXFv6H.js} +48 -47
  166. package/chunk/StepEmailLoop-66eXFv6H.js.map +1 -0
  167. package/chunk/{StepEmailLoop-C7flA645.js → StepEmailLoop-DQiSiwAG.js} +49 -48
  168. package/chunk/StepEmailLoop-DQiSiwAG.js.map +1 -0
  169. package/chunk/{StepEmploymentPersonalInfo-DZmOXIJM.js → StepEmploymentPersonalInfo-CKeI3whS.js} +19 -23
  170. package/chunk/{StepEmploymentPersonalInfo-BcTcSPYa.js.map → StepEmploymentPersonalInfo-CKeI3whS.js.map} +1 -1
  171. package/chunk/{StepEmploymentPersonalInfo-BcTcSPYa.js → StepEmploymentPersonalInfo-gKRvI5TZ.js} +49 -45
  172. package/chunk/{StepEmploymentPersonalInfo-DZmOXIJM.js.map → StepEmploymentPersonalInfo-gKRvI5TZ.js.map} +1 -1
  173. package/chunk/{StepFirstResponderPersonalInfo-CAPiK9Dt.js → StepFirstResponderPersonalInfo-B42FfPMz.js} +38 -38
  174. package/chunk/{StepFirstResponderPersonalInfo-CAPiK9Dt.js.map → StepFirstResponderPersonalInfo-B42FfPMz.js.map} +1 -1
  175. package/chunk/{StepFirstResponderPersonalInfo-nZbV-Ibr.js → StepFirstResponderPersonalInfo-B8DN_Q06.js} +39 -39
  176. package/chunk/{StepFirstResponderPersonalInfo-nZbV-Ibr.js.map → StepFirstResponderPersonalInfo-B8DN_Q06.js.map} +1 -1
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca02U9E6.js → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js} +46 -42
  178. package/chunk/{StepGeneralIdentityPersonalInfoComponent-9Q7aqL0S.js.map → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js.map} +1 -1
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-9Q7aqL0S.js → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js} +19 -23
  180. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca02U9E6.js.map → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js.map} +1 -1
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-B1Df69lG.js → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js} +49 -45
  182. package/chunk/{StepHybridIdentityPersonalInfoComponent-B1Df69lG.js.map → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js.map} +1 -1
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-CkN-pDE1.js → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js} +20 -24
  184. package/chunk/{StepHybridIdentityPersonalInfoComponent-CkN-pDE1.js.map → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js.map} +1 -1
  185. package/chunk/{StepIDCheckLoop-CCSjd3UQ.js → StepIDCheckLoop-DKQFGeYF.js} +6 -6
  186. package/chunk/{StepIDCheckLoop-CCSjd3UQ.js.map → StepIDCheckLoop-DKQFGeYF.js.map} +1 -1
  187. package/chunk/{StepIDCheckLoop-CIOkLGwo.js → StepIDCheckLoop-DzY5dNGP.js} +6 -6
  188. package/chunk/{StepIDCheckLoop-CIOkLGwo.js.map → StepIDCheckLoop-DzY5dNGP.js.map} +1 -1
  189. package/chunk/{StepIDCheckLoopOnfido-D2DVgdky.js → StepIDCheckLoopOnfido-Cch_5u12.js} +8 -8
  190. package/chunk/{StepIDCheckLoopOnfido-D2DVgdky.js.map → StepIDCheckLoopOnfido-Cch_5u12.js.map} +1 -1
  191. package/chunk/{StepIDCheckLoopOnfido-cnxsOMWV.js → StepIDCheckLoopOnfido-Dx2ATNUg.js} +8 -8
  192. package/chunk/{StepIDCheckLoopOnfido-cnxsOMWV.js.map → StepIDCheckLoopOnfido-Dx2ATNUg.js.map} +1 -1
  193. package/chunk/{StepIDCheckLoopRegula-qjFbEs5b.js → StepIDCheckLoopRegula-BTQfpfOM.js} +8 -8
  194. package/chunk/{StepIDCheckLoopRegula-Y10NX1Q3.js.map → StepIDCheckLoopRegula-BTQfpfOM.js.map} +1 -1
  195. package/chunk/{StepIDCheckLoopRegula-Y10NX1Q3.js → StepIDCheckLoopRegula-DdWBTpVn.js} +6 -6
  196. package/chunk/{StepIDCheckLoopRegula-qjFbEs5b.js.map → StepIDCheckLoopRegula-DdWBTpVn.js.map} +1 -1
  197. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BXdn-Qvo.js → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js} +74 -70
  198. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BXdn-Qvo.js.map → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js.map} +1 -1
  199. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DaCh7SYg.js → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js} +36 -40
  200. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DaCh7SYg.js.map → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js.map} +1 -1
  201. package/chunk/{StepLicensedProfessionalPersonalInfo-BnDVMUtO.js → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js} +42 -38
  202. package/chunk/{StepLicensedProfessionalPersonalInfo-BQwZQIFl.js.map → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js.map} +1 -1
  203. package/chunk/{StepLicensedProfessionalPersonalInfo-BQwZQIFl.js → StepLicensedProfessionalPersonalInfo-DKMUW049.js} +18 -22
  204. package/chunk/{StepLicensedProfessionalPersonalInfo-BnDVMUtO.js.map → StepLicensedProfessionalPersonalInfo-DKMUW049.js.map} +1 -1
  205. package/chunk/{StepLowIncomePersonalInfo-BoqwsqL5.js → StepLowIncomePersonalInfo-D9O8Uor2.js} +68 -64
  206. package/chunk/{StepLowIncomePersonalInfo-BoqwsqL5.js.map → StepLowIncomePersonalInfo-D9O8Uor2.js.map} +1 -1
  207. package/chunk/{StepLowIncomePersonalInfo-Db03vaPA.js → StepLowIncomePersonalInfo-QFuvGE-L.js} +35 -39
  208. package/chunk/{StepLowIncomePersonalInfo-Db03vaPA.js.map → StepLowIncomePersonalInfo-QFuvGE-L.js.map} +1 -1
  209. package/chunk/{StepMedicalProfessionalPersonalInfo-awsF3xcG.js → StepMedicalProfessionalPersonalInfo-CbmolcMH.js} +54 -50
  210. package/chunk/{StepMedicalProfessionalPersonalInfo-C0JUATxi.js.map → StepMedicalProfessionalPersonalInfo-CbmolcMH.js.map} +1 -1
  211. package/chunk/{StepMedicalProfessionalPersonalInfo-C0JUATxi.js → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js} +26 -30
  212. package/chunk/{StepMedicalProfessionalPersonalInfo-awsF3xcG.js.map → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js.map} +1 -1
  213. package/chunk/{StepMemberPersonalInfo-BofE_acL.js → StepMemberPersonalInfo-CVOzYqMw.js} +35 -35
  214. package/chunk/{StepMemberPersonalInfo-B0f91YLZ.js.map → StepMemberPersonalInfo-CVOzYqMw.js.map} +1 -1
  215. package/chunk/{StepMemberPersonalInfo-B0f91YLZ.js → StepMemberPersonalInfo-DvmSqX4n.js} +25 -25
  216. package/chunk/{StepMemberPersonalInfo-BofE_acL.js.map → StepMemberPersonalInfo-DvmSqX4n.js.map} +1 -1
  217. package/chunk/{StepMoverPersonalInfo-CmfGAXkf.js → StepMoverPersonalInfo-ADq4X93i.js} +21 -21
  218. package/chunk/{StepMoverPersonalInfo-BD_EHnng.js.map → StepMoverPersonalInfo-ADq4X93i.js.map} +1 -1
  219. package/chunk/{StepMoverPersonalInfo-BD_EHnng.js → StepMoverPersonalInfo-u06pbtdj.js} +22 -22
  220. package/chunk/{StepMoverPersonalInfo-CmfGAXkf.js.map → StepMoverPersonalInfo-u06pbtdj.js.map} +1 -1
  221. package/chunk/{StepOverrideComponent-redazXZp.js → StepOverrideComponent-CPTcGV0Y.js} +38 -38
  222. package/chunk/StepOverrideComponent-CPTcGV0Y.js.map +1 -0
  223. package/chunk/{StepOverrideComponent-fPPJK_4j.js → StepOverrideComponent-DrnSMis1.js} +38 -38
  224. package/chunk/StepOverrideComponent-DrnSMis1.js.map +1 -0
  225. package/chunk/{StepSMSLoop-CQmW0RCA.js → StepSMSLoop-BeJD_bwf.js} +5 -5
  226. package/chunk/{StepSMSLoop-DkvcaHot.js.map → StepSMSLoop-BeJD_bwf.js.map} +1 -1
  227. package/chunk/{StepSMSLoop-DkvcaHot.js → StepSMSLoop-WBuEgD6l.js} +5 -5
  228. package/chunk/{StepSMSLoop-CQmW0RCA.js.map → StepSMSLoop-WBuEgD6l.js.map} +1 -1
  229. package/chunk/{StepSSO-BaFk7RFJ.js → StepSSO-Bp-M6Mod.js} +5 -5
  230. package/chunk/StepSSO-DfPU73JX.js +9 -0
  231. package/chunk/{StepSocialSecurityNumber-DV9hLypX.js → StepSocialSecurityNumber-CxmDZ_yz.js} +10 -10
  232. package/chunk/{StepSocialSecurityNumber-Byc5LqGo.js.map → StepSocialSecurityNumber-CxmDZ_yz.js.map} +1 -1
  233. package/chunk/{StepSocialSecurityNumber-Byc5LqGo.js → StepSocialSecurityNumber-DR2_1m3S.js} +8 -8
  234. package/chunk/{StepSocialSecurityNumber-DV9hLypX.js.map → StepSocialSecurityNumber-DR2_1m3S.js.map} +1 -1
  235. package/chunk/{StepStudentPersonalInfo-4BRY3R9o.js → StepStudentPersonalInfo-C27MhV1r.js} +41 -40
  236. package/chunk/{StepStudentPersonalInfo-4BRY3R9o.js.map → StepStudentPersonalInfo-C27MhV1r.js.map} +1 -1
  237. package/chunk/{StepStudentPersonalInfo-BZbY6a71.js → StepStudentPersonalInfo-Cw-DUf5K.js} +40 -39
  238. package/chunk/{StepStudentPersonalInfo-BZbY6a71.js.map → StepStudentPersonalInfo-Cw-DUf5K.js.map} +1 -1
  239. package/chunk/{StepSuccess-BU5AsEbz.js → StepSuccess-BFG2uFAo.js} +73 -72
  240. package/chunk/StepSuccess-BFG2uFAo.js.map +1 -0
  241. package/chunk/{StepSuccess-CYK71tK1.js → StepSuccess-DjqHe3hp.js} +73 -72
  242. package/chunk/StepSuccess-DjqHe3hp.js.map +1 -0
  243. package/chunk/{StepTeacherPersonalInfo-B2lZ53de.js → StepTeacherPersonalInfo-DMMFjHnf.js} +34 -34
  244. package/chunk/{StepTeacherPersonalInfo-B2lZ53de.js.map → StepTeacherPersonalInfo-DMMFjHnf.js.map} +1 -1
  245. package/chunk/{StepTeacherPersonalInfo-DZekcOaB.js → StepTeacherPersonalInfo-j1D03USI.js} +26 -26
  246. package/chunk/{StepTeacherPersonalInfo-DZekcOaB.js.map → StepTeacherPersonalInfo-j1D03USI.js.map} +1 -1
  247. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +9 -0
  248. package/chunk/{StepThirdPartyLoop-BGHCbduX.js → StepThirdPartyLoop-CbFTIlwP.js} +5 -5
  249. package/chunk/{TeacherSchoolComponent-Bk9mAtGT.js → TeacherSchoolComponent-CiMvlnGq.js} +6 -6
  250. package/chunk/{TeacherSchoolComponent-Bk9mAtGT.js.map → TeacherSchoolComponent-CiMvlnGq.js.map} +1 -1
  251. package/chunk/{TeacherSchoolComponent-BhQA41W4.js → TeacherSchoolComponent-DsUzj_xt.js} +6 -6
  252. package/chunk/{TeacherSchoolComponent-BhQA41W4.js.map → TeacherSchoolComponent-DsUzj_xt.js.map} +1 -1
  253. package/chunk/TestingRouteOverrides-C6_6elEq.js +4 -4
  254. package/chunk/TestingRouteOverrides-DHL_cusu.js +4 -4
  255. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  256. package/chunk/{VerificationApiClient-DMn0LZDJ.js → VerificationApiClient-1OjLrKjE.js} +5 -5
  257. package/chunk/{VerificationApiClient-DMn0LZDJ.js.map → VerificationApiClient-1OjLrKjE.js.map} +1 -1
  258. package/chunk/{VerificationApiClient-D25kKPW3.js → VerificationApiClient-PLVc1WDR.js} +5 -5
  259. package/chunk/{VerificationApiClient-D25kKPW3.js.map → VerificationApiClient-PLVc1WDR.js.map} +1 -1
  260. package/chunk/{VerificationApiUtils-DqEF-n7G.js → VerificationApiUtils-CbPWShkM.js} +6 -6
  261. package/chunk/{VerificationApiUtils-DqEF-n7G.js.map → VerificationApiUtils-CbPWShkM.js.map} +1 -1
  262. package/chunk/{VerificationApiUtils-if8YfRNb.js → VerificationApiUtils-DnXcSPRj.js} +6 -6
  263. package/chunk/{VerificationApiUtils-if8YfRNb.js.map → VerificationApiUtils-DnXcSPRj.js.map} +1 -1
  264. package/chunk/ar-CZrVPqvf.js +4 -4
  265. package/chunk/bg-Cj9u62RW.js +4 -4
  266. package/chunk/bn-IN-AX8JdjQ8.js +4 -4
  267. package/chunk/countryUtils-CAW7TO02.js +4 -4
  268. package/chunk/countryUtils-CV_Lr16_.js +4 -4
  269. package/chunk/cs-5rrzGv7_.js +4 -4
  270. package/chunk/da-DMDlBT-5.js +4 -4
  271. package/chunk/de-DG-q-l7o.js +4 -4
  272. package/chunk/{downshift.esm-_-Q1VM-s.js → downshift.esm-BaiLtXU1.js} +5 -5
  273. package/chunk/{downshift.esm-_-Q1VM-s.js.map → downshift.esm-BaiLtXU1.js.map} +1 -1
  274. package/chunk/{downshift.esm-DVFysUHL.js → downshift.esm-DG33Aw1V.js} +5 -5
  275. package/chunk/{downshift.esm-DVFysUHL.js.map → downshift.esm-DG33Aw1V.js.map} +1 -1
  276. package/chunk/el-yctEkMhE.js +4 -4
  277. package/chunk/empties-CuuBn0bi.js +4 -4
  278. package/chunk/empties-NTFzwSRR.js +4 -4
  279. package/chunk/en-GB-6LZCsn1D.js +4 -4
  280. package/chunk/es-BMeF1R04.js +4 -4
  281. package/chunk/es-ES-CsFb7QAU.js +4 -4
  282. package/chunk/et-CiZKWMRu.js +4 -4
  283. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  284. package/chunk/fa-D9V3MCMh.js +4 -4
  285. package/chunk/fi-poKCN0AL.js +4 -4
  286. package/chunk/fr-BiSjb5hG.js +4 -4
  287. package/chunk/fr-CA-zBX3D7Nl.js +4 -4
  288. package/chunk/ga-jC99p6r7.js +4 -4
  289. package/chunk/hi-IN-C_1AZftT.js +4 -4
  290. package/chunk/hooks-ClexZCWs.js +2888 -0
  291. package/chunk/hooks-ClexZCWs.js.map +1 -0
  292. package/chunk/hooks-DqGWdJ7N.js +2892 -0
  293. package/chunk/hooks-DqGWdJ7N.js.map +1 -0
  294. package/chunk/hr-abbR52XG.js +4 -4
  295. package/chunk/hu-CeZoihsr.js +4 -4
  296. package/chunk/id-wFLT8G20.js +4 -4
  297. package/chunk/intl-CuZpjbF2.js +4 -4
  298. package/chunk/is-sc_8Dmxx.js +4 -4
  299. package/chunk/it-Mhw_31wt.js +4 -4
  300. package/chunk/iw-BfqjzsAq.js +4 -4
  301. package/chunk/ja-Bdvw5s91.js +4 -4
  302. package/chunk/jsx-runtime-B29HBOo1.js +4 -4
  303. package/chunk/jsx-runtime-Br-ldzo0.js +4 -4
  304. package/chunk/kk-mHV9A9HS.js +4 -4
  305. package/chunk/ko-C7nyKdTs.js +4 -4
  306. package/chunk/lo-baNG1foB.js +4 -4
  307. package/chunk/lt-CNU2L7fK.js +4 -4
  308. package/chunk/lv-bP-HuAKS.js +4 -4
  309. package/chunk/militaryStepHelpers-BlzQcNHu.js +4 -4
  310. package/chunk/militaryStepHelpers-COmBnCcw.js +4 -4
  311. package/chunk/mocks-BlLp3eOz.js +4 -4
  312. package/chunk/mocks-CuPTVtpf.js +4 -4
  313. package/chunk/ms-Bg8aDCAA.js +4 -4
  314. package/chunk/nl-BE-Ct8zP0W1.js +4 -4
  315. package/chunk/nl-CbfjSfKQ.js +4 -4
  316. package/chunk/no-DjDW2Ec_.js +4 -4
  317. package/chunk/options-BqxY1ri6.js +4 -4
  318. package/chunk/pl--DnD-6qz.js +4 -4
  319. package/chunk/programThemeGetters-BKJAvlOG.js +4 -4
  320. package/chunk/programThemeGetters-f9o96pYi.js +4 -4
  321. package/chunk/pt-BR-B02CJDXT.js +4 -4
  322. package/chunk/pt-CcmRJnZb.js +4 -4
  323. package/chunk/refs-B-c--SWS.js +4 -4
  324. package/chunk/refs-CWwQlqJe.js +4 -4
  325. package/chunk/ro-CLdi0jqR.js +4 -4
  326. package/chunk/ru-Z91NV1Cr.js +4 -4
  327. package/chunk/sk-B7rRmmv6.js +4 -4
  328. package/chunk/sl-DhAq6T_a.js +4 -4
  329. package/chunk/sr-DpP50d7v.js +4 -4
  330. package/chunk/strings-DWLVdUcm.js +4 -4
  331. package/chunk/sv-QG7LEZNd.js +4 -4
  332. package/chunk/sw--WAxwRTW.js +4 -4
  333. package/chunk/ta-DRF7u30N.js +4 -4
  334. package/chunk/th-BoK35Z2N.js +4 -4
  335. package/chunk/tl-BDTwfyaC.js +4 -4
  336. package/chunk/tr-BoXGTv5p.js +4 -4
  337. package/chunk/uk-AXN3c9FX.js +4 -4
  338. package/chunk/ur-D5Nqe4mS.js +4 -4
  339. package/chunk/{useCollectFieldsEndpoint-C8WAisEk.js → useCollectFieldsEndpoint-ChTjhl6c.js} +6 -6
  340. package/chunk/{useCollectFieldsEndpoint-C8WAisEk.js.map → useCollectFieldsEndpoint-ChTjhl6c.js.map} +1 -1
  341. package/chunk/{useCollectFieldsEndpoint-CY9EgLrA.js → useCollectFieldsEndpoint-CqGDsmUW.js} +6 -6
  342. package/chunk/{useCollectFieldsEndpoint-CY9EgLrA.js.map → useCollectFieldsEndpoint-CqGDsmUW.js.map} +1 -1
  343. package/chunk/{useMetrics-B3zSqEvx.js → useMetrics-BIJ6jLMV.js} +5 -5
  344. package/chunk/{useMetrics-yFN3h5mC.js.map → useMetrics-BIJ6jLMV.js.map} +1 -1
  345. package/chunk/{useMetrics-yFN3h5mC.js → useMetrics-DWYTjtqD.js} +5 -5
  346. package/chunk/{useMetrics-B3zSqEvx.js.map → useMetrics-DWYTjtqD.js.map} +1 -1
  347. package/chunk/vi-BE4aMeLo.js +4 -4
  348. package/chunk/zh-CUzsIz8M.js +4 -4
  349. package/chunk/zh-HK-BTCqwQOw.js +4 -4
  350. package/chunk/zu-ChHTiO3Y.js +4 -4
  351. package/package.json +1 -1
  352. package/sheerid-install.css +4 -4
  353. package/sheerid-install.js +4 -4
  354. package/sheerid.css +4 -4
  355. package/sheerid.js +1360 -3776
  356. package/sheerid.js.map +1 -1
  357. package/chunk/EmailLoopPending-Czkli3uD.js.map +0 -1
  358. package/chunk/EmailLoopPending-FiV8oqMN.js.map +0 -1
  359. package/chunk/StepCollectMilitaryStatusComponent-BqeZDXtK.js +0 -9
  360. package/chunk/StepCompleteAuthentication-Al4mmZZ4.js.map +0 -1
  361. package/chunk/StepCompleteAuthentication-zrcJ8B4S.js.map +0 -1
  362. package/chunk/StepEmailLoop-C7flA645.js.map +0 -1
  363. package/chunk/StepEmailLoop-CHiMm3ff.js.map +0 -1
  364. package/chunk/StepOverrideComponent-fPPJK_4j.js.map +0 -1
  365. package/chunk/StepOverrideComponent-redazXZp.js.map +0 -1
  366. package/chunk/StepSSO-BRFhNvkp.js +0 -9
  367. package/chunk/StepSuccess-BU5AsEbz.js.map +0 -1
  368. package/chunk/StepSuccess-CYK71tK1.js.map +0 -1
  369. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +0 -9
  370. package/chunk/validators-DqymSzki.js +0 -470
  371. package/chunk/validators-DqymSzki.js.map +0 -1
  372. package/chunk/validators-DtqLbhHK.js +0 -474
  373. package/chunk/validators-DtqLbhHK.js.map +0 -1
@@ -4,36 +4,37 @@
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.263.0
8
- * BUILD_TIMESTAMP: 1785516728580
9
- * BUILD_DATE: Fri Jul 31 2026 16:52:08 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
7
+ * VERSION: 2.264.0
8
+ * BUILD_TIMESTAMP: 1785521582792
9
+ * BUILD_DATE: Fri Jul 31 2026 18:13:02 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
11
11
  */
12
12
  import { Bt as e, Kt as t, R as n, Vt as r, Wt as i, dt as a, g as o, h as s, ot as c, s as l, t as u, x as d } from "./intl-CuZpjbF2.js";
13
13
  import { a as f, c as p, n as m, t as h } from "./jsx-runtime-Br-ldzo0.js";
14
- import { i as g } from "./FormFooterComponent-7bb8jZLG.js";
15
- import { a as _ } from "./VerificationApiClient-DMn0LZDJ.js";
16
- import { o as v } from "./refs-B-c--SWS.js";
17
- import { t as y } from "./strings-DWLVdUcm.js";
18
- import { C as b, D as x, E as S, O as C, S as w, T, _ as E, b as D, c as O, ct as k, d as A, f as j, g as M, h as N, i as P, l as F, m as I, p as L, t as R, tt as z, u as B, v as V, w as H, x as U, y as ee } from "../_mysheerid-preview.js";
19
- import { n as te, t as ne } from "./FormFieldLayout-C-prs50D.js";
20
- import { t as W } from "./downshift.esm-_-Q1VM-s.js";
21
- import { a as G, o as re } from "./useMetrics-yFN3h5mC.js";
22
- import { t as ie } from "./countryUtils-CV_Lr16_.js";
14
+ import { i as g } from "./FormFooterComponent-BkXmQxBf.js";
15
+ import { a as _ } from "./VerificationApiClient-1OjLrKjE.js";
16
+ import { t as v } from "./hooks-DqGWdJ7N.js";
17
+ import { o as y } from "./refs-B-c--SWS.js";
18
+ import { t as b } from "./strings-DWLVdUcm.js";
19
+ import { C as x, D as S, E as C, S as w, T, _ as E, b as D, c as O, d as k, et as A, f as j, g as M, h as N, l as P, m as F, ot as ee, p as I, r as L, s as R, u as z, v as B, w as V, x as H, y as te } from "../_mysheerid-preview.js";
20
+ import { n as ne, t as re } from "./FormFieldLayout-C-prs50D.js";
21
+ import { t as U } from "./downshift.esm-BaiLtXU1.js";
22
+ import { a as W, o as ie } from "./useMetrics-DWYTjtqD.js";
23
+ import { t as ae } from "./countryUtils-CV_Lr16_.js";
23
24
  //#region ../packages/org-search/src/SearchOverlay/context.ts
24
- var K = /* @__PURE__ */ t(p(), 1), ae = (0, K.createContext)({
25
+ var G = /* @__PURE__ */ t(p(), 1), oe = (0, G.createContext)({
25
26
  showOverlay: !1,
26
27
  setShowOverlay: () => void 0
27
- }), oe = () => (0, K.useContext)(ae), se = (0, K.createContext)(null), ce = () => (0, K.useContext)(se);
28
+ }), se = () => (0, G.useContext)(oe), ce = (0, G.createContext)(null), le = () => (0, G.useContext)(ce);
28
29
  //#endregion
29
30
  //#region ../packages/org-search/src/hooks/useGeoLocation.ts
30
- function le() {
31
- let [e, t] = (0, K.useState)(null), [n, r] = (0, K.useState)(null), [i, a] = (0, K.useState)(!1);
31
+ function ue() {
32
+ let [e, t] = (0, G.useState)(null), [n, r] = (0, G.useState)(null), [i, a] = (0, G.useState)(!1);
32
33
  return {
33
34
  location: e,
34
35
  error: n,
35
36
  loading: i,
36
- requestLocation: (0, K.useCallback)(() => (a(!0), r(null), new Promise((e, n) => {
37
+ requestLocation: (0, G.useCallback)(() => (a(!0), r(null), new Promise((e, n) => {
37
38
  navigator.geolocation.getCurrentPosition((n) => {
38
39
  let r = {
39
40
  latitude: n.coords.latitude,
@@ -52,15 +53,15 @@ function le() {
52
53
  }
53
54
  //#endregion
54
55
  //#region ../packages/org-search/src/SearchRanking/SearchRankingProvider.tsx
55
- var q = h(), ue = ({ children: e }) => {
56
- let [t, n] = (0, K.useState)("relevance"), [r, i] = (0, K.useState)(null), [a, o] = (0, K.useState)(!1), s = le(), c = (0, K.useCallback)(async () => {
56
+ var K = h(), de = ({ children: e }) => {
57
+ let [t, n] = (0, G.useState)("relevance"), [r, i] = (0, G.useState)(null), [a, o] = (0, G.useState)(!1), s = ue(), c = (0, G.useCallback)(async () => {
57
58
  try {
58
59
  let e = await s.requestLocation();
59
60
  return i(e), o(!1), e;
60
61
  } catch {
61
62
  throw o(!0), Error("Location denied");
62
63
  }
63
- }, [s]), l = (0, K.useMemo)(() => ({
64
+ }, [s]), l = (0, G.useMemo)(() => ({
64
65
  sortMode: t,
65
66
  userLocation: r,
66
67
  locationDenied: a,
@@ -72,12 +73,12 @@ var q = h(), ue = ({ children: e }) => {
72
73
  a,
73
74
  c
74
75
  ]);
75
- return /* @__PURE__ */ (0, q.jsx)(se.Provider, {
76
+ return /* @__PURE__ */ (0, K.jsx)(ce.Provider, {
76
77
  value: l,
77
78
  children: e
78
79
  });
79
- }, de = "button, a[href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])", fe = ({ children: e, enabled: t, closeSectionLabel: n }) => {
80
- let [r, i] = (0, K.useState)(!1), a = (0, K.useRef)(null), o = t && r, s = (0, K.useRef)(0), c = (e) => {
80
+ }, fe = "button, a[href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])", pe = ({ children: e, enabled: t, closeSectionLabel: n }) => {
81
+ let [r, i] = (0, G.useState)(!1), a = (0, G.useRef)(null), o = t && r, s = (0, G.useRef)(0), c = (e) => {
81
82
  if (!t) return;
82
83
  let n = window !== window.top;
83
84
  if (e && r === !1) {
@@ -91,41 +92,41 @@ var q = h(), ue = ({ children: e }) => {
91
92
  }
92
93
  !e && r && (document.body.style.overflow = "", document.body.style.backgroundColor = "", window.scrollTo({ top: s.current }), n && (document.body.style.height = "")), i(e);
93
94
  };
94
- return (0, K.useEffect)(() => {
95
+ return (0, G.useEffect)(() => {
95
96
  if (!o) return;
96
97
  let e = (e) => {
97
98
  if (e.key !== "Tab") return;
98
99
  let t = a.current;
99
100
  if (!t) return;
100
- let n = t.querySelectorAll(de), r = n[0], i = n[n.length - 1];
101
+ let n = t.querySelectorAll(fe), r = n[0], i = n[n.length - 1];
101
102
  e.shiftKey && document.activeElement === r ? (e.preventDefault(), i?.focus()) : !e.shiftKey && document.activeElement === i && (e.preventDefault(), r?.focus());
102
103
  };
103
104
  return document.addEventListener("keydown", e, !0), () => document.removeEventListener("keydown", e, !0);
104
- }, [o]), t ? /* @__PURE__ */ (0, q.jsx)(ae.Provider, {
105
+ }, [o]), t ? /* @__PURE__ */ (0, K.jsx)(oe.Provider, {
105
106
  value: {
106
107
  showOverlay: o,
107
108
  setShowOverlay: c
108
109
  },
109
- children: /* @__PURE__ */ (0, q.jsx)(ue, { children: /* @__PURE__ */ (0, q.jsx)("div", {
110
+ children: /* @__PURE__ */ (0, K.jsx)(de, { children: /* @__PURE__ */ (0, K.jsx)("div", {
110
111
  className: o ? "sid-search-overlay__overlay" : void 0,
111
- children: /* @__PURE__ */ (0, q.jsxs)("div", {
112
+ children: /* @__PURE__ */ (0, K.jsxs)("div", {
112
113
  className: o ? "sid-search-overlay__container" : void 0,
113
114
  ref: a,
114
- children: [o && /* @__PURE__ */ (0, q.jsx)("button", {
115
+ children: [o && /* @__PURE__ */ (0, K.jsx)("button", {
115
116
  className: "sid-search-overlay__close",
116
117
  onClick: () => c(!1),
117
118
  children: n
118
119
  }), e]
119
120
  })
120
121
  }) })
121
- }) : /* @__PURE__ */ (0, q.jsx)(q.Fragment, { children: e });
122
- }, pe = ({ org: e, onClear: t, clearSelectionLabel: n, labelId: r }) => {
123
- let i = (0, K.useRef)(null), a = [e.city, e.state].filter(Boolean).join(", "), o = [e.name, a].filter(Boolean).join(", ");
124
- return (0, K.useEffect)(() => {
122
+ }) : /* @__PURE__ */ (0, K.jsx)(K.Fragment, { children: e });
123
+ }, me = ({ org: e, onClear: t, clearSelectionLabel: n, labelId: r }) => {
124
+ let i = (0, G.useRef)(null), a = [e.city, e.state].filter(Boolean).join(", "), o = [e.name, a].filter(Boolean).join(", ");
125
+ return (0, G.useEffect)(() => {
125
126
  i.current?.focus();
126
- }, []), /* @__PURE__ */ (0, q.jsxs)("div", {
127
+ }, []), /* @__PURE__ */ (0, K.jsxs)("div", {
127
128
  className: "sid-selected-org__wrapper",
128
- children: [/* @__PURE__ */ (0, q.jsx)("input", {
129
+ children: [/* @__PURE__ */ (0, K.jsx)("input", {
129
130
  ref: i,
130
131
  className: "sid-h-screen-reader-only",
131
132
  type: "text",
@@ -133,16 +134,16 @@ var q = h(), ue = ({ children: e }) => {
133
134
  "aria-labelledby": r,
134
135
  "aria-expanded": !1,
135
136
  value: o
136
- }), /* @__PURE__ */ (0, q.jsxs)("div", {
137
+ }), /* @__PURE__ */ (0, K.jsxs)("div", {
137
138
  className: "sid-selected-org__container",
138
- children: [/* @__PURE__ */ (0, q.jsxs)("div", {
139
+ children: [/* @__PURE__ */ (0, K.jsxs)("div", {
139
140
  className: "sid-selected-org__name",
140
141
  "aria-hidden": "true",
141
- children: [e.name, a && /* @__PURE__ */ (0, q.jsx)("span", {
142
+ children: [e.name, a && /* @__PURE__ */ (0, K.jsx)("span", {
142
143
  className: "sid-selected-org__location",
143
144
  children: a
144
145
  })]
145
- }), /* @__PURE__ */ (0, q.jsx)("button", {
146
+ }), /* @__PURE__ */ (0, K.jsx)("button", {
146
147
  className: "sid-selected-org__clear",
147
148
  "aria-label": n,
148
149
  onClick: t,
@@ -150,28 +151,28 @@ var q = h(), ue = ({ children: e }) => {
150
151
  })]
151
152
  })]
152
153
  });
153
- }, me = 6371;
154
- function he(e, t, n, r) {
154
+ }, he = 6371;
155
+ function ge(e, t, n, r) {
155
156
  let i = (e) => e * Math.PI / 180, a = i(n - e), o = i(r - t), s = Math.sin(a / 2) * Math.sin(a / 2) + Math.cos(i(e)) * Math.cos(i(n)) * Math.sin(o / 2) * Math.sin(o / 2);
156
- return me * (2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s)));
157
+ return he * (2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s)));
157
158
  }
158
- var ge = ["en-us", "en-gb"];
159
- function _e(e) {
160
- return ge.includes(e.toLowerCase()) ? "miles" : "kilometers";
159
+ var _e = ["en-us", "en-gb"];
160
+ function ve(e) {
161
+ return _e.includes(e.toLowerCase()) ? "miles" : "kilometers";
161
162
  }
162
- function ve(e, t) {
163
+ function ye(e, t) {
163
164
  let n = t === "miles" ? "mi" : "km", r = t === "miles" ? e * .621371 : e, i = Math.round(r * 10) / 10;
164
165
  return i >= 10 ? `${Math.round(r)} ${n}` : `${i} ${n}`;
165
166
  }
166
167
  //#endregion
167
168
  //#region ../node_modules/@radix-ui/react-collection/dist/index.mjs
168
- function ye(e) {
169
- let t = e + "CollectionProvider", [n, r] = T(t), [i, a] = n(t, {
169
+ function be(e) {
170
+ let t = e + "CollectionProvider", [n, r] = V(t), [i, a] = n(t, {
170
171
  collectionRef: { current: null },
171
172
  itemMap: /* @__PURE__ */ new Map()
172
173
  }), o = (e) => {
173
- let { scope: t, children: n } = e, r = K.useRef(null), a = K.useRef(/* @__PURE__ */ new Map()).current;
174
- return /* @__PURE__ */ (0, q.jsx)(i, {
174
+ let { scope: t, children: n } = e, r = G.useRef(null), a = G.useRef(/* @__PURE__ */ new Map()).current;
175
+ return /* @__PURE__ */ (0, K.jsx)(i, {
175
176
  scope: t,
176
177
  itemMap: a,
177
178
  collectionRef: r,
@@ -179,20 +180,20 @@ function ye(e) {
179
180
  });
180
181
  };
181
182
  o.displayName = t;
182
- let s = e + "CollectionSlot", c = H(s), l = K.forwardRef((e, t) => {
183
+ let s = e + "CollectionSlot", c = x(s), l = G.forwardRef((e, t) => {
183
184
  let { scope: n, children: r } = e;
184
- return /* @__PURE__ */ (0, q.jsx)(c, {
185
- ref: x(t, a(s, n).collectionRef),
185
+ return /* @__PURE__ */ (0, K.jsx)(c, {
186
+ ref: C(t, a(s, n).collectionRef),
186
187
  children: r
187
188
  });
188
189
  });
189
190
  l.displayName = s;
190
- let u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = H(u), p = K.forwardRef((e, t) => {
191
- let { scope: n, children: r, ...i } = e, o = K.useRef(null), s = x(t, o), c = a(u, n);
192
- return K.useEffect(() => (c.itemMap.set(o, {
191
+ let u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = x(u), p = G.forwardRef((e, t) => {
192
+ let { scope: n, children: r, ...i } = e, o = G.useRef(null), s = C(t, o), c = a(u, n);
193
+ return G.useEffect(() => (c.itemMap.set(o, {
193
194
  ref: o,
194
195
  ...i
195
- }), () => void c.itemMap.delete(o))), /* @__PURE__ */ (0, q.jsx)(f, {
196
+ }), () => void c.itemMap.delete(o))), /* @__PURE__ */ (0, K.jsx)(f, {
196
197
  [d]: "",
197
198
  ref: s,
198
199
  children: r
@@ -201,7 +202,7 @@ function ye(e) {
201
202
  p.displayName = u;
202
203
  function m(t) {
203
204
  let n = a(e + "CollectionConsumer", t);
204
- return K.useCallback(() => {
205
+ return G.useCallback(() => {
205
206
  let e = n.collectionRef.current;
206
207
  if (!e) return [];
207
208
  let t = Array.from(e.querySelectorAll(`[${d}]`));
@@ -220,49 +221,49 @@ function ye(e) {
220
221
  }
221
222
  //#endregion
222
223
  //#region ../node_modules/@radix-ui/react-direction/dist/index.mjs
223
- var be = K.createContext(void 0);
224
- function xe(e) {
225
- let t = K.useContext(be);
224
+ var xe = G.createContext(void 0);
225
+ function Se(e) {
226
+ let t = G.useContext(xe);
226
227
  return e || t || "ltr";
227
228
  }
228
229
  //#endregion
229
230
  //#region ../node_modules/@radix-ui/react-roving-focus/dist/index.mjs
230
- var Se = "rovingFocusGroup.onEntryFocus", Ce = {
231
+ var Ce = "rovingFocusGroup.onEntryFocus", we = {
231
232
  bubbles: !1,
232
233
  cancelable: !0
233
- }, J = "RovingFocusGroup", [we, Te, Ee] = ye(J), [De, Oe] = T(J, [Ee]), [ke, Ae] = De(J), je = K.forwardRef((e, t) => /* @__PURE__ */ (0, q.jsx)(we.Provider, {
234
+ }, q = "RovingFocusGroup", [Te, Ee, De] = be(q), [Oe, ke] = V(q, [De]), [Ae, je] = Oe(q), Me = G.forwardRef((e, t) => /* @__PURE__ */ (0, K.jsx)(Te.Provider, {
234
235
  scope: e.__scopeRovingFocusGroup,
235
- children: /* @__PURE__ */ (0, q.jsx)(we.Slot, {
236
+ children: /* @__PURE__ */ (0, K.jsx)(Te.Slot, {
236
237
  scope: e.__scopeRovingFocusGroup,
237
- children: /* @__PURE__ */ (0, q.jsx)(Me, {
238
+ children: /* @__PURE__ */ (0, K.jsx)(Ne, {
238
239
  ...e,
239
240
  ref: t
240
241
  })
241
242
  })
242
243
  }));
243
- je.displayName = J;
244
- var Me = K.forwardRef((e, t) => {
245
- let { __scopeRovingFocusGroup: n, orientation: r, loop: i = !1, dir: a, currentTabStopId: o, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: c, onEntryFocus: l, preventScrollOnEntryFocus: u = !1, ...d } = e, f = K.useRef(null), p = x(t, f), m = xe(a), [h, g] = F({
244
+ Me.displayName = q;
245
+ var Ne = G.forwardRef((e, t) => {
246
+ let { __scopeRovingFocusGroup: n, orientation: r, loop: i = !1, dir: a, currentTabStopId: o, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: c, onEntryFocus: l, preventScrollOnEntryFocus: u = !1, ...d } = e, f = G.useRef(null), p = C(t, f), m = Se(a), [h, g] = O({
246
247
  prop: o,
247
248
  defaultProp: s ?? null,
248
249
  onChange: c,
249
- caller: J
250
- }), [_, v] = K.useState(!1), y = U(l), b = Te(n), S = K.useRef(!1), [T, E] = K.useState(0);
251
- return K.useEffect(() => {
250
+ caller: q
251
+ }), [_, v] = G.useState(!1), y = D(l), b = Ee(n), x = G.useRef(!1), [w, T] = G.useState(0);
252
+ return G.useEffect(() => {
252
253
  let e = f.current;
253
- if (e) return e.addEventListener(Se, y), () => e.removeEventListener(Se, y);
254
- }, [y]), /* @__PURE__ */ (0, q.jsx)(ke, {
254
+ if (e) return e.addEventListener(Ce, y), () => e.removeEventListener(Ce, y);
255
+ }, [y]), /* @__PURE__ */ (0, K.jsx)(Ae, {
255
256
  scope: n,
256
257
  orientation: r,
257
258
  dir: m,
258
259
  loop: i,
259
260
  currentTabStopId: h,
260
- onItemFocus: K.useCallback((e) => g(e), [g]),
261
- onItemShiftTab: K.useCallback(() => v(!0), []),
262
- onFocusableItemAdd: K.useCallback(() => E((e) => e + 1), []),
263
- onFocusableItemRemove: K.useCallback(() => E((e) => e - 1), []),
264
- children: /* @__PURE__ */ (0, q.jsx)(w.div, {
265
- tabIndex: _ || T === 0 ? -1 : 0,
261
+ onItemFocus: G.useCallback((e) => g(e), [g]),
262
+ onItemShiftTab: G.useCallback(() => v(!0), []),
263
+ onFocusableItemAdd: G.useCallback(() => T((e) => e + 1), []),
264
+ onFocusableItemRemove: G.useCallback(() => T((e) => e - 1), []),
265
+ children: /* @__PURE__ */ (0, K.jsx)(H.div, {
266
+ tabIndex: _ || w === 0 ? -1 : 0,
266
267
  "data-orientation": r,
267
268
  ...d,
268
269
  ref: p,
@@ -270,56 +271,56 @@ var Me = K.forwardRef((e, t) => {
270
271
  outline: "none",
271
272
  ...e.style
272
273
  },
273
- onMouseDown: C(e.onMouseDown, () => {
274
- S.current = !0;
274
+ onMouseDown: S(e.onMouseDown, () => {
275
+ x.current = !0;
275
276
  }),
276
- onFocus: C(e.onFocus, (e) => {
277
- let t = !S.current;
277
+ onFocus: S(e.onFocus, (e) => {
278
+ let t = !x.current;
278
279
  if (e.target === e.currentTarget && t && !_) {
279
- let t = new CustomEvent(Se, Ce);
280
+ let t = new CustomEvent(Ce, we);
280
281
  if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
281
282
  let e = b().filter((e) => e.focusable);
282
- Re([
283
+ ze([
283
284
  e.find((e) => e.active),
284
285
  e.find((e) => e.id === h),
285
286
  ...e
286
287
  ].filter(Boolean).map((e) => e.ref.current), u);
287
288
  }
288
289
  }
289
- S.current = !1;
290
+ x.current = !1;
290
291
  }),
291
- onBlur: C(e.onBlur, () => v(!1))
292
+ onBlur: S(e.onBlur, () => v(!1))
292
293
  })
293
294
  });
294
- }), Ne = "RovingFocusGroupItem", Pe = K.forwardRef((e, t) => {
295
- let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = E(), l = a || c, u = Ae(Ne, n), d = u.currentTabStopId === l, f = Te(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u;
296
- return K.useEffect(() => {
295
+ }), Pe = "RovingFocusGroupItem", Fe = G.forwardRef((e, t) => {
296
+ let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = M(), l = a || c, u = je(Pe, n), d = u.currentTabStopId === l, f = Ee(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u;
297
+ return G.useEffect(() => {
297
298
  if (r) return p(), () => m();
298
299
  }, [
299
300
  r,
300
301
  p,
301
302
  m
302
- ]), /* @__PURE__ */ (0, q.jsx)(we.ItemSlot, {
303
+ ]), /* @__PURE__ */ (0, K.jsx)(Te.ItemSlot, {
303
304
  scope: n,
304
305
  id: l,
305
306
  focusable: r,
306
307
  active: i,
307
- children: /* @__PURE__ */ (0, q.jsx)(w.span, {
308
+ children: /* @__PURE__ */ (0, K.jsx)(H.span, {
308
309
  tabIndex: d ? 0 : -1,
309
310
  "data-orientation": u.orientation,
310
311
  ...s,
311
312
  ref: t,
312
- onMouseDown: C(e.onMouseDown, (e) => {
313
+ onMouseDown: S(e.onMouseDown, (e) => {
313
314
  r ? u.onItemFocus(l) : e.preventDefault();
314
315
  }),
315
- onFocus: C(e.onFocus, () => u.onItemFocus(l)),
316
- onKeyDown: C(e.onKeyDown, (e) => {
316
+ onFocus: S(e.onFocus, () => u.onItemFocus(l)),
317
+ onKeyDown: S(e.onKeyDown, (e) => {
317
318
  if (e.key === "Tab" && e.shiftKey) {
318
319
  u.onItemShiftTab();
319
320
  return;
320
321
  }
321
322
  if (e.target !== e.currentTarget) return;
322
- let t = Le(e, u.orientation, u.dir);
323
+ let t = Re(e, u.orientation, u.dir);
323
324
  if (t !== void 0) {
324
325
  if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
325
326
  e.preventDefault();
@@ -328,9 +329,9 @@ var Me = K.forwardRef((e, t) => {
328
329
  else if (t === "prev" || t === "next") {
329
330
  t === "prev" && n.reverse();
330
331
  let r = n.indexOf(e.currentTarget);
331
- n = u.loop ? ze(n, r + 1) : n.slice(r + 1);
332
+ n = u.loop ? Be(n, r + 1) : n.slice(r + 1);
332
333
  }
333
- setTimeout(() => Re(n));
334
+ setTimeout(() => ze(n));
334
335
  }
335
336
  }),
336
337
  children: typeof o == "function" ? o({
@@ -340,8 +341,8 @@ var Me = K.forwardRef((e, t) => {
340
341
  })
341
342
  });
342
343
  });
343
- Pe.displayName = Ne;
344
- var Fe = {
344
+ Fe.displayName = Pe;
345
+ var Ie = {
345
346
  ArrowLeft: "prev",
346
347
  ArrowUp: "prev",
347
348
  ArrowRight: "next",
@@ -351,41 +352,41 @@ var Fe = {
351
352
  PageDown: "last",
352
353
  End: "last"
353
354
  };
354
- function Ie(e, t) {
355
+ function Le(e, t) {
355
356
  return t === "rtl" ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
356
357
  }
357
- function Le(e, t, n) {
358
- let r = Ie(e.key, n);
359
- if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return Fe[r];
358
+ function Re(e, t, n) {
359
+ let r = Le(e.key, n);
360
+ if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return Ie[r];
360
361
  }
361
- function Re(e, t = !1) {
362
+ function ze(e, t = !1) {
362
363
  let n = document.activeElement;
363
364
  for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
364
365
  }
365
- function ze(e, t) {
366
+ function Be(e, t) {
366
367
  return e.map((n, r) => e[(t + r) % e.length]);
367
368
  }
368
- var Be = je, Ve = Pe, He = ["Enter", " "], Ue = [
369
+ var Ve = Me, He = Fe, Ue = ["Enter", " "], We = [
369
370
  "ArrowDown",
370
371
  "PageUp",
371
372
  "Home"
372
- ], We = [
373
+ ], Ge = [
373
374
  "ArrowUp",
374
375
  "PageDown",
375
376
  "End"
376
- ], Ge = [...Ue, ...We], Ke = {
377
- ltr: [...He, "ArrowRight"],
378
- rtl: [...He, "ArrowLeft"]
379
- }, qe = {
377
+ ], Ke = [...We, ...Ge], qe = {
378
+ ltr: [...Ue, "ArrowRight"],
379
+ rtl: [...Ue, "ArrowLeft"]
380
+ }, Je = {
380
381
  ltr: ["ArrowLeft"],
381
382
  rtl: ["ArrowRight"]
382
- }, Y = "Menu", [Je, Ye, Xe] = ye(Y), [X, Ze] = T(Y, [
383
+ }, J = "Menu", [Y, Ye, Xe] = be(J), [X, Ze] = V(J, [
383
384
  Xe,
384
- M,
385
- Oe
386
- ]), Qe = M(), $e = Oe(), [et, Z] = X(Y), [tt, nt] = X(Y), rt = (e) => {
387
- let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = Qe(t), [c, l] = K.useState(null), u = K.useRef(!1), d = U(a), f = xe(i);
388
- return K.useEffect(() => {
385
+ N,
386
+ ke
387
+ ]), Qe = N(), $e = ke(), [et, Z] = X(J), [tt, nt] = X(J), rt = (e) => {
388
+ let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = Qe(t), [c, l] = G.useState(null), u = G.useRef(!1), d = D(a), f = Se(i);
389
+ return G.useEffect(() => {
389
390
  let e = () => {
390
391
  u.current = !0, document.addEventListener("pointerdown", t, {
391
392
  capture: !0,
@@ -398,17 +399,17 @@ var Be = je, Ve = Pe, He = ["Enter", " "], Ue = [
398
399
  return document.addEventListener("keydown", e, { capture: !0 }), () => {
399
400
  document.removeEventListener("keydown", e, { capture: !0 }), document.removeEventListener("pointerdown", t, { capture: !0 }), document.removeEventListener("pointermove", t, { capture: !0 });
400
401
  };
401
- }, []), /* @__PURE__ */ (0, q.jsx)(N, {
402
+ }, []), /* @__PURE__ */ (0, K.jsx)(F, {
402
403
  ...s,
403
- children: /* @__PURE__ */ (0, q.jsx)(et, {
404
+ children: /* @__PURE__ */ (0, K.jsx)(et, {
404
405
  scope: t,
405
406
  open: n,
406
407
  onOpenChange: d,
407
408
  content: c,
408
409
  onContentChange: l,
409
- children: /* @__PURE__ */ (0, q.jsx)(tt, {
410
+ children: /* @__PURE__ */ (0, K.jsx)(tt, {
410
411
  scope: t,
411
- onClose: K.useCallback(() => d(!1), [d]),
412
+ onClose: G.useCallback(() => d(!1), [d]),
412
413
  isUsingKeyboardRef: u,
413
414
  dir: f,
414
415
  modal: o,
@@ -417,10 +418,10 @@ var Be = je, Ve = Pe, He = ["Enter", " "], Ue = [
417
418
  })
418
419
  });
419
420
  };
420
- rt.displayName = Y;
421
- var it = "MenuAnchor", at = K.forwardRef((e, t) => {
421
+ rt.displayName = J;
422
+ var it = "MenuAnchor", at = G.forwardRef((e, t) => {
422
423
  let { __scopeMenu: n, ...r } = e, i = Qe(n);
423
- return /* @__PURE__ */ (0, q.jsx)(j, {
424
+ return /* @__PURE__ */ (0, K.jsx)(k, {
424
425
  ...i,
425
426
  ...r,
426
427
  ref: t
@@ -429,12 +430,12 @@ var it = "MenuAnchor", at = K.forwardRef((e, t) => {
429
430
  at.displayName = it;
430
431
  var ot = "MenuPortal", [st, ct] = X(ot, { forceMount: void 0 }), lt = (e) => {
431
432
  let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = Z(ot, t);
432
- return /* @__PURE__ */ (0, q.jsx)(st, {
433
+ return /* @__PURE__ */ (0, K.jsx)(st, {
433
434
  scope: t,
434
435
  forceMount: n,
435
- children: /* @__PURE__ */ (0, q.jsx)(B, {
436
+ children: /* @__PURE__ */ (0, K.jsx)(P, {
436
437
  present: n || a.open,
437
- children: /* @__PURE__ */ (0, q.jsx)(A, {
438
+ children: /* @__PURE__ */ (0, K.jsx)(z, {
438
439
  asChild: !0,
439
440
  container: i,
440
441
  children: r
@@ -443,41 +444,41 @@ var ot = "MenuPortal", [st, ct] = X(ot, { forceMount: void 0 }), lt = (e) => {
443
444
  });
444
445
  };
445
446
  lt.displayName = ot;
446
- var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
447
+ var Q = "MenuContent", [ut, dt] = X(Q), ft = G.forwardRef((e, t) => {
447
448
  let n = ct(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = nt(Q, e.__scopeMenu);
448
- return /* @__PURE__ */ (0, q.jsx)(Je.Provider, {
449
+ return /* @__PURE__ */ (0, K.jsx)(Y.Provider, {
449
450
  scope: e.__scopeMenu,
450
- children: /* @__PURE__ */ (0, q.jsx)(B, {
451
+ children: /* @__PURE__ */ (0, K.jsx)(P, {
451
452
  present: r || a.open,
452
- children: /* @__PURE__ */ (0, q.jsx)(Je.Slot, {
453
+ children: /* @__PURE__ */ (0, K.jsx)(Y.Slot, {
453
454
  scope: e.__scopeMenu,
454
- children: o.modal ? /* @__PURE__ */ (0, q.jsx)(pt, {
455
+ children: o.modal ? /* @__PURE__ */ (0, K.jsx)(pt, {
455
456
  ...i,
456
457
  ref: t
457
- }) : /* @__PURE__ */ (0, q.jsx)(mt, {
458
+ }) : /* @__PURE__ */ (0, K.jsx)(mt, {
458
459
  ...i,
459
460
  ref: t
460
461
  })
461
462
  })
462
463
  })
463
464
  });
464
- }), pt = K.forwardRef((e, t) => {
465
- let n = Z(Q, e.__scopeMenu), r = K.useRef(null), i = x(t, r);
466
- return K.useEffect(() => {
465
+ }), pt = G.forwardRef((e, t) => {
466
+ let n = Z(Q, e.__scopeMenu), r = G.useRef(null), i = C(t, r);
467
+ return G.useEffect(() => {
467
468
  let e = r.current;
468
- if (e) return O(e);
469
- }, []), /* @__PURE__ */ (0, q.jsx)(gt, {
469
+ if (e) return R(e);
470
+ }, []), /* @__PURE__ */ (0, K.jsx)(gt, {
470
471
  ...e,
471
472
  ref: i,
472
473
  trapFocus: n.open,
473
474
  disableOutsidePointerEvents: n.open,
474
475
  disableOutsideScroll: !0,
475
- onFocusOutside: C(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
476
+ onFocusOutside: S(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
476
477
  onDismiss: () => n.onOpenChange(!1)
477
478
  });
478
- }), mt = K.forwardRef((e, t) => {
479
+ }), mt = G.forwardRef((e, t) => {
479
480
  let n = Z(Q, e.__scopeMenu);
480
- return /* @__PURE__ */ (0, q.jsx)(gt, {
481
+ return /* @__PURE__ */ (0, K.jsx)(gt, {
481
482
  ...e,
482
483
  ref: t,
483
484
  trapFocus: !1,
@@ -485,44 +486,44 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
485
486
  disableOutsideScroll: !1,
486
487
  onDismiss: () => n.onOpenChange(!1)
487
488
  });
488
- }), ht = H("MenuContent.ScrollLock"), gt = K.forwardRef((e, t) => {
489
- let { __scopeMenu: n, loop: r = !1, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: d, onInteractOutside: f, onDismiss: p, disableOutsideScroll: m, ...h } = e, g = Z(Q, n), _ = nt(Q, n), v = Qe(n), y = $e(n), b = Ye(n), [S, w] = K.useState(null), T = K.useRef(null), E = x(t, T, g.onContentChange), O = K.useRef(0), k = K.useRef(""), A = K.useRef(0), j = K.useRef(null), M = K.useRef("right"), N = K.useRef(0), F = m ? P : K.Fragment, L = m ? {
489
+ }), ht = x("MenuContent.ScrollLock"), gt = G.forwardRef((e, t) => {
490
+ let { __scopeMenu: n, loop: r = !1, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: d, onInteractOutside: f, onDismiss: p, disableOutsideScroll: m, ...h } = e, g = Z(Q, n), _ = nt(Q, n), v = Qe(n), y = $e(n), b = Ye(n), [x, w] = G.useState(null), T = G.useRef(null), D = C(t, T, g.onContentChange), O = G.useRef(0), k = G.useRef(""), A = G.useRef(0), j = G.useRef(null), M = G.useRef("right"), N = G.useRef(0), P = m ? L : G.Fragment, F = m ? {
490
491
  as: ht,
491
492
  allowPinchZoom: !0
492
- } : void 0, R = (e) => {
493
+ } : void 0, ee = (e) => {
493
494
  let t = k.current + e, n = b().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = en(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
494
495
  (function e(t) {
495
496
  k.current = t, window.clearTimeout(O.current), t !== "" && (O.current = window.setTimeout(() => e(""), 1e3));
496
497
  })(t), o && setTimeout(() => o.focus());
497
498
  };
498
- K.useEffect(() => () => window.clearTimeout(O.current), []), ee();
499
- let z = K.useCallback((e) => M.current === j.current?.side && nn(e, j.current?.area), []);
500
- return /* @__PURE__ */ (0, q.jsx)(ut, {
499
+ G.useEffect(() => () => window.clearTimeout(O.current), []), B();
500
+ let R = G.useCallback((e) => M.current === j.current?.side && nn(e, j.current?.area), []);
501
+ return /* @__PURE__ */ (0, K.jsx)(ut, {
501
502
  scope: n,
502
503
  searchRef: k,
503
- onItemEnter: K.useCallback((e) => {
504
- z(e) && e.preventDefault();
505
- }, [z]),
506
- onItemLeave: K.useCallback((e) => {
507
- z(e) || (T.current?.focus(), w(null));
508
- }, [z]),
509
- onTriggerLeave: K.useCallback((e) => {
510
- z(e) && e.preventDefault();
511
- }, [z]),
504
+ onItemEnter: G.useCallback((e) => {
505
+ R(e) && e.preventDefault();
506
+ }, [R]),
507
+ onItemLeave: G.useCallback((e) => {
508
+ R(e) || (T.current?.focus(), w(null));
509
+ }, [R]),
510
+ onTriggerLeave: G.useCallback((e) => {
511
+ R(e) && e.preventDefault();
512
+ }, [R]),
512
513
  pointerGraceTimerRef: A,
513
- onPointerGraceIntentChange: K.useCallback((e) => {
514
+ onPointerGraceIntentChange: G.useCallback((e) => {
514
515
  j.current = e;
515
516
  }, []),
516
- children: /* @__PURE__ */ (0, q.jsx)(F, {
517
- ...L,
518
- children: /* @__PURE__ */ (0, q.jsx)(V, {
517
+ children: /* @__PURE__ */ (0, K.jsx)(P, {
518
+ ...F,
519
+ children: /* @__PURE__ */ (0, K.jsx)(E, {
519
520
  asChild: !0,
520
521
  trapped: i,
521
- onMountAutoFocus: C(a, (e) => {
522
+ onMountAutoFocus: S(a, (e) => {
522
523
  e.preventDefault(), T.current?.focus({ preventScroll: !0 });
523
524
  }),
524
525
  onUnmountAutoFocus: o,
525
- children: /* @__PURE__ */ (0, q.jsx)(D, {
526
+ children: /* @__PURE__ */ (0, K.jsx)(te, {
526
527
  asChild: !0,
527
528
  disableOutsidePointerEvents: s,
528
529
  onEscapeKeyDown: l,
@@ -530,19 +531,19 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
530
531
  onFocusOutside: d,
531
532
  onInteractOutside: f,
532
533
  onDismiss: p,
533
- children: /* @__PURE__ */ (0, q.jsx)(Be, {
534
+ children: /* @__PURE__ */ (0, K.jsx)(Ve, {
534
535
  asChild: !0,
535
536
  ...y,
536
537
  dir: _.dir,
537
538
  orientation: "vertical",
538
539
  loop: r,
539
- currentTabStopId: S,
540
+ currentTabStopId: x,
540
541
  onCurrentTabStopIdChange: w,
541
- onEntryFocus: C(c, (e) => {
542
+ onEntryFocus: S(c, (e) => {
542
543
  _.isUsingKeyboardRef.current || e.preventDefault();
543
544
  }),
544
545
  preventScrollOnEntryFocus: !0,
545
- children: /* @__PURE__ */ (0, q.jsx)(I, {
546
+ children: /* @__PURE__ */ (0, K.jsx)(I, {
546
547
  role: "menu",
547
548
  "aria-orientation": "vertical",
548
549
  "data-state": Yt(g.open),
@@ -550,24 +551,24 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
550
551
  dir: _.dir,
551
552
  ...v,
552
553
  ...h,
553
- ref: E,
554
+ ref: D,
554
555
  style: {
555
556
  outline: "none",
556
557
  ...h.style
557
558
  },
558
- onKeyDown: C(h.onKeyDown, (e) => {
559
+ onKeyDown: S(h.onKeyDown, (e) => {
559
560
  let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
560
- t && (e.key === "Tab" && e.preventDefault(), !n && r && R(e.key));
561
+ t && (e.key === "Tab" && e.preventDefault(), !n && r && ee(e.key));
561
562
  let i = T.current;
562
- if (e.target !== i || !Ge.includes(e.key)) return;
563
+ if (e.target !== i || !Ke.includes(e.key)) return;
563
564
  e.preventDefault();
564
565
  let a = b().filter((e) => !e.disabled).map((e) => e.ref.current);
565
- We.includes(e.key) && a.reverse(), Qt(a);
566
+ Ge.includes(e.key) && a.reverse(), Qt(a);
566
567
  }),
567
- onBlur: C(e.onBlur, (e) => {
568
+ onBlur: S(e.onBlur, (e) => {
568
569
  e.currentTarget.contains(e.target) || (window.clearTimeout(O.current), k.current = "");
569
570
  }),
570
- onPointerMove: C(e.onPointerMove, rn((e) => {
571
+ onPointerMove: S(e.onPointerMove, rn((e) => {
571
572
  let t = e.target, n = N.current !== e.clientX;
572
573
  e.currentTarget.contains(t) && n && (M.current = e.clientX > N.current ? "right" : "left", N.current = e.clientX);
573
574
  }))
@@ -579,93 +580,93 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
579
580
  });
580
581
  });
581
582
  ft.displayName = Q;
582
- var _t = "MenuGroup", vt = K.forwardRef((e, t) => {
583
+ var _t = "MenuGroup", vt = G.forwardRef((e, t) => {
583
584
  let { __scopeMenu: n, ...r } = e;
584
- return /* @__PURE__ */ (0, q.jsx)(w.div, {
585
+ return /* @__PURE__ */ (0, K.jsx)(H.div, {
585
586
  role: "group",
586
587
  ...r,
587
588
  ref: t
588
589
  });
589
590
  });
590
591
  vt.displayName = _t;
591
- var yt = "MenuLabel", bt = K.forwardRef((e, t) => {
592
+ var yt = "MenuLabel", bt = G.forwardRef((e, t) => {
592
593
  let { __scopeMenu: n, ...r } = e;
593
- return /* @__PURE__ */ (0, q.jsx)(w.div, {
594
+ return /* @__PURE__ */ (0, K.jsx)(H.div, {
594
595
  ...r,
595
596
  ref: t
596
597
  });
597
598
  });
598
599
  bt.displayName = yt;
599
- var xt = "MenuItem", St = "menu.itemSelect", Ct = K.forwardRef((e, t) => {
600
- let { disabled: n = !1, onSelect: r, ...i } = e, a = K.useRef(null), o = nt(xt, e.__scopeMenu), s = dt(xt, e.__scopeMenu), c = x(t, a), l = K.useRef(!1), u = () => {
600
+ var xt = "MenuItem", St = "menu.itemSelect", Ct = G.forwardRef((e, t) => {
601
+ let { disabled: n = !1, onSelect: r, ...i } = e, a = G.useRef(null), o = nt(xt, e.__scopeMenu), s = dt(xt, e.__scopeMenu), c = C(t, a), l = G.useRef(!1), u = () => {
601
602
  let e = a.current;
602
603
  if (!n && e) {
603
604
  let t = new CustomEvent(St, {
604
605
  bubbles: !0,
605
606
  cancelable: !0
606
607
  });
607
- e.addEventListener(St, (e) => r?.(e), { once: !0 }), b(e, t), t.defaultPrevented ? l.current = !1 : o.onClose();
608
+ e.addEventListener(St, (e) => r?.(e), { once: !0 }), w(e, t), t.defaultPrevented ? l.current = !1 : o.onClose();
608
609
  }
609
610
  };
610
- return /* @__PURE__ */ (0, q.jsx)(wt, {
611
+ return /* @__PURE__ */ (0, K.jsx)(wt, {
611
612
  ...i,
612
613
  ref: c,
613
614
  disabled: n,
614
- onClick: C(e.onClick, u),
615
+ onClick: S(e.onClick, u),
615
616
  onPointerDown: (t) => {
616
617
  e.onPointerDown?.(t), l.current = !0;
617
618
  },
618
- onPointerUp: C(e.onPointerUp, (e) => {
619
+ onPointerUp: S(e.onPointerUp, (e) => {
619
620
  l.current || e.currentTarget?.click();
620
621
  }),
621
- onKeyDown: C(e.onKeyDown, (e) => {
622
+ onKeyDown: S(e.onKeyDown, (e) => {
622
623
  let t = s.searchRef.current !== "";
623
- n || t && e.key === " " || He.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
624
+ n || t && e.key === " " || Ue.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
624
625
  })
625
626
  });
626
627
  });
627
628
  Ct.displayName = xt;
628
- var wt = K.forwardRef((e, t) => {
629
- let { __scopeMenu: n, disabled: r = !1, textValue: i, ...a } = e, o = dt(xt, n), s = $e(n), c = K.useRef(null), l = x(t, c), [u, d] = K.useState(!1), [f, p] = K.useState("");
630
- return K.useEffect(() => {
629
+ var wt = G.forwardRef((e, t) => {
630
+ let { __scopeMenu: n, disabled: r = !1, textValue: i, ...a } = e, o = dt(xt, n), s = $e(n), c = G.useRef(null), l = C(t, c), [u, d] = G.useState(!1), [f, p] = G.useState("");
631
+ return G.useEffect(() => {
631
632
  let e = c.current;
632
633
  e && p((e.textContent ?? "").trim());
633
- }, [a.children]), /* @__PURE__ */ (0, q.jsx)(Je.ItemSlot, {
634
+ }, [a.children]), /* @__PURE__ */ (0, K.jsx)(Y.ItemSlot, {
634
635
  scope: n,
635
636
  disabled: r,
636
637
  textValue: i ?? f,
637
- children: /* @__PURE__ */ (0, q.jsx)(Ve, {
638
+ children: /* @__PURE__ */ (0, K.jsx)(He, {
638
639
  asChild: !0,
639
640
  ...s,
640
641
  focusable: !r,
641
- children: /* @__PURE__ */ (0, q.jsx)(w.div, {
642
+ children: /* @__PURE__ */ (0, K.jsx)(H.div, {
642
643
  role: "menuitem",
643
644
  "data-highlighted": u ? "" : void 0,
644
645
  "aria-disabled": r || void 0,
645
646
  "data-disabled": r ? "" : void 0,
646
647
  ...a,
647
648
  ref: l,
648
- onPointerMove: C(e.onPointerMove, rn((e) => {
649
+ onPointerMove: S(e.onPointerMove, rn((e) => {
649
650
  r ? o.onItemLeave(e) : (o.onItemEnter(e), e.defaultPrevented || e.currentTarget.focus({ preventScroll: !0 }));
650
651
  })),
651
- onPointerLeave: C(e.onPointerLeave, rn((e) => o.onItemLeave(e))),
652
- onFocus: C(e.onFocus, () => d(!0)),
653
- onBlur: C(e.onBlur, () => d(!1))
652
+ onPointerLeave: S(e.onPointerLeave, rn((e) => o.onItemLeave(e))),
653
+ onFocus: S(e.onFocus, () => d(!0)),
654
+ onBlur: S(e.onBlur, () => d(!1))
654
655
  })
655
656
  })
656
657
  });
657
- }), Tt = "MenuCheckboxItem", Et = K.forwardRef((e, t) => {
658
+ }), Tt = "MenuCheckboxItem", Et = G.forwardRef((e, t) => {
658
659
  let { checked: n = !1, onCheckedChange: r, ...i } = e;
659
- return /* @__PURE__ */ (0, q.jsx)(Pt, {
660
+ return /* @__PURE__ */ (0, K.jsx)(Pt, {
660
661
  scope: e.__scopeMenu,
661
662
  checked: n,
662
- children: /* @__PURE__ */ (0, q.jsx)(Ct, {
663
+ children: /* @__PURE__ */ (0, K.jsx)(Ct, {
663
664
  role: "menuitemcheckbox",
664
665
  "aria-checked": Xt(n) ? "mixed" : n,
665
666
  ...i,
666
667
  ref: t,
667
668
  "data-state": Zt(n),
668
- onSelect: C(i.onSelect, () => r?.(Xt(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
669
+ onSelect: S(i.onSelect, () => r?.(Xt(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
669
670
  })
670
671
  });
671
672
  });
@@ -673,40 +674,40 @@ Et.displayName = Tt;
673
674
  var Dt = "MenuRadioGroup", [Ot, kt] = X(Dt, {
674
675
  value: void 0,
675
676
  onValueChange: () => {}
676
- }), At = K.forwardRef((e, t) => {
677
- let { value: n, onValueChange: r, ...i } = e, a = U(r);
678
- return /* @__PURE__ */ (0, q.jsx)(Ot, {
677
+ }), At = G.forwardRef((e, t) => {
678
+ let { value: n, onValueChange: r, ...i } = e, a = D(r);
679
+ return /* @__PURE__ */ (0, K.jsx)(Ot, {
679
680
  scope: e.__scopeMenu,
680
681
  value: n,
681
682
  onValueChange: a,
682
- children: /* @__PURE__ */ (0, q.jsx)(vt, {
683
+ children: /* @__PURE__ */ (0, K.jsx)(vt, {
683
684
  ...i,
684
685
  ref: t
685
686
  })
686
687
  });
687
688
  });
688
689
  At.displayName = Dt;
689
- var jt = "MenuRadioItem", Mt = K.forwardRef((e, t) => {
690
+ var jt = "MenuRadioItem", Mt = G.forwardRef((e, t) => {
690
691
  let { value: n, ...r } = e, i = kt(jt, e.__scopeMenu), a = n === i.value;
691
- return /* @__PURE__ */ (0, q.jsx)(Pt, {
692
+ return /* @__PURE__ */ (0, K.jsx)(Pt, {
692
693
  scope: e.__scopeMenu,
693
694
  checked: a,
694
- children: /* @__PURE__ */ (0, q.jsx)(Ct, {
695
+ children: /* @__PURE__ */ (0, K.jsx)(Ct, {
695
696
  role: "menuitemradio",
696
697
  "aria-checked": a,
697
698
  ...r,
698
699
  ref: t,
699
700
  "data-state": Zt(a),
700
- onSelect: C(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
701
+ onSelect: S(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
701
702
  })
702
703
  });
703
704
  });
704
705
  Mt.displayName = jt;
705
- var Nt = "MenuItemIndicator", [Pt, Ft] = X(Nt, { checked: !1 }), It = K.forwardRef((e, t) => {
706
+ var Nt = "MenuItemIndicator", [Pt, Ft] = X(Nt, { checked: !1 }), It = G.forwardRef((e, t) => {
706
707
  let { __scopeMenu: n, forceMount: r, ...i } = e, a = Ft(Nt, n);
707
- return /* @__PURE__ */ (0, q.jsx)(B, {
708
+ return /* @__PURE__ */ (0, K.jsx)(P, {
708
709
  present: r || Xt(a.checked) || a.checked === !0,
709
- children: /* @__PURE__ */ (0, q.jsx)(w.span, {
710
+ children: /* @__PURE__ */ (0, K.jsx)(H.span, {
710
711
  ...i,
711
712
  ref: t,
712
713
  "data-state": Zt(a.checked)
@@ -714,9 +715,9 @@ var Nt = "MenuItemIndicator", [Pt, Ft] = X(Nt, { checked: !1 }), It = K.forwardR
714
715
  });
715
716
  });
716
717
  It.displayName = Nt;
717
- var Lt = "MenuSeparator", Rt = K.forwardRef((e, t) => {
718
+ var Lt = "MenuSeparator", Rt = G.forwardRef((e, t) => {
718
719
  let { __scopeMenu: n, ...r } = e;
719
- return /* @__PURE__ */ (0, q.jsx)(w.div, {
720
+ return /* @__PURE__ */ (0, K.jsx)(H.div, {
720
721
  role: "separator",
721
722
  "aria-orientation": "horizontal",
722
723
  ...r,
@@ -724,9 +725,9 @@ var Lt = "MenuSeparator", Rt = K.forwardRef((e, t) => {
724
725
  });
725
726
  });
726
727
  Rt.displayName = Lt;
727
- var zt = "MenuArrow", Bt = K.forwardRef((e, t) => {
728
+ var zt = "MenuArrow", Bt = G.forwardRef((e, t) => {
728
729
  let { __scopeMenu: n, ...r } = e, i = Qe(n);
729
- return /* @__PURE__ */ (0, q.jsx)(L, {
730
+ return /* @__PURE__ */ (0, K.jsx)(j, {
730
731
  ...i,
731
732
  ...r,
732
733
  ref: t
@@ -734,19 +735,19 @@ var zt = "MenuArrow", Bt = K.forwardRef((e, t) => {
734
735
  });
735
736
  Bt.displayName = zt;
736
737
  var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
737
- let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = Z(Vt, t), o = Qe(t), [s, c] = K.useState(null), [l, u] = K.useState(null), d = U(i);
738
- return K.useEffect(() => (a.open === !1 && d(!1), () => d(!1)), [a.open, d]), /* @__PURE__ */ (0, q.jsx)(N, {
738
+ let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = Z(Vt, t), o = Qe(t), [s, c] = G.useState(null), [l, u] = G.useState(null), d = D(i);
739
+ return G.useEffect(() => (a.open === !1 && d(!1), () => d(!1)), [a.open, d]), /* @__PURE__ */ (0, K.jsx)(F, {
739
740
  ...o,
740
- children: /* @__PURE__ */ (0, q.jsx)(et, {
741
+ children: /* @__PURE__ */ (0, K.jsx)(et, {
741
742
  scope: t,
742
743
  open: r,
743
744
  onOpenChange: d,
744
745
  content: l,
745
746
  onContentChange: u,
746
- children: /* @__PURE__ */ (0, q.jsx)(Ht, {
747
+ children: /* @__PURE__ */ (0, K.jsx)(Ht, {
747
748
  scope: t,
748
- contentId: E(),
749
- triggerId: E(),
749
+ contentId: M(),
750
+ triggerId: M(),
750
751
  trigger: s,
751
752
  onTriggerChange: c,
752
753
  children: n
@@ -755,35 +756,35 @@ var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
755
756
  });
756
757
  };
757
758
  Wt.displayName = Vt;
758
- var Gt = "MenuSubTrigger", Kt = K.forwardRef((e, t) => {
759
- let n = Z(Gt, e.__scopeMenu), r = nt(Gt, e.__scopeMenu), i = Ut(Gt, e.__scopeMenu), a = dt(Gt, e.__scopeMenu), o = K.useRef(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: c } = a, l = { __scopeMenu: e.__scopeMenu }, u = K.useCallback(() => {
759
+ var Gt = "MenuSubTrigger", Kt = G.forwardRef((e, t) => {
760
+ let n = Z(Gt, e.__scopeMenu), r = nt(Gt, e.__scopeMenu), i = Ut(Gt, e.__scopeMenu), a = dt(Gt, e.__scopeMenu), o = G.useRef(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: c } = a, l = { __scopeMenu: e.__scopeMenu }, u = G.useCallback(() => {
760
761
  o.current && window.clearTimeout(o.current), o.current = null;
761
762
  }, []);
762
- return K.useEffect(() => u, [u]), K.useEffect(() => {
763
+ return G.useEffect(() => u, [u]), G.useEffect(() => {
763
764
  let e = s.current;
764
765
  return () => {
765
766
  window.clearTimeout(e), c(null);
766
767
  };
767
- }, [s, c]), /* @__PURE__ */ (0, q.jsx)(at, {
768
+ }, [s, c]), /* @__PURE__ */ (0, K.jsx)(at, {
768
769
  asChild: !0,
769
770
  ...l,
770
- children: /* @__PURE__ */ (0, q.jsx)(wt, {
771
+ children: /* @__PURE__ */ (0, K.jsx)(wt, {
771
772
  id: i.triggerId,
772
773
  "aria-haspopup": "menu",
773
774
  "aria-expanded": n.open,
774
775
  "aria-controls": i.contentId,
775
776
  "data-state": Yt(n.open),
776
777
  ...e,
777
- ref: S(t, i.onTriggerChange),
778
+ ref: T(t, i.onTriggerChange),
778
779
  onClick: (t) => {
779
780
  e.onClick?.(t), !(e.disabled || t.defaultPrevented) && (t.currentTarget.focus(), n.open || n.onOpenChange(!0));
780
781
  },
781
- onPointerMove: C(e.onPointerMove, rn((t) => {
782
+ onPointerMove: S(e.onPointerMove, rn((t) => {
782
783
  a.onItemEnter(t), !t.defaultPrevented && !e.disabled && !n.open && !o.current && (a.onPointerGraceIntentChange(null), o.current = window.setTimeout(() => {
783
784
  n.onOpenChange(!0), u();
784
785
  }, 100));
785
786
  })),
786
- onPointerLeave: C(e.onPointerLeave, rn((e) => {
787
+ onPointerLeave: S(e.onPointerLeave, rn((e) => {
787
788
  u();
788
789
  let t = n.content?.getBoundingClientRect();
789
790
  if (t) {
@@ -818,23 +819,23 @@ var Gt = "MenuSubTrigger", Kt = K.forwardRef((e, t) => {
818
819
  a.onPointerGraceIntentChange(null);
819
820
  }
820
821
  })),
821
- onKeyDown: C(e.onKeyDown, (t) => {
822
+ onKeyDown: S(e.onKeyDown, (t) => {
822
823
  let i = a.searchRef.current !== "";
823
- e.disabled || i && t.key === " " || Ke[r.dir].includes(t.key) && (n.onOpenChange(!0), n.content?.focus(), t.preventDefault());
824
+ e.disabled || i && t.key === " " || qe[r.dir].includes(t.key) && (n.onOpenChange(!0), n.content?.focus(), t.preventDefault());
824
825
  })
825
826
  })
826
827
  });
827
828
  });
828
829
  Kt.displayName = Gt;
829
- var qt = "MenuSubContent", Jt = K.forwardRef((e, t) => {
830
- let n = ct(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = nt(Q, e.__scopeMenu), s = Ut(qt, e.__scopeMenu), c = K.useRef(null), l = x(t, c);
831
- return /* @__PURE__ */ (0, q.jsx)(Je.Provider, {
830
+ var qt = "MenuSubContent", Jt = G.forwardRef((e, t) => {
831
+ let n = ct(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = nt(Q, e.__scopeMenu), s = Ut(qt, e.__scopeMenu), c = G.useRef(null), l = C(t, c);
832
+ return /* @__PURE__ */ (0, K.jsx)(Y.Provider, {
832
833
  scope: e.__scopeMenu,
833
- children: /* @__PURE__ */ (0, q.jsx)(B, {
834
+ children: /* @__PURE__ */ (0, K.jsx)(P, {
834
835
  present: r || a.open,
835
- children: /* @__PURE__ */ (0, q.jsx)(Je.Slot, {
836
+ children: /* @__PURE__ */ (0, K.jsx)(Y.Slot, {
836
837
  scope: e.__scopeMenu,
837
- children: /* @__PURE__ */ (0, q.jsx)(gt, {
838
+ children: /* @__PURE__ */ (0, K.jsx)(gt, {
838
839
  id: s.contentId,
839
840
  "aria-labelledby": s.triggerId,
840
841
  ...i,
@@ -848,14 +849,14 @@ var qt = "MenuSubContent", Jt = K.forwardRef((e, t) => {
848
849
  o.isUsingKeyboardRef.current && c.current?.focus(), e.preventDefault();
849
850
  },
850
851
  onCloseAutoFocus: (e) => e.preventDefault(),
851
- onFocusOutside: C(e.onFocusOutside, (e) => {
852
+ onFocusOutside: S(e.onFocusOutside, (e) => {
852
853
  e.target !== s.trigger && a.onOpenChange(!1);
853
854
  }),
854
- onEscapeKeyDown: C(e.onEscapeKeyDown, (e) => {
855
+ onEscapeKeyDown: S(e.onEscapeKeyDown, (e) => {
855
856
  o.onClose(), e.preventDefault();
856
857
  }),
857
- onKeyDown: C(e.onKeyDown, (e) => {
858
- let t = e.currentTarget.contains(e.target), n = qe[o.dir].includes(e.key);
858
+ onKeyDown: S(e.onKeyDown, (e) => {
859
+ let t = e.currentTarget.contains(e.target), n = Je[o.dir].includes(e.key);
859
860
  t && n && (a.onOpenChange(!1), s.trigger?.focus(), e.preventDefault());
860
861
  })
861
862
  })
@@ -903,23 +904,23 @@ function nn(e, t) {
903
904
  function rn(e) {
904
905
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
905
906
  }
906
- var an = rt, on = at, sn = lt, cn = ft, ln = vt, un = bt, dn = Ct, fn = Et, pn = At, mn = Mt, hn = It, gn = Rt, _n = Bt, vn = Kt, yn = Jt, bn = "DropdownMenu", [xn, Sn] = T(bn, [Ze]), $ = Ze(), [Cn, wn] = xn(bn), Tn = (e) => {
907
- let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = e, c = $(t), l = K.useRef(null), [u, d] = F({
907
+ var an = rt, on = at, sn = lt, cn = ft, ln = vt, un = bt, dn = Ct, fn = Et, pn = At, mn = Mt, hn = It, gn = Rt, _n = Bt, vn = Kt, yn = Jt, bn = "DropdownMenu", [xn, Sn] = V(bn, [Ze]), $ = Ze(), [Cn, wn] = xn(bn), Tn = (e) => {
908
+ let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = e, c = $(t), l = G.useRef(null), [u, d] = O({
908
909
  prop: i,
909
910
  defaultProp: a ?? !1,
910
911
  onChange: o,
911
912
  caller: bn
912
913
  });
913
- return /* @__PURE__ */ (0, q.jsx)(Cn, {
914
+ return /* @__PURE__ */ (0, K.jsx)(Cn, {
914
915
  scope: t,
915
- triggerId: E(),
916
+ triggerId: M(),
916
917
  triggerRef: l,
917
- contentId: E(),
918
+ contentId: M(),
918
919
  open: u,
919
920
  onOpenChange: d,
920
- onOpenToggle: K.useCallback(() => d((e) => !e), [d]),
921
+ onOpenToggle: G.useCallback(() => d((e) => !e), [d]),
921
922
  modal: s,
922
- children: /* @__PURE__ */ (0, q.jsx)(an, {
923
+ children: /* @__PURE__ */ (0, K.jsx)(an, {
923
924
  ...c,
924
925
  open: u,
925
926
  onOpenChange: d,
@@ -930,12 +931,12 @@ var an = rt, on = at, sn = lt, cn = ft, ln = vt, un = bt, dn = Ct, fn = Et, pn =
930
931
  });
931
932
  };
932
933
  Tn.displayName = bn;
933
- var En = "DropdownMenuTrigger", Dn = K.forwardRef((e, t) => {
934
+ var En = "DropdownMenuTrigger", Dn = G.forwardRef((e, t) => {
934
935
  let { __scopeDropdownMenu: n, disabled: r = !1, ...i } = e, a = wn(En, n), o = $(n);
935
- return /* @__PURE__ */ (0, q.jsx)(on, {
936
+ return /* @__PURE__ */ (0, K.jsx)(on, {
936
937
  asChild: !0,
937
938
  ...o,
938
- children: /* @__PURE__ */ (0, q.jsx)(w.button, {
939
+ children: /* @__PURE__ */ (0, K.jsx)(H.button, {
939
940
  type: "button",
940
941
  id: a.triggerId,
941
942
  "aria-haspopup": "menu",
@@ -945,11 +946,11 @@ var En = "DropdownMenuTrigger", Dn = K.forwardRef((e, t) => {
945
946
  "data-disabled": r ? "" : void 0,
946
947
  disabled: r,
947
948
  ...i,
948
- ref: S(t, a.triggerRef),
949
- onPointerDown: C(e.onPointerDown, (e) => {
949
+ ref: T(t, a.triggerRef),
950
+ onPointerDown: S(e.onPointerDown, (e) => {
950
951
  !r && e.button === 0 && e.ctrlKey === !1 && (a.onOpenToggle(), a.open || e.preventDefault());
951
952
  }),
952
- onKeyDown: C(e.onKeyDown, (e) => {
953
+ onKeyDown: S(e.onKeyDown, (e) => {
953
954
  r || (["Enter", " "].includes(e.key) && a.onOpenToggle(), e.key === "ArrowDown" && a.onOpenChange(!0), [
954
955
  "Enter",
955
956
  " ",
@@ -962,24 +963,24 @@ var En = "DropdownMenuTrigger", Dn = K.forwardRef((e, t) => {
962
963
  Dn.displayName = En;
963
964
  var On = "DropdownMenuPortal", kn = (e) => {
964
965
  let { __scopeDropdownMenu: t, ...n } = e, r = $(t);
965
- return /* @__PURE__ */ (0, q.jsx)(sn, {
966
+ return /* @__PURE__ */ (0, K.jsx)(sn, {
966
967
  ...r,
967
968
  ...n
968
969
  });
969
970
  };
970
971
  kn.displayName = On;
971
- var An = "DropdownMenuContent", jn = K.forwardRef((e, t) => {
972
- let { __scopeDropdownMenu: n, ...r } = e, i = wn(An, n), a = $(n), o = K.useRef(!1);
973
- return /* @__PURE__ */ (0, q.jsx)(cn, {
972
+ var An = "DropdownMenuContent", jn = G.forwardRef((e, t) => {
973
+ let { __scopeDropdownMenu: n, ...r } = e, i = wn(An, n), a = $(n), o = G.useRef(!1);
974
+ return /* @__PURE__ */ (0, K.jsx)(cn, {
974
975
  id: i.contentId,
975
976
  "aria-labelledby": i.triggerId,
976
977
  ...a,
977
978
  ...r,
978
979
  ref: t,
979
- onCloseAutoFocus: C(e.onCloseAutoFocus, (e) => {
980
+ onCloseAutoFocus: S(e.onCloseAutoFocus, (e) => {
980
981
  o.current || i.triggerRef.current?.focus(), o.current = !1, e.preventDefault();
981
982
  }),
982
- onInteractOutside: C(e.onInteractOutside, (e) => {
983
+ onInteractOutside: S(e.onInteractOutside, (e) => {
983
984
  let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
984
985
  (!i.modal || r) && (o.current = !0);
985
986
  }),
@@ -994,99 +995,99 @@ var An = "DropdownMenuContent", jn = K.forwardRef((e, t) => {
994
995
  });
995
996
  });
996
997
  jn.displayName = An;
997
- var Mn = "DropdownMenuGroup", Nn = K.forwardRef((e, t) => {
998
+ var Mn = "DropdownMenuGroup", Nn = G.forwardRef((e, t) => {
998
999
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
999
- return /* @__PURE__ */ (0, q.jsx)(ln, {
1000
+ return /* @__PURE__ */ (0, K.jsx)(ln, {
1000
1001
  ...i,
1001
1002
  ...r,
1002
1003
  ref: t
1003
1004
  });
1004
1005
  });
1005
1006
  Nn.displayName = Mn;
1006
- var Pn = "DropdownMenuLabel", Fn = K.forwardRef((e, t) => {
1007
+ var Pn = "DropdownMenuLabel", Fn = G.forwardRef((e, t) => {
1007
1008
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1008
- return /* @__PURE__ */ (0, q.jsx)(un, {
1009
+ return /* @__PURE__ */ (0, K.jsx)(un, {
1009
1010
  ...i,
1010
1011
  ...r,
1011
1012
  ref: t
1012
1013
  });
1013
1014
  });
1014
1015
  Fn.displayName = Pn;
1015
- var In = "DropdownMenuItem", Ln = K.forwardRef((e, t) => {
1016
+ var In = "DropdownMenuItem", Ln = G.forwardRef((e, t) => {
1016
1017
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1017
- return /* @__PURE__ */ (0, q.jsx)(dn, {
1018
+ return /* @__PURE__ */ (0, K.jsx)(dn, {
1018
1019
  ...i,
1019
1020
  ...r,
1020
1021
  ref: t
1021
1022
  });
1022
1023
  });
1023
1024
  Ln.displayName = In;
1024
- var Rn = "DropdownMenuCheckboxItem", zn = K.forwardRef((e, t) => {
1025
+ var Rn = "DropdownMenuCheckboxItem", zn = G.forwardRef((e, t) => {
1025
1026
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1026
- return /* @__PURE__ */ (0, q.jsx)(fn, {
1027
+ return /* @__PURE__ */ (0, K.jsx)(fn, {
1027
1028
  ...i,
1028
1029
  ...r,
1029
1030
  ref: t
1030
1031
  });
1031
1032
  });
1032
1033
  zn.displayName = Rn;
1033
- var Bn = "DropdownMenuRadioGroup", Vn = K.forwardRef((e, t) => {
1034
+ var Bn = "DropdownMenuRadioGroup", Vn = G.forwardRef((e, t) => {
1034
1035
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1035
- return /* @__PURE__ */ (0, q.jsx)(pn, {
1036
+ return /* @__PURE__ */ (0, K.jsx)(pn, {
1036
1037
  ...i,
1037
1038
  ...r,
1038
1039
  ref: t
1039
1040
  });
1040
1041
  });
1041
1042
  Vn.displayName = Bn;
1042
- var Hn = "DropdownMenuRadioItem", Un = K.forwardRef((e, t) => {
1043
+ var Hn = "DropdownMenuRadioItem", Un = G.forwardRef((e, t) => {
1043
1044
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1044
- return /* @__PURE__ */ (0, q.jsx)(mn, {
1045
+ return /* @__PURE__ */ (0, K.jsx)(mn, {
1045
1046
  ...i,
1046
1047
  ...r,
1047
1048
  ref: t
1048
1049
  });
1049
1050
  });
1050
1051
  Un.displayName = Hn;
1051
- var Wn = "DropdownMenuItemIndicator", Gn = K.forwardRef((e, t) => {
1052
+ var Wn = "DropdownMenuItemIndicator", Gn = G.forwardRef((e, t) => {
1052
1053
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1053
- return /* @__PURE__ */ (0, q.jsx)(hn, {
1054
+ return /* @__PURE__ */ (0, K.jsx)(hn, {
1054
1055
  ...i,
1055
1056
  ...r,
1056
1057
  ref: t
1057
1058
  });
1058
1059
  });
1059
1060
  Gn.displayName = Wn;
1060
- var Kn = "DropdownMenuSeparator", qn = K.forwardRef((e, t) => {
1061
+ var Kn = "DropdownMenuSeparator", qn = G.forwardRef((e, t) => {
1061
1062
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1062
- return /* @__PURE__ */ (0, q.jsx)(gn, {
1063
+ return /* @__PURE__ */ (0, K.jsx)(gn, {
1063
1064
  ...i,
1064
1065
  ...r,
1065
1066
  ref: t
1066
1067
  });
1067
1068
  });
1068
1069
  qn.displayName = Kn;
1069
- var Jn = "DropdownMenuArrow", Yn = K.forwardRef((e, t) => {
1070
+ var Jn = "DropdownMenuArrow", Yn = G.forwardRef((e, t) => {
1070
1071
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1071
- return /* @__PURE__ */ (0, q.jsx)(_n, {
1072
+ return /* @__PURE__ */ (0, K.jsx)(_n, {
1072
1073
  ...i,
1073
1074
  ...r,
1074
1075
  ref: t
1075
1076
  });
1076
1077
  });
1077
1078
  Yn.displayName = Jn;
1078
- var Xn = "DropdownMenuSubTrigger", Zn = K.forwardRef((e, t) => {
1079
+ var Xn = "DropdownMenuSubTrigger", Zn = G.forwardRef((e, t) => {
1079
1080
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1080
- return /* @__PURE__ */ (0, q.jsx)(vn, {
1081
+ return /* @__PURE__ */ (0, K.jsx)(vn, {
1081
1082
  ...i,
1082
1083
  ...r,
1083
1084
  ref: t
1084
1085
  });
1085
1086
  });
1086
1087
  Zn.displayName = Xn;
1087
- var Qn = "DropdownMenuSubContent", $n = K.forwardRef((e, t) => {
1088
+ var Qn = "DropdownMenuSubContent", $n = G.forwardRef((e, t) => {
1088
1089
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1089
- return /* @__PURE__ */ (0, q.jsx)(yn, {
1090
+ return /* @__PURE__ */ (0, K.jsx)(yn, {
1090
1091
  ...i,
1091
1092
  ...r,
1092
1093
  ref: t,
@@ -1105,7 +1106,7 @@ var er = Tn, tr = Dn, nr = jn, rr = Ln;
1105
1106
  //#endregion
1106
1107
  //#region ../node_modules/@heroicons/react/24/outline/esm/BarsArrowDownIcon.js
1107
1108
  function ir({ title: e, titleId: t, ...n }, r) {
1108
- return /*#__PURE__*/ K.createElement("svg", Object.assign({
1109
+ return /*#__PURE__*/ G.createElement("svg", Object.assign({
1109
1110
  xmlns: "http://www.w3.org/2000/svg",
1110
1111
  fill: "none",
1111
1112
  viewBox: "0 0 24 24",
@@ -1115,39 +1116,39 @@ function ir({ title: e, titleId: t, ...n }, r) {
1115
1116
  "data-slot": "icon",
1116
1117
  ref: r,
1117
1118
  "aria-labelledby": t
1118
- }, n), e ? /*#__PURE__*/ K.createElement("title", { id: t }, e) : null, /*#__PURE__*/ K.createElement("path", {
1119
+ }, n), e ? /*#__PURE__*/ G.createElement("title", { id: t }, e) : null, /*#__PURE__*/ G.createElement("path", {
1119
1120
  strokeLinecap: "round",
1120
1121
  strokeLinejoin: "round",
1121
1122
  d: "M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0-3.75-3.75M17.25 21 21 17.25"
1122
1123
  }));
1123
1124
  }
1124
- var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortByDistanceLabel: t, accessibilityLabel: n, on: r = () => {} }) => {
1125
- let i = ce();
1125
+ var ar = /*#__PURE__*/ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortByDistanceLabel: t, accessibilityLabel: n, on: r = () => {} }) => {
1126
+ let i = le();
1126
1127
  if (!i) throw Error("SortDropdown must be used within a SearchRankingProvider");
1127
1128
  let { sortMode: a, setSortMode: o, requestLocation: s, locationDenied: c } = i;
1128
- return /* @__PURE__ */ (0, q.jsxs)(er, {
1129
+ return /* @__PURE__ */ (0, K.jsxs)(er, {
1129
1130
  onOpenChange: (e) => e && r("openSortMenu"),
1130
- children: [/* @__PURE__ */ (0, q.jsx)(tr, {
1131
+ children: [/* @__PURE__ */ (0, K.jsx)(tr, {
1131
1132
  asChild: !0,
1132
- children: /* @__PURE__ */ (0, q.jsx)("button", {
1133
+ children: /* @__PURE__ */ (0, K.jsx)("button", {
1133
1134
  type: "button",
1134
1135
  className: "sid-sort-dropdown__trigger",
1135
1136
  "aria-label": n,
1136
- children: /* @__PURE__ */ (0, q.jsx)(ar, { className: "sid-sort-dropdown__icon" })
1137
+ children: /* @__PURE__ */ (0, K.jsx)(ar, { className: "sid-sort-dropdown__icon" })
1137
1138
  })
1138
- }), /* @__PURE__ */ (0, q.jsxs)(nr, {
1139
+ }), /* @__PURE__ */ (0, K.jsxs)(nr, {
1139
1140
  className: "sid-sort-dropdown__content",
1140
1141
  sideOffset: 0,
1141
1142
  collisionPadding: 10,
1142
1143
  align: "end",
1143
- children: [/* @__PURE__ */ (0, q.jsx)(rr, {
1144
+ children: [/* @__PURE__ */ (0, K.jsx)(rr, {
1144
1145
  className: "sid-sort-dropdown__item",
1145
1146
  onSelect: () => {
1146
1147
  o("relevance"), r("sortRelevance");
1147
1148
  },
1148
1149
  "data-active": a === "relevance" ? "" : void 0,
1149
1150
  children: e
1150
- }), /* @__PURE__ */ (0, q.jsx)(rr, {
1151
+ }), /* @__PURE__ */ (0, K.jsx)(rr, {
1151
1152
  className: "sid-sort-dropdown__item",
1152
1153
  onSelect: async () => {
1153
1154
  if (!c) try {
@@ -1181,8 +1182,8 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1181
1182
  }
1182
1183
  n.debounce = n, t.exports = n;
1183
1184
  })))(), cr = 42, lr = 26, ur = ({ getItemProps: e, highlightedIndex: t, organizations: n, itemToString: r, children: i, maxItemsToDisplay: a = lr }) => {
1184
- let o = K.Children.count(i), s = (n.length + o) * cr, c = {}, l = R("org-search-overlay") === "overlay", d = ce(), f = u(), p = (0, K.useMemo)(() => _e(f), [f]), m = (e) => !d?.userLocation || e.latitude == null || e.longitude == null ? null : ve(he(d.userLocation.latitude, d.userLocation.longitude, e.latitude, e.longitude), p);
1185
- (0, K.useEffect)(() => {
1185
+ let o = G.Children.count(i), s = (n.length + o) * cr, c = {}, l = v("org-search-overlay") === "overlay", d = le(), f = u(), p = (0, G.useMemo)(() => ve(f), [f]), m = (e) => !d?.userLocation || e.latitude == null || e.longitude == null ? null : ye(ge(d.userLocation.latitude, d.userLocation.longitude, e.latitude, e.longitude), p);
1186
+ (0, G.useEffect)(() => {
1186
1187
  let e = document.getElementsByClassName("sid-organization-list__item--highlighted").item(0);
1187
1188
  e && ("scrollIntoViewIfNeeded" in e && typeof e.scrollIntoViewIfNeeded == "function" ? e.scrollIntoViewIfNeeded(!0) : e.scrollIntoView({
1188
1189
  behavior: "instant",
@@ -1191,7 +1192,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1191
1192
  }, [t]);
1192
1193
  let h = (n, i) => {
1193
1194
  let a = [n.city, n.state].filter(Boolean).join(", "), o = m(n);
1194
- return /* @__PURE__ */ (0, q.jsxs)("div", {
1195
+ return /* @__PURE__ */ (0, K.jsxs)("div", {
1195
1196
  className: `sid-organization-list__item ${t === i ? "sid-organization-list__item--highlighted" : ""}`,
1196
1197
  role: "option",
1197
1198
  "aria-selected": t === i,
@@ -1201,15 +1202,15 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1201
1202
  }),
1202
1203
  ref: c[t],
1203
1204
  children: [
1204
- /* @__PURE__ */ (0, q.jsx)("span", {
1205
+ /* @__PURE__ */ (0, K.jsx)("span", {
1205
1206
  className: "sid-organization-list__name",
1206
1207
  children: r(n)
1207
1208
  }),
1208
- l && a && /* @__PURE__ */ (0, q.jsx)("span", {
1209
+ l && a && /* @__PURE__ */ (0, K.jsx)("span", {
1209
1210
  className: "sid-organization-list__location",
1210
1211
  children: a
1211
1212
  }),
1212
- o && /* @__PURE__ */ (0, q.jsx)("span", {
1213
+ o && /* @__PURE__ */ (0, K.jsx)("span", {
1213
1214
  className: "sid-organization-list__distance",
1214
1215
  "data-testid": "org-distance",
1215
1216
  children: o
@@ -1217,54 +1218,54 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1217
1218
  ]
1218
1219
  }, i);
1219
1220
  };
1220
- return /* @__PURE__ */ (0, q.jsx)("div", {
1221
+ return /* @__PURE__ */ (0, K.jsx)("div", {
1221
1222
  id: "sid-org-list-menu",
1222
1223
  className: "sid-organization-list__menu",
1223
1224
  tabIndex: -1,
1224
1225
  role: "listbox",
1225
- children: /* @__PURE__ */ (0, q.jsxs)("div", {
1226
+ children: /* @__PURE__ */ (0, K.jsxs)("div", {
1226
1227
  style: { height: Math.min(s, 280) },
1227
1228
  children: [n.filter((e, t) => t <= a - 1).map((e, t) => h(e, t)), i]
1228
1229
  })
1229
1230
  });
1230
- }, dr = ({ className: e }) => /* @__PURE__ */ (0, q.jsx)("svg", {
1231
+ }, dr = ({ className: e }) => /* @__PURE__ */ (0, K.jsx)("svg", {
1231
1232
  xmlns: "http://www.w3.org/2000/svg",
1232
1233
  fill: "none",
1233
1234
  viewBox: "0 0 24 24",
1234
1235
  strokeWidth: 1.5,
1235
1236
  stroke: "currentColor",
1236
1237
  className: e,
1237
- children: /* @__PURE__ */ (0, q.jsx)("path", {
1238
+ children: /* @__PURE__ */ (0, K.jsx)("path", {
1238
1239
  strokeLinecap: "round",
1239
1240
  strokeLinejoin: "round",
1240
1241
  d: "M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"
1241
1242
  })
1242
1243
  }), fr = ({ urlAddSchoolForm: e, programId: t, locale: r = n, onClick: i = () => void 0, onTipsShown: a }) => {
1243
- let [s, c] = K.useState(!1), { trackEvent: l } = re({ programId: t });
1244
- return s ? /* @__PURE__ */ (0, q.jsxs)("div", {
1244
+ let [s, c] = G.useState(!1), { trackEvent: l } = ie({ programId: t });
1245
+ return s ? /* @__PURE__ */ (0, K.jsxs)("div", {
1245
1246
  className: "sid-organization-list__add-school-tips",
1246
- children: [/* @__PURE__ */ (0, q.jsxs)("div", {
1247
+ children: [/* @__PURE__ */ (0, K.jsxs)("div", {
1247
1248
  className: "sid-organization-list__tips",
1248
- children: [/* @__PURE__ */ (0, q.jsx)("div", { children: /* @__PURE__ */ (0, q.jsx)(dr, { className: "sid-organization-list__tips-icon" }) }), /* @__PURE__ */ (0, q.jsxs)("div", {
1249
+ children: [/* @__PURE__ */ (0, K.jsx)("div", { children: /* @__PURE__ */ (0, K.jsx)(dr, { className: "sid-organization-list__tips-icon" }) }), /* @__PURE__ */ (0, K.jsxs)("div", {
1249
1250
  className: "sid-organization-list__tips-text",
1250
- children: [/* @__PURE__ */ (0, q.jsx)(m, {
1251
+ children: [/* @__PURE__ */ (0, K.jsx)(m, {
1251
1252
  id: "multipleLocationsTips",
1252
1253
  defaultMessage: "If your academic institution has multiple locations and you didn't see yours, enter the main location."
1253
- }), /* @__PURE__ */ (0, q.jsx)(m, {
1254
+ }), /* @__PURE__ */ (0, K.jsx)(m, {
1254
1255
  id: "tryFullNameTips",
1255
1256
  defaultMessage: "Try typing the full name of the academic institution rather than using acronyms or abbreviations."
1256
1257
  })]
1257
1258
  })]
1258
- }), /* @__PURE__ */ (0, q.jsx)(g, {
1259
+ }), /* @__PURE__ */ (0, K.jsx)(g, {
1259
1260
  onClick: i,
1260
1261
  className: "sid-organization-list__item sid-organization-list__request-school sid-link",
1261
1262
  href: `${e}?pid=${t}&locale=${r}`,
1262
- children: /* @__PURE__ */ (0, q.jsx)(m, {
1263
+ children: /* @__PURE__ */ (0, K.jsx)(m, {
1263
1264
  id: "requestSchool",
1264
1265
  defaultMessage: "Don't see your school? Request to have it added"
1265
1266
  })
1266
1267
  })]
1267
- }) : /* @__PURE__ */ (0, q.jsx)(g, {
1268
+ }) : /* @__PURE__ */ (0, K.jsx)(g, {
1268
1269
  onClick: () => {
1269
1270
  d({
1270
1271
  eventName: o.ASR_TIPS_SHOWN,
@@ -1272,15 +1273,15 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1272
1273
  programId: t,
1273
1274
  locale: r
1274
1275
  }
1275
- }), l(G.AsrTipsShown), a?.(), c(!0);
1276
+ }), l(W.AsrTipsShown), a?.(), c(!0);
1276
1277
  },
1277
1278
  className: "sid-organization-list__item sid-organization-list__request-school sid-link",
1278
- children: /* @__PURE__ */ (0, q.jsx)(m, {
1279
+ children: /* @__PURE__ */ (0, K.jsx)(m, {
1279
1280
  id: "cantFindYourSchool",
1280
1281
  defaultMessage: "Can't find your school? Click to show tips"
1281
1282
  })
1282
1283
  });
1283
- }, pr = (e) => c("name", e) || "", mr = (e) => e && e.find((e) => e.source === "PLACE") ? /* @__PURE__ */ (0, q.jsx)("img", {
1284
+ }, pr = (e) => c("name", e) || "", mr = (e) => e && e.find((e) => e.source === "PLACE") ? /* @__PURE__ */ (0, K.jsx)("img", {
1284
1285
  className: "sid-organization-list__attribution-logo",
1285
1286
  src: "https://developers.google.com/static/maps/documentation/images/google_on_white.png",
1286
1287
  alt: "Google"
@@ -1296,23 +1297,23 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1296
1297
  r.error(e);
1297
1298
  }
1298
1299
  }, gr = ({ getItemProps: e, getMenuProps: t, highlightedIndex: n, itemToString: i, minimumSearchValueLength: a, onLoaded: s, programId: c, orgSearchUrl: l, locale: u, urlAddSchoolForm: f, openOrgSearchEnabled: p, onClickAddSchool: h, onTipsShown: g, searchUrlParams: v, searchValue: y }) => {
1299
- let [b, x] = (0, K.useState)(!1), [S, C] = (0, K.useState)(null), [w, T] = (0, K.useState)(null), E = (0, K.useRef)(!1), D = (0, K.useRef)(null), O = ce(), A = (0, K.useRef)({
1300
+ let [b, x] = (0, G.useState)(!1), [S, C] = (0, G.useState)(null), [w, T] = (0, G.useState)(null), E = (0, G.useRef)(!1), D = (0, G.useRef)(null), O = le(), k = (0, G.useRef)({
1300
1301
  orgSearchUrl: l,
1301
1302
  searchValue: y,
1302
1303
  searchUrlParams: v,
1303
1304
  onLoaded: s
1304
1305
  });
1305
- A.current = {
1306
+ k.current = {
1306
1307
  orgSearchUrl: l,
1307
1308
  searchValue: y,
1308
1309
  searchUrlParams: v,
1309
1310
  onLoaded: s
1310
1311
  };
1311
- let j = (0, K.useRef)(O);
1312
- j.current = O;
1313
- let M = y || pr(l) || "", N = (0, K.useCallback)(async () => {
1312
+ let A = (0, G.useRef)(O);
1313
+ A.current = O;
1314
+ let j = y || pr(l) || "", M = (0, G.useCallback)(async () => {
1314
1315
  if (!E.current) return;
1315
- let { orgSearchUrl: e, searchValue: t, searchUrlParams: n, onLoaded: i } = A.current, a = n, s = j.current;
1316
+ let { orgSearchUrl: e, searchValue: t, searchUrlParams: n, onLoaded: i } = k.current, a = n, s = A.current;
1316
1317
  s && s.sortMode === "distance" && s.userLocation && (a = {
1317
1318
  ...n,
1318
1319
  lat: String(s.userLocation.latitude),
@@ -1335,61 +1336,61 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1335
1336
  r.error(e);
1336
1337
  }
1337
1338
  }
1338
- }, []), P = (0, K.useRef)(null);
1339
- P.current ||= (0, sr.debounce)(N, 200), (0, K.useEffect)(() => (E.current = !0, () => {
1340
- E.current = !1, P.current && P.current.clear();
1341
- }), []), (0, K.useEffect)(() => {
1339
+ }, []), N = (0, G.useRef)(null);
1340
+ N.current ||= (0, sr.debounce)(M, 200), (0, G.useEffect)(() => (E.current = !0, () => {
1341
+ E.current = !1, N.current && N.current.clear();
1342
+ }), []), (0, G.useEffect)(() => {
1342
1343
  let e = D.current;
1343
- e !== M && (M.length >= a ? (T(null), x(!0), C(null), P.current && P.current()) : (T(null), x(!1), C(null), e === null ? M.length > 0 && r.info(`No organizations fetched. Search searchTerm "${M}" is less than ${a} characters.`) : r.info(`No organizations fetched. Search searchTterm "${M}" is less than ${a} characters.`))), D.current = M;
1344
- }, [M, a]);
1345
- let F = O?.sortMode, I = O?.userLocation?.latitude, L = O?.userLocation?.longitude;
1346
- (0, K.useEffect)(() => {
1347
- M.length >= a && (T(null), x(!0), C(null), P.current?.());
1344
+ e !== j && (j.length >= a ? (T(null), x(!0), C(null), N.current && N.current()) : (T(null), x(!1), C(null), e === null ? j.length > 0 && r.info(`No organizations fetched. Search searchTerm "${j}" is less than ${a} characters.`) : r.info(`No organizations fetched. Search searchTterm "${j}" is less than ${a} characters.`))), D.current = j;
1345
+ }, [j, a]);
1346
+ let P = O?.sortMode, F = O?.userLocation?.latitude, I = O?.userLocation?.longitude;
1347
+ (0, G.useEffect)(() => {
1348
+ j.length >= a && (T(null), x(!0), C(null), N.current?.());
1348
1349
  }, [
1350
+ P,
1349
1351
  F,
1350
1352
  I,
1351
- L,
1352
- M,
1353
+ j,
1353
1354
  a
1354
1355
  ]);
1355
- let R = mr(S);
1356
- return b ? /* @__PURE__ */ (0, q.jsx)("div", {
1356
+ let L = mr(S);
1357
+ return b ? /* @__PURE__ */ (0, K.jsx)("div", {
1357
1358
  className: "sid-organization-list__menu",
1358
- children: /* @__PURE__ */ (0, q.jsx)("div", {
1359
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
1359
1360
  className: "sid-organization-list__message sid-organization-list__spinner-container",
1360
- children: /* @__PURE__ */ (0, q.jsx)("div", {
1361
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
1361
1362
  id: "sid-spinner-container",
1362
- children: /* @__PURE__ */ (0, q.jsx)(k, {})
1363
+ children: /* @__PURE__ */ (0, K.jsx)(ee, {})
1363
1364
  })
1364
1365
  })
1365
- }) : w ? /* @__PURE__ */ (0, q.jsx)("div", {
1366
+ }) : w ? /* @__PURE__ */ (0, K.jsx)("div", {
1366
1367
  className: "sid-organization-list__menu",
1367
- children: /* @__PURE__ */ (0, q.jsx)("div", {
1368
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
1368
1369
  className: "sid-organization-list__message",
1369
- children: /* @__PURE__ */ (0, q.jsx)(m, {
1370
+ children: /* @__PURE__ */ (0, K.jsx)(m, {
1370
1371
  id: "errorId.unknownError",
1371
1372
  defaultMessage: "An unknown error occurred"
1372
1373
  })
1373
1374
  })
1374
- }) : S && S.length > 0 ? /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [R && /* @__PURE__ */ (0, q.jsx)("div", {
1375
+ }) : S && S.length > 0 ? /* @__PURE__ */ (0, K.jsxs)(K.Fragment, { children: [L && /* @__PURE__ */ (0, K.jsx)("div", {
1375
1376
  className: "sid-organization-list__attribution",
1376
- children: R
1377
- }), /* @__PURE__ */ (0, q.jsx)(ur, {
1377
+ children: L
1378
+ }), /* @__PURE__ */ (0, K.jsx)(ur, {
1378
1379
  getItemProps: e,
1379
1380
  getMenuProps: t,
1380
1381
  highlightedIndex: n,
1381
1382
  itemToString: i,
1382
1383
  organizations: S,
1383
- children: M && !p && f && (!S || S.length < 26) && /* @__PURE__ */ (0, q.jsx)(fr, {
1384
+ children: j && !p && f && (!S || S.length < 26) && /* @__PURE__ */ (0, K.jsx)(fr, {
1384
1385
  onClick: h,
1385
1386
  onTipsShown: g,
1386
1387
  urlAddSchoolForm: f,
1387
1388
  programId: c,
1388
1389
  locale: u
1389
1390
  })
1390
- })] }) : M && !p && f && (!S || S.length === 0) ? /* @__PURE__ */ (0, q.jsx)("div", {
1391
+ })] }) : j && !p && f && (!S || S.length === 0) ? /* @__PURE__ */ (0, K.jsx)("div", {
1391
1392
  className: "sid-organization-list__menu",
1392
- children: /* @__PURE__ */ (0, q.jsx)(fr, {
1393
+ children: /* @__PURE__ */ (0, K.jsx)(fr, {
1393
1394
  onClick: h,
1394
1395
  onTipsShown: g,
1395
1396
  urlAddSchoolForm: f,
@@ -1398,14 +1399,14 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1398
1399
  })
1399
1400
  }) : null;
1400
1401
  }, _r = (e, t, n) => {
1401
- if (e.type === W.stateChangeTypes.FunctionSelectItem) {
1402
+ if (e.type === U.stateChangeTypes.FunctionSelectItem) {
1402
1403
  let { selectedItem: n } = e;
1403
1404
  t(n);
1404
- } else e.type === W.stateChangeTypes.InputBlur && !n.openOrgSearchEnabled && !n._searchOverlayEnabled && t({
1405
+ } else e.type === U.stateChangeTypes.InputBlur && !n.openOrgSearchEnabled && !n._searchOverlayEnabled && t({
1405
1406
  id: void 0,
1406
1407
  name: ""
1407
1408
  });
1408
- }, vr = ({ id: e, onMouseDown: t, disabled: n, onKeyDown: r, handleOnBlur: i }) => /* @__PURE__ */ (0, q.jsx)("button", {
1409
+ }, vr = ({ id: e, onMouseDown: t, disabled: n, onKeyDown: r, handleOnBlur: i }) => /* @__PURE__ */ (0, K.jsx)("button", {
1409
1410
  id: e,
1410
1411
  type: "button",
1411
1412
  onMouseDown: t,
@@ -1415,251 +1416,251 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1415
1416
  "aria-label": "clear text",
1416
1417
  "aria-disabled": n,
1417
1418
  tabIndex: 0,
1418
- children: /* @__PURE__ */ (0, q.jsx)("svg", {
1419
+ children: /* @__PURE__ */ (0, K.jsx)("svg", {
1419
1420
  viewBox: "0 0 24 24",
1420
1421
  preserveAspectRatio: "none",
1421
1422
  width: 28,
1422
1423
  fill: "none",
1423
1424
  stroke: n ? "#B6B6B6" : "#8E95A4",
1424
1425
  strokeWidth: "1.1",
1425
- children: /* @__PURE__ */ (0, q.jsx)("path", {
1426
+ children: /* @__PURE__ */ (0, K.jsx)("path", {
1426
1427
  strokeLinecap: "round",
1427
1428
  strokeLinejoin: "round",
1428
1429
  d: "M6 18L18 6M6 6l12 12"
1429
1430
  })
1430
1431
  })
1431
- }), yr = f(({ onChange: e, programId: t, className: n, countryCode: i, disabled: c, minimumSearchValueLength: l, placeholder: u, value: f, inputHtmlId: p, openOrgSearchEnabled: m, orgSearchUrl: h, isRequired: g, locale: _, urlAddSchoolForm: y, isErrored: b, ariaDescribedBy: x, autoFocus: S = !1, onBlur: C = () => {}, intl: w }) => {
1432
- let [T, E] = (0, K.useState)(f ? f.name : ""), [D, O] = (0, K.useState)([]), k = (0, K.useRef)(0), A = (0, K.useRef)(0), j = (0, K.useRef)(!1), M = (0, K.useRef)(!1), [N, P] = (0, K.useState)(!1), [F, I] = (0, K.useState)(!1), { recordNumericMetric: L, trackEvent: z } = re({ programId: t }), B = R("org-search-overlay") === "overlay", { showOverlay: V, setShowOverlay: H } = oe();
1432
+ }), yr = f(({ onChange: e, programId: t, className: n, countryCode: i, disabled: c, minimumSearchValueLength: l, placeholder: u, value: f, inputHtmlId: p, openOrgSearchEnabled: m, orgSearchUrl: h, isRequired: g, locale: _, urlAddSchoolForm: b, isErrored: x, ariaDescribedBy: S, autoFocus: C = !1, onBlur: w = () => {}, intl: T }) => {
1433
+ let [E, D] = (0, G.useState)(f ? f.name : ""), [O, k] = (0, G.useState)([]), A = (0, G.useRef)(0), j = (0, G.useRef)(0), M = (0, G.useRef)(!1), N = (0, G.useRef)(!1), [P, F] = (0, G.useState)(!1), [ee, I] = (0, G.useState)(!1), { recordNumericMetric: L, trackEvent: R } = ie({ programId: t }), z = v("org-search-overlay") === "overlay", { showOverlay: B, setShowOverlay: V } = se();
1433
1434
  a(e);
1434
- let U = (e) => e ? e.name : "", { isOpen: ee, highlightedIndex: te, getMenuProps: ne, getItemProps: ie, getInputProps: ae } = W({
1435
- itemToString: U,
1435
+ let H = (e) => e ? e.name : "", { isOpen: te, highlightedIndex: ne, getMenuProps: re, getItemProps: ae, getInputProps: oe } = U({
1436
+ itemToString: H,
1436
1437
  id: p,
1437
- items: D,
1438
- inputValue: T,
1438
+ items: O,
1439
+ inputValue: E,
1439
1440
  onStateChange: (t) => _r(t, e, {
1440
1441
  openOrgSearchEnabled: m,
1441
- _searchOverlayEnabled: V
1442
+ _searchOverlayEnabled: B
1442
1443
  }),
1443
1444
  selectedItem: f,
1444
1445
  onSelectedItemChange: ({ selectedItem: t }) => {
1445
1446
  if (!t) {
1446
- E(""), H(!1), e({
1447
+ D(""), V(!1), e({
1447
1448
  id: 0,
1448
1449
  name: ""
1449
1450
  });
1450
1451
  return;
1451
1452
  }
1452
- E(U(t));
1453
- let n = D.findIndex((e) => e.id === t.id) + 1, i = Date.now() - A.current;
1453
+ D(H(t));
1454
+ let n = O.findIndex((e) => e.id === t.id) + 1, i = Date.now() - j.current;
1454
1455
  try {
1455
1456
  d({
1456
1457
  eventName: o.ORG_SELECTED,
1457
1458
  params: {
1458
- [s.QUERY_LENGTH]: T.length,
1459
- [s.NUMBER_REWORKS]: k.current,
1459
+ [s.QUERY_LENGTH]: E.length,
1460
+ [s.NUMBER_REWORKS]: A.current,
1460
1461
  [s.SELECTED_RESULT_RANK]: n,
1461
1462
  [s.EVENT_DURATION]: i,
1462
- [s.NUMBER_OF_RESULTS]: D.length
1463
+ [s.NUMBER_OF_RESULTS]: O.length
1463
1464
  }
1464
1465
  });
1465
1466
  } catch (e) {
1466
1467
  r.error(e);
1467
1468
  }
1468
1469
  try {
1469
- L(G.OrgSearchNumReworks, k.current), L(G.OrgSearchQueryLength, T.length), L(G.OrgSearchResultRank, n), L(G.OrgSearchTimeUntilSelection, i);
1470
+ L(W.OrgSearchNumReworks, A.current), L(W.OrgSearchQueryLength, E.length), L(W.OrgSearchResultRank, n), L(W.OrgSearchTimeUntilSelection, i);
1470
1471
  } catch (e) {
1471
1472
  r.error(e);
1472
1473
  }
1473
- A.current = 0, k.current = 0, H(!1), e(t);
1474
+ j.current = 0, A.current = 0, V(!1), e(t);
1474
1475
  }
1475
- }), se = () => {
1476
+ }), ce = () => {
1476
1477
  try {
1477
1478
  d({
1478
1479
  eventName: o.ASR_SELECTED,
1479
1480
  params: {
1480
- [s.QUERY_LENGTH]: T.length,
1481
- [s.NUMBER_REWORKS]: k.current,
1482
- [s.EVENT_DURATION]: Date.now() - A.current,
1483
- [s.NUMBER_OF_RESULTS]: D.length
1481
+ [s.QUERY_LENGTH]: E.length,
1482
+ [s.NUMBER_REWORKS]: A.current,
1483
+ [s.EVENT_DURATION]: Date.now() - j.current,
1484
+ [s.NUMBER_OF_RESULTS]: O.length
1484
1485
  }
1485
- }), z(G.AsrClickThrough);
1486
+ }), R(W.AsrClickThrough);
1486
1487
  } catch (e) {
1487
1488
  r.error(e);
1488
1489
  }
1489
- }, ce = () => {
1490
- j.current = !0;
1491
- }, le = (n) => {
1490
+ }, le = () => {
1491
+ M.current = !0;
1492
+ }, ue = (n) => {
1492
1493
  let i = n.target.value;
1493
1494
  I(!i);
1494
1495
  try {
1495
- A.current === 0 && (A.current = Date.now()), i.length < T.length && (k.current += 1), j.current && !M.current && i && (M.current = !0, d({
1496
+ j.current === 0 && (j.current = Date.now()), i.length < E.length && (A.current += 1), M.current && !N.current && i && (N.current = !0, d({
1496
1497
  eventName: o.ASR_SEARCH_AFTER_TIPS,
1497
1498
  params: { programId: t }
1498
- }), z(G.AsrSearchAfterTips));
1499
+ }), R(W.AsrSearchAfterTips));
1499
1500
  } catch (e) {
1500
1501
  r.error(e);
1501
1502
  }
1502
- E(i), e({
1503
+ D(i), e({
1503
1504
  id: 0,
1504
1505
  name: i
1505
1506
  });
1506
- }, ue = (0, K.useRef)(null);
1507
- (0, K.useEffect)(() => {
1508
- v("organization", ue.current);
1507
+ }, de = (0, G.useRef)(null);
1508
+ (0, G.useEffect)(() => {
1509
+ y("organization", de.current);
1509
1510
  });
1510
- let de = (e) => {
1511
- P(!0), e.currentTarget.value ? (I(!1), H(!0)) : I(!0);
1512
- }, fe = (e) => {
1513
- e.relatedTarget?.id !== `${p}-clear-button` && (P(!1), C());
1514
- }, pe = (t) => {
1515
- (t.type === "mousedown" || "key" in t && t.key === "Enter") && (E(""), e({
1511
+ let fe = (e) => {
1512
+ F(!0), e.currentTarget.value ? (I(!1), V(!0)) : I(!0);
1513
+ }, pe = (e) => {
1514
+ e.relatedTarget?.id !== `${p}-clear-button` && (F(!1), w());
1515
+ }, me = (t) => {
1516
+ (t.type === "mousedown" || "key" in t && t.key === "Enter") && (D(""), e({
1516
1517
  id: void 0,
1517
1518
  name: ""
1518
- }), ue.current.focus());
1519
+ }), de.current.focus());
1519
1520
  };
1520
- return /* @__PURE__ */ (0, q.jsxs)("div", {
1521
+ return /* @__PURE__ */ (0, K.jsxs)("div", {
1521
1522
  className: "sid-organization-list",
1522
1523
  children: [
1523
- /* @__PURE__ */ (0, q.jsxs)("div", {
1524
+ /* @__PURE__ */ (0, K.jsxs)("div", {
1524
1525
  className: "sid-text-input__wrapper",
1525
- children: [/* @__PURE__ */ (0, q.jsx)("input", {
1526
- ...ae({
1527
- ref: ue,
1528
- onChange: le,
1529
- onFocus: (e) => de(e),
1530
- onBlur: (e) => fe(e),
1526
+ children: [/* @__PURE__ */ (0, K.jsx)("input", {
1527
+ ...oe({
1528
+ ref: de,
1529
+ onChange: ue,
1530
+ onFocus: (e) => fe(e),
1531
+ onBlur: (e) => pe(e),
1531
1532
  onKeyDown: (e) => {
1532
- e.key !== "Tab" && e.key !== "Escape" && H(!0);
1533
+ e.key !== "Tab" && e.key !== "Escape" && V(!0);
1533
1534
  }
1534
1535
  }),
1535
1536
  className: `sid-l-full-width sid-hidden-placeholder sid-text-input ${n}`,
1536
1537
  disabled: c,
1537
1538
  id: p,
1538
- autoFocus: S,
1539
+ autoFocus: C,
1539
1540
  placeholder: u,
1540
1541
  "aria-required": g,
1541
1542
  "aria-controls": "sid-org-list-menu",
1542
- "aria-describedby": x,
1543
- "aria-invalid": b,
1543
+ "aria-describedby": S,
1544
+ "aria-invalid": x,
1544
1545
  "aria-labelledby": `${p}-label`
1545
- }), V && /* @__PURE__ */ (0, q.jsx)(or, {
1546
- sortByRelevanceLabel: w.formatMessage({
1546
+ }), B && /* @__PURE__ */ (0, K.jsx)(or, {
1547
+ sortByRelevanceLabel: T.formatMessage({
1547
1548
  id: "orgSearchSortByRelevance",
1548
1549
  defaultMessage: "Sort by Relevance"
1549
1550
  }),
1550
- sortByDistanceLabel: w.formatMessage({
1551
+ sortByDistanceLabel: T.formatMessage({
1551
1552
  id: "orgSearchSortByDistance",
1552
1553
  defaultMessage: "Sort by Distance"
1553
1554
  }),
1554
- accessibilityLabel: w.formatMessage({
1555
+ accessibilityLabel: T.formatMessage({
1555
1556
  id: "orgSearchSortAccessibilityLabel",
1556
1557
  defaultMessage: "Sort search results"
1557
1558
  }),
1558
1559
  on: (e) => {
1559
1560
  switch (e) {
1560
1561
  case "openSortMenu":
1561
- z(G.OrgSearchOpenSortMenu);
1562
+ R(W.OrgSearchOpenSortMenu);
1562
1563
  break;
1563
1564
  case "sortDistance":
1564
- z(G.OrgSearchSortDistance);
1565
+ R(W.OrgSearchSortDistance);
1565
1566
  break;
1566
1567
  case "sortRelevance":
1567
- z(G.OrgSearchSortRelevance);
1568
+ R(W.OrgSearchSortRelevance);
1568
1569
  break;
1569
1570
  default: break;
1570
1571
  }
1571
1572
  }
1572
1573
  })]
1573
1574
  }),
1574
- N && !V ? /* @__PURE__ */ (0, q.jsx)(vr, {
1575
+ P && !B ? /* @__PURE__ */ (0, K.jsx)(vr, {
1575
1576
  id: `${p}-clear-button`,
1576
- disabled: F,
1577
- onMouseDown: pe,
1578
- onKeyDown: pe,
1579
- handleOnBlur: fe
1577
+ disabled: ee,
1578
+ onMouseDown: me,
1579
+ onKeyDown: me,
1580
+ handleOnBlur: pe
1580
1581
  }) : null,
1581
- /* @__PURE__ */ (0, q.jsx)("div", {
1582
- ...ne(),
1582
+ /* @__PURE__ */ (0, K.jsx)("div", {
1583
+ ...re(),
1583
1584
  className: "sid-organization-list__menu-wrapper",
1584
- children: T && ee || V && T ? /* @__PURE__ */ (0, q.jsx)(gr, {
1585
+ children: E && te || B && E ? /* @__PURE__ */ (0, K.jsx)(gr, {
1585
1586
  countryCode: i,
1586
- getItemProps: ie,
1587
- highlightedIndex: te,
1588
- itemToString: U,
1587
+ getItemProps: ae,
1588
+ highlightedIndex: ne,
1589
+ itemToString: H,
1589
1590
  minimumSearchValueLength: l,
1590
- onLoaded: (e) => O(e),
1591
+ onLoaded: (e) => k(e),
1591
1592
  programId: t,
1592
1593
  orgSearchUrl: h,
1593
1594
  locale: _,
1594
- urlAddSchoolForm: y,
1595
- onClickAddSchool: se,
1596
- onTipsShown: ce,
1595
+ urlAddSchoolForm: b,
1596
+ onClickAddSchool: ce,
1597
+ onTipsShown: le,
1597
1598
  openOrgSearchEnabled: m,
1598
- searchUrlParams: B ? { format: "detailed" } : void 0
1599
+ searchUrlParams: z ? { format: "detailed" } : void 0
1599
1600
  }) : null
1600
1601
  })
1601
1602
  ]
1602
1603
  });
1603
- }), br = (e) => z(() => e.id) === 0 && z(() => e.name, "").length > 0, xr = (e, t) => z(() => e.openOrgSearchEnabled) && br(t.organization), Sr = f(({ fieldId: t, value: n, verificationService: r, onChange: i, placeholder: a, label: o, errorMessage: s, warningMessage: c, helperMessage: d, showPlaceholderAndHideLabel: f = !1, isRequired: p = !0, explanation: h = "", orgSearchUrl: g, urlAddSchoolForm: _, disabled: v = !1, intl: b }) => {
1604
- let x = `sid-${y(t)}`, S = `sid-${y(t)}-error`, C = `sid-${y(t)}-warning`, { programId: w, programTheme: T, verificationResponse: E, viewModel: D } = r, O = e(() => D.countryChoice.value), k = ie(T, O), A = u(D, E), [j, M] = (0, K.useState)(!1), N = R("org-search-overlay") === "overlay", P = N || R("org-selected-display") === "box-display", F = R("hc-open-org-warning") === "warning-orange", I = R("hc-open-org-warning") === "warning-gray", L = F || I, [z, B] = (0, K.useState)(!1), V = e(() => T.openOrgSearchEnabled), H = () => {
1605
- V && br(n) ? B(!0) : B(!1);
1606
- }, U = (e) => {
1607
- z && B(!1), i(e);
1608
- }, ee = z && L && /* @__PURE__ */ (0, q.jsx)(m, {
1604
+ }), br = (e) => A(() => e.id) === 0 && A(() => e.name, "").length > 0, xr = (e, t) => A(() => e.openOrgSearchEnabled) && br(t.organization), Sr = f(({ fieldId: t, value: n, verificationService: r, onChange: i, placeholder: a, label: o, errorMessage: s, warningMessage: c, helperMessage: d, showPlaceholderAndHideLabel: f = !1, isRequired: p = !0, explanation: h = "", orgSearchUrl: g, urlAddSchoolForm: _, disabled: y = !1, intl: x }) => {
1605
+ let S = `sid-${b(t)}`, C = `sid-${b(t)}-error`, w = `sid-${b(t)}-warning`, { programId: T, programTheme: E, verificationResponse: D, viewModel: O } = r, k = e(() => O.countryChoice.value), A = ae(E, k), j = u(O, D), [M, N] = (0, G.useState)(!1), P = v("org-search-overlay") === "overlay", F = P || v("org-selected-display") === "box-display", ee = v("hc-open-org-warning") === "warning-orange", I = v("hc-open-org-warning") === "warning-gray", L = ee || I, [R, z] = (0, G.useState)(!1), B = e(() => E.openOrgSearchEnabled), V = () => {
1606
+ B && br(n) ? z(!0) : z(!1);
1607
+ }, H = (e) => {
1608
+ R && z(!1), i(e);
1609
+ }, te = R && L && /* @__PURE__ */ (0, K.jsx)(m, {
1609
1610
  id: "warningId.openOrganization",
1610
1611
  defaultMessage: "We couldn't find a match for that name in our database. Please double-check the spelling, if it's correct, feel free to continue!"
1611
- }), W = c || F && ee, G = d || I && ee;
1612
- return /* @__PURE__ */ (0, q.jsx)(fe, {
1613
- enabled: N,
1614
- closeSectionLabel: /* @__PURE__ */ (0, q.jsx)(m, {
1612
+ }), U = c || ee && te, W = d || I && te;
1613
+ return /* @__PURE__ */ (0, K.jsx)(pe, {
1614
+ enabled: P,
1615
+ closeSectionLabel: /* @__PURE__ */ (0, K.jsx)(m, {
1615
1616
  id: "closeSection",
1616
1617
  defaultMessage: "Close Section"
1617
1618
  }),
1618
- children: /* @__PURE__ */ (0, q.jsx)(ne, {
1619
+ children: /* @__PURE__ */ (0, K.jsx)(re, {
1619
1620
  fieldId: t,
1620
1621
  label: o,
1621
1622
  errorMessage: s,
1622
- warningMessage: W,
1623
- helperMessage: G,
1623
+ warningMessage: U,
1624
+ helperMessage: W,
1624
1625
  showPlaceholderAndHideLabel: f,
1625
- isRequired: p || k,
1626
- explanation: k ? /* @__PURE__ */ (0, q.jsx)(m, {
1626
+ isRequired: p || A,
1627
+ explanation: A ? /* @__PURE__ */ (0, K.jsx)(m, {
1627
1628
  id: "chooseCountry",
1628
1629
  defaultMessage: "Choose a country before searching"
1629
1630
  }) : h,
1630
- containerId: `${x}-id`,
1631
- children: P && n.id ? /* @__PURE__ */ (0, q.jsx)(pe, {
1631
+ containerId: `${S}-id`,
1632
+ children: F && n.id ? /* @__PURE__ */ (0, K.jsx)(me, {
1632
1633
  org: n,
1633
1634
  onClear: () => {
1634
- U(void 0), M(!0);
1635
+ H(void 0), N(!0);
1635
1636
  },
1636
- clearSelectionLabel: b.formatMessage({
1637
+ clearSelectionLabel: x.formatMessage({
1637
1638
  id: "clearSelection",
1638
1639
  defaultMessage: "Clear selection"
1639
1640
  }),
1640
- labelId: te(t)
1641
- }) : /* @__PURE__ */ (0, q.jsx)(yr, {
1642
- className: s ? "sid-text-input--error" : W ? "sid-text-input--warning" : "",
1643
- disabled: k || v,
1644
- countryCode: O,
1641
+ labelId: ne(t)
1642
+ }) : /* @__PURE__ */ (0, K.jsx)(yr, {
1643
+ className: s ? "sid-text-input--error" : U ? "sid-text-input--warning" : "",
1644
+ disabled: A || y,
1645
+ countryCode: k,
1645
1646
  minimumSearchValueLength: l().minimumOrganizationSearchLength,
1646
- onChange: U,
1647
+ onChange: H,
1647
1648
  placeholder: a,
1648
- programId: w,
1649
+ programId: T,
1649
1650
  value: n,
1650
- inputHtmlId: x,
1651
- openOrgSearchEnabled: T.openOrgSearchEnabled,
1652
- locale: A,
1653
- orgSearchUrl: g || e(() => T.config.orgSearchUrl),
1651
+ inputHtmlId: S,
1652
+ openOrgSearchEnabled: E.openOrgSearchEnabled,
1653
+ locale: j,
1654
+ orgSearchUrl: g || e(() => E.config.orgSearchUrl),
1654
1655
  urlAddSchoolForm: _,
1655
1656
  isRequired: p,
1656
1657
  isErrored: !!s,
1657
1658
  ariaDescribedBy: (() => {
1658
- if (s) return S;
1659
- if (W) return C;
1659
+ if (s) return C;
1660
+ if (U) return w;
1660
1661
  })(),
1661
- autoFocus: j,
1662
- onBlur: H
1662
+ autoFocus: M,
1663
+ onBlur: V
1663
1664
  })
1664
1665
  })
1665
1666
  });