@iress-oss/ids-components 5.20.0 → 5.20.3

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 (253) hide show
  1. package/CHANGELOG.md +378 -0
  2. package/README.md +1 -1
  3. package/dist/{AutocompleteNoResults-CogA3XZs.js → AutocompleteNoResults-B7El1R2l.js} +1 -1
  4. package/dist/ComboboxHiddenInput-CWfIj-Zz.js +32 -0
  5. package/dist/{FieldAppendToLabel-CuSREliL.js → FieldAppendToLabel-BTdzhQ7Z.js} +5 -5
  6. package/dist/InputBase-Hc9D8St6.js +56 -0
  7. package/dist/Loading.module-BjceG0Wh.js +13 -0
  8. package/dist/LoadingSuspense-Bwd232Nt.js +5728 -0
  9. package/dist/LogoFromSrc-CAdoYYud.js +59 -0
  10. package/dist/MenuItem.module-BQw_K5D4.js +24 -0
  11. package/dist/Popover.module-ZU-08mVQ.js +11 -0
  12. package/dist/PopoverProvider-Cvg6ObBO.js +142 -0
  13. package/dist/{SelectControl-D1SJlplM.js → SelectControl-WoixPfwh.js} +2 -2
  14. package/dist/SliderTicks-D-B1uIdS.js +74 -0
  15. package/dist/TabSet.module-4ohNBuQS.js +13 -0
  16. package/dist/Table.module-BYwGboft.js +32 -0
  17. package/dist/components/Alert/Alert.js +2 -2
  18. package/dist/components/Alert/index.js +1 -1
  19. package/dist/components/Autocomplete/Autocomplete.js +4 -4
  20. package/dist/components/Autocomplete/components/AutocompleteInstructions.js +7 -7
  21. package/dist/components/Autocomplete/components/AutocompleteNoResults.js +1 -1
  22. package/dist/components/Autocomplete/hooks/useAutocompleteSearch.js +36 -35
  23. package/dist/components/Autocomplete/index.js +1 -1
  24. package/dist/components/Badge/Badge.js +5 -5
  25. package/dist/components/Button/Button.js +3 -3
  26. package/dist/components/Button/CloseButton/CloseButton.js +2 -2
  27. package/dist/components/Button/index.js +1 -1
  28. package/dist/components/ButtonGroup/ButtonGroup.js +3 -3
  29. package/dist/components/ButtonGroup/ButtonGroupProvider.js +22 -22
  30. package/dist/components/ButtonGroup/hooks/useIDSButtonGroupItem.js +2 -2
  31. package/dist/components/ButtonGroup/index.js +1 -1
  32. package/dist/components/Card/helpers/composeIDSCard.js +1 -1
  33. package/dist/components/Checkbox/Checkbox.js +2 -2
  34. package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +11 -11
  35. package/dist/components/Checkbox/index.js +1 -1
  36. package/dist/components/CheckboxGroup/CheckboxGroup.js +74 -75
  37. package/dist/components/CheckboxMark/CheckboxMark.js +1 -1
  38. package/dist/components/CheckboxMark/CheckboxMark.types.js +2 -2
  39. package/dist/components/Col/Col.js +1 -1
  40. package/dist/components/Combobox/Combobox.js +4 -4
  41. package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +4 -4
  42. package/dist/components/Combobox/components/ComboboxHiddenInput.js +2 -2
  43. package/dist/components/Combobox/components/ComboboxResults.js +6 -6
  44. package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +4 -4
  45. package/dist/components/Combobox/hooks/useComboboxInlineCompletion.js +34 -37
  46. package/dist/components/Combobox/index.js +1 -1
  47. package/dist/components/Container/Container.js +1 -1
  48. package/dist/components/Divider/Divider.js +1 -1
  49. package/dist/components/Expander/Expander.js +48 -48
  50. package/dist/components/Field/Field.js +47 -47
  51. package/dist/components/Field/FieldGroup/FieldGroup.js +59 -59
  52. package/dist/components/Field/components/FieldAppendToLabel.js +5 -5
  53. package/dist/components/Filter/Filter.js +4 -4
  54. package/dist/components/Filter/components/FilterResetButton.js +4 -4
  55. package/dist/components/Filter/components/FilterSearch.js +4 -4
  56. package/dist/components/Filter/index.js +1 -1
  57. package/dist/components/Form/Form.js +1 -1
  58. package/dist/components/Form/FormField/FormField.js +46 -49
  59. package/dist/components/Form/FormField/FormFieldset.js +42 -45
  60. package/dist/components/Form/FormField/helpers/getErrorTypeMessage.js +10 -10
  61. package/dist/components/Form/HookForm/HookForm.js +2 -2
  62. package/dist/components/Form/components/FormValidationSummary.js +15 -16
  63. package/dist/components/Form/index.js +1 -1
  64. package/dist/components/Hide/Hide.js +2 -2
  65. package/dist/components/Hide/helpers/composeHideClasses.js +4 -4
  66. package/dist/components/Hide/index.js +1 -1
  67. package/dist/components/Icon/Icon.js +4 -4
  68. package/dist/components/Icon/index.js +1 -1
  69. package/dist/components/Inline/Inline.js +4 -4
  70. package/dist/components/Inline/index.js +1 -1
  71. package/dist/components/Input/ClearButton/ClearButton.js +1 -1
  72. package/dist/components/Input/Input.js +3 -3
  73. package/dist/components/Input/InputBase/InputBase.js +2 -2
  74. package/dist/components/Input/index.js +1 -1
  75. package/dist/components/InputCurrency/InputCurrency.js +1 -1
  76. package/dist/components/InputCurrency/index.js +1 -1
  77. package/dist/components/Label/LabelBase/LabelBase.js +37 -37
  78. package/dist/components/Menu/Menu.js +1 -1
  79. package/dist/components/Menu/MenuDivider/MenuDivider.js +4 -4
  80. package/dist/components/Menu/MenuHeading/MenuHeading.js +3 -3
  81. package/dist/components/Menu/MenuItem/MenuItem.js +1 -1
  82. package/dist/components/Menu/MenuItem/hooks/useMenuItemAria.js +7 -7
  83. package/dist/components/Menu/MenuItem/hooks/useMenuItemButtonProps.js +30 -30
  84. package/dist/components/Menu/MenuItem/hooks/useMenuItemComposite.js +2 -2
  85. package/dist/components/Menu/MenuItem/hooks/useMenuItemInteractions.js +47 -49
  86. package/dist/components/Menu/MenuItem/hooks/useMenuItemRole.js +5 -5
  87. package/dist/components/Menu/MenuText/MenuText.js +5 -5
  88. package/dist/components/Menu/helpers/mapMenuItems.js +21 -21
  89. package/dist/components/Menu/hooks/useMenuAria.js +2 -2
  90. package/dist/components/Menu/hooks/useMenuComposite.js +6 -6
  91. package/dist/components/Menu/hooks/useMenuRole.js +10 -10
  92. package/dist/components/Menu/hooks/useMenuStyles.js +18 -18
  93. package/dist/components/Menu/index.js +1 -1
  94. package/dist/components/Modal/Modal.js +3 -3
  95. package/dist/components/Modal/hooks/useIDSProvidedModal.js +8 -8
  96. package/dist/components/Modal/index.js +1 -1
  97. package/dist/components/Navbar/Navbar.js +3 -3
  98. package/dist/components/Navbar/components/HomeLinkContent.js +2 -2
  99. package/dist/components/Navbar/components/LogoFromSrc.js +1 -1
  100. package/dist/components/Navbar/components/NavbarLogo.js +3 -3
  101. package/dist/components/Navbar/index.js +1 -1
  102. package/dist/components/Panel/Panel.js +1 -1
  103. package/dist/components/Placeholder/Placeholder.js +20 -20
  104. package/dist/components/Popover/InputPopover/InputPopover.js +2 -2
  105. package/dist/components/Popover/InputPopover/InputPopoverActivator.js +40 -43
  106. package/dist/components/Popover/InputPopover/InputPopoverProvider.js +61 -61
  107. package/dist/components/Popover/Popover.js +3 -3
  108. package/dist/components/Popover/PopoverProvider.js +2 -2
  109. package/dist/components/Popover/components/NestedPopoverActivator.js +1 -1
  110. package/dist/components/Popover/components/PopoverActivator.js +53 -58
  111. package/dist/components/Popover/components/PopoverContent.js +31 -31
  112. package/dist/components/Popover/helpers/composeFloatingProps.js +21 -24
  113. package/dist/components/Popover/helpers/handlePopoverTabKey.js +2 -2
  114. package/dist/components/Popover/hooks/usePopover.js +1 -1
  115. package/dist/components/Popover/hooks/usePopoverActivatorInteractions.js +23 -26
  116. package/dist/components/Popover/hooks/usePopoverImperativeHandle.js +17 -17
  117. package/dist/components/Popover/hooks/usePopoverItem.js +13 -14
  118. package/dist/components/Popover/hooks/usePopoverNavigation.js +22 -22
  119. package/dist/components/Progress/Progress.js +2 -2
  120. package/dist/components/Provider/Provider.js +1 -1
  121. package/dist/components/Radio/Radio.js +2 -2
  122. package/dist/components/Radio/helpers/mapRadioGroupOptions.js +8 -8
  123. package/dist/components/Radio/index.js +1 -1
  124. package/dist/components/RadioGroup/RadioGroup.js +68 -56
  125. package/dist/components/RadioGroup/index.js +6 -5
  126. package/dist/components/Readonly/Readonly.js +5 -5
  127. package/dist/components/Readonly/index.js +1 -1
  128. package/dist/components/RichSelect/RichSelect.js +3 -3
  129. package/dist/components/RichSelect/SelectBody/SelectBody.js +4 -4
  130. package/dist/components/RichSelect/SelectCreate/SelectCreate.js +4 -4
  131. package/dist/components/RichSelect/SelectHeading/SelectHeading.js +4 -4
  132. package/dist/components/RichSelect/SelectLabel/SelectLabel.js +2 -2
  133. package/dist/components/RichSelect/SelectMenu/SelectMenu.js +4 -4
  134. package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +4 -4
  135. package/dist/components/RichSelect/SelectSearch/SelectSearch.js +3 -3
  136. package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +2 -2
  137. package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -3
  138. package/dist/components/RichSelect/components/SelectActivator.js +1 -1
  139. package/dist/components/RichSelect/components/SelectOptions.js +4 -4
  140. package/dist/components/RichSelect/index.js +1 -1
  141. package/dist/components/Row/Row.js +4 -4
  142. package/dist/components/Row/index.js +1 -1
  143. package/dist/components/Select/Select.js +3 -3
  144. package/dist/components/Select/components/SelectControl.js +2 -2
  145. package/dist/components/Select/components/SelectReadonly.js +4 -4
  146. package/dist/components/Select/helpers/mapSelectOptions.js +9 -9
  147. package/dist/components/Select/helpers/nodesToSelectOptions.js +1 -1
  148. package/dist/components/Select/index.js +1 -1
  149. package/dist/components/Skeleton/Skeleton.js +11 -11
  150. package/dist/components/SkipLink/SkipLink.js +2 -2
  151. package/dist/components/Slideout/Slideout.js +4 -4
  152. package/dist/components/Slideout/components/SlideoutInner.js +3 -3
  153. package/dist/components/Slideout/hooks/useIDSProvidedSlideout.js +7 -7
  154. package/dist/components/Slideout/index.js +1 -1
  155. package/dist/components/Slider/Slider.js +3 -3
  156. package/dist/components/Slider/components/SliderTicks.js +2 -2
  157. package/dist/components/Slider/index.js +1 -1
  158. package/dist/components/Spinner/Spinner.js +2 -2
  159. package/dist/components/Spinner/index.js +1 -1
  160. package/dist/components/Stack/Stack.js +1 -1
  161. package/dist/components/TabSet/Tab/Tab.js +52 -52
  162. package/dist/components/TabSet/TabSet.js +24 -24
  163. package/dist/components/TabSet/TabSetProvider.js +30 -30
  164. package/dist/components/TabSet/components/TabSetItem.js +31 -32
  165. package/dist/components/TabSet/helpers/mapTabs.js +19 -19
  166. package/dist/components/Table/Table.js +3 -3
  167. package/dist/components/Table/TableBody/TableBody.js +91 -91
  168. package/dist/components/Table/TableProvider.js +2 -2
  169. package/dist/components/Table/components/TableEmpty.js +8 -8
  170. package/dist/components/Table/components/TableHeader.js +2 -2
  171. package/dist/components/Table/components/TableHeaderCell.js +1 -1
  172. package/dist/components/Table/components/TableRows.js +34 -34
  173. package/dist/components/Table/components/TableSortButton.js +3 -3
  174. package/dist/components/Table/helpers/composeIDSTableColumnDefs.js +22 -22
  175. package/dist/components/Table/helpers/composeIDSTableInitialSorting.js +2 -2
  176. package/dist/components/Table/hooks/useIDSTableColumnSort.js +6 -6
  177. package/dist/components/Table/hooks/useIDSTableColumnStyles.js +14 -15
  178. package/dist/components/Table/index.js +1 -1
  179. package/dist/components/Tag/Tag.js +2 -2
  180. package/dist/components/Tag/TagInput/TagInput.js +1 -1
  181. package/dist/components/Tag/components/TagListInput/TagListInput.js +2 -2
  182. package/dist/components/Tag/index.js +1 -1
  183. package/dist/components/Text/Text.js +1 -1
  184. package/dist/components/Toaster/Toast/Toast.js +2 -2
  185. package/dist/components/Toaster/Toast/ToastAnimated.js +3 -3
  186. package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
  187. package/dist/components/Toaster/Toaster.js +3 -3
  188. package/dist/components/Toaster/ToasterProvider.js +1 -1
  189. package/dist/components/Toaster/hooks/useToaster.js +1 -1
  190. package/dist/components/Toaster/index.js +1 -1
  191. package/dist/components/Toggle/Toggle.js +25 -25
  192. package/dist/components/Tooltip/Tooltip.js +3 -3
  193. package/dist/components/ValidationMessage/ValidationBase/ValidationBase.js +2 -2
  194. package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +2 -2
  195. package/dist/constants.js +1 -1
  196. package/dist/floating-ui.react-DYBeYtOf.js +3464 -0
  197. package/dist/fuzzysort-BNka47rs.js +395 -0
  198. package/dist/helpers/dom/closestCrossShadow.js +16 -17
  199. package/dist/helpers/dom/focusableElements.js +6 -6
  200. package/dist/helpers/dom/getActiveElement.js +5 -6
  201. package/dist/helpers/formatting/formatDateTime.js +8 -7
  202. package/dist/helpers/label-value/composeLabelValueDescriptor.js +8 -8
  203. package/dist/helpers/label-value/getQueryRangeExclusive.js +1 -1
  204. package/dist/helpers/label-value/getValueFromLabelValues.js +5 -6
  205. package/dist/helpers/label-value/highlightQueryInLabel.js +4 -7
  206. package/dist/helpers/label-value/searchLabelValues.js +1 -1
  207. package/dist/helpers/responsive/getResponsiveLayoutModifiers.js +4 -4
  208. package/dist/helpers/transition/getTransitionDuration.js +5 -8
  209. package/dist/hooks/useAriaRelationship.js +19 -21
  210. package/dist/hooks/useBreakpoint.js +8 -11
  211. package/dist/hooks/useControlledState.js +40 -40
  212. package/dist/{index-BQfnxwrU.js → index-BaVtNOfa.js} +41 -51
  213. package/dist/{index-Dms7F5NM.js → index-DLnR8XTt.js} +1 -11
  214. package/dist/{index-2QXL0WYc.js → index-cbHCAGLB.js} +2 -7
  215. package/dist/{index.esm-BnSuefUA.js → index.esm-CL8gh5wr.js} +1 -5
  216. package/dist/main.js +159 -158
  217. package/dist/patterns/Loading/Loading.js +1 -1
  218. package/dist/patterns/Loading/LoadingSuspense.js +1 -1
  219. package/dist/patterns/Loading/components/ComponentLoading.js +3 -3
  220. package/dist/patterns/Loading/components/DefaultLoading.js +3 -3
  221. package/dist/patterns/Loading/components/LongLoading.js +42 -42
  222. package/dist/patterns/Loading/components/PageLoading.js +3 -3
  223. package/dist/patterns/Loading/components/StartUpLoading.js +65 -65
  224. package/dist/patterns/Loading/components/ValidateLoading.js +3 -3
  225. package/dist/patterns/Loading/index.js +1 -1
  226. package/dist/src/components/InputCurrency/InputCurrency.d.ts +1 -2
  227. package/dist/src/components/RadioGroup/RadioGroup.d.ts +5 -0
  228. package/dist/src/components/TabSet/TabSet.types.d.ts +1 -1
  229. package/dist/src/components/Table/Table.types.d.ts +1 -1
  230. package/dist/src/components/Table/helpers/composeIDSTableColumnDefs.d.ts +1 -1
  231. package/dist/src/components/Table/helpers/findColumnByKey.d.ts +1 -1
  232. package/dist/src/components/Toaster/hooks/useToaster.d.ts +1 -1
  233. package/dist/style.css +1 -1
  234. package/dist/useIDSButtonGroupItem-BB7Moa3N.js +29 -0
  235. package/package.json +67 -38
  236. package/dist/ComboboxHiddenInput-gTOjjF3f.js +0 -32
  237. package/dist/InputBase-BFK9n82f.js +0 -56
  238. package/dist/Loading.module-g2pe-Gfx.js +0 -13
  239. package/dist/LoadingSuspense-D9nGJ3gx.js +0 -5773
  240. package/dist/LogoFromSrc-BnImWqt6.js +0 -59
  241. package/dist/MenuItem.module-BxcFZeSh.js +0 -24
  242. package/dist/Popover.module-BKrF_xRW.js +0 -11
  243. package/dist/PopoverProvider-d3hhpW2k.js +0 -142
  244. package/dist/SliderTicks-DQN0Ka4d.js +0 -78
  245. package/dist/TabSet.module-FRUnHgA1.js +0 -13
  246. package/dist/Table.module-r-RfIeLI.js +0 -32
  247. package/dist/floating-ui.react-nmA48tb2.js +0 -3463
  248. package/dist/fuzzysort-eoXOpoo6.js +0 -395
  249. package/dist/useIDSButtonGroupItem-VfKx4O-O.js +0 -30
  250. package/dist/vite.config.d.ts +0 -2
  251. package/dist/vitest.config.d.ts +0 -2
  252. package/dist/vitest.setup.d.ts +0 -0
  253. /package/{LICENSE.txt → LICENSE} +0 -0
