"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("@babel/runtime/helpers/defineProperty"));function r(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 n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?r(Object(o),!0).forEach((function(r){t.default(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var o=function(e,t,r){var n=t.x,o=void 0===n?0:n,c=t.width,i=void 0===c?0:c;return{new:r?2*t.x+t.width-e.clientX:e.clientX,min:o,max:o+i}},c={getCoordinates:o,getBarCoordinates:function(e,t,r,c){var i=t.clientX-t.x,u=c?t.width-i:i,a=o(e,r,c);return n(n({},a),{},{new:a.new-u})},getThumbStyles:function(e,t){return{left:"".concat(e,"%"),zIndex:t?10:2}},getBarStyles:function(e,t){return{left:"".concat(e,"%"),width:"".concat(t-e,"%")}}};exports.horizontalStrategy=c;
//# sourceMappingURL=horizontal.js.map
