var xB=I.ea(wB,"AdfDhtmlTreePeer",!1);m("AdfDhtmlTreePeer",xB);xB.C=function(){this.p7a="_afrNdTxt";this.i7a="af|tree::expanded-icon";this.h7a="af|tree::collapsed-icon";this.g7a="af|tree::node-anim-icon";this.j7a="af|tree::leaf-icon";this.m7a="af|tree::expanded-icon-style";this.l7a="af|tree::collapsed-icon-style";this.k7a="af|tree::node-anim-icon-style";this.n7a="af|tree::leaf-icon-style";this.o7a="af|tree::selector-icon-style"};m("AdfDhtmlTreePeer.InitSubclass",xB.C);
xB.prototype.PD=function(){var a={},b=this.CD();if(b){var d=this.gc(b);d&&(a.Db=d.rc,a.Eb=b)}else a=this.wk();a.Db&&a.Eb?(this.Zc(S.Ke,a.Eb,a.Db),pz(this,a.Db)):xB.h.PD.call(this)};r.a("AdfDhtmlTreePeer.prototype.HandleHeaderlessFocus",{PD:xB.prototype.PD});
xB.prototype.$a=function(a){var b=q.b,d=a.X();if(null!=d){for(var e=!1,f=this.i();null!=d&&1==d.nodeType&&d!=f;){if(null!=d.getAttribute(xB.p7a)){e=!0;break}if(null!=d.getAttribute(S.Xa))break;d=d.parentNode}if(e&&b.gta(d)){Ij.$().gva(d);return}}xB.h.$a.call(this,a)};r.a("AdfDhtmlTreePeer.prototype.HandleComponentMouseOver",{$a:xB.prototype.$a});xB.prototype.nK=function(){};r.a("AdfDhtmlTreePeer.prototype.SetCursorToText",{nK:xB.prototype.nK});xB.prototype.Fy=function(){return!0};
r.a("AdfDhtmlTreePeer.prototype.isDragAvailable",{Fy:xB.prototype.Fy});xB.prototype.qK=function(){return!0};r.a("AdfDhtmlTreePeer.prototype.SupportsFocusRowNavigation",{qK:xB.prototype.qK});xB.prototype.JI=function(){return!1};r.a("AdfDhtmlTreePeer.prototype.AllowCellNavigation",{JI:xB.prototype.JI});xB.prototype.tJ=function(){return AdfRichPopup.tz};r.a("AdfDhtmlTreePeer.prototype.GetKeyboardContextMenuAlignHint",{tJ:xB.prototype.tJ});xB.prototype.fK=function(a){return C.zm(C.pa(C.pa(a)))};
r.a("AdfDhtmlTreePeer.prototype.ResolveContextMenuAlignElement",{fK:xB.prototype.fK});xB.prototype.Ev=function(){var a=yB(this);zB(this,a);(a=this.dw())&&a.yv()};r.a("AdfDhtmlTreePeer.prototype.BlockInserted",{Ev:xB.prototype.Ev});xB.prototype.Dv=function(){var a=yB(this);zB(this,a);(a=this.dw())&&a.yv()};r.a("AdfDhtmlTreePeer.prototype.BlockDeleted",{Dv:xB.prototype.Dv});xB.prototype.AD=function(){return parseInt(A.c.H().qa("af|tree-tr-node-disclosure-animation-duration"))};
r.a("AdfDhtmlTreePeer.prototype.GetDisclosureAnimationDuration",{AD:xB.prototype.AD});function zB(a,b){var d=a.wa(),e=a.mb();S.Wd(e,"DIV").style.width=b+"px";e=a.i();a.xt(d,e.clientWidth,e.clientHeight)}function yB(a){a=a.wa().childNodes;for(var b=0,d=0;d<a.length;d++)b=Math.max(a[d].offsetWidth,b);return b}xB.prototype.yVa=function(){};r.a("AdfDhtmlTreePeer.prototype.stretchLastColumn",{yVa:xB.prototype.yVa});
xB.prototype.Fz=function(){var a={};a.AO=xB.i7a;a.collapsed=xB.h7a;a.hO=xB.g7a;a.NC=xB.j7a;return a};r.a("AdfDhtmlTreePeer.prototype.GetIconNames",{Fz:xB.prototype.Fz});xB.prototype.Fq=function(){var a={};a.AO=xB.m7a;a.collapsed=xB.l7a;a.hO=xB.k7a;a.NC=xB.n7a;a.Lrb=xB.o7a;return a};r.a("AdfDhtmlTreePeer.prototype.GetIconStyleNames",{Fq:xB.prototype.Fq});xB.prototype.ij=function(){return!1};xB.prototype.ka=function(a){Ij.$().U9();xB.h.ka.call(this,a)};
r.a("AdfDhtmlTreePeer.prototype.ComponentRemoved",{ka:xB.prototype.ka});xB.prototype.Uv=function(a){return xB.PC[a]||"AFActiveDataTreeRowInsert"};r.a("AdfDhtmlTreePeer.prototype.GetActiveDataAnnouncementKey",{Uv:xB.prototype.Uv});xB.prototype.oJ=function(){return""};r.a("AdfDhtmlTreePeer.prototype.GetColHeaderText",{oJ:xB.prototype.oJ});
xB.prototype.BJ=function(a,b,d){var e="";if("update"!==b)return e;var f=this.i();if(!f||!this.RJ(f,q.b,b))return e;var g;try{var h=this.Se(a,f)[1];g=this.Gz(h)}catch(l){v.l.fine("Exception while trying to get the text for the parent row of the active row"+l),g=""}a=a.textContent;e=A.c.H();""==g?(e=e.Z("AFActiveDataTreeRowUpdate3"),e=TrFastMessageFormatUtils.format(e,d,a)):(e=e.Z("AFActiveDataTreeRowUpdate2"),e=TrFastMessageFormatUtils.format(e,g,d,a));return e};
r.a("AdfDhtmlTreePeer.prototype.GetUpdatedActiveValues",{BJ:xB.prototype.BJ});xB.prototype.Gz=function(a){try{var b=a.getAttribute(wB.Dw);return AB(this,b).textContent}catch(d){return v.l.fine("Exception while trying to get the text for the parent row of the active row"+d),""}};r.a("AdfDhtmlTreePeer.prototype.GetParentRowNodeText",{Gz:xB.prototype.Gz});
xB.prototype.gw=function(a){var b="";try{var d=this.gc(a).rc,b=d.textContent.trim(),e=this.Gz(d);if(""!==e)var f=A.c.H().Z("AFActiveDataTreeTableParent"),b=TrFastMessageFormatUtils.format(f,e,b);return b}catch(g){return v.l.fine("Exception while trying to get the node text for the active data row"+g),b}};r.a("AdfDhtmlTreePeer.prototype.GetRowText",{gw:xB.prototype.gw});xB.PC={update:"AFActiveDataTreeRowUpdate",remove:"AFActiveDataTreeRowDelete"};m("AdfDhtmlTreePeer.msgMap",xB.PC);