var vz=M.U(uz,"AdfDhtmlTreePeer",p);v("AdfDhtmlTreePeer",vz);vz.m=function(){this.wPa="_afrNdTxt";this.pPa="af|tree::expanded-icon";this.oPa="af|tree::collapsed-icon";this.nPa="af|tree::node-anim-icon";this.qPa="af|tree::leaf-icon";this.tPa="af|tree::expanded-icon-style";this.sPa="af|tree::collapsed-icon-style";this.rPa="af|tree::node-anim-icon-style";this.uPa="af|tree::leaf-icon-style";this.vPa="af|tree::selector-icon-style"};v("AdfDhtmlTreePeer.InitSubclass",vz.m);
vz.prototype.Hz=function(){var a={},b=this.vz();if(b){var d=this.Ob(b);d&&(a.pb=d.Vb,a.xb=b)}else a=this.dl();a.pb&&a.xb?(this.Ec(V.we,a.xb,a.pb),mx(this,a.pb)):vz.f.Hz.call(this)};z.a("AdfDhtmlTreePeer.prototype.HandleHeaderlessFocus",{Hz:vz.prototype.Hz});
vz.prototype.Ka=function(a){var b=w.b,d=a.Q();if(d!=n){for(var e=p,f=this.h();d!=n&&1==d.nodeType&&d!=f;){if(d.getAttribute(vz.wPa)!=n){e=l;break}if(d.getAttribute(V.Ba)!=n)break;d=d.parentNode}if(e&&b.cha(d)){nh.O().Qia(d);return}}vz.f.Ka.call(this,a)};z.a("AdfDhtmlTreePeer.prototype.HandleComponentMouseOver",{Ka:vz.prototype.Ka});vz.prototype.UE=ca();z.a("AdfDhtmlTreePeer.prototype.SetCursorToText",{UE:vz.prototype.UE});vz.prototype.Vu=t(l);z.a("AdfDhtmlTreePeer.prototype.isDragAvailable",{Vu:vz.prototype.Vu});
vz.prototype.XE=t(l);z.a("AdfDhtmlTreePeer.prototype.SupportsFocusRowNavigation",{XE:vz.prototype.XE});vz.prototype.ED=t(p);z.a("AdfDhtmlTreePeer.prototype.AllowCellNavigation",{ED:vz.prototype.ED});vz.prototype.gE=function(){return AdfRichPopup.bz};z.a("AdfDhtmlTreePeer.prototype.GetKeyboardContextMenuAlignHint",{gE:vz.prototype.gE});vz.prototype.OE=function(a){return H.$l(H.ca(H.ca(a)))};z.a("AdfDhtmlTreePeer.prototype.ResolveContextMenuAlignElement",{OE:vz.prototype.OE});
vz.prototype.Gs=function(){var a=wz(this);xz(this,a);(a=this.$s())&&a.Bs()};z.a("AdfDhtmlTreePeer.prototype.BlockInserted",{Gs:vz.prototype.Gs});vz.prototype.Fs=function(){var a=wz(this);xz(this,a);(a=this.$s())&&a.Bs()};z.a("AdfDhtmlTreePeer.prototype.BlockDeleted",{Fs:vz.prototype.Fs});vz.prototype.tz=function(){return parseInt(F.c.u().ka("af|tree-tr-node-disclosure-animation-duration"))};z.a("AdfDhtmlTreePeer.prototype.GetDisclosureAnimationDuration",{tz:vz.prototype.tz});
function xz(a,b){var d=a.ea(),e=a.Pa();V.Pd(e,"DIV").style.width=b+"px";e=a.h();a.Gq(d,e.clientWidth,e.clientHeight)}function wz(a){a=a.ea().childNodes;for(var b=0,d=0;d<a.length;d++)b=Math.max(a[d].offsetWidth,b);return b}vz.prototype.GEa=ca();z.a("AdfDhtmlTreePeer.prototype.stretchLastColumn",{GEa:vz.prototype.GEa});vz.prototype.Qv=function(){var a={};a.zI=vz.pPa;a.collapsed=vz.oPa;a.jI=vz.nPa;a.Iy=vz.qPa;return a};z.a("AdfDhtmlTreePeer.prototype.GetIconNames",{Qv:vz.prototype.Qv});
vz.prototype.io=function(){var a={};a.zI=vz.tPa;a.collapsed=vz.sPa;a.jI=vz.rPa;a.Iy=vz.uPa;a.W4a=vz.vPa;return a};z.a("AdfDhtmlTreePeer.prototype.GetIconStyleNames",{io:vz.prototype.io});vz.prototype.qi=t(p);vz.prototype.Z=function(a){nh.O().C0();vz.f.Z.call(this,a)};z.a("AdfDhtmlTreePeer.prototype.ComponentRemoved",{Z:vz.prototype.Z});vz.prototype.Rs=function(a){return vz.My[a]||"AFActiveDataTreeRowInsert"};z.a("AdfDhtmlTreePeer.prototype.GetActiveDataAnnouncementKey",{Rs:vz.prototype.Rs});
vz.prototype.bE=t("");z.a("AdfDhtmlTreePeer.prototype.GetColHeaderText",{bE:vz.prototype.bE});
vz.prototype.nE=function(a,b,d){var e="";if("update"!==b)return e;var f=this.h();if(!f||!this.CE(f,w.b,b))return e;var g;try{var h=this.he(a,f)[1];g=this.Sv(h)}catch(m){D.i.fine("Exception while trying to get the text for the parent row of the active row"+m),g=""}a=a.textContent;e=F.c.u();""==g?(e=e.V("AFActiveDataTreeRowUpdate3"),e=TrFastMessageFormatUtils.format(e,d,a)):(e=e.V("AFActiveDataTreeRowUpdate2"),e=TrFastMessageFormatUtils.format(e,g,d,a));return e};
z.a("AdfDhtmlTreePeer.prototype.GetUpdatedActiveValues",{nE:vz.prototype.nE});vz.prototype.Sv=function(a){try{var b=a.getAttribute(uz.ot);return yz(this,b).textContent}catch(d){return D.i.fine("Exception while trying to get the text for the parent row of the active row"+d),""}};z.a("AdfDhtmlTreePeer.prototype.GetParentRowNodeText",{Sv:vz.prototype.Sv});
vz.prototype.ct=function(a){var b="";try{var d=this.Ob(a).Vb,b=d.textContent.trim(),e=this.Sv(d);if(""!==e)var f=F.c.u().V("AFActiveDataTreeTableParent"),b=TrFastMessageFormatUtils.format(f,e,b);return b}catch(g){return D.i.fine("Exception while trying to get the node text for the active data row"+g),b}};z.a("AdfDhtmlTreePeer.prototype.GetRowText",{ct:vz.prototype.ct});vz.My={update:"AFActiveDataTreeRowUpdate",remove:"AFActiveDataTreeRowDelete"};v("AdfDhtmlTreePeer.msgMap",vz.My);