var $AdfDhtmlPanelStretchLayoutPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlPanelStretchLayoutPeer", !1);
$goog$exportSymbol$$("AdfDhtmlPanelStretchLayoutPeer", $AdfDhtmlPanelStretchLayoutPeer$$);
$AdfDhtmlPanelStretchLayoutPeer$$.$_handleWindowResizeFunctionName$ = "_handleWindowResize";
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$needsResizeNotify$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelStretchLayoutPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$needsChildVisibilityChanges$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$needsChildVisibilityChanges$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelStretchLayoutPeer.prototype.needsChildVisibilityChanges", {$needsChildVisibilityChanges$:$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$needsChildVisibilityChanges$});
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$ComponentRemoved$$($agent$$536_component$$1817_rootElement$$142$$) {
  $AdfPage$$.$PAGE$.$__unregisterDescendantResizeNotifyComponent$($agent$$536_component$$1817_rootElement$$142$$);
  this.$_resizeTimeout$ && window.clearTimeout(this.$_resizeTimeout$);
  if (($agent$$536_component$$1817_rootElement$$142$$ = this.$getDomElement$()) && null != $agent$$536_component$$1817_rootElement$$142$$.getAttribute("data-vb")) {
    $agent$$536_component$$1817_rootElement$$142$$ = $AdfAgent$$.$AGENT$;
    $agent$$536_component$$1817_rootElement$$142$$.$getDomDocument$();
    var $domWindow$$120$$ = $agent$$536_component$$1817_rootElement$$142$$.$getDomWindow$();
    this.$_setupEventHandler$($agent$$536_component$$1817_rootElement$$142$$, $AdfDhtmlPanelStretchLayoutPeer$$.$_handleWindowResizeFunctionName$, "resize", !1, $domWindow$$120$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelStretchLayoutPeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$_setupEventHandler$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$_setupEventHandler$$($agent$$537$$, $funcName$$8$$, $eventName$$3$$, $setup$$1$$, $listenElement$$1$$) {
  var $stubName$$1$$ = $funcName$$8$$ + "Stub", $stubAlreadyAdded$$ = !1;
  null == this[$stubName$$1$$] ? this[$stubName$$1$$] = this.$createCallback$(this[$funcName$$8$$]) : $stubAlreadyAdded$$ = !0;
  if ($setup$$1$$) {
    if (!$stubAlreadyAdded$$) {
      return $agent$$537$$.$addBubbleEventListener$($listenElement$$1$$, $eventName$$3$$, this[$stubName$$1$$]), !0;
    }
  } else {
    return $agent$$537$$.$removeBubbleEventListener$($listenElement$$1$$, $eventName$$3$$, this[$stubName$$1$$]), delete this[$stubName$$1$$], !0;
  }
  return !1;
};
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$BindToComponent$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$BindToComponent$$($component$$1818$$, $domElement$$410$$) {
  $AdfDhtmlPanelStretchLayoutPeer$$.$superclass$.$BindToComponent$.call(this, $component$$1818$$, $domElement$$410$$);
  var $clientId$$381_rightId$$ = $component$$1818$$.$getClientId$(), $centerId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$381_rightId$$, "c"), $middleWrapperId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$381_rightId$$, "m"), $topId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$381_rightId$$, "t"), $bottomId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$381_rightId$$, "b"), $leftId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$381_rightId$$, "l"), $clientId$$381_rightId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$381_rightId$$, 
  "r"), $agent$$538$$ = $AdfAgent$$.$AGENT$;
  this.$_centerPaneElement$ = $agent$$538$$.getElementById($centerId$$1$$);
  this.$_middleWrapperElement$ = $agent$$538$$.getElementById($middleWrapperId$$);
  this.$_topPaneElement$ = $agent$$538$$.getElementById($topId$$2$$);
  this.$_bottomPaneElement$ = $agent$$538$$.getElementById($bottomId$$2$$);
  this.$_leftPaneElement$ = $agent$$538$$.getElementById($leftId$$);
  this.$_rightPaneElement$ = $agent$$538$$.getElementById($clientId$$381_rightId$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelStretchLayoutPeer.prototype.BindToComponent", {$BindToComponent$:$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$BindToComponent$});
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$UnbindFromComponent$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$UnbindFromComponent$$() {
  $AdfDhtmlPanelStretchLayoutPeer$$.$superclass$.$UnbindFromComponent$.call(this);
  this.$_rightPaneElement$ = this.$_leftPaneElement$ = this.$_bottomPaneElement$ = this.$_topPaneElement$ = this.$_middleWrapperElement$ = this.$_centerPaneElement$ = null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelStretchLayoutPeer.prototype.UnbindFromComponent", {$UnbindFromComponent$:$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$UnbindFromComponent$});
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$ResizeNotify$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$ResizeNotify$$($oldWidth$$27$$, $oldHeight$$27$$, $newWidth$$50$$, $newHeight$$37$$) {
  $oldWidth$$27$$ == $newWidth$$50$$ && $oldHeight$$27$$ == $newHeight$$37$$ && ($oldHeight$$27$$ = $oldWidth$$27$$ = void 0);
  var $agent$$539_repositioningRequired_rootElement$$143$$ = this.$getDomElement$(), $dimensionsFromParent$$12_firstElement$$3$$ = $AdfDomUtils$$.$getFirstChildElement$($agent$$539_repositioningRequired_rootElement$$143$$);
  if (null != $dimensionsFromParent$$12_firstElement$$3$$) {
    var $dimensionsFromParent$$12_firstElement$$3$$ = this.$_isDimensionsFromParent$($dimensionsFromParent$$12_firstElement$$3$$), $topPaneElement$$ = this.$_topPaneElement$, $leftPaneElement$$ = this.$_leftPaneElement$, $centerPaneElement$$ = this.$_centerPaneElement$, $rightPaneElement$$ = this.$_rightPaneElement$, $bottomPaneElement$$ = this.$_bottomPaneElement$, $innerHeight$$1_topHeight$$ = this.$_getSize$($topPaneElement$$, "height"), $innerWidth$$1_leftWidth$$ = this.$_getSize$($leftPaneElement$$, 
    "width"), $rightWidth$$ = this.$_getSize$($rightPaneElement$$, "width"), $bottomHeight$$ = this.$_getSize$($bottomPaneElement$$, "height");
    if (null != $agent$$539_repositioningRequired_rootElement$$143$$.getAttribute("data-vb")) {
      $agent$$539_repositioningRequired_rootElement$$143$$ = $AdfAgent$$.$AGENT$;
      $agent$$539_repositioningRequired_rootElement$$143$$.$getDomDocument$();
      var $domWindow$$121$$ = $agent$$539_repositioningRequired_rootElement$$143$$.$getDomWindow$(), $funcName$$9$$ = $AdfDhtmlPanelStretchLayoutPeer$$.$_handleWindowResizeFunctionName$;
      if (this.$_setupEventHandler$($agent$$539_repositioningRequired_rootElement$$143$$, $funcName$$9$$, "resize", !0, $domWindow$$121$$)) {
        this[$funcName$$9$$]();
      }
    }
    $agent$$539_repositioningRequired_rootElement$$143$$ = !1;
    $topPaneElement$$ && $AdfDomUtils$$.$isVisible$($topPaneElement$$) && !$innerHeight$$1_topHeight$$ && ($innerHeight$$1_topHeight$$ = $topPaneElement$$.offsetHeight, $agent$$539_repositioningRequired_rootElement$$143$$ = !0);
    $leftPaneElement$$ && $AdfDomUtils$$.$isVisible$($leftPaneElement$$) && !$innerWidth$$1_leftWidth$$ && ($agent$$539_repositioningRequired_rootElement$$143$$ = !0);
    $centerPaneElement$$ && $AdfDomUtils$$.$isVisible$($centerPaneElement$$) && !$dimensionsFromParent$$12_firstElement$$3$$ && $JSCompiler_StaticMethods__isJsFlowLayout$$(this) && ($agent$$539_repositioningRequired_rootElement$$143$$ = !0);
    $rightPaneElement$$ && $AdfDomUtils$$.$isVisible$($rightPaneElement$$) && !$rightWidth$$ && ($agent$$539_repositioningRequired_rootElement$$143$$ = !0);
    $bottomPaneElement$$ && $AdfDomUtils$$.$isVisible$($bottomPaneElement$$) && !$bottomHeight$$ && ($bottomHeight$$ = $bottomPaneElement$$.offsetHeight, $agent$$539_repositioningRequired_rootElement$$143$$ = !0);
    $agent$$539_repositioningRequired_rootElement$$143$$ && (this.$_repositionPanes$(), $AdfPage$$.$PAGE$.$__registerDescendantResizeNotifyComponent$(this.$getComponent$()));
    $innerWidth$$1_leftWidth$$ = this.$_getSize$($leftPaneElement$$, "width");
    $rightWidth$$ = this.$_getSize$($rightPaneElement$$, "width");
    $innerHeight$$1_topHeight$$ = $newHeight$$37$$ - ($innerHeight$$1_topHeight$$ + $bottomHeight$$);
    $innerWidth$$1_leftWidth$$ = $newWidth$$50$$ - ($innerWidth$$1_leftWidth$$ + $rightWidth$$);
    $newWidth$$50$$ != $oldWidth$$27$$ && ($JSCompiler_StaticMethods__stretchPane$$($topPaneElement$$, $newWidth$$50$$, void 0), $JSCompiler_StaticMethods__stretchPane$$($bottomPaneElement$$, $newWidth$$50$$, void 0));
    $dimensionsFromParent$$12_firstElement$$3$$ && ($newHeight$$37$$ != $oldHeight$$27$$ && ($JSCompiler_StaticMethods__stretchPane$$($leftPaneElement$$, void 0, $innerHeight$$1_topHeight$$), $JSCompiler_StaticMethods__stretchPane$$($rightPaneElement$$, void 0, $innerHeight$$1_topHeight$$)), $JSCompiler_StaticMethods__stretchPane$$($centerPaneElement$$, $innerWidth$$1_leftWidth$$, $innerHeight$$1_topHeight$$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelStretchLayoutPeer.prototype.ResizeNotify", {$ResizeNotify$:$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$ResizeNotify$});
$AdfDhtmlPanelStretchLayoutPeer$$.prototype[$AdfDhtmlPanelStretchLayoutPeer$$.$_handleWindowResizeFunctionName$] = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$AdfDhtmlPanelStretchLayoutPeer$$$$_handleWindowResizeFunctionName$$() {
  this.$_resizeTimeout$ && window.clearTimeout(this.$_resizeTimeout$);
  var $peer$$168$$ = this;
  this.$_resizeTimeout$ = window.setTimeout(function() {
    var $rootElement$$inline_3672$$ = $peer$$168$$.$getDomElement$(), $vb$$inline_3674_viewportBottom$$inline_3673$$ = $rootElement$$inline_3672$$.getAttribute("data-vb");
    if (null != $vb$$inline_3674_viewportBottom$$inline_3673$$ && ($vb$$inline_3674_viewportBottom$$inline_3673$$ = parseInt($vb$$inline_3674_viewportBottom$$inline_3673$$, 10), 0 <= $vb$$inline_3674_viewportBottom$$inline_3673$$)) {
      var $viewportHeight$$inline_3675$$ = document.documentElement.clientHeight;
      if ("absolute" != $AdfAgent$$.$getAgent$().getComputedStyle($rootElement$$inline_3672$$).position) {
        var $top$$inline_3676$$ = $AdfAgent$$.$AGENT$.$getElementTop$($rootElement$$inline_3672$$);
        $top$$inline_3676$$ < $viewportHeight$$inline_3675$$ && ($rootElement$$inline_3672$$.style.height = $viewportHeight$$inline_3675$$ - $vb$$inline_3674_viewportBottom$$inline_3673$$ - $top$$inline_3676$$ + "px", $AdfPage$$.$PAGE$.$doResizeNotify$($peer$$168$$.$getComponent$()));
      }
    }
    $peer$$168$$.$_resizeTimeout$ = null;
  }, 250);
};
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$DomReplaceNotify$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$DomReplaceNotify$$($domNode$$77$$) {
  if (this.$_isChild$($domNode$$77$$)) {
    var $needsResizeNotify$$2$$ = !1, $parentPane$$ = $domNode$$77$$.parentNode, $canAbsolutePosition_parentVisible$$2$$ = $AdfDomUtils$$.$isVisible$($parentPane$$), $childVisible$$9_paneAutoSized$$ = $AdfDomUtils$$.$isVisible$($domNode$$77$$);
    $childVisible$$9_paneAutoSized$$ != $canAbsolutePosition_parentVisible$$2$$ && ($AdfDomUtils$$.setVisible($parentPane$$, $childVisible$$9_paneAutoSized$$), this.$_repositionPanes$(), $needsResizeNotify$$2$$ = !0);
    var $canAbsolutePosition_parentVisible$$2$$ = !0, $childVisible$$9_paneAutoSized$$ = !1, $rootElement$$145$$ = this.$getDomElement$(), $dimensionsFromParent$$13_firstElement$$4$$ = $AdfDomUtils$$.$getFirstChildElement$($rootElement$$145$$);
    if (null == $dimensionsFromParent$$13_firstElement$$4$$) {
      return $rootElement$$145$$;
    }
    var $dimensionsFromParent$$13_firstElement$$4$$ = this.$_isDimensionsFromParent$($dimensionsFromParent$$13_firstElement$$4$$), $parentPaneId$$ = $parentPane$$.id;
    -1 != $parentPaneId$$.indexOf("::t") || -1 != $parentPaneId$$.indexOf("::b") ? this.$_getSize$($parentPane$$, "height") || ($needsResizeNotify$$2$$ = $childVisible$$9_paneAutoSized$$ = !0) : -1 != $parentPaneId$$.indexOf("::r") || -1 != $parentPaneId$$.indexOf("::l") ? $dimensionsFromParent$$13_firstElement$$4$$ ? this.$_getSize$($parentPane$$, "width") || ($needsResizeNotify$$2$$ = $childVisible$$9_paneAutoSized$$ = !0) : $canAbsolutePosition_parentVisible$$2$$ = !1 : -1 != $parentPaneId$$.indexOf("::c") && 
    ($dimensionsFromParent$$13_firstElement$$4$$ || ($canAbsolutePosition_parentVisible$$2$$ = !1));
    if ($canAbsolutePosition_parentVisible$$2$$ && !$childVisible$$9_paneAutoSized$$) {
      var $panePadding$$3$$ = "0px", $agent$$540$$ = $AdfAgent$$.$AGENT$;
      $agent$$540$$.$prepareStretchedChild$($domNode$$77$$, $panePadding$$3$$);
    }
    return $canAbsolutePosition_parentVisible$$2$$ && !$needsResizeNotify$$2$$ ? ($agent$$540$$.$resizeStretchedChild$($domNode$$77$$, $panePadding$$3$$), $domNode$$77$$) : $rootElement$$145$$;
  }
  return $domNode$$77$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelStretchLayoutPeer.prototype.DomReplaceNotify", {$DomReplaceNotify$:$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$DomReplaceNotify$});
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$ChildVisibilityChanged$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$ChildVisibilityChanged$$($childComponent$$20$$, $childDomElement$$9$$, $childVisible$$10$$) {
  return this.$_isChild$($childDomElement$$9$$) ? ($AdfDomUtils$$.setVisible($childDomElement$$9$$.parentNode, $childVisible$$10$$), this.$_repositionPanes$(), $AdfDomUtils$$.setVisible($childDomElement$$9$$, $childVisible$$10$$), $AdfPage$$.$PAGE$.$doResizeNotify$(this.$getComponent$()), !0) : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelStretchLayoutPeer.prototype.ChildVisibilityChanged", {$ChildVisibilityChanged$:$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$ChildVisibilityChanged$});
function $JSCompiler_StaticMethods__isJsFlowLayout$$($JSCompiler_StaticMethods__isJsFlowLayout$self_middleWrapperElement$$) {
  $JSCompiler_StaticMethods__isJsFlowLayout$self_middleWrapperElement$$ = $JSCompiler_StaticMethods__isJsFlowLayout$self_middleWrapperElement$$.$_middleWrapperElement$;
  return null != $JSCompiler_StaticMethods__isJsFlowLayout$self_middleWrapperElement$$ && "true" == $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__isJsFlowLayout$self_middleWrapperElement$$, "_afrFlowJs");
}
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$_getSize$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$_getSize$$($paneElement$$3$$, $propName$$32$$) {
  return $paneElement$$3$$ && $AdfDomUtils$$.$isVisible$($paneElement$$3$$) ? $AdfAgent$$.$getCSSLengthAsInt$($paneElement$$3$$.style[$propName$$32$$]) : 0;
};
function $JSCompiler_StaticMethods__getSizeLength$$($paneElement$$4$$, $propName$$33$$) {
  if ($paneElement$$4$$ && $AdfDomUtils$$.$isVisible$($paneElement$$4$$)) {
    var $styleLength$$ = $paneElement$$4$$.style[$propName$$33$$];
    return $styleLength$$ ? $styleLength$$ : $paneElement$$4$$["offset" + $propName$$33$$.charAt(0).toUpperCase() + $propName$$33$$.substring(1)] + "px";
  }
  return "0px";
}
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$_isChild$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$_isChild$$($domNode$$78$$) {
  return $domNode$$78$$.parentNode.parentNode == this.$getDomElement$();
};
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$_repositionPanes$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$_repositionPanes$$() {
  var $agent$$541_maxHeight$$4$$ = $AdfAgent$$.$AGENT$, $leftPaneElement$$1$$ = this.$_leftPaneElement$, $bottomPaneElement$$1_leftWidth$$1$$ = this.$_bottomPaneElement$, $rightPaneElement$$1$$ = this.$_rightPaneElement$, $centerPaneElement$$1$$ = this.$_centerPaneElement$, $topHeight$$1$$ = $JSCompiler_StaticMethods__getSizeLength$$(this.$_topPaneElement$, "height"), $bottomHeight$$1$$ = $JSCompiler_StaticMethods__getSizeLength$$($bottomPaneElement$$1_leftWidth$$1$$, "height"), $bottomPaneElement$$1_leftWidth$$1$$ = 
  $JSCompiler_StaticMethods__getSizeLength$$($leftPaneElement$$1$$, "width"), $rightWidth$$1$$ = $JSCompiler_StaticMethods__getSizeLength$$($rightPaneElement$$1$$, "width"), $firstElement$$5_rootElement$$146$$ = this.$getDomElement$(), $firstElement$$5_rootElement$$146$$ = $AdfDomUtils$$.$getFirstChildElement$($firstElement$$5_rootElement$$146$$);
  null != $firstElement$$5_rootElement$$146$$ && (this.$_isDimensionsFromParent$($firstElement$$5_rootElement$$146$$) ? ($agent$$541_maxHeight$$4$$.$repositionStretchedElement$($leftPaneElement$$1$$, $topHeight$$1$$, $bottomHeight$$1$$), $agent$$541_maxHeight$$4$$.$repositionStretchedElement$($rightPaneElement$$1$$, $topHeight$$1$$, $bottomHeight$$1$$), $agent$$541_maxHeight$$4$$.$repositionStretchedElement$($centerPaneElement$$1$$, $topHeight$$1$$, $bottomHeight$$1$$, $bottomPaneElement$$1_leftWidth$$1$$, 
  $rightWidth$$1$$)) : $JSCompiler_StaticMethods__isJsFlowLayout$$(this) && ($agent$$541_maxHeight$$4$$ = 0, null != $centerPaneElement$$1$$ && ($centerPaneElement$$1$$.style.left = $bottomPaneElement$$1_leftWidth$$1$$, $centerPaneElement$$1$$.style.right = $rightWidth$$1$$, $agent$$541_maxHeight$$4$$ = Math.max($agent$$541_maxHeight$$4$$, $centerPaneElement$$1$$.offsetHeight)), null != $leftPaneElement$$1$$ && ($agent$$541_maxHeight$$4$$ = Math.max($agent$$541_maxHeight$$4$$, $leftPaneElement$$1$$.offsetHeight)), 
  null != $rightPaneElement$$1$$ && ($agent$$541_maxHeight$$4$$ = Math.max($agent$$541_maxHeight$$4$$, $rightPaneElement$$1$$.offsetHeight)), this.$_middleWrapperElement$.style.height = $agent$$541_maxHeight$$4$$ + "px"));
};
$AdfDhtmlPanelStretchLayoutPeer$$.prototype.$_isDimensionsFromParent$ = function $$AdfDhtmlPanelStretchLayoutPeer$$$$$_isDimensionsFromParent$$($computedStyle$$19_nodeToTest$$) {
  null == this.$_dimensionsFromParent$ && ($computedStyle$$19_nodeToTest$$ = $computedStyle$$19_nodeToTest$$ = $AdfAgent$$.$AGENT$.getComputedStyle($computedStyle$$19_nodeToTest$$), this.$_dimensionsFromParent$ = "absolute" == $computedStyle$$19_nodeToTest$$.position);
  return this.$_dimensionsFromParent$;
};
function $JSCompiler_StaticMethods__stretchPane$$($paneElement$$5$$, $width$$35$$, $height$$42$$) {
  if ($paneElement$$5$$) {
    var $agent$$542$$ = $AdfAgent$$.$AGENT$;
    $agent$$542$$.$resizeStretchedElement$($paneElement$$5$$, $width$$35$$, $height$$42$$);
    $agent$$542$$.$resizeStretchedChild$($AdfDomUtils$$.$getFirstChildElement$($paneElement$$5$$), "0px");
  }
}
;