@scbt-ecom/ui 0.38.0 → 0.38.1

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 (401) hide show
  1. package/dist/CustomLink-BQOhJbbq.js +4493 -0
  2. package/dist/CustomLink-BQOhJbbq.js.map +1 -0
  3. package/dist/_commonjsHelpers-C6fGbg64.js +7 -0
  4. package/dist/_commonjsHelpers-C6fGbg64.js.map +1 -0
  5. package/dist/api.d.ts +2 -0
  6. package/dist/api.js +26 -0
  7. package/dist/api.js.map +1 -0
  8. package/dist/cn-DIfn7EPB.js +2276 -0
  9. package/dist/cn-DIfn7EPB.js.map +1 -0
  10. package/dist/config.d.ts +2 -0
  11. package/dist/config.js +615 -0
  12. package/dist/config.js.map +1 -0
  13. package/dist/configs/index.d.ts +2 -0
  14. package/dist/configs/tailwindConfigBase.d.ts +2 -0
  15. package/dist/configs/tailwindPresets/extendsPreset.d.ts +2 -0
  16. package/dist/configs/tailwindPresets/index.d.ts +2 -0
  17. package/dist/configs/tailwindPresets/resetPreset.d.ts +2 -0
  18. package/dist/exports/api.d.ts +1 -0
  19. package/dist/exports/config.d.ts +1 -0
  20. package/dist/exports/hooks.d.ts +1 -0
  21. package/dist/exports/types.d.ts +1 -0
  22. package/dist/exports/ui.d.ts +1 -0
  23. package/dist/exports/utils.d.ts +1 -0
  24. package/dist/exports/validation.d.ts +1 -0
  25. package/dist/exports/widget.d.ts +1 -0
  26. package/dist/hooks.d.ts +2 -0
  27. package/dist/hooks.js +49 -0
  28. package/dist/hooks.js.map +1 -0
  29. package/dist/isClient-D-a29gNu.js +5 -0
  30. package/dist/isClient-D-a29gNu.js.map +1 -0
  31. package/dist/mergeRefs-qDToYXtM.js +12 -0
  32. package/dist/mergeRefs-qDToYXtM.js.map +1 -0
  33. package/dist/scrollToElement-B-reg4jF.js +12 -0
  34. package/dist/scrollToElement-B-reg4jF.js.map +1 -0
  35. package/dist/shared/api/apiInstance.d.ts +16 -0
  36. package/dist/shared/api/index.d.ts +1 -0
  37. package/dist/shared/constants/designSystem/colors.d.ts +124 -0
  38. package/dist/shared/constants/designSystem/index.d.ts +3 -0
  39. package/dist/shared/constants/designSystem/others.d.ts +27 -0
  40. package/dist/shared/constants/designSystem/typography.d.ts +75 -0
  41. package/dist/shared/constants/index.d.ts +1 -0
  42. package/dist/shared/hooks/index.d.ts +7 -0
  43. package/dist/shared/hooks/useBoolean.d.ts +3 -0
  44. package/dist/shared/hooks/useClickOutside.d.ts +2 -0
  45. package/dist/shared/hooks/useControlledForm.d.ts +7 -0
  46. package/dist/shared/hooks/useDebounce.d.ts +3 -0
  47. package/dist/shared/hooks/useDevice.d.ts +4 -0
  48. package/dist/shared/hooks/useFieldsProgress.d.ts +14 -0
  49. package/dist/shared/hooks/useObserveElements.d.ts +1 -0
  50. package/dist/shared/hooks/useOverflow.d.ts +1 -0
  51. package/dist/shared/types/index.d.ts +1 -0
  52. package/dist/shared/types/utils.d.ts +3 -0
  53. package/dist/shared/ui/accordion/Accordion.d.ts +17 -0
  54. package/dist/shared/ui/accordion/index.d.ts +1 -0
  55. package/dist/shared/ui/accordion/ui/AccordionHeader.d.ts +14 -0
  56. package/dist/shared/ui/badge/Badge.d.ts +6 -0
  57. package/dist/shared/ui/badge/index.d.ts +1 -0
  58. package/dist/shared/ui/brandLogos/BrandLogos.d.ts +5 -0
  59. package/dist/shared/ui/brandLogos/index.d.ts +1 -0
  60. package/dist/shared/ui/breadcrumbs/Breadcrumbs.d.ts +16 -0
  61. package/dist/shared/ui/breadcrumbs/index.d.ts +1 -0
  62. package/dist/shared/ui/button/Button.d.ts +17 -0
  63. package/dist/shared/ui/button/index.d.ts +1 -0
  64. package/dist/shared/ui/button/model/helpers.d.ts +2 -0
  65. package/dist/shared/ui/buttonIcon/ButtonIcon.d.ts +17 -0
  66. package/dist/shared/ui/buttonIcon/index.d.ts +1 -0
  67. package/dist/shared/ui/calendar/Calendar.d.ts +11 -0
  68. package/dist/shared/ui/calendar/index.d.ts +2 -0
  69. package/dist/shared/ui/calendar/model/index.d.ts +1 -0
  70. package/dist/shared/ui/calendar/model/utils.d.ts +35 -0
  71. package/dist/shared/ui/calendar/ui/Day.d.ts +9 -0
  72. package/dist/shared/ui/calendar/ui/DayButton.d.ts +8 -0
  73. package/dist/shared/ui/calendar/ui/Footer.d.ts +6 -0
  74. package/dist/shared/ui/calendar/ui/MonthCaption.d.ts +10 -0
  75. package/dist/shared/ui/calendar/ui/Navigation.d.ts +4 -0
  76. package/dist/shared/ui/calendar/ui/Weekday.d.ts +4 -0
  77. package/dist/shared/ui/calendar/ui/index.d.ts +7 -0
  78. package/dist/shared/ui/calendar/ui/model/index.d.ts +2 -0
  79. package/dist/shared/ui/calendar/ui/model/types.d.ts +9 -0
  80. package/dist/shared/ui/calendar/ui/model/utils.d.ts +13 -0
  81. package/dist/shared/ui/calendar/ui/selectDate/SelectDate.d.ts +13 -0
  82. package/dist/shared/ui/calendar/ui/selectDate/index.d.ts +1 -0
  83. package/dist/shared/ui/calendar/ui/selectDate/ui/SelectList.d.ts +10 -0
  84. package/dist/shared/ui/calendar/ui/selectDate/ui/Trigger.d.ts +9 -0
  85. package/dist/shared/ui/calendar/ui/selectDate/ui/index.d.ts +2 -0
  86. package/dist/shared/ui/customLink/CustomLink.d.ts +20 -0
  87. package/dist/shared/ui/customLink/index.d.ts +1 -0
  88. package/dist/shared/ui/document/Document.d.ts +14 -0
  89. package/dist/shared/ui/document/index.d.ts +1 -0
  90. package/dist/shared/ui/floatButton/FloatButton.d.ts +13 -0
  91. package/dist/shared/ui/floatButton/index.d.ts +1 -0
  92. package/dist/shared/ui/formElements/controlled/autocomplete/Autocomplete.d.ts +11 -0
  93. package/dist/shared/ui/formElements/controlled/autocomplete/index.d.ts +1 -0
  94. package/dist/shared/ui/formElements/controlled/checkbox/CheckboxControl.d.ts +27 -0
  95. package/dist/shared/ui/formElements/controlled/checkbox/index.d.ts +1 -0
  96. package/dist/shared/ui/formElements/controlled/dadata/address/DadataAddress.d.ts +11 -0
  97. package/dist/shared/ui/formElements/controlled/dadata/address/index.d.ts +1 -0
  98. package/dist/shared/ui/formElements/controlled/dadata/address/query.d.ts +3 -0
  99. package/dist/shared/ui/formElements/controlled/dadata/auto/DadataAuto.d.ts +11 -0
  100. package/dist/shared/ui/formElements/controlled/dadata/auto/index.d.ts +1 -0
  101. package/dist/shared/ui/formElements/controlled/dadata/auto/query.d.ts +3 -0
  102. package/dist/shared/ui/formElements/controlled/dadata/country/DadataCountry.d.ts +11 -0
  103. package/dist/shared/ui/formElements/controlled/dadata/country/index.d.ts +1 -0
  104. package/dist/shared/ui/formElements/controlled/dadata/country/query.d.ts +3 -0
  105. package/dist/shared/ui/formElements/controlled/dadata/fio/DadataFio.d.ts +11 -0
  106. package/dist/shared/ui/formElements/controlled/dadata/fio/index.d.ts +1 -0
  107. package/dist/shared/ui/formElements/controlled/dadata/fio/query.d.ts +3 -0
  108. package/dist/shared/ui/formElements/controlled/dadata/helpers.d.ts +2 -0
  109. package/dist/shared/ui/formElements/controlled/dadata/index.d.ts +5 -0
  110. package/dist/shared/ui/formElements/controlled/dadata/party/DadataOrganization.d.ts +11 -0
  111. package/dist/shared/ui/formElements/controlled/dadata/party/index.d.ts +1 -0
  112. package/dist/shared/ui/formElements/controlled/dadata/party/query.d.ts +3 -0
  113. package/dist/shared/ui/formElements/controlled/dadata/types.d.ts +35 -0
  114. package/dist/shared/ui/formElements/controlled/dayPickerControl/dayPickerControl.d.ts +36 -0
  115. package/dist/shared/ui/formElements/controlled/dayPickerControl/index.d.ts +1 -0
  116. package/dist/shared/ui/formElements/controlled/dayPickerControl/model/constants.d.ts +4 -0
  117. package/dist/shared/ui/formElements/controlled/dayPickerControl/model/index.d.ts +2 -0
  118. package/dist/shared/ui/formElements/controlled/dayPickerControl/model/utils.d.ts +25 -0
  119. package/dist/shared/ui/formElements/controlled/dayPickerControl/range.d.ts +29 -0
  120. package/dist/shared/ui/formElements/controlled/dayPickerControl/single.d.ts +30 -0
  121. package/dist/shared/ui/formElements/controlled/editor/EditorControl.d.ts +16 -0
  122. package/dist/shared/ui/formElements/controlled/editor/index.d.ts +1 -0
  123. package/dist/shared/ui/formElements/controlled/editor/model/config.d.ts +1 -0
  124. package/dist/shared/ui/formElements/controlled/editor/model/helper.d.ts +16 -0
  125. package/dist/shared/ui/formElements/controlled/editor/model/types.d.ts +6 -0
  126. package/dist/shared/ui/formElements/controlled/editor/ui/Editor.d.ts +18 -0
  127. package/dist/shared/ui/formElements/controlled/editor/ui/Toolbar.d.ts +6 -0
  128. package/dist/shared/ui/formElements/controlled/editor/ui/commands/SetColor.d.ts +6 -0
  129. package/dist/shared/ui/formElements/controlled/editor/ui/commands/SetCoreCommands.d.ts +6 -0
  130. package/dist/shared/ui/formElements/controlled/editor/ui/commands/SetHeadings.d.ts +6 -0
  131. package/dist/shared/ui/formElements/controlled/editor/ui/commands/index.d.ts +4 -0
  132. package/dist/shared/ui/formElements/controlled/editor/ui/commands/setCustomLink.d.ts +6 -0
  133. package/dist/shared/ui/formElements/controlled/index.d.ts +114 -0
  134. package/dist/shared/ui/formElements/controlled/input/InputControl.d.ts +22 -0
  135. package/dist/shared/ui/formElements/controlled/input/MaskInputControl.d.ts +22 -0
  136. package/dist/shared/ui/formElements/controlled/input/index.d.ts +2 -0
  137. package/dist/shared/ui/formElements/controlled/inputCurrency/InputCurrencyControl.d.ts +26 -0
  138. package/dist/shared/ui/formElements/controlled/inputCurrency/index.d.ts +1 -0
  139. package/dist/shared/ui/formElements/controlled/inputCurrency/model/helpers.d.ts +3 -0
  140. package/dist/shared/ui/formElements/controlled/inputCurrency/model/useInputCurrency.d.ts +10 -0
  141. package/dist/shared/ui/formElements/controlled/inputCurrency/ui/MenuTrigger.d.ts +7 -0
  142. package/dist/shared/ui/formElements/controlled/inputCurrency/ui/OptionList.d.ts +8 -0
  143. package/dist/shared/ui/formElements/controlled/inputCurrency/ui/index.d.ts +2 -0
  144. package/dist/shared/ui/formElements/controlled/inputOtp/InputOtpControl.d.ts +12 -0
  145. package/dist/shared/ui/formElements/controlled/inputOtp/index.d.ts +1 -0
  146. package/dist/shared/ui/formElements/controlled/radio/RadioGroupControl.d.ts +27 -0
  147. package/dist/shared/ui/formElements/controlled/radio/index.d.ts +1 -0
  148. package/dist/shared/ui/formElements/controlled/select/SelectControl.d.ts +26 -0
  149. package/dist/shared/ui/formElements/controlled/select/index.d.ts +1 -0
  150. package/dist/shared/ui/formElements/controlled/slider/SliderControl.d.ts +11 -0
  151. package/dist/shared/ui/formElements/controlled/slider/index.d.ts +1 -0
  152. package/dist/shared/ui/formElements/controlled/switch/SwitchControl.d.ts +35 -0
  153. package/dist/shared/ui/formElements/controlled/switch/index.d.ts +1 -0
  154. package/dist/shared/ui/formElements/controlled/textarea/TextareaControl.d.ts +22 -0
  155. package/dist/shared/ui/formElements/controlled/textarea/index.d.ts +1 -0
  156. package/dist/shared/ui/formElements/controlled/uploader/UploaderControl.d.ts +12 -0
  157. package/dist/shared/ui/formElements/controlled/uploader/index.d.ts +1 -0
  158. package/dist/shared/ui/formElements/index.d.ts +2 -0
  159. package/dist/shared/ui/formElements/ui/MessageView.d.ts +14 -0
  160. package/dist/shared/ui/formElements/ui/fieldAttachment/FieldAttachment.d.ts +20 -0
  161. package/dist/shared/ui/formElements/ui/fieldAttachment/index.d.ts +1 -0
  162. package/dist/shared/ui/formElements/ui/fieldAttachment/ui/IconSlot.d.ts +6 -0
  163. package/dist/shared/ui/formElements/ui/fieldAttachment/ui/ValidateSlot.d.ts +7 -0
  164. package/dist/shared/ui/formElements/ui/fieldAttachment/ui/index.d.ts +2 -0
  165. package/dist/shared/ui/formElements/ui/index.d.ts +2 -0
  166. package/dist/shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.d.ts +27 -0
  167. package/dist/shared/ui/formElements/uncontrolled/autocomplete/index.d.ts +1 -0
  168. package/dist/shared/ui/formElements/uncontrolled/checkbox/Checkbox.d.ts +41 -0
  169. package/dist/shared/ui/formElements/uncontrolled/checkbox/index.d.ts +1 -0
  170. package/dist/shared/ui/formElements/uncontrolled/dayPicker/DayPicker.d.ts +57 -0
  171. package/dist/shared/ui/formElements/uncontrolled/dayPicker/index.d.ts +1 -0
  172. package/dist/shared/ui/formElements/uncontrolled/index.d.ts +142 -0
  173. package/dist/shared/ui/formElements/uncontrolled/input/Input.d.ts +68 -0
  174. package/dist/shared/ui/formElements/uncontrolled/input/index.d.ts +1 -0
  175. package/dist/shared/ui/formElements/uncontrolled/inputOtp/InputOtpBase.d.ts +51 -0
  176. package/dist/shared/ui/formElements/uncontrolled/inputOtp/index.d.ts +1 -0
  177. package/dist/shared/ui/formElements/uncontrolled/inputOtp/ui/InputOtpSlot.d.ts +14 -0
  178. package/dist/shared/ui/formElements/uncontrolled/inputOtp/ui/index.d.ts +1 -0
  179. package/dist/shared/ui/formElements/uncontrolled/maskInput/MaskInput.d.ts +50 -0
  180. package/dist/shared/ui/formElements/uncontrolled/maskInput/index.d.ts +1 -0
  181. package/dist/shared/ui/formElements/uncontrolled/maskInput/model/mask/index.d.ts +1 -0
  182. package/dist/shared/ui/formElements/uncontrolled/maskInput/model/mask/utils.d.ts +2 -0
  183. package/dist/shared/ui/formElements/uncontrolled/radio/RadioGroup.d.ts +67 -0
  184. package/dist/shared/ui/formElements/uncontrolled/radio/index.d.ts +2 -0
  185. package/dist/shared/ui/formElements/uncontrolled/radio/ui/RadioItem.d.ts +35 -0
  186. package/dist/shared/ui/formElements/uncontrolled/radio/ui/index.d.ts +1 -0
  187. package/dist/shared/ui/formElements/uncontrolled/select/Select.d.ts +134 -0
  188. package/dist/shared/ui/formElements/uncontrolled/select/hooks/index.d.ts +1 -0
  189. package/dist/shared/ui/formElements/uncontrolled/select/hooks/useSelectController.d.ts +22 -0
  190. package/dist/shared/ui/formElements/uncontrolled/select/index.d.ts +3 -0
  191. package/dist/shared/ui/formElements/uncontrolled/select/model/compareByValue.d.ts +2 -0
  192. package/dist/shared/ui/formElements/uncontrolled/select/model/index.d.ts +2 -0
  193. package/dist/shared/ui/formElements/uncontrolled/select/model/typeGuards.d.ts +2 -0
  194. package/dist/shared/ui/formElements/uncontrolled/select/model/types.d.ts +14 -0
  195. package/dist/shared/ui/formElements/uncontrolled/select/ui/Chip.d.ts +12 -0
  196. package/dist/shared/ui/formElements/uncontrolled/select/ui/ChipList.d.ts +11 -0
  197. package/dist/shared/ui/formElements/uncontrolled/select/ui/SelectItem.d.ts +24 -0
  198. package/dist/shared/ui/formElements/uncontrolled/select/ui/index.d.ts +2 -0
  199. package/dist/shared/ui/formElements/uncontrolled/slider/SliderBase.d.ts +74 -0
  200. package/dist/shared/ui/formElements/uncontrolled/slider/index.d.ts +1 -0
  201. package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getIntlMonth.d.ts +1 -0
  202. package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getYearIntl.d.ts +1 -0
  203. package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/index.d.ts +2 -0
  204. package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/formatNumber.d.ts +1 -0
  205. package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/getInputSliderSuffix.d.ts +2 -0
  206. package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/index.d.ts +2 -0
  207. package/dist/shared/ui/formElements/uncontrolled/slider/model/types.d.ts +1 -0
  208. package/dist/shared/ui/formElements/uncontrolled/slider/model/useLogarithmic.d.ts +15 -0
  209. package/dist/shared/ui/formElements/uncontrolled/slider/model/useSlider.d.ts +17 -0
  210. package/dist/shared/ui/formElements/uncontrolled/slider/ui/Slider.d.ts +20 -0
  211. package/dist/shared/ui/formElements/uncontrolled/slider/ui/index.d.ts +1 -0
  212. package/dist/shared/ui/formElements/uncontrolled/switch/Switch.d.ts +22 -0
  213. package/dist/shared/ui/formElements/uncontrolled/switch/index.d.ts +1 -0
  214. package/dist/shared/ui/formElements/uncontrolled/textarea/Textarea.d.ts +59 -0
  215. package/dist/shared/ui/formElements/uncontrolled/textarea/index.d.ts +1 -0
  216. package/dist/shared/ui/formElements/uncontrolled/uploader/UploaderBase.d.ts +38 -0
  217. package/dist/shared/ui/formElements/uncontrolled/uploader/index.d.ts +2 -0
  218. package/dist/shared/ui/formElements/uncontrolled/uploader/model/helpers.d.ts +10 -0
  219. package/dist/shared/ui/formElements/uncontrolled/uploader/model/hooks/useUploader.d.ts +11 -0
  220. package/dist/shared/ui/formElements/uncontrolled/uploader/model/index.d.ts +1 -0
  221. package/dist/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFile.d.ts +19 -0
  222. package/dist/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFilename.d.ts +9 -0
  223. package/dist/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFiles.d.ts +16 -0
  224. package/dist/shared/ui/formElements/uncontrolled/uploader/ui/UploaderInput.d.ts +17 -0
  225. package/dist/shared/ui/formElements/uncontrolled/uploader/ui/index.d.ts +4 -0
  226. package/dist/shared/ui/heading/Heading.d.ts +12 -0
  227. package/dist/shared/ui/heading/index.d.ts +1 -0
  228. package/dist/shared/ui/hint/Hint.d.ts +21 -0
  229. package/dist/shared/ui/hint/index.d.ts +1 -0
  230. package/dist/shared/ui/icon/Icon.d.ts +10 -0
  231. package/dist/shared/ui/icon/index.d.ts +2 -0
  232. package/dist/shared/ui/icon/sprite.gen.d.ts +20 -0
  233. package/dist/shared/ui/index.d.ts +28 -0
  234. package/dist/shared/ui/keyboardShortcuts/KeyboardShortcuts.d.ts +11 -0
  235. package/dist/shared/ui/keyboardShortcuts/index.d.ts +1 -0
  236. package/dist/shared/ui/ligal/Ligal.d.ts +12 -0
  237. package/dist/shared/ui/ligal/index.d.ts +1 -0
  238. package/dist/shared/ui/loader/Loader.d.ts +21 -0
  239. package/dist/shared/ui/loader/index.d.ts +1 -0
  240. package/dist/shared/ui/modal/Modal.d.ts +19 -0
  241. package/dist/shared/ui/modal/index.d.ts +1 -0
  242. package/dist/shared/ui/modal/model/helpers.d.ts +33 -0
  243. package/dist/shared/ui/modal/ui/ModalHeader.d.ts +10 -0
  244. package/dist/shared/ui/notification/Notification.d.ts +10 -0
  245. package/dist/shared/ui/notification/index.d.ts +1 -0
  246. package/dist/shared/ui/notification/ui/CustomToast.d.ts +10 -0
  247. package/dist/shared/ui/phoneView/PhoneView.d.ts +13 -0
  248. package/dist/shared/ui/phoneView/index.d.ts +1 -0
  249. package/dist/shared/ui/popover/Popover.d.ts +27 -0
  250. package/dist/shared/ui/popover/index.d.ts +1 -0
  251. package/dist/shared/ui/progressBar/ProgressBar.d.ts +18 -0
  252. package/dist/shared/ui/progressBar/index.d.ts +1 -0
  253. package/dist/shared/ui/providers/NotificationProvider.d.ts +5 -0
  254. package/dist/shared/ui/providers/index.d.ts +1 -0
  255. package/dist/shared/ui/responsiveContainer/ResponsiveContainer.d.ts +7 -0
  256. package/dist/shared/ui/responsiveContainer/index.d.ts +1 -0
  257. package/dist/shared/ui/section/Section.d.ts +6 -0
  258. package/dist/shared/ui/section/index.d.ts +1 -0
  259. package/dist/shared/ui/skeleton/Skeleton.d.ts +4 -0
  260. package/dist/shared/ui/skeleton/index.d.ts +1 -0
  261. package/dist/shared/ui/slot/Slot.d.ts +6 -0
  262. package/dist/shared/ui/slot/index.d.ts +1 -0
  263. package/dist/shared/ui/slot/model/getElementRef.d.ts +1 -0
  264. package/dist/shared/ui/slot/model/index.d.ts +3 -0
  265. package/dist/shared/ui/slot/model/isSlottable.d.ts +2 -0
  266. package/dist/shared/ui/slot/model/mergeProps.d.ts +5 -0
  267. package/dist/shared/ui/slot/ui/SlotClone.d.ts +4 -0
  268. package/dist/shared/ui/slot/ui/Slottable.d.ts +4 -0
  269. package/dist/shared/ui/slot/ui/index.d.ts +2 -0
  270. package/dist/shared/ui/tabSwitcher/TabsSwitcher.d.ts +9 -0
  271. package/dist/shared/ui/tabSwitcher/index.d.ts +2 -0
  272. package/dist/shared/ui/tabSwitcher/model/types.d.ts +23 -0
  273. package/dist/shared/ui/tabSwitcher/ui/TabContent.d.ts +10 -0
  274. package/dist/shared/utils/capitalize.d.ts +1 -0
  275. package/dist/shared/utils/cn.d.ts +2 -0
  276. package/dist/shared/utils/index.d.ts +6 -0
  277. package/dist/shared/utils/isClient.d.ts +1 -0
  278. package/dist/shared/utils/mergeRefs.d.ts +2 -0
  279. package/dist/shared/utils/scrollToElement.d.ts +3 -0
  280. package/dist/shared/utils/typeGuards.d.ts +9 -0
  281. package/dist/shared/validation/base/base.constants.d.ts +20 -0
  282. package/dist/shared/validation/base/base.validators.d.ts +16 -0
  283. package/dist/shared/validation/base/date.validators.d.ts +55 -0
  284. package/dist/shared/validation/base/email.validators.d.ts +49 -0
  285. package/dist/shared/validation/base/index.d.ts +2 -0
  286. package/dist/shared/validation/base/number.validators.d.ts +53 -0
  287. package/dist/shared/validation/base/phone.validators.d.ts +55 -0
  288. package/dist/shared/validation/base/select.validators.d.ts +85 -0
  289. package/dist/shared/validation/base/string.validators.d.ts +68 -0
  290. package/dist/shared/validation/base/union.validators.d.ts +56 -0
  291. package/dist/shared/validation/dadata/dadata.constants.d.ts +14 -0
  292. package/dist/shared/validation/dadata/fio.validators.d.ts +46 -0
  293. package/dist/shared/validation/dadata/index.d.ts +6 -0
  294. package/dist/shared/validation/index.d.ts +20 -0
  295. package/dist/shared/validation/messages.d.ts +13 -0
  296. package/dist/shared/validation/regExp.d.ts +3 -0
  297. package/dist/shared/validation/utils/index.d.ts +1 -0
  298. package/dist/shared/validation/utils/zodUtils.d.ts +41 -0
  299. package/dist/shared/validation/zodValidation/calendar.d.ts +2 -0
  300. package/dist/shared/validation/zodValidation/dadataFio.d.ts +7 -0
  301. package/dist/shared/validation/zodValidation/index.d.ts +4 -0
  302. package/dist/shared/validation/zodValidation/otpCode.d.ts +2 -0
  303. package/dist/shared/validation/zodValidation/phone.d.ts +2 -0
  304. package/dist/sprites/arrows.svg +1 -0
  305. package/dist/sprites/brandLogos.svg +1 -0
  306. package/dist/sprites/editor.svg +1 -0
  307. package/dist/sprites/files.svg +1 -0
  308. package/dist/sprites/general.svg +1 -0
  309. package/dist/sprites/info.svg +1 -0
  310. package/dist/sprites/logos.svg +1 -0
  311. package/dist/sprites/social.svg +1 -0
  312. package/dist/style.css +1 -0
  313. package/dist/typeGuards-B82KZ2oS.js +27 -0
  314. package/dist/typeGuards-B82KZ2oS.js.map +1 -0
  315. package/dist/types.d.ts +2 -0
  316. package/dist/types.js +2 -0
  317. package/dist/types.js.map +1 -0
  318. package/dist/ui.d.ts +2 -0
  319. package/dist/ui.js +37980 -0
  320. package/dist/ui.js.map +1 -0
  321. package/dist/useDebounce-BNBPHQrJ.js +1167 -0
  322. package/dist/useDebounce-BNBPHQrJ.js.map +1 -0
  323. package/dist/useDevice-L83kSsN7.js +28 -0
  324. package/dist/useDevice-L83kSsN7.js.map +1 -0
  325. package/dist/utils-b38KjjXe.js +5194 -0
  326. package/dist/utils-b38KjjXe.js.map +1 -0
  327. package/dist/utils-tailwind.css +57 -0
  328. package/dist/utils.d.ts +2 -0
  329. package/dist/utils.js +15 -0
  330. package/dist/utils.js.map +1 -0
  331. package/dist/validation.d.ts +2 -0
  332. package/dist/validation.js +393 -0
  333. package/dist/validation.js.map +1 -0
  334. package/dist/widget.d.ts +2 -0
  335. package/dist/widget.js +924 -0
  336. package/dist/widget.js.map +1 -0
  337. package/dist/widgets/advantages/Advantages.d.ts +13 -0
  338. package/dist/widgets/advantages/index.d.ts +1 -0
  339. package/dist/widgets/advantages/model/index.d.ts +1 -0
  340. package/dist/widgets/advantages/model/types.d.ts +4 -0
  341. package/dist/widgets/authProvider/AuthProvider.d.ts +3 -0
  342. package/dist/widgets/authProvider/index.d.ts +2 -0
  343. package/dist/widgets/authProvider/model/helpers.d.ts +5 -0
  344. package/dist/widgets/authProvider/model/types.d.ts +70 -0
  345. package/dist/widgets/authProvider/ui/Esia.d.ts +2 -0
  346. package/dist/widgets/authProvider/ui/MobileId.d.ts +2 -0
  347. package/dist/widgets/authProvider/ui/index.d.ts +2 -0
  348. package/dist/widgets/authProvider/ui/ui/AuthWrapper.d.ts +12 -0
  349. package/dist/widgets/authProvider/ui/ui/EsiaLogo.d.ts +2 -0
  350. package/dist/widgets/authProvider/ui/ui/Links.d.ts +12 -0
  351. package/dist/widgets/authProvider/ui/ui/index.d.ts +3 -0
  352. package/dist/widgets/banner/Banner.d.ts +20 -0
  353. package/dist/widgets/banner/index.d.ts +2 -0
  354. package/dist/widgets/banner/model/index.d.ts +1 -0
  355. package/dist/widgets/banner/model/types.d.ts +18 -0
  356. package/dist/widgets/banner/ui/BannerButtonsGroup.d.ts +13 -0
  357. package/dist/widgets/banner/ui/banners/BannerImageFull.d.ts +2 -0
  358. package/dist/widgets/banner/ui/banners/BannerWithSeparateImg.d.ts +2 -0
  359. package/dist/widgets/banner/ui/banners/index.d.ts +2 -0
  360. package/dist/widgets/benefit/Benefit.d.ts +20 -0
  361. package/dist/widgets/benefit/index.d.ts +1 -0
  362. package/dist/widgets/benefit/model/index.d.ts +1 -0
  363. package/dist/widgets/benefit/model/types.d.ts +3 -0
  364. package/dist/widgets/benefit/ui/BenefitItem.d.ts +28 -0
  365. package/dist/widgets/footer/Footer.d.ts +12 -0
  366. package/dist/widgets/footer/index.d.ts +1 -0
  367. package/dist/widgets/footer/model/defaultValues.d.ts +5 -0
  368. package/dist/widgets/footer/model/types.d.ts +38 -0
  369. package/dist/widgets/footer/ui/Copyright.d.ts +10 -0
  370. package/dist/widgets/footer/ui/FooterLogo.d.ts +8 -0
  371. package/dist/widgets/footer/ui/NavLinks.d.ts +15 -0
  372. package/dist/widgets/footer/ui/PhonesBlock.d.ts +13 -0
  373. package/dist/widgets/footer/ui/SiteMap.d.ts +8 -0
  374. package/dist/widgets/footer/ui/SocialLinks.d.ts +12 -0
  375. package/dist/widgets/footer/ui/index.d.ts +6 -0
  376. package/dist/widgets/index.d.ts +9 -0
  377. package/dist/widgets/interLinking/InterLinking.d.ts +15 -0
  378. package/dist/widgets/interLinking/index.d.ts +2 -0
  379. package/dist/widgets/interLinking/model/schema.d.ts +150 -0
  380. package/dist/widgets/interLinking/model/types.d.ts +5 -0
  381. package/dist/widgets/interLinking/ui/Column.d.ts +13 -0
  382. package/dist/widgets/interLinking/ui/ColumnGroup.d.ts +13 -0
  383. package/dist/widgets/interLinking/ui/LinksList.d.ts +11 -0
  384. package/dist/widgets/interLinking/ui/index.d.ts +1 -0
  385. package/dist/widgets/longBanner/LongBanner.d.ts +10 -0
  386. package/dist/widgets/longBanner/index.d.ts +1 -0
  387. package/dist/widgets/longBanner/model/cva.d.ts +16 -0
  388. package/dist/widgets/longBanner/model/types.d.ts +30 -0
  389. package/dist/widgets/longBanner/ui/TextItem.d.ts +2 -0
  390. package/dist/widgets/longBanner/ui/TextList.d.ts +8 -0
  391. package/dist/widgets/longBanner/ui/Title.d.ts +10 -0
  392. package/dist/widgets/longBanner/ui/index.d.ts +3 -0
  393. package/dist/widgets/pageHeader/PageHeader.d.ts +2 -0
  394. package/dist/widgets/pageHeader/index.d.ts +1 -0
  395. package/dist/widgets/pageHeader/model/helpers.d.ts +2 -0
  396. package/dist/widgets/pageHeader/model/types.d.ts +25 -0
  397. package/dist/widgets/stepper/Stepper.d.ts +18 -0
  398. package/dist/widgets/stepper/index.d.ts +1 -0
  399. package/dist/widgets/stepper/model/types.d.ts +11 -0
  400. package/dist/widgets/stepper/ui/SingleStep.d.ts +9 -0
  401. package/package.json +1 -1
