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