"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("./symbol.js"),m=require("./types.js"),f=require("../../node_modules/.pnpm/@vueuse_core@10.9.0_vue@3.4.21/node_modules/@vueuse/core/index.js"),h=e.defineComponent({props:m.wetGuideItemProps,name:"WetGuideItem",setup(n){const o=e.inject(a.SymbolState),t=e.useSlots(),l=e.shallowRef(),{height:u,left:d,top:r,width:s}=f.useElementBounding(l);let i;const c=e.computed(()=>({width:s.value,left:d.value,top:r.value,height:u.value,description:n.description||t.description,title:n.title,order:n.order??i,placement:n.placement}));return e.onMounted(()=>{i=Object.values(o).length,o[i]=c}),e.onUnmounted(()=>{o[i]=null}),()=>e.createVNode(e.Fragment,null,[t.default&&t.default(),e.createVNode("div",{ref:l,style:"visibility:hidden;width: fit-content;height: fit-content;position: absolute;z-index:-1"},[t.default&&t.default()])])}});exports.default=h;
