"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime");require("react");const e=require("../../node_modules/.pnpm/@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react_6a1a6d85f83fda9f1628953d2b64e4bf/node_modules/@radix-ui/react-tooltip/dist/index.cjs.js"),d=require("../../utils/tailwindUtil.cjs.js");function r({delayDuration:t=0,...i}){return o.jsx(e.Provider,{"data-slot":"tooltip-provider",delayDuration:t,...i})}function l({...t}){return o.jsx(r,{children:o.jsx(e.Root,{"data-slot":"tooltip",...t})})}function s({...t}){return o.jsx(e.Trigger,{"data-slot":"tooltip-trigger",...t})}function p({className:t,sideOffset:i=0,children:a,...n}){return o.jsx(e.Portal,{children:o.jsxs(e.Content,{"data-slot":"tooltip-content",sideOffset:i,className:d.cn("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit rounded-md px-3 py-1.5 text-xs text-balance",t),...n,children:[a,o.jsx(e.Arrow,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}exports.Tooltip=l;exports.TooltipContent=p;exports.TooltipProvider=r;exports.TooltipTrigger=s;
//# sourceMappingURL=tooltip.cjs.js.map