@@ -0,0 +1,4493 @@
1
+ import { c as L, a as Wo } from "./cn-DIfn7EPB.js";
2
+ import * as d from "react";
3
+ import H, { forwardRef as nr, useLayoutEffect as $o, useEffect as Vo, useState as zo } from "react";
4
+ import * as rr from "react-dom";
5
+ import Ho from "react-dom";
6
+ var Ut = { exports: {} }, Xe = {};
7
+ /**
8
+ * @license React
9
+ * react-jsx-runtime.production.min.js
10
+ *
11
+ * Copyright (c) Facebook, Inc. and its affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */
16
+ var Nn;
17
+ function Uo() {
18
+ if (Nn) return Xe;
19
+ Nn = 1;
20
+ var e = H, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function a(s, u, l) {
22
+ var f, p = {}, m = null, v = null;
23
+ l !== void 0 && (m = "" + l), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (v = u.ref);
24
+ for (f in u) r.call(u, f) && !i.hasOwnProperty(f) && (p[f] = u[f]);
25
+ if (s && s.defaultProps) for (f in u = s.defaultProps, u) p[f] === void 0 && (p[f] = u[f]);
26
+ return { $$typeof: t, type: s, key: m, ref: v, props: p, _owner: o.current };
27
+ }
28
+ return Xe.Fragment = n, Xe.jsx = a, Xe.jsxs = a, Xe;
29
+ }
30
+ var Ge = {};
31
+ /**
32
+ * @license React
33
+ * react-jsx-runtime.development.js
34
+ *
35
+ * Copyright (c) Facebook, Inc. and its affiliates.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */
40
+ var kn;
41
+ function Yo() {
42
+ return kn || (kn = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var e = H, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), x = Symbol.iterator, h = "@@iterator";
44
+ function g(c) {
45
+ if (c === null || typeof c != "object")
46
+ return null;
47
+ var C = x && c[x] || c[h];
48
+ return typeof C == "function" ? C : null;
49
+ }
50
+ var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function b(c) {
52
+ {
53
+ for (var C = arguments.length, P = new Array(C > 1 ? C - 1 : 0), O = 1; O < C; O++)
54
+ P[O - 1] = arguments[O];
55
+ E("error", c, P);
56
+ }
57
+ }
58
+ function E(c, C, P) {
59
+ {
60
+ var O = w.ReactDebugCurrentFrame, D = O.getStackAddendum();
61
+ D !== "" && (C += "%s", P = P.concat([D]));
62
+ var B = P.map(function(k) {
63
+ return String(k);
64
+ });
65
+ B.unshift("Warning: " + C), Function.prototype.apply.call(console[c], console, B);
66
+ }
67
+ }
68
+ var R = !1, A = !1, _ = !1, S = !1, j = !1, F;
69
+ F = Symbol.for("react.module.reference");
70
+ function W(c) {
71
+ return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || j || c === o || c === l || c === f || S || c === v || R || A || _ || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === p || c.$$typeof === a || c.$$typeof === s || c.$$typeof === u || // This needs to include all possible module reference object
72
+ // types supported by any Flight configuration anywhere since
73
+ // we don't know which Flight build this will end up being used
74
+ // with.
75
+ c.$$typeof === F || c.getModuleId !== void 0));
76
+ }
77
+ function G(c, C, P) {
78
+ var O = c.displayName;
79
+ if (O)
80
+ return O;
81
+ var D = C.displayName || C.name || "";
82
+ return D !== "" ? P + "(" + D + ")" : P;
83
+ }
84
+ function K(c) {
85
+ return c.displayName || "Context";
86
+ }
87
+ function I(c) {
88
+ if (c == null)
89
+ return null;
90
+ if (typeof c.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
91
+ return c.displayName || c.name || null;
92
+ if (typeof c == "string")
93
+ return c;
94
+ switch (c) {
95
+ case r:
96
+ return "Fragment";
97
+ case n:
98
+ return "Portal";
99
+ case i:
100
+ return "Profiler";
101
+ case o:
102
+ return "StrictMode";
103
+ case l:
104
+ return "Suspense";
105
+ case f:
106
+ return "SuspenseList";
107
+ }
108
+ if (typeof c == "object")
109
+ switch (c.$$typeof) {
110
+ case s:
111
+ var C = c;
112
+ return K(C) + ".Consumer";
113
+ case a:
114
+ var P = c;
115
+ return K(P._context) + ".Provider";
116
+ case u:
117
+ return G(c, c.render, "ForwardRef");
118
+ case p:
119
+ var O = c.displayName || null;
120
+ return O !== null ? O : I(c.type) || "Memo";
121
+ case m: {
122
+ var D = c, B = D._payload, k = D._init;
123
+ try {
124
+ return I(k(B));
125
+ } catch {
126
+ return null;
127
+ }
128
+ }
129
+ }
130
+ return null;
131
+ }
132
+ var M = Object.assign, X = 0, $, V, N, Y, Q, Ee, tt;
133
+ function nt() {
134
+ }
135
+ nt.__reactDisabledLog = !0;
136
+ function _t() {
137
+ {
138
+ if (X === 0) {
139
+ $ = console.log, V = console.info, N = console.warn, Y = console.error, Q = console.group, Ee = console.groupCollapsed, tt = console.groupEnd;
140
+ var c = {
141
+ configurable: !0,
142
+ enumerable: !0,
143
+ value: nt,
144
+ writable: !0
145
+ };
146
+ Object.defineProperties(console, {
147
+ info: c,
148
+ log: c,
149
+ warn: c,
150
+ error: c,
151
+ group: c,
152
+ groupCollapsed: c,
153
+ groupEnd: c
154
+ });
155
+ }
156
+ X++;
157
+ }
158
+ }
159
+ function Tt() {
160
+ {
161
+ if (X--, X === 0) {
162
+ var c = {
163
+ configurable: !0,
164
+ enumerable: !0,
165
+ writable: !0
166
+ };
167
+ Object.defineProperties(console, {
168
+ log: M({}, c, {
169
+ value: $
170
+ }),
171
+ info: M({}, c, {
172
+ value: V
173
+ }),
174
+ warn: M({}, c, {
175
+ value: N
176
+ }),
177
+ error: M({}, c, {
178
+ value: Y
179
+ }),
180
+ group: M({}, c, {
181
+ value: Q
182
+ }),
183
+ groupCollapsed: M({}, c, {
184
+ value: Ee
185
+ }),
186
+ groupEnd: M({}, c, {
187
+ value: tt
188
+ })
189
+ });
190
+ }
191
+ X < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ }
193
+ }
194
+ var Ye = w.ReactCurrentDispatcher, Te;
195
+ function Re(c, C, P) {
196
+ {
197
+ if (Te === void 0)
198
+ try {
199
+ throw Error();
200
+ } catch (D) {
201
+ var O = D.stack.trim().match(/\n( *(at )?)/);
202
+ Te = O && O[1] || "";
203
+ }
204
+ return `
205
+ ` + Te + c;
206
+ }
207
+ }
208
+ var Ne = !1, Pe;
209
+ {
210
+ var rt = typeof WeakMap == "function" ? WeakMap : Map;
211
+ Pe = new rt();
212
+ }
213
+ function Ke(c, C) {
214
+ if (!c || Ne)
215
+ return "";
216
+ {
217
+ var P = Pe.get(c);
218
+ if (P !== void 0)
219
+ return P;
220
+ }
221
+ var O;
222
+ Ne = !0;
223
+ var D = Error.prepareStackTrace;
224
+ Error.prepareStackTrace = void 0;
225
+ var B;
226
+ B = Ye.current, Ye.current = null, _t();
227
+ try {
228
+ if (C) {
229
+ var k = function() {
230
+ throw Error();
231
+ };
232
+ if (Object.defineProperty(k.prototype, "props", {
233
+ set: function() {
234
+ throw Error();
235
+ }
236
+ }), typeof Reflect == "object" && Reflect.construct) {
237
+ try {
238
+ Reflect.construct(k, []);
239
+ } catch (J) {
240
+ O = J;
241
+ }
242
+ Reflect.construct(c, [], k);
243
+ } else {
244
+ try {
245
+ k.call();
246
+ } catch (J) {
247
+ O = J;
248
+ }
249
+ c.call(k.prototype);
250
+ }
251
+ } else {
252
+ try {
253
+ throw Error();
254
+ } catch (J) {
255
+ O = J;
256
+ }
257
+ c();
258
+ }
259
+ } catch (J) {
260
+ if (J && O && typeof J.stack == "string") {
261
+ for (var T = J.stack.split(`
262
+ `), q = O.stack.split(`
263
+ `), z = T.length - 1, U = q.length - 1; z >= 1 && U >= 0 && T[z] !== q[U]; )
264
+ U--;
265
+ for (; z >= 1 && U >= 0; z--, U--)
266
+ if (T[z] !== q[U]) {
267
+ if (z !== 1 || U !== 1)
268
+ do
269
+ if (z--, U--, U < 0 || T[z] !== q[U]) {
270
+ var ne = `
271
+ ` + T[z].replace(" at new ", " at ");
272
+ return c.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", c.displayName)), typeof c == "function" && Pe.set(c, ne), ne;
273
+ }
274
+ while (z >= 1 && U >= 0);
275
+ break;
276
+ }
277
+ }
278
+ } finally {
279
+ Ne = !1, Ye.current = B, Tt(), Error.prepareStackTrace = D;
280
+ }
281
+ var De = c ? c.displayName || c.name : "", Oe = De ? Re(De) : "";
282
+ return typeof c == "function" && Pe.set(c, Oe), Oe;
283
+ }
284
+ function Ae(c, C, P) {
285
+ return Ke(c, !1);
286
+ }
287
+ function ot(c) {
288
+ var C = c.prototype;
289
+ return !!(C && C.isReactComponent);
290
+ }
291
+ function ke(c, C, P) {
292
+ if (c == null)
293
+ return "";
294
+ if (typeof c == "function")
295
+ return Ke(c, ot(c));
296
+ if (typeof c == "string")
297
+ return Re(c);
298
+ switch (c) {
299
+ case l:
300
+ return Re("Suspense");
301
+ case f:
302
+ return Re("SuspenseList");
303
+ }
304
+ if (typeof c == "object")
305
+ switch (c.$$typeof) {
306
+ case u:
307
+ return Ae(c.render);
308
+ case p:
309
+ return ke(c.type, C, P);
310
+ case m: {
311
+ var O = c, D = O._payload, B = O._init;
312
+ try {
313
+ return ke(B(D), C, P);
314
+ } catch {
315
+ }
316
+ }
317
+ }
318
+ return "";
319
+ }
320
+ var Se = Object.prototype.hasOwnProperty, it = {}, at = w.ReactDebugCurrentFrame;
321
+ function fe(c) {
322
+ if (c) {
323
+ var C = c._owner, P = ke(c.type, c._source, C ? C.type : null);
324
+ at.setExtraStackFrame(P);
325
+ } else
326
+ at.setExtraStackFrame(null);
327
+ }
328
+ function yo(c, C, P, O, D) {
329
+ {
330
+ var B = Function.call.bind(Se);
331
+ for (var k in c)
332
+ if (B(c, k)) {
333
+ var T = void 0;
334
+ try {
335
+ if (typeof c[k] != "function") {
336
+ var q = Error((O || "React class") + ": " + P + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw q.name = "Invariant Violation", q;
338
+ }
339
+ T = c[k](C, k, O, P, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (z) {
341
+ T = z;
342
+ }
343
+ T && !(T instanceof Error) && (fe(D), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", O || "React class", P, k, typeof T), fe(null)), T instanceof Error && !(T.message in it) && (it[T.message] = !0, fe(D), b("Failed %s type: %s", P, T.message), fe(null));
344
+ }
345
+ }
346
+ }
347
+ var wo = Array.isArray;
348
+ function Nt(c) {
349
+ return wo(c);
350
+ }
351
+ function xo(c) {
352
+ {
353
+ var C = typeof Symbol == "function" && Symbol.toStringTag, P = C && c[Symbol.toStringTag] || c.constructor.name || "Object";
354
+ return P;
355
+ }
356
+ }
357
+ function bo(c) {
358
+ try {
359
+ return wn(c), !1;
360
+ } catch {
361
+ return !0;
362
+ }
363
+ }
364
+ function wn(c) {
365
+ return "" + c;
366
+ }
367
+ function xn(c) {
368
+ if (bo(c))
369
+ return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xo(c)), wn(c);
370
+ }
371
+ var bn = w.ReactCurrentOwner, Co = {
372
+ key: !0,
373
+ ref: !0,
374
+ __self: !0,
375
+ __source: !0
376
+ }, Cn, En;
377
+ function Eo(c) {
378
+ if (Se.call(c, "ref")) {
379
+ var C = Object.getOwnPropertyDescriptor(c, "ref").get;
380
+ if (C && C.isReactWarning)
381
+ return !1;
382
+ }
383
+ return c.ref !== void 0;
384
+ }
385
+ function Ro(c) {
386
+ if (Se.call(c, "key")) {
387
+ var C = Object.getOwnPropertyDescriptor(c, "key").get;
388
+ if (C && C.isReactWarning)
389
+ return !1;
390
+ }
391
+ return c.key !== void 0;
392
+ }
393
+ function Po(c, C) {
394
+ typeof c.ref == "string" && bn.current;
395
+ }
396
+ function Ao(c, C) {
397
+ {
398
+ var P = function() {
399
+ Cn || (Cn = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", C));
400
+ };
401
+ P.isReactWarning = !0, Object.defineProperty(c, "key", {
402
+ get: P,
403
+ configurable: !0
404
+ });
405
+ }
406
+ }
407
+ function So(c, C) {
408
+ {
409
+ var P = function() {
410
+ En || (En = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", C));
411
+ };
412
+ P.isReactWarning = !0, Object.defineProperty(c, "ref", {
413
+ get: P,
414
+ configurable: !0
415
+ });
416
+ }
417
+ }
418
+ var Oo = function(c, C, P, O, D, B, k) {
419
+ var T = {
420
+ // This tag allows us to uniquely identify this as a React Element
421
+ $$typeof: t,
422
+ // Built-in properties that belong on the element
423
+ type: c,
424
+ key: C,
425
+ ref: P,
426
+ props: k,
427
+ // Record the component responsible for creating this element.
428
+ _owner: B
429
+ };
430
+ return T._store = {}, Object.defineProperty(T._store, "validated", {
431
+ configurable: !1,
432
+ enumerable: !1,
433
+ writable: !0,
434
+ value: !1
435
+ }), Object.defineProperty(T, "_self", {
436
+ configurable: !1,
437
+ enumerable: !1,
438
+ writable: !1,
439
+ value: O
440
+ }), Object.defineProperty(T, "_source", {
441
+ configurable: !1,
442
+ enumerable: !1,
443
+ writable: !1,
444
+ value: D
445
+ }), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
446
+ };
447
+ function _o(c, C, P, O, D) {
448
+ {
449
+ var B, k = {}, T = null, q = null;
450
+ P !== void 0 && (xn(P), T = "" + P), Ro(C) && (xn(C.key), T = "" + C.key), Eo(C) && (q = C.ref, Po(C, D));
451
+ for (B in C)
452
+ Se.call(C, B) && !Co.hasOwnProperty(B) && (k[B] = C[B]);
453
+ if (c && c.defaultProps) {
454
+ var z = c.defaultProps;
455
+ for (B in z)
456
+ k[B] === void 0 && (k[B] = z[B]);
457
+ }
458
+ if (T || q) {
459
+ var U = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
460
+ T && Ao(k, U), q && So(k, U);
461
+ }
462
+ return Oo(c, T, q, D, O, bn.current, k);
463
+ }
464
+ }
465
+ var kt = w.ReactCurrentOwner, Rn = w.ReactDebugCurrentFrame;
466
+ function je(c) {
467
+ if (c) {
468
+ var C = c._owner, P = ke(c.type, c._source, C ? C.type : null);
469
+ Rn.setExtraStackFrame(P);
470
+ } else
471
+ Rn.setExtraStackFrame(null);
472
+ }
473
+ var jt;
474
+ jt = !1;
475
+ function Dt(c) {
476
+ return typeof c == "object" && c !== null && c.$$typeof === t;
477
+ }
478
+ function Pn() {
479
+ {
480
+ if (kt.current) {
481
+ var c = I(kt.current.type);
482
+ if (c)
483
+ return `
484
+
485
+ Check the render method of \`` + c + "`.";
486
+ }
487
+ return "";
488
+ }
489
+ }
490
+ function To(c) {
491
+ return "";
492
+ }
493
+ var An = {};
494
+ function No(c) {
495
+ {
496
+ var C = Pn();
497
+ if (!C) {
498
+ var P = typeof c == "string" ? c : c.displayName || c.name;
499
+ P && (C = `
500
+
501
+ Check the top-level render call using <` + P + ">.");
502
+ }
503
+ return C;
504
+ }
505
+ }
506
+ function Sn(c, C) {
507
+ {
508
+ if (!c._store || c._store.validated || c.key != null)
509
+ return;
510
+ c._store.validated = !0;
511
+ var P = No(C);
512
+ if (An[P])
513
+ return;
514
+ An[P] = !0;
515
+ var O = "";
516
+ c && c._owner && c._owner !== kt.current && (O = " It was passed a child from " + I(c._owner.type) + "."), je(c), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', P, O), je(null);
517
+ }
518
+ }
519
+ function On(c, C) {
520
+ {
521
+ if (typeof c != "object")
522
+ return;
523
+ if (Nt(c))
524
+ for (var P = 0; P < c.length; P++) {
525
+ var O = c[P];
526
+ Dt(O) && Sn(O, C);
527
+ }
528
+ else if (Dt(c))
529
+ c._store && (c._store.validated = !0);
530
+ else if (c) {
531
+ var D = g(c);
532
+ if (typeof D == "function" && D !== c.entries)
533
+ for (var B = D.call(c), k; !(k = B.next()).done; )
534
+ Dt(k.value) && Sn(k.value, C);
535
+ }
536
+ }
537
+ }
538
+ function ko(c) {
539
+ {
540
+ var C = c.type;
541
+ if (C == null || typeof C == "string")
542
+ return;
543
+ var P;
544
+ if (typeof C == "function")
545
+ P = C.propTypes;
546
+ else if (typeof C == "object" && (C.$$typeof === u || // Note: Memo only checks outer props here.
547
+ // Inner props are checked in the reconciler.
548
+ C.$$typeof === p))
549
+ P = C.propTypes;
550
+ else
551
+ return;
552
+ if (P) {
553
+ var O = I(C);
554
+ yo(P, c.props, "prop", O, c);
555
+ } else if (C.PropTypes !== void 0 && !jt) {
556
+ jt = !0;
557
+ var D = I(C);
558
+ b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
559
+ }
560
+ typeof C.getDefaultProps == "function" && !C.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
+ }
562
+ }
563
+ function jo(c) {
564
+ {
565
+ for (var C = Object.keys(c.props), P = 0; P < C.length; P++) {
566
+ var O = C[P];
567
+ if (O !== "children" && O !== "key") {
568
+ je(c), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", O), je(null);
569
+ break;
570
+ }
571
+ }
572
+ c.ref !== null && (je(c), b("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
573
+ }
574
+ }
575
+ var _n = {};
576
+ function Tn(c, C, P, O, D, B) {
577
+ {
578
+ var k = W(c);
579
+ if (!k) {
580
+ var T = "";
581
+ (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
+ var q = To();
583
+ q ? T += q : T += Pn();
584
+ var z;
585
+ c === null ? z = "null" : Nt(c) ? z = "array" : c !== void 0 && c.$$typeof === t ? (z = "<" + (I(c.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : z = typeof c, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, T);
586
+ }
587
+ var U = _o(c, C, P, D, B);
588
+ if (U == null)
589
+ return U;
590
+ if (k) {
591
+ var ne = C.children;
592
+ if (ne !== void 0)
593
+ if (O)
594
+ if (Nt(ne)) {
595
+ for (var De = 0; De < ne.length; De++)
596
+ On(ne[De], c);
597
+ Object.freeze && Object.freeze(ne);
598
+ } else
599
+ b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
+ else
601
+ On(ne, c);
602
+ }
603
+ if (Se.call(C, "key")) {
604
+ var Oe = I(c), J = Object.keys(C).filter(function(Bo) {
605
+ return Bo !== "key";
606
+ }), Mt = J.length > 0 ? "{key: someKey, " + J.join(": ..., ") + ": ...}" : "{key: someKey}";
607
+ if (!_n[Oe + Mt]) {
608
+ var Fo = J.length > 0 ? "{" + J.join(": ..., ") + ": ...}" : "{}";
609
+ b(`A props object containing a "key" prop is being spread into JSX:
610
+ let props = %s;
611
+ <%s {...props} />
612
+ React keys must be passed directly to JSX without using spread:
613
+ let props = %s;
614
+ <%s key={someKey} {...props} />`, Mt, Oe, Fo, Oe), _n[Oe + Mt] = !0;
615
+ }
616
+ }
617
+ return c === r ? jo(U) : ko(U), U;
618
+ }
619
+ }
620
+ function Do(c, C, P) {
621
+ return Tn(c, C, P, !0);
622
+ }
623
+ function Mo(c, C, P) {
624
+ return Tn(c, C, P, !1);
625
+ }
626
+ var Io = Mo, Lo = Do;
627
+ Ge.Fragment = r, Ge.jsx = Io, Ge.jsxs = Lo;
628
+ }()), Ge;
629
+ }
630
+ process.env.NODE_ENV === "production" ? Ut.exports = Uo() : Ut.exports = Yo();
631
+ var y = Ut.exports;
632
+ const pc = ({ children: e, className: t, ...n }) => /* @__PURE__ */ y.jsx("section", { className: L("pb-16 desktop:pb-20", t), ...n, children: e }), hc = ({ children: e, offset: t = !0, className: n, ...r }) => /* @__PURE__ */ y.jsx("div", { className: L("m-auto w-full max-w-[636px] desktop:max-w-[1140px]", { "mobile:px-4": t }, n), ...r, children: e }), jn = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Dn = Wo, ze = (e, t) => (n) => {
633
+ var r;
634
+ if ((t == null ? void 0 : t.variants) == null) return Dn(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
635
+ const { variants: o, defaultVariants: i } = t, a = Object.keys(o).map((l) => {
636
+ const f = n == null ? void 0 : n[l], p = i == null ? void 0 : i[l];
637
+ if (f === null) return null;
638
+ const m = jn(f) || jn(p);
639
+ return o[l][m];
640
+ }), s = n && Object.entries(n).reduce((l, f) => {
641
+ let [p, m] = f;
642
+ return m === void 0 || (l[p] = m), l;
643
+ }, {}), u = t == null || (r = t.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((l, f) => {
644
+ let { class: p, className: m, ...v } = f;
645
+ return Object.entries(v).every((x) => {
646
+ let [h, g] = x;
647
+ return Array.isArray(g) ? g.includes({
648
+ ...i,
649
+ ...s
650
+ }[h]) : {
651
+ ...i,
652
+ ...s
653
+ }[h] === g;
654
+ }) ? [
655
+ ...l,
656
+ p,
657
+ m
658
+ ] : l;
659
+ }, []);
660
+ return Dn(e, a, u, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
661
+ }, Ko = (e) => {
662
+ switch (e) {
663
+ case "ghost":
664
+ case "secondary":
665
+ return "secondary";
666
+ case "primary":
667
+ case "negative":
668
+ return "primary";
669
+ default:
670
+ return e;
671
+ }
672
+ }, Xo = ze(
673
+ "relative flex items-center justify-center gap-4 cursor-pointer rounded-sm w-max px-4 outline-offset-4 outline-transparent outline-2 desk-body-regular-l transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
674
+ {
675
+ variants: {
676
+ intent: {
677
+ primary: "bg-color-primary-default text-color-white outline-offset-[3px] hover:bg-color-primary-hover active:bg-color-primary-hover focus:bg-color-primary-default focus:outline-primary-focus disabled:bg-color-primary-disabled",
678
+ secondary: "bg-transparent text-color-primary-default border border-solid border-primary-default hover:bg-color-primary-tr-hover active:bg-color-primary-tr-pressed active:border-primary-hover focus:outline-primary-focus focus:bg-color-primary-tr-focus disabled:bg-color-blue-grey-200 disabled:text-color-primary-disabled disabled:border-transparent",
679
+ ghost: "bg-transparent text-color-primary-default hover:bg-color-primary-tr-hover hover:text-color-primary-hover focus:bg-color-primary-tr-focus focus:outline-primary-focus active:bg-color-primary-tr-pressed active:text-color-primary-hover disabled:text-color-primary-disabled disabled:bg-transparent",
680
+ negative: "bg-color-secondary-default text-color-white outline-offset-[3px] hover:bg-color-secondary-hover disabled:bg-color-secondary-disabled active:bg-color-secondary-hover focus:bg-color-secondary-default focus:outline-primary-focus"
681
+ },
682
+ size: {
683
+ sm: "h-10",
684
+ md: "h-12",
685
+ lg: "h-14"
686
+ },
687
+ textFormat: {
688
+ capitalize: "capitalize",
689
+ uppercase: "uppercase",
690
+ lowercase: "lowercase",
691
+ initial: "initial"
692
+ },
693
+ isFull: {
694
+ true: "w-full px-4"
695
+ },
696
+ isLoading: {
697
+ true: "",
698
+ false: ""
699
+ }
700
+ },
701
+ compoundVariants: [
702
+ {
703
+ intent: "primary",
704
+ isLoading: !0,
705
+ class: "!bg-color-primary-default"
706
+ },
707
+ {
708
+ intent: "secondary",
709
+ isLoading: !0,
710
+ class: "!bg-color-transparent !border-primary-hover"
711
+ },
712
+ {
713
+ intent: "ghost",
714
+ isLoading: !0,
715
+ class: "!bg-color-blue-grey-200"
716
+ },
717
+ {
718
+ intent: "negative",
719
+ isLoading: !0,
720
+ class: "!bg-color-secondary-default"
721
+ }
722
+ ],
723
+ defaultVariants: {
724
+ intent: "primary",
725
+ size: "md",
726
+ textFormat: "initial",
727
+ isFull: !1
728
+ }
729
+ }
730
+ ), mc = nr(
731
+ ({
732
+ intent: e,
733
+ size: t,
734
+ className: n,
735
+ children: r,
736
+ type: o = "button",
737
+ iconLeft: i,
738
+ iconRight: a,
739
+ disabled: s = !1,
740
+ isLoading: u = !1,
741
+ isFull: l = !1,
742
+ textFormat: f,
743
+ ...p
744
+ }, m) => /* @__PURE__ */ y.jsx(
745
+ "button",
746
+ {
747
+ ref: m,
748
+ type: o,
749
+ disabled: s || u,
750
+ className: L(Xo({ intent: e, size: t, textFormat: f, isLoading: u, isFull: l }), n),
751
+ ...p,
752
+ children: u ? /* @__PURE__ */ y.jsx(Jo, { size: "sm", intent: Ko(e) }) : /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
753
+ i && /* @__PURE__ */ y.jsx("span", { className: "flex size-5 items-center justify-center", children: i }),
754
+ r,
755
+ a && /* @__PURE__ */ y.jsx("span", { className: "flex size-5 items-center justify-center", children: a })
756
+ ] })
757
+ }
758
+ )
759
+ ), vc = ({ phone: e, text: t, classes: n, ...r }) => /* @__PURE__ */ y.jsxs("div", { className: L("flex w-max flex-col", n == null ? void 0 : n.wrapper), ...r, children: [
760
+ /* @__PURE__ */ y.jsx(
761
+ "a",
762
+ {
763
+ href: `tel:${e}`,
764
+ className: L("mob-body-medium-l ml-auto text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.link),
765
+ children: e
766
+ }
767
+ ),
768
+ /* @__PURE__ */ y.jsx("p", { className: L("desk-body-regular-s text-color-tetriary", n == null ? void 0 : n.text), children: t })
769
+ ] }), gc = ({ children: e, className: t, ...n }) => /* @__PURE__ */ y.jsx(
770
+ "span",
771
+ {
772
+ className: L(
773
+ "desk-body-regular-m flex min-h-6 min-w-6 items-center justify-center text-nowrap rounded-full bg-color-primary-default px-2 py-[2px] text-color-white",
774
+ t
775
+ ),
776
+ ...n,
777
+ children: e
778
+ }
779
+ ), Go = ze("", {
780
+ variants: {
781
+ position: {
782
+ absolute: "absolute",
783
+ static: "static",
784
+ fixed: "fixed"
785
+ }
786
+ },
787
+ defaultVariants: {
788
+ position: "static"
789
+ }
790
+ }), qo = ze("border-2 border-solid block animate-spin rounded-full", {
791
+ variants: {
792
+ intent: {
793
+ primary: "border-white border-b-transparent",
794
+ secondary: "border-primary-default border-b-transparent"
795
+ },
796
+ size: {
797
+ sm: "size-5 border-2",
798
+ md: "size-8 border-2",
799
+ lg: "size-12 border-4"
800
+ }
801
+ },
802
+ defaultVariants: {
803
+ size: "md",
804
+ intent: "primary"
805
+ }
806
+ }), Jo = ({ size: e = "md", classes: t, intent: n = "secondary", position: r = "static", text: o, ...i }) => /* @__PURE__ */ y.jsxs("div", { className: L(Go({ position: r }), { "flex flex-col items-center gap-2": o }, t == null ? void 0 : t.wrapper), children: [
807
+ /* @__PURE__ */ y.jsx("span", { "data-testid": "loader", className: L(qo({ size: e, intent: n }), t == null ? void 0 : t.loader), ...i }),
808
+ o && /* @__PURE__ */ y.jsx("p", { className: L("desk-body-regular-l text-color-dark", t == null ? void 0 : t.text), children: o })
809
+ ] });
810
+ function Ze(e, t = []) {
811
+ let n = [];
812
+ function r(i, a) {
813
+ const s = d.createContext(a), u = n.length;
814
+ n = [...n, a];
815
+ const l = (p) => {
816
+ var w;
817
+ const { scope: m, children: v, ...x } = p, h = ((w = m == null ? void 0 : m[e]) == null ? void 0 : w[u]) || s, g = d.useMemo(() => x, Object.values(x));
818
+ return /* @__PURE__ */ y.jsx(h.Provider, { value: g, children: v });
819
+ };
820
+ l.displayName = i + "Provider";
821
+ function f(p, m) {
822
+ var h;
823
+ const v = ((h = m == null ? void 0 : m[e]) == null ? void 0 : h[u]) || s, x = d.useContext(v);
824
+ if (x) return x;
825
+ if (a !== void 0) return a;
826
+ throw new Error(`\`${p}\` must be used within \`${i}\``);
827
+ }
828
+ return [l, f];
829
+ }
830
+ const o = () => {
831
+ const i = n.map((a) => d.createContext(a));
832
+ return function(s) {
833
+ const u = (s == null ? void 0 : s[e]) || i;
834
+ return d.useMemo(
835
+ () => ({ [`__scope${e}`]: { ...s, [e]: u } }),
836
+ [s, u]
837
+ );
838
+ };
839
+ };
840
+ return o.scopeName = e, [r, Zo(o, ...t)];
841
+ }
842
+ function Zo(...e) {
843
+ const t = e[0];
844
+ if (e.length === 1) return t;
845
+ const n = () => {
846
+ const r = e.map((o) => ({
847
+ useScope: o(),
848
+ scopeName: o.scopeName
849
+ }));
850
+ return function(i) {
851
+ const a = r.reduce((s, { useScope: u, scopeName: l }) => {
852
+ const p = u(i)[`__scope${l}`];
853
+ return { ...s, ...p };
854
+ }, {});
855
+ return d.useMemo(() => ({ [`__scope${t.scopeName}`]: a }), [a]);
856
+ };
857
+ };
858
+ return n.scopeName = t.scopeName, n;
859
+ }
860
+ function Mn(e, t) {
861
+ if (typeof e == "function")
862
+ return e(t);
863
+ e != null && (e.current = t);
864
+ }
865
+ function or(...e) {
866
+ return (t) => {
867
+ let n = !1;
868
+ const r = e.map((o) => {
869
+ const i = Mn(o, t);
870
+ return !n && typeof i == "function" && (n = !0), i;
871
+ });
872
+ if (n)
873
+ return () => {
874
+ for (let o = 0; o < r.length; o++) {
875
+ const i = r[o];
876
+ typeof i == "function" ? i() : Mn(e[o], null);
877
+ }
878
+ };
879
+ };
880
+ }
881
+ function re(...e) {
882
+ return d.useCallback(or(...e), e);
883
+ }
884
+ var qe = d.forwardRef((e, t) => {
885
+ const { children: n, ...r } = e, o = d.Children.toArray(n), i = o.find(ei);
886
+ if (i) {
887
+ const a = i.props.children, s = o.map((u) => u === i ? d.Children.count(a) > 1 ? d.Children.only(null) : d.isValidElement(a) ? a.props.children : null : u);
888
+ return /* @__PURE__ */ y.jsx(Yt, { ...r, ref: t, children: d.isValidElement(a) ? d.cloneElement(a, void 0, s) : null });
889
+ }
890
+ return /* @__PURE__ */ y.jsx(Yt, { ...r, ref: t, children: n });
891
+ });
892
+ qe.displayName = "Slot";
893
+ var Yt = d.forwardRef((e, t) => {
894
+ const { children: n, ...r } = e;
895
+ if (d.isValidElement(n)) {
896
+ const o = ni(n);
897
+ return d.cloneElement(n, {
898
+ ...ti(r, n.props),
899
+ // @ts-ignore
900
+ ref: t ? or(t, o) : o
901
+ });
902
+ }
903
+ return d.Children.count(n) > 1 ? d.Children.only(null) : null;
904
+ });
905
+ Yt.displayName = "SlotClone";
906
+ var Qo = ({ children: e }) => /* @__PURE__ */ y.jsx(y.Fragment, { children: e });
907
+ function ei(e) {
908
+ return d.isValidElement(e) && e.type === Qo;
909
+ }
910
+ function ti(e, t) {
911
+ const n = { ...t };
912
+ for (const r in t) {
913
+ const o = e[r], i = t[r];
914
+ /^on[A-Z]/.test(r) ? o && i ? n[r] = (...s) => {
915
+ i(...s), o(...s);
916
+ } : o && (n[r] = o) : r === "style" ? n[r] = { ...o, ...i } : r === "className" && (n[r] = [o, i].filter(Boolean).join(" "));
917
+ }
918
+ return { ...e, ...n };
919
+ }
920
+ function ni(e) {
921
+ var r, o;
922
+ let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
923
+ return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
924
+ }
925
+ function ri(e) {
926
+ const t = e + "CollectionProvider", [n, r] = Ze(t), [o, i] = n(
927
+ t,
928
+ { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
929
+ ), a = (v) => {
930
+ const { scope: x, children: h } = v, g = H.useRef(null), w = H.useRef(/* @__PURE__ */ new Map()).current;
931
+ return /* @__PURE__ */ y.jsx(o, { scope: x, itemMap: w, collectionRef: g, children: h });
932
+ };
933
+ a.displayName = t;
934
+ const s = e + "CollectionSlot", u = H.forwardRef(
935
+ (v, x) => {
936
+ const { scope: h, children: g } = v, w = i(s, h), b = re(x, w.collectionRef);
937
+ return /* @__PURE__ */ y.jsx(qe, { ref: b, children: g });
938
+ }
939
+ );
940
+ u.displayName = s;
941
+ const l = e + "CollectionItemSlot", f = "data-radix-collection-item", p = H.forwardRef(
942
+ (v, x) => {
943
+ const { scope: h, children: g, ...w } = v, b = H.useRef(null), E = re(x, b), R = i(l, h);
944
+ return H.useEffect(() => (R.itemMap.set(b, { ref: b, ...w }), () => void R.itemMap.delete(b))), /* @__PURE__ */ y.jsx(qe, { [f]: "", ref: E, children: g });
945
+ }
946
+ );
947
+ p.displayName = l;
948
+ function m(v) {
949
+ const x = i(e + "CollectionConsumer", v);
950
+ return H.useCallback(() => {
951
+ const g = x.collectionRef.current;
952
+ if (!g) return [];
953
+ const w = Array.from(g.querySelectorAll(`[${f}]`));
954
+ return Array.from(x.itemMap.values()).sort(
955
+ (R, A) => w.indexOf(R.ref.current) - w.indexOf(A.ref.current)
956
+ );
957
+ }, [x.collectionRef, x.itemMap]);
958
+ }
959
+ return [
960
+ { Provider: a, Slot: u, ItemSlot: p },
961
+ m,
962
+ r
963
+ ];
964
+ }
965
+ function se(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
966
+ return function(o) {
967
+ if (e == null || e(o), n === !1 || !o.defaultPrevented)
968
+ return t == null ? void 0 : t(o);
969
+ };
970
+ }
971
+ function ge(e) {
972
+ const t = d.useRef(e);
973
+ return d.useEffect(() => {
974
+ t.current = e;
975
+ }), d.useMemo(() => (...n) => {
976
+ var r;
977
+ return (r = t.current) == null ? void 0 : r.call(t, ...n);
978
+ }, []);
979
+ }
980
+ function bt({
981
+ prop: e,
982
+ defaultProp: t,
983
+ onChange: n = () => {
984
+ }
985
+ }) {
986
+ const [r, o] = oi({ defaultProp: t, onChange: n }), i = e !== void 0, a = i ? e : r, s = ge(n), u = d.useCallback(
987
+ (l) => {
988
+ if (i) {
989
+ const p = typeof l == "function" ? l(e) : l;
990
+ p !== e && s(p);
991
+ } else
992
+ o(l);
993
+ },
994
+ [i, e, o, s]
995
+ );
996
+ return [a, u];
997
+ }
998
+ function oi({
999
+ defaultProp: e,
1000
+ onChange: t
1001
+ }) {
1002
+ const n = d.useState(e), [r] = n, o = d.useRef(r), i = ge(t);
1003
+ return d.useEffect(() => {
1004
+ o.current !== r && (i(r), o.current = r);
1005
+ }, [r, o, i]), n;
1006
+ }
1007
+ var ii = [
1008
+ "a",
1009
+ "button",
1010
+ "div",
1011
+ "form",
1012
+ "h2",
1013
+ "h3",
1014
+ "img",
1015
+ "input",
1016
+ "label",
1017
+ "li",
1018
+ "nav",
1019
+ "ol",
1020
+ "p",
1021
+ "span",
1022
+ "svg",
1023
+ "ul"
1024
+ ], Z = ii.reduce((e, t) => {
1025
+ const n = d.forwardRef((r, o) => {
1026
+ const { asChild: i, ...a } = r, s = i ? qe : t;
1027
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ y.jsx(s, { ...a, ref: o });
1028
+ });
1029
+ return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
1030
+ }, {});
1031
+ function ai(e, t) {
1032
+ e && rr.flushSync(() => e.dispatchEvent(t));
1033
+ }
1034
+ var ye = globalThis != null && globalThis.document ? d.useLayoutEffect : () => {
1035
+ };
1036
+ function si(e, t) {
1037
+ return d.useReducer((n, r) => t[n][r] ?? n, e);
1038
+ }
1039
+ var Ct = (e) => {
1040
+ const { present: t, children: n } = e, r = ci(t), o = typeof n == "function" ? n({ present: r.isPresent }) : d.Children.only(n), i = re(r.ref, li(o));
1041
+ return typeof n == "function" || r.isPresent ? d.cloneElement(o, { ref: i }) : null;
1042
+ };
1043
+ Ct.displayName = "Presence";
1044
+ function ci(e) {
1045
+ const [t, n] = d.useState(), r = d.useRef({}), o = d.useRef(e), i = d.useRef("none"), a = e ? "mounted" : "unmounted", [s, u] = si(a, {
1046
+ mounted: {
1047
+ UNMOUNT: "unmounted",
1048
+ ANIMATION_OUT: "unmountSuspended"
1049
+ },
1050
+ unmountSuspended: {
1051
+ MOUNT: "mounted",
1052
+ ANIMATION_END: "unmounted"
1053
+ },
1054
+ unmounted: {
1055
+ MOUNT: "mounted"
1056
+ }
1057
+ });
1058
+ return d.useEffect(() => {
1059
+ const l = st(r.current);
1060
+ i.current = s === "mounted" ? l : "none";
1061
+ }, [s]), ye(() => {
1062
+ const l = r.current, f = o.current;
1063
+ if (f !== e) {
1064
+ const m = i.current, v = st(l);
1065
+ e ? u("MOUNT") : v === "none" || (l == null ? void 0 : l.display) === "none" ? u("UNMOUNT") : u(f && m !== v ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
1066
+ }
1067
+ }, [e, u]), ye(() => {
1068
+ if (t) {
1069
+ let l;
1070
+ const f = t.ownerDocument.defaultView ?? window, p = (v) => {
1071
+ const h = st(r.current).includes(v.animationName);
1072
+ if (v.target === t && h && (u("ANIMATION_END"), !o.current)) {
1073
+ const g = t.style.animationFillMode;
1074
+ t.style.animationFillMode = "forwards", l = f.setTimeout(() => {
1075
+ t.style.animationFillMode === "forwards" && (t.style.animationFillMode = g);
1076
+ });
1077
+ }
1078
+ }, m = (v) => {
1079
+ v.target === t && (i.current = st(r.current));
1080
+ };
1081
+ return t.addEventListener("animationstart", m), t.addEventListener("animationcancel", p), t.addEventListener("animationend", p), () => {
1082
+ f.clearTimeout(l), t.removeEventListener("animationstart", m), t.removeEventListener("animationcancel", p), t.removeEventListener("animationend", p);
1083
+ };
1084
+ } else
1085
+ u("ANIMATION_END");
1086
+ }, [t, u]), {
1087
+ isPresent: ["mounted", "unmountSuspended"].includes(s),
1088
+ ref: d.useCallback((l) => {
1089
+ l && (r.current = getComputedStyle(l)), n(l);
1090
+ }, [])
1091
+ };
1092
+ }
1093
+ function st(e) {
1094
+ return (e == null ? void 0 : e.animationName) || "none";
1095
+ }
1096
+ function li(e) {
1097
+ var r, o;
1098
+ let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
1099
+ return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
1100
+ }
1101
+ var ui = d.useId || (() => {
1102
+ }), fi = 0;
1103
+ function Qt(e) {
1104
+ const [t, n] = d.useState(ui());
1105
+ return ye(() => {
1106
+ n((r) => r ?? String(fi++));
1107
+ }, [e]), t ? `radix-${t}` : "";
1108
+ }
1109
+ var en = "Collapsible", [di, ir] = Ze(en), [pi, tn] = di(en), ar = d.forwardRef(
1110
+ (e, t) => {
1111
+ const {
1112
+ __scopeCollapsible: n,
1113
+ open: r,
1114
+ defaultOpen: o,
1115
+ disabled: i,
1116
+ onOpenChange: a,
1117
+ ...s
1118
+ } = e, [u = !1, l] = bt({
1119
+ prop: r,
1120
+ defaultProp: o,
1121
+ onChange: a
1122
+ });
1123
+ return /* @__PURE__ */ y.jsx(
1124
+ pi,
1125
+ {
1126
+ scope: n,
1127
+ disabled: i,
1128
+ contentId: Qt(),
1129
+ open: u,
1130
+ onOpenToggle: d.useCallback(() => l((f) => !f), [l]),
1131
+ children: /* @__PURE__ */ y.jsx(
1132
+ Z.div,
1133
+ {
1134
+ "data-state": rn(u),
1135
+ "data-disabled": i ? "" : void 0,
1136
+ ...s,
1137
+ ref: t
1138
+ }
1139
+ )
1140
+ }
1141
+ );
1142
+ }
1143
+ );
1144
+ ar.displayName = en;
1145
+ var sr = "CollapsibleTrigger", cr = d.forwardRef(
1146
+ (e, t) => {
1147
+ const { __scopeCollapsible: n, ...r } = e, o = tn(sr, n);
1148
+ return /* @__PURE__ */ y.jsx(
1149
+ Z.button,
1150
+ {
1151
+ type: "button",
1152
+ "aria-controls": o.contentId,
1153
+ "aria-expanded": o.open || !1,
1154
+ "data-state": rn(o.open),
1155
+ "data-disabled": o.disabled ? "" : void 0,
1156
+ disabled: o.disabled,
1157
+ ...r,
1158
+ ref: t,
1159
+ onClick: se(e.onClick, o.onOpenToggle)
1160
+ }
1161
+ );
1162
+ }
1163
+ );
1164
+ cr.displayName = sr;
1165
+ var nn = "CollapsibleContent", lr = d.forwardRef(
1166
+ (e, t) => {
1167
+ const { forceMount: n, ...r } = e, o = tn(nn, e.__scopeCollapsible);
1168
+ return /* @__PURE__ */ y.jsx(Ct, { present: n || o.open, children: ({ present: i }) => /* @__PURE__ */ y.jsx(hi, { ...r, ref: t, present: i }) });
1169
+ }
1170
+ );
1171
+ lr.displayName = nn;
1172
+ var hi = d.forwardRef((e, t) => {
1173
+ const { __scopeCollapsible: n, present: r, children: o, ...i } = e, a = tn(nn, n), [s, u] = d.useState(r), l = d.useRef(null), f = re(t, l), p = d.useRef(0), m = p.current, v = d.useRef(0), x = v.current, h = a.open || s, g = d.useRef(h), w = d.useRef(void 0);
1174
+ return d.useEffect(() => {
1175
+ const b = requestAnimationFrame(() => g.current = !1);
1176
+ return () => cancelAnimationFrame(b);
1177
+ }, []), ye(() => {
1178
+ const b = l.current;
1179
+ if (b) {
1180
+ w.current = w.current || {
1181
+ transitionDuration: b.style.transitionDuration,
1182
+ animationName: b.style.animationName
1183
+ }, b.style.transitionDuration = "0s", b.style.animationName = "none";
1184
+ const E = b.getBoundingClientRect();
1185
+ p.current = E.height, v.current = E.width, g.current || (b.style.transitionDuration = w.current.transitionDuration, b.style.animationName = w.current.animationName), u(r);
1186
+ }
1187
+ }, [a.open, r]), /* @__PURE__ */ y.jsx(
1188
+ Z.div,
1189
+ {
1190
+ "data-state": rn(a.open),
1191
+ "data-disabled": a.disabled ? "" : void 0,
1192
+ id: a.contentId,
1193
+ hidden: !h,
1194
+ ...i,
1195
+ ref: f,
1196
+ style: {
1197
+ "--radix-collapsible-content-height": m ? `${m}px` : void 0,
1198
+ "--radix-collapsible-content-width": x ? `${x}px` : void 0,
1199
+ ...e.style
1200
+ },
1201
+ children: h && o
1202
+ }
1203
+ );
1204
+ });
1205
+ function rn(e) {
1206
+ return e ? "open" : "closed";
1207
+ }
1208
+ var mi = ar, vi = cr, gi = lr, yi = d.createContext(void 0);
1209
+ function wi(e) {
1210
+ const t = d.useContext(yi);
1211
+ return e || t || "ltr";
1212
+ }
1213
+ var me = "Accordion", xi = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [on, bi, Ci] = ri(me), [Et, yc] = Ze(me, [
1214
+ Ci,
1215
+ ir
1216
+ ]), an = ir(), ur = H.forwardRef(
1217
+ (e, t) => {
1218
+ const { type: n, ...r } = e, o = r, i = r;
1219
+ return /* @__PURE__ */ y.jsx(on.Provider, { scope: e.__scopeAccordion, children: n === "multiple" ? /* @__PURE__ */ y.jsx(Ai, { ...i, ref: t }) : /* @__PURE__ */ y.jsx(Pi, { ...o, ref: t }) });
1220
+ }
1221
+ );
1222
+ ur.displayName = me;
1223
+ var [fr, Ei] = Et(me), [dr, Ri] = Et(
1224
+ me,
1225
+ { collapsible: !1 }
1226
+ ), Pi = H.forwardRef(
1227
+ (e, t) => {
1228
+ const {
1229
+ value: n,
1230
+ defaultValue: r,
1231
+ onValueChange: o = () => {
1232
+ },
1233
+ collapsible: i = !1,
1234
+ ...a
1235
+ } = e, [s, u] = bt({
1236
+ prop: n,
1237
+ defaultProp: r,
1238
+ onChange: o
1239
+ });
1240
+ return /* @__PURE__ */ y.jsx(
1241
+ fr,
1242
+ {
1243
+ scope: e.__scopeAccordion,
1244
+ value: s ? [s] : [],
1245
+ onItemOpen: u,
1246
+ onItemClose: H.useCallback(() => i && u(""), [i, u]),
1247
+ children: /* @__PURE__ */ y.jsx(dr, { scope: e.__scopeAccordion, collapsible: i, children: /* @__PURE__ */ y.jsx(pr, { ...a, ref: t }) })
1248
+ }
1249
+ );
1250
+ }
1251
+ ), Ai = H.forwardRef((e, t) => {
1252
+ const {
1253
+ value: n,
1254
+ defaultValue: r,
1255
+ onValueChange: o = () => {
1256
+ },
1257
+ ...i
1258
+ } = e, [a = [], s] = bt({
1259
+ prop: n,
1260
+ defaultProp: r,
1261
+ onChange: o
1262
+ }), u = H.useCallback(
1263
+ (f) => s((p = []) => [...p, f]),
1264
+ [s]
1265
+ ), l = H.useCallback(
1266
+ (f) => s((p = []) => p.filter((m) => m !== f)),
1267
+ [s]
1268
+ );
1269
+ return /* @__PURE__ */ y.jsx(
1270
+ fr,
1271
+ {
1272
+ scope: e.__scopeAccordion,
1273
+ value: a,
1274
+ onItemOpen: u,
1275
+ onItemClose: l,
1276
+ children: /* @__PURE__ */ y.jsx(dr, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ y.jsx(pr, { ...i, ref: t }) })
1277
+ }
1278
+ );
1279
+ }), [Si, Rt] = Et(me), pr = H.forwardRef(
1280
+ (e, t) => {
1281
+ const { __scopeAccordion: n, disabled: r, dir: o, orientation: i = "vertical", ...a } = e, s = H.useRef(null), u = re(s, t), l = bi(n), p = wi(o) === "ltr", m = se(e.onKeyDown, (v) => {
1282
+ var j;
1283
+ if (!xi.includes(v.key)) return;
1284
+ const x = v.target, h = l().filter((F) => {
1285
+ var W;
1286
+ return !((W = F.ref.current) != null && W.disabled);
1287
+ }), g = h.findIndex((F) => F.ref.current === x), w = h.length;
1288
+ if (g === -1) return;
1289
+ v.preventDefault();
1290
+ let b = g;
1291
+ const E = 0, R = w - 1, A = () => {
1292
+ b = g + 1, b > R && (b = E);
1293
+ }, _ = () => {
1294
+ b = g - 1, b < E && (b = R);
1295
+ };
1296
+ switch (v.key) {
1297
+ case "Home":
1298
+ b = E;
1299
+ break;
1300
+ case "End":
1301
+ b = R;
1302
+ break;
1303
+ case "ArrowRight":
1304
+ i === "horizontal" && (p ? A() : _());
1305
+ break;
1306
+ case "ArrowDown":
1307
+ i === "vertical" && A();
1308
+ break;
1309
+ case "ArrowLeft":
1310
+ i === "horizontal" && (p ? _() : A());
1311
+ break;
1312
+ case "ArrowUp":
1313
+ i === "vertical" && _();
1314
+ break;
1315
+ }
1316
+ const S = b % w;
1317
+ (j = h[S].ref.current) == null || j.focus();
1318
+ });
1319
+ return /* @__PURE__ */ y.jsx(
1320
+ Si,
1321
+ {
1322
+ scope: n,
1323
+ disabled: r,
1324
+ direction: o,
1325
+ orientation: i,
1326
+ children: /* @__PURE__ */ y.jsx(on.Slot, { scope: n, children: /* @__PURE__ */ y.jsx(
1327
+ Z.div,
1328
+ {
1329
+ ...a,
1330
+ "data-orientation": i,
1331
+ ref: u,
1332
+ onKeyDown: r ? void 0 : m
1333
+ }
1334
+ ) })
1335
+ }
1336
+ );
1337
+ }
1338
+ ), vt = "AccordionItem", [Oi, sn] = Et(vt), hr = H.forwardRef(
1339
+ (e, t) => {
1340
+ const { __scopeAccordion: n, value: r, ...o } = e, i = Rt(vt, n), a = Ei(vt, n), s = an(n), u = Qt(), l = r && a.value.includes(r) || !1, f = i.disabled || e.disabled;
1341
+ return /* @__PURE__ */ y.jsx(
1342
+ Oi,
1343
+ {
1344
+ scope: n,
1345
+ open: l,
1346
+ disabled: f,
1347
+ triggerId: u,
1348
+ children: /* @__PURE__ */ y.jsx(
1349
+ mi,
1350
+ {
1351
+ "data-orientation": i.orientation,
1352
+ "data-state": xr(l),
1353
+ ...s,
1354
+ ...o,
1355
+ ref: t,
1356
+ disabled: f,
1357
+ open: l,
1358
+ onOpenChange: (p) => {
1359
+ p ? a.onItemOpen(r) : a.onItemClose(r);
1360
+ }
1361
+ }
1362
+ )
1363
+ }
1364
+ );
1365
+ }
1366
+ );
1367
+ hr.displayName = vt;
1368
+ var mr = "AccordionHeader", vr = H.forwardRef(
1369
+ (e, t) => {
1370
+ const { __scopeAccordion: n, ...r } = e, o = Rt(me, n), i = sn(mr, n);
1371
+ return /* @__PURE__ */ y.jsx(
1372
+ Z.h3,
1373
+ {
1374
+ "data-orientation": o.orientation,
1375
+ "data-state": xr(i.open),
1376
+ "data-disabled": i.disabled ? "" : void 0,
1377
+ ...r,
1378
+ ref: t
1379
+ }
1380
+ );
1381
+ }
1382
+ );
1383
+ vr.displayName = mr;
1384
+ var Kt = "AccordionTrigger", gr = H.forwardRef(
1385
+ (e, t) => {
1386
+ const { __scopeAccordion: n, ...r } = e, o = Rt(me, n), i = sn(Kt, n), a = Ri(Kt, n), s = an(n);
1387
+ return /* @__PURE__ */ y.jsx(on.ItemSlot, { scope: n, children: /* @__PURE__ */ y.jsx(
1388
+ vi,
1389
+ {
1390
+ "aria-disabled": i.open && !a.collapsible || void 0,
1391
+ "data-orientation": o.orientation,
1392
+ id: i.triggerId,
1393
+ ...s,
1394
+ ...r,
1395
+ ref: t
1396
+ }
1397
+ ) });
1398
+ }
1399
+ );
1400
+ gr.displayName = Kt;
1401
+ var yr = "AccordionContent", wr = H.forwardRef(
1402
+ (e, t) => {
1403
+ const { __scopeAccordion: n, ...r } = e, o = Rt(me, n), i = sn(yr, n), a = an(n);
1404
+ return /* @__PURE__ */ y.jsx(
1405
+ gi,
1406
+ {
1407
+ role: "region",
1408
+ "aria-labelledby": i.triggerId,
1409
+ "data-orientation": o.orientation,
1410
+ ...a,
1411
+ ...r,
1412
+ ref: t,
1413
+ style: {
1414
+ "--radix-accordion-content-height": "var(--radix-collapsible-content-height)",
1415
+ "--radix-accordion-content-width": "var(--radix-collapsible-content-width)",
1416
+ ...e.style
1417
+ }
1418
+ }
1419
+ );
1420
+ }
1421
+ );
1422
+ wr.displayName = yr;
1423
+ function xr(e) {
1424
+ return e ? "open" : "closed";
1425
+ }
1426
+ var _i = ur, Ti = hr, Ni = vr, ki = gr, ji = wr;
1427
+ const Di = {
1428
+ arrows: {
1429
+ filePath: "arrows.svg",
1430
+ items: {
1431
+ arrowCircle: {
1432
+ viewBox: "0 0 32 32",
1433
+ width: 32,
1434
+ height: 32
1435
+ },
1436
+ arrowLink: {
1437
+ viewBox: "0 0 24 24",
1438
+ width: 24,
1439
+ height: 24
1440
+ },
1441
+ arrowRight: {
1442
+ viewBox: "0 0 16 17",
1443
+ width: 16,
1444
+ height: 17
1445
+ },
1446
+ arrowScroll: {
1447
+ viewBox: "0 0 14 16",
1448
+ width: 14,
1449
+ height: 16
1450
+ }
1451
+ }
1452
+ },
1453
+ brandLogos: {
1454
+ filePath: "brandLogos.svg",
1455
+ items: {
1456
+ logoBlack: {
1457
+ viewBox: "0 0 194 32",
1458
+ width: 194,
1459
+ height: 32
1460
+ },
1461
+ logoBusiness: {
1462
+ viewBox: "0 0 192 32",
1463
+ width: 192,
1464
+ height: 32
1465
+ },
1466
+ logoGray: {
1467
+ viewBox: "0 0 194 32",
1468
+ width: 194,
1469
+ height: 32
1470
+ },
1471
+ logoInsurance: {
1472
+ viewBox: "0 0 193 32",
1473
+ width: 193,
1474
+ height: 32
1475
+ },
1476
+ logoMain: {
1477
+ viewBox: "0 0 192 32",
1478
+ width: 192,
1479
+ height: 32
1480
+ },
1481
+ logoWhite: {
1482
+ viewBox: "0 0 194 32",
1483
+ width: 194,
1484
+ height: 32
1485
+ }
1486
+ }
1487
+ },
1488
+ editor: {
1489
+ filePath: "editor.svg",
1490
+ items: {
1491
+ bold: {
1492
+ viewBox: "0 0 24 24",
1493
+ width: 24,
1494
+ height: 24
1495
+ },
1496
+ heading: {
1497
+ viewBox: "0 0 24 24",
1498
+ width: 24,
1499
+ height: 24
1500
+ },
1501
+ italic: {
1502
+ viewBox: "0 0 24 24",
1503
+ width: 24,
1504
+ height: 24
1505
+ },
1506
+ link: {
1507
+ viewBox: "0 0 24 24",
1508
+ width: 24,
1509
+ height: 24
1510
+ },
1511
+ list: {
1512
+ viewBox: "0 0 24 24",
1513
+ width: 24,
1514
+ height: 24
1515
+ },
1516
+ palette: {
1517
+ viewBox: "0 0 24 24",
1518
+ width: 24,
1519
+ height: 24
1520
+ },
1521
+ redo: {
1522
+ viewBox: "0 0 24 24",
1523
+ width: 24,
1524
+ height: 24
1525
+ },
1526
+ removeFormatting: {
1527
+ viewBox: "0 0 24 24",
1528
+ width: 24,
1529
+ height: 24
1530
+ },
1531
+ space: {
1532
+ viewBox: "0 0 24 24",
1533
+ width: 24,
1534
+ height: 24
1535
+ },
1536
+ strikethrough: {
1537
+ viewBox: "0 0 24 24",
1538
+ width: 24,
1539
+ height: 24
1540
+ },
1541
+ typography: {
1542
+ viewBox: "0 0 24 24",
1543
+ width: 24,
1544
+ height: 24
1545
+ },
1546
+ underline: {
1547
+ viewBox: "0 0 24 24",
1548
+ width: 24,
1549
+ height: 24
1550
+ },
1551
+ undo: {
1552
+ viewBox: "0 0 24 24",
1553
+ width: 24,
1554
+ height: 24
1555
+ }
1556
+ }
1557
+ },
1558
+ files: {
1559
+ filePath: "files.svg",
1560
+ items: {
1561
+ border: {
1562
+ viewBox: "0 0 476 64",
1563
+ width: 476,
1564
+ height: 64
1565
+ },
1566
+ borderError: {
1567
+ viewBox: "0 0 476 64",
1568
+ width: 476,
1569
+ height: 64
1570
+ },
1571
+ documentFilled: {
1572
+ viewBox: "0 0 22 28",
1573
+ width: 22,
1574
+ height: 28
1575
+ },
1576
+ documentOutline: {
1577
+ viewBox: "0 0 22 28",
1578
+ width: 22,
1579
+ height: 28
1580
+ },
1581
+ upload: {
1582
+ viewBox: "0 0 23 20",
1583
+ width: 23,
1584
+ height: 20
1585
+ }
1586
+ }
1587
+ },
1588
+ general: {
1589
+ filePath: "general.svg",
1590
+ items: {
1591
+ calendar: {
1592
+ viewBox: "0 0 19 20",
1593
+ width: 19,
1594
+ height: 20
1595
+ },
1596
+ check: {
1597
+ viewBox: "0 0 24 24",
1598
+ width: 800,
1599
+ height: 800
1600
+ },
1601
+ close: {
1602
+ viewBox: "0 0 24 24",
1603
+ width: 24,
1604
+ height: 24
1605
+ },
1606
+ edit: {
1607
+ viewBox: "0 0 19 19",
1608
+ width: 19,
1609
+ height: 19
1610
+ },
1611
+ hiddenEye: {
1612
+ viewBox: "0 0 20 18",
1613
+ width: 20,
1614
+ height: 18
1615
+ },
1616
+ plus: {
1617
+ viewBox: "0 0 16 16",
1618
+ width: 16,
1619
+ height: 16
1620
+ },
1621
+ showEye: {
1622
+ viewBox: "0 0 20 14",
1623
+ width: 20,
1624
+ height: 14
1625
+ }
1626
+ }
1627
+ },
1628
+ info: {
1629
+ filePath: "info.svg",
1630
+ items: {
1631
+ helpCircle: {
1632
+ viewBox: "0 0 12 12",
1633
+ width: 12,
1634
+ height: 12
1635
+ },
1636
+ warningCircle: {
1637
+ viewBox: "0 0 20 20",
1638
+ width: 20,
1639
+ height: 20
1640
+ }
1641
+ }
1642
+ },
1643
+ logos: {
1644
+ filePath: "logos.svg",
1645
+ items: {
1646
+ beeline: {
1647
+ viewBox: "0 0 32 32",
1648
+ width: 32,
1649
+ height: 32
1650
+ },
1651
+ megafon: {
1652
+ viewBox: "0 0 32 32",
1653
+ width: 32,
1654
+ height: 32
1655
+ },
1656
+ mts: {
1657
+ viewBox: "0 0 32 32",
1658
+ width: 32,
1659
+ height: 32
1660
+ }
1661
+ }
1662
+ },
1663
+ social: {
1664
+ filePath: "social.svg",
1665
+ items: {
1666
+ classmates: {
1667
+ viewBox: "0 0 9 15",
1668
+ width: 9,
1669
+ height: 15
1670
+ },
1671
+ telegram: {
1672
+ viewBox: "0 0 15 13",
1673
+ width: 15,
1674
+ height: 13
1675
+ },
1676
+ vk: {
1677
+ viewBox: "0 0 16 9",
1678
+ width: 16,
1679
+ height: 9
1680
+ }
1681
+ }
1682
+ }
1683
+ }, Mi = (e) => {
1684
+ const [t, n] = e.split("/"), {
1685
+ filePath: r,
1686
+ items: {
1687
+ [n]: { viewBox: o, width: i, height: a }
1688
+ }
1689
+ } = Di[t], s = i === a ? "xy" : i > a ? "x" : "y";
1690
+ return { filePath: r, iconName: n, viewBox: o, axis: s };
1691
+ }, de = ({ name: e, className: t, ...n }) => {
1692
+ const { viewBox: r, filePath: o, iconName: i, axis: a } = Mi(e);
1693
+ return /* @__PURE__ */ y.jsx(
1694
+ "svg",
1695
+ {
1696
+ className: L("text-inherit inline-block size-6 select-none fill-current", t),
1697
+ focusable: "false",
1698
+ viewBox: r,
1699
+ "aria-hidden": !0,
1700
+ "data-axis": a,
1701
+ ...n,
1702
+ children: /* @__PURE__ */ y.jsx("use", { href: `/sprites/${o}#${i}` })
1703
+ }
1704
+ );
1705
+ }, br = d.forwardRef(
1706
+ ({ children: e, classes: t, icon: n, ...r }, o) => /* @__PURE__ */ y.jsx(Ni, { className: L("rounded-sm bg-color-primary-light-default", t == null ? void 0 : t.header), children: /* @__PURE__ */ y.jsxs(
1707
+ ki,
1708
+ {
1709
+ ref: o,
1710
+ className: L(
1711
+ "group flex w-full cursor-pointer items-center justify-between gap-5 rounded-sm border border-solid border-transparent bg-color-transparent px-4 py-3 outline-0 focus-visible:border-primary-default desktop:px-6 desktop:py-4",
1712
+ t == null ? void 0 : t.trigger
1713
+ ),
1714
+ ...r,
1715
+ children: [
1716
+ /* @__PURE__ */ y.jsx("div", { className: L("desk-body-medium-l flex-1 text-left text-color-dark", t == null ? void 0 : t.label), children: e }),
1717
+ n || /* @__PURE__ */ y.jsx(
1718
+ de,
1719
+ {
1720
+ name: "arrows/arrowCircle",
1721
+ className: L(
1722
+ "size-8 rotate-180 text-icon-blue-grey-800 transition-all group-data-[state=open]:rotate-0",
1723
+ t == null ? void 0 : t.icon
1724
+ )
1725
+ }
1726
+ )
1727
+ ]
1728
+ }
1729
+ ) })
1730
+ );
1731
+ br.displayName = "AccordionHeader";
1732
+ const wc = nr(
1733
+ ({ children: e, label: t, classes: n, defaultOpen: r = !1, icon: o }, i) => /* @__PURE__ */ y.jsx(
1734
+ _i,
1735
+ {
1736
+ className: L("flex flex-col gap-5", n == null ? void 0 : n.root),
1737
+ type: "multiple",
1738
+ defaultValue: r ? [t.toString()] : void 0,
1739
+ children: /* @__PURE__ */ y.jsxs(Ti, { className: L("w-full disabled:text-color-dark", n == null ? void 0 : n.wrapper), value: t.toString(), children: [
1740
+ /* @__PURE__ */ y.jsx(br, { icon: o, classes: n == null ? void 0 : n.header, children: t }),
1741
+ /* @__PURE__ */ y.jsx(
1742
+ ji,
1743
+ {
1744
+ id: "text",
1745
+ ref: i,
1746
+ className: L(
1747
+ "desk-body-regular-l max-w-[680px] overflow-hidden bg-color-transparent text-color-dark transition-all data-[state=closed]:animate-slideUp data-[state=open]:animate-slideDown",
1748
+ n == null ? void 0 : n.content
1749
+ ),
1750
+ children: /* @__PURE__ */ y.jsx("div", { className: L("p-4 desktop:p-6", n == null ? void 0 : n.contentInner), children: e })
1751
+ }
1752
+ )
1753
+ ] })
1754
+ }
1755
+ )
1756
+ );
1757
+ function Ii(e, t = globalThis == null ? void 0 : globalThis.document) {
1758
+ const n = ge(e);
1759
+ d.useEffect(() => {
1760
+ const r = (o) => {
1761
+ o.key === "Escape" && n(o);
1762
+ };
1763
+ return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
1764
+ }, [n, t]);
1765
+ }
1766
+ var Li = "DismissableLayer", Xt = "dismissableLayer.update", Fi = "dismissableLayer.pointerDownOutside", Bi = "dismissableLayer.focusOutside", In, Cr = d.createContext({
1767
+ layers: /* @__PURE__ */ new Set(),
1768
+ layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
1769
+ branches: /* @__PURE__ */ new Set()
1770
+ }), Er = d.forwardRef(
1771
+ (e, t) => {
1772
+ const {
1773
+ disableOutsidePointerEvents: n = !1,
1774
+ onEscapeKeyDown: r,
1775
+ onPointerDownOutside: o,
1776
+ onFocusOutside: i,
1777
+ onInteractOutside: a,
1778
+ onDismiss: s,
1779
+ ...u
1780
+ } = e, l = d.useContext(Cr), [f, p] = d.useState(null), m = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, v] = d.useState({}), x = re(t, (S) => p(S)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), w = h.indexOf(g), b = f ? h.indexOf(f) : -1, E = l.layersWithOutsidePointerEventsDisabled.size > 0, R = b >= w, A = Vi((S) => {
1781
+ const j = S.target, F = [...l.branches].some((W) => W.contains(j));
1782
+ !R || F || (o == null || o(S), a == null || a(S), S.defaultPrevented || s == null || s());
1783
+ }, m), _ = zi((S) => {
1784
+ const j = S.target;
1785
+ [...l.branches].some((W) => W.contains(j)) || (i == null || i(S), a == null || a(S), S.defaultPrevented || s == null || s());
1786
+ }, m);
1787
+ return Ii((S) => {
1788
+ b === l.layers.size - 1 && (r == null || r(S), !S.defaultPrevented && s && (S.preventDefault(), s()));
1789
+ }, m), d.useEffect(() => {
1790
+ if (f)
1791
+ return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (In = m.body.style.pointerEvents, m.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(f)), l.layers.add(f), Ln(), () => {
1792
+ n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (m.body.style.pointerEvents = In);
1793
+ };
1794
+ }, [f, m, n, l]), d.useEffect(() => () => {
1795
+ f && (l.layers.delete(f), l.layersWithOutsidePointerEventsDisabled.delete(f), Ln());
1796
+ }, [f, l]), d.useEffect(() => {
1797
+ const S = () => v({});
1798
+ return document.addEventListener(Xt, S), () => document.removeEventListener(Xt, S);
1799
+ }, []), /* @__PURE__ */ y.jsx(
1800
+ Z.div,
1801
+ {
1802
+ ...u,
1803
+ ref: x,
1804
+ style: {
1805
+ pointerEvents: E ? R ? "auto" : "none" : void 0,
1806
+ ...e.style
1807
+ },
1808
+ onFocusCapture: se(e.onFocusCapture, _.onFocusCapture),
1809
+ onBlurCapture: se(e.onBlurCapture, _.onBlurCapture),
1810
+ onPointerDownCapture: se(
1811
+ e.onPointerDownCapture,
1812
+ A.onPointerDownCapture
1813
+ )
1814
+ }
1815
+ );
1816
+ }
1817
+ );
1818
+ Er.displayName = Li;
1819
+ var Wi = "DismissableLayerBranch", $i = d.forwardRef((e, t) => {
1820
+ const n = d.useContext(Cr), r = d.useRef(null), o = re(t, r);
1821
+ return d.useEffect(() => {
1822
+ const i = r.current;
1823
+ if (i)
1824
+ return n.branches.add(i), () => {
1825
+ n.branches.delete(i);
1826
+ };
1827
+ }, [n.branches]), /* @__PURE__ */ y.jsx(Z.div, { ...e, ref: o });
1828
+ });
1829
+ $i.displayName = Wi;
1830
+ function Vi(e, t = globalThis == null ? void 0 : globalThis.document) {
1831
+ const n = ge(e), r = d.useRef(!1), o = d.useRef(() => {
1832
+ });
1833
+ return d.useEffect(() => {
1834
+ const i = (s) => {
1835
+ if (s.target && !r.current) {
1836
+ let u = function() {
1837
+ Rr(
1838
+ Fi,
1839
+ n,
1840
+ l,
1841
+ { discrete: !0 }
1842
+ );
1843
+ };
1844
+ const l = { originalEvent: s };
1845
+ s.pointerType === "touch" ? (t.removeEventListener("click", o.current), o.current = u, t.addEventListener("click", o.current, { once: !0 })) : u();
1846
+ } else
1847
+ t.removeEventListener("click", o.current);
1848
+ r.current = !1;
1849
+ }, a = window.setTimeout(() => {
1850
+ t.addEventListener("pointerdown", i);
1851
+ }, 0);
1852
+ return () => {
1853
+ window.clearTimeout(a), t.removeEventListener("pointerdown", i), t.removeEventListener("click", o.current);
1854
+ };
1855
+ }, [t, n]), {
1856
+ // ensures we check React component tree (not just DOM tree)
1857
+ onPointerDownCapture: () => r.current = !0
1858
+ };
1859
+ }
1860
+ function zi(e, t = globalThis == null ? void 0 : globalThis.document) {
1861
+ const n = ge(e), r = d.useRef(!1);
1862
+ return d.useEffect(() => {
1863
+ const o = (i) => {
1864
+ i.target && !r.current && Rr(Bi, n, { originalEvent: i }, {
1865
+ discrete: !1
1866
+ });
1867
+ };
1868
+ return t.addEventListener("focusin", o), () => t.removeEventListener("focusin", o);
1869
+ }, [t, n]), {
1870
+ onFocusCapture: () => r.current = !0,
1871
+ onBlurCapture: () => r.current = !1
1872
+ };
1873
+ }
1874
+ function Ln() {
1875
+ const e = new CustomEvent(Xt);
1876
+ document.dispatchEvent(e);
1877
+ }
1878
+ function Rr(e, t, n, { discrete: r }) {
1879
+ const o = n.originalEvent.target, i = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
1880
+ t && o.addEventListener(e, t, { once: !0 }), r ? ai(o, i) : o.dispatchEvent(i);
1881
+ }
1882
+ const Hi = ["top", "right", "bottom", "left"], we = Math.min, ee = Math.max, gt = Math.round, ct = Math.floor, ce = (e) => ({
1883
+ x: e,
1884
+ y: e
1885
+ }), Ui = {
1886
+ left: "right",
1887
+ right: "left",
1888
+ bottom: "top",
1889
+ top: "bottom"
1890
+ }, Yi = {
1891
+ start: "end",
1892
+ end: "start"
1893
+ };
1894
+ function Gt(e, t, n) {
1895
+ return ee(e, we(t, n));
1896
+ }
1897
+ function pe(e, t) {
1898
+ return typeof e == "function" ? e(t) : e;
1899
+ }
1900
+ function he(e) {
1901
+ return e.split("-")[0];
1902
+ }
1903
+ function He(e) {
1904
+ return e.split("-")[1];
1905
+ }
1906
+ function cn(e) {
1907
+ return e === "x" ? "y" : "x";
1908
+ }
1909
+ function ln(e) {
1910
+ return e === "y" ? "height" : "width";
1911
+ }
1912
+ function xe(e) {
1913
+ return ["top", "bottom"].includes(he(e)) ? "y" : "x";
1914
+ }
1915
+ function un(e) {
1916
+ return cn(xe(e));
1917
+ }
1918
+ function Ki(e, t, n) {
1919
+ n === void 0 && (n = !1);
1920
+ const r = He(e), o = un(e), i = ln(o);
1921
+ let a = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
1922
+ return t.reference[i] > t.floating[i] && (a = yt(a)), [a, yt(a)];
1923
+ }
1924
+ function Xi(e) {
1925
+ const t = yt(e);
1926
+ return [qt(e), t, qt(t)];
1927
+ }
1928
+ function qt(e) {
1929
+ return e.replace(/start|end/g, (t) => Yi[t]);
1930
+ }
1931
+ function Gi(e, t, n) {
1932
+ const r = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], a = ["bottom", "top"];
1933
+ switch (e) {
1934
+ case "top":
1935
+ case "bottom":
1936
+ return n ? t ? o : r : t ? r : o;
1937
+ case "left":
1938
+ case "right":
1939
+ return t ? i : a;
1940
+ default:
1941
+ return [];
1942
+ }
1943
+ }
1944
+ function qi(e, t, n, r) {
1945
+ const o = He(e);
1946
+ let i = Gi(he(e), n === "start", r);
1947
+ return o && (i = i.map((a) => a + "-" + o), t && (i = i.concat(i.map(qt)))), i;
1948
+ }
1949
+ function yt(e) {
1950
+ return e.replace(/left|right|bottom|top/g, (t) => Ui[t]);
1951
+ }
1952
+ function Ji(e) {
1953
+ return {
1954
+ top: 0,
1955
+ right: 0,
1956
+ bottom: 0,
1957
+ left: 0,
1958
+ ...e
1959
+ };
1960
+ }
1961
+ function Pr(e) {
1962
+ return typeof e != "number" ? Ji(e) : {
1963
+ top: e,
1964
+ right: e,
1965
+ bottom: e,
1966
+ left: e
1967
+ };
1968
+ }
1969
+ function wt(e) {
1970
+ const {
1971
+ x: t,
1972
+ y: n,
1973
+ width: r,
1974
+ height: o
1975
+ } = e;
1976
+ return {
1977
+ width: r,
1978
+ height: o,
1979
+ top: n,
1980
+ left: t,
1981
+ right: t + r,
1982
+ bottom: n + o,
1983
+ x: t,
1984
+ y: n
1985
+ };
1986
+ }
1987
+ function Fn(e, t, n) {
1988
+ let {
1989
+ reference: r,
1990
+ floating: o
1991
+ } = e;
1992
+ const i = xe(t), a = un(t), s = ln(a), u = he(t), l = i === "y", f = r.x + r.width / 2 - o.width / 2, p = r.y + r.height / 2 - o.height / 2, m = r[s] / 2 - o[s] / 2;
1993
+ let v;
1994
+ switch (u) {
1995
+ case "top":
1996
+ v = {
1997
+ x: f,
1998
+ y: r.y - o.height
1999
+ };
2000
+ break;
2001
+ case "bottom":
2002
+ v = {
2003
+ x: f,
2004
+ y: r.y + r.height
2005
+ };
2006
+ break;
2007
+ case "right":
2008
+ v = {
2009
+ x: r.x + r.width,
2010
+ y: p
2011
+ };
2012
+ break;
2013
+ case "left":
2014
+ v = {
2015
+ x: r.x - o.width,
2016
+ y: p
2017
+ };
2018
+ break;
2019
+ default:
2020
+ v = {
2021
+ x: r.x,
2022
+ y: r.y
2023
+ };
2024
+ }
2025
+ switch (He(t)) {
2026
+ case "start":
2027
+ v[a] -= m * (n && l ? -1 : 1);
2028
+ break;
2029
+ case "end":
2030
+ v[a] += m * (n && l ? -1 : 1);
2031
+ break;
2032
+ }
2033
+ return v;
2034
+ }
2035
+ const Zi = async (e, t, n) => {
2036
+ const {
2037
+ placement: r = "bottom",
2038
+ strategy: o = "absolute",
2039
+ middleware: i = [],
2040
+ platform: a
2041
+ } = n, s = i.filter(Boolean), u = await (a.isRTL == null ? void 0 : a.isRTL(t));
2042
+ let l = await a.getElementRects({
2043
+ reference: e,
2044
+ floating: t,
2045
+ strategy: o
2046
+ }), {
2047
+ x: f,
2048
+ y: p
2049
+ } = Fn(l, r, u), m = r, v = {}, x = 0;
2050
+ for (let h = 0; h < s.length; h++) {
2051
+ const {
2052
+ name: g,
2053
+ fn: w
2054
+ } = s[h], {
2055
+ x: b,
2056
+ y: E,
2057
+ data: R,
2058
+ reset: A
2059
+ } = await w({
2060
+ x: f,
2061
+ y: p,
2062
+ initialPlacement: r,
2063
+ placement: m,
2064
+ strategy: o,
2065
+ middlewareData: v,
2066
+ rects: l,
2067
+ platform: a,
2068
+ elements: {
2069
+ reference: e,
2070
+ floating: t
2071
+ }
2072
+ });
2073
+ f = b ?? f, p = E ?? p, v = {
2074
+ ...v,
2075
+ [g]: {
2076
+ ...v[g],
2077
+ ...R
2078
+ }
2079
+ }, A && x <= 50 && (x++, typeof A == "object" && (A.placement && (m = A.placement), A.rects && (l = A.rects === !0 ? await a.getElementRects({
2080
+ reference: e,
2081
+ floating: t,
2082
+ strategy: o
2083
+ }) : A.rects), {
2084
+ x: f,
2085
+ y: p
2086
+ } = Fn(l, m, u)), h = -1);
2087
+ }
2088
+ return {
2089
+ x: f,
2090
+ y: p,
2091
+ placement: m,
2092
+ strategy: o,
2093
+ middlewareData: v
2094
+ };
2095
+ };
2096
+ async function We(e, t) {
2097
+ var n;
2098
+ t === void 0 && (t = {});
2099
+ const {
2100
+ x: r,
2101
+ y: o,
2102
+ platform: i,
2103
+ rects: a,
2104
+ elements: s,
2105
+ strategy: u
2106
+ } = e, {
2107
+ boundary: l = "clippingAncestors",
2108
+ rootBoundary: f = "viewport",
2109
+ elementContext: p = "floating",
2110
+ altBoundary: m = !1,
2111
+ padding: v = 0
2112
+ } = pe(t, e), x = Pr(v), g = s[m ? p === "floating" ? "reference" : "floating" : p], w = wt(await i.getClippingRect({
2113
+ element: (n = await (i.isElement == null ? void 0 : i.isElement(g))) == null || n ? g : g.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(s.floating)),
2114
+ boundary: l,
2115
+ rootBoundary: f,
2116
+ strategy: u
2117
+ })), b = p === "floating" ? {
2118
+ x: r,
2119
+ y: o,
2120
+ width: a.floating.width,
2121
+ height: a.floating.height
2122
+ } : a.reference, E = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(s.floating)), R = await (i.isElement == null ? void 0 : i.isElement(E)) ? await (i.getScale == null ? void 0 : i.getScale(E)) || {
2123
+ x: 1,
2124
+ y: 1
2125
+ } : {
2126
+ x: 1,
2127
+ y: 1
2128
+ }, A = wt(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
2129
+ elements: s,
2130
+ rect: b,
2131
+ offsetParent: E,
2132
+ strategy: u
2133
+ }) : b);
2134
+ return {
2135
+ top: (w.top - A.top + x.top) / R.y,
2136
+ bottom: (A.bottom - w.bottom + x.bottom) / R.y,
2137
+ left: (w.left - A.left + x.left) / R.x,
2138
+ right: (A.right - w.right + x.right) / R.x
2139
+ };
2140
+ }
2141
+ const Qi = (e) => ({
2142
+ name: "arrow",
2143
+ options: e,
2144
+ async fn(t) {
2145
+ const {
2146
+ x: n,
2147
+ y: r,
2148
+ placement: o,
2149
+ rects: i,
2150
+ platform: a,
2151
+ elements: s,
2152
+ middlewareData: u
2153
+ } = t, {
2154
+ element: l,
2155
+ padding: f = 0
2156
+ } = pe(e, t) || {};
2157
+ if (l == null)
2158
+ return {};
2159
+ const p = Pr(f), m = {
2160
+ x: n,
2161
+ y: r
2162
+ }, v = un(o), x = ln(v), h = await a.getDimensions(l), g = v === "y", w = g ? "top" : "left", b = g ? "bottom" : "right", E = g ? "clientHeight" : "clientWidth", R = i.reference[x] + i.reference[v] - m[v] - i.floating[x], A = m[v] - i.reference[v], _ = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l));
2163
+ let S = _ ? _[E] : 0;
2164
+ (!S || !await (a.isElement == null ? void 0 : a.isElement(_))) && (S = s.floating[E] || i.floating[x]);
2165
+ const j = R / 2 - A / 2, F = S / 2 - h[x] / 2 - 1, W = we(p[w], F), G = we(p[b], F), K = W, I = S - h[x] - G, M = S / 2 - h[x] / 2 + j, X = Gt(K, M, I), $ = !u.arrow && He(o) != null && M !== X && i.reference[x] / 2 - (M < K ? W : G) - h[x] / 2 < 0, V = $ ? M < K ? M - K : M - I : 0;
2166
+ return {
2167
+ [v]: m[v] + V,
2168
+ data: {
2169
+ [v]: X,
2170
+ centerOffset: M - X - V,
2171
+ ...$ && {
2172
+ alignmentOffset: V
2173
+ }
2174
+ },
2175
+ reset: $
2176
+ };
2177
+ }
2178
+ }), ea = function(e) {
2179
+ return e === void 0 && (e = {}), {
2180
+ name: "flip",
2181
+ options: e,
2182
+ async fn(t) {
2183
+ var n, r;
2184
+ const {
2185
+ placement: o,
2186
+ middlewareData: i,
2187
+ rects: a,
2188
+ initialPlacement: s,
2189
+ platform: u,
2190
+ elements: l
2191
+ } = t, {
2192
+ mainAxis: f = !0,
2193
+ crossAxis: p = !0,
2194
+ fallbackPlacements: m,
2195
+ fallbackStrategy: v = "bestFit",
2196
+ fallbackAxisSideDirection: x = "none",
2197
+ flipAlignment: h = !0,
2198
+ ...g
2199
+ } = pe(e, t);
2200
+ if ((n = i.arrow) != null && n.alignmentOffset)
2201
+ return {};
2202
+ const w = he(o), b = xe(s), E = he(s) === s, R = await (u.isRTL == null ? void 0 : u.isRTL(l.floating)), A = m || (E || !h ? [yt(s)] : Xi(s)), _ = x !== "none";
2203
+ !m && _ && A.push(...qi(s, h, x, R));
2204
+ const S = [s, ...A], j = await We(t, g), F = [];
2205
+ let W = ((r = i.flip) == null ? void 0 : r.overflows) || [];
2206
+ if (f && F.push(j[w]), p) {
2207
+ const M = Ki(o, a, R);
2208
+ F.push(j[M[0]], j[M[1]]);
2209
+ }
2210
+ if (W = [...W, {
2211
+ placement: o,
2212
+ overflows: F
2213
+ }], !F.every((M) => M <= 0)) {
2214
+ var G, K;
2215
+ const M = (((G = i.flip) == null ? void 0 : G.index) || 0) + 1, X = S[M];
2216
+ if (X)
2217
+ return {
2218
+ data: {
2219
+ index: M,
2220
+ overflows: W
2221
+ },
2222
+ reset: {
2223
+ placement: X
2224
+ }
2225
+ };
2226
+ let $ = (K = W.filter((V) => V.overflows[0] <= 0).sort((V, N) => V.overflows[1] - N.overflows[1])[0]) == null ? void 0 : K.placement;
2227
+ if (!$)
2228
+ switch (v) {
2229
+ case "bestFit": {
2230
+ var I;
2231
+ const V = (I = W.filter((N) => {
2232
+ if (_) {
2233
+ const Y = xe(N.placement);
2234
+ return Y === b || // Create a bias to the `y` side axis due to horizontal
2235
+ // reading directions favoring greater width.
2236
+ Y === "y";
2237
+ }
2238
+ return !0;
2239
+ }).map((N) => [N.placement, N.overflows.filter((Y) => Y > 0).reduce((Y, Q) => Y + Q, 0)]).sort((N, Y) => N[1] - Y[1])[0]) == null ? void 0 : I[0];
2240
+ V && ($ = V);
2241
+ break;
2242
+ }
2243
+ case "initialPlacement":
2244
+ $ = s;
2245
+ break;
2246
+ }
2247
+ if (o !== $)
2248
+ return {
2249
+ reset: {
2250
+ placement: $
2251
+ }
2252
+ };
2253
+ }
2254
+ return {};
2255
+ }
2256
+ };
2257
+ };
2258
+ function Bn(e, t) {
2259
+ return {
2260
+ top: e.top - t.height,
2261
+ right: e.right - t.width,
2262
+ bottom: e.bottom - t.height,
2263
+ left: e.left - t.width
2264
+ };
2265
+ }
2266
+ function Wn(e) {
2267
+ return Hi.some((t) => e[t] >= 0);
2268
+ }
2269
+ const ta = function(e) {
2270
+ return e === void 0 && (e = {}), {
2271
+ name: "hide",
2272
+ options: e,
2273
+ async fn(t) {
2274
+ const {
2275
+ rects: n
2276
+ } = t, {
2277
+ strategy: r = "referenceHidden",
2278
+ ...o
2279
+ } = pe(e, t);
2280
+ switch (r) {
2281
+ case "referenceHidden": {
2282
+ const i = await We(t, {
2283
+ ...o,
2284
+ elementContext: "reference"
2285
+ }), a = Bn(i, n.reference);
2286
+ return {
2287
+ data: {
2288
+ referenceHiddenOffsets: a,
2289
+ referenceHidden: Wn(a)
2290
+ }
2291
+ };
2292
+ }
2293
+ case "escaped": {
2294
+ const i = await We(t, {
2295
+ ...o,
2296
+ altBoundary: !0
2297
+ }), a = Bn(i, n.floating);
2298
+ return {
2299
+ data: {
2300
+ escapedOffsets: a,
2301
+ escaped: Wn(a)
2302
+ }
2303
+ };
2304
+ }
2305
+ default:
2306
+ return {};
2307
+ }
2308
+ }
2309
+ };
2310
+ };
2311
+ async function na(e, t) {
2312
+ const {
2313
+ placement: n,
2314
+ platform: r,
2315
+ elements: o
2316
+ } = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = he(n), s = He(n), u = xe(n) === "y", l = ["left", "top"].includes(a) ? -1 : 1, f = i && u ? -1 : 1, p = pe(t, e);
2317
+ let {
2318
+ mainAxis: m,
2319
+ crossAxis: v,
2320
+ alignmentAxis: x
2321
+ } = typeof p == "number" ? {
2322
+ mainAxis: p,
2323
+ crossAxis: 0,
2324
+ alignmentAxis: null
2325
+ } : {
2326
+ mainAxis: p.mainAxis || 0,
2327
+ crossAxis: p.crossAxis || 0,
2328
+ alignmentAxis: p.alignmentAxis
2329
+ };
2330
+ return s && typeof x == "number" && (v = s === "end" ? x * -1 : x), u ? {
2331
+ x: v * f,
2332
+ y: m * l
2333
+ } : {
2334
+ x: m * l,
2335
+ y: v * f
2336
+ };
2337
+ }
2338
+ const ra = function(e) {
2339
+ return e === void 0 && (e = 0), {
2340
+ name: "offset",
2341
+ options: e,
2342
+ async fn(t) {
2343
+ var n, r;
2344
+ const {
2345
+ x: o,
2346
+ y: i,
2347
+ placement: a,
2348
+ middlewareData: s
2349
+ } = t, u = await na(t, e);
2350
+ return a === ((n = s.offset) == null ? void 0 : n.placement) && (r = s.arrow) != null && r.alignmentOffset ? {} : {
2351
+ x: o + u.x,
2352
+ y: i + u.y,
2353
+ data: {
2354
+ ...u,
2355
+ placement: a
2356
+ }
2357
+ };
2358
+ }
2359
+ };
2360
+ }, oa = function(e) {
2361
+ return e === void 0 && (e = {}), {
2362
+ name: "shift",
2363
+ options: e,
2364
+ async fn(t) {
2365
+ const {
2366
+ x: n,
2367
+ y: r,
2368
+ placement: o
2369
+ } = t, {
2370
+ mainAxis: i = !0,
2371
+ crossAxis: a = !1,
2372
+ limiter: s = {
2373
+ fn: (g) => {
2374
+ let {
2375
+ x: w,
2376
+ y: b
2377
+ } = g;
2378
+ return {
2379
+ x: w,
2380
+ y: b
2381
+ };
2382
+ }
2383
+ },
2384
+ ...u
2385
+ } = pe(e, t), l = {
2386
+ x: n,
2387
+ y: r
2388
+ }, f = await We(t, u), p = xe(he(o)), m = cn(p);
2389
+ let v = l[m], x = l[p];
2390
+ if (i) {
2391
+ const g = m === "y" ? "top" : "left", w = m === "y" ? "bottom" : "right", b = v + f[g], E = v - f[w];
2392
+ v = Gt(b, v, E);
2393
+ }
2394
+ if (a) {
2395
+ const g = p === "y" ? "top" : "left", w = p === "y" ? "bottom" : "right", b = x + f[g], E = x - f[w];
2396
+ x = Gt(b, x, E);
2397
+ }
2398
+ const h = s.fn({
2399
+ ...t,
2400
+ [m]: v,
2401
+ [p]: x
2402
+ });
2403
+ return {
2404
+ ...h,
2405
+ data: {
2406
+ x: h.x - n,
2407
+ y: h.y - r,
2408
+ enabled: {
2409
+ [m]: i,
2410
+ [p]: a
2411
+ }
2412
+ }
2413
+ };
2414
+ }
2415
+ };
2416
+ }, ia = function(e) {
2417
+ return e === void 0 && (e = {}), {
2418
+ options: e,
2419
+ fn(t) {
2420
+ const {
2421
+ x: n,
2422
+ y: r,
2423
+ placement: o,
2424
+ rects: i,
2425
+ middlewareData: a
2426
+ } = t, {
2427
+ offset: s = 0,
2428
+ mainAxis: u = !0,
2429
+ crossAxis: l = !0
2430
+ } = pe(e, t), f = {
2431
+ x: n,
2432
+ y: r
2433
+ }, p = xe(o), m = cn(p);
2434
+ let v = f[m], x = f[p];
2435
+ const h = pe(s, t), g = typeof h == "number" ? {
2436
+ mainAxis: h,
2437
+ crossAxis: 0
2438
+ } : {
2439
+ mainAxis: 0,
2440
+ crossAxis: 0,
2441
+ ...h
2442
+ };
2443
+ if (u) {
2444
+ const E = m === "y" ? "height" : "width", R = i.reference[m] - i.floating[E] + g.mainAxis, A = i.reference[m] + i.reference[E] - g.mainAxis;
2445
+ v < R ? v = R : v > A && (v = A);
2446
+ }
2447
+ if (l) {
2448
+ var w, b;
2449
+ const E = m === "y" ? "width" : "height", R = ["top", "left"].includes(he(o)), A = i.reference[p] - i.floating[E] + (R && ((w = a.offset) == null ? void 0 : w[p]) || 0) + (R ? 0 : g.crossAxis), _ = i.reference[p] + i.reference[E] + (R ? 0 : ((b = a.offset) == null ? void 0 : b[p]) || 0) - (R ? g.crossAxis : 0);
2450
+ x < A ? x = A : x > _ && (x = _);
2451
+ }
2452
+ return {
2453
+ [m]: v,
2454
+ [p]: x
2455
+ };
2456
+ }
2457
+ };
2458
+ }, aa = function(e) {
2459
+ return e === void 0 && (e = {}), {
2460
+ name: "size",
2461
+ options: e,
2462
+ async fn(t) {
2463
+ var n, r;
2464
+ const {
2465
+ placement: o,
2466
+ rects: i,
2467
+ platform: a,
2468
+ elements: s
2469
+ } = t, {
2470
+ apply: u = () => {
2471
+ },
2472
+ ...l
2473
+ } = pe(e, t), f = await We(t, l), p = he(o), m = He(o), v = xe(o) === "y", {
2474
+ width: x,
2475
+ height: h
2476
+ } = i.floating;
2477
+ let g, w;
2478
+ p === "top" || p === "bottom" ? (g = p, w = m === (await (a.isRTL == null ? void 0 : a.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (w = p, g = m === "end" ? "top" : "bottom");
2479
+ const b = h - f.top - f.bottom, E = x - f.left - f.right, R = we(h - f[g], b), A = we(x - f[w], E), _ = !t.middlewareData.shift;
2480
+ let S = R, j = A;
2481
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (j = E), (r = t.middlewareData.shift) != null && r.enabled.y && (S = b), _ && !m) {
2482
+ const W = ee(f.left, 0), G = ee(f.right, 0), K = ee(f.top, 0), I = ee(f.bottom, 0);
2483
+ v ? j = x - 2 * (W !== 0 || G !== 0 ? W + G : ee(f.left, f.right)) : S = h - 2 * (K !== 0 || I !== 0 ? K + I : ee(f.top, f.bottom));
2484
+ }
2485
+ await u({
2486
+ ...t,
2487
+ availableWidth: j,
2488
+ availableHeight: S
2489
+ });
2490
+ const F = await a.getDimensions(s.floating);
2491
+ return x !== F.width || h !== F.height ? {
2492
+ reset: {
2493
+ rects: !0
2494
+ }
2495
+ } : {};
2496
+ }
2497
+ };
2498
+ };
2499
+ function Pt() {
2500
+ return typeof window < "u";
2501
+ }
2502
+ function Ue(e) {
2503
+ return Ar(e) ? (e.nodeName || "").toLowerCase() : "#document";
2504
+ }
2505
+ function te(e) {
2506
+ var t;
2507
+ return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
2508
+ }
2509
+ function ue(e) {
2510
+ var t;
2511
+ return (t = (Ar(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
2512
+ }
2513
+ function Ar(e) {
2514
+ return Pt() ? e instanceof Node || e instanceof te(e).Node : !1;
2515
+ }
2516
+ function oe(e) {
2517
+ return Pt() ? e instanceof Element || e instanceof te(e).Element : !1;
2518
+ }
2519
+ function le(e) {
2520
+ return Pt() ? e instanceof HTMLElement || e instanceof te(e).HTMLElement : !1;
2521
+ }
2522
+ function $n(e) {
2523
+ return !Pt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof te(e).ShadowRoot;
2524
+ }
2525
+ function Qe(e) {
2526
+ const {
2527
+ overflow: t,
2528
+ overflowX: n,
2529
+ overflowY: r,
2530
+ display: o
2531
+ } = ie(e);
2532
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(o);
2533
+ }
2534
+ function sa(e) {
2535
+ return ["table", "td", "th"].includes(Ue(e));
2536
+ }
2537
+ function At(e) {
2538
+ return [":popover-open", ":modal"].some((t) => {
2539
+ try {
2540
+ return e.matches(t);
2541
+ } catch {
2542
+ return !1;
2543
+ }
2544
+ });
2545
+ }
2546
+ function fn(e) {
2547
+ const t = dn(), n = oe(e) ? ie(e) : e;
2548
+ return ["transform", "translate", "scale", "rotate", "perspective"].some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
2549
+ }
2550
+ function ca(e) {
2551
+ let t = be(e);
2552
+ for (; le(t) && !$e(t); ) {
2553
+ if (fn(t))
2554
+ return t;
2555
+ if (At(t))
2556
+ return null;
2557
+ t = be(t);
2558
+ }
2559
+ return null;
2560
+ }
2561
+ function dn() {
2562
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
2563
+ }
2564
+ function $e(e) {
2565
+ return ["html", "body", "#document"].includes(Ue(e));
2566
+ }
2567
+ function ie(e) {
2568
+ return te(e).getComputedStyle(e);
2569
+ }
2570
+ function St(e) {
2571
+ return oe(e) ? {
2572
+ scrollLeft: e.scrollLeft,
2573
+ scrollTop: e.scrollTop
2574
+ } : {
2575
+ scrollLeft: e.scrollX,
2576
+ scrollTop: e.scrollY
2577
+ };
2578
+ }
2579
+ function be(e) {
2580
+ if (Ue(e) === "html")
2581
+ return e;
2582
+ const t = (
2583
+ // Step into the shadow DOM of the parent of a slotted node.
2584
+ e.assignedSlot || // DOM Element detected.
2585
+ e.parentNode || // ShadowRoot detected.
2586
+ $n(e) && e.host || // Fallback.
2587
+ ue(e)
2588
+ );
2589
+ return $n(t) ? t.host : t;
2590
+ }
2591
+ function Sr(e) {
2592
+ const t = be(e);
2593
+ return $e(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : le(t) && Qe(t) ? t : Sr(t);
2594
+ }
2595
+ function Je(e, t, n) {
2596
+ var r;
2597
+ t === void 0 && (t = []), n === void 0 && (n = !0);
2598
+ const o = Sr(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), a = te(o);
2599
+ if (i) {
2600
+ const s = Jt(a);
2601
+ return t.concat(a, a.visualViewport || [], Qe(o) ? o : [], s && n ? Je(s) : []);
2602
+ }
2603
+ return t.concat(o, Je(o, [], n));
2604
+ }
2605
+ function Jt(e) {
2606
+ return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
2607
+ }
2608
+ function Or(e) {
2609
+ const t = ie(e);
2610
+ let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
2611
+ const o = le(e), i = o ? e.offsetWidth : n, a = o ? e.offsetHeight : r, s = gt(n) !== i || gt(r) !== a;
2612
+ return s && (n = i, r = a), {
2613
+ width: n,
2614
+ height: r,
2615
+ $: s
2616
+ };
2617
+ }
2618
+ function pn(e) {
2619
+ return oe(e) ? e : e.contextElement;
2620
+ }
2621
+ function Fe(e) {
2622
+ const t = pn(e);
2623
+ if (!le(t))
2624
+ return ce(1);
2625
+ const n = t.getBoundingClientRect(), {
2626
+ width: r,
2627
+ height: o,
2628
+ $: i
2629
+ } = Or(t);
2630
+ let a = (i ? gt(n.width) : n.width) / r, s = (i ? gt(n.height) : n.height) / o;
2631
+ return (!a || !Number.isFinite(a)) && (a = 1), (!s || !Number.isFinite(s)) && (s = 1), {
2632
+ x: a,
2633
+ y: s
2634
+ };
2635
+ }
2636
+ const la = /* @__PURE__ */ ce(0);
2637
+ function _r(e) {
2638
+ const t = te(e);
2639
+ return !dn() || !t.visualViewport ? la : {
2640
+ x: t.visualViewport.offsetLeft,
2641
+ y: t.visualViewport.offsetTop
2642
+ };
2643
+ }
2644
+ function ua(e, t, n) {
2645
+ return t === void 0 && (t = !1), !n || t && n !== te(e) ? !1 : t;
2646
+ }
2647
+ function _e(e, t, n, r) {
2648
+ t === void 0 && (t = !1), n === void 0 && (n = !1);
2649
+ const o = e.getBoundingClientRect(), i = pn(e);
2650
+ let a = ce(1);
2651
+ t && (r ? oe(r) && (a = Fe(r)) : a = Fe(e));
2652
+ const s = ua(i, n, r) ? _r(i) : ce(0);
2653
+ let u = (o.left + s.x) / a.x, l = (o.top + s.y) / a.y, f = o.width / a.x, p = o.height / a.y;
2654
+ if (i) {
2655
+ const m = te(i), v = r && oe(r) ? te(r) : r;
2656
+ let x = m, h = Jt(x);
2657
+ for (; h && r && v !== x; ) {
2658
+ const g = Fe(h), w = h.getBoundingClientRect(), b = ie(h), E = w.left + (h.clientLeft + parseFloat(b.paddingLeft)) * g.x, R = w.top + (h.clientTop + parseFloat(b.paddingTop)) * g.y;
2659
+ u *= g.x, l *= g.y, f *= g.x, p *= g.y, u += E, l += R, x = te(h), h = Jt(x);
2660
+ }
2661
+ }
2662
+ return wt({
2663
+ width: f,
2664
+ height: p,
2665
+ x: u,
2666
+ y: l
2667
+ });
2668
+ }
2669
+ function hn(e, t) {
2670
+ const n = St(e).scrollLeft;
2671
+ return t ? t.left + n : _e(ue(e)).left + n;
2672
+ }
2673
+ function Tr(e, t, n) {
2674
+ n === void 0 && (n = !1);
2675
+ const r = e.getBoundingClientRect(), o = r.left + t.scrollLeft - (n ? 0 : (
2676
+ // RTL <body> scrollbar.
2677
+ hn(e, r)
2678
+ )), i = r.top + t.scrollTop;
2679
+ return {
2680
+ x: o,
2681
+ y: i
2682
+ };
2683
+ }
2684
+ function fa(e) {
2685
+ let {
2686
+ elements: t,
2687
+ rect: n,
2688
+ offsetParent: r,
2689
+ strategy: o
2690
+ } = e;
2691
+ const i = o === "fixed", a = ue(r), s = t ? At(t.floating) : !1;
2692
+ if (r === a || s && i)
2693
+ return n;
2694
+ let u = {
2695
+ scrollLeft: 0,
2696
+ scrollTop: 0
2697
+ }, l = ce(1);
2698
+ const f = ce(0), p = le(r);
2699
+ if ((p || !p && !i) && ((Ue(r) !== "body" || Qe(a)) && (u = St(r)), le(r))) {
2700
+ const v = _e(r);
2701
+ l = Fe(r), f.x = v.x + r.clientLeft, f.y = v.y + r.clientTop;
2702
+ }
2703
+ const m = a && !p && !i ? Tr(a, u, !0) : ce(0);
2704
+ return {
2705
+ width: n.width * l.x,
2706
+ height: n.height * l.y,
2707
+ x: n.x * l.x - u.scrollLeft * l.x + f.x + m.x,
2708
+ y: n.y * l.y - u.scrollTop * l.y + f.y + m.y
2709
+ };
2710
+ }
2711
+ function da(e) {
2712
+ return Array.from(e.getClientRects());
2713
+ }
2714
+ function pa(e) {
2715
+ const t = ue(e), n = St(e), r = e.ownerDocument.body, o = ee(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = ee(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
2716
+ let a = -n.scrollLeft + hn(e);
2717
+ const s = -n.scrollTop;
2718
+ return ie(r).direction === "rtl" && (a += ee(t.clientWidth, r.clientWidth) - o), {
2719
+ width: o,
2720
+ height: i,
2721
+ x: a,
2722
+ y: s
2723
+ };
2724
+ }
2725
+ function ha(e, t) {
2726
+ const n = te(e), r = ue(e), o = n.visualViewport;
2727
+ let i = r.clientWidth, a = r.clientHeight, s = 0, u = 0;
2728
+ if (o) {
2729
+ i = o.width, a = o.height;
2730
+ const l = dn();
2731
+ (!l || l && t === "fixed") && (s = o.offsetLeft, u = o.offsetTop);
2732
+ }
2733
+ return {
2734
+ width: i,
2735
+ height: a,
2736
+ x: s,
2737
+ y: u
2738
+ };
2739
+ }
2740
+ function ma(e, t) {
2741
+ const n = _e(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, i = le(e) ? Fe(e) : ce(1), a = e.clientWidth * i.x, s = e.clientHeight * i.y, u = o * i.x, l = r * i.y;
2742
+ return {
2743
+ width: a,
2744
+ height: s,
2745
+ x: u,
2746
+ y: l
2747
+ };
2748
+ }
2749
+ function Vn(e, t, n) {
2750
+ let r;
2751
+ if (t === "viewport")
2752
+ r = ha(e, n);
2753
+ else if (t === "document")
2754
+ r = pa(ue(e));
2755
+ else if (oe(t))
2756
+ r = ma(t, n);
2757
+ else {
2758
+ const o = _r(e);
2759
+ r = {
2760
+ x: t.x - o.x,
2761
+ y: t.y - o.y,
2762
+ width: t.width,
2763
+ height: t.height
2764
+ };
2765
+ }
2766
+ return wt(r);
2767
+ }
2768
+ function Nr(e, t) {
2769
+ const n = be(e);
2770
+ return n === t || !oe(n) || $e(n) ? !1 : ie(n).position === "fixed" || Nr(n, t);
2771
+ }
2772
+ function va(e, t) {
2773
+ const n = t.get(e);
2774
+ if (n)
2775
+ return n;
2776
+ let r = Je(e, [], !1).filter((s) => oe(s) && Ue(s) !== "body"), o = null;
2777
+ const i = ie(e).position === "fixed";
2778
+ let a = i ? be(e) : e;
2779
+ for (; oe(a) && !$e(a); ) {
2780
+ const s = ie(a), u = fn(a);
2781
+ !u && s.position === "fixed" && (o = null), (i ? !u && !o : !u && s.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Qe(a) && !u && Nr(e, a)) ? r = r.filter((f) => f !== a) : o = s, a = be(a);
2782
+ }
2783
+ return t.set(e, r), r;
2784
+ }
2785
+ function ga(e) {
2786
+ let {
2787
+ element: t,
2788
+ boundary: n,
2789
+ rootBoundary: r,
2790
+ strategy: o
2791
+ } = e;
2792
+ const a = [...n === "clippingAncestors" ? At(t) ? [] : va(t, this._c) : [].concat(n), r], s = a[0], u = a.reduce((l, f) => {
2793
+ const p = Vn(t, f, o);
2794
+ return l.top = ee(p.top, l.top), l.right = we(p.right, l.right), l.bottom = we(p.bottom, l.bottom), l.left = ee(p.left, l.left), l;
2795
+ }, Vn(t, s, o));
2796
+ return {
2797
+ width: u.right - u.left,
2798
+ height: u.bottom - u.top,
2799
+ x: u.left,
2800
+ y: u.top
2801
+ };
2802
+ }
2803
+ function ya(e) {
2804
+ const {
2805
+ width: t,
2806
+ height: n
2807
+ } = Or(e);
2808
+ return {
2809
+ width: t,
2810
+ height: n
2811
+ };
2812
+ }
2813
+ function wa(e, t, n) {
2814
+ const r = le(t), o = ue(t), i = n === "fixed", a = _e(e, !0, i, t);
2815
+ let s = {
2816
+ scrollLeft: 0,
2817
+ scrollTop: 0
2818
+ };
2819
+ const u = ce(0);
2820
+ if (r || !r && !i)
2821
+ if ((Ue(t) !== "body" || Qe(o)) && (s = St(t)), r) {
2822
+ const m = _e(t, !0, i, t);
2823
+ u.x = m.x + t.clientLeft, u.y = m.y + t.clientTop;
2824
+ } else o && (u.x = hn(o));
2825
+ const l = o && !r && !i ? Tr(o, s) : ce(0), f = a.left + s.scrollLeft - u.x - l.x, p = a.top + s.scrollTop - u.y - l.y;
2826
+ return {
2827
+ x: f,
2828
+ y: p,
2829
+ width: a.width,
2830
+ height: a.height
2831
+ };
2832
+ }
2833
+ function It(e) {
2834
+ return ie(e).position === "static";
2835
+ }
2836
+ function zn(e, t) {
2837
+ if (!le(e) || ie(e).position === "fixed")
2838
+ return null;
2839
+ if (t)
2840
+ return t(e);
2841
+ let n = e.offsetParent;
2842
+ return ue(e) === n && (n = n.ownerDocument.body), n;
2843
+ }
2844
+ function kr(e, t) {
2845
+ const n = te(e);
2846
+ if (At(e))
2847
+ return n;
2848
+ if (!le(e)) {
2849
+ let o = be(e);
2850
+ for (; o && !$e(o); ) {
2851
+ if (oe(o) && !It(o))
2852
+ return o;
2853
+ o = be(o);
2854
+ }
2855
+ return n;
2856
+ }
2857
+ let r = zn(e, t);
2858
+ for (; r && sa(r) && It(r); )
2859
+ r = zn(r, t);
2860
+ return r && $e(r) && It(r) && !fn(r) ? n : r || ca(e) || n;
2861
+ }
2862
+ const xa = async function(e) {
2863
+ const t = this.getOffsetParent || kr, n = this.getDimensions, r = await n(e.floating);
2864
+ return {
2865
+ reference: wa(e.reference, await t(e.floating), e.strategy),
2866
+ floating: {
2867
+ x: 0,
2868
+ y: 0,
2869
+ width: r.width,
2870
+ height: r.height
2871
+ }
2872
+ };
2873
+ };
2874
+ function ba(e) {
2875
+ return ie(e).direction === "rtl";
2876
+ }
2877
+ const Ca = {
2878
+ convertOffsetParentRelativeRectToViewportRelativeRect: fa,
2879
+ getDocumentElement: ue,
2880
+ getClippingRect: ga,
2881
+ getOffsetParent: kr,
2882
+ getElementRects: xa,
2883
+ getClientRects: da,
2884
+ getDimensions: ya,
2885
+ getScale: Fe,
2886
+ isElement: oe,
2887
+ isRTL: ba
2888
+ };
2889
+ function jr(e, t) {
2890
+ return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
2891
+ }
2892
+ function Ea(e, t) {
2893
+ let n = null, r;
2894
+ const o = ue(e);
2895
+ function i() {
2896
+ var s;
2897
+ clearTimeout(r), (s = n) == null || s.disconnect(), n = null;
2898
+ }
2899
+ function a(s, u) {
2900
+ s === void 0 && (s = !1), u === void 0 && (u = 1), i();
2901
+ const l = e.getBoundingClientRect(), {
2902
+ left: f,
2903
+ top: p,
2904
+ width: m,
2905
+ height: v
2906
+ } = l;
2907
+ if (s || t(), !m || !v)
2908
+ return;
2909
+ const x = ct(p), h = ct(o.clientWidth - (f + m)), g = ct(o.clientHeight - (p + v)), w = ct(f), E = {
2910
+ rootMargin: -x + "px " + -h + "px " + -g + "px " + -w + "px",
2911
+ threshold: ee(0, we(1, u)) || 1
2912
+ };
2913
+ let R = !0;
2914
+ function A(_) {
2915
+ const S = _[0].intersectionRatio;
2916
+ if (S !== u) {
2917
+ if (!R)
2918
+ return a();
2919
+ S ? a(!1, S) : r = setTimeout(() => {
2920
+ a(!1, 1e-7);
2921
+ }, 1e3);
2922
+ }
2923
+ S === 1 && !jr(l, e.getBoundingClientRect()) && a(), R = !1;
2924
+ }
2925
+ try {
2926
+ n = new IntersectionObserver(A, {
2927
+ ...E,
2928
+ // Handle <iframe>s
2929
+ root: o.ownerDocument
2930
+ });
2931
+ } catch {
2932
+ n = new IntersectionObserver(A, E);
2933
+ }
2934
+ n.observe(e);
2935
+ }
2936
+ return a(!0), i;
2937
+ }
2938
+ function Ra(e, t, n, r) {
2939
+ r === void 0 && (r = {});
2940
+ const {
2941
+ ancestorScroll: o = !0,
2942
+ ancestorResize: i = !0,
2943
+ elementResize: a = typeof ResizeObserver == "function",
2944
+ layoutShift: s = typeof IntersectionObserver == "function",
2945
+ animationFrame: u = !1
2946
+ } = r, l = pn(e), f = o || i ? [...l ? Je(l) : [], ...Je(t)] : [];
2947
+ f.forEach((w) => {
2948
+ o && w.addEventListener("scroll", n, {
2949
+ passive: !0
2950
+ }), i && w.addEventListener("resize", n);
2951
+ });
2952
+ const p = l && s ? Ea(l, n) : null;
2953
+ let m = -1, v = null;
2954
+ a && (v = new ResizeObserver((w) => {
2955
+ let [b] = w;
2956
+ b && b.target === l && v && (v.unobserve(t), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
2957
+ var E;
2958
+ (E = v) == null || E.observe(t);
2959
+ })), n();
2960
+ }), l && !u && v.observe(l), v.observe(t));
2961
+ let x, h = u ? _e(e) : null;
2962
+ u && g();
2963
+ function g() {
2964
+ const w = _e(e);
2965
+ h && !jr(h, w) && n(), h = w, x = requestAnimationFrame(g);
2966
+ }
2967
+ return n(), () => {
2968
+ var w;
2969
+ f.forEach((b) => {
2970
+ o && b.removeEventListener("scroll", n), i && b.removeEventListener("resize", n);
2971
+ }), p == null || p(), (w = v) == null || w.disconnect(), v = null, u && cancelAnimationFrame(x);
2972
+ };
2973
+ }
2974
+ const xc = We, Pa = ra, Aa = oa, Sa = ea, Oa = aa, _a = ta, Hn = Qi, Ta = ia, Na = (e, t, n) => {
2975
+ const r = /* @__PURE__ */ new Map(), o = {
2976
+ platform: Ca,
2977
+ ...n
2978
+ }, i = {
2979
+ ...o.platform,
2980
+ _c: r
2981
+ };
2982
+ return Zi(e, t, {
2983
+ ...o,
2984
+ platform: i
2985
+ });
2986
+ };
2987
+ var pt = typeof document < "u" ? $o : Vo;
2988
+ function xt(e, t) {
2989
+ if (e === t)
2990
+ return !0;
2991
+ if (typeof e != typeof t)
2992
+ return !1;
2993
+ if (typeof e == "function" && e.toString() === t.toString())
2994
+ return !0;
2995
+ let n, r, o;
2996
+ if (e && t && typeof e == "object") {
2997
+ if (Array.isArray(e)) {
2998
+ if (n = e.length, n !== t.length) return !1;
2999
+ for (r = n; r-- !== 0; )
3000
+ if (!xt(e[r], t[r]))
3001
+ return !1;
3002
+ return !0;
3003
+ }
3004
+ if (o = Object.keys(e), n = o.length, n !== Object.keys(t).length)
3005
+ return !1;
3006
+ for (r = n; r-- !== 0; )
3007
+ if (!{}.hasOwnProperty.call(t, o[r]))
3008
+ return !1;
3009
+ for (r = n; r-- !== 0; ) {
3010
+ const i = o[r];
3011
+ if (!(i === "_owner" && e.$$typeof) && !xt(e[i], t[i]))
3012
+ return !1;
3013
+ }
3014
+ return !0;
3015
+ }
3016
+ return e !== e && t !== t;
3017
+ }
3018
+ function Dr(e) {
3019
+ return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
3020
+ }
3021
+ function Un(e, t) {
3022
+ const n = Dr(e);
3023
+ return Math.round(t * n) / n;
3024
+ }
3025
+ function Lt(e) {
3026
+ const t = d.useRef(e);
3027
+ return pt(() => {
3028
+ t.current = e;
3029
+ }), t;
3030
+ }
3031
+ function ka(e) {
3032
+ e === void 0 && (e = {});
3033
+ const {
3034
+ placement: t = "bottom",
3035
+ strategy: n = "absolute",
3036
+ middleware: r = [],
3037
+ platform: o,
3038
+ elements: {
3039
+ reference: i,
3040
+ floating: a
3041
+ } = {},
3042
+ transform: s = !0,
3043
+ whileElementsMounted: u,
3044
+ open: l
3045
+ } = e, [f, p] = d.useState({
3046
+ x: 0,
3047
+ y: 0,
3048
+ strategy: n,
3049
+ placement: t,
3050
+ middlewareData: {},
3051
+ isPositioned: !1
3052
+ }), [m, v] = d.useState(r);
3053
+ xt(m, r) || v(r);
3054
+ const [x, h] = d.useState(null), [g, w] = d.useState(null), b = d.useCallback((N) => {
3055
+ N !== _.current && (_.current = N, h(N));
3056
+ }, []), E = d.useCallback((N) => {
3057
+ N !== S.current && (S.current = N, w(N));
3058
+ }, []), R = i || x, A = a || g, _ = d.useRef(null), S = d.useRef(null), j = d.useRef(f), F = u != null, W = Lt(u), G = Lt(o), K = Lt(l), I = d.useCallback(() => {
3059
+ if (!_.current || !S.current)
3060
+ return;
3061
+ const N = {
3062
+ placement: t,
3063
+ strategy: n,
3064
+ middleware: m
3065
+ };
3066
+ G.current && (N.platform = G.current), Na(_.current, S.current, N).then((Y) => {
3067
+ const Q = {
3068
+ ...Y,
3069
+ // The floating element's position may be recomputed while it's closed
3070
+ // but still mounted (such as when transitioning out). To ensure
3071
+ // `isPositioned` will be `false` initially on the next open, avoid
3072
+ // setting it to `true` when `open === false` (must be specified).
3073
+ isPositioned: K.current !== !1
3074
+ };
3075
+ M.current && !xt(j.current, Q) && (j.current = Q, rr.flushSync(() => {
3076
+ p(Q);
3077
+ }));
3078
+ });
3079
+ }, [m, t, n, G, K]);
3080
+ pt(() => {
3081
+ l === !1 && j.current.isPositioned && (j.current.isPositioned = !1, p((N) => ({
3082
+ ...N,
3083
+ isPositioned: !1
3084
+ })));
3085
+ }, [l]);
3086
+ const M = d.useRef(!1);
3087
+ pt(() => (M.current = !0, () => {
3088
+ M.current = !1;
3089
+ }), []), pt(() => {
3090
+ if (R && (_.current = R), A && (S.current = A), R && A) {
3091
+ if (W.current)
3092
+ return W.current(R, A, I);
3093
+ I();
3094
+ }
3095
+ }, [R, A, I, W, F]);
3096
+ const X = d.useMemo(() => ({
3097
+ reference: _,
3098
+ floating: S,
3099
+ setReference: b,
3100
+ setFloating: E
3101
+ }), [b, E]), $ = d.useMemo(() => ({
3102
+ reference: R,
3103
+ floating: A
3104
+ }), [R, A]), V = d.useMemo(() => {
3105
+ const N = {
3106
+ position: n,
3107
+ left: 0,
3108
+ top: 0
3109
+ };
3110
+ if (!$.floating)
3111
+ return N;
3112
+ const Y = Un($.floating, f.x), Q = Un($.floating, f.y);
3113
+ return s ? {
3114
+ ...N,
3115
+ transform: "translate(" + Y + "px, " + Q + "px)",
3116
+ ...Dr($.floating) >= 1.5 && {
3117
+ willChange: "transform"
3118
+ }
3119
+ } : {
3120
+ position: n,
3121
+ left: Y,
3122
+ top: Q
3123
+ };
3124
+ }, [n, s, $.floating, f.x, f.y]);
3125
+ return d.useMemo(() => ({
3126
+ ...f,
3127
+ update: I,
3128
+ refs: X,
3129
+ elements: $,
3130
+ floatingStyles: V
3131
+ }), [f, I, X, $, V]);
3132
+ }
3133
+ const ja = (e) => {
3134
+ function t(n) {
3135
+ return {}.hasOwnProperty.call(n, "current");
3136
+ }
3137
+ return {
3138
+ name: "arrow",
3139
+ options: e,
3140
+ fn(n) {
3141
+ const {
3142
+ element: r,
3143
+ padding: o
3144
+ } = typeof e == "function" ? e(n) : e;
3145
+ return r && t(r) ? r.current != null ? Hn({
3146
+ element: r.current,
3147
+ padding: o
3148
+ }).fn(n) : {} : r ? Hn({
3149
+ element: r,
3150
+ padding: o
3151
+ }).fn(n) : {};
3152
+ }
3153
+ };
3154
+ }, Da = (e, t) => ({
3155
+ ...Pa(e),
3156
+ options: [e, t]
3157
+ }), Ma = (e, t) => ({
3158
+ ...Aa(e),
3159
+ options: [e, t]
3160
+ }), Ia = (e, t) => ({
3161
+ ...Ta(e),
3162
+ options: [e, t]
3163
+ }), La = (e, t) => ({
3164
+ ...Sa(e),
3165
+ options: [e, t]
3166
+ }), Fa = (e, t) => ({
3167
+ ...Oa(e),
3168
+ options: [e, t]
3169
+ }), Ba = (e, t) => ({
3170
+ ..._a(e),
3171
+ options: [e, t]
3172
+ }), Wa = (e, t) => ({
3173
+ ...ja(e),
3174
+ options: [e, t]
3175
+ });
3176
+ var $a = "Arrow", Mr = d.forwardRef((e, t) => {
3177
+ const { children: n, width: r = 10, height: o = 5, ...i } = e;
3178
+ return /* @__PURE__ */ y.jsx(
3179
+ Z.svg,
3180
+ {
3181
+ ...i,
3182
+ ref: t,
3183
+ width: r,
3184
+ height: o,
3185
+ viewBox: "0 0 30 10",
3186
+ preserveAspectRatio: "none",
3187
+ children: e.asChild ? n : /* @__PURE__ */ y.jsx("polygon", { points: "0,0 30,0 15,10" })
3188
+ }
3189
+ );
3190
+ });
3191
+ Mr.displayName = $a;
3192
+ var Va = Mr;
3193
+ function za(e) {
3194
+ const [t, n] = d.useState(void 0);
3195
+ return ye(() => {
3196
+ if (e) {
3197
+ n({ width: e.offsetWidth, height: e.offsetHeight });
3198
+ const r = new ResizeObserver((o) => {
3199
+ if (!Array.isArray(o) || !o.length)
3200
+ return;
3201
+ const i = o[0];
3202
+ let a, s;
3203
+ if ("borderBoxSize" in i) {
3204
+ const u = i.borderBoxSize, l = Array.isArray(u) ? u[0] : u;
3205
+ a = l.inlineSize, s = l.blockSize;
3206
+ } else
3207
+ a = e.offsetWidth, s = e.offsetHeight;
3208
+ n({ width: a, height: s });
3209
+ });
3210
+ return r.observe(e, { box: "border-box" }), () => r.unobserve(e);
3211
+ } else
3212
+ n(void 0);
3213
+ }, [e]), t;
3214
+ }
3215
+ var mn = "Popper", [Ir, Lr] = Ze(mn), [Ha, Fr] = Ir(mn), Br = (e) => {
3216
+ const { __scopePopper: t, children: n } = e, [r, o] = d.useState(null);
3217
+ return /* @__PURE__ */ y.jsx(Ha, { scope: t, anchor: r, onAnchorChange: o, children: n });
3218
+ };
3219
+ Br.displayName = mn;
3220
+ var Wr = "PopperAnchor", $r = d.forwardRef(
3221
+ (e, t) => {
3222
+ const { __scopePopper: n, virtualRef: r, ...o } = e, i = Fr(Wr, n), a = d.useRef(null), s = re(t, a);
3223
+ return d.useEffect(() => {
3224
+ i.onAnchorChange((r == null ? void 0 : r.current) || a.current);
3225
+ }), r ? null : /* @__PURE__ */ y.jsx(Z.div, { ...o, ref: s });
3226
+ }
3227
+ );
3228
+ $r.displayName = Wr;
3229
+ var vn = "PopperContent", [Ua, Ya] = Ir(vn), Vr = d.forwardRef(
3230
+ (e, t) => {
3231
+ var Te, Re, Ne, Pe, rt, Ke;
3232
+ const {
3233
+ __scopePopper: n,
3234
+ side: r = "bottom",
3235
+ sideOffset: o = 0,
3236
+ align: i = "center",
3237
+ alignOffset: a = 0,
3238
+ arrowPadding: s = 0,
3239
+ avoidCollisions: u = !0,
3240
+ collisionBoundary: l = [],
3241
+ collisionPadding: f = 0,
3242
+ sticky: p = "partial",
3243
+ hideWhenDetached: m = !1,
3244
+ updatePositionStrategy: v = "optimized",
3245
+ onPlaced: x,
3246
+ ...h
3247
+ } = e, g = Fr(vn, n), [w, b] = d.useState(null), E = re(t, (Ae) => b(Ae)), [R, A] = d.useState(null), _ = za(R), S = (_ == null ? void 0 : _.width) ?? 0, j = (_ == null ? void 0 : _.height) ?? 0, F = r + (i !== "center" ? "-" + i : ""), W = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, G = Array.isArray(l) ? l : [l], K = G.length > 0, I = {
3248
+ padding: W,
3249
+ boundary: G.filter(Xa),
3250
+ // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
3251
+ altBoundary: K
3252
+ }, { refs: M, floatingStyles: X, placement: $, isPositioned: V, middlewareData: N } = ka({
3253
+ // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
3254
+ strategy: "fixed",
3255
+ placement: F,
3256
+ whileElementsMounted: (...Ae) => Ra(...Ae, {
3257
+ animationFrame: v === "always"
3258
+ }),
3259
+ elements: {
3260
+ reference: g.anchor
3261
+ },
3262
+ middleware: [
3263
+ Da({ mainAxis: o + j, alignmentAxis: a }),
3264
+ u && Ma({
3265
+ mainAxis: !0,
3266
+ crossAxis: !1,
3267
+ limiter: p === "partial" ? Ia() : void 0,
3268
+ ...I
3269
+ }),
3270
+ u && La({ ...I }),
3271
+ Fa({
3272
+ ...I,
3273
+ apply: ({ elements: Ae, rects: ot, availableWidth: ke, availableHeight: Se }) => {
3274
+ const { width: it, height: at } = ot.reference, fe = Ae.floating.style;
3275
+ fe.setProperty("--radix-popper-available-width", `${ke}px`), fe.setProperty("--radix-popper-available-height", `${Se}px`), fe.setProperty("--radix-popper-anchor-width", `${it}px`), fe.setProperty("--radix-popper-anchor-height", `${at}px`);
3276
+ }
3277
+ }),
3278
+ R && Wa({ element: R, padding: s }),
3279
+ Ga({ arrowWidth: S, arrowHeight: j }),
3280
+ m && Ba({ strategy: "referenceHidden", ...I })
3281
+ ]
3282
+ }), [Y, Q] = Ur($), Ee = ge(x);
3283
+ ye(() => {
3284
+ V && (Ee == null || Ee());
3285
+ }, [V, Ee]);
3286
+ const tt = (Te = N.arrow) == null ? void 0 : Te.x, nt = (Re = N.arrow) == null ? void 0 : Re.y, _t = ((Ne = N.arrow) == null ? void 0 : Ne.centerOffset) !== 0, [Tt, Ye] = d.useState();
3287
+ return ye(() => {
3288
+ w && Ye(window.getComputedStyle(w).zIndex);
3289
+ }, [w]), /* @__PURE__ */ y.jsx(
3290
+ "div",
3291
+ {
3292
+ ref: M.setFloating,
3293
+ "data-radix-popper-content-wrapper": "",
3294
+ style: {
3295
+ ...X,
3296
+ transform: V ? X.transform : "translate(0, -200%)",
3297
+ // keep off the page when measuring
3298
+ minWidth: "max-content",
3299
+ zIndex: Tt,
3300
+ "--radix-popper-transform-origin": [
3301
+ (Pe = N.transformOrigin) == null ? void 0 : Pe.x,
3302
+ (rt = N.transformOrigin) == null ? void 0 : rt.y
3303
+ ].join(" "),
3304
+ // hide the content if using the hide middleware and should be hidden
3305
+ // set visibility to hidden and disable pointer events so the UI behaves
3306
+ // as if the PopperContent isn't there at all
3307
+ ...((Ke = N.hide) == null ? void 0 : Ke.referenceHidden) && {
3308
+ visibility: "hidden",
3309
+ pointerEvents: "none"
3310
+ }
3311
+ },
3312
+ dir: e.dir,
3313
+ children: /* @__PURE__ */ y.jsx(
3314
+ Ua,
3315
+ {
3316
+ scope: n,
3317
+ placedSide: Y,
3318
+ onArrowChange: A,
3319
+ arrowX: tt,
3320
+ arrowY: nt,
3321
+ shouldHideArrow: _t,
3322
+ children: /* @__PURE__ */ y.jsx(
3323
+ Z.div,
3324
+ {
3325
+ "data-side": Y,
3326
+ "data-align": Q,
3327
+ ...h,
3328
+ ref: E,
3329
+ style: {
3330
+ ...h.style,
3331
+ // if the PopperContent hasn't been placed yet (not all measurements done)
3332
+ // we prevent animations so that users's animation don't kick in too early referring wrong sides
3333
+ animation: V ? void 0 : "none"
3334
+ }
3335
+ }
3336
+ )
3337
+ }
3338
+ )
3339
+ }
3340
+ );
3341
+ }
3342
+ );
3343
+ Vr.displayName = vn;
3344
+ var zr = "PopperArrow", Ka = {
3345
+ top: "bottom",
3346
+ right: "left",
3347
+ bottom: "top",
3348
+ left: "right"
3349
+ }, Hr = d.forwardRef(function(t, n) {
3350
+ const { __scopePopper: r, ...o } = t, i = Ya(zr, r), a = Ka[i.placedSide];
3351
+ return (
3352
+ // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
3353
+ // doesn't report size as we'd expect on SVG elements.
3354
+ // it reports their bounding box which is effectively the largest path inside the SVG.
3355
+ /* @__PURE__ */ y.jsx(
3356
+ "span",
3357
+ {
3358
+ ref: i.onArrowChange,
3359
+ style: {
3360
+ position: "absolute",
3361
+ left: i.arrowX,
3362
+ top: i.arrowY,
3363
+ [a]: 0,
3364
+ transformOrigin: {
3365
+ top: "",
3366
+ right: "0 0",
3367
+ bottom: "center 0",
3368
+ left: "100% 0"
3369
+ }[i.placedSide],
3370
+ transform: {
3371
+ top: "translateY(100%)",
3372
+ right: "translateY(50%) rotate(90deg) translateX(-50%)",
3373
+ bottom: "rotate(180deg)",
3374
+ left: "translateY(50%) rotate(-90deg) translateX(50%)"
3375
+ }[i.placedSide],
3376
+ visibility: i.shouldHideArrow ? "hidden" : void 0
3377
+ },
3378
+ children: /* @__PURE__ */ y.jsx(
3379
+ Va,
3380
+ {
3381
+ ...o,
3382
+ ref: n,
3383
+ style: {
3384
+ ...o.style,
3385
+ // ensures the element can be measured correctly (mostly for if SVG)
3386
+ display: "block"
3387
+ }
3388
+ }
3389
+ )
3390
+ }
3391
+ )
3392
+ );
3393
+ });
3394
+ Hr.displayName = zr;
3395
+ function Xa(e) {
3396
+ return e !== null;
3397
+ }
3398
+ var Ga = (e) => ({
3399
+ name: "transformOrigin",
3400
+ options: e,
3401
+ fn(t) {
3402
+ var g, w, b;
3403
+ const { placement: n, rects: r, middlewareData: o } = t, a = ((g = o.arrow) == null ? void 0 : g.centerOffset) !== 0, s = a ? 0 : e.arrowWidth, u = a ? 0 : e.arrowHeight, [l, f] = Ur(n), p = { start: "0%", center: "50%", end: "100%" }[f], m = (((w = o.arrow) == null ? void 0 : w.x) ?? 0) + s / 2, v = (((b = o.arrow) == null ? void 0 : b.y) ?? 0) + u / 2;
3404
+ let x = "", h = "";
3405
+ return l === "bottom" ? (x = a ? p : `${m}px`, h = `${-u}px`) : l === "top" ? (x = a ? p : `${m}px`, h = `${r.floating.height + u}px`) : l === "right" ? (x = `${-u}px`, h = a ? p : `${v}px`) : l === "left" && (x = `${r.floating.width + u}px`, h = a ? p : `${v}px`), { data: { x, y: h } };
3406
+ }
3407
+ });
3408
+ function Ur(e) {
3409
+ const [t, n = "center"] = e.split("-");
3410
+ return [t, n];
3411
+ }
3412
+ var qa = Br, Yr = $r, Ja = Vr, Za = Hr, Qa = "Portal", Kr = d.forwardRef((e, t) => {
3413
+ var s;
3414
+ const { container: n, ...r } = e, [o, i] = d.useState(!1);
3415
+ ye(() => i(!0), []);
3416
+ const a = n || o && ((s = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : s.body);
3417
+ return a ? Ho.createPortal(/* @__PURE__ */ y.jsx(Z.div, { ...r, ref: t }), a) : null;
3418
+ });
3419
+ Kr.displayName = Qa;
3420
+ var Ft = 0;
3421
+ function es() {
3422
+ d.useEffect(() => {
3423
+ const e = document.querySelectorAll("[data-radix-focus-guard]");
3424
+ return document.body.insertAdjacentElement("afterbegin", e[0] ?? Yn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Yn()), Ft++, () => {
3425
+ Ft === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), Ft--;
3426
+ };
3427
+ }, []);
3428
+ }
3429
+ function Yn() {
3430
+ const e = document.createElement("span");
3431
+ return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
3432
+ }
3433
+ var Bt = "focusScope.autoFocusOnMount", Wt = "focusScope.autoFocusOnUnmount", Kn = { bubbles: !1, cancelable: !0 }, ts = "FocusScope", Xr = d.forwardRef((e, t) => {
3434
+ const {
3435
+ loop: n = !1,
3436
+ trapped: r = !1,
3437
+ onMountAutoFocus: o,
3438
+ onUnmountAutoFocus: i,
3439
+ ...a
3440
+ } = e, [s, u] = d.useState(null), l = ge(o), f = ge(i), p = d.useRef(null), m = re(t, (h) => u(h)), v = d.useRef({
3441
+ paused: !1,
3442
+ pause() {
3443
+ this.paused = !0;
3444
+ },
3445
+ resume() {
3446
+ this.paused = !1;
3447
+ }
3448
+ }).current;
3449
+ d.useEffect(() => {
3450
+ if (r) {
3451
+ let h = function(E) {
3452
+ if (v.paused || !s) return;
3453
+ const R = E.target;
3454
+ s.contains(R) ? p.current = R : ve(p.current, { select: !0 });
3455
+ }, g = function(E) {
3456
+ if (v.paused || !s) return;
3457
+ const R = E.relatedTarget;
3458
+ R !== null && (s.contains(R) || ve(p.current, { select: !0 }));
3459
+ }, w = function(E) {
3460
+ if (document.activeElement === document.body)
3461
+ for (const A of E)
3462
+ A.removedNodes.length > 0 && ve(s);
3463
+ };
3464
+ document.addEventListener("focusin", h), document.addEventListener("focusout", g);
3465
+ const b = new MutationObserver(w);
3466
+ return s && b.observe(s, { childList: !0, subtree: !0 }), () => {
3467
+ document.removeEventListener("focusin", h), document.removeEventListener("focusout", g), b.disconnect();
3468
+ };
3469
+ }
3470
+ }, [r, s, v.paused]), d.useEffect(() => {
3471
+ if (s) {
3472
+ Gn.add(v);
3473
+ const h = document.activeElement;
3474
+ if (!s.contains(h)) {
3475
+ const w = new CustomEvent(Bt, Kn);
3476
+ s.addEventListener(Bt, l), s.dispatchEvent(w), w.defaultPrevented || (ns(ss(Gr(s)), { select: !0 }), document.activeElement === h && ve(s));
3477
+ }
3478
+ return () => {
3479
+ s.removeEventListener(Bt, l), setTimeout(() => {
3480
+ const w = new CustomEvent(Wt, Kn);
3481
+ s.addEventListener(Wt, f), s.dispatchEvent(w), w.defaultPrevented || ve(h ?? document.body, { select: !0 }), s.removeEventListener(Wt, f), Gn.remove(v);
3482
+ }, 0);
3483
+ };
3484
+ }
3485
+ }, [s, l, f, v]);
3486
+ const x = d.useCallback(
3487
+ (h) => {
3488
+ if (!n && !r || v.paused) return;
3489
+ const g = h.key === "Tab" && !h.altKey && !h.ctrlKey && !h.metaKey, w = document.activeElement;
3490
+ if (g && w) {
3491
+ const b = h.currentTarget, [E, R] = rs(b);
3492
+ E && R ? !h.shiftKey && w === R ? (h.preventDefault(), n && ve(E, { select: !0 })) : h.shiftKey && w === E && (h.preventDefault(), n && ve(R, { select: !0 })) : w === b && h.preventDefault();
3493
+ }
3494
+ },
3495
+ [n, r, v.paused]
3496
+ );
3497
+ return /* @__PURE__ */ y.jsx(Z.div, { tabIndex: -1, ...a, ref: m, onKeyDown: x });
3498
+ });
3499
+ Xr.displayName = ts;
3500
+ function ns(e, { select: t = !1 } = {}) {
3501
+ const n = document.activeElement;
3502
+ for (const r of e)
3503
+ if (ve(r, { select: t }), document.activeElement !== n) return;
3504
+ }
3505
+ function rs(e) {
3506
+ const t = Gr(e), n = Xn(t, e), r = Xn(t.reverse(), e);
3507
+ return [n, r];
3508
+ }
3509
+ function Gr(e) {
3510
+ const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
3511
+ acceptNode: (r) => {
3512
+ const o = r.tagName === "INPUT" && r.type === "hidden";
3513
+ return r.disabled || r.hidden || o ? NodeFilter.FILTER_SKIP : r.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
3514
+ }
3515
+ });
3516
+ for (; n.nextNode(); ) t.push(n.currentNode);
3517
+ return t;
3518
+ }
3519
+ function Xn(e, t) {
3520
+ for (const n of e)
3521
+ if (!os(n, { upTo: t })) return n;
3522
+ }
3523
+ function os(e, { upTo: t }) {
3524
+ if (getComputedStyle(e).visibility === "hidden") return !0;
3525
+ for (; e; ) {
3526
+ if (t !== void 0 && e === t) return !1;
3527
+ if (getComputedStyle(e).display === "none") return !0;
3528
+ e = e.parentElement;
3529
+ }
3530
+ return !1;
3531
+ }
3532
+ function is(e) {
3533
+ return e instanceof HTMLInputElement && "select" in e;
3534
+ }
3535
+ function ve(e, { select: t = !1 } = {}) {
3536
+ if (e && e.focus) {
3537
+ const n = document.activeElement;
3538
+ e.focus({ preventScroll: !0 }), e !== n && is(e) && t && e.select();
3539
+ }
3540
+ }
3541
+ var Gn = as();
3542
+ function as() {
3543
+ let e = [];
3544
+ return {
3545
+ add(t) {
3546
+ const n = e[0];
3547
+ t !== n && (n == null || n.pause()), e = qn(e, t), e.unshift(t);
3548
+ },
3549
+ remove(t) {
3550
+ var n;
3551
+ e = qn(e, t), (n = e[0]) == null || n.resume();
3552
+ }
3553
+ };
3554
+ }
3555
+ function qn(e, t) {
3556
+ const n = [...e], r = n.indexOf(t);
3557
+ return r !== -1 && n.splice(r, 1), n;
3558
+ }
3559
+ function ss(e) {
3560
+ return e.filter((t) => t.tagName !== "A");
3561
+ }
3562
+ var cs = function(e) {
3563
+ if (typeof document > "u")
3564
+ return null;
3565
+ var t = Array.isArray(e) ? e[0] : e;
3566
+ return t.ownerDocument.body;
3567
+ }, Me = /* @__PURE__ */ new WeakMap(), lt = /* @__PURE__ */ new WeakMap(), ut = {}, $t = 0, qr = function(e) {
3568
+ return e && (e.host || qr(e.parentNode));
3569
+ }, ls = function(e, t) {
3570
+ return t.map(function(n) {
3571
+ if (e.contains(n))
3572
+ return n;
3573
+ var r = qr(n);
3574
+ return r && e.contains(r) ? r : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null);
3575
+ }).filter(function(n) {
3576
+ return !!n;
3577
+ });
3578
+ }, us = function(e, t, n, r) {
3579
+ var o = ls(t, Array.isArray(e) ? e : [e]);
3580
+ ut[n] || (ut[n] = /* @__PURE__ */ new WeakMap());
3581
+ var i = ut[n], a = [], s = /* @__PURE__ */ new Set(), u = new Set(o), l = function(p) {
3582
+ !p || s.has(p) || (s.add(p), l(p.parentNode));
3583
+ };
3584
+ o.forEach(l);
3585
+ var f = function(p) {
3586
+ !p || u.has(p) || Array.prototype.forEach.call(p.children, function(m) {
3587
+ if (s.has(m))
3588
+ f(m);
3589
+ else
3590
+ try {
3591
+ var v = m.getAttribute(r), x = v !== null && v !== "false", h = (Me.get(m) || 0) + 1, g = (i.get(m) || 0) + 1;
3592
+ Me.set(m, h), i.set(m, g), a.push(m), h === 1 && x && lt.set(m, !0), g === 1 && m.setAttribute(n, "true"), x || m.setAttribute(r, "true");
3593
+ } catch (w) {
3594
+ console.error("aria-hidden: cannot operate on ", m, w);
3595
+ }
3596
+ });
3597
+ };
3598
+ return f(t), s.clear(), $t++, function() {
3599
+ a.forEach(function(p) {
3600
+ var m = Me.get(p) - 1, v = i.get(p) - 1;
3601
+ Me.set(p, m), i.set(p, v), m || (lt.has(p) || p.removeAttribute(r), lt.delete(p)), v || p.removeAttribute(n);
3602
+ }), $t--, $t || (Me = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), lt = /* @__PURE__ */ new WeakMap(), ut = {});
3603
+ };
3604
+ }, fs = function(e, t, n) {
3605
+ n === void 0 && (n = "data-aria-hidden");
3606
+ var r = Array.from(Array.isArray(e) ? e : [e]), o = cs(e);
3607
+ return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), us(r, o, n, "aria-hidden")) : function() {
3608
+ return null;
3609
+ };
3610
+ }, ae = function() {
3611
+ return ae = Object.assign || function(t) {
3612
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
3613
+ n = arguments[r];
3614
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
3615
+ }
3616
+ return t;
3617
+ }, ae.apply(this, arguments);
3618
+ };
3619
+ function Jr(e, t) {
3620
+ var n = {};
3621
+ for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3622
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
3623
+ for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
3624
+ t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
3625
+ return n;
3626
+ }
3627
+ function bc(e, t, n, r) {
3628
+ function o(i) {
3629
+ return i instanceof n ? i : new n(function(a) {
3630
+ a(i);
3631
+ });
3632
+ }
3633
+ return new (n || (n = Promise))(function(i, a) {
3634
+ function s(f) {
3635
+ try {
3636
+ l(r.next(f));
3637
+ } catch (p) {
3638
+ a(p);
3639
+ }
3640
+ }
3641
+ function u(f) {
3642
+ try {
3643
+ l(r.throw(f));
3644
+ } catch (p) {
3645
+ a(p);
3646
+ }
3647
+ }
3648
+ function l(f) {
3649
+ f.done ? i(f.value) : o(f.value).then(s, u);
3650
+ }
3651
+ l((r = r.apply(e, t || [])).next());
3652
+ });
3653
+ }
3654
+ function ds(e, t, n) {
3655
+ if (n || arguments.length === 2) for (var r = 0, o = t.length, i; r < o; r++)
3656
+ (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
3657
+ return e.concat(i || Array.prototype.slice.call(t));
3658
+ }
3659
+ var ht = "right-scroll-bar-position", mt = "width-before-scroll-bar", ps = "with-scroll-bars-hidden", hs = "--removed-body-scroll-bar-size";
3660
+ function Vt(e, t) {
3661
+ return typeof e == "function" ? e(t) : e && (e.current = t), e;
3662
+ }
3663
+ function ms(e, t) {
3664
+ var n = zo(function() {
3665
+ return {
3666
+ // value
3667
+ value: e,
3668
+ // last callback
3669
+ callback: t,
3670
+ // "memoized" public interface
3671
+ facade: {
3672
+ get current() {
3673
+ return n.value;
3674
+ },
3675
+ set current(r) {
3676
+ var o = n.value;
3677
+ o !== r && (n.value = r, n.callback(r, o));
3678
+ }
3679
+ }
3680
+ };
3681
+ })[0];
3682
+ return n.callback = t, n.facade;
3683
+ }
3684
+ var vs = typeof window < "u" ? d.useLayoutEffect : d.useEffect, Jn = /* @__PURE__ */ new WeakMap();
3685
+ function gs(e, t) {
3686
+ var n = ms(null, function(r) {
3687
+ return e.forEach(function(o) {
3688
+ return Vt(o, r);
3689
+ });
3690
+ });
3691
+ return vs(function() {
3692
+ var r = Jn.get(n);
3693
+ if (r) {
3694
+ var o = new Set(r), i = new Set(e), a = n.current;
3695
+ o.forEach(function(s) {
3696
+ i.has(s) || Vt(s, null);
3697
+ }), i.forEach(function(s) {
3698
+ o.has(s) || Vt(s, a);
3699
+ });
3700
+ }
3701
+ Jn.set(n, e);
3702
+ }, [e]), n;
3703
+ }
3704
+ function ys(e) {
3705
+ return e;
3706
+ }
3707
+ function ws(e, t) {
3708
+ t === void 0 && (t = ys);
3709
+ var n = [], r = !1, o = {
3710
+ read: function() {
3711
+ if (r)
3712
+ throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
3713
+ return n.length ? n[n.length - 1] : e;
3714
+ },
3715
+ useMedium: function(i) {
3716
+ var a = t(i, r);
3717
+ return n.push(a), function() {
3718
+ n = n.filter(function(s) {
3719
+ return s !== a;
3720
+ });
3721
+ };
3722
+ },
3723
+ assignSyncMedium: function(i) {
3724
+ for (r = !0; n.length; ) {
3725
+ var a = n;
3726
+ n = [], a.forEach(i);
3727
+ }
3728
+ n = {
3729
+ push: function(s) {
3730
+ return i(s);
3731
+ },
3732
+ filter: function() {
3733
+ return n;
3734
+ }
3735
+ };
3736
+ },
3737
+ assignMedium: function(i) {
3738
+ r = !0;
3739
+ var a = [];
3740
+ if (n.length) {
3741
+ var s = n;
3742
+ n = [], s.forEach(i), a = n;
3743
+ }
3744
+ var u = function() {
3745
+ var f = a;
3746
+ a = [], f.forEach(i);
3747
+ }, l = function() {
3748
+ return Promise.resolve().then(u);
3749
+ };
3750
+ l(), n = {
3751
+ push: function(f) {
3752
+ a.push(f), l();
3753
+ },
3754
+ filter: function(f) {
3755
+ return a = a.filter(f), n;
3756
+ }
3757
+ };
3758
+ }
3759
+ };
3760
+ return o;
3761
+ }
3762
+ function xs(e) {
3763
+ e === void 0 && (e = {});
3764
+ var t = ws(null);
3765
+ return t.options = ae({ async: !0, ssr: !1 }, e), t;
3766
+ }
3767
+ var Zr = function(e) {
3768
+ var t = e.sideCar, n = Jr(e, ["sideCar"]);
3769
+ if (!t)
3770
+ throw new Error("Sidecar: please provide `sideCar` property to import the right car");
3771
+ var r = t.read();
3772
+ if (!r)
3773
+ throw new Error("Sidecar medium not found");
3774
+ return d.createElement(r, ae({}, n));
3775
+ };
3776
+ Zr.isSideCarExport = !0;
3777
+ function bs(e, t) {
3778
+ return e.useMedium(t), Zr;
3779
+ }
3780
+ var Qr = xs(), zt = function() {
3781
+ }, Ot = d.forwardRef(function(e, t) {
3782
+ var n = d.useRef(null), r = d.useState({
3783
+ onScrollCapture: zt,
3784
+ onWheelCapture: zt,
3785
+ onTouchMoveCapture: zt
3786
+ }), o = r[0], i = r[1], a = e.forwardProps, s = e.children, u = e.className, l = e.removeScrollBar, f = e.enabled, p = e.shards, m = e.sideCar, v = e.noIsolation, x = e.inert, h = e.allowPinchZoom, g = e.as, w = g === void 0 ? "div" : g, b = e.gapMode, E = Jr(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), R = m, A = gs([n, t]), _ = ae(ae({}, E), o);
3787
+ return d.createElement(
3788
+ d.Fragment,
3789
+ null,
3790
+ f && d.createElement(R, { sideCar: Qr, removeScrollBar: l, shards: p, noIsolation: v, inert: x, setCallbacks: i, allowPinchZoom: !!h, lockRef: n, gapMode: b }),
3791
+ a ? d.cloneElement(d.Children.only(s), ae(ae({}, _), { ref: A })) : d.createElement(w, ae({}, _, { className: u, ref: A }), s)
3792
+ );
3793
+ });
3794
+ Ot.defaultProps = {
3795
+ enabled: !0,
3796
+ removeScrollBar: !0,
3797
+ inert: !1
3798
+ };
3799
+ Ot.classNames = {
3800
+ fullWidth: mt,
3801
+ zeroRight: ht
3802
+ };
3803
+ var Cs = function() {
3804
+ if (typeof __webpack_nonce__ < "u")
3805
+ return __webpack_nonce__;
3806
+ };
3807
+ function Es() {
3808
+ if (!document)
3809
+ return null;
3810
+ var e = document.createElement("style");
3811
+ e.type = "text/css";
3812
+ var t = Cs();
3813
+ return t && e.setAttribute("nonce", t), e;
3814
+ }
3815
+ function Rs(e, t) {
3816
+ e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
3817
+ }
3818
+ function Ps(e) {
3819
+ var t = document.head || document.getElementsByTagName("head")[0];
3820
+ t.appendChild(e);
3821
+ }
3822
+ var As = function() {
3823
+ var e = 0, t = null;
3824
+ return {
3825
+ add: function(n) {
3826
+ e == 0 && (t = Es()) && (Rs(t, n), Ps(t)), e++;
3827
+ },
3828
+ remove: function() {
3829
+ e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
3830
+ }
3831
+ };
3832
+ }, Ss = function() {
3833
+ var e = As();
3834
+ return function(t, n) {
3835
+ d.useEffect(function() {
3836
+ return e.add(t), function() {
3837
+ e.remove();
3838
+ };
3839
+ }, [t && n]);
3840
+ };
3841
+ }, eo = function() {
3842
+ var e = Ss(), t = function(n) {
3843
+ var r = n.styles, o = n.dynamic;
3844
+ return e(r, o), null;
3845
+ };
3846
+ return t;
3847
+ }, Os = {
3848
+ left: 0,
3849
+ top: 0,
3850
+ right: 0,
3851
+ gap: 0
3852
+ }, Ht = function(e) {
3853
+ return parseInt(e || "", 10) || 0;
3854
+ }, _s = function(e) {
3855
+ var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
3856
+ return [Ht(n), Ht(r), Ht(o)];
3857
+ }, Ts = function(e) {
3858
+ if (e === void 0 && (e = "margin"), typeof window > "u")
3859
+ return Os;
3860
+ var t = _s(e), n = document.documentElement.clientWidth, r = window.innerWidth;
3861
+ return {
3862
+ left: t[0],
3863
+ top: t[1],
3864
+ right: t[2],
3865
+ gap: Math.max(0, r - n + t[2] - t[0])
3866
+ };
3867
+ }, Ns = eo(), Be = "data-scroll-locked", ks = function(e, t, n, r) {
3868
+ var o = e.left, i = e.top, a = e.right, s = e.gap;
3869
+ return n === void 0 && (n = "margin"), `
3870
+ .`.concat(ps, ` {
3871
+ overflow: hidden `).concat(r, `;
3872
+ padding-right: `).concat(s, "px ").concat(r, `;
3873
+ }
3874
+ body[`).concat(Be, `] {
3875
+ overflow: hidden `).concat(r, `;
3876
+ overscroll-behavior: contain;
3877
+ `).concat([
3878
+ t && "position: relative ".concat(r, ";"),
3879
+ n === "margin" && `
3880
+ padding-left: `.concat(o, `px;
3881
+ padding-top: `).concat(i, `px;
3882
+ padding-right: `).concat(a, `px;
3883
+ margin-left:0;
3884
+ margin-top:0;
3885
+ margin-right: `).concat(s, "px ").concat(r, `;
3886
+ `),
3887
+ n === "padding" && "padding-right: ".concat(s, "px ").concat(r, ";")
3888
+ ].filter(Boolean).join(""), `
3889
+ }
3890
+
3891
+ .`).concat(ht, ` {
3892
+ right: `).concat(s, "px ").concat(r, `;
3893
+ }
3894
+
3895
+ .`).concat(mt, ` {
3896
+ margin-right: `).concat(s, "px ").concat(r, `;
3897
+ }
3898
+
3899
+ .`).concat(ht, " .").concat(ht, ` {
3900
+ right: 0 `).concat(r, `;
3901
+ }
3902
+
3903
+ .`).concat(mt, " .").concat(mt, ` {
3904
+ margin-right: 0 `).concat(r, `;
3905
+ }
3906
+
3907
+ body[`).concat(Be, `] {
3908
+ `).concat(hs, ": ").concat(s, `px;
3909
+ }
3910
+ `);
3911
+ }, Zn = function() {
3912
+ var e = parseInt(document.body.getAttribute(Be) || "0", 10);
3913
+ return isFinite(e) ? e : 0;
3914
+ }, js = function() {
3915
+ d.useEffect(function() {
3916
+ return document.body.setAttribute(Be, (Zn() + 1).toString()), function() {
3917
+ var e = Zn() - 1;
3918
+ e <= 0 ? document.body.removeAttribute(Be) : document.body.setAttribute(Be, e.toString());
3919
+ };
3920
+ }, []);
3921
+ }, Ds = function(e) {
3922
+ var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
3923
+ js();
3924
+ var i = d.useMemo(function() {
3925
+ return Ts(o);
3926
+ }, [o]);
3927
+ return d.createElement(Ns, { styles: ks(i, !t, o, n ? "" : "!important") });
3928
+ }, Zt = !1;
3929
+ if (typeof window < "u")
3930
+ try {
3931
+ var ft = Object.defineProperty({}, "passive", {
3932
+ get: function() {
3933
+ return Zt = !0, !0;
3934
+ }
3935
+ });
3936
+ window.addEventListener("test", ft, ft), window.removeEventListener("test", ft, ft);
3937
+ } catch {
3938
+ Zt = !1;
3939
+ }
3940
+ var Ie = Zt ? { passive: !1 } : !1, Ms = function(e) {
3941
+ return e.tagName === "TEXTAREA";
3942
+ }, to = function(e, t) {
3943
+ if (!(e instanceof Element))
3944
+ return !1;
3945
+ var n = window.getComputedStyle(e);
3946
+ return (
3947
+ // not-not-scrollable
3948
+ n[t] !== "hidden" && // contains scroll inside self
3949
+ !(n.overflowY === n.overflowX && !Ms(e) && n[t] === "visible")
3950
+ );
3951
+ }, Is = function(e) {
3952
+ return to(e, "overflowY");
3953
+ }, Ls = function(e) {
3954
+ return to(e, "overflowX");
3955
+ }, Qn = function(e, t) {
3956
+ var n = t.ownerDocument, r = t;
3957
+ do {
3958
+ typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
3959
+ var o = no(e, r);
3960
+ if (o) {
3961
+ var i = ro(e, r), a = i[1], s = i[2];
3962
+ if (a > s)
3963
+ return !0;
3964
+ }
3965
+ r = r.parentNode;
3966
+ } while (r && r !== n.body);
3967
+ return !1;
3968
+ }, Fs = function(e) {
3969
+ var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
3970
+ return [
3971
+ t,
3972
+ n,
3973
+ r
3974
+ ];
3975
+ }, Bs = function(e) {
3976
+ var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
3977
+ return [
3978
+ t,
3979
+ n,
3980
+ r
3981
+ ];
3982
+ }, no = function(e, t) {
3983
+ return e === "v" ? Is(t) : Ls(t);
3984
+ }, ro = function(e, t) {
3985
+ return e === "v" ? Fs(t) : Bs(t);
3986
+ }, Ws = function(e, t) {
3987
+ return e === "h" && t === "rtl" ? -1 : 1;
3988
+ }, $s = function(e, t, n, r, o) {
3989
+ var i = Ws(e, window.getComputedStyle(t).direction), a = i * r, s = n.target, u = t.contains(s), l = !1, f = a > 0, p = 0, m = 0;
3990
+ do {
3991
+ var v = ro(e, s), x = v[0], h = v[1], g = v[2], w = h - g - i * x;
3992
+ (x || w) && no(e, s) && (p += w, m += x), s instanceof ShadowRoot ? s = s.host : s = s.parentNode;
3993
+ } while (
3994
+ // portaled content
3995
+ !u && s !== document.body || // self content
3996
+ u && (t.contains(s) || t === s)
3997
+ );
3998
+ return (f && Math.abs(p) < 1 || !f && Math.abs(m) < 1) && (l = !0), l;
3999
+ }, dt = function(e) {
4000
+ return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
4001
+ }, er = function(e) {
4002
+ return [e.deltaX, e.deltaY];
4003
+ }, tr = function(e) {
4004
+ return e && "current" in e ? e.current : e;
4005
+ }, Vs = function(e, t) {
4006
+ return e[0] === t[0] && e[1] === t[1];
4007
+ }, zs = function(e) {
4008
+ return `
4009
+ .block-interactivity-`.concat(e, ` {pointer-events: none;}
4010
+ .allow-interactivity-`).concat(e, ` {pointer-events: all;}
4011
+ `);
4012
+ }, Hs = 0, Le = [];
4013
+ function Us(e) {
4014
+ var t = d.useRef([]), n = d.useRef([0, 0]), r = d.useRef(), o = d.useState(Hs++)[0], i = d.useState(eo)[0], a = d.useRef(e);
4015
+ d.useEffect(function() {
4016
+ a.current = e;
4017
+ }, [e]), d.useEffect(function() {
4018
+ if (e.inert) {
4019
+ document.body.classList.add("block-interactivity-".concat(o));
4020
+ var h = ds([e.lockRef.current], (e.shards || []).map(tr), !0).filter(Boolean);
4021
+ return h.forEach(function(g) {
4022
+ return g.classList.add("allow-interactivity-".concat(o));
4023
+ }), function() {
4024
+ document.body.classList.remove("block-interactivity-".concat(o)), h.forEach(function(g) {
4025
+ return g.classList.remove("allow-interactivity-".concat(o));
4026
+ });
4027
+ };
4028
+ }
4029
+ }, [e.inert, e.lockRef.current, e.shards]);
4030
+ var s = d.useCallback(function(h, g) {
4031
+ if ("touches" in h && h.touches.length === 2 || h.type === "wheel" && h.ctrlKey)
4032
+ return !a.current.allowPinchZoom;
4033
+ var w = dt(h), b = n.current, E = "deltaX" in h ? h.deltaX : b[0] - w[0], R = "deltaY" in h ? h.deltaY : b[1] - w[1], A, _ = h.target, S = Math.abs(E) > Math.abs(R) ? "h" : "v";
4034
+ if ("touches" in h && S === "h" && _.type === "range")
4035
+ return !1;
4036
+ var j = Qn(S, _);
4037
+ if (!j)
4038
+ return !0;
4039
+ if (j ? A = S : (A = S === "v" ? "h" : "v", j = Qn(S, _)), !j)
4040
+ return !1;
4041
+ if (!r.current && "changedTouches" in h && (E || R) && (r.current = A), !A)
4042
+ return !0;
4043
+ var F = r.current || A;
4044
+ return $s(F, g, h, F === "h" ? E : R);
4045
+ }, []), u = d.useCallback(function(h) {
4046
+ var g = h;
4047
+ if (!(!Le.length || Le[Le.length - 1] !== i)) {
4048
+ var w = "deltaY" in g ? er(g) : dt(g), b = t.current.filter(function(A) {
4049
+ return A.name === g.type && (A.target === g.target || g.target === A.shadowParent) && Vs(A.delta, w);
4050
+ })[0];
4051
+ if (b && b.should) {
4052
+ g.cancelable && g.preventDefault();
4053
+ return;
4054
+ }
4055
+ if (!b) {
4056
+ var E = (a.current.shards || []).map(tr).filter(Boolean).filter(function(A) {
4057
+ return A.contains(g.target);
4058
+ }), R = E.length > 0 ? s(g, E[0]) : !a.current.noIsolation;
4059
+ R && g.cancelable && g.preventDefault();
4060
+ }
4061
+ }
4062
+ }, []), l = d.useCallback(function(h, g, w, b) {
4063
+ var E = { name: h, delta: g, target: w, should: b, shadowParent: Ys(w) };
4064
+ t.current.push(E), setTimeout(function() {
4065
+ t.current = t.current.filter(function(R) {
4066
+ return R !== E;
4067
+ });
4068
+ }, 1);
4069
+ }, []), f = d.useCallback(function(h) {
4070
+ n.current = dt(h), r.current = void 0;
4071
+ }, []), p = d.useCallback(function(h) {
4072
+ l(h.type, er(h), h.target, s(h, e.lockRef.current));
4073
+ }, []), m = d.useCallback(function(h) {
4074
+ l(h.type, dt(h), h.target, s(h, e.lockRef.current));
4075
+ }, []);
4076
+ d.useEffect(function() {
4077
+ return Le.push(i), e.setCallbacks({
4078
+ onScrollCapture: p,
4079
+ onWheelCapture: p,
4080
+ onTouchMoveCapture: m
4081
+ }), document.addEventListener("wheel", u, Ie), document.addEventListener("touchmove", u, Ie), document.addEventListener("touchstart", f, Ie), function() {
4082
+ Le = Le.filter(function(h) {
4083
+ return h !== i;
4084
+ }), document.removeEventListener("wheel", u, Ie), document.removeEventListener("touchmove", u, Ie), document.removeEventListener("touchstart", f, Ie);
4085
+ };
4086
+ }, []);
4087
+ var v = e.removeScrollBar, x = e.inert;
4088
+ return d.createElement(
4089
+ d.Fragment,
4090
+ null,
4091
+ x ? d.createElement(i, { styles: zs(o) }) : null,
4092
+ v ? d.createElement(Ds, { gapMode: e.gapMode }) : null
4093
+ );
4094
+ }
4095
+ function Ys(e) {
4096
+ for (var t = null; e !== null; )
4097
+ e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
4098
+ return t;
4099
+ }
4100
+ const Ks = bs(Qr, Us);
4101
+ var oo = d.forwardRef(function(e, t) {
4102
+ return d.createElement(Ot, ae({}, e, { ref: t, sideCar: Ks }));
4103
+ });
4104
+ oo.classNames = Ot.classNames;
4105
+ var gn = "Popover", [io, Cc] = Ze(gn, [
4106
+ Lr
4107
+ ]), et = Lr(), [Xs, Ce] = io(gn), ao = (e) => {
4108
+ const {
4109
+ __scopePopover: t,
4110
+ children: n,
4111
+ open: r,
4112
+ defaultOpen: o,
4113
+ onOpenChange: i,
4114
+ modal: a = !1
4115
+ } = e, s = et(t), u = d.useRef(null), [l, f] = d.useState(!1), [p = !1, m] = bt({
4116
+ prop: r,
4117
+ defaultProp: o,
4118
+ onChange: i
4119
+ });
4120
+ return /* @__PURE__ */ y.jsx(qa, { ...s, children: /* @__PURE__ */ y.jsx(
4121
+ Xs,
4122
+ {
4123
+ scope: t,
4124
+ contentId: Qt(),
4125
+ triggerRef: u,
4126
+ open: p,
4127
+ onOpenChange: m,
4128
+ onOpenToggle: d.useCallback(() => m((v) => !v), [m]),
4129
+ hasCustomAnchor: l,
4130
+ onCustomAnchorAdd: d.useCallback(() => f(!0), []),
4131
+ onCustomAnchorRemove: d.useCallback(() => f(!1), []),
4132
+ modal: a,
4133
+ children: n
4134
+ }
4135
+ ) });
4136
+ };
4137
+ ao.displayName = gn;
4138
+ var so = "PopoverAnchor", Gs = d.forwardRef(
4139
+ (e, t) => {
4140
+ const { __scopePopover: n, ...r } = e, o = Ce(so, n), i = et(n), { onCustomAnchorAdd: a, onCustomAnchorRemove: s } = o;
4141
+ return d.useEffect(() => (a(), () => s()), [a, s]), /* @__PURE__ */ y.jsx(Yr, { ...i, ...r, ref: t });
4142
+ }
4143
+ );
4144
+ Gs.displayName = so;
4145
+ var co = "PopoverTrigger", lo = d.forwardRef(
4146
+ (e, t) => {
4147
+ const { __scopePopover: n, ...r } = e, o = Ce(co, n), i = et(n), a = re(t, o.triggerRef), s = /* @__PURE__ */ y.jsx(
4148
+ Z.button,
4149
+ {
4150
+ type: "button",
4151
+ "aria-haspopup": "dialog",
4152
+ "aria-expanded": o.open,
4153
+ "aria-controls": o.contentId,
4154
+ "data-state": go(o.open),
4155
+ ...r,
4156
+ ref: a,
4157
+ onClick: se(e.onClick, o.onOpenToggle)
4158
+ }
4159
+ );
4160
+ return o.hasCustomAnchor ? s : /* @__PURE__ */ y.jsx(Yr, { asChild: !0, ...i, children: s });
4161
+ }
4162
+ );
4163
+ lo.displayName = co;
4164
+ var yn = "PopoverPortal", [qs, Js] = io(yn, {
4165
+ forceMount: void 0
4166
+ }), uo = (e) => {
4167
+ const { __scopePopover: t, forceMount: n, children: r, container: o } = e, i = Ce(yn, t);
4168
+ return /* @__PURE__ */ y.jsx(qs, { scope: t, forceMount: n, children: /* @__PURE__ */ y.jsx(Ct, { present: n || i.open, children: /* @__PURE__ */ y.jsx(Kr, { asChild: !0, container: o, children: r }) }) });
4169
+ };
4170
+ uo.displayName = yn;
4171
+ var Ve = "PopoverContent", fo = d.forwardRef(
4172
+ (e, t) => {
4173
+ const n = Js(Ve, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, i = Ce(Ve, e.__scopePopover);
4174
+ return /* @__PURE__ */ y.jsx(Ct, { present: r || i.open, children: i.modal ? /* @__PURE__ */ y.jsx(Zs, { ...o, ref: t }) : /* @__PURE__ */ y.jsx(Qs, { ...o, ref: t }) });
4175
+ }
4176
+ );
4177
+ fo.displayName = Ve;
4178
+ var Zs = d.forwardRef(
4179
+ (e, t) => {
4180
+ const n = Ce(Ve, e.__scopePopover), r = d.useRef(null), o = re(t, r), i = d.useRef(!1);
4181
+ return d.useEffect(() => {
4182
+ const a = r.current;
4183
+ if (a) return fs(a);
4184
+ }, []), /* @__PURE__ */ y.jsx(oo, { as: qe, allowPinchZoom: !0, children: /* @__PURE__ */ y.jsx(
4185
+ po,
4186
+ {
4187
+ ...e,
4188
+ ref: o,
4189
+ trapFocus: n.open,
4190
+ disableOutsidePointerEvents: !0,
4191
+ onCloseAutoFocus: se(e.onCloseAutoFocus, (a) => {
4192
+ var s;
4193
+ a.preventDefault(), i.current || (s = n.triggerRef.current) == null || s.focus();
4194
+ }),
4195
+ onPointerDownOutside: se(
4196
+ e.onPointerDownOutside,
4197
+ (a) => {
4198
+ const s = a.detail.originalEvent, u = s.button === 0 && s.ctrlKey === !0, l = s.button === 2 || u;
4199
+ i.current = l;
4200
+ },
4201
+ { checkForDefaultPrevented: !1 }
4202
+ ),
4203
+ onFocusOutside: se(
4204
+ e.onFocusOutside,
4205
+ (a) => a.preventDefault(),
4206
+ { checkForDefaultPrevented: !1 }
4207
+ )
4208
+ }
4209
+ ) });
4210
+ }
4211
+ ), Qs = d.forwardRef(
4212
+ (e, t) => {
4213
+ const n = Ce(Ve, e.__scopePopover), r = d.useRef(!1), o = d.useRef(!1);
4214
+ return /* @__PURE__ */ y.jsx(
4215
+ po,
4216
+ {
4217
+ ...e,
4218
+ ref: t,
4219
+ trapFocus: !1,
4220
+ disableOutsidePointerEvents: !1,
4221
+ onCloseAutoFocus: (i) => {
4222
+ var a, s;
4223
+ (a = e.onCloseAutoFocus) == null || a.call(e, i), i.defaultPrevented || (r.current || (s = n.triggerRef.current) == null || s.focus(), i.preventDefault()), r.current = !1, o.current = !1;
4224
+ },
4225
+ onInteractOutside: (i) => {
4226
+ var u, l;
4227
+ (u = e.onInteractOutside) == null || u.call(e, i), i.defaultPrevented || (r.current = !0, i.detail.originalEvent.type === "pointerdown" && (o.current = !0));
4228
+ const a = i.target;
4229
+ ((l = n.triggerRef.current) == null ? void 0 : l.contains(a)) && i.preventDefault(), i.detail.originalEvent.type === "focusin" && o.current && i.preventDefault();
4230
+ }
4231
+ }
4232
+ );
4233
+ }
4234
+ ), po = d.forwardRef(
4235
+ (e, t) => {
4236
+ const {
4237
+ __scopePopover: n,
4238
+ trapFocus: r,
4239
+ onOpenAutoFocus: o,
4240
+ onCloseAutoFocus: i,
4241
+ disableOutsidePointerEvents: a,
4242
+ onEscapeKeyDown: s,
4243
+ onPointerDownOutside: u,
4244
+ onFocusOutside: l,
4245
+ onInteractOutside: f,
4246
+ ...p
4247
+ } = e, m = Ce(Ve, n), v = et(n);
4248
+ return es(), /* @__PURE__ */ y.jsx(
4249
+ Xr,
4250
+ {
4251
+ asChild: !0,
4252
+ loop: !0,
4253
+ trapped: r,
4254
+ onMountAutoFocus: o,
4255
+ onUnmountAutoFocus: i,
4256
+ children: /* @__PURE__ */ y.jsx(
4257
+ Er,
4258
+ {
4259
+ asChild: !0,
4260
+ disableOutsidePointerEvents: a,
4261
+ onInteractOutside: f,
4262
+ onEscapeKeyDown: s,
4263
+ onPointerDownOutside: u,
4264
+ onFocusOutside: l,
4265
+ onDismiss: () => m.onOpenChange(!1),
4266
+ children: /* @__PURE__ */ y.jsx(
4267
+ Ja,
4268
+ {
4269
+ "data-state": go(m.open),
4270
+ role: "dialog",
4271
+ id: m.contentId,
4272
+ ...v,
4273
+ ...p,
4274
+ ref: t,
4275
+ style: {
4276
+ ...p.style,
4277
+ "--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
4278
+ "--radix-popover-content-available-width": "var(--radix-popper-available-width)",
4279
+ "--radix-popover-content-available-height": "var(--radix-popper-available-height)",
4280
+ "--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
4281
+ "--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
4282
+ }
4283
+ }
4284
+ )
4285
+ }
4286
+ )
4287
+ }
4288
+ );
4289
+ }
4290
+ ), ho = "PopoverClose", mo = d.forwardRef(
4291
+ (e, t) => {
4292
+ const { __scopePopover: n, ...r } = e, o = Ce(ho, n);
4293
+ return /* @__PURE__ */ y.jsx(
4294
+ Z.button,
4295
+ {
4296
+ type: "button",
4297
+ ...r,
4298
+ ref: t,
4299
+ onClick: se(e.onClick, () => o.onOpenChange(!1))
4300
+ }
4301
+ );
4302
+ }
4303
+ );
4304
+ mo.displayName = ho;
4305
+ var ec = "PopoverArrow", vo = d.forwardRef(
4306
+ (e, t) => {
4307
+ const { __scopePopover: n, ...r } = e, o = et(n);
4308
+ return /* @__PURE__ */ y.jsx(Za, { ...o, ...r, ref: t });
4309
+ }
4310
+ );
4311
+ vo.displayName = ec;
4312
+ function go(e) {
4313
+ return e ? "open" : "closed";
4314
+ }
4315
+ var tc = ao, nc = lo, rc = uo, oc = fo, ic = mo, ac = vo;
4316
+ const Ec = ({
4317
+ triggerElement: e,
4318
+ classes: t,
4319
+ sideOffset: n = 4,
4320
+ alignOffset: r,
4321
+ align: o,
4322
+ side: i,
4323
+ defaultOpen: a = !1,
4324
+ avoidCollisions: s = !0,
4325
+ children: u,
4326
+ arrowPadding: l,
4327
+ portalContainer: f,
4328
+ ...p
4329
+ }) => /* @__PURE__ */ y.jsxs(tc, { defaultOpen: a, children: [
4330
+ /* @__PURE__ */ y.jsx("div", { className: L("flex w-max items-center gap-2", t == null ? void 0 : t.root), children: /* @__PURE__ */ y.jsx(
4331
+ nc,
4332
+ {
4333
+ "aria-label": "tooltip",
4334
+ className: L("flex cursor-pointer items-center justify-center", t == null ? void 0 : t.trigger),
4335
+ children: e
4336
+ }
4337
+ ) }),
4338
+ /* @__PURE__ */ y.jsx(rc, { container: f, children: /* @__PURE__ */ y.jsxs(
4339
+ oc,
4340
+ {
4341
+ className: L(
4342
+ "desk-body-regular-m flex w-fit max-w-64 items-start gap-2 rounded-sm bg-color-white p-4 shadow-sm outline-none",
4343
+ t == null ? void 0 : t.content
4344
+ ),
4345
+ sideOffset: n,
4346
+ alignOffset: r,
4347
+ avoidCollisions: s,
4348
+ arrowPadding: l,
4349
+ align: o,
4350
+ side: i,
4351
+ ...p,
4352
+ children: [
4353
+ u,
4354
+ /* @__PURE__ */ y.jsx(
4355
+ ic,
4356
+ {
4357
+ "aria-label": "Close",
4358
+ className: L("flex size-5 items-center justify-center outline-0 outline-transparent", t == null ? void 0 : t.closeTrigger),
4359
+ children: /* @__PURE__ */ y.jsx(
4360
+ de,
4361
+ {
4362
+ name: "general/close",
4363
+ className: L(
4364
+ "size-5 cursor-pointer text-icon-blue-grey-600 transition-colors hover:text-icon-blue-grey-800",
4365
+ t == null ? void 0 : t.closeIcon
4366
+ )
4367
+ }
4368
+ )
4369
+ }
4370
+ ),
4371
+ /* @__PURE__ */ y.jsx(ac, { width: 12, height: 6, className: L("fill-white", t == null ? void 0 : t.arrowIcon) })
4372
+ ]
4373
+ }
4374
+ ) })
4375
+ ] }), sc = ze("", {
4376
+ variants: {
4377
+ as: {
4378
+ h1: "mob-headline-bold-m desktop:desk-headline-bold-l",
4379
+ h2: "mob-headline-bold-s desktop:desk-headline-bold-m",
4380
+ h3: "mob-title-bold-l desktop:desk-title-bold-l",
4381
+ h4: "mob-title-bold-m desktop:desk-title-bold-s"
4382
+ }
4383
+ },
4384
+ defaultVariants: {
4385
+ as: "h2"
4386
+ }
4387
+ }), Rc = ({ as: e = "h2", children: t, className: n, ...r }) => {
4388
+ const o = e;
4389
+ return /* @__PURE__ */ y.jsx(o, { className: L(sc({ as: e }), n), ...r, children: t });
4390
+ }, Pc = {
4391
+ main: /* @__PURE__ */ y.jsx(de, { name: "brandLogos/logoMain" }),
4392
+ white: /* @__PURE__ */ y.jsx(de, { name: "brandLogos/logoWhite" }),
4393
+ gray: /* @__PURE__ */ y.jsx(de, { name: "brandLogos/logoGray" }),
4394
+ black: /* @__PURE__ */ y.jsx(de, { name: "brandLogos/logoBlack" }),
4395
+ business: /* @__PURE__ */ y.jsx(de, { name: "brandLogos/logoBusiness" }),
4396
+ insurance: /* @__PURE__ */ y.jsx(de, { name: "brandLogos/logoInsurance" })
4397
+ }, cc = ze(
4398
+ "group outline-none transition-all duration-100 p-[2px] rounded-sm border border-solid border-transparent hover:underline underline-offset-4",
4399
+ {
4400
+ variants: {
4401
+ intent: {
4402
+ blue: "text-color-primary-default hover:text-color-primary-hover focus-visible:text-color-primary-default focus-visible:border-primary-focus",
4403
+ white: "text-color-white hover:text-color-footer focus-visible:text-color-white focus-visible:border-primary-focus",
4404
+ dark: "text-color-dark group-focus:text-icon-dark-default focus-visible:border-primary-focus"
4405
+ },
4406
+ withUnderline: {
4407
+ true: "underline underline-offset-4",
4408
+ false: ""
4409
+ },
4410
+ disabled: {
4411
+ true: "!text-color-primary-disabled pointer-events-none !border-transparent",
4412
+ false: ""
4413
+ },
4414
+ size: {
4415
+ sm: "desk-body-regular-m",
4416
+ md: "desk-body-regular-l"
4417
+ }
4418
+ },
4419
+ defaultVariants: {
4420
+ intent: "blue",
4421
+ disabled: !1,
4422
+ size: "sm",
4423
+ withUnderline: !1
4424
+ }
4425
+ }
4426
+ ), lc = ze("size-6", {
4427
+ variants: {
4428
+ intent: {
4429
+ blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
4430
+ white: "text-icon-white group-hover:text-icon-footer group-focus:text-icon-white",
4431
+ dark: "text-icon-dark-default"
4432
+ },
4433
+ disabled: {
4434
+ true: "!text-icon-primary-disabled pointer-events-none",
4435
+ false: ""
4436
+ }
4437
+ },
4438
+ defaultVariants: {
4439
+ intent: "blue",
4440
+ disabled: !1
4441
+ }
4442
+ }), Ac = ({ intent: e, children: t, disabled: n, size: r, icon: o, classes: i, withUnderline: a, ...s }) => /* @__PURE__ */ y.jsxs("a", { className: L(cc({ intent: e, withUnderline: a, disabled: n, size: r }), i == null ? void 0 : i.link), ...s, children: [
4443
+ t,
4444
+ o && /* @__PURE__ */ y.jsx(de, { name: o, className: L(lc({ intent: e, disabled: n }), i == null ? void 0 : i.icon) })
4445
+ ] });
4446
+ export {
4447
+ wc as A,
4448
+ mc as B,
4449
+ Ac as C,
4450
+ Er as D,
4451
+ ee as E,
4452
+ we as F,
4453
+ gt as G,
4454
+ Rc as H,
4455
+ de as I,
4456
+ Ma as J,
4457
+ La as K,
4458
+ Jo as L,
4459
+ Fa as M,
4460
+ Ra as N,
4461
+ za as O,
4462
+ vc as P,
4463
+ hc as R,
4464
+ pc as S,
4465
+ bc as _,
4466
+ Ec as a,
4467
+ Pc as b,
4468
+ ze as c,
4469
+ gc as d,
4470
+ Z as e,
4471
+ Ze as f,
4472
+ Lr as g,
4473
+ Yr as h,
4474
+ se as i,
4475
+ y as j,
4476
+ Ct as k,
4477
+ Ja as l,
4478
+ Qo as m,
4479
+ Za as n,
4480
+ Qt as o,
4481
+ bt as p,
4482
+ qa as q,
4483
+ ri as r,
4484
+ wi as s,
4485
+ ge as t,
4486
+ re as u,
4487
+ ka as v,
4488
+ oe as w,
4489
+ pe as x,
4490
+ Da as y,
4491
+ xc as z
4492
+ };
4493
+ //# sourceMappingURL=CustomLink-BQOhJbbq.js.map