text: /**
   * Copyright (c) 2014, 2016, Oracle and/or its affiliates.
   * The Universal Permissive License (UPL), Version 1.0
   */
  "use strict";
  define(['./DvtToolkit', './DvtAxis', './DvtLegend', './DvtOverview'], 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){this.Init(a.a,a.dispatchEvent,a);this.L2=a}function D(){this.Init({skyros:D.If,alta:D.Qg})}function E(a){this.L2=a}function v(){}function x(){this.oXa()}function f(){}function c(a,b){this.Init(a,b)}function p(a,b){this.Init(a,b)}function e(a,b){this.Init(a,b)}function h(a,b){this.Init(a,b)}function t(a,b){this.Init(a,b)}function u(a,b){this.Init(a,b)}function H(a,b){this.Init(a,b)}function y(a,b){this.Init(a,b)}function m(b){this.J=b.J;this.Pq=b.Pq;this.B8=b.B8;this.Cache=
  b.Cache;this.Xp=b.Xp;this.Bf=new a.sk;this.Vb=new a.sk}function z(){}function w(){}function A(a,b){this.Init(a,b)}function d(a,b,n,d){this.Init(a,b,n,d)}function g(a,b,n,d,k,g,q,l){this.Init(a,b,n,d,k,g,q,l)}function B(a,b,n,d,k,g,q,l,r){this.Init(a,b,n,d,k,g,q,l,r)}function r(a,b,n){this.Init(a,b,n)}function l(a,b,n,d,k,g,q){this.Init(a);this.oz=g;this.ST=q;this.qCa(b,n,d,k)}function C(a,b,n,d,g,q,l){this.Init(a.a);this.RN=b;this.EA=l.clone();this.xBa=null;this.y_=k.WD(a)*C.FRa;this.C2(n,d,g,q)}
  function K(a){this.Init(a.a,a.Ef,a);this.Y$=a;this.ba=a.Tr?a.Tr.ba:null;this.lc=a.getId()+"_overview"}function S(a,b,n,d,k,g){this.Init(a,b,null,n,d,k,k,null,null,!0);g&&this.Ha(S.yW)}function O(a,b,n,d,k,g,q,l,r,m,c,C){this.Init(a.a);this.ba=a;this.zja=b;this.EA=n;this.xs=d;this.le=k;this.$y=g;this.uv=q;this.Uj=l;this.Se=r;this.vBa=c?c:r;this.v0={};this.CL(m,C)}function ca(a,b,n,d,k,g){this.x=a;this.Pl=b;this.bq=n;this.hE=d;this.group=k;this.KK=g}function ja(a,b,n,d,k,g,q){this.Init(a);n=Math.max(2*
  Math.round(n/2),1);var l=Math.min(2*Math.ceil(ja.tQa*n/2),n),r=Math.round(b)-n/2;n=r+n;null!=g&&null!=q&&(b=Math.round(b)-l/2,l=b+l,this.mk=new X(a,[b,g,l,g,l,q,b,q]),this.B(this.mk));this.Pj=new X(a,[r,d,n,d,n,k,r,k]);this.B(this.Pj);this.Xc(!0)}function ea(b,n,d,g,q,l,r,m,c){this.Init(b.a);this.ba=b;this.Sw=I.Tg(b);this.Is=c;this.nr=k.hL(this.ba);this.gH=k.dE(this.ba);this.jz=a.Jm.yz(this.Is._color);c=n-d/2;n+=d/2;0<k.WD(b)&&d>ha.wAa&&n--;this.iaa(c,n,g,q,l,r,m)}function ha(a,b,n,d,g,q,l){l||this.Init(a.a);
  this.Sw=I.Tg(a);this.sBa=I.rC(a);this.dUa=k.vra(a);this.y_=k.WD(a);this.RN=b;this.nCa=!!l;this.C2(n,d,g,q,!0)}function da(a,b,n){this.Init(a,b,n)}function X(a,b,n){this.Yf=Math.min(b[0],b[4]);this.Zf=Math.max(b[0],b[4]);this.QH=Math.min(b[1],b[5]);this.RH=Math.max(b[1],b[5]);this.Init(a,[this.Yf,this.QH,this.Zf,this.QH,this.Zf,this.RH,this.Yf,this.RH],n)}function aa(a,b,n,d,k,g,q,l,r,m){this.Init(a,null,m);this.sLa(b,n,d,k,g,q,l,r)}function Y(a,b){this.Init(a,b)}function P(){this.Init({skyros:P.If,
  alta:P.Qg,next:P.Rq})}function R(a,b,n){this.id=a;this.series=b;this.group=n}function T(a,b,n,d,k){this.Init(a,b,n,d,k)}function J(a,b,n,d,k,g){this.Init(a,b,n,d,k,g)}function W(a,b){this.Init(a,b)}function M(b){M.C.Init.call(this,b.a,b.Ef,b);this.ba=b;this.mq=null;this.U9=a.m.eb();this.$0=this.D$=this.gu=this.bj=this.Oz=this.Jy=this.uC=null}function L(a){this.ba=a;this.Vf=this.ba.A();this.Ke=this.ba.ck;this.zaa=this.ba.Kc;this.Baa=this.ba.Pd;this.Aaa=this.ba.Bg;this.K0=this.Ke?this.Ke.Bi():null;
  this.bqa=this.zaa?this.zaa.Bi():null;this.iGa=this.Baa?this.Baa.Bi():null;this.hGa=this.Aaa?this.Aaa.Bi():null}a.Ac=function(a,b,n){this.Init(a,b,n)};a.f.v(a.Ac,a.ec);a.Ac.newInstance=function(b,n,d){return new a.Ac(b,n,d)};a.Ac.Vo=function(a){return(new P).Vo(a)};a.Ac.prototype.Init=function(b,n,d){a.Ac.C.Init.call(this,b,n,d);this.Ff=new P;this.u=new M(this);this.u.Lf(this);a.m.eb()||this.u.Zr(this.rJ(this.u));this.setId("chart1000"+Math.floor(1E9*Math.random()));this.Y5=this.Xp=this.Au=this.Iy=
  this.Su=this.Tr=this.Bg=this.Pd=this.Kc=this.ck=null;this.Pq=[];this.B8=[];this.pP=this.nP=0;this.faa=this.O9=null};a.Ac.prototype.vk=function(){var b=this.A(),n=a.I.Zc(b,"componentName",a.I.pa,"CHART"),d="",k=a.I.Ja(a.I.pa,"ARIA_LABEL_DESC_DELIMITER");b.title.text&&(d+=this.J.title.text,b.subtitle.text&&(d+=k+this.J.subtitle.text));b.footnote.text&&(d=0==d.length?this.J.footnote.text:d.concat(k,this.J.footnote.text));return 0<d.length?a.I.Zc(b,"labelAndValue",a.I.pa,"COLON_SEP_LIST",[n,d]):n};a.Ac.prototype.me=
  function(b){if(b){if(this.faa=b,this.J=this.Ff.no(b),this.Bf.YH(),G.pva(this),!a.m.Il()||I.sm(this)&&G.gh(this)*G.lg(this)>N.Hea)this.J.animationOnDisplay="none",this.J.animationOnDataChange="none"}else this.J||(this.J=this.dA());b=this.J.selectionMode;this.Fd="single"==b?new a.Gb(a.Gb.hv):"multiple"==b?new a.Gb(a.Gb.os):null;this.u.Fy(this.Fd);if(b=this.J._spb){this.yP={};for(var n in b)for(var d=b[n],k=0;k<d.length;k++){this.yP[n]||(this.yP[n]=[]);var g=d[k];this.yP[n].push(new a.ib(g.popupId,g.triggerType,
  g.alignId,g.align))}}};a.Ac.prototype.ia=function(b,n,d){this.Vb.YH();var g=this.a,q=this.J?this.J.animationOnDataChange:"none",l="none"!=q?new m(this):null,r=this.OAa();this.ha&&this.BZ();this.me(b);isNaN(n)||isNaN(d)||(this.Oa=n,this.bb=d);n=new a.ca(g);this.B(n);U.ia(this,n,new a.U(0,0,this.Oa,this.bb));I.tL(this)&&this.u.ln(this);this.Vq();var c=k.M3(this);d=k.Kb(this);var C=new a.U(0,0,this.Oa,this.bb),B=!1;this.ha?"none"!=q&&b&&((this.Cb=a.Sa.QK(g,q,this.ha,n,C,d))?B=!0:"auto"==q&&this.Az()&&
  (b=this.Ev,this.pO=N.LU(this,this.ha,new a.U(0,0,b.b,b.i)),this.Cb=z.Zqa(l,this,q,d,this.pO),0<this.pO.Vc()&&this.Az().B(this.pO))):"none"!=c&&(this.Cb=a.Sa.YD(g,c,n,C,d),this.Cb||"auto"!=c||(this.Cb=w.Zqa(this,c,d)));this.Cb?(this.u.ln(this),a.yb.Le(this.Cb,this.rq,this),this.Cb.play(),this.Ji=this.ha,!B&&this.Ji&&this.Ji.WR()):this.ha&&(this.ha.WR(),this.ha.Ec(),this.ha=null);this.ha=n;this.mO=U.P6a(this);this.ps();this.UAa(r);this.Cb||this.nl()};a.Ac.prototype.BZ=function(){this.mO&&(this.removeChild(this.mO),
  this.mO=null);this.u&&(this.u.wJa(),this.u.hLa(null),this.u.ZKa(null),this.u.YKa(null),this.u.uC=null,this.u.Jy=null,this.u.Oz=null);this.Y5&&(this.a.uj.removeChild(this.Y5),this.Y5=null);this.Pq=[];this.Iy=this.Su=null;this.Au&&(this.removeChild(this.Au),this.Au.Ec(),this.Au=null);this.O9=this.xja=this.qz=null;this.Vb.YH()};a.Ac.prototype.bTa=function(){this.u.wJa();this.Pq=[];this.Kc&&(this.ha.removeChild(this.Kc),this.Kc.Ec());this.Pd&&(this.ha.removeChild(this.Pd),this.Pd.Ec());this.Bg&&(this.ha.removeChild(this.Bg),
  this.Bg.Ec());this.qz&&this.qz==this.lU?this.qz.Ci(!1):this.qz&&(this.ha.removeChild(this.qz),this.qz.Ec());this.qz=null;this.Vb.YH()};a.Ac.prototype.rq=function(){this.Ji&&(this.Ji.WR(),this.Ji.Ec(),this.Ji=null);this.pO&&(this.pO.WR(),this.pO.Ec(),this.pO=null);this.Bj||this.nl();this.u.Lf(this);this.Cb=null;this.Bj=!1};a.Ac.prototype.rJ=function(a){return new W(a,this)};a.Ac.prototype.Bi=function(){return new L(this)};a.Ac.prototype.Ata=function(a,b){var n=this.Ev,d=a-n.x,k=b-n.y,g=I.bg(this),
  q=I.Tg(this);return g?(d-=n.b/2,k-=n.i/2,n=Math.sqrt(d*d+k*k),d=Math.atan2(d,-k),0>d&&(d+=2*Math.PI),{x:this.Kc?this.Kc.yR(d):null,y:this.Pd?this.Pd.yR(n):null}):{x:this.Kc?this.Kc.yR(q?k:d):null,y:this.Pd?this.Pd.yR(q?d:k):null,y2:this.Bg?this.Bg.yR(q?d:k):null}};a.Ac.prototype.filter=function(a,b){Q.F8a(this,a,"out"==b?"hidden":"visible");this.ia(this.J)};a.Ac.prototype.Zd=function(b){this.A().highlightedCategories=a.cb.clone(b);a.sd.Zd(b,this.Ov(),"any"==this.A().highlightMatch);this.ck&&this.ck.Zd(b);
  this.Xp&&this.Xp.Zd(b);this.Tr&&this.Tr.ba.Zd(b)};a.Ac.prototype.select=function(b){this.A().selection=a.cb.clone(b);b=G.k4(this);Q.iS(this,b);this.Xp&&this.Xp.iS()};a.Ac.prototype.nKa=function(b){var n=this.Nb().bj;if(n){if(b){var d=this.Kc&&null!=b.x?this.Kc.jj(b.x):null,k=null;I.Fh(this)?this.Pd&&null!=b.y?k=this.Pd.nm(b.y):this.Bg&&null!=b.y2&&(k=this.Pd.nm(b.y2)):k=this.Pd&&null!=b.y?this.Pd.jj(b.y):null;if(null!=d&&null!=k){b=this.Ev;d=N.FK(this,new a.P(d,k),b);n.yL(new a.P(b.x+d.x,b.y+d.y),
  !0);return}}n.CV(!0)}};a.Ac.prototype.Ef=function(b,n){var d=b.type;if("categoryHide"==d||"categoryShow"==d)this.filter(b.category,"categoryHide"==d?"out":"in");else if("categoryHighlight"==d)this!=n&&this.Zd(b.categories),this.ck&&this.ck!=n&&this.ck.Ef(b,n);else if("selection"==d)b=this.toa(b);else if(d==a.ud.ne)b=this.zYa(b);else if(d==a.gk.ne)b=this.wYa(b);else if(d==a.Mc.ne){d=b.Dn;if(d==a.Mc.Rga)return;b=this.aFa(b.H4(),b.G4(),d==a.Mc.JY||d==a.Mc.pza||d==a.Mc.w8,n)}else if(d==a.hk.ne)b=this.aFa(b.Ax,
  b.K$,b.yI()==a.hk.tt,n);else{if("ready"==d&&this!=n)return;"adfShowPopup"==d&&(b=this.BYa(b))}if(b){d=b.type;if("selection"==d){var k=this.A(),d=k.selection,g=G.LHa(this);b.complete&&(k.selection=g);var d=d?d:[],g=g?g:[],q,l={};for(q=0;q<d.length;q++)l[d[q].id]=!0;k={};for(q=0;q<g.length;q++)k[g[q].id]=!0;var r={};for(q=0;q<g.length;q++){var m=g[q].id;l[m]||(r[m]=!0)}g={};for(q=0;q<d.length;q++)l=d[q].id,k[l]||(g[l]=!0);b.addedSet=r;b.removedSet=g;for(d=0;d<b.selection.length;d++)Q.pGa(this,b.selection[d]);
  b.component=this.A()._widgetConstructor}else"drill"==d&&(Q.pGa(this,b),b.component=this.A()._widgetConstructor);this.dispatchEvent(b)}};a.Ac.prototype.toa=function(b){b=Q.qKa(this,b.selection);this.dGa();return a.la.Rua(b,!0)};a.Ac.prototype.zYa=function(b){var n=b.yI();if(n==a.ud.t8||n==a.ud.v8)return a.m.eb()&&this.lU!=this.qz&&(this.ha.removeChild(this.lU),this.lU=this.qz),null;this.bP?(b.Zx+=this.bP.Zx,b.Yx+=this.bP.Yx,b.ay+=this.bP.ay,b.$x+=this.bP.$x):a.fa.requestAnimationFrame(a.f.Ni(this,
  this.UTa));this.bP=b;return null};a.Ac.prototype.UTa=function(){var b=this.bP;this.bP=null;var n=b.yI(),n=n==a.ud.fT||n==a.ud.hT||n==a.ud.u8;Q.eua(this)?(b=Q.tHa(this,b.Zx,b.Yx,b.ay,b.$x),this.Gpa(b),this.G2(b,n)):(b=Q.tHa(this,b.$Ga,b.ZGa,b.bHa,b.aHa),this.Gpa(b),n&&this.G2(b,n));n&&(U.zpa(this),this.lU!=this.qz&&(this.ha.removeChild(this.lU),this.lU=null));if(n||!b.lJ)b=I.Fh(this)?a.la.QR(n,b.Ru,b.Qu,b.jJ,b.fI,null,null):a.la.QR(n,b.Ru,b.Qu,null,null,b.Uu,b.Tu),this.dispatchEvent(b)};a.Ac.prototype.wYa=
  function(b){var n=b.yI(),d=this.u;Q.e0a(b);if(d.mq==M.aM){d=d.Ue();if(n==a.gk.x8)this.pXa=b.ctrlKey?d.iC():[];else{var k=Q.T1a(this,b);d.Vr(this.pXa,this.YB());d.pKa(k,!0)}d=d.iC();b=Q.sHa(this,b,!1);b=a.la.Rua(d,n==a.gk.tt?!0:!1,b.Ru,b.Qu,b.jJ,b.fI,b.Uu,b.Tu,b.KLa,b.JLa);n==a.gk.tt&&this.dGa();return b}if(d.mq==M.NE){if(n!=a.gk.tt)return null;b=Q.sHa(this,b,!0);this.G2(b,!0);this.Gpa(b);U.zpa(this);return I.Fh(this)?a.la.QR(!0,b.Ru,b.Qu,b.jJ,b.fI,null,null):a.la.QR(!0,b.Ru,b.Qu,null,null,b.Uu,b.Tu)}return null};
  a.Ac.prototype.aFa=function(b,n,d,k){this.VT||a.fa.requestAnimationFrame(a.f.Ni(this,this.VTa));this.VT={start:b,end:n,O_a:d,source:k};return null};a.Ac.prototype.VTa=function(){var b=this.VT.start,n=this.VT.end,d=this.VT.O_a,k=this.VT.source;this.VT=null;var g=Q.aba(k==this.Iy?this.Pd:this.Kc,b,n),b=g.min,n=g.max;if(Q.eua(this)||d)k==this.Iy?this.G2({Uu:b,Tu:n},d):this.G2({Ru:b,Qu:n,lJ:g.lJ},d);if(d||!g.lJ)k==this.Iy?b=a.la.QR(d,null,null,null,null,b,n,null,null):(k=Q.tra(this.Kc,b,n),b=a.la.QR(d,
  b,n,k.jJ,k.fI,null,null,null,null)),this.dispatchEvent(b)};a.Ac.prototype.BYa=function(b){if("mouseHover"!=b.triggerType&&this.Qk()&&0<this.Ue().wj.length){var n=Q.qKa(this,this.Ue().iC());b=a.la.zca(b.showPopupBehavior,b.launcherBounds,b.launcherId);b[a.Og.h7]=n}return b};a.Ac.prototype.dGa=function(){if(this.Tr){var a=this.Tr.ba;a.A().selection=G.LHa(this);a.ia()}};a.Ac.prototype.GGa=function(b){this.A().dataCursorPosition=b;this.dispatchEvent(a.la.gKa("dataCursorPosition",b,void 0))};a.Ac.prototype.zL=
  function(a){this.Pq.push(a)};a.Ac.prototype.Ov=function(){return this.Pq};a.Ac.prototype.YB=function(){for(var a=[],b=0;b<this.Pq.length;b++)this.Pq[b]instanceof J&&a.push(this.Pq[b]);return a};a.Ac.prototype.G3a=function(){for(var a=[],b=0;b<this.Pq.length;b++)this.Pq[b]instanceof T&&a.push(this.Pq[b]);return a};a.Ac.prototype.Esa=function(a,b){for(var n=0;n<this.Pq.length;n++)if(this.Pq[n]instanceof J&&this.Pq[n].wg()==a&&this.Pq[n].Zj()==b)return this.Pq[n];return null};a.Ac.prototype.getWidth=
  function(){return this.Oa};a.Ac.prototype.getHeight=function(){return this.bb};a.Ac.prototype.Az=function(){return this.qz};a.Ac.prototype.Zca=function(a){this.qz=a};a.Ac.prototype.Hc=function(){return this.A().type};a.Ac.prototype.wI=function(){return this.A().skin};a.Ac.prototype.Q2a=function(){var a=this.A();return null!==a.layout.gapWidthRatio?a.layout.gapWidthRatio:Math.min(this.Oa/400,1)};a.Ac.prototype.P2a=function(){var a=this.A();return null!==a.layout.gapHeightRatio?a.layout.gapHeightRatio:
  Math.min(this.bb/300,1)};a.Ac.prototype.Ue=function(){return this.Fd};a.Ac.prototype.Qk=function(){return this.Fd?!0:!1};a.Ac.prototype.pk=function(a){return this.yP?this.yP[a]:null};a.Ac.prototype.Hqa=function(a){var b=a.getParent();if(b){var n=b.Vc();1<n-this.nP&&(b.removeChild(a),b.Ad(a,n-this.nP-1))}a.hb()&&a.ge||this.pP++};a.Ac.prototype.vva=function(a){0<this.pP&&this.pP--;var b=a.getParent();if(b){var n=b.Vc()-this.nP-1-this.pP;0<=n&&(b.removeChild(a),b.Ad(a,n))}};a.Ac.prototype.G2=function(a,
  b){if(b||!a.lJ)null!=a.Qu&&(this.J.xAxis.viewportMax=a.Qu),null!=a.Ru&&(this.J.xAxis.viewportMin=a.Ru),I.Fh(this)?(this.J.xAxis.viewportStartGroup=null,this.J.xAxis.viewportEndGroup=null,this.J._initialZoomed=!1):(null!=a.Tu&&(this.J.yAxis.viewportMax=a.Tu),null!=a.Uu&&(this.J.yAxis.viewportMin=a.Uu)),this.J._duringZoomAndScroll=!b,U.Y6a(this,this.ha)};a.Ac.prototype.Gpa=function(a){if(this.Kc&&null!=a.Ru&&null!=a.Qu){var b=this.Kc.cn(a.Ru),n=this.Kc.cn(a.Qu);this.Tr&&this.Tr.Ld(b,n);this.Su&&this.Su.Ld(b,
  n)}this.Pd&&null!=a.Uu&&null!=a.Tu&&(b=this.Pd.cn(a.Uu),a=this.Pd.cn(a.Tu),this.Iy&&this.Iy.Ld(b,a))};a.Ac.prototype.sTa=function(a){this.m9=a;var n;b.Yo(this,"x")?(n=.8*a.b,a=a.i-4*b.oy(this,"x")):b.Yo(this,"y")?(n=a.b,a=a.i-b.oy(this,"y")):(n=a.b,a=a.i);this.GP=Math.min(n,a)/2};a.Ac.prototype.XAa=function(a){this.Ev=a};a.Ac.prototype.rTa=function(a){this.xja=a};a.Ac.prototype.nk=function(){return this.GP};a.Ac.prototype.I8a=function(){this.Au&&this.Au.Ci(!0)};a.Ac.prototype.vJa=function(){this.Au&&
  this.Au.Ci(!1)};a.Ac.prototype.U_a=function(a){this.NHa().push(a)};a.Ac.prototype.NHa=function(){this.O9||(this.O9=[]);return this.O9};a.Ac.prototype.OAa=function(){var a=this.u.Fe();if(a)var b=a.Ae();if(this.Kc){var n=this.Kc.$D();if(n)var d=n.Ae()}if(this.ck){var k=this.ck.$D();if(k)var g=k.Ae()}return{HGa:a,H0a:b,vGa:n,xGa:d,TJa:k,UJa:g}};a.Ac.prototype.UAa=function(a){if(!I.at(this)&&!I.tL(this)){var b=[this];this.Kc&&this.Kc.II()&&b.push(this.Kc);this.ck&&this.ck.II()&&b.push(this.ck);this.a.DL(b);
  if(a.HGa){for(var b=Q.YHa(this),n=!1,d=0;d<b.length;d++){var k=b[d].getId();if(k instanceof R&&k.mc(a.HGa.getId())){this.u.Xr(b[d]);a.H0a&&b[d].qh();n=!0;break}}n||this.u.Xr(this.u.ya.kI(b))}a.vGa&&(this.Kc.Wca(a.vGa,a.xGa),a.xGa&&this.a.cJ(this.Kc));a.TJa&&(this.ck.Wca(a.TJa,a.UJa),a.UJa&&this.a.cJ(this.ck))}};a.Ac.D$a=function(a,b){for(var n in a)b[n]=a[n]};a.f.v(L,a.Lc);L.Sya="plotArea";L.Rya="pieCenterLabel";L.prototype.Rl=function(b){var n=null;if(b.Gz(this.zaa))return(n=this.bqa.Rl(b))?this.eka(n,
  "xAxis"):null;if(b.Gz(this.Baa))return(n=this.iGa.Rl(b))?this.eka(n,"yAxis"):null;if(b.Gz(this.Aaa))return(n=this.hGa.Rl(b))?this.eka(n,"y2Axis"):null;if(b.Gz(this.Ke))return(b=this.K0.Rl(b))?this.IUa(b):null;b=this.ba.Nb().Za(b);if(!b)return null;if(b instanceof a.qg){n=b.tK.type;if("pieCenterLabel"==n)return L.Rya;if("plotArea"==n)return L.Sya}if(b instanceof A)return"dataItem["+b.wg()+"]";if(b instanceof J){n=b.wg();b=b.Zj();if(null!=n&&0<=b&&("funnel"!=this.Vf.type||"pyramid"!=this.Vf.type))return"dataItem["+
  n+"]["+b+"]";if(null!=n&&b==pa.ZC&&("funnel"==this.Vf.type||"pyramid"==this.Vf.type))return"dataItem["+n+"]";if(null!=n&&(null==b||0>b))return"series["+n+"]"}else if(b instanceof T)return n=b.rBa,b=b.$b(),n&&0<=b?n+":referenceObject["+b+"]":null;return null};L.prototype.IUa=function(a){var b=this.Ke.A();if(b=this.K0.tsa(b,a)){for(var n=0;n<this.Vf.series.length;n++)if(this.Vf.series[n].name==b.text)return"series["+n+"]";return"legend:"+a}return null};L.prototype.eka=function(a,b){if("title"==a&&b)return b+
  ":"+a;var n=a.substring(a.indexOf("["));return n?"group"+n:null};L.prototype.Rh=function(b){if(b==a.Lc.Ew)return this.eA(this.ba,V.lca(this.ba)?r.kT:null);if(b==L.Rya)return this.ba.Xp.KBa.ja();if(b==L.Sya)return this.ba.Az().ja();var n=b.indexOf("["),d=b.indexOf("]"),k,g,q=b.indexOf(":");if(0<n&&0<d||0<q){k=0>q?b.substring(0,n):b.substring(0,q);if("group"==k)return this.bqa.Rh(b);if("series"==k)return b=this.KUa(b),this.K0.Rh(b);if("legend"==b.substring(0,q))return b=b.substring(q+1),this.K0.Rh(b);
  n=b.substring(n+1,d);if("xAxis"==k||"yAxis"==k||"y2Axis"==k)if(q=b.substring(q+1),"title"==q){if("xAxis"==k)return this.bqa.Rh(q);if("yAxis"==k)return this.iGa.Rh(q);if("y2Axis"==k)return this.hGa.Rh(q)}else if(k=q.indexOf("["),g=q.indexOf("]"),"referenceObject"==q.substring(0,k)&&(k=this.SWa(q.substring(k+1,g))))return k.Xd()[0].ja();if("pie"==this.Vf.type&&(k=this.ba.Xp.X3a(n)))return k.ja();var l;"funnel"==this.Vf.type?l=pa.ZC:"pyramid"==this.Vf.type?l=ra.ZC:(b=b.substring(d+1),k=b.indexOf("["),
  g=b.indexOf("]"),0<=k&&0<=g&&(l=b.substring(k+1,g)));if(k=this.kWa(n,l))return k.Xd()[0].ja()}return null};L.prototype.kWa=function(a,b){for(var n=this.ba.YB(),d=0;d<n.length;d++){var k=n[d].wg(),g=n[d].Zj();if(k==a&&g==b)return n[d]}return null};L.prototype.SWa=function(a){for(var b=this.ba.G3a(),n=0;n<b.length;n++)if(a==b[n].$b())return b[n];return null};L.prototype.KUa=function(a){a=a.substring(a.indexOf("[")+1,a.indexOf("]"));var b=this.Ke.A();return"section"+this.K0.XHa(this.Vf.series[a],b)};
  L.prototype.te=function(a,b){if("pie"==this.Vf.type||"funnel"==this.Vf.type||"pyramid"==this.Vf.type)b=0;var n=G.te(this.ba,a,b);return n?{borderColor:k.po(this.ba,a,b),color:k.Zb(this.ba,a,b),label:G.WU(this.ba,a,b),targetValue:G.Z4(this.ba,a),tooltip:V.bf(this.ba,a,b,null,!1),value:G.getValue(this.ba,a,b),open:n.open,close:n.close,high:G.Jr(this.ba,a,b),low:G.Kr(this.ba,a,b),volume:n.volume,x:G.wo(this.ba,a,b),y:n.y,z:n.z,min:n.min,max:n.max,group:G.eh(this.ba,b),series:G.Ch(this.ba,a),selected:G.Xta(this.ba,
  a,b)}:null};L.prototype.eh=function(a){return G.eh(this.ba,a)};L.prototype.Ch=function(a){return this.Vf.series[a].name};L.prototype.lg=function(){return G.lg(this.ba)};L.prototype.gh=function(){return this.Vf.series.length};L.prototype.py=function(){return this.Vf.title.text};L.prototype.x4=function(){var b=this.Ke.Rb,n=this.Ke.tm(new a.P(b.x,b.y));return{bounds:{x:n.x,y:n.y,width:b.b,height:b.i},title:this.Ke.A().title}};L.prototype.Az=function(){var a=this.ba.Ev;return{bounds:{x:a.x,y:a.y,width:a.b,
  height:a.i}}};L.prototype.A4a=function(){return this.ola("x")};L.prototype.E4a=function(){return this.ola("y")};L.prototype.D4a=function(){return this.ola("y2")};L.prototype.ola=function(n){var d="x"==n?this.zaa:"y"==n?this.Baa:this.Aaa;if(d){var k=d.Rb,g=d.tm(new a.P(k.x,k.y)),q=this.ba;return{bounds:{x:g.x,y:g.y,width:k.b,height:k.i},title:this.Vf[n+"Axis"].title,getPreferredSize:function(a,k){var g=d.A(),l=g.position,r=b.d5(q,n),m=I.rua(q)||I.tua(q)||I.sua(q)?2:0;"top"==l||"bottom"==l?(g=d.ly(g,
  a,k-r-m),g.i=Math.ceil(g.i+r+m)):(g=d.ly(g,a-r-m,k),g.b=Math.ceil(g.b+r+m));return{width:g.b,height:g.i}}}}return null};a.Lc.prototype.V7=function(b){b=b.getAttribute("id");return!b||0!=b.indexOf(r.kT)&&0!=b.indexOf(a.Qb.qT)?!1:!0};a.I.ND(a.I.gw,{DEFAULT_GROUP_NAME:"Group {0}",LABEL_SERIES:"Series",LABEL_GROUP:"Group",LABEL_VALUE:"Value",LABEL_TARGET_VALUE:"Target",LABEL_X:"X",LABEL_Y:"Y",LABEL_Z:"Z",LABEL_PERCENTAGE:"Percentage",LABEL_MIN:"Min",LABEL_MAX:"Max",LABEL_HIGH:"High",LABEL_LOW:"Low",LABEL_OPEN:"Open",
  LABEL_CLOSE:"Close",LABEL_VOLUME:"Volume",LABEL_Q1:"Q1",LABEL_Q2:"Q2",LABEL_Q3:"Q3",LABEL_OTHER:"Other",MARQUEE_SELECT:"Marquee select",MARQUEE_ZOOM:"Marquee zoom",PAN:"Pan"});a.f.v(M,a.u);M.$L="pan";M.NE="zoom";M.aM="select";M.sea="off";M.prototype.by=function(){return this.ba};M.prototype.Lf=function(b){a.ie.IU(this.ba,this.dH,this.cH,this.bH,this);M.C.Lf.call(this,b);a.m.eb()||b.qb(a.MouseEvent.hF,this.MC,!1,this)};M.prototype.Bw=function(b){M.C.Bw.call(this,b);a.m.eb()||b.Oc(a.MouseEvent.hF,this.MC,
  !1,this)};M.prototype.vsa=function(a){return this.Za(a,!0)};M.prototype.zO=function(a){a&&"user"==this.ba.A().dragMode&&I.Fh(this.ba)&&(this.mq==M.$L||this.mq==M.NE)&&(this.gu.vca(a)?this.mq=M.$L:this.mq=M.NE);return this.mq==M.$L?this.gu:this.mq==M.NE?this.D$:this.mq==M.aM?this.$0:null};M.prototype.dH=function(b){return a.m.eb()?this.D1(b):this.v1(b)};M.prototype.cH=function(b){return a.m.eb()?this.C1(b):this.u1(b)};M.prototype.bH=function(b){return a.m.eb()?this.B1(b):this.t1(b)};M.prototype.v1=
  function(a){var b=this.a.nf(a.pageX,a.pageY),n=this.zO(b),d,k=this.Za(this.Vd(a));k&&k.gb&&k.gb()||0!=a.button||!n||((d=n.d6(b,a.ctrlKey))&&this.Sb.call(this.Ba,d),this.ba.setCursor(n.getCursor(b)),this.MV(!1),this.ba!=this.a.KHa()&&this.a.cJ(this.ba));return d?(this.bj&&this.bj.CV(),!0):!1};M.prototype.u1=function(a){var b=this.a.nf(a.pageX,a.pageY),n=this.zO(),d;n&&(d=n.c6(b,a.ctrlKey))&&(this.Sb.call(this.Ba,d),this.MV(!1));d&&a.stopPropagation()};M.prototype.t1=function(a){var b=this.a.nf(a.pageX,
  a.pageY),n=this.zO();if(n){if(a=n.b6(b,a.ctrlKey))this.Sb.call(this.Ba,a),this.Eqa();this.ba.setCursor(n.getCursor(b));(n=this.ba.m9)&&this.MV(n.hf(b.x,b.y))}};M.prototype.Vy=function(b){M.C.Vy.call(this,b);var n=this.a.nf(b.pageX,b.pageY);this.bj&&(this.Vd(b)instanceof a.ra?this.bj.CV():this.bj.yL(n));(b=this.zO(n))?this.ba.setCursor(b.getCursor(n)):this.ba.setCursor("default")};M.prototype.Un=function(a){M.C.Un.call(this,a);var b=this.a.nf(a.pageX,a.pageY),n=this.ba.m9;n&&this.MV(n.hf(b.x,b.y));
  this.bj&&this.bj.w6a(b);this.Za(a.target)};M.prototype.MC=function(a){if(Q.uL(this.ba)){var b=null!=a.wheelDelta?a.wheelDelta:0,n=this.a.nf(a.pageX,a.pageY);this.gu&&(b=this.gu.rKa(n,b))&&(a.preventDefault(),a.stopPropagation(),this.Sb.call(this.Ba,b),this.bj&&this.bj.yL(n))}};M.prototype.vt=function(b,n){if(this.bj){var d=n.Bka;if(d){var k=this.ba.Ev;this.bj.yL(new a.P(d.x+k.x,d.y+k.y))}}M.C.vt.call(this,b,n)};M.prototype.vw=function(a){this.bj&&this.bj.CV();M.C.vw.call(this,a)};M.prototype.iF=function(a){var b=
  this.Za(a.target);a=this.a.nf(a.pageX,a.pageY);this.tPa&&this.tPa.pab(a,b);b&&(this.Mz(b),b.gb&&b.gb()||this.Ay(b))};M.prototype.DJ=function(a){(a=this.Za(a.target))&&a.gb&&a.gb()&&this.Ay(a)};M.prototype.P7=function(a){if(this.bj&&!this.JI())return a=this.a.nf(a.ek.pageX,a.ek.pageY),this.bj.yL(a),!1;var b=this.Za(a.target);this.Z.bda(a.ek.identifier,this.xR(b));return!1};M.prototype.O7=function(a){if(this.bj&&!this.JI())return a=this.a.nf(a.ek.pageX,a.ek.pageY),this.bj.yL(a),!1;var b=this.Za(a.target);
  this.Z.bda(a.ek.identifier,this.xR(b));return!1};M.prototype.xM=function(a){this.I3();if(a=this.Za(a.target))this.Mz(a),a.gb&&a.gb()||this.Ay(a)};M.prototype.cv=function(a){if(a=this.Za(a.target))this.Mz(a),a.gb&&a.gb()||this.Ay(a)};M.prototype.wM=function(a){var b=this.Za(a.target);b&&b.gb&&b.gb()&&(a.preventDefault(),a.stopPropagation(),this.Ay(b))};M.prototype.Mz=function(b){b&&b.oh&&b.oh()&&this.jt(a.la.yy("action",b.oh(),b.getId()))};M.prototype.Ay=function(b){if(b&&b.bk&&b.bk()){var n=b.getId();
  b instanceof J?this.jt(a.la.R5(n.getId?n.getId():n,b.Ch(),b.eh())):b instanceof A&&this.jt(a.la.R5(n.getId(),n.Ch(),n.eh()))}};M.prototype.Ij=function(b,n,d){b=this.ba.A();if("dim"==Q.gsa(this.ba)){n=n.rd?n.rd():[];b.highlightedCategories=d?n.slice():null;d=a.la.MI(b.highlightedCategories,d);n=k.VHa(this.ba);var g=this.ba.Ov();this.ba.Xp&&(g=g.concat(this.ba.Xp.Li));this.pF.Ef(d,g,n,"any"==b.highlightMatch)}};M.prototype.D1=function(a){var b=a.touches,n,d;if(1==b.length){var b=this.a.nf(b[0].pageX,
  b[0].pageY),k=this.zO();k?n=k.d6(b,!0):this.bj&&this.JI()&&(this.bj.yL(b),d=!0)}else 2==b.length&&this.gu&&Q.uL(this.ba)&&(this.I3(),n=this.a.nf(b[0].pageX,b[0].pageY),b=this.a.nf(b[1].pageX,b[1].pageY),n=this.gu.uKa(n,b));n&&(this.Sb.call(this.Ba,n),this.a.cf().ed());return n||d?(a.preventDefault(),a.stopPropagation(),this.MV(!1),!0):!1};M.prototype.C1=function(a){var b=a.touches,n,d;if(1==b.length){var b=this.a.nf(b[0].pageX,b[0].pageY),k=this.zO();k?n=k.c6(b,!0):this.bj&&this.JI()&&(this.bj.yL(b),
  d=!0)}else 2==b.length&&this.gu&&Q.uL(this.ba)&&(n=this.a.nf(b[0].pageX,b[0].pageY),b=this.a.nf(b[1].pageX,b[1].pageY),n=this.gu.tKa(n,b));(n||d)&&a.preventDefault();n&&(this.Sb.call(this.Ba,n),this.a.cf().ed())};M.prototype.B1=function(a){var b=this.I3(),n;this.gu&&Q.uL(this.ba)&&(n=this.gu.sKa())&&this.Sb.call(this.Ba,n);if(b||n)a.preventDefault(),this.a.cf().ed(),b=this.aca(),a=1==a.changedTouches.length?a.changedTouches[0].identifier:null,(a=null!=a?b.el(a):null)&&!a.touchMoved||b.reset();this.MV(!0)};
  M.prototype.I3=function(){var a=this.zO(),b;a&&(b=a.b6(null,!0));this.bj&&this.bj.CV();b&&this.Sb.call(this.Ba,b);return b};M.prototype.Ky=function(a){this.gu&&Q.uL(this.ba)&&(a=this.gu.Ky(a))&&this.Sb.call(this.Ba,a)};M.prototype.di=function(a,b){if(this.gu&&Q.sL(this.ba)){var n=this.gu.di(a,b);n&&this.Sb.call(this.Ba,n)}};M.prototype.wJa=function(){this.ed();this.bj&&this.bj.CV()};M.prototype.ed=function(){this.bj&&this.bj.M9||M.C.ed.call(this)};M.prototype.xR=function(a){return this.bj&&(a instanceof
  J||a instanceof T||this.bj.M9)?!1:M.C.xR.call(this)};M.prototype.PKa=function(a){this.bj=a};M.prototype.hLa=function(a){this.gu=a};M.prototype.ZKa=function(a){this.D$=a};M.prototype.YKa=function(a){this.$0=a};M.prototype.Eba=function(){return this.mq==M.NE?this.D$.xl:this.mq==M.aM?this.$0.xl:null};M.prototype.v3=function(a){this.mq==M.NE?this.D$.v3()&&a.preventDefault():this.mq==M.aM&&this.$0&&this.$0.v3()&&this.ba.ia()};M.prototype.zC=function(a){this.mq=null==a?this.tWa():a;!this.ba.Kc.H5()||this.ba.Pd&&
  !this.ba.Pd.H5()||this.Eqa()};M.prototype.tWa=function(){return a.m.eb()?M.sea:Q.sL(this.ba)?M.$L:"multiple"==this.ba.A().selectionMode?M.aM:null};M.prototype.cva=function(){this.Jy.Fo?(this.Oz&&this.Oz.Yv(!1),this.zC(M.NE)):this.zC(null)};M.prototype.iKa=function(){this.uC.Fo?(this.Oz&&this.Oz.Yv(!1),this.zC(M.$L)):this.zC(null)};M.prototype.U5a=function(){this.Oz.Fo?(this.Jy&&this.Jy.Yv(!1),this.uC&&this.uC.Yv(!1),this.zC(M.aM)):this.zC(null)};M.prototype.MV=function(a){a&&!this.U9?(this.ba.I8a(),
  this.U9=!0):!a&&this.U9&&(this.ba.vJa(),this.U9=!1)};M.prototype.Eqa=function(){!a.m.eb()&&this.Jy&&(this.ba.Kc.H5()&&this.ba.Pd.H5()?this.mq==M.$L&&(this.Jy.Yv(!0),this.cva()):this.mq==M.NE&&(this.Jy.Yv(!1),this.cva()))};M.prototype.Oy=function(){return this.mq&&this.mq!=M.sea?a.u.UC:this.ba.A().touchResponse};M.prototype.mE=function(){return!0};M.prototype.rw=function(){var a=this.vc.fo;return a instanceof J&&0<=a.wg()&&0<=a.Zj()||a instanceof A?"items":null};M.prototype.VE=function(){if(this.ba.Qk()&&
  1<this.ba.Ue().wj.length){for(var a=this.ba.Ue().getSelection(),b=[],n=0;n<a.length;n++){var d=G.zj(this.ba,a[n].wg(),a[n].Zj(),a[n].eR());b.push(d)}return b}a=this.vc.fo;return a instanceof J?[G.zj(this.ba,a.wg(),a.Zj(),a.eR())]:a instanceof A?[G.zj(this.ba,a.wg(),0)]:null};M.prototype.fX=function(b){var n=this.vc.fo;return n instanceof J&&(n=n.Bka)?(n=this.ba.Az().tm(n),b=this.a.nf(b.pageX,b.pageY),new a.P(n.x-b.x,n.y-b.y)):null};M.prototype.sw=function(a){a=this.a.nf(a.pageX,a.pageY);var n=this.ba.A().dnd.drop,
  d=this.ba.Ev;return 0<Object.keys(n.plotArea).length&&d.hf(a.x,a.y)?"plotArea":0<Object.keys(n.xAxis).length&&b.Yo(this.ba,"x")&&b.Fqa(this.ba.Kc,a)?"xAxis":0<Object.keys(n.yAxis).length&&b.Yo(this.ba,"y")&&b.Fqa(this.ba.Pd,a)?"yAxis":0<Object.keys(n.y2Axis).length&&b.Yo(this.ba,"y2")&&b.Fqa(this.ba.Bg,a)?"y2Axis":null};M.prototype.IS=function(b){var n=b.Mg().dataTransfer,d=Number(n.getData(a.u.AW))||0,n=Number(n.getData(a.u.BW))||0;b=this.a.nf(b.pageX,b.pageY);return this.ba.Ata(b.x+d,b.y+n)};M.prototype.PC=
  function(a){if(a=this.bDa(a))a.sc("oj-active-drop"),a.ab(this.ba.A()._dropColor)};M.prototype.My=function(){function b(n){n&&(n=n.Vb.Te("background"))&&(n.Yb(),a.l.UI(n.ja(),"oj-invalid-drop"),a.l.UI(n.ja(),"oj-active-drop"))}var n=this.ba.Vb.Te("plotAreaBackground");if(n){var d=k.MK(this.ba);d?n.ab(d):n.Yb();a.l.UI(n.ja(),"oj-invalid-drop");a.l.UI(n.ja(),"oj-active-drop")}b(this.ba.Kc);b(this.ba.Pd);b(this.ba.Bg)};M.prototype.QC=function(a){(a=this.bDa(a))&&a.sc("oj-invalid-drop")};M.prototype.bDa=
  function(a){a=this.sw(a);var b;"plotArea"==a?b=this.ba.Vb.Te("plotAreaBackground"):"xAxis"==a?b=this.ba.Kc.Vb.Te("background"):"yAxis"==a?b=this.ba.Pd.Vb.Te("background"):"y2Axis"==a&&(b=this.ba.Bg.Vb.Te("background"));return b};a.f.v(W,a.ya);W.prototype.Init=function(a,b){W.C.Init.call(this,a);this.ba=b};W.prototype.Iz=function(a){return this.Th(a)&&!a.ctrlKey};W.prototype.yo=function(b){return b.keyCode==a.KeyboardEvent.Kj&&b.ctrlKey};W.prototype.Rk=function(b){var n=b.keyCode;if(n==a.KeyboardEvent.rg){if(n=
  this.Fc.Fe())return a.u.Ud(b),n;n=Q.YHa(this.ba);if(0<n.length)return a.u.Ud(b),this.kI(n)}else if(n==a.KeyboardEvent.Nn){if(n=this.Fc.Fe())return this.Fc.Mz(n),this.Fc.Ay(n),a.u.Ud(b),n}else n==a.KeyboardEvent.vJ?this.Fc.v3(b):n==a.KeyboardEvent.a8?((b.ctrlKey||b.shiftKey||I.Fh(this.ba))&&I.Ea(this.ba)?this.Fc.di(-.25,0):this.Fc.di(0,-.25),a.u.Ud(b)):n==a.KeyboardEvent.Z7?((b.ctrlKey||b.shiftKey||I.Fh(this.ba))&&I.Ea(this.ba)?this.Fc.di(.25,0):this.Fc.di(0,.25),a.u.Ud(b)):a.KeyboardEvent.nca(b)||
  a.KeyboardEvent.M5(b)?this.Fc.Ky(1.5):(a.KeyboardEvent.L5(b)||a.KeyboardEvent.uca(b))&&this.Fc.Ky(1/1.5);return W.C.Rk.call(this,b)};W.prototype.kI=function(a){if(!a||0>=a.length)return null;for(var b=I.Qr(this.ba),n,d,k,g,q=0;q<a.length;q++)g=a[q],!n||g.wg()<d?(n=g,d=g.wg(),b||(k=g.Zj())):!b&&g.Zj()<k&&(n=g,d=g.wg(),k=g.Zj());return n};a.f.v(J,a.f);J.prototype.Init=function(a,b,n,d,k,g){this.ba=a;this.tg=b;this.ze=null!=n&&0<=n?n:-1;this.gK=null!=d&&0<=d?d:-1;this.H0=null!=k&&0<=k?k:-1;this.Bka=
  g;this.Tc=this.wi=!1;this.xa=G.Ch(a,n);this.n$=G.eh(a,d);this.bO=G.rd(a,n,d,k);if(-1!=this.H0)this.Aka=G.Iba(a,n,d,k),this.rv=Q.mca(a,n,d,k);else if(-1!=this.gK){if(k=G.te(a,n,d))this.Aka=G.PQ(a,n,d),this.$q=k.action,this.rv=Q.mca(a,n,d),this.zK=k._id}else if(d=G.xg(a,n))this.$q=d.action,this.rv=Q.OJa(a,n),this.zK=d._id;if(this.$q||this.rv)for(a=0;a<this.tg.length;a++)this.tg[a].setCursor("pointer");for(a=0;a<b.length;a++)n=b[a],n instanceof O||n.zg("img"),this.So(n)};J.Xb=function(a,b,n,d,k,g){a&&
  !b.A()._duringZoomAndScroll&&(n=new J(b,[a],n,d,k,g),b.zL(n),b.Nb().Xb(a,n))};J.prototype.getId=function(){return 0<=this.ze&&0<=this.gK?new R(this.Aka,this.Ch(),this.eh()):0<=this.ze?this.Ch():null};J.prototype.PQ=function(){return this.Aka};J.prototype.eR=function(){return this.H0};J.prototype.Ch=function(){return this.xa};J.prototype.wg=function(){return this.ze};J.prototype.eh=function(){return this.n$};J.prototype.Zj=function(){return this.gK};J.prototype.oh=function(){return this.$q};J.prototype.bk=
  function(){return this.rv};J.prototype.Wp=function(){return this.gb()&&this.bk()};J.prototype.hh=function(){return k.hh(this.ba,this.ze)};J.prototype.xg=function(){return G.xg(this.ba,this.ze)};J.prototype.bf=function(){return V.bf(this.ba,this.ze,this.gK,this.H0,!0)};J.prototype.pi=function(){return V.pi(this.ba,this.ze,this.gK,this.H0)};J.prototype.gb=function(){return k.gb(this.ba,this.wg(),this.Zj())};J.prototype.hb=function(){return this.wi};J.prototype.gc=function(a){this.wi=a;for(var b=0;b<
  this.tg.length;b++)this.tg[b].gc&&(this.tg[b].gc(a),this.So(this.tg[b]))};J.prototype.Rc=function(){for(var a=0;a<this.tg.length;a++)this.tg[a].Rc&&this.tg[a].Rc()};J.prototype.Cc=function(){for(var a=0;a<this.tg.length;a++)this.tg[a].Cc&&this.tg[a].Cc()};J.prototype.pk=function(){return this.ba.pk(this.zK)};J.prototype.Xd=function(){return this.tg};J.prototype.se=function(){var b=[],n=this.ba.A();this.gb()&&b.push(a.I.Zc(n,this.hb()?"stateSelected":"stateUnselected",a.I.pa,this.hb()?"STATE_SELECTED":
  "STATE_UNSELECTED"));this.bk()&&b.push(a.I.Zc(n,"stateDrillable",a.I.pa,"STATE_DRILLABLE"));n=V.bf(this.ba,this.ze,this.gK,this.H0,!1);null==n&&0>this.gK&&0<b.length&&(n=G.iL(this.ba,this.ze));return a.R.mm(n,b)};J.prototype.So=function(b){a.m.Vj()||b.Od("label",this.se())};J.prototype.rd=function(){return this.bO};J.prototype.Kd=function(b){var n;n=b.keyCode;if(b.type==a.MouseEvent.He||n==a.KeyboardEvent.Kj&&b.ctrlKey)return this;n=this.ba;for(var d=n.YB(),k=[],g=0;g<d.length;g++)d[g].II()&&k.push(d[g]);
  var d=b.keyCode==a.KeyboardEvent.sg||b.keyCode==a.KeyboardEvent.kf,g=I.Tg(n),q=a.m.ea(n.a);I.sm(n)||I.ica(n)&&(d&&!g||!d&&g)?b=a.ya.pI(this,b,k):I.uV(n)||I.rC(n)||I.bg(n)?b=this.IVa(b):I.Vv(n)&&d?(b.keyCode=q?b.keyCode==a.KeyboardEvent.sg?a.KeyboardEvent.Be:a.KeyboardEvent.Ne:b.keyCode-1,b=a.ya.Kd(this,b,k)):I.Hz(n)&&!d?(b.keyCode=q?b.keyCode==a.KeyboardEvent.Be?a.KeyboardEvent.kf:a.KeyboardEvent.sg:b.keyCode==a.KeyboardEvent.Be?a.KeyboardEvent.sg:a.KeyboardEvent.kf,b=a.ya.Kd(this,b,k)):b=a.ya.Kd(this,
  b,k,!0);return b};J.prototype.md=function(b){return this.tg[0]?this.tg[0].V(b):new a.U(0,0,0,0)};J.prototype.$j=function(){return this.tg[0]?this.tg[0].ja():null};J.prototype.qh=function(){this.II()&&(this.Tc=!0,this.Rc())};J.prototype.mf=function(){this.II()&&(this.Tc=!1,this.Cc())};J.prototype.Ae=function(){return this.Tc};J.prototype.II=function(){return-1!=this.Zj()&&-1!=this.wg()};J.prototype.IVa=function(b){b=b.keyCode;var n=this.ba,d=n.a,k=this.wg(),g=this.Zj(),q=G.lg(n),l,r,m=I.Tg(n),c=I.bg(n),
  d=a.m.ea(d),C=m?d?b==a.KeyboardEvent.Be:b==a.KeyboardEvent.Ne:b==a.KeyboardEvent.kf,B=m?b==a.KeyboardEvent.sg:d?b==a.KeyboardEvent.Be:b==a.KeyboardEvent.Ne,e=m?b==a.KeyboardEvent.kf:d?b==a.KeyboardEvent.Ne:b==a.KeyboardEvent.Be;if(m?d?b==a.KeyboardEvent.Ne:b==a.KeyboardEvent.Be:b==a.KeyboardEvent.sg)r=g,l=this.JVa(n,k,g);else if(C)r=g,l=this.HVa(n,k,g);else if(e){l=k;r=g;do r++,c&&r>=q&&(r=0);while(null==n.Esa(l,r)&&r<q)}else if(B){l=k;r=g;do r--,c&&0>r&&(r=q-1);while(null==n.Esa(l,r)&&-1<r)}return(l=
  n.Esa(l,r))&&l.II()?l:this};J.prototype.JVa=function(a,b,n){for(var d=G.gh(a),g=G.$B(a,b,n),q=null,l=null,r=0;r<d;r++)if(k.In(a,r)){var m=G.$B(a,r,n);if(m>g||m==g&&r>b)if(null!==q&&m<q||null==q)q=m,l=r}return l};J.prototype.HVa=function(a,b,n){for(var d=G.gh(a),g=G.$B(a,b,n),q=null,l=null,d=d-1;0<=d;d--)if(k.In(a,d)){var r=G.$B(a,d,n);if(r<g||r==g&&d<b)if(null!==q&&r>q||null==q)q=r,l=d}return l};J.prototype.jn=function(){return!0};J.prototype.Fl=function(){return[this.getId()]};J.prototype.Rp=function(){if(this.ba.Qk()&&
  1<this.ba.Ue().wj.length){for(var a=this.ba.Ue().getSelection(),b=[],n=0;n<a.length;n++)b=b.concat(a[n].Xd());return b}return this.tg};a.f.v(T,a.f);T.prototype.Init=function(a,b,d,k,g){this.ba=a;this.tg=b;this.yoa=d;this.bO=n.Nsa(this.yoa);this.Ko=k;this.rBa=g;for(a=0;a<b.length;a++)k=b[a],k.zg("img"),k.Od("label",d.shortDesc)};T.prototype.rd=function(){return this.bO};T.prototype.Xd=function(){return this.tg};T.prototype.$b=function(){return this.Ko};T.prototype.bf=function(){return V.H3a(this.ba,
  this.yoa,this.rBa,this.Ko)};T.prototype.pi=function(){return n.Zb(this.yoa)};a.f.v(R,a.f);R.prototype.getId=function(){return this.id};R.prototype.Ch=function(){return this.series};R.prototype.eh=function(){return this.group};R.prototype.mc=function(a){return a instanceof R?null!=this.id||null!=a.id?G.FI(this.id,a.id):G.FI(this.series,a.series)&&G.FI(this.group,a.group):!1};R.prototype.toString=function(){return null!=this.id?this.id.toString():G.Qaa(this.series,this.group)};a.f.v(P,a.ka);P.Rq={skin:a.j.Rq,
  styleDefaults:{dataItemGaps:"auto",markerSize:10,marqueeColor:"rgba(255,255,255,0.4)",marqueeBorderColor:"#0572ce"},yAxis:{axisLine:{rendered:"auto"}},y2Axis:{axisLine:{rendered:"auto"}},layout:{titlePlotAreaGap:16,footnoteGap:10,legendGapWidth:15,legendGapHeight:10,tickLabelGapHeight:8,tickLabelGapWidth:9}};P.Qg={skin:a.j.Qg,title:{style:new a.j(a.ka.JW+"color: #252525;")},subtitle:{style:new a.j(a.ka.pj+"color: #252525;")},footnote:{style:new a.j(a.ka.xJ)},_statusMessageStyle:new a.j(a.ka.JW+"color: #252525;"),
  pieCenter:{labelStyle:new a.j(a.ka.pj)},styleDefaults:{seriesEffect:"color",colors:a.j.eW,dataLabelStyle:new a.j(a.ka.pj),stackLabelStyle:new a.j(a.ka.JC),stockRisingColor:"#6b6f74",stockFallingColor:"#ED6647"}};P.If={skin:a.j.Hm,emptyText:null,type:"bar",stack:"off",stackLabel:"off",orientation:"vertical",polarGridShape:"circle",selectionMode:"none",hideAndShowBehavior:"none",hoverBehavior:"none",zoomAndScroll:"off",zoomDirection:"auto",initialZooming:"none",dragMode:"user",sorting:"off",otherThreshold:0,
  animationOnDataChange:"none",animationOnDisplay:"none",__sparkBarSpacing:"subpixel",__spark:!1,dataCursor:"auto",dataCursorBehavior:"auto",drilling:"off",highlightMatch:"all",series:[],groups:[],title:{style:new a.j(a.ka.hs+"font-size: 12px; color: #003d5b; font-weight: bold"),halign:"start"},subtitle:{style:new a.j(a.ka.hs+"font-size: 12px; color: #003d5b;")},footnote:{style:new a.j(a.ka.hs+"font-size: 10px; color: #333333;"),halign:"start"},titleSeparator:{upperColor:"#74779A",lowerColor:"#FFFFFF",
  rendered:"off"},touchResponse:"auto",_statusMessageStyle:new a.j(a.ka.hs+"font-size: 12px; color: #003d5b; font-weight: bold"),_dropColor:"#D9F4FA",xAxis:{tickLabel:{rendered:"on"},majorTick:{rendered:"auto"},minorTick:{rendered:"auto"},axisLine:{rendered:"on"},scale:"linear"},yAxis:{tickLabel:{rendered:"on"},majorTick:{rendered:"auto"},minorTick:{rendered:"auto"},axisLine:{rendered:"on"},scale:"linear"},y2Axis:{tickLabel:{rendered:"on"},majorTick:{rendered:"auto"},minorTick:{rendered:"auto"},axisLine:{rendered:"on"},
  scale:"linear",alignTickMarks:"on"},zAxis:{},pieCenter:{labelStyle:new a.j(a.ka.hs)},plotArea:{backgroundColor:null},legend:{position:"auto",rendered:"auto",layout:{gapRatio:1},seriesSection:{},referenceObjectSection:{},sections:[]},overview:{rendered:"off"},dnd:{drag:{items:{},series:{},groups:{}},drop:{plotArea:{},xAxis:{},yAxis:{},y2Axis:{},legend:{}}},styleDefaults:{colors:a.j.Cxa,borderColor:"auto",borderWidth:"auto",patterns:"smallDiagonalRight smallChecker smallDiagonalLeft smallTriangle smallCrosshatch smallDiamond largeDiagonalRight largeChecker largeDiagonalLeft largeTriangle largeCrosshatch largeDiamond".split(" "),
  shapes:"square circle diamond plus triangleDown triangleUp".split(" "),seriesEffect:"gradient",threeDEffect:"off",selectionEffect:"highlight",animationDuration:1E3,animationIndicators:"all",animationUpColor:"#0099FF",animationDownColor:"#FF3300",lineStyle:"solid",lineType:"auto",markerDisplayed:"auto",markerColor:null,markerShape:"auto",markerSize:8,marqueeColor:"rgba(255,255,255,0.5)",marqueeBorderColor:"rgba(0,0,0,0.2)",pieFeelerColor:"#BAC5D6",pieInnerRadius:0,selectedInnerColor:"#ffffff",selectedOuterColor:"#5a5a5a",
  sliceLabelType:"percent",otherColor:"#4b4b4b",stockRisingColor:"#006666",stockFallingColor:"#CC3300",stockRangeColor:"#B8B8B8",dataItemGaps:"0%",dataLabelStyle:new a.j(a.ka.hs+a.ka.gM),dataLabelPosition:"auto",funnelBackgroundColor:"#EDEDED",x1Format:{},y1Format:{},y2Format:{},zFormat:{},_defaultSliceLabelColor:"#333333",_scrollbarHeight:3,_scrollbarTrackColor:"#F0F0F0",_scrollbarHandleColor:"#9E9E9E",hoverBehaviorDelay:200,dataCursor:{markerSize:8,markerDisplayed:"on",lineColor:"#5a5a5a",lineWidth:2,
  lineStyle:"solid"},groupSeparators:{rendered:"on",color:"rgba(138,141,172,0.4)"},padding:"auto",_tooltipStyle:new a.j("border-collapse: separate; border-spacing: 2px; overflow: hidden; display: block;"),tooltipLabelStyle:new a.j("color: #666666; padding: 0px 2px; white-space: nowrap;"),tooltipValueStyle:new a.j("color: #333333; padding: 0px 2px;"),stackLabelStyle:new a.j(a.ka.hs+a.ka.gM),boxPlot:{whiskerSvgStyle:{},whiskerEndSvgStyle:{strokeWidth:2},whiskerEndLength:9,medianSvgStyle:{strokeWidth:3}}},
  layout:{gapWidthRatio:null,gapHeightRatio:null,outerGapWidth:10,outerGapHeight:8,titleSubtitleGapWidth:14,titleSubtitleGapHeight:4,titleSeparatorGap:6,titlePlotAreaGap:10,footnoteGap:7,verticalAxisGap:6,legendGapWidth:10,legendGapHeight:10,tickLabelGapHeight:5,tickLabelGapWidth:7},_locale:"en-us",_resources:{}};P.bsa=function(a,b){return Math.ceil(b*a.Q2a())};P.VQ=function(a,b){return Math.ceil(b*a.P2a())};P.Jz=function(b){return b.wI()==a.j.Hm};P.q5a=function(b){return b.wI()!=a.j.Hm&&b.wI()!=a.j.Qg};
  P.prototype.bL=function(){return{}};a.f.v(Y,a.f);Y.prototype.Init=function(a,b){this.a=a.a;this.M9=!1;this.mO=b;this.ba=a};Y.prototype.yL=function(a,b){var n=this.ba.Ev;n&&n.hf(a.x,a.y)&&!this.ba.A()._duringZoomAndScroll?this.d_a(n,a.x,a.y,b):this.l2(b)};Y.prototype.CV=function(a){this.l2(a)};Y.prototype.w6a=function(a){var b=this.ba.Ev;b&&!b.hf(a.x,a.y)&&this.l2(void 0)};Y.prototype.d_a=function(a,b,n,d){if(this.a.LR())this.l2(d);else{var k=this.mO,g=this.lWa(b,n);if(null==g)this.l2(d);else{var q=
  g.Ml.Yd(),l=b,m=n;k.Q1a()==r.uda&&(k.Tg()?m=Math.min(Math.max(q.y,a.y),a.y+a.i):l=Math.min(Math.max(q.x,a.x),a.x+a.b));var c=g.wy,g=V.bf(this.ba,c.wg(),c.Zj(),c.eR(),!0);null==g?k.Ci(!1):(k.Ci(!0),c=V.pi(this.ba,c.wg(),c.Zj(),c.eR()),l=k.Tg()?m:l,k.ia(a,q.x,q.y,l,g,c),this.M9=!0,d||(a=this.ba.Ata(b,n),this.ba.GGa(a)))}}};Y.prototype.l2=function(a){this.mO.Wy&&this.mO.Ci(!1);this.a.cf(r.kT).ed();this.M9=!1;a||this.ba.GGa(null)};Y.mWa=function(a,b,n,d){for(var k=null,g=Infinity,q=0;q<a.length;q++){var l=
  a[q],r=Math.round(Math.abs(((b?l.Ml.x:l.Ml.y)+(b?l.Ml.x+l.Ml.b:l.Ml.y+l.Ml.i))/2-(b?n:d)));r<g&&(g=r,k=l)}return k};Y.nWa=function(a,b,n,d){for(var k=Infinity,g=[],q=0;q<a.length;q++){var l=a[q],r=Math.round(Math.abs(((b?l.Ml.y:l.Ml.x)+(b?l.Ml.y+l.Ml.i:l.Ml.x+l.Ml.b))/2-(b?d:n)));r<=k&&(r<k&&(g=[]),g.push(l),k=r)}return g};Y.prototype.Ut=function(){var a=this.a.Gc,b=this.ba.Nb(),n=[];if(!this.ba.kO)return null;for(var d=0;d<this.ba.kO.length;d++)for(var k=this.ba.kO[d],g=k.length,q=0;q<g;q++){var l=
  k[q],r=b.Za(l),l={Ml:l.Pi?l.Pi(a):l.V(a),wy:r};n.push(l)}return n};Y.prototype.lWa=function(a,n){var d=I.Tg(this.ba),k=I.uV(this.ba)&&!b.qC(this.ba),g=this.Ut(),q=Y.nWa(g,d,a,n);if(!I.sm(this.ba)){for(var l=Infinity,r=-Infinity,m=null,c=0;c<q.length;c++)m=q[c],l=Math.min(l,d?m.Ml.y:m.Ml.x),r=Math.max(r,d?m.Ml.y+m.Ml.i:m.Ml.x+m.Ml.b),m=m.wy.Zj();for(c=0;c<g.length;c++){var C=g[c],B=C.wy.Zj();k?m==B&&q.push(C):(B=((d?C.Ml.y:C.Ml.x)+(d?C.Ml.y+C.Ml.i:C.Ml.x+C.Ml.b))/2,r>=B&&l<=B&&q.push(C))}}return Y.mWa(q,
  d,a,n)};a.f.v(aa,a.Ib);aa.XRa=2;aa.YRa=1.25;aa.vRa=1;aa.prototype.Init=function(a,b,n){aa.C.Init.call(this,a,b,n)};aa.prototype.sLa=function(a,b,n,d,k,g,q,l){this.wd=a;this.xd=b;this.mu=n;this.nu=d;this.ko=k;this.kp=g;this.dB=q;this.aEa=l;a=this.Fna(0);this.Ug(a)};aa.prototype.Fna=function(b){var n=Math.max(this.mu-b,0),d=Math.max(this.nu-b,0),k=this.aEa?this.aEa+b:0,g=360==this.kp?a.Math.Ns(359.99):a.Math.Ns(this.kp),q=a.Math.Ns(this.ko),l=(360==this.kp||n<b?0:this.dB+2*b)/2,r=l<n?Math.asin(l/n):
  0;b=-g/2-q;var m=Math.min(5*l,0<g?Math.abs(l/Math.sin(g/2)):0),c=this.wd+Math.cos(b)*m,C=this.xd+Math.sin(b)*(0==n?m:m*d/n);b=this.wd+Math.cos(-r-q)*n;var m=this.xd+Math.sin(-r-q)*d,B=this.wd+Math.cos(-q-g+r)*n,r=this.xd+Math.sin(-q-g+r)*d,e=a.Math.Mqa(B-this.wd,r-this.xd,b-this.wd,m-this.xd),e=Math.min(e,g);if(0<k){var t=l<k?Math.asin(l/k):0,l=this.wd+Math.cos(-t-q)*k,c=this.xd+Math.sin(-t-q)*k,C=this.wd+Math.cos(-q-g+t)*k,t=this.xd+Math.sin(-q-g+t)*k,h=a.Math.Mqa(C-this.wd,t-this.xd,l-this.wd,c-
  this.xd),h=Math.min(h,e,g);360==this.kp?(q=a.G.moveTo(B,r),q+=a.G.arcTo(n,d,g,1,b,m),q+=a.G.lineTo(B,r),q+=a.G.moveTo(l,c),q+=a.G.arcTo(k,k,g,0,C,t)):(q=a.G.moveTo(C,t),q+=a.G.lineTo(B,r),q+=a.G.arcTo(n,d,e,1,b,m),q+=a.G.lineTo(l,c),q+=a.G.arcTo(k,k,h,0,C,t))}else 360==this.kp?(q=a.G.moveTo(B,r),q+=a.G.arcTo(n,d,g,1,b,m)):(q=a.G.moveTo(c,C),q+=a.G.lineTo(B,r),q+=a.G.arcTo(n,d,e,1,b,m));return q+=a.G.closePath()};aa.prototype.t$=function(){var b=this.hb()?aa.XRa:aa.YRa,n=this.Fna(b),b=this.Fna(b+aa.vRa);
  this.ml?(this.ml.Ug(n),this.fp.Ug(b)):(this.ml=new a.Ib(this.a,n),this.ml.Yb(),this.ml.dd(!0),this.B(this.ml),this.fp=new a.Ib(this.a,b),this.fp.Yb(),this.fp.dd(!0),this.B(this.fp))};aa.prototype.qu=function(a,b){this.t$();b?(this.ab(a),this.Ha(null),this.sc().Na(),this.ml.ab(b),this.ml.sc().Na(),this.fp.Ia(this.uv),this.fp.sc(this.YP).Na(this.ZP)):(a?(this.ab(a),this.Ha(null),this.sc().Na(),this.ml.Ia(this.uv),this.ml.sc(this.YP).Na(this.ZP)):(this.Ia(this.uv),this.Ha(this.c_a),this.sc(this.YP).Na(this.ZP),
  this.ml.Yb(),this.ml.sc().Na()),this.fp.Yb(),this.fp.sc().Na())};aa.prototype.qS=function(b,n,d,k,g,q,l){this.uv=b;this.c_a=n;this.jz=a.Jm.yz(d);this.nr=k;this.gH=g;this.YP=q;this.ZP=l;this.Na(l).sc(q);this.Ia(b);n&&this.Ha(n)};aa.prototype.Rc=function(){this.ge=!0;this.qu(this.jz,this.nr)};aa.prototype.Cc=function(){this.ge=!1;this.hb()?this.qu(this.gH,this.nr):this.qu()};aa.prototype.gc=function(a){this.fk!=a&&(this.fk=a,this.ge?this.qu(this.jz,this.nr):this.hb()?this.qu(this.gH,this.nr):this.qu())};
  aa.prototype.Af=function(){};a.f.v(X,a.Sf);X.DM=2;X.$fa=1.25;X.BJ=1;X.prototype.qS=function(b,n,d,k,g,q,l){this.uv=b;this.iUa=n;this.jz=a.Jm.yz(d);this.nr=k;this.gH=g;this.YP=q;this.ZP=l;this.Na(l).sc(q);this.Ia(b);n&&this.Ha(n)};X.prototype.Ve=function(a){this.Yf=Math.min(a[0],a[4]);this.Zf=Math.max(a[0],a[4]);this.QH=Math.min(a[1],a[5]);this.RH=Math.max(a[1],a[5]);this.Uh(a);this.t$()};X.prototype.Rc=function(){this.ge||(this.ge=!0,this.qu(this.jz,this.nr))};X.prototype.Cc=function(){this.ge&&(this.ge=
  !1,this.hb()?this.qu(this.gH,this.nr):this.qu())};X.prototype.gc=function(a){this.fk!=a&&(this.fk=a,this.ge?this.qu(this.jz,this.nr):this.hb()?this.qu(this.gH,this.nr):this.qu())};X.prototype.Af=function(){};X.prototype.gL=function(){return this.uv};X.prototype.t$=function(){var b=this.hb()?X.DM:X.$fa,n=this.ez(b),b=this.ez(b+X.BJ);this.ml?(this.ml.Uh(n),this.fp.Uh(b)):(this.ml=new a.Sf(this.a,n),this.ml.Yb(),this.ml.dd(!0),this.B(this.ml),this.fp=new a.Sf(this.a,b),this.fp.Yb(),this.fp.dd(!0),this.B(this.fp))};
  X.prototype.qu=function(a,b){this.t$();b?(this.ab(a),this.Ha(null),this.sc().Na(),this.ml.ab(b),this.ml.sc().Na(),this.fp.Ia(this.uv),this.fp.sc(this.YP).Na(this.ZP)):(a?(this.ab(a),this.Ha(null),this.sc().Na(),this.ml.Ia(this.uv),this.ml.sc(this.YP).Na(this.ZP)):(this.Ia(this.uv),this.Ha(this.iUa),this.sc(this.YP).Na(this.ZP),this.ml.Yb(),this.ml.sc().Na()),this.fp.Yb(),this.fp.sc().Na())};X.prototype.ez=function(a){var b=this.Yf+a,n=this.Zf-a,d=this.QH+a;a=this.RH-a;return[b,d,n,d,n,a,b,a]};a.f.v(da,
  a.Cj);da.prototype.XH=function(a){if("tangential"==this.A().position)return a;if(null==a)return null;a-=this.w4();return Math.round(10*a)/10};da.prototype.jva=function(a){if("tangential"==this.A().position)return a;if(null==a)return null;a+=this.w4();return Math.round(a)};da.prototype.vy=function(a){return this.si.vy(a)};da.prototype.cn=function(a){return this.si.cn(a)};da.prototype.yR=function(a){return this.si.yR(this.jva(a))};da.prototype.jj=function(a){return this.XH(this.si.jj(a))};da.prototype.iba=
  function(a){return this.si.iba(this.jva(a))};da.prototype.nm=function(a){return this.XH(this.si.nm(a))};da.prototype.AI=function(a){return this.si.AI(this.jva(a))};da.prototype.ih=function(a){return this.XH(this.si.ih(a))};da.prototype.wz=function(){return this.XH(this.si.wz())};da.prototype.Sh=function(){return this.A().position};da.prototype.I5=function(){return this.si instanceof a.ce};da.prototype.fV=function(){for(var a=this.si?this.si.fV():[],b=0;b<a.length;b++)a[b]=this.XH(a[b]);return a};
  da.prototype.iV=function(){for(var a=this.si?this.si.iV():[],b=0;b<a.length;b++)a[b]=this.XH(a[b]);return a};da.prototype.wz=function(){return this.XH(this.si.wz())};da.prototype.Aba=function(){return this.cn(this.si.ks)};da.prototype.zba=function(){return this.cn(this.si.js)};da.prototype.dV=function(){return this.cn(this.si.Ye)};da.prototype.cV=function(){return this.cn(this.si.rh)};da.prototype.nV=function(a){return this.si.cn(this.AI(a))};da.prototype.H5=function(){return this.si.Ye==this.si.ks&&
  this.si.rh==this.si.js};da.prototype.w4=function(){return a.m.ea(this.a)?this.si.d4():this.si.Y4()};da.prototype.Ssa=function(){return a.m.ea(this.a)?this.si.Y4():this.si.d4()};da.prototype.q3a=function(){return this.XH(Math.min(this.si.Hi,this.si.Wi))};da.prototype.o3a=function(){return this.XH(Math.max(this.si.Hi,this.si.Wi))};a.f.v(ha,X);ha.Q8=8;ha.wAa=5;ha.PRa=15;ha.Bia=5;ha.GRa=2;ha.prototype.gc=function(a){this.fk!=a&&(this.fk=a,this.hb()?(this.m_a=this.Yf,this.n_a=this.Zf,this.l_a=this.ql,
  this.Yf=this.HEa,this.Zf=this.IEa,this.ql=this.YXa,this.Uh(this.ez()),this.qu(this.ge?this.jz:this.gH,this.nr)):(this.Yf=this.m_a,this.Zf=this.n_a,this.ql=this.l_a,this.Uh(this.ez()),this.qu(this.ge?this.jz:null)))};ha.prototype.jf=function(a){return a?this.Sw?[this.Zf,this.Yf,this.ql,this.wn]:[this.Yf,this.Zf,this.wn,this.ql]:[this.ql,this.wn,this.Yf,this.Zf]};ha.prototype.Ve=function(a,b){this.C2(a[0],a[1],a[2],a[3],!1);if(b){var n=this.$2a();b.jb(n.x,n.y);b.qa(1);b.getParent().B(b)}};ha.prototype.SK=
  function(b){var n=this.jf();this.Ve([this.RN,this.RN,this.Yf,this.Zf]);b=new a.td(this.a,this,b);b.da.aa(a.L.Hf,this,this.jf,this.Ve,n);return b};ha.prototype.XU=function(b){var n=[this.ql,this.ql,this.Yf,this.Zf];b=new a.td(this.a,this,b);b.da.aa(a.L.Hf,this,this.jf,this.Ve,n);b.da.aa(a.L.ta,this,this.Jb,this.qa,0);return b};ha.prototype.WQ=function(b){this.qa(0);b=this.SK(b);b.da.aa(a.L.ta,this,this.Jb,this.qa,1);return b};ha.prototype.$2a=function(){var b=(this.Yf+this.Zf)/2,n,d=this.sBa?(this.wn+
  this.ql)/2:this.wn>=this.ql?this.wn+ha.Q8:this.wn-ha.Q8;n=this.Sw?d:b;b=this.Sw?b:d;return new a.P(n,b)};ha.prototype.C2=function(b,n,d,k,g){this.ql=b;this.wn=n;this.Yf=d;this.Zf=k;b=this.Zf-this.Yf;1>b&&(this.Yf=Math.floor(this.Yf),this.Zf=this.Yf+1,b=1);this.HEa=this.Yf;this.IEa=this.Zf;this.YXa=this.ql;0<this.y_&&g&&!this.hb()&&(g=Math.ceil(ha.GRa*this.y_),n=this.RN==this.ql,Math.abs(this.ql-this.wn)>=ha.Bia&&this.sBa&&!n&&(this.ql+=this.wn>this.ql?g:-g),b>=ha.wAa&&(1==a.m.YU()&&0<this.dUa&&b>
  ha.PRa?(a.m.Jl()||this.nCa||this.Xc(!0),this.Yf=Math.round(this.Yf),this.Zf=Math.round(this.Zf),this.HEa=this.Yf,this.IEa=this.Zf,this.Zf-=g):(this.Yf+=g/2,this.Zf-=g/2)));this.nCa||(this.Uh(this.ez()),this.ml&&this.ml.Uh(this.ez(X.DM)),this.fp&&this.fp.Uh(this.ez(X.DM+X.BJ)))};ha.prototype.ez=function(a){var b=this.ql,n=this.wn,d=this.Yf,k=this.Zf;if(0<a){if(Math.abs(d-k)<2*a||Math.abs(b-n)<2*a)return[];d+=a;k-=a;n<b?(b-=a,n+=a):(b+=a,n-=a)}return this.Sw?[n,d,n,k,b,k,b,d]:[d,n,k,n,k,b,d,b]};ha.prototype.NK=
  function(){var b=Math.min(this.Zf,this.Yf),n=Math.min(this.wn,this.ql),d=Math.abs(this.Zf-this.Yf),k=Math.abs(this.wn-this.ql);return this.Sw?new a.U(n,b,k,d):new a.U(b,n,d,k)};ha.prototype.Pi=function(a){return this.Wg(this.NK(),a)};a.f.v(ea,a.Db);ea.prototype.iaa=function(b,n,d,g,l,r,m){this.B9();var c=this.a;this.Yf=Math.round(b);this.Zf=Math.round(n);this.C$=Math.round(d);this.EP=Math.round(g);this.Fs=Math.round(l);this.FP=Math.round(r);this.o$=Math.round(m);d=n-b;g=k.Xs(this.Is.whiskerEndLength,
  d);g=Math.min(d,g);g=2*Math.floor((g-1)/2)+1;b=Math.floor((b+n)/2)+.5;n=b-Math.floor(g/2)-.5;g=b+Math.floor(g/2)+.5;this.Rka(b,this.C$,b,this.o$,"whisker");this.Rka(n,this.C$,g,this.C$,"whiskerEnd");this.Rka(n,this.o$,g,this.o$,"whiskerEnd");this.pU=new a.Sf(c,this.dCa(0));b=q.Msa(this.ba,this.Is.q2Color,this.Is._q2Pattern,d);this.pU.Ia(b);this.l9(this.pU,"q2");this.B(this.pU);this.f2=new a.Sf(c,this.eCa(0));c=q.Msa(this.ba,this.Is.q3Color,this.Is._q3Pattern,d);this.f2.Ia(c);this.l9(this.f2,"q3");
  this.B(this.f2);this.oCa(0);if(this.Xw=this.Is.borderColor)this.li=this.Is.borderWidth,this.pG(this.Xw,this.li);this.fk&&(this.fk=!1,this.gc(!0))};ea.prototype.Rc=function(){this.ge||(this.ge=!0,this.hb()?this.pG(this.jz,X.DM,this.nr,X.BJ):this.pG(this.jz,X.$fa,this.nr,X.BJ))};ea.prototype.Cc=function(){this.ge&&(this.ge=!1,this.hb()?this.pG(this.gH,X.DM,this.nr,X.BJ):this.pG(this.Xw,this.li))};ea.prototype.gc=function(a){this.fk!=a&&(this.fk=a,this.ge?a?this.pG(this.jz,X.DM,this.nr,X.BJ):this.pG(this.jz,
  X.$fa,this.nr,X.BJ):a?this.pG(this.gH,X.DM,this.nr,X.BJ):this.pG(this.Xw,this.li))};ea.prototype.Af=function(){};ea.prototype.SK=function(a){return this.WQ(a)};ea.prototype.XU=function(b){b=new a.td(this.a,this,b);b.da.aa(a.L.Hf,this,this.Ek,this.im,[this.Yf,this.Zf,this.Fs,this.Fs,this.Fs,this.Fs,this.Fs]);b.da.aa(a.L.ta,this,this.Jb,this.qa,0);return b};ea.prototype.WQ=function(b){b=new a.td(this.a,this,b);var n=this.Ek();this.im([this.Yf,this.Zf,this.Fs,this.Fs,this.Fs,this.Fs,this.Fs]);b.da.aa(a.L.Hf,
  this,this.Ek,this.im,n);this.qa(0);b.da.aa(a.L.ta,this,this.Jb,this.qa,1);return b};ea.prototype.zta=function(b,n){var d=new a.td(this.a,this,b),k=n.cma(),g=this.cma();k.mc(g)||(this.MFa(k),d.da.aa(a.L.yt,this,this.cma,this.MFa,g));k=n.dma();g=this.dma();k.mc(g)||(this.NFa(k),d.da.aa(a.L.yt,this,this.dma,this.NFa,g));k=this.Ek();this.im(n.Ek());d.da.aa(a.L.Hf,this,this.Ek,this.im,k);return d};ea.prototype.Ek=function(){return[this.Yf,this.Zf,this.C$,this.EP,this.Fs,this.FP,this.o$]};ea.prototype.im=
  function(a){this.iaa(a[0],a[1],a[2],a[3],a[4],a[5],a[6])};ea.prototype.cma=function(){return new a.oc(this.Is.q2Color)};ea.prototype.MFa=function(a){this.Is.q2Color=a.Zb()};ea.prototype.dma=function(){return new a.oc(this.Is.q3Color)};ea.prototype.NFa=function(a){this.Is.q3Color=a.Zb()};ea.prototype.Rka=function(b,n,d,k,g){b=this.Sw?new a.Fb(this.a,n,b,k,d):new a.Fb(this.a,b,n,d,k);this.l9(b,g);b.Xc(!0);this.B(b)};ea.prototype.oCa=function(b){if(!this.kB){var n=new a.Fb(this.a,0,0,0,0);this.l9(n,
  "median");n.Xc(!0);this.B(n);this.kB=n}n=this.Yf+b;b=this.Zf-b;var d=this.Fs;this.Sw?(this.kB.Vh(d),this.kB.Ih(d),this.kB.Jh(n),this.kB.ph(b)):(this.kB.Jh(d),this.kB.ph(d),this.kB.Vh(n),this.kB.Ih(b))};ea.prototype.pG=function(b,n,d,k){if(!this.uP){var g=this.pm(this.pU);this.SO=new a.Sf(this.a);this.SO.Yb();this.Ad(this.SO,g);this.uP=new a.Sf(this.a);this.uP.Yb();this.Ad(this.uP,g)}g=0;n?(this.uP.Uh(this.UBa(0)),this.uP.ab(b),g+=n,k?(this.SO.Uh(this.UBa(n)),this.SO.ab(d),g+=k):this.SO.Yb()):(this.uP.Yb(),
  this.SO.Yb());this.pU.Uh(this.dCa(g));this.f2.Uh(this.eCa(g));this.oCa(g)};ea.prototype.UBa=function(a){var b=this.Yf+a,n=this.Zf-a,d;this.EP<this.FP?(d=this.EP+a,a=this.FP-a):(d=this.EP-a,a=this.FP+a);return this.ez(b,n,d,a)};ea.prototype.eCa=function(a){return this.ez(this.Yf+a,this.Zf-a,this.Fs,this.Fs<this.FP?this.FP-a:this.FP+a)};ea.prototype.dCa=function(a){return this.ez(this.Yf+a,this.Zf-a,this.Fs<this.EP?this.EP-a:this.EP+a,this.Fs)};ea.prototype.ez=function(a,b,n,d){return this.Sw?[n,a,
  n,b,d,b,d,a]:[a,n,b,n,b,d,a,d]};ea.prototype.l9=function(a,b){a.Na(this.Is[b+"Style"]||this.Is[b+"SvgStyle"],!0);a.sc(this.Is[b+"ClassName"]||this.Is[b+"SvgClassName"],!0)};ea.prototype.B9=function(){this.Hh();this.SO=this.uP=this.kB=this.f2=this.pU=null};a.f.v(ja,a.ca);ja.tQa=.3;ja.prototype.y7a=function(a,b,n,d,k){this.Pj.qS(a,b,n,d,k)};ja.prototype.o8a=function(a,b,n,d){this.mk&&this.mk.qS(a,b,n,null,d)};ja.prototype.gc=function(a){this.Pj.gc(a);this.mk&&this.mk.gc(a)};ja.prototype.Rc=function(){this.Pj.Rc();
  this.mk&&this.mk.Rc()};ja.prototype.Cc=function(){this.Pj.Cc();this.mk&&this.mk.Cc()};ja.prototype.SK=function(b){b=new a.td(this.a,this,b);var n=this.Pj.Df();this.Pj.Uh(ja.g$(n));b.da.aa(a.L.Hf,this.Pj,this.Pj.Df,this.Pj.Ve,n);this.mk&&(n=this.mk.Df(),this.mk.Uh(ja.g$(n)),b.da.aa(a.L.Hf,this.mk,this.mk.Df,this.mk.Ve,n));return b};ja.prototype.XU=function(b){b=new a.td(this.a,this,b);b.da.aa(a.L.Hf,this.Pj,this.Pj.Df,this.Pj.Ve,ja.g$(this.Pj.Df()));this.mk&&b.da.aa(a.L.Hf,this.mk,this.mk.Df,this.mk.Ve,
  ja.g$(this.mk.Df()));b.da.aa(a.L.ta,this,this.Jb,this.qa,0);return b};ja.prototype.WQ=function(b){this.qa(0);b=this.SK(b);b.da.aa(a.L.ta,this,this.Jb,this.qa,1);return b};ja.prototype.zta=function(b,n){var d=new a.td(this.a,this,b),k=this.Pj.Df();this.Pj.Uh(n.Pj.Df());d.da.aa(a.L.Hf,this.Pj,this.Pj.Df,this.Pj.Ve,k);var k=n.Pj.gL().clone(),g=this.Pj.gL();n.Pj.hb()||this.Pj.hb()||k.mc(g)||(this.Pj.Ia(k),d.da.aa(a.L.yt,this.Pj,this.Pj.Hd,this.Pj.Ia,g));this.mk&&n.mk&&(k=this.mk.Df(),this.mk.Uh(n.mk.Df()),
  d.da.aa(a.L.Hf,this.mk,this.mk.Df,this.mk.Ve,k));return d};ja.prototype.Af=function(){};ja.g$=function(a){var b=a[0],n=a[2];a=(a[1]+a[5])/2;return[b,a,n,a,n,a,b,a]};a.f.v(ca,a.f);ca.prototype.wua=function(a){return Math.abs(this.bq-a)>Math.abs(this.Pl-a)};ca.prototype.clone=function(){return new ca(this.x,this.Pl,this.bq,this.hE,this.group,this.KK)};a.f.v(O,a.ca);O.Q8=8;O.prototype.CL=function(a,b){this.$n=a;b&&(this.xT=b);this.Hh();this.zja?this.jaa():this.Noa();this.gYa()};O.prototype.F5=function(){return this.zja};
  O.prototype.$la=function(n,d){var g=[],q=[];g.push(q);n=O.LUa(n);var l=I.bg(this.ba),r="centeredStepped"==d||"centeredSegmented"==d,m=r||"stepped"==d||"segmented"==d,c=k.bC(this.ba),C=a.m.ea(this.a)&&I.Ea(this.ba)?-1:1,B;l&&(B=n[n.length-1]);for(var e,t,h,u=!1,f=0;f<n.length;f++)null==n[f]?(b.qC(this.ba)||!m||l||!B||h||(e=r?B.x+.5*c*C:B.x+c*C,this.eaa(q,e,B.y)),"jet"!=this.ba.A()._environment&&b.qC(this.ba)||(q=[],g.push(q),B=null)):(e=n[f],h=n[f].yXa,t=r?e.x-c/2*C:e.x,h&&(u&&m&&(t+=c*C),u=!u),"curved"==
  d&&h&&q.push(null,null),B&&m&&this.eaa(q,t,B.y),this.zja||"segmented"!=d&&"centeredSegmented"!=d||(q=[],g.push(q)),this.eaa(q,t,e.y),B=e);m&&!l&&B&&!h&&(e=r?B.x+.5*c*C:B.x+c*C,this.eaa(q,e,B.y));l&&1<g.length&&(q=g.pop(),g[0]=q.concat(g[0]));return g};O.prototype.eaa=function(b,n,d){n=N.FK(this.ba,new a.P(n,d),this.EA);b.push(Math.round(10*n.x)/10,Math.round(10*n.y)/10)};O.prototype.ina=function(){if(!I.bg(this.ba)||!b.Tv(this.ba)||this.$n.length<G.lg(this.ba))return!1;for(var a=0;a<this.$n.length;a++)if(null==
  this.$n[a].x)return!1;return!0};O.prototype.EDa=function(){return I.sm(this.ba)?a.G.l8:I.bg(this.ba)?this.ina()?a.G.GY:a.G.l8:I.Tg(this.ba)?a.G.m8:a.G.n8};O.prototype.Noa=function(){for(var b=this.$la(this.$n,this.Se),n,d=0;d<b.length;d++)(n=b[d])&&1<n.length&&("curved"==this.Se?(n=O.Bla(n,!1,this.EDa()),n=new a.Ib(this.a,n),n.Ia(null)):this.ina()?(n=new a.Sf(this.a,n),n.Ia(null)):n=new a.Do(this.a,n),n.Ha(this.Uj),n.sc(this.$y).Na(this.le),this.B(n))};O.prototype.jaa=function(){var b=this.$n,n=this.xT;
  !I.bg(this.ba)&&0<b.length&&0<n.length&&(b=b.slice(0),n=n.slice(0),null!=b[0].x&&null!=n[0].x&&(O.gaa(b,0,this.xs),O.gaa(n,0,this.xs),n[0].x=b[0].x),null!=b[b.length-1].x&&null!=n[n.length-1].x&&(O.gaa(b,b.length-1,this.xs),O.gaa(n,n.length-1,this.xs),n[n.length-1].x=b[b.length-1].x));b=this.$la(b,this.Se);n=this.$la(n,this.vBa);if(b.length==n.length)for(var d,k=0;k<b.length;k++){var g=b[k],q=n[k];if(!(2>g.length)){var l="curved"==this.Se;d="curved"==this.vBa;this.ina()&&(l||g.push(g[0],g[1]),2<=
  q.length&&!d&&q.push(q[0],q[1]));for(var r=[],m=0;m<q.length;m+=2)r.unshift(q[m],q[m+1]);l||d?(q=this.EDa(),g=l?O.Bla(g,!1,q):a.G.Z5(g,!1),g+=d?O.Bla(r,!0,q):a.G.Z5(r,!0),g+=a.G.closePath(),d=new a.Ib(this.a,g)):(d=r.concat(g),d=new a.Sf(this.a,d));d.Ia(this.uv);d.sc(this.$y).Na(this.le);this.Uj&&d.Ha(this.Uj);this.B(d)}}};O.prototype.gYa=function(){for(var b,n,d,k=0;k<this.$n.length;k++)d=this.$n[k],(b=this.v0[d.hE])&&b.Pta&&(n=(d.wua(this.xs)?d.bq:d.Pl)+O.Q8*(b.direction==ba.Uxa?-1:1),n=N.FK(this.ba,
  new a.P(d.x,n),this.EA),b=b.Pta,b.jb(n.x,n.y),b.qa(1),b.getParent().B(b))};O.prototype.jf=function(a){return O.RBa(this.$n,a?a.$n:null,this.xs)};O.prototype.Ve=function(a){a=O.hBa(a);this.CL(a)};O.prototype.zra=function(a){return O.RBa(this.xT,a?a.xT:null,this.xs)};O.prototype.dwa=function(a){this.xT=O.hBa(a)};O.prototype.IHa=function(a){for(var b=[],n=0;n<this.$n.length;n++)if(!this.$n[n].KK&&null!=this.$n[n].x)for(var d=0;d<a.$n.length;d++)if(!a.$n[d].KK&&null!=a.$n[d].x&&this.$n[n].group==a.$n[d].group){b.push(this.$n[n].hE);
  break}return b};O.prototype.X_a=function(a,b,n){n.qa(0);this.v0[a]={direction:b,Pta:n}};O.prototype.J6a=function(){for(var a in this.v0){var b=this.v0[a].Pta;b&&b.getParent().removeChild(b)}this.v0={}};O.LUa=function(b){for(var n=[],d=0;d<b.length;d++)if(!b[d].KK)if(null==b[d].x)n.push(null);else if(n.push(new a.P(b[d].x,b[d].Pl)),b[d].Pl!=b[d].bq){var k=new a.P(b[d].x,b[d].bq);k.yXa=!0;n.push(k)}return n};O.RBa=function(b,n,d){if(n&&0<n.length)if(b&&0<b.length){b=b.slice(0);n=O.SBa(n);for(var k=
  O.SBa(b),g=b.length,q,l=n.length-1;0<=l;l--)q=n[l],q=a.Y.$b(k,q),-1==q?(0==g?(q=b[0].clone(),b[0]=b[0].clone(),O.gFa(q,b[0],d)):(q=b[g-1].clone(),b[g-1]=b[g-1].clone(),O.gFa(b[g-1],q,d)),q.hE=-1,b.splice(g,0,q)):g=q}else for(b=[],l=0;l<n.length;l++)b.push(new ca(n[l].x,d,d));d=[];for(l=0;l<b.length;l++)b[l].KK||(null==b[l].x?(d.push(Infinity),d.push(Infinity),d.push(Infinity)):(d.push(b[l].x),d.push(b[l].Pl),d.push(b[l].bq)),d.push(b[l].hE));return d};O.hBa=function(a){for(var b=[],n=0;n<a.length;n+=
  4)Infinity==a[n]||isNaN(a[n])?b.push(new ca(null,null,null,a[n+3])):b.push(new ca(a[n],a[n+1],a[n+2],a[n+3]));return b};O.SBa=function(a){for(var b=[],n=0;n<a.length;n++)a[n].KK||b.push(a[n].group);return b};O.gFa=function(a,b,n){a.wua(n)?b.Pl=b.bq:a.bq=a.Pl};O.Bla=function(b,n,d){var k=[],g=[];k.push(g);for(var q=0;q<b.length;q+=2)null==b[q]?(g=[],k.push(g)):g.push(b[q],b[q+1]);d==a.G.GY&&1<k.length&&(d=k.pop(),k[0]=d.concat(k[0]),d=a.G.l8);b="";for(q=0;q<k.length;q++)g=k[q],b+=a.G.TGa(g,n,d),n=
  !0;return b};O.gaa=function(a,b,n){var d=a[b].clone();d.wua(n)?d.Pl=d.bq:d.bq=d.Pl;a[b]=d};a.f.v(S,a.W);S.yW=new a.ma("none");S.iza=new a.oc("#FFFFFF");S.i8=new a.ma("#5A5A5A",1,1.5);S.prototype.cS=function(b){this.kq=b;this.MO=new a.ma(b,1,1.5)};S.prototype.Rc=function(){this.ge=!0;this.Ha(this.MO)};S.prototype.Cc=function(){this.ge=!1;this.Ha(this.hb()?S.i8:S.yW)};S.prototype.gc=function(a){this.fk!=a&&(this.fk=a,this.hb()?(this.Ia(S.iza),this.Ha(this.ge?this.MO:S.i8)):(this.Yb(),this.Ha(this.ge?
  this.MO:S.yW)))};S.prototype.Af=function(){};a.f.v(K,a.tb);K.prototype.XYa=function(n,d,k){this.Rja=new a.ca(this.a);this.B(this.Rja);n=a.cb.ae({legend:{rendered:"off",size:null},xAxis:{viewportMin:null,viewportMax:null,viewportStartGroup:null,viewportEndGroup:null,axisLine:{rendered:"off"},size:null,maxSize:.5,title:null},yAxis:{rendered:"off",size:null},y2Axis:{rendered:"off",size:null},splitDualY:"off",title:{text:null},subtitle:{text:null},footnote:{text:null},titleSeparator:{rendered:"off"},
  styleDefaults:{animationIndicators:"none"},layout:{outerGapWidth:0,outerGapHeight:0},_isOverview:!0},n);b.Tv(this.Y$)&&(n.xAxis.tickLabel.rendered="off");I.Rr(this.Y$)&&n.series&&n.series[0]&&(n.series=[n.series[0]],n.series[0].type="lineWithArea");var g=this.Y$.A().overview.content;n=a.cb.ae(g,n);n.zoomAndScroll="off";this.ba||(this.ba=a.Ac.newInstance(this.a),this.ba.setId(this.lc));this.Rja.B(this.ba);this.ba.ia(n,d,k);n=new a.Rect(this.a,0,0,d,k);n.Yb();this.Rja.B(n);this.ba.Nb().Zr(null);return this.ba.Ev.i};
  K.prototype.KGa=function(){};K.prototype.ia=function(a,b,n){a.style={overviewBackgroundColor:"rgba(0,0,0,0)",windowBackgroundColor:"rgba(0,0,0,0)",windowBorderTopColor:"#333333",windowBorderRightColor:"#333333",windowBorderBottomColor:"#333333",windowBorderLeftColor:"#333333",leftFilterPanelColor:"rgba(5,65,135,0.1)",rightFilterPanelColor:"rgba(5,65,135,0.1)",handleBackgroundImage:a.chart._resources.overviewGrippy,handleWidth:3,handleHeight:15,handleFillColor:"rgba(0,0,0,0)"};a.animationOnClick="off";
  n=this.XYa(a.chart,b,n);K.C.ia.call(this,a,b,n)};K.prototype.Ec=function(){K.C.Ec.call(this);this.ba=this.Y$=null};K.prototype.pC=function(){return!0};K.prototype.qM=function(){};K.prototype.jfa=function(){};a.f.v(C,aa);C.Bia=4;C.FRa=3;C.prototype.jf=function(){return[this.ql,this.wn,this.Yf,this.Zf]};C.prototype.Ve=function(a){this.C2(a[0],a[1],a[2],a[3])};C.prototype.gL=function(){return this.Hd()};C.prototype.SK=function(b){var n=this.jf();this.Ve([this.RN,this.RN,0,0]);b=new a.td(this.a,this,
  b);b.da.aa(a.L.Hf,this,this.jf,this.Ve,n);return b};C.prototype.XU=function(b){var n=[this.ql,this.ql,this.Yf,this.Zf];b=new a.td(this.a,this,b);b.da.aa(a.L.Hf,this,this.jf,this.Ve,n);b.da.aa(a.L.ta,this,this.Jb,this.qa,0);return b};C.prototype.WQ=function(b){this.qa(0);var n=this.jf();this.Ve([this.ql,this.ql,this.Yf,this.Zf]);b=new a.td(this.a,this,b);b.da.aa(a.L.Hf,this,this.jf,this.Ve,n);b.da.aa(a.L.ta,this,this.Jb,this.qa,1);return b};C.prototype.C2=function(b,n,d,k){var g=Math.max(n,b);this.sLa(this.EA.x+
  this.EA.b/2,this.EA.y+this.EA.i/2,g,g,360-a.Math.SR(Math.max(d,k))+90,a.Math.SR(Math.abs(k-d)),this.y_,Math.abs(n-b)>=C.Bia&&this.RN!=b?Math.min(n,b)+this.y_:Math.min(n,b));var g=N.wL(b,d,this.EA),q=N.wL(b,k,this.EA),l=N.wL(n,d,this.EA),r=N.wL(n,k,this.EA),m=Math.min(g.x,q.x,l.x,r.x),c=Math.min(g.y,q.y,l.y,r.y);this.xBa=new a.U(m,c,Math.max(g.x,q.x,l.x,r.x)-m,Math.max(g.y,q.y,l.y,r.y)-c);this.ql=b;this.wn=n;this.Yf=d;this.Zf=k};C.prototype.NK=function(){return this.xBa};a.f.v(l,a.Ib);l.prototype.qCa=
  function(b,n,d,k){var g=Math.atan2(k-n,d-b),q=this.oz/2,l=Math.PI/8,g=a.G.moveTo(b+q*Math.cos(g+l),n+q*Math.sin(g+l))+a.G.arcTo(q,q,2*(Math.PI-l),1,b+q*Math.cos(g-l),n+q*Math.sin(g-l))+a.G.lineTo(d-q*Math.cos(g+l),k-q*Math.sin(g+l))+a.G.arcTo(q,q,2*(Math.PI-l),1,d-q*Math.cos(g-l),k-q*Math.sin(g-l))+a.G.closePath();this.Ug(g);this.Yf=b;this.QH=n;this.Zf=d;this.RH=k};l.prototype.qS=function(b,n,d,k,g){this.kq=d;d=a.Jm.yz(d);this.ST?(this.Yb(),this.MO=new a.ma(d,1,1.5)):(this.Ia(b),this.Ha(n),this.ap(new a.ma(k,
  1,1),new a.ma(d,1,3.5)),this.Fq(new a.ma(k,1,1.5),new a.ma(g,1,4.5)),this.cs(new a.ma(k,1,1.5),new a.ma(d,1,4.5)))};l.prototype.Rc=function(){this.ST?(this.ge=!0,this.Ha(this.MO)):l.C.Rc.call(this)};l.prototype.Cc=function(){this.ST?(this.ge=!1,this.Ha(this.hb()?S.i8:S.yW)):l.C.Cc.call(this)};l.prototype.gc=function(a){this.ST?this.fk!=a&&(this.fk=a,this.hb()?(this.Ia(S.iza),this.Ha(this.ge?this.MO:S.i8)):(this.Yb(),this.Ha(this.ge?this.MO:S.yW))):l.C.gc.call(this,a)};l.prototype.Af=function(){this.ST||
  l.C.Af.call(this)};l.prototype.jf=function(){return[this.Yf,this.QH,this.Zf,this.RH]};l.prototype.Ve=function(a){this.qCa(a[0],a[1],a[2],a[3])};l.prototype.NK=function(){return this.yHa().Hn(this.zHa())};l.prototype.yHa=function(){return new a.U(this.Yf-this.oz/2,this.QH-this.oz/2,this.oz,this.oz)};l.prototype.zHa=function(){return new a.U(this.Zf-this.oz/2,this.RH-this.oz/2,this.oz,this.oz)};a.f.v(r,a.ca);r.uda="SNAP";r.zxa="SMOOTH";r.gMa="AUTO";r.kT="_dvtDataCursor";r.prototype.Init=function(b,
  n,d){r.C.Init.call(this,b);this.Sw=d;this.Vf=n;this.dd(!1);this.Ci(!1);b=n.lineWidth;d=n.lineColor;var k=a.Pa.UB(n.lineStyle),g=new a.ma(d,1,b);g.Na(k);this.mD=new a.Fb(this.a,0,0,0,0,"dcLine");this.mD.Ha(g);this.B(this.mD);"off"!=n.markerDisplayed&&(this.oK=new a.ca(this.a),this.oK.dd(!1),this.B(this.oK),n=n.markerSize,k=new a.W(this.a,a.W.tk,null,0,0,n+4*b,n+4*b),k.ab(d),this.oK.B(k),b=new a.W(this.a,a.W.tk,null,0,0,n+2*b,n+2*b),b.ab("white"),this.oK.B(b),this.tEa=new a.W(this.a,a.W.tk,null,0,0,
  n,n),this.oK.B(this.tEa))};r.prototype.ia=function(b,n,d,k,g,q){var l=this.Tg(),m=a.m.ea(this.a),c;if(null!=g&&""!=g){var C=this.a.Hu(),B=this.a.cf(r.kT);B.wE(n+C.x,d+C.y,g,q,!1);c=B.wR();g=this.Vf.markerSize+4*this.Vf.lineWidth;var e,t;l?(e=m?b.x-.75*c.b:b.x+b.b-c.b/4,t=k-c.i/2,!m&&e-n<g?e=n+g:m&&n-(e+c.b)<g&&(e=n-g-c.b)):(e=k-c.b/2,t=b.y-.75*c.i,d-(t+c.i)<g&&(t=d-g-c.i));B.yV(e+C.x,t+C.y);c=B.wR();c.x-=C.x;c.y-=C.y}l?(this.mD.Eb(k),m?(this.mD.Vh(c?c.x+c.b-1:b.x),this.mD.Ih(b.x+b.b)):(this.mD.Vh(b.x),
  this.mD.Ih(c?c.x+1:b.x+b.b))):(this.mD.Va(k),this.mD.Jh(c?c.y+c.i-1:b.y),this.mD.ph(b.y+b.i));this.oK&&(this.oK.jb(n,d),b=this.Vf.markerColor,this.tEa.ab(b?b:q),a.m.eda(this.oK))};r.prototype.Tg=function(){return this.Sw};r.prototype.Q1a=function(){return this.vn?this.vn:r.gMa};r.prototype.u7a=function(a){this.vn=a};a.f.v(B,a.Ib);B.prototype.Init=function(b,n,d,g,q,l,r,m,c){B.C.Init.call(this,b.a);this.ba=b;b=b.A().styleDefaults;this.ze=n;this.gU=d;this.dK=g;this.Bs=q;this.Ro=l;this.wu=r;this.aK=
  m;this.$l="on"==b.threeDEffect?1:0;this.dB=c;n=this.h0();this.kq=k.Zb(this.ba,this.ze,0);this.mv=b.backgroundColor?b.backgroundColor:b.funnelBackgroundColor;this.Ug(n.slice);n.bar&&(this.jq=new a.Ib(this.a,n.bar),this.B(this.jq),this.jq.dd(!1));this.wpa(n.sliceBounds);this.Md=this.hma(n.sliceBounds,n.barBounds);null!=this.Md&&(this.Md.dd(!1),this.B(this.Md))};B.kAa=.08;B.lAa=36;B.oia=1/3;B.yA="#FFFFFF";B.sZ=3;B.V8=2/3;B.LJ=.41;B.oT=.28;B.W8=.4;B.MJ=.8;B.pT=.7;B.prototype.h0=function(){var b=a.m.ea(this.a),
  n=G.gh(this.ba),d=(this.gU+1)*this.dB,k=a.Math.Ns(B.lAa-2*this.$l),g=this.dK-n*this.dB,n=g/Math.sin(a.Math.Ns(B.lAa)),q=this.Bs/Math.sin(k),l=this.$l*this.dK/this.Bs*B.kAa;1E-5>l&&(l=0);var r=this.Bs,m=this.Bs*B.oia,c,C,e,t,h,u,f,w,K;this.Ro<B.LJ?(c=this.Ro,C=r,e=this.Bs*B.V8,h=B.LJ,f=g*B.oT,K=g*(1-B.oT)):this.Ro<B.MJ?(c=this.Ro-B.LJ,C=this.Bs*B.V8,e=this.Bs*B.W8,h=B.MJ-B.LJ,f=g*(B.pT-B.oT),K=g*(1-B.pT)):(c=this.Ro-B.MJ,C=this.Bs*B.W8,e=m,h=1-B.MJ,f=g*(1-B.pT),K=0);this.Ro+this.wu<B.LJ?(t=this.Bs*
  B.V8,m=this.Ro+this.wu,u=B.LJ,w=g*B.oT,g*=1-B.oT):this.Ro+this.wu<B.MJ?(r=this.Bs*B.V8,t=this.Bs*B.W8,m=this.Ro+this.wu-B.LJ,u=B.MJ-B.LJ,w=g*(B.pT-B.oT),g*=1-B.pT):(r=this.Bs*B.W8,t=m,m=this.Ro+this.wu-B.MJ,u=1-B.MJ,w=g*(1-B.pT),g=0);c=.98*Math.asin(((Math.sqrt((h-c)/h*C*C+c/h*e*e)-e)*f/(C-e)+K)/n);C=.98*Math.asin(((Math.sqrt((u-m)/u*r*r+m/u*t*t)-t)*w/(r-t)+g)/n);r=(1+B.oia)/2*this.Bs+q;e=(1-B.oia)/2*this.Bs-q;b?(d=[n*Math.sin(c)+d,r-q*Math.cos(c),n*Math.sin(C)+d,r-q*Math.cos(C),n*Math.sin(C)+d,e+
  q*Math.cos(C),n*Math.sin(c)+d,e+q*Math.cos(c)],c=0,C=1):(d=[this.dK-d-n*Math.sin(c),r-q*Math.cos(c),this.dK-d-n*Math.sin(C),r-q*Math.cos(C),this.dK-d-n*Math.sin(C),e+q*Math.cos(C),this.dK-d-n*Math.sin(c),e+q*Math.cos(c)],c=1,C=0);r=a.G.moveTo(d[0],d[1]);e=null;r+=a.G.arcTo(l*(d[1]-d[7])/2,(d[1]-d[7])/2,Math.PI,C,d[6],d[7]);r+=a.G.arcTo(l*(d[1]-d[7])/2,(d[1]-d[7])/2,Math.PI,C,d[0],d[1]);r+=a.G.arcTo(n,q,k,c,d[2],d[3]);r+=a.G.arcTo(l*(d[3]-d[5])/2,(d[3]-d[5])/2,Math.PI,C,d[4],d[5]);r+=a.G.arcTo(n,q,
  k,c,d[6],d[7]);h=new a.U(Math.min(d[0],d[2]),d[5],Math.abs(d[0]-d[2]),Math.abs(d[3]-d[5]));if(null!=this.aK){var z=Math.max(Math.min(this.aK,1),0),b=b?-z*Math.PI:z*Math.PI;e=a.G.moveTo(d[0],d[1]);e+=a.G.arcTo(n,q,k,c,d[2],d[3]);e+=a.G.arcTo(l*(d[3]-d[5])/2,(d[3]-d[5])/2,b,C,d[2]+l*(d[3]-d[5])/2*Math.sin(b),(d[5]+d[3])/2+(d[3]-d[5])/2*Math.cos(b));e=.95<this.aK?e+a.G.arcTo(n,q,k,c,d[6],d[1]+z*(d[7]-d[1])):.05>this.aK?e+a.G.arcTo(n,q,k,C,d[6],d[1]+z*(d[7]-d[1])):e+a.G.lineTo(d[6]+l*(d[1]-d[7])/2*Math.sin(b),
  (d[7]+d[1])/2+(d[1]-d[7])/2*Math.cos(b));e+=a.G.arcTo(l*(d[1]-d[7])/2,(d[1]-d[7])/2,b,c,d[0],d[1]);e+=a.G.closePath();z=new a.U(Math.min(d[0],d[2]),d[5]+Math.abs(d[3]-d[5])*(1-z),Math.abs(d[0]-d[2]),Math.abs(d[3]-d[5])*z)}return{slice:r,bar:e,sliceBounds:h,barBounds:e?z:h}};B.prototype.hma=function(b,n){var d=G.WU(this.ba,this.ze,0);d||(d=G.iL(this.ba,this.ze));if(d&&"none"!=k.Tra(this.ba,this.ze,0)){var d=new a.za(this.a,d,0,0),g=null!=k.wq(this.ba,this.ze,0),q=[this.ba.A().styleDefaults.dataLabelStyle,
  new a.j(G.te(this.ba,this.ze,0).labelStyle)],q=a.j.Lz(q);d.ub(q);if(a.ga.Yc(d,b.i-this.$l*(.8-this.wu)*50,b.b,this,B.sZ)){var l=d.V(),r=this.CO(b);if(g){var m=.15*l.i,c=a.m.ea(this.a)?.5:-.5,m=a.G.YI(l.x-m,l.y,l.b+2*m,l.i,2,2,2,2),m=new a.Ib(this.a,m);m.ab("#FFFFFF",.9);r.translate(c*l.i,-c*l.b);m.Xa(r);this.B(m)}g=g?"#000000":n.hf(b.x,b.y+(b.i-l.b)/2)?a.D.Ok(this.kq):a.D.Ok(this.mv);q.N("color")&&!a.m.GI()||d.ub(q.Na("color",g));d.Xa(this.CO(b));d.$f();d.ug();return d}}};B.prototype.CO=function(b){var n=
  b.i*this.dK/this.Bs*B.kAa/2*this.$l,d=new a.Da;a.m.ea(this.a)?(d.rotate(Math.PI/2),d.translate(b.x+b.b/2-n,b.y+b.i/2)):(d.rotate(3*Math.PI/2),d.translate(b.x+b.b/2+n,b.y+b.i/2));return d};B.prototype.wpa=function(b){var n=q.asa(this.ba,this.ze,this.kq,b),d=k.po(this.ba,this.ze,0);null==d&&0<this.$l&&(d=B.yA);var g=k.Qh(this.ba,this.ze,0),l=a.Jm.yz(this.kq);b=q.asa(this.ba,this.ze,this.mv,b,!0);this.jq?(this.Ia(b),this.jq.Ia(n),this.jq.Na(k.N(this.ba,this.ze,0)),this.jq.sc(k.Ir(this.ba,this.ze,0))):
  (this.Ia(n),this.Na(k.N(this.ba,this.ze,0)),this.sc(k.Ir(this.ba,this.ze,0)));d&&this.uc(d,null,g);this.pA=this.ve();n=null!=this.jq?this.jq:this;n.ap(new a.ma(l,1,2));this.ba.Qk()&&(d=k.hL(this.ba),g=k.dE(this.ba)?k.dE(this.ba):this.kq,n.Fq(new a.ma(d,1,1.5),new a.ma(g,1,4.5)),n.cs(new a.ma(d,1,1.5),new a.ma(l,1,4.5)),this.setCursor("pointer"))};B.prototype.jf=function(){return[this.Ro,this.wu,this.aK,this.Jb(),this.$l]};B.prototype.Ve=function(a){this.Ro=a[0];this.wu=a[1];this.aK=null!=this.aK?
  a[2]:null;this.qa(a[3]);this.$l=a[4];a=this.h0();this.Ug(a.slice);a.bar&&this.jq&&this.jq.Ug(a.bar);this.Md&&this.Md.Xa(this.CO(a.sliceBounds))};B.prototype.gc=function(a){if(null!=this.jq){if(this.fk==a)return;this.fk=a;this.jq.gc(a)}else B.C.gc.call(this,a);var b=this.V(),n=null!=this.jq?this.jq:this,d=b.b;a?(n.Ol((d-3)/d),n.Va(Math.ceil(1.5)+3/d*b.x)):(n.Ol(1),n.Va(0))};B.prototype.Rc=function(){null!=this.jq?this.jq.Rc():B.C.Rc.call(this)};B.prototype.Cc=function(){null!=this.jq?this.jq.Cc():
  B.C.Cc.call(this)};B.prototype.nh=function(){return new B(this.ba,this.ze,this.gU,this.dK,this.Bs,this.Ro,this.wu,this.aK,this.dB)};a.f.v(g,a.Ib);g.prototype.Init=function(b,n,d,q,l,r,m,c){g.C.Init.call(this,b.a);this.ba=b;b=b.A().styleDefaults;this.ze=n;this.gU=d;this.Es=q;this.e2=l;this.Ro=r;this.wu=m;this.$l="on"==b.threeDEffect?1:0;this.dB=c;n=this.h0();this.kq=k.Zb(this.ba,this.ze,0);0<this.$l?(this.Ug(n.threeDPathTop),this.NB=new a.Ib(this.a,n.threeDPathSide),this.gm=new a.Ib(this.a,n.slice),
  this.B(this.NB),this.B(this.gm)):this.Ug(n.slice);this.wpa(n.sliceBounds);this.Md=this.hma(n.sliceBounds);null!=this.Md&&(this.Md.dd(!1),this.B(this.Md))};g.yA="#FFFFFF";g.sZ=3;g.ESa=4;g.hZ=.2;g.prototype.h0=function(){var b=a.m.ea(this.a),n=G.gh(this.ba),d=(n-this.gU-1)*this.dB,k=this.$l*g.hZ*.98*this.Es,q=this.ba.A(),l=Math.sqrt(Math.pow(this.e2-(n-1)*this.dB,2)*(1-this.Ro)),r=1<=this.Ro+this.wu?0:Math.sqrt(Math.pow(this.e2-(n-1)*this.dB,2)*(1-this.Ro-this.wu)),m=r/this.e2*(1-this.$l*g.hZ)*this.Es*
  .98,n=(0==this.gU?l:l-this.dB)/this.e2*(1-this.$l*g.hZ)*this.Es*.98,c,C,B,e;b?(C=[this.Es-.5*this.Es+k/2-m/2,d+r],e=[this.Es-.5*this.Es+k/2-n/2,d+l],B=[this.Es-.5*this.Es+k/2+n/2,d+l],c=[this.Es-.5*this.Es+k/2+m/2,d+r]):(c=[.5*this.Es-k/2-m/2,d+r],B=[.5*this.Es-k/2-n/2,d+l],e=[.5*this.Es-k/2+n/2,d+l],C=[.5*this.Es-k/2+m/2,d+r]);var t,h;"on"==q.styleDefaults.threeDEffect&&(d=this.$l*g.hZ*n*Math.sqrt(2)/2,k=this.$l*g.hZ*m*Math.sqrt(2)/2,t=a.G.moveTo(C[0],C[1]),t+=a.G.lineTo(C[0]+(b?-1:1)*Math.max(k,
  1),C[1]-Math.max(k,.5)),t+=a.G.lineTo(c[0]+(b?-1:1)*Math.max(k,1),c[1]-Math.max(k,.5)),t+=a.G.lineTo(c[0],c[1]),t+=a.G.closePath(),h=a.G.moveTo(C[0],C[1]),h+=a.G.lineTo(C[0]+(b?-1:1)*Math.max(k,1),C[1]-Math.max(k,.5)),h+=a.G.lineTo(e[0]+(b?-1:1)*d,e[1]-d),h+=a.G.lineTo(e[0],e[1]),h+=a.G.closePath());C=a.G.moveTo(C[0],C[1]);C+=a.G.lineTo(e[0],e[1]);C+=a.G.lineTo(B[0],B[1]);C+=a.G.lineTo(c[0],c[1]);C+=a.G.closePath();m/=n;c=.5*Math.abs(c[1]-B[1])*(1+m);e=.5*Math.abs(e[0]-B[0])*(1+m)-g.ESa;return{slice:C,
  sliceBounds:new a.U(B[0]+(n-e)/2*(b?-1:1),B[1]-c,e,c),threeDPathTop:t,threeDPathSide:h}};g.prototype.hma=function(b){var n=G.WU(this.ba,this.ze,0);n||(n=G.iL(this.ba,this.ze));if(n&&"none"!=k.Tra(this.ba,this.ze,0)){var n=new a.za(this.a,n,0,0),d=null!=k.wq(this.ba,this.ze,0),q=[this.ba.A().styleDefaults.dataLabelStyle,new a.j(G.te(this.ba,this.ze,0).labelStyle)],q=a.j.Lz(q);n.ub(q);if(a.ga.Yc(n,b.b,b.i,this,g.sZ)){var l=n.V(),r=this.CO(b);if(d){var m=.15*l.i,m=a.G.YI(l.x-m,l.y,l.b+2*m,l.i,2,2,2,
  2),m=new a.Ib(this.a,m);m.ab("#FFFFFF",.9);r.translate(-.5*l.b,-.5*l.i);m.Xa(r);this.B(m)}d=d?"#000000":b.hf(b.x+(b.b-l.b)/2,b.y)?a.D.Ok(this.kq):a.D.Ok(null);q.N("color")&&!a.m.GI()||n.ub(q.Na("color",d));n.Xa(this.CO(b));n.$f();n.ug();return n}}};g.prototype.CO=function(b){var n=new a.Da;a.m.ea(this.a)?n.translate(b.x-b.b/2,b.y+b.i/2):n.translate(b.x+b.b/2,b.y+b.i/2);return n};g.prototype.wpa=function(b){var n=q.asa(this.ba,this.ze,this.kq,b),d=k.po(this.ba,this.ze,0);null==d&&0<this.$l&&(d=g.yA);
  var l=k.Qh(this.ba,this.ze,0);b=a.Jm.yz(this.kq);if(0<this.$l){var r=!n.wq&&!n.TU;this.gm.Ia(n);this.gm.Na(k.N(this.ba,this.ze,0));this.gm.sc(k.Ir(this.ba,this.ze,0));this.NB.Ia(r?new a.oc(a.D.qm(n.Zb(),.3)):n);this.NB.Na(k.N(this.ba,this.ze,0));this.NB.sc(k.Ir(this.ba,this.ze,0));this.Ia(r?new a.oc(a.D.qm(n.Zb(),.3)):n)}else this.Ia(n);this.Na(k.N(this.ba,this.ze,0));this.sc(k.Ir(this.ba,this.ze,0));d&&(this.uc(d,null,l),0<this.$l&&(this.NB.uc(d,null,l),this.gm.uc(d,null,l)));this.pA=this.ve();this.ap(new a.ma(b,
  1,2));0<this.$l&&(this.NB.ap(new a.ma(b,1,2)),this.gm.ap(new a.ma(b,1,2)));this.ba.Qk()&&(n=k.hL(this.ba),d=k.dE(this.ba)?k.dE(this.ba):this.kq,0<this.$l?(this.gm.Fq(new a.ma(n,1,1.5),new a.ma(d,1,4.5)),this.gm.cs(new a.ma(n,1,1.5),new a.ma(b,1,4.5)),this.gm.setCursor("pointer"),this.NB.setCursor("pointer")):(this.Fq(new a.ma(n,1,1.5),new a.ma(d,1,4.5)),this.cs(new a.ma(n,1,1.5),new a.ma(b,1,4.5))),this.setCursor("pointer"))};g.prototype.jf=function(){return[this.Ro,this.wu,this.Jb(),this.$l]};g.prototype.Ve=
  function(a){this.Ro=a[0];this.wu=a[1];this.qa(a[2]);this.$l=a[3];a=this.h0();this.NB&&this.gm?(this.Ug(a.threeDPathTop),this.NB.Ug(a.threeDPathSide),this.gm.Ug(a.slice)):this.Ug(a.slice);this.Md&&this.Md.Xa(this.CO(a.sliceBounds))};g.prototype.gc=function(a){if(0<this.$l)if(this.gm.gc(a),a){a=this.V();var b=a.b,n=a.i,d=(n-5)/n;this.gm.Ol((b-3)/b);this.gm.mn(d);this.gm.Va(Math.ceil(1.5)+3/b*a.x);this.gm.Eb(Math.ceil(2.5)+5/n*a.y)}else this.gm.Ol(1),this.gm.mn(1),this.gm.Va(0),this.gm.Eb(0);else g.C.gc.call(this,
  a)};g.prototype.Rc=function(){g.C.Rc.call(this);0<this.$l&&(this.NB.Rc(),this.gm.Rc())};g.prototype.Cc=function(){g.C.Cc.call(this);0<this.$l&&(this.NB.Cc(),this.gm.Cc())};g.prototype.nh=function(){return new g(this.ba,this.ze,this.gU,this.Es,this.e2,this.Ro,this.wu,this.dB)};g.prototype.gL=function(){return this.gm?this.gm.Hd():this.Hd()};d.HAa=.59;d.LSa=.1;d.zN=.45;d.jSa=.38;d.rZ=1.5;a.f.v(d,a.ca);d.prototype.Init=function(b,n){d.C.Init.call(this,b.a);this.gj=b;this.Vf=b.A();this.Io=n.clone();b.Xp=
  this;for(var k=this.vg(),g=G.gh(b),q=0;q<g;q++){var l=G.te(b,q,0);!l||"center"!=k&&"none"!=k||"outsideSlice"!=l.labelPosition||(k="outsideSlice")}this.sl=new a.P(n.x+Math.floor(n.b/2),n.y+Math.floor(n.i/2));this.$k=this.vj=Math.floor(Math.min(n.b,n.i)*("center"==k||"none"==k?d.zN:d.jSa));this.tp=0;this.KTa=90;this.pL()&&(this.tp=n.i*d.LSa,this.sl.y-=Math.floor(this.tp/2),this.$k*=d.HAa);this.Li=this.hVa();this.KBa=null;this.HB=new a.ca(this.a);this.pP=this.nP=0};d.prototype.A=function(){return this.Vf};
  d.prototype.Zd=function(b){a.sd.Zd(b,this.Li,"any"==this.A().highlightMatch)};d.prototype.hVa=function(){for(var b=[],n,d=ia.UIa(this.gj),g=ia.Gsa(this.gj),q=0;q<d.length;q++)n=d[q],k.Ku(this.gj,n)&&(n=new A(this,n),0>=n.getValue()||b.push(n));d=k.WK(this.gj);d=0<=a.Y.$b(d,ia.TX);0<g&&!d&&(g=new A(this),"ascending"==this.gj.A().sorting?b.unshift(g):b.push(g));a.m.ea(this.a)&&b.reverse();return b};d.prototype.iS=function(){var a=this.gj.Ue();if(a){for(var b=G.k4(this.gj),n=[],d=0;d<b.length;d++)for(var k=
  0;k<this.Li.length;k++){var g=this.Li[k].getId();g&&(b[d].id&&g.getId()==b[d].id||g.Ch()==b[d].series&&g.eh()==b[d].group)&&n.push(g)}ia.m5a(this.gj,b)&&(b=ia.KIa(this.gj),n.push(b));a.Vr(n,this.Li)}};d.prototype.ia=function(){Q.sqa(this.gj,this,this.Io,!0);var b;this.contains(this.HB)||(this.HB||(this.HB=new a.ca(this.a)),this.B(this.HB),this.pL()||this.wI()!=a.j.Hm||(b=new a.Uk(a.D.bt(78,87,101,.45),4,7,7,54,2,3,!1,!1,!1)));d.DXa(this.Li,this.KTa);for(var n=2*Math.PI*this.vj,g=0,q={},l=this.gj.Bf.Te("hasLargeSeriesCount"),
  r=0;r<this.Li.length;r++){if(l){var m=this.Li[r].Qp(),c=(this.Li[r].Cu()+m)/360*n;if(m/360*n<d.rZ&&Math.abs(g-c)<d.rZ){q[this.Li[r].wg()]=!0;continue}else g=c}this.Li[r].p6a()}n=d.WXa(this.Li);this.Uka||(v.X0a(this),v.G5a(this));for(r=0;r<n.length;r++)q[n[r].wg()]||n[r].ia(this.Uka);a.m.uy()||b&&this.HB.UH(b);this.iS();this.Zd(k.$U(this.gj))};d.prototype.mV=function(){for(var a=0,b=0;b<this.Li.length;b++){var n=this.Li[b].getValue();0<=n&&(a+=n)}return a};d.DXa=function(a,b){var n,d,k,g=0,q=a?a.length:
  0;360<b&&(b-=360);0>b&&(b+=360);var l=k=0;0<q&&(l=a[0].Re.mV());for(n=0;n<q;n++)d=a[n],k=d.getValue(),k=k==l?100:0==l?0:Math.min(k/l*100,99.99),g=3.6*k,k=b-g,0>k&&(k+=360),d.n6(k),d.m6(g),b=d.Cu()};d.WXa=function(a){var b=[],n,d=a?a.length:0,k,g=-1,q,l;for(n=0;n<d;n++)if(k=a[n],q=k.Cu(),k=k.Qp(),k=q+k,360<k&&(k-=360),0>k&&(k+=360),90==k||90>q&&90<k){g=n;l=k-90;break}q=[];for(n=g;n<d;n++)q.push(a[n]);for(n=0;n<g;n++)q.push(a[n]);g=a=0;l=180+l;for(n=0;n<d;n++)if(k=q[n]){if(a+k.Qp()>l){g=n;break}b.push(k);
  a+=k.Qp()}for(n=d-1;n>=g;n--)(k=q[n])&&b.push(k);return b};d.prototype.pL=function(){return"on"==this.Vf.styleDefaults.threeDEffect};d.prototype.aTa=function(){return this.vj*(.5/d.zN-1)};d.prototype.Kb=function(){return k.Kb(this.gj)};d.prototype.SK=function(){this.Uka=!0;var b=new a.Ql(this.a,this),n=this.Kb(),d=A.T0a(this,this.mV());this.Li.push(d);var k=new a.td(this.a,d,n);k.da.aa(a.L.Hf,d,d.Mq,d.Cw,d.Wra());k.pg(d.hFa,d);b.add(k,0);for(d=0;d<this.Li.length-1;d++)this.Li[d].mh(b);d=new a.td(this.a,
  this,n);d.da.aa(a.L.Hf,this,this.Ek,this.im,this.Ek());b.add(d,0);k=[];for(d=0;d<this.Li.length;d++)k=k.concat(this.Li[d].b3a());n=new a.dg(this.a,k,n);b.add(n,0);this.im();b=b.vz(!0);b.pg(this.Sj,this);return b};d.prototype.Sj=function(){this.Uka=!1;this.im()};d.prototype.Yd=function(){return this.sl};d.prototype.YK=function(){return this.pL()?0:this.Vf.styleDefaults.pieInnerRadius*Math.min(this.vj,this.$k)*.95};d.prototype.X3a=function(a){return(a=ia.jta(this.gj,a))?a.yta():null};d.prototype.Mf=
  function(b,n){var d=new a.Ql(this.a,this);d.En(n.Li,this.Li);var d=d.vz(!0),k=new a.td(this.a,this,this.Kb());k.da.aa(a.L.Hf,this,this.Ek,this.im,this.Ek());d=new a.$d(this.a,d,k);d.pg(this.im,this);b.add(d,0);this.im([n.tp,n.$k,n.Yd().y])};d.prototype.mh=function(){};d.prototype.ai=function(){};d.prototype.Ek=function(){return[this.tp,this.$k,this.sl.y]};d.prototype.im=function(a){this.Hh();this.HB&&this.HB.Ec();this.HB=null;a&&(this.tp=a[0],this.$k=a[1],this.sl.y=a[2]);this.ia()};d.prototype.Hqa=
  function(a){var b=a.Re.HB;if(b){var n=b.Vc();1<n-this.nP&&(b.removeChild(a.vu[0]),b.Ad(a.vu[0],n-this.nP-1))}};d.prototype.vva=function(a){for(var b=this.Li.length,n=0,d=0;d<b;d++)this.Li[d].hb()&&n++;this.pP=n;if(b=a.Re.HB)n=b.Vc()-this.nP-1-this.pP,0<=n&&(b.removeChild(a.vu[0]),b.Ad(a.vu[0],n))};d.prototype.vg=function(){return d.mKa(this.Vf.styleDefaults.dataLabelPosition)};d.prototype.ZIa=function(a){var b=this.vg();(a=G.te(this.gj,a,0))&&a.labelPosition&&(b=a.labelPosition);return d.mKa(b)};
  d.mKa=function(a){return"center"==a||"inside"==a?"center":"outsideSlice"==a||"outside"==a?"outsideSlice":"none"==a?"none":"auto"};d.prototype.wI=function(){return this.Vf.skin};d.prototype.x7a=function(a){this.KBa=a};a.f.v(A,a.f);A.prototype.Init=function(b,n){this.Re=b;this.ba=b.gj;this.Jf=this.KN=0;this.KT=this.tU=this.XT=this.vu=null;this.fx=this.ex=0;this.K2=this.Qo=null;this.DG=!1;this.hoa=this.iU=this.E1=this.sD=this.iz=null;this.mpa=this.Ai=!1;this.i_=this.Re.Yd().x;this.j_=this.Re.Yd().y;
  this.vj=this.Re.vj;this.$k=this.Re.$k;this.tp=this.Re.tp;var d=this.ba.A();null!=n?(d=G.te(this.ba,n,0),this.pQ=G.getValue(this.ba,n,0),this.xO=ia.Y3a(this.ba,n),this.cm=k.Zb(this.ba,n,0),this.zCa=k.wq(this.ba,n,0),this.CK=k.po(this.ba,n),this.li=k.Qh(this.ba,n),this.yka=d.label,this.GFa=G.Ch(this.ba,n),this.$q=d.action,this.rv=Q.mca(this.ba,n,0),this.Lp=this.ba.pk(d._id),this.lc=ia.bJa(this.ba,n),this.ze=n,this.bO=G.rd(this.ba,n,0)):(this.pQ=ia.Gsa(this.ba),this.xO=0,this.cm=d.styleDefaults.otherColor,
  this.zCa=null,this.CK=d.styleDefaults.borderColor,this.li=d.styleDefaults.borderWidth,this.yka=null,this.GFa=a.I.Ja(a.I.gw,"LABEL_OTHER",null),this.$q=null,this.rv=!1,this.Lp=ia.z3a(this.ba),this.lc=ia.KIa(this.ba))};A.prototype.ia=function(a){for(var b=A.j_a(this.vu,this.XT,this.tU,this.KT,this.KN,this.Jf),n=b.length,d=0;d<n;d++)for(var k=b[d],g=k.length,q=0;q<g;q++)this.Re.HB.B(k[q]),k[q].ia&&k[q].ia();this.Qo&&(this.Re.B(this.Qo),f.Xb(this,[this.Qo]),a?(this.Re.B(this.iz),this.Re.B(this.sD)):this.uZa());
  this.vCa();if(this.$q||this.rv||this.Re.gj.Qk())for(a=this.Xd(),d=0;d<a.length;d++)a[d].setCursor("pointer");if(d=this.yta())d.zg("img"),this.So()};A.prototype.yCa=function(b,n){var d=new a.Fb(this.Re.a,b.x,b.y,n.x,n.y),k=this.Re.A().styleDefaults.pieFeelerColor,k=new a.ma(k);d.Ha(k);this.Re.B(d);return d};A.prototype.uZa=function(){if(this.DG){var a=this.yCa(this.E1,this.iU),b=this.yCa(this.iU,this.hoa);this.iz=a;this.sD=b}};A.prototype.p6a=function(){var b=this.cUa?"color":k.vI(this.ba),n=this.fy(),
  d=this.zCa;if("pattern"==b||null!=d)d=new a.lb(d,n),b="pattern";else if("gradient"==b)var d=this.Re.wI(),g=d==a.j.Hm?297:270,q=this.Re.pL()?"3D":"2D",l=f.dsa(a.D.Gn(n),q,d),r=f.csa(a.D.Jb(n),q),d=new a.hd(g,l,r,f.esa(q,d),[Math.floor(this.i_-this.vj),Math.floor(this.j_-this.$k),Math.ceil(2*this.vj),Math.ceil(2*this.$k)]);else d=new a.oc(n);this.vu=f.$0a(this,d);if(0<this.tp||this.vj!=this.$k)b="gradient"==b,d=new a.oc(a.D.qm(n,.4)),n=b?f.lHa(this,f.j8):d,b=b?f.lHa(this,f.DS):d,this.XT=f.bra(this,
  f.z8,n),this.tU=f.bra(this,f.Xga,n),this.KT=f.bra(this,f.sza,b);this.tE(null)};A.j_a=function(a,b,n,d,k,g){var q=[];b&&n&&d&&(270>=k&&270<k+g?(q.push(b),q.push(n),q.push(d)):270<k||90>=k+g?(q.push(b),q.push(d),q.push(n)):(q.push(n),q.push(d),q.push(b)));q.push(a);return q};A.jKa=function(a,b,n){return 0<a-b!=0<a-n};A.prototype.vCa=function(){if(0!=this.xO){var b=(360-(this.KN+this.Jf/2))*a.Math.gv,n=this.Re.pL()?d.HAa:1,k=this.xO*this.Re.aTa();this.ex=Math.cos(b)*k;this.fx=Math.sin(b)*n*k;a.m.uy()&&
  (this.ex=Math.round(this.ex),this.fx=Math.round(this.fx))}else this.fx=this.ex=0;this.vu&&(b=this.Re.pL()&&this.vu[0].T3a?this.vu[0].T3a():[],A.xaa(this.vu,b[0]?b[0]+this.ex:this.ex,b[1]?b[1]+this.fx:this.fx));this.tU&&A.xaa(this.tU,this.ex,this.fx);this.XT&&A.xaa(this.XT,this.ex,this.fx);this.KT&&A.xaa(this.KT,this.ex,this.fx);if(this.DG){var b=this.E1.x,n=this.E1.y,k=b+this.ex,g=n+this.fx;this.iz.Vh(k);this.iz.Jh(g);var q=this.iU.x,l=this.iU.y;A.jKa(q,b,k)?(this.iz.Ih(k),this.sD.Vh(k)):(this.iz.Ih(q),
  this.sD.Vh(q));A.jKa(l,n,g)?(this.iz.ph(g),this.sD.Jh(g)):(this.iz.ph(l),this.sD.Jh(l))}this.Qo&&!this.DG&&this.Qo.jb(this.ex,this.fx)};A.xaa=function(a,b,n){if(a)for(var d=a.length,k=0;k<d;k++)a[k].jb(b,n)};A.prototype.Yd=function(){return new a.P(this.i_,this.j_)};A.prototype.Qp=function(){return this.Jf};A.prototype.m6=function(a){this.Jf=a};A.prototype.Cu=function(){return this.KN};A.prototype.n6=function(a){this.KN=a};A.prototype.m8a=function(a,b,n){this.E1=a;this.iU=b;this.hoa=n;this.DG=!0};
  A.prototype.D6=function(){this.hoa=this.iU=this.E1=null;this.DG=!1};A.prototype.b3a=function(){var a=[];this.Qo&&a.push(this.Qo);this.iz&&a.push(this.iz);this.sD&&a.push(this.sD);return a};A.prototype.tE=function(a){this.Qo=a};A.prototype.y8a=function(a){this.K2=a};A.prototype.getValue=function(){return this.pQ};A.prototype.getId=function(){return this.lc};A.prototype.wg=function(){return this.ze};A.L$a=function(a,b){return b.contains(a.x,a.y)&&b.contains(a.x+a.b,a.y)&&b.contains(a.x+a.b,a.y+a.i)&&
  b.contains(a.x,a.y+a.i)};A.Hpa=function(a){return a instanceof aa};A.prototype.contains=function(a,b){for(var n=this.Re.YK(),d=this.Re.Yd(),k=(a-d.x)/this.vj,g=(b-d.y)/this.$k,d=180/Math.PI*-Math.atan2(g,k);d<this.KN;)d+=360;for(;360<=d-this.KN;)d-=360;k=Math.pow(k,2)+Math.pow(g,2);d=d<=this.KN+this.Jf;return Math.sqrt(k)>n/this.vj&&1>=k&&d};A.prototype.Mq=function(){var b=a.D.mj(this.cm),n=a.D.kj(this.cm),d=a.D.hj(this.cm),k=a.D.Jb(this.cm);return[this.pQ,this.vj,this.$k,this.xO,this.i_,this.j_,
  this.tp,b,n,d,k]};A.prototype.Cw=function(b){this.pQ=b[0];this.vj=b[1];this.$k=b[2];this.xO=b[3];this.i_=b[4];this.j_=b[5];this.tp=b[6];this.cm=a.D.bt(Math.round(b[7]),Math.round(b[8]),Math.round(b[9]),Math.round(b[10]))};A.prototype.Wra=function(){var a=this.Mq();a[0]=0;a[1]=this.YK();a[2]=this.YK();a[3]=0;return a};A.prototype.Mf=function(b,n){var d=n.Mq(),k=this.Mq();if(!a.Y.mc(d,k)){var g=new a.td(this.Re.a,this,this.Re.Kb());g.da.aa(a.L.Hf,this,this.Mq,this.Cw,k);b.add(g,0);this.Cw(d)}};A.prototype.mh=
  function(b){var n=new a.td(this.Re.a,this,this.Re.Kb());n.da.aa(a.L.Hf,this,this.Mq,this.Cw,this.Mq());b.add(n,0);this.Cw(this.Wra())};A.prototype.ai=function(b,n){var d=n.Li,k=this.Re.Li,g=a.Y.$b(k,this)-1;if(0<=g)for(k=k[g].getId(),g=0;g<d.length;g++){if(d[g].getId().mc(k)){d.splice(g+1,0,this);break}}else d.splice(0,0,this);this.Re=n;d=new a.td(n.a,this,this.Re.Kb());d.da.aa(a.L.Hf,this,this.Mq,this.Cw,this.Wra());d.pg(this.hFa,this);b.add(d,0)};A.prototype.hFa=function(){var b=this.Re.Li,n=a.Y.$b(b,
  this);0<=n&&b.splice(n,1)};A.prototype.Xd=function(){var a=[];this.vu&&(a=a.concat(this.vu));this.XT&&(a=a.concat(this.XT));this.tU&&(a=a.concat(this.tU));this.KT&&(a=a.concat(this.KT));this.Qo&&a.push(this.Qo);this.iz&&a.push(this.iz);this.sD&&a.push(this.sD);return a};A.prototype.se=function(){var b;b=null==this.ze?V.JIa(this.ba,this.pQ,!1):V.bf(this.ba,this.ze,0,null,!1);var n=a.I.Ja(a.I.gw,"LABEL_PERCENTAGE",null),d=v.pra(this);b+="; "+a.I.Ja(a.I.pa,"COLON_SEP_LIST",[n,d]);n=[];this.gb()&&n.push(a.I.Ja(a.I.pa,
  this.hb()?"STATE_SELECTED":"STATE_UNSELECTED"));Q.mca(this.ba,this.ze,this.gK)&&n.push(a.I.Zc(this.Re.A(),"stateDrillable",a.I.pa,"STATE_DRILLABLE"));return a.R.mm(b,n)};A.prototype.So=function(){var b=this.yta();b&&!a.m.Vj()&&b.Od("label",this.se())};A.prototype.yta=function(){return this.vu&&0<this.vu.length?this.vu[0]:null};A.prototype.gb=function(){return this.ba.Qk()};A.prototype.hb=function(){return this.Ai};A.prototype.gc=function(b,n){(this.Ai=b)?this.Re.Hqa(this):this.mpa||this.Re.vva(this);
  if(k.u5a(this.ba))for(var d=this.Xd(),g=0;g<d.length;g++)A.Hpa(d[g])&&d[g].gc(b);k.t5a(this.ba)&&(d=b?1:0,n||"none"==k.MQ(this.ba)?this.TKa(d):(g=new a.td(this.Re.a,this,this.Re.Kb()/2),g.da.aa(a.L.ta,this,this.K2a,this.TKa,d),g.play()));this.So()};A.prototype.Rc=function(){this.mpa=!0;this.Re.Hqa(this);for(var a=this.Xd(),b=0;b<a.length;b++)A.Hpa(a[b])&&a[b].Rc()};A.prototype.Cc=function(){this.mpa=!1;this.Ai||this.Re.vva(this);for(var a=this.Xd(),b=0;b<a.length;b++)A.Hpa(a[b])&&a[b].Cc()};A.prototype.bf=
  function(a){return a==this.Qo&&this.Qo&&this.Qo.$o()?this.K2:this.Iu()};A.prototype.pi=function(){return this.fy()};A.prototype.rd=function(){return this.bO&&0<this.bO.length?this.bO:[this.getId().Ch()]};A.prototype.Kd=function(b){var n=b.keyCode;if(b.type==a.MouseEvent.He||n==a.KeyboardEvent.Kj&&b.ctrlKey)return this;b=a.m.ea(this.ba.a);var d=this.Re.Li,k=a.Y.$b(d,this),g=null;if(n==a.KeyboardEvent.Be||n==a.KeyboardEvent.kf&&!b||n==a.KeyboardEvent.sg&&b)g=k<d.length-1?d[k+1]:d[0];else if(n==a.KeyboardEvent.Ne||
  n==a.KeyboardEvent.kf&&b||n==a.KeyboardEvent.sg&&!b)g=0==k?d[d.length-1]:d[k-1];return g};A.prototype.md=function(b){var n=this.Xd();return n[0]?n[0].V(b):new a.U(0,0,0,0)};A.prototype.$j=function(){var a=this.Xd();return a[0]?a[0].ja():null};A.prototype.qh=function(){this.Tc=!0;this.Rc()};A.prototype.mf=function(){this.Tc=!1;this.Cc()};A.prototype.Ae=function(){return this.Tc};A.prototype.jn=function(){return!0};A.prototype.Fl=function(){return[this.getId()]};A.prototype.Rp=function(){if(this.ba.Qk()&&
  1<this.ba.Ue().wj.length){for(var a=this.ba.Ue().getSelection(),b=[],n=0;n<a.length;n++)b=b.concat(a[n].Xd());return b}return this.Xd()};A.prototype.K2a=function(){return this.xO};A.prototype.TKa=function(a){this.xO=a;this.vCa()};A.prototype.iL=function(){return this.GFa};A.prototype.fy=function(){return this.cm};A.prototype.Qh=function(){return this.li};A.prototype.aJa=function(){return 0==this.tp?3*k.WD(this.ba):0};A.prototype.YK=function(){return this.Re.YK()};A.prototype.Iu=function(){return null==
  this.ze?V.JIa(this.ba,this.pQ,!0):V.bf(this.ba,this.ze,0,null,!0)};A.prototype.oh=function(){return this.$q};A.prototype.bk=function(){return this.rv};A.prototype.pk=function(){return this.Lp};A.T0a=function(a,b){var n=new A(a);n.pQ=b;n.cUa=!0;n.i_=a.Yd().x;n.j_=a.Yd().y;n.cm="rgba(255,255,255,0)";n.CK="rgba(255,255,255,0)";n.lc=new R(null,null,null);return n};A.prototype.wg=function(){return this.ze};a.f.v(w,a.f);w.Zqa=function(b,n,d){n=[];if(I.Fh(b))w.MTa(b,d,n);else if(I.sm(b)||I.Vv(b)||I.Hz(b))w.NTa(b,
  d,n);else if(I.Qr(b)&&b.Xp)return b.Xp.SK();return 0<n.length?new a.$d(b.a,n):null};w.MTa=function(b,n,d){var k=b.YB(),g=k?k.length:0;if(g)for(var q,r,m=0;m<g;m++){r=k[m];q=r.Xd()[0];var c=r.hh();r=null;if(q instanceof ha||q instanceof C||q instanceof ja||q instanceof ea)r=q.SK(n);else if(q instanceof O)r="line"==c?w.IWa(b,q,n):w.dWa(b,q,n);else if(q instanceof a.W||q instanceof l){if(q instanceof S&&!q.hb())continue;r=new a.dg(b.a,q,n-.8,.8)}r&&d.push(r)}};w.NTa=function(b,n,d){var k=b.Ov(),q=k?
  k.length:0;if(q)for(var l,r,m=0;m<q;m++){l=k[m];l=l.Xd()[0];if(l instanceof a.W)r=new a.qk(b.a,l,!0,n);else if(l instanceof B||l instanceof g)r=w.zWa(b,l,n);r&&d.push(r)}};w.dWa=function(b,n,d){var k=b.a,g=n.xs,q;if(n.F5()){var l=n.xT;q=n.zra();for(var r=q.slice(0),m=0;m<q.length;m++)if(1==m%4||2==m%4)q[m]=g;n.dwa(q);q=new a.td(k,n,d);q.da.aa(a.L.Hf,n,n.zra,n.dwa,r)}for(var c=n.$n,C=n.jf(),r=C.slice(0),m=0;m<C.length;m++)if(1==m%4||2==m%4)C[m]=g;n.Ve(C);d=new a.td(k,n,d);d.da.aa(a.L.Hf,n,n.jf,n.Ve,
  r);b=new a.$d(b.a,q,d);b.pg(function(){n.CL(c,l)});return b};w.zWa=function(b,n,d){var k=b.a,g=n.jf(),q=g.slice(0),l=g.slice(0);g[0]=0;I.Vv(b)&&(g[2]=0,q[2]=0);n.Ve(g);b=new a.td(k,n,d/2);b.da.aa(a.L.Hf,n,n.jf,n.Ve,q);d=new a.td(k,n,d/2);d.da.aa(a.L.Hf,n,n.jf,n.Ve,l);return new a.Lj(k,[b,d])};w.IWa=function(b,n,d){var k=n.$n,g=n.jf(),q=g.slice(0);w.KWa(g);n.Ve(g);b=new a.td(b.a,n,d);b.da.aa(a.L.Hf,n,n.jf,n.Ve,q);b.pg(function(){n.CL(k)});return b};w.KWa=function(a){var b=0,n=Number.MAX_VALUE,d=Number.MIN_VALUE,
  k=a.length,g;for(g=0;g<k;g++){var q=a[g];0!=g%4&&3!=g%4&&Infinity!=q&&(q<n&&(n=q),q>d&&(d=q),b+=q)}b=8<k?(b-2*n-2*d)/(k/2-4):b/(k/2);for(g=0;g<k;g++)if(1==g%4||2==g%4)a[g]=b};a.f.v(z,a.f);z.Zqa=function(b,n,d,k,g){if(!z.xUa(b,n))return null;d=n.a;var q=[],l=[];I.Qr(n)?(q.push(b.Xp),l.push(n.Xp)):z.lUa(q,b,l,n,k);var r;b=new a.Ql(d,g);b.En(q,l);0<b.Dv.length&&(r=b.vz(!0));n=n.NHa();if(r&&0<n.length){for(b=0;b<n.length;b++)n[b].qa(0);r=new a.Lj(d,r,new a.dg(d,n,k/4))}return r};z.lUa=function(b,n,d,
  k,q){var r,m=n.YB(),f=b,w,K,z,Z=k.Vb.Te("dataFiltered");for(b=0;2>b;b++){var A={};for(r=0;r<m.length;r++){w=m[r];K=w.Xd()[0];z=null;if(K instanceof B)z=new p(w,q);else if(K instanceof g)z=new c(w,q);else if(K instanceof ha||K instanceof C)z=new H(w,q),Z&&(w=w.Ch(),A[w]=A[w]?A[w]+1:1,z.setId(w+"/"+A[w]+"/bar"));else if(K instanceof O)z=new t(w,q);else if(K instanceof a.W){if(K instanceof S&&!K.hb())continue;z=new h(w,q)}else if(K instanceof l){if(K.ST&&!K.hb())continue;z=new e(w,q)}else K instanceof
  ja?z=new y(w,q):K instanceof ea&&(z=new u(w,q));z&&(f.push(z),z.h8a(n))}f=d;m=k.YB()}};z.xUa=function(a,b){return I.Qr(a)&&I.Qr(b)?a&&b:I.bg(a)!=I.bg(b)?!1:I.Fh(a)&&I.Fh(b)?!0:I.sm(a)&&I.sm(b)?!0:a.Hc()==b.Hc()?!0:!1};a.f.v(m,a.Ac);a.f.v(y,a.f);y.prototype.Mf=function(a,b){var n=b.X;this.X&&this.X.zta&&a.add(this.X.zta(this.Iv,n),1)};y.prototype.mh=function(b){if(this.X&&this.X.WQ)b.add(this.X.WQ(this.kK),2);else{var n=new a.dg(this.X.a,this.X,this.kK);b.add(n,0)}};y.prototype.ai=function(b,n){n.B(this.X);
  if(this.X&&this.X.XU)b.add(this.X.XU(this.kG),0);else{var d=new a.Vg(this.X.a,this.X,this.kG);b.add(d,0)}};y.prototype.getId=function(){return this.vs};y.prototype.setId=function(a){this.vs=a};y.prototype.Init=function(a,b){this.hm=a;this.Iv=.75*b;this.kK=.5*b;this.kG=.5*b;this.X=a.Xd()[0];this.vs=a.Ch()+"/"+a.eh()};y.prototype.h8a=function(a){this.N$=a};a.f.v(H,y);H.prototype.Init=function(a,b){H.C.Init.call(this,a,b);this.jK=null;this.vs+="/bar"};H.prototype.mh=function(a){var b=this.X.WQ(this.kK);
  a.add(b,2)};H.prototype.ai=function(a,b){b.B(this.X);var n=this.X.XU(this.kG);a.add(n,0)};H.prototype.Mf=function(b,n){var d=this.N$,g=this.hm.ba,q=I.Tg(d)!=I.Tg(g),l=n.Ek(q),q=this.Ek(),r=n.X.gL().clone(),m=this.X.gL(),c=n.X.hb()||this.X.hb()||r.mc(m);if(!a.Y.mc(l,q)||!r.mc(m)){var C=this.hm.wg(),B=n.hm.wg(),e=this.hm.Zj(),t=n.hm.Zj();"none"!==k.qra(g)&&(this.jK=ba.VJa(d,B,t,g,C,e));this.im(l);c||this.X.Ia(r);d=new a.td(this.X.a,this,this.Iv);d.da.aa(a.L.Hf,this,this.Ek,this.im,q);c||d.da.aa(a.L.yt,
  this.X,this.X.Hd,this.X.Ia,m);this.jK&&(d.pg(this.O$,this),this.jK.qa(0));b.add(d,1)}};H.prototype.Ek=function(a){return this.X.jf(a)};H.prototype.im=function(a){this.X.Ve(a,this.jK)};H.prototype.O$=function(){this.jK.getParent().removeChild(this.jK);this.jK=null};a.f.v(u,y);u.prototype.Init=function(a,b){u.C.Init.call(this,a,b);this.vs+="/boxAndWhisker"};a.f.v(t,y);t.prototype.Mf=function(b,n){this.eUa=this.X.xT;this.MUa=this.X.$n;var d=this.X.F5(),g=this.N$,q=this.ba,l=this.hm.wg(),r=n.hm.wg(),
  m=this.X.IHa(n.X),c=n.X.IHa(this.X),C;if(d){var B=n.sla(this.X),e=this.sla(n.X);t.uEa(B,e);a.Y.mc(B,e)||(this.HFa(B),C=new a.td(this.a,this,this.Iv),C.da.aa(a.L.Hf,this,this.sla,this.HFa,e))}var h,B=n.Ek(this.X),e=this.Ek(n.X);t.uEa(B,e);a.Y.mc(B,e)||(this.im(B),h=new a.td(this.a,this,this.Iv),h.da.aa(a.L.Hf,this,this.Ek,this.im,e));if("none"!==k.qra(q)&&(!d||"lineWithArea"!=this.hm.hh()))for(e=0;e<m.length;e++)d=ba.QHa(g,r,c[e],q,l,m[e]),(B=ba.VJa(g,r,c[e],q,l,m[e]))&&this.X.X_a(m[e],d,B);if(C||
  h)g=new a.$d(this.a,C,h),g.pg(this.rq,this),b.add(g,1)};t.prototype.mh=function(b){this.X.qa(0);var n=new a.dg(this.a,this.X,this.kK);b.add(n,2)};t.prototype.ai=function(b,n){var d;"area"==k.hh(this.N$,this.hm.wg())?(d=this.ba.xja,this.Jka=this.X.getParent().getParent(),d&&(d.B(this.Jka),d=new a.Vg(this.a,this.Jka,this.kG),d.pg(this.HYa,this),b.add(d,0))):(n.B(this.X),d=new a.Vg(this.a,this.X,this.kG),b.add(d,0))};t.prototype.HYa=function(){var a=this.ba.xja;a&&a.removeChild(this.Jka)};t.prototype.Ek=
  function(a){return this.X.jf(a)};t.prototype.im=function(a){this.X.Ve(a)};t.prototype.sla=function(a){return this.X.zra(a)};t.prototype.HFa=function(a){this.X.dwa(a)};t.prototype.rq=function(){this.X.J6a();this.X.CL(this.MUa,this.eUa)};t.uEa=function(a,b){for(var n=3;n<a.length;n+=4)a[n]=b[n]};t.prototype.Init=function(a,b){t.C.Init.call(this,a,b);this.a=this.X.a;this.ba=this.hm.ba;this.vs+="/"+(this.X.F5()?"area":"line")};a.f.v(h,y);h.prototype.Mf=function(b,n){var d=n.X.Ps(),g=this.X.Ps();if(!g.mc(d)){this.X.xC(d);
  var q=new a.td(this.X.a,this,this.Iv);q.da.aa(a.L.GJ,this.X,this.X.Ps,this.X.xC,g);var l=this.hm.ba;this.y5a(n)&&"none"!=k.qra(l)&&I.sm(l)&&(l=n.X,l.ab("#FFFF2B",.9),l.xC(d),this.hm.ba.Az().B(l),q.da.aa(a.L.GJ,l,l.Ps,l.xC,g),q.da.aa(a.L.ta,l,l.Jb,l.qa,0),this.joa=l,q.pg(this.O$,this));b.add(q,1)}};h.prototype.mh=function(b){this.X.qa(0);var n=new a.dg(this.X.a,this.X,this.kK);b.add(n,2)};h.prototype.ai=function(b,n){n.B(this.X);var d=new a.Vg(this.X.a,this.X,this.kG);b.add(d,0)};h.prototype.y5a=function(a){var b=
  !1;if(a){var b=a.hm.wg(),n=a.hm.Zj(),d=this.hm.wg(),k=this.hm.Zj();a=a.N$.A();var g=this.hm.ba.A(),q=a.series[b].items[n].y,l=a.series[b].items[n].z,r=g.series[d].items[k].y,m=g.series[d].items[k].z,b=g.series[d].items[k].x!==a.series[b].items[n].x||r!==q||m!==l}return b};h.prototype.O$=function(){this.joa&&(this.hm.ba.Az().removeChild(this.joa),this.joa=null)};h.prototype.Init=function(a,b){h.C.Init.call(this,a,b);this.vs+="/marker"};a.f.v(e,y);e.prototype.Init=function(a,b){e.C.Init.call(this,a,
  b);this.vs+="/rangeMarker"};e.prototype.mh=function(b){this.X.qa(0);var n=new a.dg(this.X.a,this.X,this.kK);b.add(n,2)};e.prototype.ai=function(b,n){n.B(this.X);var d=new a.Vg(this.X.a,this.X,this.kG);b.add(d,0)};e.prototype.Mf=function(b,n){var d=n.X.jf(),k=this.X.jf();this.X.Ve(d);d=new a.td(this.X.a,this,this.Iv);d.da.aa(a.L.Hf,this.X,this.X.jf,this.X.Ve,k);b.add(d,1)};var ba={};a.f.v(ba,a.f);ba.Uxa=0;ba.Sxa=1;ba.Txa=2;ba.VJa=function(a,b,n,d,g,q){if(I.bg(d))return null;a=ba.QHa(a,b,n,d,g,q);if(a==
  ba.Txa)return null;b=(a=a===ba.Sxa)?k.A1a(d):k.B1a(d);a=ba.wVa(d.a,a,I.Tg(d),b);d.Az().B(a);return a};ba.QHa=function(a,b,n,d,k,g){a=G.getValue(a,b,n);d=G.getValue(d,k,g);return null==d||null==a||d==a?ba.Txa:d>a?ba.Uxa:ba.Sxa};ba.wVa=function(b,n,d,k){n=d?(a.m.ea(b)?!n:n)?"M3.5,-5L3.5,5L-3.5,0L3.5,-5":"M-3.5,-5L-3.5,5L3.5,0L-3.5,-5":n?"M-5,-3.5L5,-3.5L0,3.5L-5,-3.5Z":"M-5,3.5L5,3.5L0,-3.5L-5,3.5Z";b=new a.Ib(b,n);b.ab(k);return b};a.f.v(p,y);p.prototype.Mf=function(b,n){var d=this.X,k=n.X.jf(),g=
  d.jf(),q=n.X.Hd().clone(),l=this.X.Hd();a.Y.mc(k,g)&&q.mc(l)||(d.Ve(k),k=new a.td(d.a,this,this.Iv),k.da.aa(a.L.Hf,d,d.jf,d.Ve,g),q.mc(l)||(this.X.Ia(q),k.da.aa(a.L.yt,d,d.Hd,d.Ia,l)),this.jK&&k.pg(this.O$,this),b.add(k,1))};p.prototype.mh=function(b){var n=this.X,d=n.jf(),k=d.slice(0);k[0]+=k[1]/2;k[1]=0;k[3]=0;n.Ve(k);k=new a.td(n.a,this,this.kK);k.da.aa(a.L.Hf,n,n.jf,n.Ve,d);b.add(k,2)};p.prototype.ai=function(b,n){var d=this.X;n.be(null);n.B(d);var k=d.jf(),g=k.slice(0);g[0]+=k[1]/2;g[1]=0;g[3]=
  0;k=new a.td(d.a,this,this.kG);k.da.aa(a.L.Hf,d,d.jf,d.Ve,g);b.add(k,0)};p.prototype.Init=function(a,b){p.C.Init.call(this,a,b);this.vs+="/funnel"};a.f.v(c,y);c.prototype.Mf=function(b,n){var d=this.X,k=n.X.jf(),g=d.jf(),q=n.X.gL(),l=this.X.gL();a.Y.mc(k,g)&&q.mc(l)||(d.Ve(k),k=new a.td(d.a,this,this.Iv),k.da.aa(a.L.Hf,d,d.jf,d.Ve,g),q.mc(l)||(this.X.Ia(q),k.da.aa(a.L.yt,d,d.Hd,d.Ia,l)),b.add(k,1))};c.prototype.mh=function(b){var n=this.X,d=n.jf(),k=d.slice(0);k[1]=0;k[2]=0;n.Ve(k);k=new a.td(n.a,
  this,this.kK);k.da.aa(a.L.Hf,n,n.jf,n.Ve,d);b.add(k,2)};c.prototype.ai=function(b,n){var d=this.X;n.be(null);n.B(d);var k=d.jf().slice(0);k[1]=0;k[2]=0;var g=new a.td(d.a,this,this.kG);g.da.aa(a.L.Hf,d,d.jf,d.Ve,k);b.add(g,0)};c.prototype.Init=function(a,b){c.C.Init.call(this,a,b);this.vs+="/pyramid"};var b={};a.f.v(b,a.f);b.B4a=function(b){return I.bg(b)?"tangential":I.Tg(b)?a.m.ea(b.a)?"right":"left":"bottom"};b.wHa=function(a,b){var n=b+"Axis",n=a.A()[n].baselineScaling;return!n||"zero"!=n&&"min"!=
  n?I.Rr(a)?"min":"zero":n};b.Dta=function(b){var n=b.A().yAxis.position;if(I.bg(b))return"radial";if(I.Tg(b))return!n||"top"!=n&&"bottom"!=n?"bottom":n;I.Rr(b)&&(n=n?n:"end");return a.m.ea(b.a)?n&&"end"==n?"left":"right":n&&"end"==n?"right":"left"};b.Cta=function(b){var n=b.A().y2Axis.position;return I.Tg(b)?!n||"top"!=n&&"bottom"!=n?"top":n:a.m.ea(b.a)?n&&"start"==n?"right":"left":n&&"start"==n?"left":"right"};b.jE=function(a){return I.Fh(a)&&"disabled"!=b.Zba(a)};b.Tv=function(a){return I.Fh(a)&&
  "disabled"==b.Zba(a)};b.Zba=function(a){var b=a.A().timeAxisType;return b&&"auto"!=b&&I.Fh(a)&&!I.bg(a)?b:I.Rr(a)?"skipGaps":"disabled"};b.qC=function(a){return"mixedFrequency"==b.Zba(a)};b.eba=function(a){var n=a.Vb.Te("axisOffset");if(null!=n)return n;n=a.A().styleDefaults.groupSeparators;b.Tv(a)&&1<G.cE(a)&&"on"==n.rendered?n=.5:I.C5(a)||I.O4a(a)||I.Jta(a)||I.Ita(a)||I.Fh(a)&&1==G.lg(a)?n=.5:!P.q5a(a)||I.tL(a)||Q.sL(a)||I.at(a)?n=0:(n=I.Tg(a)?.2:.5,n-=n/Math.sqrt(G.lg(a)));a.Vb.Pf("axisOffset",
  n);return n};b.f5a=function(a){if(!I.Fh(a))return!1;if(1<G.cE(a))return!0;for(var b=G.gh(a),n=0;n<b;n++)if(k.In(a,n)){var d=k.hh(a,n),g=k.Fu(a,n);if("bar"!=d&&"centeredSegmented"!=g&&"centeredStepped"!=g)return!1}return!0};b.sV=function(a){return!I.Fh(a)||I.C5(a)?!1:"polygon"==a.A().polarGridShape};b.Yo=function(a,b){if("y"==b&&I.Mta(a)||"y2"==b&&!I.eca(a))return!1;var n=a.A()[b+"Axis"];return"off"==n.rendered||"off"==n.tickLabel.rendered&&!n.title?!1:!0};b.hca=function(a,b){var n=a.A()[b+"Axis"];
  return"off"==n.rendered||"off"==n.axisLine.rendered?!1:"auto"==n.axisLine.rendered&&"x"!=b&&I.Fh(a)&&!I.bg(a)?!1:!0};b.gua=function(a,b){var n=a.A()[b+"Axis"];return"off"==n.rendered||"off"==n.majorTick.rendered?!1:"auto"==n.majorTick.rendered&&"x"==b&&I.Fh(a)&&!I.bg(a)?!1:!0};b.hua=function(a,n){var d=a.A()[n+"Axis"];return"off"==d.rendered||"off"==d.minorTick.rendered?!1:"on"==d.minorTick.rendered?!0:b.K5(a,n)};b.K5=function(a,b){return"log"==a.A()[b+"Axis"].scale};b.oy=function(b,n){var d=b.A(),
  k=d[n+"Axis"].tickLabel.style;k instanceof a.j||(k=new a.j(k));k.ZJa(a.Cj.Vo(d.skin).tickLabel.style);return a.ga.yq(b.a,k)};b.d5=function(a,n){if(b.N5(a,n))return 0;var d=a.A(),k=I.Tg(a),g=b.qba(a,n),q=Math.ceil(d.layout.tickLabelGapWidth*g),d=Math.ceil(d.layout.tickLabelGapHeight*g);return"x"==n?k?q:d:k?d:q};b.qba=function(a,n){return b.Yo(a,n)?b.oy(a,n)/14:0};b.N5=function(a,b){return I.bg(a)||I.sm(a)||I.Fh(a)&&"x"==b?!1:"inside"==a.A()[b+"Axis"].tickLabel.position};b.oV=function(a,n){var d=n?
  "xAxisViewportMinMaxUG":"xAxisViewportMinMax",k=a.Vb.Te(d);if(k)return k;var k=a.A().xAxis,g=b.Tv(a),q=b.eba(a);if(n)var l=b.lJa(a);var r=null;null!=k.viewportMin?r=k.viewportMin:null!=k.viewportStartGroup?r=g?G.Zj(a,k.viewportStartGroup)-q:k.viewportStartGroup:n&&(r=l.min);var m=null;null!=k.viewportMax?m=k.viewportMax:null!=k.viewportEndGroup?m=g?G.Zj(a,k.viewportEndGroup)+q:k.viewportEndGroup:n&&(m=l.max);k={min:r,max:m};a.Vb.Pf(d,k);return k};b.lJa=function(a){var n=a.A().xAxis,d=b.Tv(a),k=b.eba(a);
  if(!d)var g=G.D4(a,"x");var q=null,q=null!=n.min?n.min:d?0-k:g.min,l=null,l=null!=n.max?n.max:d?G.lg(a)-1+k:g.max;return{min:q,max:l}};b.n0a=function(a,n){var d=a.A(),k=d.xAxis,g=d.initialZooming;if(I.Fh(a)&&"off"!=d.zoomAndScroll&&"none"!=g){d._initialZoomed&&("last"==g?k.viewportMin=null:k.viewportMax=null);var q=b.oV(a,!1),l=q.min,q=q.max;if(!("last"==g&&null!=l||"first"==g&&null!=q)){var g=I.Tg(a)?n.i:n.b,r=Math.floor(g/(2*b.oy(a,"x")))+b.eba(a),m=G.lg(a)-1;if(!(m<=r)){var c;b.Tv(a)?(g=0,c=m):
  (c=G.D4(a,"x"),g=c.min,c=c.max);r=r/m*(c-g);"last"==d.initialZooming?(null==q&&(q=c),k.viewportMin=Math.max(q-r,g)):(null==l&&(l=g),k.viewportMax=Math.min(l+r,c));d._initialZoomed=!0}}}};b.T2a=function(b){if(!I.C5(b)&&!I.Jta(b)&&!I.Ita(b))return null;var n=b.A(),d=k.vra(b);if(1<=d)return n._averageGroupZ=Infinity,null;n._averageGroupZ=0;var g=G.lg(b),q=I.MR(b),l=G.Uba(b,"bar"),r=l.y.length,m=l.y2.length,c,C,B,e;if(b.Bf.Te("hasConstantZValue"))b=b.Bf.Te("constantZValue")*(q?Math.max(r,m):r+m)*g,e=
  b*d/(1-d),d=null;else{for(var t=[],h=0;h<g;h++){for(B=c=0;B<r;B++)c+=G.ura(b,l.y[B],h,!1);for(B=C=0;B<m;B++)C+=G.ura(b,l.y2[B],h,!0);t.push(q?Math.max(c,C):c+C)}b=a.Y.reduce(t,function(a,b){return a+b});e=b*d/(1-d);d=a.Y.map(t,function(a){return a+e/g})}n._averageGroupZ=(b+e)/g;return d};b.QJa=function(a){var b=a.A().styleDefaults.dataLabelPosition,n=k.qua(a);return I.C5(a)&&("outsideBarEdge"==b||n)?!0:!1};b.Fqa=function(a,b){if(!a)return!1;var n=a.A().position,d="top"==n||"bottom"==n,n=d?4:10,k=
  d?10:4,d=a.Rb.clone();d.x-=k;d.y-=n;d.b+=2*k;d.i+=2*n;n=a.pf(b);return d.hf(n.x,n.y)};var G={};a.f.v(G,a.f);G.iE=function(a){var b=a.A();if(!b||!b.series||1>b.series.length)return!1;for(var b=G.gh(a),n=0;n<b;n++){var d=G.xg(a,n);if(d&&d.items&&1<=d.items.length)return!0}return!1};G.qJa=function(a){return!G.iE(a)||G.rJa(a)};G.rJa=function(a){if(I.Vv(a)||I.Qr(a)||I.Hz(a))return!1;var n=a.A(),d=G.lg(a);if(!n||!n.series||1>n.series.length||1>d)return!0;var k,g=G.gh(a);if(b.qC(a))for(k=0;k<g;k++)for(n=
  0;n<d;n++){var q=G.te(a,k,n);if(q&&(null==q.x||isNaN(q.x)))return!0}else if(b.jE(a))for(n=0;n<d;n++)if(k=G.eh(a,n),null==k||isNaN(k))return!0;return!1};G.S4a=function(a,b){var n=G.xg(a,b).items;if(n)for(var d=0;d<n.length;d++)if(null!=n[d])return!0;return!1};G.pva=function(d){if(G.iE(d)){var g=d.A(),q=d.Bf,l=G.gh(d);I.x5a(d)||(g.type="bar");var r=!1,m=!1,c=!0,C=null,B=!1,e=!1,t=I.Rr(d);t&&1<l&&(g.series=g.series.slice(0,1),l=1);var h=b.qC(d),u=100<l;q.Pf("hasLargeSeriesCount",u);for(var f=0,w=d.B8,
  K=0;K<l;K++){var z=G.Ch(d,K);!u&&null!=z&&0>a.Y.$b(w,z)&&w.push(z);var Z=G.xg(d,K);Z.items&&Z.items.length>f&&(f=Z.items.length);if("hidden"==Z.visibility){var p=k.WK(d);0>a.Y.$b(p,z)&&p.push(z)}Z.visibility=null;"on"==Z.assignedToY2&&(r=!0);if(Z&&Z.items)for(var p=Z.items,A,z=0;z<p.length;z++)null!=p[z]&&(A=p[z],"object"!=typeof A&&(A={y:A},p[z]=A),h||null==A.x||(A.x=Number(A.x)),null!=A.y&&(A.y=Number(A.y),0>A.y&&(e=!0)),null!=A.z?(A.z=Number(A.z),null==C?C=A.z:C!=A.z&&(c=!1)):C=1,null!=A.value&&
  (A.value=Number(A.value),0>A.value&&(e=!0)),null!=A.targetValue&&(A.targetValue=Number(A.targetValue)),null!=A.open&&(A.open=Number(A.open),B=!0),null!=A.close&&(A.close=Number(A.close),B=!0,0>A.close&&(e=!0)),null!=A.low&&(A.low=Number(A.low),B=!0),null!=A.high&&(A.high=Number(A.high),B=!0),null!=A.volume&&(A.volume=Number(A.volume),m=!0),(A.color||A.borderColor||A.borderWidth||A.style||A.svgStyle||A.className||A.svgClassName)&&q.SI("itemStyleSet",K,!0))}q.Pf("hasVolume",m);q.Pf("hasConstantZValue",
  c);q.Pf("constantZValue",c?C:null);q.Pf("hasLowHighSeries",B);q.Pf("hasNegativeValues",e);if(t&&G.uJa(d)&&!I.at(d)){z=a.cb.clone(G.xg(d,0));z.assignedToY2="on";r=!0;z.type="bar";z.categories=G.rd(d,0);z.id="_volume";z._selectable="off";z.items=[];for(m=0;m<Z.items.length;m++)c={},c.color=k.d4a(d,m),c.x=Z.items[m].x,c.value=Z.items[m].volume,c.drilling="off",z.items.push(c);g.series.push(z);q.SI("itemStyleSet",g.series.length-1,!0)}q.Pf("hasY2Assignment",r);Z=n.Pba(d);for(r=0;r<Z.length;r++)if(p=Z[r].items)for(z=
  0;z<p.length;z++)if(A=p[z])"object"!=typeof A?p[z]=Number(A):(!b.qC(d)&&A.x&&(A.x=Number(A.x)),A.max&&(A.max=Number(A.max)),A.min&&(A.min=Number(A.min)),A.value&&(A.value=Number(A.value)));g.groups||(g.groups=[]);z=G.lg(d);for(r=0;r<f-z;r++)Z=a.I.Zc(g,"labelDefaultGroupName",a.I.gw,"DEFAULT_GROUP_NAME",g.groups.length+1),g.groups.push(Z);q.Pf("groupsArray",null);G.CYa(d);Z=g.sorting;Z="on"==Z?"descending":"ascending"!=Z&&"descending"!=Z?"off":Z;if(I.Fh(d)&&b.Tv(d)&&"off"!=Z&&1==G.cE(d)){for(var f=
  G.THa(d),S={},z=0;z<f.length;z++){for(r=m=0;r<=l;r++)k.In(d,r)&&!G.Xo(d,r)&&(c=G.getValue(d,r,z),m+=null==c||isNaN(c)?0:c);S[f[z]]={index:z,total:m,group:g.groups[z]}}"ascending"==Z?f.sort(function(a,b){return S[a].total-S[b].total}):f.sort(function(a,b){return S[b].total-S[a].total});for(r=0;r<l;r++){Z=[];for(z=0;z<f.length;z++)Z.push(G.te(d,r,S[f[z]].index));g.series[r].items=Z}d=[];for(z=0;z<f.length;z++)d.push(S[f[z]].group);g.groups=d;q.Pf("groupsArray",null);q.Pf("value",null)}G.jpa(g.xAxis);
  G.jpa(g.yAxis);G.jpa(g.y2Axis)}};G.jpa=function(a){a.min==a.max&&(a.min=null,a.max=null)};G.BB=function(a,b){var n=null,d=a.bR().isoToDateConverter;if(d){try{n=d(b)}catch(k){n=null}n=null!=n&&n.getTime?n.getTime():null}null==n&&(n=Date.parse(b));isNaN(n)&&(n=Number(b));return n};G.CYa=function(a){var d=a.a,k=a.A(),g,q,l=G.gh(a),r=G.lg(a);if(b.qC(a))for(g=0;g<l;g++)for(q=0;q<r;q++){var m=G.te(a,g,q);null!=m&&"string"==typeof m.x&&null!=m.x&&(m.x=G.BB(d,m.x))}else if(b.jE(a)){for(q=0;q<r;q++)g=G.eh(a,
  q),null!=g&&(k.groups[q]=G.BB(d,g));a.Bf.Pf("groupsArray",null)}if(b.jE(a))for(k=k.xAxis,null!=k.dataMin&&(k.dataMin=G.BB(d,k.dataMin)),null!=k.dataMax&&(k.dataMax=G.BB(d,k.dataMax)),null!=k.min&&(k.min=G.BB(d,k.min)),null!=k.max&&(k.max=G.BB(d,k.max)),null!=k.viewportMin&&(k.viewportMin=G.BB(d,k.viewportMin)),null!=k.viewportMax&&(k.viewportMax=G.BB(d,k.viewportMax)),null!=k.viewportStartGroup&&(k.viewportStartGroup=G.BB(d,k.viewportStartGroup)),null!=k.viewportEndGroup&&(k.viewportEndGroup=G.BB(d,
  k.viewportEndGroup)),a=n.Pba(a),k=0;k<a.length;k++)if(q=a[k].items)for(r=0;r<q.length;r++)q[r]&&null!=q[r].x&&(q[r].x=G.BB(d,q[r].x))};G.FI=function(b,n){return null==b||null==n?!1:b==n||a.Y.isArray(b)&&a.Y.isArray(n)&&a.Y.mc(b,n)?!0:!1};G.gh=function(a){return(a=a.A().series)?a.length:0};G.mJa=function(a){for(var b=0,n=G.gh(a),d=0;d<n;d++)G.Xo(a,d)&&b++;return b};G.Ch=function(a,b){var n=G.xg(a,b);return n?n.id?n.id:n.name||""==n.name?n.name:String(b):null};G.iL=function(a,b){var n=G.xg(a,b);return n&&
  (n.name||""==n.name)?n.name:null};G.wg=function(a,b){for(var n=G.gh(a),d=0;d<n;d++)if(G.Ch(a,d)==b)return d;return-1};G.Tba=function(b,n){if(b.Bf.Te("hasLargeSeriesCount"))return n;var d=G.Ch(b,n);return d?a.Y.$b(b.B8,d):n};G.xg=function(a,b){if(isNaN(b)||null==b||0>b)return null;var n=a.A();if(n.series&&n.series.length>b)return n.series[b]};G.te=function(a,b,n){return isNaN(n)||null==n||0>n?null:(a=G.xg(a,b))&&a.items&&a.items.length>n?a.items[n]:null};G.PQ=function(a,b,n){var d=G.te(a,b,n);return d?
  null!=d.id?d.id:G.Qaa(G.Ch(a,b),G.eh(a,n)):null};G.Qaa=function(a,b){return a+"; "+b};G.vq=function(a,b,n,d){return isNaN(d)||null==d||0>d?null:(a=G.te(a,b,n))&&a.items&&a.items.length>d?a.items[d]:null};G.xIa=function(a,b,n){return(a=G.te(a,b,n))&&a.items?a.items.length:0};G.Iba=function(a,b,n,d){var k=G.vq(a,b,n,d);return k?null!=k.id?k.id:G.PQ(a,b,n)+"; "+String(d):null};G.eR=function(a,b,n,d){for(var k=G.xIa(a,b,n),g=0;g<k;g++){var q=G.Iba(a,b,n,g);if(G.FI(q,d))return g}return-1};G.lg=function(a){return G.f$(a).length};
  G.eh=function(a,b){if(null!=b&&0<=b&&b<G.lg(a)){var n=G.f$(a)[b];if(n)return n.id?n.id:n.name||""==n.name?n.name:String(b)}return null};G.Zj=function(b,n){for(var d=G.THa(b),k=0;k<d.length;k++)if(n instanceof Array&&d[k]instanceof Array?a.Y.mc(n,d[k]):n==d[k])return k;return-1};G.rba=function(a,b){if(0<=b&&b<G.lg(a)){var n=G.f$(a)[b];if(n)return n.name?n.name:null!=n.id?"":n}return null};G.THa=function(a){var b=a.Bf.Te("groups");if(!b){for(var n=G.lg(a),b=[],d=0;d<n;d++)b.push(G.eh(a,d));a.Bf.Pf("groups",
  b)}return b};G.f$=function(a){var b=a.A(),n=a.Bf.Te("groupsArray");if(!n){n=[];b.groups&&(n=G.sDa(b.groups,n));for(b=0;b<n.length;b++)1==n[b].id.length&&(n[b].id=n[b].id[0],n[b].name=n[b].name[0]);a.Bf.Pf("groupsArray",n)}return n};G.sDa=function(a,b){if(a){for(var n=0;n<a.length;n++){var d=a[n],k=null,g=null;null!=d&&(k=d.id?d.id:d.name?d.name:d,g=d.name?d.name:d);"object"==typeof k&&(k=null);"object"==typeof g&&(g=null);if(d&&d.groups){(d=G.sDa(d.groups,[]))||(d=[{id:[],name:[]}]);for(var q=0;q<
  d.length;q++)d[q].id.unshift(k),d[q].name.unshift(g);b=b.concat(d)}else b.push({id:[k],name:[g]})}return b}};G.cE=function(b){var n=b.Bf.Te("groupsNumLevels");if(null!=n)return n;for(var n=0,d=G.f$(b),k=0;k<d.length;k++){var g=d[k];g&&g.id&&(g=a.Y.isArray(g.id)?g.id.length:1,n=Math.max(n,g))}b.Bf.Pf("groupsNumLevels",n);return n};G.getValue=function(a,b,n,d){var k,g="number"==typeof d&&0<=d;if(!g&&(k=a.Bf.nI("value",b,n),void 0!==k))return k;d=g?G.vq(a,b,n,d):G.te(a,b,n);k=null;null!=d&&("object"!=
  typeof d?k=d:I.Rr(a)&&null!=d.close?k=d.close:null!=d.value?k=d.value:null!=d.y&&(k=d.y));k=k||(0===k?0:null);g||a.Bf.TI("value",b,n,k);return k};G.$B=function(a,b,n,d){if(!I.rC(a))return G.getValue(a,b,n);var g=d?"cumValueH":"cumValue",q=a.Vb.nI(g,b,n);if(void 0!==q)return q;for(var l=k.hh(a,b),r=G.Xo(a,b),m=G.getValue(a,b,n),c=G.jC(a,b),C="bar"==l?0>m:G.pua(a,b),q=0,B=b;0<=B;B--)if((d||k.Ku(a,B,n))&&l==k.hh(a,B)&&r==G.Xo(a,B)&&G.jC(a,B)==c){var e=G.getValue(a,B,n),t="bar"==l?0>e:G.pua(a,B);if(C&&
  t||!C&&!t){t=a.Vb.nI(g,B,n);if(void 0!==t){q=m+(t||0);break}q+=null==e||isNaN(e)?0:e}}a.Vb.TI(g,b,n,q);return q};G.Kr=function(a,b,n){n=G.te(a,b,n);return null==n?null:"candlestick"==k.hh(a,b)?null==n.low&&null!=n.close?null!=n.open?Math.min(n.close,n.open):n.close:n.low:null!=n.low&&null==n.close?n.low:null};G.Jr=function(a,b,n){n=G.te(a,b,n);return null==n?null:"candlestick"==k.hh(a,b)?null==n.high?null!=n.open?Math.max(n.close,n.open):n.close:n.high:null!=n.high&&null==n.close?n.high:null};G.wo=
  function(a,n,d){if(b.Tv(a))return d;n=G.te(a,n,d);if(null==n)return null;n=n.x;return null!=n?n:G.rba(a,d)};G.Z4=function(a,b){var n=G.te(a,b,0);return null==n||"object"!=typeof n?null:n.targetValue};G.k5=function(a,b,n,d){a=G.te(a,b,n);return null==a||"object"!=typeof a?d:null!=a.z?Math.max(0,a.z):d};G.PJa=function(a,b,n){return(a=G.te(a,b,n))?a.open<=a.close:!0};G.rd=function(a,b,n,d){return(d=G.vq(a,b,n,d))&&d.categories?d.categories:(n=G.te(a,b,n))&&n.categories||(n=G.xg(a,b))&&n.categories?n.categories:
  (a=G.Ch(a,b))?[a]:[]};G.j5=function(a,n){var d=b.oV(a,!0),k=b.Tv(a),g=G.lg(a),q=d.min,l=0;if(null!=q)if(k)l=Math.ceil(q);else for(var r=0;r<g;r++){var m=G.wo(a,n,r);if(m>=q){l=r;break}}d=d.max;q=g-1;if(null!=q)if(k)q=Math.floor(d);else for(r=g-1;r>=l;r--)if(m=G.wo(a,n,r),m<=d){q=r;break}return{min:l,max:q}};G.o4a=function(a){var n=b.oV(a,!0),d=b.lJa(a),n=(n.max-n.min)/(d.max-d.min);return isNaN(n)?1:n*G.lg(a)};G.GUa=function(b,n,d,k,g,q){b&&(d=a.Math.log10(d),g=a.Math.log10(g));n=d+(g-d)*(q-n)/(k-
  n);return b?Math.pow(10,n):n};G.D4=function(a,d,g){var q=d+(g?"MinMaxDO":"MinMax"),l=a.Vb.Te(q);if(l)return l;l=a.A()[d+"Axis"];if(null!=l.dataMax&&null!=l.dataMin&&g)return l={min:l.dataMin,max:l.dataMax},a.Vb.Pf(q,l),l;var r=b.jE(a);if(null!=l.max&&null!=l.min&&!g&&!r)return l={min:l.min,max:l.max},a.Vb.Pf(q,l),l;var m="z"!=d&&b.K5(a,d),c="y2"==d;c&&(d="y");for(var C="y"==d,l=!g&&C&&I.Fh(a),B="withoutRescale"==Q.tba(a)||"x"==d&&b.jE(a),e=-Infinity,t=Infinity,h=G.gh(a),u=0;u<h;u++){var f=G.xg(a,
  u),w=k.hh(a,u),w=C&&(k.nE(a,u)||"candlestick"==w||"boxPlot"==w);if(B||k.In(a,u)){var K=G.Xo(a,u);if(!C||c==K)if(f=f.items){var K=0,z=f.length-1;l&&(z=G.j5(a,u),K=z.min,z=z.max);for(var Z=K;Z<=z;Z++)if(B||k.Ku(a,u,Z)){var p=f[Z],A=null;C?w||(A=G.$B(a,u,Z,B)):"x"==d&&r&&!b.qC(a)?(A=G.rba(a,Z),null!=p&&(p.x=A)):null!=p&&(A=p[d]);if(!("z"==d&&0>=A)){if(!(w||null==A||"number"!=typeof A||m&&0>=A)){var S=0;I.nC(a)&&!g&&"z"!=d&&(S=ma.U1a(a,d,p.markerSize));e=Math.max(e,m?A*Math.pow(10,S):A+S);t=Math.min(t,
  m?A/Math.pow(10,S):A-S)}w&&(p=G.Jr(a,u,Z),S=G.Kr(a,u,Z),m&&(0>=p||0>=S)||(e=Math.max(e,p,S),t=Math.min(t,p,S)));if(l&&!w){var O=null,p=null;0<K&&Z==K?(O=Z-1,p=b.oV(a,!0).min):z<f.length-1&&Z==z&&(O=Z+1,p=b.oV(a,!0).max);if(null!=O)var S=G.wo(a,u,Z),H=G.wo(a,u,O),O=G.$B(a,u,O),A=G.GUa(m,S,A||0,H,O||0,p),e=Math.max(e,A),t=Math.min(t,A)}}}}}}g=null;"x"==d?g=n.hI(a,"x"):c?g=n.hI(a,"y2"):C&&(g=n.hI(a,"y"));if(null!=g)for(d=0;d<g.length;d++)if(c=g[d],r=c.items,C="withRescale"==Q.tba(a)&&"hidden"==c.visibility,
  !C)if(r&&!C)for(C=0,c=r.length-1,l&&(c=n.p4a(a,r),C=c.min,c=c.max);C<=c;C++)null!=r[C]&&(S=n.Kr(r[C]),p=n.Jr(r[C]),m=isNaN(r[C])?r[C].value:r[C],null!=S&&isFinite(S)&&(t=Math.min(t,S),e=Math.max(e,S)),null!=p&&isFinite(p)&&(t=Math.min(t,p),e=Math.max(e,p)),null!=m&&isFinite(m)&&(t=Math.min(t,m),e=Math.max(e,m)));else S=n.Kr(c),p=n.Jr(c),m=c.value,null!=S&&isFinite(S)&&(t=Math.min(t,S),e=Math.max(e,S)),null!=p&&isFinite(p)&&(t=Math.min(t,p),e=Math.max(e,p)),null!=m&&isFinite(m)&&(t=Math.min(t,m),e=
  Math.max(e,m));l={min:t,max:e};a.Vb.Pf(q,l);return l};G.Xo=function(a,b){if(!a.Bf.Te("hasY2Assignment"))return!1;var n=G.xg(a,b);return n&&"on"==n.assignedToY2&&I.$ta(a)?!0:!1};G.k4=function(b){var n=b.A().selection;n||(n=[]);b=b.YB();for(var d=0;d<n.length;d++){var k;"string"==typeof n[d]||a.Y.isArray(n[d])?(k=n[d],n[d]={id:k}):k=n[d].id;if(!(null==k||n[d].series&&n[d].group))for(var g=0;g<b.length;g++){var q=b[g];if(G.FI(k,q.PQ())){n[d].series=q.Ch();n[d].group=q.eh();break}}}return n};G.LHa=function(a){var b=
  [];if(a=a.Ue()){a=a.iC();for(var n=0;n<a.length;n++){var d=a[n];b.push({series:d.Ch(),group:d.eh(),id:d.getId()})}}return b};G.uJa=function(a){return(a=a.Bf.Te("hasVolume"))?a:!1};G.Xta=function(a,b,n,d){d=!isNaN(d)&&null!=d&&0<=d?G.Iba(a,b,n,d):G.PQ(a,b,n);b=G.Ch(a,b);n=G.eh(a,n);(a=a.A().selection)||(a=[]);for(var k=0;k<a.length;k++)if(G.FI(d,a[k])||G.FI(d,a[k].id)||null==a[k].id&&G.FI(b,a[k].series)&&G.FI(n,a[k].group))return!0;return!1};G.WU=function(a,b,n,d,k,g){var q;k=G.m2a(a,b,n,d,k,g);var l=
  a.A().dataLabel;l&&!g&&(q=G.zj(a,b,n,d),q.label=k,q=l(q),"number"==typeof q&&(b=V.gE(a,"label"),q=V.VD(a.a,b,q)));return q?q:k};G.m2a=function(a,b,n,d,k,g){if(g)n=G.$B(a,b,n);else{n=!isNaN(d)&&null!=d&&0<=d?G.vq(a,b,n,d):G.te(a,b,n);if(!n)return null;n=n.label;"low"==k?n=n instanceof Array?n[0]:n:"high"==k&&(n=n instanceof Array?n[1]:null)}if(null!=n){if("number"==typeof n){var q,l,r;if(b=G.Xo(a,b)&&a.Bg?a.Bg:a.Pd)r=b.Fn(),q=r.ks,l=r.js,r=r.jIa();b=V.gE(a,"label");return V.VD(a.a,b,n,q,l,r)}return n}return null};
  G.jC=function(a,b){var n=a.Vb.UQ("stackCategory",b);if("undefined"!=typeof n)return n;n=I.rC(a)?G.xg(a,b).stackCategory||null:G.Ch(a,b)||null;a.Vb.SI("stackCategory",b,n);return n};G.Uba=function(a,b,n){var d=[],g=[],q={},l={},r=a.Vb.nI("stackCategories",b,n);if(r)return r;for(var r=G.gh(a),m=0;m<r;m++)if(k.In(a,m)||n){if(b){var c=k.hh(a,m);if("candlestick"==c||"boxPlot"==c)c="bar";if(b!=c)continue}c=G.jC(a,m);G.Xo(a,m)?l[c]||(g.push(c),l[c]=!0):q[c]||(d.push(c),q[c]=!0)}r={y:d,y2:g};a.Vb.TI("stackCategories",
  b,n,r);return r};G.ura=function(a,b,n,d){for(var g=0,q=G.gh(a),l=0;l<q;l++){var r=k.hh(a,l);("bar"==r||"candlestick"==r||"boxPlot"==r)&&G.jC(a,l)==b&&k.In(a,l)&&(r=G.Xo(a,l),d&&r||!d&&!r)&&(g=Math.max(g,G.k5(a,l,n,1)))}return g};G.wra=function(b,n,d,g){var q=I.Tg(b),l=I.rC(b),r=a.m.ea(b.a),m=b.Kc,c=k.nE(b,n),C=k.uHa(b,d),B=G.wo(b,n,d),e=m.ih(B),t=G.Xo(b,n),h=t?b.Bg:b.Pd,m=h.wz(),u;if(c){var f=G.Kr(b,n,d);u=G.Jr(b,n,d);if(null==f||isNaN(f)||null==u||isNaN(u))return null;B=h.nm(f);u=h.nm(u)}else{u=
  G.getValue(b,n,d);f=G.$B(b,n,d);if(null==u||isNaN(u))return null;B=h.nm(f);u=l?h.nm(f-u):m}if(B==u&&null==h.jj(f))return null;h=G.jC(b,n);n=k.fba(b,n,d);d=l?k.yra(b,h,d,t):n;"pixel"==k.xra(b)&&a.m.Jl()&&(l=n/(1-k.vra(b)),1<n&&2>l-n&&(n--,d=n));C=C[t?"y2":"y"][h]+.5*(d-n);q=r&&!q?e-C-n:e+C;r=q+n;b=N.FK(b,new a.P((q+r)/2,c?(B+u)/2:B),g);return{Hy:q,ds:r,q0a:m,yGa:u,LLa:B,UGa:b,s0a:n}};G.mIa=function(b,n,d,g,q){var l=b.Kc,r=G.Xo(b,n)?b.Bg:b.Pd,m=I.bg(b),c=k.nE(b,n),C=!isNaN(g)&&null!=g&&0<=g,B=G.wo(b,
  n,d);g=C?G.getValue(b,n,d,g):G.$B(b,n,d);if(I.nC(b)){if(m&&g<r.Fn().Ye)return null;n=m?l.jj(B):l.ih(B);d=r.ih(g)}else c?(m=r.jj(G.Kr(b,n,d)),r=r.jj(G.Jr(b,n,d)),n=l.jj(G.wo(b,n,d)),d=(m+r)/2):(n=l.jj(B),d=r.jj(g));return null==n||null==d?null:N.FK(b,new a.P(n,d),q)};G.O3a=function(b,n,d){var k=b.Kc,g=b.Pd,q=G.wo(b,n,d);b=G.getValue(b,n,d);k=k.jj(q);g=g.jj(b);return null==k||null==g?null:new a.P(k,g)};G.pua=function(a,b){if(!a.Bf.Te("hasNegativeValues"))return!1;var n=a.Bf.UQ("isSeriesNegative",b);
  if(null!=n)return n;for(var d=G.lg(a),n=!0,k=0;k<d;k++)if(0<G.getValue(a,b,k)){n=!1;break}a.Bf.SI("isSeriesNegative",b,n);return n};G.zj=function(b,n,d,g){var q=G.xg(b,n),l=G.te(b,n,d),r=G.vq(b,n,d,g),m=b.faa,c=I.Qr(b)&&(null==n||0>n),C=b.A(),B;c?(g=a.I.Ja(a.I.gw,"LABEL_OTHER",null),B={id:g,series:g,value:ia.Gsa(b),color:C.styleDefaults.otherColor}):r?(B=m.series[n].items[d],B={id:G.Iba(b,n,d,g),data:[B,B.items[g]],value:G.getValue(b,n,d,g),y:G.getValue(b,n,d,g),color:k.cR(b,n,d,g)}):l?B={id:G.PQ(b,
  n,d),data:m.series[n].items[d],value:G.getValue(b,n,d),targetValue:G.Z4(b,n),x:G.wo(b,n,d),y:G.getValue(b,n,d),z:G.k5(b,n,d),low:G.Kr(b,n,d),high:G.Jr(b,n,d),open:l.open,close:l.close,volume:l.volume,color:k.Zb(b,n,d)}:q&&(B={id:G.Ch(b,n),color:k.Zb(b,n)});if(B){B.component=C._widgetConstructor;if(c||r||l)B.group=G.eh(b,d),B.groupData=G.UHa(b)[d];!c&&(r||l||q)&&(B.series=G.Ch(b,n),B.seriesData=m.series[n]);I.Qr(b)&&b.Xp&&(B.totalValue=b.Xp.mV())}return B||{}};G.UHa=function(a){var b=a.Bf.Te("groupsDataArray");
  b||(b=G.tDa(a.faa.groups),a.Bf.Pf("groupsDataArray",b));return b};G.tDa=function(a){if(!a)return[];for(var b=[],n=0;n<a.length;n++){var d=a[n];if(d.groups){for(var k=G.tDa(d.groups),g=0;g<k.length;g++)k[g].unshift(d);b=b.concat(k)}else b.push([d])}return b};G.FUa=function(a){if(!a.Bf.Te("outermostBar")){for(var b={},n=G.gh(a),d=a.Bf.Te("hasNegativeValues"),n=n-1;0<=n;n--)if(k.In(a,n)&&"bar"==k.hh(a,n)){var g=G.jC(a,n)||"",q=G.Xo(a,n),g=g+q;b[g]?b[g].push(n):b[g]=[n]}var g=G.lg(a),l;for(l in b)for(var q=
  b[l],r=0;r<g;r++)for(var m=!1,c=!1,C=0;C<q.length&&!(!d&&m||m&&c);C++)if(n=q[C],k.Ku(a,n,r)){var B=G.getValue(a,n,r);!m&&0<=B?(m=!0,a.Bf.TI("outermostBar",n,r,!0)):!c&&0>B&&(c=!0,a.Bf.TI("outermostBar",n,r,!0))}}};G.kua=function(a,b,n){G.FUa(a);return a.Bf.nI("outermostBar",b,n)||!1};G.G5=function(a,b,n){return(a=G.te(a,b,n))&&a._filtered?!0:!1};G.L2a=function(a){if(!a.Vb.Te("dataFiltered"))return[];var b=a.Vb.Te("filteredChartObjPeers");if(!b){for(var b=[],n=0;n<G.gh(a);n++)for(var d=0;d<G.lg(a);d++)if(G.G5(a,
  n,d)){var g;g="bar"==k.hh(a,n)?G.wra(a,n,d).UGa:G.mIa(a,n,d);b.push(new J(a,[],n,d,null,g))}a.Vb.Pf("filteredChartObjPeers",b)}return b};var Q={};a.f.v(Q,a.f);Q.tba=function(a){return a.A().hideAndShowBehavior};Q.gsa=function(a){return a.A().hoverBehavior};Q.F8a=function(b,d,g){var q=n.F3a(b,d);null!=q&&(q.visibility=g);var q=k.WK(b),l=a.Y.$b(q,d);"hidden"==g&&0>l?q.push(d):"visible"==g&&0<=l&&q.splice(l,1);if((b=b.A())&&b.legend&&b.legend.sections)for(q=0;q<b.legend.sections.length;q++)if((l=b.legend.sections[q])&&
  l.items)for(var r=0;r<l.items.length;r++)l.items[r].id==d&&(l.items[r].categoryVisibility=g)};Q.sL=function(a){return I.tca(a)?"off"!=a.A().zoomAndScroll:!1};Q.uL=function(a){if(!I.tca(a))return!1;a=a.A().zoomAndScroll;return"live"==a||"delayed"==a};Q.bca=function(a){return I.sm(a)?a.A().zoomDirection:"auto"};Q.eua=function(a){if(!I.tca(a))return!1;a=a.A().zoomAndScroll;return"live"==a||"liveScrollOnly"==a};Q.a5a=function(a){if(!I.tca(a))return!1;a=a.A().zoomAndScroll;return"delayed"==a||"delayedScrollOnly"==
  a};Q.qKa=function(a,b){for(var n=[],d=0;d<b.length;d++){var k=b[d];k.Ch()==ia.TX?(k=ia.Fsa(a),n=n.concat(k)):n.push(k)}return n};Q.e0a=function(a){null!=a.x&&--a.x;null!=a.b&&(a.b+=2);null!=a.y&&--a.y;null!=a.i&&(a.i+=2)};Q.T1a=function(a,b){for(var n=a.YB().concat(G.L2a(a)),d=[],k=0;k<n.length;k++){var g=n[k],q=g.Bka;if(q){var q=a.Az().tm(q),l=null==b.y||q.y>=b.y&&q.y<=b.y+b.i;(null==b.x||q.x>=b.x&&q.x<=b.x+b.b)&&l&&d.push(g)}}return d};Q.sHa=function(b,n,d){var k=b.Az(),g=k.pf(new a.P(n.x,n.y)),
  k=k.pf(new a.P(n.x+n.b,n.y+n.i));null==n.x&&(g.x=null,k.x=null);null==n.y&&(g.y=null,k.y=null);n=Q.QBa(b,g.x,k.x,g.y,k.y);var g={},k={},q={},l={};b.Kc&&(g=Q.qla(b.Kc,n.Ru,n.Qu,d),l=Q.tra(b.Kc,g.min,g.max));b.Pd&&(k=Q.qla(b.Pd,n.Uu,n.Tu,d));b.Bg&&(q=Q.qla(b.Bg,n.Uu,n.Tu,d));return{Ru:g.min,Qu:g.max,lJ:g.lJ,Uu:k.min,Tu:k.max,KLa:q.min,JLa:q.max,jJ:l.jJ,fI:l.fI}};Q.qla=function(a,b,n,d){if(null==b||null==n)return{min:null,max:null};b=a.nV(b);n=a.nV(n);return d?(d=a.Fn().hV(),n-b<d&&(b=(n+b)/2,n=b+d/
  2,b-=d/2),Q.oEa(a,b,n)):Q.aba(a,b,n)};Q.tHa=function(a,b,n,d,k){b=Q.QBa(a,b,n,d,k);n=Q.bca(a);d={};k={};var g={},q={};a.Kc&&"y"!=n&&(d=Q.rla(a.Kc,b.Ru,b.Qu),q=Q.tra(a.Kc,d.min,d.max));a.Pd&&"x"!=n&&(k=Q.rla(a.Pd,b.Uu,b.Tu));a.Bg&&(g=Q.rla(a.Bg,b.Uu,b.Tu));return{Ru:d.min,Qu:d.max,lJ:d.lJ,Uu:k.min,Tu:k.max,KLa:g.min,JLa:g.max,jJ:q.jJ,fI:q.fI}};Q.rla=function(a,b,n){var d=a.dV(),k=a.cV();if(n==b&&a.H5())return Q.aba(a,d,k);var g=a.nV(b)-a.nV(0),q=a.nV(n)-a.nV(0),l=1,r=k+q-(d+g),m=a.Fn().hV();b!=n&&
  r<m&&(l=(k-d-m)/(g-q));return Q.oEa(a,d+g*l,k+q*l)};Q.QBa=function(b,n,d,k,g){var q={},l=a.m.ea(b.a);I.Tg(b)?(q.Ru=k,q.Qu=g,q.Uu=l?d:n,q.Tu=l?n:d):(q.Ru=l?d:n,q.Qu=l?n:d,q.Uu=g,q.Tu=k);return q};Q.oEa=function(a,b,n){var d=a.Aba(),k=a.zba();n-b>=k-d?(b=d,n=k):b<d?(n+=d-b,b=d):n>k&&(b-=n-k,n=k);return Q.aba(a,b,n)};Q.aba=function(a,b,n){var d={min:a.vy(b),max:a.vy(n)};if(a.I5()){var k=a.cV();1E-4>Math.abs(b-a.dV())&&1E-4>Math.abs(n-k)&&(d.lJ=!0)}return d};Q.tra=function(a,b,n){return a.I5()&&null!=
  b&&null!=n&&(b=Math.ceil(b),n=Math.floor(n),n>=b)?(b=a.Fn().eh(b),a=a.Fn().eh(n),{jJ:b,fI:a}):{jJ:null,fI:null}};Q.iS=function(a,b){var n=a.Ue();if(n)if(b&&0!=b.length){for(var d={},k=0;k<b.length;k++)null!=b[k].id?d[b[k].id]=!0:null!=b[k].series&&null!=b[k].group&&(d[G.Qaa(b[k].series,b[k].group)]=!0);for(var k=a.YB(),g=[],q=0;q<k.length;q++){var l=k[q];l.gb()&&(d[l.PQ()]||d[G.Qaa(l.Ch(),l.eh())])&&g.push(l.getId())}n.Vr(g,k)}else n.QD()};Q.YHa=function(a){var b=[];if(I.Qr(a))for(var n=a.Xp.Li,d=
  0;d<n.length;d++)k.In(a,n[d].wg())&&b.push(n[d]);else for(a=a.YB(),d=0;d<a.length;d++)a[d].II()&&b.push(a[d]);return b};Q.OJa=function(a,b){var n=G.xg(a,b),n=null!=n?n.drilling:"inherit";if("on"==n)return!0;if("off"==n)return!1;n=a.A().drilling;return"on"==n||"seriesOnly"==n};Q.mca=function(a,b,n,d){(d=G.vq(a,b,n,d))||(d=G.te(a,b,n));b=null!=d?d.drilling:"inherit";if("on"==b)return!0;if("off"==b)return!1;b=a.A().drilling;return"on"==b};Q.pGa=function(a,b){var n=G.wg(a,b.series),d=G.Zj(a,b.group),
  k=G.eR(a,n,d,b.id);if(n=G.zj(a,n,d,k))b.data=n.data,b.seriesData=n.seriesData,n.groupData?b.groupData=n.groupData:null!=d&&(b.groupData=G.UHa(a)[d])};Q.NJa=function(a){a=a.A();return 0<Object.keys(a.dnd?a.dnd.drag.items:{}).length};Q.p5a=function(a){a=a.A();return 0<Object.keys(a.dnd?a.dnd.drop.plotArea:{}).length};Q.sqa=function(b,n,d,k){var g=Q.NJa(b);if(Q.p5a(b)||g)background=new a.Rect(b.a,0,0,k?d.b:d.i,k?d.i:d.b),background.Yb(),n.B(background),b.Vb.Pf("plotAreaBackground",background),g&&background.sc("oj-draggable")};
  var n={};a.f.v(n,a.f);n.Pba=function(a){var b=n.hI(a,"x"),d=n.hI(a,"y");a=n.hI(a,"y2");return b.concat(d,a)};n.hI=function(a,b){var n=a.A();return n&&n[b+"Axis"]&&n[b+"Axis"].referenceObjects?n[b+"Axis"].referenceObjects:[]};n.Hc=function(a){return"area"==a.type?"area":"line"};n.aE=function(a){return"front"==a.location?"front":"back"};n.Zb=function(a){return a.color?a.color:"#333333"};n.bV=function(a){return a.lineWidth?a.lineWidth:1};n.Fu=function(a){return a.lineType?a.lineType:"straight"};n.LJa=
  function(b,d){var g=k.WK(b);if(0<g.length){var q=n.Nsa(d);if(q&&a.Y.Zs(g,q))return!1}return"hidden"!=d.visibility};n.getId=function(a){return null!=a.id?a.id:a.text};n.Nsa=function(a){return a.categories?a.categories:[n.getId(a)]};n.F3a=function(a,b){for(var d=n.Pba(a),k=0;k<d.length;k++)if(n.getId(d[k])==b)return d[k]};n.Kr=function(a){return null==a?null:a.low};n.Jr=function(a){return null==a?null:a.high};n.wo=function(a,n,d){return b.Tv(a)?d:n[d]&&null!=n[d].x?n[d].x:G.rba(a,d)};n.p4a=function(a,
  d){var k=b.oV(a,!0),g=b.Tv(a),q=k.min,l=0;if(null!=q)if(g)l=Math.ceil(q);else for(var r=0;r<d.length;r++){var m=n.wo(a,d,r);if(m>=q){l=r;break}}k=k.max;q=d.length-1;if(null!=q)if(g)q=Math.floor(k);else for(r=d.length-1;r>=l;r--)if(m=G.wo(a,d,r),m<=k){q=r;break}return{min:l,max:q}};var q={};a.f.v(q,a.f);q.vHa=function(a,b,n,d){var g=k.Zb(a,b,n);b=k.wq(a,b,n);return q.Msa(a,g,b,d)};q.Msa=function(b,n,d,g){var l=k.vI(b);return d?new a.lb(d,n):"gradient"==l&&3<g?(d=I.Tg(b)?270:0,q.$pa(b)?(b=[a.D.cl(n,
  0,-.09,.04),a.D.cl(n,0,-.04,-.05)],n=[0,1]):(b=[a.D.El(n,.15),a.D.El(n,.45),a.D.El(n,.25),n,a.D.El(n,.15),a.D.qm(n,.1)],n=[0,.15,.3,.65,.85,1]),new a.hd(d,b,null,n)):new a.oc(n)};q.D1a=function(b,n){var d="lineWithArea"==k.hh(b,n),g;(g=G.xg(b,n))&&g.areaColor?g=g.areaColor:(g=k.Zb(b,n),d&&(g=a.D.qa(g,.2)));var l=k.wq(b,n),r=k.vI(b);return l?new a.lb(l,g):"gradient"==r?(l=I.Tg(b)?180:270,d?(d=a.D.Jb(g),d=[a.D.qa(g,Math.min(d+.2,1)),a.D.qa(g,Math.max(d-.15,0))],g=[0,1]):q.$pa(b)?(d=[a.D.cl(g,0,-.09,
  .04),a.D.cl(g,0,-.04,-.05)],g=[0,1]):(d=I.tL(b)?[a.D.qm(g,.5),g,a.D.El(g,.5)]:[a.D.El(g,.5),g,a.D.qm(g,.3)],g=[0,.5,1]),new a.hd(l,d,null,g)):new a.oc(g)};q.lIa=function(b,n,d,g){var l=k.cR(b,n,d,g),r=k.wq(b,n,d,g);if(r)return new a.lb(r,l);if(I.nC(b)&&"gradient"==k.vI(b)){if(q.$pa(b))return b=[a.D.cl(l,0,-.09,.04),a.D.cl(l,0,-.04,-.05)],new a.hd(270,b,null,[0,1]);if("human"==k.bE(b,n,d,g))return b=[a.D.El(l,.2),a.D.El(l,.1),l,a.D.qm(l,.2)],new a.hd(315,b,null,[0,.3,.7,1]);b=[a.D.El(l,.15),l,a.D.qm(l,
  .1),a.D.qm(l,.2)];return new a.sh(b,null,[0,.5,.75,1])}return new a.oc(l)};q.asa=function(b,n,d,g,q){n=k.wq(b,n,0);var l=k.vI(b);if(n&&!q){g=new a.lb(n,d);if("vertical"==b.A().orientation||I.Hz(b))a.m.ea(b.a)?g.Xa(new a.Da(0,-1,1,0)):g.Xa(new a.Da(0,1,-1,0));return g}return"gradient"==l?(q=I.Hz(b)?180:90,"on"==b.A().styleDefaults.threeDEffect?(b=[a.D.cl(d,0,0,-.1),a.D.cl(d,0,0,.12),d],d=[0,.65,1]):(b=[a.D.cl(d,0,-.09,.04),a.D.cl(d,0,-.04,-.05)],d=[0,1]),new a.hd(q,b,null,d,[g.x,g.y,g.b,g.i])):new a.oc(d)};
  q.$pa=function(a){return!P.Jz(a)};var k={};a.f.v(k,a.f);k.EAa=["bar","line","area"];k.hh=function(a,b){var n=a.Bf.UQ("seriesType",b);if(n)return n;if(!I.Fh(a))return a.Bf.SI("seriesType",b,"auto"),"auto";n=(n=G.xg(a,b))?n.type:null;I.Rr(a)||"candlestick"!=n||(n="auto");n&&"auto"!=n||(I.Uta(a)?n="bar":I.GJa(a)?n="line":I.F5(a)?n="area":I.k5a(a)?n="lineWithArea":I.Rr(a)?n="candlestick":I.ica(a)?n="boxPlot":I.$4a(a)&&(n=G.Tba(a,b)%k.EAa.length,n=k.EAa[n]));a.Bf.SI("seriesType",b,n);return n};k.nE=function(a,
  b){var n=a.Bf;if(!n.Te("hasLowHighSeries"))return!1;n=n.UQ("isRange",b);if(null!=n)return n;var n=!1,d=k.hh(a,b);if("bar"==d||"area"==d)for(d=0;d<G.lg(a);d++)if(null!=G.Kr(a,b,d)||null!=G.Jr(a,b,d)){n=!0;break}a.Bf.SI("isRange",b,n);return n};k.vI=function(a){return a.A().styleDefaults.seriesEffect};k.Zb=function(a,b,n){var d=G.te(a,b,n);if(d&&d.color||(d=G.xg(a,b))&&d.color)return d.color;if("candlestick"==k.hh(a,b))return k.dJa(a,b,n);n=a.A().styleDefaults.colors;a=G.Tba(a,b)%n.length;return n[a]};
  k.dJa=function(a,b,n){var d=a.A();return G.PJa(a,b,n)?d.styleDefaults.stockRisingColor:d.styleDefaults.stockFallingColor};k.d4a=function(a,b){var n=G.te(a,0,b);if(n&&n.color)return n.color;n=a.A();return n.styleDefaults.stockVolumeColor?n.styleDefaults.stockVolumeColor:k.dJa(a,0,b)};k.kta=function(a){var b=a.A().splitterPosition;return null!=b?b:I.Rr(a)?.8:.5};k.wq=function(b,n,d,g){if((g=G.vq(b,n,d,g))&&g.pattern&&"auto"!=g.pattern||(g=G.te(b,n,d))&&g.pattern&&"auto"!=g.pattern)return g.pattern;
  g=k.hh(b,n);if(("line"==g||"area"==g)&&null!=d)return null;if((g=G.xg(b,n))&&g.pattern&&"auto"!=g.pattern)return g.pattern;if("pattern"==k.vI(b)){if(I.Rr&&"candlestick"==k.hh(b,n))return n=G.PJa(b,n,d),b=a.m.ea(b.a),n?b?"smallDiagonalLeft":"smallDiagonalRight":b?"smallDiagonalRight":"smallDiagonalLeft";d=b.A().styleDefaults.patterns;b=G.Tba(b,n)%d.length;return d[b]}return null};k.A4=function(b,n,d,g){return(g=k.po(b,n,d,g))?g:0<k.WD(b)&&"lineWithArea"!=k.hh(b,n)?k.MK(b,!0):I.nC(b)&&!P.Jz(b)&&"gradient"!=
  k.vI(b)&&(b=k.cR(b,n,d))?a.D.cl(b,0,.15,-.25):null};k.po=function(a,b,n,d){if((d=G.vq(a,b,n,d))&&d.borderColor)return d.borderColor;if((n=G.te(a,b,n))&&n.borderColor)return n.borderColor;if((b=G.xg(a,b))&&b.borderColor)return b.borderColor;a=a.A().styleDefaults;return"auto"!=a.borderColor?a.borderColor:null};k.Qh=function(a,b,n,d){if((d=G.vq(a,b,n,d))&&null!=d.borderWidth)return d.borderWidth;if((n=G.te(a,b,n))&&null!=n.borderWidth)return n.borderWidth;if((b=G.xg(a,b))&&null!=b.borderWidth)return b.borderWidth;
  b=a.A().styleDefaults;return"auto"!=b.borderWidth?b.borderWidth:I.sm(a)||I.uV(a)?1.25:1};k.cR=function(a,b,n,d){return k.vV(a,b,n,d)?(d=G.vq(a,b,n,d))&&d.color||(d=G.te(a,b,n))&&d.color?d.color:(d=G.xg(a,b))&&d.markerColor?d.markerColor:(d=a.A().styleDefaults.markerColor)?d:k.Zb(a,b,n):k.Zb(a,b,n)};k.bE=function(a,b,n,d){var g=a.A(),q=g.styleDefaults.markerShape,l=G.xg(a,b);l&&l.markerShape&&(q=l.markerShape);(l=G.te(a,b,n))&&l.markerShape&&(q=l.markerShape);(n=G.vq(a,b,n,d))&&n.markerShape&&(q=n.markerShape);
  "auto"==q&&(I.nC(a)||"boxPlot"==k.hh(a,b)||k.nE(a,b)?q="circle":(a=G.Tba(a,b),g=g.styleDefaults.shapes,q=g[a%g.length]));return q};k.xsa=function(a,b,n,d){b=(d=G.vq(a,b,n,d))&&null!=d.markerSize?Number(d.markerSize):(n=G.te(a,b,n))&&null!=n.markerSize?Number(n.markerSize):(b=G.xg(a,b))&&null!=b.markerSize?Number(b.markerSize):Number(a.A().styleDefaults.markerSize);I.at(a)&&(b=Math.ceil(.6*b));return b};k.vV=function(a,b,n,d){n=(d=G.vq(a,b,n,d))&&null!=d.markerDisplayed?d.markerDisplayed:(n=G.te(a,
  b,n))&&null!=n.markerDisplayed?n.markerDisplayed:(n=G.xg(a,b))&&null!=n.markerDisplayed?n.markerDisplayed:a.A().styleDefaults.markerDisplayed;return"on"==n?!0:"off"==n?!1:I.sm(a)||"boxPlot"==k.hh(a,b)||"none"==k.Fu(a,b)};k.j4=function(a,b,n,d,k){if((d=G.vq(a,b,n,d))&&d[k])return d[k];if((n=G.te(a,b,n))&&n[k])return n[k];if((a=G.xg(a,b))&&a[k])return a[k]};k.bV=function(a,b){var n=G.xg(a,b),d=a.A(),n=n&&n.lineWidth?n.lineWidth:d.styleDefaults.lineWidth?d.styleDefaults.lineWidth:"lineWithArea"==k.hh(a,
  b)?2:3;I.at(a)&&(n=Math.ceil(.6*n));return n};k.eIa=function(a,b){var n=G.xg(a,b);return n&&n.lineStyle?n.lineStyle:a.A().styleDefaults.lineStyle};k.Fu=function(a,b){var n;n=(n=G.xg(a,b))&&n.lineType?n.lineType:a.A().styleDefaults.lineType;"auto"==n&&(n=I.sm(a)?"none":"straight");if(I.bg(a)||I.sm(a))"centeredSegmented"==n&&(n="segmented"),"centeredStepped"==n&&(n="stepped");return n};k.xra=function(a){return a.A().__sparkBarSpacing};k.vra=function(a){var b=a.Vb.Te("barGapRatio");if(b)return b;b=a.A().styleDefaults.barGapRatio;
  "string"==typeof b&&"%"==b.slice(-1)&&(b=Number(b.slice(0,-1))/100);if(null!=b&&!isNaN(b))return b;var n=G.Uba(a,"bar"),b=n.y.length,n=n.y2.length,b=I.MR(a)?Math.max(b,n):b+n,b=I.bg(a)?1==b?0:.25:1==b?.37+.26/G.o4a(a):.25;a.Vb.Pf("barGapRatio",b);return b};k.oIa=function(a){var b=a.A().styleDefaults.maxBarWidth;return null==b||I.bg(a)?Infinity:b};k.fba=function(a,b,n){a.Bf.Te("hasConstantZValue")&&(n=b=0);var d=a.Vb.nI("barWidth",b,n);if(null!=d)return d;d=G.k5(a,b,n,1)/a.A()._averageGroupZ;d=Math.min(d*
  k.bC(a),k.oIa(a));a.Vb.TI("barWidth",b,n,d);return d};k.yra=function(a,b,n,d){a.Bf.Te("hasConstantZValue")&&(n=0);var g=d?"y2BarStackWidth":"yBarStackWidth",q=a.Vb.nI(g,b,n);if(null!=q)return q;d=G.ura(a,b,n,d)/a.A()._averageGroupZ;q=Math.min(d*k.bC(a),k.oIa(a));a.Vb.TI(g,b,n,q);return q};k.uHa=function(a,n){a.Bf.Te("hasConstantZValue")&&(n=0);var d=a.Vb.UQ("barCategoryOffsetMap",n);if(d)return d;var d=I.rC(a),g=G.Uba(a,"bar"),q=b.qC(a),l=I.MR(a),r={},m={},c=0,C=0,B,e;if(d){for(e=0;e<g.y.length;e++)B=
  k.yra(a,g.y[e],n,!1),q?r[g.y[e]]=-.5*B:(r[g.y[e]]=c,c+=B);l||(C=c);for(e=0;e<g.y2.length;e++)B=k.yra(a,g.y2[e],n,!0),q?m[g.y2[e]]=-.5*B:(m[g.y2[e]]=C,C+=B);l||(c=C)}else for(g=G.gh(a),e=0;e<g;e++)if(B=k.hh(a,e),("bar"==B||"candlestick"==B||"boxPlot"==B)&&k.In(a,e)){var t=G.Xo(a,e),h=G.jC(a,e);B=k.fba(a,e,n);t?q?m[h]=-.5*B:(m[h]=C,C+=B):q?r[h]=-.5*B:(r[h]=c,c+=B)}for(h in r)r[h]-=l||d?c/2:(c+C)/2;for(h in m)m[h]-=l||d?C/2:(c+C)/2-c;d={y:r,y2:m};a.Vb.SI("barCategoryOffsetMap",n,d);return d};k.WD=function(a){var b=
  a.Bf.Te("dataItemGaps");if(null!=b)return b;var n=a.A();I.Vv(a)&&"on"==n.styleDefaults.funnelSliceGaps?b=1:null!=n.styleDefaults.sliceGaps?b=n.styleDefaults.sliceGaps:(b=n.styleDefaults.dataItemGaps,"auto"==b&&(b="on"==n.styleDefaults.threeDEffect?"0%":"50%"),n=b&&b.indexOf?b.indexOf("%"):-1,0<=n?(b=b.substring(0,n),b/=100):b=0);a.Bf.Pf("dataItemGaps",b);return b};k.gb=function(a,b,n){var d=G.xg(a,b);return d&&"off"==d._selectable?!1:a.Qk()&&null!=b&&0<=b&&null!=n&&0<=n};k.In=function(b,n){var d=
  k.WK(b);return 0<d.length&&a.Y.Zs(d,G.rd(b,n))?!1:!0};k.Ku=function(b,n,d,g){var q,l=!isNaN(g)&&null!=g&&0<=g;if(!l&&(q=b.Bf.nI("isDataItemRendered",n,d),void 0!==q))return q;q=!0;if(k.In(b,n)){var r=k.WK(b);if(0<r.length){if(I.Qr(b)||I.Vv(b)||I.Hz(b))d=0;a.Y.Zs(r,G.rd(b,n,d))&&(q=!1);a.Y.Zs(r,G.rd(b,n,d,g))&&(q=!1)}}else q=!1;l||b.Bf.TI("isDataItemRendered",n,d,q);return q};k.M3=function(a){return a.A().animationOnDisplay};k.MQ=function(a){return a.A().animationOnDataChange};k.Kb=function(b){return a.$a.Aq(b.A().styleDefaults.animationDuration)/
  1E3};k.qra=function(a){return a.A().styleDefaults.animationIndicators};k.B1a=function(a){return a.A().styleDefaults.animationUpColor};k.A1a=function(a){return a.A().styleDefaults.animationDownColor};k.WK=function(a){a=a.A();a.hiddenCategories||(a.hiddenCategories=[]);return a.hiddenCategories};k.$U=function(a){a=a.A();a.highlightedCategories||(a.highlightedCategories=[]);return a.highlightedCategories};k.hL=function(a){return a.A().styleDefaults.selectedInnerColor};k.dE=function(a){return a.A().styleDefaults.selectedOuterColor};
  k.u5a=function(a){a=a.A().styleDefaults.selectionEffect;return"highlight"==a||"highlightAndExplode"==a};k.t5a=function(a){a=a.A().styleDefaults.selectionEffect;return"explode"==a||"highlightAndExplode"==a};k.l2a=function(b,n,d,g,q,l,r){var m=[],c;!q||"bar"!=k.hh(b,n)&&!I.nC(b)||"center"!=l&&"inBottom"!=l&&"inTop"!=l&&"inRight"!=l&&"inLeft"!=l?m.push(new a.j("color: #333333;")):(c=null!=k.wq(b,n,d,g)?"#000000":a.D.Ok(q),m.push(new a.j("color: "+c+";")));m.push(k.$$(b.A().styleDefaults.dataLabelStyle,
  r));(q=G.te(b,n,d))&&m.push(new a.j(k.$$(q.labelStyle,r)));(b=G.vq(b,n,d,g))&&m.push(new a.j(k.$$(b.labelStyle,r)));c&&a.m.GI()&&m.push(new a.j("color: "+c+";"));return a.j.Lz(m)};k.Tra=function(b,n,d,g,q,l){var r=G.vq(b,n,d,g),m=G.te(b,n,d);if(l)r="outsideBarEdge";else if((r=r&&r.labelPosition?r.labelPosition:m.labelPosition)||(r=b.A().styleDefaults.dataLabelPosition),r=k.$$(r,q),"none"==r)return"none";var c=a.m.ea(b.a),C=I.Tg(b),B=I.bg(b);if(I.Vv(b)||I.Hz(b))return"center";if("bar"==k.hh(b,n)){if("center"==
  r||B)return"center";B=I.rC(b);if("insideBarEdge"!=r){if(B&&!l)return"center";"outsideBarEdge"!=r&&(r="insideBarEdge")}"insideBarEdge"!=r||B||(l=b.A().styleDefaults.dataLabelStyle,C?(B=G.WU(b,n,d,g,q),l=a.ga.zq(b.a,B,l)):l=a.ga.yq(b.a,l),B=G.wra(b,n,d),(B?Math.abs(B.yGa-B.LLa):0)<=l&&(r="outsideBarEdge"));b="low"==q?m.low<=m.high:"high"==q?m.high<m.low:0>G.getValue(b,n,d,g);return"outsideBarEdge"==r?C?!b&&!c||b&&c?"right":"left":b?"bottom":"top":C?!b&&!c||b&&c?"inRight":"inLeft":b?"inBottom":"inTop"}if("center"==
  r)return"center";if("belowMarker"==r)return"bottom";if("aboveMarker"==r)return"top";if("afterMarker"!=r&&"beforeMarker"!=r){if(I.nC(b))return"center";if("low"!=q||B)if("high"!=q||B)r="afterMarker";else if(C)r="afterMarker";else return"top";else if(C)r="beforeMarker";else return"bottom"}return!c&&"afterMarker"==r||c&&"beforeMarker"==r?"right":"left"};k.$$=function(a,b){return a instanceof Array?"high"==b?a[1]:a[0]:a};k.n5a=function(a){var b=a.A();return I.o5a(a)&&"off"!=b.overview.rendered};k.M4=function(a){var n=
  a.A().overview.height;null==n&&(n=b.jE(a)?.25:.2);return k.Xs(n,a.getHeight())};k.Xs=function(a,b){if("string"==typeof a){if("%"==a.slice(-1))return b*Number(a.slice(0,-1))/100;if("px"==a.slice(-2))return Number(a.slice(0,-2));a=Number(a)}return"number"==typeof a?1>=a?b*a:a:0};k.MK=function(a,b){var n=a.A();return n.plotArea.backgroundColor?n.plotArea.backgroundColor:b?"#FFFFFF":null};k.VHa=function(b){var n=b.A().styleDefaults.hoverBehaviorDelay;return n?(n=a.$a.Aq(n),I.sm(b)||I.GJa(b)?.75*n:1.25*
  n):0};k.U5=function(a){return I.sm(a)||I.ica(a)};k.bC=function(a){var b=a.Vb.Te("groupWidth");null==b&&(b=a.Kc.Fn().bC(),a.Vb.Pf("groupWidth",b));return b};k.qua=function(a){var b=a.A();return I.rC(a)&&"on"==b.stackLabel?!0:!1};k.kKa=function(a){return I.uV(a)};k.Ir=function(a,b,n){return(n=G.te(a,b,n))&&(n.className||n.svgClassName)?n.className||n.svgClassName:(a=G.xg(a,b))&&(a.className||a.svgClassName)?a.className||a.svgClassName:null};k.pHa=function(a,b){var n=G.xg(a,b);return n&&(n.areaClassName||
  n.areaSvgClassName)?n.areaClassName||n.areaSvgClassName:n&&(n.className||n.svgClassName)?n.className||n.svgClassName:null};k.kIa=function(a,b,n,d){return(d=G.vq(a,b,n,d))&&(d.className||d.svgClassName)?d.className||d.svgClassName:(n=G.te(a,b,n))&&(n.className||n.svgClassName)?n.className||n.svgClassName:(b=G.xg(a,b))&&(b.markerClassName||b.markerSvgClassName)?b.markerClassName||b.markerSvgClassName:I.sm(a)&&b&&(b.className||b.svgClassName)?b.className||b.svgClassName:null};k.N=function(a,b,n){return(n=
  G.te(a,b,n))&&(n.style||n.svgStyle)?n.style||n.svgStyle:(a=G.xg(a,b))&&(a.style||a.svgStyle)?a.style||a.svgStyle:null};k.rHa=function(a,b){var n=G.xg(a,b);return n&&(n.areaStyle||n.areaSvgStyle)?n.areaStyle||n.areaSvgStyle:n&&(n.style||n.svgStyle)?n.style||n.svgStyle:null};k.nIa=function(a,b,n,d){return(d=G.vq(a,b,n,d))&&(d.style||d.svgStyle)?d.style||d.svgStyle:(n=G.te(a,b,n))&&(n.style||n.svgStyle)?n.style||n.svgStyle:(b=G.xg(a,b))&&(b.markerStyle||b.markerSvgStyle)?b.markerStyle||b.markerSvgStyle:
  I.sm(a)&&b&&(b.style||b.svgStyle)?b.style||b.svgStyle:null};k.AHa=function(b,n,d){var g=G.te(b,n,d),g=g&&g.boxPlot?g.boxPlot:{},q=G.xg(b,n),q=q&&q.boxPlot?q.boxPlot:{},l=b.A().styleDefaults.boxPlot,g=a.cb.ae(g,a.cb.ae(q,l)),q=k.Zb(b,n,d);g._color=q;l=a.D.El(q,.8);g.q2Color||(g.q2Color=l);g.q3Color||(g.q3Color=l);"pattern"==k.vI(b)&&(l=k.wq(b,n,d),g._q2Pattern=l,g._q3Pattern=l);l=k.po(b,n,d);g.borderColor=l?l:q;g.borderWidth=k.Qh(b,n,d);b=a.D.qm(q,.1);k.tpa(g,"whisker",b);k.tpa(g,"whiskerEnd",b);k.tpa(g,
  "median",b);return g};k.tpa=function(b,n,d){var k=a.cb.ae(b[n+"Style"],b[n+"SvgStyle"]);b[n+"SvgStyle"]=k;b[n+"Style"]=null;k.stroke||b[n+"ClassName"]||b[n+"SvgClassName"]||(b[n+"SvgStyle"].stroke=d)};var Z={};a.f.v(Z,a.f);Z.lm=function(b,n,d,k,g,q,l,r){d=new a.M(n.a,d,g,q);d.ub(k);return a.ga.Yc(d,l,r,n)?(b.Xb(d,new a.qg(d.gn())),d):null};Z.Naa=function(a){a=a.A();return a.title.text||a.subtitle.text||a.footnote.text};var V={};a.f.v(V,a.f);V.pi=function(a,b,n,d){return I.Rr(a)?k.Zb(a,0,n):null!=
  d&&0<=d?k.cR(a,b,n,d):k.Zb(a,b,n)};V.bf=function(a,b,n,d,k){if(I.tL(a)||I.at(a)||0>b||0>n)return null;var g=G.te(a,b,n),q=a.A().tooltip,q=q?q.renderer:null;if(k&&q)return k=a.a.cf(V.lca(a)?r.kT:null),g=G.zj(a,b,n,d),I.Qr(a)?(a=ia.jta(a,b),g.label=a.K2):g.label=G.WU(a,b,n,d),k.Rs(q,g);if(g&&null!=g.shortDesc)return g.shortDesc;q="";I.Rr(a)?q+=V.c4a(a,n,k):(q=V.CTa(q,a,b,k),q=V.fja(q,a,b,n,k),q=V.FTa(q,a,b,n,d,k));return V.caa(q,a,k)};V.JIa=function(b,n,d){var k=a.I.Ja(a.I.gw,"LABEL_OTHER",null),g=
  b.A().tooltip,g=g?g.renderer:null;if(d&&g)return n=ia.jta(b,null),d=G.zj(b,null,0),d.label=n.K2,b.a.cf().Rs(g,d);g=V.tf("",b,"series","SERIES",k,d);g=V.fja(g,b,0,0,d);g=V.tf(g,b,"value","VALUE",n,d);return V.caa(g,b,d)};V.caa=function(b,n,d){return""==b?null:d?a.Qb.AQ("table",n.A().styleDefaults._tooltipStyle)+b+"\x3c/table\x3e":b};V.H3a=function(a,b,d,k){var g=a.A().tooltip;if((g=g?g.renderer:null)&&null!=b.id){var q=a.a.cf(V.lca(a)?r.kT:null);a={id:n.getId(b),label:b.text,data:a.faa[d].referenceObjects[k],
  value:b.value,low:n.Kr(b),high:n.Jr(b),color:n.Zb(b)};return q.Rs(g,a)}return b.shortDesc};V.c4a=function(a,b,n){var d=G.te(a,0,b);b=V.fja("",a,0,b,n);d&&(b=V.tf(b,a,"open","OPEN",d.open,n),b=V.tf(b,a,"close","CLOSE",d.close,n),b=V.tf(b,a,"high","HIGH",d.high,n),b=V.tf(b,a,"low","LOW",d.low,n),b=V.tf(b,a,"volume","VOLUME",d.volume,n));return b};V.CTa=function(a,b,n,d){n=G.iL(b,n);return V.tf(a,b,"series","SERIES",n,d)};V.fja=function(n,d,k,g,q){var l;b.jE(d)?(l=V.gE(d,"group"),k=G.wo(d,k,g),l=V.v1a(l,
  new Date(k)),null==l&&(l=d.Kc.Fn().w1a(k))):l=G.rba(d,g);g=G.cE(d);k="GROUP";if(1!=g&&a.Y.isArray(l))for(--g;0<=g;g--)n=V.tf(n,d,"group",k,l[g],q,g),l[g]&&(k=null);else n=V.tf(n,d,"group",k,l,q);return n};V.FTa=function(a,b,n,d,g,q){var l=G.getValue(b,n,d,g),r=G.wo(b,n,d),m=G.k5(b,n,d),c=G.Kr(b,n,d),C=G.Jr(b,n,d);g=null!=g&&0<=g;I.sm(b)?(a=V.tf(a,b,"x","X",r,q),a=V.tf(a,b,"y","Y",l,q),I.nC(b)&&(a=V.tf(a,b,"z","Z",m,q))):I.Qr(b)||I.Hz(b)?a=V.tf(a,b,"value","VALUE",l,q):I.Vv(b)?(a=V.tf(a,b,"value",
  "VALUE",l,q),m=G.Z4(b,n),null!=m&&(a=V.tf(a,b,"targetValue","TARGET_VALUE",m,q))):"boxPlot"!=k.hh(b,n)||g?I.Fh(b)&&(n=G.Xo(b,n)?"y2":"y",null==c&&null==C||g?null==m||g?a=V.tf(a,b,n,"VALUE",l,q):(a=V.tf(a,b,n,"Y",l,q),a=V.tf(a,b,"z","Z",m,q)):(a=V.tf(a,b,"high","HIGH",C,q),a=V.tf(a,b,"low","LOW",c,q),null!=m&&(a=V.tf(a,b,"z","Z",m,q)))):(l=G.te(b,n,d),a=V.tf(a,b,"high","HIGH",C,q),a=V.tf(a,b,"q3","Q3",l.q3,q),a=V.tf(a,b,"q2","Q2",l.q2,q),a=V.tf(a,b,"q1","Q1",l.q1,q),a=V.tf(a,b,"low","LOW",c,q),null!=
  m&&(a=V.tf(a,b,"z","Z",m,q)));return a};V.tf=function(n,d,k,g,q,l,r){if(null==q||""===q)return n;var m=d.A().styleDefaults,c=V.gE(d,k),C=c.tooltipDisplay;C&&"auto"!=C||"group"==k&&(I.Qr(d)||I.Vv(d))&&(C="off");if("off"==C)return n;var B;"string"===typeof c.tooltipLabel?B=c.tooltipLabel:a.Y.isArray(c.tooltipLabel)&&(B=c.tooltipLabel[r?r:0]);null==B&&(B=null==g?"":"GROUP"==g&&b.jE(d)?a.I.Zc(d.A(),"labelDate",a.I.gw,"LABEL_GROUP"):a.I.Ja(a.I.gw,"LABEL_"+g,""));"series"!=k&&"group"!=k&&(q=V.VD(d.a,c,
  q));if(l)return d=a.m.ea(d.a),m.tooltipLabelStyle.Na(a.j.ZM,d?"left":"right"),m.tooltipValueStyle.Na(a.j.ZM,d?"right":"left"),n+"\x3ctr\x3e"+a.Qb.AQ("td",m.tooltipLabelStyle)+B+"\x3c/td\x3e"+a.Qb.AQ("td",m.tooltipValueStyle)+q+"\x3c/td\x3e\x3c/tr\x3e";0<n.length&&(n+="\x3cbr\x3e");return n+a.I.Ja(a.I.pa,"COLON_SEP_LIST",[B,q])};V.gE=function(a,n){var d=a.A().valueFormats;if(!d)return{};if(d instanceof Array){for(var k={},g=0;g<d.length;g++){var q=d[g];k[q.type]=q}d=a.A().valueFormats=k}return d[n]?
  d[n]:"group"==n&&b.jE(a)?V.gE(a,"x"):"y"!=n&&"y2"!=n&&"min"!=n&&"max"!=n||!I.Fh(a)?{}:V.gE(a,"value")};V.VD=function(b,n,d,k,g,q){var l="auto",r="on",m;n.scaling&&(l=n.scaling);n.autoPrecision&&(r=n.autoPrecision);n.converter&&(m=n.converter);b=new a.Gj(b,null!=k?k:d,null!=g?g:d,null!=q?q:0,l,r);return m&&(m.getAsString||m.format)?b.format(d,m):b.format(d)};V.v1a=function(a,b){var n=a.converter;return n?n.getAsString?n.getAsString(b):n.format?n.format(b):null:null};V.lca=function(b){if(I.Qr(b)||I.Vv(b)||
  I.bg(b)||I.Hz(b))return!1;var n=b.A();return"on"==n.dataCursor?!0:"off"==n.dataCursor?!1:a.m.eb()&&I.uV(b)};V.k2a=function(a){var b=a.A().dataCursorBehavior;return"snap"==b?r.uda:"smooth"==b?r.zxa:I.uV(a)?r.zxa:r.uda};var I={};a.f.v(I,a.f);I.GSa="bar line area lineWithArea combo pie bubble scatter funnel pyramid stock boxPlot".split(" ");I.x5a=function(b){return 0<=a.Y.$b(I.GSa,b.Hc())};I.tL=function(a){return a.A().__spark};I.at=function(a){return a.A()._isOverview};I.Ea=function(a){return!I.Tg(a)&&
  !I.bg(a)};I.Tg=function(a){return"horizontal"==a.A().orientation&&!I.bg(a)&&!I.Rr(a)&&(I.Fh(a)||I.Vv(a))};I.bg=function(a){return"polar"==a.A().coordinateSystem&&!I.Rr(a)&&!I.ica(a)};I.rC=function(a){return"on"!=a.A().stack||b.qC(a)||2>G.gh(a)?!1:I.Fh(a)};I.$4a=function(a){return"combo"==a.Hc()};I.Uta=function(a){return"bar"==a.Hc()};I.GJa=function(a){return"line"==a.Hc()};I.k5a=function(a){return"lineWithArea"==a.Hc()};I.F5=function(a){return"area"==a.Hc()};I.Rr=function(a){return"stock"==a.Hc()};
  I.ica=function(a){return"boxPlot"==a.Hc()};I.kab=function(a){return"scatter"==a.Hc()};I.nC=function(a){return"bubble"==a.Hc()};I.Qr=function(a){return"pie"==a.Hc()};I.Vv=function(a){return"funnel"==a.Hc()};I.Hz=function(a){return"pyramid"==a.Hc()};I.$ta=function(a){return!I.B5(a)||I.sm(a)||I.bg(a)?!1:!0};I.MR=function(a){return I.Rr(a)&&G.uJa(a)&&!I.at(a)?!0:"on"==a.A().splitDualY&&I.eca(a)&&!I.Mta(a)};I.Fh=function(a){a=a.Hc();return"bar"==a||"line"==a||"area"==a||"lineWithArea"==a||"combo"==a||
  "stock"==a||"boxPlot"==a};I.sm=function(a){a=a.Hc();return"scatter"==a||"bubble"==a};I.uV=function(a){a=a.Hc();return"line"==a||"area"==a||"lineWithArea"==a};I.tca=function(a){return!I.Qr(a)&&!I.Vv(a)&&!I.bg(a)&&!I.Hz(a)};I.o5a=function(a){return I.Fh(a)&&I.Ea(a)};I.h5a=function(a){var b=Q.bca(a);return I.bg(a)?!1:I.Fh(a)&&I.Ea(a)||I.sm(a)&&"y"!=b};I.z5a=function(a){var b=Q.bca(a);return I.bg(a)?!1:I.Fh(a)&&I.Tg(a)||I.sm(a)&&"x"!=b};I.B5=function(a){return!("pie"==a.Hc()||"funnel"==a.Hc()||"pyramid"==
  a.Hc())};I.Mta=function(a){return I.$ta(a)?G.mJa(a)==G.gh(a):!1};I.eca=function(a){return I.$ta(a)?0<G.mJa(a):!1};I.dab=function(a){return I.eca(a)};I.C5=function(a){return I.OT(a,"bar")};I.sJa=function(a){return I.OT(a,"line")};I.M4a=function(a){return I.OT(a,"area")};I.tJa=function(a){return I.OT(a,"lineWithArea")};I.Jta=function(a){return I.OT(a,"candlestick")};I.Ita=function(a){return I.OT(a,"boxPlot")};I.OT=function(a,b){if(I.Fh(a))for(var n=G.gh(a),d=0;d<n;d++)if(k.In(a,d)&&k.hh(a,d)==b)return!0;
  return!1};I.O4a=function(a){if(!I.Fh(a))return!1;for(var b=G.gh(a),n=0;n<b;n++)if(k.In(a,n)&&"bar"!=k.hh(a,n)){var d=k.Fu(a,n);if("centeredSegmented"==d||"centeredStepped"==d)return!0}return!1};I.T4a=function(a){if(!I.Fh(a))return!1;for(var b=G.gh(a),n=0;n<b;n++)if(k.In(a,n)&&"bar"!=k.hh(a,n)){var d=k.Fu(a,n);if("segmented"==d||"stepped"==d)return!0}return!1};I.w5a=function(a){var n=a.A();return Z.Naa(a)||"off"!=n.legend.rendered||b.Yo(a,"x")||b.Yo(a,"y")||b.Yo(a,"y2")?!1:!0};I.rua=function(a){var n=
  a.A();return Z.Naa(a)||"off"!=n.legend.rendered||"off"!=n.plotArea.rendered||b.Yo(a,"y")||b.Yo(a,"y2")?!1:!0};I.tua=function(a){var n=a.A();return Z.Naa(a)||"off"!=n.legend.rendered||b.Yo(a,"x")||"off"!=n.plotArea.rendered||b.Yo(a,"y2")?!1:!0};I.sua=function(a){var n=a.A();return Z.Naa(a)||"off"!=n.legend.rendered||b.Yo(a,"x")||b.Yo(a,"y")||"off"!=n.plotArea.rendered?!1:!0};var ma={};a.f.v(ma,a.f);ma.QRa=6;ma.ERa=.5;ma.w0a=function(n,d){for(var g=G.D4(n,"z"),q=g.min,l=g.max,r=ma.QRa,g=ma.ERa*Math.min(d.b,
  d.i),m=G.gh(n),c="withoutRescale"==Q.tba(n),C=0;C<m;C++)if(c||k.In(n,C))for(var B=G.xg(n,C),e=B.items?B.items.length:0,t=0;t<e;t++){var h=B.items[t];h&&(h.markerSize=a.qj.Cra(h.z,q,l,r,g))}I.bg(n)?(l=Infinity,q=n.nk()):(l=d.b-2.4*b.oy(n,"y"),q=d.i-1.6*b.oy(n,"x"));l-=.5*g;q-=.5*g;g=n.Vb;r=ma.OCa(n,"x");g.Pf("_xAxisBubbleRatio",r/l);l=ma.OCa(n,"y");g.Pf("_yAxisBubbleRatio",l/q)};ma.U1a=function(a,b,n){return n?n/2*a.Vb.Te("x"==b?"_xAxisBubbleRatio":"_yAxisBubbleRatio"):0};ma.OCa=function(n,d){var k=
  n.A()[d+"Axis"],g=b.K5(n,d),q=!g&&"zero"==b.wHa(n,d),l=G.D4(n,d,!0),r=k.min;null==r&&(r=q?Math.min(0,l.min):l.min);k=k.max;null==k&&(k=q?Math.max(0,l.max):l.max);return g&&0<k&&0<r?k==r?6:a.Math.log10(k/r):k==r?60:k-r};ma.L8a=function(a){a.sort(ma.DUa)};ma.K8a=function(a){a.sort(ma.CUa)};ma.DUa=function(a,b){return b.ue()-a.ue()};ma.CUa=function(a,b){return b.size-a.size};ma.I0a=function(a,b,n,d){d/=2;return a.qca(Math.max(Math.floor(b-d),0),Math.max(Math.floor(n-d),0),Math.max(Math.ceil(b+d),0),
  Math.max(Math.ceil(n+d),0))};ma.d9a=function(a,b,n,d,k){d*=.4;a.Cca(Math.max(Math.round(b-d),0),Math.max(Math.round(n-d),0),Math.max(Math.round(b+d),0),Math.max(Math.round(n+d),0),k)};var ia={};a.f.v(ia,a.f);ia.TX="_dvtOther";ia.bJa=function(a,b){var n=G.te(a,b,0),n=n?n.id:null,d=G.Ch(a,b),k=G.eh(a,0);return new R(n,d,k)};ia.KIa=function(a){a=G.eh(a,0);return new R(null,ia.TX,a)};ia.UIa=function(a){return ia.k$(a).X6a};ia.P4a=function(a){return 0<ia.k$(a).dva.length};ia.Gsa=function(a){for(var b=
  ia.k$(a).dva,n=0,d=0;d<b.length;d++){var g=b[d];k.In(a,g)&&(g=G.getValue(a,g,0),0<g&&(n+=g))}return n};ia.Fsa=function(a){for(var b=ia.k$(a).dva,n=[],d=0;d<b.length;d++)n.push(ia.bJa(a,b[d]));return n};ia.m5a=function(a,b){for(var n=ia.Fsa(a),d=0;d<n.length;d++){for(var k=n[d],g=!1,q=0;q<b.length;q++)if(b[q].id&&k.getId()===b[q].id||k.Ch()===b[q].series&&k.eh()===b[q].group){g=!0;break}if(!g)return!1}return!0};ia.k$=function(a){for(var b=[],n=[],d=G.gh(a),k=a.A(),g=k.otherThreshold*ia.mV(a),q=0;q<
  d;q++){var l=G.getValue(a,q,0);0<g&&l<g?n.push(q):b.push(q)}"ascending"==k.sorting?b.sort(function(b,n){return G.getValue(a,b,0)-G.getValue(a,n,0)}):"on"!=k.sorting&&"descending"!=k.sorting||b.sort(function(b,n){return G.getValue(a,n,0)-G.getValue(a,b,0)});return{X6a:b,dva:n}};ia.mV=function(a){for(var b=G.gh(a),n=0,d=0;d<b;d++){var k=G.getValue(a,d,0);0<k&&(n+=k)}return n};ia.Y3a=function(a,b){var n=G.xg(a,b);return n&&n.pieSliceExplode?n.pieSliceExplode:0};ia.z3a=function(a){var b=ia.Fsa(a);if(b&&
  1<=b.length)return b=G.wg(a,b[0].Ch()),b=G.te(a,b,0)._id,a.pk(b)};ia.jta=function(a,b){for(var n=a.Xp.Li,d=0;d<n.length;d++)if(n[d].wg()==b)return n[d];return null};a.f.v(f,a.f);f.G8="2D";f.cha="3D";f.DS="CRUST";f.j8="SIDE";f.AS="BORDER";f.sza=0;f.z8=1;f.Xga=2;f.b$a=3;f.TR=function(b,n,d,k,g){b=a.Math.Ns(360-b);return{x:n+Math.cos(b)*k,y:d+Math.sin(b)*g}};f.dsa=function(b,n,d){if(d&&d!=a.j.Hm){if(n==f.G8||n==f.cha)return[a.D.cl(b,0,-.04,-.05),a.D.cl(b,0,-.09,.04)];if(n==f.DS)return[a.D.cl(b,0,-.04,
  -.05),a.D.cl(b,0,0,-.14)];if(n==f.j8)return[a.D.cl(b,0,-.1,.06),a.D.cl(b,0,-.04,-.05)]}else{if(n==f.G8)return n=[],n[0]=a.D.Gn(a.D.El(b,.1)),n[1]=n[0],n[2]=a.D.Gn(a.D.qm(b,.1)),n;if(n==f.AS)return["#FFFFFF","#000000","#000000"];d=a.D.Gn(a.D.qm(b,.12));var k=a.D.Gn(a.D.El(b,.05)),g=a.D.Gn(a.D.El(b,.15));b=a.D.Gn(a.D.El(b,.35));if(n==f.DS)return[d,g,b,d];if("SIDE"==n)return[d,b];if("3D"==n)return[b,g,d,k,b]}};f.csa=function(a,b){var n=null==a||isNaN(a)||0==a?1:a;if(b==f.G8)return[n,n,n];if(b==f.AS)return[n/
  1.59375,n/5.3125,n/2.65625];if(b==f.cha)return[n,n,n,n,n];if(b==f.DS)return[n,n,n,n];if(b==f.j8)return[n,n]};f.esa=function(b,n){if(n&&n!=a.j.Hm)return[0,1];if(b==f.G8)return[.2,.5,1];if(b==f.AS)return[0,.5,1];if(b==f.cha)return[0,.29,.55,.84,1];if(b==f.DS)return[0,.43,.91,1];if(b==f.j8)return[0,1]};f.$0a=function(b,n){var d=b.Re,g=d.a,q=b.Yd(),l=b.YK(),r=d.pL()||b.aJa()>Math.sin(a.Math.Ns(b.Qp()))*b.vj+1?null:b.aJa(),g=new aa(g,q.x,q.y,b.vj,b.$k,b.Cu(),b.Qp(),r,l),q=k.hL(d.gj),l=k.dE(d.gj),r=new a.ma(b.CK,
  null,b.Qh()),m=b.wg(),c=k.Ir(d.gj,m,0),m=k.N(d.gj,m,0);g.qS(n,r,b.fy(),q,l,c,m);g=[g];!b.CK&&d.wI()==a.j.Hm&&d.pL()&&0<b.tp&&"gradient"==k.vI(d.gj)&&(180<=b.Cu()||180<=b.Cu()+b.Qp()||360==b.Qp())&&(d=f.VUa(b,n),d.jb(b.ex,b.fx),g.push(d));f.Xb(b,g);return g};f.Xb=function(a,b){if(b)for(var n=0;n<b.length;n++)a.Re.gj.Nb().Xb(b[n],a)};f.VUa=function(b,n){var d=f.AS,k=f.dsa(null,d),g=f.csa(null,d),d=f.esa(d),q=n.Jv(),k=new a.qn(120,k,g,d,q);k.kb(1);g=b.Cu();d=180>g?180-g:0;g=0<d?180:g;d=b.Qp()-d;360<
  g+d&&(d=360-g);var q=b.Re,l=b.Yd(),g=new a.Cd(q.a,l.x,l.y,q.vj,q.$k,g,d,a.Cd.OPEN);g.Ha(k);return g};f.bra=function(b,n,d){if(0==b.Qp())return[];var k=[];if(0<a.D.Jb(b.fy()))if(n==f.z8||n==f.Xga)k.push(f.ICa(b,n,null,d));else if(n==f.sza)for(var g=f.QUa(b),q=g.length,l=0;l<q;l++)k.push(f.ICa(b,n,g[l],d));f.Xb(b,k);return k};f.lHa=function(b,n){var d=b.Re,k=d.wI(),g=n==f.DS?b.tp:0,q=k==a.j.Hm?0:270,l=f.dsa(a.D.Gn(b.fy()),n,k),r=f.csa(a.D.Jb(b.fy()),n),m=f.esa(n,k),c=null;k==a.j.Hm&&(c=[Math.floor(b.Yd().x-
  d.vj),Math.floor(b.Yd().y-d.$k)+g,Math.ceil(2*d.vj),Math.ceil(2*d.$k)]);return new a.hd(q,l,r,m,c)};f.ICa=function(b,n,d,k){var g=b.Re.a;if(n==f.z8||n==f.Xga){var q=b.Cu(),l=b.Qp();d=b.Yd().x;var r=b.Yd().y,m=b.vj,c=b.$k;n=n==f.z8?f.TR(q+l,d,r,m,c):f.TR(q,d,r,m,c);n=f.XVa(d,r,n.x,n.y,b.tp);d=[];for(r=0;r<n.length;r++)d.push(n[r].x,n[r].y);g=new a.Sf(g,d);g.Ia(k);b.CK&&g.uc(b.CK);return g}return d?(g=new a.Ib(g,null),g.Ug(d),g.jb(b.ex,b.fx),g.Ia(k),b.CK&&g.uc(b.CK),g):null};f.QUa=function(a){var b=
  a.Cu(),n=a.Qp(),d=b+n,k=a.Yd().x,g=a.Yd().y,q=a.vj,l=a.$k;a=a.tp;var r=[];180>b&&360<d?(r.push(f.nK(k,g,q,l,a,b,180-b)),r.push(f.nK(k,g,q,l,a,360,d-360)),r.push(f.nK(k,g,q,l,a,180,180))):360<d?(r.push(f.nK(k,g,q,l,a,b,360-b)),r.push(f.nK(k,g,q,l,a,360,d-360))):180>b&&180<d?(r.push(f.nK(k,g,q,l,a,b,180-b)),r.push(f.nK(k,g,q,l,a,180,d-180))):r.push(f.nK(k,g,q,l,a,b,n));return r};f.nK=function(b,n,d,k,g,q,l){l=a.Math.Ns(l);var r=-(a.Math.Ns(q)+l);q=f.TR(q,b,n,d,k);b+=Math.cos(r)*d;n+=Math.sin(r)*k;r=
  a.G.moveTo(q.x,q.y);r+=a.G.arcTo(d,k,l,0,b,n);r+=a.G.lineTo(b,n+g);r+=a.G.arcTo(d,k,l,1,q.x,q.y+g);return r+=a.G.lineTo(q.x,q.y)};f.XVa=function(a,b,n,d,k){var g=[];g.push({x:a,y:b});g.push({x:n,y:d});g.push({x:n,y:d+k});g.push({x:a,y:b+k});return g};a.f.v(x,a.f);x.prototype.oXa=function(){this.vU=this.Qo=null;this.ZDa=this.Gd=this.wc=this.nb=this.Ya=this.nU=this.Sg=-1;this.DG=!1;this.G$=this.E$=-1};x.prototype.ri=function(a){this.Sg=a};x.prototype.getHeight=function(){return this.nb};x.prototype.Lb=
  function(a){this.nb=a};x.prototype.T7a=function(a){this.ZDa=a};x.prototype.e8a=function(a){this.E$=a};x.prototype.f8a=function(a){this.G$=a};x.prototype.u0a=function(a){this.G$<=this.E$&&(a=Math.max(a,this.G$),a=Math.min(a,this.E$));return a};x.prototype.Fwa=function(){this.DG=!0};x.prototype.Sh=function(){return this.nU};x.prototype.setPosition=function(a){this.nU=a};x.prototype.x8a=function(a){this.vU=a};x.prototype.tE=function(a){this.Qo=a};x.prototype.getWidth=function(){return this.Ya};x.prototype.kb=
  function(a){this.Ya=a};x.prototype.rb=function(){return this.wc};x.prototype.na=function(a){this.wc=a};x.prototype.vb=function(){return this.Gd};x.prototype.Qa=function(a){this.Gd=a};a.f.v(v,a.f);v.IRa=3;v.AQa=1;v.T8=1;v.BAa=2;v.zAa=1.04;v.jAa=.1;v.O8=.1;v.rAa=.5;v.qAa=3;v.Fia=0;v.P8=1;v.TPa=2;v.G5a=function(a){v.BXa(a,"auto"==a.vg());v.CXa(a)};v.BXa=function(b,n){for(var d=b.Li,k=0;k<d.length;k++){var g=d[k],q=b.ZIa(g.wg());if("none"!=q&&"outsideSlice"!=q&&!v.uaa(b,g)){var l=g.Cu()+g.Qp()/2,r=g.YK(),
  m=g.Yd(),c=0,C=0,B=v.gO(g,!0);1==d.length?(c=m.x,C=m.y):(c=Math.max(.45,.65-.45*r/Math.max(g.$k,.001)),l=f.TR(l,m.x,m.y,r+(g.vj-r)*c,r+(g.$k-r)*c),c=l.x,C=l.y);B.na(c);B.Qa(C);B.ug();B.$f();for(var l=B.V(),m=r=c,e=C-l.i/2,C=C+l.i/2;g.contains(r,e)&&g.contains(r,C);)r--;for(;g.contains(m,e)&&g.contains(m,C);)m++;r=Math.ceil(r+3);m=Math.floor(m-3);c=2*Math.min(c-r,m-c);c<l.b&&(B.na((r+m)/2),c=m-r);n&&"center"!=q?B.V().b<c?g.tE(B):g.tE(null):(q=b.a.Gc,C=v.lna(b,g)?null:B.Wc().length,a.ga.Yc(B,c,l.i,
  q,C)&&(q.removeChild(B),g.tE(B)));null!=g.Qo&&g.D6()}}};v.CXa=function(a){var b=[],n=[],n=v.WVa(a),b=n[0],n=n[1],d=v.dFa(a,b,v.T8),k=v.dFa(a,n,v.BAa);d==v.P8&&k!=v.Fia&&v.n_(a,b,!0,!0,!0);d!=v.Fia&&k==v.P8&&v.n_(a,n,!1,!0,!0);v.LFa(a,b,v.T8);v.LFa(a,n,v.BAa)};v.gO=function(b,n){var d=b.Re,k=d.a,k=n?new a.M(k):new a.za(k),g=d.A().styleDefaults,q=[g.dataLabelStyle];(d=G.te(d.gj,b.wg(),0))&&q.push(new a.j(d.labelStyle));d=a.j.Lz(q);q=null!=d.N("color");!n||q&&!a.m.GI()?q||d.Na("color",g._defaultSliceLabelColor):
  (q=a.D.Ok(b.fy()),d.Na("color",q));k.ub(d);g=v.y1a(b,g.sliceLabelType);k.Ge(g);b.y8a(g);return k};v.X0a=function(b){var n=b.A(),d=b.a,k=v.C3a(n),g=k.label,q=k.renderer,l=b.vg(),r=n.tooltip,r=r?r.renderer:null,m=b.Yd(),c=b.YK();if(g||q){var C=b.vj,c=0<c?c:"outsideSlice"==l?.9*C:.5*C,l=c*Math.sqrt(2);g&&(C=new a.za(d),C.ub(k.labelStyle),"number"===typeof g&&(g=V.VD(d,k,g,g,g,0)),C.Ge(g),a.ga.Yc(C,l,l,b)&&(k=C.V(),C.Qa(m.y-k.i/2),C.na(m.x),C.$f(),r||b.gj.Nb().Xb(C,new a.qg(C.Wc(),null,null,{type:"pieCenterLabel"})),
  b.B(C),b.x7a(C)));r&&(k=new a.Ui(d,m.x,m.y,c),k.Yb(),b.B(k),C=b.a.cf(),b.gj.Nb().Xb(k,new a.jw(C,r,"#4b4b4b",{component:n._widgetConstructor,label:g})));q&&(g={outerBounds:{x:m.x-c,y:m.y-c,width:2*c,height:2*c},innerBounds:{x:m.x-l/2,y:m.y-l/2,width:l,height:l},label:g,component:n._widgetConstructor},n=d.uj,(r=b.gj.Y5)&&n.removeChild(r),g=q(g))&&(q=d.C3(),q.appendChild(g),b.gj.Y5=q,n.appendChild(q),(b=d.F1)&&b(q))}};v.y1a=function(a,b){var n,d=v.u2a(a,b),k=a.Re.A().dataLabel;k&&(n=G.zj(a.ba,a.wg(),
  0),n.label=d,n=k(n),"number"==typeof n&&(k=V.gE(a.Re.gj,"label"),n=V.VD(a.Re.a,k,n)));return n?n:d};v.u2a=function(a,b){var n=a.Re,d=a.yka,k=V.gE(n.gj,"label");return null!=d?"number"==typeof d?V.VD(n.a,k,d):d:"percent"==b?v.pra(a):"number"==b?V.VD(n.a,k,a.getValue()):"text"==b?a.iL():"textAndPercent"==b?a.iL()+", "+v.pra(a):null};v.pra=function(a){var b=a.Re,n=b.mV();a=0==n?0:a.getValue()/n;n=.01>a?3:.1>a?2:1>a?1:0;150>2*b.vj&&(n=Math.max(n-1,0));var d=b.a.Dsa({style:"percent",maximumFractionDigits:n,
  minimumFractionDigits:n}),k="";d&&d.getAsString?k=d.getAsString(a):d&&d.format?k=d.format(a):(a*=100,k=V.VD(b.a,{},a,null,null,100==a?1:Math.pow(10,-1*n))+"%");return k};v.dFa=function(a,b,n){if(b&&0<b.length){var d=a.Io.y,k=!1,g=!1,q=!1,l=0,r,m=!1,c=m;r=!1;n=n==v.T8;for(var C=0;C<b.length;C++)r=b[C],c=m,90<r.Sh()&&(m=!0),l=r.vb()+r.getHeight(),(r=d-r.vb()>v.AQa)&&(m?m&&!c?g=!0:q=!0:k=!0),l>d&&(d=l);return k&&q||g?(v.n_(a,b,n,!0,!0),v.TPa):k?(v.n_(a,b,n,!0,!1),v.P8):q?(v.n_(a,b,n,!1,!0),v.P8):v.Fia}};
  v.LFa=function(b,n,d){if(!(null==n||0>=n.length)){var k,g,q,l=d==v.T8,r=b.Io,m=Infinity;for(d=0;d<n.length;d++)if(q=n[d],k=q.vU,q.DG){g=v.HBa(q,k,l);var c=a.ga.yq(b.a,q.Qo.Bd()),C=q.getWidth(),c=v.lna(b,k)?Math.min(2*c,C):C;v.ysa(b,q.rb(),l)+g<c||0==q.getWidth()?(q.tE(null),k.D6()):m=Math.min(m,g)}else k.D6();for(d=0;d<n.length;d++)if(q=n[d],k=q.vU,g=q.Qo)q.DG&&(l?q.na(q.rb()+m):q.na(q.rb()-m),v.HBa(q,k,l)),g.Qa(q.vb()),g.na(q.rb()),q.vb()<r.y||q.vb()+q.getHeight()>r.y+r.i?(k.tE(null),k.D6()):(v.u_a(b,
  k,q,l),0==q.getWidth()||0==q.getHeight()?(k.tE(null),k.D6()):k.tE(g))}};v.HBa=function(b,n,d){var k=b.rb(),g=b.vb()+b.getHeight()*v.rAa,q=v.O8*n.vj,l;d?(k+=v.qAa,l=k+q):(k-=v.qAa,l=k-q);var r={x:0,y:0};l={x:l,y:g};k={x:k,y:g};r=b.Sg;g=v.k9(r,n.tp);r=f.TR(r,n.Yd().x,n.Yd().y+g,n.vj,n.$k);b=a.Math.Ns(b.Sh());var g=Math.abs(Math.atan2(l.x-r.x,r.y-l.y)),m=(r.y-l.y)*Math.tan(b);if(b>Math.PI/2&&g>Math.PI/2&&g<b||b<Math.PI/2&&g<Math.PI/2&&g>b)l.x=d?r.x-m:r.x+m;n.m8a(r,l,k);return Math.abs(k.x-l.x)-q};v.k9=
  function(a,b){var n=0;189<a&&351>a&&(n=b);return n};v.LWa=function(a){for(var b=91,n=-1,d=0;d<a.length;d++){var k=a[d].Sh();Math.abs(k-90)<b&&(b=Math.abs(k-90),n=d)}return n};v.Cpa=function(b,n,d){n.na(d);d=b.$k*(1+v.jAa);var k=a.Math.Ns(n.Sh());d*=Math.cos(k);k=v.k9(n.Sg,b.tp);b=b.Yd().y-d-n.getHeight()*v.rAa+k;n.Qa(n.u0a(b))};v.ADa=function(a,b,n){var d=a.vU,k=d.Yd();a=a.Sg;d=f.TR(a,k.x,k.y+v.k9(a,d.tp),d.vj,d.$k);return Math.atan2(Math.abs(b-d.x),d.y-n)};v.n_=function(b,n,d,k,g){var q=b.Io,l=q.y,
  r=q.y+q.i,m,c=0,C,q=b.Yd().x,B;m=b.vj*(1+v.jAa+v.O8);d?(q-=m,B=q+b.vj*v.O8):(q+=m,B=q-b.vj*v.O8);for(d=0;d<n.length;d++)m=n[d],c=a.Math.Ns(m.Sh()),C=v.ADa(m,B,l),C-c>.45*Math.PI||v.uaa(b,m.vU)?(n.splice(d,1),d--):(n[d].f8a(l),l+=n[d].getHeight());for(d=n.length-1;0<=d;d--)m=n[d],c=a.Math.Ns(m.Sh()),C=v.ADa(m,B,r),c-C>.45*Math.PI||v.uaa(b,m.vU)?n.splice(d,1):(r-=n[d].getHeight(),n[d].e8a(r));if(0!=n.length){l=v.LWa(n);d=n[l];k&&!g&&d.G$+d.getHeight()>b.Yd().y&&(g=!0);g&&!k&&d.E$<b.Yd().y&&(k=!0);m=
  d.Sh();if(g&&k||90<m&&g||90>=m&&k)v.Cpa(b,d,q),d.Fwa();r=d.vb();c=d.vb()+d.getHeight();if(k)for(d=l-1;0<=d;d--)m=n[d],C=m.getHeight(),v.Cpa(b,m,q),m.Fwa(),k=m.vb(),r=k+C<r?k:r-C,m.Qa(r);if(g)for(d=l+1;d<n.length;d++)m=n[d],C=m.getHeight(),v.Cpa(b,m,q),m.Fwa(),k=m.vb(),c=k>c?k+C:c+C,m.Qa(c-C)}};v.u_a=function(a,b,n,d){var k=n.Qo,g=k.Bd(),q=0,q=a.Vc(),l=!1;a.contains(k)||(a.B(k),l=!0);k.ub(g);k.Ge(b.K2);l&&a.Nz(q);q=v.ysa(a,n.rb(),d);a=v.HDa(a,b,k,q,n.ZDa);n.kb(a.x);n.getHeight()!=a.y&&n.Lb(a.y)};v.WVa=
  function(a){for(var b=Array(2),n=[],d=[],k=a.Li,g=a.Io,q=0;q<k.length;q++){var l=k[q],r=a.ZIa(l.wg());if(null==l.Qo&&"none"!=r&&"center"!=r&&!v.uaa(a,l)){var r=v.gO(l,!1),m=l.Cu()+l.Qp()/2;360<m&&(m-=360);0>m&&(m+=360);var c=f.TR(m,a.Yd().x,a.Yd().y,a.vj*v.zAa,a.$k*v.zAa),C=v.HDa(a,l,r,v.ysa(a,c.x,90<=m&&270>m),v.IRa);165>m&&15<m?c.y-=1*C.y:15>m||345<m?(c.y-=.5*C.y,c.x+=.2*C.y):165<m&&195>m&&(c.y-=.5*C.y,c.x-=.2*C.y);c.y+=v.k9(m,a.tp);1==k.length&&(c.x-=C.x/2);if(!(c.y<g.y||c.y+C.y>g.y+g.i)){var B;
  90<=m&&270>m?(r.bh(),B=m-90,v.ZBa(l,r,m,B,C,c,n)):(B=90>=m?Math.abs(90-m):180-(m-270),v.ZBa(l,r,m,B,C,c,d))}}}b[0]=n;b[1]=d;return b};v.ZBa=function(a,b,n,d,k,g,q){for(var l=-1,r,m=0;m<q.length;m++)if(r=q[m],r.Sh()>d){l=m;break}-1==l&&(l=q.length);r=new x;r.setPosition(d);r.ri(n);r.tE(b);r.x8a(a);r.kb(k.x);r.Lb(k.y);r.na(g.x);r.Qa(g.y);r.T7a(b.Nv());q.splice(l,0,r)};v.HDa=function(b,n,d,k,g){d.EL(g);n=v.lna(b,n)?null:d.Wc().length;return a.ga.Yc(d,k,Infinity,b,n)?(b.B(d),k=d.V(),b.removeChild(d),
  {x:k.b,y:k.i}):{x:0,y:0}};v.lna=function(a,b){var n=b.yka,d=null!=a.A().dataLabel;return-1!=a.A().styleDefaults.sliceLabelType.indexOf("text")||null!=n&&"number"!=typeof n||d};v.ysa=function(a,b,n){a=a.Io;return n?b-a.x:a.x+a.b-b};v.C3a=function(b){var n=a.cb.clone(b.pieCenter),d=b.pieCenterLabel;d&&(b=d.style,(d=d.text)&&(n.label=d),b&&(n.labelStyle=new a.j(b)));return n};v.uaa=function(a,b){return 3>b.Qp()&&120<G.gh(a.gj)};var U={};a.f.v(U,a.f);U.zk=16;U.EF=5;U.N8=4;U.DF=.8;U.WRa=.05;U.VRa=.2;U.ia=
  function(a,b,n){U.Cn(a,b,n);if(G.qJa(a))U.um(a,b,n);else{I.at(a)||(a.A()._maxOverflowCoord=n.x+n.b,a.A()._minOverflowCoord=n.x);U.ATa(a,n);var d=n.clone();U.Xoa(a,b,n);U.cD(n);na.ia(a,b,n);U.cD(n);var k=U.qYa(a,b,n),g=U.sYa(a,b,n);U.cD(n);a.sTa(n.clone());fa.ia(a,b,n);U.cD(n);U.jYa(a.ck,n);a.XAa(n.clone());U.zpa(a);U.DD(a,k,g);U.A_a(a,b,d,n);U.sFa(a,b,n);I.bg(a)&&b.B(a.Pd);U.dZa(a)}};U.zpa=function(b){var n=b.A(),d=b.Nb();if(I.B5(b)&&!I.at(b)){var k=new a.U(0,0,b.getWidth(),b.getHeight()),g=b.Ev,
  q=b.m9,l=new a.U(g.x,q.y,g.b,q.i),q=new a.U(q.x,g.y,q.b,g.i),r=new a.oc(n.styleDefaults.marqueeColor),m=new a.ma(n.styleDefaults.marqueeBorderColor),c;Q.sL(b)&&(c=Q.a5a(b)?U.VRa:U.WRa,c=new a.Gi(b,g,k,c),c.gLa(n._resources.panCursorUp,n._resources.panCursorDown),d.hLa(c),Q.uL(b)&&(c=Q.bca(b),c=I.Tg(b)||"y"==c?new a.Sn(b,g,k,r,m,!1,!0,null,q):I.Fh(b)||"x"==c?new a.Sn(b,g,k,r,m,!0,!1,l,null):new a.Sn(b,g,k,r,m,!0,!0,l,q),d.ZKa(c)));"multiple"==n.selectionMode&&(c=new a.Sn(b,g,k,r,m,!0,!0,l,q),d.YKa(c))}};
  U.Y6a=function(a,b){if(!G.qJa(a)){var n=a.m9.clone(),d=a.Ue();if(d)var g=d.iC();var q=a.OAa();a.bTa();fa.ia(a,b,n);U.cD(n);a.XAa(n.clone());U.sFa(a,b,n);d&&d.Vr(g,a.YB());a.Nb().Eqa();U.oKa(a);a.Zd(k.$U(a));a.UAa(q)}};U.Cn=function(b,n,d){b=new a.Rect(b.a,d.x,d.y,d.b,d.i);b.Yb();n.B(b)};U.ATa=function(a,b){var n=a.A(),d=P.bsa(a,n.layout.outerGapWidth),k=P.VQ(a,n.layout.outerGapHeight);if("none"==n.styleDefaults.padding||I.w5a(a)||I.rua(a)||I.tua(a)||I.sua(a))d=Math.min(d,1),k=Math.min(k,1);b.x+=d;
  b.b-=2*d;b.y+=k;b.i-=2*k};U.Xoa=function(b,n,d){var k=b.A();if(k.title.text){var g=Z.lm(b.Nb(),n,k.title.text,k.title.style,d.x,d.y,d.b,d.i),q,l,r=null!=k.title.hAlign?k.title.hAlign:k.title.halign,m="plotArea"==r.substring(0,8);g?(l=g.V(),q=l.i,g.Od("hidden",null)):(q=0,l=new a.U(0,0,0,0));if(k.subtitle.text){var c=new a.M(b.a,k.subtitle.text,d.x,d.y);c.ub(k.subtitle.style);n.B(c);var C=c.V(),B=P.bsa(b,k.layout.titleSubtitleGapWidth),e=l.b+B+C.b;e>d.b||m?(B=P.VQ(b,k.layout.titleSubtitleGapHeight),
  c.Qa(d.y+q+B),a.ga.Yc(c,d.b,d.i,n)&&(C=c.V(),q+=C.i+B,a.m.ea(b.a)&&(c&&c.na(d.b-C.b),g&&g.na(d.b-l.b)))):(c.Qa(l.i-C.i+d.y),g&&(a.qj.align(d,r,g,e),a.m.ea(b.a)?(c.na(g.rb()),g&&g.na(g.rb()+C.b+B)):c.na(g.rb()+e-C.b)));c.Od("hidden",null);b.Nb().Xb(c,new a.qg(c.gn()))}else a.qj.align(d,r,g,l.b);m&&(b.Vb.Pf("title",g),b.Vb.Pf("subtitle",c));g="on"==k.titleSeparator.rendered?k.layout.titleSeparatorGap:k.layout.titlePlotAreaGap;d.y+=q+P.VQ(b,g);d.i-=q+P.VQ(b,g);"on"==k.titleSeparator.rendered&&(q=new a.Fb(b.a,
  d.x,d.y,d.x+d.b,d.y),g=new a.Fb(b.a,d.x,d.y+1,d.x+d.b,d.y+1),q.uc(k.titleSeparator.upperColor),g.uc(k.titleSeparator.lowerColor),n.B(q),n.B(g),q=2+P.VQ(b,k.layout.titlePlotAreaGap),d.y+=q,d.i-=q)}k.footnote.text&&(n=Z.lm(b.Nb(),n,k.footnote.text,k.footnote.style,d.x,0,d.b,d.i),q=null!=k.footnote.hAlign?k.footnote.hAlign:k.footnote.halign,g="plotArea"==q.substring(0,8),n&&(l=n.V(),n.Qa(d.y+d.i-l.i),d.i-=l.i+P.VQ(b,k.layout.footnoteGap),a.qj.align(d,q,n,l.b),n.Od("hidden",null)),g&&b.Vb.Pf("footnote",
  n))};U.A_a=function(a,b,n,d){var k=a.A(),g=null!=k.title.hAlign?k.title.hAlign:k.title.halign,q=null!=k.footnote.hAlign?k.footnote.hAlign:k.footnote.halign,l=k.title.text&&"plotArea"==g.substring(0,8),k=k.footnote.text&&"plotArea"==q.substring(0,8);n.x=d.x;n.b=d.b;if(l){l=a.Vb.Te("title");d=a.Vb.Te("subtitle");var r=l.V();U.mja(b,n,g,l,r.b);d&&(l=d.V(),U.mja(b,n,g,d,l.b))}k&&(a=a.Vb.Te("footnote"),g=a.V(),U.mja(b,n,q,a,g.b))};U.mja=function(b,n,d,k,g){a.ga.Yc(k,n.b,n.i,b)&&("plotAreaStart"==d?a.qj.align(n,
  "start",k,g):"plotAreaCenter"==d?a.qj.align(n,"center",k,g):"plotAreaEnd"==d&&a.qj.align(n,"end",k,g))};U.sFa=function(b,n,k){if(I.B5(b)){var g=new a.ca(b.a);g.jb(k.x,k.y);n.B(g);b.Zca(g);b.Nb().Xb(g,new a.qg(null,null,null,{type:"plotArea"}));N.ia(b,g,new a.U(0,0,k.b,k.i))}else I.Qr(b)?(g=new d(b,k),0<g.Li.length?(n.B(g),b.Zca(g),g.ia()):U.um(b,n,k)):I.Vv(b)?pa.ia(b,n,k):I.Hz(b)&&ra.ia(b,n,k);k.b=0;k.i=0};U.um=function(b,n,d){var k=b.A();if(G.rJa(b)&&G.iE(b))var g=a.I.Zc(k,"labelInvalidData",a.I.pa,
  "INVALID_DATA");else(g=k.emptyText)||(g=a.I.Zc(k,"labelNoData",a.I.pa,"NO_DATA"));a.ga.um(n,g,new a.U(d.x,d.y,d.b,d.i),b.Nb(),k._statusMessageStyle)};U.qYa=function(b,n,d){var g=d.b,q=0;Q.sL(b)&&I.h5a(b)?k.n5a(b)?(q=Math.min(k.M4(b),d.i),0<q&&(b.Tr=new K(b),n.B(b.Tr),a.qj.position(d,"bottom",b.Tr,g,q,10))):(q=b.A().styleDefaults._scrollbarHeight,b.Su=new a.th(b.a,b.Ef,b),n.B(b.Su),a.qj.position(d,"bottom",b.Su,g,q,8),b.Tr=null):b.Tr=null;return new a.eg(g,q)};U.sYa=function(b,n,d){var k=0,g=d.i;if(Q.sL(b)&&
  I.z5a(b)){var k=b.A().styleDefaults._scrollbarHeight,q=new a.th(b.a,b.Ef,b);n.B(q);a.qj.position(d,a.m.ea(b.a)?"right":"left",q,k,g,8);I.Tg(b)?b.Su=q:b.Iy=q}return new a.eg(k,g)};U.DD=function(b,n,d){var k=b.A(),g={color:k.styleDefaults._scrollbarHandleColor,backgroundColor:k.styleDefaults._scrollbarTrackColor},q=b.Ev;b.Su&&(g.min=b.Kc.Aba(),g.max=b.Kc.zba(),I.Tg(b)?(g.isHorizontal=!1,g.isReversed=!1,b.Su.Eb(q.y),b.Su.ia(g,d.b,q.i)):(g.isHorizontal=!0,g.isReversed=a.m.ea(b.a),b.Su.Va(q.x),b.Su.ia(g,
  q.b,n.i)),b.Su.Ld(b.Kc.dV(),b.Kc.cV()));b.Iy&&(g.min=b.Pd.Aba(),g.max=b.Pd.zba(),g.isHorizontal=!1,g.isReversed=!0,b.Iy.Eb(q.y),b.Iy.ia(g,d.b,q.i),b.Iy.Ld(b.Pd.dV(),b.Pd.cV()));b.Tr&&(d={startTime:b.Kc.Aba(),endTime:b.Kc.zba(),viewportStartTime:b.Kc.dV(),viewportEndTime:b.Kc.cV(),minimumWindowSize:b.Kc.Fn().hV(),chart:a.cb.clone(k)},Q.uL(b)||(d.featuresOff="zoom"),d.chart._minOverflowCoord=k._minOverflowCoord-q.x,d.chart._maxOverflowCoord=k._maxOverflowCoord-q.x,b.Tr.Va(q.x),b.Tr.ia(d,q.b,n.i),b.Tr.Ld(b.Kc.dV(),
  b.Kc.cV()))};U.jYa=function(a,b){if(a){var n=a.V(),d=a.A().orientation;"vertical"==d&&n.i<=b.i?a.Eb(Math.round(b.y+b.i/2-n.i/2)):"horizontal"==d&&n.b<=b.b&&a.Va(Math.round(b.x+b.b/2-n.b/2))}};U.dZa=function(b){var n=U.zk+2*(U.EF+U.N8),d=b.Ev;if(!(!I.B5(b)||I.at(b)||d.b<n||d.i<n)){var n=b.A(),d=b.Nb(),k=n.dragMode;if("user"!=k)"pan"==k?d.zC(M.$L):"zoom"==k?d.zC(M.NE):"select"==k?d.zC(M.aM):d.zC(M.sea);else{var k=a.m.eb(),g=Q.sL(b);b.Au=new a.ca(b.a);var q,l="multiple"==n.selectionMode&&(k||g),r=g&&
  k,m=g&&!k&&Q.uL(b)&&I.sm(b);l&&(d.Oz=U.kka(b,b.Au,"select",d.U5a,d,r||m?"end":"solo"),q=a.I.Zc(n,"tooltipSelect",a.I.gw,"MARQUEE_SELECT"),d.Oz.ft(q),d.Xb(d.Oz,d.Oz));r&&(d.uC=U.kka(b,b.Au,"pan",d.iKa,d,l?"start":"solo"),q=a.I.Zc(n,"tooltipPan",a.I.gw,"PAN"),d.uC.ft(q),d.Xb(d.uC,d.uC));m&&(d.Jy=U.kka(b,b.Au,"zoom",d.cva,d,l?"start":"solo"),q=a.I.Zc(n,"tooltipZoom",a.I.gw,"MARQUEE_ZOOM"),d.Jy.ft(q),d.Xb(d.Jy,d.Jy));U.oKa(b);d.zC(null);0<b.Au.Vc()&&(b.B(b.Au),k?g&&(d.uC.Yv(!0),d.iKa()):b.vJa(),b.Au.setCursor("default"))}}};
  U.roa=function(b,n,d){a.m.ea(b.a)?(b=d.x+U.EF,d.x+=U.zk+2*U.EF):b=d.x+d.b-U.zk-U.EF;d.b-=U.zk+2*U.EF;n.jb(b,d.y+U.EF)};U.oKa=function(a){var b=a.Ev.clone();b.x+=U.N8;b.b-=2*U.N8;b.y+=U.N8;var n=a.Nb();n.Oz&&U.roa(a,n.Oz,b);n.uC&&U.roa(a,n.uC,b);n.Jy&&U.roa(a,n.Jy,b)};U.I9=function(b,n,d){var k=2,g=2,q=a.m.ea(b);"start"==n?q?k=0:g=0:"end"==n&&(q?g=0:k=0);n=-U.EF;q=U.zk+2*U.EF;k=a.G.YI(n,n,q,q,k,g,g,k);b=new a.Ib(b,k);1<a.m.YU()?(b.uc(d,U.DF,1),b.Xc(!0)):b.uc(d,U.DF,1);return b};U.kka=function(b,n,
  d,k,g,q){var l=b.a,r=b.A()._resources;b=U.I9(l,q,"#C4CED7");var m=r[d+"Up"];b.Ia(new a.hd(270,["#FFFFFF","#F1F3F4","#E8EBED","#E4E8EA"],[U.DF,U.DF,U.DF,U.DF],[0,.0364,.5,1]));b.B(new a.Image(l,m,0,0,U.zk,U.zk));var c=U.I9(l,q,"#C4CED7"),m=r[d+"UpHover"]?r[d+"UpHover"]:m;c.ab("#F7F8F9",U.DF);c.B(new a.Image(l,m,0,0,U.zk,U.zk));var C=U.I9(l,q,"#0572CE"),B=r[d+"Down"];C.ab("#0572CE",U.DF);C.B(new a.Image(l,B,0,0,U.zk,U.zk));m=U.I9(l,q,"#0572CE");d=r[d+"DownHover"]?r[d+"DownHover"]:B;m.ab("#0572CE",U.DF);
  m.B(new a.Image(l,d,0,0,U.zk,U.zk));k=new a.ra(l,b,c,C,null,null,k,g);k.fLa(m);k.I6(!0);n.B(k);k.qb(a.MouseEvent.gp,function(a){a.stopPropagation()});a.m.eb()&&(n=a.m.ea(l),g=2*U.EF,q="solo"==q?new a.Rect(l,-g,-g,U.zk+2*g,U.zk+2*g):"start"==q&&!n||"end"==q&&n?new a.Rect(l,-g,-g,U.zk+1.5*g,U.zk+2*g):new a.Rect(l,-.5*g,-g,U.zk+1.5*g,U.zk+2*g),q.Yb(),k.B(q));return k};U.cD=function(a){a.x=Math.round(a.x);a.y=Math.round(a.y);a.b=Math.round(a.b);a.i=Math.round(a.i)};U.P6a=function(a){var b=null,n=a.A(),
  d=a.Nb();if(V.lca(a)){b=new r(a.a,n.styleDefaults.dataCursor,I.Tg(a));b.u7a(V.k2a(a));a.B(b);var k=new Y(a,b);d.PKa(k);a.nKa(n.dataCursorPosition)}else d.PKa(null);return b};var fa={};a.f.v(fa,a.f);fa.NQa=.33;fa.ia=function(a,n,d){I.B5(a)&&(b.n0a(a,d),I.nC(a)&&ma.w0a(a,d),I.bg(a)?fa.AZa(a,n,d):fa.TYa(a,n,d))};fa.TYa=function(n,d,g){var q=n.A(),l=I.Tg(n),r=I.MR(n),m=g.clone(),c=b.Dta(n),C=b.Cta(n);fa.vTa(n,g);r&&c==C&&(q.yAxis._skipHighestTick=l,q.y2Axis._skipHighestTick=!l);var B=fa.gCa(n,d,g,m),
  e=fa.mVa(n,d,g,m);(q=!r&&"on"==q.y2Axis.alignTickMarks&&null==q.y2Axis.step)&&B&&e&&(fa.nja(n,B,e),l||(e.dn=fa.xG(n,e.axis,n.Bg,e.options,"y2",g,m)));var t=b.d5(n,"y"),h=b.d5(n,"y2");r&&c==C?(l?(c=Math.max(B.dn.i+t,e.dn.i+h),B.dn.i=c-t,e.dn.i=c-h):(c=Math.max(B.dn.b+t,e.dn.b+h),B.dn.b=c-t,e.dn.b=c-h),fa.uK(g.clone(),B,t)):fa.uK(g,B,t);fa.uK(g,e,h);c=G.lg(n);"pixel"==k.xra(n)&&I.Uta(n)&&g.b>c&&(c*=Math.floor(g.b/c),g.x+=(g.b-c)/2,g.b=c);d=fa.fCa(n,d,g,m);d.axis.ia(d.options,d.dn.b,d.dn.i);fa.uK(g,
  d,b.d5(n,"x"));c=k.kta(n);C=a.m.ea(n.a);m=fa.FDa(g,c,l,l&&C);c=fa.FDa(g,1-c,l,!l||!C);l?(B&&(B.axis.Va(g.x),r?B.axis.ia(B.options,m.b,B.dn.i,m.x,0):B.axis.ia(B.options,g.b,B.dn.i)),q&&B&&e&&fa.nja(n,B,e),e&&(e.axis.Va(g.x),r?e.axis.ia(e.options,c.b,e.dn.i,c.x,0):e.axis.ia(e.options,g.b,e.dn.i)),fa.E2(g,B,d)):(B&&(r?B.axis.ia(B.options,B.dn.b,m.i,0,m.y):B.axis.ia(B.options,B.dn.b,g.i)),q&&B&&e&&fa.nja(n,B,e),e&&(r?e.axis.ia(e.options,e.dn.b,c.i,0,c.y):e.axis.ia(e.options,e.dn.b,g.i)),fa.E2(g,d,B,e));
  fa.SFa(n,d,B,e)};fa.AZa=function(a,b,n){var d=fa.fCa(a,b,n,n);d.axis.Va(n.x);d.axis.Eb(n.y);d.axis.ia(d.options,n.b,n.i);b=fa.gCa(a,b,n,n);b.axis.Va(n.x);b.axis.Eb(n.y);b.axis.ia(b.options,n.b,n.i);fa.SFa(a,d,b)};fa.fCa=function(n,d,k,g){var q=n.A(),l=b.B4a(n),r=a.cb.clone(q.xAxis);r.position=l;r.isStandalone=I.rua(n);r.groupSeparators=q.styleDefaults.groupSeparators;fa.eja(r,"x",n);r.groups=q.groups;r._groupWidthRatios=b.T2a(n);r.timeAxisType=b.Zba(n);r._environment=q._environment;r._locale=q._locale;
  r.drilling=q.drilling;r._isGroupAxis=b.Tv(n);var m="top"==l||"bottom"==l,c=b.f5a(n);"tangential"==l&&b.Tv(n)?c?(r.startGroupOffset=.5,r.endGroupOffset=.5):r.endGroupOffset=1:(l=b.eba(n),r.startGroupOffset=l,r.endGroupOffset=l,I.T4a(n)&&(r.endGroupOffset+=1),Q.sL(n)||I.at(n)||(l=G.lg(n),b.Yo(n,"y")&&b.N5(n,"y")&&(r[(m?"start":"end")+"GroupOffset"]+=.04*l),b.Yo(n,"y2")&&b.N5(n,"y2")&&(r[(m?"end":"start")+"GroupOffset"]+=.04*l)));r.leftBuffer=m?k.x-g.x:0;r.rightBuffer=m?g.b+g.x-(k.b+k.x):0;r._renderGridAtLabels=
  !c||b.jE(n);m=new da(n.a,n.Ef,n);d.B(m);n=fa.xG(n,m,n.Kc,r,"x",k,g);r._minOverflowCoord=q._minOverflowCoord-k.x;r._maxOverflowCoord=q._maxOverflowCoord-k.x;return{axis:m,options:r,dn:n}};fa.gCa=function(n,d,k,g){var q=n.A();if(I.Mta(n))return null;var l=a.cb.clone(q.yAxis);l.position=b.Dta(n);l.isStandalone=I.tua(n);fa.eja(l,"y",n);fa.aBa(l,n);var r=new da(n.a,n.Ef,n);d.B(r);d=fa.xG(n,r,n.Pd,l,"y",k,g);fa.eBa(r,l,n,"y");q.yAxis.min=l.min;q.yAxis.max=l.max;return{axis:r,options:l,dn:d}};fa.mVa=function(n,
  d,k,g){var q=n.A();if(I.eca(n)){var l=a.cb.clone(q.y2Axis);l.position=b.Cta(n);l.isStandalone=I.sua(n);fa.eja(l,"y2",n);fa.aBa(l,n);var r=new da(n.a,n.Ef,n);d.B(r);d=fa.xG(n,r,n.Bg,l,"y2",k,g);fa.eBa(r,l,n,"y2");q.y2Axis.min=l.min;q.y2Axis.max=l.max;return{axis:r,options:l,dn:d}}};fa.eja=function(a,n,d){var k=d.A();a.skin=k.skin;a.tickLabel.position=b.N5(d,n)?"inside":"outside";a.baselineScaling=b.wHa(d,n);if(b.N5(d,n)||"tangential"==a.position)a._skipHighestTick=!0;a.zoomAndScroll=I.bg(d)?"off":
  k.zoomAndScroll;a._isOverview=I.at(d);a._duringZoomAndScroll=k._duringZoomAndScroll;"x"==n&&b.Tv(d)||(n=G.D4(d,n),a.dataMin=null!=a.dataMin?a.dataMin:n.min,a.dataMax=null!=a.dataMax?a.dataMax:n.max);I.bg(d)&&(a.polarGridShape=b.sV(d)?"polygon":"circle",a._radius=d.nk());a.dnd=k.dnd};fa.aBa=function(b,n){b.timeAxisType="disabled";Q.eua(n)&&I.Fh(n)&&!I.bg(n)&&(b._continuousExtent="on");if(b.isStandalone)b.leftBuffer=0,b.rightBuffer=0;else if(I.MR(n))b.leftBuffer=Infinity,b.rightBuffer=Infinity;else{var d=
  a.m.ea(n.a);b.leftBuffer=d?0:a.Cj.ZS;b.rightBuffer=d?a.Cj.ZS:0}};fa.eBa=function(n,d,g,q){var l=g.A();if(b.QJa(g)){var r=l.styleDefaults.dataLabelStyle,m=l.styleDefaults.stackLabelStyle,l=n.Fn(),c=k.qua(g),r=a.ga.yq(g.a,c?m:r),m=0;"log"==d.scale?m=n.AI(n.ih(l.fs)-r)-l.fs:(n=1,I.MR(g)&&(n="y"==q?k.kta(g):1-k.kta(g)),m=Math.abs(l.rh-l.Ye)/(Math.abs(l.Wi-l.Hi)*n)*r);m=I.Tg(g)?4*m:2*m;l.Zu-l.ks<=m&&0>l.Zu&&(d.dataMin-=m);l.js-l.fs<=m&&0<l.fs&&(d.dataMax+=m)}};fa.xG=function(n,d,g,q,l,r,m){var c=q.isStandalone,
  C=q.position,B="top"==C||"bottom"==C,e=b.d5(n,l),t=q.maxSize,h=q.size;l=r.b;var u=r.i;if("radial"==C||"tangential"==C)u=l=0;else if("off"==q.rendered)B?u=0:l=0;else if(c)B?u=r.i-e:l=r.b-e;else if(null!=h)B?(u=k.Xs(h,m.i)-e,null!=t&&(u=Math.min(u,k.Xs(t,m.i)-e))):(l=k.Xs(h,m.b)-e,null!=t&&(l=Math.min(l,k.Xs(t,m.b)-e)));else if(n.A()._duringZoomAndScroll&&g)B?(r=a.m.ea(n.a),q._startOverflow=r?g.Ssa():g.w4(),q._endOverflow=r?g.w4():g.Ssa(),u=g.getHeight()):l=g.getWidth();else return t=null==t?fa.NQa:
  t,B?d.ly(q,r.b,k.Xs(t,m.i)-e):d.ly(q,k.Xs(t,m.b)-e,r.i);b.QJa(n)&&d.ly(q,l,u);return new a.eg(l,u)};fa.vTa=function(a,n){var d=I.Tg(a),k=b.Dta(a),g=b.Cta(a),q=b.Yo(a,"x"),l=b.Yo(a,"y"),r=b.Yo(a,"y2"),m=a.A().layout.verticalAxisGap,m=d?m*b.qba(a,"x"):m*Math.max(b.qba(a,"y"),b.qba(a,"y2")),m=Math.ceil(m);(!d||"top"==k&&l||"top"==g&&r)&&d||(n.y+=m,n.i-=m);(!d||"bottom"==k&&l||"bottom"==g&&r)&&(d||q)||(n.i-=m)};fa.uK=function(b,n,d){n&&a.qj.position(b,n.options.position,n.axis,n.dn.b,n.dn.i,d)};fa.nja=
  function(a,n,d){var k=n.axis.Fn();if(k){n=k.z4();var k=k.uIa(),g=d.options;(d=d.axis.Fn())&&b.K5(a,"y")&&b.K5(a,"y2")&&n<d.z4()&&(g._logScaleUnit=d.tGa(d.gIa(),n));g._majorTickCount=n;g._minorTickCount=k}};fa.FDa=function(a,b,n,d){var k=a.clone();n?(k.b=a.b*b,k.x=d?a.b*(1-b):0):(k.i=a.i*b,k.y=d?a.i*(1-b):0);return k};fa.E2=function(a,b,n,d){if(b){var k=b.axis.w4();b=b.axis.Ssa();a.x+=k;a.b-=k+b;n&&n.axis.Va(n.axis.ac()+("left"==n.options.position?k:-b));d&&d.axis.Va(d.axis.ac()+("left"==d.options.position?
  k:-b))}};fa.SFa=function(a,b,n,d){a.Kc&&(a.Kc.Ec(),a.removeChild(a.Kc));a.Pd&&(a.Pd.Ec(),a.removeChild(a.Pd));a.Bg&&(a.Bg.Ec(),a.removeChild(a.Bg));a.Kc=b.axis;a.Pd=n?n.axis:null;a.Bg=d?d.axis:null};var na={};a.f.v(na,a.f);na.Vha=2;na.VQa=.3;na.cSa=1.2;na.ia=function(b,n,d){var g=b.A(),q=g.legend.position;if(!("off"==g.legend.rendered||"auto"==g.legend.rendered&&b.Bf.Te("hasLargeSeriesCount"))){var l=a.cb.clone(g.legend);delete l.position;l.skin=g.skin;l.hideAndShowBehavior=Q.tba(b);l.hoverBehavior=
  Q.gsa(b);l.hoverBehaviorDelay=k.VHa(b);l.hiddenCategories=k.WK(b);l.highlightedCategories=k.$U(b);l.dnd=g.dnd;l._dropColor=g._dropColor;"auto"==q&&(q=d.b>=d.i?"end":"bottom");var r="top"==q||"bottom"==q;l.orientation=r?"horizontal":"vertical";"start"==q&&(l.halign="end");if("start"==q||"end"==q)l.valign="middle";"top"==q&&(l.valign="bottom");if("top"==q||"bottom"==q)l.halign="center";na.zTa(b,l);if(0!=l.sections.length){var m=a.Rf.newInstance(b.a,b.Ef,b);null!=b.getId()&&m.setId(b.getId()+"legend");
  n.B(m);var c;if(null!=l.size)c=r?new a.eg(d.b,k.Xs(l.size,d.i)):new a.eg(k.Xs(l.size,d.b),d.i);else{var C=l.maxSize;null==C&&(C=na.VQa,I.Qr(b)&&(C=Math.max(C,1-na.cSa*(r?d.b/d.i:d.i/d.b))));c=r?d.b:k.Xs(C,d.b);C=r?k.Xs(C,d.i):d.i;c=m.ly(l,c,C)}m.ia(l,c.b,c.i);r=r?P.VQ(b,g.layout.legendGapHeight):P.bsa(b,g.layout.legendGapWidth);a.qj.position(d,q,m,c.b,c.i,r);d=0<Object.keys(l.dnd.drag.series).length;l=m.Vb.Te("background");d&&l&&l.sc("oj-draggable");d=m.Rb;l=m.tm(new a.P(d.x,d.y));I.at(b)||(c=a.m.ea(b.a),
  "end"==q?c?g._minOverflowCoord=l.x+d.b+r/2:g._maxOverflowCoord=l.x-r/2:"start"==q&&(c?g._maxOverflowCoord=l.x-r/2:g._minOverflowCoord=l.x+d.b+r/2));b.ck&&(b.ck.Ec(),n.removeChild(b.ck));b.ck=m}}};na.zTa=function(a,b){var n=na.YWa(a,"vertical"==b.orientation);if(0<n.length){var d=b.seriesSection;d.items=n;b.sections.unshift(d);delete b.seriesSection}n=na.RWa(a);0<n.length&&(d=b.referenceObjectSection,d.items=n,b.sections.push(d),delete b.referenceObjectSection)};na.YWa=function(b,n){var d=[],g,q;if("pie"==
  b.Hc()||"pyramid"==b.Hc()||"funnel"==b.Hc()){var l=ia.UIa(b);"pyramid"==b.Hc()&&n&&(l=l.reverse());for(var r=0;r<l.length;r++)q=l[r],g=G.getValue(b,q,0),0<=g&&null!=g&&(g=na.s_(b,q))&&d.push(g);ia.P4a(b)&&(g={id:ia.TX,text:a.I.Zc(b.A(),"labelOther",a.I.gw,"LABEL_OTHER"),categoryVisibility:0<=a.Y.$b(k.WK(b),ia.TX)?"hidden":"visible",symbolType:"marker",color:b.A().styleDefaults.otherColor,borderColor:b.A().styleDefaults.borderColor},d.push(g))}else{var l={},r={},m=G.gh(b);for(q=0;q<m;q++)if(g=na.s_(b,
  q)){var c=G.jC(b,q);G.Xo(b,q)?r[c]?r[c].push(g):r[c]=[g]:l[c]?l[c].push(g):l[c]=[g]}q=G.Uba(b,null,!0);g=I.rC(b)&&I.Ea(b)&&n;d=na.BDa(l,q.y,g,d);d=na.BDa(r,q.y2,g,d)}return d};na.BDa=function(a,b,n,d){for(var k,g=0;g<b.length;g++)(k=a[b[g]])&&(d=n?d.concat(k.reverse()):d.concat(k));return d};na.s_=function(b,n){var d=G.xg(b,n),g=b.Hc(),q=k.hh(b,n),l=k.Fu(b,n),r=d.displayInLegend;if(!d||"off"==r||"on"!=r&&(I.Vv(b)||I.Hz(b)||I.Rr(b))||"on"!=r&&!G.S4a(b,n))return null;var m=G.iL(b,n);if("on"!=r&&(null==
  m||"string"==typeof m&&0>=a.bc.trim(m).length))return null;r={id:G.Ch(b,n),text:m,categories:G.rd(b,n),categoryVisibility:k.In(b,n)?"visible":"hidden",_dataContext:G.zj(b,n,-1)};"line"==q||"lineWithArea"==q||"scatter"==g||"bubble"==g?(r.lineStyle=k.eIa(b,n),r.lineWidth=k.bV(b,n),k.vV(b,n)?(g=k.j4(b,n,null,null,"source"))?(r.symbolType="image",r.source=g):(r.symbolType="none"==l?"marker":"lineWithMarker","lineWithMarker"==r.symbolType&&(r.lineWidth=Math.min(na.Vha,r.lineWidth)),r.markerShape=k.bE(b,
  n),r.markerColor=k.cR(b,n)):r.symbolType="line"):"boxPlot"==q?(l=k.AHa(b,n),l.q2Color!=l.q3Color?(r.symbolType=I.Tg(b)?"_horizontalBoxPlot":"_verticalBoxPlot",r._boxPlot=l):r.symbolType="marker"):(r.symbolType="marker","none"==k.Fu(b,n)&&(r.markerShape=k.bE(b,n)));r.color=k.Zb(b,n);r.borderColor=k.po(b,n);r.pattern=k.wq(b,n);r.svgStyle="area"==q?k.rHa(b,n):k.N(b,n);r.svgClassName="area"==q?k.pHa(b,n):k.Ir(b,n);r.markerSvgStyle=k.nIa(b,n);r.markerSvgClassName=k.kIa(b,n);r.action=d.action;r._spb=b.pk(d._id);
  r.drilling=Q.OJa(b,n)?"on":"off";r.shortDesc=d.shortDesc;return r};na.RWa=function(a){var b=n.Pba(a);if(0>=b.length)return[];for(var d=[],k=0;k<b.length;k++){var g=b[k];if(g&&"on"==g.displayInLegend&&g.text){var q=n.Hc(g);d.push({symbolType:"area"==q?"square":"line",text:g.text,color:n.Zb(g),lineStyle:g.lineStyle,lineWidth:n.bV(g),categories:n.Nsa(g),categoryVisibility:n.LJa(a,g)?"visible":"hidden",shortDesc:g.shortDesc,svgStyle:g.style||g.svgStyle,svgClassName:g.className||g.svgClassName})}}return d};
  var N={};a.f.v(N,a.f);N.wN=16;N.Xq=4;N.sZ=3;N.Hea=1E4;N.ia=function(a,b,n){"off"==a.A().plotArea.rendered?N.kFa(a,b,n):0<n.b&&0<n.i&&(a.kO=[],a.oVa=[],N.OYa(a,b,n),N.HZa(a,b,n),N.fZa(a,b,n))};N.OYa=function(b,n,d){var g=b.A(),q=N.QCa(b,d),l=k.MK(b);l?q.ab(l):q.Yb();n.B(q);b.Vb.Pf("plotAreaBackground",q);Q.NJa(b)&&q.sc("oj-draggable");if(g.xAxis.referenceObjects||g.yAxis.referenceObjects||g.y2Axis.referenceObjects)g=N.LU(b,n,d),oa.N6a(b,g,d);I.Fh(b)&&(g=new a.ca(b.a),n.B(g),b.rTa(g),I.M4a(b)&&N.jaa(b,
  g,d,!1))};N.QCa=function(n,d){var k;k=n.a;if(I.bg(n)){var g=d.x+d.b/2,q=d.y+d.i/2;b.sV(n)?(g=a.sj.pR(g,q,G.lg(n),n.nk(),0),k=new a.Sf(k,g)):k=new a.Ui(k,g,q,n.nk())}else k=new a.Rect(k,d.x,d.y,d.b,d.i);return k};N.HZa=function(a,n,d){a.Kc&&b.hua(a,"x")&&N.Qoa(a,n,a.Kc,d);a.Pd&&b.hua(a,"y")&&N.Qoa(a,n,a.Pd,d);a.Bg&&b.hua(a,"y2")&&N.Qoa(a,n,a.Bg,d);a.Kc&&b.gua(a,"x")&&N.Ooa(a,n,a.Kc,d);a.Pd&&b.gua(a,"y")&&N.Ooa(a,n,a.Pd,d);a.Bg&&b.gua(a,"y2")&&N.Ooa(a,n,a.Bg,d)};N.kFa=function(a,n,d){a.Kc&&a.Pd&&b.hca(a,
  "x")&&N.kaa(a,n,a.Kc,a.Pd,d);a.Kc&&a.Bg&&b.hca(a,"x")&&(a.Pd&&!I.MR(a)||N.kaa(a,n,a.Kc,a.Bg,d));a.Pd&&a.Kc&&b.hca(a,"y")&&N.kaa(a,n,a.Pd,a.Kc,d);a.Bg&&a.Kc&&b.hca(a,"y2")&&N.kaa(a,n,a.Bg,a.Kc,d)};N.Ooa=function(a,b,n,d){N.Loa(a,b,n.A().majorTick,n.Sh(),n.fV(),n.wz(),d)};N.Qoa=function(a,b,n,d){N.Loa(a,b,n.A().minorTick,n.Sh(),n.iV(),null,d)};N.kaa=function(a,b,n,d,k){n=n.A();var g=n.position,g="bottom"==g||"right"==g||"tangential"==g?d.o3a():d.q3a();N.Loa(a,b,n.axisLine,d.Sh(),[g],null,k)};N.Loa=
  function(b,n,d,k,g,q,l){var r=d.lineColor,m=new a.ma(r,1,d.lineWidth);d.lineStyle&&m.Na(a.Pa.UB(d.lineStyle));var c=m.clone();"inherit"!=d.baselineColor&&(r="auto"==d.baselineColor?a.D.qm(r,.6):d.baselineColor,c.Yp(r));c.kb(null!=d.baselineWidth?d.baselineWidth:d.lineWidth);c.Na(a.Pa.UB(d.baselineStyle?d.baselineStyle:d.lineStyle));d="";for(r=0;r<g.length;r++){var C=null!=q&&g[r]==q;"radial"==k||"tangential"==k||C?N.hZa(b,n,k,g[r],C?c:m,l):d="top"==k||"bottom"==k?d+(a.G.moveTo(g[r],l.y)+a.G.W6(l.y+
  l.i)):d+(a.G.moveTo(l.x,g[r])+a.G.oL(l.x+l.b))}""!=d&&(b=new a.Ib(b.a,d),(!a.m.eb()||1<a.m.YU())&&b.Xc(!0),b.Ha(m),b.dd(!1),n.B(b))};N.hZa=function(n,d,k,g,q,l){var r;r=d.a;var m=!a.m.eb()||1<a.m.YU();"radial"==k?(b.sV(n)?(m=a.sj.pR(0,0,G.lg(n),g,0),r=new a.Sf(r,m)):r=new a.Ui(r,0,0,g),r.Yb(),r.jb(l.x+l.b/2,l.y+l.i/2)):"tangential"==k?(r=new a.Fb(r,0,0,n.nk()*Math.sin(g),-n.nk()*Math.cos(g)),g%=Math.PI/2,(.001>g||g>Math.PI/2-.001)&&m&&r.Xc(!0),r.jb(l.x+l.b/2,l.y+l.i/2)):(r="top"==k||"bottom"==k?new a.Fb(r,
  g,l.y,g,l.y+l.i):new a.Fb(r,l.x,g,l.x+l.b,g),m&&r.Xc(!0));r.Ha(q);r.dd(!1);d.B(r)};N.fZa=function(a,b,n){var d=a.A(),g=N.LU(a,b,n);N.kFa(a,b,n);var q=d.plotArea.borderColor,l=d.plotArea.borderWidth;if(q&&0!=l){var r=N.QCa(a,n);r.Yb();r.uc(q,null,l);r.dd(!1);b.B(r)}I.Fh(a)?(I.tJa(a)&&N.jaa(a,b,n,!0),I.C5(a)&&N.PYa(a,g,n),I.Jta(a)&&N.FZa(a,g),I.Ita(a)&&N.RYa(a,g,n),I.sJa(a)&&N.Noa(a,b,g,n)):I.sm(a)&&N.EZa(a,b,g,n);if(d.xAxis.referenceObjects||d.yAxis.referenceObjects||d.y2Axis.referenceObjects)g=N.LU(a,
  b,n),oa.S6a(a,g,n);b=G.k4(a);Q.iS(a,b);a.Zd(k.$U(a))};N.IP=function(b,n,d,g,q,l,r,m,c){if(!I.at(b)){var C=G.WU(b,g,q,l,m,c);if(null!=C){var B=k.Tra(b,g,q,l,m,c);if("none"!=B){var e=new a.M(b.a,C,0,0);e.dd(!1);l=c?b.A().styleDefaults.stackLabelStyle:k.l2a(b,g,q,l,r,B,m);e.ub(l);e.Qa(d.y+d.i/2);e.na(d.x+d.b/2);e.$f();e.ug();l=e.V();if("left"==B)e.na(d.x-l.b/2-N.Xq);else if("right"==B)e.na(d.x+d.b+l.b/2+N.Xq);else if("top"==B)e.Qa(d.y-l.i/2);else if("bottom"==B)e.Qa(d.y+d.i+l.i/2+N.Xq/2);else{if("bar"==
  k.hh(b,g)){if(l.b>d.b||l.i>d.i)return;"inLeft"==B?e.na(d.x+l.b/2+N.Xq):"inRight"==B?e.na(d.x+d.b-l.b/2-N.Xq):"inTop"==B?e.Qa(d.y+l.i/2+N.Xq):"inBottom"==B&&e.Qa(d.y+d.i-l.i/2-N.Xq/2)}else if(I.nC(b)&&(d.x+=N.Xq,d.y+=N.Xq,d.i-=2*N.Xq,d.b-=2*N.Xq,l=a.ga.uI(e.a,e.Wc(),e.Bd(),d),e.Ag(l),!a.ga.Yc(e,d.b,d.i,n,N.sZ)))return;null!=k.wq(b,g,q)&&(l=e.V(),g=.15*l.i,g=a.G.YI(l.x-g,l.y,l.b+2*g,l.i,2,2,2,2),g=new a.Ib(b.a,g),g.ab("#FFFFFF",.9),n.B(g))}if(I.Uta(b)){g=e.V();q=!1;l=b.Az().V();var t;if("left"==B&&
  0>g.x)q=!0,t=d.x-N.Xq;else if("right"==B&&g.x+g.b>l.b+N.Xq)q=!0,t=l.b-d.b-N.Xq;else if("top"==B&&0>g.y||"bottom"==B&&g.y+g.i>l.y+l.i+N.Xq)return;if(q)if(isNaN(C))if(a.ga.Yc(e,t,d.i,n,1))l=e.V(),"left"==B?e.na(d.x-l.b/2-N.Xq):"right"==B&&e.na(d.x+d.b+l.b/2+N.Xq);else return;else return}k.U5(b)&&e.uc("none");n.B(e);b.U_a(e)}}}};N.bZa=function(b,n,d){var k=b.Nb().vsa(d);if(k){var g=k.wg(),q=k.Zj(),k=k.eR();if(d instanceof a.W){var r=new a.U(d.Jg()-d.getWidth()/2,d.Kg()-d.getHeight()/2,d.getWidth(),d.getHeight());
  N.IP(b,n,r,g,q,k,d.kq)}else d instanceof l&&(N.IP(b,n,d.yHa(),g,q,k,d.kq,"low"),N.IP(b,n,d.zHa(),g,q,k,d.kq,"high"))}};N.EZa=function(b,n,d,g){var q=N.EVa(b),l,r=G.gh(b);for(l=0;l<r;l++)"none"!=k.Fu(b,l)&&N.laa(b,d,l,g);var m=k.A4(b),c=k.Qh(b),m=new a.ma(m,null,c),c=[];if(q)for(g=(r=k.U5(b))?m.Zb():null,r=r?m.getWidth():null,l=0;l<q.length;l++){var C=N.dz(b,q[l],g,r);c.push(C)}else{for(l=0;l<r;l++)q=N.pDa(b,l,g,m),c=c.concat(q);ma.L8a(c)}I.nC(b)?N.i9(b,d,c,m):N.i9(b,n,c,m)};N.maa=function(b,n,d,g){var q=
  k.A4(b,d),l=k.Qh(b,d),q=new a.ma(q,null,l);d=k.nE(b,d)?N.QWa(b,d,g):N.pDa(b,d,g,q);N.i9(b,n,d,q)};N.i9=function(b,n,d,g){var q=n,l=k.U5(b),r=k.kKa(b);if(l||r)q=new a.ca(b.a),l?q.Ha(g):q.Yb(),n.B(q);for(n=0;n<d.length;n++)q.B(d[n]),N.bZa(b,q,d[n]);b.kO.push(d)};N.oDa=function(n,d,g,q,l){var r=n.A(),m=G.getValue(n,d,g,q);if(null==m||isNaN(m)||G.G5(n,d,g))return null;var c=G.lg(n),m=k.vV(n,d,g,q);if(!m&&(null==q||0>q))if("jet"!=r._environment&&b.qC(n))2>c&&(m=!0);else{var C=c-1,B=I.bg(n),c=B&&0<C&&g==
  C?0:g+1,C=G.getValue(n,d,B&&0<C&&0==g?C:g-1),c=G.getValue(n,d,c);null!=C&&!isNaN(C)||null!=c&&!isNaN(c)||(m=!0)}if(!m&&(I.tL(n)||(r._duringZoomAndScroll||I.at(n))&&!G.Xta(n,d,g,q)))return null;if(!k.Ku(n,d,g,q))return!1;r=!0;c=G.mIa(n,d,g,q,l);n=k.xsa(n,d,g,q);l&&c&&n&&(r=l.gca(new a.U(c.x-n/2,c.y-n/2,n,n)));return c&&r?{bwa:d,hE:g,B5a:q,x:c.x,y:c.y,size:n,M5a:m}:null};N.XWa=function(a,b,n){if(!k.Ku(a,b,n))return!1;var d=G.O3a(a,b,n);return d?(a=k.xsa(a,b,n))?{bwa:b,hE:n,x:d.x,y:d.y,size:a}:null:
  null};N.pDa=function(a,b,n,d){if(!k.In(a,b))return[];var g=k.U5(a),q=g?d.Zb():null;d=g?d.getWidth():null;for(var g=[],l=G.lg(a),r=0;r<l;r++){var m=N.oDa(a,b,r,null,n);m&&(m=N.dz(a,m,q,d),null!=m&&g.push(m))}return g};N.dz=function(b,n,d,g){var l=a.m.eb(),r=b.a,m=k.U5(b),c=k.kKa(b),C=n.bwa,B=n.hE,e=n.B5a,t=k.cR(b,C,B,e),h=k.bE(b,C,B,e),u=n.M5a;null==u&&(u=k.vV(b,C,B,e));u?((c=k.j4(b,C,B,e,"source"))?(d=k.j4(b,C,B,e,"sourceSelected"),g=k.j4(b,C,B,e,"sourceHover"),t=k.j4(b,C,B,e,"sourceHoverSelected"),
  r=new a.xc(r,n.x,n.y,n.size,n.size,null,c,d,g,t)):(r=new a.W(r,h,b.wI(),n.x,n.y,n.size,n.size,null,null,!0),r.Ia(q.lIa(b,C,B,e)),c=k.A4(b,C,B,e),h=k.Qh(b,C,B,e),c==d&&h==g||r.uc(c,null,h),r.cS(t,!0),d=a.Jm.yz(t),g=k.hL(b),t=k.dE(b),r.ap(new a.ma(g,1,1),new a.ma(d,1,3.5)),r.Fq(new a.ma(g,1,1.5),new a.ma(t,1,4.5)),r.cs(new a.ma(g,1,1.5),new a.ma(d,1,4.5)),r.sc(k.kIa(b,C,B,e)),r.Na(k.nIa(b,C,B,e))),k.gb(b,C,B)&&r.setCursor("pointer"),l&&n.size<N.wN&&N.bBa(r,n.x,n.y,m)):(k.gb(b,C,B)?(r=new S(r,h,n.x,
  n.y,n.size,m),r.setCursor("pointer"),l&&N.bBa(r,n.x,n.y,m)):(l&&(n.size=N.wN),r=new S(r,a.W.ms,n.x,n.y,n.size,m)),null!=r&&(c||r.Yb(),r.cS(t)));null!=r&&J.Xb(r,b,C,B,e,n);return r};N.bBa=function(b,n,d,k){n=new a.Rect(b.a,n-N.wN/2,d-N.wN/2,N.wN,N.wN);k&&n.uc("none");n.Yb();b.B(n)};N.QWa=function(b,n,d){if(!k.In(b,n))return[];for(var g=a.m.eb(),r=b.a,m=b.Kc,c=G.Xo(b,n)?b.Bg:b.Pd,C=b.A(),B=G.lg(b),e=[],t=0;t<B;t++)if(!G.G5(b,n,t)&&k.Ku(b,n,t)){var h=m.jj(G.wo(b,n,t)),u=c.ih(G.Kr(b,n,t)),f=c.ih(G.Jr(b,
  n,t));if(null!=h&&null!=u&&null!=f){var w=k.vV(b,n,t);if(!w){var K=B-1,z=I.bg(b),Z=z&&0<K&&0==t?K:t-1,p=z&&0<K&&t==K?0:t+1,K=G.Kr(b,n,Z),z=G.Jr(b,n,Z),p=G.Kr(b,n,p),Z=G.Jr(b,n,Z);null==K&&null==z&&null==p&&null==Z&&(w=!0)}if(!(C._duringZoomAndScroll||I.at(b)||I.tL(b))||w||G.Xta(b,n,t)){var u=N.FK(b,new a.P(h,u),d),Z=N.FK(b,new a.P(h,f),d),h=new a.P((u.x+Z.x)/2,(u.y+Z.y)/2),f=k.xsa(b,n,t),w=new l(r,u.x,u.y,Z.x,Z.y,f,!w),K=q.lIa(b,n,t),z=k.A4(b,n,t),p=k.Qh(b,n,t),z=new a.ma(z,null,p),p=k.cR(b,n,t),
  A=k.hL(b),S=k.dE(b);w.qS(K,z,p,A,S);k.gb(b,n,t)&&w.setCursor("pointer");u=new a.Fb(r,u.x,u.y,Z.x,Z.y);u.uc("rgba(0,0,0,0)",null,g?Math.max(f,N.wN):f);w.B(u);e.push(w);J.Xb(w,b,n,t,null,h)}}}return e};N.PYa=function(b,n,d){for(var g=I.Tg(b),l=I.bg(b),r=I.Rr(b),m="pixel"==k.xra(b),c=a.m.ea(b.a),B=k.qua(b),e=I.rC(b),t=k.hL(b),h=k.dE(b),u=b.A()._duringZoomAndScroll,f=k.bC(b),w={},K=0;K<G.gh(b);K++)if("bar"==k.hh(b,K)){N.cla(b,K);for(var z="",Z=b.Bf.UQ("itemStyleSet",K),p=G.jC(b,K)||"",A=G.Xo(b,K),S=G.j5(b,
  K),O=S.min-1;O<=S.max+1;O++)if(!G.G5(b,K,O)&&k.Ku(b,K,O)&&0!=G.k5(b,K,O)){var H=G.wra(b,K,O,d);if(null!=H){var y=H.LLa,V=H.yGa,v=H.q0a,ca=H.Hy,x=H.ds,D=H.s0a;if(e){var E=0>G.getValue(b,K,O),E=""+O+p+A+E;if(.5>Math.abs(V-y)&&.5>Math.abs(y-w[E])&&!G.kua(b,K,O))continue;else w[E]&&(V=w[E]),w[E]=y}E=!1;if(1>Math.abs(y-V))if(k.nE(b,K))y--;else if(!e||G.kua(b,K,O))E=!0,y=y>V||g&&!c&&y==V?V+3:V-3;if(l)y=new C(b,v,V,y,ca,x,d);else{var F=u&&5>f&&!Z,y=new ha(b,v,V,y,ca,x,F);if(F){H=y.NK();z+=a.G.moveTo(H.x,
  H.y)+a.G.oL(H.x+H.b)+a.G.W6(H.y+H.i)+a.G.oL(H.x)+a.G.closePath();continue}}n.B(y);k.gb(b,K,O)&&y.setCursor("pointer");V=null;E?D=a.oc.EI():(D=q.vHa(b,K,O,D),v=k.po(b,K,O),ca=k.Qh(b,K,O),v&&(V=new a.ma(v,null,ca)));v=k.Zb(b,K,O);ca=k.Ir(b,K,O);x=k.N(b,K,O);y.qS(D,V,v,t,h,ca,x);m&&y.Xc(!0);J.Xb(y,b,K,O,null,H.UGa);k.nE(b,K)?(N.IP(b,n,y.NK(),K,O,null,v,"low"),N.IP(b,n,y.NK(),K,O,null,v,"high")):N.IP(b,n,y.NK(),K,O,null,v);H=[];H.push(y);r&&0!=K||b.kO.push(H);B&&G.kua(b,K,O)&&N.IP(b,n,y.NK(),K,O,null,
  null,null,!0)}}if(z){z=new a.Ib(b.a,z);Z=k.Zb(b,K);z.ab(Z);if(Z=k.po(b,K))p=k.Qh(b,K),z.uc(Z,null,p);Z=k.Ir(b,K);p=k.N(b,K);z.sc(Z).Na(p);m&&z.Xc(!0);n.B(z)}}};N.FZa=function(b,n){var d=b.A(),g=b.Kc,l=b.Pd;if("candlestick"==k.hh(b,0))for(var r=G.j5(b,0),m=r.min-1;m<=r.max+1;m++)if(k.Ku(b,0,m)){var c=G.te(b,0,m);if(c){var C=c.open,B=c.close,e=c.low,t=c.high,h=null!=e&&null!=t;if(null!=C&&null!=B){var c=G.wo(b,0,m),c=g.ih(c),u=k.fba(b,0,m),C=l.nm(C),B=l.nm(B),f,w=null;h&&(f=l.nm(e),w=l.nm(t));e=new ja(b.a,
  c,u,C,B,f,w);n.B(e);k.gb(b,0,m)&&e.setCursor("pointer");t=q.vHa(b,0,m,u);h=null;u=k.po(b,0,m);w=k.Qh(b,0,m);u?h=new a.ma(u,null,w):t instanceof a.lb&&(h=new a.ma(t.Zb(),null,w));var u=k.Zb(b,0,m),w=k.hL(b),K=k.dE(b),z=d.styleDefaults.stockRangeColor;e.y7a(t,h,u,w,K);e.o8a(new a.oc(z),h,z,K);c=new a.P(c,(C+B)/2);J.Xb(e,b,0,m,null,c);c=[];c.push(e.Pj);b.kO.push(c)}}}};N.RYa=function(b,n,d){for(var g=b.Kc,q=0;q<G.gh(b);q++)for(var l=G.j5(b,q),r=l.min-1;r<=l.max+1;r++)if(k.Ku(b,q,r)&&"boxPlot"==k.hh(b,
  q)){var m=G.te(b,q,r);if(m){var c=m.low,C=m.q1,B=m.q2,e=m.q3,t=m.high;if(null!=c&&null!=C&&null!=B&&null!=e&&null!=t){var m=k.fba(b,q,r),h=k.uHa(b,r),u=G.Xo(b,q),f=G.jC(b,q),h=h[u?"y2":"y"][f]+m/2;a.m.ea(b.a)&&I.Ea(b)&&(h*=-1);f=G.wo(b,q,r);h=g.ih(f)+h;u=u?b.Bg:b.Pd;c=u.nm(c);C=u.nm(C);B=u.nm(B);e=u.nm(e);t=u.nm(t);u=k.AHa(b,q,r);m=new ea(b,h,m,c,C,B,e,t,u);n.B(m);k.gb(b,q,r)&&m.setCursor("pointer");e=N.FK(b,new a.P(h,B),d);J.Xb(m,b,q,r,null,e);N.SYa(b,n,q,r,d,h);b.kO.push([m.kB])}}}};N.SYa=function(b,
  n,d,g,q,l){for(var r=k.A4(b,d,g),m=k.Qh(b,d,g),c=new a.ma(r,null,m),C=[],B=G.xIa(b,d,g),e=0;e<B;e++){var t=N.oDa(b,d,g,e,q);t&&(I.Tg(b)?t.y=l:t.x=l,t=N.dz(b,t,r,m),null!=t&&C.push(t))}N.i9(b,n,C,c)};N.Noa=function(a,b,n,d){var g=[],q,l=G.gh(a);for(q=0;q<l;q++)k.In(a,q)&&"line"==k.hh(a,q)&&g.push(q);for(l=0;l<g.length;l++)q=g[l],"none"!=k.Fu(a,q)&&(N.cla(a,q),N.laa(a,n,q,d));for(l=0;l<g.length;l++)N.maa(a,b,g[l],d)};N.jaa=function(a,b,n,d){for(var g=G.gh(a),q=d?"lineWithArea":"area",l=[],r=[],m=0;m<
  g;m++)k.In(a,m)&&k.hh(a,m)==q&&(G.Xo(a,m)?r.push(m):l.push(m));0<l.length&&N.jFa(a,b,l,a.Pd.wz(),n,d);0<r.length&&N.jFa(a,b,r,a.Bg.wz(),n,d)};N.jFa=function(b,n,d,g,l,r){for(var m=I.rC(b),c=N.LU(b,n,l),C={},B={},e={},t={},h=[],u=G.lg(b),f=0;f<u;f++)h.push(new ca(null,g,g,f,G.eh(b,f),!0));for(u=0;u<d.length;u++){var f=d[u],w=G.jC(b,f),K=G.pua(b,f),z=C[w],Z=B[w],p=e[w],A=t[w];if("none"==k.Fu(b,f))N.maa(b,n,f,l);else{var S=q.D1a(b,f),H=k.po(b,f),y=k.Qh(b,f),V=k.pHa(b,f),v=k.rHa(b,f),x=H?new a.ma(H,null,
  y):null,y=k.Fu(b,f);N.cla(b,f);var D;k.nE(b,f)?(D=N.a$(b,f,"high"),z=N.a$(b,f,"low"),Z=y):K?(D=N.NCa(b,f,p?p:h),z=p?p:[],Z=A):(D=N.NCa(b,f,z?z:h),z=z?z:[]);S=new O(b,!0,l,g,v,V,S,x,y,D,Z,z);c.B(S);b.oVa.push(S);J.Xb(S,b,f);K?(e[w]=D,t[w]=y):(C[w]=D,B[w]=y);m||((r||0<k.WD(b)&&!H)&&N.laa(b,c,f,l,!r),r||N.maa(b,n,f,l),u+1<d.length&&(c=N.LU(b,n,l)))}}for(u=0;u<d.length;u++)f=d[u],"none"!=k.Fu(b,f)&&(g=k.po(b,f)||k.po(b,f+1),m&&(r||0<k.WD(b)&&!g)&&N.laa(b,c,f,l,!r),(m||r)&&N.maa(b,n,f,l))};N.NCa=function(a,
  b,n){b=N.a$(a,b);for(var d=[],k=0;k<n.length;k++)d.push(n[k].clone());n=b.length-1;a=I.bg(a);for(k=0;k<b.length;k++)if(null!=b[k].x){var g=d[b[k].hE],q=a&&0==k?n:k-1,l=a&&k==n?0:k+1;0<=q&&null!=b[q].x&&(g.Pl=b[k].Pl);l<=n&&null!=b[l].x&&(g.bq=b[k].bq);g.x=b[k].x;g.KK=g.Pl==g.bq?b[k].KK:!1}return d};N.laa=function(b,n,d,g,q){function l(a){a=N.a$(b,d,a);a=new O(b,!1,g,C,t,e,null,r,B,a);n.B(a);J.Xb(a,b,d)}var r;if(q)q=2.5*k.WD(b),r=new a.ma(k.MK(b,!0),1,q);else{q=k.Zb(b,d);var m=k.bV(b,d),c=a.Pa.UB(k.eIa(b,
  d));r=new a.ma(q,1,m);r.Na(c)}var C=G.Xo(b,d)?b.Bg.wz():b.Pd.wz(),B=k.Fu(b,d),e=k.Ir(b,d),t=k.N(b,d);k.nE(b,d)?(l("high"),l("low")):l("value")};N.EVa=function(b){var n=G.gh(b),d=G.lg(b);if(n*d<N.Hea)return null;for(var g,q=[],l=0;l<n;l++)if(k.In(b,l))for(var r=0;r<d;r++)g=N.XWa(b,l,r),null!=g&&q.push(g);if(q.length<N.Hea)return null;ma.K8a(q);for(var n=new a.rn(25,new a.rn(5,new a.rn)),d=[],m=q.length-1;0<=m;m--)if(g=q[m],!ma.I0a(n,g.x,g.y,g.size)){var c=k.Zb(b,g.bwa,g.hE),c=k.vV(b,l,r)?a.D.Jb(c):
  0;0<c&&(ma.d9a(n,g.x,g.y,g.size,c),d.push(g))}b.Vb.Pf("dataFiltered",!0);d.reverse();return d};N.cla=function(a,b){if(!I.bg(a)&&!k.nE(a,b)){var n=a.Ev.b,d=G.xg(a,b).items,g="bar"==k.hh(a,b),q=a.Kc.Fn(),n=(q=(q.fs-q.Zu)/(q.rh-q.Ye))?Math.round(d.length/q*(g?.5:2)/n):1;if(n<(g?2:3))for(q=0;q<d.length;q++)(C=d[q])&&(C._filtered=!1);else{for(var l,r,m,c,C,B,e=!1,q=0;q<d.length;q+=n){l=-1;r=-Infinity;m=-1;c=Infinity;for(var t=q;t<Math.min(q+n,d.length);t++)B=G.$B(a,b,t),C=d[t],null!=B&&null!=C&&((!g||
  0<B)&&B>r&&(l=t,r=B),(!g||0>B)&&B<c&&(m=t,c=B),e=C._filtered=!0);for(t=q;t<Math.min(q+n,d.length);t++)C=d[t],null==C||t!=l&&t!=m||(C._filtered=!1)}a.Vb.Pf("dataFiltered",e)}}};N.a$=function(a,b,n){var d=a.Kc,g=a.Pd;G.Xo(a,b)&&(g=a.Bg);for(var q=[],l=G.j5(a,b),r=l.min-1;r<=l.max+1;r++){var m=G.eh(a,r);if(null!=m){var c=G.wo(a,b,r),C=null;"low"==n?C=G.Kr(a,b,r):"high"==n?C=G.Jr(a,b,r):null!=G.getValue(a,b,r)&&(C=G.$B(a,b,r));null==C||isNaN(C)||!k.Ku(a,b,r)?q.push(new ca(null,null,null,r,m,!1)):(I.bg(a)&&
  (C=Math.max(C,g.Fn().Ye)),c=d.ih(c),C=g.ih(C),null==c||null==C?q.push(new ca(null,null,null,r,m,!1)):(m=new ca(c,C,C,r,m,G.G5(a,b,r)),q.push(m)))}}return q};N.LU=function(n,d,k){var g=new a.ca(d.a);d.B(g);d=new a.fc(n.getId());var q=N.DVa(n);I.bg(n)?(q=k.x+k.b/2,k=k.y+k.i/2,b.sV(n)?(n=a.sj.pR(q,k,G.lg(n),n.nk(),0),d.sGa(n)):d.mGa(q,k,n.nk())):I.Tg(n)?d.qe(k.x-q,k.y,k.b+2*q,k.i):d.qe(k.x,k.y-q,k.b,k.i+2*q);g.be(d);return g};N.wL=function(b,n,d){return new a.P(d.x+d.b/2+b*Math.sin(n),d.y+d.i/2-b*Math.cos(n))};
  N.FK=function(b,n,d){return I.bg(b)?(b=N.wL(n.y,n.x,d),new a.P(b.x,b.y)):I.Tg(b)?new a.P(n.y,n.x):new a.P(n.x,n.y)};N.DVa=function(a){if((I.sJa(a)||I.tJa(a))&&!I.tL(a)){var b=k.bV(a),n=function(a){var n=a.Fn();a=n.jj(n.js);var d=n.jj(n.fs),k=n.jj(n.ks),n=n.jj(n.Zu);return null!=a&&null!=d&&d-a<=b/2||null!=k&&null!=n&&k-n<=b/2?!0:!1};if(a.Pd&&n(a.Pd)||a.Bg&&n(a.Bg))return Math.ceil(b/2)}return 0};var pa={};a.f.v(pa,a.f);pa.JQa=1/36;pa.IQa=1/70;pa.LRa=.25;pa.ZC=0;pa.FSa=1E-4;pa.ia=function(b,n,d){var g=
  new a.ca(b.a);g.jb(d.x,d.y);n.B(g);b.Zca(g);var q=I.Tg(b),l;if(q)l=new a.U(0,0,d.b,d.i);else{var r=new a.Da;l=a.m.ea(b.a)?-1:1;r.translate(-d.i/2,-d.b/2);r.rotate(l*Math.PI/2);r.translate(d.x+d.b/2,d.y+d.i/2);l=new a.U(0,0,d.i,d.b);g.Xa(r)}Q.sqa(b,g,d,q);pa.gZa(b,g,l)||U.um(b,n,d);n=G.k4(b);Q.iS(b,n);b.Zd(k.$U(b))};pa.gZa=function(a,b,n){for(var d=a.A(),g=G.gh(a),d=k.WD(a)*Math.min(pa.LRa*n.b/(g-1),("on"==d.styleDefaults.threeDEffect?pa.JQa:pa.IQa)*n.b),q=0,l=0,r=0,m=0;m<g;m++)if(k.Ku(a,m)){var c=
  G.Z4(a,m);null==c&&(c=G.getValue(a,m,pa.ZC));0>=c||(q+=c)}if(0==q)return!1;for(m=g-1;0<=m;m--)k.Ku(a,m)&&(c=G.getValue(a,m,pa.ZC),g=G.Z4(a,m),0>=c&&null==g||null!=g&&0>=g||(null!=g?g:c)<pa.FSa*q||(null!=g?(r+=g/q,g=new B(a,m,l,n.b,n.i,1-r,g/q,c/g,d)):(r+=c/q,g=new B(a,m,l,n.b,n.i,1-r,c/q,null,d)),l++,b.B(g),J.Xb(g,a,m,pa.ZC)));return!0};var ra={};a.f.v(ra,a.f);ra.UQa=1/70;ra.HRa=.25;ra.ZC=0;ra.ia=function(b,n,d){var g=new a.ca(b.a);g.jb(d.x,d.y);n.B(g);b.Zca(g);var q=new a.U(0,0,d.b,d.i);Q.sqa(b,
  g,d,!0);ra.BZa(b,g,q)||U.um(b,n,d);n=G.k4(b);Q.iS(b,n);b.Zd(k.$U(b))};ra.BZa=function(a,b,n){for(var d=G.gh(a),q=k.WD(a)*Math.min(ra.HRa*n.i/(d-1),ra.UQa*n.i),l=0,r=0,m=0,c=0;c<d;c++)if(k.Ku(a,c)){var C=G.getValue(a,c,ra.ZC);0>=C||(l+=C)}if(0==l)return!1;for(c=0;c<d;c++)if(k.Ku(a,c)&&(C=G.getValue(a,c,ra.ZC),!(0>=C))){var B=new g(a,c,r,n.b,n.i,m,C/l,q),m=m+C/l;r++;b.B(B);J.Xb(B,a,c,ra.ZC)}return!0};var oa={};a.f.v(oa,a.f);oa.N6a=function(a,b,n){oa.rFa(a,b,n,"back")};oa.S6a=function(a,b,n){oa.rFa(a,
  b,n,"front")};oa.rFa=function(a,b,d,k){oa.Uoa(a,b,d,k,a.Kc,n.hI(a,"x"));oa.Uoa(a,b,d,k,a.Pd,n.hI(a,"y"));oa.Uoa(a,b,d,k,a.Bg,n.hI(a,"y2"))};oa.Uoa=function(a,b,d,k,g,q){if(q&&g)for(var l=0;l<q.length;l++){var r=q[l];if(n.LJa(a,r)&&r&&n.aE(r)==k){var m,c=n.Hc(r);"area"==c?m=oa.eVa(r,a,d,g):"line"==c&&(m=oa.fVa(r,a,d,g));null!=m&&(r=new T(a,[m],r,l,g==a.Kc?"xAxis":g==a.Pd?"yAxis":"y2Axis"),a.zL(r),a.Nb().Xb(m,r),b.B(m))}}};oa.eVa=function(d,k,g,q){var l=k.a,r=q.Sh(),m="top"==r||"bottom"==r,c="radial"==
  r,r=n.Zb(d),C=n.Fu(d),B=d.style||d.svgStyle,e=d.className||d.svgClassName;if(null==d.items||q!=k.Pd&&q!=k.Bg){C=n.Kr(d);d=n.Jr(d);if(null==C||-Infinity==C)C=q.Fn().ks;if(null==d||Infinity==d)d=q.Fn().js;C=oa.pla(k,q,C);q=oa.pla(k,q,d);I.bg(k)?(m=g.x+g.b/2,d=g.y+g.i/2,c?b.sV(k)?(g=G.lg(k),k=a.sj.pR(m,d,g,q,0,1),g=a.sj.pR(m,d,g,C,0,0),g=a.G.Z5(k)+a.G.Z5(g)+a.G.closePath()):g=a.G.moveTo(m,d-q)+a.G.arcTo(q,q,Math.PI,1,m,d+q)+a.G.arcTo(q,q,Math.PI,1,m,d-q)+a.G.moveTo(m,d-C)+a.G.arcTo(C,C,Math.PI,0,m,d+
  C)+a.G.arcTo(C,C,Math.PI,0,m,d-C)+a.G.closePath():(k=k.nk(),c=N.wL(k,C,g),g=N.wL(k,q,g),g=a.G.moveTo(m,d)+a.G.lineTo(c.x,c.y)+a.G.arcTo(k,k,q-C,a.m.ea(l)?0:1,g.x,g.y)+a.G.lineTo(g.x,g.y)+a.G.closePath()),g=new a.Ib(l,g)):g=new a.Sf(l,m?[C,0,q,0,q,g.i,C,g.i]:[0,C,0,q,g.b,q,g.b,C]);g.ab(r);g.Na(B).sc(e)}else{l=d.items;c=[];m=[];if(k.Kc.I5())for(;l.length<G.lg(k);)l.push(null);for(d=0;d<l.length;d++){var t=l[d],h=n.Kr(t),t=n.Jr(t);if(null==h||null==t)c.push(new ca),m.push(new ca);else{var h=q.ih(h),
  t=q.ih(t),u=k.Kc.ih(n.wo(k,l,d));c.push(new ca(u,t,t));m.push(new ca(u,h,h))}}g=new O(k,!0,g,null,B,e,new a.oc(r),null,C,c,C,m)}return g};oa.fVa=function(d,k,g,q){var l=q.Sh(),r="top"==l||"bottom"==l,m="radial"==l,c="tangential"==l,l=n.bV(d),C=n.Fu(d),B=n.Zb(d),l=new a.ma(B,1,l),B=d.style||d.svgStyle,e=d.className||d.svgClassName;d.lineStyle&&l.Na(a.Pa.UB(d.lineStyle));var t=k.a;if(null==d.items||q!=k.Pd&&q!=k.Bg)if(d.value){d=oa.pla(k,q,d.value);if(null==d||Infinity==d||-Infinity==d)return null;
  q=g.x+g.b/2;C=g.y+g.i/2;m?(b.sV(k)?(m=a.sj.pR(q,C,G.lg(k),d,0),k=new a.Sf(t,m)):k=new a.Ui(t,q,C,d),k.Ia(null)):c?(k=N.wL(k.nk(),d,g),k=new a.Fb(t,q,C,k.x,k.y)):(k=r?new a.Fb(t,d,0,d,g.i):new a.Fb(t,0,d,g.b,d),k.Xc(!0));k.Ha(l);k.Na(B).sc(e)}else return null;else{r=d.items;m=[];if(k.Kc.I5())for(;r.length<G.lg(k);)r.push(null);m=[];for(c=0;c<r.length;c++)t=r[c],d=null,null!=t&&("object"!=typeof t?d=t:null!=t.value&&(d=t.value)),null==d?m.push(new ca):(t=q.ih(d),d=k.Kc.ih(n.wo(k,r,c)),m.push(new ca(d,
  t,t)));k=new O(k,!1,g,null,B,e,null,l,C,m)}return k};oa.pla=function(a,b,n){return b.I5()&&(a=G.Zj(a,n),0<=a)?b.ih(a):isNaN(n)?null:b.ih(n)};a.Vk=function(){};a.f.v(a.Vk,a.ec);a.Vk.newInstance=function(b,n,d){var k=new a.Vk;b.Gc.setCursor("");k.Init(b,n,d);return k};a.Vk.Vo=function(a){return(new D).Vo(a)};a.Vk.prototype.Init=function(b,n,d){a.Vk.C.Init.call(this,b,n,d);this.Ff=new D;this.u=new F(this);this.u.Lf(this);this.ba=a.Ac.newInstance(b,this.P$,this);this.B(this.ba);a.m.eb()||this.u.Zr(new a.ya(this.u,
  this));this.BU=new a.Rect(b);this.B(this.BU);this.setId("sparkChart1000"+Math.floor(1E9*Math.random()))};a.Vk.prototype.me=function(b){b?(this.J=this.Ff.no(b),a.m.Il()||(this.J.animationOnDisplay="none",this.J.animationOnDataChange="none")):this.J||(this.J=this.dA())};a.Vk.prototype.setId=function(b){a.Vk.C.setId.call(this,b);this.ba&&this.ba.setId(b+"chart")};a.Vk.prototype.ia=function(b,n,d){this.me(b);isNaN(n)||isNaN(d)||(this.Oa=n,this.bb=d);this.bEa=this.tCa=!1;va.ia(this,this.Oa,this.bb);b=
  this.J.shortDesc;this.BU.kb(this.Oa);this.BU.Lb(this.bb);this.BU.Yb();n=(n=this.J.tooltip)?n.renderer:null;d=this.J.color;n?(b={component:this.J._widgetConstructor,color:d},this.hm=new a.jw(this.a.cf(),n,d,b),this.u.Xb(this.BU,this.hm)):b?(this.hm=new a.qg(null,b,d),this.u.Xb(this.BU,this.hm)):this.hm=null;this.J._selectingCursor&&this.setCursor("pointer");this.ps();this.tCa&&this.nl();this.bEa=!0};a.Vk.prototype.P$=function(a){this.tCa=!0;"ready"==a.type&&this.bEa&&this.nl()};a.Vk.prototype.Bi=function(){return new E(this)};
  a.Vk.prototype.vk=function(){return a.I.Zc(this.A(),"componentName",a.I.pa,"CHART")};a.Vk.prototype.ps=function(){var b=a.R.mm(a.bc.Wv(this.vk()),this.J.shortDesc?[this.J.shortDesc]:null);this.WS()?(this.a.zg("img"),this.a.ZR(a.I.Ja(a.I.pa,"COLON_SEP_LIST",[a.I.Ja(a.I.pa,"DATA_VISUALIZATION"),b]))):(this.zg("img"),this.Od("label",b))};a.Vk.prototype.uT=function(){return this.hm};a.f.v(E,a.Lc);E.prototype.te=function(a){return(a=this.L2.ba.Bi().te(0,a))?{borderColor:a.borderColor,color:a.color,date:a.x,
  low:a.low,high:a.high,value:null==a.low||null==a.high?a.value:a.high-a.low}:null};a.f.v(D,a.ka);D.Qg={skin:a.j.Qg,color:"#267db3"};D.If={skin:a.j.Hm,type:"line",animationOnDisplay:"none",animationOnDataChange:"none",emptyText:null,color:"#666699",firstColor:null,lastColor:null,highColor:null,lowColor:null,visualEffects:"auto",baselineScaling:"min",barSpacing:"auto",lineWidth:1,lineStyle:"solid",lineType:"straight",markerSize:5,markerShape:"auto",barGapRatio:.25,_statusMessageStyle:new a.j("font-size: 12px; color: #404259;")};
  a.f.v(F,a.u);F.prototype.Vl=function(b){if(!this.ya)return!1;if(b.keyCode==a.KeyboardEvent.rg){var n=this.L2.a.Hu();this.oF(b,n.x,n.y,this.L2.uT(),this.L2)}return!1};F.prototype.vw=function(a){F.C.vw.call(this,a);this.ed()};var va={};a.f.v(va,a.f);va.ia=function(a,b,n){var d=a.ba,k=va.JUa(a),g=a.A();if("area"==g.type||"line"==g.type||"lineWithArea"==g.type){a=va.XCa(a);var q=!1;if(g.firstColor||g.lastColor||g.highColor||g.lowColor)q=!0;else for(var l=0;l<a.length;l++)if(a[l]&&"on"==a[l].markerDisplayed){q=
  !0;break}if(q&&0<a.length||"none"==g.lineType)g=g.markerSize/2,b-=2*g,n-=2*g,d.jb(g,g)}d.ia(k,b,n)};va.XCa=function(a){return(a=a.A())&&a.items?a.items:[]};va.JUa=function(b){var n=b.A(),d={styleDefaults:{},xAxis:{},yAxis:{},groups:[]};d.translations=n.translations;var k=[],g=-1,q=-1,l=-Infinity,r=Infinity;b=va.XCa(b);for(var m=0;m<b.length;m++){var c=b[m],C={};if(c instanceof Object){C.value=c.value;C.low=c.low;C.high=c.high;c.date&&(d.timeAxisType="enabled",d.groups.push(c.date));"on"==c.markerDisplayed&&
  (C.markerDisplayed="on");c.color&&(C.color=c.color);c.borderColor&&(C.borderColor=c.borderColor);c.markerShape&&(C.markerShape=c.markerShape);c.markerSize&&(C.markerSize=c.markerSize);if(c.className||c.svgClassName)C.svgClassName=c.className||c.svgClassName;if(c.style||c.svgStyle)C.svgStyle=c.style||c.svgStyle}else C.value=c;k.push(C);c=null!=C.value?C.value:Math.max(C.low,C.high);l<c&&(l=c,g=m);C=null!=C.value?C.value:Math.min(C.low,C.high);r>C&&(r=C,q=m)}n.highColor&&0<=g&&(k[g].markerDisplayed=
  "on",k[g].color||(k[g].color=n.highColor));n.lowColor&&0<=q&&(k[q].markerDisplayed="on",k[q].color||(k[q].color=n.lowColor));n.firstColor&&0<k.length&&(k[0].markerDisplayed="on",k[0].color||(k[0].color=n.firstColor));n.lastColor&&0<k.length&&(k[k.length-1].markerDisplayed="on",k[k.length-1].color||(k[k.length-1].color=n.lastColor));d.series=[{items:k,areaColor:n.areaColor,svgClassName:n.className||n.svgClassName,svgStyle:n.style||n.svgStyle,areaSvgClassName:n.areaClassName||n.areaSvgClassName,areaStyle:n.areaStyle||
  n.areaSvgStyle}];n.referenceObjects&&(d.yAxis.referenceObjects=n.referenceObjects);d.__spark=!0;k=n.barSpacing;"auto"==k&&(k=1<a.m.YU()?"subpixel":"pixel");d.__sparkBarSpacing=k;d.type=n.type;d.animationOnDataChange=n.animationOnDataChange;d.animationOnDisplay=n.animationOnDisplay;d.emptyText=n.emptyText;d.styleDefaults.colors=[n.color];d.styleDefaults.animationDuration=n.animationDuration;d.styleDefaults.animationIndicators="none";d.styleDefaults.lineWidth=n.lineWidth;d.styleDefaults.lineStyle=n.lineStyle;
  d.styleDefaults.lineType=n.lineType;d.styleDefaults.markerSize=n.markerSize;d.styleDefaults.markerShape=n.markerShape;d.styleDefaults.barGapRatio=n.barGapRatio;d.styleDefaults.dataItemGaps="0%";d.xAxis.rendered="off";d.yAxis.rendered="off";k="zero"==n.baselineScaling;g=l!=r?.1*(l-r):.1*Math.abs(l);d.yAxis.min=k&&0<=r?0:r-g;d.yAxis.max=k&&0>=l?0:l+g;d.styleDefaults.seriesEffect="none"==n.visualEffects||"area"!=n.type&&"lineWithArea"!=n.type?"color":"gradient";d.layout={gapWidthRatio:0,gapHeightRatio:0};
  d.legend={rendered:"off"};d._statusMessageStyle=n._statusMessageStyle;return d};a.K(a,"Chart",a.Ac);a.K(a.Ac,"newInstance",a.Ac.newInstance);a.K(a.Ac.prototype,"destroy",a.Ac.prototype.Ec);a.K(a.Ac.prototype,"getAutomation",a.Ac.prototype.Bi);a.K(a.Ac.prototype,"getDefaults",a.Ac.prototype.Vo);a.K(a.Ac.prototype,"getValuesAt",a.Ac.prototype.Ata);a.K(a.Ac.prototype,"highlight",a.Ac.prototype.Zd);a.K(a.Ac.prototype,"positionDataCursor",a.Ac.prototype.nKa);a.K(a.Ac.prototype,"render",a.Ac.prototype.ia);
  a.K(a.Ac.prototype,"select",a.Ac.prototype.select);a.K(L.prototype,"getDomElementForSubId",L.prototype.Rh);a.K(L.prototype,"getDataItem",L.prototype.te);a.K(L.prototype,"getGroup",L.prototype.eh);a.K(L.prototype,"getSeries",L.prototype.Ch);a.K(L.prototype,"getGroupCount",L.prototype.lg);a.K(L.prototype,"getSeriesCount",L.prototype.gh);a.K(L.prototype,"getTitle",L.prototype.py);a.K(L.prototype,"getLegend",L.prototype.x4);a.K(L.prototype,"getPlotArea",L.prototype.Az);a.K(L.prototype,"getXAxis",L.prototype.A4a);
  a.K(L.prototype,"getYAxis",L.prototype.E4a);a.K(L.prototype,"getY2Axis",L.prototype.D4a);a.K(R.prototype,"getId",R.prototype.getId);a.K(R.prototype,"getSeries",R.prototype.Ch);a.K(R.prototype,"getGroup",R.prototype.eh);a.K(a,"SparkChart",a.Vk);a.K(a.Vk,"newInstance",a.Vk.newInstance);a.K(a.Vk.prototype,"destroy",a.Vk.prototype.Ec);a.K(a.Vk.prototype,"getAutomation",a.Vk.prototype.Bi);a.K(a.Vk.prototype,"getDefaults",a.Vk.prototype.Vo);a.K(a.Vk.prototype,"render",a.Vk.prototype.ia);a.K(E.prototype,
  "getDataItem",E.prototype.te)})(dvt);
    return dvt;
  });
  