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CAAAH,CAAA,EACA,IAAAI,EAAA9L,CAAA,CAAA6L,EAAA,CACAE,EAAAC,OAAAF,UACA,IAAAX,yCAAAW,GAAA,MAAAN,iDAAAO,EAAAL,IACA,IACA,CACA,EAYA,IAAAO,EAAAnB","sources":["webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/box.props.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/box.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/separator.props.js","webpack://_N_E/./node_modules/@radix-ui/themes/dist/esm/components/separator.js","webpack://_N_E/./node_modules/@radix-ui/react-hover-card/dist/index.mjs","webpack://_N_E/./node_modules/@radix-ui/react-separator/dist/index.mjs","webpack://_N_E/"],"sourcesContent":["const displayValues = ['none', 'inline', 'inline-block', 'block'];\nconst boxPropDefs = {\n display: { type: 'enum', values: displayValues, default: undefined, responsive: true },\n};\nexport { boxPropDefs };\n//# sourceMappingURL=box.props.js.map","import * as React from 'react';\nimport classNames from 'classnames';\nimport { Slot } from './slot';\nimport { boxPropDefs } from './box.props';\nimport { extractMarginProps, withMarginProps, extractLayoutProps, withLayoutProps, withBreakpoints, } from '../helpers';\nconst Box = React.forwardRef((props, forwardedRef) => {\n const { rest: marginRest, ...marginProps } = extractMarginProps(props);\n const { rest: layoutRest, ...layoutProps } = extractLayoutProps(marginRest);\n const { className, asChild, display = boxPropDefs.display.default, ...boxProps } = layoutRest;\n const Comp = asChild ? Slot : 'div';\n return (React.createElement(Comp, { ...boxProps, ref: forwardedRef, className: classNames('rt-Box', className, withBreakpoints(display, 'rt-r-display'), withLayoutProps(layoutProps), withMarginProps(marginProps)) }));\n});\nBox.displayName = 'Box';\nexport { Box };\n//# sourceMappingURL=box.js.map","import { colorProp } from '../helpers';\nconst sizes = ['1', '2', '3', '4'];\nconst separatorPropDefs = {\n size: { type: 'enum', values: sizes, default: '1', responsive: true },\n color: { ...colorProp, default: 'gray' },\n};\nexport { separatorPropDefs };\n//# sourceMappingURL=separator.props.js.map","'use client';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport * as SeparatorPrimitive from '@radix-ui/react-separator';\nimport { separatorPropDefs } from './separator.props';\nimport { extractMarginProps, withMarginProps, withBreakpoints } from '../helpers';\nconst Separator = React.forwardRef((props, forwardedRef) => {\n const { rest: marginRest, ...marginProps } = extractMarginProps(props);\n const { className, size = separatorPropDefs.size.default, color = separatorPropDefs.color.default, ...separatorProps } = marginRest;\n return (React.createElement(SeparatorPrimitive.Root, { \"data-accent-color\": color, ...separatorProps, ref: forwardedRef, className: classNames('rt-Separator', className, withBreakpoints(size, 'rt-r-size'), withMarginProps(marginProps)) }));\n});\nSeparator.displayName = 'Separator';\nexport { Separator };\n//# sourceMappingURL=separator.js.map","import $eRSIW$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {useRef as $eRSIW$useRef, useCallback as $eRSIW$useCallback, useEffect as $eRSIW$useEffect, createElement as $eRSIW$createElement, forwardRef as $eRSIW$forwardRef, useState as $eRSIW$useState} from \"react\";\nimport {composeEventHandlers as $eRSIW$composeEventHandlers} from \"@radix-ui/primitive\";\nimport {createContextScope as $eRSIW$createContextScope} from \"@radix-ui/react-context\";\nimport {useControllableState as $eRSIW$useControllableState} from \"@radix-ui/react-use-controllable-state\";\nimport {useComposedRefs as $eRSIW$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {createPopperScope as $eRSIW$createPopperScope, Root as $eRSIW$Root, Anchor as $eRSIW$Anchor, Content as $eRSIW$Content, Arrow as $eRSIW$Arrow} from \"@radix-ui/react-popper\";\nimport {Portal as $eRSIW$Portal} from \"@radix-ui/react-portal\";\nimport {Presence as $eRSIW$Presence} from \"@radix-ui/react-presence\";\nimport {Primitive as $eRSIW$Primitive} from \"@radix-ui/react-primitive\";\nimport {DismissableLayer as $eRSIW$DismissableLayer} from \"@radix-ui/react-dismissable-layer\";\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * HoverCard\n * -----------------------------------------------------------------------------------------------*/ let $cef8881cdc69808e$var$originalBodyUserSelect;\nconst $cef8881cdc69808e$var$HOVERCARD_NAME = 'HoverCard';\nconst [$cef8881cdc69808e$var$createHoverCardContext, $cef8881cdc69808e$export$47b6998a836b7260] = $eRSIW$createContextScope($cef8881cdc69808e$var$HOVERCARD_NAME, [\n $eRSIW$createPopperScope\n]);\nconst $cef8881cdc69808e$var$usePopperScope = $eRSIW$createPopperScope();\nconst [$cef8881cdc69808e$var$HoverCardProvider, $cef8881cdc69808e$var$useHoverCardContext] = $cef8881cdc69808e$var$createHoverCardContext($cef8881cdc69808e$var$HOVERCARD_NAME);\nconst $cef8881cdc69808e$export$57a077cc9fbe653e = (props)=>{\n const { __scopeHoverCard: __scopeHoverCard , children: children , open: openProp , defaultOpen: defaultOpen , onOpenChange: onOpenChange , openDelay: openDelay = 700 , closeDelay: closeDelay = 300 } = props;\n const popperScope = $cef8881cdc69808e$var$usePopperScope(__scopeHoverCard);\n const openTimerRef = $eRSIW$useRef(0);\n const closeTimerRef = $eRSIW$useRef(0);\n const hasSelectionRef = $eRSIW$useRef(false);\n const isPointerDownOnContentRef = $eRSIW$useRef(false);\n const [open = false, setOpen] = $eRSIW$useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n const handleOpen = $eRSIW$useCallback(()=>{\n clearTimeout(closeTimerRef.current);\n openTimerRef.current = window.setTimeout(()=>setOpen(true)\n , openDelay);\n }, [\n openDelay,\n setOpen\n ]);\n const handleClose = $eRSIW$useCallback(()=>{\n clearTimeout(openTimerRef.current);\n if (!hasSelectionRef.current && !isPointerDownOnContentRef.current) closeTimerRef.current = window.setTimeout(()=>setOpen(false)\n , closeDelay);\n }, [\n closeDelay,\n setOpen\n ]);\n const handleDismiss = $eRSIW$useCallback(()=>setOpen(false)\n , [\n setOpen\n ]); // cleanup any queued state updates on unmount\n $eRSIW$useEffect(()=>{\n return ()=>{\n clearTimeout(openTimerRef.current);\n clearTimeout(closeTimerRef.current);\n };\n }, []);\n return /*#__PURE__*/ $eRSIW$createElement($cef8881cdc69808e$var$HoverCardProvider, {\n scope: __scopeHoverCard,\n open: open,\n onOpenChange: setOpen,\n onOpen: handleOpen,\n onClose: handleClose,\n onDismiss: handleDismiss,\n hasSelectionRef: hasSelectionRef,\n isPointerDownOnContentRef: isPointerDownOnContentRef\n }, /*#__PURE__*/ $eRSIW$createElement($eRSIW$Root, popperScope, children));\n};\n/*#__PURE__*/ Object.assign($cef8881cdc69808e$export$57a077cc9fbe653e, {\n displayName: $cef8881cdc69808e$var$HOVERCARD_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * HoverCardTrigger\n * -----------------------------------------------------------------------------------------------*/ const $cef8881cdc69808e$var$TRIGGER_NAME = 'HoverCardTrigger';\nconst $cef8881cdc69808e$export$ef9f7fd8e4ba882f = /*#__PURE__*/ $eRSIW$forwardRef((props, forwardedRef)=>{\n const { __scopeHoverCard: __scopeHoverCard , ...triggerProps } = props;\n const context = $cef8881cdc69808e$var$useHoverCardContext($cef8881cdc69808e$var$TRIGGER_NAME, __scopeHoverCard);\n const popperScope = $cef8881cdc69808e$var$usePopperScope(__scopeHoverCard);\n return /*#__PURE__*/ $eRSIW$createElement($eRSIW$Anchor, $eRSIW$babelruntimehelpersesmextends({\n asChild: true\n }, popperScope), /*#__PURE__*/ $eRSIW$createElement($eRSIW$Primitive.a, $eRSIW$babelruntimehelpersesmextends({\n \"data-state\": context.open ? 'open' : 'closed'\n }, triggerProps, {\n ref: forwardedRef,\n onPointerEnter: $eRSIW$composeEventHandlers(props.onPointerEnter, $cef8881cdc69808e$var$excludeTouch(context.onOpen)),\n onPointerLeave: $eRSIW$composeEventHandlers(props.onPointerLeave, $cef8881cdc69808e$var$excludeTouch(context.onClose)),\n onFocus: $eRSIW$composeEventHandlers(props.onFocus, context.onOpen),\n onBlur: $eRSIW$composeEventHandlers(props.onBlur, context.onClose) // prevent focus event on touch devices\n ,\n onTouchStart: $eRSIW$composeEventHandlers(props.onTouchStart, (event)=>event.preventDefault()\n )\n })));\n});\n/*#__PURE__*/ Object.assign($cef8881cdc69808e$export$ef9f7fd8e4ba882f, {\n displayName: $cef8881cdc69808e$var$TRIGGER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * HoverCardPortal\n * -----------------------------------------------------------------------------------------------*/ const $cef8881cdc69808e$var$PORTAL_NAME = 'HoverCardPortal';\nconst [$cef8881cdc69808e$var$PortalProvider, $cef8881cdc69808e$var$usePortalContext] = $cef8881cdc69808e$var$createHoverCardContext($cef8881cdc69808e$var$PORTAL_NAME, {\n forceMount: undefined\n});\nconst $cef8881cdc69808e$export$b384c6e0a789f88b = (props)=>{\n const { __scopeHoverCard: __scopeHoverCard , forceMount: forceMount , children: children , container: container } = props;\n const context = $cef8881cdc69808e$var$useHoverCardContext($cef8881cdc69808e$var$PORTAL_NAME, __scopeHoverCard);\n return /*#__PURE__*/ $eRSIW$createElement($cef8881cdc69808e$var$PortalProvider, {\n scope: __scopeHoverCard,\n forceMount: forceMount\n }, /*#__PURE__*/ $eRSIW$createElement($eRSIW$Presence, {\n present: forceMount || context.open\n }, /*#__PURE__*/ $eRSIW$createElement($eRSIW$Portal, {\n asChild: true,\n container: container\n }, children)));\n};\n/*#__PURE__*/ Object.assign($cef8881cdc69808e$export$b384c6e0a789f88b, {\n displayName: $cef8881cdc69808e$var$PORTAL_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * HoverCardContent\n * -----------------------------------------------------------------------------------------------*/ const $cef8881cdc69808e$var$CONTENT_NAME = 'HoverCardContent';\nconst $cef8881cdc69808e$export$aa4724a5938c586 = /*#__PURE__*/ $eRSIW$forwardRef((props, forwardedRef)=>{\n const portalContext = $cef8881cdc69808e$var$usePortalContext($cef8881cdc69808e$var$CONTENT_NAME, props.__scopeHoverCard);\n const { forceMount: forceMount = portalContext.forceMount , ...contentProps } = props;\n const context = $cef8881cdc69808e$var$useHoverCardContext($cef8881cdc69808e$var$CONTENT_NAME, props.__scopeHoverCard);\n return /*#__PURE__*/ $eRSIW$createElement($eRSIW$Presence, {\n present: forceMount || context.open\n }, /*#__PURE__*/ $eRSIW$createElement($cef8881cdc69808e$var$HoverCardContentImpl, $eRSIW$babelruntimehelpersesmextends({\n \"data-state\": context.open ? 'open' : 'closed'\n }, contentProps, {\n onPointerEnter: $eRSIW$composeEventHandlers(props.onPointerEnter, $cef8881cdc69808e$var$excludeTouch(context.onOpen)),\n onPointerLeave: $eRSIW$composeEventHandlers(props.onPointerLeave, $cef8881cdc69808e$var$excludeTouch(context.onClose)),\n ref: forwardedRef\n })));\n});\n/*#__PURE__*/ Object.assign($cef8881cdc69808e$export$aa4724a5938c586, {\n displayName: $cef8881cdc69808e$var$CONTENT_NAME\n});\n/* ---------------------------------------------------------------------------------------------- */ const $cef8881cdc69808e$var$HoverCardContentImpl = /*#__PURE__*/ $eRSIW$forwardRef((props, forwardedRef)=>{\n const { __scopeHoverCard: __scopeHoverCard , onEscapeKeyDown: onEscapeKeyDown , onPointerDownOutside: onPointerDownOutside , onFocusOutside: onFocusOutside , onInteractOutside: onInteractOutside , ...contentProps } = props;\n const context = $cef8881cdc69808e$var$useHoverCardContext($cef8881cdc69808e$var$CONTENT_NAME, __scopeHoverCard);\n const popperScope = $cef8881cdc69808e$var$usePopperScope(__scopeHoverCard);\n const ref = $eRSIW$useRef(null);\n const composedRefs = $eRSIW$useComposedRefs(forwardedRef, ref);\n const [containSelection, setContainSelection] = $eRSIW$useState(false);\n $eRSIW$useEffect(()=>{\n if (containSelection) {\n const body = document.body; // Safari requires prefix\n $cef8881cdc69808e$var$originalBodyUserSelect = body.style.userSelect || body.style.webkitUserSelect;\n body.style.userSelect = 'none';\n body.style.webkitUserSelect = 'none';\n return ()=>{\n body.style.userSelect = $cef8881cdc69808e$var$originalBodyUserSelect;\n body.style.webkitUserSelect = $cef8881cdc69808e$var$originalBodyUserSelect;\n };\n }\n }, [\n containSelection\n ]);\n $eRSIW$useEffect(()=>{\n if (ref.current) {\n const handlePointerUp = ()=>{\n setContainSelection(false);\n context.isPointerDownOnContentRef.current = false; // Delay a frame to ensure we always access the latest selection\n setTimeout(()=>{\n var _document$getSelectio;\n const hasSelection = ((_document$getSelectio = document.getSelection()) === null || _document$getSelectio === void 0 ? void 0 : _document$getSelectio.toString()) !== '';\n if (hasSelection) context.hasSelectionRef.current = true;\n });\n };\n document.addEventListener('pointerup', handlePointerUp);\n return ()=>{\n document.removeEventListener('pointerup', handlePointerUp);\n context.hasSelectionRef.current = false;\n context.isPointerDownOnContentRef.current = false;\n };\n }\n }, [\n context.isPointerDownOnContentRef,\n context.hasSelectionRef\n ]);\n $eRSIW$useEffect(()=>{\n if (ref.current) {\n const tabbables = $cef8881cdc69808e$var$getTabbableNodes(ref.current);\n tabbables.forEach((tabbable)=>tabbable.setAttribute('tabindex', '-1')\n );\n }\n });\n return /*#__PURE__*/ $eRSIW$createElement($eRSIW$DismissableLayer, {\n asChild: true,\n disableOutsidePointerEvents: false,\n onInteractOutside: onInteractOutside,\n onEscapeKeyDown: onEscapeKeyDown,\n onPointerDownOutside: onPointerDownOutside,\n onFocusOutside: $eRSIW$composeEventHandlers(onFocusOutside, (event)=>{\n event.preventDefault();\n }),\n onDismiss: context.onDismiss\n }, /*#__PURE__*/ $eRSIW$createElement($eRSIW$Content, $eRSIW$babelruntimehelpersesmextends({}, popperScope, contentProps, {\n onPointerDown: $eRSIW$composeEventHandlers(contentProps.onPointerDown, (event)=>{\n // Contain selection to current layer\n if (event.currentTarget.contains(event.target)) setContainSelection(true);\n context.hasSelectionRef.current = false;\n context.isPointerDownOnContentRef.current = true;\n }),\n ref: composedRefs,\n style: {\n ...contentProps.style,\n userSelect: containSelection ? 'text' : undefined,\n // Safari requires prefix\n WebkitUserSelect: containSelection ? 'text' : undefined,\n '--radix-hover-card-content-transform-origin': 'var(--radix-popper-transform-origin)',\n '--radix-hover-card-content-available-width': 'var(--radix-popper-available-width)',\n '--radix-hover-card-content-available-height': 'var(--radix-popper-available-height)',\n '--radix-hover-card-trigger-width': 'var(--radix-popper-anchor-width)',\n '--radix-hover-card-trigger-height': 'var(--radix-popper-anchor-height)'\n }\n })));\n});\n/* -------------------------------------------------------------------------------------------------\n * HoverCardArrow\n * -----------------------------------------------------------------------------------------------*/ const $cef8881cdc69808e$var$ARROW_NAME = 'HoverCardArrow';\nconst $cef8881cdc69808e$export$b9744d3e7456d806 = /*#__PURE__*/ $eRSIW$forwardRef((props, forwardedRef)=>{\n const { __scopeHoverCard: __scopeHoverCard , ...arrowProps } = props;\n const popperScope = $cef8881cdc69808e$var$usePopperScope(__scopeHoverCard);\n return /*#__PURE__*/ $eRSIW$createElement($eRSIW$Arrow, $eRSIW$babelruntimehelpersesmextends({}, popperScope, arrowProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($cef8881cdc69808e$export$b9744d3e7456d806, {\n displayName: $cef8881cdc69808e$var$ARROW_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ function $cef8881cdc69808e$var$excludeTouch(eventHandler) {\n return (event)=>event.pointerType === 'touch' ? undefined : eventHandler()\n ;\n}\n/**\n * Returns a list of nodes that can be in the tab sequence.\n * @see: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker\n */ function $cef8881cdc69808e$var$getTabbableNodes(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node)=>{\n // `.tabIndex` is not the same as the `tabindex` attribute. It works on the\n // runtime's understanding of tabbability, so this automatically accounts\n // for any kind of element that could be tabbed to.\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while(walker.nextNode())nodes.push(walker.currentNode);\n return nodes;\n}\nconst $cef8881cdc69808e$export$be92b6f5f03c0fe9 = $cef8881cdc69808e$export$57a077cc9fbe653e;\nconst $cef8881cdc69808e$export$41fb9f06171c75f4 = $cef8881cdc69808e$export$ef9f7fd8e4ba882f;\nconst $cef8881cdc69808e$export$602eac185826482c = $cef8881cdc69808e$export$b384c6e0a789f88b;\nconst $cef8881cdc69808e$export$7c6e2c02157bb7d2 = $cef8881cdc69808e$export$aa4724a5938c586;\nconst $cef8881cdc69808e$export$21b07c8f274aebd5 = $cef8881cdc69808e$export$b9744d3e7456d806;\n\n\n\n\nexport {$cef8881cdc69808e$export$47b6998a836b7260 as createHoverCardScope, $cef8881cdc69808e$export$57a077cc9fbe653e as HoverCard, $cef8881cdc69808e$export$ef9f7fd8e4ba882f as HoverCardTrigger, $cef8881cdc69808e$export$b384c6e0a789f88b as HoverCardPortal, $cef8881cdc69808e$export$aa4724a5938c586 as HoverCardContent, $cef8881cdc69808e$export$b9744d3e7456d806 as HoverCardArrow, $cef8881cdc69808e$export$be92b6f5f03c0fe9 as Root, $cef8881cdc69808e$export$41fb9f06171c75f4 as Trigger, $cef8881cdc69808e$export$602eac185826482c as Portal, $cef8881cdc69808e$export$7c6e2c02157bb7d2 as Content, $cef8881cdc69808e$export$21b07c8f274aebd5 as Arrow};\n//# sourceMappingURL=index.mjs.map\n","import $5WXm8$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $5WXm8$forwardRef, createElement as $5WXm8$createElement} from \"react\";\nimport {Primitive as $5WXm8$Primitive} from \"@radix-ui/react-primitive\";\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Separator\n * -----------------------------------------------------------------------------------------------*/ const $89eedd556c436f6a$var$NAME = 'Separator';\nconst $89eedd556c436f6a$var$DEFAULT_ORIENTATION = 'horizontal';\nconst $89eedd556c436f6a$var$ORIENTATIONS = [\n 'horizontal',\n 'vertical'\n];\nconst $89eedd556c436f6a$export$1ff3c3f08ae963c0 = /*#__PURE__*/ $5WXm8$forwardRef((props, forwardedRef)=>{\n const { decorative: decorative , orientation: orientationProp = $89eedd556c436f6a$var$DEFAULT_ORIENTATION , ...domProps } = props;\n const orientation = $89eedd556c436f6a$var$isValidOrientation(orientationProp) ? orientationProp : $89eedd556c436f6a$var$DEFAULT_ORIENTATION; // `aria-orientation` defaults to `horizontal` so we only need it if `orientation` is vertical\n const ariaOrientation = orientation === 'vertical' ? orientation : undefined;\n const semanticProps = decorative ? {\n role: 'none'\n } : {\n 'aria-orientation': ariaOrientation,\n role: 'separator'\n };\n return /*#__PURE__*/ $5WXm8$createElement($5WXm8$Primitive.div, $5WXm8$babelruntimehelpersesmextends({\n \"data-orientation\": orientation\n }, semanticProps, domProps, {\n ref: forwardedRef\n }));\n});\n/*#__PURE__*/ Object.assign($89eedd556c436f6a$export$1ff3c3f08ae963c0, {\n displayName: $89eedd556c436f6a$var$NAME\n});\n$89eedd556c436f6a$export$1ff3c3f08ae963c0.propTypes = {\n orientation (props, propName, componentName) {\n const propValue = props[propName];\n const strVal = String(propValue);\n if (propValue && !$89eedd556c436f6a$var$isValidOrientation(propValue)) return new Error($89eedd556c436f6a$var$getInvalidOrientationError(strVal, componentName));\n return null;\n }\n};\n/* -----------------------------------------------------------------------------------------------*/ // Split this out for clearer readability of the error message.\nfunction $89eedd556c436f6a$var$getInvalidOrientationError(value, componentName) {\n return `Invalid prop \\`orientation\\` of value \\`${value}\\` supplied to \\`${componentName}\\`, expected one of:\n - horizontal\n - vertical\n\nDefaulting to \\`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\\`.`;\n}\nfunction $89eedd556c436f6a$var$isValidOrientation(orientation) {\n return $89eedd556c436f6a$var$ORIENTATIONS.includes(orientation);\n}\nconst $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;\n\n\n\n\nexport {$89eedd556c436f6a$export$1ff3c3f08ae963c0 as Separator, $89eedd556c436f6a$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n"],"names":["boxPropDefs","display","type","values","default","undefined","responsive","Box","react","forwardRef","props","forwardedRef","rest","marginRest","marginProps","margin_props","FY","layoutRest","layoutProps","layout_props","F8","className","asChild","boxProps","Comp","dist","g7","createElement","ref","classnames_default","breakpoints","g","yt","we","displayName","separatorPropDefs","size","color","color_prop","m","Separator","separatorProps","f","$cef8881cdc69808e$var$originalBodyUserSelect","$cef8881cdc69808e$var$HOVERCARD_NAME","$cef8881cdc69808e$var$createHoverCardContext","$cef8881cdc69808e$export$47b6998a836b7260","_radix_ui_react_context__WEBPACK_IMPORTED_MODULE_1__","b","_radix_ui_react_popper__WEBPACK_IMPORTED_MODULE_2__","D7","$cef8881cdc69808e$var$usePopperScope","$cef8881cdc69808e$var$HoverCardProvider","$cef8881cdc69808e$var$useHoverCardContext","$cef8881cdc69808e$export$ef9f7fd8e4ba882f","react__WEBPACK_IMPORTED_MODULE_0__","__scopeHoverCard","triggerProps","context","popperScope","ee","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","Z","_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_5__","WV","a","open","onPointerEnter","_radix_ui_primitive__WEBPACK_IMPORTED_MODULE_6__","M","$cef8881cdc69808e$var$excludeTouch","onOpen","onPointerLeave","onClose","onFocus","onBlur","onTouchStart","event","preventDefault","$cef8881cdc69808e$var$PORTAL_NAME","$cef8881cdc69808e$var$PortalProvider","$cef8881cdc69808e$var$usePortalContext","forceMount","$cef8881cdc69808e$var$CONTENT_NAME","$cef8881cdc69808e$export$aa4724a5938c586","portalContext","contentProps","_radix_ui_react_presence__WEBPACK_IMPORTED_MODULE_7__","z","present","$cef8881cdc69808e$var$HoverCardContentImpl","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","useRef","composedRefs","_radix_ui_react_compose_refs__WEBPACK_IMPORTED_MODULE_9__","e","containSelection","setContainSelection","useState","useEffect","body","document","style","userSelect","webkitUserSelect","current","handlePointerUp","isPointerDownOnContentRef","setTimeout","_document$getSelectio","hasSelection","getSelection","toString","hasSelectionRef","addEventListener","removeEventListener","tabbables","$cef8881cdc69808e$var$getTabbableNodes","forEach","tabbable","setAttribute","_radix_ui_react_dismissable_layer__WEBPACK_IMPORTED_MODULE_10__","XB","disableOutsidePointerEvents","onDismiss","VY","onPointerDown","currentTarget","contains","target","WebkitUserSelect","$cef8881cdc69808e$export$b9744d3e7456d806","arrowProps","Eh","eventHandler","pointerType","container","nodes","walker","createTreeWalker","NodeFilter","SHOW_ELEMENT","acceptNode","node","tabIndex","FILTER_ACCEPT","FILTER_SKIP","nextNode","push","currentNode","$cef8881cdc69808e$export$be92b6f5f03c0fe9","children","openProp","defaultOpen","onOpenChange","openDelay","closeDelay","openTimerRef","closeTimerRef","setOpen","_radix_ui_react_use_controllable_state__WEBPACK_IMPORTED_MODULE_3__","T","prop","defaultProp","onChange","handleOpen","useCallback","clearTimeout","window","handleClose","handleDismiss","scope","fC","$cef8881cdc69808e$export$41fb9f06171c75f4","$cef8881cdc69808e$export$602eac185826482c","_radix_ui_react_portal__WEBPACK_IMPORTED_MODULE_8__","h","$cef8881cdc69808e$export$7c6e2c02157bb7d2","$cef8881cdc69808e$export$21b07c8f274aebd5","$89eedd556c436f6a$var$DEFAULT_ORIENTATION","$89eedd556c436f6a$var$ORIENTATIONS","$89eedd556c436f6a$export$1ff3c3f08ae963c0","decorative","orientation","orientationProp","domProps","$89eedd556c436f6a$var$isValidOrientation","_radix_ui_react_primitive__WEBPACK_IMPORTED_MODULE_1__","div","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__","role","$89eedd556c436f6a$var$getInvalidOrientationError","value","componentName","includes","propTypes","propName","propValue","strVal","String","$89eedd556c436f6a$export$be92b6f5f03c0fe9"],"sourceRoot":""}