var yx=I.ea(Dt,"AdfDhtmlShowDetailPeer",!1);m("AdfDhtmlShowDetailPeer",yx);yx.C=function(){yx.G5a="af|showDetail::child-container";yx.H5a="af|showDetail::header-text";Rq.Us(this,{crb:"af|showDetail::disclosed-icon",drb:"af|showDetail::undisclosed-icon",Grb:"af|showDetail::disclosed-icon:rtl",Hrb:"af|showDetail::undisclosed-icon:rtl"})};m("AdfDhtmlShowDetailPeer.InitSubclass",yx.C);
yx.prototype.Oh=function(a){if(yx.h.Oh.call(this,a)){var b=this.bB();null!=b?(b.style.display=a?"":"none",a=!0):a=!1}else a=!1;return a};r.a("AdfDhtmlShowDetailPeer.prototype.HandleClientSideToggle",{Oh:yx.prototype.Oh});yx.prototype.Hz=function(){var a=this.f(),b;a.getDisclosed()?b=a.K("disclosedText"):(b=a.K("undisclosedText"),null==b&&(b=a.K("disclosedText")));return b};r.a("AdfDhtmlShowDetailPeer.prototype.GetTitle",{Hz:yx.prototype.Hz});
yx.prototype.gD=function(a){yx.h.gD.call(this,a);a=this.Hz();if(null!=a){var b=A.c.H().qa(yx.H5a),d=this.i(),d=C.Ou(d,!0,function(a){return C.sa(a,b)?a:null});null!=d&&(C.jI(d),d.appendChild(document.createTextNode(a)))}};r.a("AdfDhtmlShowDetailPeer.prototype.ApplyTitle",{gD:yx.prototype.gD});yx.prototype.eh=function(a){var b=yx.h.eh.call(this);if(0==b){var d=this.f();"lazy"==d.getPropertyValue("contentDelivery")&&null==this.bB()&&(b=!0);0==b&&0==a&&(b=A.c.ge.QH(d))}return b};
r.a("AdfDhtmlShowDetailPeer.prototype.EventPropagatesToServer",{eh:yx.prototype.eh});yx.prototype.bB=function(){var a=this.i(),b=A.c.H().getStyleClass(yx.G5a);return C.Ou(a,!0,C.sa,b)};