window.adf || (window.adf = {});
window.adf.$shared$ = window.adf.$shared$ || {};
window.adf.$shared$.$impl$ = window.adf.$shared$.$impl$ || {};
window.adf.$shared$.$impl$.$masonryLayout$ = window.adf.$shared$.$impl$.$masonryLayout$ || {};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$($elem$$58$$, $rtl$$12_sizeDivWrapper$$, $automationEnabled$$1_style$$40$$, $selectors$$9_sizeDiv$$, $styles$$4$$, $callbackInfo$$3$$) {
  var $mlcClass$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$;
  $mlcClass$$.$_agentTypeAndVersion$ == $JSCompiler_alias_NULL$$ && ($mlcClass$$.$_agentTypeAndVersion$ = $mlcClass$$.$_getAgentTypeAndVersion$(navigator.userAgent));
  this.$_elem$ = $elem$$58$$;
  this.$_rtl$ = $rtl$$12_sizeDivWrapper$$;
  this.$_automationEnabled$ = $automationEnabled$$1_style$$40$$;
  $selectors$$9_sizeDiv$$ && $selectors$$9_sizeDiv$$.$tiles$ && (this.$_tilesSelector$ = $selectors$$9_sizeDiv$$.$tiles$);
  $styles$$4$$ && ($styles$$4$$.$transitionComponentResizeToStyleClass$ && (this.$_transitionComponentResizeToStyleClass$ = $styles$$4$$.$transitionComponentResizeToStyleClass$), $styles$$4$$.$transitionComponentResizeToFastStyleClass$ && (this.$_transitionComponentResizeToFastStyleClass$ = $styles$$4$$.$transitionComponentResizeToFastStyleClass$), $styles$$4$$.$transitionMoveToStyleClass$ && (this.$_transitionMoveToStyleClass$ = $styles$$4$$.$transitionMoveToStyleClass$), $styles$$4$$.$transitionMoveToFastStyleClass$ && 
  (this.$_transitionMoveToFastStyleClass$ = $styles$$4$$.$transitionMoveToFastStyleClass$), $styles$$4$$.$transitionHideFromStyleClass$ && (this.$_transitionHideFromStyleClass$ = $styles$$4$$.$transitionHideFromStyleClass$), $styles$$4$$.$transitionHideToStyleClass$ && (this.$_transitionHideToStyleClass$ = $styles$$4$$.$transitionHideToStyleClass$), $styles$$4$$.$transitionShowFromStyleClass$ && (this.$_transitionShowFromStyleClass$ = $styles$$4$$.$transitionShowFromStyleClass$), $styles$$4$$.$transitionShowToStyleClass$ && 
  (this.$_transitionShowToStyleClass$ = $styles$$4$$.$transitionShowToStyleClass$), $styles$$4$$.$transitionResizeToStyleClass$ && (this.$_transitionResizeToStyleClass$ = $styles$$4$$.$transitionResizeToStyleClass$));
  $callbackInfo$$3$$ && ($callbackInfo$$3$$.$addStyleClassName$ && (this.$_addStyleClassNameFunc$ = $callbackInfo$$3$$.$addStyleClassName$), $callbackInfo$$3$$.$removeStyleClassName$ && (this.$_removeStyleClassNameFunc$ = $callbackInfo$$3$$.$removeStyleClassName$), $callbackInfo$$3$$.$getSizeStyleClassName$ && (this.$_getSizeStyleClassNameFunc$ = $callbackInfo$$3$$.$getSizeStyleClassName$), $callbackInfo$$3$$.$getTileSpan$ && (this.$_getTileSpanFunc$ = $callbackInfo$$3$$.$getTileSpan$), $callbackInfo$$3$$.$showTileOnEndFunc$ && 
  (this.$_showTileOnEndFunc$ = $callbackInfo$$3$$.$showTileOnEndFunc$), $callbackInfo$$3$$.$hideTileOnEndFunc$ && (this.$_hideTileOnEndFunc$ = $callbackInfo$$3$$.$hideTileOnEndFunc$), $callbackInfo$$3$$.$layoutOnEndFunc$ && (this.$_layoutOnEndFunc$ = $callbackInfo$$3$$.$layoutOnEndFunc$), $callbackInfo$$3$$.$layoutCycleOnStartFunc$ && (this.$_layoutCycleOnStartFunc$ = $callbackInfo$$3$$.$layoutCycleOnStartFunc$), $callbackInfo$$3$$.$layoutCycleOnEndFunc$ && (this.$_layoutCycleOnEndFunc$ = $callbackInfo$$3$$.$layoutCycleOnEndFunc$), 
  $callbackInfo$$3$$.$sortTilesOriginalOrderFunc$ && (this.$_sortTilesOriginalOrderFunc$ = $callbackInfo$$3$$.$sortTilesOriginalOrderFunc$));
  $rtl$$12_sizeDivWrapper$$ = document.createElement("div");
  $automationEnabled$$1_style$$40$$ = $rtl$$12_sizeDivWrapper$$.style;
  $automationEnabled$$1_style$$40$$.display = "inline-block";
  $automationEnabled$$1_style$$40$$.overflow = "hidden";
  $automationEnabled$$1_style$$40$$.visibility = "hidden";
  $selectors$$9_sizeDiv$$ = document.createElement("div");
  $automationEnabled$$1_style$$40$$ = $selectors$$9_sizeDiv$$.style;
  $automationEnabled$$1_style$$40$$.display = "inline-block";
  $rtl$$12_sizeDivWrapper$$.appendChild($selectors$$9_sizeDiv$$);
  $elem$$58$$.insertBefore($rtl$$12_sizeDivWrapper$$, $elem$$58$$.firstChild);
  this.$_sizeDivWrapper$ = $rtl$$12_sizeDivWrapper$$;
  this.$_sizeDiv$ = $selectors$$9_sizeDiv$$;
  var $self$$17$$ = this;
  this.$_handleTransitionEndFunc$ = function $this$$_handleTransitionEndFunc$$($elem$$58$$) {
    $JSCompiler_StaticMethods__handleTransitionEnd$$($self$$17$$, $elem$$58$$)
  };
  this.$_hideTilesFunc$ = function $this$$_hideTilesFunc$$() {
    $JSCompiler_StaticMethods__hideTiles$$($self$$17$$)
  };
  this.$_handleHideTransitionEndFunc$ = function $this$$_handleHideTransitionEndFunc$$($elem$$58$$) {
    $JSCompiler_StaticMethods__handleHideTransitionEnd$$($self$$17$$, $elem$$58$$)
  };
  this.$_handleShowTransitionEndFunc$ = function $this$$_handleShowTransitionEndFunc$$($elem$$58$$) {
    $JSCompiler_StaticMethods__handleShowTransitionEnd$$($self$$17$$, $elem$$58$$)
  }
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.prototype.$setup$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$$setup$$($init$$, $reorder$$1$$) {
  var $ret$$4$$ = $JSCompiler_alias_FALSE$$;
  $init$$ ? ($ret$$4$$ = $JSCompiler_StaticMethods__layout$$(this) ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$, $JSCompiler_StaticMethods__reorderTilesForLayout$$(this)) : (this.$_layoutCycleOnStartFunc$ && this.$_layoutCycleOnStartFunc$(), $JSCompiler_StaticMethods__transitionStart$$(this, $reorder$$1$$), $ret$$4$$ = $JSCompiler_StaticMethods__transitionLayout$$(this));
  return $ret$$4$$
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.prototype.$destroy$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$$destroy$$() {
  for(var $elem$$59$$ = this.$_elem$, $children$$70$$ = $JSCompiler_StaticMethods__getTileChildren$$(this), $i$$592$$ = 0;$i$$592$$ < $children$$70$$.length;$i$$592$$++) {
    var $style$$41$$ = $children$$70$$[$i$$592$$].style;
    this.$_rtl$ ? $style$$41$$.right = "" : $style$$41$$.left = "";
    $style$$41$$.top = ""
  }
  $elem$$59$$.removeChild(this.$_sizeDivWrapper$);
  this.$_sortTilesOriginalOrderFunc$ = this.$_layoutCycleOnEndFunc$ = this.$_layoutCycleOnStartFunc$ = this.$_layoutOnEndFunc$ = this.$_hideTileOnEndFunc$ = this.$_showTileOnEndFunc$ = this.$_getTileSpanFunc$ = this.$_getSizeStyleClassNameFunc$ = this.$_removeStyleClassNameFunc$ = this.$_addStyleClassNameFunc$ = this.$_elem$ = this.$_arFireHideOnEnd$ = this.$_arInfoletsToHide$ = this.$_arInfoletsToShow$ = this.$_arInfoletsToResize$ = this.$_arMovedInfolets$ = this.$_handleShowTransitionEndFunc$ = 
  this.$_handleHideTransitionEndFunc$ = this.$_hideTilesFunc$ = this.$_handleTransitionEndFunc$ = this.$_sizeDiv$ = this.$_sizeDivWrapper$ = $JSCompiler_alias_NULL$$
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.prototype.$resizeTile$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$$resizeTile$$($selector$$6$$, $sizeStyleClass$$9$$) {
  var $infolet$$7$$ = this.$_elem$.querySelector($selector$$6$$);
  if($infolet$$7$$) {
    this.$_arInfoletsToResize$ || (this.$_arInfoletsToResize$ = []);
    var $arInfoletsToResize$$ = this.$_arInfoletsToResize$;
    $arInfoletsToResize$$.push($infolet$$7$$);
    $arInfoletsToResize$$.push($sizeStyleClass$$9$$);
    this.$_resizingInfolet$ = $JSCompiler_alias_TRUE$$;
    $JSCompiler_StaticMethods__queueRelayout$$(this)
  }
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.prototype.$resizeNotify$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$$resizeNotify$$() {
  !this.$_resizingInfolet$ && (!this.$_hidingInfolets$ && !this.$_showingInfolets$) && (this.$_layoutCycleOnStartFunc$ && this.$_layoutCycleOnStartFunc$(), $JSCompiler_StaticMethods__transitionStart$$(this, $JSCompiler_alias_FALSE$$), $JSCompiler_StaticMethods__transitionLayout$$(this))
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.prototype.$isAnimationEnabled$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$$isAnimationEnabled$$() {
  if(this.$_temporarilyDisableAnimation$) {
    return $JSCompiler_alias_FALSE$$
  }
  if(!this.$_cachedAnimationEnabled$) {
    if(this.$_automationEnabled$) {
      this.$_animationEnabled$ = $JSCompiler_alias_FALSE$$
    }else {
      var $mlcClass$$2$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$;
      this.$_animationEnabled$ = $mlcClass$$2$$.$_isMinimumAgentMet$($mlcClass$$2$$.$_agentTypeAndVersion$[0], $mlcClass$$2$$.$_agentTypeAndVersion$[1], "gecko", 16, "trident", 6, "webkit", 533.1)
    }
    this.$_cachedAnimationEnabled$ = $JSCompiler_alias_TRUE$$
  }
  return this.$_animationEnabled$
};
function $JSCompiler_StaticMethods_finishLayoutCycle$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$) {
  $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_temporarilyDisableAnimation$ = $JSCompiler_alias_TRUE$$;
  $JSCompiler_StaticMethods__removeStyleClassFromTiles$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$, $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_transitionMoveToStyleClass$);
  $JSCompiler_StaticMethods__removeStyleClassFromTiles$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$, $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_transitionMoveToFastStyleClass$);
  $JSCompiler_StaticMethods__removeStyleClassFromTiles$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$, $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_transitionHideFromStyleClass$);
  $JSCompiler_StaticMethods__removeStyleClassFromTiles$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$, $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_transitionHideToStyleClass$);
  $JSCompiler_StaticMethods__removeStyleClassFromTiles$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$, $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_transitionShowFromStyleClass$);
  $JSCompiler_StaticMethods__removeStyleClassFromTiles$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$, $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_transitionShowToStyleClass$);
  $JSCompiler_StaticMethods__removeStyleClassFromTiles$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$, $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_transitionResizeToStyleClass$);
  $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_removeStyleClassNameFunc$($JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_sizeDiv$, $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_transitionComponentResizeToStyleClass$);
  $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_removeStyleClassNameFunc$($JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_sizeDiv$, $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_transitionComponentResizeToFastStyleClass$);
  var $mlcClass$$3$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$;
  $mlcClass$$3$$.$_removeBubbleEventListener$($JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_elem$, "transitionend", $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_handleTransitionEndFunc$);
  $mlcClass$$3$$.$_removeBubbleEventListener$($JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_elem$, "webkitTransitionEnd", $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_handleTransitionEndFunc$);
  for(var $tileChildren$$ = $JSCompiler_StaticMethods__getTileChildren$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$), $i$$593$$ = 0;$i$$593$$ < $tileChildren$$.length;$i$$593$$++) {
    var $child$$60$$ = $tileChildren$$[$i$$593$$];
    $child$$60$$.$_afrOldSizeStyleClass$ && delete $child$$60$$.$_afrOldSizeStyleClass$;
    $mlcClass$$3$$.$_removeBubbleEventListener$($child$$60$$, "transitionend", $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_handleHideTransitionEndFunc$);
    $mlcClass$$3$$.$_removeBubbleEventListener$($child$$60$$, "webkitTransitionEnd", $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_handleHideTransitionEndFunc$);
    $mlcClass$$3$$.$_removeBubbleEventListener$($child$$60$$, "transitionend", $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_handleShowTransitionEndFunc$);
    $mlcClass$$3$$.$_removeBubbleEventListener$($child$$60$$, "webkitTransitionEnd", $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_handleShowTransitionEndFunc$)
  }
  $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_hideTilesInternalTimeout$ ? (clearTimeout($JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_hideTilesInternalTimeout$), $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_hideTilesInternalTimeout$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods__handleHideTransitionEnd$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$, $JSCompiler_alias_NULL$$)) : $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_showTilesTimeout$ ? (clearTimeout($JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_showTilesTimeout$), 
  $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_showTilesTimeout$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods__showTiles$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$)) : $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_layoutPhase$ === $mlcClass$$3$$.$_PHASE_LAYOUT$ ? $JSCompiler_StaticMethods__handleTransitionEnd$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$, $JSCompiler_alias_NULL$$) : $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_layoutPhase$ === $mlcClass$$3$$.$_PHASE_SHOW$ && 
  $JSCompiler_StaticMethods__handleShowTransitionEnd$$($JSCompiler_StaticMethods_finishLayoutCycle$self$$, $JSCompiler_alias_NULL$$);
  $JSCompiler_StaticMethods_finishLayoutCycle$self$$.$_temporarilyDisableAnimation$ = $JSCompiler_alias_FALSE$$
}
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_getElemSize$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_getElemSize$$($elem$$64$$) {
  var $mlcClass$$4$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$, $computedStyle$$19$$ = $mlcClass$$4$$.$_getComputedStyle$($elem$$64$$);
  return{$w$:$elem$$64$$.offsetWidth + ($mlcClass$$4$$.$_getCSSLengthAsInt$($computedStyle$$19$$.marginLeft) + $mlcClass$$4$$.$_getCSSLengthAsInt$($computedStyle$$19$$.marginRight)), $h$:$elem$$64$$.offsetHeight + ($mlcClass$$4$$.$_getCSSLengthAsInt$($computedStyle$$19$$.marginTop) + $mlcClass$$4$$.$_getCSSLengthAsInt$($computedStyle$$19$$.marginBottom))}
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_getElemInsets$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_getElemInsets$$($computedStyle$$20_elem$$65$$) {
  var $mlcClass$$5$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$;
  $computedStyle$$20_elem$$65$$ = $mlcClass$$5$$.$_getComputedStyle$($computedStyle$$20_elem$$65$$);
  return{paddingLeft:$mlcClass$$5$$.$_getCSSLengthAsInt$($computedStyle$$20_elem$$65$$.paddingLeft), paddingRight:$mlcClass$$5$$.$_getCSSLengthAsInt$($computedStyle$$20_elem$$65$$.paddingRight), paddingTop:$mlcClass$$5$$.$_getCSSLengthAsInt$($computedStyle$$20_elem$$65$$.paddingTop), paddingBottom:$mlcClass$$5$$.$_getCSSLengthAsInt$($computedStyle$$20_elem$$65$$.paddingBottom), borderLeftWidth:$mlcClass$$5$$.$_getCSSLengthAsInt$($computedStyle$$20_elem$$65$$.borderLeftWidth), borderRightWidth:$mlcClass$$5$$.$_getCSSLengthAsInt$($computedStyle$$20_elem$$65$$.borderRightWidth), 
  borderTopWidth:$mlcClass$$5$$.$_getCSSLengthAsInt$($computedStyle$$20_elem$$65$$.borderTopWidth), borderBottomWidth:$mlcClass$$5$$.$_getCSSLengthAsInt$($computedStyle$$20_elem$$65$$.borderBottomWidth)}
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_getComputedStyle$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_getComputedStyle$$($elem$$66$$) {
  var $defView$$1$$ = $elem$$66$$.ownerDocument.defaultView, $computedStyle$$21$$ = $JSCompiler_alias_NULL$$;
  return $computedStyle$$21$$ = $defView$$1$$ ? $defView$$1$$.getComputedStyle($elem$$66$$, $JSCompiler_alias_NULL$$) : $elem$$66$$.currentStyle
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_getCSSLengthAsInt$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_getCSSLengthAsInt$$($cssLength$$3_intLength$$2$$) {
  return 0 < $cssLength$$3_intLength$$2$$.length && "auto" != $cssLength$$3_intLength$$2$$ ? ($cssLength$$3_intLength$$2$$ = parseInt($cssLength$$3_intLength$$2$$, 10), isNaN($cssLength$$3_intLength$$2$$) && ($cssLength$$3_intLength$$2$$ = 0), $cssLength$$3_intLength$$2$$) : 0
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_addBubbleEventListener$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_addBubbleEventListener$$($node$$144$$, $type$$165$$, $listener$$105$$) {
  $node$$144$$.addEventListener ? $node$$144$$.addEventListener($type$$165$$, $listener$$105$$, $JSCompiler_alias_FALSE$$) : $node$$144$$.attachEvent && $node$$144$$.attachEvent("on" + $type$$165$$, $listener$$105$$)
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_removeBubbleEventListener$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_removeBubbleEventListener$$($node$$145$$, $type$$166$$, $listener$$106$$) {
  $node$$145$$.removeEventListener ? $node$$145$$.removeEventListener($type$$166$$, $listener$$106$$, $JSCompiler_alias_FALSE$$) : $node$$145$$.detachEvent && $node$$145$$.detachEvent("on" + $type$$166$$, $listener$$106$$)
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_arrayIndexOf$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_arrayIndexOf$$($array$$21$$, $item$$47$$) {
  if($array$$21$$) {
    for(var $i$$594$$ = 0;$i$$594$$ < $array$$21$$.length;$i$$594$$++) {
      if($array$$21$$[$i$$594$$] == $item$$47$$) {
        return $i$$594$$
      }
    }
  }
  return-1
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_isMinimumAgentMet$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_isMinimumAgentMet$$($actualAgentType$$1$$, $actualAgentVersion$$1$$) {
  var $argCount$$8$$ = arguments.length;
  if(0 == $argCount$$8$$ % 2) {
    for(var $i$$595$$ = 2;$i$$595$$ <= $argCount$$8$$ - 2;$i$$595$$ += 2) {
      if($actualAgentType$$1$$ == arguments[$i$$595$$]) {
        if($actualAgentVersion$$1$$ >= arguments[1 + $i$$595$$]) {
          return $JSCompiler_alias_TRUE$$
        }
        break
      }
    }
  }
  return $JSCompiler_alias_FALSE$$
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_getAgentTypeAndVersion$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_getAgentTypeAndVersion$$($givenUserAgentString$$1_userAgent$$22$$) {
  var $versionParser$$1$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_parseFloatVersion$, $agentType$$7$$ = $JSCompiler_alias_NULL$$, $agentVersion$$9_possibleVersion$$1$$ = -1;
  $givenUserAgentString$$1_userAgent$$22$$ = $givenUserAgentString$$1_userAgent$$22$$.toLowerCase();
  -1 != $givenUserAgentString$$1_userAgent$$22$$.indexOf("msie") || -1 != $givenUserAgentString$$1_userAgent$$22$$.indexOf("trident") ? ($agentType$$7$$ = "trident", $agentVersion$$9_possibleVersion$$1$$ = $versionParser$$1$$($givenUserAgentString$$1_userAgent$$22$$, /trident\/(\d+[.]\d+)/), -1 == $agentVersion$$9_possibleVersion$$1$$ && ($agentVersion$$9_possibleVersion$$1$$ = $versionParser$$1$$($givenUserAgentString$$1_userAgent$$22$$, /msie (\d+\.\d+);/), -1 == $agentVersion$$9_possibleVersion$$1$$ && 
  ($agentVersion$$9_possibleVersion$$1$$ = $versionParser$$1$$($givenUserAgentString$$1_userAgent$$22$$, /msie (\d+\.\d+)b;/)), $agentVersion$$9_possibleVersion$$1$$ -= 4), document.documentMode != $JSCompiler_alias_NULL$$ && ($agentVersion$$9_possibleVersion$$1$$ = Math.min($agentVersion$$9_possibleVersion$$1$$, document.documentMode - 4))) : -1 != $givenUserAgentString$$1_userAgent$$22$$.indexOf("applewebkit") ? ($agentType$$7$$ = "webkit", $agentVersion$$9_possibleVersion$$1$$ = $versionParser$$1$$($givenUserAgentString$$1_userAgent$$22$$, 
  /applewebkit\/(\d+([.]\d+)*)/)) : -1 != $givenUserAgentString$$1_userAgent$$22$$.indexOf("gecko/") && ($agentType$$7$$ = "gecko", $agentVersion$$9_possibleVersion$$1$$ = $versionParser$$1$$($givenUserAgentString$$1_userAgent$$22$$, /rv:(\d+[.]\d+)/));
  return[$agentType$$7$$, $agentVersion$$9_possibleVersion$$1$$]
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_parseFloatVersion$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_parseFloatVersion$$($userAgent$$23$$, $versionNumberPattern$$2$$) {
  var $matches$$7_versionString$$2$$ = $userAgent$$23$$.match($versionNumberPattern$$2$$);
  return $matches$$7_versionString$$2$$ && ($matches$$7_versionString$$2$$ = $matches$$7_versionString$$2$$[1]) ? parseFloat($matches$$7_versionString$$2$$) : -1
};
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_compareTilePositions$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$_compareTilePositions$$($pos1$$, $pos2$$) {
  return $pos1$$.$startRow$ > $pos2$$.$startRow$ ? 1 : $pos1$$.$startRow$ < $pos2$$.$startRow$ ? -1 : $pos1$$.$startCol$ > $pos2$$.$startCol$ ? 1 : $pos1$$.$startCol$ < $pos2$$.$startCol$ ? -1 : 0
};
function $JSCompiler_StaticMethods__queueRelayout$$($JSCompiler_StaticMethods__queueRelayout$self$$) {
  $JSCompiler_StaticMethods__queueRelayout$self$$.$_hideTilesTimeout$ || ($JSCompiler_StaticMethods__queueRelayout$self$$.$_layoutPhase$ ? $JSCompiler_StaticMethods__queueRelayout$self$$.$_queuedRelayout$ || ($JSCompiler_StaticMethods__queueRelayout$self$$.$_queuedRelayout$ = $JSCompiler_alias_TRUE$$) : $JSCompiler_StaticMethods__queueRelayout$self$$.$_hideTilesTimeout$ = setTimeout($JSCompiler_StaticMethods__queueRelayout$self$$.$_hideTilesFunc$, 0))
}
function $JSCompiler_StaticMethods__getTileChildren$$($JSCompiler_StaticMethods__getTileChildren$self_children$$71$$) {
  $JSCompiler_StaticMethods__getTileChildren$self_children$$71$$ = $JSCompiler_StaticMethods__getTileChildren$self_children$$71$$.$_elem$.querySelectorAll($JSCompiler_StaticMethods__getTileChildren$self_children$$71$$.$_tilesSelector$);
  for(var $arChildren$$5$$ = [], $i$$596$$ = 0;$i$$596$$ < $JSCompiler_StaticMethods__getTileChildren$self_children$$71$$.length;$i$$596$$++) {
    var $child$$61$$ = $JSCompiler_StaticMethods__getTileChildren$self_children$$71$$[$i$$596$$], $childStyle$$7$$ = $child$$61$$.style;
    0 < $child$$61$$.offsetWidth && (0 < $child$$61$$.offsetHeight && "hidden" != $childStyle$$7$$.visibility) && $arChildren$$5$$.push($child$$61$$)
  }
  return $arChildren$$5$$
}
function $JSCompiler_StaticMethods__transitionLayout$$($JSCompiler_StaticMethods__transitionLayout$self$$) {
  var $oldMovedInfolets_ret$$5$$ = $JSCompiler_StaticMethods__transitionLayout$self$$.$_arMovedInfolets$, $newMovedInfolets$$ = $JSCompiler_StaticMethods__layout$$($JSCompiler_StaticMethods__transitionLayout$self$$);
  if($JSCompiler_StaticMethods__transitionLayout$self$$.$_arInfoletsToResize$) {
    var $arInfoletsToResize$$1_calledHandleTransitionEnd$$ = $JSCompiler_StaticMethods__transitionLayout$self$$.$_arInfoletsToResize$;
    $newMovedInfolets$$ || ($newMovedInfolets$$ = []);
    for(var $mlcClass$$7$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$, $i$$597$$ = 0;$i$$597$$ < $arInfoletsToResize$$1_calledHandleTransitionEnd$$.length;$i$$597$$ += 2) {
      var $resizedInfolet$$ = $arInfoletsToResize$$1_calledHandleTransitionEnd$$[$i$$597$$];
      0 > $mlcClass$$7$$.$_arrayIndexOf$($newMovedInfolets$$, $resizedInfolet$$) && $newMovedInfolets$$.push($resizedInfolet$$)
    }
  }
  $arInfoletsToResize$$1_calledHandleTransitionEnd$$ = $JSCompiler_alias_FALSE$$;
  if(!$newMovedInfolets$$ || 1 > $newMovedInfolets$$.length) {
    if(!$oldMovedInfolets_ret$$5$$ || 1 > $oldMovedInfolets_ret$$5$$.length) {
      $JSCompiler_StaticMethods__transitionLayout$self$$.$_arMovedInfolets$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods__handleTransitionEnd$$($JSCompiler_StaticMethods__transitionLayout$self$$, $JSCompiler_alias_NULL$$), $arInfoletsToResize$$1_calledHandleTransitionEnd$$ = $JSCompiler_alias_TRUE$$
    }
  }else {
    $JSCompiler_StaticMethods__transitionLayout$self$$.$_arMovedInfolets$ = $newMovedInfolets$$
  }
  $oldMovedInfolets_ret$$5$$ = $newMovedInfolets$$ != $JSCompiler_alias_NULL$$ && 0 < $newMovedInfolets$$.length;
  !$JSCompiler_StaticMethods__transitionLayout$self$$.$isAnimationEnabled$() && !$arInfoletsToResize$$1_calledHandleTransitionEnd$$ && $JSCompiler_StaticMethods__handleTransitionEnd$$($JSCompiler_StaticMethods__transitionLayout$self$$, $JSCompiler_alias_NULL$$);
  return $oldMovedInfolets_ret$$5$$
}
function $JSCompiler_StaticMethods__layout$$($JSCompiler_StaticMethods__layout$self$$) {
  var $elem$$68_style$$42$$ = $JSCompiler_StaticMethods__layout$self$$.$_elem$, $children$$72$$ = $JSCompiler_StaticMethods__getTileChildren$$($JSCompiler_StaticMethods__layout$self$$);
  $JSCompiler_StaticMethods__layout$self$$.$_sortTilesOriginalOrderFunc$ && $JSCompiler_StaticMethods__layout$self$$.$_sortTilesOriginalOrderFunc$($children$$72$$);
  var $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$ = $JSCompiler_StaticMethods__layout$self$$.$_cellSize$ = $JSCompiler_alias_NULL$$;
  $JSCompiler_StaticMethods__layout$self$$.$_cols$ = 0;
  $JSCompiler_StaticMethods__layout$self$$.$_rows$ = 1;
  $JSCompiler_StaticMethods__layout$self$$.$_occupancyMap$ = $JSCompiler_alias_NULL$$;
  var $arMovedInfolets$$ = [], $arOldPositions$$ = [], $arCols$$ = [], $rtl$$13$$ = $JSCompiler_StaticMethods__layout$self$$.$_rtl$, $insets$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_getElemInsets$($elem$$68_style$$42$$), $cols$$inline_4511_maxColSpan$$ = 0, $arTilePositions$$ = [];
  $JSCompiler_StaticMethods__layout$self$$.$_arTilePositions$ = $arTilePositions$$;
  for(var $i$$598$$ = 0;$i$$598$$ < $children$$72$$.length;$i$$598$$++) {
    var $child$$62$$ = $children$$72$$[$i$$598$$], $childSpan$$ = $JSCompiler_StaticMethods__layout$self$$.$_getTileSpanFunc$($child$$62$$);
    ($JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$ = $child$$62$$.$_afrOldSizeStyleClass$) && delete $child$$62$$.$_afrOldSizeStyleClass$;
    if(!$JSCompiler_StaticMethods__layout$self$$.$_cellSize$) {
      var $childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$ = $childSpan$$;
      $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$ && ($childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$ = document.createElement("div"), $childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$.className = $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$, $childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$ = $JSCompiler_StaticMethods__layout$self$$.$_getTileSpanFunc$($childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$));
      var $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$ = $JSCompiler_StaticMethods__layout$self$$, $JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_getElemSize$($child$$62$$);
      $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$.$_cellSize$ = {$w$:$JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$.$w$ / $childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$.colSpan, $h$:$JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$.$h$ / $childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$.rowSpan}
    }
    $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$ = $JSCompiler_StaticMethods__layout$self$$.$_cellSize$;
    if(!$JSCompiler_StaticMethods__layout$self$$.$_occupancyMap$) {
      $JSCompiler_StaticMethods__layout$self$$.$_cols$ = Math.max(Math.floor(($elem$$68_style$$42$$.offsetWidth - $insets$$.paddingLeft - $insets$$.paddingRight - $insets$$.borderLeftWidth - $insets$$.borderRightWidth) / $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$.$w$), 1);
      $JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$ = $JSCompiler_StaticMethods__layout$self$$;
      $cols$$inline_4511_maxColSpan$$ = $JSCompiler_StaticMethods__layout$self$$.$_cols$;
      $childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$ = $JSCompiler_StaticMethods__layout$self$$.$_rows$;
      $JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$.$_occupancyMap$ = [];
      for(var $JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$ = $JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$.$_occupancyMap$, $childStyle$$8_next$$4_row$$inline_4514$$ = 0;$childStyle$$8_next$$4_row$$inline_4514$$ < $childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$;$childStyle$$8_next$$4_row$$inline_4514$$++) {
        var $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$ = [];
        $JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$.push($JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$);
        for(var $col$$inline_4516_col$$inline_4519$$ = 0;$col$$inline_4516_col$$inline_4519$$ < $cols$$inline_4511_maxColSpan$$;$col$$inline_4516_col$$inline_4519$$++) {
          $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$[$col$$inline_4516_col$$inline_4519$$] = $JSCompiler_alias_FALSE$$
        }
      }
      $cols$$inline_4511_maxColSpan$$ = $JSCompiler_StaticMethods__layout$self$$.$_cols$
    }
    $childSpan$$.colSpan > $cols$$inline_4511_maxColSpan$$ && ($cols$$inline_4511_maxColSpan$$ = $childSpan$$.colSpan);
    $childSpan$$.colSpan > $JSCompiler_StaticMethods__layout$self$$.$_cols$ && ($childSpan$$.colSpan = $JSCompiler_StaticMethods__layout$self$$.$_cols$);
    $childStyle$$8_next$$4_row$$inline_4514$$ = $JSCompiler_alias_FALSE$$;
    for($childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$ = 0;$childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$ < $JSCompiler_StaticMethods__layout$self$$.$_rows$;$childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$++) {
      for($JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$ = 0;$JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$ < $JSCompiler_StaticMethods__layout$self$$.$_cols$;$JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$++) {
        a: {
          for(var $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$ = $JSCompiler_StaticMethods__layout$self$$, $col$$inline_4516_col$$inline_4519$$ = $JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$, $row$$inline_4520$$ = $childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$, $colSpan$$inline_4522$$ = $childSpan$$.colSpan, $rowSpan$$inline_4523$$ = 
          $childSpan$$.rowSpan, $r$$inline_4524$$ = $row$$inline_4520$$;$r$$inline_4524$$ < $row$$inline_4520$$ + $rowSpan$$inline_4523$$;$r$$inline_4524$$++) {
            $r$$inline_4524$$ >= $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$.$_rows$ && $JSCompiler_StaticMethods__addRow$$($JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$);
            for(var $c$$inline_4525$$ = $col$$inline_4516_col$$inline_4519$$;$c$$inline_4525$$ < $col$$inline_4516_col$$inline_4519$$ + $colSpan$$inline_4522$$;$c$$inline_4525$$++) {
              if($c$$inline_4525$$ >= $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$.$_cols$ || $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$.$_occupancyMap$[$r$$inline_4524$$][$c$$inline_4525$$]) {
                $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$ = $JSCompiler_alias_FALSE$$;
                break a
              }
            }
          }
          $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$ = $JSCompiler_alias_TRUE$$
        }
        if($JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$) {
          $childStyle$$8_next$$4_row$$inline_4514$$ = $child$$62$$.style;
          $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$ = {top:$childStyle$$8_next$$4_row$$inline_4514$$.top};
          $rtl$$13$$ ? $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$.right = $childStyle$$8_next$$4_row$$inline_4514$$.right : $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$.left = $childStyle$$8_next$$4_row$$inline_4514$$.left;
          $arOldPositions$$.push($JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$);
          $JSCompiler_StaticMethods__layout$self$$.$_position$($child$$62$$, $JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$, $childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$, $childSpan$$, $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$, $insets$$);
          $rtl$$13$$ && $arCols$$.push($JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$);
          $childStyle$$8_next$$4_row$$inline_4514$$ = $JSCompiler_alias_TRUE$$;
          $arTilePositions$$.push({$startCol$:$JSCompiler_StaticMethods__initOccupancyMap$self$$inline_4510_c$$28_childSize$$inline_4508_occupancyMap$$inline_4513$$, $startRow$:$childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$, $tile$:$child$$62$$});
          break
        }
      }
      if($childStyle$$8_next$$4_row$$inline_4514$$) {
        break
      }
      $childSpan$$inline_4507_r$$25_rows$$inline_4512_spanForCellSize_tmpDiv$$ === $JSCompiler_StaticMethods__layout$self$$.$_rows$ - 1 && $JSCompiler_StaticMethods__addRow$$($JSCompiler_StaticMethods__layout$self$$)
    }
  }
  $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$ && ($elem$$68_style$$42$$ = $JSCompiler_StaticMethods__layout$self$$.$_sizeDiv$.style, $elem$$68_style$$42$$.width = $cols$$inline_4511_maxColSpan$$ * $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$.$w$ + "px", $elem$$68_style$$42$$.height = $JSCompiler_StaticMethods__layout$self$$.$_rows$ * $JSCompiler_temp_const$$105_cellSize$$1_oldSizeStyleClass$$4$$.$h$ + "px");
  for($i$$598$$ = 0;$i$$598$$ < $children$$72$$.length;$i$$598$$++) {
    $child$$62$$ = $children$$72$$[$i$$598$$], $childStyle$$8_next$$4_row$$inline_4514$$ = $child$$62$$.style, $JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$ = $arOldPositions$$[$i$$598$$], ($rtl$$13$$ && parseInt($childStyle$$8_next$$4_row$$inline_4514$$.right, 10) !== parseInt($JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$.right, 10) || !$rtl$$13$$ && parseInt($childStyle$$8_next$$4_row$$inline_4514$$.left, 
    10) !== parseInt($JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$.left, 10) || parseInt($childStyle$$8_next$$4_row$$inline_4514$$.top, 10) !== parseInt($JSCompiler_StaticMethods__fits$self$$inline_4518_JSCompiler_inline_result$$76_arCols$$inline_4515_oldPosition$$1$$.top, 10)) && $arMovedInfolets$$.push($child$$62$$)
  }
  1 > $arMovedInfolets$$.length && ($arMovedInfolets$$ = $JSCompiler_alias_NULL$$);
  return $arMovedInfolets$$
}
function $JSCompiler_StaticMethods__reorderTilesForLayout$$($JSCompiler_StaticMethods__reorderTilesForLayout$self_children$$73$$) {
  var $arTilePositions$$1$$ = $JSCompiler_StaticMethods__reorderTilesForLayout$self_children$$73$$.$_arTilePositions$;
  $JSCompiler_StaticMethods__reorderTilesForLayout$self_children$$73$$.$_arTilePositions$ = $JSCompiler_alias_NULL$$;
  var $mlcClass$$9$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$, $arTilePositions$$1$$ = $arTilePositions$$1$$.sort($mlcClass$$9$$.$_compareTilePositions$);
  $JSCompiler_StaticMethods__reorderTilesForLayout$self_children$$73$$ = $JSCompiler_StaticMethods__getTileChildren$$($JSCompiler_StaticMethods__reorderTilesForLayout$self_children$$73$$);
  for(var $i$$599$$ = 0;$i$$599$$ < $JSCompiler_StaticMethods__reorderTilesForLayout$self_children$$73$$.length;$i$$599$$++) {
    var $child$$63_posTileIndex$$ = $JSCompiler_StaticMethods__reorderTilesForLayout$self_children$$73$$[$i$$599$$], $posTile$$ = $arTilePositions$$1$$[$i$$599$$].$tile$;
    $child$$63_posTileIndex$$ != $posTile$$ && ($child$$63_posTileIndex$$.parentNode.insertBefore($posTile$$, $child$$63_posTileIndex$$), $child$$63_posTileIndex$$ = $mlcClass$$9$$.$_arrayIndexOf$($JSCompiler_StaticMethods__reorderTilesForLayout$self_children$$73$$, $posTile$$), $child$$63_posTileIndex$$ > $i$$599$$ && ($JSCompiler_StaticMethods__reorderTilesForLayout$self_children$$73$$.splice($child$$63_posTileIndex$$, 1), $JSCompiler_StaticMethods__reorderTilesForLayout$self_children$$73$$.splice($i$$599$$, 
    0, $posTile$$)))
  }
}
function $JSCompiler_StaticMethods__addRow$$($JSCompiler_StaticMethods__addRow$self$$) {
  $JSCompiler_StaticMethods__addRow$self$$.$_rows$++;
  var $arCols$$2$$ = [];
  $JSCompiler_StaticMethods__addRow$self$$.$_occupancyMap$.push($arCols$$2$$);
  for(var $col$$26$$ = 0;$col$$26$$ < $JSCompiler_StaticMethods__addRow$self$$.$_cols$;$col$$26$$++) {
    $arCols$$2$$[$col$$26$$] = $JSCompiler_alias_FALSE$$
  }
}
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.prototype.$_position$ = function $window$adf$$shared$$$impl$$$masonryLayout$$$MasonryLayoutCommon$$$$_position$$($child$$64_style$$43$$, $col$$28$$, $row$$136$$, $childSpan$$2_rowSpan$$1$$, $cellSize$$2$$, $insets$$1$$) {
  var $colSpan$$8$$ = $childSpan$$2_rowSpan$$1$$.colSpan;
  $childSpan$$2_rowSpan$$1$$ = $childSpan$$2_rowSpan$$1$$.rowSpan;
  for(var $occupancyMap$$2$$ = this.$_occupancyMap$, $r$$27$$ = $row$$136$$;$r$$27$$ < $row$$136$$ + $childSpan$$2_rowSpan$$1$$;$r$$27$$++) {
    for(var $c$$30$$ = $col$$28$$;$c$$30$$ < $col$$28$$ + $colSpan$$8$$;$c$$30$$++) {
      $occupancyMap$$2$$[$r$$27$$][$c$$30$$] = $JSCompiler_alias_TRUE$$
    }
  }
  $child$$64_style$$43$$ = $child$$64_style$$43$$.style;
  $child$$64_style$$43$$.top = $insets$$1$$.paddingTop + $row$$136$$ * $cellSize$$2$$.$h$ + "px";
  this.$_rtl$ ? $child$$64_style$$43$$.right = $insets$$1$$.paddingRight + $col$$28$$ * $cellSize$$2$$.$w$ + "px" : $child$$64_style$$43$$.left = $insets$$1$$.paddingLeft + $col$$28$$ * $cellSize$$2$$.$w$ + "px"
};
function $JSCompiler_StaticMethods__removeStyleClassFromTiles$$($JSCompiler_StaticMethods__removeStyleClassFromTiles$self$$, $styleClassName$$1$$) {
  for(var $children$$75$$ = $JSCompiler_StaticMethods__getTileChildren$$($JSCompiler_StaticMethods__removeStyleClassFromTiles$self$$), $i$$601$$ = 0;$i$$601$$ < $children$$75$$.length;$i$$601$$++) {
    $JSCompiler_StaticMethods__removeStyleClassFromTiles$self$$.$_removeStyleClassNameFunc$($children$$75$$[$i$$601$$], $styleClassName$$1$$)
  }
}
function $JSCompiler_StaticMethods__transitionStart$$($JSCompiler_StaticMethods__transitionStart$self$$, $reorder$$2$$) {
  if(!$JSCompiler_StaticMethods__transitionStart$self$$.$_layoutTransition$) {
    $JSCompiler_StaticMethods__transitionStart$self$$.$_reorderTransitionStarted$ = $reorder$$2$$;
    if($JSCompiler_StaticMethods__transitionStart$self$$.$isAnimationEnabled$()) {
      for(var $mlcClass$$10_styleClassName$$inline_4528$$ = $reorder$$2$$ ? $JSCompiler_StaticMethods__transitionStart$self$$.$_transitionMoveToFastStyleClass$ : $JSCompiler_StaticMethods__transitionStart$self$$.$_transitionMoveToStyleClass$, $children$$inline_4529$$ = $JSCompiler_StaticMethods__getTileChildren$$($JSCompiler_StaticMethods__transitionStart$self$$), $i$$inline_4530$$ = 0;$i$$inline_4530$$ < $children$$inline_4529$$.length;$i$$inline_4530$$++) {
        $JSCompiler_StaticMethods__transitionStart$self$$.$_addStyleClassNameFunc$($children$$inline_4529$$[$i$$inline_4530$$], $mlcClass$$10_styleClassName$$inline_4528$$)
      }
      $JSCompiler_StaticMethods__transitionStart$self$$.$_addStyleClassNameFunc$($JSCompiler_StaticMethods__transitionStart$self$$.$_sizeDiv$, $reorder$$2$$ ? $JSCompiler_StaticMethods__transitionStart$self$$.$_transitionComponentResizeToFastStyleClass$ : $JSCompiler_StaticMethods__transitionStart$self$$.$_transitionComponentResizeToStyleClass$);
      $mlcClass$$10_styleClassName$$inline_4528$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$;
      $mlcClass$$10_styleClassName$$inline_4528$$.$_addBubbleEventListener$($JSCompiler_StaticMethods__transitionStart$self$$.$_elem$, "transitionend", $JSCompiler_StaticMethods__transitionStart$self$$.$_handleTransitionEndFunc$);
      $mlcClass$$10_styleClassName$$inline_4528$$.$_addBubbleEventListener$($JSCompiler_StaticMethods__transitionStart$self$$.$_elem$, "webkitTransitionEnd", $JSCompiler_StaticMethods__transitionStart$self$$.$_handleTransitionEndFunc$)
    }
    $JSCompiler_StaticMethods__transitionStart$self$$.$_layoutTransition$ = $JSCompiler_alias_TRUE$$
  }
}
function $JSCompiler_StaticMethods__handleTransitionEnd$$($JSCompiler_StaticMethods__handleTransitionEnd$self$$, $event$$261$$) {
  var $arInfoletsToResize$$2_doneTransitioning$$ = $JSCompiler_alias_TRUE$$;
  if($JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_arMovedInfolets$) {
    var $arMovedInfolets$$1$$ = $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_arMovedInfolets$;
    if($event$$261$$) {
      for(var $target$$211$$ = $event$$261$$.target, $i$$602_mlcClass$$11$$ = 0;$i$$602_mlcClass$$11$$ < $arMovedInfolets$$1$$.length;$i$$602_mlcClass$$11$$++) {
        if($target$$211$$ === $arMovedInfolets$$1$$[$i$$602_mlcClass$$11$$]) {
          $arMovedInfolets$$1$$.splice($i$$602_mlcClass$$11$$, 1);
          break
        }
      }
    }else {
      $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$isAnimationEnabled$() || ($JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_arMovedInfolets$ = [], $arMovedInfolets$$1$$ = $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_arMovedInfolets$)
    }
    0 < $arMovedInfolets$$1$$.length && ($arInfoletsToResize$$2_doneTransitioning$$ = $JSCompiler_alias_FALSE$$)
  }
  if($arInfoletsToResize$$2_doneTransitioning$$) {
    if($JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_arInfoletsToResize$ && ($arInfoletsToResize$$2_doneTransitioning$$ = $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_arInfoletsToResize$, $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_arInfoletsToResize$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$isAnimationEnabled$())) {
      for($i$$602_mlcClass$$11$$ = 0;$i$$602_mlcClass$$11$$ < $arInfoletsToResize$$2_doneTransitioning$$.length;$i$$602_mlcClass$$11$$ += 2) {
        $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_removeStyleClassNameFunc$($arInfoletsToResize$$2_doneTransitioning$$[$i$$602_mlcClass$$11$$], $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_transitionResizeToStyleClass$)
      }
    }
    $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_reorderTransitionStarted$ ? ($JSCompiler_StaticMethods__handleTransitionEnd$self$$.$isAnimationEnabled$() && ($JSCompiler_StaticMethods__removeStyleClassFromTiles$$($JSCompiler_StaticMethods__handleTransitionEnd$self$$, $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_transitionMoveToFastStyleClass$), $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_removeStyleClassNameFunc$($JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_sizeDiv$, 
    $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_transitionComponentResizeToFastStyleClass$)), $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_reorderTransitionStarted$ = $JSCompiler_alias_FALSE$$) : $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$isAnimationEnabled$() && ($JSCompiler_StaticMethods__removeStyleClassFromTiles$$($JSCompiler_StaticMethods__handleTransitionEnd$self$$, $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_transitionMoveToStyleClass$), $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_removeStyleClassNameFunc$($JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_sizeDiv$, 
    $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_transitionComponentResizeToStyleClass$));
    $i$$602_mlcClass$$11$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$;
    $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$isAnimationEnabled$() && ($i$$602_mlcClass$$11$$.$_removeBubbleEventListener$($JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_elem$, "transitionend", $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_handleTransitionEndFunc$), $i$$602_mlcClass$$11$$.$_removeBubbleEventListener$($JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_elem$, "webkitTransitionEnd", $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_handleTransitionEndFunc$));
    $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_layoutTransition$ = $JSCompiler_alias_FALSE$$;
    $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_resizingInfolet$ = $JSCompiler_alias_FALSE$$;
    $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_hidingInfolets$ = $JSCompiler_alias_FALSE$$;
    $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_showingInfolets$ = $JSCompiler_alias_FALSE$$;
    $JSCompiler_StaticMethods__reorderTilesForLayout$$($JSCompiler_StaticMethods__handleTransitionEnd$self$$);
    $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_layoutOnEndFunc$ && $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_layoutOnEndFunc$();
    $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_layoutPhase$ === $i$$602_mlcClass$$11$$.$_PHASE_LAYOUT$ ? $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$isAnimationEnabled$() ? $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_showTilesTimeout$ = setTimeout(function() {
      $JSCompiler_StaticMethods__showTiles$$($JSCompiler_StaticMethods__handleTransitionEnd$self$$)
    }, 0) : $JSCompiler_StaticMethods__showTiles$$($JSCompiler_StaticMethods__handleTransitionEnd$self$$) : $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_layoutPhase$ || $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_layoutCycleOnEndFunc$ && $JSCompiler_StaticMethods__handleTransitionEnd$self$$.$_layoutCycleOnEndFunc$()
  }
}
function $JSCompiler_StaticMethods__hideTiles$$($JSCompiler_StaticMethods__hideTiles$self$$) {
  $JSCompiler_StaticMethods__hideTiles$self$$.$_hideTilesTimeout$ && (clearTimeout($JSCompiler_StaticMethods__hideTiles$self$$.$_hideTilesTimeout$), $JSCompiler_StaticMethods__hideTiles$self$$.$_hideTilesTimeout$ = $JSCompiler_alias_NULL$$);
  $JSCompiler_StaticMethods__hideTiles$self$$.$_layoutCycleOnStartFunc$ && $JSCompiler_StaticMethods__hideTiles$self$$.$_layoutCycleOnStartFunc$();
  var $mlcClass$$13$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$;
  $JSCompiler_StaticMethods__hideTiles$self$$.$_layoutPhase$ = $mlcClass$$13$$.$_PHASE_HIDE$;
  if($JSCompiler_StaticMethods__hideTiles$self$$.$_arInfoletsToHide$ && $JSCompiler_StaticMethods__hideTiles$self$$.$isAnimationEnabled$()) {
    for(var $arInfoletsToHide$$1$$ = $JSCompiler_StaticMethods__hideTiles$self$$.$_arInfoletsToHide$, $i$$603$$ = 0;$i$$603$$ < $arInfoletsToHide$$1$$.length;$i$$603$$++) {
      var $infolet$$11$$ = $arInfoletsToHide$$1$$[$i$$603$$];
      $mlcClass$$13$$.$_addBubbleEventListener$($infolet$$11$$, "transitionend", $JSCompiler_StaticMethods__hideTiles$self$$.$_handleHideTransitionEndFunc$);
      $mlcClass$$13$$.$_addBubbleEventListener$($infolet$$11$$, "webkitTransitionEnd", $JSCompiler_StaticMethods__hideTiles$self$$.$_handleHideTransitionEndFunc$);
      $JSCompiler_StaticMethods__hideTiles$self$$.$_addStyleClassNameFunc$($infolet$$11$$, $JSCompiler_StaticMethods__hideTiles$self$$.$_transitionHideFromStyleClass$)
    }
    $JSCompiler_StaticMethods__hideTiles$self$$.$_hideTilesInternalTimeout$ = setTimeout(function() {
      for(var $mlcClass$$13$$ = 0;$mlcClass$$13$$ < $arInfoletsToHide$$1$$.length;$mlcClass$$13$$++) {
        var $i$$603$$ = $arInfoletsToHide$$1$$[$mlcClass$$13$$];
        $JSCompiler_StaticMethods__hideTiles$self$$.$_removeStyleClassNameFunc$($i$$603$$, $JSCompiler_StaticMethods__hideTiles$self$$.$_transitionHideFromStyleClass$);
        $JSCompiler_StaticMethods__hideTiles$self$$.$_addStyleClassNameFunc$($i$$603$$, $JSCompiler_StaticMethods__hideTiles$self$$.$_transitionHideToStyleClass$)
      }
    }, 0)
  }else {
    $JSCompiler_StaticMethods__handleHideTransitionEnd$$($JSCompiler_StaticMethods__hideTiles$self$$, $JSCompiler_alias_NULL$$)
  }
}
function $JSCompiler_StaticMethods__handleHideTransitionEnd$$($JSCompiler_StaticMethods__handleHideTransitionEnd$self$$, $event$$262$$) {
  $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_hideTilesInternalTimeout$ && (clearTimeout($JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_hideTilesInternalTimeout$), $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_hideTilesInternalTimeout$ = $JSCompiler_alias_NULL$$);
  var $arInfoletsToResize$$3_mlcClass$$14$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$;
  if($event$$262$$) {
    $event$$262$$.preventDefault();
    $event$$262$$.stopPropagation();
    var $infolet$$13$$ = $event$$262$$.target;
    $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_removeStyleClassNameFunc$($infolet$$13$$, $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_transitionHideToStyleClass$);
    $arInfoletsToResize$$3_mlcClass$$14$$.$_removeBubbleEventListener$($infolet$$13$$, "transitionend", $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_handleHideTransitionEndFunc$);
    $arInfoletsToResize$$3_mlcClass$$14$$.$_removeBubbleEventListener$($infolet$$13$$, "webkitTransitionEnd", $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_handleHideTransitionEndFunc$);
    var $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$ = $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arInfoletsToHide$;
    if($arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$) {
      for(var $i$$605$$ = 0;$i$$605$$ < $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$.length;$i$$605$$++) {
        var $tmpInfolet$$ = $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$[$i$$605$$];
        if($tmpInfolet$$ === $infolet$$13$$) {
          $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$.splice($i$$605$$, 1);
          $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arFireHideOnEnd$ || ($JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arFireHideOnEnd$ = []);
          var $arFireHideOnEnd_newSizeStyleClass$$3$$ = $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arFireHideOnEnd$;
          $arFireHideOnEnd_newSizeStyleClass$$3$$.push($infolet$$13$$);
          break
        }
      }
      1 > $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$.length && ($JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arInfoletsToHide$ = $JSCompiler_alias_NULL$$)
    }
  }else {
    if(!$JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$isAnimationEnabled$() && ($arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$ = $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arInfoletsToHide$)) {
      for($i$$605$$ = 0;$i$$605$$ < $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$.length;$i$$605$$++) {
        $tmpInfolet$$ = $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$[$i$$605$$], $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arFireHideOnEnd$ || ($JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arFireHideOnEnd$ = []), $arFireHideOnEnd_newSizeStyleClass$$3$$ = $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arFireHideOnEnd$, $arFireHideOnEnd_newSizeStyleClass$$3$$.push($tmpInfolet$$)
      }
      $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arInfoletsToHide$ = $JSCompiler_alias_NULL$$
    }
  }
  if(!$JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arInfoletsToHide$) {
    if($JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arFireHideOnEnd$) {
      $arFireHideOnEnd_newSizeStyleClass$$3$$ = $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arFireHideOnEnd$;
      for($i$$605$$ = 0;$i$$605$$ < $arFireHideOnEnd_newSizeStyleClass$$3$$.length;$i$$605$$++) {
        $infolet$$13$$ = $arFireHideOnEnd_newSizeStyleClass$$3$$[$i$$605$$], $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$isAnimationEnabled$() && $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_removeStyleClassNameFunc$($infolet$$13$$, $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_transitionHideToStyleClass$), $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$ = $infolet$$13$$.style, $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_rtl$ ? $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$.right = 
        "" : $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$.left = "", $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$.top = "", $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_hideTileOnEndFunc$ && $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_hideTileOnEndFunc$($infolet$$13$$)
      }
      $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arFireHideOnEnd$ = $JSCompiler_alias_NULL$$
    }
    $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_layoutPhase$ = $arInfoletsToResize$$3_mlcClass$$14$$.$_PHASE_LAYOUT$;
    $JSCompiler_StaticMethods__transitionStart$$($JSCompiler_StaticMethods__handleHideTransitionEnd$self$$, $JSCompiler_alias_FALSE$$);
    if($JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arInfoletsToResize$) {
      $arInfoletsToResize$$3_mlcClass$$14$$ = $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_arInfoletsToResize$;
      for($i$$605$$ = 0;$i$$605$$ < $arInfoletsToResize$$3_mlcClass$$14$$.length;$i$$605$$ += 2) {
        $infolet$$13$$ = $arInfoletsToResize$$3_mlcClass$$14$$[$i$$605$$], $arFireHideOnEnd_newSizeStyleClass$$3$$ = $arInfoletsToResize$$3_mlcClass$$14$$[$i$$605$$ + 1], $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$ = $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_getSizeStyleClassNameFunc$($infolet$$13$$), $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_removeStyleClassNameFunc$($infolet$$13$$, $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$), $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_addStyleClassNameFunc$($infolet$$13$$, 
        $arFireHideOnEnd_newSizeStyleClass$$3$$), $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$isAnimationEnabled$() && ($JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_addStyleClassNameFunc$($infolet$$13$$, $JSCompiler_StaticMethods__handleHideTransitionEnd$self$$.$_transitionResizeToStyleClass$), $infolet$$13$$.$_afrOldSizeStyleClass$ = $arInfoletsToHide$$2_oldSizeStyleClass$$5_style$$44$$)
      }
    }
    $JSCompiler_StaticMethods__transitionLayout$$($JSCompiler_StaticMethods__handleHideTransitionEnd$self$$)
  }
}
function $JSCompiler_StaticMethods__showTiles$$($JSCompiler_StaticMethods__showTiles$self$$) {
  $JSCompiler_StaticMethods__showTiles$self$$.$_showTilesTimeout$ && (clearTimeout($JSCompiler_StaticMethods__showTiles$self$$.$_showTilesTimeout$), $JSCompiler_StaticMethods__showTiles$self$$.$_showTilesTimeout$ = $JSCompiler_alias_NULL$$);
  var $mlcClass$$15$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$;
  $JSCompiler_StaticMethods__showTiles$self$$.$_layoutPhase$ = $mlcClass$$15$$.$_PHASE_SHOW$;
  if($JSCompiler_StaticMethods__showTiles$self$$.$_arInfoletsToShow$ && $JSCompiler_StaticMethods__showTiles$self$$.$isAnimationEnabled$()) {
    for(var $arInfoletsToShow$$1$$ = $JSCompiler_StaticMethods__showTiles$self$$.$_arInfoletsToShow$, $i$$606$$ = 0;$i$$606$$ < $arInfoletsToShow$$1$$.length;$i$$606$$++) {
      var $infolet$$14$$ = $arInfoletsToShow$$1$$[$i$$606$$];
      $mlcClass$$15$$.$_addBubbleEventListener$($infolet$$14$$, "transitionend", $JSCompiler_StaticMethods__showTiles$self$$.$_handleShowTransitionEndFunc$);
      $mlcClass$$15$$.$_addBubbleEventListener$($infolet$$14$$, "webkitTransitionEnd", $JSCompiler_StaticMethods__showTiles$self$$.$_handleShowTransitionEndFunc$);
      $JSCompiler_StaticMethods__showTiles$self$$.$_addStyleClassNameFunc$($infolet$$14$$, $JSCompiler_StaticMethods__showTiles$self$$.$_transitionShowToStyleClass$);
      $JSCompiler_StaticMethods__showTiles$self$$.$_removeStyleClassNameFunc$($infolet$$14$$, $JSCompiler_StaticMethods__showTiles$self$$.$_transitionShowFromStyleClass$)
    }
  }else {
    if($JSCompiler_StaticMethods__showTiles$self$$.$_arInfoletsToShow$) {
      $arInfoletsToShow$$1$$ = $JSCompiler_StaticMethods__showTiles$self$$.$_arInfoletsToShow$;
      for($i$$606$$ = 0;$i$$606$$ < $arInfoletsToShow$$1$$.length;$i$$606$$++) {
        $infolet$$14$$ = $arInfoletsToShow$$1$$[$i$$606$$], $JSCompiler_StaticMethods__showTiles$self$$.$_removeStyleClassNameFunc$($infolet$$14$$, $JSCompiler_StaticMethods__showTiles$self$$.$_transitionShowFromStyleClass$)
      }
    }
    $JSCompiler_StaticMethods__handleShowTransitionEnd$$($JSCompiler_StaticMethods__showTiles$self$$, $JSCompiler_alias_NULL$$)
  }
}
function $JSCompiler_StaticMethods__handleShowTransitionEnd$$($JSCompiler_StaticMethods__handleShowTransitionEnd$self$$, $event$$263$$) {
  if($event$$263$$) {
    $event$$263$$.preventDefault();
    $event$$263$$.stopPropagation();
    var $infolet$$15$$ = $event$$263$$.target;
    $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_removeStyleClassNameFunc$($infolet$$15$$, $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_transitionShowToStyleClass$);
    var $arInfoletsToShow$$2_mlcClass$$16$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$;
    $arInfoletsToShow$$2_mlcClass$$16$$.$_removeBubbleEventListener$($infolet$$15$$, "transitionend", $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_handleShowTransitionEndFunc$);
    $arInfoletsToShow$$2_mlcClass$$16$$.$_removeBubbleEventListener$($infolet$$15$$, "webkitTransitionEnd", $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_handleShowTransitionEndFunc$);
    if($arInfoletsToShow$$2_mlcClass$$16$$ = $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_arInfoletsToShow$) {
      for(var $i$$607$$ = 0;$i$$607$$ < $arInfoletsToShow$$2_mlcClass$$16$$.length;$i$$607$$++) {
        var $tmpInfolet$$1$$ = $arInfoletsToShow$$2_mlcClass$$16$$[$i$$607$$];
        if($tmpInfolet$$1$$ === $infolet$$15$$) {
          $arInfoletsToShow$$2_mlcClass$$16$$.splice($i$$607$$, 1);
          $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_showTileOnEndFunc$ && $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_showTileOnEndFunc$($infolet$$15$$);
          break
        }
      }
      1 > $arInfoletsToShow$$2_mlcClass$$16$$.length && ($JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_arInfoletsToShow$ = $JSCompiler_alias_NULL$$)
    }
  }else {
    if(!$JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$isAnimationEnabled$() && ($arInfoletsToShow$$2_mlcClass$$16$$ = $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_arInfoletsToShow$)) {
      for($i$$607$$ = 0;$i$$607$$ < $arInfoletsToShow$$2_mlcClass$$16$$.length;$i$$607$$++) {
        $tmpInfolet$$1$$ = $arInfoletsToShow$$2_mlcClass$$16$$[$i$$607$$], $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_showTileOnEndFunc$ && $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_showTileOnEndFunc$($tmpInfolet$$1$$)
      }
      $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_arInfoletsToShow$ = $JSCompiler_alias_NULL$$
    }
  }
  $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_arInfoletsToShow$ || ($JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_layoutPhase$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_layoutCycleOnEndFunc$ && $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_layoutCycleOnEndFunc$(), $JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_queuedRelayout$ && ($JSCompiler_StaticMethods__handleShowTransitionEnd$self$$.$_queuedRelayout$ = 
  $JSCompiler_alias_FALSE$$, $JSCompiler_StaticMethods__queueRelayout$$($JSCompiler_StaticMethods__handleShowTransitionEnd$self$$)))
}
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_PHASE_HIDE$ = 1;
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_PHASE_LAYOUT$ = 2;
window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$.$_PHASE_SHOW$ = 3;
