(function(a){function C(){}function y(a,b,c){this.Init(a,b,c)}function x(a,b){this.Init(a,b)}function g(a,b,c){this.Init(a,b,c)}function l(){}function e(){this.Init({alta:e.kg})}function b(a){this.Tp=a}function h(a){h.C.constructor.call(this,a)}function c(a){this.Init(a)}var d={Hm:function(){return a.A.fb()}};a.l.D(d,a.l);d.tf=function(a,b,c,d){c=(c-a)*d;a=b-a;return 0==c||0==a?0:c/a};d.Oj=function(a,b,c,d){b=c*(b-a);return 0==b||0==d?a:b/d+a};a.l.D(c,a.RR);c.Rd=function(b,d,e){var g=b.Wi(),h=b.mi(),
l=a.A.ea(g.j()),g=g.Pb(),m=1<e.length;if(!l&&a.KeyboardEvent.Of==d.keyCode||l&&a.KeyboardEvent.ag==d.keyCode){if(!g)return c.Qla(b,e[h],!0);if(m&&1!=h)return c.pla(b,e[1])}else if(!l&&a.KeyboardEvent.ag==d.keyCode||l&&a.KeyboardEvent.Of==d.keyCode){if(!g)return c.Qla(b,e[h],!1);if(m&&0!=h)return c.pla(b,e[0])}else if(a.KeyboardEvent.hg==d.keyCode){if(g)return c.Qla(b,e[h],!0);if(m&&1!=h)return c.pla(b,e[1])}else if(a.KeyboardEvent.Jh==d.keyCode){if(g)return c.Qla(b,e[h],!1);if(m&&0!=h)return c.pla(b,
e[0])}return null};c.Qla=function(b,c,d){b=a.va.Fb(c,b)+(d?1:-1);return 0<=b&&b<c.length?c[b]:null};c.pla=function(a,b){if(0<b.length){for(var c=b[0],d=a.bE,e=Math.abs(d-c.bE),g=1;g<b.length;g++){var h=Math.abs(d-b[g].bE);h<e&&(e=h,c=b[g])}return c}return null};a.l.D(h,a.Hh);h.prototype.og=function(b){h.C.og.call(this,b);!a.A.fb()&&a.A.me()&&(b=this.j().We,b.mb("mouseenter",this.ZPa,!1,this),b.mb("mouseleave",this.$Pa,!1,this))};h.prototype.mJ=function(b){h.C.mJ.call(this,b);!a.A.fb()&&a.A.me()&&
(b=this.j().We,b.Cc("mouseenter",this.ZPa,!1,this),b.Cc("mouseleave",this.$Pa,!1,this))};h.prototype.Wca=function(b){this.Aq&&this.Aq.Em()&&this.Aq.stop();h.C.Wca.call(this,b);a.A.me()||this.Xma||(this.Xma=!0)};h.prototype.ZPa=function(){this.Aq&&this.Aq.Em()&&this.Aq.stop();this.Xma||(this.Xma=!0)};h.prototype.$Pa=function(){this.Aq||(this.Aq=new a.wi(this.j(),10,this.wia,this,1));this.Aq.reset();this.Aq.start()};h.prototype.Vca=function(b){h.C.Vca.call(this,b);a.A.me()||(this.Aq||(this.Aq=new a.wi(this.j(),
10,this.wia,this,1)),this.Aq.reset(),this.Aq.start())};h.prototype.wia=function(){this.Xma=!1};h.prototype.Rj=function(a,b){var c=this.Yf();c&&(this.Jj.em=c.Mc);h.C.Rj.call(this,a,b)};a.ie=function(a,b,c){this.Init(a,b,c)};a.l.D(a.ie,a.he);a.ie.Fca="vertical";a.ie.newInstance=function(b,c,d){return new a.ie(b,c,d)};a.ie.prototype.Init=function(b,d,g){a.ie.C.Init.call(this,b,d,g);this.Wg=new e;this.G=new h(this);this.G.og(this);a.A.fb()?this.VG=null:(this.VG=new c(this.G),this.G.Lt(this.VG))};a.ie.prototype.XF=
function(a){this.Zx=new l;return this.Zx.parse(a)};a.ie.prototype.yx=function(b){var c=this.U.orientation;this.ne=c&&c==a.ie.Fca?!0:!1;this.aw=b.FXb;this.xc=b.VJa;this.Md=b.UJa;this.hy=b.WV;this.ed="single"==this.hy?new a.ed(a.ed.jB):"multiple"==this.hy?new a.ed(a.ed.iB):null;this.G.UC(this.ed);this.iw=b.FJa;this.VK=b.sIa;this.hw=b.I1b;this.uU=b.IJa;this.hw?(this.HNb=b.F1b,this.ts=new a.Xb(this.j(),null,null),this.ts.uhb(this.ne),this.ts.lv(this.hw),this.ts.ahb(this.HNb),this.mU=b.G1b,this.AB=this.ts.AB,
this.ne?(this.ts.sp("short",this.AB),this.ts.Nna(this.Ar.converterVert)):(this.ts.sp("long",this.AB),this.ts.Nna(this.Ar.converter)),this.uU&&this.ts.Qib(this.uU)):this.ts=null;this.eFb=[!1,!0];this.zJb=b.cfb;this.Jp=b.S8;this.dK=b.R8;this.Ng=b.scale;a.ie.C.yx.call(this,b)};a.ie.prototype.bF=function(){return this.Rk};a.ie.prototype.nGa=function(){return this.Rk.Me()};a.ie.prototype.Ds=function(a){return this.aw||1!=a?this.nGa():this.nGa()-this.Rk.hh()};a.ie.prototype.select=function(b){this.U.selection=
a.ec.clone(b);this.ed&&this.L$a()};a.ie.prototype.Kfa=function(a){this.vH={start:a.start,end:a.end,_resources:a._resources,shortDesc:a.shortDesc,_tzo:a._tzo,_ip:a._ip,_cts:this.Jp,_cfs:this.dK,orientation:a.orientation};var b=this.vH._resources;b&&(b.borderTopVisible=!0,b.borderRightVisible=!0,b.borderBottomVisible=!0,b.borderLeftVisible=!0);a.styleDefaults&&a.styleDefaults.minorAxis&&(b=a.styleDefaults.minorAxis,this.vH.backgroundColor=b.backgroundColor,this.vH.borderColor=b.borderColor,this.vH.separatorColor=
b.separatorColor,this.vH.labelStyle=b.labelStyle);a.minorAxis&&(a=a.minorAxis,this.vH.scale=a.scale,this.vH.converter=a.converter,this.vH.zoomOrder=a.zoomOrder,this.vH.style=a.style)};a.ie.prototype.xa=function(b,c,d){b?(this.Pf(b),this.Yr(),this.U&&(this.Ar=this.U._resources,null==this.Ar&&(this.Ar=[])),this.Eb=c,this.Vb=d,b=this.XF(this.U),this.yx(b),this.IB=0,this.Nx=this.ne?d:c,this.U.styleDefaults&&(this.$Jb=this.U.styleDefaults.majorAxis,this.nU=this.U.styleDefaults.series),this.Ng&&(this.Kfa(this.U),
this.wka(),this.Rk||(this.Rk=new a.Xb(this.j(),null,null)),this.ne?this.Rk.YV(!1,!0,!1,!0):this.Rk.YV(!0,!1,!0,!1),this.Rk.MIa(),c=this.Rk.$la(this.vH,this.mg),this.qI(c),this.pna()),this.mLb(),D.a1b(this),this.Xs(),a.Xb.Hm()||this.j().CQ([this]),this.ic||this.Xr()):this.uK(c,d)};a.ie.prototype.KXb=function(){for(var a=0;a<this.xja.length;a++){var b=this.xja[a];if(b.items)for(var c=0;c<b.items.length;c++){var d=b.items[c],e=(new Date(d.start)).getTime();if(!e||d.hasOwnProperty("end")&&(d=(new Date(d.end)).getTime(),
!(d&&d>=e)))return!1}}return!0};a.ie.prototype.Ky=function(){var b=this.Ng&&-1!=a.va.Fb(a.Xb.Zua,this.Ng),c=this.Ng&&this.Jp&&this.Jp[this.Ng],d=this.jc&&this.Rc&&this.Rc>this.jc,e=this.Mc&&0<this.Mc.length,g=e?this.KXb():!1,h=this.hw?-1!=a.va.Fb(a.Xb.Zua,this.hw):!0,l=this.hw?this.Jp&&this.Jp[this.hw]:!0,r=this.xc&&this.Md?this.Md>this.xc:!0,k=this.xc?this.xc>=this.jc&&this.xc<this.Rc:!0,A=this.Md?this.Md>this.jc&&this.Md<=this.Rc:!0;return(b||c)&&(h||l)&&d&&e&&g&&r&&k&&A};a.ie.prototype.nn=function(){return this.iw?
this.iw:a.F.Ca(a.F.Pa,"TIMELINE")};a.ie.prototype.AH=function(){this.Ol=new a.f(r.NWb());if(this.U.styleDefaults){var b=this.U.styleDefaults.borderColor;b&&this.Ol.Sj("border-color:"+b+";")}if(this.aw&&(this.PK=this.ne?r.JVb():r.MFa(),b=this.U.overview.style))for(var b=b.split(";"),c=0;c<b.length;c++){var d=b[c];if(d&&0<d.length){var e=d.indexOf(":");if(-1<e){var g=a.ge.trim(d.substring(0,e));if(this.ne&&"width"==g||!this.ne&&"height"==g){this.PK=parseInt(a.ge.trim(d.substring(e+1)),10);break}}}}a.ie.C.AH.call(this);
b=this.Ol.hh();c=2*b;this.Ol.Sj("border:"+c+"px;");this.b2(b);this.Lib(b);this.JIa(0);d=3*this.d$();this.AF=this.sma();this.OE=this.rla();this.Bn=this.Eb;this.sq=this.Vb;this.ne?(this.sq=this.sq-a.f.Ki(this.OE.getHeight())-d,this.mg=this.sq-c,this.aw?(this.Vh=this.Bn-this.PK-c,this.Sl()&&this.b2(b+this.PK)):(this.JC()&&(this.Bn=this.Bn-a.f.Ki(this.AF.getWidth())-d),this.Vh=this.Bn-c,this.Sl()&&(this.JIa(this.Eb-this.Bn),this.b2(this.hk+this.k5)))):(this.Bn=this.Bn-a.f.Ki(this.OE.getWidth())-d,this.mg=
this.Bn-c,this.Sl()&&(this.JIa(this.Eb-this.Bn),this.b2(this.hk+this.k5)),this.aw?this.Vh=this.sq-this.PK-c:(this.JC()&&(this.sq=this.sq-a.f.Ki(this.AF.getHeight())-d),this.Vh=this.sq-c))};a.ie.prototype.wka=function(){if(this.nU&&this.nU.backgroundColor){var b=this.nU.backgroundColor;a.R.Bh(b);a.R.yh(b);a.R.xh(b)}};a.ie.prototype.mLb=function(){var a=this.U.series;if(a){var b=Math.min(a.length,2);this.xja=[];if(this.Mc){if(b!=this.Mc.length){for(var c=0;c<this.Mc.length;c++)this.Sn.removeChild(this.Mc[c]);
this.Mc=[]}}else this.Mc=[];for(c=0;c<b;c++){var d=a[c];d.start=this.jc;d.end=this.Rc;d.inverted=this.eFb[c];d.orientation=this.U.orientation;d.referenceObjects=this.VK;d.timeline=this;d.index=c;d.animationOnDisplay=this.U.animationOnDisplay;d.animationOnDataChange=this.U.animationOnDataChange;this.U.majorAxis&&(d.scale=this.U.majorAxis.scale,d.timeAxis=this.ts,d._cfs=this.mU);if(d.styleDefaults=this.U.styleDefaults)d.seriesStyleDefaults=this.nU,d.axisStyleDefaults=this.$Jb;d._isRandomItemLayout=
"random"==this.zJb;d._cts=this.U._cts;this.xja.push(d);null==this.Mc[c]&&(d=new g(this.j(),this.mR,this),this.Mc.push(d))}}else this.Mc=[]};a.ie.prototype.c_b=function(){this.jn||this.Xr();this.G.og(this);this.ic=null;this.jn=!1};a.ie.prototype.EHb=function(){var a={};a.start=this.jc;a.end=this.Rc;a.renstart=this.xc;a.width=this.Ae;a.selmode=this.hy;a.rtl=this.Sl();a.sid="ts1";var b=r.KVb(this.U);a._wbc=b;a._hfc=b;b=r.LVb(this.U);a._wbtc=b;a._wbrc=b;a._wbbc=b;a._wblc=b;a._ls=r.IVb(this.U).toString();
a._obc=r.LFa(this.U);a._ctic=r.Edb(this.U);this.VK&&0<this.VK.length&&this.VK[0]&&(a.ocd=this.VK[0].getTime());if(this.ne){if(a.orn="vertical",b=this.Ar.overviewHandleVert)a._hbi=b,a._hw=15,a._hh=3}else{a.orn="horizontal";if(b=this.Ar.overviewHandleHor)a._hbi=b,a._hw=3,a._hh=15;a._ds="square";a._dsx="1.3d";a._dsy="0.9d"}a.axisTicks=this.CHb();a.markers=this.DHb();return a};a.ie.prototype.CHb=function(){var b=[];if(this.ts){var c,d;if(this.Jp&&this.Jp[this.hw])d=this.Jp[this.hw],c=d.times,d=d.labels;
else if(this.mU&&this.mU[this.hw])d=this.mU[this.hw],c=d.times,d=d.labels;else{c=[];d=[];for(var e=this.jc,g=this.Rc,h=this.ne?this.Vb:this.Eb,l=a.Xb.Oj(e,g,this.IB,h),l=this.ts.T_(l),r=a.Xb.tf(e,g,l,h);r<this.Nx;)d.push(this.ts.LU(l)),c.push(l.getTime()),l=this.ts.F0(l.getTime()),r=a.Xb.tf(e,g,l,h)}for(e=0;e<d.length;e++)g={},g.time=c[e],g.label=d[e],b.push(g)}return b};a.ie.prototype.DHb=function(){if(this.Mc){for(var a=[],b=this.Mc.length,c=0;c<b;c++)for(var d=this.Mc[c].qc,e=0;e<d.length;e++){var g=
d[e],h={};h.rk=e;h.tid=g.getId();h.t=g.Fi();h._sd=g.fKb;this.ne||(g.hV()&&(h.s=g.hV()),g.w5a&&(h.sx=g.w5a),g.x5a&&(h.sy=g.x5a));g.y5a&&(h.d=g.y5a);g.s5a&&(h.c=g.s5a);g.t5a&&(h.g=g.t5a);g.v5a&&(h.o=g.v5a);var l=g.Ak();l&&(h.et=l,(g=g.mK)&&(h.dfc=g));a.push(h)}return a}};a.ie.prototype.jA=function(){return a.kb.tfb(this.xc,this.Md,this.Rk.Ng)};a.ie.prototype.l3=function(a){1==a.touches.length&&(this.em=this.d6(a.target))};a.ie.prototype.j3=function(b){a.ie.C.j3.call(this,b);if(this.Ky()&&b.woa){var c=
this.j().Sg(b.pageX,b.pageY);this.yla().Ui(c.x,c.y)&&this.eQ(this.Ae*b.woa,b.Bjb,b.zjb,!0)}};a.ie.prototype.eQ=function(b,c,d,e){b>this.Rk.Q6?(b=this.Rk.Q6,this.a0(!0)):this.Uka(!0);this.mg>b?(b=this.mg,this.a0(!1)):this.Uka(!1);var g=this.Ae<=b;a.ie.C.eQ.call(this,b,c,d,e);b=this.Rk.M_;if(g)for(;0<this.Rk.Gq;)if(g=b[this.Rk.Gq-1],this.Ae>=g)this.Rk.lW(this.Rk.Gq-1),this.Rk.bEa();else break;else for(;this.Rk.Gq<b.length-1;)if(g=b[this.Rk.Gq],this.Ae<g)this.Rk.lW(this.Rk.Gq+1),this.Rk.$Ga();else break;
this.aw&&this.Ce.Ji(this.xc,this.Md,this.ne?this.Ce.Vb:this.Ce.Eb);this.JC()&&this.Uq.Ji(this.xc,this.Md);this.wka();D.XK(this,this.Sn);this.RJa();for(g=0;g<this.Mc.length;g++)this.ik[g].Ji(0,this.Og,0,Math.max(this.Mc[g].vk,this.Og));e&&this.dispatchEvent(this.jA())};a.ie.prototype.RJa=function(){if(this.Mc){var b=this.Mc.length,c=this.Ds(b);this.Og=(this.Vh-c)/b;for(var d=0;d<b;d++){var e=this.Mc[d];e.we(null);var g=new a.Jd;if(this.ne){var h=this.Sl()?Math.abs(d-1):d;this.Sl()&&1==this.Mc.length?
(g.Re(c,0,this.Og,this.Ae),h=new a.dc(1,0,0,1,c,0)):(g.Re(h*(this.Og+c),0,this.Og,this.Ae),h=new a.dc(1,0,0,1,h*(this.Og+c),0));var l=this.Og,r=this.Ae}else g.Re(0,d*(this.Og+c),this.Ae,this.Og),h=new a.dc(1,0,0,1,0,d*(this.Og+c)),l=this.Ae,r=this.Og;e.we(g);e.Db(h);e.xa(null,l,r)}}};a.ie.prototype.uK=function(a,b){this.Eb=a;this.Vb=b;this.AH();this.IB=0;this.Nx=this.ne?b:a;this.pna();D.tt(this);if(this.Ky()){this.zna(this.dj);this.wka();this.RJa();D.XK(this,this.Sn);D.g8a(this);D.Y7(this);if(this.aw&&
(D.b8a(this),this.ed)){var c=this.ed.FL();if(c&&0!=c.length)for(var d=0;d<c.length;d++)this.Ce.tgb(c[d])}D.hU(this)}else D.oE(this)};a.ie.prototype.fX=function(b){a.KeyboardEvent.Of!=b.keyCode&&a.KeyboardEvent.ag!=b.keyCode&&a.KeyboardEvent.hg!=b.keyCode&&a.KeyboardEvent.Jh!=b.keyCode||this.rjb(this.G.Yf())};a.ie.prototype.YI=function(a){this.em=this.d6(a.target)};a.ie.prototype.rL=function(){this.em=null;this.Xka()};a.ie.prototype.Xka=function(){this.iL&&(this.iL=!1,this.dispatchEvent(this.jA()))};
a.ie.prototype.Rj=function(a,b){var c=this.Mc.length,d=this.Ds(c);if(this.ne){if(this.em){var e=this.em.Ba()-a;if(1<this.Mc.length&&(!this.Sl()&&this.em.Lp||this.Sl()&&!this.em.Lp))var g=d+2*this.em.Eb-this.em.vk,d=this.em.Eb+d;else this.Sl()&&!this.em.Lp?g=this.em.Eb-this.em.vk+d:(g=0,d=this.em.vk-this.em.Eb);e<g?e=g:e>d&&(e=d);this.em.la(e);this.Mc[0]==this.em?this.Sl()?(d=2==c?this.Ds()+this.Og-e:this.Ds()-e,this.ik[0].Ji(d,d+this.Og)):this.ik[0].Ji(e,e+this.Og):this.Sl()?this.ik[1].Ji(e,e+this.Og):
(d=this.Ds()+this.Og-e,this.ik[1].Ji(d,d+this.Og))}this.UHa(b);this.aw&&(c=this.Ce.Vb,this.Ce.Ji(this.xc,this.Md,c));this.JC()&&this.Uq.Ji(this.xc,this.Md)}else this.UHa(a),this.aw&&(c=this.Ce.Eb,this.Ce.Ji(this.xc,this.Md,c)),this.JC()&&this.Uq.Ji(this.xc,this.Md),this.em&&(c=this.em.za()-b,this.em.Lp?(e=d+2*this.em.Vb-this.em.vk,d=this.em.Vb+d):(e=0,d=this.em.vk-this.em.Vb),c<e?c=e:c>d&&(c=d),this.em.ya(c),this.Mc[0]==this.em?this.ik[0].Ji(c,c+this.Og):(d=this.Ds()+this.Og-c,this.ik[1].Ji(d,d+this.Og)))};
a.ie.prototype.mR=function(b,c){var d=b.type,d=b.type;if(d==a.Lv.$c)this.p1(b,c);else if("selection"==d||"action"==d)a.eD.dispatchEvent(this.Pc,this.rb,this,b);else if("overview"==d){d=b.aq();if("rangeChanging"==d||"rangeChange"==d){var e=this.Md-this.xc;this.xc=b.BFa();this.Md=b.AFa();var g=this.Md-this.xc;if(0<g){var h=this.mg/g;this.qI(h*(this.Rc-this.jc));this.TC(h*(this.jc-this.xc));h=this.Rk.M_;if(e>g){e=h.length;for(g=h[e-1];this.Ae>=g&&0<e;)e--,g=h[e-1];e==h.length&&e--}else for(e=0,g=h[e];this.Ae<
g&&e<h.length-1;)e++,g=h[e];this.Rk.lW(e);this.Rk.lv(this.Rk.nL[e]);this.wka();D.XK(this,this.Sn);this.RJa();this.U_()}"rangeChange"==d&&this.dispatchEvent(this.jA())}if("scrollPos"==d||"scrollTime"==d)this.xc=b.BFa(),this.Md=b.AFa(),h=this.Ae/(this.Rc-this.jc),this.TC(h*(this.jc-this.xc)),this.U_(),this.dispatchEvent(this.jA())}else if(d=b.aq(),"selection"==d)for(var l=b.bV(),r=b.IYb()&&"multiple"==this.hy,d=0;d<this.Mc.length;d++)for(h=this.Mc[d],e=0;e<h.qc.length;e++){if(g=h.qc[e],g.getId()==l){this.ed.M4(g,
r);this.G.Pw(g);this.$4b(g);break}}else if("highlight"==d)for(l=b.bV(),d=0;d<this.Mc.length;d++)for(h=this.Mc[d],e=0;e<h.qc.length;e++){if(g=h.qc[e],g.getId()==l){g.Dd(!0);break}}else if("unhighlight"==d)for(l=b.bV(),d=0;d<this.Mc.length;d++)for(h=this.Mc[d],e=0;e<h.qc.length;e++)if(g=h.qc[e],g.getId()==l){g.Vc(!0);break}};a.ie.prototype.p1=function(b,c){a.ie.C.p1.call(this,b,c);if(c==this.ik[0]){var d=b.ET;this.Pb()?2==this.Mc.length?this.Mc[0].la(this.Sl()?this.Ds()+this.Og-d:d):this.Mc[0].la(this.Sl()?
this.Ds()-d:d):this.Mc[0].ya(d)}else c==this.ik[1]&&(d=b.ET,this.Pb()?this.Mc[1].la(this.Sl()?d:this.Ds()+this.Og-d):this.Mc[1].ya(this.Ds()+this.Og-d))};a.ie.prototype.$4b=function(a){var b=this.Md-this.xc;this.xc=a.Fi()-b/2;this.xc<this.jc?this.xc=this.jc:this.xc+b>this.Rc&&(this.xc=this.Rc-b);this.Md=this.xc+b;this.TC(this.Ae/(this.Rc-this.jc)*(this.jc-this.xc));this.U_();this.dispatchEvent(this.jA())};a.ie.prototype.rjb=function(a){var b=this.ne?a.getHeight():a.getWidth(),c=r.vcb(),d=a.bE-(this.ne?
b/2+c:r.f9()+c);a=this.Fdb();this.Sl()&&!this.ne&&(d-=c);b=d+b+2*c;c=a-this.mg;-d>a?a=-d:-b<c&&(a=-b+this.mg);d=this.Ae/(this.Rc-this.jc);b=this.Md-this.xc;this.xc=this.jc-a/d;this.xc<this.jc&&(this.xc=this.jc,a=(this.jc-this.xc)*d);this.Md=this.xc+b;this.Md>this.Rc&&(this.Md=this.Rc,this.xc=this.Md-b,a=(this.jc-this.xc)*d);this.TC(a);this.U_();this.aw&&this.Ce.Ji(this.xc,this.Md,this.ne?this.Ce.Vb:this.Ce.Eb);this.JC()&&this.Uq.Ji(this.xc,this.Md);this.dispatchEvent(this.jA())};a.ie.prototype.PGa=
function(a){if(a&&(a=this.YY(a.target))){var b=this.d6(a);a.Qd&&(b=this.d6(a),b.Tpb(a.Qd))}};a.ie.prototype.L$a=function(){if(this.U.selection)for(var a=[],b=0;b<this.Mc.length;b++)for(var c=this.Mc[b],d=0;d<c.qc.length;d++)a.push(c.qc[d]);this.ed.gv(this.U.selection,a)};a.ie.prototype.d6=function(a){if(this.Ky()&&a&&a!=this){var b=a.getId();return a==this.Mc[0]||1<this.Mc.length&&a==this.Mc[1]?a:b&&"_s0"==b.substring(b.length-3,b.length)?this.Mc[0]:b&&"_s1"==b.substring(b.length-3,b.length)?this.Mc[1]:
this.d6(a.getParent())}return null};a.ie.prototype.YY=function(a){if(a){var b=a.getId();if(b&&"_duration_"==b.substring(0,10)&&a.Qd)return a;var c=a.getParent();if(c){if(b&&"zoom"==b.substring(0,4))return a;if(b&&"_bubble_"==b.substring(0,8)&&c.Qd)return c;if(a=c.getParent()){if(b&&"_bubble_"==b.substring(0,8)&&a.Qd)return a;if((b=a.getId())&&"_bubble_"==b.substring(0,8)&&a.getParent())return a.getParent()}}}return null};a.ie.prototype.Di=function(){this.de||(this.de=new b(this));return this.de};
a.ie.prototype.UQb=function(){this.dj&&this.dj.Tl();this.gab()};a.ie.prototype.gab=function(){this.kE&&(this.removeChild(this.kE),this.kE=null)};a.ie.prototype.JC=function(){return!this.aw};a.ie.prototype.JIa=function(a){this.k5=a};a.l.D(b,a.de);b.qSa="timelineItem";b.prototype.To=function(c){if((c=this.Tp.G.tb(c))&&c instanceof y)for(var d=0;d<this.Tp.Mc.length;d++){var e=a.va.Fb(this.Tp.Mc[d].qc,c);if(-1!=e)return b.qSa+"["+d+"]["+e+"]"}return null};b.prototype.ji=function(a){if(a){var c=a.indexOf("[");
if(0<c&&a.substring(0,c)===b.qSa){var d=a.indexOf("]");if(0<d){var e=parseInt(a.substring(d+2,a.length-1));if(a=this.Tp.Mc[parseInt(a.substring(c+1,d))])if(e=a.qc[e])return e.qf()[0].Xa()}}}return null};a.l.D(e,a.lb);e.kg={animationOnDataChange:"none",animationOnDisplay:"none",orientation:"horizontal",overview:{rendered:"off"},selectionMode:"none",styleDefaults:{animationDuration:500,borderColor:"#d9dfe3",item:{backgroundColor:"#ffffff",borderColor:"#648baf",descriptionStyle:new a.f("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 12px; color: #084B8A; white-space: nowrap;"),
hoverBorderColor:"#85bbe7",selectedBorderColor:"#000000",titleStyle:new a.f("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: bold; color: #000000; white-space: nowrap;")},majorAxis:{labelStyle:new a.f("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; color: #4f4f4f; background-color: rgba(249,249,249,0.8); white-space: nowrap;"),separatorColor:"#bcc7d2"},minorAxis:{backgroundColor:"#f9f9f9",borderColor:"#d9dfe3",
labelStyle:new a.f("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 12px; color: #333333;"),separatorColor:"#bcc7d2"},overview:{backgroundColor:"#e6ecf3",labelStyle:new a.f("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: bold; color: #4f4f4f;"),window:{backgroundColor:"#ffffff",borderColor:"#4f4f4f"}},referenceObject:{color:"#ff591f"},series:{backgroundColor:"#f9f9f9",colors:a.f.Voa,emptyTextStyle:new a.f("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; color: #333333; white-space: nowrap;"),
labelStyle:new a.f("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px; font-weight: bold; color: #252525; background-color: rgba(249,249,249,0.8); white-space: nowrap;")}}};a.l.D(l,a.l);l.prototype.parse=function(a){var b={};b.start=(new Date(a.start)).getTime();b.end=(new Date(a.end)).getTime();a.viewportStart&&(b.VJa=(new Date(a.viewportStart)).getTime());a.viewportEnd&&(b.UJa=(new Date(a.viewportEnd)).getTime());b.WV=a.selectionMode?a.selectionMode:"none";b.$0=a.style;
var c=a.minorAxis;c&&(b.scale=c.scale,b.R8=c._cfs);if(c=a.majorAxis)b.I1b=c.scale,b.F1b=c.converter,b.G1b=c._cfs;b.FJa=a.shortDesc;b.orientation=a.orientation;if((c=a.referenceObjects)&&0<c.length){for(var d=[],e=0;e<c.length;e++)d.push(new Date(c[e].value));b.sIa=d}c=a.overview;b.FXb=null!=c&&"on"==c.rendered?!0:!1;b.IJa=a._tzo;b.cfb=a._ip;b.S8=a._cts;return b};var D={};a.l.D(D,a.l);D.a1b=function(b){D.tt(b);D.V7(b);if(b.Ky()){b.zna(b.dj);var c=b.Sn;D.jNb(b,c);D.g8a(b);D.XK(b,c);b.aw?D.b8a(b):b.gab();
if(b.VG)for(c=0;c<b.Mc.length;c++){var d=b.Mc[c];if(d.qc&&0<d.qc.length){b.G.Pw(d.qc[0]);break}}D.hU(b);D.Y7(b);b.ed&&b.L$a();a.Xb.Hm()&&b.d8("flowto",b.Mc[0].getId());for(c=0;c<b.Mc.length;c++)d=b.Mc[c],d.LJa()}else D.oE(b)};D.tt=function(b){b.Jb?(b.Jb.we(null),b.Jb.hb(b.Bn),b.Jb.zb(b.sq)):b.Jb=new a.Rect(b.j(),0,0,b.Bn,b.sq,"bg");var c=b.k5;b.Jb.la(c);b.Jb.Nb(b.Ol);b.Jb.rd();var d=new a.Jd;d.Re(c,0,b.Bn,b.sq);b.Jb.we(d);b.Jb.getParent()!=b&&b.u(b.Jb)};D.V7=function(b){b.dj||(b.dj=new a.ra(b.j(),
"canvas"),b.u(b.dj))};D.jNb=function(b,c){var d=b.bF();if(b.Mc){var e=a.A.ea(b.j()),g=b.Mc.length,h=b.Ds(g);!b.Pb()&&1<g&&b.Vh%2!=h%2&&(d.QIa(d.Fx+1),h=b.Ds(g));b.Og=(b.Vh-h)/g;for(d=0;d<g;d++){var l=b.Mc[d];l.we(null);var r=new a.Jd;if(b.Pb()){var k=e?Math.abs(d-1):d;e&&1==b.Mc.length?(r.Re(h,0,b.Og,b.Ae),k=new a.dc(1,0,0,1,h,0)):(r.Re(k*(b.Og+h),0,b.Og,b.Ae),k=new a.dc(1,0,0,1,k*(b.Og+h),0));var A=b.Og,t=b.Ae}else r.Re(0,d*(b.Og+h),b.Ae,b.Og),k=new a.dc(1,0,0,1,0,d*(b.Og+h)),A=b.Ae,t=b.Og;l.we(r);
l.Db(k);l.getParent()!=c&&c.u(l);l.xa(b.xja[d],A,t)}}};D.g8a=function(b){if(b.Mc){var c=b.j(),d=a.A.ea(c);if(b.l_)for(var e=0;e<b.l_.length;e++)b.removeChild(b.l_[e]);b.l_=[];for(var g=b.Mc.length,h=r.pWb(),l=2*a.El.gea+6,t=2*h,e=0;e<g;e++){var k=b.Mc[e],A=k.Ee();if(null!=A){var x=r.qWb(b.U),A=new a.ha(c,A,0,0,"sl_s"+e);A.Nb(x);b.u(A);var y=A.da();b.removeChild(A);var D=b.Pb()?b.Og:b.mg,D=Math.min(y.a,D-(e-1)*-l-t),C=r.oWb(),F=new a.Rect(c,0,0,D+2*C,y.b+2*C,"slb_s"+e);F.Nb(x);F.$V(3);if(b.Pb())x=
d?Math.abs(e-1)*(b.Vh-D-t)+h+b.hk+(e-1)*l:e*(b.Vh-D-t)+h+b.hk+(e-1)*-l,P=b.Rn+h;else var x=d?b.mg-D-h-(e-1)*-l:b.hk+h+(e-1)*-l,P=e*(b.Vh-y.b-t)+h+b.Rn;y=new a.dc(1,0,0,1,x,P);A.Db(y);y=new a.dc(1,0,0,1,x-C,P-C);F.Db(y);b.u(F);a.Ja.wd(A,D,Infinity,b);b.l_.push(F);b.l_.push(A)}k.cJb&&(k=k.yo,null!=k&&(k=new a.ha(c,k,0,0,"et_s"+e),k.Nb(r.jcb(b.U)),b.u(k),y=k.da(),b.removeChild(k),y=new a.dc(1,0,0,1,(b.mg-y.a)/2+b.hk,e*(b.Og+b.Ds(g))+(b.Og-y.b)/2+b.Rn),k.Db(y),b.u(k),b.l_.push(k)))}}};D.XK=function(b,
c){var d=a.A.ea(b.j()),e=b.bF(),g=b.Mc.length,h=b.nGa(),l=b.Ds(g),g=1==g?b.Vh-l:b.Vh/g-l/2;d&&b.Pb()&&1==b.Mc.length&&(g=0);e.getParent()!==c&&c.u(e);b.Pb()?(d=new a.dc(1,0,0,1,g,0),e.xa(null,h,b.Ae)):(d=new a.dc(1,0,0,1,0,g),e.xa(null,b.Ae,h));e.Db(d);D.QBa(b,b.IB,b.Nx,b.Sn,b.Ae)};D.QBa=function(b,c,d,e,g){var h=b.j(),l=a.A.ea(h);if(b.vT)for(var t=0;t<b.vT.length;t++)e.removeChild(b.vT[t]);b.vT=[];if(b.hw){var k,A,x=b.jc,y=b.Rc;if(b.Jp&&b.Jp[b.hw])A=b.Jp[b.hw],k=A.times,A=A.labels;else if(b.mU&&
b.mU[b.hw])A=b.mU[b.hw],k=A.times,A=A.labels;else for(k=[],A=[],t=a.Xb.Oj(x,y,c,g),t=b.ts.T_(t),c=a.Xb.tf(x,y,t,g),k.push(t.getTime());c<d;)A.push(b.ts.LU(t)),t=b.ts.F0(t.getTime()),c=a.Xb.tf(x,y,t,g),k.push(t.getTime());for(t=0;t<A.length;t++){d=A[t];c=a.Xb.tf(x,y,k[t],g);var C=a.Xb.tf(x,y,k[t+1],g)-c;(l?b.Pb()?D.Mea(h,e,b.Vh-5,d,C,c+18,r.ima(b.U),"o_label"+c+"_s0",r.hma(),b.vT,l):D.Mea(h,e,g-(c+5),d,C,b.Og-2,r.ima(b.U),"o_label"+c+"_s0",r.hma(),b.vT,l):b.Pb()?D.Mea(h,e,5,d,C,c+18,r.ima(b.U),"o_label"+
c+"_s0",r.hma(),b.vT,l):D.Mea(h,e,c+5,d,C,b.Og-2,r.ima(b.U),"o_label"+c+"_s0",r.hma(),b.vT,l)).time=k[t]}}};D.b8a=function(b){var c=b.j(),d=a.A.ea(c);if(null==b.kE){var e=!0;b.kE=new a.ra(c,"oCanvas")}else b.kE.Tl(),b.kE.we(null);var g=b.Ol.hh(),h=g/2,l,r;b.Pb()?(l=b.PK,g=b.sq-g,r=h,d=d?h:b.Bn-b.PK-h):(l=b.Bn-g,g=b.PK,r=b.sq-b.PK-h,d=h+b.k5);b.kE.la(d);b.kE.ya(r);h=new a.Jd;h.Re(d,r,l,g);b.kE.we(h);e&&b.u(b.kE);b.Ce=new a.Sb(c,b.mR,b);b.kE.u(b.Ce);c=b.EHb();b.Ce.xa(c,l,g)};D.hU=function(b){var c=
b.j(),d=b.d$();null==b.wE?(b.wE=new a.ra(c,"sbCanvas"),b.u(b.wE)):b.wE.Tl();if(b.JC()){if(b.Pb())var e=a.A.ea(b.j())?2*d+1:b.Eb-1.5*d,g=b.mg;else e=b.mg,g=b.Vb-1.5*d;var h=D.sBa(b,b.wE,new a.ca(0,0,e,g))}b.Pb()?(e=b.Og,g=b.Vb-1.5*d):(e=a.A.ea(b.j())?2*d+1:b.Eb-1.5*d,g=b.Og);for(var d=b.Mc.length,l=[],r=0;r<d;r++)l[r]=D.rBa(b,b.wE,new a.ca(0,0,e,g),r);b.Uq&&(e={},e.color=b.AF.O(a.f.fc),e.backgroundColor=b.AF.O(a.f.Ub),e.min=b.jc,e.max=b.Rc,b.Pb()?(e.isReversed=!1,e.isHorizontal=!1,b.Uq.ya(b.Rn)):(e.isReversed=
a.A.ea(c),e.isHorizontal=!0,b.Uq.la(b.hk)),b.Uq.xa(e,h.a,h.b),b.Uq.Ji(b.xc,b.Md));if(b.ik)for(r=0;r<d;r++)e={},e.color=b.OE.O(a.f.fc),e.backgroundColor=b.OE.O(a.f.Ub),e.isHorizontal=b.Pb(),0==r?(e.min=0,e.max=Math.max(b.Mc[r].vk,l[r].b),b.Pb()?a.A.ea(c)?(e.isReversed=!1,2==d?b.ik[r].la(b.hk+b.Og+b.Ds(d)):b.ik[r].la(b.hk+b.Ds(d))):(e.isReversed=!0,b.ik[r].la(b.hk)):(e.isReversed=!0,b.ik[r].ya(b.Rn))):(e.min=0,e.max=Math.max(b.Mc[r].vk,l[r].b),b.Pb()?a.A.ea(c)?(e.isReversed=!0,b.ik[r].la(b.hk)):(e.isReversed=
!1,b.ik[r].la(b.hk+b.Og+b.Ds(d))):(e.isReversed=!1,b.ik[r].ya(b.Rn+b.Og+b.Ds(d)))),b.ik[r].xa(e,l[r].a,l[r].b),b.ik[r].Ji(0,b.Og)};D.sBa=function(b,c,d){b.Pib(new a.mq(b.j(),b.mR,b));c.u(b.Uq);if(b.Pb()){c="right";var e=a.f.Ki(b.AF.getWidth()),g=d.b}else c="bottom",e=d.a,g=a.f.Ki(b.AF.getHeight());a.un.position(d,c,b.Uq,e,g,0);return new a.Xj(e,g)};D.rBa=function(b,c,d,e){b.Xgb(new a.mq(b.j(),b.mR,b),e);c.u(b.ik[e]);if(b.Pb()){c="bottom";var g=d.a,h=a.f.Ki(b.OE.getHeight())}else c="right",g=a.f.Ki(b.OE.getWidth()),
h=d.b;a.un.position(d,c,b.ik[e],g,h,0);return new a.Xj(g,h)};D.Y7=function(b){var c=b.Ar,d=a.A.ea(b.j()),c={zoomInProps:{imageSize:16,cssUrl:c.zoomIn,cssUrlHover:c.zoomIn_h,cssUrlActive:c.zoomIn_a,cssUrlDisabled:c.zoomIn_d,enabledBackgroundColor:r.zGa(c),enabledBorderColor:r.AGa(c),hoverBackgroundColor:r.DGa(c),hoverBorderColor:r.EGa(c),activeBackgroundColor:r.xGa(c),activeBorderColor:r.yGa(c),disabledBackgroundColor:r.BGa(c),disabledBorderColor:r.CGa(c)},zoomOutProps:{imageSize:16,cssUrl:c.zoomOut,
cssUrlHover:c.zoomOut_h,cssUrlActive:c.zoomOut_a,cssUrlDisabled:c.zoomOut_d,enabledBackgroundColor:r.HGa(c),enabledBorderColor:r.IGa(c),hoverBackgroundColor:r.LGa(c),hoverBorderColor:r.MGa(c),activeBackgroundColor:r.FGa(c),activeBorderColor:r.GGa(c),disabledBackgroundColor:r.JGa(c),disabledBorderColor:r.KGa(c)}},e=b.hk+r.UX;d&&(e=b.ne&&b.aw?e-b.PK:e-b.k5,e=b.Bn-e-r.YR);c.zoomInProps.posX=e;c.zoomOutProps.posX=e;d=b.Rn+r.UX;c.zoomInProps.posY=d;c.zoomOutProps.posY=d+r.YR+r.hea;b.pgb(c)};D.oE=function(b){var c=
b.U.series?a.F.Ca(a.F.Pa,"INVALID_DATA",null):a.F.Ca(a.F.Pa,"NO_DATA",null);b.UQb();a.Ja.fq(b.dj,c,new a.ca(0,0,b.Bn,b.sq),b.G,r.jcb(b.U))};D.Mea=function(b,c,d,e,g,h,l,r,k,A,t){e=new a.ha(b,e,d,0,r);null!=l&&e.Nb(l);c.u(e);var x=e.da();c.removeChild(e);h-=x.b;e.ob(h);t&&e.Ha(d-x.a);var y=Math.min(x.a+2*k,g);b=new a.Rect(b,(t?d-y+2*k:d)-k,h-k,y,x.b+2*k,"ob_"+r);b.Nb(l);b.$V(3);c.u(b);A&&A.push(b);a.Ja.wd(e,g,Infinity,c);A&&A.push(e);return e};var r={};a.l.D(r,a.l);r.fyb="border:1px #d9dfe3;background-color:#f9f9f9;";
r.u7b="background-color:#f9f9f9;border:1px #d9dfe3;";r.Bxb="color:#bcc7d2;";r.$xb="background-color:#f9f9f9;";r.Zxb=20;r.Yxb=2;r.Xxb="color:#bcc7d2";r.Wxb=1;r.Vxb=60;r.Uxb=100;r.Oxb=1;r.Pxb=2;r.Sxb=2;r.Qxb="rgba(249,249,249,0)";r.Mxb="#e4f0fa";r.Nxb="rgba(249,249,249,0)";r.Rxb=2;r.Cxb=20;r.Dxb=15;r.Hxb=10;r.eyb=32;r.dyb=32;r.$s="#ffffff";r.at="#d6d7d8";r.YR=31;r.UX=10.5;r.hea=9;r.ucb=function(b){var c=b.Mc.B().styleDefaults.item.descriptionStyle;if(b=b.O())b=new a.f(b),c.Sj(b);return c};r.Bcb=function(b){var c=
b.Mc.B().styleDefaults.item.titleStyle;if(b=b.O())b=new a.f(b),c.Sj(b);return c};r.Edb=function(a){return a.styleDefaults.referenceObject.color};r.qWb=function(a){return a.styleDefaults.series.labelStyle};r.oWb=function(){return r.Yxb};r.pWb=function(){return r.Zxb};r.jcb=function(a){return a.styleDefaults.series.emptyTextStyle};r.f9=function(){return r.Cxb};r.lA=function(){return r.Dxb};r.pFa=function(b){var c=b.O();return c&&(c=(new a.f(c)).O(a.f.Ub))?c:b.Mc.B().styleDefaults.item.backgroundColor};
r.C9=function(b){var c=b.O();return c&&(c=(new a.f(c)).O(a.f.wb))?c:b.Mc.B().styleDefaults.item.borderColor};r.qFa=function(){return r.Oxb};r.SUb=function(a){var b=a.Mc.B().styleDefaults.item.hoverBackgroundColor;return b?b:r.pFa(a)};r.TUb=function(a){var b=a.Mc.B().styleDefaults.item.hoverBorderColor;return b?b:r.C9(a)};r.vcb=function(){return r.Pxb};r.ycb=function(a){var b=a.Mc.B().styleDefaults.item.selectedBackgroundColor;return b?b:r.pFa(a)};r.zcb=function(a){var b=a.Mc.B().styleDefaults.item.selectedBorderColor;
return b?b:r.C9(a)};r.Acb=function(){return r.Sxb};r.rWb=function(){return r.$xb};r.xTb=function(a){return a.styleDefaults.series.colors};r.icb=function(){return r.Hxb};r.mGa=function(){return r.eyb};r.Udb=function(){return r.dyb};r.nWb=function(){return r.Xxb};r.wcb=function(){return r.Mxb};r.UUb=function(){return r.Qxb};r.xcb=function(){return r.Nxb};r.VUb=function(){return r.Rxb};r.NWb=function(){return r.fyb};r.JVb=function(){return r.Vxb};r.MFa=function(){return r.Uxb};r.KVb=function(a){return a.styleDefaults.overview.window.backgroundColor};
r.LVb=function(a){return a.styleDefaults.overview.window.borderColor};r.LFa=function(a){return a.styleDefaults.overview.backgroundColor};r.IVb=function(a){return a.styleDefaults.overview.labelStyle};r.ima=function(a){return a.styleDefaults.majorAxis.labelStyle};r.vbb=function(){return r.Bxb};r.hma=function(){return r.Wxb};r.xb=function(b){return a.ab.Et(b.styleDefaults.animationDuration)/1E3};r.zGa=function(a){return a.zoomIn_bgc?a.zoomIn_bgc:r.$s};r.xGa=function(a){return a.zoomIn_a_bgc?a.zoomIn_a_bgc:
r.$s};r.DGa=function(a){return a.zoomIn_h_bgc?a.zoomIn_h_bgc:r.$s};r.BGa=function(a){return a.zoomIn_d_bgc?a.zoomIn_d_bgc:r.$s};r.AGa=function(a){return a.zoomIn_bc?a.zoomIn_bc:r.at};r.yGa=function(a){return a.zoomIn_a_bc?a.zoomIn_a_bc:r.at};r.EGa=function(a){return a.zoomIn_h_bc?a.zoomIn_h_bc:r.at};r.CGa=function(a){return a.zoomIn_d_bc?a.zoomIn_d_bc:r.at};r.HGa=function(a){return a.zoomOut_bgc?a.zoomOut_bgc:r.$s};r.FGa=function(a){return a.zoomOut_a_bgc?a.zoomOut_a_bgc:r.$s};r.LGa=function(a){return a.zoomOut_h_bgc?
a.zoomOut_h_bgc:r.$s};r.JGa=function(a){return a.zoomOut_d_bgc?a.zoomOut_d_bgc:r.$s};r.IGa=function(a){return a.zoomOut_bc?a.zoomOut_bc:r.at};r.GGa=function(a){return a.zoomOut_a_bc?a.zoomOut_a_bc:r.at};r.MGa=function(a){return a.zoomOut_h_bc?a.zoomOut_h_bc:r.at};r.KGa=function(a){return a.zoomOut_d_bc?a.zoomOut_d_bc:r.at};a.l.D(g,a.kf);g.prototype.Init=function(a,b,c){g.C.Init.call(this,a);this.Pc=b;this.rb=c;this.sS=[];this.eP=[];this.zja=[]};g.prototype.LJa=function(){var b=this.j();this.gP&&0!=
this.gP.length?(this.rb.G.rp(this.rb),b=new a.Th(b,new a.Uj(b,this.gP,r.xb(this.U))),a.pb.Tb(b,this.VAa,this),this.rb.ic=b,b.play()):this.gE&&this.Zya?(this.rb.G.rp(this.rb),a.pb.Tb(this.gE,this.UAa,this),this.rb.ic=this.gE,this.gE.play()):this.pK&&0!=this.pK.length&&(this.rb.G.rp(this.rb),b=new a.Th(b,new a.Qh(b,this.pK,r.xb(this.U),0)),a.pb.Tb(b,this.Xx,this),this.rb.ic=b,b.play())};g.prototype.VAa=function(){for(var b=0;b<this.gP.length;b++){var c=this.gP[b],d=c.getParent();d&&d.removeChild(c)}this.gE&&
this.Zya?(this.rb.ic=this.gE,a.pb.Tb(this.gE,this.UAa,this),this.gE.play()):this.UAa()};g.prototype.UAa=function(){if(this.pK&&0!=this.pK.length){var b=new a.Th(this.j(),new a.Qh(this.j(),this.pK,r.xb(this.U),0));a.pb.Tb(b,this.Xx,this);this.rb.ic=b;b.play()}else this.Xx()};g.prototype.Xx=function(){this.rb.c_b()};g.prototype.xa=function(b,c,d){if(b){if(this.Pf(b),this.hJb=this.Eb?!1:!0,this.Eb=c,this.Vb=d,(b=this.U.orientation)&&b==a.ie.Fca?(this.O4=0==this.ne?!1:!0,this.ne=!0):(this.O4=this.ne?
!1:!0,this.ne=!1),this.U&&(b=this.XF(this.U),this.yx(b)),this.IB=0,this.ne?(this.Nx=d,this.vk=c,this.dk=d,this.jy=c):(this.Nx=c,this.vk=d,this.dk=c,this.jy=d),this.Lp=this.U.inverted,this.GK=this.FG=0,t.Z0b(this,c,d),a.Xb.Hm()&&0<this.qc.length&&this.d8("flowto","_bt_"+this.qc[0].getId()),c=this.nn())a.H.aa(this.Xa(),"role","group"),a.H.aa(this.Xa(),"aria-label",a.ge.UL(c))}else this.uK(c,d)};g.prototype.nn=function(){var b=[a.F.Ca(a.F.Pa,"TIMELINE_SERIES")];this.Kc?b.push(this.Kc):b.push(this.U.index+
1);return a.F.Ca(a.F.Pa,"COLON_SEP_LIST",b)};g.prototype.uK=function(a,b){this.dj.ya(0);this.dj.la(0);this.Eb=a;this.Vb=b;this.IB=0;this.ne?(this.Nx=b,this.vk=a,this.dk=b,this.jy=a):(this.Nx=a,this.vk=b,this.dk=a,this.jy=b);this.Jb.hb(a);this.Jb.zb(b);t.a5b(this)};g.prototype.AH=function(){this.Ol=new a.f(r.rWb());this.nU=this.U.seriesStyleDefaults;this.b_a=this.U.axisStyleDefaults;this.j0a=r.xTb(this.U);this.VK=this.U.referenceObjects;if(this.nU){var b=this.nU.backgroundColor;b&&this.Ol.Sj("background-color:"+
b+";")}this.Ol.Sj(this.yO)};g.prototype.Pf=function(a){this.U=a};g.prototype.XF=function(a){this.Zx=new C;return this.Zx.parse(a,this.qc)};g.prototype.yx=function(b){this.qc&&(this.f7=this.qc);this.cJb=(this.qc=b.items)&&0<this.qc.length?!1:!0;this.Bza=b.lHa;this.Kha=b.eHa;this.Kc=b.label;this.Rk=b.J4b;this.yo=b.nSb;null==this.yo&&(this.yo=a.F.Ca(a.F.Pa,"NO_DATA",null));this.tJb=b.kQ;this.Pha=b.PYb;this.Jp=b.S8;this.dK=b.R8;this.jc=b.start;this.Rc=b.end;this.yO=b.$0;this.Ng=b.scale;this.Gx=b.oab;
this.AH()};g.prototype.bab=function(a,b){if(null!=this.qc&&0!=this.qc.length){var c=this.vk,d=a.gC;if(this.Pha){if(null==d){var c=a.getHeight(),d=this.Oz,e=this.vk-c-d;0>e&&(e=0);d=Math.round(Math.random()*e)+d;this.vk<d+c&&(this.vk=d+c+r.lA())}return d}null==d&&(d=this.Oz);if(this.ne)for(k=0;k<b;k++)A=this.qc[k],t=A.getWidth()+10,c<d+t&&(c=d+t);else{for(var g=a.bE,h=a.getWidth()+10,e=r.lA(),l=[],k=0;k<b;k++){var A=this.qc[k],t=A.getWidth()+10,x=A.bE;(g>=x&&g<=x+t||x>=g&&x<=g+h)&&l.push(A)}for(k=
0;k<l.length;k++){g=!1;for(h=0;h<l.length;h++){var A=l[h],y=A.getHeight(),A=A.gC;if(d>=A&&d<=A+y){d=A+y+e;a.laa(d);g=!0;break}}if(!g)break}c<d+y&&(c=d+y)}c>this.vk&&(this.vk=c+r.lA());return d}};g.prototype.DQb=function(a,b){if(null!=this.qc&&0!=this.qc.length){var c=a.Fi(),d=a.Ak();if(d&&d!=c){d=a.DB;null==d&&(d=1);for(var e=[],g=0;g<b;g++){var h=this.qc[g],l=h.Fi(),k=h.Ak();k&&k!=l&&c>=l&&c<=k&&e.push(h)}for(g=0;g<e.length;g++){c=!1;for(l=0;l<e.length;l++)if(h=e[l],h=h.DB,d==h){d=h+1;a.bJa(d);c=
!0;break}if(!c)break}d>this.GK&&(this.GK=d);return d}}};g.prototype.fIa=function(){for(var a=0;a<this.qc.length;a++){var b=this.qc[a],c=b.Fi(),d=b.Ak();d&&d!=c&&(b.bJa(this.DQb(b,a)),b.z2b(22+10*b.DB-5),null==b.mK&&(b.y2b(this.j0a[this.FG]),this.FG++,this.FG==this.j0a.length&&(this.FG=0)))}};g.prototype.R_b=function(b){this.Pb()?this.Oz=20*(0<this.GK?1:0)+r.lA()+10*this.GK:this.Oz=20+r.lA()+10*this.GK;for(var c=0;c<b.length;c++){var d=b[c],e=a.Xb.tf(this.jc,this.Rc,d.Fi(),this.dk),g=d.Ak();g&&g!=
d.Fi()&&(g=a.Xb.tf(this.jc,this.Rc,g,this.dk)-e,e+=Math.min(r.icb(),g/2));d.oJa(e)}for(c=0;c<this.qc.length;c++)d=this.qc[c],e=a.Xb.tf(this.jc,this.Rc,d.Fi(),this.dk),e<this.IB||e>this.Nx||F.mYb(d,this,c)};g.prototype.Ee=function(){return this.Kc};g.prototype.Tpb=function(b){var c=b.gh();c&&(b=a.kb.iI("action",c,b.getId()),a.eD.dispatchEvent(this.Pc,this.rb,this,b))};g.prototype.kQ=function(){return this.tJb};g.prototype.Pb=function(){return this.ne};g.prototype.wDa=function(b,c,d,e,g,h,l){c=new a.Oc(this.j(),
c,e,d,g,l);c.Na(h);c.rd();b.u(c);return c};g.prototype.j4b=function(a){null!=this.dj&&this.dj.ya(0-a)};g.prototype.N2b=function(a){null!=this.dj&&this.dj.la(0-a)};a.l.D(x,a.ra);x.uba="en";x.dda="sel";x.waa="asel";x.$Na="hl";x.prototype.Init=function(a,b){x.C.Init.call(this,a,"g",b)};x.prototype.vc=function(a){this.Qm!=a&&((this.Qm=a)?this.Mp?this.vs(x.waa):this.vs(x.dda):this.vs(x.uba))};x.prototype.Dd=function(a){this.Mp||(this.Mp=!0,this.Qm&&a?this.vs(x.waa):this.Qm?this.vs(x.dda):this.vs(x.$Na))};
x.prototype.Vc=function(a){this.Qm&&a?this.vs(x.waa):this.Qm?this.vs(x.dda):this.vs(x.uba);this.Mp=!1};x.prototype.vs=function(b){var c=this.Qd,d=c.bk;if(null!=d){var e=d.vb(0),g=e.vb(0),d=c.QY;if(b==x.waa){b=r.ycb(c);var h=r.zcb(c),l=r.Acb(),t=r.wcb()}else b==x.dda?(b=r.ycb(c),h=r.zcb(c),l=r.Acb(),t=r.xcb()):b==x.$Na?(b=r.SUb(c),h=r.TUb(c),l=r.vcb(),t=r.wcb()):(b=r.pFa(c),h=r.C9(c),l=r.qFa(),t=r.xcb());var k=r.VUb(),h=new a.Da(h,1,l),t=new a.Da(t,1,k);e.qb(b);e.Na(h);g.Na(t);(c=c.c6)&&c.Na(h);d&&
d.Na(h)}};var F={};a.l.D(F,a.l);F.X0b=function(a,b,c,d,e,g){a.Dn?(F.rMb(a,b,c,e),F.lxa(a,b,d,null,!1)):(b.Zya=!0,F.lxa(a,b,d,g,!0));b.Pb()||(a.c6&&b.O4?F.d$a(a,b,d,g):F.HMb(a,b,c.mEa,d,e))};F.mYb=function(a,b,c){a.bk&&b.O4?F.Y9a(a,b,c):F.lEb(a,b,c)};F.lEb=function(a,b,c){var d=F.rGb(a,b);b.u(d);var e=d.da();b.removeChild(d);a.hb(e.a+10);a.zb(e.b+10);a.Dn=d;b=b.bab(a,c);a.laa(b)};F.rMb=function(b,c,d,e){var g=c.j(),h=a.A.ea(g),l=b.getId(),t=b.Dn;b.Dn=null;var k=b.getWidth(),A=b.getHeight(),y="_bubble_"+
l;if(c.Pb()){var D=A/2,C=D-6,F=D+6;!h&&c.Lp||h&&!c.Lp?(h=[0,0,0,C,-6,D,0,F,0,A,k,A,k,0,0,0],A=[2,2,2,C,-4,D,2,F,2,A-2,k-2,A-2,k-2,2,2,2]):(h=[0,0,0,A,k,A,k,F,k+6,D,k,C,k,0,0,0],A=[2,2,2,A-2,k-2,A-2,k-2,F,k+4,D,k-2,C,k-2,2,2,2])}else D=h?k-r.f9():r.f9(),C=D-6,F=D+6,c.Lp?(h=[0,0,C,0,D,-6,F,0,k,0,k,A,0,A,0,0],A=[2,2,C,2,D,-4,F,2,k-2,2,k-2,A-2,2,A-2,2,2]):(h=[0,0,0,A,C,A,D,A+6,F,A,k,A,k,0,0,0],A=[2,2,2,A-2,C,A-2,D,A+4,F,A-2,k-2,A-2,k-2,2,2,2]);k=new a.bj(g,h,y);y=new a.bj(g,A,y+"_i");y.qb(r.UUb());t.Ta(5,
5);k.u(y);k.u(t);g=new x(g,"_bt_"+l);e&&(g.Z(0),e.push(g));g.u(k);a.Xb.Hm()&&a.H.aa(g.kc,"id",g.Hc);g.Qd=b;b.T1b(g);g.vs(x.uba);0<=b.bE&&d.u(g);g.yg("group");b.vt();c.rb.G.ub(g,b)};F.lxa=function(b,c,d,e,g){var h=a.A.ea(c.j()),l=b.bE,t=b.getWidth(),k=b.getHeight(),A=b.gC;b=b.bk;g&&b.vs(x.uba);c.Pb()?(k=l-k/2,h&&c.Lp||!h&&!c.Lp?h=c.jy-(t+c.Oz)+d:(h=c.Oz,d=0)):(h=h?c.dk-l-t+r.f9():l-r.f9(),c.Lp?(k=c.kQ()?A:c.Vb-A-k+d+c.Oz-r.lA(),d=0):k=c.kQ()?A-c.Oz+r.lA():c.Vb-A-k+d);e?(c.Pb()?b.la(b.Ba()+c.Ofa+d):
b.ya(b.za()+c.uS+d),e.P(a.K.Y,b,b.Ba,b.la,h),e.P(a.K.Y,b,b.za,b.ya,k)):b.Ta(h,k)};F.rGb=function(b,c){var d=c.j(),e=a.A.ea(d),g=b.cF(),h=b.LY,l=b.y9a,t=new a.ra(d),k=0,A=0;if(e)g&&(x=new a.ha(d,g,0,A),x.Nb(r.Bcb(b)),k=x.Zc().a+2,A=15,t.u(x)),h&&(h=new a.ha(d,h,0,A),h.Nb(r.ucb(b)),g=h.Zc().a+2,0!=k&&g!=k?g>k?(x.Ha(g-k),k=g):h.Ha(k-g):k=g,t.u(h)),l&&(l=new a.Image(d,l,k,0,r.mGa(),r.Udb(),"_tn"),l.yb(!1),t.u(l));else{l&&(l=new a.Image(d,l,0,0,r.mGa(),r.Udb(),"_tn"),l.yb(!1),t.u(l),k=r.mGa()+2);if(g){var x=
new a.ha(d,g,k,A);x.Nb(r.Bcb(b));A=15;t.u(x)}h&&(h=new a.ha(d,h,k,A),h.Nb(r.ucb(b)),t.u(h))}return t};F.Y9a=function(a,b,c){b=b.bab(a,c);a.laa(b)};F.HMb=function(b,c,d,e,g){var h=c.j(),l=a.A.ea(h),t=b.getId(),k=b.bE,A=b.gC,t="_feeler_"+t;if(c.Lp)x=b.W5,e=c.kQ()?A:c.Vb-A-b.getHeight()+e+c.Oz-r.lA();else{var x=c.Vb+e-b.W5;e=c.kQ()?A-c.Oz+r.lA()+b.getHeight():c.Vb-A+e}c=l?c.dk-k:k;h=new a.Oc(h,c,x,c,e,t);g&&(h.Z(0),g.push(h));d.u(h);d=r.qFa();g=r.C9(b);d=new a.Da(g,1,d);h.Na(d);h.Qd=b;b.lhb(h)};F.d$a=
function(b,c,d,e){if(c.Pb())b.lhb(null);else{var g=a.A.ea(c.j()),h=b.c6;if(c.Lp)l=b.W5,t=c.kQ()?b.gC:c.Vb-b.gC-b.getHeight()+d+c.Oz-r.lA(),d=0;else var l=c.Vb+d-b.W5,t=c.kQ()?b.gC-c.Oz+r.lA()+b.getHeight():c.Vb-b.gC+d;b=g?c.dk-b.bE:b.bE;e?(h.vl(h.Gt()+c.uS+d),h.wl(h.bv()+c.uS+d),e.P(a.K.Y,h,h.Ft,h.gn,b),e.P(a.K.Y,h,h.Gt,h.vl,l),e.P(a.K.Y,h,h.av,h.Gm,b),e.P(a.K.Y,h,h.bv,h.wl,t)):(h.gn(b),h.vl(l),h.Gm(b),h.wl(t))}};F.S0b=function(a,b,c,d,e,g){a.QY?F.IE(a,b,d,g):F.FMb(a,b,c,d,e)};F.FMb=function(b,c,
d,e,g){var h=c.j(),l=a.A.ea(h),t=b.Ak(),k=a.Xb.tf(c.jc,c.Rc,b.Fi(),c.dk),A="_duration_"+b.getId(),x=22+10*b.DB,t=a.Xb.tf(c.jc,c.Rc,t,c.dk);c.Pb()?(!l&&!c.Lp||l&&c.Lp?h=new a.Rect(h,c.jy-x+5,k,x,t-k,A):(h=new a.Rect(h,-5,k,x,t-k,A),e=0),h.la(e),h.ob(k),h.hb(x),h.zb(t-k)):(t-=k,k=l?c.dk-k-t:k,c.Lp?(h=new a.Rect(h,k,-5,t,x,A),h.ya(0)):(h=new a.Rect(h,k,c.jy-x+5,t,x,A),h.ya(e)));g&&(h.Z(0),g.push(h));h.$V(5);h.qb(b.mK);e=r.qFa();g=r.C9(b);e=new a.Da(g,1,e);h.Na(e);h.Qd=b;c.rb.G.ub(h,b);d.u(h);b.x2b(h)};
F.IE=function(b,c,d,e){var g=a.A.ea(c.j()),h=b.QY;if(null!=h){var l=a.Xb.tf(c.jc,c.Rc,b.Fi(),c.dk),r=22+10*b.DB,k=a.Xb.tf(c.jc,c.Rc,b.Ak(),c.dk);if(c.Pb()){b=0;!g&&!c.Lp||g&&c.Lp?g=c.jy-r+5:(g=-5,d=0);var A=d,t=l,x=r,l=k-l}else A=0,k-=l,g=g?c.dk-l-k:l,c.Lp?(b=d=0,t=-5):(b=d,t=c.jy-r+5),x=k,l=r;e?(c.Pb()?h.la(h.Ba()+c.Ofa+d):h.ya(h.za()+c.uS+d),e.P(a.K.Y,h,h.Ba,h.la,A),e.P(a.K.Y,h,h.za,h.ya,b),e.P(a.K.Y,h,h.bb,h.Ha,g),e.P(a.K.Y,h,h.sb,h.ob,t),e.P(a.K.Y,h,h.getWidth,h.hb,x),e.P(a.K.Y,h,h.getHeight,
h.zb,l)):(h.la(A),h.ya(b),h.Ha(g),h.ob(t),h.hb(x),h.zb(l))}};a.l.D(y,a.l);y.prototype.Init=function(a,b,c){this.Tp=a;this.zf=b;this.Mc=a.Mc[b];this.Hc=c.id;this.rP=parseInt(c.startTime);c.endTime&&(this.gO=parseInt(c.endTime));this.lp=c.title;this.LY=c.Nka;this.y9a=c.ijb;this.Ol=c.style;this.Zb=c.data;this.Nv=c.action;this.mK=c.Ska;this.W5=0;this.i9a=c.B4b;this.gKb=c.CZb;this.w5a=c.AZb;this.x5a=c.BZb;this.y5a=c.DZb;this.s5a=c.wZb;this.t5a=c.xZb;this.v5a=c.yZb;this.fKb=c.zZb};y.prototype.getId=function(){return this.Hc};
y.prototype.Wi=function(){return this.Mc};y.prototype.mi=function(){return this.zf};y.prototype.Fi=function(){return this.rP};y.prototype.W3b=function(a){this.rP=a};y.prototype.Ak=function(){return this.gO};y.prototype.E2b=function(a){this.gO=a};y.prototype.cF=function(){return this.lp};y.prototype.O=function(){return this.Ol};y.prototype.ka=function(a){this.Ol=a};y.prototype.getData=function(){return this.Zb};y.prototype.T1b=function(a){this.bk=a};y.prototype.lhb=function(a){this.c6=a};y.prototype.x2b=
function(a){this.QY=a};y.prototype.oJa=function(a){this.bE=a};y.prototype.laa=function(a){this.gC=a};y.prototype.bJa=function(a){this.DB=a};y.prototype.z2b=function(a){this.W5=a};y.prototype.y2b=function(a){this.mK=a};y.prototype.Ee=function(){return null!=this.Ak()?"Start Time: "+(new Date(this.Fi())).toLocaleString()+"; End Time: "+(new Date(this.Ak())).toLocaleString()+"; Title: "+this.cF()+"; Description: "+this.LY:"Time: "+(new Date(this.Fi())).toLocaleString()+"; Title: "+this.cF()+"; Description: "+
this.LY};y.prototype.getWidth=function(){return this.Pu};y.prototype.hb=function(a){this.Pu=a};y.prototype.getHeight=function(){return this.aT};y.prototype.zb=function(a){this.aT=a};y.prototype.gh=function(){return this.Nv};y.prototype.hV=function(){return this.gKb};y.prototype.Rd=function(b){var d=this.Tp.G.Kb;if(b.type==a.MouseEvent.Te||d.Kw(b))return this;if(d.ij(b)){for(var d=[],e=0;e<this.Tp.Mc.length;e++)d.push(this.Tp.Mc[e].qc);return c.Rd(this,b,d)}return null};y.prototype.cn=function(){return this.bk.Xa()};
y.prototype.Tf=function(a){return this.bk.da(a)};y.prototype.tg=function(){this.nd=!0;this.Dd();this.Tp.rjb(this)};y.prototype.ce=function(){this.nd=!1;this.Vc()};y.prototype.Od=function(){return this.nd};y.prototype.qf=function(){return[this.bk]};y.prototype.Gd=function(){var b=[];this.Cb()&&b.push(a.F.Ca(a.F.Pa,this.Hb()?"STATE_SELECTED":"STATE_UNSELECTED"));return a.ta.Pl(this.Ee(),b)};y.prototype.kk=function(a){this.rJb=a};y.prototype.Cb=function(){return this.rJb};y.prototype.Hb=function(){return this.Qm};
y.prototype.vc=function(a){this.Qm=a;this.bk.vc(a);this.vt();this.Tp.aw&&this.Tp.Ce&&(a?this.Tp.Ce.tgb(this.getId()):this.Tp.Ce.C1b(this.getId()))};y.prototype.Dd=function(a){this.bk.Dd(this.Tp.G.Yf()==this);!a&&this.Tp.aw&&this.Tp.Ce.QXb(this.getId());if(this.Tp.ne||this.Mc.Pha)this.xq||(this.xq=this.Mc.sS[0].hj(this.bk)),this.Mc.sS[0].u(this.bk)};y.prototype.Vc=function(a){this.bk.Vc(this.Tp.G.Yf()==this);!a&&this.Tp.aw&&this.Tp.Ce.P4b(this.getId());(this.Tp.ne||this.Mc.Pha)&&this.xq&&!this.Qm&&
this.Mc.sS[0].Rb(this.bk,this.xq)};y.prototype.qg=function(){if(!this.If&&(this.If=[],this.i9a))for(var b=this.i9a,c=0;c<b.length;c++)this.If.push(new a.md(b[c].popupId,b[c].triggerType,b[c].alignId,b[c].align));return this.If};y.prototype.vt=function(){a.A.jk()||this.bk.Td("label",this.Gd())};a.l.D(C,a.l);C.prototype.parse=function(a,b){var c=this.vQb(a),d={};d.start=(new Date(a.start)).getTime();d.end=(new Date(a.end)).getTime();d.$0=a.style;d.scale=a.scale;d.J4b=a.timeAxis;d.label=a.label;d.nSb=
a.emptyText;d.lHa="auto"==a.animationOnDisplay;d.eHa="auto"==a.animationOnDataChange;d.items=this.lBa(a.timeline,a.index,c.data,b,d.start,d.end);d.F9b="false";d.PYb=a._isRandomItemLayout;d.S8=a._cts;d.R8=a._cfs;d.kQ=null==a.itemLayout||"auto"==a.itemLayout?a.inverted:"topToBottom"==a.itemLayout;return d};C.prototype.vQb=function(a){var b={},c=[];if(a=a.items)for(var d=0;d<a.length;d++)c.push(a[d]);b.data=c;return b};C.prototype.lBa=function(b,c,d,e,g,h){var l=[],r=b.Mc[c];if(d)for(var k=0;k<d.length;k++){var A=
this.Zra(d[k],g,h);if(A){if(r.O4){var t=this.KFb(A,e);if(t){var x=a.va.Fb(e,t);e.splice(x,1);t.laa(null);t.bJa(null);t.oJa(null);t.vc(!1);t.W3b(A.startTime);t.E2b(A.endTime);t.ka(A.style)}else t=new y(b,c,A),t.kk(!0)}else t=new y(b,c,A),t.kk(!0);for(var A=t.Fi(),x=!0,D=0;D<l.length;D++)if(A<l[D].Fi()){l.splice(D,0,t);x=!1;break}x&&l.push(t)}}return l};C.prototype.KFb=function(a,b){if(b)for(var c=0;c<b.length;c++){var d=b[c];if(a.id==d.getId()&&a.title==d.cF()&&a.Nka==d.LY&&a.ijb==d.y9a)return d}};
C.prototype.getDate=function(a){return null==a?null:a.getTime?a.getTime():isNaN(a)?(new Date(a)).getTime()+0:a};C.prototype.Zra=function(a,b,c){var d={};d.id=a.id;d.x1b=d.id;d.startTime=this.getDate(a.start);d.endTime=this.getDate(a.end);if((d.endTime?d.endTime:d.startTime)<b||d.startTime>c)return null;d.title=a.title;d.Nka=a.description;d.ijb=a.thumbnail;d.data=a;d.style=a.style;d.action=a.action;d.Ska=a.durationFillColor;d.B4b=a.showPopupBehaviors;d.CZb=a._markerShape;d.AZb=a._markerScaleX;d.BZb=
a._markerScaleY;d.DZb=a._markerShortDesc;d.wZb=a._markerFillColor;d.xZb=a._markerGradientFill;d.yZb=a._markerOpacity;d.zZb=0==a._markerSD?"false":"true";return d};var t={};a.l.D(t,a.l);t.Z0b=function(b,c,d){t.tt(b,c,d);t.V7(b);t.U7(b,b.dj);t.kNb(b);if(null!=b.qc){if(0==b.sS.length){d=b.j();c=new a.ra(d,"itemBlock_"+b.IB+"_"+b.Nx);c.OQ=b.IB;c.tL=b.Nx;var e=new a.ra(d,"feelers");c.u(e);c.mEa=e;d=new a.ra(d,"durations");c.u(d);c.Yab=d;b.dj.u(c);b.sS.push(c)}else c=b.sS[0];b.fIa(b.qc);b.R_b(b.qc);b.hJb?
(b.pK=b.Bza?[]:null,b.gE=null,b.gP=null):b.O4&&b.Kha?(b.pK=[],b.gE=new a.K(b.j(),r.xb(b.U),0,a.xf.Q8),b.gP=[]):(b.pK=null,b.gE=null,b.gP=null);b.Zya=!1;d=Math.max(0,b.vk-b.jy);b.w7=d;t.CZa(b,d);b.f7&&t.cMb(b.f7,b,c,b.gP);b.f7=null;b.Pb()&&c.mEa.Tl();t.HBa(b.qc,b,c,b.IB,b.Nx,d,b.pK,b.gE);t.i$a(b);t.l$a(b)}};t.a5b=function(a){t.ROb(a.qc,a);t.i$a(a);t.l$a(a)};t.tt=function(b,c,d){if(b.Jb){var e=!1;b.Jb.hb(c);b.Jb.zb(d)}else e=!0,b.Jb=new a.Rect(b.j(),0,0,c,d,"bg");b.Jb.Nb(b.Ol);b.Jb.rd();b.Jb.setCursor("move");
e&&b.u(b.Jb)};t.CZa=function(b,c){var d=a.A.ea(b.j());0<c&&(b.Pb()?b.Jb.hb(b.vk):b.Jb.zb(b.vk));if(b.Pb()){if(!b.Lp&&!d||b.Lp&&d)b.Jb.la(-c),b.N2b(c)}else b.Lp||(b.Jb.ya(-c),b.j4b(c))};t.V7=function(b){b.dj?(b.Ofa=b.dj.Ba(),b.uS=b.dj.za(),b.dj.la(0),b.dj.ya(0)):(b.dj=new a.ra(b.j(),"canvas"),b.u(b.dj))};t.HBa=function(b,c,d,e,g,h,l,r){for(var k=0;k<b.length;k++){var A=b[k],x=a.Xb.tf(c.jc,c.Rc,A.Fi(),c.dk);x<e||x>g||F.X0b(A,c,d,h,l,r)}if(a.Xb.Hm())for(k=0;k<b.length-1;k++)if(A=b[k],e=A.bk)if(g=b[k+
1],g.bk)e.d8("flowto","_bt_"+g.getId());else break;t.GMb(b,c,d,h,l,r)};t.ROb=function(b,c){if(null!=b&&0!=b.length){var d=c.Nx,e=c.sS[0];e.OQ=c.IB;e.tL=d;c.Pb()?c.Oz=20*(0<c.GK?1:0)+r.lA()+10*c.GK:c.Oz=20+r.lA()+10*c.GK;for(d=0;d<b.length;d++){var e=b[d],g=e.Fi(),h=a.Xb.tf(c.jc,c.Rc,g,c.dk),l=e.Ak();l&&l!=g&&(g=a.Xb.tf(c.jc,c.Rc,l,c.dk)-h,h+=Math.min(r.icb(),g/2));e.oJa(h);c.Pha||e.laa(null)}for(d=0;d<b.length;d++)e=b[d],h=e.Fi(),h<c.jc||h>c.Rc||F.Y9a(e,c,d);h=Math.max(0,c.vk-c.jy);t.CZa(c,h);for(d=
0;d<b.length;d++)e=b[d],F.lxa(e,c,h,null,!1),F.d$a(e,c,h,null),F.IE(e,c,h,null)}};t.GMb=function(a,b,c,d,e,g){c=c.Yab;for(var h=b.GK;0<h;h--)for(var l=0;l<a.length;l++){var k=a[l],A=k.Fi(),r=k.Ak();r&&r!=A&&h==k.DB&&F.S0b(k,b,c,d,e,g)}};t.kNb=function(b){null==b.yja?(b.yja=new a.ra(b.j()),b.dj.u(b.yja)):(b.yja.Tl(),b.zja=[]);if(b.Ng&&b.Rk){var c=new a.f(r.nWb());if(b.b_a){var d=b.b_a.separatorColor;d&&c.Sj("color:"+d+";")}b.k_=new a.Da(c.O(a.f.fc));b.k_.ka(a.pd.HF,3);t.QBa(b,b.IB,b.Nx,b.yja)}};t.l$a=
function(b){for(var c=a.A.ea(b.j()),d=0;d<b.zja.length;d++){var e=b.zja[d],g=!b.Pb()&&c?b.dk-a.Xb.tf(b.jc,b.Rc,e.time,b.dk):a.Xb.tf(b.jc,b.Rc,e.time,b.dk);b.Pb()?(e.gn(0),e.vl(g),e.Gm(b.vk),e.wl(g)):(e.gn(g),e.vl(0),e.Gm(g),e.wl(b.vk))}};t.QBa=function(b,c,d,e){var g=a.A.ea(b.j()),h,l=b.jc,r=b.Rc;if(b.Jp&&b.Jp[b.Ng])h=b.Jp[b.Ng].times;else if(b.dK&&b.dK[b.Ng])h=b.dK[b.Ng].times;else{h=[];c=a.Xb.Oj(l,r,c,b.dk);var k=b.Rk.T_(c);c=a.Xb.tf(l,r,k,b.dk);for(h.push(k.getTime());c<d;)k=b.Rk.F0(k.getTime()),
c=a.Xb.tf(l,r,k,b.dk),h.push(k.getTime())}for(d=0;d<h.length-1;d++){k=h[d];c=a.Xb.tf(l,r,k,b.dk);var A=!b.Pb()&&g?b.dk-c:c;if(b.Pb())var t=0,x=A,y=b.vk;else t=A,x=0,y=A,A=b.vk;c=b.wDa(e,t,y,x,A,b.k_,"o_tick"+c);c.time=k;b.zja.push(c)}};t.U7=function(b,c){var d=b.j(),e=a.A.ea(d);null==b.YZ&&(b.YZ=new a.ra(d),c.u(b.YZ));var g=b.VK;if(g)for(var h=Math.min(1,g.length),l=0;l<h;l++){var t=g[l];if(t){var k=a.Xb.tf(b.jc,b.Rc,t,b.dk);if(0==b.eP.length){if(b.Pb())var A=new a.Oc(d,0,k,b.vk,k,"zoomOrder[i]");
else e&&(k=b.dk-k),A=new a.Oc(d,k,0,k,b.vk,"zoomOrder[i]");k=new a.Da(r.Edb(b.U));A.Na(k);A.rd();A.ZDa=t;b.YZ.u(A);b.eP[l]=A}else A=b.eP[l],A.ZDa=t,k=a.Xb.tf(b.jc,b.Rc,A.ZDa,b.dk),b.Pb()?(A.gn(0),A.vl(k),A.Gm(b.vk),A.wl(k)):(e&&(k=b.dk-k),A.gn(k),A.vl(0),A.Gm(k),A.wl(b.vk))}}else b.YZ.Tl(),b.eP=[]};t.i$a=function(b){for(var c=a.A.ea(b.j()),d=0;d<b.eP.length;d++){var e=b.eP[d],g=a.Xb.tf(b.jc,b.Rc,e.ZDa,b.dk);b.Pb()?(e.gn(0),e.vl(g),e.Gm(b.vk),e.wl(g)):(c&&(g=b.dk-g),e.gn(g),e.vl(0),e.Gm(g),e.wl(b.vk))}};
t.cMb=function(a,b,c,d){if(d)t.jCb(a,b,d);else for(d=0;d<a.length;d++){var e=a[d];c.removeChild(e.bk);b.Pb()||c.mEa.removeChild(e.c6);var g=e.Fi(),h=e.Ak();h&&h!=g&&c.Yab.removeChild(e.QY)}};t.jCb=function(a,b,c){for(var d=0;d<a.length;d++){var e=a[d],g=e.bk;b.Pb()?g.la(g.Ba()+b.Ofa+b.w7):g.ya(g.za()+b.uS+b.w7);c.push(g);b.Pb()||(g=e.c6,g.ya(g.za()+b.uS+b.w7),c.push(g));var g=e.Fi(),h=e.Ak();h&&h!=g&&(e=e.QY,b.Pb()?e.la(e.Ba()+b.Ofa+b.w7):e.ya(e.za()+b.uS+b.w7),c.push(e))}};a.ia(a,"Timeline",a.ie);
a.ia(a.ie,"newInstance",a.ie.newInstance);a.ia(a.ie.prototype,"render",a.ie.prototype.xa);a.ia(a.ie.prototype,"getAutomation",a.ie.prototype.Di);a.ia(a.ie.prototype,"select",a.ie.prototype.select);a.ia(b.prototype,"getDomElementForSubId",b.prototype.ji)})(dvt);