mimir-ui-kit 1.38.34 → 1.38.36

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 (1005) hide show
  1. package/package.json +1 -1
  2. package/dist/Input-DAmc_HxO.js +0 -227
  3. package/dist/ProgressBar-DEFs1tWq.js +0 -55
  4. package/dist/assets/Accordion.css +0 -1
  5. package/dist/assets/AccordionItem.css +0 -1
  6. package/dist/assets/Avatar.css +0 -1
  7. package/dist/assets/Button.css +0 -1
  8. package/dist/assets/CheckboxMimir.css +0 -1
  9. package/dist/assets/Chip.css +0 -1
  10. package/dist/assets/Drawer.css +0 -1
  11. package/dist/assets/Dropdown.css +0 -1
  12. package/dist/assets/GosZnak.css +0 -1
  13. package/dist/assets/Image.css +0 -1
  14. package/dist/assets/Input.css +0 -1
  15. package/dist/assets/InputPassword.css +0 -1
  16. package/dist/assets/InputRangeSlider.css +0 -1
  17. package/dist/assets/Link.css +0 -1
  18. package/dist/assets/ListFiles.css +0 -1
  19. package/dist/assets/ListPhotos.css +0 -1
  20. package/dist/assets/Loader.css +0 -1
  21. package/dist/assets/MergedButton.css +0 -1
  22. package/dist/assets/MessageShortReply.css +0 -1
  23. package/dist/assets/MultiSelectSearch.css +0 -1
  24. package/dist/assets/NotificationBadge.css +0 -1
  25. package/dist/assets/OtpInput.css +0 -1
  26. package/dist/assets/Pagination.css +0 -1
  27. package/dist/assets/ProgressBar.css +0 -1
  28. package/dist/assets/RadioGroup.css +0 -1
  29. package/dist/assets/SelectSearch.css +0 -1
  30. package/dist/assets/SkeletonCircle.css +0 -1
  31. package/dist/assets/SkeletonText.css +0 -1
  32. package/dist/assets/Slider.css +0 -1
  33. package/dist/assets/Steps.css +0 -1
  34. package/dist/assets/Switcher.css +0 -1
  35. package/dist/assets/TabTrail.css +0 -1
  36. package/dist/assets/Tag.css +0 -1
  37. package/dist/assets/TextArea.css +0 -1
  38. package/dist/assets/Timer.css +0 -1
  39. package/dist/assets/TwinSwitcher.css +0 -1
  40. package/dist/assets/Uploader.css +0 -1
  41. package/dist/assets/UploaderFiles.css +0 -1
  42. package/dist/assets/UploaderPhotos.css +0 -1
  43. package/dist/assets/Vote.css +0 -1
  44. package/dist/assets/index.css +0 -1
  45. package/dist/assets/styles.css +0 -1
  46. package/dist/assets/variant.css +0 -1
  47. package/dist/bugs-diTMAGNw.js +0 -18
  48. package/dist/close-provider-CEutdhG8.js +0 -9
  49. package/dist/combobox-CVtJDVoZ.js +0 -980
  50. package/dist/components/Accordion/Accordion.d.ts +0 -45
  51. package/dist/components/Accordion/Accordion.js +0 -267
  52. package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +0 -8
  53. package/dist/components/Accordion/AccordionItem/AccordionItem.js +0 -10
  54. package/dist/components/Accordion/AccordionItem/index.d.ts +0 -1
  55. package/dist/components/Accordion/AccordionItem/index.js +0 -4
  56. package/dist/components/Accordion/constants.d.ts +0 -24
  57. package/dist/components/Accordion/constants.js +0 -9
  58. package/dist/components/Accordion/index.d.ts +0 -3
  59. package/dist/components/Accordion/index.js +0 -8
  60. package/dist/components/AnchorLink/Link.d.ts +0 -17
  61. package/dist/components/AnchorLink/Link.js +0 -52
  62. package/dist/components/AnchorLink/constants.d.ts +0 -10
  63. package/dist/components/AnchorLink/constants.js +0 -5
  64. package/dist/components/AnchorLink/index.d.ts +0 -2
  65. package/dist/components/AnchorLink/index.js +0 -7
  66. package/dist/components/Avatar/Avatar.d.ts +0 -3
  67. package/dist/components/Avatar/Avatar.js +0 -58
  68. package/dist/components/Avatar/constants.d.ts +0 -5
  69. package/dist/components/Avatar/constants.js +0 -4
  70. package/dist/components/Avatar/index.d.ts +0 -3
  71. package/dist/components/Avatar/index.js +0 -6
  72. package/dist/components/Avatar/types.d.ts +0 -10
  73. package/dist/components/Button/Button.d.ts +0 -310
  74. package/dist/components/Button/Button.js +0 -100
  75. package/dist/components/Button/constants.d.ts +0 -40
  76. package/dist/components/Button/constants.js +0 -9
  77. package/dist/components/Button/index.d.ts +0 -2
  78. package/dist/components/Button/index.js +0 -11
  79. package/dist/components/Button/types.d.ts +0 -38
  80. package/dist/components/CheckboxMimir/CheckboxMimir.d.ts +0 -301
  81. package/dist/components/CheckboxMimir/CheckboxMimir.js +0 -63
  82. package/dist/components/CheckboxMimir/index.d.ts +0 -2
  83. package/dist/components/CheckboxMimir/index.js +0 -4
  84. package/dist/components/Chip/Chip.d.ts +0 -30
  85. package/dist/components/Chip/Chip.js +0 -44
  86. package/dist/components/Chip/constants.d.ts +0 -13
  87. package/dist/components/Chip/constants.js +0 -5
  88. package/dist/components/Chip/index.d.ts +0 -2
  89. package/dist/components/Chip/index.js +0 -7
  90. package/dist/components/DatePicker/DatePicker.d.ts +0 -110
  91. package/dist/components/DatePicker/DatePicker.js +0 -166
  92. package/dist/components/DatePicker/DatePickerModal.d.ts +0 -9
  93. package/dist/components/DatePicker/DatePickerModal.js +0 -147
  94. package/dist/components/DatePicker/MonthPickerModal.d.ts +0 -8
  95. package/dist/components/DatePicker/MonthPickerModal.js +0 -94
  96. package/dist/components/DatePicker/YearPickerModal.d.ts +0 -8
  97. package/dist/components/DatePicker/YearPickerModal.js +0 -89
  98. package/dist/components/DatePicker/constants.d.ts +0 -17
  99. package/dist/components/DatePicker/constants.js +0 -28
  100. package/dist/components/DatePicker/hooks.d.ts +0 -3
  101. package/dist/components/DatePicker/hooks.js +0 -20
  102. package/dist/components/DatePicker/index.d.ts +0 -2
  103. package/dist/components/DatePicker/index.js +0 -4
  104. package/dist/components/DatePicker/utils.d.ts +0 -6
  105. package/dist/components/DatePicker/utils.js +0 -9
  106. package/dist/components/Drawer/Drawer.d.ts +0 -87
  107. package/dist/components/Drawer/Drawer.js +0 -166
  108. package/dist/components/Drawer/constants.d.ts +0 -6
  109. package/dist/components/Drawer/constants.js +0 -4
  110. package/dist/components/Drawer/index.d.ts +0 -2
  111. package/dist/components/Drawer/index.js +0 -6
  112. package/dist/components/Dropdown/Dropdown.d.ts +0 -45
  113. package/dist/components/Dropdown/Dropdown.js +0 -333
  114. package/dist/components/Dropdown/index.d.ts +0 -1
  115. package/dist/components/Dropdown/index.js +0 -4
  116. package/dist/components/GosZnak/GosZnak.d.ts +0 -4
  117. package/dist/components/GosZnak/GosZnak.js +0 -63
  118. package/dist/components/GosZnak/constants.d.ts +0 -11
  119. package/dist/components/GosZnak/constants.js +0 -5
  120. package/dist/components/GosZnak/index.d.ts +0 -3
  121. package/dist/components/GosZnak/index.js +0 -7
  122. package/dist/components/GosZnak/types.d.ts +0 -26
  123. package/dist/components/Image/Image.d.ts +0 -33
  124. package/dist/components/Image/Image.js +0 -60
  125. package/dist/components/Image/index.d.ts +0 -1
  126. package/dist/components/Image/index.js +0 -4
  127. package/dist/components/Input/Input.d.ts +0 -71
  128. package/dist/components/Input/Input.js +0 -11
  129. package/dist/components/Input/constants.d.ts +0 -14
  130. package/dist/components/Input/constants.js +0 -6
  131. package/dist/components/Input/index.d.ts +0 -3
  132. package/dist/components/Input/index.js +0 -8
  133. package/dist/components/Input/types.d.ts +0 -22
  134. package/dist/components/InputPassword/InputPassword.d.ts +0 -4
  135. package/dist/components/InputPassword/InputPassword.js +0 -58
  136. package/dist/components/InputPassword/index.d.ts +0 -2
  137. package/dist/components/InputPassword/index.js +0 -4
  138. package/dist/components/InputPhoneNumber/InputPhoneNumber.d.ts +0 -4
  139. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +0 -35
  140. package/dist/components/InputPhoneNumber/index.d.ts +0 -2
  141. package/dist/components/InputPhoneNumber/index.js +0 -7
  142. package/dist/components/InputPhoneNumber/utils.d.ts +0 -2
  143. package/dist/components/InputPhoneNumber/utils.js +0 -9
  144. package/dist/components/InputRangeSlider/InputRangeSlider.d.ts +0 -3
  145. package/dist/components/InputRangeSlider/InputRangeSlider.js +0 -171
  146. package/dist/components/InputRangeSlider/constants.d.ts +0 -10
  147. package/dist/components/InputRangeSlider/constants.js +0 -8
  148. package/dist/components/InputRangeSlider/index.d.ts +0 -3
  149. package/dist/components/InputRangeSlider/index.js +0 -7
  150. package/dist/components/InputRangeSlider/types.d.ts +0 -33
  151. package/dist/components/ListFiles/ListFiles.d.ts +0 -40
  152. package/dist/components/ListFiles/ListFiles.js +0 -66
  153. package/dist/components/ListFiles/constants.d.ts +0 -7
  154. package/dist/components/ListFiles/constants.js +0 -35
  155. package/dist/components/ListFiles/index.d.ts +0 -3
  156. package/dist/components/ListFiles/index.js +0 -6
  157. package/dist/components/ListPhotos/ListPhotos.d.ts +0 -28
  158. package/dist/components/ListPhotos/ListPhotos.js +0 -44
  159. package/dist/components/ListPhotos/constants.d.ts +0 -3
  160. package/dist/components/ListPhotos/constants.js +0 -21
  161. package/dist/components/ListPhotos/index.d.ts +0 -2
  162. package/dist/components/ListPhotos/index.js +0 -4
  163. package/dist/components/Loader/Loader.d.ts +0 -7
  164. package/dist/components/Loader/Loader.js +0 -16
  165. package/dist/components/Loader/constants.d.ts +0 -4
  166. package/dist/components/Loader/constants.js +0 -4
  167. package/dist/components/Loader/index.d.ts +0 -2
  168. package/dist/components/Loader/index.js +0 -6
  169. package/dist/components/MergedButton/MergedButton.d.ts +0 -17
  170. package/dist/components/MergedButton/MergedButton.js +0 -48
  171. package/dist/components/MergedButton/constants.d.ts +0 -5
  172. package/dist/components/MergedButton/constants.js +0 -4
  173. package/dist/components/MergedButton/index.d.ts +0 -2
  174. package/dist/components/MergedButton/index.js +0 -6
  175. package/dist/components/MessageShortReply/MessageShortReply.d.ts +0 -30
  176. package/dist/components/MessageShortReply/MessageShortReply.js +0 -51
  177. package/dist/components/MessageShortReply/constants.d.ts +0 -9
  178. package/dist/components/MessageShortReply/constants.js +0 -4
  179. package/dist/components/MessageShortReply/index.d.ts +0 -2
  180. package/dist/components/MessageShortReply/index.js +0 -6
  181. package/dist/components/MultiSelectSearch/MultiSelectSearch.d.ts +0 -26
  182. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +0 -375
  183. package/dist/components/MultiSelectSearch/constants.d.ts +0 -7
  184. package/dist/components/MultiSelectSearch/constants.js +0 -8
  185. package/dist/components/MultiSelectSearch/index.d.ts +0 -3
  186. package/dist/components/MultiSelectSearch/index.js +0 -6
  187. package/dist/components/MultiSelectSearch/types.d.ts +0 -72
  188. package/dist/components/MultiSelectSearch/utils.d.ts +0 -11
  189. package/dist/components/MultiSelectSearch/utils.js +0 -28
  190. package/dist/components/NotificationBadge/NotificationBadge.d.ts +0 -3
  191. package/dist/components/NotificationBadge/NotificationBadge.js +0 -36
  192. package/dist/components/NotificationBadge/constants.d.ts +0 -5
  193. package/dist/components/NotificationBadge/constants.js +0 -4
  194. package/dist/components/NotificationBadge/index.d.ts +0 -3
  195. package/dist/components/NotificationBadge/index.js +0 -6
  196. package/dist/components/NotificationBadge/types.d.ts +0 -25
  197. package/dist/components/OtpInput/OtpInput.d.ts +0 -23
  198. package/dist/components/OtpInput/OtpInput.js +0 -70
  199. package/dist/components/OtpInput/constants.d.ts +0 -3
  200. package/dist/components/OtpInput/constants.js +0 -6
  201. package/dist/components/OtpInput/hooks.d.ts +0 -20
  202. package/dist/components/OtpInput/hooks.js +0 -102
  203. package/dist/components/OtpInput/index.d.ts +0 -1
  204. package/dist/components/OtpInput/index.js +0 -4
  205. package/dist/components/Pagination/Pagination.d.ts +0 -40
  206. package/dist/components/Pagination/Pagination.js +0 -176
  207. package/dist/components/Pagination/constants.d.ts +0 -2
  208. package/dist/components/Pagination/constants.js +0 -5
  209. package/dist/components/Pagination/index.d.ts +0 -1
  210. package/dist/components/Pagination/index.js +0 -4
  211. package/dist/components/Pagination/types.d.ts +0 -0
  212. package/dist/components/Portal/Portal.d.ts +0 -7
  213. package/dist/components/Portal/Portal.js +0 -8
  214. package/dist/components/Portal/index.d.ts +0 -1
  215. package/dist/components/Portal/index.js +0 -4
  216. package/dist/components/RadioGroup/RadioGroup.d.ts +0 -71
  217. package/dist/components/RadioGroup/RadioGroup.js +0 -195
  218. package/dist/components/RadioGroup/index.d.ts +0 -2
  219. package/dist/components/RadioGroup/index.js +0 -4
  220. package/dist/components/SelectSearch/SelectSearch.d.ts +0 -22
  221. package/dist/components/SelectSearch/SelectSearch.js +0 -263
  222. package/dist/components/SelectSearch/constants.d.ts +0 -4
  223. package/dist/components/SelectSearch/constants.js +0 -4
  224. package/dist/components/SelectSearch/index.d.ts +0 -3
  225. package/dist/components/SelectSearch/index.js +0 -6
  226. package/dist/components/SelectSearch/types.d.ts +0 -59
  227. package/dist/components/SelectSearch/utils.d.ts +0 -5
  228. package/dist/components/SelectSearch/utils.js +0 -17
  229. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +0 -12
  230. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +0 -33
  231. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +0 -9
  232. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +0 -29
  233. package/dist/components/Skeleton/SkeletonText/SkeletonText.d.ts +0 -10
  234. package/dist/components/Skeleton/SkeletonText/SkeletonText.js +0 -52
  235. package/dist/components/Skeleton/constants.d.ts +0 -5
  236. package/dist/components/Skeleton/constants.js +0 -4
  237. package/dist/components/Skeleton/index.d.ts +0 -4
  238. package/dist/components/Skeleton/index.js +0 -10
  239. package/dist/components/Slider/Slider.d.ts +0 -75
  240. package/dist/components/Slider/Slider.js +0 -3075
  241. package/dist/components/Slider/constants.d.ts +0 -4
  242. package/dist/components/Slider/constants.js +0 -4
  243. package/dist/components/Slider/index.d.ts +0 -3
  244. package/dist/components/Slider/index.js +0 -9
  245. package/dist/components/Steps/Steps.d.ts +0 -78
  246. package/dist/components/Steps/Steps.js +0 -123
  247. package/dist/components/Steps/constants.d.ts +0 -49
  248. package/dist/components/Steps/constants.js +0 -57
  249. package/dist/components/Steps/index.d.ts +0 -3
  250. package/dist/components/Steps/index.js +0 -7
  251. package/dist/components/Steps/types.d.ts +0 -10
  252. package/dist/components/Switcher/Switcher.d.ts +0 -3
  253. package/dist/components/Switcher/Switcher.js +0 -107
  254. package/dist/components/Switcher/constants.d.ts +0 -4
  255. package/dist/components/Switcher/constants.js +0 -4
  256. package/dist/components/Switcher/index.d.ts +0 -3
  257. package/dist/components/Switcher/index.js +0 -6
  258. package/dist/components/Switcher/types.d.ts +0 -30
  259. package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +0 -10
  260. package/dist/components/TabTrail/TabButtons/TabButtons.js +0 -33
  261. package/dist/components/TabTrail/TabButtons/constants.d.ts +0 -8
  262. package/dist/components/TabTrail/TabButtons/constants.js +0 -5
  263. package/dist/components/TabTrail/TabButtons/index.d.ts +0 -1
  264. package/dist/components/TabTrail/TabButtons/index.js +0 -4
  265. package/dist/components/TabTrail/TabTrail.d.ts +0 -68
  266. package/dist/components/TabTrail/TabTrail.js +0 -313
  267. package/dist/components/TabTrail/constants.d.ts +0 -4
  268. package/dist/components/TabTrail/constants.js +0 -4
  269. package/dist/components/TabTrail/index.d.ts +0 -2
  270. package/dist/components/TabTrail/index.js +0 -6
  271. package/dist/components/Tag/Tag.d.ts +0 -42
  272. package/dist/components/Tag/Tag.js +0 -46
  273. package/dist/components/Tag/constants.d.ts +0 -9
  274. package/dist/components/Tag/constants.js +0 -5
  275. package/dist/components/Tag/index.d.ts +0 -2
  276. package/dist/components/Tag/index.js +0 -7
  277. package/dist/components/Tag/types.d.ts +0 -0
  278. package/dist/components/TextArea/TextArea.d.ts +0 -7
  279. package/dist/components/TextArea/TextArea.js +0 -224
  280. package/dist/components/TextArea/constants.d.ts +0 -5
  281. package/dist/components/TextArea/constants.js +0 -4
  282. package/dist/components/TextArea/hooks.d.ts +0 -3
  283. package/dist/components/TextArea/hooks.js +0 -15
  284. package/dist/components/TextArea/index.d.ts +0 -2
  285. package/dist/components/TextArea/index.js +0 -6
  286. package/dist/components/TextArea/types.d.ts +0 -6
  287. package/dist/components/Timer/Timer.d.ts +0 -24
  288. package/dist/components/Timer/Timer.js +0 -23
  289. package/dist/components/Timer/index.d.ts +0 -1
  290. package/dist/components/Timer/index.js +0 -4
  291. package/dist/components/Toasts/ProgressBar.d.ts +0 -5
  292. package/dist/components/Toasts/ProgressBar.js +0 -8
  293. package/dist/components/Toasts/Toast.d.ts +0 -54
  294. package/dist/components/Toasts/Toast.js +0 -72
  295. package/dist/components/Toasts/ToastList.d.ts +0 -10
  296. package/dist/components/Toasts/ToastList.js +0 -41
  297. package/dist/components/Toasts/ToastsProvider.d.ts +0 -3
  298. package/dist/components/Toasts/ToastsProvider.js +0 -42
  299. package/dist/components/Toasts/constants.d.ts +0 -23
  300. package/dist/components/Toasts/constants.js +0 -15
  301. package/dist/components/Toasts/hooks.d.ts +0 -2
  302. package/dist/components/Toasts/hooks.js +0 -15
  303. package/dist/components/Toasts/index.d.ts +0 -3
  304. package/dist/components/Toasts/index.js +0 -9
  305. package/dist/components/Toasts/store.d.ts +0 -29
  306. package/dist/components/Toasts/store.js +0 -40
  307. package/dist/components/Toasts/types.d.ts +0 -5
  308. package/dist/components/TwinSwitcher/TwinSwitcher.d.ts +0 -10
  309. package/dist/components/TwinSwitcher/TwinSwitcher.js +0 -61
  310. package/dist/components/TwinSwitcher/index.d.ts +0 -1
  311. package/dist/components/TwinSwitcher/index.js +0 -4
  312. package/dist/components/UniversalUploader/UniversalUploader.d.ts +0 -10
  313. package/dist/components/UniversalUploader/UniversalUploader.js +0 -114
  314. package/dist/components/UniversalUploader/constants.d.ts +0 -6
  315. package/dist/components/UniversalUploader/constants.js +0 -13
  316. package/dist/components/UniversalUploader/index.d.ts +0 -3
  317. package/dist/components/UniversalUploader/index.js +0 -6
  318. package/dist/components/UniversalUploader/types.d.ts +0 -21
  319. package/dist/components/Uploader/Uploader.d.ts +0 -77
  320. package/dist/components/Uploader/Uploader.js +0 -116
  321. package/dist/components/Uploader/constants.d.ts +0 -8
  322. package/dist/components/Uploader/constants.js +0 -37
  323. package/dist/components/Uploader/index.d.ts +0 -4
  324. package/dist/components/Uploader/index.js +0 -6
  325. package/dist/components/UploaderFiles/UploaderFiles.d.ts +0 -3
  326. package/dist/components/UploaderFiles/UploaderFiles.js +0 -92
  327. package/dist/components/UploaderFiles/constants.d.ts +0 -4
  328. package/dist/components/UploaderFiles/constants.js +0 -4
  329. package/dist/components/UploaderFiles/index.d.ts +0 -3
  330. package/dist/components/UploaderFiles/index.js +0 -6
  331. package/dist/components/UploaderFiles/types.d.ts +0 -75
  332. package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +0 -60
  333. package/dist/components/UploaderPhotos/UploaderPhotos.js +0 -72
  334. package/dist/components/UploaderPhotos/index.d.ts +0 -2
  335. package/dist/components/UploaderPhotos/index.js +0 -4
  336. package/dist/components/Vote/Vote.d.ts +0 -171
  337. package/dist/components/Vote/Vote.js +0 -95
  338. package/dist/components/Vote/constants.d.ts +0 -7
  339. package/dist/components/Vote/constants.js +0 -9
  340. package/dist/components/Vote/index.d.ts +0 -3
  341. package/dist/components/Vote/index.js +0 -6
  342. package/dist/components/Vote/types.d.ts +0 -6
  343. package/dist/components/index.d.ts +0 -70
  344. package/dist/components/index.js +0 -165
  345. package/dist/field-FJ34aSs4.js +0 -12
  346. package/dist/focus-management-DE4t_lW3.js +0 -78
  347. package/dist/hidden-DbgtYPOH.js +0 -13
  348. package/dist/hooks/index.d.ts +0 -7
  349. package/dist/hooks/index.js +0 -19
  350. package/dist/hooks/useClickOutside/index.d.ts +0 -1
  351. package/dist/hooks/useClickOutside/index.js +0 -4
  352. package/dist/hooks/useClickOutside/useClickOutside.d.ts +0 -7
  353. package/dist/hooks/useClickOutside/useClickOutside.js +0 -16
  354. package/dist/hooks/useCopyToClipboard/index.d.ts +0 -1
  355. package/dist/hooks/useCopyToClipboard/index.js +0 -4
  356. package/dist/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +0 -4
  357. package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +0 -16
  358. package/dist/hooks/useInterval/index.d.ts +0 -1
  359. package/dist/hooks/useInterval/index.js +0 -4
  360. package/dist/hooks/useInterval/useInterval.d.ts +0 -1
  361. package/dist/hooks/useInterval/useInterval.js +0 -15
  362. package/dist/hooks/useLockBodyScroll/index.d.ts +0 -1
  363. package/dist/hooks/useLockBodyScroll/index.js +0 -4
  364. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +0 -6
  365. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +0 -16
  366. package/dist/hooks/useMediaQuery/constants.d.ts +0 -20
  367. package/dist/hooks/useMediaQuery/constants.js +0 -5
  368. package/dist/hooks/useMediaQuery/index.d.ts +0 -2
  369. package/dist/hooks/useMediaQuery/index.js +0 -7
  370. package/dist/hooks/useMediaQuery/useMediaQuery.d.ts +0 -14
  371. package/dist/hooks/useMediaQuery/useMediaQuery.js +0 -16
  372. package/dist/hooks/useMergeRefs/index.d.ts +0 -1
  373. package/dist/hooks/useMergeRefs/index.js +0 -4
  374. package/dist/hooks/useMergeRefs/useMergeRefs.d.ts +0 -4
  375. package/dist/hooks/useMergeRefs/useMergeRefs.js +0 -29
  376. package/dist/hooks/useResizeObserver/getElement.d.ts +0 -4
  377. package/dist/hooks/useResizeObserver/getElement.js +0 -4
  378. package/dist/hooks/useResizeObserver/index.d.ts +0 -1
  379. package/dist/hooks/useResizeObserver/index.js +0 -4
  380. package/dist/hooks/useResizeObserver/useResizeObserver.d.ts +0 -17
  381. package/dist/hooks/useResizeObserver/useResizeObserver.js +0 -36
  382. package/dist/hooks/useTimer/index.d.ts +0 -18
  383. package/dist/hooks/useTimer/index.js +0 -57
  384. package/dist/hooks/useTimer/useTimer.d.ts +0 -18
  385. package/dist/hooks/useTimer/useTimer.js +0 -58
  386. package/dist/hooks/useTimer/utils.d.ts +0 -24
  387. package/dist/hooks/useTimer/utils.js +0 -71
  388. package/dist/hooks/useWindowSize/index.d.ts +0 -4
  389. package/dist/hooks/useWindowSize/index.js +0 -20
  390. package/dist/icons/Icon.d.ts +0 -7
  391. package/dist/icons/Icon.js +0 -10
  392. package/dist/icons/components/12px/Close12px.js +0 -16
  393. package/dist/icons/components/12px/MessageRead12px.js +0 -35
  394. package/dist/icons/components/16px/Accept16px.js +0 -25
  395. package/dist/icons/components/16px/Acts16px.js +0 -38
  396. package/dist/icons/components/16px/Acts16pxF.js +0 -33
  397. package/dist/icons/components/16px/AdditionalServicess16px.js +0 -31
  398. package/dist/icons/components/16px/AdditionalServicess16pxF.js +0 -20
  399. package/dist/icons/components/16px/Agents16px.js +0 -22
  400. package/dist/icons/components/16px/Agents16pxF.js +0 -20
  401. package/dist/icons/components/16px/Alarm16px.js +0 -23
  402. package/dist/icons/components/16px/ArrowDown16px.js +0 -22
  403. package/dist/icons/components/16px/ArrowLeft16px.js +0 -22
  404. package/dist/icons/components/16px/ArrowRight16px.js +0 -22
  405. package/dist/icons/components/16px/ArrowUp16px.js +0 -22
  406. package/dist/icons/components/16px/ArrowUpright16px.js +0 -22
  407. package/dist/icons/components/16px/AttachFile16px.js +0 -22
  408. package/dist/icons/components/16px/Bell16px.js +0 -42
  409. package/dist/icons/components/16px/Bell16pxF.js +0 -32
  410. package/dist/icons/components/16px/Calculator16px.js +0 -22
  411. package/dist/icons/components/16px/CalculatorLkk16px.js +0 -33
  412. package/dist/icons/components/16px/CalculatorLkk16pxF.js +0 -22
  413. package/dist/icons/components/16px/Calendar16px.js +0 -22
  414. package/dist/icons/components/16px/Camera16px.js +0 -34
  415. package/dist/icons/components/16px/Car16px.js +0 -33
  416. package/dist/icons/components/16px/Car16pxF.js +0 -22
  417. package/dist/icons/components/16px/Catalog16px.js +0 -22
  418. package/dist/icons/components/16px/Certs16px.js +0 -31
  419. package/dist/icons/components/16px/Certs16pxF.js +0 -31
  420. package/dist/icons/components/16px/Change16px.js +0 -20
  421. package/dist/icons/components/16px/Chat16px.js +0 -31
  422. package/dist/icons/components/16px/Chat16pxF.js +0 -22
  423. package/dist/icons/components/16px/Chatbot16px.js +0 -262
  424. package/dist/icons/components/16px/Close16px.js +0 -22
  425. package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +0 -20
  426. package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +0 -20
  427. package/dist/icons/components/16px/Coin16px.js +0 -33
  428. package/dist/icons/components/16px/Coin16pxF.js +0 -40
  429. package/dist/icons/components/16px/Contracts16px.js +0 -33
  430. package/dist/icons/components/16px/Contracts16pxF.js +0 -31
  431. package/dist/icons/components/16px/CopyClipboard16px.js +0 -25
  432. package/dist/icons/components/16px/Done16px.js +0 -22
  433. package/dist/icons/components/16px/Download16px.js +0 -29
  434. package/dist/icons/components/16px/DragHandle16px.js +0 -20
  435. package/dist/icons/components/16px/DragHandleHorizontal16px.js +0 -20
  436. package/dist/icons/components/16px/DragHandleVertical16px.js +0 -20
  437. package/dist/icons/components/16px/DropdownArrowBottom16px.js +0 -22
  438. package/dist/icons/components/16px/DropdownArrowLeft16px.js +0 -22
  439. package/dist/icons/components/16px/DropdownArrowRight16px.js +0 -22
  440. package/dist/icons/components/16px/DropdownArrowUp16px.js +0 -22
  441. package/dist/icons/components/16px/Dzen16px.js +0 -20
  442. package/dist/icons/components/16px/Euro16px.js +0 -23
  443. package/dist/icons/components/16px/Eye16px.js +0 -33
  444. package/dist/icons/components/16px/Failure16px.js +0 -25
  445. package/dist/icons/components/16px/Favorite16px.js +0 -22
  446. package/dist/icons/components/16px/Favorite16pxF.js +0 -20
  447. package/dist/icons/components/16px/Filter16px.js +0 -22
  448. package/dist/icons/components/16px/Flag16pxF.js +0 -14
  449. package/dist/icons/components/16px/Folder16px.js +0 -22
  450. package/dist/icons/components/16px/Fullscreen16px.js +0 -22
  451. package/dist/icons/components/16px/Galery16px.js +0 -25
  452. package/dist/icons/components/16px/Gear16px.js +0 -33
  453. package/dist/icons/components/16px/Gift16px.js +0 -31
  454. package/dist/icons/components/16px/Hint16px.js +0 -23
  455. package/dist/icons/components/16px/Home16px.js +0 -31
  456. package/dist/icons/components/16px/Home16pxF.js +0 -22
  457. package/dist/icons/components/16px/Hot16pxF.js +0 -20
  458. package/dist/icons/components/16px/Kebab16px.js +0 -14
  459. package/dist/icons/components/16px/List16px.js +0 -20
  460. package/dist/icons/components/16px/Location16px.js +0 -33
  461. package/dist/icons/components/16px/Map16px.js +0 -22
  462. package/dist/icons/components/16px/Menu16px.js +0 -20
  463. package/dist/icons/components/16px/MenuMobile16px.js +0 -22
  464. package/dist/icons/components/16px/Minus16px.js +0 -14
  465. package/dist/icons/components/16px/Navigation16px.js +0 -22
  466. package/dist/icons/components/16px/News16px.js +0 -31
  467. package/dist/icons/components/16px/News16pxF.js +0 -22
  468. package/dist/icons/components/16px/Number16px.js +0 -31
  469. package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +0 -20
  470. package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +0 -20
  471. package/dist/icons/components/16px/Orders16px.js +0 -31
  472. package/dist/icons/components/16px/Orders16pxF.js +0 -25
  473. package/dist/icons/components/16px/Pause16px.js +0 -14
  474. package/dist/icons/components/16px/Pen16px.js +0 -33
  475. package/dist/icons/components/16px/Pen16pxF.js +0 -22
  476. package/dist/icons/components/16px/Phone16px.js +0 -22
  477. package/dist/icons/components/16px/Play16pxF.js +0 -20
  478. package/dist/icons/components/16px/Plus16px.js +0 -22
  479. package/dist/icons/components/16px/Pound16px.js +0 -23
  480. package/dist/icons/components/16px/PriceDown16px.js +0 -33
  481. package/dist/icons/components/16px/PriceUp16px.js +0 -33
  482. package/dist/icons/components/16px/Question16px.js +0 -22
  483. package/dist/icons/components/16px/Question16pxF.js +0 -22
  484. package/dist/icons/components/16px/Rutube16px.js +0 -20
  485. package/dist/icons/components/16px/Scan16px.js +0 -20
  486. package/dist/icons/components/16px/Search16px.js +0 -22
  487. package/dist/icons/components/16px/Share16pxF.js +0 -20
  488. package/dist/icons/components/16px/ShopingCard16px.js +0 -22
  489. package/dist/icons/components/16px/Sort16px.js +0 -22
  490. package/dist/icons/components/16px/Star16px.js +0 -22
  491. package/dist/icons/components/16px/Star16pxF.js +0 -20
  492. package/dist/icons/components/16px/StarHalf16pxF.js +0 -22
  493. package/dist/icons/components/16px/Telegram16pxF.js +0 -20
  494. package/dist/icons/components/16px/TelegramPlane16pxF.js +0 -20
  495. package/dist/icons/components/16px/Timer16px.js +0 -38
  496. package/dist/icons/components/16px/Trash16px.js +0 -22
  497. package/dist/icons/components/16px/TwinArrowLeft16px.js +0 -20
  498. package/dist/icons/components/16px/TwinArrowRight16px.js +0 -20
  499. package/dist/icons/components/16px/USDollar16px.js +0 -23
  500. package/dist/icons/components/16px/Umbrella16px.js +0 -22
  501. package/dist/icons/components/16px/Umbrella16pxF.js +0 -20
  502. package/dist/icons/components/16px/UnionIcon16px.js +0 -22
  503. package/dist/icons/components/16px/User16px.js +0 -31
  504. package/dist/icons/components/16px/User16pxF.js +0 -20
  505. package/dist/icons/components/16px/Users16px.js +0 -31
  506. package/dist/icons/components/16px/Users16pxF.js +0 -20
  507. package/dist/icons/components/16px/VK16pxF.js +0 -22
  508. package/dist/icons/components/16px/Waiting16px.js +0 -22
  509. package/dist/icons/components/16px/Whatsapp16px.js +0 -31
  510. package/dist/icons/components/16px/WriteUs16px.js +0 -25
  511. package/dist/icons/components/16px/Youtube16pxF.js +0 -20
  512. package/dist/icons/components/16px/Yuan16px.js +0 -23
  513. package/dist/icons/components/24px/Accept24px.js +0 -27
  514. package/dist/icons/components/24px/Acts24px.js +0 -39
  515. package/dist/icons/components/24px/Acts24pxF.js +0 -32
  516. package/dist/icons/components/24px/AdditionalServicess24px.js +0 -32
  517. package/dist/icons/components/24px/AdditionalServicess24pxF.js +0 -21
  518. package/dist/icons/components/24px/Agents24px.js +0 -23
  519. package/dist/icons/components/24px/Agents24pxF.js +0 -30
  520. package/dist/icons/components/24px/Alarm24px.js +0 -24
  521. package/dist/icons/components/24px/ArrowDown24px.js +0 -23
  522. package/dist/icons/components/24px/ArrowLeft24px.js +0 -23
  523. package/dist/icons/components/24px/ArrowRight24px.js +0 -23
  524. package/dist/icons/components/24px/ArrowUp24px.js +0 -23
  525. package/dist/icons/components/24px/ArrowUpright24px.js +0 -23
  526. package/dist/icons/components/24px/AttachFile24px.js +0 -23
  527. package/dist/icons/components/24px/Bell24px.js +0 -43
  528. package/dist/icons/components/24px/Bell24pxF.js +0 -26
  529. package/dist/icons/components/24px/Calculator24px.js +0 -23
  530. package/dist/icons/components/24px/CalculatorLkk24px.js +0 -32
  531. package/dist/icons/components/24px/CalculatorLkk24pxF.js +0 -23
  532. package/dist/icons/components/24px/Calendar24px.js +0 -23
  533. package/dist/icons/components/24px/Camera24px.js +0 -23
  534. package/dist/icons/components/24px/Car24px.js +0 -34
  535. package/dist/icons/components/24px/Car24pxF.js +0 -32
  536. package/dist/icons/components/24px/Catalog24px.js +0 -23
  537. package/dist/icons/components/24px/Certs24px.js +0 -32
  538. package/dist/icons/components/24px/Certs24pxF.js +0 -32
  539. package/dist/icons/components/24px/Change24px.js +0 -23
  540. package/dist/icons/components/24px/Chat24px.js +0 -28
  541. package/dist/icons/components/24px/Chat24pxF.js +0 -23
  542. package/dist/icons/components/24px/Chatbot24px.js +0 -263
  543. package/dist/icons/components/24px/Close24px.js +0 -23
  544. package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +0 -23
  545. package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +0 -21
  546. package/dist/icons/components/24px/Coin24px.js +0 -24
  547. package/dist/icons/components/24px/Coin24pxF.js +0 -41
  548. package/dist/icons/components/24px/Contracts24px.js +0 -34
  549. package/dist/icons/components/24px/Contracts24pxF.js +0 -32
  550. package/dist/icons/components/24px/CopyClipboard24px.js +0 -26
  551. package/dist/icons/components/24px/Done24px.js +0 -23
  552. package/dist/icons/components/24px/Download24px.js +0 -30
  553. package/dist/icons/components/24px/DragHandle24px.js +0 -21
  554. package/dist/icons/components/24px/DragHandleHorizontal24px.js +0 -21
  555. package/dist/icons/components/24px/DragHandleVertical24px.js +0 -21
  556. package/dist/icons/components/24px/DropdownArrowDown24px.js +0 -23
  557. package/dist/icons/components/24px/DropdownArrowLeft24px.js +0 -23
  558. package/dist/icons/components/24px/DropdownArrowRight24px.js +0 -23
  559. package/dist/icons/components/24px/DropdownArrowUp24px.js +0 -23
  560. package/dist/icons/components/24px/Dzen24px.js +0 -21
  561. package/dist/icons/components/24px/Euro24px.js +0 -24
  562. package/dist/icons/components/24px/Eye24px.js +0 -34
  563. package/dist/icons/components/24px/Failure24px.js +0 -26
  564. package/dist/icons/components/24px/Favorite24px.js +0 -23
  565. package/dist/icons/components/24px/Favorite24pxF.js +0 -21
  566. package/dist/icons/components/24px/Filter24px.js +0 -21
  567. package/dist/icons/components/24px/Flag24pxF.js +0 -15
  568. package/dist/icons/components/24px/Folder24px.js +0 -23
  569. package/dist/icons/components/24px/Fullscreen24px.js +0 -23
  570. package/dist/icons/components/24px/Galery24px.js +0 -26
  571. package/dist/icons/components/24px/Gear24px.js +0 -34
  572. package/dist/icons/components/24px/Gift24px.js +0 -23
  573. package/dist/icons/components/24px/Hint24px.js +0 -26
  574. package/dist/icons/components/24px/Home24px.js +0 -34
  575. package/dist/icons/components/24px/Home24pxF.js +0 -23
  576. package/dist/icons/components/24px/Hot24pxF.js +0 -21
  577. package/dist/icons/components/24px/Improvements24px.js +0 -41
  578. package/dist/icons/components/24px/Improvements24pxF.js +0 -35
  579. package/dist/icons/components/24px/Kebab24px.js +0 -21
  580. package/dist/icons/components/24px/List24px.js +0 -21
  581. package/dist/icons/components/24px/Location24px.js +0 -34
  582. package/dist/icons/components/24px/Map24px.js +0 -23
  583. package/dist/icons/components/24px/Menu24px.js +0 -21
  584. package/dist/icons/components/24px/MenuMobile24px.js +0 -23
  585. package/dist/icons/components/24px/Minus24px.js +0 -23
  586. package/dist/icons/components/24px/Navigation24px.js +0 -23
  587. package/dist/icons/components/24px/News24px.js +0 -32
  588. package/dist/icons/components/24px/News24pxF.js +0 -23
  589. package/dist/icons/components/24px/Number24px.js +0 -32
  590. package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +0 -21
  591. package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +0 -23
  592. package/dist/icons/components/24px/Orders24px.js +0 -32
  593. package/dist/icons/components/24px/Orders24pxF.js +0 -26
  594. package/dist/icons/components/24px/Pause24px.js +0 -15
  595. package/dist/icons/components/24px/Pen24px.js +0 -34
  596. package/dist/icons/components/24px/Pen24pxF.js +0 -23
  597. package/dist/icons/components/24px/Phone24px.js +0 -23
  598. package/dist/icons/components/24px/Play24px.js +0 -21
  599. package/dist/icons/components/24px/Plus24px.js +0 -23
  600. package/dist/icons/components/24px/Pound24px.js +0 -24
  601. package/dist/icons/components/24px/PriceDown24px.js +0 -32
  602. package/dist/icons/components/24px/PriceUp24px.js +0 -32
  603. package/dist/icons/components/24px/Question24px.js +0 -32
  604. package/dist/icons/components/24px/Question24pxF.js +0 -23
  605. package/dist/icons/components/24px/Rutube24px.js +0 -21
  606. package/dist/icons/components/24px/Scan24px.js +0 -21
  607. package/dist/icons/components/24px/Search24px.js +0 -23
  608. package/dist/icons/components/24px/Share24pxF.js +0 -21
  609. package/dist/icons/components/24px/ShopingCard24px.js +0 -23
  610. package/dist/icons/components/24px/Sort24px.js +0 -21
  611. package/dist/icons/components/24px/Star24px.js +0 -23
  612. package/dist/icons/components/24px/Star24pxF.js +0 -21
  613. package/dist/icons/components/24px/StarHalf24pxF.js +0 -23
  614. package/dist/icons/components/24px/Telegram24pxF.js +0 -21
  615. package/dist/icons/components/24px/TelegramPlane24pxF.js +0 -21
  616. package/dist/icons/components/24px/Timer24px.js +0 -39
  617. package/dist/icons/components/24px/Trash24px.js +0 -43
  618. package/dist/icons/components/24px/TwinArrowLeft24px.js +0 -21
  619. package/dist/icons/components/24px/TwinArrowRight24px.js +0 -23
  620. package/dist/icons/components/24px/USDollar24px.js +0 -24
  621. package/dist/icons/components/24px/Umbrella24px.js +0 -23
  622. package/dist/icons/components/24px/Umbrella24pxF.js +0 -21
  623. package/dist/icons/components/24px/UnionIcon24px.js +0 -23
  624. package/dist/icons/components/24px/User24px.js +0 -32
  625. package/dist/icons/components/24px/User24pxF.js +0 -21
  626. package/dist/icons/components/24px/Users24px.js +0 -23
  627. package/dist/icons/components/24px/Users24pxF.js +0 -30
  628. package/dist/icons/components/24px/VK24pxF.js +0 -23
  629. package/dist/icons/components/24px/Waiting24px.js +0 -23
  630. package/dist/icons/components/24px/Whatsapp24px.js +0 -32
  631. package/dist/icons/components/24px/WriteUs24px.js +0 -26
  632. package/dist/icons/components/24px/Youtube24pxF.js +0 -21
  633. package/dist/icons/components/24px/Yuan24px.js +0 -24
  634. package/dist/icons/components/32px/Accept32px.js +0 -26
  635. package/dist/icons/components/32px/Acts32px.js +0 -39
  636. package/dist/icons/components/32px/AdditionalServicess32px.js +0 -23
  637. package/dist/icons/components/32px/AdditionalServicess32pxF.js +0 -21
  638. package/dist/icons/components/32px/Agents32px.js +0 -35
  639. package/dist/icons/components/32px/Alarm32px.js +0 -24
  640. package/dist/icons/components/32px/ArrowDown32px.js +0 -23
  641. package/dist/icons/components/32px/ArrowLeft32px.js +0 -23
  642. package/dist/icons/components/32px/ArrowRight32px.js +0 -23
  643. package/dist/icons/components/32px/ArrowUp32px.js +0 -23
  644. package/dist/icons/components/32px/ArrowUpright32px.js +0 -23
  645. package/dist/icons/components/32px/AttachFile32px.js +0 -23
  646. package/dist/icons/components/32px/Bell32px.js +0 -43
  647. package/dist/icons/components/32px/Bell32pxF.js +0 -26
  648. package/dist/icons/components/32px/Calculator32px.js +0 -23
  649. package/dist/icons/components/32px/CalculatorLkk32px.js +0 -32
  650. package/dist/icons/components/32px/CalculatorLkk32pxF.js +0 -23
  651. package/dist/icons/components/32px/Calendar32px.js +0 -23
  652. package/dist/icons/components/32px/Camera32px.js +0 -35
  653. package/dist/icons/components/32px/Car32px.js +0 -34
  654. package/dist/icons/components/32px/Car32pxF.js +0 -26
  655. package/dist/icons/components/32px/Catalog32px.js +0 -23
  656. package/dist/icons/components/32px/Certs32px.js +0 -32
  657. package/dist/icons/components/32px/Certs32pxF.js +0 -32
  658. package/dist/icons/components/32px/Change32px.js +0 -23
  659. package/dist/icons/components/32px/Chat32px.js +0 -32
  660. package/dist/icons/components/32px/Chat32pxF.js +0 -23
  661. package/dist/icons/components/32px/Chatbot32px.js +0 -263
  662. package/dist/icons/components/32px/Close32px.js +0 -23
  663. package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +0 -21
  664. package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +0 -21
  665. package/dist/icons/components/32px/Coin32px.js +0 -34
  666. package/dist/icons/components/32px/Coin32pxF.js +0 -32
  667. package/dist/icons/components/32px/Contracts32px.js +0 -34
  668. package/dist/icons/components/32px/Contracts32pxF.js +0 -32
  669. package/dist/icons/components/32px/CopyClipboard32px.js +0 -32
  670. package/dist/icons/components/32px/Done32px.js +0 -23
  671. package/dist/icons/components/32px/Download32px.js +0 -30
  672. package/dist/icons/components/32px/DragHandle32px.js +0 -21
  673. package/dist/icons/components/32px/DragHandleHorizontal32px.js +0 -21
  674. package/dist/icons/components/32px/DragHandleVertical32px.js +0 -21
  675. package/dist/icons/components/32px/DropdownArrowDown32px.js +0 -23
  676. package/dist/icons/components/32px/DropdownArrowLeft32px.js +0 -23
  677. package/dist/icons/components/32px/DropdownArrowRight32px.js +0 -23
  678. package/dist/icons/components/32px/DropdownArrowUp32px.js +0 -15
  679. package/dist/icons/components/32px/Dzen32px.js +0 -21
  680. package/dist/icons/components/32px/Euro32px.js +0 -24
  681. package/dist/icons/components/32px/Eye32px.js +0 -34
  682. package/dist/icons/components/32px/Failure32px.js +0 -26
  683. package/dist/icons/components/32px/Favorite32px.js +0 -23
  684. package/dist/icons/components/32px/Favorite32pxF.js +0 -21
  685. package/dist/icons/components/32px/Filter32px.js +0 -21
  686. package/dist/icons/components/32px/Flag32pxF.js +0 -15
  687. package/dist/icons/components/32px/Folder32px.js +0 -23
  688. package/dist/icons/components/32px/Fullscreen32px.js +0 -23
  689. package/dist/icons/components/32px/Galery32px.js +0 -26
  690. package/dist/icons/components/32px/Gear32px.js +0 -34
  691. package/dist/icons/components/32px/Gift32px.js +0 -23
  692. package/dist/icons/components/32px/Hint32px.js +0 -26
  693. package/dist/icons/components/32px/Home32px.js +0 -26
  694. package/dist/icons/components/32px/Home32pxF.js +0 -23
  695. package/dist/icons/components/32px/Hot32pxF.js +0 -21
  696. package/dist/icons/components/32px/Kebab32px.js +0 -15
  697. package/dist/icons/components/32px/List32px.js +0 -21
  698. package/dist/icons/components/32px/Location32px.js +0 -34
  699. package/dist/icons/components/32px/Map32px.js +0 -23
  700. package/dist/icons/components/32px/Menu32px.js +0 -21
  701. package/dist/icons/components/32px/MenuMobile32px.js +0 -23
  702. package/dist/icons/components/32px/Minus32px.js +0 -23
  703. package/dist/icons/components/32px/Navigation32px.js +0 -23
  704. package/dist/icons/components/32px/News32px.js +0 -32
  705. package/dist/icons/components/32px/News32pxF.js +0 -23
  706. package/dist/icons/components/32px/Number32px.js +0 -32
  707. package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +0 -21
  708. package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +0 -23
  709. package/dist/icons/components/32px/Orders32px.js +0 -41
  710. package/dist/icons/components/32px/Orders32pxF.js +0 -32
  711. package/dist/icons/components/32px/Pause32px.js +0 -15
  712. package/dist/icons/components/32px/Pen32px.js +0 -22
  713. package/dist/icons/components/32px/Pen32pxF.js +0 -23
  714. package/dist/icons/components/32px/PersonalManager32px.js +0 -110
  715. package/dist/icons/components/32px/Phone32px.js +0 -21
  716. package/dist/icons/components/32px/Play32px.js +0 -21
  717. package/dist/icons/components/32px/Plus32px.js +0 -23
  718. package/dist/icons/components/32px/Pound32px.js +0 -24
  719. package/dist/icons/components/32px/PriceDown32px.js +0 -43
  720. package/dist/icons/components/32px/PriceUp32px.js +0 -34
  721. package/dist/icons/components/32px/Question32px.js +0 -32
  722. package/dist/icons/components/32px/Question32pxF.js +0 -23
  723. package/dist/icons/components/32px/Rutube32px.js +0 -21
  724. package/dist/icons/components/32px/Scan32px.js +0 -21
  725. package/dist/icons/components/32px/Search32px.js +0 -23
  726. package/dist/icons/components/32px/Share32pxF.js +0 -21
  727. package/dist/icons/components/32px/ShopimgCard32px.js +0 -23
  728. package/dist/icons/components/32px/Sort32px.js +0 -21
  729. package/dist/icons/components/32px/Star32px.js +0 -23
  730. package/dist/icons/components/32px/Star32pxF.js +0 -21
  731. package/dist/icons/components/32px/StarHalf32pxF.js +0 -23
  732. package/dist/icons/components/32px/Telegram32pxF.js +0 -21
  733. package/dist/icons/components/32px/TelegramPlane32pxF.js +0 -21
  734. package/dist/icons/components/32px/Timer32px.js +0 -33
  735. package/dist/icons/components/32px/Trash32px.js +0 -43
  736. package/dist/icons/components/32px/TwinArrowLeft32px.js +0 -21
  737. package/dist/icons/components/32px/TwinArrowRight32px.js +0 -21
  738. package/dist/icons/components/32px/USDollar32px.js +0 -24
  739. package/dist/icons/components/32px/Umbrella32px.js +0 -23
  740. package/dist/icons/components/32px/Umbrella32pxF.js +0 -23
  741. package/dist/icons/components/32px/UnionIcon32px.js +0 -23
  742. package/dist/icons/components/32px/User32px.js +0 -32
  743. package/dist/icons/components/32px/User32pxF.js +0 -21
  744. package/dist/icons/components/32px/Users32px.js +0 -23
  745. package/dist/icons/components/32px/Users32pxF.js +0 -24
  746. package/dist/icons/components/32px/VK32pxF.js +0 -23
  747. package/dist/icons/components/32px/Waiting32px.js +0 -23
  748. package/dist/icons/components/32px/Whatsapp32px.js +0 -32
  749. package/dist/icons/components/32px/WriteUs32px.js +0 -26
  750. package/dist/icons/components/32px/Youtube32pxF.js +0 -21
  751. package/dist/icons/components/32px/Yuan32px.js +0 -24
  752. package/dist/icons/components/Mans.js +0 -21
  753. package/dist/icons/components/Step.js +0 -22
  754. package/dist/icons/components/StepXL.js +0 -32
  755. package/dist/icons/components/auto-logo/ACE.js +0 -21
  756. package/dist/icons/components/auto-logo/Alim.js +0 -23
  757. package/dist/icons/components/auto-logo/Amur.js +0 -23
  758. package/dist/icons/components/auto-logo/Ankai.js +0 -23
  759. package/dist/icons/components/auto-logo/ArrowLength.js +0 -21
  760. package/dist/icons/components/auto-logo/Audi.js +0 -20
  761. package/dist/icons/components/auto-logo/BMW.js +0 -41
  762. package/dist/icons/components/auto-logo/BRP.js +0 -32
  763. package/dist/icons/components/auto-logo/Bomag.js +0 -32
  764. package/dist/icons/components/auto-logo/Case.js +0 -23
  765. package/dist/icons/components/auto-logo/Caterpillar.js +0 -37
  766. package/dist/icons/components/auto-logo/ChMZAP.js +0 -46
  767. package/dist/icons/components/auto-logo/ChTZ.js +0 -32
  768. package/dist/icons/components/auto-logo/Changan.js +0 -21
  769. package/dist/icons/components/auto-logo/Cherry.js +0 -32
  770. package/dist/icons/components/auto-logo/Citroen.js +0 -23
  771. package/dist/icons/components/auto-logo/DaewooFull.js +0 -58
  772. package/dist/icons/components/auto-logo/DaewooSymbol.js +0 -51
  773. package/dist/icons/components/auto-logo/Daf.js +0 -23
  774. package/dist/icons/components/auto-logo/Dayun.js +0 -23
  775. package/dist/icons/components/auto-logo/DongFeng.js +0 -23
  776. package/dist/icons/components/auto-logo/Ducati.js +0 -32
  777. package/dist/icons/components/auto-logo/Exeed.js +0 -32
  778. package/dist/icons/components/auto-logo/Faw.js +0 -34
  779. package/dist/icons/components/auto-logo/Fenix.js +0 -114
  780. package/dist/icons/components/auto-logo/Fiat.js +0 -37
  781. package/dist/icons/components/auto-logo/Ford.js +0 -41
  782. package/dist/icons/components/auto-logo/Foton.js +0 -32
  783. package/dist/icons/components/auto-logo/Gac.js +0 -21
  784. package/dist/icons/components/auto-logo/Gaz.js +0 -59
  785. package/dist/icons/components/auto-logo/Geely.js +0 -25
  786. package/dist/icons/components/auto-logo/Genesis.js +0 -30
  787. package/dist/icons/components/auto-logo/Gitte.js +0 -23
  788. package/dist/icons/components/auto-logo/Grunwald.js +0 -23
  789. package/dist/icons/components/auto-logo/HartungFull.js +0 -32
  790. package/dist/icons/components/auto-logo/HartungSymbol.js +0 -32
  791. package/dist/icons/components/auto-logo/Haval.js +0 -23
  792. package/dist/icons/components/auto-logo/Higer.js +0 -23
  793. package/dist/icons/components/auto-logo/Hitachi.js +0 -21
  794. package/dist/icons/components/auto-logo/Honda.js +0 -37
  795. package/dist/icons/components/auto-logo/Hongqi.js +0 -30
  796. package/dist/icons/components/auto-logo/Hongyan.js +0 -23
  797. package/dist/icons/components/auto-logo/Howo.js +0 -46
  798. package/dist/icons/components/auto-logo/Hyundai.js +0 -23
  799. package/dist/icons/components/auto-logo/Infiniti.js +0 -21
  800. package/dist/icons/components/auto-logo/Isuzu.js +0 -23
  801. package/dist/icons/components/auto-logo/Iveco.js +0 -23
  802. package/dist/icons/components/auto-logo/JCB.js +0 -32
  803. package/dist/icons/components/auto-logo/Jac.js +0 -21
  804. package/dist/icons/components/auto-logo/Juterborg.js +0 -57
  805. package/dist/icons/components/auto-logo/KIA.js +0 -23
  806. package/dist/icons/components/auto-logo/Kaiyi.js +0 -23
  807. package/dist/icons/components/auto-logo/Kamaz.js +0 -35
  808. package/dist/icons/components/auto-logo/Kassbohrer.js +0 -23
  809. package/dist/icons/components/auto-logo/Komatsu.js +0 -21
  810. package/dist/icons/components/auto-logo/Ktm.js +0 -21
  811. package/dist/icons/components/auto-logo/LCCE.js +0 -37
  812. package/dist/icons/components/auto-logo/Lada.js +0 -23
  813. package/dist/icons/components/auto-logo/Lexus.js +0 -23
  814. package/dist/icons/components/auto-logo/LiuGong.js +0 -30
  815. package/dist/icons/components/auto-logo/Lonking.js +0 -30
  816. package/dist/icons/components/auto-logo/Lovol.js +0 -21
  817. package/dist/icons/components/auto-logo/MTZBelarus.js +0 -34
  818. package/dist/icons/components/auto-logo/Man.js +0 -21
  819. package/dist/icons/components/auto-logo/Maz.js +0 -32
  820. package/dist/icons/components/auto-logo/MercedesBenz.js +0 -23
  821. package/dist/icons/components/auto-logo/Meusburger.js +0 -23
  822. package/dist/icons/components/auto-logo/Mitsubishi.js +0 -21
  823. package/dist/icons/components/auto-logo/NefAZ.js +0 -30
  824. package/dist/icons/components/auto-logo/NursanTrailer.js +0 -21
  825. package/dist/icons/components/auto-logo/Omoda.js +0 -37
  826. package/dist/icons/components/auto-logo/PSATss.js +0 -37
  827. package/dist/icons/components/auto-logo/Paz.js +0 -23
  828. package/dist/icons/components/auto-logo/Peugeot.js +0 -21
  829. package/dist/icons/components/auto-logo/Raskat.js +0 -37
  830. package/dist/icons/components/auto-logo/Renault.js +0 -30
  831. package/dist/icons/components/auto-logo/RussianCarsEmblem.js +0 -32
  832. package/dist/icons/components/auto-logo/RussianCarsKremlin.js +0 -41
  833. package/dist/icons/components/auto-logo/Sany.js +0 -50
  834. package/dist/icons/components/auto-logo/Scania.js +0 -57
  835. package/dist/icons/components/auto-logo/Schmitz.js +0 -23
  836. package/dist/icons/components/auto-logo/Shacman.js +0 -30
  837. package/dist/icons/components/auto-logo/Shantui.js +0 -21
  838. package/dist/icons/components/auto-logo/Sinanli.js +0 -71
  839. package/dist/icons/components/auto-logo/Sitrak.js +0 -34
  840. package/dist/icons/components/auto-logo/SobolIztechmash.js +0 -60
  841. package/dist/icons/components/auto-logo/Sokol.js +0 -21
  842. package/dist/icons/components/auto-logo/Sollers.js +0 -23
  843. package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +0 -21
  844. package/dist/icons/components/auto-logo/Tonar.js +0 -23
  845. package/dist/icons/components/auto-logo/Toyota.js +0 -21
  846. package/dist/icons/components/auto-logo/Trekol.js +0 -34
  847. package/dist/icons/components/auto-logo/UAT.js +0 -21
  848. package/dist/icons/components/auto-logo/Uaz.js +0 -70
  849. package/dist/icons/components/auto-logo/Ural.js +0 -21
  850. package/dist/icons/components/auto-logo/VIS.js +0 -21
  851. package/dist/icons/components/auto-logo/VKR.js +0 -32
  852. package/dist/icons/components/auto-logo/Volkswagen.js +0 -23
  853. package/dist/icons/components/auto-logo/Volvo.js +0 -21
  854. package/dist/icons/components/auto-logo/Wielton.js +0 -21
  855. package/dist/icons/components/auto-logo/XCMG.js +0 -37
  856. package/dist/icons/components/auto-logo/Yutong.js +0 -72
  857. package/dist/icons/components/auto-logo/Zoomlion.js +0 -21
  858. package/dist/icons/components/car-icons/AllMetal.js +0 -32
  859. package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +0 -32
  860. package/dist/icons/components/car-icons/AsphaltPaver.js +0 -35
  861. package/dist/icons/components/car-icons/Autotower.js +0 -32
  862. package/dist/icons/components/car-icons/Awning.js +0 -33
  863. package/dist/icons/components/car-icons/BackhoeLoader.js +0 -39
  864. package/dist/icons/components/car-icons/Buggy.js +0 -32
  865. package/dist/icons/components/car-icons/Bulldozer.js +0 -34
  866. package/dist/icons/components/car-icons/Bus.js +0 -23
  867. package/dist/icons/components/car-icons/BusBus.js +0 -32
  868. package/dist/icons/components/car-icons/BusMinibus.js +0 -32
  869. package/dist/icons/components/car-icons/BusShiftBuses.js +0 -42
  870. package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +0 -39
  871. package/dist/icons/components/car-icons/CargoAutotower.js +0 -32
  872. package/dist/icons/components/car-icons/CargoAwning.js +0 -39
  873. package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +0 -39
  874. package/dist/icons/components/car-icons/CargoDrillingRig.js +0 -32
  875. package/dist/icons/components/car-icons/CargoDumpTruck.js +0 -39
  876. package/dist/icons/components/car-icons/CargoGarbageTruck.js +0 -39
  877. package/dist/icons/components/car-icons/CargoGrainCarrier.js +0 -39
  878. package/dist/icons/components/car-icons/CargoIsothermal.js +0 -39
  879. package/dist/icons/components/car-icons/CargoOnBoard.js +0 -39
  880. package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +0 -39
  881. package/dist/icons/components/car-icons/CargoPromotionalItem.js +0 -39
  882. package/dist/icons/components/car-icons/CargoSortingTruck.js +0 -39
  883. package/dist/icons/components/car-icons/CargoTankerTruck.js +0 -39
  884. package/dist/icons/components/car-icons/CargoTowTruck.js +0 -32
  885. package/dist/icons/components/car-icons/CargoTruckCrane.js +0 -41
  886. package/dist/icons/components/car-icons/CargoVacuumMachine.js +0 -32
  887. package/dist/icons/components/car-icons/Clearance.js +0 -23
  888. package/dist/icons/components/car-icons/CombineHarvester.js +0 -39
  889. package/dist/icons/components/car-icons/Compartment.js +0 -32
  890. package/dist/icons/components/car-icons/ConcreteMixerTruck.js +0 -39
  891. package/dist/icons/components/car-icons/ConcretePump.js +0 -40
  892. package/dist/icons/components/car-icons/Crossover.js +0 -32
  893. package/dist/icons/components/car-icons/DrillingRigg.js +0 -32
  894. package/dist/icons/components/car-icons/DumpTruck.js +0 -39
  895. package/dist/icons/components/car-icons/Excavator.js +0 -23
  896. package/dist/icons/components/car-icons/ForestPreparationEquipment.js +0 -39
  897. package/dist/icons/components/car-icons/ForkliftTruck.js +0 -32
  898. package/dist/icons/components/car-icons/FrontLoader.js +0 -39
  899. package/dist/icons/components/car-icons/Hatchback.js +0 -32
  900. package/dist/icons/components/car-icons/IceRink.js +0 -34
  901. package/dist/icons/components/car-icons/Isothermal.js +0 -39
  902. package/dist/icons/components/car-icons/Liftback.js +0 -23
  903. package/dist/icons/components/car-icons/MiniEscalator.js +0 -41
  904. package/dist/icons/components/car-icons/MiniLoader.js +0 -32
  905. package/dist/icons/components/car-icons/MiningDumpTruck.js +0 -39
  906. package/dist/icons/components/car-icons/Minitractor.js +0 -32
  907. package/dist/icons/components/car-icons/Minivan.js +0 -32
  908. package/dist/icons/components/car-icons/MotorGrader.js +0 -32
  909. package/dist/icons/components/car-icons/MotorVehiclesBike.js +0 -24
  910. package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +0 -30
  911. package/dist/icons/components/car-icons/OffRoadVehicle.js +0 -32
  912. package/dist/icons/components/car-icons/OnBoard.js +0 -39
  913. package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +0 -39
  914. package/dist/icons/components/car-icons/OnBoardWithCmu.js +0 -39
  915. package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +0 -48
  916. package/dist/icons/components/car-icons/OtherCareerTechniques.js +0 -39
  917. package/dist/icons/components/car-icons/Pickup.js +0 -23
  918. package/dist/icons/components/car-icons/PickupTruck.js +0 -32
  919. package/dist/icons/components/car-icons/PilingInstallation.js +0 -34
  920. package/dist/icons/components/car-icons/PromotionalItem.js +0 -39
  921. package/dist/icons/components/car-icons/PublicUtilityVehicle.js +0 -46
  922. package/dist/icons/components/car-icons/QuarryExcavator.js +0 -26
  923. package/dist/icons/components/car-icons/Scooter.js +0 -30
  924. package/dist/icons/components/car-icons/Sedan.js +0 -32
  925. package/dist/icons/components/car-icons/Snowmobile.js +0 -39
  926. package/dist/icons/components/car-icons/TankerTruck.js +0 -39
  927. package/dist/icons/components/car-icons/TelescopicLoader.js +0 -32
  928. package/dist/icons/components/car-icons/TheLift.js +0 -37
  929. package/dist/icons/components/car-icons/TowTruck.js +0 -32
  930. package/dist/icons/components/car-icons/Tractor.js +0 -32
  931. package/dist/icons/components/car-icons/TractorTruck.js +0 -39
  932. package/dist/icons/components/car-icons/Trailerr.js +0 -23
  933. package/dist/icons/components/car-icons/TrailersCarCarrier.js +0 -41
  934. package/dist/icons/components/car-icons/TrailersCattleTruck.js +0 -32
  935. package/dist/icons/components/car-icons/TrailersContainerShip.js +0 -40
  936. package/dist/icons/components/car-icons/TrailersCurtainSide.js +0 -39
  937. package/dist/icons/components/car-icons/TrailersDumpTruck.js +0 -39
  938. package/dist/icons/components/car-icons/TrailersGrainTruck.js +0 -39
  939. package/dist/icons/components/car-icons/TrailersHeavyTruck.js +0 -39
  940. package/dist/icons/components/car-icons/TrailersIsothermal.js +0 -39
  941. package/dist/icons/components/car-icons/TrailersOther.js +0 -39
  942. package/dist/icons/components/car-icons/TrailersTankerTruck.js +0 -39
  943. package/dist/icons/components/car-icons/TruckCrane.js +0 -41
  944. package/dist/icons/components/car-icons/Universal.js +0 -32
  945. package/dist/icons/components/car-icons/Van.js +0 -23
  946. package/dist/icons/components/car-icons/Ycles.js +0 -42
  947. package/dist/icons/components/car-parameters-icons/Acceleration.js +0 -32
  948. package/dist/icons/components/car-parameters-icons/Berths.js +0 -37
  949. package/dist/icons/components/car-parameters-icons/Bucket.js +0 -21
  950. package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +0 -23
  951. package/dist/icons/components/car-parameters-icons/BucketVolume.js +0 -30
  952. package/dist/icons/components/car-parameters-icons/CabinTurn.js +0 -32
  953. package/dist/icons/components/car-parameters-icons/CarBodySize.js +0 -32
  954. package/dist/icons/components/car-parameters-icons/CarBodyType.js +0 -23
  955. package/dist/icons/components/car-parameters-icons/CarColor.js +0 -32
  956. package/dist/icons/components/car-parameters-icons/Cylinders.js +0 -35
  957. package/dist/icons/components/car-parameters-icons/Dimensions.js +0 -32
  958. package/dist/icons/components/car-parameters-icons/EngineType.js +0 -21
  959. package/dist/icons/components/car-parameters-icons/FuelConsumption.js +0 -21
  960. package/dist/icons/components/car-parameters-icons/GearType.js +0 -24
  961. package/dist/icons/components/car-parameters-icons/LiftingHeight.js +0 -21
  962. package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +0 -23
  963. package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +0 -23
  964. package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +0 -21
  965. package/dist/icons/components/car-parameters-icons/TrailerType.js +0 -30
  966. package/dist/icons/components/car-parameters-icons/UnloadingType.js +0 -30
  967. package/dist/icons/components/car-parameters-icons/Weight.js +0 -34
  968. package/dist/icons/components/car-parameters-icons/WheelDriveType.js +0 -30
  969. package/dist/icons/components/car-parameters-icons/WheelSheme.js +0 -32
  970. package/dist/icons/components/cars-stubus/Bike.js +0 -23
  971. package/dist/icons/components/cars-stubus/Car.js +0 -23
  972. package/dist/icons/components/cars-stubus/Equipment.js +0 -23
  973. package/dist/icons/components/cars-stubus/Truck.js +0 -23
  974. package/dist/icons/components/index.js +0 -584
  975. package/dist/icons/index.d.ts +0 -2
  976. package/dist/icons/index.js +0 -4
  977. package/dist/index-BuVUKy18.js +0 -2658
  978. package/dist/index-DIxK0V-G.js +0 -44
  979. package/dist/index.d.ts +0 -6
  980. package/dist/index.js +0 -188
  981. package/dist/keyboard-B0lm_zyn.js +0 -573
  982. package/dist/label-y3ANLTNC.js +0 -171
  983. package/dist/open-closed-CdldUPoq.js +0 -86
  984. package/dist/portal-WDFNoIMz.js +0 -1908
  985. package/dist/styles.module-BlOA4RBL.js +0 -28
  986. package/dist/types/index.d.ts +0 -1
  987. package/dist/types/index.js +0 -1
  988. package/dist/types/propsWithAs.d.ts +0 -15
  989. package/dist/types/propsWithAs.js +0 -1
  990. package/dist/use-active-press-86hajhdd.js +0 -31
  991. package/dist/use-by-comparator-CVuf9KBq.js +0 -16
  992. package/dist/use-resolve-button-type-DhFdPxnv.js +0 -12
  993. package/dist/utils/UUID4.d.ts +0 -1
  994. package/dist/utils/UUID4.js +0 -9
  995. package/dist/utils/formating/Date.d.ts +0 -2
  996. package/dist/utils/formating/Date.js +0 -24
  997. package/dist/utils/formating/FileSize.d.ts +0 -1
  998. package/dist/utils/formating/FileSize.js +0 -12
  999. package/dist/utils/formating/Month.d.ts +0 -8
  1000. package/dist/utils/formating/Month.js +0 -79
  1001. package/dist/utils/formating/Numbers.d.ts +0 -6
  1002. package/dist/utils/formating/Numbers.js +0 -8
  1003. package/dist/utils/index.d.ts +0 -14
  1004. package/dist/utils/index.js +0 -17
  1005. package/dist/variant.module-BXn4N1h0.js +0 -12
