"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/slicedToArray"),t=require("lodash/get");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(e),u=a(t);exports.getPlaybackValue=function(e,t){var a=u.default(t,["data","activity_groups","start_timestamp"]),i=u.default(t,["data","activity_groups","end_timestamp"]),l=r.default(e,2),s=l[0],d=l[1],o=s&&d&&s!==d&&s>=a&&s<=i&&d>=a&&d<=i?e:[a,i];return{playbackValue:o,isValidPlayback:o[0]&&o[1]&&o[0]!==o[1]}};
//# sourceMappingURL=torqueAndHookloadUtils.js.map
