@veeqo/ui 0.1.18 → 0.1.19

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 (369) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +13 -0
  2. package/dist/components/Accordion/Accordion.test.d.ts +1 -0
  3. package/dist/components/Accordion/index.d.ts +1 -0
  4. package/dist/components/Accordion/styled.d.ts +14 -0
  5. package/dist/components/ActionList/ActionList.d.ts +3 -0
  6. package/dist/components/ActionList/ActionList.test.d.ts +1 -0
  7. package/dist/components/ActionList/index.d.ts +1 -0
  8. package/dist/components/ActionList/styled.d.ts +36 -0
  9. package/dist/components/ActionList/types.d.ts +19 -0
  10. package/dist/components/Anchor/Anchor.d.ts +9 -0
  11. package/dist/components/Anchor/Anchor.test.d.ts +1 -0
  12. package/dist/components/Anchor/index.d.ts +1 -0
  13. package/dist/components/Anchor/styled.d.ts +1 -0
  14. package/dist/components/AnimatedDropdown/AnimatedDropdown.d.ts +3 -0
  15. package/dist/components/AnimatedDropdown/AnimatedDropdown.test.d.ts +1 -0
  16. package/dist/components/AnimatedDropdown/components/BasicDropdown.d.ts +5 -0
  17. package/dist/components/AnimatedDropdown/components/BasicDropdown.test.d.ts +1 -0
  18. package/dist/components/AnimatedDropdown/components/styled.d.ts +1 -0
  19. package/dist/components/AnimatedDropdown/hooks/useClickAway.d.ts +2 -0
  20. package/dist/components/AnimatedDropdown/index.d.ts +1 -0
  21. package/dist/components/AnimatedDropdown/styled.d.ts +10 -0
  22. package/dist/components/AnimatedDropdown/types.d.ts +14 -0
  23. package/dist/components/Avatar/Avatar.d.ts +3 -0
  24. package/dist/components/Avatar/Avatar.test.d.ts +1 -0
  25. package/dist/components/Avatar/index.d.ts +1 -0
  26. package/dist/components/Avatar/styled.d.ts +2 -0
  27. package/dist/components/Avatar/types.d.ts +11 -0
  28. package/dist/components/Badge/Badge.d.ts +3 -0
  29. package/dist/components/Badge/Badge.test.d.ts +1 -0
  30. package/dist/components/Badge/index.d.ts +1 -0
  31. package/dist/components/Badge/styled.d.ts +7 -0
  32. package/dist/components/Badge/types.d.ts +35 -0
  33. package/dist/components/Banner/Banner.d.ts +17 -0
  34. package/dist/components/Banner/Banner.test.d.ts +1 -0
  35. package/dist/components/Banner/index.d.ts +1 -0
  36. package/dist/components/Banner/styled.d.ts +16 -0
  37. package/dist/components/Banner/types.d.ts +8 -0
  38. package/dist/components/BaseContainer/BaseContainer.d.ts +1 -0
  39. package/dist/components/BaseContainer/BaseContainer.test.d.ts +1 -0
  40. package/dist/components/BaseContainer/index.d.ts +1 -0
  41. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +3 -0
  42. package/dist/components/Breadcrumbs/Breadcrumbs.test.d.ts +1 -0
  43. package/dist/components/Breadcrumbs/components/Breadcrumb.d.ts +3 -0
  44. package/dist/components/Breadcrumbs/components/styled.d.ts +2 -0
  45. package/dist/components/Breadcrumbs/index.d.ts +1 -0
  46. package/dist/components/Breadcrumbs/types.d.ts +22 -0
  47. package/dist/components/Button/Button.d.ts +9 -0
  48. package/dist/components/Button/Button.test.d.ts +1 -0
  49. package/dist/components/Button/components/styled.d.ts +20 -0
  50. package/dist/components/Button/index.d.ts +1 -0
  51. package/dist/components/Button/types.d.ts +18 -0
  52. package/dist/components/Card/Card.d.ts +28 -0
  53. package/dist/components/Card/Card.test.d.ts +1 -0
  54. package/dist/components/Card/index.d.ts +1 -0
  55. package/dist/components/Card/styled.d.ts +16 -0
  56. package/dist/components/CardHeader/CardHeader.d.ts +19 -0
  57. package/dist/components/CardHeader/CardHeader.test.d.ts +1 -0
  58. package/dist/components/CardHeader/index.d.ts +1 -0
  59. package/dist/components/CardHeader/styled.d.ts +2 -0
  60. package/dist/components/Checkbox/Checkbox.d.ts +14 -0
  61. package/dist/components/Checkbox/Checkbox.test.d.ts +1 -0
  62. package/dist/components/Checkbox/index.d.ts +1 -0
  63. package/dist/components/Checkbox/styled.d.ts +1 -0
  64. package/dist/components/Choice/Choice.d.ts +17 -0
  65. package/dist/components/Choice/components/styled.d.ts +17 -0
  66. package/dist/components/Choice/index.d.ts +1 -0
  67. package/dist/components/ChoiceList/ChoiceList.d.ts +29 -0
  68. package/dist/components/ChoiceList/ChoiceList.test.d.ts +1 -0
  69. package/dist/components/ChoiceList/index.d.ts +1 -0
  70. package/dist/components/ChoiceList/styled.d.ts +2 -0
  71. package/dist/components/CopyToClipboard/CopyToClipboard.d.ts +10 -0
  72. package/dist/components/CopyToClipboard/CopyToClipboard.test.d.ts +1 -0
  73. package/dist/components/CopyToClipboard/index.d.ts +1 -0
  74. package/dist/components/DataTable/DataTable.d.ts +21 -0
  75. package/dist/components/DataTable/DataTable.test.d.ts +1 -0
  76. package/dist/components/DataTable/SkeletonContent/SkeletonContent.d.ts +7 -0
  77. package/dist/components/DataTable/SkeletonContent/index.d.ts +1 -0
  78. package/dist/components/DataTable/SpecificState/SpecificState.d.ts +7 -0
  79. package/dist/components/DataTable/SpecificState/index.d.ts +1 -0
  80. package/dist/components/DataTable/SpecificState/styled.d.ts +8 -0
  81. package/dist/components/DataTable/StickyHeader.d.ts +10 -0
  82. package/dist/components/DataTable/cells/ClickableCell.d.ts +7 -0
  83. package/dist/components/DataTable/cells/EditableCell.d.ts +7 -0
  84. package/dist/components/DataTable/cells/SkeletonCell.d.ts +11 -0
  85. package/dist/components/DataTable/cells/SkeletonHeaderCell.d.ts +8 -0
  86. package/dist/components/DataTable/cells/index.d.ts +3 -0
  87. package/dist/components/DataTable/cells/styled.d.ts +1 -0
  88. package/dist/components/DataTable/index.d.ts +1 -0
  89. package/dist/components/DataTable/styled.d.ts +46 -0
  90. package/dist/components/DataTable/utils/constants.d.ts +9 -0
  91. package/dist/components/DataTable/utils/hooks.d.ts +4 -0
  92. package/dist/components/DataTable/utils/index.d.ts +2 -0
  93. package/dist/components/DataTable/utils/types.d.ts +106 -0
  94. package/dist/components/DataTableExp/DataTable.d.ts +22 -0
  95. package/dist/components/DataTableExp/DataTable.test.d.ts +1 -0
  96. package/dist/components/DataTableExp/components/ActionBar.d.ts +9 -0
  97. package/dist/components/DataTableExp/components/Cell.d.ts +7 -0
  98. package/dist/components/DataTableExp/components/ColumnHeader.d.ts +6 -0
  99. package/dist/components/DataTableExp/components/ColumnMenu.d.ts +8 -0
  100. package/dist/components/DataTableExp/components/EmptyBodyContent.d.ts +5 -0
  101. package/dist/components/DataTableExp/components/Header.d.ts +2 -0
  102. package/dist/components/DataTableExp/components/LoadingCellContent.d.ts +1 -0
  103. package/dist/components/DataTableExp/components/NoWrap.d.ts +1 -0
  104. package/dist/components/DataTableExp/components/Row.d.ts +7 -0
  105. package/dist/components/DataTableExp/components/ScrollContainer.d.ts +1 -0
  106. package/dist/components/DataTableExp/components/SelectionCell.d.ts +11 -0
  107. package/dist/components/DataTableExp/components/SelectionHeader.d.ts +3 -0
  108. package/dist/components/DataTableExp/components/StickyHead.d.ts +9 -0
  109. package/dist/components/DataTableExp/components/TableGrid.d.ts +4 -0
  110. package/dist/components/DataTableExp/components/Truncate.d.ts +1 -0
  111. package/dist/components/DataTableExp/components/Wrapper.d.ts +5 -0
  112. package/dist/components/DataTableExp/constants.d.ts +3 -0
  113. package/dist/components/DataTableExp/hooks/index.d.ts +6 -0
  114. package/dist/components/DataTableExp/hooks/useCellWidths.d.ts +2 -0
  115. package/dist/components/DataTableExp/hooks/useColumns.d.ts +6 -0
  116. package/dist/components/DataTableExp/hooks/useDragToScroll.d.ts +2 -0
  117. package/dist/components/DataTableExp/hooks/useNested.d.ts +7 -0
  118. package/dist/components/DataTableExp/hooks/useScrollPosition.d.ts +6 -0
  119. package/dist/components/DataTableExp/hooks/useSelection.d.ts +12 -0
  120. package/dist/components/DataTableExp/index.d.ts +2 -0
  121. package/dist/components/DataTableExp/renderers/index.d.ts +5 -0
  122. package/dist/components/DataTableExp/renderers/renderCell.d.ts +10 -0
  123. package/dist/components/DataTableExp/renderers/renderFooter.d.ts +13 -0
  124. package/dist/components/DataTableExp/renderers/renderHeader.d.ts +15 -0
  125. package/dist/components/DataTableExp/renderers/renderLoadingCell.d.ts +9 -0
  126. package/dist/components/DataTableExp/renderers/renderNestedCell.d.ts +10 -0
  127. package/dist/components/DataTableExp/types.d.ts +116 -0
  128. package/dist/components/DataTableExp/utils/GetSortIcon.d.ts +9 -0
  129. package/dist/components/DataTableExp/utils/alignmentToFlex.d.ts +2 -0
  130. package/dist/components/DataTableExp/utils/generateTableCss.d.ts +10 -0
  131. package/dist/components/DataTableExp/utils/getNextSortState.d.ts +7 -0
  132. package/dist/components/DataTableExp/utils/getRowState.d.ts +10 -0
  133. package/dist/components/DataTableExp/utils/getRowState.test.d.ts +10 -0
  134. package/dist/components/DataTableExp/utils/index.d.ts +6 -0
  135. package/dist/components/DataTableExp/utils/parseWidth.d.ts +1 -0
  136. package/dist/components/DataTableExp/utils/sumAll.d.ts +2 -0
  137. package/dist/components/DescriptionList/DescriptionList.d.ts +11 -0
  138. package/dist/components/DescriptionList/DescriptionList.test.d.ts +1 -0
  139. package/dist/components/DescriptionList/index.d.ts +1 -0
  140. package/dist/components/DetailPage/DetailPage.d.ts +6 -0
  141. package/dist/components/DetailPage/DetailPage.test.d.ts +1 -0
  142. package/dist/components/DetailPage/index.d.ts +1 -0
  143. package/dist/components/DetailPage/styled.d.ts +2 -0
  144. package/dist/components/DimensionsInput/DimensionsInput.d.ts +3 -0
  145. package/dist/components/DimensionsInput/DimensionsInput.test.d.ts +1 -0
  146. package/dist/components/DimensionsInput/index.d.ts +1 -0
  147. package/dist/components/DimensionsInput/styled.d.ts +34 -0
  148. package/dist/components/DimensionsInput/types.d.ts +15 -0
  149. package/dist/components/FilterTag/FilterTag.d.ts +8 -0
  150. package/dist/components/FilterTag/FilterTag.test.d.ts +1 -0
  151. package/dist/components/FilterTag/index.d.ts +1 -0
  152. package/dist/components/FilterTag/styled.d.ts +14 -0
  153. package/dist/components/FilterTag/types.d.ts +14 -0
  154. package/dist/components/Grid/Grid.test.d.ts +1 -0
  155. package/dist/components/Grid/index.d.ts +2 -0
  156. package/dist/components/Grid/types.d.ts +8 -0
  157. package/dist/components/Image/Image.d.ts +20 -0
  158. package/dist/components/Image/Image.test.d.ts +1 -0
  159. package/dist/components/Image/components/PlaceholderImage.d.ts +2 -0
  160. package/dist/components/Image/components/styled.d.ts +6 -0
  161. package/dist/components/Image/index.d.ts +1 -0
  162. package/dist/components/Image/types.d.ts +6 -0
  163. package/dist/components/Image/utils.d.ts +2 -0
  164. package/dist/components/InputGroup/InputGroup.test.d.ts +1 -0
  165. package/dist/components/InputGroup/index.d.ts +1 -0
  166. package/dist/components/Loader/Grid.d.ts +9 -0
  167. package/dist/components/Loader/Loader.d.ts +3 -0
  168. package/dist/components/Loader/Loader.test.d.ts +1 -0
  169. package/dist/components/Loader/TailSpin.d.ts +9 -0
  170. package/dist/components/Loader/ThreeDots.d.ts +9 -0
  171. package/dist/components/Loader/index.d.ts +1 -0
  172. package/dist/components/Loader/loaderTypes.d.ts +8 -0
  173. package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.d.ts +7 -0
  174. package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.test.d.ts +1 -0
  175. package/dist/components/LoginWithAmazonButton/index.d.ts +1 -0
  176. package/dist/components/LoginWithAmazonButton/styled.d.ts +1 -0
  177. package/dist/components/Modal/Modal.d.ts +3 -0
  178. package/dist/components/Modal/Modal.test.d.ts +1 -0
  179. package/dist/components/Modal/components/Dialog/Dialog.d.ts +8 -0
  180. package/dist/components/Modal/components/Dialog/constants.d.ts +44 -0
  181. package/dist/components/Modal/components/Dialog/styled.d.ts +24 -0
  182. package/dist/components/Modal/components/styled.d.ts +5 -0
  183. package/dist/components/Modal/index.d.ts +1 -0
  184. package/dist/components/Modal/types.d.ts +40 -0
  185. package/dist/components/PageHeader/PageHeader.d.ts +29 -0
  186. package/dist/components/PageHeader/PageHeader.test.d.ts +1 -0
  187. package/dist/components/PageHeader/index.d.ts +1 -0
  188. package/dist/components/PageHeader/styled.d.ts +23 -0
  189. package/dist/components/Pagination/Pagination.d.ts +3 -0
  190. package/dist/components/Pagination/Pagination.test.d.ts +1 -0
  191. package/dist/components/Pagination/components.d.ts +4 -0
  192. package/dist/components/Pagination/hooks/usePagination.d.ts +13 -0
  193. package/dist/components/Pagination/index.d.ts +1 -0
  194. package/dist/components/Pagination/styled.d.ts +29 -0
  195. package/dist/components/Pagination/types.d.ts +8 -0
  196. package/dist/components/PaginationRange/Items/Item/Item.d.ts +3 -0
  197. package/dist/components/PaginationRange/Items/Item/index.d.ts +1 -0
  198. package/dist/components/PaginationRange/Items/Item/styled.d.ts +3 -0
  199. package/dist/components/PaginationRange/Items/Item/types.d.ts +5 -0
  200. package/dist/components/PaginationRange/Items/Items.d.ts +7 -0
  201. package/dist/components/PaginationRange/Items/index.d.ts +1 -0
  202. package/dist/components/PaginationRange/PaginationRange.d.ts +9 -0
  203. package/dist/components/PaginationRange/PaginationRange.test.d.ts +1 -0
  204. package/dist/components/PaginationRange/index.d.ts +1 -0
  205. package/dist/components/PaginationRange/styled.d.ts +6 -0
  206. package/dist/components/PaginationRange/types.d.ts +15 -0
  207. package/dist/components/Popover/Popover.d.ts +15 -0
  208. package/dist/components/Popover/Popover.test.d.ts +1 -0
  209. package/dist/components/Popover/PopoverDemo.d.ts +3 -0
  210. package/dist/components/Popover/index.d.ts +1 -0
  211. package/dist/components/Portal/Portal.d.ts +20 -0
  212. package/dist/components/Portal/index.d.ts +1 -0
  213. package/dist/components/PriceInput/PriceInput.d.ts +3 -0
  214. package/dist/components/PriceInput/PriceInput.test.d.ts +1 -0
  215. package/dist/components/PriceInput/index.d.ts +1 -0
  216. package/dist/components/PriceInput/styled.d.ts +29 -0
  217. package/dist/components/PriceInput/types.d.ts +12 -0
  218. package/dist/components/Radio/Radio.d.ts +12 -0
  219. package/dist/components/Radio/Radio.test.d.ts +1 -0
  220. package/dist/components/Radio/index.d.ts +1 -0
  221. package/dist/components/Radio/styled.d.ts +1 -0
  222. package/dist/components/Search/Search.d.ts +3 -0
  223. package/dist/components/Search/Search.test.d.ts +1 -0
  224. package/dist/components/Search/index.d.ts +1 -0
  225. package/dist/components/Search/styled.d.ts +26 -0
  226. package/dist/components/Search/types.d.ts +9 -0
  227. package/dist/components/SegmentedControl/SegmentedControl.d.ts +3 -0
  228. package/dist/components/SegmentedControl/SegmentedControl.test.d.ts +1 -0
  229. package/dist/components/SegmentedControl/index.d.ts +1 -0
  230. package/dist/components/SegmentedControl/styled.d.ts +1 -0
  231. package/dist/components/SegmentedControl/types.d.ts +13 -0
  232. package/dist/components/Select/Select.d.ts +17 -0
  233. package/dist/components/Select/Select.test.d.ts +1 -0
  234. package/dist/components/Select/index.d.ts +1 -0
  235. package/dist/components/Select/styled.d.ts +1 -0
  236. package/dist/components/SimpleTable/SimpleTable.d.ts +15 -0
  237. package/dist/components/SimpleTable/SimpleTable.test.d.ts +1 -0
  238. package/dist/components/SimpleTable/index.d.ts +1 -0
  239. package/dist/components/SimpleTable/styled.d.ts +15 -0
  240. package/dist/components/SimpleTable/types.d.ts +6 -0
  241. package/dist/components/Slider/Slider.d.ts +3 -0
  242. package/dist/components/Slider/Slider.test.d.ts +1 -0
  243. package/dist/components/Slider/index.d.ts +1 -0
  244. package/dist/components/Slider/styled.d.ts +8 -0
  245. package/dist/components/Slider/types.d.ts +26 -0
  246. package/dist/components/Stack/Alignments.d.ts +8 -0
  247. package/dist/components/Stack/Stack.d.ts +5 -0
  248. package/dist/components/Stack/Stack.test.d.ts +1 -0
  249. package/dist/components/Stack/index.d.ts +1 -0
  250. package/dist/components/Stack/types.d.ts +38 -0
  251. package/dist/components/Stepper/Stepper.d.ts +9 -0
  252. package/dist/components/Stepper/Stepper.test.d.ts +1 -0
  253. package/dist/components/Stepper/index.d.ts +1 -0
  254. package/dist/components/Stepper/styled.d.ts +5 -0
  255. package/dist/components/Tag/Tag.d.ts +5 -0
  256. package/dist/components/Tag/Tag.test.d.ts +1 -0
  257. package/dist/components/Tag/index.d.ts +1 -0
  258. package/dist/components/Text/Text.d.ts +2 -0
  259. package/dist/components/Text/Text.test.d.ts +1 -0
  260. package/dist/components/Text/index.d.ts +1 -0
  261. package/dist/components/Text/textVariants.d.ts +4 -0
  262. package/dist/components/Text/types.d.ts +14 -0
  263. package/dist/components/Text/utils.d.ts +2 -0
  264. package/dist/components/TextField/TextField.d.ts +3 -0
  265. package/dist/components/TextField/TextField.test.d.ts +1 -0
  266. package/dist/components/TextField/index.d.ts +20 -0
  267. package/dist/components/TextField/styled.d.ts +2 -0
  268. package/dist/components/TextField/types.d.ts +26 -0
  269. package/dist/components/ToastsLayout/ToastsLayout.d.ts +3 -0
  270. package/dist/components/ToastsLayout/components/Toast.d.ts +3 -0
  271. package/dist/components/ToastsLayout/components/styled.d.ts +10 -0
  272. package/dist/components/ToastsLayout/index.d.ts +1 -0
  273. package/dist/components/ToastsLayout/types.d.ts +38 -0
  274. package/dist/components/Toggle/Toggle.d.ts +6 -0
  275. package/dist/components/Toggle/Toggle.test.d.ts +1 -0
  276. package/dist/components/Toggle/index.d.ts +1 -0
  277. package/dist/components/Toggle/styled.d.ts +11 -0
  278. package/dist/components/Toggle/types.d.ts +9 -0
  279. package/dist/components/ToggleButton/ToggleButton.d.ts +9 -0
  280. package/dist/components/ToggleButton/ToggleButton.test.d.ts +1 -0
  281. package/dist/components/ToggleButton/index.d.ts +1 -0
  282. package/dist/components/ToggleButton/styled.d.ts +1 -0
  283. package/dist/components/Tooltip/Tooltip.d.ts +2 -0
  284. package/dist/components/Tooltip/Tooltip.test.d.ts +1 -0
  285. package/dist/components/Tooltip/index.d.ts +1 -0
  286. package/dist/components/Tooltip/styled.d.ts +8 -0
  287. package/dist/components/Tooltip/types.d.ts +36 -0
  288. package/dist/components/VideoModal/VideoModal.d.ts +3 -0
  289. package/dist/components/VideoModal/VideoModal.test.d.ts +1 -0
  290. package/dist/components/VideoModal/VideoModalDemo.d.ts +2 -0
  291. package/dist/components/VideoModal/components/Popup.d.ts +8 -0
  292. package/dist/components/VideoModal/components/styled.d.ts +7 -0
  293. package/dist/components/VideoModal/index.d.ts +2 -0
  294. package/dist/components/VideoModal/styled.d.ts +11 -0
  295. package/dist/components/VideoModal/types.d.ts +9 -0
  296. package/dist/components/View/View.d.ts +11 -0
  297. package/dist/components/View/View.test.d.ts +1 -0
  298. package/dist/components/View/index.d.ts +1 -0
  299. package/dist/components/View/styled.d.ts +13 -0
  300. package/dist/components/View/types.d.ts +30 -0
  301. package/dist/components/WeightInput/WeightInput.d.ts +3 -0
  302. package/dist/components/WeightInput/WeightInput.test.d.ts +1 -0
  303. package/dist/components/WeightInput/index.d.ts +1 -0
  304. package/dist/components/WeightInput/styled.d.ts +33 -0
  305. package/dist/components/WeightInput/types.d.ts +21 -0
  306. package/dist/components/index.d.ts +52 -0
  307. package/dist/components/types.d.ts +18 -0
  308. package/dist/hoc/index.d.ts +2 -0
  309. package/dist/hoc/withDeprecated.d.ts +2 -0
  310. package/dist/hoc/withLabels/index.d.ts +1 -0
  311. package/dist/hoc/withLabels/styled.d.ts +5 -0
  312. package/dist/hoc/withLabels/withLabels.d.ts +8 -0
  313. package/dist/hooks/index.d.ts +7 -0
  314. package/dist/hooks/useClickOutside.d.ts +5 -0
  315. package/dist/hooks/useDebounce.d.ts +1 -0
  316. package/dist/hooks/useDropdown.d.ts +6 -0
  317. package/dist/hooks/useFocusVisible.d.ts +11 -0
  318. package/dist/hooks/useHover.d.ts +1 -0
  319. package/dist/hooks/useIsOverflowing.d.ts +9 -0
  320. package/dist/hooks/useTabs.d.ts +6 -0
  321. package/dist/index.d.ts +5 -0
  322. package/dist/index.esm.js +2 -0
  323. package/dist/index.esm.js.map +1 -0
  324. package/dist/index.js +2 -0
  325. package/dist/index.js.map +1 -0
  326. package/dist/tempIcons/ArrowDownIcon.d.ts +2 -0
  327. package/dist/tempIcons/ArrowUpIcon.d.ts +2 -0
  328. package/dist/tempIcons/AttentionIcon.d.ts +2 -0
  329. package/dist/tempIcons/CalendarIcon.d.ts +2 -0
  330. package/dist/tempIcons/ClipboardIcon.d.ts +2 -0
  331. package/dist/tempIcons/CrossIcon.d.ts +2 -0
  332. package/dist/tempIcons/DoubleArrowAscIcon.d.ts +2 -0
  333. package/dist/tempIcons/DoubleArrowDescIcon.d.ts +2 -0
  334. package/dist/tempIcons/DoubleArrowIcon.d.ts +2 -0
  335. package/dist/tempIcons/DoubleArrowIconIcon.d.ts +2 -0
  336. package/dist/tempIcons/DownArrowIcon.d.ts +2 -0
  337. package/dist/tempIcons/DropdownIcon.d.ts +2 -0
  338. package/dist/tempIcons/EditIcon.d.ts +2 -0
  339. package/dist/tempIcons/EndArrowIcon.d.ts +2 -0
  340. package/dist/tempIcons/FailIcon.d.ts +2 -0
  341. package/dist/tempIcons/HelpIcon.d.ts +2 -0
  342. package/dist/tempIcons/InfoIcon.d.ts +2 -0
  343. package/dist/tempIcons/LeftArrowIcon.d.ts +2 -0
  344. package/dist/tempIcons/MergeIcon.d.ts +2 -0
  345. package/dist/tempIcons/MoreHorizIcon.d.ts +2 -0
  346. package/dist/tempIcons/ReorderIcon.d.ts +2 -0
  347. package/dist/tempIcons/RightArrowIcon.d.ts +2 -0
  348. package/dist/tempIcons/SearchIcon.d.ts +2 -0
  349. package/dist/tempIcons/StartArrowIcon.d.ts +2 -0
  350. package/dist/tempIcons/SuccessIcon.d.ts +2 -0
  351. package/dist/tempIcons/UpArrowIcon.d.ts +2 -0
  352. package/dist/tempIcons/VisibilityIcon.d.ts +2 -0
  353. package/dist/tempIcons/VisibilityOffIcon.d.ts +2 -0
  354. package/dist/theme/index.d.ts +454 -0
  355. package/dist/theme/modules/breakpoints.d.ts +7 -0
  356. package/dist/theme/modules/colors.d.ts +116 -0
  357. package/dist/theme/modules/layers.d.ts +6 -0
  358. package/dist/theme/modules/radius.d.ts +7 -0
  359. package/dist/theme/modules/shadows.d.ts +6 -0
  360. package/dist/theme/modules/sizes.d.ts +20 -0
  361. package/dist/theme/modules/text.d.ts +315 -0
  362. package/dist/theme/storybook/components.d.ts +2 -0
  363. package/dist/utils/buildClassnames.d.ts +1 -0
  364. package/dist/utils/color.d.ts +13 -0
  365. package/dist/utils/generateId.d.ts +1 -0
  366. package/dist/utils/index.d.ts +3 -0
  367. package/dist/utils/paginationList.d.ts +4 -0
  368. package/dist/utils/setupIntersectionObserverMock.d.ts +18 -0
  369. package/package.json +1 -1
