function animationIntercalationCompleted(animationAuxiliaryObject) {
  (0,_sauce_manage_memory_collections__WEBPACK_IMPORTED_MODULE_1__.releasesGarbageFromAnimations)();
  var aAuxiliaryObject = animationAuxiliaryObject;
  var animation = aAuxiliaryObject.animation;

  if (animation.state === _sauce_constants__WEBPACK_IMPORTED_MODULE_0__.ANIMATION_STATES[1]) {
    var reverseExecution = aAuxiliaryObject.reverseExecution;
    var maxProgress = animation.max;
    var progress = animation.progressValue;

    if (reverseExecution && progress < maxProgress || !reverseExecution && progress > maxProgress || progress === maxProgress) {
      animation.progressValue = maxProgress;
      var endDelay = Math.max((0,_utilities_to_ms__WEBPACK_IMPORTED_MODULE_3__.default)(animation.endDelay));

      if (endDelay > 0) {
        (0,_manage_animations_delay__WEBPACK_IMPORTED_MODULE_5__.default)(aAuxiliaryObject, endDelay, (0,_utilities_get_time_now__WEBPACK_IMPORTED_MODULE_2__.default)(), _animation_iteration_completed__WEBPACK_IMPORTED_MODULE_4__.default);
      } else {
        (0,_animation_iteration_completed__WEBPACK_IMPORTED_MODULE_4__.default)(aAuxiliaryObject);
      }
    } else {
      (0,_new_animation_intercalation__WEBPACK_IMPORTED_MODULE_6__.default)(aAuxiliaryObject);
    }
  }
}
/**
 * Checks whether the animation iteration has been completed or there should be more intercalations.
 */
Checks whether the animation iteration has been completed or there should be more intercalations.
Checks whether the animation iteration has been completed or there should be more intercalations .
function animationIntercalationCompleted(animationAuxiliaryObject) {
  (0,_sauce_manage_memory_collections__WEBPACK_IMPORTED_MODULE_1__.releasesGarbageFromAnimations)();
  var aAuxiliaryObject = animationAuxiliaryObject;
  var animation = aAuxiliaryObject.animation;
  if (animation.state === _sauce_constants__WEBPACK_IMPORTED_MODULE_0__.ANIMATION_STATES[1]) {
    var reverseExecution = aAuxiliaryObject.reverseExecution;
    var maxProgress = animation.max;
    var progress = animation.progressValue;
    if (reverseExecution && progress < maxProgress || !reverseExecution && progress > maxProgress || progress === maxProgress) {
      animation.progressValue = maxProgress;
      var endDelay = Math.max((0,_utilities_to_ms__WEBPACK_IMPORTED_MODULE_3__.default)(animation.endDelay));
      if (endDelay > 0) {
        (0,_manage_animations_delay__WEBPACK_IMPORTED_MODULE_5__.default)(aAuxiliaryObject, endDelay, (0,_utilities_get_time_now__WEBPACK_IMPORTED_MODULE_2__.default)(), _animation_iteration_completed__WEBPACK_IMPORTED_MODULE_4__.default);
      } else {
        (0,_animation_iteration_completed__WEBPACK_IMPORTED_MODULE_4__.default)(aAuxiliaryObject);
      }
    } else {
      (0,_new_animation_intercalation__WEBPACK_IMPORTED_MODULE_6__.default)(aAuxiliaryObject);
    }
  }
}
function animationIntercalationCompleted ( animationAuxiliaryObject ) { ( 0 , _sauce_manage_memory_collections__WEBPACK_IMPORTED_MODULE_1__ . releasesGarbageFromAnimations ) ( ) ; var aAuxiliaryObject = animationAuxiliaryObject ; var animation = aAuxiliaryObject . animation ; if ( animation . state === _sauce_constants__WEBPACK_IMPORTED_MODULE_0__ . ANIMATION_STATES [ 1 ] ) { var reverseExecution = aAuxiliaryObject . reverseExecution ; var maxProgress = animation . max ; var progress = animation . progressValue ; if ( reverseExecution && progress < maxProgress || ! reverseExecution && progress > maxProgress || progress === maxProgress ) { animation . progressValue = maxProgress ; var endDelay = Math . max ( ( 0 , _utilities_to_ms__WEBPACK_IMPORTED_MODULE_3__ . default ) ( animation . endDelay ) ) ; if ( endDelay > 0 ) { ( 0 , _manage_animations_delay__WEBPACK_IMPORTED_MODULE_5__ . default ) ( aAuxiliaryObject , endDelay , ( 0 , _utilities_get_time_now__WEBPACK_IMPORTED_MODULE_2__ . default ) ( ) , _animation_iteration_completed__WEBPACK_IMPORTED_MODULE_4__ . default ) ; } else { ( 0 , _animation_iteration_completed__WEBPACK_IMPORTED_MODULE_4__ . default ) ( aAuxiliaryObject ) ; } } else { ( 0 , _new_animation_intercalation__WEBPACK_IMPORTED_MODULE_6__ . default ) ( aAuxiliaryObject ) ; } } }
Checks whether the animation iteration has been completed or there should be more intercalations.
Checks whether the animation iteration has been completed or there should be more intercalations .