text: /**
   * Copyright (c) 2014, 2016, Oracle and/or its affiliates.
   * The Universal Permissive License (UPL), Version 1.0
   */
  "use strict";
  define(['./DvtToolkit', './DvtTimelineOverview'], function(dvt) {
    // Internal use only.  All APIs and functionality are subject to change at any time.
  
    // Map the D namespace to dvt, which is used to provide access across partitions.
    var D = dvt;
    
  D.TO={Zl:function(){return(0,D.Ef)()}};D.w.l(D.TO,D.w,"DvtTimeUtils");D.TO.ee=function(a,b,c,d){c=(c-a)*d;a=b-a;return 0==c||0==a?0:c/a};D.TO.qg=function(a,b,c,d){b=c*(b-a);return 0==b||0==d?a:b/d+a};
  D.MT=function(a,b,c){this.Init(a,b,c)};(0,D.ca)("DvtTimeComponent",D.MT);D.w.l(D.MT,D.lj,"DvtTimeComponent");D.MT.prototype.Init=function(a,b,c){D.MT.o.Init.call(this,a);this.mb=b;this.sa=c;this.uGa=!1};D.MT.prototype.P=function(a,b,c){c&&this.ud(c);this.Ga=a;this.Ua=b;this.D&&(a=this.wE(this.D),this.Iu(a))};D.MT.prototype.render=D.MT.prototype.P;D.MT.prototype.ud=function(a){this.D=D.il.Y(a)};D.MT.prototype.FL=function(a,b,c,d,e,f,g){b=new D.xi(this.j(),b,d,c,e,g);b.V(f);(0,D.yi)(b);a.k(b);return b};
  D.NT=function(a,b,c,d,e){b.ca(c);b.va(d);b.fl()&&b.ve(b.xo());D.Ve.Qb(b,e,window.Infinity,a);b.Xe()};D.MT.prototype.gD=function(a,b,c,d,e,f,g,h,i,k,l){c=new D.Ff(this.j(),c,b,0,g);null!=f&&c.Ha(f);a.k(c);var m=c.F();a.removeChild(c);e-=m.g;c.va(e);l&&c.ca(b-m.e);h&&(h=window.Math.min(m.e+2*i,d),b=new D.C(this.j(),(l?b-h+2*i:b)-i,e-i,h,m.g+2*i,"ob_"+g),b.Ha(f),(0,D.tq)(b,3),a.k(b),k&&k.push(b));D.Ve.Qb(c,d,window.Infinity,a);k&&k.push(c);return c};
  D.MT.prototype.Iu=function(a){this.FPa=a.ata;this.EPa=a.$sa;this.pb=a.start;this.Xb=a.end;this.$W=a.lsa;this.Xd=a.scale;this.tl=a.eHa;this.IL()};D.MT.prototype.IL=function(){(0,D.Qf)(this.ep,this.$W)};D.OT=function(a,b){a.Gc=a.Hg<b?b:a.Hg;a.uGa||(a.Jr=0,a.So=a.Gc)};D.MT.prototype.kh=function(){return(0,D.D)(this.j())};D.MT.prototype.Ra=(0,D.s)("Ub");
  D.PT=function(a,b,c,d,e,f){this.Init(a,b,c,d,e,f)};D.w.l(D.PT,D.B,"DvtTimeComponentAxis");D.PT.hea=50;D.PT.fea=21;D.PT.gea=2;D.PT.tua=1;D.PT.vua=1;D.PT.wha="seconds minutes hours days weeks months quarters years".split(" ");D.u=D.PT.prototype;D.u.Init=function(a,b,c,d,e,f){D.PT.o.Init.call(this,a);this.Dia=new D.QT;this.Zja=new D.RT(D.RT.SHORT,f);this.Yn=d?D.PT.hea:D.PT.fea;this.YE=D.PT.tua;this.Jv=e;this.tz=a.l_().dateToIsoConverter};D.u.Np=(0,D.q)("Xd");
  D.u.vH=function(){null==this.eR&&(this.eR=30);return this.eR};D.u.wta=(0,D.q)("YE");D.u.Qg=(0,D.s)("YE");D.u.Sc=function(){return this.Yn+2*this.YE};D.u.Ek=function(a,b){this.Zja=new D.RT(a,b)};D.u.GL=function(a){return this.Dia.GL(new window.Date(a),this.Xd)};D.u.dM=function(a){return this.Dia.dM(a,this.Xd)};
  D.ST=function(a,b){if(a.tl){var c;c=a.tl[a.Xd]?a.tl[a.Xd]:a.tl["default"]?a.tl["default"]:a.tl;if(c.format)return c.format(a.tz?a.tz(b):b);if(c.getAsString)return c.getAsString(b)}if(a.zJ&&a.zJ[a.Xd]){c=a.zJ[a.Xd];if(c.format)return c.format(a.tz?a.tz(b):b);if(c.getAsString)return c.getAsString(b)}return a.Zja.Yx(b,a.Xd)};
  D.RT=function(a,b){this.Init(a,b)};D.w.l(D.RT,D.w,"DvtTimeComponentAxisFormatter");D.RT.sva=0;D.RT.SHORT=1;
  D.RT.prototype.Init=function(a,b){this.og=a;this.hF=b;this.jj=[];this.jj[0]={};this.jj[0].seconds="HH:MM:ss";this.jj[0].minutes="HH:MM";this.jj[0].hours="HH:MM";this.jj[0].days="dddd";this.jj[0].weeks="m/dd";this.jj[0].months="mmmm";this.jj[0].quarters="mmmm";this.jj[0].halfyears="yyyy";this.jj[0].years="yyyy";this.jj[0].twoyears="yyyy";this.jj[1]={};this.jj[1].seconds="HH:MM:ss";this.jj[1].minutes="HH:MM";this.jj[1].hours="HH:MM";this.jj[1].days="m/dd";this.jj[1].weeks="m/dd";this.jj[1].months="mmm";
  this.jj[1].quarters="mmm";this.jj[1].halfyears="yy";this.jj[1].years="yy";this.jj[1].twoyears="yy"};D.RT.prototype.Yx=function(a,b){var c=this.jj[this.og][b];if(null!=c){if(-1!=c.indexOf(":"))var d=":";else-1!=c.indexOf("/")&&(d="/");if(d){for(var c=c.split(d),e=(0,D.TT)(this,a,c[0]),f=1;f<c.length;f++)e+=d+(0,D.TT)(this,a,c[f]);return e}return(0,D.TT)(this,a,c)}return a.toLocaleString()};
  D.TT=function(a,b,c){switch(c){case "ss":return a=b.getSeconds(),10>a?"0"+a:a;case "HH":return a=b.getHours(),10>a?"0"+a:a;case "MM":return a=b.getMinutes(),10>a?"0"+a:a;case "dd":return a=b.getDate(),10>a?"0"+a:a;case "dddd":return a.hF.CHa[b.getDay()+7];case "m":return b.getMonth()+1;case "mmm":return a.hF.Ysa[b.getMonth()];case "mmmm":return a.hF.Ysa[b.getMonth()+12];case "yy":return b.getFullYear().toString().substring(2,4);default:return b.getFullYear()}};
  D.QT=function(a){this.Init(a)};D.w.l(D.QT,D.w,"DvtTimeComponentCalendar");D.QT.prototype.Init=function(){this.YAa=864E5};
  D.QT.prototype.GL=function(a,b){var c=new window.Date(a.getTime());if("weeks"==b){c.setHours(0,0,0);var d=(a.getDay()-0+7)%7;0<d&&c.setTime(c.getTime()-d*this.YAa)}else"months"==b?c.setDate(1):"days"==b?c.setHours(0,0,0):"hours"==b?c.setMinutes(0,0,0):"minutes"==b?c.setSeconds(0,0):"seconds"==b?c.setMilliseconds(0):"quarters"==b?(c.setDate(1),d=2-(a.getMonth()+11)%3,0<d&&c.setMonth(c.getMonth()+d)):"halfyears"==b?(c.setDate(1),d=5-(a.getMonth()+11)%6,0<d&&c.setMonth(c.getMonth()+d)):"years"==b?(c.setMonth(0),
  c.setDate(1)):"twoyears"==b&&(c.setMonth(0),c.setDate(1));return c};
  D.QT.prototype.dM=function(a,b){if("seconds"==b)return new window.Date(a+1E3);if("minutes"==b)return new window.Date(a+6E4);if("hours"==b)return new window.Date(a+36E5);var c=new window.Date(a);"days"==b?c.setDate(c.getDate()+1):"weeks"==b?c.setDate(c.getDate()+7):"months"==b?c.setMonth(c.getMonth()+1):"quarters"==b?c.setMonth(c.getMonth()+3):"halfyears"==b?c.setMonth(c.getMonth()+6):"years"==b?c.setFullYear(c.getFullYear()+1):"twoyears"==b?c.setFullYear(c.getFullYear()+2):c.setYear(c.getYear()+1);
  return c};
  D.YT=function(a){this.Init(a)};D.w.l(D.YT,D.ck,"DvtTimelineKeyboardHandler");D.YT.prototype.Init=function(a){D.YT.o.Init.call(this,a)};D.YT.prototype.oy=function(a){return this.sg(a)&&!a.ctrlKey};D.YT.prototype.Zq=function(a){return 32==a.keyCode&&a.ctrlKey};
  D.YT.prototype.Ch=function(a){var b=a.keyCode;(0,D.sm)(a)||(0,D.tm)(a)?this.ea.kr(1/1.5):(0,D.um)(a)||(0,D.vm)(a)?this.ea.kr(1.5):33==b?(a.shiftKey?this.ea.ci(-0.25,0):this.ea.ci(0,-0.25),(0,D.bi)(a)):34==b&&(a.shiftKey?this.ea.ci(0.25,0):this.ea.ci(0,0.25),(0,D.bi)(a));return D.YT.o.Ch.call(this,a)};
  D.BU=function(a,b,c){var d=a.De(),e=a.rg(),f=(0,D.D)(d.j()),d=d.Ra(),g=1<c.length;if(!f&&39==b.keyCode||f&&37==b.keyCode)if(d){if(g&&1!=e)return(0,D.zU)(a,c[1])}else return(0,D.AU)(a,c[e],!0);else if(!f&&37==b.keyCode||f&&39==b.keyCode)if(d){if(g&&0!=e)return(0,D.zU)(a,c[0])}else return(0,D.AU)(a,c[e],!1);else if(40==b.keyCode){if(d)return(0,D.AU)(a,c[e],!0);if(g&&1!=e)return(0,D.zU)(a,c[1])}else if(38==b.keyCode){if(d)return(0,D.AU)(a,c[e],!1);if(g&&0!=e)return(0,D.zU)(a,c[0])}return null};
  D.AU=function(a,b,c){a=D.H.wa(b,a)+(c?1:-1);return 0<=a&&a<b.length?b[a]:null};D.zU=function(a,b){if(0<b.length){for(var c=b[0],d=a.Wo,e=window.Math.abs(d-c.Wo),f=1;f<b.length;f++){var g=window.Math.abs(d-b[f].Wo);g<e&&(e=g,c=b[f])}return c}return null};
  D.WT=function(a){this.Init(a.j(),a.Od,a);this.Kc=a;this.t7=this.o7=!1};D.w.l(D.WT,D.Jj,"DvtTimelineEventManager");D.u=D.WT.prototype;D.u.le=function(a){D.WT.o.le.call(this,a);D.cm.rR(this.Kc,this.hG,this.gG,this.fG,this);(0,D.Ef)()||((0,D.dj)()?a.ka("wheel",this.Dw,!1,this):a.ka(D.dm,this.Dw,!1,this),(0,D.Ji)()&&(a=this.j().Jc,a.ka("mouseenter",this.Ufa,!1,this),a.ka("mouseleave",this.Vfa,!1,this)))};
  D.u.ei=function(a){D.WT.o.ei.call(this,a);(0,D.Ef)()||((0,D.dj)()?a.Ya("wheel",this.Dw,!1,this):a.Ya(D.dm,this.Dw,!1,this),(0,D.Ji)()&&(a=this.j().Jc,a.Ya("mouseenter",this.Ufa,!1,this),a.Ya("mouseleave",this.Vfa,!1,this)))};D.u.HN=function(a){D.WT.o.HN.call(this,a);this.Kc.xN(a)};D.u.Hh=function(a){this.o7||(D.WT.o.Hh.call(this,a),(0,D.sU)(this.Kc,a))};D.u.wU=function(a){this.Tk&&this.Tk.vi()&&this.Tk.stop();D.WT.o.wU.call(this,a);!(0,D.Ji)()&&!this.a0&&(this.a0=!0,(0,D.gU)(this.Kc)||(0,D.hU)(this.Kc))};
  D.u.Ufa=function(){this.Tk&&this.Tk.vi()&&this.Tk.stop();this.a0||(this.a0=!0,(0,D.gU)(this.Kc)||(0,D.hU)(this.Kc))};D.u.Vfa=function(){this.Tk||(this.Tk=new D.Nq(this.j(),10,this.QX,this,1));this.Tk.reset();this.Tk.start()};D.u.vU=function(a){D.WT.o.vU.call(this,a);(0,D.Ji)()||(this.Tk||(this.Tk=new D.Nq(this.j(),10,this.QX,this,1)),this.Tk.reset(),this.Tk.start())};D.u.QX=function(){this.a0=!1};D.u.uU=function(a){this.o7=!1;D.WT.o.uU.call(this,a);this.Kc.sB(a)};
  D.u.Dw=function(a){var b=this.Kc;(0,D.bi)(a);var c=a.wheelDelta;if((0,D.fU)(b)&&c){var d=(0,D.em)(b.j());a=b.Ub?a.pageY-d.y:a.pageX-d.x;d=(b.Xb-b.pb)/b.Gc*a+b.yb;(0,D.nU)(b,b.Gc*(0.02*c+1),d,a,!0)}};D.u.CI=function(a){D.WT.o.CI.call(this,a);this.Kc.hU(a);this.Kc.j().Jc.Qy.parentNode.focus()};D.u.sU=function(a){D.WT.o.sU.call(this,a);this.Kc.gU(a)};D.u.hG=function(a){if((0,D.fU)(this.Kc))return(0,D.Ef)()?this.sQ(a):this.pQ(a)};D.u.gG=function(a){return(0,D.Ef)()?this.rQ(a):this.oQ(a)};
  D.u.fG=function(a){return(0,D.Ef)()?this.qQ(a):this.nQ(a)};D.u.wg=function(a,b){this.oi||(this.oi=(0,D.em)(this.U));return new D.E(a-this.oi.x,b-this.oi.y)};D.u.pQ=function(a){return 2!=a.button?(a=this.wg(a.pageX,a.pageY),this.Kc.tR(a.x,a.y),!0):!1};D.u.oQ=function(a){a=this.wg(a.pageX,a.pageY);this.Kc.vR(a.x,a.y)&&(this.o7=!0)};D.u.nQ=function(){this.Kc.ML();this.oi=null};
  D.u.sQ=function(a){var b=a.touches;if(1==b.length)return a=this.wg(b[0].pageX,b[0].pageY),this.Kc.tR(a.x,a.y),!0;if(2==b.length){this.Kc.ML();this.t7=!0;var c=this.wg(b[0].pageX,b[0].pageY),d=this.wg(b[1].pageX,b[1].pageY),b=this.Kc,e=c.x,c=c.y,f=d.x,d=d.y;b.e7=b.Ub?window.Math.sqrt((c-d)*(c-d))+(c<d?c:d):window.Math.sqrt((e-f)*(e-f))+(e<f?e:f);b.hla=(b.Xb-b.pb)/b.Gc*b.e7+b.yb;b.d7=window.Math.sqrt((e-f)*(e-f)+(c-d)*(c-d));b.gla=b.Gc;(0,D.bi)(a);return!0}return!1};
  D.u.rQ=function(a){var b=a.touches;if(1==b.length)b=this.wg(b[0].pageX,b[0].pageY),this.Kc.vR(b.x,b.y),a.preventDefault();else if(2==b.length){var c=this.wg(b[0].pageX,b[0].pageY),d=this.wg(b[1].pageX,b[1].pageY),b=this.Kc,e=c.x,c=c.y,f=d.x,d=d.y,e=window.Math.sqrt((e-f)*(e-f)+(c-d)*(c-d));e!=b.d7&&(b.xL=!0);(0,D.nU)(b,e/b.d7*b.gla,b.hla,b.e7,!1);a.preventDefault()}};
  D.u.qQ=function(a){if(this.t7){this.t7=!1;var b=this.Kc;b.d7=null;b.e7=null;b.gla=null;b.hla=null;b.xL&&(b.xL=!1,b.dispatchEvent(new D.mU("viewportChange",b.yb,b.Rc,b.Xd)))}else this.Kc.ML();a.preventDefault();this.oi=null};D.u.kr=function(a){this.Kc.kr(a)};D.u.ci=function(a,b){var c=a*this.Kc.Hg*((0,D.D)(this.U)?-1:1),d=b*this.Kc.Cf;0!=c&&(this.Kc.xL=!0);var e=this.dd();e&&(this.Kc.ph=e.tb);this.Kc.ci(c,d);(0,D.tU)(this.Kc)};D.u.r2=function(){this.Kc.kr(1/1.5)};D.u.s2=function(){this.Kc.kr(1.5)};
  D.u.zu=(0,D.ba)("touchHold");
  D.UT=(0,D.j)();(0,D.ca)("DvtTimeline",D.UT);D.w.l(D.UT,D.MT,"DvtTimeline");D.UT.newInstance=function(a,b,c){var d=new D.UT;d.Init(a,b,c);return d};D.UT.prototype.Init=function(a,b,c){D.UT.o.Init.call(this,a,b,c);this.pf=new D.VT;this.Ia=new D.WT(this);this.Ia.le(this);(0,D.Ef)()?this.CC=null:(this.CC=new D.YT(this.Ia),(0,D.rj)(this.Ia,this.CC))};D.UT.prototype.ud=function(a){this.D=this.pf.Tj(a);(0,D.Sk)()||(this.D.animationOnDisplay="none",this.D.animationOnDataChange="none")};
  D.UT.prototype.wE=function(a){this.tv=new D.ZT;return this.tv.parse(a)};
  D.UT.prototype.Iu=function(a){var b=a.orientation;this.Ub=b&&"vertical"==b?!0:!1;this.Lr=a.CLa;this.yb=a.UNa;this.Rc=a.TNa;this.Eq=a.cT;this.Um="single"==this.Eq?new D.Tk("s"):"multiple"==this.Eq?new D.Tk("m"):null;this.Ia.wu(this.Um);this.Tza=a.PGa;this.It=a.HNa;this.Xa=a.id;this.uG=a.ZMa;this.Jv=a.VNa;this.TQ=a.sNa;this.hF={CHa:[(0,D.P)("DvtUtilBundle","DAY_SHORT_SUNDAY",null),(0,D.P)("DvtUtilBundle","DAY_SHORT_MONDAY",null),(0,D.P)("DvtUtilBundle","DAY_SHORT_TUESDAY",null),(0,D.P)("DvtUtilBundle",
  "DAY_SHORT_WEDNESDAY",null),(0,D.P)("DvtUtilBundle","DAY_SHORT_THURSDAY",null),(0,D.P)("DvtUtilBundle","DAY_SHORT_FRIDAY",null),(0,D.P)("DvtUtilBundle","DAY_SHORT_SATURDAY",null),(0,D.P)("DvtUtilBundle","DAY_SUNDAY",null),(0,D.P)("DvtUtilBundle","DAY_MONDAY",null),(0,D.P)("DvtUtilBundle","DAY_TUESDAY",null),(0,D.P)("DvtUtilBundle","DAY_WEDNESDAY",null),(0,D.P)("DvtUtilBundle","DAY_THURSDAY",null),(0,D.P)("DvtUtilBundle","DAY_FRIDAY",null),(0,D.P)("DvtUtilBundle","DAY_SATURDAY",null)],Ysa:[(0,D.P)("DvtUtilBundle",
  "MONTH_SHORT_JANUARY",null),(0,D.P)("DvtUtilBundle","MONTH_SHORT_FEBRUARY",null),(0,D.P)("DvtUtilBundle","MONTH_SHORT_MARCH",null),(0,D.P)("DvtUtilBundle","MONTH_SHORT_APRIL",null),(0,D.P)("DvtUtilBundle","MONTH_SHORT_MAY",null),(0,D.P)("DvtUtilBundle","MONTH_SHORT_JUNE",null),(0,D.P)("DvtUtilBundle","MONTH_SHORT_JULY",null),(0,D.P)("DvtUtilBundle","MONTH_SHORT_AUGUST",null),(0,D.P)("DvtUtilBundle","MONTH_SHORT_SEPTEMBER",null),(0,D.P)("DvtUtilBundle","MONTH_SHORT_OCTOBER",null),(0,D.P)("DvtUtilBundle",
  "MONTH_SHORT_NOVEMBER",null),(0,D.P)("DvtUtilBundle","MONTH_SHORT_DECEMBER",null),(0,D.P)("DvtUtilBundle","MONTH_JANUARY",null),(0,D.P)("DvtUtilBundle","MONTH_FEBRUARY",null),(0,D.P)("DvtUtilBundle","MONTH_MARCH",null),(0,D.P)("DvtUtilBundle","MONTH_APRIL",null),(0,D.P)("DvtUtilBundle","MONTH_MAY",null),(0,D.P)("DvtUtilBundle","MONTH_JUNE",null),(0,D.P)("DvtUtilBundle","MONTH_JULY",null),(0,D.P)("DvtUtilBundle","MONTH_AUGUST",null),(0,D.P)("DvtUtilBundle","MONTH_SEPTEMBER",null),(0,D.P)("DvtUtilBundle",
  "MONTH_OCTOBER",null),(0,D.P)("DvtUtilBundle","MONTH_NOVEMBER",null),(0,D.P)("DvtUtilBundle","MONTH_DECEMBER",null)]};this.TQ?(this.RFa=a.qNa,this.bp=new D.PT(this.j(),null,null,this.Ub),this.bp.Np(this.TQ),this.bp.tl=this.RFa,this.Ub?(this.bp.Ek(D.RT.SHORT,this.hF),this.bp.zJ=this.Ri.converterVert):(this.bp.Ek(D.RT.sva,this.hF),this.bp.zJ=this.Ri.converter)):this.bp=null;this.cBa=[!1,!0];D.UT.o.Iu.call(this,a)};D.$T=function(a,b){return!a.Lr&&1==b?a.Xf.Sc()-a.Xf.Qg():a.Xf.Sc()};
  D.UT.prototype.select=function(a){this.D.selection=D.il.Y(a);this.Um&&(0,D.aU)(this)};D.UT.prototype.select=D.UT.prototype.select;
  D.UT.prototype.P=function(a,b,c){if(a){this.ud(a);this.D&&(this.Ri=this.D._resources,null==this.Ri&&(this.Ri=[]));this.Ga=b;this.Ua=c;a=this.wE(this.D);this.Iu(a);this.Jr=0;this.So=this.Ub?c:b;this.D.styleDefaults&&(this.az=this.D.styleDefaults.minorAxis,this.qDa=this.D.styleDefaults.majorAxis,this.CG=this.D.styleDefaults.series);(0,D.bU)(this);if(this.Xd){b=this.pb;c=this.Xb;a=this.j();var d=D.$.gIa(this.D);this.Xf=new D.PT(a,null,null,this.Ub,this.Jv);this.Xf.tl=this.tl;this.Xf.Ek(D.RT.SHORT,this.hF);
  this.sja=[];this.Al=[];this.Iv=[];if(this.Ub){var e=D.PT.fea;this.Xf.zJ=this.Ri.converterVert}else e=D.PT.hea,this.Xf.zJ=this.Ri.converter;for(var f=0;f<this.Xf.Jv.length;f++){var g=this.Xf.Jv[f];this.Xf.Np(g);var h=new D.C(a,0,0,0,0,"tempAxis"),i=window.Infinity,k=0,l=[],m=[],n=this.Xf.GL(b).getTime();for(l.push(n);n<c;){var o=(0,D.ST)(this.Xf,new window.Date(n)),p=new D.Ff(a,o,0,0,"s_label"+n);p.Ha(d);p.time=n;m.push(p);o=this.Xf.dM(n).getTime();h.k(p);var r=p.F();h.removeChild(p);this.Ub?(p=r.g,
  r=r.e):(p=r.e,r=r.g);p=window.Math.max(e,p+2*D.PT.gea);n=(o-n)/p;n<i&&(i=n);r>k&&(k=r);n=o;l.push(n)}h=this.Xf;k+=2*D.PT.gea;k>h.Yn&&(h.Yn=k);this.sja.push(l);this.Al.push(m);i=(c-b)/i;this.Iv.push(i);g==this.Xd&&(this.pA=f,this.X9&&((0,D.OT)(this,i),this.X9=!1,null==this.yb?null!=this.Rc?(this.yb=this.Rc-this.Hg/i*(c-b),this.yb<this.pb&&(this.yb=this.pb),g=this.Rc-this.yb,g=this.Hg/g,(0,D.OT)(this,g*(this.Xb-this.pb)),this.tc=g*(this.pb-this.yb),this.kh()&&!this.Ub&&(this.tc=this.Kj-this.Gc-this.tc)):
  (this.yb=this.pb,this.tc=0,this.kh()&&!this.Ub&&(this.tc=this.Kj-this.Gc-this.tc),this.Rc=this.Hg/i*(c-b)+this.yb,this.Rc>this.Xb&&(this.Rc=this.Xb)):(this.Rc=this.Hg/i*(c-b)+this.yb,this.Rc>this.Xb&&(this.Rc=this.Xb),g=this.Rc-this.yb,g=this.Hg/g,(0,D.OT)(this,g*(this.Xb-this.pb)),this.tc=g*(this.pb-this.yb),this.kh()&&!this.Ub&&(this.tc=this.Kj-this.Gc-this.tc))));0==f&&(this.d8=m.length*this.Hg)}this.Xf.Np(this.Xd);(0,D.cU)(this)}if(b=this.D.series){c=window.Math.min(b.length,2);this.FY=[];if(this.tb){if(c!=
  this.tb.length){for(a=0;a<this.tb.length;a++)this.Kg.removeChild(this.tb[a]);this.tb=[]}}else this.tb=[];for(a=0;a<c;a++){d=b[a];d.start=this.pb;d.end=this.Xb;d.inverted=this.cBa[a];d.orientation=this.D.orientation;d.referenceObjects=this.uG;d.timeline=this;d.index=a;d.animationOnDisplay=this.D.animationOnDisplay;d.animationOnDataChange=this.D.animationOnDataChange;this.D.majorAxis&&(d.scale=this.D.majorAxis.scale,d.timeAxis=this.bp);if(d.styleDefaults=this.D.styleDefaults)d.seriesStyleDefaults=this.CG,
  d.axisStyleDefaults=this.qDa;this.FY.push(d);null==this.tb[a]&&(d=new D.dU(this.j(),this.$ea,this),this.tb.push(d))}}else this.tb=[];D.eU.hNa(this);this.Pn();(0,D.Kl)(this.j(),[this])}else this.L6(b,c)};D.UT.prototype.render=D.UT.prototype.P;
  D.fU=function(a){var b=a.Xd&&-1!=D.H.wa(D.PT.wha,a.Xd),c=a.pb&&a.Xb&&a.Xb>a.pb,d=a.tb&&0<a.tb.length,e;if(d)a:{for(e=0;e<a.FY.length;e++){var f=a.FY[e];if(f.Rl)for(var g=0;g<f.Rl.length;g++){var h=f.Rl[g],i=(new window.Date(h.start)).getTime();if(!i){e=!1;break a}if(h.hasOwnProperty("end")&&(h=(new window.Date(h.end)).getTime(),!(h&&h>i))){e=!1;break a}}}e=!0}else e=!1;f=a.TQ?-1!=D.H.wa(D.PT.wha,a.TQ):!0;g=a.yb&&a.Rc?a.Rc>a.yb:!0;i=a.yb?a.yb>=a.pb&&a.yb<a.Xb:!0;a=a.Rc?a.Rc>a.pb&&a.Rc<=a.Xb:!0;return b&&
  c&&d&&e&&f&&g&&i&&a};D.UT.prototype.Fj=function(){return this.It?this.It:(0,D.P)("DvtUtilBundle","TIMELINE")};D.gU=function(a){for(var b=0;b<a.tb.length;b++)if(a.tb[b].dX)return!0;return!1};
  D.hU=function(a,b){if((0,D.fU)(a)){for(var c=new D.ar(a.j(),D.$.Rqa(),0,D.DD),d=0;d<a.ZC.length;d++){var e=a.ZC[d],f=e.getId(),g=!0;if(a.Gc<=a.Hg&&("lhs"==f||"rhs"==f))g=!1;var h=e.getParent().getId();if(h&&(h=h.substring(h.length-1),null!=b&&b!=h&&(g=!1),a.tb[h].Mi<=a.Cf&&("ths"==f||"bhs"==f)))g=!1;g&&(0,D.T)(c,"typeNumber",e,e.fa,e.B,D.$.gJa())}(0,D.al)(c,a.FLa,a);c.play()}};
  D.UT.prototype.FLa=function(){var a=this.ZC.length;if(0!=a){for(var b=new D.ar(this.j(),D.$.Rqa(),0,D.DD),c=0;c<a;c++){var d=this.ZC[c];(0,D.T)(b,"typeNumber",d,d.fa,d.B,0)}b.play()}};
  D.UT.prototype.IL=function(){this.ep=new D.F(D.$.IKa());if(this.D.styleDefaults){var a=this.D.styleDefaults.borderColor;a&&(0,D.Qf)(this.ep,"border-color:"+a+";")}if(this.Lr&&(this.QC=this.Ub?D.$.RJa():D.$.hba(),a=this.D.overview.style))for(var a=a.split(";"),b=0;b<a.length;b++){var c=a[b];if(c&&0<c.length){var d=c.indexOf(":");if(-1<d){var e=D.dg.trim(c.substring(0,d));if(this.Ub&&"width"==e||!this.Ub&&"height"==e){this.QC=(0,window.parseInt)(D.dg.trim(c.substring(d+1)),10);break}}}}D.UT.o.IL.call(this);
  a=this.ep.Qg();b=2*a;(0,D.Qf)(this.ep,"border:"+b+"px;");this.mj=this.Zh=a;this.Kj=this.Ga;this.xO=this.Ua;this.Ub?(this.Hg=this.xO-b,this.Lr?(this.yr=this.Kj-this.QC-b,this.kh()&&(this.Zh+=this.QC)):this.yr=this.Kj-b):(this.Hg=this.Kj-b,this.yr=this.Lr?this.Ua-this.QC-b:this.Ua-b)};
  D.cU=function(a){a.fO=new D.F(D.$.iIa());if(a.az){var b="",c=a.az.backgroundColor;c&&(b=b+"background-color:"+c+";");(c=a.az.borderColor)&&(b=b+"border-color:"+c+";");(c=a.az.borderWidth)&&(b=b+"border-width:"+c+";");(0,D.Qf)(a.fO,b)}(0,D.Qf)(a.fO,a.Tza);a.PE=a.fO.Qg();(0,D.Qf)(a.fO,"border:"+2*a.PE+"px;");a.Xf.wta(a.PE);a.eV=a.Gc+2*a.PE-D.PT.vua;if(a.CG&&a.CG.backgroundColor){var d=a.CG.backgroundColor,b=D.M.qe(d),c=D.M.oe(d),d=D.M.ne(d);a.RPa="background-color:rgba("+b+","+c+","+d+",0.8);"}};
  D.bU=function(a){a.X9=!0;a.tc=0;a.kh()&&!a.Ub&&(a.tc=a.Kj-a.Gc-a.tc);if(a.yb&&a.Rc){var b=a.Rc-a.yb;0<b&&(a.X9=!1,b=a.Hg/b,(0,D.OT)(a,b*(a.Xb-a.pb)),a.tc=b*(a.pb-a.yb),a.kh()&&!a.Ub&&(a.tc=a.Kj-a.Gc-a.tc))}};D.UT.prototype.hU=function(a){if(1==a.touches.length){if(this.ph=(0,D.iU)(this,a.target))var b=this.tb[0]==this.ph?0:1;(0,D.hU)(this,b)}};
  D.nU=function(a,b,c,d,e){b>a.d8?(b=a.d8,(0,D.jU)(a,!0)):(0,D.kU)(a,!0);a.Hg>b?(b=a.Hg,(0,D.jU)(a,!1)):(0,D.kU)(a,!1);var f=a.Gc<=b,g=(a.Rc-a.yb)/(a.Xb-a.pb)*a.Gc;(0,D.OT)(a,b);b=g/a.Gc*(a.Xb-a.pb);c?(g=(a.Xb-a.pb)/a.Gc,a.yb=c-d*g,a.yb<a.pb&&(a.yb=a.pb),a.Rc=a.yb+b,a.Rc>a.Xb&&(a.Rc=a.Xb,a.yb=a.Rc-b,a.yb<a.pb&&(a.yb=a.pb)),a.tc=1/g*(a.pb-a.yb)):(a.yb=a.pb,a.Rc=a.yb+b,a.yb<a.pb&&(a.yb=a.pb),a.tc=0);a.kh()&&!a.Ub&&(a.tc=a.Kj-a.Gc-a.tc);a.Lr&&a.kc.Wl(a.yb,a.Rc,a.Ub?a.kc.Ua:a.kc.Ga);if(f)for(;0<a.pA;)if(c=
  a.Iv[a.pA-1],a.Gc>=c){a.pA--;a:{c=a.Xf;for(d=1;d<c.Jv.length;d++)if(c.Jv[d]==c.Xd){c.Xd=c.Jv[d-1];break a}}a.Xd=a.Xf.Xd}else break;else for(;a.pA<a.Iv.length-1;)if(c=a.Iv[a.pA],a.Gc<c){a.pA++;a:{c=a.Xf;for(d=0;d<c.Jv.length-1;d++)if(c.Jv[d]==c.Xd){c.Xd=c.Jv[d+1];break a}}a.Xd=a.Xf.Xd}else break;(0,D.cU)(a);D.eU.nY(a,a.Kg);(0,D.lU)(a);a.Ub?a.Kg.O(a.mj+a.tc):a.Kg.I(a.Zh+a.tc);e&&a.dispatchEvent(new D.mU("viewportChange",a.yb,a.Rc,a.Xd))};
  D.UT.prototype.kr=function(a){var b=this.Ub?this.Ua/2:this.Ga/2;(0,D.nU)(this,this.Gc*((1/a-1)/2+1),(this.Xb-this.pb)/this.Gc*b+this.yb,b,!0)};
  D.lU=function(a){if(a.tb){var b=a.tb.length,c=(0,D.$T)(a,b);a.Cf=(a.yr-c)/b;for(var d=0;d<b;d++){var e=a.tb[d];(0,D.rg)(e,null);var f=new D.og;if(a.Ub){var g=a.kh()?window.Math.abs(d-1):d;if(a.kh()&&1==a.tb.length){(0,D.qg)(f,c,0,a.Cf,a.Gc);var h=new D.bj(1,0,0,1,c,0)}else(0,D.qg)(f,g*(a.Cf+c),0,a.Cf,a.Gc),h=new D.bj(1,0,0,1,g*(a.Cf+c),0);var i=a.Cf,g=a.Gc}else(0,D.qg)(f,0,d*(a.Cf+c),a.Gc,a.Cf),h=new D.bj(1,0,0,1,0,d*(a.Cf+c)),i=a.Gc,g=a.Cf;(0,D.rg)(e,f);e.za(h);f=i;e.nh.O(0);e.nh.I(0);e.Ga=f;e.Ua=
  g;e.Jr=0;e.Ub?(e.So=g,e.Mi=f,e.Lg=g,e.ko=f):(e.So=f,e.Mi=g,e.Lg=f,e.ko=g);e.Na.ma(f);e.Na.Da(g);D.oU.SNa(e)}}};D.u=D.UT.prototype;
  D.u.L6=function(a,b){this.Ga=a;this.Ua=b;this.IL();this.Jr=0;this.So=this.Ub?b:a;(0,D.bU)(this);D.eU.Et(this);if((0,D.fU)(this)){if(D.eU.boa(this,this.nh),(0,D.cU)(this),(0,D.lU)(this),D.eU.nY(this,this.Kg),D.eU.joa(this),D.eU.hoa(this),D.eU.moa(this),this.Lr&&(D.eU.eoa(this),this.Um)){var c=(0,D.vl)(this.Um);if(c&&0!=c.length)for(var d=0;d<c.length;d++){var e=this.kc,f=(0,D.pU)(e,c[d]);null!=f&&(0,D.qU)(e,f)}}}else D.eU.KQ(this)};
  D.u.xN=function(a){(39==a.keyCode||37==a.keyCode||40==a.keyCode||38==a.keyCode)&&(0,D.rU)(this,this.Ia.dd())};D.u.sB=function(a){this.ph=(0,D.iU)(this,a.target)};D.u.tR=function(a,b){this.z5=a;this.A5=b};D.u.gU=function(a){"none"!=this.Eq&&(0,D.sU)(this,a)};D.u.ML=function(){this.ph=null;(0,D.tU)(this)};D.tU=function(a){a.xL&&(a.xL=!1,a.dispatchEvent(new D.mU("viewportChange",a.yb,a.Rc,a.Xd)))};
  D.UT.prototype.vR=function(a,b){if(this.z5&&this.A5){var c=this.z5-a,d=this.A5-b;if(0==c&&0==d)return!1;this.xL=!0;this.z5=a;this.A5=b;this.ci(c,d);return!0}return!1};
  D.UT.prototype.ci=function(a,b){var c=(0,D.$T)(this,this.tb.length);if(this.Ub){var d,e;if(this.ph){var f=this.ph.N()-a;1<this.tb.length&&(!this.kh()&&this.ph.mk||this.kh()&&!this.ph.mk)?(d=c+2*this.ph.Ga-this.ph.Mi,e=this.ph.Ga+c):this.kh()&&!this.ph.mk?(d=this.ph.Ga-this.ph.Mi+c,e=c):(d=0,e=this.ph.Mi-this.ph.Ga);f<d?f=d:f>e&&(f=e);this.ph.I(f)}d=this.Kg.M()-b;e=-(this.Gc-this.Hg-this.mj);c=this.mj;d<e?d=e:d>c&&(d=c);this.Kg.O(d);this.tc=d-this.mj;d=this.Gc/(this.Xb-this.pb);e=this.Rc-this.yb;this.yb=
  this.pb-this.tc/d;this.Rc=this.yb+e;this.Lr&&(d=this.kc.Ua,this.kc.Wl(this.yb,this.Rc,d))}else f=this.Kg.N()-a,d=-(this.Gc-this.Hg-this.Zh),e=this.Zh,f<d?f=d:f>e&&(f=e),this.Kg.I(f),this.tc=f-this.Zh,this.kh()&&(this.tc=this.Kj-this.Gc-this.tc),d=this.Gc/(this.Xb-this.pb),e=this.Rc-this.yb,this.yb=this.pb-this.tc/d,this.Rc=this.yb+e,this.kh()&&(this.tc=this.Kj-this.Gc-this.tc),this.Lr&&(d=this.kc.Ga,this.kc.Wl(this.yb,this.Rc,d)),this.ph&&(d=this.ph.M()-b,this.ph.mk?(e=c+2*this.ph.Ua-this.ph.Mi,c=
  this.ph.Ua+c):(e=0,c=this.ph.Mi-this.ph.Ua),d<e?d=e:d>c&&(d=c),this.ph.O(d))};
  D.UT.prototype.$ea=function(a){var b=a.Ta();if("selection"==b||"dvtAct"==b)D.GC.dispatchEvent(this.mb,this.sa,this,a);else if("overview"==b){b=a.vj();if("rangeChanging"==b||"rangeChange"==b){var c=this.Rc-this.yb;this.yb=a.Wi("newStartTime");this.Rc=a.Wi("newEndTime");var d=this.Rc-this.yb;if(0<d){var e=this.Hg/d;(0,D.OT)(this,e*(this.Xb-this.pb));this.tc=e*(this.pb-this.yb);this.kh()&&!this.Ub&&(this.tc=this.Kj-this.Gc-this.tc);if(c>d){c=this.Iv.length;for(d=this.Iv[c-1];this.Gc>=d&&0<c;)c--,d=this.Iv[c-
  1];c==this.Iv.length&&c--}else{c=0;for(d=this.Iv[c];this.Gc<d&&c<this.Iv.length-1;)c++,d=this.Iv[c]}this.pA=c;this.Xf.Np(this.Xf.Jv[c]);this.Xd=this.Xf.Xd;(0,D.cU)(this);D.eU.nY(this,this.Kg);(0,D.lU)(this);this.Ub?this.Kg.O(this.mj+this.tc):this.Kg.I(this.Zh+this.tc)}"rangeChange"==b&&this.dispatchEvent(new D.mU("viewportChange",this.yb,this.Rc,this.Xd))}if("scrollPos"==b||"scrollTime"==b)this.yb=a.Wi("newStartTime"),this.Rc=a.Wi("newEndTime"),e=this.Gc/(this.Xb-this.pb),this.tc=e*(this.pb-this.yb),
  this.kh()&&!this.Ub&&(this.tc=this.Kj-this.Gc-this.tc),this.Ub?this.Kg.O(this.mj+this.tc):this.Kg.I(this.Zh+this.tc),this.dispatchEvent(new D.mU("viewportChange",this.yb,this.Rc,this.Xd))}else if(b=a.vj(),"selection"==b){b=a.iH();a=a.Wi("multiSelect");d=(null!=a?a:!1)&&"multiple"==this.Eq;for(a=0;a<this.tb.length;a++)for(var e=this.tb[a],f=0;f<e.Za.length;f++)if(c=e.Za[f],c.getId()==b){(0,D.Cl)(this.Um,c,d);(0,D.vj)(this.Ia,c);e=this.Rc-this.yb;this.yb=c.Wf-e/2;this.yb<this.pb?this.yb=this.pb:this.yb+
  e>this.Xb&&(this.yb=this.Xb-e);this.Rc=this.yb+e;this.tc=this.Gc/(this.Xb-this.pb)*(this.pb-this.yb);this.kh()&&!this.Ub&&(this.tc=this.Kj-this.Gc-this.tc);this.Ub?this.Kg.O(this.mj+this.tc):this.Kg.I(this.Zh+this.tc);this.dispatchEvent(new D.mU("viewportChange",this.yb,this.Rc,this.Xd));break}}else if("highlight"==b){b=a.iH();for(a=0;a<this.tb.length;a++){e=this.tb[a];for(f=0;f<e.Za.length;f++)if(c=e.Za[f],c.getId()==b){c.Ob(!0);break}}}else if("unhighlight"==b){b=a.iH();for(a=0;a<this.tb.length;a++){e=
  this.tb[a];for(f=0;f<e.Za.length;f++)if(c=e.Za[f],c.getId()==b){c.Db(!0);break}}}};D.kU=function(a,b){b?((0,D.Me)(a.Gk,!0),(0,D.Ie)(a.Gk)):((0,D.Me)(a.Hk,!0),(0,D.Ie)(a.Hk))};D.jU=function(a,b){b?((0,D.Me)(a.Gk,!1),(0,D.Je)(a.Gk),a.Gk.setCursor(null)):((0,D.Me)(a.Hk,!1),(0,D.Je)(a.Hk),a.Hk.setCursor(null))};
  D.rU=function(a,b){var c=a.Ub?b.getHeight():b.getWidth(),d=D.$.Vqa(),e=b.Wo-(a.Ub?c/2+d:D.$.JR()+d);a.kh()&&!a.Ub&&(e-=d,a.tc=a.Kj-a.Gc-a.tc);c=e+c+2*d;d=a.tc-a.Hg;-e>a.tc?a.tc=-e:-c<d&&(a.tc=-c+a.Hg);e=a.Gc/(a.Xb-a.pb);c=a.Rc-a.yb;a.yb=a.pb-a.tc/e;a.yb<a.pb&&(a.yb=a.pb,a.tc=(a.pb-a.yb)*e);a.Rc=a.yb+c;a.Rc>a.Xb&&(a.Rc=a.Xb,a.yb=a.Rc-c,a.tc=(a.pb-a.yb)*e);a.kh()&&!a.Ub&&(a.tc=a.Kj-a.Gc-a.tc);a.Ub?a.Kg.O(a.mj+a.tc):a.Kg.I(a.Zh+a.tc);a.Lr&&a.kc.Wl(a.yb,a.Rc,a.Ub?a.kc.Ua:a.kc.Ga);a.dispatchEvent(new D.mU("viewportChange",
  a.yb,a.Rc,a.Xd))};D.sU=function(a,b){if(b){var c=a.PJ(b.target);if(c){var d=(0,D.iU)(a,c);if(c.Pb){var d=(0,D.iU)(a,c),c=c.Pb,e=c.Ae();e&&(c=new D.uU(e,c.getId()),D.GC.dispatchEvent(d.mb,d.sa,d,c))}}}};D.aU=function(a){if(a.D.selection)for(var b=[],c=0;c<a.tb.length;c++)for(var d=a.tb[c],e=0;e<d.Za.length;e++)b.push(d.Za[e]);(0,D.Al)(a.Um,a.D.selection,b)};D.UT.prototype.Od=function(a){a&&this.dispatchEvent(a)};
  D.iU=function(a,b){if((0,D.fU)(a)&&b&&b!=a){var c=b.getId();return b==a.tb[0]||1<a.tb.length&&b==a.tb[1]?b:c&&"_s0"==c.substring(c.length-3,c.length)?a.tb[0]:c&&"_s1"==c.substring(c.length-3,c.length)?a.tb[1]:(0,D.iU)(a,b.getParent())}return null};
  D.UT.prototype.PJ=function(a){if(a){var b=a.getId();if(b&&"_duration_"==b.substring(0,10)&&a.Pb)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.Pb)return c;if(a=c.getParent()){if(b&&"_bubble_"==b.substring(0,8)&&a.Pb)return a;if((b=a.getId())&&"_bubble_"==b.substring(0,8)&&a.getParent())return a.getParent()}}}return null};D.UT.prototype.Df=function(){this.Ik||(this.Ik=new D.vU(this));return this.Ik};D.UT.prototype.getAutomation=D.UT.prototype.Df;
  D.UT.prototype.la=(0,D.s)("Ia");D.wU=function(a){a.At&&(a.removeChild(a.At),a.At=null)};
  D.vU=(0,D.q)("Kc");(0,D.ca)("DvtTimelineAutomation",D.vU);D.w.l(D.vU,D.xj,"DvtTimelineAutomation");D.vU.prototype.ol=function(a){if((a=(0,D.yj)(this.Kc.Ia,a))&&a instanceof D.xU)for(var b=0;b<this.Kc.tb.length;b++){var c=D.H.wa(this.Kc.tb[b].Za,a);if(-1!=c)return"timelineItem["+b+"]["+c+"]"}return null};
  D.vU.prototype.Ff=function(a){if(a){var b=a.indexOf("[");if(0<b&&"timelineItem"===a.substring(0,b)){var c=a.indexOf("]");if(0<c){var d=(0,window.parseInt)(a.substring(c+2,a.length-1));if(a=this.Kc.tb[(0,window.parseInt)(a.substring(b+1,c))])if(d=a.Za[d])return d.Yc()[0].ta()}}}return null};D.vU.prototype.getDomElementForSubId=D.vU.prototype.Ff;
  D.VT=function(){this.Init({alta:D.yU})};D.w.l(D.VT,D.Hj,"DvtTimelineDefaults");
  D.yU={animationOnDataChange:"none",animationOnDisplay:"none",orientation:"horizontal",overview:{rendered:"off"},selectionMode:"none",styleDefaults:{animationDuration:500,borderColor:"#d9dfe3",item:{backgroundColor:"#ffffff",borderColor:"#648baf",descriptionStyle:new D.F("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 12px; color: #084B8A; white-space: nowrap;"),hoverBorderColor:"#85bbe7",selectedBorderColor:"#000000",titleStyle:new D.F("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: bold; color: #000000; white-space: nowrap;")},
  majorAxis:{labelStyle:new D.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 D.F("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 12px; color: #333333;"),separatorColor:"#bcc7d2"},overview:{backgroundColor:"#e6ecf3",labelStyle:new D.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:D.$l,emptyTextStyle:new D.F("font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; color: #333333; white-space: nowrap;"),labelStyle:new D.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;")}}};
  D.ZT=(0,D.j)();D.w.l(D.ZT,D.w,"DvtTimelineParser");
  D.ZT.prototype.parse=function(a){this.vla=a.selectionMode;a.viewportStart&&(this.yb=new window.Date(a.viewportStart));a.viewportEnd&&(this.Rc=new window.Date(a.viewportEnd));this.Wf=new window.Date(a.start);this.Qh=new window.Date(a.end);var b=this.zE();b.lsa=a.style;var c=a.minorAxis;if(c){var d=c.scale;b.scale=d;var e=c.zoomOrder;null==e?e=[d]:e.reverse();b.VNa=e;b.eHa=c.converter;b.PGa=c.style}if(c=a.majorAxis)b.sNa=c.scale,b.qNa=c.converter;b.HNa=a.shortDesc;b.id=a.id;b.orientation=a.orientation;
  if((c=a.referenceObjects)&&0<c.length){d=[];for(e=0;e<c.length;e++)d.push(new window.Date(c[e].value));b.ZMa=d}a=a.overview;b.CLa=null!=a&&"on"==a.rendered?!0:!1;return b};D.ZT.prototype.zE=function(){var a={};a.ata=this.Wf;a.$sa=this.Qh;a.orientation="horizontal";a.start=this.Wf.getTime();a.end=this.Qh.getTime();this.yb&&(a.UNa=this.yb.getTime());this.Rc&&(a.TNa=this.Rc.getTime());a.cT="none";null!=this.vla&&(a.cT=this.vla);return a};
  D.eU={};D.w.l(D.eU,D.w,"DvtTimelineRenderer");
  D.eU.hNa=function(a){D.eU.Et(a);D.eU.q9(a);if((0,D.fU)(a)){D.eU.boa(a,a.nh);D.eU.wFa(a,a.Kg);D.eU.joa(a);D.eU.nY(a,a.Kg);a.Lr?D.eU.eoa(a):(0,D.wU)(a);if(a.CC)for(var b=0;b<a.tb.length;b++){var c=a.tb[b];if(c.Za&&0<c.Za.length){(0,D.vj)(a.Ia,c.Za[0]);break}}D.eU.hoa(a);D.eU.moa(a);a.Um&&(0,D.aU)(a);D.TO.Zl()&&(0,D.yE)(a,"flowto",a.tb[0].getId());for(b=0;b<a.tb.length;b++){var c=a.tb[b],d=c.j();c.YC&&0!=c.YC.length?(c.dX=!0,d=new D.cn(d,new D.gn(d,c.YC,D.$.xa(c.D))),d.play(),(0,D.al)(d,c.YDa,c)):c.Rz?
  (c.dX=!0,c.Rz.play(),(0,D.al)(c.Rz,c.C8,c)):c.Az&&0!=c.Az.length&&(c.dX=!0,d=new D.cn(d,new D.Km(d,c.Az,D.$.xa(c.D),0)),d.play(),(0,D.al)(d,c.xq,c))}(0,D.Sk)()&&!(0,D.gU)(a)&&(0,D.hU)(a)}else D.eU.KQ(a)};D.eU.Et=function(a){a.Na?((0,D.rg)(a.Na,null),a.Na.ma(a.Kj),a.Na.Da(a.xO)):a.Na=new D.C(a.j(),0,0,a.Kj,a.xO,"bg");a.Na.Ha(a.ep);(0,D.yi)(a.Na);var b=new D.og;(0,D.qg)(b,0,0,a.Kj,a.xO);(0,D.rg)(a.Na,b);a.Na.getParent()!=a&&a.k(a.Na)};D.eU.q9=function(a){a.nh||(a.nh=new D.B(a.j(),"canvas"),a.k(a.nh))};
  D.eU.boa=function(a,b){a.Kg?(0,D.rg)(a.Kg,null):a.Kg=new D.B(a.j(),"iCanvas");var c=new D.og;a.Ra()?((0,D.qg)(c,a.Zh,a.mj,a.yr,a.Hg),a.Kg.I(a.Zh),a.Kg.O(a.mj+a.tc)):((0,D.qg)(c,a.Zh,a.mj,a.Hg,a.yr),a.Kg.I(a.Zh+a.tc),a.Kg.O(a.mj));(0,D.rg)(b,c);a.Kg.getParent()!=b&&b.k(a.Kg)};
  D.eU.wFa=function(a,b){if(a.tb){var c=(0,D.D)(a.j()),d=a.tb.length,e=(0,D.$T)(a,d);if(!a.Ra()&&1<d&&a.yr%2!=e%2){var e=a.Xf,f=a.Xf.Yn+1;f>e.Yn&&(e.Yn=f);e=(0,D.$T)(a,d)}a.Cf=(a.yr-e)/d;for(f=0;f<d;f++){var g=a.tb[f];(0,D.rg)(g,null);var h=new D.og;if(a.Ra()){var i=c?window.Math.abs(f-1):f;c&&1==a.tb.length?((0,D.qg)(h,e,0,a.Cf,a.Gc),i=new D.bj(1,0,0,1,e,0)):((0,D.qg)(h,i*(a.Cf+e),0,a.Cf,a.Gc),i=new D.bj(1,0,0,1,i*(a.Cf+e),0));var k=a.Cf,l=a.Gc}else(0,D.qg)(h,0,f*(a.Cf+e),a.Gc,a.Cf),i=new D.bj(1,0,
  0,1,0,f*(a.Cf+e)),k=a.Gc,l=a.Cf;(0,D.rg)(g,h);g.za(i);g.getParent()!=b&&b.k(g);g.P(a.FY[f],k,l)}}};
  D.eU.joa=function(a){if(a.tb){var b=a.j(),c=(0,D.D)(b);if(a.dL)for(var d=0;d<a.dL.length;d++)a.removeChild(a.dL[d]);a.dL=[];for(var e=a.tb.length,f=D.$.nKa(),g=2*f,d=0;d<e;d++){var h=a.tb[d],i=h.Mc();if(null!=i){var k=D.$.oKa(a.D),i=new D.Ff(b,i,0,0,"sl_s"+d);i.Ha(k);a.k(i);var l=i.F();a.removeChild(i);var m=a.Ra()?a.Cf:a.Hg,m=window.Math.min(l.e,m- -38*(d-1)-g),n=D.$.mKa(),o=new D.C(b,0,0,m+2*n,l.g+2*n,"slb_s"+d);o.Ha(k);(0,D.tq)(o,3);if(a.Ra())k=c?window.Math.abs(d-1)*(a.yr-m-g)+f+a.Zh+38*(d-1):
  d*(a.yr-m-g)+f+a.Zh+-38*(d-1),p=a.mj+f;else var k=c?a.Hg-m-f- -38*(d-1):a.Zh+f+-38*(d-1),p=d*(a.yr-l.g-g)+f+a.mj;l=new D.bj(1,0,0,1,k,p);i.za(l);l=new D.bj(1,0,0,1,k-n,p-n);o.za(l);a.k(o);D.Ve.Qb(i,m,window.Infinity,a);a.dL.push(o);a.dL.push(i)}h.TCa&&(h=h.qD(),null!=h&&(h=new D.Ff(b,h,0,0,"et_s"+d),h.Ha(D.$.Mqa(a.D)),a.k(h),l=h.F(),a.removeChild(h),l=new D.bj(1,0,0,1,(a.Hg-l.e)/2+a.Zh,d*(a.Cf+(0,D.$T)(a,e))+(a.Cf-l.g)/2+a.mj),h.za(l),a.k(h),a.dL.push(h)))}}};
  D.eU.nY=function(a,b){var c=a.j(),d=(0,D.D)(c),e=a.tb.length,f=a.Xf.Sc(),g=(0,D.$T)(a,e),e=1==e?a.yr-g:a.yr/e-g/2;d&&(a.Ra()&&1==a.tb.length)&&(e=0);null==a.Je?(d=new D.og,a.Ra()?(a.Je=new D.C(c,e,-a.PE,f,a.eV,"axis"),(0,D.qg)(d,e,0,f,a.Gc)):(a.Je=new D.C(c,-a.PE,e,a.eV,f,"axis"),(0,D.qg)(d,0,e,a.Gc,f)),a.Je.Ha(a.fO),(0,D.yi)(a.Je),(0,D.rg)(a.Je,d),b.k(a.Je)):((0,D.rg)(a.Je,null),d=new D.og,a.Ra()?(a.Je.ca(e),a.Je.va(-a.PE),a.Je.ma(f),a.Je.Da(a.eV),(0,D.qg)(d,e,0,f,a.Gc)):(a.Je.ca(-a.PE),a.Je.va(e),
  a.Je.ma(a.eV),a.Je.Da(f),(0,D.qg)(d,0,e,a.Gc,f)),(0,D.rg)(a.Je,d));D.eU.r9(a,e)};D.eU.r9=function(a,b){a.Je.Aj();var c=new D.F(D.$.hIa());if(a.az){var d=a.az.separatorColor;d&&(0,D.Qf)(c,"color:"+d+";")}a.cL=new D.I(c.A("color"));c=b+a.Xf.YE;D.eU.AFa(a,a.Jr,a.So,a.Je,a.Gc,c+a.Xf.Yn,c,c);D.eU.s9(a,a.Jr,a.So,a.Kg,a.Gc)};
  D.eU.AFa=function(a,b,c,d,e,f,g,h){var i=a.j(),k=(0,D.D)(i),i=new D.B(i,"block_"+b+"_"+c);i.Eta=b;i.jqa=c;d.k(i);b=a.sja[a.pA];c=a.Al[a.pA];for(d=0;d<b.length-1;d++){var l=b[d],m=b[d+1],n=D.TO.ee(a.pb,a.Xb,l,e),m=D.TO.ee(a.pb,a.Xb,m,e),o=m-n;0!=n&&((a.Ra()?a.FL(i,f,g,n,n,a.cL,"s_tick"+l):k?a.FL(i,e-n,e-n,f,g,a.cL,"s_tick"+l):a.FL(i,n,n,f,g,a.cL,"s_tick"+l)).time=l);a.Ra()?(0,D.NT)(i,c[d],h+(f-h)/2,n+(m-n)/2-7,f-h):k?(0,D.NT)(i,c[d],e-(n+(m-n)/2),h+2,o):(0,D.NT)(i,c[d],n+(m-n)/2,h+2,o)}};
  D.eU.s9=function(a,b,c,d,e){var f=(0,D.D)(a.j());if(a.SF)for(var g=0;g<a.SF.length;g++)d.removeChild(a.SF[g]);a.SF=[];if(a.TQ){var g=a.pb,h=a.Xb;b=D.TO.qg(g,h,b,e);b=a.bp.GL(b);for(var i=D.TO.ee(g,h,b,e);i<c;){var k=(0,D.ST)(a.bp,b),l=a.bp.dM(b.getTime()),m=D.TO.ee(g,h,l,e),n=m-i,o=i;(f?a.Ra()?a.gD(d,a.yr-5,k,n,o+18,D.$.z_(a.D),"o_label"+i+"_s0",!0,D.$.y_(),a.SF,f):a.gD(d,e-(o+5),k,n,a.Cf-2,D.$.z_(a.D),"o_label"+i+"_s0",!0,D.$.y_(),a.SF,f):a.Ra()?a.gD(d,5,k,n,o+18,D.$.z_(a.D),"o_label"+i+"_s0",!0,
  D.$.y_(),a.SF,f):a.gD(d,o+5,k,n,a.Cf-2,D.$.z_(a.D),"o_label"+i+"_s0",!0,D.$.y_(),a.SF,f)).time=b.getTime();b=l;i=m}}};
  D.eU.eoa=function(a){var b=a.j(),c=(0,D.D)(b);if(null==a.At){var d=!0;a.At=new D.B(b,"oCanvas")}else a.At.Aj();var e=a.ep.Qg(),f=e/2;if(a.Ra()){var g=a.QC,e=a.Ua-e;c?a.At.I(f):a.At.I(a.Ga-a.QC-f);a.At.O(f)}else g=a.Ga-e,e=a.QC,a.At.O(a.Ua-a.QC-f),a.At.I(f);d&&a.k(a.At);a.kc=new D.CU(b,a.$ea,a);a.At.k(a.kc);var b=a.Ub?"":'_ds\x3d"square" _dsx\x3d"1.3d" _dsy\x3d"0.9d" ',c=D.$.PJa(a.D),d=D.$.QJa(a.D),f=D.$.SJa(a.D),h=D.$.TJa(a.D),i=D.$.Dra(a.D),b='\x3ctimelineOverview renstart\x3d"'+a.yb+'" start\x3d"'+
  a.pb+'" end\x3d"'+a.Xb+'" width\x3d"'+a.Gc+'" orn\x3d"'+(a.Ub?"vertical":"horizontal")+(a.uG&&0<a.uG.length&&a.uG[0]?'" ocd\x3d"'+a.uG[0].getTime():"")+'" _hbi\x3d"'+(a.Ub?a.Ri.overviewHandleVert+'" _hw\x3d"15" _hh\x3d"3"':a.Ri.overviewHandleHor+'" _hw\x3d"3" _hh\x3d"15"')+' ovp\x3d"below" selmode\x3d"'+a.Eq+'" rtl\x3d"'+a.kh()+'" sid\x3d"ts1" _bts\x3d"none" _btc\x3d"#4f4f4f" _fc\x3d"#aadd77" '+b+'_do\x3d"0" _wbc\x3d"'+f+'" _wbts\x3d"solid" _wbrs\x3d"solid" _wbbs\x3d"solid" _wbls\x3d"solid" _wbtc\x3d"'+
  h+'" _wbrc\x3d"'+h+'" _wbbc\x3d"'+h+'" _wblc\x3d"'+h+'" _hfc\x3d"'+f+'" _obc\x3d"'+c+'" _ctic\x3d"'+i+'" _ls\x3d"'+d+'" _tic\x3d"#BCC7D2" _tabc\x3d"#D9DFE3" _tabo\x3d"0" _bs\x3d"solid" _bc\x3d"#648BAF" _bw\x3d"1px" _bof\x3d"0px" _dbs\x3d"solid" _dbc\x3d"#648BAF" _dbw\x3d"1px" _hbs\x3d"solid" _hbc\x3d"#85bbe7" _hbw\x3d"2px" _hbof\x3d"0px" _hgc\x3d"#ebeced" _hgo\x3d"1" _hdbs\x3d"solid" _hdbc\x3d"#85bbe7" _hdbw\x3d"2px" _sbs\x3d"solid" _sbc\x3d"#000000" _sbw\x3d"2px" _sbof\x3d"0px" _sbo\x3d"1" _sdbs\x3d"solid" _sdbc\x3d"#000000" _sdbw\x3d"2px" _asbs\x3d"solid" _asbc\x3d"#000000" _asbw\x3d"2px" _asbof\x3d"0px" _asbo\x3d"1" _asgc\x3d"#e4f0fa" _asgo\x3d"1" _asdbs\x3d"solid" _asdbc\x3d"#000000" _asdbw\x3d"2px" _aoc\x3d"off"\x3e',
  c="\x3cticks\x3e";if(a.bp)for(var d=a.pb,f=a.Xb,h=a.Ub?a.Ua:a.Ga,i=D.TO.qg(d,f,a.Jr,h),i=a.bp.GL(i),k=D.TO.ee(d,f,i,h);k<a.So;)var k=(0,D.ST)(a.bp,i),l=a.bp.dM(i.getTime()),m=D.TO.ee(d,f,l,h),c=c+('\x3ctick time\x3d"'+i.getTime()+'" label\x3d"'+k+'"/\x3e'),i=l,k=m;b+=c+"\x3c/ticks\x3e";if(a.tb){c="\x3cmarkers\x3e";d=a.tb.length;for(f=0;f<d;f++){h=a.tb[f].Za;for(i=0;i<h.length;i++){k=h[i];c+='\x3cti rk\x3d"'+i;c+='" tid\x3d"'+k.getId();c+='" t\x3d"'+k.Wf;if(l=k.Qh)c+='" et\x3d"'+l,(k=k.xz)&&(c+='" dfc\x3d"'+
  k);c+='" _sd\x3d"true"/\x3e'}}c+="\x3c/markers\x3e"}else c=void 0;a.kc.P(b+c+"\x3c/timelineOverview\x3e",g,e)};
  D.eU.hoa=function(a){if(a.tb){var b=a.j(),c=(0,D.D)(b),d=a.tb.length,e=(0,D.$T)(a,d);if(a.SQ)for(var f=0;f<a.SQ.length;f++)a.SQ[f].Aj();else{var g=!0;a.SQ=[]}a.ZC=[];for(var h=D.$.hJa(),i=D.$.iJa(),k=D.$.fJa(),l=D.$.cJa(),m=D.$.bJa(),n=D.$.dJa(),o=D.$.eJa(),f=0;f<d;f++){if(g){var p=new D.B(b,"hotspots_s"+f);a.k(p);a.SQ.push(p)}else p=a.SQ[f];if(a.Ra())var r=c?window.Math.abs(f-1):f,t=K=a.Zh+r*(a.Cf+e)+(a.Cf-i)/2,v=a.mj+h,z=a.mj+a.Hg-k-h,r=U=K+l/2,L=v+m/2,J=z+m/2,G=a.Ri.scrollUp,O=a.Ri.scrollDown;
  else var K=a.Zh+h,t=a.Zh+a.Hg-i-h,v=a.mj+f*(a.Cf+e)+(a.Cf-k)/2,z=v,U=K+l/2,r=t+l/2,L=v+m/2,J=L,G=a.Ri.scrollLeft,O=a.Ri.scrollRight;K=new D.C(b,K,v,i,k,"lhs");K.pa(n,1);(0,D.tq)(K,o);K.zH="left";K.B(0);K.qa(!1);U=new D.Pe(b,G,U,L,l,m,"lhs_arr");U.zH="left";K.k(U);t=new D.C(b,t,z,i,k,"rhs");t.pa(n,1);(0,D.tq)(t,o);t.zH="right";t.B(0);t.qa(!1);r=new D.Pe(b,O,r,J,l,m,"rhs_arr");r.zH="right";t.k(r);p.k(K);a.ZC.push(K);p.k(t);a.ZC.push(t);a.Ra()?(r=c?window.Math.abs(f-1):f,K=a.Zh+r*(a.Cf+e)+h,t=a.Zh+(r+
  1)*a.Cf+r*e-i-h,z=v=a.mj+(a.Hg-k)/2,U=K+l/2,r=t+l/2,J=L=v+m/2,G=a.Ri.scrollLeft,O=a.Ri.scrollRight):(t=K=a.Zh+(a.Hg-i)/2,v=a.mj+f*(a.Cf+e)+h,z=a.mj+(f+1)*a.Cf+f*e-k-h,r=U=K+l/2,L=v+m/2,J=z+m/2,G=a.Ri.scrollUp,O=a.Ri.scrollDown);K=new D.C(b,K,v,i,k,"ths");K.pa(n,1);(0,D.tq)(K,o);K.zH="top";K.B(0);K.qa(!1);U=new D.Pe(b,G,U,L,l,m,"ths_arr");U.zH="top";K.k(U);t=new D.C(b,t,z,i,k,"bhs");t.pa(n,1);(0,D.tq)(t,o);t.zH="bottom";t.B(0);t.qa(!1);r=new D.Pe(b,O,r,J,l,m,"bhs_arr");r.zH="bottom";t.k(r);p.k(K);
  a.ZC.push(K);p.k(t);a.ZC.push(t)}}};
  D.eU.moa=function(a){var b=a.j(),c=(0,D.D)(b),d=(0,D.CF)(b,a.Ri.zoomIn),e=(0,D.CF)(b,a.Ri.zoomIn_h),f=(0,D.CF)(b,a.Ri.zoomIn_a),g=(0,D.CF)(b,a.Ri.zoomIn_d);null==a.Gk?(a.Gk=new D.BF(b,d,e,f,g,a.Ia,a.Ia.r2),a.Ia.Fa(a.Gk,a.Gk)):((0,D.Pt)(a.Gk,d),(0,D.Rt)(a.Gk,e),(0,D.Qt)(a.Gk,f),(0,D.vF)(a.Gk,g));d=(0,D.CF)(b,a.Ri.zoomOut);e=(0,D.CF)(b,a.Ri.zoomOut_h);f=(0,D.CF)(b,a.Ri.zoomOut_a);g=(0,D.CF)(b,a.Ri.zoomOut_d);null==a.Hk?(a.Hk=new D.BF(b,d,e,f,g,a.Ia,a.Ia.s2),a.Ia.Fa(a.Hk,a.Hk)):((0,D.Pt)(a.Hk,d),(0,D.Rt)(a.Hk,
  e),(0,D.Qt)(a.Hk,f),(0,D.vF)(a.Hk,g));a.Gk.Dj((0,D.P)("DvtUtilBundle","ZOOM_IN",null));a.Hk.Dj((0,D.P)("DvtUtilBundle","ZOOM_OUT",null));a.Gk.zo();a.Hk.zo();D.TO.Zl()&&(D.A.C(a.Gk.ta(),"role","button"),D.A.C(a.Gk.ta(),"aria-label",(0,D.P)("DvtUtilBundle","ZOOM_IN",null)),D.A.C(a.Hk.ta(),"role","button"),D.A.C(a.Hk.ta(),"aria-label",(0,D.P)("DvtUtilBundle","ZOOM_OUT",null)));c?(a.Gk.I(a.Kj-44),a.Hk.I(a.Kj-44)):(a.Gk.I(a.Zh+11),a.Hk.I(a.Zh+11));a.Gk.O(a.mj+11);a.Hk.O(a.mj+48);a.Gk.getParent()!=a.nh&&
  a.nh.k(a.Gk);a.Hk.getParent()!=a.nh&&a.nh.k(a.Hk);b=a.Gc;b>=a.d8&&(0,D.jU)(a,!0);a.Hg>=b&&(0,D.jU)(a,!1)};D.eU.KQ=function(a){var b=a.D.series?(0,D.P)("DvtUtilBundle","INVALID_DATA",null):(0,D.P)("DvtUtilBundle","NO_DATA",null);a.nh&&a.nh.Aj();(0,D.wU)(a);D.Ve.Lm(a.nh,b,new D.y(0,0,a.Kj,a.xO),a.Ia,D.$.Mqa(a.D))};
  D.$={};D.w.l(D.$,D.w,"DvtTimelineStyleUtils");D.$.yxa="border:1px #d9dfe3;background-color:#f9f9f9;";D.$.Uwa="background-color:#f9f9f9;border:1px #d9dfe3;";D.$.Twa="color:#bcc7d2;";D.$.vxa="background-color:#f9f9f9;";D.$.uxa=20;D.$.txa=2;D.$.sxa="color:#bcc7d2";D.$.rxa=1;D.$.pxa=60;D.$.oxa=100;D.$.axa="#000000";D.$.bxa=2;D.$.dxa=0.6;D.$.fxa=28;D.$.cxa=28;D.$.exa=3;D.$.$wa=14;D.$.Zwa=14;D.$.Ywa=0.3;D.$.ixa=1;D.$.jxa=2;D.$.mxa=2;D.$.kxa="rgba(249,249,249,0)";D.$.gxa="#e4f0fa";D.$.hxa="rgba(249,249,249,0)";
  D.$.lxa=2;D.$.Vwa=20;D.$.Wwa=15;D.$.Xwa=10;D.$.xxa=32;D.$.wxa=32;D.$.Uqa=function(a){var b=a.tb.q().styleDefaults.item.descriptionStyle;if(a=a.A())a=new D.F(a),(0,D.Qf)(b,a);return b};D.$.ara=function(a){var b=a.tb.q().styleDefaults.item.titleStyle;if(a=a.A())a=new D.F(a),(0,D.Qf)(b,a);return b};D.$.Dra=function(a){return a.styleDefaults.referenceObject.color};D.$.oKa=function(a){return a.styleDefaults.series.labelStyle};D.$.mKa=function(){return D.$.txa};D.$.nKa=function(){return D.$.uxa};
  D.$.Mqa=function(a){return a.styleDefaults.series.emptyTextStyle};D.$.JR=function(){return D.$.Vwa};D.$.RL=function(){return D.$.Wwa};D.$.Waa=function(a){var b=a.A();return b&&(b=(new D.F(b)).A("background-color"))?b:a.tb.q().styleDefaults.item.backgroundColor};D.$.YR=function(a){var b=a.A();return b&&(b=(new D.F(b)).A("border-color"))?b:a.tb.q().styleDefaults.item.borderColor};D.$.Xaa=function(){return D.$.ixa};
  D.$.kJa=function(a){var b=a.tb.q().styleDefaults.item.hoverBackgroundColor;return b?b:D.$.Waa(a)};D.$.lJa=function(a){var b=a.tb.q().styleDefaults.item.hoverBorderColor;return b?b:D.$.YR(a)};D.$.Vqa=function(){return D.$.jxa};D.$.Yqa=function(a){var b=a.tb.q().styleDefaults.item.selectedBackgroundColor;return b?b:D.$.Waa(a)};D.$.Zqa=function(a){var b=a.tb.q().styleDefaults.item.selectedBorderColor;return b?b:D.$.YR(a)};D.$.$qa=function(){return D.$.mxa};D.$.pKa=function(){return D.$.vxa};
  D.$.wIa=function(a){return a.styleDefaults.series.colors};D.$.Lqa=function(){return D.$.Xwa};D.$.yba=function(){return D.$.xxa};D.$.Ira=function(){return D.$.wxa};D.$.lKa=function(){return D.$.sxa};D.$.Wqa=function(){return D.$.gxa};D.$.mJa=function(){return D.$.kxa};D.$.Xqa=function(){return D.$.hxa};D.$.nJa=function(){return D.$.lxa};D.$.Rqa=function(){return D.$.Ywa};D.$.gJa=function(){return D.$.dxa};D.$.IKa=function(){return D.$.yxa};D.$.RJa=function(){return D.$.pxa};D.$.hba=function(){return D.$.oxa};
  D.$.iIa=function(){return D.$.Uwa};D.$.gIa=function(a){return a.styleDefaults.minorAxis.labelStyle};D.$.SJa=function(a){return a.styleDefaults.overview.window.backgroundColor};D.$.TJa=function(a){return a.styleDefaults.overview.window.borderColor};D.$.PJa=function(a){return a.styleDefaults.overview.backgroundColor};D.$.QJa=function(a){return a.styleDefaults.overview.labelStyle};D.$.z_=function(a){return a.styleDefaults.majorAxis.labelStyle};D.$.hIa=function(){return D.$.Twa};D.$.y_=function(){return D.$.rxa};
  D.$.hJa=function(){return D.$.exa};D.$.iJa=function(){return D.$.fxa};D.$.fJa=function(){return D.$.cxa};D.$.cJa=function(){return D.$.$wa};D.$.bJa=function(){return D.$.Zwa};D.$.dJa=function(){return D.$.axa};D.$.eJa=function(){return D.$.bxa};D.$.xa=function(a){return(0,D.Po)(a.styleDefaults.animationDuration)/1E3};
  D.dU=function(a,b,c){this.Init(a,b,c)};D.w.l(D.dU,D.MT,"DvtTimelineSeries");D.u=D.dU.prototype;D.u.Init=function(a,b,c){D.dU.o.Init.call(this,a,b,c);this.XE=[];this.NQ=[];this.HY=[];this.vPa=[]};D.u.YDa=function(){for(var a=0;a<this.YC.length;a++){var b=this.YC[a];b.getParent().removeChild(b)}this.Rz&&this.Rka?(this.Rz.play(),(0,D.al)(this.Rz,this.C8,this)):this.C8()};
  D.u.C8=function(){if(this.Az&&0!=this.Az.length){var a=new D.cn(this.j(),new D.Km(this.j(),this.Az,D.$.xa(this.D),0));a.play();(0,D.al)(a,this.xq,this)}else this.xq()};D.u.xq=function(){this.dX=!1;(0,D.Sk)()&&(0,D.hU)(this.sa)};
  D.u.P=function(a,b,c){a&&this.ud(a);this.VCa=this.Ga?!1:!0;this.Ga=b;this.Ua=c;(a=this.D.orientation)&&"vertical"==a?(this.aO=!1==this.Ub?!1:!0,this.Ub=!0):(this.aO=this.Ub?!1:!0,this.Ub=!1);this.D&&(a=this.wE(this.D),this.Iu(a));this.Jr=0;this.Ub?(this.So=c,this.Mi=b,this.Lg=c,this.ko=b):(this.So=b,this.Mi=c,this.Lg=b,this.ko=c);this.mk=this.D.inverted;this.Mz=this.$w=0;D.oU.gNa(this,b,c);D.TO.Zl()&&0<this.Za.length&&(0,D.yE)(this,"flowto","_bt_"+this.Za[0].getId());if(b=this.Fj())D.A.C(this.ta(),
  "role","group"),D.A.C(this.ta(),"aria-label",D.dg.XA(b))};D.u.Fj=function(){var a=[(0,D.P)("DvtUtilBundle","TIMELINE_SERIES")];this.Bb?a.push(this.Bb):a.push(this.D.index+1);return(0,D.P)("DvtUtilBundle","COLON_SEP_LIST",a)};D.u.IL=function(){this.ep=new D.F(D.$.pKa());this.CG=this.D.seriesStyleDefaults;this.az=this.D.axisStyleDefaults;this.Pia=D.$.wIa(this.D);this.uG=this.D.referenceObjects;if(this.CG){var a=this.CG.backgroundColor;a&&(0,D.Qf)(this.ep,"background-color:"+a+";")}D.UT.o.IL.call(this)};
  D.u.ud=(0,D.q)("D");D.u.wE=function(a){this.tv=new D.LU;return this.tv.parse(a,this.Za)};D.u.Iu=function(a){this.Za&&(this.hQ=this.Za);this.TCa=(this.Za=a.Rl)&&0<this.Za.length?!1:!0;this.UCa=a.XLa;this.SCa=a.PLa;this.Bb=a.label;this.Xf=a.ONa;this.en=a.RHa;null==this.en&&(this.en=(0,D.P)("DvtUtilBundle","NO_DATA",null));D.dU.o.Iu.call(this,a)};
  D.MU=function(a,b,c){if(!(null==a.Vo||0==a.Vo.length)){var d=b.Wo,e=b.Fq;null==e&&(e=a.CP);var f=a.Mi;if(a.Ub)for(h=0;h<c;h++)i=a.Vo[h],k=i.getWidth()+10,f<e+k&&(f=e+k);else for(var g=D.$.RL(),h=0;h<c;h++){var i=a.Vo[h],k=i.getWidth()+10,l=i.getHeight();if(null!=i.Wo&&i!=b){var m=i.Wo;null==m&&(m=0);i=i.Fq;null==i&&(i=a.CP);d>=m&&(d<=m+k&&e>=i&&e<=i+l)&&(e=i+l+g,b.Fq=e,e=(0,D.MU)(a,b,c))}f<e+l&&(f=e+l)}f>a.Mi&&(a.Mi=f+D.$.RL());return e}};
  D.NU=function(a,b,c){if(!(null==a.Za||0==a.Za.length)){var d=b.Wf,e=b.Qh;if(e&&e!=d){e=b.lq;null==e&&(e=1);for(var f=0;f<c;f++){var g=a.Za[f];if(g!=b){var h=g.Wf,i=g.Qh;i&&i!=h&&(g=g.lq,null==g&&(g=1),d>=h&&(d<=i&&e==g)&&(e=g+1,b.lq=e,e=(0,D.NU)(a,b,c)))}}e>a.Mz&&(a.Mz=e);return e}}};
  D.dU.prototype.B0=function(){for(var a=0;a<this.Za.length;a++){var b=this.Za[a],c=b.Wf,d=b.Qh;d&&d!=c&&(c=(0,D.NU)(this,b,this.Za.length),b.lq=c,b.hP=22+10*b.lq-5,null==b.xz&&(b.xz=this.Pia[this.$w],this.$w++,this.$w==this.Pia.length&&(this.$w=0)))}};D.dU.prototype.Mc=(0,D.s)("Bb");D.dU.prototype.qD=(0,D.s)("en");D.uU=function(a,b){D.uU.o.constructor.call(this,"action",a,b)};(0,D.ca)("DvtTimelineSeriesActionEvent",D.uU);D.w.l(D.uU,D.Lj,"DvtTimelineSeriesActionEvent");
  D.OU=function(a,b){this.Init(a,b)};D.w.l(D.OU,D.B,"DvtTimelineSeriesItem");D.u=D.OU.prototype;D.u.Init=function(a,b){D.OU.o.Init.call(this,a,"g",b)};D.u.jb=function(a){this.Rh!=a&&((this.Rh=a)?this.yl?this.rn("asel"):this.rn("sel"):this.rn("en"))};D.u.Ob=function(a){this.yl||(this.yl=!0,this.Rh&&a?this.rn("asel"):this.Rh?this.rn("sel"):this.rn("hl"))};D.u.Db=function(a){this.Rh&&a?this.rn("asel"):this.Rh?this.rn("sel"):this.rn("en");this.yl=!1};
  D.u.rn=function(a){var b=this.Pb,c=b.ug;if(null!=c){var d=c.ha(0),e=d.ha(0),c=b.FJ;if("asel"==a){a=D.$.Yqa(b);var f=D.$.Zqa(b),g=D.$.$qa(),h=D.$.Wqa()}else"sel"==a?(a=D.$.Yqa(b),f=D.$.Zqa(b),g=D.$.$qa(),h=D.$.Xqa()):"hl"==a?(a=D.$.kJa(b),f=D.$.lJa(b),g=D.$.Vqa(),h=D.$.Wqa()):(a=D.$.Waa(b),f=D.$.YR(b),g=D.$.Xaa(),h=D.$.Xqa());var i=D.$.nJa(),f=new D.I(f,1,g),h=new D.I(h,1,i);d.pa(a);d.V(f);e.V(h);(b=b.NJ)&&b.V(f);c&&c.V(f)}};
  D.PU={};D.w.l(D.PU,D.w,"DvtTimelineSeriesItemRenderer");D.PU.fNa=function(a,b,c,d,e,f){a.Gi?(D.PU.OEa(a,b,c,e),D.PU.J5(a,b,d,null)):(b.Rka=!0,D.PU.J5(a,b,d,f));b.Ra()||(a.NJ&&b.aO?D.PU.npa(a,b,d,f):D.PU.ZEa(a,b,c.laa,d,e))};D.PU.LLa=function(a,b){a.ug&&b.aO?D.PU.kpa(a,b):D.PU.HAa(a,b)};D.PU.HAa=function(a,b){var c=(0,D.MU)(b,a,b.Za.length);a.Fq=c;c=D.PU.EBa(a,b);b.k(c);var d=c.F();b.removeChild(c);a.ma(d.e+10);a.Da(d.g+10);a.Gi=c};
  D.PU.OEa=function(a,b,c,d){var e=b.j(),f=(0,D.D)(e),g=a.getId(),h=a.Gi;a.Gi=null;var i=a.getWidth(),k=a.getHeight(),l="_bubble_"+g;if(b.Ra()){var m=k/2,n=m-6,o=m+6;!f&&b.mk||f&&!b.mk?(f=[0,0,0,n,-6,m,0,o,0,k,i,k,i,0,0,0],k=[2,2,2,n,-4,m,2,o,2,k-2,i-2,k-2,i-2,2,2,2]):(f=[0,0,0,k,i,k,i,o,i+6,m,i,n,i,0,0,0],k=[2,2,2,k-2,i-2,k-2,i-2,o,i+4,m,i-2,n,i-2,2,2,2])}else m=f?i-D.$.JR():D.$.JR(),n=m-6,o=m+6,b.mk?(f=[0,0,n,0,m,-6,o,0,i,0,i,k,0,k,0,0],k=[2,2,n,2,m,-4,o,2,i-2,2,i-2,k-2,2,k-2,2,2]):(f=[0,0,0,k,n,
  k,m,k+6,o,k,i,k,i,0,0,0],k=[2,2,2,k-2,n,k-2,m,k+4,o,k-2,i-2,k-2,i-2,2,2,2]);i=new D.Jn(e,f,l);l=new D.Jn(e,k,l+"_i");l.pa(D.$.mJa());(0,D.ik)(h,5,5);i.k(l);i.k(h);e=new D.OU(e,"_bt_"+g);d&&(e.B(0),d.push(e));e.k(i);D.TO.Zl()&&D.A.C(e.ya,"id",e.Xa);e.Pb=a;a.ug=e;e.rn("en");0<=a.Wo&&c.k(e);e.Td("group");a.Gq();b.sa.Ia.Fa(e,a)};
  D.PU.J5=function(a,b,c,d){var e=(0,D.D)(b.j()),f=a.Wo,g=a.getWidth(),h=a.getHeight(),i=a.Fq;a=a.ug;b.Ra()?(h=f-h/2,e&&b.mk||!e&&!b.mk?e=b.ko-(g+b.CP)+c:(e=b.CP,c=0)):(e=e?b.Lg-f-g+D.$.JR():f-D.$.JR(),b.mk?(c=0,h=i):h=b.Ua-i-h+c);d?(b.Ra()?a.I(a.N()+b.JV+c):a.O(a.M()+b.$E+c),(0,D.T)(d,"typeNumber",a,a.N,a.I,e),(0,D.T)(d,"typeNumber",a,a.M,a.O,h)):(0,D.ik)(a,e,h)};
  D.PU.EBa=function(a,b){var c=b.j(),d=(0,D.D)(c),e=a.Vv(),f=a.BJ,g=a.Toa,h=new D.B(c),i=0,k=0;if(d)e&&(l=new D.Ff(c,e,0,k),l.Ha(D.$.ara(a)),i=l.Eb().e+2,k=15,h.k(l)),f&&(f=new D.Ff(c,f,0,k),f.Ha(D.$.Uqa(a)),e=f.Eb().e+2,0!=i&&e!=i?e>i?(l.ca(e-i),i=e):f.ca(i-e):i=e,h.k(f)),g&&(g=new D.Pe(c,g,i,0,D.$.yba(),D.$.Ira(),"_tn"),g.qa(!1),h.k(g));else{g&&(g=new D.Pe(c,g,0,0,D.$.yba(),D.$.Ira(),"_tn"),g.qa(!1),h.k(g),i=D.$.yba()+2);if(e){var l=new D.Ff(c,e,i,k);l.Ha(D.$.ara(a));k=15;h.k(l)}f&&(f=new D.Ff(c,
  f,i,k),f.Ha(D.$.Uqa(a)),h.k(f))}return h};D.PU.kpa=function(a,b){var c=(0,D.MU)(b,a,b.Za.length);a.Fq=c};D.PU.ZEa=function(a,b,c,d,e){var f=b.j(),g=(0,D.D)(f),h=a.getId(),i=a.Wo,k=a.Fq;if(b.mk)l=a.hP,d=k;else{var l=b.Ua+d-a.hP;d=b.Ua-k+d}b=g?b.Lg-i:i;f=new D.xi(f,b,l,b,d,"_feeler_"+h);e&&(f.B(0),e.push(f));c.k(f);c=D.$.Xaa();e=D.$.YR(a);c=new D.I(e,1,c);f.V(c);f.Pb=a;a.NJ=f};
  D.PU.npa=function(a,b,c,d){if(b.Ra())a.NJ=null;else{var e=(0,D.D)(b.j()),f=a.NJ;if(b.mk)c=0,g=a.hP,h=a.Fq;else var g=b.Ua+c-a.hP,h=b.Ua-a.Fq+c;a=e?b.Lg-a.Wo:a.Wo;d?(f.ml(f.Dp()+b.$E+c),f.Yl(f.ks()+b.$E+c),(0,D.T)(d,"typeNumber",f,f.yo,f.ll,a),(0,D.T)(d,"typeNumber",f,f.Dp,f.ml,g),(0,D.T)(d,"typeNumber",f,f.Xq,f.Xl,a),(0,D.T)(d,"typeNumber",f,f.ks,f.Yl,h)):(f.ll(a),f.ml(g),f.Xl(a),f.Yl(h))}};D.PU.bNa=function(a,b,c,d,e,f){a.FJ?D.PU.Tx(a,b,d,f):D.PU.XEa(a,b,c,d,e)};
  D.PU.XEa=function(a,b,c,d,e){var f=b.j(),g=(0,D.D)(f),h=a.Qh,i=D.TO.ee(b.pb,b.Xb,a.Wf,b.Lg),k="_duration_"+a.getId(),l=22+10*a.lq,h=D.TO.ee(b.pb,b.Xb,h,b.Lg);b.Ra()?(!g&&!b.mk||g&&b.mk?f=new D.C(f,b.ko-l+5,i,l,h-i,k):(f=new D.C(f,-5,i,l,h-i,k),d=0),f.I(d),f.va(i),f.ma(l),f.Da(h-i)):(h-=i,i=g?b.Lg-i-h:i,b.mk?(f=new D.C(f,i,-5,h,l,k),f.O(0)):(f=new D.C(f,i,b.ko-l+5,h,l,k),f.O(d)));e&&(f.B(0),e.push(f));(0,D.tq)(f,5);f.pa(a.xz);d=D.$.Xaa();e=D.$.YR(a);d=new D.I(e,1,d);f.V(d);f.Pb=a;b.sa.Ia.Fa(f,a);c.k(f);
  a.FJ=f};
  D.PU.Tx=function(a,b,c,d){var e=(0,D.D)(b.j()),f=a.FJ;if(null!=f){var g=D.TO.ee(b.pb,b.Xb,a.Wf,b.Lg),h=22+10*a.lq,i=D.TO.ee(b.pb,b.Xb,a.Qh,b.Lg);if(b.Ra()){a=0;!e&&!b.mk||e&&b.mk?e=b.ko-h+5:(e=-5,c=0);var k=c,l=g,m=h,g=i-g}else k=0,i-=g,e=e?b.Lg-g-i:g,b.mk?(a=c=0,l=-5):(a=c,l=b.ko-h+5),m=i,g=h;d?(b.Ra()?f.I(f.N()+b.JV+c):f.O(f.M()+b.$E+c),(0,D.T)(d,"typeNumber",f,f.N,f.I,k),(0,D.T)(d,"typeNumber",f,f.M,f.O,a),(0,D.T)(d,"typeNumber",f,f.ja,f.ca,e),(0,D.T)(d,"typeNumber",f,f.na,f.va,l),(0,D.T)(d,"typeNumber",
  f,f.getWidth,f.ma,m),(0,D.T)(d,"typeNumber",f,f.getHeight,f.Da,g)):(f.I(k),f.O(a),f.ca(e),f.va(l),f.ma(m),f.Da(g))}};
  D.xU=function(a,b,c){this.Init(a,b,c)};D.w.l(D.xU,D.w,"DvtTimelineSeriesNode");D.u=D.xU.prototype;D.u.Init=function(a,b,c){this.Kc=a;this.zg=b;this.tb=a.tb[b];this.Xa=c.id;this.RQ=c.Xca;this.Wf=(0,window.parseInt)(c.startTime);c.jD&&(this.Qh=(0,window.parseInt)(c.jD));this.oj=c.title;this.BJ=c.HZ;this.Toa=c.Hta;this.ep=c.style;this.oa=c.data;this.Xm=c.action;this.xz=c.LZ;this.hP=0};D.u.getId=(0,D.s)("Xa");D.u.De=(0,D.s)("tb");D.u.rg=(0,D.s)("zg");D.u.mba=(0,D.s)("RQ");D.u.Vv=(0,D.s)("oj");D.u.A=(0,D.s)("ep");
  D.u.getData=(0,D.s)("oa");D.u.Mc=function(){return null!=this.Qh?"Start Time: "+(new window.Date(this.Wf)).toLocaleString()+"; End Time: "+(new window.Date(this.Qh)).toLocaleString()+"; Title: "+this.Vv()+"; Description: "+this.BJ:"Time: "+(new window.Date(this.Wf)).toLocaleString()+"; Title: "+this.Vv()+"; Description: "+this.BJ};D.u.getWidth=(0,D.s)("Gv");D.u.ma=(0,D.q)("Gv");D.u.getHeight=(0,D.s)("Lka");D.u.Da=(0,D.q)("Lka");D.u.Ae=(0,D.s)("Xm");
  D.u.zd=function(a){var b=this.Kc.Ia.Rf;if(a.type==D.dk||b.Zq(a))return this;if(b.sg(a)){for(var b=[],c=0;c<this.Kc.tb.length;c++)b.push(this.Kc.tb[c].Za);return(0,D.BU)(this,a,b)}return null};D.u.wj=function(){return this.ug.ta()};D.u.Ce=function(a){return this.ug.F(a)};D.u.Ud=function(){this.Ib=!0;this.Ob();(0,D.rU)(this.Kc,this)};D.u.ic=function(){this.Ib=!1;this.Db()};D.u.oc=(0,D.s)("Ib");D.u.Yc=function(){return[this.ug]};
  D.u.ec=function(){var a=[];this.Aa()&&a.push((0,D.P)("DvtUtilBundle",this.Ca()?"STATE_SELECTED":"STATE_UNSELECTED"));return(0,D.hk)(this.Mc(),a)};D.u.Jf=(0,D.q)("$Ca");D.u.Aa=(0,D.s)("$Ca");D.u.Ca=(0,D.s)("Rh");
  D.u.jb=function(a){this.Rh=a;this.ug.jb(a);this.Gq();if(this.Kc.Lr&&this.Kc.kc)if(a){a=this.Kc.kc;var b=this.getId(),b=(0,D.pU)(a,b);null!=b&&(0,D.qU)(a,b)}else if(a=this.Kc.kc,b=this.getId(),b=(0,D.pU)(a,b),null!=b&&null!=a.qk){for(var c=-1,d=0;d<a.qk.length;d++)if(b==a.qk[d]){c=d;break}-1!=c&&(a.rn(b,"_"),a.qk.splice(c,1))}};
  D.u.Ob=function(a){this.ug.Ob(this.Kc.Ia.dd()==this);if(!a&&this.Kc.Lr){a=this.Kc.kc;var b=this.getId(),b=(0,D.pU)(a,b);null!=b&&(0,D.HU)(a,b)}this.Kc.Ub&&(this.xl||(this.xl=this.tb.XE[0].Pf(this.ug)),this.tb.XE[0].k(this.ug))};D.u.Db=function(a){this.ug.Db(this.Kc.Ia.dd()==this);if(!a&&this.Kc.Lr){a=this.Kc.kc;var b=this.getId(),b=(0,D.pU)(a,b);null!=b&&(0,D.IU)(a,b)}this.Kc.Ub&&(this.xl&&!this.Rh)&&this.tb.XE[0].Ma(this.ug,this.xl)};D.u.Gq=function(){(0,D.Ye)()||this.ug.Zb("label",this.ec())};
  D.LU=(0,D.j)();D.w.l(D.LU,D.w,"DvtTimelineSeriesParser");D.u=D.LU.prototype;D.u.parse=function(a,b){var c=[],d=a.items;if(d)for(var e=0;e<d.length;e++)c.push(d[e]);this.Wf=new window.Date(a.start);this.Qh=new window.Date(a.end);d=this.zE();d.lsa=a.style;d.scale=a.scale;d.ONa=a.timeAxis;d.label=a.label;d.RHa=a.emptyText;d.XLa="auto"==a.animationOnDisplay;d.PLa="auto"==a.animationOnDataChange;d.Rl=this.S8(a.timeline,a.index,c,b);d.fRa="false";return d};
  D.u.zE=function(){var a={};a.ata=this.Wf;a.$sa=this.Qh;a.orientation="horizontal";a.start=this.Wf.getTime();a.end=this.Qh.getTime();return a};
  D.u.S8=function(a,b,c,d){var e=[],f=a.tb[b];if(c)for(var g=0;g<c.length;g++){var h=this.R2(c[g]);if(h){if(f.aO){var i;a:{i=h;var k=d;if(k)for(var l=0;l<k.length;l++){var m=k[l];if(i.id==m.getId()&&i.title==m.Vv()&&i.HZ==m.BJ&&i.Hta==m.Toa){i=m;break a}}i=void 0}i?(k=D.H.wa(d,i),d.splice(k,1),i.Fq=null,i.lq=null,i.Wo=null,i.jb(!1),i.Wf=h.startTime,i.Qh=h.jD):(i=new D.xU(a,b,h),i.Jf(!0))}else i=new D.xU(a,b,h),i.Jf(!0);h=i.Wf;k=!0;for(l=0;l<e.length;l++)if(h<e[l].Wf){e.splice(l,0,i);k=!1;break}k&&e.push(i)}}return e};
  D.u.getDate=function(a){return null==a?null:a.getTime?a.getTime():(0,window.isNaN)(a)?(new window.Date(a)).getTime()+0:a};D.u.R2=function(a){var b={};b.id=a.id;b.Xca=b.id;b.startTime=this.getDate(a.start);b.jD=this.getDate(a.end);if((b.jD?b.jD:b.startTime)<this.Wf.getTime()||b.startTime>this.Qh.getTime())return null;b.title=a.title;b.HZ=a.description;b.Hta=a.thumbnail;b.data=a;b.style=a.style;b.action=a.action;b.LZ=a.durationFillColor;return b};
  D.oU={};D.w.l(D.oU,D.w,"DvtTimelineSeriesRenderer");
  D.oU.gNa=function(a,b,c){D.oU.Et(a,b,c);D.oU.q9(a);D.oU.tFa(a,a.nh);D.oU.r9(a);if(!(null==a.Za||0==a.Za.length)){if(0==a.XE.length){c=a.j();b=new D.B(c,"itemBlock_"+a.Jr+"_"+a.So);b.Eta=a.Jr;b.jqa=a.So;var d=new D.B(c,"feelers");b.k(d);b.laa=d;c=new D.B(c,"durations");b.k(c);b.iqa=c;a.nh.k(b);a.XE.push(b)}else b=a.XE[0];a.B0(a.Za);c=a.Za;a.CP=a.Ra()?20*(0<a.Mz?1:0)+D.$.RL()+10*a.Mz:20+D.$.RL()+10*a.Mz;a.Vo=[];for(d=0;d<c.length;d++){var e=c[d],f=D.TO.ee(a.pb,a.Xb,e.Wf,a.Lg),g=e.Qh;g&&g!=e.Wf&&(g=
  D.TO.ee(a.pb,a.Xb,g,a.Lg)-f,f+=window.Math.min(D.$.Lqa(),g/2));e.Wo=f;for(var g=!0,h=0;h<a.Vo.length;h++)if(f<a.Vo[h].Wo){a.Vo.splice(h,0,e);g=!1;break}g&&a.Vo.push(e)}for(d=0;d<a.Vo.length;d++)e=a.Vo[d],f=D.TO.ee(a.pb,a.Xb,e.Wf,a.Lg),f<a.Jr||f>a.So||D.PU.LLa(e,a);a.VCa?(a.Az=a.UCa?[]:null,a.Rz=null,a.YC=null):a.aO&&a.SCa?(a.Az=[],a.Rz=new D.ar(a.j(),D.$.xa(a.D),0,D.eD),a.YC=[]):(a.Az=null,a.Rz=null,a.YC=null);a.Rka=!1;c=window.Math.max(0,a.Mi-a.ko);a.yQ=c;D.oU.Iha(a,c);a.hQ&&D.oU.IEa(a.hQ,a,b,a.YC);
  a.hQ=null;a.Ra()&&b.laa.Aj();D.oU.i9(a.Za,a,b,a.Jr,a.So,c,a.Az,a.Rz);D.oU.opa(a);D.oU.ppa(a)}};D.oU.SNa=function(a){D.oU.pGa(a.Za,a);D.oU.opa(a);D.oU.ppa(a)};D.oU.Et=function(a,b,c){if(a.Na){var d=!1;a.Na.ma(b);a.Na.Da(c)}else d=!0,a.Na=new D.C(a.j(),0,0,b,c,"bg");a.Na.Ha(a.ep);(0,D.yi)(a.Na);a.Na.setCursor("move");d&&a.k(a.Na)};
  D.oU.Iha=function(a,b){var c=(0,D.D)(a.j());0<b&&(a.Ra()?a.Na.ma(a.Mi):a.Na.Da(a.Mi));if(a.Ra()){if(!a.mk&&!c||a.mk&&c)a.Na.I(-b),null!=a.nh&&a.nh.I(0-b)}else a.mk||(a.Na.O(-b),null!=a.nh&&a.nh.O(0-b))};D.oU.q9=function(a){a.nh?(a.JV=a.nh.N(),a.$E=a.nh.M(),a.nh.I(0),a.nh.O(0)):(a.nh=new D.B(a.j(),"canvas"),a.k(a.nh))};
  D.oU.i9=function(a,b,c,d,e,f,g,h){for(var i=0;i<b.Vo.length;i++){var k=b.Vo[i],l=D.TO.ee(b.pb,b.Xb,k.Wf,b.Lg);l<d||l>e||D.PU.fNa(k,b,c,f,g,h)}if(D.TO.Zl())for(i=0;i<b.Vo.length-1;i++)k=b.Vo[i],(0,D.yE)(k.ug,"flowto","_bt_"+b.Vo[i+1].getId());D.oU.YEa(a,b,c,f,g,h)};
  D.oU.pGa=function(a,b){if(!(null==a||0==a.length)){var c=b.So,d=b.XE[0];d.Eta=b.Jr;d.jqa=c;b.B0(a);b.CP=b.Ra()?20*(0<b.Mz?1:0)+D.$.RL()+10*b.Mz:20+D.$.RL()+10*b.Mz;for(c=0;c<a.length;c++){var d=a[c],e=d.Wf,f=D.TO.ee(b.pb,b.Xb,e,b.Lg),g=d.Qh;g&&g!=e&&(e=D.TO.ee(b.pb,b.Xb,g,b.Lg)-f,f+=window.Math.min(D.$.Lqa(),e/2));d.Wo=f;d.Fq=null}for(c=0;c<a.length;c++)d=a[c],f=d.Wf,f<b.pb||f>b.Xb||D.PU.kpa(d,b);f=window.Math.max(0,b.Mi-b.ko);D.oU.Iha(b,f);for(c=0;c<a.length;c++)d=a[c],D.PU.J5(d,b,f,null),D.PU.npa(d,
  b,f,null),D.PU.Tx(d,b,f,null)}};D.oU.YEa=function(a,b,c,d,e,f){c=c.iqa;for(var g=b.Mz;0<g;g--)for(var h=0;h<a.length;h++){var i=a[h],k=i.Wf,l=i.Qh;l&&(l!=k&&g==i.lq)&&D.PU.bNa(i,b,c,d,e,f)}};D.oU.r9=function(a){null==a.GY?(a.GY=new D.B(a.j()),a.nh.k(a.GY)):(a.GY.Aj(),a.HY=[]);if(a.Xd&&a.Xf){var b=new D.F(D.$.lKa());if(a.az){var c=a.az.separatorColor;c&&(0,D.Qf)(b,"color:"+c+";")}a.cL=new D.I(b.A("color"));a.cL.W(1,3);D.oU.s9(a,a.Jr,a.So,a.GY)}};
  D.oU.ppa=function(a){for(var b=(0,D.D)(a.j()),c=0;c<a.HY.length;c++){var d=a.HY[c],e=!a.Ra()&&b?a.Lg-D.TO.ee(a.pb,a.Xb,d.time,a.Lg):D.TO.ee(a.pb,a.Xb,d.time,a.Lg);a.Ra()?(d.ll(0),d.ml(e),d.Xl(a.Mi),d.Yl(e)):(d.ll(e),d.ml(0),d.Xl(e),d.Yl(a.Mi))}};
  D.oU.s9=function(a,b,c,d){var e=(0,D.D)(a.j()),f=a.pb,g=a.Xb;b=D.TO.qg(f,g,b,a.Lg);b=a.Xf.GL(b);for(var h=D.TO.ee(f,g,b,a.Lg);h<c;){var i=a.Xf.dM(b.getTime()),k=D.TO.ee(f,g,i,a.Lg),l=!a.Ra()&&e?a.Lg-h:h;if(a.Ra())var m=0,n=l,o=a.Mi;else m=l,n=0,o=l,l=a.Mi;h=a.FL(d,m,o,n,l,a.cL,"o_tick"+h);h.time=b.getTime();a.HY.push(h);b=i;h=k}};
  D.oU.tFa=function(a,b){var c=a.j(),d=(0,D.D)(c);null==a.iY&&(a.iY=new D.B(c),b.k(a.iY));var e=a.uG;if(e)for(var f=window.Math.min(1,e.length),g=0;g<f;g++){var h=e[g];if(h){var i=D.TO.ee(a.pb,a.Xb,h,a.Lg);if(0==a.NQ.length){a.Ra()?i=new D.xi(c,0,i,a.Mi,i,"zoomOrder[i]"):(d&&(i=a.Lg-i),i=new D.xi(c,i,0,i,a.Mi,"zoomOrder[i]"));var k=new D.I(D.$.Dra(a.D));i.V(k);(0,D.yi)(i);i.BHa=h;a.iY.k(i);a.NQ[g]=i}}}else a.iY.Aj(),a.NQ=[]};
  D.oU.opa=function(a){for(var b=(0,D.D)(a.j()),c=0;c<a.NQ.length;c++){var d=a.NQ[c],e=D.TO.ee(a.pb,a.Xb,d.BHa,a.Lg);a.Ra()?(d.ll(0),d.ml(e),d.Xl(a.Mi),d.Yl(e)):(b&&(e=a.Lg-e),d.ll(e),d.ml(0),d.Xl(e),d.Yl(a.Mi))}};D.oU.IEa=function(a,b,c,d){if(d)D.oU.tza(a,b,d);else for(d=0;d<a.length;d++){var e=a[d];c.removeChild(e.ug);b.Ra()||c.laa.removeChild(e.NJ);var f=e.Wf,g=e.Qh;g&&g!=f&&c.iqa.removeChild(e.FJ)}};
  D.oU.tza=function(a,b,c){for(var d=0;d<a.length;d++){var e=a[d],f=e.ug;b.Ra()?f.I(f.N()+b.JV+b.yQ):f.O(f.M()+b.$E+b.yQ);c.push(f);b.Ra()||(f=e.NJ,f.O(f.M()+b.$E+b.yQ),c.push(f));var f=e.Wf,g=e.Qh;g&&g!=f&&(e=e.FJ,b.Ra()?e.I(e.N()+b.JV+b.yQ):e.O(e.M()+b.$E+b.yQ),c.push(e))}};
  D.mU=function(a,b,c,d){D.mU.o.Init.call(this,a);this.tGa=b;this.sGa=c;this.ADa=d};(0,D.ca)("DvtTimelineViewportChangeEvent",D.mU);D.w.l(D.mU,D.Fi,"DvtTimelineViewportChangeEvent");D.mU.TYPE="viewportChange";D.mU.prototype.NKa=(0,D.s)("tGa");D.mU.prototype.getViewportStart=D.mU.prototype.NKa;D.mU.prototype.LKa=(0,D.s)("sGa");D.mU.prototype.getViewportEnd=D.mU.prototype.LKa;D.mU.prototype.EJa=(0,D.s)("ADa");D.mU.prototype.getMinorAxisScale=D.mU.prototype.EJa;
  
    return D;
  });