@lanaco/lnc-react-ui 4.0.225 → 4.0.226

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 (378) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +2 -2
  3. package/dist/AccordionDetails.cjs +1 -1
  4. package/dist/AccordionDetails.js +1 -1
  5. package/dist/AccordionSummary.cjs +1 -1
  6. package/dist/AccordionSummary.js +2 -2
  7. package/dist/ActionsToolbar.cjs +1 -1
  8. package/dist/ActionsToolbar.js +3 -3
  9. package/dist/AdBannerSection.cjs +1 -1
  10. package/dist/AdBannerSection.js +3 -3
  11. package/dist/Alert.cjs +1 -1
  12. package/dist/Alert.js +2 -2
  13. package/dist/Avatar.cjs +1 -1
  14. package/dist/Avatar.js +2 -2
  15. package/dist/Badge.cjs +1 -1
  16. package/dist/Badge.js +2 -2
  17. package/dist/BannerNextSection.cjs +1 -1
  18. package/dist/BannerNextSection.js +3 -3
  19. package/dist/BannerSectionBasic.cjs +1 -1
  20. package/dist/BannerSectionBasic.js +2 -2
  21. package/dist/BannerSectionCarousel.cjs +1 -1
  22. package/dist/BannerSectionCarousel.js +5 -5
  23. package/dist/BannerSectionGrid.cjs +2 -2
  24. package/dist/BannerSectionGrid.js +5 -5
  25. package/dist/BannerSectionSimple.cjs +1 -1
  26. package/dist/BannerSectionSimple.js +4 -4
  27. package/dist/BannerSectionWithList.cjs +1 -1
  28. package/dist/BannerSectionWithList.js +3 -3
  29. package/dist/BannerSectionWithListImage.cjs +1 -1
  30. package/dist/BannerSectionWithListImage.js +2 -2
  31. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  32. package/dist/BlogCardsSponsoredSection.js +6 -6
  33. package/dist/BlogCategoryCardsSection.cjs +1 -1
  34. package/dist/BlogCategoryCardsSection.js +2 -2
  35. package/dist/BlogExploreSection.cjs +1 -1
  36. package/dist/BlogExploreSection.js +6 -6
  37. package/dist/BlogImagePathSection.cjs +1 -1
  38. package/dist/BlogImagePathSection.js +2 -2
  39. package/dist/BlogListSection.cjs +1 -1
  40. package/dist/BlogListSection.js +6 -6
  41. package/dist/BlogProductCardsSection.cjs +1 -1
  42. package/dist/BlogProductCardsSection.js +3 -3
  43. package/dist/BlogShopCardsSection.cjs +1 -1
  44. package/dist/BlogShopCardsSection.js +3 -3
  45. package/dist/BlogSingleSection.cjs +1 -1
  46. package/dist/BlogSingleSection.js +4 -4
  47. package/dist/BlogsSectionDetailed.cjs +1 -1
  48. package/dist/BlogsSectionDetailed.js +9 -9
  49. package/dist/BlogsSectionLarge.cjs +1 -1
  50. package/dist/BlogsSectionLarge.js +5 -5
  51. package/dist/BlogsSectionSimple.cjs +1 -1
  52. package/dist/BlogsSectionSimple.js +7 -7
  53. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  54. package/dist/BlogsSectionSimpleCentered.js +6 -6
  55. package/dist/BlogsSectionWithFilters.cjs +1 -1
  56. package/dist/BlogsSectionWithFilters.js +8 -8
  57. package/dist/BrandHitsSection.cjs +1 -1
  58. package/dist/BrandHitsSection.js +4 -4
  59. package/dist/Breadcrumbs.cjs +1 -1
  60. package/dist/Breadcrumbs.js +2 -2
  61. package/dist/Button.cjs +1 -1
  62. package/dist/Button.js +3 -3
  63. package/dist/ButtonGroup.cjs +1 -1
  64. package/dist/ButtonGroup.js +2 -2
  65. package/dist/CalorieCalculatorSection.cjs +1 -1
  66. package/dist/CalorieCalculatorSection.js +3 -3
  67. package/dist/{CategorySimpleCard-CkSwvJRw.js → CategorySimpleCard-TJRJ_2Sb.js} +3 -3
  68. package/dist/{CategorySimpleCard-CIBvknos.cjs → CategorySimpleCard-lIdzBNDa.cjs} +1 -1
  69. package/dist/CheckBoxInput.cjs +1 -1
  70. package/dist/CheckBoxInput.js +2 -2
  71. package/dist/Chip.cjs +1 -1
  72. package/dist/Chip.js +2 -2
  73. package/dist/ColorInput.cjs +1 -1
  74. package/dist/ColorInput.js +2 -2
  75. package/dist/ConfirmationForm.cjs +1 -1
  76. package/dist/ConfirmationForm.js +2 -2
  77. package/dist/ContactSection.cjs +5 -5
  78. package/dist/ContactSection.js +1765 -1712
  79. package/dist/CustomLoanMapSection.cjs +1 -1
  80. package/dist/CustomLoanMapSection.js +3 -3
  81. package/dist/{CustomStyles-DR4WuDUN.js → CustomStyles-B6uutenq.js} +58 -55
  82. package/dist/{CustomStyles-2TQQSwtU.cjs → CustomStyles-dJQPJ4s4.cjs} +4 -4
  83. package/dist/{DailyMotion-BPdBW5Yv.cjs → DailyMotion-BLODEbGN.cjs} +1 -1
  84. package/dist/{DailyMotion-P9S-WhTX.js → DailyMotion-BcKTajo7.js} +1 -1
  85. package/dist/DataView.cjs +1 -1
  86. package/dist/DataView.js +1 -1
  87. package/dist/DateInput.cjs +1 -1
  88. package/dist/DateInput.js +4 -4
  89. package/dist/DecimalInput.cjs +1 -1
  90. package/dist/DecimalInput.js +2 -2
  91. package/dist/DecimalInputV2.cjs +1 -1
  92. package/dist/DecimalInputV2.js +2 -2
  93. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  94. package/dist/DetailedProductsInfinitiveSection.js +7 -7
  95. package/dist/DetailedProductsSection.cjs +1 -1
  96. package/dist/DetailedProductsSection.js +8 -8
  97. package/dist/DetailsView.cjs +1 -1
  98. package/dist/DetailsView.js +2 -2
  99. package/dist/DoubleRangeSlider.cjs +1 -1
  100. package/dist/DoubleRangeSlider.js +2 -2
  101. package/dist/DragAndDropFile.cjs +10 -10
  102. package/dist/DragAndDropFile.js +444 -408
  103. package/dist/DragDropFiles.cjs +1 -1
  104. package/dist/DragDropFiles.js +2 -2
  105. package/dist/Drawer.js +1 -1
  106. package/dist/Dropdown.cjs +1 -1
  107. package/dist/Dropdown.js +3 -3
  108. package/dist/DropdownItem.cjs +1 -1
  109. package/dist/DropdownItem.js +2 -2
  110. package/dist/DropdownLookup.cjs +1 -1
  111. package/dist/DropdownLookup.js +2 -2
  112. package/dist/DropdownMenu.cjs +1 -1
  113. package/dist/DropdownMenu.js +2 -2
  114. package/dist/EditableTable.cjs +1 -1
  115. package/dist/EditableTable.js +2 -2
  116. package/dist/{Facebook-C8L2KR4O.cjs → Facebook-Cxy7fSgc.cjs} +1 -1
  117. package/dist/{Facebook-vhbBr0rd.js → Facebook-o0wYiIu4.js} +25 -25
  118. package/dist/FaqSection.cjs +1 -1
  119. package/dist/FaqSection.js +4 -4
  120. package/dist/FeedbackSection.cjs +1 -1
  121. package/dist/FeedbackSection.js +3 -3
  122. package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
  123. package/dist/FieldOfInterestsMasonrySection.js +4 -4
  124. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  125. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +5 -5
  126. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
  127. package/dist/FieldOfInterestsWithTagsCardsSection.js +4 -4
  128. package/dist/FileInput.cjs +1 -1
  129. package/dist/FileInput.js +2 -2
  130. package/dist/{FilePlayer-BVFgHY_f.cjs → FilePlayer-DyIgZGf2.cjs} +1 -1
  131. package/dist/{FilePlayer-CXTLAokk.js → FilePlayer-Evom9jRl.js} +1 -1
  132. package/dist/FlexBox.cjs +1 -1
  133. package/dist/FlexBox.js +1 -1
  134. package/dist/FlexGridItem.cjs +1 -1
  135. package/dist/FlexGridItem.js +2 -2
  136. package/dist/FormField.cjs +1 -1
  137. package/dist/FormField.js +2 -2
  138. package/dist/FormView.cjs +1 -1
  139. package/dist/FormView.js +2 -2
  140. package/dist/GeneralWithTagsCardsSection.cjs +1 -1
  141. package/dist/GeneralWithTagsCardsSection.js +4 -4
  142. package/dist/GiftCardsSection.cjs +1 -1
  143. package/dist/GiftCardsSection.js +6 -6
  144. package/dist/Grid.cjs +1 -1
  145. package/dist/Grid.js +1 -1
  146. package/dist/GridItem.cjs +1 -1
  147. package/dist/GridItem.js +1 -1
  148. package/dist/HelpBannerSection.cjs +1 -1
  149. package/dist/HelpBannerSection.js +2 -2
  150. package/dist/Icon.cjs +1 -1
  151. package/dist/Icon.js +2 -2
  152. package/dist/IconButton.cjs +1 -1
  153. package/dist/IconButton.js +2 -2
  154. package/dist/{Kaltura-CRGK2EP7.js → Kaltura-CA_8jdJe.js} +1 -1
  155. package/dist/{Kaltura-C2fRoaEg.cjs → Kaltura-l-2u1Tm7.cjs} +1 -1
  156. package/dist/Kanban.cjs +5 -5
  157. package/dist/Kanban.js +5 -5
  158. package/dist/KanbanActionsToolbar.cjs +1 -1
  159. package/dist/KanbanActionsToolbar.js +2 -2
  160. package/dist/{KanbanCard-DihrKn-I.cjs → KanbanCard-9Pe_tjMt.cjs} +1 -1
  161. package/dist/{KanbanCard-B9V9EjVE.js → KanbanCard-ffmclwO4.js} +1 -1
  162. package/dist/KanbanCard.cjs +1 -1
  163. package/dist/KanbanCard.js +2 -2
  164. package/dist/KanbanFooter.cjs +1 -1
  165. package/dist/KanbanFooter.js +1 -1
  166. package/dist/KanbanHeader.cjs +1 -1
  167. package/dist/KanbanHeader.js +1 -1
  168. package/dist/KanbanView.cjs +1 -1
  169. package/dist/KanbanView.js +3 -3
  170. package/dist/Link.cjs +1 -1
  171. package/dist/Link.js +2 -2
  172. package/dist/LoanCalculatorSection.cjs +1 -1
  173. package/dist/LoanCalculatorSection.js +4 -4
  174. package/dist/LocationFinderSection.cjs +1 -1
  175. package/dist/LocationFinderSection.js +1 -1
  176. package/dist/LocationSearchSection.cjs +1 -1
  177. package/dist/LocationSearchSection.js +3 -3
  178. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  179. package/dist/MasonryGeneralCardsSection.js +4 -4
  180. package/dist/MenuItem.cjs +1 -1
  181. package/dist/MenuItem.js +2 -2
  182. package/dist/{Mixcloud-D09BQNOt.cjs → Mixcloud-BwTRg6SF.cjs} +1 -1
  183. package/dist/{Mixcloud-Cn5M-EIT.js → Mixcloud-D2JZtlPe.js} +10 -10
  184. package/dist/Modal.cjs +1 -1
  185. package/dist/Modal.js +3 -3
  186. package/dist/MultiSelectDropdown.cjs +1 -1
  187. package/dist/MultiSelectDropdown.js +1 -1
  188. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  189. package/dist/MultiSelectDropdownLookup.js +1 -1
  190. package/dist/{Mux-C6szci3w.js → Mux-CBMcNvuK.js} +1 -1
  191. package/dist/{Mux-C-xD7crc.cjs → Mux-tp04uiAm.cjs} +1 -1
  192. package/dist/NestedDropdownItem.cjs +1 -1
  193. package/dist/NestedDropdownItem.js +2 -2
  194. package/dist/NestedMenuItem.cjs +1 -1
  195. package/dist/NestedMenuItem.js +2 -2
  196. package/dist/Notification.cjs +1 -1
  197. package/dist/Notification.js +1 -1
  198. package/dist/NotificationContainer.cjs +1 -1
  199. package/dist/NotificationContainer.js +3 -3
  200. package/dist/NotificationMessage.cjs +1 -1
  201. package/dist/NotificationMessage.js +2 -2
  202. package/dist/NumberInput.cjs +1 -1
  203. package/dist/NumberInput.js +2 -2
  204. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  205. package/dist/OverlayGeneralCardsSection.js +3 -3
  206. package/dist/PageLayout.cjs +1 -1
  207. package/dist/PageLayout.js +1 -1
  208. package/dist/Pagination.cjs +1 -1
  209. package/dist/Pagination.js +1 -1
  210. package/dist/PartnerBannerSection.cjs +1 -1
  211. package/dist/PartnerBannerSection.js +2 -2
  212. package/dist/PartnerBrandsSection.cjs +1 -1
  213. package/dist/PartnerBrandsSection.js +4 -4
  214. package/dist/PartnerCardsSection.cjs +1 -1
  215. package/dist/PartnerCardsSection.js +4 -4
  216. package/dist/PartnerStatsSection.cjs +1 -1
  217. package/dist/PartnerStatsSection.js +3 -3
  218. package/dist/PasswordInput.cjs +1 -1
  219. package/dist/PasswordInput.js +2 -2
  220. package/dist/PopoverContent.cjs +1 -1
  221. package/dist/PopoverContent.js +3 -3
  222. package/dist/PopoverDescription.cjs +1 -1
  223. package/dist/PopoverDescription.js +1 -1
  224. package/dist/PopoverHeading.cjs +1 -1
  225. package/dist/PopoverHeading.js +1 -1
  226. package/dist/PopoverTrigger.cjs +1 -1
  227. package/dist/PopoverTrigger.js +1 -1
  228. package/dist/{Preview-B8HyPnfR.cjs → Preview-2LWO1jPt.cjs} +1 -1
  229. package/dist/{Preview-CO6WSP5f.js → Preview-CEZQvDLk.js} +6 -6
  230. package/dist/ProductsWithBannerSection.cjs +1 -1
  231. package/dist/ProductsWithBannerSection.js +7 -7
  232. package/dist/ProgressBar.cjs +1 -1
  233. package/dist/ProgressBar.js +2 -2
  234. package/dist/QuattroCardsSection.cjs +1 -1
  235. package/dist/QuattroCardsSection.js +5 -5
  236. package/dist/QuizSection.cjs +1 -1
  237. package/dist/QuizSection.js +3 -3
  238. package/dist/RadioGroup.cjs +1 -1
  239. package/dist/RadioGroup.js +1 -1
  240. package/dist/RadioInput.cjs +1 -1
  241. package/dist/RadioInput.js +2 -2
  242. package/dist/RangeSlider.cjs +1 -1
  243. package/dist/RangeSlider.js +2 -2
  244. package/dist/ReviewsSection.cjs +1 -1
  245. package/dist/ReviewsSection.js +6 -6
  246. package/dist/SalesCampaignsSection.cjs +1 -1
  247. package/dist/SalesCampaignsSection.js +6 -6
  248. package/dist/SearchBar.cjs +1 -1
  249. package/dist/SearchBar.js +2 -2
  250. package/dist/{SearchSection-BEYnWPSr.js → SearchSection-BQkugcbp.js} +17 -17
  251. package/dist/{SearchSection-DUY61r3k.cjs → SearchSection-CgbZsVg2.cjs} +2 -2
  252. package/dist/SearchSection.cjs +1 -1
  253. package/dist/SearchSection.js +1 -1
  254. package/dist/Separator.cjs +1 -1
  255. package/dist/Separator.js +2 -2
  256. package/dist/SeparatorSection.cjs +1 -1
  257. package/dist/SeparatorSection.js +2 -2
  258. package/dist/ShopCardsSection.cjs +1 -1
  259. package/dist/ShopCardsSection.js +5 -5
  260. package/dist/Sidebar.cjs +1 -1
  261. package/dist/Sidebar.js +2 -2
  262. package/dist/SimpleCategoriesSection.cjs +1 -1
  263. package/dist/SimpleCategoriesSection.js +7 -7
  264. package/dist/SimpleProductsSection.cjs +1 -1
  265. package/dist/SimpleProductsSection.js +6 -6
  266. package/dist/{SoundCloud-Cfaj1Ze1.js → SoundCloud-CK7NvImk.js} +13 -13
  267. package/dist/{SoundCloud-BsL6Onq6.cjs → SoundCloud-DVmlWv2g.cjs} +1 -1
  268. package/dist/Spinner.cjs +1 -1
  269. package/dist/Spinner.js +2 -2
  270. package/dist/StatsSection.cjs +1 -1
  271. package/dist/StatsSection.js +3 -3
  272. package/dist/{Streamable-DFtyk9Dt.cjs → Streamable-BBV7DQsj.cjs} +1 -1
  273. package/dist/{Streamable-CG8_-_w7.js → Streamable-D5oxy9aa.js} +1 -1
  274. package/dist/Surface.cjs +1 -1
  275. package/dist/Surface.js +2 -2
  276. package/dist/SwipeableDrawer.cjs +1 -1
  277. package/dist/SwipeableDrawer.js +2 -2
  278. package/dist/TabItem.cjs +1 -1
  279. package/dist/TabItem.js +2 -2
  280. package/dist/Table.cjs +1 -1
  281. package/dist/Table.js +5 -5
  282. package/dist/TableView.cjs +1 -1
  283. package/dist/TableView.js +3 -3
  284. package/dist/Tabs.cjs +1 -1
  285. package/dist/Tabs.js +1 -1
  286. package/dist/TextAreaInput.cjs +1 -1
  287. package/dist/TextAreaInput.js +2 -2
  288. package/dist/TextInput.cjs +1 -1
  289. package/dist/TextInput.js +2 -2
  290. package/dist/ThemeProvider.cjs +1 -1
  291. package/dist/ThemeProvider.js +3 -3
  292. package/dist/TimeInput.cjs +1 -1
  293. package/dist/TimeInput.js +2 -2
  294. package/dist/Toggle.cjs +1 -1
  295. package/dist/Toggle.js +2 -2
  296. package/dist/ToggleSection.cjs +1 -1
  297. package/dist/ToggleSection.js +3 -3
  298. package/dist/TreeMenu.cjs +1 -1
  299. package/dist/TreeMenu.js +1 -1
  300. package/dist/TreeMenuSeparator.cjs +1 -1
  301. package/dist/TreeMenuSeparator.js +2 -2
  302. package/dist/{Twitch-BIUEEDiE.cjs → Twitch-CH7rLHNj.cjs} +1 -1
  303. package/dist/{Twitch-CbU_0Tx9.js → Twitch-DtrfG3Wo.js} +5 -5
  304. package/dist/UploadedFile.cjs +1 -1
  305. package/dist/UploadedFile.js +2 -2
  306. package/dist/UrgentSaleProductsSection.cjs +1 -1
  307. package/dist/UrgentSaleProductsSection.js +4 -4
  308. package/dist/{Vidyard-S6Fl_F78.js → Vidyard-C66crgMN.js} +1 -1
  309. package/dist/{Vidyard-QkjVIros.cjs → Vidyard-DGbMnWlF.cjs} +1 -1
  310. package/dist/{Vimeo-5bkeYCV4.js → Vimeo-BjGe7JPl.js} +1 -1
  311. package/dist/{Vimeo-B5jsifNT.cjs → Vimeo-DdFP5z1P.cjs} +1 -1
  312. package/dist/{Wistia-dpbMmx23.cjs → Wistia-CTuM5tqn.cjs} +1 -1
  313. package/dist/{Wistia-gOZBV0XZ.js → Wistia-Cnd0mYar.js} +3 -3
  314. package/dist/{YouTube-BfZRCB6O.cjs → YouTube-Chpmigf-.cjs} +1 -1
  315. package/dist/{YouTube-XoIB4ATQ.js → YouTube-D2wx0EoX.js} +3 -3
  316. package/dist/{breakpoints-ff0SIcV3.js → breakpoints-BubDitvo.js} +3 -3
  317. package/dist/emotion-is-prop-valid.esm-DqkrfvDp.js +10 -0
  318. package/dist/emotion-is-prop-valid.esm-eyvxYx3u.cjs +1 -0
  319. package/dist/{emotion-styled.browser.esm-BNN1dTl3.js → emotion-styled.browser.esm-DfbrHHed.js} +4 -4
  320. package/dist/{emotion-styled.browser.esm-BtEseadx.cjs → emotion-styled.browser.esm-DwHBgTPn.cjs} +1 -1
  321. package/dist/floating-ui.dom-Bvf9G8UM.cjs +1 -0
  322. package/dist/floating-ui.dom-C16Oktn3.js +959 -0
  323. package/dist/{floating-ui.react.esm-CfpRzwmn.js → floating-ui.react.esm-B-RMCmpu.js} +477 -460
  324. package/dist/floating-ui.react.esm-CsrI9PVk.cjs +4 -0
  325. package/dist/{index-vQOR22Py.cjs → index-3GKF_7BJ.cjs} +1 -1
  326. package/dist/{index-41nUb2kP.cjs → index-7Jsjuf-Q.cjs} +29 -29
  327. package/dist/{index-B1vKwsDE.js → index-B2yaYXE2.js} +651 -651
  328. package/dist/{index-DZFKpq77.cjs → index-BGNavrtB.cjs} +1 -1
  329. package/dist/{index-hC-E71GE.js → index-BHcrzV2G.js} +3 -3
  330. package/dist/{index-CsTfXxpp.cjs → index-Bj1KWOV4.cjs} +1 -1
  331. package/dist/{index-Cav6G7wx.cjs → index-BkztbBWe.cjs} +1 -1
  332. package/dist/{index-oYE1Pl7q.cjs → index-BsAddfgC.cjs} +1 -1
  333. package/dist/{index-C4HycAPS.js → index-CM6vzQBx.js} +4 -4
  334. package/dist/{index-C-uOIDDa.js → index-Cn4bq6ZX.js} +3 -3
  335. package/dist/{index-BWeXujWl.js → index-CuRcxKQH.js} +3 -3
  336. package/dist/{index-DA7SIHV1.cjs → index-CxWXiOMf.cjs} +1 -1
  337. package/dist/{index-B1-PjbTA.cjs → index-D4-_TrSn.cjs} +1 -1
  338. package/dist/{index-CBZ-jNah.cjs → index-D4OKsSqi.cjs} +1 -1
  339. package/dist/{index-4wvppFLx.js → index-DB1J-G6Z.js} +2 -2
  340. package/dist/{index-BvMY2TbK.js → index-DEypPQRI.js} +1 -1
  341. package/dist/{index-CX2A-q39.cjs → index-DMbNpyIV.cjs} +1 -1
  342. package/dist/{index-BdKi2ogu.js → index-DMmw5Ad5.js} +1 -1
  343. package/dist/{index-CoQ9APCD.js → index-DdfMcHz0.js} +2 -2
  344. package/dist/{index-B9c6y2J5.cjs → index-DgUNsgfF.cjs} +1 -1
  345. package/dist/{index-BzSWu-7v.js → index-Djo0ZcRE.js} +5 -5
  346. package/dist/{index-uCWKRzoS.cjs → index-DkPva6Gr.cjs} +1 -1
  347. package/dist/{index-BEUk0FDk.js → index-Dx2hfxCG.js} +4 -4
  348. package/dist/{index-B_ilx3wM.cjs → index-fzBXDy05.cjs} +1 -1
  349. package/dist/{index-DDShXLaW.js → index-gFZSZLba.js} +6 -6
  350. package/dist/{index-D9fI5BvI.js → index-jGcy-5M_.js} +3 -3
  351. package/dist/{index-L_Va5-wK.js → index-rhYVjszT.js} +5 -5
  352. package/dist/{index-Dc0EEBRW.cjs → index-tdg_Vmed.cjs} +1 -1
  353. package/dist/{index-6RFrSPs_.js → index-vz5mtWGo.js} +5 -5
  354. package/dist/index.cjs +1 -1
  355. package/dist/index.js +6 -6
  356. package/dist/{react-toastify.esm-BoMuFZcq.cjs → react-toastify.esm-C6GBR4r3.cjs} +1 -1
  357. package/dist/{react-toastify.esm-BLQznunb.js → react-toastify.esm-CUXbGoqt.js} +1 -1
  358. package/dist/{style-DC05rdyx.cjs → style-Boz6dk5s.cjs} +1 -1
  359. package/dist/{style-Bq3rMbnN.js → style-BzaX45du.js} +2 -2
  360. package/dist/{style-BUyFad_y.js → style-D54KOzZj.js} +3 -3
  361. package/dist/{style-AYc9hnFj.cjs → style-DIWAdlai.cjs} +1 -1
  362. package/dist/{style-BwQ4djFC.js → style-DvkivBNg.js} +1 -1
  363. package/dist/{style-BAcV7F53.cjs → style-Ito6YFqi.cjs} +1 -1
  364. package/dist/{styled-components.browser.esm-CvykQBGY.cjs → styled-components.browser.esm-BaNxtZgB.cjs} +1 -1
  365. package/dist/{styled-components.browser.esm-D-n22PJk.js → styled-components.browser.esm-Cfeh8eHg.js} +1 -1
  366. package/dist/{tag-Bi8gg6hJ.js → tag-CHNc7DhI.js} +2 -2
  367. package/dist/{tag-DSnhWWHE.cjs → tag-CWcvCQcz.cjs} +1 -1
  368. package/dist/{theme-Befg4g_L.js → theme-mUflS4q4.js} +1 -1
  369. package/dist/{useDetectMobile-CcVo3PNi.js → useDetectMobile-B0Jog4jQ.js} +1 -1
  370. package/dist/usePopover.cjs +1 -1
  371. package/dist/usePopover.js +6 -6
  372. package/dist/{utils-B2fsQ6PS.js → utils-MoGhNMmj.js} +3 -3
  373. package/package.json +1 -1
  374. package/dist/emotion-is-prop-valid.esm-BNsx9k19.cjs +0 -1
  375. package/dist/emotion-is-prop-valid.esm-CbWxtx4i.js +0 -10
  376. package/dist/floating-ui.dom-B931An3C.js +0 -954
  377. package/dist/floating-ui.dom-CN4MB7mG.cjs +0 -1
  378. package/dist/floating-ui.react.esm-CiYofNnh.cjs +0 -4
