dvt.ed=function(a,b,c){this.Init(a,b,c)};ea("dvt.TimelineOverview",dvt.ed);dvt.k.A(dvt.ed,dvt.xb);dvt.ed.jH="_";dvt.ed.FTa="_h";dvt.ed.Bfa="_s";dvt.ed.yca="_as";dvt.ed.mx="bs";dvt.ed.tb="bc";dvt.ed.Hj="bw";dvt.ed.Clb="dbs";dvt.ed.Eua="dbc";dvt.ed.ISa="dbw";dvt.ed.A2="bof";dvt.ed.pRa="bo";dvt.ed.tTa="gc";dvt.ed.uTa="go";dvt.ed.ava="fc";dvt.ed.newInstance=function(a,b,c){return new dvt.ed(a,b,c)};dvt.ed.newInstance=dvt.ed.newInstance;R=dvt.ed.prototype;
R.Init=function(a,b,c){dvt.ed.v.Init.call(this,a,b,c);a=[dvt.J.bK(dvt.J.cq("#aadd77",0.35)),"#aadd77",dvt.J.bK(dvt.J.Wr("#aadd77",0.5))];dvt.ci.Do()&&(a=["#aadd77"]);this.oja=a;this.QGa=dvt.bc.u1();this.oy=12};R.wa=function(a,b,c){"string"===typeof a?dvt.ed.v.wa.call(this,Nq(this,a),b,c):dvt.ed.v.wa.call(this,a,b,c)};
function Nq(a,b){for(var c={},d=(new dvt.NL(a.j())).parse(b),e=d.getAttributes(),f=0;f<e.length;f++){var h=e[f];c[h.name]=h.value}for(var k=d.Be(),m=[],p=k[0].Be(),f=0;f<p.length;f++){for(var n={},e=p[f].getAttributes(),d=0;d<e.length;d++)h=e[d],n[h.name]=h.value;m.push(n)}c.axisTicks=m;m=[];p=k[1].Be();for(f=0;f<p.length;f++){n={};e=p[f].getAttributes();for(d=0;d<e.length;d++)h=e[d],n[h.name]=h.value;m.push(n)}c.markers=m;if(2<k.length){m=[];k=k[2].Be();for(f=0;f<k.length;f++){p={};e=k[f].getAttributes();
for(d=0;d<e.length;d++)h=e[d],p[h.name]=h.value;m.push(p)}c.formattedTimeRanges=m}return c}R.UNa=function(){return new Oq(this)};
R.VB=function(a){dvt.ed.v.VB.call(this,a);this.Uu=a.N1;this.Ju=a.ohb;this.D9=a.$ib;this.pja=a.VLa;this.Bja="#267DB3 #68C182 #FAD55C #ED6647 #8561C8 #6DDBDB #FFB54D #E371B2 #47BDEF #A2BF39 #A75DBA #F7F37B".split(" ");a.YA&&(this.Hu=new dvt.e(a.YA));a="solid"==this.K(dvt.ed.jH,dvt.ed.mx)?parseInt(this.K(dvt.ed.jH,dvt.ed.A2),10):1;var b="solid"==this.K(dvt.ed.yca,dvt.ed.mx)?parseInt(this.K(dvt.ed.yca,dvt.ed.A2),10):1,c="solid"==this.K(dvt.ed.Bfa,dvt.ed.mx)?parseInt(this.K(dvt.ed.Bfa,dvt.ed.A2),10):1;
this.kZ="none"!=this.Uu?Math.max(b,c,a,1)/2+1:1;this.jY=this.Qb()?0:0.75;this.iDa=[this.jY,this.jY,this.jY];this.y8a=new dvt.Sc(250,this.oja,this.iDa);this.O6a=new dvt.Sc(180,this.oja,this.iDa);a=this.Qb()?0:1;this.y1a=new dvt.xa("#aadd77",a)};R.Ioa=function(a,b,c,d,e,f){dvt.ed.v.Ioa.call(this,a,b,c,d,e,f,this.Hu)};function Aq(a,b){for(var c="_mrk_"+b,d="_drn_"+b,e=a.Hb(),f=0;f<e;f++){var h=a.bb(f);if(h!=q&&(c==h.getId()||d==h.getId()))return h}return q}R.DO=function(a){return a.getId().substr(5)};
R.K=function(a,b){return this.A1a[a+b]};R.Wa=function(a){return a.qd!=q?a.qd.Wa():a.ob().Yd};R.fb=function(a){return a.qd!=q?a.qd.fb():a.ob().Vd};R.ce=function(a){a=a.ce();a==q&&(a=this.Qb()?(this.Cb-this.RO()-4)/2:1);return a};R.ie=function(a){a=a.ie();a==q&&(a=1);return a};
R.ksa=function(a,b){dvt.ed.v.ksa.call(this,a,b);if(this.Ju!=q){for(var c=Pq(this,this.yc,this.vd,a,b,this.oy),d=[],e=0;e<this.Ju.length;e++){var f=this.Ju[e];if(f.Lk==q){var h=c,k="_mrk_"+f.getId(),m=f.zc(),p=f.Aka,n=f.Cqa();n==q&&(n=this.jY,0==n&&m!=q&&(n=1));var r=this.ce(f),v=this.ie(f),x=f.Cc();if(this.Qb())var x=dvt.ta.Ov,r=2*r,h=2*v,v=f.fb()+r/2,z=f.Wa()+h/2;else r*=h,h*=v,v=f.Wa()+r/2,z=f.fb()+h/2;k=new dvt.ta(this.j(),x,q,v,z,r,h,q,q,q,k);k.qd=f;m==q&&n==this.jY&&p==q?(p=x==dvt.ta.Jn?this.y8a:
this.O6a,m=this.y1a):(r=this.oja,m!=q&&(dvt.ci.Do()?r=[m]:(r=dvt.J.cq(m,0.5),h=dvt.J.Wr(m,0.5),r=[r,m,h])),h=[n,n,n],p=p==q?x==dvt.ta.Jn?new dvt.Sc(250,r,h):new dvt.Sc(180,r,h):new dvt.bc(m,h[0]),m=new dvt.xa(m,n));k.la(p);k.Aa(m);"none"!=this.Uu&&k.Yh(l);m=this.Hb();n=this.bb(m-1);m>this.WI&&("tb"==n.getId()||"arr"==n.getId())?this.Jb(k,m-this.WI):this.q(k);f.Og(k);this.Rq(k,dvt.ed.jH);(this.Qb()||x==dvt.ta.Ov||x==dvt.ta.$K||x==dvt.ta.PH||x==dvt.ta.OH||x==dvt.ta.uL)&&"false"!=this.pja.osa&&k.wd()}else d[d.length]=
f}this.tsa(d);e=this.j();for(f=this.Xla;0<f;f--)for(x=0;x<d.length;x++)m=d[x],f==m.yu&&(p=dvt.ci.tf(this.yc,this.vd,m.getTime(),this.Qb()?this.Ob:this.Cb),k="_drn_"+m.getId(),n=9+5*m.yu,r=dvt.ci.tf(this.yc,this.vd,m.Lk,this.Qb()?this.Ob:this.Cb),p=this.Qb()?this.gq()?new dvt.na(e,0,p,n,r-p,k):new dvt.na(e,this.Cb-n,p,n,r-p,k):this.gq()?new dvt.na(e,this.Cb-r,this.Ob-n-20,r-p,n,k):new dvt.na(e,p,this.Ob-n-20,r-p,n,k),p.la(new dvt.bc(m.jF)),k=new dvt.xa(this.K(dvt.ed.jH,dvt.ed.Eua),1,1),p.Aa(k),p.wd(),
p.qd=m,this.q(p),m.PR=p,m.vnb=n-2);this.removeChild(this.nKa);this.q(this.nKa);this.oy=c}};R.tsa=function(a){this.Xla=0;var b=q;this.QR==q&&(this.QR={});for(var c=0;c<a.length;c++){var d=a[c],e=d.getId(),f=e.substring(e.indexOf(":")+1,e.length),f=f.substring(0,f.indexOf(":"));f!=b&&(this.dC=0,b=f);d.yu=Qq(this,d,a);d.jF==q&&(this.QR[e]==q?(this.QR[e]=this.dC,d.jF=this.Bja[this.dC],this.dC++,this.dC==this.Bja.length&&(this.dC=0)):d.jF=this.Bja[this.QR[e]])}};
R.Adb=function(){return this.QR?this.QR:q};dvt.ed.prototype.getDurationColorMap=dvt.ed.prototype.Adb;
function Pq(a,b,c,d,e,f){for(var h,k,m={max:1,Noa:[]},p=a.Qb()?e:d,n=0;n<a.Ju.length;n++){var r=a.Ju[n];if(r.Lk!=q){var v=dvt.ci.tf(b,c,r.getTime(),p);a.fq()&&(v=p-v);r.Ha(v)}else{var v=a,x=b,z=c,y=p,B=f/2,G=m,w=e,D=B*v.ce(r)+v.kZ,C=B*v.ie(r)+v.kZ,x=dvt.ci.tf(x,z,r.getTime(),y);v.fq()&&(x=y-x-2*D);if(v.Qb())B=0,"solid"==v.K(dvt.ed.jH,dvt.ed.mx)&&(B=parseInt(v.K(dvt.ed.jH,dvt.ed.Hj),10)),y=v.gq()?B+4:v.Cb-2*v.ce(r)-B-4;else{y=3;v.kba()&&(y+=v.hK());for(var E=0,z=[],H=0;H<G.Noa.length;H++){h=G.Noa[H];
k=h.Wa();var L=v.ce(h);Math.abs(x-k)<B*L+v.kZ+D&&z.push(h)}for(H=0;H<z.length;H++){h=v;k=z;for(var L=r.Cc(),A=x,O=y,W=D,Y=C,ma=B,ja=w,la=0;la<k.length;la++){var ua=k[la],qa=ua.Wa(),oa=ua.fb(),sa=ua.Cc(),ca=h.ce(ua),ua=h.ie(ua);L==dvt.ta.Jn&&sa==dvt.ta.Jn&&W==Y&&ca==ua?(qa=Math.abs(A-qa),ca=ma*ca+h.kZ+W,ca=Math.sqrt(ca*ca-qa*qa)):ca=ma*ua+h.kZ+Y;if(ca>Math.abs(O-oa)&&(O=oa+ca,E=Math.max(E,O+ca),1<=ma&&ja!=ba&&E>ja))break}h=O;E=k=E;if(h==y){y=h;break}else y=h}}r.Ha(x);r.ib(y);G.Noa.push(r);E>G.max&&
(G.max=E);if(m.max>e)break}}return m.max>e&&1<f?Pq(a,b,c,d,e,f-1):f}function Qq(a,b,c){var d=c.length,e=b.getTime(),f=b.yu;f==q&&(f=1);for(var h=0;h<d;h++){var k=c[h];if(k!=b){var m=k.Lk;if(m!=q){var p=k.getTime(),k=k.yu;k==q&&(k=1);e>=p&&(e<=m&&f==k)&&(f=k+1,b.yu=f,f=Qq(a,b,c))}}}f>a.Xla&&(a.Xla=f);return f}R=dvt.ed.prototype;
R.F3=function(a){var b=dvt.ed.v.F3.call(this,a);if(b!=q){if(b.qd!=q){var c=b.qd.LR;c!=q&&this.j().Zf().GV(a.pageX,a.pageY,c,"#000000");this.$O()&&this.setCursor("pointer")}if("none"!=this.Uu){a=s;if(this.rn!=q)for(c=0;c<this.rn.length;c++)if(b==this.rn[c]){a=l;break}a||(a=this.DO(b),c=new Rq("highlight"),c.wj("itemId",a),this.dispatchEvent(c),Lq(this,b))}}};
R.E3=function(a){a=dvt.ed.v.E3.call(this,a);if(a!=q&&!this.TOa(a)){this.j().Zf().je();var b=s;if(this.rn!=q)for(var c=0;c<this.rn.length;c++)if(a==this.rn[c]){b=l;break}b||(b=this.DO(a),c=new Rq("unhighlight"),c.wj("itemId",b),this.dispatchEvent(c),Mq(this,a))}};
R.kL=function(a,b,c){b=dvt.ed.v.kL.call(this,a,b,c);if(b!=q&&(a=a.ctrlKey||a.shiftKey||dvt.u.Va(),"none"!=this.Uu)){c=this.DO(b);var d=new Rq("selection");d.wj("itemId",c);d.wj("multiSelect",a);this.dispatchEvent(d);a=b.qd.getTime();a!=q&&(c=new Rq(Sq),c.setTime(a),this.dispatchEvent(c),a=this.bs(),b=this.Qb()?this.Wa(b)-a.getHeight()/2:this.Wa(b)-a.getWidth()/2,this.Moa(b))}};function Lq(a,b){if(a.rn!=q)for(var c=0;c<a.rn.length;c++)if(b==a.rn[c])return;a.Rq(b,dvt.ed.FTa)}
function Mq(a,b){if(a.rn!=q)for(var c=0;c<a.rn.length;c++)if(b==a.rn[c])return;a.Rq(b,dvt.ed.jH)}function Bq(a,b){a.rn==q&&(a.rn=[]);var c=q;0<a.rn.length&&(c=a.rn[a.rn.length-1]);a.rn.push(b);c!=q&&a.Rq(c,dvt.ed.Bfa);a.Rq(b,dvt.ed.yca)}
R.Rq=function(a,b){if(a instanceof dvt.ta){var c=s,d=s;if("solid"==this.K(b,dvt.ed.mx)){var c=l,e=this.K(b,dvt.ed.tb);e==q&&(e="#000000");var f=this.K(b,dvt.ed.tTa);f!=q&&"none"!=f&&(d=l)}var h=a.XBa,k=a.yka;!c&&h!=q?(this.removeChild(h),a.XBa=q,k!=q&&(this.removeChild(k),a.yka=q)):!d&&k!=q&&(this.removeChild(k),a.yka=q);var m=a.ne();if(c){var c=parseInt(this.K(b,dvt.ed.Hj),10),p=parseInt(this.K(b,dvt.ed.A2),10);if(h==q){if(m==dvt.ta.Jn){this.$O()&&(p=0);var n=(a.X().a+2*p)*a.ce(),r=(a.X().b+2*p)*
a.ie(),v=this.Wa(a)-p+n/2,x=this.fb(a)-p+r/2}else this.Qb()?(n=(a.X().a+(c+1))*a.ce(),r=(a.X().b+(c+1))*a.ie(),v=this.fb(a)-(c+1)/2+n/2,x=this.Wa(a)-(c+1)/2+r/2):(n=(a.X().a+2*p)*a.ce(),r=(a.X().b+2*p)*a.ie(),v=this.Wa(a)-p+n/2,x=this.fb(a)-p+r/2);h=new dvt.ta(this.j(),m,q,v,x,n,r,q,q,q,a.getId()+"_border");this.Jb(h,this.ni(a));a.XBa=h;h.la(this.QGa)}e=new dvt.xa(e,this.K(b,dvt.ed.pRa),c);h.Aa(e);(this.Qb()||m==dvt.ta.Ov||m==dvt.ta.$K||m==dvt.ta.PH||m==dvt.ta.OH||m==dvt.ta.uL)&&"false"!=this.pja.osa&&
h.wd();d&&(k==q&&(k=p-c,m==dvt.ta.Jn?(this.$O()&&(k=0),n=(a.X().a+2*k)*a.ce(),r=(a.X().b+2*k)*a.ie(),v=this.Wa(a)-k+n/2,x=this.fb(a)-k+r/2):this.Qb()?(n=(a.X().a+3)*a.ce(),r=(a.X().b+3)*a.ie(),v=this.fb(a)+n/2,x=this.Wa(a)-1+r/2):(n=(a.X().a+2*k)*a.ce(),r=(a.X().b+2*k)*a.ie(),v=this.Wa(a)-k+n/2,x=this.fb(a)-k+r/2),k=new dvt.ta(this.j(),m,q,v,x,n,r,q,q,q,a.getId()+"_glow"),this.Jb(k,this.ni(h)),a.yka=k,k.la(this.QGa)),f=new dvt.xa(f,this.K(b,dvt.ed.uTa),4),k.Aa(f),(this.Qb()||m==dvt.ta.Ov||m==dvt.ta.$K||
m==dvt.ta.PH||m==dvt.ta.OH||m==dvt.ta.uL)&&"false"!=this.pja.osa&&k.wd())}}else if((m=a.getId())&&"_drn_"==m.substring(0,5))m=this.K(b,dvt.ed.Eua),m==q&&(m="#000000"),f=parseInt(this.K(b,dvt.ed.ISa),10),a.Aa(new dvt.xa(m,1,f))};R.mi=function(){this.Lza||(this.Lza=new Tq(this));return this.Lza};dvt.ed.prototype.getAutomation=dvt.ed.prototype.mi;function Oq(a){this.Init(a)}dvt.k.A(Oq,dvt.k);R=Oq.prototype;R.Init=function(a){this.ca=a;this.LC=new dvt.NL(a.j())};
R.parse=function(a){var b=this.zL(a),c;if(c=a.axisTicks){var d={width:q,height:q};d.Ikb=c;c=d}else c=q;b.RQa=c;b.ohb=this.Oma(a.markers,b.VLa);b.tcb=a.formattedTimeRanges;return b};
R.zL=function(a){var b={};b.start=parseInt(a.start);b.end=parseInt(a.end);b.width=parseInt(a.width);b.Ksa=parseInt(a.renstart);b.currentTime=parseInt(a.ocd);b.orientation=a.orn;b.APa=a.ovp;b.N1=a.selmode;b.Kra=a.rtl.toString();b.borderTopStyle=a._bts;b.borderTopColor=a._btc;b.$ib=a.sid;b.iLa=a._aoc;var c={};c.shape=a._ds;c.rP=a._dsx;c.sP=a._dsy;c.opacity=a._do;c.color=a._fc;c.osa=a._ph;b.VLa=c;b.jra=a._hfc;b.lra=a._htc;b.pOa=a._hbi;b.sOa=a._hw;b.qOa=a._hh;b.xta=a._wbc;b.Fta=a._wbts;b.Dta=a._wbrs;
b.zta=a._wbbs;b.Bta=a._wbls;b.Eta=a._wbtc;b.Cta=a._wbrc;b.yta=a._wbbc;b.Ata=a._wblc;b.hsa=a._obc;b.ipa=a._ctic;b.ota=a._tic;b.PQa=a._tabc;b.QQa=a._tabo;b.YA=a._ls;c={};c._bs=a._bs;c._bc=a._bc;c._bw=a._bw;c._bof=a._bof;c._bo=a._bo;c._gc=a._gc;c._go=a._go;c._dbs=a._dbs;c._dbc=a._dbc;c._dbw=a._dbw;c._hbs=a._hbs;c._hbc=a._hbc;c._hbw=a._hbw;c._hbof=a._hbof;c._hbo=a._hbo;c._hgc=a._hgc;c._hgo=a._hgo;c._hdbs=a._hdbs;c._hdbc=a._hdbc;c._hdbw=a._hdbw;c._sbs=a._sbs;c._sbc=a._sbc;c._sbw=a._sbw;c._sbof=a._sbof;
c._sbo=a._sbo;c._sgc=a._sgc;c._sgo=a._sgo;c._sdbs=a._sdbs;c._sdbc=a._sdbc;c._sdbw=a._sdbw;c._asbs=a._asbs;c._asbc=a._asbc;c._asbw=a._asbw;c._asbof=a._asbof;c._asbo=a._asbo;c._asgc=a._asgc;c._asgo=a._asgo;c._asdbs=a._asdbs;c._asdbc=a._asdbc;c._asdbw=a._asdbw;b.Jab=c;return b};R.Oma=function(a,b){if(a){for(var c=[],d=0;d<a.length;d++){var e=this.ffa(a[d],b),e=new Uq(this.ca,e);c.push(e)}return c}return q};
R.ffa=function(a,b){var c={},d="true"==a._sd;c.id=a.tid;c.Osa=a.rk;c.time=a.t;c.JJ=a.et;c.shape=a.s;d&&c.shape==q&&(c.shape=b.shape);c.G$=a.d;c.color=a.c;c.K$=a.dfc;d&&c.color==q&&(c.color=b.color);c.rP=a.sx;d&&c.rP==q&&(c.rP=b.rP);c.sP=a.sy;d&&c.sP==q&&(c.sP=b.sP);c.Qfb=a.g;c.opacity=a.o;d&&c.opacity==q&&(c.opacity=b.opacity);return c};function Uq(a,b){this.Init(a,b)}dvt.k.A(Uq,dvt.k);R=Uq.prototype;
R.Init=function(a,b){this.ca=a;this.vJa=b.Osa;this.qc=b.id;this.v$a=parseInt(b.time);this.Lk=b.JJ==q?q:parseInt(b.JJ);this.$=dvt.ta.Jn;"square"==b.shape?this.$=dvt.ta.Ov:"plus"==b.shape?this.$=dvt.ta.uL:"diamond"==b.shape?this.$=dvt.ta.$K:"triangleUp"==b.shape?this.$=dvt.ta.PH:"triangleDown"==b.shape&&(this.$=dvt.ta.OH);this.LR=b.G$;this.Zn=b.color;this.Aka=b.Qfb;b.opacity!=q&&(this.z7a=parseFloat(b.opacity));b.rP!=q&&(this.M9a=parseFloat(b.rP));b.sP!=q&&(this.N9a=parseFloat(b.sP));b.K$!=q&&(this.jF=
b.K$)};R.getId=N("qc");R.getTime=N("v$a");R.ce=N("M9a");R.ie=N("N9a");R.zc=N("Zn");R.Cc=N("$");R.Cqa=N("z7a");R.Sa=N("cj");R.Og=I("cj");R.Wa=N("Oc");R.Ha=I("Oc");R.fb=N("Ed");R.ib=I("Ed");function Rq(a){this.Init("timeline");this.Qr=a}dvt.k.A(Rq,dvt.Xc);var Sq=dvt.Xc.Tfa;Rq.prototype.DO=function(){return this.bq("itemId")};function Tq(a){this.Bd(a)}dvt.k.A(Tq,dvt.Wd);Tq.prototype.Bd=I("Ud");
Tq.prototype.Ho=function(a){var b=a.getId();if(a instanceof dvt.ta){a=b.split(":");if(4!=a.length)return q;b=this.Ud.D9==q?q:this.Ud.D9.split(" ");if(b!=q&&(b=dvt.ha.rb(b,a[1]),-1<b))return"marker["+b+"]["+a[2]+"]"}else{if("window"==b)return"range_window";if("lh"==b||"lhb"==b||"lbgrh"==b)return"range_start_handle";if("rh"==b||"rhb"==b||"rbgrh"==b)return"range_end_handle";if("grpy"==b)return a=a.getParent().p0(a),this.Ho(a)}return q};
Tq.prototype.oi=function(a){for(var b=a.split("["),c=b.length,d=1;d<c;d++){var e=b[d],e=e.substr(0,e.length-1),f=parseFloat(e),e=isNaN(f)?e:f;b[d]=e}if(b&&3==b.length&&"marker"==b[0]){if(c=this.Ud.D9==q?q:this.Ud.D9.split(" "),c!=q&&(d=parseInt(b[1],10),-1<d&&d<c.length)){a:{a=this.Ud.Ju;b="tl1:"+c[d]+":"+b[2]+":";for(c=0;c<a.length;c++)if(d=a[c],e=d.getId(),e!=q&&0==e.indexOf(b)){b=d;break a}b=q}return b?b.Sa().nb():q}}else{if("range_window"==a)return this.Ud.bs().nb();if("range_start_handle"==a)return this.Ud.rqa().nb();
if("range_end_handle"==a)return this.Ud.Mqa().nb()}return q};ea("DvtTimelineOverviewAutomation.prototype.getDomElementForSubId",Tq.prototype.oi);