var o=function(o){var n,r=o.rowRefs,a=o.previousPositions,t=o.previousScrollTop,i=o.scrollContainer,l=o.duration,s=o.easing;i&&t>0&&(i.scrollTop=t);var e=null!==(n=null==i?void 0:i.scrollTop)&&void 0!==n?n:0,u=[];return r.forEach((function(o,n){var r=a.get(n);if(void 0!==r){var t=r-(o.getBoundingClientRect().top+e);if(!(Math.abs(t)<1)){var i=o.animate([{transform:"translateY(".concat(t,"px)")},{transform:"translateY(0)"}],{duration:l,easing:s,fill:"none"});u.push(i)}}})),{animations:u}};export{o as performFlipAnimation};
//# sourceMappingURL=performFlipAnimation.js.map
