@sheerid/jslib 2.277.0 → 2.279.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 (429) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +91 -91
  3. package/chunk/AddressComponent-BXt3LO3L.js +41 -0
  4. package/chunk/AddressComponent-BXt3LO3L.js.map +1 -0
  5. package/chunk/AddressComponent-lF-v0RZf.js +37 -0
  6. package/chunk/AddressComponent-lF-v0RZf.js.map +1 -0
  7. package/chunk/AnnouncingHeader-CCVSQeQR.js +4 -4
  8. package/chunk/AnnouncingHeader-YPjBYzsZ.js +4 -4
  9. package/chunk/{ApiUrls-C93kMsSC.js → ApiUrls-CKbVuRAx.js} +5 -5
  10. package/chunk/{ApiUrls-C93kMsSC.js.map → ApiUrls-CKbVuRAx.js.map} +1 -1
  11. package/chunk/{ApiUrls-BEuqNxHS.js → ApiUrls-K7CaWewT.js} +5 -5
  12. package/chunk/{ApiUrls-BEuqNxHS.js.map → ApiUrls-K7CaWewT.js.map} +1 -1
  13. package/chunk/{BirthDateComponent-f9e4it7x.js → BirthDateComponent-CD4M-BN9.js} +6 -6
  14. package/chunk/{BirthDateComponent-MZDnneXy.js.map → BirthDateComponent-CD4M-BN9.js.map} +1 -1
  15. package/chunk/{BirthDateComponent-MZDnneXy.js → BirthDateComponent-D3HhW2Lq.js} +6 -6
  16. package/chunk/{BirthDateComponent-f9e4it7x.js.map → BirthDateComponent-D3HhW2Lq.js.map} +1 -1
  17. package/chunk/{CaptchaComponent-CCq7YSum.js → CaptchaComponent-DlgV116k.js} +122 -121
  18. package/chunk/CaptchaComponent-DlgV116k.js.map +1 -0
  19. package/chunk/{CaptchaComponent-hqx9tSkk.js → CaptchaComponent-_azicSSq.js} +122 -121
  20. package/chunk/CaptchaComponent-_azicSSq.js.map +1 -0
  21. package/chunk/{ChangeLocaleComponent-DtJjnuBc.js → ChangeLocaleComponent-DaswLDgf.js} +62 -61
  22. package/chunk/{ChangeLocaleComponent-CKKK4OcA.js.map → ChangeLocaleComponent-DaswLDgf.js.map} +1 -1
  23. package/chunk/{ChangeLocaleComponent-CKKK4OcA.js → ChangeLocaleComponent-oYqC5rPO.js} +62 -61
  24. package/chunk/{ChangeLocaleComponent-DtJjnuBc.js.map → ChangeLocaleComponent-oYqC5rPO.js.map} +1 -1
  25. package/chunk/City-Ca92IEBF.js +36 -0
  26. package/chunk/City-Ca92IEBF.js.map +1 -0
  27. package/chunk/City-DT_jbaQV.js +40 -0
  28. package/chunk/City-DT_jbaQV.js.map +1 -0
  29. package/chunk/{CollegeNameComponent-C47D3rO4.js → CollegeNameComponent-BPwD0IZd.js} +6 -6
  30. package/chunk/{CollegeNameComponent-4QYMIIcd.js.map → CollegeNameComponent-BPwD0IZd.js.map} +1 -1
  31. package/chunk/{CollegeNameComponent-4QYMIIcd.js → CollegeNameComponent-CPHVzAfn.js} +6 -6
  32. package/chunk/{CollegeNameComponent-C47D3rO4.js.map → CollegeNameComponent-CPHVzAfn.js.map} +1 -1
  33. package/chunk/CopyToClipboardComponent-DGi3bxV2.js +4 -4
  34. package/chunk/CopyToClipboardComponent-cLuyXFes.js +4 -4
  35. package/chunk/CountryComponentWrapper-BfX4aqM2.js +82 -0
  36. package/chunk/CountryComponentWrapper-BfX4aqM2.js.map +1 -0
  37. package/chunk/CountryComponentWrapper-DziHrBMX.js +78 -0
  38. package/chunk/CountryComponentWrapper-DziHrBMX.js.map +1 -0
  39. package/chunk/DischargeDateComponent-BrNcDHcj.js +119 -0
  40. package/chunk/DischargeDateComponent-BrNcDHcj.js.map +1 -0
  41. package/chunk/DischargeDateComponent-Caq0MbSz.js +115 -0
  42. package/chunk/DischargeDateComponent-Caq0MbSz.js.map +1 -0
  43. package/chunk/DriverLicenseNumberComponent-BeJbl-IS.js +39 -0
  44. package/chunk/DriverLicenseNumberComponent-BeJbl-IS.js.map +1 -0
  45. package/chunk/DriverLicenseNumberComponent-DqHVF2Mw.js +43 -0
  46. package/chunk/DriverLicenseNumberComponent-DqHVF2Mw.js.map +1 -0
  47. package/chunk/{EmailLoopPending-HyZBgisU.js → EmailLoopPending-Dc_6ANLw.js} +40 -49
  48. package/chunk/EmailLoopPending-Dc_6ANLw.js.map +1 -0
  49. package/chunk/{EmailLoopPending-ojWCBFjq.js → EmailLoopPending-i9SDmULt.js} +39 -48
  50. package/chunk/EmailLoopPending-i9SDmULt.js.map +1 -0
  51. package/chunk/{ExtraMessage-BXxlQROb.js → ExtraMessage-BCHypT6I.js} +5 -5
  52. package/chunk/{ExtraMessage-BXxlQROb.js.map → ExtraMessage-BCHypT6I.js.map} +1 -1
  53. package/chunk/{ExtraMessage-PLTUBdhw.js → ExtraMessage-owvdVH7U.js} +5 -5
  54. package/chunk/{ExtraMessage-PLTUBdhw.js.map → ExtraMessage-owvdVH7U.js.map} +1 -1
  55. package/chunk/FirstResponderOrganizationComponent-Cq8brgQb.js +37 -0
  56. package/chunk/FirstResponderOrganizationComponent-Cq8brgQb.js.map +1 -0
  57. package/chunk/FirstResponderOrganizationComponent-zm8038ks.js +41 -0
  58. package/chunk/FirstResponderOrganizationComponent-zm8038ks.js.map +1 -0
  59. package/chunk/{FormFieldInputSelect-C6OyLsWL.js → FormFieldInputSelect-B56HjXNt.js} +5 -5
  60. package/chunk/{FormFieldInputSelect-C6OyLsWL.js.map → FormFieldInputSelect-B56HjXNt.js.map} +1 -1
  61. package/chunk/{FormFieldInputSelect-Cl4QZ12h.js → FormFieldInputSelect-CTkrJXtl.js} +5 -5
  62. package/chunk/{FormFieldInputSelect-Cl4QZ12h.js.map → FormFieldInputSelect-CTkrJXtl.js.map} +1 -1
  63. package/chunk/FormFieldLayout-C4SCdGBC.js +4 -4
  64. package/chunk/FormFieldLayout-Cj_v9kYa.js +4 -4
  65. package/chunk/FormFieldText-BbdrtNh_.js +4 -4
  66. package/chunk/FormFieldText-Gf13Luq7.js +4 -4
  67. package/chunk/{FormFieldTypeahead-DbrQgvbJ.js → FormFieldTypeahead-DV-Vbq4P.js} +465 -469
  68. package/chunk/{FormFieldTypeahead-DTFxOQnf.js.map → FormFieldTypeahead-DV-Vbq4P.js.map} +1 -1
  69. package/chunk/{FormFieldTypeahead-DTFxOQnf.js → FormFieldTypeahead-rknI__Ge.js} +385 -389
  70. package/chunk/{FormFieldTypeahead-DbrQgvbJ.js.map → FormFieldTypeahead-rknI__Ge.js.map} +1 -1
  71. package/chunk/FormFooterComponent-CKDwnyg2.js +2006 -0
  72. package/chunk/FormFooterComponent-CKDwnyg2.js.map +1 -0
  73. package/chunk/FormFooterComponent-DEFTsR2L.js +1980 -0
  74. package/chunk/FormFooterComponent-DEFTsR2L.js.map +1 -0
  75. package/chunk/{FormSelectChoice-C4LlT7fR.js → FormSelectChoice-BLwNcyNA.js} +5 -5
  76. package/chunk/{FormSelectChoice-C4LlT7fR.js.map → FormSelectChoice-BLwNcyNA.js.map} +1 -1
  77. package/chunk/{FormSelectChoice-CClt04rV.js → FormSelectChoice-CNxt_oMb.js} +5 -5
  78. package/chunk/{FormSelectChoice-CClt04rV.js.map → FormSelectChoice-CNxt_oMb.js.map} +1 -1
  79. package/chunk/InputText-BXPuBlPq.js +4 -4
  80. package/chunk/InputText-h_myNeHr.js +4 -4
  81. package/chunk/LicensedProfessionalOrganizationComponent-BbKzyFwo.js +40 -0
  82. package/chunk/LicensedProfessionalOrganizationComponent-BbKzyFwo.js.map +1 -0
  83. package/chunk/LicensedProfessionalOrganizationComponent-MO7F0SpQ.js +36 -0
  84. package/chunk/LicensedProfessionalOrganizationComponent-MO7F0SpQ.js.map +1 -0
  85. package/chunk/LogoComponent-Do8K5ydz.js +4 -4
  86. package/chunk/LogoComponent-Dx1G-rzE.js +4 -4
  87. package/chunk/LowIncomeOrganizationComponent-DjlrreR8.js +100 -0
  88. package/chunk/LowIncomeOrganizationComponent-DjlrreR8.js.map +1 -0
  89. package/chunk/LowIncomeOrganizationComponent-eipgmum9.js +104 -0
  90. package/chunk/LowIncomeOrganizationComponent-eipgmum9.js.map +1 -0
  91. package/chunk/MedicalProfessionalOrganizationComponent-BCYOuT46.js +37 -0
  92. package/chunk/MedicalProfessionalOrganizationComponent-BCYOuT46.js.map +1 -0
  93. package/chunk/MedicalProfessionalOrganizationComponent-BTlqVGFC.js +41 -0
  94. package/chunk/MedicalProfessionalOrganizationComponent-BTlqVGFC.js.map +1 -0
  95. package/chunk/MemberIdComponent-BRu3zJYi.js +43 -0
  96. package/chunk/MemberIdComponent-BRu3zJYi.js.map +1 -0
  97. package/chunk/MemberIdComponent-DDoGHydu.js +39 -0
  98. package/chunk/MemberIdComponent-DDoGHydu.js.map +1 -0
  99. package/chunk/MembershipOrganizationComponent-CPvwsgGQ.js +36 -0
  100. package/chunk/MembershipOrganizationComponent-CPvwsgGQ.js.map +1 -0
  101. package/chunk/MembershipOrganizationComponent-E2KnhazB.js +40 -0
  102. package/chunk/MembershipOrganizationComponent-E2KnhazB.js.map +1 -0
  103. package/chunk/{FormFooterComponent-CaOt9TQw.js → Message-C8RQk5lc.js} +6392 -6917
  104. package/chunk/Message-C8RQk5lc.js.map +1 -0
  105. package/chunk/{FormFooterComponent-B2W5vjOS.js → Message-Sbek6JOj.js} +7582 -8121
  106. package/chunk/Message-Sbek6JOj.js.map +1 -0
  107. package/chunk/Onfido-CTCgAwnB.js +4 -4
  108. package/chunk/{PersonalInfoStepSubmitButton-D_Y9q0Iy.js → PersonalInfoStepSubmitButton-DGdDk2n_.js} +35 -34
  109. package/chunk/PersonalInfoStepSubmitButton-DGdDk2n_.js.map +1 -0
  110. package/chunk/{PersonalInfoStepSubmitButton-DA3ceOLw.js → PersonalInfoStepSubmitButton-ksVF3h1P.js} +35 -34
  111. package/chunk/PersonalInfoStepSubmitButton-ksVF3h1P.js.map +1 -0
  112. package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js → PersonalInfoStepWrapper-BUOcq-Sb.js} +6 -6
  113. package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js.map → PersonalInfoStepWrapper-BUOcq-Sb.js.map} +1 -1
  114. package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js → PersonalInfoStepWrapper-bFDtj-hV.js} +5 -5
  115. package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js.map → PersonalInfoStepWrapper-bFDtj-hV.js.map} +1 -1
  116. package/chunk/PostalCodeComponent-C6gU75E3.js +42 -0
  117. package/chunk/PostalCodeComponent-C6gU75E3.js.map +1 -0
  118. package/chunk/PostalCodeComponent-DShP_eiB.js +38 -0
  119. package/chunk/PostalCodeComponent-DShP_eiB.js.map +1 -0
  120. package/chunk/SSN-BF8VH8xi.js +45 -0
  121. package/chunk/SSN-BF8VH8xi.js.map +1 -0
  122. package/chunk/SSN-X45bqqG5.js +49 -0
  123. package/chunk/SSN-X45bqqG5.js.map +1 -0
  124. package/chunk/StateSelectComponent-DEsJPcGo.js +38 -0
  125. package/chunk/StateSelectComponent-DEsJPcGo.js.map +1 -0
  126. package/chunk/StateSelectComponent-MEcusWyr.js +42 -0
  127. package/chunk/StateSelectComponent-MEcusWyr.js.map +1 -0
  128. package/chunk/{StatusComponent-BTvs1WVn.js → StatusComponent-BlVRLPOR.js} +6 -6
  129. package/chunk/{StatusComponent-BTvs1WVn.js.map → StatusComponent-BlVRLPOR.js.map} +1 -1
  130. package/chunk/{StatusComponent-BxQNsHYs.js → StatusComponent-DP2VlynN.js} +6 -6
  131. package/chunk/{StatusComponent-BxQNsHYs.js.map → StatusComponent-DP2VlynN.js.map} +1 -1
  132. package/chunk/{StepAgePersonalInfo-BOnOqXxm.js → StepAgePersonalInfo-BfVe24h1.js} +39 -39
  133. package/chunk/{StepAgePersonalInfo-BOnOqXxm.js.map → StepAgePersonalInfo-BfVe24h1.js.map} +1 -1
  134. package/chunk/{StepAgePersonalInfo-UWfkIpnn.js → StepAgePersonalInfo-BsftVg7L.js} +39 -39
  135. package/chunk/{StepAgePersonalInfo-UWfkIpnn.js.map → StepAgePersonalInfo-BsftVg7L.js.map} +1 -1
  136. package/chunk/StepCard-B0o7IN6g.js +4 -4
  137. package/chunk/StepCard-CWT2BiAH.js +4 -4
  138. package/chunk/{StepCollectIdentifier-D7bSwvYI.js → StepCollectIdentifier-BbSr7Z9A.js} +9 -9
  139. package/chunk/{StepCollectIdentifier-D7bSwvYI.js.map → StepCollectIdentifier-BbSr7Z9A.js.map} +1 -1
  140. package/chunk/{StepCollectIdentifier-CtpUvhZs.js → StepCollectIdentifier-DWxYhtYJ.js} +7 -7
  141. package/chunk/{StepCollectIdentifier-CtpUvhZs.js.map → StepCollectIdentifier-DWxYhtYJ.js.map} +1 -1
  142. package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js → StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js} +58 -58
  143. package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js.map → StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js.map} +1 -1
  144. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js → StepCollectMilitaryPersonalInfoComponent-CXBsaj89.js} +58 -58
  145. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js.map → StepCollectMilitaryPersonalInfoComponent-CXBsaj89.js.map} +1 -1
  146. package/chunk/StepCollectPersonalInfo-CpZ03KDD.js +368 -0
  147. package/chunk/{StepCollectPersonalInfo-CzLVKlZ3.js.map → StepCollectPersonalInfo-CpZ03KDD.js.map} +1 -1
  148. package/chunk/StepCollectPersonalInfo-Dl1oW7u9.js +372 -0
  149. package/chunk/{StepCollectPersonalInfo-BlAJbqgb.js.map → StepCollectPersonalInfo-Dl1oW7u9.js.map} +1 -1
  150. package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js → StepCompleteAuthentication-BZrnQ5_y.js} +8 -8
  151. package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js.map → StepCompleteAuthentication-BZrnQ5_y.js.map} +1 -1
  152. package/chunk/{StepCompleteAuthentication-D7NH3MFa.js → StepCompleteAuthentication-mYpzxp_K.js} +8 -8
  153. package/chunk/{StepCompleteAuthentication-D7NH3MFa.js.map → StepCompleteAuthentication-mYpzxp_K.js.map} +1 -1
  154. package/chunk/{StepConsolation-BrzJnbYN.js → StepConsolation-B-89ZSSf.js} +5 -5
  155. package/chunk/{StepConsolation-BrzJnbYN.js.map → StepConsolation-B-89ZSSf.js.map} +1 -1
  156. package/chunk/{StepConsolation-C5ZHdmQ6.js → StepConsolation-CyFzsf7D.js} +5 -5
  157. package/chunk/{StepConsolation-C5ZHdmQ6.js.map → StepConsolation-CyFzsf7D.js.map} +1 -1
  158. package/chunk/{StepDocUpload-D2_e55pR.js → StepDocUpload-BhSHl2xg.js} +579 -581
  159. package/chunk/{StepDocUpload-BuH-EW5U.js.map → StepDocUpload-BhSHl2xg.js.map} +1 -1
  160. package/chunk/{StepDocUpload-BuH-EW5U.js → StepDocUpload-Da23Nac7.js} +563 -565
  161. package/chunk/{StepDocUpload-D2_e55pR.js.map → StepDocUpload-Da23Nac7.js.map} +1 -1
  162. package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js → StepDriverLicensePersonalInfoComponent-BzzPdAKT.js} +29 -29
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js.map → StepDriverLicensePersonalInfoComponent-BzzPdAKT.js.map} +1 -1
  164. package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js → StepDriverLicensePersonalInfoComponent-DZREXMwQ.js} +29 -29
  165. package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js.map → StepDriverLicensePersonalInfoComponent-DZREXMwQ.js.map} +1 -1
  166. package/chunk/{StepEmailLoop-138hnevc.js → StepEmailLoop-D84khZXV.js} +57 -57
  167. package/chunk/{StepEmailLoop-138hnevc.js.map → StepEmailLoop-D84khZXV.js.map} +1 -1
  168. package/chunk/{StepEmailLoop-p3PjfBvc.js → StepEmailLoop-DROpnxge.js} +57 -57
  169. package/chunk/{StepEmailLoop-p3PjfBvc.js.map → StepEmailLoop-DROpnxge.js.map} +1 -1
  170. package/chunk/StepEmploymentPersonalInfo-BGr1Yvq_.js +216 -0
  171. package/chunk/StepEmploymentPersonalInfo-BGr1Yvq_.js.map +1 -0
  172. package/chunk/StepEmploymentPersonalInfo-D7RPMyzC.js +220 -0
  173. package/chunk/StepEmploymentPersonalInfo-D7RPMyzC.js.map +1 -0
  174. package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js → StepFirstResponderPersonalInfo-CjNdy_IK.js} +42 -42
  175. package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js.map → StepFirstResponderPersonalInfo-CjNdy_IK.js.map} +1 -1
  176. package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js → StepFirstResponderPersonalInfo-DQCaR_hD.js} +42 -42
  177. package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js.map → StepFirstResponderPersonalInfo-DQCaR_hD.js.map} +1 -1
  178. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js → StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js} +38 -38
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js.map → StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js.map} +1 -1
  180. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js → StepGeneralIdentityPersonalInfoComponent-DRxMlfke.js} +38 -38
  181. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js.map → StepGeneralIdentityPersonalInfoComponent-DRxMlfke.js.map} +1 -1
  182. package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js → StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js} +41 -41
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js.map → StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js.map} +1 -1
  184. package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js → StepHybridIdentityPersonalInfoComponent-DmXgxIAw.js} +41 -41
  185. package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js.map → StepHybridIdentityPersonalInfoComponent-DmXgxIAw.js.map} +1 -1
  186. package/chunk/{StepIDCheckLoop-CX6VsvAJ.js → StepIDCheckLoop-9dhIxbuJ.js} +5 -5
  187. package/chunk/{StepIDCheckLoop-CX6VsvAJ.js.map → StepIDCheckLoop-9dhIxbuJ.js.map} +1 -1
  188. package/chunk/{StepIDCheckLoop-DFhu-v9n.js → StepIDCheckLoop-DTIF9BCb.js} +5 -5
  189. package/chunk/{StepIDCheckLoop-DFhu-v9n.js.map → StepIDCheckLoop-DTIF9BCb.js.map} +1 -1
  190. package/chunk/{StepIDCheckLoopOnfido-CiuUU7f9.js → StepIDCheckLoopOnfido-BxY2wBPp.js} +112 -113
  191. package/chunk/StepIDCheckLoopOnfido-BxY2wBPp.js.map +1 -0
  192. package/chunk/{StepIDCheckLoopOnfido-0o-ZdynC.js → StepIDCheckLoopOnfido-DEwJWvD5.js} +112 -113
  193. package/chunk/StepIDCheckLoopOnfido-DEwJWvD5.js.map +1 -0
  194. package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js → StepIDCheckLoopRegula-B6NsjTDL.js} +6 -5
  195. package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js.map → StepIDCheckLoopRegula-B6NsjTDL.js.map} +1 -1
  196. package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js → StepIDCheckLoopRegula-CnxabsF_.js} +6 -5
  197. package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js.map → StepIDCheckLoopRegula-CnxabsF_.js.map} +1 -1
  198. package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js → StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js} +39 -39
  199. package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js.map → StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js.map} +1 -1
  200. package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js → StepLicensedProfessionalPersonalInfo-avWn-HsU.js} +39 -39
  201. package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js.map → StepLicensedProfessionalPersonalInfo-avWn-HsU.js.map} +1 -1
  202. package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js → StepLowIncomePersonalInfo-Du_sG7Xc.js} +54 -54
  203. package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js.map → StepLowIncomePersonalInfo-Du_sG7Xc.js.map} +1 -1
  204. package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js → StepLowIncomePersonalInfo-qYLCAzKx.js} +54 -54
  205. package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js.map → StepLowIncomePersonalInfo-qYLCAzKx.js.map} +1 -1
  206. package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js → StepMedicalProfessionalPersonalInfo-B9f28oQh.js} +44 -44
  207. package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js.map → StepMedicalProfessionalPersonalInfo-B9f28oQh.js.map} +1 -1
  208. package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js → StepMedicalProfessionalPersonalInfo-C9owmZP4.js} +44 -44
  209. package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js.map → StepMedicalProfessionalPersonalInfo-C9owmZP4.js.map} +1 -1
  210. package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js → StepMemberPersonalInfo-B3abjYzP.js} +27 -27
  211. package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js.map → StepMemberPersonalInfo-B3abjYzP.js.map} +1 -1
  212. package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js → StepMemberPersonalInfo-BjwgnTyJ.js} +27 -27
  213. package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js.map → StepMemberPersonalInfo-BjwgnTyJ.js.map} +1 -1
  214. package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js → StepMoverPersonalInfo-BuAttGuv.js} +28 -28
  215. package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js.map → StepMoverPersonalInfo-BuAttGuv.js.map} +1 -1
  216. package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js → StepMoverPersonalInfo-DHQ4lFop.js} +28 -28
  217. package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js.map → StepMoverPersonalInfo-DHQ4lFop.js.map} +1 -1
  218. package/chunk/{StepOverrideComponent-DOBT7C22.js → StepOverrideComponent-BECVh2YW.js} +31 -33
  219. package/chunk/StepOverrideComponent-BECVh2YW.js.map +1 -0
  220. package/chunk/{StepOverrideComponent-B9HVSPlq.js → StepOverrideComponent-BbflJqAn.js} +31 -33
  221. package/chunk/StepOverrideComponent-BbflJqAn.js.map +1 -0
  222. package/chunk/StepSMSLoop-DBLKaJge.js +172 -0
  223. package/chunk/StepSMSLoop-DBLKaJge.js.map +1 -0
  224. package/chunk/StepSMSLoop-DaWjEr_v.js +168 -0
  225. package/chunk/StepSMSLoop-DaWjEr_v.js.map +1 -0
  226. package/chunk/StepSSO-BGHCbduX.js +4 -4
  227. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  228. package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js → StepSocialSecurityNumber-O1UZ-5U6.js} +10 -10
  229. package/chunk/{StepSocialSecurityNumber-DepVz3V7.js.map → StepSocialSecurityNumber-O1UZ-5U6.js.map} +1 -1
  230. package/chunk/{StepSocialSecurityNumber-DepVz3V7.js → StepSocialSecurityNumber-rJXiboT7.js} +10 -10
  231. package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js.map → StepSocialSecurityNumber-rJXiboT7.js.map} +1 -1
  232. package/chunk/{StepStudentPersonalInfo-DQMWaRSa.js → StepStudentPersonalInfo-CDJ5MqYn.js} +69 -74
  233. package/chunk/StepStudentPersonalInfo-CDJ5MqYn.js.map +1 -0
  234. package/chunk/{StepStudentPersonalInfo-CxPq9ICS.js → StepStudentPersonalInfo-tgT5jO54.js} +69 -74
  235. package/chunk/StepStudentPersonalInfo-tgT5jO54.js.map +1 -0
  236. package/chunk/{StepSuccess-CvK7t1zN.js → StepSuccess-C1pgML90.js} +6 -6
  237. package/chunk/{StepSuccess-C3a0CPsE.js.map → StepSuccess-C1pgML90.js.map} +1 -1
  238. package/chunk/{StepSuccess-C3a0CPsE.js → StepSuccess-CLv_-kPd.js} +6 -6
  239. package/chunk/{StepSuccess-CvK7t1zN.js.map → StepSuccess-CLv_-kPd.js.map} +1 -1
  240. package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js → StepTeacherPersonalInfo-BndXbwZz.js} +26 -26
  241. package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js.map → StepTeacherPersonalInfo-BndXbwZz.js.map} +1 -1
  242. package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js → StepTeacherPersonalInfo-DttiAJyO.js} +26 -26
  243. package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js.map → StepTeacherPersonalInfo-DttiAJyO.js.map} +1 -1
  244. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  245. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  246. package/chunk/{TeacherSchoolComponent-3HVz97q_.js → TeacherSchoolComponent-CnBfquOO.js} +6 -6
  247. package/chunk/{TeacherSchoolComponent-3HVz97q_.js.map → TeacherSchoolComponent-CnBfquOO.js.map} +1 -1
  248. package/chunk/{TeacherSchoolComponent-BwLUGmNi.js → TeacherSchoolComponent-DOAXb1sf.js} +6 -6
  249. package/chunk/{TeacherSchoolComponent-BwLUGmNi.js.map → TeacherSchoolComponent-DOAXb1sf.js.map} +1 -1
  250. package/chunk/TestingRouteOverrides-CAGESMw9.js +4 -4
  251. package/chunk/TestingRouteOverrides-CrhfSmLr.js +4 -4
  252. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  253. package/chunk/ar-Dh-2G5c3.js +4 -4
  254. package/chunk/bg-BbAhdJRh.js +4 -4
  255. package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
  256. package/chunk/countryUtils-AR9k3KRg.js +4 -4
  257. package/chunk/countryUtils-DWqId-zY.js +4 -4
  258. package/chunk/cs-CYGsmvju.js +4 -4
  259. package/chunk/da-COZWvvUD.js +4 -4
  260. package/chunk/de-BHclNQGr.js +4 -4
  261. package/chunk/{downshift.esm-BKI3sFd7.js → downshift.esm-CljItZH3.js} +5 -5
  262. package/chunk/{downshift.esm-BKI3sFd7.js.map → downshift.esm-CljItZH3.js.map} +1 -1
  263. package/chunk/{downshift.esm-DryiNDJI.js → downshift.esm-GP9lYKvI.js} +5 -5
  264. package/chunk/{downshift.esm-DryiNDJI.js.map → downshift.esm-GP9lYKvI.js.map} +1 -1
  265. package/chunk/el-Bv_XQ0FX.js +4 -4
  266. package/chunk/empties-B6naRhes.js +4 -4
  267. package/chunk/empties-Crmkxudi.js +4 -4
  268. package/chunk/en-GB-CkENrh2I.js +4 -4
  269. package/chunk/es-BRKAFTKN.js +4 -4
  270. package/chunk/es-ES-BWfAbWbQ.js +4 -4
  271. package/chunk/et-CxMgVbW2.js +4 -4
  272. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  273. package/chunk/fa-BEC3aNBF.js +4 -4
  274. package/chunk/fi-BaP3FR15.js +4 -4
  275. package/chunk/fr-CA-CS4SuM-m.js +4 -4
  276. package/chunk/fr-DSU2B7p2.js +4 -4
  277. package/chunk/ga-DZEr9X_A.js +4 -4
  278. package/chunk/hi-IN-DvBVpWNQ.js +4 -4
  279. package/chunk/hooks-C15H5pD-.js +4 -4
  280. package/chunk/hooks-ChQrxN58.js +4 -4
  281. package/chunk/hr-CL1lHDbu.js +4 -4
  282. package/chunk/hu-Cf5Uq9R_.js +4 -4
  283. package/chunk/id-ay9yilKx.js +4 -4
  284. package/chunk/intl-e5WHiYfA.js +4 -4
  285. package/chunk/is-tpzRyIZi.js +4 -4
  286. package/chunk/it-C3-BupR4.js +4 -4
  287. package/chunk/iw-CBna3XPT.js +4 -4
  288. package/chunk/ja-DvXOkZRn.js +4 -4
  289. package/chunk/jsx-runtime-Ini3eO9_.js +4 -4
  290. package/chunk/jsx-runtime-LqzCS-0D.js +4 -4
  291. package/chunk/kk-DGXgY6Uw.js +4 -4
  292. package/chunk/ko-BlUGwGxN.js +4 -4
  293. package/chunk/lo-DT6wxwS1.js +4 -4
  294. package/chunk/lt-CT5-H4ci.js +4 -4
  295. package/chunk/lv-CBMD1XRp.js +4 -4
  296. package/chunk/mocks-DGc1byho.js +4 -4
  297. package/chunk/mocks-RU9BGNOn.js +4 -4
  298. package/chunk/ms-DuxNeOgk.js +4 -4
  299. package/chunk/nl-BE-D028qM7-.js +4 -4
  300. package/chunk/nl-DEuaat_s.js +4 -4
  301. package/chunk/no-CjeRjD1D.js +4 -4
  302. package/chunk/options-pBCAJBwS.js +4 -4
  303. package/chunk/pl-X0qJw7IS.js +4 -4
  304. package/chunk/programThemeGetters-C9Sw0RZq.js +4 -4
  305. package/chunk/programThemeGetters-uLsgGat1.js +4 -4
  306. package/chunk/pt-BR-C6XmLn3o.js +4 -4
  307. package/chunk/pt-o7v4iOVx.js +4 -4
  308. package/chunk/refs-CGvEbCaw.js +4 -4
  309. package/chunk/refs-CI3K5ndt.js +4 -4
  310. package/chunk/ro-C74ZR3HS.js +4 -4
  311. package/chunk/ru-BA9P3RVu.js +4 -4
  312. package/chunk/sk-DmyizV49.js +4 -4
  313. package/chunk/sl-Cxm3YoWE.js +4 -4
  314. package/chunk/sr-gOtgEOlP.js +4 -4
  315. package/chunk/{stepComponentHelpers-DIHMDrmF.js → stepComponentHelpers-BOwTk6Tq.js} +39 -51
  316. package/chunk/stepComponentHelpers-BOwTk6Tq.js.map +1 -0
  317. package/chunk/{stepComponentHelpers-BdqtwfRd.js → stepComponentHelpers-Cm0-8yXr.js} +39 -51
  318. package/chunk/stepComponentHelpers-Cm0-8yXr.js.map +1 -0
  319. package/chunk/strings-DWLVdUcm.js +4 -4
  320. package/chunk/sv-DnCUWo1-.js +4 -4
  321. package/chunk/sw-BY7XXvUU.js +4 -4
  322. package/chunk/ta-CVL0b6Hh.js +4 -4
  323. package/chunk/th-CyU0RW3x.js +4 -4
  324. package/chunk/tl-BfgQ0irB.js +4 -4
  325. package/chunk/tr-BPg_L4bY.js +4 -4
  326. package/chunk/uk-CNaioa7V.js +4 -4
  327. package/chunk/ur-Ht1Mcpm0.js +4 -4
  328. package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js → useCollectFieldsEndpoint-D_Qf33n2.js} +9 -10
  329. package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js.map → useCollectFieldsEndpoint-D_Qf33n2.js.map} +1 -1
  330. package/chunk/{useCollectFieldsEndpoint-D7OQBDpX.js → useCollectFieldsEndpoint-jY0agtQB.js} +13 -14
  331. package/chunk/{useCollectFieldsEndpoint-D7OQBDpX.js.map → useCollectFieldsEndpoint-jY0agtQB.js.map} +1 -1
  332. package/chunk/useMetrics-BrHWTzbP.js +4 -4
  333. package/chunk/useMetrics-O5xTFm6y.js +4 -4
  334. package/chunk/vi-sI1BYLXG.js +4 -4
  335. package/chunk/zh-DNG4VB8r.js +4 -4
  336. package/chunk/zh-HK-5Y3ROXEm.js +4 -4
  337. package/chunk/zu-DNMG8Idu.js +4 -4
  338. package/package.json +1 -1
  339. package/sheerid-install.css +4 -4
  340. package/sheerid-install.js +4 -4
  341. package/sheerid.css +4 -4
  342. package/sheerid.js +654 -654
  343. package/sheerid.js.map +1 -1
  344. package/chunk/AddressComponent-C3iwf09x.js +0 -40
  345. package/chunk/AddressComponent-C3iwf09x.js.map +0 -1
  346. package/chunk/AddressComponent-oDHvr6bn.js +0 -36
  347. package/chunk/AddressComponent-oDHvr6bn.js.map +0 -1
  348. package/chunk/CaptchaComponent-CCq7YSum.js.map +0 -1
  349. package/chunk/CaptchaComponent-hqx9tSkk.js.map +0 -1
  350. package/chunk/City-CUVEjTrI.js +0 -39
  351. package/chunk/City-CUVEjTrI.js.map +0 -1
  352. package/chunk/City-Drub1WX8.js +0 -35
  353. package/chunk/City-Drub1WX8.js.map +0 -1
  354. package/chunk/CountryComponentWrapper-B3Ki9bAz.js +0 -78
  355. package/chunk/CountryComponentWrapper-B3Ki9bAz.js.map +0 -1
  356. package/chunk/CountryComponentWrapper-DeR9PrA2.js +0 -82
  357. package/chunk/CountryComponentWrapper-DeR9PrA2.js.map +0 -1
  358. package/chunk/DischargeDateComponent-Btg3v71t.js +0 -117
  359. package/chunk/DischargeDateComponent-Btg3v71t.js.map +0 -1
  360. package/chunk/DischargeDateComponent-CqKUrGE0.js +0 -121
  361. package/chunk/DischargeDateComponent-CqKUrGE0.js.map +0 -1
  362. package/chunk/DriverLicenseNumberComponent-B2arYwHU.js +0 -42
  363. package/chunk/DriverLicenseNumberComponent-B2arYwHU.js.map +0 -1
  364. package/chunk/DriverLicenseNumberComponent-ByNoEq6v.js +0 -38
  365. package/chunk/DriverLicenseNumberComponent-ByNoEq6v.js.map +0 -1
  366. package/chunk/EmailLoopPending-HyZBgisU.js.map +0 -1
  367. package/chunk/EmailLoopPending-ojWCBFjq.js.map +0 -1
  368. package/chunk/FirstResponderOrganizationComponent-BiI8JG49.js +0 -36
  369. package/chunk/FirstResponderOrganizationComponent-BiI8JG49.js.map +0 -1
  370. package/chunk/FirstResponderOrganizationComponent-BwzXdBV-.js +0 -40
  371. package/chunk/FirstResponderOrganizationComponent-BwzXdBV-.js.map +0 -1
  372. package/chunk/FormFooterComponent-B2W5vjOS.js.map +0 -1
  373. package/chunk/FormFooterComponent-CaOt9TQw.js.map +0 -1
  374. package/chunk/LicensedProfessionalOrganizationComponent-wJSn67h6.js +0 -39
  375. package/chunk/LicensedProfessionalOrganizationComponent-wJSn67h6.js.map +0 -1
  376. package/chunk/LicensedProfessionalOrganizationComponent-wfXwXvVc.js +0 -35
  377. package/chunk/LicensedProfessionalOrganizationComponent-wfXwXvVc.js.map +0 -1
  378. package/chunk/LowIncomeOrganizationComponent-C3Dc7HeO.js +0 -110
  379. package/chunk/LowIncomeOrganizationComponent-C3Dc7HeO.js.map +0 -1
  380. package/chunk/LowIncomeOrganizationComponent-D8RlrBXa.js +0 -106
  381. package/chunk/LowIncomeOrganizationComponent-D8RlrBXa.js.map +0 -1
  382. package/chunk/MedicalProfessionalOrganizationComponent-BlEmZTpI.js +0 -40
  383. package/chunk/MedicalProfessionalOrganizationComponent-BlEmZTpI.js.map +0 -1
  384. package/chunk/MedicalProfessionalOrganizationComponent-DS1iVIfQ.js +0 -36
  385. package/chunk/MedicalProfessionalOrganizationComponent-DS1iVIfQ.js.map +0 -1
  386. package/chunk/MemberIdComponent-5OnkQeLm.js +0 -42
  387. package/chunk/MemberIdComponent-5OnkQeLm.js.map +0 -1
  388. package/chunk/MemberIdComponent-sR9aGDN4.js +0 -38
  389. package/chunk/MemberIdComponent-sR9aGDN4.js.map +0 -1
  390. package/chunk/MembershipOrganizationComponent-BrbunU1_.js +0 -35
  391. package/chunk/MembershipOrganizationComponent-BrbunU1_.js.map +0 -1
  392. package/chunk/MembershipOrganizationComponent-UqzaA4bV.js +0 -39
  393. package/chunk/MembershipOrganizationComponent-UqzaA4bV.js.map +0 -1
  394. package/chunk/PersonalInfoStepSubmitButton-DA3ceOLw.js.map +0 -1
  395. package/chunk/PersonalInfoStepSubmitButton-D_Y9q0Iy.js.map +0 -1
  396. package/chunk/PostalCodeComponent-BhBBSAL-.js +0 -41
  397. package/chunk/PostalCodeComponent-BhBBSAL-.js.map +0 -1
  398. package/chunk/PostalCodeComponent-DKC3DspF.js +0 -37
  399. package/chunk/PostalCodeComponent-DKC3DspF.js.map +0 -1
  400. package/chunk/SSN-7DHOlAAq.js +0 -44
  401. package/chunk/SSN-7DHOlAAq.js.map +0 -1
  402. package/chunk/SSN-DlBvRiaZ.js +0 -48
  403. package/chunk/SSN-DlBvRiaZ.js.map +0 -1
  404. package/chunk/StateSelectComponent-BXHXB6Kn.js +0 -44
  405. package/chunk/StateSelectComponent-BXHXB6Kn.js.map +0 -1
  406. package/chunk/StateSelectComponent-lM5e-_1v.js +0 -40
  407. package/chunk/StateSelectComponent-lM5e-_1v.js.map +0 -1
  408. package/chunk/StepCollectPersonalInfo-BlAJbqgb.js +0 -372
  409. package/chunk/StepCollectPersonalInfo-CzLVKlZ3.js +0 -368
  410. package/chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js +0 -219
  411. package/chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js.map +0 -1
  412. package/chunk/StepEmploymentPersonalInfo-txyihsja.js +0 -215
  413. package/chunk/StepEmploymentPersonalInfo-txyihsja.js.map +0 -1
  414. package/chunk/StepIDCheckLoopOnfido-0o-ZdynC.js.map +0 -1
  415. package/chunk/StepIDCheckLoopOnfido-CiuUU7f9.js.map +0 -1
  416. package/chunk/StepOverrideComponent-B9HVSPlq.js.map +0 -1
  417. package/chunk/StepOverrideComponent-DOBT7C22.js.map +0 -1
  418. package/chunk/StepSMSLoop-BM7UE2tP.js +0 -180
  419. package/chunk/StepSMSLoop-BM7UE2tP.js.map +0 -1
  420. package/chunk/StepSMSLoop-Wr-MrFaf.js +0 -184
  421. package/chunk/StepSMSLoop-Wr-MrFaf.js.map +0 -1
  422. package/chunk/StepStudentPersonalInfo-CxPq9ICS.js.map +0 -1
  423. package/chunk/StepStudentPersonalInfo-DQMWaRSa.js.map +0 -1
  424. package/chunk/VerificationApiClient-BcE3SjuJ.js +0 -1451
  425. package/chunk/VerificationApiClient-BcE3SjuJ.js.map +0 -1
  426. package/chunk/VerificationApiClient-fJ7P4ejD.js +0 -1471
  427. package/chunk/VerificationApiClient-fJ7P4ejD.js.map +0 -1
  428. package/chunk/stepComponentHelpers-BdqtwfRd.js.map +0 -1
  429. package/chunk/stepComponentHelpers-DIHMDrmF.js.map +0 -1
