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