A_7.prototype.HandleComponentMouseOver=function(a){if(A_6.Yb())a=a.getNativeEvent(),AdfAgent.AGENT.preventDefault(a);else if(a=a.getNativeEventTarget(),null!=a&&(a=A_0i(a,this.getDomElement()),null!=a)){var b=a[1];A_dj(this)&&this.ri(b);if(A_Tj(b)&&(a=b.lastChild,4!=parseInt(a.style.top))){var c={top:4};c.left=b.firstChild.offsetLeft+4;b={};b.element=a;b.properties=c;b.duration="0.1s";b.timingFunction="linear";a=[];a.push(b);AdfDvtAnimator.ib.animate(this,a,100,null,null)}}};
A_a("AdfDhtmlTimelineSeriesPeer.prototype.HandleComponentMouseOver",A_7.prototype.HandleComponentMouseOver);A_7.prototype.Ib=function(a){if(!A_6.Yb()&&(a=a.getNativeEventTarget(),a=A_0i(a,this.getDomElement()),null!=a)){var b=a[1];this.Ug(b);if(A_Tj(b)&&(a=b.lastChild,1!=parseInt(a.style.top))){var c={top:1};c.left=b.firstChild.offsetLeft+1;b={};b.element=a;b.properties=c;b.duration="0.1s";b.timingFunction="linear";a=[];a.push(b);AdfDvtAnimator.ib.animate(this,a,100,null,null)}}};
A_a("AdfDhtmlTimelineSeriesPeer.prototype.HandleComponentMouseOut",A_7.prototype.Ib);A_=A_7.prototype;A_.ri=function(a,b){if(!A_d.ta(a.firstChild,A_7.Bd)){this.addStyle(a,A_7.mj);if(!b){var c=this.hb();null!=c&&c.ri(a.id)}this.vd(this.getComponent())&&(a.style.zIndex=1E3)}};A_.Ug=function(a,b){A_hk(a,A_7.mj);if(!b&&!A_d.ta(a.firstChild,A_7.Bd)){var c=this.hb();null!=c&&c.Ug(a.id)}this.vd(this.getComponent())&&1E3==a.style.zIndex&&(a.style.zIndex="")};
function A_Lj(a,b){var c=a.getComponent(),d=b.getAttribute("_selState");d&&c.setProperty("selectedRowKeys",d,!1,AdfUIComponent.PROPAGATE_NEVER)}function A_dj(a){return(a=a.getComponent().getParent().Hs())&&a.toLowerCase()!=A_7.iF}function A_zj(a){return(a=a.getComponent().getParent().Hs())&&-1!=a.toLowerCase().indexOf(A_7.hF)}
function A_1i(a,b,c,d,e){if(A_zj(a)&&b)A_Aj(a,c)?A_vj(a,c,d):A_Bj(a,c,d,!1,!1,e);else{b=a.getComponent().getSelectedRowKeys();var f=b[c];if(f)for(var g in b)if(g!=c){f=!1;break}f||(a.ly=!0,A_uj(a.w()),a.ly=!1,A_Bj(a,c,d,!1,!1,e))}A_wj(a.w(),c,d,a.getComponent().getClientId());A_7.bt()||a.getDomElement().focus()}A_.Rn=function(){return!this.ly};function A_Aj(a,b){return a.getComponent().getSelectedRowKeys()[b]}A_.Pr=function(a){A_Mj(this,A_7.lq);A_ik(this,{});a||(a=this.hb(),null!=a&&A__i(a))};
function A_Mj(a,b){var c,d=A_8(a);if(null!=d&&(a.tS=null,null==c&&(c=a.getComponent().getSelectedRowKeys()),c&&!AdfCollections.isEmpty(c)))for(var d=d.childNodes,e=AdfAgent.getAgent(),f=0;f<d.length;f++){var g=d[f].childNodes;if(g)for(var h=0;h<g.length;h++){var l=g[h],m=e.getAttribute(l,A_7.ca);if(null!=m)switch(b){case A_7.kF:A_jk(a,l);break;case A_7.lq:A_kk(a,l);break;case A_7.iv:c[m]?A_jk(a,l):A_kk(a,l)}}}}
function A_vj(a,b,c){A_kk(a,c);var d={};AdfCollections.copyInto(d,a.getComponent().getSelectedRowKeys());delete d[b];A_ik(a,d);a=a.hb();null!=a&&A_Zi(a,c.id)}
function A_Bj(a,b,c,d,e,f){A_jk(a,c);if(!d){d=a.getComponent();var g={};AdfCollections.copyInto(g,d.getSelectedRowKeys());g[b]=!0;A_ik(a,g);if("none"==a.w().getGlassPane().style.display)a:{b=a.getDomElement();if(parseInt(c.style.top)<b.scrollTop)b=b.scrollTop-parseInt(c.style.top)+A_ij(a.w())+a.ln,d=Math.floor(b/5),g=b%5,A_qj(a,!0),a.pl({increment:-d,reminder:g,counter:5,speed:1});else{d=AdfAgent.AGENT.getIntAttribute(c,"h");if(null==d)break a;b=parseInt(c.style.top)+d-(b.scrollTop+parseInt(b.parentNode.style.height))+
A_Qj(a)+5;d=Math.floor(b/5);g=b%5;0<b&&(A_qj(a,!0),a.pl({increment:d,reminder:g,counter:5,speed:1}))}f||A_4j(a,c,!0)}}e||(a=a.hb(),null!=a&&A_Yi(a,c.id))}function A_jk(a,b){a.addStyle(b,A_7.Bd);A_hk(b,A_7.mj);a.isInActiveHeirarchy()?A_hk(b,A_7.eq):a.addStyle(b,A_7.eq);a.vd(a.getComponent())&&(b.style.zIndex=999)}function A_kk(a,b){AdfAssert.assertDomNode(b);A_hk(b,A_7.eq);A_hk(b,A_7.Bd);A_hk(b,A_7.mj);A_hk(b,A_7.Te);a.vd(a.getComponent())&&(b.style.zIndex="")}
function A_ak(a,b){A_hk(b,A_7.eq);A_hk(b,A_7.Bd);A_hk(b,A_7.mj);A_hk(b,A_7.Te);a.vd(a.getComponent())&&(b.style.zIndex="")}function A_ik(a,b){AdfLogger.LOGGER.finer("Update Timeline selection state to:",b);a.getComponent().setSelectedRowKeys(b)}
A_.addStyle=function(a,b){AdfAssert.assertDomNode(a);var c=a.firstChild,d=null;if(c.nextSibling){var d=c.nextSibling,e=d.nextSibling;if(A_Vj(a))var f=e.nextSibling;e.firstChild&&(e=e.firstChild)}AdfAssert.assertDomNode(c);d&&(AdfAssert.assertDomNode(d),AdfAssert.assertDomNode(e));A_d.ya(c,b);d&&(A_d.ya(d,b),A_d.ya(e,b),f&&A_d.ya(f,b),(A_7.Zd()||A_7.xf())&&null!=e.nextSibling&&A_d.ya(e.nextSibling,b));A_Tj(a)&&A_d.ya(a.lastChild,b)};
function A_hk(a,b){AdfAssert.assertDomNode(a);var c=a.firstChild,d=null;if(c.nextSibling){var d=c.nextSibling,e=d.nextSibling;if(A_Vj(a))var f=e.nextSibling;e.firstChild&&(e=e.firstChild)}AdfAssert.assertDomNode(c);d&&(AdfAssert.assertDomNode(d),AdfAssert.assertDomNode(e));A_d.X(c,b);d&&(A_d.X(d,b),A_d.X(e,b),f&&A_d.X(f,b),(A_7.Zd()||A_7.xf())&&null!=e.nextSibling&&A_d.X(e.nextSibling,b));A_Tj(a)&&A_d.X(a.lastChild,b)};