text: /**
   * Copyright (c) 2014, 2016, Oracle and/or its affiliates.
   * The Universal Permissive License (UPL), Version 1.0
   */
  "use strict";
  define(['./DvtToolkit'], function(dvt) {
    // Internal use only.  All APIs and functionality are subject to change at any time.
  
  var ga;function ka(a,F){0==a.indexOf("dvt.")&&(a=a.substring(4));var D=a.split("."),E=eval("dvt");D[0]in E||!E.execScript||E.execScript("var "+D[0]);for(var v;D.length&&(v=D.shift());)D.length||void 0===F?E=E[v]?E[v]:E[v]={}:E[v]=F}Math.floor(2147483648*Math.random()).toString(36);
  (function(a){function F(a,c,h,t,u,f,y,m){this.Init(a,c,h,t,u,f,y,m)}function D(a,c){this.Init(a,c)}function E(a){this.Init(a.a,a.Ef,a);this.uf=a}function v(){this.Init({skyros:v.If,alta:v.Qg,next:v.Rq})}function x(a){this.uf=a;this.Vf=this.uf.A();this.kv=this.uf.Fn()}a.Cj=function(){};a.f.v(a.Cj,a.ec);a.Cj.newInstance=function(c,e,h){var t=new a.Cj;t.Init(c,e,h);return t};a.Cj.Vo=function(a){return(new v).Vo(a)};a.Cj.prototype.Init=function(c,e,h){a.Cj.C.Init.call(this,c,e,h);this.Ff=new v;this.u=
  new E(this);this.u.Lf(this);a.m.eb()||this.u.Zr(new D(this.u,this));this.Rb=null};a.Cj.ZS=10;a.Cj.prototype.me=function(a){a?this.J="off"==a.rendered?a:this.Ff.no(a):this.J||(this.J=this.dA())};a.Cj.prototype.ly=function(a,e,h){this.me(a);return c.ly(this,e,h)};a.Cj.prototype.ia=function(p,e,h,t,u){this.Vb.YH();this.me(p);this.zx=[];this.Oa=e;this.bb=h;this.Hh();t||(t=0);u||(u=0);c.ia(this,new a.U(t,u,e,h))};a.Cj.prototype.Yia=function(a){(null!=a.bf()||null!=a.oh()||a.bk())&&this.zx.push(a)};a.Cj.prototype.II=
  function(){return 0<this.zx.length};a.Cj.prototype.$D=function(){return null!=this.u?this.u.Fe():null};a.Cj.prototype.Wca=function(c,e){if(null!=this.u){for(var h=this.zx,t=c.getId(),u=!1,f=0;f<h.length;f++){var y=h[f].getId();if(t instanceof Array&&y instanceof Array&&a.Y.mc(t,y)||t===y){this.u.Xr(h[f]);u=!0;e&&h[f].qh();break}}u||this.u.Xr(this.u.ya.kI(h));if(h=this.$D())t=h.Ga(),t.Od("label",h.se()),this.a.$I(t)}};a.Cj.prototype.Ef=function(a,c){this===c&&this.dispatchEvent(a)};a.Cj.prototype.Fn=
  function(){return this.si};a.Cj.prototype.tTa=function(a){this.si=a};a.Cj.prototype.getWidth=function(){return this.Oa};a.Cj.prototype.getHeight=function(){return this.bb};a.Cj.prototype.Zia=function(a){this.Rb=a};a.Cj.prototype.Bi=function(){return new x(this)};var f={};a.f.v(f,a.f);f.F8="tickLabel";f.Bza="title";a.f.v(x,a.Lc);x.prototype.Rl=function(c){var e=this.uf.Nb().Za(c);if(e&&e instanceof a.qg){if(e.tK.type==f.Bza)return"title";if(this.Vf.groups){c=e.tK.level;for(var e=this.kv.Bz(e.tK.index,
  c),h="",t=0;t<=c;t++)for(var u=this.kv.uq(this.uf.a,t),H=0;H<u.length;H++){var y=this.kv.$K(u[H]);this.kv.Bz(y,t)<=e&&this.kv.VK(y,t)>=e&&(h+="["+this.kv.Sh(y,t)+"]")}if(0<h.length)return"item"+h}}return null};x.prototype.Rh=function(c){if("title"==c){if(c=this.kv.py())return c.ja()}else if(this.kv instanceof a.ce)for(var e=c.split("[").length-1-1,h=0,t=0,u=0;u<=e;u++){var f=c.indexOf("]"),y=c.substring(c.indexOf("[")+1,f);c=c.substring(f+1);for(var f=this.kv.uq(this.uf.a,u),m,z=0;z<f.length;z++)if(m=
  this.kv.$K(f[z]),this.kv.Bz(m,u)==t){h=m;break}for(z=h;z<f.length;z++)if(m=this.kv.$K(f[z]),this.kv.Sh(m,u)==y){if(0==c.length)return f[z].ja();t=this.kv.Bz(m,u);break}}return null};a.f.v(v,a.ka);v.Rq={skin:a.j.Rq,layout:{titleGap:6}};v.Qg={axisLine:{lineColor:"#9E9E9E"},majorTick:{lineColor:"rgba(196,206,215,0.4)",baselineColor:"auto"},minorTick:{lineColor:"rgba(196,206,215,0.2)"},tickLabel:{style:new a.j(a.ka.pj)},titleStyle:new a.j(a.ka.ep)};v.If={position:null,baselineScaling:"zero",axisLine:{lineColor:"#8A8DAC",
  lineWidth:1,rendered:"on"},majorTick:{lineColor:"rgba(138,141,172,0.4)",lineWidth:1,rendered:"auto",lineStyle:"solid"},minorTick:{lineColor:"rgba(138,141,172,0.20)",lineWidth:1,rendered:"off",lineStyle:"solid"},tickLabel:{scaling:"auto",style:new a.j(a.ka.hs+"font-size: 11px; color: #333333;"),rotation:"auto",rendered:"on"},titleStyle:new a.j(a.ka.hs+"font-size: 11px; color: #737373;"),startGroupOffset:0,endGroupOffset:0,layout:{titleGap:4,radialLabelGap:5,insideLabelGapWidth:4,insideLabelGapHeight:2,
  hierarchicalLabelGapHeight:8,hierarchicalLabelGapWidth:15},_locale:"en-us"};v.Ah=function(c,e,h){c=Math.min(a.ga.yq(c,e.tickLabel.style)/14,1);return Math.ceil(h*c)};a.f.v(E,a.u);E.h5=function(a,c,h,t){return{type:a,id:c,index:h,level:t}};E.prototype.by=function(){return this.uf};E.prototype.rj=function(a){E.C.rj.call(this,a);var c=this.Za(a.target);c&&this.Mz(c)&&a.stopPropagation()};E.prototype.cv=function(a){var c=this.Za(a.target);c&&(a=a.R6,this.Mz(c)&&a&&a.preventDefault())};E.prototype.Mz=
  function(c){return c&&c.oh&&c.oh()?(this.jt(a.la.yy("action",c.oh(),c.getId()),this.uf),!0):c instanceof F&&c.bk()?(this.jt(a.la.R5(c.getId(),null,c.eh()),this.uf),!0):!1};E.prototype.mE=function(){return!0};E.prototype.rw=function(){var a=this.vc.fo;return a instanceof F&&null!=a.eh()?"groups":null};E.prototype.VE=function(){var a=this.vc.fo;return a instanceof F?[{id:a.getId(),group:a.eh(),label:a.ag().Wc()}]:[]};a.f.v(D,a.ya);D.prototype.Init=function(a,c){D.C.Init.call(this,a);this.uf=c};D.prototype.Rk=
  function(c){var e=c.keyCode,h=this.Fc.Fe(),t=null;e==a.KeyboardEvent.rg?(h&&(a.u.Ud(c),t=h),e=this.uf.zx,0<e.length&&(a.u.Ud(c),t=this.kI(e))):e==a.KeyboardEvent.Nn?h&&(this.Fc.Mz(h),a.u.Ud(c)):t=D.C.Rk.call(this,c);return t};var c={};a.f.v(c,a.f);c.vAa=3;c.ly=function(p,e,h){var t=c.TBa(p,new a.U(0,0,e,h)),u=p.a,f=p.A(),y="top"==f.position||"bottom"==f.position;if("off"==f.rendered||0>=e||0>=h)return y?new a.eg(e,0):new a.eg(0,h);var m=c.iJa(u,f,.8*(y?e:h),.8*(y?h:e)),m=0!=m?m+c.KDa(p):0;"on"==f.tickLabel.rendered&&
  "inside"!=f.tickLabel.position&&(y?(f=a.ga.yq(u,f.tickLabel.style),t instanceof a.Pg?m+=f:t instanceof a.wb?m+=null!=t.uq(u,1)?2*f:f:t instanceof a.ce&&(m=c.cDa(p,t,m,h,y))):t instanceof a.Pg?m+=a.ga.Fba(u,t.nHa(u,!0),t.J.tickLabel.style):t instanceof a.wb?(p=t.uq(u),p=a.ga.hy(p).b,t=t.uq(u,1),t=null!=t?a.ga.hy(t).b:0,m+=Math.max(p,t)):t instanceof a.ce&&(m=c.cDa(p,t,m,e,y)));return y?new a.eg(e,Math.min(m,h)):new a.eg(Math.min(m,e),h)};c.ia=function(a,e){var h=c.TBa(a,e);"off"!=a.A().rendered&&(a.Zia(e.clone()),
  c.Cn(a,e),c.u2(a,h,e),c.o2(a,h,e))};c.TBa=function(c,e){var h=a.xf.newInstance(c.a,c.A(),e);c.tTa(h);return h};c.KDa=function(a){var c=a.A();return v.Ah(a.a,c,c.layout.titleGap)};c.Cn=function(c,e){var h=c.A();if(h.dnd){var t=h.dnd.drop,u=0<Object.keys(t.xAxis).length||0<Object.keys(t.yAxis).length||0<Object.keys(t.y2Axis).length,t=0<Object.keys(h.dnd.drag.groups).length&&c.Fn()instanceof a.ce;if(u||t)h=h.position,h=(u="top"==h||"bottom"==h)?4:10,u=u?10:4,h=new a.Rect(c.a,e.x-u,e.y-h,e.b+2*u,e.i+
  2*h),t&&h.sc("oj-draggable"),h.Yb(),c.Vb.Pf("background",h),c.B(h)}};c.u2=function(p,e,h){var t=p.A();if(t.title){var u=t.position;if("radial"!=u&&"tangential"!=u){var H="top"==t.position||"bottom"==t.position,y=H?h.b:h.i,H=H?h.i:h.b,m=t.titleStyle,z=c.Lu(m);if(t=c.iVa(p.Nb(),p,t.title,m,y,H,E.h5(f.Bza),z))y=c.KDa(p),H=(e.Y4()-e.d4())/2,p=a.m.ea(p.a),m=t.V().i,t.$f(),"top"==u?(t.na(h.x+H+h.b/2),t.Qa(h.y),h.y+=m+y,h.i-=m+y):"bottom"==u?(t.na(h.x+H+h.b/2),t.Qa(h.y+h.i-m),h.i-=m+y):"left"==u?(t.ug(),
  t.sE(p?Math.PI/2:3*Math.PI/2),t.jb(h.x+m/2,h.y+h.i/2),h.x+=m+y,h.b-=m+y):"right"==u&&(t.ug(),t.sE(p?Math.PI/2:3*Math.PI/2),t.jb(h.x+h.b-m/2,h.y+h.i/2),h.b-=m+y),e.C8a(t)}}};c.o2=function(a,e,h){var t=a.A();"on"==t.tickLabel.rendered&&(t=t.position,"top"==t||"bottom"==t?c.nZa(a,e,h):"tangential"==t?c.oZa(a,e,h):c.pZa(a,e,h),c.iZa(a,e))};c.nZa=function(c,e,h){for(var t=c.a,u=c.A(),H=u.position,y="inside"==u.tickLabel.position,m=a.m.ea(t),z=e instanceof a.ce,w=z&&1<e.cE(),A=w?0:null,d=e.uq(t,A),g=w?
  v.Ah(t,u,u.layout.hierarchicalLabelGapHeight):0;d;){for(var B=0,r=0,l=0;l<d.length;l++){var C=d[l];if(null!=C){B=C instanceof a.za||C instanceof a.Ng;if(e.JR(A)){if((!B||B&&!C.Lu())&&!a.ga.Yc(C,h.i,h.b,c))continue;m?C.Oh():C.bh();w?(B=C.V().b,C.Eb(h.i-B),r=Math.max(r,B)):C.Eb(h.y)}else{if(!y&&C.V().i-1>h.i)continue;w&&"bottom"==H?C.Qa(h.i):"bottom"==H?C.Qa(h.y):C.Qa(h.y+h.i);!w&&("bottom"==H&&!y||"top"==H&&y)?C.Mk():w&&"top"==H?C.Mk():C.km();if(w)r=Math.max(r,C.V().i);else if(y){var g=v.Ah(t,u,u.layout.insideLabelGapWidth);
  m?C.bh():C.Oh();C.na(C.rb()+g*(m?-1:1))}}var B=z?e.$K(C):l,K=e.bf(B,A),S=C.gn(),O=e.oh(B,A),ca=e.bk(B,A),x=e.eh(B,A);c.Nb().Xb(C,new F(c,C,x,O,ca,S,K,E.h5(f.F8,C.Wc(),B,A)));w?e.WKa(A):r=Math.max(r,C.V().i);c.B(C)}}if(w){for(l=0;l<d.length;l++)C=d[l],null!=C&&(B=e.JR(A),K=A<e.cE()-1,!B&&K?(C.Qa(h.i-r/2),C.ug()):C.Eb(h.i-r));h.y+=r+g;h.i-=r+g;A++;d=e.uq(c.a,A)}else h.y+=r,h.i-=r,d=null}if(e instanceof a.wb&&(d=e.uq(c.a),t=e.uq(c.a,1),u=0,null!=t))for(l=0;l<t.length;l++)C=t[l],null==C||C.V().i-1>h.i||
  (c.Nb().Xb(C,new a.qg(null,null,null,E.h5(f.F8,C.Wc()))),w=z=0,H=e.A()._maxOverflowCoord,y=e.A()._minOverflowCoord,null!=d[l]&&(u=d[l].V().b/2,z=e.Bna[l],w=e.Cna[l]),0==z&&0==w?(z=C.rb(),C.na(m?z+u<=H?z+u:H:z-u>=y?z-u:y)):0>z?C.na(y):0<z&&C.na(H),C.Mk(),C.Qa(h.y),c.B(C))};c.pZa=function(c,e,h){function t(d,t){var K=d instanceof a.za||d instanceof a.Ng,K=!K||K&&!d.Lu();if(!(r&&a.ga.hy(A).b-1>h.b)&&(r||w||!K||a.ga.Yc(d,h.b,h.i,c))){t=B?e.$K(d):t;var K=e.bf(t,l),S=d.gn(),x=e.oh(t,l),D=e.bk(t,l),X=e.eh(t,
  l);c.Nb().Xb(d,new F(c,d,X,x,D,S,K,E.h5(f.F8,d.Wc(),t,l)));r?(d.bh(),d.na(m?h.b:h.x+g),e.WKa(l)):(d.na(C),z||"right"!=H?d.bh():d.Oh(),w&&(d.km(),d.Qa(d.vb()-v.Ah(y,u,u.layout.insideLabelGapHeight))),"radial"==H&&(K=d.vb(),d.Qa(h.y+h.i/2-K),S=d.V(),x=.15*S.i,x=a.G.YI(S.x-x,S.y,S.b+2*x,S.i,2,2,2,2),x=new a.Ib(c.a,x),D=d.Bd().N(a.j.fe),K=K+S.i/2>e.Wi&&"circle"==c.A().polarGridShape?1:.3,D?x.ab(D):x.ab("#FFFFFF",K),c.B(x)));c.B(d)}}var u=c.A(),H=u.position,y=c.a,m=a.m.ea(y),z=e instanceof a.Pg,w="inside"==
  u.tickLabel.position,A,d,g,B=e instanceof a.ce,r=B&&1<e.cE(),l=r?0:null;A=e.uq(c.a,l);var C=0;r?(d=v.Ah(y,u,u.layout.hierarchicalLabelGapWidth),g=a.ga.hy(A).b):"radial"==H?(d=v.Ah(y,u,u.layout.radialLabelGap),C=h.x+h.b/2,C=m?C+(d+a.ga.hy(A).b):C-d):"left"==H?(C=h.x+h.b,z&&w&&(C+=a.ga.hy(A).b)):(C=h.x,z&&!w&&(C+=a.ga.hy(A).b));for(;A;){for(var K=0;K<A.length;K++){var S=A[K];null!=S&&t(S,K)}if(r)h.x+=g+d,h.b-=g+d,l++,g=(A=e.uq(c.a,l))?a.ga.hy(A).b:null;else break}if(e instanceof a.wb&&(d=e.uq(c.a,1),
  null!=d))for(K=0;K<d.length;K++)S=d[K],null!=S&&t(S,K)};c.oZa=function(c,e,h){for(var t=e.uq(c.a),u=0;u<t.length;u++){var H=t[u];if(null!=H){var y=h.b/2-Math.abs(H.rb()),m=h.i/2-Math.abs(H.vb());if(a.ga.Yc(H,y,m,c)){var y=e instanceof a.ce?e.$K(H):u,m=e.bf(y),z=H.gn(),w=e.oh(y),A=e.bk(y),d=e.eh(y);c.Nb().Xb(H,new F(c,H,d,w,A,z,m,E.h5(f.F8,H.Wc(),y)));H.Va(h.x+h.b/2);H.Eb(h.y+h.i/2);c.B(H)}}}};c.iVa=function(p,e,h,t,u,f,y,m){m?(h=new a.za(e.a,h,0,0),h.EL(c.vAa),h.Gy(u,f,1)):h=new a.M(e.a,h,0,0);h.ub(t);
  return a.ga.Yc(h,u,f,e)?(p.Xb(h,new a.qg(h.gn(),null,null,y)),h):null};c.iZa=function(p,e){if(e instanceof a.ce&&e.$Ta){var h=e.cE(),t=e.U3a();if(!(1>=h||0>=t))for(var u=p.A(),h=u.position,h="top"==h||"bottom"==h,f=p.a,y=a.m.ea(f),m=new a.ma(e.Wsa(),1,1),z=0,f=h?v.Ah(f,u,u.layout.hierarchicalLabelGapHeight):v.Ah(f,u,u.layout.hierarchicalLabelGapWidth),w=u.startGroupOffset,u=u.endGroupOffset,A,d,g,B,r,l=t;0<=l;l--){var C=e.uq(p.a,l);A=a.ga.hy(C);var K=e.JR(l),S=K||!h?A.b:A.i;if(0!=S){var O=!1,ca=null;
  if(l<t)for(var x=0;x<C.length;x++){var D=C[x];if(null!=D){var E=e.$K(D),F=0==e.u4(E,l).length;if(!F){var X=F&&0==l&&(0==E||E==C.length-1),aa=D&&null==C[E-1],Y=D&&null==C[E+1];r=e.Bz(E,l);var P=e.VK(E,l);if(h){if(D&&(B=D instanceof a.za||D instanceof a.Ng?D.nL():D.vb(),A=e.jj(r-w),d=K?B+.5*z:B-S/2-.5*z-f,g=e.jj(P+u),B=K?B+S+z+2*f:B,F&&X||0!=O||null==A||c.PJ(p,m,A,B,A,d),null==g||X||c.PJ(p,m,g,B,g,d)),!F){if(D)var R=K?D.V().i:D.V().b;A=aa&&0==ca?e.Hi:e.nm(r-w);O=e.u4(E+1,l);g=Y&&O&&0<O.length?e.Wi:
  e.nm(P+u);d=D?y?D.rb()+.5*R:D.rb()-.5*R:e.nm(P+u);r=D?y?D.rb()-.5*R:D.rb()+.5*R:e.nm(r-w);D&&(K?c.PJ(p,m,A,B,g,B):(Y=y?.5*-D.V().i:.5*D.V().i,P=y?r+Y>g:r+Y<g,(y?A>d-Y:A<d-Y)&&c.PJ(p,m,A,B,d-Y,B),P&&c.PJ(p,m,r+Y,B,g,B)))}}else D&&(A=y?D.rb()-S-.5*f:D.rb()+.5*f,d=e.jj(r-w),g=y?D.rb()+.5*f:D.rb()-S-.5*f,B=e.jj(P+u),(!F&&0==O||0==E&&F&&0!=l)&&null!=d&&c.PJ(p,m,A,d,g,d),null==B||X||c.PJ(p,m,g,B,A,B)),F||(d=aa&&0==ca?0:e.nm(r-w),O=e.u4(E+1,l),B=Y&&O&&0<O.length?e.Wi:e.nm(P+u),D&&c.PJ(p,m,g,d,g,B));O=!F&&
  null!=D;ca=null!=D||null==D&&F}}}}z=S}}};c.PJ=function(c,e,h,t,u,f){h=new a.Fb(c.a,h,t,u,f);h.Ha(e);h.Xc(!0);c.B(h)};c.cDa=function(c,e,h,t,u){var f=c.a,y=c.A();c=e.cE();for(var y=1<c?v.Ah(f,y,y.layout[u?"hierarchicalLabelGapHeight":"hierarchicalLabelGapWidth"]):0,m=0;m<c;m++){var z;if(e.DJa()){z=[];for(var w=[],A=0;A<e.lg();A++){z.push(e.u4(A,0));var d=e.$Ha(A,0);d||(d=e.J.tickLabel.style);w.push(d)}z=a.ga.Fba(f,z,w)}else z=e.uq(f,m),u?(z=a.ga.hy(z),z=e.JR(m)?z.b:z.i):z=a.ga.hy(z).b;if(h+z<=t)h+=
  z+y;else{0==m&&(h=t);break}}0!=m&&(h-=y);return h};c.iJa=function(p,e,h,t){var u=0;e.title&&(c.Lu(e.titleStyle)?(u=new a.za(p,e.title,0,0),u.EL(c.vAa),u.ub(e.titleStyle),u.Gy(h,t,1),u=a.ga.yq(p,e.titleStyle)*u.Nv()):u=a.ga.yq(p,e.titleStyle));return u};c.Lu=function(c){c=c.N(a.j.wha);return"nowrap"==c||"noWrap"==c?!1:!0};a.xf=function(){};a.f.v(a.xf,a.f);a.xf.newInstance=function(c,e,h){return e.timeAxisType&&"disabled"!=e.timeAxisType?new a.wb(c,e,h):e._isGroupAxis?new a.ce(c,e,h):new a.Pg(c,e,h)};
  a.xf.prototype.Init=function(c,e,h){this.a=c;this.zf=e.position;this.GP=e._radius;this.AU=null;"top"==this.zf||"bottom"==this.zf?(this.Hi=h.x,this.Wi=h.x+h.b):"left"==this.zf||"right"==this.zf?(this.Hi=h.y,this.Wi=h.y+h.i):"radial"==this.zf?(this.Hi=0,this.Wi=this.GP):"tangential"==this.zf&&(a.m.ea(c)?(this.Hi=2*Math.PI,this.Wi=0):(this.Hi=0,this.Wi=2*Math.PI));this.fs=this.Zu=this.js=this.ks=this.rh=this.Ye=null;this.ow=this.Dw=0;null==e.leftBuffer&&(e.leftBuffer=Infinity);null==e.rightBuffer&&(e.rightBuffer=
  Infinity);this.J=e};a.xf.prototype.A=function(){return this.J};a.xf.prototype.uq=function(){return null};a.xf.prototype.py=function(){return this.AU};a.xf.prototype.C8a=function(a){this.AU=a};a.xf.prototype.fV=function(){return[]};a.xf.prototype.iV=function(){return[]};a.xf.prototype.wz=function(){return null};a.xf.prototype.yR=function(a){if(null==a)return null;var c=Math.max(this.Hi,this.Wi);return a<Math.min(this.Hi,this.Wi)||a>c?null:this.AI(a)};a.xf.prototype.jj=function(a){return null==a?null:
  a<this.Ye||a>this.rh?null:this.ih(a)};a.xf.prototype.iba=function(a){if(null==a)return null;var c=Math.min(this.Hi,this.Wi),h=Math.max(this.Hi,this.Wi);a<c?a=c:a>h&&(a=h);return this.AI(a)};a.xf.prototype.nm=function(a){if(null==a)return null;a<this.Ye?a=this.Ye:a>=this.rh&&(a=this.rh);return this.ih(a)};a.xf.prototype.AI=function(){return null};a.xf.prototype.ih=function(){return null};a.xf.prototype.bf=function(){return null};a.xf.prototype.oh=function(){return null};a.xf.prototype.bk=function(){return null};
  a.xf.prototype.wz=function(){return null};a.xf.prototype.JR=function(){return!1};a.xf.prototype.q7=function(c,e,h,t,u){if("tangential"==this.zf){u=16/180*Math.PI;var f=1/180*Math.PI,y=.5*this.oy(),m=this.GP+y;if(h<f||h>2*Math.PI-f)m+=y;y=Math.round(m*Math.sin(h));m=Math.round(-m*Math.cos(h));c=t?new a.Tb(c,e,y,m,t):new a.M(c,e,y,m);h<f||Math.abs(h-Math.PI)<f||h>2*Math.PI-f?c.$f():h<Math.PI?c.Oh():c.bh();Math.abs(h-Math.PI/2)<u||Math.abs(h-3*Math.PI/2)<u?c.ug():h<Math.PI/2||h>3*Math.PI/2?c.km():c.Mk()}else u?
  c=t?new a.Ng(c,e,h,h,t):new a.za(c,e,h,h):(c=t?new a.Tb(c,e,h,h,t):new a.M(c,e,h,h),c.ug()),c.$f();(c instanceof a.M||c instanceof a.za)&&c.ub(this.J.tickLabel.style);return c};a.xf.prototype.CX=function(c,e){if(!c||0>=c.length)return!1;for(var h="left"==this.zf||"right"==this.zf||"radial"==this.zf,t=a.m.ea(this.a),u=this.efa(),f,y,m,z,w=0;w<c.length;w+=e+1)if(null!=c[w])if(null==f||null==y)h?(f=c[w].y,y=c[w].y+c[w].i):(f=c[w].x,y=c[w].x+c[w].b);else{if(h){if(m=c[w].y,z=c[w].y+c[w].i,m>=f&&m-u<y||
  m<f&&z+u>f)return!0}else if(m=c[w].x,z=c[w].x+c[w].b,!t&&m-u<y||t&&z+u>f)return!0;f=m;y=z}return!1};a.xf.prototype.Eya=function(a,c){if(!a||!c)return!1;var h=a.y,t=a.y+a.i,u=a.x,f=a.x+a.b,y=c.y,m=c.y+c.i,z=c.x,w=c.x+c.b;return(u<=z&&z<=f||u<=w&&w<=f||z<=u&&u<=w||z<=f&&f<=w)&&(y>=h&&y<t||y<=h&&m>=h)};a.xf.prototype.efa=function(){var c=this.oy(),e=this instanceof a.ce?.24*c:.79*c,c=this instanceof a.ce?.08*c:.28*c;return"left"==this.zf||"right"==this.zf||"radial"==this.zf||this.JR()?c:e};a.xf.prototype.oy=
  function(){return a.ga.yq(this.a,this.J.tickLabel.style)};a.xf.prototype.D8=function(a,c){for(var h=0,t=this.CX(c,h);t;)h++,t=this.CX(c,h);if(0<h){for(var t=[],u=0;u<a.length;u+=h+1)t.push(a[u]);return t}return a};a.xf.prototype.xPa=function(a,c){var h=[],t=a.length,u=null;if(1<t){for(var f,y=0;y<t;y++)c[y]&&(!f||f&&!this.Eya(f,c[y]))&&(u||(u=c[y]),h.push(a[y]),f=c[y]);this.Eya(f,u)&&h.pop();return h}return a};a.xf.prototype.YE=function(a,c,h){for(var t=[],u=this.JR(h),f=0;f<a.length;f++){var y=a[f];
  if(null==y)t.push(null);else{var m=y.V(c);null!=h&&(m.x=(u?y.ac():y.rb())-m.b/2,m.y=(u?y.qc():y.vb())-m.i/2);m.b&&m.i?t.push(m):t.push(null)}}return t};a.xf.prototype.z4=function(){return null};a.xf.prototype.uIa=function(){return null};a.xf.prototype.jIa=function(){return null};a.xf.prototype.hV=function(){return 0};a.xf.prototype.Y4=function(){return this.Dw};a.xf.prototype.d4=function(){return this.ow};a.xf.prototype.bC=function(){return 0};a.xf.prototype.eh=function(){return null};a.xf.prototype.vy=
  function(a){return a};a.xf.prototype.cn=function(a){return a};a.xf.prototype.tGa=function(a){return a};a.xf.prototype.gIa=function(){return null};a.Pg=function(a,c,h){this.Init(a,c,h)};a.f.v(a.Pg,a.xf);a.Pg.KRa=10;a.Pg.NRa=2;a.Pg.MRa=64;a.Pg.Aia=1E-10;a.Pg.prototype.Init=function(c,e,h){a.Pg.C.Init.call(this,c,e,h);"top"==this.zf||"bottom"==this.zf?("off"!=e.tickLabel.rendered&&"off"!=e.rendered&&(this.Dw=Math.max(a.Cj.ZS-e.leftBuffer,0),this.ow=Math.max(a.Cj.ZS-e.rightBuffer,0)),a.m.ea(c)?(this.pK=
  this.Wi-this.ow,this.ZT=this.Hi+this.Dw):(this.pK=this.Hi+this.Dw,this.ZT=this.Wi-this.ow)):"tangential"==this.zf||"radial"==this.zf?(this.pK=this.Hi,this.ZT=this.Wi):(this.pK=this.Wi,this.ZT=this.Hi);this.Zu=e.dataMin;this.fs=e.dataMax;this.MG="log"==e.scale&&0<this.Zu&&0<this.fs;this.ye=this.cn(e.min);this.df=this.cn(e.max);this.Tm=null==e.viewportMin?this.ye:this.cn(e.viewportMin);this.An=null==e.viewportMax?this.df:this.cn(e.viewportMax);this.pv=this.cn(this.Zu);this.Rt=this.cn(this.fs);this.No=
  this.cn(e.step);this.kP=this.cn(e.minorStep);this.vEa=this.cn(e.minStep);this.sr=e._majorTickCount;this.eU=e._minorTickCount;this.R0=e._logScaleUnit;this.HU=!this.MG&&"zero"==e.baselineScaling;this.Ot=null;null!=e.tickLabel&&(this.Ot=e.tickLabel.converter);this.mUa();this.ks=this.vy(this.ye);this.js=this.vy(this.df);this.Ye=this.vy(this.Tm);this.rh=this.vy(this.An)};a.Pg.prototype.C4=function(){return this.HU||"on"==this.J._continuousExtent&&null==this.J.min?Math.ceil(this.Tm/this.No)*this.No:Math.ceil((this.Tm-
  this.ye)/this.No)*this.No+this.ye};a.Pg.prototype.uq=function(a,c){if(c&&0<c)return null;var h=this.nHa(a),t=[],t=a.Gc;"tangential"!=this.zf&&(t=this.YE(h,t),h=this.D8(h,t));return h};a.Pg.prototype.nHa=function(c,e){var h=[];if(this.J.tickLabel&&this.J.tickLabel.scaling){var t=this.J.tickLabel.autoPrecision?this.J.tickLabel.autoPrecision:"on";this.RZ=new a.Gj(c,this.Tm,this.An,this.No,this.J.tickLabel.scaling,t)}for(var u=0;u<=this.sr;u++){var f=u*this.No+this.C4();if(f-this.An>a.Pg.Aia)break;var y=
  this.l0(f);if(this.J._skipHighestTick){if(f==this.An)continue;if("tangential"!=this.zf&&Math.abs(y-this.ZT)<this.oy())continue}this.MG&&(f=this.vy(f),this.RZ=new a.Gj(c,f,f,f,this.J.tickLabel.scaling,t));f=this.SVa(f);e?h.push(f):h.push(this.q7(c,f,y))}return h};a.Pg.prototype.fV=function(){for(var c=[],e=0;e<=this.sr;e++){var h=e*this.No+this.C4();if(h-this.An>a.Pg.Aia)break;this.J._skipHighestTick&&h==this.An||c.push(this.l0(h))}return c};a.Pg.prototype.iV=function(){for(var c=[],e=-1;e<=this.sr;e++){var h=
  e*this.No+this.C4();if(this.MG&&1==this.No&&1==this.kP)for(var t=2;9>=t;t++){var u=h+a.Math.log10(t);if(u>this.An)break;u<this.Tm||(u=this.l0(u),c.push(u))}else for(t=1;t<this.eU;t++){u=h+t*this.kP;if(u>this.An)break;u<this.Tm||(u=this.l0(u),c.push(u))}}return c};a.Pg.prototype.wz=function(){return this.MG?this.pK:this.nm(0)};a.Pg.prototype.AI=function(a){return null==a?null:this.vy(this.Tm+(a-this.pK)/(this.ZT-this.pK)*(this.An-this.Tm))};a.Pg.prototype.ih=function(a){return this.l0(this.cn(a))};
  a.Pg.prototype.l0=function(a){if(null==a)return null;a=this.An==this.Tm?0:(a-this.Tm)/(this.An-this.Tm);a=Math.max(Math.min(1E3,a),-1E3);return this.pK+a*(this.ZT-this.pK)};a.Pg.prototype.SVa=function(c){if(this.Ot&&(this.Ot.getAsString||this.Ot.format)){if(this.RZ)return this.RZ.format(c,this.Ot);if(this.Ot.getAsString)return this.Ot.getAsString(c);if(this.Ot.format)return this.Ot.format(c)}else return this.RZ?this.RZ.format(c):c.toFixed(Math.max(Math.ceil(-a.Math.log10(this.No)),0))};a.Pg.prototype.GBa=
  function(c){this.No||(this.No=this.sr?(this.An-this.Tm)/this.sr:Math.max(c,this.vEa));this.sr||(this.sr=(this.An-this.Tm)/this.No,Math.ceil(this.sr)-this.sr<a.Pg.Aia&&(this.sr=Math.ceil(this.sr)));this.eU||(this.eU=this.kP?this.No/this.kP:this.MG?this.No:a.Pg.NRa);this.kP||(this.kP=this.No/this.eU)};a.Pg.prototype.mUa=function(){var c="on"==this.J._continuousExtent;this.HU&&(this.pv=Math.min(0,this.pv),this.Rt=Math.max(0,this.Rt));var e=this.DBa(null!=this.ye?this.ye:this.pv,null!=this.df?this.df:
  this.Rt),e=Math.max(e,this.vEa);this.pv==this.Rt&&(0==this.pv?this.Rt+=5*e:(this.pv-=2*e,this.Rt+=2*e));null==this.ye&&(this.HU&&0<=this.pv?this.ye=0:c?this.ye=this.pv-.1*(this.Rt-this.pv):this.HU||null==this.df?this.ye=(Math.ceil(this.pv/e)-1)*e:(this.ye=this.df,this.ye-=e*(Math.floor((this.ye-this.pv)/e)+1)),0<=this.pv&&(this.ye=Math.max(this.ye,0)));null==this.df&&(this.sr?this.df=this.ye+this.sr*e:this.HU&&0>=this.Rt?this.df=0:c?this.df=this.Rt+.1*(this.Rt-this.pv):this.HU?this.df=(Math.floor(this.Rt/
  e)+1)*e:(this.df=this.ye,this.df+=e*(Math.floor((this.Rt-this.df)/e)+1)),0>=this.Rt&&(this.df=Math.min(this.df,0)));this.df==this.ye&&(this.df=100,this.ye=0,e=(this.df-this.ye)/a.Pg.KRa);null==this.Tm&&(this.Tm=this.ye);null==this.An&&(this.An=this.df);if(this.Tm!=this.ye||this.An!=this.df)e=this.DBa(this.Tm,this.An);this.ye>this.Tm&&(this.ye=this.Tm);this.df<this.An&&(this.df=this.An);this.GBa(e)};a.Pg.prototype.DBa=function(c,e){if(this.No)return this.No;var h=e-c;if(this.MG){var t=Math.floor(h/
  8)+1;if(!this.R0||this.R0<t)this.R0=t;return this.R0}if(0==h)return 0==c?10:Math.pow(10,Math.floor(a.Math.log10(c))-1);if(this.sr)return h/=this.sr,t=Math.pow(10,Math.ceil(a.Math.log10(h)-1)),h/=t,h=1<h&&1.5>=h?1.5:5<h?10:Math.ceil(h),h*t;t=Math.pow(10,Math.ceil(a.Math.log10(h))-2);h=Math.round(h/t);return(10<=h&&14>=h?2:15<=h&&19>=h?3:20<=h&&24>=h?4:25<=h&&45>=h?5:46<=h&&80>=h?10:20)*t};a.Pg.prototype.z4=function(){return this.sr};a.Pg.prototype.uIa=function(){return this.eU};a.Pg.prototype.jIa=
  function(){return this.vy(this.No)};a.Pg.prototype.hV=function(){return(this.df-this.ye)/a.Pg.MRa};a.Pg.prototype.Y4=function(){return"top"!=this.zf&&"bottom"!=this.zf||!a.m.ea(this.a)?this.Dw:this.ow};a.Pg.prototype.d4=function(){return"top"!=this.zf&&"bottom"!=this.zf||!a.m.ea(this.a)?this.ow:this.Dw};a.Pg.prototype.vy=function(a){return null==a?null:this.MG?Math.pow(10,a):a};a.Pg.prototype.cn=function(c){return null==c?null:this.MG?0<c?a.Math.log10(c):null:c};a.Pg.prototype.tGa=function(a,c){if(this.MG)for(var h=
  this.z4();c<h;)this.eU=this.kP=this.sr=this.No=null,a++,this.GBa(a),h=this.z4();return a};a.Pg.prototype.gIa=function(){return this.R0};a.ce=function(a,c,h){this.Init(a,c,h)};a.f.v(a.ce,a.xf);a.ce.uAa=3;a.ce.CAa=12;a.ce.prototype.Init=function(p,e,h){a.ce.C.Init.call(this,p,e,h);var t=a.m.ea(p),u="top"==this.zf||"bottom"==this.zf;if(u&&t){var f=this.Hi;this.Hi=this.Wi;this.Wi=f}this.lk=[];this.n0=this.JCa(e.groups,0,this.lk,0);this.Oo=this.lk.length;this.$Ta="off"!=e.groupSeparators.rendered;this.TZa=
  e.groupSeparators.color;this.xna=null;this.W9=e.drilling;var f=0<e.endGroupOffset?Number(e.endGroupOffset):0,y=0<e.startGroupOffset?Number(e.startGroupOffset):0;this.Zu=0;this.fs=this.n0-1;this.ks=null==e.min?this.Zu-y:e.min;this.js=null==e.max?this.fs+f:e.max;var m=this.Zj(e.viewportStartGroup),z=this.Zj(e.viewportEndGroup);-1!=m&&(this.Ye=m-y);-1!=z&&(this.rh=z+f);null!=e.viewportMin&&(this.Ye=e.viewportMin);null!=e.viewportMax&&(this.rh=e.viewportMax);null==this.Ye&&(this.Ye=this.ks);null==this.rh&&
  (this.rh=this.js);this.ks>this.Ye&&(this.ks=this.Ye);this.js<this.rh&&(this.js=this.rh);this.hK=e._groupWidthRatios;this.UEa();this.RFa=t?e.rightBuffer:e.leftBuffer;this.rCa=t?e.leftBuffer:e.rightBuffer;this.bna=[];for(t=0;t<this.Oo;t++)this.bna.push(!1);this.nFa=e._renderGridAtLabels;this.yn=null;this.jB=u?h.i:h.b;"off"!=e.rendered&&(h=c.iJa(p,e,u?h.b:h.i,u?h.i:h.b),this.jB-=0!=h?h+v.Ah(p,e,e.layout.titleGap):0);this.$T=a.ce.uAa};a.ce.prototype.UEa=function(){if(!this.hK||2>this.hK.length)this.hK=
  null;else{for(var c=0,e,h,t=0;t<this.n0;t++)e=0==t?this.Ye:Math.max(t-.5,this.Ye),h=t==this.n0-1?this.rh:Math.min(t+.5,this.rh),h>e&&(c+=(h-e)*this.hK[t]);var u=this.Wi-this.Hi;this.FO=a.Y.map(this.hK,function(a){return a*u/c});this.NA=[];for(t=0;t<this.hK.length-1;t++)this.NA.push(t+.5);this.Yy=[];e=Math.min(Math.max(Math.round(this.Ye),0),this.NA.length-1);this.Yy[e]=this.Hi+(this.NA[e]-this.Ye)*this.FO[e];for(t=e+1;t<this.NA.length;t++)this.Yy[t]=this.Yy[t-1]+this.FO[t];for(t=e-1;0<=t;t--)this.Yy[t]=
  this.Yy[t+1]-this.FO[t+1]}};a.ce.prototype.AFa=function(p,e,h,t){var u,f=this.a,y=a.m.ea(f),m=1<this.Oo;null==t&&(t=this.Oo-1);this.bna[t]=!0;m||this.E2(h,h,p);for(var z=0;z<p.length;z++)if(h=p[z],null!=h){u=h.rb();if(h instanceof a.za||h instanceof a.Ng){var w=this.bC()*(this.VK(z,t)-this.Bz(z,t)+1);2*h.Ts()<w&&0<this.jB?h.Gy(this.jB,h.Ts()*a.ce.uAa,1):h.rS(!1)}h.na(0);h.Qa(0);y?h.sE(Math.PI/2):h.sE(3*Math.PI/2);h.Va(u)}y=this.YE(p,e,t);c.Lu(this.J.tickLabel.style)&&0<this.jB&&this.DFa(f,y,p,!0,
  m)&&(y=this.YE(p,e,t));return this.D8(p,y)};a.ce.prototype.DFa=function(c,e,h,t,u){e=this.wUa(e,h,t);for(var f=0,y=0;y<h.length;y++){var m=h[y];if(m){var z=m instanceof a.za||m instanceof a.Ng;e&&z&&m.Lu()&&m.Gy(this.jB,m.Ts()*this.$T,1);u&&(f=Math.max(f,m.V().b));m.ug()}}u&&(this.jB-=f+v.Ah(c,this.J,t?this.J.layout.hierarchicalLabelGapHeight:this.J.layout.hierarchicalLabelGapWidth));return e};a.ce.prototype.wUa=function(c,e,h){for(var t=!1;this.CX(c,0)&&1<this.$T;){for(var t=!0,u=0;u<e.length;u++){var f=
  e[u];(f instanceof a.za||f instanceof a.Ng)&&f.Nv()==this.$T&&(f=f.Ts(),h?c[u].b-=f:(c[u].y+=.5*f,c[u].i-=f))}this.$T--}return t};a.ce.prototype.JR=function(a){null==a&&(a=this.Oo-1);return this.bna[a]};a.ce.prototype.E2=function(c,e,h){c=Math.max(c-this.RFa,0);e=Math.max(e-this.rCa,0);h=a.m.ea(this.a);this.Hi+=(c-this.Dw)*(h?-1:1);this.Wi-=(e-this.ow)*(h?-1:1);this.UEa();for(var t=0;t<this.Oo;t++){h=this.yn[t];for(var u=0;u<h.length;u++){var f=h[u];if(f){var y=this.jDa(t,this.$K(f));f.na(y)}}}this.Dw=
  c;this.ow=e};a.ce.prototype.uq=function(a,c){null==c&&(c=this.Oo-1);this.yn||this.mla(a);return this.yn[c]};a.ce.prototype.jDa=function(a,c){var h=this.Bz(c,a),t=this.VK(c,a);if(null==h||null==t)return null;h<this.Ye&&t>this.Ye&&(h=this.Ye);t>this.rh&&h<this.rh&&(t=this.rh);return this.jj(t?h+(t-h)/2:h)};a.ce.prototype.mla=function(p){var e=[];this.yn=[];for(var h=p.Gc,t="top"==this.zf||"bottom"==this.zf,u=a.m.ea(p),f=1<this.Oo,y=this.bC(),m=this.jB,z=f?v.Ah(p,this.J,this.J.layout[t?"hierarchicalLabelGapHeight":
  "hierarchicalLabelGapWidth"]):0,w="auto"==this.J.tickLabel.rotation&&t,A=this.DJa(),d=this.J.tickLabel.style,d=c.Lu(this.J.tickLabel.style)&&"tangential"!=this.zf&&y>a.ga.yq(p,d),g,B,r,l,C,K=0;K<this.Oo;K++){var S=this.lk[K],O=1;A&&(O=a.ce.CAa/(2*y),this.J._duringZoomAndScroll&&(O*=4),O=Math.max(1,Math.floor(O)));for(var ca=0;ca<S.length;ca+=O)if(S[ca])if(g=this.u4(ca,K),""==g||!g&&0!=g)e.push(null);else if(C=this.jDa(K,ca),null!=C){l=this.$Ha(ca,K);var x=!A&&d&&"number"!=typeof g&&0<=g.indexOf(" ");
  C=this.q7(p,g,C,l,x);var D=y*(this.VK(ca,K)-this.Bz(ca,K)+1);x&&this.wXa(p,g,l,w,t?D:m)&&0<m?t?C.Gy(D,m,1,!0):C.Gy(m,C.Ts()*this.$T,1,!1):x&&(!t||0>m)&&C.rS(!1);C.Ko=ca;e.push(C);B||0!=K||(B=C);0==K&&(r=C)}else e.push(null);else e.push(null);if(d&&f){for(g=l=0;g<e.length;g++)e[g]&&(S=e[g].V(),l=Math.max(l,t?S.i:S.b));m-=l+z}this.yn.push(e);e=[]}e=this.yn[this.Oo-1];y=[];if(B)if("tangential"==this.zf)y=this.YE(e,h),this.yn[0]=this.xPa(e,y);else for(B=B.V(),t&&(null!=this.J._startOverflow&&null!=this.J._endOverflow?
  (K=this.J._startOverflow,u=this.J._endOverflow):(r=r.V(),K=u?B.b+B.x-this.Hi:this.Hi-B.x,u=u?this.Wi-r.x:r.b+r.x-this.Wi),!A&&(K>this.RFa||u>this.rCa)&&this.E2(K,u,e)),K=0;K<this.Oo;K++)if(e=this.yn[K],A)this.yn[K]=this.AFa(e,h,B.i/2,K);else if(y=this.YE(e,h,K),(u=this.CX(y,0))||(this.yn[K]=e),t)if(w)if(u)this.yn[K]=this.AFa(e,h,B.i/2,K);else{if(this.yn[K]=e,f){for(g=e=0;g<y.length;g++)y[g]&&(e=Math.max(e,y[g].i));this.jB-=e+z}}else y=this.YE(e,h),this.yn[K]=this.D8(e,y);else d&&this.DFa(p,y,e,!1,
  f)&&(y=this.YE(e,h,K)),this.yn[K]=this.D8(e,y)};a.ce.prototype.fV=function(){for(var a=[],c,h="tangential"==this.zf?this.lg():this.lg()-1,t=0;t<this.lk[0].length;t++)if(this.lk[0][t]){c=this.Bz(t,0);var u=this.VK(t,0);c=this.nFa?this.jj(c+.5*(u-c)):u+.5<h?this.jj(u+.5):null;null!=c&&a.push(c)}return a};a.ce.prototype.iV=function(){var a=[],c;if(!this.lk[1])return a;for(var h=0;h<this.lk[1].length;h++)if(this.lk[1][h]){c=this.Bz(h,1);var t=this.VK(h,1);c=this.nFa?this.jj(c+.5*(t-c)):t+.5<this.lg()-
  1?this.jj(t+.5):null;null!=c&&a.push(c)}return a};a.ce.prototype.AI=function(a){if(null==a)return null;if(this.hK){for(var c=this.Yy.length,h=0;h<this.Yy.length;h++)if(a<=this.Yy[h]){c=h;break}return 0==c?this.NA[0]-(this.Yy[0]-a)/this.FO[0]:this.NA[c-1]+(a-this.Yy[c-1])/this.FO[c]}return this.Ye+(a-this.Hi)/((this.Wi-this.Hi)/(this.rh-this.Ye))};a.ce.prototype.ih=function(a){if(null==a)return null;if(this.hK){for(var c=this.NA.length,h=0;h<this.NA.length;h++)if(a<=this.NA[h]){c=h;break}return 0==
  c?this.Yy[0]-this.FO[0]*(this.NA[0]-a):this.Yy[c-1]+this.FO[c]*(a-this.NA[c-1])}return this.Hi+(this.Wi-this.Hi)/(this.rh-this.Ye)*(a-this.Ye)};a.ce.prototype.u4=function(a,c){null==c&&(c=this.Oo-1);a=Math.round(a);if(0>a)return null;var h=this.lk[c]&&this.lk[c][a]?this.lk[c][a].item:null;h&&(h.name?h=h.name:null!=h.id&&(h=""));return h};a.ce.prototype.SHa=function(a,c){null==c&&(c=this.Oo-1);a=Math.round(a);if(0>a)return null;var h=this.lk[c]&&this.lk[c][a]?this.lk[c][a].item:null;if(h){if(h.id)return h.id;
  if(h.name||""==h.name)return h.name}return h};a.ce.prototype.$Ha=function(c,e){var h=this.d$(c,e,"labelStyle");return h?(h=new a.j(h),h.N("font-size")||h.Na("font-size",this.J.tickLabel.style.N("font-size")),h):null};a.ce.prototype.bf=function(a,c){return this.d$(a,c,"shortDesc")};a.ce.prototype.oh=function(a,c){return this.d$(a,c,"action")};a.ce.prototype.bk=function(a,c){var h=this.d$(a,c,"drilling");return"on"==h?!0:"off"==h?!1:"on"==this.W9||"groupsOnly"==this.W9};a.ce.prototype.eh=function(a,
  c){if(0>a||a>this.lg()-1)return null;if(1==this.Oo)return this.SHa(a);var h=[];null==c&&(c=this.Oo-1);for(var t=this.Bz(a,c),u=0;u<=c;u++)for(var f=this.lk[u],y=0;y<f.length;y++)this.Bz(y,u)<=t&&this.VK(y,u)>=t&&h.push(this.SHa(y,u));return 0<h.length?1==h.length?h[0]:h:null};a.ce.prototype.Zj=function(c){if(null==c)return-1;for(var e=-1,h=0;h<this.n0;h++){var t=this.eh(h);if(c instanceof Array&&t instanceof Array?a.Y.mc(c,t):c==t){e=h;break}}return e};a.ce.prototype.hV=function(){return 1};a.ce.prototype.bC=
  function(){return Math.abs(this.Wi-this.Hi)/Math.abs(this.rh-this.Ye)};a.ce.prototype.lg=function(){return this.n0};a.ce.prototype.cE=function(){return this.Oo};a.ce.prototype.JCa=function(a,c,h,t){for(var u=0;u<a.length;u++)if(h[c]||(h[c]=[]),h[c].push({item:a[u],start:t,end:t,position:u}),a[u]&&a[u].groups){t=h[c].length-1;var f=this.JCa(a[u].groups,c+1,h,h[c][t].start);h[c][t].end=f-1;t=f}else t++;return t};a.ce.prototype.d$=function(a,c,h){null==c&&(c=this.Oo-1);return(a=this.lk[c]&&this.lk[c][a]?
  this.lk[c][a].item:null)?a[h]:null};a.ce.prototype.Wsa=function(){return this.TZa};a.ce.prototype.Bz=function(a,c){null==c&&(c=this.Oo-1);return this.lk[c]&&this.lk[c][a]?this.lk[c][a].start:null};a.ce.prototype.VK=function(a,c){null==c&&(c=this.Oo-1);return this.lk[c]&&this.lk[c][a]?this.lk[c][a].end:null};a.ce.prototype.Sh=function(a,c){null==c&&(c=this.Oo-1);return this.lk[c]&&this.lk[c][a]?this.lk[c][a].position:null};a.ce.prototype.WKa=function(a){this.xna=a};a.ce.prototype.U3a=function(){for(var a=
  this.xna,c=this.xna-1;0<=c;c--)this.yn[c].length!=this.lk[c].length&&(a=c);return a};a.ce.prototype.$K=function(a){return 0<=a.Ko?a.Ko:null};a.ce.prototype.wXa=function(c,e,h,t,u){c=a.ga.zq(c,e,h);return c>=u&&(c/this.$T<u||!t)?!0:!1};a.ce.prototype.DJa=function(){var c="top"==this.zf||"bottom"==this.zf,e=1<this.Oo,h=this.bC(),c="auto"==this.J.tickLabel.rotation&&c;return!e&&c&&h<a.ce.CAa};a.f.v(F,a.qg);F.prototype.Init=function(a,c,h,t,u,f,y,m){F.C.Init.call(this,f,y,null,m);this.uf=a;this.Md=c;
  this.n$=h;this.$q=t;this.rv=u;(this.$q||this.rv)&&c.setCursor("pointer");a.Yia(this)};F.prototype.ag=function(){return this.Md};F.prototype.getId=function(){return this.n$};F.prototype.oh=function(){return this.$q};F.prototype.bk=function(){return this.rv};F.prototype.eh=function(){return this.n$};F.prototype.Kd=function(c){return c.type==a.MouseEvent.He?this:a.ya.Kd(this,c,this.uf.zx,!1,this.uf.a.Gc)};F.prototype.md=function(c){return this.Md?this.Md.V(c):new a.U(0,0,0,0)};F.prototype.Ga=function(){return this.Md};
  F.prototype.$j=function(){return this.Md?this.Md.ja():null};F.prototype.qh=function(){this.Tc=!0;if(this.Md){var c=this.md();this.jU=new a.Rect(this.uf.a,c.x,c.y,c.b,c.i);this.jU.uc(a.m.g4());this.jU.Yb();this.jU.Xa(this.Md.La());this.uf.B(this.jU)}};F.prototype.mf=function(){this.Tc=!1;this.Md&&(this.uf.removeChild(this.jU),this.jU=null)};F.prototype.Ae=function(){return this.Tc};F.prototype.se=function(){var c;this.bk()&&(c=[a.I.Zc(this.uf.A(),"stateDrillable",a.I.pa,"STATE_DRILLABLE")]);if(null!=
  this.bf())return a.R.mm(this.bf(),c);if(null!=c)return a.R.mm(this.ag().Wc(),c)};F.prototype.jn=function(){return!0};F.prototype.Fl=function(){return[this.getId()]};F.prototype.Rp=function(){return[this.Ga()]};a.Gj=function(a,c,h,t,u,f){this.Init(a,c,h,t,u,f)};a.f.v(a.Gj,a.f);a.Gj.bPa="none";a.Gj.ZOa="auto";a.Gj.dPa="thousand";a.Gj.aPa="million";a.Gj.$Oa="billion";a.Gj.ePa="trillion";a.Gj.cPa="quadrillion";a.Gj.fPa=3;a.Gj.prototype.Init=function(a,c,h,t,u,f){this.a=a;this.EFa={};this.DB=[];this.wCa=
  {};this.cOa();this.bOa(c,h,t,u,f)};a.Gj.prototype.cOa=function(){function c(e,t,u){var p;u&&(p=a.I.Ja(a.I.pa,u));u={wC:t,I5a:p};this.EFa[e]=u;this.DB.push(u);this.wCa[t]=u}var e=a.Gj.fPa;c.call(this,a.Gj.bPa,0*e);c.call(this,a.Gj.dPa,1*e,"SCALING_SUFFIX_THOUSAND");c.call(this,a.Gj.aPa,2*e,"SCALING_SUFFIX_MILLION");c.call(this,a.Gj.$Oa,3*e,"SCALING_SUFFIX_BILLION");c.call(this,a.Gj.ePa,4*e,"SCALING_SUFFIX_TRILLION");c.call(this,a.Gj.cPa,5*e,"SCALING_SUFFIX_QUADRILLION");this.DB.sort(function(a,c){return a.wC<
  c.wC?-1:a.wC>c.wC?1:0})};a.Gj.prototype.bOa=function(a,c,h,t,u){var f=!1,y,m=!1;"off"!==u&&(m=!0);t=this.WWa(t);"number"!==typeof t&&(f=!0);f&&(t=this.GVa(this.bma(Math.max(Math.abs(a),Math.abs(c)))));!0===m&&(0==h&&a==c?(a=t-this.bma(c),y=0>=a?Math.max(a+3,0):Math.max(a,4)):y=Math.max(t-this.bma(h),0));this.B_a=m;this.lpa=t;this.B_=y};a.Gj.prototype.GVa=function(a){var c=0;if(a<=this.DB[0].wC)c=this.DB[0].wC;else if(a>=this.DB[this.DB.length-1].wC)c=this.DB[this.DB.length-1].wC;else for(var h=this.DB.length-
  1;0<=h;h--)if(this.DB[h].wC<=a){c=this.DB[h].wC;break}return c};a.Gj.prototype.WWa=function(c){c||(c=a.Gj.ZOa);var e;if(c=this.EFa[c])e=c.wC;return e};a.Gj.prototype.format=function(a,c){var h=null!=a?parseFloat(a):a;if("number"==typeof h){var t;if(0<this.lpa){for(t=0;t<this.lpa;t++)h/=10;t=this.wCa[this.lpa].I5a}if(c&&c.getAsString)h=c.getAsString(h);else if(c&&c.format)h=c.format(h);else{var u=this.a.Dsa({minimumFractionDigits:this.B_,maximumFractionDigits:this.B_});u&&u.format?h=u.format(h):this.B_a&&
  (h=parseFloat((new Number(h)).toFixed(this.B_)),h=this.PVa(h))}"string"===typeof t&&0!=a&&(h+=t);return h}return a};a.Gj.prototype.PVa=function(c){c=c.toString();if(-1!=c.indexOf("e"))return c;var e=".",e=a.I.Ja(a.I.pa,"NUMBER_FORMAT_DECIMAL_SEPARATOR");if(0<this.B_)for(c=-1==c.indexOf(".")?c+e:c.replace(".",e),e=c.substring(c.indexOf(e)+1).length;e<this.B_;)c+="0",e++;return c};a.Gj.prototype.bma=function(a){a=0<=a?a:-a;var c=0;if(1E-15>a)return 0;if(Infinity==a)return Number.MAX_VALUE;if(10<=a)for(;10<=
  a;)c+=1,a/=10;else if(1>a)for(;1>a;)--c,a*=10;return c};a.wb=function(a,c,h){this.Init(a,c,h)};a.f.v(a.wb,a.xf);a.wb.SY=1E3;a.wb.TC=60*a.wb.SY;a.wb.$M=60*a.wb.TC;a.wb.SC=24*a.wb.$M;a.wb.jT=28*a.wb.SC;a.wb.CPa=31*a.wb.SC;a.wb.TY=365*a.wb.SC;a.wb.DPa=366*a.wb.SC;a.wb.prototype.Init=function(c,e,h){a.wb.C.Init.call(this,c,e,h);"top"==this.zf||"bottom"==this.zf?(e._isOverview||"on"!=e.tickLabel.rendered||(this.Dw=Math.max(a.Cj.ZS-e.leftBuffer,0),this.ow=Math.max(a.Cj.ZS-e.rightBuffer,0)),a.m.ea(c)?(this.KH=
  this.Wi-this.ow,this.wn=this.Hi+this.Dw):(this.KH=this.Hi+this.Dw,this.wn=this.Wi-this.ow)):(this.KH=this.Hi,this.wn=this.Wi);this.vna=(h=null!=e.tickLabel?e.tickLabel.converter:null)&&h[0]?h[0]:h;this.wna=h&&h[1]?h[1]:null;this.iG=c.bR().dateToIsoWithTimeZoneConverter;this.fm=e.groups;c=e.timeAxisType;this.bQ="skipGaps"==c;this.xEa="mixedFrequency"==c;this.Zu=e.dataMin;this.fs=e.dataMax;this.fD=1<this.fm.length?(this.fs-this.Zu)/(this.fm.length-1):0<this.fs-this.Zu?this.fs-this.Zu:6*a.wb.TC;this.Px=
  e.step;c=0<e.endGroupOffset?e.endGroupOffset*this.fD:0;h=0<e.startGroupOffset?e.startGroupOffset*this.fD:0;this.ks=null!=e.min?e.min:this.Zu-h;this.js=null!=e.max?e.max:this.fs+c;null!=e.viewportStartGroup&&(this.Ye=e.viewportStartGroup-h);null!=e.viewportEndGroup&&(this.rh=e.viewportEndGroup+c);null!=e.viewportMin&&(this.Ye=e.viewportMin);null!=e.viewportMax&&(this.rh=e.viewportMax);null==this.Ye&&(this.Ye=this.ks);null==this.rh&&(this.rh=this.js);this.ks>this.Ye&&(this.ks=this.Ye);this.js<this.rh&&
  (this.js=this.rh);this.Js=this.rh-this.Ye;this.y$=this.cP=this.mEa=this.L0=null;this.dna=!0;this.Bna=[];this.Cna=[];this.ux=e._locale.toLowerCase();this.Rna=[a.I.Ja(a.I.pa,"MONTH_SHORT_JANUARY"),a.I.Ja(a.I.pa,"MONTH_SHORT_FEBRUARY"),a.I.Ja(a.I.pa,"MONTH_SHORT_MARCH"),a.I.Ja(a.I.pa,"MONTH_SHORT_APRIL"),a.I.Ja(a.I.pa,"MONTH_SHORT_MAY"),a.I.Ja(a.I.pa,"MONTH_SHORT_JUNE"),a.I.Ja(a.I.pa,"MONTH_SHORT_JULY"),a.I.Ja(a.I.pa,"MONTH_SHORT_AUGUST"),a.I.Ja(a.I.pa,"MONTH_SHORT_SEPTEMBER"),a.I.Ja(a.I.pa,"MONTH_SHORT_OCTOBER"),
  a.I.Ja(a.I.pa,"MONTH_SHORT_NOVEMBER"),a.I.Ja(a.I.pa,"MONTH_SHORT_DECEMBER")]};a.wb.bWa=function(a){if("en-au"==a||"en-ie"==a||"en-ph"==a)return"am";if("en-gb"==a)return"";switch(a.substring(0,2)){case "en":return"AM";case "ar":return"\u0635";case "el":return"\u03c0\u03bc";case "ko":return"\uc624\uc804";case "zh":return"\u4e0a\u5348";default:return""}};a.wb.OWa=function(a){if("en-au"==a||"en-ie"==a||"en-ph"==a)return"pm";if("en-gb"==a)return"";switch(a.substring(0,2)){case "en":return"PM";case "ar":return"\u0645";
  case "el":return"\u03bc\u03bc";case "ko":return"\uc624\ud6c4";case "zh":return"\u4e0b\u5348";default:return""}};a.wb.aWa=function(a){a=a.substring(0,2);return"ko"==a||"zh"==a?!0:!1};a.wb.WCa=function(a){var c=a.substring(0,2);return"en-us"==a||"en-ph"==a?"MDY":"fa"==c||"hu"==c||"ja"==c||"ko"==c||"lt"==c||"mn"==c||"zh"==c?"YMD":"DMY"};a.wb.dXa=function(a){return 0==a.indexOf("ja")||0==a.indexOf("zh")?"\u5e74":0==a.indexOf("ko")?"\ub144":""};a.wb.sWa=function(a){return 0==a.indexOf("ja")||0==a.indexOf("zh")?
  "\u65e5":0==a.indexOf("ko")?"\uc77c":""};a.wb.prototype.w1a=function(c){c=this.ila(new Date(c),null,!0);return null!=c[1]?"YMD"==a.wb.WCa(this.ux)||this.Js<a.wb.jT&&this.Px<a.wb.SC?c[1]+" "+c[0]:c[0]+" "+c[1]:c[0]};a.wb.prototype.FCa=function(a,c,h){if(h){var t=null,u=null;h.getAsString?(t=h.getAsString(a),u=h.getAsString(c)):h.format&&(t=h.format(this.iG&&a?this.iG(a):a),u=h.format(this.iG&&c?this.iG(c):c));if(u!=t)return t}return null};a.wb.prototype.ila=function(c,e,h){var t=null,u=null,f="left"==
  this.zf||"right"==this.zf;if(this.vna||this.wna)return this.vna&&(t=this.FCa(c,e,this.vna)),this.wna&&(u=this.FCa(c,e,this.wna)),[t,u];if(this.Px>=a.wb.TY||this.Js>=6*a.wb.TY)t=this.cB(c,!1,!1,!0);else if(this.Px>=a.wb.jT||this.Js>=6*a.wb.jT){if(null==e||e.getMonth()!=c.getMonth())t=this.cB(c,!1,!0,!1);if(null==e||e.getYear()!=c.getYear())u=this.cB(c,!1,!1,!0)}else if(this.Px>=a.wb.SC||this.Js>=6*a.wb.SC)if(h)t=this.cB(c,!0,!0,!0);else{if(null==e||e.getDate()!=c.getDate())t=this.cB(c,!0,!1,!1);null==
  e||e.getYear()!=c.getYear()?u=this.cB(c,!1,!0,!0):e.getMonth()!=c.getMonth()&&(u=this.cB(c,!1,!0,!1))}else{if(this.Px>=a.wb.$M||this.Js>=6*a.wb.$M){if(null==e||e.getHours()!=c.getHours())t=this.kla(c,!1,!1)}else if(this.Px>=a.wb.TC||this.Js>=6*a.wb.TC){if(null==e||e.getMinutes()!=c.getMinutes())t=this.kla(c,!0,!1)}else if(null==e||e.getSeconds()!=c.getSeconds())t=this.kla(c,!0,!0);if(f){if(null==e||e.getDate()!=c.getDate())u=this.cB(c,!0,!0,!1)}else null==e||e.getYear()!=c.getYear()?u=this.cB(c,!0,
  !0,!0):e.getMonth()!=c.getMonth()?u=this.cB(c,!0,!0,!1):e.getDate()!=c.getDate()&&(u=this.cB(c,!0,!1,!1))}return[t,u]};a.wb.prototype.cB=function(c,e,h,t){var u="th"==this.ux.substring(0,2)&&"jet"!=this.J._environment?c.getFullYear()+543:c.getFullYear(),f;f=this.Rna&&12<=this.Rna.length?this.Rna[c.getMonth()]:c.toString().split(" ")[1];c=c.getDate();u+=a.wb.dXa(this.ux);c+=a.wb.sWa(this.ux);for(var y=a.wb.WCa(this.ux),m="",z=0;z<y.length;z++)e&&"D"==y[z]?m+=c+" ":h&&"M"==y[z]?m+=f+" ":t&&"Y"==y[z]&&
  (m+=u+" ");return 0<m.length?m.slice(0,m.length-1):m};a.wb.prototype.kla=function(c,e,h){var t=c.getHours(),u=c.getMinutes();c=c.getSeconds();var f=a.wb.bWa(this.ux),y=a.wb.OWa(this.ux),m=a.wb.aWa(this.ux),z=""!=f&&""!=y,w,A="";a.m.ea(this.a)&&(A="\u200f");if(z){if(12>t?(w=f,0==t&&(t=12)):(w=y,12<t&&(t-=12)),A+=t,e||0!=u)A+=":"+this.T9(u)}else A+=this.T9(t)+":"+this.T9(u);h&&(A+=":"+this.T9(c));return z?m?w+" "+A:A+" "+w:A};a.wb.prototype.T9=function(a){return 10>a?"0"+a:""+a};a.wb.prototype.rDa=
  function(){return this.Js>=6*a.wb.TY?a.wb.TY:this.Js>=6*a.wb.jT?a.wb.jT:this.Js>=6*a.wb.SC?a.wb.SC:this.Js>=a.wb.SC?3*a.wb.$M:this.Js>=6*a.wb.$M?a.wb.$M:this.Js>=a.wb.$M?15*a.wb.TC:this.Js>=30*a.wb.TC?5*a.wb.TC:this.Js>=6*a.wb.TC?a.wb.TC:this.Js>=a.wb.TC?15*a.wb.SY:this.Js>=30*a.wb.SY?5*a.wb.SY:a.wb.SY};a.wb.Ola=function(c,e,h){var t=new Date(c),u=t.getTimezoneOffset();t.setMonth(0,1);t.setHours(0,0,0,0);t=t.getTime()+6E4*(u-t.getTimezoneOffset());u=[];if(h>=a.wb.TY&&h<=a.wb.DPa){for(;t<c;)t=a.wb.dBa(t);
  for(;t<=e;)u.push(t),t=a.wb.dBa(t)}else if(h>=a.wb.jT&&h<=a.wb.CPa){for(;t<c;)t=a.wb.cBa(t);for(;t<=e;)u.push(t),t=a.wb.cBa(t)}else for(t+=Math.ceil((c-t)/h)*h;t<=e;)u.push(t),t+=h;return u};a.wb.dBa=function(a){a=new Date(a);a.setFullYear(a.getFullYear()+1);return a.getTime()};a.wb.cBa=function(a){a=new Date(a);a.setMonth(a.getMonth()+1);return a.getTime()};a.wb.prototype.mla=function(c){var e=[],h=[],t=[],u=[],f=[],y=null,m=0,z=0,w=c.Gc,A=a.m.ea(c),d="left"==this.zf||"right"==this.zf,g="off"!=this.J.zoomAndScroll,
  B=!0,r=0;d&&a.m.lE()&&(r=.16*this.oy());var l=[];if(null!=this.Px)l=a.wb.Ola(this.Ye,this.rh,this.Px);else if(this.xEa)this.Px=this.rDa(),l=a.wb.Ola(this.Ye,this.rh,this.Px);else{for(var C=0;C<this.fm.length;C++)this.fm[C]>=this.Ye&&this.fm[C]<=this.rh&&l.push(this.fm[C]);this.Px=this.fD;this.bQ||(d?C=a.ga.yq(c,this.J.tickLabel.style):(C=this.ila(new Date(l[0]))[0],C=a.ga.zq(c,C,this.J.tickLabel.style)),(C+this.efa())*(l.length-1)>Math.abs(this.wn-this.KH)&&(this.Px=this.rDa(),l=a.wb.Ola(this.Ye,
  this.rh,this.Px)))}0==l.length&&(l=[this.Ye]);for(C=0;C<l.length;C++){var K=l[C],S=this.jj(K);if(null!=S){var K=new Date(K),O=this.ila(K,y),y=O[0],O=O[1];null!=y?(t.push({text:y,ZH:null!=O?S+r:S}),u.push(S),m++):(t.push(null),u.push(null));e.push(null);g&&B&&(S=this.Ye?this.jj(this.Ye):S);B=!1;null!=O?(y=this.q7(c,O,null!=O?S-r:S),f.push(S),d||(A?y.bh():y.Oh()),h.push(y),this.dna=!1,z++):(h.push(null),f.push(null));y=K}}m=this.h_a(t,e,w);if(!g&&1<z&&m<1.5*z){e=h;h=null;for(c=0;c<e.length;c++)null!=
  e[c]&&e[c].$f();this.PFa(e,this.YE(e,w),!1,A)}else z=this.PFa(h,this.YE(h,w),!0,A),0==z&&(h=null);d&&null!=h&&this.i_a(e,h);this.L0=e;this.mEa=h;this.cP=u;this.y$=f};a.wb.fEa=function(a,c,h,t,u){return h>=a&&h-u<c||h<a&&t+u>a?!0:!1};a.wb.prototype.kDa=function(a,c,h,t){var u=a-(h?t?c:0:.5*c);if(u<this.J._minOverflowCoord)return Math.floor(u-this.J._minOverflowCoord);a+=h?t?0:c:.5*c;return a>this.J._maxOverflowCoord?Math.ceil(a-this.J._maxOverflowCoord):0};a.wb.prototype.PFa=function(c,e,h,t){if(!e||
  0>=e.length)return!1;for(var u="left"==this.zf||"right"==this.zf,f=this.oy(),f=u?.08*f:.24*f,y=0,m,z,w,A=Math.abs(this.wn-this.KH),d=0;d<e.length;d++)if(this.Cna.push(0),null!=c[d]){w=c[d];var g=w.V().b;e[d].b>A?c[d]=null:(g=this.kDa(w.rb(),g,h,t),this.Cna[d]=g,0!=g&&(w.na(w.rb()-g),e[d].x-=g))}for(d=0;d<e.length;d++)null!=e[d]&&(u?(h=e[d].y,t=e[d].y+e[d].i):(h=e[d].x,t=e[d].x+e[d].b),null!=m&&null!=z&&a.wb.fEa(m,z,h,t,f)&&(c[d]=null),null!=c[d]&&(m=h,z=t,y++));return y};a.wb.prototype.h_a=function(a,
  c,h){function t(a){if(null==f[a])if(u[a].label=w.q7(h.a,u[a].text,u[a].ZH),f[a]=u[a].label.V(h),f[a].b>y)u[a].label=null,f[a].b=0,f[a].i=0;else{var g=w.kDa(u[a].ZH,f[a].b,!1,!1);0!=g&&(u[a].ZH-=g,f[a].x-=g,u[a].label.na(u[a].label.rb()-g),w.Bna[a]=g)}return z?f[a].i:f[a].b}for(var u=[],f=[],y=Math.abs(this.wn-this.KH),m=0;m<a.length;m++)null!=a[m]&&(u.push(a[m]),f.push(null),this.Bna.push(0));for(var z="left"==this.zf||"right"==this.zf,w=this,m=(t(0)+this.efa())*(u.length-1),A=0<y?Math.ceil(m/y)-
  1:0,m=!0;m;){for(m=0;m<u.length;m++)0==m%(A+1)?(t(m),u[m].xLa=!1):u[m].xLa=!0;m=this.CX(f,A);A++}for(m=A=0;m<a.length;m++)null==a[m]||a[m].xLa||(c[m]=a[m].label,A++);return A};a.wb.prototype.i_a=function(c,e){function h(c,m){return a.wb.fEa(c.y,c.y+c.i,m.y,m.y+m.i,t)}for(var t=.08*this.oy(),u=null,f=!1,y=0;y<c.length;y++)if(c[y]&&e[y]){c[y].Mk();e[y].km();if(u&&h(u,e[y].V())){f=!0;break}u=c[y].V()}else if(c[y]||e[y]){var m=c[y]?c[y]:e[y];if(u&&h(u,m.V())){f=!0;break}u=m.V()}if(f)for(var m=f=u=null,
  z,y=0;y<c.length;y++)e[y]?(c[y]=null,e[y].ug(),z=e[y].V(),f&&h(f,z)&&(c[u]=null),m=z):c[y]&&(z=c[y].V(),m&&h(m,z)?c[y]=null:(f=z,u=y))};a.wb.prototype.uq=function(a,c){if(c&&1<c)return null;this.L0||this.mla(a);return 1==c?this.mEa:this.L0};a.wb.prototype.fV=function(){var a=[];if(this.dna)for(var c=0;c<this.cP.length;c++)null!=this.cP[c]&&null!=this.L0[c]&&a.push(this.cP[c]);else for(c=1;c<this.y$.length;c++)null!=this.y$[c]&&a.push(this.y$[c]);return a};a.wb.prototype.iV=function(){if(this.dna)return[];
  for(var a=[],c=0;c<this.cP.length;c++)null!=this.cP[c]&&null!=this.L0[c]&&a.push(this.cP[c]);return a};a.wb.prototype.AI=function(a){if(null==a)return null;a=(a-this.KH)/(this.wn-this.KH);if(this.bQ){var c=this.zU(this.Ye);return this.q$(c+a*(this.zU(this.rh)-c))}return this.Ye+a*(this.rh-this.Ye)};a.wb.prototype.ih=function(a){if(null==a)return null;if(this.bQ){var c=this.zU(this.Ye);a=(this.zU(a)-c)/(this.zU(this.rh)-c)}else a=(a-this.Ye)/(this.rh-this.Ye);return this.KH+a*(this.wn-this.KH)};a.wb.prototype.vy=
  function(a){return null==a?null:this.bQ?this.q$(a):a};a.wb.prototype.cn=function(a){return null==a?null:this.bQ?this.zU(a):a};a.wb.prototype.zU=function(a){for(var c=this.fm.length,h=0;h<this.fm.length;h++)if(a<=this.fm[h]){c=h;break}var h=c-1,t=void 0!==this.fm[h]?this.fm[h]:this.fm[0]-this.fD;return h+(a-t)/((void 0!==this.fm[c]?this.fm[c]:this.fm[this.fm.length-1]+this.fD)-t)};a.wb.prototype.q$=function(a){var c=Math.min(Math.max(Math.ceil(a),0),this.fm.length),h=c-1,t=void 0!==this.fm[h]?this.fm[h]:
  this.fm[0]-this.fD;return t+(a-h)*((void 0!==this.fm[c]?this.fm[c]:this.fm[this.fm.length-1]+this.fD)-t)};a.wb.prototype.bC=function(){return this.bQ?Math.abs(this.ih(this.q$(1))-this.ih(this.q$(0))):Math.abs(this.ih(this.Ye+this.fD)-this.ih(this.Ye))};a.wb.prototype.hV=function(){return this.bQ?1:this.xEa?Math.min((this.js-this.ks)/8,this.fD):this.fD};a.wb.prototype.Y4=function(){return"top"!=this.zf&&"bottom"!=this.zf||!a.m.ea(this.a)?this.Dw:this.ow};a.wb.prototype.d4=function(){return"top"!=this.zf&&
  "bottom"!=this.zf||!a.m.ea(this.a)?this.ow:this.Dw}})(dvt);
    return dvt;
  });
  