var $AdfDhtmlPanelBoxPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlPanelBoxPeer", !1);
$goog$exportSymbol$$("AdfDhtmlPanelBoxPeer", $AdfDhtmlPanelBoxPeer$$);
$AdfDhtmlPanelBoxPeer$$.$DISCLOSURE_SUB_ID$ = "_afrDscl";
$goog$exportSymbol$$("AdfDhtmlPanelBoxPeer.DISCLOSURE_SUB_ID", $AdfDhtmlPanelBoxPeer$$.$DISCLOSURE_SUB_ID$);
$AdfDhtmlPanelBoxPeer$$.$_INNER_SD_PEER$ = $AdfRichUIPeer$$.$createInnerPeerClassWithSubId$($AdfDhtmlShowDisclosurePeer$$, "InnerPBShowDetailPeer", $AdfDhtmlPanelBoxPeer$$.$DISCLOSURE_SUB_ID$);
InnerPBShowDetailPeer.$InitSubclass$ = function $InnerPBShowDetailPeer$$InitSubclass$$() {
  $AdfDhtmlTogglePeer$$.$Config$(this, {$toggledStyleClass$:"af|panelBox::disclosed-icon-style", $untoggledStyleClass$:"af|panelBox::undisclosed-icon-style"});
};
InnerPBShowDetailPeer.prototype.$HandleClientSideToggle$ = function $InnerPBShowDetailPeer$$$HandleClientSideToggle$$($disclosed$$8$$) {
  return this.$outerThis$.$GetContentDomElement$() && InnerPBShowDetailPeer.$superclass$.$HandleClientSideToggle$.call(this, $disclosed$$8$$) ? (this.$outerThis$.$__handleClientSideDisclosure$($disclosed$$8$$), !0) : !1;
};
InnerPBShowDetailPeer.prototype.$EventPropagatesToServer$ = function $InnerPBShowDetailPeer$$$EventPropagatesToServer$$($isExpanded$$3$$) {
  var $value$$227$$ = InnerPBShowDetailPeer.$superclass$.$EventPropagatesToServer$.call(this);
  if (0 == $value$$227$$) {
    var $component$$1680$$ = this.$outerThis$.$getComponent$();
    if ("lazy" === $component$$1680$$.getPropertyValue("contentDelivery") && null == this.$outerThis$.$GetContentDomElement$() || 0 == $isExpanded$$3$$ && $AdfPage$$.$PAGE$.$_dirtyStateService$.$hasDirtyData$($component$$1680$$)) {
      $value$$227$$ = !0;
    }
  }
  return $value$$227$$;
};
$AdfDhtmlPanelBoxPeer$$.$MAXIMIZE_SUB_ID$ = "_afrMax";
$goog$exportSymbol$$("AdfDhtmlPanelBoxPeer.MAXIMIZE_SUB_ID", $AdfDhtmlPanelBoxPeer$$.$MAXIMIZE_SUB_ID$);
$AdfDhtmlPanelBoxPeer$$.$_INNER_MAXIMIZE_PEER$ = $AdfRichUIPeer$$.$createInnerPeerClassWithSubId$($AdfDhtmlMaximizePeer$$, "InnerPBMaximizePeer", $AdfDhtmlPanelBoxPeer$$.$MAXIMIZE_SUB_ID$);
InnerPBMaximizePeer.$InitSubclass$ = function $InnerPBMaximizePeer$$InitSubclass$$() {
  $AdfDhtmlTogglePeer$$.$Config$(this, {toggledStyleClass:"af|panelBox::maximized-icon-style", untoggledStyleClass:"af|panelBox::unmaximized-icon-style"});
};
InnerPBMaximizePeer.prototype.$HandleClientSideToggle$ = function $InnerPBMaximizePeer$$$HandleClientSideToggle$$($maximized$$2$$) {
  var $outerThis$$1$$ = this.$outerThis$, $contentDom$$20$$ = $outerThis$$1$$.$GetContentDomElement$();
  return $contentDom$$20$$ && InnerPBMaximizePeer.$superclass$.$HandleClientSideToggle$.call(this, $maximized$$2$$) ? ($outerThis$$1$$.$__handleClientSideMaximize$($outerThis$$1$$.$getDomElement$(), $contentDom$$20$$, $maximized$$2$$), !0) : !1;
};
InnerPBMaximizePeer.prototype.$ComponentMaximizedChanged$ = function $InnerPBMaximizePeer$$$ComponentMaximizedChanged$$($component$$1681$$, $domElement$$363_handled$$2$$, $newValue$$115$$, $oldValue$$75$$) {
  $domElement$$363_handled$$2$$ = InnerPBMaximizePeer.$superclass$.$ComponentMaximizedChanged$.call(this, $component$$1681$$, $domElement$$363_handled$$2$$, $newValue$$115$$, $oldValue$$75$$);
  $newValue$$115$$ && $component$$1681$$.setDisclosed(!0);
  return $domElement$$363_handled$$2$$;
};
InnerPBMaximizePeer.prototype.$EventPropagatesToServer$ = function $InnerPBMaximizePeer$$$EventPropagatesToServer$$() {
  return !this.$outerThis$.$GetContentDomElement$();
};
$AdfDhtmlPanelBoxPeer$$.$InitSubclass$ = function $$AdfDhtmlPanelBoxPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$(AdfRichPanelBox);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichPanelBox.DISCLOSED, AdfRichPanelBox.MAXIMIZED);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfDisclosureEvent$$.$EVENT_TYPE$, $AdfMaximizeEvent$$.$EVENT_TYPE$);
  this.$_DRAG_RECOGNIZER$ = new $AdfPanelBoxDragRecognizer$$;
};
$goog$exportSymbol$$("AdfDhtmlPanelBoxPeer.InitSubclass", $AdfDhtmlPanelBoxPeer$$.$InitSubclass$);
$AdfDhtmlPanelBoxPeer$$.prototype.Init = function $$AdfDhtmlPanelBoxPeer$$$$Init$($component$$1682$$) {
  $AdfDhtmlPanelBoxPeer$$.$superclass$.Init.call(this, $component$$1682$$);
  var $maximizeId_outerId$$1$$ = $component$$1682$$.$getClientId$(), $disclosureId$$ = $AdfRichUIPeer$$.$CreateSubId$($maximizeId_outerId$$1$$, $AdfDhtmlPanelBoxPeer$$.$DISCLOSURE_SUB_ID$);
  $AdfAgent$$.$AGENT$.getElementById($disclosureId$$) && (this.$_disclosurePeer$ = this.$CreateDisclosurePeer$($component$$1682$$));
  $maximizeId_outerId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($maximizeId_outerId$$1$$, $AdfDhtmlPanelBoxPeer$$.$MAXIMIZE_SUB_ID$);
  $AdfAgent$$.$AGENT$.getElementById($maximizeId_outerId$$1$$) && (this.$_maximizePeer$ = this.$CreateMaximizePeer$($component$$1682$$));
  this.$_ignoreUpAndDownArrowKey$ = "false" == $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|panelBox-tr-disclose-with-up-down-arrow");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.Init", {Init:$AdfDhtmlPanelBoxPeer$$.prototype.Init});
