{"version":3,"file":"DropdownMenuTrigger.vue_vue_type_script_setup_true_lang-xxZ8ld7D.js","sources":["../../node_modules/reka-ui/dist/shared/useArrowNavigation.js","../../node_modules/reka-ui/dist/shared/useTypeahead.js","../../node_modules/reka-ui/dist/shared/useIsUsingKeyboard.js","../../node_modules/reka-ui/dist/Menu/MenuRoot.js","../../node_modules/reka-ui/dist/Menu/MenuAnchor.js","../../node_modules/reka-ui/dist/Menu/MenuPortal.js","../../node_modules/reka-ui/dist/Menu/MenuContentImpl.js","../../node_modules/reka-ui/dist/Menu/MenuRootContentModal.js","../../node_modules/reka-ui/dist/Menu/MenuRootContentNonModal.js","../../node_modules/reka-ui/dist/Menu/MenuContent.js","../../node_modules/reka-ui/dist/Menu/MenuItemImpl.js","../../node_modules/reka-ui/dist/Menu/MenuItem.js","../../node_modules/reka-ui/dist/DropdownMenu/DropdownMenuRoot.js","../../node_modules/reka-ui/dist/DropdownMenu/DropdownMenuTrigger.js","../../node_modules/reka-ui/dist/DropdownMenu/DropdownMenuPortal.js","../../node_modules/reka-ui/dist/DropdownMenu/DropdownMenuContent.js","../../node_modules/reka-ui/dist/DropdownMenu/DropdownMenuItem.js","../../src/components/ui/dropdown-menu/DropdownMenu.vue","../../src/components/ui/dropdown-menu/DropdownMenuContent.vue","../../src/components/ui/dropdown-menu/DropdownMenuItem.vue","../../src/components/ui/dropdown-menu/DropdownMenuTrigger.vue"],"sourcesContent":["const ignoredElement = [\"INPUT\", \"TEXTAREA\"];\nfunction useArrowNavigation(e, currentElement, parentElement, options = {}) {\n if (!currentElement || options.enableIgnoredElement && ignoredElement.includes(currentElement.nodeName))\n return null;\n const {\n arrowKeyOptions = \"both\",\n attributeName = \"[data-reka-collection-item]\",\n itemsArray = [],\n loop = true,\n dir = \"ltr\",\n preventScroll = true,\n focus = false\n } = options;\n const [right, left, up, down, home, end] = [\n e.key === \"ArrowRight\",\n e.key === \"ArrowLeft\",\n e.key === \"ArrowUp\",\n e.key === \"ArrowDown\",\n e.key === \"Home\",\n e.key === \"End\"\n ];\n const goingVertical = up || down;\n const goingHorizontal = right || left;\n if (!home && !end && (!goingVertical && !goingHorizontal || arrowKeyOptions === \"vertical\" && goingHorizontal || arrowKeyOptions === \"horizontal\" && goingVertical)) {\n return null;\n }\n const allCollectionItems = parentElement ? Array.from(parentElement.querySelectorAll(attributeName)) : itemsArray;\n if (!allCollectionItems.length)\n return null;\n if (preventScroll)\n e.preventDefault();\n let item = null;\n if (goingHorizontal || goingVertical) {\n const goForward = goingVertical ? down : dir === \"ltr\" ? right : left;\n item = findNextFocusableElement(allCollectionItems, currentElement, {\n goForward,\n loop\n });\n } else if (home) {\n item = allCollectionItems.at(0) || null;\n } else if (end) {\n item = allCollectionItems.at(-1) || null;\n }\n if (focus)\n item?.focus();\n return item;\n}\nfunction findNextFocusableElement(elements, currentElement, options, iterations = elements.length) {\n if (--iterations === 0)\n return null;\n const index = elements.indexOf(currentElement);\n const newIndex = options.goForward ? index + 1 : index - 1;\n if (!options.loop && (newIndex < 0 || newIndex >= elements.length))\n return null;\n const adjustedNewIndex = (newIndex + elements.length) % elements.length;\n const candidate = elements[adjustedNewIndex];\n if (!candidate)\n return null;\n const isDisabled = candidate.hasAttribute(\"disabled\") && candidate.getAttribute(\"disabled\") !== \"false\";\n if (isDisabled) {\n return findNextFocusableElement(\n elements,\n candidate,\n options,\n iterations\n );\n }\n return candidate;\n}\n\nexport { useArrowNavigation as u };\n//# sourceMappingURL=useArrowNavigation.js.map\n","import { refAutoReset } from '@vueuse/shared';\nimport { g as getActiveElement } from './getActiveElement.js';\n\nfunction useTypeahead(callback) {\n const search = refAutoReset(\"\", 1e3);\n const handleTypeaheadSearch = (key, items) => {\n search.value = search.value + key;\n {\n const currentItem = getActiveElement();\n const itemsWithTextValue = items.map((item) => ({\n ...item,\n textValue: item.value?.textValue ?? item.ref.textContent?.trim() ?? \"\"\n }));\n const currentMatch = itemsWithTextValue.find((item) => item.ref === currentItem);\n const values = itemsWithTextValue.map((item) => item.textValue);\n const nextMatch = getNextMatch(values, search.value, currentMatch?.textValue);\n const newItem = itemsWithTextValue.find((item) => item.textValue === nextMatch);\n if (newItem)\n newItem.ref.focus();\n return newItem?.ref;\n }\n };\n const resetTypeahead = () => {\n search.value = \"\";\n };\n return {\n search,\n handleTypeaheadSearch,\n resetTypeahead\n };\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nfunction getNextMatch(values, search, currentMatch) {\n const isRepeated = search.length > 1 && Array.from(search).every((char) => char === search[0]);\n const normalizedSearch = isRepeated ? search[0] : search;\n const currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1;\n let wrappedValues = wrapArray(values, Math.max(currentMatchIndex, 0));\n const excludeCurrentMatch = normalizedSearch.length === 1;\n if (excludeCurrentMatch)\n wrappedValues = wrappedValues.filter((v) => v !== currentMatch);\n const nextMatch = wrappedValues.find(\n (value) => value.toLowerCase().startsWith(normalizedSearch.toLowerCase())\n );\n return nextMatch !== currentMatch ? nextMatch : undefined;\n}\n\nexport { getNextMatch as g, useTypeahead as u, wrapArray as w };\n//# sourceMappingURL=useTypeahead.js.map\n","import { createSharedComposable, useEventListener } from '@vueuse/core';\nimport { ref, onMounted } from 'vue';\n\nfunction useIsUsingKeyboardImpl() {\n const isUsingKeyboard = ref(false);\n onMounted(() => {\n useEventListener(\"keydown\", () => {\n isUsingKeyboard.value = true;\n }, { capture: true, passive: true });\n useEventListener([\"pointerdown\", \"pointermove\"], () => {\n isUsingKeyboard.value = false;\n }, { capture: true, passive: true });\n });\n return isUsingKeyboard;\n}\nconst useIsUsingKeyboard = createSharedComposable(useIsUsingKeyboardImpl);\n\nexport { useIsUsingKeyboard as u };\n//# sourceMappingURL=useIsUsingKeyboard.js.map\n","import { defineComponent, toRefs, ref, openBlock, createBlock, unref, withCtx, renderSlot } from 'vue';\nimport { useVModel } from '@vueuse/core';\nimport { _ as _sfc_main$1 } from '../Popper/PopperRoot.js';\nimport { u as useIsUsingKeyboard } from '../shared/useIsUsingKeyboard.js';\nimport { u as useDirection } from '../shared/useDirection.js';\nimport { c as createContext } from '../shared/createContext.js';\n\nconst [injectMenuContext, provideMenuContext] = createContext([\"MenuRoot\", \"MenuSub\"], \"MenuContext\");\nconst [injectMenuRootContext, provideMenuRootContext] = createContext(\"MenuRoot\");\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"MenuRoot\",\n props: {\n open: { type: Boolean, default: false },\n dir: {},\n modal: { type: Boolean, default: true }\n },\n emits: [\"update:open\"],\n setup(__props, { emit: __emit }) {\n const props = __props;\n const emits = __emit;\n const { modal, dir: propDir } = toRefs(props);\n const dir = useDirection(propDir);\n const open = useVModel(props, \"open\", emits);\n const content = ref();\n const isUsingKeyboardRef = useIsUsingKeyboard();\n provideMenuContext({\n open,\n onOpenChange: (value) => {\n open.value = value;\n },\n content,\n onContentChange: (element) => {\n content.value = element;\n }\n });\n provideMenuRootContext({\n onClose: () => {\n open.value = false;\n },\n isUsingKeyboardRef,\n dir,\n modal\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(_sfc_main$1), null, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n });\n };\n }\n});\n\nexport { _sfc_main as _, injectMenuRootContext as a, injectMenuContext as i, provideMenuContext as p };\n//# sourceMappingURL=MenuRoot.js.map\n","import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from 'vue';\nimport { _ as _sfc_main$1 } from '../Popper/PopperAnchor.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"MenuAnchor\",\n props: {\n reference: {},\n asChild: { type: Boolean },\n as: {}\n },\n setup(__props) {\n const props = __props;\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(props)), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=MenuAnchor.js.map\n","import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from 'vue';\nimport { _ as _sfc_main$1 } from '../Teleport/Teleport.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"MenuPortal\",\n props: {\n to: {},\n disabled: { type: Boolean },\n defer: { type: Boolean },\n forceMount: { type: Boolean }\n },\n setup(__props) {\n const props = __props;\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(props)), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=MenuPortal.js.map\n","import { defineComponent, mergeDefaults, toRefs, ref, watch, onUnmounted, openBlock, createBlock, unref, withCtx, createVNode, renderSlot } from 'vue';\nimport { g as getOpenState, b as isPointerInGraceArea, F as FIRST_LAST_KEYS, L as LAST_KEYS, f as focusFirst, c as isMouseEvent } from './utils.js';\nimport { _ as _sfc_main$2 } from '../DismissableLayer/DismissableLayer.js';\nimport { P as PopperContentPropsDefaultValue, _ as _sfc_main$4 } from '../Popper/PopperContent.js';\nimport { _ as _sfc_main$3 } from '../RovingFocus/RovingFocusGroup.js';\nimport { u as useBodyScrollLock } from '../shared/useBodyScrollLock.js';\nimport { i as injectMenuContext, a as injectMenuRootContext } from './MenuRoot.js';\nimport { u as useFocusGuards } from '../shared/useFocusGuards.js';\nimport { u as useForwardExpose } from '../shared/useForwardExpose.js';\nimport { u as useTypeahead } from '../shared/useTypeahead.js';\nimport { _ as _sfc_main$1 } from '../FocusScope/FocusScope.js';\nimport { c as createContext } from '../shared/createContext.js';\nimport { u as useArrowNavigation } from '../shared/useArrowNavigation.js';\nimport { g as getActiveElement } from '../shared/getActiveElement.js';\n\nconst [injectMenuContentContext, provideMenuContentContext] = createContext(\"MenuContent\");\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"MenuContentImpl\",\n props: /* @__PURE__ */ mergeDefaults({\n loop: { type: Boolean },\n disableOutsidePointerEvents: { type: Boolean },\n disableOutsideScroll: { type: Boolean },\n trapFocus: { type: Boolean },\n side: {},\n sideOffset: {},\n align: {},\n alignOffset: {},\n avoidCollisions: { type: Boolean },\n collisionBoundary: {},\n collisionPadding: {},\n arrowPadding: {},\n sticky: {},\n hideWhenDetached: { type: Boolean },\n positionStrategy: {},\n updatePositionStrategy: {},\n disableUpdateOnLayoutShift: { type: Boolean },\n prioritizePosition: { type: Boolean },\n reference: {},\n asChild: { type: Boolean },\n as: {}\n }, {\n ...PopperContentPropsDefaultValue\n }),\n emits: [\"escapeKeyDown\", \"pointerDownOutside\", \"focusOutside\", \"interactOutside\", \"entryFocus\", \"openAutoFocus\", \"closeAutoFocus\", \"dismiss\"],\n setup(__props, { emit: __emit }) {\n const props = __props;\n const emits = __emit;\n const menuContext = injectMenuContext();\n const rootContext = injectMenuRootContext();\n const { trapFocus, disableOutsidePointerEvents, loop } = toRefs(props);\n useFocusGuards();\n useBodyScrollLock(disableOutsidePointerEvents.value);\n const searchRef = ref(\"\");\n const timerRef = ref(0);\n const pointerGraceTimerRef = ref(0);\n const pointerGraceIntentRef = ref(null);\n const pointerDirRef = ref(\"right\");\n const lastPointerXRef = ref(0);\n const currentItemId = ref(null);\n const rovingFocusGroupRef = ref();\n const { forwardRef, currentElement: contentElement } = useForwardExpose();\n const { handleTypeaheadSearch } = useTypeahead();\n watch(contentElement, (el) => {\n menuContext.onContentChange(el);\n });\n onUnmounted(() => {\n window.clearTimeout(timerRef.value);\n });\n function isPointerMovingToSubmenu(event) {\n const isMovingTowards = pointerDirRef.value === pointerGraceIntentRef.value?.side;\n return isMovingTowards && isPointerInGraceArea(event, pointerGraceIntentRef.value?.area);\n }\n async function handleMountAutoFocus(event) {\n emits(\"openAutoFocus\", event);\n if (event.defaultPrevented)\n return;\n event.preventDefault();\n contentElement.value?.focus({\n preventScroll: true\n });\n }\n function handleKeyDown(event) {\n if (event.defaultPrevented)\n return;\n const target = event.target;\n const isKeyDownInside = target.closest(\"[data-reka-menu-content]\") === event.currentTarget;\n const isModifierKey = event.ctrlKey || event.altKey || event.metaKey;\n const isCharacterKey = event.key.length === 1;\n const el = useArrowNavigation(\n event,\n getActiveElement(),\n contentElement.value,\n {\n loop: loop.value,\n arrowKeyOptions: \"vertical\",\n dir: rootContext?.dir.value,\n focus: true,\n attributeName: \"[data-reka-collection-item]:not([data-disabled])\"\n }\n );\n if (el)\n return el?.focus();\n if (event.code === \"Space\")\n return;\n const collectionItems = rovingFocusGroupRef.value?.getItems() ?? [];\n if (isKeyDownInside) {\n if (event.key === \"Tab\")\n event.preventDefault();\n if (!isModifierKey && isCharacterKey)\n handleTypeaheadSearch(event.key, collectionItems);\n }\n if (event.target !== contentElement.value)\n return;\n if (!FIRST_LAST_KEYS.includes(event.key))\n return;\n event.preventDefault();\n const candidateNodes = [...collectionItems.map((item) => item.ref)];\n if (LAST_KEYS.includes(event.key))\n candidateNodes.reverse();\n focusFirst(candidateNodes);\n }\n function handleBlur(event) {\n if (!event?.currentTarget?.contains?.(event.target)) {\n window.clearTimeout(timerRef.value);\n searchRef.value = \"\";\n }\n }\n function handlePointerMove(event) {\n if (!isMouseEvent(event))\n return;\n const target = event.target;\n const pointerXHasChanged = lastPointerXRef.value !== event.clientX;\n if (event?.currentTarget?.contains(target) && pointerXHasChanged) {\n const newDir = event.clientX > lastPointerXRef.value ? \"right\" : \"left\";\n pointerDirRef.value = newDir;\n lastPointerXRef.value = event.clientX;\n }\n }\n provideMenuContentContext({\n onItemEnter: (event) => {\n if (isPointerMovingToSubmenu(event))\n return true;\n else\n return false;\n },\n onItemLeave: (event) => {\n if (isPointerMovingToSubmenu(event))\n return;\n contentElement.value?.focus();\n currentItemId.value = null;\n },\n onTriggerLeave: (event) => {\n if (isPointerMovingToSubmenu(event))\n return true;\n else\n return false;\n },\n searchRef,\n pointerGraceTimerRef,\n onPointerGraceIntentChange: (intent) => {\n pointerGraceIntentRef.value = intent;\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(_sfc_main$1), {\n \"as-child\": \"\",\n trapped: unref(trapFocus),\n onMountAutoFocus: handleMountAutoFocus,\n onUnmountAutoFocus: _cache[7] || (_cache[7] = ($event) => emits(\"closeAutoFocus\", $event))\n }, {\n default: withCtx(() => [\n createVNode(unref(_sfc_main$2), {\n \"as-child\": \"\",\n \"disable-outside-pointer-events\": unref(disableOutsidePointerEvents),\n onEscapeKeyDown: _cache[2] || (_cache[2] = ($event) => emits(\"escapeKeyDown\", $event)),\n onPointerDownOutside: _cache[3] || (_cache[3] = ($event) => emits(\"pointerDownOutside\", $event)),\n onFocusOutside: _cache[4] || (_cache[4] = ($event) => emits(\"focusOutside\", $event)),\n onInteractOutside: _cache[5] || (_cache[5] = ($event) => emits(\"interactOutside\", $event)),\n onDismiss: _cache[6] || (_cache[6] = ($event) => emits(\"dismiss\"))\n }, {\n default: withCtx(() => [\n createVNode(unref(_sfc_main$3), {\n ref_key: \"rovingFocusGroupRef\",\n ref: rovingFocusGroupRef,\n \"current-tab-stop-id\": currentItemId.value,\n \"onUpdate:currentTabStopId\": _cache[0] || (_cache[0] = ($event) => currentItemId.value = $event),\n \"as-child\": \"\",\n orientation: \"vertical\",\n dir: unref(rootContext).dir.value,\n loop: unref(loop),\n onEntryFocus: _cache[1] || (_cache[1] = (event) => {\n emits(\"entryFocus\", event);\n if (!unref(rootContext).isUsingKeyboardRef.value) event.preventDefault();\n })\n }, {\n default: withCtx(() => [\n createVNode(unref(_sfc_main$4), {\n ref: unref(forwardRef),\n role: \"menu\",\n as: _ctx.as,\n \"as-child\": _ctx.asChild,\n \"aria-orientation\": \"vertical\",\n \"data-reka-menu-content\": \"\",\n \"data-state\": unref(getOpenState)(unref(menuContext).open.value),\n dir: unref(rootContext).dir.value,\n side: _ctx.side,\n \"side-offset\": _ctx.sideOffset,\n align: _ctx.align,\n \"align-offset\": _ctx.alignOffset,\n \"avoid-collisions\": _ctx.avoidCollisions,\n \"collision-boundary\": _ctx.collisionBoundary,\n \"collision-padding\": _ctx.collisionPadding,\n \"arrow-padding\": _ctx.arrowPadding,\n \"prioritize-position\": _ctx.prioritizePosition,\n \"position-strategy\": _ctx.positionStrategy,\n \"update-position-strategy\": _ctx.updatePositionStrategy,\n sticky: _ctx.sticky,\n \"hide-when-detached\": _ctx.hideWhenDetached,\n reference: _ctx.reference,\n onKeydown: handleKeyDown,\n onBlur: handleBlur,\n onPointermove: handlePointerMove\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"as\", \"as-child\", \"data-state\", \"dir\", \"side\", \"side-offset\", \"align\", \"align-offset\", \"avoid-collisions\", \"collision-boundary\", \"collision-padding\", \"arrow-padding\", \"prioritize-position\", \"position-strategy\", \"update-position-strategy\", \"sticky\", \"hide-when-detached\", \"reference\"])\n ]),\n _: 3\n }, 8, [\"current-tab-stop-id\", \"dir\", \"loop\"])\n ]),\n _: 3\n }, 8, [\"disable-outside-pointer-events\"])\n ]),\n _: 3\n }, 8, [\"trapped\"]);\n };\n }\n});\n\nexport { _sfc_main as _, injectMenuContentContext as i };\n//# sourceMappingURL=MenuContentImpl.js.map\n","import { defineComponent, openBlock, createBlock, mergeProps, unref, withModifiers, withCtx, renderSlot } from 'vue';\nimport { _ as _sfc_main$1 } from './MenuContentImpl.js';\nimport { u as useForwardPropsEmits } from '../shared/useForwardPropsEmits.js';\nimport { u as useForwardExpose } from '../shared/useForwardExpose.js';\nimport { u as useHideOthers } from '../shared/useHideOthers.js';\nimport { i as injectMenuContext } from './MenuRoot.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"MenuRootContentModal\",\n props: {\n loop: { type: Boolean },\n side: {},\n sideOffset: {},\n align: {},\n alignOffset: {},\n avoidCollisions: { type: Boolean },\n collisionBoundary: {},\n collisionPadding: {},\n arrowPadding: {},\n sticky: {},\n hideWhenDetached: { type: Boolean },\n positionStrategy: {},\n updatePositionStrategy: {},\n disableUpdateOnLayoutShift: { type: Boolean },\n prioritizePosition: { type: Boolean },\n reference: {},\n asChild: { type: Boolean },\n as: {}\n },\n emits: [\"escapeKeyDown\", \"pointerDownOutside\", \"focusOutside\", \"interactOutside\", \"entryFocus\", \"openAutoFocus\", \"closeAutoFocus\"],\n setup(__props, { emit: __emit }) {\n const props = __props;\n const emits = __emit;\n const forwarded = useForwardPropsEmits(props, emits);\n const menuContext = injectMenuContext();\n const { forwardRef, currentElement } = useForwardExpose();\n useHideOthers(currentElement);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$1, mergeProps(unref(forwarded), {\n ref: unref(forwardRef),\n \"trap-focus\": unref(menuContext).open.value,\n \"disable-outside-pointer-events\": unref(menuContext).open.value,\n \"disable-outside-scroll\": true,\n onDismiss: _cache[0] || (_cache[0] = ($event) => unref(menuContext).onOpenChange(false)),\n onFocusOutside: _cache[1] || (_cache[1] = withModifiers(($event) => emits(\"focusOutside\", $event), [\"prevent\"]))\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"trap-focus\", \"disable-outside-pointer-events\"]);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=MenuRootContentModal.js.map\n","import { defineComponent, openBlock, createBlock, mergeProps, unref, withCtx, renderSlot } from 'vue';\nimport { _ as _sfc_main$1 } from './MenuContentImpl.js';\nimport { u as useForwardPropsEmits } from '../shared/useForwardPropsEmits.js';\nimport { i as injectMenuContext } from './MenuRoot.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"MenuRootContentNonModal\",\n props: {\n loop: { type: Boolean },\n side: {},\n sideOffset: {},\n align: {},\n alignOffset: {},\n avoidCollisions: { type: Boolean },\n collisionBoundary: {},\n collisionPadding: {},\n arrowPadding: {},\n sticky: {},\n hideWhenDetached: { type: Boolean },\n positionStrategy: {},\n updatePositionStrategy: {},\n disableUpdateOnLayoutShift: { type: Boolean },\n prioritizePosition: { type: Boolean },\n reference: {},\n asChild: { type: Boolean },\n as: {}\n },\n emits: [\"escapeKeyDown\", \"pointerDownOutside\", \"focusOutside\", \"interactOutside\", \"entryFocus\", \"openAutoFocus\", \"closeAutoFocus\"],\n setup(__props, { emit: __emit }) {\n const props = __props;\n const emits = __emit;\n const forwarded = useForwardPropsEmits(props, emits);\n const menuContext = injectMenuContext();\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$1, mergeProps(unref(forwarded), {\n \"trap-focus\": false,\n \"disable-outside-pointer-events\": false,\n \"disable-outside-scroll\": false,\n onDismiss: _cache[0] || (_cache[0] = ($event) => unref(menuContext).onOpenChange(false))\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=MenuRootContentNonModal.js.map\n","import { defineComponent, openBlock, createBlock, unref, withCtx, normalizeProps, mergeProps, renderSlot } from 'vue';\nimport { _ as _sfc_main$1 } from './MenuRootContentModal.js';\nimport { _ as _sfc_main$2 } from './MenuRootContentNonModal.js';\nimport { u as useForwardPropsEmits } from '../shared/useForwardPropsEmits.js';\nimport { P as Presence } from '../Presence/Presence.js';\nimport { i as injectMenuContext, a as injectMenuRootContext } from './MenuRoot.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"MenuContent\",\n props: {\n forceMount: { type: Boolean },\n loop: { type: Boolean },\n side: {},\n sideOffset: {},\n align: {},\n alignOffset: {},\n avoidCollisions: { type: Boolean },\n collisionBoundary: {},\n collisionPadding: {},\n arrowPadding: {},\n sticky: {},\n hideWhenDetached: { type: Boolean },\n positionStrategy: {},\n updatePositionStrategy: {},\n disableUpdateOnLayoutShift: { type: Boolean },\n prioritizePosition: { type: Boolean },\n reference: {},\n asChild: { type: Boolean },\n as: {}\n },\n emits: [\"escapeKeyDown\", \"pointerDownOutside\", \"focusOutside\", \"interactOutside\", \"entryFocus\", \"openAutoFocus\", \"closeAutoFocus\"],\n setup(__props, { emit: __emit }) {\n const props = __props;\n const emits = __emit;\n const forwarded = useForwardPropsEmits(props, emits);\n const menuContext = injectMenuContext();\n const rootContext = injectMenuRootContext();\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(Presence), {\n present: _ctx.forceMount || unref(menuContext).open.value\n }, {\n default: withCtx(() => [\n unref(rootContext).modal.value ? (openBlock(), createBlock(_sfc_main$1, normalizeProps(mergeProps({ key: 0 }, { ..._ctx.$attrs, ...unref(forwarded) })), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16)) : (openBlock(), createBlock(_sfc_main$2, normalizeProps(mergeProps({ key: 1 }, { ..._ctx.$attrs, ...unref(forwarded) })), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16))\n ]),\n _: 3\n }, 8, [\"present\"]);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=MenuContent.js.map\n","import { defineComponent, ref, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, nextTick, renderSlot } from 'vue';\nimport { c as isMouseEvent } from './utils.js';\nimport { u as useCollection } from '../Collection/Collection.js';\nimport { i as injectMenuContentContext } from './MenuContentImpl.js';\nimport { u as useForwardExpose } from '../shared/useForwardExpose.js';\nimport { P as Primitive } from '../Primitive/Primitive.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"MenuItemImpl\",\n props: {\n disabled: { type: Boolean },\n textValue: {},\n asChild: { type: Boolean },\n as: {}\n },\n setup(__props) {\n const props = __props;\n const contentContext = injectMenuContentContext();\n const { forwardRef } = useForwardExpose();\n const { CollectionItem } = useCollection();\n const isFocused = ref(false);\n async function handlePointerMove(event) {\n if (event.defaultPrevented)\n return;\n if (!isMouseEvent(event))\n return;\n if (props.disabled) {\n contentContext.onItemLeave(event);\n } else {\n const defaultPrevented = contentContext.onItemEnter(event);\n if (!defaultPrevented) {\n const item = event.currentTarget;\n item?.focus({ preventScroll: true });\n }\n }\n }\n async function handlePointerLeave(event) {\n await nextTick();\n if (event.defaultPrevented)\n return;\n if (!isMouseEvent(event))\n return;\n contentContext.onItemLeave(event);\n }\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(CollectionItem), {\n value: { textValue: _ctx.textValue }\n }, {\n default: withCtx(() => [\n createVNode(unref(Primitive), mergeProps({\n ref: unref(forwardRef),\n role: \"menuitem\",\n tabindex: \"-1\"\n }, _ctx.$attrs, {\n as: _ctx.as,\n \"as-child\": _ctx.asChild,\n \"aria-disabled\": _ctx.disabled || undefined,\n \"data-disabled\": _ctx.disabled ? \"\" : undefined,\n \"data-highlighted\": isFocused.value ? \"\" : undefined,\n onPointermove: handlePointerMove,\n onPointerleave: handlePointerLeave,\n onFocus: _cache[0] || (_cache[0] = async (event) => {\n await nextTick();\n if (event.defaultPrevented || _ctx.disabled) return;\n isFocused.value = true;\n }),\n onBlur: _cache[1] || (_cache[1] = async (event) => {\n await nextTick();\n if (event.defaultPrevented) return;\n isFocused.value = false;\n })\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"as\", \"as-child\", \"aria-disabled\", \"data-disabled\", \"data-highlighted\"])\n ]),\n _: 3\n }, 8, [\"value\"]);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=MenuItemImpl.js.map\n","import { defineComponent, ref, openBlock, createBlock, mergeProps, unref, nextTick, withCtx, renderSlot } from 'vue';\nimport { _ as _sfc_main$1 } from './MenuItemImpl.js';\nimport { S as SELECTION_KEYS, I as ITEM_SELECT } from './utils.js';\nimport { u as useForwardExpose } from '../shared/useForwardExpose.js';\nimport { a as injectMenuRootContext } from './MenuRoot.js';\nimport { i as injectMenuContentContext } from './MenuContentImpl.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"MenuItem\",\n props: {\n disabled: { type: Boolean },\n textValue: {},\n asChild: { type: Boolean },\n as: {}\n },\n emits: [\"select\"],\n setup(__props, { emit: __emit }) {\n const props = __props;\n const emits = __emit;\n const { forwardRef, currentElement } = useForwardExpose();\n const rootContext = injectMenuRootContext();\n const contentContext = injectMenuContentContext();\n const isPointerDownRef = ref(false);\n async function handleSelect() {\n const menuItem = currentElement.value;\n if (!props.disabled && menuItem) {\n const itemSelectEvent = new CustomEvent(ITEM_SELECT, {\n bubbles: true,\n cancelable: true\n });\n emits(\"select\", itemSelectEvent);\n await nextTick();\n if (itemSelectEvent.defaultPrevented)\n isPointerDownRef.value = false;\n else rootContext.onClose();\n }\n }\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$1, mergeProps(props, {\n ref: unref(forwardRef),\n onClick: handleSelect,\n onPointerdown: _cache[0] || (_cache[0] = () => {\n isPointerDownRef.value = true;\n }),\n onPointerup: _cache[1] || (_cache[1] = async (event) => {\n await nextTick();\n if (event.defaultPrevented) return;\n if (!isPointerDownRef.value) event.currentTarget?.click();\n }),\n onKeydown: _cache[2] || (_cache[2] = async (event) => {\n const isTypingAhead = unref(contentContext).searchRef.value !== \"\";\n if (_ctx.disabled || isTypingAhead && event.key === \" \") return;\n if (unref(SELECTION_KEYS).includes(event.key)) {\n event.currentTarget.click();\n event.preventDefault();\n }\n })\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=MenuItem.js.map\n","import { defineComponent, ref, toRefs, openBlock, createBlock, unref, isRef, withCtx, renderSlot } from 'vue';\nimport { useVModel } from '@vueuse/core';\nimport { _ as _sfc_main$1 } from '../Menu/MenuRoot.js';\nimport { u as useForwardExpose } from '../shared/useForwardExpose.js';\nimport { u as useDirection } from '../shared/useDirection.js';\nimport { c as createContext } from '../shared/createContext.js';\n\nconst [injectDropdownMenuRootContext, provideDropdownMenuRootContext] = createContext(\"DropdownMenuRoot\");\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"DropdownMenuRoot\",\n props: {\n defaultOpen: { type: Boolean },\n open: { type: Boolean, default: undefined },\n dir: {},\n modal: { type: Boolean, default: true }\n },\n emits: [\"update:open\"],\n setup(__props, { emit: __emit }) {\n const props = __props;\n const emit = __emit;\n useForwardExpose();\n const open = useVModel(props, \"open\", emit, {\n defaultValue: props.defaultOpen,\n passive: props.open === undefined\n });\n const triggerElement = ref();\n const { modal, dir: propDir } = toRefs(props);\n const dir = useDirection(propDir);\n provideDropdownMenuRootContext({\n open,\n onOpenChange: (value) => {\n open.value = value;\n },\n onOpenToggle: () => {\n open.value = !open.value;\n },\n triggerId: \"\",\n triggerElement,\n contentId: \"\",\n modal,\n dir\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(_sfc_main$1), {\n open: unref(open),\n \"onUpdate:open\": _cache[0] || (_cache[0] = ($event) => isRef(open) ? open.value = $event : null),\n dir: unref(dir),\n modal: unref(modal)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", { open: unref(open) })\n ]),\n _: 3\n }, 8, [\"open\", \"dir\", \"modal\"]);\n };\n }\n});\n\nexport { _sfc_main as _, injectDropdownMenuRootContext as i };\n//# sourceMappingURL=DropdownMenuRoot.js.map\n","import { defineComponent, onMounted, openBlock, createBlock, unref, withCtx, createVNode, nextTick, withKeys, renderSlot } from 'vue';\nimport { _ as _sfc_main$1 } from '../Menu/MenuAnchor.js';\nimport { i as injectDropdownMenuRootContext } from './DropdownMenuRoot.js';\nimport { u as useForwardExpose } from '../shared/useForwardExpose.js';\nimport { u as useId } from '../shared/useId.js';\nimport { P as Primitive } from '../Primitive/Primitive.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"DropdownMenuTrigger\",\n props: {\n disabled: { type: Boolean },\n asChild: { type: Boolean },\n as: { default: \"button\" }\n },\n setup(__props) {\n const props = __props;\n const rootContext = injectDropdownMenuRootContext();\n const { forwardRef, currentElement: triggerElement } = useForwardExpose();\n onMounted(() => {\n rootContext.triggerElement = triggerElement;\n });\n rootContext.triggerId ||= useId(undefined, \"reka-dropdown-menu-trigger\");\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(_sfc_main$1), { \"as-child\": \"\" }, {\n default: withCtx(() => [\n createVNode(unref(Primitive), {\n id: unref(rootContext).triggerId,\n ref: unref(forwardRef),\n type: _ctx.as === \"button\" ? \"button\" : undefined,\n \"as-child\": props.asChild,\n as: _ctx.as,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": unref(rootContext).open.value,\n \"aria-controls\": unref(rootContext).open.value ? unref(rootContext).contentId : undefined,\n \"data-disabled\": _ctx.disabled ? \"\" : undefined,\n disabled: _ctx.disabled,\n \"data-state\": unref(rootContext).open.value ? \"open\" : \"closed\",\n onClick: _cache[0] || (_cache[0] = async (event) => {\n if (!_ctx.disabled && event.button === 0 && event.ctrlKey === false) {\n unref(rootContext)?.onOpenToggle();\n await nextTick();\n if (unref(rootContext).open.value) event.preventDefault();\n }\n }),\n onKeydown: _cache[1] || (_cache[1] = withKeys(\n (event) => {\n if (_ctx.disabled) return;\n if ([\"Enter\", \" \"].includes(event.key)) unref(rootContext).onOpenToggle();\n if (event.key === \"ArrowDown\") unref(rootContext).onOpenChange(true);\n if ([\"Enter\", \" \", \"ArrowDown\"].includes(event.key))\n event.preventDefault();\n },\n [\"enter\", \"space\", \"arrow-down\"]\n ))\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"id\", \"type\", \"as-child\", \"as\", \"aria-expanded\", \"aria-controls\", \"data-disabled\", \"disabled\", \"data-state\"])\n ]),\n _: 3\n });\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=DropdownMenuTrigger.js.map\n","import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from 'vue';\nimport { _ as _sfc_main$1 } from '../Menu/MenuPortal.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"DropdownMenuPortal\",\n props: {\n to: {},\n disabled: { type: Boolean },\n defer: { type: Boolean },\n forceMount: { type: Boolean }\n },\n setup(__props) {\n const props = __props;\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(props)), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=DropdownMenuPortal.js.map\n","import { defineComponent, ref, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';\nimport { _ as _sfc_main$1 } from '../Menu/MenuContent.js';\nimport { u as useForwardPropsEmits } from '../shared/useForwardPropsEmits.js';\nimport { u as useForwardExpose } from '../shared/useForwardExpose.js';\nimport { u as useId } from '../shared/useId.js';\nimport { i as injectDropdownMenuRootContext } from './DropdownMenuRoot.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"DropdownMenuContent\",\n props: {\n forceMount: { type: Boolean },\n loop: { type: Boolean },\n side: {},\n sideOffset: {},\n align: {},\n alignOffset: {},\n avoidCollisions: { type: Boolean },\n collisionBoundary: {},\n collisionPadding: {},\n arrowPadding: {},\n sticky: {},\n hideWhenDetached: { type: Boolean },\n positionStrategy: {},\n updatePositionStrategy: {},\n disableUpdateOnLayoutShift: { type: Boolean },\n prioritizePosition: { type: Boolean },\n reference: {},\n asChild: { type: Boolean },\n as: {}\n },\n emits: [\"escapeKeyDown\", \"pointerDownOutside\", \"focusOutside\", \"interactOutside\", \"closeAutoFocus\"],\n setup(__props, { emit: __emit }) {\n const props = __props;\n const emits = __emit;\n const forwarded = useForwardPropsEmits(props, emits);\n useForwardExpose();\n const rootContext = injectDropdownMenuRootContext();\n const hasInteractedOutsideRef = ref(false);\n function handleCloseAutoFocus(event) {\n if (event.defaultPrevented)\n return;\n if (!hasInteractedOutsideRef.value) {\n setTimeout(() => {\n rootContext.triggerElement.value?.focus();\n }, 0);\n }\n hasInteractedOutsideRef.value = false;\n event.preventDefault();\n }\n rootContext.contentId ||= useId(undefined, \"reka-dropdown-menu-content\");\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(_sfc_main$1), mergeProps(unref(forwarded), {\n id: unref(rootContext).contentId,\n \"aria-labelledby\": unref(rootContext)?.triggerId,\n style: {\n \"--reka-dropdown-menu-content-transform-origin\": \"var(--reka-popper-transform-origin)\",\n \"--reka-dropdown-menu-content-available-width\": \"var(--reka-popper-available-width)\",\n \"--reka-dropdown-menu-content-available-height\": \"var(--reka-popper-available-height)\",\n \"--reka-dropdown-menu-trigger-width\": \"var(--reka-popper-anchor-width)\",\n \"--reka-dropdown-menu-trigger-height\": \"var(--reka-popper-anchor-height)\"\n },\n onCloseAutoFocus: handleCloseAutoFocus,\n onInteractOutside: _cache[0] || (_cache[0] = (event) => {\n if (event.defaultPrevented) return;\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (!unref(rootContext).modal.value || isRightClick) hasInteractedOutsideRef.value = true;\n if (unref(rootContext).triggerElement.value?.contains(event.target)) event.preventDefault();\n })\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"id\", \"aria-labelledby\"]);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=DropdownMenuContent.js.map\n","import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from 'vue';\nimport { _ as _sfc_main$1 } from '../Menu/MenuItem.js';\nimport { u as useEmitAsProps } from '../shared/useEmitAsProps.js';\nimport { u as useForwardExpose } from '../shared/useForwardExpose.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"DropdownMenuItem\",\n props: {\n disabled: { type: Boolean },\n textValue: {},\n asChild: { type: Boolean },\n as: {}\n },\n emits: [\"select\"],\n setup(__props, { emit: __emit }) {\n const props = __props;\n const emits = __emit;\n const emitsAsProps = useEmitAsProps(emits);\n useForwardExpose();\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps({ ...props, ...unref(emitsAsProps) })), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=DropdownMenuItem.js.map\n","\n\n\n","\n\n\n","\n\n\n","\n\n\n"],"names":["ignoredElement","useArrowNavigation","e","currentElement","parentElement","options","enableIgnoredElement","includes","nodeName","arrowKeyOptions","attributeName","itemsArray","loop","dir","preventScroll","focus","right","left","up","down","home","end","key","goingVertical","goingHorizontal","allCollectionItems","Array","from","querySelectorAll","length","preventDefault","item","findNextFocusableElement","goForward","at","elements","iterations","index","indexOf","newIndex","candidate","hasAttribute","getAttribute","useTypeahead","callback","search","refAutoReset","handleTypeaheadSearch","items","value","currentItem","getActiveElement","itemsWithTextValue","map","textValue","_a","_b","ref","textContent","trim","currentMatch","find","nextMatch","values","isRepeated","every","char","normalizedSearch","currentMatchIndex","wrappedValues","array","startIndex","Math","max","_","filter","v","toLowerCase","startsWith","getNextMatch","newItem","resetTypeahead","useIsUsingKeyboard","createSharedComposable","isUsingKeyboard","onMounted","useEventListener","capture","passive","injectMenuContext","provideMenuContext","createContext","injectMenuRootContext","provideMenuRootContext","_sfc_main","defineComponent","__name","props","open","type","Boolean","default","modal","emits","setup","__props","emit","__emit","propDir","toRefs","useDirection","useVModel","content","isUsingKeyboardRef","onOpenChange","onContentChange","element","onClose","_ctx","_cache","openBlock","createBlock","unref","_sfc_main$1","withCtx","renderSlot","$slots","reference","asChild","as","normalizeProps","guardReactiveProps","to","disabled","defer","forceMount","injectMenuContentContext","provideMenuContentContext","mergeDefaults","disableOutsidePointerEvents","disableOutsideScroll","trapFocus","side","sideOffset","align","alignOffset","avoidCollisions","collisionBoundary","collisionPadding","arrowPadding","sticky","hideWhenDetached","positionStrategy","updatePositionStrategy","disableUpdateOnLayoutShift","prioritizePosition","PopperContentPropsDefaultValue","menuContext","rootContext","useFocusGuards","useBodyScrollLock","searchRef","timerRef","pointerGraceTimerRef","pointerGraceIntentRef","pointerDirRef","lastPointerXRef","currentItemId","rovingFocusGroupRef","forwardRef","contentElement","useForwardExpose","isPointerMovingToSubmenu","event","isPointerInGraceArea","area","async","handleMountAutoFocus","defaultPrevented","handleKeyDown","isKeyDownInside","target","closest","currentTarget","isModifierKey","ctrlKey","altKey","metaKey","isCharacterKey","el","code","collectionItems","getItems","FIRST_LAST_KEYS","candidateNodes","LAST_KEYS","reverse","focusFirst","handleBlur","contains","call","window","clearTimeout","handlePointerMove","isMouseEvent","pointerXHasChanged","clientX","newDir","watch","onUnmounted","onItemEnter","onItemLeave","onTriggerLeave","onPointerGraceIntentChange","intent","trapped","onMountAutoFocus","onUnmountAutoFocus","$event","createVNode","_sfc_main$2","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","_sfc_main$3","ref_key","orientation","onEntryFocus","_sfc_main$4","role","getOpenState","onKeydown","onBlur","onPointermove","forwarded","useForwardPropsEmits","useHideOthers","mergeProps","withModifiers","Presence","present","$attrs","inheritAttrs","contentContext","CollectionItem","useCollection","isFocused","handlePointerLeave","nextTick","Primitive","tabindex","onPointerleave","onFocus","isPointerDownRef","handleSelect","menuItem","itemSelectEvent","CustomEvent","ITEM_SELECT","bubbles","cancelable","onClick","onPointerdown","onPointerup","click","isTypingAhead","SELECTION_KEYS","injectDropdownMenuRootContext","provideDropdownMenuRootContext","defaultOpen","defaultValue","triggerElement","onOpenToggle","triggerId","contentId","isRef","useId","id","button","withKeys","hasInteractedOutsideRef","handleCloseAutoFocus","setTimeout","style","onCloseAutoFocus","originalEvent","detail","ctrlLeftClick","isRightClick","emitsAsProps","useEmitAsProps","delegatedProps","computed","class","delegated","forwardedProps","useForwardProps"],"mappings":"qhCAAA,MAAMA,GAAiB,CAAC,QAAS,YACjC,SAASC,GAAmBC,EAAGC,EAAgBC,EAAeC,EAAU,CAAA,GACtE,IAAKF,GAAkBE,EAAQC,sBAAwBN,GAAeO,SAASJ,EAAeK,UACrF,OAAA,KACH,MAAAC,gBACJA,EAAkB,OAAAC,cAClBA,EAAgB,8BAAAC,WAChBA,EAAa,GAAEC,KACfA,GAAO,EAAAC,IACPA,EAAM,MAAAC,cACNA,GAAgB,EAAAC,MAChBA,GAAQ,GACNV,GACGW,EAAOC,EAAMC,EAAIC,EAAMC,EAAMC,GAAO,CAC/B,eAAVnB,EAAEoB,IACQ,cAAVpB,EAAEoB,IACQ,YAAVpB,EAAEoB,IACQ,cAAVpB,EAAEoB,IACQ,SAAVpB,EAAEoB,IACQ,QAAVpB,EAAEoB,KAEEC,EAAgBL,GAAMC,EACtBK,EAAkBR,GAASC,EACjC,IAAKG,IAASC,KAASE,IAAkBC,GAAuC,aAApBf,GAAkCe,GAAuC,eAApBf,GAAoCc,GAC5I,OAAA,KAEH,MAAAE,EAAqBrB,EAAgBsB,MAAMC,KAAKvB,EAAcwB,iBAAiBlB,IAAkBC,EACvG,IAAKc,EAAmBI,OACf,OAAA,KACLf,GACFZ,EAAE4B,iBACJ,IAAIC,EAAO,KACX,GAAIP,GAAmBD,EAAe,CAE7BQ,EAAAC,GAAyBP,EAAoBtB,EAAgB,CAClE8B,UAFgBV,EAAgBJ,EAAe,QAARN,EAAgBG,EAAQC,EAG/DL,QAEH,MAAUQ,EACFW,EAAAN,EAAmBS,GAAG,IAAM,KAC1Bb,IACFU,EAAAN,EAAmBS,IAAG,IAAO,MAI/B,OAFHnB,IACI,MAAAgB,GAAAA,EAAAhB,SACDgB,CACT,CACA,SAASC,GAAyBG,EAAUhC,EAAgBE,EAAS+B,EAAaD,EAASN,QACzF,GAAqB,KAAfO,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