var $AdfDhtmlShowDetailHeaderPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlPanelHeaderPeer$$, "AdfDhtmlShowDetailHeaderPeer", $JSCompiler_alias_FALSE$$);
$goog$exportSymbol$$("AdfDhtmlShowDetailHeaderPeer", $AdfDhtmlShowDetailHeaderPeer$$);
$AdfDhtmlShowDetailHeaderPeer$$.$_INNER_SD_PEER$ = $AdfRichUIPeer$$.$createInnerPeerClassWithSubId$($AdfDhtmlShowDisclosurePeer$$, "InnerSDHShowDetailPeer", "_afrDscl");
InnerSDHShowDetailPeer.$InitSubclass$ = function $InnerSDHShowDetailPeer$$InitSubclass$$() {
  $AdfDhtmlTogglePeer$$.$Config$(this, {$toggledStyleClass$:"af|showDetailHeader::disclosed-icon-style", $untoggledStyleClass$:"af|showDetailHeader::undisclosed-icon-style"})
};
InnerSDHShowDetailPeer.prototype.$HandleClientSideToggle$ = function $InnerSDHShowDetailPeer$$$HandleClientSideToggle$$($disclosed$$12$$) {
  return InnerSDHShowDetailPeer.$superclass$.$HandleClientSideToggle$.call(this, $disclosed$$12$$) ? this.$outerThis$.$__handleClientSideDisclosure$($disclosed$$12$$) : $JSCompiler_alias_FALSE$$
};
InnerSDHShowDetailPeer.prototype.$EventPropagatesToServer$ = function $InnerSDHShowDetailPeer$$$EventPropagatesToServer$$($isExpanded$$5$$) {
  var $value$$190$$ = InnerSDHShowDetailPeer.$superclass$.$EventPropagatesToServer$.call(this);
  if($value$$190$$ == $JSCompiler_alias_FALSE$$) {
    var $component$$1591$$ = this.$outerThis$.$getComponent$();
    if("lazy" === $component$$1591$$.getPropertyValue("contentDelivery") && this.$outerThis$.$__isContentLoaded$() == $JSCompiler_alias_FALSE$$ || $isExpanded$$5$$ == $JSCompiler_alias_FALSE$$ && $AdfPage$$.$PAGE$.$_dirtyStateService$.$hasDirtyData$($component$$1591$$)) {
      $value$$190$$ = $JSCompiler_alias_TRUE$$
    }
  }
  return $value$$190$$
};
$AdfDhtmlShowDetailHeaderPeer$$.prototype.Init = function $$AdfDhtmlShowDetailHeaderPeer$$$$Init$($component$$1592$$) {
  $AdfDhtmlShowDetailHeaderPeer$$.$superclass$.Init.call(this, $component$$1592$$);
  this.$_disclosurePeer$ = new $AdfDhtmlShowDetailHeaderPeer$$.$_INNER_SD_PEER$($component$$1592$$, this);
  var $newPropertykey_propertyKey$$9$$ = $component$$1592$$.$getPropertyKeys$().disclosed;
  $newPropertykey_propertyKey$$9$$ != $JSCompiler_alias_NULL$$ && $newPropertykey_propertyKey$$9$$[$AdfUIComponent$$.$PROPERTY_DISCONNECTED$] && ($newPropertykey_propertyKey$$9$$ = $AdfCollections$$.$copyInto$({}, $newPropertykey_propertyKey$$9$$), delete $newPropertykey_propertyKey$$9$$[$AdfUIComponent$$.$PROPERTY_DISCONNECTED$], $component$$1592$$.$getPropertyKeys$().disclosed = $newPropertykey_propertyKey$$9$$);
  this.$_ignoreUpAndDownArrowKey$ = "false" == $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|showDetailHeader-tr-disclose-with-up-down-arrow")
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailHeaderPeer.prototype.Init", {Init:$AdfDhtmlShowDetailHeaderPeer$$.prototype.Init});
$AdfDhtmlShowDetailHeaderPeer$$.prototype.$initialize$ = function $$AdfDhtmlShowDetailHeaderPeer$$$$$initialize$$($component$$1593$$) {
  $AdfDhtmlShowDetailHeaderPeer$$.$superclass$.$initialize$.call(this, $component$$1593$$);
  this.$_disclosurePeer$.$initialize$($component$$1593$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailHeaderPeer.prototype.initialize", {$initialize$:$AdfDhtmlShowDetailHeaderPeer$$.prototype.$initialize$});
$AdfDhtmlShowDetailHeaderPeer$$.$InitSubclass$ = function $$AdfDhtmlShowDetailHeaderPeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfDisclosureEvent$$.$EVENT_TYPE$);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, "disclosed")
};
$goog$exportSymbol$$("AdfDhtmlShowDetailHeaderPeer.InitSubclass", $AdfDhtmlShowDetailHeaderPeer$$.$InitSubclass$);
$AdfDhtmlShowDetailHeaderPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlShowDetailHeaderPeer$$$$$HandleComponentClick$$($componentEvent$$394$$) {
  $AdfDhtmlShowDetailHeaderPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$394$$);
  this.$_disclosurePeer$.$HandleComponentClick$($componentEvent$$394$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailHeaderPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlShowDetailHeaderPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlShowDetailHeaderPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlShowDetailHeaderPeer$$$$$HandleComponentKeyUp$$($componentEvent$$395$$) {
  var $handleKeystroke$$1_keyCode$$85_nativeEvent$$60$$ = $JSCompiler_alias_TRUE$$;
  this.$_ignoreUpAndDownArrowKey$ && ($handleKeystroke$$1_keyCode$$85_nativeEvent$$60$$ = $componentEvent$$395$$.$getNativeEvent$(), $handleKeystroke$$1_keyCode$$85_nativeEvent$$60$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($handleKeystroke$$1_keyCode$$85_nativeEvent$$60$$), $handleKeystroke$$1_keyCode$$85_nativeEvent$$60$$ = $handleKeystroke$$1_keyCode$$85_nativeEvent$$60$$ != $AdfKeyStroke$$.$ARROWUP_KEY$ && $handleKeystroke$$1_keyCode$$85_nativeEvent$$60$$ != $AdfKeyStroke$$.$ARROWDOWN_KEY$);
  $handleKeystroke$$1_keyCode$$85_nativeEvent$$60$$ && this.$_disclosurePeer$.$HandleComponentKeyUp$($componentEvent$$395$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailHeaderPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlShowDetailHeaderPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlShowDetailHeaderPeer$$.prototype.$HandleComponentDisclosure$ = function $$AdfDhtmlShowDetailHeaderPeer$$$$$HandleComponentDisclosure$$($componentEvent$$396$$) {
  this.$_disclosurePeer$.$HandleComponentDisclosure$($componentEvent$$396$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailHeaderPeer.prototype.HandleComponentDisclosure", {$HandleComponentDisclosure$:$AdfDhtmlShowDetailHeaderPeer$$.prototype.$HandleComponentDisclosure$});
$AdfDhtmlShowDetailHeaderPeer$$.prototype.$ComponentDisclosedChanged$ = function $$AdfDhtmlShowDetailHeaderPeer$$$$$ComponentDisclosedChanged$$($component$$1594$$, $domElement$$464$$, $newValue$$134$$, $oldValue$$90$$) {
  return"immediate" == $component$$1594$$.getPropertyValue("contentDelivery") || "lazy" == $component$$1594$$.getPropertyValue("contentDelivery") && this.$__isContentLoaded$() ? this.$_disclosurePeer$.$ComponentDisclosedChanged$($component$$1594$$, $domElement$$464$$, $newValue$$134$$, $oldValue$$90$$) : $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailHeaderPeer.prototype.ComponentDisclosedChanged", {$ComponentDisclosedChanged$:$AdfDhtmlShowDetailHeaderPeer$$.prototype.$ComponentDisclosedChanged$});
$AdfDhtmlShowDetailHeaderPeer$$.prototype.$__handleClientSideDisclosure$ = function $$AdfDhtmlShowDetailHeaderPeer$$$$$__handleClientSideDisclosure$$($disclosed$$13$$) {
  var $contentDom$$45$$ = this.$_getContentDomElement$();
  return $contentDom$$45$$ ? ($contentDom$$45$$.style.display = $disclosed$$13$$ ? "" : "none", $JSCompiler_alias_TRUE$$) : $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailHeaderPeer.prototype.__handleClientSideDisclosure", {$__handleClientSideDisclosure$:$AdfDhtmlShowDetailHeaderPeer$$.prototype.$__handleClientSideDisclosure$});
$AdfDhtmlShowDetailHeaderPeer$$.prototype.$__isContentLoaded$ = function $$AdfDhtmlShowDetailHeaderPeer$$$$$__isContentLoaded$$() {
  return this.$_getContentDomElement$() != $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailHeaderPeer.prototype.__isContentLoaded", {$__isContentLoaded$:$AdfDhtmlShowDetailHeaderPeer$$.prototype.$__isContentLoaded$});
$AdfDhtmlShowDetailHeaderPeer$$.prototype.$_getContentDomElement$ = function $$AdfDhtmlShowDetailHeaderPeer$$$$$_getContentDomElement$$() {
  return this.$getDomElement$().childNodes[1]
};
