import{g as h,p as x,$ as O,aF as T,aW as p,ax as u,W as I,a1 as n,E as d,c as R,at as v,d as W,ab as k,ac as w,bm as A}from"./index-CAjvLl28.js";const B=x({id:String,interactive:Boolean,text:String,...w(A({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:null}),["absolute","persistent"])},"VTooltip"),F=h()({name:"VTooltip",props:B(),emits:{"update:modelValue":t=>!0},setup(t,g){let{slots:e}=g;const i=O(t,"modelValue"),{scopeId:m}=T(),f=p(),r=u(()=>t.id||`v-tooltip-${f}`),l=I(),V=n(()=>t.location.split(" ").length>1?t.location:t.location+" center"),P=n(()=>t.origin==="auto"||t.origin==="overlap"||t.origin.split(" ").length>1||t.location.split(" ").length>1?t.origin:t.origin+" center"),b=u(()=>t.transition!=null?t.transition:i.value?"scale-transition":"fade-transition"),y=n(()=>d({"aria-describedby":r.value},t.activatorProps));return R(()=>{const S=v.filterProps(t);return W(v,d({ref:l,class:["v-tooltip",{"v-tooltip--interactive":t.interactive},t.class],style:t.style,id:r.value},S,{modelValue:i.value,"onUpdate:modelValue":a=>i.value=a,transition:b.value,absolute:!0,location:V.value,origin:P.value,persistent:!0,role:"tooltip",activatorProps:y.value,_disableGlobalStack:!0},m),{activator:e.activator,default:function(){var c;for(var a=arguments.length,s=new Array(a),o=0;o