import{d as _,r as i,G as y,b as x,eu as g,as as v,e as p,eD as m,ev as D,t as w}from"./outputWidgets.562826ac.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="bd00db48-a7a6-451f-b85f-dd017babb7b4",t._sentryDebugIdIdentifier="sentry-dbid-bd00db48-a7a6-451f-b85f-dd017babb7b4")}catch{}})();const B={class:"text"},k=_({__name:"Tooltip",props:{text:{type:String,required:!0},left:{type:Number},top:{type:Number},fixed:{type:Boolean,default:!1}},setup(t){const e=t,s=i(Date.now()),f=()=>{s.value=Date.now()},n=i(null),u=()=>{var r,d,l;const o=(r=n.value)==null?void 0:r.getBoundingClientRect();if(!o)return{};const{x:a,y:b}=o;return s.value,{position:"fixed",top:`${b+((d=e.top)!=null?d:0)}px`,left:`${a+((l=e.left)!=null?l:0)}px`}},c=y(()=>{var o;return e.fixed?u():{left:`${(o=e.left)!=null?o:-14}px`,...e.top?{top:`${e.top}px`}:{}}});return(o,a)=>(x(),g("div",{ref_key:"tooltipBox",ref:n,class:"tooltip-box",onMouseenter:f},[v(o.$slots,"default",{},void 0,!0),p("div",{class:"tooltip",style:D(c.value)},[p("span",B,m(t.text),1)],4)],544))}});const h=w(k,[["__scopeId","data-v-74636348"]]);export{h as T};
//# sourceMappingURL=Tooltip.558cd30c.js.map
