laif-ds 0.1.9 → 0.1.11

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 (392) hide show
  1. package/dist/_virtual/index2.js +5 -2
  2. package/dist/_virtual/index3.js +5 -5
  3. package/dist/_virtual/index4.js +2 -5
  4. package/dist/_virtual/index5.js +2 -5
  5. package/dist/_virtual/index6.js +5 -2
  6. package/dist/components/ui/accordion.js +20 -20
  7. package/dist/components/ui/alert-dialog.js +41 -41
  8. package/dist/components/ui/alert.js +10 -10
  9. package/dist/components/ui/aspect-ratio.js +4 -4
  10. package/dist/components/ui/async-select.js +112 -112
  11. package/dist/components/ui/audio-visualizer.js +26 -26
  12. package/dist/components/ui/avatar.js +17 -17
  13. package/dist/components/ui/badge.js +9 -10
  14. package/dist/components/ui/breadcrumb.js +24 -25
  15. package/dist/components/ui/button.js +17 -17
  16. package/dist/components/ui/calendar.js +8 -8
  17. package/dist/components/ui/card.js +15 -15
  18. package/dist/components/ui/carousel.js +66 -66
  19. package/dist/components/ui/chart.js +80 -80
  20. package/dist/components/ui/chat-message.js +104 -104
  21. package/dist/components/ui/chat.js +109 -109
  22. package/dist/components/ui/checkbox.js +5 -5
  23. package/dist/components/ui/collapsible.js +10 -10
  24. package/dist/components/ui/command.js +52 -52
  25. package/dist/components/ui/context-menu.js +61 -61
  26. package/dist/components/ui/copy-button.js +19 -19
  27. package/dist/components/ui/data-table.js +73 -73
  28. package/dist/components/ui/date-picker.js +18 -18
  29. package/dist/components/ui/dialog.js +49 -49
  30. package/dist/components/ui/drawer.js +43 -43
  31. package/dist/components/ui/file-preview.js +49 -49
  32. package/dist/components/ui/form.js +33 -33
  33. package/dist/components/ui/gantt/assets/icons/MinusSquareOutlined.js +5 -5
  34. package/dist/components/ui/gantt/assets/icons/PlusSquareOutlined.js +6 -6
  35. package/dist/components/ui/gantt/components/Chart/Bars/Bars.js +28 -28
  36. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarItem/BarItem.js +80 -80
  37. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsItems/BarItems.js +13 -13
  38. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRow.js +10 -10
  39. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/RepeteadBars/RepeteadBars.js +25 -25
  40. package/dist/components/ui/gantt/components/Chart/Chart.js +30 -30
  41. package/dist/components/ui/gantt/components/Chart/Scale/Scale.js +45 -45
  42. package/dist/components/ui/gantt/components/Chart/Tree/Tree.js +37 -37
  43. package/dist/components/ui/gantt/components/Controls/Controls.js +53 -53
  44. package/dist/components/ui/gantt/components/Gantt/Gantt.js +29 -29
  45. package/dist/components/ui/hover-card.js +4 -4
  46. package/dist/components/ui/icon.js +9 -9
  47. package/dist/components/ui/input-otp.js +14 -14
  48. package/dist/components/ui/input-selector.js +38 -38
  49. package/dist/components/ui/input.js +32 -32
  50. package/dist/components/ui/interrupt-prompt.js +9 -10
  51. package/dist/components/ui/label.js +4 -4
  52. package/dist/components/ui/markdown-renderer.js +60 -63
  53. package/dist/components/ui/menubar.js +89 -89
  54. package/dist/components/ui/message-input.js +149 -150
  55. package/dist/components/ui/message-list.js +15 -15
  56. package/dist/components/ui/multiple-selector.js +159 -159
  57. package/dist/components/ui/navigation-menu.js +44 -44
  58. package/dist/components/ui/pagination.js +39 -39
  59. package/dist/components/ui/popover.js +13 -13
  60. package/dist/components/ui/progress.js +14 -14
  61. package/dist/components/ui/prompt-suggestions.js +10 -10
  62. package/dist/components/ui/radio-group.js +15 -15
  63. package/dist/components/ui/resizable.js +13 -13
  64. package/dist/components/ui/scroll-area.js +25 -25
  65. package/dist/components/ui/select.js +80 -80
  66. package/dist/components/ui/separator.js +4 -4
  67. package/dist/components/ui/sheet.js +48 -48
  68. package/dist/components/ui/sidebar.js +178 -182
  69. package/dist/components/ui/skeleton.js +4 -4
  70. package/dist/components/ui/switch.js +5 -5
  71. package/dist/components/ui/table.js +14 -14
  72. package/dist/components/ui/tabs.js +10 -10
  73. package/dist/components/ui/textarea.js +2 -2
  74. package/dist/components/ui/toaster.js +2 -2
  75. package/dist/components/ui/toggle-group.js +6 -6
  76. package/dist/components/ui/toggle.js +2 -2
  77. package/dist/components/ui/tooltip.js +19 -19
  78. package/dist/components/ui/typing-indicator.js +7 -7
  79. package/dist/components/ui/typo.js +10 -10
  80. package/dist/dist/components/ui/checkbox.js +6 -6
  81. package/dist/dist/components/ui/scroll-area.js +30 -30
  82. package/dist/dist/components/ui/table.js +15 -15
  83. package/dist/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +60 -60
  84. package/dist/dist/node_modules/@radix-ui/react-context/dist/index.js +19 -19
  85. package/dist/dist/node_modules/@radix-ui/react-direction/dist/index.js +3 -2
  86. package/dist/dist/node_modules/@radix-ui/react-primitive/dist/index.js +2 -2
  87. package/dist/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +116 -116
  88. package/dist/dist/node_modules/@radix-ui/react-slot/dist/index.js +10 -10
  89. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +77 -77
  90. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +65 -65
  91. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +6 -6
  92. package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +12 -12
  93. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +21 -21
  94. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +58 -58
  95. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +49 -49
  96. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +16 -16
  97. package/dist/node_modules/@radix-ui/react-context/dist/index.js +36 -36
  98. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +113 -113
  99. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +100 -100
  100. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +1 -1
  101. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +18 -18
  102. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +9 -9
  103. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +50 -50
  104. package/dist/node_modules/@radix-ui/react-label/dist/index.js +4 -4
  105. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +223 -223
  106. package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +95 -95
  107. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.js +260 -260
  108. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +92 -92
  109. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +35 -35
  110. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +8 -8
  111. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +7 -7
  112. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +22 -22
  113. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +105 -105
  114. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +29 -29
  115. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +157 -157
  116. package/dist/node_modules/@radix-ui/react-select/dist/index.js +345 -345
  117. package/dist/node_modules/@radix-ui/react-separator/dist/index.js +6 -6
  118. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +19 -19
  119. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +46 -46
  120. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +48 -48
  121. package/dist/node_modules/@radix-ui/react-toggle/dist/index.js +10 -10
  122. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +67 -71
  123. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +77 -77
  124. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +4 -4
  125. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  126. package/dist/node_modules/react-day-picker/dist/index.esm.js +483 -483
  127. package/dist/node_modules/react-is/index.js +1 -1
  128. package/dist/node_modules/react-markdown/lib/index.js +39 -39
  129. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  130. package/dist/node_modules/unified/lib/index.js +1 -1
  131. package/package.json +3 -2
  132. package/dist/_virtual/jsx-runtime.js +0 -6
  133. package/dist/_virtual/jsx-runtime2.js +0 -5
  134. package/dist/_virtual/react-jsx-runtime.development.js +0 -5
  135. package/dist/_virtual/react-jsx-runtime.production.js +0 -5
  136. package/dist/dist/_virtual/jsx-runtime.js +0 -6
  137. package/dist/dist/_virtual/jsx-runtime2.js +0 -5
  138. package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -5
  139. package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -5
  140. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
  141. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
  142. package/dist/dist/node_modules/react/jsx-runtime.js +0 -11
  143. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
  144. package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -206
  145. package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
  146. package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -148
  147. package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
  148. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -13
  149. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -24
  150. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -19
  151. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -9
  152. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -7
  153. package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -38
  154. package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -31
  155. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -33
  156. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -53
  157. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -93
  158. package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
  159. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -48
  160. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -47
  161. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -34
  162. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -23
  163. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -7
  164. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -8
  165. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -23
  166. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -8
  167. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -7
  168. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -5
  169. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -8
  170. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -7
  171. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -52
  172. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -42
  173. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
  174. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
  175. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -13
  176. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -6
  177. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -6
  178. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -10
  179. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -14
  180. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -6
  181. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -16
  182. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -6
  183. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -6
  184. package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -6
  185. package/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -10
  186. package/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -9
  187. package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -20
  188. package/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -8
  189. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -5
  190. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -5
  191. package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -5
  192. package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -33
  193. package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -7
  194. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -9
  195. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -16
  196. package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js +0 -40
  197. package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js +0 -11
  198. package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js +0 -6
  199. package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js +0 -42
  200. package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js +0 -16
  201. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -257
  202. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -20
  203. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -69
  204. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -29
  205. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -23
  206. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -86
  207. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -45
  208. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
  209. package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -11
  210. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -26
  211. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -35
  212. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -14
  213. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -28
  214. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -18
  215. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -22
  216. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
  217. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -12
  218. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -12
  219. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -45
  220. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -22
  221. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -60
  222. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -9
  223. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -5
  224. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -19
  225. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
  226. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -54
  227. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -39
  228. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -34
  229. package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -26
  230. package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -15
  231. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -53
  232. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -37
  233. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -26
  234. package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -19
  235. package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -35
  236. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -14
  237. package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -26
  238. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -615
  239. package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -16
  240. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
  241. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -22
  242. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -17
  243. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -9
  244. package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -14
  245. package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -7
  246. package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -21
  247. package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -14
  248. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -227
  249. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -21
  250. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
  251. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -16
  252. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
  253. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -67
  254. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -28
  255. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -11
  256. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -19
  257. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -5
  258. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -32
  259. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -21
  260. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -6
  261. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -25
  262. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -7
  263. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -41
  264. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -11
  265. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -25
  266. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -10
  267. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -9
  268. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -5
  269. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -42
  270. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -19
  271. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -5
  272. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -32
  273. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -8
  274. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -9
  275. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -39
  276. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -13
  277. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -28
  278. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -30
  279. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -32
  280. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -10
  281. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -14
  282. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -24
  283. package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -17
  284. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -9
  285. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -13
  286. package/dist/node_modules/framer-motion/dist/es/render/store.js +0 -5
  287. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -41
  288. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -55
  289. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -31
  290. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -23
  291. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -27
  292. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -29
  293. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -9
  294. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -5
  295. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -19
  296. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -12
  297. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -16
  298. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -12
  299. package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
  300. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -125
  301. package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -5
  302. package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
  303. package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -21
  304. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -14
  305. package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -7
  306. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
  307. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -9
  308. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -21
  309. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
  310. package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -14
  311. package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js +0 -7
  312. package/dist/node_modules/framer-motion/dist/es/utils/array.js +0 -12
  313. package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -5
  314. package/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -14
  315. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
  316. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -5
  317. package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -23
  318. package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -42
  319. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -5
  320. package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -5
  321. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -7
  322. package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -5
  323. package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -30
  324. package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -53
  325. package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -7
  326. package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -9
  327. package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -5
  328. package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -9
  329. package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -9
  330. package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -14
  331. package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -7
  332. package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -5
  333. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -14
  334. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -6
  335. package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -7
  336. package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -15
  337. package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js +0 -30
  338. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -9
  339. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -7
  340. package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +0 -7
  341. package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js +0 -8
  342. package/dist/node_modules/framer-motion/dist/es/value/index.js +0 -208
  343. package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -20
  344. package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -13
  345. package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -12
  346. package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -17
  347. package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -19
  348. package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -25
  349. package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -50
  350. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -18
  351. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -18
  352. package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -5
  353. package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -5
  354. package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -7
  355. package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -5
  356. package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -5
  357. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -10
  358. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -8
  359. package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -5
  360. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -10
  361. package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -75
  362. package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -10
  363. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -14
  364. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -7
  365. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -7
  366. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -7
  367. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -28
  368. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -13
  369. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
  370. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -12
  371. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -25
  372. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
  373. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -14
  374. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -28
  375. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -5
  376. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -5
  377. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -5
  378. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -13
  379. package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -5
  380. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
  381. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -7
  382. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -13
  383. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -14
  384. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -7
  385. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -13
  386. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -9
  387. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -5
  388. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -8
  389. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -6
  390. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
  391. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
  392. package/dist/node_modules/react/jsx-runtime.js +0 -11
