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F,EACD,EAAAhD,WAAA,iBAuBE9T,CAAA,CAAA8T,WAAA","sources":["webpack://_N_E/./node_modules/@chakra-ui/react-use-event-listener/dist/index.esm.js","webpack://_N_E/./node_modules/@chakra-ui/react-use-animation-state/dist/index.esm.js","webpack://_N_E/./node_modules/@chakra-ui/react-use-focus-on-pointer-down/dist/index.esm.js","webpack://_N_E/./node_modules/@chakra-ui/react-use-focus-effect/dist/index.esm.js","webpack://_N_E/./node_modules/@chakra-ui/react-use-disclosure/dist/index.esm.js","webpack://_N_E/./node_modules/@chakra-ui/popper/dist/index.esm.js","webpack://_N_E/./node_modules/@chakra-ui/lazy-utils/dist/index.esm.js","webpack://_N_E/./node_modules/@chakra-ui/popover/dist/index.esm.js","webpack://_N_E/"],"sourcesContent":["// src/index.ts\nimport { useEffect } from \"react\";\nimport { useCallbackRef } from \"@chakra-ui/react-use-callback-ref\";\nfunction useEventListener(target, event, handler, options) {\n const listener = useCallbackRef(handler);\n useEffect(() => {\n const node = typeof target === \"function\" ? target() : target ?? document;\n if (!handler || !node)\n return;\n node.addEventListener(event, listener, options);\n return () => {\n node.removeEventListener(event, listener, options);\n };\n }, [event, target, options, listener, handler]);\n return () => {\n const node = typeof target === \"function\" ? target() : target ?? document;\n node == null ? void 0 : node.removeEventListener(event, listener, options);\n };\n}\nexport {\n useEventListener\n};\n","// src/index.ts\nimport { useEffect, useState } from \"react\";\nimport { useEventListener } from \"@chakra-ui/react-use-event-listener\";\nimport { getOwnerWindow } from \"@chakra-ui/dom-utils\";\nfunction useAnimationState(props) {\n const { isOpen, ref } = props;\n const [mounted, setMounted] = useState(isOpen);\n const [once, setOnce] = useState(false);\n useEffect(() => {\n if (!once) {\n setMounted(isOpen);\n setOnce(true);\n }\n }, [isOpen, once, mounted]);\n useEventListener(() => ref.current, \"animationend\", () => {\n setMounted(isOpen);\n });\n const hidden = isOpen ? false : !mounted;\n return {\n present: !hidden,\n onComplete() {\n var _a;\n const win = getOwnerWindow(ref.current);\n const evt = new win.CustomEvent(\"animationend\", { bubbles: true });\n (_a = ref.current) == null ? void 0 : _a.dispatchEvent(evt);\n }\n };\n}\nexport {\n useAnimationState\n};\n","// src/index.ts\nimport { useEventListener } from \"@chakra-ui/react-use-event-listener\";\nfunction isRefObject(val) {\n return \"current\" in val;\n}\nvar isDom = () => typeof window !== \"undefined\";\nfunction getPlatform() {\n const agent = navigator.userAgentData;\n return (agent == null ? void 0 : agent.platform) ?? navigator.platform;\n}\nvar vn = (v) => isDom() && v.test(navigator.vendor);\nvar pt = (v) => isDom() && v.test(getPlatform());\nvar isApple = () => pt(/mac|iphone|ipad|ipod/i);\nvar isSafari = () => isApple() && vn(/apple/i);\nfunction useFocusOnPointerDown(props) {\n const { ref, elements, enabled } = props;\n const doc = () => {\n var _a;\n return ((_a = ref.current) == null ? void 0 : _a.ownerDocument) ?? document;\n };\n useEventListener(doc, \"pointerdown\", (event) => {\n if (!isSafari() || !enabled)\n return;\n const target = event.target;\n const els = elements ?? [ref];\n const isValidTarget = els.some((elementOrRef) => {\n const el = isRefObject(elementOrRef) ? elementOrRef.current : elementOrRef;\n return (el == null ? void 0 : el.contains(target)) || el === target;\n });\n if (doc().activeElement !== target && isValidTarget) {\n event.preventDefault();\n target.focus();\n }\n });\n}\nexport {\n useFocusOnPointerDown\n};\n","// src/index.ts\nimport {\n getActiveElement,\n getAllFocusable,\n isTabbable\n} from \"@chakra-ui/dom-utils\";\nimport { useEventListener } from \"@chakra-ui/react-use-event-listener\";\nimport { useUpdateEffect } from \"@chakra-ui/react-use-update-effect\";\nimport { useCallback } from \"react\";\nfunction preventReturnFocus(containerRef) {\n const el = containerRef.current;\n if (!el)\n return false;\n const activeElement = getActiveElement(el);\n if (!activeElement)\n return false;\n if (el.contains(activeElement))\n return false;\n if (isTabbable(activeElement))\n return true;\n return false;\n}\nfunction useFocusOnHide(containerRef, options) {\n const { shouldFocus: shouldFocusProp, visible, focusRef } = options;\n const shouldFocus = shouldFocusProp && !visible;\n useUpdateEffect(() => {\n if (!shouldFocus)\n return;\n if (preventReturnFocus(containerRef)) {\n return;\n }\n const el = (focusRef == null ? void 0 : focusRef.current) || containerRef.current;\n if (el) {\n requestAnimationFrame(() => {\n el.focus();\n });\n }\n }, [shouldFocus, containerRef, focusRef]);\n}\nvar defaultOptions = {\n preventScroll: true,\n shouldFocus: false\n};\nfunction useFocusOnShow(target, options = defaultOptions) {\n const { focusRef, preventScroll, shouldFocus, visible } = options;\n const element = isRefObject(target) ? target.current : target;\n const autoFocus = shouldFocus && visible;\n const onFocus = useCallback(() => {\n if (!element || !autoFocus)\n return;\n if (element.contains(document.activeElement))\n return;\n if (focusRef == null ? void 0 : focusRef.current) {\n requestAnimationFrame(() => {\n var _a;\n (_a = focusRef.current) == null ? void 0 : _a.focus({ preventScroll });\n });\n } else {\n const tabbableEls = getAllFocusable(element);\n if (tabbableEls.length > 0) {\n requestAnimationFrame(() => {\n tabbableEls[0].focus({ preventScroll });\n });\n }\n }\n }, [autoFocus, preventScroll, element, focusRef]);\n useUpdateEffect(() => {\n onFocus();\n }, [onFocus]);\n useEventListener(element, \"transitionend\", onFocus);\n}\nfunction isRefObject(val) {\n return \"current\" in val;\n}\nexport {\n useFocusOnHide,\n useFocusOnShow\n};\n","// src/index.ts\nimport { useCallbackRef } from \"@chakra-ui/react-use-callback-ref\";\nimport { useCallback, useState, useId } from \"react\";\nfunction useDisclosure(props = {}) {\n const {\n onClose: onCloseProp,\n onOpen: onOpenProp,\n isOpen: isOpenProp,\n id: idProp\n } = props;\n const handleOpen = useCallbackRef(onOpenProp);\n const handleClose = useCallbackRef(onCloseProp);\n const [isOpenState, setIsOpen] = useState(props.defaultIsOpen || false);\n const isOpen = isOpenProp !== void 0 ? isOpenProp : isOpenState;\n const isControlled = isOpenProp !== void 0;\n const uid = useId();\n const id = idProp ?? `disclosure-${uid}`;\n const onClose = useCallback(() => {\n if (!isControlled) {\n setIsOpen(false);\n }\n handleClose == null ? void 0 : handleClose();\n }, [isControlled, handleClose]);\n const onOpen = useCallback(() => {\n if (!isControlled) {\n setIsOpen(true);\n }\n handleOpen == null ? void 0 : handleOpen();\n }, [isControlled, handleOpen]);\n const onToggle = useCallback(() => {\n if (isOpen) {\n onClose();\n } else {\n onOpen();\n }\n }, [isOpen, onOpen, onClose]);\n function getButtonProps(props2 = {}) {\n return {\n ...props2,\n \"aria-expanded\": isOpen,\n \"aria-controls\": id,\n onClick(event) {\n var _a;\n (_a = props2.onClick) == null ? void 0 : _a.call(props2, event);\n onToggle();\n }\n };\n }\n function getDisclosureProps(props2 = {}) {\n return {\n ...props2,\n hidden: !isOpen,\n id\n };\n }\n return {\n isOpen,\n onOpen,\n onClose,\n onToggle,\n isControlled,\n getButtonProps,\n getDisclosureProps\n };\n}\nexport {\n useDisclosure\n};\n","// src/use-popper.ts\nimport { mergeRefs } from \"@chakra-ui/react-use-merge-refs\";\nimport {\n createPopper\n} from \"@popperjs/core\";\nimport { useCallback, useEffect, useRef } from \"react\";\n\n// src/utils.ts\nvar toVar = (value, fallback) => ({\n var: value,\n varRef: fallback ? `var(${value}, ${fallback})` : `var(${value})`\n});\nvar cssVars = {\n arrowShadowColor: toVar(\"--popper-arrow-shadow-color\"),\n arrowSize: toVar(\"--popper-arrow-size\", \"8px\"),\n arrowSizeHalf: toVar(\"--popper-arrow-size-half\"),\n arrowBg: toVar(\"--popper-arrow-bg\"),\n transformOrigin: toVar(\"--popper-transform-origin\"),\n arrowOffset: toVar(\"--popper-arrow-offset\")\n};\nfunction getBoxShadow(placement) {\n if (placement.includes(\"top\"))\n return `1px 1px 1px 0 var(--popper-arrow-shadow-color)`;\n if (placement.includes(\"bottom\"))\n return `-1px -1px 1px 0 var(--popper-arrow-shadow-color)`;\n if (placement.includes(\"right\"))\n return `-1px 1px 1px 0 var(--popper-arrow-shadow-color)`;\n if (placement.includes(\"left\"))\n return `1px -1px 1px 0 var(--popper-arrow-shadow-color)`;\n}\nvar transforms = {\n top: \"bottom center\",\n \"top-start\": \"bottom left\",\n \"top-end\": \"bottom right\",\n bottom: \"top center\",\n \"bottom-start\": \"top left\",\n \"bottom-end\": \"top right\",\n left: \"right center\",\n \"left-start\": \"right top\",\n \"left-end\": \"right bottom\",\n right: \"left center\",\n \"right-start\": \"left top\",\n \"right-end\": \"left bottom\"\n};\nvar toTransformOrigin = (placement) => transforms[placement];\nvar defaultEventListeners = {\n scroll: true,\n resize: true\n};\nfunction getEventListenerOptions(value) {\n let eventListeners;\n if (typeof value === \"object\") {\n eventListeners = {\n enabled: true,\n options: { ...defaultEventListeners, ...value }\n };\n } else {\n eventListeners = {\n enabled: value,\n options: defaultEventListeners\n };\n }\n return eventListeners;\n}\n\n// src/modifiers.ts\nvar matchWidth = {\n name: \"matchWidth\",\n enabled: true,\n phase: \"beforeWrite\",\n requires: [\"computeStyles\"],\n fn: ({ state }) => {\n state.styles.popper.width = `${state.rects.reference.width}px`;\n },\n effect: ({ state }) => () => {\n const reference = state.elements.reference;\n state.elements.popper.style.width = `${reference.offsetWidth}px`;\n }\n};\nvar transformOrigin = {\n name: \"transformOrigin\",\n enabled: true,\n phase: \"write\",\n fn: ({ state }) => {\n setTransformOrigin(state);\n },\n effect: ({ state }) => () => {\n setTransformOrigin(state);\n }\n};\nvar setTransformOrigin = (state) => {\n state.elements.popper.style.setProperty(cssVars.transformOrigin.var, toTransformOrigin(state.placement));\n};\nvar positionArrow = {\n name: \"positionArrow\",\n enabled: true,\n phase: \"afterWrite\",\n fn: ({ state }) => {\n setArrowStyles(state);\n }\n};\nvar setArrowStyles = (state) => {\n var _a;\n if (!state.placement)\n return;\n const overrides = getArrowStyle(state.placement);\n if (((_a = state.elements) == null ? void 0 : _a.arrow) && overrides) {\n Object.assign(state.elements.arrow.style, {\n [overrides.property]: overrides.value,\n width: cssVars.arrowSize.varRef,\n height: cssVars.arrowSize.varRef,\n zIndex: -1\n });\n const vars = {\n [cssVars.arrowSizeHalf.var]: `calc(${cssVars.arrowSize.varRef} / 2)`,\n [cssVars.arrowOffset.var]: `calc(${cssVars.arrowSizeHalf.varRef} * -1)`\n };\n for (const property in vars) {\n state.elements.arrow.style.setProperty(property, vars[property]);\n }\n }\n};\nvar getArrowStyle = (placement) => {\n if (placement.startsWith(\"top\")) {\n return { property: \"bottom\", value: cssVars.arrowOffset.varRef };\n }\n if (placement.startsWith(\"bottom\")) {\n return { property: \"top\", value: cssVars.arrowOffset.varRef };\n }\n if (placement.startsWith(\"left\")) {\n return { property: \"right\", value: cssVars.arrowOffset.varRef };\n }\n if (placement.startsWith(\"right\")) {\n return { property: \"left\", value: cssVars.arrowOffset.varRef };\n }\n};\nvar innerArrow = {\n name: \"innerArrow\",\n enabled: true,\n phase: \"main\",\n requires: [\"arrow\"],\n fn: ({ state }) => {\n setInnerArrowStyles(state);\n },\n effect: ({ state }) => () => {\n setInnerArrowStyles(state);\n }\n};\nvar setInnerArrowStyles = (state) => {\n if (!state.elements.arrow)\n return;\n const inner = state.elements.arrow.querySelector(\"[data-popper-arrow-inner]\");\n if (!inner)\n return;\n Object.assign(inner.style, {\n transform: \"rotate(45deg)\",\n background: cssVars.arrowBg.varRef,\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n position: \"absolute\",\n zIndex: \"inherit\",\n boxShadow: getBoxShadow(state.placement)\n });\n};\n\n// src/popper.placement.ts\nvar logicals = {\n \"start-start\": { ltr: \"left-start\", rtl: \"right-start\" },\n \"start-end\": { ltr: \"left-end\", rtl: \"right-end\" },\n \"end-start\": { ltr: \"right-start\", rtl: \"left-start\" },\n \"end-end\": { ltr: \"right-end\", rtl: \"left-end\" },\n start: { ltr: \"left\", rtl: \"right\" },\n end: { ltr: \"right\", rtl: \"left\" }\n};\nvar opposites = {\n \"auto-start\": \"auto-end\",\n \"auto-end\": \"auto-start\",\n \"top-start\": \"top-end\",\n \"top-end\": \"top-start\",\n \"bottom-start\": \"bottom-end\",\n \"bottom-end\": \"bottom-start\"\n};\nfunction getPopperPlacement(placement, dir = \"ltr\") {\n var _a;\n const value = ((_a = logicals[placement]) == null ? void 0 : _a[dir]) || placement;\n if (dir === \"ltr\")\n return value;\n return opposites[placement] ?? value;\n}\n\n// src/use-popper.ts\nfunction usePopper(props = {}) {\n const {\n enabled = true,\n modifiers,\n placement: placementProp = \"bottom\",\n strategy = \"absolute\",\n arrowPadding = 8,\n eventListeners = true,\n offset,\n gutter = 8,\n flip = true,\n boundary = \"clippingParents\",\n preventOverflow = true,\n matchWidth: matchWidth2,\n direction = \"ltr\"\n } = props;\n const reference = useRef(null);\n const popper = useRef(null);\n const instance = useRef(null);\n const placement = getPopperPlacement(placementProp, direction);\n const cleanup = useRef(() => {\n });\n const setupPopper = useCallback(() => {\n var _a;\n if (!enabled || !reference.current || !popper.current)\n return;\n (_a = cleanup.current) == null ? void 0 : _a.call(cleanup);\n instance.current = createPopper(reference.current, popper.current, {\n placement,\n modifiers: [\n innerArrow,\n positionArrow,\n transformOrigin,\n {\n ...matchWidth,\n enabled: !!matchWidth2\n },\n {\n name: \"eventListeners\",\n ...getEventListenerOptions(eventListeners)\n },\n {\n name: \"arrow\",\n options: { padding: arrowPadding }\n },\n {\n name: \"offset\",\n options: {\n offset: offset ?? [0, gutter]\n }\n },\n {\n name: \"flip\",\n enabled: !!flip,\n options: { padding: 8 }\n },\n {\n name: \"preventOverflow\",\n enabled: !!preventOverflow,\n options: { boundary }\n },\n ...modifiers ?? []\n ],\n strategy\n });\n instance.current.forceUpdate();\n cleanup.current = instance.current.destroy;\n }, [\n placement,\n enabled,\n modifiers,\n matchWidth2,\n eventListeners,\n arrowPadding,\n offset,\n gutter,\n flip,\n preventOverflow,\n boundary,\n strategy\n ]);\n useEffect(() => {\n return () => {\n var _a;\n if (!reference.current && !popper.current) {\n (_a = instance.current) == null ? void 0 : _a.destroy();\n instance.current = null;\n }\n };\n }, []);\n const referenceRef = useCallback((node) => {\n reference.current = node;\n setupPopper();\n }, [setupPopper]);\n const getReferenceProps = useCallback((props2 = {}, ref = null) => ({\n ...props2,\n ref: mergeRefs(referenceRef, ref)\n }), [referenceRef]);\n const popperRef = useCallback((node) => {\n popper.current = node;\n setupPopper();\n }, [setupPopper]);\n const getPopperProps = useCallback((props2 = {}, ref = null) => ({\n ...props2,\n ref: mergeRefs(popperRef, ref),\n style: {\n ...props2.style,\n position: strategy,\n minWidth: matchWidth2 ? void 0 : \"max-content\",\n inset: \"0 auto auto 0\"\n }\n }), [strategy, popperRef, matchWidth2]);\n const getArrowProps = useCallback((props2 = {}, ref = null) => {\n const { size, shadowColor, bg, style, ...rest } = props2;\n return {\n ...rest,\n ref,\n \"data-popper-arrow\": \"\",\n style: getArrowStyle2(props2)\n };\n }, []);\n const getArrowInnerProps = useCallback((props2 = {}, ref = null) => ({\n ...props2,\n ref,\n \"data-popper-arrow-inner\": \"\"\n }), []);\n return {\n update() {\n var _a;\n (_a = instance.current) == null ? void 0 : _a.update();\n },\n forceUpdate() {\n var _a;\n (_a = instance.current) == null ? void 0 : _a.forceUpdate();\n },\n transformOrigin: cssVars.transformOrigin.varRef,\n referenceRef,\n popperRef,\n getPopperProps,\n getArrowProps,\n getArrowInnerProps,\n getReferenceProps\n };\n}\nfunction getArrowStyle2(props) {\n const { size, shadowColor, bg, style } = props;\n const computedStyle = { ...style, position: \"absolute\" };\n if (size) {\n computedStyle[\"--popper-arrow-size\"] = size;\n }\n if (shadowColor) {\n computedStyle[\"--popper-arrow-shadow-color\"] = shadowColor;\n }\n if (bg) {\n computedStyle[\"--popper-arrow-bg\"] = bg;\n }\n return computedStyle;\n}\nexport {\n cssVars as popperCSSVars,\n usePopper\n};\n","// src/index.ts\nfunction lazyDisclosure(options) {\n const { wasSelected, enabled, isSelected, mode = \"unmount\" } = options;\n if (!enabled)\n return true;\n if (isSelected)\n return true;\n if (mode === \"keepMounted\" && wasSelected)\n return true;\n return false;\n}\nexport {\n lazyDisclosure\n};\n","// ../../../react-shim.js\nimport React from \"react\";\n\n// src/popover.tsx\nimport {\n omitThemingProps,\n useMultiStyleConfig,\n useTheme\n} from \"@chakra-ui/system\";\n\n// ../../utilities/shared-utils/src/index.ts\nvar cx = (...classNames) => classNames.filter(Boolean).join(\" \");\nfunction runIfFn(valueOrFn, ...args) {\n return isFunction(valueOrFn) ? valueOrFn(...args) : valueOrFn;\n}\nvar isFunction = (value) => typeof value === \"function\";\nfunction callAllHandlers(...fns) {\n return function func(event) {\n fns.some((fn) => {\n fn == null ? void 0 : fn(event);\n return event == null ? void 0 : event.defaultPrevented;\n });\n };\n}\nfunction callAll(...fns) {\n return function mergedFn(arg) {\n fns.forEach((fn) => {\n fn == null ? void 0 : fn(arg);\n });\n };\n}\n\n// src/popover-context.ts\nimport { createContext } from \"@chakra-ui/react-context\";\nvar [PopoverProvider, usePopoverContext] = createContext({\n name: \"PopoverContext\",\n errorMessage: \"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``\"\n});\nvar [PopoverStylesProvider, usePopoverStyles] = createContext({\n name: `PopoverStylesContext`,\n errorMessage: `usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" `\n});\n\n// src/use-popover.ts\nimport { useAnimationState } from \"@chakra-ui/react-use-animation-state\";\nimport { useFocusOnPointerDown } from \"@chakra-ui/react-use-focus-on-pointer-down\";\nimport {\n useFocusOnHide,\n useFocusOnShow\n} from \"@chakra-ui/react-use-focus-effect\";\nimport { useDisclosure } from \"@chakra-ui/react-use-disclosure\";\nimport { popperCSSVars, usePopper } from \"@chakra-ui/popper\";\nimport { mergeRefs } from \"@chakra-ui/react-use-merge-refs\";\nimport { lazyDisclosure } from \"@chakra-ui/lazy-utils\";\nimport { useCallback, useEffect, useId, useRef, useState } from \"react\";\nvar TRIGGER = {\n click: \"click\",\n hover: \"hover\"\n};\nfunction usePopover(props = {}) {\n const {\n closeOnBlur = true,\n closeOnEsc = true,\n initialFocusRef,\n id,\n returnFocusOnClose = true,\n autoFocus = true,\n arrowSize,\n arrowShadowColor,\n trigger = TRIGGER.click,\n openDelay = 200,\n closeDelay = 200,\n isLazy,\n lazyBehavior = \"unmount\",\n computePositionOnMount,\n ...popperProps\n } = props;\n const { isOpen, onClose, onOpen, onToggle } = useDisclosure(props);\n const anchorRef = useRef(null);\n const triggerRef = useRef(null);\n const popoverRef = useRef(null);\n const isHoveringRef = useRef(false);\n const hasBeenOpened = useRef(false);\n if (isOpen) {\n hasBeenOpened.current = true;\n }\n const [hasHeader, setHasHeader] = useState(false);\n const [hasBody, setHasBody] = useState(false);\n const uuid = useId();\n const uid = id ?? uuid;\n const [triggerId, popoverId, headerId, bodyId] = [\n \"popover-trigger\",\n \"popover-content\",\n \"popover-header\",\n \"popover-body\"\n ].map((id2) => `${id2}-${uid}`);\n const {\n referenceRef,\n getArrowProps,\n getPopperProps,\n getArrowInnerProps,\n forceUpdate\n } = usePopper({\n ...popperProps,\n enabled: isOpen || !!computePositionOnMount\n });\n const animated = useAnimationState({ isOpen, ref: popoverRef });\n useFocusOnPointerDown({\n enabled: isOpen,\n ref: triggerRef\n });\n useFocusOnHide(popoverRef, {\n focusRef: triggerRef,\n visible: isOpen,\n shouldFocus: returnFocusOnClose && trigger === TRIGGER.click\n });\n useFocusOnShow(popoverRef, {\n focusRef: initialFocusRef,\n visible: isOpen,\n shouldFocus: autoFocus && trigger === TRIGGER.click\n });\n const shouldRenderChildren = lazyDisclosure({\n wasSelected: hasBeenOpened.current,\n enabled: isLazy,\n mode: lazyBehavior,\n isSelected: animated.present\n });\n const getPopoverProps = useCallback((props2 = {}, _ref = null) => {\n const popoverProps = {\n ...props2,\n style: {\n ...props2.style,\n transformOrigin: popperCSSVars.transformOrigin.varRef,\n [popperCSSVars.arrowSize.var]: arrowSize ? `${arrowSize}px` : void 0,\n [popperCSSVars.arrowShadowColor.var]: arrowShadowColor\n },\n ref: mergeRefs(popoverRef, _ref),\n children: shouldRenderChildren ? props2.children : null,\n id: popoverId,\n tabIndex: -1,\n role: \"dialog\",\n onKeyDown: callAllHandlers(props2.onKeyDown, (event) => {\n if (closeOnEsc && event.key === \"Escape\") {\n onClose();\n }\n }),\n onBlur: callAllHandlers(props2.onBlur, (event) => {\n const relatedTarget = getRelatedTarget(event);\n const targetIsPopover = contains(popoverRef.current, relatedTarget);\n const targetIsTrigger = contains(triggerRef.current, relatedTarget);\n const isValidBlur = !targetIsPopover && !targetIsTrigger;\n if (isOpen && closeOnBlur && isValidBlur) {\n onClose();\n }\n }),\n \"aria-labelledby\": hasHeader ? headerId : void 0,\n \"aria-describedby\": hasBody ? bodyId : void 0\n };\n if (trigger === TRIGGER.hover) {\n popoverProps.role = \"tooltip\";\n popoverProps.onMouseEnter = callAllHandlers(props2.onMouseEnter, () => {\n isHoveringRef.current = true;\n });\n popoverProps.onMouseLeave = callAllHandlers(props2.onMouseLeave, (event) => {\n if (event.nativeEvent.relatedTarget === null) {\n return;\n }\n isHoveringRef.current = false;\n setTimeout(() => onClose(), closeDelay);\n });\n }\n return popoverProps;\n }, [\n shouldRenderChildren,\n popoverId,\n hasHeader,\n headerId,\n hasBody,\n bodyId,\n trigger,\n closeOnEsc,\n onClose,\n isOpen,\n closeOnBlur,\n closeDelay,\n arrowShadowColor,\n arrowSize\n ]);\n const getPopoverPositionerProps = useCallback((props2 = {}, forwardedRef = null) => getPopperProps({\n ...props2,\n style: {\n visibility: isOpen ? \"visible\" : \"hidden\",\n ...props2.style\n }\n }, forwardedRef), [isOpen, getPopperProps]);\n const getAnchorProps = useCallback((props2, _ref = null) => {\n return {\n ...props2,\n ref: mergeRefs(_ref, anchorRef, referenceRef)\n };\n }, [anchorRef, referenceRef]);\n const openTimeout = useRef();\n const closeTimeout = useRef();\n const maybeReferenceRef = useCallback((node) => {\n if (anchorRef.current == null) {\n referenceRef(node);\n }\n }, [referenceRef]);\n const getTriggerProps = useCallback((props2 = {}, _ref = null) => {\n const triggerProps = {\n ...props2,\n ref: mergeRefs(triggerRef, _ref, maybeReferenceRef),\n id: triggerId,\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": isOpen,\n \"aria-controls\": popoverId\n };\n if (trigger === TRIGGER.click) {\n triggerProps.onClick = callAllHandlers(props2.onClick, onToggle);\n }\n if (trigger === TRIGGER.hover) {\n triggerProps.onFocus = callAllHandlers(props2.onFocus, () => {\n if (openTimeout.current === void 0) {\n onOpen();\n }\n });\n triggerProps.onBlur = callAllHandlers(props2.onBlur, (event) => {\n const relatedTarget = getRelatedTarget(event);\n const isValidBlur = !contains(popoverRef.current, relatedTarget);\n if (isOpen && closeOnBlur && isValidBlur) {\n onClose();\n }\n });\n triggerProps.onKeyDown = callAllHandlers(props2.onKeyDown, (event) => {\n if (event.key === \"Escape\") {\n onClose();\n }\n });\n triggerProps.onMouseEnter = callAllHandlers(props2.onMouseEnter, () => {\n isHoveringRef.current = true;\n openTimeout.current = window.setTimeout(() => onOpen(), openDelay);\n });\n triggerProps.onMouseLeave = callAllHandlers(props2.onMouseLeave, () => {\n isHoveringRef.current = false;\n if (openTimeout.current) {\n clearTimeout(openTimeout.current);\n openTimeout.current = void 0;\n }\n closeTimeout.current = window.setTimeout(() => {\n if (isHoveringRef.current === false) {\n onClose();\n }\n }, closeDelay);\n });\n }\n return triggerProps;\n }, [\n triggerId,\n isOpen,\n popoverId,\n trigger,\n maybeReferenceRef,\n onToggle,\n onOpen,\n closeOnBlur,\n onClose,\n openDelay,\n closeDelay\n ]);\n useEffect(() => {\n return () => {\n if (openTimeout.current) {\n clearTimeout(openTimeout.current);\n }\n if (closeTimeout.current) {\n clearTimeout(closeTimeout.current);\n }\n };\n }, []);\n const getHeaderProps = useCallback((props2 = {}, ref = null) => ({\n ...props2,\n id: headerId,\n ref: mergeRefs(ref, (node) => {\n setHasHeader(!!node);\n })\n }), [headerId]);\n const getBodyProps = useCallback((props2 = {}, ref = null) => ({\n ...props2,\n id: bodyId,\n ref: mergeRefs(ref, (node) => {\n setHasBody(!!node);\n })\n }), [bodyId]);\n return {\n forceUpdate,\n isOpen,\n onAnimationComplete: animated.onComplete,\n onClose,\n getAnchorProps,\n getArrowProps,\n getArrowInnerProps,\n getPopoverPositionerProps,\n getPopoverProps,\n getTriggerProps,\n getHeaderProps,\n getBodyProps\n };\n}\nfunction contains(parent, child) {\n return parent === child || (parent == null ? void 0 : parent.contains(child));\n}\nfunction getRelatedTarget(event) {\n const activeEl = event.currentTarget.ownerDocument.activeElement;\n return event.relatedTarget ?? activeEl;\n}\n\n// src/popover.tsx\nfunction Popover(props) {\n const styles = useMultiStyleConfig(\"Popover\", props);\n const { children, ...rest } = omitThemingProps(props);\n const theme = useTheme();\n const context = usePopover({ ...rest, direction: theme.direction });\n return /* @__PURE__ */ React.createElement(PopoverProvider, {\n value: context\n }, /* @__PURE__ */ React.createElement(PopoverStylesProvider, {\n value: styles\n }, runIfFn(children, {\n isOpen: context.isOpen,\n onClose: context.onClose,\n forceUpdate: context.forceUpdate\n })));\n}\nPopover.displayName = \"Popover\";\n\n// src/popover-anchor.tsx\nimport { Children, cloneElement } from \"react\";\nfunction PopoverAnchor(props) {\n const child = Children.only(props.children);\n const { getAnchorProps } = usePopoverContext();\n return cloneElement(child, getAnchorProps(child.props, child.ref));\n}\nPopoverAnchor.displayName = \"PopoverAnchor\";\n\n// src/popover-arrow.tsx\nimport { chakra } from \"@chakra-ui/system\";\nfunction PopoverArrow(props) {\n const { bg, bgColor, backgroundColor } = props;\n const { getArrowProps, getArrowInnerProps } = usePopoverContext();\n const styles = usePopoverStyles();\n const arrowBg = bg ?? bgColor ?? backgroundColor;\n return /* @__PURE__ */ React.createElement(chakra.div, {\n ...getArrowProps(),\n className: \"chakra-popover__arrow-positioner\"\n }, /* @__PURE__ */ React.createElement(chakra.div, {\n className: cx(\"chakra-popover__arrow\", props.className),\n ...getArrowInnerProps(props),\n __css: {\n ...styles.arrow,\n \"--popper-arrow-bg\": arrowBg ? `colors.${arrowBg}, ${arrowBg}` : void 0\n }\n }));\n}\nPopoverArrow.displayName = \"PopoverArrow\";\n\n// src/popover-body.tsx\nimport { chakra as chakra2, forwardRef } from \"@chakra-ui/system\";\nvar PopoverBody = forwardRef(function PopoverBody2(props, ref) {\n const { getBodyProps } = usePopoverContext();\n const styles = usePopoverStyles();\n return /* @__PURE__ */ React.createElement(chakra2.div, {\n ...getBodyProps(props, ref),\n className: cx(\"chakra-popover__body\", props.className),\n __css: styles.body\n });\n});\nPopoverBody.displayName = \"PopoverBody\";\n\n// src/popover-close-button.tsx\nimport { CloseButton } from \"@chakra-ui/close-button\";\nimport { forwardRef as forwardRef2 } from \"@chakra-ui/system\";\nvar PopoverCloseButton = forwardRef2(function PopoverCloseButton2(props, ref) {\n const { onClose } = usePopoverContext();\n const styles = usePopoverStyles();\n return /* @__PURE__ */ React.createElement(CloseButton, {\n size: \"sm\",\n onClick: onClose,\n className: cx(\"chakra-popover__close-btn\", props.className),\n __css: styles.closeButton,\n ref,\n ...props\n });\n});\nPopoverCloseButton.displayName = \"PopoverCloseButton\";\n\n// src/popover-content.tsx\nimport {\n chakra as chakra4,\n forwardRef as forwardRef4\n} from \"@chakra-ui/system\";\n\n// src/popover-transition.tsx\nimport { chakra as chakra3, forwardRef as forwardRef3 } from \"@chakra-ui/system\";\nimport { motion } from \"framer-motion\";\nimport React2 from \"react\";\nfunction mergeVariants(variants) {\n if (!variants)\n return;\n return {\n enter: {\n ...variants.enter,\n visibility: \"visible\"\n },\n exit: {\n ...variants.exit,\n transitionEnd: {\n visibility: \"hidden\"\n }\n }\n };\n}\nvar scaleFade = {\n exit: {\n opacity: 0,\n scale: 0.95,\n transition: {\n duration: 0.1,\n ease: [0.4, 0, 1, 1]\n }\n },\n enter: {\n scale: 1,\n opacity: 1,\n transition: {\n duration: 0.15,\n ease: [0, 0, 0.2, 1]\n }\n }\n};\nvar MotionSection = chakra3(motion.section);\nvar PopoverTransition = forwardRef3(function PopoverTransition2(props, ref) {\n const { variants = scaleFade, ...rest } = props;\n const { isOpen } = usePopoverContext();\n return /* @__PURE__ */ React2.createElement(MotionSection, {\n ref,\n variants: mergeVariants(variants),\n initial: false,\n animate: isOpen ? \"enter\" : \"exit\",\n ...rest\n });\n});\nPopoverTransition.displayName = \"PopoverTransition\";\n\n// src/popover-content.tsx\nvar PopoverContent = forwardRef4(function PopoverContent2(props, ref) {\n const { rootProps, motionProps, ...contentProps } = props;\n const { getPopoverProps, getPopoverPositionerProps, onAnimationComplete } = usePopoverContext();\n const styles = usePopoverStyles();\n const contentStyles = {\n position: \"relative\",\n display: \"flex\",\n flexDirection: \"column\",\n ...styles.content\n };\n return /* @__PURE__ */ React.createElement(chakra4.div, {\n ...getPopoverPositionerProps(rootProps),\n __css: styles.popper,\n className: \"chakra-popover__popper\"\n }, /* @__PURE__ */ React.createElement(PopoverTransition, {\n ...motionProps,\n ...getPopoverProps(contentProps, ref),\n onAnimationComplete: callAll(onAnimationComplete, contentProps.onAnimationComplete),\n className: cx(\"chakra-popover__content\", props.className),\n __css: contentStyles\n }));\n});\nPopoverContent.displayName = \"PopoverContent\";\n\n// src/popover-footer.tsx\nimport { chakra as chakra5 } from \"@chakra-ui/system\";\nfunction PopoverFooter(props) {\n const styles = usePopoverStyles();\n return /* @__PURE__ */ React.createElement(chakra5.footer, {\n ...props,\n className: cx(\"chakra-popover__footer\", props.className),\n __css: styles.footer\n });\n}\nPopoverFooter.displayName = \"PopoverFooter\";\n\n// src/popover-header.tsx\nimport { chakra as chakra6, forwardRef as forwardRef5 } from \"@chakra-ui/system\";\nvar PopoverHeader = forwardRef5(function PopoverHeader2(props, ref) {\n const { getHeaderProps } = usePopoverContext();\n const styles = usePopoverStyles();\n return /* @__PURE__ */ React.createElement(chakra6.header, {\n ...getHeaderProps(props, ref),\n className: cx(\"chakra-popover__header\", props.className),\n __css: styles.header\n });\n});\nPopoverHeader.displayName = \"PopoverHeader\";\n\n// src/popover-trigger.tsx\nimport { Children as Children2, cloneElement as cloneElement2 } from \"react\";\nfunction PopoverTrigger(props) {\n const child = Children2.only(props.children);\n const { getTriggerProps } = usePopoverContext();\n return cloneElement2(child, getTriggerProps(child.props, child.ref));\n}\nPopoverTrigger.displayName = \"PopoverTrigger\";\nexport {\n Popover,\n PopoverAnchor,\n PopoverArrow,\n PopoverBody,\n PopoverCloseButton,\n PopoverContent,\n PopoverFooter,\n PopoverHeader,\n PopoverTrigger,\n usePopover,\n usePopoverContext,\n usePopoverStyles\n};\n","\"use strict\";\n(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[1521],{\n\n/***/ 81521:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"J2\": function() { return /* binding */ Popover; },\n \"yk\": function() { return /* binding */ PopoverContent; },\n \"xo\": function() { return /* binding */ PopoverTrigger; }\n});\n\n// UNUSED EXPORTS: PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverFooter, PopoverHeader, usePopover, usePopoverContext, usePopoverStyles\n\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(67294);\n// EXTERNAL MODULE: ./node_modules/@chakra-ui/system/dist/index.esm.js\nvar index_esm = __webpack_require__(83904);\n// EXTERNAL MODULE: ./node_modules/@chakra-ui/styled-system/dist/index.esm.js\nvar dist_index_esm = __webpack_require__(54520);\n// EXTERNAL MODULE: ./node_modules/@chakra-ui/react-context/dist/index.esm.js\nvar react_context_dist_index_esm = __webpack_require__(28387);\n// EXTERNAL MODULE: ./node_modules/@chakra-ui/react-use-callback-ref/dist/index.esm.js\nvar react_use_callback_ref_dist_index_esm = __webpack_require__(19251);\n;// CONCATENATED MODULE: ./node_modules/@chakra-ui/react-use-event-listener/dist/index.esm.js\n// src/index.ts\n\n\nfunction useEventListener(target, event, handler, options) {\n const listener = (0,react_use_callback_ref_dist_index_esm/* useCallbackRef */.W)(handler);\n (0,react.useEffect)(() => {\n const node = typeof target === \"function\" ? target() : target ?? document;\n if (!handler || !node)\n return;\n node.addEventListener(event, listener, options);\n return () => {\n node.removeEventListener(event, listener, options);\n };\n }, [event, target, options, listener, handler]);\n return () => {\n const node = typeof target === \"function\" ? target() : target ?? document;\n node == null ? void 0 : node.removeEventListener(event, listener, options);\n };\n}\n\n\n// EXTERNAL MODULE: ./node_modules/@chakra-ui/dom-utils/dist/index.esm.js\nvar dom_utils_dist_index_esm = __webpack_require__(85771);\n;// CONCATENATED MODULE: ./node_modules/@chakra-ui/react-use-animation-state/dist/index.esm.js\n// src/index.ts\n\n\n\nfunction useAnimationState(props) {\n const { isOpen, ref } = props;\n const [mounted, setMounted] = (0,react.useState)(isOpen);\n const [once, setOnce] = (0,react.useState)(false);\n (0,react.useEffect)(() => {\n if (!once) {\n setMounted(isOpen);\n setOnce(true);\n }\n }, [isOpen, once, mounted]);\n useEventListener(() => ref.current, \"animationend\", () => {\n setMounted(isOpen);\n });\n const hidden = isOpen ? false : !mounted;\n return {\n present: !hidden,\n onComplete() {\n var _a;\n const win = (0,dom_utils_dist_index_esm/* getOwnerWindow */.kR)(ref.current);\n const evt = new win.CustomEvent(\"animationend\", { bubbles: true });\n (_a = ref.current) == null ? void 0 : _a.dispatchEvent(evt);\n }\n };\n}\n\n\n;// CONCATENATED MODULE: ./node_modules/@chakra-ui/react-use-focus-on-pointer-down/dist/index.esm.js\n// src/index.ts\n\nfunction isRefObject(val) {\n return \"current\" in val;\n}\nvar isDom = () => typeof window !== \"undefined\";\nfunction getPlatform() {\n const agent = navigator.userAgentData;\n return (agent == null ? void 0 : agent.platform) ?? navigator.platform;\n}\nvar vn = (v) => isDom() && v.test(navigator.vendor);\nvar pt = (v) => isDom() && v.test(getPlatform());\nvar isApple = () => pt(/mac|iphone|ipad|ipod/i);\nvar isSafari = () => isApple() && vn(/apple/i);\nfunction useFocusOnPointerDown(props) {\n const { ref, elements, enabled } = props;\n const doc = () => {\n var _a;\n return ((_a = ref.current) == null ? void 0 : _a.ownerDocument) ?? document;\n };\n useEventListener(doc, \"pointerdown\", (event) => {\n if (!isSafari() || !enabled)\n return;\n const target = event.target;\n const els = elements ?? [ref];\n const isValidTarget = els.some((elementOrRef) => {\n const el = isRefObject(elementOrRef) ? elementOrRef.current : elementOrRef;\n return (el == null ? void 0 : el.contains(target)) || el === target;\n });\n if (doc().activeElement !== target && isValidTarget) {\n event.preventDefault();\n target.focus();\n }\n });\n}\n\n\n// EXTERNAL MODULE: ./node_modules/@chakra-ui/react-use-update-effect/dist/index.esm.js\nvar react_use_update_effect_dist_index_esm = __webpack_require__(75314);\n;// CONCATENATED MODULE: ./node_modules/@chakra-ui/react-use-focus-effect/dist/index.esm.js\n// src/index.ts\n\n\n\n\nfunction preventReturnFocus(containerRef) {\n const el = containerRef.current;\n if (!el)\n return false;\n const activeElement = (0,dom_utils_dist_index_esm/* getActiveElement */.vY)(el);\n if (!activeElement)\n return false;\n if (el.contains(activeElement))\n return false;\n if ((0,dom_utils_dist_index_esm/* isTabbable */.Wq)(activeElement))\n return true;\n return false;\n}\nfunction useFocusOnHide(containerRef, options) {\n const { shouldFocus: shouldFocusProp, visible, focusRef } = options;\n const shouldFocus = shouldFocusProp && !visible;\n (0,react_use_update_effect_dist_index_esm/* useUpdateEffect */.r)(() => {\n if (!shouldFocus)\n return;\n if (preventReturnFocus(containerRef)) {\n return;\n }\n const el = (focusRef == null ? void 0 : focusRef.current) || containerRef.current;\n if (el) {\n requestAnimationFrame(() => {\n el.focus();\n });\n }\n }, [shouldFocus, containerRef, focusRef]);\n}\nvar defaultOptions = {\n preventScroll: true,\n shouldFocus: false\n};\nfunction useFocusOnShow(target, options = defaultOptions) {\n const { focusRef, preventScroll, shouldFocus, visible } = options;\n const element = index_esm_isRefObject(target) ? target.current : target;\n const autoFocus = shouldFocus && visible;\n const onFocus = (0,react.useCallback)(() => {\n if (!element || !autoFocus)\n return;\n if (element.contains(document.activeElement))\n return;\n if (focusRef == null ? void 0 : focusRef.current) {\n requestAnimationFrame(() => {\n var _a;\n (_a = focusRef.current) == null ? void 0 : _a.focus({ preventScroll });\n });\n } else {\n const tabbableEls = (0,dom_utils_dist_index_esm/* getAllFocusable */.t5)(element);\n if (tabbableEls.length > 0) {\n requestAnimationFrame(() => {\n tabbableEls[0].focus({ preventScroll });\n });\n }\n }\n }, [autoFocus, preventScroll, element, focusRef]);\n (0,react_use_update_effect_dist_index_esm/* useUpdateEffect */.r)(() => {\n onFocus();\n }, [onFocus]);\n useEventListener(element, \"transitionend\", onFocus);\n}\nfunction index_esm_isRefObject(val) {\n return \"current\" in val;\n}\n\n\n;// CONCATENATED MODULE: ./node_modules/@chakra-ui/react-use-disclosure/dist/index.esm.js\n// src/index.ts\n\n\nfunction useDisclosure(props = {}) {\n const {\n onClose: onCloseProp,\n onOpen: onOpenProp,\n isOpen: isOpenProp,\n id: idProp\n } = props;\n const handleOpen = (0,react_use_callback_ref_dist_index_esm/* useCallbackRef */.W)(onOpenProp);\n const handleClose = (0,react_use_callback_ref_dist_index_esm/* useCallbackRef */.W)(onCloseProp);\n const [isOpenState, setIsOpen] = (0,react.useState)(props.defaultIsOpen || false);\n const isOpen = isOpenProp !== void 0 ? isOpenProp : isOpenState;\n const isControlled = isOpenProp !== void 0;\n const uid = (0,react.useId)();\n const id = idProp ?? `disclosure-${uid}`;\n const onClose = (0,react.useCallback)(() => {\n if (!isControlled) {\n setIsOpen(false);\n }\n handleClose == null ? void 0 : handleClose();\n }, [isControlled, handleClose]);\n const onOpen = (0,react.useCallback)(() => {\n if (!isControlled) {\n setIsOpen(true);\n }\n handleOpen == null ? void 0 : handleOpen();\n }, [isControlled, handleOpen]);\n const onToggle = (0,react.useCallback)(() => {\n if (isOpen) {\n onClose();\n } else {\n onOpen();\n }\n }, [isOpen, onOpen, onClose]);\n function getButtonProps(props2 = {}) {\n return {\n ...props2,\n \"aria-expanded\": isOpen,\n \"aria-controls\": id,\n onClick(event) {\n var _a;\n (_a = props2.onClick) == null ? void 0 : _a.call(props2, event);\n onToggle();\n }\n };\n }\n function getDisclosureProps(props2 = {}) {\n return {\n ...props2,\n hidden: !isOpen,\n id\n };\n }\n return {\n isOpen,\n onOpen,\n onClose,\n onToggle,\n isControlled,\n getButtonProps,\n getDisclosureProps\n };\n}\n\n\n// EXTERNAL MODULE: ./node_modules/@chakra-ui/react-use-merge-refs/dist/index.esm.js\nvar react_use_merge_refs_dist_index_esm = __webpack_require__(76734);\n// EXTERNAL MODULE: ./node_modules/@popperjs/core/lib/popper.js\nvar lib_popper = __webpack_require__(20804);\n;// CONCATENATED MODULE: ./node_modules/@chakra-ui/popper/dist/index.esm.js\n// src/use-popper.ts\n\n\n\n\n// src/utils.ts\nvar toVar = (value, fallback) => ({\n var: value,\n varRef: fallback ? `var(${value}, ${fallback})` : `var(${value})`\n});\nvar cssVars = {\n arrowShadowColor: toVar(\"--popper-arrow-shadow-color\"),\n arrowSize: toVar(\"--popper-arrow-size\", \"8px\"),\n arrowSizeHalf: toVar(\"--popper-arrow-size-half\"),\n arrowBg: toVar(\"--popper-arrow-bg\"),\n transformOrigin: toVar(\"--popper-transform-origin\"),\n arrowOffset: toVar(\"--popper-arrow-offset\")\n};\nfunction getBoxShadow(placement) {\n if (placement.includes(\"top\"))\n return `1px 1px 1px 0 var(--popper-arrow-shadow-color)`;\n if (placement.includes(\"bottom\"))\n return `-1px -1px 1px 0 var(--popper-arrow-shadow-color)`;\n if (placement.includes(\"right\"))\n return `-1px 1px 1px 0 var(--popper-arrow-shadow-color)`;\n if (placement.includes(\"left\"))\n return `1px -1px 1px 0 var(--popper-arrow-shadow-color)`;\n}\nvar transforms = {\n top: \"bottom center\",\n \"top-start\": \"bottom left\",\n \"top-end\": \"bottom right\",\n bottom: \"top center\",\n \"bottom-start\": \"top left\",\n \"bottom-end\": \"top right\",\n left: \"right center\",\n \"left-start\": \"right top\",\n \"left-end\": \"right bottom\",\n right: \"left center\",\n \"right-start\": \"left top\",\n \"right-end\": \"left bottom\"\n};\nvar toTransformOrigin = (placement) => transforms[placement];\nvar defaultEventListeners = {\n scroll: true,\n resize: true\n};\nfunction getEventListenerOptions(value) {\n let eventListeners;\n if (typeof value === \"object\") {\n eventListeners = {\n enabled: true,\n options: { ...defaultEventListeners, ...value }\n };\n } else {\n eventListeners = {\n enabled: value,\n options: defaultEventListeners\n };\n }\n return eventListeners;\n}\n\n// src/modifiers.ts\nvar matchWidth = {\n name: \"matchWidth\",\n enabled: true,\n phase: \"beforeWrite\",\n requires: [\"computeStyles\"],\n fn: ({ state }) => {\n state.styles.popper.width = `${state.rects.reference.width}px`;\n },\n effect: ({ state }) => () => {\n const reference = state.elements.reference;\n state.elements.popper.style.width = `${reference.offsetWidth}px`;\n }\n};\nvar transformOrigin = {\n name: \"transformOrigin\",\n enabled: true,\n phase: \"write\",\n fn: ({ state }) => {\n setTransformOrigin(state);\n },\n effect: ({ state }) => () => {\n setTransformOrigin(state);\n }\n};\nvar setTransformOrigin = (state) => {\n state.elements.popper.style.setProperty(cssVars.transformOrigin.var, toTransformOrigin(state.placement));\n};\nvar positionArrow = {\n name: \"positionArrow\",\n enabled: true,\n phase: \"afterWrite\",\n fn: ({ state }) => {\n setArrowStyles(state);\n }\n};\nvar setArrowStyles = (state) => {\n var _a;\n if (!state.placement)\n return;\n const overrides = getArrowStyle(state.placement);\n if (((_a = state.elements) == null ? void 0 : _a.arrow) && overrides) {\n Object.assign(state.elements.arrow.style, {\n [overrides.property]: overrides.value,\n width: cssVars.arrowSize.varRef,\n height: cssVars.arrowSize.varRef,\n zIndex: -1\n });\n const vars = {\n [cssVars.arrowSizeHalf.var]: `calc(${cssVars.arrowSize.varRef} / 2)`,\n [cssVars.arrowOffset.var]: `calc(${cssVars.arrowSizeHalf.varRef} * -1)`\n };\n for (const property in vars) {\n state.elements.arrow.style.setProperty(property, vars[property]);\n }\n }\n};\nvar getArrowStyle = (placement) => {\n if (placement.startsWith(\"top\")) {\n return { property: \"bottom\", value: cssVars.arrowOffset.varRef };\n }\n if (placement.startsWith(\"bottom\")) {\n return { property: \"top\", value: cssVars.arrowOffset.varRef };\n }\n if (placement.startsWith(\"left\")) {\n return { property: \"right\", value: cssVars.arrowOffset.varRef };\n }\n if (placement.startsWith(\"right\")) {\n return { property: \"left\", value: cssVars.arrowOffset.varRef };\n }\n};\nvar innerArrow = {\n name: \"innerArrow\",\n enabled: true,\n phase: \"main\",\n requires: [\"arrow\"],\n fn: ({ state }) => {\n setInnerArrowStyles(state);\n },\n effect: ({ state }) => () => {\n setInnerArrowStyles(state);\n }\n};\nvar setInnerArrowStyles = (state) => {\n if (!state.elements.arrow)\n return;\n const inner = state.elements.arrow.querySelector(\"[data-popper-arrow-inner]\");\n if (!inner)\n return;\n Object.assign(inner.style, {\n transform: \"rotate(45deg)\",\n background: cssVars.arrowBg.varRef,\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n position: \"absolute\",\n zIndex: \"inherit\",\n boxShadow: getBoxShadow(state.placement)\n });\n};\n\n// src/popper.placement.ts\nvar logicals = {\n \"start-start\": { ltr: \"left-start\", rtl: \"right-start\" },\n \"start-end\": { ltr: \"left-end\", rtl: \"right-end\" },\n \"end-start\": { ltr: \"right-start\", rtl: \"left-start\" },\n \"end-end\": { ltr: \"right-end\", rtl: \"left-end\" },\n start: { ltr: \"left\", rtl: \"right\" },\n end: { ltr: \"right\", rtl: \"left\" }\n};\nvar opposites = {\n \"auto-start\": \"auto-end\",\n \"auto-end\": \"auto-start\",\n \"top-start\": \"top-end\",\n \"top-end\": \"top-start\",\n \"bottom-start\": \"bottom-end\",\n \"bottom-end\": \"bottom-start\"\n};\nfunction getPopperPlacement(placement, dir = \"ltr\") {\n var _a;\n const value = ((_a = logicals[placement]) == null ? void 0 : _a[dir]) || placement;\n if (dir === \"ltr\")\n return value;\n return opposites[placement] ?? value;\n}\n\n// src/use-popper.ts\nfunction usePopper(props = {}) {\n const {\n enabled = true,\n modifiers,\n placement: placementProp = \"bottom\",\n strategy = \"absolute\",\n arrowPadding = 8,\n eventListeners = true,\n offset,\n gutter = 8,\n flip = true,\n boundary = \"clippingParents\",\n preventOverflow = true,\n matchWidth: matchWidth2,\n direction = \"ltr\"\n } = props;\n const reference = (0,react.useRef)(null);\n const popper = (0,react.useRef)(null);\n const instance = (0,react.useRef)(null);\n const placement = getPopperPlacement(placementProp, direction);\n const cleanup = (0,react.useRef)(() => {\n });\n const setupPopper = (0,react.useCallback)(() => {\n var _a;\n if (!enabled || !reference.current || !popper.current)\n return;\n (_a = cleanup.current) == null ? void 0 : _a.call(cleanup);\n instance.current = (0,lib_popper/* createPopper */.fi)(reference.current, popper.current, {\n placement,\n modifiers: [\n innerArrow,\n positionArrow,\n transformOrigin,\n {\n ...matchWidth,\n enabled: !!matchWidth2\n },\n {\n name: \"eventListeners\",\n ...getEventListenerOptions(eventListeners)\n },\n {\n name: \"arrow\",\n options: { padding: arrowPadding }\n },\n {\n name: \"offset\",\n options: {\n offset: offset ?? [0, gutter]\n }\n },\n {\n name: \"flip\",\n enabled: !!flip,\n options: { padding: 8 }\n },\n {\n name: \"preventOverflow\",\n enabled: !!preventOverflow,\n options: { boundary }\n },\n ...modifiers ?? []\n ],\n strategy\n });\n instance.current.forceUpdate();\n cleanup.current = instance.current.destroy;\n }, [\n placement,\n enabled,\n modifiers,\n matchWidth2,\n eventListeners,\n arrowPadding,\n offset,\n gutter,\n flip,\n preventOverflow,\n boundary,\n strategy\n ]);\n (0,react.useEffect)(() => {\n return () => {\n var _a;\n if (!reference.current && !popper.current) {\n (_a = instance.current) == null ? void 0 : _a.destroy();\n instance.current = null;\n }\n };\n }, []);\n const referenceRef = (0,react.useCallback)((node) => {\n reference.current = node;\n setupPopper();\n }, [setupPopper]);\n const getReferenceProps = (0,react.useCallback)((props2 = {}, ref = null) => ({\n ...props2,\n ref: (0,react_use_merge_refs_dist_index_esm/* mergeRefs */.lq)(referenceRef, ref)\n }), [referenceRef]);\n const popperRef = (0,react.useCallback)((node) => {\n popper.current = node;\n setupPopper();\n }, [setupPopper]);\n const getPopperProps = (0,react.useCallback)((props2 = {}, ref = null) => ({\n ...props2,\n ref: (0,react_use_merge_refs_dist_index_esm/* mergeRefs */.lq)(popperRef, ref),\n style: {\n ...props2.style,\n position: strategy,\n minWidth: matchWidth2 ? void 0 : \"max-content\",\n inset: \"0 auto auto 0\"\n }\n }), [strategy, popperRef, matchWidth2]);\n const getArrowProps = (0,react.useCallback)((props2 = {}, ref = null) => {\n const { size, shadowColor, bg, style, ...rest } = props2;\n return {\n ...rest,\n ref,\n \"data-popper-arrow\": \"\",\n style: getArrowStyle2(props2)\n };\n }, []);\n const getArrowInnerProps = (0,react.useCallback)((props2 = {}, ref = null) => ({\n ...props2,\n ref,\n \"data-popper-arrow-inner\": \"\"\n }), []);\n return {\n update() {\n var _a;\n (_a = instance.current) == null ? void 0 : _a.update();\n },\n forceUpdate() {\n var _a;\n (_a = instance.current) == null ? void 0 : _a.forceUpdate();\n },\n transformOrigin: cssVars.transformOrigin.varRef,\n referenceRef,\n popperRef,\n getPopperProps,\n getArrowProps,\n getArrowInnerProps,\n getReferenceProps\n };\n}\nfunction getArrowStyle2(props) {\n const { size, shadowColor, bg, style } = props;\n const computedStyle = { ...style, position: \"absolute\" };\n if (size) {\n computedStyle[\"--popper-arrow-size\"] = size;\n }\n if (shadowColor) {\n computedStyle[\"--popper-arrow-shadow-color\"] = shadowColor;\n }\n if (bg) {\n computedStyle[\"--popper-arrow-bg\"] = bg;\n }\n return computedStyle;\n}\n\n\n;// CONCATENATED MODULE: ./node_modules/@chakra-ui/lazy-utils/dist/index.esm.js\n// src/index.ts\nfunction lazyDisclosure(options) {\n const { wasSelected, enabled, isSelected, mode = \"unmount\" } = options;\n if (!enabled)\n return true;\n if (isSelected)\n return true;\n if (mode === \"keepMounted\" && wasSelected)\n return true;\n return false;\n}\n\n\n// EXTERNAL MODULE: ./node_modules/@chakra-ui/close-button/dist/index.esm.js\nvar close_button_dist_index_esm = __webpack_require__(95868);\n// EXTERNAL MODULE: ./node_modules/framer-motion/dist/es/render/dom/motion.js + 149 modules\nvar motion = __webpack_require__(9882);\n;// CONCATENATED MODULE: ./node_modules/@chakra-ui/popover/dist/index.esm.js\n// ../../../react-shim.js\n\n\n// src/popover.tsx\n\n\n// ../../utilities/shared-utils/src/index.ts\nvar cx = (...classNames) => classNames.filter(Boolean).join(\" \");\nfunction runIfFn(valueOrFn, ...args) {\n return isFunction(valueOrFn) ? valueOrFn(...args) : valueOrFn;\n}\nvar isFunction = (value) => typeof value === \"function\";\nfunction callAllHandlers(...fns) {\n return function func(event) {\n fns.some((fn) => {\n fn == null ? void 0 : fn(event);\n return event == null ? void 0 : event.defaultPrevented;\n });\n };\n}\nfunction callAll(...fns) {\n return function mergedFn(arg) {\n fns.forEach((fn) => {\n fn == null ? void 0 : fn(arg);\n });\n };\n}\n\n// src/popover-context.ts\n\nvar [PopoverProvider, usePopoverContext] = (0,react_context_dist_index_esm/* createContext */.k)({\n name: \"PopoverContext\",\n errorMessage: \"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``\"\n});\nvar [PopoverStylesProvider, usePopoverStyles] = (0,react_context_dist_index_esm/* createContext */.k)({\n name: `PopoverStylesContext`,\n errorMessage: `usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" `\n});\n\n// src/use-popover.ts\n\n\n\n\n\n\n\n\nvar TRIGGER = {\n click: \"click\",\n hover: \"hover\"\n};\nfunction usePopover(props = {}) {\n const {\n closeOnBlur = true,\n closeOnEsc = true,\n initialFocusRef,\n id,\n returnFocusOnClose = true,\n autoFocus = true,\n arrowSize,\n arrowShadowColor,\n trigger = TRIGGER.click,\n openDelay = 200,\n closeDelay = 200,\n isLazy,\n lazyBehavior = \"unmount\",\n computePositionOnMount,\n ...popperProps\n } = props;\n const { isOpen, onClose, onOpen, onToggle } = useDisclosure(props);\n const anchorRef = (0,react.useRef)(null);\n const triggerRef = (0,react.useRef)(null);\n const popoverRef = (0,react.useRef)(null);\n const isHoveringRef = (0,react.useRef)(false);\n const hasBeenOpened = (0,react.useRef)(false);\n if (isOpen) {\n hasBeenOpened.current = true;\n }\n const [hasHeader, setHasHeader] = (0,react.useState)(false);\n const [hasBody, setHasBody] = (0,react.useState)(false);\n const uuid = (0,react.useId)();\n const uid = id ?? uuid;\n const [triggerId, popoverId, headerId, bodyId] = [\n \"popover-trigger\",\n \"popover-content\",\n \"popover-header\",\n \"popover-body\"\n ].map((id2) => `${id2}-${uid}`);\n const {\n referenceRef,\n getArrowProps,\n getPopperProps,\n getArrowInnerProps,\n forceUpdate\n } = usePopper({\n ...popperProps,\n enabled: isOpen || !!computePositionOnMount\n });\n const animated = useAnimationState({ isOpen, ref: popoverRef });\n useFocusOnPointerDown({\n enabled: isOpen,\n ref: triggerRef\n });\n useFocusOnHide(popoverRef, {\n focusRef: triggerRef,\n visible: isOpen,\n shouldFocus: returnFocusOnClose && trigger === TRIGGER.click\n });\n useFocusOnShow(popoverRef, {\n focusRef: initialFocusRef,\n visible: isOpen,\n shouldFocus: autoFocus && trigger === TRIGGER.click\n });\n const shouldRenderChildren = lazyDisclosure({\n wasSelected: hasBeenOpened.current,\n enabled: isLazy,\n mode: lazyBehavior,\n isSelected: animated.present\n });\n const getPopoverProps = (0,react.useCallback)((props2 = {}, _ref = null) => {\n const popoverProps = {\n ...props2,\n style: {\n ...props2.style,\n transformOrigin: cssVars.transformOrigin.varRef,\n [cssVars.arrowSize[\"var\"]]: arrowSize ? `${arrowSize}px` : void 0,\n [cssVars.arrowShadowColor[\"var\"]]: arrowShadowColor\n },\n ref: (0,react_use_merge_refs_dist_index_esm/* mergeRefs */.lq)(popoverRef, _ref),\n children: shouldRenderChildren ? props2.children : null,\n id: popoverId,\n tabIndex: -1,\n role: \"dialog\",\n onKeyDown: callAllHandlers(props2.onKeyDown, (event) => {\n if (closeOnEsc && event.key === \"Escape\") {\n onClose();\n }\n }),\n onBlur: callAllHandlers(props2.onBlur, (event) => {\n const relatedTarget = getRelatedTarget(event);\n const targetIsPopover = contains(popoverRef.current, relatedTarget);\n const targetIsTrigger = contains(triggerRef.current, relatedTarget);\n const isValidBlur = !targetIsPopover && !targetIsTrigger;\n if (isOpen && closeOnBlur && isValidBlur) {\n onClose();\n }\n }),\n \"aria-labelledby\": hasHeader ? headerId : void 0,\n \"aria-describedby\": hasBody ? bodyId : void 0\n };\n if (trigger === TRIGGER.hover) {\n popoverProps.role = \"tooltip\";\n popoverProps.onMouseEnter = callAllHandlers(props2.onMouseEnter, () => {\n isHoveringRef.current = true;\n });\n popoverProps.onMouseLeave = callAllHandlers(props2.onMouseLeave, (event) => {\n if (event.nativeEvent.relatedTarget === null) {\n return;\n }\n isHoveringRef.current = false;\n setTimeout(() => onClose(), closeDelay);\n });\n }\n return popoverProps;\n }, [\n shouldRenderChildren,\n popoverId,\n hasHeader,\n headerId,\n hasBody,\n bodyId,\n trigger,\n closeOnEsc,\n onClose,\n isOpen,\n closeOnBlur,\n closeDelay,\n arrowShadowColor,\n arrowSize\n ]);\n const getPopoverPositionerProps = (0,react.useCallback)((props2 = {}, forwardedRef = null) => getPopperProps({\n ...props2,\n style: {\n visibility: isOpen ? \"visible\" : \"hidden\",\n ...props2.style\n }\n }, forwardedRef), [isOpen, getPopperProps]);\n const getAnchorProps = (0,react.useCallback)((props2, _ref = null) => {\n return {\n ...props2,\n ref: (0,react_use_merge_refs_dist_index_esm/* mergeRefs */.lq)(_ref, anchorRef, referenceRef)\n };\n }, [anchorRef, referenceRef]);\n const openTimeout = (0,react.useRef)();\n const closeTimeout = (0,react.useRef)();\n const maybeReferenceRef = (0,react.useCallback)((node) => {\n if (anchorRef.current == null) {\n referenceRef(node);\n }\n }, [referenceRef]);\n const getTriggerProps = (0,react.useCallback)((props2 = {}, _ref = null) => {\n const triggerProps = {\n ...props2,\n ref: (0,react_use_merge_refs_dist_index_esm/* mergeRefs */.lq)(triggerRef, _ref, maybeReferenceRef),\n id: triggerId,\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": isOpen,\n \"aria-controls\": popoverId\n };\n if (trigger === TRIGGER.click) {\n triggerProps.onClick = callAllHandlers(props2.onClick, onToggle);\n }\n if (trigger === TRIGGER.hover) {\n triggerProps.onFocus = callAllHandlers(props2.onFocus, () => {\n if (openTimeout.current === void 0) {\n onOpen();\n }\n });\n triggerProps.onBlur = callAllHandlers(props2.onBlur, (event) => {\n const relatedTarget = getRelatedTarget(event);\n const isValidBlur = !contains(popoverRef.current, relatedTarget);\n if (isOpen && closeOnBlur && isValidBlur) {\n onClose();\n }\n });\n triggerProps.onKeyDown = callAllHandlers(props2.onKeyDown, (event) => {\n if (event.key === \"Escape\") {\n onClose();\n }\n });\n triggerProps.onMouseEnter = callAllHandlers(props2.onMouseEnter, () => {\n isHoveringRef.current = true;\n openTimeout.current = window.setTimeout(() => onOpen(), openDelay);\n });\n triggerProps.onMouseLeave = callAllHandlers(props2.onMouseLeave, () => {\n isHoveringRef.current = false;\n if (openTimeout.current) {\n clearTimeout(openTimeout.current);\n openTimeout.current = void 0;\n }\n closeTimeout.current = window.setTimeout(() => {\n if (isHoveringRef.current === false) {\n onClose();\n }\n }, closeDelay);\n });\n }\n return triggerProps;\n }, [\n triggerId,\n isOpen,\n popoverId,\n trigger,\n maybeReferenceRef,\n onToggle,\n onOpen,\n closeOnBlur,\n onClose,\n openDelay,\n closeDelay\n ]);\n (0,react.useEffect)(() => {\n return () => {\n if (openTimeout.current) {\n clearTimeout(openTimeout.current);\n }\n if (closeTimeout.current) {\n clearTimeout(closeTimeout.current);\n }\n };\n }, []);\n const getHeaderProps = (0,react.useCallback)((props2 = {}, ref = null) => ({\n ...props2,\n id: headerId,\n ref: (0,react_use_merge_refs_dist_index_esm/* mergeRefs */.lq)(ref, (node) => {\n setHasHeader(!!node);\n })\n }), [headerId]);\n const getBodyProps = (0,react.useCallback)((props2 = {}, ref = null) => ({\n ...props2,\n id: bodyId,\n ref: (0,react_use_merge_refs_dist_index_esm/* mergeRefs */.lq)(ref, (node) => {\n setHasBody(!!node);\n })\n }), [bodyId]);\n return {\n forceUpdate,\n isOpen,\n onAnimationComplete: animated.onComplete,\n onClose,\n getAnchorProps,\n getArrowProps,\n getArrowInnerProps,\n getPopoverPositionerProps,\n getPopoverProps,\n getTriggerProps,\n getHeaderProps,\n getBodyProps\n };\n}\nfunction contains(parent, child) {\n return parent === child || (parent == null ? void 0 : parent.contains(child));\n}\nfunction getRelatedTarget(event) {\n const activeEl = event.currentTarget.ownerDocument.activeElement;\n return event.relatedTarget ?? activeEl;\n}\n\n// src/popover.tsx\nfunction Popover(props) {\n const styles = (0,index_esm/* useMultiStyleConfig */.jC)(\"Popover\", props);\n const { children, ...rest } = (0,dist_index_esm/* omitThemingProps */.Lr)(props);\n const theme = (0,index_esm/* useTheme */.Fg)();\n const context = usePopover({ ...rest, direction: theme.direction });\n return /* @__PURE__ */ react.createElement(PopoverProvider, {\n value: context\n }, /* @__PURE__ */ react.createElement(PopoverStylesProvider, {\n value: styles\n }, runIfFn(children, {\n isOpen: context.isOpen,\n onClose: context.onClose,\n forceUpdate: context.forceUpdate\n })));\n}\nPopover.displayName = \"Popover\";\n\n// src/popover-anchor.tsx\n\nfunction PopoverAnchor(props) {\n const child = react.Children.only(props.children);\n const { getAnchorProps } = usePopoverContext();\n return (0,react.cloneElement)(child, getAnchorProps(child.props, child.ref));\n}\nPopoverAnchor.displayName = \"PopoverAnchor\";\n\n// src/popover-arrow.tsx\n\nfunction PopoverArrow(props) {\n const { bg, bgColor, backgroundColor } = props;\n const { getArrowProps, getArrowInnerProps } = usePopoverContext();\n const styles = usePopoverStyles();\n const arrowBg = bg ?? bgColor ?? backgroundColor;\n return /* @__PURE__ */ react.createElement(index_esm/* chakra.div */.m$.div, {\n ...getArrowProps(),\n className: \"chakra-popover__arrow-positioner\"\n }, /* @__PURE__ */ react.createElement(index_esm/* chakra.div */.m$.div, {\n className: cx(\"chakra-popover__arrow\", props.className),\n ...getArrowInnerProps(props),\n __css: {\n ...styles.arrow,\n \"--popper-arrow-bg\": arrowBg ? `colors.${arrowBg}, ${arrowBg}` : void 0\n }\n }));\n}\nPopoverArrow.displayName = \"PopoverArrow\";\n\n// src/popover-body.tsx\n\nvar PopoverBody = (0,index_esm/* forwardRef */.Gp)(function PopoverBody2(props, ref) {\n const { getBodyProps } = usePopoverContext();\n const styles = usePopoverStyles();\n return /* @__PURE__ */ react.createElement(index_esm/* chakra.div */.m$.div, {\n ...getBodyProps(props, ref),\n className: cx(\"chakra-popover__body\", props.className),\n __css: styles.body\n });\n});\nPopoverBody.displayName = \"PopoverBody\";\n\n// src/popover-close-button.tsx\n\n\nvar PopoverCloseButton = (0,index_esm/* forwardRef */.Gp)(function PopoverCloseButton2(props, ref) {\n const { onClose } = usePopoverContext();\n const styles = usePopoverStyles();\n return /* @__PURE__ */ react.createElement(close_button_dist_index_esm/* CloseButton */.P, {\n size: \"sm\",\n onClick: onClose,\n className: cx(\"chakra-popover__close-btn\", props.className),\n __css: styles.closeButton,\n ref,\n ...props\n });\n});\nPopoverCloseButton.displayName = \"PopoverCloseButton\";\n\n// src/popover-content.tsx\n\n\n// src/popover-transition.tsx\n\n\n\nfunction mergeVariants(variants) {\n if (!variants)\n return;\n return {\n enter: {\n ...variants.enter,\n visibility: \"visible\"\n },\n exit: {\n ...variants.exit,\n transitionEnd: {\n visibility: \"hidden\"\n }\n }\n };\n}\nvar scaleFade = {\n exit: {\n opacity: 0,\n scale: 0.95,\n transition: {\n duration: 0.1,\n ease: [0.4, 0, 1, 1]\n }\n },\n enter: {\n scale: 1,\n opacity: 1,\n transition: {\n duration: 0.15,\n ease: [0, 0, 0.2, 1]\n }\n }\n};\nvar MotionSection = (0,index_esm/* chakra */.m$)(motion/* motion.section */.E.section);\nvar PopoverTransition = (0,index_esm/* forwardRef */.Gp)(function PopoverTransition2(props, ref) {\n const { variants = scaleFade, ...rest } = props;\n const { isOpen } = usePopoverContext();\n return /* @__PURE__ */ react.createElement(MotionSection, {\n ref,\n variants: mergeVariants(variants),\n initial: false,\n animate: isOpen ? \"enter\" : \"exit\",\n ...rest\n });\n});\nPopoverTransition.displayName = \"PopoverTransition\";\n\n// src/popover-content.tsx\nvar PopoverContent = (0,index_esm/* forwardRef */.Gp)(function PopoverContent2(props, ref) {\n const { rootProps, motionProps, ...contentProps } = props;\n const { getPopoverProps, getPopoverPositionerProps, onAnimationComplete } = usePopoverContext();\n const styles = usePopoverStyles();\n const contentStyles = {\n position: \"relative\",\n display: \"flex\",\n flexDirection: \"column\",\n ...styles.content\n };\n return /* @__PURE__ */ react.createElement(index_esm/* chakra.div */.m$.div, {\n ...getPopoverPositionerProps(rootProps),\n __css: styles.popper,\n className: \"chakra-popover__popper\"\n }, /* @__PURE__ */ react.createElement(PopoverTransition, {\n ...motionProps,\n ...getPopoverProps(contentProps, ref),\n onAnimationComplete: callAll(onAnimationComplete, contentProps.onAnimationComplete),\n className: cx(\"chakra-popover__content\", props.className),\n __css: contentStyles\n }));\n});\nPopoverContent.displayName = \"PopoverContent\";\n\n// src/popover-footer.tsx\n\nfunction PopoverFooter(props) {\n const styles = usePopoverStyles();\n return /* @__PURE__ */ react.createElement(index_esm/* chakra.footer */.m$.footer, {\n ...props,\n className: cx(\"chakra-popover__footer\", props.className),\n __css: styles.footer\n });\n}\nPopoverFooter.displayName = \"PopoverFooter\";\n\n// src/popover-header.tsx\n\nvar PopoverHeader = (0,index_esm/* forwardRef */.Gp)(function PopoverHeader2(props, ref) {\n const { getHeaderProps } = usePopoverContext();\n const styles = usePopoverStyles();\n return /* @__PURE__ */ react.createElement(index_esm/* chakra.header */.m$.header, {\n ...getHeaderProps(props, ref),\n className: cx(\"chakra-popover__header\", props.className),\n __css: styles.header\n });\n});\nPopoverHeader.displayName = \"PopoverHeader\";\n\n// src/popover-trigger.tsx\n\nfunction PopoverTrigger(props) {\n const child = react.Children.only(props.children);\n const { getTriggerProps } = usePopoverContext();\n return (0,react.cloneElement)(child, getTriggerProps(child.props, child.ref));\n}\nPopoverTrigger.displayName = \"PopoverTrigger\";\n\n\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__webpack_exports__","__webpack_require__","d","Popover","PopoverContent","PopoverTrigger","react","index_esm","dist_index_esm","react_context_dist_index_esm","react_use_callback_ref_dist_index_esm","useEventListener","target","event","handler","options","listener","W","useEffect","node","document","addEventListener","removeEventListener","dom_utils_dist_index_esm","isDom","window","vn","v","test","navigator","vendor","pt","getPlatform","agent","userAgentData","platform","isApple","isSafari","react_use_update_effect_dist_index_esm","defaultOptions","preventScroll","shouldFocus","react_use_merge_refs_dist_index_esm","lib_popper","toVar","value","fallback","var","varRef","cssVars","arrowShadowColor","arrowSize","arrowSizeHalf","arrowBg","transformOrigin","arrowOffset","transforms","top","bottom","left","right","toTransformOrigin","placement","defaultEventListeners","scroll","resize","matchWidth","name","enabled","phase","requires","state","styles","popper","width","rects","reference","effect","elements","style","offsetWidth","setTransformOrigin","setProperty","positionArrow","setArrowStyles","_a","overrides","getArrowStyle","arrow","Object","assign","property","height","zIndex","vars","startsWith","innerArrow","setInnerArrowStyles","inner","querySelector","transform","background","position","boxShadow","includes","logicals","ltr","rtl","start","end","opposites","close_button_dist_index_esm","motion","cx","classNames","filter","Boolean","join","isFunction","callAllHandlers","fns","some","fn","defaultPrevented","PopoverProvider","usePopoverContext","k","errorMessage","PopoverStylesProvider","usePopoverStyles","TRIGGER","click","hover","contains","parent","child","getRelatedTarget","activeEl","currentTarget","ownerDocument","activeElement","relatedTarget","props","jC","children","rest","Lr","theme","Fg","context","usePopover","closeOnBlur","closeOnEsc","initialFocusRef","id","returnFocusOnClose","autoFocus","trigger","openDelay","closeDelay","isLazy","lazyBehavior","computePositionOnMount","popperProps","isOpen","onClose","onOpen","onToggle","useDisclosure","onCloseProp","onOpenProp","isOpenProp","idProp","handleOpen","handleClose","isOpenState","setIsOpen","useState","defaultIsOpen","isControlled","uid","useId","useCallback","getButtonProps","props2","onClick","call","getDisclosureProps","hidden","anchorRef","useRef","triggerRef","popoverRef","isHoveringRef","hasBeenOpened","current","hasHeader","setHasHeader","hasBody","setHasBody","uuid","triggerId","popoverId","headerId","bodyId","map","id2","referenceRef","getArrowProps","getPopperProps","getArrowInnerProps","forceUpdate","usePopper","modifiers","placementProp","strategy","arrowPadding","eventListeners","offset","gutter","flip","boundary","preventOverflow","matchWidth2","direction","instance","getPopperPlacement","dir","cleanup","setupPopper","fi","padding","destroy","getReferenceProps","ref","lq","popperRef","minWidth","inset","size","shadowColor","bg","getArrowStyle2","computedStyle","update","animated","useAnimationState","mounted","setMounted","once","setOnce","present","onComplete","win","kR","evt","CustomEvent","bubbles","dispatchEvent","useFocusOnPointerDown","doc","els","isValidTarget","val","el","isRefObject","elementOrRef","preventDefault","focus","useFocusOnHide","containerRef","shouldFocusProp","visible","focusRef","r","preventReturnFocus","vY","Wq","requestAnimationFrame","useFocusOnShow","element","index_esm_isRefObject","onFocus","tabbableEls","t5","length","shouldRenderChildren","lazyDisclosure","wasSelected","isSelected","mode","getPopoverProps","_ref","popoverProps","tabIndex","role","onKeyDown","key","onBlur","targetIsPopover","targetIsTrigger","onMouseEnter","onMouseLeave","nativeEvent","setTimeout","getPopoverPositionerProps","forwardedRef","visibility","getAnchorProps","openTimeout","closeTimeout","maybeReferenceRef","getTriggerProps","triggerProps","isValidBlur","clearTimeout","getHeaderProps","getBodyProps","onAnimationComplete","createElement","runIfFn","valueOrFn","args","displayName","PopoverAnchor","Children","only","cloneElement","PopoverArrow","bgColor","backgroundColor","m$","div","className","__css","PopoverBody","Gp","body","PopoverCloseButton","P","closeButton","scaleFade","exit","opacity","scale","transition","duration","ease","enter","MotionSection","E","section","PopoverTransition","variants","mergeVariants","transitionEnd","initial","animate","rootProps","motionProps","contentProps","contentStyles","display","flexDirection","content","callAll","arg","forEach","PopoverFooter","footer","PopoverHeader","header"],"sourceRoot":""}