@@ -1,1908 +0,0 @@
1
- import * as v from "react";
2
- import He, { useReducer as $t, useMemo as _, useSyncExternalStore as Dt, useId as Ft, useEffect as Y, useCallback as st, useRef as oe, useLayoutEffect as ct, createContext as me, useContext as X, useState as te, Fragment as at } from "react";
3
- import { n as j, s as ge, d as Ne, u as Ht, o as ae, p as Nt, t as It, e as ce, W as Ie, y as We, T as Wt, H as ke } from "./keyboard-B0lm_zyn.js";
4
- import { A as kt, h as Vt } from "./focus-management-DE4t_lW3.js";
5
- import * as ue from "react-dom";
6
- import { createPortal as Bt } from "react-dom";
7
- function _t(e) {
8
- if (e === null) return { width: 0, height: 0 };
9
- let { width: t, height: o } = e.getBoundingClientRect();
10
- return { width: t, height: o };
11
- }
12
- function Oo(e, t = !1) {
13
- let [o, n] = $t(() => ({}), {}), r = _(() => _t(e), [e, o]);
14
- return j(() => {
15
- if (!e) return;
16
- let i = new ResizeObserver(n);
17
- return i.observe(e), () => {
18
- i.disconnect();
19
- };
20
- }, [e]), t ? { width: `${r.width}px`, height: `${r.height}px` } : r;
21
- }
22
- let Yt = class extends Map {
23
- constructor(t) {
24
- super(), this.factory = t;
25
- }
26
- get(t) {
27
- let o = super.get(t);
28
- return o === void 0 && (o = this.factory(t), this.set(t, o)), o;
29
- }
30
- };
31
- function ut(e, t) {
32
- let o = e(), n = /* @__PURE__ */ new Set();
33
- return { getSnapshot() {
34
- return o;
35
- }, subscribe(r) {
36
- return n.add(r), () => n.delete(r);
37
- }, dispatch(r, ...i) {
38
- let l = t[r].call(o, ...i);
39
- l && (o = l, n.forEach((c) => c()));
40
- } };
41
- }
42
- function ft(e) {
43
- return Dt(e.subscribe, e.getSnapshot, e.getSnapshot);
44
- }
45
- let jt = new Yt(() => ut(() => [], { ADD(e) {
46
- return this.includes(e) ? this : [...this, e];
47
- }, REMOVE(e) {
48
- let t = this.indexOf(e);
49
- if (t === -1) return this;
50
- let o = this.slice();
51
- return o.splice(t, 1), o;
52
- } }));
53
- function dt(e, t) {
54
- let o = jt.get(t), n = Ft(), r = ft(o);
55
- if (j(() => {
56
- if (e) return o.dispatch("ADD", n), () => o.dispatch("REMOVE", n);
57
- }, [o, e]), !e) return !1;
58
- let i = r.indexOf(n), l = r.length;
59
- return i === -1 && (i = l, l += 1), i === l - 1;
60
- }
61
- function Ao(e, t, o) {
62
- let n = ge((r) => {
63
- let i = r.getBoundingClientRect();
64
- i.x === 0 && i.y === 0 && i.width === 0 && i.height === 0 && o();
65
- });
66
- Y(() => {
67
- if (!e) return;
68
- let r = t === null ? null : t instanceof HTMLElement ? t : t.current;
69
- if (!r) return;
70
- let i = Ne();
71
- if (typeof ResizeObserver < "u") {
72
- let l = new ResizeObserver(() => n.current(r));
73
- l.observe(r), i.add(() => l.disconnect());
74
- }
75
- if (typeof IntersectionObserver < "u") {
76
- let l = new IntersectionObserver(() => n.current(r));
77
- l.observe(r), i.add(() => l.disconnect());
78
- }
79
- return () => i.dispose();
80
- }, [t, n, e]);
81
- }
82
- function mt() {
83
- return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
84
- }
85
- function zt() {
86
- return /Android/gi.test(window.navigator.userAgent);
87
- }
88
- function Ut() {
89
- return mt() || zt();
90
- }
91
- function se(e, t, o, n) {
92
- let r = ge(o);
93
- Y(() => {
94
- if (!e) return;
95
- function i(l) {
96
- r.current(l);
97
- }
98
- return document.addEventListener(t, i, n), () => document.removeEventListener(t, i, n);
99
- }, [e, t, n]);
100
- }
101
- function qt(e, t, o, n) {
102
- let r = ge(o);
103
- Y(() => {
104
- if (!e) return;
105
- function i(l) {
106
- r.current(l);
107
- }
108
- return window.addEventListener(t, i, n), () => window.removeEventListener(t, i, n);
109
- }, [e, t, n]);
110
- }
111
- const Ue = 30;
112
- function Po(e, t, o) {
113
- let n = dt(e, "outside-click"), r = ge(o), i = st(function(s, a) {
114
- if (s.defaultPrevented) return;
115
- let u = a(s);
116
- if (u === null || !u.getRootNode().contains(u) || !u.isConnected) return;
117
- let g = function h(f) {
118
- return typeof f == "function" ? h(f()) : Array.isArray(f) || f instanceof Set ? f : [f];
119
- }(t);
120
- for (let h of g) if (h !== null && (h.contains(u) || s.composed && s.composedPath().includes(h))) return;
121
- return !kt(u, Vt.Loose) && u.tabIndex !== -1 && s.preventDefault(), r.current(s, u);
122
- }, [r, t]), l = oe(null);
123
- se(n, "pointerdown", (s) => {
124
- var a, u;
125
- l.current = ((u = (a = s.composedPath) == null ? void 0 : a.call(s)) == null ? void 0 : u[0]) || s.target;
126
- }, !0), se(n, "mousedown", (s) => {
127
- var a, u;
128
- l.current = ((u = (a = s.composedPath) == null ? void 0 : a.call(s)) == null ? void 0 : u[0]) || s.target;
129
- }, !0), se(n, "click", (s) => {
130
- Ut() || l.current && (i(s, () => l.current), l.current = null);
131
- }, !0);
132
- let c = oe({ x: 0, y: 0 });
133
- se(n, "touchstart", (s) => {
134
- c.current.x = s.touches[0].clientX, c.current.y = s.touches[0].clientY;
135
- }, !0), se(n, "touchend", (s) => {
136
- let a = { x: s.changedTouches[0].clientX, y: s.changedTouches[0].clientY };
137
- if (!(Math.abs(a.x - c.current.x) >= Ue || Math.abs(a.y - c.current.y) >= Ue)) return i(s, () => s.target instanceof HTMLElement ? s.target : null);
138
- }, !0), qt(n, "blur", (s) => i(s, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
139
- }
140
- function gt(...e) {
141
- return _(() => Ht(...e), [...e]);
142
- }
143
- function Mo(e, t, o, n) {
144
- let r = ge(o);
145
- Y(() => {
146
- e = e ?? window;
147
- function i(l) {
148
- r.current(l);
149
- }
150
- return e.addEventListener(t, i, n), () => e.removeEventListener(t, i, n);
151
- }, [e, t, n]);
152
- }
153
- function Xt() {
154
- let e;
155
- return { before({ doc: t }) {
156
- var o;
157
- let n = t.documentElement, r = (o = t.defaultView) != null ? o : window;
158
- e = Math.max(0, r.innerWidth - n.clientWidth);
159
- }, after({ doc: t, d: o }) {
160
- let n = t.documentElement, r = Math.max(0, n.clientWidth - n.offsetWidth), i = Math.max(0, e - r);
161
- o.style(n, "paddingRight", `${i}px`);
162
- } };
163
- }
164
- function Gt() {
165
- return mt() ? { before({ doc: e, d: t, meta: o }) {
166
- function n(r) {
167
- return o.containers.flatMap((i) => i()).some((i) => i.contains(r));
168
- }
169
- t.microTask(() => {
170
- var r;
171
- if (window.getComputedStyle(e.documentElement).scrollBehavior !== "auto") {
172
- let c = Ne();
173
- c.style(e.documentElement, "scrollBehavior", "auto"), t.add(() => t.microTask(() => c.dispose()));
174
- }
175
- let i = (r = window.scrollY) != null ? r : window.pageYOffset, l = null;
176
- t.addEventListener(e, "click", (c) => {
177
- if (c.target instanceof HTMLElement) try {
178
- let s = c.target.closest("a");
179
- if (!s) return;
180
- let { hash: a } = new URL(s.href), u = e.querySelector(a);
181
- u && !n(u) && (l = u);
182
- } catch {
183
- }
184
- }, !0), t.addEventListener(e, "touchstart", (c) => {
185
- if (c.target instanceof HTMLElement) if (n(c.target)) {
186
- let s = c.target;
187
- for (; s.parentElement && n(s.parentElement); ) s = s.parentElement;
188
- t.style(s, "overscrollBehavior", "contain");
189
- } else t.style(c.target, "touchAction", "none");
190
- }), t.addEventListener(e, "touchmove", (c) => {
191
- if (c.target instanceof HTMLElement) {
192
- if (c.target.tagName === "INPUT") return;
193
- if (n(c.target)) {
194
- let s = c.target;
195
- for (; s.parentElement && s.dataset.headlessuiPortal !== "" && !(s.scrollHeight > s.clientHeight || s.scrollWidth > s.clientWidth); ) s = s.parentElement;
196
- s.dataset.headlessuiPortal === "" && c.preventDefault();
197
- } else c.preventDefault();
198
- }
199
- }, { passive: !1 }), t.add(() => {
200
- var c;
201
- let s = (c = window.scrollY) != null ? c : window.pageYOffset;
202
- i !== s && window.scrollTo(0, i), l && l.isConnected && (l.scrollIntoView({ block: "nearest" }), l = null);
203
- });
204
- });
205
- } } : {};
206
- }
207
- function Kt() {
208
- return { before({ doc: e, d: t }) {
209
- t.style(e.documentElement, "overflow", "hidden");
210
- } };
211
- }
212
- function Jt(e) {
213
- let t = {};
214
- for (let o of e) Object.assign(t, o(t));
215
- return t;
216
- }
217
- let Q = ut(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
218
- var o;
219
- let n = (o = this.get(e)) != null ? o : { doc: e, count: 0, d: Ne(), meta: /* @__PURE__ */ new Set() };
220
- return n.count++, n.meta.add(t), this.set(e, n), this;
221
- }, POP(e, t) {
222
- let o = this.get(e);
223
- return o && (o.count--, o.meta.delete(t)), this;
224
- }, SCROLL_PREVENT({ doc: e, d: t, meta: o }) {
225
- let n = { doc: e, d: t, meta: Jt(o) }, r = [Gt(), Xt(), Kt()];
226
- r.forEach(({ before: i }) => i == null ? void 0 : i(n)), r.forEach(({ after: i }) => i == null ? void 0 : i(n));
227
- }, SCROLL_ALLOW({ d: e }) {
228
- e.dispose();
229
- }, TEARDOWN({ doc: e }) {
230
- this.delete(e);
231
- } });
232
- Q.subscribe(() => {
233
- let e = Q.getSnapshot(), t = /* @__PURE__ */ new Map();
234
- for (let [o] of e) t.set(o, o.documentElement.style.overflow);
235
- for (let o of e.values()) {
236
- let n = t.get(o.doc) === "hidden", r = o.count !== 0;
237
- (r && !n || !r && n) && Q.dispatch(o.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", o), o.count === 0 && Q.dispatch("TEARDOWN", o);
238
- }
239
- });
240
- function Qt(e, t, o = () => ({ containers: [] })) {
241
- let n = ft(Q), r = t ? n.get(t) : void 0, i = r ? r.count > 0 : !1;
242
- return j(() => {
243
- if (!(!t || !e)) return Q.dispatch("PUSH", t, o), () => Q.dispatch("POP", t, o);
244
- }, [e, t]), i;
245
- }
246
- function To(e, t, o = () => [document.body]) {
247
- let n = dt(e, "scroll-lock");
248
- Qt(n, t, (r) => {
249
- var i;
250
- return { containers: [...(i = r.containers) != null ? i : [], o] };
251
- });
252
- }
253
- function ie(e) {
254
- return ht(e) ? (e.nodeName || "").toLowerCase() : "#document";
255
- }
256
- function N(e) {
257
- var t;
258
- return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
259
- }
260
- function z(e) {
261
- var t;
262
- return (t = (ht(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
263
- }
264
- function ht(e) {
265
- return e instanceof Node || e instanceof N(e).Node;
266
- }
267
- function M(e) {
268
- return e instanceof Element || e instanceof N(e).Element;
269
- }
270
- function B(e) {
271
- return e instanceof HTMLElement || e instanceof N(e).HTMLElement;
272
- }
273
- function qe(e) {
274
- return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof N(e).ShadowRoot;
275
- }
276
- function he(e) {
277
- const {
278
- overflow: t,
279
- overflowX: o,
280
- overflowY: n,
281
- display: r
282
- } = V(e);
283
- return /auto|scroll|overlay|hidden|clip/.test(t + n + o) && !["inline", "contents"].includes(r);
284
- }
285
- function Zt(e) {
286
- return ["table", "td", "th"].includes(ie(e));
287
- }
288
- function Ce(e) {
289
- return [":popover-open", ":modal"].some((t) => {
290
- try {
291
- return e.matches(t);
292
- } catch {
293
- return !1;
294
- }
295
- });
296
- }
297
- function Ve(e) {
298
- const t = Be(), o = V(e);
299
- return o.transform !== "none" || o.perspective !== "none" || (o.containerType ? o.containerType !== "normal" : !1) || !t && (o.backdropFilter ? o.backdropFilter !== "none" : !1) || !t && (o.filter ? o.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (o.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (o.contain || "").includes(n));
300
- }
301
- function en(e) {
302
- let t = G(e);
303
- for (; B(t) && !re(t); ) {
304
- if (Ce(t))
305
- return null;
306
- if (Ve(t))
307
- return t;
308
- t = G(t);
309
- }
310
- return null;
311
- }
312
- function Be() {
313
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
314
- }
315
- function re(e) {
316
- return ["html", "body", "#document"].includes(ie(e));
317
- }
318
- function V(e) {
319
- return N(e).getComputedStyle(e);
320
- }
321
- function Oe(e) {
322
- return M(e) ? {
323
- scrollLeft: e.scrollLeft,
324
- scrollTop: e.scrollTop
325
- } : {
326
- scrollLeft: e.scrollX,
327
- scrollTop: e.scrollY
328
- };
329
- }
330
- function G(e) {
331
- if (ie(e) === "html")
332
- return e;
333
- const t = (
334
- // Step into the shadow DOM of the parent of a slotted node.
335
- e.assignedSlot || // DOM Element detected.
336
- e.parentNode || // ShadowRoot detected.
337
- qe(e) && e.host || // Fallback.
338
- z(e)
339
- );
340
- return qe(t) ? t.host : t;
341
- }
342
- function pt(e) {
343
- const t = G(e);
344
- return re(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : B(t) && he(t) ? t : pt(t);
345
- }
346
- function fe(e, t, o) {
347
- var n;
348
- t === void 0 && (t = []), o === void 0 && (o = !0);
349
- const r = pt(e), i = r === ((n = e.ownerDocument) == null ? void 0 : n.body), l = N(r);
350
- return i ? t.concat(l, l.visualViewport || [], he(r) ? r : [], l.frameElement && o ? fe(l.frameElement) : []) : t.concat(r, fe(r, [], o));
351
- }
352
- function tn() {
353
- const e = navigator.userAgentData;
354
- return e && Array.isArray(e.brands) ? e.brands.map((t) => {
355
- let {
356
- brand: o,
357
- version: n
358
- } = t;
359
- return o + "/" + n;
360
- }).join(" ") : navigator.userAgent;
361
- }
362
- const q = Math.min, H = Math.max, ye = Math.round, we = Math.floor, K = (e) => ({
363
- x: e,
364
- y: e
365
- }), nn = {
366
- left: "right",
367
- right: "left",
368
- bottom: "top",
369
- top: "bottom"
370
- }, on = {
371
- start: "end",
372
- end: "start"
373
- };
374
- function Xe(e, t, o) {
375
- return H(e, q(t, o));
376
- }
377
- function le(e, t) {
378
- return typeof e == "function" ? e(t) : e;
379
- }
380
- function J(e) {
381
- return e.split("-")[0];
382
- }
383
- function pe(e) {
384
- return e.split("-")[1];
385
- }
386
- function vt(e) {
387
- return e === "x" ? "y" : "x";
388
- }
389
- function wt(e) {
390
- return e === "y" ? "height" : "width";
391
- }
392
- function Z(e) {
393
- return ["top", "bottom"].includes(J(e)) ? "y" : "x";
394
- }
395
- function xt(e) {
396
- return vt(Z(e));
397
- }
398
- function rn(e, t, o) {
399
- o === void 0 && (o = !1);
400
- const n = pe(e), r = xt(e), i = wt(r);
401
- let l = r === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
402
- return t.reference[i] > t.floating[i] && (l = be(l)), [l, be(l)];
403
- }
404
- function ln(e) {
405
- const t = be(e);
406
- return [$e(e), t, $e(t)];
407
- }
408
- function $e(e) {
409
- return e.replace(/start|end/g, (t) => on[t]);
410
- }
411
- function sn(e, t, o) {
412
- const n = ["left", "right"], r = ["right", "left"], i = ["top", "bottom"], l = ["bottom", "top"];
413
- switch (e) {
414
- case "top":
415
- case "bottom":
416
- return o ? t ? r : n : t ? n : r;
417
- case "left":
418
- case "right":
419
- return t ? i : l;
420
- default:
421
- return [];
422
- }
423
- }
424
- function cn(e, t, o, n) {
425
- const r = pe(e);
426
- let i = sn(J(e), o === "start", n);
427
- return r && (i = i.map((l) => l + "-" + r), t && (i = i.concat(i.map($e)))), i;
428
- }
429
- function be(e) {
430
- return e.replace(/left|right|bottom|top/g, (t) => nn[t]);
431
- }
432
- function an(e) {
433
- return {
434
- top: 0,
435
- right: 0,
436
- bottom: 0,
437
- left: 0,
438
- ...e
439
- };
440
- }
441
- function un(e) {
442
- return typeof e != "number" ? an(e) : {
443
- top: e,
444
- right: e,
445
- bottom: e,
446
- left: e
447
- };
448
- }
449
- function Re(e) {
450
- const {
451
- x: t,
452
- y: o,
453
- width: n,
454
- height: r
455
- } = e;
456
- return {
457
- width: n,
458
- height: r,
459
- top: o,
460
- left: t,
461
- right: t + n,
462
- bottom: o + r,
463
- x: t,
464
- y: o
465
- };
466
- }
467
- function Ge(e, t, o) {
468
- let {
469
- reference: n,
470
- floating: r
471
- } = e;
472
- const i = Z(t), l = xt(t), c = wt(l), s = J(t), a = i === "y", u = n.x + n.width / 2 - r.width / 2, g = n.y + n.height / 2 - r.height / 2, h = n[c] / 2 - r[c] / 2;
473
- let f;
474
- switch (s) {
475
- case "top":
476
- f = {
477
- x: u,
478
- y: n.y - r.height
479
- };
480
- break;
481
- case "bottom":
482
- f = {
483
- x: u,
484
- y: n.y + n.height
485
- };
486
- break;
487
- case "right":
488
- f = {
489
- x: n.x + n.width,
490
- y: g
491
- };
492
- break;
493
- case "left":
494
- f = {
495
- x: n.x - r.width,
496
- y: g
497
- };
498
- break;
499
- default:
500
- f = {
501
- x: n.x,
502
- y: n.y
503
- };
504
- }
505
- switch (pe(t)) {
506
- case "start":
507
- f[l] -= h * (o && a ? -1 : 1);
508
- break;
509
- case "end":
510
- f[l] += h * (o && a ? -1 : 1);
511
- break;
512
- }
513
- return f;
514
- }
515
- const fn = async (e, t, o) => {
516
- const {
517
- placement: n = "bottom",
518
- strategy: r = "absolute",
519
- middleware: i = [],
520
- platform: l
521
- } = o, c = i.filter(Boolean), s = await (l.isRTL == null ? void 0 : l.isRTL(t));
522
- let a = await l.getElementRects({
523
- reference: e,
524
- floating: t,
525
- strategy: r
526
- }), {
527
- x: u,
528
- y: g
529
- } = Ge(a, n, s), h = n, f = {}, d = 0;
530
- for (let m = 0; m < c.length; m++) {
531
- const {
532
- name: p,
533
- fn: x
534
- } = c[m], {
535
- x: y,
536
- y: w,
537
- data: b,
538
- reset: R
539
- } = await x({
540
- x: u,
541
- y: g,
542
- initialPlacement: n,
543
- placement: h,
544
- strategy: r,
545
- middlewareData: f,
546
- rects: a,
547
- platform: l,
548
- elements: {
549
- reference: e,
550
- floating: t
551
- }
552
- });
553
- u = y ?? u, g = w ?? g, f = {
554
- ...f,
555
- [p]: {
556
- ...f[p],
557
- ...b
558
- }
559
- }, R && d <= 50 && (d++, typeof R == "object" && (R.placement && (h = R.placement), R.rects && (a = R.rects === !0 ? await l.getElementRects({
560
- reference: e,
561
- floating: t,
562
- strategy: r
563
- }) : R.rects), {
564
- x: u,
565
- y: g
566
- } = Ge(a, h, s)), m = -1);
567
- }
568
- return {
569
- x: u,
570
- y: g,
571
- placement: h,
572
- strategy: r,
573
- middlewareData: f
574
- };
575
- };
576
- async function Se(e, t) {
577
- var o;
578
- t === void 0 && (t = {});
579
- const {
580
- x: n,
581
- y: r,
582
- platform: i,
583
- rects: l,
584
- elements: c,
585
- strategy: s
586
- } = e, {
587
- boundary: a = "clippingAncestors",
588
- rootBoundary: u = "viewport",
589
- elementContext: g = "floating",
590
- altBoundary: h = !1,
591
- padding: f = 0
592
- } = le(t, e), d = un(f), p = c[h ? g === "floating" ? "reference" : "floating" : g], x = Re(await i.getClippingRect({
593
- element: (o = await (i.isElement == null ? void 0 : i.isElement(p))) == null || o ? p : p.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(c.floating)),
594
- boundary: a,
595
- rootBoundary: u,
596
- strategy: s
597
- })), y = g === "floating" ? {
598
- x: n,
599
- y: r,
600
- width: l.floating.width,
601
- height: l.floating.height
602
- } : l.reference, w = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(c.floating)), b = await (i.isElement == null ? void 0 : i.isElement(w)) ? await (i.getScale == null ? void 0 : i.getScale(w)) || {
603
- x: 1,
604
- y: 1
605
- } : {
606
- x: 1,
607
- y: 1
608
- }, R = Re(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
609
- elements: c,
610
- rect: y,
611
- offsetParent: w,
612
- strategy: s
613
- }) : y);
614
- return {
615
- top: (x.top - R.top + d.top) / b.y,
616
- bottom: (R.bottom - x.bottom + d.bottom) / b.y,
617
- left: (x.left - R.left + d.left) / b.x,
618
- right: (R.right - x.right + d.right) / b.x
619
- };
620
- }
621
- const dn = function(e) {
622
- return e === void 0 && (e = {}), {
623
- name: "flip",
624
- options: e,
625
- async fn(t) {
626
- var o, n;
627
- const {
628
- placement: r,
629
- middlewareData: i,
630
- rects: l,
631
- initialPlacement: c,
632
- platform: s,
633
- elements: a
634
- } = t, {
635
- mainAxis: u = !0,
636
- crossAxis: g = !0,
637
- fallbackPlacements: h,
638
- fallbackStrategy: f = "bestFit",
639
- fallbackAxisSideDirection: d = "none",
640
- flipAlignment: m = !0,
641
- ...p
642
- } = le(e, t);
643
- if ((o = i.arrow) != null && o.alignmentOffset)
644
- return {};
645
- const x = J(r), y = Z(c), w = J(c) === c, b = await (s.isRTL == null ? void 0 : s.isRTL(a.floating)), R = h || (w || !m ? [be(c)] : ln(c)), O = d !== "none";
646
- !h && O && R.push(...cn(c, m, d, b));
647
- const L = [c, ...R], $ = await Se(t, p), W = [];
648
- let T = ((n = i.flip) == null ? void 0 : n.overflows) || [];
649
- if (u && W.push($[x]), g) {
650
- const A = rn(r, l, b);
651
- W.push($[A[0]], $[A[1]]);
652
- }
653
- if (T = [...T, {
654
- placement: r,
655
- overflows: W
656
- }], !W.every((A) => A <= 0)) {
657
- var S, D;
658
- const A = (((S = i.flip) == null ? void 0 : S.index) || 0) + 1, F = L[A];
659
- if (F)
660
- return {
661
- data: {
662
- index: A,
663
- overflows: T
664
- },
665
- reset: {
666
- placement: F
667
- }
668
- };
669
- let I = (D = T.filter((E) => E.overflows[0] <= 0).sort((E, P) => E.overflows[1] - P.overflows[1])[0]) == null ? void 0 : D.placement;
670
- if (!I)
671
- switch (f) {
672
- case "bestFit": {
673
- var k;
674
- const E = (k = T.filter((P) => {
675
- if (O) {
676
- const C = Z(P.placement);
677
- return C === y || // Create a bias to the `y` side axis due to horizontal
678
- // reading directions favoring greater width.
679
- C === "y";
680
- }
681
- return !0;
682
- }).map((P) => [P.placement, P.overflows.filter((C) => C > 0).reduce((C, U) => C + U, 0)]).sort((P, C) => P[1] - C[1])[0]) == null ? void 0 : k[0];
683
- E && (I = E);
684
- break;
685
- }
686
- case "initialPlacement":
687
- I = c;
688
- break;
689
- }
690
- if (r !== I)
691
- return {
692
- reset: {
693
- placement: I
694
- }
695
- };
696
- }
697
- return {};
698
- }
699
- };
700
- };
701
- async function mn(e, t) {
702
- const {
703
- placement: o,
704
- platform: n,
705
- elements: r
706
- } = e, i = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), l = J(o), c = pe(o), s = Z(o) === "y", a = ["left", "top"].includes(l) ? -1 : 1, u = i && s ? -1 : 1, g = le(t, e);
707
- let {
708
- mainAxis: h,
709
- crossAxis: f,
710
- alignmentAxis: d
711
- } = typeof g == "number" ? {
712
- mainAxis: g,
713
- crossAxis: 0,
714
- alignmentAxis: null
715
- } : {
716
- mainAxis: 0,
717
- crossAxis: 0,
718
- alignmentAxis: null,
719
- ...g
720
- };
721
- return c && typeof d == "number" && (f = c === "end" ? d * -1 : d), s ? {
722
- x: f * u,
723
- y: h * a
724
- } : {
725
- x: h * a,
726
- y: f * u
727
- };
728
- }
729
- const gn = function(e) {
730
- return e === void 0 && (e = 0), {
731
- name: "offset",
732
- options: e,
733
- async fn(t) {
734
- var o, n;
735
- const {
736
- x: r,
737
- y: i,
738
- placement: l,
739
- middlewareData: c
740
- } = t, s = await mn(t, e);
741
- return l === ((o = c.offset) == null ? void 0 : o.placement) && (n = c.arrow) != null && n.alignmentOffset ? {} : {
742
- x: r + s.x,
743
- y: i + s.y,
744
- data: {
745
- ...s,
746
- placement: l
747
- }
748
- };
749
- }
750
- };
751
- }, hn = function(e) {
752
- return e === void 0 && (e = {}), {
753
- name: "shift",
754
- options: e,
755
- async fn(t) {
756
- const {
757
- x: o,
758
- y: n,
759
- placement: r
760
- } = t, {
761
- mainAxis: i = !0,
762
- crossAxis: l = !1,
763
- limiter: c = {
764
- fn: (p) => {
765
- let {
766
- x,
767
- y
768
- } = p;
769
- return {
770
- x,
771
- y
772
- };
773
- }
774
- },
775
- ...s
776
- } = le(e, t), a = {
777
- x: o,
778
- y: n
779
- }, u = await Se(t, s), g = Z(J(r)), h = vt(g);
780
- let f = a[h], d = a[g];
781
- if (i) {
782
- const p = h === "y" ? "top" : "left", x = h === "y" ? "bottom" : "right", y = f + u[p], w = f - u[x];
783
- f = Xe(y, f, w);
784
- }
785
- if (l) {
786
- const p = g === "y" ? "top" : "left", x = g === "y" ? "bottom" : "right", y = d + u[p], w = d - u[x];
787
- d = Xe(y, d, w);
788
- }
789
- const m = c.fn({
790
- ...t,
791
- [h]: f,
792
- [g]: d
793
- });
794
- return {
795
- ...m,
796
- data: {
797
- x: m.x - o,
798
- y: m.y - n
799
- }
800
- };
801
- }
802
- };
803
- }, pn = function(e) {
804
- return e === void 0 && (e = {}), {
805
- name: "size",
806
- options: e,
807
- async fn(t) {
808
- const {
809
- placement: o,
810
- rects: n,
811
- platform: r,
812
- elements: i
813
- } = t, {
814
- apply: l = () => {
815
- },
816
- ...c
817
- } = le(e, t), s = await Se(t, c), a = J(o), u = pe(o), g = Z(o) === "y", {
818
- width: h,
819
- height: f
820
- } = n.floating;
821
- let d, m;
822
- a === "top" || a === "bottom" ? (d = a, m = u === (await (r.isRTL == null ? void 0 : r.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (m = a, d = u === "end" ? "top" : "bottom");
823
- const p = f - s.top - s.bottom, x = h - s.left - s.right, y = q(f - s[d], p), w = q(h - s[m], x), b = !t.middlewareData.shift;
824
- let R = y, O = w;
825
- if (g ? O = u || b ? q(w, x) : x : R = u || b ? q(y, p) : p, b && !u) {
826
- const $ = H(s.left, 0), W = H(s.right, 0), T = H(s.top, 0), S = H(s.bottom, 0);
827
- g ? O = h - 2 * ($ !== 0 || W !== 0 ? $ + W : H(s.left, s.right)) : R = f - 2 * (T !== 0 || S !== 0 ? T + S : H(s.top, s.bottom));
828
- }
829
- await l({
830
- ...t,
831
- availableWidth: O,
832
- availableHeight: R
833
- });
834
- const L = await r.getDimensions(i.floating);
835
- return h !== L.width || f !== L.height ? {
836
- reset: {
837
- rects: !0
838
- }
839
- } : {};
840
- }
841
- };
842
- };
843
- function yt(e) {
844
- const t = V(e);
845
- let o = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
846
- const r = B(e), i = r ? e.offsetWidth : o, l = r ? e.offsetHeight : n, c = ye(o) !== i || ye(n) !== l;
847
- return c && (o = i, n = l), {
848
- width: o,
849
- height: n,
850
- $: c
851
- };
852
- }
853
- function _e(e) {
854
- return M(e) ? e : e.contextElement;
855
- }
856
- function ne(e) {
857
- const t = _e(e);
858
- if (!B(t))
859
- return K(1);
860
- const o = t.getBoundingClientRect(), {
861
- width: n,
862
- height: r,
863
- $: i
864
- } = yt(t);
865
- let l = (i ? ye(o.width) : o.width) / n, c = (i ? ye(o.height) : o.height) / r;
866
- return (!l || !Number.isFinite(l)) && (l = 1), (!c || !Number.isFinite(c)) && (c = 1), {
867
- x: l,
868
- y: c
869
- };
870
- }
871
- const vn = /* @__PURE__ */ K(0);
872
- function bt(e) {
873
- const t = N(e);
874
- return !Be() || !t.visualViewport ? vn : {
875
- x: t.visualViewport.offsetLeft,
876
- y: t.visualViewport.offsetTop
877
- };
878
- }
879
- function wn(e, t, o) {
880
- return t === void 0 && (t = !1), !o || t && o !== N(e) ? !1 : t;
881
- }
882
- function ee(e, t, o, n) {
883
- t === void 0 && (t = !1), o === void 0 && (o = !1);
884
- const r = e.getBoundingClientRect(), i = _e(e);
885
- let l = K(1);
886
- t && (n ? M(n) && (l = ne(n)) : l = ne(e));
887
- const c = wn(i, o, n) ? bt(i) : K(0);
888
- let s = (r.left + c.x) / l.x, a = (r.top + c.y) / l.y, u = r.width / l.x, g = r.height / l.y;
889
- if (i) {
890
- const h = N(i), f = n && M(n) ? N(n) : n;
891
- let d = h, m = d.frameElement;
892
- for (; m && n && f !== d; ) {
893
- const p = ne(m), x = m.getBoundingClientRect(), y = V(m), w = x.left + (m.clientLeft + parseFloat(y.paddingLeft)) * p.x, b = x.top + (m.clientTop + parseFloat(y.paddingTop)) * p.y;
894
- s *= p.x, a *= p.y, u *= p.x, g *= p.y, s += w, a += b, d = N(m), m = d.frameElement;
895
- }
896
- }
897
- return Re({
898
- width: u,
899
- height: g,
900
- x: s,
901
- y: a
902
- });
903
- }
904
- function xn(e) {
905
- let {
906
- elements: t,
907
- rect: o,
908
- offsetParent: n,
909
- strategy: r
910
- } = e;
911
- const i = r === "fixed", l = z(n), c = t ? Ce(t.floating) : !1;
912
- if (n === l || c && i)
913
- return o;
914
- let s = {
915
- scrollLeft: 0,
916
- scrollTop: 0
917
- }, a = K(1);
918
- const u = K(0), g = B(n);
919
- if ((g || !g && !i) && ((ie(n) !== "body" || he(l)) && (s = Oe(n)), B(n))) {
920
- const h = ee(n);
921
- a = ne(n), u.x = h.x + n.clientLeft, u.y = h.y + n.clientTop;
922
- }
923
- return {
924
- width: o.width * a.x,
925
- height: o.height * a.y,
926
- x: o.x * a.x - s.scrollLeft * a.x + u.x,
927
- y: o.y * a.y - s.scrollTop * a.y + u.y
928
- };
929
- }
930
- function yn(e) {
931
- return Array.from(e.getClientRects());
932
- }
933
- function Rt(e) {
934
- return ee(z(e)).left + Oe(e).scrollLeft;
935
- }
936
- function bn(e) {
937
- const t = z(e), o = Oe(e), n = e.ownerDocument.body, r = H(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), i = H(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
938
- let l = -o.scrollLeft + Rt(e);
939
- const c = -o.scrollTop;
940
- return V(n).direction === "rtl" && (l += H(t.clientWidth, n.clientWidth) - r), {
941
- width: r,
942
- height: i,
943
- x: l,
944
- y: c
945
- };
946
- }
947
- function Rn(e, t) {
948
- const o = N(e), n = z(e), r = o.visualViewport;
949
- let i = n.clientWidth, l = n.clientHeight, c = 0, s = 0;
950
- if (r) {
951
- i = r.width, l = r.height;
952
- const a = Be();
953
- (!a || a && t === "fixed") && (c = r.offsetLeft, s = r.offsetTop);
954
- }
955
- return {
956
- width: i,
957
- height: l,
958
- x: c,
959
- y: s
960
- };
961
- }
962
- function En(e, t) {
963
- const o = ee(e, !0, t === "fixed"), n = o.top + e.clientTop, r = o.left + e.clientLeft, i = B(e) ? ne(e) : K(1), l = e.clientWidth * i.x, c = e.clientHeight * i.y, s = r * i.x, a = n * i.y;
964
- return {
965
- width: l,
966
- height: c,
967
- x: s,
968
- y: a
969
- };
970
- }
971
- function Ke(e, t, o) {
972
- let n;
973
- if (t === "viewport")
974
- n = Rn(e, o);
975
- else if (t === "document")
976
- n = bn(z(e));
977
- else if (M(t))
978
- n = En(t, o);
979
- else {
980
- const r = bt(e);
981
- n = {
982
- ...t,
983
- x: t.x - r.x,
984
- y: t.y - r.y
985
- };
986
- }
987
- return Re(n);
988
- }
989
- function Et(e, t) {
990
- const o = G(e);
991
- return o === t || !M(o) || re(o) ? !1 : V(o).position === "fixed" || Et(o, t);
992
- }
993
- function Cn(e, t) {
994
- const o = t.get(e);
995
- if (o)
996
- return o;
997
- let n = fe(e, [], !1).filter((c) => M(c) && ie(c) !== "body"), r = null;
998
- const i = V(e).position === "fixed";
999
- let l = i ? G(e) : e;
1000
- for (; M(l) && !re(l); ) {
1001
- const c = V(l), s = Ve(l);
1002
- !s && c.position === "fixed" && (r = null), (i ? !s && !r : !s && c.position === "static" && !!r && ["absolute", "fixed"].includes(r.position) || he(l) && !s && Et(e, l)) ? n = n.filter((u) => u !== l) : r = c, l = G(l);
1003
- }
1004
- return t.set(e, n), n;
1005
- }
1006
- function On(e) {
1007
- let {
1008
- element: t,
1009
- boundary: o,
1010
- rootBoundary: n,
1011
- strategy: r
1012
- } = e;
1013
- const l = [...o === "clippingAncestors" ? Ce(t) ? [] : Cn(t, this._c) : [].concat(o), n], c = l[0], s = l.reduce((a, u) => {
1014
- const g = Ke(t, u, r);
1015
- return a.top = H(g.top, a.top), a.right = q(g.right, a.right), a.bottom = q(g.bottom, a.bottom), a.left = H(g.left, a.left), a;
1016
- }, Ke(t, c, r));
1017
- return {
1018
- width: s.right - s.left,
1019
- height: s.bottom - s.top,
1020
- x: s.left,
1021
- y: s.top
1022
- };
1023
- }
1024
- function Sn(e) {
1025
- const {
1026
- width: t,
1027
- height: o
1028
- } = yt(e);
1029
- return {
1030
- width: t,
1031
- height: o
1032
- };
1033
- }
1034
- function An(e, t, o) {
1035
- const n = B(t), r = z(t), i = o === "fixed", l = ee(e, !0, i, t);
1036
- let c = {
1037
- scrollLeft: 0,
1038
- scrollTop: 0
1039
- };
1040
- const s = K(0);
1041
- if (n || !n && !i)
1042
- if ((ie(t) !== "body" || he(r)) && (c = Oe(t)), n) {
1043
- const g = ee(t, !0, i, t);
1044
- s.x = g.x + t.clientLeft, s.y = g.y + t.clientTop;
1045
- } else r && (s.x = Rt(r));
1046
- const a = l.left + c.scrollLeft - s.x, u = l.top + c.scrollTop - s.y;
1047
- return {
1048
- x: a,
1049
- y: u,
1050
- width: l.width,
1051
- height: l.height
1052
- };
1053
- }
1054
- function Pe(e) {
1055
- return V(e).position === "static";
1056
- }
1057
- function Je(e, t) {
1058
- return !B(e) || V(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
1059
- }
1060
- function Ct(e, t) {
1061
- const o = N(e);
1062
- if (Ce(e))
1063
- return o;
1064
- if (!B(e)) {
1065
- let r = G(e);
1066
- for (; r && !re(r); ) {
1067
- if (M(r) && !Pe(r))
1068
- return r;
1069
- r = G(r);
1070
- }
1071
- return o;
1072
- }
1073
- let n = Je(e, t);
1074
- for (; n && Zt(n) && Pe(n); )
1075
- n = Je(n, t);
1076
- return n && re(n) && Pe(n) && !Ve(n) ? o : n || en(e) || o;
1077
- }
1078
- const Pn = async function(e) {
1079
- const t = this.getOffsetParent || Ct, o = this.getDimensions, n = await o(e.floating);
1080
- return {
1081
- reference: An(e.reference, await t(e.floating), e.strategy),
1082
- floating: {
1083
- x: 0,
1084
- y: 0,
1085
- width: n.width,
1086
- height: n.height
1087
- }
1088
- };
1089
- };
1090
- function Mn(e) {
1091
- return V(e).direction === "rtl";
1092
- }
1093
- const Tn = {
1094
- convertOffsetParentRelativeRectToViewportRelativeRect: xn,
1095
- getDocumentElement: z,
1096
- getClippingRect: On,
1097
- getOffsetParent: Ct,
1098
- getElementRects: Pn,
1099
- getClientRects: yn,
1100
- getDimensions: Sn,
1101
- getScale: ne,
1102
- isElement: M,
1103
- isRTL: Mn
1104
- };
1105
- function Ln(e, t) {
1106
- let o = null, n;
1107
- const r = z(e);
1108
- function i() {
1109
- var c;
1110
- clearTimeout(n), (c = o) == null || c.disconnect(), o = null;
1111
- }
1112
- function l(c, s) {
1113
- c === void 0 && (c = !1), s === void 0 && (s = 1), i();
1114
- const {
1115
- left: a,
1116
- top: u,
1117
- width: g,
1118
- height: h
1119
- } = e.getBoundingClientRect();
1120
- if (c || t(), !g || !h)
1121
- return;
1122
- const f = we(u), d = we(r.clientWidth - (a + g)), m = we(r.clientHeight - (u + h)), p = we(a), y = {
1123
- rootMargin: -f + "px " + -d + "px " + -m + "px " + -p + "px",
1124
- threshold: H(0, q(1, s)) || 1
1125
- };
1126
- let w = !0;
1127
- function b(R) {
1128
- const O = R[0].intersectionRatio;
1129
- if (O !== s) {
1130
- if (!w)
1131
- return l();
1132
- O ? l(!1, O) : n = setTimeout(() => {
1133
- l(!1, 1e-7);
1134
- }, 1e3);
1135
- }
1136
- w = !1;
1137
- }
1138
- try {
1139
- o = new IntersectionObserver(b, {
1140
- ...y,
1141
- // Handle <iframe>s
1142
- root: r.ownerDocument
1143
- });
1144
- } catch {
1145
- o = new IntersectionObserver(b, y);
1146
- }
1147
- o.observe(e);
1148
- }
1149
- return l(!0), i;
1150
- }
1151
- function $n(e, t, o, n) {
1152
- n === void 0 && (n = {});
1153
- const {
1154
- ancestorScroll: r = !0,
1155
- ancestorResize: i = !0,
1156
- elementResize: l = typeof ResizeObserver == "function",
1157
- layoutShift: c = typeof IntersectionObserver == "function",
1158
- animationFrame: s = !1
1159
- } = n, a = _e(e), u = r || i ? [...a ? fe(a) : [], ...fe(t)] : [];
1160
- u.forEach((x) => {
1161
- r && x.addEventListener("scroll", o, {
1162
- passive: !0
1163
- }), i && x.addEventListener("resize", o);
1164
- });
1165
- const g = a && c ? Ln(a, o) : null;
1166
- let h = -1, f = null;
1167
- l && (f = new ResizeObserver((x) => {
1168
- let [y] = x;
1169
- y && y.target === a && f && (f.unobserve(t), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
1170
- var w;
1171
- (w = f) == null || w.observe(t);
1172
- })), o();
1173
- }), a && !s && f.observe(a), f.observe(t));
1174
- let d, m = s ? ee(e) : null;
1175
- s && p();
1176
- function p() {
1177
- const x = ee(e);
1178
- m && (x.x !== m.x || x.y !== m.y || x.width !== m.width || x.height !== m.height) && o(), m = x, d = requestAnimationFrame(p);
1179
- }
1180
- return o(), () => {
1181
- var x;
1182
- u.forEach((y) => {
1183
- r && y.removeEventListener("scroll", o), i && y.removeEventListener("resize", o);
1184
- }), g == null || g(), (x = f) == null || x.disconnect(), f = null, s && cancelAnimationFrame(d);
1185
- };
1186
- }
1187
- const Me = Se, Dn = gn, Fn = hn, Hn = dn, Nn = pn, In = (e, t, o) => {
1188
- const n = /* @__PURE__ */ new Map(), r = {
1189
- platform: Tn,
1190
- ...o
1191
- }, i = {
1192
- ...r.platform,
1193
- _c: n
1194
- };
1195
- return fn(e, t, {
1196
- ...r,
1197
- platform: i
1198
- });
1199
- };
1200
- var xe = typeof document < "u" ? ct : Y;
1201
- function Ee(e, t) {
1202
- if (e === t)
1203
- return !0;
1204
- if (typeof e != typeof t)
1205
- return !1;
1206
- if (typeof e == "function" && e.toString() === t.toString())
1207
- return !0;
1208
- let o, n, r;
1209
- if (e && t && typeof e == "object") {
1210
- if (Array.isArray(e)) {
1211
- if (o = e.length, o !== t.length) return !1;
1212
- for (n = o; n-- !== 0; )
1213
- if (!Ee(e[n], t[n]))
1214
- return !1;
1215
- return !0;
1216
- }
1217
- if (r = Object.keys(e), o = r.length, o !== Object.keys(t).length)
1218
- return !1;
1219
- for (n = o; n-- !== 0; )
1220
- if (!{}.hasOwnProperty.call(t, r[n]))
1221
- return !1;
1222
- for (n = o; n-- !== 0; ) {
1223
- const i = r[n];
1224
- if (!(i === "_owner" && e.$$typeof) && !Ee(e[i], t[i]))
1225
- return !1;
1226
- }
1227
- return !0;
1228
- }
1229
- return e !== e && t !== t;
1230
- }
1231
- function Ot(e) {
1232
- return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
1233
- }
1234
- function Qe(e, t) {
1235
- const o = Ot(e);
1236
- return Math.round(t * o) / o;
1237
- }
1238
- function Ze(e) {
1239
- const t = v.useRef(e);
1240
- return xe(() => {
1241
- t.current = e;
1242
- }), t;
1243
- }
1244
- function Wn(e) {
1245
- e === void 0 && (e = {});
1246
- const {
1247
- placement: t = "bottom",
1248
- strategy: o = "absolute",
1249
- middleware: n = [],
1250
- platform: r,
1251
- elements: {
1252
- reference: i,
1253
- floating: l
1254
- } = {},
1255
- transform: c = !0,
1256
- whileElementsMounted: s,
1257
- open: a
1258
- } = e, [u, g] = v.useState({
1259
- x: 0,
1260
- y: 0,
1261
- strategy: o,
1262
- placement: t,
1263
- middlewareData: {},
1264
- isPositioned: !1
1265
- }), [h, f] = v.useState(n);
1266
- Ee(h, n) || f(n);
1267
- const [d, m] = v.useState(null), [p, x] = v.useState(null), y = v.useCallback((E) => {
1268
- E !== O.current && (O.current = E, m(E));
1269
- }, []), w = v.useCallback((E) => {
1270
- E !== L.current && (L.current = E, x(E));
1271
- }, []), b = i || d, R = l || p, O = v.useRef(null), L = v.useRef(null), $ = v.useRef(u), W = s != null, T = Ze(s), S = Ze(r), D = v.useCallback(() => {
1272
- if (!O.current || !L.current)
1273
- return;
1274
- const E = {
1275
- placement: t,
1276
- strategy: o,
1277
- middleware: h
1278
- };
1279
- S.current && (E.platform = S.current), In(O.current, L.current, E).then((P) => {
1280
- const C = {
1281
- ...P,
1282
- isPositioned: !0
1283
- };
1284
- k.current && !Ee($.current, C) && ($.current = C, ue.flushSync(() => {
1285
- g(C);
1286
- }));
1287
- });
1288
- }, [h, t, o, S]);
1289
- xe(() => {
1290
- a === !1 && $.current.isPositioned && ($.current.isPositioned = !1, g((E) => ({
1291
- ...E,
1292
- isPositioned: !1
1293
- })));
1294
- }, [a]);
1295
- const k = v.useRef(!1);
1296
- xe(() => (k.current = !0, () => {
1297
- k.current = !1;
1298
- }), []), xe(() => {
1299
- if (b && (O.current = b), R && (L.current = R), b && R) {
1300
- if (T.current)
1301
- return T.current(b, R, D);
1302
- D();
1303
- }
1304
- }, [b, R, D, T, W]);
1305
- const A = v.useMemo(() => ({
1306
- reference: O,
1307
- floating: L,
1308
- setReference: y,
1309
- setFloating: w
1310
- }), [y, w]), F = v.useMemo(() => ({
1311
- reference: b,
1312
- floating: R
1313
- }), [b, R]), I = v.useMemo(() => {
1314
- const E = {
1315
- position: o,
1316
- left: 0,
1317
- top: 0
1318
- };
1319
- if (!F.floating)
1320
- return E;
1321
- const P = Qe(F.floating, u.x), C = Qe(F.floating, u.y);
1322
- return c ? {
1323
- ...E,
1324
- transform: "translate(" + P + "px, " + C + "px)",
1325
- ...Ot(F.floating) >= 1.5 && {
1326
- willChange: "transform"
1327
- }
1328
- } : {
1329
- position: o,
1330
- left: P,
1331
- top: C
1332
- };
1333
- }, [o, c, F.floating, u.x, u.y]);
1334
- return v.useMemo(() => ({
1335
- ...u,
1336
- update: D,
1337
- refs: A,
1338
- elements: F,
1339
- floatingStyles: I
1340
- }), [u, D, A, F, I]);
1341
- }
1342
- const St = (e, t) => ({
1343
- ...Dn(e),
1344
- options: [e, t]
1345
- }), kn = (e, t) => ({
1346
- ...Fn(e),
1347
- options: [e, t]
1348
- }), Vn = (e, t) => ({
1349
- ...Hn(e),
1350
- options: [e, t]
1351
- }), Bn = (e, t) => ({
1352
- ...Nn(e),
1353
- options: [e, t]
1354
- }), At = {
1355
- ...v
1356
- }, _n = At.useInsertionEffect, Yn = _n || ((e) => e());
1357
- function Pt(e) {
1358
- const t = v.useRef(() => {
1359
- if (process.env.NODE_ENV !== "production")
1360
- throw new Error("Cannot call an event handler while rendering.");
1361
- });
1362
- return Yn(() => {
1363
- t.current = e;
1364
- }), v.useCallback(function() {
1365
- for (var o = arguments.length, n = new Array(o), r = 0; r < o; r++)
1366
- n[r] = arguments[r];
1367
- return t.current == null ? void 0 : t.current(...n);
1368
- }, []);
1369
- }
1370
- var De = typeof document < "u" ? ct : Y;
1371
- let et = !1, jn = 0;
1372
- const tt = () => (
1373
- // Ensure the id is unique with multiple independent versions of Floating UI
1374
- // on <React 18
1375
- "floating-ui-" + Math.random().toString(36).slice(2, 6) + jn++
1376
- );
1377
- function zn() {
1378
- const [e, t] = v.useState(() => et ? tt() : void 0);
1379
- return De(() => {
1380
- e == null && t(tt());
1381
- }, []), v.useEffect(() => {
1382
- et = !0;
1383
- }, []), e;
1384
- }
1385
- const Un = At.useId, qn = Un || zn;
1386
- let de;
1387
- process.env.NODE_ENV !== "production" && (de = /* @__PURE__ */ new Set());
1388
- function Xn() {
1389
- for (var e, t = arguments.length, o = new Array(t), n = 0; n < t; n++)
1390
- o[n] = arguments[n];
1391
- const r = "Floating UI: " + o.join(" ");
1392
- if (!((e = de) != null && e.has(r))) {
1393
- var i;
1394
- (i = de) == null || i.add(r), console.warn(r);
1395
- }
1396
- }
1397
- function Gn() {
1398
- for (var e, t = arguments.length, o = new Array(t), n = 0; n < t; n++)
1399
- o[n] = arguments[n];
1400
- const r = "Floating UI: " + o.join(" ");
1401
- if (!((e = de) != null && e.has(r))) {
1402
- var i;
1403
- (i = de) == null || i.add(r), console.error(r);
1404
- }
1405
- }
1406
- function Kn() {
1407
- const e = /* @__PURE__ */ new Map();
1408
- return {
1409
- emit(t, o) {
1410
- var n;
1411
- (n = e.get(t)) == null || n.forEach((r) => r(o));
1412
- },
1413
- on(t, o) {
1414
- e.set(t, [...e.get(t) || [], o]);
1415
- },
1416
- off(t, o) {
1417
- var n;
1418
- e.set(t, ((n = e.get(t)) == null ? void 0 : n.filter((r) => r !== o)) || []);
1419
- }
1420
- };
1421
- }
1422
- const Jn = /* @__PURE__ */ v.createContext(null), Qn = /* @__PURE__ */ v.createContext(null), Zn = () => {
1423
- var e;
1424
- return ((e = v.useContext(Jn)) == null ? void 0 : e.id) || null;
1425
- }, eo = () => v.useContext(Qn);
1426
- function to(e) {
1427
- const {
1428
- open: t = !1,
1429
- onOpenChange: o,
1430
- elements: n
1431
- } = e, r = qn(), i = v.useRef({}), [l] = v.useState(() => Kn()), c = Zn() != null;
1432
- if (process.env.NODE_ENV !== "production") {
1433
- const f = n.reference;
1434
- f && !M(f) && Gn("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
1435
- }
1436
- const [s, a] = v.useState(n.reference), u = Pt((f, d, m) => {
1437
- i.current.openEvent = f ? d : void 0, l.emit("openchange", {
1438
- open: f,
1439
- event: d,
1440
- reason: m,
1441
- nested: c
1442
- }), o == null || o(f, d, m);
1443
- }), g = v.useMemo(() => ({
1444
- setPositionReference: a
1445
- }), []), h = v.useMemo(() => ({
1446
- reference: s || n.reference || null,
1447
- floating: n.floating || null,
1448
- domReference: n.reference
1449
- }), [s, n.reference, n.floating]);
1450
- return v.useMemo(() => ({
1451
- dataRef: i,
1452
- open: t,
1453
- onOpenChange: u,
1454
- elements: h,
1455
- events: l,
1456
- floatingId: r,
1457
- refs: g
1458
- }), [t, u, h, l, r, g]);
1459
- }
1460
- function no(e) {
1461
- e === void 0 && (e = {});
1462
- const {
1463
- nodeId: t
1464
- } = e, o = to({
1465
- ...e,
1466
- elements: {
1467
- reference: null,
1468
- floating: null,
1469
- ...e.elements
1470
- }
1471
- }), n = e.rootContext || o, r = n.elements, [i, l] = v.useState(null), [c, s] = v.useState(null), u = (r == null ? void 0 : r.reference) || i, g = v.useRef(null), h = eo();
1472
- De(() => {
1473
- u && (g.current = u);
1474
- }, [u]);
1475
- const f = Wn({
1476
- ...e,
1477
- elements: {
1478
- ...r,
1479
- ...c && {
1480
- reference: c
1481
- }
1482
- }
1483
- }), d = v.useCallback((w) => {
1484
- const b = M(w) ? {
1485
- getBoundingClientRect: () => w.getBoundingClientRect(),
1486
- contextElement: w
1487
- } : w;
1488
- s(b), f.refs.setReference(b);
1489
- }, [f.refs]), m = v.useCallback((w) => {
1490
- (M(w) || w === null) && (g.current = w, l(w)), (M(f.refs.reference.current) || f.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
1491
- // `null` to support `positionReference` + an unstable `reference`
1492
- // callback ref.
1493
- w !== null && !M(w)) && f.refs.setReference(w);
1494
- }, [f.refs]), p = v.useMemo(() => ({
1495
- ...f.refs,
1496
- setReference: m,
1497
- setPositionReference: d,
1498
- domReference: g
1499
- }), [f.refs, m, d]), x = v.useMemo(() => ({
1500
- ...f.elements,
1501
- domReference: u
1502
- }), [f.elements, u]), y = v.useMemo(() => ({
1503
- ...f,
1504
- ...n,
1505
- refs: p,
1506
- elements: x,
1507
- nodeId: t
1508
- }), [f, p, x, t, n]);
1509
- return De(() => {
1510
- n.dataRef.current.floatingContext = y;
1511
- const w = h == null ? void 0 : h.nodesRef.current.find((b) => b.id === t);
1512
- w && (w.context = y);
1513
- }), v.useMemo(() => ({
1514
- ...f,
1515
- context: y,
1516
- refs: p,
1517
- elements: x
1518
- }), [f, p, x, y]);
1519
- }
1520
- const nt = "active", ot = "selected";
1521
- function Te(e, t, o) {
1522
- const n = /* @__PURE__ */ new Map(), r = o === "item";
1523
- let i = e;
1524
- if (r && e) {
1525
- const {
1526
- [nt]: l,
1527
- [ot]: c,
1528
- ...s
1529
- } = e;
1530
- i = s;
1531
- }
1532
- return {
1533
- ...o === "floating" && {
1534
- tabIndex: -1
1535
- },
1536
- ...i,
1537
- ...t.map((l) => {
1538
- const c = l ? l[o] : null;
1539
- return typeof c == "function" ? e ? c(e) : null : c;
1540
- }).concat(e).reduce((l, c) => (c && Object.entries(c).forEach((s) => {
1541
- let [a, u] = s;
1542
- if (!(r && [nt, ot].includes(a)))
1543
- if (a.indexOf("on") === 0) {
1544
- if (n.has(a) || n.set(a, []), typeof u == "function") {
1545
- var g;
1546
- (g = n.get(a)) == null || g.push(u), l[a] = function() {
1547
- for (var h, f = arguments.length, d = new Array(f), m = 0; m < f; m++)
1548
- d[m] = arguments[m];
1549
- return (h = n.get(a)) == null ? void 0 : h.map((p) => p(...d)).find((p) => p !== void 0);
1550
- };
1551
- }
1552
- } else
1553
- l[a] = u;
1554
- }), l), {})
1555
- };
1556
- }
1557
- function oo(e) {
1558
- e === void 0 && (e = []);
1559
- const t = e.map((c) => c == null ? void 0 : c.reference), o = e.map((c) => c == null ? void 0 : c.floating), n = e.map((c) => c == null ? void 0 : c.item), r = v.useCallback(
1560
- (c) => Te(c, e, "reference"),
1561
- // eslint-disable-next-line react-hooks/exhaustive-deps
1562
- t
1563
- ), i = v.useCallback(
1564
- (c) => Te(c, e, "floating"),
1565
- // eslint-disable-next-line react-hooks/exhaustive-deps
1566
- o
1567
- ), l = v.useCallback(
1568
- (c) => Te(c, e, "item"),
1569
- // eslint-disable-next-line react-hooks/exhaustive-deps
1570
- n
1571
- );
1572
- return v.useMemo(() => ({
1573
- getReferenceProps: r,
1574
- getFloatingProps: i,
1575
- getItemProps: l
1576
- }), [r, i, l]);
1577
- }
1578
- function rt(e, t) {
1579
- return {
1580
- ...e,
1581
- rects: {
1582
- ...e.rects,
1583
- floating: {
1584
- ...e.rects.floating,
1585
- height: t
1586
- }
1587
- }
1588
- };
1589
- }
1590
- const ro = (e) => ({
1591
- name: "inner",
1592
- options: e,
1593
- async fn(t) {
1594
- const {
1595
- listRef: o,
1596
- overflowRef: n,
1597
- onFallbackChange: r,
1598
- offset: i = 0,
1599
- index: l = 0,
1600
- minItemsVisible: c = 4,
1601
- referenceOverflowThreshold: s = 0,
1602
- scrollRef: a,
1603
- ...u
1604
- } = le(e, t), {
1605
- rects: g,
1606
- elements: {
1607
- floating: h
1608
- }
1609
- } = t, f = o.current[l];
1610
- if (process.env.NODE_ENV !== "production" && (t.placement.startsWith("bottom") || Xn('`placement` side must be "bottom" when using the `inner`', "middleware.")), !f)
1611
- return {};
1612
- const d = {
1613
- ...t,
1614
- ...await St(-f.offsetTop - h.clientTop - g.reference.height / 2 - f.offsetHeight / 2 - i).fn(t)
1615
- }, m = (a == null ? void 0 : a.current) || h, p = await Me(rt(d, m.scrollHeight), u), x = await Me(d, {
1616
- ...u,
1617
- elementContext: "reference"
1618
- }), y = Math.max(0, p.top), w = d.y + y, b = Math.max(0, m.scrollHeight - y - Math.max(0, p.bottom));
1619
- return m.style.maxHeight = b + "px", m.scrollTop = y, r && (m.offsetHeight < f.offsetHeight * Math.min(c, o.current.length - 1) - 1 || x.top >= -s || x.bottom >= -s ? ue.flushSync(() => r(!0)) : ue.flushSync(() => r(!1))), n && (n.current = await Me(rt({
1620
- ...d,
1621
- y: w
1622
- }, m.offsetHeight), u)), {
1623
- y: w
1624
- };
1625
- }
1626
- });
1627
- function io(e, t) {
1628
- const {
1629
- open: o,
1630
- elements: n
1631
- } = e, {
1632
- enabled: r = !0,
1633
- overflowRef: i,
1634
- scrollRef: l,
1635
- onChange: c
1636
- } = t, s = Pt(c), a = v.useRef(!1), u = v.useRef(null), g = v.useRef(null);
1637
- v.useEffect(() => {
1638
- if (!r) return;
1639
- function f(m) {
1640
- if (m.ctrlKey || !d || i.current == null)
1641
- return;
1642
- const p = m.deltaY, x = i.current.top >= -0.5, y = i.current.bottom >= -0.5, w = d.scrollHeight - d.clientHeight, b = p < 0 ? -1 : 1, R = p < 0 ? "max" : "min";
1643
- d.scrollHeight <= d.clientHeight || (!x && p > 0 || !y && p < 0 ? (m.preventDefault(), ue.flushSync(() => {
1644
- s((O) => O + Math[R](p, w * b));
1645
- })) : /firefox/i.test(tn()) && (d.scrollTop += p));
1646
- }
1647
- const d = (l == null ? void 0 : l.current) || n.floating;
1648
- if (o && d)
1649
- return d.addEventListener("wheel", f), requestAnimationFrame(() => {
1650
- u.current = d.scrollTop, i.current != null && (g.current = {
1651
- ...i.current
1652
- });
1653
- }), () => {
1654
- u.current = null, g.current = null, d.removeEventListener("wheel", f);
1655
- };
1656
- }, [r, o, n.floating, i, l, s]);
1657
- const h = v.useMemo(() => ({
1658
- onKeyDown() {
1659
- a.current = !0;
1660
- },
1661
- onWheel() {
1662
- a.current = !1;
1663
- },
1664
- onPointerMove() {
1665
- a.current = !1;
1666
- },
1667
- onScroll() {
1668
- const f = (l == null ? void 0 : l.current) || n.floating;
1669
- if (!(!i.current || !f || !a.current)) {
1670
- if (u.current !== null) {
1671
- const d = f.scrollTop - u.current;
1672
- (i.current.bottom < -0.5 && d < -1 || i.current.top < -0.5 && d > 1) && ue.flushSync(() => s((m) => m + d));
1673
- }
1674
- requestAnimationFrame(() => {
1675
- u.current = f.scrollTop;
1676
- });
1677
- }
1678
- }
1679
- }), [n.floating, s, i, l]);
1680
- return v.useMemo(() => r ? {
1681
- floating: h
1682
- } : {}, [r, h]);
1683
- }
1684
- let ve = me({ styles: void 0, setReference: () => {
1685
- }, setFloating: () => {
1686
- }, getReferenceProps: () => ({}), getFloatingProps: () => ({}), slot: {} });
1687
- ve.displayName = "FloatingContext";
1688
- let Ye = me(null);
1689
- Ye.displayName = "PlacementContext";
1690
- function Lo(e) {
1691
- return _(() => e ? typeof e == "string" ? { to: e } : e : null, [e]);
1692
- }
1693
- function $o() {
1694
- return X(ve).setReference;
1695
- }
1696
- function Do() {
1697
- let { getFloatingProps: e, slot: t } = X(ve);
1698
- return st((...o) => Object.assign({}, e(...o), { "data-anchor": t.anchor }), [e, t]);
1699
- }
1700
- function Fo(e = null) {
1701
- e === !1 && (e = null), typeof e == "string" && (e = { to: e });
1702
- let t = X(Ye), o = _(() => e, [JSON.stringify(e, typeof HTMLElement < "u" ? (r, i) => i instanceof HTMLElement ? i.outerHTML : i : void 0)]);
1703
- j(() => {
1704
- t == null || t(o ?? null);
1705
- }, [t, o]);
1706
- let n = X(ve);
1707
- return _(() => [n.setFloating, e ? n.styles : {}], [n.setFloating, e, n.styles]);
1708
- }
1709
- let it = 4;
1710
- function Ho({ children: e, enabled: t = !0 }) {
1711
- let [o, n] = te(null), [r, i] = te(0), l = oe(null), [c, s] = te(null);
1712
- lo(c);
1713
- let a = t && o !== null && c !== null, { to: u = "bottom", gap: g = 0, offset: h = 0, padding: f = 0, inner: d } = so(o, c), [m, p = "center"] = u.split(" ");
1714
- j(() => {
1715
- a && i(0);
1716
- }, [a]);
1717
- let { refs: x, floatingStyles: y, context: w } = no({ open: a, placement: m === "selection" ? p === "center" ? "bottom" : `bottom-${p}` : p === "center" ? `${m}` : `${m}-${p}`, strategy: "absolute", transform: !1, middleware: [St({ mainAxis: m === "selection" ? 0 : g, crossAxis: h }), kn({ padding: f }), m !== "selection" && Vn({ padding: f }), m === "selection" && d ? ro({ ...d, padding: f, overflowRef: l, offset: r, minItemsVisible: it, referenceOverflowThreshold: f, onFallbackChange(S) {
1718
- var D, k;
1719
- if (!S) return;
1720
- let A = w.elements.floating;
1721
- if (!A) return;
1722
- let F = parseFloat(getComputedStyle(A).scrollPaddingBottom) || 0, I = Math.min(it, A.childElementCount), E = 0, P = 0;
1723
- for (let C of (k = (D = w.elements.floating) == null ? void 0 : D.childNodes) != null ? k : []) if (C instanceof HTMLElement) {
1724
- let U = C.offsetTop, je = U + C.clientHeight + F, Ae = A.scrollTop, ze = Ae + A.clientHeight;
1725
- if (U >= Ae && je <= ze) I--;
1726
- else {
1727
- P = Math.max(0, Math.min(je, ze) - Math.max(U, Ae)), E = C.clientHeight;
1728
- break;
1729
- }
1730
- }
1731
- I >= 1 && i((C) => {
1732
- let U = E * I - P + F;
1733
- return C >= U ? C : U;
1734
- });
1735
- } }) : null, Bn({ padding: f, apply({ availableWidth: S, availableHeight: D, elements: k }) {
1736
- Object.assign(k.floating.style, { overflow: "auto", maxWidth: `${S}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${D}px)` });
1737
- } })].filter(Boolean), whileElementsMounted: $n }), [b = m, R = p] = w.placement.split("-");
1738
- m === "selection" && (b = "selection");
1739
- let O = _(() => ({ anchor: [b, R].filter(Boolean).join(" ") }), [b, R]), L = io(w, { overflowRef: l, onChange: i }), { getReferenceProps: $, getFloatingProps: W } = oo([L]), T = ae((S) => {
1740
- s(S), x.setFloating(S);
1741
- });
1742
- return v.createElement(Ye.Provider, { value: n }, v.createElement(ve.Provider, { value: { setFloating: T, setReference: x.setReference, styles: y, getReferenceProps: $, getFloatingProps: W, slot: O } }, e));
1743
- }
1744
- function lo(e) {
1745
- j(() => {
1746
- if (!e) return;
1747
- let t = new MutationObserver(() => {
1748
- let o = window.getComputedStyle(e).maxHeight, n = parseFloat(o);
1749
- if (isNaN(n)) return;
1750
- let r = parseInt(o);
1751
- isNaN(r) || n !== r && (e.style.maxHeight = `${Math.ceil(n)}px`);
1752
- });
1753
- return t.observe(e, { attributes: !0, attributeFilter: ["style"] }), () => {
1754
- t.disconnect();
1755
- };
1756
- }, [e]);
1757
- }
1758
- function so(e, t) {
1759
- var o, n, r;
1760
- let i = Le((o = e == null ? void 0 : e.gap) != null ? o : "var(--anchor-gap, 0)", t), l = Le((n = e == null ? void 0 : e.offset) != null ? n : "var(--anchor-offset, 0)", t), c = Le((r = e == null ? void 0 : e.padding) != null ? r : "var(--anchor-padding, 0)", t);
1761
- return { ...e, gap: i, offset: l, padding: c };
1762
- }
1763
- function Le(e, t, o = void 0) {
1764
- let n = Nt(), r = ae((s, a) => {
1765
- if (s == null) return [o, null];
1766
- if (typeof s == "number") return [s, null];
1767
- if (typeof s == "string") {
1768
- if (!a) return [o, null];
1769
- let u = lt(s, a);
1770
- return [u, (g) => {
1771
- let h = Mt(s);
1772
- {
1773
- let f = h.map((d) => window.getComputedStyle(a).getPropertyValue(d));
1774
- n.requestAnimationFrame(function d() {
1775
- n.nextFrame(d);
1776
- let m = !1;
1777
- for (let [x, y] of h.entries()) {
1778
- let w = window.getComputedStyle(a).getPropertyValue(y);
1779
- if (f[x] !== w) {
1780
- f[x] = w, m = !0;
1781
- break;
1782
- }
1783
- }
1784
- if (!m) return;
1785
- let p = lt(s, a);
1786
- u !== p && (g(p), u = p);
1787
- });
1788
- }
1789
- return n.dispose;
1790
- }];
1791
- }
1792
- return [o, null];
1793
- }), i = _(() => r(e, t)[0], [e, t]), [l = i, c] = te();
1794
- return j(() => {
1795
- let [s, a] = r(e, t);
1796
- if (c(s), !!a) return a(c);
1797
- }, [e, t]), l;
1798
- }
1799
- function Mt(e) {
1800
- let t = /var\((.*)\)/.exec(e);
1801
- if (t) {
1802
- let o = t[1].indexOf(",");
1803
- if (o === -1) return [t[1]];
1804
- let n = t[1].slice(0, o).trim(), r = t[1].slice(o + 1).trim();
1805
- return r ? [n, ...Mt(r)] : [n];
1806
- }
1807
- return [];
1808
- }
1809
- function lt(e, t) {
1810
- let o = document.createElement("div");
1811
- t.appendChild(o), o.style.setProperty("margin-top", "0px", "important"), o.style.setProperty("margin-top", e, "important");
1812
- let n = parseFloat(window.getComputedStyle(o).marginTop) || 0;
1813
- return t.removeChild(o), n;
1814
- }
1815
- function co(e) {
1816
- let t = ae(e), o = oe(!1);
1817
- Y(() => (o.current = !1, () => {
1818
- o.current = !0, It(() => {
1819
- o.current && t();
1820
- });
1821
- }), [t]);
1822
- }
1823
- function ao() {
1824
- let e = typeof document > "u";
1825
- return "useSyncExternalStore" in v ? ((t) => t.useSyncExternalStore)(v)(() => () => {
1826
- }, () => !1, () => !e) : !1;
1827
- }
1828
- function uo() {
1829
- let e = ao(), [t, o] = v.useState(ce.isHandoffComplete);
1830
- return t && ce.isHandoffComplete === !1 && o(!1), v.useEffect(() => {
1831
- t !== !0 && o(!0);
1832
- }, [t]), v.useEffect(() => ce.handoff(), []), e ? !1 : t;
1833
- }
1834
- let fo = me(!1);
1835
- function mo() {
1836
- return X(fo);
1837
- }
1838
- function go(e) {
1839
- let t = mo(), o = X(Lt), n = gt(e), [r, i] = te(() => {
1840
- var l;
1841
- if (!t && o !== null) return (l = o.current) != null ? l : null;
1842
- if (ce.isServer) return null;
1843
- let c = n == null ? void 0 : n.getElementById("headlessui-portal-root");
1844
- if (c) return c;
1845
- if (n === null) return null;
1846
- let s = n.createElement("div");
1847
- return s.setAttribute("id", "headlessui-portal-root"), n.body.appendChild(s);
1848
- });
1849
- return Y(() => {
1850
- r !== null && (n != null && n.body.contains(r) || n == null || n.body.appendChild(r));
1851
- }, [r, n]), Y(() => {
1852
- t || o !== null && i(o.current);
1853
- }, [o, i, t]), r;
1854
- }
1855
- let Tt = at, ho = Ie(function(e, t) {
1856
- let o = e, n = oe(null), r = We(Wt((u) => {
1857
- n.current = u;
1858
- }), t), i = gt(n), l = go(n), [c] = te(() => {
1859
- var u;
1860
- return ce.isServer ? null : (u = i == null ? void 0 : i.createElement("div")) != null ? u : null;
1861
- }), s = X(Fe), a = uo();
1862
- return j(() => {
1863
- !l || !c || l.contains(c) || (c.setAttribute("data-headlessui-portal", ""), l.appendChild(c));
1864
- }, [l, c]), j(() => {
1865
- if (c && s) return s.register(c);
1866
- }, [s, c]), co(() => {
1867
- var u;
1868
- !l || !c || (c instanceof Node && l.contains(c) && l.removeChild(c), l.childNodes.length <= 0 && ((u = l.parentElement) == null || u.removeChild(l)));
1869
- }), a ? !l || !c ? null : Bt(ke({ ourProps: { ref: r }, theirProps: o, slot: {}, defaultTag: Tt, name: "Portal" }), c) : null;
1870
- });
1871
- function po(e, t) {
1872
- let o = We(t), { enabled: n = !0, ...r } = e;
1873
- return n ? He.createElement(ho, { ...r, ref: o }) : ke({ ourProps: { ref: o }, theirProps: r, slot: {}, defaultTag: Tt, name: "Portal" });
1874
- }
1875
- let vo = at, Lt = me(null);
1876
- function wo(e, t) {
1877
- let { target: o, ...n } = e, r = { ref: We(t) };
1878
- return He.createElement(Lt.Provider, { value: o }, ke({ ourProps: r, theirProps: n, defaultTag: vo, name: "Popover.Group" }));
1879
- }
1880
- let Fe = me(null);
1881
- function No() {
1882
- let e = X(Fe), t = oe([]), o = ae((i) => (t.current.push(i), e && e.register(i), () => n(i))), n = ae((i) => {
1883
- let l = t.current.indexOf(i);
1884
- l !== -1 && t.current.splice(l, 1), e && e.unregister(i);
1885
- }), r = _(() => ({ register: o, unregister: n, portals: t }), [o, n, t]);
1886
- return [t, _(() => function({ children: i }) {
1887
- return He.createElement(Fe.Provider, { value: r }, i);
1888
- }, [r])];
1889
- }
1890
- let xo = Ie(po), yo = Ie(wo), Io = Object.assign(xo, { Group: yo });
1891
- export {
1892
- Mo as E,
1893
- Po as R,
1894
- Fo as a,
1895
- Do as b,
1896
- dt as c,
1897
- Oo as d,
1898
- No as e,
1899
- To as f,
1900
- Ut as g,
1901
- Ao as m,
1902
- gt as n,
1903
- qt as s,
1904
- Io as t,
1905
- Ho as v,
1906
- Lo as x,
1907
- $o as y
1908
- };