@@ -2,7 +2,7 @@
2
2
  import * as r from "react";
3
3
  import { composeEventHandlers as h } from "../../primitive/dist/index.js";
4
4
  import { createCollection as $e } from "../../react-collection/dist/index.js";
5
- import { useComposedRefs as k, composeRefs as qe } from "../../react-compose-refs/dist/index.js";
5
+ import { useComposedRefs as N, composeRefs as qe } from "../../react-compose-refs/dist/index.js";
6
6
  import { createContextScope as Je } from "../../react-context/dist/index.js";
7
7
  import { useDirection as Qe } from "../../react-direction/dist/index.js";
8
8
  import { DismissableLayer as et } from "../../react-dismissable-layer/dist/index.js";
@@ -10,27 +10,27 @@ import { useFocusGuards as tt } from "../../react-focus-guards/dist/index.js";
10
10
  import { FocusScope as nt } from "../../react-focus-scope/dist/index.js";
11
11
  import { useId as Me } from "../../react-id/dist/index.js";
12
12
  import { createPopperScope as ve, Root as Ce, Anchor as ot, Content as rt, Arrow as ct } from "../../react-popper/dist/index.js";
13
- import { Portal as st } from "../../react-portal/dist/index.js";
13
+ import { Portal as at } from "../../react-portal/dist/index.js";
14
14
  import { Presence as W } from "../../react-presence/dist/index.js";
15
- import { Primitive as N, dispatchDiscreteCustomEvent as at } from "../../react-primitive/dist/index.js";
15
+ import { Primitive as F, dispatchDiscreteCustomEvent as st } from "../../react-primitive/dist/index.js";
16
16
  import { createRovingFocusGroupScope as ge, Item as ut, Root as it } from "../../react-roving-focus/dist/index.js";
17
17
  import { createSlot as lt } from "../../react-slot/dist/index.js";
18
18
  import { useCallbackRef as ee } from "../../react-use-callback-ref/dist/index.js";
19
19
  import { hideOthers as dt } from "../../../aria-hidden/dist/es2015/index.js";
20
20
  import ft from "../../../react-remove-scroll/dist/es2015/Combination.js";
