{"ast":null,"code":"import _objectSpread from \"C:/Users/user/Desktop/08portreact/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";\nimport _objectWithoutProperties from \"C:/Users/user/Desktop/08portreact/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nimport _slicedToArray from \"C:/Users/user/Desktop/08portreact/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nvar _excluded = [\"__scopeContextMenu\", \"disabled\"],\n  _excluded2 = [\"__scopeContextMenu\"],\n  _excluded3 = [\"__scopeContextMenu\"],\n  _excluded4 = [\"__scopeContextMenu\"],\n  _excluded5 = [\"__scopeContextMenu\"],\n  _excluded6 = [\"__scopeContextMenu\"],\n  _excluded7 = [\"__scopeContextMenu\"],\n  _excluded8 = [\"__scopeContextMenu\"],\n  _excluded9 = [\"__scopeContextMenu\"],\n  _excluded10 = [\"__scopeContextMenu\"],\n  _excluded11 = [\"__scopeContextMenu\"],\n  _excluded12 = [\"__scopeContextMenu\"],\n  _excluded13 = [\"__scopeContextMenu\"],\n  _excluded14 = [\"__scopeContextMenu\"];\nimport $3TiJz$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport { useState as $3TiJz$useState, useCallback as $3TiJz$useCallback, createElement as $3TiJz$createElement, forwardRef as $3TiJz$forwardRef, useRef as $3TiJz$useRef, useEffect as $3TiJz$useEffect, Fragment as $3TiJz$Fragment } from \"react\";\nimport { composeEventHandlers as $3TiJz$composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createContextScope as $3TiJz$createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive as $3TiJz$Primitive } from \"@radix-ui/react-primitive\";\nimport { createMenuScope as $3TiJz$createMenuScope, Root as $3TiJz$Root, Anchor as $3TiJz$Anchor, Portal as $3TiJz$Portal, Content as $3TiJz$Content, Group as $3TiJz$Group, Label as $3TiJz$Label, Item as $3TiJz$Item, CheckboxItem as $3TiJz$CheckboxItem, RadioGroup as $3TiJz$RadioGroup, RadioItem as $3TiJz$RadioItem, ItemIndicator as $3TiJz$ItemIndicator, Separator as $3TiJz$Separator, Arrow as $3TiJz$Arrow, Sub as $3TiJz$Sub, SubTrigger as $3TiJz$SubTrigger, SubContent as $3TiJz$SubContent } from \"@radix-ui/react-menu\";\nimport { useCallbackRef as $3TiJz$useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState as $3TiJz$useControllableState } from \"@radix-ui/react-use-controllable-state\";\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenu\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$CONTEXT_MENU_NAME = 'ContextMenu';\nvar _$3TiJz$createContext = $3TiJz$createContextScope($1b0217ee4a91d156$var$CONTEXT_MENU_NAME, [$3TiJz$createMenuScope]),\n  _$3TiJz$createContext2 = _slicedToArray(_$3TiJz$createContext, 2),\n  $1b0217ee4a91d156$var$createContextMenuContext = _$3TiJz$createContext2[0],\n  $1b0217ee4a91d156$export$1059331f43ddcc82 = _$3TiJz$createContext2[1];\nvar $1b0217ee4a91d156$var$useMenuScope = $3TiJz$createMenuScope();\nvar _$1b0217ee4a91d156$va = $1b0217ee4a91d156$var$createContextMenuContext($1b0217ee4a91d156$var$CONTEXT_MENU_NAME),\n  _$1b0217ee4a91d156$va2 = _slicedToArray(_$1b0217ee4a91d156$va, 2),\n  $1b0217ee4a91d156$var$ContextMenuProvider = _$1b0217ee4a91d156$va2[0],\n  $1b0217ee4a91d156$var$useContextMenuContext = _$1b0217ee4a91d156$va2[1];\nvar $1b0217ee4a91d156$export$8dc6765e8be191c7 = function $1b0217ee4a91d156$export$8dc6765e8be191c7(props) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    children = props.children,\n    onOpenChange = props.onOpenChange,\n    dir = props.dir,\n    _props$modal = props.modal,\n    modal = _props$modal === void 0 ? true : _props$modal;\n  var _$3TiJz$useState = $3TiJz$useState(false),\n    _$3TiJz$useState2 = _slicedToArray(_$3TiJz$useState, 2),\n    open1 = _$3TiJz$useState2[0],\n    setOpen = _$3TiJz$useState2[1];\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  var handleOpenChangeProp = $3TiJz$useCallbackRef(onOpenChange);\n  var handleOpenChange = $3TiJz$useCallback(function (open) {\n    setOpen(open);\n    handleOpenChangeProp(open);\n  }, [handleOpenChangeProp]);\n  return /*#__PURE__*/$3TiJz$createElement($1b0217ee4a91d156$var$ContextMenuProvider, {\n    scope: __scopeContextMenu,\n    open: open1,\n    onOpenChange: handleOpenChange,\n    modal: modal\n  }, /*#__PURE__*/$3TiJz$createElement($3TiJz$Root, $3TiJz$babelruntimehelpersesmextends({}, menuScope, {\n    dir: dir,\n    open: open1,\n    onOpenChange: handleOpenChange,\n    modal: modal\n  }), children));\n};\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$8dc6765e8be191c7, {\n  displayName: $1b0217ee4a91d156$var$CONTEXT_MENU_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuTrigger\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$TRIGGER_NAME = 'ContextMenuTrigger';\nvar $1b0217ee4a91d156$export$be6fc7b1d5b0beb9 = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    _props$disabled = props.disabled,\n    disabled = _props$disabled === void 0 ? false : _props$disabled,\n    triggerProps = _objectWithoutProperties(props, _excluded);\n  var context = $1b0217ee4a91d156$var$useContextMenuContext($1b0217ee4a91d156$var$TRIGGER_NAME, __scopeContextMenu);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  var pointRef = $3TiJz$useRef({\n    x: 0,\n    y: 0\n  });\n  var virtualRef = $3TiJz$useRef({\n    getBoundingClientRect: function getBoundingClientRect() {\n      return DOMRect.fromRect(_objectSpread({\n        width: 0,\n        height: 0\n      }, pointRef.current));\n    }\n  });\n  var longPressTimerRef = $3TiJz$useRef(0);\n  var clearLongPress = $3TiJz$useCallback(function () {\n    return window.clearTimeout(longPressTimerRef.current);\n  }, []);\n  var handleOpen = function handleOpen(event) {\n    pointRef.current = {\n      x: event.clientX,\n      y: event.clientY\n    };\n    context.onOpenChange(true);\n  };\n  $3TiJz$useEffect(function () {\n    return clearLongPress;\n  }, [clearLongPress]);\n  $3TiJz$useEffect(function () {\n    return void (disabled && clearLongPress());\n  }, [disabled, clearLongPress]);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Fragment, null, /*#__PURE__*/$3TiJz$createElement($3TiJz$Anchor, $3TiJz$babelruntimehelpersesmextends({}, menuScope, {\n    virtualRef: virtualRef\n  })), /*#__PURE__*/$3TiJz$createElement($3TiJz$Primitive.span, $3TiJz$babelruntimehelpersesmextends({\n    \"data-state\": context.open ? 'open' : 'closed',\n    \"data-disabled\": disabled ? '' : undefined\n  }, triggerProps, {\n    ref: forwardedRef // prevent iOS context menu from appearing\n    ,\n\n    style: _objectSpread({\n      WebkitTouchCallout: 'none'\n    }, props.style) // if trigger is disabled, enable the native Context Menu\n    ,\n\n    onContextMenu: disabled ? props.onContextMenu : $3TiJz$composeEventHandlers(props.onContextMenu, function (event) {\n      // clearing the long press here because some platforms already support\n      // long press to trigger a `contextmenu` event\n      clearLongPress();\n      handleOpen(event);\n      event.preventDefault();\n    }),\n    onPointerDown: disabled ? props.onPointerDown : $3TiJz$composeEventHandlers(props.onPointerDown, $1b0217ee4a91d156$var$whenTouchOrPen(function (event) {\n      // clear the long press here in case there's multiple touch points\n      clearLongPress();\n      longPressTimerRef.current = window.setTimeout(function () {\n        return handleOpen(event);\n      }, 700);\n    })),\n    onPointerMove: disabled ? props.onPointerMove : $3TiJz$composeEventHandlers(props.onPointerMove, $1b0217ee4a91d156$var$whenTouchOrPen(clearLongPress)),\n    onPointerCancel: disabled ? props.onPointerCancel : $3TiJz$composeEventHandlers(props.onPointerCancel, $1b0217ee4a91d156$var$whenTouchOrPen(clearLongPress)),\n    onPointerUp: disabled ? props.onPointerUp : $3TiJz$composeEventHandlers(props.onPointerUp, $1b0217ee4a91d156$var$whenTouchOrPen(clearLongPress))\n  })));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$be6fc7b1d5b0beb9, {\n  displayName: $1b0217ee4a91d156$var$TRIGGER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuPortal\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$PORTAL_NAME = 'ContextMenuPortal';\nvar $1b0217ee4a91d156$export$14afd0be83e45060 = function $1b0217ee4a91d156$export$14afd0be83e45060(props) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    portalProps = _objectWithoutProperties(props, _excluded2);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Portal, $3TiJz$babelruntimehelpersesmextends({}, menuScope, portalProps));\n};\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$14afd0be83e45060, {\n  displayName: $1b0217ee4a91d156$var$PORTAL_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuContent\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$CONTENT_NAME = 'ContextMenuContent';\nvar $1b0217ee4a91d156$export$572205900c9369e = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    contentProps = _objectWithoutProperties(props, _excluded3);\n  var context = $1b0217ee4a91d156$var$useContextMenuContext($1b0217ee4a91d156$var$CONTENT_NAME, __scopeContextMenu);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  var hasInteractedOutsideRef = $3TiJz$useRef(false);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Content, $3TiJz$babelruntimehelpersesmextends({}, menuScope, contentProps, {\n    ref: forwardedRef,\n    side: \"right\",\n    sideOffset: 2,\n    align: \"start\",\n    onCloseAutoFocus: function onCloseAutoFocus(event) {\n      var _props$onCloseAutoFoc;\n      (_props$onCloseAutoFoc = props.onCloseAutoFocus) === null || _props$onCloseAutoFoc === void 0 || _props$onCloseAutoFoc.call(props, event);\n      if (!event.defaultPrevented && hasInteractedOutsideRef.current) event.preventDefault();\n      hasInteractedOutsideRef.current = false;\n    },\n    onInteractOutside: function onInteractOutside(event) {\n      var _props$onInteractOuts;\n      (_props$onInteractOuts = props.onInteractOutside) === null || _props$onInteractOuts === void 0 || _props$onInteractOuts.call(props, event);\n      if (!event.defaultPrevented && !context.modal) hasInteractedOutsideRef.current = true;\n    },\n    style: _objectSpread(_objectSpread({}, props.style), {}, {\n      '--radix-context-menu-content-transform-origin': 'var(--radix-popper-transform-origin)',\n      '--radix-context-menu-content-available-width': 'var(--radix-popper-available-width)',\n      '--radix-context-menu-content-available-height': 'var(--radix-popper-available-height)',\n      '--radix-context-menu-trigger-width': 'var(--radix-popper-anchor-width)',\n      '--radix-context-menu-trigger-height': 'var(--radix-popper-anchor-height)'\n    })\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$572205900c9369e, {\n  displayName: $1b0217ee4a91d156$var$CONTENT_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuGroup\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$GROUP_NAME = 'ContextMenuGroup';\nvar $1b0217ee4a91d156$export$9860523b0fcdd664 = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    groupProps = _objectWithoutProperties(props, _excluded4);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Group, $3TiJz$babelruntimehelpersesmextends({}, menuScope, groupProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$9860523b0fcdd664, {\n  displayName: $1b0217ee4a91d156$var$GROUP_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuLabel\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$LABEL_NAME = 'ContextMenuLabel';\nvar $1b0217ee4a91d156$export$d4b9d3b609a10742 = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    labelProps = _objectWithoutProperties(props, _excluded5);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Label, $3TiJz$babelruntimehelpersesmextends({}, menuScope, labelProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$d4b9d3b609a10742, {\n  displayName: $1b0217ee4a91d156$var$LABEL_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuItem\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$ITEM_NAME = 'ContextMenuItem';\nvar $1b0217ee4a91d156$export$16a26dc176a49100 = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    itemProps = _objectWithoutProperties(props, _excluded6);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Item, $3TiJz$babelruntimehelpersesmextends({}, menuScope, itemProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$16a26dc176a49100, {\n  displayName: $1b0217ee4a91d156$var$ITEM_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuCheckboxItem\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$CHECKBOX_ITEM_NAME = 'ContextMenuCheckboxItem';\nvar $1b0217ee4a91d156$export$b6adbe51d5d8b7ec = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    checkboxItemProps = _objectWithoutProperties(props, _excluded7);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$CheckboxItem, $3TiJz$babelruntimehelpersesmextends({}, menuScope, checkboxItemProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$b6adbe51d5d8b7ec, {\n  displayName: $1b0217ee4a91d156$var$CHECKBOX_ITEM_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuRadioGroup\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$RADIO_GROUP_NAME = 'ContextMenuRadioGroup';\nvar $1b0217ee4a91d156$export$db5c89af5ed9aa07 = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    radioGroupProps = _objectWithoutProperties(props, _excluded8);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$RadioGroup, $3TiJz$babelruntimehelpersesmextends({}, menuScope, radioGroupProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$db5c89af5ed9aa07, {\n  displayName: $1b0217ee4a91d156$var$RADIO_GROUP_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuRadioItem\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$RADIO_ITEM_NAME = 'ContextMenuRadioItem';\nvar $1b0217ee4a91d156$export$8a727d09a7d9bfc2 = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    radioItemProps = _objectWithoutProperties(props, _excluded9);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$RadioItem, $3TiJz$babelruntimehelpersesmextends({}, menuScope, radioItemProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$8a727d09a7d9bfc2, {\n  displayName: $1b0217ee4a91d156$var$RADIO_ITEM_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuItemIndicator\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$INDICATOR_NAME = 'ContextMenuItemIndicator';\nvar $1b0217ee4a91d156$export$9ed8194dee42d94b = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    itemIndicatorProps = _objectWithoutProperties(props, _excluded10);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$ItemIndicator, $3TiJz$babelruntimehelpersesmextends({}, menuScope, itemIndicatorProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$9ed8194dee42d94b, {\n  displayName: $1b0217ee4a91d156$var$INDICATOR_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSeparator\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$SEPARATOR_NAME = 'ContextMenuSeparator';\nvar $1b0217ee4a91d156$export$8d6b009fadfe1207 = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    separatorProps = _objectWithoutProperties(props, _excluded11);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Separator, $3TiJz$babelruntimehelpersesmextends({}, menuScope, separatorProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$8d6b009fadfe1207, {\n  displayName: $1b0217ee4a91d156$var$SEPARATOR_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuArrow\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$ARROW_NAME = 'ContextMenuArrow';\nvar $1b0217ee4a91d156$export$f47d0a58228a61e2 = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    arrowProps = _objectWithoutProperties(props, _excluded12);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Arrow, $3TiJz$babelruntimehelpersesmextends({}, menuScope, arrowProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$f47d0a58228a61e2, {\n  displayName: $1b0217ee4a91d156$var$ARROW_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSub\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$SUB_NAME = 'ContextMenuSub';\nvar $1b0217ee4a91d156$export$5bc21d1c00c4b201 = function $1b0217ee4a91d156$export$5bc21d1c00c4b201(props) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    children = props.children,\n    onOpenChange = props.onOpenChange,\n    openProp = props.open,\n    defaultOpen = props.defaultOpen;\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  var _$3TiJz$useControllab = $3TiJz$useControllableState({\n      prop: openProp,\n      defaultProp: defaultOpen,\n      onChange: onOpenChange\n    }),\n    _$3TiJz$useControllab2 = _slicedToArray(_$3TiJz$useControllab, 2),\n    open = _$3TiJz$useControllab2[0],\n    setOpen = _$3TiJz$useControllab2[1];\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Sub, $3TiJz$babelruntimehelpersesmextends({}, menuScope, {\n    open: open,\n    onOpenChange: setOpen\n  }), children);\n};\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$5bc21d1c00c4b201, {\n  displayName: $1b0217ee4a91d156$var$SUB_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSubTrigger\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$SUB_TRIGGER_NAME = 'ContextMenuSubTrigger';\nvar $1b0217ee4a91d156$export$30b2b5c64556d316 = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    triggerItemProps = _objectWithoutProperties(props, _excluded13);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$SubTrigger, $3TiJz$babelruntimehelpersesmextends({}, menuScope, triggerItemProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$30b2b5c64556d316, {\n  displayName: $1b0217ee4a91d156$var$SUB_TRIGGER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSubContent\n * -----------------------------------------------------------------------------------------------*/\nvar $1b0217ee4a91d156$var$SUB_CONTENT_NAME = 'ContextMenuSubContent';\nvar $1b0217ee4a91d156$export$2c967063bd2dc512 = /*#__PURE__*/$3TiJz$forwardRef(function (props, forwardedRef) {\n  var __scopeContextMenu = props.__scopeContextMenu,\n    subContentProps = _objectWithoutProperties(props, _excluded14);\n  var menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$SubContent, $3TiJz$babelruntimehelpersesmextends({}, menuScope, subContentProps, {\n    ref: forwardedRef,\n    style: _objectSpread(_objectSpread({}, props.style), {}, {\n      '--radix-context-menu-content-transform-origin': 'var(--radix-popper-transform-origin)',\n      '--radix-context-menu-content-available-width': 'var(--radix-popper-available-width)',\n      '--radix-context-menu-content-available-height': 'var(--radix-popper-available-height)',\n      '--radix-context-menu-trigger-width': 'var(--radix-popper-anchor-width)',\n      '--radix-context-menu-trigger-height': 'var(--radix-popper-anchor-height)'\n    })\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$2c967063bd2dc512, {\n  displayName: $1b0217ee4a91d156$var$SUB_CONTENT_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/\nfunction $1b0217ee4a91d156$var$whenTouchOrPen(handler) {\n  return function (event) {\n    return event.pointerType !== 'mouse' ? handler(event) : undefined;\n  };\n}\nvar $1b0217ee4a91d156$export$be92b6f5f03c0fe9 = $1b0217ee4a91d156$export$8dc6765e8be191c7;\nvar $1b0217ee4a91d156$export$41fb9f06171c75f4 = $1b0217ee4a91d156$export$be6fc7b1d5b0beb9;\nvar $1b0217ee4a91d156$export$602eac185826482c = $1b0217ee4a91d156$export$14afd0be83e45060;\nvar $1b0217ee4a91d156$export$7c6e2c02157bb7d2 = $1b0217ee4a91d156$export$572205900c9369e;\nvar $1b0217ee4a91d156$export$eb2fcfdbd7ba97d4 = $1b0217ee4a91d156$export$9860523b0fcdd664;\nvar $1b0217ee4a91d156$export$b04be29aa201d4f5 = $1b0217ee4a91d156$export$d4b9d3b609a10742;\nvar $1b0217ee4a91d156$export$6d08773d2e66f8f2 = $1b0217ee4a91d156$export$16a26dc176a49100;\nvar $1b0217ee4a91d156$export$16ce288f89fa631c = $1b0217ee4a91d156$export$b6adbe51d5d8b7ec;\nvar $1b0217ee4a91d156$export$a98f0dcb43a68a25 = $1b0217ee4a91d156$export$db5c89af5ed9aa07;\nvar $1b0217ee4a91d156$export$371ab307eab489c0 = $1b0217ee4a91d156$export$8a727d09a7d9bfc2;\nvar $1b0217ee4a91d156$export$c3468e2714d175fa = $1b0217ee4a91d156$export$9ed8194dee42d94b;\nvar $1b0217ee4a91d156$export$1ff3c3f08ae963c0 = $1b0217ee4a91d156$export$8d6b009fadfe1207;\nvar $1b0217ee4a91d156$export$21b07c8f274aebd5 = $1b0217ee4a91d156$export$f47d0a58228a61e2;\nvar $1b0217ee4a91d156$export$d7a01e11500dfb6f = $1b0217ee4a91d156$export$5bc21d1c00c4b201;\nvar $1b0217ee4a91d156$export$2ea8a7a591ac5eac = $1b0217ee4a91d156$export$30b2b5c64556d316;\nvar $1b0217ee4a91d156$export$6d4de93b380beddf = $1b0217ee4a91d156$export$2c967063bd2dc512;\nexport { $1b0217ee4a91d156$export$1059331f43ddcc82 as createContextMenuScope, $1b0217ee4a91d156$export$8dc6765e8be191c7 as ContextMenu, $1b0217ee4a91d156$export$be6fc7b1d5b0beb9 as ContextMenuTrigger, $1b0217ee4a91d156$export$14afd0be83e45060 as ContextMenuPortal, $1b0217ee4a91d156$export$572205900c9369e as ContextMenuContent, $1b0217ee4a91d156$export$9860523b0fcdd664 as ContextMenuGroup, $1b0217ee4a91d156$export$d4b9d3b609a10742 as ContextMenuLabel, $1b0217ee4a91d156$export$16a26dc176a49100 as ContextMenuItem, $1b0217ee4a91d156$export$b6adbe51d5d8b7ec as ContextMenuCheckboxItem, $1b0217ee4a91d156$export$db5c89af5ed9aa07 as ContextMenuRadioGroup, $1b0217ee4a91d156$export$8a727d09a7d9bfc2 as ContextMenuRadioItem, $1b0217ee4a91d156$export$9ed8194dee42d94b as ContextMenuItemIndicator, $1b0217ee4a91d156$export$8d6b009fadfe1207 as ContextMenuSeparator, $1b0217ee4a91d156$export$f47d0a58228a61e2 as ContextMenuArrow, $1b0217ee4a91d156$export$5bc21d1c00c4b201 as ContextMenuSub, $1b0217ee4a91d156$export$30b2b5c64556d316 as ContextMenuSubTrigger, $1b0217ee4a91d156$export$2c967063bd2dc512 as ContextMenuSubContent, $1b0217ee4a91d156$export$be92b6f5f03c0fe9 as Root, $1b0217ee4a91d156$export$41fb9f06171c75f4 as Trigger, $1b0217ee4a91d156$export$602eac185826482c as Portal, $1b0217ee4a91d156$export$7c6e2c02157bb7d2 as Content, $1b0217ee4a91d156$export$eb2fcfdbd7ba97d4 as Group, $1b0217ee4a91d156$export$b04be29aa201d4f5 as Label, $1b0217ee4a91d156$export$6d08773d2e66f8f2 as Item, $1b0217ee4a91d156$export$16ce288f89fa631c as CheckboxItem, $1b0217ee4a91d156$export$a98f0dcb43a68a25 as RadioGroup, $1b0217ee4a91d156$export$371ab307eab489c0 as RadioItem, $1b0217ee4a91d156$export$c3468e2714d175fa as ItemIndicator, $1b0217ee4a91d156$export$1ff3c3f08ae963c0 as Separator, $1b0217ee4a91d156$export$21b07c8f274aebd5 as Arrow, $1b0217ee4a91d156$export$d7a01e11500dfb6f as Sub, $1b0217ee4a91d156$export$2ea8a7a591ac5eac as SubTrigger, $1b0217ee4a91d156$export$6d4de93b380beddf as SubContent };","map":{"version":3,"names":["$1b0217ee4a91d156$var$CONTEXT_MENU_NAME","_$3TiJz$createContext","$3TiJz$createContextScope","$3TiJz$createMenuScope","_$3TiJz$createContext2","_slicedToArray","$1b0217ee4a91d156$var$createContextMenuContext","$1b0217ee4a91d156$export$1059331f43ddcc82","$1b0217ee4a91d156$var$useMenuScope","_$1b0217ee4a91d156$va","_$1b0217ee4a91d156$va2","$1b0217ee4a91d156$var$ContextMenuProvider","$1b0217ee4a91d156$var$useContextMenuContext","$1b0217ee4a91d156$export$8dc6765e8be191c7","ContextMenu","props","__scopeContextMenu","children","onOpenChange","dir","modal","_props$modal","_$3TiJz$useState","$3TiJz$useState","_$3TiJz$useState2","open1","setOpen","menuScope","handleOpenChangeProp","$3TiJz$useCallbackRef","handleOpenChange","$3TiJz$useCallback","open","$3TiJz$createElement","scope","$3TiJz$Root","$3TiJz$babelruntimehelpersesmextends","Object","assign","displayName","$1b0217ee4a91d156$var$TRIGGER_NAME","$1b0217ee4a91d156$export$be6fc7b1d5b0beb9","$3TiJz$forwardRef","forwardedRef","disabled","_props$disabled","triggerProps","_objectWithoutProperties","_excluded","context","pointRef","$3TiJz$useRef","x","y","virtualRef","getBoundingClientRect","DOMRect","fromRect","_objectSpread","width","height","current","longPressTimerRef","clearLongPress","window","clearTimeout","handleOpen","event","clientX","clientY","$3TiJz$useEffect","$3TiJz$Fragment","$3TiJz$Anchor","$3TiJz$Primitive","span","undefined","ref","style","WebkitTouchCallout","onContextMenu","$3TiJz$composeEventHandlers","preventDefault","onPointerDown","$1b0217ee4a91d156$var$whenTouchOrPen","setTimeout","onPointerMove","onPointerCancel","onPointerUp","$1b0217ee4a91d156$var$PORTAL_NAME","$1b0217ee4a91d156$export$14afd0be83e45060","ContextMenuPortal","portalProps","_excluded2","$3TiJz$Portal","$1b0217ee4a91d156$var$CONTENT_NAME","$1b0217ee4a91d156$export$572205900c9369e","contentProps","_excluded3","hasInteractedOutsideRef","$3TiJz$Content","side","sideOffset","align","onCloseAutoFocus","_props$onCloseAutoFoc","call","defaultPrevented","onInteractOutside","_props$onInteractOuts","$1b0217ee4a91d156$var$GROUP_NAME","$1b0217ee4a91d156$export$9860523b0fcdd664","groupProps","_excluded4","$3TiJz$Group","$1b0217ee4a91d156$var$LABEL_NAME","$1b0217ee4a91d156$export$d4b9d3b609a10742","labelProps","_excluded5","$3TiJz$Label","$1b0217ee4a91d156$var$ITEM_NAME","$1b0217ee4a91d156$export$16a26dc176a49100","itemProps","_excluded6","$3TiJz$Item","$1b0217ee4a91d156$var$CHECKBOX_ITEM_NAME","$1b0217ee4a91d156$export$b6adbe51d5d8b7ec","checkboxItemProps","_excluded7","$3TiJz$CheckboxItem","$1b0217ee4a91d156$var$RADIO_GROUP_NAME","$1b0217ee4a91d156$export$db5c89af5ed9aa07","radioGroupProps","_excluded8","$3TiJz$RadioGroup","$1b0217ee4a91d156$var$RADIO_ITEM_NAME","$1b0217ee4a91d156$export$8a727d09a7d9bfc2","radioItemProps","_excluded9","$3TiJz$RadioItem","$1b0217ee4a91d156$var$INDICATOR_NAME","$1b0217ee4a91d156$export$9ed8194dee42d94b","itemIndicatorProps","_excluded10","$3TiJz$ItemIndicator","$1b0217ee4a91d156$var$SEPARATOR_NAME","$1b0217ee4a91d156$export$8d6b009fadfe1207","separatorProps","_excluded11","$3TiJz$Separator","$1b0217ee4a91d156$var$ARROW_NAME","$1b0217ee4a91d156$export$f47d0a58228a61e2","arrowProps","_excluded12","$3TiJz$Arrow","$1b0217ee4a91d156$var$SUB_NAME","$1b0217ee4a91d156$export$5bc21d1c00c4b201","ContextMenuSub","openProp","defaultOpen","_$3TiJz$useControllab","$3TiJz$useControllableState","prop","defaultProp","onChange","_$3TiJz$useControllab2","$3TiJz$Sub","$1b0217ee4a91d156$var$SUB_TRIGGER_NAME","$1b0217ee4a91d156$export$30b2b5c64556d316","triggerItemProps","_excluded13","$3TiJz$SubTrigger","$1b0217ee4a91d156$var$SUB_CONTENT_NAME","$1b0217ee4a91d156$export$2c967063bd2dc512","subContentProps","_excluded14","$3TiJz$SubContent","whenTouchOrPen","handler","pointerType","$1b0217ee4a91d156$export$be92b6f5f03c0fe9","$1b0217ee4a91d156$export$41fb9f06171c75f4","$1b0217ee4a91d156$export$602eac185826482c","$1b0217ee4a91d156$export$7c6e2c02157bb7d2","$1b0217ee4a91d156$export$eb2fcfdbd7ba97d4","$1b0217ee4a91d156$export$b04be29aa201d4f5","$1b0217ee4a91d156$export$6d08773d2e66f8f2","$1b0217ee4a91d156$export$16ce288f89fa631c","$1b0217ee4a91d156$export$a98f0dcb43a68a25","$1b0217ee4a91d156$export$371ab307eab489c0","$1b0217ee4a91d156$export$c3468e2714d175fa","$1b0217ee4a91d156$export$1ff3c3f08ae963c0","$1b0217ee4a91d156$export$21b07c8f274aebd5","$1b0217ee4a91d156$export$d7a01e11500dfb6f","$1b0217ee4a91d156$export$2ea8a7a591ac5eac","$1b0217ee4a91d156$export$6d4de93b380beddf"],"sources":["C:\\Users\\user\\Desktop\\08portreact\\node_modules\\@radix-ui\\react-context-menu\\dist\\packages\\react\\context-menu\\src\\index.ts","C:\\Users\\user\\Desktop\\08portreact\\node_modules\\@radix-ui\\react-context-menu\\dist\\packages\\react\\context-menu\\src\\ContextMenu.tsx"],"sourcesContent":["export {\n  createContextMenuScope,\n  //\n  ContextMenu,\n  ContextMenuTrigger,\n  ContextMenuPortal,\n  ContextMenuContent,\n  ContextMenuGroup,\n  ContextMenuLabel,\n  ContextMenuItem,\n  ContextMenuCheckboxItem,\n  ContextMenuRadioGroup,\n  ContextMenuRadioItem,\n  ContextMenuItemIndicator,\n  ContextMenuSeparator,\n  ContextMenuArrow,\n  ContextMenuSub,\n  ContextMenuSubTrigger,\n  ContextMenuSubContent,\n  //\n  Root,\n  Trigger,\n  Portal,\n  Content,\n  Group,\n  Label,\n  Item,\n  CheckboxItem,\n  RadioGroup,\n  RadioItem,\n  ItemIndicator,\n  Separator,\n  Arrow,\n  Sub,\n  SubTrigger,\n  SubContent,\n} from './ContextMenu';\nexport type {\n  ContextMenuProps,\n  ContextMenuTriggerProps,\n  ContextMenuPortalProps,\n  ContextMenuContentProps,\n  ContextMenuGroupProps,\n  ContextMenuLabelProps,\n  ContextMenuItemProps,\n  ContextMenuCheckboxItemProps,\n  ContextMenuRadioGroupProps,\n  ContextMenuRadioItemProps,\n  ContextMenuItemIndicatorProps,\n  ContextMenuSeparatorProps,\n  ContextMenuArrowProps,\n  ContextMenuSubProps,\n  ContextMenuSubTriggerProps,\n  ContextMenuSubContentProps,\n} from './ContextMenu';\n","import * as React from 'react';\nimport { composeEventHandlers } from '@radix-ui/primitive';\nimport { createContextScope } from '@radix-ui/react-context';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport * as MenuPrimitive from '@radix-ui/react-menu';\nimport { createMenuScope } from '@radix-ui/react-menu';\nimport { useCallbackRef } from '@radix-ui/react-use-callback-ref';\nimport { useControllableState } from '@radix-ui/react-use-controllable-state';\n\nimport type * as Radix from '@radix-ui/react-primitive';\nimport type { Scope } from '@radix-ui/react-context';\n\ntype Direction = 'ltr' | 'rtl';\ntype Point = { x: number; y: number };\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenu\n * -----------------------------------------------------------------------------------------------*/\n\nconst CONTEXT_MENU_NAME = 'ContextMenu';\n\ntype ScopedProps<P> = P & { __scopeContextMenu?: Scope };\nconst [createContextMenuContext, createContextMenuScope] = createContextScope(CONTEXT_MENU_NAME, [\n  createMenuScope,\n]);\nconst useMenuScope = createMenuScope();\n\ntype ContextMenuContextValue = {\n  open: boolean;\n  onOpenChange(open: boolean): void;\n  modal: boolean;\n};\n\nconst [ContextMenuProvider, useContextMenuContext] =\n  createContextMenuContext<ContextMenuContextValue>(CONTEXT_MENU_NAME);\n\ninterface ContextMenuProps {\n  children?: React.ReactNode;\n  onOpenChange?(open: boolean): void;\n  dir?: Direction;\n  modal?: boolean;\n}\n\nconst ContextMenu: React.FC<ContextMenuProps> = (props: ScopedProps<ContextMenuProps>) => {\n  const { __scopeContextMenu, children, onOpenChange, dir, modal = true } = props;\n  const [open, setOpen] = React.useState(false);\n  const menuScope = useMenuScope(__scopeContextMenu);\n  const handleOpenChangeProp = useCallbackRef(onOpenChange);\n\n  const handleOpenChange = React.useCallback(\n    (open: boolean) => {\n      setOpen(open);\n      handleOpenChangeProp(open);\n    },\n    [handleOpenChangeProp]\n  );\n\n  return (\n    <ContextMenuProvider\n      scope={__scopeContextMenu}\n      open={open}\n      onOpenChange={handleOpenChange}\n      modal={modal}\n    >\n      <MenuPrimitive.Root\n        {...menuScope}\n        dir={dir}\n        open={open}\n        onOpenChange={handleOpenChange}\n        modal={modal}\n      >\n        {children}\n      </MenuPrimitive.Root>\n    </ContextMenuProvider>\n  );\n};\n\nContextMenu.displayName = CONTEXT_MENU_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuTrigger\n * -----------------------------------------------------------------------------------------------*/\n\nconst TRIGGER_NAME = 'ContextMenuTrigger';\n\ntype ContextMenuTriggerElement = React.ElementRef<typeof Primitive.span>;\ntype PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;\ninterface ContextMenuTriggerProps extends PrimitiveSpanProps {\n  disabled?: boolean;\n}\n\nconst ContextMenuTrigger = React.forwardRef<ContextMenuTriggerElement, ContextMenuTriggerProps>(\n  (props: ScopedProps<ContextMenuTriggerProps>, forwardedRef) => {\n    const { __scopeContextMenu, disabled = false, ...triggerProps } = props;\n    const context = useContextMenuContext(TRIGGER_NAME, __scopeContextMenu);\n    const menuScope = useMenuScope(__scopeContextMenu);\n    const pointRef = React.useRef<Point>({ x: 0, y: 0 });\n    const virtualRef = React.useRef({\n      getBoundingClientRect: () => DOMRect.fromRect({ width: 0, height: 0, ...pointRef.current }),\n    });\n    const longPressTimerRef = React.useRef(0);\n    const clearLongPress = React.useCallback(\n      () => window.clearTimeout(longPressTimerRef.current),\n      []\n    );\n    const handleOpen = (event: React.MouseEvent | React.PointerEvent) => {\n      pointRef.current = { x: event.clientX, y: event.clientY };\n      context.onOpenChange(true);\n    };\n\n    React.useEffect(() => clearLongPress, [clearLongPress]);\n    React.useEffect(() => void (disabled && clearLongPress()), [disabled, clearLongPress]);\n\n    return (\n      <>\n        <MenuPrimitive.Anchor {...menuScope} virtualRef={virtualRef} />\n        <Primitive.span\n          data-state={context.open ? 'open' : 'closed'}\n          data-disabled={disabled ? '' : undefined}\n          {...triggerProps}\n          ref={forwardedRef}\n          // prevent iOS context menu from appearing\n          style={{ WebkitTouchCallout: 'none', ...props.style }}\n          // if trigger is disabled, enable the native Context Menu\n          onContextMenu={\n            disabled\n              ? props.onContextMenu\n              : composeEventHandlers(props.onContextMenu, (event) => {\n                  // clearing the long press here because some platforms already support\n                  // long press to trigger a `contextmenu` event\n                  clearLongPress();\n                  handleOpen(event);\n                  event.preventDefault();\n                })\n          }\n          onPointerDown={\n            disabled\n              ? props.onPointerDown\n              : composeEventHandlers(\n                  props.onPointerDown,\n                  whenTouchOrPen((event) => {\n                    // clear the long press here in case there's multiple touch points\n                    clearLongPress();\n                    longPressTimerRef.current = window.setTimeout(() => handleOpen(event), 700);\n                  })\n                )\n          }\n          onPointerMove={\n            disabled\n              ? props.onPointerMove\n              : composeEventHandlers(props.onPointerMove, whenTouchOrPen(clearLongPress))\n          }\n          onPointerCancel={\n            disabled\n              ? props.onPointerCancel\n              : composeEventHandlers(props.onPointerCancel, whenTouchOrPen(clearLongPress))\n          }\n          onPointerUp={\n            disabled\n              ? props.onPointerUp\n              : composeEventHandlers(props.onPointerUp, whenTouchOrPen(clearLongPress))\n          }\n        />\n      </>\n    );\n  }\n);\n\nContextMenuTrigger.displayName = TRIGGER_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuPortal\n * -----------------------------------------------------------------------------------------------*/\n\nconst PORTAL_NAME = 'ContextMenuPortal';\n\ntype MenuPortalProps = React.ComponentPropsWithoutRef<typeof MenuPrimitive.Portal>;\ninterface ContextMenuPortalProps extends MenuPortalProps {}\n\nconst ContextMenuPortal: React.FC<ContextMenuPortalProps> = (\n  props: ScopedProps<ContextMenuPortalProps>\n) => {\n  const { __scopeContextMenu, ...portalProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.Portal {...menuScope} {...portalProps} />;\n};\n\nContextMenuPortal.displayName = PORTAL_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuContent\n * -----------------------------------------------------------------------------------------------*/\n\nconst CONTENT_NAME = 'ContextMenuContent';\n\ntype ContextMenuContentElement = React.ElementRef<typeof MenuPrimitive.Content>;\ntype MenuContentProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Content>;\ninterface ContextMenuContentProps\n  extends Omit<MenuContentProps, 'onEntryFocus' | 'side' | 'sideOffset' | 'align'> {}\n\nconst ContextMenuContent = React.forwardRef<ContextMenuContentElement, ContextMenuContentProps>(\n  (props: ScopedProps<ContextMenuContentProps>, forwardedRef) => {\n    const { __scopeContextMenu, ...contentProps } = props;\n    const context = useContextMenuContext(CONTENT_NAME, __scopeContextMenu);\n    const menuScope = useMenuScope(__scopeContextMenu);\n    const hasInteractedOutsideRef = React.useRef(false);\n\n    return (\n      <MenuPrimitive.Content\n        {...menuScope}\n        {...contentProps}\n        ref={forwardedRef}\n        side=\"right\"\n        sideOffset={2}\n        align=\"start\"\n        onCloseAutoFocus={(event) => {\n          props.onCloseAutoFocus?.(event);\n\n          if (!event.defaultPrevented && hasInteractedOutsideRef.current) {\n            event.preventDefault();\n          }\n\n          hasInteractedOutsideRef.current = false;\n        }}\n        onInteractOutside={(event) => {\n          props.onInteractOutside?.(event);\n\n          if (!event.defaultPrevented && !context.modal) hasInteractedOutsideRef.current = true;\n        }}\n        style={{\n          ...props.style,\n          // re-namespace exposed content custom properties\n          ...{\n            '--radix-context-menu-content-transform-origin': 'var(--radix-popper-transform-origin)',\n            '--radix-context-menu-content-available-width': 'var(--radix-popper-available-width)',\n            '--radix-context-menu-content-available-height': 'var(--radix-popper-available-height)',\n            '--radix-context-menu-trigger-width': 'var(--radix-popper-anchor-width)',\n            '--radix-context-menu-trigger-height': 'var(--radix-popper-anchor-height)',\n          },\n        }}\n      />\n    );\n  }\n);\n\nContextMenuContent.displayName = CONTENT_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuGroup\n * -----------------------------------------------------------------------------------------------*/\n\nconst GROUP_NAME = 'ContextMenuGroup';\n\ntype ContextMenuGroupElement = React.ElementRef<typeof MenuPrimitive.Group>;\ntype MenuGroupProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Group>;\ninterface ContextMenuGroupProps extends MenuGroupProps {}\n\nconst ContextMenuGroup = React.forwardRef<ContextMenuGroupElement, ContextMenuGroupProps>(\n  (props: ScopedProps<ContextMenuGroupProps>, forwardedRef) => {\n    const { __scopeContextMenu, ...groupProps } = props;\n    const menuScope = useMenuScope(__scopeContextMenu);\n    return <MenuPrimitive.Group {...menuScope} {...groupProps} ref={forwardedRef} />;\n  }\n);\n\nContextMenuGroup.displayName = GROUP_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuLabel\n * -----------------------------------------------------------------------------------------------*/\n\nconst LABEL_NAME = 'ContextMenuLabel';\n\ntype ContextMenuLabelElement = React.ElementRef<typeof MenuPrimitive.Label>;\ntype MenuLabelProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Label>;\ninterface ContextMenuLabelProps extends MenuLabelProps {}\n\nconst ContextMenuLabel = React.forwardRef<ContextMenuLabelElement, ContextMenuLabelProps>(\n  (props: ScopedProps<ContextMenuLabelProps>, forwardedRef) => {\n    const { __scopeContextMenu, ...labelProps } = props;\n    const menuScope = useMenuScope(__scopeContextMenu);\n    return <MenuPrimitive.Label {...menuScope} {...labelProps} ref={forwardedRef} />;\n  }\n);\n\nContextMenuLabel.displayName = LABEL_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuItem\n * -----------------------------------------------------------------------------------------------*/\n\nconst ITEM_NAME = 'ContextMenuItem';\n\ntype ContextMenuItemElement = React.ElementRef<typeof MenuPrimitive.Item>;\ntype MenuItemProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Item>;\ninterface ContextMenuItemProps extends MenuItemProps {}\n\nconst ContextMenuItem = React.forwardRef<ContextMenuItemElement, ContextMenuItemProps>(\n  (props: ScopedProps<ContextMenuItemProps>, forwardedRef) => {\n    const { __scopeContextMenu, ...itemProps } = props;\n    const menuScope = useMenuScope(__scopeContextMenu);\n    return <MenuPrimitive.Item {...menuScope} {...itemProps} ref={forwardedRef} />;\n  }\n);\n\nContextMenuItem.displayName = ITEM_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuCheckboxItem\n * -----------------------------------------------------------------------------------------------*/\n\nconst CHECKBOX_ITEM_NAME = 'ContextMenuCheckboxItem';\n\ntype ContextMenuCheckboxItemElement = React.ElementRef<typeof MenuPrimitive.CheckboxItem>;\ntype MenuCheckboxItemProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.CheckboxItem>;\ninterface ContextMenuCheckboxItemProps extends MenuCheckboxItemProps {}\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n  ContextMenuCheckboxItemElement,\n  ContextMenuCheckboxItemProps\n>((props: ScopedProps<ContextMenuCheckboxItemProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...checkboxItemProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.CheckboxItem {...menuScope} {...checkboxItemProps} ref={forwardedRef} />;\n});\n\nContextMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuRadioGroup\n * -----------------------------------------------------------------------------------------------*/\n\nconst RADIO_GROUP_NAME = 'ContextMenuRadioGroup';\n\ntype ContextMenuRadioGroupElement = React.ElementRef<typeof MenuPrimitive.RadioGroup>;\ntype MenuRadioGroupProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.RadioGroup>;\ninterface ContextMenuRadioGroupProps extends MenuRadioGroupProps {}\n\nconst ContextMenuRadioGroup = React.forwardRef<\n  ContextMenuRadioGroupElement,\n  ContextMenuRadioGroupProps\n>((props: ScopedProps<ContextMenuRadioGroupProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...radioGroupProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.RadioGroup {...menuScope} {...radioGroupProps} ref={forwardedRef} />;\n});\n\nContextMenuRadioGroup.displayName = RADIO_GROUP_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuRadioItem\n * -----------------------------------------------------------------------------------------------*/\n\nconst RADIO_ITEM_NAME = 'ContextMenuRadioItem';\n\ntype ContextMenuRadioItemElement = React.ElementRef<typeof MenuPrimitive.RadioItem>;\ntype MenuRadioItemProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.RadioItem>;\ninterface ContextMenuRadioItemProps extends MenuRadioItemProps {}\n\nconst ContextMenuRadioItem = React.forwardRef<\n  ContextMenuRadioItemElement,\n  ContextMenuRadioItemProps\n>((props: ScopedProps<ContextMenuRadioItemProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...radioItemProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.RadioItem {...menuScope} {...radioItemProps} ref={forwardedRef} />;\n});\n\nContextMenuRadioItem.displayName = RADIO_ITEM_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuItemIndicator\n * -----------------------------------------------------------------------------------------------*/\n\nconst INDICATOR_NAME = 'ContextMenuItemIndicator';\n\ntype ContextMenuItemIndicatorElement = React.ElementRef<typeof MenuPrimitive.ItemIndicator>;\ntype MenuItemIndicatorProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.ItemIndicator>;\ninterface ContextMenuItemIndicatorProps extends MenuItemIndicatorProps {}\n\nconst ContextMenuItemIndicator = React.forwardRef<\n  ContextMenuItemIndicatorElement,\n  ContextMenuItemIndicatorProps\n>((props: ScopedProps<ContextMenuItemIndicatorProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...itemIndicatorProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.ItemIndicator {...menuScope} {...itemIndicatorProps} ref={forwardedRef} />;\n});\n\nContextMenuItemIndicator.displayName = INDICATOR_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSeparator\n * -----------------------------------------------------------------------------------------------*/\n\nconst SEPARATOR_NAME = 'ContextMenuSeparator';\n\ntype ContextMenuSeparatorElement = React.ElementRef<typeof MenuPrimitive.Separator>;\ntype MenuSeparatorProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Separator>;\ninterface ContextMenuSeparatorProps extends MenuSeparatorProps {}\n\nconst ContextMenuSeparator = React.forwardRef<\n  ContextMenuSeparatorElement,\n  ContextMenuSeparatorProps\n>((props: ScopedProps<ContextMenuSeparatorProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...separatorProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.Separator {...menuScope} {...separatorProps} ref={forwardedRef} />;\n});\n\nContextMenuSeparator.displayName = SEPARATOR_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuArrow\n * -----------------------------------------------------------------------------------------------*/\n\nconst ARROW_NAME = 'ContextMenuArrow';\n\ntype ContextMenuArrowElement = React.ElementRef<typeof MenuPrimitive.Arrow>;\ntype MenuArrowProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Arrow>;\ninterface ContextMenuArrowProps extends MenuArrowProps {}\n\nconst ContextMenuArrow = React.forwardRef<ContextMenuArrowElement, ContextMenuArrowProps>(\n  (props: ScopedProps<ContextMenuArrowProps>, forwardedRef) => {\n    const { __scopeContextMenu, ...arrowProps } = props;\n    const menuScope = useMenuScope(__scopeContextMenu);\n    return <MenuPrimitive.Arrow {...menuScope} {...arrowProps} ref={forwardedRef} />;\n  }\n);\n\nContextMenuArrow.displayName = ARROW_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSub\n * -----------------------------------------------------------------------------------------------*/\n\nconst SUB_NAME = 'ContextMenuSub';\n\ninterface ContextMenuSubProps {\n  children?: React.ReactNode;\n  open?: boolean;\n  defaultOpen?: boolean;\n  onOpenChange?(open: boolean): void;\n}\n\nconst ContextMenuSub: React.FC<ContextMenuSubProps> = (props: ScopedProps<ContextMenuSubProps>) => {\n  const { __scopeContextMenu, children, onOpenChange, open: openProp, defaultOpen } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  const [open, setOpen] = useControllableState({\n    prop: openProp,\n    defaultProp: defaultOpen,\n    onChange: onOpenChange,\n  });\n\n  return (\n    <MenuPrimitive.Sub {...menuScope} open={open} onOpenChange={setOpen}>\n      {children}\n    </MenuPrimitive.Sub>\n  );\n};\n\nContextMenuSub.displayName = SUB_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSubTrigger\n * -----------------------------------------------------------------------------------------------*/\n\nconst SUB_TRIGGER_NAME = 'ContextMenuSubTrigger';\n\ntype ContextMenuSubTriggerElement = React.ElementRef<typeof MenuPrimitive.SubTrigger>;\ntype MenuSubTriggerProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.SubTrigger>;\ninterface ContextMenuSubTriggerProps extends MenuSubTriggerProps {}\n\nconst ContextMenuSubTrigger = React.forwardRef<\n  ContextMenuSubTriggerElement,\n  ContextMenuSubTriggerProps\n>((props: ScopedProps<ContextMenuSubTriggerProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...triggerItemProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.SubTrigger {...menuScope} {...triggerItemProps} ref={forwardedRef} />;\n});\n\nContextMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSubContent\n * -----------------------------------------------------------------------------------------------*/\n\nconst SUB_CONTENT_NAME = 'ContextMenuSubContent';\n\ntype ContextMenuSubContentElement = React.ElementRef<typeof MenuPrimitive.Content>;\ntype MenuSubContentProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.SubContent>;\ninterface ContextMenuSubContentProps extends MenuSubContentProps {}\n\nconst ContextMenuSubContent = React.forwardRef<\n  ContextMenuSubContentElement,\n  ContextMenuSubContentProps\n>((props: ScopedProps<ContextMenuSubContentProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...subContentProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n\n  return (\n    <MenuPrimitive.SubContent\n      {...menuScope}\n      {...subContentProps}\n      ref={forwardedRef}\n      style={{\n        ...props.style,\n        // re-namespace exposed content custom properties\n        ...{\n          '--radix-context-menu-content-transform-origin': 'var(--radix-popper-transform-origin)',\n          '--radix-context-menu-content-available-width': 'var(--radix-popper-available-width)',\n          '--radix-context-menu-content-available-height': 'var(--radix-popper-available-height)',\n          '--radix-context-menu-trigger-width': 'var(--radix-popper-anchor-width)',\n          '--radix-context-menu-trigger-height': 'var(--radix-popper-anchor-height)',\n        },\n      }}\n    />\n  );\n});\n\nContextMenuSubContent.displayName = SUB_CONTENT_NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\nfunction whenTouchOrPen<E>(handler: React.PointerEventHandler<E>): React.PointerEventHandler<E> {\n  return (event) => (event.pointerType !== 'mouse' ? handler(event) : undefined);\n}\n\nconst Root = ContextMenu;\nconst Trigger = ContextMenuTrigger;\nconst Portal = ContextMenuPortal;\nconst Content = ContextMenuContent;\nconst Group = ContextMenuGroup;\nconst Label = ContextMenuLabel;\nconst Item = ContextMenuItem;\nconst CheckboxItem = ContextMenuCheckboxItem;\nconst RadioGroup = ContextMenuRadioGroup;\nconst RadioItem = ContextMenuRadioItem;\nconst ItemIndicator = ContextMenuItemIndicator;\nconst Separator = ContextMenuSeparator;\nconst Arrow = ContextMenuArrow;\nconst Sub = ContextMenuSub;\nconst SubTrigger = ContextMenuSubTrigger;\nconst SubContent = ContextMenuSubContent;\n\nexport {\n  createContextMenuScope,\n  //\n  ContextMenu,\n  ContextMenuTrigger,\n  ContextMenuPortal,\n  ContextMenuContent,\n  ContextMenuGroup,\n  ContextMenuLabel,\n  ContextMenuItem,\n  ContextMenuCheckboxItem,\n  ContextMenuRadioGroup,\n  ContextMenuRadioItem,\n  ContextMenuItemIndicator,\n  ContextMenuSeparator,\n  ContextMenuArrow,\n  ContextMenuSub,\n  ContextMenuSubTrigger,\n  ContextMenuSubContent,\n  //\n  Root,\n  Trigger,\n  Portal,\n  Content,\n  Group,\n  Label,\n  Item,\n  CheckboxItem,\n  RadioGroup,\n  RadioItem,\n  ItemIndicator,\n  Separator,\n  Arrow,\n  Sub,\n  SubTrigger,\n  SubContent,\n};\nexport type {\n  ContextMenuProps,\n  ContextMenuTriggerProps,\n  ContextMenuPortalProps,\n  ContextMenuContentProps,\n  ContextMenuGroupProps,\n  ContextMenuLabelProps,\n  ContextMenuItemProps,\n  ContextMenuCheckboxItemProps,\n  ContextMenuRadioGroupProps,\n  ContextMenuRadioItemProps,\n  ContextMenuItemIndicatorProps,\n  ContextMenuSeparatorProps,\n  ContextMenuArrowProps,\n  ContextMenuSubProps,\n  ContextMenuSubTriggerProps,\n  ContextMenuSubContentProps,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;ACeA;;;AAIA,IAAMA,uCAAiB,GAAG,a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