const e=require("../../_util/canUseDom.js");let t=require("vue");var n=e.default()?window:null;function r(e,r){return(0,t.computed)(()=>{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}})}exports.default=r;