@@ -0,0 +1,6 @@
1
+ export declare function useDropdown(): {
2
+ shouldShowDropdown: boolean;
3
+ toggleShouldShowDropdown: () => void;
4
+ setShouldShowDropdown: (state: boolean) => void;
5
+ closeDropdown: () => void;
6
+ };
@@ -0,0 +1,11 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ export declare const FocusVisibleContext: React.Context<{
3
+ hadKeyboardEvent: boolean;
4
+ isInitialized: boolean;
5
+ }>;
6
+ export declare function FocusVisibleManager({ children }: PropsWithChildren<{}>): React.JSX.Element;
7
+ export declare function useFocusVisible(): {
8
+ focusVisible: boolean;
9
+ onFocus: () => void;
10
+ onBlur: () => void;
11
+ };
@@ -0,0 +1 @@
1
+ export declare const useHover: (initialState?: boolean) => readonly [boolean, () => void, () => void];
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * A hook to check if a component's contents are overflowing from its boundaries
4
+ * (scrollbar is visible).
5
+ */
6
+ export declare const useIsOverflowing: (ref: HTMLElement | null) => {
7
+ isOverflowing: boolean;
8
+ onScroll: import("react").UIEventHandler<HTMLElement>;
9
+ };
@@ -0,0 +1,6 @@
1
+ interface TabsConfig {
2
+ defaultActiveIndex?: number;
3
+ }
4
+ type ITab = any;
5
+ export declare const useTabs: (tabs: ITab[], config?: TabsConfig) => readonly [any, (key: string) => void];
6
+ export {};
@@ -0,0 +1,5 @@
1
+ export * from './components';
2
+ export * from './hooks';
3
+ export * from './hoc';
4
+ export * from './utils';
5
+ export * from './theme';
@@ -0,0 +1,2 @@
1
+ import e,{useState as t,useCallback as n,useEffect as o,PureComponent as i,forwardRef as l,useRef as r,useMemo as a,Component as s,Fragment as d}from"react";import{CSSTransition as c,TransitionGroup as m}from"react-transition-group";import u,{css as p,createGlobalStyle as g}from"styled-components";import{usePopper as h}from"react-popper";import b from"resize-observer-polyfill";import f,{createPortal as v}from"react-dom";import{motion as x,AnimatePresence as y}from"framer-motion";import{useScroll as w}from"react-use";import C from"lodash.throttle";import E from"react-scrolllock-configurable";const $=u.div.withConfig({displayName:"vui--BaseContainer",componentId:"vui--jtpszk"})`box-sizing:border-box;position:relative;margin:0;padding:0;`,k={inputLabel:"label",inputLabelSmall:"label",headingSmall:"h3",headingMedium:"h3",headingLarge:"h2",headingXL:"h1",headingXXL:"h1",button:"button",buttonSmall:"button"},S=(e,t)=>e||(t?k[t]:void 0),N={brand:{blue:{lightest:"#E4F0F9",light:"#93C6E8",base:"#4CA1D9",dark:"#3878A2",darkest:"#1A384B"},peach:{lightest:"#FDECE9",light:"#F8B2A9",base:"#F48070",dark:"#B65F53",darkest:"#562D27"}},neutral:{ink:{lightest:"#959FA8",light:"#637381",base:"#37424D",dark:"#1B2126"},grey:{lightest:"#FAFAFB",light:"#F2F3F5",base:"#DFE3E8",dark:"#CDD1D5"},greyBlue:{lightest:"#AAC5D8",light:"#558BB1",base:"#406885",dark:"#1E313E"}},secondary:{red:{lightest:"#FDEEEE",light:"#F7BCBC",base:"#EB5757",dark:"#A53D3D",darkest:"#5E2323"},yellow:{lightest:"#FFF6D9",light:"#FFE999",base:"#FFC900",dark:"#BF9600",darkest:"#594600"},green:{lightest:"#E9F7EF",light:"#BEE7CF",base:"#27AE60",dark:"#1B7A43",darkest:"#104626"},lime:{lightest:"#F6FAEB",light:"#DBEBAE",base:"#A5CD35",dark:"#7B9927",darkest:"#394712"},teal:{lightest:"#E5F8F5",light:"#99E5D7",base:"#00BD9A",dark:"#00715C",darkest:"#00392E"},aqua:{lightest:"#EEFAFE",light:"#BBEBFA",base:"#56CCF2",dark:"#3C8FA9",darkest:"#225261"},purple:{lightest:"#F6EFFC",light:"#D9C0F1",base:"#A162DD",dark:"#694090",darkest:"#38224D"},blue:{lightest:"#D9EBF8",light:"#80BCE8",base:"#0079D1",dark:"#005A9C",darkest:"#003053"},pink:{lightest:"#FFF1FC",light:"#FFC7F3",base:"#FFA3EB",dark:"#BF7AB0",darkest:"#593852"},orange:{lightest:"#FEF5ED",light:"#FAD6B7",base:"#F2994A",dark:"#9D6330",darkest:"#613D1E"}},system:{scrollbar:{thumb:"rgba(99, 115, 129, .5)",background:"transparent"}}},L={mobile:"640px",tablet:"720px",lgTablet:"960px",desktop:"1280px",lgDesktop:"1440px"},I={sm:"0.125rem",base:"0.25rem",md:"0.5rem",lg:"0.75rem",full:"50%"};var z,F;!function(e){e.sm="0px 1px 3px rgba(55, 66, 77, 0.15)",e.base="0px 4px 6px rgba(27, 33, 38, 0.2)",e.md="0px 10px 15px rgba(27, 33, 38, 0.2)",e.lg="0px 20px 25px rgba(27, 33, 38, 0.2)"}(z||(z={})),function(e){e.none="none",e.line="line",e.xs="xs",e.sm="sm",e.base="base",e.md="md",e.lg="lg",e.xl="xl",e.xxl="xxl"}(F||(F={}));const j=function({increment:e,unit:t,count:n}){const o={};for(let i=0;i<=n;i++){const n=i*e;o[i]=`${n}${t}`}return o}({increment:.25,unit:"rem",count:20}),B={[F.none]:"0",[F.line]:"1px",[F.xs]:j[1],[F.sm]:j[2],[F.base]:j[4],[F.md]:j[6],[F.lg]:j[8],[F.xl]:j[12],[F.xxl]:j[16]},M=Object.assign(Object.assign({},B),j),H={fontFamily:"Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"},R={headingXXL:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"40px",lineHeight:"56px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"-0.022rem"},headingXL:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"28px",lineHeight:"40px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"-0.02rem"},headingLarge:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"24px",lineHeight:"32px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"-0.019rem"},headingMedium:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"20px",lineHeight:"28px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"-0.017rem"},headingSmall:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"16px",lineHeight:"20px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"-0.011rem"},headingTable:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"12px",lineHeight:"16px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"0"},subheadingLarge:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"20px",lineHeight:"28px",color:N.neutral.ink.light,textDecoration:"none",letterSpacing:"-0.017rem"},subheadingMedium:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"16px",lineHeight:"24px",color:N.neutral.ink.light,textDecoration:"none",letterSpacing:"-0.011rem"},subheadingSmall:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"12px",lineHeight:"16px",color:N.neutral.ink.light,textDecoration:"none",letterSpacing:"0"},subheadingSmallBold:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"12px",lineHeight:"16px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"0"},body:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"14px",lineHeight:"20px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"-0.006rem"},bodySmall:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"12px",lineHeight:"16px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"0"},bodyBold:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"14px",lineHeight:"20px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"-0.006rem"},bodyBoldDark:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"14px",lineHeight:"20px",color:N.neutral.ink.dark,textDecoration:"none",letterSpacing:"0"},bodySmallBold:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"12px",lineHeight:"16px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"0"},button:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"16px",lineHeight:"24px",color:N.secondary.blue.base,textDecoration:"none",letterSpacing:"-0.011rem"},buttonSmall:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"14px",lineHeight:"20px",color:N.secondary.blue.base,textDecoration:"none",letterSpacing:"-0.006rem"},linkLarge:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"20px",lineHeight:"28px",color:N.secondary.blue.base,textDecoration:"underline",letterSpacing:"-0.017rem"},linkMedium:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"16px",lineHeight:"24px",color:N.secondary.blue.base,textDecoration:"underline",letterSpacing:"-0.011rem"},link:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"14px",lineHeight:"20px",color:N.secondary.blue.base,textDecoration:"underline",letterSpacing:"-0.006rem"},linkSmall:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"12px",lineHeight:"16px",color:N.secondary.blue.base,textDecoration:"underline",letterSpacing:"0"},inputLabel:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"14px",lineHeight:"20px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"-0.006rem"},inputLabelSmall:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"12px",lineHeight:"16px",color:N.neutral.ink.base,textDecoration:"none",letterSpacing:"0"},hintText:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"12px",lineHeight:"16px",color:N.neutral.ink.light,textDecoration:"none",letterSpacing:"0"},placeholder:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"14px",lineHeight:"20px",color:N.neutral.ink.lightest,textDecoration:"none",letterSpacing:"-0.006rem"},placeholderSmall:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"12px",lineHeight:"16px",color:N.neutral.ink.lightest,textDecoration:"none",letterSpacing:"0"},placeholderCode:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"14px",lineHeight:"20px",color:N.neutral.ink.lightest,textDecoration:"none",letterSpacing:"0.5rem"},placeholderCodeSmall:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:"normal",fontSize:"12px",lineHeight:"16px",color:N.neutral.ink.lightest,textDecoration:"none",letterSpacing:"0.375rem"},error:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"14px",lineHeight:"20px",color:N.secondary.red.base,textDecoration:"none",letterSpacing:"-0.006rem"},errorSmall:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"12px",lineHeight:"16px",color:N.secondary.red.base,textDecoration:"none",letterSpacing:"0"},successSmall:{fontFamily:H.fontFamily,fontStyle:"normal",fontWeight:600,fontSize:"12px",lineHeight:"16px",color:N.secondary.green.base,textDecoration:"none",letterSpacing:"0"}},O=Object.assign(Object.assign({},H),{breakpoints:L,colors:N,layers:{base:0,popup:1e3,modal:2e3,tooltip:3e3},radius:I,shadows:z,sizes:M,text:R}),{text:D,colors:W,fontFamily:T}=O,A=u.span.attrs((({as:e,variant:t})=>({as:S(e,t)}))).withConfig({displayName:"vui--Text",componentId:"vui--p74sf8"})`box-sizing:border-box;display:inline-block;margin:0;padding:0;font-style:normal;font-weight:normal;font-size:12px;font-family:${T};line-height:16px;color:#37424d;${({variant:e})=>("button"===e||"buttonSmall"===e)&&"\n cursor: pointer;\n background-color: transparent;\n border: 0;\n "} ${({variant:e,muted:t=!1})=>{if(!e)return"";const n=t?W.neutral.ink.lightest:D[e].color;return`\n font-family: ${D[e].fontFamily};\n font-style: ${D[e].fontStyle};\n font-weight: ${D[e].fontWeight};\n font-size: ${D[e].fontSize};\n line-height: ${D[e].lineHeight};\n color: ${n};\n text-decoration: ${D[e].textDecoration};\n letter-spacing: ${D[e].letterSpacing};\n `}}`,Z=t=>e.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"presentation",height:M.md},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0302 5.52997L7.97021 8.5833L4.91021 5.52997L3.97021 6.46997L7.97021 10.47L11.9702 6.46997L11.0302 5.52997Z",fill:"currentColor"})),V=u($).withConfig({displayName:"vui--TapBarChild",componentId:"vui--3ngcs3"})`display:flex;flex-direction:row;align-items:center;`,P=u(V).withConfig({displayName:"vui--Left",componentId:"vui--sjvmul"})`svg{margin-right:12px;height:${M.base};width:${M.base};color:${({glyphColor:e})=>e};}`,q=u(V).withConfig({displayName:"vui--Right",componentId:"vui--1mm1lxm"})`justify-content:flex-end;flex-grow:2;`,X=u($).withConfig({displayName:"vui--TapBar",componentId:"vui--18aoeh9"})`display:flex;flex-direction:column;padding:12px;border-radius:4px;user-select:none;cursor:pointer;${e=>{var t,n;const o=null!==(t=O.colors.neutral.grey.dark)&&void 0!==t?t:"#CDD1D5",i=null!==(n=O.colors.secondary.blue.base)&&void 0!==n?n:"#0079D1";return`\n border: 1px solid ${e.shouldOpen?i:o};\n `}}`,Y=u($).withConfig({displayName:"vui--Top",componentId:"vui--7euo6s"})`display:flex;flex-direction:row;align-items:center;height:16px;`,G=u(Z).withConfig({displayName:"vui--Arrow",componentId:"vui--lqzlzn"})`height:20px;width:auto;margin-left:12px;transition:transform 250ms;${e=>e.shouldOpen?"transform: rotate(180deg);":""}`,U=u(A).withConfig({displayName:"vui--Description",componentId:"vui--lr2qm6"})`margin-top:8px;`,K=u($).withConfig({displayName:"vui--Content",componentId:"vui--1bid6hq"})`margin-top:4px;background:rgba(217, 235, 248, 0.5);padding:10px 26px;transition:opacity 400ms,transform 400ms;&.content-enter{opacity:0;transform:translateY(-6px);}&.content-enter-active{opacity:1;transition:all 200ms;transform:translateY(0px);}&.content-exit{opacity:1;transform:translateY(0px);}&.content-exit-active{opacity:0;transition:all 200ms;transform:translateY(-6px);}`,_=({className:i,children:l,label:r,iconSlot:a,glyphColor:s=N.neutral.ink.lightest,timeout:d=350,transitionClassnames:m="content",description:u,shouldOpenOnMount:p})=>{const[g,h]=t(!1),b=n((()=>h(!g)),[g]);return o((()=>{p&&p!==g&&h(p)}),[]),e.createElement($,{className:i},e.createElement(X,{shouldOpen:g,onClick:b},e.createElement(Y,null,e.createElement(P,{glyphColor:s},a,e.createElement(A,{variant:"body"},r)),e.createElement(q,null,e.createElement(G,{name:"downArrow",shouldOpen:g}))),u&&e.createElement(U,{variant:"hintText"},u)),e.createElement(c,{in:g,timeout:d,classNames:m,unmountOnExit:!0},e.createElement(K,null,l)))},J=e=>`${e}-${Math.floor(1e3*Math.random())}`;class Q extends i{constructor(e){super(e),this.id=J("portal"),this.portalNode=null,this.state={isMounted:!1}}componentDidMount(){const{rootElementRef:e}=this.props;this.portalNode=document.createElement("div"),this.portalNode.setAttribute("id",`portal-${this.id}`),this.portalNode.style.cssText="position: absolute; top: 0; left: 0;",e?null==e||e.appendChild(this.portalNode):document.body.appendChild(this.portalNode),this.setState({isMounted:!0})}componentWillUnmount(){if(this.portalNode){const{rootElementRef:e}=this.props;e?e.removeChild(this.portalNode):document.body.removeChild(this.portalNode)}}render(){const{children:e}=this.props,{isMounted:t}=this.state;return this.portalNode&&t?v(e,this.portalNode):null}}const ee=u.div.withConfig({displayName:"vui--Backdrop",componentId:"vui--d5k10p"})`position:fixed;top:0;right:0;bottom:0;left:0;z-index:${({zIndex:e})=>e};`,te=u.div.withConfig({displayName:"vui--PopoverWrapper",componentId:"vui--13ndjce"})`z-index:${({zIndex:e})=>e+1};`,ne=({children:n,className:i,anchorElement:l,rootElementRef:r,placement:a="bottom",onShouldClose:s,zIndex:d=O.layers.popup})=>{const[c,m]=t(null),{styles:u,attributes:p,update:g}=h(l,c,{placement:a});return o((()=>{if(!g||!c)return;const e=new b(g);return e.observe(c),()=>{e.disconnect()}}),[g,c]),o((()=>{if(g)return window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}}),[g]),e.createElement(Q,{rootElementRef:r},s&&e.createElement(ee,{onClick:s,zIndex:d}),e.createElement(te,Object.assign({ref:m,className:i,zIndex:d,style:Object.assign({},u.popper)},p.popper),n))};function oe(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n}"function"==typeof SuppressedError&&SuppressedError;const ie=({width:t,height:n,className:o,color:i,label:l})=>e.createElement("svg",{width:t,height:n,className:o,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg","aria-label":l},e.createElement("defs",null,e.createElement("linearGradient",{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"},e.createElement("stop",{stopColor:i,stopOpacity:"0",offset:"0%"}),e.createElement("stop",{stopColor:i,stopOpacity:".631",offset:"63.146%"}),e.createElement("stop",{stopColor:i,offset:"100%"}))),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(1 1)"},e.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18",id:"Oval-2",stroke:i,strokeWidth:"2"},e.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"})),e.createElement("circle",{fill:"#fff",cx:"36",cy:"18",r:"1"},e.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}))))),le=({width:t,height:n,className:o,color:i,label:l})=>e.createElement("svg",{width:t,height:n,className:o,viewBox:"0 0 105 105",fill:i,"aria-label":l},e.createElement("circle",{cx:"12.5",cy:"12.5",r:"12.5"},e.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),e.createElement("circle",{cx:"12.5",cy:"52.5",r:"12.5"},e.createElement("animate",{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),e.createElement("circle",{cx:"52.5",cy:"12.5",r:"12.5"},e.createElement("animate",{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),e.createElement("circle",{cx:"52.5",cy:"52.5",r:"12.5"},e.createElement("animate",{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),e.createElement("circle",{cx:"92.5",cy:"12.5",r:"12.5"},e.createElement("animate",{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),e.createElement("circle",{cx:"92.5",cy:"52.5",r:"12.5"},e.createElement("animate",{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),e.createElement("circle",{cx:"12.5",cy:"92.5",r:"12.5"},e.createElement("animate",{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),e.createElement("circle",{cx:"52.5",cy:"92.5",r:"12.5"},e.createElement("animate",{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),e.createElement("circle",{cx:"92.5",cy:"92.5",r:"12.5"},e.createElement("animate",{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),re=({width:t,height:n,className:o,color:i,label:l})=>e.createElement("svg",{width:t,height:n,className:o,viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:i,"aria-label":l},e.createElement("circle",{cx:"15",cy:"15",r:"15"},e.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),e.createElement("animate",{attributeName:"fillOpacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),e.createElement("circle",{cx:"60",cy:"15",r:"9",attributeName:"fillOpacity",from:"1",to:"0.3"},e.createElement("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),e.createElement("animate",{attributeName:"fillOpacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),e.createElement("circle",{cx:"105",cy:"15",r:"15"},e.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),e.createElement("animate",{attributeName:"fillOpacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}))),ae=({className:t,height:n=24,width:o=24,color:i="#588CB0",type:l="TailSpin"})=>{switch(l){case"Grid":return e.createElement(le,{className:t,height:n,width:o,color:i});case"ThreeDots":return e.createElement(re,{className:t,height:n,width:o,color:i});default:return e.createElement(ie,{className:t,height:n,width:o,color:i})}},se=u.span.withConfig({displayName:"vui--MainContent",componentId:"vui--exbqdz"})`display:inline-flex;align-items:center;gap:${({hasText:e})=>e?"8px":"4px"};${({loading:e})=>e&&"opacity: 0;"};svg{width:${({size:e})=>M[e]};height:${({size:e})=>M[e]};}`,de=u.button.withConfig({displayName:"vui--BaseButton",componentId:"vui--nvz516"})`position:relative;box-sizing:border-box;appearance:none;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-family:${O.fontFamily};font-weight:400;border:1px solid;background-color:transparent;white-space:nowrap;${e=>{let t="40px",n="24px",o="24px",i="8px",l="16px",r="4px";return e.hasIcon&&(n="16px"),e.hasDropdown&&(o="16px"),"sm"===e.size&&(t="32px",n="16px",o="16px",i="4px",l="14px",r="2px",e.hasIcon&&(n="8px"),e.hasDropdown&&(o="8px")),e.hasText||(n="8px",o="8px"),`\n --outline-width: ${r};\n\n height: ${t};\n padding-left: ${n};\n padding-right: ${o};\n border-radius: ${i};\n font-size: ${l};\n `}} &:hover{cursor:pointer;}&:disabled{pointer-events:none;cursor:unset !important;}& > span{position:relative;top:-1px;}`,ce=u(de).withConfig({displayName:"vui--DefaultButton",componentId:"vui--1xzjfje"})`border-color:${O.colors.neutral.grey.dark};background-color:white;box-shadow:0 1px 3px rgba(55, 66, 77, 0.15);color:${({hasText:e})=>e?O.colors.neutral.ink.base:O.colors.secondary.blue.base};&:hover{background-color:${O.colors.neutral.grey.lightest};}&:active{background-color:${O.colors.neutral.grey.lightest};border-color:${O.colors.secondary.blue.base};box-shadow:0 0 0 var(--outline-width)${O.colors.secondary.blue.light};}&:focus-visible{box-shadow:0 0 0 var(--outline-width)${O.colors.secondary.blue.light};outline:0;}&:disabled{box-shadow:none !important;background-color:${O.colors.neutral.grey.base} !important;border-color:${O.colors.neutral.grey.base} !important;color:${O.colors.neutral.ink.light} !important;}`,me=u(ce).withConfig({displayName:"vui--DefaultDestructiveButton",componentId:"vui--1ixaf03"})`color:${O.colors.secondary.red.base};&:hover{color:${O.colors.secondary.red.dark};}&:active{border-color:${O.colors.secondary.red.base};box-shadow:0 0 0 var(--outline-width)${O.colors.secondary.red.light};color:${O.colors.secondary.red.dark};}&:focus-visible{box-shadow:0 0 0 var(--outline-width)${O.colors.secondary.red.light};}`,ue=u(ce).withConfig({displayName:"vui--PrimaryButton",componentId:"vui--16w0ufk"})`background-color:${O.colors.secondary.blue.base};border-color:${O.colors.secondary.blue.base};color:white;&:hover{background-color:${O.colors.secondary.blue.dark};border-color:${O.colors.secondary.blue.dark};}&:active{background-color:${O.colors.secondary.blue.dark};border-color:${O.colors.secondary.blue.dark};box-shadow:0 0 0 var(--outline-width)${O.colors.secondary.blue.light};}&:focus-visible{box-shadow:0 0 0 var(--outline-width)${O.colors.secondary.blue.light};}`,pe=u(ue).withConfig({displayName:"vui--PrimaryDestructiveButton",componentId:"vui--1w3lv3r"})`background-color:${O.colors.secondary.red.base};border-color:${O.colors.secondary.red.base};color:white;&:hover{background-color:${O.colors.secondary.red.dark};border-color:${O.colors.secondary.red.dark};}&:active{background-color:${O.colors.secondary.red.dark};border-color:${O.colors.secondary.red.dark};box-shadow:0 0 0 var(--outline-width)${O.colors.secondary.red.light};}&:focus-visible{box-shadow:0 0 0 var(--outline-width)${O.colors.secondary.red.light};}`,ge=u(de).withConfig({displayName:"vui--FlatButton",componentId:"vui--fqczse"})`border-color:transparent;box-shadow:none;color:${O.colors.neutral.ink.base};&:hover{background-color:rgba(0, 0, 0, 0.1);}&:active{background-color:rgba(0, 0, 0, 0.1);}&:focus-visible{box-shadow:0 0 0 var(--outline-width)${O.colors.secondary.blue.light};outline:0;}&:disabled{background-color:transparent;border-color:transparent;}`,he=u.button.withConfig({displayName:"vui--UnstyledButton",componentId:"vui--1fxilc"})`appearance:none;border:0;background-color:transparent;padding:0;font:inherit;&:hover{cursor:pointer;}`,be=u(he).withConfig({displayName:"vui--LinkButton",componentId:"vui--z932nb"})`display:inline-flex;flex-direction:row;align-items:center;font-family:${O.text.link.fontFamily};font-size:${O.text.link.fontSize};font-weight:${O.text.link.fontWeight};line-height:${O.text.link.lineHeight};text-decoration:${O.text.link.textDecoration};color:${O.colors.secondary.blue.base};&:hover{color:${O.colors.secondary.blue.dark};}& > * + *{margin-left:${O.sizes.xs};}& > span{position:relative;top:-1px;}`,fe=u.div.withConfig({displayName:"vui--LoadingWrapper",componentId:"vui--1qt232p"})`position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;margin-left:0;`,ve=t=>e.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 6L8 10L12 6H4Z",fill:"currentColor"})),xe={default:ce,primary:ue,destructive:me,primaryDestructive:pe,flat:ge,link:be,unstyled:he},ye=l(((t,n)=>{var{className:o,children:i,icon:l,variant:r="default",size:a="base",dropdown:s=!1,loading:d=!1}=t,c=oe(t,["className","children","icon","variant","size","dropdown","loading"]);if("unstyled"===r)return e.createElement(he,Object.assign({ref:n,className:o},c),i);const m=xe[r],u=void 0!==i,p=!!l;return e.createElement(m,Object.assign({ref:n,className:o,size:a,hasText:u,hasIcon:p,hasDropdown:s},c),(u||p)&&e.createElement(se,{loading:d,hasText:!!i,size:i||"sm"===a?"base":"md"},l&&l,void 0!==i&&e.createElement("span",null,i),s&&e.createElement(ve,null)),d&&e.createElement(fe,null,e.createElement(ae,null)))})),we=u.header.withConfig({displayName:"vui--Header",componentId:"vui--oa1a54"})`padding-top:${M.md};padding-right:${M.md};padding-left:${M.md};margin-bottom:${M.md};& > * + *{margin-top:${M.xs};}`,Ce=u.div.withConfig({displayName:"vui--HeaderGrid",componentId:"vui--129vg5d"})`/*${M.base}*/display:flex;justify-content:flex-end;align-items:center;& > *:first-child{flex:1;}`,Ee=t=>e.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"presentation",height:M.md},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.91021 10.47L7.97021 7.4167L11.0302 10.47L11.9702 9.53003L7.97021 5.53003L3.97021 9.53003L4.91021 10.47Z",fill:"currentColor"})),$e=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"presentation",height:24,width:24},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 6.51071L17.4893 5L11.5 10.9893L5.51071 5L4 6.51071L9.98929 12.5L4 18.4893L5.51071 20L11.5 14.0107L17.4893 20L19 18.4893L13.0107 12.5L19 6.51071Z",fill:"currentColor"})),ke=({id:t,title:n,subtitle:o,headerVariant:i="headingSmall",action:l,ActionSlot:r,isCollapsed:a,onClickCollapse:s,onClickClose:d})=>e.createElement(we,null,e.createElement(Ce,null,e.createElement(A,{id:t,variant:i},n),l&&e.createElement(ye,{variant:"link",onClick:l.onClick},l.title),r,s&&e.createElement(ye,{variant:"flat",icon:a?e.createElement(Z,null):e.createElement(Ee,null),onClick:s}),d&&e.createElement(ye,{variant:"flat",icon:e.createElement($e,null),onClick:d,"aria-label":"Close"})),o&&e.createElement(A,{variant:"subheadingSmall"},o)),{grey:Se}=N.neutral,Ne={0:"none",1:z.sm,2:z.base,3:z.md,4:z.lg},Le={info:N.secondary.blue.base,success:N.secondary.green.base,error:N.secondary.red.base},Ie=u.footer.withConfig({displayName:"vui--Footer",componentId:"vui--livrdi"})`margin-top:${M.base};padding:${M.md};z-index:2;`,ze=u.section.withConfig({displayName:"vui--Section",componentId:"vui--z99ese"})`padding-right:${M.md};padding-left:${M.md};margin-top:${M.md};margin-bottom:${M.md};font-family:${R.body.fontFamily};font-size:${R.body.fontSize};font-weight:${R.body.fontWeight};line-height:${R.body.lineHeight};color:${R.body.color};& + &{border-top:${M.line} solid ${Se.base};padding-top:${M.md};}`,Fe=u.div.withConfig({displayName:"vui--FullBleed",componentId:"vui--1lgjeo7"})`margin-left:-${M.md};margin-right:-${M.md};`,je=u(x.div).withConfig({displayName:"vui--Body",componentId:"vui--pfgeh3"})`overflow-y:hidden;&:not(:first-child)> ${ze}:first-child{margin-top:0;}`,Be=u.div.withConfig({displayName:"vui--Surface",componentId:"vui--g1wpqa"})`position:relative;width:100%;background-color:white;border:${M.line} solid ${Se.base};box-shadow:${e=>void 0!==e.elevation?Ne[e.elevation]:z.sm};border-radius:${I.md};overflow:hidden;box-sizing:border-box;${({accent:e})=>e&&`\n &::after {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: ${M.xs};\n background-color: ${Le[e]};\n }\n `}`,Me={expanded:{height:"auto"},collapsed:{height:0}},He=({className:n,style:o,title:i,subtitle:l,HeaderActionSlot:r,action:a,collapsable:s,elevation:d,accent:c,children:m,onClose:u,renderFooter:p})=>{const[g,h]=t(!1),b=i&&e.createElement(ke,{title:i,subtitle:l,ActionSlot:r,action:a,onClickClose:u,isCollapsed:g,onClickCollapse:s?()=>{h(!g)}:void 0}),f=s&&!g||!s,v=e.createElement(je,{animate:f?"expanded":"collapsed",variants:Me,transition:{duration:.3,ease:"easeOut"}},e.createElement(ze,null,m)),x=void 0!==p&&e.createElement(Ie,null,p());return e.createElement(Be,{className:n,style:o,elevation:d,accent:c},b,v,x)};He.Surface=Be,He.Section=ze,He.FullBleed=Fe,He.Footer=Ie;const{sizes:Re,colors:Oe,text:De}=O,We=u(He.Surface).withConfig({displayName:"vui--ListCard",componentId:"vui--kw21jd"})`min-width:280px;padding:${Re.base} 0;display:flex;flex-direction:column;`,Te=u.section.withConfig({displayName:"vui--Section",componentId:"vui--1s2yh62"})`display:flex;flex-direction:column;& + &{border-top:1px solid ${Oe.neutral.grey.base};margin-top:${Re.base};padding-top:${Re.base};}`,Ae=u(A).attrs({variant:"subheadingSmall"}).withConfig({displayName:"vui--SectionHeading",componentId:"vui--pmpwvh"})`margin:${Re.sm} ${Re.base} ${Re.sm};`,Ze=u(ye).attrs({variant:"unstyled"}).withConfig({displayName:"vui--Item",componentId:"vui--16t44ko"})`box-sizing:border-box;min-height:${Re.lg};padding:${Re.xs} ${Re.base};display:flex;align-items:center;white-space:nowrap;font-family:${De.body.fontFamily};font-size:${De.body.fontSize};font-weight:${De.body.fontWeight};&:hover{background-color:${Oe.neutral.grey.light};color:${Oe.secondary.blue.base};}& > * + *{margin-left:${Re[3]};}`,Ve={item:Ze,action:u(Ze).withConfig({displayName:"vui--ActionItem",componentId:"vui--18nrzt0"})`color:${Oe.secondary.blue.base};`,link:u(Ze).withConfig({displayName:"vui--LinkItem",componentId:"vui--1vta1xq"})`color:${Oe.secondary.blue.base};text-decoration:underline;`},Pe=({title:n,items:o=[],sections:i,buttonVariant:l,buttonSize:r})=>{const[a,s]=t(!1),[d,c]=t(null),m=t=>{const n=Ve[t.variant||"item"];return e.createElement(n,{onClick:()=>{return e=t.onClick,s(!1),void e();var e},key:t.title},t.icon&&t.icon,e.createElement("span",null,t.title))},u=i?i.map((t=>e.createElement(Te,{key:t.title},t.title&&e.createElement(Ae,null,t.title),t.items.map(m)))):o.map(m);return e.createElement(e.Fragment,null,e.createElement(ye,{dropdown:!0,variant:l,size:r,onClick:()=>s(!a),ref:c},n),a&&e.createElement(ne,{anchorElement:d,placement:"bottom-start",onShouldClose:()=>s(!1)},e.createElement(We,null,u)))},qe=u.a.withConfig({displayName:"vui--CommonAnchor",componentId:"vui--14i39s8"})`box-sizing:border-box;display:inline-flex;margin:0;padding:0;font-family:${O.text.link.fontFamily};font-style:${O.text.link.fontStyle};font-weight:${O.text.link.fontWeight};font-size:${O.text.link.fontSize};line-height:${O.text.link.lineHeight};color:${O.colors.secondary.blue.base};text-decoration:${O.text.link.textDecoration};&:hover{color:${O.colors.secondary.blue.dark};}`,Xe=({children:t,className:n,text:o,href:i,target:l})=>e.createElement(qe,{href:i,target:l,className:n},t||o),Ye=u($).withConfig({displayName:"vui--Container",componentId:"vui--r1m0qe"})`display:inline-flex;background-color:#ffffff;box-shadow:1px 4px 15px rgba(27, 33, 38, 0.25);border-radius:4px;overflow:hidden;`,Ge=l(((t,n)=>{const{children:o,className:i}=t;return e.createElement(Ye,{className:i,ref:n},o)})),Ue=u($).withConfig({displayName:"vui--Container",componentId:"vui--q4276w"})`display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;`,Ke=u($).withConfig({displayName:"vui--Wrap",componentId:"vui--cfebb1"})`display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;min-width:100%;`,_e=u(Ge).withConfig({displayName:"vui--Dropdown",componentId:"vui--u4w0zl"})`flex-direction:column;position:absolute;z-index:3;${e=>e.reversed?"bottom: 8px;":"top: 6px;"} &.dropdown-enter{opacity:0;transform:translateY(-6px);}&.dropdown-enter-active{opacity:1;transition:all 200ms;transform:translateY(0px);}&.dropdown-exit{opacity:1;transform:translateY(0px);}&.dropdown-exit-active{opacity:0;transition:all 200ms;transform:translateY(-6px);}`,Je=({cta:t,shouldShowDropdown:n,children:i,className:l="animated-dropdown",reversed:a=!1,onClickAway:s=(()=>{}),timeout:d=350,transitionClassnames:m="dropdown",onClick:u,onMouseEnter:p,onMouseLeave:g})=>{const h=r(null);return((e,t)=>{o((()=>{const n=n=>{e.current&&!e.current.contains(n.target)&&t(n)};return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}}),[e,t])})(h,(e=>{n&&s(e)})),e.createElement(Ue,{className:`${l}-container ${l}`,onClick:u,onMouseEnter:p,onMouseLeave:g,ref:h},!a&&t,e.createElement(Ke,{className:`${l}-wrap ${l}`},e.createElement(c,{in:n,timeout:d,classNames:m,unmountOnExit:!0},e.createElement(_e,{reversed:a,className:`${l}-basic-dropdown ${l}`},i))),a&&t)},Qe=u.div.withConfig({displayName:"vui--AvatarSC",componentId:"vui--1gxc5tv"})`width:${e=>e.width};height:${e=>e.width};border:3px solid ${O.colors.neutral.grey.base};color:${e=>e.textColor};background-color:${e=>e.bgColor};cursor:pointer;border-radius:50%;display:flex;justify-content:center;align-items:center;background-size:cover;span{font-family:${O.text.bodySmallBold.fontFamily};font-weight:${O.text.bodySmallBold.fontWeight};font-size:${O.text.bodySmallBold.fontSize};line-height:${O.text.bodySmallBold.lineHeight};}`,et=({width:t="40px",name:n="Veeqo",bgColor:o=O.colors.secondary.blue.base,textColor:i="#ffffff"})=>{const l=n.toUpperCase().match(/\b(\w)/g);return e.createElement(Qe,{width:t,bgColor:o,textColor:i,className:"avatar"},null==l?void 0:l.slice(0,2).map(((t,n)=>e.createElement("span",{key:`${t}-${n}`},t))))};var tt,nt;!function(e){e.end="end",e.start="start"}(tt||(tt={})),function(e){e.BOTTOM="bottom",e.TOP="top"}(nt||(nt={}));const ot=u.div.withConfig({displayName:"vui--Container",componentId:"vui--12sulil"})`display:inline-block;`,it=u(ot).withConfig({displayName:"vui--Hoverable",componentId:"vui--17ltyut"})``,lt=u(A).withConfig({displayName:"vui--TooltipText",componentId:"vui--183a4l5"})`color:${O.colors.neutral.grey.lightest};white-space:pre-line;overflow-wrap:break-word;display:inline;`,rt=u.div.withConfig({displayName:"vui--Triangle",componentId:"vui--rjghyf"})`background-color:#333;height:16px;width:16px;position:absolute;transform:rotate(45deg);z-index:12;`,at=u.div.withConfig({displayName:"vui--Tip",componentId:"vui--1v5pppn"})`transition:${({duration:e})=>`opacity ${e}ms`};&.tip-enter{opacity:0;}&.tip-enter-active{opacity:1;}&[data-popper-placement^='top-start'] > #veeqo-components-triangle{left:8px;bottom:0px;}&[data-popper-placement^='top-end'] > #veeqo-components-triangle{right:8px;bottom:0px;}&[data-popper-placement^='bottom-start'] > #veeqo-components-triangle{left:8px;top:-4px;}&[data-popper-placement^='bottom-end'] > #veeqo-components-triangle{right:8px;top:-4px;}`,st=u(ot).withConfig({displayName:"vui--Wrap",componentId:"vui--1xs3k5t"})`font-size:14px;overflow:hidden;padding:16px 20px;border-radius:4px;box-shadow:0 6px 1em -0.5em rgba(0, 0, 0, 0.35);background:#333;color:#fff;z-index:10;min-width:${({tipMinWidth:e})=>e}px;max-width:${({tipMaxWidth:e})=>e}px;`,dt={duration:400,side:nt.TOP,triangleOffset:8,tipMinWidth:60,tipMaxWidth:340},ct=({children:o,text:i,content:l,config:r,reversed:a=!1,className:s,withTriangle:d,initialShouldShow:c=!1,useReactPortal:m=!0})=>{const u=!!i&&i.trim().length>0,p=Object.assign(Object.assign({},dt),r),{duration:g,side:b,triangleOffset:v,tipMinWidth:x,tipMaxWidth:y}=p,w={container:s&&`${s} ${s}-container`,tip:s&&`${s}-tip`,wrap:s&&`${s}-wrap`,triangle:s&&`${s}-triangle`,hoverable:s&&`${s}-hoverable`},[C,E]=t(c),[$,k]=t(null),[S,N]=t(null),{styles:L,attributes:I}=h($,S,{placement:`${b}-${a?"end":"start"}`,modifiers:[{name:"offset",options:{offset:[0,10]}}]}),z=n((()=>E(!0)),[E]),F=n((()=>E(!1)),[E]),j=Object.assign(Object.assign({},L.popper),{zIndex:O.layers.tooltip}),B=C&&(l||u)&&e.createElement(at,Object.assign({className:w.tip,ref:N,duration:g,triangleOffsetSize:v,style:j},I.popper,{role:"tooltip"}),e.createElement(st,{className:w.wrap,tipMinWidth:x,tipMaxWidth:y},null!=l?l:e.createElement(lt,null,i)),d&&e.createElement(rt,{id:"veeqo-components-triangle",className:w.triangle}));return e.createElement(ot,{className:w.container},m?f.createPortal(B,document.body):B,e.createElement(it,{ref:k,className:w.hoverable,onMouseEnter:z,onMouseLeave:F},o))},mt=u($).withConfig({displayName:"vui--BaseBadge",componentId:"vui--1l3fzu"})`display:inline-flex;align-items:center;vertical-align:middle;gap:4px;padding:0.35em 0.65em;font-family:${R.bodySmall.fontFamily};font-weight:${R.bodySmall.fontWeight};font-size:75%;line-height:16px;border-radius:0.75rem;border:${e=>e.hideBorder?"none":"1px solid transparent"};cursor:default;svg{width:${M.base};height:${M.base};}`,ut=u(mt).withConfig({displayName:"vui--DefaultBadge",componentId:"vui--rwc6j0"})`background-color:inherit;border-color:${N.secondary.blue.base};color:${N.secondary.blue.base};`,pt=u(mt).withConfig({displayName:"vui--PrimaryBadge",componentId:"vui--1fakkjy"})`border-color:${N.secondary.blue.base};background-color:${N.secondary.blue.lightest};color:${N.secondary.blue.base};`,gt=u(mt).withConfig({displayName:"vui--WarningBadge",componentId:"vui--1r2egf1"})`border-color:${N.secondary.yellow.base};background-color:${N.secondary.yellow.lightest};color:${N.secondary.orange.dark};`,ht=e=>e.filter(Boolean).join(" "),bt={default:ut,primary:pt,warning:gt},ft=({variant:t="default",hideBorder:n=!1,iconSlot:o,tooltip:i,className:l,e2eClassName:r,children:a})=>{const s=bt[t];return e.createElement(ct,{text:i},e.createElement(s,{className:ht([l,r]),hideBorder:n},o&&o,a&&e.createElement("span",null,a)))},vt=u($).withConfig({displayName:"vui--BannerLayout",componentId:"vui--c6sp3u"})`display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:20px 24px 24px 24px;border-radius:4px;${({accentColor:e})=>e&&`\n box-shadow: 0px 1px 3px rgba(55, 66, 77, 0.15), inset 4px 0px 0px ${e};\n `} background-color:${({backgroundColor:e})=>e||"white"};`,xt=u($).withConfig({displayName:"vui--Row",componentId:"vui--1rdjrmx"})`display:flex;flex-direction:row;`,yt=u($).withConfig({displayName:"vui--Col",componentId:"vui--1ttgibs"})`display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;`,wt=u(yt).withConfig({displayName:"vui--IconCol",componentId:"vui--1z6c5f"})`svg{width:${M.md};height:${M.md};color:${({accentColor:e})=>e};}`,Ct=u($).withConfig({displayName:"vui--ChildContainer",componentId:"vui--kn3qcr"})`width:100%;`,Et=u(yt).withConfig({displayName:"vui--HeaderCol",componentId:"vui--1nlkkdb"})`flex-grow:2;margin-right:12px;`,$t=u(A).withConfig({displayName:"vui--StyledText",componentId:"vui--1ioilg"})`position:relative;top:-2px;`,kt={help:N.secondary.blue.base,info:N.neutral.ink.base,error:N.secondary.red.base,success:N.secondary.green.base},St=t=>{var{type:n="info",text:o,icon:i,onClose:l,className:r,header:a,children:s,backgroundColor:d="white"}=t,c=oe(t,["type","text","icon","onClose","className","header","children","backgroundColor"]);const m=kt[n];return e.createElement(vt,Object.assign({accentColor:m,className:r,backgroundColor:d},c),e.createElement(xt,null,i&&e.createElement(wt,{style:{marginRight:M.md},accentColor:m},i),s?e.createElement(Ct,null,s):e.createElement(e.Fragment,null,e.createElement(Et,null,a||e.createElement($t,{variant:"headingSmall"},o)),e.createElement(yt,null,l&&e.createElement(ye,{variant:"flat","aria-label":"Close",icon:e.createElement($e,null),onClick:l})))))},Nt=u.ul.withConfig({displayName:"vui--BreadcrumbsSC",componentId:"vui--1kzms7s"})`list-style:none;padding:0;margin:0;display:flex;align-items:center;font-family:${R.body.fontFamily};font-weight:${R.body.fontWeight};font-size:${R.body.fontSize};line-height:${R.body.lineHeight};`,Lt=u.li.withConfig({displayName:"vui--BreadcrumbSC",componentId:"vui--17agc2w"})`display:flex;align-items:center;.separator{display:flex;align-items:center;padding:0px 0.4rem;}a{color:inherit;text-decoration:none;text-transform:capitalize;}`,It=t=>e.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.99994 11.06L9.05327 8L5.99994 4.94L6.93994 4L10.9399 8L6.93994 12L5.99994 11.06Z",fill:"currentColor"})),zt=({children:t,title:n,LinkComponent:o,href:i})=>o?e.createElement(Lt,{className:"breadcrumb"},e.createElement(o,{href:i},n),t):e.createElement(Lt,{className:"breadcrumb"},n,t),Ft=()=>e.createElement(It,{className:"separator",width:M.base,height:M.base}),jt=({children:t,href:n})=>e.createElement("a",{href:n},t),Bt=({items:t,Separator:n=e.createElement(Ft,null),LinkComponent:o=jt})=>e.createElement(Nt,{className:"breadcrumbs"},t.map(((i,l)=>e.createElement(zt,{key:i.title,title:i.title,href:i.pathname,LinkComponent:o},t.length!==l+1&&n))));var Mt;!function(e){e.start="flex-start",e.center="center",e.end="flex-end",e.stretch="stretch",e.between="space-between",e.around="space-around"}(Mt||(Mt={}));const Ht=u.div.withConfig({displayName:"vui--Stack",componentId:"vui--1mxdupo"})`display:flex;${e=>{const{direction:t="vertical",alignX:n="start",alignY:o="start",spacing:i="base"}=e;let l,r,a,s,d="",c="";return"vertical"===t?(l=n&&Mt[n],r=o&&Mt[o],d=O.sizes[i],a="column"):(l=o&&Mt[o],r=n&&Mt[n],c=O.sizes[i],a="row"),("vertical"===t&&"stretch"===o||"horizontal"===t&&"stretch"===n)&&(s=1),`\n align-items: ${l};\n justify-content: ${r};\n flex-direction: ${a};\n\n & > * {\n flex: ${s};\n }\n\n & > * + * {\n margin-top: ${d};\n margin-left: ${c};\n }\n `}}`;Ht.displayName="Stack";const Rt={top:"flex-start",center:"center"},Ot=u.div.withConfig({displayName:"vui--RootLayout",componentId:"vui--11nf17l"})`display:flex;align-items:center;& > * + *{margin-left:${O.sizes.base};}`,Dt=u.div.withConfig({displayName:"vui--InputLayout",componentId:"vui--1yac6kr"})`align-self:stretch;display:flex;align-items:${e=>Rt[e.align]};width:24px;height:24px;`,Wt=u.div.withConfig({displayName:"vui--AccessoryLayout",componentId:"vui--qbgrc7"})`align-self:center;display:flex;align-items:center;`,Tt=u.div.withConfig({displayName:"vui--TextLayout",componentId:"vui--1uu3ed5"})`flex:1;& > * + *{margin-top:${O.sizes.sm};}`,At=u.span.withConfig({displayName:"vui--LabelText",componentId:"vui--xampag"})`font-family:${O.text.body.fontFamily};font-size:${O.text.body.fontSize};font-weight:${O.text.body.fontWeight};line-height:${O.sizes.md};color:${O.text.body.color};`,Zt=u.div.withConfig({displayName:"vui--HintText",componentId:"vui--nu56mb"})`font-family:${O.fontFamily};font-size:${O.sizes[3]};line-height:${O.sizes[4]};color:${O.colors.neutral.ink.light};`,Vt=u.div.withConfig({displayName:"vui--ErrorText",componentId:"vui--k1l2b9"})`font-family:${O.text.error.fontFamily};font-size:${O.text.error.fontSize};font-weight:${O.text.error.fontWeight};line-height:${O.text.error.lineHeight};color:${O.text.error.color};`,Pt=u.label.withConfig({displayName:"vui--Wrapper",componentId:"vui--124eta7"})`box-sizing:border-box;&:hover{cursor:${e=>e.disabled?"default":"pointer"};}`,qt=u(Pt).withConfig({displayName:"vui--BorderedWrapper",componentId:"vui--1g99902"})`border:2px solid ${O.colors.neutral.grey.dark};border-radius:${O.radius.md};padding:${O.sizes.base} 0.75rem;&:hover{border-color:${O.colors.secondary.blue.base};}& ${At}{font-weight:${O.text.bodyBold.fontWeight};}`,Xt=u(ct).withConfig({displayName:"vui--BlockTooltip",componentId:"vui--1ycxtt7"})`display:block;&-hoverable{display:block;}`,Yt=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 18H13V16H11V18ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12 6C9.79 6 8 7.79 8 10H10C10 8.9 10.9 8 12 8C13.1 8 14 8.9 14 10C14 12 11 11.75 11 15H13C13 12.75 16 12.5 16 10C16 7.79 14.21 6 12 6Z",fill:"currentColor"})),Gt=({id:t,label:n,hint:o,tooltip:i,error:l,bordered:r,Badge:a,Accessory:s,Footer:d,children:c,disabled:m=!1})=>{const u=e.createElement(Ot,null,e.createElement(Dt,{align:s?"center":"top"},c),s&&e.createElement(Wt,null,s),n||o||l||a||d?e.createElement(Tt,null,e.createElement(Ht,{direction:"horizontal",alignY:"center",spacing:"sm"},a,n&&e.createElement(At,null,n),i&&e.createElement(Xt,{text:i},e.createElement(Yt,{name:"help",width:O.sizes.base,color:O.colors.neutral.ink.lightest}))),o&&e.createElement(Zt,null,o),l&&e.createElement(Vt,null,l),d):null);return r?e.createElement(qt,{disabled:m,htmlFor:t},u):e.createElement(Pt,{disabled:m,htmlFor:t},u)},{colors:Ut,sizes:Kt,radius:_t}=O,Jt=u.input.withConfig({displayName:"vui--Input",componentId:"vui--hippn5"})`appearance:none;width:18px;height:18px;background-color:transparent;border:2px solid ${Ut.neutral.ink.lightest};border-radius:${_t.base};cursor:pointer;flex-shrink:0;transition:box-shadow 0.1s,background-color 0.1s;&:checked{background-color:${Ut.secondary.blue.base};border-color:${Ut.secondary.blue.base};background-image:url("data:image/svg+xml;utf-8,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M8.56846 16.3657L3.86697 11.6642L2.2998 13.2313L8.56846 19.5L22.0013 6.06716L20.4341 4.5L8.56846 16.3657Z' fill='white' /></svg>");background-repeat:no-repeat;background-size:${Kt[4]};background-position:center;}&:hover{border-color:${Ut.secondary.blue.base};}&:active{border-color:${Ut.secondary.blue.base};}&:focus{box-shadow:0 0 0 4px ${Ut.secondary.blue.light};outline:0;}&:indeterminate{background-color:${Ut.secondary.blue.base};border-color:${Ut.secondary.blue.base};background-image:url("data:image/svg+xml;utf-8,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='5' y='11' width='14' height='3' fill='white'/></svg>");background-repeat:no-repeat;background-size:${Kt[4]};background-position:center;}&:disabled{box-shadow:none;background-color:${Ut.neutral.grey.base};border-color:${Ut.neutral.grey.base};color:${Ut.neutral.ink.light};cursor:default;}&:checked:disabled{background-image:url("data:image/svg+xml;utf-8,<svg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M8.56846 16.3657L3.86697 11.6642L2.2998 13.2313L8.56846 19.5L22.0013 6.06716L20.4341 4.5L8.56846 16.3657Z' fill='%23637381' /></svg>");}&:indeterminate:disabled{background-image:url("data:image/svg+xml;utf-8,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='5' y='11' width='14' height='3' fill='%23637381'/></svg>");}`,Qt=t=>{var{checked:i,indeterminate:l,value:s,name:d,disabled:c,ariaLabel:m,className:u,onChange:p}=t,g=oe(t,["checked","indeterminate","value","name","disabled","ariaLabel","className","onChange"]);const h=a((()=>J("checkbox")),[]),b=r(null),f=n((e=>{p(e.currentTarget.checked,s)}),[p,s]);return o((()=>{b.current&&(b.current.indeterminate=!0===l)}),[l]),e.createElement(Gt,Object.assign({id:h,disabled:c},g),e.createElement(Jt,{ref:b,id:h,type:"checkbox",checked:i,value:s,name:d,disabled:c,"aria-label":m,className:u,onChange:f}))},en=u.input.withConfig({displayName:"vui--Input",componentId:"vui--1e1oks4"})`appearance:none;box-sizing:border-box;flex-shrink:0;width:18px;height:18px;margin:3px;background-color:transparent;border:2px solid #637381;border-radius:50%;outline:none;cursor:pointer;flex-shrink:0;transition:box-shadow 0.1s;&:checked{position:relative;border-color:#0079d1;}&:checked::before{content:'';width:10px;height:10px;position:absolute;top:2px;left:2px;background-color:#0079d1;border-radius:50%;}&:hover{border-color:#0079d1;}&:active{border-color:#0079d1;}&:focus{box-shadow:0 0 0 4px #80bce8;outline:0;}&:disabled{box-shadow:none;background-color:#dfe3e8;border-color:#959fa8;cursor:default;}&:disabled::before{background-color:#637381;}`,tn=t=>{var{checked:o,value:i,name:l,disabled:r,onChange:a}=t,s=oe(t,["checked","value","name","disabled","onChange"]);const d=n((e=>{a(e.currentTarget.checked,i)}),[a,i]),c=J("radio");return e.createElement(Gt,Object.assign({id:c,disabled:r},s),e.createElement(en,{id:c,type:"radio",checked:o,value:i,name:l,disabled:r,onChange:d}))},nn=u.fieldset.withConfig({displayName:"vui--Fieldset",componentId:"vui--bygv6o"})`padding:0;display:flex;flex-direction:column;border:0;& > * + *{margin-top:16px;}`,on=u.legend.withConfig({displayName:"vui--Legend",componentId:"vui--18baj4v"})`font-family:${O.text.inputLabel.fontFamily};font-size:${O.text.inputLabel.fontSize};font-style:${O.text.inputLabel.fontStyle};font-weight:${O.text.inputLabel.fontWeight};line-height:${O.text.inputLabel.lineHeight};text-decoration:${O.text.inputLabel.textDecoration};color:${O.text.inputLabel.color};`;class ln extends s{constructor(){super(...arguments),this.handleChange=(e,t)=>{const{allowMultiple:n}=this.props;n?this.handleChangeMultiple(e,t):this.handleChangeSingle(e,t)},this.handleChangeSingle=(e,t)=>{const{onChange:n}=this.props;t&&n([e])},this.handleChangeMultiple=(e,t)=>{const{selected:n,onChange:o}=this.props;let i=[];i=t?[...n,e]:n.filter((t=>t!==e)),o(i)}}render(){const{allowMultiple:t,options:n,selected:o,title:i,disabled:l,bordered:r}=this.props,a=t?Qt:tn;return e.createElement(nn,{disabled:l},i&&e.createElement(on,null,i),n.map((t=>e.createElement(a,Object.assign({key:t.value,bordered:r,checked:o.includes(t.value),onChange:e=>this.handleChange(t.value,e)},t)))))}}const rn=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM14.7708 8L10.0856 13.2468L8.22925 11.1679L7 12.5445L10.0856 16L16 9.37661L14.7708 8ZM20.1818 12C20.1818 16.5187 16.5187 20.1818 12 20.1818C7.48131 20.1818 3.81818 16.5187 3.81818 12C3.81818 7.48131 7.48131 3.81818 12 3.81818C16.5187 3.81818 20.1818 7.48131 20.1818 12Z",fill:"currentColor"})),an=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M19 3H14.82C14.4 1.84 13.3 1 12 1C10.7 1 9.6 1.84 9.18 3H5C3.9 3 3 3.9 3 5V21C3 22.1 3.9 23 5 23H19C20.1 23 21 22.1 21 21V5C21 3.9 20.1 3 19 3ZM12 3C12.55 3 13 3.45 13 4C13 4.55 12.55 5 12 5C11.45 5 11 4.55 11 4C11 3.45 11.45 3 12 3ZM19 21H5V5H7V8H17V5H19V21Z",fill:"currentColor"})),sn={width:M.base,height:M.base},dn=u(ye).withConfig({displayName:"vui--XSButton",componentId:"vui--e6p1xr"})`padding:1px;height:unset;span{height:${M.base};width:${M.base};top:unset;}`,cn=({className:t,text:o,onCopy:i})=>{const[l,r]=e.useState(!1),a=n((()=>{navigator.clipboard.writeText(o),i&&i(),r(!0),setTimeout((()=>r(!1)),2500)}),[i,o]);return e.createElement(ct,{text:l?"Copied!":"Copy to clipboard"},e.createElement(dn,{variant:"flat",size:"sm",className:t,"aria-label":`${l?"Copied":"Copy"} "${o}" to clipboard`,icon:l?e.createElement(rn,Object.assign({color:N.secondary.green.base},sn)):e.createElement(an,Object.assign({color:N.secondary.blue.base},sn)),onClick:a}))},mn={width:64,height:64},un={icon:e.createElement((t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.3333 5.7H17.5V4H15.8333V5.7H9.16667V4H7.5V5.7H6.66667C5.74167 5.7 5.00833 6.465 5.00833 7.4L5 19.3C5 20.235 5.74167 21 6.66667 21H18.3333C19.25 21 20 20.235 20 19.3V7.4C20 6.465 19.25 5.7 18.3333 5.7ZM10.0002 11.65H8.3335V13.35H10.0002V11.65ZM13.3332 11.65H11.6665V13.35H13.3332V11.65ZM15 11.65H16.6667V13.35H15V11.65ZM6.6665 19.3H18.3332V9.94998H6.6665V19.3Z",fill:"currentColor"}))),Object.assign({},mn)),title:"No data found"},pn={icon:e.createElement((t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12.0001 20.1818C16.5187 20.1818 20.1819 16.5187 20.1819 12C20.1819 7.4813 16.5187 3.81818 12.0001 3.81818C7.48136 3.81818 3.81824 7.4813 3.81824 12C3.81824 16.5187 7.48136 20.1818 12.0001 20.1818ZM16.3536 8.80575L13.1593 12L16.3536 15.1943L15.1943 16.3536L12 13.1593L8.80575 16.3536L7.64648 15.1943L10.8408 12L7.64648 8.80575L8.80575 7.64648L12 10.8408L15.1943 7.64648L16.3536 8.80575ZM8.80571 16L8.80575 16L12 12.8058L12 12.8057L8.80571 16ZM15.1943 16L15.1943 16L16 15.1943L16 15.1943L15.1943 16ZM16 8.80575L12.8058 12L12.8057 12L16 8.80571L16 8.80575Z",fill:"currentColor"}))),Object.assign({},mn)),title:"An error occurred when creating the table",subTitle:"Please, try reloading the page once. If this doesn't solve the problem, contact support"};var gn;!function(e){e.start="start",e.middle="middle",e.end="End",e.none="none"}(gn||(gn={}));const{text:hn,sizes:bn}=O,{blue:fn}=O.colors.secondary,{grey:vn}=O.colors.neutral,{scrollbar:xn}=O.colors.system,yn='\n position: absolute;\n top: 0;\n bottom: -1px;\n width: 30px;\n content: "";\n pointer-events: none;\n box-sizing: border-box;\n transition: box-shadow .3s;\n',wn=u.div.withConfig({displayName:"vui--TooltipContent",componentId:"vui--mk4i58"})`display:flex;flex-direction:row;align-items:center;`,Cn=u.div.withConfig({displayName:"vui--Wrapper",componentId:"vui--1u7sppu"})`width:100%;overflow-x:${e=>e.scrollDisabled?"hidden":"auto"};overflow-y:hidden;position:relative;border-top:1px solid ${vn.dark};border-bottom:1px solid ${vn.dark};${({showScrollbar:e})=>e?`\n scrollbar-width: auto;\n\n &::-webkit-scrollbar {\n margin-top: 10px;\n width: 6px;\n height: 6px;\n }\n \n &::-webkit-scrollbar-track {\n background: ${xn.background}; \n }\n \n &::-webkit-scrollbar-thumb {\n background: ${xn.thumb};\n border-radius: 4px; \n }\n `:""} ${({scrollDisabled:e,lastStartFixedColumnsIndex:t,firstEndFixedColumnsIndex:n,scrollPosition:o})=>e?"":`\n td:nth-child(${t}):after,\n th:nth-child(${t}):after {\n right: 0;\n transform: translate(100%);\n ${yn};\n\n ${o===gn.middle||o===gn.end?"\n box-shadow: inset 10px 0 10px -8px rgb(0 0 0 / 25%);\n":""};\n };\n\n td:nth-last-child(${n}):after,\n th:nth-last-child(${n}):after {\n left: 0;\n transform: translate(-100%);\n ${yn};\n\n ${o===gn.start||o===gn.middle?"\n box-shadow: inset -10px 0 10px -8px rgb(0 0 0 / 25%);\n":""};\n };\n `}`,En=u(Cn).withConfig({displayName:"vui--WrapperBordered",componentId:"vui--nqtqxh"})`border:1px solid ${vn.dark};border-radius:4px;`,$n=u.thead.withConfig({displayName:"vui--Head",componentId:"vui--hwzh6q"})`background-color:white;`,kn=u.tbody.withConfig({displayName:"vui--Body",componentId:"vui--1gnu0g8"})`tr{${({fixedColumnsStyle:e})=>e};}& + & > tr:first-child > td{border-top:1px solid ${vn.base};}tr:not(:first-child)> td{border-top:1px solid transparent;}&&& tr:hover td{background-color:#ebf4fb;}`;u.tfoot.withConfig({displayName:"vui--Foot",componentId:"vui--12mqlfu"})`& td{background-color:${vn.lightest};padding:1.5rem 1rem;border-top:1px solid ${fn.base};}`;const Sn=u.tr.withConfig({displayName:"vui--Row",componentId:"vui--r2keiy"})`&.hidden{visibility:collapse;}${({accentColor:e})=>e&&`\n & > td:first-child::before {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: 4px;\n background-color: ${e}; \n }\n `}`,Nn=u.td.withConfig({displayName:"vui--Cell",componentId:"vui--1nm3hyy"})`position:relative;padding:1.25rem 1rem;text-align:${({align:e})=>e||"left"};background-color:white;font-family:${hn.bodySmall.fontFamily};font-size:${hn.bodySmall.fontSize};font-weight:${hn.bodySmall.fontWeight};color:${hn.bodySmall.color};line-height:${bn.base};width:${({grow:e})=>e?"100%":"auto"};& > *{vertical-align:middle;}`,Ln=u(Nn).attrs({as:"th"}).withConfig({displayName:"vui--HeaderCell",componentId:"vui--kltvmt"})`user-select:none;border-bottom:1px solid ${vn.dark};font-family:${hn.bodySmallBold.fontFamily};font-size:${hn.bodySmallBold.fontSize};font-weight:${hn.bodySmallBold.fontWeight};color:${hn.bodySmallBold.color};& span{white-space:pre-line;}&.sortable:hover{cursor:pointer;background-color:${vn.light};}`,In={left:"flex-start",center:"center",right:"flex-end"},zn=u.div.withConfig({displayName:"vui--HeaderCellLayout",componentId:"vui--12khvw8"})`display:flex;align-items:center;justify-content:${({align:e})=>e?In[e]:"flex-start"};& > * + *{margin-left:0.25rem;}`,Fn=u.table.withConfig({displayName:"vui--Table",componentId:"vui--h02j5"})`width:100%;border-spacing:0;table-layout:${({isFixedLayout:e})=>e?"fixed":"auto"};${({striped:e})=>e&&`\n & ${kn}:nth-child(even) td {\n background-color: ${vn.lightest};\n }\n `} & *{box-sizing:border-box;${({tableLoading:e})=>e&&"\n user-select: none;\n pointer-events: none;\n "}}${({noWrap:e})=>e&&`\n & ${Ln}, & ${Ln} span {\n white-space: nowrap;\n }\n `}`,jn=u.tfoot.withConfig({displayName:"vui--Footer",componentId:"vui--qgln4m"})`tr{${({fixedColumnsStyle:e})=>e};}& ${Nn}{border-top:1px solid ${vn.dark};background-color:${vn.lightest};padding-top:${bn.base};padding-bottom:${bn.base};line-height:2rem;}`,Bn=u.div.withConfig({displayName:"vui--StickyHeaderWrapper",componentId:"vui--12fomsb"})`position:fixed;top:0;z-index:2;overflow-x:hidden;`,Mn=u(Fn).withConfig({displayName:"vui--FakeHeaderTable",componentId:"vui--1als2zg"})``,Hn=u($).withConfig({displayName:"vui--SpecificStateContainer",componentId:"vui--1jchnd5"})`display:flex;flex-direction:column;justify-content:center;align-items:center;height:${e=>e.height}px;background:white;`,Rn=u($).withConfig({displayName:"vui--EllipseContainer",componentId:"vui--1o7dres"})`display:flex;justify-content:center;align-items:center;width:120px;height:120px;border-radius:100px;background:${O.colors.neutral.grey.base};svg{width:64px !important;height:64px !important;}`,On=u(A).withConfig({displayName:"vui--TitleText",componentId:"vui--1uhjhtm"})`margin-top:24px;`,Dn=u(A).withConfig({displayName:"vui--SubTitleText",componentId:"vui--1kbpqgh"})`margin-top:8px;`,Wn=({height:t,icon:n,title:o,subTitle:i})=>e.createElement(Hn,{height:t},e.createElement(Rn,null,n),e.createElement(On,{variant:"headingLarge"},o),i&&e.createElement(Dn,{variant:"subheadingMedium"},i)),Tn=u.button.withConfig({displayName:"vui--CellButton",componentId:"vui--jx2vik"})`appearance:none;border:0;background-color:transparent;font:inherit;display:inline-block;box-sizing:border-box;width:calc(100% + 1.5rem);margin:-0.75rem -0.75rem;padding:0.75rem 0.75rem;text-align:inherit;line-height:${O.sizes.base};border-radius:${O.radius.base};&:hover{cursor:pointer;background-color:${O.colors.secondary.blue.lightest};}`,An=u(Tn).withConfig({displayName:"vui--ClickableButton",componentId:"vui--oqo38u"})`color:${O.text.link.color};text-decoration:${O.text.link.textDecoration};`,Zn=u.div.withConfig({displayName:"vui--Content",componentId:"vui--1win89s"})`text-align:inherit;border-bottom:1px dotted black;`,{grey:Vn}=O.colors.neutral,Pn=u.div.withConfig({displayName:"vui--SkeletonContentWrapper",componentId:"vui--1f316dz"})`height:16px;width:100%;`,qn=u.div.withConfig({displayName:"vui--SkeletonContentComponent",componentId:"vui--1gn131q"})`display:inline-block;color:transparent;border-radius:4px;animation-duration:${({isLoading:e=!0})=>e?"1s":0};animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:placeHolderShimmer;animation-timing-function:linear;background:linear-gradient(to right, ${Vn.base} 8%, ${Vn.dark} 15%, ${Vn.base} 33%);background-size:800px 104px;border:0;width:100%;height:100%;@keyframes placeHolderShimmer{0%{background-position:-380px 0;}100%{background-position:380px 0;}}`,Xn=({isLoading:t,style:n})=>e.createElement(Pn,{style:n},e.createElement(qn,{isLoading:t})),Yn=t=>{var{style:n}=t,o=oe(t,["style"]);return e.createElement(Nn,Object.assign({},o),e.createElement(Xn,{style:n}))};Yn.defaultProps={style:{}};const Gn=({renderHeader:i,tableRef:l,wrapperRef:r,isFixedLayout:a,wrapperStyle:s})=>{var d;const[c,m]=t(null),{isSticky:u}=((e,i)=>{const[l,r]=t(!1),a=n((({top:e,bottom:t})=>{let n=l;n=e<=(i||0)&&t>0?!l||n:!l&&n,n!==l&&r(n)}),[l,i]);return o((()=>{const t=()=>{var t;e.current&&a(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect())};return window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}}),[a,e]),{isSticky:l}})(l,parseInt("string"==typeof(null==s?void 0:s.top)?null==s?void 0:s.top:`${null==s?void 0:s.top}`,10)),p=((null===(d=r.current)||void 0===d?void 0:d.getBoundingClientRect().width)||0)-2;w(r);const g=e=>{var t;const n=(null===(t=r.current)||void 0===t?void 0:t.scrollLeft)||0;e?e.scrollLeft=n:c&&(c.scrollLeft=n)};return g(),u?e.createElement(Bn,{ref:e=>{m(e),g(e)},style:Object.assign({width:p},s)},e.createElement(Mn,{style:{tableLayout:a?"fixed":"auto"}},i())):null},Un=e=>{const t=[];return e.forEach((({index:e,style:n})=>t.push(`\n > td:${void 0!==n.left?"nth-child":"nth-last-child"}(${Math.abs(e)}) {\n position: sticky;\n ${void 0!==n.left?"left":"right"}: ${void 0!==n.left?n.left:n.right}px;\n z-index: ${n.zIndex};\n }\n `))),t.join("\n\n")},Kn=t=>{var{style:n,width:o,isLoading:i}=t,l=oe(t,["style","width","isLoading"]);return e.createElement(Ln,Object.assign({},l,{style:{width:o}}),e.createElement(Xn,{style:n,isLoading:i}))},_n=t=>e.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 10L8 13L11 10H5Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 6L8 3L5 6L11 6Z",fill:"currentColor"})),Jn=t=>e.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 10L8 13L11 10H5Z",fill:"#959FA8"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 6L8 3L5 6L11 6Z",fill:"#0079D1"})),Qn=t=>e.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 10L8 13L11 10H5Z",fill:"#0079D1"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 6L8 3L5 6L11 6Z",fill:"#959FA8"})),eo=()=>e.createElement(_n,{width:O.sizes.base,height:O.sizes.base,color:"lightgrey"}),to=()=>e.createElement(Jn,{width:O.sizes.base,height:O.sizes.base,color:"lightgrey"}),no=()=>e.createElement(Qn,{width:O.sizes.base,height:O.sizes.base,color:"lightgrey"}),oo=({borderless:i=!1,striped:l=!0,noWrap:s=!1,showScrollbar:d=!1,headers:c,rows:m,renderRow:u,renderNestedRow:p,expandedRowIds:g,renderLoadingRow:h,renderFooterRow:b,renderFooterLoadingRow:f,omitFooterSelectionCell:v=!1,selectedRowIds:x,disabledSelectionInputRowIds:y,selectionMode:w="multiple",onChangeSelectedRowIds:C,sortColumnId:E,sortDirection:$,onChangeSort:k,isError:S=!1,isLoading:N=!1,skeletonRowsNumber:L=5,isHeaderSticky:I=!0,stickyHeaderStyle:z,customSpecificState:F,bodyHeightInSpecificStates:j=375,startFixedColumnsNumber:B,endFixedColumnsNumber:M})=>{const H=i?Cn:En,R=!!m&&0===m.length,O=Boolean(B||M),D=!B&&!M,W=r(null),T=r(null),[A,Z]=t(gn.none);o((()=>{var e;let t=null;const n=()=>{if(!T.current||D)return;const e=T.current,t=e.scrollWidth+2,{scrollLeft:n}=e,{width:o}=e.getBoundingClientRect(),i=n+o;t===o?Z(gn.none):0===n?Z(gn.start):n>0&&i<t?Z(gn.middle):i===t&&Z(gn.end)};return T.current&&(t=T.current,n(),null===(e=T.current)||void 0===e||e.addEventListener("scroll",n)),()=>{null==t||t.removeEventListener("scroll",n)}}),[W,D]);const V=n((e=>"string"==typeof e?(console.error("You can only use a numeric value in the 'width' property when you use fixed columns"),null):void 0===e?(console.error("You should provide numeric value in the 'width' attribute in all fixed columns when you use fixed columns"),null):e),[]),P=n(((e,t,n)=>({index:"left"===n?e:-e,style:{position:"sticky",[n]:t,zIndex:1}})),[]),q=n((()=>{if(!c||N)return null;const e=[],t=[];let n=0,o=0;if(B){x&&(e.push(P(1,n,"left")),n+=58);for(let t=0;t<B;t+=1){const o=V(c[t].width);o&&(e.push(P(x?t+2:t+1,n,"left")),n+=o)}}if(M)for(let e=0;e<M;e+=1){const n=V(c.slice(-e-1)[0].width);n&&(t.push(P(e+1,o,"right")),o+=n)}return 0===e.length&&0===t.length?null:[...e,...t]}),[N,V,M,P,c,B,x]),X=a((()=>q()),[q]),Y=n(((e,t)=>{if(!x||!C)return;if(e)return"single"===w?void C([t.id]):void C([...x,t.id]);const n=[...x],o=n.findIndex((e=>e===t.id));n.splice(o,1),C(n)}),[C,x,w]),G=n((()=>{if(!x||!C)return;if(x.length===m.length)return void C([]);const e=m.map((e=>e.id));C(e)}),[C,m,x]),U=n((e=>{if(void 0===E||void 0===k)return;let t=E,n="ascending";"ascending"===$&&(n="descending"),e!==E&&(t=e,n="ascending"),k(t,n)}),[k,E,$]),K=n(((t,n)=>{let o="",i=()=>{},l=e.createElement(eo,null);const{tooltip:r,align:a,icon:s,title:d,sortable:c,id:m}=t;c&&(o="sortable",i=()=>U(m),E===m&&(l="ascending"===$?e.createElement(to,null):e.createElement(no,null)));const u=e.createElement(zn,{align:a},s&&s,d&&e.createElement("span",null,d),c&&l);return e.createElement(Ln,{key:m,id:`data-table-header-${m}`,className:o,onClick:i,align:t.align,grow:t.grow,style:Object.assign({width:t.width||"auto"},n)},r?e.createElement(ct,{text:r},e.createElement(wn,null,u)):u)}),[U,E,$]),_=n(((t,n)=>e.createElement(Kn,{key:t.id,width:t.width||"auto",style:n,isLoading:N})),[N]),J=n((()=>{if(!c)return null;const t=q(),n=t?t[0].style:{};return e.createElement($n,null,e.createElement(Sn,null,x&&e.createElement(Ln,{style:Object.assign({width:58},n)},"multiple"===w&&e.createElement(Qt,{checked:m.length>0&&(null==x?void 0:x.length)===m.length||!1,onChange:G,disabled:y&&y.length>0||N||R,ariaLabel:"Select all"})),c.map(((e,n)=>{const o=x?n+2:n+1,i=n-c.length,l=null==t?void 0:t.find((e=>e.index===o||e.index===i));return e.skeleton&&(N||S||R)?_(e,e.skeletonStyle||{}):K(e,(null==l?void 0:l.style)||{})}))))}),[q,G,c,R,S,N,_,K,m.length,x,w,y]),Q=n(((t,n)=>{const o={checked:t,onChange:e=>Y(e,n),disabled:(null==y?void 0:y.includes(n.id))||!1};return"single"===w?e.createElement(tn,Object.assign({},o)):e.createElement(Qt,Object.assign({},o))}),[Y,w,y]),ee=n((t=>{const n={width:18,height:18,margin:3,animationDuration:"0s"};return"single"===w?e.createElement(Yn,{key:void 0===t?null:`radio-skeleton-${t}`,style:Object.assign(Object.assign({},n),{borderRadius:"50%"})}):e.createElement(Yn,{key:void 0===t?null:`checkbox-skeleton-${t}`,style:Object.assign(Object.assign({},n),{borderRadius:"0.25rem"})})}),[w]),te=n(((t,n)=>{var o,i;if(!p)return null;const l=p(t);if(!l)return null;const r=(null===(i=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.e2eClassNames)||void 0===i?void 0:i.row)||"";return e.createElement(Sn,{key:t.id,className:`${r} ${n?"hidden":""}`},x&&e.createElement(Nn,null),l)}),[p,x]),ne=n((t=>{if(!c)return e.createElement(Yn,null);const n=c.map((n=>e.createElement(Yn,{key:`${t}-${n.id}`})));return x&&n.unshift(ee(t)),n}),[c,ee,x]),oe=()=>b?N&&!f||!N&&R?null:e.createElement(jn,{fixedColumnsStyle:Un(X||[])},e.createElement(Sn,null,x&&!v&&e.createElement(Nn,null),!N&&b(m),N&&f&&f())):null;let ie=B;x&&ie&&(ie+=1);const le=a((()=>m.map((t=>{var n,o,i;const{data:l}=t,r=!!x&&x.includes(t.id),a=!g||g.includes(t.id),s=null===(n=null==l?void 0:l.e2eClassNames)||void 0===n?void 0:n.body,d=null!==(i=null===(o=null==l?void 0:l.e2eClassNames)||void 0===o?void 0:o.row)&&void 0!==i?i:"",c=r?`selected ${d}`:`${d}`;return e.createElement(kn,{key:t.id,className:s,fixedColumnsStyle:Un(X||[])},e.createElement(Sn,{key:t.id,className:c,accentColor:t.accentColor},x&&e.createElement(Nn,null,Q(r,t)),u(t)),t.nestedRows&&t.nestedRows.map((e=>te(e,!a))))}))),[m,g,X,te,u,Q,x]);if(N){const t=[];for(let n=0;n<L;n+=1)t.push(e.createElement(kn,{key:`loading-row-${n}`,fixedColumnsStyle:Un(X||[])},e.createElement(Sn,null,h?e.createElement(e.Fragment,null,x&&ee(),h()):ne(n))));return e.createElement(H,{ref:T,scrollDisabled:!0,scrollPosition:A,lastStartFixedColumnsIndex:ie,firstEndFixedColumnsIndex:M},I&&c&&e.createElement(Gn,{renderHeader:J,tableRef:W,wrapperRef:T,isFixedLayout:O,wrapperStyle:z}),e.createElement(Fn,{ref:W,striped:l,noWrap:s,tableLoading:!0,isFixedLayout:O},J(),t,oe()))}if(R||S){let t=un;return F?t=F:S&&(t=pn),e.createElement(H,{scrollDisabled:!0},e.createElement(Fn,{ref:W,striped:l,noWrap:s,tableLoading:!1,isFixedLayout:O},J(),oe()),e.createElement(Wn,Object.assign({height:j},t)))}return e.createElement(H,{scrollDisabled:!1,ref:T,scrollPosition:A,lastStartFixedColumnsIndex:ie,firstEndFixedColumnsIndex:M,showScrollbar:d},I&&c&&e.createElement(Gn,{renderHeader:J,tableRef:W,wrapperRef:T,isFixedLayout:O,wrapperStyle:z}),e.createElement(Fn,{ref:W,striped:l,noWrap:s,tableLoading:!1,isFixedLayout:O},J(),le,oe()))};function io(e){switch(e){case"left":default:return"flex-start";case"center":return"center";case"right":return"flex-end"}}function lo(e,t){switch(typeof e){case"string":return e;case"number":return`${e}px`;case"object":return`minmax(${lo(e.min,"max-content")}, ${lo(e.max)})`;default:return t||"1fr"}}function ro({pinnedLeft:e,pinnedRight:t,cellWidths:n,scrollPosition:o,visible:i,stripingMode:l}){const r=e.map(((e,t)=>`\n th:nth-child(${t+1}),\n td:nth-child(${t+1}) {\n position: sticky;\n left: ${n?function(e,t){return e.slice(0,t-1).reduce(((e,t)=>e+t),0)}(n,t+1):0}px;\n z-index: 2;\n }\n `)),a=t.map(((e,t)=>`\n th:nth-last-child(${t+1}),\n td:nth-last-child(${t+1}) {\n position: sticky;\n right: ${n?function(e,t){return e.slice(t).reduce(((e,t)=>e+t),0)}(n,n.length-t):0}px;\n }\n `)),s="start"!==o&&"none"!==o,d=`\n th:nth-child(${e.length})::after,\n td:nth-child(${e.length})::after {\n position: absolute;\n transform: translate(100%);\n top: 0;\n right: 0;\n bottom: -1px;\n width: 30px;\n content: "";\n pointer-events: none;\n box-sizing: border-box;\n box-shadow: ${s?"inset 10px 0 10px -8px rgb(0 0 0 / 25%)":"none"};\n }\n `,c="end"!==o&&"none"!==o,m=`\n th:nth-last-child(${t.length})::after,\n td:nth-last-child(${t.length})::after {\n position: absolute;\n transform: translate(-100%);\n top: 0;\n left: 0;\n bottom: -1px;\n width: 30px;\n content: "";\n pointer-events: none;\n box-sizing: border-box;\n box-shadow: ${c?"inset -10px 0 10px -8px rgb(0 0 0 / 25%)":"none"};\n }\n `,u=`\n tr:nth-child(odd) > td {\n background-color: ${O.colors.neutral.grey.lightest};\n }\n\n tr + tr > td {\n border-top: 1px solid ${O.colors.neutral.grey.base};\n }\n `,p=`\n tbody:nth-of-type(odd) > tr > td {\n background-color: ${O.colors.neutral.grey.lightest};\n }\n\n tbody + tbody > tr:first-child > td {\n border-top: 1px solid ${O.colors.neutral.grey.base};\n }\n `;return`\n grid-template-columns: ${i.map((e=>lo(e.width))).join(" ")};\n\n th::after, td::after {\n transition: box-shadow .3s;\n }\n\n ${e.length>0?r:""}\n ${t.length>0?a:""}\n\n ${d}\n ${m}\n\n ${"nested"===l?p:u}\n `}var ao;oo.Cell=Nn,oo.ClickableCell=t=>{var{onClick:n,children:o}=t,i=oe(t,["onClick","children"]);return e.createElement(Nn,Object.assign({},i),e.createElement(An,{onClick:n},o))},oo.EditableCell=t=>{var{onClick:n,children:o}=t,i=oe(t,["onClick","children"]);return e.createElement(Nn,Object.assign({},i),e.createElement(Tn,{onClick:n},e.createElement(Zn,null,o)))},oo.SkeletonCell=Yn,oo.SkeletonContent=Xn,function(e){e.ascending="ascending",e.descending="descending"}(ao||(ao={}));const so=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M13 20V7.83L18.59 13.42L20 12L12 4L4 12L5.41 13.41L11 7.83L11 20H13Z",fill:"currentColor"})),co=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M11 4V16.17L5.41 10.58L4 12L12 20L20 12L18.59 10.59L13 16.17L13 4H11Z",fill:"currentColor"})),mo=({sortState:t,columnId:n,size:o})=>t&&t.columnId===n?t.direction===ao.ascending?e.createElement(so,{color:O.colors.neutral.ink.dark,size:o}):e.createElement(co,{color:O.colors.neutral.ink.dark,size:o}):e.createElement(_n,{size:o});function uo(e,n){const[i,l]=t([]),r=()=>{if(!e.current)return;const t=e.current.querySelectorAll("tbody tr:first-child td"),n=Array.from(t).map((e=>e.getBoundingClientRect().width));l(n)};return o((()=>{r()}),[e.current]),o((()=>{if(!n.current)return;const e=C(r,50),t=new b(e);return t.observe(n.current),()=>t.disconnect()}),[n.current]),i}function po(e){const t=e.filter((e=>!0!==e.hidden)),n=t.filter((e=>"left"===e.pinned)),o=t.filter((e=>"right"===e.pinned)),i=t.filter((e=>"none"===e.pinned||!e.pinned));return{visible:[...n,...i,...o],pinnedLeft:n,pinnedRight:o}}function go(e){o((()=>{if(!e.current)return;let t=!1;const n=e.current,o={left:0,x:0},i=e=>{if(!n)return;const i=e.clientX-o.x;n.scrollLeft=o.left-i,t||(n.style.cursor="grabbing",n.style.userSelect="none"),t=!0},l=()=>{document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",l),t=!1,n&&(n.style.removeProperty("cursor"),n.style.removeProperty("user-select"))},r=e=>{n&&(o.left=n.scrollLeft,o.x=e.clientX,document.addEventListener("mousemove",i),document.addEventListener("mouseup",l))};return n.addEventListener("mousedown",r),()=>null==n?void 0:n.removeEventListener("mousedown",r)}),[e.current])}function ho(){const[e,n]=t([]);return{nestedTableProps:{expandedRowIds:e,setExpanded:(t,o)=>{if(o)if(t){if(e.includes(o))return;const t=[...e,o];n(t)}else{const t=e.findIndex((e=>e===o));if(t<0)return;const i=[...e];i.splice(t,1),n(i)}}}}}function bo(e){const[n,i]=t("start"),l=()=>{if(!e.current)return;const{width:t}=e.current.getBoundingClientRect(),{scrollLeft:n,scrollWidth:o}=e.current;i(o<t?"none":0!==n?n+t>=o?"end":"middle":"start")};return o((()=>{if(e.current)return e.current.addEventListener("scroll",l),()=>{var t;return null===(t=e.current)||void 0===t?void 0:t.removeEventListener("scroll",l)}}),[e.current]),o((()=>{if(!e.current)return;const t=C(l,50),n=new b(t);return n.observe(e.current),()=>n.disconnect()}),[e.current]),{scrollPosition:n,containerRef:e}}const fo="56px",vo=u.th.withConfig({displayName:"vui--Header",componentId:"vui--1vat8up"})`height:${fo};display:flex;align-items:center;justify-content:${({align:e="left"})=>io(e)};background-color:white;padding-left:${({spacing:e=3})=>O.sizes[e]};padding-right:${({spacing:e=3})=>O.sizes[e]};border-bottom:1px solid ${O.colors.neutral.grey.base};grid-column-end:${({span:e=1})=>`span ${e}`};`;function xo(t){var{selected:n,indeterminate:o,onChange:i,selectionMode:l}=t,r=oe(t,["selected","indeterminate","onChange","selectionMode"]);return"single"===l?e.createElement(vo,Object.assign({},r)):e.createElement(vo,Object.assign({},r),e.createElement(Qt,{checked:n,indeterminate:o,onChange:i}))}const yo=u.td.withConfig({displayName:"vui--Cell",componentId:"vui--737x0o"})`display:flex;align-items:center;justify-content:${({align:e="left"})=>io(e)};background-color:white;padding-bottom:var(--density);padding-top:var(--density);padding-left:${({spacing:e=3})=>O.sizes[e]};padding-right:${({spacing:e=3})=>O.sizes[e]};color:${O.text.bodySmall.color};font-family:${O.text.bodySmall.fontFamily};font-size:${O.text.bodySmall.fontSize};font-style:${O.text.bodySmall.fontStyle};font-weight:${O.text.bodySmall.fontWeight};line-height:${O.text.bodySmall.lineHeight};grid-column-end:${({span:e=1})=>`span ${e}`};tfoot &{min-height:${"56px"};border-top:1px solid ${O.colors.secondary.blue.base};background-color:${O.colors.neutral.grey.lightest};}`;function wo(t){var{selected:n,rowId:o,onChange:i,selectionMode:l,disabled:r}=t,a=oe(t,["selected","rowId","onChange","selectionMode","disabled"]);return"single"===l?e.createElement(yo,Object.assign({},a),e.createElement(tn,{value:o,checked:n,disabled:r,onChange:i})):e.createElement(yo,Object.assign({},a),e.createElement(Qt,{value:o,checked:n,disabled:r,onChange:i}))}const Co=[[],()=>{}];function Eo({selectionMode:t="multiple",selectionState:n,enabledRowIds:o}){const i=!!n,[l,r]=n||Co,a=()=>{l.length!==o.length?r(o):r([])};return{selectionEnabled:i,selectedRowIds:l,selectionColumn:{id:"selection",title:"Selection",width:"auto",align:"center",pinned:"left",renderHeader:(n,i)=>e.createElement(xo,Object.assign({},i,{selected:l.length===o.length,indeterminate:l.length>0&&l.length<o.length,onChange:a,selectionMode:t})),renderCell:(n,o,i,l)=>e.createElement(wo,Object.assign({},o,{rowId:n.id,selected:l.selected,onChange:i.setSelected,selectionMode:t,disabled:l.disabled}))},setSelected:(e,n)=>{if(null!=n)if(e&&"single"===t)r([n]);else if(e){if(l.includes(n))return;const e=[...l,n];r(e)}else{const e=l.findIndex((e=>e===n));if(e<0)return;const t=[...l];t.splice(e,1),r(t)}}}}const $o=u.div.withConfig({displayName:"vui--SortIndicator",componentId:"vui--i7g1t1"})`width:20px;height:20px;display:flex;align-items:center;justify-content:center;background-color:white;color:${O.colors.neutral.ink.lightest};`,ko=u.span.withConfig({displayName:"vui--HeaderContent",componentId:"vui--1mybdy1"})`display:flex;height:28px;align-items:center;gap:4px;white-space:nowrap;color:${O.text.headingTable.color};font-family:${O.text.headingTable.fontFamily};font-size:${O.text.headingTable.fontSize};font-style:${O.text.headingTable.fontStyle};font-weight:${O.text.headingTable.fontWeight};line-height:${O.text.headingTable.lineHeight};`,So=u(ko).attrs((()=>({as:"button",type:"button"}))).withConfig({displayName:"vui--ClickableHeaderContent",componentId:"vui--ccxpgr"})`appearance:none;padding:0;border:0;border-radius:4px;background-color:transparent;&:not(:disabled):hover{cursor:pointer;}&:hover ${$o}{background-color:${O.colors.neutral.grey.light};color:${O.colors.neutral.ink.base};}&:focus-visible{outline:0;box-shadow:0px 0px 0px 2px ${O.colors.secondary.blue.light};}`;function No({column:t,sortState:n,onChangeSort:o}){if(t.sortable&&!n)throw new Error(`Column '${t.id}' is configured to be sortable but the 'sortState' prop is missing.`);if(t.hidden)return null;const i={key:t.id.toString(),id:`datatable-header-${t.id}`,role:"columnheader",align:t.align,spacing:t.spacing,className:t.sortable?"sortable":void 0};if(t.renderHeader)return t.renderHeader(t,i);const l=t.sortable?So:ko,r=t.sortable?{onClick:()=>{if(!n)return void console.log("DataGrid::renderHeader::handleClickSort - sortState is not defined");const e=function({sortState:e,columnId:t}){const n=e.columnId===t,o=e.direction===ao.ascending;let i=ao.ascending;return n&&o&&(i=ao.descending),{columnId:t,direction:i}}({sortState:n,columnId:t.id});o?o(e):console.log("DataGrid::renderHeader::handleClickSort - onChangeSort is not defined")}}:{};return e.createElement(vo,Object.assign({},i),e.createElement(ct,{text:t.tooltip},e.createElement(l,Object.assign({},r),t.icon&&t.icon,t.title&&e.createElement("span",null,t.title),t.sortable&&e.createElement($o,null,e.createElement(mo,{sortState:n,columnId:t.id,size:5})))))}const Lo=O.colors.neutral.grey.base,Io=O.colors.neutral.grey.dark,zo=u.div.withConfig({displayName:"vui--LoadingCellContent",componentId:"vui--1vc6lzf"})`height:20px;width:75%;border-radius:${O.radius.base};background:${Lo};background-image:linear-gradient(\n to right,\n ${Lo} 0%,\n ${Io} 20%,\n ${Lo} 40%,\n ${Lo} 100%\n );background-repeat:no-repeat;background-size:800px 104px;animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:placeholderShimmer;animation-timing-function:linear;@keyframes placeholderShimmer{0%{background-position:-468px 0;}100%{background-position:468px 0;}}`;const Fo=u.div.withConfig({displayName:"vui--Container",componentId:"vui--xy0vyq"})`display:grid;grid-template-columns:auto 1fr;align-items:center;position:absolute;top:0;left:0;right:0;z-index:50;height:${fo};background-color:white;`,jo=u.div.withConfig({displayName:"vui--Content",componentId:"vui--vgmrdc"})`width:100%;height:100%;display:flex;align-items:center;padding:0 0.5rem;border-bottom:1px solid ${O.colors.neutral.grey.base};& > *{flex:1;}`;function Bo({selectionColumn:n,intersectionTargetRef:i,containerRef:l,children:r}){var a;const[s,d]=t(!1);o((()=>{if(!i.current)return;const e=new IntersectionObserver((e=>{e.forEach((e=>{d(!e.isIntersecting)}))}));return e.observe(i.current),()=>e.disconnect()}),[i.current]);const c=null===(a=l.current)||void 0===a?void 0:a.getBoundingClientRect(),m={position:"fixed",top:0,left:null==c?void 0:c.left,width:null==c?void 0:c.width},u=s?m:{position:"absolute",top:0,left:0,right:0};return e.createElement(Fo,{style:u},No({column:n}),e.createElement(jo,null,r))}const Mo=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z",fill:"currentColor"})),Ho=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M12 7C14.76 7 17 9.24 17 12C17 12.65 16.87 13.26 16.64 13.83L19.56 16.75C21.07 15.49 22.26 13.86 22.99 12C21.26 7.61 16.99 4.5 11.99 4.5C10.59 4.5 9.25 4.75 8.01 5.2L10.17 7.36C10.74 7.13 11.35 7 12 7ZM2 4.27L4.28 6.55L4.74 7.01C3.08 8.3 1.78 10.02 1 12C2.73 16.39 7 19.5 12 19.5C13.55 19.5 15.03 19.2 16.38 18.66L16.8 19.08L19.73 22L21 20.73L3.27 3L2 4.27ZM7.53 9.8L9.08 11.35C9.03 11.56 9 11.78 9 12C9 13.66 10.34 15 12 15C12.22 15 12.44 14.97 12.65 14.92L14.2 16.47C13.53 16.8 12.79 17 12 17C9.24 17 7 14.76 7 12C7 11.21 7.2 10.47 7.53 9.8ZM11.84 9.02L14.99 12.17L15.01 12.01C15.01 10.35 13.67 9.01 12.01 9.01L11.84 9.02Z",fill:"currentColor"})),Ro=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M3 15H21V13H3V15ZM3 19H21V17H3V19ZM3 11H21V9H3V11ZM3 5V7H21V5H3Z",fill:"currentColor"}));const Oo=u.div.withConfig({displayName:"vui--EmptyBodyContent",componentId:"vui--ejaprg"})`padding-top:${O.sizes.lg};padding-bottom:${O.sizes.lg};grid-column:${({columnCount:e})=>`1 / span ${e}`};display:flex;flex-direction:column;align-items:center;justify-content:center;gap:${O.sizes.md};`,Do=u.div.withConfig({displayName:"vui--EmptyBodyGlyphWrapper",componentId:"vui--ni4ybh"})`padding:${O.sizes.md};background-color:${O.colors.neutral.grey.light};border-radius:${O.radius.full};`,Wo=u.div.withConfig({displayName:"vui--NoWrap",componentId:"vui--1r0ir4h"})`white-space:nowrap;`,To=u.tr.withConfig({displayName:"vui--Row",componentId:"vui--1cif9m3"})`display:contents;${({selected:e})=>e&&`\n &&&& > td {\n background-color: ${O.colors.brand.blue.lightest};\n }\n `};${({accentColor:e})=>e&&`\n &> *:first-child {\n position: relative;\n }\n\n & > *:first-child::before {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: 4px;\n background-color: ${e};\n }\n `}`,Ao=u.div.withConfig({displayName:"vui--ScrollContainer",componentId:"vui--1ruib9d"})`position:relative;width:100%;overflow-x:auto;overflow-y:hidden;`,Zo=u.table.withConfig({displayName:"vui--TableGrid",componentId:"vui--7usb8e"})`min-width:100%;width:max-content;display:grid;& thead,& tbody,& tfoot{display:contents;}--density:${O.sizes.base};&& tr:hover td{background-color:#f2f8fc;}${({css:e})=>e}`,Vo=u.div.withConfig({displayName:"vui--Truncate",componentId:"vui--1qn89sr"})`overflow:hidden;text-overflow:ellipsis;white-space:nowrap;`,Po={full:`border-width: 1px; border-radius: ${O.radius.base};`,vertical:"border-width: 0; border-top-width: 1px; border-bottom-width: 1px;",none:"border-width: 0;"},qo=u.div.withConfig({displayName:"vui--Wrapper",componentId:"vui--1xqen7k"})`width:100%;position:relative;border-style:solid;border-color:${O.colors.neutral.grey.dark};${({borderMode:e="full"})=>Po[e]} &,& *{box-sizing:border-box;}`;function Xo({children:n,intersectionTargetRef:i,containerRef:l,cellWidths:a,tableCss:s}){const d=r(null),[c,m]=t(!1),[u,p]=t({top:0,left:0,width:0,height:0}),g=()=>{var e;const t=null===(e=l.current)||void 0===e?void 0:e.getBoundingClientRect(),n={left:(null==t?void 0:t.left)||0,width:(null==t?void 0:t.width)||0,top:0,height:48};p(n)},h=()=>{var e;if(!l.current)return;const t=l.current.scrollLeft;null===(e=d.current)||void 0===e||e.scrollTo(t,0)};if(o((()=>{if(!i.current)return;const e=new IntersectionObserver((e=>{e.forEach((e=>{m(!e.isIntersecting)}))}),{threshold:1});return e.observe(i.current),()=>e.disconnect()}),[i.current]),o((()=>{c&&l.current&&g()}),[l.current,c]),o((()=>{if(!c)return;if(!l.current)return;const e=C(g,33),t=new b(e);return t.observe(l.current),()=>t.disconnect()}),[l.current,c]),o((()=>{h()}),[c]),o((()=>{var e;return null===(e=l.current)||void 0===e||e.addEventListener("scroll",h),()=>{var e;null===(e=l.current)||void 0===e||e.removeEventListener("scroll",h)}}),[l.current]),!c)return null;const f=Object.assign(Object.assign({},u),{height:fo,position:"fixed",zIndex:5,overflowX:"hidden",overflowY:"hidden",borderBottom:`1px solid ${O.colors.neutral.grey.base}`}),v=s+a.map(((e,t)=>`\n & th:nth-child(${t+1}) {\n width: ${e}px;\n }\n `)).join("");return e.createElement("div",{style:f,ref:d},e.createElement(Zo,{css:v},e.createElement("thead",null,n)))}const Yo=(e,{selectedRowIds:t,expandedRowIds:n,disabledRowIds:o})=>({selected:(null==t?void 0:t.includes(e))||!1,expanded:(null==n?void 0:n.includes(e))||!1,disabled:(null==o?void 0:o.includes(e))||!1}),Go=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM4 12C4 16.41 7.59 20 12 20C16.41 20 20 16.41 20 12C20 7.59 16.41 4 12 4C7.59 4 4 7.59 4 12Z",fill:"currentColor"}),e.createElement("circle",{cx:"12",cy:"7",r:"1",fill:"currentColor"}),e.createElement("path",{d:"M10 16H11V11H10V10H13V16H14V17H10V16Z",fill:"currentColor"})),Uo={icon:e.createElement(Go,{width:48,height:48}),heading:"No results"},Ko=()=>{},_o=({ActionBarSlot:t,borderMode:n,columns:o,emptyState:i=Uo,expandedRowIds:l,loading:a,loadingRowCount:s,onChangeSort:d,rows:c,disabledRowIds:m,selectionMode:u,selectionState:p,setExpanded:g,sortState:h,stripingMode:b,enableStickyHeader:f})=>{const v=r(null),x=r(null),y=r(null);go(v);const w=c.map((e=>e.id)).filter((e=>!(null==m?void 0:m.includes(e)))),{selectionEnabled:C,selectedRowIds:E,selectionColumn:$,setSelected:k}=Eo({selectionMode:u,selectionState:p,enabledRowIds:w}),S={setSelected:k||Ko,setExpanded:g||Ko},N=[$,...o],L=C?N:o,I=uo(x,v),{visible:z,pinnedLeft:F,pinnedRight:j}=po(L),{scrollPosition:B}=bo(v),M=ro({pinnedLeft:F,pinnedRight:j,cellWidths:I,scrollPosition:B,visible:z,stripingMode:b});if(a){const t=new Array(s).fill(!0).map((()=>({id:1e3*Math.random(),data:null})));return e.createElement(qo,{borderMode:n},e.createElement(Ao,{ref:v},e.createElement(Zo,{css:M,ref:x,role:"table"},e.createElement("thead",{role:"rowgroup"},e.createElement(To,{role:"row"},z.map((e=>No({column:e,sortState:h,onChangeSort:d}))))),e.createElement("tbody",{role:"rowgroup"},t.map((t=>e.createElement(To,{key:t.id},z.map((n=>function(t,n){if(!0===n.hidden)return null;const o={align:n.align,key:`${t.id}-${n.id}`,role:"cell",spacing:n.spacing};return e.createElement(yo,Object.assign({},o),e.createElement(zo,null))}(t,n))))))))))}if(0===c.length)return e.createElement(qo,{borderMode:n},e.createElement(Ao,{ref:v},e.createElement(Zo,{css:M,ref:x,role:"table"},e.createElement("thead",{role:"rowgroup"},e.createElement(To,{role:"row"},z.map((e=>No({column:e,sortState:h,onChangeSort:d}))))),e.createElement("tbody",{role:"rowgroup"},e.createElement(Oo,{columnCount:z.length},e.createElement(Do,null,i.icon),e.createElement(Ht,{spacing:"sm",alignX:"center"},e.createElement(A,{variant:"headingMedium"},i.heading),i.subheading&&e.createElement(A,{variant:"subheadingMedium"},i.subheading)))))));const H=t=>{const{e2eClassName:n="",accentColor:o}=t,i=Yo(t.id,{selectedRowIds:E,expandedRowIds:l,disabledRowIds:m});return e.createElement(To,Object.assign({role:"row",key:t.id,accentColor:o,className:n},i),z.map((e=>function(e,t,n,o){if(t.hidden)return null;const i={align:t.align,key:`${e.id}-${t.id}`,role:"cell",spacing:t.spacing,span:t.span};return t.renderCell(e,i,n,o)}(t,e,S,i))))},R=(t,n)=>{var o,i;const r=null===(i=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.e2eClassNames)||void 0===i?void 0:i.row,a=Yo(n,{selectedRowIds:E,expandedRowIds:l,disabledRowIds:m});return e.createElement(To,{role:"row",key:t.id,className:r},z.map((n=>function(t,n,o){if(n.hidden)return null;const i={align:n.align,key:`${t.id}-${n.id}`,role:"cell",spacing:n.spacing};return n.renderNestedCell?n.renderNestedCell(t,i,o):e.createElement(yo,Object.assign({},i))}(t,n,a))))},O=t=>{var n;const o=null==l?void 0:l.includes(t.id);return e.createElement("tbody",{role:"rowgroup",key:t.id},H(t),o&&(null===(n=t.nestedRows)||void 0===n?void 0:n.map((e=>R(e,t.id)))))},D=e.createElement(To,{role:"row"},z.map((e=>No({column:e,sortState:h,onChangeSort:d})))),W=o.some((e=>!!e.renderFooter)),T=E.length>0&&!!t;return e.createElement(qo,{borderMode:n},T&&e.createElement(Bo,{selectionColumn:$,intersectionTargetRef:y,containerRef:v},t),e.createElement(Ao,{ref:v},f&&e.createElement(Xo,{tableCss:M,intersectionTargetRef:y,containerRef:v,cellWidths:I},D),e.createElement("div",{ref:y,style:{height:0}}),e.createElement(Zo,{css:M,ref:x,role:"table"},e.createElement("thead",{role:"rowgroup"},D),(()=>{const t=!!l;return t&&"nested"===b?c.map(O):t?e.createElement("tbody",{role:"rowgroup"},c.map((e=>{var t;return[H(e),...(null==l?void 0:l.includes(e.id))&&(null===(t=e.nestedRows)||void 0===t?void 0:t.map((t=>R(t,e.id))))||[]]}))):e.createElement("tbody",{role:"rowgroup"},c.map(H))})(),W&&e.createElement("tfoot",{role:"rowgroup"},e.createElement(To,{role:"row"},z.map((t=>function({column:t}){if(t.hidden)return null;const n={key:t.id,role:"cell",align:t.align,spacing:t.spacing};return t.renderFooter?t.renderFooter(t,n):e.createElement(yo,Object.assign({},n))}({column:t}))))))))};_o.defaultProps={loading:!1,loadingRowCount:5,selectionMode:"multiple",stripingMode:"row",enableStickyHeader:!0},_o.Cell=yo,_o.ColumnMenu=function({columns:n,columnGroups:o,setColumns:i}){const[l,r]=t(null),[a,s]=t(!1),d=n.map((e=>[e.id,e])),c=Object.fromEntries(d),m=o.map((e=>e.map((e=>c[e])))),u=(e,t)=>{const o=m[e].map((e=>e.id)),l=[...n];o.forEach((e=>{const n=l.findIndex((t=>t.id===e));n<0||(l[n]=Object.assign(Object.assign({},l[n]),{hidden:t}))})),i(l)};return e.createElement(e.Fragment,null,e.createElement(ye,{ref:r,dropdown:!0,onClick:()=>s(!0)},"Columns"),a&&e.createElement(ne,{anchorElement:l,onShouldClose:()=>s(!1)},e.createElement(He,{style:{width:600}},e.createElement(Ht,{alignX:"stretch",spacing:"sm"},m.map(((t,n)=>e.createElement(Ht,{key:t[0].id,direction:"horizontal",alignY:"center",spacing:"sm",style:{border:"1px solid black",padding:8}},e.createElement(ye,{variant:"flat",icon:e.createElement(Ro,null)}),e.createElement(Ht,{spacing:"sm",style:{flex:1}},t.map((t=>e.createElement("div",{key:t.id},t.title)))),e.createElement(Ht,{direction:"horizontal",spacing:"sm"},t[0].hidden?e.createElement(ye,{variant:"flat",icon:e.createElement(Ho,null),onClick:()=>u(n,!1),style:{color:O.colors.neutral.ink.lightest}}):e.createElement(ye,{variant:"flat",icon:e.createElement(Mo,null),onClick:()=>u(n,!0)})))))))))},_o.SelectionCell=wo,_o.SelectionHeader=xo,_o.Header=vo,_o.Truncate=Vo,_o.NoWrap=Wo;const Jo=u.dl.withConfig({displayName:"vui--List",componentId:"vui--syirga"})`margin:unset;& > * + *{margin-top:${O.sizes.base};}`,Qo=u.div.withConfig({displayName:"vui--Item",componentId:"vui--dz7dgm"})`& > * + *{margin-top:${O.sizes.xs};}`,ei=u.div.withConfig({displayName:"vui--ItemRow",componentId:"vui--1b0o5wp"})`display:flex;justify-content:space-between;& > * + *{margin-left:${O.sizes.base};}`,ti=u.div.withConfig({displayName:"vui--DescriptionContainer",componentId:"vui--foltw8"})`text-align:right;& > * + *{margin-top:${O.sizes.xs};}`,ni=u.dt.withConfig({displayName:"vui--Term",componentId:"vui--s2cfux"})`font-family:${O.text.bodyBold.fontFamily};font-size:${O.text.bodyBold.fontSize};font-weight:${O.text.bodyBold.fontWeight};line-height:${O.text.bodyBold.lineHeight};color:${O.text.bodyBold.color};`,oi=u.dd.withConfig({displayName:"vui--Description",componentId:"vui--1915ejg"})`margin-left:unset;font-family:${O.text.body.fontFamily};font-size:${O.text.body.fontSize};font-weight:${O.text.body.fontWeight};line-height:${O.text.body.lineHeight};color:${O.text.body.color};`,ii=({items:t,horizontal:n})=>{const o=t=>Array.isArray(t)?t.map((t=>e.createElement(oi,{key:t},t))):e.createElement(oi,null,t);return e.createElement(Jo,null,t.map((t=>n?e.createElement(ei,{key:t.term},e.createElement(ni,null,t.term),e.createElement(ti,null,o(t.description))):e.createElement(Qo,{key:t.term},e.createElement(ni,null,t.term),o(t.description)))))},{sizes:li,colors:ri}=O,ai=u.div.withConfig({displayName:"vui--ColumnGrid",componentId:"vui--2wnu9m"})`width:100%;display:grid;grid-template-columns:${({showSidebar:e=!0})=>e?`calc(100% - 312px - ${li.md}) 312px`:"100% 312px"};align-items:flex-start;grid-gap:${li.md};transition:all 0.2s ease-in-out;& > *:nth-child(2){opacity:${({showSidebar:e=!0})=>e?"1.0":"0"};transition:opacity 0.2s;}`,si=u.div.withConfig({displayName:"vui--ContentContainer",componentId:"vui--nvukr5"})`width:100%;box-sizing:border-box;padding:${li.md};overflow-x:hidden;background-color:${ri.neutral.grey.lightest};`,di=({renderHeader:n,children:o})=>{const[i,l]=t(!0);return e.createElement("main",null,n((()=>l(!i)),i),e.createElement(si,null,e.createElement(ai,{showSidebar:i},o)))},ci=u.div.withConfig({displayName:"vui--InputGroup",componentId:"vui--1w0e9jz"})`display:flex;& > *{margin-left:0;margin-right:0;box-shadow:none;}& > *:not(:last-child){border-right-width:0 !important;}& > *:hover{}& > *:focus,& > *:active{z-index:5;border-right-width:1px !important;}& > *:focus + *,& > *:active + *{border-left-width:0 !important;}& > *:not(:first-child):not(:last-child){border-top-left-radius:0 !important;border-top-right-radius:0 !important;border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important;}& > *:first-child{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;}& > *:last-child{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important;}`;var mi;!function(e){e.base="base",e.sm="sm"}(mi||(mi={}));const ui=u.label.withConfig({displayName:"vui--Label",componentId:"vui--qydg5r"})`display:block;font-family:${O.text.inputLabel.fontFamily};font-size:${O.text.inputLabel.fontSize};font-weight:${O.text.inputLabel.fontWeight};line-height:${O.text.inputLabel.lineHeight};color:${O.text.inputLabel.color};`,pi=u.span.withConfig({displayName:"vui--Hint",componentId:"vui--1p3i1v3"})`display:block;font-family:${O.fontFamily};font-size:${O.sizes[3]};line-height:${O.sizes[4]};color:${O.colors.neutral.ink.light};`,gi=u.span.withConfig({displayName:"vui--Error",componentId:"vui--9vxkaw"})`display:block;font-family:${O.text.error.fontFamily};font-size:${O.text.error.fontSize};font-weight:${O.text.error.fontWeight};line-height:${O.text.error.lineHeight};color:${O.text.error.color};&::before{content:'';position:absolute;top:0;bottom:0;left:calc(${O.sizes[2]} * -1);width:2px;background-color:${O.colors.secondary.red.base};}`,hi=u(Ht).withConfig({displayName:"vui--RootStack",componentId:"vui--10dmq2i"})`position:relative;`,bi=u(ct).withConfig({displayName:"vui--BlockTooltip",componentId:"vui--1haf85r"})`display:block;&-hoverable{display:block;}`,fi=t=>n=>{var{label:o,hint:i,error:l,tooltip:r}=n,s=oe(n,["label","hint","error","tooltip"]);const d=a((()=>J(t.name)),[]);return o?e.createElement(hi,{spacing:"sm",alignX:"stretch"},e.createElement("div",null,e.createElement(Ht,{direction:"horizontal",alignY:"center",spacing:"sm"},e.createElement(ui,{htmlFor:d},o),r&&e.createElement(bi,{text:r},e.createElement(Yt,{width:O.sizes.base,height:O.sizes.base,color:O.colors.neutral.ink.light}))),i&&e.createElement(pi,null,i)),e.createElement(t,Object.assign({id:d,hasError:!!l},s)),l&&e.createElement(gi,null,l)):e.createElement(t,Object.assign({hasError:!!l},s))},vi=t=>n=>(o((()=>{console.warn(`${t.name} is deprecated.`)}),[]),e.createElement(t,Object.assign({},n))),xi=({hasError:e,inputSize:t})=>p`&{--outline-size:${"sm"===t?"2px":"4px"};}&:focus{border-color:#0079d1;box-shadow:0 0 0 var(--outline-size)#80bce8;outline:0;}&:invalid{border-color:#eb5757;box-shadow:0 0 0 var(--outline-size)#f7bcbc;}&:disabled{box-shadow:none;background-color:#f2f3f5;border-color:#959fa8;color:#637381;}${e&&"\n &,\n &:focus {\n border-color: #EB5757;\n }\n\n &:focus {\n box-shadow: 0 0 0 var(--outline-size) #F7BCBC;\n }\n "}`,yi=u.input.withConfig({displayName:"vui--Input",componentId:"vui--3jt15a"})`font-family:${O.fontFamily};box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:0 12px;border-radius:4px;border:1px solid #959fa8;color:#1b2126;${({inputSize:e})=>{let t="40px",n="14px";return"sm"===e&&(t="32px",n="12px"),`\n height: ${t};\n font-size: ${n};\n `}} ${xi} &::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&[type='number']{-moz-appearance:textfield;width:8ch;text-align:right;}`,wi=u.textarea.withConfig({displayName:"vui--Textarea",componentId:"vui--1k04ik"})`box-sizing:border-box;width:100%;padding:8px;border-radius:4px;border:1px solid #959fa8;color:#1b2126;${xi}`,Ci=/^-?[0-9]*\.?[0-9]+$/,Ei=fi((t=>{var{className:o,disabled:i=!1,hasError:l,max:r,min:a,multiline:s=!1,name:d,onChange:c,pattern:m,placeholder:u,rows:p="3",size:g=mi.base,step:h,type:b="text",value:f,spellCheck:v=!1}=t,x=oe(t,["className","disabled","hasError","max","min","multiline","name","onChange","pattern","placeholder","rows","size","step","type","value","spellCheck"]);const y=n((e=>{const t=e.currentTarget.value;if(""===t)return void c(t);if("number"!==b)return void c(t);new RegExp(Ci).test(t)&&c(t)}),[c,b]),w=J("textfield");return"text"===b&&s?e.createElement(wi,Object.assign({className:o,disabled:i,hasError:l,id:w,name:d,onChange:y,placeholder:u,rows:p,value:f,spellCheck:v},x)):e.createElement(yi,Object.assign({className:o,disabled:i,hasError:l,id:w,inputSize:g,max:r,min:a,name:d,onChange:y,placeholder:u,step:h,type:b,value:f,spellCheck:v},x))}));Ei.displayName="TextField";const $i=u($).withConfig({displayName:"vui--Container",componentId:"vui--oxhxoy"})`display:flex;flex-direction:column;position:relative;`,ki=u($).withConfig({displayName:"vui--Row",componentId:"vui--w9sg63"})`display:flex;align-items:center;margin-top:4px;gap:8px;`,Si=u(Ei).withConfig({displayName:"vui--StyledTextField",componentId:"vui--1dp86fg"})`width:52px;margin:0;padding:0 6px;&&&{text-align:left;border-color:${O.colors.neutral.ink.lightest};}`,Ni=u(ye).withConfig({displayName:"vui--StyledButton",componentId:"vui--1h9einl"})`padding:0 6px;border-color:${O.colors.neutral.ink.lightest};`;u(A).withConfig({displayName:"vui--Label",componentId:"vui--2iwwsg"})``,u.span.withConfig({displayName:"vui--Error",componentId:"vui--1ln478r"})`display:block;font-family:${O.text.error.fontFamily};font-size:${O.text.error.fontSize};font-weight:${O.text.error.fontWeight};line-height:${O.text.error.lineHeight};color:${O.text.error.color};&::before{content:'';position:absolute;top:0;bottom:0;left:calc(${O.sizes[2]} * -1);width:2px;background-color:${O.colors.secondary.red.base};}`,u.span.withConfig({displayName:"vui--Hint",componentId:"vui--5lfadq"})`display:block;font-family:${O.fontFamily};font-size:${O.sizes[3]};line-height:${O.sizes[4]};color:${O.colors.neutral.ink.light};`;const Li=fi((t=>{var{size:n=mi.base,handleChangeHeight:o,handleChangeWidth:i,handleChangeLength:l,className:r,height:a,width:s,length:d,unit:c}=t,m=oe(t,["size","handleChangeHeight","handleChangeWidth","handleChangeLength","className","height","width","length","unit"]);return e.createElement($i,{className:r},e.createElement(ki,null,e.createElement(Si,Object.assign({onChange:l,size:n,name:"length",type:"number",placeholder:"L",value:d},m)),e.createElement($e,{height:O.sizes.base,width:O.sizes.base}),e.createElement(Si,Object.assign({onChange:i,size:n,name:"width",type:"number",placeholder:"W",value:s},m)),e.createElement($e,{height:O.sizes.base,width:O.sizes.base}),e.createElement(ci,null,e.createElement(Si,Object.assign({onChange:o,size:n,name:"height",type:"number",placeholder:"H",value:a},m)),e.createElement(Ni,{size:n},c))))}));Li.displayName="DimensionsInput";const Ii=(e,t)=>{const i=r(null),l=n((e=>{"Escape"===e.key&&(null==t||t())}),[t]),a=n((e=>{i.current.contains(e.target)||null==t||t()}),[t]);return o((()=>{if(e)return document.addEventListener("click",a),document.addEventListener("keyup",l),()=>{document.removeEventListener("click",a),document.removeEventListener("keyup",l)}}),[a,l,e]),i},zi=(e,n)=>{const[i,l]=t(e);return o((()=>{const t=setTimeout((()=>l(e)),n);return()=>clearTimeout(t)}),[e,n]),i};function Fi(){const[e,o]=t(!1),i=n((()=>o(!e)),[e,o]),l=n((()=>o(!1)),[o]);return{shouldShowDropdown:e,toggleShouldShowDropdown:i,setShouldShowDropdown:o,closeDropdown:l}}const ji=e.createContext({hadKeyboardEvent:!0,isInitialized:!1});function Bi({children:n}){const[i,l]=t(!0);return o((()=>{function e(){l(!1)}function t(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(l(!1),o())}function n(){document.addEventListener("mousemove",t),document.addEventListener("mousedown",t),document.addEventListener("mouseup",t),document.addEventListener("pointermove",t),document.addEventListener("pointerdown",t),document.addEventListener("pointerup",t),document.addEventListener("touchmove",t),document.addEventListener("touchstart",t),document.addEventListener("touchend",t)}function o(){document.removeEventListener("mousemove",t),document.removeEventListener("mousedown",t),document.removeEventListener("mouseup",t),document.removeEventListener("pointermove",t),document.removeEventListener("pointerdown",t),document.removeEventListener("pointerup",t),document.removeEventListener("touchmove",t),document.removeEventListener("touchstart",t),document.removeEventListener("touchend",t)}function i(e){e.metaKey||e.altKey||e.ctrlKey||l(!0)}function r(){"hidden"===document.visibilityState&&(l(!0),n())}return document.addEventListener("keydown",i,!0),document.addEventListener("mousedown",e,!0),document.addEventListener("pointerdown",e,!0),document.addEventListener("touchstart",e,!0),document.addEventListener("visibilitychange",r,!0),n(),()=>{document.removeEventListener("keydown",i,!0),document.removeEventListener("mousedown",e,!0),document.removeEventListener("pointerdown",e,!0),document.removeEventListener("touchstart",e,!0),document.removeEventListener("visibilitychange",r,!0),o()}}),[l]),e.createElement(ji.Provider,{value:{hadKeyboardEvent:i,isInitialized:!0}},n)}function Mi(){const[t,n]=e.useState(!1),{hadKeyboardEvent:o,isInitialized:i}=e.useContext(ji),l=e.useCallback((()=>{t||n(!0)}),[t]),r=e.useCallback((()=>{t&&n(!1)}),[t]);let a;return a=i?o&&t:t,e.useMemo((()=>({focusVisible:a,onFocus:l,onBlur:r})),[a,r,l])}const Hi=(e=!1)=>{const[o,i]=t(e);return[o,n((()=>i(!0)),[i]),n((()=>i(!1)),[i])]},Ri=e=>{const[n,i]=t(!1),[l,r]=t(!1);o((()=>{if(!e)return;const t=new ResizeObserver((()=>{const t=e.scrollHeight>e.clientHeight;i(t)}));return t.observe(e),()=>{t.disconnect()}}),[e]);return{isOverflowing:n&&!l,onScroll:t=>{if(!e)return;const{scrollTop:n,scrollHeight:o,clientHeight:i}=t.target;r(o-n-i<=0)}}},Oi=(e,n)=>{const{defaultActiveIndex:o=0}=n||{},[i]=t(e),[l,r]=t(i[o]);return[l,e=>{const t=i.find((t=>t.key===e));t&&r(t)}]},Di=u($).withConfig({displayName:"vui--Container",componentId:"vui--1tebbdi"})`display:inline-flex;flex-direction:row;align-items:center;background-color:${N.neutral.grey.base};border-radius:4px;padding:4px 8px;cursor:pointer;svg{width:${M.base};height:${M.base};}`,Wi=u(A).withConfig({displayName:"vui--NonSelectableText",componentId:"vui--qz697a"})`user-select:none;`,Ti=u(Wi).withConfig({displayName:"vui--GroupLabel",componentId:"vui--17i198i"})`margin-right:4px;`,Ai=u(Z).withConfig({displayName:"vui--MainIcon",componentId:"vui--rxq762"})`margin-left:4px;transform:rotate(${e=>e.shouldShow?"180deg":"0"});width:10px;height:10px;`,Zi=u($e).withConfig({displayName:"vui--StyledCrossIcon",componentId:"vui--1o2zyml"})`margin-left:4px;height:10px;width:10px;`,Vi=u($).withConfig({displayName:"vui--Content",componentId:"vui--6n2anv"})`display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;`,Pi=u($).withConfig({displayName:"vui--Header",componentId:"vui--n9war0"})`display:flex;flex-direction:row;justify-content:flex-start;align-items:center;padding:12px 18px;border-bottom:1px solid ${N.neutral.grey.base};svg{color:${({color:e})=>e};width:${M[5]};height:${M[5]};margin-right:10px;}`,qi=e=>({filterTagDropdown:e?`${e}-filter-tag-dropdown`:void 0,container:e?`${e}-container`:void 0,cross:e?`${e}-cross`:void 0}),Xi=({className:t,e2eClassName:o,label:i,text:l,iconSlot:r,fill:a=N.secondary.blue.base,content:s,footer:d,onClickAway:c,onClick:m,shouldCloseOnClickAway:u=!0})=>{const p=qi(t),g=qi(o),{shouldShowDropdown:h,toggleShouldShowDropdown:b,closeDropdown:f}=Fi(),v=n((e=>{b(),c&&h&&c(e)}),[b,c,h]),x=n((e=>{c&&c(e,f),u&&f()}),[f,c,u]);return!s?e.createElement(Di,{className:ht([null==p?void 0:p.container,null==g?void 0:g.container]),onClick:m},i&&e.createElement(Ti,{variant:"subheadingSmallBold"},`${i}:`),e.createElement(A,null,l),e.createElement(Zi,{className:ht([null==p?void 0:p.cross,null==g?void 0:g.cross]),name:"cross",size:"base",color:N.neutral.ink.base})):e.createElement(Je,{className:p.filterTagDropdown,shouldShowDropdown:h,onClickAway:x,cta:e.createElement(Di,{className:p.container,onClick:v},i&&e.createElement(Ti,{variant:"subheadingSmallBold"},`${i}:`),e.createElement(A,null,l),e.createElement(Ai,{color:N.neutral.ink.base,name:"downArrow",shouldShow:h}))},e.createElement(Vi,null,e.createElement(Pi,{color:a},r,e.createElement(A,{variant:"bodyBold"},i)),s,d))},Yi=u($).withConfig({displayName:"vui--Grid",componentId:"vui--12w0ynf"})`display:grid;grid-template-columns:repeat(${({columns:e})=>e}, 1fr);grid-gap:${({spacing:e="base"})=>e?M[e]:0};`,Gi=t=>e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.3333 0C22.8 0 24 1.2 24 2.66667V21.3333C24 22.8 22.8 24 21.3333 24H2.66667C1.2 24 0 22.8 0 21.3333V2.66667C0 1.2 1.2 0 2.66667 0H21.3333ZM10.6667 18.0133L7.33333 14L2.66667 20H21.3333L15.3333 12L10.6667 18.0133Z",fill:"#CDD1D5"})),Ui=u.div.withConfig({displayName:"vui--Container",componentId:"vui--yyvmx7"})``,Ki=u.img.withConfig({displayName:"vui--CommonImage",componentId:"vui--exntyx"})`box-sizing:border-box;cursor:${({previewEnabled:e})=>e?"zoom-in":"default"};`,_i=u.div.withConfig({displayName:"vui--PreviewImageContainer",componentId:"vui--jt8oew"})`z-index:10;background-color:transparent;`,Ji=u.img.withConfig({displayName:"vui--PreviewImage",componentId:"vui--xulm2g"})`box-shadow:0 4px 12px rgba(27, 33, 38, 0.2);`,Qi=e=>({container:e?`${e}-image-container`:void 0,image:e?`${e}-image`:void 0,placeholder:e?`${e}-image-placeholder`:void 0,previewImageContainer:e?`${e}-image-preview-container`:void 0}),el=({src:o,alt:i="",className:l,e2eClassName:r,width:a,height:s,previewWidth:d,previewHeight:c,previewPlacement:m="right",previewEnabled:u=!1,placeholder:p,placeholderWidth:g,placeholderHeight:b,disablePlaceholder:f=!1})=>{const x=Qi(l),y=Qi(r),[w,C]=t(!1),[E,$]=t({isLoaded:!1,isError:!1}),[k,S]=e.useState(null),[N,L]=e.useState(null),{styles:I,attributes:z}=h(k,N,{placement:m,modifiers:[{name:"offset",options:{offset:[0,12]}}]}),F=n((()=>u?C(!0):{}),[u]),j=n((()=>u?C(!1):{}),[u]),B=!E.isLoaded||E.isError;return e.createElement(Ui,{className:ht([null==x?void 0:x.container,null==y?void 0:y.container,l])},e.createElement(Ki,{src:o,alt:i,className:ht([null==x?void 0:x.image,null==y?void 0:y.image]),width:a,height:s,onLoad:()=>$({isLoaded:!0,isError:!1}),onError:()=>$({isLoaded:!0,isError:!0}),previewEnabled:u,onMouseEnter:F,onMouseLeave:j,style:B?{display:"none"}:{},ref:S}),!f&&B&&(p||e.createElement(Gi,{className:ht([null==x?void 0:x.placeholder,null==y?void 0:y.placeholder]),width:g||a,height:b||s})),w&&v(e.createElement(_i,Object.assign({ref:L,style:I.popper},z.popper,{className:ht([null==x?void 0:x.previewImageContainer,null==y?void 0:y.previewImageContainer])}),e.createElement(Ji,{src:o,alt:"",width:d,height:c})),document.body))},tl=u.button.withConfig({displayName:"vui--LoginButton",componentId:"vui--9ns5xb"})`background:none;border:none;padding:0;cursor:pointer;img{width:156px;height:32px;}`,nl="https://images-na.ssl-images-amazon.com/images/G/01/lwa/btnLWA_gold_312x64.png",ol="Log in with Amazon",il=n=>{const[o,i]=t(nl);return e.createElement(tl,Object.assign({onMouseDown:()=>{i("https://images-na.ssl-images-amazon.com/images/G/01/lwa/btnLWA_gold_312x64_pressed.png")},onMouseUp:()=>{i(nl)},"aria-label":ol},n),e.createElement("img",{src:o,alt:ol}))},ll=g`body{overflow:hidden;scrollbar-gutter:stable;}`,rl=u.section.withConfig({displayName:"vui--MainSection",componentId:"vui--1ox4j2c"})`flex:1;overflow-y:auto;${({fullBleed:e})=>!e&&`padding: 0 ${O.sizes.md};`} ${({isScrollable:e})=>e&&`\n & + ${He.Footer} {\n box-shadow: 0px 10px 15px 0px ${O.colors.neutral.ink.dark};\n }\n `}`,al=e=>!!e.footerSlot,sl=e=>{const t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,((e,t,n,o)=>t+t+n+n+o+o)),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null},dl=(e,t)=>{const n=sl(e);return n?`rgba(${n.r}, ${n.g}, ${n.b}, ${t})`:e},cl={xs:"84vh",sm:"72vh",base:"84vh",lg:"96vh"},ml={[L.mobile]:{xs:"60vw",sm:"72vw",base:"100vw",lg:"100vw"},[L.tablet]:{xs:"60vw",sm:"72vw",base:"100vw",lg:"100vw"},[L.lgTablet]:{xs:"48vw",sm:"56vw",base:"88vw",lg:"100vw"},[L.desktop]:{xs:"36vw",sm:"44vw",base:"72vw",lg:"88vw"},[L.lgDesktop]:{xs:"32vw",sm:"40vw",base:"52vw",lg:"80vw"}},ul={xs:L.mobile,sm:L.mobile,base:L.tablet,lg:L.lgTablet},{breakpoints:pl}=O,gl=u(x.dialog).attrs({initial:{opacity:0,y:-50,bounce:0},exit:{opacity:0,y:-50,bounce:0},animate:{opacity:1,y:0,bounce:0},transition:{type:"tween",duration:.25}}).withConfig({displayName:"vui--StyledDialog",componentId:"vui--1ohvs0u"})`padding:0;border:none;border-radius:${O.sizes.sm};box-shadow:${O.shadows.lg};min-width:360px;&::backdrop{animation:fadeIn 0.25s ease forwards;}& > ${He.Surface}{display:flex;flex-direction:column;${({variant:e})=>`max-height: ${cl[e]};`} ${rl}{padding-bottom:${O.sizes.md};}${He.Footer}{margin-top:0;}}@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}@media (min-width: calc(${pl.mobile} + 1px))and (max-width: ${pl.tablet}){max-width:${({variant:e})=>ml[pl.tablet][e]};}@media (min-width: ${pl.tablet})and (max-width: ${pl.lgTablet}){max-width:${({variant:e})=>ml[pl.lgTablet][e]};}@media (min-width: ${pl.lgTablet})and (max-width: ${pl.desktop}){max-width:${({variant:e})=>ml[pl.desktop][e]};}@media (min-width: ${pl.desktop}){max-width:${({variant:e})=>ml[pl.lgDesktop][e]};}@media (max-width: ${({variant:e})=>ul[e]}){margin:0;width:100%;max-width:100vw;max-height:100vh;&,& > ${He.Surface}{border-radius:0;height:100%;width:100%;max-height:unset;}}&::backdrop{background-color:${dl(O.colors.neutral.ink.base,.5)};}&:not([open]){display:block;position:fixed;top:0;left:0;right:0;bottom:0;transform:translate(-50%, -50%);}`,hl=e.forwardRef(((t,n)=>{var o=oe(t,[]);return e.createElement(gl,Object.assign({ref:n},o))})),bl=n=>{const{shouldShow:i,showHeaderCloseButton:l=!0,fullBleed:a=!1,variant:s="base",onClose:d,children:c}=n,m=r(null),[u,p]=t(null);o((()=>{var e,t;i&&(null===(e=m.current)||void 0===e||e.removeAttribute("open"),null===(t=m.current)||void 0===t||t.showModal())}),[i]);const{isOverflowing:g,onScroll:h}=Ri(u),b=()=>{var e;null===(e=m.current)||void 0===e||e.close(),d()};return e.createElement(y,null,i&&e.createElement(e.Fragment,null,e.createElement(ll,null),e.createElement(hl,{ref:m,onClose:b,variant:s,"aria-describedby":"modal_title"},e.createElement(He.Surface,null,(e=>!!e.headerSlot)(n)?n.headerSlot:e.createElement(ke,Object.assign({id:"modal_title",headerVariant:"headingLarge",title:n.headerTitle,subtitle:n.headerSubtitle},l&&{onClickClose:b})),e.createElement(rl,{onScroll:h,ref:p,isScrollable:g,fullBleed:a},c),al(n)&&n.footerSlot,!al(n)&&(n.leftActions||n.rightActions)&&e.createElement(He.Footer,null,e.createElement(Ht,{direction:"horizontal",alignX:"between"},n.leftActions&&e.createElement(Ht,{direction:"horizontal",alignX:"start","data-testid":"left-actions-container"},n.leftActions.map((t=>{var{label:n}=t,o=oe(t,["label"]);return e.createElement(ye,Object.assign({key:n,type:"button"},o),n)}))),n.rightActions&&e.createElement(Ht,{direction:"horizontal",alignX:"start","data-testid":"right-actions-container"},n.rightActions.map((t=>{var{label:n}=t,o=oe(t,["label"]);return e.createElement(ye,Object.assign({key:n,type:"button"},o),n)})))))))))},{sizes:fl,text:vl,shadows:xl}=O,{grey:yl}=O.colors.neutral,wl=u.header.withConfig({displayName:"vui--Header",componentId:"vui--1x6mrf4"})`padding:${fl.base} ${fl.md};background-color:white;box-shadow:${({shadow:e})=>"none"!==e&&xl[e]};`,Cl=u.h1.withConfig({displayName:"vui--Title",componentId:"vui--1rcauam"})`font-family:${vl.headingXL.fontFamily};font-size:${vl.headingXL.fontSize};font-weight:${vl.headingXL.fontWeight};margin:unset;line-height:1;`,El=u.p.withConfig({displayName:"vui--Subtitle",componentId:"vui--1w1czl4"})`margin:0.75rem 0 0;font-family:${vl.subheadingLarge.fontFamily};font-weight:${vl.subheadingLarge.fontWeight};font-size:${vl.subheadingLarge.fontSize};line-height:${vl.subheadingLarge.lineHeight};`,$l=u.img.withConfig({displayName:"vui--Image",componentId:"vui--6akliy"})`border-radius:${O.radius.base};border:${fl.line} solid ${yl.base};object-fit:cover;`,kl=u.div.withConfig({displayName:"vui--ActionsContainer",componentId:"vui--eer17r"})`height:100%;display:grid;grid-template-rows:1fr auto;gap:1rem;`,Sl=u(ye).attrs({variant:"unstyled"}).withConfig({displayName:"vui--SidebarToggleButton",componentId:"vui--17ubnor"})`display:flex;align-items:center;font-family:${O.text.link.fontFamily};font-size:${O.text.link.fontSize};font-weight:${O.text.link.fontWeight};line-height:${O.text.link.lineHeight};color:${O.text.link.color};&:hover{text-decoration:${O.text.link.textDecoration};}& > * + *{margin-left:${O.sizes.xs};}`,Nl=u.div.withConfig({displayName:"vui--ColumnGrid",componentId:"vui--1fmdpk3"})`width:100%;display:grid;grid-template-columns:1fr minmax(312px, auto);align-items:flex-start;grid-gap:${fl.md};transition:all 0.2s ease-in-out;& > *:nth-child(2){opacity:${({showSidebar:e=!0})=>e?"1.0":"0"};transition:opacity 0.2s;}`,Ll=t=>e.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.44 11.06L7.38667 8L10.44 4.94L9.5 4L5.5 8L9.5 12L10.44 11.06Z",fill:"currentColor"})),Il=({title:t,subtitle:n,imageSrc:o,actions:i,quickActions:l,backAction:r,Accessory:a,shadow:s="none",onClickPrevious:d,onClickNext:c,onClickToggleSidebar:m})=>{const u=i&&e.createElement(Pe,{buttonVariant:l?"default":"primary",title:"Actions",sections:i}),p=null==l?void 0:l.map((t=>e.createElement(ye,{key:t.title,variant:t.variant,icon:t.icon,onClick:t.onClick},t.title))),g=r&&e.createElement(ye,{onClick:r.onClick,icon:e.createElement(Ll,null),variant:"link"},r.title),h=m&&e.createElement(Ht,{direction:"horizontal",alignX:"end"},e.createElement(Sl,{onClick:m},e.createElement("span",null,"Toggle sidebar"),e.createElement(It,{width:M.md})));return e.createElement(wl,{shadow:s},e.createElement(Ht,null,g,e.createElement(Nl,null,e.createElement(Ht,{direction:"horizontal",spacing:"md"},o&&e.createElement($l,{src:o,alt:"",width:"72",height:"72"}),e.createElement("div",{style:{flex:1}},e.createElement(Ht,{alignX:"stretch"},e.createElement(Cl,null,t),a,n&&e.createElement(El,null,n)))),e.createElement(kl,null,e.createElement(Ht,{direction:"horizontal",alignX:"end",spacing:"sm"},p,u,d&&e.createElement(ye,{icon:e.createElement(Ll,null),onClick:d}),c&&e.createElement(ye,{icon:e.createElement(It,null),onClick:c})),h))))},zl=u(Ht).withConfig({displayName:"vui--PageLimitContainer",componentId:"vui--11yg0z2"})`width:${O.sizes.lg};height:30px;background-color:${O.colors.neutral.grey.light};border:1px solid ${O.colors.neutral.grey.base};border-radius:${O.sizes.xs};`,Fl=u(ye).withConfig({displayName:"vui--PaginationButton",componentId:"vui--1xoa6c5"})`color:${O.colors.neutral.ink.base};width:32px;height:32px;svg{width:24px;height:24px;}`,jl=u(Ei).withConfig({displayName:"vui--PageInput",componentId:"vui--vpfeol"})`&[type='number']{width:5.5ch;}`,Bl=({count:t})=>e.createElement(e.Fragment,null,e.createElement("div",null,e.createElement(A,{variant:"bodySmall","aria-hidden":!0},"/")),e.createElement(zl,{alignX:"center",alignY:"center","aria-hidden":!0},e.createElement(A,{variant:"bodySmall"},t))),Ml=({currentPage:e,totalPagesCount:n,handleChangePage:i})=>{const[l,r]=t(`${e}`);o((()=>{r(`${e}`)}),[e]);const a=e=>e>=1&&e<=n,s=()=>{if(l||r(`${e}`),l===`${e}`)return;const t=parseInt(l,10);a(t)&&i(t)};return{pageInputValue:l,handleIncrement:()=>{a(e+1)&&i(e+1)},handleDecrement:()=>{a(e-1)&&i(e-1)},handleInputChange:e=>{e||r(e);const t=parseInt(e,10);var n;a(n=t)&&r(`${n}`)},handleSubmit:s,handleFormSubmit:e=>{e.preventDefault(),s()}}},Hl=t=>e.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M11.6434 11.06L8.59004 8L11.6434 4.94L10.7034 4L6.70337 8L10.7034 12L11.6434 11.06Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.37004 12L4.37004 4L5.70337 4L5.70337 12L4.37004 12Z",fill:"currentColor"})),Rl=t=>e.createElement("svg",Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.33661 11.06L7.38994 8L4.33661 4.94L5.27661 4L9.27661 8L5.27661 12L4.33661 11.06Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.67 4L11.67 12L10.3367 12L10.3367 4L11.67 4Z",fill:"currentColor"})),Ol=({testId:t,e2eClassName:n,currentPage:o,totalPagesCount:i,handleChangePage:l})=>{const{pageInputValue:r,handleIncrement:a,handleDecrement:s,handleFormSubmit:d,handleInputChange:c,handleSubmit:m}=Ml({currentPage:o,totalPagesCount:i,handleChangePage:l});return e.createElement(Ht,{direction:"horizontal",alignY:"center",spacing:"xs","data-testid":t,className:n},e.createElement(Fl,{onClick:()=>{1!==o&&l(1)},icon:e.createElement(Hl,null),size:"sm","aria-label":"go to first page"}),e.createElement(Fl,{onClick:s,icon:e.createElement(Ll,null),size:"sm","aria-label":"go to previous page","aria-disabled":o<=1}),e.createElement("form",{onSubmit:d},e.createElement(jl,{"aria-live":"polite","aria-label":`page ${o} of ${i}`,size:mi.sm,type:"number",value:r,min:"1",max:`${i}`,onChange:c,onBlur:m})),e.createElement(Bl,{count:i}),e.createElement(Fl,{onClick:a,icon:e.createElement(It,null),size:"sm","aria-label":"go to next page","aria-disabled":o>=i}),e.createElement(Fl,{onClick:()=>{o!==i&&l(i)},icon:e.createElement(Rl,null),size:"sm","aria-label":"go to last page","aria-disabled":o>=i}))},Dl=[{label:"10 / page",value:10},{label:"25 / page",value:25},{label:"50 / page",value:50},{label:"100 / page",value:100}],Wl=u($).withConfig({displayName:"vui--Container",componentId:"vui--vvvb5w"})`display:flex;flex-direction:row;justify-content:flex-start;align-items:center;`,Tl=u(Je).withConfig({displayName:"vui--Dropdown",componentId:"vui--1762fp7"})`&-container{width:100%;}`,Al=u.button.withConfig({displayName:"vui--Button",componentId:"vui--18oel89"})`width:100%;height:32px;padding:6px 8px 8px 8px;display:flex;border:1px solid ${N.neutral.grey.base};box-sizing:border-box;border-radius:4px;justify-content:space-between;background:white;cursor:pointer;svg{padding-left:8px;padding-top:2px;}`,Zl=u($).withConfig({displayName:"vui--Container",componentId:"vui--yx82xe"})`display:flex;flex-direction:row;justify-content:flex-start;align-items:center;`,Vl=u(A).withConfig({displayName:"vui--StyledText",componentId:"vui--gffv6m"})`width:100%;padding:8px 16px;cursor:pointer;&:hover{color:${N.secondary.blue.base};background:${N.neutral.grey.lightest};}`,Pl=({item:t,handleRangeListChange:o})=>{const i=n((()=>o(t)),[o,t]);return e.createElement(Zl,{onClick:i},e.createElement(Vl,{variant:"bodySmall"},t.label))},ql=t=>{const{handleRangeListChange:n,paginationRange:o=Dl}=t;return e.createElement(e.Fragment,null,o.map((t=>e.createElement(d,{key:t.label},e.createElement(Pl,{item:t,handleRangeListChange:n})))))};class Xl extends s{constructor(e){super(e),this.handleRangeListChange=e=>{const{onPaginationRangeChange:t}=this.props;this.setDropdownValue(e),t(e)},this.setDropdownValue=e=>this.setState({shouldShowDropdown:!1,dropdownValue:e}),this.toggleShouldShow=()=>{const{shouldShowDropdown:e}=this.state;this.setState({shouldShowDropdown:!e})};const{dropdownValue:t=Dl[1]}=this.props;this.state={dropdownValue:t,shouldShowDropdown:!1}}render(){const{className:t,paginationRange:n=Dl,reversedDropdown:o}=this.props,{shouldShowDropdown:i,dropdownValue:l}=this.state;return e.createElement(Wl,{className:t},e.createElement(Tl,{cta:e.createElement(Al,{onClick:this.toggleShouldShow},e.createElement(A,{variant:"bodySmall"},l.label),e.createElement(ve,{color:O.colors.neutral.ink.base})),shouldShowDropdown:i,onClickAway:this.toggleShouldShow,reversed:o},e.createElement(ql,{paginationRange:n,handleRangeListChange:this.handleRangeListChange})))}}const Yl=u.div.withConfig({displayName:"vui--Container",componentId:"vui--1y4bw67"})`box-sizing:border-box;display:inline-flex;flex-direction:column;height:${({size:e})=>"sm"===e?"32px":"40px"};border-radius:4px;${({size:e})=>"sm"===e?"svg { width: 14px !important; height: 14px !important; };\n\n > button { padding: 0 6px };":""};& > *:first-child{border-bottom-width:0;}& > *:active,& > *:focus{border-width:1px;}& > *:active + *,& > *:focus + *{border-top-width:0;}& > *:focus,& > *:active{z-index:5;}& > *:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit;}& > *:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;}`,Gl=u.button.withConfig({displayName:"vui--StepButton",componentId:"vui--z17r9v"})`appearance:none;flex:1;border:0;display:flex;justify-content:center;align-items:center;padding:0 8px;background-color:white;border:1px solid #959fa8;&:hover{cursor:pointer;background-color:#fafafb;}&:active:not(:disabled){background-color:#fafafb;border-color:#0079d1;box-shadow:0 0 0 4px #80bce8;}&:focus{box-shadow:0 0 0 4px #80bce8;outline:0;}&:disabled{background-color:#f2f3f5;border-color:#959fa8;color:#637381;cursor:not-allowed;}`,Ul=({onIncrement:t,onDecrement:n,disabled:o=!1,size:i})=>e.createElement(Yl,{size:i},e.createElement(Gl,{type:"button",onClick:t,disabled:o},e.createElement(Ee,{height:O.sizes.base,width:O.sizes.base,color:O.colors.neutral.ink.base})),e.createElement(Gl,{type:"button",onClick:n,disabled:o},e.createElement(Z,{height:O.sizes.base,width:O.sizes.base,color:O.colors.neutral.ink.base}))),Kl=u(Ei).withConfig({displayName:"vui--StyledTextField",componentId:"vui--8gyz01"})`color:${O.colors.neutral.ink.dark};width:100%;&:focus{box-shadow:none;border-color:none;border-right-width:0;border-color:${O.colors.neutral.ink.lightest};}`,_l=u($).withConfig({displayName:"vui--PrefixContainer",componentId:"vui--fsc9el"})`user-select:none;border:1px solid ${O.colors.neutral.ink.lightest};border-radius:4px;display:flex;align-items:center;justify-content:center;width:${({size:e})=>"sm"===e?"30px":"36px"};background-color:${({disabled:e})=>e?O.colors.neutral.grey.light:"white"};flex-shrink:0;${({size:e})=>"sm"===e?"> span { font-size: 12px }":""};&:active{z-index:0;border-right-width:0;+ input{z-index:0;border-left-width:1px;}}`,Jl=u(A).withConfig({displayName:"vui--PrefixText",componentId:"vui--w81sf"})`font-size:14px;`,Ql=u(ci).withConfig({displayName:"vui--PriceInputGroup",componentId:"vui--jpuoo1"})`display:inline-flex;border-radius:4px;min-width:125px;width:100%;${({hasError:e})=>e&&`\n box-shadow: 0 0 0 4px ${O.colors.secondary.red.light};\n\n > * {\n border-top-color: ${O.colors.secondary.red.base};\n border-bottom-color: ${O.colors.secondary.red.base};\n }\n\n > *:first-child {\n border-left-color: ${O.colors.secondary.red.base};\n }\n\n > div:last-child {\n > button:first-child {\n border-top-color: ${O.colors.secondary.red.base};\n border-right-color: ${O.colors.secondary.red.base};\n }\n\n > button:last-child {\n border-right-color: ${O.colors.secondary.red.base};\n border-bottom-color: ${O.colors.secondary.red.base};\n }\n }\n `} &:focus-within{outline:0;box-shadow:${({hasError:e})=>e?"":`0 0 0 4px ${O.colors.secondary.blue.light}`};}&:focus-within > *{border-top-color:${({hasError:e})=>e?O.colors.secondary.red.base:O.colors.secondary.blue.base};border-bottom-color:${({hasError:e})=>e?O.colors.secondary.red.base:O.colors.secondary.blue.base};}&:focus-within > *:first-child{border-left-color:${({hasError:e})=>e?O.colors.secondary.red.base:O.colors.secondary.blue.base};}&:focus-within > div:last-child{> button:first-child{border-top-color:${({hasError:e})=>e?O.colors.secondary.red.base:O.colors.secondary.blue.base};border-right-color:${({hasError:e})=>e?O.colors.secondary.red.base:O.colors.secondary.blue.base};}> button:last-child{border-right-color:${({hasError:e})=>e?O.colors.secondary.red.base:O.colors.secondary.blue.base};border-bottom-color:${({hasError:e})=>e?O.colors.secondary.red.base:O.colors.secondary.blue.base};}}`;const er=fi((t=>{var{className:n="",hasError:o,currency:i,disabled:l=!1,onChange:r,onPriceChange:a,priceValue:s,step:d="0.1",size:c=mi.base}=t,m=oe(t,["className","hasError","currency","disabled","onChange","onPriceChange","priceValue","step","size"]);const u=(e=a)=>{e(((parseFloat(s)||0)+parseFloat(d)).toFixed(2))},p=(e=a)=>{e(((parseFloat(s)||0)-parseFloat(d)).toFixed(2))};return e.createElement(Ql,{className:n,hasError:o},e.createElement(_l,{disabled:l,size:c},e.createElement(Jl,{variant:"hintText"},i)),e.createElement(Kl,Object.assign({placeholder:"0.00",type:"currency",value:s,step:d,onChange:e=>r(e.replace(/[a-zA-Z]/g,"").replace(",",".")),onBlur:e=>{const t=e.target,{value:n}=t;if(!n)return void a("");const o=parseFloat(n.replace(",",".")).toFixed(2);a(o)},onKeyDown:e=>{const{key:t}=e,n=e.target;n.form||"Enter"===t&&n.blur(),"ArrowUp"===t&&u(r),"ArrowDown"===t&&p(r)},disabled:l,size:c},m)),e.createElement(Ul,{onIncrement:()=>u(),onDecrement:()=>p(),disabled:l,size:c}))}));er.displayName="PriceInput";const tr=u(Ei).withConfig({displayName:"vui--Input",componentId:"vui--je6y84"})`flex-grow:2;margin-top:0;margin-bottom:0;`,nr=u.div.withConfig({displayName:"vui--IconContainer",componentId:"vui--113gfe8"})`position:absolute;`,or=u($).withConfig({displayName:"vui--Container",componentId:"vui--18q9h8i"})`position:relative;display:flex;justify-content:flex-start;align-items:center;border-radius:0.25rem;${({iconPosition:e})=>{let t="padding-right: 2.5rem;",n="right: 0.5rem;";return"left"===e&&(t="padding-left: 2.5rem",n="left: 0.5rem;"),`\n & ${tr} {\n ${t}\n }\n\n & ${nr} {\n ${n}\n }\n `}}`,ir=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3819 13.6918H15.1498L20 18.5517L18.5517 20L13.6918 15.1498V14.3819L13.4294 14.1098C12.3213 15.0623 10.8828 15.6358 9.3179 15.6358C5.82847 15.6358 3 12.8073 3 9.3179C3 5.82847 5.82847 3 9.3179 3C12.8073 3 15.6358 5.82847 15.6358 9.3179C15.6358 10.8828 15.0623 12.3213 14.1098 13.4294L14.3819 13.6918ZM4.94397 9.3179C4.94397 11.7381 6.89766 13.6918 9.3179 13.6918C11.7381 13.6918 13.6918 11.7381 13.6918 9.3179C13.6918 6.89766 11.7381 4.94397 9.3179 4.94397C6.89766 4.94397 4.94397 6.89766 4.94397 9.3179Z",fill:"currentColor"})),lr=({type:t="text",disabled:n=!1,onClearClick:o,onChange:i,onBlur:l,onFocus:r,onKeyUp:a,onKeyDown:s,onKeyPress:d,value:c="",error:m,placeholder:u="",className:p="",name:g,isLoading:h=!1,fill:b,reversed:f=!1,autoComplete:v="on",size:x="base"})=>{const y=c&&c.length>0;return e.createElement(or,{className:p,iconPosition:f?"left":"right"},e.createElement(tr,{size:x,type:t,value:c,onChange:i,onBlur:l,onFocus:r,onKeyUp:a,onKeyDown:s,onKeyPress:d,placeholder:u,name:g,disabled:n,error:m,autoComplete:v}),e.createElement(nr,null,h?e.createElement(ae,{height:24,color:b||O.colors.secondary.blue.base}):y&&o?e.createElement(ye,{variant:"unstyled",onClick:o,style:{display:"flex"},"aria-label":"Clear text"},e.createElement($e,{color:b||O.colors.neutral.ink.dark})):e.createElement(ye,{variant:"unstyled",onClick:()=>i(c),style:{display:"flex"},"aria-label":"Search"},e.createElement(ir,{color:b||O.colors.neutral.ink.dark,height:M.md,width:M.md}))))},rr=O.colors.neutral.grey.lightest,ar=O.colors.neutral.grey.dark,sr=O.colors.secondary.blue.dark,dr=u($).withConfig({displayName:"vui--SegmentedControlContainer",componentId:"vui--s4yyqq"})`display:flex;flex-direction:row;> button{border-radius:0;box-shadow:none;:focus,:active{background-color:${rr};border-color:${ar};box-shadow:none;}}> .veeqo-components-active-button{:focus,:active{background-color:${sr};border-color:${sr};}}> button:not(:first-child){border-left:none;}> .veeqo-components-active-button + button{border-left:1px solid ${O.colors.neutral.grey.dark};}> button:first-child{border-radius:20px 0px 0px 20px;}> button:last-child{border-radius:0px 20px 20px 0px;}`,cr=({options:t,selected:n,className:o,onChange:i})=>e.createElement(dr,{className:o?`${o}-container`:void 0},t.map((t=>e.createElement(ye,{variant:t.value===n?"primary":"default",key:t.key,onClick:()=>i(t.value),disabled:t.disabled,className:t.value===n?"veeqo-components-active-button":""},t.label)))),mr=u.select.withConfig({displayName:"vui--SelectInput",componentId:"vui--1v4mu6a"})`box-sizing:border-box;appearance:none;display:flex;align-items:center;justify-content:center;padding:0 2.5rem 0 0.5rem;border-radius:4px;background-color:white;border:1px solid #959fa8;color:#1b2126;background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fillRule='evenodd' clipRule='evenodd' d='M4 6L8 10L12 6H4Z' fill='currentColor' /%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 0.5em top 50%,0 0;${({sizeVariant:e})=>{let t="40px",n="14px";return"sm"===e&&(t="32px",n="12px"),`\n height: ${t};\n font-size: ${n};\n `}} &:focus{border-color:#0079d1;box-shadow:0 0 0 4px #80bce8;outline:0;}&:invalid{border-color:#eb5757;box-shadow:0 0 0 4px #f7bcbc;outline:0;}&:disabled{box-shadow:none;background-color:#f2f3f5;border-color:#959fa8;color:#637381;}`,ur=fi((t=>{var{className:o,options:i,value:l,onChange:r,size:a,disabled:s,hasError:d}=t,c=oe(t,["className","options","value","onChange","size","disabled","hasError"]);const m=n((e=>{r(e.currentTarget.value)}),[r]);return e.createElement(mr,Object.assign({className:o,sizeVariant:a,value:l,onChange:m,disabled:s,hasError:d},c),i?i.map((t=>e.createElement("option",{key:t.label,value:t.value,disabled:t.disabled},t.label))):e.createElement("h1",null,"BOB! ERROR!"))}));ur.displayName="Select";const{blue:pr}=N.secondary,{grey:gr}=N.neutral,hr=u.thead.withConfig({displayName:"vui--TableHeader",componentId:"vui--o0sot"})`background-color:white;`,br=u.tbody.withConfig({displayName:"vui--TableBody",componentId:"vui--nuzcgp"})`&&& tr:hover td{background-color:${pr.lightest};}`,fr=u.tr.withConfig({displayName:"vui--TableRow",componentId:"vui--1uhgfx1"})``,vr=u.td.withConfig({displayName:"vui--TableCell",componentId:"vui--s41x8b"})`position:relative;padding:1.25rem 1rem;text-align:${({align:e})=>e||"left"};background-color:white;font-family:${R.bodySmall.fontFamily};font-size:${R.bodySmall.fontSize};font-weight:${R.bodySmall.fontWeight};color:${R.bodySmall.color};line-height:${M.base};& > *{vertical-align:middle;}`,xr=u(vr).attrs({as:"th"}).withConfig({displayName:"vui--TableHeaderCell",componentId:"vui--2nps2x"})`border-bottom:1px solid ${gr.dark};font-family:${R.bodySmallBold.fontFamily};font-size:${R.bodySmallBold.fontSize};font-weight:${R.bodySmallBold.fontWeight};color:${R.bodySmallBold.color};`,yr=u.table.withConfig({displayName:"vui--Table",componentId:"vui--lcbl46"})`width:100%;border-spacing:0;${({striped:e})=>e&&`\n & ${br} tr:nth-child(even) td {\n background-color: ${gr.lightest};\n }\n `}`,wr=({striped:t=!0,className:n,children:o})=>e.createElement(yr,{striped:t,className:n},o);wr.Header=hr,wr.Body=br,wr.Row=fr,wr.HeaderCell=xr,wr.Cell=vr;const Cr=u.div.withConfig({displayName:"vui--SliderContainer",componentId:"vui--103oce3"})`min-width:128px;display:inline-block;position:relative;padding:${8}px 0px;`,Er=u.div.withConfig({displayName:"vui--SliderTrack",componentId:"vui--1ctzbzj"})`background:${O.colors.neutral.grey.base};height:${4}px;border-radius:20px;`,$r=u.div.withConfig({displayName:"vui--SliderDiv",componentId:"vui--1tltjvk"})`position:absolute;top:-${0}px;left:${e=>`${e.left}%`};width:${12}px;height:${12}px;background:white;border:${4}px solid ${O.colors.secondary.blue.base};border-radius:50%;touch-action:none;cursor:pointer;margin-left:-${12}px;&:active,&:focus,&:focus-visible,&:focus-within{box-shadow:0 0 0 4px ${O.colors.secondary.blue.light};}`,kr=u(Er).withConfig({displayName:"vui--SliderRange",componentId:"vui--t3v3py"})`position:relative;width:${e=>`${e.width}%`};left:${e=>`${e.left}%`};background:${O.colors.secondary.blue.light};bottom:${4}px;border-radius:0;`,Sr=e=>({container:e?`${e}-slider-container`:void 0,sliderRange:e?`${e}-slider-range`:void 0,slider:e?`${e}-slider`:void 0,startSlider:e?`${e}-start-slider`:void 0,endSlider:e?`${e}-end-slider`:void 0}),Nr=({id:i,value:l,min:a,max:s,step:d=1,onChange:c,className:m,e2eClassName:u,onSlideStart:p=(()=>{}),onSlideEnd:g=(()=>{})})=>{const[h,b]=t(!1),[f,v]=t(-1),x=r(null),y=r(null),w=r(null),C=Sr(m),E=Sr(u),$=n((e=>{var t;if(!h||!x.current)return;const n=f>-1?l[f]:l,o=x.current.getBoundingClientRect();let i=100*(e.pageX-o.x)/o.width/100*(s-a)+a;const r=n-i;if(r>0&&(i=n+Math.ceil(i/d-n/d)*d),r<0&&(i=n+Math.floor(i/d-n/d)*d),n===i)return;i>s&&(i=s),i<a&&(i=a),Array.isArray(l)&&(0===f&&i>l[1]&&([,i]=l),1===f&&i<l[0]&&([i]=l));const m=d.toString().includes(".")?null===(t=d.toString().split(".").pop())||void 0===t?void 0:t.length:0;let u;i=Number(i.toFixed(m)),u=Array.isArray(l)?0===f?[i,l[1]]:[l[0],i]:i,c(u),Array.isArray(u)&&u[0]===u[1]&&(0===f&&v(1),1===f&&v(0))}),[f,h,s,a,c,d,l]),k=n((()=>{b(!1),g()}),[g]),S=n(((e,t)=>{b(!0),p(),"number"==typeof t&&v(t),e.preventDefault()}),[p]);o((()=>{const e=e=>S(e,Array.isArray(l)?0:1),t=e=>S(e,1),n=y.current,o=w.current;return null==n||n.addEventListener("mousedown",e),null==o||o.addEventListener("mousedown",t),document.addEventListener("mousemove",$),document.addEventListener("mouseup",k),()=>{null==n||n.removeEventListener("mousedown",e),null==o||o.removeEventListener("mousedown",t),document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",k)}}),[S,$,k,l]);const N=(t,n,o)=>{let i;return i=ht("number"==typeof o?0===o?[null==C?void 0:C.startSlider,null==E?void 0:E.startSlider]:[null==C?void 0:C.endSlider,null==E?void 0:E.endSlider]:[null==C?void 0:C.slider,null==E?void 0:E.slider]),e.createElement($r,{role:"slider",ref:1===o?w:y,className:i,left:t,"aria-valuemin":a,"aria-valuemax":s,"aria-valuenow":n})},L=t=>{const n=100*(t[0]<a?0:t[0]-a)/(s-a),o=100*(t[1]>s?100:t[1]-a)/(s-a),i=o-n;return e.createElement(e.Fragment,null,e.createElement(kr,{className:ht([null==C?void 0:C.sliderRange,null==E?void 0:E.sliderRange]),left:n,width:i}),N(n,t[0],0),N(o,t[1],1))};let I;return I=Array.isArray(l)?L(l):(e=>{if(Array.isArray(l))return L(l);let t;return t=l>s?100:l<a?0:100*(e-a)/(s-a),N(t,e)})(l),e.createElement(Cr,{className:ht([null==C?void 0:C.container,null==E?void 0:E.container]),id:i,ref:x},e.createElement(Er,null),I)},Lr=u($).withConfig({displayName:"vui--Tag",componentId:"vui--1rdo7hk"})`display:inline-flex;flex-direction:row;justify-content:center;align-items:center;border-radius:4px;padding:4px 8px;${({backgroundColor:e,color:t})=>`\n color: ${null!=t?t:N.neutral.ink.base};\n background-color: ${null!=e?e:N.neutral.grey.base};\n `}`,Ir=u(Ht).withConfig({displayName:"vui--ToastsLayoutContainer",componentId:"vui--1iztsl9"})`position:fixed;bottom:24px;width:100%;pointer-events:none;`,zr=u(Ht).withConfig({displayName:"vui--Toast",componentId:"vui--1o64628"})`background-color:${O.colors.neutral.ink.dark};padding:12px 24px 12px 12px;box-shadow:${O.shadows.lg};border-radius:${O.radius.md};pointer-events:auto;z-index:40;min-width:${({minWidth:e})=>e};max-width:80vw;&.veeqo-components-toast-enter{transform:translateY(12px);opacity:0;}&.veeqo-components-toast-enter-active{transform:translateY(0);opacity:1;transition:500ms ease;}&.veeqo-components-toast-exit{transform:${({last:e})=>e?"translateY(0)":"translateX(0)"};opacity:1;}&.veeqo-components-toast-exit-active{transform:${({last:e})=>e?"translateY(12px)":"translateX(12px)"};opacity:0;transition:500ms ease;}`,Fr=u($).withConfig({displayName:"vui--IconWrap",componentId:"vui--1nmtetq"})`display:flex;flex-direction:row;align-items:center;justify-content:center;height:40px;width:40px;border-radius:${O.radius.md};background-color:${({color:e})=>e};color:#fff;svg{width:${M.md};height:${M.md};}`,jr=u(Ht).withConfig({displayName:"vui--ContentStack",componentId:"vui--fvpujj"})`flex-grow:1;`,Br=u(A).withConfig({displayName:"vui--StyledText",componentId:"vui--ppieao"})`color:white;font-size:16px;`,Mr={info:{accentColor:N.brand.blue.base,icon:e.createElement(Go,null)},success:{accentColor:N.secondary.green.base,icon:e.createElement(rn,null)},error:{accentColor:N.secondary.red.base,icon:e.createElement((t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 15H13V17H11V15ZM11 7H13V13H11V7ZM11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",fill:"currentColor"}))),null)},merge:{accentColor:N.secondary.purple.base,icon:e.createElement((t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.9887 6.82229H6.84911L12.1714 1.5L17.4937 6.82229H13.3541V14.4036L6.25774 21.5L4.59009 19.8323L10.9887 13.4338V6.82229ZM19.7527 19.8323L18.0851 21.5L14.0519 17.4669L15.7196 15.7992L19.7527 19.8323Z",fill:"currentColor"}))),null)}},Hr=e=>({container:e?`${e}-toast-container`:void 0,icon:e?`${e}-toast-icon`:void 0,closeIcon:e?`${e}-toast-close-icon`:void 0}),Rr=({className:t,e2eClassName:n,type:o,iconSlot:i,text:l,last:r,minWidth:a,cta:s,onClose:d})=>{const c=Hr(t),m=Hr(n);return e.createElement(zr,{className:ht([null==c?void 0:c.container,null==m?void 0:m.container]),direction:"horizontal",alignY:"center",minWidth:a,last:r},e.createElement(Fr,{color:Mr[o].accentColor,className:ht([c.icon,m.icon])},null!=i?i:Mr[o].icon),e.createElement(jr,{direction:"horizontal",alignY:"center",alignX:"between"},e.createElement(Br,{variant:"body"},l),s),e.createElement(ye,{variant:"flat",icon:e.createElement($e,{color:"white"}),onClick:d,"aria-label":"Close"}))},Or=({className:t,e2eClassName:n,toasts:i,minWidth:l="50vw",max:r=3,onClose:a})=>(o((()=>{r&&i.length>r&&a(i[0].key)}),[i,r,a]),v(e.createElement(Ir,{direction:"vertical",alignX:"center",spacing:4},e.createElement(m,{component:null},[...i].reverse().map(((o,r)=>e.createElement(c,{key:o.key,timeout:500,classNames:"veeqo-components-toast"},e.createElement(Rr,Object.assign({className:t,e2eClassName:n,minWidth:l,last:r===i.length-1,onClose:()=>a(o.key)},o))))))),document.body)),Dr=u.span.withConfig({displayName:"vui--Slider",componentId:"vui--x03mdi"})`content:'';position:absolute;top:0;left:0;right:0;bottom:0;border-radius:18px;background-color:#cdd1d5;-webkit-transition:0.3s;transition:0.3s;&:after{content:'';position:absolute;border-radius:50%;background-color:${({disabled:e,switched:t})=>e&&t?O.colors.secondary.blue.lightest:"white"};-webkit-transition:0.3s;transition:0.3s;}`,Wr=u.input.withConfig({displayName:"vui--Input",componentId:"vui--1ccelw2"})`&:focus-visible + ${Dr}{box-shadow:0 0 0 4px ${O.colors.brand.blue.light};}&:checked + ${Dr}{background-color:#0079d1;}&:disabled + ${Dr}{background-color:${O.colors.neutral.grey.base};}&:checked:disabled + ${Dr}{background-color:${O.colors.secondary.blue.light};}`,Tr=u.label.withConfig({displayName:"vui--Switch",componentId:"vui--13yy1uj"})`display:inline-block;position:relative;cursor:${({disabled:e})=>e?"default":"pointer"};height:${({small:e})=>e?"28px":"36px"};width:${({small:e})=>e?"56px":"72px"};input{position:absolute;opacity:0;}${Dr}:after{height:${({small:e})=>e?"22px":"28px"};width:${({small:e})=>e?"22px":"28px"};left:${({small:e})=>e?"3px":"4px"};bottom:${({small:e})=>e?"3px":"4px"};}${Wr}:checked + ${Dr}{&:after,svg{-webkit-transform:translateX(${({small:e})=>e?"28px":"36px"});-ms-transform:translateX(${({small:e})=>e?"28px":"36px"});transform:translateX(${({small:e})=>e?"28px":"36px"});}}`,Ar=u($).withConfig({displayName:"vui--Wrapper",componentId:"vui--69792q"})`cursor:${({disabled:e})=>e?"not-allowed":"pointer"};display:inline-block;user-select:none;`,Zr=({className:t,name:n,switched:o,small:i,onClick:l=(()=>{}),disabled:r,ariaLabel:a})=>e.createElement(Ar,{className:t,disabled:r},e.createElement(Tr,{small:i,disabled:r,role:"switch"},e.createElement(Wr,{type:"checkbox",name:n,"aria-label":a,checked:!!o,onChange:r?void 0:l,disabled:r}),e.createElement(Dr,{switched:o,disabled:r}))),Vr=u.button.withConfig({displayName:"vui--StyledButton",componentId:"vui--x718nd"})`user-select:none;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-family:${O.fontFamily};font-weight:400;border:1px solid;box-shadow:0 1px 3px rgba(55, 66, 77, 0.15);${({size:e,checked:t})=>{let n="40px",o="24px",i="24px",l="8px",r="16px",a="4px",s="white",d="#CDD1D5",c="#37424D";return"sm"===e&&(n="32px",o="16px",i="16px",l="4px",r="14px",a="2px"),t&&(s="#0079D1",d="#0079D1",c="white"),`\n --outline-width: ${a};\n\n height: ${n};\n padding-left: ${o};\n padding-right: ${i};\n border-radius: ${l};\n font-size: ${r};\n\n background-color: ${s};\n border-color: ${d};\n color: ${c};\n `}} & > * + *{margin-left:8px;}&:hover{cursor:pointer;background-color:${({checked:e})=>e?"#005A9C":"#FAFAFB"};}&:active{background-color:${({checked:e})=>e?"#005A9C":"#FAFAFB"};border-color:${({checked:e})=>e?"#005A9C":"#0079D1"};box-shadow:0 0 0 var(--outline-width)#80bce8;}&:focus{box-shadow:0 0 0 var(--outline-width)#80bce8;outline:0;}&:disabled{cursor:unset;box-shadow:none;background-color:#dfe3e8;border-color:#dfe3e8;color:#637381;}& > span{position:relative;top:-1px;}`,Pr=({children:t,checked:n,size:o="base",disabled:i=!1,onChange:l})=>e.createElement(Vr,{type:"button",checked:n,size:o,disabled:i,"aria-pressed":n,tabIndex:"0",onClick:()=>l(!n)},t),qr="\n position: fixed;\n height: 100%;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n",Xr=u($).withConfig({displayName:"vui--Container",componentId:"vui--1xg3v52"})`${qr} display:${e=>e.shouldShow?"initial":"none"};z-index:${O.layers.modal};`,Yr=u($).withConfig({displayName:"vui--Shadow",componentId:"vui--nz3cc"})`${qr} background-color:rgba(55,66,77,0.5);`,Gr=u($).withConfig({displayName:"vui--Wrap",componentId:"vui--1pbqe6"})`position:relative;height:100%;width:100%;z-index:1;`,Ur=({usePortal:t,children:n})=>e.createElement(e.Fragment,null,t?e.createElement(Q,null,n):n),Kr=({className:t,children:n=null,shouldShow:o=!1,usePortal:i=!0})=>e.createElement(Ur,{usePortal:i},e.createElement(Xr,{className:ht([`${t}-container`,t]),shouldShow:o},e.createElement(Yr,null),e.createElement(E,{isActive:o},e.createElement(Gr,{className:ht([`${t}-wrap`,t])},n)))),_r=u.div.withConfig({displayName:"vui--PopupContent",componentId:"vui--17gmyeh"})`display:flex;justify-content:center;align-items:center;height:100%;`,Jr=u.div.withConfig({displayName:"vui--VideoWrapper",componentId:"vui--rcrl58"})`position:relative;iframe{width:57vw;height:calc(57vw * 0.5625);border-radius:8px;}`,Qr=u(ye).withConfig({displayName:"vui--ButtonSC",componentId:"vui--srigr3"})`position:absolute;top:0px;right:-45px;`,ea=({id:t,youtubeVideoId:n,showVideoModal:o,handleCloseClick:i})=>{const l=Ii(o,i);return e.createElement(Kr,{shouldShow:o,className:`${t}-video`},e.createElement(_r,{"data-testid":"video-modal_popup-content",className:"video-modal--"+(o?"visible":"hidden")},e.createElement(Jr,{ref:l},e.createElement("iframe",{title:`${t}-video`,src:`https://www.youtube.com/embed/${n}`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),e.createElement(Qr,{variant:"flat",onClick:i,"data-testid":"video-modal--close",icon:e.createElement($e,{color:"white"})}))))};var ta;!function(e){e.saved="saved",e.fixed="fixed",e.draft="draft"}(ta||(ta={}));const na=u($).withConfig({displayName:"vui--Container",componentId:"vui--1vyyfhh"})`padding:14px 24px;`,oa=u($).withConfig({displayName:"vui--Contour",componentId:"vui--vld7v7"})`position:relative;display:flex;flex-direction:row;align-items:center;height:40px;border-radius:4px;padding:0 12px;border:1px solid transparent;cursor:pointer;&:hover{border:1px solid ${N.secondary.blue.base};background-color:${N.secondary.blue.lightest};}${e=>e.active&&`\n background-color: ${N.secondary.blue.lightest};\n `}`,ia=u(A).withConfig({displayName:"vui--CounterText",componentId:"vui--1hjbx14"})`line-height:1;`,la=u(A).withConfig({displayName:"vui--CounterContainer",componentId:"vui--chq9kr"})`display:inline-flex;flex-direction:row;justify-content:center;align-items:center;background-color:${N.neutral.grey.base};border-radius:4px;padding:2px 4px;min-width:20px;height:20px;margin-left:8px;& > ${ia}{color:${N.neutral.ink.dark};}${e=>e.active&&`\n background-color: ${N.secondary.blue.base};\n\n & > ${ia} {\n color: #fff;\n }\n `}`,ra={style:{marginLeft:"4px",padding:"4px",height:M.base,width:M.base}},aa=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M6 10C4.9 10 4 10.9 4 12C4 13.1 4.9 14 6 14C7.1 14 8 13.1 8 12C8 10.9 7.1 10 6 10ZM18 10C16.9 10 16 10.9 16 12C16 13.1 16.9 14 18 14C19.1 14 20 13.1 20 12C20 10.9 19.1 10 18 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",fill:"currentColor"})),sa=t=>e.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 18.0418V21.9996H6.95778L18.6306 10.3273L14.6728 6.36952L3 18.0418ZM21.6913 7.2661C22.1029 6.85501 22.1029 6.19011 21.6913 5.7785L19.2216 3.30831C18.81 2.89723 18.1451 2.89723 17.7335 3.30831L15.8021 5.23971L19.7599 9.19749L21.6913 7.2661Z",fill:"currentColor"})),da=e=>({delete:e?`${e}-delete`:void 0,options:e?`${e}-options`:void 0,edit:e?`${e}-edit`:void 0,container:e?`${e}-container`:void 0,active:e?`${e}-active`:void 0,counter:e?`${e}-counter`:void 0}),ca=({id:t,name:o,type:i,className:l,count:r,active:a=!1,onClick:s,onDelete:d,onEdit:c,onOptions:m,e2eClassName:u})=>{const p=da(l),g=da(u),[h,b,f]=Hi(),v=n((()=>s(t)),[t,s]),x=n((e=>{e.stopPropagation(),d&&d(t)}),[d,t]),y=n((e=>{e.stopPropagation(),c&&c(t)}),[c,t]),w=n((e=>{e.stopPropagation(),m&&m(t)}),[m,t]),C=i===ta.draft,E=i===ta.fixed,$=i===ta.saved,k=a?N.neutral.ink.dark:N.neutral.ink.base;return e.createElement(na,{className:`${ht([null==p?void 0:p.container,null==g?void 0:g.container])} ${a&&(null==g?void 0:g.active)||""}`,onClick:v},e.createElement(oa,{active:a,onMouseEnter:b,onMouseLeave:f},e.createElement(A,{variant:"bodyBold"},o),r&&e.createElement(la,{active:a||h},e.createElement(ia,{className:null==g?void 0:g.counter,variant:"subheadingSmall"},r)),C&&e.createElement($e,Object.assign({},ra,{color:k,className:null==g?void 0:g.delete,onClick:x})),E&&a&&e.createElement(aa,Object.assign({},ra,{color:k,className:null==g?void 0:g.options,onClick:w})),$&&a&&e.createElement(sa,Object.assign({},ra,{color:k,className:null==g?void 0:g.edit,onClick:y}))))},ma=u($).withConfig({displayName:"vui--Container",componentId:"vui--18asccd"})`display:flex;flex-direction:column;position:relative;`,ua=u($).withConfig({displayName:"vui--Row",componentId:"vui--hefld1"})`display:flex;flex-direction:row;`,pa=u(Ei).withConfig({displayName:"vui--StyledTextField",componentId:"vui--1w2y0ok"})`&&&{text-align:left;width:52px;}`,ga=u(ye).withConfig({displayName:"vui--StyledButton",componentId:"vui--fqwvpz"})`padding:0 4px;border-color:${O.colors.neutral.ink.lightest};margin-right:4px;${e=>e.hasError&&`\n border-color: ${O.colors.secondary.red.base};\n `};`,ha=fi((t=>{var{size:n=mi.base,hasError:o,className:i}=t,l=oe(t,["size","hasError","className"]);return e.createElement(ma,{className:i},e.createElement(ua,null,"g"===l.weightUnit&&e.createElement(ci,null,e.createElement(pa,Object.assign({size:n,onChange:l.handleChangeGram,name:"gram",type:"number",value:l.gram,hasError:o},l)),e.createElement(ga,{hasError:o,size:n},"g")),(e=>"lb"===e.weightUnit||"oz"===e.weightUnit)(l)&&e.createElement(e.Fragment,null,e.createElement(ci,null,e.createElement(pa,Object.assign({size:n,onChange:l.handleChangePound,name:"ounce",type:"number",value:l.pound,hasError:o},l)),e.createElement(ga,{hasError:o,size:n},"lb")),e.createElement(ci,null,e.createElement(pa,Object.assign({size:n,onChange:l.handleChangeOunce,name:"pound",type:"number",value:l.ounce,hasError:o},l)),e.createElement(ga,{hasError:o,size:n},"oz")))))}));ha.displayName="WeightInput",ha.defaultProps={weightUnit:"lb"};export{_ as Accordion,Pe as ActionList,Xe as Anchor,Je as AnimatedDropdown,et as Avatar,ft as Badge,St as Banner,$ as BaseContainer,Bt as Breadcrumbs,ye as Button,He as Card,ke as CardHeader,Qt as Checkbox,Gt as Choice,ln as ChoiceList,cn as CopyToClipboard,oo as DataTable,_o as DataTableExp,ii as DescriptionList,di as DetailPage,Li as DimensionsInput,Xi as FilterTag,Bi as FocusVisibleManager,Yi as Grid,el as Image,ci as InputGroup,ae as Loader,il as LoginWithAmazonButton,bl as Modal,Il as PageHeader,Ol as Pagination,Xl as PaginationRange,ne as Popover,Kr as Popup,Q as Portal,er as PriceInput,tn as Radio,lr as Search,cr as SegmentedControl,ur as Select,wr as SimpleTable,Nr as Slider,Ht as Stack,Ul as Stepper,Lr as Tag,A as Text,Ei as TextField,Or as ToastsLayout,Zr as Toggle,Pr as ToggleButton,ct as Tooltip,ea as VideoModal,ca as View,ha as WeightInput,ht as buildClassnames,J as generateId,dl as getOpaqueHexColor,sl as hexToRgb,O as theme,uo as useCellWidths,Ii as useClickOutside,po as useColumns,zi as useDebounce,go as useDragToScroll,Fi as useDropdown,Mi as useFocusVisible,Hi as useHover,Ri as useIsOverflowing,ho as useNested,bo as useScrollPosition,Eo as useSelection,Oi as useTabs,vi as withDeprecated,fi as withLabels};
2
+ //# sourceMappingURL=index.esm.js.map