window.adf || (window.adf = {});
$adf$$.$shared$ = $adf$$.$shared$ || {};
$adf$$.$shared$.$impl$ = $adf$$.$shared$.$impl$ || {};
$adf$$.$shared$.$impl$.$animationUtils$ = {};
$adf$$.$shared$.$impl$.$animationUtils$.$_browserSpecificNames$ = {};
$adf$$.$shared$.$impl$.$animationUtils$.transition = function $$adf$$$$shared$$$impl$$$animationUtils$$transition$($transitionType$$, $currentElement$$, $newElement$$2$$, $properties$$49$$) {
  function $cancelFunction$$() {
  }
  var $dimensionsFromParent$$ = $properties$$49$$.dimensionsFromParent, $finishedFunction_transitionFunction$$ = $properties$$49$$.finishedFunction, $animationEnabled_direction$$4$$ = $properties$$49$$.animationEnabled, $isRtl$$1_nothingToAnimate$$ = $properties$$49$$.isRtl, $fineLogger$$ = $properties$$49$$.fineLogger, $hasCurrent$$ = $currentElement$$ != $JSCompiler_alias_NULL$$, $hasNew$$ = $newElement$$2$$ != $JSCompiler_alias_NULL$$, $animationUtils$$ = $adf$$.$shared$.$impl$.$animationUtils$, 
  $animationContext$$ = new $animationUtils$$.$AnimationContext$($finishedFunction_transitionFunction$$, $properties$$49$$.callbackParams);
  $animationUtils$$.$_isRtl$ = $isRtl$$1_nothingToAnimate$$;
  $animationUtils$$.$_fineLogger$ = $fineLogger$$;
  $animationUtils$$.$_agentTypeAndVersion$ == $JSCompiler_alias_NULL$$ && ($animationUtils$$.$_agentTypeAndVersion$ = $animationUtils$$.$_getAgentTypeAndVersion$(navigator.userAgent));
  try {
    $isRtl$$1_nothingToAnimate$$ = $JSCompiler_alias_FALSE$$;
    !$hasCurrent$$ && !$hasNew$$ ? $isRtl$$1_nothingToAnimate$$ = $JSCompiler_alias_TRUE$$ : $hasCurrent$$ && ($hasNew$$ && $currentElement$$.parentNode != $newElement$$2$$.parentNode) && ($isRtl$$1_nothingToAnimate$$ = $JSCompiler_alias_TRUE$$, $animationUtils$$.$_fineLogger$("AdfAnimationUtils: transition common parent prerequisite was violated"));
    $hasCurrent$$ && "none" == $currentElement$$.style.display && ($isRtl$$1_nothingToAnimate$$ = $JSCompiler_alias_TRUE$$, $animationUtils$$.$_fineLogger$("AdfAnimationUtils: transition currentElement display !\x3d none prerequisite was violated"));
    $hasNew$$ && "none" == $newElement$$2$$.style.display && ($isRtl$$1_nothingToAnimate$$ = $JSCompiler_alias_TRUE$$, $animationUtils$$.$_fineLogger$("AdfAnimationUtils: transition newElement display !\x3d none prerequisite was violated"));
    if($isRtl$$1_nothingToAnimate$$) {
      return $finishedFunction_transitionFunction$$ != $JSCompiler_alias_NULL$$ && $adf$$.$shared$.$impl$.$animationUtils$.$_requestAnimationFrame$($animationUtils$$.$getProxyFunction$($animationContext$$, $animationContext$$.$_performFinish$)), $cancelFunction$$
    }
    $animationEnabled_direction$$4$$ || ($transitionType$$ = "none");
    $animationEnabled_direction$$4$$ = $finishedFunction_transitionFunction$$ = $JSCompiler_alias_NULL$$;
    if($transitionType$$ != $JSCompiler_alias_NULL$$) {
      var $agentType$$ = $animationUtils$$.$_agentTypeAndVersion$[0], $agentVersion$$5$$ = $animationUtils$$.$_agentTypeAndVersion$[1];
      0 == $transitionType$$.indexOf("slide") && $animationUtils$$.$_isMinimumAgentMet$($agentType$$, $agentVersion$$5$$, "gecko", 16, "trident", 6, "webkit", 533.1) ? ($animationEnabled_direction$$4$$ = $transitionType$$.substring(5).toLowerCase(), $finishedFunction_transitionFunction$$ = $animationUtils$$.$_slide$) : 0 == $transitionType$$.indexOf("flip") && $animationUtils$$.$_isMinimumAgentMet$($agentType$$, $agentVersion$$5$$, "gecko", 19, "trident", 6, "webkit", 533.1) ? ($animationEnabled_direction$$4$$ = 
      $transitionType$$.substring(4).toLowerCase(), $finishedFunction_transitionFunction$$ = $animationUtils$$.$_flip$) : "fade" == $transitionType$$ && $animationUtils$$.$_isMinimumAgentMet$($agentType$$, $agentVersion$$5$$, "gecko", 16, "trident", 6, "webkit", 533.1) && ($finishedFunction_transitionFunction$$ = $animationUtils$$.$_fade$)
    }
    "" == $animationEnabled_direction$$4$$ && ($animationEnabled_direction$$4$$ = "start");
    if($finishedFunction_transitionFunction$$ == $JSCompiler_alias_NULL$$ || $hasCurrent$$ && !$currentElement$$.addEventListener || $hasNew$$ && !$newElement$$2$$.addEventListener) {
      $animationUtils$$.$_restoreStyles$($currentElement$$), $animationUtils$$.$_restoreStyles$($newElement$$2$$), $hasCurrent$$ && ($currentElement$$.style.display = "none"), $adf$$.$shared$.$impl$.$animationUtils$.$_requestAnimationFrame$($animationUtils$$.$getProxyFunction$($animationContext$$, $animationContext$$.$_performFinish$))
    }else {
      if($hasCurrent$$ && $hasNew$$ && !$dimensionsFromParent$$) {
        var $currentElementStyle$$ = $currentElement$$.style, $currentWidth$$ = $currentElement$$.offsetWidth, $currentHeight$$ = $currentElement$$.offsetHeight;
        $currentElementStyle$$.position = "absolute";
        $currentElementStyle$$.top = "0px";
        $currentElementStyle$$.width = $currentWidth$$ + "px";
        $currentElementStyle$$.height = $currentHeight$$ + "px"
      }
      $cancelFunction$$ = $finishedFunction_transitionFunction$$($animationContext$$, $currentElement$$, $newElement$$2$$, $properties$$49$$, $dimensionsFromParent$$, $animationEnabled_direction$$4$$)
    }
  }catch($problem$$2$$) {
    $animationUtils$$.$_fineLogger$("AdfAnimationUtils: unable to perform transition due to problem:"), $animationUtils$$.$_fineLogger$($problem$$2$$)
  }
  return $cancelFunction$$
};
$adf$$.$shared$.$impl$.$animationUtils$.$getProxyFunction$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$getProxyFunction$$($owner$$, $func$$13$$) {
  var $proxyFunction$$1$$ = new Function("var f\x3darguments.callee; return f._func.apply(f._owner, arguments);");
  $proxyFunction$$1$$._owner = $owner$$;
  $proxyFunction$$1$$._func = $func$$13$$;
  return $proxyFunction$$1$$
};
$adf$$.$shared$.$impl$.$animationUtils$.$_fade$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_fade$$($animationContext$$1$$, $currentElement$$1$$, $newElement$$3$$) {
  var $animationUtils$$1$$ = $adf$$.$shared$.$impl$.$animationUtils$, $hasCurrent$$1$$ = $currentElement$$1$$ != $JSCompiler_alias_NULL$$, $hasNew$$1$$ = $newElement$$3$$ != $JSCompiler_alias_NULL$$;
  $hasCurrent$$1$$ && $animationUtils$$1$$.$_setOpacity$($currentElement$$1$$, "1");
  $hasNew$$1$$ && ($animationUtils$$1$$.$_saveStyles$($newElement$$3$$), $animationUtils$$1$$.$_setOpacity$($newElement$$3$$, "0"), $newElement$$3$$.style.zIndex = "1", $adf$$.$shared$.$impl$.$animationUtils$.$_ensureAppliedStyle$($newElement$$3$$, "opacity", 1));
  $adf$$.$shared$.$impl$.$animationUtils$.$_requestAnimationFrame$(function() {
    $hasCurrent$$1$$ && $animationUtils$$1$$.$_setTransition$($currentElement$$1$$, "all .2s ease-in-out");
    $hasNew$$1$$ && $animationUtils$$1$$.$_setTransition$($newElement$$3$$, "all .2s ease-in-out");
    $hasCurrent$$1$$ && $animationContext$$1$$.$addTransitionEndA$($currentElement$$1$$, function() {
      $currentElement$$1$$.style.display = "none"
    });
    $hasNew$$1$$ && $animationContext$$1$$.$addTransitionEndB$($newElement$$3$$, function() {
      $animationUtils$$1$$.$_restoreStyles$($newElement$$3$$)
    });
    $hasCurrent$$1$$ && $animationUtils$$1$$.$_setOpacity$($currentElement$$1$$, "0");
    $hasNew$$1$$ && $animationUtils$$1$$.$_setOpacity$($newElement$$3$$, "1")
  });
  return $animationUtils$$1$$.$getProxyFunction$($animationContext$$1$$, $animationContext$$1$$.$cancelFunction$)
};
$adf$$.$shared$.$impl$.$animationUtils$.$_slide$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_slide$$($animationContext$$2$$, $currentElement$$2$$, $newElement$$4$$, $back_offsetShift_properties$$51_transformProperty$$, $dimensionsFromParent$$2_offsetProperty_size$$11$$, $direction$$6$$) {
  var $animationUtils$$2$$ = $adf$$.$shared$.$impl$.$animationUtils$, $hasCurrent$$2$$ = $currentElement$$2$$ != $JSCompiler_alias_NULL$$, $hasNew$$2$$ = $newElement$$4$$ != $JSCompiler_alias_NULL$$;
  $hasNew$$2$$ && $animationUtils$$2$$.$_saveStyles$($newElement$$4$$);
  var $vertical$$1$$ = $JSCompiler_alias_FALSE$$;
  $back_offsetShift_properties$$51_transformProperty$$ = $JSCompiler_alias_FALSE$$;
  if("up" == $direction$$6$$ || "down" == $direction$$6$$) {
    $vertical$$1$$ = $JSCompiler_alias_TRUE$$
  }
  if("right" == $direction$$6$$ || "down" == $direction$$6$$) {
    $back_offsetShift_properties$$51_transformProperty$$ = $JSCompiler_alias_TRUE$$
  }
  $animationUtils$$2$$.$_isRtl$ ? "start" == $direction$$6$$ && ($back_offsetShift_properties$$51_transformProperty$$ = $JSCompiler_alias_TRUE$$) : "end" == $direction$$6$$ && ($back_offsetShift_properties$$51_transformProperty$$ = $JSCompiler_alias_TRUE$$);
  var $fadeCurrent$$ = !$dimensionsFromParent$$2_offsetProperty_size$$11$$;
  $hasCurrent$$2$$ && $fadeCurrent$$ && $animationUtils$$2$$.$_setOpacity$($currentElement$$2$$, "1");
  var $translateDistance$$;
  $dimensionsFromParent$$2_offsetProperty_size$$11$$ = $vertical$$1$$ ? "offsetHeight" : "offsetWidth";
  $dimensionsFromParent$$2_offsetProperty_size$$11$$ = $back_offsetShift_properties$$51_transformProperty$$ ? $hasNew$$2$$ ? $newElement$$4$$[$dimensionsFromParent$$2_offsetProperty_size$$11$$] : $currentElement$$2$$[$dimensionsFromParent$$2_offsetProperty_size$$11$$] : $hasCurrent$$2$$ ? $currentElement$$2$$[$dimensionsFromParent$$2_offsetProperty_size$$11$$] : $newElement$$4$$[$dimensionsFromParent$$2_offsetProperty_size$$11$$];
  $back_offsetShift_properties$$51_transformProperty$$ = $back_offsetShift_properties$$51_transformProperty$$ ? -1 * $dimensionsFromParent$$2_offsetProperty_size$$11$$ : $dimensionsFromParent$$2_offsetProperty_size$$11$$;
  $translateDistance$$ = -1 * $back_offsetShift_properties$$51_transformProperty$$;
  $hasNew$$2$$ && ($vertical$$1$$ ? $animationUtils$$2$$.$_setTransformTranslate$($newElement$$4$$, "0," + $back_offsetShift_properties$$51_transformProperty$$ + "px") : $animationUtils$$2$$.$_setTransformTranslate$($newElement$$4$$, $back_offsetShift_properties$$51_transformProperty$$ + "px,0"), $back_offsetShift_properties$$51_transformProperty$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("transform"), $adf$$.$shared$.$impl$.$animationUtils$.$_ensureAppliedStyle$($newElement$$4$$, 
  $back_offsetShift_properties$$51_transformProperty$$, "none"));
  $adf$$.$shared$.$impl$.$animationUtils$.$_requestAnimationFrame$(function() {
    $hasCurrent$$2$$ && $animationUtils$$2$$.$_setTransition$($currentElement$$2$$, "all 125ms ease-in-out");
    $hasNew$$2$$ && $animationUtils$$2$$.$_setTransition$($newElement$$4$$, "all 125ms ease-in-out");
    $hasCurrent$$2$$ && $animationContext$$2$$.$addTransitionEndA$($currentElement$$2$$, function() {
      $currentElement$$2$$.style.display = "none"
    });
    $hasNew$$2$$ && $animationContext$$2$$.$addTransitionEndB$($newElement$$4$$, function() {
      $animationUtils$$2$$.$_restoreStyles$($newElement$$4$$)
    });
    $vertical$$1$$ ? $hasCurrent$$2$$ && $animationUtils$$2$$.$_setTransformTranslate$($currentElement$$2$$, "0," + $translateDistance$$ + "px") : $hasCurrent$$2$$ && $animationUtils$$2$$.$_setTransformTranslate$($currentElement$$2$$, $translateDistance$$ + "px,0");
    $hasNew$$2$$ && $animationUtils$$2$$.$_setTransformTranslate$($newElement$$4$$, "0,0");
    $hasCurrent$$2$$ && $fadeCurrent$$ && $animationUtils$$2$$.$_setOpacity$($currentElement$$2$$, "0")
  });
  return $animationUtils$$2$$.$getProxyFunction$($animationContext$$2$$, $animationContext$$2$$.$cancelFunction$)
};
$adf$$.$shared$.$impl$.$animationUtils$.$_flip$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_flip$$($animationContext$$3$$, $currentElement$$3$$, $newElement$$5$$, $doInsetFlip_properties$$52$$, $animationUtils$$3_dimensionsFromParent$$3$$, $agentType$$1_direction$$7$$) {
  $animationUtils$$3_dimensionsFromParent$$3$$ = $adf$$.$shared$.$impl$.$animationUtils$;
  var $hasCurrent$$3$$ = $currentElement$$3$$ != $JSCompiler_alias_NULL$$, $hasNew$$3$$ = $newElement$$5$$ != $JSCompiler_alias_NULL$$, $parentElement$$4$$ = $JSCompiler_alias_NULL$$;
  $hasCurrent$$3$$ ? $parentElement$$4$$ = $currentElement$$3$$.parentNode : $hasNew$$3$$ && ($parentElement$$4$$ = $newElement$$5$$.parentNode);
  $hasCurrent$$3$$ && $animationUtils$$3_dimensionsFromParent$$3$$.$_saveStyles$($currentElement$$3$$);
  $hasNew$$3$$ && $animationUtils$$3_dimensionsFromParent$$3$$.$_saveStyles$($newElement$$5$$);
  $animationUtils$$3_dimensionsFromParent$$3$$.$_saveStyles$($parentElement$$4$$);
  var $vertical$$2$$ = $JSCompiler_alias_FALSE$$, $back$$1$$ = $JSCompiler_alias_FALSE$$;
  if("up" == $agentType$$1_direction$$7$$ || "down" == $agentType$$1_direction$$7$$) {
    $vertical$$2$$ = $JSCompiler_alias_TRUE$$
  }
  if("right" == $agentType$$1_direction$$7$$ || "up" == $agentType$$1_direction$$7$$) {
    $back$$1$$ = $JSCompiler_alias_TRUE$$
  }
  $animationUtils$$3_dimensionsFromParent$$3$$.$_isRtl$ ? "start" == $agentType$$1_direction$$7$$ && ($back$$1$$ = $JSCompiler_alias_TRUE$$) : "end" == $agentType$$1_direction$$7$$ && ($back$$1$$ = $JSCompiler_alias_TRUE$$);
  $agentType$$1_direction$$7$$ = $animationUtils$$3_dimensionsFromParent$$3$$.$_agentTypeAndVersion$[0];
  $doInsetFlip_properties$$52$$ = $JSCompiler_alias_TRUE$$ == $doInsetFlip_properties$$52$$.parentFlipAllowed && "trident" != $agentType$$1_direction$$7$$;
  "webkit" == $agentType$$1_direction$$7$$ && 534.3 > $animationUtils$$3_dimensionsFromParent$$3$$.$_agentTypeAndVersion$[1] && ($doInsetFlip_properties$$52$$ = $JSCompiler_alias_FALSE$$);
  $doInsetFlip_properties$$52$$ ? $animationUtils$$3_dimensionsFromParent$$3$$.$_flipInset$($animationContext$$3$$, $animationUtils$$3_dimensionsFromParent$$3$$, $currentElement$$3$$, $hasCurrent$$3$$, $newElement$$5$$, $hasNew$$3$$, $parentElement$$4$$, $vertical$$2$$, $back$$1$$) : $animationUtils$$3_dimensionsFromParent$$3$$.$_flipOnPageLayer$($animationContext$$3$$, $animationUtils$$3_dimensionsFromParent$$3$$, $currentElement$$3$$, $hasCurrent$$3$$, $newElement$$5$$, $hasNew$$3$$, $parentElement$$4$$, 
  $vertical$$2$$, $back$$1$$);
  return $animationUtils$$3_dimensionsFromParent$$3$$.$getProxyFunction$($animationContext$$3$$, $animationContext$$3$$.$cancelFunction$)
};
$adf$$.$shared$.$impl$.$animationUtils$.$_flipOnPageLayer$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_flipOnPageLayer$$($animationContext$$4$$, $animationUtils$$4$$, $currentElement$$4$$, $hasCurrent$$4$$, $newElement$$6$$, $hasNew$$4$$, $parentElement$$5$$, $vertical$$3$$, $back$$2$$) {
  var $agentType$$2_offsetWidth$$1_perspectiveProperty$$ = 0, $agentVersion$$6_offsetHeight$$1$$ = 0;
  $hasNew$$4$$ && ($agentType$$2_offsetWidth$$1_perspectiveProperty$$ = $newElement$$6$$.offsetWidth, $agentVersion$$6_offsetHeight$$1$$ = $newElement$$6$$.offsetHeight);
  $hasCurrent$$4$$ && ($agentType$$2_offsetWidth$$1_perspectiveProperty$$ = Math.max($agentType$$2_offsetWidth$$1_perspectiveProperty$$, $currentElement$$4$$.offsetWidth), $agentVersion$$6_offsetHeight$$1$$ = Math.max($agentVersion$$6_offsetHeight$$1$$, $currentElement$$4$$.offsetHeight));
  if($hasNew$$4$$) {
    $animationUtils$$4$$.$_setBackfaceVisibility$($newElement$$6$$);
    $animationUtils$$4$$.$_setTransformStyle$($newElement$$6$$);
    $newElement$$6$$.style.width = $agentType$$2_offsetWidth$$1_perspectiveProperty$$ + "px";
    $newElement$$6$$.style.height = $agentVersion$$6_offsetHeight$$1$$ + "px";
    $vertical$$3$$ ? $animationUtils$$4$$.$_setTransformRotateX$($newElement$$6$$, $back$$2$$ ? "-180deg" : "180deg") : $animationUtils$$4$$.$_setTransformRotateY$($newElement$$6$$, $back$$2$$ ? "-180deg" : "180deg");
    var $transformProperty$$1$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("transform");
    $adf$$.$shared$.$impl$.$animationUtils$.$_ensureAppliedStyle$($newElement$$6$$, $transformProperty$$1$$, "none")
  }
  $hasCurrent$$4$$ && ($animationUtils$$4$$.$_setBackfaceVisibility$($currentElement$$4$$), $animationUtils$$4$$.$_setTransformStyle$($currentElement$$4$$), $currentElement$$4$$.style.width = $agentType$$2_offsetWidth$$1_perspectiveProperty$$ + "px", $currentElement$$4$$.style.height = $agentVersion$$6_offsetHeight$$1$$ + "px", $vertical$$3$$ ? $animationUtils$$4$$.$_setTransformRotateX$($currentElement$$4$$, "0deg") : $animationUtils$$4$$.$_setTransformRotateY$($currentElement$$4$$, "0deg"));
  $agentType$$2_offsetWidth$$1_perspectiveProperty$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_agentTypeAndVersion$[0];
  $agentVersion$$6_offsetHeight$$1$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_agentTypeAndVersion$[1];
  "webkit" == $agentType$$2_offsetWidth$$1_perspectiveProperty$$ ? "webkit" == $agentType$$2_offsetWidth$$1_perspectiveProperty$$ && 534.3 <= $agentVersion$$6_offsetHeight$$1$$ && ($agentType$$2_offsetWidth$$1_perspectiveProperty$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("perspective"), $parentElement$$5$$.style[$agentType$$2_offsetWidth$$1_perspectiveProperty$$] = "2000px") : "trident" != $agentType$$2_offsetWidth$$1_perspectiveProperty$$ && ($parentElement$$5$$.style.perspective = 
  "2000px");
  $adf$$.$shared$.$impl$.$animationUtils$.$_requestAnimationFrame$(function() {
    $hasCurrent$$4$$ && $animationUtils$$4$$.$_setTransition$($currentElement$$4$$, "all .2s ease-in-out");
    $hasNew$$4$$ && $animationUtils$$4$$.$_setTransition$($newElement$$6$$, "all .2s ease-in-out");
    $hasCurrent$$4$$ && $animationContext$$4$$.$addTransitionEndA$($currentElement$$4$$, function() {
      $currentElement$$4$$.style.display = "none";
      $animationUtils$$4$$.$_restoreStyles$($currentElement$$4$$);
      $animationUtils$$4$$.$_restoreStyles$($parentElement$$5$$)
    });
    $hasNew$$4$$ && $animationContext$$4$$.$addTransitionEndB$($newElement$$6$$, function() {
      $animationUtils$$4$$.$_restoreStyles$($newElement$$6$$);
      $animationUtils$$4$$.$_restoreStyles$($parentElement$$5$$)
    });
    $vertical$$3$$ ? ($hasCurrent$$4$$ && $animationUtils$$4$$.$_setTransformRotateX$($currentElement$$4$$, $back$$2$$ ? "180deg" : "-180deg"), $hasNew$$4$$ && $animationUtils$$4$$.$_setTransformRotateX$($newElement$$6$$, "0deg")) : ($hasCurrent$$4$$ && $animationUtils$$4$$.$_setTransformRotateY$($currentElement$$4$$, $back$$2$$ ? "180deg" : "-180deg"), $hasNew$$4$$ && $animationUtils$$4$$.$_setTransformRotateY$($newElement$$6$$, "0deg"))
  })
};
$adf$$.$shared$.$impl$.$animationUtils$.$_flipInset$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_flipInset$$($animationContext$$5$$, $animationUtils$$5$$, $currentElement$$5$$, $hasCurrent$$5$$, $newElement$$7$$, $hasNew$$5$$, $parentElement$$6$$, $vertical$$4$$, $back$$3$$) {
  var $grandparentElement$$ = $parentElement$$6$$.parentNode;
  $animationContext$$5$$.$addExtraCancelFunction$(function() {
    $animationUtils$$5$$.$_flipInsetExtraCancel$($parentElement$$6$$, $grandparentElement$$)
  });
  $animationUtils$$5$$.$_saveStyles$($grandparentElement$$);
  var $offsetWidth$$2_perspectiveProperty$$1$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("perspective");
  $grandparentElement$$.style[$offsetWidth$$2_perspectiveProperty$$1$$] = "2000px";
  $animationUtils$$5$$.$_setTransformStyle$($parentElement$$6$$);
  var $offsetHeight$$2$$ = $offsetWidth$$2_perspectiveProperty$$1$$ = 0;
  $hasNew$$5$$ && ($offsetWidth$$2_perspectiveProperty$$1$$ = $newElement$$7$$.offsetWidth, $offsetHeight$$2$$ = $newElement$$7$$.offsetHeight);
  $hasCurrent$$5$$ && ($offsetWidth$$2_perspectiveProperty$$1$$ = Math.max($offsetWidth$$2_perspectiveProperty$$1$$, $currentElement$$5$$.offsetWidth), $offsetHeight$$2$$ = Math.max($offsetHeight$$2$$, $currentElement$$5$$.offsetHeight));
  if($hasNew$$5$$) {
    $animationUtils$$5$$.$_setBackfaceVisibility$($newElement$$7$$);
    $newElement$$7$$.style.width = $offsetWidth$$2_perspectiveProperty$$1$$ + "px";
    $newElement$$7$$.style.height = $offsetHeight$$2$$ + "px";
    $vertical$$4$$ ? $animationUtils$$5$$.$_setTransformValue$($newElement$$7$$, "perspective(2000px) rotateX(" + ($back$$3$$ ? "180deg" : "-180deg") + ")") : $animationUtils$$5$$.$_setTransformValue$($newElement$$7$$, "perspective(2000px) rotateY(" + ($back$$3$$ ? "-180deg" : "180deg") + ")");
    var $transformProperty$$2$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("transform");
    $adf$$.$shared$.$impl$.$animationUtils$.$_ensureAppliedStyle$($newElement$$7$$, $transformProperty$$2$$, "none")
  }
  $hasCurrent$$5$$ && ($animationUtils$$5$$.$_setBackfaceVisibility$($currentElement$$5$$), $currentElement$$5$$.style.width = $offsetWidth$$2_perspectiveProperty$$1$$ + "px", $currentElement$$5$$.style.height = $offsetHeight$$2$$ + "px", $vertical$$4$$ ? $animationUtils$$5$$.$_setTransformValue$($currentElement$$5$$, "perspective(2000px) rotateX(0deg)") : $animationUtils$$5$$.$_setTransformValue$($currentElement$$5$$, "perspective(2000px) rotateY(0deg)"));
  $vertical$$4$$ ? $animationUtils$$5$$.$_setTransformOrigin$($parentElement$$6$$, $back$$3$$ ? "center bottom" : "center top") : $animationUtils$$5$$.$_setTransformOrigin$($parentElement$$6$$, $back$$3$$ ? "left center" : "right center");
  $adf$$.$shared$.$impl$.$animationUtils$.$_requestAnimationFrame$(function() {
    $animationUtils$$5$$.$_setTransition$($parentElement$$6$$, "all .2s ease-in-out");
    $animationContext$$5$$.$addTransitionEndA$($parentElement$$6$$, function() {
      $hasCurrent$$5$$ && ($animationUtils$$5$$.$_restoreStyles$($currentElement$$5$$), $currentElement$$5$$.style.display = "none");
      $hasNew$$5$$ && $animationUtils$$5$$.$_restoreStyles$($newElement$$7$$);
      $animationUtils$$5$$.$_flipInsetExtraCancel$($parentElement$$6$$, $grandparentElement$$)
    });
    $vertical$$4$$ ? $animationUtils$$5$$.$_setTransformValue$($parentElement$$6$$, "perspective(2000px) " + ($back$$3$$ ? "translateY(-100%) rotateX(180deg)" : "translateY(100%) rotateX(-180deg)")) : $animationUtils$$5$$.$_setTransformValue$($parentElement$$6$$, "perspective(2000px) " + ($back$$3$$ ? "translateX(100%) rotateY(180deg)" : "translateX(-100%) rotateY(-180deg)"))
  })
};
$adf$$.$shared$.$impl$.$animationUtils$.$_flipInsetExtraCancel$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_flipInsetExtraCancel$$($parentElement$$7$$, $grandparentElement$$1$$) {
  var $animationUtils$$6$$ = $adf$$.$shared$.$impl$.$animationUtils$;
  $animationUtils$$6$$.$_restoreStyles$($parentElement$$7$$);
  $animationUtils$$6$$.$_restoreStyles$($grandparentElement$$1$$)
};
$adf$$.$shared$.$impl$.$animationUtils$.$_ensureAppliedStyle$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_ensureAppliedStyle$$($actualValue_element$$173$$, $propertyName$$39$$, $valueItShouldNotBe$$) {
  $actualValue_element$$173$$.ownerDocument.defaultView.getComputedStyle != $JSCompiler_alias_NULL$$ && ($actualValue_element$$173$$ = $actualValue_element$$173$$.ownerDocument.defaultView.getComputedStyle($actualValue_element$$173$$)[$propertyName$$39$$], $actualValue_element$$173$$ == $valueItShouldNotBe$$ && $adf$$.$shared$.$impl$.$animationUtils$.$_fineLogger$("AdfAnimationUtils: computed style had unexpected value: " + $actualValue_element$$173$$))
};
$adf$$.$shared$.$impl$.$animationUtils$.$_getTransitionEndEventName$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_getTransitionEndEventName$$() {
  if($adf$$.$shared$.$impl$.$animationUtils$.$_transitionEndEventName$ == $JSCompiler_alias_NULL$$) {
    var $eventName$$1$$ = "transitionend", $element$$174$$ = document.createElement("div"), $possibleEventNames$$ = {WebkitTransition:"webkitTransitionEnd", transition:"transitionend", OTransition:"oTransitionEnd", MozTransition:"transitionend"}, $stylePropertyName$$;
    for($stylePropertyName$$ in $possibleEventNames$$) {
      if($element$$174$$.style[$stylePropertyName$$] !== $JSCompiler_alias_VOID$$) {
        $eventName$$1$$ = $possibleEventNames$$[$stylePropertyName$$];
        break
      }
    }
    $adf$$.$shared$.$impl$.$animationUtils$.$_transitionEndEventName$ = $eventName$$1$$
  }
  return $adf$$.$shared$.$impl$.$animationUtils$.$_transitionEndEventName$
};
$adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_getBrowserSpecificName$$($baseName$$) {
  if($adf$$.$shared$.$impl$.$animationUtils$.$_browserSpecificNames$[$baseName$$] == $JSCompiler_alias_NULL$$) {
    var $name$$76$$ = $baseName$$, $capitalizedName$$ = $baseName$$.charAt(0).toUpperCase() + $baseName$$.substring(1), $element$$175$$ = document.createElement("div"), $possibleNames$$ = {};
    $possibleNames$$["Webkit" + $capitalizedName$$] = "webkit" + $capitalizedName$$;
    $possibleNames$$[$name$$76$$] = $name$$76$$;
    $possibleNames$$["O" + $capitalizedName$$] = "o" + $capitalizedName$$;
    $possibleNames$$["Moz" + $capitalizedName$$] = "moz" + $capitalizedName$$;
    for(var $stylePropertyName$$1$$ in $possibleNames$$) {
      if($element$$175$$.style[$stylePropertyName$$1$$] !== $JSCompiler_alias_VOID$$) {
        $name$$76$$ = $stylePropertyName$$1$$;
        break
      }
    }
    $adf$$.$shared$.$impl$.$animationUtils$.$_browserSpecificNames$[$baseName$$] = $name$$76$$
  }
  return $adf$$.$shared$.$impl$.$animationUtils$.$_browserSpecificNames$[$baseName$$]
};
$adf$$.$shared$.$impl$.$animationUtils$.$_requestAnimationFrame$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_requestAnimationFrame$$($callback$$39$$) {
  for(var $lastTime$$ = 0, $vendors$$ = ["webkit", "ms", "moz", "o"], $x$$58$$ = 0;$x$$58$$ < $vendors$$.length && !window.$requestAnimationFrame$;++$x$$58$$) {
    window.$requestAnimationFrame$ = window[$vendors$$[$x$$58$$] + "RequestAnimationFrame"], window.$cancelAnimationFrame$ = window[$vendors$$[$x$$58$$] + "CancelAnimationFrame"] || window[$vendors$$[$x$$58$$] + "CancelRequestAnimationFrame"]
  }
  window.$requestAnimationFrame$ || (window.$requestAnimationFrame$ = function $window$$requestAnimationFrame$$($callback$$39$$) {
    var $vendors$$ = (new Date).getTime(), $x$$58$$ = Math.max(0, 16 - ($vendors$$ - $lastTime$$)), $id$$243$$ = window.setTimeout(function() {
      $callback$$39$$($vendors$$ + $x$$58$$)
    }, $x$$58$$);
    $lastTime$$ = $vendors$$ + $x$$58$$;
    return $id$$243$$
  });
  window.$cancelAnimationFrame$ || (window.$cancelAnimationFrame$ = function $window$$cancelAnimationFrame$$($callback$$39$$) {
    clearTimeout($callback$$39$$)
  });
  window.$requestAnimationFrame$($callback$$39$$)
};
$adf$$.$shared$.$impl$.$animationUtils$.$_isMinimumAgentMet$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_isMinimumAgentMet$$($actualAgentType$$, $actualAgentVersion$$) {
  var $argCount$$5$$ = arguments.length;
  if(1 == $argCount$$5$$ % 2) {
    return $adf$$.$shared$.$impl$.$animationUtils$.$_fineLogger$("AdfAnimationUtils: invalid number of minimum agent requirement arguments: " + $argCount$$5$$), $JSCompiler_alias_FALSE$$
  }
  for(var $i$$147$$ = 2;$i$$147$$ <= $argCount$$5$$ - 2;$i$$147$$ += 2) {
    if($actualAgentType$$ == arguments[$i$$147$$]) {
      if($actualAgentVersion$$ >= arguments[1 + $i$$147$$]) {
        return $JSCompiler_alias_TRUE$$
      }
      break
    }
  }
  return $JSCompiler_alias_FALSE$$
};
$adf$$.$shared$.$impl$.$animationUtils$.$_getAgentTypeAndVersion$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_getAgentTypeAndVersion$$($givenUserAgentString_userAgent$$20$$) {
  var $versionParser$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_parseFloatVersion$, $agentType$$3$$ = $JSCompiler_alias_NULL$$, $agentVersion$$7_possibleVersion$$ = -1;
  $givenUserAgentString_userAgent$$20$$ = $givenUserAgentString_userAgent$$20$$.toLowerCase();
  -1 != $givenUserAgentString_userAgent$$20$$.indexOf("msie") || -1 != $givenUserAgentString_userAgent$$20$$.indexOf("trident") ? ($agentType$$3$$ = "trident", $agentVersion$$7_possibleVersion$$ = $versionParser$$($givenUserAgentString_userAgent$$20$$, /trident\/(\d+[.]\d+)/), -1 == $agentVersion$$7_possibleVersion$$ && ($agentVersion$$7_possibleVersion$$ = $versionParser$$($givenUserAgentString_userAgent$$20$$, /msie (\d+\.\d+);/), -1 == $agentVersion$$7_possibleVersion$$ && ($agentVersion$$7_possibleVersion$$ = 
  $versionParser$$($givenUserAgentString_userAgent$$20$$, /msie (\d+\.\d+)b;/)), $agentVersion$$7_possibleVersion$$ -= 4), document.documentMode != $JSCompiler_alias_NULL$$ && ($agentVersion$$7_possibleVersion$$ = Math.min($agentVersion$$7_possibleVersion$$, document.documentMode - 4))) : -1 != $givenUserAgentString_userAgent$$20$$.indexOf("applewebkit") ? ($agentType$$3$$ = "webkit", $agentVersion$$7_possibleVersion$$ = $versionParser$$($givenUserAgentString_userAgent$$20$$, /applewebkit\/(\d+([.]\d+)*)/)) : 
  -1 != $givenUserAgentString_userAgent$$20$$.indexOf("gecko/") && ($agentType$$3$$ = "gecko", $agentVersion$$7_possibleVersion$$ = $versionParser$$($givenUserAgentString_userAgent$$20$$, /rv:(\d+[.]\d+)/));
  return[$agentType$$3$$, $agentVersion$$7_possibleVersion$$]
};
$adf$$.$shared$.$impl$.$animationUtils$.$_parseFloatVersion$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_parseFloatVersion$$($userAgent$$21$$, $versionNumberPattern$$1$$) {
  var $matches$$6_versionString$$1$$ = $userAgent$$21$$.match($versionNumberPattern$$1$$);
  return $matches$$6_versionString$$1$$ && ($matches$$6_versionString$$1$$ = $matches$$6_versionString$$1$$[1]) ? parseFloat($matches$$6_versionString$$1$$) : -1
};
$adf$$.$shared$.$impl$.$animationUtils$.$_saveStyles$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_saveStyles$$($element$$176$$) {
  if($element$$176$$ != $JSCompiler_alias_NULL$$ && $element$$176$$.getAttribute && $element$$176$$.setAttribute) {
    var $styles$$ = $element$$176$$.getAttribute("data-adf-original-style");
    $styles$$ != $JSCompiler_alias_NULL$$ && ($adf$$.$shared$.$impl$.$animationUtils$.$_fineLogger$("AdfAnimationUtils: save while pending restore"), $adf$$.$shared$.$impl$.$animationUtils$.$_restoreStyles$($element$$176$$));
    $styles$$ = $element$$176$$.getAttribute("style");
    $styles$$ == $JSCompiler_alias_NULL$$ && ($styles$$ = "");
    $element$$176$$.setAttribute("data-adf-original-style", $styles$$)
  }
};
$adf$$.$shared$.$impl$.$animationUtils$.$_restoreStyles$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_restoreStyles$$($element$$177$$) {
  if($element$$177$$ != $JSCompiler_alias_NULL$$ && $element$$177$$.getAttribute && $element$$177$$.setAttribute) {
    var $styles$$1$$ = $element$$177$$.getAttribute("data-adf-original-style");
    $styles$$1$$ != $JSCompiler_alias_NULL$$ && ($element$$177$$.setAttribute("style", $styles$$1$$), $element$$177$$.removeAttribute && $element$$177$$.removeAttribute("data-adf-original-style"))
  }
};
$adf$$.$shared$.$impl$.$animationUtils$.$_setOpacity$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_setOpacity$$($element$$178$$, $opacityValue$$) {
  $element$$178$$.style.opacity = $opacityValue$$
};
$adf$$.$shared$.$impl$.$animationUtils$.$_setTransition$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_setTransition$$($element$$179$$, $transitionValue$$) {
  var $transitionProperty$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("transition");
  $element$$179$$.style[$transitionProperty$$] = $transitionValue$$
};
$adf$$.$shared$.$impl$.$animationUtils$.$_setTransformValue$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_setTransformValue$$($element$$180$$, $transformValue$$) {
  var $transformProperty$$3$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("transform");
  $element$$180$$.style[$transformProperty$$3$$] = $transformValue$$
};
$adf$$.$shared$.$impl$.$animationUtils$.$_setTransformTranslate$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_setTransformTranslate$$($element$$181$$, $translateValues$$) {
  var $transformProperty$$4$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("transform");
  $element$$181$$.style[$transformProperty$$4$$] = "translate(" + $translateValues$$ + ")"
};
$adf$$.$shared$.$impl$.$animationUtils$.$_setTransformRotateX$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_setTransformRotateX$$($element$$182$$, $rotateXValues$$) {
  if("trident" == $adf$$.$shared$.$impl$.$animationUtils$.$_agentTypeAndVersion$[0]) {
    $element$$182$$.style.transform = "perspective(2000px) rotateX(" + $rotateXValues$$ + ")"
  }else {
    var $transformProperty$$5$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("transform");
    $element$$182$$.style[$transformProperty$$5$$] = "rotateX(" + $rotateXValues$$ + ")"
  }
};
$adf$$.$shared$.$impl$.$animationUtils$.$_setTransformRotateY$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_setTransformRotateY$$($element$$183$$, $rotateYValues$$) {
  if("trident" == $adf$$.$shared$.$impl$.$animationUtils$.$_agentTypeAndVersion$[0]) {
    $element$$183$$.style.transform = "perspective(2000px) rotateY(" + $rotateYValues$$ + ")"
  }else {
    var $transformProperty$$6$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("transform");
    $element$$183$$.style[$transformProperty$$6$$] = "rotateY(" + $rotateYValues$$ + ")"
  }
};
$adf$$.$shared$.$impl$.$animationUtils$.$_setBackfaceVisibility$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_setBackfaceVisibility$$($element$$184$$) {
  var $backfaceVisibilityProperty$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("backfaceVisibility");
  $element$$184$$.style[$backfaceVisibilityProperty$$] = "hidden"
};
$adf$$.$shared$.$impl$.$animationUtils$.$_setTransformStyle$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_setTransformStyle$$($element$$185$$) {
  var $transformStyleProperty$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("transformStyle");
  $element$$185$$.style[$transformStyleProperty$$] = "preserve-3d"
};
$adf$$.$shared$.$impl$.$animationUtils$.$_setTransformOrigin$ = function $$adf$$$$shared$$$impl$$$animationUtils$$$_setTransformOrigin$$($element$$186$$, $transformOrigin$$) {
  var $transformOriginProperty$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getBrowserSpecificName$("transformOrigin");
  $element$$186$$.style[$transformOriginProperty$$] = $transformOrigin$$
};
function $adf$shared$impl$animationUtils$AnimationContext$$($finishedFunction$$1$$, $callbackParams$$1$$) {
  this.Init($finishedFunction$$1$$, $callbackParams$$1$$)
}
$adf$shared$impl$animationUtils$AnimationContext$$.prototype = {};
window.$AdfObject$ != $JSCompiler_alias_NULL$$ && ($adf$shared$impl$animationUtils$AnimationContext$$.prototype.constructor = window.$AdfObject$);
$adf$shared$impl$animationUtils$AnimationContext$$.prototype.Init = function $$adf$shared$impl$animationUtils$AnimationContext$$$$Init$($finishedFunction$$2$$, $callbackParams$$2$$) {
  this.$_finishedFunction$ = $finishedFunction$$2$$;
  this.$_callbackParams$ = $callbackParams$$2$$;
  this.$_handledB$ = this.$_handledA$ = $JSCompiler_alias_TRUE$$
};
$adf$shared$impl$animationUtils$AnimationContext$$.prototype.$cancelFunction$ = function $$adf$shared$impl$animationUtils$AnimationContext$$$$$cancelFunction$$() {
  this.$_finishedFunction$ = $JSCompiler_alias_NULL$$;
  var $callbackParams$$3$$ = this.$_callbackParams$;
  this.$_callbackParams$ = $JSCompiler_alias_NULL$$;
  var $animationUtils$$7$$ = $adf$$.$shared$.$impl$.$animationUtils$;
  $animationUtils$$7$$.$_restoreStyles$(this.$_elementA$);
  $animationUtils$$7$$.$_restoreStyles$(this.$_elementB$);
  var $parentElement$$8$$;
  this.$_elementA$ != $JSCompiler_alias_NULL$$ ? ($parentElement$$8$$ = this.$_elementA$.parentNode, $animationUtils$$7$$.$_restoreStyles$($parentElement$$8$$), $parentElement$$8$$ != $JSCompiler_alias_NULL$$ && $animationUtils$$7$$.$_restoreStyles$($parentElement$$8$$.parentNode)) : this.$_elementB$ != $JSCompiler_alias_NULL$$ && ($parentElement$$8$$ = this.$_elementB$.parentNode, $animationUtils$$7$$.$_restoreStyles$($parentElement$$8$$), $parentElement$$8$$ != $JSCompiler_alias_NULL$$ && $animationUtils$$7$$.$_restoreStyles$($parentElement$$8$$.parentNode));
  $JSCompiler_StaticMethods__removeTransitionEndA$$(this);
  $JSCompiler_StaticMethods__removeTransitionEndB$$(this);
  if(this.$_extraCancelFunction$) {
    try {
      this.$_extraCancelFunction$()
    }catch($problem$$3$$) {
      $animationUtils$$7$$.$_fineLogger$("AdfAnimationUtils: unable to complete extra cancel function due to problem:"), $animationUtils$$7$$.$_fineLogger$($problem$$3$$)
    }
    this.$_extraCancelFunction$ = $JSCompiler_alias_NULL$$
  }
  return $callbackParams$$3$$
};
$goog$exportSymbol$$("adf.shared.impl.animationUtils.AnimationContext.prototype.cancelFunction", $adf$shared$impl$animationUtils$AnimationContext$$.prototype.$cancelFunction$);
$adf$shared$impl$animationUtils$AnimationContext$$.prototype.$_performFinish$ = function $$adf$shared$impl$animationUtils$AnimationContext$$$$$_performFinish$$() {
  var $finishedFunction$$3$$ = this.$_finishedFunction$, $callbackParams$$4$$ = this.$_callbackParams$;
  this.$_callbackParams$ = this.$_extraCancelFunction$ = this.$_finishedFunction$ = $JSCompiler_alias_NULL$$;
  $finishedFunction$$3$$ != $JSCompiler_alias_NULL$$ && $finishedFunction$$3$$($callbackParams$$4$$)
};
$adf$shared$impl$animationUtils$AnimationContext$$.prototype.$addExtraCancelFunction$ = $JSCompiler_set$$("$_extraCancelFunction$");
$goog$exportSymbol$$("adf.shared.impl.animationUtils.AnimationContext.prototype.addExtraCancelFunction", $adf$shared$impl$animationUtils$AnimationContext$$.prototype.$addExtraCancelFunction$);
$adf$shared$impl$animationUtils$AnimationContext$$.prototype.$addTransitionEndA$ = function $$adf$shared$impl$animationUtils$AnimationContext$$$$$addTransitionEndA$$($element$$187$$, $extraHandler$$) {
  this.$_elementA$ = $element$$187$$;
  this.$_handleProxyA$ = $adf$$.$shared$.$impl$.$animationUtils$.$getProxyFunction$(this, this.$_handleTransitionEndA$);
  this.$_handledA$ = $JSCompiler_alias_FALSE$$;
  var $transitionEndEventName$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getTransitionEndEventName$();
  $extraHandler$$ != $JSCompiler_alias_NULL$$ && (this.$_extraHandlerA$ = $extraHandler$$, $element$$187$$.addEventListener($transitionEndEventName$$, $extraHandler$$, $JSCompiler_alias_TRUE$$));
  $element$$187$$.addEventListener($transitionEndEventName$$, this.$_handleProxyA$, $JSCompiler_alias_TRUE$$)
};
$goog$exportSymbol$$("adf.shared.impl.animationUtils.AnimationContext.prototype.addTransitionEndA", $adf$shared$impl$animationUtils$AnimationContext$$.prototype.$addTransitionEndA$);
function $JSCompiler_StaticMethods__removeTransitionEndA$$($JSCompiler_StaticMethods__removeTransitionEndA$self$$) {
  var $element$$188$$ = $JSCompiler_StaticMethods__removeTransitionEndA$self$$.$_elementA$;
  if($element$$188$$ != $JSCompiler_alias_NULL$$) {
    var $transitionEndEventName$$1$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getTransitionEndEventName$();
    $JSCompiler_StaticMethods__removeTransitionEndA$self$$.$_extraHandlerA$ != $JSCompiler_alias_NULL$$ && ($element$$188$$.removeEventListener($transitionEndEventName$$1$$, $JSCompiler_StaticMethods__removeTransitionEndA$self$$.$_extraHandlerA$, $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__removeTransitionEndA$self$$.$_extraHandlerA$ = $JSCompiler_alias_NULL$$);
    $element$$188$$.removeEventListener($transitionEndEventName$$1$$, $JSCompiler_StaticMethods__removeTransitionEndA$self$$.$_handleProxyA$, $JSCompiler_alias_TRUE$$);
    $JSCompiler_StaticMethods__removeTransitionEndA$self$$.$_elementA$ = $JSCompiler_alias_NULL$$
  }
  $JSCompiler_StaticMethods__removeTransitionEndA$self$$.$_handleProxyA$ = $JSCompiler_alias_NULL$$
}
$adf$shared$impl$animationUtils$AnimationContext$$.prototype.$_handleTransitionEndA$ = function $$adf$shared$impl$animationUtils$AnimationContext$$$$$_handleTransitionEndA$$() {
  this.$_handledA$ || (this.$_handledA$ = $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods__removeTransitionEndA$$(this), this.$_handledB$ && this.$_performFinish$())
};
$adf$shared$impl$animationUtils$AnimationContext$$.prototype.$addTransitionEndB$ = function $$adf$shared$impl$animationUtils$AnimationContext$$$$$addTransitionEndB$$($element$$189$$, $extraHandler$$1$$) {
  this.$_elementB$ = $element$$189$$;
  this.$_handleProxyB$ = $adf$$.$shared$.$impl$.$animationUtils$.$getProxyFunction$(this, this.$_handleTransitionEndB$);
  this.$_handledB$ = $JSCompiler_alias_FALSE$$;
  var $transitionEndEventName$$2$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getTransitionEndEventName$();
  $extraHandler$$1$$ != $JSCompiler_alias_NULL$$ && (this.$_extraHandlerB$ = $extraHandler$$1$$, $element$$189$$.addEventListener($transitionEndEventName$$2$$, $extraHandler$$1$$, $JSCompiler_alias_TRUE$$));
  $element$$189$$.addEventListener($transitionEndEventName$$2$$, this.$_handleProxyB$, $JSCompiler_alias_TRUE$$)
};
$goog$exportSymbol$$("adf.shared.impl.animationUtils.AnimationContext.prototype.addTransitionEndB", $adf$shared$impl$animationUtils$AnimationContext$$.prototype.$addTransitionEndB$);
function $JSCompiler_StaticMethods__removeTransitionEndB$$($JSCompiler_StaticMethods__removeTransitionEndB$self$$) {
  var $element$$190$$ = $JSCompiler_StaticMethods__removeTransitionEndB$self$$.$_elementB$;
  if($element$$190$$ != $JSCompiler_alias_NULL$$) {
    var $transitionEndEventName$$3$$ = $adf$$.$shared$.$impl$.$animationUtils$.$_getTransitionEndEventName$();
    $JSCompiler_StaticMethods__removeTransitionEndB$self$$.$_extraHandlerB$ != $JSCompiler_alias_NULL$$ && ($element$$190$$.removeEventListener($transitionEndEventName$$3$$, $JSCompiler_StaticMethods__removeTransitionEndB$self$$.$_extraHandlerB$, $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__removeTransitionEndB$self$$.$_extraHandlerB$ = $JSCompiler_alias_NULL$$);
    $element$$190$$.removeEventListener($transitionEndEventName$$3$$, $JSCompiler_StaticMethods__removeTransitionEndB$self$$.$_handleProxyB$, $JSCompiler_alias_TRUE$$);
    $JSCompiler_StaticMethods__removeTransitionEndB$self$$.$_elementB$ = $JSCompiler_alias_NULL$$
  }
  $JSCompiler_StaticMethods__removeTransitionEndB$self$$.$_handleProxyB$ = $JSCompiler_alias_NULL$$
}
$adf$shared$impl$animationUtils$AnimationContext$$.prototype.$_handleTransitionEndB$ = function $$adf$shared$impl$animationUtils$AnimationContext$$$$$_handleTransitionEndB$$() {
  this.$_handledB$ || (this.$_handledB$ = $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods__removeTransitionEndB$$(this), this.$_handledA$ && this.$_performFinish$())
};
