if(!_.pareto){_.pareto=1;(function($){var xU=function(a){$.wr.call(this,a);this.g=[];this.f=[];this.Vg=[];this.b=0},yU=function(a,b,c,d,e){$.gB.call(this,a,b,c,d,e)},AU=function(a,b,c){if($.n(c)&&-1<c){var d=null;a=a.data();$.n(a)&&(a=a.Cl(c),$.K(a,xU)||$.K(a,zU))&&(d={},d.cf=$.Qm(a.JC(c),2),d.rf=$.Qm(a.yG(c),2))}d&&(b.cf=d.cf,b.rf=d.rf)},zU=function(a){$.wr.call(this,a)},BU=function(){$.BB.call(this);this.Fa("pareto");this.G=$.Ts();this.G.uh(0).Rh(100);this.je="pareto"},CU=function(a){if($.n(a.g)){var b=a.g;$.qr(b);b=b.b;var c=a.Nh(0),
d;c?d=c.bb():d=a.bb();d.uh(0);b?d.Rh(b):d.Rh(1)}},Kfa=function(a,b){return $.wo(a)?$.wo(b)?-1:1:$.wo(b)?-1:b-a},DU=function(a){var b=new BU;b.pa("defaultSeriesType","column");b.Kg();b.ld();b.data(a);return b};$.H(xU,$.wr);$.g=xU.prototype;$.g.sa=1;$.g.Aj=function(a,b,c){a=xU.u.Aj.call(this,a,b,c);"value"==c&&(a=$.N(a),(0,window.isNaN)(a)||0>a)&&(a=0);return a};
$.g.pF=function(){this.g=[];this.f=[];this.Vg=[];this.b=0;this.I(1);for(var a=this.aa(),b;a.advance();)b=a.get("value"),this.Vg.push(b),this.b+=b;if(this.Vg.length)if(0==this.b)for(a=0;a<this.Vg.length;a++)this.g[a]=0,this.f[a]=0;else for(this.g[0]=this.f[0]=100*this.Vg[0]/this.b,a=1;a<this.Vg.length;a++)this.g[a]=100*this.Vg[a]/this.b,this.f[a]=this.f[a-1]+100*this.Vg[a]/this.b;return null};$.g.dI=function(a){this.et=null;$.X(a,16)&&this.B(1,16)};$.g.JC=function(a){return this.f[a]};$.g.yG=function(a){return this.g[a]};
$.g.ej=function(a){return this.Vg[a]};$.H(yU,$.gB);$.g=yU.prototype;$.g.FE={"%BubbleSize":"size","%RangeStart":"low","%RangeEnd":"high","%XValue":"x","%CF":"cf","%RF":"rf"};$.g.Em=function(a,b){var c=yU.u.Em.call(this,a,b),d=this.data(),e;$.n(d)&&$.n(c.index)&&-1<(e=Number(c.index.value))&&(d=d.Cl(e),$.K(d,xU)||$.K(d,zU))&&(c.cf={value:$.Qm(d.JC(e),2),type:"number"},c.rf={value:$.Qm(d.yG(e),2),type:"number"});return c};$.g.Ae=function(a,b){var c=yU.u.Ae.call(this,a,b);AU(this,c,c.index);return c};
$.g.Fi=function(a){a=yU.u.Fi.call(this,a);AU(this,a,a.index);return a};$.g.Rd=function(a){var b=yU.u.Rd.call(this,a);AU(this,b,a);return b};$.H(zU,$.wr);zU.prototype.Aj=function(a,b,c){return"value"==c?this.$d.JC(b):zU.u.Aj.call(this,a,b,c)};zU.prototype.JC=function(a){return this.$d.JC(a)};zU.prototype.yG=function(a){return this.$d.yG(a)};$.H(BU,$.BB);
BU.prototype.data=function(a,b){if($.n(a)){if(a){var c=a.title||a.caption;c&&this.title(c);a.rows&&(a=a.rows)}if(this.lI!==a){this.lI=a;$.qd(this.Ql);$.K(a,$.pr)?this.$d=this.Ql=a.tj():$.K(a,$.zr)?this.$d=this.Ql=a.ie():this.$d=(this.Ql=new $.zr($.A(a)||$.z(a)?a:null,b)).ie();$.V(this);this.g&&$.Zq(this.g,this.Id,this);$.qd(this.g);this.g=new xU(this.$d.sort("value",Kfa));$.L(this.g,this.Id,this);CU(this);c=this.Nh(0);var d=this.Nh(1);this.ba&&$.qd(this.ba);this.ba=this.g.tj();c||(c=this.column());
c.data(this.ba);this.eb&&$.qd(this.eb);this.eb=new zU(this.g);d||(d=this.line().clip(!1).Eb(!0).bb(this.G));d.data(this.eb);this.da(!0)}return this}return this.g};BU.prototype.Id=function(a){$.X(a,16)&&CU(this)};var EU={},FU=$.tG|7864320;EU.area={Ab:1,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};EU.bar={Ab:6,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};
EU.box={Ab:3,Fb:2,Jb:[$.tH,$.TG,$.bP,$.cP,$.dP],Ib:null,Cb:null,zb:FU,yb:"highest",wb:"lowest"};EU.bubble={Ab:4,Fb:2,Jb:[$.WG,$.XG,$.$G,$.bH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"value"};EU.candlestick={Ab:5,Fb:2,Jb:[$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};EU.column={Ab:6,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};EU["jump-line"]={Ab:19,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:null,Cb:null,zb:FU,yb:"value",wb:"value"};
EU.stick={Ab:20,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};EU.line={Ab:8,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:FU,yb:"value",wb:"value"};EU.marker={Ab:9,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:$.tG|3670016,yb:"value",wb:"value"};EU.ohlc={Ab:10,Fb:2,Jb:[$.dH,$.iH],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};EU["range-area"]={Ab:11,Fb:1,Jb:[$.QG,$.sH,$.oH,$.TG,$.nH,$.rH,$.VG,$.UG],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};
EU["range-bar"]={Ab:12,Fb:2,Jb:[$.tH,$.TG,$.pH,$.qH,$.VG,$.UG],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};EU["range-column"]={Ab:12,Fb:2,Jb:[$.tH,$.TG,$.pH,$.qH,$.VG,$.UG],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};EU["range-spline-area"]={Ab:13,Fb:1,Jb:[$.QG,$.oH,$.sH,$.TG,$.nH,$.rH,$.VG,$.UG],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};EU["range-step-area"]={Ab:14,Fb:1,Jb:[$.QG,$.TG,$.oH,$.sH],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};
EU.spline={Ab:15,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:FU,yb:"value",wb:"value"};EU["spline-area"]={Ab:16,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};EU["step-area"]={Ab:17,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};EU["step-line"]={Ab:18,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:FU,yb:"value",wb:"value"};BU.prototype.Oi=EU;$.yz(BU,BU.prototype.Oi);
$.g=BU.prototype;$.g.kt=function(a,b){return new yU(this,this,a,b,!0)};$.g.Zz=function(){return $.Ps};$.g.RC=function(){return["Pareto chart xScale","ordinal"]};$.g.EG=function(){return 3};$.g.TL=function(){return["Pareto chart yScale","scatter","linear, log"]};$.g.At=function(){return[this]};$.g.mG=function(){return["value","CF","RF"]};$.g.h3=function(a,b,c){b=c.la();c=this.g.Cl(b);a[1]=c.ej(b);a[2]=c.JC(b);a[3]=c.yG(b)};$.g.ob=function(){this.J(131072)&&CU(this);BU.u.ob.call(this)};
$.g.ei=function(a){this.J(131072)&&CU(this);return BU.u.ei.call(this,a)};$.g.q0=function(){return this.Va()};$.g.R=function(){$.td(this.g,this.$d,this.Ql,this.ba,this.eb);this.eb=this.ba=this.Ql=this.$d=this.g=null;$.qd(this.G);this.G=null;BU.u.R.call(this)};$.g.F=function(){var a=BU.u.F.call(this);$.n(this.data())&&(a.chart.data=this.data().F());return a};$.g.Kg=function(a){BU.u.Kg.call(this,a);this.ti(1).scale()||this.ti(1).scale(this.G)};
$.g.X=function(a,b){BU.u.X.call(this,a,b);b&&this.ti(1).scale(this.G);"data"in a&&this.data(a.data)};var GU=BU.prototype;GU.data=GU.data;GU.xScale=GU.Va;GU.yScale=GU.bb;GU.crosshair=GU.$g;GU.xGrid=GU.Zm;GU.yGrid=GU.$m;GU.xMinorGrid=GU.xr;GU.yMinorGrid=GU.Ar;GU.xAxis=GU.lh;GU.getXAxesCount=GU.QC;GU.yAxis=GU.ti;GU.getYAxesCount=GU.SC;GU.getSeries=GU.Ue;GU.lineMarker=GU.Jm;GU.rangeMarker=GU.Sm;GU.textMarker=GU.Xm;GU.palette=GU.cc;GU.markerPalette=GU.sf;GU.hatchFillPalette=GU.oe;GU.getType=GU.Na;
GU.addSeries=GU.Rk;GU.getSeriesAt=GU.Nh;GU.getSeriesCount=GU.Mj;GU.removeSeries=GU.mo;GU.removeSeriesAt=GU.Cn;GU.removeAllSeries=GU.kp;GU.getPlotBounds=GU.Rf;GU.xZoom=GU.Aq;GU.yZoom=GU.Bq;GU.xScroller=GU.rp;GU.yScroller=GU.Br;GU.getStat=GU.Eg;GU.annotations=GU.tk;GU.getXScales=GU.Sx;GU.getYScales=GU.Ux;$.Jp.pareto=DU;$.F("anychart.pareto",DU);}).call(this,$)}