@@ -1,954 +0,0 @@
1
- const U = Math.min, N = Math.max, K = Math.round, X = Math.floor, L = (t) => ({
2
- x: t,
3
- y: t
4
- }), Vt = {
5
- left: "right",
6
- right: "left",
7
- bottom: "top",
8
- top: "bottom"
9
- }, Bt = {
10
- start: "end",
11
- end: "start"
12
- };
13
- function gt(t, e, n) {
14
- return N(t, U(e, n));
15
- }
16
- function Q(t, e) {
17
- return typeof t == "function" ? t(e) : t;
18
- }
19
- function V(t) {
20
- return t.split("-")[0];
21
- }
22
- function Z(t) {
23
- return t.split("-")[1];
24
- }
25
- function At(t) {
26
- return t === "x" ? "y" : "x";
27
- }
28
- function Rt(t) {
29
- return t === "y" ? "height" : "width";
30
- }
31
- const Mt = /* @__PURE__ */ new Set(["top", "bottom"]);
32
- function P(t) {
33
- return Mt.has(V(t)) ? "y" : "x";
34
- }
35
- function Ot(t) {
36
- return At(P(t));
37
- }
38
- function Wt(t, e, n) {
39
- n === void 0 && (n = !1);
40
- const o = Z(t), i = Ot(t), r = Rt(i);
41
- let s = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
42
- return e.reference[r] > e.floating[r] && (s = G(s)), [s, G(s)];
43
- }
44
- function Ht(t) {
45
- const e = G(t);
46
- return [rt(t), e, rt(e)];
47
- }
48
- function rt(t) {
49
- return t.replace(/start|end/g, (e) => Bt[e]);
50
- }
51
- const pt = ["left", "right"], wt = ["right", "left"], _t = ["top", "bottom"], $t = ["bottom", "top"];
52
- function zt(t, e, n) {
53
- switch (t) {
54
- case "top":
55
- case "bottom":
56
- return n ? e ? wt : pt : e ? pt : wt;
57
- case "left":
58
- case "right":
59
- return e ? _t : $t;
60
- default:
61
- return [];
62
- }
63
- }
64
- function It(t, e, n, o) {
65
- const i = Z(t);
66
- let r = zt(V(t), n === "start", o);
67
- return i && (r = r.map((s) => s + "-" + i), e && (r = r.concat(r.map(rt)))), r;
68
- }
69
- function G(t) {
70
- return t.replace(/left|right|bottom|top/g, (e) => Vt[e]);
71
- }
72
- function jt(t) {
73
- return {
74
- top: 0,
75
- right: 0,
76
- bottom: 0,
77
- left: 0,
78
- ...t
79
- };
80
- }
81
- function Yt(t) {
82
- return typeof t != "number" ? jt(t) : {
83
- top: t,
84
- right: t,
85
- bottom: t,
86
- left: t
87
- };
88
- }
89
- function J(t) {
90
- const {
91
- x: e,
92
- y: n,
93
- width: o,
94
- height: i
95
- } = t;
96
- return {
97
- width: o,
98
- height: i,
99
- top: n,
100
- left: e,
101
- right: e + o,
102
- bottom: n + i,
103
- x: e,
104
- y: n
105
- };
106
- }
107
- function xt(t, e, n) {
108
- let {
109
- reference: o,
110
- floating: i
111
- } = t;
112
- const r = P(e), s = Ot(e), c = Rt(s), l = V(e), f = r === "y", d = o.x + o.width / 2 - i.width / 2, a = o.y + o.height / 2 - i.height / 2, m = o[c] / 2 - i[c] / 2;
113
- let u;
114
- switch (l) {
115
- case "top":
116
- u = {
117
- x: d,
118
- y: o.y - i.height
119
- };
120
- break;
121
- case "bottom":
122
- u = {
123
- x: d,
124
- y: o.y + o.height
125
- };
126
- break;
127
- case "right":
128
- u = {
129
- x: o.x + o.width,
130
- y: a
131
- };
132
- break;
133
- case "left":
134
- u = {
135
- x: o.x - i.width,
136
- y: a
137
- };
138
- break;
139
- default:
140
- u = {
141
- x: o.x,
142
- y: o.y
143
- };
144
- }
145
- switch (Z(e)) {
146
- case "start":
147
- u[s] -= m * (n && f ? -1 : 1);
148
- break;
149
- case "end":
150
- u[s] += m * (n && f ? -1 : 1);
151
- break;
152
- }
153
- return u;
154
- }
155
- const qt = async (t, e, n) => {
156
- const {
157
- placement: o = "bottom",
158
- strategy: i = "absolute",
159
- middleware: r = [],
160
- platform: s
161
- } = n, c = r.filter(Boolean), l = await (s.isRTL == null ? void 0 : s.isRTL(e));
162
- let f = await s.getElementRects({
163
- reference: t,
164
- floating: e,
165
- strategy: i
166
- }), {
167
- x: d,
168
- y: a
169
- } = xt(f, o, l), m = o, u = {}, h = 0;
170
- for (let p = 0; p < c.length; p++) {
171
- const {
172
- name: w,
173
- fn: g
174
- } = c[p], {
175
- x,
176
- y,
177
- data: b,
178
- reset: v
179
- } = await g({
180
- x: d,
181
- y: a,
182
- initialPlacement: o,
183
- placement: m,
184
- strategy: i,
185
- middlewareData: u,
186
- rects: f,
187
- platform: s,
188
- elements: {
189
- reference: t,
190
- floating: e
191
- }
192
- });
193
- d = x ?? d, a = y ?? a, u = {
194
- ...u,
195
- [w]: {
196
- ...u[w],
197
- ...b
198
- }
199
- }, v && h <= 50 && (h++, typeof v == "object" && (v.placement && (m = v.placement), v.rects && (f = v.rects === !0 ? await s.getElementRects({
200
- reference: t,
201
- floating: e,
202
- strategy: i
203
- }) : v.rects), {
204
- x: d,
205
- y: a
206
- } = xt(f, m, l)), p = -1);
207
- }
208
- return {
209
- x: d,
210
- y: a,
211
- placement: m,
212
- strategy: i,
213
- middlewareData: u
214
- };
215
- };
216
- async function Ct(t, e) {
217
- var n;
218
- e === void 0 && (e = {});
219
- const {
220
- x: o,
221
- y: i,
222
- platform: r,
223
- rects: s,
224
- elements: c,
225
- strategy: l
226
- } = t, {
227
- boundary: f = "clippingAncestors",
228
- rootBoundary: d = "viewport",
229
- elementContext: a = "floating",
230
- altBoundary: m = !1,
231
- padding: u = 0
232
- } = Q(e, t), h = Yt(u), w = c[m ? a === "floating" ? "reference" : "floating" : a], g = J(await r.getClippingRect({
233
- element: (n = await (r.isElement == null ? void 0 : r.isElement(w))) == null || n ? w : w.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(c.floating)),
234
- boundary: f,
235
- rootBoundary: d,
236
- strategy: l
237
- })), x = a === "floating" ? {
238
- x: o,
239
- y: i,
240
- width: s.floating.width,
241
- height: s.floating.height
242
- } : s.reference, y = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c.floating)), b = await (r.isElement == null ? void 0 : r.isElement(y)) ? await (r.getScale == null ? void 0 : r.getScale(y)) || {
243
- x: 1,
244
- y: 1
245
- } : {
246
- x: 1,
247
- y: 1
248
- }, v = J(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
249
- elements: c,
250
- rect: x,
251
- offsetParent: y,
252
- strategy: l
253
- }) : x);
254
- return {
255
- top: (g.top - v.top + h.top) / b.y,
256
- bottom: (v.bottom - g.bottom + h.bottom) / b.y,
257
- left: (g.left - v.left + h.left) / b.x,
258
- right: (v.right - g.right + h.right) / b.x
259
- };
260
- }
261
- const Xt = function(t) {
262
- return t === void 0 && (t = {}), {
263
- name: "flip",
264
- options: t,
265
- async fn(e) {
266
- var n, o;
267
- const {
268
- placement: i,
269
- middlewareData: r,
270
- rects: s,
271
- initialPlacement: c,
272
- platform: l,
273
- elements: f
274
- } = e, {
275
- mainAxis: d = !0,
276
- crossAxis: a = !0,
277
- fallbackPlacements: m,
278
- fallbackStrategy: u = "bestFit",
279
- fallbackAxisSideDirection: h = "none",
280
- flipAlignment: p = !0,
281
- ...w
282
- } = Q(t, e);
283
- if ((n = r.arrow) != null && n.alignmentOffset)
284
- return {};
285
- const g = V(i), x = P(c), y = V(c) === c, b = await (l.isRTL == null ? void 0 : l.isRTL(f.floating)), v = m || (y || !p ? [G(c)] : Ht(c)), z = h !== "none";
286
- !m && z && v.push(...It(c, p, h, b));
287
- const M = [c, ...v], ot = await Ct(e, w), q = [];
288
- let W = ((o = r.flip) == null ? void 0 : o.overflows) || [];
289
- if (d && q.push(ot[g]), a) {
290
- const F = Wt(i, s, b);
291
- q.push(ot[F[0]], ot[F[1]]);
292
- }
293
- if (W = [...W, {
294
- placement: i,
295
- overflows: q
296
- }], !q.every((F) => F <= 0)) {
297
- var dt, mt;
298
- const F = (((dt = r.flip) == null ? void 0 : dt.index) || 0) + 1, it = M[F];
299
- if (it && (!(a === "alignment" ? x !== P(it) : !1) || // We leave the current main axis only if every placement on that axis
300
- // overflows the main axis.
301
- W.every((R) => R.overflows[0] > 0 && P(R.placement) === x)))
302
- return {
303
- data: {
304
- index: F,
305
- overflows: W
306
- },
307
- reset: {
308
- placement: it
309
- }
310
- };
311
- let I = (mt = W.filter((k) => k.overflows[0] <= 0).sort((k, R) => k.overflows[1] - R.overflows[1])[0]) == null ? void 0 : mt.placement;
312
- if (!I)
313
- switch (u) {
314
- case "bestFit": {
315
- var ht;
316
- const k = (ht = W.filter((R) => {
317
- if (z) {
318
- const S = P(R.placement);
319
- return S === x || // Create a bias to the `y` side axis due to horizontal
320
- // reading directions favoring greater width.
321
- S === "y";
322
- }
323
- return !0;
324
- }).map((R) => [R.placement, R.overflows.filter((S) => S > 0).reduce((S, Nt) => S + Nt, 0)]).sort((R, S) => R[1] - S[1])[0]) == null ? void 0 : ht[0];
325
- k && (I = k);
326
- break;
327
- }
328
- case "initialPlacement":
329
- I = c;
330
- break;
331
- }
332
- if (i !== I)
333
- return {
334
- reset: {
335
- placement: I
336
- }
337
- };
338
- }
339
- return {};
340
- }
341
- };
342
- }, Ut = /* @__PURE__ */ new Set(["left", "top"]);
343
- async function Kt(t, e) {
344
- const {
345
- placement: n,
346
- platform: o,
347
- elements: i
348
- } = t, r = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), s = V(n), c = Z(n), l = P(n) === "y", f = Ut.has(s) ? -1 : 1, d = r && l ? -1 : 1, a = Q(e, t);
349
- let {
350
- mainAxis: m,
351
- crossAxis: u,
352
- alignmentAxis: h
353
- } = typeof a == "number" ? {
354
- mainAxis: a,
355
- crossAxis: 0,
356
- alignmentAxis: null
357
- } : {
358
- mainAxis: a.mainAxis || 0,
359
- crossAxis: a.crossAxis || 0,
360
- alignmentAxis: a.alignmentAxis
361
- };
362
- return c && typeof h == "number" && (u = c === "end" ? h * -1 : h), l ? {
363
- x: u * d,
364
- y: m * f
365
- } : {
366
- x: m * f,
367
- y: u * d
368
- };
369
- }
370
- const Gt = function(t) {
371
- return t === void 0 && (t = 0), {
372
- name: "offset",
373
- options: t,
374
- async fn(e) {
375
- var n, o;
376
- const {
377
- x: i,
378
- y: r,
379
- placement: s,
380
- middlewareData: c
381
- } = e, l = await Kt(e, t);
382
- return s === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
383
- x: i + l.x,
384
- y: r + l.y,
385
- data: {
386
- ...l,
387
- placement: s
388
- }
389
- };
390
- }
391
- };
392
- }, Jt = function(t) {
393
- return t === void 0 && (t = {}), {
394
- name: "shift",
395
- options: t,
396
- async fn(e) {
397
- const {
398
- x: n,
399
- y: o,
400
- placement: i
401
- } = e, {
402
- mainAxis: r = !0,
403
- crossAxis: s = !1,
404
- limiter: c = {
405
- fn: (w) => {
406
- let {
407
- x: g,
408
- y: x
409
- } = w;
410
- return {
411
- x: g,
412
- y: x
413
- };
414
- }
415
- },
416
- ...l
417
- } = Q(t, e), f = {
418
- x: n,
419
- y: o
420
- }, d = await Ct(e, l), a = P(V(i)), m = At(a);
421
- let u = f[m], h = f[a];
422
- if (r) {
423
- const w = m === "y" ? "top" : "left", g = m === "y" ? "bottom" : "right", x = u + d[w], y = u - d[g];
424
- u = gt(x, u, y);
425
- }
426
- if (s) {
427
- const w = a === "y" ? "top" : "left", g = a === "y" ? "bottom" : "right", x = h + d[w], y = h - d[g];
428
- h = gt(x, h, y);
429
- }
430
- const p = c.fn({
431
- ...e,
432
- [m]: u,
433
- [a]: h
434
- });
435
- return {
436
- ...p,
437
- data: {
438
- x: p.x - n,
439
- y: p.y - o,
440
- enabled: {
441
- [m]: r,
442
- [a]: s
443
- }
444
- }
445
- };
446
- }
447
- };
448
- };
449
- function tt() {
450
- return typeof window < "u";
451
- }
452
- function $(t) {
453
- return Lt(t) ? (t.nodeName || "").toLowerCase() : "#document";
454
- }
455
- function A(t) {
456
- var e;
457
- return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
458
- }
459
- function E(t) {
460
- var e;
461
- return (e = (Lt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
462
- }
463
- function Lt(t) {
464
- return tt() ? t instanceof Node || t instanceof A(t).Node : !1;
465
- }
466
- function O(t) {
467
- return tt() ? t instanceof Element || t instanceof A(t).Element : !1;
468
- }
469
- function T(t) {
470
- return tt() ? t instanceof HTMLElement || t instanceof A(t).HTMLElement : !1;
471
- }
472
- function yt(t) {
473
- return !tt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof A(t).ShadowRoot;
474
- }
475
- const Qt = /* @__PURE__ */ new Set(["inline", "contents"]);
476
- function Y(t) {
477
- const {
478
- overflow: e,
479
- overflowX: n,
480
- overflowY: o,
481
- display: i
482
- } = C(t);
483
- return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !Qt.has(i);
484
- }
485
- const Zt = /* @__PURE__ */ new Set(["table", "td", "th"]);
486
- function te(t) {
487
- return Zt.has($(t));
488
- }
489
- const ee = [":popover-open", ":modal"];
490
- function et(t) {
491
- return ee.some((e) => {
492
- try {
493
- return t.matches(e);
494
- } catch {
495
- return !1;
496
- }
497
- });
498
- }
499
- const ne = ["transform", "translate", "scale", "rotate", "perspective"], oe = ["transform", "translate", "scale", "rotate", "perspective", "filter"], ie = ["paint", "layout", "strict", "content"];
500
- function lt(t) {
501
- const e = ft(), n = O(t) ? C(t) : t;
502
- return ne.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || oe.some((o) => (n.willChange || "").includes(o)) || ie.some((o) => (n.contain || "").includes(o));
503
- }
504
- function se(t) {
505
- let e = D(t);
506
- for (; T(e) && !_(e); ) {
507
- if (lt(e))
508
- return e;
509
- if (et(e))
510
- return null;
511
- e = D(e);
512
- }
513
- return null;
514
- }
515
- function ft() {
516
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
517
- }
518
- const re = /* @__PURE__ */ new Set(["html", "body", "#document"]);
519
- function _(t) {
520
- return re.has($(t));
521
- }
522
- function C(t) {
523
- return A(t).getComputedStyle(t);
524
- }
525
- function nt(t) {
526
- return O(t) ? {
527
- scrollLeft: t.scrollLeft,
528
- scrollTop: t.scrollTop
529
- } : {
530
- scrollLeft: t.scrollX,
531
- scrollTop: t.scrollY
532
- };
533
- }
534
- function D(t) {
535
- if ($(t) === "html")
536
- return t;
537
- const e = (
538
- // Step into the shadow DOM of the parent of a slotted node.
539
- t.assignedSlot || // DOM Element detected.
540
- t.parentNode || // ShadowRoot detected.
541
- yt(t) && t.host || // Fallback.
542
- E(t)
543
- );
544
- return yt(e) ? e.host : e;
545
- }
546
- function Tt(t) {
547
- const e = D(t);
548
- return _(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : T(e) && Y(e) ? e : Tt(e);
549
- }
550
- function j(t, e, n) {
551
- var o;
552
- e === void 0 && (e = []), n === void 0 && (n = !0);
553
- const i = Tt(t), r = i === ((o = t.ownerDocument) == null ? void 0 : o.body), s = A(i);
554
- if (r) {
555
- const c = ct(s);
556
- return e.concat(s, s.visualViewport || [], Y(i) ? i : [], c && n ? j(c) : []);
557
- }
558
- return e.concat(i, j(i, [], n));
559
- }
560
- function ct(t) {
561
- return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
562
- }
563
- function Et(t) {
564
- const e = C(t);
565
- let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
566
- const i = T(t), r = i ? t.offsetWidth : n, s = i ? t.offsetHeight : o, c = K(n) !== r || K(o) !== s;
567
- return c && (n = r, o = s), {
568
- width: n,
569
- height: o,
570
- $: c
571
- };
572
- }
573
- function at(t) {
574
- return O(t) ? t : t.contextElement;
575
- }
576
- function H(t) {
577
- const e = at(t);
578
- if (!T(e))
579
- return L(1);
580
- const n = e.getBoundingClientRect(), {
581
- width: o,
582
- height: i,
583
- $: r
584
- } = Et(e);
585
- let s = (r ? K(n.width) : n.width) / o, c = (r ? K(n.height) : n.height) / i;
586
- return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
587
- x: s,
588
- y: c
589
- };
590
- }
591
- const ce = /* @__PURE__ */ L(0);
592
- function St(t) {
593
- const e = A(t);
594
- return !ft() || !e.visualViewport ? ce : {
595
- x: e.visualViewport.offsetLeft,
596
- y: e.visualViewport.offsetTop
597
- };
598
- }
599
- function le(t, e, n) {
600
- return e === void 0 && (e = !1), !n || e && n !== A(t) ? !1 : e;
601
- }
602
- function B(t, e, n, o) {
603
- e === void 0 && (e = !1), n === void 0 && (n = !1);
604
- const i = t.getBoundingClientRect(), r = at(t);
605
- let s = L(1);
606
- e && (o ? O(o) && (s = H(o)) : s = H(t));
607
- const c = le(r, n, o) ? St(r) : L(0);
608
- let l = (i.left + c.x) / s.x, f = (i.top + c.y) / s.y, d = i.width / s.x, a = i.height / s.y;
609
- if (r) {
610
- const m = A(r), u = o && O(o) ? A(o) : o;
611
- let h = m, p = ct(h);
612
- for (; p && o && u !== h; ) {
613
- const w = H(p), g = p.getBoundingClientRect(), x = C(p), y = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * w.x, b = g.top + (p.clientTop + parseFloat(x.paddingTop)) * w.y;
614
- l *= w.x, f *= w.y, d *= w.x, a *= w.y, l += y, f += b, h = A(p), p = ct(h);
615
- }
616
- }
617
- return J({
618
- width: d,
619
- height: a,
620
- x: l,
621
- y: f
622
- });
623
- }
624
- function ut(t, e) {
625
- const n = nt(t).scrollLeft;
626
- return e ? e.left + n : B(E(t)).left + n;
627
- }
628
- function Pt(t, e, n) {
629
- n === void 0 && (n = !1);
630
- const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - (n ? 0 : (
631
- // RTL <body> scrollbar.
632
- ut(t, o)
633
- )), r = o.top + e.scrollTop;
634
- return {
635
- x: i,
636
- y: r
637
- };
638
- }
639
- function fe(t) {
640
- let {
641
- elements: e,
642
- rect: n,
643
- offsetParent: o,
644
- strategy: i
645
- } = t;
646
- const r = i === "fixed", s = E(o), c = e ? et(e.floating) : !1;
647
- if (o === s || c && r)
648
- return n;
649
- let l = {
650
- scrollLeft: 0,
651
- scrollTop: 0
652
- }, f = L(1);
653
- const d = L(0), a = T(o);
654
- if ((a || !a && !r) && (($(o) !== "body" || Y(s)) && (l = nt(o)), T(o))) {
655
- const u = B(o);
656
- f = H(o), d.x = u.x + o.clientLeft, d.y = u.y + o.clientTop;
657
- }
658
- const m = s && !a && !r ? Pt(s, l, !0) : L(0);
659
- return {
660
- width: n.width * f.x,
661
- height: n.height * f.y,
662
- x: n.x * f.x - l.scrollLeft * f.x + d.x + m.x,
663
- y: n.y * f.y - l.scrollTop * f.y + d.y + m.y
664
- };
665
- }
666
- function ae(t) {
667
- return Array.from(t.getClientRects());
668
- }
669
- function ue(t) {
670
- const e = E(t), n = nt(t), o = t.ownerDocument.body, i = N(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), r = N(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
671
- let s = -n.scrollLeft + ut(t);
672
- const c = -n.scrollTop;
673
- return C(o).direction === "rtl" && (s += N(e.clientWidth, o.clientWidth) - i), {
674
- width: i,
675
- height: r,
676
- x: s,
677
- y: c
678
- };
679
- }
680
- function de(t, e) {
681
- const n = A(t), o = E(t), i = n.visualViewport;
682
- let r = o.clientWidth, s = o.clientHeight, c = 0, l = 0;
683
- if (i) {
684
- r = i.width, s = i.height;
685
- const f = ft();
686
- (!f || f && e === "fixed") && (c = i.offsetLeft, l = i.offsetTop);
687
- }
688
- return {
689
- width: r,
690
- height: s,
691
- x: c,
692
- y: l
693
- };
694
- }
695
- const me = /* @__PURE__ */ new Set(["absolute", "fixed"]);
696
- function he(t, e) {
697
- const n = B(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, r = T(t) ? H(t) : L(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = i * r.x, f = o * r.y;
698
- return {
699
- width: s,
700
- height: c,
701
- x: l,
702
- y: f
703
- };
704
- }
705
- function vt(t, e, n) {
706
- let o;
707
- if (e === "viewport")
708
- o = de(t, n);
709
- else if (e === "document")
710
- o = ue(E(t));
711
- else if (O(e))
712
- o = he(e, n);
713
- else {
714
- const i = St(t);
715
- o = {
716
- x: e.x - i.x,
717
- y: e.y - i.y,
718
- width: e.width,
719
- height: e.height
720
- };
721
- }
722
- return J(o);
723
- }
724
- function Dt(t, e) {
725
- const n = D(t);
726
- return n === e || !O(n) || _(n) ? !1 : C(n).position === "fixed" || Dt(n, e);
727
- }
728
- function ge(t, e) {
729
- const n = e.get(t);
730
- if (n)
731
- return n;
732
- let o = j(t, [], !1).filter((c) => O(c) && $(c) !== "body"), i = null;
733
- const r = C(t).position === "fixed";
734
- let s = r ? D(t) : t;
735
- for (; O(s) && !_(s); ) {
736
- const c = C(s), l = lt(s);
737
- !l && c.position === "fixed" && (i = null), (r ? !l && !i : !l && c.position === "static" && !!i && me.has(i.position) || Y(s) && !l && Dt(t, s)) ? o = o.filter((d) => d !== s) : i = c, s = D(s);
738
- }
739
- return e.set(t, o), o;
740
- }
741
- function pe(t) {
742
- let {
743
- element: e,
744
- boundary: n,
745
- rootBoundary: o,
746
- strategy: i
747
- } = t;
748
- const s = [...n === "clippingAncestors" ? et(e) ? [] : ge(e, this._c) : [].concat(n), o], c = s[0], l = s.reduce((f, d) => {
749
- const a = vt(e, d, i);
750
- return f.top = N(a.top, f.top), f.right = U(a.right, f.right), f.bottom = U(a.bottom, f.bottom), f.left = N(a.left, f.left), f;
751
- }, vt(e, c, i));
752
- return {
753
- width: l.right - l.left,
754
- height: l.bottom - l.top,
755
- x: l.left,
756
- y: l.top
757
- };
758
- }
759
- function we(t) {
760
- const {
761
- width: e,
762
- height: n
763
- } = Et(t);
764
- return {
765
- width: e,
766
- height: n
767
- };
768
- }
769
- function xe(t, e, n) {
770
- const o = T(e), i = E(e), r = n === "fixed", s = B(t, !0, r, e);
771
- let c = {
772
- scrollLeft: 0,
773
- scrollTop: 0
774
- };
775
- const l = L(0);
776
- function f() {
777
- l.x = ut(i);
778
- }
779
- if (o || !o && !r)
780
- if (($(e) !== "body" || Y(i)) && (c = nt(e)), o) {
781
- const u = B(e, !0, r, e);
782
- l.x = u.x + e.clientLeft, l.y = u.y + e.clientTop;
783
- } else i && f();
784
- r && !o && i && f();
785
- const d = i && !o && !r ? Pt(i, c) : L(0), a = s.left + c.scrollLeft - l.x - d.x, m = s.top + c.scrollTop - l.y - d.y;
786
- return {
787
- x: a,
788
- y: m,
789
- width: s.width,
790
- height: s.height
791
- };
792
- }
793
- function st(t) {
794
- return C(t).position === "static";
795
- }
796
- function bt(t, e) {
797
- if (!T(t) || C(t).position === "fixed")
798
- return null;
799
- if (e)
800
- return e(t);
801
- let n = t.offsetParent;
802
- return E(t) === n && (n = n.ownerDocument.body), n;
803
- }
804
- function Ft(t, e) {
805
- const n = A(t);
806
- if (et(t))
807
- return n;
808
- if (!T(t)) {
809
- let i = D(t);
810
- for (; i && !_(i); ) {
811
- if (O(i) && !st(i))
812
- return i;
813
- i = D(i);
814
- }
815
- return n;
816
- }
817
- let o = bt(t, e);
818
- for (; o && te(o) && st(o); )
819
- o = bt(o, e);
820
- return o && _(o) && st(o) && !lt(o) ? n : o || se(t) || n;
821
- }
822
- const ye = async function(t) {
823
- const e = this.getOffsetParent || Ft, n = this.getDimensions, o = await n(t.floating);
824
- return {
825
- reference: xe(t.reference, await e(t.floating), t.strategy),
826
- floating: {
827
- x: 0,
828
- y: 0,
829
- width: o.width,
830
- height: o.height
831
- }
832
- };
833
- };
834
- function ve(t) {
835
- return C(t).direction === "rtl";
836
- }
837
- const be = {
838
- convertOffsetParentRelativeRectToViewportRelativeRect: fe,
839
- getDocumentElement: E,
840
- getClippingRect: pe,
841
- getOffsetParent: Ft,
842
- getElementRects: ye,
843
- getClientRects: ae,
844
- getDimensions: we,
845
- getScale: H,
846
- isElement: O,
847
- isRTL: ve
848
- };
849
- function kt(t, e) {
850
- return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
851
- }
852
- function Ae(t, e) {
853
- let n = null, o;
854
- const i = E(t);
855
- function r() {
856
- var c;
857
- clearTimeout(o), (c = n) == null || c.disconnect(), n = null;
858
- }
859
- function s(c, l) {
860
- c === void 0 && (c = !1), l === void 0 && (l = 1), r();
861
- const f = t.getBoundingClientRect(), {
862
- left: d,
863
- top: a,
864
- width: m,
865
- height: u
866
- } = f;
867
- if (c || e(), !m || !u)
868
- return;
869
- const h = X(a), p = X(i.clientWidth - (d + m)), w = X(i.clientHeight - (a + u)), g = X(d), y = {
870
- rootMargin: -h + "px " + -p + "px " + -w + "px " + -g + "px",
871
- threshold: N(0, U(1, l)) || 1
872
- };
873
- let b = !0;
874
- function v(z) {
875
- const M = z[0].intersectionRatio;
876
- if (M !== l) {
877
- if (!b)
878
- return s();
879
- M ? s(!1, M) : o = setTimeout(() => {
880
- s(!1, 1e-7);
881
- }, 1e3);
882
- }
883
- M === 1 && !kt(f, t.getBoundingClientRect()) && s(), b = !1;
884
- }
885
- try {
886
- n = new IntersectionObserver(v, {
887
- ...y,
888
- // Handle <iframe>s
889
- root: i.ownerDocument
890
- });
891
- } catch {
892
- n = new IntersectionObserver(v, y);
893
- }
894
- n.observe(t);
895
- }
896
- return s(!0), r;
897
- }
898
- function Re(t, e, n, o) {
899
- o === void 0 && (o = {});
900
- const {
901
- ancestorScroll: i = !0,
902
- ancestorResize: r = !0,
903
- elementResize: s = typeof ResizeObserver == "function",
904
- layoutShift: c = typeof IntersectionObserver == "function",
905
- animationFrame: l = !1
906
- } = o, f = at(t), d = i || r ? [...f ? j(f) : [], ...j(e)] : [];
907
- d.forEach((g) => {
908
- i && g.addEventListener("scroll", n, {
909
- passive: !0
910
- }), r && g.addEventListener("resize", n);
911
- });
912
- const a = f && c ? Ae(f, n) : null;
913
- let m = -1, u = null;
914
- s && (u = new ResizeObserver((g) => {
915
- let [x] = g;
916
- x && x.target === f && u && (u.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
917
- var y;
918
- (y = u) == null || y.observe(e);
919
- })), n();
920
- }), f && !l && u.observe(f), u.observe(e));
921
- let h, p = l ? B(t) : null;
922
- l && w();
923
- function w() {
924
- const g = B(t);
925
- p && !kt(p, g) && n(), p = g, h = requestAnimationFrame(w);
926
- }
927
- return n(), () => {
928
- var g;
929
- d.forEach((x) => {
930
- i && x.removeEventListener("scroll", n), r && x.removeEventListener("resize", n);
931
- }), a == null || a(), (g = u) == null || g.disconnect(), u = null, l && cancelAnimationFrame(h);
932
- };
933
- }
934
- const Oe = Gt, Ce = Jt, Le = Xt, Te = (t, e, n) => {
935
- const o = /* @__PURE__ */ new Map(), i = {
936
- platform: be,
937
- ...n
938
- }, r = {
939
- ...i.platform,
940
- _c: o
941
- };
942
- return qt(t, e, {
943
- ...i,
944
- platform: r
945
- });
946
- };
947
- export {
948
- Re as a,
949
- Te as c,
950
- Le as f,
951
- j as g,
952
- Oe as o,
953
- Ce as s
954
- };