@@ -1,18 +1,15 @@
1
- import { BREAKPOINTS as o, BREAKPOINT_DETAILS as i } from "../constants.js";
1
+ import { BREAKPOINTS as n, BREAKPOINT_DETAILS as a } from "../constants.js";
2
2
  import { useState as s, useCallback as c, useLayoutEffect as u } from "react";
3
- const a = () => o.find((e) => {
4
- var t;
5
- return (t = window.matchMedia(i[e].mediaQuery)) == null ? void 0 : t.matches;
6
- }) ?? o[0], m = () => {
7
- const [e, t] = s(a()), n = c(() => {
8
- t(a());
3
+ const o = () => n.find((e) => window.matchMedia(a[e].mediaQuery)?.matches) ?? n[0], m = () => {
4
+ const [e, i] = s(o()), r = c(() => {
5
+ i(o());
9
6
  }, []);
10
7
  return u(() => {
11
- const r = n;
12
- return window.addEventListener("resize", r), r(), () => window.removeEventListener("resize", r);
13
- }, [n]), {
8
+ const t = r;
9
+ return window.addEventListener("resize", t), t(), () => window.removeEventListener("resize", t);
10
+ }, [r]), {
14
11
  breakpoint: e,
15
- detail: i[e]
12
+ detail: a[e]
16
13
  };
17
14
  };
18
15
  export {
@@ -1,54 +1,54 @@
1
- import { useRef as L, useMemo as S, useState as U, useEffect as k, useCallback as u } from "react";
2
- import { idsLogger as v } from "../helpers/utility/idsLogger.js";
3
- import { toArray as m } from "../helpers/formatting/toArray.js";
4
- import { capitalizeFirstLetter as w } from "../helpers/formatting/capitalizeFirstLetter.js";
5
- const x = (e, o, s, t) => t ? s ? [...m(o), e] : m(o).filter(
6
- (i) => i !== e
7
- ) : s ? e : void 0, z = (e, o, s) => {
8
- o !== void 0 && s === void 0 && e(void 0);
9
- }, M = ({
10
- component: e,
1
+ import { useRef as y, useMemo as $, useState as L, useEffect as S, useCallback as u } from "react";
2
+ import { idsLogger as U } from "../helpers/utility/idsLogger.js";
3
+ import { toArray as l } from "../helpers/formatting/toArray.js";
4
+ import { capitalizeFirstLetter as k } from "../helpers/formatting/capitalizeFirstLetter.js";
5
+ const v = (r, o, e, s) => s ? e ? [...l(o), r] : l(o).filter(
6
+ (n) => n !== r
7
+ ) : e ? r : void 0, w = (r, o, e) => {
8
+ o !== void 0 && e === void 0 && r(void 0);
9
+ }, F = ({
10
+ component: r,
11
11
  defaultValue: o,
12
- multiple: s,
13
- onChange: t,
14
- propName: i = "value",
15
- value: r
12
+ multiple: e,
13
+ onChange: s,
14
+ propName: n = "value",
15
+ value: t
16
16
  }) => {
17
- const n = L(), c = S(() => r !== void 0, [r]), [f, l] = U(
18
- s ? m(o) : o
17
+ const m = y(), i = $(() => t !== void 0, [t]), [d, f] = L(
18
+ e ? l(o) : o
19
19
  );
20
- z(l, n.current, r), n.current = r, k(() => {
21
- r !== void 0 && o !== void 0 && v(
22
- `${e}: Please use either the default${w(
23
- i
24
- )} prop for uncontrolled components, or the ${i} prop for controlled components, rather than both. If you use both, the value of the component may become unpredictable.`,
20
+ w(f, m.current, t), m.current = t, S(() => {
21
+ t !== void 0 && o !== void 0 && U(
22
+ `${r}: Please use either the default${k(
23
+ n
24
+ )} prop for uncontrolled components, or the ${n} prop for controlled components, rather than both. If you use both, the value of the component may become unpredictable.`,
25
25
  "warn"
26
26
  );
27
- }, [r, o, e, i]);
28
- const b = u(
29
- (d) => {
30
- c || l(d), t == null || t(d);
27
+ }, [t, o, r, n]);
28
+ const h = u(
29
+ (c) => {
30
+ i || f(c), s?.(c);
31
31
  },
32
- [c, t]
33
- ), y = u(
34
- (d, $) => {
35
- const p = x(
36
- d,
37
- r ?? f,
38
- $,
39
- s
32
+ [i, s]
33
+ ), b = u(
34
+ (c, g) => {
35
+ const p = v(
36
+ c,
37
+ t ?? d,
38
+ g,
39
+ e
40
40
  );
41
- c || l(p), t == null || t(p);
41
+ i || f(p), s?.(p);
42
42
  },
43
- [c, s, t, f, r]
43
+ [i, e, s, d, t]
44
44
  );
45
45
  return {
46
- isControlled: c,
47
- setValue: b,
48
- toggleValue: y,
49
- value: r ?? f
46
+ isControlled: i,
47
+ setValue: h,
48
+ toggleValue: b,
49
+ value: t ?? d
50
50
  };
51
51
  };
52
52
  export {
53
- M as useControlledState
53
+ F as useControlledState
54
54
  };
@@ -1,13 +1,3 @@
1
- /**
2
- * table-core
3
- *
4
- * Copyright (c) TanStack
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE.md file in the root directory of this source tree.
8
- *
9
- * @license MIT
10
- */
11
1
  function be() {
12
2
  return {
13
3
  accessor: (e, o) => typeof e == "function" ? {
@@ -67,7 +57,7 @@ function m(e, o, t) {
67
57
  console.info(`%c⏱ ${a(S, 5)} /${a(d, 5)} ms`, `
68
58
  font-size: .6rem;
69
59
  font-weight: bold;
70
- color: hsl(${Math.max(0, Math.min(120 - 120 * f, 120))}deg 100% 31%);`, t == null ? void 0 : t.key);
60
+ color: hsl(${Math.max(0, Math.min(120 - 120 * f, 120))}deg 100% 31%);`, t?.key);
71
61
  }
72
62
  return i;
73
63
  };
@@ -76,7 +66,7 @@ function C(e, o, t, n) {
76
66
  return {
77
67
  debug: () => {
78
68
  var i;
79
- return (i = e == null ? void 0 : e.debugAll) != null ? i : e[o];
69
+ return (i = e?.debugAll) != null ? i : e[o];
80
70
  },
81
71
  key: process.env.NODE_ENV === "development" && t,
82
72
  onChange: n
@@ -179,15 +169,15 @@ const Re = {
179
169
  createTable: (e) => {
180
170
  e.getHeaderGroups = m(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, i) => {
181
171
  var r, l;
182
- const s = (r = n == null ? void 0 : n.map((S) => t.find((f) => f.id === S)).filter(Boolean)) != null ? r : [], u = (l = i == null ? void 0 : i.map((S) => t.find((f) => f.id === S)).filter(Boolean)) != null ? l : [], g = t.filter((S) => !(n != null && n.includes(S.id)) && !(i != null && i.includes(S.id)));
172
+ const s = (r = n?.map((S) => t.find((f) => f.id === S)).filter(Boolean)) != null ? r : [], u = (l = i?.map((S) => t.find((f) => f.id === S)).filter(Boolean)) != null ? l : [], g = t.filter((S) => !(n != null && n.includes(S.id)) && !(i != null && i.includes(S.id)));
183
173
  return H(o, [...s, ...g, ...u], e);
184
174
  }, C(e.options, _, "getHeaderGroups")), e.getCenterHeaderGroups = m(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, i) => (t = t.filter((r) => !(n != null && n.includes(r.id)) && !(i != null && i.includes(r.id))), H(o, t, e, "center")), C(e.options, _, "getCenterHeaderGroups")), e.getLeftHeaderGroups = m(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (o, t, n) => {
185
175
  var i;
186
- const r = (i = n == null ? void 0 : n.map((l) => t.find((s) => s.id === l)).filter(Boolean)) != null ? i : [];
176
+ const r = (i = n?.map((l) => t.find((s) => s.id === l)).filter(Boolean)) != null ? i : [];
187
177
  return H(o, r, e, "left");
188
178
  }, C(e.options, _, "getLeftHeaderGroups")), e.getRightHeaderGroups = m(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (o, t, n) => {
189
179
  var i;
190
- const r = (i = n == null ? void 0 : n.map((l) => t.find((s) => s.id === l)).filter(Boolean)) != null ? i : [];
180
+ const r = (i = n?.map((l) => t.find((s) => s.id === l)).filter(Boolean)) != null ? i : [];
191
181
  return H(o, r, e, "right");
192
182
  }, C(e.options, _, "getRightHeaderGroups")), e.getFooterGroups = m(() => [e.getHeaderGroups()], (o) => [...o].reverse(), C(e.options, _, "getFooterGroups")), e.getLeftFooterGroups = m(() => [e.getLeftHeaderGroups()], (o) => [...o].reverse(), C(e.options, _, "getLeftFooterGroups")), e.getCenterFooterGroups = m(() => [e.getCenterHeaderGroups()], (o) => [...o].reverse(), C(e.options, _, "getCenterFooterGroups")), e.getRightFooterGroups = m(() => [e.getRightHeaderGroups()], (o) => [...o].reverse(), C(e.options, _, "getRightFooterGroups")), e.getFlatHeaders = m(() => [e.getHeaderGroups()], (o) => o.map((t) => t.headers).flat(), C(e.options, _, "getFlatHeaders")), e.getLeftFlatHeaders = m(() => [e.getLeftHeaderGroups()], (o) => o.map((t) => t.headers).flat(), C(e.options, _, "getLeftFlatHeaders")), e.getCenterFlatHeaders = m(() => [e.getCenterHeaderGroups()], (o) => o.map((t) => t.headers).flat(), C(e.options, _, "getCenterFlatHeaders")), e.getRightFlatHeaders = m(() => [e.getRightHeaderGroups()], (o) => o.map((t) => t.headers).flat(), C(e.options, _, "getRightFlatHeaders")), e.getCenterLeafHeaders = m(() => [e.getCenterFlatHeaders()], (o) => o.filter((t) => {
193
183
  var n;
@@ -224,11 +214,11 @@ function H(e, o, t, n) {
224
214
  f.forEach((w) => {
225
215
  const R = [...p].reverse()[0], v = w.column.depth === c.depth;
226
216
  let h, M = !1;
227
- if (v && w.column.parent ? h = w.column.parent : (h = w.column, M = !0), R && (R == null ? void 0 : R.column) === h)
217
+ if (v && w.column.parent ? h = w.column.parent : (h = w.column, M = !0), R && R?.column === h)
228
218
  R.subHeaders.push(w);
229
219
  else {
230
220
  const F = te(t, h, {
231
- id: [n, a, h.id, w == null ? void 0 : w.id].filter(Boolean).join("_"),
221
+ id: [n, a, h.id, w?.id].filter(Boolean).join("_"),
232
222
  isPlaceholder: M,
233
223
  placeholderId: M ? `${p.filter((D) => D.column === h).length}` : void 0,
234
224
  depth: a,
@@ -327,7 +317,7 @@ const ie = (e, o, t) => {
327
317
  ie.autoRemove = (e) => V(e);
328
318
  const re = (e, o, t) => {
329
319
  var n;
330
- return ((n = e.getValue(o)) == null || (n = n.toString()) == null ? void 0 : n.toLowerCase()) === (t == null ? void 0 : t.toLowerCase());
320
+ return ((n = e.getValue(o)) == null || (n = n.toString()) == null ? void 0 : n.toLowerCase()) === t?.toLowerCase();
331
321
  };
332
322
  re.autoRemove = (e) => V(e);
333
323
  const le = (e, o, t) => {
@@ -392,7 +382,7 @@ const he = {
392
382
  }),
393
383
  createColumn: (e, o) => {
394
384
  e.getAutoFilterFn = () => {
395
- const t = o.getCoreRowModel().flatRows[0], n = t == null ? void 0 : t.getValue(e.id);
385
+ const t = o.getCoreRowModel().flatRows[0], n = t?.getValue(e.id);
396
386
  return typeof n == "string" ? P.includesString : typeof n == "number" ? P.inNumberRange : typeof n == "boolean" || n !== null && typeof n == "object" ? P.equals : Array.isArray(n) ? P.arrIncludes : P.weakEquals;
397
387
  }, e.getFilterFn = () => {
398
388
  var t, n;
@@ -411,10 +401,10 @@ const he = {
411
401
  return (t = (n = o.getState().columnFilters) == null ? void 0 : n.findIndex((i) => i.id === e.id)) != null ? t : -1;
412
402
  }, e.setFilterValue = (t) => {
413
403
  o.setColumnFilters((n) => {
414
- const i = e.getFilterFn(), r = n == null ? void 0 : n.find((d) => d.id === e.id), l = I(t, r ? r.value : void 0);
404
+ const i = e.getFilterFn(), r = n?.find((d) => d.id === e.id), l = I(t, r ? r.value : void 0);
415
405
  if (ne(i, l, e)) {
416
406
  var s;
417
- return (s = n == null ? void 0 : n.filter((d) => d.id !== e.id)) != null ? s : [];
407
+ return (s = n?.filter((d) => d.id !== e.id)) != null ? s : [];
418
408
  }
419
409
  const u = {
420
410
  id: e.id,
@@ -422,7 +412,7 @@ const he = {
422
412
  };
423
413
  if (r) {
424
414
  var g;
425
- return (g = n == null ? void 0 : n.map((d) => d.id === e.id ? u : d)) != null ? g : [];
415
+ return (g = n?.map((d) => d.id === e.id ? u : d)) != null ? g : [];
426
416
  }
427
417
  return n != null && n.length ? [...n, u] : [u];
428
418
  });
@@ -536,7 +526,7 @@ const _e = (e, o, t) => t.reduce((n, i) => {
536
526
  t && e.toggleGrouping();
537
527
  };
538
528
  }, e.getAutoAggregationFn = () => {
539
- const t = o.getCoreRowModel().flatRows[0], n = t == null ? void 0 : t.getValue(e.id);
529
+ const t = o.getCoreRowModel().flatRows[0], n = t?.getValue(e.id);
540
530
  if (typeof n == "number")
541
531
  return z.sum;
542
532
  if (Object.prototype.toString.call(n) === "[object Date]")
@@ -631,20 +621,20 @@ const He = {
631
621
  if (t === "right") {
632
622
  var s, u;
633
623
  return {
634
- left: ((s = i == null ? void 0 : i.left) != null ? s : []).filter((S) => !(n != null && n.includes(S))),
635
- right: [...((u = i == null ? void 0 : i.right) != null ? u : []).filter((S) => !(n != null && n.includes(S))), ...n]
624
+ left: ((s = i?.left) != null ? s : []).filter((S) => !(n != null && n.includes(S))),
625
+ right: [...((u = i?.right) != null ? u : []).filter((S) => !(n != null && n.includes(S))), ...n]
636
626
  };
637
627
  }
638
628
  if (t === "left") {
639
629
  var g, d;
640
630
  return {
641
- left: [...((g = i == null ? void 0 : i.left) != null ? g : []).filter((S) => !(n != null && n.includes(S))), ...n],
642
- right: ((d = i == null ? void 0 : i.right) != null ? d : []).filter((S) => !(n != null && n.includes(S)))
631
+ left: [...((g = i?.left) != null ? g : []).filter((S) => !(n != null && n.includes(S))), ...n],
632
+ right: ((d = i?.right) != null ? d : []).filter((S) => !(n != null && n.includes(S)))
643
633
  };
644
634
  }
645
635
  return {
646
- left: ((r = i == null ? void 0 : i.left) != null ? r : []).filter((S) => !(n != null && n.includes(S))),
647
- right: ((l = i == null ? void 0 : i.right) != null ? l : []).filter((S) => !(n != null && n.includes(S)))
636
+ left: ((r = i?.left) != null ? r : []).filter((S) => !(n != null && n.includes(S))),
637
+ right: ((l = i?.right) != null ? l : []).filter((S) => !(n != null && n.includes(S)))
648
638
  };
649
639
  });
650
640
  }, e.getCanPin = () => e.getLeafColumns().some((n) => {
@@ -654,7 +644,7 @@ const He = {
654
644
  const t = e.getLeafColumns().map((s) => s.id), {
655
645
  left: n,
656
646
  right: i
657
- } = o.getState().columnPinning, r = t.some((s) => n == null ? void 0 : n.includes(s)), l = t.some((s) => i == null ? void 0 : i.includes(s));
647
+ } = o.getState().columnPinning, r = t.some((s) => n?.includes(s)), l = t.some((s) => i?.includes(s));
658
648
  return r ? "left" : l ? "right" : !1;
659
649
  }, e.getPinnedIndex = () => {
660
650
  var t, n;
@@ -756,14 +746,14 @@ const G = {
756
746
  }
757
747
  return 0;
758
748
  }, e.getResizeHandler = (t) => {
759
- const n = o.getColumn(e.column.id), i = n == null ? void 0 : n.getCanResize();
749
+ const n = o.getColumn(e.column.id), i = n?.getCanResize();
760
750
  return (r) => {
761
751
  if (!n || !i || (r.persist == null || r.persist(), T(r) && r.touches && r.touches.length > 1))
762
752
  return;
763
753
  const l = e.getSize(), s = e ? e.getLeafHeaders().map((R) => [R.column.id, R.column.getSize()]) : [[n.id, n.getSize()]], u = T(r) ? Math.round(r.touches[0].clientX) : r.clientX, g = {}, d = (R, v) => {
764
754
  typeof v == "number" && (o.setColumnSizingInfo((h) => {
765
755
  var M, F;
766
- const D = o.options.columnResizeDirection === "rtl" ? -1 : 1, Z = (v - ((M = h == null ? void 0 : h.startOffset) != null ? M : 0)) * D, b = Math.max(Z / ((F = h == null ? void 0 : h.startSize) != null ? F : 0), -0.999999);
756
+ const D = o.options.columnResizeDirection === "rtl" ? -1 : 1, Z = (v - ((M = h?.startOffset) != null ? M : 0)) * D, b = Math.max(Z / ((F = h?.startSize) != null ? F : 0), -0.999999);
767
757
  return h.columnSizingStart.forEach((fe) => {
768
758
  let [ce, ee] = fe;
769
759
  g[ce] = Math.round(Math.max(ee + ee * b, 0) * 100) / 100;
@@ -789,18 +779,18 @@ const G = {
789
779
  }, a = Ae(t), c = {
790
780
  moveHandler: (R) => S(R.clientX),
791
781
  upHandler: (R) => {
792
- a == null || a.removeEventListener("mousemove", c.moveHandler), a == null || a.removeEventListener("mouseup", c.upHandler), f(R.clientX);
782
+ a?.removeEventListener("mousemove", c.moveHandler), a?.removeEventListener("mouseup", c.upHandler), f(R.clientX);
793
783
  }
794
784
  }, p = {
795
785
  moveHandler: (R) => (R.cancelable && (R.preventDefault(), R.stopPropagation()), S(R.touches[0].clientX), !1),
796
786
  upHandler: (R) => {
797
787
  var v;
798
- a == null || a.removeEventListener("touchmove", p.moveHandler), a == null || a.removeEventListener("touchend", p.upHandler), R.cancelable && (R.preventDefault(), R.stopPropagation()), f((v = R.touches[0]) == null ? void 0 : v.clientX);
788
+ a?.removeEventListener("touchmove", p.moveHandler), a?.removeEventListener("touchend", p.upHandler), R.cancelable && (R.preventDefault(), R.stopPropagation()), f((v = R.touches[0]) == null ? void 0 : v.clientX);
799
789
  }
800
790
  }, w = ze() ? {
801
791
  passive: !1
802
792
  } : !1;
803
- T(r) ? (a == null || a.addEventListener("touchmove", p.moveHandler, w), a == null || a.addEventListener("touchend", p.upHandler, w)) : (a == null || a.addEventListener("mousemove", c.moveHandler, w), a == null || a.addEventListener("mouseup", c.upHandler, w)), o.setColumnSizingInfo((R) => ({
793
+ T(r) ? (a?.addEventListener("touchmove", p.moveHandler, w), a?.addEventListener("touchend", p.upHandler, w)) : (a?.addEventListener("mousemove", c.moveHandler, w), a?.addEventListener("mouseup", c.upHandler, w)), o.setColumnSizingInfo((R) => ({
804
794
  ...R,
805
795
  startOffset: u,
806
796
  startSize: l,
@@ -1013,7 +1003,7 @@ const Be = {
1013
1003
  }, e.getIsExpanded = () => {
1014
1004
  var t;
1015
1005
  const n = o.getState().expanded;
1016
- return !!((t = o.options.getIsRowExpanded == null ? void 0 : o.options.getIsRowExpanded(e)) != null ? t : n === !0 || n != null && n[e.id]);
1006
+ return !!((t = o.options.getIsRowExpanded == null ? void 0 : o.options.getIsRowExpanded(e)) != null ? t : n === !0 || n?.[e.id]);
1017
1007
  }, e.getCanExpand = () => {
1018
1008
  var t, n, i;
1019
1009
  return (t = o.options.getRowCanExpand == null ? void 0 : o.options.getRowCanExpand(e)) != null ? t : ((n = o.options.enableExpanding) != null ? n : !0) && !!((i = e.subRows) != null && i.length);
@@ -1037,7 +1027,7 @@ const Be = {
1037
1027
  ...e,
1038
1028
  pagination: {
1039
1029
  ...q(),
1040
- ...e == null ? void 0 : e.pagination
1030
+ ...e?.pagination
1041
1031
  }
1042
1032
  }),
1043
1033
  getDefaultOptions: (e) => ({
@@ -1141,20 +1131,20 @@ const Be = {
1141
1131
  if (t === "bottom") {
1142
1132
  var S, f;
1143
1133
  return {
1144
- top: ((S = u == null ? void 0 : u.top) != null ? S : []).filter((p) => !(s != null && s.has(p))),
1145
- bottom: [...((f = u == null ? void 0 : u.bottom) != null ? f : []).filter((p) => !(s != null && s.has(p))), ...Array.from(s)]
1134
+ top: ((S = u?.top) != null ? S : []).filter((p) => !(s != null && s.has(p))),
1135
+ bottom: [...((f = u?.bottom) != null ? f : []).filter((p) => !(s != null && s.has(p))), ...Array.from(s)]
1146
1136
  };
1147
1137
  }
1148
1138
  if (t === "top") {
1149
1139
  var a, c;
1150
1140
  return {
1151
- top: [...((a = u == null ? void 0 : u.top) != null ? a : []).filter((p) => !(s != null && s.has(p))), ...Array.from(s)],
1152
- bottom: ((c = u == null ? void 0 : u.bottom) != null ? c : []).filter((p) => !(s != null && s.has(p)))
1141
+ top: [...((a = u?.top) != null ? a : []).filter((p) => !(s != null && s.has(p))), ...Array.from(s)],
1142
+ bottom: ((c = u?.bottom) != null ? c : []).filter((p) => !(s != null && s.has(p)))
1153
1143
  };
1154
1144
  }
1155
1145
  return {
1156
- top: ((g = u == null ? void 0 : u.top) != null ? g : []).filter((p) => !(s != null && s.has(p))),
1157
- bottom: ((d = u == null ? void 0 : u.bottom) != null ? d : []).filter((p) => !(s != null && s.has(p)))
1146
+ top: ((g = u?.top) != null ? g : []).filter((p) => !(s != null && s.has(p))),
1147
+ bottom: ((d = u?.bottom) != null ? d : []).filter((p) => !(s != null && s.has(p)))
1158
1148
  };
1159
1149
  });
1160
1150
  }, e.getCanPin = () => {
@@ -1168,7 +1158,7 @@ const Be = {
1168
1158
  const t = [e.id], {
1169
1159
  top: n,
1170
1160
  bottom: i
1171
- } = o.getState().rowPinning, r = t.some((s) => n == null ? void 0 : n.includes(s)), l = t.some((s) => i == null ? void 0 : i.includes(s));
1161
+ } = o.getState().rowPinning, r = t.some((s) => n?.includes(s)), l = t.some((s) => i?.includes(s));
1172
1162
  return r ? "top" : l ? "bottom" : !1;
1173
1163
  }, e.getPinnedIndex = () => {
1174
1164
  var t, n;
@@ -1180,7 +1170,7 @@ const Be = {
1180
1170
  } = l;
1181
1171
  return s;
1182
1172
  });
1183
- return (n = r == null ? void 0 : r.indexOf(e.id)) != null ? n : -1;
1173
+ return (n = r?.indexOf(e.id)) != null ? n : -1;
1184
1174
  };
1185
1175
  },
1186
1176
  createTable: (e) => {
@@ -1300,7 +1290,7 @@ const Be = {
1300
1290
  const s = {
1301
1291
  ...r
1302
1292
  };
1303
- return X(s, e.id, t, (l = n == null ? void 0 : n.selectChildren) != null ? l : !0, o), s;
1293
+ return X(s, e.id, t, (l = n?.selectChildren) != null ? l : !0, o), s;
1304
1294
  });
1305
1295
  }, e.getIsSelected = () => {
1306
1296
  const {
@@ -1427,7 +1417,7 @@ const y = {
1427
1417
  const t = o.getFilteredRowModel().flatRows.slice(10);
1428
1418
  let n = !1;
1429
1419
  for (const i of t) {
1430
- const r = i == null ? void 0 : i.getValue(e.id);
1420
+ const r = i?.getValue(e.id);
1431
1421
  if (Object.prototype.toString.call(r) === "[object Date]")
1432
1422
  return y.datetime;
1433
1423
  if (typeof r == "string" && (n = !0, r.split(J).length > 1))
@@ -1436,7 +1426,7 @@ const y = {
1436
1426
  return n ? y.text : y.basic;
1437
1427
  }, e.getAutoSortDir = () => {
1438
1428
  const t = o.getFilteredRowModel().flatRows[0];
1439
- return typeof (t == null ? void 0 : t.getValue(e.id)) == "string" ? "asc" : "desc";
1429
+ return typeof t?.getValue(e.id) == "string" ? "asc" : "desc";
1440
1430
  }, e.getSortingFn = () => {
1441
1431
  var t, n;
1442
1432
  if (!e)
@@ -1445,7 +1435,7 @@ const y = {
1445
1435
  }, e.toggleSorting = (t, n) => {
1446
1436
  const i = e.getNextSortingOrder(), r = typeof t < "u" && t !== null;
1447
1437
  o.setSorting((l) => {
1448
- const s = l == null ? void 0 : l.find((a) => a.id === e.id), u = l == null ? void 0 : l.findIndex((a) => a.id === e.id);
1438
+ const s = l?.find((a) => a.id === e.id), u = l?.findIndex((a) => a.id === e.id);
1449
1439
  let g = [], d, S = r ? t : i === "desc";
1450
1440
  if (l != null && l.length && e.getCanMultiSort() && n ? s ? d = "toggle" : d = "add" : l != null && l.length && u !== l.length - 1 ? d = "replace" : s ? d = "toggle" : d = "replace", d === "toggle" && (r || i || (d = "remove")), d === "add") {
1451
1441
  var f;
@@ -1635,7 +1625,7 @@ function tt() {
1635
1625
  r === void 0 && (r = 0);
1636
1626
  const s = [];
1637
1627
  for (let g = 0; g < i.length; g++) {
1638
- const d = we(e, e._getRowId(i[g], g, l), i[g], g, r, void 0, l == null ? void 0 : l.id);
1628
+ const d = we(e, e._getRowId(i[g], g, l), i[g], g, r, void 0, l?.id);
1639
1629
  if (t.flatRows.push(d), t.rowsById[d.id] = d, s.push(d), e.options.getSubRows) {
1640
1630
  var u;
1641
1631
  d.originalSubRows = e.options.getSubRows(i[g], g), (u = d.originalSubRows) != null && u.length && (d.subRows = n(d.originalSubRows, r + 1, d));
@@ -1669,7 +1659,7 @@ function nt() {
1669
1659
  return g.sort((d, S) => {
1670
1660
  for (let a = 0; a < r.length; a += 1) {
1671
1661
  var f;
1672
- const c = r[a], p = l[c.id], w = p.sortUndefined, R = (f = c == null ? void 0 : c.desc) != null ? f : !1;
1662
+ const c = r[a], p = l[c.id], w = p.sortUndefined, R = (f = c?.desc) != null ? f : !1;
1673
1663
  let v = 0;
1674
1664
  if (w) {
1675
1665
  const h = d.getValue(c.id), M = S.getValue(c.id), F = h === void 0, D = M === void 0;
@@ -1,15 +1,5 @@
1
1
  import * as r from "react";
2
- import { b as c } from "./index-BQfnxwrU.js";
3
- /**
4
- * react-table
5
- *
6
- * Copyright (c) TanStack
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE.md file in the root directory of this source tree.
10
- *
11
- * @license MIT
12
- */
2
+ import { b as c } from "./index-BaVtNOfa.js";
13
3
  function p(t, e) {
14
4
  return t ? f(t) ? /* @__PURE__ */ r.createElement(t, e) : t : null;
15
5
  }
@@ -1,13 +1,8 @@
1
1
  import { g as c } from "./_commonjsHelpers-C6fGbg64.js";
2
2
  var n = { exports: {} };
3
- /*!
4
- Copyright (c) 2018 Jed Watson.
5
- Licensed under the MIT License (MIT), see
6
- http://jedwatson.github.io/classnames
7
- */
8
3
  var a;
9
4
  function p() {
10
- return a || (a = 1, function(o) {
5
+ return a || (a = 1, (function(o) {
11
6
  (function() {
12
7
  var f = {}.hasOwnProperty;
13
8
  function e() {
@@ -36,7 +31,7 @@ function p() {
36
31
  }
37
32
  o.exports ? (e.default = e, o.exports = e) : window.classNames = e;
38
33
  })();
39
- }(n)), n.exports;
34
+ })(n)), n.exports;
40
35
  }
41
36
  var l = p();
42
37
  const x = /* @__PURE__ */ c(l);
@@ -1,13 +1,9 @@
1
- /*!
2
- * tabbable 6.2.0
3
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
- */
5
1
  var E = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], v = /* @__PURE__ */ E.join(","), w = typeof Element > "u", o = w ? function() {
6
2
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, b = !w && Element.prototype.getRootNode ? function(i) {
7
3
  var t;
8
4
  return i == null || (t = i.getRootNode) === null || t === void 0 ? void 0 : t.call(i);
9
5
  } : function(i) {
10
- return i == null ? void 0 : i.ownerDocument;
6
+ return i?.ownerDocument;
11
7
  }, h = function i(t, e) {
12
8
  var r;
13
9
  e === void 0 && (e = !0);