21
- import { j as u } from "../../../../_virtual/jsx-runtime.js";
22
- var Q = ["Enter", " "], mt = ["ArrowDown", "PageUp", "Home"], xe = ["ArrowUp", "PageDown", "End"], pt = [...mt, ...xe], Mt = {
21
+ import { jsx as u } from "react/jsx-runtime";
22
+ var Q = ["Enter", " "], mt = ["ArrowDown", "PageUp", "Home"], _e = ["ArrowUp", "PageDown", "End"], pt = [...mt, ..._e], Mt = {
23
23
  ltr: [...Q, "ArrowRight"],
24
24
  rtl: [...Q, "ArrowLeft"]
25
25
  }, ht = {
26
26
  ltr: ["ArrowLeft"],
27
27
  rtl: ["ArrowRight"]
28
- }, F = "Menu", [j, vt, Ct] = $e(F), [w, cn] = Je(F, [
28
+ }, L = "Menu", [D, vt, Ct] = $e(L), [I, cn] = Je(L, [
29
29
  Ct,
30
30
  ve,
31
31
  ge
32
- ]), L = ve(), _e = ge(), [Re, P] = w(F), [gt, K] = w(F), Se = (e) => {
33
- const { __scopeMenu: n, open: t = !1, children: o, dir: a, onOpenChange: c, modal: l = !0 } = e, m = L(n), [p, M] = r.useState(null), d = r.useRef(!1), s = ee(c), f = Qe(a);
32
+ ]), K = ve(), Re = ge(), [Se, E] = I(L), [gt, G] = I(L), Pe = (e) => {
33
+ const { __scopeMenu: n, open: t = !1, children: o, dir: s, onOpenChange: c, modal: l = !0 } = e, m = K(n), [p, M] = r.useState(null), d = r.useRef(!1), a = ee(c), f = Qe(s);
34
34
  return r.useEffect(() => {
35
35
  const C = () => {
36
36
  d.current = !0, document.addEventListener("pointerdown", v, { capture: !0, once: !0 }), document.addEventListener("pointermove", v, { capture: !0, once: !0 });
@@ -38,19 +38,19 @@ var Q = ["Enter", " "], mt = ["ArrowDown", "PageUp", "Home"], xe = ["ArrowUp", "
38
38
  return document.addEventListener("keydown", C, { capture: !0 }), () => {
39
39
  document.removeEventListener("keydown", C, { capture: !0 }), document.removeEventListener("pointerdown", v, { capture: !0 }), document.removeEventListener("pointermove", v, { capture: !0 });
40
40
  };
41
- }, []), /* @__PURE__ */ u.jsx(Ce, { ...m, children: /* @__PURE__ */ u.jsx(
42
- Re,
41
+ }, []), /* @__PURE__ */ u(Ce, { ...m, children: /* @__PURE__ */ u(
42
+ Se,
43
43
  {
44
44
  scope: n,
45
45
  open: t,
46
- onOpenChange: s,
46
+ onOpenChange: a,
47
47
  content: p,
48
48
  onContentChange: M,
49
- children: /* @__PURE__ */ u.jsx(
49
+ children: /* @__PURE__ */ u(
50
50
  gt,
51
51
  {
52
52
  scope: n,
53
- onClose: r.useCallback(() => s(!1), [s]),
53
+ onClose: r.useCallback(() => a(!1), [a]),
54
54
  isUsingKeyboardRef: d,
55
55
  dir: f,
56
56
  modal: l,
@@ -60,37 +60,37 @@ var Q = ["Enter", " "], mt = ["ArrowDown", "PageUp", "Home"], xe = ["ArrowUp", "
60
60
  }
61
61
  ) });
62
62
  };
63
- Se.displayName = F;
64
- var xt = "MenuAnchor", te = r.forwardRef(
63
+ Pe.displayName = L;
64
+ var _t = "MenuAnchor", te = r.forwardRef(
65
65
  (e, n) => {
66
- const { __scopeMenu: t, ...o } = e, a = L(t);
67
- return /* @__PURE__ */ u.jsx(ot, { ...a, ...o, ref: n });
66
+ const { __scopeMenu: t, ...o } = e, s = K(t);
67
+ return /* @__PURE__ */ u(ot, { ...s, ...o, ref: n });
68
68
  }
69
69
  );
70
- te.displayName = xt;
71
- var ne = "MenuPortal", [_t, Pe] = w(ne, {
70
+ te.displayName = _t;
71
+ var ne = "MenuPortal", [Rt, Ee] = I(ne, {
72
72
  forceMount: void 0
73
- }), Ee = (e) => {
74
- const { __scopeMenu: n, forceMount: t, children: o, container: a } = e, c = P(ne, n);
75
- return /* @__PURE__ */ u.jsx(_t, { scope: n, forceMount: t, children: /* @__PURE__ */ u.jsx(W, { present: t || c.open, children: /* @__PURE__ */ u.jsx(st, { asChild: !0, container: a, children: o }) }) });
73
+ }), we = (e) => {
74
+ const { __scopeMenu: n, forceMount: t, children: o, container: s } = e, c = E(ne, n);
75
+ return /* @__PURE__ */ u(Rt, { scope: n, forceMount: t, children: /* @__PURE__ */ u(W, { present: t || c.open, children: /* @__PURE__ */ u(at, { asChild: !0, container: s, children: o }) }) });
76
76
  };
77
- Ee.displayName = ne;
78
- var x = "MenuContent", [Rt, oe] = w(x), we = r.forwardRef(
77
+ we.displayName = ne;
78
+ var _ = "MenuContent", [St, oe] = I(_), Ie = r.forwardRef(
79
79
  (e, n) => {
80
- const t = Pe(x, e.__scopeMenu), { forceMount: o = t.forceMount, ...a } = e, c = P(x, e.__scopeMenu), l = K(x, e.__scopeMenu);
81
- return /* @__PURE__ */ u.jsx(j.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ u.jsx(W, { present: o || c.open, children: /* @__PURE__ */ u.jsx(j.Slot, { scope: e.__scopeMenu, children: l.modal ? /* @__PURE__ */ u.jsx(St, { ...a, ref: n }) : /* @__PURE__ */ u.jsx(Pt, { ...a, ref: n }) }) }) });
80
+ const t = Ee(_, e.__scopeMenu), { forceMount: o = t.forceMount, ...s } = e, c = E(_, e.__scopeMenu), l = G(_, e.__scopeMenu);
81
+ return /* @__PURE__ */ u(D.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ u(W, { present: o || c.open, children: /* @__PURE__ */ u(D.Slot, { scope: e.__scopeMenu, children: l.modal ? /* @__PURE__ */ u(Pt, { ...s, ref: n }) : /* @__PURE__ */ u(Et, { ...s, ref: n }) }) }) });
82
82
  }
83
- ), St = r.forwardRef(
83
+ ), Pt = r.forwardRef(
84
84
  (e, n) => {
85
- const t = P(x, e.__scopeMenu), o = r.useRef(null), a = k(n, o);
85
+ const t = E(_, e.__scopeMenu), o = r.useRef(null), s = N(n, o);
86
86
  return r.useEffect(() => {
87
87
  const c = o.current;
88
88
  if (c) return dt(c);
89
- }, []), /* @__PURE__ */ u.jsx(
89
+ }, []), /* @__PURE__ */ u(
90
90
  re,
91
91
  {
92
92
  ...e,
93
- ref: a,
93
+ ref: s,
94
94
  trapFocus: t.open,
95
95
  disableOutsidePointerEvents: t.open,
96
96
  disableOutsideScroll: !0,
@@ -103,9 +103,9 @@ var x = "MenuContent", [Rt, oe] = w(x), we = r.forwardRef(
103
103
  }
104
104
  );
105
105
  }
106
- ), Pt = r.forwardRef((e, n) => {
107
- const t = P(x, e.__scopeMenu);
108
- return /* @__PURE__ */ u.jsx(
106
+ ), Et = r.forwardRef((e, n) => {
107
+ const t = E(_, e.__scopeMenu);
108
+ return /* @__PURE__ */ u(
109
109
  re,
110
110
  {
111
111
  ...e,
@@ -116,128 +116,128 @@ var x = "MenuContent", [Rt, oe] = w(x), we = r.forwardRef(
116
116
  onDismiss: () => t.onOpenChange(!1)
117
117
  }
118
118
  );
119
- }), Et = lt("MenuContent.ScrollLock"), re = r.forwardRef(
119
+ }), wt = lt("MenuContent.ScrollLock"), re = r.forwardRef(
120
120
  (e, n) => {
121
121
  const {
122
122
  __scopeMenu: t,
123
123
  loop: o = !1,
124
- trapFocus: a,
124
+ trapFocus: s,
125
125
  onOpenAutoFocus: c,
126
126
  onCloseAutoFocus: l,
127
127
  disableOutsidePointerEvents: m,
128
128
  onEntryFocus: p,
129
129
  onEscapeKeyDown: M,
130
130
  onPointerDownOutside: d,
131
- onFocusOutside: s,
131
+ onFocusOutside: a,
132
132
  onInteractOutside: f,
133
133
  onDismiss: C,
134
134
  disableOutsideScroll: v,
135
- ...E
136
- } = e, I = P(x, t), T = K(x, t), G = L(t), U = _e(t), ie = vt(t), [Ye, le] = r.useState(null), B = r.useRef(null), Xe = k(n, B, I.onContentChange), V = r.useRef(0), Y = r.useRef(""), He = r.useRef(0), Z = r.useRef(null), de = r.useRef("right"), $ = r.useRef(0), We = v ? ft : r.Fragment, ze = v ? { as: Et, allowPinchZoom: !0 } : void 0, Ze = (i) => {
135
+ ...w
136
+ } = e, y = E(_, t), T = G(_, t), U = K(t), B = Re(t), ie = vt(t), [Xe, le] = r.useState(null), V = r.useRef(null), He = N(n, V, y.onContentChange), Y = r.useRef(0), X = r.useRef(""), je = r.useRef(0), Z = r.useRef(null), de = r.useRef("right"), $ = r.useRef(0), We = v ? ft : r.Fragment, ze = v ? { as: wt, allowPinchZoom: !0 } : void 0, Ze = (i) => {
137
137
  var b, me;
138
- const g = Y.current + i, _ = ie().filter((R) => !R.disabled), S = document.activeElement, q = (b = _.find((R) => R.ref.current === S)) == null ? void 0 : b.textValue, J = _.map((R) => R.textValue), fe = Ft(J, g, q), A = (me = _.find((R) => R.textValue === fe)) == null ? void 0 : me.ref.current;
139
- (function R(pe) {
140
- Y.current = pe, window.clearTimeout(V.current), pe !== "" && (V.current = window.setTimeout(() => R(""), 1e3));
138
+ const g = X.current + i, R = ie().filter((S) => !S.disabled), P = document.activeElement, q = (b = R.find((S) => S.ref.current === P)) == null ? void 0 : b.textValue, J = R.map((S) => S.textValue), fe = Lt(J, g, q), A = (me = R.find((S) => S.textValue === fe)) == null ? void 0 : me.ref.current;
139
+ (function S(pe) {
140
+ X.current = pe, window.clearTimeout(Y.current), pe !== "" && (Y.current = window.setTimeout(() => S(""), 1e3));
141
141
  })(g), A && setTimeout(() => A.focus());
142
142
  };
143
- r.useEffect(() => () => window.clearTimeout(V.current), []), tt();
144
- const y = r.useCallback((i) => {
145
- var _, S;
146
- return de.current === ((_ = Z.current) == null ? void 0 : _.side) && Kt(i, (S = Z.current) == null ? void 0 : S.area);
143
+ r.useEffect(() => () => window.clearTimeout(Y.current), []), tt();
144
+ const x = r.useCallback((i) => {
145
+ var R, P;
146
+ return de.current === ((R = Z.current) == null ? void 0 : R.side) && Gt(i, (P = Z.current) == null ? void 0 : P.area);
147
147
  }, []);
148
- return /* @__PURE__ */ u.jsx(
149
- Rt,
148
+ return /* @__PURE__ */ u(
149
+ St,
150
150
  {
151
151
  scope: t,
152
- searchRef: Y,
152
+ searchRef: X,
153
153
  onItemEnter: r.useCallback(
154
154
  (i) => {
155
- y(i) && i.preventDefault();
155
+ x(i) && i.preventDefault();
156
156
  },
157
- [y]
157
+ [x]
158
158
  ),
159
159
  onItemLeave: r.useCallback(
160
160
  (i) => {
161
161
  var g;
162
- y(i) || ((g = B.current) == null || g.focus(), le(null));
162
+ x(i) || ((g = V.current) == null || g.focus(), le(null));
163
163
  },
164
- [y]
164
+ [x]
165
165
  ),
166
166
  onTriggerLeave: r.useCallback(
167
167
  (i) => {
168
- y(i) && i.preventDefault();
168
+ x(i) && i.preventDefault();
169
169
  },
170
- [y]
170
+ [x]
171
171
  ),
172
- pointerGraceTimerRef: He,
172
+ pointerGraceTimerRef: je,
173
173
  onPointerGraceIntentChange: r.useCallback((i) => {
174
174
  Z.current = i;
175
175
  }, []),
176
- children: /* @__PURE__ */ u.jsx(We, { ...ze, children: /* @__PURE__ */ u.jsx(
176
+ children: /* @__PURE__ */ u(We, { ...ze, children: /* @__PURE__ */ u(
177
177
  nt,
178
178
  {
179
179
  asChild: !0,
180
- trapped: a,
180
+ trapped: s,
181
181
  onMountAutoFocus: h(c, (i) => {
182
182
  var g;
183
- i.preventDefault(), (g = B.current) == null || g.focus({ preventScroll: !0 });
183
+ i.preventDefault(), (g = V.current) == null || g.focus({ preventScroll: !0 });
184
184
  }),
185
185
  onUnmountAutoFocus: l,
186
- children: /* @__PURE__ */ u.jsx(
186
+ children: /* @__PURE__ */ u(
187
187
  et,
188
188
  {
189
189
  asChild: !0,
190
190
  disableOutsidePointerEvents: m,
191
191
  onEscapeKeyDown: M,
192
192
  onPointerDownOutside: d,
193
- onFocusOutside: s,
193
+ onFocusOutside: a,
194
194
  onInteractOutside: f,
195
195
  onDismiss: C,
196
- children: /* @__PURE__ */ u.jsx(
196
+ children: /* @__PURE__ */ u(
197
197
  it,
198
198
  {
199
199
  asChild: !0,
200
- ...U,
200
+ ...B,
201
201
  dir: T.dir,
202
202
  orientation: "vertical",
203
203
  loop: o,
204
- currentTabStopId: Ye,
204
+ currentTabStopId: Xe,
205
205
  onCurrentTabStopIdChange: le,
206
206
  onEntryFocus: h(p, (i) => {
207
207
  T.isUsingKeyboardRef.current || i.preventDefault();
208
208
  }),
209
209
  preventScrollOnEntryFocus: !0,
210
- children: /* @__PURE__ */ u.jsx(
210
+ children: /* @__PURE__ */ u(
211
211
  rt,
212
212
  {
213
213
  role: "menu",
214
214
  "aria-orientation": "vertical",
215
- "data-state": Ve(I.open),
215
+ "data-state": Ye(y.open),
216
216
  "data-radix-menu-content": "",
217
217
  dir: T.dir,
218
- ...G,
219
- ...E,
220
- ref: Xe,
221
- style: { outline: "none", ...E.style },
222
- onKeyDown: h(E.onKeyDown, (i) => {
223
- const _ = i.target.closest("[data-radix-menu-content]") === i.currentTarget, S = i.ctrlKey || i.altKey || i.metaKey, q = i.key.length === 1;
224
- _ && (i.key === "Tab" && i.preventDefault(), !S && q && Ze(i.key));
225
- const J = B.current;
218
+ ...U,
219
+ ...w,
220
+ ref: He,
221
+ style: { outline: "none", ...w.style },
222
+ onKeyDown: h(w.onKeyDown, (i) => {
223
+ const R = i.target.closest("[data-radix-menu-content]") === i.currentTarget, P = i.ctrlKey || i.altKey || i.metaKey, q = i.key.length === 1;
224
+ R && (i.key === "Tab" && i.preventDefault(), !P && q && Ze(i.key));
225
+ const J = V.current;
226
226
  if (i.target !== J || !pt.includes(i.key)) return;
227
227
  i.preventDefault();
228
228
  const A = ie().filter((b) => !b.disabled).map((b) => b.ref.current);
229
- xe.includes(i.key) && A.reverse(), kt(A);
229
+ _e.includes(i.key) && A.reverse(), Nt(A);
230
230
  }),
231
231
  onBlur: h(e.onBlur, (i) => {
232
- i.currentTarget.contains(i.target) || (window.clearTimeout(V.current), Y.current = "");
232
+ i.currentTarget.contains(i.target) || (window.clearTimeout(Y.current), X.current = "");
233
233
  }),
234
234
  onPointerMove: h(
235
235
  e.onPointerMove,
236
- D((i) => {
237
- const g = i.target, _ = $.current !== i.clientX;
238
- if (i.currentTarget.contains(g) && _) {
239
- const S = i.clientX > $.current ? "right" : "left";
240
- de.current = S, $.current = i.clientX;
236
+ k((i) => {
237
+ const g = i.target, R = $.current !== i.clientX;
238
+ if (i.currentTarget.contains(g) && R) {
239
+ const P = i.clientX > $.current ? "right" : "left";
240
+ de.current = P, $.current = i.clientX;
241
241
  }
242
242
  })
243
243
  )
@@ -253,68 +253,68 @@ var x = "MenuContent", [Rt, oe] = w(x), we = r.forwardRef(
253
253
  );
254
254
  }
255
255
  );
256
- we.displayName = x;
257
- var wt = "MenuGroup", ce = r.forwardRef(
256
+ Ie.displayName = _;
257
+ var It = "MenuGroup", ce = r.forwardRef(
258
258
  (e, n) => {
259
259
  const { __scopeMenu: t, ...o } = e;
260
- return /* @__PURE__ */ u.jsx(N.div, { role: "group", ...o, ref: n });
260
+ return /* @__PURE__ */ u(F.div, { role: "group", ...o, ref: n });
261
261
  }
262
262
  );
263
- ce.displayName = wt;
264
- var It = "MenuLabel", Ie = r.forwardRef(
263
+ ce.displayName = It;
264
+ var yt = "MenuLabel", ye = r.forwardRef(
265
265
  (e, n) => {
266
266
  const { __scopeMenu: t, ...o } = e;
267
- return /* @__PURE__ */ u.jsx(N.div, { ...o, ref: n });
267
+ return /* @__PURE__ */ u(F.div, { ...o, ref: n });
268
268
  }
269
269
  );
270
- Ie.displayName = It;
271
- var X = "MenuItem", he = "menu.itemSelect", z = r.forwardRef(
270
+ ye.displayName = yt;
271
+ var H = "MenuItem", he = "menu.itemSelect", z = r.forwardRef(
272
272
  (e, n) => {
273
- const { disabled: t = !1, onSelect: o, ...a } = e, c = r.useRef(null), l = K(X, e.__scopeMenu), m = oe(X, e.__scopeMenu), p = k(n, c), M = r.useRef(!1), d = () => {
274
- const s = c.current;
275
- if (!t && s) {
273
+ const { disabled: t = !1, onSelect: o, ...s } = e, c = r.useRef(null), l = G(H, e.__scopeMenu), m = oe(H, e.__scopeMenu), p = N(n, c), M = r.useRef(!1), d = () => {
274
+ const a = c.current;
275
+ if (!t && a) {
276
276
  const f = new CustomEvent(he, { bubbles: !0, cancelable: !0 });
277
- s.addEventListener(he, (C) => o == null ? void 0 : o(C), { once: !0 }), at(s, f), f.defaultPrevented ? M.current = !1 : l.onClose();
277
+ a.addEventListener(he, (C) => o == null ? void 0 : o(C), { once: !0 }), st(a, f), f.defaultPrevented ? M.current = !1 : l.onClose();
278
278
  }
279
279
  };
280
- return /* @__PURE__ */ u.jsx(
281
- ye,
280
+ return /* @__PURE__ */ u(
281
+ xe,
282
282
  {
283
- ...a,
283
+ ...s,
284
284
  ref: p,
285
285
  disabled: t,
286
286
  onClick: h(e.onClick, d),
287
- onPointerDown: (s) => {
287
+ onPointerDown: (a) => {
288
288
  var f;
289
- (f = e.onPointerDown) == null || f.call(e, s), M.current = !0;
289
+ (f = e.onPointerDown) == null || f.call(e, a), M.current = !0;
290
290
  },
291
- onPointerUp: h(e.onPointerUp, (s) => {
291
+ onPointerUp: h(e.onPointerUp, (a) => {
292
292
  var f;
293
- M.current || (f = s.currentTarget) == null || f.click();
293
+ M.current || (f = a.currentTarget) == null || f.click();
294
294
  }),
295
- onKeyDown: h(e.onKeyDown, (s) => {
295
+ onKeyDown: h(e.onKeyDown, (a) => {
296
296
  const f = m.searchRef.current !== "";
297
- t || f && s.key === " " || Q.includes(s.key) && (s.currentTarget.click(), s.preventDefault());
297
+ t || f && a.key === " " || Q.includes(a.key) && (a.currentTarget.click(), a.preventDefault());
298
298
  })
299
299
  }
300
300
  );
301
301
  }
302
302
  );
303
- z.displayName = X;
304
- var ye = r.forwardRef(
303
+ z.displayName = H;
304
+ var xe = r.forwardRef(
305
305
  (e, n) => {
306
- const { __scopeMenu: t, disabled: o = !1, textValue: a, ...c } = e, l = oe(X, t), m = _e(t), p = r.useRef(null), M = k(n, p), [d, s] = r.useState(!1), [f, C] = r.useState("");
306
+ const { __scopeMenu: t, disabled: o = !1, textValue: s, ...c } = e, l = oe(H, t), m = Re(t), p = r.useRef(null), M = N(n, p), [d, a] = r.useState(!1), [f, C] = r.useState("");
307
307
  return r.useEffect(() => {
308
308
  const v = p.current;
309
309
  v && C((v.textContent ?? "").trim());
310
- }, [c.children]), /* @__PURE__ */ u.jsx(
311
- j.ItemSlot,
310
+ }, [c.children]), /* @__PURE__ */ u(
311
+ D.ItemSlot,
312
312
  {
313
313
  scope: t,
314
314
  disabled: o,
315
- textValue: a ?? f,
316
- children: /* @__PURE__ */ u.jsx(ut, { asChild: !0, ...m, focusable: !o, children: /* @__PURE__ */ u.jsx(
317
- N.div,
315
+ textValue: s ?? f,
316
+ children: /* @__PURE__ */ u(ut, { asChild: !0, ...m, focusable: !o, children: /* @__PURE__ */ u(
317
+ F.div,
318
318
  {
319
319
  role: "menuitem",
320
320
  "data-highlighted": d ? "" : void 0,
@@ -324,57 +324,57 @@ var ye = r.forwardRef(
324
324
  ref: M,
325
325
  onPointerMove: h(
326
326
  e.onPointerMove,
327
- D((v) => {
327
+ k((v) => {
328
328
  o ? l.onItemLeave(v) : (l.onItemEnter(v), v.defaultPrevented || v.currentTarget.focus({ preventScroll: !0 }));
329
329
  })
330
330
  ),
331
331
  onPointerLeave: h(
332
332
  e.onPointerLeave,
333
- D((v) => l.onItemLeave(v))
333
+ k((v) => l.onItemLeave(v))
334
334
  ),
335
- onFocus: h(e.onFocus, () => s(!0)),
336
- onBlur: h(e.onBlur, () => s(!1))
335
+ onFocus: h(e.onFocus, () => a(!0)),
336
+ onBlur: h(e.onBlur, () => a(!1))
337
337
  }
338
338
  ) })
339
339
  }
340
340
  );
341
341
  }
342
- ), yt = "MenuCheckboxItem", be = r.forwardRef(
342
+ ), xt = "MenuCheckboxItem", be = r.forwardRef(
343
343
  (e, n) => {
344
- const { checked: t = !1, onCheckedChange: o, ...a } = e;
345
- return /* @__PURE__ */ u.jsx(De, { scope: e.__scopeMenu, checked: t, children: /* @__PURE__ */ u.jsx(
344
+ const { checked: t = !1, onCheckedChange: o, ...s } = e;
345
+ return /* @__PURE__ */ u(ke, { scope: e.__scopeMenu, checked: t, children: /* @__PURE__ */ u(
346
346
  z,
347
347
  {
348
348
  role: "menuitemcheckbox",
349
- "aria-checked": H(t) ? "mixed" : t,
350
- ...a,
349
+ "aria-checked": j(t) ? "mixed" : t,
350
+ ...s,
351
351
  ref: n,
352
352
  "data-state": ue(t),
353
353
  onSelect: h(
354
- a.onSelect,
355
- () => o == null ? void 0 : o(H(t) ? !0 : !t),
354
+ s.onSelect,
355
+ () => o == null ? void 0 : o(j(t) ? !0 : !t),
356
356
  { checkForDefaultPrevented: !1 }
357
357
  )
358
358
  }
359
359
  ) });
360
360
  }
361
361
  );
362
- be.displayName = yt;
363
- var Te = "MenuRadioGroup", [bt, Tt] = w(
362
+ be.displayName = xt;
363
+ var Te = "MenuRadioGroup", [bt, Tt] = I(
364
364
  Te,
365
365
  { value: void 0, onValueChange: () => {
366
366
  } }
367
367
  ), Ae = r.forwardRef(
368
368
  (e, n) => {
369
- const { value: t, onValueChange: o, ...a } = e, c = ee(o);
370
- return /* @__PURE__ */ u.jsx(bt, { scope: e.__scopeMenu, value: t, onValueChange: c, children: /* @__PURE__ */ u.jsx(ce, { ...a, ref: n }) });
369
+ const { value: t, onValueChange: o, ...s } = e, c = ee(o);
370
+ return /* @__PURE__ */ u(bt, { scope: e.__scopeMenu, value: t, onValueChange: c, children: /* @__PURE__ */ u(ce, { ...s, ref: n }) });
371
371
  }
372
372
  );
373
373
  Ae.displayName = Te;
374
- var Oe = "MenuRadioItem", je = r.forwardRef(
374
+ var Oe = "MenuRadioItem", De = r.forwardRef(
375
375
  (e, n) => {
376
- const { value: t, ...o } = e, a = Tt(Oe, e.__scopeMenu), c = t === a.value;
377
- return /* @__PURE__ */ u.jsx(De, { scope: e.__scopeMenu, checked: c, children: /* @__PURE__ */ u.jsx(
376
+ const { value: t, ...o } = e, s = Tt(Oe, e.__scopeMenu), c = t === s.value;
377
+ return /* @__PURE__ */ u(ke, { scope: e.__scopeMenu, checked: c, children: /* @__PURE__ */ u(
378
378
  z,
379
379
  {
380
380
  role: "menuitemradio",
@@ -386,7 +386,7 @@ var Oe = "MenuRadioItem", je = r.forwardRef(
386
386
  o.onSelect,
387
387
  () => {
388
388
  var l;
389
- return (l = a.onValueChange) == null ? void 0 : l.call(a, t);
389
+ return (l = s.onValueChange) == null ? void 0 : l.call(s, t);
390
390
  },
391
391
  { checkForDefaultPrevented: !1 }
392
392
  )
@@ -394,21 +394,21 @@ var Oe = "MenuRadioItem", je = r.forwardRef(
394
394
  ) });
395
395
  }
396
396
  );
397
- je.displayName = Oe;
398
- var se = "MenuItemIndicator", [De, At] = w(
399
- se,
397
+ De.displayName = Oe;
398
+ var ae = "MenuItemIndicator", [ke, At] = I(
399
+ ae,
400
400
  { checked: !1 }
401
- ), ke = r.forwardRef(
401
+ ), Ne = r.forwardRef(
402
402
  (e, n) => {
403
- const { __scopeMenu: t, forceMount: o, ...a } = e, c = At(se, t);
404
- return /* @__PURE__ */ u.jsx(
403
+ const { __scopeMenu: t, forceMount: o, ...s } = e, c = At(ae, t);
404
+ return /* @__PURE__ */ u(
405
405
  W,
406
406
  {
407
- present: o || H(c.checked) || c.checked === !0,
408
- children: /* @__PURE__ */ u.jsx(
409
- N.span,
407
+ present: o || j(c.checked) || c.checked === !0,
408
+ children: /* @__PURE__ */ u(
409
+ F.span,
410
410
  {
411
- ...a,
411
+ ...s,
412
412
  ref: n,
413
413
  "data-state": ue(c.checked)
414
414
  }
@@ -417,12 +417,12 @@ var se = "MenuItemIndicator", [De, At] = w(
417
417
  );
418
418
  }
419
419
  );
420
- ke.displayName = se;
421
- var Ot = "MenuSeparator", Ne = r.forwardRef(
420
+ Ne.displayName = ae;
421
+ var Ot = "MenuSeparator", Fe = r.forwardRef(
422
422
  (e, n) => {
423
423
  const { __scopeMenu: t, ...o } = e;
424
- return /* @__PURE__ */ u.jsx(
425
- N.div,
424
+ return /* @__PURE__ */ u(
425
+ F.div,
426
426
  {
427
427
  role: "separator",
428
428
  "aria-orientation": "horizontal",
@@ -432,26 +432,26 @@ var Ot = "MenuSeparator", Ne = r.forwardRef(
432
432
  );
433
433
  }
434
434
  );
435
- Ne.displayName = Ot;
436
- var jt = "MenuArrow", Fe = r.forwardRef(
435
+ Fe.displayName = Ot;
436
+ var Dt = "MenuArrow", Le = r.forwardRef(
437
437
  (e, n) => {
438
- const { __scopeMenu: t, ...o } = e, a = L(t);
439
- return /* @__PURE__ */ u.jsx(ct, { ...a, ...o, ref: n });
438
+ const { __scopeMenu: t, ...o } = e, s = K(t);
439
+ return /* @__PURE__ */ u(ct, { ...s, ...o, ref: n });
440
440
  }
441
441
  );
442
- Fe.displayName = jt;
443
- var ae = "MenuSub", [Dt, Le] = w(ae), Ke = (e) => {
444
- const { __scopeMenu: n, children: t, open: o = !1, onOpenChange: a } = e, c = P(ae, n), l = L(n), [m, p] = r.useState(null), [M, d] = r.useState(null), s = ee(a);
445
- return r.useEffect(() => (c.open === !1 && s(!1), () => s(!1)), [c.open, s]), /* @__PURE__ */ u.jsx(Ce, { ...l, children: /* @__PURE__ */ u.jsx(
446
- Re,
442
+ Le.displayName = Dt;
443
+ var se = "MenuSub", [kt, Ke] = I(se), Ge = (e) => {
444
+ const { __scopeMenu: n, children: t, open: o = !1, onOpenChange: s } = e, c = E(se, n), l = K(n), [m, p] = r.useState(null), [M, d] = r.useState(null), a = ee(s);
445
+ return r.useEffect(() => (c.open === !1 && a(!1), () => a(!1)), [c.open, a]), /* @__PURE__ */ u(Ce, { ...l, children: /* @__PURE__ */ u(
446
+ Se,
447
447
  {
448
448
  scope: n,
449
449
  open: o,
450
- onOpenChange: s,
450
+ onOpenChange: a,
451
451
  content: M,
452
452
  onContentChange: d,
453
- children: /* @__PURE__ */ u.jsx(
454
- Dt,
453
+ children: /* @__PURE__ */ u(
454
+ kt,
455
455
  {
456
456
  scope: n,
457
457
  contentId: Me(),
@@ -464,87 +464,87 @@ var ae = "MenuSub", [Dt, Le] = w(ae), Ke = (e) => {
464
464
  }
465
465
  ) });
466
466
  };
467
- Ke.displayName = ae;
468
- var O = "MenuSubTrigger", Ge = r.forwardRef(
467
+ Ge.displayName = se;
468
+ var O = "MenuSubTrigger", Ue = r.forwardRef(
469
469
  (e, n) => {
470
- const t = P(O, e.__scopeMenu), o = K(O, e.__scopeMenu), a = Le(O, e.__scopeMenu), c = oe(O, e.__scopeMenu), l = r.useRef(null), { pointerGraceTimerRef: m, onPointerGraceIntentChange: p } = c, M = { __scopeMenu: e.__scopeMenu }, d = r.useCallback(() => {
470
+ const t = E(O, e.__scopeMenu), o = G(O, e.__scopeMenu), s = Ke(O, e.__scopeMenu), c = oe(O, e.__scopeMenu), l = r.useRef(null), { pointerGraceTimerRef: m, onPointerGraceIntentChange: p } = c, M = { __scopeMenu: e.__scopeMenu }, d = r.useCallback(() => {
471
471
  l.current && window.clearTimeout(l.current), l.current = null;
472
472
  }, []);
473
473
  return r.useEffect(() => d, [d]), r.useEffect(() => {
474
- const s = m.current;
474
+ const a = m.current;
475
475
  return () => {
476
- window.clearTimeout(s), p(null);
476
+ window.clearTimeout(a), p(null);
477
477
  };
478
- }, [m, p]), /* @__PURE__ */ u.jsx(te, { asChild: !0, ...M, children: /* @__PURE__ */ u.jsx(
479
- ye,
478
+ }, [m, p]), /* @__PURE__ */ u(te, { asChild: !0, ...M, children: /* @__PURE__ */ u(
479
+ xe,
480
480
  {
481
- id: a.triggerId,
481
+ id: s.triggerId,
482
482
  "aria-haspopup": "menu",
483
483
  "aria-expanded": t.open,
484
- "aria-controls": a.contentId,
485
- "data-state": Ve(t.open),
484
+ "aria-controls": s.contentId,
485
+ "data-state": Ye(t.open),
486
486
  ...e,
487
- ref: qe(n, a.onTriggerChange),
488
- onClick: (s) => {
487
+ ref: qe(n, s.onTriggerChange),
488
+ onClick: (a) => {
489
489
  var f;
490
- (f = e.onClick) == null || f.call(e, s), !(e.disabled || s.defaultPrevented) && (s.currentTarget.focus(), t.open || t.onOpenChange(!0));
490
+ (f = e.onClick) == null || f.call(e, a), !(e.disabled || a.defaultPrevented) && (a.currentTarget.focus(), t.open || t.onOpenChange(!0));
491
491
  },
492
492
  onPointerMove: h(
493
493
  e.onPointerMove,
494
- D((s) => {
495
- c.onItemEnter(s), !s.defaultPrevented && !e.disabled && !t.open && !l.current && (c.onPointerGraceIntentChange(null), l.current = window.setTimeout(() => {
494
+ k((a) => {
495
+ c.onItemEnter(a), !a.defaultPrevented && !e.disabled && !t.open && !l.current && (c.onPointerGraceIntentChange(null), l.current = window.setTimeout(() => {
496
496
  t.onOpenChange(!0), d();
497
497
  }, 100));
498
498
  })
499
499
  ),
500
500
  onPointerLeave: h(
501
501
  e.onPointerLeave,
502
- D((s) => {
502
+ k((a) => {
503
503
  var C, v;
504
504
  d();
505
505
  const f = (C = t.content) == null ? void 0 : C.getBoundingClientRect();
506
506
  if (f) {
507
- const E = (v = t.content) == null ? void 0 : v.dataset.side, I = E === "right", T = I ? -5 : 5, G = f[I ? "left" : "right"], U = f[I ? "right" : "left"];
507
+ const w = (v = t.content) == null ? void 0 : v.dataset.side, y = w === "right", T = y ? -5 : 5, U = f[y ? "left" : "right"], B = f[y ? "right" : "left"];
508
508
  c.onPointerGraceIntentChange({
509
509
  area: [
510
510
  // Apply a bleed on clientX to ensure that our exit point is
511
511
  // consistently within polygon bounds
512
- { x: s.clientX + T, y: s.clientY },
513
- { x: G, y: f.top },
512
+ { x: a.clientX + T, y: a.clientY },
514
513
  { x: U, y: f.top },
515
- { x: U, y: f.bottom },
516
- { x: G, y: f.bottom }
514
+ { x: B, y: f.top },
515
+ { x: B, y: f.bottom },
516
+ { x: U, y: f.bottom }
517
517
  ],
518
- side: E
518
+ side: w
519
519
  }), window.clearTimeout(m.current), m.current = window.setTimeout(
520
520
  () => c.onPointerGraceIntentChange(null),
521
521
  300
522
522
  );
523
523
  } else {
524
- if (c.onTriggerLeave(s), s.defaultPrevented) return;
524
+ if (c.onTriggerLeave(a), a.defaultPrevented) return;
525
525
  c.onPointerGraceIntentChange(null);
526
526
  }
527
527
  })
528
528
  ),
529
- onKeyDown: h(e.onKeyDown, (s) => {
529
+ onKeyDown: h(e.onKeyDown, (a) => {
530
530
  var C;
531
531
  const f = c.searchRef.current !== "";
532
- e.disabled || f && s.key === " " || Mt[o.dir].includes(s.key) && (t.onOpenChange(!0), (C = t.content) == null || C.focus(), s.preventDefault());
532
+ e.disabled || f && a.key === " " || Mt[o.dir].includes(a.key) && (t.onOpenChange(!0), (C = t.content) == null || C.focus(), a.preventDefault());
533
533
  })
534
534
  }
535
535
  ) });
536
536
  }
537
537
  );
538
- Ge.displayName = O;
539
- var Ue = "MenuSubContent", Be = r.forwardRef(
538
+ Ue.displayName = O;
539
+ var Be = "MenuSubContent", Ve = r.forwardRef(
540
540
  (e, n) => {
541
- const t = Pe(x, e.__scopeMenu), { forceMount: o = t.forceMount, ...a } = e, c = P(x, e.__scopeMenu), l = K(x, e.__scopeMenu), m = Le(Ue, e.__scopeMenu), p = r.useRef(null), M = k(n, p);
542
- return /* @__PURE__ */ u.jsx(j.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ u.jsx(W, { present: o || c.open, children: /* @__PURE__ */ u.jsx(j.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ u.jsx(
541
+ const t = Ee(_, e.__scopeMenu), { forceMount: o = t.forceMount, ...s } = e, c = E(_, e.__scopeMenu), l = G(_, e.__scopeMenu), m = Ke(Be, e.__scopeMenu), p = r.useRef(null), M = N(n, p);
542
+ return /* @__PURE__ */ u(D.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ u(W, { present: o || c.open, children: /* @__PURE__ */ u(D.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ u(
543
543
  re,
544
544
  {
545
545
  id: m.contentId,
546
546
  "aria-labelledby": m.triggerId,
547
- ...a,
547
+ ...s,
548
548
  ref: M,
549
549
  align: "start",
550
550
  side: l.dir === "rtl" ? "left" : "right",
@@ -552,8 +552,8 @@ var Ue = "MenuSubContent", Be = r.forwardRef(
552
552
  disableOutsideScroll: !1,
553
553
  trapFocus: !1,
554
554
  onOpenAutoFocus: (d) => {
555
- var s;
556
- l.isUsingKeyboardRef.current && ((s = p.current) == null || s.focus()), d.preventDefault();
555
+ var a;
556
+ l.isUsingKeyboardRef.current && ((a = p.current) == null || a.focus()), d.preventDefault();
557
557
  },
558
558
  onCloseAutoFocus: (d) => d.preventDefault(),
559
559
  onFocusOutside: h(e.onFocusOutside, (d) => {
@@ -564,60 +564,60 @@ var Ue = "MenuSubContent", Be = r.forwardRef(
564
564
  }),
565
565
  onKeyDown: h(e.onKeyDown, (d) => {
566
566
  var C;
567
- const s = d.currentTarget.contains(d.target), f = ht[l.dir].includes(d.key);
568
- s && f && (c.onOpenChange(!1), (C = m.trigger) == null || C.focus(), d.preventDefault());
567
+ const a = d.currentTarget.contains(d.target), f = ht[l.dir].includes(d.key);
568
+ a && f && (c.onOpenChange(!1), (C = m.trigger) == null || C.focus(), d.preventDefault());
569
569
  })
570
570
  }
571
571
  ) }) }) });
572
572
  }
573
573
  );
574
- Be.displayName = Ue;
575
- function Ve(e) {
574
+ Ve.displayName = Be;
575
+ function Ye(e) {
576
576
  return e ? "open" : "closed";
577
577
  }
578
- function H(e) {
578
+ function j(e) {
579
579
  return e === "indeterminate";
580
580
  }
581
581
  function ue(e) {
582
- return H(e) ? "indeterminate" : e ? "checked" : "unchecked";
582
+ return j(e) ? "indeterminate" : e ? "checked" : "unchecked";
583
583
  }
584
- function kt(e) {
584
+ function Nt(e) {
585
585
  const n = document.activeElement;
586
586
  for (const t of e)
587
587
  if (t === n || (t.focus(), document.activeElement !== n)) return;
588
588
  }
589
- function Nt(e, n) {
589
+ function Ft(e, n) {
590
590
  return e.map((t, o) => e[(n + o) % e.length]);
591
591
  }
592
- function Ft(e, n, t) {
593
- const a = n.length > 1 && Array.from(n).every((M) => M === n[0]) ? n[0] : n, c = t ? e.indexOf(t) : -1;
594
- let l = Nt(e, Math.max(c, 0));
595
- a.length === 1 && (l = l.filter((M) => M !== t));
592
+ function Lt(e, n, t) {
593
+ const s = n.length > 1 && Array.from(n).every((M) => M === n[0]) ? n[0] : n, c = t ? e.indexOf(t) : -1;
594
+ let l = Ft(e, Math.max(c, 0));
595
+ s.length === 1 && (l = l.filter((M) => M !== t));
596
596
  const p = l.find(
597
- (M) => M.toLowerCase().startsWith(a.toLowerCase())
597
+ (M) => M.toLowerCase().startsWith(s.toLowerCase())
598
598
  );
599
599
  return p !== t ? p : void 0;
600
600
  }
601
- function Lt(e, n) {
601
+ function Kt(e, n) {
602
602
  const { x: t, y: o } = e;
603
- let a = !1;
603
+ let s = !1;
604
604
  for (let c = 0, l = n.length - 1; c < n.length; l = c++) {
605
605
  const m = n[c].x, p = n[c].y, M = n[l].x, d = n[l].y;
606
- p > o != d > o && t < (M - m) * (o - p) / (d - p) + m && (a = !a);
606
+ p > o != d > o && t < (M - m) * (o - p) / (d - p) + m && (s = !s);
607
607
  }
608
- return a;
608
+ return s;
609
609
  }
610
- function Kt(e, n) {
610
+ function Gt(e, n) {
611
611
  if (!n) return !1;
612
612
  const t = { x: e.clientX, y: e.clientY };
613
- return Lt(t, n);
613
+ return Kt(t, n);
614
614
  }
615
- function D(e) {
615
+ function k(e) {
616
616
  return (n) => n.pointerType === "mouse" ? e(n) : void 0;
617
617
  }
618
- var sn = Se, an = te, un = Ee, ln = we, dn = ce, fn = Ie, mn = z, pn = be, Mn = Ae, hn = je, vn = ke, Cn = Ne, gn = Fe, xn = Ke, _n = Ge, Rn = Be;
618
+ var an = Pe, sn = te, un = we, ln = Ie, dn = ce, fn = ye, mn = z, pn = be, Mn = Ae, hn = De, vn = Ne, Cn = Fe, gn = Le, _n = Ge, Rn = Ue, Sn = Ve;
619
619
  export {
620
- an as Anchor,
620
+ sn as Anchor,
621
621
  gn as Arrow,
622
622
  pn as CheckboxItem,
623
623
  ln as Content,
@@ -625,29 +625,29 @@ export {
625
625
  mn as Item,
626
626
  vn as ItemIndicator,
627
627
  fn as Label,
628
- Se as Menu,
628
+ Pe as Menu,
629
629
  te as MenuAnchor,
630
- Fe as MenuArrow,
630
+ Le as MenuArrow,
631
631
  be as MenuCheckboxItem,
632
- we as MenuContent,
632
+ Ie as MenuContent,
633
633
  ce as MenuGroup,
634
634
  z as MenuItem,
635
- ke as MenuItemIndicator,
636
- Ie as MenuLabel,
637
- Ee as MenuPortal,
635
+ Ne as MenuItemIndicator,
636
+ ye as MenuLabel,
637
+ we as MenuPortal,
638
638
  Ae as MenuRadioGroup,
639
- je as MenuRadioItem,
640
- Ne as MenuSeparator,
641
- Ke as MenuSub,
642
- Be as MenuSubContent,
643
- Ge as MenuSubTrigger,
639
+ De as MenuRadioItem,
640
+ Fe as MenuSeparator,
641
+ Ge as MenuSub,
642
+ Ve as MenuSubContent,
643
+ Ue as MenuSubTrigger,
644
644
  un as Portal,
645
645
  Mn as RadioGroup,
646
646
  hn as RadioItem,
647
- sn as Root,
647
+ an as Root,
648
648
  Cn as Separator,
649
- xn as Sub,
650
- Rn as SubContent,
651
- _n as SubTrigger,
649
+ _n as Sub,
650
+ Sn as SubContent,
651
+ Rn as SubTrigger,
652
652
  cn as createMenuScope
653
653
  };