var $AdfDhtmlPanelDrawerPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlPanelTabbedPeer$$, "AdfDhtmlPanelDrawerPeer", !1);
$goog$exportSymbol$$("AdfDhtmlPanelDrawerPeer", $AdfDhtmlPanelDrawerPeer$$);
$AdfDhtmlPanelDrawerPeer$$.$InitSubclass$ = function $$AdfDhtmlPanelDrawerPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$(AdfClientDomTracker);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$);
  this.$_TRACKER_SUBID$ = "_adfTracker";
  this.$_TEMP_FLOAT_SUBID$ = "_adfTempFloat";
  this.$_FLOAT_CLASS$ = "p_AFFloat";
  this.$_OPEN_CLASS$ = "p_AFOpen";
  this.$_TABS_PARENT$ = "tabp";
};
$goog$exportSymbol$$("AdfDhtmlPanelDrawerPeer.InitSubclass", $AdfDhtmlPanelDrawerPeer$$.$InitSubclass$);
$AdfDhtmlPanelDrawerPeer$$.prototype.$BindToComponent$ = function $$AdfDhtmlPanelDrawerPeer$$$$$BindToComponent$$($component$$1723$$, $domElement$$368$$) {
  $AdfDhtmlPanelDrawerPeer$$.$superclass$.$BindToComponent$.call(this, $component$$1723$$, $domElement$$368$$);
  var $marginKey_marginValues$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1723$$.$getClientId$(), "margins");
  if ($marginKey_marginValues$$ = $AdfPage$$.$PAGE$.$getPageProperty$($marginKey_marginValues$$)) {
    var $alignLeft$$ = $JSCompiler_StaticMethods__alignLeft$$($component$$1723$$);
    $marginKey_marginValues$$.$isAlignedLeft$ == $alignLeft$$ && ($domElement$$368$$.style.marginTop = $marginKey_marginValues$$.marginTop, $alignLeft$$ ? $domElement$$368$$.style.marginLeft = $marginKey_marginValues$$.marginLeft : $domElement$$368$$.style.marginRight = $marginKey_marginValues$$.marginRight);
  }
  return $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_initializeDrawer$, $component$$1723$$.$getClientId$(), 0, {isSynchronized:!0});
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.BindToComponent", {$BindToComponent$:$AdfDhtmlPanelDrawerPeer$$.prototype.$BindToComponent$});
$AdfDhtmlPanelDrawerPeer$$.prototype.$NewTabSelected$ = function $$AdfDhtmlPanelDrawerPeer$$$$$NewTabSelected$$($component$$1724$$) {
  $AdfDhtmlPanelDrawerPeer$$.$superclass$.$NewTabSelected$.call(this, $component$$1724$$);
  var $domElement$$369_isAttachmentMode$$ = $AdfPage$$.$PAGE$.$isAttachmentMode$();
  if (this.$GetOldDisclosedChild$() && $domElement$$369_isAttachmentMode$$) {
    var $hints$$90_open$$4$$ = "open" == $AdfPage$$.$PAGE$.$getPageProperty$($component$$1724$$.$getClientId$()), $domElement$$369_isAttachmentMode$$ = this.$getDomElement$();
    if ($hints$$90_open$$4$$) {
      var $hints$$90_open$$4$$ = this.$getPopupWindow$($component$$1724$$, $component$$1724$$.$getClientId$()).$getHints$(), $oldClosedHint$$ = $hints$$90_open$$4$$[$AdfDhtmlPopupLayer$$.$HINT_ANIMATE_CLOSED$];
      $hints$$90_open$$4$$[$AdfDhtmlPopupLayer$$.$HINT_ANIMATE_CLOSED$] = !1;
      this.$_adfDoNotClose$ = !0;
      this.$isPopupVisible$($component$$1724$$, $component$$1724$$.$getClientId$()) && this.$hidePopup$($component$$1724$$, $component$$1724$$.$getClientId$());
      delete this.$_adfDoNotClose$;
      $hints$$90_open$$4$$[$AdfDhtmlPopupLayer$$.$HINT_ANIMATE_CLOSED$] = $oldClosedHint$$;
    }
    $JSCompiler_StaticMethods__renderOpen$$(this, $component$$1724$$, $domElement$$369_isAttachmentMode$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.NewTabSelected", {$NewTabSelected$:$AdfDhtmlPanelDrawerPeer$$.prototype.$NewTabSelected$});
$AdfDhtmlPanelDrawerPeer$$.prototype.$DescendantMessageChanged$ = function $$AdfDhtmlPanelDrawerPeer$$$$$DescendantMessageChanged$$() {
  this.$_initialized$ && $JSCompiler_StaticMethods__checkInvalid$$(this, this.$getComponent$());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.DescendantMessageChanged", {$DescendantMessageChanged$:$AdfDhtmlPanelDrawerPeer$$.prototype.$DescendantMessageChanged$});
$AdfDhtmlPanelDrawerPeer$$.prototype.$TabReselected$ = function $$AdfDhtmlPanelDrawerPeer$$$$$TabReselected$$($component$$1725$$, $child$$41$$) {
  $AdfDhtmlPanelDrawerPeer$$.$superclass$.$TabReselected$.call(this, $component$$1725$$);
  $child$$41$$ && !this.$_isInvalid$ && (this.$getDomElement$(), this.$isPopupVisible$($component$$1725$$, $component$$1725$$.$getClientId$()) && this.$hidePopup$($component$$1725$$, $component$$1725$$.$getClientId$()));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.TabReselected", {$TabReselected$:$AdfDhtmlPanelDrawerPeer$$.prototype.$TabReselected$});
$AdfDhtmlPanelDrawerPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlPanelDrawerPeer$$$$$HandleComponentClick$$($componentEvent$$367$$) {
  var $component$$1726$$ = this.$getComponent$(), $disclosedChild$$1$$ = this.$GetOldDisclosedChild$();
  if ($disclosedChild$$1$$ && $JSCompiler_StaticMethods__getAutoDismiss$$(this)) {
    var $currElement$$16$$ = $componentEvent$$367$$.$getNativeEventTarget$(), $tabsParent_tabsParentId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1726$$.$getClientId$(), $AdfDhtmlPanelDrawerPeer$$.$_TABS_PARENT$), $tabsParent_tabsParentId$$ = $AdfAgent$$.$AGENT$.getElementById($tabsParent_tabsParentId$$);
    $currElement$$16$$ == $tabsParent_tabsParentId$$ && this.$TabReselected$($component$$1726$$, $disclosedChild$$1$$);
  }
  $AdfDhtmlPanelDrawerPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$367$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlPanelDrawerPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlPanelDrawerPeer$$.prototype.$UseInvertedRenderingPosition$ = function $$AdfDhtmlPanelDrawerPeer$$$$$UseInvertedRenderingPosition$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.UseInvertedRenderingPosition", {$UseInvertedRenderingPosition$:$AdfDhtmlPanelDrawerPeer$$.prototype.$UseInvertedRenderingPosition$});
$AdfDhtmlPanelDrawerPeer$$.prototype.$IsDisclosedTabRequired$ = function $$AdfDhtmlPanelDrawerPeer$$$$$IsDisclosedTabRequired$$() {
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.IsDisclosedTabRequired", {$IsDisclosedTabRequired$:$AdfDhtmlPanelDrawerPeer$$.prototype.$IsDisclosedTabRequired$});
$AdfDhtmlPanelDrawerPeer$$.prototype.$IsVerticalConveyorSupported$ = function $$AdfDhtmlPanelDrawerPeer$$$$$IsVerticalConveyorSupported$$() {
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.IsVerticalConveyorSupported", {$IsVerticalConveyorSupported$:$AdfDhtmlPanelDrawerPeer$$.prototype.$IsVerticalConveyorSupported$});
function $JSCompiler_StaticMethods__checkInvalid$$($JSCompiler_StaticMethods__checkInvalid$self$$, $component$$1727$$) {
  var $page$$176$$ = $AdfPage$$.$PAGE$, $clientId$$369_popupWindow$$22$$ = $component$$1727$$.$getClientId$(), $ids$$13$$ = $page$$176$$.$getClientIdsWithMessages$($clientId$$369_popupWindow$$22$$), $clientId$$369_popupWindow$$22$$ = $JSCompiler_StaticMethods__checkInvalid$self$$.$getPopupWindow$($component$$1727$$, $clientId$$369_popupWindow$$22$$);
  if ($ids$$13$$ && 0 < $ids$$13$$.length) {
    for (var $i$$480$$ = 0;$i$$480$$ < $ids$$13$$.length;$i$$480$$++) {
      var $currComponent$$13$$ = $page$$176$$.$findComponent$($ids$$13$$[$i$$480$$]);
      if (null != $currComponent$$13$$ && $currComponent$$13$$ instanceof AdfUIEditableValue && !$currComponent$$13$$.getValid()) {
        $JSCompiler_StaticMethods__checkInvalid$self$$.$_isInvalid$ = !0;
        $clientId$$369_popupWindow$$22$$ && $clientId$$369_popupWindow$$22$$.$removeAutodismiss$();
        return;
      }
    }
  }
  $clientId$$369_popupWindow$$22$$ && $clientId$$369_popupWindow$$22$$.$restoreAutodismiss$();
  delete $JSCompiler_StaticMethods__checkInvalid$self$$.$_isInvalid$;
}
$AdfDhtmlPanelDrawerPeer$$.prototype.$_initializeDrawer$ = function $$AdfDhtmlPanelDrawerPeer$$$$$_initializeDrawer$$($clientId$$370_parentDomElement$$inline_3399$$) {
  var $alignNodeId_component$$1728$$ = this.$getComponent$(), $domElement$$370_resizeCallback$$4$$ = this.$getDomElement$(), $agent$$inline_3400_trackerId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$370_parentDomElement$$inline_3399$$, $AdfDhtmlPanelDrawerPeer$$.$_TRACKER_SUBID$), $alignNode$$inline_3402_trackerRemovedCallback$$1$$ = this.$createCallback$(this.$_trackerRemoved$);
  AdfClientDomTracker.$generateAndInsert$($domElement$$370_resizeCallback$$4$$.parentNode, $domElement$$370_resizeCallback$$4$$, $agent$$inline_3400_trackerId$$1$$, $alignNode$$inline_3402_trackerRemovedCallback$$1$$, $clientId$$370_parentDomElement$$inline_3399$$);
  if ("always" == $alignNodeId_component$$1728$$.$getProperty$(AdfRichPanelDrawer.SHOW_HANDLES)) {
    $clientId$$370_parentDomElement$$inline_3399$$ = $domElement$$370_resizeCallback$$4$$.parentNode;
    $agent$$inline_3400_trackerId$$1$$ = $AdfAgent$$.$AGENT$;
    $JSCompiler_StaticMethods__alignLeft$$($alignNodeId_component$$1728$$) ? this.$_float$ = "left" : this.$_float$ = "right";
    var $alignNodeId$$inline_3401_overflowVisible$$inline_3404$$ = $JSCompiler_StaticMethods__getAlignNodeId$$(this, $alignNodeId_component$$1728$$, $domElement$$370_resizeCallback$$4$$);
    ($alignNode$$inline_3402_trackerRemovedCallback$$1$$ = $AdfAgent$$.$AGENT$.getElementById($alignNodeId$$inline_3401_overflowVisible$$inline_3404$$)) || $AdfLogger$$.$LOGGER$.severe("no alignNode could be found for the id " + $alignNodeId$$inline_3401_overflowVisible$$inline_3404$$);
    for (var $ancestor$$inline_3403_tempFloatElement$$inline_3407$$ = $clientId$$370_parentDomElement$$inline_3399$$, $alignNodeId$$inline_3401_overflowVisible$$inline_3404$$ = !0;null != $ancestor$$inline_3403_tempFloatElement$$inline_3407$$.ownerDocument && $ancestor$$inline_3403_tempFloatElement$$inline_3407$$ != $alignNode$$inline_3402_trackerRemovedCallback$$1$$ && 1 == $alignNodeId$$inline_3401_overflowVisible$$inline_3404$$;) {
      var $computedStyle$$inline_3405_tempFloatElementStyle$$inline_3409_tempFloatId$$inline_3408$$ = $agent$$inline_3400_trackerId$$1$$.getComputedStyle($ancestor$$inline_3403_tempFloatElement$$inline_3407$$), $overflowX$$inline_3406$$ = $computedStyle$$inline_3405_tempFloatElementStyle$$inline_3409_tempFloatId$$inline_3408$$.overflowX;
      $overflowX$$inline_3406$$ || ($overflowX$$inline_3406$$ = $computedStyle$$inline_3405_tempFloatElementStyle$$inline_3409_tempFloatId$$inline_3408$$.overflow);
      "visible" != $overflowX$$inline_3406$$ && "" != $overflowX$$inline_3406$$ && ($alignNodeId$$inline_3401_overflowVisible$$inline_3404$$ = !1);
      $ancestor$$inline_3403_tempFloatElement$$inline_3407$$ = $ancestor$$inline_3403_tempFloatElement$$inline_3407$$.parentNode;
    }
    $ancestor$$inline_3403_tempFloatElement$$inline_3407$$ = $AdfPage$$.$PAGE$.$getDomDocument$().createElement("div");
    $computedStyle$$inline_3405_tempFloatElementStyle$$inline_3409_tempFloatId$$inline_3408$$ = $AdfRichUIPeer$$.$CreateSubId$($alignNodeId_component$$1728$$.$getClientId$(), $AdfDhtmlPanelDrawerPeer$$.$_TEMP_FLOAT_SUBID$);
    $ancestor$$inline_3403_tempFloatElement$$inline_3407$$.id = $computedStyle$$inline_3405_tempFloatElementStyle$$inline_3409_tempFloatId$$inline_3408$$;
    $computedStyle$$inline_3405_tempFloatElementStyle$$inline_3409_tempFloatId$$inline_3408$$ = $ancestor$$inline_3403_tempFloatElement$$inline_3407$$.style;
    $agent$$inline_3400_trackerId$$1$$.$setCssFloat$($ancestor$$inline_3403_tempFloatElement$$inline_3407$$, this.$_float$);
    $computedStyle$$inline_3405_tempFloatElementStyle$$inline_3409_tempFloatId$$inline_3408$$.display = "none";
    $alignNodeId$$inline_3401_overflowVisible$$inline_3404$$ || ($clientId$$370_parentDomElement$$inline_3399$$.insertBefore($ancestor$$inline_3403_tempFloatElement$$inline_3407$$, $domElement$$370_resizeCallback$$4$$), $AdfAgent$$.$AGENT$.$elementsAdded$($ancestor$$inline_3403_tempFloatElement$$inline_3407$$), $clientId$$370_parentDomElement$$inline_3399$$.removeChild($domElement$$370_resizeCallback$$4$$), $alignNode$$inline_3402_trackerRemovedCallback$$1$$.appendChild($domElement$$370_resizeCallback$$4$$), 
    this.$_newParent$ = $alignNode$$inline_3402_trackerRemovedCallback$$1$$);
    this.$_tempFloat$ = $ancestor$$inline_3403_tempFloatElement$$inline_3407$$;
    this.$_overflowVisible$ = $alignNodeId$$inline_3401_overflowVisible$$inline_3404$$;
    $JSCompiler_StaticMethods__setMargins$$(this, $alignNodeId_component$$1728$$, $domElement$$370_resizeCallback$$4$$);
  } else {
    $domElement$$370_resizeCallback$$4$$.style.display = "none";
  }
  this.$GetOldDisclosedChild$() ? $JSCompiler_StaticMethods__renderOpen$$(this, $alignNodeId_component$$1728$$, $domElement$$370_resizeCallback$$4$$) : ($alignNodeId_component$$1728$$ = $JSCompiler_StaticMethods__getAlignNodeId$$(this, $alignNodeId_component$$1728$$, $domElement$$370_resizeCallback$$4$$), this.$_resizeCallback$ = $domElement$$370_resizeCallback$$4$$ = this.$createCallback$(this.$_handleResize$), $AdfAgent$$.$AGENT$.$addResizeListener$($alignNodeId_component$$1728$$, $domElement$$370_resizeCallback$$4$$));
  this.$_initialized$ = !0;
};
$AdfDhtmlPanelDrawerPeer$$.prototype.$getComponentParent$ = function $$AdfDhtmlPanelDrawerPeer$$$$$getComponentParent$$($clientId$$371_commentBasedPeer_component$$1729$$) {
  this.bind($clientId$$371_commentBasedPeer_component$$1729$$);
  $clientId$$371_commentBasedPeer_component$$1729$$ = $clientId$$371_commentBasedPeer_component$$1729$$.$getClientId$();
  var $parent$$56_trackerElement$$1_trackerId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$371_commentBasedPeer_component$$1729$$, $AdfDhtmlPanelDrawerPeer$$.$_TRACKER_SUBID$), $parent$$56_trackerElement$$1_trackerId$$2$$ = $AdfAgent$$.$AGENT$.getElementById($parent$$56_trackerElement$$1_trackerId$$2$$), $parent$$56_trackerElement$$1_trackerId$$2$$ = $AdfRichUIPeer$$.$getFirstAncestorComponent$($parent$$56_trackerElement$$1_trackerId$$2$$.parentNode);
  $clientId$$371_commentBasedPeer_component$$1729$$ = $AdfDhtmlPanelDrawerPeer$$.$_getPreceedingCommentBasedPeer$($parent$$56_trackerElement$$1_trackerId$$2$$, $clientId$$371_commentBasedPeer_component$$1729$$);
  return null == $clientId$$371_commentBasedPeer_component$$1729$$ ? $parent$$56_trackerElement$$1_trackerId$$2$$ : $clientId$$371_commentBasedPeer_component$$1729$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.getComponentParent", {$getComponentParent$:$AdfDhtmlPanelDrawerPeer$$.prototype.$getComponentParent$});
$AdfDhtmlPanelDrawerPeer$$.$_getPreceedingCommentBasedPeer$ = function $$AdfDhtmlPanelDrawerPeer$$$$_getPreceedingCommentBasedPeer$$($component$$1730$$, $clientId$$372$$) {
  if (null != $component$$1730$$) {
    var $namingContainer$$2_namingContainerId$$1_nmSeparator$$1$$ = $clientId$$372$$.lastIndexOf(":");
    if (-1 != $namingContainer$$2_namingContainerId$$1_nmSeparator$$1$$ && ($namingContainer$$2_namingContainerId$$1_nmSeparator$$1$$ = $clientId$$372$$.substring(0, $namingContainer$$2_namingContainerId$$1_nmSeparator$$1$$), !$AdfAgent$$.$AGENT$.getElementById($namingContainer$$2_namingContainerId$$1_nmSeparator$$1$$) && ($namingContainer$$2_namingContainerId$$1_nmSeparator$$1$$ = $AdfPage$$.$PAGE$.$findComponent$($namingContainer$$2_namingContainerId$$1_nmSeparator$$1$$)))) {
      for (var $ncParent$$1$$ = $namingContainer$$2_namingContainerId$$1_nmSeparator$$1$$.getParent();$ncParent$$1$$;) {
        if ($ncParent$$1$$ === $component$$1730$$) {
          return $namingContainer$$2_namingContainerId$$1_nmSeparator$$1$$;
        }
        $ncParent$$1$$ = $ncParent$$1$$.getParent();
      }
    }
  }
};
function $JSCompiler_StaticMethods__setMargins$$($JSCompiler_StaticMethods__setMargins$self_domElementStyle$$, $component$$1732$$, $domElement$$372$$) {
  var $agent$$498_alignTop$$ = $AdfAgent$$.$AGENT$, $alignNodeId$$2_tempFloatElementStyle$$1$$ = $JSCompiler_StaticMethods__getAlignNodeId$$($JSCompiler_StaticMethods__setMargins$self_domElementStyle$$, $component$$1732$$, $domElement$$372$$), $alignNode$$1$$ = $agent$$498_alignTop$$.getElementById($alignNodeId$$2_tempFloatElementStyle$$1$$), $isAlignedLeft$$1$$ = $JSCompiler_StaticMethods__alignLeft$$($component$$1732$$), $alignNodeId$$2_tempFloatElementStyle$$1$$ = $JSCompiler_StaticMethods__setMargins$self_domElementStyle$$.$_tempFloat$.style, 
  $alignLeft$$1_alignPos$$ = $agent$$498_alignTop$$.$getElementPosition$($alignNode$$1$$), $agent$$498_alignTop$$ = $alignLeft$$1_alignPos$$.y + $alignNode$$1$$.clientTop, $alignLeft$$1_alignPos$$ = $alignLeft$$1_alignPos$$.x + $alignNode$$1$$.clientLeft, $handleHeight$$ = $domElement$$372$$.offsetHeight, $handleWidth$$ = $domElement$$372$$.offsetWidth;
  $JSCompiler_StaticMethods__setMargins$self_domElementStyle$$.$_minAnimationWidth$ = $handleWidth$$;
  $alignNodeId$$2_tempFloatElementStyle$$1$$.height = $handleHeight$$ + "px";
  $alignNodeId$$2_tempFloatElementStyle$$1$$.width = $handleWidth$$ + "px";
  $alignNodeId$$2_tempFloatElementStyle$$1$$.display = "";
  $JSCompiler_StaticMethods__setMargins$self_domElementStyle$$.$_overflowVisible$ ? ($JSCompiler_StaticMethods__setInitialMargins$$($component$$1732$$, $domElement$$372$$, $alignNode$$1$$, $agent$$498_alignTop$$, $alignLeft$$1_alignPos$$, $isAlignedLeft$$1$$), $JSCompiler_StaticMethods__setMargins$self_domElementStyle$$ = $domElement$$372$$.style, $alignNodeId$$2_tempFloatElementStyle$$1$$.marginLeft = $JSCompiler_StaticMethods__setMargins$self_domElementStyle$$.marginLeft, $alignNodeId$$2_tempFloatElementStyle$$1$$.marginRight = 
  $JSCompiler_StaticMethods__setMargins$self_domElementStyle$$.marginRight, $alignNodeId$$2_tempFloatElementStyle$$1$$.marginTop = $JSCompiler_StaticMethods__setMargins$self_domElementStyle$$.marginTop, $alignNodeId$$2_tempFloatElementStyle$$1$$.marginBottom = $JSCompiler_StaticMethods__setMargins$self_domElementStyle$$.marginBottom) : ($domElement$$372$$.style.position = "absolute", $domElement$$372$$.style.top = "0", $isAlignedLeft$$1$$ ? $domElement$$372$$.style.left = "0" : $domElement$$372$$.style.right = 
  "0", $JSCompiler_StaticMethods__setInitialMargins$$($component$$1732$$, $domElement$$372$$, $alignNode$$1$$, $agent$$498_alignTop$$, $alignLeft$$1_alignPos$$, $isAlignedLeft$$1$$, $JSCompiler_StaticMethods__setMargins$self_domElementStyle$$.$_tempFloat$, $handleHeight$$, $handleWidth$$));
}
function $JSCompiler_StaticMethods__setInitialMargins$$($component$$1733_marginKey$$1$$, $domElement$$373_leftShadowInt_rightShadowInt$$, $alignNode$$2_alignRight$$, $alignTop$$1$$, $alignLeft$$2$$, $isAlignedLeft$$2$$, $shadowElement$$, $pos$$32_shadowElementHeight$$, $shadowElementWidth$$) {
  var $domElementStyle$$1$$ = $domElement$$373_leftShadowInt_rightShadowInt$$.style, $noSizeShadowElement$$ = !1, $shadowPos$$ = null;
  if ($shadowElement$$) {
    var $shadowPos$$ = $AdfAgent$$.$AGENT$.$getElementPosition$($shadowElement$$), $topShadowInt$$ = $shadowPos$$.y - $alignTop$$1$$;
    $topShadowInt$$ >= $pos$$32_shadowElementHeight$$ ? ($noSizeShadowElement$$ = !0, $shadowElement$$.style.height = "0", $shadowElement$$.style.width = "0") : ($shadowElement$$.style.height = $pos$$32_shadowElementHeight$$ - $topShadowInt$$ + "px", $shadowElement$$.style.marginBottom = $domElementStyle$$1$$.marginBottom);
  }
  $pos$$32_shadowElementHeight$$ = $AdfAgent$$.$AGENT$.$getElementPosition$($domElement$$373_leftShadowInt_rightShadowInt$$);
  $domElementStyle$$1$$.marginTop = $AdfAgent$$.$getCSSLengthAsInt$($domElementStyle$$1$$.marginTop) + $alignTop$$1$$ - $alignNode$$2_alignRight$$.scrollTop - $pos$$32_shadowElementHeight$$.y + "px";
  $isAlignedLeft$$2$$ ? ($domElementStyle$$1$$.marginLeft = $AdfAgent$$.$getCSSLengthAsInt$($domElementStyle$$1$$.marginLeft) + $alignLeft$$2$$ - $pos$$32_shadowElementHeight$$.x + "px", $shadowElement$$ && !$noSizeShadowElement$$ && ($domElement$$373_leftShadowInt_rightShadowInt$$ = $shadowPos$$.x - $alignLeft$$2$$, $domElement$$373_leftShadowInt_rightShadowInt$$ >= $shadowElementWidth$$ ? ($shadowElement$$.style.width = "0", $shadowElement$$.style.height = "0", $shadowElement$$.style.marginBottom = 
  "0") : ($shadowElement$$.style.width = $shadowElementWidth$$ - $domElement$$373_leftShadowInt_rightShadowInt$$ + "px", $shadowElement$$.style.marginRight = $domElementStyle$$1$$.marginRight))) : ($alignNode$$2_alignRight$$ = $alignLeft$$2$$ + $alignNode$$2_alignRight$$.clientWidth, $domElementStyle$$1$$.marginRight = $AdfAgent$$.$getCSSLengthAsInt$($domElementStyle$$1$$.marginRight) + ($pos$$32_shadowElementHeight$$.x + $domElement$$373_leftShadowInt_rightShadowInt$$.offsetWidth) - $alignNode$$2_alignRight$$ + 
  "px", $shadowElement$$ && !$noSizeShadowElement$$ && ($domElement$$373_leftShadowInt_rightShadowInt$$ = $alignNode$$2_alignRight$$ - ($shadowPos$$.x + $domElement$$373_leftShadowInt_rightShadowInt$$.offsetWidth), $domElement$$373_leftShadowInt_rightShadowInt$$ >= $shadowElementWidth$$ ? ($shadowElement$$.style.width = "0", $shadowElement$$.style.height = "0", $shadowElement$$.style.marginBottom = "0") : ($shadowElement$$.style.width = $shadowElementWidth$$ - $domElement$$373_leftShadowInt_rightShadowInt$$ + 
  "px", $shadowElement$$.style.marginLeft = $domElementStyle$$1$$.marginLeft)));
  $component$$1733_marginKey$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1733_marginKey$$1$$.$getClientId$(), "margins");
  $AdfPage$$.$PAGE$.$setPageProperty$($component$$1733_marginKey$$1$$, {$isAlignedLeft$:$isAlignedLeft$$2$$, marginTop:$domElementStyle$$1$$.marginTop, marginRight:$domElementStyle$$1$$.marginRight, marginLeft:$domElementStyle$$1$$.marginLeft});
}
$AdfDhtmlPanelDrawerPeer$$.prototype.$_trackerRemoved$ = function $$AdfDhtmlPanelDrawerPeer$$$$$_trackerRemoved$$() {
  var $component$$1734$$ = this.$getComponent$(), $domElement$$374$$ = this.$getDomElement$();
  $component$$1734$$ && $domElement$$374$$ && (this.$_remove$($component$$1734$$), $AdfPage$$.$PAGE$.$removeComponentsInSubtree$($domElement$$374$$));
};
function $JSCompiler_StaticMethods__alignLeft$$($component$$1735_position$$5$$) {
  $component$$1735_position$$5$$ = $component$$1735_position$$5$$.getPosition();
  var $rtl$$6$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
  return "left" == $component$$1735_position$$5$$ || "start" == $component$$1735_position$$5$$ && !$rtl$$6$$ || "end" == $component$$1735_position$$5$$ && $rtl$$6$$ ? !0 : !1;
}
function $JSCompiler_StaticMethods__renderOpen$$($JSCompiler_StaticMethods__renderOpen$self$$, $component$$1738$$, $domElement$$377$$) {
  if (!$JSCompiler_StaticMethods__renderOpen$self$$.$isPopupVisible$($component$$1738$$, $component$$1738$$.$getClientId$())) {
    var $alignNodeId$$3_popupHints$$4$$ = $JSCompiler_StaticMethods__getAlignNodeId$$($JSCompiler_StaticMethods__renderOpen$self$$, $component$$1738$$, $domElement$$377$$);
    !$JSCompiler_StaticMethods__renderOpen$self$$.$_newParent$ && $JSCompiler_StaticMethods__renderOpen$self$$.$_tempFloat$ && ($domElement$$377$$.parentNode.insertBefore($JSCompiler_StaticMethods__renderOpen$self$$.$_tempFloat$, $domElement$$377$$), $AdfAgent$$.$AGENT$.$elementsAdded$($JSCompiler_StaticMethods__renderOpen$self$$.$_tempFloat$));
    "always" != $component$$1738$$.$getProperty$(AdfRichPanelDrawer.SHOW_HANDLES) ? $domElement$$377$$.style.display = "" : ($JSCompiler_StaticMethods__renderOpen$self$$.$_marginTop$ = $domElement$$377$$.style.marginTop, $JSCompiler_StaticMethods__renderOpen$self$$.$_marginBottom$ = $domElement$$377$$.style.marginBottom, $JSCompiler_StaticMethods__renderOpen$self$$.$_marginLeft$ = $domElement$$377$$.style.marginLeft, $JSCompiler_StaticMethods__renderOpen$self$$.$_marginRight$ = $domElement$$377$$.style.marginRight, 
    $AdfAgent$$.$AGENT$.$setCssFloat$($domElement$$377$$, ""), $domElement$$377$$.style.marginTop = "", $domElement$$377$$.style.marginBottom = "", $domElement$$377$$.style.marginLeft = "", $domElement$$377$$.style.marginRight = "", $JSCompiler_StaticMethods__renderOpen$self$$.$_overflowVisible$ || ($domElement$$377$$.style.position = "", $domElement$$377$$.style.top = "", $JSCompiler_StaticMethods__alignLeft$$($component$$1738$$) ? $domElement$$377$$.style.left = "" : $domElement$$377$$.style.right = 
    ""));
    var $tempPosition$$ = $domElement$$377$$.style.position;
    $domElement$$377$$.style.position = "absolute";
    $JSCompiler_StaticMethods__renderOpen$self$$.$GetBodyOuterElement$().style.display = "";
    var $contentElement$$inline_3417_contentHeight$$inline_3427$$ = $JSCompiler_StaticMethods__renderOpen$self$$.$getDomElement$(), $heightMin$$inline_3435_width$$inline_3419$$ = $component$$1738$$.getWidth(), $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$ = $component$$1738$$.getHeight(), $heightElement$$inline_3421$$ = $JSCompiler_StaticMethods__renderOpen$self$$.$GetBodyInnerElement$(), $agent$$inline_3422$$ = $AdfAgent$$.$AGENT$, $alignElement$$inline_3423_alignTop$$inline_3433$$ = 
    $agent$$inline_3422$$.getElementById($alignNodeId$$3_popupHints$$4$$), $contentWidth$$inline_3424_diff$$inline_3434$$ = $contentElement$$inline_3417_contentHeight$$inline_3427$$.offsetWidth, $maximumWidth$$inline_3425$$ = $component$$1738$$.getMaximumWidth();
    $maximumWidth$$inline_3425$$ || ($maximumWidth$$inline_3425$$ = "100%");
    var $alignWidth$$inline_3426_maximumHeight$$inline_3428$$ = $alignElement$$inline_3423_alignTop$$inline_3433$$.clientWidth, $heightMin$$inline_3435_width$$inline_3419$$ = $JSCompiler_StaticMethods__renderOpen$self$$.$_getSize$($heightMin$$inline_3435_width$$inline_3419$$, $alignWidth$$inline_3426_maximumHeight$$inline_3428$$), $maximumWidth$$inline_3425$$ = $JSCompiler_StaticMethods__renderOpen$self$$.$_getSize$($maximumWidth$$inline_3425$$, $alignWidth$$inline_3426_maximumHeight$$inline_3428$$);
    $JSCompiler_StaticMethods__renderOpen$self$$.$_widthElement$ = $heightElement$$inline_3421$$;
    $JSCompiler_StaticMethods__renderOpen$self$$.$_widthElementWidth$ = $heightElement$$inline_3421$$.style.width;
    $JSCompiler_StaticMethods__renderOpen$self$$.$_widthElementMaxWidth$ = $heightElement$$inline_3421$$.style.maxWidth;
    $contentElement$$inline_3417_contentHeight$$inline_3427$$ = $contentElement$$inline_3417_contentHeight$$inline_3427$$.offsetHeight;
    ($alignWidth$$inline_3426_maximumHeight$$inline_3428$$ = $component$$1738$$.getMaximumHeight()) || ($alignWidth$$inline_3426_maximumHeight$$inline_3428$$ = "100%");
    var $alignHeight$$inline_3429_scrollBottom$$inline_3432_scrollTop$$inline_3430$$ = $alignElement$$inline_3423_alignTop$$inline_3433$$.clientHeight, $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$ = $JSCompiler_StaticMethods__renderOpen$self$$.$_getSize$($height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$, $alignHeight$$inline_3429_scrollBottom$$inline_3432_scrollTop$$inline_3430$$), $alignWidth$$inline_3426_maximumHeight$$inline_3428$$ = $JSCompiler_StaticMethods__renderOpen$self$$.$_getSize$($alignWidth$$inline_3426_maximumHeight$$inline_3428$$, 
    $alignHeight$$inline_3429_scrollBottom$$inline_3432_scrollTop$$inline_3430$$);
    $JSCompiler_StaticMethods__renderOpen$self$$.$_heightElement$ = $heightElement$$inline_3421$$;
    $JSCompiler_StaticMethods__renderOpen$self$$.$_heightElementHeight$ = $heightElement$$inline_3421$$.style.height;
    $JSCompiler_StaticMethods__renderOpen$self$$.$_heightElementMaxHeight$ = $heightElement$$inline_3421$$.style.maxHeight;
    var $alignHeight$$inline_3429_scrollBottom$$inline_3432_scrollTop$$inline_3430$$ = $agent$$inline_3422$$.$getBrowserViewportScrollTop$(), $domWindow$$inline_3431$$ = $agent$$inline_3422$$.$getDomWindow$(), $alignHeight$$inline_3429_scrollBottom$$inline_3432_scrollTop$$inline_3430$$ = $alignHeight$$inline_3429_scrollBottom$$inline_3432_scrollTop$$inline_3430$$ + $agent$$inline_3422$$.$getWindowClientHeight$($domWindow$$inline_3431$$), $alignElement$$inline_3423_alignTop$$inline_3433$$ = $agent$$inline_3422$$.$getElementTop$($alignElement$$inline_3423_alignTop$$inline_3433$$) + 
    $alignElement$$inline_3423_alignTop$$inline_3433$$.clientTop;
    $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$ && ($alignElement$$inline_3423_alignTop$$inline_3433$$ + $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$ > $alignHeight$$inline_3429_scrollBottom$$inline_3432_scrollTop$$inline_3430$$ && ($height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$ = $alignHeight$$inline_3429_scrollBottom$$inline_3432_scrollTop$$inline_3430$$ - $alignElement$$inline_3423_alignTop$$inline_3433$$), $agent$$inline_3422$$.$setOuterHeight$($heightElement$$inline_3421$$, 
    $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$));
    $alignWidth$$inline_3426_maximumHeight$$inline_3428$$ && ($alignElement$$inline_3423_alignTop$$inline_3433$$ + $alignWidth$$inline_3426_maximumHeight$$inline_3428$$ > $alignHeight$$inline_3429_scrollBottom$$inline_3432_scrollTop$$inline_3430$$ && ($alignWidth$$inline_3426_maximumHeight$$inline_3428$$ = $alignHeight$$inline_3429_scrollBottom$$inline_3432_scrollTop$$inline_3430$$ - $alignElement$$inline_3423_alignTop$$inline_3433$$), $agent$$inline_3422$$.$setOuterMaxHeight$($heightElement$$inline_3421$$, 
    $alignWidth$$inline_3426_maximumHeight$$inline_3428$$));
    $contentWidth$$inline_3424_diff$$inline_3434$$ -= $heightElement$$inline_3421$$.offsetWidth;
    $heightMin$$inline_3435_width$$inline_3419$$ && $agent$$inline_3422$$.$setOuterWidth$($heightElement$$inline_3421$$, $heightMin$$inline_3435_width$$inline_3419$$ - $contentWidth$$inline_3424_diff$$inline_3434$$);
    $maximumWidth$$inline_3425$$ && $agent$$inline_3422$$.$setOuterMaxWidth$($heightElement$$inline_3421$$, $maximumWidth$$inline_3425$$ - $contentWidth$$inline_3424_diff$$inline_3434$$);
    $heightMin$$inline_3435_width$$inline_3419$$ = null;
    $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$ && $alignWidth$$inline_3426_maximumHeight$$inline_3428$$ ? $heightMin$$inline_3435_width$$inline_3419$$ = Math.min($height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$, $alignWidth$$inline_3426_maximumHeight$$inline_3428$$) : $alignWidth$$inline_3426_maximumHeight$$inline_3428$$ ? $heightMin$$inline_3435_width$$inline_3419$$ = $alignWidth$$inline_3426_maximumHeight$$inline_3428$$ : $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$ && 
    ($heightMin$$inline_3435_width$$inline_3419$$ = $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$);
    $heightMin$$inline_3435_width$$inline_3419$$ && $heightMin$$inline_3435_width$$inline_3419$$ < $contentElement$$inline_3417_contentHeight$$inline_3427$$ && ($AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$() ? ($height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$ = $heightElement$$inline_3421$$.style.paddingLeft, $JSCompiler_StaticMethods__renderOpen$self$$.$_bodyPaddingLeft$ = "" + $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$, $heightElement$$inline_3421$$.style.paddingLeft = 
    $AdfAgent$$.$getCSSLengthAsInt$("" + $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$) + 20 + "px") : ($height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$ = $heightElement$$inline_3421$$.style.paddingRight, $JSCompiler_StaticMethods__renderOpen$self$$.$_bodyPaddingRight$ = "" + $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$, $heightElement$$inline_3421$$.style.paddingRight = $AdfAgent$$.$getCSSLengthAsInt$("" + $height$$inline_3420_paddingLeft$$inline_3436_paddingRight$$inline_3437$$) + 
    20 + "px"));
    $domElement$$377$$.style.position = $tempPosition$$;
    $alignNodeId$$3_popupHints$$4$$ = $JSCompiler_StaticMethods__renderOpen$self$$.$_getPopupHints$($component$$1738$$, $alignNodeId$$3_popupHints$$4$$);
    $AdfDomUtils$$.$addCSSClassName$($domElement$$377$$, $AdfDhtmlPanelDrawerPeer$$.$_FLOAT_CLASS$);
    $AdfDomUtils$$.$addCSSClassName$($domElement$$377$$, $AdfDhtmlPanelDrawerPeer$$.$_OPEN_CLASS$);
    $AdfPage$$.$PAGE$.$setPageProperty$($component$$1738$$.$getClientId$(), "open");
    $JSCompiler_StaticMethods__renderOpen$self$$.$showPopup$($component$$1738$$, $domElement$$377$$, $alignNodeId$$3_popupHints$$4$$, $component$$1738$$.$getClientId$());
  }
}
$AdfDhtmlPanelDrawerPeer$$.prototype.$canHide$ = function $$AdfDhtmlPanelDrawerPeer$$$$$canHide$$() {
  if (!this.$_adfDoNotClose$) {
    var $disclosedChild$$3_disclosureEvent$$ = this.$GetOldDisclosedChild$();
    if ($disclosedChild$$3_disclosureEvent$$ && ($disclosedChild$$3_disclosureEvent$$ = this.$QueueClientDisclosureChanges$($disclosedChild$$3_disclosureEvent$$, null)) && $disclosedChild$$3_disclosureEvent$$.$isCanceled$()) {
      return !1;
    }
  }
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.canHide", {$canHide$:$AdfDhtmlPanelDrawerPeer$$.prototype.$canHide$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlPanelDrawerPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_getPopupHints$ = function $$JSCompiler_prototypeAlias$$$$_getPopupHints$$($component$$1740$$, $alignNodeId$$4$$) {
  var $hints$$91$$ = {};
  if (!this.$_cachedHints$) {
    var $hints$$inline_3442$$ = {type:"layer"};
    $hints$$inline_3442$$[$AdfDhtmlPopupLayer$$.$HINT_ANIMATE_CLOSED$] = !0;
    $hints$$inline_3442$$[$AdfDhtmlPopupLayer$$.$HINT_ANIMATION_DURATION_CLOSE_SKIN_PROPERTY$] = "af|panelDrawer-tr-close-animation-duration";
    $hints$$inline_3442$$[$AdfDhtmlPopupLayer$$.$HINT_ANIMATE_FRAME_METHOD$] = 3;
    $hints$$inline_3442$$[$AdfDhtmlPopupLayer$$.$HINT_ANIMATION_DURATION_OPEN_SKIN_PROPERTY$] = "af|panelDrawer-tr-open-animation-duration";
    $hints$$inline_3442$$.surrogateClientId = $AdfRichUIPeer$$.$CreateSubId$($component$$1740$$.$getClientId$(), $AdfDhtmlPanelDrawerPeer$$.$_TEMP_FLOAT_SUBID$);
    var $hintStart$$inline_3443$$ = !1, $position$$inline_3444$$ = $component$$1740$$.getPosition(), $rtl$$inline_3445$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
    if ("start" == $position$$inline_3444$$ || "left" == $position$$inline_3444$$ && !$rtl$$inline_3445$$ || "right" == $position$$inline_3444$$ && $rtl$$inline_3445$$) {
      $hintStart$$inline_3443$$ = !0;
    }
    $hints$$inline_3442$$[AdfRichPopup.$HINT_ALIGN$] = $hintStart$$inline_3443$$ ? AdfRichPopup.$ALIGN_OVERLAP_START_BEFORE$ : AdfRichPopup.$ALIGN_OVERLAP_END_BEFORE$;
    $hints$$inline_3442$$[AdfRichPopup.$HINT_ALIGN_ID$] = $alignNodeId$$4$$;
    0 == $JSCompiler_StaticMethods__getAutoDismiss$$(this) ? $hints$$inline_3442$$.autodismiss = "autodismissNever" : $hints$$inline_3442$$.autodismiss = "autodismissAlways";
    this.$_hideDrawerCallback$ || (this.$_hideDrawerCallback$ = this.$createCallback$(this.$_drawerClosed$));
    $hints$$inline_3442$$.closeHandler = this.$_hideDrawerCallback$;
    this.$_openDrawerCallback$ || (this.$_openDrawerCallback$ = this.$createCallback$(this.$_drawerOpened$));
    $hints$$inline_3442$$.openedHandler = this.$_openDrawerCallback$;
    $hints$$inline_3442$$[$AdfDhtmlPopupLayer$$.$HINT_ANIMATE_MIN_WIDTH$] = this.$_minAnimationWidth$;
    this.$_cachedHints$ = $hints$$inline_3442$$;
  }
  $AdfCollections$$.$copyInto$($hints$$91$$, this.$_cachedHints$);
  "open" != $AdfPage$$.$PAGE$.$getPageProperty$($component$$1740$$.$getClientId$()) ? $hints$$91$$.animate = AdfRichPopup.$ANIMATE_TRUE$ : $hints$$91$$.animate = AdfRichPopup.$ANIMATE_FALSE$;
  return $hints$$91$$;
};
function $JSCompiler_StaticMethods__getAutoDismiss$$($JSCompiler_StaticMethods__getAutoDismiss$self$$) {
  if (null == $JSCompiler_StaticMethods__getAutoDismiss$self$$.$_autoDismiss$) {
    var $skinVal$$ = page.$getLookAndFeel$().$getSkinProperty$("af|panelDrawer-tr-auto-dismiss"), $attributeVal$$ = $JSCompiler_StaticMethods__getAutoDismiss$self$$.$getComponent$().$getProperty$("autoDismiss");
    $JSCompiler_StaticMethods__getAutoDismiss$self$$.$_autoDismiss$ = "none" == $attributeVal$$ ? !1 : "focusLoss" == $attributeVal$$ ? !0 : "false" == $skinVal$$ ? !1 : !0;
  }
  return $JSCompiler_StaticMethods__getAutoDismiss$self$$.$_autoDismiss$;
}
function $JSCompiler_StaticMethods__getAlignNodeId$$($JSCompiler_StaticMethods__getAlignNodeId$self$$, $alignPeer_component$$1743$$, $domElement$$379$$) {
  if (!$JSCompiler_StaticMethods__getAlignNodeId$self$$.$_alignId$) {
    var $alignId$$7$$ = $alignPeer_component$$1743$$.$getProperty$("alignId"), $alignComponent$$3$$ = $alignPeer_component$$1743$$.$findComponent$($alignId$$7$$);
    if ($alignComponent$$3$$) {
      $alignId$$7$$ = $alignComponent$$3$$.$getClientId$();
    } else {
      if (":" == $alignId$$7$$.charAt(0)) {
        var $alignLength$$ = $alignId$$7$$.length;
        1 < $alignLength$$ && ($alignId$$7$$ = $alignId$$7$$.substring(1, $alignLength$$));
      }
      $AdfLogger$$.$LOGGER$.warning("Unable to find align component: ", $alignId$$7$$, ". Make sure clientComponent is set to true on the align component. ", " Without a component on the client the drawer should still work but may not line up as expected.");
    }
    $AdfAgent$$.$AGENT$.getElementById($alignId$$7$$) || ($AdfLogger$$.$LOGGER$.warning("Unable to find dom node with id: ", $alignId$$7$$, ". Using parent as align component."), $alignComponent$$3$$ = $alignPeer_component$$1743$$.getParent(), $alignId$$7$$ = $alignComponent$$3$$.$getClientId$());
    $alignComponent$$3$$ && ($alignPeer_component$$1743$$ = $alignComponent$$3$$.$getPeer$()) && $alignPeer_component$$1743$$.$getContainerId$ && ($alignPeer_component$$1743$$.bind($alignComponent$$3$$), $alignId$$7$$ = $alignPeer_component$$1743$$.$getContainerId$($domElement$$379$$));
    $JSCompiler_StaticMethods__getAlignNodeId$self$$.$_alignId$ = $alignId$$7$$;
  }
  return $JSCompiler_StaticMethods__getAlignNodeId$self$$.$_alignId$;
}
$JSCompiler_prototypeAlias$$.$_handleResize$ = function $$JSCompiler_prototypeAlias$$$$_handleResize$$() {
  var $component$$1744$$ = this.$getComponent$();
  this.$isPopupVisible$($component$$1744$$, $component$$1744$$.$getClientId$()) ? this.$hidePopup$($component$$1744$$, $component$$1744$$.$getClientId$()) : "always" == $component$$1744$$.$getProperty$(AdfRichPanelDrawer.SHOW_HANDLES) && $JSCompiler_StaticMethods__setMargins$$(this, $component$$1744$$, this.$getDomElement$());
};
$JSCompiler_prototypeAlias$$.$_drawerOpened$ = function $$JSCompiler_prototypeAlias$$$$_drawerOpened$$() {
  var $alignNodeId$$6_component$$1745$$ = this.$getComponent$(), $domElement$$380_resizeCallback$$5$$ = this.$getDomElement$();
  $JSCompiler_StaticMethods__checkInvalid$$(this, $alignNodeId$$6_component$$1745$$);
  this.$_isInvalid$ && $AdfPage$$.$PAGE$.$showMessages$();
  var $anchor$$22_anchorSubId$$1_disclosedId$$ = this.$GetOldDisclosedChild$().$getClientId$(), $anchor$$22_anchorSubId$$1_disclosedId$$ = $AdfRichUIPeer$$.$CreateSubId$($anchor$$22_anchorSubId$$1_disclosedId$$, $AdfDhtmlPanelTabbedPeer$$.$_ANCHOR_SUB_ID_ABOVE$), $agent$$499$$ = $AdfAgent$$.$AGENT$, $alignNodeId$$6_component$$1745$$ = $JSCompiler_StaticMethods__getAlignNodeId$$(this, $alignNodeId$$6_component$$1745$$, $domElement$$380_resizeCallback$$5$$);
  this.$_resizeCallback$ = $domElement$$380_resizeCallback$$5$$ = this.$createCallback$(this.$_handleResize$);
  $agent$$499$$.$addResizeListener$($alignNodeId$$6_component$$1745$$, $domElement$$380_resizeCallback$$5$$);
  $anchor$$22_anchorSubId$$1_disclosedId$$ = $agent$$499$$.getElementById($anchor$$22_anchorSubId$$1_disclosedId$$);
  $AdfFocusUtils$$.$focusElement$($anchor$$22_anchorSubId$$1_disclosedId$$);
};
$JSCompiler_prototypeAlias$$.$_drawerClosed$ = function $$JSCompiler_prototypeAlias$$$$_drawerClosed$$() {
  var $disclosedChild$$5_page$$178$$ = $AdfPage$$.$PAGE$, $activeElement$$10$$ = $disclosedChild$$5_page$$178$$.$getDomDocument$().activeElement;
  null != this.$_bodyPaddingRight$ ? this.$GetBodyInnerElement$().style.paddingRight = this.$_bodyPaddingRight$ : null != this.$_bodyPaddingLeft$ && (this.$GetBodyInnerElement$().style.paddingLeft = this.$_bodyPaddingLeft$);
  var $component$$1746_heightElement_widthElement$$ = this.$_widthElement$;
  $component$$1746_heightElement_widthElement$$.style.width = this.$_widthElementWidth$;
  $component$$1746_heightElement_widthElement$$.style.maxWidth = this.$_widthElementMaxWidth$;
  $component$$1746_heightElement_widthElement$$ = this.$_heightElement$;
  $component$$1746_heightElement_widthElement$$.style.height = this.$_heightElementHeight$;
  $component$$1746_heightElement_widthElement$$.style.maxHeight = this.$_heightElementMaxHeight$;
  var $component$$1746_heightElement_widthElement$$ = this.$getComponent$(), $domElement$$381_newActiveElement$$1$$ = this.$getDomElement$(), $agent$$500$$ = $AdfAgent$$.$AGENT$;
  "always" != $component$$1746_heightElement_widthElement$$.$getProperty$(AdfRichPanelDrawer.SHOW_HANDLES) ? $domElement$$381_newActiveElement$$1$$.style.display = "none" : ($AdfAgent$$.$AGENT$.$setCssFloat$($domElement$$381_newActiveElement$$1$$, this.$_float$), $domElement$$381_newActiveElement$$1$$.style.marginTop = this.$_marginTop$, $domElement$$381_newActiveElement$$1$$.style.marginBottom = this.$_marginBottom$, $domElement$$381_newActiveElement$$1$$.style.marginLeft = this.$_marginLeft$, $domElement$$381_newActiveElement$$1$$.style.marginRight = 
  this.$_marginRight$, this.$_overflowVisible$ || ($domElement$$381_newActiveElement$$1$$.style.position = "absolute", $domElement$$381_newActiveElement$$1$$.style.top = "0", $JSCompiler_StaticMethods__alignLeft$$($component$$1746_heightElement_widthElement$$) ? $domElement$$381_newActiveElement$$1$$.style.left = "0" : $domElement$$381_newActiveElement$$1$$.style.right = "0"));
  this.$GetBodyOuterElement$().style.display = "none";
  $domElement$$381_newActiveElement$$1$$.style.width = "";
  this.$GetBodyInnerElement$().style.height = "";
  $AdfDomUtils$$.$removeCSSClassName$($domElement$$381_newActiveElement$$1$$, $AdfDhtmlPanelDrawerPeer$$.$_FLOAT_CLASS$);
  $AdfDomUtils$$.$removeCSSClassName$($domElement$$381_newActiveElement$$1$$, $AdfDhtmlPanelDrawerPeer$$.$_OPEN_CLASS$);
  var $tempFloat_tracker$$1_trackerId$$3$$ = this.$_tempFloat$;
  this.$_newParent$ ? this.$_newParent$.appendChild($domElement$$381_newActiveElement$$1$$) : $tempFloat_tracker$$1_trackerId$$3$$ ? ($tempFloat_tracker$$1_trackerId$$3$$.parentNode.replaceChild($domElement$$381_newActiveElement$$1$$, $tempFloat_tracker$$1_trackerId$$3$$), $agent$$500$$.$elementsRemoved$($tempFloat_tracker$$1_trackerId$$3$$)) : ($tempFloat_tracker$$1_trackerId$$3$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1746_heightElement_widthElement$$.$getClientId$(), $AdfDhtmlPanelDrawerPeer$$.$_TRACKER_SUBID$), 
  $tempFloat_tracker$$1_trackerId$$3$$ = $AdfAgent$$.$AGENT$.getElementById($tempFloat_tracker$$1_trackerId$$3$$), $tempFloat_tracker$$1_trackerId$$3$$.parentNode.insertBefore($domElement$$381_newActiveElement$$1$$, $tempFloat_tracker$$1_trackerId$$3$$));
  $agent$$500$$.$elementsAdded$($domElement$$381_newActiveElement$$1$$);
  $domElement$$381_newActiveElement$$1$$ = $disclosedChild$$5_page$$178$$.$getDomDocument$().activeElement;
  $activeElement$$10$$ && $activeElement$$10$$ != $domElement$$381_newActiveElement$$1$$ && $AdfFocusUtils$$.$focusElement$($activeElement$$10$$);
  this.$_adfDoNotClose$ || ($disclosedChild$$5_page$$178$$.$setPageProperty$($component$$1746_heightElement_widthElement$$.$getClientId$(), "closed"), $disclosedChild$$5_page$$178$$ = this.$GetOldDisclosedChild$(), this.$QueueClientDisclosureChanges$($disclosedChild$$5_page$$178$$, null));
};
$JSCompiler_prototypeAlias$$.$_getSize$ = function $$JSCompiler_prototypeAlias$$$$_getSize$$($val$$14$$, $alignSize$$) {
  return $val$$14$$ ? ("%" == ("" + $val$$14$$).charAt($val$$14$$.length - 1) && ($val$$14$$ = this.$_percentSize$($val$$14$$, $alignSize$$)), $AdfAgent$$.$getCSSLengthAsInt$("" + $val$$14$$)) : null;
};
$JSCompiler_prototypeAlias$$.$_percentSize$ = function $$JSCompiler_prototypeAlias$$$$_percentSize$$($val$$16$$, $size$$46$$) {
  return $size$$46$$ * Math.abs(parseInt($val$$16$$.substring(0, $val$$16$$.length - 1))) / 100;
};
$JSCompiler_prototypeAlias$$.$_remove$ = function $$JSCompiler_prototypeAlias$$$$_remove$$($component$$1748_originalParent$$) {
  this.$_adfDoNotClose$ = !0;
  this.$cancelAllPopups$($component$$1748_originalParent$$, !0);
  this.$_newParent$ && ($component$$1748_originalParent$$ = this.$_tempFloat$.parentNode, $component$$1748_originalParent$$.insertBefore(this.$getDomElement$(), this.$_tempFloat$), $component$$1748_originalParent$$.removeChild(this.$_tempFloat$), $AdfAgent$$.$AGENT$.$elementsRemoved$(this.$_tempFloat$), this.$_newParent$ = null);
};
$JSCompiler_prototypeAlias$$.$componentRemoved$ = function $$JSCompiler_prototypeAlias$$$$componentRemoved$$($component$$1749$$) {
  var $alignNodeId$$8_domElement$$382$$ = this.$getDomElement$();
  ($alignNodeId$$8_domElement$$382$$ = $JSCompiler_StaticMethods__getAlignNodeId$$(this, $component$$1749$$, $alignNodeId$$8_domElement$$382$$)) && this.$_resizeCallback$ && $AdfAgent$$.$AGENT$.$removeResizeListener$($alignNodeId$$8_domElement$$382$$, this.$_resizeCallback$);
  this.$_remove$($component$$1749$$);
  $AdfDhtmlPanelDrawerPeer$$.$superclass$.$componentRemoved$.call(this, $component$$1749$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelDrawerPeer.prototype.componentRemoved", {$componentRemoved$:$AdfDhtmlPanelDrawerPeer$$.prototype.$componentRemoved$});
