var $AdfDhtmlShowDetailPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlShowDisclosurePeer$$, "AdfDhtmlShowDetailPeer", !1);
$goog$exportSymbol$$("AdfDhtmlShowDetailPeer", $AdfDhtmlShowDetailPeer$$);
$AdfDhtmlShowDetailPeer$$.$InitSubclass$ = function $$AdfDhtmlShowDetailPeer$$$$InitSubclass$$() {
  $AdfDhtmlShowDetailPeer$$.$_SHOW_DETAIL_CHILD_CONTAINER_STYLE_CLASS$ = "af|showDetail::child-container";
  $AdfDhtmlShowDetailPeer$$.$_SHOW_DETAIL_HEADER_TEXT_STYLE_CLASS$ = "af|showDetail::header-text";
  $AdfDhtmlTogglePeer$$.$Config$(this, {$ltrToggledIconName$:"af|showDetail::disclosed-icon", $ltrUntoggledIconName$:"af|showDetail::undisclosed-icon", $rtlToggledIconName$:"af|showDetail::disclosed-icon:rtl", $rtlUntoggledIconName$:"af|showDetail::undisclosed-icon:rtl"});
};
$goog$exportSymbol$$("AdfDhtmlShowDetailPeer.InitSubclass", $AdfDhtmlShowDetailPeer$$.$InitSubclass$);
$AdfDhtmlShowDetailPeer$$.prototype.$HandleClientSideToggle$ = function $$AdfDhtmlShowDetailPeer$$$$$HandleClientSideToggle$$($JSCompiler_temp$$223_disclosed$$15$$) {
  if ($AdfDhtmlShowDetailPeer$$.$superclass$.$HandleClientSideToggle$.call(this, $JSCompiler_temp$$223_disclosed$$15$$)) {
    var $contentDom$$inline_4028$$ = this.$_getContentDomElement$();
    null != $contentDom$$inline_4028$$ ? ($contentDom$$inline_4028$$.style.display = $JSCompiler_temp$$223_disclosed$$15$$ ? "" : "none", $JSCompiler_temp$$223_disclosed$$15$$ = !0) : $JSCompiler_temp$$223_disclosed$$15$$ = !1;
  } else {
    $JSCompiler_temp$$223_disclosed$$15$$ = !1;
  }
  return $JSCompiler_temp$$223_disclosed$$15$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailPeer.prototype.HandleClientSideToggle", {$HandleClientSideToggle$:$AdfDhtmlShowDetailPeer$$.prototype.$HandleClientSideToggle$});
$AdfDhtmlShowDetailPeer$$.prototype.$GetTitle$ = function $$AdfDhtmlShowDetailPeer$$$$$GetTitle$$() {
  var $comp$$20$$ = this.$getComponent$(), $text$$41$$;
  $comp$$20$$.getDisclosed() ? $text$$41$$ = $comp$$20$$.$getProperty$("disclosedText") : ($text$$41$$ = $comp$$20$$.$getProperty$("undisclosedText"), null == $text$$41$$ && ($text$$41$$ = $comp$$20$$.$getProperty$("disclosedText")));
  return $text$$41$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailPeer.prototype.GetTitle", {$GetTitle$:$AdfDhtmlShowDetailPeer$$.prototype.$GetTitle$});
$AdfDhtmlShowDetailPeer$$.prototype.$ApplyTitle$ = function $$AdfDhtmlShowDetailPeer$$$$$ApplyTitle$$($newHeaderText_titleText$$1$$) {
  $AdfDhtmlShowDetailPeer$$.$superclass$.$ApplyTitle$.call(this, $newHeaderText_titleText$$1$$);
  $newHeaderText_titleText$$1$$ = this.$GetTitle$();
  if (null != $newHeaderText_titleText$$1$$) {
    var $headerTextStyleClass$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$($AdfDhtmlShowDetailPeer$$.$_SHOW_DETAIL_HEADER_TEXT_STYLE_CLASS$), $elem$$40_rootElem$$5$$ = this.$getDomElement$(), $elem$$40_rootElem$$5$$ = $AdfDomUtils$$.$getFirstElementMatch$($elem$$40_rootElem$$5$$, !0, function($newHeaderText_titleText$$1$$) {
      return $AdfDomUtils$$.$containsCSSClassName$($newHeaderText_titleText$$1$$, $headerTextStyleClass$$) ? $newHeaderText_titleText$$1$$ : null;
    });
    null != $elem$$40_rootElem$$5$$ && ($AdfDomUtils$$.$removeAllNodes$($elem$$40_rootElem$$5$$), $elem$$40_rootElem$$5$$.appendChild(document.createTextNode($newHeaderText_titleText$$1$$)));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailPeer.prototype.ApplyTitle", {$ApplyTitle$:$AdfDhtmlShowDetailPeer$$.prototype.$ApplyTitle$});
$AdfDhtmlShowDetailPeer$$.prototype.$EventPropagatesToServer$ = function $$AdfDhtmlShowDetailPeer$$$$$EventPropagatesToServer$$($isExpanded$$6$$) {
  var $value$$263$$ = $AdfDhtmlShowDetailPeer$$.$superclass$.$EventPropagatesToServer$.call(this);
  if (0 == $value$$263$$) {
    var $component$$2151$$ = this.$getComponent$();
    "lazy" == $component$$2151$$.getPropertyValue("contentDelivery") && null == this.$_getContentDomElement$() && ($value$$263$$ = !0);
    0 == $value$$263$$ && 0 == $isExpanded$$6$$ && ($value$$263$$ = $AdfPage$$.$PAGE$.$_dirtyStateService$.$hasDirtyData$($component$$2151$$));
  }
  return $value$$263$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailPeer.prototype.EventPropagatesToServer", {$EventPropagatesToServer$:$AdfDhtmlShowDetailPeer$$.prototype.$EventPropagatesToServer$});
$AdfDhtmlShowDetailPeer$$.prototype.$_getContentDomElement$ = function $$AdfDhtmlShowDetailPeer$$$$$_getContentDomElement$$() {
  var $rootElem$$6$$ = this.$getDomElement$(), $styleClass$$17$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass($AdfDhtmlShowDetailPeer$$.$_SHOW_DETAIL_CHILD_CONTAINER_STYLE_CLASS$);
  return $AdfDomUtils$$.$getFirstElementMatch$($rootElem$$6$$, !0, $AdfDomUtils$$.$containsCSSClassName$, $styleClass$$17$$);
};
