import{computed as l}from"vue";import f from"../../_util/canUseDom.mjs";const o=f()?window:null;function d(t,n){return l(()=>{const{offsetHeader:r=0,offsetSummary:a=0,offsetScroll:s=0,getContainer:u=()=>o}=typeof t.value=="object"?t.value:{},c=u()||o,e=!!t.value;return{isSticky:e,stickyClassName:e?`${n.value}-sticky-holder`:"",offsetHeader:r,offsetSummary:a,offsetScroll:s,container:c}})}export{d as default};
