let e=require("vue");var t=t=>{let n=(0,e.shallowRef)({width:0,height:0});function r(e){n.value={width:e.offsetWidth,height:e.offsetHeight}}return[(0,e.computed)(()=>{let e={};if(t.value){let{width:r,height:i}=n.value;t.value.includes(`height`)&&i?e.height=`${i}px`:t.value.includes(`minHeight`)&&i&&(e.minHeight=`${i}px`),t.value.includes(`width`)&&r?e.width=`${r}px`:t.value.includes(`minWidth`)&&r&&(e.minWidth=`${r}px`)}return e}),r]};exports.default=t;