@@ -1,31 +1,30 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.277.0
4
- * BUILD_TIMESTAMP: 1787693415496
5
- * BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
3
+ * VERSION: 2.279.0
4
+ * BUILD_TIMESTAMP: 1788995296072
5
+ * BUILD_DATE: Wed Sep 09 2026 23:08:16 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: fdde81acaae8bfe2d0c43f5327d4569e8353b6e7
7
7
  */
8
8
  import { Bt as e, Ht as t, I as n, Wt as r, d as i, g as a, it as o, lt as s, n as c, pt as l, u, w as d } from "./options-pBCAJBwS.js";
9
9
  import { a as f, c as p, n as m, t as h } from "./jsx-runtime-Ini3eO9_.js";
10
- import { l as g } from "./FormFooterComponent-B2W5vjOS.js";
11
- import { a as _ } from "./VerificationApiClient-fJ7P4ejD.js";
12
- import { t as v } from "./hooks-ChQrxN58.js";
13
- import { o as y } from "./refs-CGvEbCaw.js";
14
- import { t as b } from "./strings-DWLVdUcm.js";
15
- import { C as x, D as S, E as C, F as w, O as T, S as E, T as D, _ as O, b as k, c as A, d as j, f as M, g as N, h as P, i as ee, l as F, m as I, p as L, u as R, v as z, w as B, x as V, y as H } from "../sheerid.js";
16
- import { b as U } from "./stepComponentHelpers-DIHMDrmF.js";
17
- import { n as te, t as ne } from "./FormFieldLayout-C4SCdGBC.js";
18
- import { t as W } from "./downshift.esm-DryiNDJI.js";
19
- import { a as G, o as re } from "./useMetrics-O5xTFm6y.js";
20
- import { t as ie } from "./countryUtils-DWqId-zY.js";
10
+ import { b as g, n as _, r as v } from "./Message-C8RQk5lc.js";
11
+ import { t as y } from "./hooks-ChQrxN58.js";
12
+ import { o as b } from "./refs-CGvEbCaw.js";
13
+ import { t as x } from "./strings-DWLVdUcm.js";
14
+ import { C as S, D as C, E as w, F as T, O as E, S as D, T as O, _ as k, b as A, c as j, d as M, f as N, g as P, h as F, i as ee, l as I, m as L, p as R, u as z, v as B, w as V, x as H, y as te } from "../sheerid.js";
15
+ import { v as U } from "./stepComponentHelpers-BOwTk6Tq.js";
16
+ import { n as ne, t as re } from "./FormFieldLayout-C4SCdGBC.js";
17
+ import { t as W } from "./downshift.esm-GP9lYKvI.js";
18
+ import { a as G, o as ie } from "./useMetrics-O5xTFm6y.js";
19
+ import { t as ae } from "./countryUtils-DWqId-zY.js";
21
20
  //#region ../packages/org-search/src/SearchOverlay/context.ts
