@mintlify/components 1.0.3 → 1.0.5

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 (118) hide show
  1. package/dist/components/callout/callout.js +4 -4
  2. package/dist/components/icon/icon.d.ts.map +1 -1
  3. package/dist/components/icon/icon.js +14 -14
  4. package/dist/components/index.d.ts +1 -0
  5. package/dist/components/index.d.ts.map +1 -1
  6. package/dist/components/search/button.d.ts +12 -0
  7. package/dist/components/search/button.d.ts.map +1 -0
  8. package/dist/components/search/button.js +55 -0
  9. package/dist/components/search/index.d.ts +7 -0
  10. package/dist/components/search/index.d.ts.map +1 -0
  11. package/dist/components/search/provider.d.ts +19 -0
  12. package/dist/components/search/provider.d.ts.map +1 -0
  13. package/dist/components/search/provider.js +32 -0
  14. package/dist/components/search/search.d.ts +39 -0
  15. package/dist/components/search/search.d.ts.map +1 -0
  16. package/dist/components/search/search.js +263 -0
  17. package/dist/index.js +55 -48
  18. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -1
  19. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +165 -164
  20. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +21 -20
  21. package/dist/node_modules/.pnpm/@floating-ui_react@0.26.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react/dist/floating-ui.react.js +367 -0
  22. package/dist/node_modules/.pnpm/@floating-ui_react@0.26.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +13 -0
  23. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/components/combobox/combobox.js +397 -0
  24. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/components/description/description.js +43 -0
  25. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/components/dialog/dialog.js +100 -0
  26. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js +129 -0
  27. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/components/keyboard.js +4 -0
  28. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/components/label/label.js +59 -0
  29. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/components/mouse.js +4 -0
  30. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/components/portal/portal.js +71 -0
  31. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/components/transition/transition.js +135 -0
  32. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js +14 -0
  33. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js +48 -0
  34. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js +36 -0
  35. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js +8 -0
  36. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js +12 -0
  37. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-active-press.js +33 -0
  38. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-by-comparator.js +16 -0
  39. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-controllable.js +9 -0
  40. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-default-value.js +8 -0
  41. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-disposables.js +9 -0
  42. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-document-event.js +15 -0
  43. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-element-size.js +20 -0
  44. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-escape.js +12 -0
  45. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-event-listener.js +15 -0
  46. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-event.js +9 -0
  47. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-flags.js +8 -0
  48. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-inert-others.js +41 -0
  49. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +11 -0
  50. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js +24 -0
  51. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js +16 -0
  52. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js +8 -0
  53. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +11 -0
  54. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js +27 -0
  55. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js +14 -0
  56. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +39 -0
  57. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-owner.js +8 -0
  58. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-refocusable-input.js +22 -0
  59. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +12 -0
  60. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-root-containers.js +38 -0
  61. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js +12 -0
  62. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +16 -0
  63. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-store.js +7 -0
  64. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +20 -0
  65. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js +13 -0
  66. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js +16 -0
  67. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-transition.js +69 -0
  68. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +18 -0
  69. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-watch.js +15 -0
  70. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/hooks/use-window-event.js +15 -0
  71. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/internal/close-provider.js +9 -0
  72. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/internal/disabled.js +8 -0
  73. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/internal/floating.js +149 -0
  74. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/internal/form-fields.js +35 -0
  75. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/internal/frozen.js +13 -0
  76. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/internal/hidden.js +13 -0
  77. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/internal/id.js +8 -0
  78. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/internal/open-closed.js +19 -0
  79. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/internal/portal-force-root.js +12 -0
  80. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/active-element-history.js +14 -0
  81. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/bugs.js +18 -0
  82. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/calculate-active-index.js +40 -0
  83. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/class-names.js +6 -0
  84. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/default-map.js +12 -0
  85. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/disposables.js +40 -0
  86. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/document-ready.js +9 -0
  87. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/env.js +34 -0
  88. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/focus-management.js +84 -0
  89. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/form.js +14 -0
  90. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/match.js +11 -0
  91. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/micro-task.js +8 -0
  92. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/owner.js +7 -0
  93. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/platform.js +14 -0
  94. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/render.js +118 -0
  95. package/dist/node_modules/.pnpm/@headlessui_react@2.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@headlessui/react/dist/utils/store.js +14 -0
  96. package/dist/node_modules/.pnpm/@react-aria_focus@3.21.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/focus/dist/useFocusRing.js +38 -0
  97. package/dist/node_modules/.pnpm/@react-aria_interactions@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useFocus.js +30 -0
  98. package/dist/node_modules/.pnpm/@react-aria_interactions@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useFocusVisible.js +97 -0
  99. package/dist/node_modules/.pnpm/@react-aria_interactions@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useFocusWithin.js +57 -0
  100. package/dist/node_modules/.pnpm/@react-aria_interactions@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/useHover.js +86 -0
  101. package/dist/node_modules/.pnpm/@react-aria_interactions@3.27.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/interactions/dist/utils.js +66 -0
  102. package/dist/node_modules/.pnpm/@react-aria_utils@3.33.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/DOMFunctions.js +27 -0
  103. package/dist/node_modules/.pnpm/@react-aria_utils@3.33.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/domHelpers.js +15 -0
  104. package/dist/node_modules/.pnpm/@react-aria_utils@3.33.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js +45 -0
  105. package/dist/node_modules/.pnpm/@react-aria_utils@3.33.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/isVirtualEvent.js +7 -0
  106. package/dist/node_modules/.pnpm/@react-aria_utils@3.33.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/openLink.js +28 -0
  107. package/dist/node_modules/.pnpm/@react-aria_utils@3.33.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/platform.js +47 -0
  108. package/dist/node_modules/.pnpm/@react-aria_utils@3.33.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useGlobalListeners.js +34 -0
  109. package/dist/node_modules/.pnpm/@react-aria_utils@3.33.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@react-aria/utils/dist/useLayoutEffect.js +6 -0
  110. package/dist/node_modules/.pnpm/@react-stately_flags@3.1.2/node_modules/@react-stately/flags/dist/import.js +7 -0
  111. package/dist/node_modules/.pnpm/@tanstack_react-virtual@3.13.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-virtual/dist/esm/index.js +38 -0
  112. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.13.18/node_modules/@tanstack/virtual-core/dist/esm/index.js +533 -0
  113. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.13.18/node_modules/@tanstack/virtual-core/dist/esm/utils.js +52 -0
  114. package/dist/node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/loader-circle.js +13 -0
  115. package/dist/node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/search-x.js +16 -0
  116. package/dist/node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/search.js +14 -0
  117. package/dist/styles.css +1 -1
  118. package/package.json +2 -1
