function updateAnimation(animationAuxiliaryObject) {
  var animation = animationAuxiliaryObject.animation;
  var progress = animation.progressValue;
  progress = Math.max(progress, 0);
  progress = Math.min(progress, _sauce_constants__WEBPACK_IMPORTED_MODULE_0__.MAX_KEYFRAME);
  var timeRunningIteration = Math.max((0,_utilities_index__WEBPACK_IMPORTED_MODULE_1__.toMs)(animation.dur), 1) / 100 * progress;
  Object.assign(animationAuxiliaryObject, {
    startTimeOfTheIteration: (0,_utilities_index__WEBPACK_IMPORTED_MODULE_1__.getTimeNow)() - timeRunningIteration,
    timeRunningIteration: timeRunningIteration,
    iterationInterlacations: {
      timeConsumed: timeRunningIteration,
      completed: Math.floor(timeRunningIteration / _sauce_constants__WEBPACK_IMPORTED_MODULE_0__.INTERCALATION_TIME)
    }
  });
  var animationProgressObject = (0,_get_new_animation_progress__WEBPACK_IMPORTED_MODULE_3__.default)(animationAuxiliaryObject);
  Object.assign(animationAuxiliaryObject, {
    lastStartProgress: progress,
    countDriveLoops: animationAuxiliaryObject.countDriveLoops - 1
  });
  Object.assign(animation, {
    progress: progress,
    max: animationProgressObject.maxProgress
  });
  Object.assign(animationAuxiliaryObject, (0,_animation_mount_create_animation_auxiliary_object__WEBPACK_IMPORTED_MODULE_2__.propertiesForAnimationAuxiliaryObject)(animation));
  return animationAuxiliaryObject;
}
/**
 * Updates the animation with the new values of the properties.
 */
Updates the animation with the new values of the properties.
Updates the animation with the new values of the properties .
function updateAnimation(animationAuxiliaryObject) {
  var animation = animationAuxiliaryObject.animation;
  var progress = animation.progressValue;
  progress = Math.max(progress, 0);
  progress = Math.min(progress, _sauce_constants__WEBPACK_IMPORTED_MODULE_0__.MAX_KEYFRAME);
  var timeRunningIteration = Math.max((0,_utilities_index__WEBPACK_IMPORTED_MODULE_1__.toMs)(animation.dur), 1) / 100 * progress;
  Object.assign(animationAuxiliaryObject, {
    startTimeOfTheIteration: (0,_utilities_index__WEBPACK_IMPORTED_MODULE_1__.getTimeNow)() - timeRunningIteration,
    timeRunningIteration: timeRunningIteration,
    iterationInterlacations: {
      timeConsumed: timeRunningIteration,
      completed: Math.floor(timeRunningIteration / _sauce_constants__WEBPACK_IMPORTED_MODULE_0__.INTERCALATION_TIME)
    }
  });
  var animationProgressObject = (0,_get_new_animation_progress__WEBPACK_IMPORTED_MODULE_3__.default)(animationAuxiliaryObject);
  Object.assign(animationAuxiliaryObject, {
    lastStartProgress: progress,
    countDriveLoops: animationAuxiliaryObject.countDriveLoops - 1
  });
  Object.assign(animation, {
    progress: progress,
    max: animationProgressObject.maxProgress
  });
  Object.assign(animationAuxiliaryObject, (0,_animation_mount_create_animation_auxiliary_object__WEBPACK_IMPORTED_MODULE_2__.propertiesForAnimationAuxiliaryObject)(animation));
  return animationAuxiliaryObject;
}
function updateAnimation ( animationAuxiliaryObject ) { var animation = animationAuxiliaryObject . animation ; var progress = animation . progressValue ; progress = Math . max ( progress , 0 ) ; progress = Math . min ( progress , _sauce_constants__WEBPACK_IMPORTED_MODULE_0__ . MAX_KEYFRAME ) ; var timeRunningIteration = Math . max ( ( 0 , _utilities_index__WEBPACK_IMPORTED_MODULE_1__ . toMs ) ( animation . dur ) , 1 ) / 100 * progress ; Object . assign ( animationAuxiliaryObject , { startTimeOfTheIteration : ( 0 , _utilities_index__WEBPACK_IMPORTED_MODULE_1__ . getTimeNow ) ( ) - timeRunningIteration , timeRunningIteration : timeRunningIteration , iterationInterlacations : { timeConsumed : timeRunningIteration , completed : Math . floor ( timeRunningIteration / _sauce_constants__WEBPACK_IMPORTED_MODULE_0__ . INTERCALATION_TIME ) } } ) ; var animationProgressObject = ( 0 , _get_new_animation_progress__WEBPACK_IMPORTED_MODULE_3__ . default ) ( animationAuxiliaryObject ) ; Object . assign ( animationAuxiliaryObject , { lastStartProgress : progress , countDriveLoops : animationAuxiliaryObject . countDriveLoops - 1 } ) ; Object . assign ( animation , { progress : progress , max : animationProgressObject . maxProgress } ) ; Object . assign ( animationAuxiliaryObject , ( 0 , _animation_mount_create_animation_auxiliary_object__WEBPACK_IMPORTED_MODULE_2__ . propertiesForAnimationAuxiliaryObject ) ( animation ) ) ; return animationAuxiliaryObject ; }
Updates the animation with the new values of the properties.
Updates the animation with the new values of the properties .