22
- var K = /* @__PURE__ */ r(p(), 1), ae = (0, K.createContext)({
21
+ var K = /* @__PURE__ */ r(p(), 1), oe = (0, K.createContext)({
23
22
  showOverlay: !1,
24
23
  setShowOverlay: () => void 0
25
- }), oe = () => (0, K.useContext)(ae), se = (0, K.createContext)(null), ce = () => (0, K.useContext)(se);
24
+ }), se = () => (0, K.useContext)(oe), ce = (0, K.createContext)(null), le = () => (0, K.useContext)(ce);
26
25
  //#endregion
27
26
  //#region ../packages/org-search/src/hooks/useGeoLocation.ts
28
- function le() {
27
+ function ue() {
29
28
  let [e, t] = (0, K.useState)(null), [n, r] = (0, K.useState)(null), [i, a] = (0, K.useState)(!1);
30
29
  return {
31
30
  location: e,
@@ -50,8 +49,8 @@ function le() {
50
49
  }
51
50
  //#endregion
52
51
  //#region ../packages/org-search/src/SearchRanking/SearchRankingProvider.tsx
53
- var q = h(), ue = ({ children: e }) => {
54
- 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 () => {
52
+ var q = h(), de = ({ children: e }) => {
53
+ let [t, n] = (0, K.useState)("relevance"), [r, i] = (0, K.useState)(null), [a, o] = (0, K.useState)(!1), s = ue(), c = (0, K.useCallback)(async () => {
55
54
  try {
56
55
  let e = await s.requestLocation();
57
56
  return i(e), o(!1), e;
@@ -70,11 +69,11 @@ var q = h(), ue = ({ children: e }) => {
70
69
  a,
71
70
  c
72
71
  ]);
73
- return /* @__PURE__ */ (0, q.jsx)(se.Provider, {
72
+ return /* @__PURE__ */ (0, q.jsx)(ce.Provider, {
74
73
  value: l,
75
74
  children: e
76
75
  });
77
- }, de = "button, a[href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])", fe = ({ children: e, enabled: t, closeSectionLabel: n }) => {
76
+ }, fe = "button, a[href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])", pe = ({ children: e, enabled: t, closeSectionLabel: n }) => {
78
77
  let [r, i] = (0, K.useState)(!1), a = (0, K.useRef)(null), o = t && r, s = (0, K.useRef)(0), c = (e) => {
79
78
  if (!t) return;
80
79
  let n = window !== window.top;
@@ -95,16 +94,16 @@ var q = h(), ue = ({ children: e }) => {
95
94
  if (e.key !== "Tab") return;
96
95
  let t = a.current;
97
96
  if (!t) return;
98
- let n = t.querySelectorAll(de), r = n[0], i = n[n.length - 1];
97
+ let n = t.querySelectorAll(fe), r = n[0], i = n[n.length - 1];
99
98
  e.shiftKey && document.activeElement === r ? (e.preventDefault(), i?.focus()) : !e.shiftKey && document.activeElement === i && (e.preventDefault(), r?.focus());
100
99
  };
101
100
  return document.addEventListener("keydown", e, !0), () => document.removeEventListener("keydown", e, !0);
102
- }, [o]), t ? /* @__PURE__ */ (0, q.jsx)(ae.Provider, {
101
+ }, [o]), t ? /* @__PURE__ */ (0, q.jsx)(oe.Provider, {
103
102
  value: {
104
103
  showOverlay: o,
105
104
  setShowOverlay: c
106
105
  },
107
- children: /* @__PURE__ */ (0, q.jsx)(ue, { children: /* @__PURE__ */ (0, q.jsx)("div", {
106
+ children: /* @__PURE__ */ (0, q.jsx)(de, { children: /* @__PURE__ */ (0, q.jsx)("div", {
108
107
  className: o ? "sid-search-overlay__overlay" : void 0,
109
108
  children: /* @__PURE__ */ (0, q.jsxs)("div", {
110
109
  className: o ? "sid-search-overlay__container" : void 0,
@@ -117,7 +116,7 @@ var q = h(), ue = ({ children: e }) => {
117
116
  })
118
117
  }) })
119
118
  }) : /* @__PURE__ */ (0, q.jsx)(q.Fragment, { children: e });
120
- }, pe = ({ org: e, onClear: t, clearSelectionLabel: n, labelId: r }) => {
119
+ }, me = ({ org: e, onClear: t, clearSelectionLabel: n, labelId: r }) => {
121
120
  let i = (0, K.useRef)(null), a = [e.city, e.state].filter(Boolean).join(", "), o = [e.name, a].filter(Boolean).join(", ");
122
121
  return (0, K.useEffect)(() => {
123
122
  i.current?.focus();
@@ -148,23 +147,23 @@ var q = h(), ue = ({ children: e }) => {
148
147
  })]
149
148
  })]
150
149
  });
151
- }, me = 6371;
152
- function he(e, t, n, r) {
150
+ }, he = 6371;
151
+ function ge(e, t, n, r) {
153
152
  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);
154
- return me * (2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s)));
153
+ return he * (2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s)));
155
154
  }
156
- var ge = ["en-us", "en-gb"];
157
- function _e(e) {
158
- return ge.includes(e.toLowerCase()) ? "miles" : "kilometers";
155
+ var _e = ["en-us", "en-gb"];
156
+ function ve(e) {
157
+ return _e.includes(e.toLowerCase()) ? "miles" : "kilometers";
159
158
  }
160
- function ve(e, t) {
159
+ function ye(e, t) {
161
160
  let n = t === "miles" ? "mi" : "km", r = t === "miles" ? e * .621371 : e, i = Math.round(r * 10) / 10;
162
161
  return i >= 10 ? `${Math.round(r)} ${n}` : `${i} ${n}`;
163
162
  }
164
163
  //#endregion
165
164
  //#region ../node_modules/@radix-ui/react-collection/dist/index.mjs
166
- function ye(e) {
167
- let t = e + "CollectionProvider", [n, r] = D(t), [i, a] = n(t, {
165
+ function be(e) {
166
+ let t = e + "CollectionProvider", [n, r] = O(t), [i, a] = n(t, {
168
167
  collectionRef: { current: null },
169
168
  itemMap: /* @__PURE__ */ new Map()
170
169
  }), o = (e) => {
@@ -177,16 +176,16 @@ function ye(e) {
177
176
  });
178
177
  };
179
178
  o.displayName = t;
180
- let s = e + "CollectionSlot", c = B(s), l = K.forwardRef((e, t) => {
179
+ let s = e + "CollectionSlot", c = V(s), l = K.forwardRef((e, t) => {
181
180
  let { scope: n, children: r } = e;
182
181
  return /* @__PURE__ */ (0, q.jsx)(c, {
183
- ref: S(t, a(s, n).collectionRef),
182
+ ref: C(t, a(s, n).collectionRef),
184
183
  children: r
185
184
  });
186
185
  });
187
186
  l.displayName = s;
188
- let u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = B(u), p = K.forwardRef((e, t) => {
189
- let { scope: n, children: r, ...i } = e, o = K.useRef(null), s = S(t, o), c = a(u, n);
187
+ let u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = V(u), p = K.forwardRef((e, t) => {
188
+ let { scope: n, children: r, ...i } = e, o = K.useRef(null), s = C(t, o), c = a(u, n);
190
189
  return K.useEffect(() => (c.itemMap.set(o, {
191
190
  ref: o,
192
191
  ...i
@@ -218,38 +217,38 @@ function ye(e) {
218
217
  }
219
218
  //#endregion
220
219
  //#region ../node_modules/@radix-ui/react-direction/dist/index.mjs
221
- var be = K.createContext(void 0);
222
- function xe(e) {
223
- let t = K.useContext(be);
220
+ var xe = K.createContext(void 0);
221
+ function Se(e) {
222
+ let t = K.useContext(xe);
224
223
  return e || t || "ltr";
225
224
  }
226
225
  //#endregion
227
226
  //#region ../node_modules/@radix-ui/react-roving-focus/dist/index.mjs
228
- var Se = "rovingFocusGroup.onEntryFocus", Ce = {
227
+ var Ce = "rovingFocusGroup.onEntryFocus", we = {
229
228
  bubbles: !1,
230
229
  cancelable: !0
231
- }, J = "RovingFocusGroup", [we, Te, Ee] = ye(J), [De, Oe] = D(J, [Ee]), [ke, Ae] = De(J), je = K.forwardRef((e, t) => /* @__PURE__ */ (0, q.jsx)(we.Provider, {
230
+ }, J = "RovingFocusGroup", [Te, Ee, De] = be(J), [Oe, ke] = O(J, [De]), [Ae, je] = Oe(J), Me = K.forwardRef((e, t) => /* @__PURE__ */ (0, q.jsx)(Te.Provider, {
232
231
  scope: e.__scopeRovingFocusGroup,
233
- children: /* @__PURE__ */ (0, q.jsx)(we.Slot, {
232
+ children: /* @__PURE__ */ (0, q.jsx)(Te.Slot, {
234
233
  scope: e.__scopeRovingFocusGroup,
235
- children: /* @__PURE__ */ (0, q.jsx)(Me, {
234
+ children: /* @__PURE__ */ (0, q.jsx)(Ne, {
236
235
  ...e,
237
236
  ref: t
238
237
  })
239
238
  })
240
239
  }));
241
- je.displayName = J;
242
- var Me = K.forwardRef((e, t) => {
243
- 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 = S(t, f), m = xe(a), [h, g] = F({
240
+ Me.displayName = J;
241
+ var Ne = K.forwardRef((e, t) => {
242
+ 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 = C(t, f), m = Se(a), [h, g] = I({
244
243
  prop: o,
245
244
  defaultProp: s ?? null,
246
245
  onChange: c,
247
246
  caller: J
248
- }), [_, v] = K.useState(!1), y = V(l), b = Te(n), x = K.useRef(!1), [C, w] = K.useState(0);
247
+ }), [_, v] = K.useState(!1), y = H(l), b = Ee(n), x = K.useRef(!1), [S, w] = K.useState(0);
249
248
  return K.useEffect(() => {
250
249
  let e = f.current;
251
- if (e) return e.addEventListener(Se, y), () => e.removeEventListener(Se, y);
252
- }, [y]), /* @__PURE__ */ (0, q.jsx)(ke, {
250
+ if (e) return e.addEventListener(Ce, y), () => e.removeEventListener(Ce, y);
251
+ }, [y]), /* @__PURE__ */ (0, q.jsx)(Ae, {
253
252
  scope: n,
254
253
  orientation: r,
255
254
  dir: m,
@@ -259,8 +258,8 @@ var Me = K.forwardRef((e, t) => {
259
258
  onItemShiftTab: K.useCallback(() => v(!0), []),
260
259
  onFocusableItemAdd: K.useCallback(() => w((e) => e + 1), []),
261
260
  onFocusableItemRemove: K.useCallback(() => w((e) => e - 1), []),
262
- children: /* @__PURE__ */ (0, q.jsx)(E.div, {
263
- tabIndex: _ || C === 0 ? -1 : 0,
261
+ children: /* @__PURE__ */ (0, q.jsx)(D.div, {
262
+ tabIndex: _ || S === 0 ? -1 : 0,
264
263
  "data-orientation": r,
265
264
  ...d,
266
265
  ref: p,
@@ -268,16 +267,16 @@ var Me = K.forwardRef((e, t) => {
268
267
  outline: "none",
269
268
  ...e.style
270
269
  },
271
- onMouseDown: T(e.onMouseDown, () => {
270
+ onMouseDown: E(e.onMouseDown, () => {
272
271
  x.current = !0;
273
272
  }),
274
- onFocus: T(e.onFocus, (e) => {
273
+ onFocus: E(e.onFocus, (e) => {
275
274
  let t = !x.current;
276
275
  if (e.target === e.currentTarget && t && !_) {
277
- let t = new CustomEvent(Se, Ce);
276
+ let t = new CustomEvent(Ce, we);
278
277
  if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
279
278
  let e = b().filter((e) => e.focusable);
280
- Re([
279
+ ze([
281
280
  e.find((e) => e.active),
282
281
  e.find((e) => e.id === h),
283
282
  ...e
@@ -286,38 +285,38 @@ var Me = K.forwardRef((e, t) => {
286
285
  }
287
286
  x.current = !1;
288
287
  }),
289
- onBlur: T(e.onBlur, () => v(!1))
288
+ onBlur: E(e.onBlur, () => v(!1))
290
289
  })
291
290
  });
292
- }), Ne = "RovingFocusGroupItem", Pe = K.forwardRef((e, t) => {
293
- let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = O(), l = a || c, u = Ae(Ne, n), d = u.currentTabStopId === l, f = Te(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u;
291
+ }), Pe = "RovingFocusGroupItem", Fe = K.forwardRef((e, t) => {
292
+ let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = k(), l = a || c, u = je(Pe, n), d = u.currentTabStopId === l, f = Ee(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u;
294
293
  return K.useEffect(() => {
295
294
  if (r) return p(), () => m();
296
295
  }, [
297
296
  r,
298
297
  p,
299
298
  m
300
- ]), /* @__PURE__ */ (0, q.jsx)(we.ItemSlot, {
299
+ ]), /* @__PURE__ */ (0, q.jsx)(Te.ItemSlot, {
301
300
  scope: n,
302
301
  id: l,
303
302
  focusable: r,
304
303
  active: i,
305
- children: /* @__PURE__ */ (0, q.jsx)(E.span, {
304
+ children: /* @__PURE__ */ (0, q.jsx)(D.span, {
306
305
  tabIndex: d ? 0 : -1,
307
306
  "data-orientation": u.orientation,
308
307
  ...s,
309
308
  ref: t,
310
- onMouseDown: T(e.onMouseDown, (e) => {
309
+ onMouseDown: E(e.onMouseDown, (e) => {
311
310
  r ? u.onItemFocus(l) : e.preventDefault();
312
311
  }),
313
- onFocus: T(e.onFocus, () => u.onItemFocus(l)),
314
- onKeyDown: T(e.onKeyDown, (e) => {
312
+ onFocus: E(e.onFocus, () => u.onItemFocus(l)),
313
+ onKeyDown: E(e.onKeyDown, (e) => {
315
314
  if (e.key === "Tab" && e.shiftKey) {
316
315
  u.onItemShiftTab();
317
316
  return;
318
317
  }
319
318
  if (e.target !== e.currentTarget) return;
320
- let t = Le(e, u.orientation, u.dir);
319
+ let t = Re(e, u.orientation, u.dir);
321
320
  if (t !== void 0) {
322
321
  if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
323
322
  e.preventDefault();
@@ -326,9 +325,9 @@ var Me = K.forwardRef((e, t) => {
326
325
  else if (t === "prev" || t === "next") {
327
326
  t === "prev" && n.reverse();
328
327
  let r = n.indexOf(e.currentTarget);
329
- n = u.loop ? ze(n, r + 1) : n.slice(r + 1);
328
+ n = u.loop ? Be(n, r + 1) : n.slice(r + 1);
330
329
  }
331
- setTimeout(() => Re(n));
330
+ setTimeout(() => ze(n));
332
331
  }
333
332
  }),
334
333
  children: typeof o == "function" ? o({
@@ -338,8 +337,8 @@ var Me = K.forwardRef((e, t) => {
338
337
  })
339
338
  });
340
339
  });
341
- Pe.displayName = Ne;
342
- var Fe = {
340
+ Fe.displayName = Pe;
341
+ var Ie = {
343
342
  ArrowLeft: "prev",
344
343
  ArrowUp: "prev",
345
344
  ArrowRight: "next",
@@ -349,40 +348,40 @@ var Fe = {
349
348
  PageDown: "last",
350
349
  End: "last"
351
350
  };
352
- function Ie(e, t) {
351
+ function Le(e, t) {
353
352
  return t === "rtl" ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
354
353
  }
355
- function Le(e, t, n) {
356
- let r = Ie(e.key, n);
357
- if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return Fe[r];
354
+ function Re(e, t, n) {
355
+ let r = Le(e.key, n);
356
+ if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return Ie[r];
358
357
  }
359
- function Re(e, t = !1) {
358
+ function ze(e, t = !1) {
360
359
  let n = document.activeElement;
361
360
  for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
362
361
  }
363
- function ze(e, t) {
362
+ function Be(e, t) {
364
363
  return e.map((n, r) => e[(t + r) % e.length]);
365
364
  }
366
- var Be = je, Ve = Pe, He = ["Enter", " "], Ue = [
365
+ var Ve = Me, He = Fe, Ue = ["Enter", " "], We = [
367
366
  "ArrowDown",
368
367
  "PageUp",
369
368
  "Home"
370
- ], We = [
369
+ ], Ge = [
371
370
  "ArrowUp",
372
371
  "PageDown",
373
372
  "End"
374
- ], Ge = [...Ue, ...We], Ke = {
375
- ltr: [...He, "ArrowRight"],
376
- rtl: [...He, "ArrowLeft"]
377
- }, qe = {
373
+ ], Ke = [...We, ...Ge], qe = {
374
+ ltr: [...Ue, "ArrowRight"],
375
+ rtl: [...Ue, "ArrowLeft"]
376
+ }, Je = {
378
377
  ltr: ["ArrowLeft"],
379
378
  rtl: ["ArrowRight"]
380
- }, Y = "Menu", [Je, Ye, Xe] = ye(Y), [X, Ze] = D(Y, [
381
- Xe,
382
- N,
383
- Oe
384
- ]), Qe = N(), $e = Oe(), [et, Z] = X(Y), [tt, nt] = X(Y), rt = (e) => {
385
- 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 = V(a), f = xe(i);
379
+ }, Ye = "Menu", [Y, Xe, Ze] = be(Ye), [X, Qe] = O(Ye, [
380
+ Ze,
381
+ P,
382
+ ke
383
+ ]), $e = P(), et = ke(), [tt, Z] = X(Ye), [nt, rt] = X(Ye), it = (e) => {
384
+ let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = $e(t), [c, l] = K.useState(null), u = K.useRef(!1), d = H(a), f = Se(i);
386
385
  return K.useEffect(() => {
387
386
  let e = () => {
388
387
  u.current = !0, document.addEventListener("pointerdown", t, {
@@ -396,15 +395,15 @@ var Be = je, Ve = Pe, He = ["Enter", " "], Ue = [
396
395
  return document.addEventListener("keydown", e, { capture: !0 }), () => {
397
396
  document.removeEventListener("keydown", e, { capture: !0 }), document.removeEventListener("pointerdown", t, { capture: !0 }), document.removeEventListener("pointermove", t, { capture: !0 });
398
397
  };
399
- }, []), /* @__PURE__ */ (0, q.jsx)(P, {
398
+ }, []), /* @__PURE__ */ (0, q.jsx)(F, {
400
399
  ...s,
401
- children: /* @__PURE__ */ (0, q.jsx)(et, {
400
+ children: /* @__PURE__ */ (0, q.jsx)(tt, {
402
401
  scope: t,
403
402
  open: n,
404
403
  onOpenChange: d,
405
404
  content: c,
406
405
  onContentChange: l,
407
- children: /* @__PURE__ */ (0, q.jsx)(tt, {
406
+ children: /* @__PURE__ */ (0, q.jsx)(nt, {
408
407
  scope: t,
409
408
  onClose: K.useCallback(() => d(!1), [d]),
410
409
  isUsingKeyboardRef: u,
@@ -415,24 +414,24 @@ var Be = je, Ve = Pe, He = ["Enter", " "], Ue = [
415
414
  })
416
415
  });
417
416
  };
418
- rt.displayName = Y;
419
- var it = "MenuAnchor", at = K.forwardRef((e, t) => {
420
- let { __scopeMenu: n, ...r } = e, i = Qe(n);
421
- return /* @__PURE__ */ (0, q.jsx)(M, {
417
+ it.displayName = Ye;
418
+ var at = "MenuAnchor", ot = K.forwardRef((e, t) => {
419
+ let { __scopeMenu: n, ...r } = e, i = $e(n);
420
+ return /* @__PURE__ */ (0, q.jsx)(N, {
422
421
  ...i,
423
422
  ...r,
424
423
  ref: t
425
424
  });
426
425
  });
427
- at.displayName = it;
428
- var ot = "MenuPortal", [st, ct] = X(ot, { forceMount: void 0 }), lt = (e) => {
429
- let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = Z(ot, t);
430
- return /* @__PURE__ */ (0, q.jsx)(st, {
426
+ ot.displayName = at;
427
+ var st = "MenuPortal", [ct, lt] = X(st, { forceMount: void 0 }), ut = (e) => {
428
+ let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = Z(st, t);
429
+ return /* @__PURE__ */ (0, q.jsx)(ct, {
431
430
  scope: t,
432
431
  forceMount: n,
433
- children: /* @__PURE__ */ (0, q.jsx)(R, {
432
+ children: /* @__PURE__ */ (0, q.jsx)(z, {
434
433
  present: n || a.open,
435
- children: /* @__PURE__ */ (0, q.jsx)(j, {
434
+ children: /* @__PURE__ */ (0, q.jsx)(M, {
436
435
  asChild: !0,
437
436
  container: i,
438
437
  children: r
@@ -440,42 +439,42 @@ var ot = "MenuPortal", [st, ct] = X(ot, { forceMount: void 0 }), lt = (e) => {
440
439
  })
441
440
  });
442
441
  };
443
- lt.displayName = ot;
444
- var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
445
- let n = ct(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = nt(Q, e.__scopeMenu);
446
- return /* @__PURE__ */ (0, q.jsx)(Je.Provider, {
442
+ ut.displayName = st;
443
+ var Q = "MenuContent", [dt, ft] = X(Q), pt = K.forwardRef((e, t) => {
444
+ let n = lt(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = rt(Q, e.__scopeMenu);
445
+ return /* @__PURE__ */ (0, q.jsx)(Y.Provider, {
447
446
  scope: e.__scopeMenu,
448
- children: /* @__PURE__ */ (0, q.jsx)(R, {
447
+ children: /* @__PURE__ */ (0, q.jsx)(z, {
449
448
  present: r || a.open,
450
- children: /* @__PURE__ */ (0, q.jsx)(Je.Slot, {
449
+ children: /* @__PURE__ */ (0, q.jsx)(Y.Slot, {
451
450
  scope: e.__scopeMenu,
452
- children: o.modal ? /* @__PURE__ */ (0, q.jsx)(pt, {
451
+ children: o.modal ? /* @__PURE__ */ (0, q.jsx)(mt, {
453
452
  ...i,
454
453
  ref: t
455
- }) : /* @__PURE__ */ (0, q.jsx)(mt, {
454
+ }) : /* @__PURE__ */ (0, q.jsx)(ht, {
456
455
  ...i,
457
456
  ref: t
458
457
  })
459
458
  })
460
459
  })
461
460
  });
462
- }), pt = K.forwardRef((e, t) => {
463
- let n = Z(Q, e.__scopeMenu), r = K.useRef(null), i = S(t, r);
461
+ }), mt = K.forwardRef((e, t) => {
462
+ let n = Z(Q, e.__scopeMenu), r = K.useRef(null), i = C(t, r);
464
463
  return K.useEffect(() => {
465
464
  let e = r.current;
466
- if (e) return A(e);
467
- }, []), /* @__PURE__ */ (0, q.jsx)(gt, {
465
+ if (e) return j(e);
466
+ }, []), /* @__PURE__ */ (0, q.jsx)(_t, {
468
467
  ...e,
469
468
  ref: i,
470
469
  trapFocus: n.open,
471
470
  disableOutsidePointerEvents: n.open,
472
471
  disableOutsideScroll: !0,
473
- onFocusOutside: T(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
472
+ onFocusOutside: E(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
474
473
  onDismiss: () => n.onOpenChange(!1)
475
474
  });
476
- }), mt = K.forwardRef((e, t) => {
475
+ }), ht = K.forwardRef((e, t) => {
477
476
  let n = Z(Q, e.__scopeMenu);
478
- return /* @__PURE__ */ (0, q.jsx)(gt, {
477
+ return /* @__PURE__ */ (0, q.jsx)(_t, {
479
478
  ...e,
480
479
  ref: t,
481
480
  trapFocus: !1,
@@ -483,44 +482,44 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
483
482
  disableOutsideScroll: !1,
484
483
  onDismiss: () => n.onOpenChange(!1)
485
484
  });
486
- }), ht = B("MenuContent.ScrollLock"), gt = K.forwardRef((e, t) => {
487
- 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, C] = K.useState(null), w = K.useRef(null), E = S(t, w, g.onContentChange), D = K.useRef(0), O = K.useRef(""), A = K.useRef(0), j = K.useRef(null), M = K.useRef("right"), N = K.useRef(0), P = m ? ee : K.Fragment, F = m ? {
488
- as: ht,
485
+ }), gt = V("MenuContent.ScrollLock"), _t = K.forwardRef((e, t) => {
486
+ 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), _ = rt(Q, n), v = $e(n), y = et(n), b = Xe(n), [x, S] = K.useState(null), w = K.useRef(null), T = C(t, w, g.onContentChange), D = K.useRef(0), O = K.useRef(""), k = K.useRef(0), j = K.useRef(null), M = K.useRef("right"), N = K.useRef(0), P = m ? ee : K.Fragment, F = m ? {
487
+ as: gt,
489
488
  allowPinchZoom: !0
490
- } : void 0, L = (e) => {
491
- let t = O.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;
489
+ } : void 0, I = (e) => {
490
+ let t = O.current + e, n = b().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = tn(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
492
491
  (function e(t) {
493
492
  O.current = t, window.clearTimeout(D.current), t !== "" && (D.current = window.setTimeout(() => e(""), 1e3));
494
493
  })(t), o && setTimeout(() => o.focus());
495
494
  };
496
- K.useEffect(() => () => window.clearTimeout(D.current), []), H();
497
- let R = K.useCallback((e) => M.current === j.current?.side && nn(e, j.current?.area), []);
498
- return /* @__PURE__ */ (0, q.jsx)(ut, {
495
+ K.useEffect(() => () => window.clearTimeout(D.current), []), te();
496
+ let R = K.useCallback((e) => M.current === j.current?.side && rn(e, j.current?.area), []);
497
+ return /* @__PURE__ */ (0, q.jsx)(dt, {
499
498
  scope: n,
500
499
  searchRef: O,
501
500
  onItemEnter: K.useCallback((e) => {
502
501
  R(e) && e.preventDefault();
503
502
  }, [R]),
504
503
  onItemLeave: K.useCallback((e) => {
505
- R(e) || (w.current?.focus(), C(null));
504
+ R(e) || (w.current?.focus(), S(null));
506
505
  }, [R]),
507
506
  onTriggerLeave: K.useCallback((e) => {
508
507
  R(e) && e.preventDefault();
509
508
  }, [R]),
510
- pointerGraceTimerRef: A,
509
+ pointerGraceTimerRef: k,
511
510
  onPointerGraceIntentChange: K.useCallback((e) => {
512
511
  j.current = e;
513
512
  }, []),
514
513
  children: /* @__PURE__ */ (0, q.jsx)(P, {
515
514
  ...F,
516
- children: /* @__PURE__ */ (0, q.jsx)(z, {
515
+ children: /* @__PURE__ */ (0, q.jsx)(B, {
517
516
  asChild: !0,
518
517
  trapped: i,
519
- onMountAutoFocus: T(a, (e) => {
518
+ onMountAutoFocus: E(a, (e) => {
520
519
  e.preventDefault(), w.current?.focus({ preventScroll: !0 });
521
520
  }),
522
521
  onUnmountAutoFocus: o,
523
- children: /* @__PURE__ */ (0, q.jsx)(k, {
522
+ children: /* @__PURE__ */ (0, q.jsx)(A, {
524
523
  asChild: !0,
525
524
  disableOutsidePointerEvents: s,
526
525
  onEscapeKeyDown: l,
@@ -528,44 +527,44 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
528
527
  onFocusOutside: d,
529
528
  onInteractOutside: f,
530
529
  onDismiss: p,
531
- children: /* @__PURE__ */ (0, q.jsx)(Be, {
530
+ children: /* @__PURE__ */ (0, q.jsx)(Ve, {
532
531
  asChild: !0,
533
532
  ...y,
534
533
  dir: _.dir,
535
534
  orientation: "vertical",
536
535
  loop: r,
537
536
  currentTabStopId: x,
538
- onCurrentTabStopIdChange: C,
539
- onEntryFocus: T(c, (e) => {
537
+ onCurrentTabStopIdChange: S,
538
+ onEntryFocus: E(c, (e) => {
540
539
  _.isUsingKeyboardRef.current || e.preventDefault();
541
540
  }),
542
541
  preventScrollOnEntryFocus: !0,
543
- children: /* @__PURE__ */ (0, q.jsx)(I, {
542
+ children: /* @__PURE__ */ (0, q.jsx)(L, {
544
543
  role: "menu",
545
544
  "aria-orientation": "vertical",
546
- "data-state": Yt(g.open),
545
+ "data-state": Xt(g.open),
547
546
  "data-radix-menu-content": "",
548
547
  dir: _.dir,
549
548
  ...v,
550
549
  ...h,
551
- ref: E,
550
+ ref: T,
552
551
  style: {
553
552
  outline: "none",
554
553
  ...h.style
555
554
  },
556
- onKeyDown: T(h.onKeyDown, (e) => {
555
+ onKeyDown: E(h.onKeyDown, (e) => {
557
556
  let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
558
- t && (e.key === "Tab" && e.preventDefault(), !n && r && L(e.key));
557
+ t && (e.key === "Tab" && e.preventDefault(), !n && r && I(e.key));
559
558
  let i = w.current;
560
- if (e.target !== i || !Ge.includes(e.key)) return;
559
+ if (e.target !== i || !Ke.includes(e.key)) return;
561
560
  e.preventDefault();
562
561
  let a = b().filter((e) => !e.disabled).map((e) => e.ref.current);
563
- We.includes(e.key) && a.reverse(), Qt(a);
562
+ Ge.includes(e.key) && a.reverse(), $t(a);
564
563
  }),
565
- onBlur: T(e.onBlur, (e) => {
564
+ onBlur: E(e.onBlur, (e) => {
566
565
  e.currentTarget.contains(e.target) || (window.clearTimeout(D.current), O.current = "");
567
566
  }),
568
- onPointerMove: T(e.onPointerMove, rn((e) => {
567
+ onPointerMove: E(e.onPointerMove, an((e) => {
569
568
  let t = e.target, n = N.current !== e.clientX;
570
569
  e.currentTarget.contains(t) && n && (M.current = e.clientX > N.current ? "right" : "left", N.current = e.clientX);
571
570
  }))
@@ -576,175 +575,175 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
576
575
  })
577
576
  });
578
577
  });
579
- ft.displayName = Q;
580
- var _t = "MenuGroup", vt = K.forwardRef((e, t) => {
578
+ pt.displayName = Q;
579
+ var vt = "MenuGroup", yt = K.forwardRef((e, t) => {
581
580
  let { __scopeMenu: n, ...r } = e;
582
- return /* @__PURE__ */ (0, q.jsx)(E.div, {
581
+ return /* @__PURE__ */ (0, q.jsx)(D.div, {
583
582
  role: "group",
584
583
  ...r,
585
584
  ref: t
586
585
  });
587
586
  });
588
- vt.displayName = _t;
589
- var yt = "MenuLabel", bt = K.forwardRef((e, t) => {
587
+ yt.displayName = vt;
588
+ var bt = "MenuLabel", xt = K.forwardRef((e, t) => {
590
589
  let { __scopeMenu: n, ...r } = e;
591
- return /* @__PURE__ */ (0, q.jsx)(E.div, {
590
+ return /* @__PURE__ */ (0, q.jsx)(D.div, {
592
591
  ...r,
593
592
  ref: t
594
593
  });
595
594
  });
596
- bt.displayName = yt;
597
- var xt = "MenuItem", St = "menu.itemSelect", Ct = K.forwardRef((e, t) => {
598
- let { disabled: n = !1, onSelect: r, ...i } = e, a = K.useRef(null), o = nt(xt, e.__scopeMenu), s = dt(xt, e.__scopeMenu), c = S(t, a), l = K.useRef(!1), u = () => {
595
+ xt.displayName = bt;
596
+ var St = "MenuItem", Ct = "menu.itemSelect", wt = K.forwardRef((e, t) => {
597
+ let { disabled: n = !1, onSelect: r, ...i } = e, a = K.useRef(null), o = rt(St, e.__scopeMenu), s = ft(St, e.__scopeMenu), c = C(t, a), l = K.useRef(!1), u = () => {
599
598
  let e = a.current;
600
599
  if (!n && e) {
601
- let t = new CustomEvent(St, {
600
+ let t = new CustomEvent(Ct, {
602
601
  bubbles: !0,
603
602
  cancelable: !0
604
603
  });
605
- e.addEventListener(St, (e) => r?.(e), { once: !0 }), x(e, t), t.defaultPrevented ? l.current = !1 : o.onClose();
604
+ e.addEventListener(Ct, (e) => r?.(e), { once: !0 }), S(e, t), t.defaultPrevented ? l.current = !1 : o.onClose();
606
605
  }
607
606
  };
608
- return /* @__PURE__ */ (0, q.jsx)(wt, {
607
+ return /* @__PURE__ */ (0, q.jsx)(Tt, {
609
608
  ...i,
610
609
  ref: c,
611
610
  disabled: n,
612
- onClick: T(e.onClick, u),
611
+ onClick: E(e.onClick, u),
613
612
  onPointerDown: (t) => {
614
613
  e.onPointerDown?.(t), l.current = !0;
615
614
  },
616
- onPointerUp: T(e.onPointerUp, (e) => {
615
+ onPointerUp: E(e.onPointerUp, (e) => {
617
616
  l.current || e.currentTarget?.click();
618
617
  }),
619
- onKeyDown: T(e.onKeyDown, (e) => {
618
+ onKeyDown: E(e.onKeyDown, (e) => {
620
619
  let t = s.searchRef.current !== "";
621
- n || t && e.key === " " || He.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
620
+ n || t && e.key === " " || Ue.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
622
621
  })
623
622
  });
624
623
  });
625
- Ct.displayName = xt;
626
- var wt = K.forwardRef((e, t) => {
627
- let { __scopeMenu: n, disabled: r = !1, textValue: i, ...a } = e, o = dt(xt, n), s = $e(n), c = K.useRef(null), l = S(t, c), [u, d] = K.useState(!1), [f, p] = K.useState("");
624
+ wt.displayName = St;
625
+ var Tt = K.forwardRef((e, t) => {
626
+ let { __scopeMenu: n, disabled: r = !1, textValue: i, ...a } = e, o = ft(St, n), s = et(n), c = K.useRef(null), l = C(t, c), [u, d] = K.useState(!1), [f, p] = K.useState("");
628
627
  return K.useEffect(() => {
629
628
  let e = c.current;
630
629
  e && p((e.textContent ?? "").trim());
631
- }, [a.children]), /* @__PURE__ */ (0, q.jsx)(Je.ItemSlot, {
630
+ }, [a.children]), /* @__PURE__ */ (0, q.jsx)(Y.ItemSlot, {
632
631
  scope: n,
633
632
  disabled: r,
634
633
  textValue: i ?? f,
635
- children: /* @__PURE__ */ (0, q.jsx)(Ve, {
634
+ children: /* @__PURE__ */ (0, q.jsx)(He, {
636
635
  asChild: !0,
637
636
  ...s,
638
637
  focusable: !r,
639
- children: /* @__PURE__ */ (0, q.jsx)(E.div, {
638
+ children: /* @__PURE__ */ (0, q.jsx)(D.div, {
640
639
  role: "menuitem",
641
640
  "data-highlighted": u ? "" : void 0,
642
641
  "aria-disabled": r || void 0,
643
642
  "data-disabled": r ? "" : void 0,
644
643
  ...a,
645
644
  ref: l,
646
- onPointerMove: T(e.onPointerMove, rn((e) => {
645
+ onPointerMove: E(e.onPointerMove, an((e) => {
647
646
  r ? o.onItemLeave(e) : (o.onItemEnter(e), e.defaultPrevented || e.currentTarget.focus({ preventScroll: !0 }));
648
647
  })),
649
- onPointerLeave: T(e.onPointerLeave, rn((e) => o.onItemLeave(e))),
650
- onFocus: T(e.onFocus, () => d(!0)),
651
- onBlur: T(e.onBlur, () => d(!1))
648
+ onPointerLeave: E(e.onPointerLeave, an((e) => o.onItemLeave(e))),
649
+ onFocus: E(e.onFocus, () => d(!0)),
650
+ onBlur: E(e.onBlur, () => d(!1))
652
651
  })
653
652
  })
654
653
  });
655
- }), Tt = "MenuCheckboxItem", Et = K.forwardRef((e, t) => {
654
+ }), Et = "MenuCheckboxItem", Dt = K.forwardRef((e, t) => {
656
655
  let { checked: n = !1, onCheckedChange: r, ...i } = e;
657
- return /* @__PURE__ */ (0, q.jsx)(Pt, {
656
+ return /* @__PURE__ */ (0, q.jsx)(Ft, {
658
657
  scope: e.__scopeMenu,
659
658
  checked: n,
660
- children: /* @__PURE__ */ (0, q.jsx)(Ct, {
659
+ children: /* @__PURE__ */ (0, q.jsx)(wt, {
661
660
  role: "menuitemcheckbox",
662
- "aria-checked": Xt(n) ? "mixed" : n,
661
+ "aria-checked": Zt(n) ? "mixed" : n,
663
662
  ...i,
664
663
  ref: t,
665
- "data-state": Zt(n),
666
- onSelect: T(i.onSelect, () => r?.(Xt(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
664
+ "data-state": Qt(n),
665
+ onSelect: E(i.onSelect, () => r?.(Zt(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
667
666
  })
668
667
  });
669
668
  });
670
- Et.displayName = Tt;
671
- var Dt = "MenuRadioGroup", [Ot, kt] = X(Dt, {
669
+ Dt.displayName = Et;
670
+ var Ot = "MenuRadioGroup", [kt, At] = X(Ot, {
672
671
  value: void 0,
673
672
  onValueChange: () => {}
674
- }), At = K.forwardRef((e, t) => {
675
- let { value: n, onValueChange: r, ...i } = e, a = V(r);
676
- return /* @__PURE__ */ (0, q.jsx)(Ot, {
673
+ }), jt = K.forwardRef((e, t) => {
674
+ let { value: n, onValueChange: r, ...i } = e, a = H(r);
675
+ return /* @__PURE__ */ (0, q.jsx)(kt, {
677
676
  scope: e.__scopeMenu,
678
677
  value: n,
679
678
  onValueChange: a,
680
- children: /* @__PURE__ */ (0, q.jsx)(vt, {
679
+ children: /* @__PURE__ */ (0, q.jsx)(yt, {
681
680
  ...i,
682
681
  ref: t
683
682
  })
684
683
  });
685
684
  });
686
- At.displayName = Dt;
687
- var jt = "MenuRadioItem", Mt = K.forwardRef((e, t) => {
688
- let { value: n, ...r } = e, i = kt(jt, e.__scopeMenu), a = n === i.value;
689
- return /* @__PURE__ */ (0, q.jsx)(Pt, {
685
+ jt.displayName = Ot;
686
+ var Mt = "MenuRadioItem", Nt = K.forwardRef((e, t) => {
687
+ let { value: n, ...r } = e, i = At(Mt, e.__scopeMenu), a = n === i.value;
688
+ return /* @__PURE__ */ (0, q.jsx)(Ft, {
690
689
  scope: e.__scopeMenu,
691
690
  checked: a,
692
- children: /* @__PURE__ */ (0, q.jsx)(Ct, {
691
+ children: /* @__PURE__ */ (0, q.jsx)(wt, {
693
692
  role: "menuitemradio",
694
693
  "aria-checked": a,
695
694
  ...r,
696
695
  ref: t,
697
- "data-state": Zt(a),
698
- onSelect: T(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
696
+ "data-state": Qt(a),
697
+ onSelect: E(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
699
698
  })
700
699
  });
701
700
  });
702
- Mt.displayName = jt;
703
- var Nt = "MenuItemIndicator", [Pt, Ft] = X(Nt, { checked: !1 }), It = K.forwardRef((e, t) => {
704
- let { __scopeMenu: n, forceMount: r, ...i } = e, a = Ft(Nt, n);
705
- return /* @__PURE__ */ (0, q.jsx)(R, {
706
- present: r || Xt(a.checked) || a.checked === !0,
707
- children: /* @__PURE__ */ (0, q.jsx)(E.span, {
701
+ Nt.displayName = Mt;
702
+ var Pt = "MenuItemIndicator", [Ft, It] = X(Pt, { checked: !1 }), Lt = K.forwardRef((e, t) => {
703
+ let { __scopeMenu: n, forceMount: r, ...i } = e, a = It(Pt, n);
704
+ return /* @__PURE__ */ (0, q.jsx)(z, {
705
+ present: r || Zt(a.checked) || a.checked === !0,
706
+ children: /* @__PURE__ */ (0, q.jsx)(D.span, {
708
707
  ...i,
709
708
  ref: t,
710
- "data-state": Zt(a.checked)
709
+ "data-state": Qt(a.checked)
711
710
  })
712
711
  });
713
712
  });
714
- It.displayName = Nt;
715
- var Lt = "MenuSeparator", Rt = K.forwardRef((e, t) => {
713
+ Lt.displayName = Pt;
714
+ var Rt = "MenuSeparator", zt = K.forwardRef((e, t) => {
716
715
  let { __scopeMenu: n, ...r } = e;
717
- return /* @__PURE__ */ (0, q.jsx)(E.div, {
716
+ return /* @__PURE__ */ (0, q.jsx)(D.div, {
718
717
  role: "separator",
719
718
  "aria-orientation": "horizontal",
720
719
  ...r,
721
720
  ref: t
722
721
  });
723
722
  });
724
- Rt.displayName = Lt;
725
- var zt = "MenuArrow", Bt = K.forwardRef((e, t) => {
726
- let { __scopeMenu: n, ...r } = e, i = Qe(n);
727
- return /* @__PURE__ */ (0, q.jsx)(L, {
723
+ zt.displayName = Rt;
724
+ var Bt = "MenuArrow", Vt = K.forwardRef((e, t) => {
725
+ let { __scopeMenu: n, ...r } = e, i = $e(n);
726
+ return /* @__PURE__ */ (0, q.jsx)(R, {
728
727
  ...i,
729
728
  ...r,
730
729
  ref: t
731
730
  });
732
731
  });
733
- Bt.displayName = zt;
734
- var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
735
- 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 = V(i);
736
- return K.useEffect(() => (a.open === !1 && d(!1), () => d(!1)), [a.open, d]), /* @__PURE__ */ (0, q.jsx)(P, {
732
+ Vt.displayName = Bt;
733
+ var Ht = "MenuSub", [Ut, Wt] = X(Ht), Gt = (e) => {
734
+ let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = Z(Ht, t), o = $e(t), [s, c] = K.useState(null), [l, u] = K.useState(null), d = H(i);
735
+ return K.useEffect(() => (a.open === !1 && d(!1), () => d(!1)), [a.open, d]), /* @__PURE__ */ (0, q.jsx)(F, {
737
736
  ...o,
738
- children: /* @__PURE__ */ (0, q.jsx)(et, {
737
+ children: /* @__PURE__ */ (0, q.jsx)(tt, {
739
738
  scope: t,
740
739
  open: r,
741
740
  onOpenChange: d,
742
741
  content: l,
743
742
  onContentChange: u,
744
- children: /* @__PURE__ */ (0, q.jsx)(Ht, {
743
+ children: /* @__PURE__ */ (0, q.jsx)(Ut, {
745
744
  scope: t,
746
- contentId: O(),
747
- triggerId: O(),
745
+ contentId: k(),
746
+ triggerId: k(),
748
747
  trigger: s,
749
748
  onTriggerChange: c,
750
749
  children: n
@@ -752,9 +751,9 @@ var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
752
751
  })
753
752
  });
754
753
  };
755
- Wt.displayName = Vt;
756
- var Gt = "MenuSubTrigger", Kt = K.forwardRef((e, t) => {
757
- 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(() => {
754
+ Gt.displayName = Ht;
755
+ var Kt = "MenuSubTrigger", qt = K.forwardRef((e, t) => {
756
+ let n = Z(Kt, e.__scopeMenu), r = rt(Kt, e.__scopeMenu), i = Wt(Kt, e.__scopeMenu), a = ft(Kt, e.__scopeMenu), o = K.useRef(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: c } = a, l = { __scopeMenu: e.__scopeMenu }, u = K.useCallback(() => {
758
757
  o.current && window.clearTimeout(o.current), o.current = null;
759
758
  }, []);
760
759
  return K.useEffect(() => u, [u]), K.useEffect(() => {
@@ -762,26 +761,26 @@ var Gt = "MenuSubTrigger", Kt = K.forwardRef((e, t) => {
762
761
  return () => {
763
762
  window.clearTimeout(e), c(null);
764
763
  };
765
- }, [s, c]), /* @__PURE__ */ (0, q.jsx)(at, {
764
+ }, [s, c]), /* @__PURE__ */ (0, q.jsx)(ot, {
766
765
  asChild: !0,
767
766
  ...l,
768
- children: /* @__PURE__ */ (0, q.jsx)(wt, {
767
+ children: /* @__PURE__ */ (0, q.jsx)(Tt, {
769
768
  id: i.triggerId,
770
769
  "aria-haspopup": "menu",
771
770
  "aria-expanded": n.open,
772
771
  "aria-controls": i.contentId,
773
- "data-state": Yt(n.open),
772
+ "data-state": Xt(n.open),
774
773
  ...e,
775
- ref: C(t, i.onTriggerChange),
774
+ ref: w(t, i.onTriggerChange),
776
775
  onClick: (t) => {
777
776
  e.onClick?.(t), !(e.disabled || t.defaultPrevented) && (t.currentTarget.focus(), n.open || n.onOpenChange(!0));
778
777
  },
779
- onPointerMove: T(e.onPointerMove, rn((t) => {
778
+ onPointerMove: E(e.onPointerMove, an((t) => {
780
779
  a.onItemEnter(t), !t.defaultPrevented && !e.disabled && !n.open && !o.current && (a.onPointerGraceIntentChange(null), o.current = window.setTimeout(() => {
781
780
  n.onOpenChange(!0), u();
782
781
  }, 100));
783
782
  })),
784
- onPointerLeave: T(e.onPointerLeave, rn((e) => {
783
+ onPointerLeave: E(e.onPointerLeave, an((e) => {
785
784
  u();
786
785
  let t = n.content?.getBoundingClientRect();
787
786
  if (t) {
@@ -816,23 +815,23 @@ var Gt = "MenuSubTrigger", Kt = K.forwardRef((e, t) => {
816
815
  a.onPointerGraceIntentChange(null);
817
816
  }
818
817
  })),
819
- onKeyDown: T(e.onKeyDown, (t) => {
818
+ onKeyDown: E(e.onKeyDown, (t) => {
820
819
  let i = a.searchRef.current !== "";
821
- e.disabled || i && t.key === " " || Ke[r.dir].includes(t.key) && (n.onOpenChange(!0), n.content?.focus(), t.preventDefault());
820
+ e.disabled || i && t.key === " " || qe[r.dir].includes(t.key) && (n.onOpenChange(!0), n.content?.focus(), t.preventDefault());
822
821
  })
823
822
  })
824
823
  });
825
824
  });
826
- Kt.displayName = Gt;
827
- var qt = "MenuSubContent", Jt = K.forwardRef((e, t) => {
828
- 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 = S(t, c);
829
- return /* @__PURE__ */ (0, q.jsx)(Je.Provider, {
825
+ qt.displayName = Kt;
826
+ var Jt = "MenuSubContent", Yt = K.forwardRef((e, t) => {
827
+ let n = lt(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = rt(Q, e.__scopeMenu), s = Wt(Jt, e.__scopeMenu), c = K.useRef(null), l = C(t, c);
828
+ return /* @__PURE__ */ (0, q.jsx)(Y.Provider, {
830
829
  scope: e.__scopeMenu,
831
- children: /* @__PURE__ */ (0, q.jsx)(R, {
830
+ children: /* @__PURE__ */ (0, q.jsx)(z, {
832
831
  present: r || a.open,
833
- children: /* @__PURE__ */ (0, q.jsx)(Je.Slot, {
832
+ children: /* @__PURE__ */ (0, q.jsx)(Y.Slot, {
834
833
  scope: e.__scopeMenu,
835
- children: /* @__PURE__ */ (0, q.jsx)(gt, {
834
+ children: /* @__PURE__ */ (0, q.jsx)(_t, {
836
835
  id: s.contentId,
837
836
  "aria-labelledby": s.triggerId,
838
837
  ...i,
@@ -846,14 +845,14 @@ var qt = "MenuSubContent", Jt = K.forwardRef((e, t) => {
846
845
  o.isUsingKeyboardRef.current && c.current?.focus(), e.preventDefault();
847
846
  },
848
847
  onCloseAutoFocus: (e) => e.preventDefault(),
849
- onFocusOutside: T(e.onFocusOutside, (e) => {
848
+ onFocusOutside: E(e.onFocusOutside, (e) => {
850
849
  e.target !== s.trigger && a.onOpenChange(!1);
851
850
  }),
852
- onEscapeKeyDown: T(e.onEscapeKeyDown, (e) => {
851
+ onEscapeKeyDown: E(e.onEscapeKeyDown, (e) => {
853
852
  o.onClose(), e.preventDefault();
854
853
  }),
855
- onKeyDown: T(e.onKeyDown, (e) => {
856
- let t = e.currentTarget.contains(e.target), n = qe[o.dir].includes(e.key);
854
+ onKeyDown: E(e.onKeyDown, (e) => {
855
+ let t = e.currentTarget.contains(e.target), n = Je[o.dir].includes(e.key);
857
856
  t && n && (a.onOpenChange(!1), s.trigger?.focus(), e.preventDefault());
858
857
  })
859
858
  })
@@ -861,30 +860,30 @@ var qt = "MenuSubContent", Jt = K.forwardRef((e, t) => {
861
860
  })
862
861
  });
863
862
  });
864
- Jt.displayName = qt;
865
- function Yt(e) {
866
- return e ? "open" : "closed";
867
- }
863
+ Yt.displayName = Jt;
868
864
  function Xt(e) {
869
- return e === "indeterminate";
865
+ return e ? "open" : "closed";
870
866
  }
871
867
  function Zt(e) {
872
- return Xt(e) ? "indeterminate" : e ? "checked" : "unchecked";
868
+ return e === "indeterminate";
873
869
  }
874
870
  function Qt(e) {
871
+ return Zt(e) ? "indeterminate" : e ? "checked" : "unchecked";
872
+ }
873
+ function $t(e) {
875
874
  let t = document.activeElement;
876
875
  for (let n of e) if (n === t || (n.focus(), document.activeElement !== t)) return;
877
876
  }
878
- function $t(e, t) {
877
+ function en(e, t) {
879
878
  return e.map((n, r) => e[(t + r) % e.length]);
880
879
  }
881
- function en(e, t, n) {
882
- let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = $t(e, Math.max(i, 0));
880
+ function tn(e, t, n) {
881
+ let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = en(e, Math.max(i, 0));
883
882
  r.length === 1 && (a = a.filter((e) => e !== n));
884
883
  let o = a.find((e) => e.toLowerCase().startsWith(r.toLowerCase()));
885
884
  return o === n ? void 0 : o;
886
885
  }
887
- function tn(e, t) {
886
+ function nn(e, t) {
888
887
  let { x: n, y: r } = e, i = !1;
889
888
  for (let e = 0, a = t.length - 1; e < t.length; a = e++) {
890
889
  let o = t[e], s = t[a], c = o.x, l = o.y, u = s.x, d = s.y;
@@ -892,32 +891,32 @@ function tn(e, t) {
892
891
  }
893
892
  return i;
894
893
  }
895
- function nn(e, t) {
896
- return t ? tn({
894
+ function rn(e, t) {
895
+ return t ? nn({
897
896
  x: e.clientX,
898
897
  y: e.clientY
899
898
  }, t) : !1;
900
899
  }
901
- function rn(e) {
900
+ function an(e) {
902
901
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
903
902
  }
904
- 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] = D(bn, [Ze]), $ = Ze(), [Cn, wn] = xn(bn), Tn = (e) => {
905
- 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({
903
+ var on = it, sn = ot, cn = ut, ln = pt, un = yt, dn = xt, fn = wt, pn = Dt, mn = jt, hn = Nt, gn = Lt, _n = zt, vn = Vt, yn = qt, bn = Yt, xn = "DropdownMenu", [Sn, Cn] = O(xn, [Qe]), $ = Qe(), [wn, Tn] = Sn(xn), En = (e) => {
904
+ 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] = I({
906
905
  prop: i,
907
906
  defaultProp: a ?? !1,
908
907
  onChange: o,
909
- caller: bn
908
+ caller: xn
910
909
  });
911
- return /* @__PURE__ */ (0, q.jsx)(Cn, {
910
+ return /* @__PURE__ */ (0, q.jsx)(wn, {
912
911
  scope: t,
913
- triggerId: O(),
912
+ triggerId: k(),
914
913
  triggerRef: l,
915
- contentId: O(),
914
+ contentId: k(),
916
915
  open: u,
917
916
  onOpenChange: d,
918
917
  onOpenToggle: K.useCallback(() => d((e) => !e), [d]),
919
918
  modal: s,
920
- children: /* @__PURE__ */ (0, q.jsx)(an, {
919
+ children: /* @__PURE__ */ (0, q.jsx)(on, {
921
920
  ...c,
922
921
  open: u,
923
922
  onOpenChange: d,
@@ -927,13 +926,13 @@ var an = rt, on = at, sn = lt, cn = ft, ln = vt, un = bt, dn = Ct, fn = Et, pn =
927
926
  })
928
927
  });
929
928
  };
930
- Tn.displayName = bn;
931
- var En = "DropdownMenuTrigger", Dn = K.forwardRef((e, t) => {
932
- let { __scopeDropdownMenu: n, disabled: r = !1, ...i } = e, a = wn(En, n), o = $(n);
933
- return /* @__PURE__ */ (0, q.jsx)(on, {
929
+ En.displayName = xn;
930
+ var Dn = "DropdownMenuTrigger", On = K.forwardRef((e, t) => {
931
+ let { __scopeDropdownMenu: n, disabled: r = !1, ...i } = e, a = Tn(Dn, n), o = $(n);
932
+ return /* @__PURE__ */ (0, q.jsx)(sn, {
934
933
  asChild: !0,
935
934
  ...o,
936
- children: /* @__PURE__ */ (0, q.jsx)(E.button, {
935
+ children: /* @__PURE__ */ (0, q.jsx)(D.button, {
937
936
  type: "button",
938
937
  id: a.triggerId,
939
938
  "aria-haspopup": "menu",
@@ -943,11 +942,11 @@ var En = "DropdownMenuTrigger", Dn = K.forwardRef((e, t) => {
943
942
  "data-disabled": r ? "" : void 0,
944
943
  disabled: r,
945
944
  ...i,
946
- ref: C(t, a.triggerRef),
947
- onPointerDown: T(e.onPointerDown, (e) => {
945
+ ref: w(t, a.triggerRef),
946
+ onPointerDown: E(e.onPointerDown, (e) => {
948
947
  !r && e.button === 0 && e.ctrlKey === !1 && (a.onOpenToggle(), a.open || e.preventDefault());
949
948
  }),
950
- onKeyDown: T(e.onKeyDown, (e) => {
949
+ onKeyDown: E(e.onKeyDown, (e) => {
951
950
  r || (["Enter", " "].includes(e.key) && a.onOpenToggle(), e.key === "ArrowDown" && a.onOpenChange(!0), [
952
951
  "Enter",
953
952
  " ",
@@ -957,27 +956,27 @@ var En = "DropdownMenuTrigger", Dn = K.forwardRef((e, t) => {
957
956
  })
958
957
  });
959
958
  });
960
- Dn.displayName = En;
961
- var On = "DropdownMenuPortal", kn = (e) => {
959
+ On.displayName = Dn;
960
+ var kn = "DropdownMenuPortal", An = (e) => {
962
961
  let { __scopeDropdownMenu: t, ...n } = e, r = $(t);
963
- return /* @__PURE__ */ (0, q.jsx)(sn, {
962
+ return /* @__PURE__ */ (0, q.jsx)(cn, {
964
963
  ...r,
965
964
  ...n
966
965
  });
967
966
  };
968
- kn.displayName = On;
969
- var An = "DropdownMenuContent", jn = K.forwardRef((e, t) => {
970
- let { __scopeDropdownMenu: n, ...r } = e, i = wn(An, n), a = $(n), o = K.useRef(!1);
971
- return /* @__PURE__ */ (0, q.jsx)(cn, {
967
+ An.displayName = kn;
968
+ var jn = "DropdownMenuContent", Mn = K.forwardRef((e, t) => {
969
+ let { __scopeDropdownMenu: n, ...r } = e, i = Tn(jn, n), a = $(n), o = K.useRef(!1);
970
+ return /* @__PURE__ */ (0, q.jsx)(ln, {
972
971
  id: i.contentId,
973
972
  "aria-labelledby": i.triggerId,
974
973
  ...a,
975
974
  ...r,
976
975
  ref: t,
977
- onCloseAutoFocus: T(e.onCloseAutoFocus, (e) => {
976
+ onCloseAutoFocus: E(e.onCloseAutoFocus, (e) => {
978
977
  o.current || i.triggerRef.current?.focus(), o.current = !1, e.preventDefault();
979
978
  }),
980
- onInteractOutside: T(e.onInteractOutside, (e) => {
979
+ onInteractOutside: E(e.onInteractOutside, (e) => {
981
980
  let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
982
981
  (!i.modal || r) && (o.current = !0);
983
982
  }),
@@ -991,17 +990,8 @@ var An = "DropdownMenuContent", jn = K.forwardRef((e, t) => {
991
990
  }
992
991
  });
993
992
  });
994
- jn.displayName = An;
995
- var Mn = "DropdownMenuGroup", Nn = K.forwardRef((e, t) => {
996
- let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
997
- return /* @__PURE__ */ (0, q.jsx)(ln, {
998
- ...i,
999
- ...r,
1000
- ref: t
1001
- });
1002
- });
1003
- Nn.displayName = Mn;
1004
- var Pn = "DropdownMenuLabel", Fn = K.forwardRef((e, t) => {
993
+ Mn.displayName = jn;
994
+ var Nn = "DropdownMenuGroup", Pn = K.forwardRef((e, t) => {
1005
995
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1006
996
  return /* @__PURE__ */ (0, q.jsx)(un, {
1007
997
  ...i,
@@ -1009,8 +999,8 @@ var Pn = "DropdownMenuLabel", Fn = K.forwardRef((e, t) => {
1009
999
  ref: t
1010
1000
  });
1011
1001
  });
1012
- Fn.displayName = Pn;
1013
- var In = "DropdownMenuItem", Ln = K.forwardRef((e, t) => {
1002
+ Pn.displayName = Nn;
1003
+ var Fn = "DropdownMenuLabel", In = K.forwardRef((e, t) => {
1014
1004
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1015
1005
  return /* @__PURE__ */ (0, q.jsx)(dn, {
1016
1006
  ...i,
@@ -1018,8 +1008,8 @@ var In = "DropdownMenuItem", Ln = K.forwardRef((e, t) => {
1018
1008
  ref: t
1019
1009
  });
1020
1010
  });
1021
- Ln.displayName = In;
1022
- var Rn = "DropdownMenuCheckboxItem", zn = K.forwardRef((e, t) => {
1011
+ In.displayName = Fn;
1012
+ var Ln = "DropdownMenuItem", Rn = K.forwardRef((e, t) => {
1023
1013
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1024
1014
  return /* @__PURE__ */ (0, q.jsx)(fn, {
1025
1015
  ...i,
@@ -1027,8 +1017,8 @@ var Rn = "DropdownMenuCheckboxItem", zn = K.forwardRef((e, t) => {
1027
1017
  ref: t
1028
1018
  });
1029
1019
  });
1030
- zn.displayName = Rn;
1031
- var Bn = "DropdownMenuRadioGroup", Vn = K.forwardRef((e, t) => {
1020
+ Rn.displayName = Ln;
1021
+ var zn = "DropdownMenuCheckboxItem", Bn = K.forwardRef((e, t) => {
1032
1022
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1033
1023
  return /* @__PURE__ */ (0, q.jsx)(pn, {
1034
1024
  ...i,
@@ -1036,8 +1026,8 @@ var Bn = "DropdownMenuRadioGroup", Vn = K.forwardRef((e, t) => {
1036
1026
  ref: t
1037
1027
  });
1038
1028
  });
1039
- Vn.displayName = Bn;
1040
- var Hn = "DropdownMenuRadioItem", Un = K.forwardRef((e, t) => {
1029
+ Bn.displayName = zn;
1030
+ var Vn = "DropdownMenuRadioGroup", Hn = K.forwardRef((e, t) => {
1041
1031
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1042
1032
  return /* @__PURE__ */ (0, q.jsx)(mn, {
1043
1033
  ...i,
@@ -1045,8 +1035,8 @@ var Hn = "DropdownMenuRadioItem", Un = K.forwardRef((e, t) => {
1045
1035
  ref: t
1046
1036
  });
1047
1037
  });
1048
- Un.displayName = Hn;
1049
- var Wn = "DropdownMenuItemIndicator", Gn = K.forwardRef((e, t) => {
1038
+ Hn.displayName = Vn;
1039
+ var Un = "DropdownMenuRadioItem", Wn = K.forwardRef((e, t) => {
1050
1040
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1051
1041
  return /* @__PURE__ */ (0, q.jsx)(hn, {
1052
1042
  ...i,
@@ -1054,8 +1044,8 @@ var Wn = "DropdownMenuItemIndicator", Gn = K.forwardRef((e, t) => {
1054
1044
  ref: t
1055
1045
  });
1056
1046
  });
1057
- Gn.displayName = Wn;
1058
- var Kn = "DropdownMenuSeparator", qn = K.forwardRef((e, t) => {
1047
+ Wn.displayName = Un;
1048
+ var Gn = "DropdownMenuItemIndicator", Kn = K.forwardRef((e, t) => {
1059
1049
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1060
1050
  return /* @__PURE__ */ (0, q.jsx)(gn, {
1061
1051
  ...i,
@@ -1063,8 +1053,8 @@ var Kn = "DropdownMenuSeparator", qn = K.forwardRef((e, t) => {
1063
1053
  ref: t
1064
1054
  });
1065
1055
  });
1066
- qn.displayName = Kn;
1067
- var Jn = "DropdownMenuArrow", Yn = K.forwardRef((e, t) => {
1056
+ Kn.displayName = Gn;
1057
+ var qn = "DropdownMenuSeparator", Jn = K.forwardRef((e, t) => {
1068
1058
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1069
1059
  return /* @__PURE__ */ (0, q.jsx)(_n, {
1070
1060
  ...i,
@@ -1072,8 +1062,8 @@ var Jn = "DropdownMenuArrow", Yn = K.forwardRef((e, t) => {
1072
1062
  ref: t
1073
1063
  });
1074
1064
  });
1075
- Yn.displayName = Jn;
1076
- var Xn = "DropdownMenuSubTrigger", Zn = K.forwardRef((e, t) => {
1065
+ Jn.displayName = qn;
1066
+ var Yn = "DropdownMenuArrow", Xn = K.forwardRef((e, t) => {
1077
1067
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1078
1068
  return /* @__PURE__ */ (0, q.jsx)(vn, {
1079
1069
  ...i,
@@ -1081,10 +1071,19 @@ var Xn = "DropdownMenuSubTrigger", Zn = K.forwardRef((e, t) => {
1081
1071
  ref: t
1082
1072
  });
1083
1073
  });
1084
- Zn.displayName = Xn;
1085
- var Qn = "DropdownMenuSubContent", $n = K.forwardRef((e, t) => {
1074
+ Xn.displayName = Yn;
1075
+ var Zn = "DropdownMenuSubTrigger", Qn = K.forwardRef((e, t) => {
1086
1076
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1087
1077
  return /* @__PURE__ */ (0, q.jsx)(yn, {
1078
+ ...i,
1079
+ ...r,
1080
+ ref: t
1081
+ });
1082
+ });
1083
+ Qn.displayName = Zn;
1084
+ var $n = "DropdownMenuSubContent", er = K.forwardRef((e, t) => {
1085
+ let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1086
+ return /* @__PURE__ */ (0, q.jsx)(bn, {
1088
1087
  ...i,
1089
1088
  ...r,
1090
1089
  ref: t,
@@ -1098,11 +1097,11 @@ var Qn = "DropdownMenuSubContent", $n = K.forwardRef((e, t) => {
1098
1097
  }
1099
1098
  });
1100
1099
  });
1101
- $n.displayName = Qn;
1102
- var er = Tn, tr = Dn, nr = jn, rr = Ln;
1100
+ er.displayName = $n;
1101
+ var tr = En, nr = On, rr = Mn, ir = Rn;
1103
1102
  //#endregion
1104
1103
  //#region ../node_modules/@heroicons/react/24/outline/esm/BarsArrowDownIcon.js
1105
- function ir({ title: e, titleId: t, ...n }, r) {
1104
+ function ar({ title: e, titleId: t, ...n }, r) {
1106
1105
  return /*#__PURE__*/ K.createElement("svg", Object.assign({
1107
1106
  xmlns: "http://www.w3.org/2000/svg",
1108
1107
  fill: "none",
@@ -1119,33 +1118,33 @@ function ir({ title: e, titleId: t, ...n }, r) {
1119
1118
  d: "M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0-3.75-3.75M17.25 21 21 17.25"
1120
1119
  }));
1121
1120
  }
1122
- var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortByDistanceLabel: t, accessibilityLabel: n, on: r = () => {} }) => {
1123
- let i = ce();
1121
+ var or = /*#__PURE__*/ K.forwardRef(ar), sr = ({ sortByRelevanceLabel: e, sortByDistanceLabel: t, accessibilityLabel: n, on: r = () => {} }) => {
1122
+ let i = le();
1124
1123
  if (!i) throw Error("SortDropdown must be used within a SearchRankingProvider");
1125
1124
  let { sortMode: a, setSortMode: o, requestLocation: s, locationDenied: c } = i;
1126
- return /* @__PURE__ */ (0, q.jsxs)(er, {
1125
+ return /* @__PURE__ */ (0, q.jsxs)(tr, {
1127
1126
  onOpenChange: (e) => e && r("openSortMenu"),
1128
- children: [/* @__PURE__ */ (0, q.jsx)(tr, {
1127
+ children: [/* @__PURE__ */ (0, q.jsx)(nr, {
1129
1128
  asChild: !0,
1130
1129
  children: /* @__PURE__ */ (0, q.jsx)("button", {
1131
1130
  type: "button",
1132
1131
  className: "sid-sort-dropdown__trigger",
1133
1132
  "aria-label": n,
1134
- children: /* @__PURE__ */ (0, q.jsx)(ar, { className: "sid-sort-dropdown__icon" })
1133
+ children: /* @__PURE__ */ (0, q.jsx)(or, { className: "sid-sort-dropdown__icon" })
1135
1134
  })
1136
- }), /* @__PURE__ */ (0, q.jsxs)(nr, {
1135
+ }), /* @__PURE__ */ (0, q.jsxs)(rr, {
1137
1136
  className: "sid-sort-dropdown__content",
1138
1137
  sideOffset: 0,
1139
1138
  collisionPadding: 10,
1140
1139
  align: "end",
1141
- children: [/* @__PURE__ */ (0, q.jsx)(rr, {
1140
+ children: [/* @__PURE__ */ (0, q.jsx)(ir, {
1142
1141
  className: "sid-sort-dropdown__item",
1143
1142
  onSelect: () => {
1144
1143
  o("relevance"), r("sortRelevance");
1145
1144
  },
1146
1145
  "data-active": a === "relevance" ? "" : void 0,
1147
1146
  children: e
1148
- }), /* @__PURE__ */ (0, q.jsx)(rr, {
1147
+ }), /* @__PURE__ */ (0, q.jsx)(ir, {
1149
1148
  className: "sid-sort-dropdown__item",
1150
1149
  onSelect: async () => {
1151
1150
  if (!c) try {
@@ -1158,7 +1157,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1158
1157
  })]
1159
1158
  })]
1160
1159
  });
1161
- }, sr = (/* @__PURE__ */ t(((e, t) => {
1160
+ }, cr = (/* @__PURE__ */ t(((e, t) => {
1162
1161
  function n(e, t, n) {
1163
1162
  var r, i, a, o, s;
1164
1163
  t ??= 100;
@@ -1178,8 +1177,8 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1178
1177
  }, l;
1179
1178
  }
1180
1179
  n.debounce = n, t.exports = n;
1181
- })))(), cr = 42, lr = 26, ur = ({ getItemProps: e, highlightedIndex: t, organizations: n, itemToString: r, children: i, maxItemsToDisplay: a = lr }) => {
1182
- let o = K.Children.count(i), s = (n.length + o) * cr, c = {}, l = v("org-search-overlay") === "overlay", u = ce(), f = d(), p = (0, K.useMemo)(() => _e(f), [f]), m = (e) => !u?.userLocation || e.latitude == null || e.longitude == null ? null : ve(he(u.userLocation.latitude, u.userLocation.longitude, e.latitude, e.longitude), p);
1180
+ })))(), lr = 42, ur = 26, dr = ({ getItemProps: e, highlightedIndex: t, organizations: n, itemToString: r, children: i, maxItemsToDisplay: a = ur }) => {
1181
+ let o = K.Children.count(i), s = (n.length + o) * lr, c = {}, l = y("org-search-overlay") === "overlay", u = le(), f = d(), p = (0, K.useMemo)(() => ve(f), [f]), m = (e) => !u?.userLocation || e.latitude == null || e.longitude == null ? null : ye(ge(u.userLocation.latitude, u.userLocation.longitude, e.latitude, e.longitude), p);
1183
1182
  (0, K.useEffect)(() => {
1184
1183
  let e = document.getElementsByClassName("sid-organization-list__item--highlighted").item(0);
1185
1184
  e && ("scrollIntoViewIfNeeded" in e && typeof e.scrollIntoViewIfNeeded == "function" ? e.scrollIntoViewIfNeeded(!0) : e.scrollIntoView({
@@ -1225,7 +1224,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1225
1224
  children: [n.filter((e, t) => t <= a - 1).map((e, t) => h(e, t)), i]
1226
1225
  })
1227
1226
  });
1228
- }, dr = ({ className: e }) => /* @__PURE__ */ (0, q.jsx)("svg", {
1227
+ }, fr = ({ className: e }) => /* @__PURE__ */ (0, q.jsx)("svg", {
1229
1228
  xmlns: "http://www.w3.org/2000/svg",
1230
1229
  fill: "none",
1231
1230
  viewBox: "0 0 24 24",
@@ -1237,13 +1236,13 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1237
1236
  strokeLinejoin: "round",
1238
1237
  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"
1239
1238
  })
1240
- }), fr = ({ urlAddSchoolForm: e, programId: t, locale: r = n, onClick: o = () => void 0, onTipsShown: s }) => {
1241
- let [c, l] = K.useState(!1), { trackEvent: u } = re({ programId: t });
1239
+ }), pr = ({ urlAddSchoolForm: e, programId: t, locale: r = n, onClick: o = () => void 0, onTipsShown: s }) => {
1240
+ let [c, l] = K.useState(!1), { trackEvent: u } = ie({ programId: t });
1242
1241
  return c ? /* @__PURE__ */ (0, q.jsxs)("div", {
1243
1242
  className: "sid-organization-list__add-school-tips",
1244
1243
  children: [/* @__PURE__ */ (0, q.jsxs)("div", {
1245
1244
  className: "sid-organization-list__tips",
1246
- children: [/* @__PURE__ */ (0, q.jsx)("div", { children: /* @__PURE__ */ (0, q.jsx)(dr, { className: "sid-organization-list__tips-icon" }) }), /* @__PURE__ */ (0, q.jsxs)("div", {
1245
+ children: [/* @__PURE__ */ (0, q.jsx)("div", { children: /* @__PURE__ */ (0, q.jsx)(fr, { className: "sid-organization-list__tips-icon" }) }), /* @__PURE__ */ (0, q.jsxs)("div", {
1247
1246
  className: "sid-organization-list__tips-text",
1248
1247
  children: [/* @__PURE__ */ (0, q.jsx)(m, {
1249
1248
  id: "multipleLocationsTips",
@@ -1253,7 +1252,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1253
1252
  defaultMessage: "Try typing the full name of the academic institution rather than using acronyms or abbreviations."
1254
1253
  })]
1255
1254
  })]
1256
- }), /* @__PURE__ */ (0, q.jsx)(g, {
1255
+ }), /* @__PURE__ */ (0, q.jsx)(v, {
1257
1256
  onClick: o,
1258
1257
  className: "sid-organization-list__item sid-organization-list__request-school sid-link",
1259
1258
  href: `${e}?pid=${t}&locale=${r}`,
@@ -1262,7 +1261,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1262
1261
  defaultMessage: "Don't see your school? Request to have it added"
1263
1262
  })
1264
1263
  })]
1265
- }) : /* @__PURE__ */ (0, q.jsx)(g, {
1264
+ }) : /* @__PURE__ */ (0, q.jsx)(v, {
1266
1265
  onClick: () => {
1267
1266
  a({
1268
1267
  eventName: i.ASR_TIPS_SHOWN,
@@ -1278,11 +1277,11 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1278
1277
  defaultMessage: "Can't find your school? Click to show tips"
1279
1278
  })
1280
1279
  });
1281
- }, pr = (e) => o("name", e) || "", mr = (e) => e && e.find((e) => e.source === "PLACE") ? /* @__PURE__ */ (0, q.jsx)("img", {
1280
+ }, mr = (e) => o("name", e) || "", hr = (e) => e && e.find((e) => e.source === "PLACE") ? /* @__PURE__ */ (0, q.jsx)("img", {
1282
1281
  className: "sid-organization-list__attribution-logo",
1283
1282
  src: "https://developers.google.com/static/maps/documentation/images/google_on_white.png",
1284
1283
  alt: "Google"
1285
- }) : null, hr = (t, n, r) => {
1284
+ }) : null, gr = (t, n, r) => {
1286
1285
  if (!n && !r) return t;
1287
1286
  if (!t) return e.error("Expected orgSearchUrl"), t;
1288
1287
  try {
@@ -1293,8 +1292,8 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1293
1292
  } catch (t) {
1294
1293
  e.error(t);
1295
1294
  }
1296
- }, gr = ({ getItemProps: t, getMenuProps: n, highlightedIndex: r, itemToString: o, minimumSearchValueLength: s, onLoaded: c, programId: l, orgSearchUrl: u, locale: d, urlAddSchoolForm: f, openOrgSearchEnabled: p, onClickAddSchool: h, onTipsShown: g, searchUrlParams: v, searchValue: y }) => {
1297
- let [b, x] = (0, K.useState)(!1), [S, C] = (0, K.useState)(null), [T, E] = (0, K.useState)(null), D = (0, K.useRef)(!1), O = (0, K.useRef)(null), k = ce(), A = (0, K.useRef)({
1295
+ }, _r = ({ getItemProps: t, getMenuProps: n, highlightedIndex: r, itemToString: o, minimumSearchValueLength: s, onLoaded: c, programId: l, orgSearchUrl: u, locale: d, urlAddSchoolForm: f, openOrgSearchEnabled: p, onClickAddSchool: h, onTipsShown: _, searchUrlParams: v, searchValue: y }) => {
1296
+ let [b, x] = (0, K.useState)(!1), [S, C] = (0, K.useState)(null), [w, E] = (0, K.useState)(null), D = (0, K.useRef)(!1), O = (0, K.useRef)(null), k = le(), A = (0, K.useRef)({
1298
1297
  orgSearchUrl: u,
1299
1298
  searchValue: y,
1300
1299
  searchUrlParams: v,
@@ -1308,7 +1307,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1308
1307
  };
1309
1308
  let j = (0, K.useRef)(k);
1310
1309
  j.current = k;
1311
- let M = y || pr(u) || "", N = (0, K.useCallback)(async () => {
1310
+ let M = y || mr(u) || "", N = (0, K.useCallback)(async () => {
1312
1311
  if (!D.current) return;
1313
1312
  let { orgSearchUrl: t, searchValue: n, searchUrlParams: r, onLoaded: o } = A.current, s = r, c = j.current;
1314
1313
  c && c.sortMode === "distance" && c.userLocation && (s = {
@@ -1316,11 +1315,11 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1316
1315
  lat: String(c.userLocation.latitude),
1317
1316
  long: String(c.userLocation.longitude)
1318
1317
  });
1319
- let l = Date.now(), u = await _(hr(t, n, s));
1318
+ let l = Date.now(), u = await g(gr(t, n, s));
1320
1319
  if (D.current) {
1321
1320
  u && (o(u), C(u), x(!1));
1322
1321
  try {
1323
- let e = n || pr(t) || "";
1322
+ let e = n || mr(t) || "";
1324
1323
  a({
1325
1324
  eventName: i.ORGS_DISPLAYED,
1326
1325
  params: {
@@ -1334,33 +1333,33 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1334
1333
  }
1335
1334
  }
1336
1335
  }, []), P = (0, K.useRef)(null);
1337
- P.current ||= (0, sr.debounce)(N, 200), (0, K.useEffect)(() => (D.current = !0, () => {
1336
+ P.current ||= (0, cr.debounce)(N, 200), (0, K.useEffect)(() => (D.current = !0, () => {
1338
1337
  D.current = !1, P.current && P.current.clear();
1339
1338
  }), []), (0, K.useEffect)(() => {
1340
1339
  let t = O.current;
1341
1340
  t !== M && (M.length >= s ? (E(null), x(!0), C(null), P.current && P.current()) : (E(null), x(!1), C(null), t === null ? M.length > 0 && e.info(`No organizations fetched. Search searchTerm "${M}" is less than ${s} characters.`) : e.info(`No organizations fetched. Search searchTterm "${M}" is less than ${s} characters.`))), O.current = M;
1342
1341
  }, [M, s]);
1343
- let ee = k?.sortMode, F = k?.userLocation?.latitude, I = k?.userLocation?.longitude;
1342
+ let F = k?.sortMode, ee = k?.userLocation?.latitude, I = k?.userLocation?.longitude;
1344
1343
  (0, K.useEffect)(() => {
1345
1344
  M.length >= s && (E(null), x(!0), C(null), P.current?.());
1346
1345
  }, [
1347
- ee,
1348
1346
  F,
1347
+ ee,
1349
1348
  I,
1350
1349
  M,
1351
1350
  s
1352
1351
  ]);
1353
- let L = mr(S);
1352
+ let L = hr(S);
1354
1353
  return b ? /* @__PURE__ */ (0, q.jsx)("div", {
1355
1354
  className: "sid-organization-list__menu",
1356
1355
  children: /* @__PURE__ */ (0, q.jsx)("div", {
1357
1356
  className: "sid-organization-list__message sid-organization-list__spinner-container",
1358
1357
  children: /* @__PURE__ */ (0, q.jsx)("div", {
1359
1358
  id: "sid-spinner-container",
1360
- children: /* @__PURE__ */ (0, q.jsx)(w, {})
1359
+ children: /* @__PURE__ */ (0, q.jsx)(T, {})
1361
1360
  })
1362
1361
  })
1363
- }) : T ? /* @__PURE__ */ (0, q.jsx)("div", {
1362
+ }) : w ? /* @__PURE__ */ (0, q.jsx)("div", {
1364
1363
  className: "sid-organization-list__menu",
1365
1364
  children: /* @__PURE__ */ (0, q.jsx)("div", {
1366
1365
  className: "sid-organization-list__message",
@@ -1372,30 +1371,30 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1372
1371
  }) : S && S.length > 0 ? /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [L && /* @__PURE__ */ (0, q.jsx)("div", {
1373
1372
  className: "sid-organization-list__attribution",
1374
1373
  children: L
1375
- }), /* @__PURE__ */ (0, q.jsx)(ur, {
1374
+ }), /* @__PURE__ */ (0, q.jsx)(dr, {
1376
1375
  getItemProps: t,
1377
1376
  getMenuProps: n,
1378
1377
  highlightedIndex: r,
1379
1378
  itemToString: o,
1380
1379
  organizations: S,
1381
- children: M && !p && f && (!S || S.length < 26) && /* @__PURE__ */ (0, q.jsx)(fr, {
1380
+ children: M && !p && f && (!S || S.length < 26) && /* @__PURE__ */ (0, q.jsx)(pr, {
1382
1381
  onClick: h,
1383
- onTipsShown: g,
1382
+ onTipsShown: _,
1384
1383
  urlAddSchoolForm: f,
1385
1384
  programId: l,
1386
1385
  locale: d
1387
1386
  })
1388
1387
  })] }) : M && !p && f && (!S || S.length === 0) ? /* @__PURE__ */ (0, q.jsx)("div", {
1389
1388
  className: "sid-organization-list__menu",
1390
- children: /* @__PURE__ */ (0, q.jsx)(fr, {
1389
+ children: /* @__PURE__ */ (0, q.jsx)(pr, {
1391
1390
  onClick: h,
1392
- onTipsShown: g,
1391
+ onTipsShown: _,
1393
1392
  urlAddSchoolForm: f,
1394
1393
  programId: l,
1395
1394
  locale: d
1396
1395
  })
1397
1396
  }) : null;
1398
- }, _r = (e, t, n) => {
1397
+ }, vr = (e, t, n) => {
1399
1398
  if (e.type === W.stateChangeTypes.FunctionSelectItem) {
1400
1399
  let { selectedItem: n } = e;
1401
1400
  t(n);
@@ -1403,7 +1402,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1403
1402
  id: void 0,
1404
1403
  name: ""
1405
1404
  });
1406
- }, vr = ({ id: e, onMouseDown: t, disabled: n, onKeyDown: r, handleOnBlur: i }) => /* @__PURE__ */ (0, q.jsx)("button", {
1405
+ }, yr = ({ id: e, onMouseDown: t, disabled: n, onKeyDown: r, handleOnBlur: i }) => /* @__PURE__ */ (0, q.jsx)("button", {
1407
1406
  id: e,
1408
1407
  type: "button",
1409
1408
  onMouseDown: t,
@@ -1426,15 +1425,15 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1426
1425
  d: "M6 18L18 6M6 6l12 12"
1427
1426
  })
1428
1427
  })
1429
- }), yr = f(({ onChange: t, programId: n, className: r, countryCode: o, disabled: s, minimumSearchValueLength: c, placeholder: d, value: f, inputHtmlId: p, openOrgSearchEnabled: m, orgSearchUrl: h, isRequired: g, locale: _, urlAddSchoolForm: b, isErrored: x, ariaDescribedBy: S, autoFocus: C = !1, onBlur: w = () => {}, intl: T }) => {
1430
- let [E, D] = (0, K.useState)(f ? f.name : ""), [O, k] = (0, K.useState)([]), A = (0, K.useRef)(0), j = (0, K.useRef)(0), M = (0, K.useRef)(!1), N = (0, K.useRef)(!1), [P, ee] = (0, K.useState)(!1), [F, I] = (0, K.useState)(!1), { recordNumericMetric: L, trackEvent: R } = re({ programId: n }), z = v("org-search-overlay") === "overlay", { showOverlay: B, setShowOverlay: V } = oe();
1428
+ }), br = f(({ onChange: t, programId: n, className: r, countryCode: o, disabled: s, minimumSearchValueLength: c, placeholder: d, value: f, inputHtmlId: p, openOrgSearchEnabled: m, orgSearchUrl: h, isRequired: g, locale: _, urlAddSchoolForm: v, isErrored: x, ariaDescribedBy: S, autoFocus: C = !1, onBlur: w = () => {}, intl: T }) => {
1429
+ let [E, D] = (0, K.useState)(f ? f.name : ""), [O, k] = (0, K.useState)([]), A = (0, K.useRef)(0), j = (0, K.useRef)(0), M = (0, K.useRef)(!1), N = (0, K.useRef)(!1), [P, F] = (0, K.useState)(!1), [ee, I] = (0, K.useState)(!1), { recordNumericMetric: L, trackEvent: R } = ie({ programId: n }), z = y("org-search-overlay") === "overlay", { showOverlay: B, setShowOverlay: V } = se();
1431
1430
  l(t);
1432
- let H = (e) => e ? e.name : "", { isOpen: U, highlightedIndex: te, getMenuProps: ne, getItemProps: ie, getInputProps: ae } = W({
1431
+ let H = (e) => e ? e.name : "", { isOpen: te, highlightedIndex: U, getMenuProps: ne, getItemProps: re, getInputProps: ae } = W({
1433
1432
  itemToString: H,
1434
1433
  id: p,
1435
1434
  items: O,
1436
1435
  inputValue: E,
1437
- onStateChange: (e) => _r(e, t, {
1436
+ onStateChange: (e) => vr(e, t, {
1438
1437
  openOrgSearchEnabled: m,
1439
1438
  _searchOverlayEnabled: B
1440
1439
  }),
@@ -1470,7 +1469,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1470
1469
  }
1471
1470
  j.current = 0, A.current = 0, V(!1), t(n);
1472
1471
  }
1473
- }), se = () => {
1472
+ }), oe = () => {
1474
1473
  try {
1475
1474
  a({
1476
1475
  eventName: i.ASR_SELECTED,
@@ -1503,12 +1502,12 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1503
1502
  });
1504
1503
  }, ue = (0, K.useRef)(null);
1505
1504
  (0, K.useEffect)(() => {
1506
- y("organization", ue.current);
1505
+ b("organization", ue.current);
1507
1506
  });
1508
1507
  let de = (e) => {
1509
- ee(!0), e.currentTarget.value ? (I(!1), V(!0)) : I(!0);
1508
+ F(!0), e.currentTarget.value ? (I(!1), V(!0)) : I(!0);
1510
1509
  }, fe = (e) => {
1511
- e.relatedTarget?.id !== `${p}-clear-button` && (ee(!1), w());
1510
+ e.relatedTarget?.id !== `${p}-clear-button` && (F(!1), w());
1512
1511
  }, pe = (e) => {
1513
1512
  (e.type === "mousedown" || "key" in e && e.key === "Enter") && (D(""), t({
1514
1513
  id: void 0,
@@ -1540,7 +1539,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1540
1539
  "aria-describedby": S,
1541
1540
  "aria-invalid": x,
1542
1541
  "aria-labelledby": `${p}-label`
1543
- }), B && /* @__PURE__ */ (0, q.jsx)(or, {
1542
+ }), B && /* @__PURE__ */ (0, q.jsx)(sr, {
1544
1543
  sortByRelevanceLabel: T.formatMessage({
1545
1544
  id: "orgSearchSortByRelevance",
1546
1545
  defaultMessage: "Sort by Relevance"
@@ -1569,9 +1568,9 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1569
1568
  }
1570
1569
  })]
1571
1570
  }),
1572
- P && !B ? /* @__PURE__ */ (0, q.jsx)(vr, {
1571
+ P && !B ? /* @__PURE__ */ (0, q.jsx)(yr, {
1573
1572
  id: `${p}-clear-button`,
1574
- disabled: F,
1573
+ disabled: ee,
1575
1574
  onMouseDown: pe,
1576
1575
  onKeyDown: pe,
1577
1576
  handleOnBlur: fe
@@ -1579,18 +1578,18 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1579
1578
  /* @__PURE__ */ (0, q.jsx)("div", {
1580
1579
  ...ne(),
1581
1580
  className: "sid-organization-list__menu-wrapper",
1582
- children: E && U || B && E ? /* @__PURE__ */ (0, q.jsx)(gr, {
1581
+ children: E && te || B && E ? /* @__PURE__ */ (0, q.jsx)(_r, {
1583
1582
  countryCode: o,
1584
- getItemProps: ie,
1585
- highlightedIndex: te,
1583
+ getItemProps: re,
1584
+ highlightedIndex: U,
1586
1585
  itemToString: H,
1587
1586
  minimumSearchValueLength: c,
1588
1587
  onLoaded: (e) => k(e),
1589
1588
  programId: n,
1590
1589
  orgSearchUrl: h,
1591
1590
  locale: _,
1592
- urlAddSchoolForm: b,
1593
- onClickAddSchool: se,
1591
+ urlAddSchoolForm: v,
1592
+ onClickAddSchool: oe,
1594
1593
  onTipsShown: ce,
1595
1594
  openOrgSearchEnabled: m,
1596
1595
  searchUrlParams: z ? { format: "detailed" } : void 0
@@ -1598,69 +1597,66 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1598
1597
  })
1599
1598
  ]
1600
1599
  });
1601
- }), br = (e) => U(() => e.id) === 0 && U(() => e.name, "").length > 0, xr = (e, t) => U(() => e.openOrgSearchEnabled) && br(t.organization), Sr = f(({ fieldId: e, value: t, verificationService: n, onChange: r, placeholder: i, label: a, errorMessage: o, warningMessage: l, helperMessage: u, showPlaceholderAndHideLabel: f = !1, isRequired: p = !0, explanation: h = "", orgSearchUrl: g, urlAddSchoolForm: _, disabled: y = !1, intl: x }) => {
1602
- let S = `sid-${b(e)}`, C = `sid-${b(e)}-error`, w = `sid-${b(e)}-warning`, { programId: T, programTheme: E, verificationResponse: D, viewModel: O } = n, k = s(() => O.countryChoice.value), A = ie(E, k), j = d(O, D), [M, N] = (0, K.useState)(!1), P = v("org-search-overlay") === "overlay", ee = P || v("org-selected-display") === "box-display", F = v("hc-open-org-warning") === "warning-orange", I = v("hc-open-org-warning") === "warning-gray", L = F || I, [R, z] = (0, K.useState)(!1), B = s(() => E.openOrgSearchEnabled), V = () => {
1603
- B && br(t) ? z(!0) : z(!1);
1604
- }, H = (e) => {
1605
- R && z(!1), r(e);
1606
- }, U = R && L && /* @__PURE__ */ (0, q.jsx)(m, {
1600
+ }), xr = (e) => U(() => e.id) === 0 && U(() => e.name, "").length > 0, Sr = (e, t) => U(() => e.openOrgSearchEnabled) && xr(t.organization), Cr = ({ fieldId: e, value: t, verificationService: n, onChange: r, placeholder: i, label: a, errorMessage: o, warningMessage: l, helperMessage: u, showPlaceholderAndHideLabel: f = !1, isRequired: p = !0, explanation: h = "", orgSearchUrl: g, urlAddSchoolForm: v, disabled: b = !1 }) => {
1601
+ let { msg: S } = _(), C = `sid-${x(e)}`, w = `sid-${x(e)}-error`, T = `sid-${x(e)}-warning`, { programId: E, programTheme: D, verificationResponse: O, viewModel: k } = n, A = s(() => k.countryChoice.value), j = ae(D, A), M = d(k, O), [N, P] = (0, K.useState)(!1), F = y("org-search-overlay") === "overlay", ee = F || y("org-selected-display") === "box-display", I = y("hc-open-org-warning") === "warning-orange", L = y("hc-open-org-warning") === "warning-gray", R = I || L, [z, B] = (0, K.useState)(!1), V = s(() => D.openOrgSearchEnabled), H = () => {
1602
+ V && xr(t) ? B(!0) : B(!1);
1603
+ }, te = (e) => {
1604
+ z && B(!1), r(e);
1605
+ }, U = z && R && /* @__PURE__ */ (0, q.jsx)(m, {
1607
1606
  id: "warningId.openOrganization",
1608
1607
  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!"
1609
- }), W = l || F && U, G = u || I && U;
1610
- return /* @__PURE__ */ (0, q.jsx)(fe, {
1611
- enabled: P,
1608
+ }), W = l || I && U, G = u || L && U;
1609
+ return /* @__PURE__ */ (0, q.jsx)(pe, {
1610
+ enabled: F,
1612
1611
  closeSectionLabel: /* @__PURE__ */ (0, q.jsx)(m, {
1613
1612
  id: "closeSection",
1614
1613
  defaultMessage: "Close Section"
1615
1614
  }),
1616
- children: /* @__PURE__ */ (0, q.jsx)(ne, {
1615
+ children: /* @__PURE__ */ (0, q.jsx)(re, {
1617
1616
  fieldId: e,
1618
1617
  label: a,
1619
1618
  errorMessage: o,
1620
1619
  warningMessage: W,
1621
1620
  helperMessage: G,
1622
1621
  showPlaceholderAndHideLabel: f,
1623
- isRequired: p || A,
1624
- explanation: A ? /* @__PURE__ */ (0, q.jsx)(m, {
1622
+ isRequired: p || j,
1623
+ explanation: j ? /* @__PURE__ */ (0, q.jsx)(m, {
1625
1624
  id: "chooseCountry",
1626
1625
  defaultMessage: "Choose a country before searching"
1627
1626
  }) : h,
1628
- containerId: `${S}-id`,
1629
- children: ee && t.id ? /* @__PURE__ */ (0, q.jsx)(pe, {
1627
+ containerId: `${C}-id`,
1628
+ children: ee && t.id ? /* @__PURE__ */ (0, q.jsx)(me, {
1630
1629
  org: t,
1631
1630
  onClear: () => {
1632
- H(void 0), N(!0);
1631
+ te(void 0), P(!0);
1633
1632
  },
1634
- clearSelectionLabel: x.formatMessage({
1635
- id: "clearSelection",
1636
- defaultMessage: "Clear selection"
1637
- }),
1638
- labelId: te(e)
1639
- }) : /* @__PURE__ */ (0, q.jsx)(yr, {
1633
+ clearSelectionLabel: S({ id: "clearSelection" }),
1634
+ labelId: ne(e)
1635
+ }) : /* @__PURE__ */ (0, q.jsx)(br, {
1640
1636
  className: o ? "sid-text-input--error" : W ? "sid-text-input--warning" : "",
1641
- disabled: A || y,
1642
- countryCode: k,
1637
+ disabled: j || b,
1638
+ countryCode: A,
1643
1639
  minimumSearchValueLength: c().minimumOrganizationSearchLength,
1644
- onChange: H,
1640
+ onChange: te,
1645
1641
  placeholder: i,
1646
- programId: T,
1642
+ programId: E,
1647
1643
  value: t,
1648
- inputHtmlId: S,
1649
- openOrgSearchEnabled: E.openOrgSearchEnabled,
1650
- locale: j,
1651
- orgSearchUrl: g || s(() => E.config.orgSearchUrl),
1652
- urlAddSchoolForm: _,
1644
+ inputHtmlId: C,
1645
+ openOrgSearchEnabled: D.openOrgSearchEnabled,
1646
+ locale: M,
1647
+ orgSearchUrl: g || s(() => D.config.orgSearchUrl),
1648
+ urlAddSchoolForm: v,
1653
1649
  isRequired: p,
1654
1650
  isErrored: !!o,
1655
1651
  ariaDescribedBy: (() => {
1656
- if (o) return C;
1657
- if (W) return w;
1652
+ if (o) return w;
1653
+ if (W) return T;
1658
1654
  })(),
1659
- autoFocus: M,
1660
- onBlur: V
1655
+ autoFocus: N,
1656
+ onBlur: H
1661
1657
  })
1662
1658
  })
1663
1659
  });
1664
- });
1660
+ };
1665
1661
  //#endregion
1666
- export { xr as n, Sr as t };
1662
+ export { Sr as n, Cr as t };