@@ -1,58 +1,58 @@
1
- import { flip as st, offset as rt, size as ct, hide as lt, computePosition as ft, shift as ut, limitShift as ht } from "../../../../../@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js";
2
- import { createCoords as w, rectToClientRect as J, floor as A, max as E, round as D, min as N } from "../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";
3
- import { getOverflowAncestors as V, isElement as v, getDocumentElement as R, getWindow as L, getFrameElement as U, getComputedStyle as b, isHTMLElement as C, isWebKit as Q, isTopLayer as $, getParentNode as S, isLastTraversableNode as z, isTableElement as at, isContainingBlock as Y, getContainingBlock as dt, getNodeName as _, isOverflowElement as q, getNodeScroll as H } from "../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";
1
+ import { flip as st, offset as rt, size as ct, hide as lt, shift as ft, detectOverflow as ut, computePosition as ht, limitShift as at } from "../../../../../@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js";
2
+ import { createCoords as y, rectToClientRect as J, floor as A, max as E, round as D, min as N } from "../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";
3
+ import { getOverflowAncestors as $, isElement as x, getDocumentElement as R, getWindow as L, getFrameElement as U, getComputedStyle as b, isHTMLElement as O, isWebKit as Q, isTopLayer as V, getParentNode as S, isLastTraversableNode as z, isTableElement as dt, isContainingBlock as Y, getContainingBlock as gt, getNodeName as _, isOverflowElement as q, getNodeScroll as H } from "../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";
4
4
  function Z(t) {
5
5
  const e = b(t);
6
- let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
7
- const o = C(t), r = o ? t.offsetWidth : n, s = o ? t.offsetHeight : i, c = D(n) !== r || D(i) !== s;
8
- return c && (n = r, i = s), {
9
- width: n,
6
+ let o = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
7
+ const n = O(t), r = n ? t.offsetWidth : o, s = n ? t.offsetHeight : i, c = D(o) !== r || D(i) !== s;
8
+ return c && (o = r, i = s), {
9
+ width: o,
10
10
  height: i,
11
11
  $: c
12
12
  };
13
13
  }
14
14
  function X(t) {
15
- return v(t) ? t : t.contextElement;
15
+ return x(t) ? t : t.contextElement;
16
16
  }
17
17
  function F(t) {
18
18
  const e = X(t);
19
- if (!C(e))
20
- return w(1);
21
- const n = e.getBoundingClientRect(), {
19
+ if (!O(e))
20
+ return y(1);
21
+ const o = e.getBoundingClientRect(), {
22
22
  width: i,
23
- height: o,
23
+ height: n,
24
24
  $: r
25
25
  } = Z(e);
26
- let s = (r ? D(n.width) : n.width) / i, c = (r ? D(n.height) : n.height) / o;
26
+ let s = (r ? D(o.width) : o.width) / i, c = (r ? D(o.height) : o.height) / n;
27
27
  return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
28
28
  x: s,
29
29
  y: c
30
30
  };
31
31
  }
32
- const gt = /* @__PURE__ */ w(0);
32
+ const pt = /* @__PURE__ */ y(0);
33
33
  function tt(t) {
34
34
  const e = L(t);
35
- return !Q() || !e.visualViewport ? gt : {
35
+ return !Q() || !e.visualViewport ? pt : {
36
36
  x: e.visualViewport.offsetLeft,
37
37
  y: e.visualViewport.offsetTop
38
38
  };
39
39
  }
40
- function pt(t, e, n) {
41
- return e === void 0 && (e = !1), !n || e && n !== L(t) ? !1 : e;
40
+ function mt(t, e, o) {
41
+ return e === void 0 && (e = !1), !o || e && o !== L(t) ? !1 : e;
42
42
  }
43
- function T(t, e, n, i) {
44
- e === void 0 && (e = !1), n === void 0 && (n = !1);
45
- const o = t.getBoundingClientRect(), r = X(t);
46
- let s = w(1);
47
- e && (i ? v(i) && (s = F(i)) : s = F(t));
48
- const c = pt(r, n, i) ? tt(r) : w(0);
49
- let f = (o.left + c.x) / s.x, l = (o.top + c.y) / s.y, u = o.width / s.x, h = o.height / s.y;
43
+ function T(t, e, o, i) {
44
+ e === void 0 && (e = !1), o === void 0 && (o = !1);
45
+ const n = t.getBoundingClientRect(), r = X(t);
46
+ let s = y(1);
47
+ e && (i ? x(i) && (s = F(i)) : s = F(t));
48
+ const c = mt(r, o, i) ? tt(r) : y(0);
49
+ let f = (n.left + c.x) / s.x, l = (n.top + c.y) / s.y, u = n.width / s.x, h = n.height / s.y;
50
50
  if (r) {
51
- const d = L(r), a = i && v(i) ? L(i) : i;
51
+ const d = L(r), a = i && x(i) ? L(i) : i;
52
52
  let m = d, p = U(m);
53
53
  for (; p && i && a !== m; ) {
54
- const y = F(p), g = p.getBoundingClientRect(), x = b(p), O = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * y.x, W = g.top + (p.clientTop + parseFloat(x.paddingTop)) * y.y;
55
- f *= y.x, l *= y.y, u *= y.x, h *= y.y, f += O, l += W, m = L(p), p = U(m);
54
+ const w = F(p), g = p.getBoundingClientRect(), v = b(p), C = g.left + (p.clientLeft + parseFloat(v.paddingLeft)) * w.x, W = g.top + (p.clientTop + parseFloat(v.paddingTop)) * w.y;
55
+ f *= w.x, l *= w.y, u *= w.x, h *= w.y, f += C, l += W, m = L(p), p = U(m);
56
56
  }
57
57
  }
58
58
  return J({
@@ -63,52 +63,52 @@ function T(t, e, n, i) {
63
63
  });
64
64
  }
65
65
  function I(t, e) {
66
- const n = H(t).scrollLeft;
67
- return e ? e.left + n : T(R(t)).left + n;
66
+ const o = H(t).scrollLeft;
67
+ return e ? e.left + o : T(R(t)).left + o;
68
68
  }
69
69
  function et(t, e) {
70
- const n = t.getBoundingClientRect(), i = n.left + e.scrollLeft - I(t, n), o = n.top + e.scrollTop;
70
+ const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - I(t, o), n = o.top + e.scrollTop;
71
71
  return {
72
72
  x: i,
73
- y: o
73
+ y: n
74
74
  };
75
75
  }
76
- function mt(t) {
76
+ function wt(t) {
77
77
  let {
78
78
  elements: e,
79
- rect: n,
79
+ rect: o,
80
80
  offsetParent: i,
81
- strategy: o
81
+ strategy: n
82
82
  } = t;
83
- const r = o === "fixed", s = R(i), c = e ? $(e.floating) : !1;
83
+ const r = n === "fixed", s = R(i), c = e ? V(e.floating) : !1;
84
84
  if (i === s || c && r)
85
- return n;
85
+ return o;
86
86
  let f = {
87
87
  scrollLeft: 0,
88
88
  scrollTop: 0
89
- }, l = w(1);
90
- const u = w(0), h = C(i);
91
- if ((h || !h && !r) && ((_(i) !== "body" || q(s)) && (f = H(i)), C(i))) {
89
+ }, l = y(1);
90
+ const u = y(0), h = O(i);
91
+ if ((h || !h && !r) && ((_(i) !== "body" || q(s)) && (f = H(i)), O(i))) {
92
92
  const a = T(i);
93
93
  l = F(i), u.x = a.x + i.clientLeft, u.y = a.y + i.clientTop;
94
94
  }
95
- const d = s && !h && !r ? et(s, f) : w(0);
95
+ const d = s && !h && !r ? et(s, f) : y(0);
96
96
  return {
97
- width: n.width * l.x,
98
- height: n.height * l.y,
99
- x: n.x * l.x - f.scrollLeft * l.x + u.x + d.x,
100
- y: n.y * l.y - f.scrollTop * l.y + u.y + d.y
97
+ width: o.width * l.x,
98
+ height: o.height * l.y,
99
+ x: o.x * l.x - f.scrollLeft * l.x + u.x + d.x,
100
+ y: o.y * l.y - f.scrollTop * l.y + u.y + d.y
101
101
  };
102
102
  }
103
103
  function yt(t) {
104
104
  return Array.from(t.getClientRects());
105
105
  }
106
- function wt(t) {
107
- const e = R(t), n = H(t), i = t.ownerDocument.body, o = E(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), r = E(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
108
- let s = -n.scrollLeft + I(t);
109
- const c = -n.scrollTop;
110
- return b(i).direction === "rtl" && (s += E(e.clientWidth, i.clientWidth) - o), {
111
- width: o,
106
+ function vt(t) {
107
+ const e = R(t), o = H(t), i = t.ownerDocument.body, n = E(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), r = E(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
108
+ let s = -o.scrollLeft + I(t);
109
+ const c = -o.scrollTop;
110
+ return b(i).direction === "rtl" && (s += E(e.clientWidth, i.clientWidth) - n), {
111
+ width: n,
112
112
  height: r,
113
113
  x: s,
114
114
  y: c
@@ -116,12 +116,12 @@ function wt(t) {
116
116
  }
117
117
  const K = 25;
118
118
  function xt(t, e) {
119
- const n = L(t), i = R(t), o = n.visualViewport;
119
+ const o = L(t), i = R(t), n = o.visualViewport;
120
120
  let r = i.clientWidth, s = i.clientHeight, c = 0, f = 0;
121
- if (o) {
122
- r = o.width, s = o.height;
121
+ if (n) {
122
+ r = n.width, s = n.height;
123
123
  const u = Q();
124
- (!u || u && e === "fixed") && (c = o.offsetLeft, f = o.offsetTop);
124
+ (!u || u && e === "fixed") && (c = n.offsetLeft, f = n.offsetTop);
125
125
  }
126
126
  const l = I(i);
127
127
  if (l <= 0) {
@@ -135,9 +135,9 @@ function xt(t, e) {
135
135
  y: f
136
136
  };
137
137
  }
138
- const vt = /* @__PURE__ */ new Set(["absolute", "fixed"]);
139
- function bt(t, e) {
140
- const n = T(t, !0, e === "fixed"), i = n.top + t.clientTop, o = n.left + t.clientLeft, r = C(t) ? F(t) : w(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, f = o * r.x, l = i * r.y;
138
+ const bt = /* @__PURE__ */ new Set(["absolute", "fixed"]);
139
+ function Rt(t, e) {
140
+ const o = T(t, !0, e === "fixed"), i = o.top + t.clientTop, n = o.left + t.clientLeft, r = O(t) ? F(t) : y(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, f = n * r.x, l = i * r.y;
141
141
  return {
142
142
  width: s,
143
143
  height: c,
@@ -145,19 +145,19 @@ function bt(t, e) {
145
145
  y: l
146
146
  };
147
147
  }
148
- function j(t, e, n) {
148
+ function j(t, e, o) {
149
149
  let i;
150
150
  if (e === "viewport")
151
- i = xt(t, n);
151
+ i = xt(t, o);
152
152
  else if (e === "document")
153
- i = wt(R(t));
154
- else if (v(e))
155
- i = bt(e, n);
153
+ i = vt(R(t));
154
+ else if (x(e))
155
+ i = Rt(e, o);
156
156
  else {
157
- const o = tt(t);
157
+ const n = tt(t);
158
158
  i = {
159
- x: e.x - o.x,
160
- y: e.y - o.y,
159
+ x: e.x - n.x,
160
+ y: e.y - n.y,
161
161
  width: e.width,
162
162
  height: e.height
163
163
  };
@@ -165,33 +165,33 @@ function j(t, e, n) {
165
165
  return J(i);
166
166
  }
167
167
  function it(t, e) {
168
- const n = S(t);
169
- return n === e || !v(n) || z(n) ? !1 : b(n).position === "fixed" || it(n, e);
168
+ const o = S(t);
169
+ return o === e || !x(o) || z(o) ? !1 : b(o).position === "fixed" || it(o, e);
170
170
  }
171
- function Rt(t, e) {
172
- const n = e.get(t);
173
- if (n)
174
- return n;
175
- let i = V(t, [], !1).filter((c) => v(c) && _(c) !== "body"), o = null;
171
+ function Ot(t, e) {
172
+ const o = e.get(t);
173
+ if (o)
174
+ return o;
175
+ let i = $(t, [], !1).filter((c) => x(c) && _(c) !== "body"), n = null;
176
176
  const r = b(t).position === "fixed";
177
177
  let s = r ? S(t) : t;
178
- for (; v(s) && !z(s); ) {
178
+ for (; x(s) && !z(s); ) {
179
179
  const c = b(s), f = Y(s);
180
- !f && c.position === "fixed" && (o = null), (r ? !f && !o : !f && c.position === "static" && !!o && vt.has(o.position) || q(s) && !f && it(t, s)) ? i = i.filter((u) => u !== s) : o = c, s = S(s);
180
+ !f && c.position === "fixed" && (n = null), (r ? !f && !n : !f && c.position === "static" && !!n && bt.has(n.position) || q(s) && !f && it(t, s)) ? i = i.filter((u) => u !== s) : n = c, s = S(s);
181
181
  }
182
182
  return e.set(t, i), i;
183
183
  }
184
184
  function Ct(t) {
185
185
  let {
186
186
  element: e,
187
- boundary: n,
187
+ boundary: o,
188
188
  rootBoundary: i,
189
- strategy: o
189
+ strategy: n
190
190
  } = t;
191
- const s = [...n === "clippingAncestors" ? $(e) ? [] : Rt(e, this._c) : [].concat(n), i], c = s[0], f = s.reduce((l, u) => {
192
- const h = j(e, u, o);
191
+ const s = [...o === "clippingAncestors" ? V(e) ? [] : Ot(e, this._c) : [].concat(o), i], c = s[0], f = s.reduce((l, u) => {
192
+ const h = j(e, u, n);
193
193
  return l.top = E(h.top, l.top), l.right = N(h.right, l.right), l.bottom = N(h.bottom, l.bottom), l.left = E(h.left, l.left), l;
194
- }, j(e, c, o));
194
+ }, j(e, c, n));
195
195
  return {
196
196
  width: f.right - f.left,
197
197
  height: f.bottom - f.top,
@@ -199,33 +199,33 @@ function Ct(t) {
199
199
  y: f.top
200
200
  };
201
201
  }
202
- function Ot(t) {
202
+ function Lt(t) {
203
203
  const {
204
204
  width: e,
205
- height: n
205
+ height: o
206
206
  } = Z(t);
207
207
  return {
208
208
  width: e,
209
- height: n
209
+ height: o
210
210
  };
211
211
  }
212
- function Lt(t, e, n) {
213
- const i = C(e), o = R(e), r = n === "fixed", s = T(t, !0, r, e);
212
+ function Tt(t, e, o) {
213
+ const i = O(e), n = R(e), r = o === "fixed", s = T(t, !0, r, e);
214
214
  let c = {
215
215
  scrollLeft: 0,
216
216
  scrollTop: 0
217
217
  };
218
- const f = w(0);
218
+ const f = y(0);
219
219
  function l() {
220
- f.x = I(o);
220
+ f.x = I(n);
221
221
  }
222
222
  if (i || !i && !r)
223
- if ((_(e) !== "body" || q(o)) && (c = H(e)), i) {
223
+ if ((_(e) !== "body" || q(n)) && (c = H(e)), i) {
224
224
  const a = T(e, !0, r, e);
225
225
  f.x = a.x + e.clientLeft, f.y = a.y + e.clientTop;
226
- } else o && l();
227
- r && !i && o && l();
228
- const u = o && !i && !r ? et(o, c) : w(0), h = s.left + c.scrollLeft - f.x - u.x, d = s.top + c.scrollTop - f.y - u.y;
226
+ } else n && l();
227
+ r && !i && n && l();
228
+ const u = n && !i && !r ? et(n, c) : y(0), h = s.left + c.scrollLeft - f.x - u.x, d = s.top + c.scrollTop - f.y - u.y;
229
229
  return {
230
230
  x: h,
231
231
  y: d,
@@ -237,35 +237,35 @@ function M(t) {
237
237
  return b(t).position === "static";
238
238
  }
239
239
  function G(t, e) {
240
- if (!C(t) || b(t).position === "fixed")
240
+ if (!O(t) || b(t).position === "fixed")
241
241
  return null;
242
242
  if (e)
243
243
  return e(t);
244
- let n = t.offsetParent;
245
- return R(t) === n && (n = n.ownerDocument.body), n;
244
+ let o = t.offsetParent;
245
+ return R(t) === o && (o = o.ownerDocument.body), o;
246
246
  }
247
- function nt(t, e) {
248
- const n = L(t);
249
- if ($(t))
250
- return n;
251
- if (!C(t)) {
252
- let o = S(t);
253
- for (; o && !z(o); ) {
254
- if (v(o) && !M(o))
255
- return o;
256
- o = S(o);
247
+ function ot(t, e) {
248
+ const o = L(t);
249
+ if (V(t))
250
+ return o;
251
+ if (!O(t)) {
252
+ let n = S(t);
253
+ for (; n && !z(n); ) {
254
+ if (x(n) && !M(n))
255
+ return n;
256
+ n = S(n);
257
257
  }
258
- return n;
258
+ return o;
259
259
  }
260
260
  let i = G(t, e);
261
- for (; i && at(i) && M(i); )
261
+ for (; i && dt(i) && M(i); )
262
262
  i = G(i, e);
263
- return i && z(i) && M(i) && !Y(i) ? n : i || dt(t) || n;
263
+ return i && z(i) && M(i) && !Y(i) ? o : i || gt(t) || o;
264
264
  }
265
- const Tt = async function(t) {
266
- const e = this.getOffsetParent || nt, n = this.getDimensions, i = await n(t.floating);
265
+ const Et = async function(t) {
266
+ const e = this.getOffsetParent || ot, o = this.getDimensions, i = await o(t.floating);
267
267
  return {
268
- reference: Lt(t.reference, await e(t.floating), t.strategy),
268
+ reference: Tt(t.reference, await e(t.floating), t.strategy),
269
269
  floating: {
270
270
  x: 0,
271
271
  y: 0,
@@ -274,30 +274,30 @@ const Tt = async function(t) {
274
274
  }
275
275
  };
276
276
  };
277
- function Et(t) {
277
+ function Ft(t) {
278
278
  return b(t).direction === "rtl";
279
279
  }
280
- const Ft = {
281
- convertOffsetParentRelativeRectToViewportRelativeRect: mt,
280
+ const St = {
281
+ convertOffsetParentRelativeRectToViewportRelativeRect: wt,
282
282
  getDocumentElement: R,
283
283
  getClippingRect: Ct,
284
- getOffsetParent: nt,
285
- getElementRects: Tt,
284
+ getOffsetParent: ot,
285
+ getElementRects: Et,
286
286
  getClientRects: yt,
287
- getDimensions: Ot,
287
+ getDimensions: Lt,
288
288
  getScale: F,
289
- isElement: v,
290
- isRTL: Et
289
+ isElement: x,
290
+ isRTL: Ft
291
291
  };
292
- function ot(t, e) {
292
+ function nt(t, e) {
293
293
  return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
294
294
  }
295
- function St(t, e) {
296
- let n = null, i;
297
- const o = R(t);
295
+ function Wt(t, e) {
296
+ let o = null, i;
297
+ const n = R(t);
298
298
  function r() {
299
299
  var c;
300
- clearTimeout(i), (c = n) == null || c.disconnect(), n = null;
300
+ clearTimeout(i), (c = o) == null || c.disconnect(), o = null;
301
301
  }
302
302
  function s(c, f) {
303
303
  c === void 0 && (c = !1), f === void 0 && (f = 1), r();
@@ -309,8 +309,8 @@ function St(t, e) {
309
309
  } = l;
310
310
  if (c || e(), !d || !a)
311
311
  return;
312
- const m = A(h), p = A(o.clientWidth - (u + d)), y = A(o.clientHeight - (h + a)), g = A(u), O = {
313
- rootMargin: -m + "px " + -p + "px " + -y + "px " + -g + "px",
312
+ const m = A(h), p = A(n.clientWidth - (u + d)), w = A(n.clientHeight - (h + a)), g = A(u), C = {
313
+ rootMargin: -m + "px " + -p + "px " + -w + "px " + -g + "px",
314
314
  threshold: E(0, N(1, f)) || 1
315
315
  };
316
316
  let W = !0;
@@ -323,79 +323,80 @@ function St(t, e) {
323
323
  s(!1, 1e-7);
324
324
  }, 1e3);
325
325
  }
326
- B === 1 && !ot(l, t.getBoundingClientRect()) && s(), W = !1;
326
+ B === 1 && !nt(l, t.getBoundingClientRect()) && s(), W = !1;
327
327
  }
328
328
  try {
329
- n = new IntersectionObserver(k, {
330
- ...O,
329
+ o = new IntersectionObserver(k, {
330
+ ...C,
331
331
  // Handle <iframe>s
332
- root: o.ownerDocument
332
+ root: n.ownerDocument
333
333
  });
334
334
  } catch {
335
- n = new IntersectionObserver(k, O);
335
+ o = new IntersectionObserver(k, C);
336
336
  }
337
- n.observe(t);
337
+ o.observe(t);
338
338
  }
339
339
  return s(!0), r;
340
340
  }
341
- function Dt(t, e, n, i) {
341
+ function zt(t, e, o, i) {
342
342
  i === void 0 && (i = {});
343
343
  const {
344
- ancestorScroll: o = !0,
344
+ ancestorScroll: n = !0,
345
345
  ancestorResize: r = !0,
346
346
  elementResize: s = typeof ResizeObserver == "function",
347
347
  layoutShift: c = typeof IntersectionObserver == "function",
348
348
  animationFrame: f = !1
349
- } = i, l = X(t), u = o || r ? [...l ? V(l) : [], ...V(e)] : [];
349
+ } = i, l = X(t), u = n || r ? [...l ? $(l) : [], ...$(e)] : [];
350
350
  u.forEach((g) => {
351
- o && g.addEventListener("scroll", n, {
351
+ n && g.addEventListener("scroll", o, {
352
352
  passive: !0
353
- }), r && g.addEventListener("resize", n);
353
+ }), r && g.addEventListener("resize", o);
354
354
  });
355
- const h = l && c ? St(l, n) : null;
355
+ const h = l && c ? Wt(l, o) : null;
356
356
  let d = -1, a = null;
357
357
  s && (a = new ResizeObserver((g) => {
358
- let [x] = g;
359
- x && x.target === l && a && (a.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
360
- var O;
361
- (O = a) == null || O.observe(e);
362
- })), n();
358
+ let [v] = g;
359
+ v && v.target === l && a && (a.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
360
+ var C;
361
+ (C = a) == null || C.observe(e);
362
+ })), o();
363
363
  }), l && !f && a.observe(l), a.observe(e));
364
364
  let m, p = f ? T(t) : null;
365
- f && y();
366
- function y() {
365
+ f && w();
366
+ function w() {
367
367
  const g = T(t);
368
- p && !ot(p, g) && n(), p = g, m = requestAnimationFrame(y);
368
+ p && !nt(p, g) && o(), p = g, m = requestAnimationFrame(w);
369
369
  }
370
- return n(), () => {
370
+ return o(), () => {
371
371
  var g;
372
- u.forEach((x) => {
373
- o && x.removeEventListener("scroll", n), r && x.removeEventListener("resize", n);
372
+ u.forEach((v) => {
373
+ n && v.removeEventListener("scroll", o), r && v.removeEventListener("resize", o);
374
374
  }), h == null || h(), (g = a) == null || g.disconnect(), a = null, f && cancelAnimationFrame(m);
375
375
  };
376
376
  }
377
- const zt = rt, Ht = ut, It = st, Mt = ct, Nt = lt, Vt = ht, $t = (t, e, n) => {
378
- const i = /* @__PURE__ */ new Map(), o = {
379
- platform: Ft,
380
- ...n
377
+ const Ht = ut, It = rt, Mt = ft, Nt = st, $t = ct, Vt = lt, _t = at, qt = (t, e, o) => {
378
+ const i = /* @__PURE__ */ new Map(), n = {
379
+ platform: St,
380
+ ...o
381
381
  }, r = {
382
- ...o.platform,
382
+ ...n.platform,
383
383
  _c: i
384
384
  };
385
- return ft(t, e, {
386
- ...o,
385
+ return ht(t, e, {
386
+ ...n,
387
387
  platform: r
388
388
  });
389
389
  };
390
390
  export {
391
- Dt as autoUpdate,
392
- $t as computePosition,
393
- It as flip,
394
- V as getOverflowAncestors,
395
- Nt as hide,
396
- Vt as limitShift,
397
- zt as offset,
398
- Ft as platform,
399
- Ht as shift,
400
- Mt as size
391
+ zt as autoUpdate,
392
+ qt as computePosition,
393
+ Ht as detectOverflow,
394
+ Nt as flip,
395
+ $ as getOverflowAncestors,
396
+ Vt as hide,
397
+ _t as limitShift,
398
+ It as offset,
399
+ St as platform,
400
+ Mt as shift,
401
+ $t as size
401
402
  };
@@ -1,5 +1,5 @@
1
- import { flip as H, offset as I, size as J, hide as K, computePosition as N, shift as Q, limitShift as T } from "../../../../../@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
2
- import { autoUpdate as ae, platform as de } from "../../../../../@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
1
+ import { flip as H, offset as I, size as J, hide as K, shift as N, computePosition as Q, limitShift as T } from "../../../../../@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
2
+ import { autoUpdate as ae, detectOverflow as de, platform as me } from "../../../../../@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
3
3
  import * as r from "react";
4
4
  import { useLayoutEffect as X } from "react";
5
5
  import * as Y from "react-dom";
@@ -62,7 +62,7 @@ function ne(e) {
62
62
  transform: D = !0,
63
63
  whileElementsMounted: E,
64
64
  open: x
65
- } = e, [s, C] = r.useState({
65
+ } = e, [s, v] = r.useState({
66
66
  x: 0,
67
67
  y: 0,
68
68
  strategy: n,
@@ -71,11 +71,11 @@ function ne(e) {
71
71
  isPositioned: !1
72
72
  }), [M, q] = r.useState(f);
73
73
  w(M, f) || q(f);
74
- const [B, U] = r.useState(null), [V, W] = r.useState(null), _ = r.useCallback((o) => {
74
+ const [B, U] = r.useState(null), [V, W] = r.useState(null), C = r.useCallback((o) => {
75
75
  o !== a.current && (a.current = o, U(o));
76
- }, []), v = r.useCallback((o) => {
76
+ }, []), O = r.useCallback((o) => {
77
77
  o !== d.current && (d.current = o, W(o));
78
- }, []), i = p || B, u = A || V, a = r.useRef(null), d = r.useRef(null), y = r.useRef(s), G = E != null, S = k(E), P = k(c), F = k(x), g = r.useCallback(() => {
78
+ }, []), i = p || B, u = A || V, a = r.useRef(null), d = r.useRef(null), y = r.useRef(s), G = E != null, S = k(E), P = k(c), _ = k(x), g = r.useCallback(() => {
79
79
  if (!a.current || !d.current)
80
80
  return;
81
81
  const o = {
@@ -83,22 +83,22 @@ function ne(e) {
83
83
  strategy: n,
84
84
  middleware: M
85
85
  };
86
- P.current && (o.platform = P.current), N(a.current, d.current, o).then((h) => {
86
+ P.current && (o.platform = P.current), Q(a.current, d.current, o).then((h) => {
87
87
  const m = {
88
88
  ...h,
89
89
  // The floating element's position may be recomputed while it's closed
90
90
  // but still mounted (such as when transitioning out). To ensure
91
91
  // `isPositioned` will be `false` initially on the next open, avoid
92
92
  // setting it to `true` when `open === false` (must be specified).
93
- isPositioned: F.current !== !1
93
+ isPositioned: _.current !== !1
94
94
  };
95
95
  $.current && !w(y.current, m) && (y.current = m, Y.flushSync(() => {
96
- C(m);
96
+ v(m);
97
97
  }));
98
98
  });
99
- }, [M, t, n, P, F]);
99
+ }, [M, t, n, P, _]);
100
100
  R(() => {
101
- x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, C((o) => ({
101
+ x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, v((o) => ({
102
102
  ...o,
103
103
  isPositioned: !1
104
104
  })));
@@ -113,12 +113,12 @@ function ne(e) {
113
113
  g();
114
114
  }
115
115
  }, [i, u, g, S, G]);
116
- const O = r.useMemo(() => ({
116
+ const F = r.useMemo(() => ({
117
117
  reference: a,
118
118
  floating: d,
119
- setReference: _,
120
- setFloating: v
121
- }), [_, v]), l = r.useMemo(() => ({
119
+ setReference: C,
120
+ setFloating: O
121
+ }), [C, O]), l = r.useMemo(() => ({
122
122
  reference: i,
123
123
  floating: u
124
124
  }), [i, u]), j = r.useMemo(() => {
@@ -145,16 +145,16 @@ function ne(e) {
145
145
  return r.useMemo(() => ({
146
146
  ...s,
147
147
  update: g,
148
- refs: O,
148
+ refs: F,
149
149
  elements: l,
150
150
  floatingStyles: j
151
- }), [s, g, O, l, j]);
151
+ }), [s, g, F, l, j]);
152
152
  }
153
153
  const re = (e, t) => ({
154
154
  ...I(e),
155
155
  options: [e, t]
156
156
  }), oe = (e, t) => ({
157
- ...Q(e),
157
+ ...N(e),
158
158
  options: [e, t]
159
159
  }), fe = (e, t) => ({
160
160
  ...T(e),
@@ -171,12 +171,13 @@ const re = (e, t) => ({
171
171
  });
172
172
  export {
173
173
  ae as autoUpdate,
174
- N as computePosition,
174
+ Q as computePosition,
175
+ de as detectOverflow,
175
176
  se as flip,
176
177
  ue as hide,
177
178
  fe as limitShift,
178
179
  re as offset,
179
- de as platform,
180
+ me as platform,
180
181
  oe as shift,
181
182
  ie as size,
182
183
  ne as useFloating