$AdfDhtmlPanelBoxPeer$$.prototype.$CreateDisclosurePeer$ = function $$AdfDhtmlPanelBoxPeer$$$$$CreateDisclosurePeer$$($component$$1683$$) {
  return new $AdfDhtmlPanelBoxPeer$$.$_INNER_SD_PEER$($component$$1683$$, this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.CreateDisclosurePeer", {$CreateDisclosurePeer$:$AdfDhtmlPanelBoxPeer$$.prototype.$CreateDisclosurePeer$});
$AdfDhtmlPanelBoxPeer$$.prototype.$CreateMaximizePeer$ = function $$AdfDhtmlPanelBoxPeer$$$$$CreateMaximizePeer$$($component$$1684$$) {
  return new $AdfDhtmlPanelBoxPeer$$.$_INNER_MAXIMIZE_PEER$($component$$1684$$, this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.CreateMaximizePeer", {$CreateMaximizePeer$:$AdfDhtmlPanelBoxPeer$$.prototype.$CreateMaximizePeer$});
$AdfDhtmlPanelBoxPeer$$.prototype.$initialize$ = function $$AdfDhtmlPanelBoxPeer$$$$$initialize$$($component$$1685$$) {
  var $disclosurePeer_maximizePeer$$ = this.$_disclosurePeer$;
  $disclosurePeer_maximizePeer$$ && $disclosurePeer_maximizePeer$$.$initialize$($component$$1685$$);
  ($disclosurePeer_maximizePeer$$ = this.$_maximizePeer$) && $disclosurePeer_maximizePeer$$.$initialize$($component$$1685$$);
  $AdfDhtmlPanelBoxPeer$$.$superclass$.$initialize$.call(this, $component$$1685$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.initialize", {$initialize$:$AdfDhtmlPanelBoxPeer$$.prototype.$initialize$});
$AdfDhtmlPanelBoxPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlPanelBoxPeer$$$$$InitDomElement$$($component$$1686$$, $rootElement$$121$$) {
  $AdfDhtmlPanelBoxPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1686$$, $rootElement$$121$$);
  var $contentDom$$21$$ = this.$GetContentDomElement$($rootElement$$121$$);
  $contentDom$$21$$ && ($JSCompiler_StaticMethods__checkAnimateDisclosure$$(this, $component$$1686$$, $contentDom$$21$$), this.$_maximizePeer$ && this.$__handleClientSideMaximize$($rootElement$$121$$, $contentDom$$21$$, $component$$1686$$.getMaximized()));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlPanelBoxPeer$$.prototype.$InitDomElement$});
$AdfDhtmlPanelBoxPeer$$.prototype.$GetContentDomElement$ = function $$AdfDhtmlPanelBoxPeer$$$$$GetContentDomElement$$($centerId_rootElement$$122$$) {
  $centerId_rootElement$$122$$ || ($centerId_rootElement$$122$$ = this.$getDomElement$());
  $centerId_rootElement$$122$$ = $AdfRichUIPeer$$.$CreateSubId$($centerId_rootElement$$122$$.id, "content");
  return $AdfAgent$$.$AGENT$.getElementById($centerId_rootElement$$122$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.GetContentDomElement", {$GetContentDomElement$:$AdfDhtmlPanelBoxPeer$$.prototype.$GetContentDomElement$});
$AdfDhtmlPanelBoxPeer$$.prototype.$GetAnimationDuration$ = function $$AdfDhtmlPanelBoxPeer$$$$$GetAnimationDuration$$() {
  return parseInt($AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|panelBox-tr-animation-duration"));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.GetAnimationDuration", {$GetAnimationDuration$:$AdfDhtmlPanelBoxPeer$$.prototype.$GetAnimationDuration$});
function $JSCompiler_StaticMethods__checkAnimateDisclosure$$($JSCompiler_StaticMethods__checkAnimateDisclosure$self_animDuration$$4$$, $component$$1687$$, $contentDom$$22$$) {
  if (null != $contentDom$$22$$ && "hidden" == $contentDom$$22$$.style.visibility) {
    var $contentOffsetHeight_disclosedHeight$$ = $contentDom$$22$$.style.height, $contentOffsetHeight_disclosedHeight$$ = $contentOffsetHeight_disclosedHeight$$ ? parseInt($contentOffsetHeight_disclosedHeight$$) : $contentDom$$22$$.offsetHeight, $wrapper$$23$$ = $contentDom$$22$$.ownerDocument.createElement("div");
    $wrapper$$23$$.style.overflow = "hidden";
    $wrapper$$23$$.style.height = "1px";
    $contentDom$$22$$.parentNode.replaceChild($wrapper$$23$$, $contentDom$$22$$);
    $wrapper$$23$$.appendChild($contentDom$$22$$);
    $contentDom$$22$$.style.visibility = "visible";
    $JSCompiler_StaticMethods__checkAnimateDisclosure$self_animDuration$$4$$ = $JSCompiler_StaticMethods__checkAnimateDisclosure$self_animDuration$$4$$.$GetAnimationDuration$();
    $AdfDhtmlElementAnimator$animate$$(0, $JSCompiler_StaticMethods__checkAnimateDisclosure$self_animDuration$$4$$, [{element:$wrapper$$23$$, properties:{height:$contentOffsetHeight_disclosedHeight$$}}], null, $AdfDhtmlPanelBoxPeer$$.$_handleAfterDiscloseAnimate$, [$wrapper$$23$$, $contentDom$$22$$], $component$$1687$$);
  }
}
$AdfDhtmlPanelBoxPeer$$.$_handleAfterDiscloseAnimate$ = function $$AdfDhtmlPanelBoxPeer$$$$_handleAfterDiscloseAnimate$$($params$$55$$) {
  var $wrapperDom$$ = $params$$55$$[0], $parentElement$$10$$ = $wrapperDom$$.parentNode;
  null != $parentElement$$10$$ && $parentElement$$10$$.replaceChild($params$$55$$[1], $wrapperDom$$);
};
$AdfDhtmlPanelBoxPeer$$.$_handleAfterUndiscloseAnimateStub$ = function $$AdfDhtmlPanelBoxPeer$$$$_handleAfterUndiscloseAnimateStub$$($disclosedHeight$$inline_3242_params$$56$$) {
  var $component$$1689_event$$inline_3241$$ = $disclosedHeight$$inline_3242_params$$56$$[0], $contentDomStyle$$inline_3245_peer$$155$$ = $component$$1689_event$$inline_3241$$.$getPeer$();
  if (null != $contentDomStyle$$inline_3245_peer$$155$$) {
    $contentDomStyle$$inline_3245_peer$$155$$.bind($component$$1689_event$$inline_3241$$);
    $component$$1689_event$$inline_3241$$ = $disclosedHeight$$inline_3242_params$$56$$[1];
    $disclosedHeight$$inline_3242_params$$56$$ = $disclosedHeight$$inline_3242_params$$56$$[2];
    var $component$$inline_3243$$ = $contentDomStyle$$inline_3245_peer$$155$$.$getComponent$();
    if (!$component$$inline_3243$$.$isDead$()) {
      var $contentDom$$inline_3244$$ = $contentDomStyle$$inline_3245_peer$$155$$.$GetContentDomElement$();
      null != $contentDom$$inline_3244$$ && ($contentDom$$inline_3244$$.style.visibility = "hidden");
      $component$$inline_3243$$.$HandleEvent$.call($component$$inline_3243$$, $component$$1689_event$$inline_3241$$);
      $contentDomStyle$$inline_3245_peer$$155$$.$__handleClientSideDisclosure$(!1);
      $contentDom$$inline_3244$$ && ($contentDomStyle$$inline_3245_peer$$155$$ = $contentDom$$inline_3244$$.style, $contentDomStyle$$inline_3245_peer$$155$$.display = "none", $contentDomStyle$$inline_3245_peer$$155$$.height = $disclosedHeight$$inline_3242_params$$56$$ ? $disclosedHeight$$inline_3242_params$$56$$ : "");
    }
  }
};
$AdfDhtmlPanelBoxPeer$$.prototype.$DispatchUncanceledComponentEvent$ = function $$AdfDhtmlPanelBoxPeer$$$$$DispatchUncanceledComponentEvent$$($event$$257$$) {
  if ($AdfPage$$.$PAGE$.$isAnimationEnabled$() && $event$$257$$.getType() == $AdfDisclosureEvent$$.$EVENT_TYPE$ && !$event$$257$$.$isExpanded$()) {
    var $contentDom$$inline_3249$$ = this.$GetContentDomElement$(), $disclosedHeight$$inline_3250$$ = $contentDom$$inline_3249$$.style.height;
    $contentDom$$inline_3249$$.style.overflow = "hidden";
    var $animDuration$$inline_3251$$ = this.$GetAnimationDuration$(), $component$$inline_3252$$ = this.$getComponent$();
    $AdfDhtmlElementAnimator$animate$$(0, $animDuration$$inline_3251$$, [{element:$contentDom$$inline_3249$$, properties:{height:0}}], null, $AdfDhtmlPanelBoxPeer$$.$_handleAfterUndiscloseAnimateStub$, [$component$$inline_3252$$, $event$$257$$, $disclosedHeight$$inline_3250$$], $component$$inline_3252$$);
    return !0;
  }
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.DispatchUncanceledComponentEvent", {$DispatchUncanceledComponentEvent$:$AdfDhtmlPanelBoxPeer$$.prototype.$DispatchUncanceledComponentEvent$});
$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlPanelBoxPeer$$$$$HandleComponentClick$$($componentEvent$$353$$) {
  var $disclosurePeer$$1_maximizePeer$$1$$ = this.$_disclosurePeer$;
  $disclosurePeer$$1_maximizePeer$$1$$ && $disclosurePeer$$1_maximizePeer$$1$$.$HandleComponentClick$($componentEvent$$353$$);
  ($disclosurePeer$$1_maximizePeer$$1$$ = this.$_maximizePeer$) && $disclosurePeer$$1_maximizePeer$$1$$.$HandleComponentClick$($componentEvent$$353$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlPanelBoxPeer$$$$$HandleComponentKeyUp$$($componentEvent$$354$$) {
  var $disclosurePeer$$2_maximizePeer$$2$$ = this.$_disclosurePeer$;
  if ($disclosurePeer$$2_maximizePeer$$2$$) {
    var $handleKeystroke_keyCode$$92_nativeEvent$$46$$ = !0;
    this.$_ignoreUpAndDownArrowKey$ && ($handleKeystroke_keyCode$$92_nativeEvent$$46$$ = $componentEvent$$354$$.$getNativeEvent$(), $handleKeystroke_keyCode$$92_nativeEvent$$46$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($handleKeystroke_keyCode$$92_nativeEvent$$46$$), $handleKeystroke_keyCode$$92_nativeEvent$$46$$ = $handleKeystroke_keyCode$$92_nativeEvent$$46$$ != $AdfKeyStroke$$.$ARROWUP_KEY$ && $handleKeystroke_keyCode$$92_nativeEvent$$46$$ != $AdfKeyStroke$$.$ARROWDOWN_KEY$);
    $handleKeystroke_keyCode$$92_nativeEvent$$46$$ && $disclosurePeer$$2_maximizePeer$$2$$.$HandleComponentKeyUp$($componentEvent$$354$$);
  }
  ($disclosurePeer$$2_maximizePeer$$2$$ = this.$_maximizePeer$) && $disclosurePeer$$2_maximizePeer$$2$$.$HandleComponentKeyUp$($componentEvent$$354$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentDisclosure$ = function $$AdfDhtmlPanelBoxPeer$$$$$HandleComponentDisclosure$$($componentEvent$$355$$) {
  var $disclosurePeer$$3$$ = this.$_disclosurePeer$;
  $disclosurePeer$$3$$ && $disclosurePeer$$3$$.$HandleComponentDisclosure$($componentEvent$$355$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.HandleComponentDisclosure", {$HandleComponentDisclosure$:$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentDisclosure$});
$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentMaximize$ = function $$AdfDhtmlPanelBoxPeer$$$$$HandleComponentMaximize$$($componentEvent$$356$$) {
  var $maximizePeer$$3$$ = this.$_maximizePeer$;
  $maximizePeer$$3$$ && $maximizePeer$$3$$.$HandleComponentMaximize$($componentEvent$$356$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.HandleComponentMaximize", {$HandleComponentMaximize$:$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentMaximize$});
$AdfDhtmlPanelBoxPeer$$.prototype.$ComponentDisclosedChanged$ = function $$AdfDhtmlPanelBoxPeer$$$$$ComponentDisclosedChanged$$($component$$1691$$, $domElement$$364$$, $newValue$$116$$, $oldValue$$76$$) {
  var $disclosurePeer$$4$$ = this.$_disclosurePeer$;
  return $disclosurePeer$$4$$ ? $disclosurePeer$$4$$.$ComponentDisclosedChanged$($component$$1691$$, $domElement$$364$$, $newValue$$116$$, $oldValue$$76$$) : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.ComponentDisclosedChanged", {$ComponentDisclosedChanged$:$AdfDhtmlPanelBoxPeer$$.prototype.$ComponentDisclosedChanged$});
$AdfDhtmlPanelBoxPeer$$.prototype.$ComponentMaximizedChanged$ = function $$AdfDhtmlPanelBoxPeer$$$$$ComponentMaximizedChanged$$($component$$1692$$, $domElement$$365$$, $newValue$$117$$, $oldValue$$77$$) {
  var $maximizePeer$$4$$ = this.$_maximizePeer$;
  return $maximizePeer$$4$$ ? $maximizePeer$$4$$.$ComponentMaximizedChanged$($component$$1692$$, $domElement$$365$$, $newValue$$117$$, $oldValue$$77$$) : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.ComponentMaximizedChanged", {$ComponentMaximizedChanged$:$AdfDhtmlPanelBoxPeer$$.prototype.$ComponentMaximizedChanged$});
$AdfDhtmlPanelBoxPeer$$.prototype.$__isEventForHeaderControls$ = function $$AdfDhtmlPanelBoxPeer$$$$$__isEventForHeaderControls$$($nativeEvent$$47$$) {
  var $clickForHeaderControls$$ = !1, $disclosurePeer$$5_maximizePeer$$5$$ = this.$_disclosurePeer$;
  $disclosurePeer$$5_maximizePeer$$5$$ && ($clickForHeaderControls$$ |= $disclosurePeer$$5_maximizePeer$$5$$.$isEventForButton$($nativeEvent$$47$$));
  ($disclosurePeer$$5_maximizePeer$$5$$ = this.$_maximizePeer$) && ($clickForHeaderControls$$ |= $disclosurePeer$$5_maximizePeer$$5$$.$isEventForButton$($nativeEvent$$47$$));
  return $clickForHeaderControls$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.__isEventForHeaderControls", {$__isEventForHeaderControls$:$AdfDhtmlPanelBoxPeer$$.prototype.$__isEventForHeaderControls$});
$AdfDhtmlPanelBoxPeer$$.prototype.$getDefaultDragRecognizer$ = function $$AdfDhtmlPanelBoxPeer$$$$$getDefaultDragRecognizer$$() {
  return $AdfDhtmlPanelBoxPeer$$.$_DRAG_RECOGNIZER$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.getDefaultDragRecognizer", {$getDefaultDragRecognizer$:$AdfDhtmlPanelBoxPeer$$.prototype.$getDefaultDragRecognizer$});
$AdfDhtmlPanelBoxPeer$$.prototype.$__handleClientSideDisclosure$ = function $$AdfDhtmlPanelBoxPeer$$$$$__handleClientSideDisclosure$$($disclosed$$9$$) {
  var $contentDom$$26$$ = this.$GetContentDomElement$(), $contentParent$$3_domElement$$366$$ = $contentDom$$26$$.parentNode, $bottomElement$$1_contentDomStyle$$1$$ = $contentDom$$26$$.style, $animationEnabled$$3_stretched$$ = $AdfPage$$.$PAGE$.$isAnimationEnabled$();
  $disclosed$$9$$ ? ($animationEnabled$$3_stretched$$ && ($bottomElement$$1_contentDomStyle$$1$$.visibility = "hidden"), $bottomElement$$1_contentDomStyle$$1$$.display = "", $contentParent$$3_domElement$$366$$.style.display = "") : $animationEnabled$$3_stretched$$ || ($contentParent$$3_domElement$$366$$.style.display = "none", $bottomElement$$1_contentDomStyle$$1$$.display = "none");
  $contentParent$$3_domElement$$366$$ = this.$getDomElement$();
  $bottomElement$$1_contentDomStyle$$1$$ = $contentParent$$3_domElement$$366$$.lastChild;
  $animationEnabled$$3_stretched$$ = "DIV" == $AdfAgent$$.$AGENT$.$getNodeName$($bottomElement$$1_contentDomStyle$$1$$);
  $disclosed$$9$$ ? ($animationEnabled$$3_stretched$$ && ($bottomElement$$1_contentDomStyle$$1$$.style.top = ""), $JSCompiler_StaticMethods__checkAnimateDisclosure$$(this, this.$getComponent$(), $contentDom$$26$$)) : $animationEnabled$$3_stretched$$ && ($bottomElement$$1_contentDomStyle$$1$$.style.top = $contentParent$$3_domElement$$366$$.firstChild.clientHeight + "px");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.__handleClientSideDisclosure", {$__handleClientSideDisclosure$:$AdfDhtmlPanelBoxPeer$$.prototype.$__handleClientSideDisclosure$});
$AdfDhtmlPanelBoxPeer$$.prototype.$__handleClientSideMaximize$ = function $$AdfDhtmlPanelBoxPeer$$$$$__handleClientSideMaximize$$($disclosureElement_disclosurePeer$$6_rootDom$$3$$, $contentDom$$27$$, $maximized$$3$$) {
  $AdfAssert$$.$assertDomElement$($disclosureElement_disclosurePeer$$6_rootDom$$3$$);
  $AdfAssert$$.$assertDomElement$($contentDom$$27$$);
  $AdfAssert$$.$assertBoolean$($maximized$$3$$);
  this.$_maximizePeer$.$__updateClientMaximize$($disclosureElement_disclosurePeer$$6_rootDom$$3$$, $contentDom$$27$$, $maximized$$3$$);
  if ($disclosureElement_disclosurePeer$$6_rootDom$$3$$ = this.$_disclosurePeer$) {
    if ($disclosureElement_disclosurePeer$$6_rootDom$$3$$ = $disclosureElement_disclosurePeer$$6_rootDom$$3$$.$GetButtonElement$()) {
      $disclosureElement_disclosurePeer$$6_rootDom$$3$$.style.display = $maximized$$3$$ ? "none" : "block";
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.__handleClientSideMaximize", {$__handleClientSideMaximize$:$AdfDhtmlPanelBoxPeer$$.prototype.$__handleClientSideMaximize$});
function $AdfPanelBoxDragRecognizer$$() {
  this.Init();
}
$goog$exportSymbol$$("AdfPanelBoxDragRecognizer", $AdfPanelBoxDragRecognizer$$);
$AdfObject$$.$createSubclass$($AdfPanelBoxDragRecognizer$$, $AdfDragRecognizer$$);
$AdfPanelBoxDragRecognizer$$.prototype.$prepDrag$ = function $$AdfPanelBoxDragRecognizer$$$$$prepDrag$$($dndContext$$84$$, $dragSource$$19$$, $inputEvent$$62$$) {
  $AdfAssert$$.$assertPrototype$($dragSource$$19$$, $AdfDragSource$$);
  $AdfAssert$$.$assertPrototype$($inputEvent$$62$$, $AdfUIInputEvent$$);
  if ($AdfAgent$$.$AGENT$.$isDragPrepEvent$($inputEvent$$62$$)) {
    var $dragComponent$$1_headerTable$$3_rootDom$$4$$ = $dragSource$$19$$.$getComponent$();
    $AdfAssert$$.$assertObject$($dragComponent$$1_headerTable$$3_rootDom$$4$$, "Unexpected null component.");
    var $dragPeer$$1_nativeTarget$$4_nodeName$$10$$ = $dragComponent$$1_headerTable$$3_rootDom$$4$$.$getPeer$(), $nativeEvent$$48$$ = $inputEvent$$62$$.$getNativeEvent$();
    if (!$dragPeer$$1_nativeTarget$$4_nodeName$$10$$.$__isEventForHeaderControls$($nativeEvent$$48$$) && ($AdfAssert$$.assert($dragPeer$$1_nativeTarget$$4_nodeName$$10$$, "Unexpected null peer."), $dragPeer$$1_nativeTarget$$4_nodeName$$10$$.bind($dragComponent$$1_headerTable$$3_rootDom$$4$$), $dragComponent$$1_headerTable$$3_rootDom$$4$$ = $dragPeer$$1_nativeTarget$$4_nodeName$$10$$.$getDomElement$(), $dragComponent$$1_headerTable$$3_rootDom$$4$$ = $AdfDomUtils$$.$getFirstChildElement$($dragComponent$$1_headerTable$$3_rootDom$$4$$)) && 
    ($dragPeer$$1_nativeTarget$$4_nodeName$$10$$ = $AdfAgent$$.$AGENT$.$getNodeName$($dragComponent$$1_headerTable$$3_rootDom$$4$$), "TABLE" != $dragPeer$$1_nativeTarget$$4_nodeName$$10$$ && ($dragComponent$$1_headerTable$$3_rootDom$$4$$ = $AdfDomUtils$$.$getFirstChildElement$($dragComponent$$1_headerTable$$3_rootDom$$4$$), $dragPeer$$1_nativeTarget$$4_nodeName$$10$$ = $AdfAgent$$.$AGENT$.$getNodeName$($dragComponent$$1_headerTable$$3_rootDom$$4$$)), "TABLE" == $dragPeer$$1_nativeTarget$$4_nodeName$$10$$ && 
    ($dragPeer$$1_nativeTarget$$4_nodeName$$10$$ = $inputEvent$$62$$.$getNativeEventTarget$(), $AdfDomUtils$$.$isAncestorOrSelf$($dragComponent$$1_headerTable$$3_rootDom$$4$$, $dragPeer$$1_nativeTarget$$4_nodeName$$10$$)))) {
      return $AdfPanelBoxDragRecognizer$$.$superclass$.$prepDrag$.apply(this, arguments);
    }
  }
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfPanelBoxDragRecognizer.prototype.prepDrag", {$prepDrag$:$AdfPanelBoxDragRecognizer$$.prototype.$prepDrag$});
