import e from"@babel/runtime/helpers/defineProperty";function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(r){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}var n=function(e,t,r){return{new:r?2*t.y+t.height-e.clientY:e.clientY,min:t.y,max:t.y+t.height}},o={getCoordinates:n,getBarCoordinates:function(e,t,o,c){var i=t.clientY-t.y,p=c?t.height-i:i,u=n(e,o,c);return r(r({},u),{},{new:u.new-p})},getThumbStyles:function(e,t){return{top:"".concat(e,"%"),zIndex:t?10:2}},getBarStyles:function(e,t){return{top:"".concat(e,"%"),height:"".concat(t-e,"%")}}};export{o as verticalStrategy};
//# sourceMappingURL=vertical.js.map
