HEX
Server: Apache
System: Linux darrell.nocdirect.com 4.18.0-513.18.2.el8_9.x86_64 #1 SMP Sat Mar 30 06:10:41 EDT 2024 x86_64
User: joderbya (1358)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/joderbya/wlsa.quick-step-ei.com2/libs/js/anychart.min.js
(function(){var g,aa=this;function m(a){return void 0!==a}function ba(){}function ca(a){a.Xc=function(){return a.BF?a.BF:a.BF=new a}}
function ea(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function fa(a){return null===a}function ga(a){return null!=a}function r(a){return"array"==ea(a)}function ha(a){var b=ea(a);return"array"==b||"object"==b&&"number"==typeof a.length}function u(a){return"string"==typeof a}function ia(a){return"boolean"==typeof a}function y(a){return"number"==typeof a}function A(a){return"function"==ea(a)}function B(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
function D(a){return a[ja]||(a[ja]=++ka)}var ja="closure_uid_"+(1E9*Math.random()>>>0),ka=0;function la(a,b,c){return a.call.apply(a.bind,arguments)}function ma(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}
function na(a,b,c){na=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?la:ma;return na.apply(null,arguments)}function oa(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}}function pa(a,b){for(var c in b)a[c]=b[c]}var qa=Date.now||function(){return+new Date};function E(a,b){var c=a.split("."),d=aa;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&m(b)?d[e]=b:d[e]?d=d[e]:d=d[e]={}}function G(a,b){function c(){}c.prototype=b.prototype;a.v=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.yx=function(a,c,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[c].apply(a,h)}};var ra={},sa,ta,ua,va;E("anychart.VERSION","7.11.0.1136");E("anychart.DEVELOP",!1);E("anychart.DEFAULT_THEME","defaultTheme");E("anychart.PERFORMANCE_MONITORING",!1);var wa={};function xa(){this.w=0;this.g=this.b=this.N=this.m=NaN;this.B=!1;this.F=[];this.H=[];this.c=[];this.j=[];this.h=1}
function ya(a,b,c){switch(a.w){case 3:if(a.b==b&&a.g==c)break;var d=a.m,e=a.N,f=a.b,h=a.g;za(a,d,e,f,h,b,c);for(var d=d+a.j[0],e=e+a.j[1],k=f-a.c[0]*a.h,l=h-a.c[1]*a.h,n=(d+k)/2,p=(e+l)/2,q=0;q<a.a.length;q++)a.a[q].Hk(d,e,n,p).Hk(k,l,f,h);a.h=(b-f)*a.D;a.j[0]=a.c[0]*a.h;a.j[1]=a.c[1]*a.h;a.m=a.b;a.N=a.g;a.b=b;a.g=c;break;case 2:if(a.b==b&&a.g==c)break;d=a.m;f=a.b;h=a.g;za(a,d,a.N,f,h,b,c);e=(f-d)*a.D;d=-a.c[0]*e;e*=-a.c[1];for(k=0;k<a.a.length;k++)a.a[k].Hk(f+d,h+e,f,h);a.h=(b-f)*a.D;a.j[0]=a.c[0]*a.h;a.j[1]=a.c[1]*a.h;a.m=a.b;a.N=a.g;a.b=b;a.g=c;a.w=3;break;case 1:if(a.m==b&&a.N==c)break;a.b=b;a.g=c;a.w=2;break;case 0:a.m=b,a.N=c,a.w=1}}function Aa(a){switch(a.w){case 3:for(var b=a.m,c=a.N,d=a.b,e=a.g,f=0;f<a.a.length;f++)a.a[f].Hk(b+a.j[0],c+a.j[1],d,e);break;case 2:for(b=a.b,c=a.g,d=0;d<a.a.length;d++)a.a[d].lineTo(b,c)}a.w=0}function Ba(a,b){a.B&&(b=!b);a.D=b?-.25:.25}function Ca(a,b,c,d,e){a[0]=d-b;a[1]=e-c;b=Math.sqrt(a[0]*a[0]+a[1]*a[1]);a[0]/=b;a[1]/=b}
function za(a,b,c,d,e,f,h){Ca(a.F,d,e,b,c);Ca(a.H,d,e,f,h);0<=a.F[1]*a.H[1]?(a.c[0]=0>a.D?-1:1,a.c[1]=0):Ca(a.c,a.F[0],a.F[1],a.H[0],a.H[1])};function Da(a,b){this.a=a;this.index=Ea(b,0,!0);this.L={}}g=Da.prototype;g.S=function(){return this.index};g.Rj=function(){return this.a};g.get=function(a){return this.a.data().get(this.index,a)};g.set=function(a,b){this.a.data().set(this.index,a,b);return this};g.ik=function(a){var b=this.Rj(),c=Ga(b.state,H,this.index);return m(a)&&c!=a?(a?b.Ne(this.index):b.gc(this.index),this):c};g.ki=function(a){var b=this.Rj(),c=Ga(b.state,Ha,this.index);return m(a)&&c!=a?(a?b.select(this.index):b.hc(this.index),this):c};g.gn=function(){return this.index<this.a.data().Za()};g.$b=function(a){return m(this.L[a])?this.L[a]:this.get(a)};Da.prototype.getIndex=Da.prototype.S;Da.prototype.getChart=Da.prototype.Rj;Da.prototype.get=Da.prototype.get;Da.prototype.set=Da.prototype.set;Da.prototype.hovered=Da.prototype.ik;Da.prototype.selected=Da.prototype.ki;Da.prototype.exists=Da.prototype.gn;Da.prototype.getStat=Da.prototype.$b;function Ia(a,b){Da.call(this,a,b)}G(Ia,Da);Ia.prototype.ik=function(a){var b=Ja(this.Rj(),this.index),c=Ga(b.state,H,this.index);return m(a)&&c!=a?(a?b.rf():b.gc(),this):c};Ia.prototype.ki=function(a){var b=Ja(this.Rj(),this.index),c=Ga(b.state,Ha,this.index);return m(a)&&c!=a?(a?b.vf():b.hc(),this):c};Ia.prototype.hovered=Ia.prototype.ik;Ia.prototype.selected=Ia.prototype.ki;function La(a,b){Da.call(this,a,b)}G(La,Da);La.prototype.bf=function(){return this.a.data().l(this.index,"start")};La.prototype.b=function(){var a=this.a.data(),b=a.l(this.index,"start"),a=a.l(this.index,"sweep");return b+a};La.prototype.ki=function(a){return m(a)?(this.Rj().sy(this.index,!!a),this):this.a.data().l(this.index,"exploded")};La.prototype.c=La.prototype.ki;La.prototype.getStartAngle=La.prototype.bf;La.prototype.getEndAngle=La.prototype.b;La.prototype.hovered=La.prototype.ik;La.prototype.selected=La.prototype.ki;La.prototype.exploded=La.prototype.c;function Ma(a,b){Da.call(this,a.Hh(),b);this.Y=a}G(Ma,Da);g=Ma.prototype;g.Ee=function(){return this.Y};g.get=function(a){return this.Y.nF(this.index,a)};g.set=function(a,b){this.Y.NG(this.index,a,b);return this};g.fO=function(){return this.Y.kF(this.index)};g.gO=function(){return this.Y.lF(this.index)};g.ki=function(a){var b=this.Ee(),c=Ga(b.state,Ha,this.index);return m(a)&&c!=a?(a?b.select(this.index):b.hc(this.index),this):c};g.ik=function(a){var b=this.Ee(),c=Ga(b.state,H,this.index);return m(a)&&c!=a?(a?b.Ne(this.index):b.gc(this.index),this):c};g.gn=function(){return this.index<this.Y.G().Za()};Ma.prototype.get=Ma.prototype.get;Ma.prototype.set=Ma.prototype.set;Ma.prototype.hovered=Ma.prototype.ik;Ma.prototype.selected=Ma.prototype.ki;Ma.prototype.getSeries=Ma.prototype.Ee;Ma.prototype.getStackValue=Ma.prototype.fO;Ma.prototype.getStackZero=Ma.prototype.gO;Ma.prototype.exists=Ma.prototype.gn;function Na(a,b){Ma.call(this,a,b)}G(Na,Ma);Na.prototype.c=function(){return Math.abs(this.Y.data().l(this.index,"size"))};Na.prototype.getPixelRadius=Na.prototype.c;function Oa(a,b){this.a=a;this.node=b;this.index=b.l("index")}G(Oa,Da);g=Oa.prototype;g.S=function(){return this.index};g.Rj=function(){return this.a};g.Dy=function(){return this.node};g.get=function(a){return this.node.get.apply(this.node,arguments)};g.set=function(a){this.node.set.apply(this.node,arguments);return this};g.ik=function(a){var b=Ga(this.a.state,H,this.index);return m(a)&&b!=a?(a?this.a.rf(this.index):this.a.gc(this.index),this):b};g.ki=function(a){if(this.node.wb())return m(a)?this:!1;var b=Ga(this.a.state,Ha,this.index);return m(a)&&b!=a?(a?this.a.vf(this.index):this.a.hc(this.index),this):b};g.gn=function(){return!0};Oa.prototype.getIndex=Oa.prototype.S;Oa.prototype.getChart=Oa.prototype.Rj;Oa.prototype.getNode=Oa.prototype.Dy;Oa.prototype.get=Oa.prototype.get;Oa.prototype.set=Oa.prototype.set;Oa.prototype.hovered=Oa.prototype.ik;Oa.prototype.selected=Oa.prototype.ki;Oa.prototype.exists=Oa.prototype.gn;function Pa(a){this.a=a}var Qa=["topPadding","rightPadding","bottomPadding","leftPadding"];Pa.prototype.top=function(a){m(a)&&(a=Ra(a)||0);return this.a.la(Qa[0],a,Sa)};Pa.prototype.right=function(a){m(a)&&(a=Ra(a)||0);return this.a.la(Qa[1],a,Sa)};Pa.prototype.bottom=function(a){m(a)&&(a=Ra(a)||0);return this.a.la(Qa[2],a,Sa)};Pa.prototype.left=function(a){m(a)&&(a=Ra(a)||0);return this.a.la(Qa[3],a,Sa)};Pa.prototype.top=Pa.prototype.top;Pa.prototype.right=Pa.prototype.right;Pa.prototype.bottom=Pa.prototype.bottom;Pa.prototype.left=Pa.prototype.left;function Ta(a){this.target=a;this.b=[];this.c=[];this.a=Ua}function Va(a,b,c,d){if(!isNaN(c)){var e=Wa(a.b,c);if(b==Ua)0<e&&Xa(a,b,e);else{var f=!0,h=Ya(a,NaN);0>e?(Za(a.b,c,~e),Za(a.c,b,~e)):(f=!(a.c[e]&b))?a.c[e]|=b:m(d)&&(a.c[e]=d);a.target.enabled()&&a.target.G().select(c)&&(a.target.Fd()||a.target.yb()!=$a||(h?a.target.Bd(b):m(d)&&!h&&Ya(a,NaN)&&a.target.Bd(d)),f?a.target.Qd(b):m(d)&&a.target.Qd(d))}}}
function Ya(a,b){var c;if(m(b)){if(isNaN(b))return!ab(a,Ha)&&!(a.a&Ha);c=cb(a,+b)}else c=a.a;return!(c&Ha)}
Ta.prototype.wd=function(a,b,c){var d;if(m(b)){var e=this.target.G().Za(),f=!0;if(r(b))for(db(b),d=b.length;d--;){var h=+b[d];h<e&&(Va(this,a,h,c),f=!1)}else+b<e&&(Va(this,a,+b,c),f=!1);f||this.target.Kf()}else if(!(this.a&a)){b=Ua;a==Ua||a==H?b=H:a==Ha&&(b=Ha|H);for(d=this.c.length;d--;)eb(this,b,d)&&(this.target.G().select(this.b[d])&&this.target.Qd(Ua),fb(this.c,d,1),fb(this.b,d,1));this.target.Kf();if(Ya(this)){if(!this.target.Tb)if(this.target.Fd())for(d=this.target.Ya();d.advance();)b=d.S(),d.select(b)&&Ya(this,b)&&this.target.Bd(a);else Ya(this,NaN)&&this.target.Bd(a);this.a=a}}};Ta.prototype.h=function(a,b){if(this.target.G().select(b)){var c=Wa(this.b,b);a!=Ua&&(0>c?(Za(this.b,b,~c),Za(this.c,a,~c),this.a==Ua&&this.target.Qd(a),Ya(this,NaN)&&!this.target.Fd()&&this.target.yb()==$a&&this.target.Bd(a)):this.c[c]|=a)}};function hb(a,b){var c=H,d;if(m(b)){if(!(b>=a.target.G().Za())){if(r(b))for(db(b),d=b.length;d--;)a.h(c,+b[d]);else a.h(c,+b);a.target.Kf()}}else if(a.a&c)if(c==H){for(d=a.c.length;d--;)eb(a,c,d)&&(fb(a.c,d,1),fb(a.b,d,1));a.a=Ua}else c==Ha&&(a.c.length=0,a.b.length=0,a.a=Ua);else{for(d=a.c.length;d--;)eb(a,c,d)&&(fb(a.c,d,1),fb(a.b,d,1));a.a=c}}function eb(a,b,c){return!(a.c[c]&=~b)}
function Xa(a,b,c){var d=a.b[c];eb(a,b,c)?(fb(a.b,c,1),fb(a.c,c,1),a.target.enabled()&&a.target.G().select(d)&&a.a==Ua&&a.target.Qd(Ua)):a.target.enabled()&&a.target.G().select(d)&&a.a==Ua&&a.target.Qd(a.c[c])}function ib(a,b,c){isNaN(c)||(c=Wa(a.b,c),0<=c&&Xa(a,b,c))}
Ta.prototype.g=function(a,b){var c;if(m(b)){if(r(b))for(db(b),c=b.length;c--;)ib(this,a,+b[c]);else if(isNaN(b))for(c=this.b.length;c--;)Xa(this,a,c);else ib(this,a,+b);this.target.Kf();this.target.Fd()||this.target.yb()!=$a||this.target.Bd(ab(this,Ha)?Ha:ab(this,H)?H:Ua)}else{for(c=this.c.length;c--;)eb(this,a,c)&&(this.target.G().select(this.b[c])&&this.target.Qd(Ua),fb(this.b,c,1),fb(this.c,c,1));this.target.Kf();this.a&=~a;if(!this.target.Tb)if(this.target.Fd())for(c=this.target.Ya();c.advance();){var d=c.S();c.select(d)&&Ya(this,d)&&this.target.Bd(this.a)}else this.target.Bd(this.a)}};function jb(a,b){for(var c=[],d=0,e=a.c.length;d<e;d++)b&a.c[d]&&c.push(a.b[d]);return c}function cb(a,b){var c=+b;return isNaN(c)?Ua:(c=Wa(a.b,c),0<=c?a.c[c]:Ua)}function Ga(a,b,c){c=Wa(a.b,c);return!!(b&a.c[c])}function ab(a,b){return 0<=kb(a.c,function(a){return!!(a&b)})}Ta.prototype.Cc=function(){return this.a};function lb(a,b){return!!(a&b)}function mb(a){return Math.min(a&(H|Ha),Ha)}
function nb(a){Ta.call(this,a)}G(nb,Ta);nb.prototype.h=function(a,b){if(this.target.G().select(b)){var c=Wa(this.b,b);a!=Ua&&(0>c?(Za(this.b,b,~c),Za(this.c,a,~c),this.a==Ua&&this.target.Qd(a),Ya(this,NaN)&&!this.target.Fd()&&this.target.yb()==$a&&this.target.Bd(a)):(this.c[c]|=a,this.target.Qd(this.c[c])))}};function ob(a){Ta.call(this,a)}G(ob,Ta);ob.prototype.wd=function(a,b,c){var d;if(m(b)){var e=this.target.G().Za(),f=!0;if(r(b))for(db(b),d=b.length;d--;){var h=+b[d];h<e&&(Va(this,a,h,c),f=!1)}else+b<e&&(Va(this,a,+b,c),f=!1);f||this.target.Kf()}else if(!(this.a&a)){b=Ua;a==Ua||a==H?b=H:a==Ha&&(b=Ha|H);for(d=this.c.length;d--;)eb(this,b,d)&&(this.target.G().select(this.b[d])&&this.target.Qd(Ua),fb(this.c,d,1),fb(this.b,d,1));this.target.Kf();Ya(this)&&(!this.target.Tb&&Ya(this,0)&&this.target.Bd(a),this.a=a)}};ob.prototype.g=function(a,b){var c;if(m(b)){if(r(b))for(db(b),c=b.length;c--;)ib(this,a,+b[c]);else if(isNaN(b))for(c=this.b.length;c--;)Xa(this,a,c);else ib(this,a,+b);this.target.Kf();this.target.Fd()||this.target.yb()!=$a||this.target.Bd(ab(this,Ha)?Ha:ab(this,H)?H:Ua)}else{for(c=this.c.length;c--;)eb(this,a,c)&&(this.target.G().select(this.b[c])&&this.target.Qd(Ua),fb(this.b,c,1),fb(this.c,c,1));this.target.Kf();this.a&=~a;!this.target.Tb&&Ya(this,0)&&this.target.Bd(this.a)}};function pb(a,b){this.j=b;this.h=a;this.b=0;this.c=1;this.g=!0;this.a=null}function qb(a){return a.a}function rb(a){a.h.XE();if(a.a){var b=a.a.scale||a.h.dF(a.j);a.a.count&&b instanceof sb?(b=a.a.count/b.values().length,a.a.PN?a.Ni(1-b,1):a.Ni(0,b)):m(a.a.start)&&m(a.a.end)&&b?a.Ni(tb(b,b.transform(a.a.start)),tb(b,b.transform(a.a.end))):a.a=null}}g=pb.prototype;g.Ni=function(a,b){a=ub(I(a),0,1);isNaN(a)&&(a=this.b);b=ub(I(b),0,1);isNaN(b)&&(b=this.c);this.a=null;if(this.b!=a||this.c!=b)this.b=a,this.c=b,this.h.ut(this.j);return this};g.MG=function(a,b,c){this.a={start:a,end:b,scale:c};this.h.ut(this.j);return this};g.LG=function(a,b,c){this.a={count:Ea(a),scale:c,PN:!!b};this.h.ut(this.j);return this};g.gj=function(){rb(this);return this.b};g.fj=function(){rb(this);return this.c};g.cn=function(a){return m(a)?(a=!!a,this.g!=a&&(this.g=a),this):this.g};g.C=function(a){m(a)&&(isNaN(+a)?B(a)&&(this.cn(a.continuous),m(a.startValue)&&m(a.endValue)?this.MG(a.startValue,a.endValue,a.scale instanceof vb?a.scale:void 0):m(a.pointsCount)?this.LG(a.pointsCount,a.fromEnd,a.scale instanceof vb?a.scale:void 0):this.Ni(a.startRatio,a.endRatio)):this.Ni(0,1/Math.abs(+a||1)));return this};g.o=function(){return{startRatio:this.gj(),endRatio:this.fj(),continuous:this.g}};pb.prototype.setTo=pb.prototype.Ni;pb.prototype.setToValues=pb.prototype.MG;pb.prototype.setToPointsCount=pb.prototype.LG;pb.prototype.getStartRatio=pb.prototype.gj;pb.prototype.getEndRatio=pb.prototype.fj;pb.prototype.continuous=pb.prototype.cn;function wb(a,b,c,d,e,f){this.Y=a;this.j=[];this.a=[];this.g=[];this.b=[];this.H=c||ba;this.w=e||ba;this.N=f||ba;this.F=d||ba;this.D=b;for(b=0;b<a.length;b++)this.a.push(a[b].Ya());this.reset()}wb.prototype.reset=function(){for(var a=this.c=0;a<this.a.length;a++)this.g[a]=this.a[a].reset().advance(),this.b[a]=this.h(this.a[a].get("x"));return this};wb.prototype.advance=function(){var a,b=this.m.apply(this,this.b),c=[];for(a=this.a.length;a--;){var d=this.g[a]&&(!m(b)||this.b[a]==b);(this.j[a]=d)&&c.push(a)}b=[];for(a=0;a<this.Y.length;a++)this.j[a]&&b.push(this.Y[a]);this.w(b);for(a=0;a<this.Y.length;a++)this.j[a]?this.H(this.Y[a]):this.F(this.Y[a]);this.N();for(a=c.length;a--;)b=c[a],(this.g[b]=this.a[b].advance())?this.b[b]=this.h(this.a[b].get("x")):this.b[b]=NaN;this.c++;return!!Math.max.apply(null,this.g)};wb.prototype.m=function(a){for(var b=arguments.length,c=NaN,d=0;d<b;d++){var e=arguments[d];isNaN(e)||(c=isNaN(c)?e:Math.min(c,e))}return isNaN(c)?void 0:c};wb.prototype.h=function(a){return this.D?xb(a):I(a)};function yb(a,b,c,d,e,f){this.B=zb(b,0);wb.call(this,a,!1,c,d,e,f)}G(yb,wb);yb.prototype.m=function(){return this.B[this.c]};yb.prototype.h=function(a){return a};function Ab(){}g=Ab.prototype;g.Cj=function(){this.w.push(this.a);this.a=[]};g.zz=function(a,b){this.a.push(b)};g.start=function(){this.w=[];this.a=[]};g.Qe=ba;g.ps=function(){this.a&&this.a.length&&this.Cj()};function Cb(a){this.b=a;this.a=[];this.c=0}g=Cb.prototype;g.Cj=function(){Db(this.b,this.a);this.a.length=0};g.zz=function(a,b){this.a.push(b);this.c++};g.start=function(){this.c=this.a.length=0};g.Qe=ba;g.ps=function(){this.a.length&&this.Cj()};function Eb(){this.a=[]}g=Eb.prototype;g.Cj=function(){this.w.push(this.c);this.c={};this.b=!1};g.zz=function(a,b){var c=this.a[a],c=m(c)?c:"column"+a;null===b||(this.c[c]=b);this.b=!0};g.start=function(){this.w=[];this.c={};this.b=!1};g.Qe=ba;g.ps=function(){this.b&&this.Cj()};function Fb(a){this.g=a;this.reset()}g=Fb.prototype;g.select=function(a){this.c=a-1;return this.advance()};g.reset=function(){this.c=-1;this.b=void 0;return this};g.advance=function(){this.b=this.g.Lc(++this.c);return this.c<this.Za()};g.get=function(a){return this.c>=this.Za()?void 0:Gb(this.g.$f(this.c),this.b,this.c,a)};g.ln=function(a){return this.get(a)};g.S=function(){return this.c};g.ms=function(){return this.get("x")};g.Za=function(){return this.g.Za()};g.l=function(a,b){return 1<arguments.length?(this.g.l(this.c,a,b),this):this.g.l(this.c,a)};Fb.prototype.select=Fb.prototype.select;Fb.prototype.reset=Fb.prototype.reset;Fb.prototype.advance=Fb.prototype.advance;Fb.prototype.get=Fb.prototype.get;Fb.prototype.meta=Fb.prototype.l;Fb.prototype.getIndex=Fb.prototype.S;Fb.prototype.getRowsCount=Fb.prototype.Za;function Hb(a){this.a=a;this.reset()}G(Hb,Fb);g=Hb.prototype;g.advance=function(){this.b=this.a[++this.c];return this.c<this.Za()};g.get=function(a){if(!(this.c>=this.Za())&&m(a)&&this.b&&this.b.l){var b=this.b.l("type");return 1==b||3==b||4==b?void 0:this.b.l(a)}};g.getItem=function(){return this.b};g.S=function(){return this.c};g.Za=function(){return this.a.length};g.l=function(a,b){if(this.b&&this.b.l)return 1<arguments.length?(this.b.l(a,b),this):this.b.l(a)};function Ib(a){this.a=a;Fb.call(this,a.data())}G(Ib,Fb);g=Ib.prototype;g.reset=function(){this.w=this.a.a.data;return Ib.v.reset.call(this)};g.advance=function(){this.c++;this.mc=this.w[this.c];this.b=void 0;return this.c<this.w.length};g.get=function(a){var b=void 0;if(this.mc)if(a in this.mc.data)b=this.mc.data[a];else{var c=this.mc.l.rawIndex;if(!this.b)if(m(c))this.b=this.g.Lc(c);else return this.mc.data[a]=b;this.mc.data[a]=b=Gb(this.g.$f(c),this.b,c,a)}return b};g.Za=function(){return this.w.length};g.l=function(a,b){var c=1<arguments.length;if(!this.mc)return c?this:void 0;var d=this.mc.l;return c?(d[a]=b,this):d[a]};Ib.prototype.reset=Ib.prototype.reset;Ib.prototype.advance=Ib.prototype.advance;Ib.prototype.get=Ib.prototype.get;Ib.prototype.meta=Ib.prototype.l;Ib.prototype.getRowsCount=Ib.prototype.Za;function Jb(a,b){this.key=a;this.values=b;this.a=this.next=null;this.b=!1;this.g=Kb++}Jb.prototype.c=null;var Kb=0;function Lb(a,b){return a.key==b.key?a.g-b.g:a.key-b.key}function Mb(a){return this-a.key}function Nb(a){return this-a.key};function Ob(a,b,c,d,e){this.w=a;this.F=d;this.h=new Jb(b.uy-1,[]);this.h.next=b.LN;this.B=b.LP;this.J=b.lastIndex;this.D=(this.c=e||null)?this.cN:this.$H;this.H=this.c?this.XN:this.$N;this.j=c;this.reset()}g=Ob.prototype;g.reset=function(){this.c&&this.c.reset();this.a=this.h;this.m=this.c?this.c.c():this.h.key;this.g=!1;this.b=NaN;this.N=!0;return this};g.advance=function(){return this.D()};g.get=function(a){return this.ln(this.F?Pb(this.w,a):Qb(this.w,a))};g.l=function(a,b){var c=this.j[this.S()];c||(c=this.j[this.S()]={});return 1<arguments.length?(c[a]=b,this):c[a]};g.ln=function(a){var b;this.g&&(y(a)&&0>a?this.a.c&&(b=this.a.c[~a]):b=this.a.values[a]);return b};g.ms=function(){return this.b};g.S=function(){return this.H()};g.Za=function(){return this.J-this.h.key};g.EM=function(){return this.b};g.$N=function(){return this.m};g.XN=function(){return this.c.c()};g.$H=function(){if(this.a){this.m++;if((this.a=this.a.next)&&this.a!=this.B)return this.g=!0,this.b=this.a.key,!0;this.a=null;this.g=!1;this.m=this.b=NaN}return!1};g.cN=function(){if(this.c.advance())return this.N&&(this.a=this.a.next),(this.N=!(!this.a||this.a.key!=this.c.a()||this.a==this.B))?(this.g=!0,this.b=this.a.key):(this.g=!1,this.b=this.c.a()),!0;this.a=null;this.b=NaN;return this.g=!1};Ob.prototype.reset=Ob.prototype.reset;Ob.prototype.advance=Ob.prototype.advance;Ob.prototype.get=Ob.prototype.get;Ob.prototype.getKey=Ob.prototype.EM;Ob.prototype.getIndex=Ob.prototype.S;function Rb(a){this.j=a;this.c=[-1];this.a=void 0;this.h=this.nE;this.b=this.pE;this.g=-1}g=Rb.prototype;g.nE=function(){return!0};g.pE=function(){return!0};g.reset=function(){this.c.length=1;this.c[0]=-1;this.a=void 0;this.g=-1;return this};g.IM=function(){return this.a};g.YN=function(){return this.g};g.get=function(a){if(this.a)return this.a.get(a)};g.set=function(a,b){this.a&&this.a.set(a,b);return this};g.l=function(a,b){return 1<arguments.length?(this.a&&this.a.l(a)!=b&&this.a.l(a,b),this):this.a?this.a.l(a):void 0};g.pP=function(a){return m(a)?(A(a)?this.h=a:this.h=this.nE,this):this.h};g.aH=function(a){return m(a)?(A(a)?this.b=a:this.b=this.pE,this):this.b};g.advance=function(){var a=Sb(this,Tb(this));a&&(this.a=a);return!!a};g.ns=function(){this.reset();for(var a=[];this.advance();)a.push(this.a);return a};function Sb(a,b){if(!b.length||!a.c.length)return null;var c=b[++a.c[a.c.length-1]];if(!c)return a.c.pop(),Sb(a,Tb(a));var d=b;c.wb()&&a.b(c)&&(a.c.push(-1),d=c.c);return a.h(c)?c:Sb(a,d)}function Tb(a){var b=a.j.c;a.g=0;if(1<a.c.length)for(var c=0;c<a.c.length-1;c++)b=b[a.c[c]],a.g=c+1,b=b.c;return b}Rb.prototype.reset=Rb.prototype.reset;Rb.prototype.current=Rb.prototype.IM;Rb.prototype.get=Rb.prototype.get;Rb.prototype.set=Rb.prototype.set;Rb.prototype.meta=Rb.prototype.l;Rb.prototype.getDepth=Rb.prototype.YN;Rb.prototype.advance=Rb.prototype.advance;Rb.prototype.toArray=Rb.prototype.ns;Rb.prototype.nodeYieldCondition=Rb.prototype.pP;Rb.prototype.traverseChildrenCondition=Rb.prototype.aH;var $a="single";function Ub(a){a=String(a).toLowerCase();switch(a){case"byspot":case"spot":case"sp":return"bySpot";case"single":case"s":return $a}return"byX"}function Vb(a){a=String(a).toLowerCase();switch(a){case"singleselect":case"single":case"single_select":case"s":case"ss":return"singleSelect";case"multiselect":case"multi_select":case"multi":case"m":case"ms":return"multiSelect";case"drill":case"drilldown":case"drill_down":case"d":return"drillDown"}return"none"}
function Xb(a){a=String(a).toLowerCase();switch(a){case"crosshair":case"cross":return"crosshair";case"pointer":case"point":return"pointer";case"move":return"move";case"text":return"text";case"wait":return"wait";case"help":return"help";case"n-resize":case"north":case"n":return"n-resize";case"ne-resize":case"northeast":case"ne":return"ne-resize";case"e-resize":case"east":case"e":return"e-resize";case"se-resize":case"southeast":case"se":return"se-resize";case"s-resize":case"south":case"s":return"s-resize";case"sw-resize":case"southwest":case"sw":return"sw-resize";case"w-resize":case"west":case"w":return"w-resize";case"nw-resize":case"northwest":case"nw":return"nw-resize"}return"default"}
function Yb(a,b){a=String(a).toLowerCase();switch(a){case"lefttop":case"topleft":case"lt":case"tl":return"leftTop";case"leftcenter":case"centerleft":case"left":case"lc":case"cl":case"l":return"leftCenter";case"leftbottom":case"bottomleft":case"lb":case"bl":return"leftBottom";case"centertop":case"topcenter":case"top":case"ct":case"tc":case"t":return"centerTop";case"centercenter":case"center":case"c":return"center";case"centerbottom":case"bottomcenter":case"bottom":case"cb":case"bc":case"b":return"centerBottom";case"righttop":case"topright":case"tr":case"rt":return"rightTop";case"rightcenter":case"centerright":case"right":case"rc":case"cr":case"r":return"rightCenter";case"rightbottom":case"bottomright":case"rb":case"br":return"rightBottom"}return m(b)?b:"leftTop"}function Zb(a){a=String(a).toLowerCase();switch(a){case"left":return"left";case"right":return"right";case"top":return"top";case"bottom":return"bottom"}return"center"}
function $b(a,b){a=String(a).toLowerCase();switch(a){case"vertical":case"v":case"vert":return"vertical";case"horizontal":case"h":case"horz":case"horiz":return"horizontal"}return b||"vertical"}function ac(a){a=String(a).toLowerCase();switch(a){case"radial":case"r":case"rad":return"radial"}return"circuit"}
function bc(a){a=String(a).toLowerCase();switch(a){case"right":case"r":return"right";case"bottom":case"b":case"down":case"d":return"bottom";case"left":case"l":return"left"}return"top"}
function cc(a,b){a=String(a).toLowerCase();switch(a){case"asc":case"a":case"forward":case"f":case"straight":case"s":case"yes":case"y":return"asc";case"desc":case"d":case"backward":case"b":case"reversed":case"reverse":case"r":return"desc";case"none":case"null":case"no":case"nosort":return"none"}return b||"none"}
var dc={aR:"circle",IR:"square",VR:"triangleUp",iR:"diamond",SR:"triangleDown",UR:"triangleRight",TR:"triangleLeft",cR:"cross",fH:"diagonalCross",KR:"star4",LR:"star5",MR:"star6",NR:"star7",JR:"star10",sR:"pentagon",RR:"trapezium",qR:"line",YR:"vline",SQ:"arrowhead",WQ:"arrowUp",VQ:"arrowRight",TQ:"arrowDown",UQ:"arrowLeft"};function ec(a,b){a=String(a).toLowerCase();switch(a){case"line":return"line";case"vline":return"vline";case"star4":return"star4";case"star5":return"star5";case"star6":return"star6";case"star7":return"star7";case"star10":return"star10";case"diamond":return"diamond";case"triangleup":return"triangleUp";case"triangledown":return"triangleDown";case"triangleleft":return"triangleLeft";case"triangleright":return"triangleRight";case"cross":return"cross";case"diagonalcross":return"diagonalCross";case"circle":return"circle";case"square":return"square";case"trapezoid":case"trapezium":return"trapezium";case"pentagon":return"pentagon";case"arrow":case"arrowhead":return"arrowhead";case"arrowup":case"up":return"arrowUp";case"arrowdown":case"down":return"arrowDown";case"arrowright":case"right":return"arrowRight";case"arrowleft":case"left":return"arrowLeft"}return b||"star5"}
function fc(a){a=String(a).toLowerCase();switch(a){case"star4":return"star4";case"star5":return"star5";case"star6":return"star6";case"star7":return"star7";case"star10":return"star10";case"diamond":return"diamond";case"triangleup":return"triangleUp";case"triangledown":return"triangleDown";case"triangleleft":return"triangleLeft";case"triangleright":return"triangleRight";case"cross":return"cross";case"diagonalcross":return"diagonalCross";case"circle":return"circle";case"square":return"square";case"x":return hc;case"line":return ic;case"ellipse":return jc;case"bar":return kc;case"trapezoid":case"trapezium":return"trapezium";case"pentagon":return"pentagon";case"arrow":case"arrowhead":return"arrowhead";case"vline":return"vline";case"arrowup":case"up":return"arrowUp";case"arrowdown":case"down":return"arrowDown";case"arrowright":case"right":return"arrowRight";case"arrowleft":case"left":return"arrowLeft"}return null}
function lc(a,b){a=String(a).toLowerCase();switch(a){case"no":case"false":case"nooverlap":case"none":case"null":case"forbid":case"0":return"noOverlap";case"yes":case"allow":case"overlap":case"allowoverlap":case"true":case"1":return"allowOverlap"}return b||"allowOverlap"}function mc(a){a=String(a).toLowerCase();switch(a){case"round":return"round";case"cut":return"cut";case"roundinner":return"roundInner"}return"none"}
function nc(a){a=String(a).toLowerCase();switch(a){case"area":return"area";case"bar":return"bar";case"bubble":return"bubble";case"candlestick":return"candlestick";case"column":return"column";case"line":return"line";case"marker":return"marker";case"ohlc":return"ohlc";case"rangearea":return"rangearea";case"rangebar":return"rangebar";case"rangecolumn":return"rangecolumn";case"rangesplinearea":return"rangesplinearea";case"rangesteparea":return"rangesteparea";case"spline":return"spline";case"splinearea":return"splinearea";case"stepline":return"stepline";case"steparea":return"steparea";case"circle":return"circle";case"star4":return"star4";case"star5":return"star5";case"star6":return"star6";case"star7":return"star7";case"star10":return"star10";case"diamond":return"diamond";case"triangleup":return"triangleup";case"triangledown":return"triangledown";case"cross":return"cross";case"diagonalcross":return"diagonalcross";case"trapezoid":case"trapezium":return"trapezium";case"pentagon":return"pentagon";case"arrow":case"arrowhead":return"arrowhead";case"vline":return"vline";case"rf":case"risingfalling":return"risingfalling"}return"square"}var hc="x",ic="line",jc="ellipse",kc="bar";function oc(a){a=String(a).toLowerCase();switch(a){case"x":return hc;case"line":return ic;case"ellipse":return jc}return kc}
function pc(a){a=String(a).toLowerCase();switch(a){case"inside":case"in":case"i":case"inner":return"inside";case"outside":case"out":case"o":case"outer":return"outside"}return"center"}function qc(a){a=String(a).toLowerCase();switch(a){case"outside":case"out":case"o":case"outer":return"outside";case"middle":case"mid":case"m":case"center":case"c":return"center"}return"inside"}
function rc(a){a=String(a).toLowerCase();switch(a){case"inside":case"in":case"i":case"inner":return"inside";case"outside":case"out":case"o":case"outer":case"l":case"left":case"outsideleft":case"outleft":case"ol":case"outerleft":return"outsideLeft";case"r":case"right":case"outsideright":case"outright":case"or":case"outerright":return"outsideRight";case"outsiderightincolumn":case"outsiderightcolumn":case"outrightincolumn":case"outrightcolumn":case"oric":case"orc":case"rc":case"outerrightincolumn":case"outerrightcolumn":return"outsideRightInColumn"}return"outsideLeftInColumn"}
function sc(a){a=String(a).toLowerCase();switch(a){case"value":case"values":case"val":case"v":case"true":case"yes":case"y":case"t":case"1":return"value";case"percent":case"ratio":case"relative":case"p":case"r":return"percent"}return"none"}function tc(a){a=String(a).toLowerCase();switch(a){case"series":case"datastart":case"seriesstart":return"seriesStart";case"firstvisible":case"first":case"default":return"firstVisible"}return null}
function uc(a){a=String(a).toLowerCase();switch(a){case"area":return"area";case"bar":return"bar";case"box":return"box";case"bubble":return"bubble";case"candlestick":return"candlestick";case"column":return"column";case"marker":return"marker";case"ohlc":return"ohlc";case"rangearea":return"rangeArea";case"rangebar":return"rangeBar";case"rangecolumn":return"rangeColumn";case"rangesplinearea":return"rangeSplineArea";case"rangesteparea":return"rangeStepArea";case"spline":return"spline";case"splinearea":return"splineArea";case"steparea":return"stepArea";case"stepline":return"stepLine"}return"line"}function vc(a){a=String(a).toLowerCase();switch(a){case"area":case"are":case"ar":case"a":return"area";case"column":case"col":case"c":return"column";case"win":case"loss":case"winloss":case"win_loss":case"wl":return"winLoss"}return"line"}
function wc(a){a=String(a).toLowerCase();switch(a){case"rangebar":case"range":case"rb":case"r":return"rangeBar";case"marker":case"m":return"marker";case"thermometer":case"ther":case"th":return"thermometer";case"tank":case"t":return"tank";case"led":case"l":return"led"}return"bar"}function xc(a){a=String(a).toLowerCase();switch(a){case"area":return"area";case"marker":return"marker"}return"line"}
function zc(a){a=String(a).toLowerCase();switch(a){case"area":return"area";case"marker":return"marker"}return"line"}function Ac(a){a=String(a).toLowerCase();switch(a){case"bubble":return"bubble";case"marker":return"marker"}return"line"}function Bc(a){a=String(a).toLowerCase();switch(a){case"raw":return"raw";case"grouped":return"grouped"}return"specific"}
function Cc(a){a=String(a).toLowerCase();switch(a){case"semesters":case"semester":case"sem":return"semester";case"quarters":case"quarter":case"q":return"quarter";case"months":case"month":case"mm":case"m":return"month";case"thirdofmonths":case"thirdofmonth":case"decades":case"decade":case"tom":case"dec":return"thirdofmonth";case"weeks":case"week":case"w":return"week";case"days":case"day":case"dd":case"d":return"day";case"hours":case"hour":case"hh":case"h":return"hour";case"minutes":case"minute":case"min":case"n":return"minute";case"seconds":case"second":case"secs":case"sec":case"s":return"second";case"milliseconds":case"millisecond":case"millis":case"milli":case"ms":return"millisecond"}return"year"}function Dc(a){a=String(a).toLowerCase();switch(a){case"false":case"null":case"none":return"none";case"x":return"x";case"y":case"value":return"value"}return"both"}
function Ec(a){a=String(a).toLowerCase();switch(a){case"left":case"l":return"left";case"right":case"r":return"right";case"center":case"middle":case"c":case"m":return"center";case"end":case"e":return"end"}return"start"}function Fc(a){a=String(a).toLowerCase();switch(a){case"bottom":case"b":return"bottom";case"center":case"middle":case"c":case"m":return"middle"}return"top"}
function Gc(a){a=String(a).toLowerCase();switch(a){case"blink":case"b":return"blink";case"line-through":case"line_through":case"linethrough":case"line":case"l":return"line-through";case"overline":case"over":case"o":return"overline";case"underline":case"under":case"u":return"underline"}return"none"}function Hc(a){a=String(a).toLowerCase();switch(a){case"italic":case"i":return"italic";case"oblique":case"o":return"oblique"}return"normal"}
function Ic(a){a=String(a).toLowerCase();switch(a){case"small-caps":case"small_caps":case"smallcaps":case"small":case"caps":case"sc":case"s":case"c":return"small-caps"}return"normal"}function Jc(a){a=String(a).toLowerCase();switch(a){case"rtl":case"r":return"rtl"}return"ltr"}function Kc(a){a=String(a).toLowerCase();switch(a){case"nowrap":case"no":case"n":return"noWrap";default:return"byLetter"}}
function Lc(a){a=String(a).toLowerCase();switch(a){case"first":case"open":return"first";case"last":case"close":return"last";case"max":case"high":case"maximum":case"highest":return"max";case"min":case"low":case"minimum":case"lowest":return"min";case"average":case"avg":return"average";case"weightedaverage":case"weightedavg":case"wavg":case"weights":case"weighted":return"weightedAverage";case"firstvalue":case"firstval":case"openvalue":case"openval":return"firstValue";case"lastvalue":case"lastval":case"closevalue":case"closeval":return"lastValue";case"sum":case"add":return"sum";case"list":case"group":case"array":return"list";default:return"last"}}function Mc(a){if(!a)return"exact";a=String(a).toLowerCase();switch(a){default:return"exact";case"exactornext":case"next":case"n":return"exactOrNext";case"exactorprev":case"prev":case"p":return"exactOrPrev";case"nearest":case"near":case"closest":case"close":case"c":return"nearest"}}
function Nc(a){a=String(a).toLowerCase();switch(a){case"union":case"u":return"union";case"separated":case"sp":return"separated"}return"single"}function Oc(a){a=String(a).toLowerCase();switch(a){case"point":case"pt":case"p":return"point";case"chart":case"ch":case"c":return"chart"}return"float"}
function Pc(a){a=String(a).toLowerCase();switch(a){case"drop":case"d":return"drop";case"alwaysshow":case"always":case"show":case"none":case"null":case"no":case"false":case"f":case"0":case"n":return"alwaysShow"}return"clip"}
function Qc(a){a=String(a).toLowerCase();switch(a){case"ray":return"ray";case"iline":case"infiniteline":return"infiniteLine";case"vline":case"verticalline":return"verticalLine";case"hline":case"horizontalline":return"horizontalLine";case"rect":case"rectangle":return"rectangle";case"circle":case"ellipse":return"ellipse";case"tri":case"triangle":return"triangle";case"trend":case"channel":case"trendchannel":return"trendChannel";case"fork":case"pitchfork":case"andrewspitchfork":return"andrewsPitchfork";case"fan":case"ffan":case"fibonaccifan":return"fibonacciFan";case"arc":case"farc":case"fibonacciarc":return"fibonacciArc";case"ret":case"retracement":case"fretracement":case"fibonacciretracement":return"fibonacciRetracement";case"tz":case"ftz":case"timezones":case"ftimezones":case"fibonaccitimezones":return"fibonacciTimezones";case"arrow":case"marker":return"marker"}return"line"}E("anychart.enums.RadialGridLayout.CIRCUIT","circuit");E("anychart.enums.RadialGridLayout.RADIAL","radial");E("anychart.enums.HoverMode.BY_SPOT","bySpot");E("anychart.enums.HoverMode.BY_X","byX");E("anychart.enums.SelectionMode.NONE","none");E("anychart.enums.SelectionMode.SINGLE_SELECT","singleSelect");E("anychart.enums.SelectionMode.MULTI_SELECT","multiSelect");E("anychart.enums.SelectionMode.DRILL_DOWN","drillDown");E("anychart.enums.Anchor.LEFT_TOP","leftTop");E("anychart.enums.Anchor.LEFT_CENTER","leftCenter");E("anychart.enums.Anchor.LEFT_BOTTOM","leftBottom");E("anychart.enums.Anchor.CENTER_TOP","centerTop");E("anychart.enums.Anchor.CENTER","center");E("anychart.enums.Anchor.CENTER_BOTTOM","centerBottom");E("anychart.enums.Anchor.RIGHT_TOP","rightTop");E("anychart.enums.Anchor.RIGHT_CENTER","rightCenter");E("anychart.enums.Anchor.RIGHT_BOTTOM","rightBottom");E("anychart.enums.Cursor.DEFAULT","default");E("anychart.enums.Cursor.CROSSHAIR","crosshair");E("anychart.enums.Cursor.POINTER","pointer");E("anychart.enums.Cursor.MOVE","move");E("anychart.enums.Cursor.TEXT","text");E("anychart.enums.Cursor.WAIT","wait");E("anychart.enums.Cursor.HELP","help");E("anychart.enums.Cursor.N_RESIZE","n-resize");E("anychart.enums.Cursor.NE_RESIZE","ne-resize");E("anychart.enums.Cursor.E_RESIZE","e-resize");E("anychart.enums.Cursor.SE_RESIZE","se-resize");E("anychart.enums.Cursor.S_RESIZE","s-resize");E("anychart.enums.Cursor.SW_RESIZE","sw-resize");E("anychart.enums.Cursor.W_RESIZE","w-resize");E("anychart.enums.Cursor.NW_RESIZE","nw-resize");E("anychart.enums.Position.LEFT_TOP","leftTop");E("anychart.enums.Position.LEFT_CENTER","leftCenter");E("anychart.enums.Position.LEFT_BOTTOM","leftBottom");E("anychart.enums.Position.CENTER_TOP","centerTop");E("anychart.enums.Position.CENTER","center");E("anychart.enums.Position.CENTER_BOTTOM","centerBottom");E("anychart.enums.Position.RIGHT_TOP","rightTop");E("anychart.enums.Position.RIGHT_CENTER","rightCenter");E("anychart.enums.Position.RIGHT_BOTTOM","rightBottom");E("anychart.enums.Align.CENTER","center");E("anychart.enums.Align.LEFT","left");E("anychart.enums.Align.RIGHT","right");E("anychart.enums.Align.TOP","top");E("anychart.enums.Align.BOTTOM","bottom");E("anychart.enums.Orientation.LEFT","left");E("anychart.enums.Orientation.RIGHT","right");E("anychart.enums.Orientation.TOP","top");E("anychart.enums.Orientation.BOTTOM","bottom");E("anychart.enums.Layout.HORIZONTAL","horizontal");E("anychart.enums.Layout.VERTICAL","vertical");E("anychart.enums.Sort.NONE","none");E("anychart.enums.Sort.ASC","asc");E("anychart.enums.Sort.DESC","desc");E("anychart.enums.BulletMarkerType.X",hc);E("anychart.enums.BulletMarkerType.BAR",kc);E("anychart.enums.BulletMarkerType.ELLIPSE",jc);E("anychart.enums.BulletMarkerType.LINE",ic);E("anychart.enums.MarkerType.CIRCLE","circle");E("anychart.enums.MarkerType.SQUARE","square");E("anychart.enums.MarkerType.TRIANGLE_UP","triangleUp");E("anychart.enums.MarkerType.DIAMOND","diamond");E("anychart.enums.MarkerType.TRIANGLE_DOWN","triangleDown");E("anychart.enums.MarkerType.TRIANGLE_LEFT","triangleLeft");E("anychart.enums.MarkerType.TRIANGLE_RIGHT","triangleRight");E("anychart.enums.MarkerType.CROSS","cross");E("anychart.enums.MarkerType.DIAGONAL_CROSS","diagonalCross");E("anychart.enums.MarkerType.STAR4","star4");E("anychart.enums.MarkerType.STAR5","star5");E("anychart.enums.MarkerType.STAR6","star6");E("anychart.enums.MarkerType.STAR7","star7");E("anychart.enums.MarkerType.STAR10","star10");E("anychart.enums.MarkerType.PENTAGON","pentagon");E("anychart.enums.MarkerType.TRAPEZIUM","trapezium");E("anychart.enums.MarkerType.LINE","line");E("anychart.enums.MapAsTableMode.VALUE","value");E("anychart.enums.MapAsTableMode.RANGE","range");E("anychart.enums.MapAsTableMode.OHLC","ohlc");E("anychart.enums.MapProjections.BONNE","bonne");E("anychart.enums.MapProjections.AITOFF","aitoff");E("anychart.enums.MapProjections.AUGUST","august");E("anychart.enums.MapProjections.ECKERT1","eckert1");E("anychart.enums.MapProjections.ECKERT3","eckert3");E("anychart.enums.MapProjections.EQUIRECTANGULAR","equirectangular");E("anychart.enums.MapProjections.FAHEY","fahey");E("anychart.enums.MapProjections.HAMMER","hammer");E("anychart.enums.MapProjections.MERCATOR","mercator");E("anychart.enums.MapProjections.ORTHOGRAPHIC","orthographic");E("anychart.enums.MapProjections.ROBINSON","robinson");E("anychart.enums.MapProjections.WAGNER6","wagner6");E("anychart.enums.MapProjections.WSG84","wsg84");E("anychart.enums.MapUnboundRegionsMode.AS_IS","asis");E("anychart.enums.MapUnboundRegionsMode.HIDE","hide");E("anychart.enums.MapPointMiddlePositionMode.ABSOLUTE","absolute");E("anychart.enums.MapPointMiddlePositionMode.RELATIVE","relative");E("anychart.enums.MapPointOutsidePositionMode.RELATIVE","relative");E("anychart.enums.MapPointOutsidePositionMode.ABSOLUTE","absolute");E("anychart.enums.MapPointOutsidePositionMode.OFFSET","offset");E("anychart.enums.TreeFillingMethod.AS_TREE","asTree");E("anychart.enums.TreeFillingMethod.AS_TABLE","asTable");E("anychart.enums.LabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");E("anychart.enums.LabelsOverlapMode.NO_OVERLAP","noOverlap");E("anychart.enums.BackgroundCornersType.NONE","none");E("anychart.enums.BackgroundCornersType.ROUND","round");E("anychart.enums.BackgroundCornersType.CUT","cut");E("anychart.enums.BackgroundCornersType.ROUND_INNER","roundInner");E("anychart.enums.LegendItemIconType.AREA","area");E("anychart.enums.LegendItemIconType.BAR","bar");E("anychart.enums.LegendItemIconType.BUBBLE","bubble");E("anychart.enums.LegendItemIconType.CANDLESTICK","candlestick");E("anychart.enums.LegendItemIconType.COLUMN","column");E("anychart.enums.LegendItemIconType.LINE","line");E("anychart.enums.LegendItemIconType.MARKER","marker");E("anychart.enums.LegendItemIconType.OHLC","ohlc");E("anychart.enums.LegendItemIconType.RANGE_AREA","rangearea");E("anychart.enums.LegendItemIconType.RANGE_BAR","rangebar");E("anychart.enums.LegendItemIconType.RANGE_COLUMN","rangecolumn");E("anychart.enums.LegendItemIconType.RANGE_SPLINE_AREA","rangesplinearea");E("anychart.enums.LegendItemIconType.RANGE_STEP_AREA","rangesteparea");E("anychart.enums.LegendItemIconType.SPLINE","spline");E("anychart.enums.LegendItemIconType.SPLINE_AREA","splinearea");E("anychart.enums.LegendItemIconType.STEP_LINE","stepline");E("anychart.enums.LegendItemIconType.STEP_AREA","steparea");E("anychart.enums.LegendItemIconType.CIRCLE","circle");E("anychart.enums.LegendItemIconType.SQUARE","square");E("anychart.enums.LegendItemsSourceMode.DEFAULT","default");E("anychart.enums.LegendItemsSourceMode.CATEGORIES","categories");E("anychart.enums.SidePosition.INSIDE","inside");E("anychart.enums.SidePosition.OUTSIDE","outside");E("anychart.enums.PyramidLabelsPosition.INSIDE","inside");E("anychart.enums.PyramidLabelsPosition.OUTSIDE_LEFT","outsideLeft");E("anychart.enums.PyramidLabelsPosition.OUTSIDE_LEFT_IN_COLUMN","outsideLeftInColumn");E("anychart.enums.PyramidLabelsPosition.OUTSIDE_RIGHT","outsideRight");E("anychart.enums.PyramidLabelsPosition.OUTSIDE_RIGHT_IN_COLUMN","outsideRightInColumn");E("anychart.enums.GaugeSidePosition.INSIDE","inside");E("anychart.enums.GaugeSidePosition.CENTER","center");E("anychart.enums.GaugeSidePosition.OUTSIDE","outside");E("anychart.enums.EventType.POINT_MOUSE_OUT","pointmouseout");E("anychart.enums.EventType.POINT_MOUSE_OVER","pointmouseover");E("anychart.enums.EventType.POINT_MOUSE_DOWN","pointmousedown");E("anychart.enums.EventType.POINT_MOUSE_UP","pointmouseup");E("anychart.enums.EventType.POINT_MOUSE_MOVE","pointmousemove");E("anychart.enums.EventType.POINT_CLICK","pointclick");E("anychart.enums.EventType.POINT_DBLCLICK","pointdblclick");E("anychart.enums.EventType.POINT_HOVER","pointhover");E("anychart.enums.EventType.POINTS_SELECT","pointsselect");E("anychart.enums.EventType.POINTS_HOVER","pointshover");E("anychart.enums.EventType.DRILL_CHANGE","drillchange");E("anychart.enums.EventType.CHART_DRAW","chartdraw");E("anychart.enums.EventType.ANIMATION_START","animationstart");E("anychart.enums.EventType.ANIMATION_END","animationend");E("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OUT","legenditemmouseout");E("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OVER","legenditemmouseover");E("anychart.enums.EventType.LEGEND_ITEM_MOUSE_MOVE","legenditemmousemove");E("anychart.enums.EventType.LEGEND_ITEM_MOUSE_DOWN","legenditemmousedown");E("anychart.enums.EventType.LEGEND_ITEM_MOUSE_UP","legenditemmouseup");E("anychart.enums.EventType.LEGEND_ITEM_CLICK","legenditemclick");E("anychart.enums.EventType.LEGEND_ITEM_DBLCLICK","legenditemdblclick");E("anychart.enums.EventType.SCROLL_CHANGE","scrollchange");E("anychart.enums.EventType.SPLITTER_CHANGE","splitterchange");E("anychart.enums.EventType.SIGNAL","signal");E("anychart.enums.EventType.ROW_SELECT","rowSelect");E("anychart.enums.EventType.ROW_CLICK","rowClick");E("anychart.enums.EventType.ROW_DBL_CLICK","rowDblClick");E("anychart.enums.EventType.ROW_MOUSE_OVER","rowMouseOver");E("anychart.enums.EventType.ROW_MOUSE_OUT","rowMouseOut");E("anychart.enums.EventType.ROW_MOUSE_MOVE","rowMouseMove");E("anychart.enums.EventType.ROW_MOUSE_DOWN","rowMouseDown");E("anychart.enums.EventType.ROW_MOUSE_UP","rowMouseUp");E("anychart.enums.EventType.ROW_COLLAPSE_EXPAND","rowcollapseexpand");E("anychart.enums.EventType.BEFORE_CREATE_CONNECTOR","beforeCreateConnector");E("anychart.enums.EventType.TREE_ITEM_CREATE","treeItemCreate");E("anychart.enums.EventType.TREE_ITEM_MOVE","treeItemMove");E("anychart.enums.EventType.TREE_ITEM_REMOVE","treeItemRemove");E("anychart.enums.EventType.TREE_ITEM_UPDATE","treeItemUpdate");E("anychart.enums.ScaleStackMode.NONE","none");E("anychart.enums.ScaleStackMode.VALUE","value");E("anychart.enums.ScaleStackMode.PERCENT","percent");E("anychart.enums.ScaleComparisonMode.NONE","none");E("anychart.enums.ScaleComparisonMode.VALUE","value");E("anychart.enums.ScaleComparisonMode.PERCENT","percent");E("anychart.enums.ScaleCompareWithMode.SERIES_START","seriesStart");E("anychart.enums.ScaleCompareWithMode.FIRST_VISIBLE","firstVisible");E("anychart.enums.ScatterTicksMode.LINEAR","linear");E("anychart.enums.ScatterTicksMode.LOGARITHMIC","logarithmic");E("anychart.enums.SparklineSeriesType.AREA","area");E("anychart.enums.SparklineSeriesType.LINE","line");E("anychart.enums.SparklineSeriesType.COLUMN","column");E("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");E("anychart.enums.LinearGaugePointerType.BAR","bar");E("anychart.enums.LinearGaugePointerType.RANGE_BAR","rangeBar");E("anychart.enums.LinearGaugePointerType.THERMOMETER","thermometer");E("anychart.enums.LinearGaugePointerType.MARKER","marker");E("anychart.enums.LinearGaugePointerType.TANK","tank");E("anychart.enums.LinearGaugePointerType.LED","led");E("anychart.enums.GanttDataFields.ACTUAL","actual");E("anychart.enums.GanttDataFields.ACTUAL_START","actualStart");E("anychart.enums.GanttDataFields.ACTUAL_END","actualEnd");E("anychart.enums.GanttDataFields.BASELINE_START","baselineStart");E("anychart.enums.GanttDataFields.BASELINE_END","baselineEnd");E("anychart.enums.GanttDataFields.CHILDREN","children");E("anychart.enums.GanttDataFields.PROGRESS","progress");E("anychart.enums.GanttDataFields.PROGRESS_VALUE","progressValue");E("anychart.enums.GanttDataFields.MILESTONE","milestone");E("anychart.enums.GanttDataFields.NAME","name");E("anychart.enums.GanttDataFields.COLLAPSED","collapsed");E("anychart.enums.GanttDataFields.ROW_HEIGHT","rowHeight");E("anychart.enums.GanttDataFields.ID","id");E("anychart.enums.GanttDataFields.PERIODS","periods");E("anychart.enums.GanttDataFields.PARENT","parent");E("anychart.enums.GanttDataFields.START","start");E("anychart.enums.GanttDataFields.END","end");E("anychart.enums.GanttDataFields.FILL","fill");E("anychart.enums.GanttDataFields.STROKE","stroke");E("anychart.enums.GanttDataFields.HOVER_FILL","hoverFill");E("anychart.enums.GanttDataFields.HOVER_STROKE","hoverStroke");E("anychart.enums.GanttDataFields.CONNECT_TO","connectTo");E("anychart.enums.GanttDataFields.CONNECTOR","connector");E("anychart.enums.GanttDataFields.CONNECTOR_TYPE","connectorType");E("anychart.enums.GanttDataFields.START_MARKER","startMarker");E("anychart.enums.GanttDataFields.END_MARKER","endMarker");E("anychart.enums.GanttDataFields.LABEL","label");E("anychart.enums.ConnectorType.FINISH_START","finishstart");E("anychart.enums.ConnectorType.FINISH_FINISH","finishfinish");E("anychart.enums.ConnectorType.START_FINISH","startfinish");E("anychart.enums.ConnectorType.START_START","startstart");E("anychart.enums.ColumnFormats.DIRECT_NUMBERING","directNumbering");E("anychart.enums.ColumnFormats.TEXT","text");E("anychart.enums.ColumnFormats.SHORT_TEXT","shortText");E("anychart.enums.ColumnFormats.PERCENT","percent");E("anychart.enums.ColumnFormats.DATE_COMMON_LOG","dateCommonLog");E("anychart.enums.ColumnFormats.DATE_ISO_8601","dateIso8601");E("anychart.enums.ColumnFormats.DATE_US_SHORT","dateUsShort");E("anychart.enums.ColumnFormats.DATE_DMY_DOTS","dateDmyDots");E("anychart.enums.ColumnFormats.FINANCIAL","financial");E("anychart.enums.GanttDateTimeMarkers.START","start");E("anychart.enums.GanttDateTimeMarkers.END","end");E("anychart.enums.GanttDateTimeMarkers.CURRENT","current");E("anychart.enums.DataField.DEPENDS_ON","dependsOn");E("anychart.enums.DataField.OPTIMISTIC","optimistic");E("anychart.enums.DataField.PESSIMISTIC","pessimistic");E("anychart.enums.DataField.MOST_LIKELY","mostLikely");E("anychart.enums.DataField.EXPECTED","expected");E("anychart.enums.DataField.FROM","from");E("anychart.enums.DataField.TO","to");E("anychart.enums.DataField.ID","id");E("anychart.enums.DataField.NAME","name");E("anychart.enums.Interval.YEARS","year");E("anychart.enums.Interval.MONTHS","month");E("anychart.enums.Interval.DAYS","day");E("anychart.enums.Interval.HOURS","hour");E("anychart.enums.Interval.MINUTES","minute");E("anychart.enums.Interval.SECONDS","second");E("anychart.enums.Interval.YEAR","year");E("anychart.enums.Interval.SEMESTER","semester");E("anychart.enums.Interval.QUARTER","quarter");E("anychart.enums.Interval.MONTH","month");E("anychart.enums.Interval.THIRD_OF_MONTH","thirdofmonth");E("anychart.enums.Interval.WEEK","week");E("anychart.enums.Interval.DAY","day");E("anychart.enums.Interval.HOUR","hour");E("anychart.enums.Interval.MINUTE","minute");E("anychart.enums.Interval.SECOND","second");E("anychart.enums.Interval.MILLISECOND","millisecond");E("anychart.enums.ErrorMode.NONE","none");E("anychart.enums.ErrorMode.X","x");E("anychart.enums.ErrorMode.VALUE","value");E("anychart.enums.ErrorMode.BOTH","both");E("anychart.enums.ScaleTypes.LINEAR","linear");E("anychart.enums.ScaleTypes.LOG","log");E("anychart.enums.ScaleTypes.DATE_TIME","dateTime");E("anychart.enums.ScaleTypes.ORDINAL","ordinal");E("anychart.enums.ScatterScaleTypes.LINEAR","linear");E("anychart.enums.ScatterScaleTypes.LOG","log");E("anychart.enums.ScatterScaleTypes.DATE_TIME","dateTime");E("anychart.enums.GaugeScaleTypes.LINEAR","linear");E("anychart.enums.GaugeScaleTypes.LOG","log");E("anychart.enums.AggregationType.AVERAGE","average");E("anychart.enums.AggregationType.FIRST","first");E("anychart.enums.AggregationType.FIRST_VALUE","firstValue");E("anychart.enums.AggregationType.LAST","last");E("anychart.enums.AggregationType.LAST_VALUE","lastValue");E("anychart.enums.AggregationType.LIST","list");E("anychart.enums.AggregationType.MAX","max");E("anychart.enums.AggregationType.MIN","min");E("anychart.enums.AggregationType.SUM","sum");E("anychart.enums.AggregationType.WEIGHTED_AVERAGE","weightedAverage");E("anychart.enums.TooltipDisplayMode.UNION","union");E("anychart.enums.TooltipDisplayMode.SEPARATED","separated");E("anychart.enums.TooltipDisplayMode.SINGLE","single");E("anychart.enums.TooltipPositionMode.FLOAT","float");E("anychart.enums.TooltipPositionMode.POINT","point");E("anychart.enums.TooltipPositionMode.CHART","chart");E("anychart.enums.CrosshairDisplayMode.FLOAT","float");E("anychart.enums.CrosshairDisplayMode.STICKY","sticky");E("anychart.enums.StockLabelsOverlapMode.NO_OVERLAP","noOverlap");E("anychart.enums.StockLabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");E("anychart.enums.StockLabelsOverlapMode.ALLOW_MAJOR_OVERLAP","allowMajorOverlap");E("anychart.enums.StockLabelsOverlapMode.ALLOW_MINOR_OVERLAP","allowMinorOverlap");E("anychart.enums.TableSearchMode.EXACT_OR_PREV","exactOrPrev");E("anychart.enums.TableSearchMode.EXACT","exact");E("anychart.enums.TableSearchMode.EXACT_OR_NEXT","exactOrNext");E("anychart.enums.TableSearchMode.NEAREST","nearest");E("anychart.enums.ChartScrollerPosition.AFTER_AXES","afterAxes");E("anychart.enums.ChartScrollerPosition.BEFORE_AXES","beforeAxes");E("anychart.enums.LabelsDisplayMode.ALWAYS_SHOW","alwaysShow");E("anychart.enums.LabelsDisplayMode.DROP","drop");E("anychart.enums.LabelsDisplayMode.CLIP","clip");E("anychart.enums.TokenType.UNKNOWN","");E("anychart.enums.TokenType.NUMBER","number");E("anychart.enums.TokenType.STRING","string");E("anychart.enums.TokenType.DATE_TIME","datetime");E("anychart.enums.StringToken.AXIS_NAME","%AxisName");E("anychart.enums.StringToken.AXIS_SCALE_MAX","%AxisScaleMax");E("anychart.enums.StringToken.AXIS_SCALE_MIN","%AxisScaleMin");E("anychart.enums.StringToken.BUBBLE_SIZE","%BubbleSize");E("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_CATEGORY","%BubbleSizePercentOfCategory");E("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_SERIES","%BubbleSizePercentOfSeries");E("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_TOTAL","%BubbleSizePercentOfTotal");E("anychart.enums.StringToken.CATEGORY_NAME","%CategoryName");E("anychart.enums.StringToken.CATEGORY_Y_AVERAGE","%CategoryYAverage");E("anychart.enums.StringToken.CATEGORY_Y_MEDIAN","%CategoryYMedian");E("anychart.enums.StringToken.CATEGORY_Y_MODE","%CategoryYMode");E("anychart.enums.StringToken.CATEGORY_Y_PERCENT_OF_TOTAL","%CategoryYPercentOfTotal");E("anychart.enums.StringToken.CATEGORY_Y_RANGE_AVERAGE","%CategoryYRangeAverage");E("anychart.enums.StringToken.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","%CategoryYRangePercentOfTotal");E("anychart.enums.StringToken.CATEGORY_Y_RANGE_MAX","%CategoryYRangeMax");E("anychart.enums.StringToken.CATEGORY_Y_RANGE_MIN","%CategoryYRangeMin");E("anychart.enums.StringToken.CATEGORY_Y_RANGE_MEDIAN","%CategoryYRangeMedian");E("anychart.enums.StringToken.CATEGORY_Y_RANGE_MODE","%CategoryYRangeMode");E("anychart.enums.StringToken.CATEGORY_Y_RANGE_SUM","%CategoryYRangeSum");E("anychart.enums.StringToken.CATEGORY_Y_SUM","%CategoryYSum");E("anychart.enums.StringToken.CLOSE","%Close");E("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MAX_SIZE","%DataPlotBubbleMaxSize");E("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MIN_SIZE","%DataPlotBubbleMinSize");E("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_AVERAGE","%DataPlotBubbleSizeAverage");E("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_SUM","%DataPlotBubbleSizeSum");E("anychart.enums.StringToken.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","%DataPlotMaxYSumSeriesName");E("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_NAME","%DataPlotMaxYValuePointName");E("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","%DataPlotMaxYValuePointSeriesName");E("anychart.enums.StringToken.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","%DataPlotMinYSumSeriesName");E("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_NAME","%DataPlotMinYValuePointName");E("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","%DataPlotMinYValuePointSeriesName");E("anychart.enums.StringToken.DATA_PLOT_POINT_COUNT","%DataPlotPointCount");E("anychart.enums.StringToken.DATA_PLOT_SERIES_COUNT","%DataPlotSeriesCount");E("anychart.enums.StringToken.DATA_PLOT_X_AVERAGE","%DataPlotXAverage");E("anychart.enums.StringToken.DATA_PLOT_X_MAX","%DataPlotXMax");E("anychart.enums.StringToken.DATA_PLOT_X_MIN","%DataPlotXMin");E("anychart.enums.StringToken.DATA_PLOT_X_SUM","%DataPlotXSum");E("anychart.enums.StringToken.DATA_PLOT_Y_AVERAGE","%DataPlotYAverage");E("anychart.enums.StringToken.DATA_PLOT_Y_MAX","%DataPlotYMax");E("anychart.enums.StringToken.DATA_PLOT_Y_MIN","%DataPlotYMin");E("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MAX","%DataPlotYRangeMax");E("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MIN","%DataPlotYRangeMin");E("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_SUM","%DataPlotYRangeSum");E("anychart.enums.StringToken.DATA_PLOT_Y_SUM","%DataPlotYSum");E("anychart.enums.StringToken.HIGH","%High");E("anychart.enums.StringToken.INDEX","%Index");E("anychart.enums.StringToken.LOW","%Low");E("anychart.enums.StringToken.NAME","%Name");E("anychart.enums.StringToken.OPEN","%Open");E("anychart.enums.StringToken.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","%PertChartCriticalPathStandardDeviation");E("anychart.enums.StringToken.PERT_CHART_PROJECT_DURATION","%PertChartProjectDuration");E("anychart.enums.StringToken.RANGE","%Range");E("anychart.enums.StringToken.RANGE_END","%RangeEnd");E("anychart.enums.StringToken.RANGE_START","%RangeStart");E("anychart.enums.StringToken.SERIES_BUBBLE_MAX_SIZE","%SeriesBubbleMaxSize");E("anychart.enums.StringToken.SERIES_BUBBLE_MIN_SIZE","%SeriesBubbleMinSize");E("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_AVERAGE","%SeriesBubbleSizeAverage");E("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MEDIAN","%SeriesBubbleSizeMedian");E("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MODE","%SeriesBubbleSizeMode");E("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_SUM","%SeriesBubbleSizeSum");E("anychart.enums.StringToken.SERIES_FIRST_X_VALUE","%SeriesFirstXValue");E("anychart.enums.StringToken.SERIES_FIRST_Y_VALUE","%SeriesFirstYValue");E("anychart.enums.StringToken.SERIES_LAST_X_VALUE","%SeriesLastXValue");E("anychart.enums.StringToken.SERIES_LAST_Y_VALUE","%SeriesLastYValue");E("anychart.enums.StringToken.SERIES_MIN","%SeriesMin");E("anychart.enums.StringToken.SERIES_MAX","%SeriesMax");E("anychart.enums.StringToken.SERIES_NAME","%SeriesName");E("anychart.enums.StringToken.SERIES_POINT_COUNT","%SeriesPointCount");E("anychart.enums.StringToken.SERIES_X_AVERAGE","%SeriesXAverage");E("anychart.enums.StringToken.SERIES_X_AXIS_NAME","%SeriesXAxisName");E("anychart.enums.StringToken.SERIES_X_MAX","%SeriesXMax");E("anychart.enums.StringToken.SERIES_X_MEDIAN","%SeriesXMedian");E("anychart.enums.StringToken.SERIES_X_MIN","%SeriesXMin");E("anychart.enums.StringToken.SERIES_X_MODE","%SeriesXMode");E("anychart.enums.StringToken.SERIES_X_SUM","%SeriesXSum");E("anychart.enums.StringToken.SERIES_Y_AVERAGE","%SeriesYAverage");E("anychart.enums.StringToken.SERIES_Y_AXIS_NAME","%SeriesYAxisName");E("anychart.enums.StringToken.SERIES_Y_MAX","%SeriesYMax");E("anychart.enums.StringToken.SERIES_Y_MEDIAN","%SeriesYMedian");E("anychart.enums.StringToken.SERIES_Y_MIN","%SeriesYMin");E("anychart.enums.StringToken.SERIES_Y_MODE","%SeriesYMode");E("anychart.enums.StringToken.SERIES_Y_RANGE_MAX","%SeriesYRangeMax");E("anychart.enums.StringToken.SERIES_Y_RANGE_MIN","%SeriesYRangeMin");E("anychart.enums.StringToken.SERIES_Y_RANGE_SUM","%SeriesYRangeSum");E("anychart.enums.StringToken.SERIES_Y_SUM","%SeriesYSum");E("anychart.enums.StringToken.VALUE","%Value");E("anychart.enums.StringToken.X_PERCENT_OF_SERIES","%XPercentOfSeries");E("anychart.enums.StringToken.X_PERCENT_OF_TOTAL","%XPercentOfTotal");E("anychart.enums.StringToken.X_VALUE","%XValue");E("anychart.enums.StringToken.Y_PERCENT_OF_CATEGORY","%YPercentOfCategory");E("anychart.enums.StringToken.Y_PERCENT_OF_SERIES","%YPercentOfSeries");E("anychart.enums.StringToken.Y_PERCENT_OF_TOTAL","%YPercentOfTotal");E("anychart.enums.StringToken.Y_VALUE","%YValue");E("anychart.enums.Statistics.AVERAGE","average");E("anychart.enums.Statistics.BUBBLE_SIZE","bubbleSize");E("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_CATEGORY","bubbleSizePercentOfCategory");E("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_SERIES","bubbleSizePercentOfSeries");E("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_TOTAL","bubbleSizePercentOfTotal");E("anychart.enums.Statistics.CATEGORY_NAME","categoryName");E("anychart.enums.Statistics.CATEGORY_Y_AVERAGE","categoryYAverage");E("anychart.enums.Statistics.CATEGORY_Y_MAX","categoryYMax");E("anychart.enums.Statistics.CATEGORY_Y_MEDIAN","categoryYMedian");E("anychart.enums.Statistics.CATEGORY_Y_MIN","categoryYMin");E("anychart.enums.Statistics.CATEGORY_Y_MODE","categoryYMode");E("anychart.enums.Statistics.CATEGORY_Y_PERCENT_OF_TOTAL","categoryYPercentOfTotal");E("anychart.enums.Statistics.CATEGORY_Y_RANGE_AVERAGE","categoryYRangeAverage");E("anychart.enums.Statistics.CATEGORY_Y_RANGE_MAX","categoryYRangeMax");E("anychart.enums.Statistics.CATEGORY_Y_RANGE_MEDIAN","categoryYRangeMedian");E("anychart.enums.Statistics.CATEGORY_Y_RANGE_MIN","categoryYRangeMin");E("anychart.enums.Statistics.CATEGORY_Y_RANGE_MODE","categoryYRangeMode");E("anychart.enums.Statistics.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","categoryYRangePercentOfTotal");E("anychart.enums.Statistics.CATEGORY_Y_RANGE_SUM","categoryYRangeSum");E("anychart.enums.Statistics.CATEGORY_Y_SUM","categoryYSum");E("anychart.enums.Statistics.CLOSE","close");E("anychart.enums.Statistics.COUNT","count");E("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MAX_SIZE","dataPlotBubbleMaxSize");E("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MIN_SIZE","dataPlotBubbleMinSize");E("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_AVERAGE","dataPlotBubbleSizeAverage");E("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_SUM","dataPlotBubbleSizeSum");E("anychart.enums.Statistics.DATA_PLOT_MAX_X_SUM_SERIES_NAME","dataPlotMaxXSumSeriesName");E("anychart.enums.Statistics.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","dataPlotMaxYSumSeriesName");E("anychart.enums.Statistics.DATA_PLOT_MAX_X_VALUE_POINT_SERIES_NAME","dataPlotMaxXValuePointSeriesName");E("anychart.enums.Statistics.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","dataPlotMaxYValuePointSeriesName");E("anychart.enums.Statistics.DATA_PLOT_MIN_X_SUM_SERIES_NAME","dataPlotMinXSumSeriesName");E("anychart.enums.Statistics.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","dataPlotMinYSumSeriesName");E("anychart.enums.Statistics.DATA_PLOT_MIN_X_VALUE_POINT_SERIES_NAME","dataPlotMinXValuePointSeriesName");E("anychart.enums.Statistics.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","dataPlotMinYValuePointSeriesName");E("anychart.enums.Statistics.DATA_PLOT_POINT_COUNT","dataPlotPointCount");E("anychart.enums.Statistics.DATA_PLOT_SERIES_COUNT","dataPlotSeriesCount");E("anychart.enums.Statistics.DATA_PLOT_X_AVERAGE","dataPlotXAverage");E("anychart.enums.Statistics.DATA_PLOT_X_MAX","dataPlotXMax");E("anychart.enums.Statistics.DATA_PLOT_X_MIN","dataPlotXMin");E("anychart.enums.Statistics.DATA_PLOT_X_SUM","dataPlotXSum");E("anychart.enums.Statistics.DATA_PLOT_Y_AVERAGE","dataPlotYAverage");E("anychart.enums.Statistics.DATA_PLOT_Y_MAX","dataPlotYMax");E("anychart.enums.Statistics.DATA_PLOT_Y_MIN","dataPlotYMin");E("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MAX","dataPlotYRangeMax");E("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MIN","dataPlotYRangeMin");E("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_SUM","dataPlotYRangeSum");E("anychart.enums.Statistics.DATA_PLOT_Y_SUM","dataPlotYSum");E("anychart.enums.Statistics.HIGH","high");E("anychart.enums.Statistics.INDEX","index");E("anychart.enums.Statistics.LOW","low");E("anychart.enums.Statistics.NAME","name");E("anychart.enums.Statistics.MAX","max");E("anychart.enums.Statistics.MIN","min");E("anychart.enums.Statistics.OPEN","open");E("anychart.enums.Statistics.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","pertChartCriticalPathStandardDeviation");E("anychart.enums.Statistics.PERT_CHART_PROJECT_DURATION","pertChartProjectDuration");E("anychart.enums.Statistics.POINTS_COUNT","pointsCount");E("anychart.enums.Statistics.RANGE","range");E("anychart.enums.Statistics.RANGE_END","rangeEnd");E("anychart.enums.Statistics.RANGE_START","rangeStart");E("anychart.enums.Statistics.SERIES_AVERAGE","seriesAverage");E("anychart.enums.Statistics.SERIES_BUBBLE_MAX_SIZE","seriesBubbleMaxSize");E("anychart.enums.Statistics.SERIES_BUBBLE_MIN_SIZE","seriesBubbleMinSize");E("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_AVERAGE","seriesBubbleSizeAverage");E("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MEDIAN","seriesBubbleSizeMedian");E("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MODE","seriesBubbleSizeMode");E("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_SUM","seriesBubbleSizeSum");E("anychart.enums.Statistics.SERIES_FIRST_X_VALUE","seriesFirstXValue");E("anychart.enums.Statistics.SERIES_FIRST_Y_VALUE","seriesFirstYValue");E("anychart.enums.Statistics.SERIES_LAST_X_VALUE","seriesLastXValue");E("anychart.enums.Statistics.SERIES_LAST_Y_VALUE","seriesLastYValue");E("anychart.enums.Statistics.SERIES_MIN","seriesMin");E("anychart.enums.Statistics.SERIES_MAX","seriesMax");E("anychart.enums.Statistics.SERIES_NAME","seriesName");E("anychart.enums.Statistics.SERIES_POINT_COUNT","seriesPointCount");E("anychart.enums.Statistics.SERIES_POINTS_COUNT","seriesPointsCount");E("anychart.enums.Statistics.SERIES_SUM","seriesSum");E("anychart.enums.Statistics.SERIES_X_AVERAGE","seriesXAverage");E("anychart.enums.Statistics.SERIES_X_MAX","seriesXMax");E("anychart.enums.Statistics.SERIES_X_MEDIAN","seriesXMedian");E("anychart.enums.Statistics.SERIES_X_MIN","seriesXMin");E("anychart.enums.Statistics.SERIES_X_MODE","seriesXMode");E("anychart.enums.Statistics.SERIES_X_SUM","seriesXSum");E("anychart.enums.Statistics.SERIES_Y_AVERAGE","seriesYAverage");E("anychart.enums.Statistics.SERIES_Y_MAX","seriesYMax");E("anychart.enums.Statistics.SERIES_Y_MEDIAN","seriesYMedian");E("anychart.enums.Statistics.SERIES_Y_MIN","seriesYMin");E("anychart.enums.Statistics.SERIES_Y_MODE","seriesYMode");E("anychart.enums.Statistics.SERIES_Y_RANGE_AVERAGE","seriesYRangeAverage");E("anychart.enums.Statistics.SERIES_Y_RANGE_MAX","seriesYRangeMax");E("anychart.enums.Statistics.SERIES_Y_RANGE_MEDIAN","seriesYRangeMedian");E("anychart.enums.Statistics.SERIES_Y_RANGE_MIN","seriesYRangeMin");E("anychart.enums.Statistics.SERIES_Y_RANGE_MODE","seriesYRangeMode");E("anychart.enums.Statistics.SERIES_Y_RANGE_SUM","seriesYRangeSum");E("anychart.enums.Statistics.SERIES_Y_SUM","seriesYSum");E("anychart.enums.Statistics.SUM","sum");E("anychart.enums.Statistics.VALUE","value");E("anychart.enums.Statistics.X_PERCENT_OF_SERIES","xPercentOfSeries");E("anychart.enums.Statistics.X_PERCENT_OF_TOTAL","xPercentOfTotal");E("anychart.enums.Statistics.X_VALUE","xValue");E("anychart.enums.Statistics.Y_PERCENT_OF_CATEGORY","yPercentOfCategory");E("anychart.enums.Statistics.Y_PERCENT_OF_SERIES","yPercentOfSeries");E("anychart.enums.Statistics.Y_PERCENT_OF_TOTAL","yPercentOfTotal");E("anychart.enums.Statistics.Y_VALUE","yValue");E("anychart.enums.ChartDataExportMode.RAW","raw");E("anychart.enums.ChartDataExportMode.SPECIFIC","specific");E("anychart.enums.ChartDataExportMode.GROUPED","grouped");E("anychart.enums.MapSeriesType.CHOROPLETH","choropleth");E("anychart.enums.MapSeriesType.BUBBLE","bubble");E("anychart.enums.MapSeriesType.MARKER","marker");E("anychart.enums.MapSeriesType.CONNECTOR","connector");E("anychart.enums.CartesianSeriesType.AREA","area");E("anychart.enums.CartesianSeriesType.BAR","bar");E("anychart.enums.CartesianSeriesType.BOX","box");E("anychart.enums.CartesianSeriesType.BUBBLE","bubble");E("anychart.enums.CartesianSeriesType.CANDLESTICK","candlestick");E("anychart.enums.CartesianSeriesType.COLUMN","column");E("anychart.enums.CartesianSeriesType.LINE","line");E("anychart.enums.CartesianSeriesType.MARKER","marker");E("anychart.enums.CartesianSeriesType.OHLC","ohlc");E("anychart.enums.CartesianSeriesType.RANGE_AREA","rangeArea");E("anychart.enums.CartesianSeriesType.RANGE_BAR","rangeBar");E("anychart.enums.CartesianSeriesType.RANGE_COLUMN","rangeColumn");E("anychart.enums.CartesianSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");E("anychart.enums.CartesianSeriesType.RANGE_STEP_AREA","rangeStepArea");E("anychart.enums.CartesianSeriesType.SPLINE","spline");E("anychart.enums.CartesianSeriesType.SPLINE_AREA","splineArea");E("anychart.enums.CartesianSeriesType.STEP_AREA","stepArea");E("anychart.enums.CartesianSeriesType.STEP_LINE","stepLine");E("anychart.enums.Cartesian3dSeriesType.AREA","area");E("anychart.enums.Cartesian3dSeriesType.BAR","bar");E("anychart.enums.Cartesian3dSeriesType.COLUMN","column");E("anychart.enums.ScatterSeriesType.BUBBLE","bubble");E("anychart.enums.ScatterSeriesType.LINE","line");E("anychart.enums.ScatterSeriesType.MARKER","marker");E("anychart.enums.SparklineSeriesType.AREA","area");E("anychart.enums.SparklineSeriesType.COLUMN","column");E("anychart.enums.SparklineSeriesType.LINE","line");E("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");E("anychart.enums.StockSeriesType.AREA","area");E("anychart.enums.StockSeriesType.CANDLESTICK","candlestick");E("anychart.enums.StockSeriesType.COLUMN","column");E("anychart.enums.StockSeriesType.LINE","line");E("anychart.enums.StockSeriesType.MARKER","marker");E("anychart.enums.StockSeriesType.OHLC","ohlc");E("anychart.enums.StockSeriesType.RANGE_AREA","rangeArea");E("anychart.enums.StockSeriesType.RANGE_COLUMN","rangeColumn");E("anychart.enums.StockSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");E("anychart.enums.StockSeriesType.RANGE_STEP_AREA","rangeStepArea");E("anychart.enums.StockSeriesType.SPLINE","spline");E("anychart.enums.StockSeriesType.SPLINE_AREA","splineArea");E("anychart.enums.StockSeriesType.STEP_AREA","stepArea");E("anychart.enums.StockSeriesType.STEP_LINE","stepLine");E("anychart.enums.RadarSeriesType.AREA","area");E("anychart.enums.RadarSeriesType.LINE","line");E("anychart.enums.RadarSeriesType.MARKER","marker");E("anychart.enums.PolarSeriesType.AREA","area");E("anychart.enums.PolarSeriesType.LINE","line");E("anychart.enums.PolarSeriesType.MARKER","marker");E("anychart.enums.MilestoneShape.CIRCLE","circle");E("anychart.enums.MilestoneShape.RHOMBUS","rhombus");E("anychart.enums.MilestoneShape.RECTANGLE","rectangle");E("anychart.enums.AnnotationTypes.RAY","ray");E("anychart.enums.AnnotationTypes.LINE","line");E("anychart.enums.AnnotationTypes.INFINITE_LINE","infiniteLine");E("anychart.enums.AnnotationTypes.VERTICAL_LINE","verticalLine");E("anychart.enums.AnnotationTypes.HORIZONTAL_LINE","horizontalLine");E("anychart.enums.AnnotationTypes.RECTANGLE","rectangle");E("anychart.enums.AnnotationTypes.ELLIPSE","ellipse");E("anychart.enums.AnnotationTypes.TRIANGLE","triangle");E("anychart.enums.AnnotationTypes.TREND_CHANNEL","trendChannel");E("anychart.enums.AnnotationTypes.ANDREWS_PITCHFORK","andrewsPitchfork");E("anychart.enums.AnnotationTypes.FIBONACCI_FAN","fibonacciFan");E("anychart.enums.AnnotationTypes.FIBONACCI_ARC","fibonacciArc");E("anychart.enums.AnnotationTypes.FIBONACCI_RETRACEMENT","fibonacciRetracement");E("anychart.enums.AnnotationTypes.FIBONACCI_TIMEZONES","fibonacciTimezones");E("anychart.enums.AnnotationTypes.MARKER","marker");E("anychart.enums.A11yMode.CHART_ELEMENTS","chartElements");E("anychart.enums.A11yMode.DATA_TABLE","dataTable");function Rc(a,b,c){Sc("error","Error: "+a+"\nDescription: "+Tc(a,c),b||"")}
function Tc(a,b){switch(a){case 1:return"Container is not set or can not be properly recognized. Use container() method to set it.";case 2:return"Scale is not set. Use scale() method to set it.";case 3:return"Table.contents() accepts only an Array of Arrays as it's first argument.";case 4:return'Feature "'+b[0]+'" is not supported in this module. See modules list for details.';case 5:return b[0]+" should be only scatter type (linear, log).";case 7:return"Empty config passed to anychart.fromJson() or anychart.fromXml() method.";case 8:return"Bullet and Sparkline charts do not support Legend. Please use anychart.ui.Legend component for a group of charts instead.";case 51:return"Stock chart itself doesn't support legend - stock plots do. So use stock.plot().legend() instead.";case 9:return"Bullet and Sparkline charts do not support Credits.";case 10:return"Invalid GeoJSON object:";case 100:return"Double quotes in separator are not allowed.";case 101:return"CSV parsing failed.";case 200:return"Cannot create a computer on the table with the mapping of another table.";case 201:return'Cannot create computed field "'+b[0]+'" - field name should be unique for the table';case 202:return'Cannot create output field "'+b[0]+'" on the computer - field with this name already exists';default:return"Unknown error occurred. Please, contact support team at http://support.anychart.com/.\nWe will be very grateful for your report."}}function K(a,b,c,d){d&&Sc("warn","Warning: "+a+"\nDescription: "+Uc(a,c),b||"")}
function Uc(a,b){switch(a){case 1:return"Data item with ID='"+b[0]+"' already exists in the tree and will be used as the parent for all related data items.";case 2:return"Data item with ID='"+b[0]+"' is not unique. First met object will be used.";case 3:return"One of the data items was looking for the parent with ID='"+b[0]+"', but did not find it. Please check the data.\nPLEASE NOTE: this data item will be added as the root to avoid loss of information.";case 4:return"Data item {ID='"+b[0]+"', PARENT='"+
b[1]+"'} belongs to a cycle and will not be added to the tree.";case 5:return"Can not set value for the '"+b[0]+"' field to an array row if it is not mapped.";case 6:return"Setting complex value to the default '"+b[0]+"' field changes row behaviour.";case 7:return"Can not set value for the '"+b[0]+"' field to a row that is not an object or an array.";case 8:return"We can not serialize '"+b[0]+"' function, please reset it manually.";case 9:return"Data grid incorrect method '"+b[0]+"()' usage: You use not standalone data grid. Perform all operations on data grid using the controller, but not directly. In current case, use '"+
b[1]+"()' instead. "+b[2];case 404:return b[0]+" with id='"+b[1]+"' is not found in data tree. Please check what you are looking for.";case 11:return"Can not fit gantt chart timeline to task with id '"+b[0]+"' because both fields 'actualStart' and 'actualEnd' must be correctly specified in data item.";case 12:return'Series type "'+b[0]+'" does not support error settings - only Area, Bar, Column, Line, Marker, Spline, SplineArea, StepLine and StepLineArea do.';case 13:return"Toolbar container is not specified. Please set a container using toolbar.container() method.";case 14:return"Target chart has not method "+b[0]+"(). PLease make sure that you use correct instance of chart.";case 15:return"No chart is assigned for toolbar. Please set a target chart using toolbar.target() method.";case 405:return"Method "+b[0]+" is deprecated. Use "+b[1]+" instead.";case 17:return"Incorrect arguments passed to treeDataItem.set() method. You try to set a value by path in complex structure, but path contains errors (It can be not string and not numeric values, or invalid path in existing structure, or incorrect number of path's elements etc). Please, see the documentation for treeDataItem.set() method and carefully check your data.";case 101:return"Table is already in transaction mode. Calling startTransaction() multiple times does nothing.";case 201:return"Wrong mapping passed to "+b[0]+' series - required "'+b[1]+"' field is missing.";case 16:return'Scale type "'+b[0]+'" is not supported - only '+b[1]+" is.";case 406:return'Could not parse date time value "'+b[0]+'".'+(b[1]?"Symbols parsed: "+b[1]:"");case 500:return"Scale is immutable for this type of axis marker and scale will not be set.";case 501:return"Layout is immutable for this type of axis marker and layout will not be set.";case 18:return"There should be only one root in tree map data. First node has been taken as root.";case 301:return'Feature with id "'+b[0]+'" not found';default:return"Unknown error. Please, contact support team at http://support.anychart.com/.\nWe will be very grateful for your report!"}}function Sc(a,b,c){var d=aa.console;d&&(a=d[a]||d.log,"object"!=typeof a&&a.call(d,b,c))};function Vc(){this.Kl=this.c=this.a=null}Vc.prototype.cf=function(a){var b=a.substr(1),c=b.charAt(0).toLowerCase()+b.slice(1);if(this.Kl&&m(this.Kl.$b(c)))return this.Kl.$b(c);if(this.c&&this.c.$b(c))return this.c.$b(c);if(this.a&&this.a.$b&&this.a.$b(c))return this.a.$b(c);switch(a){case"%Value":case"%YValue":return this.value;case"%Index":return this.index;default:return this.rh(b)}};Vc.prototype.gk=function(a){switch(a){case"%AxisScaleMax":case"%AxisScaleMin":case"%DataPlotYRangeMax":case"%DataPlotYRangeMin":case"%DataPlotYRangeSum":case"%SeriesFirstXValue":case"%SeriesFirstYValue":case"%SeriesLastXValue":case"%SeriesLastYValue":case"%SeriesXSum":case"%SeriesBubbleSizeSum":case"%SeriesXMax":case"%SeriesXMin":case"%SeriesBubbleMaxSize":case"%SeriesBubbleMinSize":case"%SeriesXAverage":case"%SeriesBubbleSizeAverage":case"%SeriesYMedian":case"%SeriesXMedian":case"%SeriesBubbleSizeMedian":case"%SeriesYMode":case"%SeriesXMode":case"%SeriesBubbleSizeMode":case"%SeriesYRangeMax":case"%SeriesYRangeMin":case"%SeriesYRangeSum":case"%CategoryYSum":case"%CategoryYAverage":case"%CategoryYMedian":case"%CategoryYMode":case"%CategoryYRangeMax":case"%CategoryYRangeMin":case"%CategoryYRangeSum":case"%DataPlotXSum":case"%DataPlotBubbleSizeSum":case"%DataPlotXMax":case"%DataPlotXMin":case"%DataPlotBubbleMaxSize":case"%DataPlotBubbleMinSize":case"%DataPlotXAverage":case"%DataPlotBubbleSizeAverage":case"%Value":case"%YValue":case"%High":case"%Low":case"%Open":case"%Close":case"%XValue":case"%BubbleSize":case"%Index":case"%RangeStart":case"%RangeEnd":case"%Range":case"%SeriesYSum":case"%SeriesYMax":case"%SeriesYMin":case"%SeriesYAverage":case"%SeriesPointCount":case"%SeriesPointsCount":case"%DataPlotYSum":case"%DataPlotYMax":case"%DataPlotYMin":case"%DataPlotYAverage":case"%DataPlotPointCount":case"%DataPlotSeriesCount":case"%BubbleSizePercentOfCategory":case"%BubbleSizePercentOfSeries":case"%BubbleSizePercentOfTotal":case"%CategoryYPercentOfTotal":case"%CategoryYRangePercentOfTotal":case"%YPercentOfCategory":case"%YPercentOfSeries":case"%YPercentOfTotal":case"%XPercentOfSeries":case"%XPercentOfTotal":return"number";case"%Name":case"%SeriesName":case"%DataPlotMaxYValuePointName":case"%DataPlotMinYValuePointName":case"%DataPlotMaxYValuePointSeriesName":case"%DataPlotMinYValuePointSeriesName":case"%DataPlotMaxYSumSeriesName":case"%DataPlotMinYSumSeriesName":case"%SeriesYAxisName":case"%SeriesXAxisName":case"%CategoryName":case"%AxisName":return"string";default:return"string"}};Vc.prototype.getTokenValue=Vc.prototype.cf;Vc.prototype.getTokenType=Vc.prototype.gk;function Wc(a,b,c){Vc.call(this);this.axis=a;a=a.scale();var d,e;if(a instanceof Xc)d=parseFloat(c),e=parseFloat(c);else if(a instanceof sb)d=a.ja().names()[b],e=c;else if(a instanceof Yc){var f=new Date(c);d=f.getMonth()+1;e=f.getDate();f=f.getFullYear();d=(10>d?"0"+d:""+d)+"-"+(10>e?"0"+e:""+e)+"-"+f;e=c}this.index=b;this.value=d;this.tickValue=e;this.max=m(a.max)?a.max:null;this.min=m(a.min)?a.min:null;this.scale=a}G(Wc,Vc);Wc.prototype.cf=function(a){switch(a){case"%AxisName":return this.axis.title().text();case"%AxisScaleMax":return this.max;case"%AxisScaleMin":return this.min}return Wc.v.cf.call(this,a)};Wc.prototype.gk=function(a){var b=this.axis.scale();switch(a){case"%AxisScaleMax":case"%AxisScaleMin":case"%Index":return"number";case"%Value":if(b instanceof Xc)return"number";if(b instanceof sb||b instanceof Yc)return"string"}return Wc.v.gk.call(this,a)};Wc.prototype.rh=function(){};Wc.prototype.getTokenValue=Wc.prototype.cf;Wc.prototype.getTokenType=Wc.prototype.gk;function Zc(a){Vc.call(this);this.chart=this.a=a}G(Zc,Vc);Zc.prototype.$b=function(a){return this.chart.$b(a)};Zc.prototype.getStat=Zc.prototype.$b;function $c(a){this.isResources=!!a;this.a=null;this.c=-1}
$c.prototype.Bf=function(){if(this.a)if(this.item=this.a,this.name=this.a.get("name"),this.id=this.a.get("id"),this.isResources)this.minPeriodDate=this.a.l("minPeriodDate"),this.maxPeriodDate=this.a.l("maxPeriodDate"),this.period=this.b||void 0,this.periodIndex=null!=this.c&&0<=this.c?this.c:void 0,this.periodStart=this.b?this.a.ug("periods",this.c,"start"):void 0,this.periodEnd=this.b?this.a.ug("periods",this.c,"end"):void 0;else{this.actualStart=this.a.l("actualStart");this.actualEnd=this.a.l("actualEnd");this.progressValue=this.a.get("progressValue");var a=!!this.a.wb();this.autoStart=a?this.a.l("autoStart"):void 0;this.autoEnd=a?this.a.l("autoEnd"):void 0;this.autoProgress=a?this.a.l("autoProgress"):void 0}};$c.prototype.rh=function(a){return this.a?this.a.get(a):void 0};$c.prototype.$b=function(){};$c.prototype.g=function(a){return this.a?this.a.l(a):void 0};$c.prototype.getDataValue=$c.prototype.rh;$c.prototype.getStat=$c.prototype.$b;$c.prototype.getMetaValue=$c.prototype.g;function ad(a){this.a=a}ad.prototype.$b=function(a){if(this.a.L)return this.a.L(a)};ad.prototype.c=function(a){if(this.a.l)return this.a.l(a)};ad.prototype.cf=function(){};ad.prototype.gk=function(){return""};ad.prototype.getStat=ad.prototype.$b;ad.prototype.getMeta=ad.prototype.c;ad.prototype.getTokenType=ad.prototype.gk;ad.prototype.getTokenValue=ad.prototype.cf;function bd(a,b){Vc.call(this);this.pointer=this.b=a;this.ed=b}G(bd,Vc);bd.prototype.Bf=function(){var a=this.b.G(),b;this.index=a.S();this.name=this.b.name()||"Pointer "+this.b.wg();for(var c=0;c<this.ed.length;c++)b=this.ed[c],this[b]=a.get(b)};bd.prototype.$b=function(){};bd.prototype.rh=function(a){return this.b.G().get(a)};bd.prototype.cf=function(a){switch(a){case"%High":return this.high;case"%Low":return this.low;case"%Name":return this.name}return bd.v.cf.call(this,a)};bd.prototype.getStat=bd.prototype.$b;bd.prototype.getDataValue=bd.prototype.rh;bd.prototype.getTokenValue=bd.prototype.cf;function cd(a,b){Vc.call(this);this.chart=this.a=a;this.ed=b}G(cd,Vc);cd.prototype.Bf=function(){var a=this.chart.G(),b;this.index=a.S();for(var c=0;c<this.ed.length;c++)b=this.ed[c],this[b]=a.get(b);a.l("groupedPoint")?(this.name="Other points",this.groupedPoint=!0,this.names=a.l("names"),this.values=a.l("values")):(delete this.groupedPoint,delete this.names,delete this.values)};cd.prototype.$b=function(a){return this.chart.$b(a)};cd.prototype.rh=function(a){return this.chart.G().get(a)};cd.prototype.cf=function(a){switch(a){case"%Name":return this.name;case"%XValue":return this.x}return cd.v.cf.call(this,a)};cd.prototype.getStat=cd.prototype.$b;cd.prototype.getDataValue=cd.prototype.rh;cd.prototype.getTokenValue=cd.prototype.cf;function dd(a,b,c){Vc.call(this);this.c=a;if(this.a=a.Hh&&a.Hh())this.chart=this.a;this.series=a;this.b=c;this.ed=b}G(dd,Vc);g=dd.prototype;g.Bf=function(){var a=this.series.G(),b;this.index=a?a.S():NaN;this.Kl=this.c.vd?this.c.vd(this.index):null;this.x=a?a.ms():void 0;for(var c=0;c<this.ed.length;c++)b=this.ed[c],this[b]=a?a.get(b):void 0;this.series.name&&(this.seriesName=this.series.name()||"Series "+this.series.S());if(this.b){a=this.series;b=a.error().mode();if("both"==b||"value"==b)c=a.Vg(!1),this.valueLowerError=c[0],this.valueUpperError=c[1];if("both"==b||"x"==b)c=a.Vg(!0),this.xLowerError=c[0],this.xUpperError=c[1]}};g.$b=function(a){return this.series.L(a)};g.rh=function(a){return this.series.G().get(a)};g.eO=function(a){return this.series.l(a)};g.cf=function(a){switch(a){case"%High":return this.high;case"%Low":return this.low;case"%Open":return this.open;case"%Close":return this.close;case"%BubbleSize":return this.size;case"%RangeStart":return this.low;case"%RangeEnd":return this.high;case"%Range":return this.high-this.low;case"%SeriesName":return this.seriesName;case"%XValue":return this.x;case"%Name":return this.rh("name")}return dd.v.cf.call(this,a)};dd.prototype.getStat=dd.prototype.$b;dd.prototype.getDataValue=dd.prototype.rh;dd.prototype.getSeriesMeta=dd.prototype.eO;dd.prototype.getTokenValue=dd.prototype.cf;function ed(a){Vc.call(this);this.chart=this.a=a}G(ed,Vc);ed.prototype.Bf=function(){var a=this.chart.G(),b=a.getItem();this.index=a.S();this.name=b.get("name");this.value=b.l("value");this.size=b.l("size")};ed.prototype.$b=function(){};ed.prototype.rh=function(a){return this.chart.G().getItem().get(a)};ed.prototype.cf=function(a){switch(a){case"%Name":return this.name}return ed.v.cf.call(this,a)};ed.prototype.getStat=ed.prototype.$b;ed.prototype.getDataValue=ed.prototype.rh;ed.prototype.getTokenValue=ed.prototype.cf;var fd=10*1E-6,gd={name:"fill",Yc:"path",jd:["fill","hoverFill","selectFill"],qd:null,Ic:!1,zIndex:0},hd={name:"stroke",Yc:"path",jd:null,qd:["stroke","hoverStroke","selectStroke"],Ic:!1,zIndex:2E-6},id={name:"hatchFill",Yc:"path",jd:["hatchFill","hoverHatchFill","selectHatchFill"],qd:null,Ic:!0,zIndex:1E-6},jd={name:"high",Yc:"path",jd:null,qd:["highStroke","hoverHighStroke","selectHighStroke"],Ic:!1,zIndex:2E-6},kd={name:"low",Yc:"path",jd:null,qd:["lowStroke","hoverLowStroke","selectLowStroke"],Ic:!1,zIndex:2E-6},ld={name:"path",Yc:"path",jd:["fill","hoverFill","selectFill"],qd:["stroke","hoverStroke","selectStroke"],Ic:!1,zIndex:0},md={name:"top",Yc:"path",jd:null,qd:["stroke","hoverStroke","selectStroke"],Ic:!1,zIndex:3E-6},nd={name:"bottom",Yc:"path",jd:null,qd:["stroke","hoverStroke","selectStroke"],Ic:!1,zIndex:2E-6},od={name:"left",Yc:"path",jd:null,qd:["stroke","hoverStroke","selectStroke"],Ic:!1,zIndex:1E-6},pd={name:"right",Yc:"path",jd:null,qd:["stroke","hoverStroke","selectStroke"],Ic:!1,zIndex:4E-6},qd={name:"back",Yc:"path",jd:null,qd:["stroke","hoverStroke","selectStroke"],Ic:!1,zIndex:0},rd={name:"front",Yc:"path",jd:null,qd:["stroke","hoverStroke","selectStroke"],Ic:!1,zIndex:5*1E-6},sd={name:"frontHatch",Yc:"path",jd:["hatchFill","hoverHatchFill","selectHatchFill"],qd:null,Ic:!0,zIndex:8E-6},td={name:"rightHatch",Yc:"path",jd:["hatchFill","hoverHatchFill","selectHatchFill"],qd:null,Ic:!0,zIndex:7E-6},ud={name:"topHatch",Yc:"path",jd:["hatchFill","hoverHatchFill","selectHatchFill"],qd:null,Ic:!0,zIndex:6E-6};function vd(a,b){return!!((Number(a)||0)&(b||255))};aa.performance&&A(aa.performance.now)&&na(aa.performance.now,aa.performance);(function(){function a(){for(var a=this.chart,c=b.call(this),d=a.getSeriesCount(),e={},f=0;f<d;f++){var h=a.getSeriesAt(f).getType();e[h]=e.hasOwnProperty(h)?e[h]+1:1}var c=c+", with ",k;for(k in e)c+=e[k]+" "+k+" series, ";c+=". ";e=a.yScale();a=a.xScale();d=a.getType();f=e.getType();if("ordinal"==f){e=e.values();c+="Y-scale with "+e.length+" categories: ";for(f=0;f<e.length;f++)c+=e[f]+", ";c+=". "}else c="dateTime"==f?c+("Y-scale minimum value is "+window.anychart.format.dateTime(e.minimum())+" , maximum value is "+window.anychart.format.dateTime(e.maximum())+". "):c+("Y-scale minimum value is "+e.minimum()+" , maximum value is "+e.maximum()+". ");if("ordinal"==d){a=a.values();c+="X-scale with "+a.length+" categories: ";for(d=0;d<a.length;d++)c+=a[d]+", ";c+=". "}else c="dateTime"==d?c+("X-scale minimum value is "+window.anychart.format.dateTime(a.minimum())+" , maximum value is "+window.anychart.format.dateTime(a.maximum())+". "):c+("X-scale minimum value is "+a.minimum()+" , maximum value is "+
a.maximum()+". ");return c}function b(){var a=this.chart,b=a.title(),b=b&&b.enabled()&&b.text()?b.text():"";return(a.getType()||"Anychart ")+" chart "+(b?" entitled "+b:"")}function c(){return window.anychart.color.setThickness(this.sourceColor,1.5)}function d(){return this.seriesName+":\n  Open: "+parseFloat(this.open).toFixed(2)+"\n  High: "+parseFloat(this.high).toFixed(2)+"\n  Low: "+parseFloat(this.low).toFixed(2)+"\n  Close: "+parseFloat(this.close).toFixed(2)}function e(){return this.seriesName+":\n  High: "+parseFloat(this.high).toFixed(2)+"\n  Low: "+parseFloat(this.low).toFixed(2)}function f(){return"Open: "+parseFloat(this.open).toFixed(2)+"\nHigh: "+parseFloat(this.high).toFixed(2)+"\nLow: "+parseFloat(this.low).toFixed(2)+"\nClose: "+parseFloat(this.close).toFixed(2)}function h(){return parseFloat(this.high).toFixed(2)}function k(){return"High: "+parseFloat(this.high).toFixed(2)+"\nLow: "+parseFloat(this.low).toFixed(2)}function l(){return{color:this.sourceColor,dash:"6 4"}}function n(){return window.anychart.color.setThickness(this.sourceColor,1.5)}function p(){return window.anychart.color.setThickness(window.anychart.color.lighten(this.sourceColor),1.5)}function q(){return window.anychart.color.setThickness(this.sourceColor,1.5)}function t(){return window.anychart.color.lighten(this.sourceColor)}function v(){return window.anychart.color.darken(this.sourceColor)}function w(){return window.anychart.color.setOpacity(this.sourceColor,.85,!0)}function x(){return window.anychart.color.setOpacity(this.sourceColor,.5,!0)}function z(){return window.anychart.color.setOpacity(this.sourceColor,.65,!0)}function C(){return window.anychart.color.setOpacity(this.sourceColor,.7,!0)}function F(){return this.sourceColor}function J(){return(new Date(this.x)).toLocaleDateString("en-US",{year:"numeric",month:"numeric",day:"numeric"})}function O(){return this.x}function S(){return this.creator?this.index:this.isStart?"S":"F"}function da(){return this.name||this.getDataValue("id")}function V(){return this.value}window.anychart=window.anychart||{};window.anychart.themes=window.anychart.themes||{};window.anychart.themes.defaultTheme={palette:{type:"distinct",items:"#64b5f6 #1976d2 #ef6c00 #ffd54f #455a64 #96a6a6 #dd2c00 #00838f #00bfa5 #ffa000".split(" ")},hatchFillPalette:{items:"backwardDiagonal forwardDiagonal horizontal vertical dashedBackwardDiagonal grid dashedForwardDiagonal dashedHorizontal dashedVertical diagonalCross diagonalBrick divot horizontalBrick verticalBrick checkerBoard confetti plaid solidDiamond zigZag weave percent05 percent10 percent20 percent25 percent30 percent40 percent50 percent60 percent70 percent75 percent80 percent90".split(" ")},hatchFillPaletteFor3D:{items:"backwardDiagonal forwardDiagonal dashedBackwardDiagonal grid dashedForwardDiagonal dashedHorizontal dashedVertical diagonalCross diagonalBrick divot horizontalBrick verticalBrick checkerBoard confetti plaid solidDiamond zigZag weave percent05 percent10 percent20 percent25 percent30 percent40 percent50 percent60 percent70 percent75 percent80 percent90 horizontal vertical".split(" ")},markerPalette:{items:"circle diamond square triangleDown triangleUp diagonalCross pentagon cross vline star5 star4 trapezium star7 star6 star10".split(" ")},defaultOrdinalColorScale:{autoColors:function(a){return window.anychart.color.blendedHueProgression("#90caf9","#01579b",a)}},defaultLinearColorScale:{colors:["#90caf9","#01579b"]},defaultFontSettings:{fontSize:13,fontFamily:"Verdana, Helvetica, Arial, sans-serif",fontColor:"#7c868e",textDirection:"ltr",fontOpacity:1,fontDecoration:"none",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",letterSpacing:"normal",lineHeight:"normal",textIndent:0,vAlign:"top",hAlign:"start",textWrap:"byLetter",textOverflow:"",selectable:!1,disablePointerEvents:!1,useHtml:!1},defaultBackground:{enabled:!1,fill:"#ffffff",stroke:"none",cornerType:"round",corners:0},defaultSeparator:{enabled:!1,fill:"#CECECE 0.3",width:"100%",height:1,margin:{top:5,right:0,bottom:5,left:0},orientation:"top",stroke:"none",zIndex:1},defaultLabelFactory:{enabled:!1,offsetX:0,offsetY:0,fontSize:12,minFontSize:8,maxFontSize:72,adjustFontSize:{width:!1,height:!1},anchor:"center",padding:{top:4,right:4,bottom:4,left:4},rotation:0,textFormatter:V,positionFormatter:V},defaultMarkerFactory:{anchor:"center",size:6,offsetX:0,offsetY:0,rotation:0,positionFormatter:V},defaultTitle:{enabled:!1,fontSize:16,text:"Title text",width:null,height:null,align:"center",hAlign:"center",padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0}},defaultTooltip:{enabled:!0,title:{enabled:!1,fontColor:"#ffffff",text:"",fontSize:14,rotation:0,width:null,height:null,align:"left",hAlign:"left",orientation:"top",zIndex:1},content:{enabled:!0,fontSize:12,minFontSize:9,maxFontSize:13,fontColor:"#ffffff",hAlign:"left",text:"Tooltip Text",width:null,height:null,anchor:"leftTop",offsetX:0,offsetY:0,position:"leftTop",adjustFontSize:{width:!1,height:!1},padding:{top:0,right:0,bottom:0,left:0},rotation:0,zIndex:1},fontSize:12,minFontSize:9,maxFontSize:13,fontColor:"#ffffff",hAlign:"left",text:"Tooltip Text",width:null,height:null,adjustFontSize:{width:!1,height:!1},background:{enabled:!0,fill:"#212121 0.7",corners:3,zIndex:0},offsetX:10,offsetY:10,padding:{top:5,right:10,bottom:5,left:10},valuePrefix:"",valuePostfix:"",position:"leftTop",anchor:"leftTop",hideDelay:0,titleFormatter:V,textFormatter:function(){return this.valuePrefix+this.value+this.valuePostfix}},defaultAxis:{enabled:!0,startAngle:0,drawLastLabel:!0,drawFirstLabel:!0,staggerMaxLines:2,staggerMode:!1,staggerLines:null,width:null,overlapMode:"noOverlap",stroke:"#CECECE",title:{padding:{top:5,right:5,bottom:5,left:5},enabled:!1,fontSize:13,text:"Axis title",fontColor:"#545f69",zIndex:35},labels:{enabled:!0,textFormatter:V,positionFormatter:V,zIndex:35},minorLabels:{enabled:!1,fontSize:9,textFormatter:V,positionFormatter:V,zIndex:35},ticks:{enabled:!0,length:6,position:"outside",stroke:"#CECECE",zIndex:35},minorTicks:{enabled:!1,length:4,position:"outside",stroke:"#EAEAEA",zIndex:35},zIndex:35},defaultGridSettings:{enabled:!0,isMinor:!1,drawFirstLine:!0,drawLastLine:!0,oddFill:"none",evenFill:"none",stroke:"#CECECE",scale:1,zIndex:11},defaultMinorGridSettings:{isMinor:!0,stroke:"#EAEAEA",zIndex:10},defaultLineMarkerSettings:{enabled:!0,value:0,layout:null,stroke:{color:"#7c868e",thickness:2,opacity:1,dash:"",lineJoin:"miter",lineCap:"square"},zIndex:25.2,scale:1},defaultTextMarkerSettings:{enabled:!0,fontSize:12,value:0,anchor:"center",align:"center",layout:null,offsetX:0,offsetY:0,text:"Text marker",width:null,height:null,zIndex:25.3,scale:1},defaultRangeMarkerSettings:{enabled:!0,from:0,to:0,layout:null,fill:"#c1c1c1 0.4",zIndex:25.1,scale:1},defaultLegend:{enabled:!1,vAlign:"bottom",fontSize:12,itemsLayout:"horizontal",itemsSpacing:15,items:null,itemsFormatter:null,itemsTextFormatter:null,itemsSourceMode:"default",inverted:!1,hoverCursor:"pointer",iconTextSpacing:5,iconSize:15,width:null,height:null,position:"top",align:"center",padding:{top:0,right:10,bottom:10,left:10},margin:{top:0,right:0,bottom:0,left:0},title:{fontSize:15},paginator:{enabled:!0,fontSize:12,fontColor:"#545f69",orientation:"right",layout:"horizontal",padding:{top:0,right:0,bottom:0,left:5},margin:{top:0,right:0,bottom:0,left:0},zIndex:30,buttonsSettings:{normal:{stroke:"#757575",fill:"#9e9e9e"},hover:{stroke:"#546e7a",fill:"#7c868e"},pushed:{stroke:"#7c868e",fill:"#9e9e9e"},disabled:{stroke:null,fill:"#e0e0e0"}}},titleFormatter:null,tooltip:{enabled:!1,allowLeaveScreen:!1,title:{enabled:!1}},zIndex:20},defaultCrosshairLabel:{x:0,y:0,axisIndex:0,anchor:null,textFormatter:V,enabled:!0,fontSize:12,minFontSize:8,maxFontSize:16,fontColor:"#ffffff",fontWeight:400,disablePointerEvents:!0,text:"Label text",background:{enabled:!0,fill:"#212121 0.7",corners:3,zIndex:0},padding:{top:5,right:10,bottom:5,left:10},width:null,height:null,offsetX:0,offsetY:0,adjustFontSize:{width:!1,height:!1},rotation:0},defaultColorRange:{enabled:!1,stroke:"#B9B9B9",orientation:"bottom",title:{enabled:!1},colorLineSize:10,padding:{top:10,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},align:"center",length:"50%",marker:{padding:{top:3,right:3,bottom:3,left:3},positionFormatter:V,enabled:!0,disablePointerEvents:!1,position:"center",rotation:0,anchor:"center",offsetX:0,offsetY:0,type:"triangleDown",fill:"#333 0.85",stroke:"none",size:7},labels:{offsetX:0,offsetY:0,fontSize:11,padding:{top:0,right:0,bottom:0,left:0}},ticks:{stroke:"#B9B9B9",position:"outside",length:5,enabled:!0},minorTicks:{stroke:"#B9B9B9",position:"outside",length:3,enabled:!1}},defaultCallout:{enabled:!0,orientation:"left",title:{enabled:!1},padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},align:"center",labels:{vAlign:"center",hAlign:"center",positionFormatter:V,adjustFontSize:!1,connectorStroke:null}},defaultScroller:{enabled:!1,fill:"#f7f7f7",selectedFill:"#ddd",outlineStroke:"none",height:16,minHeight:null,maxHeight:null,autoHide:!1,orientation:"bottom",position:"afterAxes",allowRangeChange:!0,thumbs:{enabled:!0,autoHide:!1,fill:"#E9E9E9",stroke:"#7c868e",hoverFill:"#ffffff",hoverStroke:"#757575"},inverted:!1,zIndex:35},defaultGroupingSettings:{enabled:!0,forced:!1,levels:[{unit:"millisecond",count:1},{unit:"millisecond",count:5},{unit:"millisecond",count:10},{unit:"millisecond",count:25},{unit:"millisecond",count:50},{unit:"millisecond",count:100},{unit:"millisecond",count:250},{unit:"millisecond",count:500},{unit:"second",count:1},{unit:"second",count:5},{unit:"second",count:10},{unit:"second",count:20},{unit:"second",count:30},{unit:"minute",count:1},{unit:"minute",count:5},{unit:"minute",count:15},{unit:"minute",count:30},{unit:"hour",count:1},{unit:"hour",count:2},{unit:"hour",count:6},{unit:"hour",count:12},{unit:"day",count:1},{unit:"week",count:1},{unit:"month",count:1},{unit:"month",count:3},{unit:"month",count:6},{unit:"year",count:1}],maxVisiblePoints:500,minPixPerPoint:NaN},chart:{enabled:!0,padding:{top:10,right:20,bottom:5,left:10},margin:{top:0,right:0,bottom:0,left:0},background:{enabled:!0,zIndex:1},contextMenu:{fromTheme:!0,enabled:!0},title:{text:"Chart Title",padding:{top:0,right:0,bottom:10,left:0},zIndex:80,background:{zIndex:0}},animation:{enabled:!1,duration:1E3},interactivity:{hoverMode:"single",selectionMode:"multiSelect",spotRadius:2,allowMultiSeriesSelection:!0},tooltip:{allowLeaveScreen:!1,allowLeaveChart:!0,displayMode:"single",positionMode:"float",title:{enabled:!0},separator:{enabled:!0},titleFormatter:function(){return this.points[0].x},textFormatter:function(){return this.formattedValues.join("\n")}},bounds:{top:null,right:null,bottom:null,left:null,width:null,height:null,minWidth:null,minHeight:null,maxWidth:null,maxHeight:null},credits:{enabled:null,text:"AnyChart",url:"http://anychart.com",alt:"AnyChart.com",inChart:!1,logoSrc:"https://static.anychart.com/logo.png"},defaultSeriesSettings:{base:{enabled:!0,background:{enabled:!0},tooltip:{enabled:!0,title:{enabled:!0},separator:{enabled:!0},titleFormatter:function(){return this.x},textFormatter:function(){return this.seriesName+": "+this.valuePrefix+this.value+this.valuePostfix}},hatchFill:!1,hoverHatchFill:null,selectHatchFill:null,labels:{anchor:"centerBottom",position:"centerTop"},hoverLabels:{enabled:null},selectLabels:{enabled:null},markers:{enabled:!1,disablePointerEvents:!1,position:"center",positionFormatter:V,size:4},hoverMarkers:{enabled:null,size:6},selectMarkers:{enabled:null,fill:"#333 0.85",stroke:"1.5 #212121",size:6},legendItem:{enabled:!0,iconType:"square"},fill:z,hoverFill:F,selectFill:"#333 0.85",stroke:q,hoverStroke:p,selectStroke:"#333 0.85",lowStroke:q,hoverLowStroke:p,selectLowStroke:"#333 0.85",highStroke:q,hoverHighStroke:p,selectHighStroke:"#333 0.85",clip:!0,color:null,xScale:null,yScale:null,error:{mode:"both",xError:null,xUpperError:null,xLowerError:null,valueError:null,valueUpperError:null,valueLowerError:null,xErrorWidth:10,valueErrorWidth:10,xErrorStroke:v,valueErrorStroke:v},pointWidth:null,connectMissingPoints:!1,a11y:{enabled:!0,titleFormatter:"Series named {%SeriesName} with {%SeriesPointsCount} points. Min value is {%SeriesYMin}, max value is {%SeriesYMax}"}},marker:{fill:F,stroke:c,hoverFill:t,hoverStroke:c,selectFill:"#333 0.85",selectStroke:"1.5 #212121",size:4,hoverSize:6,selectSize:6,legendItem:{iconStroke:"none"},labels:{anchor:"bottom",offsetY:3}},bubble:{fill:C,hoverFill:x,hoverMarkers:{position:"center"},displayNegative:!1,negativeFill:function(){return window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(this.sourceColor)))},hoverNegativeFill:function(){return window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(this.sourceColor))))},selectNegativeFill:function(){return window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(this.sourceColor)))},negativeStroke:function(){return window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(this.sourceColor))))},hoverNegativeStroke:function(){return window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(this.sourceColor)))))},selectNegativeStroke:function(){return window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(window.anychart.color.darken(this.sourceColor))))},negativeHatchFill:!1,hoverNegativeHatchFill:null,selectNegativeHatchFill:null,legendItem:{iconStroke:"none"},labels:{position:"center",anchor:"center"}},areaLike:{fill:z,hoverFill:z,markers:{position:"centerTop"},hoverMarkers:{enabled:!0},selectMarkers:{enabled:!0},legendItem:{iconStroke:"none"},labels:{anchor:"leftBottom"}},barLike:{fill:w,hoverFill:z,legendItem:{iconStroke:"none"},labels:{anchor:"centerBottom",position:"centerTop"}},lineLike:{labels:{anchor:"leftBottom"},hoverMarkers:{enabled:!0},selectMarkers:{enabled:!0}},rangeArea:{labels:{textFormatter:h},tooltip:{titleFormatter:O,textFormatter:k}},rangeSplineArea:{labels:{textFormatter:h},tooltip:{titleFormatter:O,textFormatter:k}},rangeStepArea:{labels:{textFormatter:h},tooltip:{titleFormatter:O,textFormatter:k}},candlestick:{risingFill:"#64b5f6",risingStroke:"#64b5f6",hoverRisingFill:t,hoverRisingStroke:v,fallingFill:"#ef6c00",fallingStroke:"#ef6c00",hoverFallingFill:t,hoverFallingStroke:v,risingHatchFill:!1,hoverRisingHatchFill:null,selectRisingHatchFill:null,fallingHatchFill:!1,hoverFallingHatchFill:null,selectFallingHatchFill:null,selectFallingFill:"#333 0.85",selectRisingFill:"#333 0.85",selectRisingStroke:"#333 0.85",selectFallingStroke:"#333 0.85",tooltip:{textFormatter:f},markers:{position:"centerTop"},labels:{position:"centerTop",anchor:"bottom",textFormatter:O}},column:{markers:{position:"centerTop"},hoverMarkers:{position:"centerTop"},labels:{offsetY:3,anchor:"centerBottom"}},rangeColumn:{markers:{position:"centerTop"},hoverMarkers:{position:"centerTop"},labels:{position:"centerTop",anchor:"bottom",textFormatter:h},tooltip:{textFormatter:k}},ohlc:{risingStroke:"#64b5f6",hoverRisingStroke:v,fallingStroke:"#ef6c00",hoverFallingStroke:v,selectRisingStroke:"3 #333 0.85",selectFallingStroke:"3 #333 0.85",tooltip:{textFormatter:f},markers:{position:"centerTop"},hoverMarkers:{enabled:null,position:"centerTop"},selectMarkers:{enabled:null,position:"centerTop"},labels:{position:"centerTop",anchor:"bottom",textFormatter:function(){return this.x}}}},defaultLabelSettings:{enabled:!0,text:"Chart label",width:null,height:null,anchor:"leftTop",position:"leftTop",offsetX:0,offsetY:0,minFontSize:8,maxFontSize:72,adjustFontSize:{width:!1,height:!1},rotation:0,zIndex:50},chartLabels:[],maxBubbleSize:"20%",minBubbleSize:"5%",a11y:{enabled:!0,titleFormatter:b,mode:"chartElements"},defaultAnnotationSettings:{base:{enabled:!0,fill:x,stroke:F,hoverFill:C,hoverStroke:v,selectFill:C,selectStroke:v,markers:{enabled:!1,size:5,type:"square",fill:"#ffff66",stroke:"#333333"},hoverMarkers:{enabled:null},selectMarkers:{enabled:!0},labels:{enabled:!0,position:"centerTop",anchor:"centerTop",textFormatter:function(){return this.level}},hoverLabels:{enabled:null},selectLabels:{enabled:null},color:"#e06666",allowEdit:!0,hoverGap:5},ray:{},line:{},infiniteLine:{},verticalLine:{},horizontalLine:{},rectangle:{},ellipse:{},triangle:{},trendChannel:{},andrewsPitchfork:{},fibonacciFan:{levels:[0,.382,.5,.618,1],timeLevels:[0,.382,.5,.618,1]},fibonacciArc:{levels:[.236,.382,.5,.618,.764,1]},fibonacciRetracement:{levels:[0,.236,.382,.5,.618,.764,1,1.236,1.382,1.5,1.618,1.764,2.618,4.236],labels:{position:"leftCenter",anchor:"rightCenter"}},fibonacciTimezones:{levels:[0,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765,10946,17711,28657,46368,75025,121393,196418,317811,514229,832040,1346269,2178309,3524578,5702887,9227465,14930352,24157817,39088169]},marker:{type:"arrowUp",size:20,anchor:"top",offsetX:0,offsetY:0},label:{}}},cartesianBase:{defaultSeriesSettings:{base:{labels:{textFormatter:"{%Value}{decimalsCount:2}"}},bar:{markers:{position:"right"},hoverMarkers:{position:"right"},labels:{offsetX:3,anchor:"leftCenter",position:"right"}},rangeBar:{markers:{position:"right"},hoverMarkers:{position:"right"},labels:{anchor:"leftCenter",offsetX:3,textFormatter:h,position:"right"},tooltip:{textFormatter:k}},box:{medianStroke:v,hoverMedianStroke:F,selectMedianStroke:"#333 0.85",stemStroke:v,hoverStemStroke:F,selectStemStroke:"#333 0.85",whiskerStroke:v,hoverWhiskerStroke:v,selectWhiskerStroke:"#333 0.85",whiskerWidth:0,hoverWhiskerWidth:null,selectWhiskerWidth:null,outlierMarkers:{enabled:!0,disablePointerEvents:!1,position:"center",rotation:0,anchor:"center",offsetX:0,offsetY:0,type:"circle",size:3,positionFormatter:V},hoverOutlierMarkers:{enabled:null,size:4},selectOutlierMarkers:{enabled:null,size:4,fill:"#333 0.85",stroke:"1.5 #212121"},labels:{textFormatter:function(){return"Highest: "+parseFloat(this.highest).toFixed(2)+"\nMedian: "+parseFloat(this.median).toFixed(2)+"\nLowest: "+parseFloat(this.lowest).toFixed(2)}},tooltip:{titleFormatter:function(){return this.name||this.x},textFormatter:function(){return"Lowest: "+this.valuePrefix+parseFloat(this.lowest).toFixed(2)+this.valuePostfix+"\nQ1: "+this.valuePrefix+parseFloat(this.q1).toFixed(2)+this.valuePostfix+"\nMedian: "+this.valuePrefix+parseFloat(this.median).toFixed(2)+this.valuePostfix+"\nQ3: "+this.valuePrefix+parseFloat(this.q3).toFixed(2)+this.valuePostfix+"\nHighest: "+this.valuePrefix+parseFloat(this.highest).toFixed(2)+this.valuePostfix}}}},defaultXAxisSettings:{orientation:"bottom",title:{text:"X-Axis",padding:{top:5,right:0,bottom:0,left:0}},labels:{textFormatter:"{%Value}{decimalsCount:10}"},scale:0},defaultYAxisSettings:{orientation:"left",title:{text:"Y-Axis",padding:{top:0,right:0,bottom:5,left:0}},labels:{textFormatter:"{%Value}{decimalsCount:10}"},scale:1},defaultAnnotationSettings:{},annotations:{annotationsList:[],zIndex:2E3},xAxes:[{}],yAxes:[{}],grids:[],minorGrids:[],series:[],lineAxesMarkers:[],rangeAxesMarkers:[],textAxesMarkers:[],xScale:0,yScale:1,barsPadding:.4,barGroupsPadding:.8,maxBubbleSize:"20%",minBubbleSize:"5%",barChartMode:!1,scales:[{type:"ordinal",inverted:!1,names:[],ticks:{interval:1}},{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0}],crosshair:{enabled:!1,displayMode:"float",xStroke:"#969EA5",yStroke:"#969EA5",zIndex:41},xZoom:{continuous:!0,startRatio:0,endRatio:1},a11y:{titleFormatter:function(){for(var a=this.chart,c=b.call(this),d=a.getSeriesCount(),e={},f=0;f<d;f++){var h=a.getSeriesAt(f).seriesType();e[h]=e.hasOwnProperty(h)?e[h]+1:1}var c=c+", with ",k;for(k in e)c+=e[k]+" "+k+" series, ";c+=". ";e=a.yScale();a=a.xScale();d=a.getType();f=e.getType();if("ordinal"==f){e=e.values();c+="Y-scale with "+e.length+" categories: ";for(f=0;f<e.length;f++)c+=e[f]+", ";c+=". "}else c="dateTime"==f?c+("Y-scale minimum value is "+window.anychart.format.dateTime(e.minimum())+" , maximum value is "+window.anychart.format.dateTime(e.maximum())+". "):c+("Y-scale minimum value is "+e.minimum()+" , maximum value is "+e.maximum()+". ");if("ordinal"==d){a=a.values();c+="X-scale with "+a.length+" categories: ";for(d=0;d<a.length;d++)c+=a[d]+", ";c+=". "}else c="dateTime"==d?c+("X-scale minimum value is "+window.anychart.format.dateTime(a.minimum())+" , maximum value is "+window.anychart.format.dateTime(a.maximum())+". "):c+("X-scale minimum value is "+a.minimum()+" , maximum value is "+
a.maximum()+". ");return c}}},cartesian:{defaultSeriesType:"line",xAxes:[],yAxes:[]},area:{defaultSeriesType:"area",tooltip:{displayMode:"union"},interactivity:{hoverMode:"byX"}},bar:{barChartMode:!0,defaultSeriesType:"bar",defaultXAxisSettings:{orientation:"left"},defaultYAxisSettings:{orientation:"bottom"},scales:[{type:"ordinal",inverted:!0,names:[],ticks:{interval:1}},{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0}],tooltip:{displayMode:"single",position:"right",anchor:"left",offsetX:10,offsetY:0},xScroller:{orientation:"left"}},column:{defaultSeriesType:"column",tooltip:{displayMode:"single",position:"centerTop",anchor:"bottom",offsetX:0,offsetY:10}},line:{defaultSeriesType:"line",tooltip:{displayMode:"union"},interactivity:{hoverMode:"byX"}},box:{defaultSeriesType:"box"},financial:{defaultSeriesType:"candlestick",defaultSeriesSettings:{candlestick:{tooltip:{titleFormatter:J},labels:{textFormatter:J}},ohlc:{tooltip:{titleFormatter:J},labels:{textFormatter:J}}},xAxes:[{labels:{textFormatter:function(){var a=new Date(this.tickValue),b=[" ",a.getUTCDate(),", ",a.getUTCFullYear()].join("");switch(a.getUTCMonth()){case 0:return"Jan"+b;case 1:return"Feb"+b;case 2:return"Mar"+b;case 3:return"Apr"+b;case 4:return"May"+b;case 5:return"Jun"+b;case 6:return"Jul"+b;case 7:return"Aug"+b;case 8:return"Sep"+b;case 9:return"Oct"+
b;case 10:return"Nov"+b;case 11:return"Dec"+b}return"Invalid date"}}}],scales:[{type:"dateTime",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{count:4},minorTicks:{count:4}},{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0}]},cartesian3d:{defaultSeriesType:"column",zAngle:45,zAspect:"50%",zDistribution:!1,zPadding:10,defaultSeriesSettings:{base:{stroke:"none",fill:F,hoverStroke:F,hoverFill:t,selectStroke:F,selectFill:"#333"}}},bar3d:{defaultSeriesType:"bar",grids:[{},{enabled:!0,layout:"horizontal",scale:0}]},column3d:{defaultSeriesType:"column",grids:[{},{enabled:!0,layout:"vertical",scale:0}]},area3d:{defaultSeriesType:"area",zDistribution:!0,zPadding:5,grids:[{},{enabled:!0,layout:"vertical",scale:0}]},pieFunnelPyramidBase:{fill:F,stroke:"none",hoverFill:t,hoverStroke:F,selectFill:"#333 0.85",selectStroke:"1.5 #212121",connectorStroke:"#CECECE",overlapMode:"noOverlap",connectorLength:20,hatchFill:null,forceHoverLabels:!1,labels:{enabled:!0,fontColor:null,position:"inside",disablePointerEvents:!1,anchor:"center",rotation:0,autoRotate:!1,width:null,height:null,zIndex:34,positionFormatter:V,textFormatter:function(){return this.name?this.name:this.x}},outsideLabels:{disablePointerEvents:!1,autoColor:"#545f69"},insideLabels:{disablePointerEvents:!0,autoColor:"#ffffff"},hoverLabels:{enabled:null},selectLabels:{enabled:null},legend:{enabled:!0,padding:{top:10,right:10,bottom:0,left:10},position:"bottom"},markers:{enabled:!1,position:"center",positionFormatter:V,zIndex:33},hoverMarkers:{enabled:null},selectMarkers:{enabled:null},tooltip:{enabled:!0,title:{enabled:!0},separator:{enabled:!0},titleFormatter:function(){return this.name||this.x},textFormatter:function(){return"Value: "+this.value+"\nPercent Value: "+(100*this.value/this.getStat("sum")).toFixed(1)+"%"}},interactivity:{hoverMode:"single"}},pie:{title:{text:"Pie Chart"},group:!1,sort:"none",radius:"45%",innerRadius:0,startAngle:0,explode:15,outsideLabelsCriticalAngle:60,outsideLabelsSpace:30,insideLabelsOffset:"50%",labels:{textFormatter:"{%YPercentOfTotal}{decimalsCount:1,zeroFillDecimals:true}%"},a11y:{titleFormatter:function(){var a=this.chart,c=b.apply(this),c=c+(", with "+a.getStat("count")+" points. ");return c+="Min value is "+a.getStat("min")+", max value is "+a.getStat("max")+"."}}},funnel:{title:{text:"Funnel Chart"},baseWidth:"70%",neckWidth:"30%",neckHeight:"25%",pointsPadding:0,labels:{position:"outsideLeftInColumn"}},pyramid:{title:{text:"Pyramid Chart"},baseWidth:"70%",pointsPadding:0,legend:{inverted:!0},labels:{position:"outsideLeftInColumn"},reversed:!1},pie3d:{explode:"5%",connectorLength:"15%",legendItem:{iconStroke:null}},scatter:{defaultSeriesType:"marker",legend:{enabled:!1},defaultSeriesSettings:{base:{clip:!0,color:null,tooltip:{titleFormatter:function(){return this.seriesName},textFormatter:function(){return"x: "+
this.x+"\ny: "+this.valuePrefix+this.value+this.valuePostfix}},xScale:null,yScale:null,a11y:{enabled:!0,titleFormatter:"Series named {%SeriesName} with {%SeriesPointsCount} points. Min value is {%SeriesYMin}, max value is {%SeriesYMax}"}},bubble:{displayNegative:!1,negativeFill:v,hoverNegativeFill:v,negativeStroke:v,hoverNegativeStroke:v,negativeHatchFill:null,hoverNegativeHatchFill:void 0,hatchFill:!1,tooltip:{textFormatter:function(){return"X: "+this.x+"\nY: "+this.valuePrefix+this.value+this.valuePostfix+"\nSize: "+this.size}}},line:{connectMissingPoints:!1},marker:{size:5,hoverSize:7,selectSize:7}},defaultXAxisSettings:{orientation:"bottom",scale:0,title:{text:"X-Axis"}},defaultYAxisSettings:{orientation:"left",scale:1,title:{text:"Y-Axis"}},series:[],grids:[],minorGrids:[],xAxes:[{}],yAxes:[{}],lineAxesMarkers:[],rangeAxesMarkers:[],textAxesMarkers:[],scales:[{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0},{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0}],xScale:0,yScale:1,maxBubbleSize:"20%",minBubbleSize:"5%",crosshair:{enabled:!1,displayMode:"float",xStroke:"#969EA5",yStroke:"#969EA5",zIndex:41},a11y:{titleFormatter:a}},marker:{},bubble:{},radar:{defaultSeriesType:"line",defaultSeriesSettings:{base:{enabled:!0,hatchFill:null,a11y:{enabled:!0,titleFormatter:"Series named {%SeriesName} with {%SeriesPointsCount} points. Min value is {%SeriesYMin}, max value is {%SeriesYMax}"}},area:{},line:{},marker:{}},xAxis:{scale:0,zIndex:25},startAngle:0,grids:[{},{layout:"circuit"}],minorGrids:[],scales:[{type:"ordinal",inverted:!1,names:[],ticks:{interval:1}},{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0}],xScale:0,yScale:1,a11y:{titleFormatter:a}},polar:{defaultSeriesType:"marker",defaultSeriesSettings:{base:{enabled:!0,hatchFill:null,closed:!0},area:{},line:{},marker:{}},xAxis:{scale:0,zIndex:25},startAngle:0,grids:[{},{layout:"circuit"}],minorGrids:[],scales:[{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0},{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0}],xScale:0,yScale:1,a11y:{titleFormatter:a}},bullet:{background:{enabled:!0},layout:"horizontal",defaultRangeMarkerSettings:{enabled:!0,from:0,to:0,zIndex:2},padding:{top:5,right:10,bottom:5,left:10},margin:{top:0,right:0,bottom:0,left:0},defaultMarkerSettings:{fill:"#64b5f6",stroke:"2 #64b5f6",zIndex:2},rangePalette:{type:"distinct",items:["#828282","#a8a8a8","#c2c2c2","#d4d4d4","#e1e1e1"]},markerPalette:{items:["bar","line","x","ellipse"]},axis:{enabled:!1,title:{padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:10,left:0}},labels:{fontSize:9,padding:{top:0,right:0,bottom:0,left:0}},minorLabels:{padding:{top:0,right:0,bottom:0,left:0}},ticks:{enabled:!1},orientation:null,zIndex:3},title:{rotation:0},scale:{type:"linear",ticks:{mode:"linear",base:0,explicit:null,minCount:2,maxCount:5,interval:NaN},minorTicks:{mode:"linear",base:0,explicit:null,count:5,interval:NaN},stackMode:"none",stickToZero:!0,minimumGap:0,maximumGap:0,softMinimum:null,softMaximum:null,minimum:null,maximum:null,inverted:!1},ranges:[],a11y:{titleFormatter:function(){return b.apply(this)+". "}}},sparkline:{background:{enabled:!0},title:{enabled:!1,padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},orientation:"right",rotation:0},margin:{top:0,right:0,bottom:0,left:0},padding:{top:0,right:0,bottom:0,left:0},hatchFill:null,markers:{},firstMarkers:{fill:"#64b5f6"},lastMarkers:{fill:"#64b5f6"},negativeMarkers:{fill:"#ef6c00"},minMarkers:{fill:"#455a64"},maxMarkers:{fill:"#dd2c00"},labels:{},firstLabels:{},lastLabels:{},negativeLabels:{},minLabels:{fontSize:9,padding:{top:3,right:0,bottom:3,left:0},fontColor:"#303f46"},maxLabels:{fontSize:9,padding:{top:3,right:0,bottom:3,left:0},fontColor:"#9b1f00"},lineAxesMarkers:[],rangeAxesMarkers:[],textAxesMarkers:[],scales:[{type:"ordinal",inverted:!1,names:[],ticks:{interval:1}},{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0}],xScale:0,yScale:1,clip:!0,seriesType:"line",connectMissingPoints:!1,pointWidth:"95%",tooltip:{title:!1,separator:!1,titleFormatter:function(){return this.x},textFormatter:function(){return"x: "+this.x+"\ny: "+this.value}},defaultSeriesSettings:{base:{markers:{enabled:!1,position:"center",anchor:"center",type:"circle",size:1.8,stroke:"none"},hoverMarkers:{enabled:!0},labels:{enabled:!1,fontSize:8,background:{enabled:!1},position:"center",anchor:"centerBottom"},minLabels:{position:"bottom",anchor:"centerBottom"},maxLabels:{position:"centerTop",anchor:"topCenter"},color:"#64b5f6"},area:{stroke:"#64b5f6",fill:"#64b5f6 0.5"},column:{markers:{position:"centerTop"},labels:{position:"centerTop",anchor:"centerBottom"},negativeMarkers:{position:"centerBottom"},negativeLabels:{position:"centerBottom",anchor:"centerTop"},fill:"#64b5f6",negativeFill:"#ef6c00"},line:{stroke:"#64b5f6"},winLoss:{markers:{position:"centerTop",anchor:"centerTop"},labels:{position:"centerTop",anchor:"centerTop"},negativeMarkers:{position:"centerBottom",anchor:"centerBottom"},negativeLabels:{position:"centerBottom",anchor:"centerBottom"},fill:"#64b5f6",negativeFill:"#ef6c00"}}},map:{defaultCalloutSettings:{},defaultSeriesSettings:{base:{fill:function(){return this.scaledColor||this.sourceColor},hoverFill:"#757575",selectFill:"#333 0.85",stroke:v,hoverStroke:{thickness:.5,color:"#545f69"},selectStroke:{thickness:.5,color:"#545f69"},hatchFill:!1,labels:{enabled:!1,adjustFontSize:{width:!0,height:!0},textFormatter:function(){return this.getDataValue("name")?this.getDataValue("name"):this.name?this.name:this.getDataValue("id")?this.getDataValue("id"):"lat: "+this.lat+"\nlong: "+this["long"]}},hoverLabels:{enabled:null},selectLabels:{enabled:null},markers:{enabled:!1,disablePointerEvents:!1},hoverMarkers:{enabled:null},selectMarkers:{enabled:null},color:null,allowPointsSelect:null,tooltip:{titleFormatter:function(){return this.name||this.getDataValue("name")||"Tooltip title"},textFormatter:function(){return"Id: "+this.id+"\nValue: "+this.valuePrefix+this.value+this.valuePostfix}},xScale:null,yScale:null,a11y:{titleFormatter:"Series named {%SeriesName}"}},choropleth:{labels:{fontColor:"#212121",anchor:null},markers:{anchor:null},colorScale:{}},connector:{startSize:0,endSize:0,curvature:.3,stroke:F,hoverStroke:t,selectStroke:"2 #333 0.85",markers:{position:"middle",enabled:!0,size:15,stroke:"1.5 #f7f7f7",rotation:null,anchor:null,type:"arrowhead"},hoverMarkers:{stroke:"1.5 #f7f7f7",size:15},selectMarkers:{fill:"#333 0.85",stroke:"1.5 #f7f7f7",size:15},labels:{enabled:!1,position:"middle",anchor:null,textFormatter:function(){return"from: "+this.startPoint.lat+","+this.startPoint["long"]+"\nto: "+this.endPoint.lat+","+this.endPoint["long"]}},tooltip:{title:{enabled:!1},separator:{enabled:!1},textFormatter:function(){return"from: "+this.startPoint.lat+", "+this.startPoint["long"]+"\nto: "+this.endPoint.lat+", "+this.endPoint["long"]}}},bubble:{hoverFill:"#757575",selectFill:"#333 0.85",tooltip:{textFormatter:function(){return"Id: "+this.id+"\nValue: "+this.valuePrefix+this.size+this.valuePostfix}}},marker:{labels:{enabled:!0},hoverLabels:{fontWeight:"bold"},selectLabels:{fontWeight:"bold"},tooltip:{textFormatter:function(){var a;a=this.id?"Id: "+this.id:"lat: "+this.lat+"\nlong: "+this["long"];this.value&&(a+="\nValue: "+this.valuePrefix+this.value+this.valuePostfix);return a}}}},colorRange:{zIndex:50},callouts:[],unboundRegions:{enabled:!0,fill:"#F7F7F7",stroke:"#e0e0e0"},legend:{enabled:!1},maxBubbleSize:"20%",minBubbleSize:"5%",geoIdField:"id",interactivity:{copyFormatter:function(a){a=a.seriesStatus;for(var b="",c=0,d=a.length;c<d;c++){var e=a[c];if(0!=e.points.length){for(var b=b+("Series "+e.series.index()+":\n"),f=0,h=e.points.length;f<h;f++){var k=e.points[f],b=b+("id: "+k.id+" index: "+k.index);f!=h-1&&(b+="\n")}c!=d-1&&(b+="\n")}}return b||"no selected points"},drag:!0,zoomOnMouseWheel:!1,keyboardZoomAndMove:!0,zoomOnDoubleClick:!1},overlapMode:"noOverlap",crsAnimation:{enabled:!0,duration:300}},choropleth:{},bubbleMap:{},markerMap:{},connector:{},seatMap:{},circularGauge:{title:{enabled:!1},defaultAxisSettings:{startAngle:null,labels:{position:"inside",adjustFontSize:!0},minorLabels:{position:"inside",adjustFontSize:!0},fill:"#CECECE",ticks:{hatchFill:!1,type:"line",position:"center",length:null,fill:"#545f69",stroke:"none"},minorTicks:{hatchFill:!1,type:"line",position:"center",length:null,fill:"#545f69",stroke:"none"},zIndex:10,cornersRounding:"0%"},defaultPointerSettings:{base:{enabled:!0,fill:"#545f69",stroke:"#545f69",hatchFill:!1,axisIndex:0},bar:{position:"center"},marker:{size:4,hoverSize:6,selectSize:6,position:"inside",type:"triangleUp"},knob:{fill:"#CECECE",stroke:"#c1c1c1",verticesCount:6,verticesCurvature:.5,topRatio:.5,bottomRatio:.5}},defaultRangeSettings:{enabled:!0,axisIndex:0,fill:"#7c868e 0.7",position:"center",startSize:0,endSize:"10%",cornersRounding:"0%"},fill:"#f5f5f5",stroke:"#EAEAEA",startAngle:0,sweepAngle:360,cap:{enabled:!1,fill:"#EAEAEA",stroke:"#CECECE",hatchFill:!1,radius:"15%",zIndex:50},circularPadding:"10%",encloseWithStraightLine:!1,axes:[],bars:[],markers:[],needles:[],knobs:[],ranges:[],tooltip:{title:{enabled:!1},separator:{enabled:!1},titleFormatter:function(){return this.index},textFormatter:function(){return"Value: "+this.value}}},linearGauge:{padding:10,markerPalette:{items:"circle diamond square triangleDown triangleUp triangleLeft triangleRight diagonalCross pentagon cross vline star5 star4 trapezium star7 star6 star10".split(" ")},globalOffset:"0%",layout:"vertical",tooltip:{titleFormatter:function(){return this.name},textFormatter:function(){return this.high?k.call(this):"Value: "+this.value}},scales:[{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0}],defaultAxisSettings:{enabled:!0,width:"10%",offset:"0%"},defaultScaleBarSettings:{enabled:!0,width:"10%",offset:"0%",from:"min",to:"max",colorScale:{type:"ordinalColor",inverted:!1,ticks:{interval:1}},points:[{height:0,left:0,right:0},{height:1,left:0,right:0}]},defaultPointerSettings:{base:{enabled:!0,selectionMode:"single",width:"10%",offset:"0%",legendItem:{enabled:!0},label:{enabled:!1,zIndex:0,position:"top",anchor:"center"},hoverLabel:{enabled:!1,fontColor:"yellow"},selectLabel:{enabled:!1,fontColor:"pink"},stroke:q,hoverStroke:p,selectStroke:v,fill:F,hoverFill:t,selectFill:v},bar:{},rangeBar:{label:{textFormatter:function(){return this.high}}},marker:{width:"3%"},tank:{},thermometer:{fill:function(){var a=this.sourceColor,b=window.anychart.color.darken(a);return{angle:this.isVertical?0:90,keys:[{color:b},{color:a},{color:b}]}},width:"3%",bulbRadius:"120%",bulbPadding:"3%"},led:{dimmer:function(a){return window.anychart.color.darken(a)},gap:"1%",size:"2%",count:null,colorScale:{type:"ordinalColor",inverted:!1,ticks:{interval:1}}}}},thermometerGauge:{},tankGauge:{},ledGauge:{},bulletGauge:{},heatMap:{scales:[{type:"ordinal",inverted:!1,names:[],ticks:{interval:1}},{type:"ordinal",inverted:!0,names:[],ticks:{interval:1}},{type:"ordinalColor"}],xScale:0,yScale:1,colorScale:2,background:{enabled:!0},xAxes:[{orientation:"top"}],yAxes:[{}],grids:[],tooltip:{enabled:!0,title:{enabled:!0,fontSize:13,fontWeight:"normal"},content:{fontSize:11},separator:{enabled:!0},titleFormatter:function(){return this.name||this.x},textFormatter:function(){if(void 0===this.heat){var a="Value: "+this.valuePrefix+this.heat+this.valuePostfix;isNaN(+this.heat)||(a+="\nPercent Value: "+(100*this.heat/this.getStat("sum")).toFixed(1)+"%");return a}return"x: "+this.x+"\ny: "+this.y}},legendItem:{iconStroke:null},legend:{itemsSourceMode:"categories"},defaultXAxisSettings:{enabled:!0,orientation:"bottom",ticks:{enabled:!1},title:{text:"X-Axis"}},defaultYAxisSettings:{enabled:!0,orientation:"left",ticks:{enabled:!1},title:{text:"Y-Axis"}},fill:function(){var a;this.colorScale?(a=this.iterator.get("heat"),a=this.colorScale.valueToColor(a)):a=window.anychart.color.setOpacity(this.sourceColor,.85,!0);return a},stroke:"1 #ffffff",hoverStroke:"1.5 #ffffff",hoverFill:"#757575",selectStroke:"2 #ffffff",selectFill:"#333 0.85",labels:{enabled:!0,fontSize:11,adjustFontSize:{width:!0,height:!0},minFontSize:7,maxFontSize:13,hAlign:"center",vAlign:"center",textWrap:"noWrap",fontWeight:"normal",fontColor:"#212121",selectable:!1,background:{enabled:!1},padding:{top:2,right:4,bottom:2,left:4},position:"center",anchor:"center",offsetX:0,offsetY:0,rotation:0,width:null,height:null,textFormatter:function(){return this.heat},positionFormatter:V},hoverLabels:{fontColor:"#f5f5f5",enabled:null},selectLabels:{fontColor:"#fff",enabled:null},markers:{enabled:!1,disablePointerEvents:!1,position:"center",rotation:0,anchor:"center",offsetX:0,offsetY:0,size:4,positionFormatter:V},hoverMarkers:{enabled:null},selectMarkers:{enabled:null},labelsDisplayMode:"drop",hatchFill:!1,clip:!0,xZoom:{continuous:!0,startRatio:0,endRatio:1},yZoom:{continuous:!0,startRatio:0,endRatio:1},yScroller:{orientation:"right",inverted:!0},a11y:{titleFormatter:b}},treeMap:{sort:"desc",labelsDisplayMode:"clip",headersDisplayMode:"alwaysShow",colorRange:{zIndex:50},colorScale:{type:"ordinalColor"},tooltip:{enabled:!0,titleFormatter:da,textFormatter:V},legend:{itemsSourceMode:"categories"},maxDepth:1,hintDepth:0,hintOpacity:.4,maxHeadersHeight:"25",headers:{enabled:!0,hAlign:"center",vAlign:"center",position:"leftTop",anchor:"leftTop",rotation:0,background:{enabled:!0,fill:"#F7F7F7",stroke:"#e0e0e0"},textFormatter:da},hoverHeaders:{enabled:!0,fontColor:"#333 0.85",background:{fill:"#e0e0e0",stroke:"#e0e0e0"}},labels:{enabled:!0,hAlign:"center",vAlign:"center",position:"leftTop",anchor:"leftTop",rotation:0,fontColor:"#212121",textFormatter:function(){return(this.name||this.getDataValue("id"))+"\n"+parseFloat(this.value).toFixed(2)}},hoverLabels:{enabled:null,fontWeight:"bold"},selectLabels:{enabled:null,fontColor:"#fafafa"},markers:{enabled:!1,position:"center",size:6},hoverMarkers:{enabled:null,size:8},selectMarkers:{enabled:null,size:8},fill:function(){return this.colorScale?this.colorScale.valueToColor(this.value):window.anychart.color.setOpacity(this.sourceColor,.85,!0)},stroke:"#e0e0e0",hoverFill:t,hoverStroke:v,selectFill:"#333 0.85",selectStroke:"1.5 #212121",hatchFill:!1,hoverHatchFill:!1,selectHatchFill:!1},defaultDataGrid:{isStandalone:!0,headerHeight:25,backgroundFill:"#fff",columnStroke:"#cecece",rowStroke:"#cecece",rowOddFill:"#fff",rowEvenFill:"#fff",rowFill:"#fff",hoverFill:"#F8FAFB",rowSelectedFill:"#ebf1f4",zIndex:5,editing:!1,editStructurePreviewFill:{color:"#4285F4",opacity:.2},editStructurePreviewStroke:{color:"#4285F4",thickness:2},editStructurePreviewDashStroke:{color:"#4285F4",dash:"4 4"},headerFill:"#f7f7f7",tooltip:{padding:{top:5,right:5,bottom:5,left:5},title:{enabled:!0,fontSize:"14px",fontWeight:"normal",fontColor:"#e5e5e5"},separator:{enabled:!0},anchor:"leftTop",content:{hAlign:"left"},textFormatter:function(){var a=this.name;return void 0!==a?a+"":""}},defaultColumnSettings:{width:90,cellTextSettings:{enabled:!0,anchor:"leftTop",vAlign:"middle",padding:{top:0,right:5,bottom:0,left:5},textWrap:"noWrap",background:null,rotation:0,width:null,height:null,fontSize:11,minFontSize:8,maxFontSize:72,disablePointerEvents:!0},depthPaddingMultiplier:0,collapseExpandButtons:!1,title:{enabled:!0,margin:{top:0,right:0,bottom:0,left:0},textWrap:"noWrap",hAlign:"center",vAlign:"middle",background:{enabled:!1}},textFormatter:function(){return""}},columns:[{width:50,textFormatter:function(){var a=this.item.meta("index");return null!=a?a+1+"":""},title:{text:"#"}},{width:170,collapseExpandButtons:!0,depthPaddingMultiplier:15,textFormatter:function(){var a=this.name;return null!=a?a+"":""},title:{text:"Name"}}]},ganttBase:{splitterPosition:"30%",headerHeight:70,hoverFill:"#F8FAFB",rowSelectedFill:"#ebf1f4",rowStroke:"#cecece",editing:!1,title:{enabled:!1},legend:{enabled:!1},credits:{inChart:!0},background:{fill:"#fff"},margin:{top:0,right:0,bottom:0,left:0},padding:{top:0,right:0,bottom:0,left:0},dataGrid:{isStandalone:!1,backgroundFill:"none"},timeline:{columnStroke:"#cecece",rowStroke:"#cecece",backgroundFill:"none",rowOddFill:"#fff",rowEvenFill:"#fff",rowFill:"#fff",hoverFill:"#F8FAFB",rowSelectedFill:"#ebf1f4",zIndex:5,headerHeight:70,editing:!1,connectorPreviewStroke:{color:"#545f69",dash:"3 3"},editPreviewFill:{color:"#fff",opacity:1E-5},editPreviewStroke:{color:"#aaa",dash:"3 3"},editProgressFill:"#EAEAEA",editProgressStroke:"#545f69",editIntervalThumbFill:"#EAEAEA",editIntervalThumbStroke:"#545f69",editConnectorThumbFill:"#EAEAEA",editConnectorThumbStroke:"#545f69",editStructurePreviewFill:{color:"#4285F4",opacity:.2},editStructurePreviewStroke:{color:"#4285F4",thickness:2},editStructurePreviewDashStroke:{color:"#4285F4",dash:"4 4"},baseFill:"#7ec1f5",baseStroke:"#74b2e2",progressFill:"#1976d2",progressStroke:{color:"#fff",opacity:1E-5},baselineFill:"#d5ebfc",baselineStroke:"#bfd1e0",parentFill:"#455a64",parentStroke:"#2f3f46",milestoneFill:"#ffa000",milestoneStroke:"#d26104",connectorFill:"#545f69",connectorStroke:"#545f69",selectedElementFill:"#ef6c00",selectedElementStroke:"#bc5704",selectedConnectorStroke:"2 #bc5704",minimumGap:.1,maximumGap:.1,baselineAbove:!1,tooltip:{padding:{top:5,right:5,bottom:5,left:5},title:{enabled:!0,fontSize:"14px",fontWeight:"normal",fontColor:"#e5e5e5"},separator:{enabled:!0},anchor:"leftTop",content:{hAlign:"left"}},labels:{enabled:!0,anchor:"leftCenter",position:"rightCenter",padding:{top:3,right:5,bottom:3,left:5},vAlign:"middle",textWrap:"noWrap",background:null,rotation:0,width:null,height:null,fontSize:11,minFontSize:8,maxFontSize:72,zIndex:40,disablePointerEvents:!0},markers:{anchor:"centerTop",zIndex:50,type:"star5",fill:"#ff0",stroke:"2 red"},defaultLineMarkerSettings:{layout:"vertical",zIndex:1.5},defaultRangeMarkerSettings:{layout:"vertical",zIndex:1},defaultTextMarkerSettings:{layout:"vertical",zIndex:2,textWrap:"byLetter"},header:{labelsFactory:{enabled:!0,anchor:"leftTop",vAlign:"middle",padding:{top:0,right:5,bottom:0,left:5},textWrap:"noWrap",background:null,rotation:0,width:null,height:null,fontSize:11,minFontSize:8,maxFontSize:72,disablePointerEvents:!0}}}},ganttResource:{dataGrid:{tooltip:{titleFormatter:function(){return this.name||""},textFormatter:function(){var a=this.minPeriodDate,b=this.maxPeriodDate;return(a?"Start Date: "+window.anychart.format.dateTime(a):"")+(b?"\nEnd Date: "+window.anychart.format.dateTime(b):"")}}},timeline:{tooltip:{titleFormatter:function(){return this.name||""},textFormatter:function(){var a=this.periodStart||this.minPeriodDate,b=this.periodEnd||this.maxPeriodDate;return(a?"Start Date: "+window.anychart.format.dateTime(a):"")+(b?"\nEnd Date: "+window.anychart.format.dateTime(b):"")}}}},ganttProject:{dataGrid:{tooltip:{titleFormatter:function(){return this.name||""},textFormatter:function(){var a=this.actualStart||this.autoStart,b=this.actualEnd||this.autoEnd,c=this.progressValue;void 0===c&&(c=(Math.round(1E4*this.autoProgress)/100||0)+"%");return(a?"Start Date: "+window.anychart.format.dateTime(a):"")+(b?"\nEnd Date: "+window.anychart.format.dateTime(b):"")+(c?"\nComplete: "+c:"")}}},timeline:{tooltip:{titleFormatter:function(){return this.name||""},textFormatter:function(){var a=this.actualStart||this.autoStart,b=this.actualEnd||this.autoEnd,c=this.progressValue;void 0===c&&(c=(Math.round(1E4*this.autoProgress)/100||0)+"%");return(a?"Start Date: "+window.anychart.format.dateTime(a):"")+(b?"\nEnd Date: "+window.anychart.format.dateTime(b):"")+(c?"\nComplete: "+c:"")}}}},stock:{grouping:{},scrollerGrouping:{levels:[{unit:"millisecond",count:1},{unit:"millisecond",count:2},{unit:"millisecond",count:5},{unit:"millisecond",count:10},{unit:"millisecond",count:25},{unit:"millisecond",count:50},{unit:"millisecond",count:100},{unit:"millisecond",count:250},{unit:"millisecond",count:500},{unit:"second",count:1},{unit:"second",count:2},{unit:"second",count:5},{unit:"second",count:10},{unit:"second",count:20},{unit:"second",count:30},{unit:"minute",count:1},{unit:"minute",count:2},{unit:"minute",count:5},{unit:"minute",count:10},{unit:"minute",count:20},{unit:"minute",count:30},{unit:"hour",count:1},{unit:"hour",count:2},{unit:"hour",count:3},{unit:"hour",count:4},{unit:"hour",count:6},{unit:"hour",count:12},{unit:"day",count:1},{unit:"day",count:2},{unit:"day",count:4},{unit:"week",count:1},{unit:"week",count:2},{unit:"month",count:1},{unit:"month",count:2},{unit:"month",count:3},{unit:"month",count:6},{unit:"year",count:1}],maxVisiblePoints:NaN,minPixPerPoint:1},defaultAnnotationSettings:{},defaultPlotSettings:{annotations:{annotationsList:[],zIndex:2E3},background:{enabled:!1},defaultSeriesSettings:{base:{pointWidth:"75%",tooltip:{textFormatter:function(){return this.seriesName+": "+this.valuePrefix+parseFloat(this.value).toFixed(2)+this.valuePostfix}},legendItem:{iconStroke:"none"}},rangeArea:{tooltip:{textFormatter:e}},rangeSplineArea:{tooltip:{textFormatter:e}},rangeStepArea:{tooltip:{textFormatter:e}},candlestick:{tooltip:{textFormatter:d}},column:{stroke:"none"},rangeColumn:{stroke:"none",tooltip:{textFormatter:e}},ohlc:{tooltip:{textFormatter:d}}},defaultGridSettings:{scale:0},defaultMinorGridSettings:{scale:0},defaultYAxisSettings:{enabled:!0,orientation:"left",title:{enabled:!1,text:"Y-Axis"},staggerMode:!1,staggerLines:null,ticks:{enabled:!0},width:50,labels:{fontSize:"11px",padding:{top:0,right:5,bottom:0,left:5}},minorLabels:{fontSize:"11px",padding:{top:0,right:5,bottom:0,left:5}},scale:0},xAxis:{enabled:!0,orientation:"bottom",background:{stroke:"#cecece",fill:"#F7F7F7"},height:25,scale:0,ticks:{enabled:!1},labels:{enabled:!0,fontSize:"11px",padding:{top:5,right:5,bottom:5,left:5},anchor:"centerTop",textFormatter:function(){var a=this.tickValue;switch(this.majorIntervalUnit){case"year":return window.anychart.format.dateTime(a,"yyyy");case"semester":case"quarter":case"month":return window.anychart.format.dateTime(a,"yyyy MMM");case"thirdOfMonth":case"week":case"day":return window.anychart.format.dateTime(a,"MMM dd");case"hour":return window.anychart.format.dateTime(a,"MMM-dd HH");case"minute":return window.anychart.format.dateTime(a,"dd HH:mm");case"second":return window.anychart.format.dateTime(a,"HH:mm:ss");case"millisecond":return window.anychart.format.dateTime(a,"HH:mm:ss.SSS")}return window.anychart.format.dateTime(a,"yyyy MMM dd")}},minorLabels:{enabled:!0,anchor:"centerTop",fontSize:"11px",padding:{top:5,right:0,bottom:5,left:0},textFormatter:function(){var a=this.tickValue;switch(this.majorIntervalUnit){case"year":return window.anychart.format.dateTime(a,"yyyy");case"semester":case"quarter":case"month":return window.anychart.format.dateTime(a,"MMM");case"thirdOfMonth":case"week":case"day":return window.anychart.format.dateTime(a,"dd");case"hour":return window.anychart.format.dateTime(a,"HH");case"minute":return window.anychart.format.dateTime(a,"HH:mm");case"second":return window.anychart.format.dateTime(a,"HH:mm:ss");case"millisecond":return window.anychart.format.dateTime(a,"SSS")}return window.anychart.format.dateTime(a,"HH:mm:ss.SSS")}}},dateTimeHighlighter:"#B9B9B9",legend:{enabled:!0,vAlign:"bottom",iconSize:13,position:"top",titleFormatter:function(){var a=this.value;switch(this.dataIntervalUnit){case"year":return window.anychart.format.dateTime(a,"yyyy");case"semester":case"quarter":case"month":return window.anychart.format.dateTime(a,"MMM yyyy");case"hour":case"minute":return window.anychart.format.dateTime(a,"HH:mm, dd MMM");case"second":return window.anychart.format.dateTime(a,"HH:mm:ss");case"millisecond":return window.anychart.format.dateTime(a,"HH:mm:ss.SSS")}return window.anychart.format.dateTime(a,"dd MMM yyyy")},align:"center",padding:{top:10,right:10,bottom:10,left:10},title:{enabled:!0,fontSize:12,text:"",background:{enabled:!1,fill:{keys:["#fff","#f3f3f3","#fff"],angle:"90"},stroke:{keys:["#ddd","#d0d0d0"],angle:"90"}},margin:{top:0,right:15,bottom:0,left:0},padding:{top:0,right:0,bottom:0,left:0},orientation:"left",align:"left",hAlign:"left",rotation:0},titleSeparator:{enabled:!1,width:"100%",height:1,margin:{top:3,right:0,bottom:3,left:0},orientation:"top",fill:["#000 0","#000","#000 0"],stroke:"none"}},scales:[{type:"linear",inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,ticks:{mode:"linear",base:0,minCount:4,maxCount:6},minorTicks:{mode:"linear",base:0,count:5},stackMode:"none",stickToZero:!0}],yScale:0,zIndex:10,yAxes:[{}]},padding:[20,30,20,60],plots:[{}],scroller:{defaultSeriesSettings:{base:{color:"#64b5f6",fill:"#999 0.6",selectFill:F,stroke:"#999 0.6",selectStroke:F,lowStroke:"#999 0.6",selectLowStroke:F,highStroke:"#999 0.6",selectHighStroke:F,pointWidth:"75%"},marker:{fill:"#999 0.6",stroke:"#999 0.6",selectFill:F,selectStroke:F},areaLike:{fill:"#999 0.6"},barLike:{fill:"#999 0.6"},candlestick:{risingFill:"#999 0.6",risingStroke:"#999 0.6",fallingFill:"#999 0.6",fallingStroke:"#999 0.6",selectFallingFill:"#ef6c00",selectRisingFill:"#64b5f6",selectRisingStroke:"#64b5f6",selectFallingStroke:"#ef6c00"},ohlc:{risingStroke:"#999 0.6",fallingStroke:"#999 0.6",selectRisingStroke:"#64b5f6",selectFallingStroke:"#ef6c00"}},enabled:!0,fill:"none",selectedFill:"#1976d2 0.2",outlineStroke:"#cecece",height:40,minHeight:null,maxHeight:null,zIndex:40,xAxis:{background:{enabled:!1},minorTicks:{enabled:!0,stroke:"#cecece"},labels:{enabled:!0,fontSize:"11px",padding:{top:5,right:5,bottom:5,left:5},anchor:"leftTop",textFormatter:function(){var a=this.tickValue;switch(this.majorIntervalUnit){case"year":return window.anychart.format.dateTime(a,"yyyy");case"semester":case"quarter":case"month":return window.anychart.format.dateTime(a,"yyyy MMM");case"thirdOfMonth":case"week":case"day":return window.anychart.format.dateTime(a,"MMM dd");case"hour":return window.anychart.format.dateTime(a,"MMM-dd HH");case"minute":return window.anychart.format.dateTime(a,"dd HH:mm");case"second":return window.anychart.format.dateTime(a,"HH:mm:ss");case"millisecond":return window.anychart.format.dateTime(a,"HH:mm:ss.SSS")}return window.anychart.format.dateTime(a,"yyyy MMM dd")}},minorLabels:{enabled:!0,anchor:"leftTop",fontSize:"11px",padding:{top:5,right:5,bottom:5,left:5},textFormatter:function(){var a=this.tickValue;switch(this.majorIntervalUnit){case"year":return window.anychart.format.dateTime(a,"yyyy");case"semester":case"quarter":case"month":return window.anychart.format.dateTime(a,"MMM");case"thirdOfMonth":case"week":case"day":return window.anychart.format.dateTime(a,"dd");case"hour":return window.anychart.format.dateTime(a,"HH");case"minute":return window.anychart.format.dateTime(a,"HH:mm");case"second":return window.anychart.format.dateTime(a,"HH:mm:ss");case"millisecond":return window.anychart.format.dateTime(a,"SSS")}return window.anychart.format.dateTime(a,"HH:mm:ss.SSS")}},zIndex:75}},tooltip:{allowLeaveScreen:!1,allowLeaveChart:!0,displayMode:"union",positionMode:"float",title:{enabled:!0,fontSize:13},separator:{enabled:!0},titleFormatter:function(){var a=this.hoveredDate;switch(this.dataIntervalUnit){case"year":return window.anychart.format.dateTime(a,"yyyy");case"semester":case"quarter":case"month":return window.anychart.format.dateTime(a,"MMM yyyy");case"hour":case"minute":return window.anychart.format.dateTime(a,"HH:mm, dd MMM");case"second":return window.anychart.format.dateTime(a,"HH:mm:ss");case"millisecond":return window.anychart.format.dateTime(a,"HH:mm:ss.SSS")}return window.anychart.format.dateTime(a,"dd MMM yyyy")},textFormatter:function(){return this.formattedValues.join("\n")}},a11y:{titleFormatter:b}},pert:{tooltip:{enabled:!1},horizontalSpacing:"15%",verticalSpacing:"25%",expectedTimeCalculator:function(){return void 0===this.duration?Math.round((this.optimistic+4*this.mostLikely+this.pessimistic)/6*100)/100:Number(this.duration)},background:{zIndex:0},milestones:{shape:"circle",size:"5%",labels:{enabled:!0,anchor:"leftTop",vAlign:"middle",hAlign:"center",fontColor:"#fff",disablePointerEvents:!0,textFormatter:S},hoverLabels:{fontColor:"#fff",fontOpacity:1},selectLabels:{fontWeight:"bold"},color:"#64b5f6",fill:w,stroke:"none",hoverFill:t,hoverStroke:n,selectFill:"#333 0.85",selectStroke:"#333 0.85",tooltip:{title:{enabled:!0},separator:{enabled:!0},titleFormatter:function(){return this.creator?"Milestone - "+this.index:"Milestone - "+(this.isStart?"Start":"Finish")},textFormatter:function(){var a="",b=0;if(this.successors&&this.successors.length){a+="Successors:";for(b=0;b<this.successors.length;b++)a+="\n - "+this.successors[b].get("name");this.predecessors&&this.predecessors.length&&(a+="\n\n")}if(this.predecessors&&this.predecessors.length)for(a+="Predecessors:",b=0;b<this.predecessors.length;b++)a+="\n - "+this.predecessors[b].get("name");return a}}},tasks:{color:"#64b5f6",fill:w,stroke:w,hoverFill:t,hoverStroke:n,selectFill:"#333 0.85",selectStroke:"#333 0.85",dummyFill:w,dummyStroke:l,upperLabels:{enabled:!0,anchor:"centerBottom",vAlign:"bottom",hAlign:"center",fontSize:12,fontOpacity:1,contColor:"#333",padding:{top:1,right:0,bottom:1,left:0},textFormatter:function(){return this.name}},hoverUpperLabels:{fontSize:13,offsetY:1},selectUpperLabels:{fontSize:13,offsetY:1,fontWeight:"bold"},lowerLabels:{enabled:!0,anchor:"centerTop",vAlign:"top",hAlign:"center",fontSize:12,fontOpacity:1,contColor:"#333",padding:{top:1,right:0,bottom:1,left:0},textFormatter:function(){return"t: "+this.duration}},hoverLowerLabels:{fontSize:13,offsetY:-1},selectLowerLabels:{fontSize:13,offsetY:-1,fontWeight:"bold"},tooltip:{title:{enabled:!0},separator:{enabled:!0},titleFormatter:function(){return this.name},textFormatter:function(){var a="Earliest start: "+this.earliestStart+"\nEarliest finish: "+this.earliestFinish+"\nLatest start: "+this.latestStart+"\nLatest finish: "+this.latestFinish+"\nDuration: "+this.duration+"\nSlack: "+this.slack;isNaN(this.variance)||(a+="\nStandard deviation: "+Math.round(100*this.variance)/100);return a}}},criticalPath:{milestones:{shape:"circle",size:"5%",labels:{enabled:!0,anchor:"leftTop",vAlign:"middle",hAlign:"center",fontColor:"#fff",disablePointerEvents:!0,textFormatter:S},hoverLabels:{fontColor:"#fff",fontOpacity:1},selectLabels:{fontWeight:"bold"},color:"#64b5f6",fill:w,stroke:"none",hoverFill:t,hoverStroke:n,selectFill:"#333 0.85",selectStroke:"#333 0.85",tooltip:{title:{enabled:!0},separator:{enabled:!0},titleFormatter:function(){return this.creator?"Milestone - "+this.index:"Milestone - "+(this.isStart?"Start":"Finish")},textFormatter:function(){var a="",b=0;if(this.successors&&this.successors.length){a+="Successors:";for(b=0;b<this.successors.length;b++)a+="\n - "+this.successors[b].get("name");this.predecessors&&this.predecessors.length&&(a+="\n\n")}if(this.predecessors&&this.predecessors.length)for(a+="Predecessors:",b=0;b<this.predecessors.length;b++)a+="\n - "+this.predecessors[b].get("name");return a}}},tasks:{color:"#e06666",fill:w,stroke:w,hoverFill:t,hoverStroke:n,selectFill:"#333 0.85",selectStroke:"#333 0.85",dummyFill:w,dummyStroke:l,upperLabels:{enabled:!0,anchor:"centerBottom",vAlign:"bottom",hAlign:"center",fontSize:12,fontOpacity:1,contColor:"#333",padding:{top:1,right:0,bottom:1,left:0},textFormatter:function(){return this.name}},hoverUpperLabels:{fontSize:13,offsetY:1},selectUpperLabels:{fontSize:13,offsetY:1,fontWeight:"bold"},lowerLabels:{enabled:!0,anchor:"centerTop",vAlign:"top",hAlign:"center",fontSize:12,fontOpacity:1,contColor:"#333",padding:{top:1,right:0,bottom:1,left:0},textFormatter:function(){return"t: "+this.duration}},hoverLowerLabels:{fontSize:13,offsetY:-1},selectLowerLabels:{fontSize:13,offsetY:-1,fontWeight:"bold"},tooltip:{title:{enabled:!0},separator:{enabled:!0},titleFormatter:function(){return this.name},textFormatter:function(){var a="Earliest start: "+this.earliestStart+"\nEarliest finish: "+this.earliestFinish+"\nLatest start: "+this.latestStart+"\nLatest finish: "+this.latestFinish+"\nDuration: "+this.duration+"\nSlack: "+this.slack;isNaN(this.variance)||(a+="\nStandard deviation: "+Math.round(100*this.variance)/100);return a}}}}},standalones:{background:{enabled:!0,zIndex:0},label:{enabled:!0,text:"Label text",padding:{top:0,right:0,bottom:0,left:0},width:null,height:null,anchor:"leftTop",position:"leftTop",offsetX:0,offsetY:0,minFontSize:8,maxFontSize:72,adjustFontSize:{width:!1,height:!1},rotation:0,zIndex:0},labelsFactory:{enabled:!0,zIndex:0},legend:{enabled:!0,zIndex:0},markersFactory:{enabled:!0,zIndex:0},title:{enabled:!0,zIndex:0},linearAxis:{enabled:!0,zIndex:0,ticks:{enabled:!0},minorTicks:{enabled:!0}},polarAxis:{enabled:!0,startAngle:0,zIndex:0,ticks:{enabled:!0},minorTicks:{enabled:!0}},radarAxis:{enabled:!0,startAngle:0,zIndex:0,ticks:{enabled:!0},minorTicks:{enabled:!0}},radialAxis:{enabled:!0,startAngle:0,zIndex:0,ticks:{enabled:!0},minorTicks:{enabled:!0},minorLabels:{padding:{top:1,right:1,bottom:0,left:1}}},linearGrid:{enabled:!0,scale:null,zIndex:0},polarGrid:{enabled:!0,layout:"circuit",zIndex:0},radarGrid:{enabled:!0,layout:"circuit",zIndex:0},lineAxisMarker:{enabled:!0,zIndex:0},textAxisMarker:{enabled:!0,zIndex:0},rangeAxisMarker:{enabled:!0,zIndex:0},dataGrid:{enabled:!0,zIndex:0},scroller:{enabled:!0}}}})();var wd={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function xd(){0!=yd&&(zd[D(this)]=this);this.wc=this.wc;this.vl=this.vl}var yd=0,zd={};xd.prototype.wc=!1;xd.prototype.Sd=function(){if(!this.wc&&(this.wc=!0,this.V(),0!=yd)){var a=D(this);delete zd[a]}};function L(a,b){var c=oa(Ad,b);a.wc?c.call(void 0):(a.vl||(a.vl=[]),a.vl.push(m(void 0)?na(c,void 0):c))}xd.prototype.V=function(){if(this.vl)for(;this.vl.length;)this.vl.shift()()};function Ad(a){a&&"function"==typeof a.Sd&&a.Sd()}
function Bd(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];ha(d)?Bd.apply(null,d):Ad(d)}};function Cd(a){xd.call(this);this.Y=a}G(Cd,xd);g=Cd.prototype;g.type=0;g.qe=0;g.Qf=["value"];g.Fy=function(){return this.Qf};g.mb=function(a){this.c=a;this.m=!1;this.B=!!(this.qe&16)&&!!this.Y.td("connectMissingPoints");this.b=this.Y.Cc();this.h=this.Y.Nb;this.ol=2.5<this.Y.Oe-this.h&&10<this.h};g.af=function(a,b){a.l("missing")?(this.FE(a,b|this.b),this.m=this.m&&this.B):(this.m?this.ie(a,b|this.b):this.Ih(a,b|this.b),this.m=!0)};g.ic=function(){this.kg()};g.Ih=function(a,b){this.ie(a,b)};g.ie=function(){};g.FE=function(){this.B||this.kg()};g.kg=function(){};g.Du=function(){};g.Ul=function(){};g.V=function(){this.c=this.Y=null;Cd.v.V.call(this)};function Dd(a){Cd.call(this,a)}G(Dd,Cd);wa[1]=Dd;g=Dd.prototype;g.type=1;g.qe=241;function Ed(a,b,c,d){a.fill.moveTo(b,d).lineTo(b,c);a.hatchFill.moveTo(b,d).lineTo(b,c);a.stroke.moveTo(b,c)}function Fd(a,b,c){a.fill.lineTo(b,c);a.hatchFill.lineTo(b,c);a.stroke.lineTo(b,c)}
g.Ih=function(a){var b=this.c.rc(this.b),c=a.l("x"),d=a.l("zero"),e=a.l("value");if(this.Y.Pe()){var f=a.l("nextZero");a=a.l("nextValue");isNaN(f)||isNaN(a)?(Ed(b,c,e,d),this.a=[c,d]):(b.stroke.moveTo(c,e).lineTo(c,e),Ed(b,c,a,f),this.a=[c,f])}else Ed(b,c,e,d),this.g=c,this.Kd=d};g.ie=function(a){var b=this.c.rc(this.b),c=a.l("x"),d=a.l("zero"),e=a.l("value");if(this.Y.Pe()){var f=a.l("prevZero"),h=a.l("prevValue"),k=a.l("nextZero");a=a.l("nextValue");isNaN(f)||isNaN(h)||(Fd(b,c,h),this.a.push(c,f),this.kg(),Ed(b,c,e,d),this.a=[c,d]);Fd(b,c,e);this.a.push(c,d);isNaN(k)||isNaN(a)||(this.kg(),Ed(b,c,a,k),this.a=[c,k])}else Fd(b,c,e),this.g=c};g.kg=function(){if(this.m){var a=this.c.rc(this.b),b=a.fill,a=a.hatchFill;if(this.a){for(var c=this.a.length-1;0<=c;c-=2){var d=this.a[c-1],e=this.a[c];b.lineTo(d,e);a.lineTo(d,e)}b.close();a.close();this.a=null}else isNaN(this.g)||(b.lineTo(this.g,this.Kd).close(),a.lineTo(this.g,this.Kd).close())}};function Gd(a){Cd.call(this,a)}G(Gd,Cd);wa[2]=Gd;g=Gd.prototype;g.type=2;g.qe=2225;g.mb=function(a){Gd.v.mb.call(this,a);this.D=!0;a=this.Y.g;var b=this.Y.S(),c=this.Y.Pe(),d=Hd(this.Y);this.M=!c||b==a.Kj[d];this.J=Id(a,b,c);this.w=Jd(a,b,c);this.g=Ld(a,c);this.j=Md(a,c);a.Z().bc()?(Nd(this.c,"left",4E-6),Nd(this.c,"right",1E-6)):(Nd(this.c,"left",1E-6),Nd(this.c,"right",4E-6));a.ba().bc()?(Nd(this.c,"top",2E-6),Nd(this.c,"bottom",3E-6)):(Nd(this.c,"top",3E-6),Nd(this.c,"bottom",2E-6))};g.Ih=function(a){var b=this.c.rc(this.b,null,this.Y.zIndex()),c=a.l("x")+this.J,d=a.l("zero")-this.w,e=a.l("zeroMissing");a=a.l("value")-this.w;b.front.moveTo(c,d).lineTo(c,a);b.frontHatch.moveTo(c,d).lineTo(c,a);this.Y.Pe()?this.a=[c,d,e]:(b.back.moveTo(c+this.g,d-this.j).lineTo(c+this.g,a-this.j),b.bottom.moveTo(c,d).lineTo(c+this.g,d-this.j),b.left.moveTo(c,d).lineTo(c,a).lineTo(c+this.g,a-this.j).lineTo(c+this.g,d-this.j).close());this.N=c;this.F=a;this.Kd=this.H=d};g.ie=function(a){var b=this.c.rc(this.b),c=a.l("x")+this.J,d=a.l("zero")-this.w,e=a.l("zeroMissing");a=a.l("value")-this.w;this.Y.Pe()?this.a.push(c,d,e):(b.bottom.lineTo(c+this.g,d-this.j),b.back.lineTo(c+this.g,a-this.j));this.M&&(e=b.front.cF(),this.D?b.top.moveTo(e.x,e.y).lineTo(e.x+this.g,e.y-this.j).lineTo(c+this.g,a-this.j).lineTo(c,a).close():b.top.moveTo(e.x,e.y).lineTo(c,a).lineTo(c+this.g,a-this.j).lineTo(e.x+this.g,e.y-this.j).close(),this.D=!this.D);b.front.lineTo(c,a);b.frontHatch.lineTo(c,a);this.N=c;this.F=a;this.H=d};g.kg=function(){if(this.m){var a=this.c.rc(this.b),b=a.front,c=a.frontHatch;if(this.a){for(var d=NaN,e=NaN,f=!1,h=this.a.length-1;0<=h;h-=3){var k=this.a[h-2],l=this.a[h-1],n=this.a[h];n&&!isNaN(d)?(b.lineTo(d,l),c.lineTo(d,l)):f&&!isNaN(e)&&(b.lineTo(k,e),c.lineTo(k,e));b.lineTo(k,l);c.lineTo(k,l);d=k;e=l;f=n}b.close();c.close();this.a=null}else isNaN(this.N)||(b.lineTo(this.N,this.Kd).close(),c.lineTo(this.N,this.Kd).close(),a.back.lineTo(this.N+this.g,this.Kd-this.j).close(),a.bottom.lineTo(this.N,this.Kd).close());isNaN(this.N)||a.right.moveTo(this.N,this.H).lineTo(this.N,this.F).lineTo(this.N+this.g,this.F-this.j).lineTo(this.N+this.g,this.H-this.j).close()}};function Od(a){Cd.call(this,a)}G(Od,Cd);wa[3]=Od;Od.prototype.type=3;Od.prototype.qe=5793;Od.prototype.ie=function(a,b){var c=this.c.rc(b);Pd(this,a,c)};Od.prototype.Ul=function(a){var b=a.l("shapes"),c;for(c in b)b[c].clear();Pd(this,a,b)};function Pd(a,b,c){var d=b.l("x"),e=b.l("zero");b=b.l("value");var d=d-a.h/2,f=d+a.h,h=Qd(c.path.stroke());a.ol&&(d=Rd(d,h),f=Rd(f,h));b=Rd(b,h);e=Rd(e,h);c.path.moveTo(e,d).lineTo(b,d).lineTo(b,f).lineTo(e,f).close();c.hatchFill.moveTo(e,d).lineTo(b,d).lineTo(b,f).lineTo(e,f).close()};function Sd(a){Cd.call(this,a)}G(Sd,Cd);wa[4]=Sd;g=Sd.prototype;g.type=4;g.qe=7845;g.mb=function(a){Sd.v.mb.call(this,a);a=this.Y.g;var b=this.Y.S(),c=this.Y.Pe();this.a=Id(a,b,c);this.j=Jd(a,b,c);this.g=Ld(a,c);this.N=Md(a,c)};g.ie=function(a,b){var c=this.Y.G().l("zIndex"),c=this.c.rc(b,null,c+1E-8*a.S());Ud(this,a,c)};g.Ul=function(a){var b=a.l("shapes"),c;for(c in b)b[c].clear();Ud(this,a,b)};function Ud(a,b,c){var d=b.l("x"),e=b.l("zero"),f=b.l("value");b=c.bottom;var h=c.back,k=c.left,l=c.right,n=c.front,p=c.top,q=c.rightHatch,t=c.frontHatch;c=c.topHatch;var v=a.g,w=a.N,x=a.h,z=Math.min(e,f)+a.a;a=d-x/2-a.j;e=Math.abs(e-f);d=n.stroke().thickness%2/2||0;b.moveTo(z+d,a+x).lineTo(z+e,a+x).lineTo(z+e+v-d,a+x-w+d).lineTo(z+v,a+x-w).close();h.moveTo(z+v,a-w).lineTo(z+v+e,a-w).lineTo(z+v+e,a-w+x).lineTo(z+v,a-w+x).close();k.moveTo(z,a).lineTo(z+v+d,a-w+d).lineTo(z+v,a+x-w).lineTo(z,a+x-d).close();l.moveTo(z+e,a).lineTo(z+e+v,a-w+d).lineTo(z+e+v,a+x-w).lineTo(z+e,a+x-d).close();q.moveTo(z+e,a).lineTo(z+e+v,a-w+d).lineTo(z+e+v,a+x-w).lineTo(z+e,a+x-d).close();n.moveTo(z,a).lineTo(z+e,a).lineTo(z+e,a+x).lineTo(z,a+x).close();t.moveTo(z,a).lineTo(z+e,a).lineTo(z+e,a+x).lineTo(z,a+x).close();p.moveTo(z+d,a).lineTo(z+e,a).lineTo(z+e+v-d,a-w+d).lineTo(z+v,a-w).close();c.moveTo(z+d,a).lineTo(z+e,a).lineTo(z+e+v-d,a-w+d).lineTo(z+v,a-w).close()};function Vd(a){Cd.call(this,a)}G(Vd,Cd);wa[5]=Vd;g=Vd.prototype;g.type=5;g.qe=1792;g.Qf=["lowest","q1","median","q3","highest"];g.ie=function(a,b){var c=this.c.rc(b),d=a.l("x"),e=a.l("lowest"),f=a.l("q1"),h=a.l("median"),k=a.l("q3"),l=a.l("highest"),n=Wd(this.Y,a,b)/2,p=this.h/2;c.path.moveTo(d-p,f).lineTo(d+p,f).lineTo(d+p,k).lineTo(d-p,k).close();c.hatchFill.moveTo(d-p,f).lineTo(d+p,f).lineTo(d+p,k).lineTo(d-p,k).close();c.median.moveTo(d-p,h).lineTo(d+p,h);c.stem.moveTo(d,e).lineTo(d,f).moveTo(d,k).lineTo(d,l);c.whisker.moveTo(d-n,e).lineTo(d+n,e).moveTo(d-n,l).lineTo(d+n,l)};g.Du=function(a,b){var c=a.l("shapes");if(c){var d=a.l("x"),e=a.l("lowest"),f=a.l("highest"),h=Wd(this.Y,a,b)/2;c.whisker.clear().moveTo(d-h,e).lineTo(d+h,e).moveTo(d-h,f).lineTo(d+h,f)}};function Xd(a){Cd.call(this,a)}G(Xd,Cd);wa[6]=Xd;g=Xd.prototype;g.type=6;g.qe=514;g.VP=["value","size"];g.Fy=function(){return this.VP};g.ie=function(a,b){var c,d;0>a.l("size")?(c="negative",d="negativeHatchFill"):(c="circle",d="hatchFill");var e={};e[c]=!0;e[d]=!0;c=this.c.rc(b,e);Yd(a,c)};g.Ul=function(a){var b=a.l("shapes");Yd(a,b)};function Yd(a,b){var c=a.l("x"),d=a.l("value"),e=a.l("size"),e=Math.abs(e),f;for(f in b)b[f].nh(c).oh(d).Yb(e)};function Zd(a){Cd.call(this,a)}G(Zd,Cd);wa[7]=Zd;Zd.prototype.type=7;Zd.prototype.qe=17920;Zd.prototype.Qf=["open","high","low","close"];Zd.prototype.ie=function(a,b){var c=Number(a.get("open"))<Number(a.get("close")),d,e;c?(d="rising",e="risingHatchFill"):(d="falling",e="fallingHatchFill");var f={};f[d]=!0;f[e]=!0;var f=this.c.rc(b,f),h=a.l("x"),k=a.l("open"),l=a.l("high"),n=a.l("low"),p=a.l("close"),q=this.h/2;f[d].moveTo(h,l).lineTo(h,c?p:k).moveTo(h-q,k).lineTo(h+q,k).lineTo(h+q,p).lineTo(h-q,p).lineTo(h-q,k).moveTo(h,n).lineTo(h,c?k:p);f[e].moveTo(h,l).lineTo(h,c?p:k).moveTo(h-q,k).lineTo(h+q,k).lineTo(h+q,p).lineTo(h-q,p).lineTo(h-
q,k).moveTo(h,n).lineTo(h,c?k:p)};function $d(a){Cd.call(this,a)}G($d,Cd);wa[8]=$d;$d.prototype.type=8;$d.prototype.qe=1761;$d.prototype.ie=function(a,b){var c=this.c.rc(b);ae(this,a,c)};$d.prototype.Ul=function(a){var b=a.l("shapes"),c;for(c in b)b[c].clear();ae(this,a,b)};function ae(a,b,c){var d=b.l("x"),e=b.l("zero");b=b.l("value");var d=d-a.h/2,f=d+a.h,h=Qd(c.path.stroke());a.ol&&(d=Rd(d,h),f=Rd(f,h));b=Rd(b,h);e=Rd(e,h);c.path.moveTo(d,b).lineTo(f,b).lineTo(f,e).lineTo(d,e).close();c.hatchFill.moveTo(d,b).lineTo(f,b).lineTo(f,e).lineTo(d,e).close()};function be(a){Cd.call(this,a)}G(be,Cd);wa[9]=be;g=be.prototype;g.type=9;g.qe=3749;g.mb=function(a){be.v.mb.call(this,a);a=this.Y.g;var b=this.Y.S(),c=this.Y.Pe();this.g=Id(a,b,c);this.a=Jd(a,b,c);this.j=Ld(a,c);this.N=Md(a,c)};g.ie=function(a,b){var c=this.Y.G().l("zIndex"),c=this.c.rc(b,null,c+1E-8*a.S());ce(this,a,c)};g.Ul=function(a){var b=a.l("shapes"),c;for(c in b)b[c].clear();ce(this,a,b)};function ce(a,b,c){var d=b.l("x")+a.g,e=b.l("zero")-a.a,f=b.l("value")-a.a;b=c.bottom;var h=c.back,k=c.left,l=c.right,n=c.front,p=c.top,q=c.rightHatch,t=c.frontHatch;c=c.topHatch;var v=a.j,w=a.N;a=a.h;var d=d-a/2,x=Math.min(e,f),e=Math.abs(e-f),f=n.stroke().thickness%2/2||0;b.moveTo(d+f,x+e).lineTo(d+a,x+e).lineTo(d+a+v-f,x+e-w+f).lineTo(d+v,x+e-w).close();h.moveTo(d+v,x-w).lineTo(d+v+a,x-w).lineTo(d+v+a,x-w+e).lineTo(d+v,x-w+e).close();k.moveTo(d,x).lineTo(d+v-f,x-w+f).lineTo(d+v,x+e-w).lineTo(d,x+e-f).close();l.moveTo(d+a,x).lineTo(d+a+v-f,x-w+f).lineTo(d+a+v,x+e-w).lineTo(d+a,x+e-f).close();q.moveTo(d+a,x).lineTo(d+a+v-f,x-w+f).lineTo(d+a+v,x+e-w).lineTo(d+a,x+e-f).close();n.moveTo(d,x).lineTo(d+a,x).lineTo(d+a,x+e).lineTo(d,x+e).close();t.moveTo(d,x).lineTo(d+a,x).lineTo(d+a,x+e).lineTo(d,x+e).close();p.moveTo(d+f,x).lineTo(d+a,x).lineTo(d+a+v-f,x-w+f).lineTo(d+v,x-w).close();c.moveTo(d+f,x).lineTo(d+a,x).lineTo(d+a+v-f,x-w+f).lineTo(d+v,x-w).close()};function de(a){Cd.call(this,a)}G(de,Cd);wa[10]=de;de.prototype.type=10;de.prototype.qe=32984;de.prototype.Ih=function(a){var b=this.c.rc(this.b),c=a.l("x");a=a.l("value");b.stroke.moveTo(c,a)};de.prototype.ie=function(a){var b=this.c.rc(this.b),c=a.l("x");a=a.l("value");b.stroke.lineTo(c,a)};function ee(a){Cd.call(this,a);this.g=fe(["type","hoverType","selectType"],ge);this.a=fe(["markerSize","hoverMarkerSize","selectMarkerSize"],he,["size","hoverSize","selectSize"])}G(ee,Cd);wa[11]=ee;ee.prototype.type=11;ee.prototype.qe=8832;ee.prototype.Du=function(a,b){var c=a.l("shapes");c&&(c.path.clear(),c.hatchFill.clear(),ie(this,a,b,c))};ee.prototype.ie=function(a,b){var c=this.c.rc(b);ie(this,a,b,c)};function ie(a,b,c,d){var e=b.l("x"),f=b.l("value"),h=a.g(a.Y,b,c);a=a.a(a.Y,b,c);h=A(h)?h:je(h);h(d.path,e,f,a);h(d.hatchFill,e,f,a)};function ke(a){Cd.call(this,a)}G(ke,Cd);wa[12]=ke;ke.prototype.type=12;ke.prototype.qe=17928;ke.prototype.Qf=["open","high","low","close"];ke.prototype.ie=function(a,b){var c=Number(a.get("open"))<Number(a.get("close"))?"rising":"falling",d={};d[c]=!0;var d=this.c.rc(b,d),e=a.l("x"),f=a.l("open"),h=a.l("high"),k=a.l("low"),l=a.l("close"),n=this.h/2;d[c].moveTo(e,h).lineTo(e,k).moveTo(e-n,f).lineTo(e,f).moveTo(e+n,l).lineTo(e,l)};function le(a){Cd.call(this,a)}G(le,Cd);wa[13]=le;g=le.prototype;g.type=13;g.qe=65552;g.Qf=["high","low"];g.Ih=function(a){var b=this.c.rc(this.b),c=a.l("x"),d=a.l("high");a=a.l("low");b.fill.moveTo(c,a).lineTo(c,d);b.hatchFill.moveTo(c,a).lineTo(c,d);b.high.moveTo(c,d);this.a=[c,a]};g.ie=function(a){var b=this.c.rc(this.b),c=a.l("x"),d=a.l("high");a=a.l("low");b.fill.lineTo(c,d);b.hatchFill.lineTo(c,d);b.high.lineTo(c,d);this.a.push(c,a)};g.kg=function(){if(this.m&&this.a){for(var a=this.c.rc(this.b),b=!0,c=this.a.length-1;0<=c;c-=2){var d=this.a[c-1],e=this.a[c];a.fill.lineTo(d,e);a.hatchFill.lineTo(d,e);b?(a.low.moveTo(d,e),b=!1):a.low.lineTo(d,e)}a.fill.close();a.hatchFill.close();this.a=null}};function me(a){Cd.call(this,a)}G(me,Cd);wa[14]=me;me.prototype.type=14;me.prototype.qe=71168;me.prototype.Qf=["high","low"];me.prototype.ie=function(a,b){var c=this.c.rc(b),d=a.l("x"),e=a.l("high"),f=a.l("low"),d=d-this.h/2,h=d+this.h,k=Qd(c.path.stroke());this.ol&&(d=Rd(d,k),h=Rd(h,k));e=Rd(e,k);f=Rd(f,k);c.path.moveTo(e,d).lineTo(f,d).lineTo(f,h).lineTo(e,h).close();c.hatchFill.moveTo(e,d).lineTo(f,d).lineTo(f,h).lineTo(e,h).close()};function ne(a){Cd.call(this,a)}G(ne,Cd);wa[15]=ne;ne.prototype.type=15;ne.prototype.qe=67072;ne.prototype.Qf=["high","low"];ne.prototype.ie=function(a,b){var c=this.c.rc(b),d=a.l("x"),e=a.l("high"),f=a.l("low"),d=d-this.h/2,h=d+this.h,k=Qd(c.path.stroke());this.ol&&(d=Rd(d,k),h=Rd(h,k));e=Rd(e,k);f=Rd(f,k);c.path.moveTo(d,f).lineTo(h,f).lineTo(h,e).lineTo(d,e).close();c.hatchFill.moveTo(d,f).lineTo(h,f).lineTo(h,e).lineTo(d,e).close()};function oe(a){Cd.call(this,a);this.a=new xa}G(oe,Cd);wa[16]=oe;g=oe.prototype;g.type=16;g.qe=65552;g.Qf=["high","low"];g.mb=function(a){oe.v.mb.call(this,a);a=this.c.rc(this.b);var b=this.Y.Ut();m(b)&&(this.a.B=b);this.N=[a.fill,a.hatchFill,a.high];this.j=[a.fill,a.hatchFill,a.low]};g.Ih=function(a){var b=a.l("x"),c=a.l("high");a=a.l("low");this.a.a=this.N;Ba(this.a,!1);this.N[0].moveTo(b,a).lineTo(b,c);this.N[1].moveTo(b,a).lineTo(b,c);this.N[2].moveTo(b,c);ya(this.a,b,c);this.g=[b,a]};g.ie=function(a){var b=a.l("x"),c=a.l("high");a=a.l("low");ya(this.a,b,c);this.g.push(b,a)};g.kg=function(){if(this.m&&(Aa(this.a),this.g)){for(var a=!0,b=this.g.length-1;0<=b;b-=2){var c=this.g[b-1],d=this.g[b];a&&(this.a.a=this.j,Ba(this.a,!0),this.j[0].lineTo(c,d),this.j[1].lineTo(c,d),this.j[2].moveTo(c,d),a=!1);ya(this.a,c,d)}Aa(this.a);this.g=null}};function pe(a){Cd.call(this,a)}G(pe,Cd);wa[17]=pe;g=pe.prototype;g.type=17;g.qe=65552;g.Qf=["high","low"];g.Ih=function(a){var b=this.c.rc(this.b),c=a.l("x"),d=a.l("high");a=a.l("low");b.fill.moveTo(c,a).lineTo(c,d);b.hatchFill.moveTo(c,a).lineTo(c,d);b.high.moveTo(c,d);this.j=c;this.g=d;this.a=[c,a]};g.ie=function(a){var b=this.c.rc(this.b),c=a.l("x"),d=a.l("high");a=a.l("low");var e=(c+this.j)/2;b.fill.lineTo(e,this.g).lineTo(e,d).lineTo(c,d);b.hatchFill.lineTo(e,this.g).lineTo(e,d).lineTo(c,d);b.high.lineTo(e,this.g).lineTo(e,d).lineTo(c,d);this.j=c;this.g=d;this.a.push(c,a)};g.kg=function(){if(this.m&&this.a){for(var a=this.c.rc(this.b),b=NaN,c=NaN,d=!0,e=this.a.length-1;0<=e;e-=2){var f=this.a[e-1],h=this.a[e];d?(a.low.moveTo(f,h),d=!1):(b=(f+b)/2,a.fill.lineTo(b,c).lineTo(b,h),a.hatchFill.lineTo(b,c).lineTo(b,h),a.low.lineTo(b,c).lineTo(b,h));a.fill.lineTo(f,h);a.hatchFill.lineTo(f,h);a.low.lineTo(f,h);b=f;c=h}a.fill.close();a.hatchFill.close();this.a=null}};function qe(a){Cd.call(this,a);this.a=new xa}G(qe,Cd);wa[18]=qe;g=qe.prototype;g.type=18;g.qe=32984;g.mb=function(a){qe.v.mb.call(this,a);a=this.c.rc(this.b);var b=this.Y.Ut();m(b)&&(this.a.B=b);this.a.a=[a.stroke]};g.Ih=function(a){var b=this.c.rc(this.b),c=a.l("x");a=a.l("value");Ba(this.a,!1);b.stroke.moveTo(c,a);ya(this.a,c,a)};g.ie=function(a){var b=a.l("x");a=a.l("value");ya(this.a,b,a)};g.kg=function(){this.m&&Aa(this.a)};g.V=function(){this.a.a=null;qe.v.V.call(this)};function re(a){Cd.call(this,a);this.g=new xa}G(re,Cd);wa[19]=re;g=re.prototype;g.type=19;g.qe=241;g.mb=function(a){re.v.mb.call(this,a);a=this.c.rc(this.b);var b=this.Y.Ut();m(b)&&(this.g.B=b);this.w=[a.fill,a.hatchFill,a.stroke];this.j=[a.fill,a.hatchFill]};g.FE=function(a){if(this.B){if(this.Y.Pe()){var b=a.l("x"),c=a.l("zero");a=a.l("zeroMissing");this.a.push(b,c,a)}}else this.kg()};g.Ih=function(a){var b=this.c.rc(this.b),c=a.l("x"),d=a.l("zero"),e=a.l("zeroMissing");a=a.l("value");this.g.a=this.w;Ba(this.g,!1);b.fill.moveTo(c,d).lineTo(c,a);b.hatchFill.moveTo(c,d).lineTo(c,a);b.stroke.moveTo(c,a);ya(this.g,c,a);this.Y.Pe()?this.a=[c,d,e]:(this.N=c,this.Kd=d)};g.ie=function(a){var b=a.l("x"),c=a.l("zero"),d=a.l("zeroMissing");a=a.l("value");ya(this.g,b,a);this.Y.Pe()?this.a.push(b,c,d):this.N=b};g.kg=function(){if(this.m)if(Aa(this.g),!isNaN(this.N))this.j[0].lineTo(this.N,this.Kd).close(),this.j[1].lineTo(this.N,this.Kd).close();else if(this.a){this.g.a=this.j;Ba(this.g,!0);for(var a=NaN,b=NaN,c=!1,d=!0,e=this.a.length-1;0<=e;e-=3){var f=this.a[e-2],h=this.a[e-1],k=this.a[e];d?(this.j[0].lineTo(f,h),this.j[1].lineTo(f,h),k||ya(this.g,f,h),d=!1):k&&c?(this.j[0].lineTo(f,h),this.j[1].lineTo(f,h)):k?(Aa(this.g),Ba(this.g,!0),this.j[0].lineTo(a,h).lineTo(f,h),this.j[1].lineTo(a,h).lineTo(f,h)):(c&&(this.j[0].lineTo(f,b).lineTo(f,h),this.j[1].lineTo(f,b).lineTo(f,h)),ya(this.g,f,h));a=f;b=h;c=k}Aa(this.g);this.a=null}};g.V=function(){this.g.a=null;re.v.V.call(this)};function se(a){Cd.call(this,a)}G(se,Cd);wa[20]=se;g=se.prototype;g.type=20;g.qe=241;function te(a,b,c,d){a.fill.moveTo(b,d).lineTo(b,c);a.hatchFill.moveTo(b,d).lineTo(b,c);a.stroke.moveTo(b,c)}function ue(a,b,c,d){var e=(c+a.j)/2;b.fill.lineTo(e,a.g).lineTo(e,d).lineTo(c,d);b.hatchFill.lineTo(e,a.g).lineTo(e,d).lineTo(c,d);b.stroke.lineTo(e,a.g).lineTo(e,d).lineTo(c,d)}
g.Ih=function(a){var b=this.c.rc(this.b),c=a.l("x"),d=a.l("zero"),e=a.l("value");if(this.Y.Pe()){var f=a.l("nextZero");a=a.l("nextValue");isNaN(f)||isNaN(a)?(te(b,c,e,d),this.a=[c,d],this.g=e):(b.stroke.moveTo(c,e).lineTo(c,e),te(b,c,a,f),this.a=[c,f],this.g=a)}else te(b,c,e,d),this.N=c,this.Kd=d,this.g=e;this.j=c};g.ie=function(a){var b=this.c.rc(this.b),c=a.l("x"),d=a.l("zero"),e=a.l("value");if(this.Y.Pe()){var f=a.l("prevZero"),h=a.l("prevValue"),k=a.l("nextZero");a=a.l("nextValue");isNaN(f)||isNaN(h)?(ue(this,b,c,e),this.a.push(c,d)):(ue(this,b,c,h),this.a.push(c,f),this.j=c,this.g=h,this.kg(),te(b,c,e,d),this.a=[c,d]);isNaN(k)||isNaN(a)?this.g=e:(b.stroke.lineTo(c,e),this.kg(),te(b,c,a,k),this.a=[c,k],this.g=a)}else ue(this,b,c,e),this.N=c,this.g=e;this.j=c};g.kg=function(){if(this.m){var a=this.c.rc(this.b);if(!isNaN(this.N))a.fill.lineTo(this.N,this.Kd).close(),a.hatchFill.lineTo(this.N,this.Kd).close();else if(this.a){for(var b=NaN,c=NaN,d=this.a.length-1;0<=d;d-=2){var e=this.a[d-1],f=this.a[d];isNaN(c)||(b=(e+b)/2,a.fill.lineTo(b,c).lineTo(b,f),a.hatchFill.lineTo(b,c).lineTo(b,f));a.fill.lineTo(e,f);a.hatchFill.lineTo(e,f);b=e;c=f}a.fill.close();a.hatchFill.close();this.a=null}}};function ve(a){Cd.call(this,a)}G(ve,Cd);wa[21]=ve;ve.prototype.type=21;ve.prototype.qe=32984;ve.prototype.Ih=function(a){var b=this.c.rc(this.b),c=a.l("x");a=a.l("value");b.stroke.moveTo(c,a);this.j=c;this.g=a};ve.prototype.ie=function(a){var b=this.c.rc(this.b),c=a.l("x");a=a.l("value");var d=(c+this.j)/2;b.stroke.lineTo(d,this.g).lineTo(d,a).lineTo(c,a);this.j=c;this.g=a};function we(a,b){xd.call(this);this.g=a;this.h=m(b)?b:NaN;this.clear()}G(we,xd);we.prototype.clear=function(){this.value=void 0};we.prototype.c=function(){var a=this.value;this.clear();return a};we.prototype.V=function(){delete this.value;we.v.V.call(this)};function xe(a,b){this.b=b;we.call(this,a)}G(xe,we);xe.prototype.clear=function(){this.b.reset()};xe.prototype.a=function(a,b,c){this.b.considerItem(a,c)};xe.prototype.c=function(){var a=this.b.getResult();this.clear();return a};xe.prototype.V=function(){delete this.b;xe.v.V.call(this)};function ze(a,b,c){this.j=b;this.b=c;we.call(this,a)}G(ze,we);ze.prototype.clear=function(){this.value=[];this.m=[]};ze.prototype.a=function(a,b,c){this.value.push(a);this.m.push(c)};ze.prototype.c=function(){var a=this.j.call(this.b,this.value,this.m);this.clear();return a};ze.prototype.V=function(){delete this.j;delete this.b;ze.v.V.call(this)};function Ae(a){we.call(this,a)}G(Ae,we);Ae.prototype.a=function(a){m(this.value)||(this.value=a)};function Be(a){we.call(this,a)}G(Be,we);Be.prototype.a=function(a){m(a)&&(this.value=a)};function Ce(a){we.call(this,a)}G(Ce,we);Ce.prototype.clear=function(){this.value=[]};Ce.prototype.a=function(a){m(a)&&this.value.push(a)};function De(){xd.call(this);this.yq=this.Pl.length-1;this.Fp=this.kl.length-1;this.Yt=na(this.Yt,this)}G(De,xd);g=De.prototype;g.Eg=null;g.Pl="\n";g.kl=",";g.yq=NaN;g.Fp=NaN;g.ml=NaN;g.xj=!1;g.fq=!1;g.Qc=NaN;g.yg=-1;g.xg=-1;g.at=!1;g.Az=NaN;g.zq=function(a){return m(a)?(this.Pl=a,this.yq=this.Pl.length-1,this):this.Pl};g.Gp=function(a){return m(a)?(this.kl=a,this.Fp=this.kl.length-1,this):this.kl};g.eq=function(a){return m(a)?(this.fq=!!a,this):this.fq};g.gq=function(a){return m(a)?(this.xj=!!a,this):this.xj};g.wp=function(a,b,c){this.Eg=b||new Ab;c=!(!c&&!b);this.a=a||"";this.ml=a.length;this.g=Ee(this.Pl);this.b=Ee(this.kl);this.Qc=0;this.at=this.Qc==this.ml;this.c=this.fq?this.MP:this.XF;this.Eg.start();Fe(this)&&(this.fq?this.c=this.XF:this.Eg.Cj());this.fq=!1;if(c)this.Yt();else{for(;Fe(this);)this.Eg.Cj();this.Eg.Qe(this.Qc);this.Eg.ps();if(this.Eg instanceof Ab)return this.Eg.w}return null};g.Yt=function(){clearTimeout(this.Az);for(var a=0,b=Fe(this);b&&500>a++;){if(this.wc)return;this.Eg.Cj();b=Fe(this)}b&&this.Eg.Cj();this.wc||(b?(this.Eg.Qe(this.Qc),this.Az=setTimeout(this.Yt,0)):this.Eg.ps())};function Ee(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e<b;e++){var f=a.charAt(e);if('"'==f)throw Rc(100),Error("Double quotes in separator are not allowed");for(;0<d&&a.charAt(d+1)!=f;)d=c[d];a.charAt(d+1)==f&&d++;c[e]=d}return c}g.XF=function(a,b){this.Eg.zz(a,b)};g.MP=ba;function Ge(a,b){for(;-1<a.xg&&a.kl.charAt(a.xg+1)!=b;)a.xg=a.b[a.xg];a.kl.charAt(a.xg+1)==b&&a.xg++;return a.xg==a.Fp}function He(a,b){for(;-1<a.yg&&a.Pl.charAt(a.yg+1)!=b;)a.yg=a.g[a.yg];a.Pl.charAt(a.yg+1)==b&&a.yg++;return a.yg==a.yq}
function Fe(a){if(a.at)return!1;var b=0,c=a.Qc-1,d=NaN;a.yg=-1;a.xg=-1;for(var e=0,f="",h=0,d=null;++c<a.ml;)switch(d=a.a.charAt(c),e){case 0:if('"'==d){++c<a.ml?d=a.a.charAt(c):c--;a.Qc=c;'"'==d?e=1:(e=2,c--);break}if(Ge(a,d)){a.c(b++,null);f="";a.xg=-1;a.yg=-1;a.Qc=c+1;break}if(He(a,d)){a.xg=-1;a.yg=-1;a.Qc=c+1;if(0<b)return a.c(b,null),!0;f="";break}if(!a.xj||" "!=d&&"\t"!=d)a.Qc=c,e=1;break;case 1:if(Ge(a,d)){d=c-a.Qc-a.Fp;0<a.Fp&&a.xj?(f=Ie(a.a.substr(a.Qc,d)))||(f=null):(a.xj&&(d-=h),f=0<d?a.a.substr(a.Qc,d):null);a.c(b++,f);f="";a.xg=-1;a.yg=-1;a.Qc=c+1;e=h=0;break}if(He(a,d))if(d=c-a.Qc-a.yq,!b&&0>=d){f="";e=0;a.xg=-1;a.yg=-1;a.Qc=c+1;h=0;break}else return 0<a.yq&&a.xj?(f=Ie(a.a.substr(a.Qc,d)))||(f=null):(a.xj&&(d-=h),f=0<d?a.a.substr(a.Qc,d):null),a.c(b,f),a.Qc=c+1,!0;!a.xj||" "!=d&&"\t"!=d?h=0:h++;break;case 2:if('"'==d){if(++c<a.ml)d=a.a.charAt(c);else return d=c-a.Qc-1,a.c(b,0<d?a.a.substr(a.Qc,d):null),a.Qc=c,a.at=!0;'"'==d?(f+=a.a.substr(a.Qc,c-a.Qc),a.Qc=c+1):(a.xg=-1,a.yg=-1,e=3,f+=a.a.substr(a.Qc,c-a.Qc-1),a.c(b++,f?f:null),f="",c--);break}break;case 3:if(Ge(a,d)){f="";a.xg=-1;a.yg=-1;a.Qc=c+1;e=h=0;break}if(He(a,d))return a.Qc=c+1,!0}d=a.ml-a.Qc;2!=e&&1!=e||!d||(f+=a.a.substr(a.Qc,d),a.xj&&(f=Ie(a.a.substr(a.Qc,d))),a.c(b++,f?f:null),a.Qc=a.ml);a.at=!0;return 0<b}g.V=function(){clearTimeout(this.Az);this.b=this.g=this.Eg=null;De.v.V.call(this)};E("anychart.data.csv.parser",function(){return new De});De.prototype.parse=De.prototype.wp;De.prototype.rowsSeparator=De.prototype.zq;De.prototype.columnsSeparator=De.prototype.Gp;De.prototype.ignoreTrailingSpaces=De.prototype.gq;De.prototype.ignoreFirstRow=De.prototype.eq;var Je;function Ke(a,b){this.type=a;this.a=this.target=b;this.N=this.g=!1;this.iG=!0}Ke.prototype.stopPropagation=function(){this.g=!0};Ke.prototype.preventDefault=function(){this.N=!0;this.iG=!1};var Le="closure_listenable_"+(1E6*Math.random()|0);function Me(a){return!(!a||!a[Le])}var Ne=0;function Oe(a,b,c,d,e){this.listener=a;this.a=null;this.src=b;this.type=c;this.Ap=!!d;this.ya=e;this.key=++Ne;this.Gn=this.Bs=!1}function Pe(a){a.Gn=!0;a.listener=null;a.a=null;a.src=null;a.ya=null};var Qe;Qe={Su:["BC","AD"],xA:["Before Christ","Anno Domini"],yA:"JFMAMJJASOND".split(""),zA:"JFMAMJJASOND".split(""),Vu:"January February March April May June July August September October November December".split(" "),$u:"January February March April May June July August September October November December".split(" "),Xu:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),av:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),bv:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),CA:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Zu:"Sun Mon Tue Wed Thu Fri Sat".split(" "),BA:"Sun Mon Tue Wed Thu Fri Sat".split(" "),iH:"SMTWTFS".split(""),AA:"SMTWTFS".split(""),Yu:["Q1","Q2","Q3","Q4"],Wu:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Ou:["AM","PM"],bo:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],jo:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Ru:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Tu:6,jH:[5,6],Uu:5};function Re(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function Se(a){return(new Te(void 0)).o(a)}function Te(a){this.a=a}Te.prototype.o=function(a){var b=[];Ue(this,a,b);return b.join("")};function Ue(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(r(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],Ue(a,a.a?a.a.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),Ve(d,c),c.push(":"),Ue(a,a.a?a.a.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case"string":Ve(b,c);break;case"number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case"boolean":c.push(String(b));break;case"function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}var We={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Xe=/\uffff/.test("ï¿¿")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;function Ve(a,b){b.push('"',a.replace(Xe,function(a){var b=We[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),We[a]=b);return b}),'"')};function Ye(a,b){this.width=a;this.height=b}g=Ye.prototype;g.clone=function(){return new Ye(this.width,this.height)};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};g.scale=function(a,b){var c=y(b)?b:a;this.width*=a;this.height*=c;return this};function Ze(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function $e(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function af(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function bf(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function cf(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function df(a,b){return null!==a&&b in a}function ef(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}function ff(a){for(var b in a)return!1;return!0}
function gf(a){for(var b in a)delete a[b]}function hf(a,b){b in a&&delete a[b]}function jf(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0}function kf(a){var b={},c;for(c in a)b[c]=a[c];return b}var lf="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function mf(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<lf.length;f++)c=lf[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function nf(a){nf[" "](a);return a}nf[" "]=ba;function of(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}function pf(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")}var qf=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function rf(a){if(!sf.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(tf,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(uf,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(vf,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(wf,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(xf,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(yf,"&#0;"));return a}
var tf=/&/g,uf=/</g,vf=/>/g,wf=/"/g,xf=/'/g,yf=/\x00/g,sf=/[\x00&<>"']/,zf={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},Af={"'":"\\'"};function Bf(a){for(var b=[],c=0;c<a.length;c++){var d=c,e;e=a.charAt(c);if(e in Af)e=Af[e];else if(e in zf)e=Af[e]=zf[e];else{var f=e,h=e.charCodeAt(0);if(31<h&&127>h)f=e;else{if(256>h){if(f="\\x",16>h||256<h)f+="0"}else f="\\u",4096>h&&(f+="0");f+=h.toString(16).toUpperCase()}e=Af[e]=f}b[d]=e}return b.join("")}function Cf(a,b){var c=new RegExp(Df(b),"g");return a.replace(c,"")}function Df(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}
var Ef=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};function Ff(a,b){var c=m(void 0)?a.toFixed(void 0):String(a),d=c.indexOf(".");-1==d&&(d=c.length);return Ef("0",Math.max(0,b-d))+c}function Gf(a,b){return a<b?-1:a>b?1:0}function Hf(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}
function If(a){var b=u(void 0)?Df(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})}function Jf(a,b){for(var c=a.split(" "),d=[];0<b&&c.length;)d.push(c.shift()),b--;c.length&&d.push(c.join(" "));return d};function Kf(a){return a[a.length-1]}
var Lf=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(u(a))return u(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Mf=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Nf=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=u(a)?a.split(""):a,k=0;k<d;k++)if(k in h){var l=h[k];b.call(c,l,k,a)&&(e[f++]=l)}return e},Of=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=u(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));return e},Pf=Array.prototype.reduce?function(a,b,c,d){d&&(b=na(b,d));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var e=c;Mf(a,function(c,h){e=b.call(d,e,c,h,a)});return e},Qf=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1},Rf=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0};function Sf(a,b){var c=kb(a,b,void 0);return 0>c?null:u(a)?a.charAt(c):a[c]}
function kb(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1}function Tf(a,b){return 0<=Lf(a,b)}function Uf(a){if(!r(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function Za(a,b,c){fb(a,c,0,b)}function Vf(a,b){var c=Lf(a,b),d;(d=0<=c)&&Wf(a,c);return d}function Wf(a,b){return 1==Array.prototype.splice.call(a,b,1).length}function Xf(a){return Array.prototype.concat.apply(Array.prototype,arguments)}
function Yf(a){return Array.prototype.concat.apply(Array.prototype,arguments)}function Zf(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function $f(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ha(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}}function fb(a,b,c,d){return Array.prototype.splice.apply(a,zb(arguments,1))}
function zb(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function ag(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++],f;f=e;f=B(f)?"o"+D(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c}function Wa(a,b,c){return bg(a,c||cg,!1,b)}function dg(a,b,c){return bg(a,b,!0,void 0,c)}
function bg(a,b,c,d,e){for(var f=0,h=a.length,k;f<h;){var l=f+h>>1,n;c?n=b.call(e,a[l],l,a):n=b(d,a[l]);0<n?f=l+1:(h=l,k=!n)}return k?f:~f}function db(a,b){a.sort(b||cg)}function eg(a,b){for(var c=0;c<a.length;c++)a[c]={index:c,value:a[c]};var d=b||cg;db(a,function(a,b){return d(a.value,b.value)||a.index-b.index});for(c=0;c<a.length;c++)a[c]=a[c].value}function fg(a,b){var c=cg;db(a,function(a,e){return c(b(a),b(e))})}function gg(a){fg(a,function(a){return a.offset})}
function hg(a,b){if(!ha(a)||!ha(b)||a.length!=b.length)return!1;for(var c=a.length,d=ig,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0}function cg(a,b){return a>b?1:a<b?-1:0}function ig(a,b){return a===b}function jg(a,b,c){c=Wa(a,b,c);return 0>c?(Za(a,b,-(c+1)),!0):!1};function kg(a){this.a=[];this.j=a;this.T=[];this.D=0;this.ma=[];this.B=0;this.b=-1;this.W=this.F=this.H=this.m=null}function lg(a){a.H=a.m=null;a.W=a.F=null;a.T.length=0;a.D=0;a.ma.length=0;a.B=0}
kg.prototype.update=function(){var a=this.j.w-1;if(this.b<a)if(this.a.length){for(var b=this.j.g,c=this instanceof mg,d=0;d<b.length;d++)if(this.b<=this.j.m[d]){var e=b[d];e.h.call(e.a,e.a);for(var f=0,h=this.a[0];h;){h.c||(h.c=[]);for(;h.c.length<a;)h.c.push(void 0);e.g.call(e.a,new ng(h,e,c,f),e.a);h=h.next;f++}}this.b=a;lg(this)}else this.b=a};kg.prototype.select=function(a,b){var c,d,e,f=this.a.length;f?(d=isNaN(a)?0:og(this,a,"exactOrNext"),isNaN(d)?(c=f-1,d=NaN):(e=isNaN(b)?f-1:og(this,b,"exactOrPrev"),isNaN(e)?(c=NaN,d=0):d<=e?(c=0<d?d-1:NaN,d=e<f-1?e+1:NaN):c=e)):c=d=NaN;return pg(this,a,b,c,d)};function pg(a,b,c,d,e){var f,h,k,l,n,p,q,t=a.a.length;if(t){for(n=0;n<a.T.length;n++)if(f=a.T[(a.D-n-1+10)%10],f.UG==b&&f.WE==c)return f;isNaN(d)?isNaN(e)?(p=0,q=t-1):0==e?p=q=NaN:(p=0,q=e-1):isNaN(e)?d==t-1?p=q=NaN:(p=d+1,q=t-1):1==e-d?p=q=NaN:(p=d+1,q=e-1);k=a.a[d]||null;f=a.a[p]||null;h=a.a[q]||null;l=a.a[e]||null}else f=h=k=l=null,p=q=d=e=NaN;var v=a.iF(),w=y(v),x={},z={},C=[],F=[],J;if(k||f||l){var O=!k&&!l;if(O&&a.m){for(J in a.m)x[J]=a.m[J],z[J]=a.H[J];for(n=0;n<a.F.length;n++)C.push(a.F[n]),F.push(a.W[n])}else{if(w)for(n=0;n<v;n++)x[n]=Number.POSITIVE_INFINITY,z[n]=Number.NEGATIVE_INFINITY;else for(n in v)x[n]=Number.POSITIVE_INFINITY,z[n]=Number.NEGATIVE_INFINITY;for(n=0;n<=a.b;n++)C.push(Number.POSITIVE_INFINITY),F.push(Number.NEGATIVE_INFINITY);for(var S=k||f||l,da=l?l.next:l;S&&S!=da;){if(w){var V=Math.min(S.values.length,v);for(n=0;n<V;n++)J=I(S.values[n]),J<x[n]&&(x[n]=J),J>z[n]&&(z[n]=J)}else for(n in v)J=I(S.values[n]),J<x[n]&&(x[n]=J),J>z[n]&&(z[n]=J);for(n=0;n<=a.b;n++)J=I(S.c[n]),J<C[n]&&(C[n]=J),J>F[n]&&(F[n]=J);S=S.next}if(w)for(n=0;n<v;n++)x[n]==Number.POSITIVE_INFINITY&&(x[n]=NaN),z[n]==Number.NEGATIVE_INFINITY&&(z[n]=NaN);else for(n in v)x[n]==Number.POSITIVE_INFINITY&&(x[n]=NaN),z[n]==Number.NEGATIVE_INFINITY&&(z[n]=NaN);for(n=0;n<=a.b;n++)C[n]==Number.POSITIVE_INFINITY&&(C[n]=NaN),F[n]==Number.NEGATIVE_INFINITY&&(F[n]=NaN);O&&(a.m={},a.H={},pa(a.m,x),pa(a.H,z),a.F=zb(C,0),a.W=zb(F,0))}}else{if(w)for(n=0;n<v;n++)x[n]=z[n]=NaN;else for(n in v)x[n]=z[n]=NaN;for(n=0;n<=a.b;n++)C[n]=F[n]=NaN}f={UG:b,WE:c,gS:d,uy:p,lastIndex:q,fS:e,hS:k,LN:f,cS:h,LP:l,eS:x,dS:z,aS:F,bS:C};t&&(a.T[a.D]=f,a.D=(a.D+1)%10);return f}function qg(a){var b=a.a.length;return b?pg(a,a.a[0].key,a.a[b-1].key,NaN,NaN):pg(a,NaN,NaN,NaN,NaN)}
function og(a,b,c){c=c||"exact";for(var d=0;d<a.ma.length;d++){var e=a.ma[(a.B-d-1+3)%3];if(e.key==b&&e.mode==c)return e.index}d=dg(a.a,Mb,b);if(0>d)if(d=~d,"exactOrNext"==c)d=d<a.a.length?d:NaN;else if("exactOrPrev"==c)d=0<d?d-1:NaN;else{if("nearest"==c)return c=a.a.length,0==d?c?0:NaN:d<c?(a=a.a[d],b-a.a.key<a.key-b?d-1:d):c?c-1:NaN;d=NaN}a.ma[a.B]={key:b,mode:c,index:d};a.B=(a.B+1)%3;return d}kg.prototype.Za=function(){return this.a.length};function mg(a,b){kg.call(this,a);this.h=b||null;this.c=rg;this.g=0}G(mg,kg);var rg=8;mg.prototype.iF=function(){return this.g};mg.prototype.update=function(){if(0!=this.c){var a=sg(this.j).a,b=this.j.j;if(this.c>=rg)this.b=-1,this.a.length=0,tg(this,a,b,this.h,!1);else{if(this.c&2){this.b=-1;var c=a.length?a[0]:null;if(c){var d=this.a.length?this.a[0]:null,e=c.key;if(d&&!(d.key>=e)){for(var f=0,h;(h=d.next)&&h.key<e;)f++,d=h;if(h&&h.key==e)f++;else{for(e=c;e&&(!h||e.key<h.key);){for(c=0;c<this.g;c++){var k=b[c];k.a(e.values[k.g],e.values[k.h],e.values)}e=e.next}for(c=0;c<this.g;c++)d.values[c]=b[c].c()}0<f&&(fb(this.a,0,f),this.a.length&&(this.a[0].a=null))}}else this.a.length=0}this.c&1&&(this.b=-1,d=this.h,(f=this.a[this.a.length-1])?(this.a.pop(),f.a&&(f.a.next=null),f=f.key):f=void 0,tg(this,a,b,d,!0,f));if(this.c&4&&(a=a[0],e=this.a[0],a&&e)){d=this.g;f=b.length-1;do{for(c=e.next;a&&(!c||a.key<c.key);){for(h=d;h<=f;h++)k=b[h],k.a(a.values[k.g],a.values[k.h],a.values);a=a.next}e=e.values;for(h=d;h<=f;h++)e[h]=b[h].c();e=c}while(a)}}this.c=0;this.g=b.length;lg(this)}mg.v.update.call(this)};function tg(a,b,c,d,e,f){e=e?a.g:c.length;var h,k;m(f)?(f=dg(b,Mb,f),b=b[0<=f?f:~f]):b=b[0];if(b)if(f=a.a[a.a.length-1]||null,d){d.a.setTime(b.key);d.uc();var l=d.next();do{for(var n=d.next(),p=!1;b&&(isNaN(n)||b.key<n);){p=!0;for(h=0;h<e;h++)k=c[h],k.a(b.values[k.g],b.values[k.h],b.values);b=b.next}if(p){k=Array(e);for(h=0;h<e;h++)k[h]=c[h].c();h=new Jb(l,k);f&&(f.next=h);h.a=f;a.a.push(h);f=h}l=n}while(b)}else{do{for(h=0;h<e;h++)k=c[h],k.a(b.values[k.g],b.values[k.h],b.values);k=Array(e);for(h=0;h<e;h++)k[h]=c[h].c();h=new Jb(b.key,k);f&&(f.next=h);h.a=f;a.a.push(h);f=h;b=b.next}while(b)}}function ug(a,b){kg.call(this,a);this.c=[];this.g=this.bG;this.h=0;this.N=!1;this.ea=u(b)?b:Ea(b,0,!0);this.w=0;this.J={};this.M=!1}G(ug,kg);function vg(a){a.N=!1;if(a.c.length||a.h){var b=wg(a),c=a.c.length,d=a.a.length,e=a.c[b?0:c-1],d=!c||!d||0<Lb(e,a.a[d-1]),c=0;if(d&&2>a.h){d&&(c|=1);if(a.h){for(var c=c|2,e=new xg(a.a,null,!0),f=0,d=e.next();d&&d.b;)f++,d=e.next();fb(a.a,0,f);if(d=a.a[0])d.a=null}yg(a,new xg(null,a.c,b))}else e=new xg(a.a,a.c,b),a.a=[],yg(a,e),c=rg;a.c.length=0;a.g=a.bG;a.b=-1;a.h=0;lg(a);zg(a.j,c,!0)}}g=ug.prototype;g.remove=function(a,b){for(var c=new xg(this.a,this.c,wg(this),a,b),d;d=c.next();)d.b=!0;this.h=2;this.N||vg(this);return this};function Ag(a,b){b=Ea(b);for(var c=new xg(a.a,a.c,wg(a)),d=NaN,e;(e=c.next())&&0<b;)e.b||(e.key!=d&&b--,e.b=!0,d=e.key);0==a.h&&(a.h=1);a.N||vg(a)}g.iF=function(){return this.M?this.J:this.w};function Db(a,b){var c,d;if(r(b))b=zb(b,0);else if(B(b)){c=b;b={};for(var e in c)b[e]=c[e]}else b=null;(c=!(!b||isNaN(d=xb(b[a.ea]))))&&a.g(new Jb(d,b));return c}
function wg(a){a.g==a.Bz&&(a.c.sort(Lb),a.g=a.$F);return a.g!=a.aG}function yg(a,b){var c=a.a.length-1,d,e;0<=c?(d=a.a[c],e=d.key):(d=null,e=NaN);for(var f;f=b.next();)if(!f.b){f.key==e?(a.a[c]=f,f.a=d.a):(a.a.push(f),f.a=d,e=f.key,c++);f.a&&(f.a.next=f);d=f;var h;if(r(f.values)){if(f=f.values.length,a.w<f){if(a.M)for(h=a.w;h<f;h++)a.J[h]=!0;a.w=f}}else{if(!a.M){for(h=0;h<a.w;h++)a.J[h]=!0;a.M=!0}for(h in f.values)a.J[h]=!0}}d&&(d.next=null)}g.bG=function(a){this.c.push(a);this.g=this.$F};g.$F=function(a){var b=this.c.length,c=this.c[b-1];c.key<a.key?this.c.push(a):c.key>a.key?(this.g=1==b?this.aG:this.Bz,this.c.push(a)):this.c[b-1]=a};g.aG=function(a){var b=this.c.length,c=this.c[b-1];c.key>a.key?this.c.push(a):c.key<a.key?(this.g=this.Bz,this.c.push(a)):c.key==a.key&&(this.c[b-1]=a)};g.Bz=function(a){this.c.push(a)};function xg(a,b,c,d,e){this.h=a||[];this.g=b||[];d=I(d);e=I(e);isNaN(e)?this.next=this.qP:(this.next=this.$M,this.j=e);a=isNaN(d)?0:dg(this.h,Mb,d);this.c=this.h[0>a?~a:a];c?(this.b=this.cP,this.a=isNaN(d)?0:dg(this.g,Mb,d),0>this.a&&(this.a=~this.a)):(this.b=this.eP,this.a=isNaN(d)?this.g.length-1:dg(this.g,Nb,d),0>this.a&&(this.a=~this.a-1))}g=xg.prototype;g.An=function(){return null};g.cP=function(){var a=this.c,b=this.g[this.a];if(a){if(b){if(0>Lb(a,b))return this.c=this.c.next,a;this.a++;return b}this.c=this.c.next;this.b=this.PF;return a}if(b)return this.a++,this.b=this.aP,b;this.next=this.An;return null};g.eP=function(){var a=this.c,b=this.g[this.a];if(a){if(b){if(0>Lb(a,b))return this.c=this.c.next,a;this.a--;return b}this.c=this.c.next;this.b=this.PF;return a}if(b)return this.a--,this.b=this.bP,b;this.next=this.An;return null};g.PF=function(){var a=this.c;if(a)return this.c=this.c.next,a;this.next=this.An;return null};g.aP=function(){var a=this.g[this.a++];if(a)return a;this.next=this.An;return null};g.bP=function(){var a=this.g[this.a--];if(a)return a;this.next=this.An;return null};g.$M=function(){var a=this.b();return null===a||a.key>this.j?(this.next=this.An,null):a};g.qP=function(){return this.b()};var Bg=/^(-)?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$/;function Cg(a,b){switch(b){case 1:return 0!=a%4||0==a%100&&0!=a%400?28:29;case 5:case 8:case 10:case 3:return 30}return 31}function Dg(a,b,c,d,e,f){u(a)?(this.j=a==Eg?b:0,this.h=a==Fg?b:0,this.a=a==Gg?b:0,this.c=a==Hg?b:0,this.b=a==Ig?b:0,this.g=a==Jg?b:0):(this.j=a||0,this.h=b||0,this.a=c||0,this.c=d||0,this.b=e||0,this.g=f||0)}
function Kg(a){a=a.match(Bg);if(!a)return null;var b=!(a[6]||a[7]||a[8]);if(b&&!(a[2]||a[3]||a[4])||b&&a[5])return null;var b=parseInt(a[2],10)||0,c=parseInt(a[3],10)||0,d=parseInt(a[4],10)||0,e=parseInt(a[6],10)||0,f=parseInt(a[7],10)||0,h=parseFloat(a[8])||0;return a[1]?new Dg(-b,-c,-d,-e,-f,-h):new Dg(b,c,d,e,f,h)}
function Lg(a,b){var c=Math.min(a.j,a.h,a.a,a.c,a.b,a.g),d=Math.max(a.j,a.h,a.a,a.c,a.b,a.g);if(0>c&&0<d)return null;if(!b&&0==c&&0==d)return"PT0S";d=[];0>c&&d.push("-");d.push("P");(a.j||b)&&d.push(Math.abs(a.j)+"Y");(a.h||b)&&d.push(Math.abs(a.h)+"M");(a.a||b)&&d.push(Math.abs(a.a)+"D");if(a.c||a.b||a.g||b)d.push("T"),(a.c||b)&&d.push(Math.abs(a.c)+"H"),(a.b||b)&&d.push(Math.abs(a.b)+"M"),(a.g||b)&&d.push(Math.abs(a.g)+"S");return d.join("")}
Dg.prototype.clone=function(){return new Dg(this.j,this.h,this.a,this.c,this.b,this.g)};var Eg="y",Fg="m",Gg="d",Hg="h",Ig="n",Jg="s";Dg.prototype.m=function(a){return new Dg(this.j*a,this.h*a,this.a*a,this.c*a,this.b*a,this.g*a)};Dg.prototype.add=function(a){this.j+=a.j;this.h+=a.h;this.a+=a.a;this.c+=a.c;this.b+=a.b;this.g+=a.g};function Mg(a,b,c){y(a)?(this.a=Ng(a,b||0,c||1),Og(this,c||1)):B(a)?(this.a=Ng(a.getFullYear(),a.getMonth(),a.getDate()),Og(this,a.getDate())):(this.a=new Date(qa()),a=this.a.getDate(),this.a.setHours(0),this.a.setMinutes(0),this.a.setSeconds(0),this.a.setMilliseconds(0),Og(this,a))}function Ng(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}g=Mg.prototype;g.hn=Qe.Tu;g.jn=Qe.Uu;g.clone=function(){var a=new Mg(this.a);a.hn=this.hn;a.jn=this.jn;return a};g.getFullYear=function(){return this.a.getFullYear()};g.getMonth=function(){return this.a.getMonth()};g.getDate=function(){return this.a.getDate()};g.getTime=function(){return this.a.getTime()};g.getDay=function(){return this.a.getDay()};g.getUTCFullYear=function(){return this.a.getUTCFullYear()};g.getUTCMonth=function(){return this.a.getUTCMonth()};g.getUTCDate=function(){return this.a.getUTCDate()};g.rF=function(){return this.a.getDay()};g.getUTCHours=function(){return this.a.getUTCHours()};g.getUTCMinutes=function(){return this.a.getUTCMinutes()};g.getTimezoneOffset=function(){return this.a.getTimezoneOffset()};function Pg(a){a=a.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0<a?"-":"+")+Ff(c,2)+":"+Ff(b,2)}return a}g.set=function(a){this.a=new Date(a.getFullYear(),a.getMonth(),a.getDate())};g.setFullYear=function(a){this.a.setFullYear(a)};g.setMonth=function(a){this.a.setMonth(a)};g.setDate=function(a){this.a.setDate(a)};g.setTime=function(a){this.a.setTime(a)};g.oO=function(a){this.a.setUTCFullYear(a)};g.pO=function(a){this.a.setUTCMonth(a)};g.nO=function(a){this.a.setUTCDate(a)};g.add=function(a){if(a.j||a.h){var b=this.getMonth()+a.h+12*a.j,c=this.getFullYear()+Math.floor(b/12),b=b%12;0>b&&(b+=12);var d=Math.min(Cg(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.a&&(b=new Date(this.getFullYear(),this.getMonth(),this.getDate(),12),a=new Date(b.getTime()+864E5*a.a),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),Og(this,a.getDate()))};g.jt=function(a,b){return[this.getFullYear(),Ff(this.getMonth()+1,2),Ff(this.getDate(),2)].join(a?"-":"")+(b?Pg(this):"")};g.toString=function(){return this.jt()};function Og(a,b){if(a.getDate()!=b){var c=a.getDate()<b?1:-1;a.a.setUTCHours(a.a.getUTCHours()+c)}}g.valueOf=function(){return this.a.valueOf()};function Qg(a,b,c,d,e,f,h){this.a=y(a)?new Date(a,b||0,c||1,d||0,e||0,f||0,h||0):new Date(a?a.getTime():qa())}G(Qg,Mg);g=Qg.prototype;g.getHours=function(){return this.a.getHours()};g.getMinutes=function(){return this.a.getMinutes()};g.getSeconds=function(){return this.a.getSeconds()};g.rF=function(){return this.a.getUTCDay()};g.getUTCHours=function(){return this.a.getUTCHours()};g.getUTCMinutes=function(){return this.a.getUTCMinutes()};g.lO=function(){return this.a.getUTCSeconds()};g.setHours=function(a){this.a.setHours(a)};g.setMinutes=function(a){this.a.setMinutes(a)};g.setSeconds=function(a){this.a.setSeconds(a)};g.setMilliseconds=function(a){this.a.setMilliseconds(a)};g.oF=function(a){this.a.setUTCHours(a)};g.pF=function(a){this.a.setUTCMinutes(a)};g.qF=function(a){this.a.setUTCSeconds(a)};g.mO=function(a){this.a.setUTCMilliseconds(a)};g.add=function(a){Mg.prototype.add.call(this,a);a.c&&this.oF(this.a.getUTCHours()+a.c);a.b&&this.pF(this.a.getUTCMinutes()+a.b);a.g&&this.qF(this.a.getUTCSeconds()+a.g)};g.jt=function(a,b){var c=Mg.prototype.jt.call(this,a);return a?c+" "+Ff(this.getHours(),2)+":"+Ff(this.getMinutes(),2)+":"+Ff(this.getSeconds(),2)+(b?Pg(this):""):c+"T"+Ff(this.getHours(),2)+Ff(this.getMinutes(),2)+Ff(this.getSeconds(),2)+(b?Pg(this):"")};g.toString=function(){return this.jt()};g.clone=function(){var a=new Qg(this.a);a.hn=this.hn;a.jn=this.jn;return a};function Rg(a,b,c,d,e,f,h){a=y(a)?Date.UTC(a,b||0,c||1,d||0,e||0,f||0,h||0):a?a.getTime():qa();this.a=new Date(a)}G(Rg,Qg);g=Rg.prototype;g.clone=function(){var a=new Rg(this.a);a.hn=this.hn;a.jn=this.jn;return a};g.add=function(a){(a.j||a.h)&&Mg.prototype.add.call(this,new Dg(a.j,a.h));this.a=new Date(this.a.getTime()+1E3*(a.g+60*(a.b+60*(a.c+24*a.a))))};g.getTimezoneOffset=function(){return 0};g.getFullYear=Qg.prototype.getUTCFullYear;g.getMonth=Qg.prototype.getUTCMonth;g.getDate=Qg.prototype.getUTCDate;g.getHours=Qg.prototype.getUTCHours;g.getMinutes=Qg.prototype.getUTCMinutes;g.getSeconds=Qg.prototype.lO;g.getDay=Qg.prototype.rF;g.setFullYear=Qg.prototype.oO;g.setMonth=Qg.prototype.pO;g.setDate=Qg.prototype.nO;g.setHours=Qg.prototype.oF;g.setMinutes=Qg.prototype.pF;g.setSeconds=Qg.prototype.qF;g.setMilliseconds=Qg.prototype.mO;function Sg(a){if(a.classList)a.classList.add("anychart-ui-support");else{var b;a.classList?b=!a.classList.contains("anychart-ui-support"):(a.classList?b=a.classList:(b=a.className,b=u(b)&&b.match(/\S+/g)||[]),b=!Tf(b,"anychart-ui-support"));b&&(a.className+=0<a.className.length?" anychart-ui-support":"anychart-ui-support")}};function Tg(a){this.src=a;this.a={};this.c=0}Tg.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.a[f];a||(a=this.a[f]=[],this.c++);var h=Ug(a,b,d,e);-1<h?(b=a[h],c||(b.Bs=!1)):(b=new Oe(b,this.src,f,!!d,e),b.Bs=c,a.push(b));return b};Tg.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.a))return!1;var e=this.a[a];b=Ug(e,b,c,d);return-1<b?(Pe(e[b]),Wf(e,b),0==e.length&&(delete this.a[a],this.c--),!0):!1};function Vg(a,b){var c=b.type;if(!(c in a.a))return!1;var d=Vf(a.a[c],b);d&&(Pe(b),0==a.a[c].length&&(delete a.a[c],a.c--));return d}function Wg(a,b,c,d,e){a=a.a[b.toString()];b=-1;a&&(b=Ug(a,c,d,e));return-1<b?a[b]:null}function Xg(a,b,c){var d=m(b),e=d?b.toString():"",f=m(c);return af(a.a,function(a){for(var b=0;b<a.length;++b)if(!(d&&a[b].type!=e||f&&a[b].Ap!=c))return!0;return!1})}
function Ug(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Gn&&f.listener==b&&f.Ap==!!c&&f.ya==d)return e}return-1};function Yg(){}function Zg(a){if("number"==typeof a){var b=new Yg;b.c=a;var c;c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Ff(c,2));c=d.join("")}b.g=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=$g(a);b.h=[c,c];b.a={PR:a,DA:a};b.b=[];return b}b=new Yg;b.g=a.id;b.c=-a.std_offset;b.h=a.names;b.a=a.names_ext;b.b=a.transitions;return b}
function $g(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Ff(Math.floor(a/60)%100,2),":",Ff(a%60,2));return b.join("")}function ah(a,b){for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d<a.b.length&&c>=a.b[d];)d+=2;return 0==d?0:a.b[d-1]};function bh(a,b){this.c=[];this.a=b||Qe;"number"==typeof a?ch(this,a):dh(this,a)}var eh=[/^\'(?:[^\']|\'\')*\'/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function dh(a,b){for(fh&&(b=b.replace(/\u200f/g,""));b;)for(var c=0;c<eh.length;++c){var d=b.match(eh[c]);if(d){d=d[0];b=b.substring(d.length);0==c&&("''"==d?d="'":(d=d.substring(1,d.length-1),d=d.replace(/\'\'/,"'")));a.c.push({text:d,type:c});break}}}
function gh(a,b,c){if(!b)throw Error("The date to format must be non-null.");var d=c?6E4*(b.getTimezoneOffset()-(c.c-ah(c,b))):0,e=d?new Date(b.getTime()+d):b,f=e;c&&e.getTimezoneOffset()!=b.getTimezoneOffset()&&(e=new Date(e.getTime()+6E4*(e.getTimezoneOffset()-b.getTimezoneOffset())),f=new Date(b.getTime()+(d+(0<d?-864E5:864E5))));for(var d=[],h=0;h<a.c.length;++h){var k=a.c[h].text;1==a.c[h].type?d.push(hh(a,k,b,e,f,c)):d.push(k)}return d.join("")}
function ch(a,b){var c;if(4>b)c=a.a.bo[b];else if(8>b)c=a.a.jo[b-4];else if(12>b)c=a.a.Ru[b-8],c=c.replace("{1}",a.a.bo[b-8]),c=c.replace("{0}",a.a.jo[b-8]);else{ch(a,10);return}dh(a,c)}function ih(a,b){var c;c=String(b);var d=a.a||Qe;if(void 0!==d.cv){for(var e=[],f=0;f<c.length;f++){var h=c.charCodeAt(f);e.push(48<=h&&57>=h?String.fromCharCode(d.cv+h-48):c.charAt(f))}c=e.join("")}return c}var fh=!1;function jh(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");}
function hh(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case"G":return c=0<d.getFullYear()?1:0,4<=h?a.a.xA[c]:a.a.Su[c];case"y":return c=d.getFullYear(),0>c&&(c=-c),2==h&&(c%=100),ih(a,Ff(c,h));case"M":a:switch(c=d.getMonth(),h){case 5:h=a.a.yA[c];break a;case 4:h=a.a.Vu[c];break a;case 3:h=a.a.Xu[c];break a;default:h=ih(a,Ff(c+1,h))}return h;case"k":return jh(e),ih(a,Ff(e.getHours()||24,h));case"S":return ih(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3<h?Ff(0,h-3):""));case"E":return c=d.getDay(),4<=h?a.a.bv[c]:a.a.Zu[c];case"a":return jh(e),h=e.getHours(),a.a.Ou[12<=h&&24>h?1:0];case"h":return jh(e),ih(a,Ff(e.getHours()%12||12,h));case"K":return jh(e),ih(a,Ff(e.getHours()%12,h));case"H":return jh(e),ih(a,Ff(e.getHours(),h));case"c":a:switch(c=d.getDay(),h){case 5:h=a.a.AA[c];break a;case 4:h=a.a.CA[c];break a;case 3:h=a.a.BA[c];break a;default:h=ih(a,Ff(c,1))}return h;case"L":a:switch(c=d.getMonth(),h){case 5:h=a.a.zA[c];break a;case 4:h=a.a.$u[c];break a;case 3:h=a.a.av[c];break a;default:h=ih(a,Ff(c+1,h))}return h;case"Q":return c=Math.floor(d.getMonth()/3),4>h?a.a.Yu[c]:a.a.Wu[c];case"d":return ih(a,Ff(d.getDate(),h));case"m":return jh(e),ih(a,Ff(e.getMinutes(),h));case"s":return jh(e),ih(a,Ff(e.getSeconds(),h));case"v":return h=f||Zg(c.getTimezoneOffset()),h.g;case"V":return a=f||Zg(c.getTimezoneOffset()),2>=h?a.g:0<ah(a,c)?m(a.a.gH)?a.a.gH:a.a.DST_GENERIC_LOCATION:m(a.a.DA)?a.a.DA:a.a.STD_GENERIC_LOCATION;case"w":return c=e.getFullYear(),b=e.getMonth(),d=e.getDate(),e=a.a.Uu,c=new Date(c,b,d),e=m(e)?e:3,b=a.a.Tu||0,d=((c.getDay()+6)%7-b+7)%7,c=c.valueOf()+864E5*((e-b+7)%7-d),e=(new Date((new Date(c)).getFullYear(),0,1)).valueOf(),ih(a,Ff(Math.floor(Math.round((c-e)/864E5)/7)+1,h));case"z":return a=f||Zg(c.getTimezoneOffset()),4>h?a.h[0<ah(a,c)?2:0]:a.h[0<ah(a,c)?3:1];case"Z":return e=f||Zg(c.getTimezoneOffset()),4>h?(h=-(e.c-ah(e,c)),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Ff(Math.floor(h/60)%100,2),Ff(h%60,2)),h=a.join("")):h=ih(a,$g(e.c-ah(e,c))),h;default:return""}};function kh(a,b){this.a=[];this.c=b||Qe;if("number"==typeof a){var c=a,d;11<c&&(c=10);4>c?d=this.c.bo[c]:8>c?d=this.c.jo[c-4]:(d=this.c.Ru[c-8],d=d.replace("{1}",this.c.bo[c-8]),d=d.replace("{0}",this.c.jo[c-8]));lh(this,d)}else lh(this,a)}
function lh(a,b){for(var c=!1,d="",e=0;e<b.length;e++){var f=b.charAt(e);if(" "==f)for(0<d.length&&(a.a.push({text:d,count:0,Xl:!1}),d=""),a.a.push({text:" ",count:0,Xl:!1});e<b.length-1&&" "==b.charAt(e+1);)e++;else if(c)"'"==f?e+1<b.length&&"'"==b.charAt(e+1)?(d+="'",e++):c=!1:d+=f;else if(0<=mh.indexOf(f)){0<d.length&&(a.a.push({text:d,count:0,Xl:!1}),d="");var h;h=b.charAt(e);for(var k=e+1;k<b.length&&b.charAt(k)==h;)k++;h=k-e;a.a.push({text:f,count:h,Xl:!1});e+=h-1}else"'"==f?e+1<b.length&&"'"==b.charAt(e+1)?(d+="'",e++):c=!0:d+=f}0<d.length&&a.a.push({text:d,count:0,Xl:!1});c=!1;for(d=0;d<a.a.length;d++)nh(a.a[d])?!c&&d+1<a.a.length&&nh(a.a[d+1])&&(c=!0,a.a[d].Xl=!0):c=!1}var mh="GyMdkHmsSEDahKzZvQL";function nh(a){if(0>=a.count)return!1;var b="MydhHmsSDkK".indexOf(a.text.charAt(0));return 0<b||0==b&&3>a.count}function oh(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)}
function ph(a,b,c,d,e,f){oh(b,c);var h=c[0],k=d.text.charAt(0),l=-1;if(nh(d))if(0<e){if(h+e>b.length)return!1;l=qh(a,b.substring(0,h+e),c)}else l=qh(a,b,c);switch(k){case"G":return l=rh(b,c,a.c.Su),0<=l&&(f.era=l),!0;case"M":case"L":a:{d=l;if(0>d){a=a.c.Vu.concat(a.c.$u).concat(a.c.Xu).concat(a.c.av);d=rh(b,c,a);if(0>d){f=!1;break a}f.month=d%12}else f.month=d-1;f=!0}return f;case"E":return d=rh(b,c,a.c.bv),0>d&&(d=rh(b,c,a.c.Zu)),0>d?f=!1:(f.c=d,f=!0),f;case"a":return l=rh(b,c,a.c.Ou),0<=l&&(f.g=l),!0;case"y":a:{var n;if(0>l){n=b.charAt(c[0]);if("+"!=n&&"-"!=n){f=!1;break a}c[0]++;l=qh(a,b,c);if(0>l){f=!1;break a}"-"==n&&(l=-l)}n||2!=c[0]-h||2!=d.count?f.year=l:(b=l,c=(new Date).getFullYear()-80,a=c%100,f.N=b==a,b+=100*Math.floor(c/100)+(b<a?100:0),f.year=b);f=!0}return f;case"Q":return 0>l?(d=rh(b,c,a.c.Wu),0>d&&(d=rh(b,c,a.c.Yu)),0>d?f=!1:(f.month=3*d,f.day=1,f=!0)):f=!1,f;case"d":return 0<=l&&(f.day=l),!0;case"S":return b=c[0]-h,f.m=3>b?l*Math.pow(10,3-b):Math.round(l/Math.pow(10,b-3)),!0;case"h":12==l&&(l=0);case"K":case"H":case"k":return 0<=l&&(f.a=l),!0;case"m":return 0<=l&&(f.h=l),!0;case"s":return 0<=l&&(f.j=l),!0;case"z":case"Z":case"v":b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);a:if(c[0]>=b.length)f.b=0,f=!0;else{d=1;switch(b.charAt(c[0])){case"-":d=-1;case"+":c[0]++}h=c[0];l=qh(a,b,c);if(0>l)f=!1;else{if(c[0]<b.length&&":"==b.charAt(c[0])){n=60*l;c[0]++;l=qh(a,b,c);if(0>l){f=!1;break a}n+=l}else n=l,n=24>n&&2>=c[0]-h?60*n:n%100+n/100*60;f.b=-(n*d);f=!0}}return f;default:return!1}}function qh(a,b,c){if(a.c.cv){for(var d=[],e=c[0];e<b.length;e++){var f=b.charCodeAt(e)-a.c.cv;d.push(0<=f&&9>=f?String.fromCharCode(f+48):b.charAt(e))}b=d.join("")}else b=b.substring(c[0]);a=b.match(/^\d+/);if(!a)return-1;c[0]+=a[0].length;return parseInt(a[0],10)}function rh(a,b,c){var d=0,e=-1;a=a.substring(b[0]).toLowerCase();for(var f=0;f<c.length;f++){var h=c[f].length;h>d&&0==a.indexOf(c[f].toLowerCase())&&(e=f,d=h)}0<=e&&(b[0]+=d);return e}function sh(){};function th(a){if(aa.JSON)try{return aa.JSON.stringify(a)}catch(b){}return Se(a)}function uh(a){if(aa.JSON)try{var b=aa.JSON.parse(a);return b}catch(c){}return b=Re(a)};var vh;a:{var wh=aa.navigator;if(wh){var xh=wh.userAgent;if(xh){vh=xh;break a}}vh=""}function yh(a){return-1!=vh.indexOf(a)};function ub(a,b,c){return Math.min(Math.max(a,b),c)}function zh(a,b){var c=a%b;return 0>c*b?c+b:c}function Ah(a){return zh(a,360)}function Bh(a){return a*Math.PI/180}function Ch(a){return 180*a/Math.PI}function Dh(a,b){return b*Math.cos(Bh(a))}function Eh(a,b){return b*Math.sin(Bh(a))};function Gh(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(Hh.test(c))return b.ef=Ih(c),b.type="hex",b;a:{var d=a.match(Jh);if(d){var c=Number(d[1]),e=Number(d[2]),d=Number(d[3]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}if(c.length)return b.ef=Kh(c),b.type="rgb",b;if(wd&&(c=wd[a.toLowerCase()]))return b.ef=c,b.type="named",b;throw Error(a+" is not a valid color string");}var Mh=/#(.)(.)(.)/;function Ih(a){if(!Hh.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Mh,"#$1$1$2$2$3$3"));return a.toLowerCase()}function Nh(a){a=Ih(a);return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]}
function Oh(a,b,c){a=Number(a);b=Number(b);c=Number(c);if(isNaN(a)||0>a||255<a||isNaN(b)||0>b||255<b||isNaN(c)||0>c||255<c)throw Error('"('+a+","+b+","+c+'") is not a valid RGB color');a=Ph(a.toString(16));b=Ph(b.toString(16));c=Ph(c.toString(16));return"#"+a+b+c}function Kh(a){return Oh(a[0],a[1],a[2])}function Qh(a,b,c){0>c?c+=1:1<c&&--c;return 1>6*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a}var Hh=/^#(?:[0-9a-f]{3}){1,2}$/i,Jh=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function Ph(a){return 1==a.length?"0"+a:a}function Rh(a,b,c){c=ub(c,0,1);return[Math.round(c*a[0]+(1-c)*b[0]),Math.round(c*a[1]+(1-c)*b[1]),Math.round(c*a[2]+(1-c)*b[2])]}function Sh(a,b){return Rh([0,0,0],a,b)};function Th(a,b,c,d,e,f){if(6==arguments.length)this.setTransform(a,b,c,d,e,f);else{if(0!=arguments.length)throw Error("Insufficient matrix parameters");this.a=this.g=1;this.c=this.b=this.h=this.j=0}}function Uh(a){return 1==a.a&&0==a.c&&0==a.b&&1==a.g&&0==a.h&&0==a.j}g=Th.prototype;g.clone=function(){return new Th(this.a,this.c,this.b,this.g,this.h,this.j)};g.setTransform=function(a,b,c,d,e,f){if(!(y(a)&&y(b)&&y(c)&&y(d)&&y(e)&&y(f)))throw Error("Invalid transform parameters");this.a=a;this.c=b;this.b=c;this.g=d;this.h=e;this.j=f;return this};g.scale=function(a,b){this.a*=a;this.c*=a;this.b*=b;this.g*=b;return this};function Vh(a,b,c){a.h+=b*a.a+c*a.b;a.j+=b*a.c+c*a.g;return a}function Wh(a,b,c){var d=a.a,e=a.c;a.a+=c*a.b;a.c+=c*a.g;a.b+=b*d;a.g+=b*e}g.toString=function(){return"matrix("+[this.a,this.c,this.b,this.g,this.h,this.j].join()+")"};function Xh(a,b){var c=a.a,d=a.b;a.a=b.a*c+b.c*d;a.b=b.b*c+b.g*d;a.h+=b.h*c+b.j*d;c=a.c;d=a.g;a.c=b.a*c+b.c*d;a.g=b.b*c+b.g*d;a.j+=b.h*c+b.j*d}g.transform=function(a,b,c,d,e){var f=b;for(b+=2*e;f<b;){e=a[f++];var h=a[f++];c[d++]=e*this.a+h*this.b+this.h;c[d++]=e*this.c+h*this.g+this.j}};function Yh(a){var b=a.a*a.g-a.b*a.c;return new Th(a.g/b,-a.c/b,-a.b/b,a.a/b,(a.b*a.j-a.g*a.h)/b,(a.c*a.h-a.a*a.j)/b)}
function Zh(a,b,c){var d=new Th,e=Math.cos(a);a=Math.sin(a);return d.setTransform(e,a,-a,e,b-b*e+c*a,c-b*a-c*e)};function $h(a,b){this.x=m(a)?a:0;this.y=m(b)?b:0}g=$h.prototype;g.clone=function(){return new $h(this.x,this.y)};function ai(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.scale=function(a,b){var c=y(b)?b:a;this.x*=a;this.y*=c;return this};function bi(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}g=bi.prototype;g.ng=function(){return this.right-this.left};g.Wg=function(){return this.bottom-this.top};g.clone=function(){return new bi(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof bi?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};g.scale=function(a,b){var c=y(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function ci(a,b,c,d){this.a=a;this.b=b;this.c=c;this.g=d}ci.prototype.clone=function(){return new ci(this.a,this.b,this.c,this.g)};function M(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}g=M.prototype;g.clone=function(){return new M(this.left,this.top,this.width,this.height)};function di(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1}function ei(a,b){var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top}
g.contains=function(a){return a instanceof M?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};g.Vc=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};g.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};g.scale=function(a,b){var c=y(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};function fi(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");return d.replace(/%([0\-\ \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(a,b,d,k,l,n,p,q){if("%"==n)return"%";var t=c.shift();if("undefined"==typeof t)throw Error("[goog.string.format] Not enough arguments");arguments[0]=t;return gi[n].apply(null,arguments)})}
var gi={s:function(a,b,c){return isNaN(c)||""==c||a.length>=c?a:a=-1<b.indexOf("-",0)?a+Ef(" ",c-a.length):Ef(" ",c-a.length)+a},f:function(a,b,c,d,e){d=a.toString();isNaN(e)||""==e||(d=parseFloat(a).toFixed(e));var f;f=0>a?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=a&&(d=f+d);if(isNaN(c)||d.length>=c)return d;d=isNaN(e)?Math.abs(a).toString():Math.abs(a).toFixed(e);a=c-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+Ef(" ",a):f+Ef(0<=b.indexOf("0",0)?"0":" ",a)+d},d:function(a,b,c,d,e,f,h,k){return gi.f(parseInt(a,10),b,c,d,0,f,h,k)}};gi.i=gi.d;gi.u=gi.d;var hi=yh("Opera")||yh("OPR"),ii=yh("Trident")||yh("MSIE"),ji=yh("Edge"),ki=yh("Gecko")&&!(-1!=vh.toLowerCase().indexOf("webkit")&&!yh("Edge"))&&!(yh("Trident")||yh("MSIE"))&&!yh("Edge"),li=-1!=vh.toLowerCase().indexOf("webkit")&&!yh("Edge"),mi=yh("Macintosh"),ni=yh("Windows"),oi=yh("Linux")||yh("CrOS"),pi,qi=aa.navigator||null;pi=!!qi&&-1!=(qi.appVersion||"").indexOf("X11");var ri=yh("Android"),si=yh("iPhone")&&!yh("iPod")&&!yh("iPad"),ti=yh("iPad");function ui(){var a=vh;if(ki)return/rv\:([^\);]+)(\)|;)/.exec(a);if(ji)return/Edge\/([\d\.]+)/.exec(a);if(ii)return/\b(?:MSIE|rv)[:]([^\);]+)(\)|;)/.exec(a);if(li)return/WebKit\/(\S+)/.exec(a)}function vi(){var a=aa.document;return a?a.documentMode:void 0}var wi=function(){if(hi&&aa.opera){var a;var b=aa.opera.version;try{a=b()}catch(c){a=b}return a}a="";(b=ui())&&(a=b?b[1]:"");return ii&&(b=vi(),b>parseFloat(a))?String(b):a}(),xi={};function yi(a){var b;if(!(b=xi[a])){b=0;for(var c=qf(String(wi)).split("."),d=qf(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var h=c[f]||"",k=d[f]||"",l=RegExp("(\\d*)(\\D*)","g"),n=RegExp("(\\d*)(\\D*)","g");do{var p=l.exec(h)||["","",""],q=n.exec(k)||["","",""];if(0==p[0].length&&0==q[0].length)break;b=Gf(0==p[1].length?0:parseInt(p[1],10),0==q[1].length?0:parseInt(q[1],10))||Gf(0==p[2].length,0==q[2].length)||Gf(p[2],q[2])}while(0==b)}b=xi[a]=0<=b}return b}
var zi=aa.document,Ai=zi&&ii?vi()||("CSS1Compat"==zi.compatMode?parseInt(wi,10):5):void 0;var Bi=vh,Ci=!(li&&-1==Bi.indexOf("PhantomJS")&&yi("534")&&!yi("536"));var Di=!ii||9<=Ai;!ki&&!ii||ii&&9<=Ai||ki&&yi("1.9.1");ii&&yi("9");var Ei=ii||hi||li;function Fi(a){return a?new Gi(Hi(a)):Je||(Je=new Gi)}function Ii(a){return Ji(a)}function Ji(a){var b=document;return u(a)?b.getElementById(a):a}function Ki(a,b){var c=document,c=b||c,d=a&&"*"!=a?a.toUpperCase():"";return c.querySelectorAll&&c.querySelector&&d?c.querySelectorAll(d+""):c.getElementsByTagName(d||"*")}
function Li(a,b){Ze(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Mi.hasOwnProperty(d)?a.setAttribute(Mi[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}var Mi={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function Ni(a){a=a.document;a=Oi(a)?a.documentElement:a.body;return new Ye(a.clientWidth,a.clientHeight)}function Pi(a){return a?a.parentWindow||a.defaultView:window}function Qi(a,b,c){return Ri(document,arguments)}
function Ri(a,b){var c=b[0],d=b[1];if(!Di&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',rf(d.name),'"');if(d.type){c.push(' type="',rf(d.type),'"');var e={};mf(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(u(d)?c.className=d:r(d)?c.className=d.join(" "):Li(c,d));2<b.length&&Si(a,c,b,2);return c}function Si(a,b,c,d){function e(c){c&&b.appendChild(u(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];!ha(f)||B(f)&&0<f.nodeType?e(f):Mf(Ti(f)?Zf(f):f,e)}}
function Oi(a){return"CSS1Compat"==a.compatMode}function Ui(a,b){a.appendChild(b)}function Vi(a,b){Si(Hi(a),a,arguments,1)}function Wi(a){for(var b;b=a.firstChild;)a.removeChild(b)}function Xi(a,b){a.insertBefore(b,a.childNodes[0]||null)}function Yi(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function $i(a){return B(a)&&1==a.nodeType}
function aj(a){var b;if(Ei&&!(ii&&yi("9")&&!yi("10")&&aa.SVGElement&&a instanceof aa.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return $i(b)?b:null}function Hi(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function bj(a){if("outerHTML"in a)return a.outerHTML;var b=Hi(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML}
function Ti(a){if(a&&"number"==typeof a.length){if(B(a))return"function"==typeof a.item||"string"==typeof a.item;if(A(a))return"function"==typeof a.item}return!1}function Gi(a){this.c=a||aa.document||document}Gi.prototype.a=function(a,b,c){return Ri(this.c,arguments)};function cj(a){var b=a.c;a=b.scrollingElement?b.scrollingElement:!li&&Oi(b)?b.documentElement:b.body||b.documentElement;b=b.parentWindow||b.defaultView;return ii&&yi("10")&&b.pageYOffset!=a.scrollTop?new $h(a.scrollLeft,a.scrollTop):new $h(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)}Gi.prototype.appendChild=Ui;Gi.prototype.contains=function(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};function dj(){for(var a=document.styleSheets,b=[],c=ej(a),d=0;a=c[d];d++){var e=fj(a);if(e&&e.length)for(var f=0,h=0,k=e.length,l;h<k;h++)l=e[h],l.href||(l.style&&(l.parentStyleSheet||(l.style["-closure-parent-stylesheet"]=a),l.style["-closure-rule-index"]=f),b.push(l)),f++}return b}function fj(a){var b=null;try{b=a.cssRules||a.rules}catch(c){if(15==c.code)throw c.styleSheet=a,c;}return b}
function ej(a){var b=[];a=a||document.styleSheets;var c=m(void 0)?void 0:!1;if(a.imports&&a.imports.length)for(var d=0,e=a.imports.length;d<e;d++)$f(b,ej(a.imports[d]));else if(a.length)for(d=0,e=a.length;d<e;d++)$f(b,ej(a[d]));else{var f=fj(a);if(f&&f.length)for(var d=0,e=f.length,h;d<e;d++)h=f[d],h.styleSheet&&$f(b,ej(h.styleSheet))}!(a.type||a.rules||a.cssRules)||a.disabled&&!c||b.push(a);return b};function gj(){if(!ii)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}var hj=ii&&gj();function ij(){var a=new ActiveXObject("MSXML2.DOMDocument");if(a){a.resolveExternals=!1;a.validateOnParse=!1;try{a.setProperty("ProhibitDTD",!0),a.setProperty("MaxXMLSize",2048),a.setProperty("MaxElementDepth",256)}catch(b){}}return a};var jj=!ii||9<=Ai,kj=!ii||9<=Ai,mj=ii&&!yi("9");!li||yi("528");ki&&yi("1.9b")||ii&&yi("8")||hi&&yi("9.5")||li&&yi("528");ki&&!yi("8")||ii&&yi("9");function nj(a,b){Ke.call(this,a?a.type:"");this.h=this.a=this.target=null;this.b=this.keyCode=this.m=this.j=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.w=!1;this.c=null;a&&oj(this,a,b)}G(nj,Ke);var pj=[1,4,2];function oj(a,b,c){var d=a.type=b.type,e=b.changedTouches?b.changedTouches[0]:null;a.target=b.target||b.srcElement;a.a=c;if(c=b.relatedTarget){if(ki){var f;a:{try{nf(c.nodeName);f=!0;break a}catch(h){}f=!1}f||(c=null)}}else"mouseover"==d?c=b.fromElement:"mouseout"==d&&(c=b.toElement);a.h=c;null===e?(a.offsetX=li||void 0!==b.offsetX?b.offsetX:b.layerX,a.offsetY=li||void 0!==b.offsetY?b.offsetY:b.layerY,a.clientX=void 0!==b.clientX?b.clientX:b.pageX,a.clientY=void 0!==b.clientY?b.clientY:b.pageY,a.j=b.screenX||0,a.m=b.screenY||0):(a.clientX=void 0!==e.clientX?e.clientX:e.pageX,a.clientY=void 0!==e.clientY?e.clientY:e.pageY,a.j=e.screenX||0,a.m=e.screenY||0);a.keyCode=b.keyCode||0;a.b=b.charCode||("keypress"==d?b.keyCode:0);a.ctrlKey=b.ctrlKey;a.altKey=b.altKey;a.shiftKey=b.shiftKey;a.metaKey=b.metaKey;a.w=mi?b.metaKey:b.ctrlKey;a.state=b.state;a.c=b;b.defaultPrevented&&a.preventDefault()}function qj(a,b){return jj?a.c.button==b:"click"==a.type?0==b:!!(a.c.button&pj[b])}
function rj(a){return qj(a,0)&&!(li&&mi&&a.ctrlKey)}nj.prototype.stopPropagation=function(){nj.v.stopPropagation.call(this);this.c.stopPropagation?this.c.stopPropagation():this.c.cancelBubble=!0};nj.prototype.preventDefault=function(){nj.v.preventDefault.call(this);var a=this.c;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,mj)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var sj="closure_lm_"+(1E6*Math.random()|0),tj={},uj=0;function vj(a,b,c,d,e){if(r(b)){for(var f=0;f<b.length;f++)vj(a,b[f],c,d,e);return null}c=wj(c);return Me(a)?a.pa(b,c,d,e):xj(a,b,c,!1,d,e)}
function xj(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=!!e,k=yj(a);k||(a[sj]=k=new Tg(a));c=k.add(b,c,d,e,f);if(c.a)return c;d=zj();c.a=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,h);else if(a.attachEvent)a.attachEvent(Aj(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");uj++;return c}
function zj(){var a=Bj,b=kj?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b}function Cj(a,b,c,d,e){if(r(b)){for(var f=0;f<b.length;f++)Cj(a,b[f],c,d,e);return null}c=wj(c);return Me(a)?a.qf(b,c,d,e):xj(a,b,c,!0,d,e)}function Dj(a,b,c,d,e){if(r(b)){for(var f=0;f<b.length;f++)Dj(a,b[f],c,d,e);return null}c=wj(c);if(Me(a))return a.Ec(b,c,d,e);if(!a)return!1;if(a=yj(a))if(b=Wg(a,b,c,!!d,e))return Ej(b);return!1}
function Ej(a){if(y(a)||!a||a.Gn)return!1;var b=a.src;if(Me(b))return b.Tl(a);var c=a.type,d=a.a;b.removeEventListener?b.removeEventListener(c,d,a.Ap):b.detachEvent&&b.detachEvent(Aj(c),d);uj--;(c=yj(b))?(Vg(c,a),0==c.c&&(c.src=null,b[sj]=null)):Pe(a);return!0}function Fj(a,b){var c=Gj;if(Me(a))return Xg(a.Ti,m(c)?String(c):void 0,b);var d=yj(a);return!!d&&Xg(d,c,b)}function Aj(a){return a in tj?tj[a]:tj[a]="on"+a}
function Hj(a,b,c,d){var e=!0;if(a=yj(a))if(b=a.a[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.Ap==c&&!f.Gn&&(f=Ij(f,d),e=e&&!1!==f)}return e}function Ij(a,b){var c=a.listener,d=a.ya||a.src;a.Bs&&Ej(a);return c.call(d,b)}
function Bj(a,b){if(a.Gn)return!0;if(!kj){var c;if(!(c=b))a:{c=["window","event"];for(var d=aa,e;e=c.shift();)if(null!=d[e])d=d[e];else{c=null;break a}c=d}e=c;c=new nj(e,this);d=!0;if(!(0>e.keyCode||void 0!=e.returnValue)){a:{var f=!1;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==e.returnValue)e.returnValue=!0}e=[];for(f=c.a;f;f=f.parentNode)e.push(f);for(var f=a.type,h=e.length-1;!c.g&&0<=h;h--){c.a=e[h];var k=Hj(e[h],f,!0,c),d=d&&k}for(h=0;!c.g&&h<e.length;h++)c.a=e[h],k=Hj(e[h],f,!1,c),d=d&&k}return d}return Ij(a,new nj(b,this))}function yj(a){a=a[sj];return a instanceof Tg?a:null}var Jj="__closure_events_fn_"+(1E9*Math.random()>>>0);function wj(a){if(A(a))return a;a[Jj]||(a[Jj]=function(b){return a.handleEvent(b)});return a[Jj]};function Kj(a){xd.call(this);this.c=a;this.a={}}G(Kj,xd);var Lj=[];Kj.prototype.pa=function(a,b,c,d){r(b)||(b&&(Lj[0]=b.toString()),b=Lj);for(var e=0;e<b.length;e++){var f=vj(a,b[e],c||this.handleEvent,d||!1,this.c||this);if(!f)break;this.a[f.key]=f}return this};function Mj(a,b,c,d,e,f){if(r(c))for(var h=0;h<c.length;h++)Mj(a,b,c[h],d,e,f);else(b=Cj(b,c,d||a.handleEvent,e,f||a.c||a))&&(a.a[b.key]=b)}
Kj.prototype.Ec=function(a,b,c,d,e){if(r(b))for(var f=0;f<b.length;f++)this.Ec(a,b[f],c,d,e);else c=c||this.handleEvent,e=e||this.c||this,c=wj(c),d=!!d,b=Me(a)?Wg(a.Ti,String(b),c,d,e):a?(a=yj(a))?Wg(a,b,c,d,e):null:null,b&&(Ej(b),delete this.a[b.key]);return this};function Nj(a){Ze(a.a,function(a,c){this.a.hasOwnProperty(c)&&Ej(a)},a);a.a={}}Kj.prototype.V=function(){Kj.v.V.call(this);Nj(this)};Kj.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Oj(){xd.call(this);this.Ti=new Tg(this);this.hH=this;this.vh=null}G(Oj,xd);Oj.prototype[Le]=!0;g=Oj.prototype;g.La=function(a){this.vh=a};g.addEventListener=function(a,b,c,d){vj(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){Dj(this,a,b,c,d)};g.dispatchEvent=function(a){var b,c=this.vh;if(c)for(b=[];c;c=c.vh)b.push(c);var c=this.hH,d=a.type||a;if(u(a))a=new Ke(a,c);else if(a instanceof Ke)a.target=a.target||c;else{var e=a;a=new Ke(d,c);mf(a,e)}var e=!0,f;if(b)for(var h=b.length-1;!a.g&&0<=h;h--)f=a.a=b[h],e=Pj(f,d,!0,a)&&e;a.g||(f=a.a=c,e=Pj(f,d,!0,a)&&e,a.g||(e=Pj(f,d,!1,a)&&e));if(b)for(h=0;!a.g&&h<b.length;h++)f=a.a=b[h],e=Pj(f,d,!1,a)&&e;return e};g.V=function(){Oj.v.V.call(this);this.Hg();this.vh=null};g.pa=function(a,b,c,d){return this.Ti.add(String(a),b,!1,c,d)};g.qf=function(a,b,c,d){return this.Ti.add(String(a),b,!0,c,d)};g.Ec=function(a,b,c,d){return this.Ti.remove(String(a),b,c,d)};g.Tl=function(a){return Vg(this.Ti,a)};g.Hg=function(a){var b;if(this.Ti){b=this.Ti;a=a&&a.toString();var c=0,d;for(d in b.a)if(!a||d==a){for(var e=b.a[d],f=0;f<e.length;f++)++c,Pe(e[f]);delete b.a[d];b.c--}b=c}else b=0;return b};function Pj(a,b,c,d){b=a.Ti.a[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.Gn&&h.Ap==c){var k=h.listener,l=h.ya||h.src;h.Bs&&a.Tl(h);e=!1!==k.call(l,d)&&e}}return e&&0!=d.iG};function Qj(a){Oj.call(this);this.c=a||window;this.b=vj(this.c,"resize",this.g,!1,this);this.a=Ni(this.c||window)}G(Qj,Oj);function Rj(a){return a.a?a.a.clone():null}Qj.prototype.V=function(){Qj.v.V.call(this);this.b&&(Ej(this.b),this.b=null);this.a=this.c=null};Qj.prototype.g=function(){var a=Ni(this.c||window),b=this.a;a==b||a&&b&&a.width==b.width&&a.height==b.height||(this.a=a,this.dispatchEvent("resize"))};function Sj(a,b,c,d,e){if(!(ii||ji||li&&yi("525")))return!0;if(mi&&e)return Tj(a);if(e&&!d)return!1;y(b)&&(b=Uj(b));if(!c&&(17==b||18==b||mi&&91==b))return!1;if((li||ji)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(ii&&d&&b==a)return!1;switch(a){case 13:return!0;case 27:return!(li||ji)}return Tj(a)}
function Tj(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(li||ji)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function Uj(a){if(ki)a=Vj(a);else if(mi&&li)a:switch(a){case 93:a=91;break a}return a}
function Vj(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function Wj(a,b){Oj.call(this);a&&(this.yt&&Xj(this),this.Wp=a,this.xt=vj(this.Wp,"keypress",this,b),this.az=vj(this.Wp,"keydown",this.yO,b,this),this.yt=vj(this.Wp,"keyup",this.zO,b,this))}G(Wj,Oj);g=Wj.prototype;g.Wp=null;g.xt=null;g.az=null;g.yt=null;g.Wh=-1;g.wl=-1;g.mv=!1;var Yj={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Zj={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},dk=ii||ji||li&&yi("525"),ek=mi&&ki;g=Wj.prototype;g.yO=function(a){(li||ji)&&(17==this.Wh&&!a.ctrlKey||18==this.Wh&&!a.altKey||mi&&91==this.Wh&&!a.metaKey)&&this.bu();-1==this.Wh&&(a.ctrlKey&&17!=a.keyCode?this.Wh=17:a.altKey&&18!=a.keyCode?this.Wh=18:a.metaKey&&91!=a.keyCode&&(this.Wh=91));dk&&!Sj(a.keyCode,this.Wh,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):(this.wl=Uj(a.keyCode),ek&&(this.mv=a.altKey))};g.bu=function(){this.wl=this.Wh=-1};g.zO=function(a){this.bu();this.mv=a.altKey};g.handleEvent=function(a){var b=a.c,c,d,e=b.altKey;ii&&"keypress"==a.type?(c=this.wl,d=13!=c&&27!=c?b.keyCode:0):(li||ji)&&"keypress"==a.type?(c=this.wl,d=0<=b.charCode&&63232>b.charCode&&Tj(c)?b.charCode:0):hi&&!li?(c=this.wl,d=Tj(c)?b.keyCode:0):(c=b.keyCode||this.wl,d=b.charCode||0,ek&&(e=this.mv),mi&&63==d&&224==c&&(c=191));var f=c=Uj(c),h=b.keyIdentifier;c?63232<=c&&c in Yj?f=Yj[c]:25==c&&a.shiftKey&&(f=9):h&&h in Zj&&(f=Zj[h]);this.Wh=f;a=new fk(f,d,0,b);a.altKey=e;this.dispatchEvent(a)};function Xj(a){a.xt&&(Ej(a.xt),Ej(a.az),Ej(a.yt),a.xt=null,a.az=null,a.yt=null);a.Wp=null;a.Wh=-1;a.wl=-1}g.V=function(){Wj.v.V.call(this);Xj(this)};function fk(a,b,c,d){nj.call(this,d);this.type="key";this.keyCode=a;this.b=b}G(fk,nj);function gk(){Oj.call(this);this.df=hk;this.m=this.h=null}G(gk,Oj);var hk=0;gk.prototype.j=function(){this.Sg("end")};gk.prototype.N=function(){this.Sg("play")};gk.prototype.Sg=function(a){this.dispatchEvent(a)};function ik(){gk.call(this);this.a=[]}G(ik,gk);ik.prototype.add=function(a){Tf(this.a,a)||(this.a.push(a),vj(a,"finish",this.b,!1,this))};ik.prototype.remove=function(a){Vf(this.a,a)&&Dj(a,"finish",this.b,!1,this)};ik.prototype.V=function(){Mf(this.a,function(a){a.Sd()});this.a.length=0;ik.v.V.call(this)};function jk(){ik.call(this);this.c=0}G(jk,ik);jk.prototype.Jy=function(a){if(0==this.a.length)return!1;if(a||this.df==hk)this.c=0,this.Sg("begin");else if(1==this.df)return!1;this.N();-1==this.df&&this.Sg("resume");var b=-1==this.df&&!a;this.h=qa();this.m=null;this.df=1;Mf(this.a,function(c){b&&-1!=c.df||c.Jy(a)});return!0};jk.prototype.stop=function(a){Mf(this.a,function(b){b.df==hk||b.stop(a)});this.df=hk;this.m=qa();this.Sg("stop");this.j()};jk.prototype.b=function(){this.c++;this.c==this.a.length&&(this.m=qa(),this.df=hk,this.Sg("finish"),this.j())};function kk(){jk.call(this)}G(kk,jk);kk.prototype.update=function(){for(var a=qa(),b=0;b<this.a.length;b++){var c=this.a[b];c.update();lk(c,a)}};function mk(a){Oj.call(this);this.c={};this.a={};this.b=new Kj(this);this.g=a}G(mk,Oj);var nk=[ii&&!yi("11")?"readystatechange":"load","abort","error"];function ok(a,b,c){(c=u(c)?c:c.src)&&(a.c[b]={src:c,WD:m(void 0)?void 0:null})}function pk(a,b){delete a.c[b];var c=a.a[b];c&&(delete a.a[b],a.b.Ec(c,nk,a.h),ff(a.a)&&ff(a.c)&&a.dispatchEvent("complete"))}
mk.prototype.start=function(){var a=this.c;Mf(cf(a),function(b){var c=a[b];if(c&&(delete a[b],!this.wc)){var d;this.g?d=Fi(this.g).a("IMG"):d=new Image;c.WD&&(d.crossOrigin=c.WD);this.b.pa(d,nk,this.h);this.a[b]=d;d.id=b;d.src=c.src}},this)};mk.prototype.h=function(a){var b=a.a;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.wc||pk(this,b.id)}};mk.prototype.V=function(){delete this.c;delete this.a;Ad(this.b);mk.v.V.call(this)};function qk(a,b,c){if(u(b))(b=rk(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=rk(c,d);f&&(c.style[f]=e)}}var sk={};function rk(a,b){var c=sk[b];if(!c){var d=Hf(b),c=d;void 0===a.style[d]&&(d=(li?"Webkit":ki?"Moz":ii?"ms":hi?"O":null)+If(d),void 0!==a.style[d]&&(c=d));sk[b]=c}return c}function tk(a,b){var c=a.style[Hf(b)];return"undefined"!==typeof c?c:a.style[rk(a,b)]||""}
function uk(a,b){var c=Hi(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}function vk(a,b){return uk(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}
function wk(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}ii&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}function xk(a){if(1==a.nodeType)return a=wk(a),new $h(a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return new $h(a.clientX,a.clientY)}
function yk(a,b,c){if(b instanceof Ye)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=zk(b,!0);a.style.height=zk(c,!0)}function zk(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Ak(a){var b=a.offsetWidth,c=a.offsetHeight,d=li&&!b&&!c;return m(b)&&!d||!a.getBoundingClientRect?new Ye(b,c):(a=wk(a),new Ye(a.right-a.left,a.bottom-a.top))}
function Bk(a){var b=Hi(a),c=new $h(0,0),d;d=b?Hi(b):document;var e;(e=!ii||9<=Ai)||(e=Fi(d),e=Oi(e.c));a!=(e?d.documentElement:d.body)&&(d=wk(a),b=cj(Fi(b)),c.x=d.left+b.x,c.y=d.top+b.y);if("none"!=vk(a,"display"))a=Ak(a);else{b=a.style;d=b.display;e=b.visibility;var f=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";a=Ak(a);b.display=d;b.position=f;b.visibility=e}return new M(c.x,c.y,a.width,a.height)}var Ck=ki?"MozUserSelect":li||ji?"WebkitUserSelect":null;function Dk(a){return new Ye(a.offsetWidth,a.offsetHeight)}
function Ek(a){var b=Hi(a),c=ii&&a.currentStyle,d;if(d=c)b=Fi(b),d=Oi(b.c);if(d&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Fk(a,c.width,"width","pixelWidth"),a=Fk(a,c.height,"height","pixelHeight"),new Ye(b,a);c=Dk(a);if(ii){b=Gk(a,"paddingLeft");d=Gk(a,"paddingRight");var e=Gk(a,"paddingTop"),f=Gk(a,"paddingBottom"),b=new bi(e,d,f,b)}else b=uk(a,"paddingLeft"),d=uk(a,"paddingRight"),e=uk(a,"paddingTop"),f=uk(a,"paddingBottom"),b=new bi(parseFloat(e),parseFloat(d),parseFloat(f),parseFloat(b));!ii||9<=Ai?(d=uk(a,"borderLeftWidth"),e=uk(a,"borderRightWidth"),f=uk(a,"borderTopWidth"),a=uk(a,"borderBottomWidth"),a=new bi(parseFloat(f),parseFloat(e),parseFloat(a),parseFloat(d))):(d=Hk(a,"borderLeft"),e=Hk(a,"borderRight"),f=Hk(a,"borderTop"),a=Hk(a,"borderBottom"),a=new bi(f,e,a,d));return new Ye(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)}
function Fk(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return b}function Gk(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?Fk(a,c,"left","pixelLeft"):0}var Ik={thin:2,medium:4,thick:6};function Hk(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in Ik?Ik[c]:Fk(a,c,"left","pixelLeft")}var Jk=/[^\d]+$/,Kk={cm:1,"in":1,mm:1,pc:1,pt:1},Lk={em:1,ex:1};function Mk(a,b){Oj.call(this);this.a=a;var c=$i(this.a)?this.a:this.a?this.a.body:null;this.h=!!c&&"rtl"==vk(c,"direction");this.c=vj(this.a,ki?"DOMMouseScroll":"mousewheel",this,b)}G(Mk,Oj);Mk.prototype.handleEvent=function(a){var b=0,c=0,d=0;a=a.c;if("mousewheel"==a.type){c=1;if(ii||li&&(ni||yi("532.0")))c=40;d=Nk(-a.wheelDelta,c);m(a.wheelDeltaX)?(b=Nk(-a.wheelDeltaX,c),c=Nk(-a.wheelDeltaY,c)):c=d}else d=a.detail,100<d?d=3:-100>d&&(d=-3),m(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d;y(this.b)&&(b=ub(b,-this.b,this.b));y(this.g)&&(c=ub(c,-this.g,this.g));this.h&&(b=-b);b=new Ok(d,a,b,c);this.dispatchEvent(b)};function Nk(a,b){return li&&(mi||oi)&&0!=a%b?a:a/b}
Mk.prototype.V=function(){Mk.v.V.call(this);Ej(this.c);this.c=null};function Ok(a,b,c,d){nj.call(this,b);this.type="mousewheel";this.detail=a;this.B=c;this.D=d}G(Ok,nj);function Pk(a,b,c){Oj.call(this);this.target=a;this.D=b||a;this.m=c||new M(NaN,NaN,NaN,NaN);this.B=Hi(a);this.j=new Kj(this);L(this,this.j);this.c=this.a=this.J=this.H=this.clientY=this.clientX=0;this.g=!0;this.h=!1;vj(this.D,["touchstart","mousedown"],this.Xg,!1,this)}G(Pk,Oj);var Qk=aa.document&&aa.document.documentElement&&!!aa.document.documentElement.setCapture;g=Pk.prototype;g.DG=function(a){this.m=a||new M(NaN,NaN,NaN,NaN)};g.V=function(){Pk.v.V.call(this);Dj(this.D,["touchstart","mousedown"],this.Xg,!1,this);Nj(this.j);Qk&&this.B.releaseCapture();this.D=this.target=null};g.Xg=function(a){var b="mousedown"==a.type;if(!this.g||this.h||b&&!rj(a))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new Rk("start",this,a.clientX,a.clientY))){this.h=!0;a.preventDefault();var b=this.B,c=b.documentElement,d=!Qk;this.j.pa(b,["touchmove","mousemove"],this.qO,d);this.j.pa(b,["touchend","mouseup"],this.kt,d);Qk?(c.setCapture(!1),this.j.pa(c,"losecapture",this.kt)):this.j.pa(Pi(b),"blur",this.kt);this.M&&this.j.pa(this.M,"scroll",this.rO,d);this.clientX=this.H=a.clientX;this.clientY=this.J=a.clientY;this.ll();this.F=cj(Fi(this.B))}};g.kt=function(a){Nj(this.j);Qk&&this.B.releaseCapture();if(this.h){this.h=!1;var b=this.mt(this.a),c=this.pn(this.c);this.dispatchEvent(new Rk("end",this,a.clientX,a.clientY,0,b,c))}else this.dispatchEvent("earlycancel")};g.qO=function(a){if(this.g){var b=1*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;if(!this.h){var d=this.H-this.clientX,e=this.J-this.clientY;if(0<d*d+e*e)if(this.dispatchEvent(new Rk("start",this,a.clientX,a.clientY)))this.h=!0;else{this.wc||this.kt(a);return}}c=Sk(this,b,c);b=c.x;c=c.y;this.h&&this.dispatchEvent(new Rk("beforedrag",this,a.clientX,a.clientY,0,b,c))&&(Tk(this,a,b,c),a.preventDefault())}};function Sk(a,b,c){var d=cj(Fi(a.B));b+=d.x-a.F.x;c+=d.y-a.F.y;a.F=d;a.a+=b;a.c+=c;b=a.mt(a.a);a=a.pn(a.c);return new $h(b,a)}g.rO=function(a){var b=Sk(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Tk(this,a,b.x,b.y)};function Tk(a,b,c,d){a.nn(c,d);a.dispatchEvent(new Rk("drag",a,b.clientX,b.clientY,0,c,d))}g.mt=function(a){var b=this.m,c=isNaN(b.left)?null:b.left,b=isNaN(b.width)?0:b.width;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};g.pn=function(a){var b=this.m,c=isNaN(b.top)?null:b.top,b=isNaN(b.height)?0:b.height;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};g.ll=function(){this.a=this.target.offsetLeft;this.c=this.target.offsetTop};g.nn=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function Rk(a,b,c,d,e,f,h){Ke.call(this,a);this.clientX=c;this.clientY=d;this.left=m(f)?f:b.a;this.top=m(h)?h:b.c;this.c=b}G(Rk,Ke);function Uk(a,b){if(!A(a))if(a&&"function"==typeof a.handleEvent)a=na(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<b?-1:aa.setTimeout(a,b||0)};function Vk(a,b,c){xd.call(this);this.a=a;this.g=b||0;this.c=c;this.b=na(this.kO,this)}G(Vk,xd);g=Vk.prototype;g.Qb=0;g.V=function(){Vk.v.V.call(this);this.stop();delete this.a;delete this.c};g.start=function(a){this.stop();this.Qb=Uk(this.b,m(a)?a:this.g)};g.stop=function(){0!=this.Qb&&aa.clearTimeout(this.Qb);this.Qb=0};g.kO=function(){this.Qb=0;this.a&&this.a.call(this.c)};function Wk(a,b){Oj.call(this);this.b=a;this.a=Rj(this.b);this.m=b||100;this.g=vj(a,"resize",this.h,!1,this)}G(Wk,Oj);Wk.prototype.V=function(){Ej(this.g);Wk.v.V.call(this)};Wk.prototype.h=function(){this.c||(this.c=new Vk(this.j,this.m,this),L(this,this.c));this.c.start()};Wk.prototype.j=function(){if(!this.b.wc){var a=this.a,b=Rj(this.b);this.a=b;if(a){var c=!1;a.width!=b.width&&(this.dispatchEvent("b"),c=!0);a.height!=b.height&&(this.dispatchEvent("a"),c=!0);c&&this.dispatchEvent("resize")}else this.dispatchEvent("a"),this.dispatchEvent("b"),this.dispatchEvent("resize")}};var Xk={},Yk=null;function Zk(a){a=D(a);delete Xk[a];ff(Xk)&&Yk&&Yk.stop()}function $k(){Yk||(Yk=new Vk(function(){al()},20));var a=Yk;0!=a.Qb||a.start()}function al(){var a=qa();Ze(Xk,function(b){lk(b,a)});ff(Xk)||$k()};function bl(a,b,c,d){gk.call(this);if(!r(a)||!r(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.a=a;this.b=b;this.duration=c;this.w=d;this.c=[];this.Qe=0}G(bl,gk);g=bl.prototype;g.Jy=function(a){if(a||this.df==hk)this.Qe=0,this.c=this.a;else if(1==this.df)return!1;Zk(this);this.h=a=qa();-1==this.df&&(this.h-=this.duration*this.Qe);this.m=this.h+this.duration;this.Qe||this.Sg("begin");this.N();-1==this.df&&this.Sg("resume");this.df=1;var b=D(this);b in Xk||(Xk[b]=this);$k();lk(this,a);return!0};g.stop=function(a){Zk(this);this.df=hk;a&&(this.Qe=1);cl(this,this.Qe);this.Sg("stop");this.j()};g.V=function(){this.df==hk||this.stop(!1);this.Sg("destroy");bl.v.V.call(this)};function lk(a,b){a.Qe=(b-a.h)/(a.m-a.h);1<=a.Qe&&(a.Qe=1);cl(a,a.Qe);1==a.Qe?(a.df=hk,Zk(a),a.Sg("finish"),a.j()):1==a.df&&a.Bn()}function cl(a,b){A(a.w)&&(b=a.w(b));a.c=Array(a.a.length);for(var c=0;c<a.a.length;c++)a.c[c]=(a.b[c]-a.a[c])*b+a.a[c]}g.Bn=function(){this.Sg("animate")};g.Sg=function(a){this.dispatchEvent(new dl(a,this))};function dl(a,b){Ke.call(this,a);this.x=b.c[0];this.y=b.c[1];this.duration=b.duration;this.Qe=b.Qe;this.state=b.df}G(dl,Ke);function el(a,b,c,d,e){bl.call(this,b,c,d,e);this.Y=a}G(el,bl);el.prototype.update=function(){};el.prototype.N=function(){this.update()};el.prototype.V=function(){this.Y=null;el.v.V.call(this)};function fl(a,b,c){el.call(this,a,[],[],b,c)}G(fl,el);fl.prototype.update=function(){this.a.length=this.b.length=0;for(var a=gl(this.Y);a.advance();)if(!a.l("missing")){var b=a.l("size");this.a.push(0>b?-1E-5:0);this.b.push(b);var b=a.l("x"),c=a.l("value"),d;if(d=a.l("label"))d=d.Eb().value,this.a.push(b,c),this.b.push(d.x,d.y);if(d=a.l("marker"))d=d.Eb().value,this.a.push(b,c),this.b.push(d.x,d.y)}};fl.prototype.Bn=function(){for(var a=gl(this.Y),b=0;a.advance();)if(!a.l("missing")){a.l("size",this.c[b++]);this.Y.c.Ul(a);var c=a.l("label");c&&(c.Eb({value:{x:this.c[b++],y:this.c[b++]}}),c.I());if(c=a.l("marker"))c.Eb({value:{x:this.c[b++],y:this.c[b++]}}),c.I()}};fl.prototype.j=function(){this.Bn()};function hl(a,b,c){el.call(this,a,[0,0],[0,0],b,c)}G(hl,el);hl.prototype.update=function(){this.g=il(this.Y);this.a[0]=this.g.left;this.Y.Z().bc()&&(this.a[0]+=this.g.width);this.a[1]=0;this.b[0]=this.g.left;this.b[1]=this.g.width};hl.prototype.Bn=function(){this.g.left=this.c[0];this.g.width=this.c[1];jl(this.Y,this.g)};hl.prototype.j=function(){jl(this.Y)};function kl(a,b,c){el.call(this,a,[],[],b,c);this.g=!1}G(kl,el);kl.prototype.update=function(){this.a.length=this.b.length=0;for(var a=gl(this.Y);a.advance();)if(!a.l("missing")){var b=a.l("x"),c=a.l("value"),d=a.l("zero");this.a.push(d);this.b.push(c);if(c=a.l("label"))c=c.Eb().value,this.g?this.a.push(d,b):this.a.push(b,d),this.b.push(c.x,c.y);if(c=a.l("marker"))c=c.Eb().value,this.g?this.a.push(d,b):this.a.push(b,d),this.b.push(c.x,c.y)}};kl.prototype.Bn=function(){for(var a=gl(this.Y),b=0;a.advance();)if(!a.l("missing")){a.l("value",this.c[b++]);this.Y.c.Ul(a);var c=a.l("label");c&&(c.Eb({value:{x:this.c[b++],y:this.c[b++]}}),c.I());if(c=a.l("marker"))c.Eb({value:{x:this.c[b++],y:this.c[b++]}}),c.I()}};kl.prototype.j=function(){this.Bn()};function ll(a,b,c){kl.call(this,a,b,c);this.g=!0}G(ll,kl);var ml={};ml.bar=ll;ml.bubble=fl;ml.area=hl;ml.line=hl;ml.rangeArea=hl;ml.rangeSplineArea=hl;ml.rangeStepArea=hl;ml.spline=hl;ml.splineArea=hl;ml.stepArea=hl;ml.stepLine=hl;ml.column=kl;var nl=null;var ol={0:"Can't find an error message that corresponds to the specified error code",1:"Requested stage type is not supported",2:"Container should be defined to render stage",3:"Stage should have a DOM element",4:"Unable to set the parent component",5:"Trying to perform an operation with the disposed element",6:"Synchronous rendering didn't clean up all dirty states",7:"Can't add an element constructed by another Stage",8:"Wrong arguments passed to swapChildren",9:"Path must start with moveTo command",10:"Method must be implemented",11:"Missing required parameter",12:"Parameter type mismatch",13:"Required parameter is null or undefined",14:"Invalid number of parameters",15:"Sorry, this feature in not supported in VML oriented browsers"};function pl(a){return ol[a]||"Unknown error happened"};function ql(a,b){Ke.call(this,a.type);this.target=rl(a.target,b)||a.target;this.relatedTarget=rl(a.h||null,b)||a.h;this.offsetX=a.offsetX;this.offsetY=a.offsetY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.j;this.screenY=a.m;this.button=qj(a,0)?sl:qj(a,1)?tl:qj(a,2)?ul:vl;this.actionButton=rj(a);this.keyCode=a.keyCode;this.charCode=a.b;this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=a.w;this.c=a}G(ql,Ke);var sl="left",tl="middle",ul="right",vl="none";ql.prototype.preventDefault=function(){ql.v.preventDefault.call(this);this.c.preventDefault()};ql.prototype.stopPropagation=function(){ql.v.stopPropagation.call(this);this.c.stopPropagation()};ql.prototype.b=function(){Ke.prototype.stopPropagation.call(this)};ql.prototype.stopPropagation=ql.prototype.stopPropagation;ql.prototype.stopWrapperPropagation=ql.prototype.b;ql.prototype.preventDefault=ql.prototype.preventDefault;E("acgraph.events.listen",vj);E("acgraph.events.listenOnce",Cj);E("acgraph.events.unlisten",Dj);E("acgraph.events.unlistenByKey",Ej);E("acgraph.events.removeAll",function(a,b){if(!a)return 0;if(Me(a))return a.Hg(b);var c=yj(a);if(!c)return 0;var d=0,e=b&&b.toString(),f;for(f in c.a)if(!e||f==e)for(var h=c.a[f].concat(),k=0;k<h.length;++k)Ej(h[k])&&++d;return d});E("acgraph.events.EventType.CLICK","click");E("acgraph.events.EventType.DBLCLICK","dblclick");E("acgraph.events.EventType.MOUSEUP","mouseup");E("acgraph.events.EventType.MOUSEDOWN","mousedown");E("acgraph.events.EventType.MOUSEOVER","mouseover");E("acgraph.events.EventType.MOUSEOUT","mouseout");E("acgraph.events.EventType.MOUSEMOVE","mousemove");E("acgraph.events.EventType.TOUCHSTART","touchstart");E("acgraph.events.EventType.TOUCHEND","touchend");E("acgraph.events.EventType.TOUCHCANCEL","touchcancel");E("acgraph.events.EventType.TOUCHMOVE","touchmove");E("acgraph.events.EventType.TAP","tap");E("acgraph.events.EventType.DRAG","drag");E("acgraph.events.EventType.DRAG_START","start");E("acgraph.events.EventType.DRAG_END","end");E("acgraph.events.EventType.DRAG_EARLY_CANCEL","earlycancel");E("acgraph.events.EventType.DRAG_BEFORE","beforedrag");$h.prototype.a=function(){return this.x};$h.prototype.c=function(){return this.y};E("acgraph.math.Coordinate",$h);$h.prototype.getX=$h.prototype.a;$h.prototype.getY=$h.prototype.c;g=M.prototype;g.Qa=function(){return this.left};g.Va=function(){return this.top};g.ng=function(){return this.width};g.Wg=function(){return this.height};g.Oa=function(){return this.left+this.width};g.ra=function(){return this.top+this.height};g.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};E("acgraph.math.Rect",M);M.prototype.getLeft=M.prototype.Qa;M.prototype.getTop=M.prototype.Va;M.prototype.getWidth=M.prototype.ng;M.prototype.getHeight=M.prototype.Wg;M.prototype.getRight=M.prototype.Oa;M.prototype.getBottom=M.prototype.ra;function wl(a){return a instanceof $h?a:r(a)?new $h(a[0],a[1]):B(a)?new $h(a.x,a.y):new $h(0,0)}function xl(a,b){var c=Math.pow(10,b||0);return Math.round(a*c)/c||0}function yl(a){return xl(a,13-Math.max(Math.floor(Math.log(Math.abs(a))*Math.LOG10E),8))}function zl(a,b){var c=Math.log(Math.max(1E-7,a));return b?c/Math.log(b):c}function Al(a,b){return xl(Math.pow(a,b),7)}function Bl(a){a=Zf(a);db(a);var b=Math.floor(a.length/2);return a.length%2?a[b]:(a[b-1]+a[b])/2}
function Cl(a){for(var b={},c=a[0],d=1,e=0;e<a.length;e++){var f=a[e];m(b[f])?b[f]++:b[f]=1;b[f]>d&&(c=f,d=b[f])}return c}function Dl(a,b){var c=!1,d,e,f,h;if(!a||!b)return!1;f=0;for(h=a.length;f<h-1;f+=2)d=f==h-2?0:f+2,e=f==h-2?1:f+3,c=c||El(a[f],a[f+1],a[d],a[e],b);f=0;for(h=b.length;f<h-1;f+=2)d=f==h-2?0:f+2,e=f==h-2?1:f+3,c=c||El(b[f],b[f+1],b[d],b[e],a);return!c}function El(a,b,c,d,e){for(var f=!0,h=0,k=e.length;h<k-1;h+=2)f=f&&0>=Fl(a,b,c,d,e[h],e[h+1]);return f}
function Fl(a,b,c,d,e,f){a=(b-d)*e+(c-a)*f+(a*d-c*b);return 0==a?0:0<a?1:-1}function Gl(a,b,c,d,e){var f=!1,h,k,l,n;if(!e)return!1;l=0;for(n=e.length;l<n-1;l+=2)if(h=l==n-2?0:l+2,k=l==n-2?1:l+3,!f){var f=e[l],p=e[l+1];h=e[h];k=e[k];f=Hl(f,h,a,c)&&Hl(p,k,b,d)&&0>=((h-f)*(b-p)-(k-p)*(a-f))*((h-f)*(d-p)-(k-p)*(c-f))&&0>=((c-a)*(p-b)-(d-b)*(f-a))*((c-a)*(k-b)-(d-b)*(h-a))}return f}function Hl(a,b,c,d){var e;a>b&&(e=a,a=b,b=e);c>d&&(e=c,c=d,d=e);return Math.max(a,c)<=Math.min(b,d)}
function Il(a,b,c,d){var e=!1,f,h;if(!d)return!1;f=0;for(h=d.length;f<h-1;f+=2)e=e||Math.sqrt(Math.pow(a-d[f],2)+Math.pow(b-d[f+1],2))>c;return e}
function Jl(a,b,c,d,e){var f=e.left+e.width,h=e.top+e.height,k=(d-b)/(c-a),l,n,p,q,t=!1;if(isNaN(k))a<e.left||a>f||b<e.top||b>h?t=!0:(l=n=a,p=q=b);else if(0==k)b<e.top||b>h?t=!0:(l=e.left,n=f,p=q=b);else if(isFinite(k)){var v=b-a*k,w=k*e.left+v,x=k*f+v;w<e.top&&x<e.top||w>h&&x>h?t=!0:(n=(e.top-v)/k,k=(h-v)/k,w<e.top?(l=n,p=e.top):w>h?(l=k,p=h):(l=e.left,p=w),x<e.top?q=e.top:x>h?(n=k,q=h):(n=f,q=x))}else a<e.left||a>f?t=!0:(l=n=a,p=e.top,q=h);if(t)return null;if(a>c||a==c&&b>d)a=l,l=n,n=a,a=p,p=q,q=a;return[l,p,n,q]}function Kl(a,b,c,d,e){if(e=Jl(a,b,c,d,e)){var f;if(c-=a)d=e[0]-a,f=e[2]-a;else if(c=d-b)d=e[1]-b,f=e[3]-b;else return e;0>f*c?e=null:0>c*d&&(e[0]=a,e[1]=b)}return e}function Ll(a,b,c,d,e){if(e=Jl(a,b,c,d,e)){var f,h,k,l,n;if(f=c-a)h=e[0]-a,k=e[2]-a,l=e[0]-c,n=e[2]-c;else if(f=d-b)h=e[1]-b,k=e[3]-b,l=e[1]-d,n=e[3]-d;else return e;0>k*f||0<l*f?e=null:(0>h*f&&(e[0]=a,e[1]=b),0<n*f&&(e[2]=c,e[3]=d))}return e}M.c=di;function Ml(a){return[a.left,a.top,a.left+a.width,a.top,a.left+a.width,a.top+a.height,a.left,a.top+a.height]}M.a=function(a){for(var b=new M(0,0,0,0),c=new M(a[0],a[1],0,0),d=2,e=a.length;d<e;d+=2)b.left=a[d],b.top=a[d+1],ei(c,b);return c};M.b=function(a){return new M(a[0],a[1],a[2],a[3])};M.prototype.o=function(){return{left:this.left,top:this.top,width:this.width,height:this.height}};M.g=function(a){return new M(+a.left||0,+a.top||0,+a.width||0,+a.height||0)};function Nl(a,b,c,d){return new M(a,b,c,d)}E("anychart.math.rect",Nl);function Ol(a,b,c){Oj.call(this);this.a=a;this.N=(this.b=(a=this.a.parent())?a.Zd():null)?Yh(this.b):null;this.target=this.a.P();this.h=b||this.target;this.j=c||new M(NaN,NaN,NaN,NaN);this.g=Hi(this.target);this.c=new Kj(this);L(this,this.c);vj(this.h,["touchstart","mousedown"],this.EA,!1,this)}G(Ol,Oj);var Pl=ii||ki&&yi("1.9.3");g=Ol.prototype;g.clientX=0;g.clientY=0;g.FA=0;g.GA=0;g.Ck=0;g.Dk=0;g.Wq=!0;g.Ek=!1;g.DG=function(a){this.j=a||new M(NaN,NaN,NaN,NaN)};g.enabled=function(a){return 1==arguments.length?(this.Wq=a,this):this.Wq};g.V=function(){Ol.v.V.call(this);Dj(this.h,["touchstart","mousedown"],this.EA,!1,this);Nj(this.c);Pl&&this.g.releaseCapture();this.h=this.target=null};g.EA=function(a){var b="mousedown"==a.type;a.preventDefault();if(!this.Wq||this.Ek||b&&!rj(a))this.dispatchEvent("earlycancel");else if(Ql(a),this.a.dispatchEvent(new Rl("start",this,a.clientX,a.clientY))){this.Ek=!0;a.preventDefault();var b=this.g,c=b.documentElement,d=!Pl;this.c.pa(b,["touchmove","mousemove"],this.kH,d);this.c.pa(b,["touchend","mouseup"],this.Xq,d);Pl?(c.setCapture(!1),this.c.pa(c,"losecapture",this.Xq)):this.c.pa(Pi(b),"blur",this.Xq);this.w&&this.c.pa(this.w,"scroll",this.lH,d);this.clientX=this.FA=a.clientX;this.clientY=this.GA=a.clientY;this.Ck=this.a.Zq();this.Dk=this.a.$q();this.m=cj(Fi(this.g));qa()}};g.Xq=function(a){Nj(this.c);Pl&&this.g.releaseCapture();if(this.Ek){Ql(a);this.Ek=!1;var b=Sl(this,this.Ck),c=Tl(this,this.Dk);this.a.dispatchEvent(new Rl("end",this,a.clientX,a.clientY,0,b,c))}else this.a.dispatchEvent("earlycancel")};function Ql(a){var b=a.type;"touchstart"==b||"touchmove"==b?oj(a,a.c.targetTouches[0],a.a):"touchend"!=b&&"touchcancel"!=b||oj(a,a.c.changedTouches[0],a.a)}
g.kH=function(a){if(this.Wq){Ql(a);var b=1*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;if(!this.Ek){var d=this.FA-this.clientX,e=this.GA-this.clientY;if(0<d*d+e*e)if(this.a.dispatchEvent(new Rl("start",this,a.clientX,a.clientY)))this.Ek=!0;else{this.wc||this.Xq(a);return}}d=(d=this.a.parent())?d.Zd():null;this.b!=d&&(this.N=(this.b=d)?Yh(this.b):null);Ul(this,b,c);this.Ek&&(b=Sl(this,this.Ck),c=Tl(this,this.Dk),this.a.dispatchEvent(new Rl("beforedrag",this,a.clientX,a.clientY,0,b,c))&&(Vl(this,a,b,c),a.preventDefault()))}};function Ul(a,b,c){var d=cj(Fi(a.g));b+=d.x-a.m.x;c+=d.y-a.m.y;a.m=d;a.N&&(c=[b,c,0,0],a.N.transform(c,0,c,0,2),b=c[0]-c[2],c=c[1]-c[3]);a.Ck+=b;a.Dk+=c}g.lH=function(a){Ul(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Vl(this,a,Sl(this,this.Ck),Tl(this,this.Dk))};function Vl(a,b,c,d){a.a.uo(c,d);a.a.dispatchEvent(new Rl("drag",a,b.clientX,b.clientY,0,c,d))}
function Sl(a,b){var c=a.j,d=isNaN(c.left)?null:c.left,c=isNaN(c.width)?0:c.width,c=null!=d?d+c-a.a.ng():Infinity;return Math.min(c,Math.max(null!=d?d:-Infinity,b))}function Tl(a,b){var c=a.j,d=isNaN(c.top)?null:c.top,c=isNaN(c.height)?0:c.height,c=null!=d?d+c-a.a.Wg():Infinity;return Math.min(c,Math.max(null!=d?d:-Infinity,b))}function Rl(a,b,c,d,e,f,h){Ke.call(this,a);this.clientX=c;this.clientY=d;this.left=m(f)?f:b.Ck;this.top=m(h)?h:b.Dk}G(Rl,Ke);function Wl(a,b,c,d,e,f,h){var k=Bh(f);f=Math.ceil(Math.abs(k)/Math.PI*2);var k=k/f,l=Bh(e);e=h?[a+Dh(e,c),b+Eh(e,d)]:[];for(h=0;h<f;h++){var n=Math.cos(l),p=Math.sin(l),q=4/3*Math.sin(k/2)/(1+Math.cos(k/2)),t=a+(n-q*p)*c,v=b+(p+q*n)*d,l=l+k,n=Math.cos(l),p=Math.sin(l);e.push(t,v,a+(n+q*p)*c,b+(p-q*n)*d,a+n*c,b+p*d)}return e}
function Xl(a){function b(a,b,c,d,e){var f=1-e;return f*f*f*a+3*f*f*e*b+3*f*e*e*c+e*e*e*d}for(var c=[[arguments[0]],[arguments[1]]],d=2,e=arguments.length;d<e;d+=6){var f=[arguments[d-2],arguments[d-1]],h=[arguments[d],arguments[d+1]],k=[arguments[d+2],arguments[d+3]],l=[arguments[d+4],arguments[d+5]];c[0].push(l[0]);c[1].push(l[1]);for(var n,p=0;2>p;p++){var q=-3*f[p]+9*h[p]-9*k[p]+3*l[p],t=6*f[p]-12*h[p]+6*k[p];n=3*h[p]-3*f[p];if(0==q)0!=t&&(n=-n/t,0<n&&1>n&&c[p].push(b(f[p],h[p],k[p],l[p],n)));else{var v=t*t-4*n*q;0<v?(n=(-t+Math.sqrt(v))/(2*q),0<n&&1>n&&c[p].push(b(f[p],h[p],k[p],l[p],n)),n=(-t-Math.sqrt(v))/(2*q),0<n&&1>n&&c[p].push(b(f[p],h[p],k[p],l[p],n))):0==v&&(n=-t/(2*q),0<n&&1>n&&c[p].push(b(f[p],h[p],k[p],l[p],n)))}}}d=new M(Math.min.apply(null,c[0]),Math.min.apply(null,c[1]),0,0);d.width=Math.max.apply(null,c[0])-d.left;d.height=Math.max.apply(null,c[1])-d.top;return d}
function Yl(a){if(0==arguments.length)return null;for(var b=null,c=!1,d=0,e=arguments.length;d<e;d++)arguments[d]&&(b?(c||(c=!!(b=b.clone())),Xh(b,arguments[d])):b=arguments[d]);return b}function Zl(a,b){if(!b||Uh(b))return a;var c=a.left,d=a.top,e=c+a.width,f=d+a.height,f=[c,d,c,f,e,d,e,f];b.transform(f,0,f,0,4);c=Math.min(f[0],f[2],f[4],f[6]);d=Math.min(f[1],f[3],f[5],f[7]);e=Math.max(f[0],f[2],f[4],f[6]);f=Math.max(f[1],f[3],f[5],f[7]);return new M(c,d,e-c,f-d)}
function $l(a){var b=Math.pow(10,6);return Math.round(a*b)/b}function am(a,b,c,d){var e=(a*c+b*d)/(Math.sqrt(a*a+b*b)*Math.sqrt(c*c+d*d)),e=ub(e,-1,1),e=Ch(Math.acos(e));return 0<a*d-b*c?e:-e}function bm(a){return a?Ch(Math.atan2(a.c,a.g)):0};var cm={usletter:{width:"215.9mm",height:"279.4mm"},a0:{width:"841mm",height:"1189mm"},a1:{width:"594mm",height:"841mm"},a2:{width:"420mm",height:"594mm"},a3:{width:"297mm",height:"420mm"},a4:{width:"210mm",height:"297mm"},a5:{width:"148mm",height:"210mm"},a6:{width:"105mm",height:"148mm"}},dm={a0:{width:2384,height:3370},a1:{width:1684,height:2384},a2:{width:1191,height:1684},a3:{width:842,height:1191},a4:{width:595,height:842},a5:{width:420,height:595},a6:{width:297,height:420},a7:{width:210,height:297},a8:{width:48,height:210},a9:{width:105,height:148},b0:{width:2834,height:4008},b1:{width:2004,height:2834},b2:{width:1417,height:2004},b3:{width:1E3,height:1417},b4:{width:708,height:1E3},b5:{width:498,height:708},b6:{width:354,height:498},b7:{width:249,height:354},b8:{width:175,height:249},b9:{width:124,height:175},"arch-a":{width:648,height:864},"arch-b":{width:864,height:1296},"arch-c":{width:1296,height:1728},"arch-d":{width:1728,height:2592},"arch-e":{width:2592,height:3456},"crown-octavo":{width:348,height:527},"crown-quarto":{width:535,height:697},"demy-octavo":{width:391,height:612},"demy-quarto":{width:620,height:782},"royal-octavo":{width:442,height:663},"royal-quarto":{width:671,height:884},executive:{width:522,height:756},halfletter:{width:396,height:612},ledger:{width:1224,height:792},legal:{width:612,height:1008},letter:{width:612,height:792},tabloid:{width:792,height:1224}},em=null,fm=null;function gm(){if(!em){var a=document.createElement("iframe");em=a;qk(a,{visibility:"hidden",position:"fixed",right:0,bottom:0});document.body.appendChild(a);for(var b=dj(),c,d=0,e=b.length;d<e;d++)if(c=b[d],5==c.type){var f="";c.cssText?f=c.cssText:c.style&&c.style.cssText&&c.selectorText&&(f=c.style.cssText.replace(/\s*-closure-parent-stylesheet:\s*\[object\];?\s*/gi,"").replace(/\s*-closure-rule-index:\s*[\d]+;?\s*/gi,""),f=c.selectorText+" { "+f+" }");hm(f,a.contentWindow.document)}hm("body{padding:0;margin:0;height:100%;}",a.contentWindow.document)}return em}function im(){if(em){var a=em,b=a.contentWindow;ji?(fm=window.open(),fm.document.write(b.document.documentElement.innerHTML),jm(),fm.onafterprint=function(){setTimeout(function(){fm.close()},0)},setTimeout(function(){fm.focus();fm.print()},0)):ii?setTimeout(function(){qk(a,"visibility","");b.onafterprint=jm;b.focus();b.print()},0):(Uk(jm,6),b.focus(),b.print())}}function jm(){em&&(document.body.removeChild(em),em=null)};function km(a,b){Oj.call(this);this.c=a;this.b=Fi().a("iframe",{style:"position:absolute; width:10%; height:10%; top: -99em; border-style:none; overflow:none;",frameborder:"0",tabIndex:-1,"aria-hidden":"true"});this.D=na(this.g,this);this.m=this.h=this.j=this.a=null;this.N={};lm(this,b)}G(km,Oj);function lm(a,b){if(b){a.Xb=b;b.insertBefore(a.b,b.firstChild);a.w&&Dj(a.w,"resize",a.g,!1,a);a.B&&clearInterval(a.B);var c;try{a:{var d=a.b;try{c=d.contentWindow||(d.contentDocument?Pi(d.contentDocument):null);break a}catch(e){}c=null}a.w=c}catch(e){}c&&(ki&&(d=c.document,d.open(),d.close()),vj(c,"resize",a.g,!1,a));a.B=setInterval(a.D,200)}}
function mm(a,b,c,d,e){a.a||(a.a=Fi().a("FORM",{method:"POST"}),a.j=Fi().a("INPUT",{type:"hidden",name:"data"}),a.h=Fi().a("INPUT",{type:"hidden",name:"dataType"}),a.m=Fi().a("INPUT",{type:"hidden",name:"responseType"}),Ui(a.P(),a.a),a.a.appendChild(a.j),a.a.appendChild(a.h),a.a.appendChild(a.m));Ze(a.N,Yi);m(e)&&Ze(e,function(a,b){var c=this.N[b];c||(c=Fi().a("INPUT",{type:"hidden",name:b}),this.N[b]=c);c.value=a;this.a.appendChild(c)},a);a.a.action=b;a.j.value=c;a.h.value=d;a.m.value="file";a.a.submit()}
km.prototype.P=function(){return this.b};km.prototype.V=function(){Dj(this.w,"resize",this.g,!1,this);!ki||yi("1.9");Yi(this.b);delete this.b;delete this.Xb;delete this.a;delete this.j;delete this.h;delete this.m;delete this.N;delete this.c;km.v.V.call(this)};km.prototype.g=function(){if(!this.wc){var a=!1,b=Ek(this.Xb),c=b.width||0,b=b.height||0;if(this.c.w!=c||this.c.N!=b){for(var d="none"==uk(this.Xb,"display"),e,f=this.Xb;!d&&(e=aj(f));)d=d||"none"==uk(e,"display"),f=e;d||(this.c.w!=c&&(a=!0),this.c.N!=b&&(a=!0))}a&&this.dispatchEvent("sizechange")}};function nm(){}ca(nm);var om={quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,"int":8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};nm.prototype.N=null;function pm(a){a.style||(a.style=a.j.length?kf(a.j[a.j.length-1]):{})}function qm(a,b){switch(b){case"b":case"strong":pm(a);a.style.fontWeight="bold";break;case"i":case"em":pm(a),a.style.fontStyle="italic"}}
function rm(a,b,c){switch(b){case"font-style":pm(a);a.style.fontStyle=c||"normal";break;case"font-variant":pm(a);a.style.fontVariant=c||"normal";break;case"font-family":pm(a);a.style.fontFamily=c||aa.acgraph.fontFamily;break;case"font-size":pm(a);a.style.fontSize=c||aa.acgraph.fontSize;break;case"font-weight":pm(a);a.style.fontWeight=c||"normal";break;case"color":pm(a);a.style.color=c||aa.acgraph.color;break;case"letter-spacing":pm(a);a.style.letterSpacing=c||"normal";break;case"text-decoration":pm(a);a.style.bk=c||"none";break;case"opacity":pm(a),a.style.opacity=null!=c?parseFloat(c):1}}function sm(a){""!=a.c&&(tm(a.N,a.c,a.j.length?a.j[a.j.length-1]:null),a.c="",a.H=!1)}function um(a){a.w==(a.B.length?a.B[a.B.length-1]:null)&&(sm(a),a.j.pop(),a.B.pop(),a.a="");a.w="";a.state=1}function vm(a,b){qm(a,a.a);a.B.push(a.a);a.j.push(a.style);b&&(a.b="");a.a="";a.style=null;a.state=1}function wm(a,b,c){rm(a,a.h,a.m||"");a.h="";a.m="";c&&(a.b="");a.state=b}
function xm(a){qm(a,a.a);rm(a,a.h,a.m||"");a.B.push(a.a);a.j.push(a.style);a.a="";a.style=null;a.b="";a.h="";a.m="";a.state=1}function ym(a,b,c){var d;if(a.D){var e=om[a.g];m(e)?d=e:a.c+="&"+a.g+c}else a.g?d=parseInt(a.g,10):a.c+="&#"+c;d&&(a.c+=String.fromCharCode(d)+(";"==c?"":c));a.state=b;a.g="";a.D=!0};function zm(){}ca(zm);zm.prototype.c=0;zm.prototype.a="ac_uid_"+(1E9*Math.random()>>>0);function Am(a,b,c){return b[a.a]||(b[a.a]=Bm(a,b,c))}function Bm(a,b,c){return["#ac",m(c)?c:b.Zf?b.Zf():"",(a.c++).toString(36)].join("_")};function Cm(a){var b;b=ea(a);if("array"==b){b=[];for(var c=0;c<a.length;c++)c in a&&(b[c]=Cm(a[c]))}else if("object"==b)for(c in b={},a)a.hasOwnProperty(c)&&(b[c]=Cm(a[c]));else return a;return b}function Dm(a,b,c){if(ki||ii)a.apply(c,b);else for(var d=0,e=5E4,f=Math.ceil(b.length/5E4),h=0;h<f;h++)a.apply(c,b.slice(d,e)),d+=5E4,e+=5E4};function Em(a,b,c,d,e){xd.call(this);this.keys=a;this.opacity=null!=b?ub(b,0,1):1;this.eh=null!=c?Ah(c):0;this.mode=null!=d?d:!1;this.a=d&&d instanceof M?d:null;this.transform=null!=e?e:null}G(Em,xd);function Fm(a,b,c,d,e){c=null!=c?Ah(c):0;b=null!=b?ub(b,0,1):1;var f=!!d;d=null!=d?d instanceof M?d:null:null;var h=[];Mf(a,function(a){h.push(""+a.offset+a.color+(a.opacity?a.opacity:null))});return h.join("")+b+c+f+(d?""+d.left+d.top+d.width+d.height:"")+(e?e.toString():"")}g=Em.prototype;g.cr=!1;g.vo=null;g.id=function(){return this.Qb||(this.Qb=Bm(zm.Xc(),this))};g.Zf=function(){return"linearGradient"};g.Sd=function(){Em.v.Sd.call(this)};g.V=function(){this.vo&&(this.vo.dG(this),this.vo=null);this.transform=this.a=null;delete this.keys;this.mode=!1;Em.v.V.call(this)};Em.prototype.dispose=Em.prototype.Sd;function Gm(a,b,c,d,e,f,h,k){xd.call(this);this.Bc=b;this.vc=c;this.a=d;this.c=e;this.keys=a;this.opacity=null!=f?ub(f,0,1):1;this.Rf=null!=h?h:null;this.transform=null!=k?k:null}G(Gm,xd);function Hm(a,b,c,d,e,f,h,k){f=null!=f?ub(f,0,1):1;var l=[];Mf(a,function(a){l.push(""+a.offset+a.color+(a.opacity?a.opacity:1))});return l.join("")+f+b+c+d+e+(h?""+h.left+h.top+h.width+h.height:"")+(k?k.toString():"")}g=Gm.prototype;g.dr=!1;g.xo=null;g.id=function(){return this.Qb||(this.Qb=Bm(zm.Xc(),this))};g.Zf=function(){return"radialGradient"};g.Sd=function(){Gm.v.Sd.call(this)};g.V=function(){this.xo&&(this.xo.fG(this),this.xo=null);this.transform=this.Rf=null;delete this.keys;Gm.v.V.call(this)};Gm.prototype.dispose=Gm.prototype.Sd;function Im(){this.g={};this.b="fontStyle fontVariant fontFamily fontSize fontWeight letterSpacing decoration".split(" ")}ca(Im);function Jm(a,b){var c;if(Km(a," ",b))c=Lm(a," ",b);else{c=a.measure("a a",b);var d=a.measure("aa",b);c=new M(0,c.top,c.width-d.width,c.height);Lm(a," ",b,c)}return c}function Mm(a,b){for(var c="",d=0,e=a.b.length;d<e;d++){var f=b[a.b[d]];m(f)&&(c+=f+"|")}return c}function Lm(a,b,c,d){var e=a.g,f=Mm(a,c),h=e[f];h||(h=e[f]={});return(e=h[b])?e:h[b]=d?d:a.measure(b,c)}
function Km(a,b,c){a=a.g[Mm(a,c)];return!(!a||!a[b])}function Nm(a,b){var c,d;a=Ah(a);if(b.height==b.width)return a;b.height<b.width?(c=b.width,d=b.height,d/=c):(c=b.height,d=b.width,d=c/d);c/=2;c=Ch(Math.atan(Math.tan(Bh(a))*c/c*d));90<a&&270>=a?c=180+c:270<a&&360>=a&&(c=360+c);return c%360}g=Im.prototype;g.appendChild=function(a,b){a.appendChild(b)};g.getParent=function(a){return aj(a)};g.OF=function(){return!1};g.Vy=function(){return!1};g.zy=function(){return null};g.sq=function(){return!1};g.Jt=function(){return!1};function Om(){Im.call(this)}G(Om,Im);ca(Om);g=Om.prototype;g.Mk=null;g.hf=null;g.pq=null;g.th=null;g.Lk=null;function Pm(a){return document.createElementNS("http://www.w3.org/2000/svg",a)}g.Ka=function(a,b,c){a.setAttribute(b,c)};function Qm(a){a.removeAttribute("fill-opacity")}function Rm(a,b,c){Ze(c,function(a,c){this.Ka(b,c,a)},a)}
function Sm(a){a.Mk=Pm("svg");a.hf=a.Px();a.pq=a.yo("");a.hf.appendChild(a.pq);a.Mk.appendChild(a.hf);document.body.appendChild(a.Mk);Rm(a,a.Mk,{display:"block",width:0,height:0});a.th=a.Hs();a.Mk.appendChild(a.th)}
g.measure=function(a,b){this.Mk||Sm(this);var c=null,d=0;if(0==a.length)return Km(this,"",b)?d=Lm(this,"",b):(d=this.measure("a",b),d=new M(0,d.top,0,d.height),Lm(this,"",b,d)),d;if(" "==a)return Jm(this,b);0==a.lastIndexOf(" ",0)&&(d+=c=Jm(this,b).width);of(a," ")&&(d+=c||Jm(this,b).width);b.fontStyle?this.Ka(this.hf,"font-style",b.fontStyle):this.hf.removeAttribute("font-style");b.fontVariant?this.Ka(this.hf,"font-variant",b.fontVariant):this.hf.removeAttribute("font-variant");b.fontFamily?this.Ka(this.hf,"font-family",b.fontFamily):this.hf.removeAttribute("font-family");b.fontSize?this.Ka(this.hf,"font-size",b.fontSize):this.hf.removeAttribute("font-size");b.fontWeight?this.Ka(this.hf,"font-weight",b.fontWeight):this.hf.removeAttribute("font-weight");b.letterSpacing?this.Ka(this.hf,"letter-spacing",b.letterSpacing):this.hf.removeAttribute("letter-spacing");b.decoration?this.Ka(this.hf,"text-decoration",b.decoration):this.hf.removeAttribute("text-decoration");this.pq.nodeValue=a;c=this.hf.getBBox();this.pq.nodeValue="";b.fontVariant&&hi&&(this.pq.nodeValue=a.charAt(0).toUpperCase(),c.height=this.hf.getBBox().height);return new M(c.x,c.y,c.width+d,c.height)};g.IF=function(a){this.Mk||Sm(this);u(a)?this.th.innerHTML=a:(a=a.cloneNode(!0),this.th.appendChild(a));a=this.th.getBBox();Wi(this.th);return new M(a.x,a.y,a.width,a.height)};g.Dt=function(a,b){this.Lk||(this.Lk=new mk,this.a={},vj(this.Lk,"complete",function(){this.c=!1},!1,this),vj(this.Lk,"load",this.zP,!1,this));this.a[D(b)]=[a,b];this.c=!0;ok(this.Lk,a,a);this.Lk.start()};g.zP=function(a){var b=a.target;Ze(this.a,function(a,d){a[0]==b.id&&(a[1].call(this,b.naturalWidth,b.naturalHeight),delete this.a[d])},this)};g.Vy=function(){return this.c};g.zy=function(){return this.Lk};function Tm(a){if(0==a.b.length)return null;var b=[];a.ZE(function(a,d){switch(a){case Um:b.push("M");Dm(Array.prototype.push,d,b);break;case Vm:b.push("L");Dm(Array.prototype.push,d,b);break;case Wm:b.push("C");Dm(Array.prototype.push,d,b);break;case Xm:var e=d[3];b.push("A",d[0],d[1],0,180<Math.abs(e)?1:0,0<e?1:0,d[4],d[5]);break;case Ym:b.push("Z")}});return b.join(" ")}
function Zm(a){a=Bh(a);var b=Math.tan(a),c=1/(2*b),b=b/2,d=!1;.5>=Math.abs(b)?(c=-.5,d=0>Math.cos(a)):(b=-.5,d=0<Math.sin(a));d&&(c=-c,b=-b);return new ci(.5+c,.5+b,.5-c,.5-b)}
function $m(a,b){var c=a%90,d=Bh(a),e=1,f=b.left+b.width/2,h=b.top+b.height/2,k=0>Math.sin(d)||180==a||360==a;if(90==a||270==a)c+=1E-6;180!=a&&(0>Math.tan(d)||90==a||270==a)&&(e=-1,c=90-c);c=Bh(c);d=Math.sin(c)*(b.height/2-Math.tan(c)*b.width/2)+b.width/2/Math.cos(c);e=e*Math.cos(c)*d;c=1*Math.sin(c)*d;k&&(e=-e,c=-c);return new ci(Math.round(f-e),Math.round(h+c),Math.round(f+e),Math.round(h-c))}
g.jE=function(){var a=Pm("svg");ii||this.Ka(a,"xmlns","http://www.w3.org/2000/svg");this.Ka(a,"border","0");return a};g.fE=function(){return Pm("linearGradient")};g.bE=function(){return Pm("pattern")};g.cE=function(){return Pm("image")};g.Hs=function(){return Pm("g")};g.YD=function(){return Pm("circle")};g.hE=function(){return Pm("path")};g.aE=function(){return Pm("ellipse")};g.$D=function(){return Pm("defs")};g.Px=function(){return Pm("text")};g.Qx=function(){return Pm("tspan")};g.yo=function(a){return document.createTextNode(String(a))};g.xG=function(a){var b=a.Cg();Rm(this,a.P(),{x:b.left,y:b.top,width:b.width,height:b.height,patternUnits:"userSpaceOnUse"})};g.yG=function(a){var b=a.Cg();this.Dt(a.src(),ba);var c=a.src()||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",d=a.P();Rm(this,d,{x:b.left,y:b.top,width:b.width,height:b.height,"image-rendering":"optimizeQuality",preserveAspectRatio:a.Fk()+" "+a.kn(),opacity:a.opacity()});d.setAttributeNS("http://www.w3.org/1999/xlink","href",c)};g.uG=function(a,b){var c=a.P();c&&(c.style.cursor=b||"")};g.Tz=function(a){var b=a.P();this.Ka(b,"x",a.j);this.Ka(b,"y",a.ma)};g.JG=function(a){var b=a.style(),c=a.P();if(a.Pc()){if(c.style["-webkit-touch-callout"]="",c.style["-webkit-user-select"]="",c.style["-khtml-user-select"]="",c.style["-moz-user-select"]="",c.style["-ms-user-select"]="",c.style["-o-user-select"]="",c.style["user-select"]="",ii&&9==Ai||hi)c.removeAttribute("unselectable"),c.removeAttribute("onselectstart")}else if(c.style["-webkit-touch-callout"]="none",c.style["-webkit-user-select"]="none",c.style["-khtml-user-select"]="none",c.style["-moz-user-select"]="moz-none",c.style["-ms-user-select"]="none",c.style["-o-user-select"]="none",c.style["user-select"]="none",ii&&9==Ai||hi)this.Ka(c,"unselectable","on"),this.Ka(c,"onselectstart","return false;");b.fontStyle?this.Ka(c,"font-style",b.fontStyle):c.removeAttribute("font-style");b.fontVariant?ki?c.style["font-variant"]=b.fontVariant:this.Ka(c,"font-variant",b.fontVariant):ki?c.style["font-variant"]="":c.removeAttribute("font-variant");b.fontFamily?this.Ka(c,"font-family",b.fontFamily):c.removeAttribute("font-family");b.fontSize?this.Ka(c,"font-size",b.fontSize):c.removeAttribute("font-size");b.fontWeight?this.Ka(c,"font-weight",b.fontWeight):c.removeAttribute("font-weight");b.color?this.Ka(c,"fill",b.color):c.removeAttribute("fill");b.letterSpacing?this.Ka(c,"letter-spacing",b.letterSpacing):c.removeAttribute("letter-spacing");b.decoration?this.Ka(c,"text-decoration",b.decoration):c.removeAttribute("text-decoration");b.direction?this.Ka(c,"direction",b.direction):c.removeAttribute("direction");b.hAlign?this.Ka(c,"text-anchor","rtl"==b.direction?ki||ii?b.hAlign==an||b.hAlign==bn?cn:b.hAlign==cn||b.hAlign==dn?an:"middle":b.hAlign==an||b.hAlign==bn?an:b.hAlign==cn||b.hAlign==dn?cn:"middle":b.hAlign==an||b.hAlign==dn?an:b.hAlign==cn||b.hAlign==bn?cn:"middle"):c.removeAttribute("text-anchor");c.style.opacity=b.opacity?b.opacity:"1"};g.hB=function(a){var b=a.P(),c=a.parent();(a.m||a.h)&&this.Ka(b,"x",c.j+a.h);this.Ka(b,"dy",a.b)};g.iB=function(a){var b=a.a,c=a.P(),d=a.parent();a=this.yo(a.text);c.appendChild(a);if(ii&&9==Ai||hi)d.Pc()?(c.removeAttribute("onselectstart"),c.removeAttribute("unselectable")):(this.Ka(c,"onselectstart","return false;"),this.Ka(c,"unselectable","on"));b.fontStyle&&this.Ka(c,"font-style",b.fontStyle);b.fontVariant&&this.Ka(c,"font-variant",b.fontVariant);b.fontFamily&&this.Ka(c,"font-family",b.fontFamily);b.fontSize&&this.Ka(c,"font-size",b.fontSize);b.fontWeight&&this.Ka(c,"font-weight",b.fontWeight);b.color&&this.Ka(c,"fill",b.color);b.letterSpacing&&this.Ka(c,"letter-spacing",b.letterSpacing);b.bk&&this.Ka(c,"text-decoration",b.bk)};function en(a,b,c){var d=fn(c,b.keys,b.cx,b.cy,b.fx,b.fy,b.opacity,b.mode,b.transform);if(!d.dr){var e=Pm("radialGradient");gn(a,e,d.id());a.appendChild(c.P(),e);d.xo=c;d.dr=!0;Mf(d.keys,function(a){var b=Pm("stop");Rm(this,b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+(isNaN(a.opacity)?d.opacity:a.opacity)});this.appendChild(e,b)},a);d.Rf?Rm(a,e,{cx:d.Bc*d.Rf.width+d.Rf.left,cy:d.vc*d.Rf.height+d.Rf.top,fx:d.a*d.Rf.width+d.Rf.left,fy:d.c*d.Rf.height+d.Rf.top,r:Math.min(d.Rf.width,d.Rf.height)/2,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"}):Rm(a,e,{cx:d.Bc,cy:d.vc,fx:d.a,fy:d.c,gradientUnits:"objectBoundingBox"});d.transform&&a.Ka(e,"gradientTransform",d.transform.toString())}return d.id()}
function hn(a,b,c,d){var e=jn(c,b.keys,b.opacity,!0===b.mode?Nm(b.angle,d):b.angle,b.mode,b.transform);if(!e.cr){var f=a.fE();gn(a,f,e.id());a.appendChild(c.P(),f);e.vo=c;e.cr=!0;Mf(e.keys,function(a){var b=Pm("stop");Rm(this,b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+(isNaN(a.opacity)?e.opacity:a.opacity)});this.appendChild(f,b)},a);e.a?(b=$m(e.eh,e.a),Rm(a,f,{x1:b.a,y1:b.b,x2:b.c,y2:b.g,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"})):(b=Zm(e.eh),Rm(a,f,{x1:b.a,y1:b.b,x2:b.c,y2:b.g,gradientUnits:"objectBoundingBox"}));e.transform&&a.Ka(f,"gradientTransform",e.transform.toString())}return e.id()}
function kn(a,b){var c=b.fill(),d=ln(b.oa()),e="url("+mn()+"#";if(u(c))a.Ka(b.P(),"fill",c),Qm(b.P());else if(r(c.keys)&&c.cx&&c.cy)a.Ka(b.P(),"fill",e+en(a,c,d)+")"),Qm(b.P());else if(r(c.keys))b.Fa()&&(a.Ka(b.P(),"fill",e+hn(a,c,d,b.Fa())+")"),Qm(b.P()));else if(c.src){var f=b.Cg();f?(f.width=f.width||0,f.height=f.height||0,f.left=f.left||0,f.top=f.top||0):f=new M(0,0,0,0);c.mode==nn?on(d,c.src,f,c.mode,c.opacity,function(a){a.id();a.parent(b.oa()).be();pn.Ka(b.P(),"fill",e+a.id()+")")}):(d=on(d,c.src,f,c.mode,c.opacity),d.id(),d.parent(b.oa()).be(),a.Ka(b.P(),"fill",e+d.id()+")"))}else c instanceof qn?(c=rn(d,c.type,c.color,c.a,c.size),c.id(),c.parent(b.oa()).be(),a.Ka(b.P(),"fill",e+c.id()+")")):c instanceof sn?(c.id(),c.parent(b.oa()).be(),a.Ka(b.P(),"fill",e+c.id()+")")):(1E-4>=c.opacity&&ii&&yi("9")&&(c.opacity=1E-4),Rm(a,b.P(),{fill:c.color,"fill-opacity":c.opacity}))}
function tn(a,b){var c=b.stroke(),d=ln(b.oa()),e=b.P(),f="url("+mn()+"#";if(u(c))a.Ka(e,"stroke",c);else if(r(c.keys)&&c.cx&&c.cy)a.Ka(e,"stroke",f+en(a,c,d)+")");else if(r(c.keys)){if(!b.Fa())return;a.Ka(e,"stroke",f+hn(a,c,d,b.Fa())+")")}else a.Ka(e,"stroke",c.color);c.lineJoin?a.Ka(e,"stroke-linejoin",c.lineJoin):e.removeAttribute("stroke-linejoin");c.lineCap?a.Ka(e,"stroke-linecap",c.lineCap):e.removeAttribute("stroke-linecap");c.opacity?a.Ka(e,"stroke-opacity",c.opacity):e.removeAttribute("stroke-opacity");c.thickness?a.Ka(e,"stroke-width",c.thickness):e.removeAttribute("stroke-width");c.dash?a.Ka(e,"stroke-dasharray",c.dash):e.removeAttribute("stroke-dasharray")}g.yD=function(a){kn(this,a);tn(this,a)};g.OG=function(a){a.visible()?a.P().removeAttribute("visibility"):this.Ka(a.P(),"visibility","hidden")};g.Ql=function(a){var b=a.Rb;b&&!Uh(b)?this.Ka(a.P(),"transform",b.toString()):a.P().removeAttribute("transform")};g.GG=function(a){var b=a.Rb;b&&!Uh(b)?this.Ka(a.P(),"patternTransform",b.toString()):a.P().removeAttribute("patternTransform")};g.FG=Om.prototype.Ql;g.zG=Om.prototype.Ql;g.CG=Om.prototype.Ql;g.KG=Om.prototype.Ql;g.wG=Om.prototype.Ql;g.Kn=function(a,b,c){Rm(this,a,{width:b,height:c})};g.Rz=function(a,b){gn(this,a.P(),b)};function gn(a,b,c){b&&(c?a.Ka(b,"id",c):b.removeAttribute("id"))}
g.Uz=function(a,b){var c=a.P();c&&(null!=b?(a.ua||(a.ua=Pm("title"),this.Ka(a.ua,"aria-label","")),aj(a.ua)||Xi(c,a.ua),a.ua.innerHTML=b):a.ua&&c.removeChild(a.ua))};g.Pz=function(a,b){var c=a.P();c&&(null!=b?(a.T||(a.T=Pm("desc"),this.Ka(a.T,"aria-label","")),aj(a.T)||Xi(c,a.T),a.T.innerHTML=b):a.T&&c.removeChild(a.T))};g.sG=function(a,b){var c=a.P();if(c&&B(b))for(var d in b){var e=b[d];null===e?c.removeAttribute(d):this.Ka(c,d,e)}};g.gB=function(a,b){return a?a.getAttribute(b):void 0};g.vG=function(a,b){var c=a.P();c&&(b?this.Ka(c,"vector-effect","non-scaling-stroke"):c.removeAttribute("vector-effect"))};g.BG=ba;g.tG=function(a){Rm(this,a.P(),{cx:a.nh(),cy:a.oh(),r:a.Yb()})};g.Qz=function(a){Rm(this,a.P(),{cx:a.nh(),cy:a.oh(),rx:a.Dh(),ry:a.Mj()})};g.EG=function(a){var b=Tm(a);b?this.Ka(a.P(),"d",b):this.Ka(a.P(),"d","M 0,0")};g.uE=function(a){for(var b=a.g,c=0;c<b.length;c++)b[c].P()&&un(b[c]),b[c].clip(null);a=a.id();if(a=Ji(a)){if(m(a.firstElementChild))b=a.firstElementChild;else for(b=a.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;Yi(b);Yi(a)}};function un(a){a.P().removeAttribute("clip-path");a.P().removeAttribute("clipPathUnits")}
g.Nz=function(a){var b=a.clip();if(b){var c;b instanceof vn&&(c=b.id());if(!c){c=ln(a.oa());var d=wn(c,b),e=Am(zm.Xc(),d,"clip"),f;aj(d)!=c.P()&&(this.Ka(d,"clip-rule","nonzero"),gn(this,d,e),xn(b,a.oa()),b.id(e),b=b.tg(),b.be(),f=b.P());f&&(this.appendChild(d,f),this.appendChild(c.P(),d));c=e}b=c;c=mn();Rm(this,a.P(),{"clip-path":"url("+c+"#"+b+")",clipPathUnits:"userSpaceOnUse"})}else un(a)};g.HG=function(a){a.fb()?this.Ka(a.P(),"pointer-events","none"):a.P().removeAttribute("pointer-events")};function yn(a,b){xd.call(this);this.a=b||{};this.text=a;this.m=!1;this.y=this.x=this.b=this.h=this.height=this.width=this.c=0}G(yn,xd);g=yn.prototype;g.Kk=null;g.iv=null;g.parent=function(a){return m(a)?(this.iv=a,this):this.iv};g.P=function(){return this.Kk};g.Zf=function(){return"tSegment"};g.V=function(){Yi(this.Kk);this.Kk=null;yn.v.V.call(this)};function zn(a,b){var c=a.left,d=a.top;b=b.toLowerCase();switch(b){case"leftcenter":case"centerleft":case"left":case"lc":case"cl":case"l":d+=a.height/2;break;case"leftbottom":case"bottomleft":case"lb":case"bl":d+=a.height;break;case"centertop":case"topcenter":case"top":case"ct":case"tc":case"t":c+=a.width/2;break;case"centercenter":case"center":case"c":c+=a.width/2;d+=a.height/2;break;case"centerbottom":case"bottomcenter":case"bottom":case"cb":case"bc":case"b":c+=a.width/2;d+=a.height;break;case"righttop":case"topright":case"tr":case"rt":c+=a.width;break;case"rightcenter":case"centerright":case"right":case"rc":case"cr":case"r":c+=a.width;d+=a.height/2;break;case"rightbottom":case"bottomright":case"rb":case"br":c+=a.width,d+=a.height}return[c,d]}var nn="tile";function An(a){var b,c,d,e=a.trim().replace(/\(\s+/gi,"(").replace(/\s+\)/gi,")").replace(/(\s+,\s+)|(\s+)/gi,",").replace(/(\)),*(\w)/gi,"$1 $2").split(" "),f=new Th;a=0;for(d=e.length;a<d;a++){b=/^(matrix|translate|rotate|scale|skewX|skewY)\(([e\d.,-]+)\)/i.exec(e[a]);var h=b[1],k=b[2].split(",");b=0;for(c=k.length;b<c;b++)k[b]=parseFloat(k[b]);switch(h){case"matrix":h=new Th(k[0],k[1],k[2],k[3],k[4],k[5]);Xh(f,h);break;case"translate":Vh(f,k[0],k[1]||0);break;case"rotate":Xh(f,Zh(Bh(k[0]),k[1]||0,k[2]||0));break;case"scale":f.scale(k[0],k[1]||0);break;case"skewX":Wh(f,Math.tan(Bh(k[0])),0);break;case"skewY":Wh(f,0,Math.tan(Bh(k[0])))}}return f}
function Bn(a,b,c,d,e,f,h){var k,l,n,p,q,t;if(u(a))k=Cn(a,!1),u(k)&&m(b)&&(d=parseFloat(b),k={color:a,opacity:isNaN(d)?1:ub(d,0,1)});else if(r(a)){l=zb(a,0);for(p=l.length;p--;)n=l[p],u(n)&&(n=Dn(n)),isNaN(n.offset)&&(n.offset=p/(l.length-1)),l[p]=n;n=zb(l,0);n.sort(function(a,b){return a.offset-b.offset});0!=n[0].offset&&(t={offset:0,color:l[0].color},m(l[0].opacity)&&!isNaN(l[0].opacity)&&(t.opacity=ub(l[0].opacity,0,1)),l.unshift(t));1!=n[n.length-1].offset&&(t={offset:1,color:l[l.length-1].color},m(l[l.length-1].opacity)&&!isNaN(l[l.length-1].opacity)&&(t.opacity=ub(l[l.length-1].opacity,0,1)),l.push(t));y(b)&&!isNaN(b)&&y(c)&&!isNaN(c)?(b=b||0,c=c||0,k={keys:l,cx:b,cy:c,mode:En(d),fx:isNaN(f)?b:+f,fy:isNaN(h)?c:+h,opacity:ub(m(e)?e:1,0,1)}):k={keys:l,angle:+b||0,mode:En(c)||!!c,opacity:ub(isNaN(+d)?1:+d,0,1)}}else if(B(a))if(a instanceof sn)k=a;else if("pattern"==a.type)delete a.id,k=a.bounds,k=new M(k.left,k.top,k.width,k.height),k=Fn(k),k.Pb(a);else if("keys"in a){l=zb(a.keys,0);for(p=l.length;p--;)n=l[p],u(n)?t=Dn(n):(u(n.color)?q=n.color:q=r(n.color)?Kh(n.color):"black",t={offset:n.offset,color:q},isNaN(n.opacity)||(t.opacity=ub(n.opacity,0,1))),isNaN(t.offset)&&(t.offset=p/(l.length-1)),l[p]=t;n=zb(l,0);n.sort(function(a,b){return a.offset-b.offset});0!=n[0].offset&&(t={offset:0,color:l[0].color},m(l[0].opacity)&&!isNaN(l[0].opacity)&&(t.opacity=ub(l[0].opacity,0,1)),l.unshift(t));1!=n[n.length-1].offset&&(t={offset:1,color:l[l.length-1].color},m(l[l.length-1].opacity)&&!isNaN(l[l.length-
1].opacity)&&(t.opacity=ub(l[l.length-1].opacity,0,1)),l.push(t));d=ub(m(a.opacity)?a.opacity:1,0,1);e=En(a.mode);b=a.cx;c=a.cy;y(b)&&!isNaN(b)&&y(c)&&!isNaN(c)?k={keys:l,cx:+b,cy:+c,mode:e,fx:isNaN(a.fx)?+a.cx:+a.fx,fy:isNaN(a.fy)?+a.cy:+a.fy,opacity:d}:k={keys:l,angle:+a.angle||0,mode:e||!!a.mode,opacity:d};a=a.transform;null!=a&&(a instanceof Th?k.transform=a:B(a)?(k.transform=new Th,k.transform.setTransform(a.m00,a.m10,a.m01,a.m11,a.m02,a.m12)):u(a)&&(k.transform=An(a)))}else"src"in a?k={src:a.src,mode:m(a.mode)?a.mode:"stretch",opacity:ub(m(a.opacity)?a.opacity:1,0,1)}:(q=u(a.color)?a.color:"black",isNaN(a.opacity)?k=q:k={color:q,opacity:ub(a.opacity,0,1)});else k="none";return k}
function Gn(a,b,c,d,e){var f;if(null===a)f="none";else{if(u(a)){f=Jf(a,1);var h=parseFloat(f[0]);isNaN(h)||(a=f[1],b=h)}f=B(a);b=parseFloat(f&&"thickness"in a?a.thickness:b);if(0==b)return"none";var h=f&&"dash"in a,k=f&&"lineJoin"in a,l=f&&"lineCap"in a;f=Bn(a);if("none"==f)return f;f=f instanceof sn?"black":f;if(!isNaN(b)||h||k||l||m(c)||m(d)||m(e))u(f)&&(f={color:f}),isNaN(b)||(f.thickness=b),h?f.dash=a.dash||"none":null!=c&&(f.dash=c||"none"),k?f.lineJoin=a.lineJoin||"none":null!=d&&(f.lineJoin=d||"none"),l?f.lineCap=a.lineCap||"none":null!=e&&(f.lineCap=e||"none")}return f}function Hn(a,b,c,d){if(u(a)&&"none"==a.toLowerCase())return null;u(a)||y(a)?b=In(a,b,m(c)?parseFloat(c):void 0,m(d)?parseFloat(d):void 0):a instanceof sn?b=a:B(a)?"pattern"==a.type?(delete a.id,b=a.bounds,b=new M(b.left,b.top,b.width,b.height),b=Fn(b),b.Pb(a)):b=In(a.type,a.color,a.thickness,a.size):b=null;return b}
function Jn(a,b,c){m(c)||(c="a4");c=cm[c];var d;m(a)&&m(b)?u(a)&&ia(b)?(d=cm[a])&&(b?c={width:d.height,height:d.width}:c=d):(c.width=a.toString(),c.height=b.toString()):m(a)&&((d=cm[a.toString()])?c=d:c.width=a.toString());of(c.width,"px")||(c.width+="px");of(c.height,"px")||(c.height+="px");return c}function En(a){if(null!=a){if(a instanceof M)return a;if(B(a)&&!isNaN(a.left)&&!isNaN(a.top)&&!isNaN(a.width)&&!isNaN(a.height))return new M(a.left,a.top,a.width,a.height)}return null}
function Cn(a,b){var c=a.split(" "),d=1<c.length?ub(+c[c.length-1],0,1):NaN;if(isNaN(d)){if(b)return{color:a};d=1}else c.pop(),a=c.join(" ");return b||1!=d?{color:a,opacity:d}:a}function Dn(a){var b=Jf(a,1),c=NaN;1<b.length&&(c=parseFloat(b[0]),a=isNaN(c)?a:b[1]);a=Cn(a,!0);isNaN(c)||(a.offset=ub(c,0,1));return a}function Qd(a){var b=a.thickness;return"none"==a?0:isNaN(b)||null===b?1:b}E("acgraph.vector.Anchor.CENTER","center");E("acgraph.vector.Anchor.CENTER_BOTTOM","centerBottom");E("acgraph.vector.Anchor.CENTER_TOP","centerTop");E("acgraph.vector.Anchor.LEFT_BOTTOM","leftBottom");E("acgraph.vector.Anchor.LEFT_CENTER","leftCenter");E("acgraph.vector.Anchor.LEFT_TOP","leftTop");E("acgraph.vector.Anchor.RIGHT_BOTTOM","rightBottom");E("acgraph.vector.Anchor.RIGHT_CENTER","rightCenter");E("acgraph.vector.Anchor.RIGHT_TOP","rightTop");E("acgraph.vector.Cursor.DEFAULT","default");E("acgraph.vector.Cursor.CROSSHAIR","crosshair");E("acgraph.vector.Cursor.POINTER","pointer");E("acgraph.vector.Cursor.MOVE","move");E("acgraph.vector.Cursor.TEXT","text");E("acgraph.vector.Cursor.WAIT","wait");E("acgraph.vector.Cursor.HELP","help");E("acgraph.vector.Cursor.N_RESIZE","n-resize");E("acgraph.vector.Cursor.NE_RESIZE","ne-resize");E("acgraph.vector.Cursor.E_RESIZE","e-resize");E("acgraph.vector.Cursor.SE_RESIZE","se-resize");E("acgraph.vector.Cursor.S_RESIZE","s-resize");E("acgraph.vector.Cursor.SW_RESIZE","sw-resize");E("acgraph.vector.Cursor.W_RESIZE","w-resize");E("acgraph.vector.Cursor.NW_RESIZE","nw-resize");E("acgraph.vector.ImageFillMode.FIT","fit");E("acgraph.vector.ImageFillMode.FIT_MAX","fitMax");E("acgraph.vector.ImageFillMode.STRETCH","stretch");E("acgraph.vector.ImageFillMode.TILE",nn);E("acgraph.vector.PaperSize.US_LETTER","usletter");E("acgraph.vector.PaperSize.A0","a0");E("acgraph.vector.PaperSize.A1","a1");E("acgraph.vector.PaperSize.A2","a2");E("acgraph.vector.PaperSize.A3","a3");E("acgraph.vector.PaperSize.A4","a4");E("acgraph.vector.PaperSize.A5","a5");E("acgraph.vector.PaperSize.A6","a6");E("acgraph.vector.StrokeLineJoin.MITER","miter");E("acgraph.vector.StrokeLineJoin.ROUND","round");E("acgraph.vector.StrokeLineJoin.BEVEL","bevel");E("acgraph.vector.StrokeLineCap.BUTT","butt");E("acgraph.vector.StrokeLineCap.ROUND","round");E("acgraph.vector.StrokeLineCap.SQUARE","square");E("acgraph.vector.normalizeFill",Bn);E("acgraph.vector.normalizeStroke",Gn);E("acgraph.vector.normalizeHatchFill",Hn);function vn(a,b,c,d,e){xd.call(this);this.c=a;this.b=!1;this.g=[];this.a=this.Qb=null;this.tg.apply(this,zb(arguments,1))}G(vn,xd);function xn(a,b){if(m(b)){a.c=b;if(a.b){var c=a.c;c.Jc()?c.c.push(a):a.be()}return a}return a.c}g=vn.prototype;g.tg=function(a,b,c,d){if(arguments.length){if(a instanceof Kn)this.a?this.a instanceof Ln&&a instanceof Ln||this.a instanceof Rn&&a instanceof Rn||this.a instanceof Sn&&a instanceof Sn||this.a instanceof Tn&&a instanceof Tn?this.a.Pb(a.o()):(this.a.parent(null),this.a=a,this.a.parent(this)):(this.a=a,this.a.parent(this));else{var e,f,h,k;a instanceof M?(e=a.left,f=a.top,h=a.width,k=a.height):r(a)?(e=null!=a[0]?a[0]:0,f=null!=a[1]?a[1]:0,h=null!=a[2]?a[2]:0,k=null!=a[3]?a[3]:0):B(a)?(e=null!=a.left?a.left:0,f=null!=a.top?a.top:0,h=null!=a.width?a.width:0,k=null!=a.height?a.height:0):(e=null!=a?a:0,f=null!=b?b:0,h=null!=c?c:0,k=null!=d?d:0);this.a?this.a instanceof Ln?this.a.Mn(e).Nn(f).Ln(h).In(k):(this.a.parent(null),this.a=Un(e,f,h,k),this.a.parent(this)):(this.a=Un(e,f,h,k),this.a.parent(this))}return this}return this.a};function Vn(a){if(!a.b&&(a.b=!0,a.c)){var b=a.c;b.Jc()?b.c.push(a):a.be()}}g.id=function(a){return m(a)?(this.Qb=a,this):this.Qb};g.be=function(){this.b=!1;if(this.Qb){var a=pn,b=this.tg();if(b.P())this.tg().be();else{var c=wn(ln(this.oa()),this);b.be();b=b.P();a.appendChild(c,b)}}};g.o=function(){return this.a.o()};g.Pb=function(a){var b;switch(a.type){case"rect":b=Un();break;case"circle":b=Wn();break;case"ellipse":b=Xn();break;case"path":b=Yn();break;default:b=null}b&&(b.Pb(a),this.tg(b))};g.Fc=function(a){a.remove();Zn(a,this);Vn(this);return this};g.removeChild=function(a){Zn(a,null);var b=a.P();b&&Yi(b);Vn(this);return a};g.Zd=function(){return null};g.Mt=function(){};g.oa=function(){return xn(this)};g.za=function(){Vn(this)};g.Sd=function(){vn.v.Sd.call(this)};g.V=function(){this.c&&Vf(this.c.c,this);pn.uE(this);this.a.Sd();delete this.c;delete this.Qb;delete this.g;delete this.b;delete this.a;vn.v.V.call(this)};vn.prototype.shape=vn.prototype.tg;vn.prototype.dispose=vn.prototype.Sd;function $n(){Oj.call(this);this.Ub=this.Ea=!1;this.nb=this.T=this.eb=this.ua=null;this.Ia={};this.za(ao)}G($n,Oj);var ao=4294967295;g=$n.prototype;g.dv=!1;g.Sx=null;g.Cn=null;g.Yq=null;g.Je=null;g.Ml=null;g.ev=!0;g.Ff=null;g.tE=!1;g.Rb=null;g.hq=null;g.Pp=null;g.Qb=void 0;g.Ah=0;g.yf=506631;g.Rh=0;g.id=function(a){if(m(a))return a=a||"",this.Qb!==a&&(this.Qb=a,this.za(2048)),this;m(this.Qb)||this.id(Bm(zm.Xc(),this));return this.Qb};g.oa=function(){var a=this.parent();return a?a.oa():null};g.P=function(){return this.Yq};g.parent=function(a){if(m(a)){if(a){var b=this.oa(),b=null!=b&&b!=a.oa();a.Fc(this);b&&bo(this)}else this.remove();return this}return this.Je};function bo(a){var b,c=a.clip();c&&c.id(null);if(a.wb&&(b=a.wb())){for(c=0;c<b;c++)bo(a.Td(c));a.za(512)}else a.za(536)}g.Yp=function(){return!!this.Je};g.remove=function(){this.Yp()&&this.Je.removeChild(this);return this};g.title=function(a){return m(a)?(this.eb!=a&&(this.eb=a,this.za(65536)),this):this.eb};g.mH=function(a){return m(a)?(this.nb!=a&&(this.nb=a,this.za(131072)),this):this.nb};g.me=function(a,b){return m(b)?(this.Ia[a]!==b&&(this.Ia[a]=b,this.za(262144)),this):a in this.Ia?this.Ia[a]:pn.gB(this.Yq,a)};g.$c=function(a){return m(a)?(this.Sx=a,this.Rx(),this):this.Sx};g.Rx=function(){this.za(4096)};g.Qt=function(){this.za(4096)};g.yc=function(a){return!!(this.Rh&a)};g.za=function(a){if(a&=this.yf)this.Rh|=a,this.Je&&this.Je.za(64),a=this.oa(),!a||a.Jc()||a.Ik||this.dv||this.be()};function co(a,b){a.Rh&=~b}function Zn(a,b){if(!a.Je||a.Je!=b){if(a==b)throw pl(4);a.Ml?a.Ml==b&&(a.Ml=null):a.Ml=a.Je;a.Je=b;a.La(b)}return a}function eo(a,b){a.Ml&&(b&&a.Ml.Mt(a),a.Ml=null);a.wc&&a.$s()}g.kj=ba;g.yh=function(){this.Pp=this.hq=null;fo(this);this.za(4);pn.Jt()&&(this.Ff?go(this):this.Je&&this.Je.Dp())};g.lk=function(){this.Pp=null;fo(this);pn.sq()&&this.za(256);pn.Jt()&&(this.Ff?go(this):this.Je&&this.Je.Dp())};g.Zd=function(){if(!this.Pp){var a=this.Je?this.Je.Zd():null;this.Pp=Yl(a,this.Rb)}return this.Pp};g.Ch=function(a,b,c){this.kj();a=Zh(Bh(a),b||0,c||0);if(this.Rb){b=this.Rb;c=b.a;var d=b.c;b.a=a.a*c+a.b*d;b.c=a.c*c+a.g*d;c=b.b;d=b.g;b.b=a.a*c+a.b*d;b.g=a.c*c+a.g*d;c=b.h;d=b.j;b.h=a.a*c+a.b*d+a.h;b.j=a.c*c+a.g*d+a.j}else this.Rb=a;this.yh();return this};g.xq=function(a,b){var c=zn(this.Fa(),b||"center");return this.Ch(a,c[0],c[1])};g.Gq=function(a,b,c){return this.Ch(a-this.mn(),b,c)};g.Jn=function(a,b){return this.xq(a-this.mn(),b)};g.bh=function(a,b){this.kj();this.Rb?Vh(this.Rb,a,b):this.Rb=(new Th).setTransform(1,0,0,1,a,b);this.yh();return this};g.uo=function(a,b){var c=[a,b,this.Zq(),this.$q()];this.Rb&&(this.hq||(this.hq=this.Rb?Yh(this.Rb):null),this.hq.transform(c,0,c,0,2));return this.bh(c[0]-c[2],c[1]-c[3])};g.sQ=function(a,b){this.kj();if(this.Rb){var c=this.Rb.h,d=this.Rb.j;if(a==c&&b==d)return this;var e=this.Rb;e.h+=a-c;e.j+=b-d}else this.Rb=(new Th).setTransform(1,0,0,1,a,b);this.yh();return this};g.scale=function(a,b,c,d){this.kj();this.Rb||(this.Rb=new Th);var e=this.Rb;e.a*=a;e.b*=a;e.h*=a;e.c*=b;e.g*=b;e.j*=b;e=this.Rb;e.h+=(c||0)*(1-a);e.j+=(d||0)*(1-b);this.yh();return this};g.iu=function(a,b,c){c=zn(this.Fa(),c||"center");return this.scale(a,b,c[0],c[1])};g.rs=function(a,b,c,d,e,f){this.kj();this.Rb?Xh(this.Rb,new Th(a,b,c,d,e,f)):this.Rb=new Th(a,b,c,d,e,f);this.yh();return this};g.fc=function(a,b,c,d,e,f){this.kj();this.Rb?this.Rb.setTransform(a,b,c,d,e,f):this.Rb=new Th(a,b,c,d,e,f);this.yh();return this};g.mn=function(){return bm(this.Rb)};g.it=function(){return this.Rb?[this.Rb.a,this.Rb.c,this.Rb.b,this.Rb.g,this.Rb.h,this.Rb.j]:[1,0,0,1,0,0]};g.pj=function(){return null};g.be=function(){this.dv=!0;if(this.wc||!this.oa())return this;if(this.yc(1)){var a=this.oa(),b;if(b=a)b=0<a.zo(1);b&&(this.Yq=this.pj(),ho(this),co(this,1));if(this.yc(1))return this;this.Ea&&this.dk(this.Ea)}this.Re();this.dv=!1;return this};g.Re=function(){this.yc(262144)&&(pn.sG(this,this.Ia),this.Ia={},co(this,262144));this.yc(2)&&(pn.OG(this),co(this,2));this.yc(4096)&&this.gG();this.yc(8192)&&(pn.HG(this),co(this,8192));(this.yc(4)||this.yc(256))&&this.Nl();this.yc(512)&&(pn.Nz(this),co(this,512));this.yc(32768)&&(pn.vG(this,this.Ub),co(this,32768));this.yc(65536)&&(pn.Uz(this,this.eb),co(this,65536));this.yc(131072)&&(pn.Pz(this,this.nb),co(this,131072));this.yc(2048)&&(pn.Rz(this,this.Qb||""),co(this,2048))};g.Nl=function(){pn.Ql(this);co(this,4);co(this,256)};g.gG=function(){pn.uG(this,this.Sx||this.Cn);co(this,4096)};g.La=function(a){if(this.Je&&this.Je!==a)throw pl(4);$n.v.La.call(this,a)};g.fb=function(a){if(!m(a))return this.tE;this.tE=!!a;this.za(8192);return this};g.dispatchEvent=function(a){u(a)?a=a.toLowerCase():"type"in a&&(a.type=String(a.type).toLowerCase());return $n.v.dispatchEvent.call(this,a)};g.pa=function(a,b,c,d){return $n.v.pa.call(this,String(a).toLowerCase(),b,c,d)};g.qf=function(a,b,c,d){return $n.v.qf.call(this,String(a).toLowerCase(),b,c,d)};g.Ec=function(a,b,c,d){return $n.v.Ec.call(this,String(a).toLowerCase(),b,c,d)};g.Hg=function(a){m(a)&&(a=String(a).toLowerCase());return $n.v.Hg.call(this,a)};g.zIndex=function(a){return m(a)?(a=+a||0,this.Ah!=a&&(this.Ah=a,this.Je&&this.Je.za(128)),this):this.Ah||0};g.visible=function(a){if(0==arguments.length)return this.ev;this.ev!=a&&(this.ev=null!=a?a:!0,this.za(2));return this};g.Wx=function(a){return m(a)?(a=!!a,this.Ub!=a&&(this.Ub=null!=a?a:!0,this.za(32768)),this):this.Ub};g.clip=function(a){if(0==arguments.length)return this.Ff;var b="none"==a?null:a;if(!this.Ff&&!b||this.Ff&&this.Ff===b)return this;!b||b instanceof vn?this.Ff=b||null:b instanceof Kn&&b.Yp()&&b.parent()instanceof vn?(this.Ff&&!this.Ff.wc&&Vf(this.Ff.g,this),this.Ff=b.parent(),b=this.Ff.g,Tf(b,this)||b.push(this)):this.Ff?this.Ff.tg(b):(this.Ff=io(b),b=this.Ff.g,Tf(b,this)||b.push(this));go(this);return this};function go(a){a.Je&&a.Je.Dp();a.za(512)}g.Md=null;g.Zq=function(){return(this.Md||this.Fa()).left};g.$q=function(){return(this.Md||this.Fa()).top};g.ng=function(){return(this.Md||this.Fa()).width};g.Wg=function(){return(this.Md||this.Fa()).height};g.Fa=function(){return this.Ug(this.Rb)};g.Ld=null;g.TN=function(){return(this.Ld||this.Qp()).left};g.UN=function(){return(this.Ld||this.Qp()).top};g.SN=function(){return(this.Ld||this.Qp()).width};g.RN=function(){return(this.Ld||this.Qp()).height};g.Qp=function(){return this.Ug(this.Zd())};g.Cg=function(){return this.Ug(null)};function fo(a){a.Md=null;a.Ld=null}g.dk=function(a){if(null!=a){if((this.Ea=a)&&!this.yc(1)){a=a instanceof M?this.Ea:null;var b=this.W?this.W:this.W=new Ol(this);b.enabled(!0);b.DG(a)}else this.W&&this.W.enabled(!1);return this}return this.Ea};g.Pb=function(a){"id"in a&&this.id(a.id);if("clip"in a){var b=io();b.Pb(a.clip);this.clip(b)}"drag"in a&&(b=a.drag,this.dk(ia(b)?b:new M(b.left,b.top,b.width,b.height)));"cursor"in a&&this.$c(a.cursor);"transformation"in a&&this.fc.apply(this,a.transformation)};g.o=function(){var a={};this.Qb&&(a.id=this.Qb);var b=this.clip();b&&(a.clip=b.o());(b=this.$c())&&(a.cursor=b);(b=this.dk())&&(a.drag=b);(b=this.Rb)&&(a.transformation=[b.a,b.c,b.b,b.a,b.h,b.j]);return a};g.Sd=function(){$n.v.Sd.call(this)};g.V=function(){this.Yp()?this.remove():this.$s();$n.v.V.call(this)};g.$s=function(){Ad(this.kc);this.kc=null;Zn(this,null);jo(this);this.hq=this.Rb=this.Ff=this.Sa=this.Yq=null};$n.prototype.id=$n.prototype.id;$n.prototype.visible=$n.prototype.visible;$n.prototype.disableStrokeScaling=$n.prototype.Wx;$n.prototype.domElement=$n.prototype.P;$n.prototype.parent=$n.prototype.parent;$n.prototype.hasParent=$n.prototype.Yp;$n.prototype.remove=$n.prototype.remove;$n.prototype.attr=$n.prototype.me;$n.prototype.title=$n.prototype.title;$n.prototype.desc=$n.prototype.mH;$n.prototype.getStage=$n.prototype.oa;$n.prototype.cursor=$n.prototype.$c;$n.prototype.disablePointerEvents=$n.prototype.fb;$n.prototype.rotate=$n.prototype.Ch;$n.prototype.rotateByAnchor=$n.prototype.xq;$n.prototype.setRotation=$n.prototype.Gq;$n.prototype.setRotationByAnchor=$n.prototype.Jn;$n.prototype.translate=$n.prototype.bh;$n.prototype.setTranslation=$n.prototype.sQ;$n.prototype.setPosition=$n.prototype.uo;$n.prototype.scale=$n.prototype.scale;$n.prototype.scaleByAnchor=$n.prototype.iu;$n.prototype.appendTransformationMatrix=$n.prototype.rs;$n.prototype.setTransformationMatrix=$n.prototype.fc;$n.prototype.getRotationAngle=$n.prototype.mn;$n.prototype.getTransformationMatrix=$n.prototype.it;$n.prototype.clip=$n.prototype.clip;$n.prototype.zIndex=$n.prototype.zIndex;$n.prototype.getX=$n.prototype.Zq;$n.prototype.getY=$n.prototype.$q;$n.prototype.getWidth=$n.prototype.ng;$n.prototype.getHeight=$n.prototype.Wg;$n.prototype.getBounds=$n.prototype.Fa;$n.prototype.getAbsoluteX=$n.prototype.TN;$n.prototype.getAbsoluteY=$n.prototype.UN;$n.prototype.getAbsoluteWidth=$n.prototype.SN;$n.prototype.getAbsoluteHeight=$n.prototype.RN;$n.prototype.getAbsoluteBounds=$n.prototype.Qp;$n.prototype.listen=$n.prototype.pa;$n.prototype.listenOnce=$n.prototype.qf;$n.prototype.unlisten=$n.prototype.Ec;$n.prototype.unlistenByKey=$n.prototype.Tl;$n.prototype.removeAllListeners=$n.prototype.Hg;$n.prototype.drag=$n.prototype.dk;$n.prototype.dispose=$n.prototype.Sd;function ko(a,b,c,d,e,f,h){this.b=a||null;this.uc=f||lo;this.a=h||mo;this.ma=new M(b||0,c||0,d||0,e||0);this.c=1;$n.call(this)}G(ko,$n);var mo="meet",lo="none";g=ko.prototype;g.yf=$n.prototype.yf|32;g.Zf=function(){return"image"};g.kn=function(a){return null!=a?(a!=this.a&&(this.a=a,this.za(32)),this):this.a};g.Fk=function(a){return null!=a?(a!=this.uc&&(this.uc=a,this.za(32)),this):this.uc};g.x=function(a){return null!=a?(a!=this.ma.left&&(this.ma.left=a,this.za(32),fo(this)),this):this.ma.left};g.y=function(a){return null!=a?(a!=this.ma.top&&(this.ma.top=a,this.za(32),fo(this)),this):this.ma.top};g.width=function(a){return null!=a?(a!=this.ma.width&&(this.ma.width=a,this.za(32),fo(this)),this):this.ma.width};g.height=function(a){return null!=a?(a!=this.ma.height&&(this.ma.height=a,this.za(32),fo(this)),this):this.ma.height};g.src=function(a){return m(a)?(a!=this.b&&(this.b=a,this.za(32)),this):this.b};g.opacity=function(a){return m(a)?(a!=this.c&&(this.c=a,this.za(32)),this):this.c};g.Cg=function(){return this.ma.clone()};g.Ug=function(a){var b=a==this.Rb,c=a==this.Zd();if(this.Md&&b)return this.Md.clone();if(this.Ld&&c)return this.Ld.clone();a=Zl(this.ma.clone(),a);b&&(this.Md=a.clone());c&&(this.Ld=a.clone());return a};g.pj=function(){return pn.cE()};g.Re=function(){this.yc(32)&&(pn.sq()&&this.za(4),pn.yG(this),co(this,32));ko.v.Re.call(this)};g.Nl=function(){pn.zG(this);co(this,4);co(this,256)};g.Pb=function(a){var b=a.bounds;this.x(b.left).y(b.top).width(b.width).height(b.height).src(a.src).Fk(a.align).kn(a.fittingMode);ko.v.Pb.call(this,a)};g.o=function(){var a=ko.v.o.call(this);a.type="image";a.bounds=this.Cg();a.src=this.src();a.align=this.Fk();a.fittingMode=this.kn();return a};g.V=function(){this.ma=null;fo(this);ko.v.V.call(this)};E("acgraph.vector.Image",ko);ko.prototype.fittingMode=ko.prototype.kn;ko.prototype.align=ko.prototype.Fk;ko.prototype.x=ko.prototype.x;ko.prototype.y=ko.prototype.y;ko.prototype.width=ko.prototype.width;ko.prototype.height=ko.prototype.height;ko.prototype.src=ko.prototype.src;E("acgraph.vector.Image.Fitting.MEET",mo);E("acgraph.vector.Image.Fitting.SLICE","slice");E("acgraph.vector.Image.Align.NONE",lo);E("acgraph.vector.Image.Align.X_MIN_Y_MIN","xMinYMin");E("acgraph.vector.Image.Align.X_MID_Y_MIN","xMidYMin");E("acgraph.vector.Image.Align.X_MAX_Y_MIN","xMaxYMin");E("acgraph.vector.Image.Align.X_MIN_Y_MID","xMinYMid");E("acgraph.vector.Image.Align.X_MID_Y_MID","xMidYMid");E("acgraph.vector.Image.Align.X_MAX_Y_MID","xMaxYMid");E("acgraph.vector.Image.Align.X_MIN_Y_MAX","xMinYMax");E("acgraph.vector.Image.Align.X_MID_Y_MAX","xMidYMax");E("acgraph.vector.Image.Align.X_MAX_Y_MAX","xMaxYMax");function no(){this.children=[];this.b=[];$n.call(this)}G(no,$n);g=no.prototype;g.Zf=function(){return"layer"};g.yf=$n.prototype.yf|224;g.za=function(a){no.v.za.call(this,a);a&192&&fo(this)};g.Fc=function(a){return this.jf(a,this.wb())};g.jf=function(a,b){a.remove();b=ub(b,0,this.wb());Za(this.children,a,b);Zn(a,this);a.Rh&&this.za(64);this.za(128);a.lk();if(this.$c()||this.Cn)a.Qt(),a.Cn=this.$c()||this.Cn;return this};g.Td=function(a){return this.children[a]||null};g.se=function(a){return Lf(this.children,a)};g.removeChild=function(a){return this.ar(this.se(a))};g.ar=function(a){var b=null;0<=a&&a<this.wb()&&(b=this.wc?this.children[a]:fb(this.children,a,1)[0],Zn(b,null),this.za(128));return b};g.br=function(){for(var a=0;a<this.wb();a++)Zn(this.children[a],null);a=this.children;this.wc||(this.children=[]);this.za(128);return a};g.ZA=function(a,b){return this.hv(this.se(a),this.se(b))};g.hv=function(a,b){if(0>a||a>=this.wb()||0>b||b>=this.wb())throw pl(8);if(a!=b){var c=this.children[a];this.children[a]=this.children[b];this.children[b]=c;this.za(128)}return this};g.NA=function(a){return!!a&&Tf(this.children,a)};g.wb=function(){return this.children.length};g.dh=function(a,b){m(b)||(b=this);Mf(this.children,a,b);return this};g.Of=function(){var a=oo();a.parent(this);return a};g.eB=function(){var a;a=new po(void 0);a.parent(this);return a};g.text=function(a,b,c,d){a=qo(a,b);d&&a.style(d);c&&a.text(c);a.parent(this);return a};g.OA=function(a,b,c,d){a=qo(a,b);d&&a.style(d);c&&a.htmlText(c);a.parent(this);return a};g.rect=function(a,b,c,d){a=Un(a,b,c,d);a.parent(this);return a};g.Gk=function(a,b,c,d,e){a=ro(a,b,c,d,e);a.parent(this);return a};g.SA=function(a,b){Za(arguments,this.path(),0);return so.apply(this,arguments).parent(this)};g.RA=function(a,b){Za(arguments,this.path(),0);return to.apply(this,arguments).parent(this)};g.dB=function(a,b){Za(arguments,this.path(),0);return uo.apply(this,arguments).parent(this)};g.fv=function(a,b,c){a=Wn(a,b,c);a.parent(this);return a};g.gv=function(a,b,c,d){a=Xn(a,b,c,d);a.parent(this);return a};g.path=function(){return Yn().parent(this)};g.TA=function(a,b,c,d,e,f,h){return vo(this.path(),a,b,c,d,e,f,h).parent(this)};g.VA=function(a,b,c){return wo(this.path(),a,b,c).parent(this)};g.WA=function(a,b,c){return xo(this.path(),a,b,c).parent(this)};g.XA=function(a,b,c){return yo(this.path(),a,b,c).parent(this)};g.YA=function(a,b,c){return zo(this.path(),a,b,c).parent(this)};g.UA=function(a,b,c){return Ao(this.path(),a,b,c).parent(this)};g.cB=function(a,b,c){return Bo(this.path(),a,b,c).parent(this)};g.$A=function(a,b,c){return Co(this.path(),a,b,c).parent(this)};g.bB=function(a,b,c){return Do(this.path(),a,b,c).parent(this)};g.aB=function(a,b,c){return Eo(this.path(),a,b,c).parent(this)};g.KA=function(a,b,c){return Fo(this.path(),a,b,c).parent(this)};g.IA=function(a,b,c){return Go(this.path(),a,b,c).parent(this)};g.JA=function(a,b,c){return Ho(this.path(),a,b,c).parent(this)};g.MA=function(a,b,c){return Io(this.path(),a,b,c).parent(this)};g.fB=function(a,b,c){return Jo(this.path(),a,b,c).parent(this)};g.PA=function(a,b,c,d,e){return Ko(this.path(),a,b,c,d,e).parent(this)};g.LA=function(a,b,c,d,e,f){return Lo(this.path(),a,b,c,d,e,f).parent(this)};g.pj=function(){return pn.Hs()};g.Re=function(){this.yc(32)&&this.QA();var a;a=this.oa();a=a.zo(Math.floor(Math.max(500-a.ph,0)/3));this.yc(64)&&Mo(this);var b=this.oa();b.ph-=a-0;if(this.yc(128)&&(a=this.oa().zo(this.children.length+this.b.length+1),b=No(this,a),b<a)){var c=this.oa();c.ph-=a-b}this.yc(64)&&Mo(this);no.v.Re.call(this)};g.Rx=function(){no.v.Rx.call(this);Oo(this)};g.Qt=function(){no.v.Qt.call(this);Oo(this)};function Oo(a){for(var b=a.children.length;b--;)a.children[b].Qt(),a.children[b].Cn=a.$c()||a.Cn}
g.gG=function(){co(this,4096)};function Mo(a){Pf(a.children,function(a,c){c.Rh&&c.be();return a||!!c.Rh},!1)||co(a,64)}
function No(a,b){function c(a){var b=a.P();b&&(Yi(b),q++);eo(a,!1);x.push(n)}function d(a){var b=a.P();b?(z.appendChild(e,b),q++,w.push(k),eo(a,!0)):v=!1;return!!e}var e=a.P(),f,h,k,l,n,p,q=0;if(!a.g)for(a.g={},k=0,l=a.children.length;k<l;k++)a.g[D(a.children[k])]=!0;var t=!1,v=!0,w=[],x=[],z=pn;f=!0;k=0;for(l=a.children.length-1;k<l;k++)if(a.children[k+1].zIndex()<a.children[k].zIndex()){f=!1;break}var C;f?C=a.children:(C=Zf(a.children),eg(C,function(a,b){return a.zIndex()-b.zIndex()}));k=0;l=C.length;n=0;for(p=a.b.length;k<l&&n<p&&q<b;n++)if(f=C[k],h=a.b[n],D(h)in a.g){if(h!=f||t){if(!d(f))break;t=!0}k++}else c(h);q>=b&&(v=!1);if(v){for(;k<l&&q<b&&d(C[k]);k++);for(;n<p&&q<b;n++)c(a.b[n]);if(k<l||n<p)v=!1}if(v)a.b=zb(a.children,0),a.g=null,co(a,128);else{for(k=x.length;k--;)fb(a.b,x[k],1);for(k=0;k<w.length;k++)a.b.push(a.children[w[k]])}return q}g.Mt=function(a){this.wc||(a=Lf(this.b,a),0<=a&&fb(this.b,a,1))};g.QA=function(){pn.BG(this);co(this,32)};g.Nl=function(){this.yc(4)&&pn.CG(this);co(this,4);co(this,256)};g.Ug=function(a){var b=a==this.Rb,c=a==this.Zd();if(this.Md&&b)return this.Md.clone();if(this.Ld&&c)return this.Ld.clone();for(var d=null,e=0,f=this.children.length;e<f;e++){var h=this.children[e],h=h.Ug(Yl(a,h.Rb));isNaN(h.left)||isNaN(h.top)||isNaN(h.width)||isNaN(h.height)||(d?ei(d,h):d=h)}d||(d=Zl(new M(0,0,0,0),a));b&&(this.Md=d.clone());c&&(this.Ld=d.clone());return d};g.kj=function(){for(var a=this.children.length;a--;)this.children[a].kj()};g.yh=function(){no.v.yh.call(this);Po(this)};g.lk=function(){no.v.lk.call(this);Po(this)};function Po(a){for(var b=a.children.length;b--;)a.children[b].lk()}g.Dp=function(){pn.Jt()&&(this.za(512),this.Yp()&&this.parent().Dp())};g.Pb=function(a){Mf(a.children,function(a){var c;switch(a.type){case"rect":c=this.rect();break;case"circle":c=this.fv();break;case"ellipse":c=this.gv();break;case"image":c=this.Gk();break;case"text":c=this.text();break;case"path":c=this.path();break;case"layer":c=this.Of();break;default:c=null}c&&c.Pb(a)},this);no.v.Pb.call(this,a)};g.o=function(){var a=no.v.o.call(this),b=[];this.dh(function(a){b.push(a.o())});a.type="layer";a.children=b;return a};g.V=function(){this.children&&Bd.apply(null,this.children);this.b&&delete this.b;fo(this);no.v.V.call(this)};g.$s=function(){delete this.b;delete this.children;no.v.$s.call(this)};E("acgraph.vector.Layer",no);no.prototype.addChild=no.prototype.Fc;no.prototype.addChildAt=no.prototype.jf;no.prototype.removeChild=no.prototype.removeChild;no.prototype.removeChildAt=no.prototype.ar;no.prototype.removeChildren=no.prototype.br;no.prototype.swapChildren=no.prototype.ZA;no.prototype.swapChildrenAt=no.prototype.hv;no.prototype.getChildAt=no.prototype.Td;no.prototype.hasChild=no.prototype.NA;no.prototype.forEachChild=no.prototype.dh;no.prototype.indexOfChild=no.prototype.se;no.prototype.numChildren=no.prototype.wb;no.prototype.circle=no.prototype.fv;no.prototype.layer=no.prototype.Of;no.prototype.unmanagedLayer=no.prototype.eB;no.prototype.ellipse=no.prototype.gv;no.prototype.rect=no.prototype.rect;no.prototype.truncatedRect=no.prototype.dB;no.prototype.roundedRect=no.prototype.SA;no.prototype.roundedInnerRect=no.prototype.RA;no.prototype.path=no.prototype.path;no.prototype.star=no.prototype.TA;no.prototype.star4=no.prototype.VA;no.prototype.star5=no.prototype.WA;no.prototype.star6=no.prototype.XA;no.prototype.star7=no.prototype.YA;no.prototype.star10=no.prototype.UA;no.prototype.diamond=no.prototype.KA;no.prototype.triangleUp=no.prototype.cB;no.prototype.triangleDown=no.prototype.$A;no.prototype.triangleRight=no.prototype.bB;no.prototype.triangleLeft=no.prototype.aB;no.prototype.cross=no.prototype.IA;no.prototype.diagonalCross=no.prototype.JA;no.prototype.hLine=no.prototype.MA;no.prototype.vLine=no.prototype.fB;no.prototype.pie=no.prototype.PA;no.prototype.donut=no.prototype.LA;no.prototype.text=no.prototype.text;no.prototype.html=no.prototype.OA;no.prototype.image=no.prototype.Gk;function Qo(a,b,c,d){no.call(this);this.j=a;this.h=b||ba;this.c=m(d)?d:this;this.a=[]}G(Qo,no);Qo.prototype.clear=function(){for(var a;a=this.wb();)this.a.push(this.ar(a-1));return this};function Ro(a){var b=a.a.pop();b?a.h.call(a.c,b):b=a.j.call(a.c);a.Fc(b);return b}Qo.prototype.V=function(){for(var a=this.a.length;a--;)Ad(this.a[a]);this.a=null;delete this.j;delete this.h;this.c=null;Qo.v.V.call(this)};function sn(a){this.c=a;this.h=!1;no.call(this)}G(sn,no);g=sn.prototype;g.yf=2277;g.Zf=function(){return"fillPattern"};g.parent=function(a){return m(a)?(a?Zn(this,a):this.remove(),this):sn.v.parent.call(this)};g.Cg=function(){return this.c.clone()};g.Ug=function(a){var b=a==this.Rb,c=a==this.Zd();if(this.Md&&b)return this.Md.clone();if(this.Ld&&c)return this.Ld.clone();a=Zl(this.c.clone(),a);b&&(this.Md=a.clone());c&&(this.Ld=a.clone());return a};g.pj=function(){return pn.bE()};g.QA=function(){pn.xG(this);co(this,32)};g.Re=function(){if(!this.h){var a=ln(this.oa()).P(),b=this.P();a.appendChild(b)}this.h=!0;sn.v.Re.call(this)};g.Nl=function(){this.yc(4)&&pn.GG(this);co(this,4)};g.Pb=function(a){sn.v.Pb.call(this,a)};g.o=function(){var a=sn.v.o.call(this),b=this.Cg();a.type="pattern";a.bounds=b;return a};g.V=function(){var a=this.P();Yi(a);this.ma=null;sn.v.V.call(this)};E("acgraph.vector.PatternFill",sn);sn.prototype.addChild=sn.prototype.Fc;sn.prototype.dispose=sn.prototype.Sd;function Kn(){this.g="none";this.c="black";$n.call(this)}G(Kn,$n);g=Kn.prototype;g.yf=$n.prototype.yf|24;g.fill=function(a,b,c,d,e,f,h){if(!m(a))return this.g;var k=Bn.apply(this,arguments);this.g!=k&&(this.g=k,this.za(8));return this};g.stroke=function(a,b,c,d,e){if(!m(a))return this.c;var f=Gn.apply(this,arguments);this.c!=f&&(this.c=f,this.za(16));return this};g.Ej=function(a){return m(a)?(u(this.c)?this.c={color:this.c,thickness:isNaN(a)?1:+a}:this.c.thickness=isNaN(a)?1:+a,this.za(16),this):u(this.c)?1:Qd(this.c)};g.Re=function(){Kn.v.Re.call(this);if(this.yc(8)||this.yc(16))pn.yD(this),co(this,8),co(this,16)};g.Pb=function(a){var b;if("fill"in a){var c=a.fill;b=c.type;"pattern"==b?(b=c.bounds,b=Fn(new M(b.left,b.top,b.width,b.height)),b.Pb(c)):"hatchFill"==b?b=In(c.hatchType,c.color,c.thickness,c.size):(B(c)&&"type"in c&&delete c.type,b=c);this.fill(b)}"stroke"in a&&this.stroke(a.stroke);Kn.v.Pb.call(this,a)};g.o=function(){var a=Kn.v.o.call(this);if(this.g){var b;this.g instanceof qn?b={type:"hatchFill",hatchType:this.g.type,color:this.g.color,thickness:this.g.a,size:this.g.size}:this.g instanceof sn?b=this.g.o():B(this.g)&&"keys"in this.g?"cx"in this.g&&"cy"in this.g?(b=Cm(this.g),b.type="RadialGradientFill"):(b=Cm(this.g),b.type="LinearGradientFill"):b=this.g;b&&(a.fill=b)}this.c?a.stroke=this.c:B(this.c)&&"keys"in this.c&&("cx"in this.c&&"cy"in this.c?(b=Cm(this.c),b.type="RadialGradientFill"):(b=Cm(this.c),b.type="LinearGradientFill"),a.stroke=b);return a};g.V=function(){delete this.g;delete this.c;Kn.v.V.call(this)};Kn.prototype.stroke=Kn.prototype.stroke;Kn.prototype.strokeThickness=Kn.prototype.Ej;Kn.prototype.fill=Kn.prototype.fill;Kn.prototype.attr=Kn.prototype.me;function Sn(a,b,c,d){this.a=new $h(a||0,b||0);this.b=c||0;this.h=d||0;Kn.call(this)}G(Sn,Kn);g=Sn.prototype;g.yf=Kn.prototype.yf|32;g.Zf=function(){return"ellipse"};g.nh=function(a){return m(a)?(this.a.x!=a&&(this.a.x=a,fo(this),this.za(32)),this):this.a.x};g.oh=function(a){return m(a)?(this.a.y!=a&&(this.a.y=a,fo(this),this.za(32)),this):this.a.y};g.ZM=function(a){if(m(a)){var b=this.a;b==a||b&&a&&b.x==a.x&&b.y==a.y||(this.a.x=a.x,this.a.y=a.y,fo(this),this.za(32));return this}return this.a.clone()};g.Dh=function(a){return m(a)?(this.b!=a&&(this.b=a,fo(this),this.za(32)),this):this.b};g.Mj=function(a){return m(a)?(this.h!=a&&(this.h=a,fo(this),this.za(32)),this):this.h};g.qQ=function(a,b){this.Dh(a);this.Mj(b);return this};g.Cg=function(){return new M(this.a.x-this.b,this.a.y-this.h,this.b+this.b,this.h+this.h)};g.Ug=function(a){var b=a==this.Rb,c=a==this.Zd();if(this.Md&&b)return this.Md.clone();if(this.Ld&&c)return this.Ld.clone();if(a){var d=Wl(this.a.x,this.a.y,this.b,this.h,0,360,!0);a.transform(d,0,d,0,d.length/2);a=Xl.apply(null,d)}else a=this.Cg();b&&(this.Md=a.clone());c&&(this.Ld=a.clone());return a};g.pj=function(){return pn.aE()};g.Re=function(){this.yc(32)&&(this.HA(),this.fill()&&this.fill().src&&this.za(8));Sn.v.Re.call(this)};g.Nl=function(){pn.wG(this);co(this,4);co(this,256)};g.HA=function(){pn.Qz(this);co(this,32)};g.Pb=function(a){this.nh(a.cx).oh(a.cy);"rx"in a&&this.Dh(a.rx);"ry"in a&&this.Mj(a.ry);Sn.v.Pb.call(this,a)};g.o=function(){var a=Sn.v.o.call(this);a.type="ellipse";a.cx=this.nh();a.cy=this.oh();a.rx=this.Dh();a.ry=this.Mj();return a};g.V=function(){fo(this);this.a=null;Sn.v.V.call(this)};E("acgraph.vector.Ellipse",Sn);Sn.prototype.center=Sn.prototype.ZM;Sn.prototype.centerX=Sn.prototype.nh;Sn.prototype.centerY=Sn.prototype.oh;Sn.prototype.radiusX=Sn.prototype.Dh;Sn.prototype.radiusY=Sn.prototype.Mj;Sn.prototype.setRadius=Sn.prototype.qQ;function Rn(a,b,c){Sn.call(this,a,b,c,c)}G(Rn,Sn);g=Rn.prototype;g.Zf=function(){return"circle"};g.Yb=function(a){return null!=a?(this.Dh(a),this.Mj(a),this):this.Dh()};g.pj=function(){return pn.YD()};g.HA=function(){pn.tG(this);co(this,32)};g.Pb=function(a){this.Dh(a.radius);Rn.v.Pb.call(this,a)};g.o=function(){var a=Rn.v.o.call(this);a.type="circle";delete a.rx;delete a.ry;a.radius=this.Dh();return a};E("acgraph.vector.Circle",Rn);Rn.prototype.radius=Rn.prototype.Yb;function So(){this.b=[];this.h=[];this.j=[];Kn.call(this)}G(So,Kn);var Um=0,Vm=1,Wm=2,Xm=3,Ym=4,To=[];To[Um]=2;To[Vm]=2;To[Wm]=6;To[Xm]=6;To[Ym]=2;function Uo(a,b,c,d,e,f){var h=0;e=e||null;for(var k=0,l=b.length;k<l;k++){var n=b[k],p=To[n]*c[k];f&&n!=Um?a.call(e,n,d.slice(h-2,h+p)):a.call(e,n,d.slice(h,h+p));h+=p}}g=So.prototype;g.ZE=function(a,b,c){Uo(a,this.b,this.h,this.j,b,c)};g.MN=function(a,b,c){var d;if(this.fi)d=this.fi;else{var e=this.Zd();e?(d=[],Vo(this),e.transform(this.j,0,d,0,this.j.length/2)):d=this.j}Uo(a,this.b,this.h,d,b,c)};g.yf=Kn.prototype.yf|32;g.nj=null;g.mc=null;g.Wz=!0;g.fi=null;g.Zf=function(){return"path"};function Vo(a){if(!a.Wz){var b=a.j,c=a.b,d=a.h;a.j=[];a.b=[];a.h=[];Wo(a);Uo(na(function(a,b){Xo[a].apply(this,b)},a),c,d,b);a.za(32)}}function Yo(a){0!=a.b.length&&(Wo(a),a.za(32));return a}
g.Gt=function(a,b){Kf(this.b)==Um?this.j.length-=2:(this.b.push(Um),this.h.push(1));this.j.push(a,b);this.mc=this.nj=[a,b];this.za(32);this.fi=null;return this};g.$h=function(a,b,c){var d=Kf(this.b);if(null==d)throw pl(9);d!=Vm&&(this.b.push(Vm),this.h.push(0));for(d=0;d<arguments.length;d+=2)a=arguments[d],b=arguments[d+1],this.j.push(a,b);this.h[this.h.length-1]+=d/2;this.mc=[a,b];this.za(32);fo(this);this.fi=null;return this};g.Is=function(a,b,c,d,e,f,h){var k=Kf(this.b);if(null==k)throw pl(9);k!=Wm&&(this.b.push(Wm),this.h.push(0));for(k=0;k<arguments.length;k+=6){var l=arguments[k+4],n=arguments[k+5];this.j.push(arguments[k],arguments[k+1],arguments[k+2],arguments[k+3],l,n)}this.h[this.h.length-1]+=k/6;this.mc=[l,n];this.za(32);fo(this);this.fi=null;return this};g.OP=function(a,b,c,d,e){if(0==this.b.length)throw pl(9);for(var f=this.mc[0],h=this.mc[1],k=0;k<arguments.length;k+=4){a=arguments[k];b=arguments[k+1];var l=arguments[k+2],n=arguments[k+3];this.Is(f+2*(a-f)/3,h+2*(b-h)/3,a+(l-a)/3,b+(n-b)/3,l,n);f=l;h=n}return this};function Zo(a,b,c,d,e,f,h){if(0==d||0==e)return a.$h(b,c);if(0==a.b.length)throw pl(9);var k=a.mc[0],l=a.mc[1];if(k==b&&l==c)return a;d=Math.abs(d);e=Math.abs(e);b=(k-b)/2;c=(l-c)/2;var l=b*b,k=c*c,n=d*d,p=e*e,q=l/n+k/p;1<q&&(q=Math.sqrt(q),d*=q,e*=q,n=d*d,p=e*e);l=(n*p-n*k-p*l)/(n*k+p*l);0>l&&(l=0);l=Math.sqrt(l);f==h&&(l=-l);f=l*d*c/e;k=-l*e*b/d;l=am(1,0,(b-f)/d,(c-k)/e);b=am((b-f)/d,(c-k)/e,(-b-f)/d,(-c-k)/e)%360;!h&&0<b?b-=360:h&&0>b&&(b+=360);return $o(a,d,e,l,b)}
function $o(a,b,c,d,e){if(0==a.b.length)throw pl(9);if(0==e)return a;var f=a.mc[0]-Dh(d,b),h=a.mc[1]-Eh(d,c),k,l,n;n=Math.ceil(Math.abs(e)/359.999-2E-15);for(var p=e/n,q=0;q<n;q++)e=d+p,k=f+Dh(e,b),l=h+Eh(e,c),a.j.push(b,c,d,p,k,l),a.b.push(Xm),a.h.push(1),d=e;a.Wz=!1;a.mc=[k,l];a.za(32);fo(a);a.fi=null;return a}g.CD=function(a,b,c,d){a=Wl(this.mc[0]-Dh(c,a),this.mc[1]-Eh(c,b),a,b,c,d);this.Is.apply(this,a);this.za(32);fo(this);this.fi=null;return this};g.Ex=function(){var a=Kf(this.b);if(null==a)throw pl(9);a!=Ym&&(this.j.push(this.nj[0],this.nj[1]),this.b.push(Ym),this.h.push(1),this.mc=this.nj,this.za(32));return this};g.Ug=function(a){return ap(this,a)};function ap(a,b){var c=bp,d=b==a.Rb,e=b==a.Zd();if(a.Md&&d)return a.Md.clone();if(a.Ld&&e)return a.Ld.clone();var f;a.mc?(b?(f=[a.mc[0],a.mc[1]],b.transform(f,0,f,0,1),f=new M(f[0],f[1],0,0),Vo(a)):f=new M(a.mc[0],a.mc[1],0,0),a.ZE(function(a,b){Dm(c[a],b,this)},{rect:f,transform:b},!0)):f=new M(NaN,NaN,NaN,NaN);d&&(a.Md=f.clone());e&&(a.Ld=f.clone());return f}g.yh=function(){So.v.yh.call(this);this.fi=null};g.lk=function(){So.v.lk.call(this);this.fi=null};g.Nl=function(){pn.FG(this);co(this,4);co(this,256)};g.pj=function(){return pn.hE()};g.Re=function(){this.yc(32)&&(pn.EG(this),co(this,32),this.fill()&&this.fill().src&&this.za(8));So.v.Re.call(this)};var Xo,cp=[];cp[Um]=So.prototype.Gt;cp[Vm]=So.prototype.$h;cp[Ym]=So.prototype.Ex;cp[Wm]=So.prototype.Is;cp[Xm]=So.prototype.CD;Xo=cp;var bp,dp=[];dp[Um]=ba;dp[Vm]=function(a){var b=new M(0,0,0,0);if(this.transform){var c=arguments;this.transform.transform(c,0,c,0,Math.floor(arguments.length/2))}for(var c=0,d=arguments.length;c<d;c+=2)b.left=arguments[c],b.top=arguments[c+1],ei(this.rect,b)};dp[Ym]=ba;dp[Wm]=function(a){if(this.transform){var b=arguments;this.transform.transform(b,0,b,0,Math.floor(arguments.length/2))}ei(this.rect,Xl.apply(null,arguments))};dp[Xm]=function(a,b,c,d,e,f,h,k){var l=new M(0,0,0,0);h=[a,h];k=[b,k];a-=Dh(e,c);b-=Eh(e,d);var n=0<f?90:-90,p=90*(0<f?Math.ceil(e/90):Math.floor(e/90));for(e+=f;p<e^0>f;p+=n)switch((Math.floor(p/90)+4)%4){case 0:h.push(a+c);break;case 1:k.push(b+d);break;case 2:h.push(a-c);break;case 3:k.push(b-d)}l.left=Math.min.apply(null,h);l.width=Math.max.apply(null,h)-l.left;l.top=Math.min.apply(null,k);l.height=Math.max.apply(null,k)-l.top;ei(this.rect,l)};bp=dp;So.prototype.Pb=function(a){this.nj=a.closePoint;this.mc=a.currentPoint;this.b=a.segments;this.h=a.count;this.j=a.arguments;this.za(32);So.v.Pb.call(this,a)};So.prototype.o=function(){var a=So.v.o.call(this);a.type="path";a.closePoint=this.nj?this.nj.slice():[];a.currentPoint=this.mc?this.mc.slice():[];a.segments=this.b.slice();a.count=this.h.slice();a.arguments=this.j.slice();return a};So.prototype.V=function(){this.mc=this.nj=null;fo(this);this.fi=null;delete this.b;delete this.h;delete this.j;So.v.V.call(this)};function Wo(a){a.b.length=0;a.h.length=0;a.j.length=0;fo(a);a.fi=null;delete a.nj;delete a.mc;delete a.Wz};function Tn(){So.call(this)}G(Tn,So);g=Tn.prototype;g.clear=function(){return Yo(this)};g.moveTo=function(a,b){return this.Gt(a,b)};g.lineTo=function(a,b,c){return So.prototype.$h.apply(this,arguments)};g.Qh=function(a,b,c,d,e,f,h){return So.prototype.Is.apply(this,arguments)};g.Hk=function(a,b,c,d,e){return So.prototype.OP.apply(this,arguments)};g.Ob=function(a,b,c,d,e,f,h){a+=Dh(e,c);b+=Eh(e,d);this.mc&&this.mc[0]==a&&this.mc[1]==b||(h?this.$h(a,b):this.Gt(a,b));return $o(this,c,d,e,f)};g.oc=function(a,b,c,d,e,f){return Zo(this,a,b,c,d,e,f)};g.wo=function(a,b,c,d){return $o(this,a,b,c,d)};g.BD=function(a,b,c,d){return this.CD(a,b,c,d)};g.close=function(){return this.Ex()};g.cF=function(){return this.mc?new $h(this.mc[0],this.mc[1]):null};E("acgraph.vector.Path",Tn);Tn.prototype.moveTo=Tn.prototype.moveTo;Tn.prototype.lineTo=Tn.prototype.lineTo;Tn.prototype.curveTo=Tn.prototype.Qh;Tn.prototype.quadraticCurveTo=Tn.prototype.Hk;Tn.prototype.arcTo=Tn.prototype.wo;Tn.prototype.arcToByEndPoint=Tn.prototype.oc;Tn.prototype.arcToAsCurves=Tn.prototype.BD;Tn.prototype.circularArc=Tn.prototype.Ob;Tn.prototype.close=Tn.prototype.close;Tn.prototype.clear=Tn.prototype.clear;Tn.prototype.getCurrentPoint=Tn.prototype.cF;function qn(a,b,c,d){var e;a:{a=(a||"").toLowerCase();for(e in ep)if(ep[e].toLowerCase()==a){e=ep[e];break a}e="backwardDiagonal"}this.type=e;this.color=""+(null!=b?b:"black 0.5");this.a=null!=c?c:1;this.size=null!=d?d:10;sn.call(this,new M(0,0,this.size,this.size));switch(this.type){case"backwardDiagonal":b=this.path();fp(b,-1,0,this.size+1,0,this.a);this.Ch(-45);b.fill("none");b.stroke(this.color,this.a);break;case"forwardDiagonal":b=this.path();fp(b,-1,0,this.size+1,0,this.a);this.Ch(45);b.fill("none");b.stroke(this.color,this.a);break;case"horizontal":b=this.path();fp(b,-1,this.size/2,this.size+1,this.size/2,this.a);b.fill("none");b.stroke(this.color,this.a);break;case"vertical":b=this.path();fp(b,this.size/2,-1,this.size/2,this.size+1,this.a);b.fill("none");b.stroke(this.color,this.a);break;case"diagonalCross":b=this.path();fp(b,0,this.size/2,this.size,this.size/2,this.a);fp(b,this.size/2,0,this.size/2,this.size,this.a);this.Ch(45);b.fill("none");b.stroke(this.color,this.a);break;case"grid":b=this.path();fp(b,-1,this.size/2,this.size+1,this.size/2,this.a);fp(b,this.size/2,-1,this.size/2,this.size+1,this.a);b.fill("none");b.stroke(this.color,this.a);break;case"horizontalBrick":b=this.path();fp(b,0,0,0,this.size/2-1,this.a);fp(b,0,this.size/2-1,this.size,this.size/2-1,this.a);fp(b,this.size/2,this.size/2-1,this.size/2,this.size-1,this.a);fp(b,0,this.size-1,this.size,this.size-1,this.a);b.fill("none");b.stroke(this.color,this.a);break;case"verticalBrick":b=this.path();fp(b,0,0,0,this.size/2-1,this.a);fp(b,0,this.size/2-1,this.size,this.size/2-1,this.a);fp(b,this.size/2,this.size/2-1,this.size/2,this.size-1,this.a);fp(b,0,this.size-1,this.size,this.size-1,this.a);this.Ch(90);b.fill("none");b.stroke(this.color,this.a);break;case"diagonalBrick":b=this.path();fp(b,0,0,0,this.size/2-1,this.a);fp(b,0,this.size/2-1,this.size,this.size/2-1,this.a);fp(b,this.size/2,this.size/2-1,this.size/2,this.size-1,this.a);fp(b,0,this.size-1,this.size,this.size-1,this.a);this.Ch(45);b.fill("none");b.stroke(this.color,this.a);break;case"checkerBoard":this.rect(0,0,this.size/2,this.size/2).fill(this.color).stroke("none");this.rect(this.size/2,this.size/2,this.size,this.size).fill(this.color).stroke("none");break;case"confetti":b=this.size/8;c=this.size/4;this.rect(0,2*b,c,c).fill(this.color).stroke("none");this.rect(b,5*b,c,c).fill(this.color).stroke("none");this.rect(2*b,0,c,c).fill(this.color).stroke("none");this.rect(4*b,4*b,c,c).fill(this.color).stroke("none");this.rect(5*b,b,c,c).fill(this.color).stroke("none");this.rect(6*b,6*b,c,c).fill(this.color).stroke("none");break;case"plaid":c=this.rect(0,0,this.size/2,this.size/2);c.fill(this.color);c.stroke("none");b=this.size/8;d=!1;for(e=0;2>e;e++)for(d=!1,a=0;4>a;a++){d=!d;for(var f=0;4>f;f++)d&&(c=this.rect(a*b+e*this.size/2,f*b+this.size/2,b,b)),c.fill(this.color),c.stroke("none"),d=!d}break;case"solidDiamond":this.path().moveTo(this.size/2,0).lineTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,this.size/2).lineTo(this.size/2,0).close().fill(this.color).stroke("none");break;case"dashedForwardDiagonal":b=this.path();fp(b,0,0,this.size/2,this.size/2,this.a);b.fill("none");b.stroke(this.color,this.a);break;case"dashedBackwardDiagonal":b=this.path();fp(b,this.size/2,0,0,this.size/2,this.a);b.fill("none");b.stroke(this.color,this.a);break;case"dashedHorizontal":b=this.path();fp(b,0,0,this.size/2,0,this.a);fp(b,this.size/2,this.size/2,this.size,this.size/2,this.a);b.fill("none");b.stroke(this.color,this.a);break;case"dashedVertical":b=this.path();fp(b,0,0,0,this.size/2,this.a);fp(b,this.size/2,this.size/2,this.size/2,this.size,this.a);b.fill("none");b.stroke(this.color,this.a);break;case"divot":b=.1*this.size;c=this.size*(.8-.2)/2;this.path().moveTo(b+c,b).lineTo(b,b+c/2).lineTo(b+c,b+c).moveTo(this.size-b-c,this.size-b-c).lineTo(this.size-b,this.size-b-c/2).lineTo(this.size-b-c,this.size-b).fill("none").stroke(this.color,this.a);break;case"zigZag":b=this.path();b.moveTo(0,0).lineTo(this.size/2,this.size/2).lineTo(this.size,0).moveTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,this.size/2).fill("none").stroke(this.color,this.a);break;case"weave":this.path().moveTo(0,0).lineTo(this.size/2,this.size/2).lineTo(this.size,0).moveTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,this.size/2).moveTo(this.size/2,this.size/2).lineTo(3*this.size/4,3*this.size/4).moveTo(this.size,this.size/2).lineTo(3*this.size/4,this.size/4).fill("none").stroke(this.color,this.a);break;case"percent05":this.c=new M(0,0,8,8);this.rect(0,0,1,1).fill(this.color).stroke("none");this.rect(4,4,1,1).fill(this.color).stroke("none");break;case"percent10":this.c=new M(0,0,8,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(4,2,1,1);c.fill(this.color);c.stroke("none");break;case"percent20":this.c=new M(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");break;case"percent25":this.c=new M(0,0,4,2);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,1,1,1);c.fill(this.color);c.stroke("none");break;case"percent30":this.c=new M(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");break;case"percent40":this.c=new M(0,0,4,8);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,4,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,4,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,5,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,5,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,6,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,6,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,7,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,7,1,1);c.fill(this.color);c.stroke("none");break;case"percent50":this.c=new M(0,0,2,2);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,1,1,1);c.fill(this.color);c.stroke("none");break;case"percent60":this.c=new M(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,3,1,1);c.fill(this.color);c.stroke("none");break;case"percent70":this.c=new M(0,0,4,4);this.path().moveTo(0,0).lineTo(0,1).lineTo(1,1).lineTo(1,0).close().moveTo(2,0).lineTo(2,1).lineTo(3,1).lineTo(3,0).close().moveTo(3,0).lineTo(3,1).lineTo(4,1).lineTo(4,0).close().moveTo(0,1).lineTo(0,2).lineTo(1,2).lineTo(1,1).close().moveTo(1,1).lineTo(1,2).lineTo(2,2).lineTo(2,1).close().moveTo(2,1).lineTo(2,2).lineTo(3,2).lineTo(3,1).close().moveTo(0,2).lineTo(0,3).lineTo(1,3).lineTo(1,2).close().moveTo(2,2).lineTo(2,3).lineTo(3,3).lineTo(3,2).close().moveTo(3,2).lineTo(3,3).lineTo(4,3).lineTo(4,2).close().moveTo(0,3).lineTo(0,4).lineTo(1,4).lineTo(1,3).close().moveTo(1,3).lineTo(1,4).lineTo(2,4).lineTo(2,3).close().moveTo(2,3).lineTo(2,4).lineTo(3,4).lineTo(3,3).close().fill(this.color).stroke("none");break;case"percent75":this.c=new M(0,0,4,4);c=this.rect(0,0,4,4);c.fill(this.color);c.stroke("none");c=this.rect(0,0,1,1);c.fill("white");c.stroke("none");c=this.rect(2,2,1,1);c.fill("white");c.stroke("none");break;case"percent80":this.c=new M(0,0,8,4);c=this.rect(0,0,8,4);c.fill(this.color);c.stroke("none");c=this.rect(0,0,1,1);c.fill("white");c.stroke("none");c=this.rect(4,2,1,1);c.fill("white");c.stroke("none");break;case"percent90":this.c=new M(0,0,8,8),c=this.rect(0,0,8,8),c.fill(this.color),c.stroke("none"),c=this.rect(7,7,1,1),c.fill("white"),c.stroke("none"),c=this.rect(4,3,1,1),c.fill("white"),c.stroke("none")}}G(qn,sn);var ep={XQ:"backwardDiagonal",lR:"forwardDiagonal",nR:"horizontal",WR:"vertical",dR:"dashedBackwardDiagonal",mR:"grid",eR:"dashedForwardDiagonal",fR:"dashedHorizontal",gR:"dashedVertical",fH:"diagonalCross",hR:"diagonalBrick",jR:"divot",oR:"horizontalBrick",XR:"verticalBrick",$Q:"checkerBoard",bR:"confetti",FR:"plaid",HR:"solidDiamond",$R:"zigZag",ZR:"weave",tR:"percent05",uR:"percent10",vR:"percent20",wR:"percent25",xR:"percent30",yR:"percent40",zR:"percent50",AR:"percent60",BR:"percent70",CR:"percent75",DR:"percent80",ER:"percent90"};function fp(a,b,c,d,e,f){b===d&&(b=d=Math.round(b)+f%2/2);c===e&&(c=e=Math.round(c)+f%2/2);a.moveTo(b,c).lineTo(d,e)}qn.prototype.Zf=function(){return"hatchFill"};qn.prototype.V=function(){if(this.oa()){var a=ln(this.oa()),b=[this.type,this.color,this.a,this.size].join();df(a.g,b)&&hf(a.g,b);a=Ii(this.id());Yi(a)}qn.v.V.call(this)};qn.prototype.dispose=qn.prototype.Sd;E("acgraph.vector.HatchFill.HatchFillType.BACKWARD_DIAGONAL","backwardDiagonal");E("acgraph.vector.HatchFill.HatchFillType.FORWARD_DIAGONAL","forwardDiagonal");E("acgraph.vector.HatchFill.HatchFillType.HORIZONTAL","horizontal");E("acgraph.vector.HatchFill.HatchFillType.VERTICAL","vertical");E("acgraph.vector.HatchFill.HatchFillType.DASHED_BACKWARD_DIAGONAL","dashedBackwardDiagonal");E("acgraph.vector.HatchFill.HatchFillType.GRID","grid");E("acgraph.vector.HatchFill.HatchFillType.DASHED_FORWARD_DIAGONAL","dashedForwardDiagonal");E("acgraph.vector.HatchFill.HatchFillType.DASHED_HORIZONTAL","dashedHorizontal");E("acgraph.vector.HatchFill.HatchFillType.DASHED_VERTICAL","dashedVertical");E("acgraph.vector.HatchFill.HatchFillType.DIAGONAL_CROSS","diagonalCross");E("acgraph.vector.HatchFill.HatchFillType.DIAGONAL_BRICK","diagonalBrick");E("acgraph.vector.HatchFill.HatchFillType.DIVOT","divot");E("acgraph.vector.HatchFill.HatchFillType.HORIZONTAL_BRICK","horizontalBrick");E("acgraph.vector.HatchFill.HatchFillType.VERTICAL_BRICK","verticalBrick");E("acgraph.vector.HatchFill.HatchFillType.CHECKER_BOARD","checkerBoard");E("acgraph.vector.HatchFill.HatchFillType.CONFETTI","confetti");E("acgraph.vector.HatchFill.HatchFillType.PLAID","plaid");E("acgraph.vector.HatchFill.HatchFillType.SOLID_DIAMOND","solidDiamond");E("acgraph.vector.HatchFill.HatchFillType.ZIG_ZAG","zigZag");E("acgraph.vector.HatchFill.HatchFillType.WEAVE","weave");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_05","percent05");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_10","percent10");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_20","percent20");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_25","percent25");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_30","percent30");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_40","percent40");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_50","percent50");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_60","percent60");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_70","percent70");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_75","percent75");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_80","percent80");E("acgraph.vector.HatchFill.HatchFillType.PERCENT_90","percent90");function gp(a){xd.call(this);this.b={};this.h={};this.g={};this.c={};this.m=a}G(gp,xd);g=gp.prototype;g.so=null;g.P=function(){return this.so};g.clear=function(){gf(this.b);gf(this.h);gf(this.g);gf(this.c);Wi(this.so)};function on(a,b,c,d,e,f){e=m(e)?e:1;d=null!=d?d:"stretch";var h=[b,c.toString(),d,e].join(),k=null,l=ba;if(d==nn)l=function(d,k){var l;df(a.c,h)?l=a.c[h]:(l=new sn(new M(c.left,c.top,d,k)),l.Gk().src(b).opacity(e).width(d).height(k),a.c[h]=l);f&&f.call(this,l)};else{if(df(a.c,h))return a.c[h];k=new sn(c);switch(d){case"stretch":k.Gk().src(b).opacity(e).width(c.width).height(c.height);break;case"fitMax":k.Gk().src(b).opacity(e).width(c.width).height(c.height).Fk("xMidYMid").kn("slice");break;case"fit":k.Gk().src(b).opacity(e).width(c.width).height(c.height).Fk("xMidYMid")}a.c[h]=k}pn.Dt(b,l);l=null;return a.c[h]}function rn(a,b,c,d,e){b=null!=b?b:"backwardDiagonal";c=null!=c?c:"black";d=null!=d?d:1;e=null!=e?e:10;var f=[b,c,d,e].join();return df(a.g,f)?a.g[f]:a.g[f]=new qn(b,c,d,e)}function jn(a,b,c,d,e,f){var h=Fm(b,c,d,e,f);return df(a.b,h)?a.b[h]:a.b[h]=new Em(b,c,d,e,f)}g.dG=function(a){var b=Fm(a.keys,a.opacity,a.eh,a.mode,a.transform);df(this.b,b)&&hf(this.b,b);a=Ii(a.id());Yi(a)};function fn(a,b,c,d,e,f,h,k,l){var n=Hm(b,c,d,e,f,h,k,l);return df(a.h,n)?a.h[n]:a.h[n]=new Gm(b,c,d,e,f,h,k,l)}g.fG=function(a){var b=Hm(a.keys,a.Bc,a.vc,a.a,a.c,a.opacity,a.Rf,a.transform);df(this.h,b)&&hf(this.h,b);a=Ii(a.id());Yi(a)};g.V=function(){Yi(this.so);this.b=this.so=null;delete this.m};function vo(a,b,c,d,e,f,h,k){a=a.path?a.path():a;if(2>f)return a;h=h||0;var l=Dh(h,d),n=Eh(h,d),p=360/(2*f),q;a.moveTo(l+b,n+c);if(k)for(q=0;q<f;q++){var t=h;h+=p;var v=l,w=n,x=Dh(t,e),z=Eh(t,e),C=Dh(h,d),F=Eh(h,d),l=Dh(h,e),n=Eh(h,e),J=(C-x)*(w-z)-(F-z)*(v-x),J=J/((F-z)*(l-v)-(C-x)*(n-w)),v=hp(e,d,t,h,k,1-J),t=ip(e,d,t,h,k,1-J);a.Hk(b+v,c+t,b+l,c+n);t=h;h+=p;v=l;w=n;x=Dh(h,e);z=Eh(h,e);C=Dh(t,d);F=Eh(t,d);l=Dh(h,d);n=Eh(h,d);J=(C-x)*(w-z)-(F-z)*(v-x);J/=(F-z)*(l-v)-(C-x)*(n-w);v=hp(e,d,h,t,k,J);t=ip(e,d,h,t,k,J);a.Hk(b+v,c+t,b+l,c+n)}else for(q=0;q<f;q++)h+=p,l=Dh(h,e),n=Eh(h,e),a.lineTo(b+l,c+n),h+=p,l=Dh(h,d),n=Eh(h,d),a.lineTo(b+l,c+n);a.close();return a}function wo(a,b,c,d){return vo(a,b,c,d,d/2,4)}function xo(a,b,c,d){return vo(a,b,c,d,d/2,5,-90)}function yo(a,b,c,d){return vo(a,b,c,d,.5773502691896258*d,6,-90)}function zo(a,b,c,d){return vo(a,b,c,d,d/2,7,-90)}function Ao(a,b,c,d){return vo(a,b,c,d,.8506508083520399*d,10)}function Bo(a,b,c,d){return vo(a,b,c,d,.5*d,3,-90)}
function Co(a,b,c,d){return vo(a,b,c,d,.5*d,3,90)}function Do(a,b,c,d){return vo(a,b,c,d,.5*d,3,0)}function Eo(a,b,c,d){return vo(a,b,c,d,.5*d,3,180)}function Fo(a,b,c,d){return vo(a,b,c,d,d*Math.SQRT1_2,4)}function Go(a,b,c,d){a=a.path?a.path():a;var e=d/4,f=b-d,h=b+d,k=c-d;d=c+d;a.moveTo(b-e,k).lineTo(b-e,c-e).lineTo(f,c-e).lineTo(f,c+e).lineTo(b-e,c+e).lineTo(b-e,d).lineTo(b+e,d).lineTo(b+e,c+e).lineTo(h,c+e).lineTo(h,c-e).lineTo(b+e,c-e).lineTo(b+e,k).close();return a}
function Ho(a,b,c,d){a=a.path?a.path():a;var e=d*Math.SQRT1_2/2,f=b-d,h=b+d,k=c-d;d=c+d;a.moveTo(f+e,k).lineTo(b,c-e).lineTo(h-e,k).lineTo(h,k+e).lineTo(b+e,c).lineTo(h,d-e).lineTo(h-e,d).lineTo(b,c+e).lineTo(f+e,d).lineTo(f,d-e).lineTo(b-e,c).lineTo(f,k+e).close();return a}function Io(a,b,c,d){a=a.path?a.path():a;var e=d/4,f=b-d;b+=d;a.moveTo(b,c-e).lineTo(b,c+e).lineTo(f,c+e).lineTo(f,c-e).close();return a}
function Jo(a,b,c,d){a=a.path?a.path():a;var e=d/4,f=c-d;c+=d;a.moveTo(b-e,f).lineTo(b+e,f).lineTo(b+e,c).lineTo(b-e,c).close();return a}function Ko(a,b,c,d,e,f){a=a.path?a.path():a;f=ub(f,-360,360);360==Math.abs(f)?a.Ob(b,c,d,d,e,f,!1):a.moveTo(b,c).Ob(b,c,d,d,e,f,!0).close();return a}
function Lo(a,b,c,d,e,f,h){0>d&&(d=0);0>e&&(e=0);if(d<e){var k=d;d=e;e=k}if(0>=e)return Ko(a,b,c,d,f,h);a=a.path?a.path():a;h=ub(h,-360,360);k=360>Math.abs(h);a.Ob(b,c,d,d,f,h).Ob(b,c,e,e,f+h,-h,k);k&&a.close();return a}function hp(a,b,c,d,e,f){a=Dh(c,a);b=Dh(d,b)-a;return 0<=e?a+b*(f+e-f*e):a+b*f*(e+1)}function ip(a,b,c,d,e,f){a=Eh(c,a);b=Eh(d,b)-a;return 0<=e?a+b*(f+e-f*e):a+b*f*(e+1)}
function jp(a){var b,c,d;switch(a.length){case 1:b=c=d=a[0];a.push(b,c,d);break;case 2:c=a[0];d=a[1];a.push(c,d);break;case 3:d=a[1];a.push(d);break;case 4:break;default:a.push(5,5,5,5)}}
function uo(a,b,c){var d=a.path?a.path():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).lineTo(b.left+b.width,b.top+f).lineTo(b.left+b.width,b.top+b.height-h).lineTo(b.left+b.width-h,b.top+b.height).lineTo(b.left+k,b.top+b.height).lineTo(b.left,b.top+b.height-k).lineTo(b.left,b.top+e).close()):(k=zb(arguments,2,6),jp(k),e=k[0],f=k[1],h=k[2],k=k[3],uo(d,b,e,f,h,k));return d}
function so(a,b,c){var d=a.path?a.path():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).oc(b.left+b.width,b.top+f,f,f,!1,!0).lineTo(b.left+b.width,b.top+b.height-h).oc(b.left+b.width-h,b.top+b.height,h,h,!1,!0).lineTo(b.left+k,b.top+b.height).oc(b.left,b.top+b.height-k,k,k,!1,!0),0!=e&&(d.lineTo(b.left,b.top+e),d.oc(b.left+e,b.top,e,e,!1,!0)),d.close()):(k=zb(arguments,2,6),jp(k),e=k[0],f=k[1],h=k[2],k=k[3],so(d,b,e,f,h,k));return d}
function to(a,b,c){var d=a.path?a.path():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).oc(b.left+b.width,b.top+f,f,f,!1,!1).lineTo(b.left+b.width,b.top+b.height-h).oc(b.left+b.width-h,b.top+b.height,h,h,!1,!1).lineTo(b.left+k,b.top+b.height).oc(b.left,b.top+b.height-k,k,k,!1,!1),0!=e&&d.lineTo(b.left,b.top+e).oc(b.left+e,b.top,e,e,!1,!1),d.close()):(k=zb(arguments,2,6),jp(k),e=k[0],f=k[1],h=k[2],k=k[3],to(d,b,e,f,h,k));return d}E("acgraph.vector.primitives.star",vo);E("acgraph.vector.primitives.star4",wo);E("acgraph.vector.primitives.star5",xo);E("acgraph.vector.primitives.star6",yo);E("acgraph.vector.primitives.star7",zo);E("acgraph.vector.primitives.star10",Ao);E("acgraph.vector.primitives.diamond",Fo);E("acgraph.vector.primitives.triangleUp",Bo);E("acgraph.vector.primitives.triangleDown",Co);E("acgraph.vector.primitives.triangleRight",Do);E("acgraph.vector.primitives.triangleLeft",Eo);E("acgraph.vector.primitives.cross",Go);E("acgraph.vector.primitives.diagonalCross",Ho);E("acgraph.vector.primitives.hLine",Io);E("acgraph.vector.primitives.vLine",Jo);E("acgraph.vector.primitives.pie",Ko);E("acgraph.vector.primitives.donut",Lo);E("acgraph.vector.primitives.truncatedRect",uo);E("acgraph.vector.primitives.roundedRect",so);E("acgraph.vector.primitives.roundedInnerRect",to);function Ln(a,b,c,d){this.a=new M(a||0,b||0,c||0,d||0);this.N=[];this.w=[0,0,0,0];So.call(this);kp(this)}G(Ln,So);g=Ln.prototype;g.yf=Kn.prototype.yf|32;g.Zf=function(){return"rect"};g.Mn=function(a){a!=this.a.left&&(this.a.left=a,kp(this));return this};g.Nn=function(a){a!=this.a.top&&(this.a.top=a,kp(this));return this};g.Ln=function(a){this.a.width!=a&&(this.a.width=a,kp(this));return this};g.In=function(a){this.a.height!=a&&(this.a.height=a,kp(this));return this};g.Jg=function(a){di(this.a,a)||(this.a.left=a.left,this.a.top=a.top,this.a.width=a.width,this.a.height=a.height,kp(this));return this};g.Oz=function(a,b){var c,d,e,f;c=zb(arguments,1);d=c[0];u(d)?f=Jf(d,4):f=c;4>f.length?f=e=d=c=parseFloat(f[0]):(c=parseFloat(f[0]),d=parseFloat(f[1]),e=parseFloat(f[2]),f=parseFloat(f[3]));this.w[0]=c?c:0;this.N[0]=c?a:void 0;this.w[1]=d?d:0;this.N[1]=d?a:void 0;this.w[2]=e?e:0;this.N[2]=e?a:void 0;this.w[3]=f?f:0;this.N[3]=f?a:void 0};function kp(a){var b=!a.oa()||a.oa().Jc();b||a.oa().rd();Yo(a);var c=a.w[0];a.Gt(a.a.left+c,a.a.top);c=a.w[1];a.$h(a.a.left+a.a.width-a.w[1],a.a.top);if(a.N[1])switch(a.N[1]){case"round":Zo(a,a.a.left+a.a.width,a.a.top+c,c,c,!1,!0);break;case"roundInner":Zo(a,a.a.left+a.a.width,a.a.top+c,c,c,!1,!1);break;case"cut":a.$h(a.a.left+a.a.width,a.a.top+c)}c=a.w[2];a.$h(a.a.left+a.a.width,a.a.top+a.a.height-c);if(a.N[2])switch(a.N[2]){case"round":Zo(a,a.a.left+a.a.width-c,a.a.top+a.a.height,c,c,!1,!0);break;case"roundInner":Zo(a,a.a.left+a.a.width-c,a.a.top+a.a.height,c,c,!1,!1);break;case"cut":a.$h(a.a.left+a.a.width-c,a.a.top+a.a.height)}c=a.w[3];a.$h(a.a.left+c,a.a.top+a.a.height);if(a.N[3])switch(a.N[3]){case"round":Zo(a,a.a.left,a.a.top+a.a.height-c,c,c,!1,!0);break;case"roundInner":Zo(a,a.a.left,a.a.top+a.a.height-c,c,c,!1,!1);break;case"cut":a.$h(a.a.left,a.a.top+a.a.height-c)}c=a.w[0];a.$h(a.a.left,a.a.top+c);if(a.N[0])switch(a.N[0]){case"round":Zo(a,a.a.left+c,a.a.top,c,c,!1,!0);break;case"roundInner":Zo(a,a.a.left+c,a.a.top,c,c,!1,!1)}a.Ex();b||a.oa().gd()}g.round=function(a,b,c,d){fb(arguments,0,0,"round");this.Oz.apply(this,arguments);kp(this);return this};g.jG=function(a,b,c,d){fb(arguments,0,0,"roundInner");this.Oz.apply(this,arguments);kp(this);return this};g.Tx=function(a,b,c,d){fb(arguments,0,0,"cut");this.Oz.apply(this,arguments);kp(this);return this};g.Pb=function(a){Ln.v.Pb.call(this,a);this.Mn(a.x).Nn(a.y).Ln(a.width).In(a.height);a.cornerTypes&&(this.N=Jf(a.cornerTypes,4),a=Jf(a.cornerSizes,4),Mf(a,function(a,c,d){d[c]=parseFloat(a)}),this.w=a,kp(this))};g.o=function(){var a=Ln.v.o.call(this);a.type="rect";a.x=this.a.left;a.y=this.a.top;a.width=this.a.width;a.height=this.a.height;a.cornerTypes=this.N.join(" ");a.cornerSizes=this.w.join(" ");return a};g.V=function(){this.a=this.N=this.w=null;fo(this);Ln.v.V.call(this)};E("acgraph.vector.Rect",Ln);Ln.prototype.setX=Ln.prototype.Mn;Ln.prototype.setY=Ln.prototype.Nn;Ln.prototype.setWidth=Ln.prototype.Ln;Ln.prototype.setHeight=Ln.prototype.In;Ln.prototype.setBounds=Ln.prototype.Jg;Ln.prototype.cut=Ln.prototype.Tx;Ln.prototype.round=Ln.prototype.round;Ln.prototype.roundInner=Ln.prototype.jG;function lp(a){gp.call(this,a);this.a={}}G(lp,gp);lp.prototype.clear=function(){gf(this.a);lp.v.clear.call(this)};function wn(a,b){var c=Am(zm.Xc(),b),d=a.a[c];if(!d){var d=a.a,e;e=Pm("clipPath");d[c]=d=e}return d}lp.prototype.V=function(){lp.v.V.call(this);for(var a in this.a)delete this.a[a];delete this.a};function mp(a,b){this.H=!1;this.ka=a||0;this.fa=b||0;this.B=new M(this.ka,this.fa,0,0);this.ma=this.j=this.Bb=this.h=0;this.ta=!1;this.a=[];this.c=[];this.F=this.qc=this.w=0;this.Ta=!0;this.Sb=this.D=this.X=this.Gb=0;this.M=[];this.ea=1;this.N=np;this.b=0;this.da=this.g=!1;this.sb=this.Gc={fontSize:aa.acgraph.fontSize,color:aa.acgraph.fontColor,fontFamily:aa.acgraph.fontFamily,direction:aa.acgraph.textDirection,textOverflow:np,textWrap:op,selectable:!0,hAlign:cn};$n.call(this)}G(mp,$n);var op="noWrap",np="",bn="left",cn="start",an="end",dn="right",pp={pR:bn,OR:cn,ZQ:"center",kR:an,GR:dn},qp={QR:"top",rR:"middle",YQ:"bottom"};g=mp.prototype;g.yf=$n.prototype.yf|17440;g.sb=null;g.Jb=null;g.x=function(a){return null!=a?(this.ka!=a&&(this.ka=a,this.H&&rp(this),this.B.left=a,this.za(16384),fo(this)),this):this.ka};g.y=function(a){return null!=a?(this.fa!=a&&(this.fa=a,this.H&&sp(this),this.B.top=a,this.za(16384),fo(this)),this):this.fa};function tp(a,b,c){if(m(c)){if(c!==a.sb[b]){var d=!a.oa()||a.oa().Jc();d||a.oa().rd();a.sb[b]=c;a.H=!1;a.za(1024);a.za(32);a.za(16384);a.yk();d||a.oa().gd()}return a}return a.sb[b]}g.yk=function(){if(pn.sq()){var a=this.Zd();a&&!Uh(a)&&this.za(4)}};g.width=function(a){m(a)&&tp(this,"width")!=a&&(this.sa=a=Math.max(a,0)||0);return tp(this,"width",a)};g.height=function(a){m(a)&&tp(this,"height")!=a&&(this.Ra=a=Math.max(a,0)||0);return tp(this,"height",a)};g.opacity=function(a){return null!=a?(this.sb.opacity=a,this.za(1024),this):this.sb.opacity};g.color=function(a){return null!=a?(this.sb.color=a,this.za(1024),this):this.sb.color};g.fontSize=function(a){return tp(this,"fontSize",a)};g.fontFamily=function(a){return tp(this,"fontFamily",a)};g.Yl=function(a){return tp(this,"direction",a)};g.fontStyle=function(a){return tp(this,"fontStyle",a)};g.fontVariant=function(a){return tp(this,"fontVariant",a)};g.fontWeight=function(a){return tp(this,"fontWeight",a)};g.letterSpacing=function(a){return tp(this,"letterSpacing",a)};g.bk=function(a){return tp(this,"decoration",a)};g.lineHeight=function(a){null!=a&&(this.ea=up(a));return tp(this,"lineHeight",a)};function up(a){var b=parseFloat(a);return isNaN(b)||0>b?1:u(a)&&of(a,"%")?1+parseFloat(a)/100:a}g.textIndent=function(a){null!=a&&(this.b=a);return tp(this,"textIndent",a)};g.vAlign=function(a){if(m(a))if("center"==a)a="middle";else{var b=!1;Ze(qp,function(c){a==c&&(b=!0)});b||(a="top")}return tp(this,"vAlign",a)};g.xc=function(a){if(m(a))if("middle"==a)a="center";else{var b=!1;Ze(pp,function(c){a==c&&(b=!0)});b||(a=cn)}return tp(this,"hAlign",a)};g.yd=function(a){return tp(this,"textWrap",a)};g.textOverflow=function(a){null!=a&&(this.N=a);return tp(this,"textOverflow",a)};g.Pc=function(a){return tp(this,"selectable",a)};g.style=function(a){if(null!=a){a&&mf(this.sb,a);this.sa=parseFloat(this.sb.width)||0;this.Ra=parseFloat(this.sb.height)||0;this.sb.lineHeight&&(this.ea=up(this.sb.lineHeight));var b,c=this.sb.vAlign;null!=c&&("center"==c?this.sb.vAlign="middle":(b=!1,Ze(qp,function(a){c==a&&(b=!0)}),b||(this.sb.vAlign="top")));var d=this.sb.hAlign;null!=d&&("middle"==d?this.sb.hAlign="center":(b=!1,Ze(pp,function(a){d==a&&(b=!0)}),b||(this.sb.hAlign=cn)));null!=this.sb.direction&&(this.g="rtl"==this.sb.direction);null!=this.sb.textOverflow&&(this.N=this.sb.textOverflow);null!=this.sb.textIndent&&(this.b=this.sb.textIndent);this.g&&(this.b=0);(a=!this.oa()||this.oa().Jc())||this.oa().rd();this.H=!1;this.za(1024);this.za(32);this.za(16384);this.za(4);this.yk();a||this.oa().gd();return this}return this.sb};g.text=function(a){return m(a)?(a!=this.Jb&&(this.Jb=String(a),this.ta=!1,(a=!this.oa()||this.oa().Jc())||this.oa().rd(),this.H=!1,this.za(1024),this.za(32),this.za(16384),this.yk(),a||this.oa().gd()),this):this.Jb};g.htmlText=function(a){return m(a)?(a!=this.Jb&&(this.Jb=String(a),this.ta=!0,(a=!this.oa()||this.oa().Jc())||this.oa().rd(),this.H=!1,this.za(1024),this.za(32),this.za(16384),this.yk(),a||this.oa().gd()),this):this.Jb};g.Zf=function(){return"text"};g.Cg=function(){return this.B.clone()};g.Ug=function(a){this.H||this.yu();if(!a)return this.B.clone();var b=a==this.Rb,c=a==this.Zd();if(this.Md&&b)return this.Md.clone();if(this.Ld&&c)return this.Ld.clone();a=Zl(this.B.clone(),a);b&&(this.Md=a.clone());c&&(this.Ld=a.clone());return a};g.JF=function(a){for(var b=pn.b,c=arguments,d={},e=0,f=b.length;e<f;e++)for(var h=c.length;h--;){var k=c[h];if(k&&(k=k[b[e]],m(k))){d[b[e]]=k;break}}return d};g.ag=function(a,b){return Lm(pn,a,this.JF(this.sb,b))};function vp(a,b,c,d,e,f){var h,k=Math.floor((e-d)/(f.width/b.length));h=b.substring(0,k);for(h=a.ag(h,c);d+h.width<e&&1<k;)k++,h=b.substring(0,k),h=a.ag(h,c);for(;d+h.width>e&&1<k;)k--,h=b.substring(0,k),h=a.ag(h,c);a=a.JF(a.sb,c);b=b.substring(k,b.length);h=f.width-h.width;f=f.clone();f.width=h;Lm(pn,b,a,f);return k}
function wp(a,b,c,d,e){c=new yn(b,c);c.c=-d.top;c.height=d.height;c.width=d.width;a.b&&0==a.a.length&&(e=e||0,a.b=a.sa&&a.b+d.width+e>a.sa?a.sa-d.width-e:a.b,0>a.b&&(a.b=0));a.F=Math.max(a.F,d.height);a.w+=d.width;0==a.a.length&&(a.w+=a.b);a.D=Math.max(a.D,c.c);a.Ta=a.c.length?a.Ta&&0==b.length:0==b.length;a.c.push(c);a.a.push(c);c.parent(a);return c}
function xp(a){var b,c,d,e,f=Kf(a.M),h=Kf(f),k=a.ag(a.N,h.a);k.width>a.sa&&(d=vp(a,a.N,h.a,0,a.sa,k),a.N=a.N.substring(0,d));d=a.qc;var l=a.sa;if(""==a.N)c=Lf(a.a,h)+1,fb(a.a,c,a.a.length-c);else if(l-d>=k.width)a.c=f,c=Lf(a.a,h)+1,fb(a.a,c,a.a.length-c),e=wp(a,a.N,h.a,k),2==a.c.length&&""==a.c[0].text&&(e.b=a.X-a.c[0].height,e.m=!0);else{for(var n=f.length-1;!b&&0<=n;)h=f[n],k=a.ag(a.N,h.a),c=a.ag(h.text,h.a),d-c.width+k.width<=a.sa&&(b=h),d-=c.width,n--;b||1!=a.M.length||(b=f[0],d-=c.width);b&&(a.c=f,n=a.c[0].b,l-=k.width,c=Lf(f,b),fb(f,c,f.length-c),c=Lf(a.a,b),fb(a.a,c,a.a.length-c),a.F=0,a.w=0,a.D=0,c=a.ag(b.text,b.a),d=vp(a,b.text,b.a,d,l,c),1>d&&(d=1),l=b.text.substring(0,d),f=a.ag(l,b.a),l=wp(a,l,b.a,f,k.width),l.x=b.x,l.y=b.y,f.width+k.width>a.sa&&(d=vp(a,a.N,h.a,f.width,a.sa,k),a.N=a.N.substring(0,d)),0<d&&(e=wp(a,a.N,b.a,k),e.x=l.x+f.width,e.y=l.y),a.c[0].m=!0,a.c[0].b=n)}a.g&&e&&(b=a.c[0],e.m=b.m,e.x=b.x,e.b=b.b,b.b=0,b.x=0,b.m=!1,Vf(a.a,e),c=Lf(a.a,b),Za(a.a,e,c));a.da=!0}
function yp(a){a.Ta&&tm(a,"");zp(a);a.Gb++;tm(a,"");var b=a.c[0]?a.c[0].height:0;a.X+=u(a.ea)?parseInt(a.ea,0)+b:a.ea*b}
function tm(a,b,c){if(!a.da){c=c||{};var d=a.ag(b,c),e=0==a.a.length?a.b:0;if(a.sb.width)for(;a.w+d.width+e>a.sa&&!a.da;){var f=vp(a,b,c,e+a.w,a.sa,d);1>f&&0==a.c.length&&(f=1);0!=f&&(e=b.substring(0,f).replace(/[\s\xa0]+$/,""),d=a.ag(e,c),wp(a,e,c,d));zp(a);1==b.length&&(a.da=!0);e=0;"byLetter"==a.sb.textWrap?(b=b.substring(f,b.length).replace(/^[\s\xa0]+/,""),d=a.ag(b,c)):a.ta?(b="",d=a.ag(b,c)):a.da=!0}a.da||wp(a,b,c,d)}}
function zp(a){a.yd()!=op||1!=a.M.length||a.ta||xp(a);if(!a.da&&0!=a.c.length){var b=0==a.M.length;if(a.Ra&&a.h+a.F>a.Ra&&0!=a.M.length)xp(a);else{a.F=u(a.ea)?parseInt(a.ea,0)+a.F:a.ea*a.F;if(pn.OF()){var c,d,e,f;c=a.g&&a.sb.hAlign==cn||!a.g&&a.sb.hAlign==an||a.sb.hAlign==dn;d="center"==a.sb.hAlign;if(a.g&&a.sb.hAlign==an||!a.g&&a.sb.hAlign==cn||a.sb.hAlign==bn)for(c=a.g?0:a.b&&b?a.b:0,d=0,e=a.c.length;d<e;d++)f=a.c[d],f.x=c,f.y=a.h+a.D+f.height-1.5*f.c,c+=f.width;else if(d)for(c=-a.w/2,!a.g&&a.b&&b?c+=a.b:a.g&&a.b&&b&&(c-=0),d=0,e=a.c.length;d<e;d++)f=a.c[d],f.x=c+f.width/2,f.y=a.h+a.D+f.height-1.5*f.c,c+=f.width;else if(c)for(c=a.g?a.b&&b?-a.b:0:0,d=a.c.length-1;0<=d;d--)f=a.c[d],f.x=c,f.y=a.h+a.D+f.height-1.5*f.c,c-=f.width}if(b)a.c[0].c=a.D,a.b&&"center"==a.sb.hAlign&&(a.c[0].h=a.g?-a.b/2:a.b/2);else{var h;for(d=0;d<a.c.length;d++)if(""!=a.c[d].text){h=a.c[d];break}h&&(h.m=!0,a.Ta||(h.b=a.X&&1<a.Gb?a.X:a.Sb+a.D))}a.h+=a.F;a.Bb=Math.max(a.Bb,a.w);a.Sb=a.F-a.D;a.qc=a.w;a.Ta||(a.X=0,a.Gb=0);a.Ta=!0;a.F=0;a.w=0;a.D=0;a.M.push(a.c);a.c=[]}}}function rp(a){a.j=a.ka;a.sb.hAlign==cn?a.j+=a.g?a.sa:0:"center"==a.sb.hAlign?a.j+=a.sa/2:a.sb.hAlign==an?a.j+=a.g?0:a.sa:a.sb.hAlign==dn&&(a.j+=a.sa)}function sp(a){a.ma=a.fa+(0==a.a.length?0:a.a[0].c);a.sb.vAlign&&a.h<a.sb.height&&("middle"==a.sb.vAlign?a.ma+=a.Ra/2-a.h/2:"bottom"==a.sb.vAlign&&(a.ma+=a.Ra-a.h))}
g.yu=function(){0!=this.a.length&&(this.M=[],this.a=[]);null!=this.sb.direction&&(this.g="rtl"==this.sb.direction);null!=this.sb.textIndent&&(this.b=this.sb.textIndent);this.g&&(this.b=0);this.sa=parseFloat(this.sb.width)||0;this.Ra=parseFloat(this.sb.height)||0;this.da=!1;this.D=this.w=this.F=this.Gb=this.X=this.h=this.Bb=this.Sb=this.qc=0;this.c=[];this.ma=this.j=0;var a,b;if(null!=this.Jb){if(this.ta){a=nm.Xc();a.j=[];a.B=[];a.a="";a.w="";a.b="";a.F="'";a.h="";a.m="";a.c="";a.style=null;a.N=null;a.state=1;a.H=!1;a.g="";a.D=!0;a.J=!1;a.N=this;b=this.text();for(var c=b.length,d=-1,e,f=!1,h=!1,k=!1;++d<c;)switch(e=b.charAt(d),f=/\xa0|\s/.test(e),h=/[^a-zA-Z]/.test(e),a.state){case 1:if("<"==e){a.state=2;break}if(a.H&&f)break;if("&"==e){a.state=14;break}if(a.J&&(a.J=!1,";"==e))break;a.c+=e;a.H=f;break;case 14:if(a.D&&!a.g&&"#"==e){a.D=!1;break}if("&"==e){ym(a,14,"");break}if(/(_|\W)/.test(e)){ym(a,"<"==e?2:1,e);break}f=/\d/.test(e);if(!a.D&&!f){ym(a,1,e);break}a.g+=e;om[a.g]&&(a.J=!0,ym(a,1,""));break;case 2:if(k){if(">"!=e)break;"br"==a.a&&yp(a.N);a.a="";k=!1;a.state=1;break}if(!a.a&&"<"==e){a.c+="<";break}if(!a.a&&h&&"/"!=e){a.c+="<"+e;a.state=1;break}if(!a.a&&"/"==e){a.state=3;break}if("br"==a.a&&">"==e){yp(a.N);a.a="";a.state=1;break}if("br"==a.a&&("/"==e||f)){k=!0;break}a.a&&sm(a);if(a.a&&f){a.state=4;break}if(">"==e){vm(a);break}a.a+=e.toLowerCase();break;case 3:if(k){if(">"!=e)break;um(a);k=!1;break}if(!a.w&&h){a.c+="</"+e;a.state=1;break}if(a.w&&f){k=!0;break}if(">"==e){um(a);k=!1;break}a.w+=e.toLowerCase();break;case 4:if(k){if(">"!=e)break;vm(a,!0);k=!1;break}if(">"==e){vm(a,!0);break}if(f){a.state=5;break}if("="==e){a.b&&(a.state="style"==a.b?6:8);break}a.b+=e.toLowerCase();break;case 5:if(">"==e){vm(a,!0);break}if(f)break;if(a.b&&!h){a.b=e;a.state=4;break}if("="==e){a.b&&(a.state="style"==a.b?6:8);break}a.b+=e;a.state=4;break;case 6:if(f)break;if(">"==e){vm(a,!0);break}if("'"==e||'"'==e){a.F=e;a.state=9;break}a.h=e;a.state=10;break;case 8:if(f)break;if(">"==e){a.b="";a.a="";a.state=1;break}if("'"==e||'"'==e){a.F=e;a.state=7;break}a.state=11;break;case 9:if(f)break;if(e==a.F){k=!0;wm(a,4,!0);break}if(":"==e){a.state=12;break}a.h+=e.toLowerCase();break;case 12:if(f)break;if(e==a.F){k=!0;wm(a,4,!0);break}if(";"==e){wm(a,9);break}a.m+=e.toLowerCase();break;case 7:if(e==a.F){a.b="";a.state=4;break}break;case 10:if(f){k=!0;wm(a,4,!0);break}if(">"==e){xm(a);break}if(":"==e){a.state=13;break}a.h+=e;break;case 11:if(f){wm(a,4,!0);break}if(">"==e){vm(a);break}break;case 13:if(f){k=!0;wm(a,4,!0);break}if(">"==e){xm(a);break}if(";"==e){wm(a,10);break}a.m+=e.toLowerCase();break;default:throw"Error while parsing HTML: Symbol '"+e+"', position: "+(d-1);}sm(a);zp(a.N)}else for(this.Jb=this.Jb.replace(/\xa0|[ \t]+/g," ").replace(/(\r\n|\r|\n)/g,"\n"),c=this.Jb.split(/\n/g),b=0;b<c.length;b++)a=c[b],null!=a&&(""!=a&&tm(this,a),yp(this));this.b&&0<this.M.length&&(a=this.M[0][0],this.g?this.sb.hAlign&&this.sb.hAlign!=cn&&this.sb.hAlign!=dn||(a.h-=this.b):this.sb.hAlign&&this.sb.hAlign!=cn&&this.sb.hAlign!=bn||(a.h+=this.b));this.sb.width||(this.sa=this.Bb);this.sb.height||(this.Ra=this.h);rp(this);sp(this);this.B=new M(this.ka,this.fa,this.sa,this.Ra);this.H=!0}};g.pj=function(){return pn.Px()};g.Re=function(){this.H||this.yu();this.yc(1024)&&(pn.JG(this),co(this,1024));this.yc(32)&&this.jv();this.yc(16384)&&this.Cz();mp.v.Re.call(this)};g.Cz=function(){for(var a=0,b=this.a.length;a<b;a++){var c=this.a[a];c.Kk&&pn.hB(c)}pn.Tz(this);co(this,16384)};g.jv=function(){this.P()&&Wi(this.P());for(var a=0,b=this.a.length;a<b;a++){var c=this.a[a];""!=c.text&&(c.Kk=pn.Qx(),c.Kk&&pn.iB(c),c.iv.P().appendChild(c.Kk))}co(this,32)};g.Nl=function(){pn.KG(this);co(this,4);co(this,256)};g.Pb=function(a){this.x(a.x).y(a.y).style(a.style);a.html?this.htmlText(a.text):this.text(a.text);mp.v.Pb.call(this,a)};g.o=function(){var a=mp.v.o.call(this);a.type="text";a.x=this.x();a.y=this.y();a.html=this.ta;a.text=this.text();a.style=this.style();return a};g.V=function(){Bd(this.a);delete this.a;delete this.M;delete this.B;delete this.B;mp.v.V.call(this)};E("acgraph.vector.Text",mp);mp.prototype.text=mp.prototype.text;mp.prototype.style=mp.prototype.style;mp.prototype.htmlText=mp.prototype.htmlText;mp.prototype.x=mp.prototype.x;mp.prototype.y=mp.prototype.y;mp.prototype.fontSize=mp.prototype.fontSize;mp.prototype.color=mp.prototype.color;mp.prototype.fontFamily=mp.prototype.fontFamily;mp.prototype.direction=mp.prototype.Yl;mp.prototype.fontStyle=mp.prototype.fontStyle;mp.prototype.fontVariant=mp.prototype.fontVariant;mp.prototype.fontWeight=mp.prototype.fontWeight;mp.prototype.letterSpacing=mp.prototype.letterSpacing;mp.prototype.decoration=mp.prototype.bk;mp.prototype.opacity=mp.prototype.opacity;mp.prototype.lineHeight=mp.prototype.lineHeight;mp.prototype.textIndent=mp.prototype.textIndent;mp.prototype.vAlign=mp.prototype.vAlign;mp.prototype.hAlign=mp.prototype.xc;mp.prototype.width=mp.prototype.width;mp.prototype.height=mp.prototype.height;mp.prototype.textWrap=mp.prototype.yd;mp.prototype.textOverflow=mp.prototype.textOverflow;mp.prototype.selectable=mp.prototype.Pc;E("acgraph.vector.Text.TextWrap.NO_WRAP",op);E("acgraph.vector.Text.TextWrap.BY_LETTER","byLetter");E("acgraph.vector.Text.TextOverflow.CLIP",np);E("acgraph.vector.Text.TextOverflow.ELLIPSIS","...");E("acgraph.vector.Text.FontStyle.ITALIC","italic");E("acgraph.vector.Text.FontStyle.NORMAL","normal");E("acgraph.vector.Text.FontStyle.OBLIQUE","oblique");E("acgraph.vector.Text.FontVariant.NORMAL","normal");E("acgraph.vector.Text.FontVariant.SMALL_CAP","small-caps");E("acgraph.vector.Text.Direction.LTR","ltr");E("acgraph.vector.Text.Direction.RTL","rtl");E("acgraph.vector.Text.Decoration.BLINK","blink");E("acgraph.vector.Text.Decoration.LINE_THROUGH","line-through");E("acgraph.vector.Text.Decoration.OVERLINE","overline");E("acgraph.vector.Text.Decoration.UNDERLINE","underline");E("acgraph.vector.Text.Decoration.NONE","none");E("acgraph.vector.Text.HAlign.START",cn);E("acgraph.vector.Text.HAlign.LEFT",bn);E("acgraph.vector.Text.HAlign.CENTER","center");E("acgraph.vector.Text.HAlign.END",an);E("acgraph.vector.Text.HAlign.RIGHT",dn);E("acgraph.vector.Text.VAlign.TOP","top");E("acgraph.vector.Text.VAlign.MIDDLE","middle");E("acgraph.vector.Text.VAlign.BOTTOM","bottom");function po(a){$n.call(this);this.a=m(a)?a:""}G(po,$n);g=po.prototype;g.Zf=function(){return"unmanageablelayer"};g.yf=$n.prototype.yf|32;g.nB=function(a){return m(a)?(a!=this.a&&(this.a=a,this.za(32)),this):this.a};g.pj=function(){return pn.Hs()};g.Re=function(){po.v.Re.call(this);if(this.yc(32)){var a=this.P();Wi(a);u(this.a)?a.innerHTML=this.a:a.appendChild(this.a);co(this,32)}};g.Ug=function(a){var b=a==this.Rb,c=a==this.Zd();if(this.Md&&b)return this.Md.clone();if(this.Ld&&c)return this.Ld.clone();var d=pn.IF(this.a);a&&(d=Zl(d,a));b&&(this.Md=d.clone());c&&(this.Ld=d.clone());return d};g.Pb=function(a){"content"in a&&this.nB(a.content);po.v.Pb.call(this,a)};g.o=function(){var a=po.v.o.call(this);a.content=u(this.a)?this.a:this.a.outerHTML;return a};po.prototype.content=po.prototype.nB;function N(a,b,c){Oj.call(this);this.j=1;this.b=this.Xb=null;this.B=this.D=void 0;this.H=!1;this.hg=new Kj(this);L(this,this.hg);var d=pn.jE();if(!d)throw pl(3);this.width(b||"100%");this.height(c||"100%");this.A(a);this.g=d;ho(this);pn.Kn(this.P(),this.Il,this.Hl);this.c=[];this.ma=na(function(){this.ph=0;this.zo=this.UH;this.Re();aj(this.P())&&this.A()==aj(this.P())||pn.appendChild(this.A(),this.P());if(this.a.Rh)setTimeout(this.ma,0);else{(Fj(this,!1)||Fj(this,!0))&&Ap(this);Bp(this,Cp);var a=pn.zy(),b=pn.Vy();a&&b?this.m||(this.m=Cj(a,"complete",function(){this.F.call();this.m=null},!1,this)):this.F.call()}},this);this.F=na(function(){this.Ik||this.dispatchEvent(Ep)},this);this.h=this.M();this.h.so=pn.$D();pn.appendChild(this.P(),this.h.P());this.a=new no;Zn(this.a,this).be();pn.appendChild(this.P(),this.a.P());this.hg.pa(this.P(),"mousedown mouseover mouseout click dblclick touchstart touchend touchcancel MSPointerDown MSPointerUp pointerdown pointerup contextmenu".split(" "),this.vj,!1);this.gd()}G(N,Oj);var Cp="renderfinish",Gj="stageresize",Ep="stagerendered";g=N.prototype;g.vj=function(a){var b=new ql(a,this);b.target instanceof $n&&(b.target.dispatchEvent(b),b.N&&a.preventDefault(),b.relatedTarget instanceof $n&&b.relatedTarget.oa()==this||("mouseover"==b.type?this.hg.pa(document,"mousemove",this.vj,!1):"mouseout"==b.type&&this.hg.Ec(document,"mousemove",this.vj,!1)),"mousedown"==b.type?this.hg.pa(document,"mouseup",this.vj,!1):"mouseup"==b.type?this.hg.Ec(document,"mouseup",this.vj,!1):"touchstart"==b.type?this.hg.pa(document,"touchmove",this.vj,!1):"touchend"==b.type?this.hg.Ec(document,"touchmove",this.vj,!1):"pointerdown"==b.type?this.hg.pa(document,"pointermove",this.vj,!1):"pointerup"==b.type&&this.hg.Ec(document,"pointermove",this.vj,!1))};g.sa=0;g.Ra=0;g.Il=0;g.Hl=0;g.un=!1;g.tn=!1;g.ph=0;N.prototype.pathToRadialGradientImage="RadialGradient.png";g=N.prototype;g.Qb=void 0;g.Zf=function(){return"stage"};g.P=function(){return this.g};g.width=function(a){if(null!=a){this.Il=a;this.un=u(a)&&of(a,"%");var b=this.Xb?Ek(this.Xb).width||0:0;this.un?this.Xb?(Fp(this,b*parseFloat(a)/100,b),Ap(this)):Fp(this,0,b):Fp(this,parseFloat(a.toString()),b);this.J=!0;!this.j&&this.Xb&&this.be();return this}return this.sa};function Fp(a,b,c){a.sa=Math.max(b,0);a.w=c}
g.height=function(a){if(null!=a){this.Hl=a;this.tn=u(a)&&of(a,"%");var b=this.Xb?Ek(this.Xb).height||0:0;this.tn?this.Xb?(Gp(this,Math.max(b*parseFloat(a)/100,0),b),Ap(this)):Gp(this,0,b):Gp(this,parseFloat(a.toString()),b);this.J=!0;!this.j&&this.A()&&this.be();return this}return this.Ra};function Gp(a,b,c){a.Ra=Math.max(b,0);a.N=c}
g.A=function(a){if(!m(a))return this.Xb;if(this.b=Ji(a||null)){this.Xb=Qi("DIV",{style:"position: relative; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden;"});this.b.appendChild(this.Xb);(this.tn||this.un)&&Ap(this);var b=Ek(this.Xb);a=b.height||0;b=b.width||0;this.tn?Gp(this,a*parseFloat(this.Hl)/100,a):this.N=a;this.un?Fp(this,b*parseFloat(this.Il)/100,b):this.w=b}else this.Xb=null;if(this.tn||this.un)this.J=!0;!this.Jc()&&this.Xb&&this.be();return this};g.qn=null;function Hp(a){if(!a.qn)if(a.b)a.qn=new km(a,a.b),L(a,a.qn);else return null;return a.qn}g.hg=null;g.Ik=!1;g.rd=function(){this.j++;return this};g.gd=function(a){this.j=a?0:Math.max(this.j-1,0);if(!this.j&&this.A())if(this.H){if(!this.Ik){if(!this.A())throw pl(2);Bp(this,"renderstart");setTimeout(this.ma,0)}}else this.be();return this};g.XM=function(a){return m(a)?(this.H=!!a,this):this.H};g.Jc=function(){return!!this.j};g.yH=function(){return this.Ik};function Bp(a,b){switch(b){case"renderstart":a.Ik=!0;break;case Cp:a.Ik=!1}a.dispatchEvent(b)}g.DO=function(){Ip(this)};function Ip(a){if(a.Xb){var b=Ek(a.Xb),c=b.height||0,d=!1;a.N!=c&&(a.tn?(Gp(a,c*parseFloat(a.Hl)/100,c),d=!0):a.N=c);b=b.width||0;a.w!=b&&(a.un?(Fp(a,b*parseFloat(a.Il)/100,b),d=!0):a.w=b);d&&a.dispatchEvent(Gj)}}g.mB=function(a,b){this.width(a);this.height(b)};function Ap(a){var b=Hp(a),c=b.P();a.b!=aj(c)&&lm(b,a.b);a.hg.pa(b,"sizechange",a.DO,!1)}g.oa=function(){return this};g.parent=function(){return this};function ln(a){return a.h}g.aN=function(){this.h.clear()};g.id=function(a){if(m(a))return a=a||"",this.Qb!==a&&(this.Qb=a,pn.Rz(this,this.Qb)),this;m(this.Qb)||this.id(Bm(zm.Xc(),this));return this.Qb};g.pB=function(a){this.ph+=a;return a};g.UH=function(a){a=Math.min(500-this.ph,a);this.ph+=a;return a};g.zo=N.prototype.pB;g.be=function(){if(this.Ik)return this;this.ph=0;this.zo=this.pB;Bp(this,"renderstart");if(!this.Xb)throw pl(2);this.Re();this.J&&pn.Kn(this.P(),this.Il,this.Hl);aj(this.g)&&this.Xb==aj(this.g)||(this.Xb.appendChild(this.g),qk(this.g,"display","block"),Sg(this.g));if(this.a.Rh)throw pl(6);this.W||!Fj(this,!1)&&!Fj(this,!0)||(Ap(this),this.W=!0);Bp(this,Cp);var a=pn.zy(),b=pn.Vy();a&&b?this.m||(this.m=Cj(a,"complete",function(){this.F.call();this.m=null},!1,this)):this.F.call();return this};g.Re=function(){if(this.c&&this.c.length){for(var a=0;a<this.c.length;a++){var b=this.c[a];b.b&&b.be()}this.c.length=0}this.a.Rh&&this.a.be()};g.za=function(){};g.yc=function(a){return this.a.yc(a)};g.visible=function(a){if(0==arguments.length)return this.a.visible();this.a.visible(a);return this};g.data=function(a){if(0==arguments.length)return this.o();var b,c=a.type;if(c)switch(c){case"rect":b=this.rect();break;case"circle":b=this.jB();break;case"ellipse":b=this.kB();break;case"image":b=this.lB();break;case"text":b=this.text();break;case"path":b=this.path();break;case"layer":b=this.Of();break;default:b=null}else this.Pb(a);b&&b.Pb(a);return this};g.pk=function(a,b,c,d){if(Jp==Kp){var e={};m(a)&&(e.width=a);m(b)&&(e.height=b);m(c)&&(e.quality=c);m(d)&&(e["file-name"]=d);mm(Hp(this),Lp+"/png",this.Jk(),"svg",e)}else alert(pl(15))};g.mk=function(a,b,c,d,e){if(Jp==Kp){var f={};m(a)&&(f.width=a);m(b)&&(f.height=b);m(c)&&(f.quality=c);m(d)&&(f["force-transparent-white"]=d);m(e)&&(f["file-name"]=e);mm(Hp(this),Lp+"/jpg",this.Jk(),"svg",f)}else alert(pl(15))};g.nk=function(a,b,c,d,e){if(Jp==Kp){var f={},h=null;m(a)?y(a)?(f["pdf-width"]=a,f["pdf-height"]=y(b)?b:this.height()):u(a)?(f["pdf-size"]=a||"a4",f.landscape=!!b,h=dm[f["pdf-size"]],f.landscape&&(h={width:h.height,height:h.width})):(f["pdf-width"]=this.width(),f["pdf-height"]=this.height()):(f["pdf-width"]=this.width(),f["pdf-height"]=this.height());m(c)&&(f["pdf-x"]=c);m(d)&&(f["pdf-y"]=d);m(e)&&(f["file-name"]=e);h?(a=h.width,h=h.height,b=this.width(),e=this.height(),h=a<h?[a,a/b*e]:a>h?[h/e*b,h]:[a,h],h[0]-=c||0,h[1]-=d||0,c=this.Jk(h[0],h[1])):c=this.Jk();mm(Hp(this),Lp+"/pdf",c,"svg",f)}else alert(pl(15))};g.qk=function(a,b,c){if(Jp==Kp){var d={};m(c)&&(d["file-name"]=c);mm(Hp(this),Lp+"/svg",this.Jk(a,b),"svg",d)}else alert(pl(15))};g.print=function(a,b){if(m(a)||m(b)){var c=Jn(a,b,"usletter"),d=gm().contentWindow.document,e=Qi("DIV");qk(e,{width:c.width,height:c.height});d.body.appendChild(e);var d=aj(this.P()),f=tk(d,"width"),h=tk(d,"height");yk(d,c.width,c.height);Ip(this);c=this.P();"svg"==c.tagName&&c.cloneNode?(c=c.cloneNode(!0),e.appendChild(c)):Mp(e).data(this.data());qk(d,"width",f);qk(d,"height",h);Ip(this)}else e=gm().contentWindow.document,f=this.P(),"svg"==f.tagName?f.cloneNode?d=f.cloneNode(!0):(f=Mp(e.body),f.data(this.data()),d=f.P()):(f=Mp(e.body),f.data(this.data())),f=d,h=pn,h.Ka(f,"width","100%"),h.Ka(f,"height","100%"),h.Ka(f,"viewBox","0 0 "+this.width()+" "+this.height()),qk(f,"width","100%"),qk(f,"height",""),qk(f,"max-height","100%"),e.body.appendChild(d);im()};g.Jk=function(a,b){if(Jp!=Kp)return"";var c="";if(m(a)||m(b)){var c=Jn(a,b),d=aj(this.P()),e=tk(d,"width"),f=tk(d,"height");yk(d,c.width,c.height);Ip(this);this.be();pn.Kn(this.P(),this.width(),this.height());c=Np(this.P());qk(d,"width",e);qk(d,"height",f);Ip(this);this.be()}else pn.Kn(this.P(),this.width(),this.height()),c=Np(this.P()),pn.Kn(this.P(),this.Il,this.Hl);return c};function Np(a){var b="";a&&(b=(new XMLSerializer).serializeToString(a));return b}g.Of=no.prototype.Of;g.SH=no.prototype.eB;g.text=no.prototype.text;g.xH=no.prototype.OA;g.rect=no.prototype.rect;g.lB=no.prototype.Gk;g.EH=no.prototype.SA;g.DH=no.prototype.RA;g.RH=no.prototype.dB;g.jB=no.prototype.fv;g.kB=no.prototype.gv;g.path=no.prototype.path;g.FH=no.prototype.TA;g.HH=no.prototype.VA;g.IH=no.prototype.WA;g.JH=no.prototype.XA;g.KH=no.prototype.YA;g.GH=no.prototype.UA;g.QH=no.prototype.cB;g.NH=no.prototype.$A;g.PH=no.prototype.bB;g.OH=no.prototype.aB;g.qH=no.prototype.KA;g.nH=no.prototype.IA;g.pH=no.prototype.JA;g.vH=no.prototype.MA;g.TH=no.prototype.fB;g.AH=no.prototype.PA;g.rH=no.prototype.LA;g.zH=function(a){return new sn(a)};g.Ua=function(a,b,c,d){return In(a,b,c,d)};g.wb=function(){return this.a.wb()};g.Fc=function(a){this.a.Fc(a);return this};g.jf=function(a,b){this.a.jf(a,b);return this};g.Td=function(a){return this.a.Td(a)};g.removeChild=function(a){return this.a.removeChild(a)};g.BH=function(a){return this.a.ar(a)};g.CH=function(){return this.a.br()};g.wH=function(a){return this.a.NA(a)};g.se=function(a){return this.a.se(a)};g.LH=function(a,b){this.a.ZA(a,b);return this};g.MH=function(a,b){this.a.hv(a,b);return this};g.sH=function(a,b){this.a.dh(a,b);return this};g.remove=function(){var a=this.P();Yi(a);return this};g.Mt=function(a){this.a.Mt(a)};g.Dp=ba;g.title=function(a){return m(a)?(this.D!=a&&(this.D=a,pn.Uz(this,this.D)),this):this.D};g.oH=function(a){return m(a)?(this.B!=a&&(this.B=a,pn.Pz(this,this.B)),this):this.B};g.tH=function(){return 0};g.uH=function(){return 0};g.Fa=function(){return new M(0,0,this.width(),this.height())};g.Ch=function(a,b,c){this.a.Ch(a,b,c);return this};g.xq=function(a,b){this.a.xq(a,b);return this};g.Gq=function(a,b,c){this.a.Gq(a,b,c);return this};g.Jn=function(a,b){this.a.Jn(a,b);return this};g.bh=function(a,b){this.a.bh(a,b);return this};g.uo=function(a,b){this.a.uo(a,b);return this};g.scale=function(a,b,c,d){this.a.scale(a,b,c,d);return this};g.iu=function(a,b,c){this.a.iu(a,b,c);return this};g.rs=function(a,b,c,d,e,f){this.a.rs(a,b,c,d,e,f);return this};g.fc=function(a,b,c,d,e,f){this.a.fc(a,b,c,d,e,f);return this};g.mn=function(){return this.a.mn()};g.it=function(){return this.a.it()};g.Zd=function(){return null};g.clip=function(a){return this.a.clip(a)};g.ZD=function(a,b,c,d){return new vn(this,a,b,c,d)};g.dispatchEvent=function(a){u(a)?a=a.toLowerCase():"type"in a&&(a.type=String(a.type).toLowerCase());return N.v.dispatchEvent.call(this,a)};g.pa=function(a,b,c,d){return N.v.pa.call(this,String(a).toLowerCase(),b,c,d)};g.qf=function(a,b,c,d){return N.v.qf.call(this,String(a).toLowerCase(),b,c,d)};g.Ec=function(a,b,c,d){return N.v.Ec.call(this,String(a).toLowerCase(),b,c,d)};g.Hg=function(a){m(a)&&(a=String(a).toLowerCase());return N.v.Hg.call(this,a)};g.Pb=function(a){this.width(a.width).height(a.height);a.type="layer";this.a.Pb(a);this.a.id("");"id"in a&&this.id(a.id)};g.o=function(){var a=this.a.o();this.Qb&&(a.id=this.Qb);a.width=this.width();a.height=this.height();delete a.type;return a};g.Sd=function(){N.v.Sd.call(this)};g.V=function(){Ad(this.qn);this.qn=null;Nj(this.hg);Ad(this.hg);this.hg=null;Ad(this.a);this.Re();delete this.a;Ad(this.h);delete this.h;jo(this);Yi(this.Xb);this.b=this.Xb=this.g=null};E("acgraph.vector.Stage",N);N.prototype.id=N.prototype.id;N.prototype.container=N.prototype.A;N.prototype.dispose=N.prototype.Sd;N.prototype.getBounds=N.prototype.Fa;N.prototype.layer=N.prototype.Of;N.prototype.unmanagedLayer=N.prototype.SH;N.prototype.circle=N.prototype.jB;N.prototype.ellipse=N.prototype.kB;N.prototype.rect=N.prototype.rect;N.prototype.truncatedRect=N.prototype.RH;N.prototype.roundedRect=N.prototype.EH;N.prototype.roundedInnerRect=N.prototype.DH;N.prototype.path=N.prototype.path;N.prototype.star=N.prototype.FH;N.prototype.star4=N.prototype.HH;N.prototype.star5=N.prototype.IH;N.prototype.star6=N.prototype.JH;N.prototype.star7=N.prototype.KH;N.prototype.star10=N.prototype.GH;N.prototype.diamond=N.prototype.qH;N.prototype.triangleUp=N.prototype.QH;N.prototype.triangleDown=N.prototype.NH;N.prototype.triangleRight=N.prototype.PH;N.prototype.triangleLeft=N.prototype.OH;N.prototype.cross=N.prototype.nH;N.prototype.diagonalCross=N.prototype.pH;N.prototype.hLine=N.prototype.vH;N.prototype.vLine=N.prototype.TH;N.prototype.pie=N.prototype.AH;N.prototype.donut=N.prototype.rH;N.prototype.text=N.prototype.text;N.prototype.html=N.prototype.xH;N.prototype.image=N.prototype.lB;N.prototype.data=N.prototype.data;N.prototype.saveAsPNG=N.prototype.pk;N.prototype.saveAsJPG=N.prototype.mk;N.prototype.saveAsPDF=N.prototype.nk;N.prototype.saveAsSVG=N.prototype.qk;N.prototype.saveAsPng=N.prototype.pk;N.prototype.saveAsJpg=N.prototype.mk;N.prototype.saveAsPdf=N.prototype.nk;N.prototype.saveAsSvg=N.prototype.qk;N.prototype.print=N.prototype.print;N.prototype.toSvg=N.prototype.Jk;N.prototype.pattern=N.prototype.zH;N.prototype.hatchFill=N.prototype.Ua;N.prototype.clearDefs=N.prototype.aN;N.prototype.numChildren=N.prototype.wb;N.prototype.addChild=N.prototype.Fc;N.prototype.addChildAt=N.prototype.jf;N.prototype.removeChild=N.prototype.removeChild;N.prototype.removeChildAt=N.prototype.BH;N.prototype.removeChildren=N.prototype.CH;N.prototype.swapChildren=N.prototype.LH;N.prototype.swapChildrenAt=N.prototype.MH;N.prototype.getChildAt=N.prototype.Td;N.prototype.hasChild=N.prototype.wH;N.prototype.forEachChild=N.prototype.sH;N.prototype.indexOfChild=N.prototype.se;N.prototype.getX=N.prototype.tH;N.prototype.getY=N.prototype.uH;N.prototype.width=N.prototype.width;N.prototype.height=N.prototype.height;N.prototype.getBounds=N.prototype.Fa;N.prototype.resize=N.prototype.mB;N.prototype.asyncMode=N.prototype.XM;N.prototype.resume=N.prototype.gd;N.prototype.suspend=N.prototype.rd;N.prototype.isRendering=N.prototype.yH;N.prototype.isSuspended=N.prototype.Jc;N.prototype.remove=N.prototype.remove;N.prototype.domElement=N.prototype.P;N.prototype.visible=N.prototype.visible;N.prototype.rotate=N.prototype.Ch;N.prototype.rotateByAnchor=N.prototype.xq;N.prototype.setRotation=N.prototype.Gq;N.prototype.setRotationByAnchor=N.prototype.Jn;N.prototype.translate=N.prototype.bh;N.prototype.setPosition=N.prototype.uo;N.prototype.scale=N.prototype.scale;N.prototype.scaleByAnchor=N.prototype.iu;N.prototype.appendTransformationMatrix=N.prototype.rs;N.prototype.setTransformationMatrix=N.prototype.fc;N.prototype.getRotationAngle=N.prototype.mn;N.prototype.getTransformationMatrix=N.prototype.it;N.prototype.clip=N.prototype.clip;N.prototype.createClip=N.prototype.ZD;N.prototype.parent=N.prototype.parent;N.prototype.getStage=N.prototype.oa;N.prototype.listen=N.prototype.pa;N.prototype.listenOnce=N.prototype.qf;N.prototype.unlisten=N.prototype.Ec;N.prototype.unlistenByKey=N.prototype.Tl;N.prototype.removeAllListeners=N.prototype.Hg;N.prototype.title=N.prototype.title;N.prototype.desc=N.prototype.oH;E("acgraph.events.EventType.RENDER_START","renderstart");E("acgraph.events.EventType.RENDER_FINISH",Cp);E("acgraph.vector.Stage.EventType.STAGE_RESIZE",Gj);E("acgraph.vector.Stage.EventType.STAGE_RENDERED",Ep);function Op(a,b,c){N.call(this,a,b,c)}G(Op,N);Op.prototype.M=function(){return new lp(this)};function Pp(a,b,c,d,e){vn.call(this,a,b,c,d,e)}G(Pp,vn);Pp.prototype.be=function(){var a=xn(this),b=a&&!a.Jc();b&&a.rd();Mf(this.g,function(a){a.za(512)},this);b&&a.gd()};function Qp(a,b,c,d,e,f,h){Gm.call(this,a,b,c,b,b,f,h);this.qu=d;this.ru=e}G(Qp,Gm);function Rp(a,b,c,d,e,f,h){f=null!=f?ub(f,0,1):1;var k=[];Mf(a,function(a){k.push(""+a.offset+a.color+(a.opacity?a.opacity:null))});return k.join("")+f+b+c+d+e+(h?""+h.left+h.top+h.width+h.height:"")};function Sp(){Im.call(this);var a=document;Tp()||a.createStyleSheet().addRule("."+Up,"behavior:url(#default#VML)");try{a.namespaces[Vp]||a.namespaces.add(Vp,Wp),this.c=function(a){return Qi(Vp+":"+a,{"class":Up})}}catch(b){this.c=function(a){return Qi(Vp+":"+a,{"class":Up,xmlns:"urn:schemas-microsoft.com:vml"})}}}G(Sp,Im);ca(Sp);var Wp="urn:schemas-microsoft-com:vml",Vp="any_vml",Up="any_vml",Xp=document.documentMode&&8<=document.documentMode;g=Sp.prototype;g.ig=null;g.he=null;g.Sq=null;g.Dl=null;g.uh=null;g.oq=null;function Yp(a){a.Dl=a.Qx();Zp(a,a.Dl);a.Dl.style.display="none";$p(a,a.Dl,{filled:"true",fillcolor:"black",stroked:"false",path:"m0,0 l1,0 e"});document.body.appendChild(a.Dl);a.ig=Qi("DIV");a.he=Qi("SPAN");a.Sq=Qi("SPAN");document.body.appendChild(a.ig);a.ig.appendChild(a.Sq);a.ig.appendChild(a.he);qk(a.ig,{position:"absolute",visibility:"hidden",left:0,top:0});qk(a.Sq,{"font-size":"0px",border:"0 solid"});a.Sq.innerHTML="a";a.a=Qi("SPAN");a.ig.appendChild(a.a);qk(a.a,{"font-size":"0px",border:"0 solid"});a.a.innerHTML="a";a.oq=Qi("IMG");qk(a.oq,{position:"absolute",left:0,top:0});a.ig.appendChild(a.oq);a.th=Qi("DIV");a.ig.appendChild(a.th)}g.Dt=function(a){this.ig||Yp(this);this.Ka(this.oq,"src",a);return Bk(this.oq)};g.measure=function(a,b){if(""==a)return new M(0,0,0,0);this.ig||Yp(this);Yi(this.uh);this.uh=this.yo("");this.Dl.appendChild(this.uh);var c=null,d=0;if(" "==a)return Jm(this,b);0==a.lastIndexOf(" ",0)&&(d+=c=Jm(this,b).width);of(a," ")&&(d+=c||Jm(this,b).width);aq(this.he.style,"font-style");aq(this.he.style,"font-variant");aq(this.he.style,"font-family");aq(this.he.style,"font-size");aq(this.he.style,"font-weight");aq(this.he.style,"letter-spacing");aq(this.he.style,"text-decoration");this.he.style.cssText="";b.fontStyle&&(qk(this.he,"font-style",b.fontStyle),qk(this.uh,"font-style",b.fontStyle));b.fontVariant&&(qk(this.he,"font-variant",b.fontVariant),qk(this.uh,"font-variant",b.fontVariant));b.fontFamily&&(qk(this.he,"font-family",b.fontFamily),qk(this.uh,"font-family",b.fontFamily));b.fontSize&&(qk(this.he,"font-size",b.fontSize),qk(this.uh,"font-size",b.fontSize));b.fontWeight?(qk(this.he,"font-weight",b.fontWeight),qk(this.uh,"font-weight",b.fontWeight)):(qk(this.he,"font-weight","normal"),qk(this.uh,"font-weight","normal"));b.letterSpacing&&(qk(this.he,"letter-spacing",b.letterSpacing),this.uh.style["v-text-spacing"]=b.letterSpacing);b.bk&&(qk(this.he,"text-decoration",b.decoration),qk(this.uh,"text-decoration",b.decoration));qk(this.he,"border","0 solid");this.Ka(this.uh,"string",a);c=Bk(this.Dl).width;qk(this.ig,{left:0,top:0,width:"auto",height:"auto"});this.he.innerHTML=a;var e=Bk(this.Sq),f=this.ig,e=-(e.top+e.height);f.style.left=zk(0,!1);f.style.top=zk(e,!1);a:{var e=this.he,f=vk(e,"fontSize"),h;h=(h=f.match(Jk))&&h[0]||null;if(!f||"px"!=h){if(ii){if(h in Kk){Fk(e,f,"left","pixelLeft");break a}if(e.parentNode&&1==e.parentNode.nodeType&&h in Lk){e=e.parentNode;h=vk(e,"fontSize");Fk(e,f==h?"1em":f,"left","pixelLeft");break a}}f=Qi("SPAN",{style:"visibility:hidden;position:absolute;line-height:0;padding:0;margin:0;border:0;height:1em;"});e.appendChild(f);Yi(f)}}f=Bk(this.he);f.width=c+d;--f.left;this.he.innerHTML="";return f};g.IF=function(a){this.ig||Yp(this);u(a)?this.th.innerHTML=a:(a=a.cloneNode(!0),this.th.appendChild(a));a=Bk(this.th);this.th.innerHTML="";return a};g.Ka=function(a,b,c){Xp?a[b]=c:a.setAttribute(b,c)};function $p(a,b,c){Ze(c,function(a,c){this.Ka(b,c,a)},a)}function aq(a,b){a[b]&&(a.cssText=a.cssText.replace(new RegExp("(^|; )("+b+": [^;]*)(;|$)","ig"),";"))}function eq(a){return u(a)&&of(a,"%")?parseFloat(a)+"%":parseFloat(a.toString())+"px"}g.Jd=function(a){return Math.round(100*parseFloat(a.toString()))};function Zp(a,b){a.Ka(b,"coordsize",a.Jd(1)+" "+a.Jd(1));$p(a,b.style,{position:"absolute",left:eq(0),top:eq(0),width:eq(1),height:eq(1)})}
function fq(a,b){if(0==b.b.length)return null;var c=[];b.MN.call(b,function(a,b){switch(a){case Um:c.push("m");Dm(Array.prototype.push,Of(b,this.Jd),c);break;case Vm:c.push("l");Dm(Array.prototype.push,Of(b,this.Jd),c);break;case Wm:c.push("c");Dm(Array.prototype.push,Of(b,this.Jd),c);break;case Ym:c.push("x");break;case Xm:var f=b[2]+b[3];c.push("ae",this.Jd(b[4]-Dh(f,b[0])),this.Jd(b[5]-Eh(f,b[1])),this.Jd(b[0]),this.Jd(b[1]),Math.round(-65536*b[2]),Math.round(-65536*b[3]))}},a);return c.join(" ")}
function Tp(){return!!Sf(dj(),function(a){return a.selectorText==="."+Up})}g.Rz=function(a,b){gq(this,a.P(),b)};function gq(a,b,c){b&&(c?a.Ka(b,"id",c):b.removeAttribute("id"))}g.Uz=ba;g.Pz=ba;g.sG=function(a,b){var c=a.P();if(c&&B(b))for(var d in b){var e=b[d];null===e?c.removeAttribute(d):this.Ka(c,d,e)}};g.gB=function(a,b){return a?a.getAttribute(b):void 0};function hq(a,b){var c=a%90,d=Bh(a),e=1,f=b.left+b.width/2,h=b.top+b.height/2,k=0>Math.sin(d)||180==a||360==a;if(90==a||270==a)c+=1E-6;180!=a&&(0>Math.tan(d)||90==a||270==a)&&(e=-1,c=90-c);c=Bh(c);d=Math.tan(c);d=Math.sin(c)*(b.height/2-d*b.width/2)+Math.sqrt(Math.pow(b.width/2,2)*(1+Math.pow(d,2)));e=e*Math.cos(c)*d;c=1*Math.sin(c)*d;k&&(e=-e,c=-c);return{te:new $h(Math.round(f-e),Math.round(h+c)),Pf:new $h(Math.round(f+e),Math.round(h-c))}}
function iq(a,b){var c,d;b.te.x==b.Pf.x?(c=b.te.x,d=a.y):b.te.y==b.Pf.y?(c=a.x,d=b.te.y):(c=(b.te.x*Math.pow(b.Pf.y-b.te.y,2)+a.x*Math.pow(b.Pf.x-b.te.x,2)+(b.Pf.x-b.te.x)*(b.Pf.y-b.te.y)*(a.y-b.te.y))/(Math.pow(b.Pf.y-b.te.y,2)+Math.pow(b.Pf.x-b.te.x,2)),d=(b.Pf.x-b.te.x)*(a.x-c)/(b.Pf.y-b.te.y)+a.y);c=new $h(c,d);d=[ub(b.te.x-b.Pf.x,-1,1),ub(b.te.y-b.Pf.y,-1,1)];var e=[ub(b.te.x-c.x,-1,1),ub(b.te.y-c.y,-1,1)],f=[ub(b.Pf.x-c.x,-1,1),ub(b.Pf.y-c.y,-1,1)];return 0>(0==d[0]?(e[1]+f[1])*d[1]:(e[0]+f[0])*d[0])?-ai(b.te,c):ai(b.te,c)}
function jq(a,b,c,d){var e=hq(c,d);d=ai(e.te,e.Pf);var f=hq(c,b);b=ai(f.te,f.Pf);c=iq(e.te,f);var e=iq(e.Pf,f),f={offset:Math.round(c/b*100)/100,color:"",opacity:1},h={offset:Math.round(e/b*100)/100,color:"",opacity:1},k=[];k.toString=function(){for(var a="\n",b=0,c=this.length;b<c;b++)a+="offset: "+this[b].offset+"; color: "+this[b].color+"; opacity: "+this[b].opacity+"\n";return a};var l,n,p,q;k.push(f);for(p=0;p<a.length;p++){var t=a[p];t.color=Gh(t.color).ef;t.offset<=f.offset?l={offset:t.offset,color:t.color,opacity:t.opacity}:t.offset>f.offset&&t.offset<h.offset?k.push({offset:t.offset,color:t.color,opacity:t.opacity}):t.offset>=h.offset&&!n&&(n={offset:t.offset,color:t.color,opacity:t.opacity})}k.push(h);a=t=1;if(2<k.length){l||(l=k[1]);p=b*l.offset;q=Math.abs(b*k[1].offset-p);var v=Nh(l.color.toString()),w=Nh(k[1].color.toString()),t=t-(0==q?0:Math.abs(c-p)/q);f.color=Kh(Rh(v,w,t));n||(n=k[k.length-2]);q=b*n.offset;p=b*k[k.length-2].offset;t=Math.abs(p-q);q=Nh(k[k.length-2].color.toString());v=Nh(n.color.toString());a-=0==t?0:Math.abs(e-p)/t;h.color=Kh(Rh(q,v,a))}else l||0!=n.offset||(l=n),n||1!=l.offset||(n=l),p=b*l.offset,q=b*n.offset,v=Nh(l.color.toString()),w=Nh(n.color.toString()),q=Math.abs(q-p),t-=0==q?0:Math.abs(c-p)/q,a-=0==q?0:Math.abs(e-p)/q,f.color=Kh(Rh(v,w,t)),h.color=Kh(Rh(v,w,a));f.opacity=l.opacity;h.opacity=n.opacity;for(p=0;p<k.length;p++)k[p].offset=0==p?0:p==k.length-1?1:Math.abs(c-k[p].offset*b)/d;return k}g.jE=function(){return Qi("div",{style:"overflow:hidden;position:relative;"})};g.Kn=function(a,b,c){$p(this,a.style,{width:eq(b),height:eq(c)})};g.$D=function(){return document.createElement("div")};g.Hs=function(){return document.createElement("div")};g.cE=function(){return this.c("image")};g.YD=function(){return this.c("shape")};g.hE=function(){return this.c("shape")};g.aE=function(){return this.c("shape")};g.fE=function(){return this.c("fill")};g.bE=function(){return document.createElement("div")};g.xG=ba;g.GG=ba;g.BG=function(a){$p(this,a.P().style,{position:"absolute",left:eq(0),top:eq(0),width:eq(1),height:eq(1)})};g.yG=function(a){var b=a.Cg(),c=a.P(),d=a.src()||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",e=a.Fk(),f,h,k;if(e==lo)e=b.left,f=b.top,h=b.width,k=b.height;else{k=this.Dt(d);h=k.width/b.width;f=k.height/b.height;var l=a.kn()==mo;f=1/((1<h&&1<f||1>h&&1>f?l?h>f:h<f:l?1<h:1>h)?h:f);h=k.width*f;k=k.height*f;switch(e){case lo:e=b.width;f=b.height;break;case"xMinYMin":e=b.left;f=b.top;break;case"xMidYMin":e=b.left+b.width/2-h/2;f=b.top;break;case"xMaxYMin":e=b.left+
b.width-h;f=b.top;break;case"xMinYMid":e=b.left;f=b.top+b.height/2-k/2;break;default:case"xMidYMid":e=b.left+b.width/2-h/2;f=b.top+b.height/2-k/2;break;case"xMaxYMid":e=b.left+b.width-h;f=b.top+b.height/2-k/2;break;case"xMinYMax":e=b.left;f=b.top+b.height-k;break;case"xMidYMax":e=b.left+b.width/2-h/2;f=b.top+b.height-k;break;case"xMaxYMax":e=b.left+b.width-h,f=b.top+b.height-k}}$p(this,c.style,{position:"absolute",left:eq(e),top:eq(f),width:eq(h),height:eq(k)});this.Ka(c,"src",d);a.clip(b)};g.tG=function(a){this.Qz(a)};g.Qz=function(a){var b=a.P();Zp(this,b);var c=a.nh(),d=a.oh(),e=a.Dh(),f=a.Mj(),h=a.Zd();h&&!Uh(h)?(c=Wl(c,d,e,f,0,360,!1),d=c.length,h.transform(c,0,c,0,d/2),h=["m",this.Jd(c[d-2]),this.Jd(c[d-1]),"c"],Dm(Array.prototype.push,Of(c,this.Jd),h)):h=["ae",this.Jd(c),this.Jd(d),this.Jd(e),this.Jd(f),0,Math.round(-23592960)];h.push("x");co(a,4);co(a,256);this.Ka(b,"path",h.join(" "))};g.EG=function(a){var b=a.P();Zp(this,b);var c=fq(this,a);c?this.Ka(b,"path",c):(this.Ka(b,"path","M 0,0"),b.removeAttribute("path"));co(a,4);co(a,256)};g.Qx=function(){var a=this.c("shape"),b=this.c("path");b.setAttribute("textpathok","t");a.appendChild(b);return a};g.Px=function(){return document.createElement("span")};g.yo=function(a){var b=this.c("textpath");b.setAttribute("on","t");b.setAttribute("string",a);return b};g.uG=function(a,b){var c=a.P();c&&(c.style.cursor=b||"")};g.Tz=function(a){var b=a.P().style,c,d;kq(a)?(d=a.ma,a.a.length&&(d-=a.a[0].c),c=a.j,$p(this,b,{position:"absolute",overflow:"visible",left:eq(c),top:eq(d)})):(c=a.x(),d=a.y(),a.vAlign()&&a.height()&&a.height()>a.h&&("middle"==a.vAlign()&&(d+=a.height()/2-a.h/2),"bottom"==a.vAlign()&&(d+=a.height()-a.h)),$p(this,b,{position:"absolute",overflow:"hidden",left:eq(c),top:eq(d)}))};g.JG=function(a){var b=a.P(),c=b.style;b.style.cssText="";if(kq(a))$p(this,c,{width:eq(1),height:eq(1)}),b.innerHTML="";else if(null!=a.qb){a.style();a.fontSize()&&qk(b,"font-size",a.fontSize());a.color()&&qk(b,"color",a.color());a.fontFamily()&&qk(b,"font-family",a.fontFamily());a.fontStyle()&&qk(b,"font-style",a.fontStyle());a.fontVariant()&&qk(b,"font-variant",a.fontVariant());a.fontWeight()&&qk(b,"font-weight",a.fontWeight());a.letterSpacing()&&qk(b,"letter-spacing",a.letterSpacing());a.bk()&&qk(b,"text-decoration",a.bk());a.opacity()&&(c.filter="alpha(opacity="+100*a.opacity()+")");a.lineHeight()&&qk(b,"line-height",a.lineHeight());a.textIndent()&&qk(b,"text-indent",a.textIndent());"..."==a.textOverflow()&&qk(b,"text-overflow","ellipsis");""==a.textOverflow()&&qk(b,"text-overflow","clip");a.Yl()&&qk(b,"direction",a.Yl());"byLetter"==a.yd()&&a.width()?(qk(b,"word-break","break-all"),qk(b,"white-space","normal")):(qk(b,"word-break","normal"),qk(b,"white-space","nowrap"));a.xc()&&(b.style["text-align"]=a.g?a.xc()==an||a.xc()==bn?bn:a.xc()==cn||a.xc()==dn?dn:"center":a.xc()==an||a.xc()==dn?dn:a.xc()==cn||a.xc()==bn?bn:"center");var d=!a.Pc(),e=b.getElementsByTagName("*");if(Ck){if(d=d?"none":"",b.style&&(b.style[Ck]=d),e)for(var f=0,h;h=e[f];f++)h.style&&(h.style[Ck]=d)}else if(ii||hi)if(d=d?"on":"",b.setAttribute("unselectable",d),e)for(f=0;h=e[f];f++)h.setAttribute("unselectable",d);b.innerHTML=a.qb;this.Ka(c,"width",(a.width()?eq(a.width()):a.Fa().width).toString());this.Ka(c,"height",(a.height()?eq(a.height()):a.Fa().height).toString())}};g.hB=function(a){a.P().setAttribute("path","m "+this.Jd(a.x)+","+this.Jd(a.y)+" l "+(this.Jd(a.x)+1)+","+this.Jd(a.y)+" e")};g.iB=function(a){var b=a.parent(),c=b.style(),d=a.a,e=a.P(),c=kf(c);mf(c,d);a=this.yo(a.text);c.fontStyle&&qk(a,"font-style",c.fontStyle);c.fontVariant&&qk(a,"font-variant",c.fontVariant);c.fontFamily&&qk(a,"font-family",c.fontFamily);c.fontSize&&qk(a,"font-size",c.fontSize);c.fontWeight&&qk(a,"font-weight",c.fontWeight);c.letterSpacing&&(a.style["v-text-spacing"]=c.letterSpacing);c.decoration&&qk(a,"text-decoration",c.decoration);c.hAlign&&(a.style["v-text-align"]=b.g?c.hAlign==an||c.hAlign==bn?bn:c.hAlign==cn||c.hAlign==dn?dn:"center":c.hAlign==an||c.hAlign==dn?dn:c.hAlign==cn||c.hAlign==bn?bn:"center");c.opacity&&(d=this.c("fill"),this.Ka(d,"opacity",c.opacity),e.appendChild(d));e.appendChild(a);b.Pc()?e.removeAttribute("unselectable"):this.Ka(e,"unselectable","on");Zp(this,e);e.setAttribute("filled","t");e.setAttribute("fillcolor",c.color);e.setAttribute("stroked","f")};g.OF=function(){return!0};g.yD=function(a){var b=a.fill();b instanceof sn&&(b="black");var c=a.stroke(),d;u(c)?d=c:d="keys"in c?0!=c.keys.length?c.keys[0].color:"#000":c.color;var e=!u(b)&&"keys"in b&&"cx"in b&&"cy"in b,f=!u(b)&&"keys"in b&&!e,h=!e&&!f,k="none"!=b&&"none"!=b.color,l="none"!=d&&0!=c.thickness,n=h&&k&&1!=b.opacity,p=!u(c)&&l&&(1!=c.opacity||"miter"!=c.lineJoin||"butt"!=c.lineCap||"none"!=c.dash),q,t,v;if(e||f||n||p){var p=a.oa(),n=p.h,w;w=a instanceof Tn&&0==a.b.length?new M(0,0,1,1):a.Fa();if(f){t=b.mode instanceof
M;v=zb(b.keys,0);0!=v[0].offset&&v.unshift({offset:0,color:v[0].color,opacity:v[0].opacity});q=v[v.length-1];1!=q.offset&&v.push({offset:1,color:q.color,opacity:q.opacity});var x=b.mode?Nm(b.angle,w):b.angle;w=jn(n,t?jq(v,b.mode,x,w):v,b.opacity,x,b.mode)}else if(e){var z;b.mode?(z=b.mode,q=Math.min(z.width,z.height),x=(b.cx*z.width-(w.left-z.left))/w.width,v=(b.cy*z.height-(w.top-z.top))/w.height,z=q/w.width*1,w=q/w.height*1):(x=b.cx,v=b.cy,z=w=1);w=lq(n,b.keys,x,v,z,w,b.opacity,b.mode)}else w=b;x=mq(n,w,c);if(!x.oB){z=this.c("shapetype");gq(this,z,Am(zm.Xc(),x));this.appendChild(n.P(),z);x.oB=!0;var C=null;if(f){var F=w;F.cr&&(F=new Em(F.keys,F.opacity,F.eh,F.mode),x.g=F);C=this.c("fill");v=F.keys;var J=[];Mf(v,function(a){J.push(a.offset+" "+a.color)},this);p=Ah(F.eh+270);q=v[v.length-1];h=v[0];$p(this,C,{type:"gradient",method:"none",colors:J.join(","),angle:p,color:h.color,opacity:t?F.opacity:isNaN(q.opacity)?F.opacity:q.opacity,color2:q.color,"o:opacity2":t?F.opacity:isNaN(h.opacity)?F.opacity:h.opacity});this.appendChild(z,C);F.vo=n;F.cr=!0}else e?(t=w,t.dr&&(t=new Qp(t.keys,t.Bc,t.vc,t.qu,t.ru,t.opacity,t.Rf),x.g=t),C=this.c("fill"),v=t.keys,h=v[v.length-1],q=v[0],$p(this,C,{src:p.pathToRadialGradientImage,size:t.qu+","+t.ru,origin:".5, .5",position:t.Bc+","+t.vc,type:"pattern",method:"linear sigma",colors:"0 "+h.color+";1 "+q.color,color:h.color,opacity:isNaN(h.opacity)?t.opacity:h.opacity,color2:q.color,"o:opacity2":isNaN(q.opacity)?t.opacity:q.opacity}),this.appendChild(z,C),t.xo=n,t.dr=!0):h&&(C=x.ql?x.ql:x.ql=this.c("fill"),u(b)?($p(this,a.P(),{fillcolor:b,filled:"none"!=b}),$p(this,C,{type:"solid",on:"none"!=b,color:b,opacity:1})):($p(this,a.P(),{fillcolor:b.color,filled:"none"!=b.color}),$p(this,C,{type:"solid",on:"none"!=b.color,color:b.color,opacity:isNaN(b.opacity)?1:b.opacity})));this.appendChild(z,C);t=x.Oq?x.Oq:x.Oq=this.c("stroke");n=c.thickness?c.thickness:1;p=(h=nq(c.dash,n))?"flat":c.lineCap;$p(this,t,{joinstyle:c.lineJoin||"miter",endcap:"butt"==p?"flat":p,dashstyle:h,on:l,color:d,opacity:B(c)&&"opacity"in c?c.opacity:1,weight:n+"px"});this.appendChild(z,t)}if(e||f)h=w.keys[w.keys.length-1],$p(this,a.P(),{fillcolor:h.color,filled:"none"!=h.color});$p(this,a.P(),{filled:k,fillcolor:b.color||b,stroked:l,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"});$p(this,a.P(),{type:"#"+Am(zm.Xc(),x)})}else $p(this,a.P(),{type:"",filled:k,fillcolor:b.color||b,stroked:l,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"})};function nq(a,b){a=String(a);if(!a)return"none";var c=a.split(" ");0!=c.length%2&&c.push.apply(c,c);for(var d=[],e=0;e<c.length;e++)d.push(Math.ceil(parseFloat(c[e])/b));return d.join(" ")}g.OG=function(a){var b=a.P().style;this.Ka(b,"visibility",a.visible()?"":"hidden")};g.Ql=function(a){var b=a.Cg(),c=a.Zd();if(c){var d;a.Sa?d=a.Sa:d=a.Sa=this.c("skew");a.hb||(this.appendChild(a.P(),d),a.hb=!0);$p(this,d,{on:"true",origin:[-.5-b.left/b.width,-.5-b.top/b.height].join(),matrix:[$l(c.a),$l(c.b),$l(c.c),$l(c.g),0,0].join()});$p(this,a.P().style,{left:eq(b.left+c.h),top:eq(b.top+c.j)})}else a.hb&&(Yi(a.Sa),a.hb=!1)};g.wG=function(a){var b=a.P(),c=a.nh(),d=a.oh(),e=a.Dh(),f=a.Mj();(a=a.Zd())&&!Uh(a)?(c=Wl(c,d,e,f,0,360,!1),d=c.length,a.transform(c,0,c,0,d/2),a=["m",this.Jd(c[d-2]),this.Jd(c[d-1]),"c"],Dm(Array.prototype.push,Of(c,this.Jd),a)):a=["ae",this.Jd(c),this.Jd(d),this.Jd(e),this.Jd(f),0,Math.round(-23592960)];a.push("x");this.Ka(b,"path",a.join(" "))};g.zG=function(a){var b=a.P().style;a.Cg();(a=a.Zd())&&this.Ka(b,"rotation",bm(a).toString())};g.FG=function(a){var b=a.P();(a=fq(this,a))?this.Ka(b,"path",a):b.removeAttribute("path")};g.CG=ba;g.KG=function(a){var b=a.Zd();if(b){var c=a.a,d=a.P().style,e,f;if(kq(a)){if(f=a.ma,a.a.length&&(f-=a.a[0].c),e=a.j,$p(this,d,{position:"absolute",overflow:"visible",left:eq(e+b.h),top:eq(f+b.j)}),oq(a))for(a=0,d=c.length;a<d;a++){var h=c[a],k;h.Sa?(k=h.Sa,$p(this,k,{origin:[-.5-e,-.5-f].join(),matrix:[$l(b.a),$l(b.b),$l(b.c),$l(b.g),0,0].join()})):k=h.Sa=this.c("skew");!h.hb&&h.P()&&(this.appendChild(h.P(),k),h.hb=!0);var l=[-.5-e,-.5-f].join();h.P()&&(h.P().rotation=0);$p(this,k,{on:"true",origin:l,matrix:[$l(b.a),$l(b.b),$l(b.c),$l(b.g),0,0].join()})}}else e=a.x(),f=a.y(),a.vAlign()&&a.height()&&a.height()>a.h&&("middle"==a.vAlign()&&(f+=a.height()/2-a.h/2),"bottom"==a.vAlign()&&(f+=a.height()-a.h)),$p(this,d,{position:"absolute",overflow:"hidden",left:eq(e+b.h),top:eq(f+b.j)})}};g.sq=function(){return!0};g.HG=ba;g.uE=ba;g.vG=ba;g.Nz=function(a){var b=a instanceof no,c=a.clip();if(c){var c=c.tg(),c=c.Ug(c.Rb),c=c.clone(),d=a.P().style;m(b)&&b?(a=a.Zd(),c=Zl(c,a)):(c.left-=a.Zq(),c.top-=a.$q());a=c.left;b=c.top;this.Ka(d,"clip",["rect(",b+"px",a+c.width+"px",b+c.height+"px",a+"px",")"].join(" "))}else c=a.P().style,aq(c,"clip")};g.Jt=function(){return!0};function pq(a,b){xd.call(this);this.g=a;this.c=b}G(pq,xd);function qq(a){delete a.g;Sp.Xc();Yi(a.ql);a.ql=null}g=pq.prototype;g.ql=null;g.Oq=null;g.oB=!1;g.Zf=function(){return"shapeType"};g.V=function(){delete this.g;delete this.c;Sp.Xc();Yi(this.ql);this.ql=null;Sp.Xc();Yi(this.Oq);this.Oq=null};function rq(a){gp.call(this,a);this.a={};this.j={}}G(rq,gp);rq.prototype.clear=function(){gf(this.a);gf(this.j);rq.v.clear.call(this)};function mq(a,b,c){var d="",d=u(b)?d+(b+"1"):b instanceof Gm?Rp(b.keys,b.Bc,b.vc,b.qu,b.ru,b.opacity,b.Rf):b instanceof Em?Fm(b.keys,b.opacity,b.eh,b.mode):d+(b.color+b.opacity),e;if(u(c))e=c;else if("keys"in c){var f=0!=c.keys.length?c.keys[0]:c;e=f.color||"black";e+="opacity"in f?f.opacity:1}else e=c.color,e+="opacity"in c?c.opacity:1;d=""+d+(""+c.thickness+e+c.lineJoin+c.lineCap+c.dash);if(df(a.a,d))return a.a[d];b=new pq(b,c);return a.a[d]=b}
function lq(a,b,c,d,e,f,h,k){k=null!=k?k:null;var l=Rp(b,c,d,e,f,h,k);return df(a.j,l)?a.j[l]:a.j[l]=new Qp(b,c,d,e,f,h,k)}rq.prototype.fG=function(a){for(var b=Hm(a.keys,a.Bc,a.vc,a.qu,a.ru,a.opacity,a.Rf),c=bf(this.a),d=0,e=c.length;d<e;d++){var f=c[d];f.g==a&&qq(f)}df(this.j,b)&&hf(this.j,b)};rq.prototype.dG=function(a){for(var b=Fm(a.keys,a.opacity,a.eh,a.mode),c=bf(this.a),d=0,e=c.length;d<e;d++){var f=c[d];f.g==a&&qq(f)}a=this.b;df(a,b)&&hf(a,b)};rq.prototype.V=function(){for(var a in this.a)Ad(this.a[a]);this.a=null;rq.v.V.call(this)};function sq(a,b,c){N.call(this,a,b,c)}G(sq,N);sq.prototype.M=function(){return new rq(this)};sq.prototype.ZD=function(a,b,c,d){return new Pp(this,a,b,c,d)};function tq(a,b){mp.call(this,a,b);this.qb=null;this.J=!1;this.Nb=null}G(tq,mp);g=tq.prototype;g.textOverflow=function(a){a&&(this.J=!0);return tq.v.textOverflow.call(this,a)};g.opacity=function(a){if(null!=a){if(a!==this.style().opacity){var b=!this.oa()||this.oa().Jc();b||this.oa().rd();this.style().opacity=a;this.za(1024);this.za(32);this.za(16384);this.za(4);this.yk();b||this.oa().gd()}return this}return this.style().opacity};g.color=function(a){if(null!=a){if(a!==this.style().color){var b=!this.oa()||this.oa().Jc();b||this.oa().rd();this.style().color=a;this.za(1024);this.za(32);this.za(16384);this.za(4);this.yk();b||this.oa().gd()}return this}return this.style().color};g.yk=function(){if(pn.sq()){var a=this.Zd();a&&!Uh(a)&&(this.za(4),this.Nb=null)}};function kq(a){var b=a.Zd();return!(!b||b&&1==b.a&&0==b.b&&0==b.c&&1==b.g)||!!a.textOverflow()}g.Ug=function(a){this.J=kq(this);return tq.v.Ug.call(this,a)};g.be=function(){tq.v.be.call(this);if(oq(this)||this.textOverflow()){var a=this.P();Xp&&this.P()&&(a.innerHTML=a.innerHTML)}return this};g.Cz=function(){this.J?tq.v.Cz.call(this):(pn.Tz(this),co(this,16384))};g.jv=function(){this.J?tq.v.jv.call(this):co(this,32)};g.yu=function(){if(this.J)tq.v.yu.call(this);else{null!=this.Yl()&&(this.g="rtl"==this.Yl());var a=this.text();this.ta||null==this.text()?this.qb=a:this.qb=a.replace(/(\r\n|\r|\n)/g,"<br>");this.B=this.ag(this.qb,{})}};g.ag=function(a,b){if(this.J)return tq.v.ag.call(this,a,b);var c=pn,d=this.style();c.ig||Yp(c);c.a.style.cssText="";d.fontStyle&&qk(c.a,"font-style",d.fontStyle);d.fontVariant&&qk(c.a,"font-variant",d.fontVariant);d.fontFamily&&qk(c.a,"font-family",d.fontFamily);d.fontSize&&qk(c.a,"font-size",d.fontSize);d.fontWeight&&qk(c.a,"font-weight",d.fontWeight);d.letterSpacing&&qk(c.a,"letter-spacing",d.letterSpacing);d.decoration&&qk(c.a,"text-decoration",d.decoration);d.textIndent&&qk(c.a,"text-indent",d.textIndent);d.textWrap&&d.width&&"byLetter"==d.textWrap?qk(c.a,"word-break","break-all"):qk(c.a,"white-space","nowrap");d.width&&qk(c.a,"width",d.width);qk(c.ig,{left:0,top:0,width:"1px",height:"1px"});qk(c.a,{border:"0 solid",position:"absolute",left:0,top:0});c.a.innerHTML=a;d=Bk(c.a);c.a.innerHTML="";d.left=this.x();d.top=this.y();this.h=d.height;this.height()&&(d.height=this.height());return d};function oq(a){var b=a.Nb;a=a.Zd();return null===b&&null===a?!1:null===b||null===a?!0:!(a.a==b.a&&a.b==b.b&&a.c==b.c&&a.g==b.g)}g.kj=function(){var a=this.Zd();!a||this.yc(256)||this.yc(4)||(this.Nb=a.clone())};function uq(a){var b=a.J;a.J=kq(a);var c=!b&&a.J,b=b&&!a.J,d=!a.oa()||a.oa().Jc();d||a.oa().rd();c?(a.za(1024),a.za(32),a.za(16384),a.za(4),a.B=new M(a.x(),a.y(),a.sa,a.Ra)):b&&(a.za(1024),a.za(32),a.za(16384),a.za(4),a.B=a.ag(a.qb,{}));d||a.oa().gd()}g.lk=function(){tq.v.lk.call(this);uq(this)};g.yh=function(){tq.v.yh.call(this);uq(this);if(Xp&&oq(this)){var a=!this.oa()||this.oa().Jc();a||this.oa().rd();this.H=!1;this.za(1024);this.za(32);this.za(16384);this.za(4);this.yk();a||this.oa().gd()}};g.V=function(){delete this.Nb;tq.v.V.call(this)};tq.prototype.color=tq.prototype.color;tq.prototype.opacity=tq.prototype.opacity;tq.prototype.textOverflow=tq.prototype.textOverflow;var vq={};function ho(a){var b=a.P();if(b){var c=String(D(a));vq[c]=a;b.setAttribute("data-ac-wrapper-id",c)}}function jo(a){delete vq[String(D(a))];(a=a.P())&&a.removeAttribute("data-ac-wrapper-id")}function rl(a,b){for(var c,d=b.P().parentNode;a&&a!=d;){c=a.getAttribute&&a.getAttribute("data-ac-wrapper-id")||null;if(null!=c)break;a=a.parentNode}return(c=vq[c||""]||null)&&c.P()==a?c:null}var Kp="svg",Jp=null,Jp=ii&&!yi("9")?"vml":Kp,pn="vml"==Jp?Sp.Xc():Om.Xc();function Mp(a,b,c){return"vml"==Jp?new sq(a,b,c):new Op(a,b,c)}var Lp="//export.anychart.com";function hm(a,b){var c=null;a&&(c=Qi("STYLE"),c.type="text/css",c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(String(a))),Xi(Ki("head",b)[0],c))}aa.acgraph=aa.acgraph||{};aa.acgraph.fontSize="10px";aa.acgraph.fontColor="#000";aa.acgraph.textDirection="ltr";aa.acgraph.fontFamily="Verdana";function Un(a,b,c,d){return new Ln(a,b,c,d)}function Wn(a,b,c){return new Rn(a,b,c)}
function oo(){return new no}function Xn(a,b,c,d){return new Sn(a,b,c,d)}function Yn(){return new Tn}function ro(a,b,c,d,e){return new ko(a,b,c,d,e)}function qo(a,b,c,d){a="vml"==Jp?new tq(a,b):new mp(a,b);d&&a.style(d);c&&a.text(c);return a}function In(a,b,c,d){return new qn(a,b,c,d)}function Fn(a){return new sn(a)}function io(a,b,c,d){return"vml"==Jp?new Pp(null,a,b,c,d):new vn(null,a,b,c,d)}var wq=void 0;function mn(){return m(wq)?wq:ii&&yi("9")&&!yi("10")?wq="":wq=nl||null===nl&&Ki("base",void 0).length?window.location.origin+window.location.pathname+window.location.search:""}E("acgraph.create",Mp);E("acgraph.type",function(){return Jp});E("acgraph.server",function(a){m(a)&&(Lp=a);return Lp});E("acgraph.StageType.SVG",Kp);E("acgraph.StageType.VML","vml");E("acgraph.rect",Un);E("acgraph.circle",Wn);E("acgraph.ellipse",Xn);E("acgraph.path",Yn);E("acgraph.text",qo);E("acgraph.layer",oo);E("acgraph.image",ro);E("acgraph.hatchFill",In);E("acgraph.patternFill",Fn);E("acgraph.clip",io);E("acgraph.useAbsoluteReferences",function(a){if(m(a))nl=a;else return!!mn()});E("acgraph.updateReferences",function(){var a=wq;wq=void 0;if(m(a)&&mn()!=a){var b=pn,c;for(c in vq)if(vq.hasOwnProperty(c)){var a=vq[c],d=a.oa();d&&(a instanceof $n&&(d.Jc()?a.za(512):a.yc(512)||b.Nz(a)),a instanceof Kn&&(d.Jc()?a.za(24):(a.yc(8)||kn(b,a),a.yc(16)||tn(b,a))))}}});var xq={color:"#fff",opacity:1E-5};function yq(a,b,c,d){b=null==b||isNaN(+b)?7:+b;d=null!=d?ub(d,0,1):NaN;var e,f;a=zq(a||"#000").ef;f=Nh(a);a=f[0]/255;e=f[1]/255;f=f[2]/255;var h=Math.max(a,e,f),k=Math.min(a,e,f),l=0,n=0,p=.5*(h+k);h!=k&&(h==a?l=60*(e-f)/(h-k):h==e?l=60*(f-a)/(h-k)+120:h==f&&(l=60*(a-e)/(h-k)+240),n=0<p&&.5>=p?(h-k)/(2*p):(h-k)/(2-2*p));f=[Math.round(l+360)%360,n,p];a=f[0];e=f[1];f=f[2];isNaN(d)?(d=f,c=null!=c?ub(c,0,1):.95):c=null!=c?ub(c,0,1):f;f=1<b?Math.abs(d-c)/(b-1):0;h=[];d=c<d?1:-1;for(k=0;k<b;k++){var l=c+d*f*k,q=p=n=0,q=a/360;if(0==e)n=p=q=255*l;else var t=0,v=0,v=.5>l?l*(1+e):l+e-e*l,t=2*l-v,n=255*Qh(t,v,q+1/3),p=255*Qh(t,v,q),q=255*Qh(t,v,q-1/3);h.push(Kh([Math.round(n),Math.round(p),Math.round(q)]))}return h}function Aq(a){if(B(a))if(a.color)a=a.color;else return null;if(u(a))try{return Gh(a).ef}catch(b){}return null}
function Bq(a,b){if(B(a)&&m(a.keys)){for(var c=kf(a),d=c.keys,e=[],f=0,h=d.length;f<h;f++){var k=kf(d[f]);k.color=Bq(k.color);e.push(k)}c.keys=e;return c}if(fa(c=Aq(a)))return a;c=Nh(c);null!=b||(b=.3);return Kh(Rh([255,255,255],c,+b))}function Cq(a,b){if(B(a)&&m(a.keys)){for(var c=kf(a),d=c.keys,e=[],f=0,h=d.length;f<h;f++){var k=kf(d[f]);k.color=Cq(k.color);e.push(k)}c.keys=e;return c}if(fa(c=Aq(a)))return a;c=Nh(c);null!=b||(b=.3);return Kh(Sh(c,+b))}
function P(a){var b;a instanceof qn?b={type:a.type,color:P(a.color),thickness:a.a,size:a.size}:a instanceof sn?b=a.o():B(a)?b=Dq(a):b=ia(a)?a:String(a||"none");return b}var Eq=/^#(?:[0-9a-f]{3}){1,2}$/i,Fq=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function zq(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(Eq.test(c))return b.ef=Ih(c),b.type="hex",b;a:{var d=a.match(Fq);if(d){var c=Number(d[1]),e=Number(d[2]),d=Number(d[3]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}return c.length?(b.ef=Kh(c),b.type="rgb",b):wd&&(a=wd[a.toLowerCase()])?(b.ef=a,b.type="named",b):null}function Gq(a,b,c){var d;c?d=Bn(a):d=Gn(a);u(d)?d={color:d,opacity:b}:B(d)&&(d.opacity=b);return d}
E("anychart.color.blend",function(a,b,c){return Rh(a,b,c)});E("anychart.color.lighten",Bq);E("anychart.color.darken",Cq);E("anychart.color.setThickness",function(a,b,c){a=Gn(a);u(a)?a={color:a,thickness:b}:B(a)&&(a.thickness=b);c&&(a.opacity=c);return a});E("anychart.color.setOpacity",Gq);E("anychart.color.singleHueProgression",yq);E("anychart.color.bipolarHueProgression",function(a,b,c){c=m(c)?c:7;a=yq(a||"blue",Math.floor(c/2)+1,null,1);b=yq(b||"red",Math.floor(c/2)+1,1);0==c%2&&fb(a,a.length-1,1);fb(b,0,1);return a.concat(b)});E("anychart.color.blendedHueProgression",function(a,b,c){c=m(c)?c:7;a=Nh(zq(a||"yellow").ef);b=Nh(zq(b||"brown").ef);for(var d=[Oh.apply(null,a)],e=1/c,f=1;f<c-1;f++)d.push(Oh.apply(null,Rh(b,a,e*f)));d.push(Oh.apply(null,b));return d});function Hq(a,b,c,d,e){xd.call(this);this.m=d||"shapes";this.fe=e||ba;this.Y=a;this.Of=null;this.j=c;this.a={};this.b={};this.h={};this.c={};for(a=0;a<b.length;a++){c=b[a];d=Iq(c.jd,c.Ic?3:1);e=Iq(c.qd,2);var f,h=c.Yc;switch(h){case"circle":f=Wn;break;case"rect":f=Un;break;default:h="path",f=Yn}this.a[h]||(this.a[h]=[],this.b[h]=[],this.h[h]=0);this.c[c.name]={fill:d,stroke:e,zIndex:+c.zIndex,Ic:c.Ic,bN:f,Yc:h}}}G(Hq,xd);g=Hq.prototype;g.pu=function(a,b,c){a&&(b?delete a.tag:a.tag={Y:this.Y,index:c},a.fb(b))};function Jq(a,b){if(a.Of!=b){a.Of=b;for(var c in a.a)for(var d=a.a[c],e=0;e<d.length;e++)d[e].parent(b)}}g.Dx=function(){for(var a in this.a){for(var b=this.a[a],c=0;c<b.length;c++){var d=b[c];d.parent(null);d instanceof Tn&&d.clear()}this.h[a]=0;b.length=0}};g.rc=function(a,b,c){var d={},e=b||this.c,f;this.Y.Fd()?(b=this.Y.G(),f=b.S()):(b=null,f=!0);for(var h in e){var e=h,k=a,l=f,n=c||0,p=this.c[h],q=p.Yc,t=void 0;this.b[q].length>this.h[q]?t=this.b[q][this.h[q]]:this.b[q].push(t=p.bN());this.h[q]++;this.a[q].push(t);t.fill(p.fill(this.Y,k));t.stroke(p.stroke(this.Y,k));t.zIndex(p.zIndex+n);this.j&&this.pu(t,p.Ic,l);p.Ic&&"none"==t.fill()&&"none"==t.stroke()?t.parent(null):t.parent(this.Of);d[e]=t}this.fe(this.Y,d,a);b&&b.l(this.m,d);return d};g.Eu=function(a,b){if(b)for(var c in b)b[c].zIndex(this.c[c].zIndex+a)};g.Fm=function(a,b){if(b){for(var c in b){var d=this.c[c],e=b[c];e.fill(d.fill(this.Y,a));e.stroke(d.stroke(this.Y,a));d.Ic&&("none"==e.fill()&&"none"==e.stroke()?e.parent(null):e.parent(this.Of))}this.fe(this.Y,b,a)}};function Nd(a,b,c){if(a=a.c[b])a.zIndex=c}g.V=function(){for(var a in this.b)Bd(this.b[a]),this.b[a].length=0,this.a[a].length=0;this.c=this.Of=null;Hq.v.V.call(this)};function Kq(a,b,c,d,e){Hq.call(this,a,b,c,d,e)}G(Kq,Hq);function Lq(a,b,c,d,e){Hq.call(this,a,b,c,d,e);this.g=null}G(Lq,Hq);g=Lq.prototype;g.pu=function(a,b){Lq.v.pu.call(this,a,b,!0)};g.Dx=function(){Lq.v.Dx.call(this);this.g=null};g.rc=function(a,b,c){this.g||(this.g=Lq.v.rc.call(this,a,null,c));return this.g};g.Eu=function(a){Lq.v.Eu.call(this,a,this.g)};g.Fm=function(a){Lq.v.Fm.call(this,a,this.g)};g.V=function(){this.g=null;Lq.v.V.call(this)};function Mq(a,b){this.c=a;this.a=b?Nq:Oq}var Oq=["topBorder","rightBorder","bottomBorder","leftBorder"],Nq=["cellTopBorder","cellRightBorder","cellBottomBorder","cellLeftBorder"];Mq.prototype.top=function(a,b,c,d,e){null!=a&&(a=Gn.apply(null,arguments));return this.c.la(this.a[0],a,Pq)};Mq.prototype.right=function(a,b,c,d,e){null!=a&&(a=Gn.apply(null,arguments));return this.c.la(this.a[1],a,Pq)};Mq.prototype.bottom=function(a,b,c,d,e){null!=a&&(a=Gn.apply(null,arguments));return this.c.la(this.a[2],a,Pq)};Mq.prototype.left=function(a,b,c,d,e){null!=a&&(a=Gn.apply(null,arguments));return this.c.la(this.a[3],a,Pq)};Mq.prototype.top=Mq.prototype.top;Mq.prototype.right=Mq.prototype.right;Mq.prototype.bottom=Mq.prototype.bottom;Mq.prototype.left=Mq.prototype.left;function Qq(){xd.call(this);this.b=!1;this.a={};var a=document;ii&&(!yi("7")||a.documentMode&&6>=a.documentMode)?this.Ol=Qi("div",{style:"position:absolute; left:0; top:0; z-index: 9999;"}):this.Ol=Qi("div",{style:"position:absolute; z-index: 9999; left: -10000px; top: -10000px"});var b;si||ti||ri?(b=Ni(window),a=b.width,b=b.height):(b=Pi().screen,a=b.availWidth,b=b.availHeight);ii&&!yi("9")?this.yi=Mp(this.Ol,1,1):(this.yi=Mp(this.Ol,a,b),this.g=new Qj,L(this,this.g),this.c=new Wk(this.g),L(this,this.c),vj(this.c,"resize",this.bH,!1,this));this.yi.P().style.cssText="position:fixed; left:0; top:0; opacity:1; pointer-events: none";this.yi.ea=!0;document.body.appendChild(this.Ol)}G(Qq,xd);ca(Qq);g=Qq.prototype;g.Ol=null;g.yi=null;g.bH=function(){var a;a=this.c;a=a.a?a.a.clone():null;this.yi.width(a.width);this.yi.height(a.height)};g.Pc=function(a){return m(a)?(this.b!=a&&(this.b=a),this):this.b};g.V=function(){m(this.c)&&Dj(this.c,"resize",this.bH,!1,this);this.yi.Sd();this.yi=null;Yi(this.Ol);this.a=this.Ol=null};function Rq(a){var b=Dq(a);for(a=0;a<Sq.length;a++)for(var c=Sq[a],d=c.jb,e=0;e<c.gb.length;e++){var f=c.gb[e].split(".");var h=b,k=f,b=Tq(Uq(b,f),Uq(b,d.split(".")));if(m(b)){for(var f=h=B(h)?h:{},l=0;l<k.length-1;l++){var n=k[l];B(h[n])||(h[n]={});h=h[n]}h[k[k.length-1]]=b;b=f}else b=h}return b||{}}function Uq(a,b){for(var c=a,d=0;d<b.length;d++)if(B(c))c=c[b[d]];else return;return c}
function Vq(a,b,c){var d=Wq();if(b=Uq(d,[c,"scales",b]))if(c=a.type,d=b.type,!(m(c)&&m(d)&&"ordinal"==d^"ordinal"==c))return a=Xq(a),Tq(a,b);return a}function Xq(a){if("object"==ea(a)){var b={},c;for(c in a)a.hasOwnProperty(c)&&(b[c]=Xq(a[c]));return b}return a}function Yq(a,b){for(var c=a=B(a)?a:{},d=[c],e=b.length-1,f=0;f<e;f++){var h=b[f];if(!B(c[h]))return a;c=c[h];d.push(c)}for(f=e+1;f--;){c=d.pop();delete c[b[f]];var e=!1,k;for(k in c){e=!0;break}if(e)break}return a}
function Tq(a,b){if(m(a)){if("object"==ea(a)){if("object"==ea(b))for(var c in b)c in a&&c in Zq||(a[c]=Tq(a[c],b[c]))}else if((ia(a)||null===a)&&"object"==ea(b))return Tq({enabled:!!a},b);return a}return Dq(b)}
function $q(a,b){var c=a=ar(a,b),d,e,f;for(f in br){var h=f.split("."),k=Uq(c,h);if(r(k)){e=k.length;var l=Uq(b,h),n=Uq(b,br[f].split(".")),p=!0;if(r(l)&&l.length==e)for(d=0;d<e;d++){var q=Dq(l[d]),q=Tq(q,n);if(!cr(k[d],q)){p=!1;break}}else p=!1;if(p)c=Yq(c,h);else for(d=0;d<e;d++)k[d]=ar(k[d],n)||{}}}for(f=0;f<dr.length;f++)if(h=dr[f].split("."),k=Uq(c,h),r(k)){e=k.length;l=Uq(b,h);n=!0;if(r(l)&&l.length==e)for(d=0;d<e;d++){if(!cr(k[d],l[d])){n=!1;break}}else n=!1;if(n)c=Yq(c,h);else for(d=0;d<e;d++)k[d]=ar(k[d],l[d])||{}}for(var t in er)if(f=er[t],h=Uq(c,t.split(".")),k=Uq(b,f.Vx.split(".")),r(h)&&m(k))for(e=h.length,d=0;d<e;d++)l=Uq(h,[d,f.jA]),m(l)&&(h[d]=ar(h[d],Uq(k,[l]))||{});return c}
function ar(a,b,c){var d=ea(a),e=ea(b),f;if("object"==d&&"object"==e){var d=!0,h;for(h in a)if(h in b){var e=b[h],k;if(h in Zq)switch(k=Zq[h],k){case fr:e=A(e)?void 0:Bn(e);break;case gr:e=A(e)?void 0:P(Hn(e));break;case hr:e=A(e)?void 0:Gn(e);break;case ir:e=jr(e)}k==kr||k==ir?f=cr(a[h],e,k)?void 0:a[h]:f=ar(a[h],e,k||c);m(f)?(a[h]=f,d=!1):"xScale"==h||"yScale"==h||"colorScale"==h?d=!1:"enabled"!=h&&delete a[h]}else m(a[h])&&(d=!1);if(d)return}else{if(m(c)&&"array"==d&&"array"==e)return cr(a,b,c)?void 0:a;if(a==b)return}return a}function cr(a,b,c){var d=ea(a),e=ea(b);if(d==e){if("object"==d)for(var f in a){d=b[f];if(f in Zq)switch(Zq[f]){case fr:d=A(d)?void 0:Bn(d);break;case gr:d=A(d)?void 0:P(Hn(d));break;case hr:d=A(d)?void 0:Gn(d)}if(!cr(a[f],d,c))return!1}else if("array"==d){f=a.length;if(f!=b.length)return!1;for(e=0;e<f;e++){d=b[e];switch(c){case lr:d=Bn(d);break;case mr:d=P(Hn(d))}if(!cr(a[e],d))return!1}}else return a===b;return!0}return!1}
var Sq=[{jb:"defaultFontSettings",gb:"defaultTitle defaultLabelFactory defaultCrosshairLabel defaultTooltip defaultTooltip.content defaultLegend defaultLegend.paginator chart.defaultLabelSettings cartesianBase.defaultTextMarkerSettings scatter.defaultTextMarkerSettings standalones.label standalones.table standalones.textAxisMarker".split(" ")},{jb:"defaultBackground",gb:"defaultTitle.background defaultTooltip.background defaultTooltip.content.background defaultLabelFactory.background defaultCrosshairLabel.background chart.background defaultLegend.background defaultLegend.paginator.background chart.defaultLabelSettings.background stock.defaultPlotSettings.xAxis.background stock.scroller.xAxis.background standalones.background standalones.label.background".split(" ")},{jb:"defaultLabelFactory",gb:"defaultAxis.labels defaultAxis.minorLabels chart.defaultAnnotationSettings.base.labels chart.defaultSeriesSettings.base.labels pieFunnelPyramidBase.labels ganttBase.timeline.labels defaultDataGrid.defaultColumnSettings.cellTextSettings ganttBase.timeline.header.labelsFactory standalones.labelsFactory heatMap.labels map.defaultSeriesSettings.base.labels treeMap.headers treeMap.labels linearGauge.defaultPointerSettings.base.label pert.milestones.labels pert.tasks.upperLabels pert.tasks.lowerLabels pert.criticalPath.milestones.labels pert.criticalPath.tasks.upperLabels pert.criticalPath.tasks.lowerLabels".split(" ")},{jb:"defaultCrosshairLabel",gb:["cartesianBase.crosshair.xLabel","cartesianBase.crosshair.yLabel","scatter.crosshair.xLabel","scatter.crosshair.yLabel"]},{jb:"defaultMarkerFactory",gb:"chart.defaultAnnotationSettings.base.markers chart.defaultSeriesSettings.base.markers pieFunnelPyramidBase.markers ganttBase.timeline.markers standalones.markersFactory heatMap.markers map.defaultSeriesSettings.base.markers treeMap.markers".split(" ")},{jb:"defaultTitle",gb:"defaultTooltip.title defaultAxis.title chart.title defaultLegend.title defaultDataGrid.defaultColumnSettings.title standalones.title".split(" ")},{jb:"defaultSeparator",gb:["defaultTooltip.separator","defaultLegend.titleSeparator"]},{jb:"defaultTooltip",gb:"defaultLegend.tooltip chart.tooltip chart.defaultSeriesSettings.base.tooltip pieFunnelPyramidBase.tooltip defaultDataGrid.tooltip ganttBase.timeline.tooltip pert.milestones.tooltip pert.tasks.tooltip pert.criticalPath.milestones.tooltip pert.criticalPath.tasks.tooltip".split(" ")},{jb:"defaultLegend",gb:["chart.legend","standalones.legend"]},{jb:"palette",gb:["chart.palette"]},{jb:"hatchFillPalette",gb:["chart.hatchFillPalette"]},{jb:"hatchFillPaletteFor3D",gb:["cartesian3d.hatchFillPalette"]},{jb:"markerPalette",gb:["chart.markerPalette"]},{jb:"defaultGridSettings",gb:"defaultMinorGridSettings cartesianBase.defaultGridSettings scatter.defaultGridSettings polar.defaultGridSettings radar.defaultGridSettings heatMap.defaultGridSettings stock.defaultPlotSettings.defaultGridSettings standalones.linearGrid standalones.radarGrid standalones.polarGrid".split(" ")},{jb:"defaultMinorGridSettings",gb:["cartesianBase.defaultMinorGridSettings","scatter.defaultMinorGridSettings","polar.defaultMinorGridSettings","radar.defaultMinorGridSettings","stock.defaultPlotSettings.defaultMinorGridSettings"]},{jb:"defaultLineMarkerSettings",gb:["cartesianBase.defaultLineMarkerSettings","scatter.defaultLineMarkerSettings","sparkline.defaultLineMarkerSettings","standalones.lineAxisMarker","ganttBase.timeline.defaultLineMarkerSettings"]},{jb:"defaultTextMarkerSettings",gb:["cartesianBase.defaultTextMarkerSettings","scatter.defaultTextMarkerSettings","sparkline.defaultTextMarkerSettings","standalones.textAxisMarker","ganttBase.timeline.defaultTextMarkerSettings"]},{jb:"defaultRangeMarkerSettings",gb:["cartesianBase.defaultRangeMarkerSettings","scatter.defaultRangeMarkerSettings","sparkline.defaultRangeMarkerSettings","standalones.rangeAxisMarker","ganttBase.timeline.defaultRangeMarkerSettings"]},{jb:"defaultAxis",gb:"cartesianBase.defaultXAxisSettings cartesianBase.defaultYAxisSettings heatMap.defaultXAxisSettings heatMap.defaultYAxisSettings scatter.defaultXAxisSettings scatter.defaultYAxisSettings bullet.axis radar.xAxis radar.yAxis polar.xAxis polar.yAxis circularGauge.defaultAxisSettings stock.defaultPlotSettings.defaultYAxisSettings stock.defaultPlotSettings.xAxis stock.scroller.xAxis defaultColorRange linearGauge.defaultAxisSettings standalones.linearAxis standalones.polarAxis standalones.radarAxis standalones.radialAxis".split(" ")},{jb:"defaultColorRange",gb:["map.colorRange","treeMap.colorRange"]},{jb:"defaultCallout",gb:["map.defaultCalloutSettings"]},{jb:"defaultScroller",gb:["cartesianBase.xScroller","heatMap.xScroller","heatMap.yScroller","stock.scroller","standalones.scroller"]},{jb:"chart",gb:"cartesianBase pieFunnelPyramidBase scatter radar polar heatMap bullet circularGauge map sparkline ganttBase stock stock.defaultPlotSettings treeMap linearGauge pert".split(" ")},{jb:"chart.defaultSeriesSettings",gb:["stock.scroller.defaultSeriesSettings"]},{jb:"chart.tooltip",gb:["stock.tooltip"]},{jb:"pieFunnelPyramidBase",gb:["pie","pyramid","funnel"]},{jb:"pie",gb:["pie3d"]},{jb:"cartesianBase.defaultAnnotationSettings.base",gb:"cartesianBase.defaultAnnotationSettings.ray cartesianBase.defaultAnnotationSettings.line cartesianBase.defaultAnnotationSettings.infiniteLine cartesianBase.defaultAnnotationSettings.verticalLine cartesianBase.defaultAnnotationSettings.horizontalLine cartesianBase.defaultAnnotationSettings.rectangle cartesianBase.defaultAnnotationSettings.ellipse cartesianBase.defaultAnnotationSettings.triangle cartesianBase.defaultAnnotationSettings.trendChannel cartesianBase.defaultAnnotationSettings.andrewsPitchfork cartesianBase.defaultAnnotationSettings.fibonacciFan cartesianBase.defaultAnnotationSettings.fibonacciArc cartesianBase.defaultAnnotationSettings.fibonacciRetracement cartesianBase.defaultAnnotationSettings.fibonacciTimezones cartesianBase.defaultAnnotationSettings.marker cartesianBase.defaultAnnotationSettings.label".split(" ")},{jb:"cartesianBase.defaultSeriesSettings.base",gb:"cartesianBase.defaultSeriesSettings.areaLike cartesianBase.defaultSeriesSettings.barLike cartesianBase.defaultSeriesSettings.lineLike cartesianBase.defaultSeriesSettings.pieLike cartesianBase.defaultSeriesSettings.marker cartesianBase.defaultSeriesSettings.bubble".split(" ")},{jb:"cartesianBase.defaultSeriesSettings.areaLike",gb:"cartesianBase.defaultSeriesSettings.area cartesianBase.defaultSeriesSettings.splineArea cartesianBase.defaultSeriesSettings.stepArea cartesianBase.defaultSeriesSettings.rangeArea cartesianBase.defaultSeriesSettings.rangeSplineArea cartesianBase.defaultSeriesSettings.rangeStepArea".split(" ")},{jb:"cartesianBase.defaultSeriesSettings.barLike",gb:"cartesianBase.defaultSeriesSettings.bar cartesianBase.defaultSeriesSettings.column cartesianBase.defaultSeriesSettings.box cartesianBase.defaultSeriesSettings.rangeBar cartesianBase.defaultSeriesSettings.rangeColumn cartesianBase.defaultSeriesSettings.candlestick".split(" ")},{jb:"cartesianBase.defaultSeriesSettings.lineLike",gb:["cartesianBase.defaultSeriesSettings.line","cartesianBase.defaultSeriesSettings.spline","cartesianBase.defaultSeriesSettings.stepLine","cartesianBase.defaultSeriesSettings.ohlc"]},{jb:"cartesianBase",gb:"cartesian area bar box column financial line".split(" ")},{jb:"cartesian3d.defaultSeriesSettings.base",gb:["cartesian3d.defaultSeriesSettings.bar","cartesian3d.defaultSeriesSettings.column","cartesian3d.defaultSeriesSettings.area"]},{jb:"cartesian3d",gb:["area3d","bar3d","column3d"]},{jb:"cartesian",gb:["cartesian3d"]},{jb:"bar",gb:["bar3d"]},{jb:"column",gb:["column3d"]},{jb:"area",gb:["area3d"]},{jb:"scatter.defaultSeriesSettings.base",gb:["scatter.defaultSeriesSettings.bubble","scatter.defaultSeriesSettings.lineLike","scatter.defaultSeriesSettings.marker"]},{jb:"scatter.defaultSeriesSettings.lineLike",gb:["scatter.defaultSeriesSettings.line"]},{jb:"scatter",gb:["marker","bubble"]},{jb:"radar.defaultSeriesSettings.base",gb:["radar.defaultSeriesSettings.areaLike","radar.defaultSeriesSettings.lineLike","radar.defaultSeriesSettings.marker"]},{jb:"radar.defaultSeriesSettings.areaLike",gb:["radar.defaultSeriesSettings.area"]},{jb:"radar.defaultSeriesSettings.lineLike",gb:["radar.defaultSeriesSettings.line"]},{jb:"polar.defaultSeriesSettings.base",gb:["polar.defaultSeriesSettings.areaLike","polar.defaultSeriesSettings.lineLike","polar.defaultSeriesSettings.marker"]},{jb:"polar.defaultSeriesSettings.areaLike",gb:["polar.defaultSeriesSettings.area"]},{jb:"polar.defaultSeriesSettings.lineLike",gb:["polar.defaultSeriesSettings.line"]},{jb:"sparkline.defaultSeriesSettings.base",gb:["sparkline.defaultSeriesSettings.area","sparkline.defaultSeriesSettings.line","sparkline.defaultSeriesSettings.column","sparkline.defaultSeriesSettings.winLoss"]},{jb:"circularGauge.defaultPointerSettings.base",gb:["circularGauge.defaultPointerSettings.bar","circularGauge.defaultPointerSettings.marker","circularGauge.defaultPointerSettings.needle","circularGauge.defaultPointerSettings.knob"]},{jb:"map.defaultSeriesSettings.base",gb:["map.defaultSeriesSettings.choropleth","map.defaultSeriesSettings.bubble","map.defaultSeriesSettings.marker","map.defaultSeriesSettings.connector"]},{jb:"map",gb:["choropleth","bubbleMap","connector","markerMap","seatMap"]},{jb:"stock.defaultAnnotationSettings.base",gb:"stock.defaultAnnotationSettings.ray stock.defaultAnnotationSettings.line stock.defaultAnnotationSettings.infiniteLine stock.defaultAnnotationSettings.verticalLine stock.defaultAnnotationSettings.horizontalLine stock.defaultAnnotationSettings.rectangle stock.defaultAnnotationSettings.ellipse stock.defaultAnnotationSettings.triangle stock.defaultAnnotationSettings.trendChannel stock.defaultAnnotationSettings.andrewsPitchfork stock.defaultAnnotationSettings.fibonacciFan stock.defaultAnnotationSettings.fibonacciArc stock.defaultAnnotationSettings.fibonacciRetracement stock.defaultAnnotationSettings.fibonacciTimezones stock.defaultAnnotationSettings.marker stock.defaultAnnotationSettings.label".split(" ")},{jb:"stock.defaultPlotSettings.defaultSeriesSettings.base",gb:"stock.defaultPlotSettings.defaultSeriesSettings.areaLike stock.defaultPlotSettings.defaultSeriesSettings.barLike stock.defaultPlotSettings.defaultSeriesSettings.lineLike stock.defaultPlotSettings.defaultSeriesSettings.pieLike stock.defaultPlotSettings.defaultSeriesSettings.marker stock.defaultPlotSettings.defaultSeriesSettings.bubble".split(" ")},{jb:"stock.defaultPlotSettings.defaultSeriesSettings.areaLike",gb:"stock.defaultPlotSettings.defaultSeriesSettings.area stock.defaultPlotSettings.defaultSeriesSettings.splineArea stock.defaultPlotSettings.defaultSeriesSettings.stepArea stock.defaultPlotSettings.defaultSeriesSettings.rangeArea stock.defaultPlotSettings.defaultSeriesSettings.rangeSplineArea stock.defaultPlotSettings.defaultSeriesSettings.rangeStepArea".split(" ")},{jb:"stock.defaultPlotSettings.defaultSeriesSettings.barLike",gb:"stock.defaultPlotSettings.defaultSeriesSettings.bar stock.defaultPlotSettings.defaultSeriesSettings.column stock.defaultPlotSettings.defaultSeriesSettings.box stock.defaultPlotSettings.defaultSeriesSettings.rangeBar stock.defaultPlotSettings.defaultSeriesSettings.rangeColumn stock.defaultPlotSettings.defaultSeriesSettings.candlestick".split(" ")},{jb:"stock.defaultPlotSettings.defaultSeriesSettings.lineLike",gb:["stock.defaultPlotSettings.defaultSeriesSettings.line","stock.defaultPlotSettings.defaultSeriesSettings.spline","stock.defaultPlotSettings.defaultSeriesSettings.stepLine","stock.defaultPlotSettings.defaultSeriesSettings.ohlc"]},{jb:"stock.scroller.defaultSeriesSettings.base",gb:"stock.scroller.defaultSeriesSettings.areaLike stock.scroller.defaultSeriesSettings.barLike stock.scroller.defaultSeriesSettings.lineLike stock.scroller.defaultSeriesSettings.pieLike stock.scroller.defaultSeriesSettings.marker stock.scroller.defaultSeriesSettings.bubble".split(" ")},{jb:"stock.scroller.defaultSeriesSettings.areaLike",gb:"stock.scroller.defaultSeriesSettings.area stock.scroller.defaultSeriesSettings.splineArea stock.scroller.defaultSeriesSettings.stepArea stock.scroller.defaultSeriesSettings.rangeArea stock.scroller.defaultSeriesSettings.rangeSplineArea stock.scroller.defaultSeriesSettings.rangeStepArea".split(" ")},{jb:"stock.scroller.defaultSeriesSettings.barLike",gb:"stock.scroller.defaultSeriesSettings.bar stock.scroller.defaultSeriesSettings.column stock.scroller.defaultSeriesSettings.box stock.scroller.defaultSeriesSettings.rangeBar stock.scroller.defaultSeriesSettings.rangeColumn stock.scroller.defaultSeriesSettings.candlestick".split(" ")},{jb:"stock.scroller.defaultSeriesSettings.lineLike",gb:["stock.scroller.defaultSeriesSettings.line","stock.scroller.defaultSeriesSettings.spline","stock.scroller.defaultSeriesSettings.stepLine","stock.scroller.defaultSeriesSettings.ohlc"]},{jb:"defaultDataGrid",gb:["ganttBase.dataGrid","standalones.dataGrid"]},{jb:"ganttBase",gb:["ganttResource","ganttProject"]},{jb:"defaultGroupingSettings",gb:["stock.grouping","stock.scrollerGrouping"]},{jb:"linearGauge.defaultPointerSettings.base",gb:"linearGauge.defaultPointerSettings.bar linearGauge.defaultPointerSettings.rangeBar linearGauge.defaultPointerSettings.marker linearGauge.defaultPointerSettings.tank linearGauge.defaultPointerSettings.thermometer linearGauge.defaultPointerSettings.led".split(" ")},{jb:"linearGauge",gb:["bulletGauge","thermometerGauge","tankGauge","ledGauge"]}],fr=1,hr=2,gr=3,lr=4,mr=5,kr=7,ir=8,Zq={padding:ir,scale:kr,xScale:kr,yScale:kr,colorScale:kr,palette:lr,rangePalette:lr,hatchFillPalette:mr,markerPalette:6,rowHoverFill:fr,rowSelectedFill:fr,fill:fr,hoverFill:fr,negativeFill:fr,firstFill:fr,lastFill:fr,maxFill:fr,minFill:fr,hoverNegativeFill:fr,risingFill:fr,fallingFill:fr,hoverRisingFill:fr,hoverFallingFill:fr,rowFill:fr,rowOddFill:fr,rowEvenFill:fr,backgroundFill:fr,baseFill:fr,baselineFill:fr,progressFill:fr,milestoneFill:fr,parentFill:fr,connectorFill:fr,selectedElementFill:fr,oddFill:fr,evenFill:fr,selectFill:fr,titleFill:fr,iconFill:fr,iconMarkerFill:fr,sliderFill:fr,dragPreviewFill:fr,dragAreaFill:fr,cellFill:fr,selectedFill:fr,selectNegativeFill:fr,selectRisingFill:fr,selectFallingFill:fr,hatchFill:gr,hoverHatchFill:gr,negativeHatchFill:gr,firstHatchFill:gr,lastHatchFill:gr,maxHatchFill:gr,minHatchFill:gr,hoverNegativeHatchFill:gr,risingHatchFill:gr,fallingHatchFill:gr,hoverRisingHatchFill:gr,hoverFallingHatchFill:gr,selectedHatchFill:gr,iconHatchFill:gr,selectHatchFill:gr,selectNegativeHatchFill:gr,selectRisingHatchFill:gr,selectFallingHatchFill:gr,columnStroke:hr,rowStroke:hr,stroke:hr,hoverStroke:hr,connectorStroke:hr,medianStroke:hr,hoverMedianStroke:hr,stemStroke:hr,hoverStemStroke:hr,whiskerStroke:hr,hoverWhiskerStroke:hr,negativeStroke:hr,hoverNegativeStroke:hr,highStroke:hr,hoverHighStroke:hr,lowStroke:hr,hoverLowStroke:hr,risingStroke:hr,hoverRisingStroke:hr,fallingStroke:hr,hoverFallingStroke:hr,baseStroke:hr,baselineStroke:hr,progressStroke:hr,milestoneStroke:hr,parentStroke:hr,selectedElementStroke:hr,selectStroke:hr,iconStroke:hr,iconMarkerStroke:hr,backgroundStroke:hr,sliderStroke:hr,dragPreviewStroke:hr,dragAreaStroke:hr,xErrorStroke:hr,valueErrorStroke:hr,selectedStroke:hr,selectLowStroke:hr,selectNegativeStroke:hr,selectRisingStroke:hr,selectFallingStroke:hr,selectedRisingStroke:hr,selectedFallingStroke:hr,selectMedianStroke:hr,selectStemStroke:hr,selectWhiskerStroke:hr},br={"chart.chartLabels":"chart.defaultLabelSettings","chart.grids":"chart.defaultGridSettings","chart.minorGrids":"chart.defaultMinorGridSettings","chart.xAxes":"chart.defaultXAxisSettings","chart.yAxes":"chart.defaultYAxisSettings","chart.axes":"chart.defaultAxisSettings","chart.lineAxesMarkers":"chart.defaultLineMarkerSettings","chart.rangeAxesMarkers":"chart.defaultRangeMarkerSettings","chart.textAxesMarkers":"chart.defaultTextMarkerSettings","chart.ranges":"chart.defaultRangeSettings","gauge.bars":"gauge.defaultPointerSettings","gauge.markers":"gauge.defaultPointerSettings","gauge.needles":"gauge.defaultPointerSettings","gauge.knobs":"gauge.defaultPointerSettings","gauge.ranges":"gauge.defaultRangeSettings","gauge.axes":"gauge.defaultAxisSettings","gauge.scaleBars":"gauge.defaultScaleBarSettings","map.callouts":"map.defaultCalloutSettings"},dr=["chart.scales","gauge.scales"],er={"chart.series":{Vx:"chart.defaultSeriesSettings",jA:"seriesType"},"gauge.pointers":{Vx:"gauge.defaultPointerSettings",jA:"pointerType"},annotationsList:{Vx:"defaultAnnotationSettings",jA:"type"}};var nr;function or(a,b,c,d,e){if(c)for(var f=0;f<c.length;f++){var h=c[f];if(h in a){b=h;break}}return 3<arguments.length?(f=a[b],a[c&&e?c[0]:b]=d,f):a[b]}function pr(a,b){if("number"==typeof a&&"number"==typeof b)return qr(a,b);a=rr(a);b=rr(b);return a>b?1:a==b?0:-1}function sr(a,b){return-pr(a,b)}function qr(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function tr(a){for(var b;a instanceof $n;){b=a.tag;if(m(b))return b;a=a.parent()}}
function ur(a,b){for(;b instanceof Oj&&b!=a;)b=b.vh;return b==a}function rr(a){return B(a)?"o"+D(a):(typeof a).charAt(0)+a}function Q(a,b,c){a=y(a)?a:!isNaN(b)&&vr(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function vr(a){return u(a)&&of(a,"%")}function wr(a,b){if(null===a)return null;a=m(a)?a:0;b=m(b)?b:0;var c=vr(a),d=parseFloat(a);return isNaN(d)?b:c?a:d}function xr(a){if(vr(a))return a;y(a)||(a=parseFloat(a));return isNaN(a)?"0%":a+"%"}
function I(a){return null===a||ia(a)?NaN:+a}function Ra(a){return u(a)?a:I(a)}function yr(a){return y(a)&&!isNaN(a)||u(a)&&""!=qf(a)?a:null}function zr(a){return isNaN(I(a))}function Ea(a,b,c){y(a)||(a=parseFloat(a));a=Math.round(a);return 0<a||c&&0==a?a:m(b)?b:c?0:1}function xb(a){var b;y(a)?b=a:u(a)?(b=+new Date(a),isNaN(b)&&(b=+a)):b=null===a?NaN:Number(a);return b}
function Ar(a,b){var c=a.left,d=a.top;switch(Yb(b)){case"leftCenter":d+=a.height/2;break;case"leftBottom":d+=a.height;break;case"centerTop":c+=a.width/2;break;case"center":c+=a.width/2;d+=a.height/2;break;case"centerBottom":c+=a.width/2;d+=a.height;break;case"rightTop":c+=a.width;break;case"rightCenter":c+=a.width;d+=a.height/2;break;case"rightBottom":c+=a.width,d+=a.height}return{x:c,y:d}}function Br(a,b,c){c=xl((a-(c||0))%b,7);0>c&&(c+=b);c>=b&&(c-=b);return xl(a-c,7)}
function Cr(a,b,c){c=xl((a-(c||0))%b,7);c>=b&&(c-=b);if(0==c)return xl(a,7);0>c&&(c+=b);return xl(a+b-c,7)}
function Dr(a,b){var c=new Date(a),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=c.getUTCDate(),h=c.getUTCHours(),k=c.getUTCMinutes(),l=c.getUTCSeconds(),n=c.getUTCMilliseconds();return b.j?(d=Br(d,b.j,(new Date(0)).getUTCFullYear()),Date.UTC(d,0)):b.h?(e=Br(e,b.h),Date.UTC(d,e)):b.a&&0==b.a%7?Br(c.getTime(),864E5*b.a,Date.UTC(2E3,0,2)):b.a?(f=Br(f,b.a),Date.UTC(d,e,f)):b.c?(h=Br(h,b.c),Date.UTC(d,e,f,h)):b.b?(k=Br(k,b.b),Date.UTC(d,e,f,h,k)):1<=b.g?(l=Br(l,b.g),Date.UTC(d,e,f,h,k,l)):b.g?(n=Br(n,1E3*b.g),Date.UTC(d,e,f,h,k,l,n)):a}function Rd(a,b){var c=+b%2?.5:0;return.5<=a%1?Math.ceil(a)-c:Math.floor(a)+c}function Er(a,b,c,d){switch(b){case"leftTop":case"leftCenter":case"centerTop":case"center":a.x+=c;a.y+=d;break;case"leftBottom":case"centerBottom":a.x+=c;a.y-=d;break;case"rightCenter":case"rightTop":a.x-=c;a.y+=d;break;case"rightBottom":a.x-=c,a.y-=d}}
function Dq(a){var b;b=ea(a);if("array"==b){b=[];for(var c=0;c<a.length;c++)c in a&&(b[c]=Dq(a[c]))}else if("object"==b)for(c in b={},a)a.hasOwnProperty(c)&&(b[c]=Dq(a[c]));else return a;return b}function Fr(a){return null===a||u(a)&&"none"==a.toLowerCase()}function Gr(a){a=Gn(a);return Fr(a)?0:B(a)?Qd(a):1}function Hr(){return this.value}function Ie(a){return a.replace(/[\s\xa0]+$/,"")}function Ir(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")}
function Jr(a){if(u(a))if("undefined"!=typeof DOMParser)a=(new DOMParser).parseFromString(a,"application/xml");else if(hj){var b=ij();b.loadXML(a);a=b}else throw Error("Your browser does not support loading xml documents");if(!a)return null;switch(a.nodeType){case 1:var b={},c=!1,d={},e,f,h,k=!0;h=a.childNodes.length;var l="";for(e=0;e<h;e++){f=a.childNodes[e];var n=Jr(f);f=f.nodeName;if("#"==f.charAt(0))l+=n;else if("__element"==f)c||(b=[],c=!0),k=!1,b[n.index]=n.value;else if((null!==n||"point"==f)&&!c){var k=!1,p;f=Kr(f);(p=Lr(f))?(f=n[p[1]],r(f)||(f=m(f)?[f]:[]),b[p[0]]=f):f in b?d[f]?b[f].push(n):(b[f]=[b[f],n],d[f]=!0):b[f]=n}}h=null==a.attributes?0:a.attributes.length;for(e=0;e<h;e++)c=a.attributes[e],f=Kr(c.nodeName),"xmlns"==f||f in b||(k=c.value,b[f]=""==k?k:isNaN(+k)?"true"==k?!0:"false"==k?!1:"null"==k?null:k:+k,k=!1);return k?0<l.length?Mr(l):{}:b;case 3:return a=Ir(a.nodeValue),""==a?null:a;case 4:return a.nodeValue;case 9:return Jr(a.documentElement);default:return null}}
function Nr(a,b,c){u(a)&&(a=uh(a));var d;a:if(document.implementation&&document.implementation.createDocument)d=document.implementation.createDocument("","",null);else{if(hj&&(d=ij()))break a;throw Error("Your browser does not support creating new documents");}if(a=Or(a,b||"anychart",d))b||a.setAttribute("xmlns","http://anychart.com/schemas/7.10.1/xml-schema.xsd"),d.appendChild(a);if(c)b=d;else if(b=d,c=b.xml)b=c;else if("undefined"!=typeof XMLSerializer)b=(new XMLSerializer).serializeToString(b);else throw Error("Your browser does not support serializing XML documents");return b}var Pr=/^[^<&"\n\r]*$/;function Or(a,b,c){b=String(b).replace(/([A-Z])/g,"_$1").toLowerCase();b=c.createElement(b);var d,e;if(u(a)||y(a))b.appendChild(c.createCDATASection(Bf(String(a))));else if(r(a))for(d=0;d<a.length;d++)m(a[d])&&b.appendChild(Or({index:d,value:a[d]},"__element",c));else if(null!=a)for(d in a)if(a.hasOwnProperty(d)){var f=a[d];if(r(f)){e=Qr(d);var h,k;e?(h=c.createElement(e[0]),b.appendChild(h),k=e[1]):(h=b,k=d);for(e=0;e<f.length;e++)h.appendChild(Or(f[e],k,c))}else m(f)&&(B(f)||!Pr.test(f)?b.appendChild(Or(f,d,c)):b.setAttribute(String(d).replace(/([A-Z])/g,"_$1").toLowerCase(),f))}return b}function Mr(a){return a.replace(/\\([0bfnrt"'\\]|x([0-9a-fA-F]{2})|u([0-9a-fA-F]{4}))/g,function(a,c,d,e){switch(c.charAt(0)){case"0":return"\x00";case"b":return"\b";case"f":return"\f";case"n":return"\n";case"r":return"\r";case"t":return"\t";case'"':return'"';case"'":return"'";case"\\":return"\\";case"x":return String.fromCharCode(parseInt(d,16));case"u":return String.fromCharCode(parseInt(e,16))}})}
function Qr(a){switch(a){case"series":return["series_list","series"];case"annotationsList":return["annotations_list","annotation"];case"keys":return["keys","key"];case"data":return["data","point"];case"lineAxesMarkers":return["line_axes_markers","line_axes_marker"];case"rangeAxesMarkers":return["range_axes_markers","range_axes_marker"];case"textAxesMarkers":return["text_axes_markers","text_axes_marker"];case"grids":return["grids","grid"];case"minorGrids":return["minor_grids","grid"];case"xAxes":return["x_axes","axis"];case"yAxes":return["y_axes","axis"];case"axes":return["axes","axis"];case"bars":return["bar_pointers","pointer"];case"markers":return["marker_pointers","pointer"];case"needles":return["needle_pointers","pointer"];case"knobs":return["knob_pointers","pointer"];case"pointers":return["pointers","pointer"];case"scaleBars":return["scale_bars","scale_bar"];case"points":return["points","point"];case"scales":return["scales","scale"];case"colorScales":return["color_scales","scale"];case"explicit":return["explicit","tick"];case"values":return["values","value"];case"names":return["names","name"];case"ranges":return["ranges","range"];case"chartLabels":return["chart_labels","label"];case"items":return["items","item"];case"columns":return["columns","column"];case"colors":return["colors","color"];case"children":return["children","data_item"];case"index":return["index","key"];case"outliers":return["outliers","outlier"];case"inverted":return["inverted_list","inverted"];case"drillTo":return["drill_to","item"]}return null}
function Lr(a){switch(a){case"seriesList":return["series","series"];case"annotationsList":return["annotationsList","annotation"];case"keys":return["keys","key"];case"data":return["data","point"];case"lineAxesMarkers":return["lineAxesMarkers","lineAxesMarker"];case"rangeAxesMarkers":return["rangeAxesMarkers","rangeAxesMarker"];case"textAxesMarkers":return["textAxesMarkers","textAxesMarker"];case"grids":return["grids","grid"];case"minorGrids":return["minorGrids","grid"];case"xAxes":return["xAxes","axis"];case"yAxes":return["yAxes","axis"];case"axes":return["axes","axis"];case"barPointers":return["bars","pointer"];case"markerPointers":return["markers","pointer"];case"needlePointers":return["needles","pointer"];case"knobPointers":return["knobs","pointer"];case"pointers":return["pointers","pointer"];case"scaleBars":return["scaleBars","scaleBar"];case"points":return["points","point"];case"scales":return["scales","scale"];case"explicit":return["explicit","tick"];case"values":return["values","value"];case"names":return["names","name"];case"ranges":return["ranges","range"];case"chartLabels":return["chartLabels","label"];case"items":return["items","item"];case"columns":return["columns","column"];case"colors":return["colors","color"];case"children":return["children","dataItem"];case"index":return["index","key"];case"outliers":return["outliers","outlier"];case"invertedList":return["inverted","inverted"];case"colorScales":return["colorScales","scale"];case"drillTo":return["drillTo","item"]}return null}function Kr(a){return String(a).replace(/_([a-z])/g,function(a,c){return c.toUpperCase()})}var Rr=null,Sr=[45,113,99,117,108,106,110,124,109,118,35,120,99,111,91,123,85],Tr=null;function Ur(){if(Tr)return Tr;var a=Sr.length,b=0==a%2?a/2:a+.5;return Tr=Of(Of(Sr,function(a,d){return a+d%b*(d%2?-1:1)}),function(a){return String.fromCharCode(a)}).join("")}
var Vr={},Wr=[1+Math.cos((.4-.5)*Math.PI),1+Math.cos((.8-.5)*Math.PI),1+Math.cos(.7*Math.PI),1+Math.cos(1.1*Math.PI),1+Math.cos(1.5*Math.PI)],Xr=[1+Math.sin((.4-.5)*Math.PI),1+Math.sin((.8-.5)*Math.PI),1+Math.sin(.7*Math.PI),1+Math.sin(1.1*Math.PI),1+Math.sin(1.5*Math.PI)];function je(a){a=String(a).toLowerCase();switch(a){case"arrowhead":return function(a,c,d,e){var f=c-e/2,h=d-e/3,k=c-e/2,l=d+e/3;a.moveTo(c+e/2,d).lineTo(f,h).lineTo(k,l).close();return a};case"star4":return wo;case"star6":return yo;case"star7":return zo;case"star10":return Ao;case"diamond":return Fo;case"triangleup":return Bo;case"triangledown":return Co;case"triangleright":return Do;case"triangleleft":return Eo;case"cross":return Go;case"diagonalcross":return Ho;case"circle":return function(a,c,d,e){return Ko(a,c,d,e,0,360)};case"trapezium":return function(a,c,d,e){var f=e/3;c=c-e/2;d=d-e/2;a.moveTo(c+f,d+e);a.lineTo(c+e-f,d+e);a.lineTo(c+e,d);a.lineTo(c,d);a.close();return a};case"pentagon":return function(a,c,d,e){c-=e;d-=e;a.moveTo(c+e*Wr[0],d+e*Xr[0]);for(var f=1;5>f;f++)a.lineTo(c+e*Wr[f],d+e*Xr[f]);a.lineTo(c+e*Wr[0],d+e*Xr[0]);a.close();return a};case"square":return function(a,c,d,e,f){var h=c-e,k=d-e;c+=e;d+=e;m(f)&&(f=f||0,h=Rd(h,f),k=Rd(k,f),c=Rd(c,f),d=Rd(d,f));a.moveTo(h,k).lineTo(c,k).lineTo(c,d).lineTo(h,d).lineTo(h,k).close();return a};case"vline":case"line":return function(a,c,d,e,f){f=f||0;e*=2;var h=e/2;c-=h/2;d-=e/2;h=c+h;e=d+e;m(f)&&(f=f||0,c=Rd(c,f),d=Rd(d,f),h=Rd(h,f),e=Rd(e,f));a.moveTo(c,d).lineTo(h,d).lineTo(h,e).lineTo(c,e).lineTo(c,d).close();return a};case"arrowup":return function(a,c,d,e,f){var h=e/2,k=h/2;e=c+h;var l=c-h,n=d+h,h=d-h,p=c+k,k=c-k;m(f)&&(f=f||0,e=Rd(e,f),l=Rd(l,f),n=Rd(n,f),h=Rd(h,f),p=Rd(p,f),k=Rd(k,f),c=Rd(c,f),d=Rd(d,f));a.moveTo(c,h);a.lineTo(e,d,p,d,p,n,k,n,k,d,l,d);a.close();return a};case"arrowdown":return function(a,c,d,e,f){var h=e/2,k=h/2;e=c+h;var l=c-h,n=d+h,h=d-h,p=c+k,k=c-k;m(f)&&(f=f||0,e=Rd(e,f),l=Rd(l,f),n=Rd(n,f),h=Rd(h,f),p=Rd(p,f),k=Rd(k,f),c=Rd(c,f),d=Rd(d,f));a.moveTo(c,n);a.lineTo(e,d,p,d,p,h,k,h,k,d,l,d);a.close();return a};case"arrowleft":return function(a,c,d,e,f){var h=e/2,k=h/2;e=c+h;var l=c-h,n=d+h,h=d-h,p=d+k,k=d-k;m(f)&&(f=f||0,e=Rd(e,f),l=Rd(l,f),n=Rd(n,f),h=Rd(h,f),p=Rd(p,f),k=Rd(k,f),c=Rd(c,f),d=Rd(d,f));a.moveTo(l,d);a.lineTo(c,n,c,p,e,p,e,k,c,k,c,h);a.close();return a};case"arrowright":return function(a,c,d,e,f){var h=e/2,k=h/2;e=c+h;var l=c-h,n=d+h,h=d-h,p=d+k,k=d-k;m(f)&&(f=f||0,e=Rd(e,f),l=Rd(l,f),n=Rd(n,f),h=Rd(h,f),p=Rd(p,f),k=Rd(k,f),c=Rd(c,f),d=Rd(d,f));a.moveTo(e,d);a.lineTo(c,n,c,p,l,p,l,k,c,k,c,h);a.close();return a};default:return xo}}
function Yr(a,b,c,d){var e=new De;c=!0;B(d)&&(e.zq(d.rowsSeparator),e.Gp(d.columnsSeparator),e.gq(d.ignoreTrailingSpaces),c=!d.ignoreFirstRow,e.eq(c));if(a=e.wp(a)){d=Qi("table");b&&(e=Qi("caption"),Vi(e,b),d.appendChild(e));var f,h;c&&(f=Qi("thead"),h=Qi("tr"),f.appendChild(h));b=Qi("tbody");for(e=0;e<a.length;e++){var k=a[e],l,n;if(e||!c){var p=Qi("tr");for(l=0;l<k.length;l++){n=k[l];var q=Qi(l?"td":"th");Vi(q,n);p.appendChild(q)}b.appendChild(p)}else if(c)for(l=0;l<k.length;l++)n=k[l],p=Qi("th"),Vi(p,n),h.appendChild(p)}c&&d.appendChild(f);d.appendChild(b);return d}return null}E("anychart.utils.printUtilsBoolean",function(){return Zr()});E("anychart.utils.xml2json",Jr);E("anychart.utils.json2xml",Nr);E("anychart.utils.defaultDateFormatter",function(a){K(405,null,["anychart.utils.defaultDateFormatter","anychart.format.dateTime"]);return y(a)||u(a)?gh(new bh("yyyy.MM.dd"),new Rg(new Date(+a))):""});E("anychart.utils.formatDateTime",function(a,b){K(405,null,["anychart.utils.formatDateTime","anychart.format.dateTime"]);var c;b in Vr?c=Vr[b]:c=Vr[b]=new bh(b);nr||(nr=Zg(0));return gh(c,y(a)?new Date(a):a,nr)});E("anychart.utils.hideTooltips",function(a){var b=Qq.Xc();if(null!==b.a)for(var c in b.a)b.a.hasOwnProperty(c)&&b.a[c].Vd(a)});E("anychart.utils.htmlTableFromCsv",Yr);var $r=window.acgraph,as=window.acgraph.server,bs=0,cs=[];function ds(a,b){bs?cs.push(na(a,b)):a.apply(b)}function es(){bs--;if(!bs)for(var a=cs.slice(0),b=cs.length=0;b<a.length;b++)a[b]()}var fs={},gs={},hs={},is={};function js(a){var b;u(a)?b=uh(a):B(a)&&!A(a)&&(b=a);a=null;if(b){var c=b.chart,d=b.gauge,e=b.gantt,f=b.map;if(c)if(b=c.type,a=fs[b])a=a();else throw"Unknown chart type: "+b+"\nProbably it is in some other module, see module list for details.";else if(d)if(b=d.type,a=gs[b])a=a();else throw"Unknown gauge type: "+b+"\nProbably it is in some other module, see module list for details.";else if(e)if("project"==e.type?e.type="ganttProject":"resource"==e.type&&(e.type="ganttResource"),b=e.type,a=is[b])a=a();else throw"Unknown gantt type: "+b+"\nProbably it is in some other module, see module list for details.";else if(f)if(b=f.type,a=hs[b])a=a();else throw"Unknown map type: "+b+"\nProbably it is in some other module, see module list for details.";}a?a.C(c||d||e||f):Rc(7);return a}aa.anychart=aa.anychart||{};aa.anychart.fontSize="13px";aa.anychart.fontColor="#7c868e";aa.anychart.fontFamily="'Verdana', Helvetica, Arial, sans-serif";aa.anychart.textDirection="ltr";function ks(a){var b=Pi().document;if(b.addEventListener||"load"===window.event.type||"complete"===b.readyState)b=Pi(),Dj(b.document,["DOMContentLoaded","readystatechange"],ks,!1),Dj(b,"load",ks,!1),ls(a)}var ms=!1;function ls(a){if(!ms){if(!Pi().document.body)return setTimeout(function(){ls(a)},1);ms=!0;for(var b=0,c=ta.length;b<c;b++){var d=ta[b];d[0].apply(d[1],[a])}}}var ns=null;function Zr(){if(null==ns||!u(ns))return!1;var a=ns.lastIndexOf("-"),b=ns.substr(a+1),a=ns.substr(0,a)+Ur();if(!Rr){for(var c,d=[],e=0;256>e;e++){c=e;for(var f=0;8>f;f++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}Rr=d}c=-1;for(d=0;d<a.length;)c=c>>>8^Rr[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a}function Wq(){ra.Ix||(va||(va=Rq(aa.anychart.themes.defaultTheme)),ra.Ix=ua?Tq(Rq(ua),va):va);return ra.Ix}Wq();var os=os||function(){Rc(4,null,["Area chart"])},ps=ps||function(){Rc(4,null,["3D Area chart"])},qs=qs||function(){Rc(4,null,["Bar chart"])},rs=rs||function(){Rc(4,null,["3D Bar chart"])},ss=ss||function(){Rc(4,null,["Bubble chart"])},us=us||function(){Rc(4,null,["Bullet chart"])},vs=vs||function(){Rc(4,null,["Cartesian chart"])},ws=ws||function(){Rc(4,null,["3D Cartesian chart"])},xs=xs||function(){Rc(4,null,["Scatter chart"])},ys=ys||function(){Rc(4,null,["Column chart"])},zs=zs||function(){Rc(4,null,["3D Column chart"])},As=As||function(){Rc(4,null,["Box chart"])},Bs=Bs||function(){Rc(4,null,["Financial chart"])},Cs=Cs||function(){Rc(4,null,["Funnel chart"])},Ds=Ds||function(){Rc(4,null,["Line chart"])},Es=Es||function(){Rc(4,null,["Marker chart"])},Fs=Fs||function(){Rc(4,null,["Pie chart"])},Gs=Gs||function(){Rc(4,null,["3D Pie chart"])},Hs=Hs||function(){Rc(4,null,["Pyramid chart"])},Is=Is||function(){Rc(4,null,["Radar chart"])},Js=Js||function(){Rc(4,null,["Polar chart"])},Ks=Ks||function(){Rc(4,null,["Sparkline chart"])},Ls=Ls||function(){Rc(4,null,["HeatMap chart"])},Ms=Ms||function(){Rc(4,null,["Circular gauge"])},Ns=Ns||function(){Rc(4,null,["Circular gauge"])},Os=Os||function(){Rc(4,null,["Linear gauge"])},Ps=Ps||function(){Rc(4,null,["Tank gauge"])},Qs=Qs||function(){Rc(4,null,["Thermometer gauge"])},Rs=Rs||function(){Rc(4,null,["LED gauge"])},Ss=Ss||function(){Rc(4,null,["Map"])},Ts=Ts||function(){Rc(4,null,["Choropleth map"])},Us=Us||function(){Rc(4,null,["Bubble map"])},Vs=Vs||function(){Rc(4,null,["Connector map"])},Ws=Ws||function(){Rc(4,null,["Marker map"])},Xs=Xs||function(){Rc(4,null,["Seat map"])},Ys=Ys||function(){Rc(4,null,["Gantt Project chart"])},Zs=Zs||function(){Rc(4,null,["Gantt Resource chart"])},$s=$s||function(){Rc(4,null,["Stock chart"])},at=at||function(){Rc(4,null,["Toolbar"]);return null},bt=bt||function(){Rc(4,null,["Gantt toolbar"]);return null},ct=ct||function(){Rc(4,null,["TreeMap chart"])};E("anychart.graphics",$r);E("anychart.server",as);E("anychart.fromJson",js);E("anychart.fromXml",function(a){return js(Jr(a))});E("anychart.onDocumentLoad",function(a,b){sa||(sa=[]);sa.push([a,b]);vj(Pi(),"load",function(){for(var a=0,b=sa.length;a<b;a++){var e=sa[a];e[0].apply(e[1])}sa.length=0})});E("anychart.onDocumentReady",function(a,b){ms&&a.call(b);ta||(ta=[]);ta.push([a,b]);if("complete"===Pi().document.readyState)setTimeout(ls,1);else{var c=Pi();vj(c.document,["DOMContentLoaded","readystatechange"],ks,!1);vj(c,"load",ks,!1)}});E("anychart.licenseKey",function(a){m(a)&&(ns=a);return ns});E("anychart.area",os);E("anychart.area3d",ps);E("anychart.bar",qs);E("anychart.bar3d",rs);E("anychart.box",As);E("anychart.bubble",ss);E("anychart.bullet",us);E("anychart.cartesian",vs);E("anychart.cartesian3d",ws);E("anychart.column",ys);E("anychart.column3d",zs);E("anychart.financial",Bs);E("anychart.funnel",Cs);E("anychart.line",Ds);E("anychart.marker",Es);E("anychart.pie",Fs);E("anychart.pie3d",Gs);E("anychart.pyramid",Hs);E("anychart.radar",Is);E("anychart.polar",Js);E("anychart.sparkline",Ks);E("anychart.heatMap",Ls);E("anychart.scatter",xs);E("anychart.map",Ss);E("anychart.choropleth",Ts);E("anychart.bubbleMap",Us);E("anychart.markerMap",Ws);E("anychart.seatMap",Xs);E("anychart.connector",Vs);E("anychart.areaChart",os);E("anychart.barChart",qs);E("anychart.bubbleChart",ss);E("anychart.bulletChart",us);E("anychart.cartesianChart",vs);E("anychart.columnChart",ys);E("anychart.financialChart",Bs);E("anychart.lineChart",Ds);E("anychart.markerChart",Es);E("anychart.pieChart",Fs);E("anychart.radarChart",Is);E("anychart.polarChart",Js);E("anychart.scatterChart",xs);E("anychart.circularGauge",Ms);E("anychart.gauges.circular",Ns);E("anychart.gauges.linear",Os);E("anychart.gauges.thermometer",Qs);E("anychart.gauges.tank",Ps);E("anychart.gauges.led",Rs);E("anychart.ganttProject",Ys);E("anychart.ganttResource",Zs);E("anychart.stock",$s);E("anychart.theme",function(a){m(a)&&(u(a)&&(a=aa.anychart.themes[a]),ua=a,delete ra.Ix);return ua?ua:aa.anychart.themes.defaultTheme});E("anychart.toolbar",at);E("anychart.ganttToolbar",bt);E("anychart.treeMap",ct);var Pq=256,Sa=1024,Ua=0,H=1,Ha=2;function dt(){Oj.call(this)}G(dt,Oj);g=dt.prototype;g.ia=0;g.$=0;g.Tb=0;g.wh=NaN;g.eA=0;function R(a,b,c){a.pa("signal",b,!1,c)}function et(a,b,c){a.Ec("signal",b,!1,c)}function T(a,b,c){b&=a.$;b&=~a.Tb;a.Tb|=b;b&&a.ca(c||0)}function U(a,b){a.Tb&=~b}function W(a,b){return!!(a.Tb&b)}g.ca=function(a,b){if(a&=this.ia)if(isNaN(this.wh)||b){var c=this.vh;this.La(null);this.dispatchEvent(new ft(this,a));this.La(c)}else this.wh|=a};function X(a){a.eA++;isNaN(a.wh)&&(a.wh=0);return a}g.O=function(a){if(isNaN(this.wh)||--this.eA)return this;var b=this.wh;this.wh=NaN;a&&b&&this.ca(b);return this};g.o=function(){return{}};g.C=function(a){var b=arguments[0];m(b)&&(X(this),!this.jc.apply(this,arguments)&&B(b)&&this.K(arguments[0]),this.O(!0));return this};g.K=function(){};g.jc=function(){return!1};function gt(a){for(var b=arguments.length;b--;){var c=arguments[b];r(c)?gt.apply(null,c):c instanceof dt&&X(c)}}
function pt(a){for(var b=arguments.length;b--;){var c=arguments[b];r(c)?pt.apply(null,c):c instanceof dt&&c.O(!0)}}function qt(a){for(var b=arguments.length;b--;){var c=arguments[b];r(c)?qt.apply(null,c):c instanceof dt&&c.O(!1)}}function ft(a,b){Ke.call(this,"signal",a);this.c=b}G(ft,Ke);function Y(a,b){return!!(a.c&b)}g=ft.prototype;g.HQ=function(){return Y(this,1)};g.CQ=function(){return Y(this,8)};g.DQ=function(){return Y(this,16)};g.EQ=function(){return Y(this,32)};g.FQ=function(){return Y(this,2)};g.GQ=function(){return Y(this,4)};g=dt.prototype;g.dispatchEvent=function(a){u(a)?a=a.toLowerCase():"type"in a&&(a.type=String(a.type).toLowerCase());return dt.v.dispatchEvent.call(this,a)};g.pa=function(a,b,c,d){return dt.v.pa.call(this,String(a).toLowerCase(),b,c,d)};g.qf=function(a,b,c,d){return dt.v.qf.call(this,String(a).toLowerCase(),b,c,d)};g.Ec=function(a,b,c,d){return dt.v.Ec.call(this,String(a).toLowerCase(),b,c,d)};g.Tl=function(a){return dt.v.Tl.call(this,a)};g.Hg=function(a){m(a)&&(a=String(a).toLowerCase());return dt.v.Hg.call(this,a)};dt.prototype.listen=dt.prototype.pa;dt.prototype.listenOnce=dt.prototype.qf;dt.prototype.unlisten=dt.prototype.Ec;dt.prototype.unlistenByKey=dt.prototype.Tl;dt.prototype.removeAllListeners=dt.prototype.Hg;dt.prototype.dispose=dt.prototype.Sd;ft.prototype.targetNeedsRedraw=ft.prototype.HQ;ft.prototype.targetBoundsChanged=ft.prototype.CQ;ft.prototype.targetDataChanged=ft.prototype.DQ;ft.prototype.targetMetaChanged=ft.prototype.EQ;ft.prototype.targetNeedsReapplication=ft.prototype.FQ;ft.prototype.targetNeedsRecalculation=ft.prototype.GQ;function rt(a,b){for(var c in b){var d=b[c];a.prototype[c]=oa(1==d.ya?st:tt,d.Ba,d.wa,d.ib,d.Aa,d.Ca)}}function ut(a,b,c){for(var d in b)if(b=c[d],m(b))a[d](b)}function vt(a,b,c,d){var e,f,h;for(e in b)f=void 0,h=b[e],a.vF(e)&&(f=a.Hi(e),A(f)&&K(8,null,[(d?d+" ":"")+e])),!m(f)&&a.check(h.ib)&&(f=a.mF(e)),m(f)&&!A(f)&&(h.wa==wt||h.wa==xt||h.wa==yt?f=P(h.wa([f])):h.wa!=zt||null===f||(f=P(h.wa(f))),c[e]=f)}
function tt(a,b,c,d,e,f){return m(f)?(f=b(f),this.Hi(a)!=f&&(this.Sz(a,f),this.check(c)&&T(this,d,e)),this):this.td(a)}function st(a,b,c,d,e,f,h){if(m(f)){for(var k=[],l=5;l<arguments.length;l++)k.push(arguments[l]);f=b(k);this.Hi(a)!=f&&(this.Sz(a,f),this.check(c)&&T(this,d,e));return this}return this.td(a)}function At(a){return a}function zt(a){return null===a?a:Bn(a)}function wt(a){return A(a[0])?a[0]:Gn.apply(null,a)}function Bt(a){return A(a)?a:Gn(a)}
function xt(a){return A(a[0])?a[0]:Bn.apply(null,a)}function Ct(a){return A(a)?a:Bn(a)}function yt(a){return A(a[0])||!0===a[0]?a[0]:Hn.apply(null,a)}function Dt(a){return A(a)||!0===a?a:Hn(a)}function Et(a){return!!a}function he(a){return Number(a)}function Ft(a){return wr(a,null)}function ge(a){return A(a)?a:ec(a)};var Gt={},Ht={};Ht.color={ya:0,Ba:"color",wa:zt,Aa:16,Ca:1};Ht.allowEdit={ya:0,Ba:"allowEdit",wa:Et,Aa:1024,Ca:1};Ht.hoverGap={ya:0,Ba:"hoverGap",wa:function(a){return Ea(a,NaN,!0)},Aa:256,Ca:1};var It={};It.xAnchor={ya:0,Ba:"xAnchor",wa:At,Aa:64,Ca:1};var Jt={};Jt.valueAnchor={ya:0,Ba:"valueAnchor",wa:At,Aa:64,Ca:1};var Kt={};Kt.secondXAnchor={ya:0,Ba:"secondXAnchor",wa:At,Aa:64,Ca:1};Kt.secondValueAnchor={ya:0,Ba:"secondValueAnchor",wa:At,Aa:64,Ca:1};var Lt={};Lt.thirdXAnchor={ya:0,Ba:"thirdXAnchor",wa:At,Aa:64,Ca:1};Lt.thirdValueAnchor={ya:0,Ba:"thirdValueAnchor",wa:At,Aa:64,Ca:1};var Mt={};Mt.stroke={ya:1,Ba:"stroke",wa:wt,Aa:272,Ca:1};Mt.hoverStroke={ya:1,Ba:"hoverStroke",wa:wt,Aa:272,Ca:1};Mt.selectStroke={ya:1,Ba:"selectStroke",wa:wt,Aa:272,Ca:1};var Nt={};Nt.trend={ya:1,Ba:"trend",wa:wt,Aa:16,Ca:1};Nt.hoverTrend={ya:1,Ba:"hoverTrend",wa:wt,Aa:16,Ca:1};Nt.selectTrend={ya:1,Ba:"selectTrend",wa:wt,Aa:16,Ca:1};var Ot={};Ot.grid={ya:1,Ba:"grid",wa:wt,Aa:16,Ca:1};Ot.hoverGrid={ya:1,Ba:"hoverGrid",wa:wt,Aa:16,Ca:1};Ot.selectGrid={ya:1,Ba:"selectTrend",wa:wt,Aa:16,Ca:1};var Pt={};Pt.fill={ya:1,Ba:"fill",wa:xt,Aa:16,Ca:1};Pt.hoverFill={ya:1,Ba:"hoverFill",wa:xt,Aa:16,Ca:1};Pt.selectFill={ya:1,Ba:"selectFill",wa:xt,Aa:16,Ca:1};Pt.hatchFill={ya:1,Ba:"hatchFill",wa:yt,Aa:16,Ca:1};Pt.hoverHatchFill={ya:1,Ba:"hoverHatchFill",wa:yt,Aa:16,Ca:1};Pt.selectHatchFill={ya:1,Ba:"selectHatchFill",wa:yt,Aa:16,Ca:1};var Qt={};Qt.markerType={ya:0,Ba:"markerType",wa:ec,Aa:256,Ca:1};Qt.anchor={ya:0,Ba:"anchor",wa:Yb,Aa:256,Ca:1};Qt.offsetX={ya:0,Ba:"offsetX",wa:he,Aa:256,Ca:1};Qt.offsetY={ya:0,Ba:"offsetY",wa:he,Aa:256,Ca:1};Qt.size={ya:0,Ba:"size",wa:he,Aa:256,Ca:1};Qt.hoverSize={ya:0,Ba:"hoverSize",wa:he,Aa:256,Ca:1};Qt.selectSize={ya:0,Ba:"selectSize",wa:he,Aa:256,Ca:1};function Rt(a){xd.call(this);this.b=a;this.D=this.B=null}G(Rt,xd);g=Rt.prototype;g.la=function(a,b,c,d){if(m(a)){if(m(b)){var e=!1;null===b?this.g&&this.g[a]&&(delete this.g[a],e=!0):(this.g||(this.g={}),this.g[a]!=b&&(this.g[a]=b,e=!0));e&&T(this.b,+c||Sa,+d||1);return this}return this.g&&this.g[a]}return this.g||{}};g.fontSize=function(a){m(a)&&(a=Ra(a));return this.la("fontSize",a)};g.fontFamily=function(a){m(a)&&(a=String(a));return this.la("fontFamily",a)};g.Rc=function(a){m(a)&&(a=String(a));return this.la("fontColor",a)};g.De=function(a){m(a)&&(a=ub(+a,0,1));return this.la("fontOpacity",a)};g.Ce=function(a){m(a)&&(a=Gc(a));return this.la("fontDecoration",a)};g.fontStyle=function(a){m(a)&&(a=Hc(a));return this.la("fontStyle",a)};g.fontVariant=function(a){m(a)&&(a=Ic(a));return this.la("fontVariant",a)};g.fontWeight=function(a){m(a)&&(a=Ra(a));return this.la("fontWeight",a)};g.letterSpacing=function(a){m(a)&&(a=Ra(a));return this.la("letterSpacing",a)};g.Ge=function(a){m(a)&&(a=Jc(a));return this.la("textDirection",a)};g.lineHeight=function(a){m(a)&&(a=Ra(a));return this.la("lineHeight",a)};g.textIndent=function(a){m(a)&&(a=parseFloat(Ra(a)));return this.la("textIndent",a)};g.vAlign=function(a){m(a)&&(a=Fc(a));return this.la("vAlign",a)};g.xc=function(a){m(a)&&(a=Ec(a));return this.la("hAlign",a)};g.yd=function(a){m(a)&&(a=Kc(a));return this.la("textWrap",a)};g.textOverflow=function(a){m(a)&&(a=String(a));return this.la("textOverflow",a)};g.Pc=function(a){m(a)&&(a=!!a);return this.la("selectable",a)};g.fb=function(a){m(a)&&(a=!!a);return this.la("disablePointerEvents",a)};g.Mc=function(a){m(a)&&(a=!!a);return this.la("useHtml",a)};g.mM=function(a,b,c,d,e){if(m(a)){null===a||(a=Gn.apply(null,arguments));X(this.b);this.la("border",a,Pq);for(var f=0;4>f;f++)this.la(Oq[f],null,Pq);this.b.O(!0);return this}return this.B||(this.B=new Mq(this,!1))};g.sz=function(a,b,c,d){if(m(a)){var e,f,h,k,l;r(a)?(l=a,a=l[0],b=l[1],c=l[2],d=l[3],l=l.length):l=arguments.length;0==l?k=h=f=e=0:B(a)?(e=Ra(a.top)||0,f=Ra(a.right)||0,h=Ra(a.bottom)||0,k=Ra(a.left)||0):1==l?k=h=f=e=Ra(a)||0:2==l?(h=e=Ra(a)||0,k=f=Ra(b)||0):3==l?(e=Ra(a)||0,k=f=Ra(b)||0,h=Ra(c)||0):4<=l&&(e=Ra(a)||0,f=Ra(b)||0,h=Ra(c)||0,k=Ra(d)||0);X(this.b);this.la(Qa[0],e,Sa);this.la(Qa[1],f,Sa);this.la(Qa[2],h,Sa);this.la(Qa[3],k,Sa);this.b.O(!0);return this}return this.D||(this.D=new Pa(this))};Rt.prototype.fontSize=Rt.prototype.fontSize;Rt.prototype.fontFamily=Rt.prototype.fontFamily;Rt.prototype.fontColor=Rt.prototype.Rc;Rt.prototype.fontOpacity=Rt.prototype.De;Rt.prototype.fontDecoration=Rt.prototype.Ce;Rt.prototype.fontStyle=Rt.prototype.fontStyle;Rt.prototype.fontVariant=Rt.prototype.fontVariant;Rt.prototype.fontWeight=Rt.prototype.fontWeight;Rt.prototype.letterSpacing=Rt.prototype.letterSpacing;Rt.prototype.textDirection=Rt.prototype.Ge;Rt.prototype.lineHeight=Rt.prototype.lineHeight;Rt.prototype.textIndent=Rt.prototype.textIndent;Rt.prototype.vAlign=Rt.prototype.vAlign;Rt.prototype.hAlign=Rt.prototype.xc;Rt.prototype.textWrap=Rt.prototype.yd;Rt.prototype.textOverflow=Rt.prototype.textOverflow;Rt.prototype.selectable=Rt.prototype.Pc;Rt.prototype.disablePointerEvents=Rt.prototype.fb;Rt.prototype.useHtml=Rt.prototype.Mc;Rt.prototype.border=Rt.prototype.mM;function St(a,b,c){Rt.call(this,a);this.reset(b,c)}G(St,Rt);g=St.prototype;g.reset=function(a,b){(y(this.a)||u(this.a))&&Ad(this.h);this.N=this.w=1;this.j=a;this.m=b;this.h=this.a=null;this.c=NaN;delete this.g;return this};g.vp=function(a){if(m(a)){if(this.a!=a){this.a=a;if(this.h){var b=this.b,c=this.h;b.bn=b.bn||[];b.bn.push(c)}y(a)||u(a)?(a=a+"",b=this.b,b.lf||(b.lf=new Tt,b.lf.C(Wq().standalones.labelsFactory),b.lf.anchor("center"),b.lf.position("center")),this.h=b.lf.add({value:a},{value:{x:0,y:0}})):this.h=a;T(this.b,Sa,1)}return this}return this.a};g.bl=function(a){return m(a)?(a=Ea(a,this.N),a!=this.N&&(this.N=a,T(this.b,128,1)),this):this.N};g.cl=function(a){return m(a)?(a=Ea(a,this.w),a!=this.w&&(this.w=a,T(this.b,128,1)),this):this.w};g.qM=function(){return this.j};g.oM=function(){return this.m};g.pM=function(){return this.b.gD(this.j)};g.nM=function(){return this.b.fD(this.m)};g.Fa=function(){return Ut(this.b,this.j,this.m,this.w,this.N)};g.fill=function(a,b,c,d,e,f,h){null!=a&&(a=Bn.apply(null,arguments));return this.la("fill",a,512)};g.padding=function(a,b,c,d){return this.sz.apply(this,arguments)};g.V=function(){(y(this.a)||u(this.a))&&Ad(this.h);St.v.V.call(this)};St.prototype.content=St.prototype.vp;St.prototype.rowSpan=St.prototype.cl;St.prototype.colSpan=St.prototype.bl;St.prototype.padding=St.prototype.padding;St.prototype.getBounds=St.prototype.Fa;St.prototype.getRowNum=St.prototype.qM;St.prototype.getColNum=St.prototype.oM;St.prototype.getRow=St.prototype.pM;St.prototype.getCol=St.prototype.nM;St.prototype.fill=St.prototype.fill;function Vt(a,b){Rt.call(this,a);this.a=b;this.c=null}G(Vt,Rt);g=Vt.prototype;g.uM=function(){return this.a};g.tM=function(a){return this.b.Mm(a,this.a)};g.width=function(a){return m(a)?(Wt(this.b,this.a,a),this):Wt(this.b,this.a)};g.wM=function(a){return m(a)?(Xt(this.b,this.a,a),this):Xt(this.b,this.a)};g.vM=function(a){return m(a)?(Yt(this.b,this.a,a),this):Yt(this.b,this.a)};g.rD=function(a,b,c,d,e,f,h){null!=a&&(a=Bn.apply(null,arguments));return this.la("fill",a,512)};g.rM=function(a,b,c,d,e){if(m(a)){null===a||(a=Gn.apply(null,arguments));X(this.b);this.la("cellBorder",a,Pq);for(var f=0;4>f;f++)this.la(Nq[f],null,Pq);this.b.O(!0);return this}return this.c||(this.c=new Mq(this,!0))};g.sM=function(a,b,c,d){return this.sz.apply(this,arguments)};Vt.prototype.width=Vt.prototype.width;Vt.prototype.maxWidth=Vt.prototype.vM;Vt.prototype.minWidth=Vt.prototype.wM;Vt.prototype.getCell=Vt.prototype.tM;Vt.prototype.getColNum=Vt.prototype.uM;Vt.prototype.cellFill=Vt.prototype.rD;Vt.prototype.cellBorder=Vt.prototype.rM;Vt.prototype.cellPadding=Vt.prototype.sM;function Zt(a,b){Rt.call(this,a);this.a=b;this.c=null}G(Zt,Rt);g=Zt.prototype;g.AM=function(){return this.a};g.zM=function(a){return this.b.Mm(this.a,a)};g.height=function(a){return m(a)?($t(this.b,this.a,a),this):$t(this.b,this.a)};g.CM=function(a){return m(a)?(au(this.b,this.a,a),this):au(this.b,this.a)};g.BM=function(a){return m(a)?(bu(this.b,this.a,a),this):bu(this.b,this.a)};g.sD=function(a,b,c,d,e,f,h){null!=a&&(a=Bn.apply(null,arguments));return this.la("fill",a,512)};g.xM=function(a,b,c,d,e){if(m(a)){null===a||(a=Gn.apply(null,arguments));X(this.b);this.la("cellBorder",a,Pq);for(var f=0;4>f;f++)this.la(Nq[f],null,Pq);this.b.O(!0);return this}return this.c||(this.c=new Mq(this,!0))};g.yM=function(a,b,c,d){return this.sz.apply(this,arguments)};Zt.prototype.height=Zt.prototype.height;Zt.prototype.maxHeight=Zt.prototype.BM;Zt.prototype.minHeight=Zt.prototype.CM;Zt.prototype.getCell=Zt.prototype.zM;Zt.prototype.getRowNum=Zt.prototype.AM;Zt.prototype.cellFill=Zt.prototype.sD;Zt.prototype.cellBorder=Zt.prototype.xM;Zt.prototype.cellPadding=Zt.prototype.yM;function cu(a){Oj.call(this);this.g=a;this.j=!0;this.b="";this.c=null}G(cu,dt);g=cu.prototype;g.ia=dt.prototype.ia|10;g.enabled=function(a){return m(a)?(this.j!=a&&(this.j=a,this.ca(10)),this):this.j};g.dl=function(a){return m(a)?(this.b!=a&&(this.b=a,this.ca(2)),this):this.b};function du(a,b){return m(b)?(a.c!=b&&(a.c&&et(a.c,a.pz,a),a.c=b,R(a.c,a.pz,a)),a):a.c}g.pz=function(a){Y(a,8)&&this.enabled(this.c.enabled())};g.o=function(){var a=cu.v.o.call(this);a.enabled=this.j;A(this.dl())?K(8,null,["A11y titleFormatter"]):this.b&&(a.titleFormatter=this.b);return a};g.jc=function(a){var b=arguments[0];return ia(b)||null===b?(this.enabled(!!b),!0):A(b)?(this.dl(b),!0):dt.prototype.jc.apply(this,arguments)};g.K=function(a){cu.v.K.call(this,a);this.enabled("enabled"in a?a.enabled:!0);this.dl(a.titleFormatter)};g.V=function(){this.g=null;this.c&&(this.c.ca(2),et(this.c,this.pz,this));this.c=null;cu.v.V.call(this)};function eu(a){cu.call(this,a);this.h="chartElements";this.a=null}G(eu,cu);g=eu.prototype;g.ss=function(a){var b=this.g.h;b.me("role",null);b.me("aria-hidden","true");b.me("aria-label",null);Yi(this.a);this.a=null;if(this.enabled()){var c;this.b&&(c=this.b,u(c)&&(c=fu(gu.Xc(),c)),c=c.call(a,a));a=this.g.title();!c&&a.text()&&a.enabled()&&(c=a.text());"dataTable"==this.h?(this.a=this.g.YG(c),(b=this.g.A().A())&&Xi(b,this.a)):c&&(b.me("aria-label",c),b.me("aria-hidden",null),b.me("role","article"))}};g.mode=function(a){if(m(a)){a:{switch(String(a).toLowerCase()){case"datatable":a="dataTable";break a}a="chartElements"}this.h!=a&&(this.h=a,this.ca(2));return this}return this.h};g.o=function(){var a=eu.v.o.call(this);a.mode=this.h;return a};g.K=function(a){eu.v.K.call(this,a);this.mode(a.mode)};g.V=function(){Yi(this.a);this.a=null;eu.v.V.call(this)};function hu(a){cu.call(this,a.Hh());this.a=a;this.h=null}G(hu,cu);hu.prototype.ss=function(a){var b=null,c=null,d=this.a.Uv()||this.h;this.enabled()&&this.dl()&&(b=this.dl(),u(b)&&(b=fu(gu.Xc(),b)),b=b.call(a,a),c="img");this.a.uF()||this.h||(d=this.h=this.a.Uv().Of());d.me("aria-label",b);d.me("role",c)};hu.prototype.V=function(){Ad(this.h);this.a=null;hu.v.V.call(this)};eu.prototype.enabled=eu.prototype.enabled;eu.prototype.titleFormatter=eu.prototype.dl;eu.prototype.mode=eu.prototype.mode;hu.prototype.enabled=hu.prototype.enabled;hu.prototype.titleFormatter=hu.prototype.dl;function iu(){Oj.call(this);this.c=!1;this.a=1E3}G(iu,dt);g=iu.prototype;g.ia=2;g.enabled=function(a){return m(a)?(this.c!=a&&(this.c=a,this.ca(2)),this):this.c};g.duration=function(a){return m(a)?(a=Ea(a,this.a,!0),this.a!=a&&(this.a=a,this.ca(2)),this):this.a};g.o=function(){return{enabled:this.c,duration:this.a}};g.K=function(a){this.enabled(a.enabled);this.duration(a.duration)};g.jc=function(a){var b=arguments[0];return ia(b)||null===b?(this.enabled(!!b),b=arguments[1],m(b)&&this.duration(b),!0):isNaN(+b)?dt.prototype.jc.apply(this,arguments):(this.enabled(!0),this.duration(+b),!0)};iu.prototype.enabled=iu.prototype.enabled;iu.prototype.duration=iu.prototype.duration;function ju(a,b,c,d){Oj.call(this);arguments.length&&this.set.apply(this,arguments)}G(ju,dt);g=ju.prototype;g.ia=2;g.cj=null;g.ej=null;g.lh=null;g.kh=null;g.sa=null;g.Ra=null;g.yj=null;g.dj=null;g.Yg=null;g.Ef=null;g.$G=function(a,b,c,d){a instanceof M?(d=a,a=I(d.left),b=I(d.top),c=I(d.width),d=I(d.height)):B(a)?(d=a,a=I(d.left),b=I(d.top),c=I(d.width),d=I(d.height)):(a=I(a),b=I(b),c=I(c),d=I(d));var e,f,h;null===this.cj?null===this.lh?(e=0,h=null===this.sa?+c||0:Q(this.sa,c),h=ku(this,h,c)):(f=Q(this.lh,c,!0),h=null===this.sa?f:Q(this.sa,c),h=ku(this,h,c),e=f-h):(e=Q(this.cj,c),h=null===this.lh?null===this.sa?+c-e||0:Q(this.sa,c):Q(this.lh,c,!0)-e,h=ku(this,h,c));null===this.ej?null===this.kh?(f=isNaN(NaN)?0:NaN,c=null===this.Ra?isNaN(NaN)?+d||0:NaN:Q(this.Ra,d),c=lu(this,c,d)):(f=Q(this.kh,d,!0),c=null===this.Ra?isNaN(NaN)?isNaN(NaN)?f:NaN:f-NaN:Q(this.Ra,d),c=lu(this,c,d),f-=c):(f=Q(this.ej,d),c=null===this.kh?null===this.Ra?isNaN(NaN)?+d-f||0:NaN:Q(this.Ra,d):Q(this.kh,d,!0)-f,c=lu(this,c,d));isNaN(a)||(e+=a);isNaN(b)||(f+=b);return new M(e,f,h,c)};function lu(a,b,c){null===a.dj||(b=Math.max(b,Q(a.dj,c)));null===a.Ef||(b=Math.min(b,Q(a.Ef,c)));return b}
function ku(a,b,c){null===a.yj||(b=Math.max(b,Q(a.yj,c)));null===a.Yg||(b=Math.min(b,Q(a.Yg,c)));return b}
g.set=function(a,b,c,d){var e,f,h,k,l,n,p;a instanceof ju?(e=a.cj,b=a.ej,c=a.sa,h=a.Ra,k=a.yj,l=a.dj,n=a.Yg,p=a.Ef,d=a.lh,f=a.kh):a instanceof M?(e=a.left,b=a.top,c=a.width,h=a.height,p=n=l=k=f=d=null):r(a)?(e=m(a[0])?a[0]:null,b=m(a[1])?a[1]:null,c=m(a[2])?a[2]:null,h=m(a[3])?a[3]:null,p=n=l=k=f=d=null):B(a)?(e=m(a.left)?a.left:null,b=m(a.top)?a.top:null,d=m(a.right)?a.right:null,f=m(a.bottom)?a.bottom:null,c=m(a.width)?a.width:null,h=m(a.height)?a.height:null,k=m(a.minWidth)?a.minWidth:null,l=m(a.minHeight)?a.minHeight:null,n=m(a.maxWidth)?a.maxWidth:null,p=m(a.maxHeight)?a.maxHeight:null):(e=m(a)?a:null,b=m(b)?b:null,c=m(c)?c:null,h=m(d)?d:null,p=n=l=k=f=d=null);X(this);this.left(e).top(b).right(d).bottom(f).width(c).height(h).sm(k).ls(l).ks(n).js(p);this.O(!0);return this};g.left=function(a){return m(a)?(a=yr(a),a!=this.cj&&(this.cj=a,this.ca(2)),this):this.cj};g.top=function(a){return m(a)?(a=yr(a),a!=this.ej&&(this.ej=a,this.ca(2)),this):this.ej};g.right=function(a){return m(a)?(a=yr(a),a!=this.lh&&(this.lh=a,this.ca(2)),this):this.lh};g.bottom=function(a){return m(a)?(a=yr(a),a!=this.kh&&(this.kh=a,this.ca(2)),this):this.kh};g.width=function(a){return m(a)?(a=yr(a),a!=this.sa&&(this.sa=a,this.ca(2)),this):this.sa};g.height=function(a){return m(a)?(a=yr(a),a!=this.Ra&&(this.Ra=a,this.ca(2)),this):this.Ra};g.sm=function(a){return m(a)?(a=yr(a),a!=this.yj&&(this.yj=a,this.ca(2)),this):this.yj};g.ls=function(a){return m(a)?(a=yr(a),a!=this.dj&&(this.dj=a,this.ca(2)),this):this.dj};g.ks=function(a){return m(a)?(a=yr(a),a!=this.Yg&&(this.Yg=a,this.ca(2)),this):this.Yg};g.js=function(a){return m(a)?(a=yr(a),a!=this.Ef&&(this.Ef=a,this.ca(2)),this):this.Ef};g.dn=function(){return vr(this.sa)||vr(this.Ra)||vr(this.yj)||vr(this.dj)||vr(this.Yg)||vr(this.Ef)||vr(this.cj)||vr(this.ej)||null!=this.kh||null!=this.lh||null===this.sa&&null===this.lh||null===this.Ra&&null===this.kh};g.o=function(){var a=ju.v.o.call(this);null!==this.ej&&(a.top=this.ej);null!==this.lh&&(a.right=this.lh);null!==this.kh&&(a.bottom=this.kh);null!==this.cj&&(a.left=this.cj);null!==this.sa&&(a.width=this.sa);null!==this.Ra&&(a.height=this.Ra);null!==this.yj&&(a.minWidth=this.yj);null!==this.dj&&(a.minHeight=this.dj);null!==this.Yg&&(a.maxWidth=this.Yg);null!==this.Ef&&(a.maxHeight=this.Ef);return a};g.C=function(a){m(arguments[0])&&this.set.apply(this,arguments);return this};ju.prototype.top=ju.prototype.top;ju.prototype.right=ju.prototype.right;ju.prototype.bottom=ju.prototype.bottom;ju.prototype.left=ju.prototype.left;ju.prototype.width=ju.prototype.width;ju.prototype.height=ju.prototype.height;ju.prototype.minWidth=ju.prototype.sm;ju.prototype.minHeight=ju.prototype.ls;ju.prototype.maxWidth=ju.prototype.ks;ju.prototype.maxHeight=ju.prototype.js;ju.prototype.set=ju.prototype.set;ju.prototype.toRect=ju.prototype.$G;function mu(a,b){this.b=Cc(a);this.c=b||1;this.a=new Date(0);switch(this.b){case"year":return this.uc=this.jI,this.next=this.oP,this;case"semester":return this.uc=this.gI,this.next=this.lP,this;case"quarter":return this.uc=this.eI,this.next=this.jP,this;case"month":return this.uc=this.kv,this.next=this.iP,this;case"thirdofmonth":return this.uc=this.hI,this.next=this.mP,this;case"week":return this.uc=this.iI,this.next=this.nP,this;default:this.uc=this.aI;this.next=this.dP;break;case"hour":this.uc=this.bI;this.next=this.fP;break;case"minute":this.uc=this.dI;this.next=this.hP;break;case"second":this.uc=this.fI;this.next=this.kP;break;case"millisecond":this.uc=this.cI,this.next=this.gP}}g=mu.prototype;g.jI=function(a){this.a.setTime(Date.UTC(Br(this.a.getUTCFullYear(),this.c,a?a.getUTCFullYear():2E3)-this.c,0))};g.gI=function(a){var b=this.c;this.c*=6;this.kv(a);this.c=b};g.eI=function(a){var b=this.c;this.c*=3;this.kv(a);this.c=b};g.kv=function(a){var b=Br(this.a.getUTCMonth()+12*this.a.getUTCFullYear(),this.c,a?a.getUTCMonth()+12*a.getUTCFullYear():24E3)-this.c;a=Math.floor(b/12);b%=12;0>b&&(b+=12);this.a.setTime(Date.UTC(a,b))};g.hI=function(a){a=Br(nu(this.a),this.c,a?nu(a):72E3)-this.c;var b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.a.setTime(Date.UTC(b,c,1+10*a))};g.iI=function(a){ou(this,6048E5*this.c,a||new Date(Date.UTC(2E3,0,2)))};g.aI=function(a){ou(this,864E5*this.c,a)};g.bI=function(a){ou(this,36E5*this.c,a)};g.dI=function(a){ou(this,6E4*this.c,a)};g.fI=function(a){ou(this,1E3*this.c,a)};g.cI=function(a){ou(this,this.c,a)};function ou(a,b,c){a.a.setTime(Br(a.a.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)}function nu(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)}g.oP=function(){this.a.setUTCFullYear(this.a.getUTCFullYear()+this.c);return this.a.getTime()};g.lP=function(){var a=this.a.getUTCMonth()+6*this.c,b=this.a.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.a.setUTCFullYear(b);this.a.setUTCMonth(a);return this.a.getTime()};g.jP=function(){var a=this.a.getUTCMonth()+3*this.c,b=this.a.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.a.setUTCFullYear(b);this.a.setUTCMonth(a);return this.a.getTime()};g.iP=function(){var a=this.a.getUTCMonth()+this.c,b=this.a.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.a.setUTCFullYear(b);this.a.setUTCMonth(a);return this.a.getTime()};g.mP=function(){var a,b=this.a.getUTCDate();a=3*(12*this.a.getUTCFullYear()+this.a.getUTCMonth())+(10>=b?0:20>=b?1:2)+this.c;b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.a.setTime(Date.UTC(b,c,1+10*a));return this.a.getTime()};g.nP=function(){var a=this.a.getTime()+6048E5*this.c;this.a.setTime(a);return a};g.dP=function(){var a=this.a.getTime()+864E5*this.c;this.a.setTime(a);return a};g.fP=function(){var a=this.a.getTime()+36E5*this.c;this.a.setTime(a);return a};g.hP=function(){var a=this.a.getTime()+6E4*this.c;this.a.setTime(a);return a};g.kP=function(){var a=this.a.getTime()+1E3*this.c;this.a.setTime(a);return a};g.gP=function(){var a=this.a.getTime()+this.c;this.a.setTime(a);return a};function pu(a){Oj.call(this);this.a=a;this.j="both";this.F=null;this.g=this.h=void 0;this.w=null;this.c=this.b=void 0;this.N=this.D=10;this.m=this.B="#1D8BD1"}G(pu,dt);g=pu.prototype;g.ia=5;g.$=16;g.mode=function(a){return m(a)?(a=Dc(a),this.j!=a&&(this.j=a,this.ca(5)),this):this.j};g.Xn=function(a){return m(a)?(a=wr(a),this.F!=a&&(this.F=a,this.h=this.g=void 0,this.ca(5)),this):this.F};g.$n=function(a){return m(a)?(a=wr(a),this.h!=a&&(this.h=a,this.ca(5)),this):this.h};g.Zn=function(a){return m(a)?(a=wr(a),this.g!=a&&(this.g=a,this.ca(5)),this):this.g};g.Sn=function(a){return m(a)?(a=wr(a),this.w!=a&&(this.w=a,this.b=this.c=void 0,this.ca(5)),this):this.w};g.Wn=function(a){return m(a)?(a=wr(a),this.b!=a&&(this.b=a,this.ca(5)),this):this.b};g.Un=function(a){return m(a)?(a=wr(a),this.c!=a&&(this.c=a,this.ca(5)),this):this.c};g.Ju=function(a){return m(a)?(a=I(a),isNaN(a)||this.D==a||(this.D=a,this.ca(1)),this):this.D};g.Fu=function(a){return m(a)?(a=I(a),isNaN(a)||this.N==a||(this.N=a,this.ca(1)),this):this.N};g.Yn=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.B&&(this.B=f,this.ca(1));return this}return this.B};g.Tn=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.m&&(this.m=f,this.ca(1));return this}return this.m};function qu(a){return a instanceof ru&&!(a instanceof Yc)&&"none"==a.ue()}
g.I=function(a,b){var c=a?this.a.ul():this.a.ba(),d=this.a.G(),e=d.l("x"),f=d.l("value"),h=I(a?d.get("x"):d.get("value")),d=this.a.AC(a);B(d)&&"keys"in d&&!B(d.mode)&&(d.mode=this.a.Cb());var d=this.a.gF(d),k=this.Vg(a),l=k[0],k=k[1];if(0!==l||0!==k)l?(l=c.transform(h-l),l=this.a.kf(l,a)):l=a?e:f,k?(h=c.transform(h+k),k=this.a.kf(h,a)):k=a?e:f,h=l,qu(c)&&(c=a?f:e,l=h!=(a?e:f),e=k!=(a?e:f),f=a?this.Ju():this.Fu(),a^b?(f=f||0,l&&d.moveTo(h,c-f/2).lineTo(h,c+f/2),d.moveTo(h,c).lineTo(k,c),e&&d.moveTo(k,c-f/2).lineTo(k,c+f/2)):(f=f||0,l&&d.moveTo(c-f/2,h).lineTo(c+f/2,h),d.moveTo(c,h).lineTo(c,k),e&&d.moveTo(c-f/2,k).lineTo(c+f/2,k)))};g.Vg=function(a){if(!this.a.xf())return[0,0];a=a?"x":"value";var b=a+"Error",c=a+"LowerError",d=a+"UpperError",e=this.a.G(),b=e.get(b)||this[b](),c=e.get(c)||this[c](),d=e.get(d)||this[d](),f=vr(b)||!zr(b),h=vr(d)||!zr(d)||f,f=vr(c)||!zr(c)||f;a=e.get(a);b=Q(b,a);c=f?c?Q(c,a):b/2:0;d=h?d?Q(d,a):b/2:0;return[c,d]};function su(a){var b=a.a.G(),c=b.get("xError")||a.Xn(),d=b.get("xLowerError")||a.Zn(),e=b.get("xUpperError")||a.$n(),f=b.get("valueError")||a.Sn(),h=b.get("valueLowerError")||a.Un();a=b.get("valueUpperError")||a.Wn();f=m(h)||m(a)||vr(f)||!zr(f);return m(d)||m(e)||vr(c)||!zr(c)||f}function tu(a){var b=a.Xn(),c=a.Zn(),d=a.$n(),e=a.Sn(),f=a.Un();a=a.Wn();e=m(f)||m(a)||vr(e)||!zr(e);return m(c)||m(d)||vr(b)||!zr(b)||e}
g.o=function(){var a=pu.v.o.call(this);a.mode=this.mode();a.xError=this.Xn();m(this.$n())&&(a.xUpperError=this.$n());m(this.Zn())&&(a.xLowerError=this.Zn());a.valueError=this.Sn();m(this.Wn())&&(a.valueUpperError=this.Wn());m(this.Un())&&(a.valueLowerError=this.Un());a.xErrorWidth=this.Ju();a.valueErrorWidth=this.Fu();A(this.xErrorStroke)&&(A(this.Yn())?K(8,null,["x error stroke"]):a.xErrorStroke=P(this.Yn()));A(this.valueErrorStroke)&&(A(this.Tn())?K(8,null,["value error stroke"]):a.valueErrorStroke=P(this.Tn()));return a};g.jc=function(a){var b=arguments[0];return u(b)||y(b)||null===b?(X(this),this.Xn(b),this.Sn(b),this.O(!0),!0):ia(b)?(b?this.mode("both"):this.mode("none"),!0):dt.prototype.jc.apply(this,arguments)};g.K=function(a){pu.v.K.call(this,a);this.mode(a.mode);this.Xn(a.xError);this.$n(a.xUpperError);this.Zn(a.xLowerError);this.Sn(a.valueError);this.Wn(a.valueUpperError);this.Un(a.valueLowerError);this.Ju(a.xErrorWidth);this.Fu(a.valueErrorWidth);this.Yn(a.xErrorStroke);this.Tn(a.valueErrorStroke)};pu.prototype.mode=pu.prototype.mode;pu.prototype.xError=pu.prototype.Xn;pu.prototype.xUpperError=pu.prototype.$n;pu.prototype.xLowerError=pu.prototype.Zn;pu.prototype.valueError=pu.prototype.Sn;pu.prototype.valueUpperError=pu.prototype.Wn;pu.prototype.valueLowerError=pu.prototype.Un;pu.prototype.xErrorWidth=pu.prototype.Ju;pu.prototype.valueErrorWidth=pu.prototype.Fu;pu.prototype.xErrorStroke=pu.prototype.Yn;pu.prototype.valueErrorStroke=pu.prototype.Tn;function uu(a){Oj.call(this);this.c=a}G(uu,dt);g=uu.prototype;g.ia=2;g.yb=function(a){return m(a)?(a=Ub(a),a!=this.T&&(this.T=a,this.ca(2)),this):this.T};g.dc=function(a){return m(a)?(a=Vb(a),a!=this.ea&&(this.ea=a),this):this.ea};g.vk=function(a){return m(a)?(a=I(a),a!=this.b&&(this.b=a),this):this.b};g.sB=function(a){return m(a)?(a=!!a,a!=this.a&&(this.a=a),this):this.a};g.C=function(a){m(a)&&(X(this.c),B(a)&&(this.yb(a.hoverMode),this.dc(a.selectionMode),this.vk(a.spotRadius),this.sB(a.allowMultiSeriesSelection)),this.c.O(!0));return this};g.o=function(){var a={};a.hoverMode=this.yb();a.selectionMode=this.dc();a.spotRadius=this.vk();a.allowMultiSeriesSelection=this.sB();return a};uu.prototype.hoverMode=uu.prototype.yb;uu.prototype.selectionMode=uu.prototype.dc;uu.prototype.spotRadius=uu.prototype.vk;function vu(a,b,c,d){Oj.call(this);arguments.length&&this.set.apply(this,arguments)}G(vu,dt);g=vu.prototype;g.ia=2;g.hl=0;g.gl=0;g.el=0;g.fl=0;function jr(a){var b,c,d,e,f,h=arguments[0],k=arguments[1],l=arguments[2],n=arguments[3];r(h)?(f=h,h=f[0],k=f[1],l=f[2],n=f[3],f=f.length):f=arguments.length;0==f?e=d=c=b=0:B(h)?(b=h.top||0,c=h.right||0,d=h.bottom||0,e=h.left||0):1==f?e=d=c=b=h||0:2==f?(d=b=h||0,e=c=k||0):3==f?(b=h||0,e=c=k||0,d=l||0):4<=f&&(b=h||0,c=k||0,d=l||0,e=n||0);return{top:b,left:e,bottom:d,right:c}}
g.set=function(a,b,c,d){var e=jr.apply(this,arguments);X(this);this.left(e.left).top(e.top).right(e.right).bottom(e.bottom);this.O(!0);return this};g.left=function(a){return m(a)?(a=yr(a)||0,a!=this.fl&&(this.fl=a,this.ca(2)),this):this.fl};g.top=function(a){return m(a)?(a=yr(a)||0,a!=this.hl&&(this.hl=a,this.ca(2)),this):this.hl};g.right=function(a){return m(a)?(a=yr(a)||0,a!=this.gl&&(this.gl=a,this.ca(2)),this):this.gl};g.bottom=function(a){return m(a)?(a=yr(a)||0,a!=this.el&&(this.el=a,this.ca(2)),this):this.el};g.Ve=function(a){var b=Q(this.fl,a.width),c=Q(this.hl,a.height);return new M(a.left+b,a.top+c,a.width-b-Q(this.gl,a.width),a.height-c-Q(this.el,a.height))};g.Ie=function(a){return a-Q(this.fl,a)-Q(this.gl,a)};g.He=function(a){return a-Q(this.hl,a)-Q(this.el,a)};g.Uq=function(a){var b=Q(this.fl,a.width),c=Q(this.hl,a.height);return new M(a.left-b,a.top-c,a.width+b+Q(this.gl,a.width),a.height+c+Q(this.el,a.height))};g.Xe=function(a){return a+Q(this.fl,a)+Q(this.gl,a)};g.We=function(a){return a+Q(this.hl,a)+Q(this.el,a)};g.o=function(){var a=vu.v.o.call(this);a.top=this.top();a.right=this.right();a.bottom=this.bottom();a.left=this.left();return a};g.C=function(a){m(arguments[0])&&this.set.apply(this,arguments);return this};vu.prototype.top=vu.prototype.top;vu.prototype.right=vu.prototype.right;vu.prototype.bottom=vu.prototype.bottom;vu.prototype.left=vu.prototype.left;vu.prototype.set=vu.prototype.set;function wu(a,b,c,d){vu.apply(this,arguments)}G(wu,vu);wu.prototype.Ve=function(a){var b=this.Ie(a.width),c=this.He(a.height),d=Q(this.left(),b),e=Q(this.top(),c);return new M(a.left+d,a.top+e,b,c)};wu.prototype.He=function(a){var b=this.top(),c=this.bottom(),d=1;vr(b)?d+=parseFloat(b)/100:a-=y(b)?b:parseFloat(b);vr(c)?d+=parseFloat(c)/100:a-=y(c)?c:parseFloat(c);0==d&&(d=1E-7);return a/d};wu.prototype.Ie=function(a){var b=this.left(),c=this.right(),d=1;vr(b)?d+=parseFloat(b)/100:a-=y(b)?b:parseFloat(b);vr(c)?d+=parseFloat(c)/100:a-=y(c)?c:parseFloat(c);0==d&&(d=1E-7);return a/d};function xu(a,b,c,d){vu.apply(this,arguments)}G(xu,vu);xu.prototype.Uq=function(a){var b=this.Xe(a.width),c=this.We(a.height),d=Q(this.left(),b),e=Q(this.top(),c);return new M(a.left-d,a.top-e,b,c)};xu.prototype.We=function(a){var b=this.top(),c=this.bottom(),d=1;vr(b)?d-=parseFloat(b)/100:a+=y(b)?b:parseFloat(b);vr(c)?d-=parseFloat(c)/100:a+=y(c)?c:parseFloat(c);0==d&&(d=1E-7);return a/d};xu.prototype.Xe=function(a){var b=this.left(),c=this.right(),d=1;vr(b)?d-=parseFloat(b)/100:a+=y(b)?b:parseFloat(b);vr(c)?d-=parseFloat(c)/100:a+=y(c)?c:parseFloat(c);0==d&&(d=1E-7);return a/d};function yu(a){we.call(this,a)}G(yu,we);yu.prototype.clear=function(){this.value=this.b=0};yu.prototype.a=function(a){a=I(a);isNaN(a)||(this.value+=a,this.b++)};yu.prototype.c=function(){var a=this.b?this.value/this.b:NaN;this.clear();return a};function zu(a){we.call(this,a)}G(zu,we);zu.prototype.clear=function(){this.value=NaN};zu.prototype.a=function(a){isNaN(this.value)&&(this.value=I(a))};function Au(a){we.call(this,a)}G(Au,we);Au.prototype.clear=function(){this.value=NaN};Au.prototype.a=function(a){a=I(a);isNaN(a)||(this.value=a)};function Bu(a){we.call(this,a)}G(Bu,we);Bu.prototype.clear=function(){this.value=NaN};Bu.prototype.a=function(a){a=I(a);isNaN(a)||this.value>=a||(this.value=a)};function Cu(a){we.call(this,a)}G(Cu,we);Cu.prototype.clear=function(){this.value=NaN};Cu.prototype.a=function(a){a=I(a);isNaN(a)||this.value<=a||(this.value=a)};function Du(a){we.call(this,a)}G(Du,we);Du.prototype.clear=function(){this.value=0};Du.prototype.a=function(a){a=I(a);isNaN(a)||(this.value+=a)};function Eu(a,b){we.call(this,a,b)}G(Eu,we);Eu.prototype.clear=function(){this.value=this.b=0};Eu.prototype.a=function(a,b){a=I(a);b=I(b)||0;isNaN(a)||(this.value+=a*b,this.b+=b)};Eu.prototype.c=function(){var a=this.b?this.value/this.b:NaN;this.clear();return a};function Fu(a,b,c){if(A(a))return new ze(b,a,c);if(B(a))return new xe(b,a);switch(a){case"average":return new yu(b);case"first":return new zu(b);case"firstValue":return new Ae(b);case"lastValue":return new Be(b);case"list":return new Ce(b);case"max":return new Bu(b);case"min":return new Cu(b);case"sum":return new Du(b);case"weightedAverage":return new Eu(b,c);default:case"last":return new Au(b)}}
function Gu(a,b,c){y(b)&&(b=b.toFixed(0));if(B(a))return D(a)+"|"+b+"|"+rr(c);switch(a){case"average":return"a"+b;case"first":return"f"+b;case"firstValue":return"o"+b;case"lastValue":return"c"+b;case"list":return"g"+b;case"max":return"x"+b;case"min":return"n"+b;case"sum":return"s"+b;case"weightedAverage":return y(c)&&(c=c.toFixed(0)),"w"+b+":"+String(c);default:case"last":return"l"+b}};function Hu(a){this.b=a;this.a=sg(a.a);this.g=!0;this.c=qg(this.a);this.j=!1;this.h=[];Iu(this)}function Iu(a){for(var b=a.a.Za();a.h.length<b;)a.h.push({})}Hu.prototype.m=function(a,b){var c=og(this.a,a,Mc(b)),d;d=this.a;return(d=0<=c&&c<d.a.length?d.a[c]:null)?new Ju(d,this.b,!this.g,c,this.h[c]):null};Hu.prototype.select=function(a,b,c,d){a=xb(a);b=xb(b);c=m(c)?new mu(c,I(d)):void 0;a>b&&(d=a,a=b,b=d);d=sg(this.b.a,c);if(this.j||d!=this.a||this.c.UG!=a||this.c.WE!=b)this.j=!1,this.a=d,this.g=!c,this.c=d.select(a,b),Iu(this);return this};Hu.prototype.N=function(a,b){var c=m(a)?new mu(a,I(b)):void 0,d=sg(this.b.a,c);this.a=d;this.g=!c;this.c=qg(d);Iu(this);return this};Hu.prototype.G=function(){return new Ob(this.b,this.c,this.h,!this.g,null)};function Ju(a,b,c,d,e){this.Lc=a;this.a=b;this.b=c;this.g=d;this.j=e}g=Ju.prototype;g.get=function(a){return this.ln(this.b?Pb(this.a,a):Qb(this.a,a))};g.ln=function(a){var b;y(a)&&0>a?this.Lc.c&&(b=this.Lc.c[~a]):b=this.Lc.values[a];return b};g.S=function(){return this.g};g.ms=function(){return this.Lc.key};g.l=function(a,b){return 1<arguments.length?(this.j&&(this.j[a]=b),this):this.j?this.j[a]:void 0};g.FM=function(){return this.Lc.key};Hu.prototype.search=Hu.prototype.m;Hu.prototype.select=Hu.prototype.select;Hu.prototype.selectAll=Hu.prototype.N;Hu.prototype.getIterator=Hu.prototype.G;Ju.prototype.get=Ju.prototype.get;Ju.prototype.getKey=Ju.prototype.FM;Ju.prototype.getColumn=Ju.prototype.ln;Ju.prototype.getIndex=Ju.prototype.S;function Ku(a,b){xd.call(this);this.b=a;this.j=b;this.c={};this.a=aa;this.g=this.h=ba}G(Ku,xd);g=Ku.prototype;g.S=function(){return this.j};g.ZH=function(a,b){if(a in this.c)return Rc(202,void 0,[a]),NaN;var c;a:if(c=this.b.a,this.b.a!=c)c=NaN;else{var d,e=c.h.length;d=e?~c.h[0]:~c.w;if(u(b)){if(b in c.b){Rc(201,void 0,[b]);c=NaN;break a}c.b[b]=d}c.m[this.S()]=Math.max(c.m[this.S()],~d);e?c.h.shift():c.w++;c=d}return isNaN(c)?NaN:this.c[a]=c};g.hF=function(a){return a in this.c?this.c[a]:NaN};g.pQ=function(a){this.a=a};g.rQ=function(a){this.h=A(a)?a:ba};g.nQ=function(a){this.g=A(a)?a:ba};g.V=function(){var a=this.b.a,b=this.S();a.g.splice(b,1);a.m.splice(b,1);var b=[],c;for(c in this.c)b.push(this.c[c]);if(b.length){db(a.h);c=[];for(var d=Number.POSITIVE_INFINITY,e=0;e<b.length;e++){var f=~b[e],d=Math.min(d,f);a.h.push(f);for(var h in a.b)if(a.b[h]==b[e]){c.push(h);break}}db(a.h);for(e=0;e<c.length;e++)delete a.b[c[e]];a.c.b=Math.min(a.c.b,d);for(var k in a.a)a.a[k].b=Math.min(a.a[k].b,d)}B(this.a)&&A(this.a.dispose)&&this.a.dispose();delete this.a;delete this.g;delete this.h;delete this.b;delete this.c;Ku.v.V.call(this)};function ng(a,b,c,d){Ju.call(this,a,b.b,c,d,{});this.h=b}G(ng,Ju);ng.prototype.set=function(a,b){return this.c(this.h.hF(a),b)};ng.prototype.c=function(a,b){var c=!isNaN(a);c&&(this.Lc.c[~a]=b);return c};Ku.prototype.addOutputField=Ku.prototype.ZH;Ku.prototype.getFieldIndex=Ku.prototype.hF;Ku.prototype.setContext=Ku.prototype.pQ;Ku.prototype.setStartFunction=Ku.prototype.rQ;Ku.prototype.setCalculationFunction=Ku.prototype.nQ;Ku.prototype.dispose=Ku.prototype.Sd;ng.prototype.set=ng.prototype.set;ng.prototype.setColumn=ng.prototype.c;function Lu(a,b){Oj.call(this);this.a=a;this.c={};if(B(b)){X(this.a);for(var c in b){var d=b[c];B(d)?this.b(c,d.column,d.type,d.context||d.weights):(y(d)||u(d))&&this.b(c,d)}this.a.O(!0)}}G(Lu,dt);Lu.prototype.g=function(){return new Hu(this)};Lu.prototype.b=function(a,b,c,d){var e;if(y(b))e=Math.round(I(b));else if(u(b))e=this.a.b[b]||NaN,isNaN(e)&&(e=b);else return this;if(y(e)&&0>e)this.c[a]={RG:e,hG:e};else if(u(e)||!isNaN(e)){if((b=B(c))&&!A(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:Lc(m(c)?c:a);b=d;"weightedAverage"==f&&(y(d)?b=Math.round(d):u(d)?(b=this.a.b[d]||NaN,isNaN(b)&&(b=d)):b=NaN,y(b)&&isNaN(b)&&(f="average"));X(this.a);d=this.a;c=e;var h=b;b=Gu(f,c,h);b in d.N?b=d.N[b]:(c=Fu(f,c,h),d.N[b]=b=d.j.length,d.j.push(c),zg(d,4,!1));this.c[a]={RG:e,hG:b};this.a.O(!0)}return this};function Pb(a,b){return b in a.c?a.c[b].hG:NaN}function Qb(a,b){return b in a.c?a.c[b].RG:NaN}Lu.prototype.addField=Lu.prototype.b;Lu.prototype.createSelectable=Lu.prototype.g;function Mu(a){Oj.call(this);this.c=new ug(this,a);this.a={};this.N={};this.b={};this.w=0;this.h=[];this.j=[];this.g=[];this.m=[]}G(Mu,dt);g=Mu.prototype;g.ia=16;g.GM=function(a,b,c){var d=this.c,e=!d.N;e&&(d.N&&K(101),d.N=!0);if(u(a)){var f=new Cb(d),h=new De;B(c)&&(h.zq(c.rowsSeparator),h.Gp(c.columnsSeparator),h.gq(c.ignoreTrailingSpaces),h.eq(c.ignoreFirstRow));h.wp(a,f);!0===b&&(b=f.c)}else if(r(a)){for(f=c=0;f<a.length;f++)Db(d,a[f])&&c++;!0===b&&(b=c)}b=I(b);isNaN(b)||Ag(d,b);e&&vg(d);return this};g.remove=function(a,b){this.c.remove(xb(a),xb(b));return this};g.HM=function(a){Ag(this.c,a);return this};g.tD=function(a){return new Lu(this,a)};g.mN=function(a){if(a instanceof Lu){if(a.a!=this)return Rc(200),null}else a=this.tD(a);a=new Ku(a,this.g.length);this.g.push(a);this.m.push(-1);return a};function sg(a,b){var c;if(b){var d=b.b+b.c.toFixed(0);d in a.a?c=a.a[d]:a.a[d]=c=new mg(a,b)}else c=a.c;c.update();return c}
function zg(a,b,c){for(var d in a.a){var e;e=a.a[d];(e.c|b)!=e.c?(e.c|=b,e=!0):e=!1;c=e||c}c&&(bs++,a.ca(16),es())}g.V=function(){X(this);delete this.c;Bd(this.j);delete this.j;delete this.a;Bd(this.g);delete this.g;this.O(!1);Mu.v.V.call(this)};E("anychart.data.table",function(a){return new Mu(a)});Mu.prototype.addData=Mu.prototype.GM;Mu.prototype.remove=Mu.prototype.remove;Mu.prototype.removeFirst=Mu.prototype.HM;Mu.prototype.mapAs=Mu.prototype.tD;Mu.prototype.createComputer=Mu.prototype.mN;function Nu(a,b,c){Oj.call(this);this.c=[];this.mf={};this.g={};this.h=this.Iy();this.a=null;this.b=!0;this.Mx("id",!0);a&&this.wD(a,b,c)}G(Nu,dt);function Ou(a){var b=new Nu;X(b);if("index"in a)for(var c=a.index,d=0,e=c.length;d<e;d++)b.Mx(c[d]);if("children"in a)for(a=a.children,d=0,e=a.length;d<e;d++)b.Fc(Pu(b,a[d]));b.O(!1);return b}g=Nu.prototype;g.ia=48;function Qu(a,b){return a.getParent()?a.getParent()==b?!0:Qu(a.getParent(),b):!1}g.Ip=function(a){return m(a)?(this.b=a,this):this.b};g.ca=function(a){!this.wh&&a&16&&(this.a=null);Nu.v.ca.call(this,a)};g.Iy=function(){return new Rb(this)};function Ru(a,b){var c=new Su(a,b),d=b.children;if(d)for(var e=0,f=d.length;e<f;e++)Tu(c,Ru(a,d[e]));return c}
g.wD=function(a,b,c){var d="asTree";if(u(a)){d=new De;"object"==ea(c)&&(d.zq(c.rowsSeparator),d.Gp(c.columnsSeparator),d.gq(c.ignoreTrailingSpaces),d.eq(c.ignoreFirstRow));var e=new Eb;if(m(b)&&B(b)){e.a.length=0;for(var f in b){var h=b[f];y(h)&&(e.a[h]=f)}}d.wp(a,e);a=e.w;d="astable"}else d=String(b).toLowerCase();X(this);switch(d){case"astable":case"table":case"parentid":case"linear":case"plain":case"db":case"database":case"id":case"parentpointer":case"pointer":var k,l;f=[];d=[];e=[];X(this);b=0;for(h=a.length;b<h;b++){k=a[b];l=new Su(this,k);var n=k.id;e.push(l);if(null!=n)if(n=n+"",k=Wa(f,n,pr),0>k){var p=~k;Za(f,n,p);(k=this.os("id",n))?(k=k instanceof Su?k:k[0],Za(d,k,p),k.l("nc",!0),K(1,null,[n])):Za(d,l,p)}else K(2,null,[n])}for(b=0;b<e.length;b++)h=e[b],l=a[b].parent,null!=l?(l=l+"",k=Wa(f,l,pr),0>k?((k=this.os("id",l))?(k=k instanceof Su?k:k[0],Tu(k,h)):(this.c.push(h),K(3,null,[l])),Uu(this,h)):(k=d[k],Tu(k,h),k.l("nc")&&Uu(this,h))):(this.c.push(h),Uu(this,h));e.length&&this.ca(16);this.O(!0);break;default:X(this);b=0;for(f=a.length;b<f;b++)d=Ru(this,a[b]),this.c.push(d),Uu(this,d);a.length&&this.ca(16);this.O(!0)}if("array"==ea(c)){this.b=!1;for(a=0;a<c.length;a++)if(f=c[a],"object"==ea(f)&&(b=f.from,f=f.to,(u(b)||y(b))&&(u(f)||y(f)))){e=d=void 0;d=this.g.id;if(this.mf.id)f=Wa(this.mf.id,{key:d?""+f:f},this.Es),e=0<=f?this.mf.id[f].value:[],f=r(e)?e:[e];else{e=[];this.a||(this.a=this.h.ns());for(d=0;d<this.a.length;d++)pr(this.a[d].get("id"),f)||e.push(this.a[d]);f=e}if(f=f[0])d=f.get("dependsOn"),m(d)?"array"==ea(d)&&f.set("dependsOn",d.length,b):f.set("dependsOn",[b])}this.b=!0}this.O(!0);return this};g.Es=function(a,b){return pr(a.key,b.key)};function Vu(a,b,c,d){if(c){if(d)for(var e=b.wb();e--;)Vu(a,b.Td(e),c,d);if(d=a.mf[c])e={key:b.get(c),value:b},a.g[c]&&(e.key=""+e.key),a=Wa(d,e,a.Es),0>a?Za(d,e,~a):(a=d[a],r(a.value)||(a.value=[a.value]),a.value.push(b))}else for(e in a.mf)Vu(a,b,e)}
function Wu(a,b,c,d){if(c){if(d)for(var e=b.wb();e--;)Wu(a,b.Td(e),c,d);if(e=a.mf[c])d=Wa(e,{key:b.get(c)},a.Es),(e=e[d])&&(r(e.value)&&1<e.value.length?Vf(e.value,b):Wf(a.mf[c],d))}else for(e in a.mf)Wu(a,b,e,d)}g.Mx=function(a,b){if(!this.mf[a]){this.g[a]=!!b;this.h.reset();this.mf[a]=[];this.a||(this.a=this.h.ns());for(var c=0;c<this.a.length;c++)Vu(this,this.a[c],a)}return this};g.XP=function(a){delete this.mf[a];delete this.g[a];return this};function Uu(a,b){Vu(a,b);b.l("nc",!0);for(var c=0;c<b.wb();c++)Uu(a,b.Td(c))}g.os=function(a,b,c){var d=A(b),e;e=this.g[a];if(this.mf[a])return b=d?dg(this.mf[a],b,c):Wa(this.mf[a],{key:e?""+b:b},c||this.Es),e=0<=b?this.mf[a][b].value:null,r(e)?1==e.length?e[0]:e:e;e=[];this.a||(this.a=this.h.ns());if(d)for(d=0;d<this.a.length;d++)b.call(c,this.a[d],d,this.a)||e.push(this.a[d]);else for(c=c||pr,d=0;d<this.a.length;d++)c(this.a[d].get(a),b)||e.push(this.a[d]);return e.length?1==e.length?e[0]:e:null};g.ku=function(a,b,c){return(a=this.os(a,b,c))?r(a)?a:[a]:[]};g.Fc=function(a){return this.jf(a,this.wb())};g.jf=function(a,b){X(this);var c=null,d=-1,e=null,f=!0,h=null;a instanceof Su?((h=Xu(a))&&h!=this&&(e=h,X(h)),d=(c=a.getParent())?c.se(a):h.se(a),a.remove()):(f=!1,a=Ru(this,a));b=ub(b,0,this.wb());Za(this.c,a,b);Uu(this,a);Xu(a,this);this.ca(16);this.O(!0);h&&h.O(!0);this.b&&(h={type:f?"treeItemMove":"treeItemCreate",target:null,targetIndex:b,item:a},e&&(h.sourceTree=e),f&&(h.sourceIndex=d,h.source=c),this.dispatchEvent(h));return a};g.KM=function(){return Zf(this.c)};g.wb=function(){return this.c.length};g.Td=function(a){return this.c[a]};g.removeChild=function(a){return this.tx(this.se(a))};g.se=function(a){return Lf(this.c,a)};g.tx=function(a){var b=null;0<=a&&a<=this.c.length&&(b=fb(this.c,a,1)[0],Wu(this,b,void 0,!0),this.ca(16),this.b&&this.dispatchEvent({type:"treeItemRemove",source:null,sourceIndex:a,item:b}));return b};g.LM=function(){if(this.c.length){this.c.length=0;for(var a in this.mf)this.mf[a].length=0;this.ca(16)}return this};g.o=function(){var a=Nu.v.o.call(this);a.children=[];for(var b=0;b<this.wb();b++)a.children.push(this.Td(b).o());a.index=[];for(var c in this.mf)a.index.push(c);return a};function Su(a,b){this.a=a;this.b=null;this.c=[];this.j={};var c=kf(b);delete c.children;delete c.parent;this.w=c}
function Pu(a,b){var c=new Su(a,"treeDataItemData"in b?b.treeDataItemData:{});if("treeDataItemMeta"in b){var d=b.treeDataItemMeta,e;for(e in d)c.l(e,d[e])}if("children"in b)for(d=b.children,e=0;e<d.length;e++){var f=Pu(a,d[e]);c.Fc(f)}return c}g=Su.prototype;g.get=function(a){if(arguments.length){var b=arguments[0],c;r(b)?c=b:u(b)&&(c=arguments);if(m(c)){var d=this.w,e;for(e=0;e<c.length;e++)if(b=c[e],B(d)||r(d)){if(e==c.length-1)return d[b];d=d[b]}else break}}};g.set=function(a){if(arguments.length){var b=arguments[0],c,d,e,f,h,k,l,n=0,p=[];r(b)?(c=b,d=c[0],1<c.length&&u(d)&&(1<arguments.length?e=arguments[1]:(e=c[c.length-1],n=1))):u(b)&&1<arguments.length&&(d=b,c=arguments,e=c[c.length-1],n=1);if(m(c)){l=this.w;k=c[0];p.push(k);f=l[k];for(b=1;b<c.length-n;b++)if(h=c[b],!y(h)&&!u(h))return K(17),this;for(b=1;b<c.length-n;b++)if(h=c[b],p.push(h),y(h))if(m(f))if(r(f))l=f,f=l[h],k=h;else return K(17),this;else l[k]=[],f=l[h],l=l[k],k=h;else if(u(h))if(m(f))if(B(f))l=f,f=l[h],k=h;else return K(17),this;else l[k]={},f=l[h],l=l[k],k=h;else return K(17),this;l[k]!=e&&(l[k]=e,Wu(this.a,this,d),Vu(this.a,this,d),this.a.ca(16),this.a.Ip()&&this.a.dispatchEvent({type:"treeItemUpdate",item:this,path:p,field:p[0],value:e}))}else K(17)}return this};g.qj=function(a){if(arguments.length){var b=arguments[0],c,d;r(b)?(c=b,d=c[0]):u(b)&&(c=arguments,d=b);if(m(c)){var e=[],f=this.w,h;for(h=1;h<c.length;h++)if(b=c[h],!y(b)&&!u(b))return this;for(h=0;h<c.length;h++)if(b=c[h],e.push(b),B(f)||r(f))if(h==c.length-1)if(b in f){var k=f[b];r(f)?Wf(f,b):delete f[b];Wu(this.a,this,d);Vu(this.a,this,d);this.a.ca(16);this.a.Ip()&&this.a.dispatchEvent({type:"treeItemUpdate",item:this,path:e,field:e[0],value:k})}else break;else f=f[b];else break}}return this};g.l=function(a,b){return 1<arguments.length?this.tk(a,b):this.ug(a)};g.ug=function(a){if(arguments.length){var b=arguments[0],c;r(b)?c=b:u(b)&&(c=arguments);if(m(c)){var d=this.j,e;for(e=0;e<c.length;e++)if(b=c[e],B(d)||r(d)){if(e==c.length-1)return d[b];d=d[b]}else break}}};g.tk=function(a){if(arguments.length){var b=arguments[0],c,d,e,f,h,k,l=0,n=[];r(b)?(c=b,b=c[0],1<c.length&&u(b)&&(1<arguments.length?d=arguments[1]:(d=c[c.length-1],l=1))):u(b)&&1<arguments.length&&(c=arguments,d=c[c.length-1],l=1);if(m(c)){k=this.j;h=c[0];n.push(h);e=k[h];for(b=1;b<c.length-l;b++)if(f=c[b],!y(f)&&!u(f))return this;for(b=1;b<c.length-l;b++)if(f=c[b],n.push(f),y(f))if(m(e))if(r(e))k=e,e=k[f],h=f;else return this;else k[h]=[],e=k[f],k=k[h],h=f;else if(u(f))if(m(e))if(B(e))k=e,e=k[f],h=f;else return this;else k[h]={},e=k[f],k=k[h],h=f;else return this;k[h]!=d&&(k[h]=d,this.a.ca(32))}}return this};g.getParent=function(){return this.b};function Yu(a){null!=a.b&&(a.b=null,a.a.ca(16))}g.Fc=function(a){return this.jf(a,this.wb())};g.jf=function(a,b){X(this.a);var c=null,d=null,e=-1,f=null,h=!0;a instanceof Su?((c=Xu(a))&&c!=this.a&&(f=c,X(c)),e=(d=a.getParent())?d.se(a):c.se(a),a.remove()):(h=!1,a=Ru(this.a,a));b=ub(b,0,this.wb());Za(this.c,a,b);Vu(this.a,a,void 0,!0);Xu(a,this.a);a.b=this;this.a.ca(16);this.a.O(!0);c&&c.O(!0);this.a.Ip()&&(c={type:h?"treeItemMove":"treeItemCreate",target:this,targetIndex:b,item:a},f&&(c.sourceTree=f),h&&(c.sourceIndex=e,c.source=d),this.a.dispatchEvent(c));return a};function Tu(a,b){Za(a.c,b,a.wb());b.b=a}g.uD=function(){return Zf(this.c)};g.wb=function(){return this.c.length};g.Td=function(a){return this.c[a]};g.removeChild=function(a){return this.vD(this.se(a))};g.vD=function(a){var b=null;0<=a&&a<=this.c.length&&(b=fb(this.c,a,1)[0],Wu(this.a,b,void 0,!0),Yu(b),this.a.Ip()&&this.a.dispatchEvent({type:"treeItemRemove",source:this,sourceIndex:a,item:b}));return b};g.JM=function(){var a=this.c.length;if(a){X(this.a);for(var b=0;b<a;b++){var c=this.c[b];Yu(c);Wu(this.a,c,void 0,!0)}this.a.O(!1);this.c.length=0;this.a.ca(16)}return this};g.se=function(a){return Lf(this.c,a)};g.remove=function(){if(this.b)this.b.removeChild(this);else{var a=this.a.se(this);0<=a&&this.a.tx(a)}return this};function Xu(a,b){return m(b)?(a.a!=b&&Zu(a,b),a):a.a}function Zu(a,b){a.a=b;for(var c=0,d=a.wb();c<d;c++)Zu(a.c[c],b)}
g.clone=function(a){var b=Dq(this.w);delete b.children;delete b.parent;for(var b=new Su(a,b),c=0,d=this.wb();c<d;c++)b.Fc(this.Td(c).clone(a));return b};g.o=function(a){var b={treeDataItemData:this.w};!1!==a&&(b.treeDataItemMeta=this.j);for(var c=0,d=this.wb();c<d;c++){var e=this.Td(c);b.children||(b.children=[]);b.children.push(e.o(a))}return b};E("anychart.data.tree",function(a,b,c){return new Nu(a,b,c)});Nu.prototype.getTraverser=Nu.prototype.Iy;Nu.prototype.dispatchEvents=Nu.prototype.Ip;Nu.prototype.addData=Nu.prototype.wD;Nu.prototype.createIndexOn=Nu.prototype.Mx;Nu.prototype.removeIndexOn=Nu.prototype.XP;Nu.prototype.search=Nu.prototype.os;Nu.prototype.searchItems=Nu.prototype.ku;Nu.prototype.addChild=Nu.prototype.Fc;Nu.prototype.addChildAt=Nu.prototype.jf;Nu.prototype.getChildren=Nu.prototype.KM;Nu.prototype.numChildren=Nu.prototype.wb;Nu.prototype.getChildAt=Nu.prototype.Td;Nu.prototype.removeChild=Nu.prototype.removeChild;Nu.prototype.removeChildAt=Nu.prototype.tx;Nu.prototype.removeChildren=Nu.prototype.LM;Nu.prototype.indexOfChild=Nu.prototype.se;Su.prototype.get=Su.prototype.get;Su.prototype.set=Su.prototype.set;Su.prototype.meta=Su.prototype.l;Su.prototype.del=Su.prototype.qj;Su.prototype.getParent=Su.prototype.getParent;Su.prototype.addChild=Su.prototype.Fc;Su.prototype.addChildAt=Su.prototype.jf;Su.prototype.getChildren=Su.prototype.uD;Su.prototype.numChildren=Su.prototype.wb;Su.prototype.getChildAt=Su.prototype.Td;Su.prototype.remove=Su.prototype.remove;Su.prototype.removeChild=Su.prototype.removeChild;Su.prototype.removeChildAt=Su.prototype.vD;Su.prototype.removeChildren=Su.prototype.JM;Su.prototype.indexOfChild=Su.prototype.se;function $u(a){Oj.call(this);this.a=a;a.pa("signal",this.St,!1,this);T(this,1)}G($u,dt);g=$u.prototype;g.ia=16;g.$=1;g.pg=null;g.xn=null;g.iA=!1;function av(a){a.Tb&&(a.xn&&(a.xn.length=0),a.pg=a.an(),U(a,1))}function bv(a,b,c){b=new cv(a,"value",b,void 0,c);L(a,b);return b}g.Rg=function(){var a=new $u(this);L(this,a);return a};g.filter=function(a,b){var c=new dv(this,a,b);L(this,c);return c};g.ux=function(a,b){var c=new ev(this,a,b);L(this,c);return c};g.concat=function(a){r(a)&&(a=new fv(a));a instanceof fv&&(a=a.Pd());a=new gv(this,a);L(this,a);return a};g.Lc=function(a,b){av(this);a=this.pg?this.pg[a]:a;return m(a)?this.a.Lc.apply(this.a,arguments):a};g.Za=function(){av(this);return this.pg?this.pg.length:this.a.Za()};g.$f=function(a){av(this);return this.a.$f(this.pg?this.pg[a]:a)};g.tl=function(){return this.a.tl()};g.hj=function(a,b){av(this);if(!m(a)||!m(b))return-1;this.b||(this.b={});this.b[a]||(this.b[a]={});if(this.b[a][b])return this.b[a][b];for(var c=this.G(),d=-1,e;c.advance();)if(d=c.S(),e=c.get(a),this.b[a][e]=d,e==b)return d;return-1};function hv(a,b,c,d){av(a);a.Ea||(a.Ea={});if(a.Ea[b])return a.Ea[b];var e=[];if(m(b)){var f=a.G(),h=-1,k=Infinity,l,n,p,q=-1;c=c||"x";var t=d||"value";for(f.reset();f.advance();)h=f.S(),d=f.get(c),l=f.get(t),!m(a.Ea.kq)&&!isNaN(l)&&-Infinity<d&&(q=h),p=Math.abs(d-b),p<k&&!isNaN(l)&&(k=p,n=d,e.length=0),d==n&&e.push(h);m(a.Ea.kq)||(a.Ea.kq=q);a.Ea[n]=e}return e}
g.ek=function(a,b,c,d){av(this);if(!m(a)||!m(b))return null;this.g||(this.g={});var e=a+"|"+b;if(this.g[e])return this.g[e].slice();if(a>b){var f=a;a=b;b=f}var f=this.G(),h,k=d||"x",l=[];for(f.reset();f.advance();)h=f.S(),d=c?h:f.get(k),d>=a&&d<=b&&l.push(h);return this.g[e]=l};g.get=function(a,b){return a>=this.Za()?void 0:Gb(this.$f(a),this.Lc(a),a,b)};g.set=function(a,b,c){var d=this.Lc(a);m(d)&&this.Lc(a,iv(this.$f(a),d,b,c));return this};g.G=function(){av(this);return new Fb(this)};g.an=function(){return null};g.St=function(a){this.g=this.Ea=this.b=null;Y(a,16)&&T(this,1,16)};g.l=function(a,b,c){if(this.iA)return this.Rt.apply(this,arguments);this.xn||(this.xn=[]);var d=this.xn[a];d||(this.xn[a]=d={});return 2<arguments.length?(d[b]=c,this):d[b]};g.Rt=function(a,b,c){a=this.pg?this.pg[a]:a;if(!m(a))throw Error("Index can not be masked by this View");return 2<arguments.length?(this.a.l(a,b,c),this):this.a.l(a,b)};function jv(a,b){var c,d,e,f,h,k;d=a.Lc(b);if(r(d))for(h in e=a.$f(b).N(),c={},e)for(f=e[h],k=0;k<f.length;k++){if(f[k]in d){f=d[f[k]];f instanceof Date&&(f=f.getTime());if(!m(f)||y(f)&&isNaN(f))f=null;c[h]=f;break}}else if(B(d)){e=a.$f(b).w();c={};for(h in e)for(f=e[h],k=0;k<f.length;k++)if(f[k]in d){f=d[f[k]];f instanceof Date&&(f=f.getTime());if(!m(f)||y(f)&&isNaN(f))f=null;c[h]=f;break}for(h in d)if(d.hasOwnProperty(h)&&!(h in e)){f=d[h];f instanceof Date&&(f=f.getTime());if(!m(f)||y(f)&&isNaN(f))f=null;c[h]=f}}else{if(!m(d)||y(d)&&isNaN(d))d=null;c=d}return c}g.o=function(){for(var a=[],b=this.G();b.advance();)a.push(jv(this,b.S()));return a};$u.prototype.derive=$u.prototype.Rg;$u.prototype.filter=$u.prototype.filter;$u.prototype.sort=$u.prototype.ux;$u.prototype.concat=$u.prototype.concat;$u.prototype.row=$u.prototype.Lc;$u.prototype.getRowsCount=$u.prototype.Za;$u.prototype.getIterator=$u.prototype.G;$u.prototype.getDataSets=$u.prototype.tl;$u.prototype.meta=$u.prototype.l;$u.prototype.get=$u.prototype.get;$u.prototype.set=$u.prototype.set;$u.prototype.find=$u.prototype.hj;function gv(a,b){$u.call(this,a);this.c=b;b.pa("signal",this.St,!1,this)}G(gv,$u);g=gv.prototype;g.$=0;g.$f=function(a){var b=this.a.Za();return a<b?this.a.$f(a):this.c.$f(a-b)};g.tl=function(){var a=this.a.tl(),b=this.c.tl();return Xf(a,b)};g.Lc=function(a,b){var c=this.a.Za();if(a<c)return this.a.Lc.apply(this.a,arguments);a-=c;return this.c.Lc.apply(this.c,arguments)};g.Za=function(){return this.a.Za()+this.c.Za()};g.St=function(a){this.b=null;Y(a,16)&&this.ca(16)};g.Rt=function(a,b,c){var d=this.a.Za();a<d?d=this.a:(a-=d,d=this.c);return 2<arguments.length?(d.l(a,b,c),this):d.l(a,b)};function dv(a,b,c){$u.call(this,a);this.c=b;this.h=c}G(dv,$u);dv.prototype.an=function(){for(var a=[],b=this.a.G();b.advance();)this.h(b.get(this.c))&&a.push(b.S());return a};function kv(a,b,c,d,e,f){$u.call(this,a);lv(this,b,c,d,e,f)}G(kv,$u);g=kv.prototype;g.ia=16;g.$=0;function Gb(a,b,c,d){var e,f=ea(b);if("array"==f){if(f=a.h[d])for(var h=0;h<f.length;h++)if(f[h]<b.length){e=b[f[h]];break}}else"object"==f?e=or(b,d,a.m[d]):-1<Lf(a.j,d)&&(e=b);!m(e)&&-1<Lf(a.B,d)&&(e=c);return e}
function iv(a,b,c,d){var e=ea(b);if("array"==e){if(a=a.h[c]){c=a[0];for(e=0;e<a.length;e++){if(a[e]<b.length)return b[a[e]]=d,b;a[e]<c&&(c=a[e])}b[c]=d;return b}K(5,null,[c])}else"object"==e?or(b,c,a.m[c],d,a.H):-1<Lf(a.j,c)?b=d:K(7,null,[c]);return b}g.$f=function(){return this};g.Lc=function(a,b){return this.a.Lc.apply(this.a,arguments)};g.Za=function(){return this.a.Za()};g.St=function(a){this.b=null;Y(a,16)&&this.ca(16)};var mv={x:[0],value:[1,0],size:[2,1],open:[1],high:[2],low:[3,1],close:[4],lowest:[1],q1:[2],median:[3],q3:[4],highest:[5],outliers:[6],id:[0],lat:[0],"long":[1],points:[0],y:[1],heat:[2]},nv={x:["column","x"],value:["value","y","close","heat"],lowest:["lowest","low"],highest:["highest","high"],lat:["lat","y","value"],"long":["long","lon","x"],y:["row","y"],heat:["heat","value"]},ov=["value","close"],pv=["x"];function lv(a,b,c,d,e,f){var h;if(B(b))for(h in b)r(b[h])||(b[h]=[b[h]]);else b=void 0;if(B(c))for(h in c)r(c[h])||(c[h]=[c[h]]);else c=void 0;a.h=b||mv;a.m=c||nv;a.j=d||ov;a.B=e||pv;a.H=!!f}kv.prototype.N=function(){return this.h};kv.prototype.w=function(){return this.m};kv.prototype.F=function(){return this.j};kv.prototype.D=function(){return this.B};E("anychart.data.Mapping.DEFAULT_ARRAY_MAPPING",mv);E("anychart.data.Mapping.DEFAULT_OBJECT_MAPPING",nv);E("anychart.data.Mapping.DEFAULT_SIMPLE_ROW_MAPPING",ov);E("anychart.data.Mapping.DEFAULT_INDEX_MAPPING",pv);kv.prototype.getRowsCount=kv.prototype.Za;kv.prototype.getIterator=kv.prototype.G;kv.prototype.row=kv.prototype.Lc;kv.prototype.getArrayMapping=kv.prototype.N;kv.prototype.getObjectMapping=kv.prototype.w;kv.prototype.getSimpleRowMapping=kv.prototype.F;kv.prototype.getIndexMapping=kv.prototype.D;function qv(a,b,c){$u.call(this,a);this.j=b;this.c=[];for(a=0;a<c.length;a++)jg(this.c,{value:c[a],index:a},this.h)}G(qv,$u);qv.prototype.h=function(a,b){return pr(a.value,b.value)};qv.prototype.an=function(){var a=[],b=this.c.length;if(b){for(var c=Array(b),d=this.a.G(),e={value:0,index:0};d.advance();){var f=d.get(this.j);m(f)&&(e.value=f,f=Wa(this.c,e,this.h),0<=f&&(c[this.c[f].index]=d.S()))}for(d=0;d<b;d++)d in c&&a.push(c[d])}return a};function cv(a,b,c,d,e){$u.call(this,a);this.j=b;this.h=c||null;this.m=d||function(a,b){a.value+=Math.max(0,+b)||0;return a};this.N=e||function(){return{value:0}};this.c=new rv;this.c.l(0,"groupedPoint",!0)}G(cv,$u);g=cv.prototype;g.an=function(){var a=[],b=this.a.G(),c=void 0,d=void 0;if(this.h)for(;b.advance();){var e=b.get(this.j),f=b.get("name");m(f)||(f="Point "+b.S());this.h(e)?a.push(b.S()):c?(c.push(e),d.push(f)):(c=[e],d=[f])}else for(e=0,b=b.Za();e<b;e++)a.push(e);c?(this.c.Lc(0,Pf(c,this.m,this.N())),this.c.l(0,"names",d),this.c.l(0,"values",c)):(this.c.Lc(0,c),this.c.l(0,"names",[]),this.c.l(0,"values",[]));return a};g.Za=function(){av(this);return(this.pg?this.pg.length:this.a.Za())+this.c.Za()};g.$f=function(a){av(this);var b=this.a.Za();return a<b?this.a.$f(a):this.c.$f(a-b)};g.Lc=function(a,b){av(this);var c=this.pg?this.pg.length:this.a.Za();if(a<c)return $u.prototype.Lc.apply(this,arguments);a-=c;return this.c.Lc.apply(this.c,arguments)};g.Rt=function(a,b,c){var d=this.pg?this.pg.length:this.a.Za();if(a>d)throw Error("Index can not be masked by this View");return a>=d?(a-=d,2<arguments.length?(this.c.l.apply(this.c,arguments),this):this.c.l.apply(this.c,arguments)):$u.prototype.Rt.apply(this,arguments)};function rv(){Oj.call(this);lv(this);this.c=void 0}G(rv,kv);rv.prototype.Lc=function(a,b){if(0==a){var c=this.c;1<arguments.length&&(this.c=b);return c}};rv.prototype.l=function(a,b,c){if(0==a)return $u.prototype.l.apply(this,arguments)};rv.prototype.Za=function(){return m(this.c)?1:0};cv.prototype.row=cv.prototype.Lc;cv.prototype.getRowsCount=cv.prototype.Za;function sv(a,b,c){$u.call(this,a);this.h=b;this.c=c}G(sv,$u);sv.prototype.an=function(){for(var a=[],b=[],c=this.a.G();c.advance();){var d=c.get(this.h);if(m(d)){this.c&&(d=xb(d));var e=Wa(b,d,pr);0>e?(Za(b,d,~e),Za(a,c.S(),~e)):a[e]=c.S()}}return a};function tv(a,b){for(var c=a.G(),d=c.Za(),e=0,f=d,h,k;e<f;){var l=e+f>>1;c.select(l);k=c.get("x");a.c&&(k=xb(k));k=pr(b,k);0<k?e=l+1:(f=l,h=!k)}if(h||0==e)return e;if(e==d)return e-1;c.select(e);d=c.get("x");c.select(e-1);c=c.get("x");return Math.abs(d-b)<=Math.abs(c-b)?e:e-1}sv.prototype.ek=function(a,b){av(this);for(var c=tv(this,a),d=tv(this,b),e=[];c<=d;c++)e.push(c);return e};sv.prototype.hj=function(a,b){if("x"!=a)return sv.v.hj.call(this,a,b);av(this);return tv(this,b)};function fv(a,b){Oj.call(this);this.data(a||null,b)}G(fv,dt);g=fv.prototype;g.ia=16;g.data=function(a,b){if(m(a)){bs++;if(u(a))try{var c=new De;B(b)&&(c.zq(b.rowsSeparator),c.Gp(b.columnsSeparator),c.gq(b.ignoreTrailingSpaces),c.eq(b.ignoreFirstRow));a=c.wp(a)}catch(e){if(e instanceof Error)try{aa.console.log(e.message)}catch(f){}a=null}if(ha(a)){for(var c=zb(a,0),d=c.length;d--;)ha(c[d])&&(c[d]=zb(c[d],0));this.a=c;this.ca(16)}else this.a&&0<this.a.length?(this.a.length=0,this.ca(16)):this.a=[];es();return this}return this.a};g.Pd=function(a,b,c,d){a=new kv(this,a,b,c,d);L(this,a);return a};g.Lc=function(a,b){var c=this.a[a];1<arguments.length&&(bs++,this.a[a]=b,this.ca(16),es());return c};g.DM=function(a){bs++;this.a.push.apply(this.a,arguments);this.ca(16);es();return this};g.PO=function(a,b){bs++;Za(this.a,a,b);this.ca(16);es();return this};g.remove=function(a){bs++;Wf(this.a,a);this.ca(16);es();return this};g.Za=function(){return this.a.length};g.$f=function(){throw Error("Wrong usage of the data Set");};g.l=function(){throw Error("Wrong usage of the data Set");};g.tl=function(){return[this]};E("anychart.data.set",function(a,b){return new fv(a,b)});fv.prototype.data=fv.prototype.data;fv.prototype.mapAs=fv.prototype.Pd;fv.prototype.row=fv.prototype.Lc;fv.prototype.append=fv.prototype.DM;fv.prototype.insert=fv.prototype.PO;fv.prototype.remove=fv.prototype.remove;fv.prototype.getRowsCount=fv.prototype.Za;function ev(a,b,c){$u.call(this,a);this.h=b;var d=A(c)?c:"desc"==cc(c,"asc")?sr:pr;this.c=function(a,b){return d(a.value,b.value)||a.index-b.index}}G(ev,$u);ev.prototype.an=function(){for(var a=[],b=this.a.G();b.advance();)a.push({value:b.get(this.h),index:b.S()});db(a,this.c);for(b=a.length;b--;)a[b]=a[b].index;return a};E("anychart.data.mapAsTable",function(a,b,c){if(!a||!r(a))return[];if(m(b))switch(b=String(b).toLowerCase(),b){case"range":b=2;break;case"ohlc":b=4;break;default:b=1}else b=1;var d;if(!m(c)||isNaN(d=Ea(c,NaN,!1)))d=r(a[0])?Math.floor((a[0].length-1)/b):0;if(isNaN(d)||0>=d)return[];a=new fv(a);c=[];if(1==b)for(b=0;b<d;b++)c.push(a.Pd({x:[0],value:[1+b]}));else if(2==b)for(b=0;b<d;b++)c.push(a.Pd({x:[0],low:[1+2*b],high:[2*b+2]}));else if(4==b)for(b=0;b<d;b++)c.push(a.Pd({x:[0],open:[1+4*b],high:[4*b+2],low:[4*b+3],close:[4*b+4]}));return c});var uv="anychart";function vv(a){m(a)&&(uv=a);return uv}E("anychart.exports.filename",vv);E("anychart.exports.server",as);function Z(){Oj.call(this);this.N=new Kj(this);T(this,4294967295)}G(Z,dt);g=Z.prototype;g.Xb=null;g.dg=null;g.oe=0;g.xr=!0;g.Ss=!1;g.ia=9;g.$=15;function wv(a,b,c,d,e,f,h,k){b.tag=a;a.N.pa(b,"click",e||a.re);a.N.pa(b,"dblclick",a.re);a.N.pa(b,"mouseover",c||a.re);a.N.pa(b,"mouseout",d||a.re);a.N.pa(b,"mousedown",h||a.re);a.N.pa(b,"mouseup",k||a.re);a.N.pa(b,"mousemove",f||a.re);a.N.pa(b,"touchstart",a.re);a.N.pa(b,"touchend",a.re);a.N.pa(b,"touchcancel",a.re);a.N.pa(b,"touchmove",a.re);a.N.pa(b,"contextmenu",a.re)}
function xv(a,b,c,d,e,f,h,k){a.N.pa(b,"click",e||h||a.Me);a.N.pa(b,"dblclick",h||a.Me);a.N.pa(b,"mouseover",c||h||a.Me);a.N.pa(b,"mouseout",d||h||a.Me);a.N.pa(b,"mousedown",k||h||a.Me);a.N.pa(b,"mouseup",h||a.Me);a.N.pa(b,"mousemove",f||h||a.Me);a.N.pa(b,"touchstart",h||a.Me);a.N.pa(b,"touchend",h||a.Me);a.N.pa(b,"touchcancel",h||a.Me);a.N.pa(b,"touchmove",h||a.Me);a.N.pa(b,"contextmenu",h||a.Me)}g.re=function(a){a.b();var b=this.ee(a);b.HP=a;b.getOriginalEvent=function(){return this.HP};return this.dispatchEvent(b)};g.Me=function(){};g.ee=function(a){return{type:a.type,target:this,relatedTarget:yv(a.relatedTarget)||a.relatedTarget,domTarget:a.target,relatedDomTarget:a.relatedTarget,offsetX:a.offsetX,offsetY:a.offsetY,clientX:a.clientX,clientY:a.clientY,screenX:a.screenX,screenY:a.screenY,button:a.button,keyCode:a.keyCode,charCode:a.charCode,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,platformModifierKey:a.platformModifierKey,state:a.state}};function yv(a){for(;a instanceof $n;){if(a.tag instanceof Z)return a.tag;a=a.parent()}return null}g.A=function(a){if(m(a)){if(this.Xb!=a){var b=this.Xb&&this.Xb.oa()&&this.Xb.oa().Fa();if(u(a)||$i(a)){if(this.Xb=Mp(),L(this,this.Xb),"vml"!=Jp&&this.Xb.P().setAttribute("role","presentation"),this.Xb.A(a),!this.Xb.A())return this.Xb.Sd(),this.Xb=null,this}else this.Xb=a;a=2;var c=this.Xb&&this.Xb.oa()&&this.Xb.oa().Fa();di(b,c)||(a|=4);T(this,a,1)}return this}return this.Xb};g.zIndex=function(a){return m(a)?(a=+a||0,this.Ah!=a&&(this.Ah=a,T(this,8,1)),this):m(this.Ah)?this.Ah:this.oe};g.enabled=function(a){return m(a)?(this.xr!=a&&(this.xr=a,T(this,1,this.Dg()),this.xr?(this.Ss=!1,this.O(!0)):isNaN(this.wh)?X(this):this.Ss=!0),this):this.xr};g.Dg=function(){return 9};g.O=function(a){var b=this.Ss&&1==this.eA,c;b&&(c=this.wh,this.wh=this.Dg(),this.Ss=!1);Z.v.O.call(this,a);b&&(X(this),c&&this.ca(c));return this};g.tb=function(){if(!this.Tb||this.wc)return!1;if(!this.enabled())return W(this,1)&&(this.remove(),U(this,1),T(this,2)),!1;if(!this.A())return this.remove(),T(this,2),Rc(1),!1;U(this,1);return!0};g.remove=ba;g.R=function(a,b,c,d){if(m(a)){var e,f,h,k;null===a?this.dg&&(this.dg=null,this.Ki()):a instanceof M?(e=a.left,f=a.top,h=a.width,k=a.height):B(a)?(e=a.left,f=a.top,h=a.width,k=a.height):(e=a,f=b,h=c,k=d);e=I(e);f=I(f);h=I(h);k=I(k);isNaN(e)||isNaN(f)||isNaN(h)||isNaN(k)||this.dg&&this.dg.left==e&&this.dg.top==f&&this.dg.width==h&&this.dg.height==k||(this.dg?(this.dg.left=e,this.dg.top=f,this.dg.width=h,this.dg.height=k):this.dg=Nl(e,f,h,k),this.Ki());return this}if(this.dg)return this.dg.clone();var l;return this.Xb&&(l=this.Xb.oa())?l.Fa():null};g.Ki=function(){T(this,4,9)};g.pk=function(a,b,c,d){var e=this.A()?this.A().oa():null;e&&e.pk(a,b,c,d||vv())};g.mk=function(a,b,c,d,e){var f=this.A()?this.A().oa():null;f&&f.mk(a,b,c,d,e||vv())};g.nk=function(a,b,c,d,e){var f=this.A()?this.A().oa():null;f&&f.nk(a,b,c,d,e||vv())};g.qk=function(a,b,c){var d=this.A()?this.A().oa():null;d&&d.qk(a,b,c||vv())};g.Vv=function(a,b){var c=this.A()?this.A().oa():null;return c?c.Jk(a,b):""};g.print=function(a,b){var c=this.A()&&this.A().oa();c&&c.print(a,b)};g.gQ=function(){K(405,null,["saveAsPNG()","saveAsPng()"],!0);this.pk()};g.dQ=function(){K(405,null,["saveAsJPG()","saveAsJpg()"],!0);this.mk()};g.fQ=function(){K(405,null,["saveAsPDF()","saveAsPdf()"],!0);this.nk()};g.hQ=function(){K(405,null,["saveAsSVG()","saveAsSvg()"],!0);this.qk()};g.MQ=function(){K(405,null,["toSVG()","toSvg()"],!0);return this.Vv()};g.o=function(){var a=Z.v.o.call(this);a.enabled=this.enabled();m(this.Ah)&&(a.zIndex=this.zIndex());return a};g.jc=function(a){var b=arguments[0];return ia(b)||null===b?(this.enabled(!!b),!0):dt.prototype.jc.apply(this,arguments)};g.K=function(a){Z.v.K.call(this,a);this.enabled("enabled"in a?a.enabled:!0);this.zIndex(a.zIndex)};g.V=function(){Ad(this.N);this.dg=this.N=null;Z.v.V.call(this)};Z.prototype.saveAsPNG=Z.prototype.gQ;Z.prototype.saveAsJPG=Z.prototype.dQ;Z.prototype.saveAsSVG=Z.prototype.hQ;Z.prototype.saveAsPDF=Z.prototype.fQ;Z.prototype.toSVG=Z.prototype.MQ;Z.prototype.zIndex=Z.prototype.zIndex;Z.prototype.enabled=Z.prototype.enabled;Z.prototype.print=Z.prototype.print;function zv(){Z.call(this);this.a=Yn();wv(this,this.a);L(this,this.a)}G(zv,Z);g=zv.prototype;g.ia=Z.prototype.ia;g.$=Z.prototype.$;g.length=function(a){return m(a)?(this.Kc!=a&&(this.Kc=a,this.ca(9)),this):this.Kc};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.c!=f&&(this.c=f,this.ca(1));return this}return this.c};g.remove=function(){this.a&&this.a.parent(null)};g.I=function(){this.a.clear();this.a.stroke(this.c);if(!this.tb())return this;W(this,8)&&(this.a.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.a.parent(this.A()),U(this,2));return this};g.um=function(a,b,c,d){this.a.moveTo(a,b);this.a.lineTo(c,d)};g.o=function(){var a=zv.v.o.call(this);a.length=this.length();a.stroke=P(this.stroke());return a};g.K=function(a){zv.v.K.call(this,a);this.length(a.length);this.stroke(a.stroke)};zv.prototype.length=zv.prototype.length;zv.prototype.stroke=zv.prototype.stroke;function Av(){Z.call(this);this.path=Yn();wv(this,this.path);L(this,this.path)}G(Av,Z);g=Av.prototype;g.ia=Z.prototype.ia;g.$=Z.prototype.$;g.length=function(a){return m(a)?(a=I(a),this.Kc!=a&&(this.Kc=a,this.ca(9)),this):this.Kc};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.c!=f&&(this.c=f,this.ca(1));return this}return this.c};g.position=function(a){return m(a)?(this.h=qc(a),this.ca(9),this):this.h};g.orientation=function(a){return m(a)?(a=bc(a),this.m!=a&&(this.m=a,this.b=null),this):this.m};g.remove=function(){this.path&&this.path.parent(null)};g.I=function(){this.path.clear();this.path.stroke(this.c);if(!this.tb())return this;W(this,8)&&(this.path.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.path.parent(this.A()),U(this,2));return this};function Bv(a){if(!a.b)switch(a.m){case"top":a.b=a.HE;break;case"right":a.b=a.GE;break;case"bottom":a.b=a.zE;break;case"left":a.b=a.CE}return a.b}g.HE=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);var f=c.top;b=1==a?b+e:b-e;"outside"==this.h?(f-=d/2,a=-this.Kc):(f="center"==this.h?c.top+c.height/2-this.Kc/2:f+d/2,a=this.Kc);this.path.moveTo(b,f);this.path.lineTo(b,f+a)};g.GE=function(a,b,c,d,e){c=c.left;b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;"outside"==this.h?(c+=d/2,a=this.Kc):"center"==this.h?(c-=this.Kc/2,a=this.Kc):(c-=d/2,a=-this.Kc);this.path.moveTo(c,b);this.path.lineTo(c+a,b)};g.zE=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);c=c.top;b=1==a?b+e:b-e;"outside"==this.h?(c+=d/2,a=this.Kc):"center"==this.h?(c-=this.Kc/2,a=this.Kc):(c-=d/2,a=-this.Kc);this.path.moveTo(b,c);this.path.lineTo(b,c+a)};g.CE=function(a,b,c,d,e){c=c.left;b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;"outside"==this.h?(c-=d/2,a=-this.Kc):(c="center"==this.h?c-this.Kc/2:c+d/2,a=this.Kc);this.path.moveTo(c,b);this.path.lineTo(c+a,b)};g.o=function(){var a=Av.v.o.call(this);a.stroke=P(this.stroke());a.length=this.length();a.position=this.position();return a};g.K=function(a){Av.v.K.call(this,a);this.length(a.length);this.stroke(a.stroke);this.position(a.position)};Av.prototype.length=Av.prototype.length;Av.prototype.stroke=Av.prototype.stroke;Av.prototype.position=Av.prototype.position;function Cv(){Z.call(this)}G(Cv,Z);g=Cv.prototype;g.$=Z.prototype.$|65552;g.ia=Z.prototype.ia|4;g.fill=function(a){return m(a)?(a=Bn(a),this.g!=a&&(this.g=a,T(this,16,1)),this):this.g};g.Yb=function(a){return m(a)?(a=null===a?a:xr(a),this.xa!=a&&(this.xa=a,T(this,4,1)),this):this.xa};g.wm=function(a){return m(a)?(a=xr(a),this.c!=a&&(this.c=a,T(this,4,9)),this):this.c};g.Rd=function(a){return m(a)?(this.w!=a&&(this.w=a,T(this,4,5)),this):this.w};g.Hc=function(a){return m(a)?(this.b!=a&&(this.b=a),this):this.b};g.Wc=function(a){return m(a)?(a=+a,this.B!=a&&(this.B=a,T(this,4,1)),this):this.B};g.Zc=function(a){return m(a)?(a=+a,this.D!=a&&(this.D=a,T(this,4,1)),this):this.D};g.position=function(a){return m(a)?(a=pc(a),this.h!=a&&(this.h=a,T(this,4,9)),this):this.h};g.uu=function(a){return m(a)?(a=null===a?a:xr(a),this.m!=a&&(this.m=a,T(this,4,9)),this):this.m};g.Ws=function(a){return m(a)?(a=null===a?a:xr(a),this.j!=a&&(this.j=a,T(this,4,9)),this):this.j};function Dv(a,b,c,d,e,f,h){h=m(h)?h:!1;var k,l,n,p=(f-e)/(d-c),q=a.b.Ma,t=a.b.Ja;if(d>c)for(a=c;a<=d;a++)k=e+p*(a-c),n=a*Math.PI/180,l=q+k*Math.cos(n),k=t+k*Math.sin(n),h&&a==c?b.moveTo(l,k):b.lineTo(l,k);else for(a=c;a>=d;a--)k=e+p*(a-c),n=a*Math.PI/180,l=q+k*Math.cos(n),k=t+k*Math.sin(n),h&&a==c?b.moveTo(l,k):b.lineTo(l,k);n=d*Math.PI/180;l=q+f*Math.cos(n);k=t+f*Math.sin(n);b.lineTo(l,k)}
function Ev(a,b,c,d,e){return"outside"==a.h?b*(1+(e?0:d))+c/2:"inside"==a.h?b*(1-(e?0:d))-c/2:b*(1+(e?-.5:.5)*d)}g.remove=function(){this.P&&this.P.parent(null);this.a&&this.a.length&&Mf(this.a,function(a){a.parent(null)})};function Fv(a,b,c,d){var e=a.b.Ja;d=Bh(d);b.x=a.b.Ma+c*Math.cos(d);b.y=e+c*Math.sin(d)}
function Gv(a,b,c,d,e,f,h,k,l,n,p,q,t,v,w,x,z){var C=(c+d)/2,F=(e+f)/2,J=(h+k)/2,O=a.b.Ma,S=a.b.Ja,da=b[t],V={},Ka={},bb={},Fa={};Fv(a,V,e,c);Fv(a,Ka,f,d);Fv(a,bb,k,d);Fv(a,Fa,h,c);var Bb=Nl(0,0,0,0);Bb.left=Math.min(V.x,Ka.x,bb.x,Fa.x);Bb.top=Math.min(V.y,Ka.y,bb.y,Fa.y);Bb.width=Math.max(V.x,Ka.x,bb.x,Fa.x)-Bb.left;Bb.height=Math.max(V.y,Ka.y,bb.y,Fa.y)-Bb.top;V=[];Ka={};bb={};Ka.position="0";Ka.opacity=n;Ka.color=l;V.push(Ka);bb.position="1";bb.opacity=q;bb.color=p;V.push(bb);n=(l=Hv(a.b,a.Rd()).scale().bc())?-1:1;p={};p.angle=-(C+90*n);p.keys=V;q=Yn();Dv(a,q,c,C,(h+e)/2,(J+F)/2,!0);Dv(a,q,C,d,(J+F)/2,(k+f)/2,!1);p.mode=q.Fa();Dv(a,da,c,C,e,F,!0);Dv(a,da,C,c,J,h,!1);0==t&&v&&(h=O+Dh(c,e),c=S+Eh(c,e),v<w/2?da.oc(h,c,w-v,w-v,!1,l):da.oc(h,c,v,v,!0,l));Dv(a,da,C,d+.1*n,F,f,!0);t==b.length-1&&x&&(h=O+Dh(d+.1,k),c=S+Eh(d+.1,k),x<z/2?da.oc(h,c,z-x,z-x,!1,l):da.oc(h,c,x,x,!0,l));Dv(a,da,d+.1*n,C,k,J,!1);da.fill(p);Ad(q)}function Iv(a){a.a&&a.a.length&&Mf(a.a,function(a){a.clear()})}
g.I=function(){var a=this.b,b=Hv(a,this.Rd());if(!this.tb())return this;if(!b||!b.enabled())return this.P&&this.P.clear(),Iv(this),this;var c=this.fill(),d=B(c)&&m(c.keys)&&!m(c.cx)&&!m(c.cy);d&&T(this,4);Iv(this);if(W(this,4)){var e=b.scale(),f=parseFloat(this.B),h=parseFloat(this.D);if(e.Oc(f)||e.Oc(h))return this.P&&this.P.clear(),U(this,4),this;this.P?this.P.clear():this.P=Yn();this.a||(this.a=[]);Iv(this);if(f!=h){var k=h<f,l=ub(e.transform(k?h:f),0,1),n=ub(e.transform(k?f:h),0,1);if(l==n)return this;f=m(b.Wa())?b.bf():a.bf();h=m(b.sc())?b.sc():a.sc();e=f+l*h;f+=n*h;h=f-e;0==h&&(h=l==n?0:360);var n=Bh(e),l=Bh(f),p=null!=this.m?this.m:0,q=null!=this.j?this.j:"10%",t=parseFloat(k?q:p)/100,p=parseFloat(k?p:q)/100,q=null!=this.xa?Q(this.xa,a.ud()):b.ud(),v=null!=this.xa?0:b.Wd,k=Ev(this,q,v,t,!0),w=Ev(this,q,v,p,!0),t=Ev(this,q,v,t,!1),p=Ev(this,q,v,p,!1),q=t-k,v=Q(this.wm(),q),x=p-w,z=Q(this.wm(),x),C,F=a.Ma,a=a.Ja;if(d){for(var J=c.keys,O=c.keys.length,S=0;S<O-1;S++)this.a[S]?C=this.a[S]:this.a[S]=C=Yn(),C.clear().stroke("none").fill("none").parent(this.A()).zIndex(this.zIndex());for(S=0;S<O-1;S++){C=J[S];var da=J[S+1],V=C.offset,Ka=da.offset;Gv(this,this.a,e+h*V,e+h*Ka,k+(w-k)*V,k+(w-k)*Ka,t+(p-t)*V,t+(p-t)*Ka,C.color,m(C.opacity)?C.opacity:m(c.opacity)?c.opacity:1,da.color,m(da.opacity)?da.opacity:m(c.opacity)?c.opacity:1,S,v,q,z,x)}}k==w?(c=F+Math.cos(n)*k,C=a+Math.sin(n)*k,this.P.moveTo(c,C),this.P.wo(k,k,e,h)):(c=F+Math.cos(n)*k,C=a+Math.sin(n)*k,this.P.moveTo(c,C),Dv(this,this.P,e,f,k,w));b=b.scale().bc();z&&(c=F+Dh(f,p),C=a+Eh(f,p),z<x/2?this.P.oc(c,C,x-z,x-z,!1,b):this.P.oc(c,C,z,z,!0,b));p==t?(c=F+Math.cos(l)*p,l=a+Math.sin(l)*p,z||this.P.lineTo(c,l),this.P.wo(p,p,f,-h)):Dv(this,this.P,f,e,p,t);v&&(c=F+Dh(e,k),C=a+Eh(e,k),v<q/2?this.P.oc(c,C,q-v,q-v,!1,b):this.P.oc(c,C,v,v,!0,b));this.P.close()}else this.P.clear();U(this,4)}W(this,16)&&(d?this.P.fill("none"):this.P.fill(this.fill()),this.P.stroke("none"),U(this,16));W(this,8)&&(this.P.zIndex(this.zIndex()),this.a&&this.a.length&&Mf(this.a,function(a){a.zIndex(this.zIndex())},this),U(this,8));W(this,2)&&(this.P.parent(this.A()),this.a&&this.a.length&&Mf(this.a,function(a){a.parent(this.A())},this),U(this,2));return this};g.o=function(){var a=Cv.v.o.call(this);a.axisIndex=this.Rd();a.fill=P(this.fill());a.position=this.position();m(this.Wc())&&(a.from=this.Wc());m(this.Zc())&&(a.to=this.Zc());m(this.uu())&&(a.startSize=this.uu());m(this.Ws())&&(a.endSize=this.Ws());m(this.Yb())&&(a.radius=this.Yb());m(this.wm())&&(a.cornersRounding=this.wm());return a};g.K=function(a){Cv.v.K.call(this,a);this.Rd(a.axisIndex);this.Wc(a.from);this.Zc(a.to);this.fill(a.fill);this.position(a.position);this.uu(a.startSize);this.Ws(a.endSize);this.Yb(a.radius);this.wm(a.cornersRounding)};g.V=function(){Ad(this.P);this.P=null;Bd(this.a);this.a=null;Cv.v.V.call(this)};Cv.prototype.fill=Cv.prototype.fill;Cv.prototype.axisIndex=Cv.prototype.Rd;Cv.prototype.position=Cv.prototype.position;Cv.prototype.startSize=Cv.prototype.uu;Cv.prototype.endSize=Cv.prototype.Ws;Cv.prototype.from=Cv.prototype.Wc;Cv.prototype.to=Cv.prototype.Zc;Cv.prototype.radius=Cv.prototype.Yb;Cv.prototype.cornersRounding=Cv.prototype.wm;function Jv(){Z.call(this);this.h=this.b=null}G(Jv,Z);g=Jv.prototype;g.ia=Z.prototype.ia|8;g.$=Z.prototype.$|20;g.ce=function(a){this.h=a};function Kv(a,b){return m(b)?(a.ha!=b&&(a.ha&&et(a.ha,a.oC,a),a.ha=b,R(a.ha,a.oC,a),T(a,4,9)),a):a.ha?a.ha:a.b?a.b.scale():null}g.oC=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)&&(b|=1);T(this,4,b|8)};function Lv(a,b){return m(b)?(a.a!==b&&(a.a=b,T(a,4,9)),a):a.a}g.nC=function(){T(this,4,9)};g.axis=function(a){return m(a)?(this.b!=a&&(this.b&&et(this.b,this.nC,this),this.b=a,R(this.b,this.nC,this),T(this,4,9)),this):this.b};g.pe=function(a,b,c,d){this.w||(this.w=new xu,L(this,this.w));return m(a)?(this.w.C.apply(this.w,arguments),this):this.w};g.$a=function(){return"horizontal"==this.jh()};g.Vk=void 0;g.ap=void 0;g.I=function(){if(!this.scale())return Rc(2),this;if(!this.tb())return this;if(W(this,8)){var a=this.zIndex();Mv(this).zIndex(a);U(this,8)}W(this,2)&&(a=this.A(),Mv(this).parent(a),U(this,2));W(this,16)&&(this.ap(),U(this,16));W(this,4)&&(this.Vk(),U(this,4));return this};function Nv(a){var b=a.scale();if(b){var c=Mv(a),b=b.transform(a.a,.5);if(!isNaN(b)&&(c.clear(),0<=b&&1>=b)){var d=0==c.Ej()%2?0:-.5,e=a.R(),f=a.pe();a.$a()?(a=Math.round(e.Va()+e.height-b*e.height),1==b?a-=d:a+=d,c.moveTo(e.Qa(),a),c.lineTo(e.Oa(),a)):(a=Math.round(e.Qa()+b*e.width),1==b?a+=d:a-=d,c.moveTo(a,e.Va()),c.lineTo(a,e.ra()));c.clip(f.Ve(e))}}else Rc(2)}
function Ov(a){var b=a.a,c=a.scale();if(c){var d=Mv(a),e=b.Zc,f=b.Wc,h=c.transform(f),k=c.transform(e);h>k&&(e=b.Wc,f=b.Zc);f=c.transform(f,0);c=c.transform(e,1);b=Math.min(c,f);f=Math.max(c,f);isNaN(b)||isNaN(f)||(d.clear(),0<=f&&1>=b&&(b=ub(b,0,1),f=ub(f,0,1),c=a.R(),e=a.pe(),a.$a()?(a=Math.floor(c.ra()-c.height*f),b=Math.ceil(c.ra()-c.height*b),f=c.Qa(),h=c.Oa(),d.moveTo(f,a).lineTo(h,a).lineTo(h,b).lineTo(f,b).close()):(a=c.ra(),h=c.Va(),b=Math.floor(c.Qa()+c.width*b),f=Math.ceil(c.Qa()+c.width*f),d.moveTo(b,a).lineTo(b,h).lineTo(f,h).lineTo(f,a).close()),d.clip(e.Ve(c))))}else Rc(2)}g.remove=function(){Mv(this).parent(null)};function Mv(a){a.m||(a.m=Yn(),L(a,a.m));return a.m}g.K=function(a){Jv.v.K.call(this,a);"layout"in a&&a.layout&&this.jh(a.layout);"axis"in a&&(a=a.axis,y(a)?this.h&&this.axis(this.h.tj(a)):a instanceof Pv&&this.axis(a))};g.V=function(){this.h=this.b=null;Jv.v.V.call(this)};function Qv(a){Jv.call(this);Kv(this,a);this.a=0}G(Qv,Jv);g=Qv.prototype;g.ia=Jv.prototype.ia;g.$=Jv.prototype.$;g.scale=function(a){return m(a)?(K(500),this):Kv(this)};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.c!=f&&(this.c=f,T(this,16,1));return this}return this.c};g.value=function(a){return Lv(this,a)};g.jh=function(a){return m(a)?("horizontal"==a&&K(501),this):"vertical"};g.Vk=function(){Nv(this)};g.ap=function(){Mv(this).stroke(this.c)};g.V=function(){delete this.c;Qv.v.V.call(this)};g.o=function(){var a=Qv.v.o.call(this);a.value=this.value();a.stroke=P(this.stroke());return a};g.K=function(a){Qv.v.K.call(this,a);this.value(a.value);this.stroke(a.stroke)};Qv.prototype.value=Qv.prototype.value;Qv.prototype.scale=Qv.prototype.scale;Qv.prototype.layout=Qv.prototype.jh;Qv.prototype.stroke=Qv.prototype.stroke;Qv.prototype.isHorizontal=Qv.prototype.$a;function Rv(a){Jv.call(this);Kv(this,a);this.a={Wc:0,Zc:0}}G(Rv,Jv);g=Rv.prototype;g.ia=Jv.prototype.ia;g.$=Jv.prototype.$;g.jh=function(a){return m(a)?("horizontal"==a&&K(501),this):"vertical"};g.scale=function(a){return m(a)?(K(500),this):Kv(this)};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,1));return this}return this.g||"none"};g.Wc=function(a){return m(a)?(this.a.Wc!=a&&(this.a.Wc=a,T(this,4,9)),this):this.a.Wc};g.Zc=function(a){return m(a)?(this.a.Zc!=a&&(this.a.Zc=a,T(this,4,9)),this):this.a.Zc};g.Vk=function(){Ov(this)};g.ap=function(){Mv(this).stroke(null).fill(this.fill())};g.V=function(){delete this.g;Rv.v.V.call(this)};g.o=function(){var a=Rv.v.o.call(this);a.from=this.Wc();a.to=this.Zc();a.fill=P(this.fill());return a};g.K=function(a){Rv.v.K.call(this,a);this.Wc(a.from);this.Zc(a.to);this.fill(a.fill)};Rv.prototype.from=Rv.prototype.Wc;Rv.prototype.to=Rv.prototype.Zc;Rv.prototype.scale=Rv.prototype.scale;Rv.prototype.layout=Rv.prototype.jh;Rv.prototype.fill=Rv.prototype.fill;Rv.prototype.isHorizontal=Rv.prototype.$a;function Sv(){Jv.call(this);this.a=0;this.g="horizontal"}G(Sv,Jv);g=Sv.prototype;g.ia=Jv.prototype.ia;g.$=Jv.prototype.$;g.jh=function(a){return m(a)?(a=$b(a),this.j!=a&&(this.j=a,T(this,4,9)),this):this.j?this.j:this.axis()?(a=this.axis().orientation(),"left"==a||"right"==a?"horizontal":"vertical"):this.g};g.scale=function(a){return Kv(this,a)};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.c!=f&&(this.c=f,T(this,16,1));return this}return this.c};g.value=function(a){return Lv(this,a)};g.Vk=function(){Nv(this)};g.ap=function(){Mv(this).stroke(this.c)};g.V=function(){delete this.c;Sv.v.V.call(this)};g.o=function(){var a=Sv.v.o.call(this);a.value=this.value();a.stroke=P(this.stroke());this.j&&(a.layout=this.j);return a};g.K=function(a){Sv.v.K.call(this,a);this.value(a.value);this.stroke(a.stroke)};Sv.prototype.value=Sv.prototype.value;Sv.prototype.scale=Sv.prototype.scale;Sv.prototype.axis=Sv.prototype.axis;Sv.prototype.layout=Sv.prototype.jh;Sv.prototype.stroke=Sv.prototype.stroke;Sv.prototype.isHorizontal=Sv.prototype.$a;function Tv(){Sv.call(this)}G(Tv,Sv);E("anychart.axisMarkers.line",function(){var a=new Tv;a.C(Wq().standalones.lineAxisMarker);return a});Tv.prototype.draw=Tv.prototype.I;Tv.prototype.parentBounds=Tv.prototype.R;Tv.prototype.container=Tv.prototype.A;function Uv(){Sv.call(this)}G(Uv,Sv);Uv.prototype.Vk=function(){var a=ub(this.scale().transform(this.value(),.5),0,1);if(!isNaN(a)){var b=0==Mv(this).Ej()%2?0:-.5,c=this.R(),d=this.pe();Mv(this).clear();var e=this.h.zd,f=this.h.hd;if("horizontal"==this.jh()){var h=Math.round(c.Va()+c.height-a*c.height);1==a?h-=b:h+=b;Mv(this).moveTo(c.Qa(),h).lineTo(c.Qa()+e,h-f).lineTo(c.Oa()+e,h-f)}else"vertical"==this.jh()&&(h=Math.round(c.Qa()+a*c.width),1==a?h+=b:h-=b,Mv(this).moveTo(h+e,c.Va()-f).lineTo(h+e,c.ra()-f).lineTo(h,c.ra()));c.top-=f;c.height+=f;c.width+=e;Mv(this).clip(d.Ve(c))}};function Vv(){Jv.call(this);this.a={Wc:0,Zc:0};this.c="black";this.B="horizontal";Wv(this,"#c1c1c1 0.4")}G(Vv,Jv);g=Vv.prototype;g.ia=Jv.prototype.ia;g.$=Jv.prototype.$;g.jh=function(a){return m(a)?(a=$b(a),this.j!=a&&(this.j=a,T(this,4,9)),this):this.j?this.j:this.axis()?(a=this.axis().orientation(),"left"==a||"right"==a?"horizontal":"vertical"):this.B};function Xv(a,b){var c=!a.j&&a.B!=b;a.B=b;c&&T(a,4)}g.scale=function(a){return Kv(this,a)};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,1));return this}return this.g||this.c};function Wv(a,b){var c=!a.g&&a.c!=b;a.c=b;c&&T(a,16)}g.Wc=function(a){return m(a)?(this.a.Wc!=a&&(this.a.Wc=a,T(this,4,9)),this):this.a.Wc};g.Zc=function(a){return m(a)?(this.a.Zc!=a&&(this.a.Zc=a,T(this,4,9)),this):this.a.Zc};g.Vk=function(){Ov(this)};g.ap=function(){Mv(this).stroke(null).fill(this.fill())};g.V=function(){delete this.g;Vv.v.V.call(this)};g.o=function(){var a=Vv.v.o.call(this);a.from=this.Wc();a.to=this.Zc();this.g&&(a.fill=P(this.g));this.j&&(a.layout=this.j);return a};g.K=function(a){Vv.v.K.call(this,a);this.Wc(a.from);this.Zc(a.to);this.fill(a.fill)};Vv.prototype.from=Vv.prototype.Wc;Vv.prototype.to=Vv.prototype.Zc;Vv.prototype.scale=Vv.prototype.scale;Vv.prototype.axis=Vv.prototype.axis;Vv.prototype.layout=Vv.prototype.jh;Vv.prototype.fill=Vv.prototype.fill;Vv.prototype.isHorizontal=Vv.prototype.$a;function Yv(){Vv.call(this)}G(Yv,Vv);E("anychart.axisMarkers.range",function(){var a=new Yv;a.C(Wq().standalones.rangeAxisMarker);return a});Yv.prototype.draw=Yv.prototype.I;Yv.prototype.parentBounds=Yv.prototype.R;Yv.prototype.container=Yv.prototype.A;function Zv(){Vv.call(this)}G(Zv,Vv);Zv.prototype.Vk=function(){var a=this.jh(),b=this.Wc(),c=this.Zc();this.Wc()>this.Zc()&&(b=this.Wc(),c=this.Zc());var d=ub(this.scale().transform(b,0),0,1),e=ub(this.scale().transform(c,1),0,1);if(!isNaN(d)&&!isNaN(e)){c=this.R();b=this.pe();Mv(this).clear();var f=this.h.zd,h=this.h.hd;if("horizontal"==a){var e=Math.floor(c.ra()-c.height*e),d=Math.ceil(c.ra()-c.height*d),a=c.Qa(),k=c.Oa();Mv(this).moveTo(a,e).lineTo(a+f,e-h).lineTo(k+f,e-h).lineTo(k+f,d-h).lineTo(a+f,d-h).lineTo(a,d).close()}else"vertical"==a&&(a=c.ra(),k=c.Va(),d=Math.floor(c.Qa()+c.width*d),e=Math.ceil(c.Qa()+c.width*e),Mv(this).moveTo(d,a).lineTo(d+f,a-h).lineTo(d+f,k-h).lineTo(e+f,k-h).lineTo(e+f,a-h).lineTo(e,a).close());c.top-=h;c.height+=h;c.width+=f;Mv(this).clip(b.Ve(c))}};function $v(){Z.call(this);this.b=null;this.B=NaN;this.w=this.h="black"}G($v,Z);var aw={x:"30%",line:"30%",ellipse:"30%",bar:"50%"};g=$v.prototype;g.ia=Z.prototype.ia;g.$=Z.prototype.$|20;g.type=function(a){return m(a)?(a=oc(a),this.m!=a&&(this.m=a,T(this,4,9)),this):this.m||this.F};function bw(a,b){var c=!a.m&&a.F!=b;a.F=b;c&&T(a,4)}g.Bg=function(a){return m(a)?(this.b!=a&&(this.b=a,T(this,4,9)),this):null===this.b?aw[this.type()]:this.b};g.value=function(a){return m(a)?(a=I(a),this.B!=a&&(this.B=a,T(this,4,9)),this):this.B};function cw(a){if(m(void 0)){var b=$b(void 0);a.j!=b&&(a.j=b,T(a,4,9));return a}return a.j||a.D}g.$a=function(){return"horizontal"==cw(this)};g.scale=function(a){return m(a)?(this.ha!=a&&(this.ha=a,R(this.ha,this.sK,this),T(this,4,9)),this):this.ha};g.sK=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)&&(b|=1);T(this,4,b|8)};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,1));return this}return this.g||this.h};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.c!=f&&(this.c=f,T(this,16,1));return this}return this.c||this.w};function dw(a,b){if("horizontal"==a)switch(b){default:case kc:return function(a,b){var e=this.scale().transform(0),e=isNaN(e)?0:ub(e,0,1),f=this.R(),h=this.Bg(),k=vr(h)?Q(h,f.height):f.height*h,h=f.left+e*f.width,l=f.top+k/2,e=(b-e)*f.width,f=f.height-k;a.clear().moveTo(h,l).lineTo(h+e,l).lineTo(h+e,l+f).lineTo(h,l+f).close()};case ic:return function(a,b){var e=this.R(),f=this.Bg(),h=Math.round(e.left+e.width*b),k=Math.round(e.top+e.height/2),e=e.height-(vr(f)?Q(f,e.height):e.height*f);a.clear().moveTo(h-
1,k-e/2).lineTo(h-1,k+e/2).lineTo(h+1,k+e/2).lineTo(h+1,k-e/2).close()};case jc:return function(a,b){var e=this.R(),f=this.Bg(),h=e.left+e.width*b,k=e.top+e.height/2,e=(e.height-(vr(f)?Q(f,e.height):e.height*f))/2,f=e/4;a.clear();a.Ob(h,k,f,e,0,360).close()};case hc:return function(a,b){var e=this.R(),f=this.Bg(),h=Math.round(e.left+e.width*b),k=Math.round(e.top+e.height/2),e=(e.height-(vr(f)?Q(f,e.height):e.height*f))/2,f=e/1.5;a.clear().moveTo(h-f-1,k-e).lineTo(h+f-1,k+e).lineTo(h+f+1,k+e).lineTo(h-
f+1,k-e).moveTo(h+f-1,k-e).lineTo(h-f-1,k+e).lineTo(h-f+1,k+e).lineTo(h+f+1,k-e).close()}}else switch(b){default:case kc:return function(a,b){var e=this.scale().transform(0),e=isNaN(e)?0:ub(e,0,1),f=this.R(),h=this.Bg(),k=vr(h)?Q(h,f.width):f.width*h,h=f.left+k/2,l=f.ra()-f.height*b,k=f.width-k,e=(b-e)*f.height;a.clear().moveTo(h-.25,l-.5).lineTo(h+k+.25,l-.5).lineTo(h+k+.25,l+e-.5).lineTo(h-.25,l+e-.5).close()};case ic:return function(a,b){var e=this.R(),f=this.Bg(),h=Math.round(e.left+e.width/2),k=Math.round(e.ra()-e.height*b),e=e.width-(vr(f)?Q(f,e.width):e.width*f);a.clear().moveTo(h-e/2,k-1).lineTo(h+e/2,k-1).lineTo(h+e/2,k+1).lineTo(h-e/2,k+1).close()};case jc:return function(a,b){var e=this.R(),f=this.Bg(),h=Math.round(e.left+e.width/2),k=Math.round(e.ra()-e.height*b),e=(e.width-(vr(f)?Q(f,e.width):e.width*f))/2,f=e/4;a.clear();a.Ob(h,k,e,f,0,360).close()};case hc:return function(a,b){var e=this.R(),f=this.Bg(),h=Math.round(e.left+e.width/2),k=Math.round(e.ra()-e.height*b),e=(e.width-
(vr(f)?Q(f,e.width):e.width*f))/2,f=e/1.5;a.clear().moveTo(h-e-1,k-f).lineTo(h+e-1,k+f).lineTo(h+e+1,k+f).lineTo(h-e+1,k-f).moveTo(h+e-1,k-f).lineTo(h-e-1,k+f).lineTo(h-e+1,k+f).lineTo(h+e+1,k-f).close()}}}
g.I=function(){if(!this.scale())return Rc(2),this;if(!this.tb())return this;var a=this.A()?this.A().oa():null,b=a&&!a.Jc();b&&a.rd();this.a||(this.a=Yn(),L(this,this.a));if(W(this,8)){var c=this.zIndex();this.a.zIndex(c);U(this,8)}W(this,2)&&(c=this.A(),this.a.parent(c),U(this,2));W(this,16)&&(this.a.stroke(this.stroke()),this.a.fill(this.fill()),U(this,16));W(this,4)&&(c=this.value(),c=this.scale().transform(c,0),this.a.clear(),isNaN(c)||(c=ub(c,0,1),dw(cw(this),this.type()).call(this,this.a,c)),U(this,4));b&&a.gd();return this};g.remove=function(){this.a&&this.a.parent(null)};function ew(){Z.call(this);this.j=oo();this.h=Wn()}G(ew,Z);g=ew.prototype;g.$=Z.prototype.$|65552;g.Yb=function(a){return m(a)?(a=null===a?a:xr(a),this.xa!=a&&(this.xa=a,T(this,4,9)),this):this.xa};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.c&&(this.c=f,T(this,16,1));return this}return this.c};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,1));return this}return this.g};g.Ua=function(a,b,c,d){if(m(a)){ia(a)&&(a=a?fw:"none");var e=Hn.apply(null,arguments);e!==this.H&&(this.H=e,T(this,65536,1));return this}return this.H};g.remove=function(){this.j&&this.j.parent(null)};g.Hc=function(a){return m(a)?(this.b!=a&&(this.b=a),this):this.b};g.I=function(){if(!this.tb())return this;W(this,16)&&(this.h.fill(this.g),this.h.stroke(this.c),U(this,16));W(this,65536)&&(this.a||Fr(this.H)||(this.a=Wn(),this.a.parent(this.j),this.a.zIndex(1)),this.a&&(this.a.fill(this.H),this.a.stroke(null),T(this,4)),U(this,65536));W(this,2)&&(this.j.parent(this.A()),this.h.parent(this.j),this.a&&this.a.parent(this.j),U(this,2));W(this,8)&&(this.j.zIndex(this.zIndex()),this.h.zIndex(0),this.a&&this.a.zIndex(1),U(this,8));if(W(this,4)){var a=Q(this.xa,this.b.ud()),b=this.b.Ma,c=this.b.Ja;this.h.nh(b);this.h.oh(c);this.h.Yb(0>a?0:a);this.a&&(this.a.nh(b),this.a.oh(c),this.a.Yb(a));U(this,4)}return this};g.o=function(){var a=ew.v.o.call(this);a.fill=P(this.fill());a.stroke=P(this.stroke());a.hatchFill=P(this.Ua());a.radius=this.Yb();return a};g.K=function(a){ew.v.K.call(this,a);this.fill(a.fill);this.stroke(a.stroke);this.Ua(a.hatchFill);this.Yb(a.radius)};ew.prototype.radius=ew.prototype.Yb;ew.prototype.stroke=ew.prototype.stroke;ew.prototype.fill=ew.prototype.fill;ew.prototype.hatchFill=ew.prototype.Ua;function gw(){Z.call(this);this.j={};this.state=new Ta(this)}G(gw,Z);g=gw.prototype;g.$=Z.prototype.$|65552;g.ia=Z.prototype.ia|4;g.Fd=function(){return!0};g.Lf=function(){return!0};g.stroke=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.c&&(this.c=f,T(this,16,1));return this}return this.c};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,1));return this}return this.g};function hw(a,b,c){A(b)?(a=b.call(a.j,a.j),a=c?Bn(a):Gn(a)):a=b;return a}g.Ua=function(a,b,c,d){if(m(a)){ia(a)&&(a=a?fw:"none");var e=Hn.apply(null,arguments);e!==this.H&&(this.H=e,T(this,65536,1));return this}return this.H};g.Rd=function(a){return m(a)?(this.M!=a&&(this.M=a,T(this,4,5)),this):this.M};g.Dd=function(a){return m(a)?(this.ma!=a&&(this.ma=a,T(this,4,5)),this):this.ma};g.Hc=function(a){return m(a)?(this.b!=a&&(this.b=a),this):this.b};g.remove=function(){this.P&&(this.P instanceof Tn?this.P.parent(null):this.P.A(null));this.a&&(this.a instanceof Tn?this.a.parent(null):this.a.A(null))};g.G=function(){return this.Hc().G()};g.Ya=function(){return this.Hc().Ya()};g.I=function(){W(this,16)&&(this.P.fill(hw(this,this.g,!0)),this.P.stroke(hw(this,this.c,!1)),U(this,16));W(this,8)&&(this.P.zIndex(this.zIndex()),this.a&&this.a.zIndex(this.zIndex()+.1*iw),U(this,8));W(this,2)&&(this.P instanceof Tn?this.P.parent(this.A()):this.P.A(this.A()),this.a&&(this.a instanceof Tn?this.a.parent(this.A()):this.a.A(this.A())),U(this,2));return this};g.Kb=function(a){if(!this.F||a)this.F=new dd(this,["value"],!1);this.F.Bf();return this.F};g.Jf=function(){return this.Kb()};g.Qd=ba;g.Kf=ba;g.Bd=ba;g.ee=function(a){a=gw.v.ee.call(this,a);a.pointIndex=I(tr(a.domTarget).index);return a};g.$d=function(a){var b=a.type;switch(b){case"mouseout":b="pointmouseout";break;case"mouseover":b="pointmouseover";break;case"mousemove":b="pointmousemove";break;case"mousedown":b="pointmousedown";break;case"mouseup":b="pointmouseup";break;case"click":b="pointclick";break;case"dblclick":b="pointdblclick";break;default:return null}var c;"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex);c=I(c);a.pointIndex=c;var d=this.Hc().G();d.select(c)||d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a}};g.Me=function(a){(a=this.$d(a))&&this.dispatchEvent(a)};g.tf=function(a,b){a&&(a.tag={Y:this},b?a.tag.index=!0:a.tag.index=this.Hc().G().S())};g.Ne=function(a){m(a)?this.rf(a):this.enabled()&&this.state.wd(H);return this};g.gc=function(){if(!ab(this.state,H)&&!lb(this.state.Cc(),H)||!this.enabled())return this;this.state.g(H,this.state.a==Ua?NaN:void 0);return this};g.rf=function(a){if(!this.enabled())return this;if(r(a)){for(var b=jb(this.state,H),c=0;c<b.length;c++)Tf(a,b[c])||this.state.g(H,b[c]);hb(this.state,a)}else y(a)&&(this.gc(),hb(this.state,a));return this};g.hc=function(){return this};g.dc=function(a){return m(a)?(a=null===a?null:Vb(a),a!=this.ea&&(this.ea=a),this):this.ea};g.yb=function(a){return m(a)?(a=Ub(a),a!=this.T&&(this.T=a),this):this.T};g.o=function(){var a=gw.v.o.call(this);A(this.fill)&&(A(this.fill())?K(8,null,["Pointers fill"]):a.fill=P(this.fill()));A(this.stroke)&&(A(this.stroke())?K(8,null,["Pointers stroke"]):a.stroke=P(this.stroke()));a.hatchFill=P(this.Ua());a.axisIndex=this.Rd();a.dataIndex=this.Dd();return a};g.K=function(a){gw.v.K.call(this,a);this.fill(a.fill);this.stroke(a.stroke);this.Ua(a.hatchFill);this.Rd(a.axisIndex);this.Dd(a.dataIndex)};gw.prototype.stroke=gw.prototype.stroke;gw.prototype.fill=gw.prototype.fill;gw.prototype.hatchFill=gw.prototype.Ua;gw.prototype.axisIndex=gw.prototype.Rd;gw.prototype.dataIndex=gw.prototype.Dd;function jw(){gw.call(this)}G(jw,gw);g=jw.prototype;g.width=function(a){return m(a)?(a=null===a?a:xr(a),this.sa!=a&&(this.sa=a,T(this,4,9)),this):this.sa};g.position=function(a){return m(a)?(a=pc(a),this.h!=a&&(this.h=a,T(this,4,9)),this):this.h};g.Yb=function(a){return m(a)?(a=null===a?a:xr(a),this.xa!=a&&(this.xa=a,T(this,4,9)),this):this.xa};g.I=function(){var a=this.Hc(),b=Hv(a,this.Rd());if(!this.tb())return this;if(!b||!b.enabled())return this.P&&this.P.clear(),this.a&&this.a.clear(),this;if(W(this,65536)){var c=this.Ua();this.a||Fr(c)||(this.a=Yn(),this.a.parent(this.A()),this.a.zIndex(this.zIndex()+1));this.a&&(this.a.fb(!0),this.a.fill(c),this.a.stroke(null),T(this,4));U(this,65536)}if(W(this,4)){var c=a.Ma,d=a.Ja,e=b.scale(),f=a.Ya();f.select(this.Dd());var h=parseFloat(f.get("value"));if(e.Oc(h))return this.P&&this.P.clear(),this.a&&this.a.clear(),U(this,4),this;this.P?this.P.clear():(this.P=Yn(),L(this,this.P));var k=b.ud(),l=b.Wd,f=m(b.Wa())?b.bf():a.bf(),b=m(b.sc())?b.sc():a.sc(),k=null!=this.xa?Q(this.xa,a.ud()):k,a=null!=this.sa?Q(this.sa,a.ud()):l,l=m(this.xa)?a/2:a/2+l/2;"outside"==this.h?k+=l:"inside"==this.h&&(k-=l);var l=ub(e.transform(0),0,1),e=ub(e.transform(h),0,1),n;0<=b^e>=l?(n=e,h=l):(n=l,h=e);n=Ah(f+n*b);f=Ah(Ah(f+h*b)-n);0==f&&(f=e==l?0:360);this.j.cx=c;this.j.cy=d;this.j.radius=k;this.j.startAngle=Ah(n-kw);this.j.sweepAngle=f;this.j.width=a;this.P.Ob(c,d,k-a/2,k-a/2,n,f);this.P.Ob(c,d,k+a/2,k+a/2,n+f,-f,!0);this.P.close();this.tf(this.P);this.a&&(this.a.clear(),this.a.Ob(c,d,k-a/2,k-a/2,n,f),this.a.Ob(c,d,k+a/2,k+a/2,n+f,-f,!0),this.a.close());(A(this.fill())||A(this.stroke()))&&T(this,16);U(this,4)}jw.v.I.call(this);return this};g.o=function(){var a=jw.v.o.call(this);a.position=this.position();m(this.width())&&(a.width=this.width());m(this.Yb())&&(a.radius=this.Yb());return a};g.K=function(a){jw.v.K.call(this,a);this.position(a.position);this.width(a.width);this.Yb(a.radius)};jw.prototype.width=jw.prototype.width;jw.prototype.position=jw.prototype.position;jw.prototype.radius=jw.prototype.Yb;function lw(){gw.call(this)}G(lw,gw);g=lw.prototype;g.lA=function(a){return m(a)?(this.m!=a&&(this.m=a,T(this,4,9)),this):this.m};g.mA=function(a){return m(a)?(this.h!=a&&(this.h=a,T(this,4,9)),this):this.h};g.hA=function(a){return m(a)?(a=ub(a,0,1),this.J!=a&&(this.J=a,T(this,4,9)),this):this.J};g.zx=function(a){return m(a)?(a=ub(a,0,1),this.B!=a&&(this.B=a,T(this,4,9)),this):this.B};g.Au=function(a){return m(a)?(a=null===a?a:xr(a),this.D!=a&&(this.D=a,T(this,4,9)),this):this.D};g.ws=function(a){return m(a)?(a=null===a?a:xr(a),this.w!=a&&(this.w=a,T(this,4,9)),this):this.w};function mw(a,b,c,d,e,f,h,k,l,n,p,q,t,v){var w;v?(f=Ah(c+f),d=Ah(c+d/2-e)):(f=Ah(c+d-f),d=Ah(c+d/2+e));c=l+Math.cos(Bh(f))*k;k=n+Math.sin(Bh(f))*k;l+=Math.cos(Bh(d))*h;h=n+Math.sin(Bh(d))*h;d=Bh(f+90);n=c+100*Math.cos(d);e=k+100*Math.sin(d);d=(c*Math.pow(e-k,2)+l*Math.pow(n-c,2)+(n-c)*(e-k)*(h-k))/(Math.pow(e-k,2)+Math.pow(n-c,2))||0;n=(n-c)*(l-d)/(e-k)+h||0;n=Ch(Math.atan(Math.sqrt(Math.pow(l-d,2)+Math.pow(h-n,2))/Math.sqrt(Math.pow(c-d,2)+Math.pow(k-n,2))));n=a.J<1-a.B?v?90-n:-(90-n):v?-(90-n):90-n;n=f+(v?-p:p)+n;w=(c+l)/2+Math.cos(Bh(n))*q;d=(k+h)/2+Math.sin(Bh(n))*q;e=.5>a.h?90:-90;p=w+.5*Math.cos(Bh(n+e))*q;f=d+.5*Math.sin(Bh(n+e))*q;e=.5>a.h?-90:90;a=w+.5*Math.cos(Bh(n+e))*q;q=d+.5*Math.sin(Bh(n+e))*q;v?t?b.Qh(p,f,a,q,l,h):b.Qh(a,q,p,f,l,h):t?b.Qh(p,f,a,q,c,k):b.Qh(a,q,p,f,c,k)}
g.I=function(){var a=this.Hc(),b=Hv(a,this.Rd());if(!this.tb())return this;if(!b||!b.enabled())return this.P&&this.P.clear(),this.a&&this.a.clear(),this;if(W(this,65536)){var c=this.Ua();this.a||Fr(c)||(this.a=Yn(),this.a.parent(this.A()),this.a.zIndex(this.zIndex()+1));this.a&&(this.a.fb(!0),this.a.fill(c),this.a.stroke(null),T(this,4));U(this,65536)}if(W(this,4)){var c=a.Ma,d=a.Ja,e=b.scale(),f=a.Ya();f.select(this.Dd());var h=parseFloat(f.get("value"));if(e.Oc(h))return this.P&&this.P.clear(),this.a&&this.a.clear(),U(this,4),this;this.P?this.P.clear():(this.P=Yn(),L(this,this.P));var f=b.ud(),k=m(b.Wa())?b.bf():a.bf(),l=m(b.sc())?b.sc():a.sc(),b=null!=this.D?Q(this.D,a.ud()):.7*f,a=null!=this.w?Q(this.w,a.ud()):.6*f,f=360/this.m,n=f/2*this.J,p=f/2*this.B,e=ub(e.transform(h),0,1),e=Ah(k+e*l);this.j.cx=c;this.j.cy=d;this.j.topRadius=b;this.j.bottomRadius=a;this.j.angle=Ah(e-kw);var k=b<a,h=.5>this.h?90:-90,l=Math.abs(b-a)/2*Math.abs(.5-this.h),q,t,v;this.P.clear();for(v=0;v<this.m;v++)q=Ah(e+v*f),this.P.Ob(c,d,a,a,q,p,0!=v),mw(this,this.P,q,f,n,p,b,a,c,d,h,l,k,!0),t=Ah(q+f/2-n),this.P.Ob(c,d,b,b,t,2*n),mw(this,this.P,q,f,n,p,b,a,c,d,h,l,k,!1),q=Ah(q+f-p),this.P.Ob(c,d,a,a,q,p);this.P.close();this.tf(this.P);if(this.a){this.a.clear();for(v=0;v<this.m;v++)q=Ah(e+v*f),this.a.Ob(c,d,a,a,q,p,0!=v),mw(this,this.a,q,f,n,p,b,a,c,d,h,l,k,!0),t=Ah(q+f/2-n),this.a.Ob(c,d,b,b,t,2*n),mw(this,this.a,q,f,n,p,b,a,c,d,h,l,k,!1),q=Ah(q+f-p),this.a.Ob(c,d,a,a,q,p);this.a.close()}U(this,4)}lw.v.I.call(this);return this};g.o=function(){var a=lw.v.o.call(this);a.verticesCount=this.lA();a.verticesCurvature=this.mA();a.topRatio=this.hA();a.bottomRatio=this.zx();m(this.Au())&&(a.topRadius=this.Au());m(this.ws())&&(a.bottomRadius=this.ws());return a};g.K=function(a){lw.v.K.call(this,a);this.lA(a.verticesCount);this.mA(a.verticesCurvature);this.hA(a.topRatio);this.zx(a.bottomRatio);this.Au(a.topRadius);this.ws(a.bottomRadius)};lw.prototype.verticesCount=lw.prototype.lA;lw.prototype.verticesCurvature=lw.prototype.mA;lw.prototype.topRatio=lw.prototype.hA;lw.prototype.bottomRatio=lw.prototype.zx;lw.prototype.topRadius=lw.prototype.Au;lw.prototype.bottomRadius=lw.prototype.ws;function nw(){gw.call(this)}G(nw,gw);g=nw.prototype;g.vu=function(a){return m(a)?(a=null===a?a:xr(a),this.J!=a&&(this.J=a,T(this,4,9)),this):this.J};g.tu=function(a){return m(a)?(a=null===a?a:xr(a),this.D!=a&&(this.D=a,T(this,4,9)),this):this.D};g.Ft=function(a){return m(a)?(a=null===a?a:xr(a),this.B!=a&&(this.B=a,T(this,4,9)),this):this.B};g.Et=function(a){return m(a)?(a=null===a?a:xr(a),this.w!=a&&(this.w=a,T(this,4,9)),this):this.w};g.Xs=function(a){return m(a)?(a=null===a?a:xr(a),this.m!=a&&(this.m=a,T(this,4,9)),this):this.m};g.Vs=function(a){return m(a)?(a=null===a?a:xr(a),this.h!=a&&(this.h=a,T(this,4,9)),this):this.h};g.I=function(){var a=this.Hc(),b=Hv(a,this.Rd());if(!this.tb())return this;if(!b||!b.enabled())return this.P&&this.P.clear(),this.a&&this.a.clear(),this;if(W(this,65536)){var c=this.Ua();this.a||Fr(c)||(this.a=Yn(),this.a.parent(this.A()),this.a.zIndex(this.zIndex()+1));this.a&&(this.a.fb(!0),this.a.fill(c),this.a.stroke(null),T(this,4));U(this,65536)}if(W(this,4)){var c=a.Ma,d=a.Ja,e=b.scale(),f=a.Ya();f.select(this.Dd());var h=parseFloat(f.get("value"));if(e.Oc(h))return this.P&&this.P.clear(),this.a&&this.a.clear(),U(this,4),this;this.P?this.P.clear():(this.P=Yn(),L(this,this.P));var k=b.ud(),l=m(b.Wa())?b.bf():a.bf(),n=m(b.sc())?b.sc():a.sc(),b=Q(null!=this.D?this.D:"-20%",a.ud()),f=Q(null!=this.J?this.J:"3%",a.ud()),k=null!=this.h?Q(this.h,a.ud()):k,p=null!=this.m?Q(this.m,a.ud()):0,q=null!=this.w?Q(this.w,a.ud()):.9*k,a=Q(null!=this.B?this.B:"1%",a.ud()),t=ub(e.transform(h),0,1),e=Ah(l+t*n),v=Bh(e),h=Bh(Ah(l+t*n+90)),t=Bh(Ah(l+t*n-90)),w=c+b*Math.cos(v),x=d+b*Math.sin(v),l=w+f*Math.cos(h),n=x+f*Math.sin(h),w=w+f*Math.cos(t),x=x+f*Math.sin(t),z=c+q*Math.cos(v),C=d+q*Math.sin(v),F=z+a*Math.cos(h),J=C+a*Math.sin(h),z=z+a*Math.cos(t),C=C+a*Math.sin(t),O=c+k*Math.cos(v),S=d+k*Math.sin(v),v=O+p*Math.cos(h),h=S+p*Math.sin(h),O=O+p*Math.cos(t),t=S+p*Math.sin(t);this.j.cx=c;this.j.cy=d;this.j.startRadius=b;this.j.startWidth=f;this.j.middleRadius=q;this.j.middleWidth=a;this.j.endRadius=k;this.j.endWidth=p;this.j.angle=Ah(e-kw);this.P.moveTo(v,h).lineTo(F,J).lineTo(l,n).lineTo(w,x).lineTo(z,C).lineTo(O,t);this.P.close();this.tf(this.P);this.a&&(this.a.clear(),this.a.moveTo(v,h).lineTo(F,J).lineTo(l,n).lineTo(w,x).lineTo(z,C).lineTo(O,t),this.a.close());(A(this.fill())||A(this.stroke()))&&T(this,16);U(this,4)}nw.v.I.call(this);return this};g.o=function(){var a=nw.v.o.call(this);m(this.tu())&&(a.startRadius=this.tu());m(this.Et())&&(a.middleRadius=this.Et());m(this.Vs())&&(a.endRadius=this.Vs());m(this.vu())&&(a.startWidth=this.vu());m(this.Ft())&&(a.middleWidth=this.Ft());m(this.Xs())&&(a.endWidth=this.Xs());return a};g.K=function(a){nw.v.K.call(this,a);this.tu(a.startRadius);this.Et(a.middleRadius);this.Vs(a.endRadius);this.vu(a.startWidth);this.Ft(a.middleWidth);this.Xs(a.endWidth)};nw.prototype.startRadius=nw.prototype.tu;nw.prototype.middleRadius=nw.prototype.Et;nw.prototype.endRadius=nw.prototype.Vs;nw.prototype.startWidth=nw.prototype.vu;nw.prototype.middleWidth=nw.prototype.Ft;nw.prototype.endWidth=nw.prototype.Xs;function ow(){Z.call(this);this.ha=this.a=this.g=this.m=null;this.J=!1;this.b=null;this.H="horizontal"}G(ow,Z);g=ow.prototype;g.ia=Z.prototype.ia|8;g.$=Z.prototype.$|80;g.ce=function(a){this.h=a};g.gw=function(a){return m(a)?(a=$b(a),this.j!=a&&(this.j=a,T(this,64,9)),this):this.j?this.j:this.b?(a=this.b.orientation(),"left"==a||"right"==a?"horizontal":"vertical"):this.H};function pw(a,b){var c=!a.j&&a.H!=b;a.H=b;c&&T(a,64)}
g.scale=function(a){return m(a)?(this.ha!=a&&(this.ha=a,R(this.ha,this.uK,this),T(this,68,9)),this):this.ha?this.ha:this.b?this.b.scale():null};g.uK=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)&&(b|=1);T(this,20,b|8)};g.tC=function(){T(this,64,9)};g.axis=function(a){return m(a)?(this.b!=a&&(this.b&&et(this.b,this.tC,this),this.b=a,R(this.b,this.tC,this),T(this,64,9)),this):this.b};g.pe=function(a,b,c,d){this.w||(this.w=new xu,L(this,this.w));return m(a)?(this.w.C.apply(this.w,arguments),this):this.w};g.Gg=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.F!=k&&(this.F=k,T(this,16,1));return this}return this.F};g.Ag=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.D!=k&&(this.D=k,T(this,16,1));return this}return this.D};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);if(this.c!=f){var h=this.c?Qd(this.c):0;this.c=f;var f=16,k=1;h!=(this.c?Qd(this.c):0)&&(f|=68,k|=8);T(this,f,k)}return this}return this.c};g.by=function(a){return m(a)?(this.M!=a&&(this.M=a,T(this,64,9)),this):this.M};g.fw=function(a){return m(a)?(this.B!=a&&(this.B=a,T(this,64,9)),this):this.B};g.Hr=function(a){return m(a)?(this.J!=a&&(this.J=a,T(this,80,9)),this):this.J};g.DE=function(a,b){var c=this.R()||Nl(0,0,0,0),d=Math.round(c.ra()-a*c.height);1==a?d-=b:d+=b;this.a.moveTo(c.Qa(),d);this.a.lineTo(c.Oa(),d)};g.EE=function(a,b){var c=this.R()||Nl(0,0,0,0),d=Math.round(c.Qa()+a*c.width);1==a?d+=b:d-=b;this.a.moveTo(d,c.ra());this.a.lineTo(d,c.Va())};g.$a=function(){return"horizontal"==this.gw()};g.AE=function(a,b,c,d,e){if(!isNaN(b)){c=this.R()||Nl(0,0,0,0);var f,h;f=Math.round(c.ra()-b*c.height);h=Math.round(c.ra()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Qa(),f);d.lineTo(c.Oa(),f);d.lineTo(c.Oa(),h);d.lineTo(c.Qa(),h);d.close()}};g.BE=function(a,b,c,d,e){if(!isNaN(b)){c=this.R()||Nl(0,0,0,0);var f,h;f=Math.round(c.Qa()+b*c.width);h=Math.round(c.Qa()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f,c.Va());d.lineTo(h,c.Va());d.lineTo(h,c.ra());d.lineTo(f,c.ra());d.close()}};g.I=function(){var a=this.scale();if(!a)return Rc(2),this;if(!this.tb())return this;if(W(this,8)){var b=this.zIndex();qw(this).zIndex(b);rw(this).zIndex(b);sw(this).zIndex(b);U(this,8)}W(this,2)&&(b=this.A(),qw(this).parent(b),rw(this).parent(b),sw(this).parent(b),U(this,2));W(this,16)&&(sw(this).stroke(this.stroke()),rw(this).fill(this.Gg()),qw(this).fill(this.Ag()),U(this,16));if(W(this,64)||W(this,4)){var c,d,e,b=NaN,f=this.scale()instanceof sb,h=(f?a.ja():this.Hr()?a.Ga():a.ja()).get();c=this.$a()?[this.DE,this.AE]:[this.EE,this.BE];qw(this).clear();rw(this).clear();sw(this).clear();var k=this.R()||Nl(0,0,0,0);this.h&&this.h.Wy&&(this.zd=this.h.zd,this.hd=this.h.hd,d=Qd(this.stroke())/2,k.top-=this.hd+d,k.height+=this.hd+d,k.width+=this.zd);k=this.pe().Ve(k);qw(this).clip(k);rw(this).clip(k);sw(this).clip(k);var k=c[1],l=c[0],n=-sw(this).Ej()%2/2;this.h&&this.h.Wy&&this.$a()&&l.call(this,0,n);for(var p=0,q=h.length;p<q;p++){var t=h[p];r(t)&&(t=t[0]);e=a.transform(t);0==p%2?(c=this.D,d=this.g):(c=this.F,d=this.m);"none"!=c&&k.call(this,e,b,c,d,n);0==p?this.M&&l.call(this,e,n):p==q-1?(this.B||f)&&l.call(this,e,n):l.call(this,e,n);b=e}0==p%2?(c=this.D,d=this.g):(c=this.F,d=this.m);f&&m(t)&&(this.B&&l.call(this,1,n),k.call(this,1,e,c,d,n));U(this,64);U(this,4)}return this};g.remove=function(){qw(this).parent(null);rw(this).parent(null);sw(this).parent(null)};function sw(a){a.a=a.a?a.a:Yn();L(a,a.a);return a.a}function rw(a){a.m||(a.m=Yn(),a.m.stroke("none"),L(a,a.m));return a.m}
function qw(a){a.g||(a.g=Yn(),a.g.stroke("none"),L(a,a.g));return a.g}g.o=function(){var a=ow.v.o.call(this);a.isMinor=this.Hr();this.j&&(a.layout=this.j);a.drawFirstLine=this.by();a.drawLastLine=this.fw();a.oddFill=P(this.Gg());a.evenFill=P(this.Ag());a.stroke=P(this.stroke());return a};g.K=function(a){ow.v.K.call(this,a);this.Hr(a.isMinor);"layout"in a&&a.layout&&this.gw(a.layout);this.by(a.drawFirstLine);this.fw(a.drawLastLine);this.Gg(a.oddFill);this.Ag(a.evenFill);this.stroke(a.stroke);"axis"in a&&(a=a.axis,y(a)?this.h&&this.axis(this.h.tj(a)):a instanceof Pv&&this.axis(a))};g.V=function(){delete this.c;this.h=this.b=null;ow.v.V.call(this)};ow.prototype.isMinor=ow.prototype.Hr;ow.prototype.oddFill=ow.prototype.Gg;ow.prototype.evenFill=ow.prototype.Ag;ow.prototype.layout=ow.prototype.gw;ow.prototype.isHorizontal=ow.prototype.$a;ow.prototype.scale=ow.prototype.scale;ow.prototype.stroke=ow.prototype.stroke;ow.prototype.drawFirstLine=ow.prototype.by;ow.prototype.drawLastLine=ow.prototype.fw;ow.prototype.axis=ow.prototype.axis;function tw(){ow.call(this)}G(tw,ow);tw.prototype.DE=function(a,b){var c=this.R()||Nl(0,0,0,0),d=Math.round(c.ra()-a*c.height);1==a?d-=b:d+=b;var e=c.Qa()+this.zd,f=d-this.hd;this.a.moveTo(c.Qa(),d).lineTo(e,f).lineTo(c.Oa()+this.zd,f)};tw.prototype.EE=function(a,b){var c=this.R()||Nl(0,0,0,0),d=Math.round(c.Qa()+a*c.width);1==a?d+=b:d-=b;var e=d+this.zd,f=c.ra()-this.hd;this.a.moveTo(d,c.ra()).lineTo(e,f).lineTo(e,c.Va()-this.hd)};tw.prototype.AE=function(a,b,c,d,e){if(!isNaN(b)){c=this.R()||Nl(0,0,0,0);var f,h;f=Math.round(c.ra()-b*c.height);h=Math.round(c.ra()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Qa(),f).lineTo(c.Qa()+this.zd,f-this.hd).lineTo(c.Oa()+this.zd,f-this.hd).lineTo(c.Oa()+this.zd,h-this.hd).lineTo(c.Qa()+this.zd,h-this.hd).lineTo(c.Qa(),h).close()}};tw.prototype.BE=function(a,b,c,d,e){if(!isNaN(b)){c=this.R()||Nl(0,0,0,0);var f,h;f=Math.round(c.Qa()+b*c.width);h=Math.round(c.Qa()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f+this.zd,c.Va()-this.hd).lineTo(h+this.zd,c.Va()-this.hd).lineTo(h+this.zd,c.ra()-this.hd).lineTo(h,c.ra()).lineTo(f,c.ra()).lineTo(f+this.zd,c.ra()-this.hd).close()}};function uw(){Z.call(this);this.D=!1;this.B="circuit";this.h=this.b=null}G(uw,Z);g=uw.prototype;g.ia=Z.prototype.ia|8;g.$=Z.prototype.$|80;g.ce=function(a){this.h=a};function vw(a,b){var c=!a.j&&a.B!=b;a.B=b;c&&T(a,64)}g.iw=function(a){return m(a)?(a=ac(a),this.j!=a&&(this.j=a,T(this,64,9)),this):this.j?this.j:this.b?this.b instanceof ww?"circuit":"radial":this.B};g.ba=function(a){return m(a)?(this.Da!=a&&(this.Da=a,R(this.Da,this.AK,this),T(this,68,9)),this):this.Da?this.Da:this.b&&this.b instanceof ww?this.b.scale():this.h?this.h.ba():null};g.AK=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)&&(b|=1);T(this,20,b|8)};g.Z=function(a){return m(a)?(this.va!=a&&(this.va=a,R(this.va,this.zK,this),T(this,68,9)),this):this.va?this.va:this.b&&this.b instanceof xw?this.b.scale():this.h?this.h.Z():null};g.zK=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)&&(b|=1);T(this,20,b|8)};g.uC=function(){T(this,64,9)};g.axis=function(a){return m(a)?(this.b!=a&&(this.b&&et(this.b,this.uC,this),this.b=a,R(this.b,this.uC,this),T(this,64,9)),this):this.b};g.Gg=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.H!=k&&(this.H=k,T(this,16,1));return this}return this.H};g.Ag=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.F!=k&&(this.F=k,T(this,16,1));return this}return this.F};g.Wa=function(a){return m(a)?(a=Ah(null===a||isNaN(+a)?0:+a),this.ab!=a&&(this.ab=a,T(this,4,9)),this):this.ab};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.c!=f&&(this.c=f,T(this,16,1));return this}return this.c};g.hw=function(a){return m(a)?(this.w!=a&&(this.w=a,T(this,64,9)),this):this.w};g.cp=function(a){return m(a)?(this.D!=a&&(this.D=a,T(this,80,9)),this):this.D};g.xK=function(a){a*=this.xa;this.m.Ob(this.Ma,this.Ja,a,a,0,360)};g.yK=function(a,b,c,d){this.m.moveTo(a+c,b+d);this.m.lineTo(this.Ma+c,this.Ja+d)};g.Ir=function(){return"radial"==this.iw()};g.vK=function(a,b,c){if(!isNaN(b)){var d,e;c=Ro(c);e=this.xa*a;d=Bh(0);a=Math.round(this.Ma+e*Math.cos(d));d=Math.round(this.Ja+e*Math.sin(d));c.moveTo(a,d);c.Ob(this.Ma,this.Ja,e,e,0,360);e=this.xa*b;d=Bh(360);a=Math.round(this.Ma+e*Math.cos(d));d=Math.round(this.Ja+e*Math.sin(d));c.lineTo(a,d);c.Ob(this.Ma,this.Ja,e,e,360,-360);c.close()}};g.wK=function(a,b,c,d,e,f,h){isNaN(e)&&isNaN(f)||(c=Ro(h),c.Ob(this.Ma,this.Ja,this.xa,this.xa,a,-b),c.lineTo(this.Ma,this.Ja),c.close())};g.I=function(){var a=this.Z(),b=this.ba();if(!a||!this.Ir()&&!b)return Rc(2),this;if(!this.tb())return this;if(W(this,8)){var c=this.zIndex();yw(this).zIndex(c);zw(this).zIndex(c);Aw(this).zIndex(c);U(this,8)}W(this,2)&&(c=this.A(),yw(this).parent(c),zw(this).parent(c),Aw(this).parent(c),U(this,2));if(W(this,64)||W(this,4)){var d;d=this.Ir()?[this.yK,this.wK]:[this.xK,this.vK];yw(this).clear();zw(this).clear();Aw(this).clear();var e,f,h,c=this.R();this.xa=Math.min(c.width,c.height)/2;this.Ma=Math.round(c.left+
c.width/2);this.Ja=Math.round(c.top+c.height/2);var k=this.Wa()-90;yw(this).clip(c);zw(this).clip(c);Aw(this).clip(c);c=d[0];d=d[1];var l;if(this.Ir()){e=this.cp()?a.Ga():a.ja();e=e.get();f=e.length-1;var b=360/f,n,p,q=NaN,t=NaN,v,w=this.stroke().thickness?this.stroke().thickness:1,x,z;for(l=0;l<f;l++)h=a.transform(e[l]),v=Ah(k+360*h),n=Bh(v),z=x=0,0==v?z=0==w%2?0:-.5:90==v?x=0==w%2?0:-.5:180==v?z=0==w%2?0:.5:270==v&&(x=0==w%2?0:.5),p=Math.round(this.Ma+this.xa*Math.cos(n)),n=Math.round(this.Ja+this.xa*Math.sin(n)),h=0==l%2?this.a:this.g,d.call(this,v,b,p,n,q,t,h),0==l?this.w&&c.call(this,p,n,x,z):c.call(this,p,n,x,z),q=p,t=n;h=0==l%2?this.a:this.g;v=Ah(k);n=v*Math.PI/180;p=Math.round(this.Ma+this.xa*Math.cos(n));n=Math.round(this.Ja+this.xa*Math.sin(n));d.call(this,v,b,p,n,q,t,h)}else for(e=(a=b instanceof sb)?b.ja():this.cp()?b.Ga():b.ja(),e=e.get(),f=e.length,k=NaN,l=0;l<f;l++)q=e[l],r(q)?(h=q[0],q=q[1]):h=q,t=b.transform(h),h=0==l%2?this.a:this.g,l==f-1?a?(d.call(this,t,k,h),h=0==l%2?this.g:this.a,d.call(this,b.transform(q,1),t,h)):d.call(this,t,k,h):d.call(this,t,k,h),l==f-1?a?(c.call(this,t),this.w&&c.call(this,b.transform(q,1))):this.w&&c.call(this,t):0!=l&&c.call(this,t),k=t;U(this,64);U(this,4)}W(this,16)&&(Aw(this).stroke(this.stroke()),zw(this).dh(function(a){a.fill(this.Gg())},this),yw(this).dh(function(a){a.fill(this.Ag())},this),U(this,16));return this};g.remove=function(){yw(this).parent(null);zw(this).parent(null);Aw(this).parent(null)};function Aw(a){a.m=a.m?a.m:Yn();L(a,a.m);return a.m}function zw(a){a.g=a.g?a.g:new Qo(function(){var a=Yn();a.stroke("none");a.zIndex(this.Ah);return a},function(a){a.clear()},0,a);L(a,a.g);return a.g}function yw(a){a.a=a.a?a.a:new Qo(function(){var a=Yn();a.stroke("none");a.zIndex(this.Ah);return a},function(a){a.clear()},0,a);L(a,a.a);return a.a}
g.o=function(){var a=uw.v.o.call(this);a.isMinor=this.cp();this.j&&(a.layout=this.j);a.drawLastLine=this.hw();a.oddFill=P(this.Gg());a.evenFill=P(this.Ag());a.stroke=P(this.stroke());return a};g.K=function(a){uw.v.K.call(this,a);this.cp(a.isMinor);this.iw(a.layout);this.hw(a.drawLastLine);this.Gg(a.oddFill);this.Ag(a.evenFill);this.stroke(a.stroke);"axis"in a&&(a=a.axis,y(a)?this.h&&this.axis(this.h.tj(a)):(a instanceof ww||a instanceof Bw)&&this.axis(a))};g.V=function(){delete this.c;this.h=this.b=null;uw.v.V.call(this)};uw.prototype.isMinor=uw.prototype.cp;uw.prototype.oddFill=uw.prototype.Gg;uw.prototype.evenFill=uw.prototype.Ag;uw.prototype.layout=uw.prototype.iw;uw.prototype.isRadial=uw.prototype.Ir;uw.prototype.yScale=uw.prototype.ba;uw.prototype.xScale=uw.prototype.Z;uw.prototype.stroke=uw.prototype.stroke;uw.prototype.drawLastLine=uw.prototype.hw;uw.prototype.axis=uw.prototype.axis;function Cw(){Z.call(this);this.D=!1;this.B="circuit";this.h=this.b=null}G(Cw,Z);g=Cw.prototype;g.ia=Z.prototype.ia|8;g.$=Z.prototype.$|80;g.ce=function(a){this.h=a};function Dw(a,b){var c=!a.j&&a.B!=b;a.B=b;c&&T(a,64)}g.kw=function(a){return m(a)?(a=ac(a),this.j!=a&&(this.j=a,T(this,64,9)),this):this.j?this.j:this.b?this.b instanceof ww?"circuit":"radial":this.B};g.ba=function(a){return m(a)?(this.Da!=a&&(this.Da=a,R(this.Da,this.GK,this),T(this,68,9)),this):this.Da?this.Da:this.b&&this.b instanceof ww?this.b.scale():this.h?this.h.ba():null};g.GK=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)&&(b|=1);T(this,20,b|8)};g.Z=function(a){return m(a)?(this.va!=a&&(this.va=a,R(this.va,this.FK,this),T(this,68,9)),this):this.va?this.va:this.b&&this.b instanceof xw?this.b.scale():this.h?this.h.Z():null};g.FK=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)&&(b|=1);T(this,20,b|8)};g.vC=function(){T(this,64,9)};g.axis=function(a){return m(a)?(this.b!=a&&(this.b&&et(this.b,this.vC,this),this.b=a,R(this.b,this.vC,this),T(this,64,9)),this):this.b};g.Gg=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.H!=k&&(this.H=k,T(this,16,1));return this}return this.H};g.Ag=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.F!=k&&(this.F=k,T(this,16,1));return this}return this.F};g.Wa=function(a){return m(a)?(a=Ah(null===a||isNaN(+a)?0:+a),this.ab!=a&&(this.ab=a,T(this,4,9)),this):this.ab};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.c!=f&&(this.c=f,T(this,16,1));return this}return this.c};g.jw=function(a){return m(a)?(this.w!=a&&(this.w=a,T(this,64,9)),this):this.w};g.Jr=function(a){return m(a)?(this.D!=a&&(this.D=a,T(this,80,9)),this):this.D};g.DK=function(a){var b=this.Z().ja().get(),c=b.length;if(0!=c){a*=this.xa;for(var d=this.Wa()-90,e,f,h=0;h<c;h++)e=this.Z().transform(b[h]),e=Ah(d+360*e),f=Bh(e),e=Math.round(this.Ma+a*Math.cos(f)),f=Math.round(this.Ja+a*Math.sin(f)),0==h?this.a.moveTo(e,f):this.a.lineTo(e,f);e=Ah(d);f=Bh(e);e=Math.round(this.Ma+a*Math.cos(f));f=Math.round(this.Ja+a*Math.sin(f));this.a.lineTo(e,f)}};g.EK=function(a,b,c,d){this.a.moveTo(a+c,b+d);this.a.lineTo(this.Ma+c,this.Ja+d)};g.Kr=function(){return"radial"==this.kw()};g.BK=function(a,b,c){if(!isNaN(b)){var d=this.Z().ja().get(),e=d.length;if(0!=e){var f,h,k,l,n=this.Wa()-90;c=Ro(c);l=this.xa*a;for(a=0;a<e;a++)f=this.Z().transform(d[a]),f=Ah(n+360*f),k=Bh(f),f=Math.round(this.Ma+l*Math.cos(k)),h=Math.round(this.Ja+l*Math.sin(k)),0==a?c.moveTo(f,h):c.lineTo(f,h);f=Ah(n);k=Bh(f);f=Math.round(this.Ma+l*Math.cos(k));h=Math.round(this.Ja+l*Math.sin(k));c.lineTo(f,h);l=this.xa*b;f=Math.round(this.Ma+l*Math.cos(k));h=Math.round(this.Ja+l*Math.sin(k));c.lineTo(f,h);for(a=e-1;0<=a;a--)f=this.Z().transform(d[a]),f=Ah(n+360*f),k=Bh(f),f=Math.round(this.Ma+l*Math.cos(k)),h=Math.round(this.Ja+l*Math.sin(k)),c.lineTo(f,h);c.close()}}};g.CK=function(a,b,c,d,e){isNaN(c)&&isNaN(d)||(e=Ro(e),e.moveTo(a,b),e.lineTo(this.Ma,this.Ja),e.lineTo(c,d),e.close())};g.I=function(){var a=this.Z(),b=this.ba();if(!a||!this.Kr()&&!b)return Rc(2),this;if(!this.tb())return this;if(W(this,8)){var c=this.zIndex();Ew(this).zIndex(c);Fw(this).zIndex(c);Gw(this).zIndex(c);U(this,8)}W(this,2)&&(c=this.A(),Ew(this).parent(c),Fw(this).parent(c),Gw(this).parent(c),U(this,2));if(W(this,64)||W(this,4)){var d;d=this.Kr()?[this.EK,this.CK]:[this.DK,this.BK];Ew(this).clear();Fw(this).clear();Gw(this).clear();var e,f,h,c=this.R();this.xa=Math.min(c.width,c.height)/2;this.Ma=Math.round(c.left+
c.width/2);this.Ja=Math.round(c.top+c.height/2);Ew(this).clip(c);Fw(this).clip(c);Gw(this).clip(c);c=d[0];d=d[1];var k,l,n=this.Wa()-90;if(this.Kr()){e=a.ja();e=e.get();f=e.length;var p,q,t=b=NaN,v=this.stroke().thickness?this.stroke().thickness:1,w;for(k=0;k<f;k++)l=a.transform(e[k]),q=Ah(n+360*l),p=q*Math.PI/180,w=l=0,0==q?w=0==v%2?0:-.5:90==q?l=0==v%2?0:-.5:180==q?w=0==v%2?0:.5:270==q&&(l=0==v%2?0:.5),q=Math.round(this.Ma+this.xa*Math.cos(p)),p=Math.round(this.Ja+this.xa*Math.sin(p)),h=0==k%2?this.g:this.m,d.call(this,q,p,b,t,h),0==k?this.w&&c.call(this,q,p,l,w):c.call(this,q,p,l,w),b=q,t=p;h=0==k%2?this.g:this.m;q=Ah(n);p=q*Math.PI/180;q=Math.round(this.Ma+this.xa*Math.cos(p));p=Math.round(this.Ja+this.xa*Math.sin(p));d.call(this,q,p,b,t,h)}else for(e=(a=b instanceof sb)?b.ja():this.Jr()?b.Ga():b.ja(),e=e.get(),f=e.length,n=NaN,k=0;k<f;k++)t=e[k],r(t)?(h=t[0],t=t[1]):h=t,l=b.transform(h),h=0==k%2?this.g:this.m,k==f-1?a?(d.call(this,l,n,h),h=0==k%2?this.m:this.g,d.call(this,b.transform(t,1),l,h)):d.call(this,l,n,h):d.call(this,l,n,h),k==f-1?a?(c.call(this,l),this.w&&c.call(this,b.transform(t,1))):this.w&&c.call(this,l):0!=k&&c.call(this,l),n=l;U(this,64);U(this,4)}W(this,16)&&(Gw(this).stroke(this.stroke()),Fw(this).dh(function(a){a.fill(this.Gg())},this),Ew(this).dh(function(a){a.fill(this.Ag())},this),U(this,16));return this};g.remove=function(){Ew(this).parent(null);Fw(this).parent(null);Gw(this).parent(null)};function Gw(a){a.a=a.a?a.a:Yn();L(a,a.a);return a.a}
function Fw(a){a.m=a.m?a.m:new Qo(function(){var a=Yn();a.stroke("none");a.zIndex(this.Ah);return a},function(a){a.clear()},0,a);L(a,a.m);return a.m}function Ew(a){a.g=a.g?a.g:new Qo(function(){var a=Yn();a.stroke("none");a.zIndex(this.Ah);return a},function(a){a.clear()},0,a);L(a,a.g);return a.g}g.o=function(){var a=Cw.v.o.call(this);a.isMinor=this.Jr();this.j&&(a.layout=this.j);a.drawLastLine=this.jw();a.oddFill=P(this.Gg());a.evenFill=P(this.Ag());a.stroke=P(this.stroke());return a};g.K=function(a){Cw.v.K.call(this,a);this.Jr(a.isMinor);this.kw(a.layout);this.jw(a.drawLastLine);this.Gg(a.oddFill);this.Ag(a.evenFill);this.stroke(a.stroke);"axis"in a&&(a=a.axis,y(a)?this.h&&this.axis(this.h.tj(a)):(a instanceof ww||a instanceof xw)&&this.axis(a))};g.V=function(){delete this.c;this.h=this.b=null;Cw.v.V.call(this)};Cw.prototype.isMinor=Cw.prototype.Jr;Cw.prototype.oddFill=Cw.prototype.Gg;Cw.prototype.evenFill=Cw.prototype.Ag;Cw.prototype.layout=Cw.prototype.kw;Cw.prototype.isRadial=Cw.prototype.Kr;Cw.prototype.yScale=Cw.prototype.ba;Cw.prototype.xScale=Cw.prototype.Z;Cw.prototype.stroke=Cw.prototype.stroke;Cw.prototype.drawLastLine=Cw.prototype.jw;Cw.prototype.axis=Cw.prototype.axis;function Hw(a){Z.call(this);this.Hc=a;this.Ab=[]}G(Hw,Z);g=Hw.prototype;g.$=Z.prototype.$|16;g.Wc=function(a){return m(a)?(this.B!=a&&(this.B=a,T(this,20,9)),this):this.B};g.Zc=function(a){return m(a)?(this.D!=a&&(this.D=a,T(this,20,9)),this):this.D};g.scale=function(a){if(m(a)){if(!(a instanceof ru))return Rc(5,void 0,["ScaleBar scale"]),this;this.ha!=a&&(this.ha&&et(this.ha,this.lw,this),(this.ha=a)&&R(this.ha,this.lw,this),T(this,16,5));return this}this.ha||(this.ha=this.Hc.scale());return this.ha};g.lw=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)?b|=1:this.ca(b);T(this,16,b)};g.ad=function(a){return m(a)?(this.m!=a&&(this.m&&et(this.m,this.Mr,this),(this.m=a)&&R(this.m,this.Mr,this),this.c=this.g=null,T(this,16,1)),this):this.m};g.Mr=function(a){Y(a,6)&&T(this,16,1)};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);k!=this.g&&(this.g=k,this.m&&(et(this.m,this.Mr,this),this.m=null),T(this,16,1));return this}return this.g};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.c&&(this.c=f,this.m&&(et(this.m,this.Mr,this),this.m=null),T(this,16,1));return this}return this.c};g.zb=function(a){return m(a)?(this.Ab!=a&&(this.Ab=a,T(this,16,1)),this):this.Ab};g.width=function(a){return m(a)?(a=xr(a),this.sa!=a&&(this.sa=a,T(this,16,9)),this):this.sa};g.offset=function(a){return m(a)?(a=xr(a),this.M!=a&&(this.M=a,T(this,16,9)),this):this.M};g.Ki=function(){T(this,20)};g.remove=function(){this.U&&this.U.parent(null)};function Iw(a,b,c){a=a.scale();return u(b)?(b=b.toLowerCase(),"min"==b?a.transform(a.zj()):"max"==b?a.transform(a.kk()):parseFloat(xr(b))/100):y(b)?(b=a.transform(b),ub(b,0,1)):c}function Jw(a,b,c,d){c=m(c)?c:a.R();(m(d)?d:"vertical"==a.j)?(a=c.ra(),d=-c.height):(a=c.left,d=c.width);return a+b*d}function Kw(a,b){return a.height-b.height}function Lw(a,b,c,d){var e,f="vertical"==a.j;f?(b=Jw(a,b,d,!f),e=Jw(a,c,d,f)):(e=Jw(a,b,d,!f),b=Jw(a,c,d,f));return[b,e]}
function Mw(a,b){var c,d,e=a.scale().bc(),f;f=e?1-a.Ab[0].left:a.Ab[0].left;c=e?1-a.Ab[0].height:a.Ab[0].height;c=Lw(a,f,c,b);a.a.moveTo(c[0],c[1]);for(d=1;d<a.Ab.length;d++)f=e?1-a.Ab[d].left:a.Ab[d].left,c=e?1-a.Ab[d].height:a.Ab[d].height,c=Lw(a,f,c,b),a.a.lineTo(c[0],c[1]);for(d=a.Ab.length;d--;)f=e?a.Ab[d].right:1-a.Ab[d].right,c=e?1-a.Ab[d].height:a.Ab[d].height,c=Lw(a,f,c,b),a.a.lineTo(c[0],c[1]);a.a.close()}
g.I=function(){if(!this.tb())return this;var a=this.A(),b=a?a.oa():null,c;b.rd();this.U||(this.U=oo());this.Ab||(this.Ab=[]);db(this.Ab,Kw);this.Ab[0]&&0==this.Ab[0].height||this.Ab.unshift({height:0,left:0,right:0});this.Ab[this.Ab.length-1]&&1==this.Ab[this.Ab.length-1].height||this.Ab.push({height:1,left:0,right:0});W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.U.parent(a),U(this,2));if(W(this,4)){var a=Iw(this,this.Wc(),0),d=Iw(this,this.Zc(),1);if(a>d)var e=a,a=d,d=e;this.b=Jw(this,a);this.h=Jw(this,d);U(this,4)}var f=this.ad(),h;if(W(this,16)){this.a?this.a.clear():this.a=Yn();if(this.w)for(c=0;c<this.w.length;c++)this.w[c].clear();else this.w=[];var k,l;k=this.R();var n="vertical"==this.j;n?(a=k.left,c=k.width,e=a+c,d=this.h,k=this.b,l=Math.abs(k-d)):(a=this.b,e=this.h,c=Math.abs(a-e),d=k.top,l=k.height,k=d+l);var p=Nl(a,d,c,l);Mw(this,p);var q;f&&(q=f.of());p=this.scale().bc();if(f instanceof Nw){var t=Of(q,function(a){return a.offset});q=p?f.of().reverse():f.of();p&&(q=Of(q,function(a,b){var c={};c.color=a.color;c.offset=t[b];c.opacity=a.opacity;return c}));q=Bn(q);q.angle=n?90:0;l=this.w[0]?this.w[0]:this.w[0]=this.U.path();l.moveTo(a,d).lineTo(e,d).lineTo(e,k).lineTo(a,k).lineTo(a,d).close();l.fill(q).stroke("none");l.clip(this.a)}else if(f instanceof Ow){f.Uc()&&f.wf().xb(0,1).pf();var f=f.Ii(),v=(n?l:c)/f.length,w;c=0;for(w=f.length;c<w;c++){l=f[c];var x=l.color||q[l.sourceIndex]||q[q.length-1];l=this.w[c]?this.w[c]:this.w[c]=this.U.path();n?(h=p?c:f.length-
1-c,h=d+v*h,l.moveTo(a,h).lineTo(a,h+v+.5).lineTo(e,h+v+.5).lineTo(e,h).close()):(h=p?f.length-1-c:c,h=a+v*h,l.moveTo(h,d).lineTo(h+v+.5,d).lineTo(h+v+.5,k).lineTo(h,k).close());l.fill(x).stroke("none")}this.U.clip(this.a)}else f||(q=this.fill(),n=this.stroke(),l=this.w[0]?this.w[0]:this.w[0]=this.U.path(),l.moveTo(a,d).lineTo(e,d).lineTo(e,k).lineTo(a,k).lineTo(a,d).close(),l.fill(q).stroke(n).clip(this.a));U(this,16)}b.gd();return this};g.o=function(){var a=Hw.v.o.call(this);a.from=this.Wc();a.to=this.Zc();a.width=this.width();a.offset=this.offset();a.points=this.zb();A(this.fill())?K(8,null,["ScaleBar fill"]):a.fill=P(this.fill());A(this.stroke())?K(8,null,["ScaleBar stroke"]):a.stroke=P(this.stroke());this.ad()&&(a.colorScale=this.ad().o(),delete a.fill,delete a.stroke);return a};g.K=function(a){Hw.v.K.call(this,a);this.Wc(a.from);this.Zc(a.to);this.width(a.width);this.offset(a.offset);this.zb(a.points);var b,c;"colorScale"in a&&(b=a.colorScale,c=null,u(b)?c=Pw(b,null):B(b)&&(c=Pw(b.type,null))&&c.C(b),c&&this.ad(c));this.fill(a.fill);this.stroke(a.stroke)};g.V=function(){this.w&&(Bd(this.w),this.w=null);Ad(this.m);this.m=null;this.Ab=[];Ad(this.a);this.a=null;this.ha&&et(this.ha,this.lw,this);this.ha=null;Hw.v.V.call(this)};Hw.prototype.from=Hw.prototype.Wc;Hw.prototype.to=Hw.prototype.Zc;Hw.prototype.width=Hw.prototype.width;Hw.prototype.offset=Hw.prototype.offset;Hw.prototype.scale=Hw.prototype.scale;Hw.prototype.colorScale=Hw.prototype.ad;Hw.prototype.fill=Hw.prototype.fill;Hw.prototype.stroke=Hw.prototype.stroke;Hw.prototype.points=Hw.prototype.zb;function Qw(){Z.call(this);this.a={};this.c={};this.Ea={fontColor:!0,fontOpacity:!0,selectable:!0,disablePointerEvents:!0}}G(Qw,Z);g=Qw.prototype;g.ia=Z.prototype.ia|8;g.$=Z.prototype.$|16;g.Zb=function(a,b){if(m(a)){if(u(a))if(m(b)){if(this.a[a]!=b){this.a[a]=b;this.c[a]=!0;var c=16,d=1;a in this.Ea||(c|=4,d|=8);T(this,c,d)}}else return this.a[a];else if(B(a))for(c in a)this.Zb(c,a[c]);return this}return kf(this.a)};g.fontSize=function(a){m(a)&&(a=Ra(a));return this.Zb("fontSize",a)};g.fontFamily=function(a){m(a)&&(a=String(a));return this.Zb("fontFamily",a)};g.Rc=function(a){m(a)&&(a=String(a));return this.Zb("fontColor",a)};g.De=function(a){m(a)&&(a=ub(+a,0,1));return this.Zb("fontOpacity",a)};g.Ce=function(a){m(a)&&(a=Gc(a));return this.Zb("fontDecoration",a)};g.fontStyle=function(a){m(a)&&(a=Hc(a));return this.Zb("fontStyle",a)};g.fontVariant=function(a){m(a)&&(a=Ic(a));return this.Zb("fontVariant",a)};g.fontWeight=function(a){m(a)&&(a=Ra(a));return this.Zb("fontWeight",a)};g.letterSpacing=function(a){m(a)&&(a=Ra(a));return this.Zb("letterSpacing",a)};g.Ge=function(a){m(a)&&(a=Jc(a));return this.Zb("textDirection",a)};g.lineHeight=function(a){m(a)&&(a=Ra(a));return this.Zb("lineHeight",a)};g.textIndent=function(a){m(a)&&(a=parseFloat(Ra(a)));return this.Zb("textIndent",a)};g.vAlign=function(a){m(a)&&(a=Fc(a));return this.Zb("vAlign",a)};g.xc=function(a){m(a)&&(a=Ec(a));return this.Zb("hAlign",a)};g.yd=function(a){m(a)&&(a=Kc(a));return this.Zb("textWrap",a)};g.textOverflow=function(a){m(a)&&(a=String(a));return this.Zb("textOverflow",a)};g.Pc=function(a){m(a)&&(a=!!a);return this.Zb("selectable",a)};g.fb=function(a){m(a)&&(a=!!a);return this.Zb("disablePointerEvents",a)};g.Mc=function(a){m(a)&&(a=!!a);return this.Zb("useHtml",a)};g.nc=function(a,b){(b||"fontSize"in this.c)&&a.fontSize(this.a.fontSize);(b||"fontFamily"in this.c)&&a.fontFamily(this.a.fontFamily);(b||"fontColor"in this.c)&&a.color(this.Rc());(b||"textDirection"in this.c)&&a.Yl(this.a.textDirection);(b||"textWrap"in this.c)&&a.yd(this.a.textWrap);"fontOpacity"in this.c&&a.opacity(this.a.fontOpacity);"fontDecoration"in this.c&&a.bk(this.a.fontDecoration);(b||"fontStyle"in this.c)&&a.fontStyle(this.a.fontStyle);"fontVariant"in this.c&&a.fontVariant(this.a.fontVariant);(b||"fontWeight"in this.c)&&a.fontWeight(this.a.fontWeight);"letterSpacing"in this.c&&a.letterSpacing(this.a.letterSpacing);"lineHeight"in this.c&&a.lineHeight(this.a.lineHeight);"textIndent"in this.c&&a.textIndent(this.a.textIndent);"vAlign"in this.c&&a.vAlign(this.a.vAlign);"hAlign"in this.c&&a.xc(this.a.hAlign);"textOverflow"in this.c&&a.textOverflow(this.a.textOverflow);(b||"selectable"in this.c)&&a.Pc(this.a.selectable);(b||"disablePointerEvents"in this.c)&&a.fb(!!this.a.disablePointerEvents)};g.o=function(){var a=Qw.v.o.call(this);m(this.fontSize())&&(a.fontSize=this.fontSize());m(this.fontFamily())&&(a.fontFamily=this.fontFamily());m(this.Rc())&&(a.fontColor=this.Rc());m(this.De())&&(a.fontOpacity=this.De());m(this.Ce())&&(a.fontDecoration=this.Ce());m(this.fontStyle())&&(a.fontStyle=this.fontStyle());m(this.fontVariant())&&(a.fontVariant=this.fontVariant());m(this.fontWeight())&&(a.fontWeight=this.fontWeight());m(this.letterSpacing())&&(a.letterSpacing=this.letterSpacing());m(this.Ge())&&(a.textDirection=this.Ge());m(this.lineHeight())&&(a.lineHeight=this.lineHeight());m(this.textIndent())&&(a.textIndent=this.textIndent());m(this.vAlign())&&(a.vAlign=this.vAlign());m(this.xc())&&(a.hAlign=this.xc());m(this.yd())&&(a.textWrap=this.yd());m(this.textOverflow())&&(a.textOverflow=this.textOverflow());m(this.Pc())&&(a.selectable=this.Pc());m(this.fb())&&(a.disablePointerEvents=this.fb());m(this.Mc())&&(a.useHtml=this.Mc());return a};g.K=function(a){Qw.v.K.call(this,a);this.fontSize(a.fontSize);this.fontFamily(a.fontFamily);this.Rc(a.fontColor);this.De(a.fontOpacity);this.Ce(a.fontDecoration);this.fontStyle(a.fontStyle);this.fontVariant(a.fontVariant);this.fontWeight(a.fontWeight);this.letterSpacing(a.letterSpacing);this.Ge(a.textDirection);this.lineHeight(a.lineHeight);this.textIndent(a.textIndent);this.vAlign(a.vAlign);this.xc(a.hAlign);this.yd(a.textWrap);this.textOverflow(a.textOverflow);this.Pc(a.selectable);this.fb(a.disablePointerEvents);this.Mc(a.useHtml)};Qw.prototype.fontSize=Qw.prototype.fontSize;Qw.prototype.fontFamily=Qw.prototype.fontFamily;Qw.prototype.fontColor=Qw.prototype.Rc;Qw.prototype.fontOpacity=Qw.prototype.De;Qw.prototype.fontDecoration=Qw.prototype.Ce;Qw.prototype.fontStyle=Qw.prototype.fontStyle;Qw.prototype.fontVariant=Qw.prototype.fontVariant;Qw.prototype.fontWeight=Qw.prototype.fontWeight;Qw.prototype.letterSpacing=Qw.prototype.letterSpacing;Qw.prototype.textDirection=Qw.prototype.Ge;Qw.prototype.lineHeight=Qw.prototype.lineHeight;Qw.prototype.textIndent=Qw.prototype.textIndent;Qw.prototype.vAlign=Qw.prototype.vAlign;Qw.prototype.hAlign=Qw.prototype.xc;Qw.prototype.textWrap=Qw.prototype.yd;Qw.prototype.textOverflow=Qw.prototype.textOverflow;Qw.prototype.selectable=Qw.prototype.Pc;Qw.prototype.disablePointerEvents=Qw.prototype.fb;Qw.prototype.useHtml=Qw.prototype.Mc;Qw.prototype.textSettings=Qw.prototype.Zb;function Rw(){Qw.call(this);this.Ra=this.sa=null;this.b=Sw;this.w=this.D=!1;this.AF();T(this,4294967295)}G(Rw,Qw);Rw.prototype.ia=Qw.prototype.ia;Rw.prototype.$=Qw.prototype.$|64;var Sw=2;g=Rw.prototype;g.wu=Sw|29;g.je=null;g.$e=null;g.state=function(a,b){return m(b)?(Tw(this,a)&&b!=this.state(a)&&(this.b=b?a:this.b&~a,0==this.b&&(this.b=Sw),T(this,64,1)),this):!!(this.b&a)};function Tw(a,b,c){return m(c)?(!c&&a.state(b)&&a.state(b,!1),a.wu=c?a.wu|b:a.wu&~b,a):!!(a.wu&b)}
g.lz=function(a){return this.state(Sw,a)};g.Ne=function(a){return this.state(4,a)};g.NP=function(a){return this.state(8,a)};g.disabled=function(a){return this.state(1,a)};g.padding=function(a,b,c,d){this.Pa||(this.Pa=new xu,L(this,this.Pa),R(this.Pa,this.iL,this));return m(a)?(this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.iL=function(a){Y(a,2)&&T(this,4,9)};g.text=function(a){return this.Zb("text",a)};g.nc=function(a,b){if(b||"text"in this.c||"useHtml"in this.c)this.a.useHtml?a.htmlText(this.a.text):a.text(this.a.text);Rw.v.nc.call(this,a,b);this.c={}};g.position=function(a){return m(a)?(this.h=a,T(this,4,9),this):this.h};g.width=function(a){return m(a)?(this.sa!=a&&(this.sa=a,T(this,20,9)),this):this.sa};g.height=function(a){return m(a)?(this.Ra!=a&&(this.Ra=a,T(this,20,9)),this):this.Ra};g.iy=function(a){this.Zb(a);if(a=!this.je)this.je=qo(),this.je.me("aria-hidden","true"),wv(this,this.je,this.Ny,this.Fw,null,null,this.Ew,this.Xp),L(this,this.je),this.je.fb(!0);this.nc(this.je,a);W(this,4)&&(Uw(this),a=new M(0,0,this.m.width,this.m.height),this.je.x(this.g),this.je.y(this.j),this.je.clip(a),this.je.fc(1,0,0,1,0,0),this.je.bh(this.m.left,this.m.top),T(this,64),U(this,4))};g.yE=function(a,b){this.$e||(this.$e=Yn(),wv(this,this.$e,this.Ny,this.Fw,null,null,this.Ew,this.Xp),L(this,this.$e));var c=this.$e,d=this.m;c.clear();var e=d.left,f=d.top,h=d.width,d=d.height;c.moveTo(e,f).lineTo(e+h,f).lineTo(e+h,f+d).lineTo(e,f+d).close();c.fill(a);c.stroke(b)};function Vw(a,b){W(a,16)&&(a.iy(b.text),U(a,16));W(a,4)&&(Uw(a),a.iy(b.text),T(a,64),U(a,4));W(a,64)&&(a.yE(b.fill,b.stroke),U(a,64))}
function Uw(a){var b=a.A();b&&b.oa();var c=a.R(),d;c?(b=c.width,d=c.height):b=d=void 0;var e=!!a.je,f,h;e&&(f=a.je.Fa(),h=f.width,f=f.height);var k=null!=a.sa,l=null!=a.Ra,n=a.padding();k?(h=vr(a.sa)&&!m(b)?e?h:0:Q(a.sa,b),e&&(a.g=Q(n.left(),h))):(h=e?h:0,e&&(a.g=Q(n.left(),h)),h=n.Xe(h));c&&b<h&&(h=b);l?(f=vr(a.Ra)&&!m(d)?e?f:0:Q(a.Ra,d),e&&(a.j=Q(n.top(),f))):(f=e?f:0,e&&(a.j=Q(n.top(),f)),f=n.We(f));c&&d<f&&(f=d);e&&(a.je.width(h),a.je.height(f));c=wl(a.h);c.x=b?Q(c.x,b):0;c.y=d?Q(c.y,d):0;a.m=new M(c.x,c.y,h,f)}g.I=function(){if(!this.tb())return this;X(this);var a=Cm(this.J);switch(this.b){case 0:throw Error("Undefined button state.");case 4:Vw(this,a.hover);break;case 8:Vw(this,a.pushed);break;case 16:Vw(this,a.checked);break;case 1:Vw(this,a.disabled);break;default:Vw(this,a.normal)}this.O(!0);W(this,8)&&(a=this.zIndex(),this.$e&&this.$e.zIndex(a),this.je&&this.je.zIndex(a),U(this,8));W(this,2)&&(a=this.A(),this.$e&&this.$e.parent(a),this.je&&this.je.parent(a),U(this,2));return this};g.remove=function(){this.je&&this.je.parent(null);this.$e&&this.$e.parent(null)};g.Ny=function(a){this.disabled()||this.w||this.state(16,void 0)||this.re(a)&&this.Ne(!0)};g.Fw=function(a){this.disabled()||this.w||this.state(16,void 0)||(this.w=!1,this.re(a)&&this.lz(!0))};g.Ew=function(a){a.preventDefault();this.disabled()||(this.w=!0,this.re(a)&&this.NP(!0))};g.Xp=function(a){!this.disabled()&&this.w&&this.re(a)&&(this.w=!1,a=a.target==this.$e||a.target==this.je,Tw(this,16)?(this.D=!this.D)?this.state(16,this.D):a?(this.Ne(!0),A(this.F)&&this.F(this)):this.lz(!0):a?(this.Ne(!0),A(this.F)&&this.F(this)):this.lz(!0))};function Ww(a,b){m(b)&&(a.F=b)}
g.AF=function(){this.J={normal:{stroke:"#dedede",fill:"#e7e7e7",text:{fontColor:"#7c868e"}},hover:{stroke:"#cecece",fill:"#eee",text:{fontColor:"#7c868e"}},pushed:{stroke:"#d0d0d0",fill:"#d9d9d9",text:{fontColor:"#333"}},checked:{stroke:"1 #666 1",fill:{keys:["0 #ffffff","0.5 #e7e7e7","1 #d0d0d0"],angle:"90"},text:{fontColor:"#000"}},disabled:{stroke:"1 #666 1",fill:"#aaa",text:{fontColor:"#777"}}}};function Xw(){Av.call(this)}G(Xw,Av);Xw.prototype.HE=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);var f,h,k=this.length(),l=this.position();b=1==a?b+e:b-e;"outside"==l?(f=c.top-d/2,h=-k):"center"==l?(f=c.top+(c.height-k)/2,h=k):"inside"==l&&(f=c.ra()+d/2,h=k);this.path.moveTo(b,f);this.path.lineTo(b,f+h)};Xw.prototype.GE=function(a,b,c,d,e){b=Math.round(b.top+b.height-a*b.height);var f=this.length(),h=this.position();b=1==a?b-e:b+e;"outside"==h?(a=c.Oa()+d/2,c=f):"center"==h?(a=c.left+(c.width-f)/2,c=f):(a=c.left-d/2,c=-f);this.path.moveTo(a,b);this.path.lineTo(a+c,b)};Xw.prototype.zE=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);var f,h,k=this.length(),l=this.position();b=1==a?b+e:b-e;"outside"==l?(f=c.ra()+d/2,h=k):"center"==l?(f=c.top+(c.height-k)/2,h=k):"inside"==l&&(f=c.top-d/2,h=-k);this.path.moveTo(b,f);this.path.lineTo(b,f+h)};Xw.prototype.CE=function(a,b,c,d,e){var f;b=Math.round(b.top+b.height-a*b.height);var h,k=this.length(),l=this.position();b=1==a?b-e:b+e;"outside"==l?(f=c.left-d/2,h=-k):"center"==l?(f=c.left+(c.width-k)/2,h=k):"inside"==l&&(f=c.Oa()+d/2,h=k);this.path.moveTo(f,b);this.path.lineTo(f+h,b)};function Yw(){Z.call(this);this.j=Zw();this.a=null;this.g=this.h=!1;this.c=null;this.enabled(!$w.test(Pi().location.hostname))}G(Yw,Z);Yw.prototype.ia=Z.prototype.ia;var $w=/^(.*\.)?anychart\.(com|stg|dev)$/i;g=Yw.prototype;g.$=Z.prototype.$|208;function Zw(){return("https:"==Pi().location.protocol?"https://":"http://")+"static.anychart.com/logo.png"}g.text=function(a){return m(a)?(this.Jb!=a&&(this.Jb=a),T(this,16,1),this):this.Jb};g.Lw=function(a){return m(a)?(this.w!=a&&(this.w=a),T(this,16,1),this):this.w};g.Kw=function(a){return m(a)?(this.m!=a&&(this.m=a),T(this,16,1),this):this.m};g.cz=function(a){return m(a)?(this.j!=a&&(this.j=a,T(this,144,1)),this):this.j};g.Ry=function(a){return m(a)?(this.h!=a&&(this.h=a,T(this,64,9)),this):this.h};g.Ki=function(){T(this,64,1)};g.enabled=function(a){null===a&&(a=!$w.test(Pi().location.hostname));return Yw.v.enabled.call(this,a)};g.I=function(){var a=Zr()||$w.test(Pi().location.hostname);a||this.enabled()||X(this).enabled(!0).O(!1);if(!this.tb())return this;var b=this.A(),c=b?b.oa():null,b=this.R(),d;c?d=c.A():d=null;this.b||(this.b=Qi("DIV","anychart-credits"));this.a||(this.a=Qi("A"),Li(this.a,{style:"float:right; margin-right:9px;"}),this.b.appendChild(this.a));ax||(ax=bx());W(this,2)&&(d&&d.appendChild(this.b),U(this,2));if(W(this,16)){Li(this.a,{href:a?this.w:"http://anychart.com",title:a?this.m:"AnyChart.com",target:"_blank"});this.a.innerHTML=cx(this,a,!1);if(W(this,128)){this.g&&(pk(this.c,"logo"),this.g=!1);if(!this.c||this.c.wc)this.c=new mk;vj(this.c,"load",function(){this.wc||(this.a.innerHTML+=cx(this,a,!0))},!1,this);vj(this.c,"error",function(){if(this.enabled()&&!this.wc){var a=Mp(this.a,"12px","100%");pn.Ka(a.P(),"class","anychart-credits-logo");var b=a.path(),a=a.path();b.moveTo(.5,.5).lineTo(19.4,.5).lineTo(19.4,19.4).lineTo(.5,19.4).close().fill(null).stroke("#808080",1.5).scale(.5,.5);a.moveTo(4.5,10).lineTo(6.5,10).lineTo(6.5,16.5).lineTo(4.5,16.5).lineTo(4.5,10).moveTo(9,7.5).lineTo(11,7.5).lineTo(11,16.5).lineTo(9,16.5).lineTo(9,7.5).moveTo(13.5,5).lineTo(15.5,5).lineTo(15.5,16.5).lineTo(13.5,16.5).lineTo(13.5,5);a.stroke("#808080 0.4").fill("#808080",.9).scale(.5,.5)}},!1,this);vj(this.c,"complete",function(){Ad(this.c);this.g=!1},!1,this);ok(this.c,"logo",Zw());this.c.start();this.g=!0;U(this,128)}else this.g||(this.a.innerHTML+=cx(this,a,!0));U(this,16)}W(this,64)&&(d=d?Dk(d):c?c.Fa():new M(0,0,0,0),dx(this,0+(d.width-b.width-b.left),6+(d.height-b.height-b.top)),U(this,64));W(this,8)&&U(this,8);return this};function dx(a,b,c){var d=ki&&(mi||pi)&&yi("1.9");a.b.style.right=(d?Math.round(b):b)+"px";a.b.style.bottom=(d?Math.round(c):c)+"px"}g.pb=function(){var a=this.R()||new M(0,0,0,0);if(!this.enabled())return a;this.h||(a.height=a.height-Dk(this.b).height-6);return a};function cx(a,b,c){return c?'<img class="anychart-credits-logo" src="'+(b?a.j:Zw())+'">':'<span class="anychart-credits-text">'+(b?a.text():"AnyChart Trial Version")+"</span>"}var ax=null;function bx(){var a="",b=Qi("STYLE");b.type="text/css";a+=".anychart-credits{position:absolute;width:100%;overflow:hidden;height:10px;}.anychart-credits-logo{float:right;border:none;margin-right:2px;height:10px;width:10px;}";a+='.anychart-credits-text{float:right;font-size:10px;line-height:9px;padding-bottom:1px;text-decoration:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#929292;}';b.styleSheet?b.styleSheet.cssText=a:b.appendChild(document.createTextNode(String(a)));Xi(Ki("head",void 0)[0],b);return b}g=Yw.prototype;g.remove=function(){Yi(this.b)};g.o=function(){var a=Yw.v.o.call(this);a.text=this.text();a.url=this.Lw();a.alt=this.Kw();a.logoSrc=this.cz();a.inChart=this.Ry();return a};g.jc=function(a){var b=arguments;return u(b[0])?(this.text(b[0]),this.enabled(!0),!0):Z.prototype.jc.apply(this,b)};g.K=function(a){Yw.v.K.call(this,a);this.text(a.text);this.Lw(a.url);this.Kw(a.alt);this.cz(a.logoSrc);this.Ry(a.inChart)};g.V=function(){Yi(this.b);this.b=null;Yw.v.V.call(this)};Yw.prototype.text=Yw.prototype.text;Yw.prototype.url=Yw.prototype.Lw;Yw.prototype.alt=Yw.prototype.Kw;Yw.prototype.logoSrc=Yw.prototype.cz;Yw.prototype.inChart=Yw.prototype.Ry;function ex(){Qw.call(this);this.h=oo();L(this,this.h);this.H=this.h.text();this.H.me("aria-hidden","true");L(this,this.H);this.qb={line:"black",spline:"black",stepline:"black",ohlc:"black",candlestick:"black"};this.hb={line:!0,spline:!0,stepline:!0,ohlc:!0};this.ta=this.fa=0;this.D=!0;this.w=!1;this.X={iconStroke:"#999",iconFill:"#999",iconHatchFill:"none",iconMarkerStroke:"#999",iconMarkerFill:"#999",fontColor:"#999"};this.B="square";this.T="black";this.ma="none";this.da=this.M=null;this.ea=this.W="none";this.m=5;this.a.text="Legend Item"}G(ex,Qw);g=ex.prototype;g.ia=Qw.prototype.ia|2;g.$=Qw.prototype.$;function fx(a,b,c){a.b?a.b.clear():(a.b=b.parent().path(),L(a,a.b));a.da&&(gx(a,a.Sa),b=a.da,(u(b)?je(b):b).call(a,a.b,c/2,c/2,c/6))}
function hx(a){var b;switch(a){case"steparea":a=function(a,b){a.moveTo(0,.6*b).lineTo(.5*b,.6*b).lineTo(.5*b,.1*b).lineTo(b,.1*b).lineTo(b,b).lineTo(0,b).lineTo(0,.6*b).close()};break;case"area":a=function(a,b){a.moveTo(0,.7*b).lineTo(.35*b,.3*b).lineTo(.5*b,.5*b).lineTo(b,0).lineTo(b,b).lineTo(0,b).lineTo(0,.7*b).close()};break;case"rangesteparea":case"rangesplinearea":case"rangearea":a=function(a,b){a.moveTo(0,.2*b).lineTo(.5*b,.4*b).lineTo(b,.2*b).lineTo(b,.8*b).lineTo(.5*b,.6*b).lineTo(0,.8*b).close()};break;case"splinearea":a=function(a,b){var e=b/2;a.moveTo(b,.6*e).lineTo(b,b).lineTo(0,b).lineTo(0,1.3*e).Ob(0,e,e,.3*e,90,-90).Ob(b,e,e,.4*e,180,90).moveTo(0,0).close()};break;case"rangebar":a=function(a,b){a.moveTo(.35*b,0).lineTo(.65*b,0).lineTo(.65*b,.15*b).lineTo(.35*b,.15*b).close().moveTo(.1*b,.4*b).lineTo(.9*b,.4*b).lineTo(.9*b,.55*b).lineTo(.1*b,.55*b).close().moveTo(.25*b,.8*b).lineTo(.75*b,.8*b).lineTo(.75*b,.95*b).lineTo(.25*b,.95*b).close()};break;case"rangecolumn":a=function(a,b){a.moveTo(0,.6*b).lineTo(0,.4*b).lineTo(.15*b,.4*b).lineTo(.15*b,.6*b).lineTo(0,.6*b).close().moveTo(.4*b,.9*b).lineTo(.4*b,.1*b).lineTo(.55*b,.1*b).lineTo(.55*b,.9*b).lineTo(.4*b,.9*b).close().moveTo(.8*b,.7*b).lineTo(.8*b,.3*b).lineTo(.95*b,.3*b).lineTo(.95*b,.7*b).lineTo(.8*b,.7*b).close()};break;case"bar":a=function(a,b){a.moveTo(0,0).lineTo(.6*b,0).lineTo(.6*b,.15*b).lineTo(0,.15*b).close().moveTo(0,.4*b).lineTo(b,.4*b).lineTo(b,.55*b).lineTo(0,.55*b).close().moveTo(0,.8*b).lineTo(.8*b,.8*b).lineTo(.8*b,.95*b).lineTo(0,.95*b).close()};break;case"column":a=function(a,b){a.moveTo(0,b).lineTo(0,.4*b).lineTo(.15*b,.4*b).lineTo(.15*b,b).close().moveTo(.4*b,b).lineTo(.4*b,0).lineTo(.55*b,0).lineTo(.55*b,b).close().moveTo(.8*b,b).lineTo(.8*b,.2*b).lineTo(.95*b,.2*b).lineTo(.95*b,b).close()};break;case"stepline":a=function(a,b){a.moveTo(0,.8*b).lineTo(.5*b,.8*b).lineTo(.5*b,.2*b).lineTo(b,.2*b).moveTo(0,0).close();fx(this,a,b)};break;case"line":a=function(a,b){a.moveTo(0,.5*b).lineTo(b,.5*b).close();fx(this,a,b)};break;case"spline":a=function(a,b){var e=b/2;a.Ob(0,e,e,.8*e,90,-90).Ob(b,e,e,.6*e,180,90).moveTo(0,0).close();fx(this,a,b)};break;case"bubble":case"circle":a=function(a,b){var e=b/2;a.Ob(e,e,e,e,0,360).close()};break;case"candlestick":a=function(a,b){a.moveTo(.5*b,0).lineTo(.5*b,b).moveTo(0,.3*b).lineTo(b,.3*b).lineTo(b,.7*b).lineTo(0,.7*b).lineTo(0,.3*b).close()};break;case"ohlc":a=function(a,b){a.moveTo(0,.2*b).lineTo(.5*b,.2*b).moveTo(.5*b,0).lineTo(.5*b,b).moveTo(.5*b,.8*b).lineTo(b,.8*b).close()};break;case"triangleup":case"triangledown":case"diamond":case"cross":case"diagonalcross":case"star4":case"star5":case"star6":case"star7":case"star10":case"pentagon":case"trapezium":case"arrowhead":case"vline":a=ec(a);b=je(a);a=function(a,d){return b(a,d/2,d/2,d/2)};break;default:a=function(a,b){a.moveTo(0,0).lineTo(b,0).lineTo(b,b).lineTo(0,b).close()}}return a}g.x=function(a){return m(a)?(this.fa!=a&&(this.fa=a,T(this,4,9)),this):this.fa};g.y=function(a){return m(a)?(this.ta!=a&&(this.ta=a,T(this,4,9)),this):this.ta};g.wL=function(){if(!this.enabled())return new M(0,0,0,0);this.Ha&&!W(this,4)||ix(this);return this.Ha};g.disabled=function(a){return m(a)?(this.w!=a&&(this.w=a,this.F=!0,T(this,16),this.I()),this):this.w};g.Vw=function(a){return m(a)?(u(a)&&(a=nc(a)),this.B!=a&&(this.B=a,this.F=!0,T(this,16,1)),this):this.B};g.Rw=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);k!=this.T&&(this.T=k,this.F=!0,T(this,17));return this}return this.T};g.Tw=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.ma&&(this.ma=f,this.F=!0,T(this,16,1));return this}return this.ma};g.Sw=function(a,b,c,d){if(m(a)){var e=Hn.apply(null,arguments);e!=this.M&&(this.M=e,this.F=!0,T(this,16,1));return this}return this.M};function jx(a,b){return m(b)?(A(b)||(b=null===b?null:ec(b)),a.da!=b&&(a.da=b,a.F=!0,T(a,16,1)),a):a.da}g.UC=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.W!=k&&(this.W=k,this.F=!0,T(this,16,1));return this}return this.W};g.VC=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.ea!=f&&(this.ea=f,this.F=!0,T(this,16,1));return this}return this.ea};g.Uw=function(a){return m(a)?(a=zr(a)?5:+a,this.m!=a&&(this.m=a,T(this,4,9)),this):this.m};g.Zz=function(a){return m(a)?(this.eb=I(a),this):this.eb};g.qg=function(a){return m(a)?(this.nb=a,this):this.nb};g.l=function(a){return m(a)?(this.j=a,this):this.j};function kx(a,b){return m(b)?(a.ka=b,a):a.ka}g.XC=function(a){return m(a)?(this.Yg!=a&&(this.Yg=a,T(this,4,9)),this):this.Yg};g.WC=function(a){return m(a)?(this.Ef!=a&&(this.Ef=a,T(this,4,9)),this):this.Ef};function lx(a,b){m(b)&&(b=I(b),a.g!=b&&(a.g=b,T(a,4,9)))}g.text=function(a){return this.Zb("text",a)};g.nc=function(a,b){if(b||"text"in this.c||"useHtml"in this.c)this.a.useHtml?a.htmlText(this.a.text):a.text(this.a.text);ex.v.nc.call(this,a,b);this.c={}};g.Hy=function(){return this.H};g.ng=function(){this.Ha&&!W(this,4)||ix(this);return(this.D?this.g+this.m:0)+this.H.Fa().width};g.Wg=function(){this.Ha&&!W(this,4)||ix(this);return this.H.Fa().height};function ix(a){var b=a.R(),c,d;b?(c=b.width,d=b.height):c=d=void 0;var e=Q(a.Yg,c),f=Q(a.Ef,d);c=c?Q(a.fa,c):0;d=d?Q(a.ta,d):0;e&&a.H.width(e-(a.D?a.g+a.m:0));f&&a.H.height(f);f=a.H.Fa();e=(a.D?a.g+a.m:0)+f.width;f=f.height;a.Ha=b?new M(b.Qa()+c,b.Va()+d,e,f):new M(c,d,e,f)}g.remove=function(){this.h&&this.h.parent(null)};function mx(a,b){a.b&&a.b.clear();a.D?(b.call(a,a.ua.clear(),a.g),a.J&&b.call(a,a.J.clear(),a.g)):(a.ua.clear(),a.J&&a.J.clear())}
g.I=function(){if(!this.tb())return this;var a;if(a=!this.ua)this.ua=this.h.path(),L(this,this.ua),this.ua.fc(1,0,0,1,0,0);this.Ta||(this.Ta=this.h.rect().zIndex(5).stroke(null).fill("#FFFFFF 0.00001"),L(this,this.Ta));this.h.$c(kx(this));!m(this.M)||Fr(this.M)||this.J||(this.J=this.h.path(),L(this,this.J),this.J.fc(1,0,0,1,0,0),this.J.stroke("none"));if(W(this,8)){var b=this.zIndex();this.h.zIndex(b);U(this,8)}W(this,2)&&(b=this.A(),this.h.parent(b),U(this,2));b=u(this.B)?hx(this.B):this.B;W(this,16)&&(nx(this,this.Sa,a),this.F&&!a&&(mx(this,b),this.F=!1),ox(this,this.Sa),U(this,16));W(this,4)&&(ix(this),mx(this,b),this.Ta.Jg(Nl(0,0,this.Ha.width,this.Ha.height)),this.F=!1,this.H.x(this.D?this.g+this.m:0),this.H.y(0),this.h.fc(1,0,0,1,0,0),this.h.bh(this.Ha.left,this.Ha.top),U(this,4));return this};g.Rc=function(a){m(a)&&(this.Ia=a);return ex.v.Rc.call(this,a)};function nx(a,b,c){a.w?a.Zb("fontColor",a.X.fontColor):(a.Ia||(a.Ia=a.Rc()),a.Zb("fontColor",b?Bq(a.Ia):a.Ia));a.nc(a.H,!!c)}
function px(a,b){return a.w?a.X.iconStroke:Fr(a.ma)&&a.B in a.qb?a.qb[a.B]:b?Bq(a.ma):a.ma}function qx(a,b){return a.B in a.hb?null:a.w?a.X.iconFill:b?Bq(a.T):a.T}function rx(a,b){return a.w?a.X.iconMarkerStroke:b?Bq(a.ea):a.ea}function sx(a,b){return a.w?a.X.iconMarkerFill:b?Bq(a.W):a.W}function ox(a,b){a.ua.stroke(px(a,b));a.ua.fill(qx(a,b));a.J&&a.J.fill(a.w?a.X.iconHatchFill:a.M)}function gx(a,b){a.b&&(a.b.fill(sx(a,b)),a.b.stroke(rx(a,b)))}
g.K=function(a){ex.v.K.call(this,a);var b=a.iconEnabled;m(b)&&(b=!!b,this.D!=b&&(this.D=b,this.F=!0,T(this,20,1)));this.Vw(a.iconType);this.Tw(a.iconStroke);this.Rw(a.iconFill);this.Sw(a.iconHatchFill);jx(this,a.iconMarkerType);this.UC(a.iconMarkerFill);this.VC(a.iconMarkerStroke);this.Uw(a.iconTextSpacing);this.text(a.text);this.disabled(a.disabled);this.Zz(a.sourceUid);this.qg(a.sourceKey);this.l(a.meta);kx(this,a.hoverCursor);this.XC(a.maxWidth);this.WC(a.maxHeight);lx(this,a.iconSize)};function tx(a,b){X(this);Z.call(this);this.ol=!!b;this.da=!a;this.ma=this.a=null;this.b={};T(this,4294967295);this.O(!0)}G(tx,Z);g=tx.prototype;g.ia=Z.prototype.ia;g.$=Z.prototype.$|80;g.enabled=function(a){return m(a)?(null===this.ma&&a&&T(this,1,this.Dg()),this.ma=a,null===a?tx.v.enabled.call(this,!0):tx.v.enabled.call(this,a),this):this.ma};g.Gd=function(a){return m(a)?(this.T=a,this.b.positionFormatter=!0,T(this,4,9),this):this.T};g.position=function(a){return m(a)?(a=String(a),this.h!=a&&(this.h=a,this.b.position=!0,T(this,4,9)),this):this.h};g.anchor=function(a){return m(a)?(a=null===a?a:Yb(a),this.B!==a&&(this.B=a,this.b.anchor=!0,T(this,4,9)),this):this.B};g.rotation=function(a){return m(a)?(a=I(a),this.H!=a&&(this.H=a,this.b.rotation=!0,T(this,4,9)),this):this.H};g.type=function(a){return m(a)?(A(a)||(a=ec(a)),this.m!=a&&(this.m=a,this.b.type=!0,T(this,4,9)),this):this.m||this.Nh||"diagonalCross"};g.qa=function(){return this.m};g.size=function(a){return m(a)?(this.ea!=a&&(this.ea=a,this.b.size=!0,T(this,4,9)),this):this.ea};g.offsetX=function(a){return m(a)?(this.D!=a&&(this.D=a,this.b.offsetX=!0,T(this,4,9)),this):this.D};g.offsetY=function(a){return m(a)?(this.F!=a&&(this.F=a,this.b.offsetY=!0,T(this,4,9)),this):this.F};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.g!=k&&(this.g=k,this.b.fill=!0,T(this,16,1));return this}return this.g||this.M||"black"};function ux(a){return a.g}
g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.c!=f&&(this.c=f,this.b.stroke=!0,T(this,16,1));return this}return this.c||this.W||"none"};function vx(a){return a.c}g.fb=function(a){return m(a)?(this.w=a,T(this,16,1),this):this.w};g.measure=function(a){var b,c,d;this.J||(this.J=Yn());var e=this.R();e&&(b=e.width,c=e.height);d=this.type();var f=this.size(),e=Yb(this.anchor()),h=this.offsetX(),k=this.offsetY();d=u(d)?je(d):d;this.J.clear();d.call(this,this.J,0,0,f);f=this.J.Fa();a=kf(this.T.call(a,a));a=new $h(a.x,a.y);d=Ar(new M(0,0,f.width,f.height),e);a.x-=d.x;a.y-=d.y;Er(a,e,m(this.D)?Q(h,b):0,m(this.F)?Q(k,c):0);f.left=a.x;f.top=a.y;return f};g.clear=function(a){this.j||(this.j=[]);if(this.ga&&this.ga.length){if(m(a))this.ga[a]&&(this.ga[a].clear(),this.j.push(this.ga[a]),delete this.ga[a]);else{for(a=this.ga.length;a--;){var b=this.ga[a];b&&(b.clear(),this.j.push(b))}this.ga.length=0}T(this,64,1)}else this.ga=[];return this};function wx(a,b){b=+b;return a.ga&&a.ga[b]?a.ga[b]:null}g.ld=function(){return this.a};g.add=function(a,b){var c,d;m(this.ga)||(this.ga=[]);m(b)&&(d=+b,c=this.ga[d]);c?c.clear():(c=this.j&&0<this.j.length?this.j.pop():this.gE(),m(d)?(this.ga[d]=c,c.Fq(d)):(this.ga.push(c),c.Fq(this.ga.length-1)));c.Eb(a);xx(c,this);return c};g.gE=function(){return new yx};g.I=function(){this.a||(this.a=oo(),this.da&&wv(this,this.a),L(this,this.a));this.a.fb(this.fb());var a=this.a.oa(),b=a&&!a.Jc();b&&a.rd();this.ga&&Mf(this.ga,function(a){a&&(a.A(this.a),a.I())},this);W(this,8)&&(this.a.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.a.parent(this.A()),U(this,2));U(this,4294967295);b&&a.gd();return this};g.remove=function(){this.a&&this.a.remove()};g.o=function(){var a=tx.v.o.call(this);null===a.enabled&&delete a.enabled;m(this.fb())&&(a.disablePointerEvents=this.fb());this.b.position&&(a.position=this.position());this.b.anchor&&(a.anchor=this.anchor());this.b.offsetX&&(a.offsetX=this.offsetX());this.b.offsetY&&(a.offsetY=this.offsetY());this.b.type&&(a.type=this.type());this.b.rotation&&(a.rotation=this.rotation());m(this.size())&&(a.size=this.size());this.b.fill&&m(this.g)&&(a.fill=P(this.g));this.b.stroke&&m(this.c)&&(a.stroke=P(this.c));return a};g.jc=function(){var a=arguments[0];return u(a)?(this.type(a),this.enabled(!0),!0):Z.prototype.jc.apply(this,arguments)};g.K=function(a){var b=this.enabled();tx.v.K.call(this,a);this.fb(a.disablePointerEvents);this.position(a.position);this.rotation(a.rotation);this.anchor(a.anchor);this.offsetX(a.offsetX);this.offsetY(a.offsetY);this.type(a.type);this.size(a.size);this.fill(a.fill);this.stroke(a.stroke);this.Gd(a.positionFormatter);this.enabled("enabled"in a?a.enabled:b)};g.ee=function(a){a=tx.v.ee.call(this,a);for(var b=a.domTarget,c;b instanceof $n;){c=b.tag;if(c instanceof Z||!zr(c))break;b=b.parent()}a.markerIndex=I(c);return a};function yx(){Z.call(this);this.a={};this.fd()}G(yx,Z);g=yx.prototype;g.ia=Z.prototype.ia;g.$=Z.prototype.$|16;g.ld=function(){return this.c};function xx(a,b){return null!=b?(a.g!=b&&(a.g=b,T(a,16,1)),a):a.g}function zx(a,b){return m(b)?(a.h!=b&&(a.h=b,T(a,16,1)),a):a.h}g.S=function(){return this.j};g.Fq=function(a){this.j=+a;return this};g.Gd=function(a){return m(a)?(this.a.positionFormatter!=a&&(this.a.positionFormatter=a,T(this,16,8)),this):this.a.positionFormatter};g.Eb=function(a){return m(a)?(this.H!=a&&(this.H=a,T(this,16,8)),this):this.H};g.position=function(a){return m(a)?(a=String(a),this.a.position!=a&&(this.a.position=a,T(this,16,1)),this):this.a.position};g.anchor=function(a){return m(a)?(a=null===a?a:Yb(a),this.a.anchor!==a&&(this.a.anchor=a,T(this,16,1)),this):this.a.anchor};g.rotation=function(a){return m(a)?(a=I(a),this.a.rotation!==a&&(this.a.rotation=a,T(this,16,9)),this):this.a.rotation};g.type=function(a){return m(a)?(this.a.type!=a&&(this.a.type=a,T(this,16,1)),this):this.a.type};g.size=function(a){return m(a)?(this.a.size!=a&&(this.a.size=a,T(this,16,1)),this):this.a.size};g.offsetX=function(a){return m(a)?(this.a.offsetX!=a&&(this.a.offsetX=a,T(this,16,1)),this):this.a.offsetX};g.offsetY=function(a){return m(a)?(this.a.offsetY!=a&&(this.a.offsetY=a,T(this,16,1)),this):this.a.offsetY};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.a.fill!=k&&(this.a.fill=k,T(this,16,1));return this}return this.a.fill};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.a.stroke!=f&&(this.a.stroke=f,T(this,17,1));return this}return this.a.stroke};g.enabled=function(a){return m(a)?(this.a.enabled!=a&&(this.a.enabled=a,T(this,1,9)),this):this.a.enabled};g.clear=function(){this.fd();this.c&&(this.c.parent(null),this.c.Hg());T(this,2)};g.fd=function(){this.a.padding&&Ad(this.a.padding);this.a={};this.B={}};g.xd=function(a,b){m(a)&&this.C(a);m(b)&&(this.B=b);T(this,17,9);return this};function Ax(a,b,c,d,e,f){return zx(a)&&xx(a)!=zx(a)?m(c)?c:f?e:m(b)?b:d:m(b)?b:d}
g.I=function(){var a=xx(this),b=zx(this)?zx(this):a,c=!(a&&b),d;b!=a&&(d=b.b);this.c||(this.c=Yn());var e=Ax(this,this.enabled(),this.B.enabled,!c&&a.enabled(),!c&&b.enabled(),!fa(c?null:b.enabled()));null===e&&(e=!0);if(W(this,1)||!c&&W(b,1))if(e)this.A()&&this.c.parent(this.A()),U(this,1);else return this.c.parent(null),U(this,4294967295),this;if(W(this,2)||!c&&W(b,2))e&&(!c&&a.ld()&&(this.A()||this.A(a.ld()),this.A().parent()||this.A().parent(a.A())),this.A()&&this.c.parent(this.A())),U(this,2);if(W(this,8)||!c&&W(b,8))this.A()&&!c&&this.A().zIndex(a.zIndex()),this.c.zIndex(this.zIndex()),U(this,8);if(W(this,16)||!c&&W(b,16)||!c&&W(b,4)){var f="anchor type size offsetY offsetX fill stroke positionFormatter rotation".split(" "),e={};c&&(X(this),m(this.Gd())||this.Gd(Hr),m(this.size())||this.size(10),m(this.anchor())||this.anchor("center"),m(this.offsetX())||this.offsetX(0),m(this.offsetY())||this.offsetY(0),m(this.rotation())||this.rotation(0),this.O(!1));for(var h=0,k=f.length;h<k;h++){var l=f[h];e[l]=Ax(this,this[l](),this.B[l],c?void 0:a[l](),c?void 0:b[l](),!(!d||!d[l]))}var a=u(e.type)?je(e.type):e.type,n,p;if(b=this.R())n=b.width,p=b.height;this.c.clear();b=Yb(e.anchor);c=Gr(e.stroke);this.g&&this.g.ol?a.call(this,this.c,0,0,e.size,c):a.call(this,this.c,0,0,e.size);d=this.c.Cg();f=this.Eb();f=kf(e.positionFormatter.call(f,f));f=new $h(f.x,f.y);h=Ar(new M(0,0,d.width,d.height),b);f.x-=h.x;f.y-=h.y;Er(f,b,m(e.offsetX)?Q(e.offsetX,n):0,m(e.offsetY)?Q(e.offsetY,p):0);d.left=f.x+d.width/2;d.top=f.y+d.height/2;this.c.clear();this.g&&this.g.ol?a.call(this,this.c,d.left,d.top,e.size,c):a.call(this,this.c,d.left,d.top,e.size);this.c.fill(e.fill);this.c.stroke(e.stroke);this.c.fc(1,0,0,1,0,0);this.c.Gq(e.rotation||0,f.x+h.x,f.y+h.y);this.c.tag=this.S();U(this,16)}U(this,4);return this};g.o=function(){var a=yx.v.o.call(this);m(this.position())&&(a.position=this.position());m(this.rotation())&&(a.rotation=this.rotation());m(this.anchor())&&(a.anchor=this.anchor());m(this.offsetX())&&(a.offsetX=this.offsetX());m(this.offsetY())&&(a.offsetY=this.offsetY());m(this.type())&&(a.type=this.type());m(this.size())&&(a.size=this.size());m(this.fill())&&(a.fill=P(this.fill()));m(this.stroke())&&(a.stroke=P(this.stroke()));m(this.enabled())||delete a.enabled;return a};g.K=function(a){var b=this.enabled();yx.v.K.call(this,a);this.position(a.position);this.rotation(a.rotation);this.anchor(a.anchor);this.offsetX(a.offsetX);this.offsetY(a.offsetY);this.type(a.type);this.size(a.size);this.fill(a.fill);this.stroke(a.stroke);this.Gd(a.positionFormatter);m(a.enabled)||delete this.a.enabled;this.enabled("enabled"in a?a.enabled:b)};tx.prototype.positionFormatter=tx.prototype.Gd;tx.prototype.position=tx.prototype.position;tx.prototype.anchor=tx.prototype.anchor;tx.prototype.offsetX=tx.prototype.offsetX;tx.prototype.offsetY=tx.prototype.offsetY;tx.prototype.rotation=tx.prototype.rotation;tx.prototype.type=tx.prototype.type;tx.prototype.size=tx.prototype.size;tx.prototype.fill=tx.prototype.fill;tx.prototype.stroke=tx.prototype.stroke;tx.prototype.disablePointerEvents=tx.prototype.fb;tx.prototype.enabled=tx.prototype.enabled;yx.prototype.positionFormatter=yx.prototype.Gd;yx.prototype.position=yx.prototype.position;yx.prototype.anchor=yx.prototype.anchor;yx.prototype.offsetX=yx.prototype.offsetX;yx.prototype.offsetY=yx.prototype.offsetY;yx.prototype.rotation=yx.prototype.rotation;yx.prototype.type=yx.prototype.type;yx.prototype.size=yx.prototype.size;yx.prototype.fill=yx.prototype.fill;yx.prototype.stroke=yx.prototype.stroke;function Bx(){Z.call(this);this.j=new tx;this.j.Gd(Hr);this.j.size(10);this.j.anchor("center");this.j.offsetX(0);this.j.offsetY(0);this.j.rotation(0);this.j.La(this);this.w={}}G(Bx,Z);g=Bx.prototype;g.ia=Z.prototype.ia;g.$=Z.prototype.$;g.length=function(a){return m(a)?(a=null===a?a:xr(a),this.Kc!=a&&(this.Kc=a,this.ca(9)),this):this.Kc};g.stroke=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.c&&(this.c=f,T(this,16,1));return this}return this.c};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,1));return this}return this.g};function Cx(a,b){var c=kf(a.w);return A(b)?b.call(c,c):b}g.Ua=function(a,b,c,d){if(m(a)){ia(a)&&(a=a?fw:"none");var e=Hn.apply(null,arguments);e!==this.H&&(this.H=e,this.ca(9));return this}return this.H};g.type=function(a){return m(a)?(A(a)&&(a=A(a)?a:ec(a,"line")),this.m!=a&&(this.m=a,this.ca(9)),this):this.m};g.position=function(a){return m(a)?(a=pc(a),this.h!=a&&(this.h=a),this.ca(9),this):this.h};g.remove=function(){this.j&&this.j.remove();this.a&&this.a.remove()};g.mb=function(){this.D=null!=this.Kc?Q(this.Kc,this.b.ud()):this.b.Wd;this.xa=this.b.ud();"outside"==this.h?this.xa+=this.b.Wd/2+this.D/2:"inside"==this.h&&(this.xa-=this.b.Wd/2+this.D/2);this.w.length=this.D;this.w.radius=this.xa;var a=this.w,b=this.b.Hc();a.cx=b.Ma;a=this.w;b=this.b.Hc();a.cy=b.Ja;this.j.clear();A(this.c)||this.j.stroke(this.c);A(this.g)||this.j.fill(this.g);this.j.size(this.D/2);this.j.type(this.m);this.a||Fr(this.H)||(this.a=new tx,this.a.Gd(Hr),this.a.size(10),this.a.anchor("center"),this.a.offsetX(0),this.a.offsetY(0),this.a.rotation(0),this.a.A(this.A()),this.a.zIndex(Dx));this.a&&(this.a.clear(),this.a.fb(!0),this.a.size(this.D/2),this.a.type(this.m),this.a.fill(this.H),this.a.stroke(null))};g.dC=function(a){var b=Bh(a),c;c=this.b.Hc().Ma;var d=this.b.Hc();c+=this.xa*Math.cos(b);var b=d.Ja+this.xa*Math.sin(b),d=this.j.add({value:{x:c,y:b}}),e=m(d.rotation())?d.rotation():m(this.j.rotation())?this.j.rotation():0;this.w.rotation=e+a+90;this.w.x=c;this.w.y=b;this.w.angle=a;d.rotation(e+a+90);A(this.g)&&d.fill(Bn(Cx(this,this.g)));A(this.c)&&d.stroke(Gn(Cx(this,this.c)));this.a&&this.a.add({value:{x:c,y:b}}).rotation(e+a+90)};g.ic=function(){if(!this.tb())return this;if(W(this,8)){var a=this.zIndex(),b=.1*iw;this.j.zIndex(a+Ex*b);this.a&&this.a.zIndex(a+Dx*b);U(this,8)}W(this,2)&&(this.j.A(this.A()),this.a&&this.a.A(this.A()),U(this,2));this.j.I();this.a&&this.a.I();U(this,4);return this};g.o=function(){var a=Bx.v.o.call(this);m(this.length())&&(a.length=this.length());A(this.type)&&(A(this.type())?K(8,null,["Gauge axis ticks type"]):a.type=this.type());A(this.fill)&&(A(this.fill())?K(8,null,["Ticks fill"]):a.fill=P(this.fill()));A(this.stroke)&&(A(this.stroke())?K(8,null,["Ticks stroke"]):a.stroke=P(this.stroke()));a.hatchFill=P(this.Ua());a.position=this.position();return a};g.K=function(a){Bx.v.K.call(this,a);this.length(a.length);this.type(a.type);this.stroke(a.stroke);this.fill(a.fill);this.Ua(a.hatchFill);this.position(a.position)};Bx.prototype.length=Bx.prototype.length;Bx.prototype.type=Bx.prototype.type;Bx.prototype.stroke=Bx.prototype.stroke;Bx.prototype.fill=Bx.prototype.fill;Bx.prototype.hatchFill=Bx.prototype.Ua;Bx.prototype.position=Bx.prototype.position;function Fx(){gw.call(this);this.P=new tx;this.P.La(this);this.P.Gd(Hr);this.P.size(10);this.P.anchor("center");this.P.offsetX(0);this.P.offsetY(0);this.P.rotation(0)}G(Fx,gw);g=Fx.prototype;g.size=function(a){return m(a)?(a=xr(a),this.B!=a&&(this.B=a,T(this,4,9)),this):this.B};g.position=function(a){return m(a)?(a=pc(a),this.h!=a&&(this.h=a),T(this,4,9),this):this.h};g.Yb=function(a){return m(a)?(a=null===a?a:xr(a),this.xa!=a&&(this.xa=a,T(this,4,9)),this):this.xa};g.type=function(a){return m(a)?(a=A(a)?a:ec(a,"line"),this.m!=a&&(this.m=a,T(this,4,9)),this):this.m};g.I=function(){var a=this.Hc(),b=Hv(a,this.Rd());if(!this.tb())return this;if(!b||!b.enabled())return this.P&&this.P.clear(),this.a&&this.a.clear(),this;if(W(this,65536)){var c=this.Ua();this.a||Fr(c)||(this.a=new tx,this.a.Gd(Hr),this.a.size(10),this.a.anchor("center"),this.a.offsetX(0),this.a.offsetY(0),this.a.rotation(0),this.a.A(this.A()),this.a.zIndex(this.zIndex()+1));this.a&&(this.a.fb(!0),this.a.fill(c),this.a.stroke(null),this.a.size(this.w),this.a.type(this.m),T(this,4));U(this,65536)}if(W(this,4)){var d=a.Ma,c=a.Ja,e=b.scale(),f=a.Ya();f.select(this.Dd());var h=parseFloat(f.get("value"));if(e.Oc(h))return this.P&&this.P.clear(),this.a&&this.a.clear(),U(this,4),this;var k=b.ud(),l=b.Wd,n=m(b.Wa())?b.bf():a.bf(),p=m(b.sc())?b.sc():a.sc(),b=null!=this.xa?Q(this.xa,a.ud()):k;this.w=null!=this.B?Q(this.B,a.ud()):l;"outside"==this.h?b+=this.w+l/2:"inside"==this.h&&(b-=this.w+l/2);a=ub(e.transform(h),0,1);a=Ah(n+a*p);e=Bh(a);n=d+b*Math.cos(e);e=c+b*Math.sin(e);this.j.cx=d;this.j.cy=c;this.j.radius=b;this.j.size=this.w;this.j.angle=Ah(a-kw);this.P.size(this.w);this.P.type(this.m);d=this.P.add({value:{x:n,y:e}},0);d.rotation(a+90);this.a&&(this.a.size(this.w),this.a.type(this.m),this.a.add({value:{x:n,y:e}},0).rotation(a+90));(A(this.fill())||A(this.stroke()))&&T(this,16);U(this,4)}Fx.v.I.call(this);this.P.I();this.a&&this.a.I();d&&d.ld()&&(d.ld().tag=f.S());return this};g.o=function(){var a=Fx.v.o.call(this);a.position=this.position();a.size=this.size();A(this.type())?K(8,null,["Gauge marker pointer type"]):a.type=this.type();m(this.Yb())&&(a.radius=this.Yb());return a};g.K=function(a){Fx.v.K.call(this,a);this.size(a.size);this.position(a.position);this.type(a.type);this.Yb(a.radius)};Fx.prototype.size=Fx.prototype.size;Fx.prototype.position=Fx.prototype.position;Fx.prototype.radius=Fx.prototype.Yb;Fx.prototype.type=Fx.prototype.type;function Gx(){Rw.call(this);this.B=ba;Tw(this,16,!1)}G(Gx,Rw);function Hx(a,b){m(b)&&a.B!=b&&(a.B=b,T(a,64,1))}Gx.prototype.iy=ba;Gx.prototype.yE=function(a,b){this.$e||(this.$e=Yn(),wv(this,this.$e,this.Ny,this.Fw,null,null,this.Ew,this.Xp),L(this,this.$e));this.$e.clear();this.B(this.$e,this.m);this.$e.fill(a);this.$e.stroke(b)};Gx.prototype.AF=function(){this.J=Wq().defaultLegend.paginator.buttonsSettings};function Ix(a){Z.call(this);this.Sa=this.da=!1;this.ma=this.Ea=this.B=this.J=this.H=this.a=this.c=this.U=null;this.w=0;this.j=Jx;this.g=new M(0,0,0,0);this.b=new M(0,0,0,0);this.T=this.M=this.W=null;this.X=0;this.Ia=this.qb=this.Ta=!1;this.Pa=this.ea=null;this.m="bottom";this.D=!0;this.hb=!!a;this.F=!1}G(Ix,Z);var Jx=1E6;g=Ix.prototype;g.ia=Z.prototype.ia;g.$=Z.prototype.$|464;g.jj=function(a){return m(a)?(a=!!a,this.da!=a&&(this.da=a,T(this,256,9)),this):this.da};g.xk=function(a){this.ea||(this.ea=new Kx(this));return m(a)?(this.ea.C(a),this):this.ea};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.ka!=k&&(this.ka=k,T(this,16,1));return this}return this.ka};g.Lz=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.fa!=k&&(this.fa=k,T(this,16,1));return this}return this.fa};g.qz=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.ta&&(this.ta=f,T(this,16,1));return this}return this.ta};g.height=function(a){return m(a)?(a=Ra(a)||this.Ra,a!=this.Ra&&(this.Ra=a,T(this,4,9)),this):this.Ra};g.dx=function(a){return m(a)?(a=yr(a),a!==this.ua&&(this.ua=a,T(this,4,9)),this):this.ua};g.bx=function(a){return m(a)?(a=yr(a),a!==this.Ef&&(this.Ef=a,T(this,4,9)),this):this.Ef};g.padding=function(a,b,c,d){this.Pa||(this.Pa=new xu,R(this.Pa,this.KL,this));return m(a)?(this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.KL=function(a){Y(a,2)&&T(this,4,9)};g.orientation=function(a){return m(a)?(a=bc(a),this.m!=a&&(this.m=a,T(this,196,9)),this):this.m};g.bc=function(a){return m(a)?(a=!!a,this.F!=a&&(this.F=a,T(this,16,1)),this):this.F};g.$a=function(){return"bottom"==this.m||"top"==this.m};function Lx(a){return a.$a()?"ew-resize":"ns-resize"}g.remove=function(){this.U&&this.U.remove()};g.vn=function(){return this.enabled()&&(!this.da||this.D||0!=this.w||this.j!=Jx)};g.I=function(){if(!this.tb())return this;U(this,256);if(!this.vn())return this.remove(),T(this,2),this;if(!this.Tb)return this;this.U||(this.U=oo(),this.c=Yn(),this.c.zIndex(100),this.a=Yn(),this.a.zIndex(100),this.J=this.U.rect(),this.J.zIndex(0),this.Ea=io(),this.J.clip(this.Ea),this.B=this.U.rect(),this.B.zIndex(50),this.ma=io(),this.B.clip(this.ma),this.H=this.U.path(),this.H.zIndex(99),wv(this,this.U,this.JL,this.YO),this.N.pa(this.c,"mouseover",this.WG),this.N.pa(this.c,"mouseout",this.VG),Mj(this.N,this.c,"mousedown",this.Rn,void 0),Mj(this.N,this.c,"touchstart",this.Rn,void 0),this.N.pa(this.a,"mouseover",this.WG),this.N.pa(this.a,"mouseout",this.VG),Mj(this.N,this.a,"mousedown",this.Rn,void 0),Mj(this.N,this.a,"touchstart",this.Rn,void 0),Mj(this.N,this.B,"mousedown",this.Rn,void 0),Mj(this.N,this.B,"touchstart",this.Rn,void 0),this.N.pa(this.J,"click",this.rP));W(this,2)&&(this.U.parent(this.A()),U(this,2));W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8));W(this,128)&&(this.c.$c(Lx(this)),this.a.$c(Lx(this)),this.B.$c(Lx(this)),T(this,84),U(this,128));W(this,4)&&(Mx(this),U(this,4));if(W(this,64)){var a=(Math.max(Qd(this.ta),5)-1)/2;if(this.$a()){var b=this.g.top;if(this.xk().enabled())a=b+this.g.height/2,this.c.clear().moveTo(-4,a-6).lineTo(-2,a-8).lineTo(2,a-8).lineTo(4,a-6).lineTo(4,a+6).lineTo(2,a+8).lineTo(-2,a+8).lineTo(-4,a+6).close().moveTo(-1,a-5).lineTo(-1,a+5).moveTo(1,a-5).lineTo(1,a+5),this.a.clear().moveTo(-4,a-6).lineTo(-2,a-8).lineTo(2,a-8).lineTo(4,a-6).lineTo(4,a+
6).lineTo(2,a+8).lineTo(-2,a+8).lineTo(-4,a+6).close().moveTo(-1,a-5).lineTo(-1,a+5).moveTo(1,a-5).lineTo(1,a+5);else{var c=b+this.g.height;this.c.clear().moveTo(-a,b).lineTo(a,b).lineTo(a,c).lineTo(-a,c).close();this.a.clear().moveTo(-a,b).lineTo(a,b).lineTo(a,c).lineTo(-a,c).close()}}else b=this.g.left,this.xk().enabled()?(a=b+this.g.width/2,this.c.clear().moveTo(a-6,-4).lineTo(a-8,-2).lineTo(a-8,2).lineTo(a-6,4).lineTo(a+6,4).lineTo(a+8,2).lineTo(a+8,-2).lineTo(a+6,-4).close().moveTo(a-5,-1).lineTo(a+
5,-1).moveTo(a-5,1).lineTo(a+5,1),this.a.clear().moveTo(a-6,-4).lineTo(a-8,-2).lineTo(a-8,2).lineTo(a-6,4).lineTo(a+6,4).lineTo(a+8,2).lineTo(a+8,-2).lineTo(a+6,-4).close().moveTo(a-5,-1).lineTo(a+5,-1).moveTo(a-5,1).lineTo(a+5,1)):(c=b+this.g.height,this.c.clear().moveTo(b,-a).lineTo(b,a).lineTo(c,a).lineTo(c,-a).close(),this.a.clear().moveTo(b,-a).lineTo(b,a).lineTo(c,a).lineTo(c,-a).close());T(this,16);U(this,64)}if(W(this,16)){this.J.Jg(this.g);this.B.Jg(this.g);this.J.fill("none"==this.ka?xq:this.ka).stroke(null);this.B.fill("none"==this.fa?xq:this.fa).stroke(null);this.H.stroke(this.ta).fill(null);Nx(this,this.c,this.qb);Nx(this,this.a,this.Ia);switch(this.m){case"top":a=this.g;b=this.w;c=this.j;this.F&&(b=Jx-b,c=Jx-c);var b=a.left+b/Jx*a.width,d=a.left+c/Jx*a.width;this.c.fc(1,0,0,1,b,0);this.a.fc(1,0,0,1,d,0);c=Math.min(b,d);b=Math.max(b,d);this.ma.tg(c,a.top,b-c,a.height);this.H.clear().moveTo(a.left,a.top+a.height).lineTo(c,a.top+a.height).lineTo(c,a.top).lineTo(b,a.top).lineTo(b,a.top+a.height).lineTo(a.left+a.width,a.top+a.height);break;case"right":a=this.g;b=this.w;c=this.j;this.F||(b=Jx-b,c=Jx-c);b=a.top+b/Jx*a.height;d=a.top+c/Jx*a.height;this.c.fc(1,0,0,1,0,b);this.a.fc(1,0,0,1,0,d);c=Math.min(b,d);b=Math.max(b,d);this.ma.tg(a.left,c,a.width,b-c);this.H.clear().moveTo(a.left,a.top).lineTo(a.left,c).lineTo(a.left+a.width,c).lineTo(a.left+a.width,b).lineTo(a.left,b).lineTo(a.left,a.top+a.height);break;case"bottom":a=this.g;b=this.w;c=this.j;this.F&&(b=Jx-b,c=Jx-c);b=a.left+b/Jx*a.width;d=a.left+c/Jx*a.width;this.c.fc(1,0,0,1,b,0);this.a.fc(1,0,0,1,d,0);c=Math.min(b,d);b=Math.max(b,d);this.ma.tg(c,a.top,b-c,a.height);this.H.clear().moveTo(a.left,a.top).lineTo(c,a.top).lineTo(c,a.top+a.height).lineTo(b,a.top+a.height).lineTo(b,a.top).lineTo(a.left+a.width,a.top);break;case"left":a=this.g,b=this.w,c=this.j,this.F&&(b=Jx-b,c=Jx-c),b=a.top+b/Jx*a.height,d=a.top+c/Jx*a.height,this.c.fc(1,0,0,1,0,b),this.a.fc(1,0,0,1,0,d),c=Math.min(b,d),b=Math.max(b,d),this.ma.tg(a.left,c,a.width,b-c),this.H.clear().moveTo(a.left+a.width,a.top).lineTo(a.left+a.width,c).lineTo(a.left,c).lineTo(a.left,b).lineTo(a.left+a.width,b).lineTo(a.left+a.width,a.top+a.height)}this.xk().jj()||Ox(this);U(this,16)}return this};function Px(a,b,c){b=Qx(b);c=Qx(c);if(b>c){var d=b;b=c;c=d}if(b!=a.w||c!=a.j)a.w=b,a.j=c,T(a,16,1)}g.lv=function(a){return m(a)?(this.D=!!a,this):this.D};g.pb=function(){var a=this.R(),a=a?a.clone():Nl(0,0,0,0);this.vn()&&(W(this,4)&&(Mx(this),U(this,4)),this.$a()?(a.height-=this.b.height,"top"==this.m&&(a.top+=this.b.height)):(a.width-=this.b.width,"left"==this.m&&(a.left+=this.b.width)));return a};function Mx(a){var b=a.R(),c=a.$a()?b.height:b.width,d=Q(a.Ra,c);null===a.ua||(d=Math.max(d,Q(a.ua,c)));null===a.Ef||(d=Math.min(d,Q(a.Ef,c)));d=a.$a()?a.padding().We(d):a.padding().Xe(d);a.b.left=b.left;a.b.top=b.top;a.$a()?(a.b.width=b.width,a.b.height=d,"bottom"==a.m&&(a.b.top+=b.height-d)):(a.b.width=d,a.b.height=b.height,"right"==a.m&&(a.b.left+=b.width-d));var e;a.hb||a.$a()?a.g=a.padding().Ve(a.b):("left"==a.m?(d=Q(a.padding().left(),a.b.width),c=Q(a.padding().top(),a.b.height),e=Q(a.padding().right(),a.b.width),b=Q(a.padding().bottom(),a.b.height)):(d=Q(a.padding().right(),a.b.width),c=Q(a.padding().bottom(),a.b.height),e=Q(a.padding().left(),a.b.width),b=Q(a.padding().top(),a.b.height)),a.g.left=a.b.left+b,a.g.top=a.b.top+d,a.g.width=a.b.width-b-c,a.g.height=a.b.height-d-e);T(a,80)}g.JL=function(a){a.b();!ur(this.U,a.relatedTarget)&&this.re(a)&&(this.Ta=!0,Ox(this))};g.YO=function(a){a.b();!ur(this.U,a.relatedTarget)&&this.re(a)&&(this.Ta=!1,Rx(this))};g.WG=function(a){a=a.target;a instanceof Tn&&(a==this.c?Nx(this,this.c,this.qb=!0):a==this.a&&Nx(this,this.a,this.Ia=!0))};g.VG=function(a){a=a.target;a instanceof Tn&&(a==this.c?Nx(this,this.c,this.qb=!1):a==this.a&&Nx(this,this.a,this.Ia=!1))};g.Rn=function(a){if(a.a instanceof $n){var b=a.a,c;b!=this.c||this.W?b!=this.a||this.M?b!=this.B||this.T||(this.T=c=new Sx(this,this.B,!1)):this.M=c=new Sx(this,this.a,!0):this.W=c=new Sx(this,this.c,!0);c&&(this.N.pa(c,"start",this.IL),this.N.pa(c,"end",this.HL),c.Xg(a.c))}};g.rP=function(a){var b=xk(this.U.oa().A());a=this.$a()?a.clientX-b.x:a.clientY-b.y;Tx(this,"backgroundClick","scrollerchangestart")&&(Ux(this,!1,a),Tx(this,"backgroundClick","scrollerchangefinish"))};g.IL=function(a){var b;this.D&&a.c!=this.T?(a=Lx(this),b="thumbDrag"):(a=Lx(this),b="selectedRangeDrag");if(b=Tx(this,b,"scrollerchangestart"))this.X++,this.c.$c(null),this.a.$c(null),this.B.$c(null),qk(document.body,"cursor",a);return b};g.HL=function(a){this.X=Math.max(this.X-1,0);Rx(this);this.c.$c(Lx(this));this.a.$c(Lx(this));this.B.$c(Lx(this));qk(document.body,"cursor","");Tx(this,this.D&&a.c!=this.T?"thumbDrag":"selectedRangeDrag","scrollerchangefinish")};function Ox(a){a.Sa||(a.U.Fc(a.c),a.U.Fc(a.a),a.Sa=!0)}function Rx(a){a.Sa&&a.xk().jj()&&!a.X&&!a.Ta&&(a.U.removeChild(a.c),a.U.removeChild(a.a),a.Sa=!1)}function Nx(a,b,c){a=a.xk();a.enabled()?c?(c=a.Lb(),a=a.Db()):(c=a.fill(),a=a.stroke()):(c=xq,a="none");b.fill(c);b.stroke(a)}function Qx(a){return ub(Math.round(a*Jx),0,Jx)}function Tx(a,b,c,d,e){return a.dispatchEvent({type:c,startRatio:(m(d)?d:a.w)/Jx,endRatio:(m(e)?e:a.j)/Jx,source:b})}
function Ux(a,b,c){c=Vx(a,b,c);var d=a.g;switch(a.m){case"right":d=(d.top+d.height-c)/d.height;break;case"left":d=(c-d.top)/d.height;break;default:d=(c-d.left)/d.width}a.F&&(d=1-d);if(a.D&&b==a.c)c=d,d=a.j/Jx,b="thumbDrag";else if(a.D&&b==a.a)c=a.w/Jx,b="thumbDrag";else{var e=(a.j-a.w)/Jx/2;c=d-e;d+=e;b=!0===b?"selectedRangeDrag":"backgroundClick"}c=Qx(c);d=Qx(d);c>d&&(e=a.c,a.c=a.a,a.a=e,e=a.W,a.W=a.M,a.M=e,e=c,c=d,d=e);c==a.w&&d==a.j||!Tx(a,b,"scrollerchange",c,d)||(a.w=c,a.j=d,T(a,16,1))}
function Vx(a,b,c){var d=a.g,e=a.$a();a=ia(b)||!a.D?(a.j-a.w)/Jx*(e?d.width:d.height)/2:0;return e?ub(c,d.left+a,d.left+d.width-a):ub(c,d.top+a,d.top+d.height-a)}function Wx(a,b){var c;c=a.D&&b==a.c?a.w:a.D&&b==a.a?a.j:(a.w+a.j)/2;c/=Jx;a.F&&(c=1-c);var d=a.g;return a.$a()?d.left+d.width*c:"left"==a.m?d.top+d.height*c:d.top+d.height*(1-c)}
g.V=function(){Ad(this.U);this.B=this.J=this.H=this.a=this.c=this.U=null;Ad(this.W);this.W=null;Ad(this.M);this.M=null;Ad(this.T);this.T=null;Ad(this.ea);this.ea=null;Ad(this.Pa);this.Pa=null;Ix.v.V.call(this)};g.o=function(){var a=Ix.v.o.call(this);a.fill=this.fill();a.selectedFill=this.Lz();a.outlineStroke=this.qz();a.height=this.height();a.minHeight=this.dx();a.maxHeight=this.bx();a.orientation=this.orientation();a.autoHide=this.jj();a.allowRangeChange=this.lv();a.thumbs=this.xk().o();return a};g.K=function(a){Ix.v.K.call(this,a);this.orientation(a.orientation);this.jj(a.autoHide);this.lv(a.allowRangeChange);this.fill(a.fill);this.Lz(a.selectedFill);this.qz(a.outlineStroke);this.height(a.height);this.dx(a.minHeight);this.bx(a.maxHeight);this.xk(a.thumbs)};function Sx(a,b,c){Pk.call(this,b.P());this.b=a;this.N=c?b:null}G(Sx,Pk);Sx.prototype.ll=function(){this.b.$a()?(this.a=Wx(this.b,this.N),this.c=0):(this.a=0,this.c=Wx(this.b,this.N))};Sx.prototype.nn=function(a,b){Ux(this.b,this.N||!0,this.b.$a()?a:b)};Sx.prototype.mt=function(a){return this.b.$a()?Vx(this.b,this.N,a):0};Sx.prototype.pn=function(a){return this.b.$a()?0:Vx(this.b,this.N,a)};function Kx(a){this.a=a}g=Kx.prototype;g.enabled=function(a){return m(a)?(a=!!a,this.b!=a&&(this.b=a,T(this.a,16,1)),this):this.b};g.jj=function(a){return m(a)?(a=!!a,this.c!=a&&(this.c=a,T(this.a,16,1)),this):this.c};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.g!=k&&(this.g=k,T(this.a,16,1));return this}return this.g};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.m&&(this.m=f,T(this.a,16,1));return this}return this.m};g.Lb=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.h!=k&&(this.h=k,T(this.a,16,1));return this}return this.h};g.Db=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.j&&(this.j=f,T(this.a,16,1));return this}return this.j};g.o=function(){var a={};a.fill=P(this.fill());a.stroke=P(this.stroke());a.hoverFill=P(this.Lb());a.hoverStroke=P(this.Db());a.enabled=this.enabled();a.autoHide=this.jj();return a};g.GL=function(a){return ia(a)||null===a?(this.enabled(!!a),!0):!1};g.C=function(a){var b=arguments[0];m(b)&&!this.GL.apply(this,arguments)&&B(b)&&(b=arguments[0],this.enabled("enabled"in b?!!b.enabled:!0),this.fill(b.fill),this.stroke(b.stroke),this.Lb(b.hoverFill),this.Db(b.hoverStroke),this.jj(b.autoHide));return this};Ix.prototype.fill=Ix.prototype.fill;Ix.prototype.selectedFill=Ix.prototype.Lz;Ix.prototype.outlineStroke=Ix.prototype.qz;Ix.prototype.height=Ix.prototype.height;Ix.prototype.minHeight=Ix.prototype.dx;Ix.prototype.maxHeight=Ix.prototype.bx;Ix.prototype.thumbs=Ix.prototype.xk;Ix.prototype.orientation=Ix.prototype.orientation;Ix.prototype.allowRangeChange=Ix.prototype.lv;Ix.prototype.autoHide=Ix.prototype.jj;Kx.prototype.enabled=Kx.prototype.enabled;Kx.prototype.autoHide=Kx.prototype.jj;Kx.prototype.fill=Kx.prototype.fill;Kx.prototype.stroke=Kx.prototype.stroke;Kx.prototype.hoverFill=Kx.prototype.Lb;Kx.prototype.hoverStroke=Kx.prototype.Db;function Xx(){Ix.call(this,!0);this.h="afterAxes"}G(Xx,Ix);Xx.prototype.position=function(a){if(m(a)){a:{a=String(a).toLowerCase();switch(a){case"beforeaxes":case"before":case"ba":case"b":case"inside":case"in":case"i":a="beforeAxes";break a}a="afterAxes"}a!=this.h&&(this.h=a,T(this,20,9));return this}return this.h};Xx.prototype.o=function(){var a=Xx.v.o.call(this);a.position=this.position();a.inverted=this.bc();return a};Xx.prototype.K=function(a){Xx.v.K.call(this,a);this.position(a.position);this.bc(a.inverted)};Xx.prototype.position=Xx.prototype.position;Xx.prototype.inverted=Xx.prototype.bc;function Yx(){Z.call(this);this.Ra=this.sa=this.a=null;this.w=this.h=NaN;this.Ha=null;var a=na(function(a,c){c=c.clone().round();if(!this.$a()){var d=1==c.width?.5:0;c.left-=d;c.width+=2*d}a.moveTo(c.left,c.top).lineTo(c.left+c.width,c.top).lineTo(c.left+c.width,c.top+c.height).lineTo(c.left,c.top+c.height).close()},this);m(a)&&this.b!=a&&(this.b=a,T(this,16,1));T(this,4294967295)}G(Yx,Z);g=Yx.prototype;g.ia=Z.prototype.ia|8;g.$=Z.prototype.$|20;g.Ki=function(){T(this,20,9)};g.width=function(a){return m(a)?(this.sa!=a&&(this.sa=a,T(this,20,9)),this):this.sa};g.height=function(a){return m(a)?(this.Ra!=a&&(this.Ra=a,T(this,20,9)),this):this.Ra};g.margin=function(a,b,c,d){this.zc||(this.zc=new wu,L(this,this.zc),R(this.zc,this.LL,this));return m(a)?(this.zc.C.apply(this.zc,arguments),this):this.zc};g.orientation=function(a){return m(a)?(a=bc(a),this.m!=a&&(this.m=a,T(this,20,9)),this):this.m};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,1));return this}return this.g||"none"};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.c&&(this.c=f,T(this,16,1));return this}return this.c||"none"};g.I=function(){if(!this.tb())return this;this.a||(this.a=Yn(),L(this,this.a));var a=this.A(),b=a?a.oa():null,c=b&&!b.Jc();c&&b.rd();W(this,4)&&(Zx(this),U(this,4));if(W(this,16)){this.a.fill(this.fill());this.a.stroke(this.stroke());this.a.clear();var d=new M(this.h,this.w,this.B,this.j);this.b&&A(this.b)&&this.b(this.a,d);U(this,16)}W(this,2)&&(this.enabled()&&this.a.parent(a),U(this,2));W(this,8)&&(a=this.zIndex(),this.a.zIndex(a),U(this,8));c&&b.gd();return this};g.remove=function(){this.a&&this.a.parent(null)};function $x(a){a.Ha&&!W(a,4)||Zx(a);return new M(0,0,a.Ha.width,a.Ha.height)}g.pb=function(){if(!this.Ha||W(this,4))Zx(this),U(this,4);var a=this.R()||Nl(0,0,0,0);if(!this.enabled())return a;switch(this.m){case"top":a.top+=this.Ha.height;a.height-=this.Ha.height;break;case"right":a.width-=this.Ha.width;break;case"bottom":a.height-=this.Ha.height;break;case"left":a.left+=this.Ha.width,a.width-=this.Ha.width}return a};function Zx(a){var b=a.A();b&&b.oa();var c=a.margin(),b=a.R(),d,e;b?a.$a()?(d=b.width,e=b.height):(d=b.height,e=b.width):d=e=void 0;var f=Fr(a.Ra)?"100%":a.Ra,h=Q(Fr(a.sa)?"100%":a.sa,d);b&&d<c.Xe(h)&&(h=c.Ie(d));f=Q(f,e);b&&e<c.We(f)&&(f=c.He(e));var k=c.Xe(h),l=c.We(f);d=Q(c.left(),d);c=Q(c.top(),e);if(b)switch(a.m){case"top":a.h=b.Qa()+d;a.w=b.Va()+c;a.B=h;a.j=f;a.Ha=new M(b.Qa(),b.Va(),k,l);break;case"bottom":a.h=b.Qa()+d;a.w=b.ra()-l+c;a.B=h;a.j=f;a.Ha=new M(b.Qa(),b.ra()-l,k,l);break;case"left":a.h=b.Qa()+c;a.w=b.ra()-d-h;a.B=f;a.j=h;a.Ha=new M(b.Qa(),b.Va(),l,k);break;case"right":a.h=b.Oa()-c-f,a.w=b.Va()+d,a.B=f,a.j=h,a.Ha=new M(b.Oa()-l,b.Va(),l,k)}else a.h=d,a.w=c,a.$a()?a.Ha=new M(0,0,k,l):a.Ha=new M(0,0,l,k)}g.LL=function(a){Y(a,2)&&T(this,20,9)};g.$a=function(){return"top"==this.m||"bottom"==this.m};g.o=function(){var a=Yx.v.o.call(this);a.width=this.width();a.height=this.height();a.orientation=this.orientation();a.margin=this.margin().o();a.fill=P(this.fill());a.stroke=P(this.stroke());return a};g.K=function(a){Yx.v.K.call(this,a);this.width(a.width);this.height(a.height);this.margin(a.margin);this.orientation(a.orientation);this.fill(a.fill);this.stroke(a.stroke)};Yx.prototype.width=Yx.prototype.width;Yx.prototype.height=Yx.prototype.height;Yx.prototype.margin=Yx.prototype.margin;Yx.prototype.orientation=Yx.prototype.orientation;Yx.prototype.fill=Yx.prototype.fill;Yx.prototype.stroke=Yx.prototype.stroke;Yx.prototype.getRemainingBounds=Yx.prototype.pb;function ay(){Qw.call(this);this.a={}}G(ay,Qw);g=ay.prototype;g.reset=function(){this.a={};this.w=this.g=this.ea=this.W=this.da=this.M=this.ma=this.T=this.B=this.D=this.m=void 0};g.Sm=function(a){return m(a)?(a=zr(a)?5:+a,this.m!=a&&(this.m=a,this.ca(1)),this):this.m};g.Nm=function(a){return m(a)?(a=!!a,this.D!=a&&(this.D=a,this.ca(1)),this):this.D};g.Tm=function(a){return m(a)?(u(a)&&(a=nc(a)),this.B!=a&&(this.B=a,this.ca(1)),this):this.B};g.ti=function(a,b,c,d,e,f,h){if(m(a)){var k=null===a||A(a)?a:Bn.apply(null,arguments);k!=this.T&&(this.T=k,this.ca(1));return this}return this.T};g.wi=function(a,b,c,d,e){if(m(a)){var f=null===a||A(a)?a:Gn.apply(null,arguments);f!=this.ma&&(this.ma=f,this.ca(1));return this}return this.ma};g.vi=function(a,b,c,d){if(m(a)){var e=A(a)?a:Hn.apply(null,arguments);e!=this.M&&(this.M=e,this.ca(1));return this}return this.M};g.Qm=function(a){return m(a)?(A(a)||(a=ec(a)),this.da!=a&&(this.da=a,this.ca(1)),this):this.da};g.Om=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.W!=k&&(this.W=k,this.ca(1));return this}return this.W};g.Pm=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.ea!=f&&(this.ea=f,this.ca(1));return this}return this.ea};g.Rm=function(a){return m(a)?(a=I(a),this.g!=a&&(this.g=a,this.ca(1)),this):this.g};g.text=function(a){return this.Zb("text",a)};g.disabled=function(a){return m(a)?(a=!!a,this.w!=a&&(this.w=a,this.ca(1)),this):this.w};g.o=function(){var a=ay.v.o.call(this);m(this.Sm())&&(a.iconTextSpacing=this.Sm());null!=this.text()&&(a.text=this.text());m(this.Nm())&&(a.iconEnabled=this.Nm());m(this.Rm())&&(a.iconSize=this.Rm());m(this.Tm())&&(a.iconType=this.Tm());m(this.Qm())&&(a.iconMarkerType=this.Qm());m(this.disabled())&&(a.disabled=this.disabled());m(this.ti())&&(a.iconFill=P(this.ti()));m(this.wi())&&(a.iconStroke=P(this.wi()));m(this.vi())&&(a.iconHatchFill=P(this.vi()));m(this.Om())&&(a.iconMarkerFill=this.Om());m(this.Pm())&&(a.iconMarkerStroke=this.Pm());return a};g.K=function(a){X(this);ay.v.K.call(this,a);this.Sm(a.iconTextSpacing);this.Nm(a.iconEnabled);this.Tm(a.iconType);this.wi(a.iconStroke);this.ti(a.iconFill);this.vi(a.iconHatchFill);this.Qm(a.iconMarkerType);this.Om(a.iconMarkerFill);this.Pm(a.iconMarkerStroke);this.Rm(a.iconSize);this.text(a.text);this.disabled(a.disabled);this.O(!0)};ay.prototype.iconTextSpacing=ay.prototype.Sm;ay.prototype.iconEnabled=ay.prototype.Nm;ay.prototype.iconType=ay.prototype.Tm;ay.prototype.iconFill=ay.prototype.ti;ay.prototype.iconStroke=ay.prototype.wi;ay.prototype.iconHatchFill=ay.prototype.vi;ay.prototype.iconMarkerType=ay.prototype.Qm;ay.prototype.iconMarkerFill=ay.prototype.Om;ay.prototype.iconMarkerStroke=ay.prototype.Pm;ay.prototype.iconSize=ay.prototype.Rm;ay.prototype.text=ay.prototype.text;ay.prototype.disabled=ay.prototype.disabled;function by(){Z.call(this)}G(by,Z);g=by.prototype;g.ia=Z.prototype.ia;g.$=Z.prototype.$;g.Nc=function(a,b,c,d){this.ma||(this.ma=new ju,L(this,this.ma),R(this.ma,this.OJ,this));return m(a)?(this.ma.C.apply(this.ma,arguments),this):this.ma};g.left=function(a){return m(a)?(this.Nc().left(a),this):this.Nc().left()};g.right=function(a){return m(a)?(this.Nc().right(a),this):this.Nc().right()};g.top=function(a){return m(a)?(this.Nc().top(a),this):this.Nc().top()};g.bottom=function(a){return m(a)?(this.Nc().bottom(a),this):this.Nc().bottom()};g.width=function(a){return m(a)?(this.Nc().width(a),this):this.Nc().width()};g.height=function(a){return m(a)?(this.Nc().height(a),this):this.Nc().height()};g.sm=function(a){return m(a)?(this.Nc().sm(a),this):this.Nc().sm()};g.RJ=function(a){return m(a)?(this.Nc().ls(a),this):this.Nc().ls()};g.QJ=function(a){return m(a)?(this.Nc().ks(a),this):this.Nc().ks()};g.PJ=function(a){return m(a)?(this.Nc().js(a),this):this.Nc().js()};g.Cb=function(){return this.Nc().$G(this.R())};g.OJ=function(a){Y(a,2)&&T(this,4,9)};g.V=function(){Ad(this.ma);this.Ha=this.ma=null;by.v.V.call(this)};by.prototype.bounds=by.prototype.Nc;by.prototype.top=by.prototype.top;by.prototype.right=by.prototype.right;by.prototype.bottom=by.prototype.bottom;by.prototype.left=by.prototype.left;by.prototype.width=by.prototype.width;by.prototype.height=by.prototype.height;by.prototype.minWidth=by.prototype.sm;by.prototype.minHeight=by.prototype.RJ;by.prototype.maxWidth=by.prototype.QJ;by.prototype.maxHeight=by.prototype.PJ;by.prototype.getPixelBounds=by.prototype.Cb;function cy(a){Z.call(this);this.ua=a;this.j=null;this.la={};this.W={};this.U=null;this.state=Ua;this.T=0;this.H=this.ec&1?"xAnchor":null;this.J=this.ec&2?"valueAnchor":null;this.fa=7<=this.ec;this.vn=!1;this.c={};this.c.xAnchor=NaN;this.c.valueAnchor=NaN;this.c.secondXAnchor=NaN;this.c.secondValueAnchor=NaN;this.c.thirdXAnchor=NaN;this.c.thirdValueAnchor=NaN;this.X=null;this.b=new M(0,0,0,0);this.Sa=!0}G(cy,by);rt(cy,Ht);cy.prototype.$=by.prototype.$|2E3;cy.prototype.ia=by.prototype.ia;cy.prototype.ec=0;var dy={};g=cy.prototype;g.Da=null;g.va=null;g.qa=function(){return this.type};g.SJ=function(){return this.ua.h};g.yr=function(){return this.j&&this.j.ma};g.ba=function(a){if(m(a)){if(a){if(!(a instanceof ru))return Rc(5),this}else a=null;this.Da!=a&&(this.Da&&et(this.Da,this.ju,this),(this.Da=a)&&R(this.Da,this.ju,this),T(this,64,1));return this}return(this.Da?this.Da:this.yr()&&this.yr().ba())||null};g.Z=function(a){if(m(a)){if(a){if(!(a instanceof ru))return Rc(5),this}else a=null;this.va!=a&&(this.va&&et(this.va,this.ju,this),(this.va=a)&&R(this.va,this.ju,this),T(this,64,1));return this}return this.va||this.ua.h.Z()};function ey(a,b,c){a.B=b;a.D=c;T(a,128)}function fy(a){a.bb();a.H&&(a.la[a.H]=a.Z().ac((a.B-a.b.left)/a.b.width));a.J&&(a.la[a.J]=a.ba().ac((a.b.ra()-a.D)/a.b.height));a.B=a.D=NaN;a.M=!1;T(a,64)}
function gy(a,b,c,d,e){b&&(a.c[b]=a.X[b]+d,a.la[b]=a.Z().ac((a.c[b]-a.b.left)/a.b.width));c&&(a.c[c]=a.X[c]+e,a.la[c]=a.ba().ac((a.b.ra()-a.c[c])/a.b.height))}function hy(a){a.bb();return!a.H&&!a.J}g.uk=function(a){this.state=a;T(this,528)};g.bb=function(){if(W(this,64)){var a,b;a=this.Z();b=this.ba();if(!a||!b)return!1;var c,d,e,f,h,k;c=d=e=f=h=k=NaN;var l=0,n=0;this.ec&1&&(c=iy(this,a.transform(this.Hi("xAnchor"),.5)),isNaN(c)?n|=1:l|=1);this.ec&2&&(d=jy(this,b.transform(this.Hi("valueAnchor"),.5)),isNaN(d)?n|=2:l|=2);this.ec&4&&(e=iy(this,a.transform(this.Hi("secondXAnchor"),.5)),f=jy(this,b.transform(this.Hi("secondValueAnchor"),.5)),isNaN(e)||isNaN(f)?n|=4:l|=4);this.ec&8&&(h=iy(this,a.transform(this.Hi("thirdXAnchor"),.5)),k=jy(this,b.transform(this.Hi("thirdValueAnchor"),.5)),isNaN(h)||isNaN(k)?n|=8:l|=8);a=!1;var p=b=null;n&3?(b=this.ec&1?"xAnchor":null,p=this.ec&2?"valueAnchor":null,a=3<this.ec,this.ea=this.ec&3):n&4?(b="secondXAnchor",p="secondValueAnchor",a=7<this.ec,this.ea=4):n&8?(b="thirdXAnchor",p="thirdValueAnchor",this.ea=8):this.ea=0;this.c.xAnchor=c;this.c.valueAnchor=d;this.c.secondXAnchor=e;this.c.secondValueAnchor=f;this.c.thirdXAnchor=h;this.c.thirdValueAnchor=k;this.T=l;this.H=b;this.J=p;this.fa=a;this.vn=this.Vf();isNaN(this.B)||isNaN(this.D)||T(this,128);T(this,768);U(this,64)}W(this,128)&&(isNaN(this.B)||isNaN(this.D)?this.m=this.T:(this.H&&(this.c[this.H]=this.B),this.J&&(this.c[this.J]=this.D),this.m=this.T|this.ea),T(this,768),U(this,128));return this.vn||!isNaN(this.B)&&!isNaN(this.D)};g.Vf=function(){var a,b=this.b;if(2==this.ec)return a=this.c.valueAnchor,a>=b.top&&a<=b.ra();a=[];a.push(this.c.xAnchor);a.push(this.c.secondXAnchor);a.push(this.c.thirdXAnchor);for(var c=!0,d=!0,e=0;e<a.length;e++)isNaN(a[e])||(c=c&&a[e]<b.left,d=d&&a[e]>b.Oa());return!c&&!d};function iy(a,b){return a.b.left+b*a.b.width}function jy(a,b){return a.b.ra()-b*a.b.height}
g.I=function(){if(!this.tb())return this;X(this);W(this,4)&&(this.b=this.Cb(),T(this,64),U(this,4));this.Yd();var a=this.bb();this.cu();W(this,16)&&(this.Cd(this.state),U(this,16));if(W(this,256)){if(a)15==this.ec&&15==this.m?this.Us(this.c.xAnchor,this.c.valueAnchor,this.c.secondXAnchor,this.c.secondValueAnchor,this.c.thirdXAnchor,this.c.thirdValueAnchor):7<=this.ec&&7<=this.m?this.Sh(this.c.xAnchor,this.c.valueAnchor,this.c.secondXAnchor,this.c.secondValueAnchor):(3<=this.ec&&3<=this.m||this.m==this.ec)&&this.zg(this.c.xAnchor,this.c.valueAnchor);else return this.remove(),T(this,2),this.O(!1),this;U(this,256)}W(this,1024)&&(this.U.fb(!this.td("allowEdit")),U(this,1024));if(W(this,512)){if(this.Sa){var a=this.aa(),b=this.Xa().enabled()||this.ob().enabled();X(a);if(!1!==a.enabled()||b){a.A(this.U);a.clear();a.R(this.b);a.oe=5;var c=this.state,b=this.aa(),c=mb(c);switch(c){case H:c=this.Xa();break;case Ha:c=this.ob();break;default:c=null}if(!c||fa(c.enabled())?b.enabled():c.enabled())for(var d=ky(this),e=0;e<d.length;e++){var f=d[e],h=wx(b,e);h?h.Eb(f):h=b.add(f,e);h.fd();zx(h,c||b);h.xd();h.I()}else b.clear()}else a.clear(),a.A(null);a.I();a.O(!1)}U(this,512)}W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.U.parent(this.A()),U(this,2));this.O(!1);return this};g.cu=function(){};g.tb=function(){var a=cy.v.tb.call(this);!a||this.j&&this.Z()&&this.ba()||(this.remove(),T(this,2),a=!1);return a};g.remove=function(){this.U&&this.U.remove();this.ga&&(this.ga.remove(),T(this.ga,2))};g.Yd=function(){this.U||(this.U=oo(),this.U.$c("move"),this.U.tag=this)};g.zg=function(){};g.Sh=function(a,b){this.zg(a,b)};g.Us=function(a,b,c,d){this.Sh(a,b,c,d)};g.Cd=function(){};function ly(a,b){if(!a)return my;var c=b+"|"+a.join("|"),d=dy[c];if(!d){switch(b){case 2:d=Bt;break;case 3:d=Dt;break;default:case 1:d=Ct}dy[c]=d=oa(ny,a,d,3==b)}return d}
function ny(a,b,c,d,e,f){var h;e=mb(e);if(e!=Ua&&1<a.length&&(h=d.td(a[e]),c&&!0===h&&(h=b(oy())),m(h))){if(!A(h))return h;if(c)return c={sourceHatchFill:oy()},b(h.call(c,c))}a=d.td(a[0]);c&&!0===a&&(a=b(oy()));A(a)&&(c=c?{sourceHatchFill:oy()}:d.Wo(void 0,f),a=b(a.call(c,c)));h&&(c=d.Wo(a,f),a=b(h.call(c,c)));return a}function my(){return"none"}g.Wo=function(a){return{sourceColor:a||this.td("color")||"blue"}};function oy(){return Hn("diagonalBrick")}g.ju=function(a){Y(a,2)&&T(this,64,1)};g.aa=function(a){this.ga||(this.ga=new tx(!0,!0),this.ga.La(this),R(this.ga,this.TJ,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ga.C(a),this):this.ga};g.Xa=function(a){this.ub||(this.ub=new tx(!0,!0));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ub.C(a),this):this.ub};g.ob=function(a){this.vb||(this.vb=new tx(!0,!0));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.vb.C(a),this):this.vb};g.TJ=function(a){Y(a,1)&&T(this,512,1)};function ky(a){var b=[];if(1==a.ec){var c=a.c.xAnchor;isNaN(c)||b.push({x:c,y:a.b.top+a.b.height/2})}else 2==a.ec?(c=a.c.valueAnchor,isNaN(c)||b.push({x:a.b.left+a.b.width/2,y:c})):a.ec&a.m&3&&(b.push({x:a.c.xAnchor,y:a.c.valueAnchor}),a.ec&a.m&4&&(b.push({x:a.c.secondXAnchor,y:a.c.secondValueAnchor}),a.ec&a.m&8&&b.push({x:a.c.thirdXAnchor,y:a.c.thirdValueAnchor})));return Of(b,function(a){return{value:a}})}g.select=function(){this.j.a.select(this)};g.hc=function(){this.j.a.hc()};g.Hi=function(a){return this.la[a]};g.vF=function(a){return null!=this.la[a]};g.mF=function(a){return this.W[a]};g.td=function(a){return null!=this.la[a]?this.la[a]:this.W[a]};g.Sz=function(a,b){this.la[a]=b};g.check=function(){return!0};g.Eq=function(a){this.W=a;this.aa().C(a.markers);this.Xa().C(a.hoverMarkers);this.ob().C(a.selectMarkers)};g.o=function(){var a=cy.v.o.call(this);a.type=this.qa();vt(this,Ht,a,"Annotation");a.markers=this.aa().o();a.hoverMarkers=this.Xa().o();a.selectMarkers=this.ob().o();return a};g.K=function(a){ut(this,Ht,a);this.aa().C(a.markers);this.Xa().C(a.hoverMarkers);this.ob().C(a.selectMarkers);cy.v.K.call(this,a)};g.V=function(){Ad(this.U);this.U=null;delete this.ua;this.Da=this.va=this.j=null;delete this.la;delete this.W;cy.v.V.call(this)};cy.prototype.getType=cy.prototype.qa;cy.prototype.getChart=cy.prototype.SJ;cy.prototype.getPlot=cy.prototype.yr;cy.prototype.yScale=cy.prototype.ba;cy.prototype.xScale=cy.prototype.Z;cy.prototype.select=cy.prototype.select;cy.prototype.markers=cy.prototype.aa;cy.prototype.hoverMarkers=cy.prototype.Xa;cy.prototype.selectMarkers=cy.prototype.ob;function py(a){cy.call(this,a);this.a=null;this.g=ly(["stroke","hoverStroke","selectStroke"],2)}G(py,cy);rt(py,It);rt(py,Jt);rt(py,Kt);rt(py,Lt);rt(py,Mt);Gt.andrewsPitchfork=py;g=py.prototype;g.type="andrewsPitchfork";g.ec=15;g.Yd=function(){py.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path()],this.a[0].zIndex(0),this.a[1].zIndex(3))};g.zg=function(a,b){for(var c=0;c<this.a.length;c++){var d=this.a[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};g.Sh=function(a,b,c,d){for(var e=0;e<this.a.length;e++){var f=this.a[e];f.clear();f.moveTo(a,b).lineTo(a,b);f.moveTo(c,d).lineTo(c,d)}};g.Us=function(a,b,c,d,e,f){var h=(c+e)/2-a,k=(d+f)/2-b;0==h&&0==k&&(h=10);a=Kl(a,b,a+h,b+k,this.b);b=Kl(c,d,c+h,d+k,this.b);h=Kl(e,f,e+h,f+k,this.b);c=Ll(c,d,e,f,this.b);for(d=0;d<this.a.length;d++)e=this.a[d],e.clear(),f=!1,b&&(e.moveTo(b[2],b[3]).lineTo(b[0],b[1]),f=!0),c?(f?e.lineTo(c[0],c[1]):e.moveTo(c[0],c[1]),e.lineTo(c[2],c[3]),f=!0):f=!1,h&&(f?e.lineTo(h[0],h[1]):e.moveTo(h[0],h[1]),e.lineTo(h[2],h[3])),a&&e.moveTo(a[0],a[1]).lineTo(a[2],a[3])};g.Cd=function(a){py.v.Cd.call(this,a);this.a[0].fill(null).stroke(this.g(this,a));this.a[1].fill(xq).stroke(xq,2*this.hoverGap())};g.Vf=function(){var a=py.v.Vf.call(this);if(!a)var a=this.c.xAnchor,b=(this.c.secondXAnchor+this.c.thirdXAnchor)/2-a,a=!isNaN(b)&&!(a<this.b.left&&0>=b||a>this.b.Oa()&&0<=b);return a};g.o=function(){var a=py.v.o.call(this);vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");vt(this,Jt,a,"Annotation");vt(this,Kt,a,"Annotation");vt(this,Lt,a,"Annotation");return a};g.K=function(a){ut(this,Mt,a);ut(this,It,a);ut(this,Jt,a);ut(this,Kt,a);ut(this,Lt,a);py.v.K.call(this,a)};g.V=function(){py.v.V.call(this);Bd(this.a);delete this.g};function qy(a){Oj.call(this);this.h=a;this.b=this.a=null;this.g=!1;this.c=[];ry(this,!1)}G(qy,dt);g=qy.prototype;g.Ne=function(a){this.a!=a&&this.b!=a&&(this.gc(),a.uk(H),ry(this)&&a.I());this.b=a};g.gc=function(){this.b&&(this.b!=this.a&&(this.b.uk(Ua),ry(this)&&this.b.I()),this.b=null)};g.select=function(a){if(this.a!=a){this.hc();if(this.a)return this;this.h.dispatchEvent({type:"annotationSelect",annotation:a})&&(this.a=a,a.uk(Ha),ry(this)&&hy(a)?a.I():sy(this,!0))}return this};g.hc=function(){this.a&&this.h.dispatchEvent({type:"annotationUnselect",annotation:this.a})&&(this.a.uk(this.b==this.a?H:Ua),ry(this)&&this.a.I(),this.a=null,sy(this,!1));return this};g.UJ=function(){return this.a};function sy(a,b){if(a.g!=b){a.g=b;X(a.h);for(var c=0;c<a.c.length;c++){var d=a.c[c],e=b;d.J!=e&&(d.J=e,!e&&d.b&&(d.b.Ec("mouseout",d.My,!1,d),d.b.Ec("mousedown",d.Ly,!1,d),Dj(aa,"mouseup",d.nt,!1,d),Dj(aa,"mousemove",d.nt,!1,d)),T(d,128,1))}a.h.O(!0)}}
function ry(a,b){return m(b)?(a.j=!!b,a):a.j}g.VJ=function(){for(var a=0;a<this.c.length;a++)this.c[a].bC();return this};g.WJ=function(a){var b=a.j;b?b.Xv(a):Ad(a);return this};g.mb=function(a){return ry(this)?(this.Wv(),a=ty(this,a),this.select(a),this.a||(Ad(a),a=null),a):null};g.Wv=function(){X(this.h);if(this.a&&!hy(this.a)){var a=this.a.j;a?a.Xv(this.a):Ad(this.a);this.a=null}sy(this,!1);this.h.O(!0)};function ty(a,b){var c,d;u(b)?(c=b,d=void 0):B(b)&&(c=b.type,d=b);c=Qc(c);c=new Gt[c](a);c.Eq(a.h.Ux()[c.qa()]);c.C(d);return c}g.V=function(){Bd(this.c);this.c=null;qy.v.V.call(this)};qy.prototype.startDrawing=qy.prototype.mb;qy.prototype.cancelDrawing=qy.prototype.Wv;qy.prototype.getSelectedAnnotation=qy.prototype.UJ;qy.prototype.removeAnnotation=qy.prototype.WJ;qy.prototype.removeAllAnnotations=qy.prototype.VJ;qy.prototype.select=qy.prototype.select;qy.prototype.unselect=qy.prototype.hc;function Fy(a){cy.call(this,a);this.a=null;this.w=ly(["stroke","hoverStroke","selectStroke"],2);this.g=ly(["fill","hoverFill","selectFill"],1);this.h=ly(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(Fy,cy);rt(Fy,It);rt(Fy,Jt);rt(Fy,Kt);rt(Fy,Lt);rt(Fy,Mt);rt(Fy,Pt);Gt.ellipse=Fy;g=Fy.prototype;g.type="ellipse";g.ec=7;g.Yd=function(){Fy.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path(),this.U.path()],this.a[0].zIndex(0),this.a[1].zIndex(1),this.a[2].zIndex(3))};g.zg=function(a,b){for(var c=0;c<this.a.length;c++){var d=this.a[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};g.Sh=function(a,b,c,d){var e=(b+d)/2;c=(a-c)/2;b=(b-d)/2;for(d=0;d<this.a.length;d++){var f=this.a[d];f.clear();f.moveTo(a,e);f.BD(c,b,0,360)}};g.Cd=function(a){Fy.v.Cd.call(this,a);this.a[0].stroke(this.w(this,a));this.a[0].fill(this.g(this,a));this.a[1].stroke(null).fill(this.h(this,a));this.a[2].fill(xq).stroke(xq,2*this.hoverGap())};g.o=function(){var a=Fy.v.o.call(this);vt(this,Pt,a,"Annotation");vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");vt(this,Jt,a,"Annotation");vt(this,Kt,a,"Annotation");return a};g.K=function(a){ut(this,Pt,a);ut(this,Mt,a);ut(this,It,a);ut(this,Jt,a);ut(this,Kt,a);Fy.v.K.call(this,a)};g.V=function(){Fy.v.V.call(this);Bd(this.a);delete this.w;delete this.g;delete this.h};function Gy(a){cy.call(this,a);this.a=null;this.g=ly(["stroke","hoverStroke","selectStroke"],2)}G(Gy,cy);rt(Gy,Jt);rt(Gy,Mt);Gt.horizontalLine=Gy;g=Gy.prototype;g.type="horizontalLine";g.ec=2;g.Yd=function(){Gy.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path()],this.a[0].zIndex(0),this.a[1].zIndex(3))};g.zg=function(a,b){b=Rd(b,Gr(this.a[0].stroke()));for(var c=0;c<this.a.length;c++){var d=this.a[c];d.clear();d.moveTo(this.b.left,b).lineTo(this.b.Oa(),b)}};g.Cd=function(a){Gy.v.Cd.call(this,a);this.a[0].fill(null).stroke(this.g(this,a));this.a[1].fill(xq).stroke(xq,2*this.hoverGap())};g.o=function(){var a=Gy.v.o.call(this);vt(this,Mt,a,"Annotation");vt(this,Jt,a,"Annotation");return a};g.K=function(a){ut(this,Mt,a);ut(this,Jt,a);Gy.v.K.call(this,a)};g.V=function(){Gy.v.V.call(this);Bd(this.a);delete this.g};function Hy(a){cy.call(this,a);this.a=null;this.g=ly(["stroke","hoverStroke","selectStroke"],2)}G(Hy,cy);rt(Hy,It);rt(Hy,Jt);rt(Hy,Kt);rt(Hy,Mt);Gt.infiniteLine=Hy;g=Hy.prototype;g.type="infiniteLine";g.ec=7;g.Yd=function(){Hy.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path()],this.a[0].zIndex(0),this.a[1].zIndex(3))};g.zg=function(a,b){for(var c=0;c<this.a.length;c++){var d=this.a[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};g.Sh=function(a,b,c,d){var e=Gr(this.a[0].stroke());a==c&&(a=c=Rd(a,e));b==d&&(b=d=Rd(b,e));a=Jl(a,b,c,d,this.b);for(b=0;b<this.a.length;b++)c=this.a[b],c.clear(),a&&c.moveTo(a[0],a[1]).lineTo(a[2],a[3])};g.Cd=function(a){Hy.v.Cd.call(this,a);this.a[0].fill(null).stroke(this.g(this,a));this.a[1].fill(xq).stroke(xq,2*this.hoverGap())};g.Vf=function(){return!0};g.o=function(){var a=Hy.v.o.call(this);vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");vt(this,Jt,a,"Annotation");vt(this,Kt,a,"Annotation");return a};g.K=function(a){ut(this,Mt,a);ut(this,It,a);ut(this,Jt,a);ut(this,Kt,a);Hy.v.K.call(this,a)};g.V=function(){Hy.v.V.call(this);Bd(this.a);delete this.g};function Iy(a){cy.call(this,a);this.a=null;this.g=ly(["stroke","hoverStroke","selectStroke"],2)}G(Iy,cy);rt(Iy,It);rt(Iy,Jt);rt(Iy,Kt);rt(Iy,Mt);Gt.line=Iy;g=Iy.prototype;g.type="line";g.ec=7;g.Yd=function(){Iy.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path()],this.a[0].zIndex(0),this.a[1].zIndex(3))};g.zg=function(a,b){for(var c=0;c<this.a.length;c++){var d=this.a[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};g.Sh=function(a,b,c,d){var e=Gr(this.a[0].stroke());a==c&&(a=c=Rd(a,e));b==d&&(b=d=Rd(b,e));a=Ll(a,b,c,d,this.b);for(b=0;b<this.a.length;b++)c=this.a[b],c.clear(),a&&c.moveTo(a[0],a[1]).lineTo(a[2],a[3])};g.Cd=function(a){Iy.v.Cd.call(this,a);this.a[0].fill(null).stroke(this.g(this,a));this.a[1].fill(xq).stroke(xq,2*this.hoverGap())};g.o=function(){var a=Iy.v.o.call(this);vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");vt(this,Jt,a,"Annotation");vt(this,Kt,a,"Annotation");return a};g.K=function(a){ut(this,Mt,a);ut(this,It,a);ut(this,Jt,a);ut(this,Kt,a);Iy.v.K.call(this,a)};g.V=function(){Iy.v.V.call(this);Bd(this.a);delete this.g};function Jy(a){cy.call(this,a);this.Sa=!1;this.a=null;this.w=ly(["stroke","hoverStroke","selectStroke"],2);this.g=ly(["fill","hoverFill","selectFill"],1);this.h=ly(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(Jy,cy);rt(Jy,It);rt(Jy,Jt);rt(Jy,Mt);rt(Jy,Pt);rt(Jy,Qt);Gt.marker=Jy;g=Jy.prototype;g.type="marker";g.ec=3;g.uk=function(a){Jy.v.uk.call(this,a);T(this,256)};g.Yd=function(){Jy.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path(),this.U.path()],this.a[0].zIndex(0),this.a[1].zIndex(1),this.a[2].zIndex(3))};g.zg=function(a,b){var c;this.state&Ha?c=this.td("selectSize"):this.state&H&&(c=this.td("hoverSize"));c=isNaN(c)?this.td("size"):c;var d=je(this.td("markerType")),e=this.td("anchor"),f={x:a,y:b};Er(f,e,this.td("offsetX"),this.td("offsetY"));var h=c/2;switch(e){case"leftTop":case"centerTop":case"rightTop":f.y+=h;break;case"leftBottom":case"centerBottom":case"rightBottom":f.y-=h}switch(e){case"leftTop":case"leftCenter":case"leftBottom":f.x+=h;break;case"rightTop":case"rightCenter":case"rightBottom":f.x-=h}e=Gr(this.a[0].stroke());for(h=0;h<this.a.length;h++){var k=this.a[h];k.clear();d(k,f.x,f.y,c,e)}};g.Cd=function(a){Jy.v.Cd.call(this,a);this.a[0].stroke(this.w(this,a));this.a[0].fill(this.g(this,a));this.a[1].stroke(null).fill(this.h(this,a));this.a[2].fill(xq).stroke(xq,2*this.hoverGap())};g.o=function(){var a=Jy.v.o.call(this);vt(this,Qt,a,"Annotation");vt(this,Pt,a,"Annotation");vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");vt(this,Jt,a,"Annotation");return a};g.K=function(a){ut(this,Qt,a);ut(this,Pt,a);ut(this,Mt,a);ut(this,It,a);ut(this,Jt,a);Jy.v.K.call(this,a)};g.V=function(){Jy.v.V.call(this);Bd(this.a);delete this.w;delete this.g;delete this.h};function Ky(a){cy.call(this,a);this.a=null;this.g=ly(["stroke","hoverStroke","selectStroke"],2)}G(Ky,cy);rt(Ky,It);rt(Ky,Jt);rt(Ky,Kt);rt(Ky,Mt);Gt.ray=Ky;g=Ky.prototype;g.type="ray";g.ec=7;g.Yd=function(){Ky.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path()],this.a[0].zIndex(0),this.a[1].zIndex(3))};g.zg=function(a,b){for(var c=0;c<this.a.length;c++){var d=this.a[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};g.Sh=function(a,b,c,d){var e=Gr(this.a[0].stroke());a==c&&(a=c=Rd(a,e));b==d&&(b=d=Rd(b,e));a=Kl(a,b,c,d,this.b);for(b=0;b<this.a.length;b++)c=this.a[b],c.clear(),a&&c.moveTo(a[0],a[1]).lineTo(a[2],a[3])};g.Cd=function(a){Ky.v.Cd.call(this,a);this.a[0].fill(null).stroke(this.g(this,a));this.a[1].fill(xq).stroke(xq,2*this.hoverGap())};g.Vf=function(){var a=Ky.v.Vf.call(this);if(!a)var a=this.c.xAnchor,b=this.c.secondXAnchor-a,a=!isNaN(b)&&!(a<this.b.left&&0>=b||a>this.b.Oa()&&0<=b);return a};g.o=function(){var a=Ky.v.o.call(this);vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");vt(this,Jt,a,"Annotation");vt(this,Kt,a,"Annotation");return a};g.K=function(a){ut(this,Mt,a);ut(this,It,a);ut(this,Jt,a);ut(this,Kt,a);Ky.v.K.call(this,a)};g.V=function(){Ky.v.V.call(this);Bd(this.a);delete this.g};function Ly(a){cy.call(this,a);this.a=null;this.w=ly(["stroke","hoverStroke","selectStroke"],2);this.g=ly(["fill","hoverFill","selectFill"],1);this.h=ly(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(Ly,cy);rt(Ly,It);rt(Ly,Jt);rt(Ly,Kt);rt(Ly,Mt);rt(Ly,Pt);Gt.rectangle=Ly;g=Ly.prototype;g.type="rectangle";g.ec=7;g.Yd=function(){Ly.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path(),this.U.path()],this.a[0].zIndex(0),this.a[1].zIndex(1),this.a[2].zIndex(3))};g.zg=function(a,b){for(var c=0;c<this.a.length;c++){var d=this.a[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};g.Sh=function(a,b,c,d){var e=Gr(this.a[0].stroke());a=Rd(a,e);b=Rd(b,e);c=Rd(c,e);d=Rd(d,e);for(e=0;e<this.a.length;e++){var f=this.a[e];f.clear();f.moveTo(a,b).lineTo(c,b).lineTo(c,d).lineTo(a,d).close()}};g.Cd=function(a){Ly.v.Cd.call(this,a);this.a[0].stroke(this.w(this,a));this.a[0].fill(this.g(this,a));this.a[1].stroke(null).fill(this.h(this,a));this.a[2].fill(xq).stroke(xq,2*this.hoverGap())};g.o=function(){var a=Ly.v.o.call(this);vt(this,Pt,a,"Annotation");vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");vt(this,Jt,a,"Annotation");vt(this,Kt,a,"Annotation");return a};g.K=function(a){ut(this,Pt,a);ut(this,Mt,a);ut(this,It,a);ut(this,Jt,a);ut(this,Kt,a);Ly.v.K.call(this,a)};g.V=function(){Ly.v.V.call(this);Bd(this.a);delete this.w;delete this.g;delete this.h};function My(a){cy.call(this,a);this.a=null;this.w=ly(["stroke","hoverStroke","selectStroke"],2);this.g=ly(["fill","hoverFill","selectFill"],1);this.h=ly(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(My,cy);rt(My,It);rt(My,Jt);rt(My,Kt);rt(My,Lt);rt(My,Mt);rt(My,Pt);Gt.trendChannel=My;g=My.prototype;g.type="trendChannel";g.ec=15;g.Yd=function(){My.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path(),this.U.path(),this.U.path()],this.a[0].zIndex(2),this.a[1].zIndex(0),this.a[2].zIndex(1),this.a[3].zIndex(3))};g.zg=function(a,b){for(var c=0;c<this.a.length;c++)this.a[c].clear();this.a[0].moveTo(a,b).lineTo(a,b);this.a[3].moveTo(a,b).lineTo(a,b)};g.Sh=function(a,b,c,d){a=Kl(a,b,c,d,this.b);for(b=0;b<this.a.length;b++)this.a[b].clear();a&&(this.a[0].moveTo(a[0],a[1]).lineTo(a[2],a[3]),this.a[3].moveTo(a[0],a[1]).lineTo(a[2],a[3]))};g.Us=function(a,b,c,d,e,f){var h,k=this.b.left,l=this.b.Oa();h=this.b.top;var n=this.b.ra();if(c==a)d=d-b||1,a<k&&e<l||a>k&&e>l?c=f=d=h=null:(c=Jl(a,b,a,b+d,this.b),f=Jl(e,f,e,f+d,this.b),b=Math.max(Math.min(a,e),k),a=Math.min(Math.max(a,e),l),d=[b,h],h=[a,h,a,n,b,n,b,h]);else{d=(d-b)/(c-a);b-=d*a;var p=f-d*e;b>p&&(f=b,b=p,p=f);a=c>a?Math.min(a,e):Math.max(a,e);e=c;e>a&&a>l||e<a&&a<k?c=f=d=h=null:(e>a?(a=Math.max(a,k),e=l):(e=Math.min(a,l),a=k),c=d*a+b,f=d*a+p,k=d*e+b,l=d*e+p,f<h&&l<h||c>n&&k>n?c=f=d=h=null:(c=Ll(a,c,e,k,this.b),f=Ll(a,f,e,l,this.b),0>d?(l=Math.max(a,(n-b)/d),b=Math.min(e,(h-p)/d),c?(d=[c[0],c[1]],h=[c[2],c[3],b,c[3]]):(d=[a,h],h=[b,h]),f?h.push(b,f[3],f[0],f[1],l,f[1]):h.push(b,n,l,n)):0<d?(l=Math.max(a,(h-p)/d),b=Math.min(e,(n-b)/d),c?(d=[c[2],c[3]],h=[c[0],c[1],l,c[1]]):(d=[e,h],h=[l,h]),f?h.push(l,f[1],f[2],f[3],b,f[3]):h.push(l,n,b,n)):(h=c?c[1]:h,n=f?f[1]:n,d=[a,h],h=[e,h,e,n,a,n])))}for(n=0;n<this.a.length;n++)this.a[n].clear();n=this.a[0];c&&n.moveTo(c[0],c[1]).lineTo(c[2],c[3]);f&&n.moveTo(f[0],f[1]).lineTo(f[2],f[3]);if(d&&h)for(n=1;n<this.a.length;n++)c=this.a[n],c.moveTo(d[0],d[1]),c.lineTo.apply(c,h),c.close()};g.Cd=function(a){My.v.Cd.call(this,a);this.a[0].fill(null).stroke(this.w(this,a));this.a[1].stroke(null).fill(this.g(this,a));this.a[2].stroke(null).fill(this.h(this,a));this.a[3].fill(xq).stroke(xq,2*this.hoverGap())};g.Vf=function(){var a=My.v.Vf.call(this);if(!a&&15==this.T){var b=this.c.xAnchor,c=this.c.secondXAnchor,d=this.c.thirdXAnchor;b!=c&&(a=c>b?Math.min(b,d):Math.max(b,d),a=!(a<this.b.left&&c>a||a>this.b.Oa()&&c<a))}return a};g.o=function(){var a=My.v.o.call(this);vt(this,Pt,a,"Annotation");vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");vt(this,Jt,a,"Annotation");vt(this,Kt,a,"Annotation");vt(this,Lt,a,"Annotation");return a};g.K=function(a){ut(this,Pt,a);ut(this,Mt,a);ut(this,It,a);ut(this,Jt,a);ut(this,Kt,a);ut(this,Lt,a);My.v.K.call(this,a)};g.V=function(){My.v.V.call(this);Bd(this.a);delete this.w;delete this.g;delete this.h};function Ny(a){cy.call(this,a);this.a=null;this.w=ly(["stroke","hoverStroke","selectStroke"],2);this.g=ly(["fill","hoverFill","selectFill"],1);this.h=ly(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(Ny,cy);rt(Ny,It);rt(Ny,Jt);rt(Ny,Kt);rt(Ny,Lt);rt(Ny,Mt);rt(Ny,Pt);Gt.triangle=Ny;g=Ny.prototype;g.type="triangle";g.ec=15;g.Yd=function(){Ny.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path(),this.U.path()],this.a[0].zIndex(0),this.a[1].zIndex(1),this.a[2].zIndex(3))};g.zg=function(a,b){for(var c=0;c<this.a.length;c++){var d=this.a[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};g.Sh=function(a,b,c,d){for(var e=0;e<this.a.length;e++){var f=this.a[e];f.clear();f.moveTo(a,b).lineTo(c,d)}};g.Us=function(a,b,c,d,e,f){for(var h=0;h<this.a.length;h++){var k=this.a[h];k.clear();k.moveTo(a,b).lineTo(c,d).lineTo(e,f).close()}};g.Cd=function(a){Ny.v.Cd.call(this,a);this.a[0].stroke(this.w(this,a));this.a[0].fill(this.g(this,a));this.a[1].stroke(null).fill(this.h(this,a));this.a[2].fill(xq).stroke(xq,2*this.hoverGap())};g.o=function(){var a=Ny.v.o.call(this);vt(this,Pt,a,"Annotation");vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");vt(this,Jt,a,"Annotation");vt(this,Kt,a,"Annotation");vt(this,Lt,a,"Annotation");return a};g.K=function(a){ut(this,Pt,a);ut(this,Mt,a);ut(this,It,a);ut(this,Jt,a);ut(this,Kt,a);ut(this,Lt,a);Ny.v.K.call(this,a)};g.V=function(){Ny.v.V.call(this);Bd(this.a);delete this.w;delete this.g;delete this.h};function Oy(a){cy.call(this,a);this.a=null;this.g=ly(["stroke","hoverStroke","selectStroke"],2)}G(Oy,cy);rt(Oy,It);rt(Oy,Mt);Gt.verticalLine=Oy;g=Oy.prototype;g.type="verticalLine";g.ec=1;g.Yd=function(){Oy.v.Yd.call(this);this.a||(this.a=[this.U.path(),this.U.path()],this.a[0].zIndex(0),this.a[1].zIndex(3))};g.zg=function(a){a=Rd(a,Gr(this.a[0].stroke()));for(var b=0;b<this.a.length;b++){var c=this.a[b];c.clear();c.moveTo(a,this.b.top).lineTo(a,this.b.ra())}};g.Cd=function(a){Oy.v.Cd.call(this,a);this.a[0].fill(null).stroke(this.g(this,a));this.a[1].fill(xq).stroke(xq,2*this.hoverGap())};g.o=function(){var a=Oy.v.o.call(this);vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");return a};g.K=function(a){ut(this,Mt,a);ut(this,It,a);Oy.v.K.call(this,a)};g.V=function(){Oy.v.V.call(this);Bd(this.a);delete this.g};function Py(a){X(this);Z.call(this);this.a=a;this.O(!1)}G(Py,by);var Qy={};g=Py.prototype;g.Kh=null;g.ia=by.prototype.ia|20;g.$=by.prototype.$|976;g.bj=!1;g.Kd=0;g.G=function(){return this.a.G()};g.Ya=function(){return this.a.Ya()};g.Hh=function(){return this.a};g.Gm=function(){if(!this.enabled())return null;var a=this.a.ba(),b=this.a.Z(),c=this.G(),d=!1,e=c.get("x"),c=c.get("value");if(!m(e)||!m(c))return null;a.Oc(c)&&(c=NaN);b=b.Oc(e)?NaN:Ry(this,b.transform(e,.5),!0);a=Ry(this,a.transform(c,.5),!1);if(isNaN(b)||isNaN(a))d=!0;return d?null:[b,a]};g.Yh=function(){return!1};g.af=function(){if(this.enabled()&&(this.bj=this.bj?this.pp():this.Xr())){var a=Sy(this.a);a&&a.I()}this.enabled()&&this.bj&&(a=Ty(this.a))&&a.I()};g.fn=function(){this.bj=!1};g.remove=function(){this.a.aa().A(null);this.U&&this.U.remove();this.a.labels().A(null);Py.v.remove.call(this)};g.mb=function(){this.bj=!1;this.Kh=this.Cb();this.U||(this.U=oo(),L(this,this.U));this.tb();var a=this.a.B;X(a);a.clear();a.A(this.A());a.R(this.Cb());a=this.a.D;X(a);var b=this.md();a.M=b;b=this.Ud();a.W=b;a.clear();a.A(this.A());a.R(this.Kh)};g.ic=function(){var a,b=this.a.D;b.I();a=ia(this.a.clip())?this.a.clip()?this.a.Cb():"none":this.a.clip();var c=b.ld();c&&c.clip(a);b.O(!1);U(b,4294967295);b=this.a.B;b.I();(c=b.ld())&&c.clip(a);b.O(!1);b&&U(b,4294967295);W(this,2)?U(this,0):U(this,4294967295)};g.Kb=function(a){if(!this.F||a)this.F=new dd(this,["x","value"],!1);this.F.Bf();return this.F};g.Jf=function(){return this.Kb()};g.Bw=function(a){var b=this.G(),c=b.l("shape");return c?(b=c.Fa(),a=Yb(a),{value:Ar(b,a)}):{value:{x:b.l("x"),y:b.l("value")}}};g.Xr=function(){return this.pp()};function Ry(a,b,c){c?(c=a.Kh.left,a=a.Kh.width):(c=a.Kh.ra(),a=-a.Kh.height);return c+b*a}g.md=function(){return Bn(this.a.Po(this.a.fill()))};g.Ud=function(){return Cq(this.md())};g.Th=function(){this.a.D.type("circle").size(1.8).position("center");return{labels:{background:{enabled:!1},position:"center",anchor:"centerBottom"},color:"#4682B4"}};function Uy(a){Py.call(this,a)}G(Uy,Py);Qy.column=Uy;g=Uy.prototype;g.Hm=null;g.si=null;g.Yh=function(){return!0};g.IC=function(){return Un()};function Vy(a,b){var c=b||a.Kh,c=Math.floor((a.a.Z().Ey()||1/a.G().Za())*c.width),c=Math.floor(Q(a.a.lr(),c));1>c&&(c=1);return c}
g.mb=function(){Uy.v.mb.call(this);var a=this.a.ba().transform(0);isNaN(a)&&(a=0);this.Kd=Ry(this,ub(a,0,1),!1);this.Tb&&this.enabled()&&(this.Hm||(this.Hm=new Qo(this.IC,ba),this.Hm.zIndex(1)),W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8)),W(this,4)&&(a=ia(this.a.clip())?this.a.clip()?this.Kh:"none":this.a.clip(),this.U.clip(a),U(this,4)),W(this,16)&&this.Hm.clear(),W(this,64)&&(this.si||(this.si=new Qo(this.IC,ba),this.si.parent(this.U),this.si.zIndex(2),this.si.fb(!0)),this.si.clear()),W(this,2)&&(this.U.parent(this.A()),this.Hm.parent(this.U),this.si&&this.si.parent(this.U),U(this,2)))};g.pp=function(){var a=this.Gm();if(!a)return!1;if(W(this,16)){var b=a[0],c=a[1],c=c<this.Kd?Math.ceil(c):Math.floor(c),a=Ro(this.Hm),d=Vy(this),e=0==d%2?0:.5;this.G().l("x",b).l("value",c).l("shape",a);var f=Math.min(this.Kd,c),c=Math.abs(this.Kd-c);a.Mn(Math.ceil(b+e-d/2)).Nn(f).Ln(d).In(c);b=this.G().l("shape");m(b)&&(b.fill(Wy(this.a)),b.stroke(null))}W(this,64)&&(a=this.G(),b=this.si?Ro(this.si):null,a.l("hatchFillShape",b),a=a.l("shape"),m(a)&&b&&b.Pb(a.o()),b=this.G().l("hatchFillShape"),null!=b&&b.stroke(null).fill(this.a.Vb(!0)));return!0};g.Th=function(){var a=Uy.v.Th.call(this);a.markers||(a.markers={});a.markers.position="centerTop";a.labels||(a.labels={});a.labels.position="centerTop";a.labels.anchor="centerBottom";a.negativeMarkers||(a.negativeMarkers={});a.negativeMarkers.position="centerBottom";a.negativeLabels||(a.negativeLabels={});a.negativeLabels.position="centerBottom";a.negativeLabels.anchor="centerTop";a.stroke={color:"#64b5f6",thickness:1.5};a.fill={color:"#64b5f6",opacity:.7};a.negativeFill={color:"#ef6c00",opacity:.7};return a};function Xy(a){Py.call(this,a);this.path=Yn();this.path.zIndex(1);this.b=null;this.w=[this.path]}G(Xy,Py);g=Xy.prototype;g.af=function(){if(this.enabled()){var a;if(a=this.bj?this.pp():this.Xr()){var b=Ty(this.a);b&&b.I();(b=Sy(this.a))&&b.I()}this.bj=this.a.Oo()&&this.bj||a}};g.mb=function(){Xy.v.mb.call(this);if(this.Tb&&this.enabled()){var a=this.a.ba().transform(0);isNaN(a)&&(a=0);this.Kd=Ry(this,ub(a,0,1),!1);var b,a=this.w.length;W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8));W(this,4)&&(this.a.clip()&&(ia(this.a.clip())?b=this.Kh:b=this.a.clip(),this.U.clip(b)),U(this,4));if(W(this,16)){for(b=0;b<a;b++)this.w[b].clear();this.JC()}if(W(this,2)){b=this.A();this.U.parent(b);for(b=0;b<a;b++)this.w[b].parent(this.U);this.b&&this.b.parent(this.U);U(this,2)}W(this,64)&&!this.b&&(this.b=Yn(),this.b.parent(this.U),this.b.zIndex(2),this.b.fb(!0))}};g.fn=function(){this.a.Oo()||(Xy.v.fn.call(this),this.Yr())};g.ic=function(){this.Yr();this.KC();Xy.v.ic.call(this)};g.Bw=function(){var a=this.G();return{value:{x:a.l("x"),y:a.l("value")}}};g.Yr=ba;g.KC=ba;g.JC=function(){this.path.stroke(Yy(this.a),1);this.path.fill(null)};g.Th=function(){return Xy.v.Th.call(this)};function Zy(a){Xy.call(this,a);this.c=Yn();this.c.zIndex(1.1);this.w.push(this.c)}G(Zy,Xy);Qy.area=Zy;g=Zy.prototype;g.mb=function(){Zy.v.mb.call(this);this.g=NaN};g.JC=function(){var a=Bn(this.a.Po(this.a.fill()));this.path.stroke(null);this.path.fill(a);this.c.stroke(Yy(this.a));this.c.fill(null)};g.KC=function(){W(this,64)&&this.b&&(this.b.Pb(this.path.o()),this.b&&(this.b.stroke(null),this.b.fill($y(this.a,this.a.Ua()))))};g.Xr=function(){var a=this.Gm();if(!a)return!1;if(W(this,16)){var b=a[0],a=a[1];this.Yr();this.path.moveTo(b,this.Kd).lineTo(b,a);this.c.moveTo(b,a);this.g=b;this.G().l("x",b).l("value",a)}return!0};g.pp=function(){var a=this.Gm();if(!a)return!1;if(W(this,16)){var b=a[0],a=a[1];this.path.lineTo(b,a);this.c.lineTo(b,a);this.g=b;this.G().l("x",b).l("value",a)}return!0};g.Yr=function(){isNaN(this.g)||this.path.lineTo(this.g,this.Kd).close()};g.Th=function(){var a=Zy.v.Th.call(this);a.stroke={color:"#64b5f6",thickness:1.5};a.fill={color:"#64b5f6",opacity:.5};return a};function az(a){Xy.call(this,a)}G(az,Xy);Qy.line=az;g=az.prototype;g.Xr=function(){var a=this.Gm();if(!a)return!1;if(W(this,16)){var b=a[0],a=a[1];this.path.moveTo(b,a);this.G().l("x",b).l("value",a)}return!0};g.pp=function(){var a=this.Gm();if(!a)return!1;if(W(this,16)){var b=a[0],a=a[1];this.path.lineTo(b,a);this.G().l("x",b).l("value",a)}return!0};g.md=function(){return Yy(this.a)};g.Ud=function(){return Cq(Yy(this.a))};g.Th=function(){var a=az.v.Th.call(this);a.stroke={color:"#64b5f6",thickness:1.5};a.fill={color:"#64b5f6",opacity:.5};return a};function bz(a){Py.call(this,a)}G(bz,Uy);Qy.winLoss=bz;bz.prototype.mb=function(){bz.v.mb.call(this);this.Kd=Math.round(Ry(this,.5,!1))};bz.prototype.Gm=function(){if(!this.enabled())return null;var a=this.a.ba(),b=this.a.Z(),c=this.G(),d=!1,e=c.get("x"),c=c.get("value"),c=0<c?a.bc()?0:1:0>c?a.bc()?1:0:.5;if(!m(e)||!m(c))return null;a.Oc(c)&&(c=NaN);a=b.Oc(e)?NaN:Ry(this,b.transform(e,.5),!0);b=Ry(this,c,!1);if(isNaN(a)||isNaN(b))d=!0;return d?null:[a,b]};bz.prototype.Th=function(){var a=bz.v.Th.call(this);a.markers||(a.markers={});a.markers.position="centerTop";a.markers.anchor="centerTop";a.labels||(a.labels={});a.labels.position="centerTop";a.labels.anchor="centerTop";a.negativeMarkers||(a.negativeMarkers={});a.negativeMarkers.position="centerBottom";a.negativeMarkers.anchor="centerBottom";a.negativeLabels||(a.negativeLabels={});a.negativeLabels.position="centerBottom";a.negativeLabels.anchor="centerBottom";a.stroke={color:"#64b5f6",thickness:1.5};a.fill={color:"#64b5f6",opacity:.7};a.negativeFill={color:"#ef6c00",opacity:.7};return a};function cz(){X(this);Z.call(this);this.a=null;this.h="round";this.b=[0];this.c=this.g="none";this.w=!1;this.O(!1)}G(cz,by);g=cz.prototype;g.ia=by.prototype.ia;g.$=by.prototype.$|80;g.Kx=function(a){if(m(a)){var b;b=r(a)?a:B(a)?[I(a.leftTop)||0,I(a.rightTop)||0,I(a.rightBottom)||0,I(a.leftBottom)||0]:zb(arguments,0);hg(b,this.b)||(this.b=b,T(this,16,1));return this}return this.b};g.Jx=function(a){return m(a)?(a=mc(a),a!=this.h&&(this.h=a,T(this,16,1)),this):this.h};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.g!=k&&(this.g=k,T(this,16,1));return this}return this.g||"none"};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);if(f!=this.c){var h=16;Qd(f)!=Qd(this.c)&&(h|=12);this.c=f;T(this,h,1)}return this}return this.c||"none"};g.fb=function(a){return m(a)?(a=!!a,a!=this.w&&(this.w=a,T(this,64,1)),this):this.w};g.I=function(){if(!this.tb())return this;this.a||(this.a=Un(),L(this,this.a));var a=this.A()?this.A().oa():null,b=a&&!a.Jc();b&&a.rd();W(this,64)&&(this.a.fb(this.w),U(this,64));if(W(this,4)){var c=this.Cb(),d=this.a.Ej()/2;isNaN(d)&&(d=.5);c.left+=d;c.top+=d;c.width-=d+d;c.height-=d+d;this.a.Jg(c);U(this,4);B(this.g)&&("keys"in this.g||"src"in this.g)&&T(this,16)}if(W(this,16)){this.a.fill(this.g);this.a.stroke(this.c);switch(this.h){case"round":this.a.round.apply(this.a,this.b);break;case"cut":this.a.Tx.apply(this.a,this.b);break;case"roundInner":this.a.jG.apply(this.a,this.b);break;default:this.a.Tx(0)}U(this,16)}W(this,8)&&(this.a.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.a.parent(this.A()),U(this,2));b&&a.gd();return this};g.pb=function(){var a=this.Cb(),a=a?a.clone():Nl(0,0,0,0);if(!this.enabled())return a;var b=Fr(this.c)?0:Qd(this.c);a.top+=b;a.left+=b;a.height-=2*b;a.width-=2*b;return a};g.remove=function(){this.a&&this.a.parent(null)};g.o=function(){var a=cz.v.o.call(this);this.g&&(a.fill=P(this.fill()));this.c&&(a.stroke=P(this.stroke()));a.cornerType=this.Jx();var b=this.Kx();4<=b.length?b={leftTop:b[0],rightTop:b[1],rightBottom:b[2],leftBottom:b[3]}:b=b[0];a.corners=b;return a};g.jc=function(a){var b=arguments;return u(b[0])?(this.fill(b[0]),this.stroke(null),this.enabled(!0),!0):by.prototype.jc.apply(this,arguments)};g.K=function(a){cz.v.K.call(this,a);this.fill(a.fill);this.stroke(a.stroke);this.Jx(a.cornerType);this.Kx(a.corners)};g.V=function(){this.a&&(this.a.parent(null),Ad(this.a),this.a=null);delete this.g;delete this.c;delete this.h;this.b.length=0;delete this.b;cz.v.V.call(this)};cz.prototype.fill=cz.prototype.fill;cz.prototype.stroke=cz.prototype.stroke;cz.prototype.cornerType=cz.prototype.Jx;cz.prototype.corners=cz.prototype.Kx;function dz(){Qw.call(this);this.b=this.Ra=this.sa=this.Pa=this.cb=null;this.ma=this.B=!1;this.ea=this.da=NaN;this.ua=oo();wv(this,this.ua)}G(dz,Qw);g=dz.prototype;g.ia=Qw.prototype.ia;g.$=Qw.prototype.$|64;g.text=function(a){m(a)&&(a=null==a?"":String(a));return this.Zb("text",a)};g.rp=function(a){this.cb||(this.cb=new cz,L(this,this.cb),R(this.cb,this.qL,this));return m(a)?(this.cb.C(a),this):this.cb};g.qL=function(a){Y(a,1)&&T(this,64,1)};g.padding=function(a,b,c,d){this.Pa||(this.Pa=new xu,L(this,this.Pa),R(this.Pa,this.rL,this));return m(a)?(this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.rL=function(a){Y(a,2)&&T(this,4,9)};g.width=function(a){return m(a)?(this.sa!=a&&(this.sa=a,T(this,4,9)),this):this.sa};g.height=function(a){return m(a)?(this.Ra!=a&&(this.Ra=a,T(this,4,9)),this):this.Ra};g.rotation=function(a){return m(a)?(this.H=a,T(this,4,9),this):this.H};g.anchor=function(a){return m(a)?(a=null===a?null:Yb(a),this.ka!=a&&(this.ka=a,T(this,4,9)),this):this.ka};function ez(a,b){return m(b)?(a.Ia!=b&&(a.Ia=b,a.anchor()||T(a,4,9)),a):a.Ia}function fz(a){return a.anchor()||ez(a)}g.offsetX=function(a){return m(a)?(this.D=wr(a),T(this,4,9),this):this.D};g.offsetY=function(a){return m(a)?(this.F=wr(a),T(this,4,9),this):this.F};g.position=function(a){return m(a)?(a=Yb(a,void 0),this.h!=a&&(this.h=a,T(this,4,9)),this):this.h};g.cd=function(a){return m(a)?(this.da!=+a&&(this.da=+a,(this.B||this.ma)&&T(this,4,9)),this):this.da};g.bd=function(a){return m(a)?(this.ea!=+a&&(this.ea=+a,(this.B||this.ma)&&T(this,4,9)),this):this.ea};g.tc=function(a,b){if(r(a))return this.tc.apply(this,a);if(B(a))return this.tc(a.width,a.height),this;var c=0;if(m(b))return this.B!=!!a&&(this.B=!!a,c|=4),this.ma!=!!b&&(this.ma=!!b,c|=4),T(this,c,9),this;if(m(a)){if(this.B!=this.ma||this.B!=a)this.B=this.ma=a,T(this,4,9);return this}return{width:this.B,height:this.ma}};g.fb=function(a){return m(a)?(a=!!a,a!=this.w&&(this.w=a,dz.v.fb.call(this,a),this.rp().fb(a)),this):this.w};function gz(a,b,c,d,e){if(a.B&&a.ma){if(b>d||c>e)return 1;if(b<d||c<e)return-1}else if(a.B){if(b<d)return-1;if(b>d)return 1}else if(a.ma){if(c<e)return-1;if(c>e)return 1}return 0}
function hz(a){var b=a.R(),c,d,e;b?(c=b.width,b=b.height,null!=a.sa?(a.M=d=Q(a.sa,c),c=!1):(d=0,c=!0),null!=a.Ra?(a.J=e=Q(a.Ra,b),b=!1):(e=0,b=!0)):(zr(a.sa)?(c=!0,d=0):(c=!1,a.M=d=I(a.sa)),zr(a.Ra)?(b=!0,e=0):(b=!1,a.J=e=I(a.Ra)));var f=a.padding();a.b.width(null);a.b.height(null);c?(d+=a.b.Fa().width,a.W=d,a.M=f.Xe(d)):d=a.W=f.Ie(d);a.b.width(a.W);b?(e+=a.b.Fa().height,a.T=e,a.J=f.We(e)):e=a.T=f.He(e);a.b.height(a.T);var h=!c&&a.B||!b&&a.ma;X(a);if(h){var h=Math.round((a.ea+a.da)/2),k=a.da,l=a.ea,n;n=a.c;var p=qo();p.me("aria-hidden","true");a.nc(p,!0);a.c=n;p.fontSize(a.ea);if(0>=gz(a,p.Fa().width,p.Fa().height,d,e))d=a.ea;else{p.fontSize(h);for(var q=n=gz(a,p.Fa().width,p.Fa().height,d,e);k!=l;){if(0>n)k=Math.min(h+1,l),h+=Math.floor((l-h)/2);else if(0<n)l=Math.max(h-1,k),h-=Math.ceil((h-k)/2);else break;p.fontSize(h);n=gz(a,p.Fa().width,p.Fa().height,d,e);if(0>=q*n)break}if(0==n)Ad(p);else{do h+=q,p.fontSize(h),n=gz(a,p.Fa().width,p.Fa().height,d,e);while(0>q*n);Ad(p);0<q&&(h-=q)}d=h}a.fontSize(d);a.b.fontSize(d);c&&(a.b.width(null),a.W=a.b.Fa().width,a.b.width(a.W),a.M=f.Xe(a.W));b&&(a.b.height(null),a.T=a.b.Fa().height,a.b.height(a.T),a.J=f.We(a.T))}else if(a.B||a.ma)a.fontSize(a.da),a.b.fontSize(a.da),c&&(a.b.width(null),a.W=a.b.Fa().width,a.b.width(a.W),a.M=f.Xe(a.W)),b&&(a.b.height(null),a.T=a.b.Fa().height,a.b.height(a.T),a.J=f.We(a.T));a.O(!1);a.g=Q(f.left(),a.M);a.j=Q(f.top(),a.J)}
g.Ow=function(){var a=this.R()||Nl(0,0,0,0),b=a.left,c=a.top,d=a.width,e=a.height,a=new M(0,0,this.M,this.J),f=new $h(0,0);if(this.R())switch(this.h){case"leftTop":f.x=b;f.y=c;break;case"leftCenter":f.x=b;f.y=c+e/2;break;case"leftBottom":f.x=b;f.y=c+e;break;case"centerTop":f.x=b+d/2;f.y=c;break;case"center":f.x=b+d/2;f.y=c+e/2;break;case"centerBottom":f.x=b+d/2;f.y=c+e;break;case"rightTop":f.x=b+d;f.y=c;break;case"rightCenter":f.x=b+d;f.y=c+e/2;break;case"rightBottom":f.x=b+d,f.y=c+e}else f.x=0,f.y=0;b=Ar(new M(0,0,this.M,this.J),fz(this));f.x-=b.x;f.y-=b.y;d=m(this.D)?Q(this.D,d):0;e=m(this.F)?Q(this.F,e):0;Er(f,fz(this),d,e);this.g+=f.x;this.j+=f.y;a.left=f.x;a.top=f.y;this.b.x(this.g).y(this.j);return a};g.I=function(){if(!this.tb())return this;var a=iz(this),b=this.A();W(this,16)&&(this.nc(this.b,a),U(this,16));W(this,2)&&(this.cb&&this.cb.A(this.ua).I(),this.b&&this.b.parent(this.ua),this.ua.parent(b),U(this,2));W(this,8)&&(this.ua.zIndex(this.zIndex()),U(this,8));if(W(this,4)){hz(this);var c=this.Ow();T(this,64);U(this,4)}W(this,64)&&(this.cb&&(X(this.cb),this.cb.R(c),this.cb.I(),this.cb.O(!1)),U(this,64));return this};g.remove=function(){this.ua.parent(null)};g.nc=function(a,b){if(b||"text"in this.c||"useHtml"in this.c)this.a.useHtml?a.htmlText(this.a.text):a.text(this.a.text);dz.v.nc.call(this,a,b);this.c={}};function iz(a){var b;if(b=!a.b)a.b=qo(),a.b.me("aria-hidden","true"),L(a,a.b);return b}function jz(a){if(W(a,16)){var b=iz(a);a.nc(a.b,b);U(a,16)}W(a,4)&&hz(a);return new M(0,0,a.M,a.J)}
g.o=function(){var a=dz.v.o.call(this);a.background=this.rp().o();a.padding=this.padding().o();a.width=this.width();a.height=this.height();m(this.ka)&&(a.anchor=this.ka);a.offsetX=this.offsetX();a.offsetY=this.offsetY();a.text=this.text();a.minFontSize=this.cd();a.maxFontSize=this.bd();a.adjustFontSize=this.tc();a.rotation=this.rotation();return a};g.jc=function(a){var b=arguments;return u(b[0])?(this.text(b[0]),this.enabled(!0),!0):Qw.prototype.jc.apply(this,b)};g.K=function(a){dz.v.K.call(this,a);this.rp(a.background);this.padding(a.padding);this.width(a.width);this.height(a.height);this.anchor(a.anchor);this.offsetX(a.offsetX);this.offsetY(a.offsetY);this.text(a.text);this.cd(a.minFontSize);this.bd(a.maxFontSize);this.tc(a.adjustFontSize);this.rotation(a.rotation)};g.V=function(){dz.v.V.call(this)};function kz(){dz.call(this);this.m=0;this.fa=this.X=NaN;this.Sa=null}G(kz,dz);g=kz.prototype;g.ia=dz.prototype.ia|2;g.Rd=function(a){return m(a)?(this.m!=a&&(this.m=a,this.ca(2)),this):this.m};g.Ed=function(a){return m(a)?(this.ta!=a&&(this.ta=a,T(this,16,1)),this):this.ta};g.Fb=function(a){return m(a)?(this.Sa=a,T(this,20,9),this):this.Sa};g.x=function(a){m(a)&&this.X!=a&&(this.X=a,T(this,4,9));return this};g.y=function(a){m(a)&&this.fa!=a&&(this.fa=a,T(this,4,9));return this};g.Ow=function(){var a=this.R()||Nl(0,0,0,0),b=a.width,c=a.height,a=new M(0,0,this.M,this.J),d=new $h(0,0);d.x=this.X;d.y=this.fa;var e=fz(this),f=Ar(new M(0,0,this.M,this.J),e);d.x-=f.x;d.y-=f.y;var f=this.offsetX(),h=this.offsetY();Er(d,e,m(f)?Q(f,b):0,m(h)?Q(h,c):0);this.g+=d.x;this.j+=d.y;a.left=d.x;a.top=d.y;this.b.x(this.g).y(this.j);(b=this.b.clip())?b.tg(this.g,this.j,this.W,this.T):(b=io(this.g,this.j,this.W,this.T),this.b.clip(b));return a};g.o=function(){var a=kz.v.o.call(this);a.axisIndex=this.m;return a};g.K=function(a){kz.v.K.call(this,a);this.Rd(a.axisIndex);this.anchor(a.anchor);this.Fb(a.textFormatter)};kz.prototype.axisIndex=kz.prototype.Rd;kz.prototype.textFormatter=kz.prototype.Fb;kz.prototype.background=kz.prototype.rp;kz.prototype.padding=kz.prototype.padding;kz.prototype.width=kz.prototype.width;kz.prototype.height=kz.prototype.height;kz.prototype.anchor=kz.prototype.anchor;kz.prototype.offsetX=kz.prototype.offsetX;kz.prototype.offsetY=kz.prototype.offsetY;kz.prototype.minFontSize=kz.prototype.cd;kz.prototype.maxFontSize=kz.prototype.bd;kz.prototype.adjustFontSize=kz.prototype.tc;kz.prototype.rotation=kz.prototype.rotation;function lz(){Z.call(this);this.h=null;this.F=!1;this.D="float";this.B=this.w=this.g=this.c=null;this.j=Yn();this.m=Yn();this.a=new kz;this.b=new kz;this.j.fb(!0);this.m.fb(!0);U(this.a,4294967295);U(this.b,4294967295);R(this.a,this.GF,this);R(this.b,this.GF,this)}G(lz,Z);g=lz.prototype;g.ia=Z.prototype.ia|2;g.$=Z.prototype.$|16;g.GF=function(a){Y(a,2)&&this.ca(2)};g.rj=function(a){if(m(a)){a:{a=String(a).toLowerCase();switch(a){case"sticky":case"st":case"s":a="sticky";break a}a="float"}a!=this.D&&(this.D=a,mz(this));return this}return this.D};function nz(a,b){m(b)&&a.c!=b&&(X(a),(!a.a.Fb()||a.c&&a.a.Fb()==a.c.labels().Fb())&&a.a.Fb(b.labels().Fb()),ez(a.a,oz(b)),a.c=b,a.O(!0))}function pz(a,b){m(b)&&a.g!=b&&(X(a),(!a.b.Fb()||a.g&&a.b.Fb()==a.g.labels().Fb())&&a.b.Fb(b.labels().Fb()),ez(a.b,oz(b)),a.g=b,a.O(!0))}
function oz(a){switch(a.orientation()){case"left":return"rightCenter";case"top":return"centerBottom";case"right":return"leftCenter";case"bottom":return"centerTop";default:return"leftTop"}}g.Ku=function(a){return m(a)?(this.a.C(a),this):this.a};g.Lu=function(a){return m(a)?(this.b.C(a),this):this.b};g.nA=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.w&&(this.w=f,T(this,16,1));return this}return this.w};g.pA=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.B&&(this.B=f,T(this,16,1));return this}return this.B};g.I=function(){if(!this.tb())return this;var a=this.R(),b=this.zIndex(),c=this.A();W(this,16)&&(this.j.stroke(this.w),this.m.stroke(this.B),U(this,16));W(this,2)&&(this.j.parent(c),this.m.parent(c),this.a.A(c),this.b.A(c),U(this,2));W(this,8)&&(this.j.zIndex(b),this.m.zIndex(b),this.a.zIndex(b),this.b.zIndex(b),U(this,8));W(this,4)&&(this.a.R(a),this.b.R(a),U(this,4));return this};function mz(a,b){b&&(a.h=b);"float"==a.D?(a.h.Ec("pointshover",a.Vz,!1,a),a.h.pa("mouseover",a.Jm,!1,a),a.h.pa("mousemove",a.Jm,!1,a),a.h.pa("mouseout",a.Mw,!1,a)):(a.h.Ec("mouseover",a.Jm,!1,a),a.h.Ec("mousemove",a.Jm,!1,a),a.h.Ec("mouseout",a.Mw,!1,a),a.h.pa("pointshover",a.Vz,!1,a))}
g.Vz=function(a){var b=[];Mf(a.seriesStatus,function(a){a.series.enabled()&&0!=a.points.length&&b.push(a)},this);if(0==b.length)qz(this),rz(this);else{var c=b[0];b[0].series.G().select(b[0].nearestPointToCursor.index);Mf(b,function(a){c.nearestPointToCursor.distance>a.nearestPointToCursor.distance&&(a.series.G().select(a.nearestPointToCursor.index),c=a)});var d=c.series;a=this.A();var e=this.R(),f=0==this.j.Ej()%2?0:-.5,h=0==this.m.Ej()%2?0:-.5,k=d.Z(),l=d.ba(),d=d.G(),n=I(d.l("x")),p=I(d.l("value"));if(this.w&&"none"!=this.w){var q;this.j.clear();q=ub(n,e.Qa(),e.Oa()-1);q=Math.round(q)-f;this.j.moveTo(q,e.Va()).lineTo(q,e.ra())}this.c&&this.c.enabled()&&this.a.enabled()&&(f=sz(this.c,k.transform(d.get("x"))),q=this.a.Fb()||Hr,this.a.text(q.call(f,f)),k=tz(this,this.c,this.a,n,p,k.transform(d.get("x"))),this.a.x(k.x).y(k.y),this.a.A(a).I());this.B&&"none"!=this.B&&(this.m.clear(),k=ub(p,e.Va(),e.ra()-1),k=Math.round(k)-h,this.m.moveTo(e.Qa(),k).lineTo(e.Oa(),k));this.g&&this.g.enabled()&&this.b.enabled()&&(e=sz(this.g,l.transform(d.get("value"))),h=this.b.Fb()||Hr,this.b.text(h.call(e,e)),l=tz(this,this.g,this.b,n,p,l.transform(d.get("value"))),this.b.x(l.x).y(l.y),this.b.A(a).I())}};function qz(a){a.j.clear();a.a.A(null).remove()}function rz(a){a.m.clear();a.b.A(null).remove()}
g.Jm=function(a){if(this.enabled()){var b=this.A(),c=this.R(),d=xk(this.A().oa().A()),e=a.clientX-d.x;a=a.clientY-d.y;if(e>=c.Qa()&&e<=c.Oa()&&a>=c.Va()&&a<=c.ra()){var d=0==this.j.Ej()%2?0:-.5,f=0==this.m.Ej()%2?0:-.5,h=c.Oa()-c.Qa(),k=c.ra()-c.Va(),l=e-c.Qa(),n=a-c.Va(),p;this.F?(p=(k-n)/k,h=l/h):(p=l/h,h=(k-n)/k);this.c&&m(this.c.scale().ac(0))?(this.w&&"none"!=this.w&&(this.j.clear(),this.c.$a()?(k=ub(uz(this,this.c,p,e),c.Qa(),c.Oa()-1),this.j.moveTo(k-d,c.Va()).lineTo(k-d,c.ra())):(k=ub(uz(this,this.c,p,a),c.Va(),c.ra()-1),this.j.moveTo(c.Qa(),k-f).lineTo(c.Oa(),k-f))),this.a.enabled()&&(k=sz(this.c,p),l=this.a.Fb()||Hr,this.a.text(l.call(k,k)),p=tz(this,this.c,this.a,e,a,p),this.a.x(p.x).y(p.y),this.a.A(b).I())):qz(this);this.g&&m(this.g.scale().ac(0))?(this.B&&"none"!=this.B&&(this.m.clear(),this.g.$a()?(p=ub(uz(this,this.g,h,e),c.Qa(),c.Oa()-1),this.m.moveTo(p-d,c.Va()).lineTo(p-d,c.ra())):(p=ub(uz(this,this.g,h,a),c.Va(),c.ra()-1),this.m.moveTo(c.Qa(),p-f).lineTo(c.Oa(),p-f))),this.b.enabled()&&(c=sz(this.g,h),d=this.b.Fb()||Hr,this.b.text(d.call(c,c)),e=tz(this,this.g,this.b,e,a,h),this.b.x(e.x).y(e.y),this.b.A(b).I())):rz(this)}else qz(this),rz(this)}};function uz(a,b,c,d){a=a.R();var e=b.scale(),f="ordinal"==e.qa();c=e.transform(e.ac(c),.5);return b.$a()?f?Math.round(a.left+c*a.width):d:f?Math.round(a.top+a.height-c*a.height):d}
function tz(a,b,c,d,e,f){a=a.R();var h=0,k=0;if(!b)return{x:h,y:k};var l=b.scale(),n=b.Cb(),p="ordinal"==l.qa();f=l.transform(l.ac(f),.5);var q=b.enabled(),l=q?n.Qa():a.Oa(),t=q?n.Va():a.ra(),v=q?n.Oa():a.Qa(),n=q?n.ra():a.Va();switch(b.orientation()){case"left":h=vz(c)?v-1:v+1;k=p?Math.round(a.top+a.height-f*a.height):e;break;case"top":h=p?Math.round(a.left+f*a.width):d;k=wz(c)?n-1:n+1;break;case"right":h=vz(c)?l-1:l+1;k=p?Math.round(a.top+a.height-f*a.height):e;break;case"bottom":h=p?Math.round(a.left+
f*a.width):d,k=wz(c)?t-1:t+1}return{x:h,y:k}}function vz(a){a=fz(a);return"leftTop"==a||"leftCenter"==a||"leftBottom"==a}function wz(a){a=fz(a);return"leftTop"==a||"centerTop"==a||"rightTop"==a}
function sz(a,b){if(!a)return null;var c=a.scale(),d=c.qa(),e=c.ac(b),f;switch(d){case"linear":f=+parseFloat(e).toFixed();break;case"log":f=+e.toFixed(1);break;case"ordinal":f=String(e);break;case"dateTime":var h=new Date(e),d=h.getMonth()+1;f=h.getDate();h=h.getFullYear();f=(10>d?"0"+d:""+d)+"-"+(10>f?"0"+f:""+f)+"-"+h}return{value:f,rawValue:e,max:c.max?c.max:null,min:c.min?c.min:null,scale:c}}
g.Mw=function(a){var b=this.R(),c=a.offsetX;a=a.offsetY;if(c<=b.Qa()||c>=b.Oa()||a<=b.Va()||a>=b.ra())qz(this),rz(this)};g.remove=function(){qz(this);rz(this)};g.V=function(){this.h&&(this.h.Ec("mouseover",this.Jm,!1,this),this.h.Ec("mousemove",this.Jm,!1,this),this.h.Ec("mouseout",this.Mw,!1,this),this.h.Ec("pointshover",this.Vz,!1,this),this.h=null);Ad(this.j);this.j=null;Ad(this.m);this.g=this.c=this.m=null;Ad(this.a);this.a=null;Ad(this.b);this.b=null;lz.v.V.call(this)};g.o=function(){var a=lz.v.o.call(this);a.displayMode=this.rj();a.xStroke=P(this.nA());a.yStroke=P(this.pA());a.xLabel=this.a.o();a.yLabel=this.b.o();return a};g.K=function(a){lz.v.K.call(this,a);this.rj(a.displayMode);this.nA(a.xStroke);this.pA(a.yStroke);this.Ku(a.xLabel);this.Lu(a.yLabel)};lz.prototype.displayMode=lz.prototype.rj;lz.prototype.xStroke=lz.prototype.nA;lz.prototype.yStroke=lz.prototype.pA;lz.prototype.xLabel=lz.prototype.Ku;lz.prototype.yLabel=lz.prototype.Lu;function xz(){dz.call(this)}G(xz,dz);xz.prototype.o=function(){var a=xz.v.o.call(this);a.position=this.position();return a};xz.prototype.K=function(a){xz.v.K.call(this,a);this.position(a.position)};xz.prototype.V=function(){xz.v.V.call(this)};xz.prototype.position=xz.prototype.position;xz.prototype.background=xz.prototype.rp;xz.prototype.padding=xz.prototype.padding;xz.prototype.width=xz.prototype.width;xz.prototype.height=xz.prototype.height;xz.prototype.anchor=xz.prototype.anchor;xz.prototype.offsetX=xz.prototype.offsetX;xz.prototype.offsetY=xz.prototype.offsetY;xz.prototype.text=xz.prototype.text;xz.prototype.minFontSize=xz.prototype.cd;xz.prototype.maxFontSize=xz.prototype.bd;xz.prototype.adjustFontSize=xz.prototype.tc;xz.prototype.rotation=xz.prototype.rotation;function yz(){dz.call(this);this.Ja=this.Ma=NaN}G(yz,xz);g=yz.prototype;g.Bc=function(a){return m(a)?(a=I(a),this.Ma!=a&&(this.Ma=a,T(this,4,9)),this):this.Ma};g.vc=function(a){return m(a)?(a=I(a),this.Ja!=a&&(this.Ja=a,T(this,4,9)),this):this.Ja};g.ai=function(a){return m(a)?(a=I(a),this.X!=a&&(this.X=a,T(this,4,9)),this):this.X};g.Wa=function(a){return m(a)?(a=null===a?a:Ah(I(a)||0),this.ab!=a&&(this.ab=a,T(this,4,1)),this):this.ab};g.sc=function(a){return m(a)?(a=null===a?a:ub(I(a)||0,-360,360),this.m!=a&&(this.m=a,T(this,4,1)),this):this.m};g.Ow=function(){var a=this.R()||Nl(0,0,0,0),b=a.left,c=a.top,d=a.width,e=a.height,a=new M(0,0,this.M,this.J),f=new $h(0,0);if(this.R()||!isNaN(this.Ma)&&!isNaN(this.Ja)){var h=this.offsetX(),k=this.offsetY(),b=isNaN(this.Ma)?b+d/2:this.Ma,c=isNaN(this.Ja)?c+e/2:this.Ja,l=null!=this.ab?this.ab:0,n=null!=this.m?this.m:360,d=m(this.X)&&!isNaN(this.X)?Q(k,this.X):this.R()?Q(k,Math.min(d,e)/2):0,h=l+Q(h,n);f.x=b+Math.cos(Bh(h))*d;f.y=c+Math.sin(Bh(h))*d}else f.x=0,f.y=0;d=this.anchor();d=Ar(new M(0,0,this.M,this.J),d);f.x-=d.x;f.y-=d.y;this.g+=f.x;this.j+=f.y;a.left=f.x;a.top=f.y;this.b.fc(1,0,0,1,0,0);this.b.bh(this.g,this.j);f=new M(0,0,this.W,this.T);this.b.clip(f);return a};function zz(){Qw.call(this);this.Jb=null;this.Rc("#545f69").fontSize("12px").orientation("right").margin(0).padding(2);this.Zj().enabled(!1).stroke({keys:["0 #DDDDDD 1","1 #D0D0D0 1"],angle:"90"}).fill({keys:["0 #FFFFFF 1","0.5 #F3F3F3 1","1 #FFFFFF 1"],angle:"90"});Az(this,1);this.pl(1);this.g=new Gx;this.g.padding(null);Ww(this.g,na(Bz,this));L(this,this.g);R(this.g,Cz,this.g);this.b=new Gx;this.b.padding(null);Ww(this.b,na(Bz,this));L(this,this.b);R(this.b,Cz,this.b);this.ds("horizontal")}
G(zz,Qw);g=zz.prototype;g.ia=Qw.prototype.ia;g.$=Qw.prototype.$|64;g.orientation=function(a){return m(a)?(a=bc(a),this.m!=a&&(this.m=a,T(this,4,9)),this):this.m};g.padding=function(a,b,c,d){this.Pa||(this.Pa=new xu,L(this,this.Pa),R(this.Pa,this.$C,this));return m(a)?(this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.margin=function(a,b,c,d){this.zc||(this.zc=new wu,L(this,this.zc),R(this.zc,this.$C,this));return m(a)?(this.zc.C.apply(this.zc,arguments),this):this.zc};g.$C=function(a){Y(a,2)&&T(this,4,9)};g.Zj=function(a){this.cb||(this.cb=new cz,L(this,this.cb),R(this.cb,this.DL,this));return m(a)?(this.cb.C(a),this):this.cb};g.DL=function(a){Y(a,1)&&T(this,64,1)};g.ds=function(a){return m(a)?(a=$b(a),this.j!=a&&(this.j=a,"horizontal"==this.j?(Hx(this.g,Dz),Hx(this.b,Ez)):(Hx(this.g,Fz),Hx(this.b,Gz)),T(this,4,9)),this):this.j};function Az(a,b){if(m(b)&&(b=Math.ceil(isNaN(parseFloat(b))?1:+b),a.B!=b)){if(m(a.B))if(0<b)b<a.D+1&&(a.D=b-1),a.B=b;else throw Error("incorrect pageCount value!! Should be more than 0");else a.B=b;T(a,20,9)}}g.pl=function(a){if(m(a)){a=isNaN(parseFloat(a))?0:+a;--a;if(this.D!=a)if(0<=a&&a<this.B)this.D=a,T(this,16,1);else throw Error("incorrect currentPage value!!");return this}return this.D+1};g.remove=function(){this.Zj().remove();this.g&&(this.g.remove(),T(this.g,2));this.b&&(this.b.remove(),T(this.b,2));this.Jb&&this.Jb.parent(null)};function Hz(a,b){return m(b)?(a.H!=b&&(a.H=b,T(a,1,a.Dg())),a):a.H}function Iz(a){return a.enabled()?Hz(a):!1}g.tb=function(){if(!this.Tb)return!1;if(!Iz(this))return W(this,1)&&(this.remove(),U(this,1),T(this,2)),!1;if(!this.A())return this.remove(),T(this,2),Rc(1),!1;U(this,1);return!0};g.I=function(){if(!this.tb())return this;var a=this.A(),b=a?a.oa():null,c=b&&!b.Jc();c&&b.rd();var d;if(d=!this.Jb)this.Jb=qo(),this.Jb.me("aria-hidden","true"),L(this,this.Jb);X(this.Zj());W(this,4)&&Jz(this);W(this,2)&&(this.Zj().A(a).I(),this.g&&this.g.A(a),this.Jb&&this.Jb.parent(a),this.b&&this.b.A(a),U(this,2));W(this,64)&&(this.cb.R(this.h,this.w,this.ze,this.ye),this.cb.I(),U(this,64));W(this,8)&&(a=this.zIndex(),this.cb&&this.cb.zIndex(a),this.g&&this.g.zIndex(a),this.Jb&&this.Jb.zIndex(a),this.b&&this.b.zIndex(a),U(this,8));W(this,16)&&(this.Zb("text",(isNaN(this.D)?"-":String(this.D+1))+" / "+(isNaN(this.B)?"-":String(this.B))),this.nc(this.Jb,d),U(this,16));if(W(this,4)){d=this.Jb.Fa();var a=d.height,e=this.R();this.g.width(a).height(a).R(e);this.b.width(a).height(a).R(e);var f,h,k,l,n;k=Q(this.padding().top(),this.ye);var e=Q(this.padding().left(),this.ze),p=this.padding().Ie(this.ze),q=this.padding().He(this.ye);k=this.w+k+(q-d.height)/2;e=this.h+e+(p-d.width)/2;switch(this.j){case"horizontal":h=n=k;f=e-10-a;l=e+d.width+10;break;case"vertical":h=k-10-a,n=k+d.height+10,f=l=e+(d.width-a)/2}this.g.position({x:f,y:h});this.Jb.fc(1,0,0,1,0,0);this.Jb.bh(e,k);this.b.position({x:l,y:n});this.g.disabled(0==this.D);this.b.disabled(this.D+1==this.B);this.g.I();this.b.I();U(this,4)}this.Zj().O(!1);c&&b.gd();return this};g.nc=function(a,b){if(b||"text"in this.c||"useHtml"in this.c)this.a.useHtml?a.htmlText(this.a.text):a.text(this.a.text);zz.v.nc.call(this,a,b);this.c={}};function Jz(a){var b=a.A();b&&b.oa();var c=a.padding(),d=a.margin(),e,f;if(b=a.R())e=b.width,f=b.height;var h,k;a.F||(a.F={});k=!1;for(h in a.c)if(!(a.c[h]in a.Ea)){k=!0;break}h=a.B+a.j.substr(0,1);if(k||!a.F[h]){var l=qo();l.me("aria-hidden","true");k=a.c;a.nc(l,!0);a.c=k;l.text(a.B+" / "+a.B);k=l.Fa();Ad(l);var n=k.height;"horizontal"==a.j?(l=2*n+20+k.width,k=k.height):(l=Math.max(n,k.width),k=2*n+20+k.height);k=a.F[h]=[l,k]}else k=a.F[h];h=k[0];k=k[1];a.ze=c.Xe(h);a.ye=c.We(k);b&&e<a.ze&&(a.ze=d.Ie(a.ze));b&&f<a.ye&&(a.ye=d.He(a.ye));c=d.Xe(a.ze);h=d.We(a.ye);k=b?Q(d.left(),a.ze):0;d=b?Q(d.top(),a.ye):0;if(b){switch(a.m){case"top":a.h=b.Qa()+(e-c)/2+k;a.w=b.Va()+d;break;case"right":a.h=b.Oa()-c+k;a.w=b.Va()+(f-h)/2+d;break;case"bottom":a.h=b.Qa()+(e-c)/2+k;a.w=b.ra()-h+d;break;case"left":a.h=b.Qa()+k,a.w=b.Va()+(f-h)/2+d}a.Ha=new M(a.h-k,a.w-d,c,h)}else a.h=k,a.w=d,a.Ha=new M(0,0,c,h)}g.Cb=function(){this.Ha&&!W(this,4)||Jz(this);return this.Ha};g.pb=function(){this.Ha&&!W(this,4)||Jz(this);var a=this.R(),a=a?a.clone():Nl(0,0,0,0);if(!this.enabled())return a;switch(this.m){case"top":a.top+=this.Ha.height;a.height-=this.Ha.height;break;case"right":a.width-=this.Ha.width;break;case"bottom":a.height-=this.Ha.height;break;case"left":a.left+=this.Ha.width,a.width-=this.Ha.width}return a};function Cz(a){Y(a,1)&&this.I()}
function Bz(a){switch(a){case this.g:this.pl(this.pl()-1);break;case this.b:this.pl(this.pl()+1);break;default:throw Error("Something wrong with onClickListener!");}}function Dz(a,b){a.moveTo(b.Oa(),b.Va()).lineTo(b.Oa(),b.ra()).lineTo(b.Qa(),b.Va()+b.height/2).close()}function Ez(a,b){a.moveTo(b.Qa(),b.Va()).lineTo(b.Oa(),b.Va()+b.height/2).lineTo(b.Qa(),b.ra()).close()}function Fz(a,b){a.moveTo(b.Qa()+b.width/2,b.Va()).lineTo(b.Oa(),b.ra()).lineTo(b.Qa(),b.ra()).close()}
function Gz(a,b){a.moveTo(b.Qa(),b.Va()).lineTo(b.Oa(),b.Va()).lineTo(b.Qa()+b.width/2,b.ra()).close()}g.o=function(){var a=zz.v.o.call(this);a.background=this.Zj().o();a.padding=this.padding().o();a.margin=this.margin().o();a.orientation=this.orientation();a.layout=this.ds();return a};g.K=function(a){zz.v.K.call(this,a);this.Zj(a.background);this.padding(a.padding);this.margin(a.margin);this.orientation(a.orientation);this.ds(a.layout)};zz.prototype.background=zz.prototype.Zj;zz.prototype.orientation=zz.prototype.orientation;zz.prototype.padding=zz.prototype.padding;zz.prototype.margin=zz.prototype.margin;zz.prototype.layout=zz.prototype.ds;zz.prototype.currentPage=zz.prototype.pl;function Kz(){Z.call(this);this.B=this.w=this.m=this.H=this.D=null;this.j="vertical";this.F=this.X=1;this.M=Bn("#e0e0e0",this.F);this.T=Gn("#d5d5d5",this.F);this.W=Bn("#d5d5d5",this.F);this.ea=Gn("#656565",this.F);this.b=0;this.h=1;this.g=this.c=null;this.J=!1;this.da=-1;this.ua=!0}G(Kz,by);g=Kz.prototype;g.ia=by.prototype.ia;g.$=by.prototype.$|80;function Lz(a){return Jp===Kp?Math.floor(a)+.5:Math.floor(a)}g.es=function(a){return m(a)?(a=$b(a),a!=this.j&&(this.j=a,T(this,4,1)),this):this.j};g.DD=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.T!=f&&(this.T=f,T(this,16,1));return this}return this.T||"none"};g.aD=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.M!=k&&(this.M=k,T(this,16,1));return this}return this.M||"none"};g.QG=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.ea!=f&&(this.ea=f,T(this,16,1));return this}return this.ea||"none"};g.PG=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.W!=k&&(this.W=k,T(this,16,1));return this}return this.W||"none"};g.Ji=function(a){return m(a)?(ia(a)&&(this.ua=a),this):this.ua};g.ak=function(a,b){return m(a)?(M.c(this.c,a)||(this.c=a.clone(),this.g?Mz(this):this.g=this.c.clone(),Nz(this),T(this,64,1),Oz(this,b||"api")),this):this.c};g.Tq=function(a,b){return m(a)?(M.c(this.g,a)||(this.g=a.clone(),this.c?Mz(this):this.c=this.g.clone(),Nz(this),T(this,64,1),Oz(this,b||"api")),this):this.g};g.tp=function(a,b){return m(a)?(a=+a,!isNaN(a)&&this.b!=a&&0<=a&&1>a&&(a==this.h?(this.h=1,this.b=a):(this.b=Math.min(a,this.h),this.h=Math.max(a,this.h)),Pz(this),T(this,64,1),Oz(this,b||"api")),this):this.b};g.sp=function(a,b){return m(a)?(a=+a,!isNaN(a)&&this.h!=a&&0<a&&1>=a&&(a==this.b?(this.b=0,this.h=a):(this.h=Math.max(a,this.b),this.b=Math.min(a,this.b)),Pz(this),T(this,64,1),Oz(this,b||"api")),this):this.h};g.IG=function(a,b,c){a=+a;b=+b;if(!isNaN(a)&&!isNaN(b)){a=ub(a,0,1);b=ub(b,0,1);var d=Math.min(a,b);a=Math.max(a,b);d==a||this.b==d&&this.h==a||(this.b=d,this.h=a,Pz(this),T(this,64,1),Oz(this,c||"api"))}return this};g.Kz=function(a,b){a=+a;if(!isNaN(a)){a=ub(a,0,1);var c=this.h-this.b,d=xl(ub(a+c,0,1),4),c=xl(d-c,4);if(this.b!=c||this.h!=d)this.b=c,this.h=d,Pz(this),T(this,64,1),Oz(this,b||"api")}return this};g.pG=function(a,b){a=+a;if(this.g&&!isNaN(a)){var c=Qz(this);a!=(c?this.g.top:this.g.left)&&(c?this.g.top=a:this.g.left=a,Mz(this),Nz(this),T(this,64,1),Oz(this,b||"api"))}return this};g.oG=function(a,b){a=+a;if(!isNaN(a)){a=ub(a,0,1);var c=this.h-this.b,d=xl(ub(a-c,0,1),4),c=xl(d+c,4);if(this.b!=d||this.h!=c)this.b=d,this.h=c,Pz(this),T(this,64,1),Oz(this,b||"api")}return this};g.jQ=function(a,b){a=+a;if(this.g&&!isNaN(a)){var c=Qz(this),d=a-(c?this.g.top+this.g.height:this.g.left+this.g.width);d&&(c?this.g.top+=d:this.g.left+=d,Mz(this),Nz(this),T(this,64,1),Oz(this,b||"api"))}return this};g.Jz=function(a,b){a=+a;var c=isNaN(a)?40:a;return this.g&&c?this.pG(c+(Qz(this)?this.g.top:this.g.left),b):this};g.ax=function(a,b){a=+a;var c=isNaN(a)?.05:ub(a,-1,1);return c?this.Kz(this.b+c,b):this};g.zs=function(a){return m(a)?(ia(a)&&this.J!=a&&(this.J=a,T(this,4,1)),this):this.J};function Rz(a){return m(.25)?(.25!=a.F&&(a.F=.25,Sz(a,a.F)),a):a.F}function Tz(a){m(.45)&&(a.X=.45)}function Uz(a){a.D||(a.D=oo(),wv(a,a.D,a.GD,a.FD,a.YM),L(a,a.D));return a.D}
function Sz(a,b){X(a);var c=Bn(a.M);c.opacity=b;var d=Gn(a.T);d.opacity=b;var e=Bn(a.W);e.opacity=b;var f=Gn(a.ea);f.opacity=b;a.aD(c).DD(d);a.PG(e).QG(f);a.O(!0)}g.GD=function(a){a.preventDefault();Sz(this,this.X);this.re(a)};g.FD=function(a){a.preventDefault();Sz(this,this.F);this.re(a)};g.YM=function(a){a.preventDefault();var b=Qz(this),c=this.B.Fa(),d=this.B.dk(),e=b?a.offsetY:a.offsetX,d=b?xl((e-d.top)/d.height,4):xl((e-d.left)/d.width,4);(b?e<=c.top:e<=c.left)?this.Kz(d,"user_action"):this.oG(d,"user_action");this.re(a)};function Vz(a){a.H||(a.H=Un(),L(a,a.H));return a.H}function Wz(a){a.m||(a.m=new Rw,Tw(a.m,16,!1),R(a.m,function(){a.m.I()}),Ww(a.m,function(){a.Tq()?a.Jz(40,"user_action"):a.ax(.05,"user_action")}),L(a,a.m));return a.m}
function Xz(a){a.w||(a.w=new Rw,Tw(a.w,16,!1),R(a.w,function(){a.w.I()}),Ww(a.w,function(){a.Tq()?a.Jz(-40,"user_action"):a.ax(-.05,"user_action")}),L(a,a.w));return a.w}function Yz(a){a.B||(a.B=Un(),a.B.La(Uz(a)),vj(a.B,"drag",a.FL,!1,a),vj(a.B,"end",a.EL,!1,a),wv(a,a.B,a.GD,a.FD,null,null,null,a.uQ),L(a,a.B));return a.B}g.uQ=function(a){a.preventDefault();this.re(a)};g.FL=function(){Zz(this,!0)};g.EL=function(){Zz(this,!1)};function Zz(a,b){var c=Qz(a),d=a.B.dk(),e=a.B.Fa(),f=!!b,h=c?d.top:d.left,d=c?d.height:d.width,k=c?e.top:e.left,l=k+(c?e.height:e.width);10>=(c?e.height:e.width)?(c=a.h-a.b,a.b=(k-h)*(1-c)/(d-10),a.h=Math.min(a.b+c,1)):(a.b=xl((k-h)/d,5),a.h=xl((l-h)/d,5));Pz(a);f||T(a,64,1);Oz(a)}function Pz(a){if(a.c&&a.g){var b;if(Qz(a)){b=a.c.height;var c=xl((a.h-a.b)*b,1);a.g.top=xl(a.b*b,1)+a.c.top;a.g.height=c}else b=a.c.width,c=xl((a.h-a.b)*b,1),a.g.left=xl(a.b*b,1)+a.c.left,a.g.width=c}}
function Nz(a){if(a.c&&a.g){var b=Qz(a),c=b?a.g.top-a.c.top:a.g.left-a.c.left,d=b?c+a.g.height:c+a.g.width,b=b?a.c.height:a.c.width;a.b=xl(c/b,4);a.h=xl(d/b,4)}}function Mz(a){var b=a.g;a=a.c;b.width>a.width&&(b.width=a.width);b.height>a.height&&(b.height=a.height);b.top+b.height>a.top+a.height&&(b.top-=b.top+b.height-(a.top+a.height));b.left+b.width>a.left+a.width&&(b.left-=b.left+b.width-(a.left+a.width));b.top<a.top&&(b.top=a.top);b.left<a.left&&(b.left=a.left)}
g.I=function(){if(this.tb()){var a=this.A(),b=a?a.oa():null,c=b&&!b.Jc();c&&b.rd();Uz(this).wb()||(this.D.Fc(Vz(this)),this.D.Fc(Yz(this)));W(this,2)&&(Uz(this).parent(a),U(this,2));if(W(this,4)){this.a=this.Cb();this.a.left=Lz(this.a.left);this.a.top=Lz(this.a.top);this.a.width=Math.round(this.a.width);this.a.height=Math.round(this.a.height);this.J?(Wz(this).A()||this.m.A(this.D),Xz(this).A()||this.w.A(this.D)):(this.m&&this.m.A()&&this.m.A(null),this.w&&this.w.A()&&this.w.A(null));if(this.J&&this.m&&this.w){X(this.m);X(this.w);var d=Qz(this),a=this.a,e,f,h,k,l;h=3>(d?a.height:a.width)/(d?a.width:a.height);e=f=d?a.width:a.height;k=a.left;l=a.top;h&&(d?f=xl(a.height/3,1):e=xl(a.width/3,1));h=d?a.left:a.left+a.width-e;d=d?a.top+a.height-f:a.top;this.m.R(a);this.m.position({x:h,y:d}).width(e).height(f).I();this.w.R(a);this.w.position({x:k,y:l}).width(e).height(f).I();this.m.O(!1);this.w.O(!1)}T(this,80);U(this,4)}W(this,16)&&(this.H.fill(this.M).stroke(this.T),this.B.fill(this.W).stroke(this.ea),U(this,16));if(W(this,64)){if(0>=this.b&&1<=this.h||this.b==this.h)Uz(this).visible(!1);else{Uz(this).visible(!0);e=Qz(this);f=this.a;a=Math.min(5,Math.min(f.width,f.height)/2);this.H.Jg(f).round(a);this.J?(d=this.m.width(),h=this.m.height(),k=e?f.left:f.left+d+1,l=e?f.top+h+1:f.top,d=e?f.width:f.width-2*(d+1),h=e?f.height-2*(h+1):f.height,k=new M(k,l,d,h)):k=f.clone();d=e?k.height:k.width;l=h=xl(d*(this.h-this.b),1);var n=!1;10>h&&(n=!0,l=10);n?(h=this.b*(d-l)/(1+this.b-this.h),d=e?f.left:xl(k.left+
h,1),h=e?xl(k.top+h,1):f.top):(d=e?f.left:xl(k.left+this.b*k.width,1),h=e?xl(k.top+this.b*k.height,1):f.top);n=e?f.width:l;e=e?l:f.height;this.B.Mn(Lz(d)).Nn(Lz(h)).Ln(Math.round(n)).In(Math.round(e)).round(a).dk(k);this.B.fc(1,0,0,1,0,0)}U(this,64)}W(this,8)&&(Uz(this).zIndex(this.zIndex()),U(this,8));c&&b.gd()}return this};function Qz(a){return"horizontal"!=a.j.toLowerCase()}g.remove=function(){this.D&&this.D.parent(null)};function Oz(a,b){if(a.ua){0<=a.da&&(clearTimeout(a.da),a.da=-1);var c=new $z(a);c.startRatio=a.b;c.endRatio=a.h;c.visibleBounds=a.g;c.source=b||"user_action";a.da=setTimeout(function(){a.dispatchEvent(c);a.da=-1},0)}}function $z(a){Ke.call(this,"scrollchange",a)}G($z,Ke);$z.prototype.startRatio=0;$z.prototype.endRatio=0;$z.prototype.visibleBounds=null;$z.prototype.source="";E("anychart.core.ui.ScrollBar",Kz);Kz.prototype.layout=Kz.prototype.es;Kz.prototype.backgroundStroke=Kz.prototype.DD;Kz.prototype.handlePositionChange=Kz.prototype.Ji;Kz.prototype.backgroundFill=Kz.prototype.aD;Kz.prototype.sliderStroke=Kz.prototype.QG;Kz.prototype.sliderFill=Kz.prototype.PG;Kz.prototype.contentBounds=Kz.prototype.ak;Kz.prototype.visibleBounds=Kz.prototype.Tq;Kz.prototype.startRatio=Kz.prototype.tp;Kz.prototype.endRatio=Kz.prototype.sp;Kz.prototype.setRatio=Kz.prototype.IG;Kz.prototype.scrollPixelStartTo=Kz.prototype.pG;Kz.prototype.scrollStartTo=Kz.prototype.Kz;Kz.prototype.scrollPixelEndTo=Kz.prototype.jQ;Kz.prototype.scrollEndTo=Kz.prototype.oG;Kz.prototype.scrollPixel=Kz.prototype.Jz;Kz.prototype.scroll=Kz.prototype.ax;Kz.prototype.buttonsVisible=Kz.prototype.zs;Kz.prototype.container=Kz.prototype.A;Kz.prototype.draw=Kz.prototype.I;function aA(){Z.call(this);this.g=this.b=this.m=this.j=null;this.h=NaN;this.F=this.D=!1;this.H=tk(aa.document.body,"cursor");this.c=Gn("1 #acbece");this.w=1;this.M=Bn("#ccd7e1 0.3");this.J=Bn("#fff 0.00001");this.B=!0}G(aA,by);g=aA.prototype;g.ia=by.prototype.ia;g.$=by.prototype.$|80;g.remove=function(){this.j&&this.j.parent(null)};g.position=function(a){return m(a)?(this.h!=a&&(this.h=a,T(this,64,1)),this):this.h};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments),h=Gr(f);if(this.c!=f||h!=this.w)this.c=f,this.w=h,T(this,80,1);return this}return this.c||"none"};g.Ji=function(a){return m(a)?(ia(a)&&(this.B=a),this):this.B};function bA(a,b){qk(aa.document.body,"cursor",b?a.H:"e-resize")}function cA(a){a.j||(a.j=oo(),L(a,a.j));return a.j}g.WL=function(){this.D=!0;this.H=tk(aa.document.body,"cursor");dA(this).clear()};g.VL=function(){var a=this.b.Fa();bA(this);var b=this.a.left+this.h+this.w/2,a=a.Qa()+a.ng()/2;this.g.clear().moveTo(b,this.a.top).lineTo(a,this.a.top).lineTo(a,this.a.top+this.a.height).lineTo(b,this.a.top+this.a.height).close();this.m.clear().moveTo(a,this.a.top).lineTo(a,this.a.top+this.a.height)};g.UL=function(){this.D=!1;this.g.clear();var a=this.b.Fa();this.F||bA(this,!0);this.position(a.left+3-this.a.left)};g.ZO=function(a){a.preventDefault();this.re(a)};function eA(a){a.j.$c("e-resize");var b=a.a.left+a.h+a.w/2,c=new M(a.a.left-3,a.a.top,a.a.width+6,a.a.height);a.m.clear().moveTo(b,a.a.top).lineTo(b,a.a.top+a.a.height);var b=a.a.left+a.h-3,d=a.a.left+a.h+a.w+3;a.b.fc(1,0,0,1,0,0);a.b.clear().moveTo(b,a.a.top).lineTo(d,a.a.top).lineTo(d,a.a.top+a.a.height).lineTo(b,a.a.top+a.a.height).close().dk(c)}g.XL=function(){this.F=!0};g.YL=function(){this.F=!1;this.D||bA(this,!0)};function fA(a){a.b||(a.b=Yn().fill(a.J).stroke(null),vj(a.b,"start",a.WL,!1,a),vj(a.b,"drag",a.VL,!1,a),vj(a.b,"end",a.UL,!1,a),wv(a,a.b,null,a.YL,null,a.XL,null,a.ZO),L(a,a.b));return a.b}function dA(a){a.g||(a.g=Yn(),a.g.fill(a.M).stroke(null),L(a,a.g));return a.g}function gA(a){a.m||(a.m=Yn().fb(!0).stroke(a.c),L(a,a.m));return a.m}
g.I=function(){if(this.tb()){var a=this.A(),b=a?a.oa():null,c=b&&!b.Jc();c&&b.rd();cA(this).wb()||cA(this).Fc(dA(this)).Fc(fA(this)).Fc(gA(this));W(this,2)&&(cA(this).parent(a),U(this,2));W(this,4)&&(this.a=this.Cb(),this.B&&this.dispatchEvent("splitterchange"),T(this,80),U(this,4));W(this,16)&&(this.m.stroke(this.c),this.g.fill(this.M),this.b.fill(this.J),U(this,16));W(this,64)&&(isNaN(this.h)&&(this.h=Math.round((this.a.width-this.w)/2)),this.B&&this.dispatchEvent("splitterchange"),eA(this),U(this,64));W(this,8)&&(cA(this).zIndex(this.zIndex()),eA(this),U(this,8));c&&b.gd()}return this};function hA(){X(this);Qw.call(this);this.O(!1)}G(hA,Qw);g=hA.prototype;g.ia=Qw.prototype.ia;g.$=Qw.prototype.$|64;g.cb=null;g.Gf=null;g.sa=null;g.Ra=null;g.$m=null;g.ze=NaN;g.ye=NaN;g.Qn=NaN;g.Pn=NaN;g.Ha=null;g.zc=null;g.Pa=null;g.mx="top";g.uc="center";g.Fj=null;g.text=function(a){m(a)&&(a=null==a?"":String(a));return this.Zb("text",a)};function iA(a,b){m(b)&&(b=null==b?"":String(b));a.Zb("autoText",b)}
g.gs=function(a){this.cb||(this.cb=new cz,L(this,this.cb),R(this.cb,this.eM,this));return m(a)?(this.cb.C(a),this):this.cb};g.width=function(a){return m(a)?(this.sa!=a&&(this.sa=a,T(this,4,9)),this):this.sa};g.height=function(a){return m(a)?(this.Ra!=a&&(this.Ra=a,T(this,4,9)),this):this.Ra};g.margin=function(a,b,c,d){this.zc||(this.zc=new wu,L(this,this.zc),R(this.zc,this.pD,this));return m(a)?(this.zc.C.apply(this.zc,arguments),this):this.zc};g.padding=function(a,b,c,d){this.Pa||(this.Pa=new xu,L(this,this.Pa),R(this.Pa,this.pD,this));return m(a)?(this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.lx=function(a){return m(a)?(a=Zb(a),this.uc!=a&&(this.uc=a,T(this,4,9)),this):this.uc};g.orientation=function(a){return m(a)?(a=bc(a),this.m!=a&&(this.m=a,T(this,4,9)),this):this.m||this.mx};g.sk=function(a){var b=!this.m&&this.mx!=a;this.mx=a;b&&T(this,4)};g.rotation=function(a){return m(a)?(a=I(a),isNaN(a)&&(a=void 0),this.H!=a&&(this.H=a,T(this,4,9)),this):m(this.H)?this.H:this.b};g.I=function(){if(!this.tb())return this;var a;if(a=!this.Gf)this.Gf=oo(),this.Jb=this.Gf.text(),this.Jb.me("aria-hidden","true"),this.Jb.zIndex(1),L(this,this.Gf),wv(this,this.Gf);var b=this.A(),c=b?b.oa():null,d=c&&!c.Jc();d&&c.rd();W(this,16)&&(this.nc(this.Jb,a),U(this,16));W(this,4)&&(jA(this),this.Jb.x(Q(this.padding().left(),this.ze)),this.Jb.y(Q(this.padding().top(),this.ye)),this.Gf.fc(this.Fj.a,this.Fj.c,this.Fj.b,this.Fj.g,this.Fj.h,this.Fj.j),T(this,64),U(this,4));W(this,64)&&(a=this.gs(),X(a),a.R(0,0,this.ze,this.ye),a.A(this.Gf),a.zIndex(0),a.I(),a.O(!1),U(this,64));W(this,8)&&(this.Gf.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.Gf.parent(b),U(this,2));d&&c.gd();return this};g.remove=function(){this.Gf?this.Gf.parent(null):this.Jb&&this.Jb.parent(null)};g.pb=function(){var a=this.R(),a=a?a.clone():Nl(0,0,0,0);if(!this.enabled())return a;this.Ha&&!W(this,4)||jA(this);switch(this.orientation()){case"top":a.top+=this.Ha.height;a.height-=this.Ha.height;break;case"right":a.width-=this.Ha.width;break;case"bottom":a.height-=this.Ha.height;break;case"left":a.left+=this.Ha.width,a.width-=this.Ha.width}return a};function kA(a){if(!a.enabled())return new M(0,0,0,0);a.Ha&&!W(a,4)||jA(a);return a.Ha}
g.nc=function(a,b){if(b||"text"in this.c||"autoText"in this.c||"useHtml"in this.c){var c=!this.a.text&&m(this.a.autoText)?this.a.autoText:this.a.text;this.a.useHtml?a.htmlText(c):a.text(c)}hA.v.nc.call(this,a,b);this.c={}};function lA(a){var b=a.rotation();if(m(b))return b;switch(a.orientation()){case"left":return-90;case"right":return 90;default:return 0}}
function jA(a){var b=a.A();b&&b.oa();var c=a.padding(),d=a.margin(),e=a.R(),f,h,b=a.orientation(),k=0==lA(a)%180;e?"top"==b||"bottom"==b||k?(f=e.width,h=e.height):(f=e.height,h=e.width):f=h=void 0;var l;if(l=!a.Gf)a.Gf=oo(),a.Jb=a.Gf.text(),a.Jb.me("aria-hidden","true"),a.Jb.zIndex(1),L(a,a.Gf),wv(a,a.Gf);if(l||W(a,16))a.nc(a.Jb,l),U(a,16);a.Jb.width(null);a.Jb.height(null);a.Jb.fc(1,0,0,1,0,0);l=a.Jb.Fa();var n=null===a.sa?a.$m||null:a.sa;null===n?(a.Qn=l.width,a.ze=c.Xe(a.Qn)):(a.ze=Q(n,f),a.Qn=c.Ie(a.ze));e&&f<d.Xe(a.ze)?(a.ze=d.Ie(f),a.Qn=c.Ie(a.ze),a.Jb.width(a.Qn)):null===n||a.Jb.width(a.Qn);a.Jb.fc(1,0,0,1,0,0);l=a.Jb.Fa();null===a.Ra?(a.Pn=l.height,a.ye=c.We(a.Pn)):(a.ye=Q(a.Ra,h),a.Pn=c.He(a.ye));e&&h<d.We(a.ye)?(a.ye=d.He(h),a.Pn=c.He(a.ye),a.Jb.height(a.Pn)):null===a.Ra||a.Jb.height(a.Pn);a.Ha=new M(-a.ze/2,-a.ye/2,a.ze,a.ye);l=Zh(Bh(lA(a)),0,0);var p=Zl(a.Ha,l),c=Q(d.left(),a.ze);f=Q(d.right(),a.ze);h=Q(d.top(),a.ye);var d=Q(d.bottom(),a.ye),n=p.width/2,p=p.height/2,q=c+n,t=h+
p,v="top"==b||"bottom"==b;if(e)if(v||k)if(v){switch(a.uc){case"left":q=e.Qa()+c+n;break;case"right":q=e.Oa()-f-n;break;default:q=(e.Qa()+e.Oa()+c-f)/2}"top"==b?t=e.Va()+h+p:"bottom"==b&&(t=e.ra()-d-p)}else switch("right"==b?q=e.Oa()-f-n:"left"==b&&(q=e.Qa()+c+n),a.uc){case"top":case"left":t=e.Va()+h+p;break;case"bottom":case"right":t=e.ra()-d-p;break;default:t=(e.Va()+e.ra()+h-d)/2}else if("left"==b){switch(a.uc){case"top":case"right":t=e.Va()+f+p;break;case"bottom":case"left":t=e.ra()-
c-p;break;default:t=(e.Va()+e.ra()-c+f)/2}q=e.Qa()+h+n}else{switch(a.uc){case"top":case"left":t=e.Va()+c+p;break;case"bottom":case"right":t=e.ra()-f-p;break;default:t=(e.Va()+e.ra()+c-f)/2}q=e.Oa()-h-n}e=[q,t,0,0];Yh(l).transform(e,0,e,0,2);e=Vh(l,e[0]-e[2],e[1]-e[3]);a.Fj=e;a.Ha=Zl(a.Ha,a.Fj);Vh(a.Fj,-a.ze/2,-a.ye/2);"top"==b||"bottom"==b||k?(a.Ha.left-=c,a.Ha.top-=h,a.Ha.width+=c+f,a.Ha.height+=h+d):(a.Ha.left-=h,a.Ha.top-=f,a.Ha.width+=h+d,a.Ha.height+=c+f)}
g.eM=function(a){Y(a,1)&&T(this,64,1)};g.pD=function(a){Y(a,2)&&T(this,4,9)};g.clear=function(){this.Gf.br()};g.o=function(){var a=hA.v.o.call(this);a.margin=this.margin().o();a.padding=this.padding().o();a.background=this.gs().o();a.text=this.text();m(this.rotation())&&(a.rotation=this.rotation());a.width=this.width();a.height=this.height();a.align=this.lx();m(this.m)&&(a.orientation=this.orientation());return a};g.jc=function(a){var b=arguments;return u(b[0])?(this.text(b[0]),this.enabled(!0),!0):Qw.prototype.jc.apply(this,b)};g.K=function(a){hA.v.K.call(this,a);this.margin(a.margin);this.padding(a.padding);this.gs(a.background);this.text(a.text);this.rotation(a.rotation);this.width(a.width);this.height(a.height);this.lx(a.align);this.orientation(a.orientation)};hA.prototype.text=hA.prototype.text;hA.prototype.background=hA.prototype.gs;hA.prototype.rotation=hA.prototype.rotation;hA.prototype.width=hA.prototype.width;hA.prototype.height=hA.prototype.height;hA.prototype.margin=hA.prototype.margin;hA.prototype.padding=hA.prototype.padding;hA.prototype.align=hA.prototype.lx;hA.prototype.orientation=hA.prototype.orientation;hA.prototype.getRemainingBounds=hA.prototype.pb;function mA(){Z.call(this);this.X=this.ua=0;this.ka=this.fa=Hr;this.ea=this.da="";this.T=0;this.lb=null;this.w=this.W=!1;this.b=oo();L(this,this.b);wv(this,this.b)}G(mA,Z);g=mA.prototype;g.$=Z.prototype.$|1984;g.Lm=function(a){return m(a)?(this.fa!=a&&(this.fa=a),this):this.fa};g.Fb=function(a){return m(a)?(this.ka!=a&&(this.ka=a),this):this.ka};g.OL=function(a){K(405,null,[".contentFormatter()",".textFormatter()"],!0);return this.Fb(a)};g.hx=function(a){return m(a)?(this.da!=a&&(this.da=a),this):this.da};g.gx=function(a){return m(a)?(this.ea!=a&&(this.ea=a),this):this.ea};function nA(a,b){b=kf(b);b.titleText=a.lb.text();var c=a.Lm();u(c)&&(c=fu(gu.Xc(),c));return c.call(b,b)}function oA(a,b){b=kf(b);b.valuePrefix=a.da?a.da:"";b.valuePostfix=a.ea?a.ea:"";var c=a.Fb();u(c)&&(c=fu(gu.Xc(),c));return c.call(b,b)||b.seriesName}
g.Km=function(a){this.cb||(this.cb=new cz,R(this.cb,this.ML,this),L(this,this.cb));return m(a)?(this.cb.C(a),this):this.cb};g.ML=function(a){Y(a,1)&&T(this,1024,1)};g.title=function(a){this.lb||(this.lb=new hA,R(this.lb,this.TL,this),this.lb.La(this),L(this,this.lb));return m(a)?(this.lb.C(a),this):this.lb};g.TL=function(a){Y(a,8)?(this.c=null,T(this,1988,1)):Y(a,1)&&T(this,128,1)};g.$k=function(a){this.m||(this.m=new Yx,R(this.m,this.SL,this),L(this,this.m));return m(a)?(this.m.C(a),this):this.m};g.SL=function(a){Y(a,8)?(this.j=this.c=null,T(this,1988,1)):Y(a,1)&&T(this,256,1)};g.Xf=function(a){this.a||(this.a=new xz,R(this.a,this.QL,this),this.a.La(this),L(this,this.a));return m(a)?(this.a.C(a),this):this.a};g.NL=function(a){K(405,null,[".content()","method directly"],!0);return this.Xf(a)};g.QL=function(a){Y(a,8)?(this.j=this.c=null,T(this,1988,1)):Y(a,1)&&T(this,512,1)};g.padding=function(a,b,c,d){this.Pa||(this.Pa=new xu,R(this.Pa,this.RL,this),L(this,this.Pa));return m(a)?(this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.RL=function(a){Y(a,2)&&(this.c=null,T(this,4,1))};g.x=function(a){return m(a)?(this.ua!=a&&(this.ua=a,this.j=null,T(this,64,1)),this):this.ua};g.y=function(a){return m(a)?(this.X!=a&&(this.X=a,this.j=null,T(this,64,1)),this):this.X};g.position=function(a){return m(a)?(a=Yb(a,void 0),this.h!=a&&(this.h=a,T(this,64,1)),this):this.h};g.anchor=function(a){return m(a)?(a=Yb(a),this.B!=a&&(this.B=a,this.j=null,T(this,64,1)),this):this.B};g.offsetX=function(a){return m(a)?(a=I(a)||0,this.D!=a&&(this.D=a,this.j=null,T(this,64,1)),this):this.D};g.offsetY=function(a){return m(a)?(a=I(a)||0,this.F!=a&&(this.F=a,this.j=null,T(this,64,1)),this):this.F};g.cd=function(a){return m(a)?(this.a.cd(a),this):this.a.cd()};g.bd=function(a){return m(a)?(this.a.bd(a),this):this.a.bd()};g.tc=function(a,b){return m(a)?(this.a.tc(a,b),this):this.a.tc()};g.fontSize=function(a){return m(a)?(this.a.fontSize(a),this):this.a.fontSize()};g.fontFamily=function(a){return m(a)?(this.a.fontFamily(a),this):this.a.fontFamily()};g.Rc=function(a){return m(a)?(this.a.Rc(a),this):this.a.Rc()};g.De=function(a){return m(a)?(this.a.De(a),this):this.a.De()};g.Ce=function(a){return m(a)?(this.a.Ce(a),this):this.a.Ce()};g.fontStyle=function(a){return m(a)?(this.a.fontStyle(a),this):this.a.fontStyle()};g.fontVariant=function(a){return m(a)?(this.a.fontVariant(a),this):this.a.fontVariant()};g.fontWeight=function(a){return m(a)?(this.a.fontWeight(a),this):this.a.fontWeight()};g.letterSpacing=function(a){return m(a)?(this.a.letterSpacing(a),this):this.a.letterSpacing()};g.Ge=function(a){return m(a)?(this.a.Ge(a),this):this.a.Ge()};g.lineHeight=function(a){return m(a)?(this.a.lineHeight(a),this):this.a.lineHeight()};g.textIndent=function(a){return m(a)?(this.a.textIndent(a),this):this.a.textIndent()};g.vAlign=function(a){return m(a)?(this.a.vAlign(a),this):this.a.vAlign()};g.xc=function(a){return m(a)?(this.a.xc(a),this):this.a.xc()};g.yd=function(a){return m(a)?(this.a.yd(a),this):this.a.yd()};g.textOverflow=function(a){return m(a)?(this.a.textOverflow(a),this):this.a.textOverflow()};g.Pc=function(a){return m(a)?(this.W!=a&&(this.W=a,this.lb.Pc(a),this.a.Pc(a)),this):this.W};g.fb=function(a){return m(a)?(a=!!a,a!=this.w&&(this.w=a,this.a.fb(a),this.lb.fb(a)),this):this.w};g.Mc=function(a){return m(a)?(this.a.Mc(a),this):this.a.Mc()};g.Zb=function(a,b){return m(a)?(this.a.Zb(a,b),this):this.a.Zb()};g.I=function(){if(!this.tb())return this;var a=this.A();W(this,2)&&(this.b.parent(a),U(this,2));W(this,8)&&(this.b.zIndex(this.zIndex()),U(this,8));W(this,4)&&(pA(this),this.M=this.padding().Ve(this.c),this.ma=this.J=null,U(this,4));W(this,64)&&(qA(this),this.b.fc(1,0,0,1,0,0),this.b.bh(this.j.x,this.j.y),U(this,64));W(this,1024)&&(a=this.Km(),X(a),a.R(this.c),a.A(this.b),a.O(!1),a.I(),U(this,1024));W(this,128)&&(a=this.title(),X(a),a.R(this.M),a.A(this.b),a.O(!1),a.I(),!this.J&&a.enabled()&&(this.J=a.pb()),U(this,128));W(this,256)&&(a=this.$k(),X(a),a.A(this.b),a.R(this.J||this.M),a.O(!1),a.I(),!this.ma&&a.enabled()&&(this.ma=a.pb()),U(this,256));if(W(this,512)){var a=this.Xf(),b=this.ma||this.J||this.M;X(a);a.A(this.b);a.R(b);a.O(!1);a.I();U(this,512)}return this};function pA(a){if(!a.c){var b=new M(0,0,0,0),c,d=null;c=a.title();if(c.enabled()){c.R(null);vr(c.width())&&(d=c.width(),c.width(null));var e=kA(c);b.width=Math.max(b.width,e.width);b.height+=e.height;d&&(c.width(d),d=null)}var f=a.Xf();if(f.enabled()){f.R(null);c.width()&&f.width(c.width());vr(f.width())&&(d=f.width(),f.width(null));var h=jz(f);b.width=Math.max(b.width,h.width);b.height+=h.height;d&&f.width(d)}c.enabled()&&c.R(new M(0,0,b.width,e.height));f.enabled()&&f.R(new M(0,0,b.width,h.height));d=a.$k();d.enabled()&&(d.R(c.enabled()||f.enabled()?b:null),c=$x(d),b.width=Math.max(b.width,c.width),b.height+=c.height);a.c=a.padding().Uq(b)}}function qA(a){pA(a);if(!a.j){var b=new $h(a.ua,a.X),c=Ar(a.c,a.B);b.x-=c.x;b.y-=c.y;Er(b,a.B,a.D,a.F);a.j=b}}g.Cb=function(){qA(this);return new M(this.j.x,this.j.y,this.c.width,this.c.height)};g.up=function(a){return m(a)?(this.T!=a&&(this.T=a,rA(this)),this):this.T};function rA(a){a.g&&0!=a.g.Qb?a.ta=!0:(Ad(a.g),a.g=new Vk(function(){this.remove();this.ta&&(this.ta=!1,rA(this))},a.T,a))}
g.show=function(a,b){this.b.parent()||T(this,2);this.g&&0!=this.g.Qb&&this.g.stop();this.I();var c=this.b.P();if(this.W&&c){c.style["pointer-events"]="all";a:{var c=a,d=b,e=this.Cb(),f,h,k,l;if(c<e.Qa())d<e.Va()?(f=e.Oa(),h=e.Qa(),k=e.Va(),l=e.ra(),d-=2):d>e.ra()?(f=e.Qa(),h=e.Oa(),k=e.Va(),l=e.ra(),d+=2):(f=h=e.Qa()+2,k=e.Va(),l=e.ra(),c-=2);else if(c>e.Oa())d<e.Va()?(f=e.Oa(),h=e.Qa(),k=e.ra(),l=e.Va(),d-=2):d>e.ra()?(f=e.Qa(),h=e.Oa(),k=e.ra(),l=e.Va(),d+=2):(f=h=e.Oa()-2,k=e.Va(),l=e.ra(),c+=2);else if(d<e.Va())k=l=e.Va()+2,f=e.Oa(),h=e.Qa(),d-=2;else if(d>e.ra())k=l=e.ra()-2,f=e.Qa(),h=e.Oa(),d+=2;else break a;this.H=[f,k,h,l,c,d]}Dj(document,"mousemove",this.Ht,!1,this)}else c&&(c.style["pointer-events"]="none")};g.Ht=function(a){sA(this,a.clientX,a.clientY)?Ci&&Qq.Xc().Pc(!0):(Dj(document,"mousemove",this.Ht,!1,this),Dj(this.b.P(),"mouseenter",this.fA,!1,this),Dj(this.b.P(),"mouseleave",this.gA,!1,this),this.rt(a))};function sA(a,b,c){if(!a.H)return!1;var d=a.H[0],e=a.H[1],f=a.H[2],h=a.H[3],k=a.H[4],l=a.H[5];a=Fl(f,h,k,l,b,c);k=Fl(k,l,d,e,b,c);return Fl(d,e,f,h,b,c)==a&&a==k}g.fA=function(){Dj(document,"mousemove",this.Ht,!1,this);Dj(this.b.P(),"mouseenter",this.fA,!1,this);this.H=null};g.gA=function(a){Dj(this.b.P(),"mouseleave",this.gA,!1,this);this.rt(a)};g.Vd=function(a,b){if(a)return this.g&&this.g.stop(),this.remove(),!0;if(this.W&&b){var c=b.originalEvent.clientX,d=b.originalEvent.clientY;if(!this.Cb().Vc(new $h(c,d)))return vj(this.b.P(),"mouseleave",this.rt,!1,this),this.H=null,!1;if(sA(this,c,d))return vj(document,"mousemove",this.Ht,!1,this),vj(this.b.P(),"mouseenter",this.fA,!1,this),vj(this.b.P(),"mouseleave",this.gA,!1,this),!1;this.H=null}if(this.T)return 0!=this.g.Qb||this.g.start(),!1;this.remove();return!0};g.rt=function(a){if(2==a.c.buttons)return!0;Ci&&Qq.Xc().Pc(!1);Dj(this.b.P(),"mouseleave",this.rt,!1,this);this.H=null;this.T?0!=this.g.Qb||this.g.start():this.Vd(!0)};g.remove=function(){this.b.parent(null)};g.bD=function(){K(405,null,["series.tooltip().allowLeaveScreen()","chart.tooltip().allowLeaveScreen()"],!0)};g.kI=mA.prototype.bD;g.cD=function(){K(405,null,["series.tooltip().isFloating()","chart.tooltip().positionMode()"],!0)};g.PL=mA.prototype.cD;g.V=function(){if(Ci){var a=Qq.Xc();this.A(null);delete a.a[D(this).toString()]}mA.v.V.call(this)};g.o=function(){var a=mA.v.o.call(this);a.valuePrefix=this.hx();a.valuePostfix=this.gx();a.position=this.position();a.anchor=this.anchor();a.offsetX=this.offsetX();a.offsetY=this.offsetY();a.title=this.title().o();a.separator=this.$k().o();a.background=this.Km().o();a.padding=this.padding().o();a.hideDelay=this.up();a.minFontSize=this.cd();a.maxFontSize=this.bd();a.adjustFontSize=this.tc();m(this.fontSize())&&(a.fontSize=this.fontSize());m(this.fontFamily())&&(a.fontFamily=this.fontFamily());m(this.Rc())&&(a.fontColor=this.Rc());m(this.De())&&(a.fontOpacity=this.De());m(this.Ce())&&(a.fontDecoration=this.Ce());m(this.fontStyle())&&(a.fontStyle=this.fontStyle());m(this.fontVariant())&&(a.fontVariant=this.fontVariant());m(this.fontWeight())&&(a.fontWeight=this.fontWeight());m(this.letterSpacing())&&(a.letterSpacing=this.letterSpacing());m(this.Ge())&&(a.textDirection=this.Ge());m(this.lineHeight())&&(a.lineHeight=this.lineHeight());m(this.textIndent())&&(a.textIndent=this.textIndent());m(this.vAlign())&&(a.vAlign=this.vAlign());m(this.xc())&&(a.hAlign=this.xc());m(this.yd())&&(a.textWrap=this.yd());m(this.textOverflow())&&(a.textOverflow=this.textOverflow());m(this.Pc())&&(a.selectable=this.Pc());m(this.fb())&&(a.disablePointerEvents=this.fb());m(this.Mc())&&(a.useHtml=this.Mc());return a};g.K=function(a){mA.v.K.call(this,a);this.Lm(a.titleFormatter);this.Fb(a.textFormatter||a.contentFormatter);this.hx(a.valuePrefix);this.gx(a.valuePostfix);this.position(a.position);this.anchor(a.anchor);this.offsetX(a.offsetX);this.offsetY(a.offsetY);m(a.allowLeaveScreen)&&this.kI(a.allowLeaveScreen);m(a.isFloating)&&this.PL(a.isFloating);this.title(a.title);this.$k(a.separator);this.Xf(a.content);this.Km(a.background);this.padding(a.padding);this.up(a.hideDelay);this.cd(a.minFontSize);this.bd(a.maxFontSize);this.tc(a.adjustFontSize);this.fontSize(a.fontSize);this.fontFamily(a.fontFamily);this.Rc(a.fontColor);this.De(a.fontOpacity);this.Ce(a.fontDecoration);this.fontStyle(a.fontStyle);this.fontVariant(a.fontVariant);this.fontWeight(a.fontWeight);this.letterSpacing(a.letterSpacing);this.Ge(a.textDirection);this.lineHeight(a.lineHeight);this.textIndent(a.textIndent);this.vAlign(a.vAlign);this.xc(a.hAlign);this.yd(a.textWrap);this.textOverflow(a.textOverflow);this.Pc(a.selectable);this.fb(a.disablePointerEvents);this.Mc(a.useHtml)};mA.prototype.titleFormatter=mA.prototype.Lm;mA.prototype.textFormatter=mA.prototype.Fb;mA.prototype.valuePrefix=mA.prototype.hx;mA.prototype.valuePostfix=mA.prototype.gx;mA.prototype.position=mA.prototype.position;mA.prototype.anchor=mA.prototype.anchor;mA.prototype.offsetX=mA.prototype.offsetX;mA.prototype.offsetY=mA.prototype.offsetY;mA.prototype.title=mA.prototype.title;mA.prototype.separator=mA.prototype.$k;mA.prototype.background=mA.prototype.Km;mA.prototype.padding=mA.prototype.padding;mA.prototype.hide=mA.prototype.Vd;mA.prototype.hideDelay=mA.prototype.up;mA.prototype.minFontSize=mA.prototype.cd;mA.prototype.maxFontSize=mA.prototype.bd;mA.prototype.adjustFontSize=mA.prototype.tc;mA.prototype.fontSize=mA.prototype.fontSize;mA.prototype.fontFamily=mA.prototype.fontFamily;mA.prototype.fontColor=mA.prototype.Rc;mA.prototype.fontOpacity=mA.prototype.De;mA.prototype.fontDecoration=mA.prototype.Ce;mA.prototype.fontStyle=mA.prototype.fontStyle;mA.prototype.fontVariant=mA.prototype.fontVariant;mA.prototype.fontWeight=mA.prototype.fontWeight;mA.prototype.letterSpacing=mA.prototype.letterSpacing;mA.prototype.textDirection=mA.prototype.Ge;mA.prototype.lineHeight=mA.prototype.lineHeight;mA.prototype.textIndent=mA.prototype.textIndent;mA.prototype.vAlign=mA.prototype.vAlign;mA.prototype.hAlign=mA.prototype.xc;mA.prototype.textWrap=mA.prototype.yd;mA.prototype.textOverflow=mA.prototype.textOverflow;mA.prototype.selectable=mA.prototype.Pc;mA.prototype.disablePointerEvents=mA.prototype.fb;mA.prototype.useHtml=mA.prototype.Mc;mA.prototype.textSettings=mA.prototype.Zb;mA.prototype.contentFormatter=mA.prototype.OL;mA.prototype.content=mA.prototype.NL;mA.prototype.allowLeaveScreen=mA.prototype.bD;mA.prototype.isFloating=mA.prototype.cD;function tA(){Oj.call(this);this.c=this.a=null;this.m=[];this.b="single";this.j="float";this.N=!0;this.w=!1;this.g={};this.a=new mA;L(this,this.a)}G(tA,dt);g=tA.prototype;g.PC=function(a){return m(a)?(this.a.Lm()!=a&&this.a.Lm(a),this):this.a.Lm()};g.Fb=function(a){return m(a)?(this.a.Fb()!=a&&this.a.Fb(a),this):this.a.Fb()};g.rj=function(a){return m(a)?(a=Nc(a),a!=this.b&&(this.b=a),this):this.b};g.position=function(a){return m(a)?(this.a.position(a),this):this.a.position()};g.anchor=function(a){return m(a)?(this.a.anchor(a),this):this.a.anchor()};g.offsetX=function(a){return m(a)?(this.a.offsetX(a),this):this.a.offsetX()};g.offsetY=function(a){return m(a)?(this.a.offsetY(a),this):this.a.offsetY()};g.Ll=function(a){return m(a)?(a=Oc(a),a!=this.j&&(this.j=a),this):this.j};g.er=function(a){return m(a)?(a!=this.N&&(this.N=Ci&&a),this):Ci&&this.N};g.as=function(a){return m(a)?(a!=this.w&&(this.w=Ci&&a),this):Ci&&this.w};g.title=function(a){return m(a)?(this.a.title(a),this):this.a.title()};g.Iw=function(a){return m(a)?(this.a.$k(a),this):this.a.$k()};g.Gw=function(a){return m(a)?(this.a.Km(a),this):this.a.Km()};g.padding=function(a,b,c,d){return m(a)?(this.a.padding(a,b,c,d),this):this.a.padding()};g.enabled=function(a){return m(a)?(this.a.enabled(a),this):this.a.enabled()};g.Hw=function(a){return m(a)?(this.a.up(a),this):this.a.up()};g.cd=function(a){return m(a)?(this.a.cd(a),this):this.a.cd()};g.bd=function(a){return m(a)?(this.a.bd(a),this):this.a.bd()};g.tc=function(a,b){return m(a)?(this.a.tc(a,b),this):this.a.tc()};g.fontSize=function(a){return m(a)?(this.a.fontSize(a),this):this.a.fontSize()};g.fontFamily=function(a){return m(a)?(this.a.fontFamily(a),this):this.a.fontFamily()};g.Rc=function(a){return m(a)?(this.a.Rc(a),this):this.a.Rc()};g.De=function(a){return m(a)?(this.a.De(a),this):this.a.De()};g.Ce=function(a){return m(a)?(this.a.Ce(a),this):this.a.Ce()};g.fontStyle=function(a){return m(a)?(this.a.fontStyle(a),this):this.a.fontStyle()};g.fontVariant=function(a){return m(a)?(this.a.fontVariant(a),this):this.a.fontVariant()};g.fontWeight=function(a){return m(a)?(this.a.fontWeight(a),this):this.a.fontWeight()};g.letterSpacing=function(a){return m(a)?(this.a.letterSpacing(a),this):this.a.letterSpacing()};g.Ge=function(a){return m(a)?(this.a.Ge(a),this):this.a.Ge()};g.lineHeight=function(a){return m(a)?(this.a.lineHeight(a),this):this.a.lineHeight()};g.textIndent=function(a){return m(a)?(this.a.textIndent(a),this):this.a.textIndent()};g.vAlign=function(a){return m(a)?(this.a.vAlign(a),this):this.a.vAlign()};g.xc=function(a){return m(a)?(this.a.xc(a),this):this.a.xc()};g.yd=function(a){return m(a)?(this.a.yd(a),this):this.a.yd()};g.textOverflow=function(a){return m(a)?(this.a.textOverflow(a),this):this.a.textOverflow()};g.Pc=function(a){return m(a)?(this.a.Pc(a),this):this.a.Pc()};g.fb=function(a){return m(a)?(this.a.fb(a),this):this.a.fb()};g.Mc=function(a){return m(a)?(this.a.Mc(a),this):this.a.Mc()};g.Zb=function(a,b){return m(a)?(this.a.Zb(a,b),this):this.a.Zb()};function uA(a,b){if(!b.A())if(Ci){var c=Qq.Xc();b.A(c.yi);c.a[D(b).toString()]=b}else b.A(a.h.A())}
g.show=function(a,b,c,d,e,f){if(!(Ci&&Qq.Xc().Pc()||0==a.length))if("single"==this.b)a=a[0].series,this.c=e?this.a:a.rb(),this.c.enabled()&&m(a.Jf)&&(e=a.Jf(),e.clientX=b,e.clientY=c,iA(this.c.title(),nA(this.c,e)),this.c.Xf().text(oA(this.c,e)),vA(this,[this.c]),this.g[D(this.c).toString()]=this.c,wA(this,this.c,b,c,a),uA(this,this.c),this.c.show(b,c));else if("union"==this.b){if(this.a.enabled()){var h={clientX:b,clientY:c,formattedValues:[],points:[]},k=[];Mf(a,function(a){var b=a.series,c=b.rb();if(c.enabled()&&m(b.Jf)){var d=b.Jf();h.formattedValues.push(oA(c,d));h.points.push(d);r(a.points)&&k.push({series:b,points:Of(a.points,function(a){b.G().select(a);return b.Jf(!0)})})}});k.length==a.length&&(h.allPoints=k);h.formattedValues.length&&(this.a.Xf().text(oA(this.a,h)),f&&mf(h,f),iA(this.a.title(),nA(this.a,h)),vA(this,[this.a]),this.g[D(this.a).toString()]=this.a,wA(this,this.a,b,c,d),uA(this,this.a),this.a.show(b,c))}}else if("separated"==this.b){var l=this;vA(this,this.m);Uf(this.m);Mf(a,function(a){a=a.series;var d=a.rb();if(d.enabled()&&m(a.Jf)){var e=a.Jf();e.clientX=b;e.clientY=c;iA(d.title(),nA(d,e));d.Xf().text(oA(d,e));l.g[D(d).toString()]=d;wA(l,d,b,c,a);uA(l,d);d.show(b,c);l.m.push(d)}})}};function xA(a,b,c){"single"==a.b?(wA(a,a.c,b,c),a.c.show(b,c)):"union"==a.b?(wA(a,a.a,b,c),a.a.show(b,c)):"separated"==a.b&&Ze(a.g,function(d){wA(a,d,b,c);d.show(b,c)})}
function wA(a,b,c,d,e){var f,h,k=xk(a.h.A().oa().A());"float"==a.j?Ci?(f=c,h=d):(f=c-k.x,h=d-k.y):"point"==a.j?(f="union"==a.b?a.position():b.position(),h=e.Nd(f,!0).value,f=h.x+(Ci?k.x:0),h=h.y+(Ci?k.y:0)):"chart"==a.j&&(e=a.h.Cb(),f="union"==a.b?a.position():b.position(),h=Ar(e,f),f=h.x+(Ci?k.x:0),h=h.y+(Ci?k.y:0));a.as()||(b.x(f),b.y(h),c=b.Cb(),e=Ni(window),0>c.left&&(f-=c.left),0>c.top&&(h-=c.top),c.Oa()>e.width&&(f-=c.Oa()-e.width),c.ra()>e.height&&(h-=c.ra()-e.height));a.er()||(b.x(f),b.y(h),c=b.Cb(),e=a.h.Cb(),k||(k=xk(a.h.A().oa().A())),c.left<k.x+e.left&&(f-=c.left-k.x-e.left),c.top<k.y+e.top&&(h-=c.top-k.y-e.top),c.Oa()>k.x+e.Oa()&&(f-=c.Oa()-k.x-e.Oa()),c.ra()>k.y+e.ra()&&(h-=c.ra()-k.y-e.ra()));b.x(f);b.y(h)}g.Vd=function(a,b){"single"==this.b?this.c&&this.c.Vd(a,b)&&delete this.g[D(this.c).toString()]:"union"==this.b?this.a.Vd(a,b)&&delete this.g[D(this.a).toString()]:"separated"==this.b&&(Mf(this.m,function(c){c.Vd(a,b)&&delete this.g[D(c).toString()]},this),Uf(this.m))};function vA(a,b){Ze(a.g,function(a,d){Qf(b,function(a){return D(a)==d})||(a.Vd(!0),delete this.g[d])},a)}g.kL=function(a){K(405,null,[".contentFormatter()",".textFormatter()"],!0);return this.Fb(a)};g.Xf=function(a){return m(a)?(this.a.Xf(a),this):this.a.Xf()};g.jL=function(a){K(405,null,[".content()","method directly"],!0);return this.Xf(a)};g.OC=function(a){K(405,null,[".isFloating()",".positionMode()"],!0);return m(a)?(this.Ll(a?"float":"point"),this):"float"==this.Ll()};g.lL=tA.prototype.OC;g.o=function(){var a=tA.v.o.call(this);a.displayMode=this.rj();a.position=this.position();a.anchor=this.anchor();a.offsetX=this.offsetX();a.offsetY=this.offsetY();a.positionMode=this.Ll();a.allowLeaveChart=this.er();a.allowLeaveScreen=this.as();a.title=this.title().o();a.separator=this.Iw().o();a.background=this.Gw().o();a.padding=this.padding().o();a.enabled=this.enabled();a.hideDelay=this.Hw();a.minFontSize=this.cd();a.maxFontSize=this.bd();a.adjustFontSize=this.tc();m(this.fontSize())&&(a.fontSize=this.fontSize());m(this.fontFamily())&&(a.fontFamily=this.fontFamily());m(this.Rc())&&(a.fontColor=this.Rc());m(this.De())&&(a.fontOpacity=this.De());m(this.Ce())&&(a.fontDecoration=this.Ce());m(this.fontStyle())&&(a.fontStyle=this.fontStyle());m(this.fontVariant())&&(a.fontVariant=this.fontVariant());m(this.fontWeight())&&(a.fontWeight=this.fontWeight());m(this.letterSpacing())&&(a.letterSpacing=this.letterSpacing());m(this.Ge())&&(a.textDirection=this.Ge());m(this.lineHeight())&&(a.lineHeight=this.lineHeight());m(this.textIndent())&&(a.textIndent=this.textIndent());m(this.vAlign())&&(a.vAlign=this.vAlign());m(this.xc())&&(a.hAlign=this.xc());m(this.yd())&&(a.textWrap=this.yd());m(this.textOverflow())&&(a.textOverflow=this.textOverflow());m(this.Pc())&&(a.selectable=this.Pc());m(this.fb())&&(a.disablePointerEvents=this.fb());m(this.Mc())&&(a.useHtml=this.Mc());return a};g.jc=function(a){var b=arguments[0];return ia(b)||null===b?(this.enabled(!!b),!0):dt.prototype.jc.apply(this,arguments)};g.K=function(a){tA.v.K.call(this,a);this.PC(a.titleFormatter);this.Fb(a.textFormatter||a.contentFormatter);this.rj(a.displayMode);this.position(a.position);this.anchor(a.anchor);this.offsetX(a.offsetX);this.offsetY(a.offsetY);m(a.isFloating)&&this.OC(a.isFloating);this.Ll(a.positionMode);this.er(a.allowLeaveChart);this.as(a.allowLeaveScreen);this.title(a.title);this.Iw(a.separator);this.Xf(a.content);this.Gw(a.background);this.padding(a.padding);this.enabled(a.enabled);this.Hw(a.hideDelay);this.cd(a.minFontSize);this.bd(a.maxFontSize);this.tc(a.adjustFontSize);this.fontSize(a.fontSize);this.fontFamily(a.fontFamily);this.Rc(a.fontColor);this.De(a.fontOpacity);this.Ce(a.fontDecoration);this.fontStyle(a.fontStyle);this.fontVariant(a.fontVariant);this.fontWeight(a.fontWeight);this.letterSpacing(a.letterSpacing);this.Ge(a.textDirection);this.lineHeight(a.lineHeight);this.textIndent(a.textIndent);this.vAlign(a.vAlign);this.xc(a.hAlign);this.yd(a.textWrap);this.textOverflow(a.textOverflow);this.Pc(a.selectable);this.fb(a.disablePointerEvents);this.Mc(a.useHtml)};tA.prototype.titleFormatter=tA.prototype.PC;tA.prototype.textFormatter=tA.prototype.Fb;tA.prototype.displayMode=tA.prototype.rj;tA.prototype.position=tA.prototype.position;tA.prototype.anchor=tA.prototype.anchor;tA.prototype.offsetX=tA.prototype.offsetX;tA.prototype.offsetY=tA.prototype.offsetY;tA.prototype.positionMode=tA.prototype.Ll;tA.prototype.allowLeaveChart=tA.prototype.er;tA.prototype.allowLeaveScreen=tA.prototype.as;tA.prototype.title=tA.prototype.title;tA.prototype.separator=tA.prototype.Iw;tA.prototype.background=tA.prototype.Gw;tA.prototype.padding=tA.prototype.padding;tA.prototype.enabled=tA.prototype.enabled;tA.prototype.hide=tA.prototype.Vd;tA.prototype.hideDelay=tA.prototype.Hw;tA.prototype.minFontSize=tA.prototype.cd;tA.prototype.maxFontSize=tA.prototype.bd;tA.prototype.adjustFontSize=tA.prototype.tc;tA.prototype.fontSize=tA.prototype.fontSize;tA.prototype.fontFamily=tA.prototype.fontFamily;tA.prototype.fontColor=tA.prototype.Rc;tA.prototype.fontOpacity=tA.prototype.De;tA.prototype.fontDecoration=tA.prototype.Ce;tA.prototype.fontStyle=tA.prototype.fontStyle;tA.prototype.fontVariant=tA.prototype.fontVariant;tA.prototype.fontWeight=tA.prototype.fontWeight;tA.prototype.letterSpacing=tA.prototype.letterSpacing;tA.prototype.textDirection=tA.prototype.Ge;tA.prototype.lineHeight=tA.prototype.lineHeight;tA.prototype.textIndent=tA.prototype.textIndent;tA.prototype.vAlign=tA.prototype.vAlign;tA.prototype.hAlign=tA.prototype.xc;tA.prototype.textWrap=tA.prototype.yd;tA.prototype.textOverflow=tA.prototype.textOverflow;tA.prototype.selectable=tA.prototype.Pc;tA.prototype.disablePointerEvents=tA.prototype.fb;tA.prototype.useHtml=tA.prototype.Mc;tA.prototype.textSettings=tA.prototype.Zb;tA.prototype.contentFormatter=tA.prototype.kL;tA.prototype.content=tA.prototype.jL;tA.prototype.isFloating=tA.prototype.lL;function yA(){Z.call(this);this.b=this.m=this.lb=null;this.F=this.D=this.H=this.w=0;this.Pa=this.cb=null;this.T=!0;this.ma=this.J=this.M=this.c=this.a=this.g=null;zA(this);T(this,this.$)}G(yA,Z);g=yA.prototype;g.ia=0;g.$=Z.prototype.$|4032;g.title=function(a){this.lb||(this.lb=new hA,R(this.lb,this.jM,this),this.lb.La(this),L(this,this.lb));return m(a)?(this.lb.C(a),this):this.lb};g.jM=function(a){Y(a,8)?(this.c=null,T(this,1988,9)):Y(a,1)&&T(this,128,1)};function AA(a,b){a.m||(a.m=new Yx,R(a.m,a.iM,a),L(a,a.m));return m(b)?(a.m.C(b),a):a.m}g.iM=function(a){Y(a,8)?(this.c=null,T(this,1988,9)):Y(a,1)&&T(this,256,1)};function BA(a,b){a.b||(a.b=new xz,R(a.b,a.gM,a),a.b.La(a),L(a,a.b));return m(b)?(a.b.C(b),a):a.b}g.gM=function(a){Y(a,8)?(this.c=null,T(this,1988,9)):Y(a,1)&&T(this,512,1)};function CA(a,b){a.cb||(a.cb=new cz,R(a.cb,a.fM,a),L(a,a.cb));return m(b)?(a.cb.C(b),a):a.cb}g.fM=function(a){Y(a,1)&&T(this,1024,1)};g.padding=function(a){this.Pa||(this.Pa=new xu,R(this.Pa,this.hM,this),L(this,this.Pa));return m(a)?(this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.hM=function(a){Y(a,2)&&(this.c=null,T(this,4,9))};g.x=function(a){return m(a)?(this.w!=a&&(this.w=a,this.h=null,T(this,64,9)),this):this.w};g.y=function(a){return m(a)?(this.H!=a&&(this.H=a,this.h=null,T(this,64,9)),this):this.H};g.offsetX=function(a){return m(a)?(a=I(a)||0,this.D!=a&&(this.D=a,this.h=null,T(this,64,9)),this):this.D};g.offsetY=function(a){return m(a)?(a=I(a)||0,this.F!=a&&(this.F=a,T(this,64,9)),this):this.F};g.anchor=function(a){return m(a)?(a=Yb(a),this.B!=a&&(this.B=a,this.h=null,T(this,64,9)),this):this.B};g.visible=function(a){return m(a)?(this.T!=a&&(this.T=a,T(this,2048,1)),this):this.T};function DA(a,b){return m(b)?(a.j!=b&&(a.j=b,zA(a)),a):a.j}function zA(a){a.g&&0!=a.g.Qb?a.W=!0:(Ad(a.g),a.g=new Vk(function(){this.remove();this.W&&(this.W=!1,zA(this))},a.j,a))}
g.I=function(a){if(!this.tb())return this;var b=this.A()?this.A().oa():null,c=b&&!b.Jc();c&&b.rd();this.a||(this.a=oo(),L(this,this.a),this.a.fb(!0),wv(this,this.a));W(this,8)&&(this.a.zIndex(this.zIndex()),U(this,8));W(this,2050)&&(this.visible()?(this.a.parent(this.A()),this.g.stop()):a||0>=this.j?this.remove():0!=this.g.Qb||this.g.start(),U(this,2),U(this,2048));W(this,64)&&(EA(this),this.a.fc(1,0,0,1,0,0),this.a.bh(this.h.x,this.h.y),U(this,64));W(this,4)&&(FA(this),this.M=this.padding().Ve(this.c),this.ma=this.J=null,U(this,4));W(this,1024)&&(a=CA(this),X(a),a.R(this.c),this.enabled()&&this.visible()&&a.A(this.a),a.O(!1),a.I(),U(this,1024));W(this,128)&&(a=this.title(),X(a),this.enabled()&&this.visible()&&a.A(this.a),a.R(this.M),a.O(!1),a.I(),!this.J&&a.enabled()&&(this.J=a.pb()),U(this,128));W(this,256)&&(a=AA(this),X(a),this.enabled()&&this.visible()&&a.A(this.a),a.R(this.J||this.M),a.O(!1),a.I(),!this.ma&&a.enabled()&&(this.ma=a.pb()),U(this,256));if(W(this,512)){a=BA(this);var d=this.ma||this.J||this.M;X(a);this.enabled()&&this.visible()&&a.A(this.a);a.R(d);a.O(!1);a.I();U(this,512)}c&&b.gd();return this};g.Vd=function(a){this.visible()&&(X(this),this.visible(!1),this.I(a),this.O(!1));return this};g.remove=function(){this.a&&this.a.parent(null)};function FA(a){if(!a.c){var b=new M(0,0,0,0),c,d=null;c=a.title();if(c.enabled()){c.R(null);vr(c.width())&&(d=c.width(),c.width(null));var e=kA(c);b.width=Math.max(b.width,e.width);b.height+=e.height;d&&(c.width(d),d=null)}var f=BA(a);if(f.enabled()){f.R(null);vr(f.width())&&(d=f.width(),f.width(null));var h=jz(f);b.width=Math.max(b.width,h.width);b.height+=h.height;d&&f.width(d)}c.enabled()&&c.R(new M(0,0,b.width,e.height));f.enabled()&&f.R(new M(0,0,b.width,h.height));d=AA(a);d.enabled()&&(d.R(c.enabled()||f.enabled()?b:null),c=$x(d),b.width=Math.max(b.width,c.width),b.height+=c.height);a.c=a.padding().Uq(b)}}function EA(a){FA(a);if(!a.h){var b=new $h(a.w,a.H),c=Ar(a.c,a.B);b.x-=c.x;b.y-=c.y;Er(b,a.B,a.D,a.F);a.h=b}}g.Cb=function(){EA(this);return new M(this.h.x,this.h.y,this.c.width,this.c.height)};function GA(){Oj.call(this);this.a=null;this.b=this.g=Hr;this.m=!1;this.N=!0;this.w=this.c=null}G(GA,dt);g=GA.prototype;g.ia=9;g.qD=function(a){return m(a)?(this.g!=a&&(this.g=a,this.ca(1)),this):this.g};g.Fb=function(a){return m(a)?(this.b!=a&&(this.b=a,this.ca(1)),this):this.b};g.lM=function(a){K(405,null,[".contentFormatter()",".textFormatter()"],!0);return this.Fb(a)};g.sx=function(a){return m(a)?(this.j!=a&&(this.j=a),this):this.j};g.qx=function(a){return m(a)?(this.h!=a&&(this.h=a),this):this.h};g.hs=function(a){return m(a)?(this.m!=a&&(this.m=Ci&&a,this.ca(1)),this):Ci&&this.m};g.al=function(a){return m(a)?(this.N!=a&&(this.N=a,this.ca(8)),this):this.N};g.title=function(a){HA(this);return m(a)?(this.a.title(a),this):this.a.title()};g.px=function(a){HA(this);return m(a)?(AA(this.a,a),this):AA(this.a)};g.Xf=function(a){HA(this);return m(a)?(BA(this.a,a),this):BA(this.a)};g.kM=GA.prototype.Xf;g.nx=function(a){HA(this);return m(a)?(CA(this.a,a),this):CA(this.a)};g.padding=function(a){HA(this);return m(a)?(this.a.padding.apply(this.a,arguments),this):this.a.padding()};g.offsetX=function(a){HA(this);return m(a)?(this.a.offsetX(a),this):this.a.offsetX()};g.offsetY=function(a){HA(this);return m(a)?(this.a.offsetY(a),this):this.a.offsetY()};g.anchor=function(a){HA(this);return m(a)?(this.a.anchor(a),this):this.a.anchor()};g.ox=function(a){HA(this);return m(a)?(DA(this.a,a),this):DA(this.a)};g.enabled=function(a){HA(this);return m(a)?(this.a.enabled(a),this):this.a.enabled()};function HA(a){a.a||(a.a=new yA,X(a.a),a.a.visible(!1),L(a,a.a),a.a.O(!0))}g.A=function(a){HA(this);if(m(a)){if(Ci){a=Qq.Xc();var b=this.a;b.A(a.yi);a.a[D(b).toString()]=b}else this.a.A(a);return this}return this.a.A()};g.show=function(a,b){HA(this);this.c=a;this.w=b;this.c.valuePrefix=this.j?this.j:"";this.c.valuePostfix=this.h?this.h:"";var c=this.g;u(c)&&(c=fu(gu.Xc(),c));var d=c.call(a,a),c=this.b;u(c)&&(c=fu(gu.Xc(),c));c=c.call(a,a);X(this.a);BA(this.a).text(c);this.a.title().text(d);d=IA(this,b);this.a.x(d.x);this.a.y(d.y);this.a.visible(!0);this.a.I();this.a.O(!1);return this};g.Vd=function(a){this.a.Vd(a);return this};function JA(a){if(a.a&&a.a.visible()&&a.a.enabled()){X(a.a);var b=a.g;u(b)&&(b=fu(gu.Xc(),b));var c=b.call(a.c,a.c),b=a.b;u(b)&&(b=fu(gu.Xc(),b));var b=b.call(a.c,a.c),d=IA(a,a.w);a.a.x(d.x);a.a.y(d.y);a.a.title().text(c);BA(a.a).text(b);a.a.I();a.a.O(!1)}}
function IA(a,b){if(a.hs())return b;var c=xk(a.A().oa().A());Ci?(a.a.x(b.x),a.a.y(b.y)):(a.a.x(b.x-c.x),a.a.y(b.y-c.y),b.x-=c.x,b.y-=c.y);var c=a.a.Cb(),d=Ni(Pi()||window);0>c.left&&(b.x-=c.left);0>c.top&&(b.y-=c.top);c.Oa()>d.width&&(b.x-=c.Oa()-d.width);c.ra()>d.height&&(b.y-=c.ra()-d.height);d=document;if(ii&&(!yi("7")||d.documentMode&&6>=d.documentMode)){var c=d.documentElement,e=d.body,d=c.scrollTop||e&&e.scrollTop||0,d=d-c.clientTop,e=c.scrollLeft||e&&e.scrollLeft||0,e=e-c.clientLeft;b.x+=e;b.y+=d}return b}g.V=function(){if(Ci){var a=Qq.Xc(),b=this.a;b.A(null);delete a.a[D(b).toString()]}GA.v.V.call(this)};g.o=function(){var a=GA.v.o.call(this);a.valuePrefix=this.sx();a.valuePostfix=this.qx();a.title=this.title().o();a.separator=this.px().o();a.content=this.Xf().o();a.background=this.nx().o();a.padding=this.padding().o();a.allowLeaveScreen=this.hs();a.offsetX=this.offsetX();a.offsetY=this.offsetY();a.anchor=this.anchor();a.hideDelay=this.ox();a.enabled=this.enabled();return a};g.jc=function(a){var b=arguments[0];return ia(b)||null===b?(this.enabled(!!b),!0):dt.prototype.jc.apply(this,arguments)};g.K=function(a){GA.v.K.call(this,a);this.sx(a.valuePrefix);this.qx(a.valuePostfix);this.hs(a.allowLeaveScreen);this.title(a.title);this.px(a.separator);this.Xf(a.content);this.nx(a.background);this.padding(a.padding);this.offsetX(a.offsetX);this.offsetY(a.offsetY);this.anchor(a.anchor);this.ox(a.hideDelay);this.enabled("enabled"in a?a.enabled:!0);this.qD(a.titleFormatter);this.Fb(a.textFormatter||a.contentFormatter)};GA.prototype.valuePrefix=GA.prototype.sx;GA.prototype.valuePostfix=GA.prototype.qx;GA.prototype.titleFormatter=GA.prototype.qD;GA.prototype.textFormatter=GA.prototype.Fb;GA.prototype.contentFormatter=GA.prototype.lM;GA.prototype.isFloating=GA.prototype.al;GA.prototype.allowLeaveScreen=GA.prototype.hs;GA.prototype.title=GA.prototype.title;GA.prototype.separator=GA.prototype.px;GA.prototype.content=GA.prototype.kM;GA.prototype.background=GA.prototype.nx;GA.prototype.padding=GA.prototype.padding;GA.prototype.offsetX=GA.prototype.offsetX;GA.prototype.offsetY=GA.prototype.offsetY;GA.prototype.anchor=GA.prototype.anchor;GA.prototype.hide=GA.prototype.Vd;GA.prototype.hideDelay=GA.prototype.ox;GA.prototype.enabled=GA.prototype.enabled;function KA(){Qw.call(this);this.m=this.w=NaN;this.T=this.b=this.Ra=this.sa=null;this.da=NaN;this.X=null;this.H=!0;this.fa=null;this.J=!1;T(this,4294967295);xv(this,this,this.CO,this.zL,null,this.BO);this.N.pa(this,"mousedown",this.yL)}G(KA,Qw);g=KA.prototype;g.ia=Qw.prototype.ia;g.$=Qw.prototype.$|1984;g.Yy=function(a){return m(a)?(a=$b(a,this.F),this.F!=a&&(this.F=a,T(this,4,9)),this):this.F};g.bc=function(a){return m(a)?(a=!!a,this.J!=a&&(this.J=a,T(this,16,1)),this):this.J};g.items=function(a){return m(a)?(this.ea!=a&&(this.ea=a,this.H=!0,T(this,16,1)),this):this.ea};g.Zy=function(a){if(m(a)){a=r(a)?zb(a,0):null===a?a:[a];var b;a:if(this.D&&a&&this.D.length==a.length){for(b=0;b<a.length;b++)if(this.D[b]!=a[b]){b=!1;break a}b=!0}else b=!1;b||(this.D=a,this.H=!0,T(this,16,1));return this}return this.D};g.Fg=function(a){if(m(a)){a:{a=String(a).toLowerCase();switch(a){case"c":case"cat":case"categories":a="categories";break a}a="default"}this.ua!=a&&(this.ua=a,this.H=!0,T(this,16,1));return this}return this.ua};g.Xy=function(a){return m(a)?(this.Sa!=a&&(this.Sa=a,this.H=!0,T(this,16,1)),this):this.Sa};g.DF=function(a){return m(a)?(this.X!=a&&(this.X=a,this.H=!0,T(this,16,1)),this):this.X};g.$y=function(a){return m(a)?(a=isNaN(parseFloat(a))?15:a,this.w!=a&&(this.w=parseFloat(a),T(this,4,9)),this):this.w};g.Zw=function(a){if(m(a)){a=zr(a)?5:+a;if(this.m!=a){this.m=a;if(null!=this.b){a=0;for(var b=this.b.length;a<b;a++)this.b[a].Uw(this.m)}T(this,4,9)}return this}return this.m};g.Yw=function(a){if(m(a)){a=I(a);if(this.g!=a){this.g=a;if(null!=this.b){a=0;for(var b=this.b.length;a<b;a++)lx(this.b[a],this.g)}T(this,4,9)}return this}return this.g};g.margin=function(a,b,c,d){this.zc||(this.zc=new wu,L(this,this.zc),R(this.zc,this.YC,this));return m(a)?(this.zc.C.apply(this.zc,arguments),this):this.zc};g.YC=function(a){Y(a,2)&&T(this,4,9)};g.padding=function(a,b,c,d){this.Pa||(this.Pa=new xu,L(this,this.Pa),R(this.Pa,this.YC,this));return m(a)?(this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.cs=function(a){this.cb||(this.cb=new cz,L(this,this.cb),R(this.cb,this.xL,this));return m(a)?(this.cb.C(a),this):this.cb};g.xL=function(a){Y(a,1)&&T(this,64,1)};g.title=function(a){this.lb||(this.lb=new hA,L(this,this.lb),R(this.lb,this.CL,this),this.lb.La(this));return m(a)?(this.lb.C(a),this):this.lb};g.CL=function(a){var b=0,c=0;Y(a,1)&&(b|=128,c|=1);Y(a,8)&&(b|=4,c|=8);T(this,b,c)};g.$w=function(a){return m(a)?(this.fa!=a&&(this.fa=a,T(this,132,9)),this):this.fa};g.Rq=function(a){this.ma||(this.ma=new Yx,L(this,this.ma),R(this.ma,this.LQ,this));return m(a)?(this.ma.C(a),this):this.ma};g.LQ=function(a){var b=0,c=0;Y(a,1)&&(b|=256,c|=1);Y(a,8)&&(b|=4,c|=8);T(this,b,c)};g.Mi=function(a){this.W||(this.W=new zz,L(this,this.W),R(this.W,this.JP,this));return m(a)?(this.W.C(a),this):this.W};g.JP=function(a){var b=0,c=0;Y(a,1)&&(b|=512,c|=1);Y(a,8)&&(b|=4,c|=8);T(this,b,c)};g.rb=function(a){this.Mb||(this.Mb=new GA,L(this,this.Mb),R(this.Mb,this.BL,this));return m(a)?(this.Mb.C(a),this):this.Mb};g.BL=function(){JA(this.rb())};g.gk=function(a){switch(a){case"%Value":return"string";default:return""}};g.cf=function(a){switch(a){case"%Value":return this.value}};function LA(a,b){var c=a.rb(),d=b.itemIndex,e=a.b[d];e&&(d={value:e.text(),iconType:e.Vw(),iconStroke:e.Tw(),iconFill:e.Rw(),iconHatchFill:e.Sw(),iconMarkerType:jx(e),iconMarkerStroke:e.VC(),iconMarkerFill:e.UC(),meta:a.ta[d],getTokenValue:a.cf,getTokenType:a.gk},c.al()&&b?c.show(d,new $h(b.clientX,b.clientY)):c.show(d,new $h(0,0)))}g.width=function(a){return m(a)?(this.sa!=a&&(this.sa=a,T(this,68,9)),this):this.sa};g.height=function(a){return m(a)?(this.Ra!=a&&(this.Ra=a,T(this,68,9)),this):this.Ra};g.position=function(a){return m(a)?(a=bc(a),this.h!=a&&(this.h=a,T(this,4,9)),this):this.h};g.Ww=function(a){return m(a)?(a=Zb(a),this.uc!=a&&(this.uc=a,T(this,4,9)),this):this.uc};g.pb=function(){var a=this.R()||Nl(0,0,0,0);if(!this.enabled())return a;this.Ha&&!W(this,4)||MA(this);switch(this.h){case"top":a.top+=this.Ha.height;a.height-=this.Ha.height;break;case"right":a.width-=this.Ha.width;break;default:case"bottom":a.height-=this.Ha.height;break;case"left":a.left+=this.Ha.width,a.width-=this.Ha.width}return a};g.Cb=function(){this.Ha&&!W(this,4)||MA(this);return this.Ha};g.dE=function(){return new ex};g.Xw=function(a){if(m(a)&&(a=Xb(a),this.ka!=a)){this.ka=a;if(null!=this.b){a=0;for(var b=this.b.length;a<b;a++)kx(this.b[a],this.ka)}T(this,16,1);return this}return this.ka};function MA(a){var b=a.R(),c,d,e=a.margin(),f=a.padding(),h,k,l,n;b?(c=b.width,d=b.height,null!=a.sa?(h=Q(a.sa,c),e.Xe(h)>c&&(h=e.Ie(c)),l=f.Ie(h)):l=f.Ie(e.Ie(c)),null!=a.Ra?(k=Q(a.Ra,d),e.We(k)>d&&(k=e.He(d)),n=f.He(k)):n=f.He(e.He(d))):(l=y(a.sa)&&!isNaN(a.sa)?f.Ie(a.sa):Infinity,n=y(a.Ra)&&!isNaN(a.Ra)?f.He(a.Ra):Infinity);var p,q,t,v=a.Rq(),w=a.Mi(),x=a.title();h="bottom"==a.position()||"top"==a.position();var z="top"==x.orientation()||"bottom"==x.orientation(),C="top"==v.orientation()||"bottom"==v.orientation(),F;if(null!=a.b){var J=k=0,O=-Number.MAX_VALUE,S=0;for(q=a.b.length;S<q;S++)S in a.M||(J=a.b[S].ng(),k+=J+a.w,O=Math.max(O,J));0==k||0>O?F=0:(k-=a.w,F="vertical"==a.F?O:k)}else F=0;var da;if(null!=a.b){J=k=0;O=-Number.MAX_VALUE;S=0;for(q=a.b.length;S<q;S++)S in a.M||(J=a.b[S].Wg(),k+=J+a.w,O=Math.max(O,J));0==k||0>O?da=0:(k-=a.w,da="horizontal"==a.F?O:k)}else da=0;var V;k=0+F;V=0+da;X(v);X(w);X(x);x.enabled()?(x.R(null),S=x.orientation(),x.$m=null,t=kA(x),z?(k=Math.min(Math.max(k,t.width),l),h&&(x.$m=k,t=kA(x)),V+=t.height):(k+=t.width,V=Math.max(V,t.height))):t=null;v.enabled()?(v.R(null),t?v.width(t.width):v.width("left"==v.orientation()||"right"==v.orientation()?da:F),p=$x(v)):p=null;w.R(null);q=w.Cb();"horizontal"==a.F&&(F>l?Hz(w,!0):Hz(w,!1));h=n;z&&(h-=t?t.height:0);C&&(h-=p?p.height:0);"vertical"==a.F&&(da>h?Hz(w,!0):Hz(w,!1));v.enabled()&&(S=v.orientation(),"left"==S||"right"==S?(k+=p.width,V=Math.max(V,p.height)):(k=Math.max(k,p.width),V+=p.height));Iz(w)&&(S=w.orientation(),"left"==S||"right"==S?(k+=q.width,V=Math.max(V,q.height)):(k=Math.max(k,q.width),V+=q.height));J=k>l?l:k;O=V>n?n:V;h=e.Xe(f.Xe(J));k=e.We(f.We(O));if(x.enabled()){var Ka=0==lA(x)%180,bb=t.width,S=t.height;x.orientation();if(z||Ka){if(Ka&&!z){var C=(a.b&&a.b.length?a.b[0].ng():0)+(Iz(w)?q.width:0),C=F>=l?C:F,Fa;null!=x.width()?Fa=x.width():Fa=x.margin().Ie(J-bb<=C?J-C:bb)}else{if(V>n){Fa=0;p&&C&&(Fa+=p.height);if("top"==w.orientation()||"bottom"==w.orientation())Fa+=q.height;x.height(ga(x.height())?x.height():x.margin().He(V-da-Fa))}Fa=null!=x.width()?x.width():x.margin().Ie(J)}x.$m=Fa;t=kA(x);v.width(h);p=$x(v);t.height!=S&&(x.height(ga(x.height())?x.height():x.margin().He(S)),t=kA(x))}else Fa=null!=x.width()?x.width():x.margin().Ie(O),x.$m=Fa,t=kA(x),v.width(k),p=$x(v),t.width!=bb&&(x.height(ga(x.height())?x.height():x.margin().He(bb)),t=kA(x))}x.enabled()&&(S=x.orientation(),"top"==S||"bottom"==S?O-=t.height:J-=t.width);v.enabled()&&(S=v.orientation(),"top"==S||"bottom"==S?O-=p.height:J-=p.width);Fa=J;C=O;S=w.orientation();Iz(w)&&("top"==S||"bottom"==S?C=O-q.height:Fa=J-q.width);do{U(a,4);z=a;q=Fa;F=C;da=p=p=t=V=void 0;z.B=[];da=0;X(z);t=z.b&&z.b.length;V=void 0;for(V=0;V<t&&V in z.M;V++);if(z.b&&V!=t)if(z.B[da]=[],z.B[da][0]=z.b[V],"horizontal"==z.F)for(p=z.b[V].ng(),V+=1;V<t;V++)V in z.M||(p+z.w+z.b[V].ng()>q?(da++,z.B[da]=[],z.B[da][0]=z.b[V],p=z.b[V].ng()):(p=p+z.w+z.b[V].ng(),z.B[da].push(z.b[V])));else for(p=z.b[V].Wg(),V+=1,t=z.b.length;V<t;V++)V in z.M||(p+z.w+z.b[V].Wg()>F?(da++,z.B[da]=[],z.B[da][0]=z.b[V],p=z.b[V].Wg()):(p=p+z.w+z.b[V].Wg(),z.B[da].push(z.b[V])));Az(z.Mi(),da+1);z.O(!1);w.R(null);q=w.Cb();"top"==S||"bottom"==S?C=O-(q?q.height:0):Fa=J-(q?q.width:0)}while(W(a,4));h=isFinite(l)&&null!=a.sa?f.Xe(l):h;k=isFinite(n)&&null!=a.Ra?f.We(n):k;if(b){f=b.Qa();e=b.Va();switch(a.h){case"left":case"right":switch(a.uc){case"center":e+=(d-k)/2;break;case"right":case"bottom":e=b.ra()-k}break;case"top":case"bottom":switch(a.uc){case"center":f+=(c-h)/2;break;case"right":case"bottom":f=b.Oa()-h}}switch(a.h){case"right":f=b.Oa()-h;break;case"bottom":e=b.ra()-k}}else f=Q(e.left(),0),e=Q(e.top(),0);a.Ha=new M(f,e,h,k);v.O(!1);w.O(!1);x.O(!1)}g.remove=function(){this.j&&this.j.parent(null)};g.I=function(){if(!this.tb())return this;this.j||(this.j=oo(),wv(this,this.j),L(this,this.j),this.T||(this.T=oo(),this.T.parent(this.j).zIndex(20),L(this,this.T)));this.rb().A()||this.rb().A(this.A());W(this,8)&&(this.j.zIndex(this.zIndex()),U(this,8));var a=this.A(),b=a?a.oa():null;W(this,2)&&(this.j.parent(a),b&&(this.dn()?b.pa(Gj,this.ZC,!1,this):b.Ec(Gj,this.ZC,!1,this)),U(this,2));(a=b&&!b.Jc())&&b.rd();W(this,1024)&&(this.H=!0,U(this,1024));if(W(this,16)){var c=this.Xy(),d;if(r(this.ea))d=this.ea;else if(null!=this.D){for(var e=[],f=0;f<this.D.length;f++)d=this.D[f],null!==d&&A(d.Bi)&&(e=Xf(e,d.Bi(this.ua,this.X)));d=e}else d=[];this.J&&(d=d.reverse());d=A(c)?c(d):d;this.b&&this.b.length!=d.length&&(this.H=!0);c=d;if(r(c)){d=[];for(var f=this.Zb(),h=0;h<c.length;h++)isNaN(c[h].iconSize)&&(c[h].iconSize=this.g),e={iconTextSpacing:this.m,iconSize:this.g,hoverCursor:this.ka},mf(e,f,c[h]),d.push(e);c=d}else c=[];this.M={};if(!this.H&&this.b)for(e=0;e<c.length;e++)for(m(c[e].enabled)&&!c[e].enabled&&(this.M[e]=!0),f=0;f<this.b.length;f++){d=this.b[f];var h=d.Zz(),k=d.qg();if(m(h)&&m(k)&&h==c[e].sourceUid&&k==c[e].sourceKey){d.C(c[e]);d.nc(d.Hy(),!1);d.h.tag={index:this.J?c.length-1-e:e};break}}else if(c&&0<c.length)for(Bd(this.b),this.b=[],this.ta=[],e=0;e<c.length;e++)m(c[e].enabled)&&!c[e].enabled&&(this.M[e]=!0),d=this.dE(),d.A(this.T),c[e].enabled=!1,d.C(c[e]),d.nc(d.Hy(),!0),d.h.tag={index:this.J?c.length-1-e:e},this.b.push(d),this.ta.push(c[e].meta?c[e].meta:{});else Bd(this.b),this.ta=this.b=null;this.H=!1;T(this,4);U(this,16)}if(null!=this.da&&!isNaN(this.da)&&(c=this.B[this.da]))for(d=0;d<c.length;d++)c[d].enabled(!1).I();W(this,4)&&(MA(this),T(this,960),this.j.fc(1,0,0,1,0,0),this.j.bh(this.Ha.left,this.Ha.top),U(this,4));c=this.Ha.clone();c.left=0;c.top=0;c=this.margin().Ve(c);W(this,64)&&(d=this.cs(),X(d),d.R(c),this.enabled()&&d.A(this.j),d.O(!1),d.I(),U(this,64));c=this.padding().Ve(c);W(this,128)&&(d=this.title(),X(d),d.R(c),this.enabled()&&d.A(this.j),d.O(!1),d.I(),U(this,128));c=this.lb?this.lb.pb():c;W(this,256)&&(d=this.Rq(),X(d),d.R(c),this.enabled()&&d.A(this.j),d.O(!1),d.I(),U(this,256));c=this.ma?this.ma.pb():c;W(this,512)&&(d=this.Mi(),X(d),d.R(c),this.enabled()&&d.A(this.j),d.O(!1),d.I(),U(this,512));c=Iz(this.Mi())?this.Mi().pb():c;d=Iz(this.Mi())?this.Mi().pl()-1:0;if(null!=this.b){var f=e=0,k=this.B[d],l;if(k)switch(this.F){case"horizontal":for(h=0;h<k.length;h++)l=k[h],X(l).R(c).x(e).y(f).enabled(!0).O(!1).I(),e+=k[h].ng()+this.w;break;case"vertical":for(h=0;h<k.length;h++)l=k[h],X(l).R(c).x(e).y(f).enabled(!0).O(!1).I(),f+=k[h].Wg()+this.w}}this.da=d;a&&b.gd();R(this,this.AL,this);return this};g.dn=function(){return vr(this.sa)||vr(this.Ra)||null===this.sa||null===this.Ra};g.AL=function(){ds(this.I,this)};g.ZC=function(){T(this,4,9)};g.ee=function(a){a=KA.v.ee.call(this,a);var b=tr(a.domTarget),b=I(b&&b.index);isNaN(b)||(a.itemIndex=b);return a};g.CO=function(a){var b=NA(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&A(b.Al)&&b.Al(c,a),c.Sa=!0,ox(c,!0),gx(c,!0),nx(c,!0),a&&LA(this,a))}};g.BO=function(a){var b=NA(this,a);b&&this.dispatchEvent(b)&&a&&LA(this,a)};g.zL=function(a){var b=NA(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&A(b.zl)&&b.zl(c,a),c.Sa=!1,ox(c,!1),gx(c,!1),nx(c,!1),this.rb().Vd())}};g.yL=function(a){if(a.button==sl){var b=NA(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&b&&A(b.wn)&&b.wn.call(b,c,a)}}};g.Me=function(a){(a=NA(this,a))&&this.dispatchEvent(a)};function NA(a,b){var c=I(b.itemIndex);if(isNaN(c))return null;var d=b.type;switch(d){case"mouseout":d="legenditemmouseout";break;case"mouseover":d="legenditemmouseover";break;case"mousemove":d="legenditemmousemove";break;case"mousedown":d="legenditemmousedown";break;case"mouseup":d="legenditemmouseup";break;case"click":d="legenditemclick";break;case"dblclick":d="legenditemdblclick";break;default:return null}var c=a.J?a.b.length-1-c:c,e=null,f=NaN,h=a.b[c];if(h&&a.D)for(var k=0;k<a.D.length;k++){var l=a.D[k];if(D(l)==h.Zz()&&A(l.jk)&&l.jk(a.ua)){e=l;f=h.qg();break}}return{type:d,itemIndex:c,itemSource:e,itemIndexInSource:f,target:a,originalEvent:b}}
g.o=function(){var a=KA.v.o.call(this);a.margin=this.margin().o();a.padding=this.padding().o();a.background=this.cs().o();a.title=this.title().o();a.titleFormatter=this.$w();a.titleSeparator=this.Rq().o();a.paginator=this.Mi().o();a.tooltip=this.rb().o();a.itemsLayout=this.Yy();a.itemsSpacing=this.$y();a.itemsSourceMode=this.Fg();a.inverted=this.bc();m(this.items())&&(a.items=this.items());a.iconTextSpacing=this.Zw();a.iconSize=this.Yw();a.width=this.width();a.height=this.height();a.position=this.position();a.align=this.Ww();a.hoverCursor=this.Xw();return a};g.K=function(a){KA.v.K.call(this,a);this.margin(a.margin);this.padding(a.padding);this.cs(a.background);this.title(a.title);this.$w(a.titleFormatter);this.Rq(a.titleSeparator);this.Mi(a.paginator);this.rb(a.tooltip);this.Yy(a.itemsLayout);this.$y(a.itemsSpacing);this.bc(a.inverted);this.Fg(a.itemsSourceMode);this.items(a.items);this.DF(a.itemsTextFormatter);this.Xy(a.itemsFormatter);this.Zw(a.iconTextSpacing);this.Yw(a.iconSize);this.width(a.width);this.height(a.height);this.position(a.position);this.Ww(a.align);this.Xw(a.hoverCursor)};KA.prototype.itemsLayout=KA.prototype.Yy;KA.prototype.itemsSpacing=KA.prototype.$y;KA.prototype.items=KA.prototype.items;KA.prototype.itemsFormatter=KA.prototype.Xy;KA.prototype.itemsTextFormatter=KA.prototype.DF;KA.prototype.itemsSourceMode=KA.prototype.Fg;KA.prototype.inverted=KA.prototype.bc;KA.prototype.hoverCursor=KA.prototype.Xw;KA.prototype.iconTextSpacing=KA.prototype.Zw;KA.prototype.iconSize=KA.prototype.Yw;KA.prototype.margin=KA.prototype.margin;KA.prototype.padding=KA.prototype.padding;KA.prototype.background=KA.prototype.cs;KA.prototype.title=KA.prototype.title;KA.prototype.titleFormatter=KA.prototype.$w;KA.prototype.titleSeparator=KA.prototype.Rq;KA.prototype.paginator=KA.prototype.Mi;KA.prototype.tooltip=KA.prototype.rb;KA.prototype.width=KA.prototype.width;KA.prototype.height=KA.prototype.height;KA.prototype.position=KA.prototype.position;KA.prototype.align=KA.prototype.Ww;KA.prototype.getRemainingBounds=KA.prototype.pb;function OA(){X(this);Z.call(this);this.Pa=this.lb=this.zc=this.Bh=this.cb=this.h=null;this.Cf=[];this.gi=!0;this.Ub=this.Ri=this.qc=null;this.Qi=!1;this.hd=this.zd=0;this.L={};T(this,4294967295);this.O(!1)}G(OA,by);g=OA.prototype;g.ia=by.prototype.ia;g.$=by.prototype.$|2528;g.Wy=!1;g.Ms=function(a){return m(a)?(this.xh?mf(this.xh,a):this.xh=kf(a),this):this.xh||{}};g.margin=function(a,b,c,d){this.zc||(this.zc=new wu,R(this.zc,this.yJ,this),L(this,this.zc));return m(a)?(this.zc.C.apply(this.zc,arguments),this):this.zc};g.yJ=function(a){Y(a,2)&&T(this,4,9)};g.padding=function(a,b,c,d){this.Pa||(this.Pa=new xu,R(this.Pa,this.CJ,this),L(this,this.Pa));return m(a)?(this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.CJ=function(a){Y(a,2)&&T(this,4,9)};g.lm=function(a){this.cb||(this.cb=new cz,R(this.cb,this.xJ,this),L(this,this.cb));return m(a)?(this.cb.C(a),this):this.cb};g.xJ=function(a){Y(a,1)&&T(this,64,1)};g.title=function(a){this.lb||(this.lb=new hA,this.lb.La(this),R(this.lb,this.BJ,this),L(this,this.lb));return m(a)?(this.lb.C(a),this):this.lb};g.BJ=function(a){var b=0,c=0;Y(a,1)&&(b|=160,c|=1);Y(a,8)&&(b|=4,c|=8);T(this,b,c)};g.label=function(a,b){var c,d;y(a)||u(a)&&!isNaN(+a)?(c=+a,d=b):(c=0,d=a);var e=this.Cf[c];e||(e=this.XD(),e.La(this),e.C(this.Ms()),this.Cf[c]=e,L(this,e),R(e,this.AJ,this),T(this,256,1));return m(d)?(e.C(d),this):e};g.AJ=function(){T(this,256,1)};g.XD=function(){return new xz};g.bb=ba;g.$b=function(a){this.bb();return this.L[a]};g.rb=function(a){if(!this.Mb){var b=new tA;L(this,b);m(this)&&(b.h=this);this.pa("pointshover",this.tQ,!0);this.Mb=b}return m(a)?(this.Mb.C(a),this):this.Mb};g.tQ=function(a){if(!a.vy){var b=[];Mf(a.seriesStatus,function(c){0==c.points.length?("float"==this.Mb.Ll()&&this.Ec("mousemove",this.cH),this.Mb.Vd(!1,a)):c.series.enabled()&&b.push(c)},this);if(0!=b.length)if("float"==this.Mb.Ll()&&this.pa("mousemove",this.cH),this.Dc().yb()==$a){var c=[];if("single"==this.Mb.rj())c=a.seriesStatus;else{var d=a.seriesStatus[0].points[0];m(d.index)&&(d=d.index);m(this.sd())&&(c=Of(this.sd(),function(a){a.G().select(d);return{series:a,points:[d]}}));c=Nf(c,function(a){a=a.series.G();return!zr(a.get("value"))})}this.Mb.show(c,a.originalEvent.clientX,a.originalEvent.clientY,a.seriesStatus[0].series,this.zk())}else{var e=b[0];b[0].series.G().select(b[0].nearestPointToCursor.index);Mf(b,function(a){e.nearestPointToCursor.distance>a.nearestPointToCursor.distance&&(a.series.G().select(a.nearestPointToCursor.index),e=a)});"single"==this.Mb.rj()?this.Mb.show([e],a.originalEvent.clientX,a.originalEvent.clientY,e.series,this.zk()):this.Mb.show(b,a.originalEvent.clientX,a.originalEvent.clientY,e.series,this.zk())}}};g.zk=function(){return!1};g.cH=function(a){xA(this.Mb,a.clientX,a.clientY)};g.contextMenu=function(a){!this.Gb&&(this.Gb=aa.anychart.ui.contextMenu(!!B(a)&&a.fromTheme))&&(L(this,this.Gb),this.Gb.itemsProvider(this.lN));return m(a)?(this.Gb&&this.Gb.setup(a),this):this.Gb};g.lN=function(a){var b=a.event.target.vh,c=tr(a.event.domTarget),b=B(c)&&m(c.Y)&&c.Y.seriesType&&m(c.index)||b&&b.seriesType,c=Dq(PA);return a.chart.aA(Dq(c),a,b)};g.aA=function(a){return a};g.dO=function(){var a=[],b,c,d,e,f=this.sd();for(d=0;d<f.length;d++)if((c=f[d])&&c.state)for(b=jb(c.state,Ha),e=0;e<b.length;e++)a.push(c.vd(b[e]));return a};var PA=[{text:"Save chart as...",iconClass:"fa fa-floppy-o",subMenu:[{text:".png",iconClass:"fa fa-file-image-o",eventType:"anychart.saveAsPng",action:function(a){a.chart.pk()}},{text:".jpg",iconClass:"fa fa-file-image-o",eventType:"anychart.saveAsJpg",action:function(a){a.chart.mk()}},{text:".pdf",iconClass:"fa fa-file-pdf-o",eventType:"anychart.saveAsPdf",action:function(a){a.chart.nk()}},{text:".svg",iconClass:"fa fa-file-code-o",eventType:"anychart.saveAsSvg",action:function(a){a.chart.qk()}}]},{text:"Save data as...",iconClass:"fa fa-floppy-o",subMenu:[{text:".csv",iconClass:"fa fa-file-excel-o",eventType:"anychart.saveAsCsv",action:function(a){a.chart.mG()}},{text:".xslx",iconClass:"fa fa-file-excel-o",eventType:"anychart.saveAsXlsx",action:function(a){a.chart.nG()}}]},{text:"Print",iconClass:"fa fa-print",eventType:"anychart.print",action:function(a){a.chart.print()}},null,{text:"AnyChart "+pf.apply(null,["v%s.%s.%s"].concat(["7","11","0","1136"])),href:"http://anychart.com"}];g=OA.prototype;g.As=function(a){a=this.margin().Ve(a).round();var b=this.lm();W(this,68)&&(X(b),b.A()||b.A(this.h),b.R(a),b.O(!1),b.I(),U(this,64));a=b.enabled()?b.pb():a;a=this.padding().Ve(a);b=this.title();W(this,132)&&(X(b),b.A()||b.A(this.h),b.R(a),b.O(!1),b.I(),U(this,128));return(b.enabled()?b.pb():a).clone().round()};g.AG=function(a,b){a.R(b)};g.Zl=function(a,b){this.qc||(this.qc=new iu,R(this.qc,this.uP,this));return m(a)?(this.qc.C.apply(this.qc,arguments),this):this.qc};g.uP=function(){T(this,2048,1)};g.wE=ba;function QA(a){a.Ri||(a.Ri=new Zc(a));return a.Ri}g.Ye=function(a){this.Ub||(this.Ub=new eu(this),L(this,this.Ub),R(this.Ub,this.zJ,this));return m(a)?(this.Ub.C.apply(this.Ub,arguments),this):this.Ub};g.zJ=function(){T(this,32,1)};g.Rv=function(){this.Qi||(this.gi?R(this,this.ZB,this):et(this,this.ZB,this),this.Qi=!0);if(this.tb()){X(this);this.h||(this.h=oo(),wv(this,this.h),L(this,this.h));var a=this.A()?this.A().oa():null,b=a&&!a.Jc();b&&a.rd();this.Gb&&this.Gb.attach(this);W(this,8)&&(this.h.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.enabled()&&this.h.parent(this.A()),U(this,2));W(this,4)&&a&&(a.mB(a.Il,a.Hl),a.pa(Gj,this.Ez,!1,this));this.jl();var c=this.Cb();this.ak=this.As(c);this.Tg(this.ak);var d=this.lm(),e=d.fill();d.enabled()&&e&&"none"!=e||(this.Bh||(this.Bh=this.h.rect(),this.Bh.fill(xq).stroke(null)),this.Bh.Jg(this.ak));if(W(this,260)){d=0;for(e=this.Cf.length;d<e;d++){var f=this.Cf[d];f&&(X(f),!f.A()&&f.enabled()&&f.A(this.h),this.AG(f,c),f.O(!1),f.I())}U(this,256)}U(this,4);this.wE();U(this,2048);W(this,32)&&(this.Ye().ss(QA(this)),U(this,32));this.O(!1);b&&a.gd();setTimeout(na(this.dispatchEvent,this,{type:"chartdraw",chart:this}),0);this.mz()}};g.I=function(a){a?(this.Ij||(this.Ij=na(this.I,this)),setTimeout(this.Ij,0)):this.Rv();return this};g.jl=ba;g.Tg=ba;function RA(a,b){return m(b)?(a.gi!=b&&(a.gi=b,a.Qi=!1,T(a,4,9)),a):a.gi}g.Ez=function(){this.Nc().dn()&&T(this,-2049,9)};g.uj=function(){return this.ak};g.RO=function(a,b){var c;this.A()&&this.A().oa()&&this.A().oa().A()&&(c=xk(this.A().oa().A()));return c?{x:a+c.x,y:b+c.y}:{x:a,y:b}};g.jO=function(a,b){var c;this.A()&&this.A().oa()&&this.A().oa().A()&&(c=xk(this.A().oa().A()));return c?{x:a-c.x,y:b-c.y}:{x:a,y:b}};g.remove=function(){this.h&&this.h.parent(null)};g.ZB=function(){ds(this.I,this)};g.$B=function(a,b){var c=this.wc?{}:this.o();b||(c=$q(c,this.yy())||{});return a?th(c):c};g.aC=function(a,b){var c=this.wc?{}:this.o();b||(c=$q(c,this.yy())||{});return Nr(c,"",a)};function SA(a){switch(a.qa().toLowerCase()){case"map":return"map";case"ganttresource":case"ganttproject":return"gantt";case"circular":case"lineargauge":case"thermometergauge":case"tankgauge":case"ledgauge":return"gauge";default:return"chart"}}g.yy=function(){var a={};a[SA(this)]=Wq()[this.qa()];return a};g.o=function(){var a=OA.v.o.call(this);a.title=this.title().o();a.background=this.lm().o();a.margin=this.margin().o();a.padding=this.padding().o();a.a11y=this.Ye().o();for(var b=[],c=0;c<this.Cf.length;c++)b.push(this.Cf[c].o());0<b.length&&(a.chartLabels=b);a.bounds=this.Nc().o();a.animation=this.Zl().o();a.tooltip=this.rb().o();this.Gb&&(a.contextMenu=this.contextMenu().serialize());return a};g.K=function(a){OA.v.K.call(this,a);"defaultLabelSettings"in a&&this.Ms(a.defaultLabelSettings);this.title(a.title);this.lm(a.background);this.margin(a.margin);this.padding(a.padding);var b=a.chartLabels;if(r(b))for(var c=0;c<b.length;c++)this.label(c,b[c]);u(a.container)&&this.A(a.container);this.Nc(a.bounds);this.left(a.left);this.top(a.top);this.width(a.width);this.height(a.height);this.right(a.right);this.bottom(a.bottom);this.Zl(a.animation);this.rb(a.tooltip);this.Ye(a.a11y);m(a.contextMenu)&&this.contextMenu(a.contextMenu)};g.V=function(){Bd(this.qc,this.Ub);OA.v.V.call(this)};g.sf=function(a){Rc(8);return m(a)?this:null};g.nl=function(a){Rc(9);return m(a)?this:null};g.Ee=function(){return null};g.Lf=function(){return!1};g.Me=function(a){var b,c=tr(a.domTarget),d;a.target instanceof Tt||a.target instanceof tx?(d=a.target.vh,d.Lf&&d.Lf()&&(b=d),d=c):a.target instanceof KA?c&&(b=c.Y,d=c.index):(b=c&&c.Y,d=y(c.index)?c.index:a.pointIndex);b&&!b.wc&&b.enabled()&&A(b.$d)&&(m(a.pointIndex)||(a.pointIndex=r(d)?d[d.length-1]:d),(a=b.$d(a))&&b.dispatchEvent(a))};g.ee=function(a){var b=OA.v.ee.call(this,a),c=tr(b.relatedDomTarget);return(c=c&&c.Y)&&!c.wc&&c.enabled()?c.ee(a):b};g.Gs=function(a,b){for(var c=[],d=0,e=a.length;d<e;d++){var f=a[d],h;f.Wb?h={index:f.Wb.index,distance:f.Wb.Vc}:h={index:NaN,distance:NaN};c.push({series:f.Y,points:b?[]:f.zb?Zf(f.zb):[],nearestPointToCursor:h})}return c};g.lq=function(a,b,c){for(var d,e,f,h=Infinity,k=0,l=a.length;k<l;k++){var n=a[k];if(n.Wb){var p=n.Wb;h>p.Vc&&(d=n.Y,e=p.index,f=Tf(n.zb,p.index),h=p.Vc)}}a={index:e,series:d};a[b]=c?!f:f;return a};g.Df=function(a,b,c,d,e){for(var f=this.lq(c,a,d),h=[],k,l=0;l<c.length;l++){var n=c[l];k=n.Y;for(var p=0;p<n.zb.length;p++)h.push(k.vd(n.zb[p]))}k=f.series;a={type:"hovered"==a?"pointshover":"pointsselect",seriesStatus:this.Gs(c,d),currentPoint:f,actualTarget:b.target,target:this,originalEvent:b,point:k.vd(f.index),points:h};e&&(a.vy=!0);return a};g.vE=ba;g.$x=ba;g.om=function(a){var b,c,d;c=this.Dc();var e=tr(a.domTarget),f,h=!1;a.target instanceof KA||this.Cp(a.target)?e&&(e.Ab?(b=e.Ab.Y,f=e.Ab.zb,r(f)&&0==f.length&&(f=NaN)):(b=e.Y,f=e.index),h=!0):a.target instanceof Tt||a.target instanceof tx?(f=a.target.vh,f.Lf&&f.Lf()&&(b=f),f=e):(b=e&&e.Y,f=y(e&&e.index)?e.index:a.pointIndex);b&&!b.wc&&b.enabled()&&A(b.$d)?(e=b.$d(a),b.ei&&b.ei()&&y(e.pointIndex)&&(f=e.pointIndex),e&&(ur(b,a.relatedTarget)||b.dispatchEvent(e))&&c.yb()==$a&&(r(f)&&!Rf(f,function(a){return Ga(b.state,H,a)},this)||!Ga(b.state,H,f)&&!isNaN(f))&&(A(b.rf)&&b.rf(f,a),this.vE(f,b),e=jb(b.state,H),d=[],e.length&&d.push({Y:b,zb:e,Wb:{index:r(f)?f[0]:f,Vc:0}}),d.length&&(this.dispatchEvent(this.Df("hovered",a,d,!1,h)),this.Ia=d.length?d:null))):this.Ia&&(this.gc(),this.dispatchEvent(this.Df("hovered",a,this.Ia,!0)),this.Ia=null);if(c.yb()!=$a)if(f=this.Vh(a),e=!1,f&&f.length){b=this.sd();for(c=0;c<b.length;c++){var k=!1;for(d=0;d<f.length;d++)k=k||b[c]==f[d].Y;!k&&jb(b[c].state,H).length&&(f.push({Y:b[c],zb:[]}),b[c].gc(),e=!0)}c=0;for(d=f.length;c<d;c++){k=f[c];b=k.Y;var l=k.zb,n=jb(b.state,H),e=e||!hg(l,n);lb(b.state.Cc(),H)||b.rf(k.zb)}e&&(this.dispatchEvent(this.Df("hovered",a,f,!1,h)),this.Ia=f.length?f:null)}else a.target instanceof KA||(this.gc(),this.Ia&&this.dispatchEvent(this.Df("hovered",a,this.Ia,!0)),this.Ia=null)};g.Sv=function(a){var b=this.Dc().yb(),c=tr(a.domTarget),d=!1,e,f;a.target instanceof Tt||a.target instanceof tx?(f=a.target.vh,f.Lf&&f.Lf()&&(e=f),f=c):a.target instanceof KA||this.Cp(a.target)?(c&&(c.Ab?(e=c.Ab.Y,f=c.Ab.zb,r(f)&&0==f.length&&(f=NaN)):(e=c.Y,f=c.index)),d=!0):(e=c&&c.Y,f=y(c.index)?c.index:a.pointIndex);if(e&&!e.wc&&e.enabled()&&A(e.$d)){var c=e.$d(a),h=tr(a.relatedDomTarget),h=I(B(h)?h.index:h);ur(e,a.relatedTarget)&&h==f||!e.dispatchEvent(c)||b!=$a||isNaN(f)&&!r(f)||(e.gc(),this.$x(),this.dispatchEvent(this.Df("hovered",a,[{Y:e,zb:[],Wb:{index:r(f)?f[0]:f,Vc:0}}],!1,d)))}b==$a||ur(this,a.relatedTarget)||(this.gc(),this.$x(),this.Ia&&this.dispatchEvent(this.Df("hovered",a,this.Ia,!0,d)),this.Ia=null)};g.Cp=function(){return!1};g.nm=function(a){this.oz(a)};g.oz=function(a){var b=this.Dc(),c,d,e,f,h,k=a.ctrlKey||a.metaKey,l;d=tr(a.domTarget);var n,p;a.target instanceof KA||this.Cp(a.target)?d&&(d.Ab?n=d.Ab.Y:n=d.Y):a.target instanceof Tt||a.target instanceof tx?(d=a.target.vh,d.Lf&&d.Lf()&&(n=d)):n=d&&d.Y;if(n&&!n.wc&&n.enabled()&&A(n.$d)){var q=n.$d(a);if(q&&(ur(n,a.relatedTarget)||n.dispatchEvent(q))&&(c=q.pointIndex,b.yb()==$a)){if("none"==b.dc()||"none"==n.dc())return;f=jb(n.state,Ha);l=1==f.length&&f[0]==c;if(!k&&!a.shiftKey&&l)return;(f=(k||a.shiftKey)&&lb(n.state.Cc(),Ha))||!k&&!a.shiftKey||(k||a.shiftKey)&&"multiSelect"!=b.dc()?(this.hc(),this.ta&&this.dispatchEvent(this.Df("selected",a,this.ta,!0))):"singleSelect"==n.dc()&&(this.ta&&this.dispatchEvent(this.Df("selected",a,this.ta,!0)),n.hc(),r(c)&&(c=c[c.length-1]));A(n.vf)&&n.vf(c,a);e=this.sd();d=[];for(h=0;h<e.length;h++)if(p=e[h])f=jb(p.state,Ha),f.length&&d.push({Y:p,zb:f,Wb:{index:c,Vc:0}});d.length||d.push({Y:n,zb:[],Wb:{index:c,Vc:0}});this.dispatchEvent(this.Df("selected",q,d));l?this.ta=null:this.ta=d}}else b.yb()==$a&&(this.hc(),this.ta&&this.dispatchEvent(this.Df("selected",a,this.ta,!0)),this.ta=null);if(b.yb()!=$a&&"none"!=b.dc())if((c=this.Vh(a))&&c.length){q=!1;d=[];var t,v;if("singleSelect"==b.dc()){var w;h=0;for(e=c.length;h<e;h++)v=c[h],n=v.Y,"none"!=n.dc()&&(w||(w=v),w.Wb.Vc>v.Wb.Vc&&(w=v));n=w.Y;f=jb(n.state,Ha);l=1==f.length&&f[0]==w.Wb.index;q=!l||l&&(k||a.shiftKey);f=(k||a.shiftKey)&&lb(n.state.Cc(),Ha);!f&&(k||a.shiftKey)||l||n.hc();n.vf(w.Wb.index,a);f=jb(n.state,Ha);if(f.length)for(d.push({Y:n,zb:[w.Wb.index],Wb:w.Wb}),e=this.sd(),h=0;h<e.length;h++)n=e[h],"none"!=n.dc()&&((t=n==d[0].Y)||n.hc());else d.push({Y:n,zb:f,Wb:v.Wb})}else{w=[];if(!k&&!a.shiftKey)for(e=this.sd(),h=0;h<e.length;h++)if(p=e[h],"none"!=p.dc()){t=!1;for(b=0;b<c.length;b++)t=t||p==c[b].Y;!t&&jb(p.state,Ha).length&&(w.push({Y:p,zb:[]}),p.hc(),q=!0)}h=0;for(e=c.length;h<e;h++)if(v=c[h],n=v.Y,"none"!=n.dc()){var x;"singleSelect"==n.dc()?x=[v.Wb.index]:x=v.zb;f=jb(n.state,Ha);if(a.shiftKey){t=!0;for(b=0;b<x.length;b++)t=t&&Tf(f,x[b]);l=t}else k||(l=hg(x,f));q=q||!l;l||(((f=(k||a.shiftKey)&&lb(n.state.Cc(),Ha))||!k&&!a.shiftKey||"singleSelect"==n.dc())&&n.hc(),n.vf(x,a));f=jb(n.state,Ha);f.length?d.push({Y:n,zb:f,Wb:v.Wb}):w.push({Y:n,zb:f,Wb:v.Wb})}for(h=0;h<w.length;h++)d.push(w[h])}q&&(this.dispatchEvent(this.Df("selected",a,d)),this.ta=d.length?d:null)}else this.hc(),this.ta&&this.dispatchEvent(this.Df("selected",a,this.ta,!0)),this.ta=null};g.hc=function(a){var b,c,d=this.sd();b=0;for(c=d.length;b<c;b++)d[b]&&d[b].hc(a)};g.gc=function(a){var b,c,d=this.sd();b=0;for(c=d.length;b<c;b++)d[b]&&d[b].gc(a)};g.Dc=function(a){this.zh||(this.zh=new uu(this),R(this.zh,this.mz,this));return m(a)?(B(a)?this.zh.C(a):this.zh.yb(a),this):this.zh};g.mz=function(){for(var a=this.sd(),b=a.length;b--;)a[b]&&a[b].yb(this.Dc().yb())};function TA(a){if(-1!=a.indexOf('"'))throw Rc(100),Error("Double quotes in separator are not allowed");}
function UA(a,b,c){var d,e,f=a.length;for(d=0;d<f;d++)m(e=a[d])&&(u(e)||(e=String(e)),-1!=e.indexOf(b)?(e=e.split('"').join('""'),e='"'+e+'"'):-1!=e.indexOf(c)&&(e=e.split('"').join('""'),e='"'+e+'"'),a[d]=e)}
g.Sl=function(a,b){a=Bc(a);var c="raw"==a,d=this.qa(),e="scatter"==d||"polar"==d,f=B(b)?b:{},h=f.rowsSeparator||"\n";TA(h);var k=f.columnsSeparator||",";TA(k);var f=f.ignoreFirstRow||!1,l="circular"==d|"linearGauge"==d|"bullet"==d|"thermometerGauge"==d|"tankGauge"==d|"ledGauge"==d?[this]:this.sd(),n=l.length,p,q,t,v,w,x=null,d={},z=[],C=0;for(q=0;q<n;q++)for(p=l[q],p=p.data(),p=p.tl(),t=0,v=p.length;t<v;t++)x=p[t],w=D(x),w in d||(d[w]=x,C++);p=1<C;var F,C=0;if(c){c={};p&&(c["#"]=C++);for(w in d){var J=x=d[w];q=c;e=C;z=void 0;C=0;for(l=J.Za();C<l;C++)if(n=J.Lc(C),r(n))for(z=0;z<n.length;z++)z in q||(q[z]=e++);else if(B(n))for(z in n)z in q||(q[z]=e++);else"value"in q||(q.value=e++);C=e}l=0;e=[];if(!f){z=[];for(F in c)z[c[F]]=F;e.push(z.join(k))}for(w in d){var x=d[w],O,S;q=0;for(v=x.Za();q<v;q++){F=Array(C);J=x.Lc(q);if(r(J))for(O=0;O<J.length;O++)S=c[O],t=B(J[O])?Se(J[O]):J[O],F[S]=t;else if(B(J))for(O in J)S=c[O],t=B(J[O])?Se(J[O]):J[O],F[S]=t;else S=c.value,F[S]=J;p&&(F[0]=l);UA(F,k,h);e.push(F.join(k))}l++}}else{c={};e||(c.x=C++);w={};for(q=0;q<n;q++)for(p=l[q],d=1<n?A(p.id)?p.id()+"_":"series_"+q+"_":"",p=p.data(),v=p.G();v.advance();)if(J=v.S(),x=e?J:v.get("x"),w[x]||(w[x]=[],e||(w[x][0]=x)),J=p.Lc(J),r(J))for(O=0;O<J.length;O++)t=d+O,t in c||(c[t]=C++),S=c[t],t=B(J[O])?Se(J[O]):J[O],w[x][S]=t;else if(B(J))for(O in J)t=d+O,t in c||(c[t]=C++),S=c[t],t=B(J[O])?Se(J[O]):J[O],w[x][S]=t;else t=d+"value",t in c||(c[t]=C++),S=c[t],w[x][S]=J;e=[];for(F in c)z[c[F]]=F;f||e.push(z.join(k));for(J in w)UA(w[J],k,h),e.push(w[J].join(k))}return e.join(h)};g.ZG=function(a,b){var c=this.Sl();return(c=Yr(c,a))?b?bj(c):c:null};g.YG=function(a,b){var c=this.ZG(a);return c?(qk(c,{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px"}),b?bj(c):c):c};g.iQ=function(a,b){var c=this.A()?this.A().oa():null;if(c){var d=this.aC(!1,a),e={};e["file-name"]=b||vv();mm(Hp(c),Lp+"/xml",d,"xml",e)}};g.eQ=function(a,b){var c=this.A()?this.A().oa():null;if(c){var d=this.$B(!0,a),e={};e["file-name"]=b||vv();mm(Hp(c),Lp+"/json",d,"json",e)}};g.mG=function(a,b,c){var d=this.A()?this.A().oa():null;d&&(a=this.Sl(a,b),b={},b["file-name"]=c||vv(),mm(Hp(d),Lp+"/csv",a,"csv",b))};g.nG=function(a,b){var c=this.A()?this.A().oa():null;if(c){var d=this.Sl(a,{rowsSeparator:"\n",columnsSeparator:",",ignoreFirstRow:!1}),e={};e["file-name"]=b||vv();mm(Hp(c),Lp+"/xlsx",d,"xlsx",e)}};OA.prototype.a11y=OA.prototype.Ye;OA.prototype.animation=OA.prototype.Zl;OA.prototype.title=OA.prototype.title;OA.prototype.background=OA.prototype.lm;OA.prototype.margin=OA.prototype.margin;OA.prototype.padding=OA.prototype.padding;OA.prototype.label=OA.prototype.label;OA.prototype.container=OA.prototype.A;OA.prototype.contextMenu=OA.prototype.contextMenu;OA.prototype.draw=OA.prototype.I;OA.prototype.toJson=OA.prototype.$B;OA.prototype.toXml=OA.prototype.aC;OA.prototype.legend=OA.prototype.sf;OA.prototype.credits=OA.prototype.nl;OA.prototype.tooltip=OA.prototype.rb;OA.prototype.saveAsPng=OA.prototype.pk;OA.prototype.saveAsJpg=OA.prototype.mk;OA.prototype.saveAsPdf=OA.prototype.nk;OA.prototype.saveAsSvg=OA.prototype.qk;OA.prototype.toSvg=OA.prototype.Vv;OA.prototype.saveAsCsv=OA.prototype.mG;OA.prototype.saveAsXlsx=OA.prototype.nG;OA.prototype.saveAsXml=OA.prototype.iQ;OA.prototype.saveAsJson=OA.prototype.eQ;OA.prototype.toCsv=OA.prototype.Sl;OA.prototype.toA11yTable=OA.prototype.YG;OA.prototype.toHtmlTable=OA.prototype.ZG;OA.prototype.localToGlobal=OA.prototype.RO;OA.prototype.globalToLocal=OA.prototype.jO;OA.prototype.getStat=OA.prototype.$b;OA.prototype.getSelectedPoints=OA.prototype.dO;function VA(){this.Mf=null;OA.call(this)}G(VA,OA);g=VA.prototype;g.ia=OA.prototype.ia;g.$=OA.prototype.$|1024;g.nl=function(a){this.Mf||(this.Mf=new Yw,L(this,this.Mf),R(this.Mf,this.xP,this));return m(a)?(this.Mf.C(a),this):this.Mf};g.xP=function(a){var b=0;Y(a,1)&&(b|=1024);Y(a,8)&&(b|=4);T(this,b,1)};g.As=function(a){a=this.margin().Ve(a);var b=this.lm();W(this,68)&&(X(b),b.A()||b.A(this.h),b.R(a),b.O(!1),b.I(),U(this,64));a=b.enabled()?b.pb():a;b=this.nl();W(this,1028)&&(X(b),b.A()||b.A(this.A()),b.R(a),b.O(!1),b.I(),U(this,1024));a=this.nl().pb();a=this.padding().Ve(a);b=this.title();W(this,132)&&(X(b),b.A()||b.A(this.h),b.R(a),b.O(!1),b.I(),U(this,128));return(b.enabled()?b.pb():a).clone()};g.o=function(){var a=VA.v.o.call(this);a.credits=this.nl().o();return a};g.K=function(a){VA.v.K.call(this,a);this.nl(a.credits)};VA.prototype.credits=VA.prototype.nl;function WA(){this.de=null;VA.call(this);xv(this,this,this.om,this.Sv,null,this.om,null,this.nm)}G(WA,VA);g=WA.prototype;g.ia=OA.prototype.ia;g.$=VA.prototype.$|512;g.sf=function(a){this.de||(this.de=new KA,L(this,this.de),R(this.de,this.BP,this),this.de.La(this));return m(a)?(this.de.C(a),this):this.de};g.BP=function(a){var b=0,c=0;Y(a,1)&&(b|=512,c|=1);Y(a,8)&&(b|=4,c|=8);T(this,b,c)};g.jk=function(a){return"default"==a};g.wn=function(a){a=a.qg();if(a=this.Ee(a))a.enabled(!a.enabled()),a.enabled()?a.Vo():a.gc()};g.Al=function(a){var b=a.qg();(!a||null!=b||isNaN(b))&&(a=this.Ee(b))&&a.Vo()};g.zl=function(a){var b=a.qg();(!a||null!=b||isNaN(b))&&(a=this.Ee(b))&&a.gc()};g.As=function(a){a=WA.v.As.call(this,a);var b=this.sf();if(W(this,516)){X(b);!b.A()&&b.enabled()&&b.A(this.h);b.R(a);b.Zy()||b.Zy(this);b.O(!1);T(b,16);W(this,512)&&T(b,1024);b.I();var c=b.pb();di(this.Bk,c)||(this.Bk=c,T(this,4));U(this,512)}a=b.enabled()?b.pb():a;return a.clone()};g.o=function(){var a=WA.v.o.call(this);a.legend=this.sf().o();a.interactivity=this.Dc().o();return a};g.K=function(a){WA.v.K.call(this,a);this.sf(a.legend);this.Dc(a.interactivity)};WA.prototype.legend=WA.prototype.sf;WA.prototype.interactivity=WA.prototype.Dc;var XA=/^([-]?\d+\.?\d*)(.*?)?$/;aa.anychart=aa.anychart||{};aa.anychart.format=aa.anychart.format||{};aa.anychart.format.locales={"default":{dateTimeLocale:{eras:["BC","AD"],erasNames:["Before Christ","Anno Domini"],narrowMonths:"JFMAMJJASOND".split(""),standaloneNarrowMonths:"JFMAMJJASOND".split(""),months:"January February March April May June July August September October November December".split(" "),standaloneMonths:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),standaloneShortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),standaloneWeekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),shortWeekdays:"Sun Mon Tue Wed Thu Fri Sat".split(" "),standaloneShortWeekdays:"Sun Mon Tue Wed Thu Fri Sat".split(" "),narrowWeekdays:"SMTWTFS".split(""),standaloneNarrowWeekdays:"SMTWTFS".split(""),shortQuarters:["Q1","Q2","Q3","Q4"],quarters:["1st quarter","2nd quarter","3rd quarter","4th quarter"],ampms:["AM","PM"],dateFormats:["EEEE, y MMMM dd","y MMMM d","y MMM d","yyyy-MM-dd"],timeFormats:["HH:mm:ss v","HH:mm:ss z","HH:mm:ss","HH:mm"],dateTimeFormats:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],firstDayOfWeek:0,weekendRange:[5,6],firstWeekCutOfDay:3},numberLocale:{decimalsCount:1,decimalPoint:".",groupsSeparator:"",scale:!1,zeroFillDecimals:!1,scaleSuffixSeparator:"",useBracketsForNegative:!1}}};var YA="default",ZA=null,$A="default",aB="yyyy.MM.dd",bB=0;function cB(a){var b=aa.anychart.format.locales["default"].dateTimeLocale;a=a||b;return{Su:a.eras||b.eras,xA:a.erasNames||b.erasNames,yA:a.narrowMonths||b.narrowMonths,zA:a.standaloneNarrowMonths||b.standaloneNarrowMonths,Vu:a.months||b.months,$u:a.standaloneMonths||b.standaloneMonths,Xu:a.shortMonths||b.shortMonths,av:a.standaloneShortMonths||b.standaloneShortMonths,bv:a.weekdays||b.weekdays,CA:a.standaloneWeekdays||b.standaloneWeekdays,Zu:a.shortWeekdays||b.shortWeekdays,BA:a.standaloneShortWeekdays||b.standaloneShortWeekdays,iH:a.narrowWeekdays||b.narrowWeekdays,AA:a.standaloneNarrowWeekdays||b.standaloneNarrowWeekdays,Yu:a.shortQuarters||b.shortQuarters,Wu:a.quarters||b.quarters,Ou:a.ampms||b.ampms,bo:a.dateFormats||b.dateFormats,jo:a.timeFormats||b.timeFormats,Ru:a.dateTimeFormats||b.dateTimeFormats,Tu:m(a.firstDayOfWeek)?a.firstDayOfWeek:b.firstDayOfWeek,jH:a.weekendRange||b.weekendRange,Uu:m(a.firstWeekCutOfDay)?a.firstWeekCutOfDay:b.firstWeekCutOfDay}}
function dB(a){var b=aa.anychart.format.locales;u(a)&&(a=(a=b[a]||b["default"])&&a.numberLocale?a.numberLocale:b["default"].numberLocale);return B(a)?a:null}var eB={},fB={},gB={};function hB(a,b,c,d){d=d||$A;if(u(d)){var e=aa.anychart.format.locales;d=(d=e[d]||e["default"])&&d.dateTimeLocale}var e=D(d),f;b=b||aB;e=b+e;e in eB?f=eB[e]:f=eB[e]=new bh(b,cB(d));var h;c=c||bB;c in gB?h=gB[c]:h=gB[c]=Zg(c);a=y(a)?new Date(a):a;return gh(f,a,h)}
function iB(a,b,c,d){var e=aa.anychart.format.locales;if(B(a)&&"function"==typeof a.getFullYear)return a;if(y(a))return isNaN(a)?(K(406,void 0,[a]),null):new Date(a);if(u(a)){if(ZA){d=d||YA;u(d)&&(d=(d=e[d]||e["default"])&&d.dateTimeLocale);var e=D(d),f;b=b||ZA;e=b+e;e in eB?f=fB[e]:f=fB[e]=new kh(b,cB(d));B(c)&&"function"==typeof c.getFullYear||(c=new Date,c.setTime(Date.UTC(c.getFullYear(),c.getUTCMonth())));d=a.length;a:{var h=f;b=c;e=new sh;f=[0];for(var k=-1,l=0,n=0,p=0;p<h.a.length;p++)if(0<h.a[p].count)if(0>k&&h.a[p].Xl&&(k=p,n=l=0),0<=k){var q=h.a[p].count;if(p==k&&(q-=n,n++,0==q)){f=0;break a}ph(h,a,f,h.a[p],q,e)||(p=k-1,f[0]=l)}else{if(k=-1,!ph(h,a,f,h.a[p],0,e)){f=0;break a}}else{k=-1;if(" "==h.a[p].text.charAt(0)){if(q=f[0],oh(a,f),f[0]>q)continue}else if(a.indexOf(h.a[p].text,f[0])==f[0]){f[0]+=h.a[p].text.length;continue}f=0;break a}b:{void 0!=e.era&&void 0!=e.year&&0==e.era&&0<e.year&&(e.year=-(e.year-1));void 0!=e.year&&b.setFullYear(e.year);h=b.getDate();b.setDate(1);void 0!=e.month&&b.setMonth(e.month);void 0!=e.day?b.setDate(e.day):(k=Cg(b.getFullYear(),b.getMonth()),b.setDate(h>k?k:h));A(b.setHours)&&(void 0==e.a&&(e.a=b.getHours()),void 0!=e.g&&0<e.g&&12>e.a&&(e.a+=12),b.setHours(e.a));A(b.setMinutes)&&void 0!=e.h&&b.setMinutes(e.h);A(b.setSeconds)&&void 0!=e.j&&b.setSeconds(e.j);A(b.setMilliseconds)&&void 0!=e.m&&b.setMilliseconds(e.m);void 0!=e.b&&b.setTime(b.getTime()+6E4*(e.b-b.getTimezoneOffset()));e.N&&(h=new Date,h.setFullYear(h.getFullYear()-80),b.getTime()<h.getTime()&&b.setFullYear(h.getFullYear()+100));if(void 0!=e.c)if(void 0==e.day)e=(7+e.c-b.getDay())%7,3<e&&(e-=7),h=b.getMonth(),b.setDate(b.getDate()+e),b.getMonth()!=h&&b.setDate(b.getDate()+(0<e?-7:7));else if(e.c!=b.getDay()){b=!1;break b}b=!0}f=b?f[0]-0:0}if(d==f)return c;K(406,void 0,[a,f],!0);return null}c=+a;c=new Date(isNaN(c)?a:c);return isNaN(c.getTime())?(K(406,void 0,[a]),null):c}K(406,void 0,[a]);return null}var jB={factors:[1E15,1E12,1E9,1E6,1E3,1E3,1,.001,1E-6,1E-9],suffixes:"P T G M K k  m u n".split(" ")};function kB(a,b,c,d,e,f,h,k){var l=dB(b),n=dB($A);b=y(b)?b:l&&y(l.decimalsCount)?l.decimalsCount:n.decimalsCount;c=u(c)?c:l&&u(l.decimalPoint)?l.decimalPoint:n.decimalPoint;d=u(d)?d:l&&u(l.groupsSeparator)?l.groupsSeparator:n.groupsSeparator;e=B(e)||ia(e)?e:l&&(B(l.scale)||ia(l.scale))?l.scale:n.scale;f=ia(f)?f:l&&ia(l.zeroFillDecimals)?l.zeroFillDecimals:n.zeroFillDecimals;h=u(h)?h:l&&u(l.scaleSuffixSeparator)?l.scaleSuffixSeparator:n.scaleSuffixSeparator;k=ia(k)?k:l&&ia(l.useBracketsForNegative)?l.useBracketsForNegative:n.useBracketsForNegative;!0===e&&(e=jB);(l=0>a)&&(a=-a);n="";if(B(e)&&r(e.factors)&&r(e.suffixes)){var p=1,q=e.factors;e=e.suffixes;for(var t=Math.min(q.length,e.length),v=0;v<t;v++)if(p=q[v],a>=p||1>=p&&a>.1*p){n=e[v];break}n?n=h+n:p=1;a/=p}f=f?a.toFixed(b):xl(a,b).toString();a="";/(e+|e-)/.test(f)&&(b=f.split("e"),f=b[0],a="e"+b[1]);b=f.split(".");if(d){f=b[0];for(h=[];0<(e=f.substr(0,f.length-3)).length;)h.unshift(f.substr(-3)),f=e;f&&h.unshift(f);b[0]=h.join(d)}d=l?"-":"";c=b.join(c)+a+n;l&&k&&(c=["(",c,")"].join(""),d="");return d+c}E("anychart.format.subs",pf);E("anychart.format.dateTime",hB);E("anychart.format.parseDateTime",iB);E("anychart.format.number",kB);E("anychart.format.parseNumber",function(a,b){var c=dB(b),d=dB(YA),e=c&&y(c.decimalsCount)?c.decimalsCount:d.decimalsCount,f=c&&u(c.decimalPoint)?c.decimalPoint:d.decimalPoint,h=c&&u(c.groupsSeparator)?c.groupsSeparator:d.groupsSeparator,k=c&&(B(c.scale)||ia(c.scale))?c.scale:d.scale,l=c&&u(c.scaleSuffixSeparator)?c.scaleSuffixSeparator:d.scaleSuffixSeparator,d=c&&m(c.useBracketsForNegative)?!!c.useBracketsForNegative:!!d.useBracketsForNegative,c=1;if(u(a)&&(f=new RegExp(Df(f),"g"),d&&"("==a.charAt(0)&&")"==a.charAt(a.length-1)&&(c=-1,a=a.substring(1,a.length-1)),a=a.replace(f,"."),a=Cf(a,h),!0===k&&(k=jB),B(k)&&r(k.factors)&&r(k.suffixes))){a=Cf(a,l);l=a.match(XA);if(!l)return NaN;h=1;a=+l[1];if(l=l[2])for(var f=k.factors,k=k.suffixes,d=Math.min(f.length,k.length),n=0;n<d;n++)if(l==k[n]){h=f[n];break}a*=h}c*=+a;return isNaN(c)?c:xl(c,e)});E("anychart.format.inputLocale",function(a){m(a)&&(u(a)||B(a))&&(YA=a);return YA});E("anychart.format.outputLocale",function(a){m(a)&&(u(a)||B(a))&&($A=a);return $A});E("anychart.format.inputDateTimeFormat",function(a){m(a)&&(ZA=a);return ZA});E("anychart.format.outputDateTimeFormat",function(a){m(a)&&(aB=String(a));return aB});E("anychart.format.outputTimezone",function(a){m(a)&&(bB=I(a)||0);return bB});function gu(){this.a={}}ca(gu);function lB(a){function b(a){var b=[],c,d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d];if(d in l){var f=l[d];"number"==f&&(e=I(e));"boolean"==f&&(e=k[Ir(e).toLowerCase()],e="useNegativeSign"==d?!e:e);if("scale"==f){var h=Ir(e);if(h in k)e=k[h];else{var e={},h=h.split("|"),p=function(a,b){return 0!=b%2},f=Nf(h[0].split(/\(([ \w\+\-]*)\)/),p),h=Nf(h[1].split(/\(([ \w]*)\)/),p),f=Of(f,function(a){return+a}),q=f[0],p=[q];for(c=1;c<f.length;c++)q*=f[c],p.push(q);p.length!=h.length&&(f=Math.min(p.length,h.length),p.length=f,h.length=f);p.reverse();h.reverse();e.factors=p;e.suffixes=h}}}f=d;d in n&&n[d]&&(f=n[d],f!=d&&b.push(d));a[f]=e}for(c=b.length;c--;)delete a[b[c]]}function c(a,b,c){var d=c.getTokenValue(a);if(!m(d))return"";switch(c.getTokenType(a)){case"":return"";case"string":return String(d);case"datetime":return hB(d,b.dateTimeFormat,b.timeZone);case"number":return kB(d,b);case"percent":return xr(xl(100*d,2))}}function d(a){return a}function e(a,d){var e=C,f=[],k;for(k in e)if(e.hasOwnProperty(k)){var l=Ir(k);l!=k&&(e[l]=e[k],f.push(k))}for(k=f.length;k--;)delete e[f[k]];b(C);h.push(oa(c,a,d))}function f(a){h.push(oa(d,a))}for(var h=[],k={"true":!0,"false":!1},l={numDecimals:"number",decimalsCount:"number",useNegativeSign:"boolean",useBracketsForNegative:"boolean",leadingZeros:"number",trailingZeros:"boolean",zeroFillDecimals:"boolean",scale:"scale"},n={numDecimals:"decimalsCount",decimalSeparator:"decimalPoint",thousandsSeparator:"groupsSeparator",useNegativeSign:"useBracketsForNegative",trailingZeros:"zeroFillDecimals"},p=a.length,q=0,t,v="",w,x,z,C,F=!1,J=0;J<p;J++)switch(t=a.charAt(J),q){case 0:"{"==t?q=1:v+=t;break;case 1:"%"==t?(0<v.length&&f(v),v="%",q=2):(v+="{"+t,q=0);break;case 2:"}"==t?1<v.length?(w=v,v="",q=3):(v="{%}",q=0):v+=t;break;case 3:"{"==t?q=4:(e(w,null),v=t,q=0);break;case 4:"%"==t?(e(w,null),v="%",q=2):(x="{"+t,v=t,q=z="",C={},F="\\"==t,q=5);break;case 5:x+=t;F?(v+=t,F=!1):"\\"==t?F=!0:":"==t?(z=v,v="",q=6):"}"==t?(z=Ir(v),C[z]="",e(w,C),x=v=q=z="",q=0):v+=t;break;case 6:x+=t,F?(v+=t,F=!1):"\\"==t?F=!0:","==t?(q=v,C[z]=q,q=z=v="",q=5):"}"==t?(q=v,C[z]=q,e(w,C),x=v=q=z="",q=0):v+=t}switch(q){case 0:0<v.length&&f(v);break;case 1:f("{");break;case 2:f("{"+v);break;case 3:e(w,null);break;case 4:e(w,null);f("{");break;case 5:case 6:f(x)}return h}function fu(a,b){if(!a.a[b]){var c=lB(b);a.a[b]=function(a){return Of(c,function(b){return b(a)}).join("")}}return a.a[b]};function Tt(){X(this);Qw.call(this);this.j=this.cb=this.Pa=this.W=this.Ra=this.sa=this.ea=null;this.c={};this.X="background padding height width offsetY offsetX position anchor rotation textFormatter positionFormatter minFontSize maxFontSize fontSize fontWeight clip connectorStroke".split(" ");mB(this,"different");T(this,4294967295);this.O(!1)}G(Tt,Qw);g=Tt.prototype;g.ia=Qw.prototype.ia;g.$=Qw.prototype.$|960;g.enabled=function(a){return m(a)?(this.ea=a,null===a?Tt.v.enabled.call(this,!0):(null===this.ea&&a&&T(this,1,this.Dg()),Tt.v.enabled.call(this,a)),this):this.ea};g.Qw=function(a){this.cb||(this.cb=new cz,U(this.cb,4294967295),R(this.cb,this.uL,this));return m(a)?(this.c.background=!0,this.cb.C(a),this):this.cb};g.uL=function(a){Y(a,1)&&(this.c.background=!0,U(this.cb,4294967295),T(this,16,1))};g.padding=function(a,b,c,d){this.Pa||(this.Pa=new xu,R(this.Pa,this.vL,this));return m(a)?(this.c.padding=!0,this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.vL=function(a){Y(a,2)&&(this.c.padding=!0,T(this,4,9))};g.Fb=function(a){return m(a)?(this.ma=a,this.c.textFormatter=!0,T(this,20,9),this):this.ma};g.Gd=function(a){return m(a)?(this.Ia=a,this.c.positionFormatter=!0,T(this,4,9),this):this.Ia};g.position=function(a){return m(a)?(a=String(a),this.h!=a&&(this.h=a,this.c.position=!0,T(this,4,9)),this):this.h};g.anchor=function(a){return m(a)?(a=null===a?null:Yb(a),this.B!=a&&(this.B=a,this.c.anchor=!0,T(this,4,9)),this):this.B};g.offsetX=function(a){return m(a)?(this.D!=a&&(this.D=a,this.c.offsetX=!0,T(this,4,9)),this):this.D};g.offsetY=function(a){return m(a)?(this.F!=a&&(this.F=a,this.c.offsetY=!0,T(this,4,9)),this):this.F};g.Xd=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.w&&(this.w=f,this.c.connectorStroke=!0,T(this,512,1));return this}return this.w};g.rotation=function(a){return m(a)?(a=+a,this.Ta!=a&&(this.Ta=a,this.c.rotation=!0,T(this,4,9)),this):this.Ta};g.width=function(a){return m(a)?(this.sa!=a&&(this.sa=a,this.c.width=!0,T(this,4,9)),this):this.sa};g.height=function(a){return m(a)?(this.Ra!=a&&(this.Ra=a,this.c.height=!0,T(this,4,9)),this):this.Ra};g.clip=function(a){return m(a)?(this.W!=a&&(this.W=a,this.c.clip=!0,T(this,256,1)),this):this.W};g.cd=function(a){return m(a)&&!isNaN(+a)?(this.Sa!=+a&&(this.Sa=+a,this.c.minFontSize=!0,(this.H||this.M)&&T(this,4,9)),this):this.Sa};g.bd=function(a){return m(a)&&!isNaN(+a)?(this.ta!=+a&&(this.ta=+a,this.c.maxFontSize=!0,(this.H||this.M)&&T(this,4,9)),this):this.ta};function mB(a,b){if(m(b)){a:{var c;c=String(b).toLowerCase();switch(c){case"same":case"s":b="same";break a}b="different"}a.ka!=b&&(a.ka=b,(a.H||a.M)&&T(a,4,9));return a}return a.ka}
g.tc=function(a,b){if(r(a))return this.tc.apply(this,a);if(B(a))return this.tc(a.width,a.height),this;var c=0;if(m(b))return this.H!=!!a&&(this.H=!!a,c|=4),this.M!=!!b&&(this.M=!!b,c|=4),this.c.adjustByHeight=!0,this.c.adjustByWidth=!0,T(this,c,9),this;if(m(a)){if(this.H!=this.M||this.H!=a)this.H=this.M=a,this.c.adjustByHeight=!0,this.c.adjustByWidth=!0,T(this,4,9);return this}return{width:this.H,height:this.M}};g.fontSize=function(a){return m(a)?Tt.v.fontSize.call(this,a):this.H||this.M?this.da||Tt.v.fontSize.call(this):Tt.v.fontSize.call(this)};g.Rc=function(a){return a?Tt.v.Rc.call(this,a):m(this.c.fontColor)?Tt.v.Rc.call(this):this.Zm||Tt.v.Rc.call(this)};g.Fe=function(a){this.Zm=a;return this};g.o=function(){var a=Tt.v.o.call(this);null===a.enabled&&delete a.enabled;this.cb&&(a.background=this.cb.o());this.Pa&&(a.padding=this.Pa.o());this.c.position&&(a.position=this.position());this.c.anchor&&(a.anchor=this.anchor());this.c.offsetX&&(a.offsetX=this.offsetX());this.c.offsetY&&(a.offsetY=this.offsetY());this.c.rotation&&(a.rotation=this.rotation());this.c.width&&(a.width=this.width());this.c.height&&(a.height=this.height());this.c.connectorStroke&&(a.connectorStroke=this.Xd());if(this.c.adjustByHeight||this.c.adjustByWidth)a.adjustFontSize=this.tc();m(this.cd())&&(a.minFontSize=this.cd());m(this.bd())&&(a.maxFontSize=this.bd());A(this.ma)?K(8,null,["Labels textFormatter"]):m(this.ma)&&(a.textFormatter=this.ma);return a};g.K=function(a){var b=this.enabled();Tt.v.K.call(this,a);a.background&&this.Qw(a.background);a.padding&&this.padding(a.padding);this.position(a.position);this.anchor(a.anchor);this.offsetX(a.offsetX);this.offsetY(a.offsetY);this.rotation(a.rotation);this.width(a.width);this.height(a.height);this.Xd(a.connectorStroke);this.tc(a.adjustFontSize);this.cd(a.minFontSize);this.bd(a.maxFontSize);this.Fb(a.textFormatter);this.Gd(a.positionFormatter);this.enabled("enabled"in a?a.enabled:b)};g.remove=function(){this.A(null);this.j&&this.j.parent(null)};g.clear=function(a){this.T||(this.T=[]);if(this.na&&this.na.length)if(m(a))this.na[a]&&(this.na[a].clear(),this.T.push(this.na[a]),nB(this,a),delete this.na[a]);else{nB(this);for(a=this.na.length;a--;){var b=this.na[a];b&&(b.clear(),this.T.push(b))}this.na.length=0;T(this,128,1)}else this.na=[];return this};function oB(a,b){b=+b;return a.na&&a.na[b]?a.na[b]:null}g.ld=function(){return this.j};g.add=function(a,b,c){var d,e;m(this.na)||(this.na=[]);m(c)&&(e=+c,d=this.na[e]);d?(X(d),d.clear()):(d=this.T&&0<this.T.length?this.T.pop():this.Nx(),X(d),m(e)?(this.na[e]=d,d.Fq(e)):(this.na.push(d),d.Fq(this.na.length-1)));d.Ed(a);d.Eb(b);pB(d,this);d.O(!1);return d};g.Nx=function(){return new qB};g.I=function(){if(this.wc)return this;this.j||(this.j=oo(),wv(this,this.j));var a=this.A()?this.A().oa():null,b=a&&!a.Jc();b&&a.rd();this.na&&Mf(this.na,function(a){a&&(a.A(this.j),a.I())},this);W(this,8)&&(this.j.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.j.parent(this.A()),U(this,2));U(this,4294967295);b&&a.gd();return this};g.eF=function(a,b,c,d){var e,f,h,k=new M(0,0,0,0),l,n,p,q;this.b?this.b.clear():this.b=new qB;a instanceof qB?(this.b.C(rB(a)),e=a.Ed(),q=b||a.Eb()||{value:{x:0,y:0}}):(e=a,q=b||{value:{x:0,y:0}});this.b.xd(c);l=m(this.b.Mc())?this.b.Mc():this.Mc();if(a=this.R())n=a.width,p=a.height;var t=c&&c.padding?this.b.padding():this.padding(),v=this.b.width()||this.width(),w=this.b.height()||this.height();c=this.b.offsetY()||this.offsetY();a=this.b.offsetX()||this.offsetX();b=this.b.anchor()||this.anchor();this.b.Fb()||this.Fb();this.g||(this.g=qo(),this.g.me("aria-hidden","true"));d=sB(this,this.ma,e,d);this.g.width(null);this.g.height(null);l?this.g.htmlText(null!=d?String(d):null):this.g.text(null!=d?String(d):null);this.nc(this.g,!0);this.b.nc(this.g,!1);l=null!==v;d=null!==w;e=this.g.Fa();l?(e=Math.ceil(Q(v,n)),f=t.Ie(e),k.width=e):(e=e.width,k.width=t.Xe(e));m(f)&&this.g.width(f);e=this.g.Fa();d?(f=Math.ceil(Q(w,p)),h=t.He(f),k.height=f):(f=e.height,k.height=t.We(f));m(h)&&this.g.height(h);h=kf(this.Ia.call(q,q));h=new $h(h.x,h.y);f=Ar(new M(0,0,k.width,k.height),b);h.x-=f.x;h.y-=f.y;a=m(a)?Q(a,n):0;c=m(c)?Q(c,p):0;Er(h,b,a,c);k.left=h.x;k.top=h.y;return k};g.measure=function(a,b,c,d){a=this.Li(a,b,c,d);return M.a(a)};g.Li=function(a,b,c,d){var e,f;a instanceof qB?(e=m(a.rotation())?a.rotation():this.rotation()||0,f=a.anchor()||this.anchor(),d=d||a.S()):(e=m(c)&&m(c.rotation)?c.rotation:this.rotation()||0,f=m(c)&&c.anchor||this.anchor());a=this.eF(a,b,c,d);f=Ar(a,f);e=Zh(Bh(e),f.x,f.y);f=Ml(a)||[];e.transform(f,0,f,0,4);return f};function sB(a,b,c,d){u(b)&&(b=fu(gu.Xc(),b));a.J||(a.J={});return null!=d?(m(a.J[d])||(a.J[d]=b.call(c,c)),a.J[d]):b.call(c,c)}function nB(a,b){m(b)?m(a.J[b])&&delete a.J[b]:a.J={}}
g.ee=function(a){a=Tt.v.ee.call(this,a);for(var b=a.domTarget,c;b instanceof $n;){c=b.tag;if(c instanceof Z||!zr(c))break;b=b.parent()}a.labelIndex=I(c);return a};g.V=function(){Ad(this.j);this.j=null;Ad(this.cb);this.cb=null;Ad(this.Pa);this.Pa=null;Tt.v.V.call(this)};function qB(){Qw.call(this);this.fd()}G(qB,Qw);g=qB.prototype;g.ia=Qw.prototype.ia;g.$=Qw.prototype.$|768;g.ld=function(){return this.m};function pB(a,b){return null!=b?(a.T!=b&&(a.T=b,T(a,16,1)),a):a.T}g.S=function(){return this.M};g.Fq=function(a){this.M=+a;return this};function tB(a,b){return m(b)?(a.ma!=b&&(a.ma=b,T(a,16,1)),a):a.ma}g.Pw=function(a){var b=null===a;b||this.a.background||(this.a.background=new cz,this.a.background.C(Wq().standalones.labelsFactory.background),R(this.a.background,this.sL,this));return m(a)?(b?Ad(this.a.background):this.a.background.C(a),this):this.a.background};g.sL=function(a){Y(a,1)&&T(this,16,1)};g.padding=function(a,b,c,d){var e=null===a;e||this.a.padding||(this.a.padding=new xu,R(this.a.padding,this.tL,this));return m(a)?(e?Ad(this.a.padding):this.a.padding.C.apply(this.a.padding,arguments),this):this.a.padding};g.tL=function(a){Y(a,2)&&T(this,16,8)};g.width=function(a){return m(a)?(this.a.width!==a&&(this.a.width=a,T(this,16,8)),this):this.a.width};g.height=function(a){return m(a)?(this.a.height!==a&&(this.a.height=a,T(this,16,8)),this):this.a.height};g.rotation=function(a){return m(a)?(a=+a,this.a.rotation!==a&&(this.a.rotation=a,T(this,16,9)),this):this.a.rotation};g.anchor=function(a){return m(a)?(a=null===a?null:Yb(a),this.a.anchor!==a&&(this.a.anchor=a,T(this,16,8)),this):this.a.anchor};g.offsetX=function(a){return m(a)?(this.a.offsetX!=a&&(this.a.offsetX=a,T(this,16,8)),this):this.a.offsetX};g.offsetY=function(a){return m(a)?(this.a.offsetY!=a&&(this.a.offsetY=a,T(this,16,8)),this):this.a.offsetY};g.Xd=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.a.Xd&&(this.a.Xd=f,T(this,512,1));return this}return this.a.Xd};g.cd=function(a){return m(a)&&!isNaN(+a)?(this.a.cd!=+a&&(this.a.cd=+a,(this.a.Ui||this.a.Nj)&&T(this,4,9)),this):this.a.cd};g.bd=function(a){return m(a)&&!isNaN(+a)?(this.a.bd!=+a&&(this.a.bd=+a,(this.a.Ui||this.a.Nj)&&T(this,4,9)),this):this.a.bd};g.clip=function(a){return m(a)?(this.a.clip!=a&&(this.a.clip=a,T(this,256,1)),this):this.a.clip};g.tc=function(a,b){if(r(a))return this.tc.apply(this,a);if(B(a))return this.tc(a.width,a.height),this;var c=0;if(m(b))return this.a.Ui!=!!a&&(this.a.Ui=!!a,c|=4),this.a.Nj!=!!b&&(this.a.Nj=!!b,c|=4),T(this,c,9),this;if(m(a)){if(this.a.Ui!=this.a.Nj||this.a.Ui!=a)this.a.Ui=this.a.Nj=a,T(this,4,9);return this}return{width:this.a.Ui,height:this.a.Nj}};function uB(a,b,c,d,e,f){if(e&&f){if(a>c||b>d)return 1;if(a<c||b<d)return-1}else if(e){if(a<c)return-1;if(a>c)return 1}else if(f){if(b<d)return-1;if(b>d)return 1}return 0}g.position=function(a){return m(a)?(a=String(a),this.a.position!=a&&(this.a.position=a,T(this,16,8)),this):this.a.position};g.enabled=function(a){return m(a)?(this.a.oy!=a&&(this.a.oy=a,T(this,1,9)),this):this.a.oy};g.Fb=function(a){return m(a)?(this.a.Fb!=a&&(this.a.Fb=a,T(this,16,1)),this):this.a.Fb};g.Gd=function(a){return m(a)?(this.a.Gd!=a&&(this.a.Gd=a,T(this,16,8)),this):this.a.Gd};g.Ed=function(a){return m(a)?(this.ta!=a&&(this.ta=a,T(this,16,1)),this):this.ta};g.Eb=function(a){return m(a)?(this.H!=a&&(this.H=a,T(this,16,8)),this):this.H};g.clear=function(){this.fd();this.m&&(this.m.parent(null),this.m.Hg());T(this,2)};g.fd=function(){this.a.background&&(Ad(this.a.background),this.a.background=null);this.a.padding&&(Ad(this.a.padding),this.a.padding=null);this.a={};this.c={};this.B={};this.b=null};g.xd=function(a,b){m(a)&&this.C(a);null!=b&&(this.B=b);(m(a)||m(b))&&T(this,17,9);return this};function vB(a,b,c,d,e,f,h){var k=pB(a),l=tB(a)?tB(a):k,l=l?l:k,n=l!=k,p=k.Mc()||l.Mc()||a.Mc(),q=rB(a),t=a.Ed(),q=sB(k,q.textFormatter,t,a.S());a.D||(a.D=qo(),a.D.me("aria-hidden","true"));p?a.D.htmlText(m(q)?String(q):""):a.D.text(m(q)?String(q):"");k.nc(a.D,!0);n&&l.nc(a.D,!1);a.nc(a.D,!1);n&&(a.Zb(a.B),a.nc(a.D,!1));a=a.D;k=Math.round((e+d)/2);l=e;a.fontSize(e);if(0>=uB(a.Fa().width,a.Fa().height,b,c,f,h))return e;a.fontSize(k);for(n=e=uB(a.Fa().width,a.Fa().height,b,c,f,h);d!=l;){if(0>e)d=Math.min(k+
1,l),k+=Math.floor((l-k)/2);else if(0<e)l=Math.max(k-1,d),k-=Math.ceil((k-d)/2);else break;a.fontSize(k);e=uB(a.Fa().width,a.Fa().height,b,c,f,h);if(0>=n*e)break}if(0==e)return k;do k+=n,a.fontSize(k),e=uB(a.Fa().width,a.Fa().height,b,c,f,h);while(0>n*e);0<n&&(k-=n);return k}function wB(a,b,c,d,e,f){return tB(a)&&pB(a)!=tB(a)?m(c)?c:f?e:m(b)?b:d:m(b)?b:d}
g.TC=function(a,b){var c=this.b.positionFormatter,d=this.b.anchor,e=this.b.offsetX,f=this.b.offsetY,h=0,k=0;b&&(h=b.width,k=b.height);var l=this.Eb(),n=kf(c.call(l,l)),n=new $h(n.x,n.y),l=l&&l.connectorPoint;this.w&&(this.w.clear(),this.w.fc(1,0,0,1,0,0));l&&(this.w||(this.w=this.m.path(),this.w.Wx(!0)),this.w.stroke(this.b.connectorStroke),c=kf(c.call(l,l)),this.w.moveTo(n.x,n.y).lineTo(c.x,c.y));c=Ar(new M(0,0,a.width,a.height),d);n.x-=c.x;n.y-=c.y;Er(n,d,m(e)?Q(e,h):0,m(f)?Q(f,k):0);this.g+=n.x;this.j+=n.y;a.left=n.x;a.top=n.y;this.h.x(this.g).y(this.j)};function rB(a){if(a.b)return kf(a.b);var b=pB(a),c=tB(a)?tB(a):b,d=c?c:b,e;d!=b&&(e=d.c);for(var f={},h=0,k=d.X.length;h<k;h++){var l=d.X[h];f[l]=wB(a,"background"==l||"padding"==l?a.a[l]:a[l](),a.B[l],b[l](),c[l](),!(!e||!e[l]))}f.padding instanceof xu||(f.padding=c.padding().C(a.B.padding));var d=a.B.adjustFontSize,n,p;m(d)&&(r(d)?(n=d[0],p=d[1]):B(d)?(n=d.width,p=d.height):(n=!!d,p=!!d));b=b.tc();c=c.tc();f.adjustByWidth=wB(a,a.a.Ui,n,b.width,c.width,!(!e||!e.adjustByWidth));f.adjustByHeight=wB(a,a.a.Nj,p,b.height,c.height,!(!e||!e.adjustByHeight));a.b=f;return kf(a.b)}
g.I=function(){var a=pB(this),b=tB(this)?tB(this):a,b=b?b:a,c=b!=a,d;this.m||(this.m=oo());this.m.tag=this.M;d=c?m(this.B.enabled)?this.B.enabled:b.enabled()?b.enabled():m(this.enabled())?this.enabled():a.enabled():m(this.enabled())?this.enabled():a.enabled();if(W(this,1)||W(b,1))if(d)this.A()&&!this.m.parent()&&this.m.parent(this.A()),U(this,1);else return this.m&&this.m.parent(null),U(this,4294967295),this;if(W(this,2)||W(b,2))d&&((!a.enabled()||m(this.enabled())&&!this.enabled())&&a.ld()&&(this.A()||this.A(a.ld()),this.A().parent()||this.A().parent(a.A())),this.A()&&this.m.parent(this.A())),U(this,2);W(this,8)&&(this.A()&&this.A().zIndex(a.zIndex()),this.m.zIndex(this.zIndex()),U(this,8));if(W(this,16)||W(b,4)||W(b,16)){this.b=null;rB(this);d=this.b;var e=this.Ed();!m(e)||!e.series||this.J&&m(this.J[this.S()])||e.series.G().select(m(e.index)?e.index:this.S());e=sB(a,d.textFormatter,e,this.S());this.m.fc(1,0,0,1,0,0);this.F||(this.F=new cz,this.F.zIndex(0),this.F.A(this.m));d.background instanceof
cz?this.F.C(d.background.o()):this.F.C(d.background);this.F.I();this.h||(this.h=qo(),this.h.me("aria-hidden","true"),this.h.zIndex(1),this.h.parent(this.m),this.h.fb(!0));var f,h,k;b.R()?k=b.R():c&&a.R()?k=a.R():a.A()?k=a.A().Fa():k=Nl(0,0,0,0);k&&(f=k.width,h=k.height);var l=a.Mc()||b.Mc()||this.Mc();this.h.width(null);this.h.height(null);l?this.h.htmlText(m(e)?String(e):""):this.h.text(m(e)?String(e):"");a.nc(this.h,!0);c&&b.nc(this.h,!1);this.nc(this.h,!1);c&&(this.Zb(this.B),this.nc(this.h,!1));var c=null!==d.width,e=null!==d.height,l=new M(0,0,0,0),n,p,q;c?(n=Math.ceil(Q(d.width,f)),d.padding?(q=d.padding.Ie(n),this.g=Q(d.padding.left(),n)):(this.g=0,q=n),l.width=n,n=!1):(p=this.h.Fa(),n=p.width,d.padding?(l.width=d.padding.Xe(n),this.g=Q(d.padding.left(),l.width)):(this.g=0,l.width=n),n=!0);m(q)&&this.h.width(q);var t;e?(p=Math.ceil(Q(d.height,h)),d.padding?(t=d.padding.He(p),this.j=Q(d.padding.top(),p)):(this.j=0,t=p),l.height=p,p=!1):(p=this.h.Fa(),p=p.height,d.padding?(l.height=d.padding.We(p),this.j=Q(d.padding.top(),l.height)):(this.j=0,l.height=p),p=!0);m(t)&&this.h.height(t);if(!n&&d.adjustByHeight||!p&&d.adjustByHeight){var v;"different"==mB(a)?v=vB(this,q,t,d.minFontSize,d.maxFontSize,d.adjustByWidth,d.adjustByHeight):v=b.da;X(this);this.h.fontSize(v);c?(n=Math.ceil(Q(d.width,f)),l.width=n):(p=this.h.Fa(),n=p.width,d.padding?l.width=d.padding.Xe(n):l.width=n);e?(p=Math.ceil(Q(d.height,h)),l.height=p):(p=this.h.Fa(),p=p.height,d.padding?l.height=d.padding.We(p):l.height=p);this.O(!1)}this.TC(l,k);this.F.R(l);this.F.I();this.m.Jn(d.rotation,d.anchor);T(this,512);U(this,20)}W(this,512)&&(h=this.Eb(),a=this.b.positionFormatter,f=kf(a.call(h,h)),f=new $h(f.x,f.y),h=h&&h.connectorPoint,this.w&&(this.w.clear(),this.w.fc(1,0,0,1,0,0)),h&&(this.w||(this.w=this.m.path(),this.w.Wx(!0)),this.w.stroke(this.b.connectorStroke),a=kf(a.call(h,h)),this.w.moveTo(f.x,f.y).lineTo(a.x,a.y)),U(this,512));if(W(this,256)||W(b,256))d=rB(this),this.m&&this.m.clip(d.clip);return this};g.o=function(){var a=qB.v.o.call(this);m(this.a.background)&&(a.background=this.Pw().o());m(this.a.padding)&&(a.padding=this.padding().o());m(this.position())&&(a.position=this.position());m(this.anchor())&&(a.anchor=this.anchor());m(this.offsetX())&&(a.offsetX=this.offsetX());m(this.offsetY())&&(a.offsetY=this.offsetY());m(this.Xd())&&(a.connectorStroke=this.Xd());m(this.width())&&(a.width=this.width());m(this.height())&&(a.height=this.height());m(this.rotation())&&(a.rotation=this.rotation());m(this.enabled())||delete a.enabled;if(m(this.a.Nj)||m(this.a.Ui))a.adjustFontSize=this.tc();m(this.cd())&&(a.minFontSize=this.cd());m(this.bd())&&(a.maxFontSize=this.bd());return a};g.K=function(a){var b=this.enabled();qB.v.K.call(this,a);m(a.background)&&this.Pw(a.background);m(a.padding)&&this.padding(a.padding);this.position(a.position);this.anchor(a.anchor);this.offsetX(a.offsetX);this.offsetY(a.offsetY);this.Xd(a.connectorStroke);this.rotation(a.rotation);this.width(a.width);this.height(a.height);this.tc(a.adjustFontSize);this.cd(a.minFontSize);this.bd(a.maxFontSize);this.Fb(a.textFormatter);this.Gd(a.positionFormatter);m(a.enabled)||delete this.a.oy;this.enabled("enabled"in
a?a.enabled:b)};g.V=function(){Ad(this.a.background);this.a.background=null;Ad(this.a.padding);this.a.padding=null;qB.v.V.call(this)};Tt.prototype.background=Tt.prototype.Qw;Tt.prototype.padding=Tt.prototype.padding;Tt.prototype.textFormatter=Tt.prototype.Fb;Tt.prototype.positionFormatter=Tt.prototype.Gd;Tt.prototype.position=Tt.prototype.position;Tt.prototype.anchor=Tt.prototype.anchor;Tt.prototype.offsetX=Tt.prototype.offsetX;Tt.prototype.offsetY=Tt.prototype.offsetY;Tt.prototype.connectorStroke=Tt.prototype.Xd;Tt.prototype.rotation=Tt.prototype.rotation;Tt.prototype.width=Tt.prototype.width;Tt.prototype.height=Tt.prototype.height;Tt.prototype.enabled=Tt.prototype.enabled;Tt.prototype.adjustFontSize=Tt.prototype.tc;Tt.prototype.minFontSize=Tt.prototype.cd;Tt.prototype.maxFontSize=Tt.prototype.bd;qB.prototype.padding=qB.prototype.padding;qB.prototype.rotation=qB.prototype.rotation;qB.prototype.getIndex=qB.prototype.S;qB.prototype.textFormatter=qB.prototype.Fb;qB.prototype.positionFormatter=qB.prototype.Gd;qB.prototype.position=qB.prototype.position;qB.prototype.anchor=qB.prototype.anchor;qB.prototype.draw=qB.prototype.I;qB.prototype.clear=qB.prototype.clear;qB.prototype.background=qB.prototype.Pw;qB.prototype.offsetX=qB.prototype.offsetX;qB.prototype.offsetY=qB.prototype.offsetY;qB.prototype.connectorStroke=qB.prototype.Xd;qB.prototype.width=qB.prototype.width;qB.prototype.height=qB.prototype.height;qB.prototype.enabled=qB.prototype.enabled;qB.prototype.adjustFontSize=qB.prototype.tc;qB.prototype.minFontSize=qB.prototype.cd;qB.prototype.maxFontSize=qB.prototype.bd;function xB(a){cy.call(this,a);this.a=this.w=null;this.h=[];this.da=ly(["stroke","hoverStroke","selectStroke"],2);this.Ia=ly(["trend","hoverTrend","selectTrend"],2);this.ka=!1}G(xB,cy);rt(xB,It);rt(xB,Jt);rt(xB,Kt);rt(xB,Mt);rt(xB,Nt);g=xB.prototype;g.$=cy.prototype.$|6144;g.ec=7;g.At=function(a){if(m(a)){if(r(a)){for(var b=this.h.length=0;b<a.length;b++){var c=I(a[b]);isNaN(c)||this.h.push(c)}T(this,6400,1)}return this}return zb(this.h,0)};g.uk=function(a){xB.v.uk.call(this,a);T(this,2048)};g.Yd=function(){xB.v.Yd.call(this);this.w||(this.w=[this.U.path(),this.U.path()],this.w[0].zIndex(2),this.w[1].zIndex(3))};g.cu=function(){if(W(this,4096)){this.a||(this.a=[]);var a;for(a=this.a.length;a<this.h.length;a++)this.a.push(this.U.path().zIndex(0));for(a=this.h.length;a<this.a.length;a++)Ad(this.a[a]);this.a.length=this.h.length;T(this,2304);U(this,4096)}W(this,256)&&T(this,2048);if(W(this,2048)){this.ka=!1;a=this.labels();var b=this.kb().enabled()||this.Ib().enabled();X(a);7!=this.m||!1===a.enabled()&&!b?(a.clear(),a.A(null)):(a.A(this.U),a.clear(),a.R(this.b),a.oe=4,this.ka=!0,T(this,256));a.I();(b=a.j)&&b.fb(!0);a.O(!1);U(this,2048)}};g.zg=function(a,b){for(var c=0;c<this.w.length;c++){var d=this.w[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};g.Sh=function(a,b,c,d){for(var e=0;e<this.w.length;e++){var f=this.w[e];f.clear();f.moveTo(a,b).lineTo(c,d)}for(e=0;e<this.a.length;e++)this.a[e].clear();a=this.labels();var h;this.state&Ha?h=this.Ib():this.state&H?h=this.kb():h=null;b=!this.ka||h&&!fa(h.enabled())?h.enabled():a.enabled();X(a);this.ey(a,h,b);b||a.clear();a.I();a.O(!1)};g.ey=function(a,b,c){for(var d=0;d<this.h.length;d++){var e=this.a[d],f=e.stroke();this.Jp(d,this.h[d],e,this.w[1],a,b,c,Gr(f))}};g.Jp=function(){};g.Cd=function(a){xB.v.Cd.call(this,a);var b=this.Ia(this,a);m(b)||(b=this.da(this,a));this.w[0].fill(null).stroke(b);this.w[1].fill(xq).stroke(xq,2*this.hoverGap());for(b=0;b<this.a.length;b++)this.a[b].fill(null).stroke(this.da(this,a,b))};g.Wo=function(a,b){var c=xB.v.Wo.call(this,a,b);m(b)&&(c.level=this.h[b]);return c};g.labels=function(a){this.na||(this.na=new Tt,this.na.La(this),R(this.na,this.XJ,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.kb=function(a){this.Sc||(this.Sc=new Tt);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Sc.C(a),this):this.Sc};g.Ib=function(a){this.Id||(this.Id=new Tt);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Id.C(a),this):this.Id};g.XJ=function(a){Y(a,1)&&T(this,2048,1)};g.Kb=function(a){return{level:a}};function yB(a,b,c,d,e,f){if(d&&e){var h=oB(b,a);h?(h.Ed(d),h.Eb(e)):h=b.add(d,e,a);h.fd();tB(h,c||b);h.xd(f);h.I()}else b.clear(a)}g.Eq=function(a){xB.v.Eq.call(this,a);this.At(a.levels);this.labels().C(a.labels);this.kb().C(a.hoverLabels);this.Ib().C(a.selectLabels)};g.o=function(){var a=xB.v.o.call(this);a.levels=this.At();vt(this,Nt,a,"Annotation");vt(this,Mt,a,"Annotation");vt(this,It,a,"Annotation");vt(this,Jt,a,"Annotation");vt(this,Kt,a,"Annotation");return a};g.K=function(a){this.At(a.levels);ut(this,Nt,a);ut(this,Mt,a);ut(this,It,a);ut(this,Jt,a);ut(this,Kt,a);xB.v.K.call(this,a)};g.V=function(){xB.v.V.call(this);Bd(this.w);Bd(this.a);this.a=this.w=null;delete this.da;delete this.Ia};xB.prototype.levels=xB.prototype.At;function zB(a){xB.call(this,a)}G(zB,xB);Gt.fibonacciArc=zB;zB.prototype.type="fibonacciArc";zB.prototype.Jp=function(a,b,c,d,e,f,h){var k=this.c.secondXAnchor,l=this.c.secondValueAnchor,n=k+b*(this.c.xAnchor-k),p=l+b*(this.c.valueAnchor-l),n=Math.sqrt((n-k)*(n-k)+(p-l)*(p-l));p<l?(c.Ob(k,l,n,n,180,180),d.Ob(k,l,n,n,180,180)):(c.Ob(k,l,n,n,0,180),d.Ob(k,l,n,n,0,180));h&&(p<l?(c={x:k,y:l-n},d="centerTop"):(c={x:k,y:l+n},d="centerBottom"),yB(a,e,f,this.Kb(b),{value:c},{anchor:d}))};zB.prototype.Vf=function(){var a=zB.v.Vf.call(this);if(!a)var b=this.c.xAnchor,c=this.c.valueAnchor,a=this.c.secondXAnchor,d=this.c.secondValueAnchor,e=Math.max.apply(Math,this.h),b=a+e*(b-a),c=d+e*(c-d),d=Math.sqrt((b-a)*(b-a)+(c-d)*(c-d)),a=!isNaN(d)&&!(a+d<this.b.left||a-d>this.b.Oa());return a};function AB(a){xB.call(this,a);this.F=[];this.g=null;this.ta=ly(["grid","hoverGrid","selectGrid"],2)}G(AB,xB);rt(AB,Ot);Gt.fibonacciFan=AB;g=AB.prototype;g.type="fibonacciFan";g.zu=function(a){if(m(a)){if(r(a)){for(var b=this.F.length=0;b<a.length;b++){var c=I(a[b]);isNaN(c)||this.F.push(c)}T(this,6400,1)}return this}return zb(this.F,0)};g.ey=function(a,b,c){var d,e;for(d=0;d<this.g.length;d++)this.g[d].clear();AB.v.ey.call(this,a,b,c);d=0;for(e=this.h.length;d<this.F.length;d++,e++){var f=this.a[e],h=f.stroke(),k=e,l=this.F[d],n=f,p=this.w[1],f=a,q=b,t=c,v=Gr(h),w=this.c.xAnchor,h=this.c.valueAnchor,x=this.c.secondXAnchor,z=this.c.secondValueAnchor,C=w+(x-w)*l,F=this.g[k],J=F.stroke(),x=C;w==x&&(x=w=Rd(w,v));C=Rd(C,Gr(J));v=Kl(w,h,x,z,this.b);w=Ll(C,h,C,z,this.b);v&&(n.moveTo(v[0],v[1]).lineTo(v[2],v[3]),p.moveTo(v[0],v[1]).lineTo(v[2],v[3]));w&&(F.moveTo(w[0],w[1]).lineTo(w[2],w[3]),p.moveTo(w[0],w[1]).lineTo(w[2],w[3]));t&&this.b.left<=C&&C<=this.b.Oa()&&(n={value:{x:C,y:h}},yB(k,f,q,this.Kb(l),n,{anchor:h<z?"centerBottom":"centerTop"}))}};g.Jp=function(a,b,c,d,e,f,h,k){var l=this.c.xAnchor,n=this.c.valueAnchor,p=this.c.secondXAnchor,q=this.c.secondValueAnchor,t=n+(q-n)*b,v=this.g[a],w=v.stroke(),q=t;n==q&&(q=n=Rd(n,k));t=Rd(t,Gr(w));k=Kl(l,n,p,q,this.b);n=Ll(l,t,p,t,this.b);k&&(c.moveTo(k[0],k[1]).lineTo(k[2],k[3]),d.moveTo(k[0],k[1]).lineTo(k[2],k[3]));n&&(v.moveTo(n[0],n[1]).lineTo(n[2],n[3]),d.moveTo(n[0],n[1]).lineTo(n[2],n[3]));h&&this.b.left<=l&&l<=this.b.Oa()&&(c={value:{x:l,y:t}},yB(a,e,f,this.Kb(b),c,{anchor:l<p?"rightCenter":"leftCenter"}))};g.Vf=function(){var a=AB.v.Vf.call(this);if(!a)var a=this.c.xAnchor,b=this.c.secondXAnchor-a,a=!isNaN(b)&&!(a<this.b.left&&0>=b||a>this.b.Oa()&&0<=b);return a};g.Cd=function(a){AB.v.Cd.call(this,a);for(var b=0;b<this.g.length;b++){var c=this.ta(this,a,b);m(c)||(c=this.da(this,a,b));this.g[b].fill(null).stroke(c)}};g.Wo=function(a,b){var c={sourceColor:a||this.td("color")||"blue"};m(b)&&(b>=this.h.length?c.timeLevel=this.F[b-this.h.length]:c.level=this.h[b]);return c};g.cu=function(){if(W(this,4096)){this.a||(this.a=[]);this.g||(this.g=[]);var a,b=this.h.length+this.F.length;for(a=this.a.length;a<b;a++)this.a.push(this.U.path().zIndex(0));for(a=b;a<this.a.length;a++)Ad(this.a[a]);this.a.length=b;for(a=this.g.length;a<b;a++)this.g.push(this.U.path().zIndex(0));for(a=b;a<this.g.length;a++)Ad(this.g[a]);this.g.length=b;T(this,2304);U(this,4096)}AB.v.cu.call(this)};g.Eq=function(a){AB.v.Eq.call(this,a);this.zu(a.timeLevels)};g.o=function(){var a=AB.v.o.call(this);a.timeLevels=this.zu();vt(this,Ot,a,"Annotation");return a};g.K=function(a){this.zu(a.timeLevels);ut(this,Ot,a);AB.v.K.call(this,a)};g.V=function(){AB.v.V.call(this);Bd(this.g);this.g=null;delete this.ta};AB.prototype.timeLevels=AB.prototype.zu;function BB(a){xB.call(this,a)}G(BB,xB);Gt.fibonacciRetracement=BB;BB.prototype.type="fibonacciRetracement";BB.prototype.Jp=function(a,b,c,d,e,f,h,k){var l=this.c.secondValueAnchor,n=Math.min(this.c.xAnchor,this.c.secondXAnchor);k=Rd(l+(this.c.valueAnchor-l)*b,k);if(l=Kl(n,k,n+10,k,this.b))c.moveTo(l[0],l[1]).lineTo(l[2],l[3]),d.moveTo(l[0],l[1]).lineTo(l[2],l[3]);h&&(c={value:{x:n,y:k}},yB(a,e,f,this.Kb(b),c,void 0))};BB.prototype.Vf=function(){var a=BB.v.Vf.call(this);a||(a=Math.min(this.c.xAnchor,this.c.secondXAnchor),a=!isNaN(a)&&a<=this.b.Oa());return a};function CB(a){xB.call(this,a)}G(CB,xB);Gt.fibonacciTimezones=CB;CB.prototype.type="fibonacciTimezones";CB.prototype.Jp=function(a,b,c,d,e,f,h,k){var l=this.c.secondXAnchor;k=Rd(l+Math.abs(this.c.xAnchor-l)*b,k);if(this.b.left<=k&&k<=this.b.Oa()){var l=this.b.top,n=this.b.ra();c.moveTo(k,l).lineTo(k,n);d.moveTo(k,l).lineTo(k,n);h&&(c={value:{x:k,y:n}},yB(a,e,f,this.Kb(b),c,{anchor:"leftBottom"}))}};CB.prototype.Vf=function(){var a=CB.v.Vf.call(this);a||(a=Math.min(this.c.xAnchor,this.c.secondXAnchor),a=!isNaN(a)&&a<=this.b.Oa());return a};function DB(a,b){Z.call(this);this.a=a;a.c&&a.c.push(this);this.ma=b;this.g=[];this.b=this.c=null;this.J=!1;this.m=this.j=NaN;this.h=this.W=null}G(DB,Z);g=DB.prototype;g.$=Z.prototype.$|192;function EB(a){for(var b=0;b<a.g.length;b++)T(a.g[b],64);a.h&&T(a.h,64);T(a,64)}
g.I=function(){if(this.tb()){X(this);this.c||(this.c=oo(),this.c.qf("mouseover",this.zF,!1,this),this.c.qf("touchstart",this.zF,!1,this),this.c.pa("mouseover",this.uO,!1,this),this.c.pa("mouseout",this.tO,!1,this),this.b=Un(0,0,0,0),this.b.$c("crosshair"),this.b.fill(xq),this.b.stroke(null),this.b.pa("mouseover",this.xO,!1,this),this.w=Un(0,0,0,0),this.w.fill(xq),this.w.stroke(null),this.w.zIndex(1E3));W(this,4)&&(this.B=this.R(),this.c.clip(this.B),this.b.Jg(this.B),this.w.Jg(this.B),T(this,64),U(this,4));if(W(this,64)){for(var a=0,b=this.g.length;a<b;a++){var c=this.g[a];X(c);c.R(this.B);c.A(this.c);c.I();c.O(!1)}this.h&&(X(this.h),this.h.R(this.B),this.h.A(this.c),this.h.I(),this.h.O(!1));U(this,64)}W(this,2)&&(this.c.parent(this.A()),T(this,128),U(this,2));W(this,8)&&(a=this.zIndex(),this.c.zIndex(a),this.b.zIndex(a+100),U(this,8));W(this,128)&&(this.J?this.b.parent(this.A()):this.b.remove(),U(this,128));this.O(!1)}};g.zF=function(a){this.W||(this.W=new FB(this),"touchstart"==a.type&&this.W.Xg(a.c))};g.uO=function(a){a.stopPropagation();a.b();a.preventDefault();a=a.target;for(var b;a instanceof $n;){b=a.tag;if(b instanceof cy){this.a.Ne(b);return}a=a.parent()}this.a.gc()};g.tO=function(a){a.stopPropagation();a.b();a.preventDefault();this.a.gc()};g.xO=function(a){var b=this.a.a,c=b.j;c&&c!=this||(hy(b)?sy(this.a,!1):(this.b.pa("mouseout",this.My,!1,this),this.b.pa("mousedown",this.Ly,!1,this),vj(aa,"mousemove",this.nt,!1,this),a.stopPropagation(),a.b(),a.preventDefault(),GB(this,a),this.M=!1,ey(b,this.j,this.m),b.yr()?b.I():HB(this,b,!1)))};g.My=function(a){this.b.Ec("mouseout",this.My,!1,this);this.b.Ec("mousedown",this.Ly,!1,this);a.stopPropagation();a.b();a.preventDefault();GB(this,a);this.M=!0;if(!this.D){Dj(aa,"mousemove",this.nt,!1,this);a=this.a.a;a.B=NaN;a.D=NaN;T(a,128);if(a.M){var b=null!=a.j;a.M=!0;a.j=null;b&&T(a,64);a.La(null);et(a,this.tB,this);this.h=null;T(this,64,1)}a.I()}};g.Ly=function(a){vj(aa,"mouseup",this.sF,!1,this);a.stopPropagation();a.b();a.preventDefault();GB(this,a);this.F=this.j;this.H=this.m;this.D=!1;a=this.a.a;ey(a,this.j,this.m);a.I()};g.sF=function(a){Dj(aa,"mouseup",this.sF,!1,this);a.stopPropagation();a.preventDefault();GB(this,a);this.H=this.F=NaN;this.D=!1;a=this.a.a;a.M&&HB(this,a,!0);fy(a);var b=!1;hy(a)?b=!0:this.M||ey(a,this.j,this.m);a.I();b&&(sy(this.a,!1),this.a.h.dispatchEvent({type:"annotationDrawingFinish",annotation:a}))};g.nt=function(a){a.stopPropagation();a.preventDefault();GB(this,a);a=this.a.a;a.bb();!a.fa||isNaN(this.F)||isNaN(this.H)||this.D?(ey(a,this.j,this.m),a.I()):16<=(this.F-this.j)*(this.F-this.j)+(this.H-this.m)*(this.H-this.m)&&(this.D=!0,a.M&&HB(this,a,!0),fy(a),ey(a,this.j,this.m),a.I())};function GB(a,b){var c=xk(a.A().oa().A());a.j=b.clientX-c.x;a.m=b.clientY-c.y}g.remove=function(){this.c&&(this.c.remove(),this.b.remove())};function HB(a,b,c){var d=!c||b!=a.h;c?(a.g.push(b),a.h=null,a.c&&b.A(a.c)):a.h=b;var e=b.j!=a;b.M=!c;b.j=a;e&&T(b,64);b.La(a);R(b,a.tB,a);d&&T(a,64,1)}g.select=function(a){this.a.select(a);return this};g.hc=function(){this.a.hc();return this};g.$J=function(){return this.a.a};g.VN=function(a){return this.g[a]||null};g.WN=function(){return this.g.length};g.Xv=function(a){return this.h==a?(this.h=null,Ad(a),this):this.cG(Lf(this.g,a))};g.cG=function(a){var b=this.g[a];b&&(fb(this.g,a,1),Ad(b),T(this,64,1));return this};g.bC=function(){this.g.length&&(Bd(this.g),this.g.length=0,T(this,64,1));return this};g.mb=function(a){return ry(this.a)?(X(this.a.h),a=ty(this.a,a),HB(this,a,!0),this.a.select(a),this.a.a||(Ad(a),a=null),this.a.h.O(!0),a):null};g.add=function(a){X(this.a.h);a=ty(this.a,a);HB(this,a,!0);this.a.h.O(!0);return a};g.YJ=function(){this.a.Wv()};g.TP=function(a){var b=ty(this.a,"ray");b.C(a);HB(this,b,!0);return b};g.aK=function(a){var b=ty(this.a,"line");b.C(a);HB(this,b,!0);return b};g.OO=function(a){var b=ty(this.a,"infiniteLine");b.C(a);HB(this,b,!0);return b};g.PQ=function(a){var b=ty(this.a,"verticalLine");b.C(a);HB(this,b,!0);return b};g.NO=function(a){var b=ty(this.a,"horizontalLine");b.C(a);HB(this,b,!0);return b};g.UP=function(a){var b=ty(this.a,"rectangle");b.C(a);HB(this,b,!0);return b};g.ZJ=function(a){var b=ty(this.a,"ellipse");b.C(a);HB(this,b,!0);return b};g.OQ=function(a){var b=ty(this.a,"triangle");b.C(a);HB(this,b,!0);return b};g.NQ=function(a){var b=ty(this.a,"trendChannel");b.C(a);HB(this,b,!0);return b};g.lI=function(a){var b=ty(this.a,"andrewsPitchfork");b.C(a);HB(this,b,!0);return b};g.HN=function(a){var b=ty(this.a,"fibonacciFan");b.C(a);HB(this,b,!0);return b};g.GN=function(a){var b=ty(this.a,"fibonacciArc");b.C(a);HB(this,b,!0);return b};g.IN=function(a){var b=ty(this.a,"fibonacciRetracement");b.C(a);HB(this,b,!0);return b};g.JN=function(a){var b=ty(this.a,"fibonacciTimezones");b.C(a);HB(this,b,!0);return b};g.bK=function(a){var b=ty(this.a,"marker");b.C(a);HB(this,b,!0);return b};g.tB=function(a){Y(a,1)&&T(this,64,1)};g.o=function(){var a=DB.v.o.call(this);a.annotationsList=IB(this);return a};g.jc=function(a){var b=arguments[0];return r(b)?(IB(this,b),!0):dt.prototype.jc.apply(this,arguments)};g.K=function(a){DB.v.K.call(this,a);a=a.annotationsList;r(a)&&IB(this,a)};g.cC=function(a,b){var c=this.wc?{}:{annotationsList:IB(this)};if(!b)var d={defaultAnnotationSettings:this.a.h.Ux()},c=$q(c,d)||{};return a?th(c):c};g.cK=function(a,b){var c=this.cC(!1,b);return Nr(c,"annotations",a)};g.$E=function(a){var b;u(a)?b=uh(a):B(a)&&!A(a)&&(b=a);b=B(b)?b.annotationsList:b;IB(this,b);return this};g.QN=function(a){a=Jr(a);this.$E(a);return this};function IB(a,b){if(m(b)){Bd(a.g);if(r(b))for(var c=0;c<b.length;c++)HB(a,ty(a.a,b[c]),!0);return a}return Of(a.g,function(a){return a.o()})}g.V=function(){DB.v.V.call(this);var a=this.a;a.c&&Vf(a.c,this);Bd(this.g,this.h)};function FB(a){this.w=a;this.b=null;this.N=NaN;Pk.call(this,a.c.P());this.pa("start",this.wO,!1,this);this.pa("end",this.vO,!1,this)}G(FB,Pk);g=FB.prototype;g.Xg=function(a){var b;a:{b=rl(a.target,this.w.c.oa());for(var c,d=NaN;b instanceof $n;){c=b.tag;if(!zr(c))d=I(c);else if(c instanceof cy){this.b=c;isNaN(d)&&(d=-1);this.N=d;b=!0;break a}b=b.parent()}this.b=null;this.N=NaN;b=!1}b&&(hy(this.b)?(FB.v.Xg.call(this,a),this.h&&a.stopPropagation()):(this.w.a.select(this.b),this.b=null,this.N=NaN))};g.ll=function(){var a=this.b;a.X=a.c;a.c=kf(a.c);this.c=this.a=0};g.nn=function(a,b){var c=this.b;switch(this.N){case-1:c.ec&3&&(gy(c,c.ec&1?"xAnchor":null,c.ec&2?"valueAnchor":null,a,b),c.ec&7&&(gy(c,"secondXAnchor","secondValueAnchor",a,b),c.ec&15&&gy(c,"thirdXAnchor","thirdValueAnchor",a,b)));break;case 0:gy(c,c.ec&1?"xAnchor":null,c.ec&2?"valueAnchor":null,a,b);break;case 1:gy(c,"secondXAnchor","secondValueAnchor",a,b);break;case 2:gy(c,"thirdXAnchor","thirdValueAnchor",a,b)}T(c,768);c.I()};g.wO=function(){this.w.a.select(this.b);var a=this.w;a.w.parent(a.c)};g.vO=function(){T(this.b,64);this.b.I();this.b=null;this.N=NaN;this.w.w.remove()};DB.prototype.add=DB.prototype.add;DB.prototype.startDrawing=DB.prototype.mb;DB.prototype.cancelDrawing=DB.prototype.YJ;DB.prototype.getAnnotationAt=DB.prototype.VN;DB.prototype.getAnnotationsCount=DB.prototype.WN;DB.prototype.removeAnnotation=DB.prototype.Xv;DB.prototype.removeAnnotationAt=DB.prototype.cG;DB.prototype.removeAllAnnotations=DB.prototype.bC;DB.prototype.getSelectedAnnotation=DB.prototype.$J;DB.prototype.select=DB.prototype.select;DB.prototype.unselect=DB.prototype.hc;DB.prototype.ray=DB.prototype.TP;DB.prototype.line=DB.prototype.aK;DB.prototype.infiniteLine=DB.prototype.OO;DB.prototype.verticalLine=DB.prototype.PQ;DB.prototype.horizontalLine=DB.prototype.NO;DB.prototype.rectangle=DB.prototype.UP;DB.prototype.ellipse=DB.prototype.ZJ;DB.prototype.triangle=DB.prototype.OQ;DB.prototype.trendChannel=DB.prototype.NQ;DB.prototype.andrewsPitchfork=DB.prototype.lI;DB.prototype.fibonacciFan=DB.prototype.HN;DB.prototype.fibonacciArc=DB.prototype.GN;DB.prototype.fibonacciRetracement=DB.prototype.IN;DB.prototype.fibonacciTimezones=DB.prototype.JN;DB.prototype.marker=DB.prototype.bK;DB.prototype.fromJson=DB.prototype.$E;DB.prototype.toJson=DB.prototype.cC;DB.prototype.fromXml=DB.prototype.QN;DB.prototype.toXml=DB.prototype.cK;function Bw(){X(this);Z.call(this);this.Cr=[];this.cw=[];this.Ad=Wn();wv(this,this.Ad);L(this,this.Ad);this.a=404;this.O(!1)}G(Bw,Z);g=Bw.prototype;g.$=Z.prototype.$|400;g.ia=Z.prototype.ia;g.Zo="noOverlap";g.Ad=null;g.Zg="axis";g.na=null;g.Zi=null;g.mi=null;g.oi=null;g.ha=null;g.Ha=null;g.xa=NaN;g.Sj=NaN;g.Ma=NaN;g.Ja=NaN;g.ab=NaN;g.Cr=null;g.cw=null;g.dw=function(a){return m(a)?(a=lc(a,this.Zo),this.Zo!=a&&(this.Zo=a,JB(this),T(this,this.a,9)),this):this.Zo};g.Na=function(a){this.mi||(this.mi=new Tt,this.mi.La(this),R(this.mi,this.kC,this),L(this,this.mi));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.mi.C(a),this):this.mi};g.labels=function(a){this.na||(this.na=new Tt,this.na.La(this),R(this.na,this.kC,this),L(this,this.na));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.kC=function(a){var b=0,c=0;Y(a,8)?(b=this.a,c=9):Y(a,1)&&(b=128,c=1);JB(this);T(this,b,c)};g.Ga=function(a){this.oi||(this.oi=new zv,this.oi.La(this),R(this.oi,this.lC,this),L(this,this.oi));return m(a)?(this.oi.C(a),this):this.oi};g.ja=function(a){this.Zi||(this.Zi=new zv,this.Zi.La(this),R(this.Zi,this.lC,this),L(this,this.Zi));return m(a)?(this.Zi.C(a),this):this.Zi};g.lC=function(a){var b=0,c=0;Y(a,8)&&(b=this.a,c=9);Y(a,1)&&(b|=276,c|=1);JB(this);T(this,b,c)};g.stroke=function(a,b,c,d,e){if(m(a)){a=Gn.apply(null,arguments);if(this.c!=a){var f=B(this.c)?this.c.thickness||1:1,h=B(a)?a.thickness||1:1;this.c=a;h==f?T(this,16,1):(JB(this),T(this,this.a,9))}return this}return this.c};g.scale=function(a){return m(a)?(this.ha!=a&&(this.ha=a,R(this.ha,this.hK,this),T(this,this.a,9),JB(this)),this):this.ha};g.hK=function(a){Y(a,2)&&(JB(this),T(this,this.a,9))};g.Wa=function(a){return m(a)?(a=Ah(null===a||isNaN(+a)?0:+a),this.ab!=a&&(this.ab=a,T(this,this.a,9)),JB(this),this):this.ab};g.Ki=function(){T(this,this.a,9)};function JB(a){a.Cr.length=0;a.cw.length=0;a.w=null}
function KB(a){if(!a.Ha||W(a,4)){var b=a.R();if(b){var c=Math.round(Math.min(b.width,b.height)/2);if(isNaN(c)||0>c)c=0;a.xa=c;a.Ma=Math.round(b.left+b.width/2);a.Ja=Math.round(b.top+b.height/2);var d=a.scale();if(d){var e=0;if(a.enabled()){JB(a);var f,h,k,l,n,p,q,t,v=e=NaN,w=NaN,x=NaN,z=NaN,C=NaN,F=NaN,J=NaN,O=NaN,S=NaN,da=NaN,V=NaN,Ka=!0,bb=!0,Fa=!0,Bb=!0,yc=d.ja().get(),gc=yc.length;n=LB(a);B(n)?(q=n.labels,t=n.Na):(q=!n,t=!n);p=n=0;for(var gb=d.Ga().get(),Wb=gb.length,Kd,ye,Td,Zi,Dp,ts=Ah(a.Wa()-
90);n<gc||p<Wb;)if(Td=yc[n],c=gb[p],Td=d.transform(Td),Kd=d.transform(c),Td<=Kd&&n<gc||p==Wb){ye=Ah(ts+360*Td);h=ye*Math.PI/180;c=r(q)?q[n]:q;Zi=r(q)&&q[n]||ia(q);c&&a.labels().enabled()?(l=MB(a,n,!0),f=l.Qa(),h=l.Va(),k=l.Oa(),l=l.ra()):Zi&&a.ja().enabled()?(f=a.Ad.stroke().thickness?a.Ad.stroke().thickness:1,k=a.ja().enabled()?a.ja().length():0,c=a.xa+k+f/2,f=k=Math.round(a.Ma+c*Math.cos(h)),h=l=Math.round(a.Ja+c*Math.sin(h))):(f=a.Ad.stroke().thickness?a.Ad.stroke().thickness:1,c=a.xa+f/2,f=k=Math.round(a.Ma+c*Math.cos(h)),h=l=Math.round(a.Ja+c*Math.sin(h)));if(isNaN(e)||f<e)e=f,z=n,O=ye,Ka=!0;if(isNaN(v)||h<v)v=h,C=n,S=ye,bb=!0;if(isNaN(w)||k>w)w=k,F=n,da=ye,Fa=!0;if(isNaN(x)||l>x)x=l,J=n,V=ye,Bb=!0;ye=Td;n++}else{Td=Ah(ts+360*Kd);Dp=Td*Math.PI/180;c=r(t)?t[p]:t;Zi=r(t)&&t[p]||ia(t);c&&ye!=Kd?(l=MB(a,p,!1),f=l.Qa(),h=l.Va(),k=l.Oa(),l=l.ra()):Zi&&a.Ga().enabled()&&ye!=Kd&&(f=a.Ad.stroke().thickness?a.Ad.stroke().thickness:1,k=a.Ga().enabled()?a.Ga().length():0,c=a.xa+k+f/2,f=k=Math.round(a.Ma+
c*Math.cos(Dp)),h=l=Math.round(a.Ja+c*Math.sin(Dp)));if(isNaN(e)||f<e)e=f,z=p,O=Td,Ka=!1;if(isNaN(v)||h<v)v=h,C=p,S=Td,bb=!1;if(isNaN(w)||k>w)w=k,F=p,da=Td,Fa=!1;if(isNaN(x)||l>x)x=l,J=p,V=Td,Bb=!1;p++}gc=yc=q=d=0;e=Math.round(e);v=Math.round(v);w=Math.round(w);x=Math.round(x);e<b.Qa()&&(O=180>O?Math.sin((O-90)*Math.PI/180):Math.cos((O-180)*Math.PI/180),d=Math.round((b.Qa()-e)/O));v<b.Va()&&(O=270>S?Math.sin((S-180)*Math.PI/180):Math.cos((S-270)*Math.PI/180),q=Math.round((b.Va()-v)/O));w>b.Oa()&&(O=360>da?Math.sin((da-270)*Math.PI/180):Math.cos(da*Math.PI/180),yc=Math.round((w-b.Oa())/O));x>b.ra()&&(O=90>V?Math.sin(V*Math.PI/180):Math.cos((V-90)*Math.PI/180),gc=Math.round((x-b.ra())/O));e=Math.max(d,q,yc,gc);a.Sj=NaN;if(0<e){a.xa-=e;if(0>a.xa){v=a.xa=0;if(a.labels().enabled()){var v=NaN,Fh,w=!0;e==d?(v=z,w=Ka,Fh=!0):e==q?(v=C,w=bb,Fh=!1):e==yc?(v=F,w=Fa,Fh=!0):e==gc&&(v=J,w=Bb,Fh=!1);z=MB(a,v,w);v=Fh?z.width:z.height}f=a.Ad.stroke().thickness?a.Ad.stroke().thickness:1;a.Sj=Math.min(b.width,b.height)/2-v-f}JB(a)}}b=a.xa+e;Fh=2*b;a.Ha=new ju(a.Ma-b,a.Ja-b,Fh,Fh)}else a.Ha=new ju(a.Ma-a.xa,a.Ja-a.xa,2*a.xa,2*a.xa)}else a.xa=0,a.Ma=0,a.Ja=0,a.Ha=new ju(0,0,0,0);U(a,4)}}g.pb=function(){var a=this.R();return a?this.enabled()?(KB(this),a=this.Ad.stroke().thickness?this.Ad.stroke().thickness:1,a=Math.floor(a/2),new M(this.Ma-this.xa+a,this.Ja-this.xa+a,2*(this.xa-a),2*(this.xa-a))):a:new M(0,0,0,0)};function NB(a,b){var c=b.width,d=b.height,e={x:0,y:0};0==a?e.x+=c/2:0<a&&90>a?(e.x+=c/2,e.y+=d/2):90==a?e.y+=d/2:90<a&&180>a?(e.y+=d/2,e.x-=c/2):180==a?e.x-=c/2:180<a&&270>a?(e.y-=d/2,e.x-=c/2):270==a?e.y-=d/2:270<a&&(e.y-=d/2,e.x+=c/2);return e}
function LB(a){if(!a.w||W(a,512)){if("allowOverlap"==a.Zo)return!1;var b=a.scale(),c=[],d=[];if(b){var e,f,h=-1,k=-1,l=-1,n=b.ja().get(),p=n.length,q,t,v,w,x,z=-1,C=a.labels().enabled();if(b instanceof ru){var F=b.Ga().get();f=e=0;for(var J=F.length,O,S=a.Na().enabled();e<p||f<J;){q=n[e];w=F[f];t=b.transform(q);O=b.transform(w);w=q=x=null;if(-1==k&&C)for(z=e;-1==k&&z<p;)v=Ml(MB(a,z,!0)),-1!=h&&(w=Ml(MB(a,h,!0))),z==p-1&&(q=Ml(MB(a,0,!0))),Dl(v,w)||Dl(v,q)||(v=b.transform(n[z]),0>=v||1<=v?k=z:0<v&&1>v&&(k=z)),z++;t<=O&&e<p||f==J?(C&&e==k&&a.labels().enabled()?(h=e,k=-1,c.push(!0)):c.push(!1),e++,t==O&&(a.labels().enabled()||a.ja().enabled())&&(d.push(!1),f++)):(S?(v=Ml(MB(a,f,!1)),-1!=h&&(w=Ml(MB(a,h,!0))),-1!=k&&(q=Ml(MB(a,k,!0))),-1!=l&&(x=Ml(MB(a,l,!1))),t=(t=oB(a.Na(),f))?m(t.enabled())?t.enabled():!0:!0,Dl(v,w)||Dl(v,q)||Dl(v,x)||!t?d.push(!1):(v=b.transform(F[f]),0>=v||1<=v?(l=f,d.push(!0)):0<v&&1>v?(l=f,d.push(!0)):d.push(!1))):d.push(!1),f++)}S||(d=!1)}}C||(c=!1);a.w={labels:c,Na:d};U(a,512)}return a.w}
function MB(a,b,c){var d=c?a.Cr:a.cw;if(m(d[b]))return d[b];var e=a.Ad.stroke().thickness?a.Ad.stroke().thickness:1,f=c?a.ja():a.Ga(),h=c?a.labels():a.Na(),k=a.scale();c=(c?k.ja():k.Ga()).get()[b];var k=k.transform(c),k=Ah(a.Wa()-90+360*k),l=k*Math.PI/180,f=f.enabled()?isNaN(a.Sj)?f.length():a.Sj:0,f=a.xa+f+e/2,e=Math.round(a.Ma+f*Math.cos(l)),f=Math.round(a.Ja+f*Math.sin(l));a=new Wc(a,b,c);h=h.measure(a,{value:{x:e,y:f}},void 0,b);a=NB(k,h);h.left+=a.x;h.top+=a.y;return d[b]=h}
g.jC=function(a,b,c,d){var e=this.scale(),e=d?e.ja().get():e.Ga().get();d=d?this.labels():this.Na();e=new Wc(this,a,e[a]);d.add(e,{value:{x:b,y:c}},a)};g.tb=function(){if(!this.Tb)return!1;if(!this.enabled())return W(this,1)&&(this.remove(),U(this,1),T(this.ja(),2),T(this.labels(),2),T(this,386)),!1;U(this,1);return!0};g.I=function(){var a=this.scale();if(!a)return Rc(2),this;if(!this.tb())return this;var b,c,d,e;X(this.labels());X(this.Na());X(this.ja());X(this.Ga());W(this,16)&&(this.Ad.stroke(this.c),U(this,16));if(W(this,8)){var f=this.zIndex();this.Ad.zIndex(f);this.ja().zIndex(f);this.Ga().zIndex(f);this.labels().zIndex(f);this.Na().zIndex(f);U(this,8)}W(this,2)&&(f=this.A(),this.Ad.parent(f),this.ja().A(f),this.labels().A(f),this.Ga().A(f),this.Na().A(f),U(this,2));if(W(this,256)){var h=this.ja();h.I();b=h.um;var k=this.Ga();k.I();d=k.um;U(this,256)}W(this,128)&&(c=this.labels(),c.A()||c.A(this.A()),c.R(this.R()),c.clear(),c=this.jC,e=this.Na(),e.A()||e.A(this.A()),e.R(this.R()),e.clear(),e=this.jC,U(this,128));if(m(b)||m(c)||m(e)||m(d)){KB(this);var l,n,f=Ah(this.Wa()-90),p,q;this.Ad.Yb(this.xa);this.Ad.nh(this.Ma);this.Ad.oh(this.Ja);var t,v,w,x,z,C,F,J,O,S,da=a.ja().get(),V=da.length,Ka=this.ja().stroke().thickness?parseFloat(this.Zi.stroke().thickness):1,bb=this.ja().enabled()?isNaN(this.Sj)?this.ja().length():this.Sj:0,Fa=this.Ad.stroke().thickness?this.Ad.stroke().thickness:1;if(a instanceof ru){F=LB(this);B(F)?(O=F.labels,S=F.Na):(O=!F,S=!F);var Bb=a.Ga().get(),yc=this.oi.stroke().thickness?parseFloat(this.oi.stroke().thickness):1,gc=this.Ga().enabled()?isNaN(this.Sj)?this.Ga().length():this.Sj:0;J=F=0;for(var gb=Bb.length;F<V||J<gb;)v=da[F],t=Bb[J],q=a.transform(v),l=a.transform(t),q<=l&&F<V||J==gb?(p=Ah(f+360*q),l=p*Math.PI/180,C=z=0,w=Math.floor(Fa/2),0==p?C=0==Ka%2?0:-.5:90==p?z=0==Ka%2?0:-.5:180==p?C=0==Ka%2?0:.5:270==p&&(z=0==Ka%2?0:.5),x=this.xa+w,t=this.Ma+x*Math.cos(l),v=this.Ja+x*Math.sin(l),x=this.xa+bb+w,w=this.Ma+x*Math.cos(l),x=this.Ja+x*Math.sin(l),0==p%90&&(t=Math.round(t),v=Math.round(v),w=Math.round(w),x=Math.round(x)),t+=z,v+=C,w+=z,x+=C,z=r(O)?O[F]:O,(C=r(O)&&O[F]||ia(O))&&b&&b.call(h,t,v,w,x),z&&(t=NB(p,MB(this,F,!0)),c.call(this,F,w+t.x,x+t.y,!0)),p=q,F++):(q=Ah(f+360*l),n=q*Math.PI/180,C=z=0,w=Math.floor(Fa/2),0==q?C=0==yc%2?0:-.5:90==q?z=0==yc%2?0:-.5:180==q?C=0==yc%2?0:.5:270==q&&(z=0==yc%2?0:.5),x=this.xa+w,t=this.Ma+x*Math.cos(n),v=this.Ja+x*Math.sin(n),x=this.xa+gc+w,w=this.Ma+x*Math.cos(n),x=this.Ja+x*Math.sin(n),0==q%90&&(t=Math.round(t),v=Math.round(v),w=Math.round(w),x=Math.round(x)),t+=z,v+=C,w+=z,x+=C,z=r(S)?S[J]:S,(C=r(S)&&S[J]||ia(S))&&d&&p!=l&&d.call(k,t,v,w,x),z&&p!=l&&(t=NB(q,MB(this,J,!1)),e.call(this,J,w+t.x,x+t.y,!1)),J++);this.Na().I()}this.labels().I()}this.labels().O(!1);this.ja().O(!1);this.Na().O(!1);this.Ga().O(!1);return this};g.remove=function(){this.Ad&&this.Ad.parent(null);this.ja().remove();this.Ga().remove();this.na&&this.na.remove();this.mi&&this.mi.remove()};g.o=function(){var a=Bw.v.o.call(this);a.labels=this.labels().o();a.minorLabels=this.Na().o();a.ticks=this.ja().o();a.minorTicks=this.Ga().o();a.stroke=P(this.stroke());a.overlapMode=this.dw();return a};g.K=function(a){Bw.v.K.call(this,a);this.labels().C(a.labels);this.Na().C(a.minorLabels);this.ja(a.ticks);this.Ga(a.minorTicks);this.stroke(a.stroke);this.dw(a.overlapMode)};g.V=function(){Bw.v.V.call(this);delete this.ha;this.lb=this.Cr=null;Ad(this.Ad);this.mi=this.na=this.Ha=this.oi=this.Zi=this.Ad=null};Bw.prototype.labels=Bw.prototype.labels;Bw.prototype.minorLabels=Bw.prototype.Na;Bw.prototype.ticks=Bw.prototype.ja;Bw.prototype.minorTicks=Bw.prototype.Ga;Bw.prototype.stroke=Bw.prototype.stroke;Bw.prototype.scale=Bw.prototype.scale;Bw.prototype.overlapMode=Bw.prototype.dw;Bw.prototype.getRemainingBounds=Bw.prototype.pb;function OB(){Bw.call(this)}G(OB,Bw);OB.prototype.I=function(){nB(this.labels());nB(this.Na());return OB.v.I.call(this)};OB.prototype.K=function(a){OB.v.K.call(this,a);this.Wa(a.startAngle)};OB.prototype.o=function(){var a=OB.v.o.call(this);a.startAngle=this.Wa();return a};E("anychart.axes.polar",function(){var a=new OB;a.C(Wq().standalones.polarAxis);return a});OB.prototype.draw=OB.prototype.I;OB.prototype.parentBounds=OB.prototype.R;OB.prototype.container=OB.prototype.A;OB.prototype.startAngle=OB.prototype.Wa;function PB(a,b){Z.call(this);this.Hc=a;this.Ub=b;this.ed=["value"];this.state=new ob(this);this.h=Nl(0,0,0,0);this.a=this.path=null;this.Gb=8208}G(PB,Z);g=PB.prototype;g.ia=Z.prototype.ia|64;g.$=Z.prototype.$|8208;g.Tp=function(){var a=this.G(),b=[];if(a.select(this.Dd()))for(var c=0;c<this.ed.length;c++)b.push(a.get(this.ed[c]));return b};g.name=function(a){return m(a)?(this.Zg!=a&&(this.Zg=a,this.ca(64)),this):this.Zg};g.S=function(){return this.wc?-1:Lf(this.Hc.sd(),this)};g.wg=function(a){return m(a)?(this.ka=a,this):this.ka};g.id=function(a){return m(a)?(this.Qb=a,this):this.Qb||String(this.ka)};g.Dd=function(a){return m(a)?(this.Ub!=a&&(this.Ub=a,T(this,16,1)),this):this.Ub};g.ZN=function(){return this.Hc};g.G=function(){return this.Hc.G()};g.Ya=function(){return this.Hc.data().G()};g.scale=function(a){if(m(a)){if(!(a instanceof ru))return Rc(5,void 0,["Pointer scale"]),this;this.ha!=a&&(this.ha&&et(this.ha,this.Xj,this),(this.ha=a)&&R(this.ha,this.Xj,this),T(this,16,1));return this}this.ha||this.scale(this.Hc.scale());return this.ha};g.Xj=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)?b|=1:this.ca(b);T(this,16,b)};function QB(a){return"vertical"==a.j}g.mw=function(){var a=this.scale(),b=a.zj();return a.transform(b)};g.$i=function(){var a=this.Hc.G();a.select(this.Dd());a=a.get("value");return ub(this.scale().transform(a),0,1)};g.label=function(a){this.b||(this.b=new Tt,this.b.La(this),R(this.b,this.JK,this));return m(a)?(this.b.C(a),T(this,8192,1),this):this.b};g.hk=function(a){this.hb||(this.hb=new Tt);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.hb.C(a),this):this.hb};g.rk=function(a){this.eb||(this.eb=new Tt);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.eb.C(a),this):this.eb};g.JK=function(a){Y(a,1)&&T(this,8192,1)};g.color=function(a,b,c,d,e,f,h){if(m(a)){var k=null===a?null:Bn.apply(null,arguments);this.Ai!=k&&(this.Ai=k,T(this,16,65));return this}return this.Ai||this.Zm||"blue"};g.Fe=function(a){this.Zm=a};g.Wk=function(a,b){var c;A(a)?(c=1<arguments.length?this.Wk.apply(this,zb(arguments,1)):this.color(),c={index:this.G().S(),sourceColor:c,isVertical:QB(this)},c=a.call(c)):c=a;return c};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,65));return this}return this.g};g.Lb=function(a,b,c,d,e,f,h){return m(a)?(this.ua=A(a)?a:Bn.apply(null,arguments),this):this.ua};g.Ac=function(a,b,c,d,e,f,h){return m(a)?(this.Nb=A(a)?a:Bn.apply(null,arguments),this):this.Nb};function RB(a,b,c){var d=a.G();d.select(a.Dd());var e=b&&d.get("fill")||a.fill();a=c&Ha?a.Wk(b&&d.get("selectFill")||a.Ac()||e,e):c&H?a.Wk(b&&d.get("hoverFill")||a.Lb()||e,e):a.Wk(e);return Bn(a)}g.stroke=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.c&&(this.c=f,T(this,16,65));return this}return this.c};g.Db=function(a,b,c,d,e){return m(a)?(this.qb=A(a)?a:Gn.apply(null,arguments),this):this.qb};g.lc=function(a,b,c,d,e){return m(a)?(this.Sb=A(a)?a:Gn.apply(null,arguments),this):this.Sb};function SB(a,b,c){var d=a.G();d.select(a.Dd());var e=b&&d.get("stroke")||a.stroke();a=c&Ha?a.Wk(b&&d.get("selectStroke")||a.lc()||e,e):c&H?a.Wk(b&&d.get("hoverStroke")||a.Db()||e,e):a.Wk(e);return Gn(a)}g.Ua=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.H&&(this.H=e,T(this,16,65));return this}return this.H};g.Hb=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!==this.Sa&&(this.Sa=e);return this}return this.Sa};g.cc=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!==this.nb&&(this.nb=e);return this}return this.nb};g.Vb=function(a,b){var c=this.G();c.select(this.Dd());var d;a&&m(c.get("hatchFill"))?d=c.get("hatchFill"):d=this.Ua();var e;b&Ha?a&&m(c.get("selectHatchFill"))?e=c.get("selectHatchFill"):m(this.cc())?e=this.cc():e=d:b&H?a&&m(c.get("hoverHatchFill"))?e=c.get("hoverHatchFill"):m(this.Hb())?e=this.Hb():e=d:e=d;var c=e,f;d=this.G().S();A(c)?(f=this.Ta||Hn("diagonalBrick"),f=Hn(c.call({index:d,sourceHatchFill:f,isVertical:QB(this)}))):ia(c)?f=c?this.Ta:null:f=Hn(c);return f};g.ah=function(a){this.Ta=Hn(a)};g.width=function(a){return m(a)?(a=xr(a),this.sa!=a&&(this.sa=a,T(this,16,9)),this):this.sa};g.offset=function(a){return m(a)?(a=xr(a),this.M!=a&&(this.M=a,T(this,16,9)),this):this.M};g.Ki=function(){T(this,this.Gb)};function TB(a,b){var c=a.R(),d;QB(a)?(d=c.ra(),c=-c.height):(d=c.left,c=c.width);return d+b*c}g.Gy=function(){return[0,0,0,0]};function UB(a,b){var c=a.scale().bc();if(QB(a))if(c)switch(b){case"leftTop":return"leftBottom";case"leftCenter":return"leftCenter";case"leftBottom":return"leftTop";case"centerTop":return"centerBottom";case"center":return"center";case"centerBottom":return"centerTop";case"rightTop":return"rightBottom";case"rightCenter":return"rightCenter";case"rightBottom":return"rightTop"}else return b;switch(b){case"leftTop":return c?"leftTop":"rightTop";case"leftCenter":return"centerTop";case"leftBottom":return c?"rightTop":"leftTop";case"centerTop":return c?"leftCenter":"rightCenter";case"center":return"center";case"centerBottom":return c?"rightCenter":"leftCenter";case"rightTop":return c?"leftBottom":"rightBottom";case"rightCenter":return"centerBottom";case"rightBottom":return c?"rightBottom":"leftBottom"}return b}g.Nr=function(a){this.D||(this.D=new ay,R(this.D,this.KK,this));return m(a)?(this.D.C(a),this):this.D};g.KK=function(a){var b=64,c=!1;Y(a,8)&&(b|=8,c=!0);this.ca(b,c)};g.remove=function(){this.U&&this.U.parent(null);this.b&&this.b.remove()};g.Ei=ba;g.en=ba;g.Ep=function(a){var b=RB(this,!0,a),c=SB(this,!0,a);a=this.Vb(!0,a);this.path.fill(b);this.path.stroke(c);this.a.fill(a);this.a.stroke("none")};g.Ox=function(){this.path?this.path.clear():(this.path=this.U.path(),this.tf(this.path));this.a?this.a.clear():(this.a=this.U.path(),this.a.fb(!0))};function VB(a,b){var c=a.G(),d=!!(b&Ha),e=!d&&!!(b&H),f;f=d?a.rk():e?a.hk():a.label();var h=oB(a.label(),0),k=c.get("label"),l=e?c.get("hoverLabel"):null,c=d?c.get("selectLabel"):null,n=k&&m(k.enabled)?k.enabled:null,p=c&&m(c.enabled)?c.enabled:null,q=l&&m(l.enabled)?l.enabled:null;if(e||d?e?null===q?fa(a.hk().enabled())?null===n?a.label().enabled():n:a.hk().enabled():q:null===p?fa(a.rk().enabled())?null===n?a.label().enabled():n:a.rk().enabled():p:null===n?a.label().enabled():n){var d=!!(b&Ha),n=!d&&!!(b&H),q=a.G(),t=q.get("label"),p=n?q.get("hoverLabel"):null,q=d?q.get("selectLabel"):null,t=t&&t.position?t.position:null,p=p&&p.position?p.position:null,q=q&&q.position?q.position:null,d=n||d?n?p?p:a.hk().position()?a.hk().position():t?t:a.label().position():q?q:a.rk().position()?a.rk().position():t?t:a.label().position():t?t:a.label().position(),d=UB(a,Yb(d,void 0)),d={value:Ar(a.h,d)},n=a.Kb();h?(nB(a.label(),0),h.Ed(n),h.Eb(d)):h=a.label().add(n,d,0);h.fd();tB(h,f);h.xd(k,e?l:c);h.I()}else h&&a.label().clear(h.S())}
g.I=function(){if(!this.tb())return this;var a=this.A();this.U||(this.U=oo(),wv(this,this.U));W(this,8)&&(this.U.zIndex(this.zIndex()),this.b&&this.b.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.U.parent(a),this.b&&this.b.A(a),U(this,2));W(this,4)&&U(this,4);a=this.G();W(this,16)&&(this.Ox(),a.select(this.Dd())&&(QB(this)?this.Ei():this.en(),this.Ep(cb(this.state,0))),U(this,16));W(this,8192)&&(a.select(this.Dd())?(VB(this,cb(this.state,0)),this.label().I()):this.label().clear(),U(this,8192));return this};g.yb=function(a){return m(a)?this:this.Hc.Dc().yb()};g.dc=function(a){return m(a)?(a=null===a?null:Vb(a),a!=this.ea&&(this.ea=a),this):this.ea};g.Fd=function(){return!0};g.Bd=function(a){this.Ep(a)};g.Qd=function(a){this.Ep(a);VB(this,a)};g.Kf=ba;g.Lf=function(){return!0};g.tf=function(a){a&&(a.tag={Y:this,index:0})};g.Me=function(a){(a=this.$d(a))&&this.dispatchEvent(a)};g.$d=function(a){var b=a.type;switch(b){case"mouseout":b="pointmouseout";break;case"mouseover":b="pointmouseover";break;case"mousemove":b="pointmousemove";break;case"mousedown":b="pointmousedown";break;case"mouseup":b="pointmouseup";break;case"click":case"touchstart":b="pointclick";break;case"dblclick":b="pointdblclick";break;default:return null}a.pointIndex=0;var c=this.Ya();c.select(this.Dd())||c.reset();return{type:b,actualTarget:a.target,series:this,iterator:c,pointIndex:0,target:this,originalEvent:a}};g.Kb=function(a){this.G().select(this.Dd());if(!this.F||a)this.F=new bd(this,this.ed);this.F.Bf();return this.F};g.Jf=function(){return this.Kb()};g.gc=function(){if(!ab(this.state,H)&&!lb(this.state.Cc(),H)||!this.enabled())return this;this.state.g(H,this.state.a==Ua?NaN:void 0);return this};g.rf=function(a){if(!this.enabled())return this;null!=a||(a=0);y(a)&&(this.gc(),hb(this.state,0));return this};g.hc=function(){if(!this.enabled())return this;this.state.g(Ha,this.state.a==Ua?NaN:void 0);return this};g.vf=function(a,b){if(!this.enabled())return this;null!=a||(a=0);var c;m(b)&&(c=!(b&&b.shiftKey));y(a)&&this.state.wd(Ha,0,c?H:void 0);return this};g.o=function(){var a=PB.v.o.call(this);a.pointerType=this.qa();m(this.name())&&(a.name=this.name());a.width=this.width();a.offset=this.offset();a.dataIndex=this.Dd();a.label=this.label().o();a.hoverLabel=this.hk().o();a.selectLabel=this.rk().o();a.legendItem=this.Nr().o();this.Qb&&(a.id=this.id());this.ka!=this.S()&&(a.autoIndex=this.wg());this.Ai&&(a.color=P(this.Ai));A(this.fill())?K(8,null,["Pointer fill"]):a.fill=P(this.fill());A(this.Lb())?K(8,null,["Pointer hoverFill"]):a.hoverFill=P(this.Lb());A(this.Ac())?K(8,null,["Pointer selectFill"]):a.selectFill=P(this.Ac());A(this.stroke())?K(8,null,["Pointer stroke"]):a.stroke=P(this.stroke());A(this.Db())?K(8,null,["Pointer hoverStroke"]):a.hoverStroke=P(this.Db());A(this.lc())?K(8,null,["Pointer selectStroke"]):a.selectStroke=P(this.lc());A(this.Ua())?K(8,null,["Pointer hatchFill"]):m(this.Ua())&&(a.hatchFill=P(this.Ua()));A(this.Hb())?K(8,null,["Pointer hoverHatchFill"]):m(this.Hb())&&(a.hoverHatchFill=P(this.Hb()));A(this.cc())?K(8,null,["Pointer selectHatchFill"]):m(this.cc())&&(a.selectHatchFill=P(this.cc()));return a};g.K=function(a){PB.v.K.call(this,a);this.id(a.id);this.wg(a.autoIndex);this.name(a.name);this.width(a.width);this.offset(a.offset);this.Dd(a.dataIndex);this.label(a.label);this.hk(a.hoverLabel);this.rk(a.selectLabel);this.Nr(a.legendItem);this.color(a.color);this.fill(a.fill);this.Lb(a.hoverFill);this.Ac(a.selectFill);this.stroke(a.stroke);this.Db(a.hoverStroke);this.lc(a.selectStroke);this.Ua(a.hatchFill);this.Hb(a.hoverHatchFill);this.cc(a.selectHatchFill)};g.V=function(){Bd(this.path,this.a);this.a=this.path=null;Ad(this.U);this.U=null;this.ha&&et(this.ha,this.Xj,this);this.ha=null;Bd(this.b,this.hb,this.eb);this.eb=this.hb=this.b=null;Ad(this.D);this.D=null;PB.v.V.call(this)};PB.prototype.scale=PB.prototype.scale;PB.prototype.legendItem=PB.prototype.Nr;PB.prototype.name=PB.prototype.name;PB.prototype.dataIndex=PB.prototype.Dd;PB.prototype.getGauge=PB.prototype.ZN;PB.prototype.color=PB.prototype.color;PB.prototype.fill=PB.prototype.fill;PB.prototype.hoverFill=PB.prototype.Lb;PB.prototype.selectFill=PB.prototype.Ac;PB.prototype.stroke=PB.prototype.stroke;PB.prototype.hoverStroke=PB.prototype.Db;PB.prototype.selectStroke=PB.prototype.lc;PB.prototype.hatchFill=PB.prototype.Ua;PB.prototype.hoverHatchFill=PB.prototype.Hb;PB.prototype.selectHatchFill=PB.prototype.cc;PB.prototype.label=PB.prototype.label;PB.prototype.hoverLabel=PB.prototype.hk;PB.prototype.selectLabel=PB.prototype.rk;PB.prototype.width=PB.prototype.width;PB.prototype.offset=PB.prototype.offset;PB.prototype.hover=PB.prototype.rf;PB.prototype.unhover=PB.prototype.gc;PB.prototype.select=PB.prototype.vf;PB.prototype.unselect=PB.prototype.hc;function WB(a,b){PB.call(this,a,b)}G(WB,PB);WB.prototype.qa=function(){return"bar"};WB.prototype.Tp=function(){var a=WB.v.Tp.call(this);a.push(0);return a};WB.prototype.Ei=function(){var a=this.R(),b=QB(this),c,d,e=this.scale().bc();b?(b=a.left,d=b+a.width,c=TB(this,this.$i()),a=TB(this,this.mw()),this.h.left=b,this.h.top=e?a:c):(b=TB(this,this.mw()),d=TB(this,this.$i()),c=a.top,a=c+a.height,this.h.left=e?d:b,this.h.top=c);this.h.width=Math.abs(d-b);this.h.height=Math.abs(c-a);this.path.clear().moveTo(b,c).lineTo(d,c).lineTo(d,a).lineTo(b,a).lineTo(b,c).close();this.a.Pb(this.path.o())};WB.prototype.en=WB.prototype.Ei;function XB(a,b){PB.call(this,a,b);this.ma=this.W=this.T=null;this.w={};this.Gb|=1048576}G(XB,PB);g=XB.prototype;g.$=PB.prototype.$|1048576;g.Ox=function(){YB(this);this.a?this.a.clear():this.a=this.U.path().zIndex(99);this.B||(this.B=this.U.rect().zIndex(100).stroke("none").fill(xq));this.tf(this.B)};function YB(a){for(var b in a.w)Ad(a.w[b]);a.w={}}
g.Ei=function(){var a,b;YB(this);W(this,1048576)&&(this.m&&(this.m.Uc()?(this.m.wf(),this.m.xb(this.scale().zj(),this.scale().kk()),this.m.pf()):(this.m.bi(),this.m.xb(this.scale().zj(),this.scale().kk()))),U(this,1048576));var c=this.R();this.h=c;this.B.Jg(c);var d=QB(this),e=d?c.height:c.width,f=Q(this.Bg(),e),h=Q(this.size(),e),k=Q(this.count(),e);isNaN(f)||isNaN(h)?isNaN(f)||isNaN(k)?isNaN(h)||isNaN(k)||(f=(e-k*h)/(k-1)):h=(e-(k-1)*f)/k:(k=Math.floor((e+f)/(h+f)),b=e/(e-(e-(k*(h+f)-f))),h*=b,f*=b);var l,n,p,q,t=null;d?(e=c.left,l=c.left+c.width,n=c.top+c.height-h,c=n+h):(e=c.left,l=e+h,n=c.top,c=c.top+c.height);p=this.$i();for(var v=0;v<k;v++)q=xl(ub(ZB(this,d?c:e),0,1),7),b=xl(ub(ZB(this,d?n:l),0,1),7),a=this.ha.ac(b),a=this.m.Vn(a),(b=this.ha.bc()?b<=p:q>=p)&&A(this.J)&&(a=this.J.call({color:a},a)),null===a&&(a="none"),null===t?(t=a,a in this.w?this.w[a].clear():this.w[a]=this.U.path().clear(),a=this.w[a]):(a!=t&&(t=a,a in this.w?this.w[a].clear():this.w[a]=this.U.path().clear()),a=this.w[a]),a.moveTo(e,n).lineTo(l,n).lineTo(l,c).lineTo(e,c).lineTo(e,n),b||this.a.moveTo(e,n).lineTo(l,n).lineTo(l,c).lineTo(e,c).lineTo(e,n),d?(c=n-f,n=c-h):(e=l+f,l=e+h)};g.en=XB.prototype.Ei;g.Ep=function(a){for(var b in this.w)this.w[b].stroke("none").fill(b);a=this.Vb(!0,a);this.a.stroke("none").fill(a)};g.qa=function(){return"led"};function ZB(a,b){var c=a.R(),d;QB(a)?(d=c.ra(),c=-c.height):(d=c.left,c=c.width);return(b-d)/c}
g.Qs=function(a){return m(a)?(this.J!=a&&(this.J=a,T(this,16,1)),this):this.J};g.Bg=function(a){return m(a)?(a=null===a?a:xr(a),this.T!=a&&(this.T=a,T(this,16,1)),this):this.T};g.size=function(a){return m(a)?(a=null===a?a:xr(a),this.W!=a&&(this.W=a,T(this,16,1)),this):this.W};g.count=function(a){return m(a)?(this.ma!=a&&(this.ma=a,T(this,16,1)),this):this.ma};g.ad=function(a){return m(a)?(this.m!=a&&(this.m&&et(this.m,this.xC,this),(this.m=a)&&R(this.m,this.xC,this),T(this,1048592,1)),this):this.m};g.xC=function(a){Y(a,6)&&T(this,1048592,1)};g.o=function(){var a=XB.v.o.call(this);a.gap=this.Bg();a.size=this.size();a.count=this.count();a.colorScale=this.ad().o();A(this.Qs())?K(8,null,["Pointer dimmer"]):a.dimmer=this.Qs();return a};g.K=function(a){XB.v.K.call(this,a);this.Bg(a.gap);this.size(a.size);this.count(a.count);this.Qs(a.dimmer);if("colorScale"in a){a=a.colorScale;var b=null;u(a)?b=Pw(a,null):B(a)&&(b=Pw(a.type,null))&&b.C(a);b&&this.ad(b)}};g.V=function(){Ad(this.B);this.B=null;YB(this);Ad(this.m);this.m=null;XB.v.V.call(this)};XB.prototype.dimmer=XB.prototype.Qs;XB.prototype.gap=XB.prototype.Bg;XB.prototype.size=XB.prototype.size;XB.prototype.count=XB.prototype.count;XB.prototype.colorScale=XB.prototype.ad;function $B(a,b){PB.call(this,a,b)}G($B,PB);g=$B.prototype;g.Ei=function(){var a=this.R(),b=je(this.type()),c=QB(this),d,e;c?(d=a.left+a.width/2,e=TB(this,this.$i())):(d=TB(this,this.$i()),e=a.top+a.height/2);a=c?a.width:a.height;this.h.left=d-a/2;this.h.top=e-a/2;this.h.width=a;this.h.height=a;this.path.clear();b.call(null,this.path,d,e,a/2);this.a.Pb(this.path.o())};g.en=$B.prototype.Ei;g.qa=function(){return"marker"};g.type=function(a){return m(a)?(this.m!=a&&(null===a||(a=ec(a,"star5")),this.m=a,T(this,16,1)),this):this.m||this.Nh};function aC(a,b){return m(b)?(a.Nh=b,a):a.Nh}g.K=function(a){$B.v.K.call(this,a);this.type(a.type)};g.o=function(){var a=$B.v.o.call(this);this.m&&(a.type=this.type());return a};$B.prototype.type=$B.prototype.type;function bC(a,b){PB.call(this,a,b);this.ed=["high","low"]}G(bC,WB);bC.prototype.qa=function(){return"rangeBar"};bC.prototype.mw=function(){var a=this.Hc.G();a.select(this.Dd());a=a.get("low");return ub(this.scale().transform(a),0,1)};bC.prototype.$i=function(){var a=this.Hc.G();a.select(this.Dd());a=a.get("high");return ub(this.scale().transform(a),0,1)};bC.prototype.Tp=function(){var a=bC.v.Tp.call(this);a.pop();return a};function cC(a,b){PB.call(this,a,b);this.Ia=this.ta=this.Ea=this.fa=this.W=this.T=this.ma=this.da=this.J=this.w=this.m=null}G(cC,PB);g=cC.prototype;g.qa=function(){return"tank"};g.Gy=function(a){a=.1488095238*Q(this.width(),a);var b,c,d,e;b=c=d=e=0;QB(this)?c=e=a:b=d=a;return[b,c,d,e]};function dC(a){return 0>=a?0:a*Math.round(1E15*Math.sin(90*Math.PI/180))/1E15}
function eC(a,b,c){if(QB(a)){a=c.width/2;var d=.1488095238*c.width,e=c.left+c.width,f=c.top+c.height;b.moveTo(c.left,c.top).oc(e,c.top,a,d,!1,!0).lineTo(e,f).oc(c.left,f,a,d,!1,!0)}else a=.1488095238*c.height,d=c.height/2,e=c.top+c.height/2+dC(d),b.moveTo(c.left+(0>=a?0:a*Math.round(1E15*Math.cos(90*Math.PI/180))/1E15),e).oc(c.left,c.top,a,d,!0,!0).lineTo(c.left+c.width,c.top).oc(c.left+c.width,e,a,d,!1,!0)}
function fC(a,b,c){if(QB(a)){a=c.width/2;var d=.1488095238*c.width;b.moveTo(c.left,c.top);b.oc(c.left,c.top-.1,a,d,!0,!1)}else{a=.1488095238*c.height;var d=c.height/2,e=c.top+c.height/2+dC(d);b.moveTo(c.left+c.width+1.5,c.top+1);b.oc(c.left+c.width+1.5,e,a,d,!0,!1)}}function gC(a,b,c){if(QB(a))b.moveTo(c.left,c.top),b.oc(c.left,c.top-.1,c.width/2,.1488095238*c.width,!0,!1);else{a=.1488095238*c.height;var d=c.height/2;b.moveTo(c.left+c.width-1,c.top);b.oc(c.left+c.width-1+.1,c.top,a,d,!0,!1)}}
g.Ox=function(){this.m||(this.m=this.U.Of());this.w||(this.w=this.U.Of());this.scale().bc()?(this.w.zIndex(0),this.m.zIndex(1)):(this.m.zIndex(0),this.w.zIndex(1));this.J?this.J.clear():this.J=this.m.path().zIndex(0);this.da?this.da.clear():this.da=this.m.path().zIndex(1);this.ma?this.ma.clear():this.ma=this.m.path().zIndex(2);this.T?this.T.clear():this.T=this.m.path().zIndex(3);this.W?this.W.clear():this.W=this.m.path().zIndex(4);this.fa?this.fa.clear():this.fa=this.w.path().zIndex(0);this.Ea?this.Ea.clear():this.Ea=this.w.path().zIndex(1);this.ta?this.ta.clear():this.ta=this.w.path().zIndex(2);this.Ia?this.Ia.clear():this.Ia=this.w.path().zIndex(3);this.a?this.a.clear():this.a=this.U.path();this.tf(this.U)};g.Ei=function(){var a=QB(this),b=this.R(),c=this.scale(),d=c.bc(),e=TB(this,this.$i()),f=TB(this,c.transform(c.zj())),c=TB(this,c.transform(c.kk()));a?d?(this.B=Nl(b.left,f,b.width,e-f),this.X=Nl(b.left,e,b.width,c-e)):(this.B=Nl(b.left,e,b.width,f-e),this.X=Nl(b.left,c,b.width,e-c)):d?(this.B=Nl(e,b.top,f-e,b.height),this.X=Nl(c,b.top,e-c,b.height)):(this.B=Nl(f,b.top,e-f,b.height),this.X=Nl(e,b.top,c-e,b.height));this.h=this.B;eC(this,this.J,this.B);fC(this,this.da,this.B);a=this.ma;b=this.B;QB(this)?(d=b.width/2,e=.1488095238*b.width,f=b.left+b.width,c=b.top+b.height,a.moveTo(b.left,c-1),a.oc(f,c,d,e,!1,!1)):(d=.1488095238*b.height,e=b.height/2,f=b.top+b.height/2+dC(e),a.moveTo(b.left+1,b.top),a.oc(b.left,f,d,e,!1,!1));eC(this,this.T,this.B);gC(this,this.W,this.B);eC(this,this.fa,this.X);fC(this,this.Ea,this.X);eC(this,this.ta,this.X);gC(this,this.Ia,this.X);this.a.Pb(this.J.o())};g.en=cC.prototype.Ei;var hC={thickness:1,opacity:.3,color:"#FFFFFF"},iC={angle:0,keys:[{color:"#FFFFFF",offset:"0",opacity:0},{color:"#FFFFFF",offset:"0.2",opacity:Number(160/255)},{color:"#FFFFFF",offset:"0.25",opacity:Number(140/255)},{color:"#FFFFFF",offset:"0.3",opacity:Number(30/255)},{color:"#FFFFFF",offset:"0.35",opacity:0},{color:"#FFFFFF",offset:"1",opacity:0}]},jC={angle:0,keys:[{color:"#FFFFFF",offset:"0",opacity:0},{color:"#FFFFFF",offset:"0.2",opacity:.3*Number(160/255)},{color:"#FFFFFF",offset:"0.25",opacity:.3*Number(140/255)},{color:"#FFFFFF",offset:"0.3",opacity:.3*Number(30/255)},{color:"#FFFFFF",offset:"0.35",opacity:0},{color:"#FFFFFF",offset:"1",opacity:0}]};cC.prototype.Ep=function(a){var b=QB(this),c=b?0:90,d=RB(this,!0,a),e=Cq(d),d=Bq(d),d={angle:c,keys:[{color:e,offset:"0",opacity:1},{color:e,offset:"0.05",opacity:1},{color:d,offset:"0.85",opacity:1},{color:d,offset:"0.85",opacity:1},{color:e,offset:"1",opacity:1}]};this.J.fill(d);this.J.stroke("none");this.da.fill("none");this.da.stroke(hC);iC.angle=c;this.T.fill(iC);this.T.stroke("none");d={angle:b?50:140,keys:[{color:"#FFFFFF",offset:"0",opacity:.1},{color:e,offset:"1",opacity:1}]};this.W.fill(d);this.W.stroke("none");this.ma.fill("none");this.ma.stroke(hC);e=Cq("#FFFFFF");d=Bq("#FFFFFF");d={angle:-c,keys:[{color:e,offset:"0",opacity:.3},{color:e,offset:"0.05",opacity:.3},{color:d,offset:"0.85",opacity:.3},{color:d,offset:"0.85",opacity:.3},{color:e,offset:"1",opacity:.3}]};this.fa.fill(d);this.fa.stroke("none");this.Ea.fill("none");this.Ea.stroke(hC);jC.angle=c;this.ta.fill(jC);this.ta.stroke("none");d={angle:b?50:140,keys:[{color:"#FFFFFF",offset:"0",opacity:.03},{color:e,offset:"1",opacity:.3}]};this.Ia.fill(d);this.Ia.stroke("none");a=this.Vb(!0,a);this.a.fill(a);this.a.stroke("none")};cC.prototype.V=function(){this.Ia=this.ta=this.Ea=this.fa=this.W=this.T=this.ma=this.da=this.J=null;Bd(this.m,this.w);this.w=this.m=null;cC.v.V.call(this)};function kC(a,b){PB.call(this,a,b)}G(kC,PB);g=kC.prototype;g.Ei=function(){var a=this.R(),b=this.scale().bc(),c=a.left,d=a.left+a.width,e=TB(this,this.$i()),a=b?a.top-this.m:a.top+a.height+this.m;this.h.left=c;this.h.top=b?a:e;this.h.width=Math.abs(d-c);this.h.height=Math.abs(a-e);this.path.clear().moveTo(c,e).lineTo(d,e).lineTo(d,a).oc(c,a,this.B,this.B,!0,!b).lineTo(c,e).close();this.a.Pb(this.path.o())};g.en=function(){var a=this.R(),b=this.scale().bc(),c=a.top,d=a.top+a.height,e=TB(this,this.$i()),a=b?a.left+a.width+this.m:a.left-this.m;this.h.left=b?e:a;this.h.top=c;this.h.width=Math.abs(a-e);this.h.height=Math.abs(d-c);this.path.clear().moveTo(e,c).lineTo(e,d).lineTo(a,d).oc(a,c,this.B,this.B,!0,!b).lineTo(e,c).close();this.a.Pb(this.path.o())};g.qa=function(){return"thermometer"};g.Gy=function(a,b){var c=Q(this.width(),a),d=Q(this.ys(),c),e=Q(this.xs(),b);d<c/2&&(d=c/2);this.B=d;this.m=e;var c=d+Math.sqrt(3)*d/2+e,f,h,d=e=f=h=0,k=this.scale().bc();QB(this)?k?e=c:h=c:k?f=c:d=c;return[d,e,f,h]};g.ys=function(a){return m(a)?(a=xr(a),this.J!=a&&(this.J=a,T(this,16,9)),this):this.J};g.xs=function(a){return m(a)?(a=xr(a),this.w!=a&&(this.w=a,T(this,16,9)),this):this.w};g.K=function(a){kC.v.K.call(this,a);this.ys(a.bulbRadius);this.xs(a.bulbPadding)};g.o=function(){var a=kC.v.o.call(this);a.bulbRadius=this.ys();a.bulbPadding=this.xs();return a};kC.prototype.bulbRadius=kC.prototype.ys;kC.prototype.bulbPadding=kC.prototype.xs;function lC(a,b,c,d){Z.call(this);this.g=a;this.hb=b;this.la={};this.T={};this.T.pointWidth="90%";this.ta={};this.W=!1;this.Ub={};this.Sa=this.ua=null;this.m=c;this.M=this.Gb=null;this.ts(d)}G(lC,by);lC.prototype.$=by.prototype.$|32672;lC.prototype.ia=by.prototype.ia|2132;var mC={},nC={};g=lC.prototype;g.zw=NaN;g.EC=NaN;g.Wr=NaN;g.Vr=NaN;g.Aw=NaN;g.FC=NaN;g.Dq=function(a){return m(a)?((a=oC(this.g,a))&&a[0]!=this.m&&(this.m=a[0],this.ts(a[1]),T(this,4294967295,this.ia)),this):this.m};g.ts=function(a){Ad(this.c);Ad(this.b);this.Bb&&this.U&&!this.check(4)&&this.check(4,a)&&(Ad(this.U),this.U=null);this.Bb=a;this.c=new wa[a.Be](this);this.b=new(2==a.Te?Kq:Lq)(this,a.Ue,!!(a.Ae&131072),null,a.fe);this.ta=pC(this.hb)[this.m]||{};this.ei()&&(this.Sb={});this.T.xPointPosition=.5;X(this);this.us(this.ta,!0);this.O(!1)};g.us=function(a,b){this.check(2097152)&&(this.labels().C(a.labels),this.kb().C(a.hoverLabels),this.Ib().C(a.selectLabels));this.we()&&(this.aa().C(a.markers),this.Xa().C(a.hoverMarkers),this.ob().C(a.selectMarkers));this.ei()&&(this.Aj().C(a.outlierMarkers),this.cq().C(a.hoverOutlierMarkers),this.Cq().C(a.selectOutlierMarkers));this.xf()&&this.error().C(a.error);b&&this.op().reset();this.op().C(a.legendItem);this.rb().C(a.tooltip);this.clip(a.clip);this.zIndex(a.zIndex);this.Ye(a.a11y||pC(this.hb).a11y)};g.S=function(){return this.wc?-1:Lf(this.hb.sd(),this)};g.wg=function(a){return m(a)?(this.ka=a,this):this.ka};g.id=function(a){return m(a)?(a=String(a),this.Qb!=a&&(this.Qb=a,this.ca(64)),this):this.Qb||String(this.ka)};g.name=function(a){return m(a)?(a=String(a),this.Zg!=a&&(this.Zg=a,this.ca(64)),this):this.Zg||"Series "+this.S()};g.l=function(a,b){this.j||(this.j={});if(m(a)){if(m(b)){var c=this.j[a];m(c)&&c==b||(this.j[a]=b);return this}return B(a)?(this.j!=a&&(this.j=a),this):this.j[a]}return this.j};g.check=function(a,b,c){return!!(a&(b||this.Bb).Ae|a&(c||this.c).qe)};g.Pq=function(){return this.check(32)};g.xf=function(){return this.check(128)&&this.check(524288)};g.ei=function(){return this.check(256)};g.we=function(){return this.check(1048576)};g.og=function(){return this.check(2)};g.Yh=function(){return this.check(1024)};g.Fd=function(){return this.check(512)};g.Lf=function(){return!0};g.uF=function(){return!this.check(4)};g.DC=function(){return this.Yh()?Q(this.td("pointWidth"),qC(this)):0};function rC(a){return a.Ta||Hn("diagonalBrick")}g.Dg=function(){return this.ia};function sC(a,b){a.T.pointWidth=String(100*b)+"%"}g.Fe=function(a){this.T.color=a;this.labels().Fe(tC(this));a=this.aa();var b=this.md();a.M=b;a=this.aa();b=this.Ud();a.W=b;a=this.Aj();b=Iq(["fill"],1)(this,Ua,!0);a.M=b;a=this.Aj();b=Cq(this.Aj().fill());a.W=b};function uC(a,b){a.T.xPointPosition=b}g.Ig=function(a){this.T.type=a;this.aa().Nh=a};g.ou=function(a,b,c,d){this.zw=a;this.EC=b;this.kc=c;this.qc=d};g.ah=function(a){this.Ta=Hn(a)};g.pe=function(a,b,c,d){this.w||(this.w=new xu,L(this,this.w));return m(a)?(this.w.C.apply(this.w,arguments),this):this.w};function Wd(a,b,c){var d;c&Ha?d="selectWhiskerWidth":c&H&&(d="hoverWhiskerWidth");var e;d&&(a.check(262144)&&(e=b.get(d)),m(e)||(e=a.td(d)));m(e)||(a.check(262144)&&(e=b.get("whiskerWidth")),m(e)||(e=a.td("whiskerWidth")));return Q(e,a.Nb)}
g.zp=function(a){if(W(this,512)){this.Wr=Number.POSITIVE_INFINITY;this.Vr=Number.NEGATIVE_INFINITY;for(var b=gl(this);b.advance();){var c=Number(b.get("size"));!isNaN(c)&&(0<=c||this.td("displayNegative"))&&(c=Math.abs(c),c>this.Vr&&(this.Vr=c),c<this.Wr&&(this.Wr=c))}U(this,512)}a[0]=Math.min(a[0],this.Wr);a[1]=Math.max(a[1],this.Vr)};function vC(a,b){var c=0>b;b=Math.abs(b);var d=(b-a.zw)/(a.EC-a.zw);if(isNaN(d)||!isFinite(d))d=.5;b=a.Aw+d*(a.FC-a.Aw);return c?-b:b}
function Hd(a){return D(a.ul())+"_"+D(a.ba())}g.Uv=function(){return this.U};g.Hh=function(){return this.g};g.G=function(){return this.de||this.Ya()};g.Ya=function(){return this.de=gl(this)};g.ul=function(){return this.g.Z()};g.ba=function(a){if(m(a))return a instanceof vb||(a=null),this.Da!=a&&(this.Da&&et(this.Da,this.Xj,this),(this.Da=a)&&R(this.Da,this.Xj,this),T(this,1024,5)),this;this.Da||this.ba(this.hb.ba());return this.Da};g.Xj=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)?b|=1:this.ca(b);T(this,1024,b)};g.$K=function(a,b){return this.kf(this.ul().transform(a,b),!0)};g.GC=function(a,b){return this.kf(this.ba().transform(a,b),!1)};g.error=function(a){this.xf()||K(12,void 0,[this.Dq()]);this.X||(this.X=new pu(this),R(this.X,this.YK,this));return m(a)?(this.X.C(a),this):this.X};g.YK=function(a){var b=0;Y(a,1)&&(b|=1);Y(a,4)&&(b|=4);T(this,16,b)};g.Dz=function(){this.Sa||(this.Sa=[]);if(this.ua)for(;this.ua.length;){var a=this.ua.pop();a.clear();a.parent(null);this.Sa.push(a)}else this.ua=[]};g.gF=function(a){var b=this.G().S(),c=this.Sa.length?this.Sa.pop():Yn().zIndex(4E-6);this.U.Fc(c);this.b.pu(c,this.check(131072),b);c.stroke(a);c.fill(null);this.ua.push(c);return c};g.Vg=function(a){return this.error().Vg(a)};g.AC=function(a){var b=a?this.error().Yn():this.error().Tn(),c;A(b)&&(c=wC(this),b=Gn(b.call(c,c)));var d;this.check(262144)&&(a=a?"xErrorStroke":"valueErrorStroke",d=this.check(262144)?this.G().get(a):void 0,A(d)?(c=wC(this,b),d=Gn(d.call(c,c))):d&&(d=Gn(d)));return d||b};g.Tr=function(){if(su(this.error())){var a=this.error(),b=a.mode(),c=this.check(4096);switch(b){case"x":a.I(!0,c);break;case"value":a.I(!1,c);break;case"both":a.I(!0,c),a.I(!1,c)}}};g.clip=function(a){return m(a)?(null===a&&(a=!1),this.W!=a&&(this.W=a,T(this,4096,1)),this):this.W};g.op=function(a){this.D||(this.D=new ay,R(this.D,this.ZK,this));return m(a)?(this.D.C(a),this):this.D};g.ZK=function(a){var b=64,c=!1;Y(a,8)&&(b|=8,c=!0);this.ca(b,c)};g.Og=function(a){var b=this.op();U(b,b.$);var c=Qw.prototype.o.call(b);m(b.Sm())&&(c.iconTextSpacing=b.Sm());m(b.text())&&(c.text=b.text());m(b.Nm())&&(c.iconEnabled=b.Nm());m(b.Tm())&&(c.iconType=b.Tm());m(b.Rm())&&(c.iconSize=b.Rm());m(b.ti())&&(c.iconFill=b.ti());m(b.wi())&&(c.iconStroke=b.wi());m(b.vi())&&(c.iconHatchFill=b.vi());m(b.Qm())&&(c.iconMarkerType=b.Qm());m(b.Om())&&(c.iconMarkerFill=b.Om());m(b.Pm())&&(c.iconMarkerStroke=b.Pm());m(b.disabled())&&(c.disabled=b.disabled());var b=this.td("color"),d;this.kd||(this.kd=new ad(this));d=this.kd;c.disabled="disabled"in c?!!c.disabled:!this.enabled();c.meta=this.l();if(!u(c.text)){var e;A(a)&&(e=a.call(d,d));u(e)||(e=this.name());c.text=e}"marker"!=c.iconType||this.check(8192)||(c.iconFill=this.ga.fill(),c.iconStroke=this.ga.stroke());a=c.iconType;"marker"==a?(this.check(8192)?a=this.td("type"):this.we()?a=this.aa().type():a="square","line"==a&&(a="vline")):A(a)||(a=nc(a));c.iconType=a;c.iconEnabled="iconEnabled"in c?!!c.iconEnabled:!0;c.iconStroke=xC(this,c.iconStroke,2,b);c.iconFill=xC(this,c.iconFill,1,b);c.iconHatchFill=xC(this,c.iconHatchFill,3,rC(this));this.we()&&this.aa().enabled()?(c.iconMarkerType=c.iconMarkerType||this.ga.type(),c.iconMarkerFill=c.iconMarkerFill||this.ga.fill(),c.iconMarkerStroke=c.iconMarkerStroke||this.ga.stroke()):(c.iconMarkerType=null,c.iconMarkerFill=null,c.iconMarkerStroke=null);return c};function xC(a,b,c,d){if(b)A(b)?(a={sourceColor:d},b=b.call(a,a)):b=P(b);else{if(2==c)b="stroke";else if(3==c){if(a.check(8))return null;b="hatchFill"}else a.check(8)?(b="stroke",c=2):b="fill";b=Iq([b],c)(a,Ua,!0)}return b}g.rb=function(a){this.Mb||(this.Mb=new mA);return m(a)?(this.Mb.C(a),this):this.Mb};function Iq(a,b){if(!a)return yC;var c=b+"|"+a.join("|"),d=mC[c];if(!d){switch(b){case 2:d=Bt;break;case 3:d=Dt;break;default:case 1:d=Ct}mC[c]=d=oa(zC,a,d,3==b)}return d}
function zC(a,b,c,d,e,f){var h;e=mb(e);if(e!=Ua&&1<a.length&&(h=f?d.td(a[e]):AC(d,a[e],d.G(),b),c&&!0===h&&(h=b(rC(d))),m(h))){if(!A(h))return h;if(c)return c=BC(d),b(h.call(c,c))}a=f?d.td(a[0]):AC(d,a[0],d.G(),b);c&&!0===a&&(a=b(rC(d)));A(a)&&(c=c?BC(d):wC(d),a=b(a.call(c,c)));h&&(c=wC(d,a),a=b(h.call(c,c)));return a}function yC(){return"none"}
function fe(a,b,c){if(!a)return CC;var d=D(b)+"|"+a.join("|")+(c?"|"+c.join("|"):"");c=c||a;var e=nC[d];e||(nC[d]=e=function(d,e,k){k=mb(k);return k!=Ua&&1<a.length&&(k=AC(d,a[k],e,b,c[k]),m(k))?k:AC(d,a[0],e,b,c[0])});return e}function CC(){}g.Hi=function(a){return this.la[a]};g.mF=function(a){return this.ta[a]};g.vF=function(a){return null!=this.la[a]};g.td=function(a){var b=this.la[a];null==b&&(b=this.ta[a],null!=b||(b=this.T[a]));return b};g.Sz=function(a,b){this.la[a]=b};function AC(a,b,c,d,e){var f;a.check(262144)&&(f=c.get(b));m(f)?f=d(f):(b=e||b,f=a.la[b],null==f&&(f=a.ta[b],null!=f||(f=a.T[b]),m(f)&&(f=d(f))));return f}function DC(a,b,c,d,e,f){X(b);if(a.check(e)&&(!1!==b.enabled()||c||d)){if(b.A(a.A()),W(a,f))return b.clear(),b.R(a.F),!0}else b.clear(),b.A(null);b.I();b.O(!1);return!1}
function EC(a,b,c,d,e,f,h,k){var l,n;l=h.S();f&&((n=a.Sb[l])||(n=a.Sb[l]=[]));var p=b[0].call(a),q;if(h.l("missing"))k=!1,d=q=void 0,b=null;else{k=mb(k);a.check(262144)&&d?(d=h.get(c[0]),k!=Ua&&(q=h.get(c[k]))):d=q=void 0;c=d&&m(d.enabled)?d.enabled:null;var t=q&&m(q.enabled)?q.enabled:null;b=k==Ua?null:b[k].call(a);k=null===t?!b||fa(b.enabled())?null===c?p.enabled():c:b.enabled():t}if(k)if(e?(e=new dd(a,a.c.Fy(),a.xf()),e.Bf()):e=null,f)for(h=h.l("x"),l=0;l<f.length;l++)a={value:{x:h,y:f[l]}},n[l]=FC(p,n[l],a,e,b,d,q).S();else return f=q&&q.position||b&&b.position()||d&&d.position||p.position(),a=a.Nd(f,!0),FC(p,l,a,e,b,d,q);else if(f)for(l=0;l<n.length;l++)p.clear(n[l]);else p.clear(l);return null}function FC(a,b,c,d,e,f,h){var k=d?oB(a,b):wx(a,b);k?(d&&k.Ed(d),k.Eb(c)):k=d?a.add(d,c,b):a.add(c,b);k.fd();d?tB(k,e||a):zx(k,e||a);k.xd(f,h);k.I();return k}
g.labels=function(a){this.na||(this.na=new Tt,this.na.La(this),R(this.na,this.VK,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.kb=function(a){this.Sc||(this.Sc=new Tt);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Sc.C(a),this):this.Sc};g.Ib=function(a){this.Id||(this.Id=new Tt);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Id.C(a),this):this.Id};g.VK=function(a){Y(a,1)&&T(this,256,1)};g.zf=function(a,b){this.check(2097152)&&a.l("label",EC(this,[this.labels,this.kb,this.Ib],["label","hoverLabel","selectLabel"],this.uz(),!0,null,a,b))};function tC(a){a=Cq(a.td("color"));B(a)&&(a=a.color);return a||""}g.aa=function(a){this.ga||(this.ga=new tx,this.ga.La(this),R(this.ga,this.WK,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ga.C(a),this):this.ga};g.Xa=function(a){this.ub||(this.ub=new tx);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ub.C(a),this):this.ub};g.ob=function(a){this.vb||(this.vb=new tx);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.vb.C(a),this):this.vb};g.WK=function(a){Y(a,1)&&T(this,128,65)};g.CC=function(a,b){this.check(1048576)&&a.l("marker",EC(this,[this.aa,this.Xa,this.ob],["marker","hoverMarker","selectMarker"],this.vz(),!1,null,a,b))};g.md=function(){var a=Iq([this.check(8)?"stroke":"fill"],1)(this,Ua,!0);return Gq(a,1,!0)};g.Ud=function(){return Cq(this.aa().fill())};g.Aj=function(a){this.H||(this.H=new tx,this.H.La(this),R(this.H,this.IP,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.H.C(a),this):this.H};g.cq=function(a){this.Ea||(this.Ea=new tx);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Ea.C(a),this):this.Ea};g.Cq=function(a){this.nb||(this.nb=new tx);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.nb.C(a),this):this.nb};g.IP=function(a){Y(a,1)&&T(this,128,1)};g.gy=function(a,b){var c;this.check(256)&&(c=a.l("outliers"))&&c.length&&EC(this,[this.Aj,this.cq,this.Cq],["outlierMarker","hoverOutlierMarker","selectOutlierMarker"],this.wz(),!1,c,a,b)};function GC(a,b){return+ef(a.Sb,function(a){return Qf(a,function(a){return a==b})})}g.uz=function(){return!1};g.vz=function(){return!1};g.wz=function(){return!1};g.TF=function(){return!1};g.Pe=function(){return!1};g.Ut=function(){return!1};g.remove=function(){this.check(4)?Jq(this.b,null):this.U&&this.U.remove();this.na&&this.na.ld()&&(this.na.ld().remove(),T(this.na,2));this.ga&&(this.ga.remove(),T(this.ga,2));this.H&&(this.H.remove(),T(this.H,2))};g.Ye=function(a){this.M||(this.M=new hu(this),L(this,this.M),R(this.M,this.XK,this),this.g instanceof OA&&(du(this.M,this.g.Ye()),du(this.M).ca(2)));return m(a)?(this.M.C.apply(this.M,arguments),this):this.M};g.XK=function(){T(this,32,1)};g.I=function(){if(!this.tb())return this;X(this);if(W(this,4)){this.F=this.Cb();this.qb=this.w?this.w.Ve(this.F):this.F;var a=Math.min(this.F.height,this.F.width);this.Aw=Q(this.kc,a);this.FC=Q(this.qc,a);T(this,7168);U(this,4)}W(this,512)&&(this.xz(),T(this,3104,2049),U(this,512));W(this,1024)&&T(this,24960);var a=[],b=[],c,d,e,f;W(this,1026)&&(this.Oe=qC(this),this.Nb=this.DC(),this.check(4)?this.U=this.A():(this.U||(this.U=oo(),wv(this,this.U)),this.U.zIndex(this.zIndex()),this.U.parent(this.A())),W(this,1024)&&this.b.Dx(),Jq(this.b,this.U));W(this,1282)&&(c=this.labels(),f=this.kb().enabled()||this.Ib().enabled(),DC(this,c,f,this.uz(),2097152,256)&&(f=this.zIndex()+9E-6,c.oe=f,T(c,8),a.push(this.zf),b.push(c)),U(this,256));W(this,1154)&&(c=this.aa(),f=this.Xa().enabled()||this.ob().enabled(),DC(this,c,f,this.vz(),1048576,128)&&(f=this.zIndex()+1.1E-5,c.oe=f,a.push(this.CC),b.push(c)),U(this,128));W(this,9218)&&(this.Dz(),this.xf()&&"none"!=this.error().mode()&&(this.TF()||tu(this.error()))&&a.push(this.Tr),U(this,8192));W(this,17410)&&(c=this.Aj(),f=this.cq().enabled()||this.Cq().enabled(),DC(this,c,f,this.wz(),256,16384)&&(f=this.zIndex()+fd,c.oe=f,a.push(this.gy),b.push(c)),U(this,16384));c=a.length;if(W(this,1024)){f=this.c.Qf;var h;if(f){this.check(1)&&(e=this.ba(),e=this.kf(ub(e&&e.transform(0,.5)||0,0,1),!1),this.check(4096)?(d=this.qb.left,h=d+this.qb.width):(d=this.qb.top,h=d+this.qb.height),this.Kd=ub(e,d,h));this.mb();for(h=this.Ya();h.advance();){e=this.ft(h.S());d=h;var k=this.c.Qf,l=f,n=void 0,p=(Number(d.l("missing"))||0)&-9;this.CF(d)||(p|=8);d.l("x",this.kf(HC(this.ul(),d.ms(),d.S(),this.td("xPointPosition")),!0));if(p)IC(d,k);else{var q=this.ba(),t=void 0;if(this.Pe())t=q.transform(d.l("stackedValue"),.5),isNaN(t)&&(p=!1),d.l("value",this.kf(t,!1)),t=q.transform(d.l("stackedZero"),.5),isNaN(t)&&(p=!1),d.l("zero",this.kf(ub(t,0,1),!1)),d.l("zeroMissing",d.l("stackedMissing")),d.l("prevValue",this.kf(q.transform(d.l("stackedValuePrev"),.5),!1)),d.l("prevZero",this.kf(q.transform(d.l("stackedZeroPrev"),.5),!1)),d.l("nextValue",this.kf(q.transform(d.l("stackedValueNext"),.5),!1)),d.l("nextZero",this.kf(q.transform(d.l("stackedZeroNext"),.5),!1));else for(this.check(1)&&(d.l("zero",this.Kd),d.l("zeroMissing",!1)),n=0;n<l.length;n++)t=q.transform(q.wx(d.ln(l[n]),0),.5),isNaN(t)&&(p|=1),d.l(k[n],this.kf(t,!1));this.og()&&d.l("size",vC(this,Number(d.get("size"))));if(this.ei()){k=[];l=d.get("outliers");if(r(l))for(n=0;n<l.length;n++)q.Oc(l[n])||k.push(this.kf(q.transform(q.wx(l[n],0),.5),!1));d.l("outliers",k)}}d.l("missing",p);this.af(h,e);for(d=0;d<c;d++)a[d].call(this,h,e)}this.ic()}else for(h=this.Ya();h.advance();)IC(h,this.c.Qf);U(this,2056);this.check(4)&&T(this,4096)}else if(c)for(h=this.Ya();h.advance();)for(e=this.ft(h.S()),d=0;d<c;d++)a[d].call(this,h,e);for(d=0;d<b.length;d++)c=b[d],c.I(),c.O(!1);U(this,1026);if(W(this,2048)){if(this.b instanceof Kq)for(a=this.Ya();a.advance();)this.b.Fm(this.ft(a.S()),a.l("shapes"));else this.b.Fm(this.Cc());U(this,2048)}if(W(this,8)){a=this.zIndex();if(this.check(4))if(this.b instanceof
Kq)for(b=gl(this);b.advance();)(c=b.l("shapes"))&&this.b.Eu(a,c);else this.b.Eu(a);else this.U.zIndex(a);U(this,8)}W(this,4096)&&(jl(this),U(this,4096));W(this,32)&&(this.Ye().ss(this.Jf()),U(this,32));this.O(!1);return this};g.mb=function(){this.c.mb(this.b)};g.af=function(a,b){this.c.af(a,b)};g.ic=function(){this.c.ic()};function il(a){var b=a.W;if(ia(b)&&(b=a.qb,a.check(2048))){b=b.clone();a=a.g;var c=a.hd;b.top-=c;b.height+=c;b.width+=a.zd}return b}
function jl(a,b){var c=b||a.W;ia(c)&&(c?c=il(a):c=null);c?(a.Gb||(a.Gb=io()),a.Gb.tg(c),c=a.Gb):c=null;if(a.check(4)){var d=a.b,e=c,f;for(f in d.a)for(var h=d.a[f],k=0;k<h.length;k++)h[k].clip(e)}else a.U.clip(c);a.na&&(f=a.na.ld())&&f.clip(c);a.ga&&(f=a.ga.ld())&&f.clip(c);a.H&&(f=a.H.ld())&&f.clip(c)}g.xz=function(){};g.ft=function(){return Ua};g.Cc=function(){return Ua};g.CF=function(){return!0};g.kf=function(a,b){var c,d;b^this.check(4096)?(c=this.F.left,d=this.F.width):(c=this.F.ra(),d=-this.F.height);return c+a*d};function IC(a,b){for(var c=0;c<b.length;c++)a.l(b[c],void 0)}g.Jf=function(){this.Gc||(this.Gc=new dd(this,this.c.Fy(),this.xf()));this.Gc.Bf();return this.Gc};g.Nd=function(a,b){var c=this.G(),d;if(c.l("missing"))d={x:NaN,y:NaN};else{var e=c.l("x"),f=Yb(a,null);if(f){d=c.l(this.Bb.Le);var h=c.l(this.Bb.Ke);d=new M(e,Math.min(d,h),0,Math.abs(h-d));this.Yh()&&(d.left-=this.Nb/2,d.width+=this.Nb);this.og()&&(c=c.l("size"),d.left-=c/2,d.top-=c/2,d.width+=c,d.height+=c);this.check(4096)&&(c=d.left,d.left=d.top,d.top=c,c=d.height,d.height=d.width,d.width=c);d=Ar(d,f)}else f=c.l(a),m(f)||(f=c.get(a),m(f)?(this.Pe()&&(f+=c.l("stackedZero")),f=this.GC(f)):f=NaN),this.check(4096)?d={x:f,y:e}:d={x:e,y:f};b&&this.check(2048)&&(f=this.g,c=this.S(),d.x+=Id(f,c,this.Pe()),d.y-=Jd(f,c,this.Pe()))}return{value:d}};var JC={};JC.fill={ya:1,Ba:"fill",wa:xt,ib:4294967295,Aa:2048,Ca:65};JC.hoverFill={ya:1,Ba:"hoverFill",wa:xt,ib:131072,Aa:0,Ca:0};JC.selectFill={ya:1,Ba:"selectFill",wa:xt,ib:4294967295,Aa:0,Ca:0};JC.negativeFill={ya:1,Ba:"negativeFill",wa:xt,ib:4294967295,Aa:2048,Ca:65};JC.hoverNegativeFill={ya:1,Ba:"hoverNegativeFill",wa:xt,ib:4294967295,Aa:0,Ca:0};JC.selectNegativeFill={ya:1,Ba:"selectNegativeFill",wa:xt,ib:4294967295,Aa:0,Ca:0};JC.risingFill={ya:1,Ba:"risingFill",wa:xt,ib:4294967295,Aa:2048,Ca:65};JC.hoverRisingFill={ya:1,Ba:"hoverRisingFill",wa:xt,ib:4294967295,Aa:0,Ca:0};JC.selectRisingFill={ya:1,Ba:"selectRisingFill",wa:xt,ib:4294967295,Aa:0,Ca:0};JC.fallingFill={ya:1,Ba:"fallingFill",wa:xt,ib:4294967295,Aa:2048,Ca:65};JC.hoverFallingFill={ya:1,Ba:"hoverFallingFill",wa:xt,ib:4294967295,Aa:0,Ca:0};JC.selectFallingFill={ya:1,Ba:"selectFallingFill",wa:xt,ib:4294967295,Aa:0,Ca:0};JC.stroke={ya:1,Ba:"stroke",wa:wt,ib:4294967295,Aa:2048,Ca:65};JC.hoverStroke={ya:1,Ba:"hoverStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.selectStroke={ya:1,Ba:"selectStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.lowStroke={ya:1,Ba:"lowStroke",wa:wt,ib:4294967295,Aa:2048,Ca:65};JC.hoverLowStroke={ya:1,Ba:"hoverLowStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.selectLowStroke={ya:1,Ba:"selectLowStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.highStroke={ya:1,Ba:"highStroke",wa:wt,ib:4294967295,Aa:2048,Ca:65};JC.hoverHighStroke={ya:1,Ba:"hoverHighStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.selectHighStroke={ya:1,Ba:"selectHighStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.negativeStroke={ya:1,Ba:"negativeStroke",wa:wt,ib:4294967295,Aa:2048,Ca:65};JC.hoverNegativeStroke={ya:1,Ba:"hoverNegativeStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.selectNegativeStroke={ya:1,Ba:"selectNegativeStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.risingStroke={ya:1,Ba:"risingStroke",wa:wt,ib:4294967295,Aa:2048,Ca:65};JC.hoverRisingStroke={ya:1,Ba:"hoverRisingStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.selectRisingStroke={ya:1,Ba:"selectRisingStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.fallingStroke={ya:1,Ba:"fallingStroke",wa:wt,ib:4294967295,Aa:2048,Ca:65};JC.hoverFallingStroke={ya:1,Ba:"hoverFallingStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.selectFallingStroke={ya:1,Ba:"selectFallingStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.medianStroke={ya:1,Ba:"medianStroke",wa:wt,ib:4294967295,Aa:2048,Ca:65};JC.hoverMedianStroke={ya:1,Ba:"hoverMedianStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.selectMedianStroke={ya:1,Ba:"selectMedianStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.stemStroke={ya:1,Ba:"stemStroke",wa:wt,ib:4294967295,Aa:2048,Ca:65};JC.hoverStemStroke={ya:1,Ba:"hoverStemStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.selectStemStroke={ya:1,Ba:"selectStemStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.whiskerStroke={ya:1,Ba:"whiskerStroke",wa:wt,ib:4294967295,Aa:2048,Ca:65};JC.hoverWhiskerStroke={ya:1,Ba:"hoverWhiskerStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.selectWhiskerStroke={ya:1,Ba:"selectWhiskerStroke",wa:wt,ib:4294967295,Aa:0,Ca:0};JC.hatchFill={ya:1,Ba:"hatchFill",wa:yt,ib:4294967295,Aa:2048,Ca:65};JC.hoverHatchFill={ya:1,Ba:"hoverHatchFill",wa:yt,ib:4294967295,Aa:0,Ca:0};JC.selectHatchFill={ya:1,Ba:"selectHatchFill",wa:yt,ib:4294967295,Aa:0,Ca:0};JC.negativeHatchFill={ya:1,Ba:"negativeHatchFill",wa:yt,ib:4294967295,Aa:2048,Ca:65};JC.hoverNegativeHatchFill={ya:1,Ba:"hoverNegativeHatchFill",wa:yt,ib:4294967295,Aa:0,Ca:0};JC.selectNegativeHatchFill={ya:1,Ba:"selectNegativeHatchFill",wa:yt,ib:4294967295,Aa:0,Ca:0};JC.risingHatchFill={ya:1,Ba:"risingHatchFill",wa:yt,ib:4294967295,Aa:2048,Ca:65};JC.hoverRisingHatchFill={ya:1,Ba:"hoverRisingHatchFill",wa:yt,ib:4294967295,Aa:0,Ca:0};JC.selectRisingHatchFill={ya:1,Ba:"selectRisingHatchFill",wa:yt,ib:4294967295,Aa:0,Ca:0};JC.fallingHatchFill={ya:1,Ba:"fallingHatchFill",wa:yt,ib:4294967295,Aa:2048,Ca:65};JC.hoverFallingHatchFill={ya:1,Ba:"hoverFallingHatchFill",wa:yt,ib:4294967295,Aa:0,Ca:0};JC.selectFallingHatchFill={ya:1,Ba:"selectFallingHatchFill",wa:yt,ib:4294967295,Aa:0,Ca:0};JC.color={ya:0,Ba:"color",wa:zt,ib:4294967295,Aa:2048,Ca:65};JC.xPointPosition={ya:0,Ba:"xPointPosition",wa:he,ib:4294967295,Aa:1024,Ca:1};JC.pointWidth={ya:0,Ba:"pointWidth",wa:Ft,ib:1024,Aa:1024,Ca:1};JC.connectMissingPoints={ya:0,Ba:"connectMissingPoints",wa:Et,ib:16,Aa:1024,Ca:1};JC.displayNegative={ya:0,Ba:"displayNegative",wa:Et,ib:2,Aa:1024,Ca:5};JC.whiskerWidth={ya:0,Ba:"whiskerWidth",wa:Ft,ib:256,Aa:1024,Ca:1};JC.hoverWhiskerWidth={ya:0,Ba:"hoverWhiskerWidth",wa:Ft,ib:256,Aa:0,Ca:0};JC.selectWhiskerWidth={ya:0,Ba:"selectWhiskerWidth",wa:Ft,ib:256,Aa:0,Ca:0};JC.type={ya:0,Ba:"type",wa:ge,ib:8192,Aa:1024,Ca:65};JC.hoverType={ya:0,Ba:"hoverType",wa:ge,ib:8192,Aa:0,Ca:0};JC.selectType={ya:0,Ba:"selectType",wa:ge,ib:8192,Aa:0,Ca:0};JC.size={ya:0,Ba:"size",wa:he,ib:8192,Aa:1024,Ca:1};JC.hoverSize={ya:0,Ba:"hoverSize",wa:he,ib:8192,Aa:0,Ca:0};JC.selectSize={ya:0,Ba:"selectSize",wa:he,ib:8192,Aa:0,Ca:0};rt(lC,JC);g=lC.prototype;g.L=function(a,b){return m(a)?m(b)?(this.Ub[a]=b,this):this.Ub[a]:this.Ub};g.mj=ba;g.$b=function(a){this.g.bb();return this.Ub[a]};g.o=function(){var a=lC.v.o.call(this);a.seriesType=this.Dq();a.clip=this.W instanceof M?this.W.o():this.W;this.j&&(a.meta=this.l());this.Qb&&(a.id=this.id());this.Zg&&(a.name=this.name());this.ka!=this.S()&&(a.autoIndex=this.wg());this.check(131072)&&(a.tooltip=this.rb().o(),a.legendItem=this.op().o());this.check(2097152)&&(a.labels=this.labels().o(),a.hoverLabels=this.kb().o(),a.selectLabels=this.Ib().o());this.we()&&(a.markers=this.aa().o(),a.hoverMarkers=this.Xa().o(),a.selectMarkers=this.ob().o());this.ei()&&(a.outlierMarkers=this.Aj().o(),a.hoverOutlierMarkers=this.cq().o(),a.selectOutlierMarkers=this.Cq().o());this.xf()&&(a.error=this.error().o());vt(this,JC,a);a.a11y=this.Ye().o();return a};g.K=function(a){lC.v.K.call(this,a);this.id(a.id);this.wg(a.autoIndex);this.name(a.name);this.l(a.meta);this.clip(a.clip);this.Ye(a.a11y);ut(this,JC,a);this.us(a)};g.V=function(){Bd(this.ua,this.Sa);this.check(4)||Ad(this.U);Bd(this.b,this.c,this.ga,this.ub,this.vb,this.na,this.Sc,this.Id,this.H,this.Ea,this.nb,this.Mb,this.D,this.X);this.Da=this.ua=this.U=null;delete this.g;delete this.hb;delete this.de;delete this.ta;delete this.T;delete this.la;delete this.b;delete this.c;delete this.ga;delete this.ub;delete this.vb;delete this.na;delete this.Sc;delete this.Id;delete this.H;delete this.Ea;delete this.nb;delete this.Mb;delete this.D;delete this.X;lC.v.V.call(this)};lC.prototype.a11y=lC.prototype.Ye;lC.prototype.seriesType=lC.prototype.Dq;lC.prototype.name=lC.prototype.name;lC.prototype.id=lC.prototype.id;lC.prototype.meta=lC.prototype.l;lC.prototype.getIndex=lC.prototype.S;lC.prototype.yScale=lC.prototype.ba;lC.prototype.labels=lC.prototype.labels;lC.prototype.hoverLabels=lC.prototype.kb;lC.prototype.selectLabels=lC.prototype.Ib;lC.prototype.markers=lC.prototype.aa;lC.prototype.hoverMarkers=lC.prototype.Xa;lC.prototype.selectMarkers=lC.prototype.ob;lC.prototype.outlierMarkers=lC.prototype.Aj;lC.prototype.hoverOutlierMarkers=lC.prototype.cq;lC.prototype.selectOutlierMarkers=lC.prototype.Cq;lC.prototype.tooltip=lC.prototype.rb;lC.prototype.legendItem=lC.prototype.op;lC.prototype.clip=lC.prototype.clip;lC.prototype.error=lC.prototype.error;lC.prototype.transformX=lC.prototype.$K;lC.prototype.transformY=lC.prototype.GC;lC.prototype.getPixelBounds=lC.prototype.Cb;lC.prototype.getPixelPointWidth=lC.prototype.DC;lC.prototype.getStat=lC.prototype.$b;function KC(a,b,c,d){lC.call(this,a,b,c,d);this.state=new Ta(this);this.data(null)}G(KC,lC);g=KC.prototype;g.dH=["xError","xLowerError","xUpperError"];g.eH=["valueError","valueLowerError","valueUpperError"];g.ts=function(a){KC.v.ts.call(this,a);this.fa=[];this.check(2097152)&&this.fa.push("label","hoverLabel","selectLabel");this.we()&&this.fa.push("marker","hoverMarker","selectMarker");this.ei()&&this.fa.push("outliers","outlierMarker","hoverOutlierMarker","selectOutlierMarker");this.og()&&this.fa.push("size")};g.us=function(a,b){KC.v.us.call(this,a,b);m(a.allowPointsSelect)&&this.dc(ia(a.allowPointsSelect)?a.allowPointsSelect?"multiSelect":"none":a.allowPointsSelect);this.dc(a.selectionMode)};function qC(a){var b;(b=a.Z().Ey())||(b=a.Z().Ia/a.G().Za());return b*(a.check(4096)?a.F.height:a.F.width)}g.Z=function(a){return m(a)?(a instanceof vb||(a=null),this.va!=a&&(this.va&&et(this.va,this.Xj,this),(this.va=a)&&R(this.va,this.Xj,this),T(this,16,5)),this):this.va};g.ul=function(){return this.Z()||KC.v.ul.call(this)};g.ft=function(a){return cb(this.state,a)};g.Cc=function(){var a=this.state.Cc();return a||this.Fd()||this.yb()!=$a?a:ab(this.state,Ha)?Ha:ab(this.state,H)?H:Ua};g.xz=function(){for(var a=gl(this),b=[];a.advance();)a.get("selected")&&b.push(a.S());b.length&&this.vf(b);KC.v.xz.call(this)};function wC(a,b){var c=b||a.td("color")||"blue";if(a.check(262144)){var d=a.G();return{index:d.S(),sourceColor:c,iterator:d}}return{sourceColor:c}}
function BC(a){var b=rC(a);return a.check(262144)?(a=a.G(),{index:a.S(),sourceHatchFill:b,iterator:a}):{sourceHatchFill:b}}g.data=function(a,b){return m(a)?(this.eb!==a&&(this.eb=a,Ad(this.B),a instanceof $u?this.da=this.B=a.Rg():this.da=a instanceof fv?this.B=a.Pd():(this.B=new fv(r(a)||u(a)?a:null,b)).Pd(),this.J=this.da,R(this.J,this.bL,this),T(this,1536,21)),this):this.J};g.bL=function(a){Y(a,16)&&this.ca(20)};function gl(a){return a.a?new Ib(a):a.data().G()}
g.lF=function(a){if(this.a){if(a=this.a.data[a])return this.a.Lq?a.l.stackedZero:0}else return this.data().l(a,"zero")};g.kF=function(a){if(this.a){if(a=this.a.data[a])return this.a.Lq?a.l.stackedValue:a.data.value}else return this.data().l(a,"value")};g.nF=function(a,b){if(this.a){var c=void 0,d=this.a.data[a];if(d){var e=d.data;if(b in e)c=e[b];else{var d=d.l.rawIndex,f=this.data();if(m(d))c=f.Lc(d);else return c;c=Gb(f.$f(d),c,d,b);e[b]=c}}return c}return this.data().get(a,b)};g.NG=function(a,b,c){this.a&&(a=(a=this.a.data[a])&&a.l.rawIndex);this.data().set(a,b,c)};g.YE=function(a){this.h||(this.h=[]);r(a)||(a=[a]);for(var b=!1,c=0;c<a.length;c++)b=jg(this.h,a[c])||b;b&&T(this,1024,5);return b};g.Ty=function(a){if(!this.h)return!1;r(a)||(a=[a]);for(var b=!1,c=0;c<a.length;c++)var d=this.h,e=Wa(d,a[c],void 0),b=(0<=e?Wf(d,e):!1)||b;b&&T(this,1024,5);return b};g.HC=function(){return Of(this.h||[],this.vd,this)};g.EF=function(a){this.h?this.h.length=0:this.h=[];for(var b=this.G().Za(),c=0;c<b;c++)this.h.push(c);this.Ty(a)};g.Sy=function(){return this.h&&this.h.length?(this.h.length=0,T(this,1024,5),!0):!1};g.uz=function(){return this.a?this.a.FO:!0};g.vz=function(){return this.a?this.a.GO:!0};g.wz=function(){return this.a?this.a.HO:!0};g.TF=function(){return this.a?this.a.EO:!0};g.Pe=function(){return this.a?this.a.Lq:!0};g.Ut=function(){return this.Z().bc()};g.CF=function(a){a=a.S();return a>=this.a.uy&&a<=this.a.lastIndex};function LC(a,b,c,d,e,f){for(var h=a.data().G(),k=a.ba(),l=0,n=0,p=0,q=!1,t=!1;h.advance();){var v=d(h.get("x"));if(!e(v)){var w={};w.x=v;var x,z,C,F,v=!1;x=0;for(z=a.c.Qf.length;x<z;x++)C=a.c.Qf[x],F=h.get(C),v=v||k.Oc(F),w[C]=F;x=0;for(z=a.fa.length;x<z;x++)C=a.fa[x],F=h.get(C),w[C]=F;a.og()&&(x=Number(w.size),isNaN(x)||0>x&&!a.td("displayNegative"))&&(v=!0);if(a.xf()){if(qu(a.Z()))for(x=0,z=a.dH.length;x<z;x++)C=a.dH[x],F=h.get(C),m(F)&&(q=!0),w[C]=F;if(qu(a.ba()))for(x=0,z=a.eH.length;x<z;x++)C=a.eH[x],F=h.get(C),m(F)&&(t=!0),w[C]=F}m(f)&&(w[f]=h.get(f));x={};x.missing=v?1:0;x.rawIndex=h.S();v||(a.we()&&(w.marker||w.hoverMarker||w.selectMarker)&&(x.hasPointMarker=!0,n++),a.check(2097152)&&(w.label||w.hoverLabel||w.selectLabel)&&(x.hasPointLabel=!0,l++),a.ei()&&(w.outliers||w.outlierMarker||w.hoverOutlierMarker||w.selectOutlierMarker)&&(x.hasPointOutlier=!0,p++));w={data:w,l:x};(w=c(b,w))&&!w.l.missing&&(w.l.hasPointMarker&&n--,w.l.hasPointLabel&&l--,w.l.hasPointOutlier&&p--)}}T(a,512);return a.a={data:b,Y:a,FO:0<l,GO:0<n,HO:0<p,IO:q,JO:t,EO:q||t}}function MC(a,b){var c={},d=-Infinity,e=!1,f=LC(a,[],function(a,b){var f,n=b.data.x;n in c?(f=a[c[n]],a[c[n]]=b):(c[n]=a.length,a.push(b),n<d&&(e=!0),d=n);return f||null},b?xb:function(a){return a},isNaN);e&&db(f.data,NC);return f}
function OC(a,b,c,d,e){a=LC(a,Array(c.length),d?function(a,c){var d,e=rr(c.data.x);e in b&&(d=a[b[e]],a[b[e]]=c);return d||null}:function(a,d){var e,l=d.data.x,n=rr(l);n in b?(e=a[b[n]],a[b[n]]=d):(b[n]=c.length,c.push(l),a.push(d));return e||null},function(a){return a},function(a){return void 0===a},e);d=a.data;for(e=0;e<d.length;e++)d[e]||(d[e]=PC(c[e]));a.Vl=b;a.Iu=c;return a}function PC(a){return{data:{x:a},l:{missing:2}}}function NC(a,b){return qr(a.data.x,b.data.x)}
function QC(a,b){var c;if(a.a){if(a.a.Vl)return c=a.a.Vl[rr(b)],isNaN(c)?-1:c;c=dg(a.a.data,function(a){return b-a.data.x});0>c&&(c=~c,0<c&&(c==a.a.data.length?c--:a.a.data[c].data.x-b>b-a.a.data[c-1].data.x&&c--));return c}return a.J.hj("x",b)}
g.ek=function(a,b){if(this.a){var c=[],d,e;this.a.Vl?(d=this.a.Vl[rr(a)],e=this.a.Vl[rr(b)]):(d=dg(this.a.data,function(b){return a-b.data.x}),0>d&&(d=~d),e=dg(this.a.data,function(a){return b-a.data.x}),0>e&&(e=~e));if(!isNaN(d)&&!isNaN(e)){if(d>e){var f=d;d=e;e=f}for(e=Math.min(e,this.a.data.length-1);d<=e;d++)c.push(d)}return c}c=this.Z();if(e=c instanceof sb)a=c.Fi(a),b=c.Fi(b);return this.J.ek(a,b,e)};g.Qd=function(a){var b=this.G();this.Fd()&&this.b.Fm(a,b.l("shapes"));this.ei()&&this.gy(b,a);this.c.Du(b,a);this.CC(b,a);this.zf(b,a)};g.Kf=ba;g.Bd=function(a){var b=this.G();this.b.Fm(a,b.l("shapes"));this.c.Du(b,a);this.ei()&&this.gy(b,a)};g.dc=function(a){return m(a)?(a=null===a?null:Vb(a),a!=this.ea&&(this.ea=a),this):this.ea};g.yb=function(a){return m(a)?this:this.g.Dc().yb()};g.aL=function(a){return m(a)?(this.dc(ia(a)?a?"multiSelect":"none":a),this):fa(this.dc())?null:"none"!=this.dc()};g.Ne=function(a){m(a)?this.rf(a):this.Vo();return this};g.gc=function(a){if(!ab(this.state,H)&&!lb(this.state.Cc(),H)||!this.enabled())return this;var b;m(a)?b=a:b=this.state.a==Ua?NaN:void 0;this.state.g(H,b);return this};g.rf=function(a){if(!this.enabled())return this;if(r(a)){for(var b=jb(this.state,H),c=0;c<b.length;c++)Tf(a,b[c])||this.state.g(H,b[c]);hb(this.state,a)}else y(a)&&(this.gc(),hb(this.state,a));return this};g.Vo=function(){if(!this.enabled())return this;this.state.wd(H);return this};g.select=function(a){if(!this.enabled())return this;m(a)?this.vf(a):this.enabled()&&this.state.wd(Ha);return this};g.hc=function(a){if(!this.enabled())return this;var b;m(a)?b=a:b=this.state.a==Ua?NaN:void 0;this.state.g(Ha,b);return this};g.vf=function(a,b){if(!this.enabled())return this;var c=!(b&&b.shiftKey);r(a)?(b||this.hc(),this.state.wd(Ha,a,c?H:void 0)):y(a)&&this.state.wd(Ha,a,c?H:void 0);return this};g.ee=function(a){a=KC.v.ee.call(this,a);var b;if(this.Fd())b=I(tr(a.domTarget).index);else{b=this.F||Nl(0,0,0,0);var c=a.clientX,d;d=b.left+xk(this.A().oa().A()).x;b=(c-d)/b.width;b=this.Z().ac(b);b=QC(this,b);0>b&&(b=NaN)}a.pointIndex=b;return a};g.Me=function(a){(a=this.$d(a))&&this.dispatchEvent(a)};g.$d=function(a){var b=a.type;switch(b){case"mouseout":b="pointmouseout";break;case"mouseover":b="pointmouseover";break;case"mousemove":b="pointmousemove";break;case"mousedown":b="pointmousedown";break;case"mouseup":b="pointmouseup";break;case"click":case"touchstart":b="pointclick";break;case"dblclick":b="pointdblclick";break;default:return null}var c;a.target!=this.Aj()||isNaN(a.markerIndex)?"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex):c=GC(this,a.markerIndex);c=I(c);a.pointIndex=c;var d=gl(this);d.select(c)||d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a,point:this.vd(c)}};g.vd=function(a){var b;this.og()?b=new Na(this,a):b=new Ma(this,a);this.g.bb();var c=this.g.L,d=this.check(81920),e=d?b.get("high")-b.get("low"):b.get("value");b.L.index=a;m(e)&&(b.L.value=e);var f=b.get("size"),h;y(c.dataPlotXSum)&&(h=e/c.dataPlotXSum,b.L.xPercentOfTotal=100*h);y(this.L("seriesXSum"))&&(h=e/this.L("seriesXSum"),b.L.xPercentOfSeries=100*h);y(this.L("seriesBubbleSizeSum"))&&(h=f/this.L("seriesBubbleSizeSum"),b.L.bubbleSizePercentOfSeries=100*h,h=f/c.dataPlotBubbleSizeSum,b.L.bubbleSizePercentOfTotal=100*h,b.L.bubbleSize=f);h=d?this.L("catYRangeSumArr_"):this.L("catYSumArr_");f=b.get("x");h?(b.L.categoryName=f,f=h[a],d?(h=e/this.L("seriesYRangeSum"),b.L.yPercentOfSeries=100*h,h=e/c.dataPlotYSum,b.L.yPercentOfTotal=100*h,b.L.yPercentOfCategory=e/f*100,h=f/c.dataPlotYSum,b.L.categoryYRangePercentOfTotal=100*h,b.L.categoryYRangeSum=f,b.L.categoryYRangeMax=this.L("catYRangeMaxArr_")[a],b.L.categoryYRangeMin=this.L("catYRangeMinArr_")[a],b.L.categoryYRangeAverage=this.L("catYRangeAvgArr_")[a],b.L.categoryYRangeMedian=this.L("catYRangeMedianArr_")[a],b.L.categoryYRangeMode=this.L("catYRangeModeArr_")[a]):(h=e/this.L("seriesYSum"),b.L.yPercentOfSeries=100*h,h=e/c.dataPlotYSum,b.L.yPercentOfTotal=100*h,b.L.yPercentOfCategory=e/f*100,h=f/c.dataPlotYSum,b.L.categoryYPercentOfTotal=100*h,b.L.categoryYSum=f,b.L.categoryYMax=this.L("catYMaxArr_")[a],b.L.categoryYMin=this.L("catYMinArr_")[a],b.L.categoryYAverage=this.L("catYAvgArr_")[a],b.L.categoryYMedian=this.L("catYMedianArr_")[a],b.L.categoryYMode=this.L("catYModeArr_")[a])):(h=f/this.L("seriesXSum"),b.L.xPercentOfSeries=100*h,h=e/this.L("seriesYSum"),b.L.yPercentOfSeries=100*h,h=f/c.dataPlotXSum,b.L.xPercentOfTotal=100*h,h=e/c.dataPlotYSum,b.L.yPercentOfTotal=100*h);return b};g.o=function(){var a=KC.v.o.call(this);if(this.a){for(var b=[],c=this.data(),d=new Ib(this);d.advance();){var e=d.l("rawIndex");isNaN(e)?b.push({x:d.get("x")}):b.push(jv(c,e))}a.data=b}else a.data=this.data().o();m(this.dc())&&(a.selectionMode=this.dc());return a};g.K=function(a){KC.v.K.call(this,a);"data"in a&&this.data(a.data||null);m(a.allowPointsSelect)&&this.dc(ia(a.allowPointsSelect)?a.allowPointsSelect?"multiSelect":"none":a.allowPointsSelect);this.dc(a.selectionMode)};g.V=function(){Ad(this.B);delete this.J;this.va=this.a=this.state=this.da=this.da=this.B=null;KC.v.V.call(this)};KC.prototype.data=KC.prototype.data;KC.prototype.xScale=KC.prototype.Z;KC.prototype.hover=KC.prototype.Ne;KC.prototype.unhover=KC.prototype.gc;KC.prototype.select=KC.prototype.select;KC.prototype.unselect=KC.prototype.hc;KC.prototype.selectionMode=KC.prototype.dc;KC.prototype.allowPointsSelect=KC.prototype.aL;KC.prototype.getPoint=KC.prototype.vd;KC.prototype.excludePoint=KC.prototype.YE;KC.prototype.includePoint=KC.prototype.Ty;KC.prototype.keepOnlyPoints=KC.prototype.EF;KC.prototype.includeAllPoints=KC.prototype.Sy;KC.prototype.getExcludedPoints=KC.prototype.HC;function RC(a,b){Z.call(this);this.data(a||null,b);this.Bb={};this.hb=null;this.state=new Ta(this)}G(RC,by);g=RC.prototype;g.ia=by.prototype.ia|2048;g.$=by.prototype.$|32;g.Mb=null;g.na=null;g.Sc=null;g.Id=null;g.Ai=null;g.Zm=null;g.U=null;g.Uv=function(){return this.U};g.Fd=function(){return!0};g.Lf=function(){return!0};g.og=function(){return!1};g.ce=function(a){this.h=a;du(this.Ye(),this.h.Ye());du(this.Ye()).ca(2)};g.Hh=function(){return this.h};g.uF=function(){return!0};g.data=function(a,b){return m(a)?(this.eb!==a&&(this.eb=a,Ad(this.B),a instanceof $u?this.da=this.B=a.Rg():this.da=a instanceof fv?this.B=a.Pd():(this.B=new fv(r(a)||u(a)?a:null,b)).Pd(),L(this,this.B),this.J=this.da,R(this.J,this.LJ,this),T(this,560,21)),this):this.J};g.LJ=function(a){Y(a,16)&&this.ca(20)};g.G=function(){return this.Oe||this.Ya()};g.Ya=function(){return this.Oe=this.data().G()};g.nF=function(a,b){return this.data().get(a,b)};g.NG=function(a,b,c){this.data().set(a,b,c)};g.lF=function(a){return this.data().l(a,"zero")};g.kF=function(a){return this.data().l(a,"value")};g.l=function(a,b){this.j||(this.j={});if(m(a)){if(m(b)){var c=this.j[a];m(c)&&c==b||(this.j[a]=b);return this}return B(a)?(this.j!=a&&(this.j=a),this):this.j[a]}return this.j};g.name=function(a){return m(a)?(this.Zg!=a&&(this.Zg=a,this.ca(64)),this):this.Zg||"Series "+this.S()};g.index=function(a){return m(a)?(this.Gc!=a&&(this.Gc=a),this):this.Gc};g.S=function(){return this.Gc};g.id=function(a){return m(a)?(this.Qb!=a&&(this.Qb=a),this):this.Qb};g.L=function(a,b){return m(a)?m(b)?(this.Bb[a]=b,this):this.Bb[a]:this.Bb};g.mj=ba;g.$b=function(a){this.h&&this.h.bb();return this.Bb[a]};g.rb=function(a){this.Mb||(this.Mb=new mA,L(this,this.Mb));return m(a)?(this.Mb.C(a),this):this.Mb};g.Og=function(a){var b=this.rm();U(b,b.$);var c=b.o(),d={sourceColor:this.color()};A(b.ti())&&(c.iconFill=b.ti().call(d,d));A(b.wi())&&(c.iconStroke=b.wi().call(d,d));A(b.vi())&&(d.sourceColor=this.Ta,c.iconHatchFill=b.vi().call(d,d));var e;A(a)&&(this.de||(this.de=new ad(this)),e=this.de,e=a.call(e,e));u(e)||(e=m(this.name())?this.name():"Series: "+this.index());this.Cu(c);a=c.iconType;"marker"==a?(this.we()?(b=this.dt())&&(a=b):a=this.type(),"line"==a&&(a="vline")):A(a)||(a=nc(a));c.iconType=a;e={meta:this.l(),text:e,iconEnabled:!0,iconStroke:SC(this,!1,Ua),iconFill:TC(this,!1,Ua),iconHatchFill:this.Vb(!1,Ua),disabled:!this.enabled()};mf(e,c);return e};g.Cu=function(){};g.dt=function(){return null};g.rm=function(a){this.D||(this.D=new ay,L(this,this.D),R(this.D,this.AP,this));return m(a)?(this.D.C(a),this):this.D};g.AP=function(a){var b=64,c=!1;Y(a,8)&&(b|=8,c=!0);this.ca(b,c)};g.color=function(a,b,c,d,e,f,h){if(m(a)){var k=null===a?null:Bn.apply(null,arguments);this.Ai!=k&&(this.Ai=k,T(this,16,65));return this}return this.Ai||this.Zm||"blue"};function UC(a){a=Cq(a.color());B(a)&&(a=a.color);return a||""}g.Fe=function(a){this.Zm=a;this.labels().Fe(UC(this));this.lu()};g.lu=ba;g.Ua=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.H&&(this.H=e,T(this,64,65));return this}return this.H};g.Hb=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!==this.Sa&&(this.Sa=e);return this}return this.Sa};g.cc=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!==this.nb&&(this.nb=e);return this}return this.nb};g.Vb=function(a,b){var c=this.G(),d;a&&m(c.get("hatchFill"))?d=c.get("hatchFill"):d=this.Ua();var e;b&Ha?a&&m(c.get("selectHatchFill"))?e=c.get("selectHatchFill"):m(this.cc())?e=this.cc():e=d:b&H?a&&m(c.get("hoverHatchFill"))?e=c.get("hoverHatchFill"):m(this.Hb())?e=this.Hb():e=d:e=d;return VC(this,e)};function VC(a,b){var c,d=a.G().S();A(b)?(c=a.Ta||Hn("diagonalBrick"),d={index:d,sourceHatchFill:c,iterator:a.G()},c=Hn(b.call(d))):ia(b)?c=b?a.Ta:null:c=Hn(b);return c}g.ah=function(a){this.Ta=Hn(a)};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,65));return this}return this.g};g.Lb=function(a,b,c,d,e,f,h){return m(a)?(this.ua=A(a)?a:Bn.apply(null,arguments),this):this.ua};g.Ac=function(a,b,c,d,e,f,h){return m(a)?(this.Nb=A(a)?a:Bn.apply(null,arguments),this):this.Nb};function TC(a,b,c){var d=a.G(),e=b&&d.get("fill")||a.fill();a=c&Ha?a.Tf(b&&d.get("selectFill")||a.Ac()||e,e):c&H?a.Tf(b&&d.get("hoverFill")||a.Lb()||e,e):a.Tf(e);return Bn(a)}g.stroke=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.c&&(this.c=f,T(this,16,65));return this}return this.c};g.Db=function(a,b,c,d,e){return m(a)?(this.qb=A(a)?a:Gn.apply(null,arguments),this):this.qb};g.lc=function(a,b,c,d,e){return m(a)?(this.Sb=A(a)?a:Gn.apply(null,arguments),this):this.Sb};function SC(a,b,c){var d=a.G(),e=b&&d.get("stroke")||a.stroke();a=c&Ha?a.Tf(b&&d.get("selectStroke")||a.lc()||e,e):c&H?a.Tf(b&&d.get("hoverStroke")||a.Db()||e,e):a.Tf(e);return Gn(a)}g.Tf=function(a,b){var c;A(a)?(c=1<arguments.length?this.Tf.apply(this,zb(arguments,1)):this.color(),c={index:this.G().S(),sourceColor:c,iterator:this.G()},c=a.call(c)):c=a;return c};g.labels=function(a){this.na||(this.na=new Tt,this.na.La(this),L(this,this.na),R(this.na,this.MJ,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.kb=function(a){this.Sc||(this.Sc=new Tt,this.Sc.enabled(null));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Sc.C(a),this):this.Sc};g.Ib=function(a){this.Id||(this.Id=new Tt,this.Id.enabled(null));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Id.C(a),this):this.Id};g.MJ=function(a){Y(a,1)&&T(this,256,1025)};g.zf=function(a){this.oj(a,!0)};function WC(a,b){var c=!!(b&Ha),d=!c&&!!(b&H),e=a.G(),f=e.get("label"),h=d?e.get("hoverLabel"):null,e=c?e.get("selectLabel"):null,f=f&&f.position?f.position:null,h=h&&h.position?h.position:null,e=e&&e.position?e.position:null;return d||c?d?h?h:a.kb().position()?a.kb().position():f?f:a.labels().position():e?e:a.Ib().position()?a.Ib().position():f?f:a.labels().position():f?f:a.labels().position()}
g.oj=function(a,b){var c=this.G(),d=c.S(),e=oB(this.labels(),d),f=!!(a&Ha),h=!f&&!!(a&H),k,l,n,p;n=(k=c.get("label"))&&m(k.enabled)?k.enabled:null;f?(p=(l=c.get("selectLabel"))&&m(l.enabled)?l.enabled:null,c=this.Ib()):h?(p=(l=c.get("hoverLabel"))&&m(l.enabled)?l.enabled:null,c=this.kb()):(l=null,c=this.na);if(!(f||h?null===p?fa(c.enabled())?null===n?this.na.enabled():n:c.enabled():p:null===n?this.na.enabled():n)||this.kd&&m(this.kd[d])&&!this.kd[d])e&&this.na.clear(e.S());else return f=WC(this,a),f=this.Nd(f),h=this.Kb(!0),h.Kl=this.vd(d),e?(e.Ed(h),e.Eb(f)):e=this.labels().add(h,f,d),b&&(e.fd(),tB(e,c),e.xd(k,l)),e;return null};g.Qd=ba;g.Kf=function(){this.labels().I()};g.Bd=ba;g.Jf=function(){return this.Kb()};g.ee=function(a){a=RC.v.ee.call(this,a);a.pointIndex=this.Tv(a);return a};g.$d=function(a){var b=a.type;switch(b){case"mouseout":b="pointmouseout";break;case"mouseover":b="pointmouseover";break;case"mousemove":b="pointmousemove";break;case"mousedown":b="pointmousedown";break;case"mouseup":b="pointmouseup";break;case"click":case"touchstart":b="pointclick";break;case"dblclick":b="pointdblclick";break;default:return null}var c;"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex);c=I(c);a.pointIndex=c;var d=this.data().G();d.select(c)||d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a,point:this.vd(c)}};g.vd=function(a){var b;this.og()?b=new Na(this,a):b=new Ma(this,a);if(this.h){this.h.bb();var c=this.h.L,d=b.get("value"),e=b.get("size");b.L.index=a;m(d)&&(b.L.value=d);var f;y(c.dataPlotXSum)&&(f=d/c.dataPlotXSum,b.L.xPercentOfTotal=100*f);y(this.L("seriesXSum"))&&(f=d/this.L("seriesXSum"),b.L.xPercentOfSeries=100*f);y(this.L("seriesBubbleSizeSum"))&&(f=e/this.L("seriesBubbleSizeSum"),b.L.bubbleSizePercentOfSeries=100*f,f=e/c.dataPlotBubbleSizeSum,b.L.bubbleSizePercentOfTotal=100*f,b.L.bubbleSize=e);f=c.catYSumArr_;e=b.get("x");f?(b.L.categoryName=e,e=f[a],f=d/this.L("seriesYSum"),b.L.yPercentOfSeries=100*f,f=d/c.dataPlotYSum,b.L.yPercentOfTotal=100*f,b.L.yPercentOfCategory=d/e*100,f=e/c.dataPlotYSum,b.L.categoryYPercentOfTotal=100*f,b.L.categoryYSum=e,b.L.categoryYMax=c.catYMaxArr_[a],b.L.categoryYMin=c.catYMinArr_[a],b.L.categoryYAverage=c.catYAvgArr_[a],b.L.categoryYMedian=c.catYMedianArr_[a],b.L.categoryYMode=c.catYModeArr_[a]):(f=e/this.L("seriesXSum"),b.L.xPercentOfSeries=100*f,f=d/this.L("seriesYSum"),b.L.yPercentOfSeries=100*f,f=e/c.dataPlotXSum,b.L.xPercentOfTotal=100*f,f=d/c.dataPlotYSum,b.L.yPercentOfTotal=100*f)}return b};g.Tv=function(a){return I(tr(a.domTarget).index)};g.Me=function(a){(a=this.$d(a))&&this.dispatchEvent(a)};g.tf=function(a,b){a&&(a.tag={Y:this},b?a.tag.index=!0:a.tag.index=this.G().S())};g.Ne=function(a){m(a)?this.rf(a):this.Vo();return this};g.gc=function(a){if(!ab(this.state,H)&&!lb(this.state.Cc(),H)||!this.enabled())return this;var b;m(a)?b=a:b=this.state.a==Ua?NaN:void 0;this.state.g(H,b);return this};g.rf=function(a){if(!this.enabled())return this;if(r(a)){for(var b=jb(this.state,H),c=0;c<b.length;c++)Tf(a,b[c])||this.state.g(H,b[c]);hb(this.state,a)}else y(a)&&(this.gc(),hb(this.state,a));return this};g.Vo=function(){if(!this.enabled())return this;this.state.wd(H);return this};g.Ye=function(a){this.hb||(this.hb=new hu(this),L(this,this.hb),R(this.hb,this.NJ,this));return m(a)?(this.hb.C.apply(this.hb,arguments),this):this.hb};g.NJ=function(){T(this,32,2049)};function XC(a){W(a,32)&&(a.Ye().ss(a.Kb()),U(a,32))}g.select=function(a){if(!this.enabled())return this;m(a)?this.vf(a):this.enabled()&&this.state.wd(Ha);return this};g.hc=function(a){if(!this.enabled())return this;var b;m(a)?b=a:b=this.state.a==Ua?NaN:void 0;this.state.g(Ha,b);return this};g.vf=function(a,b){if(!this.enabled())return this;var c=!(b&&b.shiftKey);r(a)?(b||this.hc(),this.state.wd(Ha,a,c?H:void 0)):y(a)&&this.state.wd(Ha,a,c?H:void 0);return this};g.dc=function(a){return m(a)?(a=null===a?null:Vb(a),a!=this.ea&&(this.ea=a),this):this.ea};g.yb=function(a){return m(a)?(a=Ub(a),a!=this.T&&(this.T=a),this):this.T};g.KJ=function(a){return m(a)?(this.dc(ia(a)?a?"multiSelect":"none":a),this):fa(this.dc())?null:"none"!=this.dc()};g.o=function(){var a=RC.v.o.call(this);this.Ai&&(a.color=P(this.Ai));m(this.name())&&(a.name=this.name());a.data=this.data().o();a.labels=this.labels().o();a.hoverLabels=this.kb().o();a.selectLabels=this.Ib().o();a.tooltip=this.rb().o();a.legendItem=this.rm().o();a.a11y=this.Ye().o();A(this.fill)&&(A(this.fill())?K(8,null,["Series fill"]):a.fill=P(this.fill()));A(this.hoverFill)&&(A(this.Lb())?K(8,null,["Series hoverFill"]):a.hoverFill=P(this.Lb()));A(this.selectFill)&&(A(this.Ac())?K(8,null,["Series selectFill"]):a.selectFill=P(this.Ac()));A(this.stroke)&&(A(this.stroke())?K(8,null,["Series stroke"]):a.stroke=P(this.stroke()));A(this.hoverStroke)&&(A(this.Db())?K(8,null,["Series hoverStroke"]):a.hoverStroke=P(this.Db()));A(this.selectStroke)&&(A(this.lc())?K(8,null,["Series selectStroke"]):a.selectStroke=P(this.lc()));A(this.hatchFill)&&(A(this.Ua())?K(8,null,["Series hatchFill"]):this.Ua()&&(a.hatchFill=P(this.Ua())));A(this.hoverHatchFill)&&(A(this.Hb())?K(8,null,["Series hoverHatchFill"]):this.Hb()&&(a.hoverHatchFill=P(this.Hb())));A(this.selectHatchFill)&&(A(this.cc())?K(8,null,["Series selectHatchFill"]):this.cc()&&(a.selectHatchFill=P(this.cc())));m(this.dc())&&(a.selectionMode=this.dc());return a};g.K=function(a){RC.v.K.call(this,a);A(this.fill)&&this.fill(a.fill);A(this.hoverFill)&&this.Lb(a.hoverFill);A(this.selectFill)&&this.Ac(a.selectFill);A(this.stroke)&&this.stroke(a.stroke);A(this.hoverStroke)&&this.Db(a.hoverStroke);A(this.selectStroke)&&this.lc(a.selectStroke);A(this.hatchFill)&&this.Ua(a.hatchFill);A(this.hoverHatchFill)&&this.Hb(a.hoverHatchFill);A(this.selectHatchFill)&&this.cc(a.selectHatchFill);this.color(a.color);this.name(a.name);this.l(a.meta);"data"in a&&this.data(a.data||null);this.labels().C(a.labels);this.kb().C(a.hoverLabels);this.Ib().C(a.selectLabels);this.rb(a.tooltip);this.rm(a.legendItem);m(a.allowPointsSelect)&&this.dc(ia(a.allowPointsSelect)?a.allowPointsSelect?"multiSelect":"none":a.allowPointsSelect);this.dc(a.selectionMode);this.Ye(a.a11y)};RC.prototype.a11y=RC.prototype.Ye;RC.prototype.color=RC.prototype.color;RC.prototype.name=RC.prototype.name;RC.prototype.id=RC.prototype.id;RC.prototype.meta=RC.prototype.l;RC.prototype.data=RC.prototype.data;RC.prototype.tooltip=RC.prototype.rb;RC.prototype.labels=RC.prototype.labels;RC.prototype.hoverLabels=RC.prototype.kb;RC.prototype.selectLabels=RC.prototype.Ib;RC.prototype.unhover=RC.prototype.gc;RC.prototype.unselect=RC.prototype.hc;RC.prototype.hover=RC.prototype.Ne;RC.prototype.select=RC.prototype.select;RC.prototype.selectionMode=RC.prototype.dc;RC.prototype.allowPointsSelect=RC.prototype.KJ;RC.prototype.legendItem=RC.prototype.rm;RC.prototype.getPixelBounds=RC.prototype.Cb;RC.prototype.getPoint=RC.prototype.vd;RC.prototype.getStat=RC.prototype.$b;function YC(a,b){RC.call(this,a,b);this.ed=["x","y","heat"];this.m=["x","y","n"];mB(this.labels(),"same")}G(YC,RC);g=YC.prototype;g.ym=null;g.ga=null;g.ub=null;g.vb=null;g.ia=RC.prototype.ia|84;g.$=RC.prototype.$|976;g.xm=!1;g.zm=null;g.Jh=null;g.wC=function(){return Un()};g.Da=null;g.va=null;g.qa=function(){return"heatMap"};g.data=function(a,b){return m(a)?(this.eb!==a&&(this.eb=a,Ad(this.B),a instanceof $u?this.da=this.B=a.Rg():this.da=a instanceof fv?this.B=a.Pd():(this.B=new fv(r(a)||u(a)?a:null,b)).Pd(),L(this,this.B),this.J=this.da.Rg(),R(this.J,this.IK,this),T(this,560,69)),this):this.J};g.IK=function(a){Y(a,16)&&this.ca(20)};g.Uh=function(){if(!this.enabled())return null;for(var a=[],b=this.G(),c=this.ba(),d=0,e=this.ed.length;d<e;d++)if("n"==this.m[d]){var f=b.get(this.ed[d]);if(c.Oc(f))return null;a.push(f)}return a};g.Fd=function(){return!0};g.we=function(){return!0};g.pe=function(a,b,c,d){this.w||(this.w=new xu,L(this,this.w));return m(a)?(this.w.C.apply(this.w,arguments),this):this.w};g.mb=function(){this.ym=this.Cb();this.U||(this.U=oo(),wv(this,this.U),L(this,this.U));this.tb();X(this.labels());X(this.kb());X(this.Ib());this.labels().clear();this.labels().A(this.A());this.labels().R(this.Cb());if(this.Tb&&this.enabled()){this.zm||(this.zm=new Qo(this.wC,ba),this.zm.zIndex(1));W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8));if(W(this,16)){this.zm.clear();for(var a=this.Hh().Oe,b=0,c=0,d=0,e=a.length;d<e;d++){var f=a[d];if(f){var h=Qd(f.stroke());f.$a()?h>c&&(c=h):h>b&&(b=h)}}this.b=b;this.a=c}W(this,64)&&(a=this.Ua()||this.Hb()||this.cc(),!this.Jh&&a&&(this.Jh=new Qo(this.wC,ba),this.Jh.parent(this.U),this.Jh.zIndex(2),this.Jh.fb(!0)),this.Jh&&this.Jh.clear());W(this,2)&&(this.U.parent(this.A()),this.zm.parent(this.U),this.Jh&&this.Jh.parent(this.U),U(this,2));a=this.aa();b=this.Xa();c=this.Xa();X(a);X(b);X(c);a.clear();a.A(this.A());a.R(this.Cb());XC(this)}};g.af=function(a,b){var c;a:if(this.enabled()){var d=[],e=this.ba(),f=this.Z(),h=this.G();c=!1;for(var k=0,l=this.ed.length;k<l;k++){var n=this.ed[k],p=h.get(n);if(!m(p)&&n!=this.ed[2]){c=null;break a}var q,t;switch(this.m[k]){case"x":f.Oc(p)?q=NaN:(n=f.transform(p,0),q=f.transform(p,1),0>n&&0>q||1<n&&1<q?q=NaN:(q=ZC(this,f.transform(p,f.bc()?1:0),!0),t=Math.abs(q-ZC(this,f.transform(p,f.bc()?0:1),!0))));isNaN(q)&&(c=!0);break;case"y":e.Oc(p)?q=NaN:(n=e.transform(p,0),q=e.transform(p,1),0>n&&0>q||1<n&&1<q?q=NaN:(q=ZC(this,e.transform(p,e.bc()?0:1),!1),t=Math.abs(q-ZC(this,e.transform(p,e.bc()?1:0),!1))));isNaN(q)&&(c=!0);break;case"n":q=p}d.push(q,t)}c=c?null:d}else c=null;d=this.G();if(this.enabled()&&c)return W(this,16)&&(e=c[0],k=c[1],f=c[2],h=c[3],l=c[4],b?c=this.G().l("shape"):(c=Ro(this.zm),d.l("heat",l).l("shape",c),this.tf(c)),$C(this,a),l=this.ba().transform(d.get("y"),1),p=this.Z().transform(d.get("x"),1),t=Qd(c.stroke()),n=this.b%2/2+this.b/2,q=-this.a%2/2+this.a/2,1==l&&(q+=this.a%2),e=Math.floor(e+n)+t/2,f=Math.floor(f+q)+t/2,k=k-t-this.b,1==p&&(k-=this.b%2),h=h-t-this.a,1==l&&(h-=this.a%2),d.l("x",e).l("y",f).l("width",k).l("height",h),c.Mn(e).Nn(f).Ln(k).In(h)),W(this,64)&&(b?e=d.l("hatchFillShape"):(e=this.Jh?Ro(this.Jh):null,d.l("hatchFillShape",e)),d=d.l("shape"),m(d)&&e&&e.Pb(d.o()),aD(this,a)),bD(this,a),!0;this.G().l("shape",null);this.G().l("hatchFillShape",null);return!1};g.oj=function(a,b){var c=this.G(),d=!!(a&Ha),e=!d&&!!(a&H),f=c.get("label"),h=e?c.get("hoverLabel"):null,k=d?c.get("selectLabel"):null,l=c.S(),n;n=d?this.Ib():e?this.kb():this.labels();var p=oB(this.labels(),l),q=f&&m(f.enabled)?f.enabled:null,t=k&&m(k.enabled)?k.enabled:null,v=h&&m(h.enabled)?h.enabled:null;if(d=(d=e||d?e?null===v?fa(this.kb().enabled())?null===q?this.labels().enabled():q:this.kb().enabled():v:null===t?fa(this.Ib().enabled())?null===q?this.labels().enabled():q:this.Ib().enabled():t:null===q?this.labels().enabled():q)&&m(c.get(this.ed[2])))return c=WC(this,a),c=this.Nd(c),d=this.Kb(!0),p?(nB(this.labels(),l),p.Ed(d),p.Eb(c)):p=this.labels().add(d,c,l),b&&(p.fd(),tB(p,n),p.xd(f,e?h:k)),p;p&&this.labels().clear(p.S());return null};g.zf=function(a){var b=this.G(),c=b.l("shape");if(c&&(a=this.oj(a,!0))){var d=rB(a),c=Qd(c.stroke())/2,b=Nl(b.l("x")+c,b.l("y")+c,b.l("width")-2*c,b.l("height")-2*c);a.width(b.width).height(b.height);d.width=null;d.height=null;if(d.adjustByWidth||d.adjustByHeight)d.fontSize=pB(a).da;var c=this.labels().measure(a.Ed(),a.Eb(),d),c=d.padding.Uq(c),d=b.left<=c.left&&b.Oa()>=c.Oa()&&b.top<=c.top&&b.ra()>=c.ra(),e=this.Hh();"alwaysShow"!=e.Zh()?a.clip(b):a.clip(null);if(!d)if("drop"==e.Zh())this.labels().clear(a.S());else if(a.width()!=c.width||a.height()!=c.height)a.b=null,a.width(c.width).height(c.height)}};g.ic=function(){this.aa().I();this.aa().O(!1);this.Xa().O(!1);this.ob().O(!1);U(this.aa(),4294967295);U(this.Xa(),4294967295);U(this.ob(),4294967295);this.labels().I();this.labels().O(!1);this.kb().O(!1);this.Ib().O(!1);U(this.labels(),4294967295);U(this.kb(),4294967295);U(this.Ib(),4294967295);if(W(this,4)){var a,b;a=this.clip();ia(a)&&(a=this.ym,b=this.pe(),a=b.Ve(a));this.U.clip(a||null);(b=this.labels().ld())&&b.clip(a||null);(b=this.aa().ld())&&b.clip(a||null);U(this,4)}W(this,2)?U(this,0):U(this,4294967295)};g.remove=function(){this.U&&this.U.remove();this.labels().A(null);this.aa().A(null);YC.v.remove.call(this)};g.Kb=function(a){if(!this.F||a)this.F=new dd(this,this.ed,!1);this.F.Bf();if(a=this.Hh().ad()){var b=this.G().get("heat");a instanceof Ow&&(this.F.color=a.Vn(b),(a=a.sh(b))&&(this.F.colorRange={color:a.color,end:a.end,name:a.name,start:a.start,index:a.sourceIndex}))}return this.F};g.Nd=function(a){var b=this.G(),c=b.l("shape");return c?(b=c.Fa(),a=Yb(a),{value:Ar(b,a)}):{value:{x:b.l("x"),y:b.l("y")}}};function ZC(a,b,c){c?(c=a.ym.left,a=a.ym.width):(c=a.ym.ra(),a=-a.ym.height);return Math.round(c+b*a)}function $C(a,b){var c=a.G().l("shape");m(c)&&(c.stroke(SC(a,!0,b)),c.fill(TC(a,!0,b)))}function aD(a,b){var c=a.G().l("hatchFillShape");null!=c&&c.stroke(null).fill(a.Vb(!0,b))}
g.Qd=function(a){var b=this.G().l("shape");if(b){var c=Qd(SC(this,!0,a)),b=Qd(b.stroke());c!=b?(T(this,80),this.af(a,!0),U(this,80)):($C(this,a),aD(this,a));this.zf(a);bD(this,a)}};g.Kf=function(){this.labels().I();this.aa().I()};g.Bd=function(a){$C(this,a);aD(this,a)};g.clip=function(a){return m(a)?(null===a&&(a=!1),this.xm!=a&&(this.xm=a,T(this,4,9)),this):this.xm};g.Z=function(a){return m(a)?(this.va!=a&&(this.va&&et(this.va,this.Lr,this),this.va=a,R(this.va,this.Lr,this),T(this,16,5)),this):this.va};g.ba=function(a){return m(a)?(this.Da!=a&&(this.Da&&et(this.Da,this.Lr,this),this.Da=a,R(this.Da,this.Lr,this),T(this,16,5)),this):this.Da};g.Lr=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)?b|=1:this.ca(b);T(this,16,b)};g.Tf=function(a,b){var c;A(a)?(c=1<arguments.length?this.Tf.apply(this,zb(arguments,1)):this.color(),c={index:this.G().S(),sourceColor:c,iterator:this.G(),colorScale:this.Hh().ad()},c=a.call(c)):c=a;return c};g.mj=function(){for(var a=-Infinity,b=Infinity,c=0,d=0,e=this.Ya();e.advance();){var f=this.Uh();f&&(f=I(f[0]),isNaN(f)||(a=Math.max(a,f),b=Math.min(b,f),c+=f));d++}e=c/d;this.L("max",a);this.L("seriesMax",a);this.L("seriesYMax",a);this.L("min",b);this.L("seriesMin",b);this.L("seriesYMin",b);this.L("sum",c);this.L("average",e);this.L("pointsCount",d);this.L("seriesPointsCount",d)};g.Dg=function(){return YC.v.Dg.call(this)|84};g.aa=function(a){this.ga||(this.ga=new tx,this.ga.La(this),L(this,this.ga),R(this.ga,this.HK,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ga.C(a),this):this.ga};g.Xa=function(a){this.ub||(this.ub=new tx,L(this,this.ub));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ub.C(a),this):this.ub};g.ob=function(a){this.vb||(this.vb=new tx,L(this,this.vb));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.vb.C(a),this):this.vb};g.Ig=function(a){this.aa().Nh=a};g.HK=function(a){Y(a,1)&&T(this,128,65)};function bD(a,b){var c=a.G(),d=!!(b&Ha),e=!d&&!!(b&H),f=c.get("marker"),h=c.get("hoverMarker"),k=c.get("selectMarker"),c=c.S(),l;l=d?a.ob():e?a.Xa():a.aa();var n=wx(a.aa(),c),p=f&&m(f.enabled)?f.enabled:null,q=h&&m(h.enabled)?h.enabled:null,t=k&&m(k.enabled)?k.enabled:null;if(e||d?e?null===q?a.ub&&fa(a.ub.enabled())?null===p?a.ga.enabled():p:a.ub.enabled():q:null===t?a.vb&&fa(a.vb.enabled())?null===p?a.ga.enabled():p:a.vb.enabled():t:null===p?a.ga.enabled():p){var t=a.G(),d=!!(b&Ha),p=!d&&!!(b&H),v=t.get("marker"),q=t.get("hoverMarker"),t=t.get("selectMarker"),v=v&&v.position?v.position:null,q=q&&q.position?q.position:null,t=t&&t.position?t.position:null,d=p&&(q||a.Xa().position())||d&&(t||a.ob().position())||v||a.aa().position(),d=a.Nd(d);n?n.Eb(d):n=a.aa().add(d,c);n.fd();zx(n,l);n.xd(f,e?h:k)}else n&&a.aa().clear(n.S())}g.md=function(){return Gq(TC(this,!1,Ua),1,!1)};g.Ud=function(){return Cq(this.aa().fill())};g.Og=function(a){a=YC.v.Og.call(this,a);var b=this.aa(),c=this.md();b.M=c;c=this.Ud();b.W=c;b.enabled()?(a.iconMarkerType=a.iconMarkerType||b.type(),a.iconMarkerFill=a.iconMarkerFill||b.fill(),a.iconMarkerStroke=a.iconMarkerStroke||b.stroke()):(a.iconMarkerType=null,a.iconMarkerFill=null,a.iconMarkerStroke=null);return a};g.o=function(){var a=YC.v.o.call(this);a.clip=this.xm instanceof M?this.xm.o():this.xm;a.markers=this.aa().o();a.hoverMarkers=this.Xa().o();a.selectMarkers=this.ob().o();return a};g.K=function(a){YC.v.K.call(this,a);this.clip(a.clip);this.aa().C(a.markers);this.Xa().C(a.hoverMarkers);this.ob().C(a.selectMarkers)};function cD(a,b){RC.call(this,a,b)}G(cD,RC);var dD={};g=cD.prototype;g.ia=RC.prototype.ia|84;g.$=RC.prototype.$|848;g.Xk=!1;g.Da=null;g.va=null;g.Wa=function(a){return m(a)?(a=Ah(null===a||isNaN(+a)?0:+a),this.ab!=a&&(this.ab=a,T(this,4,9)),this):this.ab};g.Uh=function(){if(!this.enabled())return null;var a=this.G(),b=this.ba(),a=a.get("value");return b.Oc(a)?null:a};function eD(a,b,c,d){var e,f,h,k,l,n,p,q,t,v=a.Z();b?(e=b[0],f=b[1],h=b[2],k=b[3]):h=k=f=e=NaN;c?(q=c[0],t=c[1],b=c[2],c=c[3]):b=c=t=q=NaN;var w=zh(Bh(a.ab-90),2*Math.PI);p=zh(h-w,2*Math.PI);var x=xl(2*Math.PI,4),z=xl(p,4);if(z==x||0==z)p=0;var C=zh(b-w,2*Math.PI),z=xl(C,4);if(z==x||0==z)C=0;var F=v.bc()?p<C&&0<p:p>C&&0<C;v.bc()?(b>h&&(b-=2*Math.PI),x=h-b):(h>b&&(h-=2*Math.PI),x=b-h);x=isNaN(x)?x:xl(x,4);if(0==x)return null;var z=Math.PI/2,z=xl(z,4),J=Math.ceil(x/z),O=1<J;if(F){l=[];n=[];var S,da;F&&(v.bc()?(S=p,da=2*Math.PI-C):(S=2*Math.PI-p,da=C));J=S?Math.ceil(S/z):0;for(p=0;p<J;p++)C=p==J-1&&0!=S%z?S%z:z,C=v.bc()?-C:C,l.push(C),n.push(!1);J=da?Math.ceil(da/z):0;for(p=0;p<J;p++)C=p==J-1&&0!=da%z?da%z:z,C=v.bc()?-C:C,l.push(C),n.push(0==p)}else if(O)for(l=[],p=0;p<J;p++)C=p==J-1&&0!=x%z?x%z:z,C=v.bc()?-C:C,l.push(C);S=[];if(l)for(d=e,w=h,p=0;p<l.length;p++)q=w+l[p],t=(q-w)*(c-k)/(b-w)+k,h=a.Bc+t*Math.cos(q),e=a.vc+t*Math.sin(q),f=[d,f,w,k],d=[h,e,q,t],S.push.apply(S,eD(a,f,d,n?n[p]:!1)),d=h,f=e,w=q,k=t;else C=x/3,v.bc()?(n=b+C,p=(n-b)*(k-c)/(h-b)+c,l=a.Bc+p*Math.cos(n),n=a.vc+p*Math.sin(n),p=b+2*C,c=(p-b)*(k-c)/(h-b)+c,b=a.Bc+c*Math.cos(p),k=a.vc+c*Math.sin(p),a=(2*q-9*l+18*b-5*e)/6,c=(2*t-9*n+18*k-5*f)/6,b=(-5*q+18*l-9*b+2*e)/6,l=(-5*t+18*n-9*k+2*f)/6):(n=h+C,p=(n-h)*(c-k)/(b-h)+k,l=a.Bc+p*Math.cos(n),n=a.vc+p*Math.sin(n),p=h+2*C,c=(p-h)*(c-k)/(b-h)+k,b=a.Bc+c*Math.cos(p),k=a.vc+c*Math.sin(p),a=(-5*e+18*l-9*b+2*q)/6,c=(-5*f+18*n-9*k+2*t)/6,b=(2*e-9*l+18*b-5*q)/6,l=(2*f-9*n+18*k-
5*t)/6),S.push(h==w||d,e,f,a,c,b,l,q,t);return S}function fD(a){if(!a.enabled())return null;var b=a.ba(),c=a.Z(),d=a.G(),e=!1,f=d.get("x"),h=d.get("value");if(!m(f)||!m(h))return null;b.Oc(h)&&(h=NaN);d=c.transform(f,0);h=b.transform(h,.5);b=zh(Bh(a.ab-90+360*d),2*Math.PI);d=a.Yb*h;c=c.Oc(f)?NaN:a.Bc+d*Math.cos(b);f=a.vc+d*Math.sin(b);if(isNaN(c)||isNaN(f))e=!0;h=eD(a,a.X,[c,f,b,d],!1);e||(a.X||(a.X=[]),a.X[0]=c,a.X[1]=f,a.X[2]=b,a.X[3]=d);return e?null:h}
g.LK=function(a,b){var c=this.Z(),d=this.ba(),e;e=c.transform(a,0);d=d.transform(b,.5);e=zh(Bh(this.ab-90+360*e),2*Math.PI);d*=this.Yb;return{x:c.Oc(a)?NaN:this.Bc+d*Math.cos(e),y:this.vc+d*Math.sin(e)}};g.we=function(){return!1};g.Fd=function(){return!1};g.af=function(a){this.enabled()&&(this.Xk=this.Xk?this.ep(a|this.state.Cc()):this.Or(a|this.state.Cc()))&&this.zf(a)};g.remove=function(){this.U&&this.U.remove();this.labels().A(null);cD.v.remove.call(this)};g.mb=function(){this.Xk=!1;this.X=null;this.U||(this.U=oo(),wv(this,this.U),L(this,this.U));this.qc=this.Cb();if(W(this,4)){var a=this.qc;this.Yb=Math.min(a.width,a.height)/2;this.Bc=Math.round(a.left+a.width/2);this.vc=Math.round(a.top+a.height/2)}this.tb();X(this.labels());X(this.kb());X(this.Ib());this.labels().clear();this.labels().A(this.A());this.labels().R(this.qc);XC(this)};g.ic=function(){this.labels().I();this.labels().O(!1);this.kb().O(!1);this.Ib().O(!1);U(this.labels(),4294967295);U(this.kb(),4294967295);U(this.Ib(),4294967295);W(this,2)?U(this,0):U(this,4294967295)};g.Kb=function(a){if(!this.F||a)this.F=new dd(this,["x","value"],!1);this.F.Bf();return this.F};g.Nd=function(a){var b=this.G(),c=b.l("shape");return c?(b=c.Fa(),a=Yb(a),{value:Ar(b,a)}):{value:{x:b.l("x"),y:b.l("value")}}};g.Or=function(a){return this.ep(a)};g.Z=function(a){return m(a)?(this.va!=a&&(this.va&&et(this.va,this.Pr,this),this.va=a,R(this.va,this.Pr,this),T(this,16,5)),this):this.va};g.ba=function(a){return m(a)?(this.Da!=a&&(this.Da&&et(this.Da,this.Pr,this),this.Da=a,R(this.Da,this.Pr,this),T(this,16,5)),this):this.Da};g.Pr=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)?b|=1:this.ca(b);T(this,16,b)};g.mj=function(){for(var a=-Infinity,b=Infinity,c=0,d=0,e=this.Ya();e.advance();){var f=this.Uh();f&&(f=I(f),isNaN(f)||(a=Math.max(a,f),b=Math.min(b,f),c+=f));d++}e=c/d;this.L("seriesMax",a);this.L("seriesYMax",a);this.L("seriesMin",b);this.L("seriesYMin",b);this.L("seriesSum",c);this.L("seriesAverage",e);this.L("seriesPointsCount",d);this.L("seriesPointCount",d)};g.Ig=function(a){this.Ub=a};g.Dg=function(){return cD.v.Dg.call(this)|84};g.o=function(){var a=cD.v.o.call(this);a.seriesType=this.qa();return a};g.K=function(a){cD.v.K.call(this,a)};cD.prototype.xScale=cD.prototype.Z;cD.prototype.yScale=cD.prototype.ba;cD.prototype.transformXY=cD.prototype.LK;function gD(a,b){RC.call(this,a,b);this.aa().position("center");this.w=[];this.Gb=!1;this.kc=!0;this.a=null}G(gD,cD);g=gD.prototype;g.$=cD.prototype.$|128;g.ga=null;g.ub=null;g.vb=null;g.we=function(){return!0};g.aa=function(a){this.ga||(this.ga=new tx,this.ga.La(this),L(this,this.ga),R(this.ga,this.NK,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ga.C(a),this):this.ga};g.Xa=function(a){this.ub||(this.ub=new tx,L(this,this.ub));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ub.C(a),this):this.ub};g.ob=function(a){this.vb||(this.vb=new tx,L(this,this.vb));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.vb.C(a),this):this.vb};g.lu=function(){if(this.we()){var a=this.aa(),b=this.md();a.M=b;a=this.aa();b=this.Ud();a.W=b}};g.NK=function(a){Y(a,1)&&T(this,128,65)};g.Yk=function(a){return m(a)?(a=!!a,this.kc!=a&&(this.kc=a,T(this,16,1)),this):this.kc};g.af=function(a){if(this.enabled()){var b;if(b=this.Xk?this.ep(a):this.Or(a))hD(this,a),this.zf(a);this.Xk=this.Gb&&this.Xk||b}};g.mb=function(){gD.v.mb.call(this);delete this.m;this.a=null;var a=this.aa(),b=this.Xa(),c=this.ob();X(a);X(b);X(c);b=this.md();a.M=b;b=this.Ud();a.W=b;a.Nh=this.Ub;a.clear();a.A(this.A());a.R(this.qc)};g.ic=function(){if(this.Tb&&this.enabled()){var a,b=this.w.length;for(a=0;a<b;a++)this.tf(this.w[a],!0);W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8));if(W(this,16)){for(a=0;a<b;a++)this.w[a].clear();a=this.state.Cc();b=Ua;ab(this.state,Ha)?b=Ha:ab(this.state,H)&&(b=H);this.ow(a|b)}W(this,2)&&(a=this.A(),this.U.parent(a),U(this,2));this.MK();this.yC();this.aa().I();this.aa().O(!1);this.Xa().O(!1);U(this.aa(),4294967295);U(this.Xa(),4294967295);gD.v.ic.call(this)}};g.remove=function(){this.aa().A(null);gD.v.remove.call(this)};g.Nd=function(){var a=this.G();return{value:{x:a.l("x"),y:a.l("value")}}};g.MK=ba;g.yC=ba;g.pw=function(a){return m(a)?(a=!!a,this.Gb!=a&&(this.Gb=a,T(this,16,1)),this):this.Gb};g.nw=function(a){this.b&&(this.b.stroke(null),this.b.fill(this.Vb(!1,a)))};function hD(a,b){var c=a.G(),d=I(a.G().get("value")),e=!!(b&Ha),f=!e&&!!(b&H),h=c.get("marker"),k=c.get("hoverMarker"),l=c.get("selectMarker"),c=c.S(),n;n=e?a.ob():f?a.Xa():a.aa();var p=wx(a.aa(),c),q=h&&m(h.enabled)?h.enabled:null,t=k&&m(k.enabled)?k.enabled:null,v=l&&m(l.enabled)?l.enabled:null;(f||e?f?null===t?a.ub&&fa(a.ub.enabled())?null===q?a.ga.enabled():q:a.ub.enabled():t:null===v?a.vb&&fa(a.vb.enabled())?null===q?a.ga.enabled():q:a.vb.enabled():v:null===q?a.ga.enabled():q)&&!isNaN(d)?(t=a.G(),d=!!(b&Ha),e=!d&&!!(b&H),v=t.get("marker"),q=t.get("hoverMarker"),t=t.get("selectMarker"),v=v&&v.position?v.position:null,q=q&&q.position?q.position:null,t=t&&t.position?t.position:null,d=e&&(q||a.Xa().position())||d&&(t||a.ob().position())||v||a.aa().position(),d=a.Nd(d),p?p.Eb(d):p=a.aa().add(d,c),p.fd(),zx(p,n),p.xd(h,f?k:l),p.I()):p&&p.clear()}g.md=function(){return TC(this,!1,Ua)};g.Ud=function(){return Cq(this.aa().fill())};g.dt=function(){return this.aa().enabled()?this.aa().type():null};g.Og=function(a){a=gD.v.Og.call(this,a);var b=this.aa(),c=this.md();b.M=c;c=this.Ud();b.W=c;b.enabled()?(a.iconMarkerType=a.iconMarkerType||b.qa()||this.Ub,a.iconMarkerFill=a.iconMarkerFill||b.fill(),a.iconMarkerStroke=a.iconMarkerStroke||b.stroke()):(a.iconMarkerType=null,a.iconMarkerFill=null,a.iconMarkerStroke=null);return a};g.Cu=function(a){"marker"==a.iconType&&this.we()&&(a.iconFill=this.ga.fill(),a.iconStroke=this.ga.stroke())};g.Qd=function(a){hD(this,a);this.zf(a)};g.Bd=function(a){this.ow(a);this.nw(a)};g.o=function(){var a=gD.v.o.call(this);a.closed=this.Yk();a.markers=this.aa().o();a.hoverMarkers=this.Xa().o();a.selectMarkers=this.ob().o();a.connectMissingPoints=this.pw();return a};g.K=function(a){gD.v.K.call(this,a);this.Yk(a.closed);this.aa().C(a.markers);this.Xa().C(a.hoverMarkers);this.ob().C(a.selectMarkers);this.pw(a.connectMissingPoints)};gD.prototype.markers=gD.prototype.aa;gD.prototype.hoverMarkers=gD.prototype.Xa;gD.prototype.selectMarkers=gD.prototype.ob;gD.prototype.connectMissingPoints=gD.prototype.pw;gD.prototype.closed=gD.prototype.Yk;function iD(a,b){gD.call(this,a,b)}G(iD,gD);dD.area=iD;g=iD.prototype;g.mb=function(){iD.v.mb.call(this);this.fa=this.ka=null;this.ta?this.ta.clear():(this.ta=new Qo(function(){var a=Yn();this.tf(a,!0);return a},function(a){a.clear()},0,this),this.ta.zIndex(1),this.ta.parent(this.U));this.Ia?this.Ia.clear():(this.Ia=new Qo(function(){var a=Yn();this.tf(a,!0);return a},function(a){a.clear()},0,this),this.Ia.zIndex(1.1),this.Ia.parent(this.U));W(this,64)&&(this.wj?this.wj.clear():(this.wj=new Qo(function(){return Yn()},function(a){a.clear()}),this.wj.parent(this.U),this.wj.zIndex(2),this.wj.fb(!0)))};g.Or=function(){var a=fD(this);if(!a)return null==this.m&&(this.m=!0),!1;if(W(this,16)){if(null==this.m||this.Yk()&&this.Gb)this.a=this.X.slice(),this.m=!1;for(var b=0,c=a.length;b<c;b+=9)a[b]&&(this.fa=Ro(this.ta),this.ka=Ro(this.Ia));this.fa||(this.fa=Ro(this.ta));this.ka||(this.ka=Ro(this.Ia));b=a[a.length-2];a=a[a.length-1];this.fa.moveTo(this.Bc,this.vc).lineTo(b,a);this.ka.moveTo(b,a);this.G().l("x",b).l("value",a)}return!0};g.ep=function(){var a=fD(this);if(!a)return!1;if(W(this,16)){for(var b,c,d,e,f,h,k=0,l=a.length;k<l;k+=9)a[k]&&(b=a[k+1],c=a[k+2],this.ka=Ro(this.Ia),this.ka.moveTo(b,c),this.fa=Ro(this.ta),this.fa.moveTo(this.Bc,this.vc).lineTo(b,c)),b=a[k+3],c=a[k+4],d=a[k+5],e=a[k+6],f=a[k+7],h=a[k+8],this.fa.Qh(b,c,d,e,f,h),this.ka.Qh(b,c,d,e,f,h);this.G().l("x",f).l("value",h)}return!0};g.ic=function(){if(W(this,16)&&!this.m&&this.Yk()&&null!=this.X&&null!=this.a){var a=eD(this,this.X,this.a,!1);if(a)for(var b,c,d,e,f,h,k=0,l=a.length;k<l;k+=9)a[k]&&(b=a[k+1],c=a[k+2],this.ka=Ro(this.Ia),this.ka.moveTo(b,c),this.fa=Ro(this.ta),this.fa.moveTo(this.Bc,this.vc).lineTo(b,c)),b=a[k+3],c=a[k+4],d=a[k+5],e=a[k+6],f=a[k+7],h=a[k+8],this.fa.Qh(b,c,d,e,f,h),this.ka.Qh(b,c,d,e,f,h);else this.fa.lineTo(this.a[0],this.a[1]),this.ka.lineTo(this.a[0],this.a[1])}iD.v.ic.call(this)};g.qa=function(){return"area"};g.ow=function(a){var b=TC(this,!1,a),c=SC(this,!1,a);this.ta.dh(function(a){a.stroke(null);a.fill(b)},this);this.Ia.dh(function(a){a.stroke(c);a.fill(null)},this)};g.yC=function(){if(W(this,64)&&this.wj){this.ta.dh(function(a){Ro(this.wj).Pb(a.o())},this);var a=this.state.Cc();this.nw(a)}};g.nw=function(a){this.wj&&this.wj.dh(function(b){b.stroke(null);b.fill(this.Vb(!1,a))},this)};g.K=function(a){return iD.v.K.call(this,a)};iD.prototype.fill=iD.prototype.fill;iD.prototype.hoverFill=iD.prototype.Lb;iD.prototype.selectFill=iD.prototype.Ac;iD.prototype.stroke=iD.prototype.stroke;iD.prototype.hoverStroke=iD.prototype.Db;iD.prototype.selectStroke=iD.prototype.lc;iD.prototype.hatchFill=iD.prototype.Ua;iD.prototype.hoverHatchFill=iD.prototype.Hb;iD.prototype.selectHatchFill=iD.prototype.cc;iD.prototype.finalizeDrawing=iD.prototype.ic;iD.prototype.getType=iD.prototype.qa;function jD(a,b){gD.call(this,a,b);this.stroke(function(){return this.sourceColor});this.Db(function(){return Bq(this.sourceColor)})}G(jD,gD);dD.line=jD;g=jD.prototype;g.mb=function(){jD.v.mb.call(this);this.ka=null;this.fa?this.fa.clear():(this.fa=new Qo(function(){var a=Yn();this.tf(a,!0);return a},function(a){a.clear()},0,this),this.fa.zIndex(1.1),this.fa.parent(this.U))};g.Or=function(){var a=fD(this);if(!a)return null==this.m&&(this.m=!0),!1;if(W(this,16)){if(null==this.m||this.Yk()&&this.Gb)this.a=this.X.slice(),this.m=!1;for(var b=0,c=a.length;b<c;b+=9)a[b]&&(this.ka=Ro(this.fa));b=a[a.length-2];a=a[a.length-1];this.ka||(this.ka=Ro(this.fa));this.ka.moveTo(b,a);this.G().l("x",b).l("value",a)}return!0};g.ep=function(){var a=fD(this);if(!a)return!1;if(W(this,16)){for(var b,c,d,e,f,h,k=0,l=a.length;k<l;k+=9)a[k]&&(b=a[k+1],c=a[k+2],this.ka=Ro(this.fa),this.ka.moveTo(b,c)),b=a[k+3],c=a[k+4],d=a[k+5],e=a[k+6],f=a[k+7],h=a[k+8],this.ka.Qh(b,c,d,e,f,h);this.G().l("x",f).l("value",h)}return!0};g.ic=function(){if(W(this,16)&&!this.m&&this.Yk()&&null!=this.X&&null!=this.a){var a=eD(this,this.X,this.a,!1);if(a)for(var b,c,d,e,f,h,k=0,l=a.length;k<l;k+=9)a[k]&&(b=a[k+1],c=a[k+2],this.ka=Ro(this.fa),this.ka.moveTo(b,c)),b=a[k+3],c=a[k+4],d=a[k+5],e=a[k+6],f=a[k+7],h=a[k+8],this.ka.Qh(b,c,d,e,f,h);else this.ka.lineTo(this.a[0],this.a[1])}jD.v.ic.call(this)};g.ow=function(a){var b=SC(this,!1,a);this.fa.dh(function(a){a.stroke(b);a.fill(null)},this)};g.md=function(){return SC(this,!1,Ua)};g.Vb=function(){return null};g.qa=function(){return"line"};jD.prototype.stroke=jD.prototype.stroke;jD.prototype.hoverStroke=jD.prototype.Db;jD.prototype.selectStroke=jD.prototype.lc;jD.prototype.getType=jD.prototype.qa;function kD(a,b){RC.call(this,a,b);this.b=new tx;this.b.Gd(Hr);this.b.size(10);this.b.anchor("center");this.b.offsetX(0);this.b.offsetY(0);this.b.rotation(0);this.b.La(this);this.b.zIndex(1);this.b.enabled(!0);L(this,this.b);this.ka=new tx;L(this,this.b);this.w=new tx;L(this,this.w);this.fa=this.ta=NaN}G(kD,cD);dD.marker=kD;g=kD.prototype;g.Fd=function(){return!0};g.type=function(a){return m(a)?(A(a)||(a=ec(a)),this.m!=a&&(this.m=a,T(this,16,65)),this):this.m};g.fp=function(a){return m(a)?(A(a)||(a=ec(a)),this.Ia!=a&&(this.Ia=a),this):this.Ia};g.gp=function(a){return m(a)?(A(a)||(a=ec(a)),this.W!=a&&(this.W=a),this):this.W};g.size=function(a){return m(a)?(this.ta!=a&&(this.ta=a,T(this,16,1)),this):this.ta};g.qw=function(a){return m(a)?(this.fa!=a&&(this.fa=a),this):this.fa};g.rw=function(a){return m(a)?(this.M!=a&&(this.M=a),this):this.M};g.ep=function(a){a|=this.state.Cc();var b=fD(this);if(!b)return!1;if(W(this,16)){var c=b.length,d=b[c-2],b=b[c-1];this.G().l("x",d).l("value",b);lD(this,a)}W(this,64)&&mD(this,a);return!0};g.Nd=function(){var a=this.G();return{value:{x:a.l("x"),y:a.l("value")}}};g.mb=function(){kD.v.mb.call(this);if(this.Tb&&this.enabled()&&(X(this.b),W(this,512)&&this.b.clear(),W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8)),W(this,16)&&(this.b.fill(TC(this,!1,Ua)),this.b.stroke(SC(this,!1,Ua)),this.b.type(this.m),this.b.size(this.ta),this.ka.fill(TC(this,!1,H)),this.ka.stroke(SC(this,!1,H)),this.ka.type(this.Ia),this.ka.size(this.fa),this.w.fill(TC(this,!1,Ha)),this.w.stroke(SC(this,!1,Ha)),this.w.type(this.W),this.w.size(this.M)),W(this,2)&&(this.U.parent(this.A()),this.b.A(this.U),this.a&&this.a.A(this.U)),W(this,64))){var a=this.Vb(!1,Ua),b=this.Vb(!1,H),c=this.Vb(!1,Ha);nD(this,!(Fr(a)&&Fr(b)&&Fr(c)))}};function nD(a,b){!a.a&&b&&(a.a=new tx,a.a.A(a.U),a.a.zIndex(2),a.a.fb(!0))}g.ic=function(){this.Tb&&this.enabled()&&(this.b.I(),this.b.O(!1));W(this,64)&&this.a&&(this.a.I(),this.a.O(!1));this.enabled()&&U(this,10);kD.v.ic.call(this)};g.Qd=function(a){lD(this,a,!0);mD(this,a);this.zf(a)};g.Bd=function(a){lD(this,a,!0);mD(this,a)};function lD(a,b,c){var d=I(a.G().get("value"));if(!isNaN(d)){var e=a.G().get("type"),f=a.G().get("markerSize"),h=TC(a,!0,Ua),k=SC(a,!0,Ua),l=a.G().get("hoverType"),n=a.G().get("hoverMarkerSize"),p=TC(a,!0,H),q=SC(a,!0,H),t=a.G().get("selectType"),v=a.G().get("selectMarkerSize"),w=TC(a,!0,Ha),x=SC(a,!0,Ha),d=!!(b&Ha);b=!d&&!!(b&H);d=d?a.w:b?a.ka:a.b;e={type:e,size:f,fill:h,stroke:k};l={type:l,size:n,fill:p,stroke:q};t={type:t,size:v,fill:w,stroke:x};w=a.G().S();v=a.Nd("center");a=wx(a.b,w)||a.b.add(v,w);a.fd();zx(a,d);a.xd(e,b?l:t);a.Eb(v);c&&a.I()}}
function mD(a,b){if(!a.a){var c=a.Vb(!0,b);nD(a,!Fr(c))}if(a.a){var c=a.G(),d=c.S(),e=c.get("type"),f=c.get("markerSize"),h=c.get("hoverType"),k=c.get("hoverMarkerSize"),l=a.G().get("selectType"),n=a.G().get("selectMarkerSize"),p=!!(b&Ha),c=!p&&!!(b&H),p=p?a.w:c?a.ka:a.b,d=a.a.add(a.Nd("center"),d),e={type:e,size:f,fill:a.Vb(!0,b),stroke:null},h={type:h,size:k,fill:a.Vb(!0,b),stroke:null},l={type:l,size:n,fill:a.Vb(!0,b),stroke:null};d.fd();xx(d,a.b);zx(d,p);d.xd(e,c?h:l);d.I()}}g.qa=function(){return"marker"};g.o=function(){var a=kD.v.o.call(this);A(this.type())?K(8,null,["Marker type"]):a.type=this.type();A(this.fp())?K(8,null,["Marker hoverType"]):m(this.fp())&&(a.hoverType=this.fp());A(this.gp())?K(8,null,["Marker selectType"]):m(this.gp())&&(a.selectType=this.gp());a.size=this.size();a.hoverSize=this.qw();a.selectSize=this.rw();return a};g.K=function(a){kD.v.K.call(this,a);this.size(a.size);this.qw(a.hoverSize);this.rw(a.selectSize);this.type(a.type);this.fp(a.hoverType);this.gp(a.hoverType)};kD.prototype.stroke=kD.prototype.stroke;kD.prototype.hoverStroke=kD.prototype.Db;kD.prototype.selectStroke=kD.prototype.lc;kD.prototype.fill=kD.prototype.fill;kD.prototype.hoverFill=kD.prototype.Lb;kD.prototype.selectFill=kD.prototype.Ac;kD.prototype.size=kD.prototype.size;kD.prototype.hoverSize=kD.prototype.qw;kD.prototype.selectSize=kD.prototype.rw;kD.prototype.type=kD.prototype.type;kD.prototype.hoverType=kD.prototype.fp;kD.prototype.selectType=kD.prototype.gp;kD.prototype.hatchFill=kD.prototype.Ua;kD.prototype.hoverHatchFill=kD.prototype.Hb;kD.prototype.selectHatchFill=kD.prototype.cc;kD.prototype.getType=kD.prototype.qa;function oD(a,b){RC.call(this,a,b)}G(oD,RC);var pD={};g=oD.prototype;g.ia=RC.prototype.ia|84;g.$=RC.prototype.$|848;g.Yj=!1;g.Da=null;g.va=null;g.Kd=0;g.Dj=!0;g.Pq=function(){return this.Dj};g.Wa=function(a){return m(a)?(a=Ah(null===a||isNaN(+a)?0:+a),this.ab!=a&&(this.ab=a,T(this,4,1)),this):this.ab};function qD(a){a.J!=a.da&&Ad(a.J);a.J=a.da}function rD(a,b){var c=a.da,d=r(b)?new qv(c,"x",b):new sv(c,"x",!!b);L(c,d);a.J=d}
g.Uh=function(){if(!this.enabled())return null;var a=this.G(),b=this.ba(),a=a.get("value");return b.Oc(a)?null:a};function sD(a){if(!a.enabled())return null;var b=[],c=a.ba(),d=a.Z(),e=a.G(),f=!1,h="none"!=c.ue(),k=e.get("x"),e=e.get("value");if(!m(k)||!m(e))if(h&&a.Dj)f=!0;else return null;a.Dj?e=c.Gb(e):c.Oc(e)&&(e=NaN);h=d.transform(k,0);e=c.transform(e,.5);c=Bh(a.ab-90+360*h);h=a.Yb*e;d=d.Oc(k)?NaN:a.Bc+h*Math.cos(c);a=a.vc+h*Math.sin(c);if(isNaN(d)||isNaN(a))f=!0;b.push(d,a);return f?null:b}
g.OK=function(a,b,c){var d=this.Z(),e=this.ba();c=d.transform(a,c||0);b=e.transform(b,.5);e=Bh(this.ab-90+360*c);b*=this.Yb;return{x:d.Oc(a)?NaN:this.Bc+b*Math.cos(e),y:this.vc+b*Math.sin(e)}};function tD(a){if(!a.enabled())return null;var b=[],c=a.ba(),d=a.Z(),e=a.G(),f=!1,h="none"!=c.ue(),k=e.get("x"),l=e.get("value");if(!m(k)||!m(l))if(h&&a.Dj)f=!0;else return null;e=d.transform(k,0);h?(a.Dj?(isNaN(l)&&(l=1),h=I(l),l="none"==c.su||isNaN(h)?0:0<=h?c.Kq:c.Jq):c.Oc(l)&&(l=NaN),h=ub(c.transform(l,.5),0,1)):(h=c.transform(0),isNaN(h)&&(h=0),h=ub(h,0,1));c=Bh(a.ab-90+360*e);e=a.Yb*h;d=d.Oc(k)?NaN:a.Bc+e*Math.cos(c);a=a.vc+e*Math.sin(c);if(isNaN(d)||isNaN(a))f=!0;b.push(d,a);return f?null:b}g.we=function(){return!1};g.Fd=function(){return!1};g.af=function(a){this.enabled()&&(this.Yj=this.Yj?this.hp(a|this.state.Cc()):this.Qr(a|this.state.Cc()))&&this.zf(a)};g.fn=function(){this.Yj=!1;"none"!=this.ba().ue()&&this.Dj&&this.ba().Gb(NaN)};g.remove=function(){this.U&&this.U.remove();this.labels().A(null);oD.v.remove.call(this)};g.mb=function(){this.Yj=!1;this.U||(this.U=oo(),wv(this,this.U),L(this,this.U));this.Ia=this.Cb();if(W(this,4)){var a=this.Ia;this.Yb=Math.min(a.width,a.height)/2;this.Bc=Math.round(a.left+a.width/2);this.vc=Math.round(a.top+a.height/2)}a=this.ba().transform(0);isNaN(a)&&(a=0);a=ub(a,0,1);this.Kd=this.vc+this.Yb*a*Math.sin(Bh(360*a));this.tb();X(this.labels());X(this.kb());X(this.Ib());this.labels().clear();this.labels().A(this.A());this.labels().R(this.Ia);XC(this)};g.ic=function(){this.labels().I();this.labels().O(!1);this.kb().O(!1);this.Ib().O(!1);U(this.labels(),4294967295);U(this.kb(),4294967295);U(this.Ib(),4294967295);W(this,2)?U(this,0):U(this,4294967295)};g.Kb=function(a){if(!this.F||a)this.F=new dd(this,["x","value"],!1);this.F.Bf();return this.F};g.Nd=function(a){var b=this.G(),c=b.l("shape");return c?(b=c.Fa(),a=Yb(a),{value:Ar(b,a)}):{value:{x:b.l("x"),y:b.l("value")}}};g.Qr=function(a){return this.hp(a)};g.Z=function(a){return m(a)?(this.va!=a&&(this.va&&et(this.va,this.Rr,this),this.va=a,R(this.va,this.Rr,this),T(this,16,5)),this):this.va};g.ba=function(a){return m(a)?(this.Da!=a&&(this.Da&&et(this.Da,this.Rr,this),this.Da=a,R(this.Da,this.Rr,this),T(this,16,5)),this):this.Da};g.Rr=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)?b|=1:this.ca(b);T(this,16,b)};g.mj=function(){for(var a=-Infinity,b=Infinity,c=0,d=0,e=this.Ya();e.advance();){var f=this.Uh();f&&(f=I(f),isNaN(f)||(a=Math.max(a,f),b=Math.min(b,f),c+=f));d++}e=c/d;this.L("seriesYMax",a);this.L("seriesMax",a);this.L("seriesMin",b);this.L("seriesYMin",b);this.L("seriesSum",c);this.L("seriesAverage",e);this.L("seriesPointsCount",d);this.L("seriesPointCount",d)};g.Ig=function(a){this.Ub=a};g.Dg=function(){return oD.v.Dg.call(this)|84};g.o=function(){var a=oD.v.o.call(this);a.seriesType=this.qa();a.color=P(this.color());m(this.name())&&(a.name=this.name());a.data=this.data().o();a.labels=this.labels().o();a.hoverLabels=this.kb().o();a.legendItem=this.rm().o();A(this.fill)&&(A(this.fill())?K(8,null,["Series fill"]):a.fill=P(this.fill()));A(this.hoverFill)&&(A(this.Lb())?K(8,null,["Series hoverFill"]):a.hoverFill=P(this.Lb()));A(this.stroke)&&(A(this.stroke())?K(8,null,["Series stroke"]):a.stroke=P(this.stroke()));A(this.hoverStroke)&&(A(this.Db())?K(8,null,["Series hoverStroke"]):a.hoverStroke=P(this.Db()));A(this.hatchFill)&&(A(this.Ua())?K(8,null,["Series hatchFill"]):a.hatchFill=P(this.Ua()));A(this.hoverHatchFill)&&(A(this.Hb())?K(8,null,["Series hoverHatchFill"]):a.hoverHatchFill=P(this.Hb()));return a};g.K=function(a){oD.v.K.call(this,a);A(this.fill)&&this.fill(a.fill);A(this.hoverFill)&&this.Lb(a.hoverFill);A(this.stroke)&&this.stroke(a.stroke);A(this.hoverStroke)&&this.Db(a.hoverStroke);A(this.hatchFill)&&this.Ua(a.hatchFill);A(this.hoverHatchFill)&&this.Hb(a.hoverHatchFill);this.color(a.color);this.name(a.name);this.l(a.meta);"data"in a&&this.data(a.data||null);this.labels(a.labels);this.rm(a.legendItem)};oD.prototype.color=oD.prototype.color;oD.prototype.name=oD.prototype.name;oD.prototype.meta=oD.prototype.l;oD.prototype.data=oD.prototype.data;oD.prototype.labels=oD.prototype.labels;oD.prototype.hoverLabels=oD.prototype.kb;oD.prototype.xScale=oD.prototype.Z;oD.prototype.yScale=oD.prototype.ba;oD.prototype.hover=oD.prototype.Ne;oD.prototype.transformXY=oD.prototype.OK;function uD(a,b){RC.call(this,a,b);this.path=Yn();this.path.zIndex(1);this.b=null;this.w=[this.path];this.ka=!1}G(uD,oD);g=uD.prototype;g.$=oD.prototype.$|128;g.ga=null;g.ub=null;g.vb=null;g.we=function(){return!0};g.aa=function(a){this.ga||(this.ga=new tx,this.ga.La(this),L(this,this.ga),R(this.ga,this.PK,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ga.C(a),this):this.ga};g.Xa=function(a){this.ub||(this.ub=new tx,L(this,this.ub));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ub.C(a),this):this.ub};g.ob=function(a){this.vb||(this.vb=new tx,L(this,this.vb));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.vb.C(a),this):this.vb};g.PK=function(a){Y(a,1)&&T(this,128,65)};g.lu=function(){if(this.we()){var a=this.aa(),b=this.md(Ua);a.M=b;a=this.aa();b=this.Ud();a.W=b}};g.af=function(a){if(this.enabled()){if(a=this.Yj?this.hp(a):this.Qr(a))vD(this,Ua),this.zf(Ua);this.Yj=this.ka&&this.Yj||a}};g.mb=function(){uD.v.mb.call(this);this.X=null;var a=this.aa(),b=this.Xa(),c=this.ob();X(a);X(b);X(c);b=this.md(Ua);a.M=b;b=this.Ud();a.W=b;a.Nh=this.Ub;a.clear();a.A(this.A());a.R(this.Ia);if(this.Tb&&this.enabled()){a=this.w.length;for(b=0;b<a;b++)this.tf(this.w[b],!0);W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8));if(W(this,16)){for(b=0;b<a;b++)this.w[b].clear();b=this.state.Cc();c=Ua;ab(this.state,Ha)?c=Ha:ab(this.state,H)&&(c=H);this.sw(b|c)}if(W(this,2)){b=this.A();this.U.parent(b);for(b=0;b<a;b++)this.w[b].parent(this.U);this.b&&this.b.parent(this.U);U(this,2)}W(this,64)&&!this.b&&(this.b=Yn(),this.b.parent(this.U),this.b.zIndex(2),this.b.fb(!0))}};g.fn=function(){this.ka||(uD.v.fn.call(this),this.Sr())};g.ic=function(){this.Sr();this.zC();this.aa().I();this.aa().O(!1);this.Xa().O(!1);U(this.aa(),4294967295);U(this.Xa(),4294967295);uD.v.ic.call(this)};g.remove=function(){this.aa().A(null);uD.v.remove.call(this)};g.Nd=function(){var a=this.G();return{value:{x:a.l("x"),y:a.l("value")}}};g.Sr=ba;g.zC=ba;g.tw=function(a){return m(a)?(a=!!a,this.ka!=a&&(this.ka=a,T(this,16,1)),this):this.ka};g.sw=function(a){this.path.stroke(SC(this,!1,a),2);this.path.fill(null)};function wD(a,b){a.b&&(a.b.stroke(null),a.b.fill(a.Vb(!1,b)))}
g.Tv=function(a){var b=a.clientX;a=a.clientY;var c=xk(this.A().oa().A()),d=c.x+this.Bc,c=c.y+this.vc,e=Bh(this.Wa()-90),b=Math.acos((b-d)/Math.sqrt(Math.pow(b-d,2)+Math.pow(a-c,2))),b=a<c?2*Math.PI-e-b:b-e,b=zh(b,2*Math.PI),b=b/(2*Math.PI),b=this.Z().ac(b);return this.data().hj("x",b)};function vD(a,b){var c=a.G(),d=I(a.G().get("value")),e=!!(b&Ha),f=!e&&!!(b&H),h=c.get("marker"),k=c.get("hoverMarker"),l=c.get("selectMarker"),c=c.S(),n;n=e?a.ob():f?a.Xa():a.aa();var p=wx(a.aa(),c),q=h&&m(h.enabled)?h.enabled:null,t=k&&m(k.enabled)?k.enabled:null,v=l&&m(l.enabled)?l.enabled:null;(f||e?f?null===t?a.ub&&fa(a.ub.enabled())?null===q?a.ga.enabled():q:a.ub.enabled():t:null===v?a.vb&&fa(a.vb.enabled())?null===q?a.ga.enabled():q:a.vb.enabled():v:null===q?a.ga.enabled():q)&&!isNaN(d)?(t=a.G(),d=!!(b&Ha),e=!d&&!!(b&H),v=t.get("marker"),q=t.get("hoverMarker"),t=t.get("selectMarker"),v=v&&v.position?v.position:null,q=q&&q.position?q.position:null,t=t&&t.position?t.position:null,d=e&&(q||a.Xa().position())||d&&(t||a.ob().position())||v||a.aa().position(),d=a.Nd(d),p?p.Eb(d):p=a.aa().add(d,c),p.fd(),zx(p,n),p.xd(h,f?k:l),p.I()):p&&p.clear()}g.md=function(a){return TC(this,!1,a)};g.Ud=function(){return Cq(this.aa().fill())};g.dt=function(){return this.aa().enabled()?this.aa().type():null};g.Og=function(a){a=uD.v.Og.call(this,a);var b=this.aa(),c=this.md(Ua);b.M=c;c=this.Ud();b.W=c;b.enabled()?(a.iconMarkerType=a.iconMarkerType||b.qa()||this.Ub,a.iconMarkerFill=a.iconMarkerFill||b.fill(),a.iconMarkerStroke=a.iconMarkerStroke||b.stroke()):(a.iconMarkerType=null,a.iconMarkerFill=null,a.iconMarkerStroke=null);return a};g.Cu=function(a){"marker"==a.iconType&&this.we()&&(a.iconFill=this.ga.fill(),a.iconStroke=this.ga.stroke())};g.Qd=function(a){vD(this,a);this.zf(a)};g.Bd=function(a){this.sw(a);wD(this,a)};g.o=function(){var a=uD.v.o.call(this);a.markers=this.aa().o();a.hoverMarkers=this.Xa().o();a.selectMarkers=this.ob().o();a.connectMissingPoints=this.tw();return a};g.K=function(a){uD.v.K.call(this,a);this.aa().C(a.markers);this.Xa().C(a.hoverMarkers);this.ob().C(a.selectMarkers);this.tw(a.connectMissingPoints)};uD.prototype.markers=uD.prototype.aa;uD.prototype.hoverMarkers=uD.prototype.Xa;uD.prototype.selectMarkers=uD.prototype.ob;uD.prototype.connectMissingPoints=uD.prototype.tw;function xD(a,b){uD.call(this,a,b);this.fa=Yn();this.fa.zIndex(1.1);this.w.push(this.fa);this.Dj=!0}G(xD,uD);pD.area=xD;g=xD.prototype;g.Qr=function(){if(W(this,16)){var a;a=this.ba().Iq;var b=tD(this),c=sD(this),d=b[0],e=b[1];m(this.m)||(this.m=!c||!b);if(!c||!b)return"none"==this.ba().ue()||c||this.X||(this.ta||(this.ta=[]),this.ta.push(d,e,a)),!1;this.Sr();b=c[0];c=c[1];null==this.X&&(this.X={x:b,y:c},this.qc={x:d,y:e});this.path.moveTo(d,e).lineTo(b,c);this.fa.moveTo(b,c);"none"==this.ba().ue()||(this.a=[d,e,a]);this.G().l("x",b).l("value",c).l("xZero",d).l("yZero",e)}return!0};g.hp=function(){if(W(this,16)){var a;a=this.ba().Iq;var b=tD(this),c=sD(this);if(b){var d=b[0],e=b[1];"none"!=this.ba().ue()&&(c||this.ka)&&this.a.push(d,e,a)}if(!c||!b)return!1;a=c[0];c=c[1];this.path.lineTo(a,c);this.fa.lineTo(a,c);this.ba().ue();this.G().l("x",a).l("value",c).l("xZero",d).l("yZero",e)}return!0};g.Sr=function(){if(this.a){for(var a=NaN,b=this.a.length-1;0<=b;b-=3){var c=this.a[b-2],d=this.a[b-1];this.a[b-0]&&!isNaN(a)&&this.path.lineTo(a,d);this.path.lineTo(c,d);a=c}this.path.close();this.a=null}};g.ic=function(){!W(this,16)||!this.ka&&this.m||null==this.X||(this.path.lineTo(this.X.x,this.X.y),this.fa.lineTo(this.X.x,this.X.y),this.a&&(this.ta&&$f(this.a,this.ta),"none"!=this.ba().ue()&&this.a.push(this.qc.x,this.qc.y,!1)));xD.v.ic.call(this)};g.qa=function(){return"area"};g.mb=function(){this.qc=this.ta=null;delete this.m;this.a=null;xD.v.mb.call(this)};g.sw=function(a){this.path.stroke(null);this.path.fill(TC(this,!1,a));this.fa.stroke(SC(this,!1,a));this.fa.fill(null)};g.zC=function(){if(W(this,64)&&this.b){this.b.Pb(this.path.o());var a=this.state.Cc();wD(this,a)}};xD.prototype.fill=xD.prototype.fill;xD.prototype.hoverFill=xD.prototype.Lb;xD.prototype.selectFill=xD.prototype.Ac;xD.prototype.stroke=xD.prototype.stroke;xD.prototype.hoverStroke=xD.prototype.Db;xD.prototype.selectStroke=xD.prototype.lc;xD.prototype.hatchFill=xD.prototype.Ua;xD.prototype.hoverHatchFill=xD.prototype.Hb;xD.prototype.selectHatchFill=xD.prototype.cc;xD.prototype.getType=xD.prototype.qa;function yD(a,b){uD.call(this,a,b);this.Dj=!1;this.stroke(function(){return this.sourceColor})}G(yD,uD);pD.line=yD;g=yD.prototype;g.Fn=!1;g.Qr=function(){var a=sD(this);m(this.m)||(this.m=!a);if(a)this.Fn=!1;else return this.Fn=!0,!1;if(W(this,16)){var b=a[0],a=a[1];this.X||(this.X={x:b,y:a});this.path.moveTo(b,a);this.G().l("x",b).l("value",a)}return!0};g.hp=function(){var a=sD(this);if(a)this.Fn=!1;else return this.Fn=!0,!1;if(W(this,16)){var b=a[0],a=a[1];this.path.lineTo(b,a);this.G().l("x",b).l("value",a)}return!0};g.ic=function(){W(this,16)&&(this.ka||!this.m&&!this.Fn)&&null!=this.X&&this.path.lineTo(this.X.x,this.X.y);yD.v.ic.call(this)};g.mb=function(){this.Fn=!1;yD.v.mb.call(this)};g.md=function(){return SC(this,!1,Ua)};g.Vb=function(){return null};g.qa=function(){return"line"};yD.prototype.stroke=yD.prototype.stroke;yD.prototype.hoverStroke=yD.prototype.Db;yD.prototype.selectStroke=yD.prototype.lc;yD.prototype.finalizeDrawing=yD.prototype.ic;yD.prototype.startDrawing=yD.prototype.mb;yD.prototype.getType=yD.prototype.qa;function zD(a,b){RC.call(this,a,b);this.b=new tx;this.b.Gd(Hr);this.b.size(10);this.b.anchor("center");this.b.offsetX(0);this.b.offsetY(0);this.b.rotation(0);this.b.La(this);this.b.zIndex(1);L(this,this.b);this.X=new tx;L(this,this.b);this.w=new tx;L(this,this.w);this.ka=this.fa=NaN;this.Dj=!1}G(zD,oD);pD.marker=zD;g=zD.prototype;g.Fd=function(){return!0};g.type=function(a){return m(a)?(A(a)||(a=ec(a)),this.m!=a&&(this.m=a,T(this,16,65)),this):this.m};g.ip=function(a){return m(a)?(A(a)||(a=ec(a)),this.ta!=a&&(this.ta=a),this):this.ta};g.jp=function(a){return m(a)?(A(a)||(a=ec(a)),this.W!=a&&(this.W=a),this):this.W};g.size=function(a){return m(a)?(this.fa!=a&&(this.fa=a,T(this,16,1)),this):this.fa};g.uw=function(a){return m(a)?(this.ka!=a&&(this.ka=a),this):this.ka};g.vw=function(a){return m(a)?(this.M!=a&&(this.M=a),this):this.M};g.hp=function(a){a|=this.state.Cc();var b=sD(this);if(!b)return!1;if(W(this,16)){var c=b[0],b=b[1];this.G().l("x",c).l("value",b);AD(this,a)}W(this,64)&&BD(this,a);return!0};g.Nd=function(){var a=this.G();return{value:{x:a.l("x"),y:a.l("value")}}};g.mb=function(){zD.v.mb.call(this);if(this.Tb&&this.enabled()&&(X(this.b),W(this,512)&&this.b.clear(),W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8)),W(this,16)&&(this.b.fill(TC(this,!1,Ua)),this.b.stroke(SC(this,!1,Ua)),this.b.type(this.m),this.b.size(this.fa),this.X.fill(TC(this,!1,H)),this.X.stroke(SC(this,!1,H)),this.X.type(this.ta),this.X.size(this.ka),this.w.fill(TC(this,!1,Ha)),this.w.stroke(SC(this,!1,Ha)),this.w.type(this.W),this.w.size(this.M)),W(this,2)&&(this.U.parent(this.A()),this.b.A(this.U),this.a&&this.a.A(this.U)),W(this,64))){var a=this.Vb(!1,Ua),b=this.Vb(!1,H),c=this.Vb(!1,Ha);CD(this,!(Fr(a)&&Fr(b)&&Fr(c)))}};function CD(a,b){!a.a&&b&&(a.a=new tx,a.a.A(a.U),a.a.zIndex(2),a.a.fb(!0))}g.ic=function(){this.Tb&&this.enabled()&&(this.b.I(),this.b.O(!1));W(this,64)&&this.a&&(this.a.I(),this.a.O(!1));this.enabled()&&U(this,10);zD.v.ic.call(this)};g.Qd=function(a){AD(this,a,!0);BD(this,a);this.zf(a)};g.Bd=function(a){AD(this,a,!0);BD(this,a)};function AD(a,b,c){var d=I(a.G().get("value"));if(!isNaN(d)){var e=a.G().get("type"),f=a.G().get("markerSize"),h=TC(a,!0,Ua),k=SC(a,!0,Ua),l=a.G().get("hoverType"),n=a.G().get("hoverMarkerSize"),p=TC(a,!0,H),q=SC(a,!0,H),t=a.G().get("selectType"),v=a.G().get("selectMarkerSize"),w=TC(a,!0,Ha),x=SC(a,!0,Ha),d=!!(b&Ha);b=!d&&!!(b&H);d=d?a.w:b?a.X:a.b;e={type:e,size:f,fill:h,stroke:k};l={type:l,size:n,fill:p,stroke:q};t={type:t,size:v,fill:w,stroke:x};w=a.G().S();v=a.Nd("center");a=wx(a.b,w)||a.b.add(v,w);a.fd();zx(a,d);a.xd(e,b?l:t);a.Eb(v);c&&a.I()}}
function BD(a,b){if(!a.a){var c=a.Vb(!0,b);CD(a,!Fr(c))}if(a.a){var c=a.G(),d=c.S(),e=c.get("type"),f=c.get("markerSize"),h=c.get("hoverType"),k=c.get("hoverMarkerSize"),l=a.G().get("selectType"),n=a.G().get("selectMarkerSize"),p=!!(b&Ha),c=!p&&!!(b&H),p=p?a.w:c?a.X:a.b,d=a.a.add(a.Nd("center"),d),e={type:e,size:f,fill:a.Vb(!0,b),stroke:null},h={type:h,size:k,fill:a.Vb(!0,b),stroke:null},l={type:l,size:n,fill:a.Vb(!0,b),stroke:null};d.fd();xx(d,a.b);zx(d,p);d.xd(e,c?h:l);d.I()}}g.qa=function(){return"marker"};g.o=function(){var a=zD.v.o.call(this);A(this.type())?K(8,null,["Marker type"]):a.type=this.type();A(this.ip())?K(8,null,["Marker hoverType"]):m(this.ip())&&(a.hoverType=this.ip());A(this.jp())?K(8,null,["Marker selectType"]):m(this.jp())&&(a.selectType=this.jp());a.size=this.size();a.hoverSize=this.uw();a.selectSize=this.vw();return a};g.K=function(a){zD.v.K.call(this,a);this.size(a.size);this.uw(a.hoverSize);this.vw(a.selectSize);this.type(a.type);this.ip(a.hoverType);this.jp(a.hoverType)};zD.prototype.stroke=zD.prototype.stroke;zD.prototype.hoverStroke=zD.prototype.Db;zD.prototype.selectStroke=zD.prototype.lc;zD.prototype.fill=zD.prototype.fill;zD.prototype.hoverFill=zD.prototype.Lb;zD.prototype.selectFill=zD.prototype.Ac;zD.prototype.size=zD.prototype.size;zD.prototype.hoverSize=zD.prototype.uw;zD.prototype.selectSize=zD.prototype.vw;zD.prototype.type=zD.prototype.type;zD.prototype.hoverType=zD.prototype.ip;zD.prototype.selectType=zD.prototype.jp;zD.prototype.hatchFill=zD.prototype.Ua;zD.prototype.hoverHatchFill=zD.prototype.Hb;zD.prototype.selectHatchFill=zD.prototype.cc;zD.prototype.getType=zD.prototype.qa;function DD(a,b){RC.call(this,a,b);this.Gb=this.fa=null}G(DD,RC);var ED={};g=DD.prototype;g.zp=ba;g.ou=ba;g.ia=RC.prototype.ia|84;g.$=RC.prototype.$|848;g.Am=!1;g.Dn=!1;g.Da=null;g.va=null;g.Kd=0;g.data=function(a,b){return m(a)?(this.eb!==a&&(this.eb=a,Ad(this.B),a instanceof $u?this.da=this.B=a.Rg():this.da=a instanceof fv?this.B=a.Pd():(this.B=new fv(r(a)||u(a)?a:null,b)).Pd(),L(this,this.B),this.J=this.da.Rg(),R(this.J,this.RK,this),T(this,560,5)),this):this.J};g.RK=function(a){Y(a,16)&&this.ca(20)};function FD(a){if(!a.enabled())return null;var b=[],c=a.ba(),d=a.Z(),e=a.G(),f=!1,h=e.get("x"),e=e.get("value");if(!m(h)||!m(e))return null;d=d.Oc(h)?NaN:a.kf(d.transform(h),!0);c.Oc(e)&&(e=NaN);a=a.kf(c.transform(e),!1);if(isNaN(d)||isNaN(a))f=!0;b.push(d,a);return f?null:b}g.TK=function(a){return this.kf(this.Z().transform(a),!0)};g.UK=function(a){return this.kf(this.ba().transform(a),!1)};g.Fd=function(){return!1};g.we=function(){return!1};g.xf=function(){return!0};g.clip=function(a){return m(a)?(null===a&&(a=!1),this.Am!=a&&(this.Am=a,T(this,4,9)),this):this.Am};g.pe=function(a,b,c,d){this.w||(this.w=new xu,L(this,this.w));return m(a)?(this.w.C.apply(this.w,arguments),this):this.w};g.af=function(a){this.enabled()&&(this.Dn=this.Ts(a|this.state.Cc()))&&(this.zf(a),this.xf()&&su(this.error())&&this.Tr())};g.remove=function(){this.U&&this.U.remove();this.labels().A(null);DD.v.remove.call(this)};g.mb=function(){this.Dn=!1;this.U||(this.U=oo(),wv(this,this.U),L(this,this.U));this.ka=this.Cb();this.tb();W(this,16)&&this.Dz();X(this.labels());X(this.kb());X(this.Ib());this.labels().clear();this.labels().A(this.A());this.labels().R(this.ka);XC(this)};g.ic=function(){this.labels().I();if(this.clip()){var a=ia(this.clip())?this.ka:this.clip(),b=this.labels().ld();b&&b.clip(a)}this.labels().O(!1);this.kb().O(!1);this.Ib().O(!1);U(this.labels(),4294967295);U(this.kb(),4294967295);U(this.Ib(),4294967295);W(this,2)?U(this,0):U(this,4294967295)};g.Kb=function(a){if(!this.F||a)a=this.og()?["x","value","size"]:["x","value"],this.F=new dd(this,a,this.xf()&&qu(this.va));this.F.Bf();return this.F};g.Nd=function(a){var b=this.G(),c=b.l("shape");return c?(b=c.Fa(),a=Yb(a),{value:Ar(b,a)}):{value:{x:b.l("x"),y:b.l("value")}}};g.kf=function(a,b){var c=this.ka,d;b?(d=c.left,c=c.width):(d=c.ra(),c=-c.height);return d+a*c};g.ul=function(){return this.va};g.Z=function(a){if(m(a)){if(!(a instanceof ru))return Rc(5,void 0,["Scatter chart scales"]),this;this.va!=a&&(this.va&&et(this.va,this.Ur,this),this.va=a,R(this.va,this.Ur,this),T(this,16,5));return this}return this.va};g.ba=function(a){if(m(a)){if(!(a instanceof ru))return Rc(5,void 0,["Scatter chart scales"]),this;this.Da!=a&&(this.Da&&et(this.Da,this.Ur,this),this.Da=a,R(this.Da,this.Ur,this),T(this,16,5));return this}return this.Da};g.Ur=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)?b|=1:this.ca(b);T(this,16,b)};g.mj=function(){for(var a=-Infinity,b=-Infinity,c=Infinity,d=Infinity,e=0,f=0,h=0,k=this.Ya(),l="bubble"==this.qa(),n,p=Infinity,q=-Infinity,t=0,v=[],w=[],x=[];k.advance();){var z=k.get("value");n=k.get("x");m(z)&&(z=I(z),isNaN(z)||(b=Math.max(b,z),d=Math.min(d,z),f+=z,x.push(z)));m(n)&&(n=I(n),isNaN(n)||(a=Math.max(a,n),c=Math.min(c,n),e+=n,w.push(n)));l&&(n=k.get("size"),m(n)&&(n=I(n),isNaN(n)||(q=Math.max(q,n),p=Math.min(p,n),t+=n,v.push(n))));h++}k=f/h;n=e/h;this.L("seriesMax",b);this.L("seriesMin",d);this.L("seriesSum",f);this.L("seriesAverage",k);this.L("seriesPointsCount",h);this.L("seriesPointCount",h);this.L("seriesFirstXValue",w[0]);this.L("seriesFirstYValue",x[0]);this.L("seriesLastXValue",w[w.length-1]);this.L("seriesLastYValue",x[x.length-1]);this.L("seriesYSum",f);this.L("seriesXSum",e);this.L("seriesXMin",c);this.L("seriesYMin",d);this.L("seriesXMax",a);this.L("seriesYMax",b);this.L("seriesYAverage",k);this.L("seriesXAverage",n);this.L("seriesXMedian",Bl(w));this.L("seriesYMedian",Bl(x));this.L("seriesXMode",Cl(w));this.L("seriesYMode",Cl(x));l&&(this.L("seriesBubbleSizeSum",t),this.L("seriesBubbleSizeAverage",t/h),this.L("seriesBubbleMinSize",p),this.L("seriesBubbleMaxSize",q),this.L("seriesBubbleSizeMedian",Bl(v)),this.L("seriesBubbleSizeMode",Cl(v)))};g.error=function(a){this.xf()||K(12,void 0,[this.qa()]);this.X||(this.X=new pu(this),L(this,this.X),R(this.X,this.SK,this));return m(a)?(this.X.C(a),this):this.X};g.SK=function(a){var b=0;Y(a,1)&&(b|=1);Y(a,4)&&(b|=4);T(this,16,b)};g.Dz=function(){this.Gb||(this.Gb=[]);if(this.fa)for(var a in this.fa){var b=this.fa[a];b.clear();b.parent(null);delete this.fa[a]}else this.fa={}};g.gF=function(a){var b=""+this.G().S()+rr(a);if(b in this.fa)return this.fa[b];var c=this.Gb.length?this.Gb.pop():Yn().zIndex(3);this.U.Fc(c);this.tf(c);c.stroke(a);c.fill(null);return this.fa[b]=c};g.Vg=function(a){return this.error().Vg(a)};g.AC=function(a){var b=this.G(),c=a?this.error().Yn():this.error().Tn();a=a?b.get("xErrorStroke"):b.get("valueErrorStroke");c=this.Tf(a||c);return Gn(c)};g.Tr=function(){if(W(this,16)){var a=this.error();switch(a.mode()){case"x":a.I(!0,!1);break;case"value":a.I(!1,!1);break;case"both":a.I(!0,!1),a.I(!1,!1)}}};g.Dg=function(){return DD.v.Dg.call(this)|84};g.o=function(){var a=DD.v.o.call(this);a.seriesType=this.qa();a.clip=this.Am instanceof M?this.Am.o():this.Am;this.xf()&&(a.error=this.error().o());return a};g.K=function(a){DD.v.K.call(this,a);this.xf()&&this.error(a.error);this.clip(a.clip)};DD.prototype.clip=DD.prototype.clip;DD.prototype.data=DD.prototype.data;DD.prototype.xScale=DD.prototype.Z;DD.prototype.yScale=DD.prototype.ba;DD.prototype.error=DD.prototype.error;DD.prototype.transformX=DD.prototype.TK;DD.prototype.transformY=DD.prototype.UK;function GD(a,b){DD.call(this,a,b)}G(GD,DD);g=GD.prototype;g.$=DD.prototype.$|128;g.ga=null;g.ub=null;g.we=function(){return!0};g.aa=function(a){this.ga||(this.ga=new tx,this.ga.La(this),L(this,this.ga),R(this.ga,this.QK,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ga.C(a),this):this.ga};g.Xa=function(a){this.ub||(this.ub=new tx,L(this,this.ub));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ub.C(a),this):this.ub};g.ob=function(a){this.vb||(this.vb=new tx,L(this,this.vb));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.vb.C(a),this):this.vb};g.QK=function(a){Y(a,1)&&T(this,128,65)};g.Ig=function(a){this.aa().Nh=a};g.lu=function(){if(this.we()){var a=this.aa(),b=this.md();a.M=b;a=this.aa();b=this.Ud();a.W=b}};g.remove=function(){this.aa().A(null);GD.v.remove.call(this)};g.mb=function(){GD.v.mb.call(this);var a=this.aa(),b=this.Xa();X(a);X(b);b=this.md();a.M=b;b=this.Ud();a.W=b;a.clear();a.A(this.A());a.R(this.ka)};g.af=function(a){GD.v.af.call(this,a);this.enabled()&&this.Dn&&HD(this,a)};g.ic=function(){this.aa().I();if(this.clip()){var a=ia(this.clip())?this.ka:this.clip(),b=this.aa().ld();b&&b.clip(a)}this.aa().O(!1);this.Xa().O(!1);U(this.aa(),4294967295);U(this.Xa(),4294967295);GD.v.ic.call(this)};function HD(a,b){var c=a.G(),d=!!(b&Ha),e=!d&&!!(b&H),f=c.get("marker"),h=c.get("hoverMarker"),k=c.get("selectMarker"),c=c.S(),l;l=d?a.ob():e?a.Xa():a.aa();var n=wx(a.aa(),c),p=f&&m(f.enabled)?f.enabled:null,q=h&&m(h.enabled)?h.enabled:null,t=k&&m(k.enabled)?k.enabled:null;if(e||d?e?null===q?a.ub&&fa(a.ub.enabled())?null===p?a.ga.enabled():p:a.ub.enabled():q:null===t?a.vb&&fa(a.vb.enabled())?null===p?a.ga.enabled():p:a.vb.enabled():t:null===p?a.ga.enabled():p){var t=a.G(),d=!!(b&Ha),p=!d&&!!(b&H),v=t.get("marker"),q=t.get("hoverMarker"),t=t.get("selectMarker"),v=v&&v.position?v.position:null,q=q&&q.position?q.position:null,t=t&&t.position?t.position:null,d=p&&(q||a.Xa().position())||d&&(t||a.ob().position())||v||a.aa().position(),d=a.Nd(d);n?n.Eb(d):n=a.aa().add(d,c);n.fd();zx(n,l);n.xd(f,e?h:k);n.I()}else n&&n.clear()}g.md=function(){return TC(this,!1,Ua)};g.Ud=function(){return Cq(this.aa().fill())};g.dt=function(){return this.aa().enabled()?this.aa().type():null};g.Og=function(a){a=GD.v.Og.call(this,a);var b=this.aa(),c=this.md();b.M=c;c=this.Ud();b.W=c;b.enabled()?(a.iconMarkerType=a.iconMarkerType||b.type(),a.iconMarkerFill=a.iconMarkerFill||b.fill(),a.iconMarkerStroke=a.iconMarkerStroke||b.stroke()):(a.iconMarkerType=null,a.iconMarkerFill=null,a.iconMarkerStroke=null);return a};g.Cu=function(a){"marker"==a.iconType&&this.we()&&(a.iconFill=this.ga.fill(),a.iconStroke=this.ga.stroke())};g.o=function(){var a=GD.v.o.call(this);a.markers=this.aa().o();a.hoverMarkers=this.Xa().o();a.selectMarkers=this.ob().o();return a};g.K=function(a){GD.v.K.call(this,a);this.aa().C(a.markers);this.Xa().C(a.hoverMarkers);this.ob().C(a.selectMarkers)};GD.prototype.markers=GD.prototype.aa;GD.prototype.hoverMarkers=GD.prototype.Xa;GD.prototype.selectMarkers=GD.prototype.ob;function ID(a,b){DD.call(this,a,b);this.a=!1}G(ID,GD);ED.bubble=ID;g=ID.prototype;g.Cm=null;g.aj=null;g.Zk=NaN;g.Bm=NaN;g.Em=NaN;g.Dm=NaN;g.zn=function(){return Cq(Cq(Cq(this.sourceColor)))};g.wF=function(){return Cq(Cq(Cq(Cq(this.sourceColor))))};g.Gl=null;g.jz=function(){return Cq(Cq(Cq(Cq(this.sourceColor))))};g.xF=function(){return Cq(Cq(Cq(Cq(Cq(this.sourceColor)))))};g.WO=function(a){K(405,null,["series.minimumSize()","chart.minBubbleSize()"],!0);return m(a)?this:this.kc};g.VO=function(a){K(405,null,["series.maximumSize()","chart.maxBubbleSize()"],!0);return m(a)?this:this.qc};g.Xx=function(a){return m(a)?(a=!!a,this.a!=a&&(this.a=a,T(this,16,1)),this):this.a};g.og=function(){return!0};g.Fd=function(){return!0};g.xf=function(){return!1};g.BC=function(){return Wn()};g.mb=function(){ID.v.mb.call(this);if(this.Tb&&this.enabled()){this.Cm||(this.Cm=new Qo(this.BC,ba),this.Cm.zIndex(1));W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8));var a,b;W(this,4)&&(this.clip()&&(ia(this.clip())?(a=this.ka,b=this.pe(),a=b.Ve(a)):a=this.clip(),this.U.clip(a)),U(this,4));W(this,16)&&this.Cm.clear();W(this,2)&&(this.U.parent(this.A()),this.Cm.parent(this.U),this.aj&&this.aj.parent(this.U),U(this,2));W(this,64)&&!this.aj&&(this.aj=new Qo(this.BC,ba),this.aj.parent(this.U),this.aj.zIndex(2),this.aj.fb(!0));this.zp();a=Math.min(this.ka.height,this.ka.width);this.b=Q(this.kc,a);this.Ia=Q(this.qc,a)}};g.zp=function(a){if(W(this,512)){this.Em=Number.POSITIVE_INFINITY;this.Dm=Number.NEGATIVE_INFINITY;for(var b,c=this.data().G();c.advance();)if(b=+c.get("size"),0<b||this.a)b=Math.abs(b),b>this.Dm&&(this.Dm=b),b<this.Em&&(this.Em=b);this.Zk=this.Em;this.Bm=this.Dm;U(this,512)}if(a)this.Zk=a[0]=Math.min(a[0],this.Em),this.Bm=a[1]=Math.max(a[1],this.Dm);else if(isNaN(this.Zk)||isNaN(this.Bm))this.Zk=this.Em,this.Bm=this.Dm};g.ou=function(a,b,c,d){this.Zk=a;this.Bm=b;this.kc=c;this.qc=d};g.Ts=function(a){var b=FD(this);if(!b)return!1;var c=this.G(),d=c.get("size"),d=I(d);if(isNaN(d))return!1;if(W(this,16)){var e=b[0],b=b[1],f=d,d=0>f,f=Math.abs(f),f=(f-this.Zk)/(this.Bm-this.Zk);if(isNaN(f)||!isFinite(f))f=.5;f=this.b+f*(this.Ia-this.b);d=d?-f:f;if(0>d&&!this.a)return!1;f=Ro(this.Cm);c.l("x",e).l("value",b).l("size",d).l("shape",f);f.Yb(Math.abs(d)).nh(e).oh(b);JD(this,a);this.tf(f)}W(this,64)&&(e=c.l("hatchFillShape"),e||(e=this.aj?Ro(this.aj):null,c.l("hatchFillShape",e)),c=c.l("shape"),m(c)&&e&&e.Pb(c.o()),KD(this,a));return!0};function JD(a,b){var c=a.G().l("shape"),d=I(a.G().l("size"));if(m(c)&&!isNaN(d)){var e;if(0>d){d=a.G();e=d.get("negativeFill")||a.kp();d=b&Ha?a.Tf(d.get("selectNegativeFill")||a.Aq()||e,e):b&H?a.Tf(d.get("hoverNegativeFill")||a.aq()||e,e):a.Tf(e);d=Bn(d);e=a.G();var f=e.get("negativeStroke")||a.vq();e=b&Ha?a.Tf(e.get("selectNegativeStroke")||a.Bq()||f,f):b&H?a.Tf(e.get("hoverNegativeStroke")||a.bq()||f,f):a.Tf(f);e=Gn(e)}else d=TC(a,!0,b),e=SC(a,!0,b);c.stroke(e,2,"none","round");c.fill(d)}}
function KD(a,b){var c=a.G().l("hatchFillShape"),d=I(a.G().l("size"));if(null!=c&&!isNaN(d)){var e;if(0>d){d=a.G();m(d.get("negativeHatchFill"))?e=d.get("negativeHatchFill"):e=a.lp();var f;b&Ha?m(d.get("selectHatchFill"))?f=d.get("selectHatchFill"):m(a.Hn())?f=a.Hn():f=e:b&H?m(d.get("hoverHatchFill"))?f=d.get("hoverHatchFill"):m(a.sn())?f=a.sn():f=e:f=e;e=VC(a,f)}else e=a.Vb(!0,b);c.stroke(null).fill(e)}}
g.vq=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.jz&&(this.jz=f,T(this,16,1));return this}return this.jz};g.bq=function(a,b,c,d,e){return m(a)?(this.xF=A(a)?a:Gn.apply(null,arguments),this):this.xF};g.Bq=function(a,b,c,d,e){return m(a)?(this.Cf=A(a)?a:Gn.apply(null,arguments),this):this.Cf};g.kp=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.zn&&(this.zn=k,T(this,16,1));return this}return this.zn};g.aq=function(a,b,c,d,e,f,h){return m(a)?(this.wF=A(a)?a:Bn.apply(null,arguments),this):this.wF};g.Aq=function(a,b,c,d,e,f,h){return m(a)?(this.Ub=A(a)?a:Bn.apply(null,arguments),this):this.Ub};g.lp=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.Gl&&(this.Gl=e,T(this,64,1));return this}return this.Gl};g.sn=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);this.m!=e&&(this.m=e);return this}return this.m};g.Hn=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);this.ta!=e&&(this.ta=e);return this}return this.ta};g.Qd=function(a){JD(this,a);KD(this,a);HD(this,a);this.zf(a)};g.Bd=function(a){JD(this,a);KD(this,a)};g.qa=function(){return"bubble"};g.o=function(){var a=ID.v.o.call(this);a.displayNegative=this.Xx();A(this.kp())?K(8,null,["Bubble Series negativeFill"]):a.negativeFill=P(this.kp());A(this.aq())?K(8,null,["Bubble Series hoverNegativeFill"]):a.hoverNegativeFill=P(this.aq());A(this.Aq())?K(8,null,["Bubble Series selectNegativeFill"]):a.selectNegativeFill=P(this.Aq());A(this.vq())?K(8,null,["Bubble Series negativeStroke"]):a.negativeStroke=P(this.vq());A(this.bq())?K(8,null,["Bubble Series hoverNegativeStroke"]):a.hoverNegativeStroke=P(this.bq());A(this.Bq())?K(8,null,["Bubble Series selectNegativeStroke"]):a.selectNegativeStroke=P(this.Bq());A(this.lp())?K(8,null,["Bubble Series negativeHatchFill"]):a.negativeHatchFill=P(this.lp());A(this.sn())?K(8,null,["Bubble Series hoverNegativeHatchFill"]):a.hoverNegativeHatchFill=P(this.sn());A(this.Hn())?K(8,null,["Bubble Series selectNegativeHatchFill"]):a.selectNegativeHatchFill=P(this.Hn());return a};g.K=function(a){ID.v.K.call(this,a);this.Xx(a.displayNegative);this.kp(a.negativeFill);this.aq(a.hoverNegativeFill);this.Aq(a.selectNegativeFill);this.vq(a.negativeStroke);this.bq(a.hoverNegativeStroke);this.Bq(a.selectNegativeStroke);this.lp(a.negativeHatchFill);this.sn(a.hoverNegativeHatchFill);this.Hn(a.selectNegativeHatchFill)};ID.prototype.minimumSize=ID.prototype.WO;ID.prototype.maximumSize=ID.prototype.VO;ID.prototype.displayNegative=ID.prototype.Xx;ID.prototype.negativeFill=ID.prototype.kp;ID.prototype.hoverNegativeFill=ID.prototype.aq;ID.prototype.selectNegativeFill=ID.prototype.Aq;ID.prototype.negativeStroke=ID.prototype.vq;ID.prototype.hoverNegativeStroke=ID.prototype.bq;ID.prototype.selectNegativeStroke=ID.prototype.Bq;ID.prototype.negativeHatchFill=ID.prototype.lp;ID.prototype.hoverNegativeHatchFill=ID.prototype.sn;ID.prototype.selectNegativeHatchFill=ID.prototype.Hn;ID.prototype.fill=ID.prototype.fill;ID.prototype.hoverFill=ID.prototype.Lb;ID.prototype.selectFill=ID.prototype.Ac;ID.prototype.stroke=ID.prototype.stroke;ID.prototype.hoverStroke=ID.prototype.Db;ID.prototype.selectStroke=ID.prototype.lc;ID.prototype.hatchFill=ID.prototype.Ua;ID.prototype.hoverHatchFill=ID.prototype.Hb;ID.prototype.selectHatchFill=ID.prototype.cc;ID.prototype.getType=ID.prototype.qa;function LD(a,b){DD.call(this,a,b);this.path=Yn();this.path.zIndex(1);this.a=!1}G(LD,GD);ED.line=LD;g=LD.prototype;g.af=function(a){if(this.enabled()){var b=this.Ts(a);b&&(HD(this,a),this.zf(a),this.xf()&&su(this.error())&&this.Tr());this.Dn=this.a&&this.Dn||b}};g.mb=function(){LD.v.mb.call(this);if(this.Tb&&this.enabled()){this.tf(this.path,!0);W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8));var a,b;W(this,4)&&(this.clip()&&(ia(this.clip())?(a=this.ka,b=this.pe(),a=b.Ve(a)):a=this.clip(),this.U.clip(a)),U(this,4));W(this,16)&&(this.path.clear(),a=this.state.a,b=Ua,ab(this.state,Ha)?b=Ha:ab(this.state,H)&&(b=H),this.path.stroke(SC(this,!1,a|b),2),this.path.fill(null));W(this,2)&&(a=this.A(),this.U.parent(a),this.path.parent(this.U),U(this,2))}};g.Nd=function(){var a=this.G();return{value:{x:a.l("x"),y:a.l("value")}}};g.ww=function(a){return m(a)?(this.a!=!!a&&(this.a=!0,T(this,16,1)),this):this.a};g.Ts=function(){var a=FD(this);if(!a)return!1;if(W(this,16)){var b=a[0],a=a[1];this.Dn?this.path.lineTo(b,a):this.path.moveTo(b,a);this.G().l("x",b).l("value",a)}return!0};g.md=function(){return SC(this,!1,Ua)};g.Vb=function(){return null};g.qa=function(){return"line"};g.Qd=function(a){HD(this,a);this.zf(a)};g.Bd=function(a){this.path.stroke(SC(this,!1,a),2);this.path.fill(null)};g.Tv=function(a){var b=this.ka||Nl(0,0,0,0);a=a.clientX;var c;c=b.left+xk(this.A().oa().A()).x;b=(a-c)/b.width;b=this.Z().ac(b);b=this.data().hj("x",b);0>b&&(b=NaN);return b};g.o=function(){var a=LD.v.o.call(this);a.connectMissingPoints=this.ww();return a};g.K=function(a){LD.v.K.call(this,a);this.ww(a.connectMissingPoints)};LD.prototype.connectMissingPoints=LD.prototype.ww;LD.prototype.stroke=LD.prototype.stroke;LD.prototype.hoverStroke=LD.prototype.Db;LD.prototype.selectStroke=LD.prototype.lc;LD.prototype.getType=LD.prototype.qa;function MD(a,b){DD.call(this,a,b);this.b=new tx;this.b.Gd(Hr);this.b.size(10);this.b.anchor("center");this.b.offsetX(0);this.b.offsetY(0);this.b.rotation(0);this.b.La(this);this.b.zIndex(1);L(this,this.b);this.Ia=new tx;L(this,this.b);this.ta=new tx;L(this,this.ta);this.Ub=this.qc=NaN}G(MD,DD);ED.marker=MD;g=MD.prototype;g.Ig=function(a){this.Cf=a};g.Fd=function(){return!0};g.type=function(a){return m(a)?(A(a)||(a=ec(a)),this.m!=a&&(this.m=a,T(this,16,65)),this):this.m||this.Cf};g.mp=function(a){return m(a)?(A(a)||(a=ec(a)),this.kc!=a&&(this.kc=a),this):this.kc};g.np=function(a){return m(a)?(A(a)||(a=ec(a)),this.W!=a&&(this.W=a),this):this.W};g.size=function(a){return m(a)?(this.qc!=a&&(this.qc=a,T(this,16,1)),this):this.qc};g.xw=function(a){return m(a)?(this.Ub!=a&&(this.Ub=a),this):this.Ub};g.yw=function(a){return m(a)?(this.M!=a&&(this.M=a),this):this.M};g.mb=function(){MD.v.mb.call(this);if(this.Tb&&this.enabled()){X(this.b);W(this,512)&&this.b.clear();W(this,8)&&(this.U.zIndex(this.zIndex()),U(this,8));var a,b;W(this,4)&&(this.clip()&&(ia(this.clip())?(a=this.ka,b=this.pe(),a=b.Ve(a)):a=this.clip(),this.U.clip(a)),U(this,4));W(this,16)&&(this.b.fill(TC(this,!1,Ua)),this.b.stroke(SC(this,!1,Ua)),this.b.type(this.type()),this.b.size(this.qc),this.Ia.fill(TC(this,!1,H)),this.Ia.stroke(SC(this,!1,H)),this.Ia.type(this.kc),this.Ia.size(this.Ub),this.ta.fill(TC(this,!1,Ha)),this.ta.stroke(SC(this,!1,Ha)),this.ta.type(this.W),this.ta.size(this.M));W(this,2)&&(this.U.parent(this.A()),this.b.A(this.U),this.a&&this.a.A(this.U));if(W(this,64)){a=this.Vb(!1,Ua);b=this.Vb(!1,H);var c=this.Vb(!1,Ha);ND(this,!(Fr(a)&&Fr(b)&&Fr(c)))}}};g.Ts=function(a){a|=this.state.Cc();var b=FD(this);if(!b)return!1;if(W(this,16)){var c=b[0],b=b[1];this.G().l("x",c).l("value",b);OD(this,a)}W(this,64)&&PD(this,a);return!0};function ND(a,b){!a.a&&b&&(a.a=new tx,a.a.A(a.U),a.a.zIndex(2),a.a.fb(!0))}g.ic=function(){this.Tb&&this.enabled()&&(this.b.I(),this.b.O(!1));W(this,64)&&this.a&&(this.a.I(),this.a.O(!1));this.enabled()&&U(this,10);MD.v.ic.call(this)};g.Qd=function(a){OD(this,a,!0);PD(this,a);this.zf(a)};g.Bd=function(a){OD(this,a,!0);PD(this,a)};g.Nd=function(){var a=this.G();return{value:{x:a.l("x"),y:a.l("value")}}};function OD(a,b,c){var d=a.G(),e=d.get("type"),f=d.get("markerSize"),h=TC(a,!0,Ua),k=SC(a,!0,Ua),l=d.get("hoverType"),n=d.get("hoverMarkerSize"),p=TC(a,!0,H),q=SC(a,!0,H),t=a.G().get("selectType"),v=a.G().get("selectMarkerSize"),w=TC(a,!0,Ha),x=SC(a,!0,Ha),d=!!(b&Ha);b=!d&&!!(b&H);d=d?a.ta:b?a.Ia:a.b;e={type:e,size:f,fill:h,stroke:k};l={type:l,size:n,fill:p,stroke:q};t={type:t,size:v,fill:w,stroke:x};w=a.G().S();v=a.Nd("center");a=wx(a.b,w)||a.b.add(v,w);a.fd();zx(a,d);a.xd(e,b?l:t);a.Eb(v);c&&a.I()}
function PD(a,b){if(!a.a){var c=a.Vb(!0,b);ND(a,!Fr(c))}if(a.a){var c=a.G(),d=c.S(),e=c.get("type"),f=c.get("markerSize"),h=c.get("hoverType"),k=c.get("hoverMarkerSize"),l=a.G().get("selectType"),n=a.G().get("selectMarkerSize"),p=!!(b&Ha),c=!p&&!!(b&H),p=p?a.ta:c?a.Ia:a.b,d=a.a.add(a.Nd("center"),d),e={type:e,size:f,fill:a.Vb(!0,b),stroke:null},h={type:h,size:k,fill:a.Vb(!0,b),stroke:null},l={type:l,size:n,fill:a.Vb(!0,b),stroke:null};d.fd();xx(d,a.b);zx(d,p);d.xd(e,c?h:l);d.I()}}g.qa=function(){return"marker"};g.o=function(){var a=MD.v.o.call(this);A(this.type())?K(8,null,["Marker type"]):a.type=this.type();A(this.mp())?K(8,null,["Marker hoverType"]):m(this.mp())&&(a.hoverType=this.mp());A(this.np())?K(8,null,["Marker selectType"]):m(this.np())&&(a.selectType=this.np());a.size=this.size();a.hoverSize=this.xw();a.selectSize=this.yw();return a};g.K=function(a){MD.v.K.call(this,a);this.size(a.size);this.xw(a.hoverSize);this.yw(a.hoverSize);this.type(a.type);this.mp(a.hoverType);this.np(a.hoverType)};MD.prototype.stroke=MD.prototype.stroke;MD.prototype.hoverStroke=MD.prototype.Db;MD.prototype.selectStroke=MD.prototype.lc;MD.prototype.fill=MD.prototype.fill;MD.prototype.hoverFill=MD.prototype.Lb;MD.prototype.selectFill=MD.prototype.Ac;MD.prototype.size=MD.prototype.size;MD.prototype.hoverSize=MD.prototype.xw;MD.prototype.selectSize=MD.prototype.yw;MD.prototype.type=MD.prototype.type;MD.prototype.hoverType=MD.prototype.mp;MD.prototype.selectType=MD.prototype.np;MD.prototype.hatchFill=MD.prototype.Ua;MD.prototype.hoverHatchFill=MD.prototype.Hb;MD.prototype.selectHatchFill=MD.prototype.cc;MD.prototype.getType=MD.prototype.qa;function QD(){Tt.call(this);this.Ja=this.Ma=NaN;this.ua=!1;this.X.push("autoRotate")}G(QD,Tt);g=QD.prototype;g.Bc=function(a){return m(a)?(a=I(a),this.Ma!=a&&(this.Ma=a,T(this,4,9)),this):this.Ma};g.vc=function(a){return m(a)?(a=I(a),this.Ja!=a&&(this.Ja=a,T(this,4,9)),this):this.Ja};g.ai=function(a){return m(a)?(a=I(a),this.fa!=a&&(this.fa=a,T(this,4,9)),this):this.fa};g.Wa=function(a){return m(a)?(a=null===a?a:Ah(I(a)||0),this.ab!=a&&(this.ab=a,T(this,4,9)),this):this.ab};g.sc=function(a){return m(a)?(a=null===a?a:ub(I(a)||0,-360,360),this.m!=a&&(this.m=a,T(this,4,9)),this):this.m};g.If=function(a){return m(a)?(a=!!a,this.ua!==a&&(this.ua=a,T(this,4,9)),this.c.autoRotate=!0,this):this.ua};g.eF=function(a,b,c,d){var e,f,h,k=new M(0,0,0,0),l,n,p,q;this.b?this.b.clear():this.b=new RD;a instanceof RD?(this.b.C(a.o()),e=a.Ed(),q=b||a.Eb()||{value:{angle:0,radius:0}}):(e=a,q=b||{value:{angle:0,radius:0}});this.b.xd(c);l=m(this.b.Mc())?this.b.Mc():this.Mc();if(a=this.R())n=a.width,p=a.height;var t=c&&c.padding?this.b.padding():this.padding(),v=this.b.width()||this.width(),w=this.b.height()||this.height(),x=this.b.offsetY()||this.offsetY();m(x)||(x=0);b=this.b.offsetX()||this.offsetX();m(b)||(b=0);c=this.b.anchor()||this.anchor();this.g||(this.g=qo(),this.g.me("aria-hidden","true"));d=sB(this,this.Fb(),e,d);this.g.width(null);this.g.height(null);l?this.g.htmlText(null!=d?String(d):null):this.g.text(null!=d?String(d):null);this.nc(this.g,!0);this.b.nc(this.g,!1);l=null!==v;d=null!==w;e=this.g.Fa();l?(v=Math.ceil(Q(v,n)),f=t.Ie(v),k.width=v):(v=e.width,k.width=t.Xe(v));m(f)&&this.g.width(f);e=this.g.Fa();d?(f=Math.ceil(Q(w,p)),h=t.He(f),k.height=f):(f=e.height,k.height=t.We(f));m(h)&&this.g.height(h);q=kf(this.Gd().call(q,q));h=q.angle;f=q.radius;q=m(q.radiusY)?q.radiusY:f;w=t=0;if(a||!isNaN(this.Bc())&&!isNaN(this.vc()))t=a.left,w=a.top,t=isNaN(this.Bc())?t+n/2:this.Bc(),w=isNaN(this.vc())?w+p/2:this.vc(),v=null!=this.sc()?this.sc():360,n=m(this.ai())&&!isNaN(this.ai())?Q(x,this.ai()):a?Q(x,Math.min(n,p)/2):0,h+=Q(b,v),f+=n,q+=n;n=t+Dh(h,f);p=w+Eh(h,q);c=Ar(new M(0,0,k.width,k.height),c);n-=c.x;p-=c.y;k.left=n;k.top=p;return k};g.Nx=function(){return new RD};g.o=function(){var a=QD.v.o.call(this);this.c.autoRotate&&(a.autoRotate=this.If());return a};g.K=function(a){QD.v.K.call(this,a);this.If(a.autoRotate)};function RD(){qB.call(this)}G(RD,qB);RD.prototype.If=function(a){return m(a)?(a=!!a,this.a.If!==a&&(this.a.If=a,T(this,16,9)),this):this.a.If};RD.prototype.TC=function(a,b){var c=this.b.positionFormatter,d=this.b.anchor,e=this.b.offsetX||0,f=this.b.offsetY||0,h=pB(this),k=this.Eb(),l=kf(c.call(k,k)),c=l.angle,k=l.radius,l=m(l.radiusY)?l.radiusY:k,n=0,p=0;if(b||!isNaN(h.Bc())&&!isNaN(h.vc()))var n=b.left,p=b.top,q=b.width,t=b.height,n=isNaN(h.Bc())?n+q/2:h.Bc(),p=isNaN(h.vc())?p+t/2:h.vc(),v=null!=h.sc()?h.sc():360,f=m(h.ai())&&!isNaN(h.ai())?Q(f,h.ai()):b?Q(f,Math.min(q,t)/2):0,c=c+Q(e,v),k=k+f,l=l+f;e=n+Dh(c,k);f=p+Eh(c,l);d=Ar(new M(0,0,a.width,a.height),d);e-=d.x;f-=d.y;this.g+=e;this.j+=f;a.left=e;a.top=f;d=this.b.rotation;this.b.rotation=this.b.autoRotate?0<c&&180>c?d+c+270:d+c+90:d;this.h.x(this.g).y(this.j)};RD.prototype.o=function(){var a=RD.v.o.call(this);m(this.If())&&(a.autoRotate=this.If());return a};RD.prototype.K=function(a){RD.v.K.call(this,a);this.If(a.autoRotate)};QD.prototype.autoRotate=QD.prototype.If;RD.prototype.autoRotate=RD.prototype.If;function SD(a,b){Z.call(this);this.a=[];this.c=Ea(b,4);this.b=Ea(a,5);this.g=0;this.w=[];this.m=[];this.j=[];this.D=[];this.B=[];this.h={fill:"none",cellBorder:"black",topPadding:0,rightPadding:0,bottomPadding:0,leftPadding:0,hAlign:"start",vAlign:"top",enabled:!0};this.h.fill="#fff"}G(SD,by);g=SD.prototype;g.ia=by.prototype.ia;g.$=by.prototype.$|192|Pq|512|Sa|2048;g.lf=null;g.Lh=null;g.fs=null;g.lj=null;g.sj=null;g.Mh=null;g.bn=null;g.dD=null;g.eD=null;g.hD=null;g.eg=null;g.Wf=null;g.di=null;g.ci=null;g.Ph=null;g.Oh=null;g.Ns=null;g.Ps=null;g.Os=null;g.Ls=null;g.Ks=null;g.Js=null;g.lG=function(a){return m(a)?(a=Ea(a,this.b),this.b!=a&&(isNaN(this.g)&&(this.g=this.c),this.b=a,T(this,2176,1)),this):this.b};g.TD=function(a){return m(a)?(a=Ea(a,this.c),this.c!=a&&(isNaN(this.g)&&(this.g=this.c),this.c=a,T(this,2176,1)),this):this.c};g.Mm=function(a,b){TD(this);a=Ea(a,NaN,!0);b=Ea(b,NaN,!0);return this.a[a*this.c+b]||null};g.gD=function(a){TD(this);a=Ea(a,NaN,!0);if(isNaN(a)||a>=this.b)return null;this.eg||(this.eg=[]);a in this.eg||(this.eg[a]=new Zt(this,a));return this.eg[a]};g.fD=function(a){TD(this);a=Ea(a,NaN,!0);if(isNaN(a)||a>=this.c)return null;this.Wf||(this.Wf=[]);a in this.Wf||(this.Wf[a]=new Vt(this,a));return this.Wf[a]};g.aQ=function(a){return m(a)?(this.Ns!=a&&(this.Ns=a,T(this,64,1)),this):this.Ns};g.cQ=function(a){return m(a)?(this.Ps!=a&&(this.Ps=a,T(this,64,1)),this):this.Ps};g.bQ=function(a){return m(a)?(this.Os!=a&&(this.Os=a,T(this,64,1)),this):this.Os};g.gN=function(a){return m(a)?(this.Ls!=a&&(this.Ls=a,T(this,64,1)),this):this.Ls};g.fN=function(a){return m(a)?(this.Ks!=a&&(this.Ks=a,T(this,64,1)),this):this.Ks};g.eN=function(a){return m(a)?(this.Js!=a&&(this.Js=a,T(this,64,1)),this):this.Js};g.ZL=function(a,b,c,d,e){if(m(a)){null===a||(a=Gn.apply(null,arguments));X(this);this.la("border",a,Pq);for(var f=0;4>f;f++)this.la(Oq[f],null,Pq);this.O(!0);return this}return this.dD||(this.dD=new Mq(this,!1))};g.kN=function(a,b){var c,d,e,f;if(m(a)){d=!r(a);var h=0,k;if(!d)for(k=a.length,c=0;c<k;c++)if(f=a[c],r(f))f.length>h&&(h=f.length);else{d=!0;break}if(!d&&k&&h){X(this);this.lG(k);this.TD(h);if(b)for(c=0;c<k;c++)for(d=0;d<h;d++)e=this.Mm(c,d),e.cl(1),e.bl(1);for(c=0;c<k;c++)for(f=a[c],d=0;d<h;d++){e=this.Mm(c,d);var l=f[d];e.vp(m(l)?l:null)}this.O(!0)}else Rc(3);return this}h=[];for(c=0;c<this.b;c++){f=[];for(d=0;d<this.c;d++)f.push(this.Mm(c,d).vp());h.push(f)}return h};g.I=function(){if(!this.tb())return this;this.Lh||(this.Lh=oo(),this.fs=this.Lh.Of());var a=this.Lh.oa(),b=a&&!a.Jc();b&&a.rd();W(this,4)&&(T(this,64),U(this,4));this.lf&&X(this.lf);TD(this);UD(this);if(W(this,128)){var c,d;for(c=0;c<this.a.length;c++)this.a[c].c=NaN;for(var e=0;e<this.b;e++)for(var f=0;f<this.c;f++){var h=e*this.c+f,k=this.a[h];if(isNaN(k.c)&&(1<k.bl()||1<k.cl())){for(c=Math.min(this.b,e+k.cl());c-->e;)for(d=Math.min(this.c,f+k.bl());d-->f;)this.a[c*this.c+d].c=h;k.c=NaN}}U(this,128);T(this,Pq|512|Sa)}if(W(this,512)){this.Mh||(this.Mh=[]);if(this.sj)for(var l in this.sj)c=this.sj[l],c.clear(),c.parent(null),this.Mh.push(c),delete this.sj[l];else this.sj={};for(l=0;l<this.b;l++)for(c=0;c<this.c;c++)if(f=this.a[l*this.c+c],isNaN(f.c)){var n=Ut(this,l,c,f.cl(),f.bl(),n);d=l;e=c;d=(f=f.fill())?f:(f=this.eg&&this.eg[d]&&this.eg[d].sD())?f:(f=this.Wf&&this.Wf[e]&&this.Wf[e].rD())?f:(f=d%2?this.kD():this.jD())?f:this.la("fill");d&&(e=rr(d),e in this.sj?d=this.sj[e]:(f=this.Mh.length?this.Mh.pop():Yn(),this.Lh.jf(f,0),f.fill(d),f.stroke(null),d=this.sj[e]=f),e=n.Qa(),f=n.Oa()+1,h=n.Va(),k=n.ra()+1,d.moveTo(e,h),d.lineTo(f,h),d.lineTo(f,k),d.lineTo(e,k),d.close())}U(this,512)}if(W(this,Pq)){this.Mh||(this.Mh=[]);if(this.lj)for(var p in this.lj)n=this.lj[p],n.clear(),n.parent(null),this.Mh.push(n),delete this.lj[p];else this.lj={};for(n=0;n<this.c;n++)l=this.a[n],isNaN(l.c)&&VD(this,0,n,1,l.bl(),WD(this,void 0,l),0);for(p=0;p<this.b;p++)l=this.a[p*this.c],isNaN(l.c)&&VD(this,p,0,l.cl(),1,XD(this,void 0,l),3);for(p=0;p<this.b;p++)for(n=0;n<this.c;n++)d=p*this.c+n,l=this.a[d],(c=this.a[d+this.c])?isNaN(l.c)?isNaN(c.c)||(c.c==d?l=c=void 0:c=this.a[c.c]):isNaN(c.c)?l=this.a[l.c]:l.c==c.c?l=c=void 0:(l=this.a[l.c],c=this.a[c.c]):isNaN(l.c)||(l=this.a[l.c]),VD(this,p,n,1,1,WD(this,l,c),2),d=p*this.c+n,l=this.a[d],(c=n+1==this.c?void 0:this.a[d+1])?isNaN(l.c)?isNaN(c.c)||(c.c==d?l=c=void 0:c=this.a[c.c]):isNaN(c.c)?l=this.a[l.c]:l.c==c.c?l=c=void 0:(l=this.a[l.c],c=this.a[c.c]):isNaN(l.c)||(l=this.a[l.c]),VD(this,p,n,1,1,XD(this,l,c),1);U(this,Pq)}var q,t;if(W(this,Sa)){if(this.bn)for(;this.bn.length;)q=this.bn.pop(),X(q),q instanceof qB?(c=q,pB(c)&&pB(c).clear(c.S())):q instanceof yx?(c=q,xx(c)&&xx(c).clear(c.S())):q instanceof Z&&(q instanceof OA&&(c=q,RA(c,c.Lj)),q.A(null),q.remove()),et(q,this.Ky),q.O(!1);p=this.b*this.c;for(n=0;n<p;n++)d=this.a[n],!isNaN(d.c)&&(q=d.h)&&(X(q),et(q,this.Ky),q instanceof qB||q instanceof yx?q.enabled(!1):q instanceof OA&&(c=q,RA(c,c.Lj)),q.A(null),q.remove(),q.O(!1));p=new xu;X(p);for(n=0;n<this.b;n++)for(l=0;l<this.c;l++)if(d=this.a[n*this.c+l],q=d.h){e=this.eg&&this.eg[n];f=this.Wf&&this.Wf[l];X(q);if(isNaN(d.c)){t=Ut(this,n,l,d.cl(),d.bl(),t);p.top(this.et("topPadding",d,e,f,this));p.right(this.et("rightPadding",d,e,f,this));p.bottom(this.et("bottomPadding",d,e,f,this));p.left(this.et("leftPadding",d,e,f,this));t=p.Ve(t);q.A(this.fs);if(q instanceof qB)if(c=q,c.Eb({value:{x:t.left,y:t.top}}),pB(c)==this.lf){c.anchor("leftTop");c.width(t.width);c.height(t.height);(q=f&&f.g)&&c.C(q);(q=e&&e.g)&&c.C(q);(q=d.g)&&c.C(q);c.O(!1);continue}else d=c.position()||tB(c)&&tB(c).position()||pB(c)&&pB(c).position(),d={value:Ar(t,d)},c.Eb(d),c.I();else q instanceof yx?(c=q,d=c.position()||zx(c)&&zx(c).position()||xx(c)&&xx(c).position(),d={value:Ar(t,d)},c.Eb(d),c.I()):q instanceof Z&&(q instanceof OA&&(c=q,c.Lj=RA(c),RA(c,!1)),c=q,c.R(t),c.I&&c.I());R(q,this.Ky)}q.O(!1)}p.O(!1);this.lf&&(X(this.lf),this.lf.C(this.h),this.lf.A(this.fs),this.lf.R(this.Cb()),this.lf.I(),this.lf.O(!1));U(this,Sa)}this.lf&&this.lf.O(!1);W(this,8)&&(this.Lh.zIndex(this.zIndex()),U(this,8));W(this,2)&&(this.Lh.parent(this.A()),this.A()&&this.A().oa()&&(a=this.A().oa(),this.Nc().dn()?this.A().oa().pa(Gj,this.iD,!1,this):this.A().oa().Ec(Gj,this.iD,!1,this)),U(this,2));b&&a.gd();R(this,this.cM,this);return this};g.remove=function(){this.Lh&&this.Lh.parent(null)};g.fontSize=function(a){m(a)&&(a=Ra(a));return this.la("fontSize",a)};g.fontFamily=function(a){m(a)&&(a=String(a));return this.la("fontFamily",a)};g.Rc=function(a){m(a)&&(a=String(a));return this.la("fontColor",a)};g.De=function(a){m(a)&&(a=ub(+a,0,1));return this.la("fontOpacity",a)};g.Ce=function(a){m(a)&&(a=Gc(a));return this.la("fontDecoration",a)};g.fontStyle=function(a){m(a)&&(a=Hc(a));return this.la("fontStyle",a)};g.fontVariant=function(a){m(a)&&(a=Ic(a));return this.la("fontVariant",a)};g.fontWeight=function(a){m(a)&&(a=Ra(a));return this.la("fontWeight",a)};g.letterSpacing=function(a){m(a)&&(a=Ra(a));return this.la("letterSpacing",a)};g.Ge=function(a){m(a)&&(a=Jc(a));return this.la("textDirection",a)};g.lineHeight=function(a){m(a)&&(a=Ra(a));return this.la("lineHeight",a)};g.textIndent=function(a){m(a)&&(a=parseFloat(Ra(a)));return this.la("textIndent",a)};g.vAlign=function(a){m(a)&&(a=Fc(a));return this.la("vAlign",a)};g.xc=function(a){m(a)&&(a=Ec(a));return this.la("hAlign",a)};g.yd=function(a){m(a)&&(a=Kc(a));return this.la("textWrap",a)};g.textOverflow=function(a){m(a)&&(a=String(a));return this.la("textOverflow",a)};g.Pc=function(a){m(a)&&(a=!!a);return this.la("selectable",a)};g.fb=function(a){m(a)&&(a=!!a);return this.la("disablePointerEvents",a)};g.Mc=function(a){m(a)&&(a=!!a);return this.la("useHtml",a)};g.aM=function(a,b,c,d,e,f,h){null!=a&&(a=Bn.apply(null,arguments));return this.la("fill",a,512)};g.kD=function(a,b,c,d,e,f,h){null!=a&&(a=Bn.apply(null,arguments));return this.la("rowOddFill",a,512)};g.jD=function(a,b,c,d,e,f,h){null!=a&&(a=Bn.apply(null,arguments));return this.la("rowEvenFill",a,512)};g.$L=function(a,b,c,d,e){if(m(a)){a=Gn.apply(null,arguments);X(this);this.la("cellBorder",a,Pq);for(var f=0;4>f;f++)this.la(Nq[f],null,Pq);this.O(!0);return this}return this.eD||(this.eD=new Mq(this,!0))};g.bM=function(a,b,c,d){if(m(a)){var e,f,h,k,l;r(a)?(l=a,a=l[0],b=l[1],c=l[2],d=l[3],l=l.length):l=arguments.length;0==l?k=h=f=e=0:B(a)?(e=Ra(a.top)||0,f=Ra(a.right)||0,h=Ra(a.bottom)||0,k=Ra(a.left)||0):1==l?k=h=f=e=Ra(a)||0:2==l?(h=e=Ra(a)||0,k=f=Ra(b)||0):3==l?(e=Ra(a)||0,k=f=Ra(b)||0,h=Ra(c)||0):4<=l&&(e=Ra(a)||0,f=Ra(b)||0,h=Ra(c)||0,k=Ra(d)||0);X(this);this.la(Qa[0],e,Sa);this.la(Qa[1],f,Sa);this.la(Qa[2],h,Sa);this.la(Qa[3],k,Sa);this.O(!0);return this}return this.hD||(this.hD=new Pa(this))};function TD(a){if(W(a,2048)){var b=[],c=a.g?a.a.length/a.g:0,d,e,f=Math.min(c,a.b),h=Math.min(a.g,a.c);for(d=0;d<f;d++){for(e=0;e<h;e++)b.push(a.a[d*a.g+e]);for(e=h;e<a.c;e++)b.push(YD(a,d,e));for(e=h;e<a.g;e++){var k=a,l=a.a[d*a.g+e];l.vp(null);k.w.push(l)}}for(d=f;d<a.b;d++)for(e=0;e<a.c;e++)b.push(YD(a,d,e));for(d=f;d<c;d++)for(e=0;e<a.g;e++)f=a,h=a.a[d*a.g+e],h.vp(null),f.w.push(h);a.a=b;a.g=NaN;U(a,2048);T(a,Pq|704|Sa)}}
function UD(a){if(W(a,64)){var b=a.Cb(),c=ZD(a.c,a.j,a.Ph,a.Oh,a.Ls,a.Ks,a.Js,b.width,a.B),b=ZD(a.b,a.m,a.di,a.ci,a.Ns,a.Ps,a.Os,b.height,a.D);U(a,64);if(c||b)a.B=c||a.B,a.D=b||a.D,T(a,Pq|512|Sa)}}g.Ky=function(a){A(a.target.I)&&a.target.I()};function VD(a,b,c,d,e,f,h){if(f&&"none"!=f){var k=(f.thickness?f.thickness:1)%2?.5:0,l=Ut(a,b,c,d,e,l);B(f)&&"keys"in f&&!B(f.mode)&&(f.mode=a.Cb());b=rr(f);b in a.lj?a=a.lj[b]:(c=a.Mh.length?a.Mh.pop():Yn(),a.Lh.Fc(c),c.stroke(f),c.fill(null),a=a.lj[b]=c);switch(h){case 0:a.moveTo(l.Qa(),l.Va()+k);a.lineTo(l.Oa()+1,l.Va()+k);break;case 1:a.moveTo(l.Oa()+k,l.Va());a.lineTo(l.Oa()+k,l.ra()+1);break;case 2:a.moveTo(l.Qa(),l.ra()+k);a.lineTo(l.Oa()+1,l.ra()+k);break;case 3:a.moveTo(l.Qa()+k,l.Va()),a.lineTo(l.Qa()+k,l.ra()+1)}}}
function WD(a,b,c){if(b||c){var d;if((d=b&&b.la("bottomBorder"))||(d=c&&c.la("topBorder"))||(d=b&&b.la("border"))||(d=c&&c.la("border")))return d;if(a.eg){var e=a.eg[b&&b.j],f=a.eg[c&&c.j];if((d=e&&e.la("bottomBorder"))||(d=f&&f.la("topBorder"))||(d=e&&e.la("border"))||(d=f&&f.la("border"))||(d=e&&e.la("cellBottomBorder"))||(d=f&&f.la("cellTopBorder"))||(d=e&&e.la("cellBorder"))||(d=f&&f.la("cellBorder")))return d}if(e=a.Wf&&a.Wf[(b||c).m])if((d=!b&&(e.la("topBorder")||e.la("border"))||!c&&(e.la("bottomBorder")||e.la("border")))||(d=e.la("cellBottomBorder"))||(d=e.la("cellTopBorder"))||(d=e.la("cellBorder"))||(d=e.la("cellBorder")))return d;return(d=!b&&(a.la("topBorder")||a.la("border"))||!c&&(a.la("bottomBorder")||a.la("border")))||(d=b&&a.la("cellBottomBorder"))?d:(d=c&&a.la("cellTopBorder"))?d:a.la("cellBorder")||"none"}return"none"}
function XD(a,b,c){if(b||c){var d;if((d=b&&b.la("rightBorder"))||(d=c&&c.la("leftBorder"))||(d=b&&b.la("border"))||(d=c&&c.la("border")))return d;var e=a.eg&&a.eg[(b||c).j];if(e&&((d=!b&&(e.la("leftBorder")||e.la("border"))||!c&&(e.la("rightBorder")||e.la("border")))||(d=e.la("cellRightBorder"))||(d=e.la("cellLeftBorder"))||(d=e.la("cellBorder"))||(d=e.la("cellBorder"))))return d;if(a.Wf){var e=a.Wf[b&&b.m],f=a.Wf[c&&c.m];if((d=e&&e.la("rightBorder"))||(d=f&&f.la("leftBorder"))||(d=e&&e.la("border"))||(d=f&&f.la("border"))||(d=e&&e.la("cellRightBorder"))||(d=f&&f.la("cellLeftBorder"))||(d=e&&e.la("cellBorder"))||(d=f&&f.la("cellBorder")))return d}return(d=!b&&(a.la("leftBorder")||a.la("border"))||!c&&(a.la("rightBorder")||a.la("border")))||(d=b&&a.la("cellRightBorder"))?d:(d=c&&a.la("cellLeftBorder"))?d:a.la("cellBorder")||"none"}return"none"}
g.la=function(a,b,c,d){if(m(a)){if(m(b)){var e=!1;null===b?this.h[a]&&(delete this.h[a],e=!0):this.h[a]!=b&&(this.h[a]=b,e=!0);e&&T(this,+c||Sa,+d||1);return this}return this.h&&this.h[a]}return this.h||{}};function $t(a,b,c){return m(c)?(a.m[b]!=c&&(null===c?delete a.m[b]:a.m[b]=c,T(a,64,1)),a):b in a.m?a.m[b]:null}
function au(a,b,c){if(m(c)){var d=!1;null===c?a.di&&b in a.di&&(delete a.di[b],d=!0):(a.di||(a.di=[]),a.di[b]!=c&&(a.di[b]=c,d=!0));d&&T(a,64,1);return a}return a.di&&b in a.di?a.di[b]:null}function bu(a,b,c){if(m(c)){var d=!1;null===c?a.ci&&b in a.ci&&(delete a.ci[b],d=!0):(a.ci||(a.ci=[]),a.ci[b]!=c&&(a.ci[b]=c,d=!0));d&&T(a,64,1);return a}return a.ci&&b in a.ci?a.ci[b]:null}function Wt(a,b,c){return m(c)?(a.j[b]!=c&&(null===c?delete a.j[b]:a.j[b]=c,T(a,64,1)),a):b in a.j?a.j[b]:null}
function Xt(a,b,c){if(m(c)){var d=!1;null===c?a.Ph&&b in a.Ph&&(delete a.Ph[b],d=!0):(a.Ph||(a.Ph=[]),a.Ph[b]!=c&&(a.Ph[b]=c,d=!0));d&&T(a,64,1);return a}return a.Ph&&b in a.Ph?a.Ph[b]:null}function Yt(a,b,c){if(m(c)){var d=!1;null===c?a.Oh&&b in a.Oh&&(delete a.Oh[b],d=!0):(a.Oh||(a.Oh=[]),a.Oh[b]!=c&&(a.Oh[b]=c,d=!0));d&&T(a,64,1);return a}return a.Oh&&b in a.Oh?a.Oh[b]:null}
function Ut(a,b,c,d,e,f){TD(a);UD(a);var h=a.Cb();f=f instanceof M?f:new M(0,0,0,0);var k=a.B[c-1]+1||0;c=a.B[Math.min(c+e,a.c)-1];f.width=c-k;f.left=h.left+k;k=a.D[b-1]+1||0;c=a.D[Math.min(b+d,a.b)-1];f.height=c-k;f.top=h.top+k;return f}
function ZD(a,b,c,d,e,f,h,k,l){var n,p,q,t,v=!1,w=0,x=[],z=[],C=[],F=0;e=Q(e,k);f=Q(f,k);h=Q(h,k);var J=!1;for(n=0;n<a;n++){q=c?Q(c[n],k):NaN;t=d?Q(d[n],k):NaN;p=b[n];var O=q,S=t;p=Q(p,k);O=Q(O,k);S=Q(S,k);isNaN(p)&&(p=e);isNaN(O)&&(O=f);isNaN(S)&&(S=h);isNaN(O)||(p=Math.max(p,O));isNaN(S)||(p=Math.min(p,S));isNaN(p)?(F++,isNaN(q)?isNaN(f)||(z[n]=f,J=!0):(z[n]=q,J=!0),isNaN(t)?isNaN(h)||(C[n]=h,J=!0):(C[n]=t,J=!0)):(w+=p,x[n]=p)}var da;if(J&&0<F){da=[];c=F*F;do for(d=!1,b=Math.max(3*F,k-w)/F,n=0;n<a;n++)if(!(n in x))if(n in da){if(da[n]==z[n]&&z[n]<b){w-=z[n];F++;delete da[n];d=!0;break}if(da[n]==C[n]&&C[n]>b){w-=C[n];F++;delete da[n];d=!0;break}}else{if(n in z&&z[n]>b){w+=da[n]=z[n];F--;d=!0;break}if(n in C&&C[n]<b){w+=da[n]=C[n];F--;d=!0;break}}while(d&&0<F&&c--)}z=0;C=[];b=Math.max(3*F,k-w)/F;for(n=0;n<a;n++)n in x?p=x[n]:da&&n in da?p=da[n]:p=b,z+=p,k=Math.round(z)-1,C[n]=k,k!=l[n]&&(v=!0);return v?C:null}function YD(a,b,c){return a.w.length?a.w.pop().reset(b,c):new St(a,b,c)}
g.iD=function(){T(this,4,9)};g.cM=function(){ds(this.I,this)};g.et=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d&&(d=d.la(a),null!=d))return d}return 0};g.V=function(){Bd(this.a,this.w,this.eg,this.Wf,this.sj,this.lj,this.Mh);Ad(this.lf);Ad(this.Lh);Ad(this.fs);delete this.h;SD.v.V.call(this)};SD.prototype.rowsCount=SD.prototype.lG;SD.prototype.colsCount=SD.prototype.TD;SD.prototype.getCell=SD.prototype.Mm;SD.prototype.getRow=SD.prototype.gD;SD.prototype.getCol=SD.prototype.fD;SD.prototype.rowsHeight=SD.prototype.aQ;SD.prototype.rowsMinHeight=SD.prototype.cQ;SD.prototype.rowsMaxHeight=SD.prototype.bQ;SD.prototype.colsWidth=SD.prototype.gN;SD.prototype.colsMinWidth=SD.prototype.fN;SD.prototype.colsMaxWidth=SD.prototype.eN;SD.prototype.border=SD.prototype.ZL;SD.prototype.contents=SD.prototype.kN;SD.prototype.draw=SD.prototype.I;SD.prototype.fontSize=SD.prototype.fontSize;SD.prototype.fontFamily=SD.prototype.fontFamily;SD.prototype.fontColor=SD.prototype.Rc;SD.prototype.fontOpacity=SD.prototype.De;SD.prototype.fontDecoration=SD.prototype.Ce;SD.prototype.fontStyle=SD.prototype.fontStyle;SD.prototype.fontVariant=SD.prototype.fontVariant;SD.prototype.fontWeight=SD.prototype.fontWeight;SD.prototype.letterSpacing=SD.prototype.letterSpacing;SD.prototype.textDirection=SD.prototype.Ge;SD.prototype.lineHeight=SD.prototype.lineHeight;SD.prototype.textIndent=SD.prototype.textIndent;SD.prototype.vAlign=SD.prototype.vAlign;SD.prototype.hAlign=SD.prototype.xc;SD.prototype.textWrap=SD.prototype.yd;SD.prototype.textOverflow=SD.prototype.textOverflow;SD.prototype.selectable=SD.prototype.Pc;SD.prototype.disablePointerEvents=SD.prototype.fb;SD.prototype.useHtml=SD.prototype.Mc;SD.prototype.cellFill=SD.prototype.aM;SD.prototype.rowEvenFill=SD.prototype.jD;SD.prototype.rowOddFill=SD.prototype.kD;SD.prototype.cellBorder=SD.prototype.$L;SD.prototype.cellPadding=SD.prototype.bM;SD.prototype.saveAsPng=SD.prototype.pk;SD.prototype.saveAsJpg=SD.prototype.mk;SD.prototype.saveAsPdf=SD.prototype.nk;SD.prototype.saveAsSvg=SD.prototype.qk;SD.prototype.toSvg=SD.prototype.Vv;function $D(){ow.call(this)}G($D,ow);E("anychart.grids.linear",function(){var a=new $D;a.C(Wq().standalones.linearGrid);return a});$D.prototype.draw=$D.prototype.I;$D.prototype.parentBounds=$D.prototype.R;$D.prototype.container=$D.prototype.A;function aE(){ow.call(this)}G(aE,tw);E("anychart.grids.linear3d",function(){var a=new aE;a.C(Wq().standalones.linearGrid);return a});aE.prototype.draw=aE.prototype.I;aE.prototype.parentBounds=aE.prototype.R;aE.prototype.container=aE.prototype.A;function bE(){uw.call(this)}G(bE,uw);E("anychart.grids.polar",function(){var a=new bE;a.C(Wq().standalones.polarGrid);return a});bE.prototype.draw=bE.prototype.I;bE.prototype.parentBounds=bE.prototype.R;bE.prototype.container=bE.prototype.A;bE.prototype.startAngle=bE.prototype.Wa;function cE(){Cw.call(this)}G(cE,Cw);E("anychart.grids.radar",function(){var a=new cE;a.C(Wq().standalones.radarGrid);return a});cE.prototype.draw=cE.prototype.I;cE.prototype.parentBounds=cE.prototype.R;cE.prototype.container=cE.prototype.A;cE.prototype.startAngle=cE.prototype.Wa;function dE(){Oj.call(this);this.a=null;this.a=Zf(Wq().palette.items);this.ca(2)}G(dE,dt);g=dE.prototype;g.ia=2;g.Ds=function(a,b){return this.nf(a,b)};g.nf=function(a,b){this.a||(this.a=[]);var c=this.a.length;a>=c&&0<c&&(a%=c);return m(b)?(this.a[a]=b,this.ca(2),this):(c=this.a[a])?c:null};g.MM=function(a,b){return this.items.apply(this,arguments)};g.items=function(a,b){return m(a)?(r(a)||(a=zb(arguments,0)),this.a=Of(a,function(a){return Bn(a)}),this.ca(2),this):this.a};g.o=function(){var a=dE.v.o.call(this);a.type="distinct";for(var b=[],c=0;c<this.a.length;c++)b.push(P(this.a[c]));a.items=b;return a};g.jc=function(a){var b=arguments;return r(b[0])?(this.items(b[0]),!0):b[0]instanceof dE?(this.items(b[0].items()),!0):dt.prototype.jc.apply(this,b)};g.K=function(a){dE.v.K.call(this,a);this.items(a.items)};E("anychart.palettes.distinctColors",function(a,b){var c=new dE;m(a)&&c.items.apply(c,arguments);return c});dE.prototype.colorAt=dE.prototype.Ds;dE.prototype.itemAt=dE.prototype.nf;dE.prototype.colors=dE.prototype.MM;dE.prototype.items=dE.prototype.items;function eE(){Oj.call(this);this.a=[];for(var a in ep)this.a.push(Hn(ep[a]))}G(eE,dt);g=eE.prototype;g.ia=2;g.KO=function(a,b,c,d,e){return this.Uf(a,b,c,d,e)};g.Uf=function(a,b,c,d,e){this.a||(this.a=[]);var f=this.a.length;a>=f&&0<f&&(a%=f);return m(b)?(this.a[a]=Hn.apply(null,zb(arguments,1)),this.ca(2),this):this.a[a]||null};g.LO=function(a,b){return this.items.apply(this,arguments)};g.items=function(a,b){return m(a)?(r(a)||(a=zb(arguments,0)),this.a=Of(a,function(a){return Hn.call(null,a)}),this.ca(2),this):this.a};g.o=function(){for(var a=eE.v.o.call(this),b=[],c=0;c<this.a.length;c++)b.push(P(this.a[c]));a.items=b;return a};g.jc=function(a){var b=arguments;return r(b[0])?(this.items(b[0]),!0):b[0]instanceof eE?(this.items(b[0].items()),!0):dt.prototype.jc.apply(this,b)};g.K=function(a){eE.v.K.call(this,a);this.items(a.items)};E("anychart.palettes.hatchFills",function(a,b){var c=new eE;m(a)&&c.items.apply(c,arguments);return c});eE.prototype.hatchFillAt=eE.prototype.KO;eE.prototype.itemAt=eE.prototype.Uf;eE.prototype.hatchFills=eE.prototype.LO;eE.prototype.items=eE.prototype.items;function fE(){Oj.call(this);this.ga=[];for(var a in dc)this.ga.push(dc[a])}G(fE,dt);g=fE.prototype;g.ia=2;g.UO=function(a,b){return this.lg(a,b)};g.lg=function(a,b){this.ga||(this.ga=[]);var c=this.ga.length;a>=c&&0<c&&(a%=c);return m(b)?(c=fc(b),c!=this.ga[a]&&(this.ga[a]=c,this.ca(2)),this):(c=this.ga[a])||null};g.aa=function(a,b){return this.items.apply(this,arguments)};g.items=function(a,b){return m(a)?(r(a)||(a=zb(arguments,0)),this.ga=Of(a,function(a){return fc(a)}),this.ca(2),this):this.ga};g.o=function(){var a=fE.v.o.call(this);a.items=this.items();return a};g.jc=function(a){var b=arguments;return r(b[0])?(this.items(b[0]),!0):b[0]instanceof fE?(this.items(b[0].items()),!0):dt.prototype.jc.apply(this,b)};g.K=function(a){fE.v.K.call(this,a);this.items(a.items)};E("anychart.palettes.markers",function(a,b){var c=new fE;m(a)&&c.items.apply(c,arguments);return c});fE.prototype.markerAt=fE.prototype.UO;fE.prototype.itemAt=fE.prototype.lg;fE.prototype.markers=fE.prototype.aa;fE.prototype.items=fE.prototype.items;function gE(){Oj.call(this);this.a=null;this.c=NaN;this.b=[];this.c=NaN;this.a="#1D8BD1 #F1683C #2AD62A #DBDC25 #8FBC8B #D2B48C #FAF0E6 #20B2AA #B0C4DE #DDA0DD #9C9AFF #9C3063 #FFFFCE #CEFFFF #630063 #FF8284 #0065CE #CECFFF #000084 #FF00FF #FFFF00 #00FFFF #840084 #840000 #008284 #0000FF #00CFFF #CEFFFF #CEFFCE #FFFF9C #9CCFFF #FF9ACE #CE9AFF #FFCF9C #3165FF #31CFCE #9CCF00 #FFCF00 #FF9A00 #FF6500".split(" ");hE(this);this.ca(2)}G(gE,dt);g=gE.prototype;g.ia=2;g.NM=function(a,b){return this.items.apply(this,arguments)};g.items=function(a,b){return m(a)?(B(a)&&r(a.keys)?this.a=Bn(a).keys:(r(a)||(a=zb(arguments,0)),this.a=Of(a,function(a){return Bn(a)})),hE(this),this.ca(2),this):this.a};g.count=function(a){return m(a)?(this.c!=a&&(this.c=a,hE(this),this.ca(2)),this):this.c};g.Ds=function(a,b){return this.nf(a,b)};g.nf=function(a,b){if(!this.a||1>this.a.length||0==this.c)return null;if(m(b))return this.b[a]=b,this.ca(2),this;a>this.c-1&&(a=this.c-1);0>a&&(a=0);var c=this.b[a];return c?c:null};function hE(a){if(a.a&&0!=a.c){var b=[],c=r(a.a)?a.a:a.a.keys;if(r(c)&&0!=c.length){isNaN(a.c)&&(a.c=c.length);for(var d=1/(c.length-1),e,f=0;f<c.length;f++){var h=c[f];u(h)?(e=zq(h),b.push({color:e?e.ef:"#000000",offset:f*d})):(e=zq(h.color),b.push({color:e?e.ef:"#000000",offset:m(h.offset)?h.offset:f*d}))}gg(b);a.b=[];if(1==b.length)for(f=0;f<a.c;f++)a.b[f]={color:b[0].color};else for(f=0;f<a.c;f++){e=1==a.c?0:f/(a.c-1);d=c=null;for(h=0;h<b.length;h++)e>=b[h].offset&&(c=b[h]),e<=b[h].offset&&null==d&&(d=b[h]);c||(c=b[0]);d||(d=b[b.length-1]);d.offset==c.offset?a.b[f]={color:c.color}:(e=1-(e-c.offset)/(d.offset-c.offset),a.b[f]={color:Kh(Rh(Nh(c.color),Nh(d.color),e))})}}}}g.o=function(){var a=gE.v.o.call(this);a.type="range";for(var b=[],c=0;c<this.a.length;c++)b.push(P(this.a[c]));a.items=b;isNaN(this.c)||(a.count=this.c);return a};g.jc=function(a){var b=arguments;return r(b[0])?(this.items(b[0]),this.count(b[0].length),!0):b[0]instanceof gE?(this.items(b[0].items()),this.count(b[0].count()),!0):dt.prototype.jc.apply(this,b)};g.K=function(a){gE.v.K.call(this,a);this.items(a.items);this.count(a.count)};E("anychart.palettes.rangeColors",function(a,b){var c=new gE;m(a)&&c.C.apply(c,arguments);return c});gE.prototype.colorAt=gE.prototype.Ds;gE.prototype.itemAt=gE.prototype.nf;gE.prototype.colors=gE.prototype.NM;gE.prototype.items=gE.prototype.items;gE.prototype.count=gE.prototype.count;E("anychart.palettes.defaultPalette","#64b5f6 #1976d2 #ef6c00 #ffd54f #455a64 #96a6a6 #dd2c00 #00838f #00bfa5 #ffa000".split(" "));E("anychart.palettes.earth","#827717 #c77532 #998675 #6b617b #c69c6d #d29b9b #879872 #16685d #57a7b1 #bdbdbd".split(" "));E("anychart.palettes.monochrome",["#37474f","#757575","#90a4ae","#bdbdbd","#e1e1e1"]);E("anychart.palettes.provence","#aa8ab3 #b7cbe2 #cdd18e #938d9c #6f5264 #96246a #519790 #6aabcc #61687d #7b8030".split(" "));E("anychart.palettes.morning","#0288d1 #58abd7 #ffe082 #f8bbd0 #f48fb1 #bbdefb #d4e157 #ff6e40 #03a9f4 #e1bee7".split(" "));E("anychart.palettes.coffee","#482311 #8d5932 #d8b597 #f2d1be #9b301c #d81e05 #c5e1a5 #558b2f #ffab00 #e65100".split(" "));E("anychart.palettes.wines","#6f3448 #857600 #f1a122 #a50b01 #400001 #a98b80 #c08081 #86614e #c26364 #615060".split(" "));E("anychart.palettes.turquoise","#80deea #00acc1 #00838f #29b6f6 #0277bd #0277bd #8c9eff #9575cd #ce93d8 #8e24aa".split(" "));E("anychart.palettes.pastel","#90caf9 #80cbc4 #aed581 #e6ee9c #ffcc80 #ffab91 #f8bbd0 #d1c4e9 #9e9e9e #c7b299".split(" "));E("anychart.palettes.blue","#40c4ff #0288d1 #9fa8da #5c6bc0 #7e57c2 #54dbdf #15a9c7 #00897b #304ffe #01579b".split(" "));E("anychart.palettes.glamour","#f8bbd0 #ce93d8 #ab47bc #d81b60 #880e4f #ffd600 #ff6e40 #03a9f4 #5e35b1 #1976d2".split(" "));E("anychart.palettes.sea","#a9e1d4 #54dbdf #15a9c7 #207fbf #c0aca5 #8b8a92 #dbcb8f #dba869 #ffab00 #00897b".split(" "));E("anychart.palettes.v6","#1D8BD1 #F1683C #2AD62A #DBDC25 #8FBC8B #D2B48C #FAF0E6 #20B2AA #B0C4DE #DDA0DD #9C9AFF #9C3063 #FFFFCE #CEFFFF #630063 #FF8284 #0065CE #CECFFF #000084 #FF00FF #FFFF00 #00FFFF #840084 #840000 #008284 #0000FF #00CFFF #CEFFFF #CEFFCE #FFFF9C #9CCFFF #FF9ACE #CE9AFF #FFCF9C #3165FF #31CFCE #9CCF00 #FFCF00 #FF9A00 #FF6500".split(" "));function iE(a,b){WA.call(this);X(this);this.kd=null;this.j=!1;this.eb="none";this.na=null;this.ae=!1;this.M=this.fa=this.B=this.b=null;this.Nb={};this.Kg=function(){var a=this.sourceColor,b=this.aquaStyleObj;return{keys:[{offset:0,color:Bq(a,.5)},{offset:.95,color:Cq(a,.4)},{offset:1,color:Cq(a,.4)}],cx:.5,cy:.5,fx:b.fx,fy:b.fy,mode:b.mode}};this.H=this.qb=this.ua=this.c=this.g=null;this.X=[];this.state=new nb(this);this.data(a||null,b);T(this,4294967295);this.O(!1)}G(iE,WA);g=iE.prototype;g.qa=function(){return this.j?"pie3d":"pie"};g.ia=WA.prototype.ia|16;g.$=WA.prototype.$|12304;g.sd=function(){return[this]};g.Fd=function(){return!0};g.Lf=function(){return!0};g.data=function(a,b){if(m(a)){if(this.hb!==a){this.hb=a;if(this.fa!=a||null===a){Ad(this.M);var c;a instanceof $u?(c=a,this.M=null):(c=a instanceof fv?(this.M=a).Pd():(this.M=new fv(r(a)||u(a)?a:null,b)).Pd(),L(this,this.M));this.fa=c.Rg()}jE(this)}return this}return this.Ta};function jE(a){Ad(a.Ta);delete a.ka;a.Ta=kE(a,a.fa);R(a.Ta,a.EI,a);L(a,a.Ta);T(a,12848,17)}g.G=function(){return this.ka||(this.ka=this.Ta.G())};g.Ya=function(){return this.ka=this.Ta.G()};function kE(a,b){null!=a.kd&&(b=bv(b,a.kd,function(){return{value:0}}),b.iA=!0);"none"!=a.eb&&(b="asc"==a.eb?b.ux("value",function(a,b){return a-b}):b.ux("value",function(a,b){return b-a}),b.iA=!0);return b}
g.am=function(a){if(a instanceof gE)return lE(this,gE,a),this;if(a instanceof dE)return lE(this,dE,a),this;B(a)&&"range"==a.type?lE(this,gE):(B(a)||null==this.b)&&lE(this,dE);return m(a)?(this.b.C(a),this):this.b};function lE(a,b,c){if(a.b instanceof b)c&&a.b.C(c);else{var d=!!a.b;Ad(a.b);a.b=new b;c&&a.b.C(c);R(a.b,a.CB,a);L(a,a.b);d&&T(a,528,1)}}g.Fo=function(a){this.B||(this.B=new eE,R(this.B,this.CB,this),L(this,this.B));return m(a)?(this.B.C(a),this):this.B};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=!1;u(a)&&(a=a.toLowerCase(),k="aquastyle"==a);if(this.j&&k)return this;k=A(a)||k?a:Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,528,1));return this}return this.g};g.Lb=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.ua&&(this.ua=k,T(this,16,1));return this}return this.ua};function mE(a,b){var c=a.G(),d=c.get("fill")||a.fill(),c=b&H?a.Nk(c.get("hoverFill")||a.Lb()||d,d):a.Nk(d);return Bn(c)}
g.stroke=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.c&&(this.c=f,T(this,528,1));return this}return this.c};g.Db=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.qb&&(this.qb=f,T(this,16,1));return this}return this.qb};function nE(a,b){var c=a.G(),d=c.get("stroke")||a.stroke(),c=b&H?a.Nk(c.get("hoverStroke")||a.Db()||d,d):a.Nk(d);return Gn(c)}
g.Ua=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.H&&(this.H=e,T(this,528,1));return this}return this.H};g.Hb=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);this.Sa!=e&&(this.Sa=e);return this}return this.Sa};g.Vb=function(a,b){var c=this.G(),d;a&&m(c.get("hatchFill"))?d=c.get("hatchFill"):d=this.Ua();var e;b&H?a&&m(c.get("hoverHatchFill"))?e=c.get("hoverHatchFill"):m(this.Hb())?e=this.Hb():e=d:e=d;c=e;d=this.G().S();A(c)?(e=Hn(this.Fo().Uf(d)),d={index:d,sourceHatchFill:e,iterator:this.G()},c=Hn(c.call(d))):c=ia(c)?c?this.Fo().Uf(d):null:Hn(c);return c};g.sv=function(a){return m(a)?(a="allowOverlap"==lc(a),this.Se!=a&&(this.Se=a,T(this,4096,1)),this):this.Se?"allowOverlap":"noOverlap"};g.labels=function(a){this.na||(this.na=new QD,this.na.Fb(function(){return(100*this.value/this.$b("sum")).toFixed(1)+"%"}),this.na.Gd(function(){return this.value}),R(this.na,this.GI,this),this.na.La(this),L(this,this.na),T(this,4096,1));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.kb=function(a){this.Sc||(this.Sc=new QD,L(this,this.Sc));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Sc.C(a),this):this.Sc};g.rz=function(a){return m(a)?(a=wr(a,"30%"),this.fg!=a&&(this.fg=a,T(this,4100,9)),this):this.fg};g.Uy=function(a){return m(a)?(a=wr(a),this.Sb!=a&&(this.Sb=a,T(this,4100,9)),this):this.Sb};g.rv=function(a){return m(a)?(a=wr(a,"20%"),this.Bb!=a&&(this.Bb=a,T(this,4100,9)),this):this.Bb};g.Pt=function(a){return m(a)?(a=Ah(Q(a)),this.sg!=a&&(this.sg=a,T(this,4096,1)),this):this.sg};g.Xd=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.w&&(this.w=f,T(this,16,1));return this}return this.w};g.BB=function(a){return m(a)?(A(a)&&a!=this.kd?(this.kd=a,jE(this)):Fr(a)&&(this.kd=null,jE(this)),this):this.kd};g.Yb=function(a){return m(a)?(a=wr(a,"100%"),this.xa!=a&&(this.xa=a,T(this,4,1)),this):this.xa};g.tt=function(a){return m(a)?(A(a)||(a=wr(a)),this.Hd!=a&&(this.Hd=a,T(this,4,1)),this):this.Hd};g.wy=function(a){return m(a)?(this.ae=a,T(this,4096,1),this):this.ae};g.aF=function(){return{x:this.Ma,y:this.Ja}};g.FI=function(){return this.a};g.bO=function(){return this.Ea};g.aO=function(){return this.D};g.Wa=function(a){return m(a)?(a=Ah(I(a)||0),this.ab!=a&&(this.ab=a,T(this,4112,1)),this):this.ab};g.bf=function(){return this.ab+-90};g.qy=function(a){return m(a)?(this.rg=wr(a,15),T(this,4116,1),this):this.rg};g.sy=function(a,b){var c=this.G();c.select(a)&&!oE(c.get("value"))&&pE(this,m(b)?!!b:!0);return this};g.FN=function(a){var b=this.G().reset();if(r(a))for(var c=0,d=a.length;c<d;c++)b.select(a[c])&&!oE(b.get("value"))&&pE(this,!0);else for(;b.advance();)b.select(b.S())&&!oE(b.get("value"))&&pE(this,a);return this};g.tv=function(a){return m(a)?(a=cc(a),this.eb!=a&&(this.eb=a,jE(this)),this):this.eb};function qE(a,b){var c=Math.min(b.width,b.height);a.Mg=rE(a)&&a.labels().enabled()?Q(a.fg,c):0;a.a=Q(a.xa,c-a.Mg);a.m=Q(a.Bb,a.a);a.Ea=A(a.Hd)?a.Hd(a.a):Q(a.Hd,a.a);a.D=Q(a.rg,c);a.Ma=b.left+b.width/2;a.Ja=b.top+b.height/2;a.pd=new M(a.Ma-a.a,a.Ja-a.a,2*a.a,2*a.a);var d=Bh(-145),e=Math.min(b.width,b.height)/2,c=.5*e*Math.cos(d)/b.width+.5,d=.5*e*Math.sin(d)/b.height+.5;0>b.width&&(b.width=0);0>b.height&&(b.height=0);a.Nb.fx=!isNaN(c)&&isFinite(c)?c:0;a.Nb.fy=!isNaN(d)&&isFinite(d)?d:0;a.Nb.mode=b;X(a.labels()).Bc(a.Ma).vc(a.Ja).ai(a.a).Wa(a.ab).sc(360).R(a.pd).O(!1);a.kb().R(a.pd)}g.Nk=function(a,b){var c;c=this.G().S();var d;u(a)&&"aquastyle"==a?(c={aquaStyleObj:this.Nb,sourceColor:this.am().nf(c)},c=this.Kg.call(c)):A(a)?(d=1<arguments.length?this.Nk.apply(this,zb(arguments,1)):this.am().nf(c),c={index:c,sourceColor:d,iterator:this.G()},c=a.call(c)):c=a;return c};g.remove=function(){this.J&&this.J.parent(null);this.W&&this.W.parent(null)};g.jl=function(){this.b&&this.b instanceof gE&&this.b.count(this.G().Za())};g.Tg=function(a){this.bb();nB(this.labels());var b=this.G(),c;b.Za();this.rb().A()||this.rb().A(this.A());W(this,4)&&(qE(this,a),T(this,4112));if(W(this,16)){this.J?this.J.clear():(this.J=new Qo(function(){return Yn()},function(a){a.clear()}),this.J.zIndex(30),this.J.parent(this.h));this.W?this.W.clear():(this.W=new Qo(function(){return Yn()},function(a){a.clear()}),this.W.parent(this.h),this.W.zIndex(31).fb(!0));this.j&&(this.X.length=0);var d=this.bf(),e=0;for(b.reset();b.advance();)c=b.get("value"),oE(c)||(c=+c,e=c/this.$b("sum")*360,b.l("start",d).l("sweep",e),m(c=b.l("exploded"))||(c=!!b.get("exploded"),b.l("exploded",c),c&&this.state.wd(Ha,b.S())),this.j?sE(this):tE(this),d+=e);this.j&&uE(this);if(this.da)for(var f in this.da)this.da.hasOwnProperty(f)&&this.da[f].stroke(this.w);this.Tc&&this.Tc.stroke(this.w);U(this,16)}if(W(this,4096)){this.labels().A()||this.na.A(this.h);this.labels().clear();this.ea&&(this.ea.clear(),this.j&&this.Gc.clear());d=rE(this)?Wq().pie.outsideLabels:Wq().pie.insideLabels;this.labels().Fe(d.autoColor);this.labels().fb(d.disablePointerEvents);if(rE(this))vE(this);else for(b.reset();b.advance();)oE(b.get("value"))||(d=this.state.a|cb(this.state,b.S()),wE(this,d,!!(d&H)));this.labels().I();this.labels().ld().clip(a);U(this,4096)}};function oE(a){a=null===a?NaN:+a;return!(y(a)&&!isNaN(a)&&0<a)}
function tE(a,b){var c=a.G(),d=c.S(),e=c.l("start"),f=c.l("sweep");if(m(e)&&m(f)&&0!=f){var h=!!c.l("exploded")&&1!=c.Za(),k,l;b?(k=c.l("slice"),l=c.l("hatchSlice"),k.clear(),l&&l.clear()):(k=Ro(a.J),c.l("slice",k),l=Ro(a.W),c.l("hatchSlice",l));h?(h=e+f/2,k=Lo(k,a.Ma+a.D*Math.cos(Bh(h)),a.Ja+a.D*Math.sin(Bh(h)),a.a,a.Ea,e,f)):k=Lo(k,a.Ma,a.Ja,a.a,a.Ea,e,f);k.tag={Y:a,index:d};c=cb(a.state,c.S());xE(a,c);l&&(l.Pb(k.o()),l.tag={Y:a,index:d},yE(a,c))}}
g.yb=function(a){return m(a)?(a=Ub(a),a!=this.T&&(this.T=a),this):this.T};function sE(a){var b=a.G(),c=b.S(),d=b.l("start"),b=b.l("sweep"),e=d+b;if(m(d)&&m(b)&&0!=b){var f=d+b/2,h=a.D*Math.cos(Bh(f)),f=.45*a.D*Math.sin(Bh(f));a.X.push({index:c,type:"top",start:d,Qq:b,Lp:h,Mp:f});if(360!=Math.abs(b)){var k;k=Bh(d);var l=xl(Math.cos(k),7);k=xl(Math.sin(k),7);var n=zE(l,k);(0==l&&1==Math.abs(k)||3!=n)&&2!=n||a.X.push({index:c,type:"start",eh:d,Lp:h,Mp:f});k=Bh(e);l=xl(Math.cos(k),7);k=xl(Math.sin(k),7);n=zE(l,k);(0==l&&1==Math.abs(k)||1!=n)&&4!=n||a.X.push({index:c,type:"end",eh:e,Lp:h,Mp:f})}var p;p=d;n=e;p==n?l=!1:(p=Bh(p),n=Bh(n),l=xl(Math.cos(p),7),k=xl(Math.cos(n),7),p=zE(l,Math.sin(p)),n=zE(k,Math.sin(n)),l=1==p||2==p?!0:3==p?1==n||2==n?!0:3==n?l>=k:!1:4==p?4==n?l>=k:!0:!1);if(l){k=xl(Math.cos(Bh(d)),7);n=xl(Math.cos(Bh(e)),7);p=zE(k,Math.sin(Bh(d)));var q=zE(n,Math.sin(Bh(e))),l=[];if(1==p)switch(q){case 1:k>=n?l.push({start:d,end:e}):(l.push({start:d,end:180,cg:!0}),l.push({start:360,end:e}));break;case 2:l.push({start:d,end:e,cg:!0});break;case 3:case 4:l.push({start:d,end:180,cg:!0})}else if(2==p)switch(q){case 1:l.push({start:d,end:180});l.push({start:360,end:e});break;case 2:k>=n?l.push({start:d,end:e}):(l.push({start:d,end:180}),l.push({start:360,end:e,cg:!0}));break;case 3:case 4:l.push({start:d,end:180})}else if(3==p)switch(q){case 1:l.push({start:360,end:e});break;case 2:l.push({start:360,end:e,cg:!0});break;case 3:k>=n&&l.push({start:0,end:180,cg:!0})}else if(4==p)switch(q){case 1:l.push({start:360,end:e});break;case 2:l.push({start:360,end:e,cg:!0});break;case 3:l.push({start:360,end:180,cg:!0});break;case 4:k>=n&&l.push({start:0,end:180,cg:!0})}k=a.X.length;n=l.length;a.X.length=k+n;for(p=0;p<n;p++)l[p].index=c,l[p].type="front",l[p].Qq=b,l[p].Lp=h,l[p].Mp=f,a.X[k+p]=l[p]}p=d;n=e;p==n||0==a.Ea?l=!1:(p=Bh(p),n=Bh(n),l=xl(Math.cos(p),7),k=xl(Math.cos(n),7),p=zE(l,Math.sin(p)),n=zE(k,Math.sin(n)),l=3==p||4==p?!0:1==p?3==n||4==n?!0:1==n?l<=k:!1:2==p?2==n?l<=k:!0:!1);if(l){k=xl(Math.cos(Bh(d)),7);n=xl(Math.cos(Bh(e)),7);p=zE(k,Math.sin(Bh(d)));q=zE(n,Math.sin(Bh(e)));l=[];if(1==p)switch(q){case 1:k<=n&&l.push({start:180,end:360});break;case 3:l.push({start:180,end:e});break;case 4:l.push({start:180,end:e,cg:!0})}else if(2==p)switch(q){case 1:l.push({start:180,end:360,cg:!0});break;case 2:k<=n&&l.push({start:180,end:360,cg:!0});break;case 3:l.push({start:180,end:e});break;case 4:l.push({start:180,end:e,cg:!0})}else if(3==p)switch(q){case 1:case 2:l.push({start:d,end:360,cg:!0});break;case 3:k>=n?(l.push({start:d,end:360}),l.push({start:180,end:e})):l.push({start:d,end:e});break;case 4:l.push({start:d,end:e,cg:!0})}else if(4==p)switch(q){case 1:case 2:l.push({start:d,end:360});break;case 3:l.push({start:d,end:360});l.push({start:180,end:e});break;case 4:k>=n?(l.push({start:d,end:360}),l.push({start:180,end:e})):l.push({start:d,end:e})}k=a.X.length;n=l.length;a.X.length=k+n;for(p=0;p<n;p++)l[p].index=c,l[p].type="back",l[p].Qq=b,l[p].Lp=h,l[p].Mp=f,a.X[k+p]=l[p]}}}
function uE(a,b,c){var d=0,e=a.X.length,f;if(m(b))for(d=0;d<e;d++)f=a.X[d],f.index==b&&AE(a,f,c);else{for(d=0;d<e;d++)switch(f=a.X[d],f.type){case"top":f.Hq=1;break;case"front":f.Hq=f.cg?1:xl(Math.sin(Bh(BE(f.start,f.end))),7);break;case"back":f.Hq=f.cg?-1:xl(Math.sin(Bh(BE(f.start,f.end))),7);break;default:f.Hq=xl(Math.sin(Bh(f.eh)),7)}a.X.sort(function(a,b){return a.Hq-b.Hq});for(d=0;d<e;d++)AE(a,a.X[d])}}
function AE(a,b,c){var d=a.G();d.select(b.index);var e=!!d.l("exploded")&&1!=d.Za(),f=a.Ma,h=a.Ja;e&&(f+=b.Lp,h+=b.Mp);var k=a.a,e=a.Ea,d=cb(a.state,d.S());switch(b.type){case"top":var l=b.start;b=b.Qq;0>k&&(k=0);0>e&&(e=0);if(k<e)var n=k,k=e,e=n;b=ub(b,-360,360);c=CE(a,"topPath",c);0>=e?360==Math.abs(b)?c.Ob(f,h,k,.45*k,l,b,!1):c.moveTo(f,h).Ob(f,h,k,.45*k,l,b,!0).close():(n=360>Math.abs(b),c.Ob(f,h,k,.45*k,l,b).Ob(f,h,e,.45*e,l+b,-b,n),n&&c.close());DE(a,"topPath",d);break;case"front":var e=f,f=h,p=b.start,n=b.end,q=b.Qq;b="frontPath"+p;c=CE(a,b,c);h=.45*k;l=.2*a.a;n<p&&(n+=360);360==Math.abs(q)&&(p=0,n=180);q=Bh(p);p=Bh(n);n=e+k*+Math.cos(q).toFixed(5);q=f+h*+Math.sin(q).toFixed(5);e+=k*+Math.cos(p).toFixed(5);f+=h*+Math.sin(p).toFixed(5);c.moveTo(n,q);c.oc(e,f,k,h,!1,!0);c.lineTo(e,f+l);c.oc(n,q+l,k,h,!1,!1);c.lineTo(n,q);c.close();DE(a,b,d);break;case"back":k=f;f=h;p=b.start;n=b.end;q=b.Qq;b="backPath"+p;c=CE(a,b,c);h=.45*e;l=.2*a.a;n<p&&(n+=360);360==Math.abs(q)&&(p=180,n=0);q=Bh(p);p=Bh(n);n=k+e*Math.cos(q);q=f+h*Math.sin(q);k+=e*Math.cos(p);f+=h*Math.sin(p);c.moveTo(n,q);c.oc(k,f,e,h,!1,!0);c.lineTo(k,f+l);c.oc(n,q+l,e,h,!1,!1);c.lineTo(n,q);c.close();DE(a,b,d);break;case"start":EE(a,"startPath",f,h,k,e,b.eh,d,c);break;case"end":EE(a,"endPath",f,h,k,e,b.eh,d,c)}}function CE(a,b,c){var d=a.G(),e="hatch"+String(b.charAt(0)).toUpperCase()+b.substr(1);c?(c=d.l(b),a=d.l(e),c.clear(),a&&a.clear()):(c=Ro(a.J),d.l(b,c),a=Ro(a.J),d.l(e,a));return c}
function FE(a,b){var c=a.G(),d=c.S(),e=c.get("fill")||a.fill(),c=b&H?a.Nk(c.get("hoverFill")||e,e):a.Nk(e),f;u(c)&&(f=zq(c));var d=a.am().nf(d),h;B(d)&&(d.color?h=zq(d.color):d.keys&&d.keys.length&&(h=zq(d.keys[0].color)));h=h?h.ef:d;return f?f.ef:h}
function DE(a,b,c){var d=a.G(),e=d.S(),f=FE(a,c),h=Nh(f),k=d.l(b);k.tag={Y:a,index:e};var l,n=Sh(h,.3),p=Rh([255,255,255],h,.1),q=Kh(Rh(h,n,.7)),p=Kh(Rh(n,p,.1)),t=Kh(Rh(h,n,.8)),v=Kh(Rh(h,n,.2)),h=Kh(Rh(h,n,.1)),n=!!(c&H);"topPath"==b?l={angle:-50,keys:[{position:0,opacity:1,color:n?Bq(f,.3):f},{position:1,opacity:1,color:n?Bq(q,.2):q}]}:0==b.lastIndexOf("frontPath",0)?l={angle:45,keys:[{position:0,opacity:1,color:n?Bq(f,.2):Bq(f,.1)},{position:.19,opacity:1,color:n?Bq(p,.2):p},{position:1,opacity:1,color:n?Bq(t,.2):t}]}:l=0==b.lastIndexOf("backPath",0)?n?Bq(v,.2):v:n?Bq(h,.2):h;k.fill(l);k.stroke(l);b="hatch"+String(b.charAt(0)).toUpperCase()+b.substr(1);if(d=d.l(b))d.Pb(k.o()),d.tag={Y:a,index:e},yE(a,c,b)}function zE(a,b){return 0<=a&&0<=b?1:0>=a&&0<=b?2:0>=a&&0>b?3:4}
function EE(a,b,c,d,e,f,h,k,l){var n=Bh(h);h=.2*a.a;var p=c+f*Math.cos(n);c+=e*Math.cos(n);f=d+.45*f*Math.sin(n);d+=.45*e*Math.sin(n);l=CE(a,b,l);l.moveTo(p,f);l.lineTo(c,d);l.lineTo(c,d+h);l.lineTo(p,f+h);l.lineTo(p,f);l.close();DE(a,b,k)}function BE(a,b){b<a&&(b+=360);return(a+b)/2}
function wE(a,b,c){if(rE(a)){var d=a.G(),e=!!(b&H),f=d.get("label"),h=e?d.get("hoverLabel"):null,k=d.S(),l=e?a.kb():a.labels();b=oB(a.labels(),k);var n=f&&m(f.enabled)?f.enabled:null,p=h&&m(h.enabled)?h.enabled:null,e=e?null===p?fa(a.kb().enabled())?null===n?b&&m(b.enabled())?b.enabled():a.labels().enabled():n:a.kb().enabled():p:null===n?b&&m(b.enabled())?b.enabled():a.labels().enabled():n,p=a.Kb(),q=GE(a);if(e){if(n=!b)b=a.labels().add(p,q,k);k=b.enabled();b.fd();tB(b,l);b.xd(f,h);b.enabled(k);d=d.l("anchor");m(d)&&b.anchor(d);n||b.I()}else b?(k=b.enabled(),b.clear(),b.enabled(k)):(b=a.labels().add(p,q,k),d=d.l("anchor"),m(d)&&b.anchor(d),b.enabled(!1));if(c&&(c=b)&&a.da){var d=c.S(),t;(t=a.da[d])?c&&0!=c.enabled()&&e?HE(a,c,t):t.clear():e?HE(a,c,a.Tc):a.Tc.clear()}return b}t=!!(b&H);var v=a.G();b=v.get("label");c=t?v.get("hoverLabel"):null;d=v.S();f=t?a.kb():a.labels();h=oB(a.labels(),d);l=b&&m(b.enabled)?b.enabled:null;e=c&&m(c.enabled)?c.enabled:null;k=GE(a);n=a.Kb();p=!0;if((!t||t&&!a.ae)&&!a.Se){var w=v.l("start"),x=v.l("sweep"),p=a.Ma,q=a.Ja,z;if(v.l("exploded")&&1!=v.Za()){z=(w+x/2)*Math.PI/180;var C=(a.j?.45*a.D:a.D)*Math.sin(z),p=p+a.D*Math.cos(z),q=q+C}z=w*Math.PI/180;var C=p+a.a*Math.cos(z),F=q+(a.j?.45*a.a:a.a)*Math.sin(z);z=(w+x)*Math.PI/180;var w=p+a.a*Math.cos(z),J=q+(a.j?.45*a.a:a.a)*Math.sin(z);a.nb?a.nb.clear():a.nb=new RD;a.nb.Ed(n);a.nb.Eb(k);a.nb.fd();pB(a.nb,a.labels());tB(a.nb,f);a.nb.xd(b,c);z=a.labels().Li(a.nb,null,null,d);x=(v=(1==v.Za()||360==x)&&0==a.Ea)||!Gl(p,q,w,J,z);w=!Il(p,q,a.a,z);J=v||Il(p,q,a.Ea,z);p=(v||!Gl(C,F,p,q,z))&&x&&w&&J}(t?null===e?fa(a.kb().enabled())?null===l?a.labels().enabled():l:a.kb().enabled():e:null===l?a.labels().enabled():l)&&p?(h?(h.Ed(n),h.Eb(k)):h=a.labels().add(n,k,d),h.fd(),tB(h,f),h.xd(b,c),h.I(),t&&!h.A()&&a.labels().ld()&&(h.A(a.labels().ld()),h.A().parent()||h.A().parent(a.labels().A()),h.I())):h&&h.clear();return h}
function xE(a,b){if(a.j){var c,d=a.X.length,e,f=a.G().S();for(c=0;c<d;c++)e=a.X[c],e.index==f&&DE(a,e.type+"Path"+("front"==e.type||"back"==e.type?e.start:""),b)}else c=a.G().l("slice"),m(c)&&(d=mE(a,b),B(d)&&d.hasOwnProperty("mode")&&d.hasOwnProperty("cx")&&null===d.mode&&(d=kf(d),d.mode=a.pd?a.pd:null),c.fill(d),d=nE(a,b),B(d)&&d.hasOwnProperty("mode")&&d.hasOwnProperty("cx")&&null===d.mode&&(d.mode=a.pd?a.pd:null),c.stroke(d),yE(a,b))}
function yE(a,b,c){c=a.G().l(c||"hatchSlice");null!=c&&c.stroke(null).fill(a.Vb(!0,b))}g.EI=function(a){Y(a,16)&&T(this,12848,17)};g.GI=function(a){var b=0,c=0;Y(a,1)&&(b|=4096,c|=1);Y(a,8)&&(b|=4100,c|=9);T(this,b,c)};g.CB=function(a){Y(a,2)&&T(this,528,1)};function pE(a,b){var c=a.G();if(1!=c.Za()&&360!=c.l("sweep")){if(m(b))c.l("exploded",b);else{var d=c.l("exploded");c.l("exploded",!d)}d=c.S();a.j?uE(a,d,!0):tE(a,!0);rE(a)&&(X(a.labels()),a.labels().clear(),vE(a),a.labels().I(),a.labels().O(!0),c.select(d));c=a.state.a|cb(a.state,c.S());wE(a,c,!!(c&H))}}function rE(a){return"outside"==qc(a.labels().position())}g.Vh=function(){"bySpot"!=this.Dc().yb()&&this.Dc().yb();return[]};g.ee=function(a){a={type:a.type,target:this,relatedTarget:yv(a.relatedTarget)||a.relatedTarget,domTarget:a.target,relatedDomTarget:a.relatedTarget,offsetX:a.offsetX,offsetY:a.offsetY,clientX:a.clientX,clientY:a.clientY,screenX:a.screenX,screenY:a.screenY,button:a.button,keyCode:a.keyCode,charCode:a.charCode,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,platformModifierKey:a.platformModifierKey,state:a.state};var b=tr(a.domTarget);a.pointIndex=a.sliceIndex=I(b.index);return a};g.nm=function(a){var b=this.$d(a),c=b.pointIndex;b&&this.dispatchEvent(b)&&this.G().select(c)&&(this.vf(c),a=this.Df("selected",a,[{Y:this,zb:[c],Wb:{index:c,Vc:0}}]),a.currentPoint.selected=!!this.G().l("exploded"),this.dispatchEvent(a))};g.Me=function(a){(a=this.$d(a))&&this.dispatchEvent(a)};g.$d=function(a){var b;"pointIndex"in a?b=a.pointIndex:"labelIndex"in a?b=a.labelIndex:"markerIndex"in a&&(b=a.markerIndex);b=I(b);a.pointIndex=b;var c=a.type;switch(c){case"mouseout":c="pointmouseout";break;case"mouseover":c="pointmouseover";break;case"mousemove":c="pointmousemove";break;case"mousedown":c="pointmousedown";break;case"mouseup":c="pointmouseup";break;case"click":c="pointclick";break;case"dblclick":c="pointdblclick";break;default:return null}var d=this.data().G();d.select(b)||d.reset();return{type:c,actualTarget:a.target,pie:this,iterator:d,sliceIndex:b,pointIndex:b,target:this,originalEvent:a,point:this.vd(b)}};g.vd=function(a){var b=new La(this,a),c;this.G().select(a)&&b.gn()&&!oE(c=b.get("value"))&&(b.L.yPercentOfTotal=c/this.$b("sum")*100);return b};g.Bi=function(a,b){var c=[],d=this.G().reset(),e,f="aquastyle"==this.fill();if(f){var h=this.Nb;this.Nb={}}for(;d.advance();){d.get("x");e=d.S();var k=d.get("legendItem")||{},l=null;A(b)&&(l=this.Kb(),l=b.call(l,l));u(l)||(l=d.l("groupedPoint")?"Other points":String(m(d.get("name"))?d.get("name"):d.get("x")));l={enabled:!0,meta:{pointIndex:e,pointValue:d.get("value")},iconType:"square",text:l,iconStroke:this.j?Cq(FE(this,Ua),.2):nE(this,Ua),iconFill:this.j?FE(this,Ua):mE(this,Ua),iconHatchFill:this.Vb(!0,Ua)};mf(l,k);l.sourceUid=D(this);l.sourceKey=e;c.push(l)}f&&(this.Nb=h);return c};g.jk=function(){return!0};g.wn=function(a){a=a.qg();var b=this.data().G();b.select(a)&&(b=!!b.l("exploded"),this.sy(a,!b))};g.Al=function(a,b){var c=a.qg();if(!a||null!=c||isNaN(c))if(c=tr(b.domTarget))c.Y=this};g.zl=function(a,b){var c=a.qg();if(!a||null!=c||isNaN(c))if(c=tr(b.domTarget))c.Y=this};g.Ne=function(a){m(a)?this.rf(a):this.enabled()&&this.state.wd(H);return this};g.gc=function(a){if((ab(this.state,H)||lb(this.state.Cc(),H))&&this.enabled()){var b;m(a)?b=a:b=this.state.a==Ua?NaN:void 0;this.state.g(H,b);a=this.rb();a.al()&&this.Ec("mousemove",this.gr);a.Vd()}};g.rf=function(a,b){if(!this.enabled())return this;if(r(a)){for(var c=jb(this.state,H),d=0;d<c.length;d++)Tf(a,c[d])||this.state.g(H,c[d]);hb(this.state,a);m(b)&&this.gr(b)}else y(a)&&(this.gc(),hb(this.state,a),m(b)&&this.gr(b));return this};g.vf=function(a,b){if(!this.enabled())return this;var c=!(b&&b.shiftKey);r(a)?(b||this.hc(),this.state.wd(Ha,a,c?H:void 0)):y(a)&&this.state.wd(Ha,a,c?H:void 0);for(c=this.Ya();c.advance();)wE(this,cb(this.state,c.S()));y(a)&&this.labels();this.G().select(a[0]||a);pE(this);return this};g.Qd=function(a){xE(this,a);wE(this,a,!0)};g.Kf=ba;g.Bd=function(a){xE(this,a)};g.rb=function(a){this.Mb||(this.Mb=new GA,L(this,this.Mb),R(this.Mb,this.HI,this));return m(a)?(this.Mb.C(a),this):this.Mb};g.HI=function(){JA(this.rb())};g.gr=function(a){if(!a||a.target!=this.sf()){var b=this.rb(),c=this.Kb();b.al()&&a?(b.show(c,new $h(a.clientX,a.clientY)),this.pa("mousemove",this.gr)):b.show(c,new $h(0,0))}};g.bb=function(){if(W(this,8192)){this.L={};for(var a=this.data().G(),b,c=0,d=Number.MAX_VALUE,e=-Number.MAX_VALUE,f=0;a.advance();)b=a.get("value"),oE(b)?c++:(b=+b,d=Math.min(b,d),e=Math.max(b,e),f+=b);var a=a.Za()-c,h;0==a?d=e=f=h=void 0:h=f/a;this.L.count=a;this.L.min=d;this.L.max=e;this.L.sum=f;this.L.average=h;U(this,8192)}};g.Kb=function(a){if(!this.F||a)this.F=new cd(this,["x","value","name"]);this.F.Kl=this.vd(this.G().S());this.F.Bf();return this.F};g.Jf=function(){return this.Kb()};function IE(a,b){a.od||(a.od=[]);var c=b.S();a.od[c]||(a.od[c]=M.a(a.na.Li(b)));return a.od[c]}function JE(a,b){var c=b.S();a.od&&(a.od[c]=null)}
function vE(a){var b=a.G(),c,d,e,f;a.kc=[];var h=[],k=[],l,n;b.reset();for(var p=!1,q=!1;b.advance();)if(!oE(b.get("value"))){var t=b.S();f=b.l("start");d=b.l("sweep");c=b.l("exploded")&&1!=b.Za();d=(f+d/2)*Math.PI/180;var v=Ah(Ch(d));270<v&&!p&&(0!=k.length||n&&0!=n.length)&&(p=!0,l=[]);90<v&&!q&&(0!=h.length||l&&0!=l.length)&&(q=!0,n=[]);f=90>v||270<v;e=a.a+(c?a.D:0);var w=a.j?.45*a.a+(c?.45*a.D:0):e;c=a.Ma+e*Math.cos(d);d=a.Ja+w*Math.sin(d);a.j&&(d+=.2*a.a/2);e=f?5:-5;b.l("connector",e);a.kc[2*t]=c;a.kc[2*t+1]=d;b.l("anchor",f?"leftCenter":"rightCenter");c=wE(a,Ua,!1);JE(a,c);c.W=v;f?p?l.push(c):h.push(c):q?n.push(c):k.push(c)}var h=l?l.concat(h):h,k=n?n.concat(k):k,x,p=[];f=null;l=0;for(n=k.length;l<n;l++)if(c=k[l]){b.select(c.S());c.Ed(a.Kb());d=IE(a,c);if(!f||KE(f,d))f&&p.push(f),f="leftCenter"==c.anchor(),f=new LE(f,a,p);ME(f,c)}f&&p.push(f);l=0;for(n=p.length;l<n;l++)(f=p[l])&&f.Yf&&(x||(x=[]),x=Xf(x,f.Yf));f=null;if(x){db(x,function(a,b){return a.S()>b.S()?1:a.S()<b.S()?-1:0});l=0;for(n=x.length;l<n;l++)if(c=x[l]){b.select(c.S());c.Ed(a.Kb());d=IE(a,c);q=!0;v=0;for(t=p.length;v<t;v++)q=q&&KE(p[v],d);if(q){f||(f="leftCenter"==c.anchor(),f=new LE(f,a,[]));NE(f,c);d=f.Fa();q=!0;for(v=0;v<t;v++)q=q&&KE(p[v],d);f.dd||!q?(f.labels.pop().enabled(!1),OE(f),p.push(f),f=null):c.enabled(!0)}else f&&(p.push(f),f=null)}f&&(p.push(f),f=null)}k=[];f=null;for(l=h.length;l--;)if(c=h[l]){b.select(c.S());c.Ed(a.Kb());d=IE(a,c);if(!f||KE(f,d))f&&k.push(f),f="leftCenter"==c.anchor(),f=new LE(f,a,k);ME(f,c)}f&&k.push(f);x&&(x.length=0);l=0;for(n=k.length;l<n;l++)(f=k[l])&&f.Yf&&(x||(x=[]),x=Xf(x,f.Yf));f=null;if(x)for(db(x,function(a,b){return a.S()>b.S()?1:a.S()<b.S()?-1:0}),l=x.length;l--;)if(c=x[l]){b.select(c.S());c.Ed(a.Kb());d=IE(a,c);q=!0;v=0;for(t=k.length;v<t;v++)q=q&&KE(k[v],d);if(q){f||(f="leftCenter"==c.anchor(),f=new LE(f,a,[]));NE(f,c);d=f.Fa();q=!0;for(v=0;v<t;v++)q=q&&KE(k[v],d);f.dd||!q?(f.labels.pop().enabled(!1),OE(f),k.push(f),f=null):c.enabled(!0)}else f&&(k.push(f),f=null)}f&&(p.push(f),f=null);a.ea?(a.ea.clear(),a.j&&a.Gc.clear()):(a.ea=new Qo(function(){return Yn()},function(a){a.clear()}),a.ea.parent(a.h),a.ea.zIndex(32),a.j&&(a.Gc=new Qo(function(){return Yn()},function(a){a.clear()}),a.Gc.parent(a.h),a.Gc.zIndex(29)));a.da=[];a.Tc||(a.Tc=a.h.path(),a.Tc.stroke(a.w));l=0;for(n=p.length;l<n;l++)if(f=p[l])for(PE(f),b=0,h=f.labels.length;b<h;b++)(c=f.labels[b])&&0!=c.enabled()&&(t=c.S(),a.da[t]||(d=a.kc[2*t+1]-.2*a.a/2,x=a.j&&d<a.Ja?Ro(a.Gc):Ro(a.ea),a.da[t]=x,x.stroke(a.w),HE(a,c,x)));l=0;for(n=k.length;l<n;l++)if(f=k[l])for(PE(f),b=0,h=f.labels.length;b<h;b++)(c=f.labels[b])&&0!=c.enabled()&&(t=c.S(),a.da[t]||(d=a.kc[2*t+1]-.2*a.a/2,x=a.j&&d<a.Ja?Ro(a.Gc):Ro(a.ea),a.da[t]=x,x.stroke(a.w),HE(a,c,x)))}
function HE(a,b,c){var d=a.data().G(),e=b.S();if(d.select(e)){var f=a.kc[2*e],e=a.kc[2*e+1],d=d.l("connector"),h=b.Eb().value,k=m(b.offsetY())?b.offsetY():a.labels().offsetY();k||(k=0);k=Q(k,a.a);(b=m(b.offsetX())?b.offsetX():a.labels().offsetX())||(b=0);b=Bh(h.angle+Q(b,360));k=h.radius+k;h=a.Ma+k*Math.cos(b)-d;a=a.Ja+k*Math.sin(b);c.clear().moveTo(f,e).lineTo(h,a).lineTo(h+d,a)}}
function GE(a){var b=rE(a),c=a.G(),d=c.l("start"),e=c.l("sweep"),f=1==c.Za()||360==e,c=c.l("exploded")&&!f,d=d+e/2,h,k;return a.j?(b?(f=a.a+a.m,b=.45*a.a+a.m,c&&(f+=a.D,b+=.45*a.D)):(h=a.a,b=.45*a.a,k=a.Ea,e=.45*a.Ea,f&&0==k?b=f=0:(f=Q(a.Sb,k+h),b=vr(a.Sb)?Q(a.Sb,e+b):.45*Q(a.Sb,e+b),c&&(f+=a.D,b+=.45*a.D))),{value:{angle:d,radius:f,radiusY:b}}):{value:{angle:d,radius:b?a.a+a.m+(c?a.D:0):Q(a.Sb,f&&!a.Ea?0:a.a-a.Ea)+a.Ea+(c?a.D:0)}}}
g.o=function(){var a=iE.v.o.call(this);a.type=this.qa();a.data=this.data().o();a.labels=this.labels().o();a.hoverLabels=this.kb().o();a.palette=this.am().o();a.hatchFillPalette=this.Fo().o();a.tooltip=this.rb().o();a.sort=this.tv();a.radius=this.Yb();a.startAngle=this.Wa();a.explode=this.qy();a.outsideLabelsSpace=this.rz();a.insideLabelsOffset=this.Uy();a.connectorLength=this.rv();a.outsideLabelsCriticalAngle=this.Pt();a.overlapMode=this.sv();a.forceHoverLabels=this.wy();A(this.innerRadius)&&(A(this.tt())?K(8,null,["Pie innerRadius"]):a.innerRadius=this.tt());A(this.connectorStroke)&&(A(this.Xd())?K(8,null,["Pie connectorStroke"]):a.connectorStroke=P(this.Xd()));A(this.fill)&&(A(this.fill())?K(8,null,["Pie fill"]):a.fill=P(this.fill()));A(this.hoverFill)&&(A(this.Lb())?K(8,null,["Pie hoverFill"]):a.hoverFill=P(this.Lb()));A(this.stroke)&&(A(this.stroke())?K(8,null,["Pie stroke"]):a.stroke=P(this.stroke()));A(this.hoverStroke)&&(A(this.Db())?K(8,null,["Pie hoverStroke"]):a.hoverStroke=P(this.Db()));A(this.hatchFill)&&(A(this.Ua())?K(8,null,["Pie hatchFill"]):a.hatchFill=P(this.Ua()));A(this.hoverHatchFill)&&(A(this.Hb())?K(8,null,["Pie hoverHatchFill"]):a.hoverHatchFill=P(this.Hb()));return{chart:a}};g.K=function(a){iE.v.K.call(this,a);this.BB(a.group);this.data(a.data);this.labels().C(a.labels);this.kb().C(a.hoverLabels);this.am(a.palette);this.Fo(a.hatchFillPalette);this.rb(a.tooltip);this.tv(a.sort);this.Yb(a.radius);this.tt(a.innerRadius);this.Wa(a.startAngle);this.qy(a.explode);this.rz(a.outsideLabelsSpace);this.Uy(a.insideLabelsOffset);this.sv(a.overlapMode);this.rv(a.connectorLength);this.Pt(a.outsideLabelsCriticalAngle);this.Xd(a.connectorStroke);this.fill(a.fill);this.stroke(a.stroke);this.Lb(a.hoverFill);this.Db(a.hoverStroke);this.Ua(a.hatchFill);this.Hb(a.hoverHatchFill);this.wy(a.forceHoverLabels)};function LE(a,b,c){this.h=c;this.a=b;this.labels=[];this.y=this.height=0;this.c=[];this.g=a;this.dd=!1;this.b=null}function ME(a,b){b&&(a.labels.push(b),a.bb())}function NE(a,b){b&&(a.labels.push(b),OE(a))}LE.prototype.Fa=function(){if(!this.b){var a=this.labels[0]?IE(this.a,this.labels[0]).height:0;this.b=new M(this.x,this.y+a/2,this.width,this.height)}return this.b};function KE(a,b){var c=Ml(a.Fa());return!Dl(c,Ml(b))}function PE(a){for(var b=0,c=a.labels.length;b<c;b++){var d=a.labels[b],e=a.c[3*b],f=a.c[3*b+1],h=a.c[3*b+2],k=d.Eb().value;k.angle=e;k.radius=f;k.radiusY=h;JE(a.a,d)}}
function OE(a){var b,c,d=a.height=0;a.b=null;var e=a.a.aF(),f=e.x,e=e.y,h,k;a.a.j?(h=e+.45*a.a.a+a.a.m-.1+.2*a.a.a/2,k=e-(.45*a.a.a+a.a.m)+.1-.2*a.a.a/2):(h=e+a.a.a+a.a.m-.1,k=e-(a.a.a+a.a.m)+.1);for(var l=0,n=a.labels.length;l<n;l++)b=a.labels[l],c=IE(a.a,b),d+=c.top-a.height-c.height/2,a.height+=c.height;a.y=d/n;d=a.y+a.height;d>h&&(d=h,a.y=h-a.height);0!=a.labels.length&&(c=IE(a.a,a.labels[0]).height,a.y+c<k&&(d=k-c+a.height,a.y=k-c));k=a.a.Pt();a.c.length=0;h=a.a.data().G();var p,q,t,v,w,x,z,C;a.x=NaN;a.width=NaN;a.N=null;a.m=NaN;a.j=NaN;a.dd=!1;l=0;for(n=a.labels.length;l<n;l++){b=a.labels[l];c=IE(a.a,b);p=l==n-1?0:IE(a.a,a.labels[l+1]).height;h.select(b.S());q=h.l("start");t=h.l("sweep");v=h.l("exploded");var F=m(b.offsetX())?b.offsetX():a.a.labels().offsetX();F||(F=0);var F=Q(F,360),J=m(b.offsetY())?b.offsetY():a.a.labels().offsetY();J||(J=0);J=Q(J,a.a.a);t=(q+t/2+F)*Math.PI/180;q=a.g?5:-5;x=a.a.a+(v?a.a.D:0);w=a.a.a+a.a.m+(v?a.a.D:0)+J;var O;a.a.j?(z=.45*a.a.a+(v?.45*a.a.D:0),O=.45*a.a.a+a.a.m+(v?.45*a.a.D:0)+.45*J):(z=x,O=w);v=d;C=x+a.a.m;var S=z+a.a.m;Math.abs(v-e)>S&&(S+=Math.abs(v-e)-S);S=C*Math.sqrt(Math.pow(S,2)-Math.pow(v-e,2))/S;C=f+(a.g?1:-1)*Math.abs(S);x=f+x*Math.cos(t);z=e+z*Math.sin(t);w=f+w*Math.cos(t);t=e+O*Math.sin(t);t=Ch(Math.acos(Math.sqrt(Math.pow(x-w,2)+Math.pow(z-t,2)).toFixed(3)/Math.sqrt(Math.pow(x-C,2)+Math.pow(z-v,2)).toFixed(3)));if(t>a.j||isNaN(a.j)||0>S)a.j=0>S?Number.POSITIVE_INFINITY:t,a.N=b,a.m=l;if(t>k||0>S)a.dd=!0;b=C+q;q=a.g?b:b-c.width;a.x=isNaN(a.x)?q:a.x>q?q:a.x;q=a.g?b+c.width:b;a.width=isNaN(a.width)?q:a.width<q?q:a.width;b=b-f;v-=e;a.a.j&&(v+=.2*a.a.a/2);q=Math.sqrt(Math.pow(b,2)+Math.pow(v,2))-J;J=Math.sqrt(Math.pow(b,2)+Math.pow(v,2))-J;t=NaN;0<b&&0<=v?t=Ch(Math.atan(v/b)):0<b&&0>v?t=Ch(Math.atan(v/b))+360:0>b?t=Ch(Math.atan(v/b))+180:0==b&&0<v?t=90:0==b&&0>v&&(t=270);t-=F;a.c.push(t,q,J);d-=c.height/2+p/2}a.width-=a.x}
LE.prototype.bb=function(){OE(this);if(this.dd){var a=this.N,b=this.m;isNaN(b)||(a.enabled(!1),this.Yf||(this.Yf=[]),this.Yf.push(a),fb(this.labels,b,1));var c=this.a,a=this.labels,d=this.h,e,f,h,k,l=d[d.length-1];if(l!=this){var n=null,b=a.slice(),p=d.length,q=!1;e=0;for(f=a.length;e<f;e++)if(h=a[e])k=IE(c,h),!l||KE(l,k)?!n||KE(n,k)?(n&&(d.push(n),l=n),k="leftCenter"==h.anchor(),n=new LE(k,c,d),NE(n,h)):(NE(n,h),c.dd?(h.enabled(!1),n.Yf||(n.Yf=[]),n.Yf.push(h),n.labels.pop(),OE(n)):l&&n&&!KE(l,n.Fa())&&(d.pop(),n.labels=Xf(l.labels,n.labels),l=null,OE(n),q=!0)):(h.enabled(!1),n&&(n.Yf||(n.Yf=[]),n.Yf.push(h)));if(n)if(0<d.length-p||q)this.labels=n.labels;else{c=n;if(c.Yf){d=0;for(e=c.Yf.length;d<e;d++)c.Yf[d].enabled(!0);c.Yf.length=0}b.length!=a.length&&(this.labels=b)}}this.bb()}else if((a=this.h[this.h.length-1])&&(b=a.Fa()),b&&!KE(this,b)){this.h.pop();this.labels=Xf(a.labels,this.labels);a=0;for(b=this.labels.length;a<b;a++)this.labels[a].enabled(!0);this.bb()}};iE.prototype.data=iE.prototype.data;iE.prototype.group=iE.prototype.BB;iE.prototype.labels=iE.prototype.labels;iE.prototype.hoverLabels=iE.prototype.kb;iE.prototype.radius=iE.prototype.Yb;iE.prototype.innerRadius=iE.prototype.tt;iE.prototype.startAngle=iE.prototype.Wa;iE.prototype.explode=iE.prototype.qy;iE.prototype.sort=iE.prototype.tv;iE.prototype.getCenterPoint=iE.prototype.aF;iE.prototype.getPixelRadius=iE.prototype.FI;iE.prototype.getPixelInnerRadius=iE.prototype.bO;iE.prototype.getPixelExplode=iE.prototype.aO;iE.prototype.palette=iE.prototype.am;iE.prototype.fill=iE.prototype.fill;iE.prototype.stroke=iE.prototype.stroke;iE.prototype.hoverFill=iE.prototype.Lb;iE.prototype.hoverStroke=iE.prototype.Db;iE.prototype.hatchFill=iE.prototype.Ua;iE.prototype.hoverHatchFill=iE.prototype.Hb;iE.prototype.explodeSlice=iE.prototype.sy;iE.prototype.explodeSlices=iE.prototype.FN;iE.prototype.tooltip=iE.prototype.rb;iE.prototype.outsideLabelsSpace=iE.prototype.rz;iE.prototype.overlapMode=iE.prototype.sv;iE.prototype.insideLabelsOffset=iE.prototype.Uy;iE.prototype.connectorLength=iE.prototype.rv;iE.prototype.outsideLabelsCriticalAngle=iE.prototype.Pt;iE.prototype.connectorStroke=iE.prototype.Xd;iE.prototype.hatchFillPalette=iE.prototype.Fo;iE.prototype.getType=iE.prototype.qa;iE.prototype.hover=iE.prototype.Ne;iE.prototype.unhover=iE.prototype.gc;iE.prototype.forceHoverLabels=iE.prototype.wy;iE.prototype.getPoint=iE.prototype.vd;iE.prototype.toCsv=iE.prototype.Sl;function QE(a,b){WA.call(this);X(this);this.na=this.vb=this.ub=this.B=this.H=null;this.X=[];this.ga=this.D=null;this.kc=1;this.kd=this.Gc=NaN;this.fa=this.b=null;this.Tc=3;this.j=!1;this.c=function(){return Cq(this.sourceColor,.2)};this.state=new Ta(this);this.data(a||null,b);this.O(!1)}G(QE,WA);g=QE.prototype;g.ia=WA.prototype.ia|16;g.$=WA.prototype.$|28688;g.sd=function(){return[this]};g.Fd=function(){return!0};g.Lf=function(){return!0};g.data=function(a,b){if(m(a)){if(this.hb!==a){this.hb=a;if(this.fa!=a||null===a){Ad(this.M);delete this.ka;var c;a instanceof $u?(c=a,this.M=null):(c=a instanceof fv?(this.M=a).Pd():r(a)||u(a)?(this.M=new fv(a,b)).Pd():(this.M=new fv(null)).Pd(),L(this,this.M));this.fa=c.Rg()}Ad(this.Ta);this.Ta=this.fa;R(this.Ta,this.DJ,this);L(this,this.Ta);T(this,29200,17)}return this}return this.Ta};g.DJ=function(a){Y(a,16)&&T(this,29200,17)};g.G=function(){return this.ka||(this.ka=this.Ta.G())};g.Ya=function(){return this.ka=this.Ta.G()};g.Rk=function(a,b){var c;c=this.G().S();var d;A(a)?(d=1<arguments.length?this.Rk.apply(this,zb(arguments,1)):this.Uo().Ds(c),c={index:c,sourceColor:d,iterator:this.G()},c=a.call(c)):c=a;return c};function RE(a,b){var c=a.G().l("point");if(m(c)){var d=SE(a,!0,b);c.fill(d);d=TE(a,b);c.stroke(d)}}
g.Uo=function(a){if(a instanceof gE)return UE(this,gE,a),this;if(a instanceof dE)return UE(this,dE,a),this;B(a)&&"range"==a.type?UE(this,gE):(B(a)||null==this.b)&&UE(this,dE);return m(a)?(this.b.C(a),this):this.b};g.To=function(a){this.D||(this.D=new fE,R(this.D,this.GJ,this),L(this,this.D));return m(a)?(this.D.C(a),this):this.D};g.pm=function(a){this.B||(this.B=new eE,R(this.B,this.EJ,this),L(this,this.B));return m(a)?(this.B.C(a),this):this.B};function UE(a,b,c){if(a.b instanceof b)c&&a.b.C(c);else{var d=!!a.b;Ad(a.b);a.b=new b;c&&a.b.C(c);R(a.b,a.JJ,a);L(a,a.b);d&&T(a,528,1)}}g.JJ=function(a){Y(a,2)&&T(this,528,1)};g.GJ=function(a){Y(a,2)&&T(this,528,1)};g.EJ=function(a){Y(a,2)&&T(this,528,1)};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,528,1));return this}return this.g};g.Lb=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.ua&&(this.ua=k,T(this,16,1));return this}return this.ua};g.Ac=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.Nb&&(this.Nb=k,T(this,16,1));return this}return this.Nb};function SE(a,b,c){var d=a.G(),e=b&&d.get("fill")||a.fill();a=c&Ha?a.Rk(b&&d.get("selectFill")||a.Ac()||e,e):c&H?a.Rk(b&&d.get("hoverFill")||a.Lb()||e,e):a.Rk(e);return Bn(a)}
g.Ua=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.H&&(this.H=e,T(this,528,1));return this}return this.H};g.Hb=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);this.Sa!=e&&(this.Sa=e);return this}return this.Sa};g.cc=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);this.nb!=e&&(this.nb=e);return this}return this.nb};g.Vb=function(a,b){var c=this.G(),d;a&&m(c.get("hatchFill"))?d=c.get("hatchFill"):d=this.Ua();var e;b&Ha?a&&m(c.get("selectHatchFill"))?e=c.get("selectHatchFill"):m(this.cc())?e=this.cc():e=d:b&H?a&&m(c.get("hoverHatchFill"))?e=c.get("hoverHatchFill"):m(this.Hb())?e=this.Hb():e=d:e=d;c=e;d=this.G().S();A(c)?(e=Hn(this.pm().Uf(d)),d={index:d,sourceHatchFill:e,iterator:this.G()},c=Hn(c.call(d))):c=ia(c)?c?this.pm().Uf(d):null:Hn(c);return c};function VE(a,b){var c=a.G().l("hatchPoint");null!=c&&c.stroke(null).fill(a.Vb(!0,b))}g.stroke=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.c&&(this.c=f,T(this,528,1));return this}return this.c};g.Db=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.qb&&(this.qb=f,T(this,16,1));return this}return this.qb};g.lc=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.Sb&&(this.Sb=f,T(this,16,1));return this}return this.Sb};function TE(a,b){var c=a.G(),d=c.get("stroke")||a.stroke(),c=b&Ha?a.Rk(c.get("selectStroke")||a.lc()||d,d):b&H?a.Rk(c.get("hoverStroke")||a.Db()||d,d):a.Rk(d);return Gn(c)}g.remove=function(){this.aa().A(null);this.labels().A(null);WE(this);this.J&&this.J.parent(null);QE.v.remove.call(this)};g.Tg=function(a){if(this.Tb){this.bb();var b=this.G();W(this,4)&&T(this,4112);this.rb().A()||this.rb().A(this.A());if(W(this,16)){this.J?this.J.clear():(this.J=new Qo(function(){return Yn()},function(a){a.clear()}),L(this,this.J),this.J.zIndex(30),this.J.parent(this.h));this.W?this.W.clear():(this.W=new Qo(function(){return Yn()},function(a){a.clear()}),L(this,this.W),this.W.parent(this.h),this.W.zIndex(31).fb(!0));this.b&&this.b instanceof gE&&this.b.count(b.Za());this.ae=Math.abs(xl(Q(this.Tc,a.height),2));this.eb=Math.abs(xl(Q(this.dd,a.width),2));this.Se=Math.abs(xl(Q(this.kd,a.width),2));this.od=Math.abs(xl(Q(this.Gc,a.height),2));this.pd=a.top+a.height-this.od;this.a=a.width/2;this.m=Q(this.Bb,(a.width-this.eb)/2);0>this.m&&(this.m=5);this.Ea=a;var c=0,d,e,f=b.Za()-I(this.L.count),h=xl(this.ae/a.height*100,2);for(b.reset();b.advance();){d=b.get("value");e=XE(d);d=XE(d)?0:I(d);var k=xl(d/I(this.L.sum)*100,2);e&&(k=h);e=xl(a.height/(100+f*h)*k,2);0==e&&(e=this.kc);b.l("value",d);b.l("height",e);b.l("startY",c);c+=e;YE(this)}for(b.reset();b.advance();)c=b.S(),b.get("selected")&&this.state.wd(Ha,c),ZE(this);if(this.da)for(var l in this.da)this.da.hasOwnProperty(l)&&this.da[l].stroke(this.w);T(this,4096);T(this,8192);U(this,16)}if(W(this,8192)){this.aa().A()||this.ga.A(this.h);this.aa().clear();for(b.reset();b.advance();)$E(this,this.state.a|cb(this.state,b.S()));this.aa().I();U(this,8192)}if(W(this,4096)){this.labels().A()||this.na.A(this.h);this.labels().clear();this.ea&&this.ea.clear();l=aF(this)?Wq().pie.insideLabels:Wq().pie.outsideLabels;this.labels().Fe(l.autoColor);this.labels().fb(l.disablePointerEvents);aF(this)||(this.m=Q(this.Bb,(a.width-this.eb)/2),0>this.m&&(this.m=5),this.ea?this.ea.clear():(this.ea=new Qo(function(){return Yn()},function(a){a.clear()}),L(this,this.ea),this.ea.parent(this.h),this.ea.zIndex(32)),this.ea.clip(a),this.da=[]);for(b.reset();b.advance();)aF(this)&&b.l("labelWidthForced",void 0),bF(this,this.state.a|cb(this.state,b.S()));cF(this);this.labels().I();this.labels().ld().clip(a);U(this,4096)}}};function dF(a,b){var c=a.eb,d=a.Ea.height,e=a.Se,f=a.od;return b>d-f||d==f?e:e+(d-f-b)/(d-f)*(c-e)}function XE(a){a=I(a);return 0>=a||!(isFinite(a)&&!isNaN(a))}
function eF(a){var b=a.G(),c=b.S(),d=a.Ea,e,f,h,k,l,n;e=b.l("height")/2;k=b.l("startY");l=b.l("height")+k;n=null;if(f=a.ae)0==c?(l-=f/2,l<k&&(l=a.kc)):c==b.Za()-1?(k+=f/2,k>l&&(k=l-a.kc)):(k+=f/2,l-=f/2,k>l&&(k=b.l("startY")+e,l=k+a.kc));h=dF(a,k);c=a.a-h/2;e=c+h;h=dF(a,l);f=a.a-h/2;h=f+h;k=k+d.top;l=l+d.top;c=d.left+c;e=d.left+e;0<a.od&&k<a.pd&&l>a.pd&&(n=l,l=a.pd,h=dF(a,l),f=a.a-h/2,h=f+h);f=d.left+f;h=d.left+h;a.j||(k=d.height-(k-d.top)+d.top,l=d.height-(l-d.top)+d.top,n=n?d.height-(n-d.top)+d.top:null,k=[l,l=k][0],c=[f,f=c][0],e=[h,h=e][0]);b.l("x1",c);b.l("x2",e);b.l("x3",f);b.l("x4",h);b.l("y1",k);b.l("y2",l);b.l("y3",n)}
function ZE(a){var b=a.G(),c=b.S(),d=Ro(a.J),e=Ro(a.W);b.l("point",d);b.l("hatchPoint",e);eF(a);var f=b.l("x1"),h=b.l("x2"),k=b.l("x3"),l=b.l("x4"),n=b.l("y1"),p=b.l("y2"),q=b.l("y3");d.moveTo(f,n).lineTo(h,n);q?d.lineTo(l,p).lineTo(l,q).lineTo(k,q).lineTo(k,p):d.lineTo(l,p).lineTo(k,p);d.close();b.l("point",d);d.tag={index:c,Y:a};b=cb(a.state,b.S());RE(a,b);e&&(e.Pb(d.o()),e.tag={index:c,Y:a},VE(a,b))}
g.ee=function(a){a={type:a.type,target:this,relatedTarget:yv(a.relatedTarget)||a.relatedTarget,domTarget:a.target,relatedDomTarget:a.relatedTarget,offsetX:a.offsetX,offsetY:a.offsetY,clientX:a.clientX,clientY:a.clientY,screenX:a.screenX,screenY:a.screenY,button:a.button,keyCode:a.keyCode,charCode:a.charCode,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,platformModifierKey:a.platformModifierKey,state:a.state};var b=tr(a.domTarget);a.pointIndex=I(b.index);return a};g.Me=function(a){(a=this.$d(a))&&this.dispatchEvent(a)};g.$d=function(a){var b;"pointIndex"in a?b=a.pointIndex:"labelIndex"in a?b=a.labelIndex:"markerIndex"in a&&(b=a.markerIndex);b=I(b);a.pointIndex=b;var c=a.type;switch(c){case"mouseout":c="pointmouseout";break;case"mouseover":c="pointmouseover";break;case"mousemove":c="pointmousemove";break;case"mousedown":c="pointmousedown";break;case"mouseup":c="pointmouseup";break;case"click":c="pointclick";break;case"dblclick":c="pointdblclick";break;default:return null}var d=this.data().G();d.select(b)||d.reset();return{type:c,actualTarget:a.target,iterator:d,sliceIndex:b,pointIndex:b,target:this,originalEvent:a,point:this.vd(b)}};g.vd=function(a){return new Da(this,a)};g.Vh=function(){"bySpot"!=this.Dc().yb()&&this.Dc().yb();return[]};g.Ne=function(a){m(a)?this.rf(a):this.enabled()&&(this.state.wd(H),cF(this,null));return this};g.gc=function(a){if((ab(this.state,H)||lb(this.state.Cc(),H))&&this.enabled()){var b;m(a)?b=a:b=this.state.a==Ua?NaN:void 0;this.state.g(H,b);a=this.G();for(a.reset();a.advance();)bF(this,cb(this.state,a.S()));cF(this);fF(this)}};g.rf=function(a,b){if(!this.enabled())return this;var c;if(r(a)){c=jb(this.state,H);for(var d=0;d<c.length;d++)Tf(a,c[d])||this.state.g(H,c[d]);hb(this.state,a);m(b)&&this.wr(b);for(c=this.Ya();c.advance();)bF(this,cb(this.state,c.S()));cF(this)}else if(y(a)&&(this.gc(),hb(this.state,a),m(b)&&this.wr(b),this.Ea)){for(c=this.Ya();c.advance();)bF(this,cb(this.state,c.S()));cF(this,oB(this.labels(),a))}this.G().select(a[0]||a);return this};g.select=function(a){if(!this.enabled())return this;m(a)?this.vf(a):this.enabled()&&(fF(this),this.state.wd(Ha),cF(this,null));return this};g.vf=function(a,b){if(!this.enabled())return this;var c=!(b&&b.shiftKey);r(a)?(b||this.hc(),this.state.wd(Ha,a,c?H:void 0)):y(a)&&this.state.wd(Ha,a,c?H:void 0);if(this.Ea){for(c=this.Ya();c.advance();)bF(this,cb(this.state,c.S()));var d;y(a)&&(d=oB(this.labels(),a));cF(this,d)}this.G().select(a[0]||a);return this};g.hc=function(a){if(this.enabled()){var b;m(a)?b=a:b=this.state.a==Ua?NaN:void 0;this.state.g(Ha,b);a=this.G();for(a.reset();a.advance();)bF(this,cb(this.state,a.S()));cF(this)}};g.Qd=function(a){RE(this,a);VE(this,a);$E(this,a)};g.Kf=ba;g.Bd=function(a){bF(this,a);RE(this,a);VE(this,a);$E(this,a)};g.vs=function(a){return m(a)?(this.dd!=a&&(this.dd=a,T(this,16,1)),this):this.dd};g.hz=function(a){return m(a)?(this.Gc!=a&&(this.Gc=a,T(this,16,1)),this):this.Gc};g.iz=function(a){return m(a)?(this.kd!=a&&(this.kd=a,T(this,16,1)),this):this.kd};g.Vt=function(a){return m(a)?(this.Tc!=a&&(this.Tc=a,T(this,16,1)),this):this.Tc};g.du=function(a){return m(a)?(this.j!=a&&(this.j=a,T(this,16,1)),this):this.j};g.labels=function(a){this.na||(this.na=new Tt,R(this.na,this.FJ,this),this.na.La(this),L(this,this.na),T(this,4096,1));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.kb=function(a){this.Sc||(this.Sc=new Tt,L(this,this.Sc));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Sc.C(a),this):this.Sc};g.Ib=function(a){this.Id||(this.Id=new Tt,L(this,this.Id));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Id.C(a),this):this.Id};g.FJ=function(a){var b=0,c=0;Y(a,1)&&(b|=4096,c|=1);Y(a,8)&&(b|=4100,c|=9);T(this,b,c)};g.qm=function(a){return m(a)?(a=lc(a),this.Hd!=a&&(this.Hd=a,T(this,4096,1)),this):this.Hd};g.vr=function(a){return m(a)?(this.Bb!=a&&(this.Bb=a,T(this,4100,9)),this):this.Bb};g.Xd=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.w&&(this.w=f,T(this,16,1));return this}return this.w};function bF(a,b){var c=a.G(),d=!!(b&Ha),e=!d&&!!(b&H),f=c.get("label"),h=e?c.get("hoverLabel"):null,k=d?c.get("selectLabel"):null,l=c.S(),n;n=d?a.Ib():e?a.kb():a.labels();var p=oB(a.labels(),l),q=f&&m(f.enabled)?f.enabled:null,t=h&&m(h.enabled)?h.enabled:null,v=k&&m(k.enabled)?k.enabled:null,q=e||d?e?null===t?fa(a.kb().enabled())?null===q?a.labels().enabled():q:a.kb().enabled():t:null===v?fa(a.Ib().enabled())?null===q?a.labels().enabled():q:a.Ib().enabled():v:null===q?a.labels().enabled():q,v=gF(a,null,b),w=a.Kb(),t=aF(a),x=!0;if(!e&&!d&&t&&"noOverlap"==a.qm()){var x=n.Li(w,v,f,l),z=a.G(),C=[z.l("x1"),z.l("y1"),z.l("x2"),z.l("y1"),z.l("x4"),z.l("y2"),z.l("x3"),z.l("y2")],F=!0,J,O,S,da,V,Ka,bb,Fa,Bb,yc;J=0;for(O=C.length;J<O-1;J+=2)S=J==O-2?0:J+2,da=J==O-2?1:J+3,V=C[J],Ka=C[J+1],bb=C[S],Fa=C[da],Bb=x[J],yc=x[J+1],S=x[S],da=x[da],z.l("y3")&&4==J&&(Ka=I(z.l("y3")),Fa=I(z.l("y3"))),V==bb&&(bb+=.01),F=(F=F&&1==Fl(V,Ka,bb,Fa,Bb,yc))&&1==Fl(V,Ka,bb,Fa,S,da);x=F}q&&x?(p?(p.fd(),p.Ed(w),p.Eb(v)):p=a.labels().add(w,v,l),tB(p,n),p.xd(f,e?h:k),c.l("labelWidthForced")&&(p.width(I(c.l("labelWidthForced"))),c=h&&h.anchor?h.anchor:null,k=k&&k.anchor?k.anchor:null,f&&f.anchor&&f.anchor||c||k||(v=gF(a,p,b),p.Eb(v))),p.I(),(e||d)&&!p.A()&&a.labels().ld()&&(p.A(a.labels().ld()),p.A().parent()||p.A().parent(a.labels().A()),p.I())):p&&p.clear();q&&!t&&hF(a,p,b)}
function gF(a,b,c){var d=iF(a),e=a.G(),f=a.Ea,h=m(c)?!!(c&Ha):null,k=m(c)?!h&&!!(c&H):null,l=e.get("label"),k=k?e.get("hoverLabel"):null,h=(h?e.get("hoverLabel"):null)||k||l||{},k=I(e.l("x1")),n=I(e.l("x2")),p=I(e.l("y1")),l=I(e.l("y2")),q=I(e.l("y3")),e=n-k,l=q?q-p:l-p,p=p+l/2,n=I(h.offsetY)||0;b?c=jF(a,b,c):(c=a.na.Li(a.Kb(),null,h),c=M.a(c));h=b&&b.anchor()||a.labels().anchor();b&&(p=b.Eb().value.y);b=p+n;c.height>l&&("leftCenter"==h||"center"==h||"rightCenter"==h)&&(p+c.height/2>f.top+f.height&&(p=f.top+f.height-c.height/2),p-c.height/2<f.top&&(p=f.top+c.height/2));b=kF(a,b);switch(d){case"inside":k+=e/2;break;case"outsideLeft":k=a.a-b/2;k=f.left+k-a.m-c.width/2;break;case"outsideLeftInColumn":k=f.left+c.width/2;break;case"outsideRight":k=a.a+b/2;k=f.left+k+a.m+c.width/2;break;case"outsideRightInColumn":k=f.left+f.width-c.width/2}if("leftTop"==h||"centerTop"==h||"rightTop"==h)p=p-.5;else if("leftBottom"==h||"centerBottom"==h||"rightBottom"==h)p+=.5;return{value:{x:k,y:p}}}
function jF(a,b,c){var d=!!(c&Ha),e=!d&&!!(c&H);c=a.data().get(b.S(),"label");e=e?a.data().get(b.S(),"hoverLabel"):null;d=(d?a.data().get(b.S(),"selectLabel"):null)||e||c||{};a.data().l(b.S(),"labelWidthForced")&&(d=kf(d),d.width=b.width());a.G().select(b.S());b.Ed(a.Kb());a=a.na.Li(b.Ed(),b.Eb(),d);return M.a(a)}
function cF(a,b){if("noOverlap"==a.qm()&&!aF(a)&&a.labels().enabled()){var c=a.state.Cc()|(b?cb(a.state,b.S()):0);WE(a);var d=a.G().Za(),e=a.Ea,f,h,k,l,n=0;for(f=0;f<d;f++)(h=oB(a.labels(),f))&&0!=h.enabled()&&(k=jF(a,h,c),n+=k.height);if(n>=e.height){c=new lF(a);for(f=0;f<d;f++)(h=oB(a.labels(),f))&&0!=h.enabled()&&mF(c,h);a.X.push(c)}else for(f=0;f<d-1;f++)if(h=a.j?f:d-1-f,(h=oB(a.labels(),h))&&0!=h.enabled()&&(k=jF(a,h,c),n+=k.height,e=a.j?nF(a,h):oF(a,h)))l=jF(a,e,c),l.top<=k.top+k.height&&pF(a,h,e);a.X.length&&Mf(a.X,function(a){qF(a,b)})}}function nF(a,b){if(!b)return null;var c=a.G().Za();if(b.S()==c-1)return null;for(var d,e=b.S()+1;e<=c-1;e++)if((d=oB(a.labels(),e))&&!1!==d.enabled())return d;return null}function oF(a,b){if(!b||0==b.S())return null;for(var c,d=b.S()-1;0<=d;d--)if((c=oB(a.labels(),d))&&!1!==c.enabled())return c;return null}function pF(a,b,c){var d=rF(a,b);null===d?(d=new lF(a),mF(d,b),mF(d,c),a.X.push(d)):mF(d,c)}
function rF(a,b){return a.X.length?Sf(a.X,function(a){return-1!==Lf(a.labels,b)}):null}function sF(a,b,c){var d=b.labels[0].S(),e=c.labels[0].S();b.labels=a.j==d<e?Xf(b.labels,c.labels):Xf(c.labels,b.labels);Vf(a.X,c);return b}function WE(a){a.X.length&&(Mf(a.X,function(a){a.clear()}),a.X.length=0)}function tF(a,b){a.X.length&&(b.clear(),Vf(a.X,b))}function aF(a){return"inside"==iF(a)}function uF(a){a=iF(a);return"outsideRightInColumn"==a||"outsideLeftInColumn"==a}
function vF(a){a=iF(a);return"outsideLeft"==a||"outsideLeftInColumn"==a}function wF(a){a=iF(a);return"outsideRight"==a||"outsideRightInColumn"==a}
function YE(a){if(a.labels().enabled()&&!aF(a)){eF(a);var b=a.G();b.l("labelWidthForced",void 0);var c=a.Ea,d,e=b.get("label"),f=gF(a),h=a.Kb(),h=a.labels().Li(h,f,e),h=M.a(h),e=h.left,f=h.left+h.width,k,h=a.j?dF(a,h.top-c.top):dF(a,c.height-(h.top+h.height)+c.top);if(vF(a))d=a.a-h/2,d=c.left+d,k=a.eb/2,k=c.width-a.a-k,uF(a)?f+5>d&&(d=f+5-d,d>k?(a.a+=k,d=a.a-h/2,d=c.left+d,b.l("labelWidthForced",d-5-e)):a.a+=d):e<c.left&&(d=Math.abs(c.left-e),d>k?(a.a+=k,d=a.a-h/2,a=d-a.m,10>a&&(a=10),b.l("labelWidthForced",a)):a.a+=d);else if(wF(a))if(d=a.a+h/2,d+=c.left,k=a.eb/2,k=c.width-(c.width-a.a)-k,uF(a)){if(0>e||e-5<d)d=Math.abs(d-e+5),0>e||d>k?(a.a=a.a-k,d=a.a+h/2,d=d+c.left,b.l("labelWidthForced",f-5-d)):a.a=a.a-d}else f>c.left+c.width&&(d=f-(c.left+c.width),d>k?(a.a=a.a-k,a=c.left+c.width-e+k,10>a&&(a=10),b.l("labelWidthForced",a)):a.a=a.a-d)}}function iF(a){return rc(a.labels().position())}
function xF(a,b,c,d){var e=a.Ea,f=b.S(),f=a.data().l(f,"point").Fa();b=jF(a,b,d);d=b.left;var h=b.top+b.height/2,k,f=f.top+f.height/2,l=kF(a,f);vF(a)?(d+=b.width,k=a.a-l/2,k=k+e.left,d>k&&5>Math.abs(f-h)&&(d=k-5)):wF(a)&&(k=a.a+l/2,k+=e.left,d<k&&5>Math.abs(f-h)&&(d=k+5));c.clear().moveTo(d,h).lineTo(k,f+.001)}function hF(a,b,c){var d=b.S();if(a.da[d])xF(a,b,a.da[d],c);else{var e=Ro(a.ea);a.da[d]=e;e.stroke(a.w);xF(a,b,e,c)}}
g.aa=function(a){this.ga||(this.ga=new tx,R(this.ga,this.HJ,this),this.ga.La(this),L(this,this.ga));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ga.C(a),this):this.ga};g.Xa=function(a){this.ub||(this.ub=new tx,L(this,this.ub));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ub.C(a),this):this.ub};g.ob=function(a){this.vb||(this.vb=new tx,L(this,this.vb));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.vb.C(a),this):this.vb};g.HJ=function(a){Y(a,1)&&T(this,8192,1)};g.md=function(){return SE(this,!1,Ua)};g.Ud=function(){return Cq(this.md())};function yF(a,b){b=Yb(b);var c=a.Ea,d=a.G(),e=d.l("point").Fa(),f=d.l("x1"),h=d.l("y1");switch(b){case"leftTop":h=d.l("y1");f=d.l("x1");break;case"leftCenter":h+=e.height/2;d=kF(a,h);f=a.a-d/2;f=f+c.left;break;case"leftBottom":h+=e.height;f=d.l("x3");break;case"centerTop":f=a.a;f+=c.left;break;case"center":h+=e.height/2;f=a.a;f+=c.left;break;case"centerBottom":h+=e.height;f=a.a;f+=c.left;break;case"rightTop":d=kF(a,h);f+=d;break;case"rightCenter":h+=e.height/2;d=kF(a,h);f=a.a+d/2;f+=c.left;break;case"rightBottom":f=d.l("x4"),h+=e.height}return{value:{x:f,y:h}}}function kF(a,b){var c=a.Ea;return a.j?dF(a,b-c.top):dF(a,c.height-b+c.top)}
function $E(a,b){var c=a.G(),d=!!(b&Ha),e=!d&&!!(b&H),f=c.get("marker"),h=c.get("hoverMarker"),c=c.get("selectMarker"),k=a.G().S(),l;l=d?a.ob():e?a.Xa():a.aa();var n=wx(a.aa(),k),p=f&&m(f.enabled)?f.enabled:null,q=h&&m(h.enabled)?h.enabled:null,t=c&&m(c.enabled)?c.enabled:null;if(e||d?e?null===q?fa(a.Xa().enabled())?null===p?a.aa().enabled():p:a.Xa().enabled():q:null===t?fa(a.ob().enabled())?null===p?a.aa().enabled():p:a.ob().enabled():t:null===p?a.aa().enabled():p){p=f&&f.position?f.position:null;q=h&&h.position?h.position:null;t=c&&c.position?c.position:null;p=e&&(q||a.Xa().position())||d&&(t||a.ob().position())||p||a.aa().position();p=yF(a,p);n?n.Eb(p):n=a.aa().add(p,k);var v={},p="position anchor offsetX offsetY type size fill stroke enabled".split(" ");f&&Mf(p,function(a){a in f&&(v[a]=f[a])});p=f&&f.type;k=m(p)?p:a.aa().qa()||a.To().lg(k);p=h&&h.type;p=m(p)?p:a.Xa().qa();q=c&&c.type;q=m(q)?q:a.ob().qa();v.type=d&&m(q)?q:e&&m(p)?p:k;k=f&&f.fill;k=m(k)?k:ux(a.aa())||a.md();p=h&&h.fill;p=m(p)?p:ux(a.Xa());q=c&&c.fill;q=m(q)?q:ux(a.ob());v.fill=d&&m(q)?q:e&&m(p)?p:k;k=f&&f.stroke;k=m(k)?k:vx(a.aa())||a.Ud();p=h&&h.stroke;p=m(p)?p:vx(a.Xa())||a.Ud();q=c&&c.stroke;q=m(q)?q:vx(a.ob())||a.Ud();v.stroke=d&&m(q)?q:e&&m(p)?p:k;n.fd();zx(n,l);n.xd(v,e?h:c);n.I()}else n&&n.clear()}g.rb=function(a){this.Mb||(this.Mb=new GA,L(this,this.Mb),R(this.Mb,this.IJ,this));return m(a)?(this.Mb.C(a),this):this.Mb};g.IJ=function(){JA(this.rb())};g.wr=function(a){if(!a||a.target!=this.sf()){var b=this.rb(),c=this.Kb();b.al()&&a?(b.show(c,new $h(a.clientX,a.clientY)),this.pa("mousemove",this.wr)):b.show(c,new $h(0,0))}};function fF(a){var b=a.rb();b.al()&&a.Ec("mousemove",a.wr);b.Vd()}
g.bb=function(){if(W(this,16384)){this.L={};for(var a=this.data().G(),b,c=0,d=Number.MAX_VALUE,e=-Number.MAX_VALUE,f=0;a.advance();)b=a.get("value"),XE(b)?c++:(b=XE(b)?0:I(b),d=Math.min(b,d),e=Math.max(b,e),f+=b);var a=a.Za()-c,h;0==a?d=e=f=h=void 0:h=f/a;this.L.count=a;this.L.min=d;this.L.max=e;this.L.sum=f;this.L.average=h;U(this,16384)}};g.Kb=function(a){if(!this.F||a)this.F=new cd(this,["x","value","name"]);this.F.Bf();return this.F};g.Jf=function(){return this.Kb()};g.Bi=function(a,b){for(var c=[],d=this.G().reset(),e;d.advance();){d.get("x");e=d.S();var f=d.get("legendItem")||{},h=null;A(b)&&(h=this.Kb(),h.Kl=this.vd(e),h=b.call(h,h));u(h)||(h=String(m(d.get("name"))?d.get("name"):d.get("x")));h={enabled:!0,meta:{pointIndex:e,pointValue:d.get("value"),Y:this},iconType:"square",text:h,iconStroke:TE(this,Ua),iconFill:SE(this,!0,Ua),iconHatchFill:this.Vb(!0,Ua)};mf(h,f);h.sourceUid=D(this);h.sourceKey=e;c.push(h)}return c};g.jk=function(){return!0};g.wn=function(a,b){var c=a.qg();if(!a||null!=c||isNaN(c))if(c=tr(b.domTarget))c.Y=this};g.Al=function(a,b){var c=a.qg();if(!a||null!=c||isNaN(c))if(c=tr(b.domTarget))c.Y=this};g.zl=function(a,b){var c=a.qg();if(!a||null!=c||isNaN(c))if(c=tr(b.domTarget))c.Y=this};g.dc=function(){return null};g.yb=function(a){return m(a)?(a=Ub(a),a!=this.T&&(this.T=a),this):this.T};g.o=function(){var a=QE.v.o.call(this);a.type="pyramid";a.data=this.data().o();a.labels=this.labels().o();a.hoverLabels=this.kb().o();a.selectLabels=this.Ib().o();a.palette=this.Uo().o();a.hatchFillPalette=this.pm().o();a.markerPalette=this.To().o();a.tooltip=this.rb().o();a.markers=this.aa().o();a.hoverMarkers=this.Xa().o();a.selectMarkers=this.ob().o();a.baseWidth=this.vs();a.overlapMode=this.qm();a.pointsPadding=this.Vt();a.connectorLength=this.vr();A(this.connectorStroke)&&(A(this.Xd())?K(8,null,[this.qa()+" connectorStroke"]):a.connectorStroke=P(this.Xd()));A(this.fill)&&(A(this.fill())?K(8,null,[this.qa()+" fill"]):a.fill=P(this.fill()));A(this.hoverFill)&&(A(this.Lb())?K(8,null,[this.qa()+" hoverFill"]):a.hoverFill=P(this.Lb()));A(this.selectFill)&&(A(this.Ac())?K(8,null,[this.qa()+" selectFill"]):a.selectFill=P(this.Ac()));A(this.stroke)&&(A(this.stroke())?K(8,null,[this.qa()+" stroke"]):a.stroke=P(this.stroke()));A(this.hoverStroke)&&(A(this.Db())?K(8,null,[this.qa()+" hoverStroke"]):a.hoverStroke=P(this.Db()));A(this.selectStroke)&&(A(this.lc())?K(8,null,[this.qa()+" selectStroke"]):a.selectStroke=P(this.lc()));A(this.hatchFill)&&(A(this.Ua())?K(8,null,[this.qa()+" hatchFill"]):a.hatchFill=P(this.Ua()));A(this.hoverHatchFill)&&(A(this.Hb())?K(8,null,[this.qa()+" hoverHatchFill"]):a.hoverHatchFill=P(this.Hb()));A(this.selectHatchFill)&&(A(this.cc())?K(8,null,[this.qa()+" selectHatchFill"]):a.selectHatchFill=P(this.cc()));return a};g.K=function(a){QE.v.K.call(this,a);this.vs(a.baseWidth);this.vr(a.connectorLength);this.Xd(a.connectorStroke);this.data(a.data);this.pm(a.hatchFillPalette);this.To(a.markerPalette);this.fill(a.fill);this.Lb(a.hoverFill);this.Ac(a.selectFill);this.Ua(a.hatchFill);this.Hb(a.hoverHatchFill);this.cc(a.selectHatchFill);this.labels().C(a.labels);this.kb().C(a.hoverLabels);this.Ib().C(a.selectLabels);this.stroke(a.stroke);this.Db(a.hoverStroke);this.lc(a.selectStroke);this.aa().C(a.markers);this.Xa().C(a.hoverMarkers);this.ob().C(a.selectMarkers);this.qm(a.overlapMode);this.Uo(a.palette);this.Vt(a.pointsPadding);this.rb(a.tooltip)};function lF(a){this.a=a;this.labels=[]}function mF(a,b){a.labels.push(b);a.a.j?db(a.labels,function(a,b){return a.S()-b.S()}):db(a.labels,function(a,b){return b.S()-a.S()})}lF.prototype.clear=function(){this.labels.length=0};function qF(a,b){if(2>a.labels.length)tF(a.a,a);else{var c,d=a.a.Ea,e=a.labels[0],f=a.labels[a.labels.length-1];c=a.a.state.Cc()|cb(a.a.state,e.S());for(var h,k,l,n,p,q=zF(a,e,c),t=a.a.data().l(e.S(),"point").Fa(),v=1,w=a.labels.length;v<w;v++)n=a.labels[v],c=a.a.state.Cc()|cb(a.a.state,n.S()),l=zF(a,n,c),p=a.a.data().l(n.S(),"point"),p=p.Fa(),h||k||(h=q.height,k=t.top+t.height/2+(e.offsetY()||0)),l=l.height,n=p.top+p.height/2+(n.offsetY()||0),p=.25*(-3*h-l+2*k+2*n),k=.25*(2*k+2*n-h+l),h=h+l;a.height=Pf(a.labels,function(b,d){c=a.a.state.Cc()|cb(a.a.state,d.S());var e=zF(a,d,c);return b+e.height},0);p+a.height>d.top+d.height&&(p=d.top+d.height-a.height);p<d.top&&(p=d.top);a.y=p;AF(a,b);n=a.a.j?f:e;0<n.S()&&(d=nF(a.a,n))&&(c=a.a.state.Cc()|cb(a.a.state,d.S()),e=zF(a,d,c),c=a.a.state.Cc()|cb(a.a.state,n.S()),l=zF(a,n,c),a.a.j?e.top<l.top+l.height:l.top<e.top+e.height)&&((e=rF(a.a,d))?(d=sF(a.a,e,a),qF(d,b)):(a.a.j?a.labels.push(d):a.labels.unshift(d),qF(a,b)))}}
function AF(a,b){var c=0,d=0,e=null,f=null,h=null,k=a.a.state.Cc()|(b?cb(a.a.state,b.S()):0);Mf(a.labels,function(b){var n=b.Eb().value,p=zF(a,b,k),q=a.y+c+d+p.height/2;if(e&&f&&h){var t=h.y+f.height/2+(e.offsetY()||0),v=q-p.height/2+(b.offsetY()||0);v<t&&(q+=t-v)}b.Eb({value:{x:n.x,y:q}});b.I();hF(a.a,b,k);c+=p.height;d+=b.offsetY()||0;e=b;f=p;h={x:n.x,y:q}})}
function zF(a,b,c){var d=!!(c&Ha),e=!d&&!!(c&H);c=a.a.data().get(b.S(),"label");e=e?a.a.data().get(b.S(),"hoverLabel"):null;d=(d?a.a.data().get(b.S(),"selectLabel"):null)||e||c||{};a.a.data().l(b.S(),"labelWidthForced")&&(d=kf(d),d.width=b.width());a.a.G().select(b.S());b.Ed(a.a.Kb());a=a.a.na.Li(b.Ed(),b.Eb(),d);return M.a(a)};function BF(a,b){QE.call(this,a,b);this.du(!0)}G(BF,QE);BF.prototype.qa=function(){return"funnel"};BF.prototype.o=function(){var a=BF.v.o.call(this);a.type="funnel";a.neckHeight=this.hz();a.neckWidth=this.iz();return{chart:a}};BF.prototype.K=function(a){this.hz(a.neckHeight);this.iz(a.neckWidth);BF.v.K.call(this,a)};BF.prototype.neckHeight=BF.prototype.hz;BF.prototype.neckWidth=BF.prototype.iz;BF.prototype.baseWidth=BF.prototype.vs;BF.prototype.connectorLength=BF.prototype.vr;BF.prototype.connectorStroke=BF.prototype.Xd;BF.prototype.data=BF.prototype.data;BF.prototype.getType=BF.prototype.qa;BF.prototype.overlapMode=BF.prototype.qm;BF.prototype.palette=BF.prototype.Uo;BF.prototype.pointsPadding=BF.prototype.Vt;BF.prototype.tooltip=BF.prototype.rb;BF.prototype.hatchFillPalette=BF.prototype.pm;BF.prototype.markerPalette=BF.prototype.To;BF.prototype.fill=BF.prototype.fill;BF.prototype.hoverFill=BF.prototype.Lb;BF.prototype.selectFill=BF.prototype.Ac;BF.prototype.hatchFill=BF.prototype.Ua;BF.prototype.hoverHatchFill=BF.prototype.Hb;BF.prototype.selectHatchFill=BF.prototype.cc;BF.prototype.labels=BF.prototype.labels;BF.prototype.hoverLabels=BF.prototype.kb;BF.prototype.selectLabels=BF.prototype.Ib;BF.prototype.markers=BF.prototype.aa;BF.prototype.hoverMarkers=BF.prototype.Xa;BF.prototype.selectMarkers=BF.prototype.ob;BF.prototype.stroke=BF.prototype.stroke;BF.prototype.hoverStroke=BF.prototype.Db;BF.prototype.selectStroke=BF.prototype.lc;BF.prototype.unhover=BF.prototype.gc;BF.prototype.hover=BF.prototype.Ne;BF.prototype.unselect=BF.prototype.hc;BF.prototype.select=BF.prototype.select;BF.prototype.getPoint=BF.prototype.vd;function CF(a,b){QE.call(this,a,b)}G(CF,QE);CF.prototype.qa=function(){return"pyramid"};CF.prototype.o=function(){var a=CF.v.o.call(this);a.type="pyramid";a.reversed=this.du();return{chart:a}};CF.prototype.K=function(a){this.du(a.reversed);CF.v.K.call(this,a)};CF.prototype.reversed=CF.prototype.du;CF.prototype.baseWidth=CF.prototype.vs;CF.prototype.connectorLength=CF.prototype.vr;CF.prototype.connectorStroke=CF.prototype.Xd;CF.prototype.data=CF.prototype.data;CF.prototype.getType=CF.prototype.qa;CF.prototype.overlapMode=CF.prototype.qm;CF.prototype.palette=CF.prototype.Uo;CF.prototype.pointsPadding=CF.prototype.Vt;CF.prototype.tooltip=CF.prototype.rb;CF.prototype.hatchFillPalette=CF.prototype.pm;CF.prototype.markerPalette=CF.prototype.To;CF.prototype.fill=CF.prototype.fill;CF.prototype.hoverFill=CF.prototype.Lb;CF.prototype.selectFill=CF.prototype.Ac;CF.prototype.hatchFill=CF.prototype.Ua;CF.prototype.hoverHatchFill=CF.prototype.Hb;CF.prototype.selectHatchFill=CF.prototype.cc;CF.prototype.labels=CF.prototype.labels;CF.prototype.hoverLabels=CF.prototype.kb;CF.prototype.selectLabels=CF.prototype.Ib;CF.prototype.stroke=CF.prototype.stroke;CF.prototype.hoverStroke=CF.prototype.Db;CF.prototype.selectStroke=CF.prototype.lc;CF.prototype.markers=CF.prototype.aa;CF.prototype.hoverMarkers=CF.prototype.Xa;CF.prototype.selectMarkers=CF.prototype.ob;CF.prototype.hover=CF.prototype.Ne;CF.prototype.unhover=CF.prototype.gc;CF.prototype.select=CF.prototype.select;CF.prototype.unselect=CF.prototype.hc;CF.prototype.getPoint=CF.prototype.vd;function vb(){Oj.call(this);this.T=0;this.D=!1;this.Ia=1;this.ea=0;this.Gb=vb.prototype.zD}G(vb,dt);g=vb.prototype;g.ia=6;function HC(a,b,c,d){return a.transform(b,d)}g.wx=function(a){return a};function DF(a,b,c){if(a.Ia!=b||a.ea!=c)a.Ia=b,a.ea=c,a.ca(2)}function EF(a,b){var c=(b-a.ea)*a.Ia;return a.D?1-c:c}function tb(a,b){a.D&&(b=1-b);return b/a.Ia+a.ea}g.Oc=function(a){return zr(a)};g.bc=function(a){return m(a)?(a=!!a,this.D!=a&&(this.D=a,this.ca(2)),this):this.D};g.wf=function(){this.T||this.bi();this.T++;return this};g.pf=function(a){this.T=Math.max(this.T-1,0);return 0==this.T?this.Cs(!!a):!0};g.Rp=function(){return!1};g.Ey=function(){return 0};g.SG=NaN;g.TG=NaN;g.Kq=0;g.Jq=0;g.Iq=!1;g.su="none";g.Ax=!1;g.ue=function(a){if(m(a)){a=sc(a);var b;this.Ax&&"percent"==a?(a="percent",b=this.WM):this.Ax&&"value"==a?(a="value",b=this.AD):(a="none",b=this.zD);this.su!=a&&(this.su=a,this.Gb=b,this.ca(6));return this}return this.su};g.zD=function(a){return a};g.AD=function(a){a=I(a);var b=!isNaN(a);b&&(a=0<=a?this.Kq+=a:this.Jq+=a);this.Iq=!b;return a};g.WM=function(a){a=I(a);return this.AD(ub(100*a/(0>a?-this.TG:this.SG),-100,100))};g.o=function(){var a=vb.v.o.call(this);a.type=this.qa();a.inverted=this.bc();return a};g.K=function(a){vb.v.K.call(this,a);this.bc(a.inverted)};function Pw(a,b){a=(a+"").toLowerCase();switch(a){case"log":case"logarithmic":return FF();case"lin":case"linear":return GF();case"date":case"datetime":case"dt":return HF();case"ordinal":case"ord":case"discrete":return IF();case"color":case"ordinalcolor":case"discretecolor":return JF();case"linearcolor":return KF();default:return null===b?null:b?IF():GF()}}vb.prototype.inverted=vb.prototype.bc;vb.prototype.startAutoCalc=vb.prototype.wf;vb.prototype.finishAutoCalc=vb.prototype.pf;function LF(){Z.call(this);this.h=[];this.j=[];this.F=[];this.H=[]}G(LF,Z);LF.prototype.ia=Z.prototype.ia|2;LF.prototype.$=Z.prototype.$|912;var Ex=2,Dx=3;g=LF.prototype;g.Af=null;g.na=null;g.Uk=null;g.Wi=null;g.Vi=null;g.scale=function(a){if(m(a))return u(a)&&(a=MF(a)),this.ha!=a&&(this.ha&&et(this.ha,this.Zv,this),this.ha=a,R(this.ha,this.Zv,this),T(this,388,3)),this;this.ha||(this.ha=GF(),R(this.ha,this.Zv,this));return this.ha};function MF(a){a:{a=String(a).toLowerCase();switch(a){case"log":case"logarithmic":a="log";break a}a="linear"}switch(a){case"log":return FF()}return GF()}g.Zv=function(a){Y(a,2)&&T(this,388,3)};g.Na=function(a){this.Uk||(this.Uk=new QD,this.Uk.La(this),R(this.Uk,this.fC,this),L(this,this.Uk));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Uk.C(a),this):this.Uk};g.labels=function(a){this.na||(this.na=new QD,this.na.La(this),R(this.na,this.fC,this),L(this,this.na));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.fC=function(){NF(this);T(this,384,1)};g.Sk=function(a){return m(a)?(this.Ci!=a&&(this.Ci=a,T(this,388,9)),this):this.Ci};g.Tk=function(a){return m(a)?(this.Di!=a&&(this.Di=a,T(this,388,9)),this):this.Di};g.Ga=function(a){this.Vi||(this.Vi=new Bx,this.Vi.La(this),this.Vi.b=this,R(this.Vi,this.gC,this),L(this,this.Vi));return m(a)?(this.Vi.C(a),this):this.Vi};g.ja=function(a){this.Wi||(this.Wi=new Bx,this.Wi.La(this),this.Wi.b=this,R(this.Wi,this.gC,this),L(this,this.Wi));return m(a)?(this.Wi.C(a),this):this.Wi};g.gC=function(a){var b=0;Y(a,8)&&(b=384,NF(this));Y(a,1)&&(b|=256);T(this,b,1)};g.Wa=function(a){return m(a)?(a=null===a?a:Ah(I(a)||0),this.ab!=a&&(this.ab=a,T(this,388,9)),this):this.ab};g.sc=function(a){return m(a)?(a=null===a?a:ub(I(a)||0,-360,360),this.m!=a&&(this.m=a,T(this,388,9)),this):this.m};g.Yb=function(a){return m(a)?(a=null===a?a:xr(a),this.xa!=a&&(this.xa=a,T(this,388,9)),this):this.xa};g.Xo=function(a){return m(a)?(a=xr(a),this.c!=a&&(this.c=a,T(this,388,9)),this):this.c};g.width=function(a){return m(a)?(a=null===a?a:xr(a),this.sa!=a&&(this.sa=a,T(this,388,1)),this):this.sa};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,1));return this}return this.g};g.Yv=function(a){return m(a)?(a=lc(a,this.a),this.a!=a&&(this.a=a,T(this,388,1)),this):this.a};g.ud=function(){return this.B};g.bf=function(){return null!=this.ab?this.ab+kw:this.b.bf()};function NF(a){a.h.length=0;a.j.length=0;a.F.length=0;a.H.length=0;a.w=null}
function OF(a,b,c){var d=b?a.ja():a.Ga();b=b?a.labels():a.Na();b=pc(b.position());var e=a.B;"outside"==b?(e+=a.Wd/2+c,d.enabled()&&("outside"==d.position()?e+=d.D:"center"==d.position()&&(e+=d.D>a.Wd?(d.D-a.Wd)/2:0))):"inside"==b&&(e-=a.Wd/2+c,d.enabled()&&("inside"==d.position()?e-=d.D:"center"==d.position()&&(e-=d.D>a.Wd?(d.D-a.Wd)/2:0)));return e}
function PF(a,b,c){var d=c?a.F:a.H;if(m(d[b]))return d[b];var e=c?a.labels():a.Na(),f=oB(e,b),h=a.ha;c=(c?h.ja():h.Ga()).get()[b];a=new Wc(a,b,c);c={value:{angle:0,radius:0}};d[b]=f?e.measure(f):e.measure(a,c);return d[b]}
function QF(a,b,c){var d=c?a.h:a.j;if(m(d[b]))return d[b];var e=PF(a,b,c),f=c?a.labels():a.Na(),h=a.ha,k=(c?h.ja():h.Ga()).get()[b],l=h.transform(k),k=(h=oB(f,b))&&m(h.If())?h.If():f.If(),n=h&&m(h.offsetX())?h.offsetX():f.offsetX(),p=h&&m(h.offsetY())?h.offsetY():f.offsetY();c=OF(a,c,k?e.height:0);c+=Q(p,a.b.ud());var q=a.bf(),p=m(a.m)?a.m:a.b.sc(),l=Ah(q+l*p),l=l+Q(n,p),p=Bh(l),n=a.b.Ma+c*Math.cos(p),p=a.b.Ja+c*Math.sin(p);c=h&&m(h.rotation())?h.rotation():f.rotation();k&&(c+=0<l&&180>l?l+270:l+
90);a=h&&m(h.anchor())?h.anchor():k?f.anchor():RF(a,l);e.left=n;e.top=p;f=Ar(new M(0,0,e.width,e.height),a);e.left-=f.x;e.top-=f.y;a=Ar(e,a);a=Zh(Bh(c),a.x,a.y);e=Ml(e);a.transform(e,0,e,0,4);return d[b]=e}
function RF(a,b){b=Ah(b);var c="center",d=pc(a.labels().position());"inside"==d?0==b?c="rightCenter":0<b&&90>b?c="rightBottom":90==b?c="centerBottom":90<b&&180>b?c="leftBottom":180==b?c="leftCenter":180<b&&270>b?c="leftTop":270==b?c="centerTop":270<b&&(c="rightTop"):"outside"==d&&(0==b?c="leftCenter":0<b&&90>b?c="leftTop":90==b?c="centerTop":90<b&&180>b?c="rightTop":180==b?c="rightCenter":180<b&&270>b?c="rightBottom":270==b?c="centerBottom":270<b&&(c="leftBottom"));return c}
g.eC=function(a,b,c){var d=this.ha,e=c?d.ja().get():d.Ga().get(),d=c?this.labels():this.Na(),f=oB(d,a),h=f&&m(f.If())?f.If():d.If(),f=PF(this,a,c);c=OF(this,c,h?f.height:0);e=new Wc(this,a,e[a]);f=d.add(e,{value:{angle:b,radius:c}},a);h||(a=m(this.m)?this.m:this.b.sc(),d=f&&m(f.offsetX())?f.offsetX():d.offsetX(),b+=Q(d,a),f.anchor(RF(this,b)))};g.Hc=function(a){return m(a)?(this.b!=a&&(this.b=a),this):this.b};g.remove=function(){this.Af&&this.Af.parent(null);this.ja().remove();this.labels().remove();this.Ga().remove();this.Na().remove()};g.I=function(){if(!this.tb())return this;var a=this.scale(),b,c,d,e,f=this.bf(),h=null!=this.m?this.m:this.b.sc(),k=this.b.Ma,l=this.b.Ja;this.Af||(this.Af=Yn(),wv(this,this.Af),L(this,this.Af));if(W(this,4)){this.B=Q(null!=this.xa?this.xa:"100%",this.b.ud());this.Wd=Q(null!=this.sa?this.sa:"3%",this.b.ud());var n=Q(this.Xo(),this.Wd),p,q,t=this.B-this.Wd/2;q=this.B+this.Wd/2;this.Af.clear();this.Af.Ob(k,l,this.B-this.Wd/2,this.B-this.Wd/2,f,h);n&&(p=k+Dh(f+h,q),q=l+Eh(f+h,q),n<this.Wd/2?this.Af.oc(p,q,this.Wd-n,this.Wd-n,!1,!1):this.Af.oc(p,q,n,n,!0,!1));this.Af.Ob(k,l,this.B+this.Wd/2,this.B+this.Wd/2,f+h,-h,!n);n&&(p=k+Dh(f,t),q=l+Eh(f,t),n<this.Wd/2?this.Af.oc(p,q,this.Wd-n,this.Wd-n,!1,!1):this.Af.oc(p,q,n,n,!0,!1));this.Af.close();NF(this);T(this,384);U(this,4)}X(this.labels());X(this.Na());X(this.ja());X(this.Ga());W(this,16)&&(this.Af.fill(this.g),this.Af.stroke(null),U(this,16));W(this,256)&&(b=this.ja(),T(b,4),b.mb(),b=b.dC,d=this.Ga(),T(d,4),d.mb(),d=d.dC,U(this,256));W(this,128)&&(c=this.labels(),c.R(SF(this.b)),c.Bc(k),c.vc(l),c.Wa(f),c.sc(h),c.ai(this.b.ud()),c.clear(),c=this.eC,e=this.Na(),e.R(SF(this.b)),e.Bc(k),e.vc(l),e.Wa(f),e.sc(h),e.ai(this.b.ud()),e.clear(),e=this.eC,U(this,128));W(this,8)&&(k=this.zIndex(),l=.1*iw,this.Af.zIndex(k+1*l),this.ja().zIndex(k),this.Ga().zIndex(k),this.labels().zIndex(k+4*l),this.Na().zIndex(k+4*l),U(this,8));W(this,2)&&(k=this.A(),this.Af.parent(k),this.ja().A(k),this.Ga().A(k),this.labels().A(k),this.Na().A(k),U(this,2));if(b||c||d||e){var v,w,x,z,C,F,k=a.ja().get(),l=k.length,n=a.Ga().get();p=n.length;a:{if(!this.w||W(this,512)){if("allowOverlap"==this.a){q=!1;break a}t=this.scale();q=[];w=[];x=t.ja().get();z=x.length;v=-1;C=this.Tk()&&!this.Sk()?z-1:-1;for(var J=F=-1,O,S,da,V,Ka,bb,Fa=-1,Bb=this.labels().enabled(),yc=t.Ga().get(),gc=0,gb=0,Wb=yc.length,Kd,ye=this.Na().enabled();gc<z||gb<Wb;){O=x[gc];da=yc[gb];S=t.transform(O);Kd=t.transform(da);da=O=V=Ka=null;if(-1==F&&Bb)for(Fa=gc;-1==F&&Fa<z;)0==Fa&&this.Sk()||Fa==z-1&&this.Tk()||0!=Fa&&Fa!=z-1?da=QF(this,Fa,!0):da=null,-1!=C?O=QF(this,C,!0):O=null,this.Tk()&&!this.Sk()?V=Fa==z-1?null:QF(this,z-1,!0):Fa!=v?V=QF(this,v,!0):V=null,Dl(da,O)||Dl(da,V)||(bb=t.transform(x[Fa]),0>=bb&&this.Sk()||1<=bb&&this.Tk()?F=Fa:0<bb&&1>bb&&(F=Fa)),Fa++;S<=Kd&&gc<z||gb==Wb?(Bb&&gc==F&&this.labels().enabled()?(-1==v&&(v=gc),C=gc,F=-1,q.push(!0)):q.push(!1),gc++,S==Kd&&(this.labels().enabled()||this.ja().enabled())&&(w.push(!1),gb++)):(ye?(da=QF(this,gb,!1),-1!=C&&(O=QF(this,C,!0)),-1!=F&&(V=QF(this,F,!0)),-1!=J&&(Ka=QF(this,J,!1)),S=(S=oB(this.Na(),gb))?m(S.enabled())?S.enabled():!0:!0,Dl(da,O)||Dl(da,V)||Dl(da,Ka)||!S?w.push(!1):(bb=t.transform(yc[gb]),0>=bb||1<=bb?(-1==v&&(v=gb),J=gb,w.push(!0)):0<bb&&1>bb?(-1==v&&(v=gb),J=gb,w.push(!0)):w.push(!1))):w.push(!1),gb++)}ye||(w=!1);Bb||(q=!1);this.w={labels:q,Na:w};U(this,512)}q=this.w}B(q)?(t=q.labels,x=q.Na):(t=!q,x=!q);w=q=0;for(var Td;q<l||w<p;)z=k[q],v=n[w],z=a.transform(z),J=a.transform(v),z<=J&&q<l||w==p?(v=Ah(f+z*h),C=r(t)?t[q]:t,(F=r(t)&&t[q]||ia(t))&&b&&b.call(this.Wi,v),C&&c&&c.call(this,q,v,!0),Td=z,q++):(v=Ah(f+J*h),C=r(x)?x[w]:x,(F=r(x)&&x[w]||ia(x))&&d&&Td!=J&&d.call(this.Vi,v),C&&e&&Td!=J&&e.call(this,w,v,!1),w++)}b&&this.ja().ic();d&&this.Ga().ic();c&&this.labels().I();e&&this.Na().I();this.labels().O(!1);this.Na().O(!1);this.ja().O(!1);this.Ga().O(!1);return this};g.o=function(){var a=LF.v.o.call(this);a.scale=this.scale().o();a.ticks=this.ja().o();a.minorTicks=this.Ga().o();a.labels=this.labels().o();a.minorLabels=this.Na().o();m(this.Wa())&&(a.startAngle=this.Wa());m(this.sc())&&(a.sweepAngle=this.sc());m(this.width())&&(a.width=this.width());m(this.Yb())&&(a.radius=this.Yb());m(this.Xo())&&(a.cornersRounding=this.Xo());a.fill=P(this.fill());a.overlapMode=this.Yv();a.drawFirstLabel=this.Sk();a.drawLastLabel=this.Tk();return a};g.K=function(a){LF.v.K.call(this,a);var b,c=a.scale;u(c)?b=MF(c):B(c)?(b=MF(c.type),b.C(c)):b=null;b&&this.scale(b);this.ja(a.ticks);this.Ga(a.minorTicks);this.labels().C(a.labels);this.Na().C(a.minorLabels);this.Wa(a.startAngle);this.sc(a.sweepAngle);this.Yv(a.overlapMode);this.fill(a.fill);this.width(a.width);this.Yb(a.radius);this.Xo(a.cornersRounding);this.Sk(a.drawFirstLabel);this.Tk(a.drawLastLabel)};LF.prototype.scale=LF.prototype.scale;LF.prototype.overlapMode=LF.prototype.Yv;LF.prototype.ticks=LF.prototype.ja;LF.prototype.minorTicks=LF.prototype.Ga;LF.prototype.labels=LF.prototype.labels;LF.prototype.minorLabels=LF.prototype.Na;LF.prototype.startAngle=LF.prototype.Wa;LF.prototype.sweepAngle=LF.prototype.sc;LF.prototype.fill=LF.prototype.fill;LF.prototype.width=LF.prototype.width;LF.prototype.radius=LF.prototype.Yb;LF.prototype.cornersRounding=LF.prototype.Xo;LF.prototype.drawFirstLabel=LF.prototype.Sk;LF.prototype.drawLastLabel=LF.prototype.Tk;function TF(a,b){X(this);OA.call(this);this.j=[];this.F=[];this.ga=[];this.J=[];this.H=[];this.B=[];this.nb=this.Ea=this.W=0;this.data(a||null,b);xv(this,this,this.om,this.Sv,null,this.om,null,this.nm);this.O(!0)}G(TF,OA);TF.prototype.$=OA.prototype.$|446480;TF.prototype.qa=function(){return"circular"};var fw="diagonalBrick",kw=-90,iw=1E-4;g=TF.prototype;g.sd=function(){return Xf(this.F,this.ga,this.J,this.H)};g.Vh=function(){return[]};g.zk=function(){return!0};function UF(a,b){return m(b)?(a.X=b,a):a.X||{}}function VF(a,b){return m(b)?(a.Sa=b,a):a.Sa||{}}function WF(a,b){return m(b)?(a.Ta=b,a):a.Ta||{}}g.XD=function(){return new yz};g.data=function(a,b){return m(a)?(this.hb!==a&&(this.hb=a,Ad(this.M),a instanceof $u?this.fa=this.M=a.Rg():this.fa=a instanceof fv?this.M=a.Pd():(this.M=new fv(r(a)||u(a)?a:null,b)).Pd(),L(this,this.M),this.w=this.fa,R(this.w,this.rI,this),XF(this),T(this,266240,5)),this):this.w};g.rI=function(a){Y(a,16)&&(XF(this),T(this,266240,5))};g.G=function(){return this.ka||this.Ya()};g.Ya=function(){return this.ka=this.data().G()};g.Df=function(a,b,c,d,e){a={type:"hovered"==a?"pointshover":"pointsselect",seriesStatus:this.Gs(c,d),currentPoint:this.lq(c,a,d),actualTarget:b.target,target:this,originalEvent:b};e&&(a.vy=!0);return a};g.Bx=function(a){this.b||(this.b=new ew,this.b.Hc(this),L(this,this.b),R(this.b,this.vP,this),T(this,16384,1));return m(a)?(this.b.C(a),this):this.b};g.vP=function(a){var b=0,c=0;Y(a,1)&&(b|=16384,c|=1);Y(a,8)&&(b|=4);T(this,b,c)};g.ff=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.B[c];e||(e=new Cv,this.B[c]=e,e.zIndex(30+iw*this.Ea),this.Ea++,e.Hc(this),e.Rd(0),e.C(WF(this)),L(this,e),R(e,this.wP,this),T(this,266240,5));return m(d)?(e.C(d),this):e};g.wP=function(){T(this,131072,1)};g.uB=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.F[c];e||(e=new jw,this.F[c]=e,e.zIndex(40+iw*this.W),e.Dd(this.W++),e.Rd(0),e.Hc(this),e.C(VF(this).bar),L(this,e),R(e,this.Ot,this),T(this,266240,5));return m(d)?(e.C(d),this):e};g.vB=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.ga[c];e||(e=new Fx,this.ga[c]=e,e.zIndex(40+iw*this.W),e.Dd(this.W++),e.Rd(0),e.Hc(this),e.C(VF(this).marker),L(this,e),R(e,this.Ot,this),T(this,266240,5));return m(d)?(e.C(d),this):e};g.NF=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.J[c];e||(e=new nw,this.J[c]=e,e.zIndex(40+iw*this.W),e.Dd(this.W++),e.Rd(0),e.Hc(this),e.C(VF(this).needle),L(this,e),R(e,this.Ot,this),T(this,266240,5));return m(d)?(e.C(d),this):e};g.FF=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.H[c];e||(e=new lw,this.H[c]=e,e.zIndex(20+iw*this.nb),e.Dd(this.nb++),e.Rd(0),e.Hc(this),e.C(VF(this).knob),L(this,e),R(e,this.Ot,this),T(this,266240,5));return m(d)?(e.C(d),this):e};function XF(a){a=Xf(a.F,a.ga,a.J,a.H);for(var b=0,c=a.length;b<c;b++){var d=a[b];d&&T(d,4)}}g.Ot=function(a){var b=0,c=0;Y(a,1)&&(b|=4096,c|=1);Y(a,4)&&(b|=266240,c|=5);T(this,b,c)};g.axis=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.j[c];e||(e=new LF,e.C(UF(this)),e.Hc(this),this.j[c]=e,L(this,e),R(e,this.sI,this),T(this,32768,1));return m(d)?(e.C(d),this):e};g.sI=function(a){var b=0,c=0;Y(a,1)&&(b|=32768,c|=1);Y(a,8)&&(b|=135172);Y(a,2)&&(b|=262148);T(this,b,c)};function Hv(a,b){return a.j[b]}g.py=function(a){return m(a)?(this.qb!=a&&(this.qb=a,T(this,4,1)),this):this.qb};g.Wa=function(a){return m(a)?(a=Ah(I(a)||0),this.ab!=a&&(this.ab=a,T(this,4,1)),this):this.ab};g.sc=function(a){return m(a)?(a=ub(I(a)||0,-360,360),this.m!=a&&(this.m=a,T(this,4,1)),this):this.m};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,1));return this}return this.g||"#eee"};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);f!=this.c&&(this.c=f,T(this,16,1));return this}return this.c||"#ccc"};g.ud=function(){return this.da};g.bf=function(){return this.ab+kw};g.Cx=function(a){return m(a)?(a=xr(a),this.ua!=a&&(this.ua=a,T(this,4,1)),this):this.ua};function YF(a,b,c,d,e){var f=a.m,h=a.bf(),k=h+f,l=Bh(h),n=Bh(k);a.T=a.b&&a.b.enabled()?Q(a.b.Yb(),e):0;var p=c+e*Math.cos(l),l=d+e*Math.sin(l),q=c+e*Math.cos(n),n=d+e*Math.sin(n);if(0==f%360&&0!=f)b.Ob(c,d,e+a.a,e+a.a,h,f);else if(180<Math.abs(f)&&a.qb){var t=90-(360-Math.abs(f))/2;b.Ob(p,l,a.a,a.a,0>f?h+90-t:h+270+t,0>f?-90+t:90-t);b.Ob(c,d,e+a.a,e+a.a,h,f,!0);b.Ob(q,n,a.a,a.a,k,0>f?-90+t:90-t,!0)}else if(t=360-Math.abs(f)-90,0<t)b.Ob(p,l,a.a,a.a,0>f?h+90:h+270,0>f?-90:90),b.Ob(c,d,e+a.a,e+a.a,h,f,!0),b.Ob(q,n,a.a,a.a,k,0>f?-90:90,!0),b.Ob(c,d,a.a+a.T,a.a+a.T,0>f?k-45:k+45,0>f?-t:t,!0);else{var t=Bh(0>f?k-45:k+45),v=c+Math.cos(t)*(a.a+a.T),w=d+Math.sin(t)*(a.a+a.T),t=Bh(0>f?k-90:k+90),x=q+Math.cos(t)*a.a,z=n+Math.sin(t)*a.a,t=Bh(0>f?k-45+360-f+90:k+45+360-f-90),C=c+Math.cos(t)*(a.a+a.T),F=d+Math.sin(t)*(a.a+a.T),t=Bh(0>f?h+90:h-90),J=p+Math.cos(t)*a.a,O=l+Math.sin(t)*a.a,t=w-z,S=x-v,v=v*z-x*w,w=F-O,x=J-C,F=C*O-J*F,C=(S*F-x*v)/(t*x-w*S),t=(v*w-F*t)/(t*x-w*S);Math.sqrt(Math.pow(C-c,2)+Math.pow(t-
d,2))<e?(b.Ob(p,l,a.a,a.a,0>f?h+90:h+270,0>f?-90:90),b.Ob(c,d,e+a.a,e+a.a,h,f,!0),b.Ob(q,n,a.a,a.a,k,0>f?-90:90,!0),b.lineTo(C,t)):b.Ob(c,d,e+a.a,e+a.a,0,360)}b.close()}
function ZF(a,b){a.D?a.D.clear():a.D=a.h.path();a.ea=1;a.a=Q(a.ua,a.ea);a.da=a.ea-a.a;YF(a,a.D,0,0,a.da);var c=a.D.Fa(),d,e,f;d=Math.min(b.width/c.width,b.height/c.height);e=b.left+b.width/2-c.width/2*d;f=b.top+b.height/2-c.height/2*d;a.ea=d;a.Ma=e+Math.abs(c.left)*d;a.Ja=f+Math.abs(c.top)*d;a.a*=a.ea;a.da=a.ea-a.a;a.eb=new M(e,f,c.width*d,c.height*d);new M(e+a.a,f+a.a,c.width*d-a.a,c.height*d-a.a)}function SF(a){return a.eb?a.eb.clone():Nl(0,0,0,0)}
g.AG=function(a){a.R(SF(this));a.ai(this.ud());a.Bc(this.Ma);a.vc(this.Ja);a.Wa(this.bf());a.sc(this.sc())};g.Tg=function(a){var b,c,d,e,f=Xf(this.F,this.ga,this.J,this.H);gt(this.b,this.j,this.B,f);if(W(this,262144)){var h=this.G(),k=!1;Mf(this.j,function(a){a.scale().wf();k=k||a.scale().Uc()});if(k)for(b=0,c=f.length;b<c;b++)if(e=f[b])d=e.Rd(),h.select(e.Dd()),d=this.j[d],d.scale().xb(h.get("value")),e instanceof jw&&d.scale().xb(0);Mf(this.j,function(a){a.scale().pf()});T(this,32768);T(this,131072);U(this,262144)}if(W(this,4)){ZF(this,a);this.D.clear();YF(this,this.D,this.Ma,this.Ja,this.da);this.D.zIndex(1);this.D.parent(this.h);this.b&&T(this.b,4);b=0;for(c=this.j.length;b<c;b++)(d=this.j[b])&&T(d,4);b=0;for(c=f.length;b<c;b++)(e=f[b])&&T(e,4);b=0;for(c=this.B.length;b<c;b++)(a=this.B[b])&&T(a,4);T(this,184320)}W(this,16)&&(this.D.stroke(this.stroke()),this.D.fill(this.fill()),U(this,16));W(this,16384)&&(this.b&&this.b.A(this.h).I(),U(this,16384));if(W(this,32768)){b=0;for(c=this.j.length;b<c;b++)(d=this.j[b])&&d.A(this.h).I();U(this,32768)}if(W(this,4096)){b=0;for(c=f.length;b<c;b++)if(e=f[b])e.La(this),e.A(this.h).I();U(this,4096)}if(W(this,131072)){b=0;for(c=this.B.length;b<c;b++)(a=this.B[b])&&a.A(this.h).I();U(this,131072)}qt(this.b,this.j,this.B,f)};g.K=function(a){TF.v.K.call(this,a);"defaultAxisSettings"in a&&UF(this,a.defaultAxisSettings);"defaultPointerSettings"in a&&VF(this,a.defaultPointerSettings);"defaultRangeSettings"in a&&WF(this,a.defaultRangeSettings);this.fill(a.fill);this.stroke(a.stroke);this.Wa(a.startAngle);this.sc(a.sweepAngle);this.data(a.data);m(a.cap)&&this.Bx(a.cap);this.Cx(a.circularPadding);this.py(a.encloseWithStraightLine);this.Dc(a.interactivity);var b,c,d=a.axes;if(d)for(b=0,c=d.length;b<c;b++)d[b]&&this.axis(b,d[b]);if(d=a.bars)for(b=0,c=d.length;b<c;b++)d[b]&&this.uB(b,d[b]);if(d=a.markers)for(b=0,c=d.length;b<c;b++)d[b]&&this.vB(b,d[b]);if(d=a.needles)for(b=0,c=d.length;b<c;b++)d[b]&&this.NF(b,d[b]);if(d=a.knobs)for(b=0,c=d.length;b<c;b++)d[b]&&this.FF(b,d[b]);if(a=a.ranges)for(b=0,c=a.length;b<c;b++)a[b]&&this.ff(b,a[b])};g.o=function(){var a=TF.v.o.call(this);a.type="circular";a.fill=P(this.fill());a.stroke=P(this.stroke());a.startAngle=this.Wa();a.sweepAngle=this.sc();a.data=this.data().o();this.b&&(a.cap=this.Bx().o());a.circularPadding=this.Cx();a.encloseWithStraightLine=this.py();a.interactivity=this.Dc().o();var b,c,d=[];b=0;for(c=this.j.length;b<c;b++){var e=this.j[b];e&&d.push(e.o())}d.length&&(a.axes=d);d=[];b=0;for(c=this.F.length;b<c;b++)(e=this.F[b])&&d.push(e.o());d.length&&(a.bars=d);d=[];b=0;for(c=this.ga.length;b<c;b++)(e=this.ga[b])&&d.push(e.o());d.length&&(a.markers=d);d=[];b=0;for(c=this.J.length;b<c;b++)(e=this.J[b])&&d.push(e.o());d.length&&(a.needles=d);d=[];b=0;for(c=this.H.length;b<c;b++)(e=this.H[b])&&d.push(e.o());d.length&&(a.knobs=d);d=[];b=0;for(c=this.B.length;b<c;b++)(e=this.B[b])&&d.push(e.o());d.length&&(a.ranges=d);return{gauge:a}};g.yy=function(){return{gauge:Wq().circularGauge}};TF.prototype.stroke=TF.prototype.stroke;TF.prototype.fill=TF.prototype.fill;TF.prototype.startAngle=TF.prototype.Wa;TF.prototype.sweepAngle=TF.prototype.sc;TF.prototype.data=TF.prototype.data;TF.prototype.cap=TF.prototype.Bx;TF.prototype.axis=TF.prototype.axis;TF.prototype.bar=TF.prototype.uB;TF.prototype.marker=TF.prototype.vB;TF.prototype.needle=TF.prototype.NF;TF.prototype.knob=TF.prototype.FF;TF.prototype.range=TF.prototype.ff;TF.prototype.circularPadding=TF.prototype.Cx;TF.prototype.encloseWithStraightLine=TF.prototype.py;TF.prototype.getType=TF.prototype.qa;function xw(){X(this);Z.call(this);this.Dr=[];this.Od=Yn();wv(this,this.Od);L(this,this.Od);this.a=404;this.O(!1)}G(xw,Z);g=xw.prototype;g.$=Z.prototype.$|400;g.ia=Z.prototype.ia;g.Od=null;g.Zg="axis";g.na=null;g.Tj=null;g.ha=null;g.Ha=null;g.xa=NaN;g.tm=NaN;g.Ma=NaN;g.Ja=NaN;g.ab=NaN;g.Dr=null;g.labels=function(a){this.na||(this.na=new Tt,this.na.La(this),R(this.na,this.kK,this),L(this,this.na));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.kK=function(a){var b=0,c=0;Y(a,8)?(b=this.a,c=9):Y(a,1)&&(b=128,c=1);$F(this);T(this,b,c)};g.ja=function(a){this.Tj||(this.Tj=new zv,this.Tj.La(this),R(this.Tj,this.mK,this),L(this,this.Tj));return m(a)?(this.Tj.C(a),this):this.Tj};g.mK=function(a){var b=0,c=0;Y(a,8)?(b=this.a,c=9):Y(a,1)&&(b=276,c=1);T(this,b,c)};g.stroke=function(a,b,c,d,e){if(m(a)){a=Gn.apply(null,arguments);if(this.c!=a){var f=B(this.c)?this.c.thickness||1:1,h=B(a)?a.thickness||1:1;this.c=a;h==f?T(this,16,1):T(this,this.a,9)}return this}return this.c};g.scale=function(a){return m(a)?(this.ha!=a&&(this.ha=a,R(this.ha,this.lK,this),T(this,this.a,9)),this):this.ha};g.lK=function(a){Y(a,2)&&($F(this),T(this,this.a,9))};g.Wa=function(a){return m(a)?(a=Ah(null===a||isNaN(+a)?0:+a),this.ab!=a&&(this.ab=a,T(this,this.a,9)),this):this.ab};g.Ki=function(){T(this,this.a,9)};function $F(a){a.D&&(a.D.length=0);a.Dr.length=0;a.w=null}
function aG(a){if(!a.Ha||W(a,4)){var b=a.R();if(b){a.xa=Math.round(Math.min(b.width,b.height)/2);a.Ma=Math.round(b.left+b.width/2);a.Ja=Math.round(b.top+b.height/2);var c=a.scale();if(c){var d=0;if(a.enabled()){var e,f=c.ja().get(),h=f.length,k=Ah(a.Wa()-90),l,n=d=NaN,p=NaN,q=NaN,t=NaN,v=NaN,w=NaN,x=NaN,z=NaN,C=NaN,F=NaN,J=NaN;$F(a);a.tm=NaN;for(e=0;e<h;e++){var O,S,da,V;l=f[e];l=c.transform(l);l=Ah(k+360*l);S=l*Math.PI/180;a.labels().enabled()?(V=bG(a,e),O=V.Qa(),S=V.Va(),da=V.Oa(),V=V.ra()):a.ja().enabled()?(O=a.Od.stroke().thickness?a.Od.stroke().thickness:1,da=a.ja().enabled()?a.ja().length():0,V=a.xa+da+O/2,O=da=Math.round(a.Ma+V*Math.cos(S)),S=V=Math.round(a.Ja+V*Math.sin(S))):(O=a.Od.stroke().thickness?a.Od.stroke().thickness:1,V=a.xa+O/2,O=da=Math.round(a.Ma+V*Math.cos(S)),S=V=Math.round(a.Ja+V*Math.sin(S)));if(isNaN(d)||O<d)d=O,t=e,z=l;if(isNaN(n)||S<n)n=S,v=e,C=l;if(isNaN(p)||da>p)p=da,w=e,F=l;if(isNaN(q)||V>q)q=V,x=e,J=l}h=f=e=c=0;d=Math.round(d);n=Math.round(n);p=Math.round(p);q=Math.round(q);d<b.Qa()&&(z=180>z?Math.sin((z-90)*Math.PI/180):Math.cos((z-180)*Math.PI/180),c=Math.round((b.Qa()-d)/z));n<b.Va()&&(z=270>C?Math.sin((C-180)*Math.PI/180):Math.cos((C-270)*Math.PI/180),e=Math.round((b.Va()-n)/z));p>b.Oa()&&(z=360>F?Math.sin((F-270)*Math.PI/180):Math.cos(F*Math.PI/180),f=Math.round((p-b.Oa())/z));q>b.ra()&&(z=90>J?Math.sin(J*Math.PI/180):Math.cos((J-90)*Math.PI/180),h=Math.round((q-b.ra())/z));d=Math.max(c,e,f,h);if(0<d){a.xa-=d;if(0>a.xa){n=a.xa=0;if(a.labels().enabled()){var n=NaN,Ka;d==c?(n=t,Ka=!0):d==e?(n=v,Ka=!1):d==f?(n=w,Ka=!0):d==h&&(n=x,Ka=!1);t=bG(a,n);n=Ka?t.width:t.height}O=a.Od.stroke().thickness?a.Od.stroke().thickness:1;a.tm=Math.min(b.width,b.height)/2-n-O}$F(a)}}b=a.xa+d;Ka=2*b;a.Ha=new ju(a.Ma-b,a.Ja-b,Ka,Ka)}else a.Ha=new ju(a.Ma-a.xa,a.Ja-a.xa,2*a.xa,2*a.xa)}else a.Ha=new ju(0,0,0,0);U(a,4)}}
g.pb=function(){var a=this.R();return a?this.enabled()?(aG(this),a=this.Od.stroke().thickness?this.Od.stroke().thickness:1,a=Math.floor(a/2),new M(this.Ma-this.xa+a,this.Ja-this.xa+a,2*(this.xa-a),2*(this.xa-a))):a:new M(0,0,0,0)};function cG(a,b){var c=b.width,d=b.height,e={x:0,y:0};0==a?e.x+=c/2:0<a&&90>a?(e.x+=c/2,e.y+=d/2):90==a?e.y+=d/2:90<a&&180>a?(e.y+=d/2,e.x-=c/2):180==a?e.x-=c/2:180<a&&270>a?(e.y-=d/2,e.x-=c/2):270==a?e.y-=d/2:270<a&&(e.y-=d/2,e.x+=c/2);return e}
function bG(a,b){var c=a.Dr;if(m(c[b]))return c[b];var d=a.Od.stroke().thickness?a.Od.stroke().thickness:1,e=a.ja(),f=a.labels(),h=a.scale(),k=h.ja().get()[b],h=h.transform(k),h=Ah(a.Wa()-90+360*h),l=h*Math.PI/180,e=e.enabled()?isNaN(a.tm)?a.ja().length():a.tm:0,e=a.xa+e+d/2,d=Math.round(a.Ma+e*Math.cos(l)),l=Math.round(a.Ja+e*Math.sin(l)),k=new Wc(a,b,k),f=f.measure(k,{value:{x:d,y:l}},void 0,b),k=cG(h,f);f.left+=k.x;f.top+=k.y;return c[b]=f}
g.jK=function(a,b,c){0==a?this.Od.moveTo(b,c):this.Od.lineTo(b,c)};g.iK=function(a,b,c){var d=this.scale().ja().get(),d=new Wc(this,a,d[a]);b={value:{x:b,y:c}};this.labels().add(d,b,a)};g.tb=function(){if(!this.Tb)return!1;if(!this.enabled())return W(this,1)&&(this.remove(),U(this,1),T(this.ja(),2),T(this.labels(),2),T(this,386)),!1;U(this,1);return!0};g.I=function(){var a=this.scale();if(!a)return Rc(2),this;if(!this.tb())return this;var b,c,d;X(this.labels());X(this.ja());W(this,16)&&(this.Od.clear(),this.Od.stroke(this.c),b=this.jK,U(this,16));if(W(this,8)){var e=this.zIndex();this.Od.zIndex(e);this.ja().zIndex(e);this.labels().zIndex(e);U(this,8)}W(this,2)&&(e=this.A(),this.Od.parent(e),this.ja().A(e),this.labels().A(e),U(this,2));if(W(this,256)){var f=this.ja();f.I();c=f.um;U(this,256)}W(this,128)&&(d=this.labels(),d.A()||d.A(this.A()),d.R(this.R()),d.clear(),d=this.iK,U(this,128));if(m(c)||m(b)||m(d)){aG(this);for(var h=a.ja().get(),k=h.length,l=Ah(this.Wa()-90),n=this.ja().enabled()?isNaN(this.tm)?this.ja().length():this.tm:0,p=this.Od.stroke().thickness?this.Od.stroke().thickness:1,q,t,e=0;e<k;e++)if(q=h[e],q=a.transform(q),q=Ah(l+360*q),t=q*Math.PI/180,b&&b.call(this,e,Math.round(this.Ma+this.xa*Math.cos(t)),Math.round(this.Ja+this.xa*Math.sin(t))),c||d){var v=this.ja().stroke().thickness?parseFloat(this.ja().stroke().thickness):1,w=0,x=0;0==q?x=0==v%2?0:-.5:90==q?w=0==v%2?0:-.5:180==q?x=0==v%2?0:.5:270==q&&(w=0==v%2?0:.5);var z=Math.floor(p/2),C=this.xa+z,v=Math.round(this.Ma+C*Math.cos(t))+w,F=Math.round(this.Ja+C*Math.sin(t))+x,C=this.xa+n+z,w=Math.round(this.Ma+C*Math.cos(t))+w;t=Math.round(this.Ja+C*Math.sin(t))+x;c&&c.call(f,v,F,w,t);d&&(q=cG(q,bG(this,e)),d.call(this,e,w+q.x,t+q.y))}0!=e&&this.Od.close();this.labels().I()}this.labels().O(!1);this.ja().O(!1);return this};g.remove=function(){this.Od&&this.Od.parent(null);this.ja().remove();this.na&&this.na.remove()};g.o=function(){var a=xw.v.o.call(this);a.labels=this.labels().o();a.ticks=this.ja().o();a.stroke=P(this.stroke());return a};g.K=function(a){xw.v.K.call(this,a);this.labels().C(a.labels);this.ja(a.ticks);this.stroke(a.stroke)};g.V=function(){xw.v.V.call(this);delete this.ha;this.lb=this.Dr=null;Ad(this.Od);this.na=this.Ha=this.Tj=this.Od=null};xw.prototype.labels=xw.prototype.labels;xw.prototype.ticks=xw.prototype.ja;xw.prototype.stroke=xw.prototype.stroke;xw.prototype.scale=xw.prototype.scale;xw.prototype.getRemainingBounds=xw.prototype.pb;function dG(){xw.call(this)}G(dG,xw);dG.prototype.I=function(){nB(this.labels());return dG.v.I.call(this)};dG.prototype.K=function(a){dG.v.K.call(this,a);this.Wa(a.startAngle)};dG.prototype.o=function(){var a=dG.v.o.call(this);a.startAngle=this.Wa();return a};E("anychart.axes.radar",function(){var a=new dG;a.C(Wq().standalones.radarAxis);return a});dG.prototype.draw=dG.prototype.I;dG.prototype.parentBounds=dG.prototype.R;dG.prototype.container=dG.prototype.A;dG.prototype.startAngle=dG.prototype.Wa;function eG(a){Oj.call(this);this.scale=a;this.b=fG;this.c=gG;this.a=hG}G(eG,dt);g=eG.prototype;g.ia=2;g.Pg=null;g.zi=4;g.Hf=null;g.ij=null;g.OM=function(a,b,c,d,e,f){if(m(a)){var h;if(null===a)h=null;else if(u(a)&&1==arguments.length)h=Kg(a);else{if(u(a))switch(a=Cc(a),b=I(b)||1,a){case"year":a="y";break;case"semester":a="m";b*=6;break;case"quarter":a="m";b*=4;break;case"month":a="m";break;case"thirdofmonth":a="d";b*=10;break;case"week":a="d";b*=7;break;case"day":a="d";break;case"hour":a="h";break;case"minute":a="n";break;case"second":a="s";break;case"millisecond":a="t"}h=new Dg(a,b,c,d,e,f)}var k;if(k=h&&this.Pg)k=this.Pg,k=h.j==k.j&&h.h==k.h&&h.a==k.a&&h.c==k.c&&h.b==k.b&&h.g==k.g;k||!h&&!this.Pg||(h?(this.zi=NaN,this.Pg=h):(this.zi=4,this.Pg=null),this.ij=this.Hf=null,this.ca(2));return this}return Lg(this.Pg,!1)};g.count=function(a){return m(a)?(this.zi!=a&&(this.Pg=null,this.zi=isNaN(a)||2>a?4:Math.ceil(+a),this.ij=this.Hf=null,this.ca(2)),this):this.zi};g.set=function(a){if(this.Hf!=a){this.zi=NaN;this.Pg=null;this.Hf=Of(a,xb);db(this.Hf);for(var b=this.Hf[0],c=1,d=1;d<this.Hf.length;d++){var e=this.Hf[d];e!=b&&(this.Hf[c++]=e);b=e}this.Hf.length=a.length?c:0;this.ij=null;this.ca(2)}return this};g.get=function(){var a;this.Hf?a=this.Hf:(this.scale.bb(),a=this.ij);return Nf(a||[],this.KN,this)};g.KN=function(a){a=this.scale.transform(a);return!(0>a||1<a)};var hG=[1,2,5,10,20,50,100,200,500,1E3,2E3,5E3,1E4,2E4,3E4,6E4,12E4,3E5,6E5,12E5,18E5,36E5,72E5,108E5,216E5,288E5,432E5,576E5,864E5,1728E5,6048E5,864E6,12096E5,18144E5,24192E5,2628E6,5256E6,7884E6,10512E6,15768E6,31536E6,63072E6],fG=[new Dg(Jg,.001),new Dg(Jg,.001),new Dg(Jg,.001),new Dg(Jg,.005),new Dg(Jg,.005),new Dg(Jg,.01),new Dg(Jg,.02),new Dg(Jg,.04),new Dg(Jg,.1),new Dg(Jg,.2),new Dg(Jg,.5),new Dg(Jg,1),new Dg(Jg,2),new Dg(Jg,5),new Dg(Jg,10),new Dg(Jg,20),new Dg(Jg,30),new Dg(Ig,1),new Dg(Ig,1),new Dg(Ig,5),new Dg(Ig,10),new Dg(Ig,20),new Dg(Ig,30),new Dg(Hg,1),new Dg(Hg,2),new Dg(Hg,2),new Dg(Hg,3),new Dg(Hg,4),new Dg(Hg,8),new Dg(Hg,12),new Dg(Gg,1),new Dg(Gg,2),new Dg(Gg,7),new Dg(Gg,7),new Dg(Gg,7),new Dg(Gg,7),new Dg(Fg,1),new Dg(Fg,1),new Dg(Fg,1),new Dg(Fg,2),new Dg(Fg,4),new Dg(Fg,6)],gG=[new Dg(Jg,.001),new Dg(Jg,.002),new Dg(Jg,.005),new Dg(Jg,.01),new Dg(Jg,.02),new Dg(Jg,.05),new Dg(Jg,.1),new Dg(Jg,.2),new Dg(Jg,.5),new Dg(Jg,1),new Dg(Jg,2),new Dg(Jg,5),new Dg(Jg,10),new Dg(Jg,20),new Dg(Jg,30),new Dg(Ig,1),new Dg(Ig,2),new Dg(Ig,5),new Dg(Ig,10),new Dg(Ig,20),new Dg(Ig,30),new Dg(Hg,1),new Dg(Hg,2),new Dg(Hg,3),new Dg(Hg,6),new Dg(Hg,8),new Dg(Hg,12),new Dg(Hg,16),new Dg(Gg,1),new Dg(Gg,2),new Dg(Gg,7),new Dg(Gg,10),new Dg(Gg,14),new Dg(Gg,21),new Dg(Gg,28),new Dg(Fg,1),new Dg(Fg,2),new Dg(Fg,3),new Dg(Fg,4),new Dg(Fg,6),new Dg(Eg,1),new Dg(Eg,2)];function iG(a,b,c,d){b=Math.abs(c-b)/a.zi;c=a.a.length;for(var e=0;e<c;e++)if(b<=a.a[e])return d?a.b[e].clone():a.c[e].clone();return d?new Dg(Eg,Math.ceil(b/31536E6)/4):new Dg(Eg,Math.ceil(b/31536E6))}eG.prototype.o=function(){var a=eG.v.o.call(this);this.Hf?a.explicit=this.Hf:this.Pg?a.interval=Lg(this.Pg):isNaN(this.zi)||(a.count=this.zi);return a};eG.prototype.jc=function(a){var b=arguments;return r(b[0])?(this.set(b[0]),!0):dt.prototype.jc.apply(this,b)};eG.prototype.K=function(a){eG.v.K.call(this,a);this.Hf=a.explicit||null;this.zi=null===a.count?NaN:Math.max(2,Math.ceil(a.count));this.Pg=u(a.interval)?Kg(a.interval):null;this.ij=null};eG.prototype.interval=eG.prototype.OM;eG.prototype.count=eG.prototype.count;eG.prototype.set=eG.prototype.set;eG.prototype.get=eG.prototype.get;function jG(){Oj.call(this);this.h=this.j=this.m=this.b=this.g=this.c=this.a=NaN}G(jG,dt);jG.prototype.ia=6;function kG(a,b){return b?function(c,d){return fi(b,hB(c,a),hB(d,a))}:function(b){return hB(b,a)}}
var lG=[144E5,2592E5,26784E5,31536E6,31536E7],mG=[new Dg(Gg,1),new Dg(Gg,7),new Dg(Fg,1),new Dg(Eg,1),new Dg(Eg,10)],nG=[new Dg(Hg,1),new Dg(Gg,1),new Dg(Gg,7),new Dg(Fg,3),new Dg(Eg,1)],oG=[new Dg(Ig,10),new Dg(Hg,2),new Dg(Gg,1),new Dg(Gg,14),new Dg(Fg,3)],pG=[kG("EE, MM/dd/yyyy"),kG("MM/dd/yyyy","%s - %s"),kG("MMMM, yyyy"),kG("yyyy"),kG("yyyy","%s - %s")],qG=[kG("KKa"),kG("EEEE, MM/dd"),kG("MM/dd/yy","%s - %s"),kG("QQQQ"),kG("yyyy")],rG=[kG("mm"),kG("KKa"),kG("EE, d"),kG("d MMM"),kG("Q")];function sG(a,b,c){b=xb(b);c=xb(c);var d=!1;a.a==b&&a.c==c||isNaN(c)||isNaN(b)||(isNaN(a.a)&&(a.a=b),isNaN(a.c)&&(a.c=c),isNaN(a.g)&&(a.g=b),isNaN(a.b)&&(a.b=c),b<a.b&&(a.a=Math.max(a.g,b),d=!0),c>a.g&&(a.c=Math.min(a.b,c),d=!0),d&&a.ca(4))}function tG(a,b,c){b=xb(b);c=xb(c);if(a.g!=b||a.b!=c)isNaN(a.a)&&(a.a=b),isNaN(a.c)&&(a.c=c),isNaN(a.g)&&(a.g=b),isNaN(a.b)&&(a.b=c),a.c<b&&a.a>c?(a.a=b,a.c=c):(a.a=Math.max(a.a,b),a.c=Math.min(a.c,c)),a.g=b,a.b=c,a.ca(4)}
function uG(a){return{min:a.a,max:a.c}}function vG(a){return{min:a.g,max:a.b}}function wG(a,b,c){var d=xb(b);(isNaN(a.a)||isNaN(a.c))&&sG(a,xG,ZG);if(c.j||c.h){if(d<=a.a)return $G(a,b,c);if(d>a.a&&d<a.c)return d=$G(a,b,c,!0),a=$G(a,b,c,!1,!0),Xf(d,a);if(d>=a.c)return $G(a,b,c,!0)}else return b=864E5*c.a+36E5*c.c+6E4*c.b+1E3*c.g,d<=a.a?(b*=Math.floor((a.a-d)/b),d+=b):(b*=Math.ceil((d-a.a)/b),d-=b),$G(a,d,c);return[]}
function $G(a,b,c,d,e){b=new Rg(iB(b));var f=[],h=!1,k=!1;if(d)for(c=c.m(-1);!h||!k;)k=xb(b),b=b.clone(),b.add(c),d=xb(b),h?Za(f,k,0):d<a.c&&(h=!0,e||f.push(k)),(k=d<=a.a)&&f.push(d),b=b.clone();else for(;!h||!k;)k=xb(b),b=b.clone(),b.add(c),d=xb(b),h?f.push(k):a.a<d&&(h=!0,e||f.push(k)),(k=a.c<=d)&&f.push(d),b=b.clone();return f}
function aH(a,b){var c;if(u(b)){switch(b.toLowerCase()){case"current":isNaN(a.h)&&(a.h=qa());c=a.h;break;case"start":c=a.m;break;case"end":c=a.j}m(c)||(c=iB(b))}c=null!=c?c:xb(b);(isNaN(a.a)||isNaN(a.c))&&sG(a,xG,ZG);return(c-a.a)/(a.c-a.a)}jG.prototype.transform=function(a){return aH(this,a)};function bH(a,b){(isNaN(a.a)||isNaN(a.c))&&sG(a,xG,ZG);return Math.round(b*(a.c-a.a)+a.a)}
function cH(a,b){var c=new Date(a),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=c.getUTCDate(),h=c.getUTCHours(),c=c.getUTCMinutes();return b.j?(d=Br(d,b.j,(new Date(0)).getUTCFullYear()),Date.UTC(d,0)):b.h?(e=Br(e,b.h),Date.UTC(d,e)):b.a?(f=Br(f,b.a),Date.UTC(d,e,f)):b.c?(h=Br(h,b.c),Date.UTC(d,e,f,h)):b.b?(c=Br(c,b.b),Date.UTC(d,e,f,h,c)):a}jG.prototype.o=function(){var a=jG.v.o.call(this);isNaN(this.a)||isNaN(this.c)||(a.range=uG(this));isNaN(this.g)||isNaN(this.b)||(a.totalRange=vG(this));return a};jG.prototype.K=function(a){jG.v.K.call(this,a);if("range"in a){var b=a.range;sG(this,b.min,b.max)}"totalRange"in a&&(a=a.totalRange,tG(this,a.min,a.max))};function dH(a){Oj.call(this);this.g=!!a;this.H={};this.M={};this.J=[];this.w=null;this.h=[];this.a=[];this.F=this.ma=null;this.ea=1;this.b=this.c=NaN;this.j=this.m=0;this.W=!1;this.T=null;this.D=this.N=NaN;this.da=0;this.B=null}G(dH,dt);function eH(a){return I(a.get("rowHeight"))||fH}dH.prototype.ia=2;dH.prototype.$=448;var xG=Date.UTC(1861,4,20),ZG=Date.UTC(1919,10,23),fH=20;g=dH.prototype;g.rC=function(a){var b=0;Y(a,32)&&(b|=128);Y(a,16)&&(b|=64);T(this,b,2)};g.tK=function(a){return!a.l("collapsed")};function gH(a,b){for(var c=["actualStart","actualEnd","baselineStart","baselineEnd"],d=0;d<c.length;d++){var e=c[d],f=b.get(e);m(f)&&(f=iB(f),b.l(e,null===f?null:+f));hH(a,b.l(e))}}
function iH(a,b){var c=b.get("periods");if(a.g&&r(c)){for(var d=NaN,e=NaN,f=0,h=c.length;f<h;f++){var k=c[f],l=b.ug("periods",f,"start"),n=iB(k.start);null!==n&&(n=+n,b.tk("periods",f,"start",n),l=n);n=b.ug("periods",f,"end");k=iB(k.end);null!==k&&(k=+k,b.tk("periods",f,"end",+k),n=k);isNaN(l)||isNaN(n)||(d=isNaN(d)?Math.min(l,n):Math.min(d,l,n),e=isNaN(e)?Math.max(l,n):Math.max(e,l,n),hH(a,l),hH(a,n))}isNaN(d)||isNaN(e)||(b.l("minPeriodDate",d),b.l("maxPeriodDate",e))}}
function jH(a,b,c){b.l("depth",c).l("index",a.da++);gH(a,b);iH(a,b);for(var d=b.get("markers"),e=0;d&&e<d.length;e++){var f=iB(d[e].value),f=null===f?null:+f;b.tk("markers",e,"value",f);hH(a,f)}for(var d=b.l("actualStart"),e=b.l("actualEnd"),h=f=0,k=0,l=b.wb();k<l;k++){var n=b.Td(k);n.wb()?jH(a,n,c+1):(n.l("depth",c+1).l("index",a.da++),gH(a,n),iH(a,n));if(!a.g){var p=y(n.l("actualStart"))?n.l("actualStart"):n.l("autoStart")||NaN,q=y(n.l("actualEnd"))?n.l("actualEnd"):n.l("autoEnd")||p,n=m(n.get("progressValue"))?Q(n.get("progressValue"),1):n.l("autoProgress")||0;isNaN(d)?d=p:isNaN(p)||isNaN(q)||(d=Math.min(d,p,q));isNaN(e)?e=q:isNaN(p)||isNaN(q)?e=q:e=Math.max(e,p,q);isNaN(p)||isNaN(q)||(p=q-p,f+=n*p,h+=p)}}b.wb()&&!a.g&&(0!=h&&b.l("autoProgress",f/h),m(d)&&!isNaN(d)&&b.l("autoStart",d),m(e)&&!isNaN(e)&&b.l("autoEnd",e))}function hH(a,b){y(b)&&!isNaN(b)&&(isNaN(a.N)&&(a.N=b,a.D=b),a.N=Math.min(b,a.N),a.D=Math.max(b,a.D))}
function kH(a,b,c){if(!a.a.length)return 0;var d=a.a.length-1;b=Math.min(b,d);c=m(c)?Math.min(c,d):d;b>c&&(b-=c,c+=b,b=c-b);return a.a[c]-(a.a[b-1]||0)}function lH(a,b){var c=Wa(a.a,b);return 0<=c?c:~c}function mH(a){var b=0,c=0;a.F&&(b=a.F.jx(),c=a.F.ix());var d=1+b+c;a.N=Math.round((xG+xG*c+ZG*b)/d);a.D=Math.round((ZG+ZG*b+xG*c)/d)}
g.data=function(a){return m(a)?(this.w!=a&&a instanceof Nu&&(this.w&&et(this.w,this.rC,this),this.w=a,R(this.w,this.rC,this),this.T=this.w.Iy(),this.T.aH(this.tK),T(this,64,2)),this):this.w};g.gg=function(a){return m(a)?(this.m!=a&&(this.m=a,T(this,256,2)),this):this.m};g.ve=function(a){return m(a)?(isNaN(a)||(this.c=a,this.m=0,this.b=NaN,T(this,256,2)),this):this.c};function nH(a,b){return m(b)?(isNaN(b)||(a.b=b,a.c=NaN,T(a,256,2)),a):a.b}
function oH(a,b){return m(b)?(a.j!=b&&(a.j=b,T(a,256,2)),a):a.j}function pH(a,b){return m(b)?(a.ea!=b&&(a.ea=b,T(a,128,2)),a):a.ea}g.nN=function(a){return m(a)?(this.ma!=a&&(this.ma=a,T(this,256,2)),this):this.ma};function qH(a){a.B||(a.B=new Kz,Tz(Rz(a.B.es("vertical").zs(!1))),a.B.pa("scrollchange",function(b){var c=b.startRatio;b=b.endRatio;var d=a.a[a.a.length-1];X(a);0==c?a.ve(0).gg(0):1==b?nH(a,a.a.length):(b=Math.round(c*d),c=lH(a,b),b-=c?a.a[c-1]:0,a.ve(c).gg(b));a.O(!0)}));return a.B}
function rH(a,b){if(a.a.length){b=Math.max(b,0);var c=a.a[a.a.length-1];X(a);if(b>c-a.j)nH(a,a.a.length-1);else{var c=lH(a,b),d=b-(c?a.a[c-1]:0);a.ve(c).gg(d)}a.O(!0)}}g.o=function(){var a=dH.v.o.call(this);a.isResourceChart=this.g;a.treeData=this.data().o();a.verticalOffset=this.gg();isNaN(this.ve())?isNaN(nH(this))||(a.endIndex=nH(this)):a.startIndex=this.ve();return a};g.K=function(a){dH.v.K.call(this,a);this.g=a.isResourceChart;"treeData"in a&&this.data(Ou(a.treeData));this.gg(a.verticalOffset);"startIndex"in a?this.ve(a.startIndex):"endIndex"in a&&nH(this,a.endIndex)};function sH(){Z.call(this);this.g=this.ha=this.b=this.a=null;this.h=Bn("#cecece");this.c=Array(3);var a=new tH(this);a.A(uH(this));L(this,a);this.c[0]=a;a=new tH(this);a.A(uH(this));L(this,a);this.c[1]=a;a=new tH(this);a.A(uH(this));L(this,a);this.c[2]=a}G(sH,by);sH.prototype.$=by.prototype.$|80;function uH(a){a.b||(a.b=oo(),L(a,a.b),a.g=a.b.rect(),a.g.fill(a.h).stroke(null),L(a,a.g));return a.b}sH.prototype.j=function(a){Y(a,4)&&T(this,64,1)};sH.prototype.scale=function(a){return m(a)?(this.ha!=a&&(this.ha&&et(this.ha,this.j,this),this.ha=a,R(this.ha,this.j,this),T(this,64,1)),this):this.ha};sH.prototype.I=function(){if(this.tb()){var a=this.A(),b=a?a.oa():null,c=b&&!b.Jc();c&&b.rd();var d,e;e=0;W(this,2)&&(uH(this).parent(a),U(this,2));if(W(this,4)){this.a=this.Cb();this.g.Jg(this.a);a=0;for(d=this.c.length;a<d;a++)this.c[a].enabled()&&e++;var f=e?Math.floor(this.a.height/e):0,h=0,k=this.a.top,a=0;for(d=this.c.length;a<d;a++)e=this.c[a],e.enabled()&&(a==d-1&&(f=this.a.height-h),e.Nc().set(this.a.left,k,this.a.width,f),k+=f+1,h+=f+1);U(this,4)}if(W(this,64)){if(!this.ha)return Rc(2),this;a=this.ha;(isNaN(a.a)||isNaN(a.c))&&sG(a,xG,ZG);d=a.c-a.a;e=-1;for(f=0;f<lG.length;f++)if(d<=lG[f]){e=f;break}0>e&&(e=lG.length-1);f=[{anchor:cH(a.a,mG[e]),interval:mG[e],formatter:pG[e]},{anchor:cH(a.a,nG[e]),interval:nG[e],formatter:qG[e]},{anchor:cH(a.a,oG[e]),interval:oG[e],formatter:rG[e]}];a=0;for(d=this.c.length;a<d;a++)e=this.c[a],e.enabled()&&(e.anchor(f[a].anchor),h=e,k=f[a].interval,m(k)&&h.m!=k&&(h.m=k,T(h,128,1)),e.Fb(f[a].formatter),T(e,128));U(this,64)}W(this,16)&&(this.g.fill(this.h),U(this,16));W(this,8)&&(uH(this).zIndex(this.zIndex()),U(this,8));a=0;for(d=this.c.length;a<d;a++)e=this.c[a],e.enabled()&&(e.O(!1),e.I());c&&b.gd()}return this};function tH(a){Z.call(this);this.w=a;this.g=this.h=this.c=this.B=this.m=null;this.b=[];this.j=this.sC}G(tH,by);g=tH.prototype;g.$=by.prototype.$|208;g.sC=function(a){return(new Date(a)).toUTCString()};g.Fb=function(a){return m(a)?(A(a)?this.j=a:this.j=this.sC,T(this,64,1),this):this.j};function vH(a){a.h||(a.h=oo(),L(a,a.h));return a.h}
g.anchor=function(a){return m(a)?(this.B!=a&&(this.B=a,T(this,128,1)),this):this.B};function wH(a){if(!a.c){a.c=new Tt;var b=Wq().ganttBase.timeline.header.labelsFactory;a.c.C(b);a.c.A(vH(a));L(a,a.c)}return a.c}
g.I=function(){if(this.tb()){var a=this.w.scale();if(!a)return Rc(2),this;var b=W(this,4)||W(this,128)||W(this,64),c=this.A(),d=c?c.oa():null,e=d&&!d.Jc();e&&d.rd();vH(this).wb()||(this.g=vH(this).path(),this.g.fill("#f7f7f7").stroke(null));W(this,2)&&(vH(this).parent(c),U(this,2));W(this,128)&&(this.b.length=0,this.b=wG(a,this.B,this.m),U(this,128));W(this,4)&&(this.a=this.Cb(),vH(this).clip(this.a),U(this,4));W(this,64)&&U(this,64);W(this,16)&&(this.g.fill("#f7f7f7"),U(this,16));if(b){this.g.clear();X(wH(this));wH(this).clear();b=0;for(c=this.b.length-1;b<c;b++){var f=this.b[b],h=this.b[b+1],k=aH(a,f),l=aH(a,h),n=this.a.left+k*this.a.width,p=this.a.width*(l-k);this.g.moveTo(n+.5,this.a.top).lineTo(n+p-.5,this.a.top).lineTo(n+p-.5,this.a.top+this.a.height).lineTo(n+.5,this.a.top+this.a.height).close();f={value:this.j(f,h,b)};h=wH(this).measure(f).width;if(!(h>=p))var q=this.a.left,t=this.a.width,p=n+(p-h)/2,n=p<q?q:p+h>q+t?Math.max(q+t-h,n):p;n=wH(this).add(f,{value:{x:n,y:this.a.top}});X(n);n.height(this.a.height);k=Math.max(k,0);l=Math.min(l,1);n.width(this.a.width*(l-k));n.O(!1)}wH(this).O(!1);wH(this).I()}W(this,8)&&U(this,8);e&&d.gd()}return this};function xH(a,b){Z.call(this);this.g=this.hu=null;this.b=this;this.Ea=!0;this.c=null;a&&a instanceof dH?(this.c=a,this.Ea=!1):yH(this,b);this.a=null;this.Sa=1;this.ao=this.Hj=this.Zt=this.Ij=this.Bk=this.Si=this.Ri=this.au=this.Qi=this.J=this.eo=this.Mg=null;this.Ta=45;this.wA=this.X=0;this.Bh=this.fo=this.zh=this.gi=null;this.Ia=[];this.Gb=-1;this.da=null;this.sg=this.Kg=0;this.h=this.Sb=!1;this.j=null;this.altKey=!1;this.W=null;this.Ub=this.nb=0;this.H=!0;this.fa=!1;this.Mb=this.ta=null;xv(this,this,this.NC,this.gL,this.fL,this.NC,this.sO)}G(xH,by);g=xH.prototype;g.$=by.prototype.$|464;function zH(a){var b=a.l("actualStart");a=a.l("actualEnd");return m(b)&&(!isNaN(b)&&!m(a)||b==a)}g.Kb=function(a,b,c){this.ta||(this.ta=new $c(this.c.g));this.ta.a=a;this.ta.b=b;this.ta.c=c;this.ta.Bf();return this.ta};g.fL=function(a){if(this.H)if((a=this.Gi(a))&&!this.b.altKey){var b=kf(a);b.type="rowMouseUp";var b=this.b.dispatchEvent(b),c=this.b.dispatchEvent(a);b&&c&&this.b.kG(a)}else this.b.gu(a);else this.H=!0};g.VH=ba;g.WH=ba;g.qB=ba;g.rB=ba;g.NC=function(a){var b=this.Gi(a);this.qB(b);if(b&&this.H&&this.b.dispatchEvent(b)){var c=this.b;AH(c.b,b.hoveredIndex,b.startY,b.endY);a=c.rb();var d=a.al()?new $h(b.originalEvent.clientX,b.originalEvent.clientY):new $h(0,0),b=c.b.Kb(b.item,b.period,b.periodIndex);a.show(b,d)}};g.sO=function(a){if("dblclick"==a.type)if(this.H){var b=this.Gi(a);if(b&&this.b.dispatchEvent(b)){var c=this.b;if((b=b.item)&&b.wb()){var d=!b.l("collapsed");c.b.dispatchEvent({type:"rowcollapseexpand",item:b,collapsed:d})&&b.l("collapsed",d)}}}else this.H=!0;"mousedown"==a.type&&this.tF(a);"mouseup"==a.type&&(c=this.Gi(a),this.rB(c),this.H&&c&&this.b.dispatchEvent(c)&&this.b.$P(c));"contextmenu"==a.type&&this.b.dispatchEvent(a)};g.gL=function(a){this.H&&(a=this.Gi(a))&&this.b.dispatchEvent(a)&&(a=this.b,AH(a.b),a.rb().Vd())};g.tF=function(a){this.H&&(a.preventDefault(),(a=this.Gi(a))&&this.b.dispatchEvent(a)&&this.b.Gz(a))};g.$P=ba;g.Gz=ba;g.gz=ba;g.kG=function(a){var b;if(b=this.H)(b=a.item)&&b!=this.da?(X(Xu(b)),b.l("selected",!0),this.da&&this.da.l("selected",!1),this.da=b,Xu(b).O(!1),T(this,128,1),b=!0):b=!1;b&&(a=kf(a),a.type="rowSelect",this.b.dispatchEvent(a))};g.Gi=function(a){if(this.Ia.length){var b=this.c.h,c=this.c.ve(),d,e=a.type;switch(e){case"mouseout":e="rowMouseOut";0<=this.Gb&&(d=b[c+this.Gb]);break;case"mouseover":e="rowMouseOver";break;case"mousemove":e="rowMouseMove";break;case"mousedown":e="rowMouseDown";break;case"mouseup":e="rowMouseUp";break;case"click":e="rowClick";break;case"dblclick":e="rowDblClick"}var e={type:e,actualTarget:a.target,target:this,originalEvent:a},f=this.a.top+this.Ta+1,h=this.a.top+xk(this.A().oa().A()).y+this.Ta;a=a.clientY-h;h=this.Ia.length?this.Ia[this.Ia.length-1]:0;if(d)e.item=d;else{if(0>a||a>h)return null;d=Wa(this.Ia,a);var h=(this.Gb=d=0<=d?d:~d)?this.Ia[d-1]:0,f=f+h,k=f+(this.Ia[d]-h-this.Sa);e.item=b[c+d];e.startY=f;e.endY=k;e.hoveredIndex=this.Gb;e.index=c+d;e.itemHeightMouseRatio=(a-h)/(this.Ia[d]-h)}return e}return null};g.ny=function(a){return m(a)?(this.fa!=a&&(this.fa=a,T(this,128,1)),this):this.fa};function BH(a){a.J||(a.J=oo(),wv(a,a.J,null,null,null,null,a.tF),L(a,a.J));return a.J}
function CH(a){a.Ri||(a.Ri=oo(),a.Ri.zIndex(30),L(a,a.Ri));return a.Ri}function DH(a){a.Ij||(a.Ij=oo(),a.Ij.zIndex(35),L(a,a.Ij));return a.Ij}function EH(a){a.Si||(a.Si=oo(),a.Si.zIndex(40),L(a,a.Si));return a.Si}function FH(a){a.Bk||(a.Bk=oo(),a.Bk.zIndex(45),L(a,a.Bk));return a.Bk}function GH(a){a.Hj||(a.Hj=oo(),a.Hj.zIndex(50),L(a,a.Hj));return a.Hj}function HH(a){a.ao||(a.ao=oo(),a.ao.zIndex(60),L(a,a.ao));return a.ao}
function IH(a){a.gi||(a.gi=CH(a).path(),a.gi.stroke(null).zIndex(1),L(a,a.gi));return a.gi}function JH(a){a.zh||(a.zh=CH(a).path(),a.zh.stroke(null).zIndex(1),L(a,a.zh));return a.zh}function KH(a){a.fo||(a.fo=CH(a).path(),a.fo.stroke(null).fill(a.ua).zIndex(2),L(a,a.fo));return a.fo}function LH(a){a.Bh||(a.Bh=CH(a).path(),a.Bh.stroke(null).fill(a.qo).zIndex(3),L(a,a.Bh));return a.Bh}function MH(a){a.Mg||(a.Mg=CH(a).path(),a.Mg.stroke(a.hb).zIndex(4),L(a,a.Mg));return a.Mg}
function NH(a){a.Zt||(a.Zt=FH(a).path(),L(a,a.Zt));return a.Zt}function OH(a){a.eo||(a.eo=CH(a).path(),a.eo.zIndex(40),L(a,a.eo));return a.eo}g.eu=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.oo!=k&&(this.oo=k,this.no=this.po=null,T(this,16,1));return this}return this.oo};g.LC=xH.prototype.eu;g.$r=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.po!=k&&(this.po=k,T(this,16,1));return this}return this.po};g.QD=xH.prototype.$r;g.Zr=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.no!=k&&(this.no=k,T(this,16,1));return this}return this.no};g.PD=xH.prototype.Zr;g.Fz=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.ua!=k&&(this.ua=k);return this}return this.ua};g.Hz=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.qo!=k&&(this.qo=k,T(this,16,1));return this}return this.qo};g.Im=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.Oi!=k&&(this.Oi=k,T(this,16,1));return this}return this.Oi};g.ly=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.Tt!=k&&(this.Tt=k,T(this,16,1));return this}return this.Tt};g.my=function(a){if(m(a)){var b=Gn.apply(null,arguments);this.co!=b&&(this.co=b,T(this,16,1));return this}return this.co};g.ky=function(a){if(m(a)){var b=Gn.apply(null,arguments);this.Nt!=b&&(this.Nt=b,T(this,16,1));return this}return this.Nt};g.pN=function(a){a.a instanceof $n&&(this.g=new PH(this.J,this),L(this,this.g),this.g.pa("drag",this.dL,!1,this),this.g.pa("end",this.cL,!1,this),this.g.Xg(a.c))};g.dL=function(a){if(this.fa&&(this.h=!0,this.H=!1,AH(this.b),this.rb().Vd(),a=this.Gi(a))){var b=a.item,c=a.itemHeightMouseRatio,d=a.startY,e=a.endY;this.j&&b&&b!=this.j&&!Qu(b,this.j)?.2>c||.8<c?QH(this.b,.2>c?d:e,void 0,"auto"):zH(b)?QH(this.b,void 0,void 0,"not-allowed"):QH(this.b,d,e,"auto"):QH(this.b,void 0,void 0,"not-allowed");this.VH(a)}};g.cL=function(a){if(this.fa){a=this.Gi(a);this.WH(a);if(a){var b=a.item,c=a.hoveredIndex,c=this.c.ve()+c,d=this.c.h;a=a.itemHeightMouseRatio;this.j&&b&&b!=this.j&&!zH(b)&&!Qu(b,this.j)&&(.2>a||.8<a?(.2>a?a=d[c-1]:(a=b,b=d[c+1]),a&&b?(c=a.l("depth"),d=b.l("depth"),c==d?(c=b.getParent()||Xu(b),a=c.se(b),b=this.j.getParent()||Xu(this.j),b==c&&b.se(this.j)<a&&(a=Math.max(0,a-1)),c.jf(this.j,a)):c<d?a.jf(this.j,0):(b=a.getParent()||Xu(a),a=b.se(a)+1,b.jf(this.j,a))):b?(b=Xu(b),b.jf(this.j,0)):a&&(b=a.getParent()||Xu(a),a=b.se(a)+1,b.jf(this.j,a))):b.Fc(this.j))}QH(this.b,void 0,void 0,"auto");this.j=null}this.g.reset();this.h=!1;clearInterval(this.W);this.W=null};function RH(a){var b=a.a.top+a.Ta+1,c=a.c.gg(),d=a.c.ve(),e=nH(a.c),f=a.c.h,h=b-c;AH(a.b);a.Ia.length=0;JH(a).clear();IH(a).clear();LH(a).clear();MH(a).clear();for(var k=a.Sa%2&&Jp===Kp?.5:0,l=d;l<=e;l++){var n=f[l];if(!n)break;var p=l==d,h=p?b:h,q=eH(n),q=p?q-c+1:q,p=h+q;(l%2?a.zh:a.gi).moveTo(a.a.left,h).lineTo(a.a.left+a.X,h).lineTo(a.a.left+a.X,p).lineTo(a.a.left,p).close();n.l("selected")&&a.Bh.moveTo(a.a.left,h).lineTo(a.a.left+a.a.width,h).lineTo(a.a.left+a.a.width,p).lineTo(a.a.left,p).close();h=p+a.Sa;n=Math.floor(h-a.Sa/2)+k;a.Mg.moveTo(a.a.left,n).lineTo(a.a.left+a.X,n);n=h-b;a.Ia.push(n);a.wA=n}b=new M(a.a.left,a.a.top-1,a.a.width,h-a.a.top+1);GH(a).clip(b);CH(a).clip(b);DH(a).clip(b)}
g.MF=function(a){if(aa.anychart.ui.ContextMenu&&this.b.contextMenu){var b=this.b.contextMenu();b.vn()&&b.Vd()}var b=a.B,c=a.D,d=0<Math.abs(c),e=0<Math.abs(b);ni&&(b*=15,c*=15);var f=!0,h=!0,k=aa.document.body.scrollLeft,l=this.Sp(),n=qH(this.c);d&&!e&&(h=f=0<n.tp()&&1>n.sp());e&&!d&&(f=!k||0<l.tp()&&1>l.sp());e&&d&&(h=f=!k||0<n.tp()&&1>n.sp()&&0<l.tp()&&1>l.sp());h&&this.qp(b,c);f&&a.preventDefault()};g.$O=function(a){Y(a,2)&&this.ca(1)};g.hL=function(){JA(this.rb())};g.Cw=ba;g.Dw=ba;function yH(a,b){a.c=new dH(b);L(a,a.c);R(a.c,a.$O,a)}
function SH(a,b){b&&T(a,64);if(a.tb()){var c=a.A(),d=c?c.oa():null,e=d&&!d.Jc();e&&d.rd();a.rb().A()||a.rb().A(a.A());var f,h;BH(a).wb()||(a.Qi=a.J.rect(),L(a,a.Qi),a.Qi.fill(a.Oi).stroke(null).zIndex(10),a.au=a.J.rect(),L(a,a.au),a.au.fill("#fff 0.00001").stroke(null).zIndex(20),a.J.Fc(CH(a)).Fc(DH(a)).Fc(EH(a)).Fc(FH(a)).Fc(GH(a)).Fc(HH(a)),a.Ea&&(f=qH(a.c),R(f.A(HH(a)),function(a){Y(a,1)&&f.I()},f),L(a,f)),h=a.Sp(),R(h.A(HH(a)),function(a){Y(a,1)&&h.I()},h),L(a,h),a.J.qf("mousedown",a.pN,!1,a),a.yF());W(a,2)&&(a.J.parent(c),U(a,2));W(a,4)&&(a.a=a.Cb(),a.J.clip(a.a),a.Qi.Jg(a.a),a.au.Jg(a.a),a.X=a.a.width,c=a.a.top+a.Ta+.5,OH(a).clear().moveTo(a.a.left,c).lineTo(a.a.left+a.X,c),a.Ea&&(f=qH(a.c),f.Nc(a.a.left+a.a.width-10-1,a.a.top+a.bg()+10+1,10,a.a.height-a.bg()-20-2)),h=a.Sp(),h.Nc(a.a.left+10,a.a.top+a.a.height-10-1,a.a.width-20,10),a.Sb=!0,a.Dw(),U(a,4));W(a,64)&&(a.rb().Vd(),a.Sb=!0,a.VF(),U(a,64));if(W(a,16)){a.Qi.fill(a.Oi);IH(a).fill(a.po||a.oo);JH(a).fill(a.no||a.oo);LH(a).fill(a.qo);var k;u(a.hb)?k=a.hb:B(a.hb)&&a.hb.color&&(k=a.hb.color);k&&OH(a).stroke(k);MH(a).stroke(a.hb);NH(a).fill(a.Tt).stroke(a.co);a.Cw();U(a,16)}W(a,256)&&(0<=a.Gb&&m(a.Kg)&&m(a.sg)&&m(a.Gb)?KH(a).clear().fill(a.ua).moveTo(a.a.left,a.Kg).lineTo(a.a.left+a.a.width,a.Kg).lineTo(a.a.left+a.a.width,a.sg).lineTo(a.a.left,a.sg).close():KH(a).clear(),U(a,256));W(a,8)&&(BH(a).zIndex(a.zIndex()),U(a,8));W(a,128)&&(a.Sb=!0,U(a,128));a.$z();a.Sb&&(RH(a),a.UF(),a.Sb=!1);e&&d.gd();a.Ea&&(TH(a),UH(a))}}g.yF=ba;function AH(a,b,c,d){if(m(b)&&m(c)&&m(d)){if(a.Kg!=c||a.sg!=d)a.Gb=b,a.Kg=c,a.sg=d,T(a,256,1)}else 0<=a.Gb&&(a.Gb=-1,a.Kg=NaN,a.sg=NaN,T(a,256,1))}function QH(a,b,c,d){var e=NH(a);m(b)?m(c)?e.clear().moveTo(a.a.left,b).lineTo(a.a.left+a.X,b).lineTo(a.a.left+a.X,c).lineTo(a.a.left,c).close().stroke(a.co):e.clear().moveTo(a.a.left,b).lineTo(a.a.left+a.X,b).stroke(a.Nt):e.clear();m(d)&&qk(aa.document.body,"cursor",d)}
function TH(a){if(!a.hu){var b=BH(a).P();b&&(a.hu=new Mk(b),vj(a.hu,"mousewheel",a.MF,!1,a),vj(window,"unload",function(){Dj(a.hu,"mousewheel",a.MF,!1,this)}));vj(document,"mousemove",a.xE,!1,a)}}g.xE=function(a){var b=xk(this.A().oa().A()),c=this.a.top+b.y+this.Ta+10,d=b.y+this.a.height-10-10,b=b.x+this.a.left+10,e=b+this.a.width-10-10,f=a.clientX,h=a.clientY;this.Ub=this.nb=0;if(f<b||f>e)this.nb=f-b;if(h<c||h>d)this.Ub=h-c;var k=this;this.h&&!this.W&&(this.W=setInterval(function(){k.gz(a)},100))};function UH(a){a.b.oA||(a.b.oA=new VH(a.b,document),L(a,a.b.oA),vj(a.b.oA,"key",function(a){18==a.keyCode&&(this.altKey=!0);(46==a.keyCode||a.metaKey&&8==a.keyCode)&&this.qE(a)},!1,a.b))}g.qE=function(){};g.VF=ba;g.UF=ba;g.remove=function(){this.J&&this.J.parent(null)};g.fu=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments),h=Gr(f);if(this.hb!=f||h!=this.Sa)this.hb=f,this.Sa=h,this.Ea||pH(this.c,h),T(this,80,1);return this}return this.hb||"none"};g.$z=ba;g.gu=function(a){this.da&&this.c.data()&&(X(this.c.data()),this.da.l("selected",!1),this.da=null,this.c.data().O(!1),this.b==this&&this.dispatchEvent({type:"rowSelect",actualTarget:a?a.target:this,target:this,originalEvent:a,item:null}),T(this,64,1))};g.data=function(a){var b=this.c.data();return m(a)?(a!=b&&a instanceof Nu&&this.c.data(a),this):b};g.I=function(){this.a&&!this.a.height&&this.a.height||(this.a=this.Cb());var a=pH(oH(this.c,this.a.height-this.Ta-1),this.Sa);if(a.Tb){if(W(a,64)){a.da=0;a.N=NaN;a.D=NaN;X(a.w);for(var b=0,c=a.w.wb();b<c;b++)jH(a,a.w.Td(b),0);a.w.O(!1);U(a,64);a.F&&WH(a.F);T(a,128)}if(W(a,128)){a.h.length=0;a.a.length=0;a.J.length=0;a.H={};a.M={};var d,b=0;for(a.T.reset();a.T.advance();){d=a.T.a;a.h.push(d);b+=eH(d)+a.ea;a.a.push(b);var e=d.get("id"),c={item:d,index:a.a.length-1};m(e)&&!a.M[e]&&(a.M[e]=c);if(a.g){if(c=d.get("periods"),r(c))for(e=0,d=c.length;e<d;e++){var f=c[e],h=f.id,k={period:f,index:a.a.length-1,periodIndex:e};a.H[h]||(a.H[h]=k);var l;if(r(f.connector))for(var f=f.connector,n=0;n<f.length;n++){var p=f[n];p&&(l=a.H[p.connectTo]||p.connectTo,h=p.connectorType,l={from:k,to:l},h&&(l.type=h),l.connSettings=p,a.J.push(l))}else f.connectTo&&(l=a.H[f.connectTo]||f.connectTo,h=f.connectorType,l={from:k,to:l},h&&(l.type=h),f.connector&&(l.connSettings=f.connector),a.J.push(l))}}else if(r(d.get("connector")))for(d=d.get("connector"),k=0;k<d.length;k++){if(h=d[k])e=h.connectTo,l=a.M[e]||e,e=h.connectorType,l={from:c,to:l},e&&(l.type=e),l.connSettings=h,a.J.push(l)}else d.get("connectTo")&&(e=d.get("connectTo"),l=a.M[e]||e,e=d.get("connectorType"),l={from:c,to:l},e&&(l.type=e),d.get("connector")&&(l.connSettings=d.get("connector")),a.J.push(l))}U(a,128);T(a,256)}a.h.length?(isNaN(a.c)||(a.c=ub(a.c,0,a.h.length-1)),isNaN(a.b)||(a.b=ub(a.b,0,a.h.length-1)),b=kH(a,0,a.a.length-1),a.j>=b?(a.c=0,a.m=0,a.b=a.h.length-
1):(isNaN(a.c)&&isNaN(a.b)&&(a.c=0),isNaN(a.c)?(b=kH(a,0,a.b),b<a.j?(a.c=0,a.m=0,a.b=lH(a,a.j)):(a.c=lH(a,a.a[a.b]-a.j),a.m=kH(a,a.c,a.b)-a.j)):(b=kH(a,a.c)-a.m,b<a.j?(a.c=lH(a,a.a[a.a.length-1]-a.j),a.b=a.a.length-1,a.m=kH(a,a.c,a.b)-a.j):a.b=lH(a,(0==a.c?0:a.a[a.c-1])+a.j+a.m)))):(a.c=0,a.b=0,a.m=0,mH(a));a.W=!0;U(a,256);isNaN(a.N)?mH(a):a.N==a.D&&(a.N-=864E5,a.D+=864E5)}a.ma&&SH(a.ma,a.W);a.F&&SH(a.F,a.W);a.B&&(X(a.B),a.B.Ji(!1),c=0,e=1,a.a.length&&(c=a.a[a.c]-kH(a,a.c,a.c)+a.m,e=c+a.j,d=a.a[a.a.length-
1],b=new M(0,0,0,d),c=xl(c/d,4),e=xl(e/d,4),a.B.ak(b)),a.B.IG(c,e).I().Ji(!0).O(!1));a.W=!1;return this};g.MC=function(a){return m(a)?(nH(this.c,a),this):nH(this.c)};g.eL=function(){return this.c.h};g.ve=function(a){return m(a)?(this.c.ve(a),this):this.c.ve()};g.bg=function(a){return m(a)?(this.Ta!=a&&(this.Ta=a,this.a||(this.a=this.Cb()),this.Ea&&oH(X(this.c),this.a.height-a-1).O(!1),T(this,4,1)),this):this.Ta};g.KQ=xH.prototype.bg;g.rb=function(a){this.Mb||(this.Mb=new GA,L(this,this.Mb),R(this.Mb,this.hL,this));return m(a)?(this.Mb.C(a),this):this.Mb};g.gg=function(a){return m(a)?(this.c.gg(a),this):this.c.gg()};g.V=function(){xH.v.V.call(this);Dj(document,"mousemove",this.xE,!1,this)};g.o=function(){var a=xH.v.o.call(this);(a.isStandalone=this.Ea)&&(a.controller=this.c.o());a.backgroundFill=P(this.Oi);a.rowStroke=P(this.hb);a.headerHeight=this.Ta;a.rowOddFill=P(this.po);a.rowEvenFill=P(this.no);a.rowFill=P(this.oo);a.hoverFill=P(this.ua);a.rowSelectedFill=P(this.qo);a.editStructurePreviewFill=P(this.Tt);a.editStructurePreviewStroke=P(this.co);a.editStructurePreviewDashStroke=P(this.Nt);a.editing=this.fa;a.tooltip=this.rb().o();return a};g.K=function(a){xH.v.K.call(this,a);(this.Ea="isStandalone"in a?a.isStandalone:"controller"in a)&&"controller"in a&&(yH(this),this.c.C(a.controller));this.Im(a.backgroundFill);this.fu(a.rowStroke);this.eu(a.rowFill);this.$r(a.rowOddFill);this.Zr(a.rowEvenFill);this.Fz(a.hoverFill);this.Hz(a.rowSelectedFill);this.rb(a.tooltip);this.bg(a.headerHeight);this.ly(a.editStructurePreviewFill);this.my(a.editStructurePreviewStroke);this.ky(a.editStructurePreviewDashStroke);this.ny(a.editing)};function PH(a,b){Pk.call(this,a.P());this.b=b;this.y=this.x=0}G(PH,Pk);PH.prototype.ll=function(){this.c=this.a=0};PH.prototype.nn=function(a,b){if(this.b.b.altKey){var c=this.x-a,d=this.y-b;this.x=a;this.y=b;this.b.qp(c,d)}};PH.prototype.reset=function(){this.y=this.x=0};function VH(a,b,c){Wj.call(this,b,c);this.a=a}G(VH,Wj);VH.prototype.bu=function(){VH.v.bu.call(this);this.a.altKey=!1};function XH(){So.call(this);this.l={}}G(XH,Tn);XH.prototype.m=null;function YH(a){xH.call(this,a);this.w=[];this.T=[];this.M=null;this.D=0;this.B={};this.c.nN(this)}G(YH,xH);g=YH.prototype;g.$=xH.prototype.$|512;function ZH(a,b){if(!a.B[b])switch(b){case"directNumbering":a.B[b]={formatter:a.xy,width:50};break;case"text":a.B[b]={formatter:a.xy,width:170};break;case"financial":a.B[b]={formatter:a.NN,textStyle:{hAlign:"right"},width:90};break;case"percent":a.B[b]={formatter:a.ON,textStyle:{hAlign:"right"},width:50};break;case"dateCommonLog":a.B[b]={formatter:$H("dd/MMM/yyyy"),textStyle:{hAlign:"right"},width:90};break;case"dateIso8601":a.B[b]={formatter:$H("yyyy-MM-dd"),textStyle:{hAlign:"right"},width:90};break;case"dateUsShort":a.B[b]={formatter:$H("M/dd/yyyy"),textStyle:{hAlign:"right"},width:90};break;case"dateDmyDots":a.B[b]={formatter:$H("dd.MM.yy"),textStyle:{hAlign:"right"},width:90};break;default:a.B[b]={formatter:a.xy,width:90}}return a.B[b]}g.xy=function(a){return m(a)?a+"":""};g.NN=function(a){return m(a)?y(a)?a.toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1,"):a+"":""};g.ON=function(a){return y(a)?xl(100*a,2)+"%":m(a)?vr(a)?a:a+"%":""};function $H(a){return function(b){return y(b)?gh(new bh(a),new Rg(new Date(b))):m(b)?b+"":""}}g.mE=function(a){return m(a)?(this.ka=a,this):this.ka||{}};g.Oy=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.ea!=k&&(this.ea=k,T(this,16,1));return this}return this.ea};function aI(a){a.M||(a.M=Yn(),CH(a).jf(a.M,0),a.M.stroke(null),L(a,a.M));return a.M}
g.bt=function(a,b,c){for(var d=-1,e=0,f=this.w.length;e<f;e++){var h=this.w[e];h&&h.enabled()&&(d++,h=[h,d],h.push.apply(h,zb(arguments,2)),a.apply(b||this,h))}};g.SC=function(a){if(m(a)){var b=Gn.apply(null,arguments),c=Gr(this.F),d=Gr(b);if(this.F!=b||d!=c)this.F=b,T(this,512,1);return this}return this.F};g.$p=function(a){return m(a)?(this.D!=a&&(this.D=a,T(this,512,1)),this):this.D};function bI(a){for(var b=0,c=0,d=a.w.length;c<d;c++)a.w[c]&&a.w[c].enabled()&&b++;if(b>a.T.length){var e=new aA;L(a,e);e.stroke(a.F);e.A(GH(a));R(e,function(){e.I()},e);e.pa("splitterchange",na(a.xQ,a,b-1));e.pa("dblclick",na(a.yQ,a,b-1));a.T.push(e)}}
g.RC=function(a,b){var c,d,e=!1;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var f=this.w[c];f||(f=new cI(this),f.C(this.mE()),R(f,this.hN,this),L(this,f),e=!0);if(m(d))return f.C(d instanceof cI?d.o():d),f.enabled()&&f.A(EH(this)),this.w[c]=f,bI(this),T(this,528,1),this;e&&(d=c?1==c?170:90:90,e=c?1==c?"Name":"Column #"+c:"#",X(f),f.A(EH(this)).width(d).height("100%"),f.title().text(e),f.O(!0),this.w[c]=f,bI(this),T(this,528,1));return f};g.xQ=function(a,b){var c=b.target;c.a||(c.a=c.Cb());c=(new M(xl(c.a.left,1),xl(c.a.top,1),xl(Math.min(c.h,c.a.width-c.w),1),xl(c.a.height,1))).width+20;this.bt(this.ZP,this,a,c)};g.yQ=function(a,b){this.bt(this.oN,this,a,b)};g.ZP=function(a,b,c,d){c==b&&a.width(d)};g.oN=function(a,b,c,d){c==b&&(b=a.title(),c=b.height(),d.offsetY-this.a.top<c&&(b.Jb?(d=b.Jb,null!=d.Jb?(c=pn.measure(d.text(),d.style()),c.left=d.ka,c.top=d.fa,d=c):d=new M(0,0,0,0)):d=null,d=d.width,d+=b.padding().left()+b.padding().right(),a.width(a.Hp()?a.Hp():d)))};g.hN=function(a){var b=0;Y(a,1)&&(b|=16);Y(a,8)&&(b|=512);T(this,b,1)};g.Sp=function(){if(!this.m){this.m=new Kz;Tz(Rz(this.m.es("horizontal").zs(!1)));var a=this;this.m.pa("scrollchange",function(b){a.$p(Math.round(b.startRatio*a.X))})}return this.m};g.qp=function(a,b){gt(this,this.c);this.$p(this.D+a);var c=this.c.ve(),d=this.c.a,e=this.c.gg(),c=c?d[c-1]:0;rH(this.c,c+(e+b));pt(this,this.c)};g.Dw=function(){var a=aI(this),b=this.a.top+this.bg();a.clear().moveTo(this.a.left,this.a.top).lineTo(this.a.left+this.a.width,this.a.top).lineTo(this.a.left+this.a.width,b).lineTo(this.a.left,b).close();for(var a=Gr(this.F),c=b=0,d=this.w.length;c<d;c++){var e=this.w[c];e&&e.enabled()&&(e=dI(e).width,b+=e+a)}this.X=b;T(this,512)};g.Cw=function(){aI(this).fill(this.ea);this.bt(function(a){T(a,16);a.I()})};g.VF=function(){this.bt(function(a){T(a,128);a.I()})};g.$z=function(){if(W(this,512)){var a,b,c=0;a=this.a.left;b=this.a.top;var d=Gr(this.F),e=[],f,h,k,l;f=0;for(h=this.w.length;f<h;f++)if(k=this.w[f])k.enabled()?(l=dI(k).width,c+=l+d,e.push(k)):k.I();this.X=c;this.a.width>this.X&&(this.D=0);this.D=ub(this.D,0,Math.abs(this.a.width-this.X));c=-this.D;f=0;for(h=e.length;f<h;f++){k=e[f];X(k);k.position({x:c,y:0});k.height(this.a.height);l=dI(k).width;var n=this.T[f],p=l;n&&(X(n),n.stroke(this.F),n.enabled(!0),p+=d,n.Nc({left:a+c+20,top:b,width:p+this.a.width,height:this.a.height}).Ji(!1).position(l-20).O(!1).I().Ji(!0));c+=p;k.O(!1);k.I()}for(this.Sb=!0;f<this.T.length&&this.T[f].enabled();)this.T[f].enabled(!1),f++;this.m&&(a=new M(this.a.left-this.D,0,this.X,0),b=new M(this.a.left,0,this.a.width,0),X(this.m).Ji(!1).ak(a).Tq(b).I().Ji(!0).O(!1),this.m.A()&&this.m.I());U(this,512)}};g.Gz=function(a){this.fa&&(this.j=a.item)};g.gz=function(){if(this.h&&(this.nb||this.Ub)){var a=0,b=0;this.nb&&(a=0<this.nb?30:-30);this.Ub&&(b=0<this.Ub?30:-30);this.qp(a,b)}};g.o=function(){var a=YH.v.o.call(this);a.columnStroke=P(this.F);a.headerFill=P(this.ea);a.horizontalOffset=this.$p();a.columns=[];for(var b=0;b<this.w.length;b++){var c=this.w[b];a.columns.push(c?c.o():!1)}return a};g.K=function(a){YH.v.K.call(this,a);this.SC(a.columnStroke);this.Oy(a.headerFill);this.$p(a.horizontalOffset);"defaultColumnSettings"in a&&this.mE(a.defaultColumnSettings);if("columns"in a)for(var b=0,c=a.columns.length;b<c;b++){var d=a.columns[b];d&&this.RC(b,d)}};function cI(a){Z.call(this);this.c=a;this.g=this.lb=this.F=this.J=this.j=this.b=null;this.Ra=this.sa=0;this.a=null;this.w=this.Nw;this.D=0;this.m=!1;this.B=[];this.H=this.lE;this.La(this.c);U(this,1)}G(cI,Z);g=cI.prototype;g.$=Z.prototype.$|208;g.ia=Z.prototype.ia;g.oQ=function(a,b){var c=u(b)?ZH(this.c,b):b;if(B(c)){X(this);var d=c.formatter,e=c.width,c=c.textStyle;m(d)&&this.Fb(function(){return d(this.item.get(a))});m(e)&&this.width(e).Hp(e);m(c)&&this.Qg().Zb(c);this.O(!0)}return this};g.Nw=function(){return""};g.rE=function(a){return m(a)?(this.D!=a&&(this.D=a,T(this,128,1)),this):this.D};g.lE=ba;g.Fb=function(a){return m(a)?(A(a)?this.w=a:this.w=this.Nw,T(this,128,1),this):this.w};g.Qg=function(a){this.b||(this.b=new Tt,this.b.A(eI(this)),this.b.La(BH(this.c)),this.b.zIndex(0),R(this.b,this.oL,this),this.b.La(this),L(this,this.b));if(m(a)){var b=!0;a instanceof Tt?this.b.C(a.o()):B(a)?this.b.C(a):Fr(a)?this.b.enabled(!1):b=!1;b&&T(this,128,1);return this}return this.b};g.oL=function(a){Y(a,1)&&T(this,128,1)};g.RD=function(a){return m(a)?(this.H=a,T(this,128,1),this):this.H};g.SD=function(a){return m(a)?(this.m!=a&&(this.m=a,T(this,128,1)),this):this.m};g.title=function(a){this.lb||(this.lb=new hA,X(this.lb),this.lb.A(fI(this)).margin(0).yd("noWrap").xc("center").vAlign("middle"),this.lb.O(!1),R(this.lb,this.pL,this),this.lb.La(this),L(this,this.lb));return m(a)?(X(this),this.lb.C(a),this.lb.A(fI(this)),this.O(!0),this):this.lb};g.pL=function(a){Y(a,1)&&T(this.c,16,9)};function gI(a){a.j||(a.j=oo(),L(a,a.j));return a.j}function fI(a){a.J||(a.J=oo(),L(a,a.J));return a.J}
function hI(a){a.g||(a.g=Yn(),fI(a).jf(a.g,0),a.g.fill(a.c.Oy()),a.g.stroke(null),L(a,a.g));return a.g}g.position=function(a){return m(a)?(this.h&&this.h.x==a.x&&this.h.y==a.y||(this.h=a,T(this,4,9)),this):this.h};g.width=function(a){return m(a)?(this.sa!=a&&(this.sa=a,T(this,4,9)),this):this.sa};g.Hp=function(a){return m(a)?(this.M=a,this):this.M};g.height=function(a){return m(a)?(this.Ra!=a&&(this.Ra=a,T(this,4,9)),this):this.Ra};function eI(a){a.F||(a.F=oo(),L(a,a.F));return a.F}
g.remove=function(){this.j&&this.j.parent(null);T(this.c,512,1)};function dI(a){var b=a.c.Cb(),c=Q(a.sa||0,b.width),c=Math.max(20,c),d=Q(a.Ra||0,b.height);a=wl(a.h);return new M(b.left+a.x,b.top+a.y,c,d)}
g.I=function(){if(this.tb()){var a=this.A(),b=a?a.oa():null,c=b&&!b.Jc();c&&b.rd();gI(this).wb()||gI(this).Fc(eI(this)).Fc(fI(this));W(this,2)&&(gI(this).parent(a),U(this,2));W(this,4)&&(this.a=dI(this),gI(this).clip(this.a),T(this,128),U(this,4));if(W(this,128)){var d=this.c.bg();hI(this).clear().moveTo(this.a.left,this.a.top).lineTo(this.a.left+this.a.width,this.a.top).lineTo(this.a.left+this.a.width,this.a.top+d).lineTo(this.a.left,this.a.top+d).close();a=new M(this.a.left,this.a.top,this.a.width,d);X(this.lb);this.lb.R(a);this.lb.height(d);this.lb.O(!1);T(this,64);var a=this.c.c.h,e=this.c.ve(),f=this.c.MC(),h=this.c.gg(),k=this.a.top+d+1-h;X(this.Qg());this.Qg().clear();for(var d=Q(this.Qg().padding().left(),this.a.width),h=Q(this.Qg().padding().right(),this.a.width),l=Q(this.Qg().padding().top(),this.a.height),n=Q(this.Qg().padding().bottom(),this.a.height),p=-1;e<=f;e++){var q=a[e];if(!q)break;var t=eH(q),v=q.l("depth")||0,v=d+this.D*v,w=0;if(this.m&&q.wb()){p++;var w=20,x=this.B[p];x||(x=new iI(this.c),this.B.push(x),x.zIndex(10),x.A(eI(this)));X(x);var z=k+(t-15)/2,C=Jp===Kp?.5:0,F;F=jI(x.enabled(!0),!!q.l("collapsed"));m(e)?F.H=e:F=F.H;F.R(this.a).position({x:Math.floor(this.a.left+v)+C,y:Math.floor(z)+C});x.O(!1);x.I()}x=k+t;z=this.c.Kb(q);z=this.w.call(z,q);k=this.Qg().add({value:z},{value:{x:this.a.left,y:k}});X(k);k.height(t);k.width(this.a.width);k.padding(l,h,n,v+w);this.H(k,q);k.O(!1);k=x+this.c.Sa}for(;++p<this.B.length&&this.m&&this.B[p].enabled();)this.B[p].enabled(!1).I();this.Qg().O(!1);this.Qg().I();U(this,128)}W(this,16)&&(hI(this).fill(this.c.Oy()),T(this,64),U(this,16));W(this,64)&&(this.lb.I(),U(this,64));W(this,8)&&(gI(this).zIndex(this.zIndex()),U(this,8));c&&b.gd()}return this};g.o=function(){var a=cI.v.o.call(this);a.width=this.sa;m(this.M)&&(a.defaultWidth=this.M);a.collapseExpandButtons=this.m;a.depthPaddingMultiplier=this.D;a.cellTextSettings=this.Qg().o();a.title=this.lb.o();this.w!=this.Nw&&K(8,null,["Data Grid Column textFormatter"]);this.H!=this.lE&&K(8,null,["Data Grid Column cellTextSettingsOverrider"]);return a};g.K=function(a){cI.v.K.call(this,a);this.width(a.width);this.Hp(a.defaultWidth);this.SD(a.collapseExpandButtons);this.rE(a.depthPaddingMultiplier);this.Qg(a.cellTextSettings);this.title(a.title);"textFormatter"in a&&this.Fb(a.textFormatter);"cellTextSettingsOverrider"in a&&this.RD(a.cellTextSettingsOverrider)};function iI(a){Rw.call(this);this.M=a;this.B=!1;this.H=-1;X(this);Tw(this.width(15).height(15).xc("center").vAlign("middle"),16,!1);this.text("-");this.O(!1);R(this,function(){this.I()})}
G(iI,Rw);iI.prototype.Xp=function(a){iI.v.Xp.call(this,a);jI(this,!jI(this));a=this.M;var b=this.B,c=a.c.h[this.H];c&&c.wb()&&a.b.dispatchEvent({type:"rowcollapseexpand",item:c,collapsed:b})&&c.l("collapsed",b)};function jI(a,b){return m(b)?(a.B!=b&&(a.B=b,a.text(a.B?"+":"-")),a):a.B}YH.prototype.backgroundFill=YH.prototype.Im;YH.prototype.cellFill=YH.prototype.LC;YH.prototype.cellEvenFill=YH.prototype.PD;YH.prototype.cellOddFill=YH.prototype.QD;YH.prototype.rowFill=YH.prototype.eu;YH.prototype.rowEvenFill=YH.prototype.Zr;YH.prototype.rowOddFill=YH.prototype.$r;YH.prototype.rowHoverFill=YH.prototype.Fz;YH.prototype.rowSelectedFill=YH.prototype.Hz;YH.prototype.editing=YH.prototype.ny;YH.prototype.column=YH.prototype.RC;YH.prototype.columnStroke=YH.prototype.SC;YH.prototype.data=YH.prototype.data;YH.prototype.startIndex=YH.prototype.ve;YH.prototype.endIndex=YH.prototype.MC;YH.prototype.getVisibleItems=YH.prototype.eL;YH.prototype.getHorizontalScrollBar=YH.prototype.Sp;YH.prototype.horizontalOffset=YH.prototype.$p;YH.prototype.verticalOffset=YH.prototype.gg;YH.prototype.tooltip=YH.prototype.rb;YH.prototype.draw=YH.prototype.I;YH.prototype.editStructurePreviewFill=YH.prototype.ly;YH.prototype.editStructurePreviewStroke=YH.prototype.my;YH.prototype.editStructurePreviewDashStroke=YH.prototype.ky;cI.prototype.title=cI.prototype.title;cI.prototype.width=cI.prototype.width;cI.prototype.defaultWidth=cI.prototype.Hp;cI.prototype.enabled=cI.prototype.enabled;cI.prototype.textFormatter=cI.prototype.Fb;cI.prototype.cellTextSettings=cI.prototype.Qg;cI.prototype.cellTextSettingsOverrider=cI.prototype.RD;cI.prototype.collapseExpandButtons=cI.prototype.SD;cI.prototype.depthPaddingMultiplier=cI.prototype.rE;cI.prototype.setColumnFormat=cI.prototype.oQ;cI.prototype.draw=cI.prototype.I;function kI(a){Oj.call(this);this.scale=a}G(kI,dt);g=kI.prototype;g.ia=2;g.Vm=1;g.mh=null;g.Um=null;g.qh=null;g.il=null;g.xe=null;g.vx=function(a){return m(a)?(a=Math.round(a)||1,this.Vm!=a&&(this.Vm=a,this.xe=this.il=this.qh=this.Um=null,this.ca(2)),this):this.Vm};g.set=function(a){hg(this.qh,a)||(this.qh=Zf(a),this.qh=Of(this.qh,function(a){return I(a)}),db(this.qh),ag(this.qh),this.qh[0]=0,this.xe=this.il=this.Um=null,this.ca(2));return this};g.names=function(a){if(m(a))return this.mh!=a&&(this.mh=a,this.ca(2)),this;a=lI(this);var b,c;if(this.mh&&this.mh.length<a.length||!this.xe){var d=this.scale.names();this.xe=[];for(b=0;b<a.length;b++){c=r(a[b])?a[b][0]:a[b];var e=this.scale.Fi(c);isNaN(e)?this.xe.push(c):this.xe.push(d[e])}}if(this.mh)for(;this.mh.length<a.length;)this.mh.push(this.xe[this.mh.length]);c=this.mh||this.xe;d=Math.min(c.length,a.length);e=[];for(b=0;b<d;b++){var f,h;h=a[b];r(h)?(f=h[0],h=h[1]):f=h;f=this.scale.transform(f,0);h=this.scale.transform(h,1);0>f&&0>h||1<f&&1<h||e.push(c[b])}return e};g.get=function(){return Nf(lI(this),function(a){var b;r(a)?(b=a[0],a=a[1]):b=a;b=this.transform(b,0);a=this.transform(a,1);return!(0>b&&0>a||1<b&&1<a)},this.scale)};function lI(a){if(a.Um)return a.Um;if(a.qh)return a.Um=a.dz(a.qh);a.il||(a.il=a.dz(a.MD()));return a.il||[]}g.MD=function(){for(var a=[],b=0,c=this.scale.values().length;b<c;b+=this.Vm)a.push(b);return a};g.dz=function(a){var b=a.length||0,c=this.scale.values(),d=c.length;if(!b||!d)return[];for(var e=[],f=!1,h=0;h<b&&!f;h++){var k=a[h],l=a[h+1];isNaN(l)||l>=d?(l=d-1,f=!0):l--;e.push(k==l?c[k]:[c[k],c[l]])}return e};function mI(a){a.Um=null;a.il=null;a.xe=null}g.o=function(){var a=kI.v.o.call(this);this.qh?a.explicit=this.qh:isNaN(this.Vm)||(a.interval=this.Vm);this.mh&&(a.names=this.mh);return a};g.jc=function(a){var b=arguments;return r(b[0])?(this.set(b[0]),!0):dt.prototype.jc.apply(this,b)};g.K=function(a){kI.v.K.call(this,a);"explicit"in a?this.set(a.explicit):"interval"in a&&this.vx(a.interval);this.mh=a.names||null;this.xe=this.il=null};kI.prototype.interval=kI.prototype.vx;kI.prototype.set=kI.prototype.set;kI.prototype.get=kI.prototype.get;kI.prototype.names=kI.prototype.names;function sb(){this.a=[];this.c=[];this.h={};this.m=null;this.j=!0;this.b=null;vb.call(this)}G(sb,vb);g=sb.prototype;g.qa=function(){return"ordinal"};g.Oc=function(a){return!m(a)};g.ja=function(a){this.b||(this.b=new kI(this),L(this,this.b),R(this.b,this.UM,this));return m(a)?(this.b.C(a),this):this.b};g.values=function(a,b){if(!m(a))return this.a;if(null===a)this.j||(this.j=!0,this.ca(4));else{this.j=!1;var c=r(a);this.bi();c&&a.length?this.xb.apply(this,a):this.xb.apply(this,arguments);this.Cs(!1)}return this};g.names=function(a){if(m(a)){if(null===a)this.c=[];else if(r(a))this.c=Zf(a);else{if(!u(a)||this.c==a)return this;this.c=a}this.g=null;mI(this.ja());this.ca(2);return this}if(r(this.c)){this.g||(this.g=Zf(this.c));if(this.g.length<this.a.length)for(;this.g.length!=this.a.length;)this.g.push(this.a[this.g.length]);return this.g}return this.xe||[]};function nI(a){return r(a.c)?null:a.c}g.Fi=function(a){a=+this.h[rr(a)];return isNaN(a)?NaN:a};function oI(a,b,c){a.h=b;a.a=c}
g.bi=function(){this.m=this.a;this.a=[];this.h={};this.g=this.xe=null;return this};g.Cs=function(a){var b=!hg(this.m,this.a);b&&(this.b&&mI(this.b),a||this.ca(2));return b};g.xb=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b],d=rr(c);m(this.h[d])||(this.h[d]=this.a.length,this.a.push(c))}return this};g.Uc=function(){return this.j};g.Rp=function(){return this.a};g.Ey=function(){return 1/this.a.length*this.Ia};g.transform=function(a,b){var c=this.Fi(a);return isNaN(c)?NaN:EF(this,c/this.a.length+(b||0)/this.a.length)};g.ac=function(a){a=tb(this,a);return this.a[ub(Math.ceil(a*this.a.length)-1,0,this.a.length-1)]};g.UM=function(a){Y(a,2)&&this.ca(2)};g.o=function(){var a=sb.v.o.call(this);this.j||(a.values=this.values());this.c&&(a.names=this.c);a.ticks=this.ja().o();return a};g.K=function(a){sb.v.K.call(this,a);this.values(a.values);this.ja(a.ticks);this.names(a.names)};function IF(){return new sb}
E("anychart.scales.ordinal",IF);sb.prototype.getType=sb.prototype.qa;sb.prototype.transform=sb.prototype.transform;sb.prototype.inverseTransform=sb.prototype.ac;sb.prototype.ticks=sb.prototype.ja;sb.prototype.values=sb.prototype.values;sb.prototype.names=sb.prototype.names;sb.prototype.extendDataRange=sb.prototype.xb;function pI(a){kI.call(this,a)}G(pI,kI);pI.prototype.MD=function(){var a=[],b=this.scale.wq();b.length||(b=this.scale.Ii());if(b)for(var c=0,b=b.length;c<b;c+=this.vx())a.push(c);return a};pI.prototype.dz=function(a){var b=a.length||0,c=this.scale.Ii(),d=c.length;if(!b||!d)return[];for(var e=[],f=!1,h=0;h<b&&!f;h++){var k=a[h],l=a[h+1];isNaN(l)||l>=d?(l=d-1,f=!0):l--;var n=(c[k].start+c[k].end)/2,p=(c[l].start+c[l].end)/2;e.push(k==l?n:[n,p])}return e};function Ow(){vb.call(this);this.m=this.a=null;this.h=[];this.F=this.b=null;this.w=[];this.K(Wq().defaultOrdinalColorScale)}G(Ow,vb);g=Ow.prototype;g.qa=function(){return"ordinalColor"};g.bc=function(a){return m(a)?(a=!!a,this.D!=a&&(this.D=a,this.bi(),this.ca(2)),this):this.D};g.of=function(a){if(m(a))return null===a?this.a=[]:r(a)&&(this.a=Zf(a)),this.bi(),this.ca(2),this;if(r(this.a)){this.N||(this.N=Zf(this.a));if(this.N.length<this.h.length)for(;this.N.length!=this.h.length;)this.N.push(this.h[this.N.length]);return this.N}return this.F||[]};g.names=function(a){if(m(a)){if(null===a)this.m=[];else if(r(a))this.m=Zf(a);else{if(!u(a)||this.m==a)return this;this.m=a}this.bi();mI(this.ja());this.ca(4);return this}this.bb();if(r(this.m)){this.g||(this.g=Zf(this.m));if(this.g.length<this.b.length)for(;this.g.length!=this.b.length;)this.g.push(this.b[this.g.length]);return this.g}if(!this.xe){this.xe=[];a=0;for(var b=this.b.length;a<b;a++){var c=this.b[a],d;m(c.Ys)?d=c.Ys:isFinite(c.start+c.end)?c.start===c.end?d=c.start:d=c.start+" - "+c.end:d=isFinite(c.start)?"> "+c.start:"< "+c.end;c.name||(c.name=d);this.xe.push(d)}}return this.xe};g.wq=function(a){return m(a)?(this.h!=a&&(this.h=a,this.F=Wq().defaultOrdinalColorScale.autoColors(this.h.length),this.bi(),mI(this.ja()),this.ca(4)),this):this.h};g.Ii=function(){this.bb();this.names();return this.b};g.sh=function(a){this.bb();var b=null;if(this.b)for(var c=this.b.length;c--;){var d=this.b[c];if(m(d.Ys)&&d.Ys===a||a>=d.start&&a<=d.end&&-1<d.sourceIndex)b=d}return b};g.Vn=function(a){this.bb();var b="none";if(a=this.sh(a)){var c=a.sourceIndex;if(0<=c){var d=this.of();m(a.color)?b=a.color:d&&0<d.length&&(b=c>d.length-1?d[d.length-1]:d[c])}}return b};g.SM=function(a){this.bb();a=zq(a).ef;for(var b=NaN,c=0,d=this.b.length;c<d;c++){var e=this.b[c],f=this.of();if(a==zq(e.color||f[e.sourceIndex]||f[f.length-1]).ef){b=(e.start+e.end)/2;break}}return b};g.Fi=function(a){this.bb();return(a=this.sh(a))?Lf(this.b,a):-1};g.ja=function(a){if(!this.j){var b=new pI(this);L(this,b);R(b,this.TM,this);this.j=b}return m(a)?(this.j.C(a),this):this.j};g.TM=function(a){Y(a,2)&&this.ca(2)};g.transform=function(a,b){this.bb();var c=this.sh(a);return c?(Lf(this.b,c)+(b||0))*(1/this.b.length):NaN};g.ac=function(a){this.bb();a=this.b[ub(Math.ceil(a*this.b.length)-1,0,this.b.length-1)];return(a.start+a.end)/2};g.Uc=function(){return!!this.wq.length};g.Cs=function(a){this.c=!1;a||this.ca(2);return!0};g.bi=function(){this.g=this.B=this.xe=this.N=this.b=null;this.w.length=0;return this};g.xb=function(a){for(var b=0;b<arguments.length;b++)this.w.push(arguments[b]);return this};g.bb=function(){if(!this.b){var a,b,c,d,e,f=[];if(!this.h.length){this.B=[];ag(this.w);var h=[],k=[];Mf(this.w,function(a){var b=I(a);isNaN(a)?h.push({equal:a}):k.push(b)});db(k);b=Math.round(1+3.32*Math.log(k.length)/Math.log(10));a=k[0];c=(k[k.length-1]-a)/b;d=Math.floor(a);var l=Math.ceil(d+c);for(a=0;a<b;a++)this.B.push({from:d,to:l}),d=l,l=Math.ceil(d+c);this.B=this.B.concat(h);this.F=Wq().defaultOrdinalColorScale.autoColors(this.B.length)}l=this.h.length?this.h:this.B;a=0;for(b=l.length;a<b;a++){c=l[a];d=this.m?this.m[a]:null;e=this.of();var n=this.bc()?Math.max(0,e.length-1-a):a;e=e&&e[n]?e[n]:null;var n=!0,p=a,q=c.equal,t=I(c.from),v=I(c.to),w=I(c.less),x=I(c.greater),z,C,F=void 0;m(q)?(t=I(q),isNaN(t)?F=q:C=z=t):isNaN(t)||isNaN(v)?isNaN(x)?isNaN(w)?n=!1:(z=Number.NEGATIVE_INFINITY,C=w):(z=x,C=Number.POSITIVE_INFINITY):(z=Math.min(t,v),C=Math.max(t,v));n&&f.push({Ys:F,start:z,end:C,sourceIndex:p,enabled:!0,color:c.color||e,name:c.name||d})}db(f,function(a,b){var c=a.start>b.start?1:a.start<b.start?-1:0;Math.max(a.start,b.start)<=Math.min(a.end,b.end)&&(a.start>b.start?a.sourceIndex>b.sourceIndex?b.end=a.start:(a.start=b.end,a.start>=a.end&&(a.enabled=!1)):a.start<b.start?a.sourceIndex>b.sourceIndex?(b.start=a.end,b.start>=b.end&&(b.enabled=!1)):a.end=b.start:a.sourceIndex>b.sourceIndex?(b.start=a.end,b.start>=b.end&&(b.enabled=!1)):(a.end=b.start,a.start>=a.end&&(a.enabled=!1)));return c});z=[];a=0;for(b=f.length;a<b;a++)c=f[a],c.enabled&&z.push(c);f.length=0;this.b=z}};function JF(a){var b=new Ow;b.wq(a);return b}g.o=function(){var a=Ow.v.o.call(this);a.ticks=this.ja().o();this.h&&this.h.length&&(a.ranges=this.h);this.m&&(a.names=this.m);this.a&&(a.colors=this.a);return a};g.K=function(a){Ow.v.K.call(this,a);this.ja(a.ticks);this.of(a.colors);this.wq(a.ranges);this.names(a.names)};E("anychart.scales.ordinalColor",JF);Ow.prototype.getType=Ow.prototype.qa;Ow.prototype.colors=Ow.prototype.of;Ow.prototype.ranges=Ow.prototype.wq;Ow.prototype.names=Ow.prototype.names;Ow.prototype.ticks=Ow.prototype.ja;Ow.prototype.inverted=Ow.prototype.bc;Ow.prototype.getRangeByValue=Ow.prototype.sh;Ow.prototype.getProcessedRanges=Ow.prototype.Ii;Ow.prototype.valueToColor=Ow.prototype.Vn;Ow.prototype.colorToValue=Ow.prototype.SM;Ow.prototype.getIndexByValue=Ow.prototype.Fi;Ow.prototype.transform=Ow.prototype.transform;Ow.prototype.inverseTransform=Ow.prototype.ac;function ru(){vb.call(this);this.b=0;this.g=1;this.w=this.B=!0;this.H=this.J=.1;this.m=this.N=this.max=this.min=NaN;this.ff=1;this.M=this.c=!1}G(ru,vb);g=ru.prototype;g.zj=function(a){if(m(a)){a=I(a);var b=isNaN(a);if(b!=this.B||!b&&a!=this.min)this.B=b,this.min=a,this.N=NaN,this.c=!1,b?this.ca(4):this.ca(2);return this}this.bb();return this.min};g.kk=function(a){if(m(a)){a=I(a);var b=isNaN(a);if(b!=this.w||!b&&a!=this.max)this.w=b,this.max=a,this.m=NaN,this.c=!1,b?this.ca(4):this.ca(2);return this}this.bb();return this.max};g.Yz=function(a){return m(a)?(a=I(a),isNaN(a)&&isNaN(this.N)||a==this.N||(this.N=a,this.min=NaN,this.B=!0,this.c=!1,this.ca(4)),this):this.N};g.Xz=function(a){return m(a)?(a=I(a),isNaN(a)&&isNaN(this.m)||a==this.m||(this.m=a,this.max=NaN,this.w=!0,this.c=!1,this.ca(4)),this):this.m};g.Xm=function(a){return m(a)?(a=+a||0,this.J!=a&&(this.J=a,this.B&&(this.c=!1,this.ca(2))),this):this.J};g.Wm=function(a){return m(a)?(a=+a||0,this.H!=a&&(this.H=a,this.w&&(this.c=!1,this.ca(2))),this):this.H};g.ue=function(a){X(this);"percent"==a&&(this.Xm(0),this.Wm(0));a=ru.v.ue.call(this,a);this.O(!0);return a};g.bi=function(){this.ua=this.b;this.da=this.g;this.b=Infinity;this.g=-Infinity;this.c=!1;return this};g.xb=function(a){for(var b=0;b<arguments.length;b++){var c=+arguments[b];isNaN(c)&&(c=parseFloat(arguments[b]));c<this.b&&(this.b=c,this.c=!1);c>this.g&&(this.g=c,this.c=!1)}return this};g.Cs=function(a){var b=this.ua!=this.b||this.da!=this.g;b&&(this.c=!1,a||this.ca(2));return b};g.Uc=function(){return this.B||this.w};g.transform=function(a){this.bb();a=I(a);return EF(this,(a-this.min)/this.ff)};g.bb=function(){this.c||(this.c=!0,this.sE())};g.sE=function(){isFinite(this.g)?isFinite(this.b)?1E-10>Math.abs(this.b-this.g)&&(this.b-=.5,this.g+=.5):this.b=this.g-1:isFinite(this.b)?this.g=this.b+1:(this.b=0,this.g=1);var a=(this.w?isNaN(this.m)?this.g:Math.max(this.g,this.m):this.max)-(this.B?isNaN(this.N)?this.b:Math.min(this.b,this.N):this.min);this.B&&(this.min=this.b-a*this.J,isNaN(this.N)||(this.min=0<a?Math.min(this.min,this.N):Math.max(this.min,this.N)),this.M&&0>this.min&&0<=this.b&&this.min!=this.N&&(this.min=0));this.w&&(this.max=this.g+a*this.H,isNaN(this.m)||(this.max=0<a?Math.max(this.max,this.m):Math.min(this.max,this.m)),this.M&&0>this.max&&0<=this.g&&this.max!=this.m&&(this.max=0))};g.ac=function(a){this.bb();a=tb(this,a);return a*this.ff+this.min};g.o=function(){var a=ru.v.o.call(this);a.maximum=this.w?null:this.max;a.minimum=this.B?null:this.min;a.minimumGap=this.Xm();a.maximumGap=this.Wm();a.softMinimum=isNaN(this.N)?null:this.N;a.softMaximum=isNaN(this.m)?null:this.m;return a};g.K=function(a){ru.v.K.call(this,a);this.Xm(a.minimumGap);this.Wm(a.maximumGap);this.Yz(a.softMinimum);this.Xz(a.softMaximum);this.zj(a.minimum);this.kk(a.maximum)};function qI(a,b){a=(a+"").toLowerCase();switch(a){case"log":case"logarithmic":return FF();case"lin":case"linear":return GF();case"date":case"datetime":case"dt":return HF();default:return b?null:GF()}}ru.prototype.transform=ru.prototype.transform;ru.prototype.inverseTransform=ru.prototype.ac;ru.prototype.minimum=ru.prototype.zj;ru.prototype.maximum=ru.prototype.kk;ru.prototype.extendDataRange=ru.prototype.xb;function Pv(){X(this);Z.call(this);this.zr=[];this.Ar=[];this.h=980;this.O(!1)}G(Pv,Z);g=Pv.prototype;g.$=Z.prototype.$|976;g.ia=Z.prototype.ia;g.Zg="axis";g.lb=null;g.na=null;g.hh=null;g.Yi=null;g.li=null;g.aw="top";g.Xh=null;g.Yo="noOverlap";g.Nq=!1;g.On=null;g.wk=null;g.Mq=1;g.Bj=null;g.sa=null;g.Pa=null;g.Ci=!0;g.Di=!0;g.zr=null;g.Ar=null;g.title=function(a){this.lb||(this.lb=new hA,this.lb.La(this),R(this.lb,this.gK,this),L(this,this.lb));return m(a)?(this.lb.C(a),this):this.lb};g.gK=function(a){var b=0,c=0;Y(a,8)?(b=this.h,c=9):Y(a,1)&&(b=64,c=1);T(this,b,c)};g.labels=function(a){this.na||(this.na=new Tt,this.na.La(this),R(this.na,this.dK,this),L(this,this.na));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.dK=function(a){var b=0,c=0;Y(a,8)?(b=this.h,c=9):Y(a,1)&&(b=384,c=1);this.B=null;rI(this);T(this,b,c)};g.Na=function(a){this.hh||(this.hh=new Tt,this.hh.La(this),this.$a()?this.hh.rotation(0):this.hh.rotation(-90),R(this.hh,this.eK,this),L(this,this.hh));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.hh.C(a),this):this.hh};g.eK=function(a){var b=0,c=0;Y(a,8)?(b=this.h,c=9):Y(a,1)&&(b=128,c=1);rI(this);T(this,b,c)};g.$v=function(){return new Av};g.Cy=function(){return this.g?this.g:this.g=Yn()};g.ja=function(a){this.Yi||(this.Yi=this.$v(),this.Yi.La(this),R(this.Yi,this.XG,this),L(this,this.Yi));return m(a)?(this.Yi.C(a),this):this.Yi};g.Ga=function(a){this.li||(this.li=this.$v(),this.li.La(this),R(this.li,this.XG,this),L(this,this.li));return m(a)?(this.li.C(a),this):this.li};g.XG=function(a){var b=0,c=0;Y(a,8)?(b=this.h,c=9):Y(a,1)&&(b=256,c=1);T(this,b,c)};g.stroke=function(a,b,c,d,e){if(m(a)){a=Gn.apply(null,arguments);if(this.c!=a){var f=B(this.c)?this.c.thickness||1:1,h=B(a)?a.thickness||1:1;this.c=a;h==f?T(this,16,1):T(this,this.h,9)}return this}return this.c};g.orientation=function(a){return m(a)?(a=null===a?null:bc(a),this.m!=a&&(this.m=a,this.B=null,T(this,this.h,9)),this):this.m||this.aw};g.sk=function(a){var b=this.aw!=a&&!this.m;this.aw=a;b&&T(this,this.h)};g.scale=function(a){return m(a)?(this.Xh!=a&&(this.Xh&&et(this.Xh,this.bw,this),(this.Xh=a)&&R(this.Xh,this.bw,this),this.B=null,rI(this),nB(this.labels()),nB(this.Na()),T(this,this.h,9)),this):this.Xh};g.bw=function(a){Y(a,2)&&(this.B=null,rI(this),nB(this.labels()),nB(this.Na()),T(this,this.h,9))};g.width=function(a){return m(a)?(this.sa!=a&&(this.sa=a,T(this,this.h,9)),this):this.sa};g.padding=function(a,b,c,d){this.Pa||(this.Pa=new xu,L(this,this.Pa),R(this.Pa,this.fK,this));return m(a)?(this.Pa.C.apply(this.Pa,arguments),this):this.Pa};g.fK=function(a){Y(a,2)&&(this.B=null,rI(this),T(this,this.h,9))};g.Ki=function(){this.B=null;rI(this);T(this,this.h,9)};function rI(a){a.D&&(a.D.length=0);a.zr.length=0;a.Ar.length=0;a.w=null}
function sI(a,b){var c;if(a.Rl())if(a.B)c=a.B;else if((c=a.scale())&&a.labels().enabled()){a.Mq=1;a.J=1;var d;c=c.ja().get();var e=c.length,f,h,k,l,n,p;if(null===a.On){var q=!1;for(f=1;!q&&f<=e;)for(q=!0,k=0;k<f;k++){for(h=k;h<e-f;h+=f)if(l=tI(a,h,!0,c,b),d=tI(a,h+f,!0,c,b),Dl(l,d)){q=!1;f++;break}if(!q)break}a.Mq=q?f:e;a.J=null!==a.wk&&a.Mq>a.wk?a.wk:a.Mq}else a.J=a.On;if((null!==a.On||null!==a.wk&&a.Mq>a.wk)&&"noOverlap"==a.Br()){p=[];for(h=0;h<a.J;h++)for(k=-1,f=h;f<e;f+=a.J)l=tI(a,f,!0,c,b),-1!=k?d=tI(a,k,!0,c,b):d=null,f!=e-1&&a.jg()?n=tI(a,e-1,!0,c,b):n=null,0==f?a.gh()?(k=f,p[f]=!0):p[f]=!1:f==e-1?a.jg()?(k=f,p[f]=!0):p[f]=!1:Dl(l,d)||Dl(l,n)?p[f]=!1:(k=f,p[f]=!0);a.gh()||(p[0]=!1);a.jg()||(p[p.length-1]=!1);d={labels:p,Na:!1}}else{if(!a.gh()||!a.jg())for(p=[],f=0;f<e;f++)0!=f||a.gh()?f!=e-1||a.jg()?p[f]=!0:p[f]=!1:p[f]=!1;d={labels:p?p:!0,Na:!1}}a.ma=[];a.T=[];a.D||(a.D=[]);for(f=k=0;f<e;f++)if(!p||p&&p[f]){a.D[f]?n=a.D[f]:(n=tI(a,f,!0,c,b),a.D[f]=n=M.a(n));n=a.$a()?n.height:n.width;if(!a.ma[k]||a.ma[k]<n)a.ma[k]=n;a.T[k]||(a.T[k]=[]);a.T[k].push(f);0==(k+1)%a.J?k=0:k++}c=a.B=d}else c=a.B={labels:!1,Na:!1};else a:{if(!a.w||W(a,512)){if("allowOverlap"==a.Yo){c=!1;break a}p=a.scale();d=[];n=[];if(p){var t=q=-1,v=-1,w=p.ja().get(),x=w.length,z,C,F,J=-1;c=a.labels().enabled();if(p instanceof ru){var O=p.Ga().get();l=h=0;for(var S=O.length,da,V=a.Na().enabled();h<x||l<S;){f=w[h];e=O[l];z=p.transform(f);da=p.transform(e);e=f=k=C=null;if(-1==t&&c)for(J=h;-1==t&&J<x;)0==J&&a.gh()||J==x-1&&a.jg()||0!=J&&J!=x-1?e=tI(a,J,!0,w,b):e=null,-1!=q?f=tI(a,q,!0,w,b):f=null,J!=x-1&&a.jg()?k=tI(a,x-1,!0,w,b):k=null,!e||Dl(e,f)||Dl(e,k)||(F=p.transform(w[J]),0>=F&&a.gh()||1<=F&&a.jg()?t=J:0<F&&1>F&&(t=J)),J++;z<=da&&h<x||l==S?(c&&h==t?(q=h,t=-1,d.push(!0)):d.push(!1),h++,z==da&&(a.labels().enabled()||a.ja().enabled())&&(n.push(!1),l++)):(V?(e=tI(a,l,!1,O,b),-1!=q&&(f=tI(a,q,!0,w,b)),-1!=t&&(k=tI(a,t,!0,w,b)),-1!=v&&(C=tI(a,v,!1,O,b)),z=(z=oB(a.Na(),l))?m(z.enabled())?z.enabled():!0:!0,Dl(e,f)||Dl(e,k)||Dl(e,C)||!z?n.push(!1):(F=p.transform(O[l]),0>=F&&a.gh()||1<=F&&a.jg()?(v=l,n.push(!0)):0<F&&1>F?(v=l,n.push(!0)):n.push(!1))):n.push(!1),l++)}V||(n=!1)}else if(p instanceof vb)for(h=0;h<x;h++)c?(0==h&&a.gh()||h==x-1&&a.jg()||0!=h&&h!=x-1?e=tI(a,h,!0,w,b):e=null,-1!=q?f=tI(a,q,!0,w,b):f=null,h!=x-1&&a.jg()?k=tI(a,x-1,!0,w,b):k=null,0==h?a.gh()?(q=h,d.push(!0)):d.push(!1):h==x-1?a.jg()?(q=h,d.push(!0)):d.push(!1):Dl(e,f)||Dl(e,k)?d.push(!1):(q=h,d.push(!0))):d.push(!1)}c||(d=!1);a.w={labels:d,Na:n};U(a,512)}c=a.w}return c}g.fk=function(a){var b=0;a.enabled()&&("outside"==a.position()?b=a.length():b="center"==a.position()?a.length()/2:0);return b};g.ND=function(a,b){var c=this.ja(),d=this.Ga(),e=this.fk(c),f=this.fk(d),h=0,k=0,h="outside"==c.position()?a+e:"center"==c.position()?a+e/2:a,k="outside"==d.position()?b+f:"center"==d.position()?b+f/2:b;return Math.max(h,k)};function uI(a,b,c){var d,e,f,h=0,k=0,l=0;f=a.title();e=a.labels();var n=a.Na(),p=a.orientation();f.enabled()&&(f.A()||f.A(a.A()),X(f),f.R(b),f.sk(p),l=a.$a()?kA(f).height:kA(f).width,f.O(!1));b=a.scale();e=e.enabled()&&m(b);n=n.enabled()&&m(b)&&b instanceof ru;f=a.$a()?c:0;c=a.$a()?0:c;c=new M(0,0,f,c);var p=sI(a,c),q;if(e&&b){q=b.ja().get();var t=B(p)?p.labels:!p;if(a.Rl())for(e=0;e<a.ma.length;e++)h+=a.ma[e];else for(e=0,f=q.length;e<f;e++)if(r(t)?t[e]:t)d=M.a(tI(a,e,!0,q,c)),d=a.$a()?d.height:d.width,d>h&&(h=d)}if(n&&!a.Rl())for(n=B(p)?p.Na:!p,q=b.Ga().get(),e=0,f=n.length;e<f;e++)if(r(n)?n[e]:n)d=M.a(tI(a,e,!1,q,c)),d=a.$a()?d.height:d.width,d>k&&(k=d);return a.ND(h,k)+l}g.By=function(a){return this.$a()?this.padding().Ie(a):this.padding().He(a)};g.pb=function(){var a=this.R();if(a){var b=a.clone();if(this.scale()&&this.enabled()){var c=this.Cb(),d=this.padding(),e=a.height-d.He(a.height)+c.height,a=a.width-d.Ie(a.width)+c.width;switch(this.orientation()){case"top":b.height-=e;b.top+=e;break;case"right":b.width-=a;break;case"bottom":b.height-=e;break;case"left":b.width-=a,b.left+=a}}return b}return new M(0,0,0,0)};g.hC=function(a,b,c){return this.sa?Q(this.sa,a):uI(this,c,b)};g.Cb=function(){if(!this.Bj||W(this,4)){var a=this.R();if(a){var b,c;a.top=Math.round(a.top);a.left=Math.round(a.left);a.width=Math.round(a.width);a.height=Math.round(a.height);this.$a()?(b=a.width,c=a.height):(b=a.height,c=a.width);b=this.By(b);c=this.hC(c,b,a);var d,e,f=this.padding(),h=Q(f.top(),a.height),k=Q(f.right(),a.width),l=Q(f.bottom(),a.height),f=Q(f.left(),a.width),n,p;switch(this.orientation()){case"top":e=a.top+h;d=a.left+f;p=c;n=b;break;case"right":e=a.top+h;d=a.left+a.width-c-k;p=b;n=c;break;case"bottom":e=a.top+a.height-c-l;d=a.left+f;p=c;n=b;break;case"left":e=a.top+h,d=a.left+f,p=b,n=c}this.Bj=new M(Math.round(d),Math.round(e),Math.round(n),Math.round(p))}else this.Bj=new M(0,0,0,0);U(this,4)}return this.Bj};function tI(a,b,c,d,e){if(!c&&a.scale()&&!(a.scale()instanceof ru))return null;var f=c?a.zr:a.Ar;if(m(f[b]))return f[b];var h=m(e)?e:a.Cb();e=m(e)?e:a.g.Fa();var k=c?a.ja():a.Ga(),l=k.length(),n=a.stroke(),n=Fr(n)?0:n.thickness?parseFloat(a.stroke().thickness):1;c=c?a.labels():a.Na();var p,q,t=a.scale();d=d[b];r(d)?(t=(t.transform(d[0],0)+t.transform(d[1],1))/2,d=d[0]):t=t.transform(d,.5);if(0>t||1<t)return[0,0];var v=k.enabled(),k=k.position();switch(a.orientation()){case"top":p=Math.round(h.left+
t*h.width);q=e.top-n/2;"outside"==k&&v&&(q-=l);break;case"right":p=e.Oa()+n/2;q=Math.round(h.top+t*h.height);"outside"==k&&v&&(p+=l);break;case"bottom":p=Math.round(h.left+t*h.width);q=e.ra()+n/2;"outside"==k&&v&&(q+=l);break;case"left":p=e.left-n/2,q=Math.round(h.top+t*h.height),"outside"==k&&v&&(p-=l)}h=a.Ay(b,d);p=c.measure(h,{value:{x:p,y:q}},void 0,b);switch(a.orientation()){case"top":p.top+=p.height/2;break;case"right":p.left+=p.width/2;break;case"bottom":p.top+=p.height/2;break;case"left":p.left+=p.width/2}return f[b]=Ml(p)}g.gh=function(a){return m(a)?(this.Ci!=a&&(this.Ci=a,this.B=null,T(this,this.h,9)),this):this.Ci};g.jg=function(a){return m(a)?(this.Di!=a&&(this.Di=a,this.B=null,T(this,this.h,9)),this):this.Di};g.Br=function(a){return m(a)?(a=lc(a,this.Yo),this.Yo!=a&&(this.Yo=a,T(this,this.h,9)),this):this.Yo};g.Rl=function(a){return m(a)?(this.Nq!=a&&(this.Nq=a,T(this,this.h,9)),this):this.Nq};g.bA=function(a){return m(a)?(a=null===a?null:Ea(a),this.On!=a&&(this.On=a,this.B=null,this.Nq&&T(this,this.h,9)),this):this.On};g.cA=function(a){return m(a)?(a=Ea(a),this.wk!=a&&(this.wk=a,this.B=null,this.Nq&&T(this,this.h,9)),this):this.wk};g.$a=function(){var a=this.orientation();return"top"==a||"bottom"==a};g.jy=function(a,b,c){c=a.top+a.height+c/2;this.g.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c)};g.hy=function(a,b,c){c=a.left-c/2;this.g.moveTo(c,a.top+b).lineTo(c,a.top-b+a.height)};g.ay=function(a,b,c){c=a.top-c/2;this.g.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c)};g.dy=function(a,b,c){c=a.left+a.width+c/2;this.g.moveTo(c,a.top+b).lineTo(c,a.top-b+a.height)};g.iC=function(){this.Cy().clear();var a;switch(this.orientation()){case"top":a=this.jy;break;case"right":a=this.hy;break;case"bottom":a=this.ay;break;case"left":a=this.dy}var b=this.stroke().thickness?parseFloat(this.stroke().thickness):1,c=0==b%2?0:.5,d=this.Cb();a.call(this,d,c,b,0,0);this.g.stroke(this.stroke())};g.Ay=function(a,b){return new Wc(this,a,b)};function vI(a,b,c,d,e,f,h){var k=a.Cb(),l=a.g.Fa(),n,p;f?(p=a.ja(),n=a.labels()):(p=a.Ga(),n=a.Na());var q=a.stroke(),q=Fr(q)?0:q.thickness?parseFloat(a.stroke().thickness):1;h=M.a(tI(a,d,f,h));var t=a.orientation(),v=0;if(f&&(f=!0,1<a.J&&a.Rl()))for(var w=0,x=a.T.length;w<x;w++){for(var z=a.T[w],C=0,F=z.length;C<F;C++)if(d==z[C]){f=!1;break}if(!f)break;v+=a.ma[w]}var J,O;p=a.fk(p,-1);switch(t){case"top":J=Math.round(k.left+c*k.width)+e;O=l.top-q/2-h.height/2-v-p;break;case"right":J=l.Oa()+q/2+
h.width/2+v+p;O=Math.round(k.top+k.height-c*k.height)+e;break;case"bottom":J=Math.round(k.left+c*k.width)+e;O=l.ra()+q/2+h.height/2+v+p;break;case"left":J=l.left-q/2-h.width/2-v-p,O=Math.round(k.top+k.height-c*k.height)+e}a=a.Ay(d,b);n.add(a,{value:{x:J,y:O}},d)}g.tb=function(){if(!this.Tb)return!1;if(!this.enabled())return W(this,1)&&(this.remove(),U(this,1),T(this.title(),2),T(this.ja(),2),T(this.Ga(),2),T(this.labels(),2),T(this.Na(),2),T(this,450)),!1;U(this,1);return!0};g.I=function(){var a=this.scale();if(!a)return Rc(2),this;if(!this.tb())return this;var b,c,d,e,f,h=this.orientation();X(this.title());X(this.labels());X(this.Na());X(this.ja());X(this.Ga());W(this,16)&&(this.iC(),U(this,16));if(W(this,8)){var k=this.zIndex();this.title().zIndex(k);this.g.zIndex(k);this.ja().zIndex(k);this.Ga().zIndex(k);this.labels().zIndex(k);this.Na().zIndex(k);U(this,8)}W(this,2)&&(k=this.A(),this.title().A(k),this.g.parent(k),this.ja().A(k),this.Ga().A(k),this.labels().A(k),this.Na().A(k),U(this,2));W(this,64)&&(k=this.title(),k.R(this.Cb()),k.sk(h),k.I(),U(this,64));W(this,256)&&(e=this.ja(),e.orientation(h),e.I(),b=Bv(e),d=this.Ga(),d.orientation(h),d.I(),c=Bv(d),U(this,256));W(this,128)&&(h=this.labels(),h.A()||h.A(this.A()),h.R(this.R()),h.clear(),h=this.Na(),h.A()||h.A(this.A()),h.R(this.R()),h.clear(),U(this,128));if(m(b)||m(c)){var l,n,p,q,h=a.ja().get(),k=h.length,t=this.ja().stroke().thickness?parseFloat(this.Yi.stroke().thickness):1,v,w,x,z,C=this.Cb(),F=this.g.Fa();f=this.stroke();f=Fr(f)?0:f.thickness?parseFloat(this.stroke().thickness):1;if(a instanceof ru){l=sI(this);B(l)?(p=l.labels,q=l.Na):(p=!l,q=!l);var J=a.Ga().get(),O=this.li.stroke().thickness?parseFloat(this.li.stroke().thickness):1;n=l=0;for(var S=J.length,da,V,Ka;l<k||n<S;)v=h[l],da=J[n],w=a.transform(v),V=a.transform(da),w<=V&&l<k||n==S?(Ka=0==t%2?0:-.5,x=r(p)?p[l]:p,(z=r(p)&&p[l]||ia(p))&&b&&b.call(e,w,C,F,f,Ka),x&&vI(this,v,a.transform(v,.5),l,Ka,!0,h),Ka=w,l++):(w=0==O%2?0:-.5,x=r(q)?q[n]:q,(z=r(q)&&q[n]||ia(q))&&c&&Ka!=V&&c.call(d,V,C,F,f,w),x&&Ka!=V&&vI(this,da,a.transform(da,.5),n,w,!1,J),n++);q&&this.Na().I()}else for(c=sI(this),p=B(c)?c.labels:!c,c=0==t%2?0:-.5,l=0;l<k;l++)v=h[l],r(v)?(d=v[0],Ka=v[1],t=(a.transform(v[0],0)+a.transform(v[1],1))/2):(d=Ka=v,t=a.transform(v,.5)),w=a.transform(d,0),b&&(0<=w&&1>=w&&b.call(e,w,C,F,f,c),l==k-1&&(w=a.transform(Ka,1),0<=w&&1>=w&&b.call(e,w,C,F,f,c))),(x=r(p)?p[l]:p)&&0<=t&&1>=t&&vI(this,d,t,l,c,!0,h);this.labels().I()}this.title().O(!1);this.labels().O(!1);this.Na().O(!1);this.ja().O(!1);this.Ga().O(!1);return this};g.remove=function(){this.lb&&this.lb.remove();this.g&&this.g.parent(null);this.ja().remove();this.Ga().remove();this.na&&this.na.remove();this.hh&&this.hh.remove()};g.o=function(){var a=Pv.v.o.call(this);a.title=this.title().o();a.labels=this.labels().o();a.minorLabels=this.Na().o();a.ticks=this.ja().o();a.minorTicks=this.Ga().o();a.stroke=P(this.stroke());a.staggerMode=this.Rl();a.staggerLines=this.bA();a.staggerMaxLines=this.cA();a.width=this.width();this.m&&(a.orientation=this.m);a.drawFirstLabel=this.gh();a.drawLastLabel=this.jg();a.overlapMode=this.Br();return a};g.K=function(a){Pv.v.K.call(this,a);this.title(a.title);this.labels().C(a.labels);this.Na().C(a.minorLabels);this.ja(a.ticks);this.Ga(a.minorTicks);this.Rl(a.staggerMode);this.bA(a.staggerLines);this.cA(a.staggerMaxLines);this.stroke(a.stroke);this.width(a.width);this.orientation(a.orientation);this.gh(a.drawFirstLabel);this.jg(a.drawLastLabel);this.Br(a.overlapMode)};g.V=function(){Pv.v.V.call(this);this.Xh&&et(this.Xh,this.bw,this);delete this.Xh;this.Pa=this.lb=this.Ar=this.zr=null;Ad(this.g);this.hh=this.na=this.Bj=this.li=this.Yi=this.g=null};Pv.prototype.staggerMode=Pv.prototype.Rl;Pv.prototype.staggerLines=Pv.prototype.bA;Pv.prototype.staggerMaxLines=Pv.prototype.cA;Pv.prototype.title=Pv.prototype.title;Pv.prototype.labels=Pv.prototype.labels;Pv.prototype.minorLabels=Pv.prototype.Na;Pv.prototype.ticks=Pv.prototype.ja;Pv.prototype.minorTicks=Pv.prototype.Ga;Pv.prototype.stroke=Pv.prototype.stroke;Pv.prototype.orientation=Pv.prototype.orientation;Pv.prototype.scale=Pv.prototype.scale;Pv.prototype.width=Pv.prototype.width;Pv.prototype.getRemainingBounds=Pv.prototype.pb;Pv.prototype.drawFirstLabel=Pv.prototype.gh;Pv.prototype.drawLastLabel=Pv.prototype.jg;Pv.prototype.overlapMode=Pv.prototype.Br;Pv.prototype.isHorizontal=Pv.prototype.$a;function wI(){Pv.call(this)}G(wI,Pv);wI.prototype.I=function(){nB(this.labels());nB(this.Na());return wI.v.I.call(this)};E("anychart.axes.linear",function(){var a=new wI;a.C(Wq().standalones.linearAxis);return a});wI.prototype.padding=wI.prototype.padding;wI.prototype.draw=wI.prototype.I;wI.prototype.parentBounds=wI.prototype.R;wI.prototype.container=wI.prototype.A;function xI(a,b){WA.call(this);this.va=new sb;R(this.va,this.$l,this);this.Da=new sb;R(this.Da,this.$l,this);this.H=[];this.J=[];this.Oe=[];this.j=this.B=this.D=this.b=null;this.ea=new pb(this,!0);this.ua=new pb(this,!1);var c=new YC(a||null||null,b);c.La(this);L(this,c);this.a=c;c.ce(this);c.index(0).id(0);c.oe=30;c.labels().oe=30.000005;c.clip(!0);var d=Wq();c.Fe(d.palette.items[0]);c.Ig(d.markerPalette.items[0]);c.ah(d.hatchFillPalette.items[0]);c.aa().oe=30.000005;var e=c.aa(),f=c.md();e.M=f;e=c.aa();f=c.Ud();e.W=f;c.labels().Fe(Cq(c.color()));c.Ye(d[this.qa()].defaultSeriesSettings.base.a11y);R(c,this.uI,this);T(this,12832,1)}G(xI,WA);g=xI.prototype;g.qa=function(){return"heatMap"};g.$=WA.prototype.$|1044480;g.ut=function(){T(this,524288,1)};g.dF=function(a){return a?this.Z():this.ba()};g.XE=function(){W(this,4096)&&(qb(this.Fh())||qb(this.Wl()))&&this.bb()};g.Fh=function(a){return m(a)?(X(this),this.ea.C(a),this.O(!0),this):this.ea};g.Wl=function(a){return m(a)?(X(this),this.ua.C(a),this.O(!0),this):this.ua};g.Eh=function(a){this.M||(this.M=new Xx,this.M.La(this),R(this.M,this.QQ,this),this.N.pa(this.M,"scrollerchangestart",this.AB),this.N.pa(this.M,"scrollerchange",this.zB),this.N.pa(this.M,"scrollerchangefinish",this.yB),T(this,131076,1));return m(a)?(this.M.C(a),this):this.M};g.Gj=function(a){this.T||(this.T=new Xx,this.T.La(this),R(this.T,this.RQ,this),this.N.pa(this.T,"scrollerchangestart",this.AB),this.N.pa(this.T,"scrollerchange",this.zB),this.N.pa(this.T,"scrollerchangefinish",this.yB),T(this,262148,1));return m(a)?(this.T.C(a),this):this.T};g.QQ=function(a){var b=131072,c=1;Y(a,8)&&(b|=4,c|=8);T(this,b,c)};g.RQ=function(a){var b=262144,c=1;Y(a,8)&&(b|=4,c|=8);T(this,b,c)};g.AB=function(){};g.zB=function(a){var b=a.target==this.Eh()?this.ea:this.ua;b.cn()&&(a.preventDefault(),X(this),b.Ni(a.startRatio,a.endRatio),this.O(!0))};g.yB=function(a){var b=a.target==this.Eh()?this.ea:this.ua;b.cn()||(a.preventDefault(),X(this),b.Ni(a.startRatio,a.endRatio),this.O(!0))};function yI(a,b){return m(b)?(a.fg=b,a):a.fg||{}}function zI(a,b){return m(b)?(a.rg=b,a):a.rg||{}}function AI(a,b){return m(b)?(a.W=b,a):a.W||{}}
g.Z=function(a){if(m(a)){if(!(a instanceof sb))return K(16,null,[a.qa(),"Ordinal"],!1),this;this.va!=a&&(this.va&&et(this.va,this.$l,this),this.va=a,R(this.va,this.$l,this),T(this,4096,1));return this}return this.va};g.$l=function(a){Y(a,4)&&T(this,512,1)};g.ba=function(a){if(m(a)){if(!(a instanceof sb))return K(16,null,[a.qa(),"Ordinal"],!1),this;this.Da!=a&&(this.Da&&et(this.Da,this.$l,this),this.Da=a,R(this.Da,this.$l,this),T(this,4096,1));return this}return this.Da};g.nv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Oe[c];e||(e=new ow,e.ce(this),e.C(AI(this)),this.Oe[c]=e,L(this,e),R(e,this.tI,this),T(this,32768,1));return m(d)?(e.C(d),this):e};g.tI=function(){T(this.a,80);T(this,40960,1)};g.ov=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.H[c];e||(e=new Pv,e.La(this),e.C(yI(this)),this.H[c]=e,L(this,e),R(e,this.xB,this),T(this,16388,1));return m(d)?(e.C(d),this):e};g.pv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.J[c];e||(e=new Pv,e.La(this),e.C(zI(this)),this.J[c]=e,L(this,e),R(e,this.xB,this),T(this,16388,1));return m(d)?(e.C(d),this):e};g.xB=function(a){var b=0,c=0;Y(a,1)&&(b|=16384,c|=1);Y(a,8)&&(b|=4);T(this,b,c)};g.tj=function(a){return a>=this.H.length?this.J[a-this.H.length]:this.H[a]};g.ad=function(a){return m(a)?(this.m!=a&&(this.m&&et(this.m,this.wB,this),(this.m=a)&&R(this.m,this.wB,this),T(this,66048,1)),this):this.m};g.wB=function(a){Y(a,6)&&T(this,66048,1)};g.Bi=function(a){var b,c=[];this.bb();if("categories"==a){var d=this.ad();if(d&&d instanceof Ow){var e=this.a,f=d.Ii();a=0;for(b=f.length;a<b;a++){var h=f[a];c.push({text:h.name,iconEnabled:!0,iconType:"square",iconFill:h.color,disabled:!this.enabled(),sourceUid:D(this),sourceKey:a,meta:{Y:e,scale:d,ff:h}})}}}return c};g.jk=function(a){return"categories"==a};g.wn=function(a,b){var c=a.l(),d;if("categories"==this.sf().Fg()){d=c.Y;var e=c.scale;if(e&&d){for(var f=[],c=c.ff,h=d.Ya();h.advance();){var k=h.get("heat");c==e.sh(k)&&f.push(h.S())}if(e=tr(b.domTarget))this.Dc().yb()==$a?e.Ab={Y:d,zb:f}:e.Ab=[{Y:d,zb:f,Nf:f[f.length-1],Wb:{index:f[f.length-1],Vc:0}}]}}};g.Al=function(a,b){var c=a.l(),d;if("categories"==this.sf().Fg()){d=c.Y;var e=c.scale;if(e&&d){for(var f=c.ff,h=d.Ya(),c=[];h.advance();){var k=h.get("heat");f==e.sh(k)&&c.push(h.S())}if(e=tr(b.domTarget))this.Dc().yb()==$a?e.Ab={Y:d,zb:c}:e.Ab=[{Y:d,zb:c,Nf:c[c.length-1],Wb:{index:c[c.length-1],Vc:0}}]}}};g.zl=function(a,b){var c=a.l();if("categories"==this.sf().Fg()&&this.Dc().yb()==$a){var d=tr(b.domTarget);d&&(d.Y=c.Y)}};g.Gs=function(a,b){for(var c=[],d=0,e=a.length;d<e;d++){var f=a[d],h;f.Wb?h={index:f.Wb.index,distance:f.Wb.Vc}:h={index:NaN,distance:NaN};c.push({series:this,points:b?[]:f.zb?Zf(f.zb):[],nearestPointToCursor:h})}return c};g.lq=function(a,b,c){a=xI.v.lq.call(this,a,b,c);a.series=this;return a};g.vd=function(a){return this.a.vd(a)};g.Vh=function(a){var b=this.j||Nl(0,0,0,0),c=a.clientX;a=a.clientY;var d,e,f=xk(this.A().oa().A()),c=c-f.x;a=a-f.y;f=b.left;d=b.top;e=b.width;b=b.height;if(c<f||c>f+e||a<d||a>d+b)return null;b=[];d=this.Dc();if("bySpot"==d.yb()){d=d.vk();var h=(c-d-f)/e;e=(c+d-f)/e;f=this.a;if(f.enabled()){h=f.Z().ac(h);e=f.Z().ac(e);for(var h=f.data().ek(h,e,!1,"x"),k=f.G(),l=[],n=Infinity,p,q=0;q<h.length;q++)if(e=h[q],k.select(e)){var t=k.l("x"),v=k.l("y"),t=Math.sqrt(Math.pow(t-c,2)+Math.pow(v-a,2));t<=d&&(l.push(e),t<n&&(n=t,p=e))}l.length&&b.push({Y:f,zb:l,Nf:l[l.length-1],Wb:{index:p,Vc:n}})}}else if("byX"==this.Dc().yb()&&(d=(c-f)/e,f=this.a,d=f.Z().ac(d),e=hv(f.data(),d,"x","heat"),k=f.G(),n=Infinity,e.length)){for(q=0;q<e.length;q++)k.select(e[q])&&(t=k.l("x"),v=k.l("y"),t=Math.sqrt(Math.pow(t-c,2)+Math.pow(v-a,2)),t<n&&(n=t,p=e[q]));b.push({Y:f,zb:e,Nf:e[e.length-1],Wb:{index:p,Vc:n}})}return b};g.uI=function(a){var b=0;Y(a,1)&&(b=8192);Y(a,2048)&&(b=32);Y(a,16)&&(b|=8224,T(this.a,80),"categories"==this.sf().Fg()&&(b|=512));Y(a,4)&&(b|=69632);Y(a,64)&&(b|=512,Y(a,8)&&(b|=4));T(this,b,1)};g.sd=function(){return[this.a]};g.Kb=function(a){return this.a.Kb(a)};g.Jf=function(){return this.Kb()};g.zk=function(){return!0};g.bb=function(){if(W(this,4096)){var a,b,c=this.ba(),d=this.Z();this.a.Z(d);this.a.ba(c);var e=d.Uc(),f=c.Uc();if(e||f)for(e&&d.wf(),f&&c.wf(),a=this.a.Ya();a.advance();)e&&(b=a.get("x"),m(b)&&d.xb(b)),f&&(b=a.get("y"),m(b)&&c.xb(b));var h,k,e=b=null,l,n=nI(d),p=nI(c);if(n||p){n&&(h=n,b=[]);p&&(k=p,e=[]);for(a=this.a.Ya();a.advance();)n&&(f=d.Fi(a.get("x")),l=a.get(h),m(b[f])||(b[f]=l||a.get("x")||a.get("heat"))),p&&(f=c.Fi(a.get("y")),l=a.get(k),m(e[f])||(e[f]=l||a.get("y")||a.get("heat")));n&&(d.xe=b);p&&(c.xe=e)}this.a.mj();a=!1;this.Z().Uc()&&(a|=this.Z().pf());this.ba().Uc()&&(a|=this.ba().pf());a&&T(this.a,80);U(this,4096)}if(W(this,65536)){if(this.m&&this.m.Uc()){this.m.wf();for(a=this.a.Ya();a.advance();)this.m.xb(a.get(this.a.ed[2]));this.m.pf()}T(this,8192);T(this.a,80);U(this,65536)}};g.Tg=function(a){var b,c;this.bb();if(this.Tb){X(this.Eh());X(this.Gj());if(W(this,524288)){var d;b=this.Fh().gj();d=1/(this.Fh().fj()-b);DF(this.va,d,b);b=this.Wl().gj();d=1/(this.Wl().fj()-b);DF(this.Da,d,b);Px(this.Eh(),this.Fh().gj(),this.Fh().fj());Px(this.Gj(),this.Wl().gj(),this.Wl().fj());U(this,524288);T(this,393216)}gt(this.a,this.H,this.J);d=Xf(this.H,this.J);if(W(this,16388)){var e;b=0;for(c=this.H.length;b<c;b++)e=this.H[b],nB(e.labels()),nB(e.Na()),e&&!e.scale()&&e.scale(this.Z());b=0;for(c=this.J.length;b<c;b++)e=this.J[b],nB(e.labels()),nB(e.Na()),e&&!e.scale()&&e.scale(this.ba())}if(W(this,4)){a=a.clone().round();e=0;var f=this.Eh(),h="beforeAxes"==f.position();f.padding(0);f.R(a);var k=f.$a(),l;l=k?a.height-f.pb().height:a.width-f.pb().width;var n=this.Gj(),p="beforeAxes"==n.position();n.padding(0);n.R(a);var q=n.$a(),t;t=q?a.height-n.pb().height:a.width-n.pb().width;b=0;for(c=this.H.length;b<c;b++)X(this.H[b]),this.H[b].padding(0);b=0;for(c=this.J.length;b<c;b++)X(this.J[b]),this.J[b].padding(0);var v;do{var w,x,z=c=0,C=0,F=0,J=!0;v=a.clone();this.w=this.g=this.c=this.F=NaN;var O;if(!h)switch(f.orientation()){case"top":f.padding().top(c+(this.F||0));f.padding().bottom(0);c+=l;break;case"bottom":f.padding().top(0);f.padding().bottom(z+(this.c||0));z+=l;break;case"left":f.padding().left(C+(this.g||0));f.padding().right(0);C+=l;break;case"right":f.padding().left(0),f.padding().right(F+(this.w||0)),F+=l}if(!p)switch(n.orientation()){case"top":n.padding().top(c+(this.F||0));n.padding().bottom(0);c+=t;break;case"bottom":n.padding().top(0);n.padding().bottom(z+(this.c||0));z+=t;break;case"left":n.padding().left(C+(this.g||0));n.padding().right(0);C+=t;break;case"right":n.padding().left(0),n.padding().right(F+(this.w||0)),F+=t}for(b=d.length;b--;)(w=d[b])&&w.enabled()&&(w.R(a),x=w.orientation(),O=Qd(w.stroke()),"top"==x?(w.padding().top(c),w.padding().bottom(0),w=w.pb(),c=a.height-w.height,isNaN(this.F)&&(this.F=O)):"bottom"==x?(w.padding().bottom(z),w.padding().top(0),w=w.pb(),z=a.height-w.height,isNaN(this.c)&&(this.c=O)):"left"==x?(w.padding().left(C),w.padding().right(0),w=w.pb(),C=a.width-w.width,isNaN(this.g)&&(this.g=O)):"right"==x&&(w.padding().right(F),w.padding().left(0),w=w.pb(),F=a.width-w.width,isNaN(this.w)&&(this.w=O)));if(h)switch(f.orientation()){case"top":f.padding().top(c+(this.F||0));f.padding().bottom(0);c+=l;break;case"bottom":f.padding().top(0);f.padding().bottom(z+(this.c||0));z+=l;break;case"left":f.padding().left(C+(this.g||0));f.padding().right(0);C+=l;break;case"right":f.padding().left(0),f.padding().right(F+(this.w||0)),F+=l}if(p)switch(n.orientation()){case"top":n.padding().top(c+(this.F||0));n.padding().bottom(0);c+=t;break;case"bottom":n.padding().top(0);n.padding().bottom(z+(this.c||0));z+=t;break;case"left":n.padding().left(C+(this.g||0));n.padding().right(0);C+=t;break;case"right":n.padding().left(0),n.padding().right(F+(this.w||0)),F+=t}k?(f.padding().left(C),f.padding().right(F)):(f.padding().top(c),f.padding().bottom(z));q?(n.padding().left(C),n.padding().right(F)):(n.padding().top(c),n.padding().bottom(z));v.left+=C;v.top+=c;v.width-=F+C;v.height-=z+c;for(b=d.length;b--;)(w=d[b])&&w.enabled()&&(O=w.pb(),w.$a()?(w.padding().left(C),w.padding().right(F),w=w.pb(),w.height!=O.height&&(J=!1)):(w.padding().top(c),w.padding().bottom(z),w=w.pb(),w.width!=O.width&&(J=!1)));e++}while(!J&&5>e);b=0;for(c=this.H.length;b<c;b++)this.H[b].O(!1);b=0;for(c=this.J.length;b<c;b++)this.J[b].O(!1);this.j=v.clone().round();T(this.a,80);T(this,450560)}W(this,131072)&&(this.Eh().A(this.h),this.Eh().I(),U(this,131072));W(this,262144)&&(this.Gj().A(this.h),this.Gj().I(),U(this,262144));if(W(this,32768)){a=this.Oe;b=0;for(c=a.length;b<c;b++)if(e=a[b])X(e),e.scale()||(f=e,f.$a()?f.scale(this.ba()):f.scale(this.Z())),e.R(this.j),e.A(this.h),e.pe(this.F,this.w,this.c,this.g),e.I(),e.O(!1);U(this,32768)}if(W(this,16384)){b=0;for(c=d.length;b<c;b++)if(w=d[b])X(w),w.A(this.h),w.I(),w.O(!1);U(this,16384)}if(W(this,8192)){b=this.a;b.A(this.h);b.pe(this.F,this.w,this.c,this.g);b.R(this.j);b=this.a;b.mb();d=this.labels();a=this.kb();e=this.Ib();f=d.tc();h=a.tc();k=e.tc();f=(l=f.width||f.height)&&d.enabled();h=(l||h.width||h.height)&&(d.enabled()||a.enabled());l=(l||k.width||k.height)&&(d.enabled()||e.enabled());for(var k=b.Ya(),S,da,V;k.advance();)if(n=k.S(),k.get("selected")&&(b.state.wd(Ha,n),k.select(n)),n=cb(b.state,n),b.af(n)&&(f||h||l))n=k.l("shape"),n=Qd(n.stroke())/2,n=Nl(k.l("x")+n,k.l("y")+n,k.l("width")-2*n,k.l("height")-2*n),f&&(p=b.oj(Ua,!0))&&(q=rB(p),v=q.padding,t=n.width-v.left()-v.right(),v=n.height-v.top()-v.bottom(),(w=q.adjustByHeight||q.adjustByHeight)&&"same"==mB(this.labels())&&(p=vB(p,t,v,q.minFontSize,q.maxFontSize,q.adjustByWidth,q.adjustByHeight),m(S)?p<S&&(S=p):S=p)),h&&(p=b.oj(H,!0))&&(q=rB(p),v=q.padding,t=n.width-v.left()-v.right(),v=n.height-v.top()-v.bottom(),(w=q.adjustByHeight||q.adjustByHeight)&&"same"==mB(this.labels())&&(p=vB(p,t,v,q.minFontSize,q.maxFontSize,q.adjustByWidth,q.adjustByHeight),m(da)?p<da&&(da=p):da=p)),l&&(p=b.oj(Ha,!0))&&(q=rB(p),v=q.padding,t=n.width-v.left()-v.right(),v=n.height-v.top()-v.bottom(),(w=q.adjustByHeight||q.adjustByHeight)&&"same"==mB(this.labels())&&(p=vB(p,t,v,q.minFontSize,q.maxFontSize,q.adjustByWidth,q.adjustByHeight),m(V)?p<V&&(V=p):V=p));d.da=f?S:null;a.da=h?da:null;e.da=l?V:null;d.clear();for(S=b.G().reset();S.advance();)if(a=S.l("shape"))if(da=S.S(),V=cb(b.state,da),V=b.oj(V,!0)){d=rB(V);a=Qd(a.stroke())/2;a=Nl(S.l("x")+a,S.l("y")+a,S.l("width")-
2*a,S.l("height")-2*a);d.width=null;d.height=null;if(d.adjustByWidth||d.adjustByHeight)d.fontSize=pB(V).da;e=b.labels().measure(V.Ed(),V.Eb(),d);e=d.padding.Uq(e);d=b.Hh();if(a.left<=e.left&&a.Oa()>=e.Oa()&&a.top<=e.top&&a.ra()>=e.ra())V.width(a.width).height(a.height);else if("drop"==d.Zh())b.labels().clear(da);else if(V.width()!=e.width||V.height()!=e.height)V.b=null,V.width(e.width).height(e.height);"alwaysShow"!=d.Zh()?V.clip(a):V.clip(null)}b.ic();U(this,8192)}this.Eh().O(!1);this.Gj().O(!1);qt(this.a,this.H,this.J)}};g.fill=function(a,b,c,d,e,f,h){return m(a)?(this.a.fill(a,b,c,d,e,f,h),this):this.a.fill()};g.Lb=function(a,b,c,d,e,f,h){return m(a)?(this.a.Lb(a,b,c,d,e,f,h),this):this.a.Lb()};g.Ac=function(a,b,c,d,e,f,h){return m(a)?(this.a.Ac(a,b,c,d,e,f,h),this):this.a.Ac()};g.stroke=function(a,b,c,d,e){return m(a)?(this.a.stroke(a,b,c,d,e),this):this.a.stroke()};g.Db=function(a,b,c,d,e){return m(a)?(this.a.Db(a,b,c,d,e),this):this.a.Db()};g.lc=function(a,b,c,d,e){return m(a)?(this.a.lc(a,b,c,d,e),this):this.a.lc()};g.Ua=function(a,b,c,d){return m(a)?(this.a.Ua(a,b,c,d),this):this.a.Ua()};g.Hb=function(a,b,c,d){return m(a)?(this.a.Hb(a,b,c,d),this):this.a.Hb()};g.cc=function(a,b,c,d){return m(a)?(this.a.cc(a,b,c,d),this):this.a.cc()};g.labels=function(a){return m(a)?(this.a.labels(a),this):this.a.labels()};g.kb=function(a){return m(a)?(this.a.kb(a),this):this.a.kb()};g.Ib=function(a){return m(a)?(this.a.Ib(a),this):this.a.Ib()};g.aa=function(a){return m(a)?(this.a.aa(a),this):this.a.aa()};g.Xa=function(a){return m(a)?(this.a.Xa(a),this):this.a.Xa()};g.ob=function(a){return m(a)?(this.a.ob(a),this):this.a.ob()};g.data=function(a,b){return m(a)?(this.a.data(a,b),this):this.a.data()};g.G=function(){return this.a.G()};g.Ne=function(a){this.a.Ne(a);return this};g.select=function(a){this.a.select(a);return this};g.K=function(a){xI.v.K.call(this,a);"defaultXAxisSettings"in a&&yI(this,a.defaultXAxisSettings);"defaultYAxisSettings"in a&&zI(this,a.defaultYAxisSettings);"defaultGridSettings"in a&&AI(this,a.defaultGridSettings);var b,c,d,e=a.grids,f=a.xAxes,h=a.yAxes,k=a.scales,l=this.qa(),n={};if(r(k))for(b=0;b<k.length;b++)c=k[b],u(c)&&(c={type:c}),c=Vq(c,b,l),d=Pw(c.type,!1),d.C(c),n[b]=d;else if(B(k))for(b in k)k.hasOwnProperty(b)&&(c=k[b],u(c)&&(c={type:c}),c=Vq(c,b,l),d=Pw(c.type,!1),d.C(c),n[b]=d);c=a.xScale;y(c)?d=n[c]:u(c)?(d=Pw(c,null))||(d=n[c]):B(c)?(d=Pw(c.type,!0),d.C(c)):d=null;d&&this.Z(d);c=a.yScale;y(c)?d=n[c]:u(c)?(d=Pw(c,null))||(d=n[c]):B(c)?(d=Pw(c.type,!1),d.C(c)):d=null;d&&this.ba(d);c=a.colorScale;y(c)?d=n[c]:u(c)?(d=Pw(c,null))||(d=n[c]):B(c)?(d=Pw(c.type,null))&&d.C(c):d=null;d&&this.ad(d);if(r(f))for(b=0;b<f.length;b++)c=f[b],this.ov(b,c),B(c)&&"scale"in c&&1<c.scale&&this.ov(b).scale(n[c.scale]);if(r(h))for(b=0;b<h.length;b++)c=h[b],this.pv(b,c),B(c)&&"scale"in c&&1<c.scale&&this.pv(b).scale(n[c.scale]);if(r(e))for(b=0;b<e.length;b++)c=e[b],this.nv(b,c),B(c)&&"scale"in c&&1<c.scale&&this.nv(b).scale(n[c.scale]);A(this.fill)&&this.fill(a.fill);A(this.hoverFill)&&this.Lb(a.hoverFill);A(this.selectFill)&&this.Ac(a.selectFill);A(this.stroke)&&this.stroke(a.stroke);A(this.hoverStroke)&&this.Db(a.hoverStroke);A(this.selectStroke)&&this.lc(a.selectStroke);A(this.hatchFill)&&this.Ua(a.hatchFill);A(this.hoverHatchFill)&&this.Hb(a.hoverHatchFill);A(this.selectHatchFill)&&this.cc(a.selectHatchFill);"data"in
a&&this.data(a.data||null);this.labels().C(a.labels);this.kb().C(a.hoverLabels);this.Ib().C(a.selectLabels);this.aa().C(a.markers);this.Xa().C(a.hoverMarkers);this.ob().C(a.selectMarkers);this.Zh(a.labelsDisplayMode);this.Eh(a.xScroller);this.Gj(a.yScroller);c=a.xZoom;B(c)&&(y(c.scale)||u(c.scale))?(b=c.scale,c.scale=n[c.scale],this.Fh(c),c.scale=b):this.Fh(c);a=a.yZoom;B(a)&&(y(a.scale)||u(a.scale))?(b=a.scale,a.scale=n[a.scale],this.Fh(a),a.scale=b):this.Fh(a)};g.o=function(){var a=xI.v.o.call(this),b,c={},d=[],e=[],f,h,k;c[D(this.Z())]=this.Z().o();d.push(c[D(this.Z())]);a.xScale=d.length-1;this.Z()!=this.ba()&&(c[D(this.ba())]=this.ba().o(),d.push(c[D(this.ba())]));a.yScale=d.length-1;this.ad()&&(c[D(this.ad())]=this.ad().o(),d.push(c[D(this.ad())]),a.colorScale=d.length-1);a.type=this.qa();var l=[];for(b=0;b<this.H.length;b++)if(k=this.H[b]){h=k.o();if(f=k.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);l.push(h)}l.length&&(a.xAxes=l);l=[];for(b=0;b<this.J.length;b++)if(k=this.J[b]){h=k.o();if(f=k.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);l.push(h)}l.length&&(a.yAxes=l);l=[];for(b=0;b<this.Oe.length;b++){var n=this.Oe[b];if(n){h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}}l.length&&(a.grids=l);d.length&&(a.scales=d);A(this.fill)&&(A(this.fill())?K(8,null,["Series fill"]):a.fill=P(this.fill()));A(this.hoverFill)&&(A(this.Lb())?K(8,null,["Series hoverFill"]):a.hoverFill=P(this.Lb()));A(this.selectFill)&&(A(this.Ac())?K(8,null,["Series selectFill"]):a.selectFill=P(this.Ac()));A(this.stroke)&&(A(this.stroke())?K(8,null,["Series stroke"]):a.stroke=P(this.stroke()));A(this.hoverStroke)&&(A(this.Db())?K(8,null,["Series hoverStroke"]):a.hoverStroke=P(this.Db()));A(this.selectStroke)&&(A(this.lc())?K(8,null,["Series selectStroke"]):a.selectStroke=P(this.lc()));A(this.hatchFill)&&(A(this.Ua())?K(8,null,["Series hatchFill"]):a.hatchFill=P(this.Ua()));A(this.hoverHatchFill)&&(A(this.Hb())?K(8,null,["Series hoverHatchFill"]):(b=this.Hb(),m(b)&&(a.hoverHatchFill=P(b))));A(this.selectHatchFill)&&(A(this.cc())?K(8,null,["Series selectHatchFill"]):a.selectHatchFill=P(this.cc()));a.data=this.data().o();a.labels=this.labels().o();a.hoverLabels=this.kb().o();a.selectLabels=this.Ib().o();a.markers=this.aa().o();a.hoverMarkers=this.Xa().o();a.selectMarkers=this.ob().o();a.labelsDisplayMode=this.Zh();a.xScroller=this.Eh().o();a.yScroller=this.Gj().o();a.xZoom=this.Fh().o();a.yZoom=this.Wl().o();return{chart:a}};g.Zh=function(a){return m(a)?(a=Pc(a),this.X!=a&&(this.X=a,T(this,8192,1)),this):this.X};xI.prototype.getType=xI.prototype.qa;xI.prototype.grid=xI.prototype.nv;xI.prototype.xAxis=xI.prototype.ov;xI.prototype.yAxis=xI.prototype.pv;xI.prototype.xScale=xI.prototype.Z;xI.prototype.yScale=xI.prototype.ba;xI.prototype.labelsDisplayMode=xI.prototype.Zh;xI.prototype.fill=xI.prototype.fill;xI.prototype.hoverFill=xI.prototype.Lb;xI.prototype.selectFill=xI.prototype.Ac;xI.prototype.stroke=xI.prototype.stroke;xI.prototype.hoverStroke=xI.prototype.Db;xI.prototype.selectStroke=xI.prototype.lc;xI.prototype.hatchFill=xI.prototype.Ua;xI.prototype.hoverHatchFill=xI.prototype.Hb;xI.prototype.selectHatchFill=xI.prototype.cc;xI.prototype.labels=xI.prototype.labels;xI.prototype.hoverLabels=xI.prototype.kb;xI.prototype.selectLabels=xI.prototype.Ib;xI.prototype.markers=xI.prototype.aa;xI.prototype.hoverMarkers=xI.prototype.Xa;xI.prototype.selectMarkers=xI.prototype.ob;xI.prototype.hover=xI.prototype.Ne;xI.prototype.select=xI.prototype.select;xI.prototype.unhover=xI.prototype.gc;xI.prototype.unselect=xI.prototype.hc;xI.prototype.data=xI.prototype.data;xI.prototype.colorScale=xI.prototype.ad;xI.prototype.xZoom=xI.prototype.Fh;xI.prototype.yZoom=xI.prototype.Wl;xI.prototype.xScroller=xI.prototype.Eh;xI.prototype.yScroller=xI.prototype.Gj;function BI(){Pv.call(this)}G(BI,Pv);g=BI.prototype;g.hC=function(a){return a};g.offset=function(a){return m(a)?(a=xr(a),this.M!=a&&(this.M=a,T(this,16,9)),this):this.M};g.width=function(a){m(a)&&(a=xr(a));return BI.v.width.call(this,a)};g.scale=function(a){return!m(a)||a instanceof ru?BI.v.scale.call(this,a):(Rc(5,void 0,["Linear gauge axis scale"]),this)};g.o=function(){var a=BI.v.o.call(this);a.offset=this.offset();return a};g.K=function(a){BI.v.K.call(this,a);this.offset(a.offset)};BI.prototype.offset=BI.prototype.offset;function ww(){X(this);Z.call(this);this.Er=[];this.Fr=[];this.ih=Yn();wv(this,this.ih);L(this,this.ih);this.a=916;this.O(!1)}G(ww,Z);g=ww.prototype;g.$=Z.prototype.$|912;g.ia=Z.prototype.ia;g.ih=null;g.Zg="axis";g.na=null;g.ri=null;g.Wj=null;g.Vj=null;g.ha=null;g.$o="noOverlap";g.Kc=NaN;g.Ci=!0;g.Di=!0;g.Er=null;g.Fr=null;g.labels=function(a){this.na||(this.na=new Tt,this.na.La(this),R(this.na,this.oK,this),L(this,this.na));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.oK=function(a){var b=0,c=0;Y(a,8)?(b=this.a,c=9):Y(a,1)&&(b=128,c=1);CI(this);T(this,b,c)};g.Na=function(a){this.ri||(this.ri=new Tt,this.ri.La(this),R(this.ri,this.pK,this),L(this,this.ri));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ri.C(a),this):this.ri};g.pK=function(a){var b=0,c=0;Y(a,8)?(b=this.a,c=9):Y(a,1)&&(b=128,c=1);CI(this);T(this,b,c)};g.ja=function(a){this.Wj||(this.Wj=new zv,this.Wj.La(this),R(this.Wj,this.rK,this),L(this,this.Wj));return m(a)?(this.Wj.C(a),this):this.Wj};g.rK=function(a){var b=0,c=0;Y(a,8)?(b=this.a,c=9):Y(a,1)&&(b=276,c=1);CI(this);T(this,b,c)};g.Ga=function(a){this.Vj||(this.Vj=new zv,this.Vj.La(this),R(this.Vj,this.XO,this),L(this,this.Vj));return m(a)?(this.Vj.C(a),this):this.Vj};g.XO=function(a){var b=0,c=0;Y(a,8)?(b=this.a,c=9):Y(a,1)&&(b=256,c=1);CI(this);T(this,b,c)};g.stroke=function(a,b,c,d,e){if(m(a)){a=Gn.apply(null,arguments);if(this.c!=a){var f=B(this.c)?this.c.thickness||1:1,h=B(a)?a.thickness||1:1;this.c=a;h==f?T(this,16,1):(CI(this),T(this,this.a,9))}return this}return this.c};g.scale=function(a){return m(a)?(this.ha!=a&&(this.ha=a,R(this.ha,this.qK,this),CI(this),T(this,this.a,9)),this):this.ha};g.qK=function(a){Y(a,2)&&(CI(this),T(this,this.a,9))};g.Ki=function(){T(this,this.a,9)};g.Wa=function(a){return m(a)?(a=Ah(null===a||isNaN(+a)?0:+a),this.ab!=a&&(this.ab=a,CI(this),T(this,this.a,9)),this):this.ab};function CI(a){a.D&&(a.D.length=0);a.Er.length=0;a.Fr.length=0;a.w=null}
function DI(a){a:{if(!a.w||W(a,512)){if("allowOverlap"==a.$o){a=!1;break a}var b=a.scale(),c=[],d=[];if(b){var e,f,h=-1,k=-1,l=-1,n=b.ja().get(),p=n.length,q,t,v,w,x,z=-1,C=a.labels().enabled();if(b instanceof ru){var F=b.Ga().get();f=e=0;for(var J=F.length,O,S=a.Na().enabled();e<p||f<J;){q=n[e];w=F[f];t=b.transform(q);O=b.transform(w);w=q=x=null;if(-1==k&&C)for(z=e;-1==k&&z<p;)v=EI(a,z,!0),-1!=h&&(w=EI(a,h,!0)),z!=p-1&&a.Uj()&&(q=EI(a,p-1,!0)),Dl(v,w)||Dl(v,q)||(v=b.transform(n[z]),0>=v&&a.vm()||1<=v&&a.Uj()?k=z:0<v&&1>v&&(k=z)),z++;t<=O&&e<p||f==J?(C&&e==k&&a.labels().enabled()?(h=e,k=-1,c.push(!0)):c.push(!1),e++,t==O&&(a.labels().enabled()||a.ja().enabled())&&(d.push(!1),f++)):(S?(v=EI(a,f,!1),-1!=h&&(w=EI(a,h,!0)),-1!=k&&(q=EI(a,k,!0)),-1!=l&&(x=EI(a,l,!1)),t=(t=oB(a.Na(),f))?m(t.enabled())?t.enabled():!0:!0,Dl(v,w)||Dl(v,q)||Dl(v,x)||!t?d.push(!1):(v=b.transform(F[f]),0>=v&&a.vm()||1<=v&&a.Uj()?(l=f,d.push(!0)):0<v&&1>v?(l=f,d.push(!0)):d.push(!1))):d.push(!1),f++)}S||(d=!1)}else if(b instanceof
sb)for(e=0;e<p;e++)C?(v=EI(a,e,!0),-1!=h&&(w=EI(a,h,!0)),e!=p-1&&a.Uj()?q=EI(a,p-1,!0):q=null,0==e?a.vm()?(h=e,c.push(!0)):c.push(!1):e==p-1?a.Uj()?(h=e,c.push(!0)):c.push(!1):Dl(v,w)||Dl(v,q)?c.push(!1):(h=e,c.push(!0))):c.push(!1)}C||(c=!1);a.w={labels:c,Na:d};U(a,512)}a=a.w}return a}
function EI(a,b,c){var d=c?a.Er:a.Fr;if(m(d[b]))return d[b];var e=(c?a.ja():a.Ga()).length(),f=a.stroke().thickness?a.stroke().thickness:1,h=Math.floor(f/2),f=c?a.labels():a.Na(),k=a.scale(),l=(c?k.ja():k.Ga()).get()[b];r(l)?(c=(k.transform(l[0],0)+k.transform(l[1],1))/2,l=l[0]):c=k.transform(l,.5);var n=a.Kc*c;c=Ah(a.Wa()-90);var p=Bh(c),q=Bh(Ah(90-c-270)),k=a.Ma+n*Math.cos(p)+(e+h)*Math.sin(q),h=a.Ja+n*Math.sin(p)+(e+h)*Math.cos(q),e=new Wc(a,b,l),h={value:{x:k,y:h}},l=f.measure(e,h,void 0,b);c=Ah(c+90);k=l.width;n=l.height;a=a.scale();q=p=0;a instanceof ru?0==c?p-=k/2:0<c&&90>c?(p-=k/2,q-=n/2):90==c?q-=n/2:90<c&&180>c?(q-=n/2,p+=k/2):180==c?p+=k/2:180<c&&270>c?(q+=n/2,p+=k/2):270==c?q+=n/2:270<c&&(q+=n/2,p-=k/2):a instanceof sb&&(0==c?p-=k/2:0<c&&45>c?p-=k/2:45==c?(p-=k/2,q-=n/2):45<c&&90>c?q-=n/2:90==c?q-=n/2:90<c&&135>c?q-=n/2:135==c?(q-=n/2,p+=k/2):135<c&&180>c?p+=k/2:180==c?p+=k/2:180<c&&225>c?p+=k/2:225==c?(q+=n/2,p+=k/2):225<c&&270>c?q+=n/2:270==c?q+=n/2:270<c&&315>c?q+=n/2:315==c?(q+=n/2,p-=k/2):315<c&&(p-=k/2));l.left+=p+l.width/2;l.top+=q+l.height/2;h.value.x=l.left;h.value.y=l.top;return d[b]=f.Li(e,h,void 0,b)}g.vm=function(a){return m(a)?(this.Ci!=a&&(this.Ci=a,T(this,this.a,9)),this):this.Ci};g.Uj=function(a){return m(a)?(this.Di!=a&&(this.Di=a,T(this,this.a,9)),this):this.Di};g.ew=function(a){return m(a)?(a=lc(a,this.$o),this.$o!=a&&(this.$o=a,T(this,this.a,9)),this):this.$o};g.nK=function(){var a=Ah(this.Wa()-90),b=Bh(a),c=0,d=0,e=this.stroke().thickness?parseFloat(this.stroke().thickness):1;0==a?d=0==e%2?0:-.5:90==a?c=0==e%2?0:-.5:180==a?d=0==e%2?0:.5:270==a&&(c=0==e%2?0:.5);a=this.Ma+this.Kc*Math.cos(b);b=this.Ja+this.Kc*Math.sin(b);a=Math.round(a);b=Math.round(b);this.ih.moveTo(this.Ma+c,this.Ja+d).lineTo(a+c,b+d)};function FI(a,b,c){var d=Ah(a.Wa()-90),e=Bh(d);c=c?a.ja():a.Ga();var f=c.length(),h=c.stroke().thickness?parseFloat(c.stroke().thickness):1,k=a.stroke().thickness?parseFloat(a.stroke().thickness):1,l=0,n=0;0==d?l=0==h%2?0:-.5:90==d?n=0==h%2?0:-.5:180==d?l=0==h%2?0:.5:270==d&&(n=0==h%2?0:.5);0==b&&(l*=-1,n*=-1);h=a.Kc*b;b=a.Ma+h*Math.cos(e);a=a.Ja+h*Math.sin(e);180==d?(b=Math.floor(b),a=Math.floor(a)):(b=Math.ceil(b),a=Math.ceil(a));d=Bh(Ah(90-d-270));e=Math.floor(k/2);k=e*Math.sin(d);e*=Math.cos(d);l=b+k+l;n=a+e+n;k=f*Math.sin(d);e=f*Math.cos(d);c.um(l,n,l+k,n+e)}g.mC=function(a,b){var c,d;d=this.scale();b?(c=d.ja(),d=this.labels()):(c=d.Ga(),d=this.Na());c=c.get();c=new Wc(this,a,c[a]);var e=M.a(EI(this,a,b));d.add(c,{value:{x:e.left+e.width/2,y:e.top+e.height/2}},a)};g.tb=function(){if(!this.Tb)return!1;if(!this.enabled())return W(this,1)&&(this.remove(),U(this,1),T(this.ja(),2),T(this.Ga(),2),T(this.labels(),2),T(this.Na(),2),T(this,450)),!1;U(this,1);return!0};g.I=function(){var a=this.scale();if(!a)return Rc(2),this;if(!this.tb())return this;if(W(this,4)){CI(this);var b=this.R();this.Kc=Math.min(b.width,b.height)/2;this.Ma=Math.round(b.left+b.width/2);this.Ja=Math.round(b.top+b.height/2)}var c,d,e,f,h;X(this.labels());X(this.Na());X(this.ja());X(this.Ga());W(this,16)&&(this.ih.clear(),this.ih.stroke(this.c),c=this.nK,U(this,16));W(this,8)&&(b=this.zIndex(),this.ih.zIndex(b),this.ja().zIndex(b),this.Ga().zIndex(b),this.labels().zIndex(b),this.Na().zIndex(b),U(this,8));W(this,2)&&(b=this.A(),this.ih.parent(b),this.ja().A(b),this.Ga().A(b),this.labels().A(b),this.Na().A(b),U(this,2));W(this,256)&&(d=this.ja(),d.I(),d=d.um,e=this.Ga(),e.I(),e=e.um,U(this,256));W(this,128)&&(f=this.labels(),f.A()||f.A(this.A()),f.R(this.R()),f.clear(),f=this.mC,h=this.Na(),h.A()||h.A(this.A()),h.R(this.R()),h.clear(),h=this.mC,U(this,128));c&&c.call(this);var k,l,n,p;c=a.ja().get();var b=c.length,q,t,v;if(a instanceof ru){if(d||f||e||h){k=DI(this);B(k)?(n=k.labels,p=k.Na):(n=!k,p=!k);var w=a.Ga().get();l=k=0;for(var x=w.length,z,C;k<b||l<x;)q=c[k],t=w[l],q=a.transform(q),z=a.transform(t),q<=z&&k<b||l==x?(t=r(n)?n[k]:n,(v=r(n)&&n[k]||ia(n))&&d&&FI(this,q,!0),t&&f.call(this,k,!0),C=q,k++):(t=r(p)?p[l]:p,(v=r(p)&&p[l]||ia(p))&&e&&C!=z&&FI(this,z,!1),t&&h&&C!=z&&f.call(this,l,!1),l++);h&&this.Na().I()}}else if(a instanceof sb&&(d||f))for(C=DI(this),n=B(C)?C.labels:!k,k=0;k<b;k++)q=c[k],r(q)?(C=q[0],a.transform(q[0],0),a.transform(q[1],1)):(C=q,a.transform(q,.5)),q=a.transform(C,0),d&&(FI(this,q,!0),k==b-1&&(q=a.transform(C,1),FI(this,q,!0)),t=r(n)?n[k]:n,f&&t&&f.call(this,k,!0));f&&this.labels().I();this.labels().O(!1);this.Na().O(!1);this.ja().O(!1);this.Ga().O(!1);return this};g.remove=function(){this.ih&&this.ih.parent(null);this.ja().remove();this.Ga().remove();this.na&&this.na.remove();this.ri&&this.ri.remove()};g.o=function(){var a=ww.v.o.call(this);a.labels=this.labels().o();a.minorLabels=this.Na().o();a.ticks=this.ja().o();a.minorTicks=this.Ga().o();a.stroke=P(this.stroke());a.drawFirstLabel=this.vm();a.drawLastLabel=this.Uj();a.overlapMode=this.ew();return a};g.K=function(a){ww.v.K.call(this,a);this.labels().C(a.labels);this.Na().C(a.minorLabels);this.ja(a.ticks);this.Ga(a.minorTicks);this.stroke(a.stroke);this.vm(a.drawFirstLabel);this.Uj(a.drawLastLabel);this.ew(a.overlapMode)};g.V=function(){ww.v.V.call(this);delete this.ha;this.Fr=this.Er=null;Ad(this.ih);this.ri=this.na=this.Vj=this.Wj=this.ih=null};ww.prototype.labels=ww.prototype.labels;ww.prototype.minorLabels=ww.prototype.Na;ww.prototype.ticks=ww.prototype.ja;ww.prototype.minorTicks=ww.prototype.Ga;ww.prototype.stroke=ww.prototype.stroke;ww.prototype.scale=ww.prototype.scale;ww.prototype.drawFirstLabel=ww.prototype.vm;ww.prototype.drawLastLabel=ww.prototype.Uj;ww.prototype.overlapMode=ww.prototype.ew;function GI(){ww.call(this)}G(GI,ww);GI.prototype.I=function(){nB(this.labels());nB(this.Na());return GI.v.I.call(this)};GI.prototype.K=function(a){GI.v.K.call(this,a);this.Wa(a.startAngle)};GI.prototype.o=function(){var a=GI.v.o.call(this);a.startAngle=this.Wa();return a};E("anychart.axes.radial",function(){var a=new GI;a.C(Wq().standalones.radialAxis);return a});GI.prototype.draw=GI.prototype.I;GI.prototype.parentBounds=GI.prototype.R;GI.prototype.container=GI.prototype.A;GI.prototype.startAngle=GI.prototype.Wa;function HI(){Qw.call(this);this.Ra=this.sa=this.H=this.h=this.b=null;this.J="horizontal"}G(HI,Qw);g=HI.prototype;g.ia=Qw.prototype.ia;g.$=Qw.prototype.$|20;g.ce=function(a){this.h=a};function II(a,b){return m(b)?(a.ha!=b&&(a.ha&&et(a.ha,a.qC,a),a.ha=b,R(a.ha,a.qC,a),T(a,4,9)),a):a.ha?a.ha:a.b?a.b.scale():null}g.qC=function(a){var b=0;Y(a,4)&&(b|=4);Y(a,2)&&(b|=1);T(this,4,b|8)};g.pC=function(){T(this,4,9)};g.axis=function(a){return m(a)?(this.b!=a&&(this.b&&et(this.b,this.pC,this),this.b=a,R(this.b,this.pC,this),T(this,4,9)),this):this.b};g.pe=function(a,b,c,d){this.w||(this.w=new xu,L(this,this.w));return m(a)?(this.w.C.apply(this.w,arguments),this):this.w};g.$a=function(){return"horizontal"==this.bp()};g.bp=function(a){return m(a)?(a=$b(a),this.j!=a&&(this.j=a,T(this,4,9)),this):this.j?this.j:this.b?(a=this.b.orientation(),"left"==a||"right"==a?"horizontal":"vertical"):this.J};g.Gr=function(a){return m(a)?(a=Zb(a),this.uc!=a&&(this.uc=a,T(this,4,9)),this):this.uc};g.rotation=function(a){return m(a)?(this.H!=a&&(this.H=a,T(this,4,9)),this):this.H};g.anchor=function(a){return m(a)?(a=Yb(a),this.B!=a&&(this.B=a,T(this,4,9)),this):this.B};g.text=function(a){return this.Zb("text",a)};function JI(a,b){return m(b)?(a.m!==b&&(a.m=b,T(a,4,9)),a):a.m}g.offsetX=function(a){return m(a)?(this.D!=a&&(this.D=a,T(this,4,9)),this):this.D};g.offsetY=function(a){return m(a)?(this.F!=a&&(this.F=a,T(this,4,9)),this):this.F};g.width=function(a){return m(a)?(this.sa!=a&&(this.sa=a,T(this,4,9)),this):this.sa};g.height=function(a){return m(a)?(this.Ra!=a&&(this.Ra=a,T(this,4,9)),this):this.Ra};g.nc=function(a,b){if(b||"text"in this.c||"useHtml"in this.c)this.a.useHtml?a.htmlText(this.a.text):a.text(this.a.text);HI.v.nc.call(this,a,b);this.c={}};g.I=function(){if(!this.scale())return Rc(2),this;if(!this.tb())return this;W(this,16)&&(this.nc(KI(this),!0),U(this,16));if(W(this,8)){var a=this.zIndex();KI(this).zIndex(a);U(this,8)}if(W(this,4)){var b=this.scale().transform(this.m,.5);if(isNaN(b))return this;a=KI(this);if(0<=b&&1>=b){var c=this.R(),c=c.clone().round(),d=this.anchor();a.fc(1,0,0,1,0,0);a.width(null);a.height(null);var e=!fa(this.width()),f=!fa(this.height()),h=a.Fa(),k=e?Math.ceil(Q(this.width(),c.width)):h.width;e&&a.width(k);h=a.Fa();c=f?Math.ceil(Q(this.height(),c.height)):h.height;f&&a.height(c);var l=this.R(),l=l.clone().round();if(this.$a())switch(e=Math.round(l.Va()+l.height-b*l.height),1==b?e-=-.5:e+=-.5,this.uc){case"left":f=l.Qa();break;case"right":f=l.Oa();break;default:f=l.Qa()+l.width/2}else switch(f=Math.round(l.Qa()+b*l.width),1==b?f+=-.5:f-=-.5,this.uc){case"top":e=l.Va();break;case"bottom":e=l.ra();break;default:e=l.Va()+l.height/2}b=new $h(f,e);f=I(this.H);f=isNaN(f)?this.$a()?0:-90:f;e=Zh(Bh(f),0,0);h=Zl(h,e);e=Ar(Nl(0,0,h.width,h.height),d);b.x-=e.x;b.y-=e.y;e=Q(this.offsetX(),k);l=Q(this.offsetY(),c);Er(b,d,e,l);this.nc(a,!0);a.x(b.x+h.width/2-k/2).y(b.y+h.height/2-c/2).Jn(f,"center");T(this,2)}else this.remove(),U(this,2);U(this,4)}W(this,2)&&(a=this.A(),KI(this).parent(a),U(this,2));return this};g.remove=function(){KI(this).parent(null)};function KI(a){a.g||(a.g=qo(),a.g.me("aria-hidden","true"),L(a,a.g));return a.g}g.V=function(){Ad(this.g);this.b=this.h=this.g=null;HI.v.V.call(this)};g.o=function(){var a=HI.v.o.call(this);a.anchor=this.anchor();a.align=this.Gr();this.j&&(a.layout=this.j);a.rotation=this.rotation();a.offsetX=this.offsetX();a.offsetY=this.offsetY();a.text=this.text();a.height=this.height();a.width=this.width();return a};g.K=function(a){HI.v.K.call(this,a);this.anchor(a.anchor);this.Gr(a.align);"layout"in a&&a.layout&&this.bp(a.layout);this.rotation(a.rotation);this.offsetX(a.offsetX);this.offsetY(a.offsetY);this.text(a.text);this.height(a.height);this.width(a.width);"axis"in a&&(a=a.axis,y(a)?this.h&&this.axis(this.h.tj(a)):a instanceof Pv&&this.axis(a))};function LI(a){HI.call(this);II(this,a);this.m=0}G(LI,HI);g=LI.prototype;g.ia=HI.prototype.ia;g.$=HI.prototype.$;g.scale=function(a){return m(a)?(K(500),this):II(this)};g.bp=function(a){return m(a)?("horizontal"==a&&K(501),this):"vertical"};g.value=function(a){return JI(this,a)};g.o=function(){var a=LI.v.o.call(this);a.value=this.value();return a};g.K=function(a){LI.v.K.call(this,a);this.value(a.value)};LI.prototype.value=LI.prototype.value;LI.prototype.scale=LI.prototype.scale;LI.prototype.anchor=LI.prototype.anchor;LI.prototype.align=LI.prototype.Gr;LI.prototype.layout=LI.prototype.bp;LI.prototype.rotation=LI.prototype.rotation;LI.prototype.offsetX=LI.prototype.offsetX;LI.prototype.offsetY=LI.prototype.offsetY;LI.prototype.text=LI.prototype.text;LI.prototype.height=LI.prototype.height;LI.prototype.width=LI.prototype.width;LI.prototype.isHorizontal=LI.prototype.$a;function MI(){HI.call(this)}G(MI,HI);g=MI.prototype;g.ia=HI.prototype.ia;g.$=HI.prototype.$;g.scale=function(a){return II(this,a)};g.value=function(a){return JI(this,a)};g.o=function(){var a=MI.v.o.call(this);a.value=this.value();return a};g.K=function(a){MI.v.K.call(this,a);this.value(a.value)};MI.prototype.value=MI.prototype.value;MI.prototype.scale=MI.prototype.scale;MI.prototype.axis=MI.prototype.axis;MI.prototype.anchor=MI.prototype.anchor;MI.prototype.align=MI.prototype.Gr;MI.prototype.layout=MI.prototype.bp;MI.prototype.rotation=MI.prototype.rotation;MI.prototype.offsetX=MI.prototype.offsetX;MI.prototype.offsetY=MI.prototype.offsetY;MI.prototype.text=MI.prototype.text;MI.prototype.height=MI.prototype.height;MI.prototype.width=MI.prototype.width;MI.prototype.isHorizontal=MI.prototype.$a;function NI(){HI.call(this)}G(NI,MI);E("anychart.axisMarkers.text",function(){var a=new NI;a.C(Wq().standalones.textAxisMarker);return a});NI.prototype.draw=NI.prototype.I;NI.prototype.parentBounds=NI.prototype.R;NI.prototype.container=NI.prototype.A;function OI(){HI.call(this)}G(OI,MI);OI.prototype.R=function(a,b,c,d){b=OI.v.R.call(this,a,b,c,d);m(a)||(a=this.h.zd,c=this.h.hd,b.top-=c,b.height+=c,b.width+=a);return b};function PI(a,b){xH.call(this,a,b);this.pd=this.D=this.F=this.T=this.M=this.eb=this.B=this.hi=this.de=this.qc=null;this.yp=void 0;this.ea=null;this.Pu=this.Qu=.01;this.mo=this.dd=!1;this.Hd=this.rg=this.fg=this.ae=this.xh=this.Se=null;this.qA=this.vA=this.Nb=!1;this.ka=this.Bb=null;this.Kp=[];this.Bp=0;this.ho=[];this.lo=[];this.Mf=[];this.ha=new jG;R(this.ha,this.dM,this);L(this,this.ha);this.qb=new sH;X(this.qb);this.qb.scale(this.ha);this.qb.zIndex(QI);this.qb.O(!1);L(this,this.qb);var c=this.c;m(this)&&c.F!=this&&(c.F=this,T(c,256,2))}G(PI,xH);PI.prototype.$=xH.prototype.$|512;var QI=80;g=PI.prototype;g.dM=function(a){Y(a,4)&&T(this,512,1)};g.VD=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.od!=f&&(this.od=f,T(this,16,1));return this}return this.od||"none"};g.QE=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.wt!=k&&(this.wt=k,T(this,16,1));return this}return this.wt||"none"};g.RE=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.zt!=f&&(this.zt=f,T(this,16,1));return this}return this.zt||"none"};g.SE=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.Ct!=k&&(this.Ct=k,T(this,16,1));return this}return this.Ct||"none"};g.TE=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.It!=f&&(this.It=f,T(this,16,1));return this}return this.It||"none"};g.OE=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.Lj!=k&&(this.Lj=k,T(this,16,1));return this}return this.Lj||"none"};g.PE=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.Ak!=f&&(this.Ak=f,T(this,16,1));return this}return this.Ak||"none"};g.ME=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.Jj!=k&&(this.Jj=k,T(this,16,1));return this}return this.Jj||"none"};g.NE=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.Kj!=f&&(this.Kj=f,T(this,16,1));return this}return this.Kj||"none"};g.ED=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.Zs!=k&&(this.Zs=k,T(this,128,1));return this}return this.Zs||"none"};g.HD=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.ct!=f&&(this.ct=f,T(this,128,1));return this}return this.ct||"none"};g.JD=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.ot!=k&&(this.ot=k,T(this,128,1));return this}return this.ot||"none"};g.KD=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.st!=f&&(this.st=f,T(this,128,1));return this}return this.st||"none"};g.YF=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.Gu!=k&&(this.Gu=k,T(this,128,1));return this}return this.Gu||"none"};g.ZF=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.Hu!=f&&(this.Hu=f,T(this,128,1));return this}return this.Hu||"none"};g.KF=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.io!=k&&(this.io=k,T(this,128,1));return this}return this.io||"none"};g.LF=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.ko!=f&&(this.ko=f,T(this,128,1));return this}return this.ko||"none"};g.RF=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.xu!=k&&(this.xu=k,T(this,128,1));return this}return this.xu||"none"};g.SF=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.Bu!=f&&(this.Bu=f,T(this,128,1));return this}return this.Bu||"none"};g.UD=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.vt!=k&&(this.vt=k,T(this,128,1));return this}return this.vt||"none"};g.Xd=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.w!=f&&(this.w=f,T(this,64,1));return this}return this.w||"none"};g.qG=function(a,b,c,d,e,f,h){if(m(a)){var k=Bn.apply(null,arguments);this.Oe!=k&&(this.Oe=k,T(this,128,1));return this}return this.Oe||"none"};g.rG=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.Cf!=f&&(this.Cf=f,T(this,128,1));return this}return this.Cf||"none"};g.lQ=function(a,b,c,d,e){if(m(a)){var f=Gn.apply(null,arguments);this.ro!=f&&(this.ro=f,T(this,128,1));return this}return this.ro||"none"};g.lD=function(a){if(m(a)){var b=Gn.apply(null,arguments),c=Gr(this.Tc),d=Gr(b);if(this.Tc!=b||d!=c)this.Tc=b,T(this,16,1);return this}return this.Tc};function RI(a,b){return m(b)?(a.kc=b,a):a.kc||{}}function SI(a,b){return m(b)?(a.Gc=b,a):a.Gc||{}}function TI(a,b){return m(b)?(a.kd=b,a):a.kd||{}}
g.mD=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.ho[c];e||(e=new Qv(this.ha),e.C(RI(this)),this.ho[c]=e,L(this,e),R(e,this.kx,this),T(this,512,1));return m(d)?(e.C(d),this):e};g.nD=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.lo[c];e||(e=new Rv(this.ha),e.C(SI(this)),this.lo[c]=e,L(this,e),R(e,this.kx,this),T(this,512,1));return m(d)?(e.C(d),this):e};g.oD=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Mf[c];e||(e=new LI(this.ha),e.C(TI(this)),this.Mf[c]=e,L(this,e),R(e,this.kx,this),T(this,512,1));return m(d)?(e.C(d),this):e};g.kx=function(){T(this,512,1)};g.jx=function(a){return m(a)&&(a=+a||0,this.Qu!=a)?(this.Qu=a,T(this,512,1),this):this.Qu};g.ix=function(a){return m(a)&&(a=+a||0,this.Pu!=a)?(this.Pu=a,T(this,512,1),this):this.Pu};g.labels=function(a){this.qc||(this.qc=new Tt,this.qc.La(this));if(m(a)){var b=!0;a instanceof Tt?this.qc.C(a.o()):B(a)?this.qc.C(a):Fr(a)?this.qc.enabled(!1):b=!1;b&&T(this,64,1);return this}return this.qc};g.aa=function(a){this.de||(this.de=new tx,this.de.La(this));if(m(a)){var b=!0;a instanceof tx?this.de.C(a.o()):B(a)?this.de.C(a):Fr(a)?this.de.enabled(!1):b=!1;b&&T(this,64,1);return this}return this.de};g.ID=function(a){return m(a)&&this.dd!=a?(this.dd=a,T(this,64,1),this):this.dd};function UI(a){a.hi||(a.hi=CH(a).path(),a.hi.zIndex(6),a.hi.stroke(a.Tc),L(a,a.hi));return a.hi}function VI(a){a.B||(a.B=new WI(FH(a)),a.B.zIndex(0).$c("ew-resize"),a.N.pa(a.B,"mousedown",function(a){a.stopPropagation()}),a.B.qf("mousedown",a.uN,!1,a),L(a,a.B));return a.B}function XI(a){a.eb||(a.eb=new WI(FH(a)),a.eb.zIndex(10),a.N.pa(a.eb,"mousedown",function(a){a.stopPropagation()}),a.eb.qf("mousedown",a.zN,!1,a),L(a,a.eb));return a.eb}
function YI(a){a.M||(a.M=new WI(FH(a)),a.M.zIndex(20).$c("col-resize"),a.M.N=VI(a),a.N.pa(a.M,"mousedown",function(a){a.stopPropagation()}),a.M.qf("mousedown",a.sN,!1,a),L(a,a.M));return a.M}function ZI(a){a.T||(a.T=new WI(FH(a)),a.T.zIndex(30).$c("col-resize"),a.T.N=VI(a),a.N.pa(a.T,"mousedown",function(a){a.stopPropagation()}),a.T.qf("mousedown",a.CN,!1,a),L(a,a.T));return a.T}
function $I(a){a.F||(a.F=new WI(FH(a)),a.F.zIndex(40).$c("move"),a.N.pa(a.F,"mousedown",function(a){a.stopPropagation()}),a.F.qf("mousedown",a.EN,!1,a),L(a,a.F));return a.F}function aJ(a){a.D||(a.D=new WI(FH(a)),a.D.zIndex(50).$c("move"),a.N.pa(a.D,"mousedown",function(a){a.stopPropagation()}),a.D.qf("mousedown",a.rN,!1,a),L(a,a.D));return a.D}function bJ(a){a.pd||(a.pd=FH(a).path(),a.pd.stroke(a.od).zIndex(60),L(a,a.pd));return a.pd}
function cJ(a){VI(a).clear().fc(1,0,0,1,0,0);XI(a).clear().fc(1,0,0,1,0,0);ZI(a).clear().fc(1,0,0,1,0,0);YI(a).clear().fc(1,0,0,1,0,0);aJ(a).clear().fc(1,0,0,1,0,0);$I(a).clear().fc(1,0,0,1,0,0);bJ(a).clear();a.rb().enabled(!0)}g.uN=function(a){this.Se=new dJ(VI(this));L(this,this.Se);this.Se.pa("start",this.vN,!1,this);this.Se.pa("drag",this.wN,!1,this);this.Se.pa("end",this.xN,!1,this);this.Se.Xg(a.c)};g.zN=function(a){this.xh=new eJ(XI(this));L(this,this.xh);this.xh.pa("start",this.AN,!1,this);this.xh.pa("drag",this.BN,!1,this);this.xh.pa("end",this.yN,!1,this);this.xh.Xg(a.c)};g.sN=function(a){this.ae=new fJ(YI(this),!0);L(this,this.ae);this.ae.pa("start",this.tN,!1,this);this.ae.pa("drag",this.VE,!1,this);this.ae.pa("end",this.UE,!1,this);this.ae.Xg(a.c)};g.CN=function(a){this.fg=new fJ(ZI(this),!1);L(this,this.fg);this.fg.pa("start",this.DN,!1,this);this.fg.pa("drag",this.VE,!1,this);this.fg.pa("end",this.UE,!1,this);this.fg.Xg(a.c)};g.EN=function(a){this.rg=new gJ(0,$I(this),!0);L(this,this.rg);this.rg.pa("start",this.KE,!1,this);this.rg.pa("drag",this.LE,!1,this);this.rg.pa("end",this.JE,!1,this);this.rg.Xg(a.c)};g.rN=function(a){this.Hd=new gJ(0,aJ(this),!1);L(this,this.Hd);this.Hd.pa("start",this.KE,!1,this);this.Hd.pa("drag",this.LE,!1,this);this.Hd.pa("end",this.JE,!1,this);this.Hd.Xg(a.c)};g.vN=function(){this.g&&(this.g.g=!1);this.rb().Vd().enabled(!1);AH(this.b);XI(this).clear();YI(this).clear();ZI(this).clear();$I(this).clear();aJ(this).clear();qk(aa.document.body,"cursor","ew-resize")};g.wN=function(){this.h=!0;this.H=!1;this.qA=!0};g.xN=function(a){if(this.h){this.g&&(this.g.g=!0);var b=VI(this).Fa();cJ(this);var c=a.target.element;a=c.item;var d=Xu(a);X(d);b=bH(this.ha,4==c.type?(b.left+b.width/2-this.a.left)/this.a.width:(b.left-this.a.left)/this.a.width);if(!isNaN(b)){var e=0;switch(c.type){case 4:a.set("actualStart",b);a.l("actualStart",b);m(a.get("actualEnd"))&&(a.set("actualEnd",b),a.l("actualEnd",b));break;case 5:var c=c.$g,e=a.ug("periods",c,"start"),f=a.ug("periods",c,"end"),e=f+(b-e);isNaN(e)||(a.set("periods",c,"start",b),a.tk("periods",c,"start",b),a.set("periods",c,"end",e),a.tk("periods",c,"end",e));break;case 3:e=a.l("baselineStart");c=a.l("baselineEnd");e=b-e;isNaN(c+e)||(a.set("baselineStart",b),a.l("baselineStart",b));a.set("baselineEnd",c+e);a.l("baselineEnd",c+e);break;default:c=y(a.l("actualStart"))?a.l("actualStart"):a.l("autoStart"),e=y(a.l("actualEnd"))?a.l("actualEnd"):a.l("autoEnd"),c=e+(b-c),isNaN(c)||(a.set("actualStart",b),a.l("actualStart",b),a.set("actualEnd",c),a.l("actualEnd",c))}}d.O(!0);WH(this);this.qA=this.h=!1;clearInterval(this.W);this.W=null}qk(aa.document.body,"cursor","")};g.AN=function(){this.g&&(this.g.g=!1);this.vA=!0;this.rb().Vd().enabled(!1);YI(this).clear();ZI(this).clear();$I(this).clear();aJ(this).clear();VI(this).clear()};g.BN=function(){this.h=!0;this.H=!1};g.yN=function(a){if(this.h){this.g&&(this.g.g=!0);cJ(this);a=a.target;var b=a.element;isNaN(a.Qe)||b.item.set("progressValue",xl(100*a.Qe,2)+"%");this.h=!1;clearInterval(this.W);this.W=null;this.vA=!1}};g.DN=function(){this.g&&(this.g.g=!1);this.rb().Vd().enabled(!1);XI(this).clear();YI(this).clear();ZI(this).clear();$I(this).clear();aJ(this).clear();qk(aa.document.body,"cursor","col-resize");this.B.$c("col-resize")};g.tN=function(){this.g&&(this.g.g=!1);this.rb().Vd().enabled(!1);XI(this).clear();YI(this).clear();ZI(this).clear();$I(this).clear();aJ(this).clear();qk(aa.document.body,"cursor","col-resize");this.B.$c("col-resize")};function hJ(a,b,c){if(a.Bb){var d=a.Bb.b?a.M:a.T,e=d.item,f=d.$g,h=d.a;switch(d.type){case 3:d=a.Bb.b?e.l("baselineEnd"):e.l("baselineStart");break;case 5:d=a.Bb.b?e.ug("periods",f,"end"):e.ug("periods",f,"start");break;default:d=a.Bb.b?y(e.l("actualEnd"))?e.l("actualEnd"):e.l("autoEnd"):y(e.l("actualStart"))?e.l("actualStart"):e.l("autoStart")}e=xk(a.A().oa().A()).x;b=c?0>c?a.a.left:a.a.left+a.a.width:b.clientX-e;c=aH(a.ha,d);c=a.a.left+a.a.width*c;a.B.clear().moveTo(c,h.top).lineTo(b,h.top).lineTo(b,h.top+h.height).lineTo(c,h.top+h.height).close()}}function iJ(a,b,c,d){if(a.ka&&a.h){var e=a.ka.b?a.F:a.D,f=e.index,e=e.$g,h=xk(a.A().oa().A()).x,k=xk(a.A().oa().A()).y;c||d?(c=a.ka.N-h,b=a.ka.w-k):(c=b.clientX-h,b=b.clientY-k);e=jJ(a,f,e);d=Gr(a.od)%2&&Jp===Kp?.5:0;f=a.ka.b?e.left:e.left+e.width;e=e.top+e.height/2+d;bJ(a).clear().moveTo(f,e).lineTo(c,b)}}g.VE=function(a){this.h=!0;this.H=!1;this.Bb=a.target;hJ(this,a)};g.UE=function(a){if(this.h){this.g&&(this.g.g=!0);var b=this.B.Fa();cJ(this);a=a.target.element;var c=a.item,d=a.$g,e=Xu(c);X(e);var f=(b.left+b.width-this.a.left)/this.a.width,b=bH(this.ha,(b.left-this.a.left)/this.a.width),f=bH(this.ha,f);if(!isNaN(b)&&!isNaN(f))switch(a.type){case 5:c.set("periods",d,"start",b);c.tk("periods",d,"start",b);c.set("periods",d,"end",f);c.tk("periods",d,"end",f);break;case 3:c.set("baselineStart",b);c.l("baselineStart",b);c.set("baselineEnd",f);c.l("baselineEnd",f);break;default:c.set("actualStart",b),c.l("actualStart",b),c.set("actualEnd",f),c.l("actualEnd",f)}e.O(!0);WH(this);this.Bb=null;this.h=!1;clearInterval(this.W);this.W=null}qk(aa.document.body,"cursor","");this.B.$c("ew-resize")};g.KE=function(a){this.g&&(this.g.g=!1);this.rb().Vd().enabled(!1);AH(this.b);this.ka=a.target;cJ(this)};g.LE=function(a){this.Nb=this.h=!0;this.H=!1;this.ka.N=a.clientX;this.ka.w=a.clientY};g.JE=function(){this.h&&(this.g&&(this.g.g=!0),this.rb().enabled(!0),bJ(this).clear(),this.h=!1,clearInterval(this.W),this.W=null)};g.qB=function(a){if(this.fa&&a){var b;if(a.originalEvent.domTarget&&a.originalEvent.domTarget instanceof XH){b=a.originalEvent.domTarget;var c=a.item,d=a.period,e=a.periodIndex;if(b.m&&!this.h){var f=b.m;VI(this).clear().moveTo(f.left,f.top).lineTo(f.left+f.width,f.top).lineTo(f.left+f.width,f.top+f.height).lineTo(f.left,f.top+f.height).close();this.B.item=c;this.B.type=b.type;d&&(this.B.Jl=d);m(e)&&(this.B.$g=e);if(!c||1!=b.type&&0!=b.type&&2!=b.type)XI(this).clear();else{var h=m(c.get("progressValue"))?parseFloat(c.get("progressValue"))/100:xl(c.l("autoProgress"),2),h=f.left+(h||0)*f.width,k=f.top+f.height;XI(this).clear().moveTo(h,k-5).lineTo(h+5,k).lineTo(h+5,k+5).lineTo(h-5,k+5).lineTo(h-5,k).close();this.eb.a=f;this.eb.item=c}h=f.left+f.width;c&&4!=b.type?(ZI(this).clear().moveTo(h+1,f.top).lineTo(h+1-3,f.top).lineTo(h+1-3,f.top+f.height).lineTo(h+1,f.top+f.height).close(),YI(this).clear().moveTo(f.left-1,f.top).lineTo(f.left-1+3,f.top).lineTo(f.left-1+3,f.top+f.height).lineTo(f.left-1,f.top+
f.height).close(),this.T.a=f,this.T.item=c,this.T.type=b.type,this.M.a=f,this.M.item=c,this.M.type=b.type,d&&(this.T.Jl=d,this.M.Jl=d),m(e)&&(this.T.$g=e,this.M.$g=e)):(YI(this).clear(),ZI(this).clear());c&&3!=b.type?(k=f.top+f.height/2,aJ(this).moveTo(h+5+5,k).wo(5,5,0,360),$I(this).moveTo(f.left-5+5,k).wo(5,5,0,360),this.D.item=c,this.D.type=b.type,this.D.index=a.hoveredIndex+this.c.ve(),this.F.item=c,this.F.type=b.type,this.F.index=a.hoveredIndex+this.c.ve(),d&&(this.F.Jl=d,this.D.Jl=d),m(e)&&(this.F.$g=e,this.D.$g=e)):(aJ(this).clear(),$I(this).clear())}else this.Nb&&c&&(f=this.ka.b?this.F:this.D,h=f.item,k=f.index,3!=b.type&&6!=b.type?(d?(f={period:f.Jl,index:k,periodIndex:f.$g},c={period:d,index:a.hoveredIndex+this.c.ve(),periodIndex:e}):(f={item:h,index:k},c={item:c,index:a.hoveredIndex+this.c.ve()}),a=a.originalEvent.clientX-xk(this.A().oa().A()).x,b=b.m,b=.5>(a-b.left)/b.width,b=this.ka.b?b?"startstart":"startfinish":b?"finishstart":"finishfinish",bJ(this).clear(),kJ(this,f,c,b,void 0,this.pd)):iJ(this,a.originalEvent))}else a.originalEvent.domTarget==VI(this)||a.originalEvent.domTarget==XI(this)||a.originalEvent.domTarget==ZI(this)||a.originalEvent.domTarget==YI(this)||a.originalEvent.domTarget==aJ(this)||a.originalEvent.domTarget==$I(this)||this.h?this.Nb&&iJ(this,a.originalEvent):cJ(this)}};g.Gz=function(a){this.fa&&(this.j=a.item)};g.rB=function(a){if(this.fa&&this.Nb){if(a){var b=a.item,c=a.periodIndex;a=a.originalEvent;var d=a.domTarget;if(d instanceof XH&&3!=d.type){a=a.clientX-xk(this.A().oa().A()).x;var d=d.m,e=this.ka.b?this.F:this.D,d=.5>(a-d.left)/d.width;a=e.item;d=this.ka.b?d?"startstart":"startfinish":d?"finishstart":"finishfinish";e=e.$g;d=d||"finishstart";a instanceof Su||(a=this.c.data().ku("id",a),a=a.length?a[0]:null);if(a&&(b instanceof Su||(b=this.c.data().ku("id",b),b=b.length?b[0]:null),b)){X(this.c.data());var f,h,k,l;l=!1;if(this.c.g){var n=a.get("periods")[e],p=b.get("periods")[c];m(n)&&m(p)&&(f=n.connector,h={},h.connectTo=p.id,h.connectorType=d,f?r(f)?f=f.length:(l=kf(f),k={},k.connectTo=n.connectTo,k.connectorType=n.connectorType||"finishstart",mf(k,l),f=1,l=!0):(f=n.connectTo,m(f)?(k={},k.connectTo=f,k.connectorType=n.connectorType||"finishstart",f=1,l=!0):f=0),c={type:"beforeCreateConnector",target:b,source:a,connectorType:d,targetPeriod:p,targetPeriodIndex:c,sourcePeriod:n,sourcePeriodIndex:e},this.b.dispatchEvent(c)&&(l&&a.set("periods",e,"connector",[k]),a.set("periods",e,"connector",f,h)))}else f=a.get("connector"),h={},h.connectTo=b.get("id"),h.connectorType=d,f?r(f)?f=f.length:(l=kf(f),k={},k.connectTo=a.get("connectTo"),k.connectorType=a.get("connectorType")||"finishstart",mf(k,l),f=1,l=!0):(f=a.get("connectTo"),m(f)?(k={},k.connectTo=f,k.connectorType=a.get("connectorType")||"finishstart",f=1,l=!0):f=0),c={type:"beforeCreateConnector",target:b,source:a,connectorType:d},this.b.dispatchEvent(c)&&(l&&a.set("connector",[k]),a.set("connector",f,h));this.c.data().O(!0)}}}this.Nb=!1}this.ka=null;this.H=!0};g.gz=function(a){if(this.h&&!this.vA&&(this.nb||this.Ub)){var b=0,c=0;this.nb&&(b=0<this.nb?30:-30);(this.Nb||this.j)&&this.Ub&&(c=0<this.Ub?30:-30);this.qp(b,c,!0);hJ(this,a,this.nb);iJ(this,a,this.nb,this.Ub)}};g.kG=function(a){var b;if((b=a&&a.originalEvent?a.originalEvent.domTarget:null)&&6==b.type){cJ(this);if(!this.ea||B(this.ea)&&!jf(this.ea,b.l))this.b.gu(a.originalEvent),this.ea=kf(b.l),T(this,128,1);b=!0}else b=!1;if(!b){var c=a.period;b=a.item;var c=c?c.id:void 0,d=!1,e=!1;b&&b!=this.da&&(X(Xu(b)),b.l("selected",!0),this.da&&this.da.l("selected",!1),this.da=b,Xu(b).O(!1),d=!0);this.yp!==c&&(this.yp=c,e=!0);d||e?(this.ea=null,T(this,128,1),b=!0):b=!1;b&&(a=kf(a),a.type="rowSelect",this.b.dispatchEvent(a))}};g.gu=function(a){if(this.da||null!=this.yp)this.yp=void 0,PI.v.gu.call(this,a)};g.Gi=function(a){var b=(a=PI.v.Gi.call(this,a))&&a.originalEvent?a.originalEvent.domTarget:null;if(a&&b&&this.c.g)if(B(b.Jl)&&m(b.$g))a.period=b.Jl,a.periodIndex=b.$g;else{var c=b.tag;null!=b.tag&&(b=this.c.H[c])&&(a.period=b.period,a.periodIndex=b.periodIndex)}return a};function lJ(a){var b;a.Bp<a.Kp.length?(b=a.Kp[a.Bp++],b.fill(null).stroke(null).clear(),b.m=null,b.type=void 0):(b=new XH,b.La(a),a.Kp.push(b),a.Bp++);b.parent(DH(a));return b}
function mJ(a,b,c,d,e){var f=c instanceof Su,h;e?h=f?c.get(e):c[e]:h=f?null:c;var k=!1,l=!1,n=!1,p=!1,q=f?a.da==c:a.yp==c.id,t,v,w;switch(e){case"baseline":t=10;v=a.ot;w=a.st;k=!0;break;case"progress":t=30;v=a.Gu;w=a.Hu;p=!0;break;default:t=20,v=(n=f&&c.wb())?a.xu:a.Zs,w=n?a.Bu:a.ct,l=f&&c.get("baselineStart")&&c.get("baselineEnd")}e=h&&m(h.stroke)?Gn(h.stroke):w;var x=h?h.label:void 0;if(k=x&&m(x.value)?x.value+"":!f||p||k?"":c.get("progressValue")||xl(100*c.l("autoProgress"),2)+"%")x&&x.position?p=x.position:(p=a.labels().position(),l?p="center":n&&(p="rightBottom")),p=Yb(p),p={value:Ar(b,p)},k={value:k},k=a.labels().add(k,p),l&&(k.Rc("#fff"),k.anchor("center")),x&&k.C(x);l=lJ(a);l.tag=f?c.get("id"):c.id;l.type=d;x=Gr(e)%2&&Jp===Kp?.5:0;c=Math.round(b.left)+x;k=Math.round(b.top)+x;d=Math.round(b.left+b.width)+x;f=Math.round(b.top+b.height)+x;l.m=new M(c,k,d-c,f-k);l.zIndex(t).moveTo(c,k).lineTo(d,k);n?(n=b.top+1.4*b.height+x,l.lineTo(d,n).lineTo(d-1,n).lineTo(d-1,f).lineTo(c+1,f).lineTo(c+
1,n).lineTo(c,n)):l.lineTo(d,f).lineTo(c,f);l.close();h?((n=h.startMarker)&&a.aa().add({value:{x:b.left,y:b.top}}).size(b.height/2).C(n),(n=h.endMarker)&&a.aa().add({value:{x:b.left+b.width,y:b.top}}).size(b.height/2).C(n),q?(b=a.Oe,e=a.Cf):b=m(h.fill)?Bn(h.fill):v,l.fill(b).stroke(e)):l.fill(q?a.Oe:v).stroke(q?a.Cf:w);return l}
function nJ(a,b,c,d){var e=b.get("markers");if(e)for(var f=0;f<e.length;f++){var h=e[f];if(h){var k=b.ug("markers",f,"value");if(null!==k){var l=aH(a.ha,k);if(0<=l&&1>=l){var k=.7*d,l=Math.round(a.a.left+a.a.width*l),n=Math.round(c+(d-k)/2);a.aa().add({value:{x:l,y:n}}).size(k/2).C(h)}}}}}
function jJ(a,b,c){var d=a.a.top+a.bg()+1,e=a.c.a,f=a.c.ve(),h=a.c.h,k=a.c.gg(),f=f?e[f-1]:0,h=h[b];b=(b?e[b-1]:0)-(f+k)+d;d=eH(h);e=y(h.l("actualStart"))?h.l("actualStart"):h.l("autoStart");k=y(h.l("actualEnd"))?h.l("actualEnd"):h.l("autoEnd");e=a.c.g?h.ug("periods",c,"start"):e;c=a.c.g?h.ug("periods",c,"end"):k;k=0;if(isNaN(c)||e==c)c=e,k=.7*d/2;if(isNaN(c)||isNaN(e))return null;e=aH(a.ha,e)*a.a.width+a.a.left-k;c=aH(a.ha,c)*a.a.width+a.a.left+k;a.c.g||(h.get("baselineStart")&&h.get("baselineEnd")?d=a.dd?2.7*d/2:.65*d:h.wb()&&(d*=1-.7+.4));return new M(e,b,c-e,d)}
function kJ(a,b,c,d,e,f){d=d||"finishstart";var h=b.index,k=c.index,l=b.periodIndex,n=c.periodIndex,p=jJ(a,h,b.periodIndex),q=jJ(a,k,c.periodIndex);if(p&&q){c=e&&e.fill?Bn(e.fill):a.vt;e=e&&e.stroke?Gn(e.stroke):a.w;b=null!=f;var t,v,w,x,z;f=f||null;var C=b?f:null,F,J=!0,O=Gr(e)%2&&Jp===Kp?.5:0;switch((d+"").toLowerCase()){case"finishfinish":t=Math.round(p.left+p.width)+O;v=Math.round(p.top+p.height/2)+O;w=Math.round(q.left+q.width)+O;x=Math.round(q.top+q.height/2)+O;z="left";p.top==q.top?(f=oJ(a,t,v,w,x,f),t>w&&(z="right")):(p=Math.max(t+4+5,w+4+5),f=oJ(a,t,v,p,v,f),f=oJ(a,p,v,p,x,f),f=oJ(a,p,x,w,x,f));C=pJ(a,w,x,z,C);break;case"startfinish":t=Math.round(p.left)+O;v=Math.round(p.top+p.height/2)+O;w=Math.round(q.left+q.width)+O;x=Math.round(q.top+q.height/2)+O;z="left";t-5-5-4>w?(p=w+5+4,f=oJ(a,t,v,p,v,f),f=oJ(a,p,v,p,x,f),f=oJ(a,p,x,w,x,f)):(J=q.top>=p.top,p=t-5,F=w+5+4,q=Math.round(J?q.top:q.top+q.height)+O,f=oJ(a,t,v,p,v,f),f=oJ(a,p,v,p,q,f),f=oJ(a,p,q,F,q,f),f=oJ(a,F,q,F,x,f),f=oJ(a,F,x,w,x,f));C=pJ(a,w,x,z,C);break;case"startstart":t=Math.round(p.left)+O;v=Math.round(p.top+p.height/2)+O;w=Math.round(q.left)+O;x=Math.round(q.top+q.height/2)+O;z="right";p.top==q.top?(f=oJ(a,t,v,w,x,f),t>w&&(z="left")):(p=Math.min(t-4-5,w-4-5),f=oJ(a,t,v,p,v,f),f=oJ(a,p,v,p,x,f),f=oJ(a,p,x,w,x,f));C=pJ(a,w,x,z,C);break;default:t=Math.round(p.left+p.width)+O,v=Math.round(p.top+p.height/2)+O,w=Math.round(q.left)+O,w>=t?(w=Math.min(w+5,Math.round(q.left+q.width/2)+O),q.top>p.top?(x=Math.round(q.top)+
O,f=oJ(a,t,v,w,v,f),f=oJ(a,w,v,w,x,f),C=pJ(a,w,x,"bottom",C)):q.top<p.top?(x=Math.round(q.top+q.height)+O,f=oJ(a,t,v,w,v,f),f=oJ(a,w,v,w,x,f),C=pJ(a,w,x,"top",C)):(w=Math.round(q.left)+O,x=Math.round(q.top+q.height/2)+O,f=oJ(a,t,v,w,x,f),C=pJ(a,w,x,"right",C))):(x=Math.round(q.top+q.height/2)+O,q=Math.round(q.top>p.top?q.top:q.top+q.height)+O,p=t+5,F=w-5-4,f=oJ(a,t,v,p,v,f),f=oJ(a,p,v,p,q,f),f=oJ(a,p,q,F,q,f),f=oJ(a,F,q,F,x,f),f=oJ(a,F,x,w,x,f),C=pJ(a,w,x,"right",C))}var q=!1,S;a.fa&&(S={fromItemIndex:h,toItemIndex:k,connType:d},a.c.g&&(S.fromPeriodIndex=l,S.toPeriodIndex=n,d&&(S.connType=d)),q=B(a.ea)&&jf(a.ea,S));f&&!b&&(f.stroke(e),f.tag=void 0,f.type=6,f.m=null,f.$c(a.fa?"pointer":"default"),f.l=S,f.stroke(q?a.ro:e));C&&!b&&(C.fill(c).stroke(e),C.tag=void 0,C.type=6,C.m=null,C.$c(a.fa?"pointer":"default"),C.l=S,C.stroke(q?a.ro:e))}}
function oJ(a,b,c,d,e,f){if(f)try{f.lineTo(d,e)}catch(n){f.moveTo(b,c).lineTo(d,e)}else{var h=Math.max(b,d),k=Math.min(c,e),l=Math.max(c,e);Math.min(b,d)<a.a.left+a.a.width&&h>a.a.left&&k<a.a.top+a.a.height&&l>a.a.top&&(f=lJ(a),f.zIndex(60).moveTo(b,c).lineTo(d,e))}return f}
function pJ(a,b,c,d,e){var f=e||null;if(b>=a.a.left&&b<=a.a.left+a.a.width&&c>=a.a.top&&c<=a.a.top+a.a.height){var h=0,k=0,l=0,n=0;switch(d){case"left":b+=1;h=b+4;k=c-4;l=h;n=c+4;break;case"top":c+=1;h=b-4;k=c+4;l=b+4;n=k;break;case"right":--b;h=b-4;k=c-4;l=h;n=c+4;break;case"bottom":--c,h=b-4,k=c-4,l=b+4,n=k}null!=e||(f=lJ(a));f.zIndex(70).moveTo(b,c).lineTo(h,k).lineTo(l,n).lineTo(b,c)}return f}
function WH(a){var b=a.c.N,c=a.c.D;a.ha.m=b;a.ha.j=c;var d=a.jx()*(c-b),e=a.ix()*(c-b),f;f=a.ha;f=isNaN(f.a)&&isNaN(f.g)&&isNaN(f.c)&&isNaN(f.b);var d=b-d,h=0,k=0,l=0;f||(k=uG(a.ha),l=k.max,k=k.min,h=l-k);tG(a.ha,d,c+e);h&&(k=uG(a.ha),k=k.min,e=a.ha,l=k,h=k+h,m(h)?k=h-l:(k=e.c-e.a,h=l+k),k=Math.min(e.b-e.g,k),h>e.b&&(h=e.b,l=h-k),l<e.g&&(l=e.g,h=l+k),sG(e,l,h));f&&sG(a.ha,d,b+Math.round((c-b)/10))}
g.yF=function(){GH(this).zIndex(34);this.aa().A(EH(this));this.labels().A(EH(this));this.qb.A(BH(this));WH(this)};g.Dw=function(){this.qb.Nc().set(this.a.left,this.a.top,this.a.width,this.bg());this.mo=!0};g.Cw=function(){UI(this).stroke(this.Tc);bJ(this).stroke(this.od);VI(this).fill(this.wt).stroke(this.zt);XI(this).fill(this.Ct).stroke(this.It);YI(this).fill(this.Lj).stroke(this.Ak);ZI(this).fill(this.Lj).stroke(this.Ak);$I(this).fill(this.Jj).stroke(this.Kj);aJ(this).fill(this.Jj).stroke(this.Kj)};g.$z=function(){W(this,512)&&(this.mo=this.Sb=!0,U(this,512));if(this.mo){T(this.qb,64);this.qb.I();var a=this.qb.c[2].b;if(a.length)for(var b=UI(this).clear(),c=0,d=a.length-1;c<d;c++){var e=aH(this.ha,a[c]),e=this.a.left+this.a.width*e;b.moveTo(e,this.a.top).lineTo(e,this.a.top+this.a.height)}b=vG(this.ha);c=uG(this.ha);a=aH(this.ha,b.min)*this.a.width;d=aH(this.ha,b.max)*this.a.width;b=aH(this.ha,c.min)*this.a.width;c=aH(this.ha,c.max)*this.a.width;this.m&&(a=new M(a,0,d-a,0),b=new M(b,0,c-b,0),X(this.m).Ji(!1).ak(a).Tq(b).I().Ji(!0).O(!1),this.m.A()&&this.m.I())}};g.UF=function(){if(this.Sb||this.mo){DH(this).br();for(var a=Xf(this.ho,this.lo,this.Mf),b=new M(this.a.left,this.a.top+this.bg()+1,this.a.width,this.a.height-this.bg()-1),c=0,d=a.length;c<d;c++){var e=a[c];e&&(X(e),e.R(b),e.A(DH(this)),T(e,2),e.I(),e.O(!1))}this.Bp=0;this.labels().clear();this.aa().clear();if(this.c.g)for(var f=this.a.top+this.bg()+1-this.c.gg(),h=this.c.h,k=this.c.ve();k<=nH(this.c);k++){var l=h[k];if(!l)break;var n=eH(l),p=f+n,q=l,t=f,v=n,w=q.get("periods");if(w)for(var x=0;x<w.length;x++){var z=w[x],C=q.ug("periods",x,"start"),F=q.ug("periods",x,"end");if(y(C)&&y(F)){var J=aH(this.ha,C),O=aH(this.ha,F);if(0<O&&1>J){var S=this.a.left+this.a.width*J,da=.7*v;mJ(this,new M(S,t+(v-da)/2,this.a.left+this.a.width*O-S,da),z,5)}}}nJ(this,l,f,n);f=p+this.Sa}else for(var V=this.a.top+this.bg()+1-this.c.gg(),Ka=this.c.h,bb=this.c.ve();bb<=nH(this.c);bb++){var Fa=Ka[bb];if(!Fa)break;var Bb=eH(Fa),yc=V+Bb,gc=Fa.get("baselineStart"),gb=Fa.get("baselineEnd");if(m(gc)&&m(gb)){var Wb=Fa,Kd=V,ye=Bb,Td=y(Wb.l("actualStart"))?Wb.l("actualStart"):Wb.l("autoStart"),Zi=y(Wb.l("actualEnd"))?Wb.l("actualEnd"):Wb.l("autoEnd"),Dp=Wb.l("baselineStart"),ts=Wb.l("baselineEnd"),Fh=aH(this.ha,Td),yG=aH(this.ha,Zi),zG=aH(this.ha,Dp),AG=aH(this.ha,ts);if(0<yG&&1>Fh||0<AG&&1>zG){var ak=this.a,ht=ak.left+ak.width*Fh,BG=ak.left+ak.width*yG,bq=Kd+ye*(1-.7)/2,cq=.7*ye/2,CG=ak.left+ak.width*zG,IL=ak.left+ak.width*AG,uy=bq+cq;if(this.dd)var JL=bq,bq=uy,uy=JL;var KL=new M(ht,bq,BG-ht,cq),LL=mJ(this,KL,Wb,1,"actual");mJ(this,new M(CG,uy,IL-CG,cq),Wb,3,"baseline");var DG=1*cq,ML=bq+(cq-DG)/2,EG=m(Wb.get("progressValue"))?parseFloat(Wb.get("progressValue"))/100:xl(Wb.l("autoProgress"),2);EG&&(mJ(this,new M(ht,ML,EG*(BG-ht),DG),Wb,2,"progress").m=LL.m)}}else if(Fa.wb()){var Lh=Fa,NL=V,FG=Bb,OL=y(Lh.l("actualStart"))?Lh.l("actualStart"):Lh.l("autoStart"),PL=y(Lh.l("actualEnd"))?Lh.l("actualEnd"):Lh.l("autoEnd"),GG=aH(this.ha,OL),HG=aH(this.ha,PL);if(0<HG&&1>GG){var it=this.a.left+this.a.width*GG,IG=this.a.left+this.a.width*HG,JG=NL+FG*(1-.7)/2,vy=.4*FG,QL=new M(it,JG,IG-it,vy),RL=mJ(this,QL,Lh,0,"actual"),KG=1*vy,SL=JG+(vy-KG)/2,LG=m(Lh.get("progressValue"))?parseFloat(Lh.get("progressValue"))/100:xl(Lh.l("autoProgress"),2);LG&&(mJ(this,new M(it,SL,LG*(IG-it),KG),Lh,2,"progress").m=RL.m)}}else if(zH(Fa)){var dq=Fa,TL=V,MG=Bb,UL=dq.get("actualStart"),wy=aH(this.ha,UL);if(0<=wy&&1>=wy){var bk=dq.get("milestone"),Mn=bk&&m(bk.stroke)?Gn(bk.stroke):this.ko,NG=(Fr(Mn)?0:u(Mn)?1:Mn.thickness?Mn.thickness:1)%2&&Jp===Kp?.5:0,Nn=Math.round(.7*MG/2),jt=Math.round(this.a.left+this.a.width*wy)+NG,kt=Math.round(TL+MG/2)+NG,On=lJ(this);On.tag=dq.get("id");On.type=4;var OG=jt-Nn,PG=kt-Nn,VL=jt+Nn,WL=kt+Nn,QG=Nn+Nn;On.zIndex(20).moveTo(OG,kt).lineTo(jt,PG).lineTo(VL,kt).lineTo(jt,WL).close();var RG=new M(OG,PG,QG,QG);On.m=RG;var ck=bk?bk.label:void 0,lt=void 0;ck&&m(ck.value)?lt=ck.value+"":lt=dq.get("name")||"";if(lt){var xy=ck&&ck.position?ck.position:this.labels().position(),xy=Yb(xy),XL={value:Ar(RG,xy)},YL={value:lt},ZL=this.labels().add(YL,XL);ck&&ZL.C(ck)}var yy=dq==this.da;if(bk){var zy=void 0;yy?(zy=this.Oe,Mn=this.Cf):zy=m(bk.fill)?Bn(bk.fill):this.io;On.fill(zy).stroke(Mn)}else On.fill(yy?this.Oe:this.io).stroke(yy?this.Cf:this.ko)}}else{var lj=Fa,$L=V,SG=Bb,aM=y(lj.l("actualStart"))?lj.l("actualStart"):lj.l("autoStart"),bM=y(lj.l("actualEnd"))?lj.l("actualEnd"):lj.l("autoEnd"),TG=aH(this.ha,aM),UG=aH(this.ha,bM);if(0<UG&&1>TG){var mt=this.a.left+this.a.width*TG,VG=this.a.left+this.a.width*UG,nt=.7*SG,WG=$L+(SG-nt)/2,cM=new M(mt,WG,VG-mt,nt),dM=mJ(this,cM,lj,1,"actual"),XG=1*nt,eM=WG+(nt-XG)/2,YG=parseFloat(lj.get("progressValue"));YG&&(mJ(this,new M(mt,eM,YG*(VG-mt)/100,XG),lj,2,"progress").m=dM.m)}}nJ(this,Fa,V,Bb);V=yc+this.Sa}this.labels().I();this.aa().I();for(var Ay=this.c.J,By=Ay.length,Pn,fM=this.c.g?this.c.H:this.c.M;By--;){Pn=Ay[By];var Qn=Pn.to;B(Qn)||(Qn=fM[Qn]);m(Qn)?(Pn.to=Qn,kJ(this,Pn.from,Qn,Pn.type,Pn.connSettings)):fb(Ay,By,1)}for(var Cy=this.Bp,gM=this.Kp.length;Cy<gM;Cy++){var Dy=this.Kp[Cy];Dy.fill(null).stroke(null).clear();Dy.m=null;Dy.type=void 0}this.mo=!1;for(var hM=new M(this.a.left,this.a.top+this.bg()+1,this.a.width,this.wA),Ey=0;Ey<this.Mf.length;Ey++){var ot=this.Mf[Ey];X(ot);ot.R(hM);ot.O(!1);ot.I()}}};g.qE=function(){if(this.ea){var a=this.ea.connType,b=this.c.h,c=b[this.ea.fromItemIndex],d=b[this.ea.toItemIndex],b=0;if(this.c.g){var e=this.ea.fromPeriodIndex,f=c.get("periods")[e].connector,d=d.get("periods")[this.ea.toPeriodIndex].id;if(r(f))for(b=0;b<f.length;b++){var h=f[b];if(h){var k=h.connectorType||"finishstart";h.connectTo==d&&k==a&&c.qj("periods",e,"connector",b)}}else c.qj("periods",e,"connector"),c.qj("periods",e,"connectorType"),c.qj("periods",e,"connectTo")}else if(e=d.get("id"),f=c.get("connector"),r(f))for(b=0;b<f.length;b++){if(d=f[b])h=d.connectorType||"finishstart",e==d.connectTo&&h==a&&c.qj("connector",b)}else c.qj("connector"),c.qj("connectorType"),c.qj("connectTo");this.ea=null}};g.Sp=function(){if(!this.m){this.m=new Kz;Tz(Rz(this.m.es("horizontal").zs(!1)));var a=this.ha;this.m.pa("scrollchange",function(b){var c=vG(a),d=c.min,c=c.max-d;sG(a,Math.round(d+b.startRatio*c),Math.round(d+b.endRatio*c))})}return this.m};g.qp=function(a,b,c){gt(this,this.ha,this.c);c||(this.h=!1,clearInterval(this.W),this.W=null,cJ(this));var d=this.c.ve(),e=this.c.a,f=this.c.gg(),d=d?e[d-1]:0;rH(this.c,d+(f+b));a/=this.a.width;if(c&&!this.Nb&&(this.Bb||this.qA))c=this.ha,a&&((isNaN(c.a)||isNaN(c.c))&&sG(c,xG,ZG),b=Math.round((c.c-c.a)*a),a=c.a+b,b=c.c+b,c.g=Math.min(c.g,a),c.a=a,c.b=Math.max(c.b,b),c.c=b,c.ca(4));else if(this.Nb||this.h&&this.j||!this.h)c=this.ha,a&&((isNaN(c.a)||isNaN(c.c))&&sG(c,xG,ZG),a=Math.round((c.c-c.a)*a),b=0,b=0<=a?Math.min(c.b-c.c,a):Math.max(c.g-c.a,a),sG(c,c.a+b,c.c+b));pt(this,this.ha,this.c)};g.o=function(){var a=PI.v.o.call(this);a.scale=this.ha.o();a.labels=this.labels().o();a.markers=this.aa().o();a.columnStroke=P(this.Tc);a.baselineAbove=this.dd;a.baseFill=P(this.Zs);a.baseStroke=P(this.ct);a.baselineFill=P(this.ot);a.baselineStroke=P(this.st);a.milestoneFill=P(this.io);a.milestoneStroke=P(this.ko);a.parentFill=P(this.xu);a.parentStroke=P(this.Bu);a.progressFill=P(this.Gu);a.progressStroke=P(this.Hu);a.connectorFill=P(this.vt);a.connectorStroke=P(this.w);a.selectedElementFill=P(this.Oe);a.selectedElementStroke=P(this.Cf);a.selectedConnectorStroke=P(this.ro);a.connectorPreviewStroke=P(this.od);a.editPreviewFill=P(this.wt);a.editPreviewStroke=P(this.zt);a.editProgressFill=P(this.Ct);a.editProgressStroke=P(this.It);a.editIntervalThumbFill=P(this.Lj);a.editIntervalThumbStroke=P(this.Ak);a.editConnectorThumbFill=P(this.Jj);a.editConnectorThumbStroke=P(this.Kj);for(var b=0,c=[],b=0;b<this.ho.length;b++){var d=this.ho[b];d&&c.push(d.o())}c.length&&(a.lineAxesMarkers=c);c=[];for(b=0;b<this.lo.length;b++)(d=this.lo[b])&&c.push(d.o());c.length&&(a.rangeAxesMarkers=c);c=[];for(b=0;b<this.Mf.length;b++)(d=this.Mf[b])&&c.push(d.o());c.length&&(a.textAxesMarkers=c);return a};g.K=function(a){PI.v.K.call(this,a);"scale"in a&&this.ha.C(a.scale);"labels"in a&&this.labels(a.labels);"markers"in a&&this.aa(a.markers);this.lD(a.columnStroke);this.ID(a.baselineAbove);this.ED(a.baseFill);this.HD(a.baseStroke);this.JD(a.baselineFill);this.KD(a.baselineStroke);this.KF(a.milestoneFill);this.LF(a.milestoneStroke);this.RF(a.parentFill);this.SF(a.parentStroke);this.YF(a.progressFill);this.ZF(a.progressStroke);this.UD(a.connectorFill);this.Xd(a.connectorStroke);this.qG(a.selectedElementFill);this.rG(a.selectedElementStroke);this.lQ(a.selectedConnectorStroke);this.VD(a.connectorPreviewStroke);this.QE(a.editPreviewFill);this.RE(a.editPreviewStroke);this.SE(a.editProgressFill);this.TE(a.editProgressStroke);this.OE(a.editIntervalThumbFill);this.PE(a.editIntervalThumbStroke);this.ME(a.editConnectorThumbFill);this.NE(a.editConnectorThumbStroke);"defaultLineMarkerSettings"in a&&RI(this,a.defaultLineMarkerSettings);"defaultRangeMarkerSettings"in a&&SI(this,a.defaultRangeMarkerSettings);"defaultTextMarkerSettings"in
a&&TI(this,a.defaultTextMarkerSettings);var b=a.lineAxesMarkers,c=a.rangeAxesMarkers;a=a.textAxesMarkers;var d=0;if(r(b))for(d=0;d<b.length;d++)this.mD(d,b[d]);if(r(c))for(d=0;d<c.length;d++)this.nD(d,c[d]);if(r(a))for(d=0;d<a.length;d++)this.oD(d,a[d])};function WI(a){So.call(this);this.parent(a)}G(WI,Tn);WI.prototype.index=-1;WI.prototype.$g=-1;function dJ(a){Pk.call(this,a.P());this.element=a;this.y=this.x=0}G(dJ,Pk);dJ.prototype.ll=function(){this.c=this.a=0};dJ.prototype.nn=function(a){this.element.fc(1,0,0,1,a,0)};dJ.prototype.pn=function(){return 0};function eJ(a){Pk.call(this,a.P());this.element=a;this.Qe=NaN}G(eJ,Pk);eJ.prototype.ll=function(){this.c=this.a=0};eJ.prototype.nn=function(a){this.element.fc(1,0,0,1,a,0);this.Qe=(a-this.m.left)/this.m.width};eJ.prototype.mt=function(a){var b=this.element.a,c=this.element.item,c=m(c.get("progressValue"))?parseFloat(c.get("progressValue"))/100:xl(c.l("autoProgress"),2),c=b.width*(c||0);this.m.left=-c;this.m.width=b.width;return ub(a,-c,b.width-c)};eJ.prototype.pn=function(){return 0};function fJ(a,b){Pk.call(this,a.P());this.element=a;this.b=!!b}G(fJ,Pk);fJ.prototype.pn=function(){return 0};function gJ(a,b,c){Pk.call(this,b.P());this.element=b;this.b=!!c;this.w=this.N=NaN}G(gJ,Pk);gJ.prototype.ll=function(){this.c=this.a=0};PI.prototype.backgroundFill=PI.prototype.Im;PI.prototype.cellOddFill=PI.prototype.QD;PI.prototype.cellEvenFill=PI.prototype.PD;PI.prototype.cellFill=PI.prototype.LC;PI.prototype.columnStroke=PI.prototype.lD;PI.prototype.rowFill=PI.prototype.eu;PI.prototype.rowEvenFill=PI.prototype.Zr;PI.prototype.rowOddFill=PI.prototype.$r;PI.prototype.rowHoverFill=PI.prototype.Fz;PI.prototype.rowSelectedFill=PI.prototype.Hz;PI.prototype.editing=PI.prototype.ny;PI.prototype.baselineAbove=PI.prototype.ID;PI.prototype.baseFill=PI.prototype.ED;PI.prototype.baseStroke=PI.prototype.HD;PI.prototype.baselineFill=PI.prototype.JD;PI.prototype.baselineStroke=PI.prototype.KD;PI.prototype.milestoneFill=PI.prototype.KF;PI.prototype.milestoneStroke=PI.prototype.LF;PI.prototype.parentFill=PI.prototype.RF;PI.prototype.parentStroke=PI.prototype.SF;PI.prototype.progressFill=PI.prototype.YF;PI.prototype.progressStroke=PI.prototype.ZF;PI.prototype.connectorFill=PI.prototype.UD;PI.prototype.connectorStroke=PI.prototype.Xd;PI.prototype.selectedElementFill=PI.prototype.qG;PI.prototype.selectedElementStroke=PI.prototype.rG;PI.prototype.tooltip=PI.prototype.rb;PI.prototype.minimumGap=PI.prototype.jx;PI.prototype.maximumGap=PI.prototype.ix;PI.prototype.labels=PI.prototype.labels;PI.prototype.markers=PI.prototype.aa;PI.prototype.connectorPreviewStroke=PI.prototype.VD;PI.prototype.editPreviewFill=PI.prototype.QE;PI.prototype.editPreviewStroke=PI.prototype.RE;PI.prototype.editProgressFill=PI.prototype.SE;PI.prototype.editProgressStroke=PI.prototype.TE;PI.prototype.editIntervalThumbFill=PI.prototype.OE;PI.prototype.editIntervalThumbStroke=PI.prototype.PE;PI.prototype.editConnectorThumbFill=PI.prototype.ME;PI.prototype.editConnectorThumbStroke=PI.prototype.NE;PI.prototype.editStructurePreviewFill=PI.prototype.ly;PI.prototype.editStructurePreviewStroke=PI.prototype.my;PI.prototype.editStructurePreviewDashStroke=PI.prototype.ky;PI.prototype.textMarker=PI.prototype.oD;PI.prototype.lineMarker=PI.prototype.mD;PI.prototype.rangeMarker=PI.prototype.nD;function Yc(){ru.call(this);this.h=this.j=null;ru.call(this)}G(Yc,ru);g=Yc.prototype;g.Oc=function(a){return isNaN(xb(a))};g.qa=function(){return"dateTime"};g.ja=function(a){this.j||(this.j=new eG(this),L(this,this.j),R(this.j,this.xD,this));return m(a)?(this.j.C(a),this):this.j};g.Ga=function(a){this.h||(this.h=new eG(this),L(this,this.h),R(this.h,this.xD,this));return m(a)?(this.h.C(a),this):this.h};g.xb=function(a){for(var b=0;b<arguments.length;b++)Yc.v.xb.call(this,xb(arguments[b]));return this};g.transform=function(a,b){return Yc.v.transform.call(this,xb(a),b)};g.ac=function(a){return Math.round(Yc.v.ac.call(this,a))};g.bb=function(){if(!this.c){Yc.v.bb.call(this);var a=this.ja(),b=this.min,c=this.max,d=this.B,e=this.w;a.ij=null;var f=[b,c];if(!a.Hf){var h=[],k=a.Pg||iG(a,b,c,!1);d&&(f[0]=b=Dr(b,k));b=new Rg(new Date(b));c=new Rg(new Date(c));for(d=0;0>=b.getTime()-c.getTime()&&150>d;b.add(k),d++)h.push(b.getTime());e&&0<b.getTime()-c.getTime()&&h.push(f[1]=b.getTime());a.ij=h}a=this.Ga();k=this.min;b=this.max;c=f[0];h=f[1];a.ij=null;if(!a.Hf){e=[];k=a.Pg||iG(a,k,b,!0);c=new Rg(new Date(c));h=new Rg(new Date(h));for(b=0;0>=c.getTime()-h.getTime()&&150>b;c.add(k),b++)e.push(c.getTime());a.ij=e}this.B&&(this.min=f[0]);this.w&&(this.max=f[1]);this.ff=this.max-this.min}};g.Rp=function(){return!0};g.xD=function(a){Y(a,2)&&(this.c=!1,this.ca(2))};g.o=function(){var a=Yc.v.o.call(this);a.ticks=this.ja().o();a.minorTicks=this.Ga().o();return a};g.K=function(a){Yc.v.K.call(this,a);this.ja(a.ticks);this.Ga(a.minorTicks)};function HF(){return new Yc}E("anychart.scales.dateTime",HF);Yc.prototype.getType=Yc.prototype.qa;Yc.prototype.ticks=Yc.prototype.ja;Yc.prototype.minorTicks=Yc.prototype.Ga;Yc.prototype.transform=Yc.prototype.transform;Yc.prototype.extendDataRange=Yc.prototype.xb;Yc.prototype.softMinimum=Yc.prototype.Yz;Yc.prototype.softMaximum=Yc.prototype.Xz;Yc.prototype.minimumGap=Yc.prototype.Xm;Yc.prototype.maximumGap=Yc.prototype.Wm;function qJ(a){Oj.call(this);this.ha=a}G(qJ,dt);g=qJ.prototype;g.ia=2;g.mg=NaN;g.nd=4;g.uf=6;g.ke=null;g.Ze=null;g.vg=0;g.Ym="linear";g.VM=function(a){return m(a)?(this.mg!=a&&(a=I(a),0>a?(this.nd=4,this.uf=6,this.mg=NaN):(this.uf=this.nd=NaN,this.mg=+a),this.Ze=this.ke=null,this.ca(2)),this):this.mg};g.count=function(a,b){return m(a)?(this.nd!=a&&(this.mg=NaN,this.nd=Math.ceil(I(a)),this.uf=Math.ceil(I(b)),2<=this.nd||(this.nd=4),this.uf>=this.nd||(this.uf=this.nd),this.Ze=this.ke=null,this.ca(2)),this):[this.nd,this.uf]};g.yx=function(a){return m(a)?(a=+a||0,this.vg!=a&&(this.vg=a,this.Ze=null,this.ke||this.ca(2)),this):this.vg};g.set=function(a){hg(this.ke,a)||(this.mg=this.uf=this.nd=NaN,this.ke=zb(a,0),ag(this.ke),db(this.ke,qr),this.Ze=null,this.ca(2));return this};g.get=function(){var a=rJ(this);return Nf(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.ha)};function rJ(a){a.ke?a=a.ke:(a.ha.bb(),a=a.Ze);return a||[]}g.mode=function(a){return m(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.Ym!=a&&(this.Ze=null,this.Ym=a,this.ke||this.ca(2)),this):this.Ym};function sJ(a,b,c,d,e,f){if("logarithmic"==a.Ym){f=f||10;a.Ze=null;var h=[b,c];if(a.ke)d&&(h[0]=Math.min(b,a.ke[0]||0)),e&&(h[1]=Math.max(c,a.ke[a.ke.length-1]||0));else{b=zl(b,f);c=zl(c,f);var k=[],l=a.mg;if(isNaN(l))for(var n=NaN,p=NaN,q=a.nd;q<=a.uf;q++){var n=(c-b)/(a.nd-1),t=Math.log(n),v=Math.ceil(Math.pow(10,Math.floor(t*Math.LOG10E))),n=Math.min(Cr(n,v),Cr(n,Math.ceil(Math.pow(10,Math.ceil(t*Math.LOG10E)))),Cr(n,Math.ceil(Math.pow(2,Math.floor(t*Math.LOG2E)))),Cr(n,Math.ceil(Math.pow(2,Math.ceil(t*Math.LOG2E)))),Cr(n,Math.ceil(v/2)),Cr(n,Math.ceil(v/4)),Cr(n,Math.ceil(v/8))),n=Math.max(n,1E-7),t=yl(Br(b,n,a.vg))-b,t=t*t,v=yl(Cr(c,n,a.vg))-c,v=v*v,t=t+v;if(isNaN(p)||t<p)p=t,l=n}l=Math.max(l,1E-7);n=yl(Br(b,l,a.vg));d?(b=n,h[0]=Al(f,n)):1E-7<b-n&&(k.push(Al(f,b)),h[2]=Al(f,n));d=yl(Cr(c,l,a.vg));e?(c=d,h[1]=Al(f,d)):1E-7<d-c&&(h[3]=Al(f,d));for(e=yl(Cr(b,l,a.vg));e<=c;e=yl(e+l))k.push(Al(f,e));3 in h&&k.push(Al(f,c));a.Ze=k}a=h}else{a.Ze=null;f=[b,c];if(a.ke)d&&(f[0]=Math.min(b,a.ke[0]||0)),e&&(f[1]=Math.max(c,a.ke[a.ke.length-1]||0));else{h=[];k=a.mg;if(isNaN(k))for(n=l=NaN,p=a.nd;p<=a.uf;p++){var l=(c-b)/(p-1),q=Math.log(l),t=Math.pow(10,Math.floor(q*Math.LOG10E)),v=Math.pow(10,Math.ceil(q*Math.LOG10E)),w=l<t+t?t/2:Number.POSITIVE_INFINITY,q=zl(l/v,2),l=Math.min(Cr(l,t),Cr(l,v),Cr(l,w),Cr(l,Math.pow(2,Math.floor(q))*v),Cr(l,Math.pow(2,Math.ceil(q))*v)),q=yl(Br(b,l,a.vg))-b,q=q*q,t=yl(Cr(c,l,a.vg))-c,t=t*t,q=q+t;if(isNaN(n)||q<n)n=q,k=l}k=Math.max(k,1E-7);l=yl(Br(b,k,a.vg));d?f[0]=b=l:1E-7<b-l&&(h.push(b),f[2]=l);d=yl(Cr(c,k,a.vg));e?f[1]=c=d:1E-7<d-c&&(f[3]=d);for(e=yl(Cr(b,k,a.vg));e<=c;e=yl(e+k))h.push(e);3 in f&&h.push(c);a.Ze=h}a=f}return a}function tJ(a,b,c,d,e){if(a.ke)a.Ze=null;else if(a.Ze?a.Ze.length=0:a.Ze=[],!(2>b.length)){c=c||10;var f="logarithmic"==a.Ym?a.YH:a.XH,h,k;m(d)?(h=b[0],k=b[1],f.call(a,h,k,d,k,c),h=1):h=0;d=b.length-1;m(e)&&d--;for(var l=h;l<=d-1;l++)h=b[l],k=b[l+1],f.call(a,h,k,h,k,c);m(e)&&(h=b[d],k=b[d+1],f.call(a,h,k,h,e,c))}}
g.XH=function(a,b,c,d){var e=this.mg;isNaN(e)&&(e=(d-c)/(this.nd-1));e=Math.max(e,1E-7);c=this.Ze[this.Ze.length-1];b=xl(b,7);for(a=xl(a,7);a<=b;a=xl(a+e,7))c!=a&&this.Ze.push(a),c=a};g.YH=function(a,b,c,d,e){var f=this.mg;a=zl(a,e);b=zl(b,e);c=zl(c,e);d=zl(d,e);isNaN(f)&&(f=(d-c)/(this.nd-1));f=Math.max(f,1E-7);c=this.Ze[this.Ze.length-1];b=xl(b,7);for(a=xl(a,7);a<=b;a=xl(a+f,7))c!=a&&this.Ze.push(Al(e,a)),c=a};g.o=function(){var a=qJ.v.o.call(this);a.mode=this.Ym;a.base=this.vg;this.ke?a.explicit=this.ke:(this.nd==this.uf?isNaN(this.nd)||(a.count=this.nd):(isNaN(this.nd)||(a.minCount=this.nd),isNaN(this.uf)||(a.maxCount=this.uf)),isNaN(this.mg)||(a.interval=this.mg));return a};g.jc=function(a){var b=arguments;return r(b[0])?(this.set(b[0]),!0):dt.prototype.jc.apply(this,b)};g.K=function(a){qJ.v.K.call(this,a);this.mode(a.mode);this.yx(a.base);this.ke=a.explicit||null;this.nd=a.count||a.minCount||NaN;this.uf=a.count||a.maxCount||NaN;this.mg=a.interval||NaN;this.ke?this.nd=this.uf=this.mg=NaN:this.mg?this.nd=this.uf=NaN:(this.nd=Math.ceil(I(this.nd)),this.uf=Math.ceil(I(this.uf)),2<=this.nd||(this.nd=4),this.uf>=this.nd||(this.uf=this.nd))};qJ.prototype.interval=qJ.prototype.VM;qJ.prototype.count=qJ.prototype.count;qJ.prototype.base=qJ.prototype.yx;qJ.prototype.set=qJ.prototype.set;qJ.prototype.get=qJ.prototype.get;qJ.prototype.mode=qJ.prototype.mode;function Xc(){ru.call(this);this.h=this.j=null;this.Ax=!0;this.a=10;this.M=!0;this.W=this.HF}G(Xc,ru);g=Xc.prototype;g.Fs="none";g.Hx="firstVisible";g.qa=function(){return"linear"};g.ja=function(a){this.j||(this.j=this.qs());return m(a)?(this.j.C(a),this):this.j};g.Ga=function(a){this.h||(this.h=this.qs(),X(this.h),this.h.count(5),this.h.O(!1));return m(a)?(this.h.C(a),this):this.h};g.dA=function(a){return m(a)?(a=!!a,a!=this.M&&(this.M=a,this.B||this.w)&&(this.c=!1,this.ca(4)),this):this.M};g.bb=function(){if(!this.c){Xc.v.bb.call(this);var a=sJ(this.ja(),this.min,this.max,this.B&&this.min!=this.N,this.w&&this.max!=this.m,this.a);this.B&&(this.min=a[0]);this.w&&(this.max=a[1]);tJ(this.Ga(),rJ(this.ja()),this.a,a[2],a[3]);this.ff=this.max-this.min}};g.RM=function(a){Y(a,2)&&(this.c=!1,this.ca(2))};g.qs=function(){var a=new qJ(this);L(this,a);R(a,this.RM,this);return a};g.jN=function(a){if(m(a)){a=sc(a);if(this.Fs!=a){this.Fs=a;switch(this.Fs){case"none":this.W=this.HF;break;case"value":this.W=this.TO;break;case"percent":this.W=this.SO}this.ca(6)}return this}return this.Fs};g.iN=function(a){return m(a)?(a=tc(a)||xb(a),this.Hx!=a&&(this.Hx=a,this.ca(6)),this):this.Hx};g.wx=function(a,b){return this.W(a,b)};g.HF=function(a){return a};g.TO=function(a,b){return I(a)-b};g.SO=function(a,b){return(I(a)-b)/(b||1)*100};g.o=function(){var a=Xc.v.o.call(this);a.ticks=this.ja().o();a.minorTicks=this.Ga().o();a.stackMode=this.ue();a.stickToZero=this.dA();return a};g.K=function(a){Xc.v.K.call(this,a);this.ja(a.ticks);this.Ga(a.minorTicks);this.ue(a.stackMode);this.dA(a.stickToZero)};function GF(){return new Xc}E("anychart.scales.linear",GF);Xc.prototype.getType=Xc.prototype.qa;Xc.prototype.ticks=Xc.prototype.ja;Xc.prototype.minorTicks=Xc.prototype.Ga;Xc.prototype.stackMode=Xc.prototype.ue;Xc.prototype.stickToZero=Xc.prototype.dA;Xc.prototype.softMinimum=Xc.prototype.Yz;Xc.prototype.softMaximum=Xc.prototype.Xz;Xc.prototype.minimumGap=Xc.prototype.Xm;Xc.prototype.maximumGap=Xc.prototype.Wm;Xc.prototype.comparisonMode=Xc.prototype.jN;Xc.prototype.compareWith=Xc.prototype.iN;function Nw(){ru.call(this);this.H=this.J=0;this.K(Wq().defaultLinearColorScale)}G(Nw,ru);g=Nw.prototype;g.qa=function(){return"linearColor"};g.ty=function(a){var b,c,d,e=[];b=0;for(c=arguments.length;b<c;b++)if(d=arguments[b],u(d))e.push(Cn(d,!0));else if(r(d))e.push.apply(e,this.ty.apply(this,d));else if(B(d)){var f=d.keys;if(m(f)&&r(f)){var f=this.ty.apply(this,d.keys),h=d.opacity;if(m(h))for(var k=0;k<f.length;k++)d=f[k],m(d.opacity)||(d.opacity=h);e.push.apply(e,f)}else e.push(d)}return e};g.sP=function(a){for(var b=this.ty.apply(this,arguments),c=0,d=b.length;c<d;c++){var e=b[c];m(e.offset)||(e.offset=0==c?0:c==d-1?1:c/(d-1));var f=e.color;r(f)?e.color=Zf(f):u(f)&&(e.color=Nh(zq(f).ef))}gg(b);return b};g.of=function(a){if(0<arguments.length){var b=this.sP.apply(this,arguments),c=this.a&&b.length==this.a.length;if(c)for(var d=0,e=b.length;d<e;d++){var f=!1;Mf(this.a,function(a){f=f||jf(a,b[d])});c=c&&f}c&&this.a||(this.a=b,this.ca(2));return this}return this.a};g.Vn=function(a){a=this.transform(a);for(var b,c,d=0,e=this.a.length;d<e;d++){var f=this.a[d];if(c)break;else a>=f.offset?b=f:c=f}var h;b?c?h=Rh(c.color,b.color,(a-b.offset)/(c.offset-b.offset)):h=b.color:h=c.color;return Kh(h)};g.PM=function(a){this.bb();a=Nh(zq(a).ef);var b,c,d,e,f,h,k;h=0;for(k=this.a.length;h<k;h++){c=this.a[h];e=c.color;h!=this.a.length-1&&(d=this.a[h+1],f=d.color);var l,n,p;n=(a[1]-e[1])/(f[1]-e[1]);p=(a[2]-e[2])/(f[2]-e[2]);l=(a[0]-e[0])/(f[0]-e[0]);isNaN(l)&&(l=n||p);isNaN(n)&&(n=p||l);isNaN(p)&&(p=l||n);if(.01>Math.abs(l-n)&&.01>Math.abs(l-p)&&.01>Math.abs(n-p)&&(n=Math.round(f[1]*n+(1-n)*e[1])==a[1],p=Math.round(f[2]*p+(1-p)*e[2])==a[2],Math.round(f[0]*l+(1-l)*e[0])==a[0]&&n&&p)){b=this.ff*(l/(1/(d.offset-c.offset))+c.offset)+this.min;break}}return m(b)?b:NaN};g.ja=function(a){this.j||(this.j=uJ(this));return m(a)?(this.j.C(a),this.ca(2),this):this.j};g.Ga=function(a){this.h||(this.h=uJ(this),this.h.count(5));return m(a)?(this.h.C(a),this.ca(2),this):this.h};g.bb=function(){if(!this.c){Nw.v.bb.call(this);var a=sJ(this.ja(),this.min,this.max,this.B&&this.min!=this.N,this.w&&this.max!=this.m,10);this.B&&(this.min=a[0]);this.w&&(this.max=a[1]);tJ(this.Ga(),rJ(this.ja()),10,a[2],a[3]);this.ff=this.max-this.min}};g.QM=function(a){Y(a,2)&&(this.c=!1,this.ca(2))};function uJ(a){var b=new qJ(a);L(a,b);R(b,a.QM,a);return b}function KF(a){var b=new Nw;b.of.apply(b,arguments);return b}
g.o=function(){var a=Nw.v.o.call(this);a.ticks=this.ja().o();a.minorTicks=this.Ga().o();a.colors=this.of();return a};g.K=function(a){Nw.v.K.call(this,a);this.ja(a.ticks);this.Ga(a.minorTicks);this.of(a.colors)};E("anychart.scales.linearColor",KF);Nw.prototype.colors=Nw.prototype.of;Nw.prototype.valueToColor=Nw.prototype.Vn;Nw.prototype.colorToValue=Nw.prototype.PM;Nw.prototype.ticks=Nw.prototype.ja;Nw.prototype.minorTicks=Nw.prototype.Ga;function vJ(){Pv.call(this);this.H=NaN;xv(this,this,this.QC,this.mL,null,this.QC);this.N.pa(this,"mousedown",this.AO);this.h|=1024}G(vJ,Pv);g=vJ.prototype;g.$=Pv.prototype.$|1024;g.$v=function(){return new Xw};g.Cy=function(){this.g||(this.scale()instanceof Nw?this.g=Yn():this.scale()instanceof Ow&&(this.g=oo(),this.j=[]),this.g.zIndex(this.zIndex()),this.g.parent(this.A()),this.g.$c("pointer"),wv(this,this.g));return this.g};g.Fx=function(a){return m(a)?(a=I(a),this.H!=a&&(this.H=a,T(this,this.h,9)),this):this.H};g.bs=function(a){return m(a)?(a=Zb(a),this.uc!=a&&(this.uc=a,T(this,this.h,9)),this):this.uc};g.length=function(a){return m(a)?(this.Kc!=a&&(this.Kc=a,T(this,this.h,9)),this):this.Kc};g.Jw=function(a){this.b||(this.b=new yx,this.b.Eb({value:{x:0,y:0}}),R(this.b,this.nL,this));return m(a)?(this.b.C(a),T(this,1024,1),this):this.b};g.nL=function(a){Y(a,1)&&T(this,1024,1)};g.target=function(a){return m(a)?(this.F!=a&&(this.F=a,wJ(this),R(this.F,this.IQ,this)),this):this.F};g.IQ=function(a){Y(a,132)&&wJ(this)};function wJ(a){var b=a.scale();if(b&&b instanceof Ow){a.M={};for(var c=a.F.Ya();c.advance();){var d=c.get(a.F.ed[1]);if(d=b.sh(d))a.M[d.sourceIndex]||(a.M[d.sourceIndex]=[]),a.M[d.sourceIndex].push(c.S())}}}
g.Ay=function(a,b){var c=this.scale(),d={},e,f;if(c instanceof Nw)e=parseFloat(b),f=parseFloat(b);else if(c instanceof Ow){e=c.ja().names()[a];f=b;var h=c.sh(b);h&&(d.colorRange={color:h.color,end:h.end,name:h.name,start:h.start,index:h.sourceIndex})}d.index=a;d.value=e;d.tickValue=f;d.max=c.max?c.max:null;d.min=c.min?c.min:null;d.scale=c;return d};g.fk=function(a,b){var c=0;a.enabled()&&(c=a.length(),c="center"==a.position()?Math.max((c-this.H)/2,0):m(b)?0<b?"outside"==a.position()?0:c:0>b?"inside"==a.position()?0:c:c:c);return c};g.jy=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if(f instanceof Nw)this.g.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c-e).lineTo(a.left+b,c-e).close();else if(f instanceof Ow){d=f.Ii();for(var f=f.of(),h=a.width/d.length,k=0,l=d.length;k<l;k++){var n=d[k],n=n.color||f[n.sourceIndex]||f[f.length-1],p=this.j[k]?this.j[k].clear():this.j[k]=this.g.path(),q=a.left+b+h*k;p.moveTo(q,c).lineTo(q+h,c).lineTo(q+h,c-e).lineTo(q,c-e).close();p.stroke(this.stroke());p.fill(n)}}};g.hy=function(a,b,c,d,e){c=a.left-c/2+d;var f=this.scale();if(f instanceof Nw)this.g.moveTo(c,a.top+b).lineTo(c,a.top-b+a.height).lineTo(c+e,a.top-b+a.height).lineTo(c+e,a.top+b).close();else if(f instanceof Ow){d=f.Ii();for(var f=f.of(),h=a.height/d.length,k=0,l=d.length;k<l;k++){var n=d[k],n=n.color||f[n.sourceIndex]||f[f.length-1],p=this.j[k]?this.j[k].clear():this.j[k]=this.g.path(),q=a.top+b+h*(d.length-1-k);p.moveTo(c,q).lineTo(c,q+h).lineTo(c+e,q+h).lineTo(c+e,q).close();p.stroke(this.stroke());p.fill(n)}}};g.ay=function(a,b,c,d,e){c=a.top-c/2+d;var f=this.scale();if(f instanceof Nw)this.g.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c+e).lineTo(a.left+b,c+e).close();else if(f instanceof Ow){d=f.Ii();for(var f=f.of(),h=a.width/d.length,k=0,l=d.length;k<l;k++){var n=d[k],n=n.color||f[n.sourceIndex]||f[f.length-1],p=this.j[k]?this.j[k].clear():this.j[k]=this.g.path(),q=a.left+b+h*k;p.moveTo(q,c).lineTo(q+h,c).lineTo(q+h,c+e).lineTo(q,c+e).close();p.stroke(this.stroke());p.fill(n)}}};g.dy=function(a,b,c,d,e){c=a.left+a.width+c/2-d;var f=this.scale();if(f instanceof Nw)this.g.moveTo(c,a.top+b).lineTo(c,a.top-b+a.height).lineTo(c-e,a.top-b+a.height).lineTo(c-e,a.top+b).close();else if(f instanceof Ow){d=f.Ii();for(var f=f.of(),h=a.height/d.length,k=0,l=d.length;k<l;k++){var n=d[k],n=n.color||f[n.sourceIndex]||f[f.length-1],p=this.j[k]?this.j[k].clear():this.j[k]=this.g.path(),q=a.top+b+h*(d.length-1-k);p.moveTo(c,q).lineTo(c,q+h).lineTo(c-e,q+h).lineTo(c-e,q).close();p.stroke(this.stroke());p.fill(n)}}};g.iC=function(){var a=this.Cy(),b=this.scale();b||this.scale(new Nw);if(b instanceof Nw)a.clear(),a.stroke(this.stroke()),b=Bn(b.of()),this.$a()?b.angle=0:b.angle=90,a.fill(b);else if(b instanceof Ow)for(a=0,b=this.j.length;a<b;a++)this.j[a].clear();var c;switch(this.orientation()){case"top":c=this.jy;break;case"right":c=this.hy;break;case"bottom":c=this.ay;break;case"left":c=this.dy}var a=this.stroke(),a=Fr(a)?0:a.thickness?parseFloat(this.stroke().thickness):1,b=0==a%2?0:.5,d=this.Cb(),e=xJ(this),f=Math.round(this.H),h=this.fk(this.ja(),1),k=this.fk(this.Ga(),1);c.call(this,d,b,a,Math.max(h,k,e),f)};function xJ(a){var b=0;if(a.b&&a.b.enabled()){var c=a.orientation(),b=2*a.b.size(),d=m(a.b.offsetX())?a.b.offsetX():0;a=m(a.b.offsetY())?a.b.offsetY():0;switch(c){case"top":b+=a;break;case"right":b-=d;break;case"bottom":b-=a;break;case"left":b+=d}}return b}
g.Cb=function(){if(!this.Bj||W(this,4)){var a=this.R();if(a){var b,c;a.top=Math.round(a.top);a.left=Math.round(a.left);a.width=Math.round(a.width);a.height=Math.round(a.height);this.$a()?(b=a.width,c=a.height):(b=a.height,c=a.width);var d=this.By(b);c=this.width()?Q(this.width(),c):uI(this,a,d);var e,f,h=this.padding(),k=Q(h.top(),a.height),l=Q(h.right(),a.width),n=Q(h.bottom(),a.height),h=Q(h.left(),a.width),p=this.bs(),q;this.$a()?(d+l+h>b&&(d=b-(l+h)),"left"==p||"top"==p?q=h:"right"==p||"bottom"==p?q=b-d-l:"center"==p&&(q=(b-d-l-h)/2)):(d+n+k>b&&(d=b-(n+k)),"left"==p||"top"==p?q=k:"right"==p||"bottom"==p?q=b-d-n:"center"==p&&(q=(b-d-n-k)/2));var t,v;switch(this.orientation()){case"top":f=a.top+k;e=a.left+q;v=c;t=d;break;case"right":f=a.top+q;e=a.left+a.width-c-l;v=d;t=c;break;case"bottom":f=a.top+a.height-c-n;e=a.left+q;v=c;t=d;break;case"left":f=a.top+q,e=a.left+h,v=d,t=c}this.Bj=new M(Math.round(e),Math.round(f),Math.round(t),Math.round(v))}else this.Bj=new M(0,0,0,0);U(this,4)}return this.Bj};g.By=function(a){return Q(this.Kc,a)};g.ND=function(a,b){var c=this.ja(),d=this.Ga(),e=this.fk(c),f=this.fk(d),h=0,k=xJ(this);"outside"==c.position()?"outside"==d.position()?h=Math.max(a+e,b+f):(h="inside"==d.position()?Math.max(a+e,b):Math.max(a+e,b+f),k=Math.max(f,k)):"inside"==c.position()?"outside"==d.position()?(h=Math.max(a,b+f),k=Math.max(e,k)):(h="inside"==d.position()?Math.max(a,b):Math.max(a,b+f),k=Math.max(e,f,k)):"outside"==d.position()?(h=Math.max(a+e,b+f),k=Math.max(e,k)):(h="inside"==d.position()?Math.max(a+e,b):Math.max(a+
e,b+f),k=Math.max(e,f,k));c=Fr(this.stroke())?0:this.stroke().thickness?parseFloat(this.stroke().thickness):1;return h+k+(Math.round(this.H)+c)};function yJ(a,b){if(!isNaN(+b)){var c=a.scale(),d=a.F,e=a.b&&a.b.enabled(),d=d&&d.enabled()&&d.ad()==c;if(a.enabled()&&e&&c&&d&&(c=a.g.Fa(),e=ub(a.scale().transform(b,.5),0,1),!isNaN(e))){var f,h,k;switch(a.orientation()){case"top":f=c.left+c.width*e;h=c.top+c.height+a.b.size();k=180;break;case"bottom":f=c.left+c.width*e;h=c.top-a.b.size();k=0;break;case"left":f=c.left+c.width+a.b.size();h=c.top+c.height-c.height*e;k=90;break;case"right":f=c.left-a.b.size(),h=c.top+c.height-c.height*e,k=-90}X(a.b).rotation(k).Eb({value:{x:f,y:h}}).O(!1).I();a.b.ld().visible(!0)}}}function zJ(a){a.scale()&&a.b&&a.b.ld().visible(!1)}g.scale=function(a){var b=this.Xh||AJ(this);m(a)&&b&&b!=a&&b.qa()!=a.qa()&&(this.g&&(this.g.Hg(),this.g.parent(null),this.g=null),this.j&&(this.j.length=0));return vJ.v.scale.call(this,a)||AJ(this)};function AJ(a){a.W||(a.W=new Nw,a.W.of("#fff","#000"));return a.W}
g.I=function(){if(!this.tb())return this;W(this,1024)&&(this.b&&(this.b.A(this.A()),this.b.zIndex(this.zIndex()+1),this.b.I(),this.b.ld().visible(!1)),U(this,1024));W(this,2)&&this.b&&this.b.A(this.A());if(W(this,8)&&this.b){var a=this.zIndex();this.b.zIndex(a+1)}return vJ.v.I.call(this)};g.AO=function(a){var b=this.scale(),c=this.F;if(this.enabled()&&b&&c&&c.enabled()&&c.ad()==b){var d=this.g.Fa(),e,f;this.$a()?(e=a.clientX,f=d.left+xk(this.A().oa().A()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+xk(this.A().oa().A()).y,d=(d.height-(e-f))/d.height);d=b.ac(d);a.metaKey||a.shiftKey||!c.map||c.map.hc();var h,k;if(b instanceof Ow)d=b.sh(d),b&&c&&(k=this.M[d.sourceIndex],c.Dc().yb()==$a?this.Ab={Y:c,zb:k}:this.Ab=[{Y:c,zb:k,Nf:k[k.length-1],Wb:{index:k[k.length-1],Vc:0}}]);else if(b instanceof
Nw){a=c.Ya();k=Infinity;f=b.zj();for(e=b.kk();a.advance();)h=a.get(c.ed[1]),h=ub(h,f,e),h=Math.abs(d-h),k>h&&(k=h);k=[];for(a=c.Ya();a.advance();)h=a.get(c.ed[1]),h=ub(h,f,e),h==d&&k.push(a.S());b&&c&&(c.Dc().yb()==$a?this.Ab={Y:c,zb:k}:this.Ab=[{Y:c,zb:k,Nf:k[k.length-1],Wb:{index:k[k.length-1],Vc:0}}])}}};g.QC=function(a){var b=this.scale(),c=this.F;if(this.enabled()&&b&&c&&c.enabled()&&c.ad()==b){var d=this.g.Fa(),e,f;this.$a()?(e=a.clientX,f=d.left+xk(this.A().oa().A()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+xk(this.A().oa().A()).y,d=(d.height-(e-f))/d.height);var h,d=b.ac(d);if(b instanceof Ow)a=b.sh(d),h=this.M[a.sourceIndex],c.Dc().yb()==$a?this.Ab={Y:c,zb:h}:this.Ab=[{Y:c,zb:h,Nf:h[h.length-1],Wb:{index:h[h.length-1],Vc:0}}];else if(b instanceof Nw&&c){f=c.Ya();h=Infinity;for(var k=NaN,l=b.zj(),n=b.kk();f.advance();){e=f.get(c.ed[1]);e=ub(e,l,n);var p=Math.abs(d-e);h>p&&(h=p,k=e)}h=[];f=c.Ya();for(d=k;f.advance();)e=f.get(c.ed[1]),e=ub(e,l,n),e==d&&h.push(f.S());b&&c&&(c.Dc().yb()==$a?(this.Ab&&!Rf(h,function(a){return Tf(this.Ab.zb,a)},this)&&c.dispatchEvent(c.Df("hovered",a,[{Y:c,zb:[],Wb:{index:this.Ab.zb[this.Ab.zb.length-1],Vc:0}}],!1)),this.Ab={Y:c,zb:h}):this.Ab=[{Y:c,zb:h,Nf:h[h.length-1],Wb:{index:h[h.length-1],Vc:0}}])}yJ(this,d)}};g.mL=function(){zJ(this);var a=this.F;a&&(this.a=a)};g.remove=function(){vJ.v.remove.call(this);this.b&&this.b.remove()};g.o=function(){var a=vJ.v.o.call(this);a.marker=this.Jw().o();a.colorLineSize=this.Fx();a.length=this.length();a.align=this.bs();return a};g.K=function(a){vJ.v.K.call(this,a);this.Jw(a.marker);this.Fx(a.colorLineSize);this.length(a.length);this.bs(a.align)};vJ.prototype.marker=vJ.prototype.Jw;vJ.prototype.colorLineSize=vJ.prototype.Fx;vJ.prototype.length=vJ.prototype.length;vJ.prototype.align=vJ.prototype.bs;function BJ(a,b){WA.call(this);this.ed=["x","value"];this.b=null;this.od=0;this.hb=[];this.kc=[];this.Bb=[];this.Ta=[];this.state=new Ta(this);this.data(a,b)}G(BJ,WA);g=BJ.prototype;g.ia=WA.prototype.ia|128;g.$=WA.prototype.$|520208;g.qa=function(){return"treeMap"};g.G=function(){return this.ka||this.Ya()};g.Ya=function(){return this.ka=new Hb(this.kc)};g.Lf=function(){return!0};g.Fd=function(){return!0};g.Qd=function(a){var b=this.G().getItem();b.l(CJ)||(b.l(DJ)==EJ?FJ(this,a):(b.l(GJ)&&(HJ(this,a),IJ(this,a)),FJ(this,a),JJ(this,a)))};g.Bd=ba;g.Kf=ba;g.yb=function(a){return m(a)?(a=Ub(a),a!=this.T&&(this.T=a),this):this.T};g.dc=function(a){return m(a)?(a=null===a?null:Vb(a),a!=this.ea&&(this.ea=a),this):this.ea};g.tf=function(a){if(a){var b=this.G().getItem();a.tag={Y:this,index:b.l("index"),node:b}}};g.ee=function(a){a={type:a.type,target:this,relatedTarget:yv(a.relatedTarget)||a.relatedTarget,domTarget:a.target,relatedDomTarget:a.relatedTarget,offsetX:a.offsetX,offsetY:a.offsetY,clientX:a.clientX,clientY:a.clientY,screenX:a.screenX,screenY:a.screenY,button:a.button,keyCode:a.keyCode,charCode:a.charCode,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,platformModifierKey:a.platformModifierKey,state:a.state};var b=tr(a.domTarget);a.pointIndex=I(b.index);return a};g.$d=function(a){var b=a.type;switch(b){case"mouseout":b="pointmouseout";break;case"mouseover":b="pointmouseover";break;case"mousemove":b="pointmousemove";break;case"mousedown":b="pointmousedown";break;case"mouseup":b="pointmouseup";break;case"click":b="pointclick";break;case"dblclick":b="pointdblclick";break;default:return null}var c;"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex);c=I(c);a.pointIndex=c;return{type:b,actualTarget:a.target,series:this,pointIndex:c,target:this,originalEvent:a,point:this.vd(c)}};g.vd=function(a){return a in this.hb?new Oa(this,this.hb[a]):null};g.vE=function(a,b){a=r(a)&&a.length?a[0]:a;if(this.a&&this.a.target()){var c=this.a.target();if(c==b){var d=c.G();d.select(a);c=d.l(c.ed[1]);yJ(this.a,c)}}};g.$x=function(){this.a&&this.a.enabled()&&zJ(this.a)};g.Cp=function(a){return a instanceof vJ};g.Rs=function(a,b){b=b||{target:this};var c=KJ(this,a),c={type:"drillchange",path:c,current:c[c.length-1]};this.hc();this.ta&&(this.dispatchEvent(this.Df("selected",b,this.ta,!0)),this.ta=null);this.dispatchEvent(c)&&(this.b=a,T(this,66064,129))};g.nm=function(a){if(a.button==sl&&!(a.target instanceof KA||this.Cp(a.target))){var b=tr(a.domTarget),c;if(a.target instanceof Tt||a.target instanceof tx){var d=a.target.vh;d.Lf&&d.Lf()&&(c=d)}else c=b&&b.Y,b=y(b.index)?b.index:a.pointIndex;c&&!c.wc&&c.enabled()&&A(c.$d)&&(c=this.G(),c.select(b),c=c.getItem(),c==this.b?LJ(c)||this.Rs(c.getParent()):c.wb()?this.Rs(c):BJ.v.nm.call(this,a))}};function KJ(a,b){for(var c=[],d=b;d=d.getParent();)c.unshift(a.vd(d.l("index")));c.push(a.vd(b.l("index")));return c}g.fF=function(){MJ(this);return this.b?KJ(this,this.b):null};g.vf=function(a,b){if(!this.enabled())return this;var c=!(b&&b.shiftKey);r(a)?(b||this.hc(),this.state.wd(Ha,a,c?H:void 0)):y(a)&&this.state.wd(Ha,a,c?H:void 0);return this};g.hc=function(a){if(this.enabled()){var b;m(a)?b=a:b=this.state.a==Ua?NaN:void 0;this.state.g(Ha,b)}};g.rf=function(a){if(!this.enabled())return this;if(r(a)){for(var b=jb(this.state,H),c=0;c<b.length;c++)Tf(a,b[c])||this.state.g(H,b[c]);hb(this.state,a)}else y(a)&&(this.gc(),hb(this.state,a));return this};g.gc=function(a){if((ab(this.state,H)||lb(this.state.Cc(),H))&&this.enabled()){var b;m(a)?b=a:b=this.state.a==Ua?NaN:void 0;this.state.g(H,b)}};g.zk=function(){return!0};g.ez=function(a){return m(a)?(a=Ea(a,1,!1),a!=this.M&&(this.M=a,T(this,66064,129)),this):this.M};g.Py=function(a){return m(a)?(a=Ea(a,0,!1),a!=this.X&&(this.X=a,T(this,65552,1)),this):this.X};g.Qy=function(a){return m(a)?(a=I(a),a=isNaN(a)?1:a,a!=this.Gc&&(this.Gc=a,0<this.X&&T(this,262144,1)),this):this.Gc};g.Bt=function(a){return m(a)?(a!=this.kd&&(this.kd=a,T(this,16,1)),this):this.kd};g.Lv=function(a){return m(a)?(a=cc(a,"desc"),a!=this.eb&&(this.eb=a,T(this,16,1)),this):this.eb};function NJ(a,b){var c=a.l(OJ);return b.l(OJ)-c}function PJ(a,b){return-NJ(a,b)}
g.data=function(a,b){return m(a)?(a instanceof Nu?a!=this.w&&(this.w=a):this.w=new Nu(a,b),T(this,4096,1),this):this.w};g.IE=function(a){this.Ia&&(this.gc(),this.dispatchEvent(this.Df("hovered",{target:this},this.Ia,!0)),this.Ia=null);MJ(this);var b=null,c;if(a instanceof Su)b=a;else if(r(a)){if((c=this.data())&&c.wb()){c=c.Td(0);for(var d=0;d<a.length;d++)if(c)c=c.Td(a[d]);else break;c&&(b=c)}}else(c=this.data())&&c.wb()&&(b=c.ku("id",a),0<b.length&&(b=b[0]));this.b=b;T(this,66064,129)};g.qN=function(){MJ(this);this.b&&!LJ(this.b)&&(this.b=this.b.getParent(),T(this,66064,129))};g.jk=function(a){return"categories"==a};g.Al=function(a,b){var c=a.l(),d;if("categories"==this.sf().Fg()){d=c.Y;var e=c.scale;if(e&&d){for(var c=c.ff,f=d.Ya(),h=[];f.advance();){var k=f.get(d.ed[1]);c==e.sh(k)&&h.push(f.S())}if(e=tr(b.domTarget))this.Dc().yb()==$a?e.Ab={Y:d,zb:h}:e.Ab=[{Y:d,zb:h,Nf:h[h.length-1],Wb:{index:h[h.length-1],Vc:0}}];this.a&&this.a.enabled()&&this.a.target()&&yJ(this.a,(c.start+c.end)/2)}}};g.zl=function(a,b){var c=a.l();if("categories"==this.sf().Fg()){if(this.Dc().yb()==$a){var d=tr(b.domTarget);d&&(d.Y=c.Y)}this.a&&this.a.enabled()&&this.a.target()&&zJ(this.a)}};g.Bi=function(a){var b,c=[];this.bb();if("categories"==a){var d=this.ad();if(d&&d instanceof Ow){var e=d.Ii();a=0;for(b=e.length;a<b;a++){var f=e[a];c.push({text:f.name,iconEnabled:!0,iconType:"square",iconFill:f.color,disabled:!this.enabled(),sourceUid:D(this),sourceKey:a,meta:{Y:this,scale:d,ff:f}})}}}return c};g.sd=function(){return[this]};g.Vh=function(){return[]};var OJ="size",DJ="type",CJ="missing",GJ="shape",EJ=1;g=BJ.prototype;g.Oc=function(a){return isNaN(a)||0>=a};function QJ(a,b,c){b.l("index",a.od++).l("depth",c);a.hb.push(b);var d,e=b.wb();if(e){var f=0;d=0;for(var h,k=0;k<e;k++)h=QJ(a,b.Td(k),c+1),f+=h[0],d+=h[1];c=f;a.Oc(c)&&b.l(CJ,!0)}else c=b.get("value"),d=b.get(OJ),c=I(c),a.Oc(c)?(b.l(CJ,!0),d=c=0):(d=I(d)||c,0==d&&b.l(CJ,!0));b.l(OJ,d);b.l("value",c);return[c,d]}
function RJ(a,b,c){"none"!=a.eb&&b.sort(a.ae);a=Array(b.length);var d=c.left,e=c.top,f=c.width,h=c.height,k=f,l=h,n=Pf(b,function(a,b){return a+b.l(OJ)},0);c=a.length;for(var p=f*h/n,n=0;n<c;n++)a[n]||(a[n]={}),a[n].kA=xl(b[n].l(OJ)*p,4);for(var q=p=0,t=k>l,n=Number.MAX_VALUE,v,w=0,x=0,z;q<c;)if(v=SJ(a,k,l,p,q,t),v>n){l=k=0;for(n=p;n<q;n++)z=a[n],z.x=d+w+k,z.y=e+x+l,t?l+=z.height:k+=z.width;t?w+=a[p].width:x+=a[p].height;k=f-w;l=h-x;t=k>l;q=p=q;n=Number.MAX_VALUE}else{for(n=p;n<=q;n++)z=a[n],z.width=1>z.Vq?1:xl(z.Vq,4),z.height=1>z.Zp?1:xl(z.Zp,4);n=v;q++}h=f=0;for(n=p;n<q;n++)z=a[n],z.x=d+w+f,z.y=e+x+h,t?h+=z.height:f+=z.width;for(n=0;n<c;n++)z=a[n],d=Nl(z.x,z.y,z.width,z.height),b[n].l("pointBounds",d)}function SJ(a,b,c,d,e,f){var h=0,k;for(k=d;k<=e;k++)h+=a[k].kA;f?(b=c/h,c=h/c):(c=b/h,b=h/b);for(k=d;k<=e;k++)d=a[k],f?(d.Zp=b*d.kA,d.Vq=c):(d.Vq=c*d.kA,d.Zp=b);d=a[e];return Math.max(d.Zp/d.Vq,d.Vq/d.Zp)}function LJ(a){return a==Xu(a).Td(0)}
g.qt=function(a){return m(a)?(a=Pc(a),this.pd!=a&&(this.pd=a,T(this,16,1)),this):this.pd};g.fh=function(a){this.D||(this.D=new Tt,this.D.La(this),R(this.D,this.MO,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.D.C(a),this):this.D};g.MO=function(a){Y(a,1)&&T(this,16,1)};g.rn=function(a){this.fa||(this.fa=new Tt,this.fa.enabled(null));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.fa.C(a),this):this.fa};g.Zh=function(a){return m(a)?(a=Pc(a),this.Hd!=a&&(this.Hd=a,T(this,16,1)),this):this.Hd};g.labels=function(a){this.na||(this.na=new Tt,this.na.La(this),R(this.na,this.lJ,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.lJ=function(a){Y(a,1)&&T(this,16,1)};g.kb=function(a){this.Sc||(this.Sc=new Tt,this.Sc.enabled(null));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Sc.C(a),this):this.Sc};g.Ib=function(a){this.Id||(this.Id=new Tt,this.Id.enabled(null));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Id.C(a),this):this.Id};g.aa=function(a){this.ga||(this.ga=new tx,this.ga.La(this),this.ga.Nh="star5",R(this.ga,this.mJ,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ga.C(a),this):this.ga};g.mJ=function(a){Y(a,1)&&T(this,16,1)};g.Xa=function(a){this.ub||(this.ub=new tx);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ub.C(a),this):this.ub};g.ob=function(a){this.vb||(this.vb=new tx);return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.vb.C(a),this):this.vb};g.ad=function(a){return m(a)?(this.m!=a&&(this.m&&et(this.m,this.SB,this),(this.m=a)&&R(this.m,this.SB,this),Ad(this.B),this.m?this.B=Pw(this.m.qa(),null):this.B=null,T(this,33280,1)),this):this.m};g.SB=function(a){Y(a,6)&&T(this,33280,1)};g.Gx=function(a){this.a||(this.a=new vJ,this.a.La(this),R(this.a,this.dN,this),T(this,131076,1));return m(a)?(this.a.C(a),this):this.a};g.dN=function(a){var b=0,c=0;Y(a,1)&&(b|=131088,c|=1);Y(a,8)&&(b|=4,c|=8);T(this,b,c)};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.g&&(this.g=k,T(this,16,65));return this}return this.g};g.Lb=function(a,b,c,d,e,f,h){return m(a)?(this.ua=A(a)?a:Bn.apply(null,arguments),this):this.ua};g.Ac=function(a,b,c,d,e,f,h){return m(a)?(this.Nb=A(a)?a:Bn.apply(null,arguments),this):this.Nb};g.stroke=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.c&&(this.c=f,T(this,16,65));return this}return this.c};g.Db=function(a,b,c,d,e){return m(a)?(this.qb=A(a)?a:Gn.apply(null,arguments),this):this.qb};g.lc=function(a,b,c,d,e){return m(a)?(this.Sb=A(a)?a:Gn.apply(null,arguments),this):this.Sb};g.Ua=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.H&&(this.H=e,T(this,16,65));return this}return this.H};g.Hb=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!==this.Sa&&(this.Sa=e);return this}return this.Sa};g.cc=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!==this.nb&&(this.nb=e);return this}return this.nb};g.Kb=function(a){if(!this.F||a)this.F=new ed(this);this.F.Bf();return this.F};g.Jf=function(){return this.Kb()};g.Nd=function(a){var b=this.G().l("pointBounds");a=Yb(a);return{value:Ar(b,a)}};function JJ(a,b){var c=a.G().getItem(),d=c.l("pointBounds"),e=c.l(DJ);if(0==e||2==e){var f=!!(b&Ha),e=!f&&!!(b&H),h=c.l("index"),k=a.aa(),k=f?a.ob():e?a.Xa():a.aa(),l=c.get("marker"),n=c.get("hoverMarker"),c=c.get("selectMarker"),p=wx(a.aa(),h),q=l&&m(l.enabled)?l.enabled:null,t=n&&m(n.enabled)?n.enabled:null,v=c&&m(c.enabled)?c.enabled:null;if(e||f?e?null===t?a.ub&&fa(a.ub.enabled())?null===q?a.ga.enabled():q:a.ub.enabled():t:null===v?a.vb&&fa(a.vb.enabled())?null===q?a.ga.enabled():q:a.vb.enabled():v:null===q?a.ga.enabled():q){var v=a.G().getItem(),f=!!(b&Ha),q=!f&&!!(b&H),w=v.get("marker"),t=v.get("hoverMarker"),v=v.get("selectMarker"),w=w&&w.position?w.position:null,t=t&&t.position?t.position:null,v=v&&v.position?v.position:null,f=q&&(t||a.Xa().position())||f&&(v||a.ob().position())||w||a.aa().position(),f=Yb(f),d={value:Ar(d,f)};p?p.Eb(d):p=a.aa().add(d,h);p.fd();zx(p,k);p.xd(l,e?n:c);p.I()}else p&&a.aa().clear(p.S())}}function TJ(){return""}
function UJ(a,b){return!(a&&null!=a.enabled)&&(null===a||a&&m(a.enabled)&&null===a.enabled||null===b.enabled())}
g.oj=function(a,b){var c=this.G().getItem();c.l("pointBounds");var d=c.l("index"),e,f,h,k="label",l="hoverLabel",n="selectLabel";b?(e=this.fh(),f=this.rn(),h=null,k="header",l="hoverHeader",n=null):(e=this.labels(),f=this.kb(),h=this.Ib());var p=!!(a&Ha),q=!p&&!!(a&H),t=oB(e,d),v;v=p?h:q?f:e;var k=c.get(k),l=q?c.get(l):null,c=p?c.get(n):null,n=k&&m(k.enabled)?k.enabled:null,w=c&&m(c.enabled)?c.enabled:null,x=l&&m(l.enabled)?l.enabled:null,z;b?z=!UJ(q?l:k,v):z=q||p?q?null===x?fa(f.enabled())?null===n?e.enabled():n:f.enabled():x:null===w?fa(h.enabled())?null===n?e.enabled():n:h.enabled():w:null===n?e.enabled():n;if(z){w=this.G().getItem();w.l("index");var C="label",F="hoverLabel",x="selectLabel";b?(f=this.fh(),h=this.rn(),p=null,C="header",F="hoverHeader",x=null):(f=this.labels(),h=this.kb(),p=this.Ib());z=!!(a&Ha);n=!z&&!!(a&H);C=w.get(C);F=n?w.get(F):null;w=z?w.get(x):null;x=C&&C.anchor?C.anchor:null;C=F&&F.anchor?F.anchor:null;w=w&&w.anchor?w.anchor:null;f=n||z?n?C?C:h.anchor()?h.anchor():x?x:f.anchor():w?w:p.anchor()?p.anchor():x?x:f.anchor():x?x:f.anchor();f=this.Nd(f);h=this.Kb();t?(nB(e,d),t.Ed(h),t.Eb(f)):t=e.add(h,f,d);t.fd();tB(t,v);t.xd(k,q?l:c);return t}t&&e.clear(t.S());return null};function FJ(a,b){var c=a.G().getItem(),d=c.l("pointBounds"),e=c.l("index"),c=c.l(DJ);if(0==c||2==c)c=!1;else if(c==EJ)c=!0;else return;var f,h,k;c?(f=a.fh(),h=a.rn(),k=null):(f=a.labels(),h=a.kb(),k=a.Ib());var l=!!(b&Ha),n=!l&&!!(b&H);h=l?k:n?h:f;k=h.tc();var p=(k.width||k.height)&&h.enabled();k=c?a.qt():a.Zh();var q;if(l=a.oj(b,c)){var t=rB(l);(t.adjustByHeight||t.adjustByHeight)&&"same"==mB(f)&&(q=vB(l,d.width,d.height,t.minFontSize,t.maxFontSize,t.adjustByWidth,t.adjustByHeight));f.da=p?q:null;t.width=null;t.height=null;if(t.adjustByWidth||t.adjustByHeight)t.fontSize=pB(l).da;q=f.measure(l.Ed(),l.Eb(),t);var p=!1,v;if(d.left<=q.left&&d.Oa()>=q.Oa()&&d.top<=q.top&&d.ra()>=q.ra())l.width(d.width).height(d.height);else if("drop"==k)c?(p=!0,v=h.ma,h.Fb(TJ),l.width(d.width).height(d.height)):f.clear(e);else if(l.width()!=q.width||l.height()!=q.height)l.b=null,l.width(d.width).height(d.height);"alwaysShow"!=k?l.clip(d):l.clip(null);if(c){var w=!1;if(w=m(l.enabled())&&!n?!l.enabled():!h.enabled())v=h.ma,h.Fb(TJ),l.enabled(!0)}l.I();if(p||w)h.ma=v}}function HJ(a,b){var c=a.G().getItem(),d=c.l(GJ);if(d){var e=c.l(DJ),c=c.l("value"),f=VJ(a,b);2==e?f=Gq(f,a.Gc,!0):4==e&&(f=a.B?a.B.Vn(c):f);d.stroke(WJ(a,b));d.fill(f)}}function IJ(a,b){var c=a.G().getItem().l("hatchShape");null!=c&&c.stroke(null).fill(a.Vb(!0,b))}function VJ(a,b){var c=a.G().getItem(),d=c.get("fill")||a.fill(),c=b&Ha?a.Qk(c,c.get("selectFill")||a.Ac()||d,d):b&H?a.Qk(c,c.get("hoverFill")||a.Lb()||d,d):a.Qk(c,d);return Bn(c)}
function WJ(a,b){var c=a.G().getItem(),d=c.get("stroke")||a.stroke(),c=b&Ha?a.Qk(c,c.get("selectStroke")||a.lc()||d,d):b&H?a.Qk(c,c.get("hoverStroke")||a.Db()||d,d):a.Qk(c,d);return Gn(c)}
g.Vb=function(a,b){var c=this.G().getItem(),d=a&&c.get("hatchFill")||this.Ua(),e;b&Ha?e=a&&c.get("selectHatchFill")||this.cc()||d:b&H?e=a&&c.get("hoverHatchFill")||this.Hb()||d:e=d;c=e;d=this.G().S();A(c)?(e=Wq().hatchFillPalette.items[0],e=Hn(e),c=Hn(c.call({index:d,sourceHatchFill:e}))):ia(c)?(e=Wq().hatchFillPalette.items[0],c=c?Hn(e):null):c=Hn(c);return c};g.Qk=function(a,b,c){var d;if(A(b)){if(2<arguments.length){d=[a];for(var e=2;e<arguments.length;e++)d.push(arguments[e]);d=this.Qk.apply(this,d)}else d=Wq().palette.items[0];d={value:a.l("value"),sourceColor:d,colorScale:this.ad()};d=b.call(d)}else d=b;return d};function XJ(a,b,c,d){if(!(b.l(CJ)||(c=c.clone(),1>c.width||1>c.height))){var e=b.wb(),f=b.uD(),h=null,k,l=b.l(DJ);if(0==l||4==l)h=c.clone(),b.l("pointBounds",h);else{if(l==EJ){var h=c,n=b.l("index");k=b.get("header");if(UJ(k,a.fh()))h=Nl(h.left,h.top,h.width,0);else{k=k||{};k.width||(k.width=h.width);a.G().select(n);var p=a.Kb(),n=Q(a.kd,h.height);k=a.fh().measure(p,void 0,k);k.height>n&&(k.height=n);h=Nl(h.left,h.top,h.width,k.height)}k=Nl(c.left,c.top+h.height,c.width,c.height-h.height);b.l("pointBounds",h);b.l("contentBounds",k)}if(2==l||3==l)h=c.clone(),b.l("pointBounds",h),b.l("contentBounds",h);RJ(a,f,k||h);for(c=0;c<e;c++)f=b.Td(c),h=f.l("pointBounds"),XJ(a,f,h,d+1)}b=b.l("index");a.G().select(b);b=cb(a.state,b);if(3!=l)if(l==EJ)FJ(a,b);else{d=a.G().getItem();f=d.l("pointBounds");e=d.l(DJ);c=Ro(a.J);d.l(GJ,c);HJ(a,b);var f=Nl(xl(f.left,4),xl(f.top,4),xl(f.width,4),xl(f.height,4)),h=c.stroke(),q=0;h&&(q=Qd(h));f.left+=q/2;f.width-=q;f.top+=q/2;f.height-=q;h=Rd(f.left,q);k=h-f.left;var n=Rd(f.width,q),p=n-f.width,t=Rd(f.top,q),v=t-f.top,q=Rd(f.height,q),w=q-f.height;f.left=h;f.width=n-k-p;f.top=t;f.height=q-v-w;c.Jg(f);if(a.Ua()||a.Hb()||a.cc())f=Ro(a.W),f.Pb(c.o()),d.l("hatchShape",f),IJ(a,b);4!=e&&a.tf(c);4!=l&&(FJ(a,b),JJ(a,b))}}}
function YJ(a,b,c){if(!(c>a.M+a.X)){var d,e=a.M+a.X;b.wb()?c<a.M?d=EJ:c==a.M?d=0==a.X?0:2:c>a.M&&(d=c==e?4:3):d=c<=a.M?0:4;b.l(DJ,d);a.kc[b.l("index")]=b;if(e=b.wb())for(var f=0;f<e;f++)YJ(a,b.Td(f),c+1);b=b.l("value");0==d||2==d?a.Bb.push(b):4==d&&a.Ta.push(b)}}function MJ(a){if(W(a,4096)){a.od=0;a.hb=[];a.kc=[];a.Bb=[];a.Ta=[];a.b=null;U(a,4096);var b=a.data();if(b){var c=b.wb();if(1<c)K(18);else if(0==c)return;a.b||(a.b=b.Td(0));QJ(a,b.Td(0),0);T(a,98320)}}}
g.bb=function(){MJ(this);this.b&&(W(this,65536)&&(this.Bb=[],this.Ta=[],this.kc=[],YJ(this,this.b,0),this.Ya(),U(this,65536),T(this,32768)),W(this,32768)&&(this.m&&(this.m.Uc()?(this.m.wf(),this.m.xb.apply(this.m,this.Bb),this.m.pf()):(this.m.bi(),this.m.xb.apply(this.m,this.Bb)),this.m instanceof Ow&&mI(this.m.ja()),this.B.C(this.m.o())),this.B&&(this.B.Uc()?(this.B.wf(),this.B.xb.apply(this.B,this.Ta),this.B.pf()):(this.B.bi(),this.B.xb.apply(this.B,this.Ta))),T(this,16),U(this,32768)))};g.Tg=function(a){if(this.Tb&&(this.bb(),this.b&&(W(this,131072)&&this.a&&(X(this.a),this.a.scale(this.ad()),this.a.target(this),this.a.O(!1),T(this,4)),W(this,4)&&(this.a?(this.a.R(a.clone().round()),this.j=this.a.pb()):this.j=a.clone(),this.J&&this.J.clip(this.j),this.D&&this.D.clip(this.j)),W(this,131072)&&(this.a&&(X(this.a),this.a.A(this.h),this.a.zIndex(50),this.a.I(),this.a.O(!1)),U(this,131072)),W(this,16)&&(this.J?this.J.clear():(this.J=new Qo(function(){return Un()},ba),this.J.clip(this.j),this.J.zIndex(30),this.J.parent(this.h),this.fh().A(this.h).zIndex(41),this.fh().clip(this.j),this.labels().A(this.h).zIndex(40),this.aa().A(this.h).zIndex(40)),this.W?this.W.clear():(this.W=new Qo(function(){return Un()},ba),this.W.zIndex(31),this.W.parent(this.h),this.W.fb(!0)),this.fh().clear(),this.labels().clear(),this.aa().clear(),"desc"==this.eb?this.ae=NJ:"asc"==this.eb&&(this.ae=PJ),XJ(this,this.b,this.j,0),this.fh().I(),this.labels().I(),this.aa().I(),U(this,262160)),W(this,262144)))){a=this.G();for(a.reset();a.advance();)if(2==a.l(DJ)){var b=a.l(GJ);if(b){var c=VJ(this,Ua),c=Gq(c,this.Gc,!0);b.fill(c)}}U(this,262144)}};g.Ez=function(){this.Nc().dn()&&T(this,4,9)};g.aA=function(a,b){var c=tr(b.event.domTarget),d;b.target instanceof Tt||b.target instanceof tx?d=this.hb[c]:d=c.node;var c=[],e=d.l(DJ)==EJ;!d.wb()||e&&d==this.b||c.push({text:"Drilldown To",eventType:"anychart.drillTo",action:na(this.Rs,this,d)});LJ(this.b)||c.push({text:"Drill Up",eventType:"anychart.drillUp",action:na(this.Rs,this,this.b.getParent())});c.length&&c.push(null);return c.concat(a)};g.K=function(a){BJ.v.K.call(this,a);"treeData"in a&&this.data(Ou(a.treeData));if("colorScale"in a){var b=a.colorScale,c=null;u(b)?c=Pw(b,null):B(b)&&(c=Pw(b.type,null))&&c.C(b);c&&this.ad(c)}"maxDepth"in a&&this.ez(a.maxDepth);"hintDepth"in a&&this.Py(a.hintDepth);"hintOpacity"in a&&this.Qy(a.hintOpacity);"maxHeadersHeight"in a&&this.Bt(a.maxHeadersHeight);"colorRange"in a&&this.Gx(a.colorRange);this.Lv(a.sort);"drillTo"in a&&this.IE(a.drillTo);this.yb(a.hoverMode);this.dc(a.selectionMode);this.fill(a.fill);this.Lb(a.hoverFill);this.Ac(a.selectFill);this.stroke(a.stroke);this.Db(a.hoverStroke);this.lc(a.selectStroke);this.Ua(a.hatchFill);this.cc(a.selectHatchFill);this.Hb(a.hoverHatchFill);this.fh().C(a.headers);this.rn().C(a.hoverHeaders);this.qt(a.headersDisplayMode);this.labels().C(a.labels);this.kb().C(a.hoverLabels);this.Ib().C(a.selectLabels);this.Zh(a.labelsDisplayMode);this.aa().C(a.markers);this.Xa().C(a.hoverMarkers);this.ob().C(a.selectMarkers)};g.o=function(){var a=BJ.v.o.call(this);this.ad()&&(a.colorScale=this.ad().o());a.type=this.qa();A(this.fill())?K(8,null,["Series fill"]):a.fill=P(this.fill());A(this.Lb())?K(8,null,["Series hoverFill"]):a.hoverFill=P(this.Lb());A(this.Ac())?K(8,null,["Series selectFill"]):a.selectFill=P(this.Ac());A(this.stroke())?K(8,null,["Series stroke"]):a.stroke=P(this.stroke());A(this.Db())?K(8,null,["Series hoverStroke"]):a.hoverStroke=P(this.Db());A(this.lc())?K(8,null,["Series selectStroke"]):a.selectStroke=P(this.lc());A(this.Ua())?K(8,null,["Series hatchFill"]):a.hatchFill=P(this.Ua());A(this.Hb())?K(8,null,["Series hoverHatchFill"]):a.hoverHatchFill=P(this.Hb());A(this.cc())?K(8,null,["Series selectHatchFill"]):a.selectHatchFill=P(this.cc());var b=this.data();if(b){for(var c={children:[]},d=0;d<b.wb();d++)c.children.push(b.Td(d).o(!1));c.index=[];for(var e in b.mf)c.index.push(e);a.treeData=c}b=this.fF();c=[];for(e=1;e<b.length;e++)d=b[e-1].Dy(),c[e-1]=d.se(b[e].Dy());c.length&&(a.drillTo=c);a.colorRange=this.Gx().o();a.maxDepth=this.ez();a.hintDepth=this.Py();a.hintOpacity=this.Qy();a.maxHeadersHeight=this.Bt();a.sort=this.Lv();a.labels=this.labels().o();a.hoverLabels=this.kb().o();a.selectLabels=this.Ib().o();a.labelsDisplayMode=this.Zh();a.headers=this.fh().o();a.hoverHeaders=this.rn().o();a.headersDisplayMode=this.qt();a.maxHeadersHeight=this.Bt();a.markers=this.aa().o();a.hoverMarkers=this.Xa().o();a.selectMarkers=this.ob().o();return{chart:a}};g.V=function(){Bd(this.D,this.fa,this.na,this.Sc,this.Id,this.ga,this.ub,this.vb);this.vb=this.ub=this.ga=this.Id=this.Sc=this.na=this.fa=this.D=null;BJ.v.V.call(this)};function ZJ(a,b,c,d,e,f,h){var k=kf(b.treeDataItemData);m(k.id)||(a.Tc++,a.Ea=-1);k.parent=[a.dd,f,h];f=a.dd++;c.push(k);for(var l in k)l in d||(d[l]=e++);if((b=b.children)&&b.length)for(h=0,l=b.length;h<l;h++)ZJ(a,b[h],c,d,e,f,k.id)}
g.Sl=function(a,b){var c=B(b)?b:{},d=c.rowsSeparator||"\n";TA(d);var e=c.columnsSeparator||",";TA(e);var f=c.ignoreFirstRow||!1,h=this.data().o().children,c=[],k={},l;this.Ea=1;this.dd=this.Tc=0;k.id=0;k.parent=1;for(l=0;l<h.length;l++)ZJ(this,h[l],c,k,2,null,null);this.Tc===this.dd?this.Ea=0:0===this.Tc&&(this.Ea=1);var n,h=[];for(n in k)h[k[n]]=n;n=[];var p,q,t,v,w,x;0>this.Ea&&(k.__original_id__=h.length,k.__original_parent__=h.length+1,h.push("__original_id__","__original_parent__"));f||n.push(h.join(e));for(l=0;l<c.length;l++){k=Array(h.length);p=c[l];t=p.parent;0>=this.Ea?(w=t[0],x=t[1]):(w=p.id,x=t[2]);for(f=0;f<h.length;f++)q=h[f],v=B(p[q])?Se(p[q]):p[q],k[f]="id"===q?w:"parent"===q?x:"__original_parent__"===q?t[2]:"__original_id__"===q?p.id:v;UA(k,e,d);n.push(k.join(e))}return n.join(d)};BJ.prototype.getType=BJ.prototype.qa;BJ.prototype.data=BJ.prototype.data;BJ.prototype.maxDepth=BJ.prototype.ez;BJ.prototype.hintDepth=BJ.prototype.Py;BJ.prototype.hintOpacity=BJ.prototype.Qy;BJ.prototype.sort=BJ.prototype.Lv;BJ.prototype.selectionMode=BJ.prototype.dc;BJ.prototype.hoverMode=BJ.prototype.yb;BJ.prototype.headers=BJ.prototype.fh;BJ.prototype.hoverHeaders=BJ.prototype.rn;BJ.prototype.headersDisplayMode=BJ.prototype.qt;BJ.prototype.maxHeadersHeight=BJ.prototype.Bt;BJ.prototype.labels=BJ.prototype.labels;BJ.prototype.hoverLabels=BJ.prototype.kb;BJ.prototype.selectLabels=BJ.prototype.Ib;BJ.prototype.markers=BJ.prototype.aa;BJ.prototype.hoverMarkers=BJ.prototype.Xa;BJ.prototype.selectMarkers=BJ.prototype.ob;BJ.prototype.colorScale=BJ.prototype.ad;BJ.prototype.colorRange=BJ.prototype.Gx;BJ.prototype.fill=BJ.prototype.fill;BJ.prototype.hoverFill=BJ.prototype.Lb;BJ.prototype.selectFill=BJ.prototype.Ac;BJ.prototype.stroke=BJ.prototype.stroke;BJ.prototype.hoverStroke=BJ.prototype.Db;BJ.prototype.selectStroke=BJ.prototype.lc;BJ.prototype.hatchFill=BJ.prototype.Ua;BJ.prototype.hoverHatchFill=BJ.prototype.Hb;BJ.prototype.selectHatchFill=BJ.prototype.cc;BJ.prototype.drillTo=BJ.prototype.IE;BJ.prototype.drillUp=BJ.prototype.qN;BJ.prototype.getDrilldownPath=BJ.prototype.fF;BJ.prototype.toCsv=BJ.prototype.Sl;function $J(){Xc.call(this)}G($J,Xc);g=$J.prototype;g.bz=function(a){return m(a)?(a=isNaN(+a)?this.a:+a,a!=this.a&&(this.a=a,this.ca(2)),this):this.a};g.qa=function(){return"log"};g.transform=function(a){this.bb();a=I(a);return EF(this,(zl(a,this.a)-this.F)/this.ff)};g.ac=function(a){this.bb();a=tb(this,a);return Al(this.a,a*this.ff+this.F)};g.bb=function(){this.c||($J.v.bb.call(this),this.F=zl(this.min,this.a),this.ma=zl(this.max,this.a),this.ff=this.ma-this.F)};g.sE=function(){var a=zl(this.g,this.a),b=zl(this.b,this.a),c=a-b;c||(this.b-=Math.E/2,this.g+=Math.E/2,c=1);this.B&&(this.F=b-c*this.J,isNaN(this.N)||(b=zl(this.N,this.a),this.F=0<c?Math.min(this.F,b):Math.max(this.F,b)),this.min=Al(this.a,this.F));this.w&&(this.ma=a+c*this.H,isNaN(this.m)||(a=zl(this.m,this.a),this.ma=0<c?Math.max(this.ma,a):Math.min(this.ma,a)),this.max=Al(this.a,this.ma))};g.qs=function(){var a=$J.v.qs.call(this);X(a);a.mode("logarithmic");a.O(!1);return a};g.o=function(){var a=$J.v.o.call(this);a.logBase=this.bz();return a};g.K=function(a){$J.v.K.call(this,a);this.bz(a.logBase)};function FF(){return new $J}E("anychart.scales.log",FF);$J.prototype.getType=$J.prototype.qa;$J.prototype.transform=$J.prototype.transform;$J.prototype.inverseTransform=$J.prototype.ac;$J.prototype.logBase=$J.prototype.bz;function aK(a,b){OA.call(this);this.a=[];this.ga=[];this.data(a||null,b)}G(aK,OA);g=aK.prototype;g.$=OA.prototype.$|126976;function bK(a,b){return m(b)?(a.Ta=b,a):a.Ta||{}}function cK(a,b){return m(b)?(a.Oe=b,a):a.Oe||{}}g.qa=function(){return"bullet"};g.data=function(a,b){return m(a)?(this.hb!==a&&(this.hb=a,a instanceof $u?this.w=a.Rg():a instanceof fv?this.w=a.Pd():(a=r(a)||u(a)?a:null,this.w=(new fv(a,b)).Pd()),R(this.w,this.nI,this),T(this,126976,1)),this):this.w};g.nI=function(a){Y(a,16)&&T(this,126976,1)};g.fr=function(a){return m(a)?(a=$b(a,"horizontal"),this.j!=a&&(this.j=a,T(this,114820,9)),this):this.j};g.$a=function(){return"horizontal"==this.j};g.scale=function(a){this.ha||(this.ha=new Xc,this.ha.Xm(0),this.ha.Wm(0),this.ha.ja().count(3,5));return m(a)?(u(a)&&(a=Pw(a,!1)),this.ha!=a&&(this.ha=a,T(this,122880,1)),this):this.ha};g.axis=function(a){this.b||(this.b=new Pv,this.b.La(this),L(this,this.b),R(this.b,this.pI,this),T(this,114692,9));return m(a)?(this.b.C(a),this):this.b};g.pI=function(a){var b=0,c=0;Y(a,1)&&(b|=16384,c|=1);Y(a,8)&&(b|=4);T(this,b,c)};g.ff=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.a[c];e||(e=new Vv,e.C(bK(this)),this.a[c]=e,L(this,e),R(e,this.EP,this),T(this,32768,1));return m(d)?(e.C(d),this):e};g.EP=function(){T(this,32768,1)};g.$t=function(a){this.c||(this.c=new dE,this.c.items(["#828282","#a8a8a8","#c2c2c2","#d4d4d4","#e1e1e1"]),R(this.c,this.DP,this),L(this,this.c));return m(a)?(this.c.C(a),this):this.c};g.DP=function(a){Y(a,2)&&T(this,32768,1)};g.Ao=function(a){this.D||(this.D=new fE,this.D.items(["bar","line","x","ellipse"]),R(this.D,this.qI,this),L(this,this.D));return m(a)?(this.D.C(a),this):this.D};g.qI=function(a){Y(a,2)&&T(this,65536,1)};g.bb=function(){var a,b,c,d=this.scale();d.Uc()&&d.wf();a=0;for(b=this.ga.length;a<b;a++)c=this.ga[a],null!=c&&(c.scale(d),c.type()==kc&&d.xb(0),d.xb(c.value()));a=0;for(b=this.a.length;a<b;a++)c=this.a[a],null!=c&&(c.scale(d),d.xb(c.Wc()),d.xb(c.Zc())),d.Uc()&&d.pf();this.axis().scale(this.scale())};g.Rv=function(){var a=this.$a(),b=this.title(),c=this.axis();a?(c.sk("bottom"),b.sk("left")):(c.sk("left"),b.sk("bottom"));return aK.v.Rv.call(this)};g.Tg=function(a){if(this.tb()){var b;W(this,4096)&&(dK(this),U(this,4096));W(this,8192)&&(this.bb(),U(this,8192));b=this.axis();W(this,16388)&&(X(b),!b.A()&&b.enabled()&&b.A(this.h),b.R(a),b.padding(0),b.O(!1),b.I(),U(this,16384));var c=b.enabled()?b.pb():a;if(W(this,32772)){a=0;for(b=this.a.length;a<b;a++){var d=this.a[a];d&&(X(d),Xv(d,this.$a()?"vertical":"horizontal"),Wv(d,this.$t().nf(a)),d.R(c),d.A(this.h),d.pe(0),d.I(),d.O(!1))}U(this,32768)}if(W(this,65540)){a=0;for(b=this.ga.length;a<b;a++){d=this.ga[a];X(d);d.R(c);bw(d,this.Ao().lg(a));var e=d,f=this.fr(),h=!e.j&&e.D!=f;e.D=f;h&&T(e,4);d.I();d.O(!1)}U(this,65536)}}};function dK(a){Mf(a.ga,function(a){Ad(a)});a.ga.length=0;var b=a.w.G().reset();for(b.Za();b.advance();)eK(a,b)}
function eK(a,b){var c=b.S(),d=new $v;X(d);a.ga[c]=d;L(a,d);d.scale(a.scale());d.A(a.h);var e=cK(a);d.zIndex(e.zIndex);var f=e.fill,h=!d.g&&d.h!=f;d.h=f;h&&T(d,16);e=e.stroke;f=!d.c&&d.w!=e;d.w=e;f&&T(d,16);bw(d,a.Ao().lg(c));d.value(b.get("value"));d.type(b.get("type"));d.Bg(b.get("gap"));d.fill(b.get("fill"));d.stroke(b.get("stroke"));d.O(!1);R(d,a.oI,a)}g.oI=function(){T(this,65536,1)};g.$d=function(a){var b;"pointIndex"in a?b=a.pointIndex:"labelIndex"in a?b=a.labelIndex:"markerIndex"in a&&(b=a.markerIndex);b=I(b);a.pointIndex=b;var c=a.type;switch(c){case"mouseout":c="pointmouseout";break;case"mouseover":c="pointmouseover";break;case"mousemove":c="pointmousemove";break;case"mousedown":c="pointmousedown";break;case"mouseup":c="pointmouseup";break;case"click":c="pointclick";break;case"dblclick":c="pointdblclick";break;default:return null}var d=this.data().G();d.select(b)||d.reset();return{type:c,actualTarget:a.target,pie:this,iterator:d,sliceIndex:b,pointIndex:b,target:this,originalEvent:a}};g.vf=function(){return this};g.rf=function(){return this};g.sd=function(){return[this]};g.yb=function(a){return m(a)?(a=Ub(a),a!=this.T&&(this.T=a),this):this.T};g.o=function(){var a=aK.v.o.call(this);a.type="bullet";a.layout=this.fr();a.data=this.data().o();a.rangePalette=this.$t().o();a.markerPalette=this.Ao().o();a.scale=this.scale().o();a.axis=this.axis().o();for(var b=[],c=0;c<this.a.length;c++)b.push(this.a[c].o());a.ranges=b;return{chart:a}};g.K=function(a){aK.v.K.call(this,a);"defaultRangeMarkerSettings"in a&&bK(this,a.defaultRangeMarkerSettings);"defaultMarkerSettings"in a&&cK(this,a.defaultMarkerSettings);this.data(a.data);this.fr(a.layout);this.$t(a.rangePalette);this.Ao(a.markerPalette);var b=a.scale,c;u(b)?c=Pw(b,null):B(b)?(c=Pw(b.type,!1),c.C(b)):c=null;c&&this.scale(c);this.axis(a.axis);a=a.ranges;if(r(a))for(b=0;b<a.length;b++)this.ff(b,a[b])};aK.prototype.data=aK.prototype.data;aK.prototype.layout=aK.prototype.fr;aK.prototype.rangePalette=aK.prototype.$t;aK.prototype.markerPalette=aK.prototype.Ao;aK.prototype.scale=aK.prototype.scale;aK.prototype.axis=aK.prototype.axis;aK.prototype.range=aK.prototype.ff;aK.prototype.isHorizontal=aK.prototype.$a;aK.prototype.getType=aK.prototype.qa;function fK(a,b){WA.call(this);this.c=[];this.a=[];this.g=[];this.F=0;this.data(a||null,b)}G(fK,WA);fK.prototype.ia=WA.prototype.ia;fK.prototype.$=WA.prototype.$|15503360;var gK={};gK.bar=WB;gK.led=XB;gK.marker=$B;gK.rangeBar=bC;gK.tank=cC;gK.thermometer=kC;function hK(a,b){return m(b)?(a.X=b,a):a.X||{}}g=fK.prototype;g.ck=function(a){return m(a)?(this.J=a=wc(a),this):this.J};function iK(a,b){return m(b)?(a.Sa=b,a):a.Sa||{}}g.oE=function(a){return m(a)?(this.T=a,this):this.T||{}};g.qa=function(){return this.m};g.Vp=function(a){return m(a)?(a=xr(a),a!=this.H&&(this.H=a,T(this,4,1)),this):this.H};g.Co=function(a){return m(a)?(a=$b(a),a!=this.j&&(this.j=a,T(this,4,1)),this):this.j};g.Do=function(a){this.D||(this.D=new fE,R(this.D,this.AI,this));return m(a)?(this.D.C(a),this):this.D};g.AI=function(a){Y(a,2)&&T(this,524800,1)};g.Eo=function(a){if(a instanceof gE)return jK(this,gE,a),this;if(a instanceof dE)return jK(this,dE,a),this;B(a)&&"range"==a.type?jK(this,gE):(B(a)||null==this.b)&&jK(this,dE);return m(a)?(this.b.C(a),this):this.b};function jK(a,b,c){if(a.b instanceof b)c&&a.b.C(c);else{var d=!!a.b;Ad(a.b);a.b=new b;c&&a.b.C(c);R(a.b,a.CI,a);d&&T(a,2097664,1)}}g.CI=function(a){Y(a,2)&&T(this,2097664,1)};g.Bo=function(a){this.B||(this.B=new eE,R(this.B,this.yI,this));return m(a)?(this.B.C(a),this):this.B};g.yI=function(a){Y(a,2)&&T(this,4194816,1)};g.qv=function(){return"vertical"==this.j};g.Ez=function(){this.Nc().dn()&&T(this,4,9)};g.sd=function(){return this.a};function kK(a,b,c){b=wc(b);var d=iK(a)[b];(b=gK[b])?(c=new b(a,c),b=(b=a.a[a.a.length-1])?b.wg()+1:0,a.a.push(c),c.oe=xl(1E-5*b,5),c.wg(b),c.Fe(a.Eo().nf(b)),c instanceof $B&&aC(c,a.Do().lg(a.F++)),c.ah(a.Bo().Uf(b)),c.La(a),c.C(d),R(c,a.KP,a),T(a,266756,1)):c=null;return c}
g.vI=function(a){var b=[],c=this.ck(),d=arguments.length;X(this);if(d)for(var e=0;e<d;e++)b.push(kK(this,c,arguments[e]));this.O(!0);return b};g.YP=function(a){return this.eG(lK(this,a))};g.eG=function(a){var b=this.a[a];b&&(bs++,fb(this.a,a,1),Ad(b),T(this,266752,1),es());return this};g.WP=function(){if(this.a.length){bs++;var a=this.a;this.a=[];this.F=0;Bd(a);T(this,266752,1);es()}return this};function lK(a,b){return kb(a.a,function(a){return a.id()==b})}
g.ht=function(a){return this.jF(lK(this,a))};g.jF=function(a){return this.a[a]||null};function Ja(a,b){return Sf(a.a,function(a){return a.wg()==b})}g.cO=function(){return this.a.length};g.data=function(a,b){return m(a)?(this.hb!==a&&(this.hb=a,Ad(this.M),this.ka=null,a instanceof $u?this.fa=this.M=a.Rg():this.fa=a instanceof fv?this.M=a.Pd():(this.M=new fv(r(a)||u(a)?a:null,b)).Pd(),L(this,this.M),this.w=this.fa,R(this.w,this.xI,this),mK(this),T(this,266240,5)),this):this.w};function mK(a){for(var b=a.a.length;b--;)T(a.a[b],8208)}g.xI=function(a){Y(a,16)&&(mK(this),T(this,266240,1))};g.G=function(){return this.ka||this.Ya()};g.Ya=function(){return this.ka=this.w.G()};g.Bi=function(a,b){var c,d,e=[];c=0;for(d=this.a.length;c<d;c++){var f=this.a[c],h,k=f,l=b,n=k.Nr();U(n,n.$);h=n.o();var p={sourceColor:k.color()};A(n.ti())&&(h.iconFill=n.ti().call(p,p));A(n.wi())&&(h.iconStroke=n.wi().call(p,p));A(n.vi())&&(p.sourceColor=k.Ta,h.iconHatchFill=n.vi().call(p,p));n=void 0;A(l)&&(n=k,n.Bb||(n.Bb=new ad(n)),n=n.Bb,n=l.call(n,n));u(n)||(n=m(k.name())?k.name():"Pointer: "+k.wg());h.iconType=nc(h.iconType);k={meta:{},text:n,iconEnabled:!0,iconStroke:SB(k,!1,Ua),iconFill:RB(k,!1,Ua),iconHatchFill:k.Vb(!1,Ua),disabled:!k.enabled()};mf(k,h);h=k;h.sourceUid=D(this);h.sourceKey=f.id();e.push(h)}return e};g.wn=function(a){a=a.qg();if(a=this.ht(a))a.enabled(!a.enabled()),a.enabled()?a.enabled()&&a.state.wd(H):a.gc()};g.Al=function(a){var b=a.qg();(!a||null!=b||isNaN(b))&&(a=this.ht(b))&&a.enabled()&&a.state.wd(H)};g.zl=function(a){var b=a.qg();(!a||null!=b||isNaN(b))&&(a=this.ht(b))&&a.gc()};g.Df=function(a,b,c,d,e){var f=this.lq(c,a,d),h=new Ia(this,f.index);a={type:"hovered"==a?"pointshover":"pointsselect",seriesStatus:this.Gs(c,d),currentPoint:f,actualTarget:b.target,target:this,point:h,points:[h],originalEvent:b};e&&(a.vy=!0);return a};g.zk=function(){return!0};g.axis=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.c[c];e||(e=new BI,e.La(this),e.C(hK(this)),this.c[c]=e,R(e,this.BI,this),T(this,32772,1));return m(d)?(e.C(d),this):e};g.BI=function(a){var b=0,c=0;Y(a,1)&&(b|=32768,c|=1);Y(a,8)&&(b|=4);T(this,b,c)};g.scale=function(a){if(m(a)){u(a)&&(a=Pw(a,!1));if(!(a instanceof ru))return Rc(5,void 0,["Linear gauge scale"]),this;this.ha!=a&&(this.ha=a,T(this,262144,1));return this}this.ha||(this.ha=new Xc);return this.ha};g.Iz=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.g[c];e||(e=new Hw(this),e.La(this),e.C(this.oE()),this.g[c]=e,R(e,this.FP,this),T(this,8388612,1));return m(d)?(e.C(d),this):e};g.FP=function(a){var b=0,c=0;Y(a,1)&&(b|=8388608,c|=1);Y(a,8)&&(b|=4);T(this,b,c)};g.bb=function(){var a,b=this.a.length,c;if(W(this,262144)){var d=!1;Mf(this.a,function(a){a=a.scale();a.wf();d=d||a.Uc()});if(d)for(c=0;c<b;c++)if((a=this.a[c])&&a.enabled()){var e=a.scale();e.xb.apply(e,a.Tp())}Mf(this.a,function(a){a.scale().pf()});T(this,32772);U(this,262144)}};g.jl=function(){if(this.Tb){var a,b=0,c=this.qv();if(W(this,6815744)){gt(this.a);for(a=0;a<this.a.length;a++){var d=this.a[a],e=d.wg();d.Fe(this.Eo().nf(e));d.ah(this.Bo().Uf(e));d instanceof $B&&aC(d,this.Do().lg(b++))}T(this,4096);mK(this);U(this,6815744);qt(this.a);this.F=b}d=c?"left":"top";for(a=0;a<this.c.length;a++)if(b=this.c[a])b.sk(d),b.scale()||b.scale(this.scale());for(a=0;a<this.a.length;a++)b=this.a[a],d=this.Co(),m(d)&&(b.j=d),b.scale()||b.scale(this.scale()),b instanceof $B&&-1!=String(aC(b)).toLowerCase().indexOf("triangle")&&aC(b,c?"triangleLeft":"triangleUp");for(a=0;a<this.g.length;a++)if(b=this.g[a])c=this.Co(),m(c)&&(b.j=c),b.scale()||b.scale(this.scale())}};g.Tg=function(a){if(this.Tb){var b,c,d,e=this.a.length;this.bb();gt(this.c,this.a,this.g);if(W(this,32772)){var f;b=0;for(c=this.c.length;b<c;b++)if(f=this.c[b])nB(f.labels()),nB(f.Na())}this.U||(this.U=this.h.Of().zIndex(1));if(W(this,4)){c=this.qv();var h,k,l,n;l=k=n=h=0;var p;c?(p=a.width,f=a.height):(p=a.height,f=a.width);for(b=0;b<e;b++)d=this.a[b],d=d.Gy(p,f),h=Math.max(h,d[0]),l=Math.max(l,d[1]),k=Math.max(k,d[2]),n=Math.max(n,d[3]);a=a.clone();a.top+=l;a.height-=l+n;a.left+=h;a.width-=h+k;a=a.round();l=Nl(c?0:a.left,c?a.top:0,c?0:a.width,c?a.height:0);p=c?a.width:a.height;f=c?a.height:a.width;k=Q("100%",f);n=Xf(this.c,this.a,this.g);for(b=0;b<n.length;b++)(f=n[b])&&f.enabled()&&(h=Q(xr(f.width()),p),d=Q(xr(f.offset()),p),h=c?Nl(d,a.top,h,k):Nl(a.left,d,k,h),ei(l,h),f.R(h));c?(b=a.left+(a.width-l.width)/2-l.left,a=Q(this.Vp(),a.width)):(b=a.top+(a.height-l.height)/2-l.top,a=Q(this.Vp(),a.height));b+=a;this.U.fc(1,0,0,1,c?b:0,c?0:b);T(this,8425472)}if(W(this,32768)){b=0;for(c=this.c.length;b<c;b++)if(a=this.c[b])a.A(this.U),a.I();U(this,32768)}if(W(this,4096)){for(b=0;b<e;b++)if(d=this.a[b])d.A(this.U),d.I();U(this,4096)}if(W(this,8388608)){for(b=0;b<this.g.length;b++)if(e=this.g[b])e.A(this.U),e.I();U(this,8388608)}qt(this.c,this.a,this.g)}};g.o=function(){var a=fK.v.o.call(this);a.type=this.qa();a.palette=this.Eo().o();a.markerPalette=this.Do().o();a.hatchFillPalette=this.Bo().o();a.globalOffset=this.Vp();a.layout=this.Co();a.data=this.data().o();var b={},c=[],d,e;d=this.scale();e=D(d);b[e]=d.o();c.push(b[e]);a.scale=c.length-1;var f,h,k=[];for(f=0;f<this.c.length;f++){d=this.c[f];h=d.o();if(d=d.scale())e=D(d),b[e]?h.scale=Lf(c,b[e]):(b[e]=d.o(),c.push(b[e]),h.scale=c.length-1);k.push(h)}k.length&&(a.axes=k);k=[];for(f=0;f<this.a.length;f++){d=this.a[f];h=d.o();if(d=d.scale())e=D(d),b[e]?h.scale=Lf(c,b[e]):(b[e]=d.o(),c.push(b[e]),h.scale=c.length-1);k.push(h)}k.length&&(a.pointers=k);k=[];for(f=0;f<this.g.length;f++){d=this.g[f];h=d.o();if(d=d.scale())e=D(d),b[e]?h.scale=Lf(c,b[e]):(b[e]=d.o(),c.push(b[e]),h.scale=c.length-1);k.push(h)}k.length&&(a.scaleBars=k);c.length&&(a.scales=c);return{gauge:a}};g.K=function(a){fK.v.K.call(this,a);"defaultAxisSettings"in a&&hK(this,a.defaultAxisSettings);"defaultPointerSettings"in a&&iK(this,a.defaultPointerSettings);"defaultScaleBarSettings"in a&&this.oE(a.defaultScaleBarSettings);this.Vp(a.globalOffset);this.Co(a.layout);this.data(a.data);"palette"in a&&this.Eo(a.palette);"markerPalette"in a&&this.Do(a.markerPalette);"hatchFillPalette"in a&&this.Bo(a.hatchFillPalette);var b,c,d,e=a.axes,f=a.pointers,h=a.scaleBars,k=a.scales,l=this.qa(),n={};if(r(k))for(b=0;b<k.length;b++)c=k[b],u(c)&&(c={type:c}),c=Vq(c,b,l),d=Pw(c.type,!1),d.C(c),n[b]=d;else if(B(k))for(b in k)k.hasOwnProperty(b)&&(c=k[b],u(c)&&(c={type:c}),c=Vq(c,b,l),d=Pw(c.type,!1),d.C(c),n[b]=d);c=a.scale;y(c)?d=n[c]:u(c)?(d=Pw(c,null))||(d=n[c]):B(c)?(d=Pw(c.type,!1),d.C(c)):d=null;d&&this.scale(d);if(r(e))for(b=0;b<e.length;b++)c=e[b],this.axis(b,c),B(c)&&"scale"in c&&0<c.scale&&this.axis(b).scale(n[c.scale]);if(r(f))for(b=0;b<f.length;b++)if(c=f[b],a=c.pointerType||this.ck(),a=kK(this,a,c.dataIndex))a.C(c),B(c)&&"scale"in c&&0<c.scale&&a.scale(n[c.scale]);if(r(h))for(b=0;b<h.length;b++)c=h[b],this.Iz(b,c),B(c)&&"scale"in c&&0<c.scale&&this.Iz(b).scale(n[c.scale])};g.V=function(){Bd(this.a);this.a=[];Bd(this.c);this.c=null;Bd(this.g);this.g=null;Bd(this.b,this.D,this.B);this.B=this.D=this.b=null;fK.v.V.call(this)};g.KP=function(a){var b=4096,c=1;Y(a,8)&&(b|=4,c|=8);Y(a,64)&&(b|=512);T(this,b,c)};g.wI=function(a){return kK(this,"bar",a)};g.QO=function(a){return kK(this,"led",a)};g.zI=function(a){return kK(this,"marker",a)};g.DI=function(a){return kK(this,"rangeBar",a)};g.BQ=function(a){return kK(this,"tank",a)};g.JQ=function(a){return kK(this,"thermometer",a)};fK.prototype.getType=fK.prototype.qa;fK.prototype.defaultPointerType=fK.prototype.ck;fK.prototype.globalOffset=fK.prototype.Vp;fK.prototype.layout=fK.prototype.Co;fK.prototype.palette=fK.prototype.Eo;fK.prototype.markerPalette=fK.prototype.Do;fK.prototype.hatchFillPalette=fK.prototype.Bo;fK.prototype.isVertical=fK.prototype.qv;fK.prototype.addPointer=fK.prototype.vI;fK.prototype.removePointer=fK.prototype.YP;fK.prototype.removePointerAt=fK.prototype.eG;fK.prototype.removeAllPointers=fK.prototype.WP;fK.prototype.getPointer=fK.prototype.ht;fK.prototype.getPointerAt=fK.prototype.jF;fK.prototype.getPointersCount=fK.prototype.cO;fK.prototype.data=fK.prototype.data;fK.prototype.axis=fK.prototype.axis;fK.prototype.scaleBar=fK.prototype.Iz;fK.prototype.scale=fK.prototype.scale;fK.prototype.bar=fK.prototype.wI;fK.prototype.led=fK.prototype.QO;fK.prototype.marker=fK.prototype.zI;fK.prototype.rangeBar=fK.prototype.DI;fK.prototype.tank=fK.prototype.BQ;fK.prototype.thermometer=fK.prototype.JQ;function nK(){WA.call(this);this.Da=this.va=null;this.a=[];this.m=[];this.w=[];this.j=this.B=this.D=this.b=null;this.bm("marker")}G(nK,WA);g=nK.prototype;g.bm=function(a){return m(a)?(this.qb=a=zc(a),this):this.qb};g.qa=function(){return"polar"};g.$=WA.prototype.$|520192;function oK(a,b){return m(b)?(a.ea=b,a):a.ea||{}}function pK(a,b){return m(b)?(a.W=b,a):a.W||{}}function qK(a,b){return m(b)?(a.Ta=b,a):a.Ta||{}}
g.Wa=function(a){return m(a)?(a=Ah(I(a)||0),this.ab!=a&&(this.ab=a,T(this,4,1)),this):this.ab};g.Z=function(a){if(m(a))return u(a)&&(a=qI(a,!1)),this.va!=a&&(this.va=a,T(this,32768,1)),this;this.va||(this.va=new Xc);return this.va};g.ba=function(a){if(m(a))return u(a)&&(a=Pw(a,!1)),this.Da!=a&&(this.Da=a,T(this,32768,1)),this;this.Da||(this.Da=new Xc);return this.Da};g.hr=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.m[c];e||(e=new uw,e.ce(this),vw(e,"radial"),e.C(pK(this)),this.m[c]=e,L(this,e),R(e,this.GB,this),T(this,262144,1));return m(d)?(e.C(d),this):e};g.ir=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.w[c];e||(e=new uw,e.ce(this),vw(e,"circuit"),e.C(qK(this)),this.w[c]=e,L(this,e),R(e,this.GB,this),T(this,262144,1));return m(d)?(e.C(d),this):e};g.GB=function(){T(this,262144,1)};g.Gh=function(a){this.c||(this.c=new Bw,this.c.La(this),L(this,this.c),R(this.c,this.FB,this),T(this,131076));return m(a)?(this.c.C(a),this):this.c};g.Pj=function(a){this.g||(this.g=new ww,this.g.La(this),L(this,this.g),R(this.g,this.FB,this),T(this,131076));return m(a)?(this.g.C(a),this):this.g};g.FB=function(a){var b=0,c=0;Y(a,1)&&(b|=131072,c|=1);Y(a,8)&&(b|=4);T(this,b,c)};g.tj=function(a){switch(a){case 0:return this.c;case 1:return this.g}};g.JI=function(a,b){return rK(this,"area",a,b)};g.MI=function(a,b){return rK(this,"line",a,b)};g.EB=function(a,b){return rK(this,"marker",a,b)};function rK(a,b,c,d){b=zc(b);var e=dD[b];e?(c=new e(c,d),c.ce(a),c.La(a),L(a,c),d=(d=a.a[a.a.length-1])?d.index()+1:0,a.a.push(c),e=1E-5*d,c.index(d).id(d),e=("line"==b?31:30)+e,c.oe=e,c.labels().oe=e+5E-6,c.Fe(a.Io().nf(d)),c.ah(a.Go().Uf(d)),d=a.Ho().lg(d),c.Ig(d),c.we()?(c.aa().oe=e+5E-6,c.aa().Nh=d,d=c.aa(),e=c.md(),d.M=e,d=c.aa(),e=c.Ud(),d.W=e):c.type(d),c.labels().Fe(Cq(c.color())),c.C(oK(a)[b]),R(c,a.SI,a),T(a,98816,1)):(Rc(4,null,[b+" series"]),c=null);return c}
g.II=function(a){var b=[],c=this.bm(),d=arguments.length;X(this);if(d)for(var e=0;e<d;e++)b.push(rK(this,c,arguments[e],void 0));else b.push(rK(this,c,null,void 0));this.O(!0);return b};function sK(a,b){return kb(a.a,function(a){return a.id()==b})}g.Ee=function(a){return this.DB(sK(this,a))};g.DB=function(a){return this.a[a]||null};g.KI=function(){return this.a.length};g.RI=function(a){return this.HB(sK(this,a))};g.HB=function(a){var b=this.a[a];b&&(bs++,fb(this.a,a,1),Ad(b),T(this,98816,1),es());return this};g.QI=function(){if(this.a.length){bs++;var a=this.a;this.a=[];Bd(a);T(this,98816,1);es()}return this};g.sd=function(){return this.a};g.SI=function(a){var b=0;Y(a,1)&&(b=65536);Y(a,2048)&&(b=32);Y(a,16)&&(b|=65536,tK(this));Y(a,4)&&(b|=32768);Y(a,64)&&(b|=512,Y(a,8)&&(b|=4));T(this,b,1)};g.Io=function(a){if(a instanceof gE)return uK(this,gE,a),this;if(a instanceof dE)return uK(this,dE,a),this;B(a)&&"range"==a.type?uK(this,gE):(B(a)||null==this.b)&&uK(this,dE);return m(a)?(this.b.C(a),this):this.b};g.Ho=function(a){this.D||(this.D=new fE,R(this.D,this.NI,this),L(this,this.D));return m(a)?(this.D.C(a),this):this.D};g.Go=function(a){this.B||(this.B=new eE,R(this.B,this.LI,this),L(this,this.B));return m(a)?(this.B.C(a),this):this.B};function uK(a,b,c){if(a.b instanceof b)c&&a.b.C(c);else{var d=!!a.b;Ad(a.b);a.b=new b;c&&a.b.C(c);R(a.b,a.OI,a);L(a,a.b);d&&T(a,4608,1)}}g.OI=function(a){Y(a,2)&&T(this,4608,1)};g.NI=function(a){Y(a,2)&&T(this,8704,1)};g.LI=function(a){Y(a,2)&&T(this,16896,1)};g.bb=function(){var a,b,c,d,e;if(W(this,32768)){gt(this.a);var f={},h={},k={};a=0;for(c=this.a.length;a<c;a++)d=this.a[a],d.Z()||(d.Z(this.Z()),tK(this),T(this,65536)),b=d.Z(),e=D(b),f[e]=b,d.ba()||(d.ba(this.ba()),tK(this),T(this,65536)),b=d.ba(),e=D(b),f[e]=b,b instanceof sb&&nI(b)&&(h[e]=b,e in k?k[e].push(d):k[e]=[d]);var l,n,p;for(e in f)b=f[e],b.Uc()&&b.wf();a=0;for(c=this.a.length;a<c;a++)if(d=this.a[a],d.enabled())for(b=d.Z(),l=d.ba(),d=d.Ya();d.advance();)n=d.get("x"),p=d.get("value"),m(n)&&b.xb(n),m(p)&&l.xb(p);for(e in h){b=h[e];c=k[D(b)];l=nI(b);n=[];for(a=0;a<c.length;a++)for(d=c[a],d=d.Ya();d.advance();){p=b.Fi(d.get("x"));var q=d.get(l);m(n[p])||(n[p]=q||d.get("x")||d.get("value"))}b.xe=n}a=!1;for(e in f)b=f[e],b.Uc()&&(a|=b.pf());a&&tK(this);e=-Infinity;f=Infinity;for(a=k=h=0;a<this.a.length;a++)d=this.a[a],d.mj(),e=Math.max(e,d.L("seriesMax")),f=Math.min(f,d.L("seriesMin")),h+=d.L("seriesSum"),k+=d.L("seriesPointsCount");c=h/k;for(a=0;a<this.a.length;a++)d=this.a[a],d.L("max",e),d.L("min",f),d.L("sum",h),d.L("average",c),d.L("pointsCount",k);pt(this.a);U(this,32768)}};g.jl=function(){if(this.Tb){gt(this.a);var a;if(W(this,4096)){for(a=this.a.length;a--;)this.a[a].Fe(this.Io().nf(a));tK(this);T(this,65536);U(this,4096)}if(W(this,8192)){for(a=this.a.length;a--;)this.a[a].Ig(this.Ho().lg(a));tK(this);T(this,65536);U(this,8192)}if(W(this,16384)){for(a=this.a.length;a--;)this.a[a].ah(this.Go().Uf(a));tK(this);T(this,65536);U(this,16384)}qt(this.a)}};g.Tg=function(a){var b,c;this.bb();if(this.Tb){var d=!1;gt(this.a,this.c,this.g);W(this,131076)&&(this.Gh().scale()||this.Gh().scale(this.Z()),nB(this.Gh().labels()),nB(this.Gh().Na()),this.Pj().scale()||this.Pj().scale(this.ba()),nB(this.Pj().labels()),nB(this.Pj().Na()),d=!0);W(this,4)&&(b=a.clone().round(),this.Gh().R(b),this.Gh().Wa(this.ab),this.j=this.Gh().pb().round(),d=!0,tK(this),T(this,458752));if(W(this,262144)){var e=Xf(this.m,this.w);b=0;for(c=e.length;b<c;b++){var f=e[b];f&&(X(f),d&&T(f,64),f.R(this.j),f.A(this.h),f.Wa(this.ab),f.I(),f.O(!1))}U(this,262144)}W(this,131072)&&(b=this.Gh(),b.A(this.h),b.Wa(this.ab),b.R(a.clone().round()),b.I(),a=this.Pj(),a.A(this.h),a.Wa(this.ab),a.R(this.j),a.I(),U(this,131072));if(W(this,65536)){b=0;for(c=this.a.length;b<c;b++)a=this.a[b],a.A(this.h),a.Wa(this.ab),a.R(this.j);a=0;for(b=this.a.length;a<b;a++){d=this.a[a];d.mb();for(c=d.Ya();c.advance();)e=c.S(),c.get("selected")&&d.state.wd(Ha,e),d.af(cb(d.state,e));d.ic()}U(this,65536)}qt(this.a,this.c,this.g)}};function tK(a){for(var b=a.a.length;b--;)T(a.a[b],80)}g.Bi=function(a,b){var c,d,e=[];this.bb();c=0;for(d=this.a.length;c<d;c++){var f=this.a[c],h=f.Og(b);h.sourceUid=D(this);h.sourceKey=f.index();e.push(h)}return e};g.jk=function(){return!0};g.uj=function(){return this.j};g.Vh=function(a){var b=a.clientX;a=a.clientY;var c,d=xk(this.A().oa().A()),b=b-d.x;a=a-d.y;var e=Math.round(this.j.left+this.j.width/2),f=Math.round(this.j.top+this.j.height/2),h=Math.sqrt(Math.pow(e-b,2)+Math.pow(f-a,2));if(h>Math.min(this.j.width,this.j.height)/2)return null;var d=[],k=this.Dc(),l,n,p;if("bySpot"==k.yb()){var k=k.vk(),q,t;if(0<=h-k){e-=b;c=f-a;f=Math.atan(e/c);0>=f&&(f+=Math.PI);if(0>e||f==Math.PI&&0<c)f+=Math.PI;f+=this.ab;h=Math.asin(k/h);q=1-(f+h)/(2*Math.PI);t=1-(f-h)/(2*Math.PI)}else q=0,t=1;h=0;for(f=this.a.length;h<f;h++)if(e=this.a[h],e.enabled()){c=e.Z().ac(q);n=e.Z().ac(t);l=e.G();var v=e.data().ek(c,n);1<=t&&(c=hv(e.data(),0),$f(v,c));var w=[];n=Infinity;for(var x=0;x<v.length;x++)if(c=v[x],l.select(c)){var z=l.l("x"),C=l.l("value"),z=Math.sqrt(Math.pow(z-b,2)+Math.pow(C-a,2));z<=k&&(w.push(c),z<n&&(n=z,p=c))}w.length&&d.push({Y:e,zb:w,Nf:w[w.length-1],Wb:{index:p,Vc:n}})}}else if("byX"==this.Dc().yb()){e-=b;c=f-a;f=Math.atan(e/c);0>=f&&(f+=Math.PI);if(0>e||f==Math.PI&&0<c)f+=Math.PI;f+=this.ab;k=1-f/(2*Math.PI);h=0;for(f=this.a.length;h<f;h++)if(e=this.a[h],c=e.Z().ac(k),c=hv(e.data(),c),(n=e.data().Ea)&&m(n.kq)&&-1!=n.kq&&(l=e.G(),l.select(n.kq),l=l.get("x"),l=e.Z().transform(l),k>l&&k>l+(1-l)/2&&(c=hv(e.data(),0))),l=e.G(),n=Infinity,c.length){q=[];for(x=0;x<c.length;x++)l.select(c[x])&&!zr(l.get("value"))&&(t=l.l("x"),v=l.l("value"),z=Math.sqrt(Math.pow(t-b,2)+Math.pow(v-a,2)),z<n&&(n=z,p=c[x]),q.push(c[x]));d.push({Y:e,zb:q,Nf:q[c.length-1],Wb:{index:p,Vc:n}})}}return d};g.o=function(){var a=nK.v.o.call(this),b,c={},d=[],e=[],f,h,k;c[D(this.Z())]=this.Z().o();d.push(c[D(this.Z())]);a.xScale=d.length-1;this.Z()!=this.ba()&&(c[D(this.ba())]=this.ba().o(),d.push(c[D(this.ba())]));a.yScale=d.length-1;a.type="polar";a.defaultSeriesType=this.bm();a.palette=this.Io().o();a.markerPalette=this.Ho().o();a.hatchFillPalette=this.Go().o();a.startAngle=this.Wa();h=this.c.o();f=this.c.scale();e.push(D(this.c));k=D(f);c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-
1);a.xAxis=h;h=this.g.o();f=this.g.scale();e.push(D(this.g));k=D(f);c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);a.yAxis=h;var l=[];for(b=0;b<this.m.length;b++){var n=this.m[b];if(n){h=n.o();f=n.Z();k=D(f);c[k]?h.xScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.xScale=d.length-1);if(f=n.ba())k=D(f),c[k]?h.yScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.yScale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k instanceof ww,h.layout=k?"circuit":"radial"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}}l.length&&(a.grids=l);l=[];for(b=0;b<this.w.length;b++)if(n=this.w[b]){h=n.o();f=n.Z();k=D(f);c[k]?h.xScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.xScale=d.length-1);f=n.ba();k=D(f);c[k]?h.yScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.yScale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k instanceof ww,h.layout=k?"circuit":"radial"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.minorGrids=l);e=[];for(b=0;b<this.a.length;b++)l=this.a[b],h=l.o(),f=l.Z(),k=D(f),c[k]?h.xScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.xScale=d.length-1),f=l.ba(),k=D(f),c[k]?h.yScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.yScale=d.length-1),e.push(h);e.length&&(a.series=e);d.length&&(a.scales=d);return{chart:a}};g.K=function(a){nK.v.K.call(this,a);"defaultSeriesSettings"in a&&oK(this,a.defaultSeriesSettings);"defaultGridSettings"in a&&pK(this,a.defaultGridSettings);"defaultMinorGridSettings"in a&&qK(this,a.defaultMinorGridSettings);this.Io(a.palette);this.Ho(a.markerPalette);this.Go(a.hatchFillPalette);this.Wa(a.startAngle);this.bm(a.defaultSeriesType);var b,c,d,e=a.grids,f=a.minorGrids,h=a.series,k=a.scales,l=this.qa(),n={};if(r(k))for(b=0;b<k.length;b++)c=k[b],u(c)&&(c={type:c}),c=Vq(c,b,l),d=Pw(c.type,!1),d.C(c),n[b]=d;else if(B(k))for(b in k)k.hasOwnProperty(b)&&(c=k[b],u(c)&&(c={type:c}),c=Vq(c,b,l),d=Pw(c.type,!1),d.C(c),n[b]=d);c=a.xScale;y(c)?d=n[c]:u(c)?(d=qI(c,!0))||(d=n[c]):B(c)?(d=qI(c.type,!1),d.C(c)):d=null;d instanceof ru&&this.Z(d);c=a.yScale;y(c)?d=n[c]:u(c)?(d=Pw(c,null))||(d=n[c]):B(c)?(d=Pw(c.type,!1),d.C(c)):d=null;d&&this.ba(d);c=a.xAxis;this.Gh(c);B(c)&&"scale"in c&&1<c.scale&&this.Gh().scale(n[c.scale]);c=a.yAxis;this.Pj(c);B(c)&&"scale"in c&&1<c.scale&&this.Pj().scale(n[c.scale]);if(r(e))for(b=0;b<e.length;b++)c=e[b],this.hr(b,c),B(c)&&("xScale"in c&&1<c.xScale&&this.hr(b).Z(n[c.xScale]),"yScale"in c&&1<c.yScale&&this.hr(b).ba(n[c.yScale]));if(r(f))for(b=0;b<f.length;b++)c=f[b],this.ir(b,c),B(c)&&("xScale"in c&&1<c.xScale&&this.ir(b).Z(n[c.xScale]),"yScale"in c&&1<c.yScale&&this.ir(b).ba(n[c.yScale]));if(r(h))for(b=0;b<h.length;b++)if(c=h[b],a=c.seriesType||this.bm(),a=rK(this,a,c.data))a.C(c),B(c)&&("xScale"in c&&1<c.xScale&&a.Z(n[c.xScale]),"yScale"in c&&1<c.yScale&&a.ba(n[c.yScale]))};nK.prototype.xScale=nK.prototype.Z;nK.prototype.yScale=nK.prototype.ba;nK.prototype.grid=nK.prototype.hr;nK.prototype.minorGrid=nK.prototype.ir;nK.prototype.xAxis=nK.prototype.Gh;nK.prototype.yAxis=nK.prototype.Pj;nK.prototype.getSeries=nK.prototype.Ee;nK.prototype.area=nK.prototype.JI;nK.prototype.line=nK.prototype.MI;nK.prototype.marker=nK.prototype.EB;nK.prototype.palette=nK.prototype.Io;nK.prototype.markerPalette=nK.prototype.Ho;nK.prototype.hatchFillPalette=nK.prototype.Go;nK.prototype.startAngle=nK.prototype.Wa;nK.prototype.getType=nK.prototype.qa;nK.prototype.defaultSeriesType=nK.prototype.bm;nK.prototype.addSeries=nK.prototype.II;nK.prototype.getSeriesAt=nK.prototype.DB;nK.prototype.getSeriesCount=nK.prototype.KI;nK.prototype.removeSeries=nK.prototype.RI;nK.prototype.removeSeriesAt=nK.prototype.HB;nK.prototype.removeAllSeries=nK.prototype.QI;nK.prototype.getPlotBounds=nK.prototype.uj;function vK(){WA.call(this);this.Da=this.va=null;this.a=[];this.w=[];this.F=[];this.j=this.B=this.D=this.b=null;this.dm("line")}G(vK,WA);g=vK.prototype;g.dm=function(a){return m(a)?(this.qb=a=xc(a),this):this.qb};g.qa=function(){return"radar"};g.$=WA.prototype.$|520192;function wK(a,b){return m(b)?(a.ea=b,a):a.ea||{}}function xK(a,b){return m(b)?(a.W=b,a):a.W||{}}function yK(a,b){return m(b)?(a.Ta=b,a):a.Ta||{}}
g.Wa=function(a){return m(a)?(a=Ah(null===a||isNaN(+a)?0:+a),this.ab!=a&&(this.ab=a,T(this,4,1)),this):this.ab};g.Z=function(a){if(m(a))return this.va!=a&&(this.va&&this.va instanceof sb&&et(this.va,this.uv,this),this.va=a,this.va instanceof sb&&R(this.va,this.uv,this),a=0,"categories"==this.sf().Fg()&&(a=512),T(this,32768|a,1)),this;this.va||(this.va=new sb,R(this.va,this.uv,this));return this.va};g.uv=function(a){Y(a,4)&&T(this,512,1)};g.ba=function(a){if(m(a))return u(a)&&(a=Pw(a,!1)),this.Da!=a&&(this.Da=a,T(this,32768,1)),this;this.Da||(this.Da=new Xc);return this.Da};g.jr=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.w[c];e||(e=new Cw,e.ce(this),Dw(e,"radial"),e.C(xK(this)),this.w[c]=e,L(this,e),R(e,this.LB,this),T(this,262144,1));return m(d)?(e.C(d),this):e};g.kr=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.F[c];e||(e=new Cw,e.ce(this),Dw(e,"circuit"),e.C(yK(this)),this.F[c]=e,L(this,e),R(e,this.LB,this),T(this,262144,1));return m(d)?(e.C(d),this):e};g.LB=function(){T(this,262144,1)};g.ii=function(a){this.c||(this.c=new xw,this.c.La(this),L(this,this.c),R(this.c,this.KB,this),T(this,131076));return m(a)?(this.c.C(a),this):this.c};g.Qj=function(a){this.g||(this.g=new ww,this.g.La(this),L(this,this.g),R(this.g,this.KB,this),T(this,131076));return m(a)?(this.g.C(a),this):this.g};g.KB=function(a){var b=0,c=0;Y(a,1)&&(b|=131072,c|=1);Y(a,8)&&(b|=4);T(this,b,c)};g.tj=function(a){switch(a){case 0:return this.c;case 1:return this.g}};g.UI=function(a,b){return zK(this,"area",a,b)};g.JB=function(a,b){return zK(this,"line",a,b)};g.XI=function(a,b){return zK(this,"marker",a,b)};function zK(a,b,c,d){b=xc(b);var e=pD[b];e?(c=new e(c,d),c.ce(a),c.La(a),L(a,c),d=(d=a.a[a.a.length-1])?d.index()+1:0,a.a.push(c),e=1E-5*d,c.index(d).id(d),e=("line"==b?31:30)+e,c.oe=e,c.labels().oe=e+5E-6,c.Fe(a.Ko().nf(d)),c.ah(AK(a).Uf(d)),d=a.Jo().lg(d),c.Ig(d),c.we()?(c.aa().oe=e+5E-6,c.aa().Nh=d,d=c.aa(),e=c.md(),d.M=e,d=c.aa(),e=c.Ud(),d.W=e):c.type(d),c.labels().Fe(Cq(c.color())),c.C(wK(a)[b]),R(c,a.bJ,a),T(a,98816,1)):(Rc(4,null,[b+" series"]),c=null);return c}
g.TI=function(a){var b=[],c=this.dm(),d=arguments.length;X(this);if(d)for(var e=0;e<d;e++)b.push(zK(this,c,arguments[e]));else b.push(zK(this,c,null));this.O(!0);return b};function BK(a,b){return kb(a.a,function(a){return a.id()==b})}g.Ee=function(a){return this.IB(BK(this,a))};g.IB=function(a){return this.a[a]||null};g.VI=function(){return this.a.length};g.aJ=function(a){return this.MB(BK(this,a))};g.MB=function(a){var b=this.a[a];b&&(bs++,fb(this.a,a,1),Ad(b),T(this,98816,1),es());return this};g.$I=function(){if(this.a.length){bs++;var a=this.a;this.a=[];Bd(a);T(this,98816,1);es()}return this};g.sd=function(){return this.a};g.bJ=function(a){var b=0;Y(a,2048)&&(b=32);Y(a,1)&&(b=65536);Y(a,16)&&(b|=65536,CK(this),"categories"==this.sf().Fg()&&(b|=512));Y(a,4)&&(b|=32768);Y(a,64)&&(b|=512,Y(a,8)&&(b|=4));T(this,b,1)};g.bb=function(){var a,b,c,d,e,f,h,k,l,n,p;if(W(this,32768)){gt(this.a);DK(this);l=[];for(h in this.H)c=this.H[h],c.Uc()&&(c.wf(),"value"!=c.ue()&&l.push(c));for(h in this.m){c=this.m[h];d=this.M[D(c)];for(a=0;a<d.length;a++)d[a].enabled()&&qD(d[a]);if(c.Uc())for(c.wf(),a=0;a<d.length;a++)if(e=d[a],e.enabled())for(f=e.Ya();f.advance();)p=f.get("x"),m(p)&&c.xb(p);e=c.Rp();for(a=0;a<d.length;a++)d[a].enabled()&&rD(d[a],e)}for(a=0;a<l.length;a++)if(c=l[a],d=this.ua[D(c)],"percent"==c.ue()){var q=!1,t=!1;for(b=0;b<d.length;b++)if(e=d[b],e.enabled()&&e.Pq())for(f=e.Ya();f.advance();)p=e.Uh(),m(p)&&(0<p?q=!0:0>p&&(t=!0));c.xb(0);(q||!q&&!t)&&c.xb(100);t&&c.xb(-100)}else for(b=0;b<d.length;b++)if(e=d[b],e.enabled())for(f=e.Ya();f.advance();)p=e.Uh(),m(p)&&c.xb(p);for(h in this.J){d=this.J[h];c=this.H[h];e={};for(a=0;a<d.length;a++)d[a].enabled()&&(k=D(d[a].Z()),k in e?e[k].push(d[a]):e[k]=[d[a]]);for(k in e)for(a=this.m[k],a=a.Rp(),d=na(function(a){var b=a.Uh();m(b)&&(a.Pq()?this.xb(this.Gb(b)):this.xb(b))},c),f=na(function(){this.Jq=this.Kq=0;this.Iq=!1},c),r(a)&&(n=new yb(e[k],a,d,null,f));n.advance(););}for(h in this.T){k=this.T[h];d=this.X[D(k)];n=nI(k);c=[];for(a=0;a<d.length;a++)for(e=d[a],f=e.Ya();f.advance();)e=k.Fi(f.get("x")),l=f.get(n),m(c[e])||(c[e]=l||f.get("x")||f.get("value"));k.xe=c}h=-Infinity;d=Infinity;for(a=n=k=0;a<this.a.length;a++)e=this.a[a],e.mj(),h=Math.max(h,e.L("seriesMax")),d=Math.min(d,e.L("seriesMin")),k+=e.L("seriesSum"),n+=e.L("seriesPointsCount");c=k/n;for(a=0;a<this.a.length;a++)e=this.a[a],e.L("max",h),e.L("min",d),e.L("sum",k),e.L("average",c),e.L("pointsCount",n);pt(this.a);U(this,32768);this.da=!0}};function DK(a){var b,c,d,e={},f={},h={},k={},l={},n={},p={},q,t;b=0;for(d=a.a.length;b<d;b++)t=a.a[b],t.Z()||(t.Z(a.Z()),CK(a),T(a,65536)),q=t.Z(),c=D(q),e[c]=q,c in n?n[c].push(t):n[c]=[t],q instanceof sb&&nI(q)&&(h[c]=q,c in k?k[c].push(t):k[c]=[t]),t.ba()||(t.ba(a.ba()),CK(a),T(a,65536)),q=t.ba(),c=D(q),"value"==q.ue()&&(c in l?l[c].push(t):l[c]=[t]),f[c]=q,c in p?p[c].push(t):p[c]=[t],q instanceof sb&&nI(q)&&(h[c]=q,c in k?k[c].push(t):k[c]=[t]);a.J=l;a.H=f;a.m=e;a.M=n;a.ua=p;a.T=h;a.X=k}
g.Ko=function(a){if(a instanceof gE)return EK(this,gE,a),this;if(a instanceof dE)return EK(this,dE,a),this;B(a)&&"range"==a.type?EK(this,gE):(B(a)||null==this.b)&&EK(this,dE);return m(a)?(this.b.C(a),this):this.b};g.Jo=function(a){this.D||(this.D=new fE,R(this.D,this.YI,this),L(this,this.D));return m(a)?(this.D.C(a),this):this.D};function AK(a,b){a.B||(a.B=new eE,R(a.B,a.WI,a),L(a,a.B));return m(b)?(a.B.C(b),a):a.B}
function EK(a,b,c){if(a.b instanceof b)c&&a.b.C(c);else{var d=!!a.b;Ad(a.b);a.b=new b;c&&a.b.C(c);R(a.b,a.ZI,a);L(a,a.b);d&&T(a,4608,1)}}g.ZI=function(a){Y(a,2)&&T(this,4608,1)};g.YI=function(a){Y(a,2)&&T(this,8704,1)};g.WI=function(a){Y(a,2)&&T(this,16896,1)};g.jl=function(){if(this.Tb){gt(this.a);var a;if(W(this,4096)){for(a=this.a.length;a--;)this.a[a].Fe(this.Ko().nf(a));CK(this);T(this,65536);U(this,4096)}if(W(this,8192)){for(a=this.a.length;a--;)this.a[a].Ig(this.Jo().lg(a));CK(this);T(this,65536);U(this,8192)}if(W(this,16384)){for(a=this.a.length;a--;)this.a[a].ah(AK(this).Uf(a));CK(this);T(this,65536);U(this,16384)}qt(this.a)}};g.Tg=function(a){var b,c;this.bb();if(this.da){var d=!1;for(b in this.m)c=this.m[b],c.Uc()&&(d|=c.pf());for(b in this.H)c=this.H[b],c.Uc()&&(d|=c.pf());this.da=!1;d&&CK(this)}if(this.Tb){d=!1;gt(this.a,this.c,this.g);W(this,131076)&&(this.ii().scale()||this.ii().scale(this.Z()),nB(this.ii().labels()),this.Qj().scale()||this.Qj().scale(this.ba()),nB(this.Qj().labels()),nB(this.Qj().Na()),d=!0);W(this,4)&&(b=a.clone().round(),this.ii().R(b),this.ii().Wa(this.ab),this.j=this.ii().pb().round(),CK(this),d=!0,T(this,458752));if(W(this,262144)){var e=Xf(this.w,this.F);b=0;for(c=e.length;b<c;b++){var f=e[b];f&&(X(f),d&&T(f,64),f.R(this.j),f.A(this.h),f.Wa(this.ab),f.I(),f.O(!1))}U(this,262144)}W(this,131072)&&(b=this.ii(),b.A(this.h),b.Wa(this.ab),b.R(a.clone().round()),b.I(),a=this.Qj(),a.A(this.h),a.Wa(this.ab),a.R(this.j.clone()),a.I(),U(this,131072));if(W(this,65536)){b=0;for(c=this.a.length;b<c;b++)a=this.a[b],a.A(this.h),a.Wa(this.ab),a.R(this.j);FK(this);U(this,65536)}qt(this.a,this.c,this.g)}};function FK(a){var b,c,d;for(d in a.m){c=a.m[d];var e={},f={},h={},k=a.M[D(c)];for(b=0;b<k.length;b++){var l=D(k[b].ba());e[l]=k[b].ba();f[l]=0;h[l]=0}c=new yb(k,c.Rp(),function(a){var b=a.G(),c=b.S();b.get("selected")&&a.state.wd(Ha,c);a.af(cb(a.state,c))},function(a){a.fn()},function(a){var b;for(b=a.length;b--;){var c=I(a[b].Uh());a[b].Pq()&&c&&(0<=c?f[D(a[b].ba())]+=c:0>c&&(h[D(a[b].ba())]+=c))}for(b in e){a=e[b];a.Kq=0;a.Jq=0;a.Iq=!1;a=e[b];var c=h[b],d=f[b];a.TG=Math.min(c,d,0);a.SG=Math.max(d,c,0)}},function(){for(var a in e)f[a]=0,h[a]=0});for(b=0;b<k.length;b++)k[b].mb();for(;c.advance(););for(b=0;b<k.length;b++)k[b].ic()}}function CK(a){for(var b=a.a.length;b--;)T(a.a[b],80)}
g.Bi=function(a,b){var c,d,e=[];this.bb();if("categories"==a&&this.Z()instanceof sb){var f=this.Z().names();if(A(b)){var h=this.Z().values(),k;c=0;for(d=h.length;c<d;c++)k={value:h[c],name:f[c]},k=b.call(k,k),u(k)||(k=String(f[c])),e.push({text:k,iconEnabled:!1,sourceUid:D(this),sourceKey:c})}else for(c=0,d=f.length;c<d;c++)e.push({text:String(f[c]),iconEnabled:!1,sourceUid:D(this),sourceKey:c})}else for(c=0,d=this.a.length;c<d;c++)f=this.a[c],h=f.Og(b),h.sourceUid=D(this),h.sourceKey=f.index(),e.push(h);return e};g.uj=function(){return this.j};g.Vh=function(a){var b=a.clientX;a=a.clientY;var c,d,e,f=xk(this.A().oa().A()),b=b-f.x;a=a-f.y;var h=Math.min(this.j.width,this.j.height)/2,k=Math.round(this.j.left+this.j.width/2),l=Math.round(this.j.top+this.j.height/2),n=Math.sqrt(Math.pow(k-b,2)+Math.pow(l-a,2));if(n>h)return null;var f=[],p=this.Dc(),q,t,v;if("bySpot"==p.yb()){var p=p.vk(),w,x;if(0<=n-p){t=k-b;v=l-a;q=Math.atan(t/v);0>=q&&(q+=Math.PI);if(0>t||q==Math.PI&&0<v)q+=Math.PI;q+=this.ab;n=Math.asin(p/n);w=1-(q+n)/(2*Math.PI);x=1-(q-
n)/(2*Math.PI)}else w=0,x=1;var z;q=0;for(n=this.a.length;q<n;q++)if(t=this.a[q],t.enabled()){e=t.Z().ac(w);z=t.Z().ac(x);v=t.G();var C=t.data().ek(e,z);1<=x&&(e=hv(t.data(),0),$f(C,e));var F=[];z=Infinity;for(var J,O=0;O<C.length;O++)e=C[O],v.select(e)&&(c=v.get("x"),d=v.get("value"),c=t.Z().transform(c),d=t.ba().transform(d),c=zh(Bh(this.Wa()-90+360*c),2*Math.PI),d*=h,c=Math.sqrt(Math.pow(k+d*Math.cos(c)-b,2)+Math.pow(l+d*Math.sin(c)-a,2)),c<=p&&(F.push(e),c<z&&(z=c,J=e)));F.length&&f.push({Y:t,zb:F,Nf:F[F.length-1],Wb:{index:J,Vc:z}})}}else if("byX"==this.Dc().yb()){t=k-b;v=l-a;q=Math.atan(t/v);0>=q&&(q+=Math.PI);if(0>t||q==Math.PI&&0<v)q+=Math.PI;q+=this.ab;J=1-q/(2*Math.PI);q=0;for(n=this.a.length;q<n;q++)t=this.a[q],c=t.Z().ac(J),e=t.data().hj("x",c),0>e&&(e=NaN),v=t.G(),z=Infinity,v.select(e)&&!zr(v.get("value"))&&(h=v.l("x"),k=v.l("value"),c=Math.sqrt(Math.pow(h-b,2)+Math.pow(k-a,2)),c<z&&(z=c),f.push({Y:t,zb:[e],Nf:e,Wb:{index:e,Vc:z}}))}return f};g.o=function(){var a=vK.v.o.call(this),b,c={},d=[],e=[],f,h,k;c[D(this.Z())]=this.Z().o();d.push(c[D(this.Z())]);a.xScale=d.length-1;this.Z()!=this.ba()&&(c[D(this.ba())]=this.ba().o(),d.push(c[D(this.ba())]));a.yScale=d.length-1;a.type="radar";a.defaultSeriesType=this.dm();a.palette=this.Ko().o();a.markerPalette=this.Jo().o();a.hatchFillPalette=AK(this).o();a.startAngle=this.Wa();h=this.c.o();f=this.c.scale();e.push(D(this.c));k=D(f);c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-
1);a.xAxis=h;h=this.g.o();f=this.g.scale();e.push(D(this.g));k=D(f);c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);a.yAxis=h;var l=[];for(b=0;b<this.w.length;b++){var n=this.w[b];if(n){h=n.o();if(f=n.Z())k=D(f),c[k]?h.xScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.xScale=d.length-1);if(f=n.ba())k=D(f),c[k]?h.yScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.yScale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k instanceof ww,h.layout=k?"circuit":"radial"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}}l.length&&(a.grids=l);l=[];for(b=0;b<this.F.length;b++)if(n=this.F[b]){h=n.o();if(f=n.Z())k=D(f),c[k]?h.xScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.xScale=d.length-1);if(f=n.ba())k=D(f),c[k]?h.yScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.yScale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k instanceof ww,h.layout=k?"circuit":"radial"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.minorGrids=l);h=this.c.o();f=this.c.scale();k=D(f);c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);a.xAxis=h;h=this.g.o();f=this.g.scale();k=D(f);c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);a.yAxis=h;e=[];for(b=0;b<this.a.length;b++)l=this.a[b],h=l.o(),f=l.Z(),k=D(f),c[k]?h.xScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.xScale=d.length-1),f=l.ba(),k=D(f),c[k]?h.yScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.yScale=d.length-1),e.push(h);e.length&&(a.series=e);d.length&&(a.scales=d);return{chart:a}};g.K=function(a){vK.v.K.call(this,a);"defaultSeriesSettings"in a&&wK(this,a.defaultSeriesSettings);"defaultGridSettings"in a&&xK(this,a.defaultGridSettings);"defaultMinorGridSettings"in a&&yK(this,a.defaultMinorGridSettings);this.dm(a.defaultSeriesType);this.Ko(a.palette);this.Jo(a.markerPalette);AK(this,a.hatchFillPalette);this.Wa(a.startAngle);var b,c,d,e=a.grids,f=a.minorGrids,h=a.series,k=a.scales,l=this.qa(),n={};if(r(k))for(b=0;b<k.length;b++)c=k[b],u(c)&&(c={type:c}),c=Vq(c,b,l),d=Pw(c.type,!1),d.C(c),n[b]=d;else if(B(k))for(b in k)k.hasOwnProperty(b)&&(c=k[b],u(c)&&(c={type:c}),c=Vq(c,b,l),d=Pw(c.type,!1),d.C(c),n[b]=d);c=a.xScale;y(c)||u(c)?d=n[c]:B(c)?(d=IF(),d.C(c)):d=null;d instanceof sb&&this.Z(d);c=a.yScale;y(c)?d=n[c]:u(c)?(d=Pw(c,null))||(d=n[c]):B(c)?(d=Pw(c.type,!1),d.C(c)):d=null;d&&this.ba(d);c=a.xAxis;this.ii(c);B(c)&&"scale"in c&&1<c.scale&&this.ii().scale(n[c.scale]);c=a.yAxis;this.Qj(c);B(c)&&"scale"in c&&1<c.scale&&this.Qj().scale(n[c.scale]);if(r(e))for(b=0;b<e.length;b++)c=e[b],this.jr(b,c),B(c)&&("xScale"in c&&1<c.xScale&&this.jr(b).Z(n[c.xScale]),"yScale"in c&&1<c.yScale&&this.jr(b).ba(n[c.yScale]));if(r(f))for(b=0;b<f.length;b++)c=f[b],this.kr(b,c),B(c)&&("xScale"in c&&1<c.xScale&&this.kr(b).Z(n[c.xScale]),"yScale"in c&&1<c.yScale&&this.kr(b).ba(n[c.yScale]));if(r(h))for(b=0;b<h.length;b++)if(c=h[b],a=c.seriesType||this.dm(),a=zK(this,a,c.data))a.C(c),B(c)&&("xScale"in c&&1<c.xScale&&a.Z(n[c.xScale]),"yScale"in c&&1<c.yScale&&a.ba(n[c.yScale]))};vK.prototype.xScale=vK.prototype.Z;vK.prototype.yScale=vK.prototype.ba;vK.prototype.grid=vK.prototype.jr;vK.prototype.minorGrid=vK.prototype.kr;vK.prototype.xAxis=vK.prototype.ii;vK.prototype.yAxis=vK.prototype.Qj;vK.prototype.getSeries=vK.prototype.Ee;vK.prototype.area=vK.prototype.UI;vK.prototype.line=vK.prototype.JB;vK.prototype.marker=vK.prototype.XI;vK.prototype.palette=vK.prototype.Ko;vK.prototype.markerPalette=vK.prototype.Jo;vK.prototype.startAngle=vK.prototype.Wa;vK.prototype.getType=vK.prototype.qa;vK.prototype.defaultSeriesType=vK.prototype.dm;vK.prototype.addSeries=vK.prototype.TI;vK.prototype.getSeriesAt=vK.prototype.IB;vK.prototype.getSeriesCount=vK.prototype.VI;vK.prototype.removeSeries=vK.prototype.aJ;vK.prototype.removeSeriesAt=vK.prototype.MB;vK.prototype.removeAllSeries=vK.prototype.$I;vK.prototype.getPlotBounds=vK.prototype.uj;function GK(){WA.call(this);this.Da=this.va=this.m=null;this.M=[];this.da=[];this.H=[];this.J=[];this.T=[];this.ua=[];this.X=[];this.B=this.D=this.b=null;this.a=[];this.fm("marker")}G(GK,WA);g=GK.prototype;g.fm=function(a){return m(a)?(this.qb=a=Ac(a),this):this.qb};g.qa=function(){return"scatter"};g.$=WA.prototype.$|2093056;function HK(a,b){return m(b)?(a.ea=b,a):a.ea||{}}function IK(a,b){return m(b)?(a.fg=b,a):a.fg||{}}function JK(a,b){return m(b)?(a.rg=b,a):a.rg||{}}
function KK(a,b){return m(b)?(a.W=b,a):a.W||{}}function LK(a,b){return m(b)?(a.Ta=b,a):a.Ta||{}}function MK(a,b){return m(b)?(a.kc=b,a):a.kc||{}}function NK(a,b){return m(b)?(a.kd=b,a):a.kd||{}}function OK(a,b){return m(b)?(a.Gc=b,a):a.Gc||{}}g.vv=function(a){this.m||(this.m=new lz,this.m.enabled(!1),this.m.zIndex(41),mz(this.m,this),L(this,this.m),R(this.m,this.fJ,this),T(this,1048576,1));return m(a)?(this.m.C(a),this):this.m};g.fJ=function(){T(this,1048576,1)};g.Z=function(a){if(m(a)){u(a)&&(a=qI(a,!1));if(!(a instanceof ru))return Rc(5,void 0,["Scatter chart scales"]),this;this.va!=a&&(this.va=a,T(this,32768,1));return this}this.va||(this.va=new Xc);return this.va};g.ba=function(a){if(m(a)){u(a)&&(a=qI(a,!1));if(!(a instanceof ru))return Rc(5,void 0,["Scatter chart scales"]),this;this.Da!=a&&(this.Da=a,T(this,32768,1));return this}this.Da||(this.Da=new Xc);return this.Da};g.wv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.M[c];e||(e=new ow,e.C(KK(this)),this.M[c]=e,L(this,e),R(e,this.QB,this),T(this,524288,1));return m(d)?(e.C(d),this):e};g.Bv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.da[c];e||(e=new ow,e.C(LK(this)),this.da[c]=e,L(this,e),R(e,this.QB,this),T(this,524288,1));return m(d)?(e.C(d),this):e};g.QB=function(){T(this,524288,1)};g.Fv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.H[c];e||(e=new Pv,e.La(this),e.C(IK(this)),this.H[c]=e,L(this,e),R(e,this.PB,this),T(this,131076,1));return m(d)?(e.C(d),this):e};g.Gv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.J[c];e||(e=new Pv,e.La(this),e.C(JK(this)),this.J[c]=e,L(this,e),R(e,this.PB,this),T(this,131076,1));return m(d)?(e.C(d),this):e};g.PB=function(a){var b=0,c=0;Y(a,1)&&(b|=131072,c|=1);Y(a,8)&&(b|=4);T(this,b,c)};g.tj=function(a){return a>=this.H.length?this.J[a-this.H.length]:this.H[a]};g.xv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.T[c];e||(e=new Sv,e.ce(this),e.C(MK(this)),this.T[c]=e,L(this,e),R(e,this.Cv,this),T(this,262144,1));return m(d)?(e.C(d),this):e};g.Dv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.ua[c];e||(e=new Vv,e.ce(this),e.C(OK(this)),this.ua[c]=e,L(this,e),R(e,this.Cv,this),T(this,262144,1));return m(d)?(e.C(d),this):e};g.Ev=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.X[c];e||(e=new MI,e.ce(this),e.C(NK(this)),this.X[c]=e,L(this,e),R(e,this.Cv,this),T(this,262144,1));return m(d)?(e.C(d),this):e};g.Cv=function(){T(this,262144,1)};g.No=function(a){if(a instanceof gE)return PK(this,gE,a),this;if(a instanceof dE)return PK(this,dE,a),this;B(a)&&"range"==a.type?PK(this,gE):(B(a)||null==this.b)&&PK(this,dE);return m(a)?(this.b.C(a),this):this.b};function PK(a,b,c){if(a.b instanceof b)c&&a.b.C(c);else{var d=!!a.b;Ad(a.b);a.b=new b;c&&a.b.C(c);R(a.b,a.gJ,a);L(a,a.b);d&&T(a,4608,1)}}g.gJ=function(a){Y(a,2)&&T(this,4608,1)};g.Mo=function(a){this.D||(this.D=new fE,R(this.D,this.CP,this),L(this,this.D));return m(a)?(this.D.C(a),this):this.D};g.CP=function(a){Y(a,2)&&T(this,8704,1)};g.Lo=function(a){this.B||(this.B=new eE,R(this.B,this.yP,this),L(this,this.B));return m(a)?(this.B.C(a),this):this.B};g.yP=function(a){Y(a,2)&&T(this,16896,1)};g.zv=function(a){return m(a)?(this.ka!=a&&(this.ka=a,QK(this),T(this,65536,1)),this):this.ka};g.Av=function(a){return m(a)?(this.fa!=a&&(this.fa=a,QK(this),T(this,65536,1)),this):this.fa};g.NB=function(a,b){return RK(this,"bubble",a,b)};g.eJ=function(a,b){return RK(this,"line",a,b)};g.yv=function(a,b){return RK(this,"marker",a,b)};function RK(a,b,c,d){b=Ac(b);var e=ED[b];e?(c=new e(c,d),c.ce(a),c.La(a),L(a,c),d=(d=a.a[a.a.length-1])?d.index()+1:0,a.a.push(c),e=1E-5*d,c.index(d).id(d),e=("line"==b?31:30)+e,c.oe=e,c.labels().oe=e+5E-6,c.clip(!0),c.Fe(a.No().nf(d)),c.Ig(a.Mo().lg(d)),c.ah(a.Lo().Uf(d)),c.we()&&(c.aa().oe=e+5E-6,d=c.aa(),e=c.md(),d.M=e,d=c.aa(),e=c.Ud(),d.W=e),c.labels().Fe(Cq(c.color())),c.C(HK(a)[b]),R(c,a.GP,a),T(a,98816,1)):(Rc(4,null,[b+" series"]),c=null);return c}
g.GP=function(a){var b=0;Y(a,1)&&(b=65536);Y(a,16)&&(b|=65536,SK(this));Y(a,4)&&(b|=32768);Y(a,64)&&(b|=512,Y(a,8)&&(b|=4));T(this,b,1)};function QK(a){for(var b=a.a.length;b--;)a.a[b].og()&&T(a.a[b],80)}function SK(a){for(var b=a.a.length;b--;)T(a.a[b],80)}g.cJ=function(a){var b=[],c=this.fm(),d=arguments.length;X(this);if(d)for(var e=0;e<d;e++)b.push(RK(this,c,arguments[e]));else b.push(RK(this,c,null));this.O(!0);return b};function TK(a,b){return kb(a.a,function(a){return a.id()==b})}
g.Ee=function(a){return this.OB(TK(this,a))};g.OB=function(a){return this.a[a]||null};g.dJ=function(){return this.a.length};g.iJ=function(a){return this.RB(TK(this,a))};g.RB=function(a){var b=this.a[a];b&&(bs++,fb(this.a,a,1),Ad(b),T(this,98816,1),es());return this};g.hJ=function(){if(this.a.length){bs++;var a=this.a;this.a=[];Bd(a);T(this,98816,1);es()}return this};g.sd=function(){return this.a};g.Bi=function(a,b){var c,d,e=[];this.bb();c=0;for(d=this.a.length;c<d;c++){var f=this.a[c],h=f.Og(b);h.sourceUid=D(this);h.sourceKey=f.index();e.push(h)}return e};g.jk=function(){return!0};g.uj=function(){return this.j};g.Vh=function(a){var b=this.j||Nl(0,0,0,0),c=a.clientX;a=a.clientY;var d,e,f=xk(this.A().oa().A()),c=c-f.x;a=a-f.y;var f=b.left,h=b.top,k=b.width,b=b.height;if(c<f||c>f+k||a<h||a>h+b)return null;b=[];h=this.Dc();if("bySpot"==h.yb()){var l=h.vk();d=(c-l-f)/k;for(var n=(c+l-f)/k,p,f=0,k=this.a.length;f<k;f++)if(h=this.a[f],h.enabled()){e=h.Z().ac(d);p=h.Z().ac(n);var q=h.data().ek(e,p);p=h.G();for(var t=[],v=Infinity,w,x=0;x<q.length;x++)if(e=q[x],p.select(e)){var z=p.l("x"),C=p.l("value"),z=Math.sqrt(Math.pow(z-
c,2)+Math.pow(C-a,2));z<=l&&(t.push(e),z<v&&(v=z,w=e))}t.length&&b.push({Y:h,zb:t,Nf:t[t.length-1],Wb:{index:w,Vc:v}})}}else if("byX"==this.Dc().yb())for(l=(c-f)/k,f=0,k=this.a.length;f<k;f++)if(h=this.a[f],d=h.Z().ac(l),e=hv(h.data(),d),p=h.G(),v=Infinity,e.length){for(x=0;x<e.length;x++)p.select(e[x])&&(z=p.l("x"),C=p.l("value"),z=Math.sqrt(Math.pow(z-c,2)+Math.pow(C-a,2)),z<v&&(v=z,w=e[x]));b.push({Y:h,zb:e,Nf:e[e.length-1],Wb:{index:w,Vc:v}})}return b};g.bb=function(){if(W(this,32768)){var a,b,c,d,e,f,h,k={},l,n,p;this.L={};gt(this.a);a=0;for(b=this.a.length;a<b;a++)d=this.a[a],d.Z()||(d.Z(this.Z()),SK(this),T(this,65536)),c=d.Z(),e=D(c),k[e]=c,d.ba()||(d.ba(this.ba()),SK(this),T(this,65536)),c=d.ba(),e=D(c),k[e]=c;for(e in k)c=k[e],c.Uc()&&c.wf();a=0;for(b=this.a.length;a<b;a++)if(d=this.a[a],d.enabled())for(f=d.Z(),h=d.ba(),c=d.Ya();c.advance();)l=I(c.get("x")),n=I(c.get("value")),d.xf()?(p=d.Vg(!0),f.xb(l-p[0],l+p[1]),p=d.Vg(!1),h.xb(n-p[0],n+p[1])):(f.xb(l),h.xb(n));a=!1;for(e in k)c=k[e],c.Uc()&&(a|=c.pf());a&&SK(this);e=-Infinity;k=Infinity;for(a=c=b=0;a<this.a.length;a++)d=this.a[a],d.mj(),e=Math.max(e,d.L("seriesMax")),k=Math.min(k,d.L("seriesMin")),b+=d.L("seriesSum"),c+=d.L("seriesPointsCount");f=b/c;n=l=h=0;p=-Infinity;var q=Infinity,t=-Infinity,v=Infinity,w=-Infinity,x=Infinity,z=-Infinity,C=Infinity,F=-Infinity,J=Infinity,O,S,da,V,Ka,bb,Fa,Bb,yc=!1;for(a=0;a<this.a.length;a++){d=this.a[a];var gc=d.name();d.L("max",e);d.L("min",k);d.L("sum",b);d.L("average",f);d.L("pointsCount",c);if("bubble"==d.qa()){var yc=!0,gb=d.L("seriesBubbleSizeSum");isNaN(gb)||(n+=gb);gb=d.L("seriesBubbleMaxSize");isNaN(p)||(p=Math.max(p,gb));gb=d.L("seriesBubbleMinSize");isNaN(q)||(q=Math.min(q,gb))}gb=d.L("seriesXMax");gb>w&&(w=gb,O=gc);gb=d.L("seriesXMin");gb<x&&(x=gb,S=gc);gb=d.L("seriesXSum");gb>z&&(z=gb,da=gc);gb<C&&(C=gb,V=gc);var Wb=d.L("seriesYMax");Wb>t&&(t=Wb,Ka=gc);Wb=d.L("seriesYMin");Wb<v&&(v=Wb,bb=gc);d=d.L("seriesYSum");d>F&&(F=d,Fa=gc);d<J&&(J=d,Bb=gc);h+=d;l+=gb}this.L.dataPlotYSum=h;this.L.dataPlotXSum=l;this.L.dataPlotYMax=t;this.L.dataPlotYMin=v;this.L.dataPlotXMax=w;this.L.dataPlotXMin=x;this.L.dataPlotXAverage=l/c;this.L.dataPlotYAverage=h/c;this.L.dataPlotSeriesCount=this.a.length;this.L.dataPlotPointCount=c;yc&&(this.L.dataPlotBubbleSizeSum=n,this.L.dataPlotBubbleMinSize=q,this.L.dataPlotBubbleMaxSize=p,this.L.dataPlotBubbleSizeAverage=n/c);this.L.dataPlotMaxXValuePointSeriesName=O;this.L.dataPlotMinXValuePointSeriesName=S;this.L.dataPlotMaxXSumSeriesName=da;this.L.dataPlotMinXSumSeriesName=V;this.L.dataPlotMaxYValuePointSeriesName=Ka;this.L.dataPlotMinYValuePointSeriesName=bb;this.L.dataPlotMaxYSumSeriesName=Fa;this.L.dataPlotMinYSumSeriesName=Bb;pt(this.a);U(this,32768)}};g.jl=function(){if(this.Tb){gt(this.a);var a;if(W(this,4096)){for(a=this.a.length;a--;)this.a[a].Fe(this.No().nf(a));SK(this);T(this,65536);U(this,4096)}if(W(this,8192)){for(a=this.a.length;a--;)this.a[a].Ig(this.Mo().lg(a));SK(this);T(this,65536);U(this,8192)}if(W(this,16384)){for(a=this.a.length;a--;)this.a[a].ah(this.Lo().Uf(a));SK(this);T(this,65536);U(this,16384)}qt(this.a)}};g.Tg=function(a){var b;this.bb();if(this.Tb){gt(this.a,this.H,this.J);if(W(this,131076)){var c;for(b=this.H.length;b--;)c=this.H[b],nB(c.labels()),nB(c.Na()),c&&!c.scale()&&c.scale(this.Z());for(b=this.J.length;b--;)c=this.J[b],nB(c.labels()),nB(c.Na()),c&&!c.scale()&&c.scale(this.ba())}c=Xf(this.H,this.J);if(W(this,4)){var d=a.clone().round(),e=0;do{var f,h,k=0,l=0,n=0,p=0,q=!0,t=a.clone();this.w=this.g=this.c=this.F=NaN;var v;for(b=c.length;b--;)(h=c[b])&&h.enabled()&&(X(h),h.R(d),f=h.orientation(),v=Qd(h.stroke()),"top"==f?(h.padding().top(k),h.padding().bottom(0),f=h.pb(),k=d.height-f.height,isNaN(this.F)&&(this.F=v)):"bottom"==f?(h.padding().bottom(l),h.padding().top(0),f=h.pb(),l=d.height-f.height,isNaN(this.c)&&(this.c=v)):"left"==f?(h.padding().left(n),h.padding().right(0),f=h.pb(),n=d.width-f.width,isNaN(this.g)&&(this.g=v)):"right"==f&&(h.padding().right(p),h.padding().left(0),f=h.pb(),p=d.width-f.width,isNaN(this.w)&&(this.w=v)),h.O(!1));t.left+=n;t.top+=k;t.width-=p+n;t.height-=l+
k;for(b=c.length;b--;)(h=c[b])&&h.enabled()&&(X(h),v=h.pb(),h.$a()?(h.padding().left(n),h.padding().right(p),f=h.pb(),f.height!=v.height&&(q=!1)):(h.padding().top(k),h.padding().bottom(l),f=h.pb(),f.width!=v.width&&(q=!1)),h.O(!1));e++}while(!q&&5>e);this.j=t.clone().round();SK(this);T(this,2031616)}if(W(this,524288)){h=Xf(this.M,this.da);b=0;for(a=h.length;b<a;b++)if(d=h[b])X(d),d.scale()||(e=d,e.$a()?e.scale(this.ba()):e.scale(this.Z())),d.R(this.j),d.A(this.h),d.pe(this.F,this.w,this.c,this.g),d.I(),d.O(!1);U(this,524288)}if(W(this,131072)){b=0;for(a=c.length;b<a;b++)if(h=c[b])X(h),h.A(this.h),h.I(),h.O(!1);U(this,131072)}if(W(this,262144)){c=Xf(this.T,this.ua,this.X);b=0;for(a=c.length;b<a;b++)if(h=c[b])X(h),h.scale()||(d=h,d.$a()?d.scale(this.ba()):d.scale(this.Z())),h.R(this.j),h.A(this.h),h.pe(this.F,this.w,this.c,this.g),h.I(),h.O(!1);U(this,262144)}if(W(this,65536)){b=0;for(a=this.a.length;b<a;b++)c=this.a[b],c.A(this.h),c.pe(this.F,this.w,this.c,this.g),c.R(this.j);c=[Number.MAX_VALUE,-Number.MAX_VALUE];for(b=this.a.length;b--;)this.a[b].og()&&this.a[b].zp(c);for(b=this.a.length;b--;)this.a[b].og()&&this.a[b].ou(c[0],c[1],this.fa,this.ka);b=0;for(c=this.a.length;b<c;b++){h=this.a[b];h.mb();for(a=h.Ya();a.advance();)d=a.S(),a.get("selected")&&h.state.wd(Ha,d),h.af(cb(h.state,d));h.ic()}U(this,65536)}W(this,1048576)&&(this.m&&(X(this.m),this.m.R(this.j),this.m.A(this.h),nz(this.m,this.H[this.m.Ku().Rd()]),pz(this.m,this.J[this.m.Lu().Rd()]),this.m.I(),this.m.O(!1)),U(this,1048576));qt(this.a,this.H,this.J)}};g.o=function(){var a=GK.v.o.call(this),b,c={},d=[],e=[],f,h,k;c[D(this.Z())]=this.Z().o();d.push(c[D(this.Z())]);a.xScale=d.length-1;this.Z()!=this.ba()&&(c[D(this.ba())]=this.ba().o(),d.push(c[D(this.ba())]));a.yScale=d.length-1;a.type="scatter";a.defaultSeriesType=this.fm();a.palette=this.No().o();a.markerPalette=this.Mo().o();a.hatchFillPalette=this.Lo().o();a.minBubbleSize=this.Av();a.maxBubbleSize=this.zv();a.crosshair=this.vv().o();var l=[];for(b=0;b<this.H.length;b++){var n=this.H[b];h=n.o();f=n.scale();k=D(f);c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);e.push(D(n));l.push(h)}l.length&&(a.xAxes=l);l=[];for(b=0;b<this.J.length;b++)n=this.J[b],h=n.o(),f=n.scale(),k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1),e.push(D(n)),l.push(h);l.length&&(a.yAxes=l);l=[];for(b=0;b<this.M.length;b++)if(n=this.M[b]){h=n.o();f=n.scale();k=D(f);c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.grids=l);l=[];for(b=0;b<this.da.length;b++)if(n=this.da[b]){h=n.o();f=n.scale();k=D(f);c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.minorGrids=l);l=[];for(b=0;b<this.T.length;b++){n=this.T[b];h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.lineAxesMarkers=l);l=[];for(b=0;b<this.ua.length;b++){n=this.ua[b];h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.rangeAxesMarkers=l);l=[];for(b=0;b<this.X.length;b++){n=this.X[b];h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.textAxesMarkers=l);e=[];for(b=0;b<this.a.length;b++)l=this.a[b],h=l.o(),f=l.Z(),k=D(f),c[k]?h.xScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.xScale=d.length-1),f=l.ba(),k=D(f),c[k]?h.yScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.yScale=d.length-1),e.push(h);e.length&&(a.series=e);d.length&&(a.scales=d);return{chart:a}};g.K=function(a){GK.v.K.call(this,a);this.fm(a.defaultSeriesType);"defaultSeriesSettings"in a&&HK(this,a.defaultSeriesSettings);"defaultXAxisSettings"in a&&IK(this,a.defaultXAxisSettings);"defaultYAxisSettings"in a&&JK(this,a.defaultYAxisSettings);"defaultGridSettings"in a&&KK(this,a.defaultGridSettings);"defaultMinorGridSettings"in a&&LK(this,a.defaultMinorGridSettings);"defaultLineMarkerSettings"in a&&MK(this,a.defaultLineMarkerSettings);"defaultTextMarkerSettings"in a&&NK(this,a.defaultTextMarkerSettings);"defaultRangeMarkerSettings"in a&&OK(this,a.defaultRangeMarkerSettings);this.No(a.palette);this.Mo(a.markerPalette);this.Lo(a.hatchFillPalette);this.Av(a.minBubbleSize);this.zv(a.maxBubbleSize);var b,c,d,e=a.grids,f=a.minorGrids,h=a.xAxes,k=a.yAxes,l=a.lineAxesMarkers,n=a.rangeAxesMarkers,p=a.textAxesMarkers,q=a.series,t=a.scales,v=this.qa(),w={};if(r(t))for(b=0;b<t.length;b++)c=t[b],u(c)&&(c={type:c}),c=Vq(c,b,v),d=qI(c.type,!1),d.C(c),w[b]=d;else if(B(t))for(b in t)t.hasOwnProperty(b)&&(c=t[b],u(c)&&(c={type:c}),c=Vq(c,b,v),d=qI(c.type,!1),d.C(c),w[b]=d);c=a.xScale;y(c)?d=w[c]:u(c)?(d=qI(c,!0))||(d=w[c]):B(c)?(d=qI(c.type,!1),d.C(c)):d=null;d&&this.Z(d);c=a.yScale;y(c)?d=w[c]:u(c)?(d=qI(c,!0))||(d=w[c]):B(c)?(d=qI(c.type,!1),d.C(c)):d=null;d&&this.ba(d);if(r(h))for(b=0;b<h.length;b++)c=h[b],this.Fv(b,c),B(c)&&"scale"in c&&1<c.scale&&this.Fv(b).scale(w[c.scale]);if(r(k))for(b=0;b<k.length;b++)c=k[b],this.Gv(b,c),B(c)&&"scale"in c&&1<c.scale&&this.Gv(b).scale(w[c.scale]);if(r(e))for(b=0;b<e.length;b++)c=e[b],this.wv(b,c),B(c)&&"scale"in c&&1<c.scale&&this.wv(b).scale(w[c.scale]);if(r(f))for(b=0;b<f.length;b++)c=f[b],this.Bv(b,c),B(c)&&"scale"in c&&1<c.scale&&this.Bv(b).scale(w[c.scale]);if(r(l))for(b=0;b<l.length;b++)c=l[b],this.xv(b,c),B(c)&&"scale"in c&&1<c.scale&&this.xv(b).scale(w[c.scale]);if(r(n))for(b=0;b<n.length;b++)c=n[b],this.Dv(b,c),B(c)&&"scale"in c&&1<c.scale&&this.Dv(b).scale(w[c.scale]);if(r(p))for(b=0;b<p.length;b++)c=p[b],this.Ev(b,c),B(c)&&"scale"in c&&1<c.scale&&this.Ev(b).scale(w[c.scale]);if(r(q))for(b=0;b<q.length;b++)if(c=q[b],d=c.seriesType||this.fm(),d=RK(this,d,c.data))d.C(c),B(c)&&("xScale"in c&&1<c.xScale&&d.Z(w[c.xScale]),"yScale"in c&&1<c.yScale&&d.ba(w[c.yScale]));a.crosshair&&this.vv(a.crosshair)};GK.prototype.crosshair=GK.prototype.vv;GK.prototype.xScale=GK.prototype.Z;GK.prototype.yScale=GK.prototype.ba;GK.prototype.grid=GK.prototype.wv;GK.prototype.minorGrid=GK.prototype.Bv;GK.prototype.xAxis=GK.prototype.Fv;GK.prototype.yAxis=GK.prototype.Gv;GK.prototype.getSeries=GK.prototype.Ee;GK.prototype.bubble=GK.prototype.NB;GK.prototype.line=GK.prototype.eJ;GK.prototype.marker=GK.prototype.yv;GK.prototype.lineMarker=GK.prototype.xv;GK.prototype.rangeMarker=GK.prototype.Dv;GK.prototype.textMarker=GK.prototype.Ev;GK.prototype.palette=GK.prototype.No;GK.prototype.markerPalette=GK.prototype.Mo;GK.prototype.hatchFillPalette=GK.prototype.Lo;GK.prototype.getType=GK.prototype.qa;GK.prototype.maxBubbleSize=GK.prototype.zv;GK.prototype.minBubbleSize=GK.prototype.Av;GK.prototype.defaultSeriesType=GK.prototype.fm;GK.prototype.addSeries=GK.prototype.cJ;GK.prototype.getSeriesAt=GK.prototype.OB;GK.prototype.getSeriesCount=GK.prototype.dJ;GK.prototype.removeSeries=GK.prototype.iJ;GK.prototype.removeSeriesAt=GK.prototype.RB;GK.prototype.removeAllSeries=GK.prototype.hJ;GK.prototype.getPlotBounds=GK.prototype.uj;function UK(a,b){OA.call(this);this.state=new Ta(this);this.a=this.Da=this.va=null;this.W=[];this.da=[];this.ua=[];this.j=null;this.b={};this.D=new tx;this.D.Gd(Hr);this.D.size(10);this.D.anchor("center");this.D.offsetX(0);this.D.offsetY(0);this.D.rotation(0);this.D.La(this);this.D.oe=VK;this.B=new Tt;this.B.Gd(Hr);this.B.Fb(Hr);this.B.Qw(null);this.B.rotation(0);this.B.width(null);this.B.height(null);this.B.fontSize(11);this.B.cd(8);this.B.bd(72);this.B.La(this);this.B.oe=WK;this.data(a||null,b);xv(this,this,this.om,this.Sv,null,this.om,null,this.nm)}G(UK,OA);UK.prototype.qa=function(){return"sparkline"};UK.prototype.$=OA.prototype.$|28672;var VK=40,WK=40;g=UK.prototype;g.ee=function(a){a=UK.v.ee.call(this,a);var b=this.a&&this.a.Kh||Nl(0,0,0,0),c=a.clientX,d;d=b.left+xk(this.A().oa().A()).x;b=(c-d)/b.width;b=this.Z().ac(b);b=this.data().hj("x",b);0>b&&(b=NaN);a.pointIndex=b;return a};g.gc=function(){};g.Vh=function(a){var b=this.a&&this.a.Kh||Nl(0,0,0,0),c=a.clientX;a=a.clientY;var d;d=xk(this.A().oa().A());c=c-d.x;a=a-d.y;d=b.left;var e=b.top,f=b.width,b=b.height;if(c<d||c>d+f||a<e||a>e+b)return null;b=[];d=(c-d)/f;d=this.Z().ac(d);d=this.data().hj("x",d);0>d&&(d=NaN);e=this.G();e.select(d)&&(f=e.l("x"),e=e.l("value"),c=Math.sqrt(Math.pow(f-c,2)+Math.pow(e-a,2)),isNaN(f)||isNaN(e)||b.push({Y:this,zb:[d],Nf:d,Wb:{index:d,Vc:c}}));return b};g.dc=function(){return"none"};g.Kb=function(){this.F||(this.F=new cd(this,["x","value"]));this.F.Bf();return this.F};g.Jf=function(){return this.Kb()};g.zk=function(){return!0};g.Me=function(a){(a=this.$d(a))&&this.dispatchEvent(a)};g.$d=function(a){var b;"pointIndex"in a?b=a.pointIndex:"labelIndex"in a?b=a.labelIndex:"markerIndex"in a&&(b=a.markerIndex);b=I(b);a.pointIndex=b;var c=a.type;switch(c){case"mouseout":c="pointmouseout";break;case"mouseover":c="pointmouseover";break;case"mousemove":c="pointmousemove";break;case"mousedown":c="pointmousedown";break;case"mouseup":c="pointmouseup";break;case"click":c="pointclick";break;case"dblclick":c="pointdblclick";break;default:return null}var d=this.data().G();d.select(b)||d.reset();return{type:c,actualTarget:a.target,pie:this,iterator:d,sliceIndex:b,pointIndex:b,target:this,originalEvent:a}};g.vf=function(){return this};g.rf=function(){return this};g.sd=function(){return[this]};g.yb=function(a){return m(a)?(a=Ub(a),a!=this.T&&(this.T=a),this):this.T};g.vd=function(){return null};g.Fd=function(){return!1};g.Bd=ba;g.Qd=ba;g.Kf=ba;g.Ms=function(a){return m(a)?(this.xh=a,this):this.xh||{}};function XK(a,b){return m(b)?(a.ea=b,a):a.ea||{}}
function YK(a,b){return m(b)?(a.kc=b,a):a.kc||{}}function ZK(a,b){return m(b)?(a.kd=b,a):a.kd||{}}function $K(a,b){return m(b)?(a.Gc=b,a):a.Gc||{}}var aL="enabled position anchor offsetX offsetY type size fill stroke".split(" "),bL="enabled background padding position anchor offsetX offsetY rotation width height fontSize fontFamily fontColor fontOpacity fontDecoration fontStyle fontVariant fontWeight letterSpacing textDirection lineHeight textIndent vAlign hAlign textWrap textOverflow selectable disablePointerEvents useHtml".split(" ");g=UK.prototype;g.xx="95%";g.Z=function(a){if(m(a))return u(a)&&(a=Pw(a,!0)),this.va!=a&&(this.va=a,T(this,4096,1)),this;this.va||(this.va=new sb);return this.va};g.ba=function(a){if(m(a))return u(a)&&(a=Pw(a,!1)),this.Da!=a&&(this.Da=a,T(this,4096,1)),this;this.Da||(this.Da=new Xc);return this.Da};g.Hv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.W[c];e||(e=new Sv,e.C(YK(this)),this.W[c]=e,L(this,e),R(e,this.Iv,this),T(this,16384,1));return m(d)?(e.C(d),this):e};g.Jv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.da[c];e||(e=new Vv,e.C($K(this)),this.da[c]=e,L(this,e),R(e,this.Iv,this),T(this,16384,1));return m(d)?(e.C(d),this):e};g.Kv=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.ua[c];e||(e=new MI,e.C(ZK(this)),this.ua[c]=e,L(this,e),R(e,this.Iv,this),T(this,16384,1));return m(d)?(e.C(d),this):e};g.Iv=function(){T(this,16384,1)};g.data=function(a,b){return m(a)?(this.hb!==a&&(this.hb=a,Ad(this.M),a instanceof $u?this.fa=this.M=a.Rg():this.fa=a instanceof fv?this.M=a.Pd():(this.M=new fv(r(a)||u(a)?a:null,b)).Pd(),L(this,this.M),this.w=this.fa,R(this.w,this.jJ,this),this.a&&T(this.a,16,21)),this):this.w};g.Uh=function(){var a=this.G(),b=this.ba(),a=a.get("value");return b.Oc(a)?null:a};g.jJ=function(a){Y(a,16)&&this.ca(20)};g.G=function(){return this.ka||this.Ya()};g.Ya=function(){return this.ka=this.data().G()};g.kJ=function(a){var b=0;Y(a,2048)&&(b=32);Y(a,1)&&(b=8192);Y(a,16)&&(b|=8192,cL(this));Y(a,4)&&(b|=4096);T(this,b,1)};g.type=function(a){return m(a)?(a=vc(a),this.m!=a&&(this.m=a,this.a&&(this.a.Sd(),this.a=null),T(this,8192,1)),this):this.m};g.clip=function(a){return m(a)?(null===a&&(a=!1),this.J!=a&&(this.J=a,this.a&&T(this.a,4,9)),this):this.J};g.lr=function(a){return m(a)?(a=wr(a,"95%"),this.xx!=a&&(this.xx=a,this.a&&this.a.Yh()&&T(this.a,80,1)),this):this.xx};g.Oo=function(a){return m(a)?(a=!!a,this.de!=a&&(this.de=a,this.a&&!this.a.Yh()&&T(this.a,80,1)),this):this.de};g.Po=function(a,b){var c;A(a)?(c=1<arguments.length?this.Po.apply(this,zb(arguments,1)):this.b.color,c={index:this.G().S(),sourceColor:c,iterator:this.G()},c=a.call(c)):c=a;return c};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.g&&(this.g=k,this.a&&T(this.a,16,1));return this}return this.g||this.b.fill};g.Ok=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.zn&&(this.zn=k,this.a&&T(this.a,16,1));return this}return this.zn||this.b.negativeFill};g.rl=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.Mf&&(this.Mf=k,this.a&&T(this.a,16,1));return this}return this.Mf||this.b.firstFill};g.xl=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.dd&&(this.dd=k,this.a&&T(this.a,16,1));return this}return this.dd||this.b.lastFill};g.Bl=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.pd&&(this.pd=k,this.a&&T(this.a,16,1));return this}return this.pd||this.b.maxFill};g.El=function(a,b,c,d,e,f,h){if(m(a)){var k=A(a)?a:Bn.apply(null,arguments);k!=this.ae&&(this.ae=k,this.a&&T(this.a,16,1));return this}return this.ae||this.b.minFill};function Wy(a){var b=a.G(),c=b.get("value"),d=b.S(),e;m(b.get("fill"))?e=b.get("fill"):e=d==b.Za()-1&&m(a.xl())?a.xl():0==d&&m(a.rl())?a.rl():c==a.$b("max")&&m(a.Bl())?a.Bl():c==a.$b("min")&&m(a.El())?a.El():0>c&&m(a.Ok())?a.Ok():a.fill();a=a.Po(e);return Bn(a)}g.stroke=function(a,b,c,d,e){if(m(a)){var f=A(a)?a:Gn.apply(null,arguments);f!=this.c&&(this.c=f,this.a&&T(this.a,16,1));return this}return this.c||this.b.stroke};function Yy(a){return Gn(a.Po(a.stroke()))}
function $y(a,b){var c;c=a.G().S();if(A(b)){var d=Hn("diagonalBrick");c={index:c,sourceHatchFill:d,iterator:a.G()};c=Hn(b.call(c))}else c=ia(b)?b?Hn("diagonalBrick"):null:Hn(b);return c}g.Ua=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.H&&(this.H=e,this.a&&T(this.a,64,1));return this}return m(this.H)?this.H:this.b.hatchFill};g.Pk=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.Gl&&(this.Gl=e,this.a&&T(this.a,64,1));return this}return m(this.Gl)?this.Gl:this.b.negativeHatchFill};g.sl=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.Tc&&(this.Tc=e,this.a&&T(this.a,64,1));return this}return this.Tc||this.b.firstHatchFill};g.yl=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.od&&(this.od=e,this.a&&T(this.a,64,1));return this}return this.od||this.b.lastHatchFill};g.Cl=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.Hd&&(this.Hd=e,this.a&&T(this.a,64,1));return this}return this.Hd||this.b.maxHatchFill};g.Fl=function(a,b,c,d){if(m(a)){var e=A(a)||ia(a)?a:Hn.apply(null,arguments);e!=this.Se&&(this.Se=e,this.a&&T(this.a,64,1));return this}return this.Se||this.b.minHatchFill};g.Vb=function(a){var b=this.G(),c=b.get("value"),d=b.S(),e;a&&m(b.get("hatchFill"))?e=b.get("hatchFill"):e=d==b.Za()-1&&m(this.yl())?this.yl():0==d&&m(this.sl())?this.sl():c==this.$b("max")&&m(this.Cl())?this.Cl():c==this.$b("min")&&m(this.Fl())?this.Fl():0>c&&m(this.Pk())?this.Pk():this.Ua();return $y(this,e)};function dL(a,b){for(var c={},d=a.length;d--;){var e=a[d];if(e){var f=!(e instanceof Z);if(f?e.enabled:e.enabled())for(var h=0,k=b.length;h<k;h++){var l=b[h],n=f?e[l]:e[l]();m(n)&&(c[l]=n instanceof dt?n.o():n)}}}return c}function eL(a,b){for(var c={},d=a.length;d--;){var e=a[d];if(e)for(var f=!(e instanceof Z),h=0,k=b.length;h<k;h++){var l=b[h],n=f?e[l]:e[l]();m(n)&&(c[l]=n instanceof dt?n.o():n)}}return c}
g.aa=function(a){this.ga||(this.ga=new yx,L(this,this.ga),R(this.ga,this.hm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.ga.C(a),this):this.ga};g.uq=function(a){this.Sb||(this.Sb=new yx,L(this,this.Sb),R(this.Sb,this.hm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Sb.C(a),this):this.Sb};g.Op=function(a){this.Sa||(this.Sa=new yx,L(this,this.Sa),R(this.Sa,this.hm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Sa.C(a),this):this.Sa};g.jq=function(a){this.qb||(this.qb=new yx,L(this,this.qb),R(this.qb,this.hm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.qb.C(a),this):this.qb};g.nq=function(a){this.nb||(this.nb=new yx,L(this,this.nb),R(this.nb,this.hm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.nb.C(a),this):this.nb};g.rq=function(a){this.Bb||(this.Bb=new yx,L(this,this.Bb),R(this.Bb,this.hm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Bb.C(a),this):this.Bb};function Ty(a){var b=a.G(),c=b.get("value"),d=b.S(),e;e=b.get("marker");var f,h;d==b.Za()-1?(f=a.jq(),h=a.b.lastMarkers):0==d&&(f=a.Op(),h=a.b.firstMarkers);var k,l;c==a.$b("max")?(k=a.nq(),l=a.b.maxMarkers):c==a.$b("min")&&(k=a.rq(),l=a.b.minMarkers);var n,p;0>c&&(n=a.uq(),p=a.b.negativeMarkers);var b=a.aa(),c=a.b.markers,q=Wy(a),q={fill:q,stroke:Cq(q)};h=eL([h,l,p,c,q],aL);e=dL([e,f,k,n,b],aL);e=eL([e,h],aL);f=wx(a.D,d);k=null;e.enabled?(k=e.position||a.D.position(),k=a.a.Bw(k),f?f.Eb(k):f=a.D.add(k,d),f.fd(),zx(f,a.D),f.xd(e),k=f):f&&f.clear();return k}g.hm=function(a){Y(a,1)&&this.a&&T(this.a,128,1)};g.labels=function(a){this.na||(this.na=new qB,L(this,this.na),R(this.na,this.gm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.na.C(a),this):this.na};g.tq=function(a){this.Nb||(this.Nb=new qB,L(this,this.Nb),R(this.Nb,this.gm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Nb.C(a),this):this.Nb};g.Np=function(a){this.X||(this.X=new qB,L(this,this.X),R(this.X,this.gm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.X.C(a),this):this.X};g.iq=function(a){this.Ta||(this.Ta=new qB,L(this,this.Ta),R(this.Ta,this.gm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Ta.C(a),this):this.Ta};g.mq=function(a){this.Ea||(this.Ea=new qB,L(this,this.Ea),R(this.Ea,this.gm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.Ea.C(a),this):this.Ea};g.qq=function(a){this.eb||(this.eb=new qB,L(this,this.eb),R(this.eb,this.gm,this));return m(a)?(!B(a)||"enabled"in a||(a.enabled=!0),this.eb.C(a),this):this.eb};function Sy(a){var b=a.G(),c=b.get("value"),d=b.S(),e;e=b.get("label");var f,h;d==b.Za()-1?(f=a.iq(),h=a.b.lastLabels):0==d&&(f=a.Np(),h=a.b.firstLabels);var k,l;c==a.$b("max")?(k=a.mq(),l=a.b.maxLabels):c==a.$b("min")&&(k=a.qq(),l=a.b.minLabels);var n,p;0>c&&(n=a.tq(),p=a.b.negativeLabels);b=a.labels();h=eL([h,l,p,a.b.labels],bL);e=dL([e,f,k,n,b],bL);e=eL([e,h],bL);f=oB(a.B,d);k=null;e.enabled?(k=e.position||a.B.position(),k=a.a.Bw(k),n=a.a.Kb(),f?(f.Ed(n),f.Eb(k)):f=a.B.add(n,k,d),f.fd(),tB(f,a.B),f.xd(e),k=f):f&&f.clear();return k}g.gm=function(a){Y(a,1)&&this.a&&T(this.a,256,1)};g.bb=function(){var a,b;if(W(this,4096)){this.L={};var c,d=this.Z(),e=this.ba();d.Uc()&&d.wf();e.Uc()&&e.wf();for(a=this.Ya();a.advance();)c=a.get("x"),b=a.get("value"),m(c)&&d.xb(c),m(b)&&e.xb(b);a=!1;d.Uc()&&(a|=d.pf());e.Uc()&&(a|=e.pf());a&&cL(this);var d=-Infinity,e=Infinity,f=c=0;for(a=this.Ya();a.advance();){if(b=this.Uh())b=I(b),isNaN(b)||(d=Math.max(d,b),e=Math.min(e,b),c+=b);f++}this.L.max=d;this.L.min=e;this.L.sum=c;this.L.average=c/f;this.L.pointsCount=f;U(this,4096)}};g.Tg=function(a){if(W(this,8192)&&!this.a){var b=this.m,c=Qy[b];c?(c=new c(this),L(this,c),this.a=c,c.oe=30,R(c,this.kJ,this),this.b=XK(this)[b]||this.a.Th(),T(this,12288,1)):(Rc(4,null,[b+" series"]),c=null);this.a=c}this.bb();if(this.Tb){gt(this.a);W(this,4)&&(this.j=a.clone().round(),this.a.Yh()&&(c=this.a,a=this.j,b=c.Ya().Za(),c=Vy(c,a),b=(a.width-b*c)%(b-1),0!=a.height%2&&--a.height,0!=b&&(a.left+=Math.floor(b/2),a.width-=b)),cL(this),T(this,24576));if(W(this,16384)){a=Xf(this.W,this.da,this.ua);b=0;for(c=a.length;b<c;b++){var d=a[b];d&&(X(d),d.$a()?d.scale(this.ba()):d.scale(this.Z()),d.R(this.j),d.A(this.h),d.I(),d.O(!1))}U(this,16384)}if(W(this,8192)){if(a=this.a){a.A(this.h);a.R(this.j);this.a.mb();for(a=this.Ya();a.advance();)this.a.af();this.a.ic();U(this.aa(),4294967295);U(this.rq(),4294967295);U(this.nq(),4294967295);U(this.uq(),4294967295);U(this.Op(),4294967295);U(this.jq(),4294967295);U(this.labels(),4294967295);U(this.qq(),4294967295);U(this.mq(),4294967295);U(this.tq(),4294967295);U(this.Np(),4294967295);U(this.iq(),4294967295)}U(this,8192)}qt(this.a)}};function cL(a){a.a&&T(a.a,80)}
g.K=function(a){UK.v.K.call(this,a);"defaultLabelSettings"in a&&this.Ms(a.defaultLabelSettings);if("defaultMarkerSettings"in a){var b=a.defaultMarkerSettings;m(b)&&(this.Oe=b)}"defaultSeriesSettings"in a&&XK(this,a.defaultSeriesSettings);"defaultLineMarkerSettings"in a&&YK(this,a.defaultLineMarkerSettings);"defaultTextMarkerSettings"in a&&ZK(this,a.defaultTextMarkerSettings);"defaultRangeMarkerSettings"in a&&$K(this,a.defaultRangeMarkerSettings);var c,d,e=a.lineAxesMarkers,f=a.rangeAxesMarkers,h=a.textAxesMarkers,k=a.scales;this.data(a.data);this.type(a.seriesType);this.clip(a.clip);this.data(a.data);this.Oo(a.connectMissingPoints);this.lr(a.pointWidth);var l=this.qa(),n={};if(r(k))for(c=0;c<k.length;c++)b=k[c],u(b)&&(b={type:b}),b=Vq(b,c,l),d=Pw(b.type,!1),d.C(b),n[c]=d;else if(B(k))for(c in k)k.hasOwnProperty(c)&&(b=k[c],u(b)&&(b={type:b}),b=Vq(b,c,l),d=Pw(b.type,!1),d.C(b),n[c]=d);b=a.xScale;y(b)?d=n[b]:u(b)?(d=Pw(b,null))||(d=n[b]):B(b)?(d=Pw(b.type,!0),d.C(b)):d=null;d&&this.Z(d);b=a.yScale;y(b)?d=n[b]:u(b)?(d=Pw(b,null))||(d=n[b]):B(b)?(d=Pw(b.type,!1),d.C(b)):d=null;d&&this.ba(d);if(r(e))for(c=0;c<e.length;c++)b=e[c],this.Hv(c,b),B(b)&&"scale"in b&&1<b.scale&&this.Hv(c).scale(n[b.scale]);if(r(f))for(c=0;c<f.length;c++)b=f[c],this.Jv(c,b),B(b)&&"scale"in b&&1<b.scale&&this.Jv(c).scale(n[b.scale]);if(r(h))for(c=0;c<h.length;c++)b=h[c],this.Kv(c,b),B(b)&&"scale"in b&&1<b.scale&&this.Kv(c).scale(n[b.scale]);this.stroke(a.stroke);this.xl(a.lastFill);this.rl(a.firstFill);this.Bl(a.maxFill);this.El(a.minFill);this.Ok(a.negativeFill);this.fill(a.fill);this.yl(a.lastHatchFill);this.sl(a.firstHatchFill);this.Cl(a.maxHatchFill);this.Fl(a.minHatchFill);this.Pk(a.negativeHatchFill);this.Ua(a.hatchFill);a.lastMarkers&&this.jq().K(a.lastMarkers);a.firstMarkers&&this.Op().K(a.firstMarkers);a.maxMarkers&&this.nq().K(a.maxMarkers);a.minMarkers&&this.rq().K(a.minMarkers);a.negativeMarkers&&this.uq().K(a.negativeMarkers);a.markers&&this.aa().K(a.markers);a.firstLabels&&this.Np().K(a.firstLabels);a.lastLabels&&this.iq().K(a.lastLabels);a.maxLabels&&this.mq().K(a.maxLabels);a.minLabels&&this.qq().K(a.minLabels);a.negativeLabels&&this.tq().K(a.negativeLabels);a.labels&&this.labels().C(a.labels)};g.o=function(){var a=UK.v.o.call(this),b,c={},d=[],e,f,h;c[D(this.Z())]=this.Z().o();d.push(c[D(this.Z())]);a.xScale=d.length-1;this.Z()!=this.ba()&&(c[D(this.ba())]=this.ba().o(),d.push(c[D(this.ba())]));a.yScale=d.length-1;a.type="sparkline";a.seriesType=this.type();a.clip=this.J instanceof M?this.J.o():this.J;a.data=this.data().o();a.connectMissingPoints=this.Oo();a.pointWidth=this.lr();A(this.lastFill)&&(A(this.xl())?K(8,null,["Series last fill"]):m(this.xl())&&(a.lastFill=P(this.xl())));A(this.lastHatchFill)&&(A(this.yl())?K(8,null,["Series last hatch fill"]):m(this.yl())&&(a.lastHatchFill=P(this.yl())));a.lastMarkers=this.jq().o();a.lastLabels=this.iq().o();A(this.firstFill)&&(A(this.rl())?K(8,null,["Series first fill"]):m(this.rl())&&(a.firstFill=P(this.rl())));A(this.firstHatchFill)&&(A(this.sl())?K(8,null,["Series first hatch fill"]):m(this.sl())&&(a.firstHatchFill=P(this.sl())));a.firstMarkers=this.Op().o();a.firstLabels=this.Np().o();A(this.maxFill)&&(A(this.Bl())?K(8,null,["Series max fill"]):m(this.Bl())&&(a.maxFill=P(this.Bl())));A(this.maxHatchFill)&&(A(this.Cl())?K(8,null,["Series max hatch fill"]):m(this.Cl())&&(a.maxHatchFill=P(this.Cl())));a.maxMarkers=this.nq().o();a.maxLabels=this.mq().o();A(this.minFill)&&(A(this.El())?K(8,null,["Series min fill"]):m(this.El())&&(a.minFill=P(this.El())));A(this.minHatchFill)&&(A(this.Fl())?K(8,null,["Series min hatch fill"]):m(this.Fl())&&(a.minHatchFill=P(this.Fl())));a.minMarkers=this.rq().o();a.minLabels=this.qq().o();A(this.negativeFill)&&(A(this.Ok())?K(8,null,["Series negative fill"]):m(this.Ok())&&(a.negativeFill=P(this.Ok())));A(this.negativeHatchFill)&&(A(this.Pk())?K(8,null,["Series negative hatch fill"]):m(this.Pk())&&(a.negativeHatchFill=P(this.Pk())));a.negativeMarkers=this.uq().o();a.negativeLabels=this.tq().o();A(this.fill)&&(A(this.fill())?K(8,null,["Series fill"]):m(this.fill())&&(a.fill=P(this.fill())));A(this.hatchFill)&&(A(this.Ua())?K(8,null,["Series hatch fill"]):m(this.Ua())&&(a.hatchFill=P(this.Ua())));a.markers=this.aa().o();a.labels=this.labels().o();A(this.stroke)&&(A(this.stroke())?K(8,null,["Series stroke"]):m(this.stroke())&&(a.stroke=P(this.stroke())));var k=[];for(b=0;b<this.W.length;b++)if(e=this.W[b]){f=e.o();if(e=e.scale())h=D(e),c[h]?f.scale=Lf(d,c[h]):(c[h]=e.o(),d.push(c[h]),f.scale=d.length-1);k.push(f)}k.length&&(a.lineAxesMarkers=k);k=[];for(b=0;b<this.da.length;b++)if(e=this.da[b]){f=e.o();if(e=e.scale())h=D(e),c[h]?f.scale=Lf(d,c[h]):(c[h]=e.o(),d.push(c[h]),f.scale=d.length-1);k.push(f)}k.length&&(a.rangeAxesMarkers=k);k=[];for(b=0;b<this.ua.length;b++)if(e=this.ua[b]){f=e.o();if(e=e.scale())h=D(e),c[h]?f.scale=Lf(d,c[h]):(c[h]=e.o(),d.push(c[h]),f.scale=d.length-1);k.push(f)}k.length&&(a.textAxesMarkers=k);a.scales=d;return{chart:a}};fs.sparkline=Ks;E("anychart.sparkline",Ks);UK.prototype.xScale=UK.prototype.Z;UK.prototype.yScale=UK.prototype.ba;UK.prototype.lineMarker=UK.prototype.Hv;UK.prototype.rangeMarker=UK.prototype.Jv;UK.prototype.textMarker=UK.prototype.Kv;UK.prototype.type=UK.prototype.type;UK.prototype.data=UK.prototype.data;UK.prototype.clip=UK.prototype.clip;UK.prototype.connectMissingPoints=UK.prototype.Oo;UK.prototype.pointWidth=UK.prototype.lr;UK.prototype.lastFill=UK.prototype.xl;UK.prototype.lastHatchFill=UK.prototype.yl;UK.prototype.lastMarkers=UK.prototype.jq;UK.prototype.lastLabels=UK.prototype.iq;UK.prototype.firstFill=UK.prototype.rl;UK.prototype.firstHatchFill=UK.prototype.sl;UK.prototype.firstMarkers=UK.prototype.Op;UK.prototype.firstLabels=UK.prototype.Np;UK.prototype.maxFill=UK.prototype.Bl;UK.prototype.maxHatchFill=UK.prototype.Cl;UK.prototype.maxMarkers=UK.prototype.nq;UK.prototype.maxLabels=UK.prototype.mq;UK.prototype.minFill=UK.prototype.El;UK.prototype.minHatchFill=UK.prototype.Fl;UK.prototype.minMarkers=UK.prototype.rq;UK.prototype.minLabels=UK.prototype.qq;UK.prototype.negativeFill=UK.prototype.Ok;UK.prototype.negativeHatchFill=UK.prototype.Pk;UK.prototype.negativeMarkers=UK.prototype.uq;UK.prototype.negativeLabels=UK.prototype.tq;UK.prototype.fill=UK.prototype.fill;UK.prototype.hatchFill=UK.prototype.Ua;UK.prototype.markers=UK.prototype.aa;UK.prototype.labels=UK.prototype.labels;UK.prototype.stroke=UK.prototype.stroke;UK.prototype.getType=UK.prototype.qa;function fL(a){WA.call(this);this.j=null;this.T=!!a;this.Da=this.va=null;this.a=[];this.H=[];this.J=[];this.pd=[];this.ae=[];this.Se=[];this.od=[];this.Hd=[];this.fa=this.B=this.D=this.b=null;this.X=new pb(this,!0);this.Ea=!1;this.Sf("line");this.m="cartesian"}G(fL,WA);g=fL.prototype;g.$=WA.prototype.$|67104768;g.Mz={};g.Sf=function(a){return m(a)?(this.qb=a=uc(a),this):this.qb};g.qa=function(){return this.m};g.ut=function(){T(this,2097152,1)};g.dF=function(a){return a?this.Z():this.ba()};g.XE=function(){gL(this);W(this,32768)&&qb(this.ji())&&hL(this)};g.ji=function(a){return m(a)?(X(this),this.X.C(a),this.O(!0),this):this.X};g.Ng=function(a){this.M||(this.M=new Xx,this.M.La(this),R(this.M,this.kQ,this),this.N.pa(this.M,"scrollerchangestart",this.wJ),this.N.pa(this.M,"scrollerchange",this.vJ),this.N.pa(this.M,"scrollerchangefinish",this.uJ),T(this,16777220,1));return m(a)?(this.M.C(a),this):this.M};g.kQ=function(a){var b=16777216,c=1;Y(a,8)&&(b|=4,c|=8);T(this,b,c)};g.wJ=function(){};g.vJ=function(a){this.X.cn()&&(a.preventDefault(),X(this),this.X.Ni(a.startRatio,a.endRatio),this.O(!0))};g.uJ=function(a){this.X.cn()||(X(this),this.X.Ni(a.startRatio,a.endRatio),this.O(!0))};function pC(a,b){return m(b)?(a.ea=b,a):a.ea||{}}function iL(a,b){return m(b)?(a.fg=b,a):a.fg||{}}function jL(a,b){return m(b)?(a.rg=b,a):a.rg||{}}function kL(a,b){return m(b)?(a.W=b,a):a.W||{}}function lL(a,b){return m(b)?(a.Ta=b,a):a.Ta||{}}function mL(a,b){return m(b)?(a.kc=b,a):a.kc||{}}
function nL(a,b){return m(b)?(a.kd=b,a):a.kd||{}}function oL(a,b){return m(b)?(a.Gc=b,a):a.Gc||{}}g.Z=function(a){if(m(a))return u(a)&&(a=Pw(a,!0)),this.va!=a&&(this.va&&this.va instanceof sb&&et(this.va,this.Qv,this),this.va=a,this.va instanceof sb&&R(this.va,this.Qv,this),"categories"==this.sf().Fg()&&T(this,512,1)),this;this.va||(this.va=new sb,R(this.va,this.Qv,this));return this.va};g.Qv=function(a){Y(a,4)&&"categories"==this.sf().Fg()&&T(this,512,1)};g.ba=function(a){if(m(a))return u(a)&&(a=Pw(a,!1)),this.Da!=a&&(this.Da=a,T(this,12615680,1)),this;this.Da||(this.Da=new Xc);return this.Da};function pL(a,b){b.$a()^a.T?b.scale(a.ba()):b.scale(a.Z())}g.Lx=function(){return new ow};g.nr=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.od[c];e||(e=this.Lx(),e.ce(this),pw(e,this.T?"vertical":"horizontal"),e.C(kL(this)),this.od[c]=e,L(this,e),R(e,this.QF,this),T(this,524288,1));return m(d)?(e.C(d),this):e};g.qr=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Hd[c];e||(e=this.Lx(),e.ce(this),pw(e,this.T?"vertical":"horizontal"),e.C(lL(this)),this.Hd[c]=e,L(this,e),R(e,this.QF,this),T(this,524288,1));return m(d)?(e.C(d),this):e};g.QF=function(){T(this,524288,1)};g.tr=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.H[c];e||(e=new Pv,e.La(this),e.C(iL(this)),this.H[c]=e,L(this,e),R(e,this.WB,this),T(this,131076,1));return m(d)?(e.C(d),this):e};g.ur=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.J[c];e||(e=new Pv,e.La(this),e.C(jL(this)),this.J[c]=e,L(this,e),R(e,this.WB,this),T(this,131076,1));return m(d)?(e.C(d),this):e};g.hO=function(){return this.H.length};g.iO=function(){return this.J.length};g.WB=function(a){var b=0,c=0;Y(a,1)&&(b|=131072,c|=1);Y(a,8)&&(b|=4);T(this,b,c)};g.tj=function(a){return a>=this.H.length?this.J[a-this.H.length]:this.H[a]};g.eE=function(){return new Sv};g.pr=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.pd[c];if(!e){e=this.eE();e.ce(this);e.C(mL(this));var f=e,h=this.T?"vertical":"horizontal",k=!f.j&&f.g!=h;f.g=h;k&&T(f,4);this.pd[c]=e;L(this,e);R(e,this.nz,this);T(this,262144,1)}return m(d)?(e.C(d),this):e};g.iE=function(){return new Vv};g.rr=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.ae[c];e||(e=this.iE(),e.ce(this),e.C(oL(this)),Xv(e,this.T?"vertical":"horizontal"),this.ae[c]=e,L(this,e),R(e,this.nz,this),T(this,262144,1));return m(d)?(e.C(d),this):e};g.kE=function(){return new MI};g.sr=function(a,b){var c,d;c=I(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Se[c];if(!e){e=this.kE();e.ce(this);e.C(nL(this));var f=e,h=this.T?"vertical":"horizontal",k=!f.j&&f.J!=h;f.J=h;k&&T(f,4);this.Se[c]=e;L(this,e);R(e,this.nz,this);T(this,262144,1)}return m(d)?(e.C(d),this):e};g.nz=function(){T(this,262144,1)};g.mr=function(a){this.j||(this.j=new lz,this.j.enabled(!1),mz(this.j,this),L(this,this.j),R(this.j,this.rJ,this),T(this,1048576,1));return m(a)?(this.j.C(a),this):this.j};g.rJ=function(){T(this,1048576,1)};g.aA=function(a,b,c){a=c?qL.concat(a):rL.concat(a);b=sL(this);c=c?a[1]:a[0];c.subMenu.length=0;c.enabled=!1;if(b.length){for(var d=[null,tL],e=[],f,h=0;h<b.length;h++){f=b[h].Ee().Dq();var k;"candlestick"==f||"ohlc"==f?k="o - "+b[h].get("open")+", h - "+b[h].get("high")+", l - "+b[h].get("low")+", c - "+b[h].get("close"):"box"==f?k="high - "+b[h].get("high")+", low - "+b[h].get("low"):"rangeArea"==f||"rangeBar"==f||"rangeColumn"==f||"rangeSplineArea"==f||"rangeStepArea"==f?k="high - "+b[h].get("high")+", low - "+b[h].get("low"):"bubble"==f?k="x - "+b[h].get("x")+", y - "+b[h].get("value")+", size - "+b[h].get("size"):k=b[h].get("value");e.push({text:b[h].Ee().name()+": "+k,eventType:"anychart.include",scrollable:!0,action:na(b[h].Ee().Ty,b[h].Ee(),b[h].S())})}c.subMenu=e.concat(d);c.enabled=!0}return Dq(a)};function sL(a){return Pf(Of(a.a,function(a){return a.HC()}),function(a,c){return Yf(a,c)},[])}
var uL={text:"Include",subMenu:[],enabled:!1},tL={text:"Include All",eventType:"anychart.includeAll",action:function(a){X(a.chart);var b,c,d=a.chart.sd();for(c=0;c<d.length;c++)b=d[c],A(b.Sy)&&b.Sy();a.chart.O(!0)}},rL=[uL,null],qL=[{text:"Exclude",eventType:"anychart.exclude",action:function(a){X(a.chart);for(var b=a.selectedPoints,c,d=0;d<b.length;d++)c=b[d],A(c.Ee)&&c.Ee().YE(c.S());a.chart.O(!0)}},uL,{text:"Keep only",eventType:"anychart.keepOnly",action:function(a){X(a.chart);var b,c,d,e=a.chart.sd();for(d=0;d<e.length;d++)(c=e[d])&&c.state&&(b=jb(c.state,Ha),c.EF(b));a.chart.O(!0)}},null];g=fL.prototype;g.Qo=function(a,b){return vL(this,"area",a,b)};g.Ro=function(a,b){return vL(this,"bar",a,b)};g.LD=function(a,b){return vL(this,"box",a,b)};g.nJ=function(a,b){return vL(this,"bubble",a,b)};g.OD=function(a,b){return vL(this,"candlestick",a,b)};g.So=function(a,b){return vL(this,"column",a,b)};g.VB=function(a,b){return vL(this,"line",a,b)};g.pJ=function(a,b){return vL(this,"marker",a,b)};g.tP=function(a,b){return vL(this,"ohlc",a,b)};g.PP=function(a,b){return vL(this,"rangeArea",a,b)};g.tJ=function(a,b){return vL(this,"rangeBar",a,b)};g.QP=function(a,b){return vL(this,"rangeColumn",a,b)};g.RP=function(a,b){return vL(this,"rangeSplineArea",a,b)};g.SP=function(a,b){return vL(this,"rangeStepArea",a,b)};g.vQ=function(a,b){return vL(this,"spline",a,b)};g.wQ=function(a,b){return vL(this,"splineArea",a,b)};g.AQ=function(a,b){return vL(this,"stepLine",a,b)};g.zQ=function(a,b){return vL(this,"stepArea",a,b)};function oC(a,b){b=uc(b);var c=a.Mz[b];c&&c.Be in wa?c=[b,c]:(Rc(4,null,[b+" series"]),c=null);return c}function vL(a,b,c,d){var e=oC(a,b);if(e){b=e[0];b=new KC(a,a,b,e[1]);L(a,b);e=(e=a.a[a.a.length-1])?e.wg()+1:0;a.a.push(b);var f=1E-5*e,f=(b.check(32768)?31:30)+f;b.wg(e);b.data(c,d);b.oe=f;b.clip(!0);b.Fe(a.km().nf(e));b.Ig(a.jm().lg(e));b.ah(a.im().Uf(e));b.La(a);R(b,a.mQ,a);T(a,(b.check(2048)?4:0)|12681728,1)}else b=null;return b}
g.TB=function(a){var b=[],c=this.Sf(),d=arguments.length;X(this);if(d)for(var e=0;e<d;e++)b.push(vL(this,c,arguments[e]));else b.push(vL(this,c,null));this.O(!0);return b};function wL(a,b){return kb(a.a,function(a){return a.id()==b})}g.Ee=function(a){return this.Mv(wL(this,a))};g.Mv=function(a){return this.a[a]||null};g.UB=function(){return this.a.length};g.YB=function(a){return this.Pv(wL(this,a))};g.Pv=function(a){var b=this.a[a];b&&(bs++,fb(this.a,a,1),Ad(b),T(this,12681728,1),es());return this};g.XB=function(){if(this.a.length){bs++;var a=this.a;this.a=[];Bd(a);T(this,12681728,1);es()}return this};g.mQ=function(a){var b=0;Y(a,1)&&(b=65536);Y(a,2048)&&(b=32);Y(a,16)&&(b|=33619968,xL(this),"categories"==this.sf().Fg()&&(b|=512),EB(this.Oj()));Y(a,4)&&(b|=12615680);Y(a,64)&&(b|=512,Y(a,8)&&(b|=4));T(this,b,1)};g.sd=function(){return this.a};g.$j=function(a){return m(a)?(this.Bb!=+a&&(this.Bb=+a,yL(this),T(this,65540,9)),this):this.Bb};g.xp=function(a){return m(a)?(this.ka!=+a&&(this.ka=+a,yL(this),T(this,65540,9)),this):this.ka};g.Nv=function(a){return m(a)?(this.hi!=a&&(this.hi=a,zL(this),T(this,65536,1)),this):this.hi};g.Ov=function(a){return m(a)?(this.Oi!=a&&(this.Oi=a,zL(this),T(this,65536,1)),this):this.Oi};function gL(a){if(W(a,4194304)){gt(a.a);var b,c,d=a.Z(),e=a.ba(),f=a.a.length,h=!1;a.Nb={};a.Sa={};for(b=0;b<f;b++)if(c=a.a[b])c.Z()||(c.Z(d),h=!0),a.Sa[D(c.Z())]=c.Z(),c.ba()||(c.ba(e),h=!0),a.Nb[D(c.ba())]=c.ba();h&&(xL(a),EB(a.Oj()),T(a,42041344));qt(a.a);U(a,4194304)}}
function hL(a){if(W(a,32768)){a.L={};var b,c,d,e=a.a.length,f,h,k,l,n;a.Jj=[];a.da={};a.Mg={};for(k in a.Sa)d=a.Sa[k],d.Uc()&&d.wf();for(b=0;b<e;b++)if((c=a.a[b])&&c.enabled()){d=c.Z();k=D(d);(h=a.da[k])||(a.da[k]=h=[]);if(d instanceof sb){var p,q,t=!d.Uc();h.length?(f=h[h.length-1],p=f.Vl,q=f.Iu):t?(q=d.values(),p=d.h):(q=[],p={});f=OC(c,p,q,t,nI(d)||void 0)}else f=MC(c,d instanceof Yc);h.push(f);a.Jj.push(f);(d=a.Mg[k])||(a.Mg[k]=d={});k=D(c.ba());(h=d[k])||(d[k]=h=[]);h.push(f)}for(k in a.da){h=a.da[k];d=h[0].Y.Z();if(1<h.length)if(f=h[h.length-1],d instanceof sb)for(e=f.Iu,b=0;b<h.length-1;b++)for(f=h[b],c=f.data.length;c<e.length;c++)f.data.push(PC(e[c]));else{var e=[],v,w,x,z;p=h[0].data;f=h[1].data;c=p.length;l=f.length;v=q=0;t=q<c?p[q].data.x:NaN;for(w=v<l?p[v].data.x:NaN;!isNaN(t)&&!isNaN(w);)x=t<=w,z=t>=w,e.push(x?t:w),x&&(q++,t=q<c?p[q].data.x:NaN),z&&(v++,w=v<l?f[v].data.x:NaN);for(;!isNaN(t);)e.push(t),q++,t=q<c?p[q].data.x:NaN;for(;!isNaN(w);)e.push(w),v++,w=v<l?f[v].data.x:NaN;for(b=2;b<h.length;b++){var C=[];p=e;f=h[b].data;c=p.length;l=f.length;v=q=0;t=q<c?p[q]:NaN;for(w=v<l?f[v].data.x:NaN;!isNaN(t)&&!isNaN(w);)x=t<=w,z=t>=w,C.push(x?t:w),x&&(q++,t=q<c?p[q]:NaN),z&&(v++,w=v<l?f[v].data.x:NaN);for(;!isNaN(t);)C.push(t),q++,t=q<c?p[q]:NaN;for(;!isNaN(w);)C.push(w),v++,w=v<l?f[v].data.x:NaN;e=C}for(b=0;b<h.length;b++)if(f=h[b],p=f.data,c=p.length,c<e.length){v=[];q=0;t=(l=p[q])?l.data.x:NaN;for(c=0;c<e.length;c++)w=e[c],t<=w?(v.push(l),q++,t=(l=p[q])?l.data.x:NaN):v.push(PC(w));f.data=v}}p=!1;e={};for(b=0;b<h.length;b++)if(f=h[b],c=f.Y,q=c.h||[],q.length)for(p=!0,c=0;c<q.length;c++)t=q[c],e[t]=!0,f.data[t].l.missing=(Number(f.data[t].l.missing)||0)|(Number(4)||0);p&&(e=$e(e,function(a,b){for(var c=0;c<h.length;c++)if(!vd(h[c].data[+b].l.missing,6))return!1;return!0}));f=h[0];if(d.Uc()){if(d instanceof sb){if(p)for(p={},q=[],b=0;b<f.data.length;b++)b in e||(c=f.data[b].data.x,p[rr(c)]=q.length,q.push(c));else p=f.Vl,q=f.Iu;oI(d,p,q)}else if(f.data.length){if(p){for(b=0;b<f.data.length;b++)b in e||d.xb(f.data[b].data.x);for(b=f.data.length;b--;)b in e||d.xb(f.data[b].data.x)}else d.xb(f.data[0].data.x,f.data[f.data.length-1].data.x);if(f.Y.xf())if(f.IO)for(b=f.Y.Ya();b.advance();)vd(b.l("missing"),7)||(c=f.Y.error().Vg(!0),n=b.get("x"),d.xb(n-c[0],n+c[1]));else tu(f.Y.error())&&(b=f.Y.Ya(),b.select(0),c=f.Y.error().Vg(!0),n=b.get("x"),d.xb(n-c[0],n+c[1]),b.select(f.data.length-1),c=f.Y.error().Vg(!0),n=b.get("x"),d.xb(n-c[0],n+c[1]))}d.pf()}if(d instanceof sb&&(f=nI(d),null!=f)){e=h[0].Iu.length;p=Array(e);for(b=0;b<h.length;b++)if(q=h[b].data,0<e)for(c=0;c<q.length;c++)!m(p[c])&&m(n=q[c].data[f])&&(p[c]=n,e--);d.xe=p}}U(a,32768)}}
function AL(a){if(W(a,8388608)){var b,c,d,e,f,h,k,l,n,p,q;a.Ea=!1;for(l in a.Nb)e=a.Nb[l],e.Uc()&&e.wf();for(l in a.Mg){var t,v;p=a.da[l][0].data;c=p.length;v=a.Sa[l];v instanceof sb?c?(t=ub(Math.floor(a.X.gj()*c-1),0,c-1),v=ub(Math.ceil(a.X.fj()*c+1),0,c-1)):v=t=NaN:(t=v.ac(0),v=v.ac(1),c?(e=function(a,b){return a-b.data.x},t=Wa(p,t,e),0>t&&(t=~t-1),t=ub(t,0,c-1),v=Wa(p,v,e),0>v&&(v=~v),v=ub(v,0,c-1)):v=t=NaN);k=a.Mg[l];for(var w in k){h=k[w];e=a.Nb[w];var x="none"!=e.ue(),z="percent"==e.ue(),C;if(x)for(C=[],c=t;c<=v;c++)C.push({Xt:0,En:0,Lt:0,Wt:0,yn:0,Kt:0,yz:!1,kz:!1,fz:!1});for(b=0;b<h.length;b++)if(f=h[b],d=f.Y,f.uy=t,f.lastIndex=v,f.Lq=x&&d.Pq(),a.Ea=a.Ea||f.Lq,p=f.data,f.Lq||z)for(c=t;c<=v;c++)if(n=p[c],f=C[c-t],n.l.stackedMissing=f.fz,vd(n.l.missing,7))f.fz=!0;else{q=+n.data.value;0<=q?(n.l.stackedZero=f.En,f.En+=q,n.l.stackedValue=f.En,z||(f.yz?(n.l.stackedZeroPrev=f.Xt,n.l.stackedValuePrev=f.Xt+q):n.l.stackedZeroPrev=n.l.stackedValuePrev=NaN,f.kz?(n.l.stackedZeroNext=f.Lt,n.l.stackedValueNext=f.Lt+q):n.l.stackedZeroNext=n.l.stackedValueNext=NaN)):(n.l.stackedZero=f.yn,f.yn+=q,n.l.stackedValue=f.yn,z||(f.yz?(n.l.stackedZeroPrev=f.Wt,n.l.stackedValuePrev=f.Wt+q):n.l.stackedZeroPrev=n.l.stackedValuePrev=NaN,f.kz?(n.l.stackedZeroNext=f.Kt,n.l.stackedValueNext=f.Kt+q):n.l.stackedZeroNext=n.l.stackedValueNext=NaN));if(!z){e.xb(n.l.stackedValuePrev);e.xb(n.l.stackedValue);e.xb(n.l.stackedValueNext);if(n=p[c-1])vd(n.l.missing,7)?f.yz=!0:0<=q?f.Xt+=q:f.Wt+=q;if(n=p[c+1])vd(n.l.missing,7)?f.kz=!0:0<=q?f.Lt+=q:f.Kt+=q}f.fz=!1}else{var F=d.c.Qf;for(c=t;c<=v;c++)if(n=p[c],!vd(n.l.missing,7))for(q=0;q<F.length;q++)e.xb(n.data[F[q]]);if(f.Y.ei())for(c=t;c<=v;c++)if(n=p[c],F=n.data.outliers,!vd(n.l.missing,7)&&r(F))for(q=0;q<F.length;q++)e.xb(F[q]);if(f.Y.xf()&&(tu(f.Y.error())||f.JO))for(c=f.Y.Ya();c.advance();)vd(c.l("missing"),7)||(p=f.Y.error().Vg(!1),q=I(c.get("value")),e.xb(q-p[0],q+p[1]))}if(z)for(e.xb(0),b=0;b<h.length;b++)for(f=h[b],p=f.data,c=t;c<=v;c++)n=p[c],f=C[c-t],vd(n.l.missing,7)?(n.l.stackedPositiveZero=n.l.stackedPositiveZero/f.En*100||0,n.l.stackedNegativeZero=n.l.stackedNegativeZero/f.yn*100||0):(q=n.l.stackedValue,0<=q?(x=f.En,e.xb(100)):(x=-f.yn,e.xb(-100)),n.l.stackedZero=n.l.stackedZero/x*100||0,n.l.stackedValue=n.l.stackedValue/x*100||0)}}for(l in a.Nb)e=a.Nb[l],e.Uc()&&e.pf();w=l=0;C=-Infinity;p=Infinity;var J,O,S,da;t=-Infinity;v=Infinity;e=-Infinity;h=Infinity;for(b in a.da){k=a.da[b];x=k[0].data.length;z=Array(x);for(c=0;c<x;c++)z[c]=[];q=!1;for(c=0;c<k.length;c++){F=k[c];n=F.Y;var V=d.name(),Ka=[];if(n&&n.enabled()){q=n.check(81920);var bb=0,Fa=Infinity,Bb=-Infinity,yc=Infinity,gc=-Infinity,gb=0;for(f=0;f<x;f++){var Wb=F.data[f],Kd=NaN;if(!vd(Wb.l.missing,7)){bb++;l++;if(q)var ye=Wb.data.high,Td=Wb.data.low,Zi=y(Wb.data.open)?Wb.data.open:ye,Wb=y(Wb.data.close)?Wb.data.close:Td,Kd=ye-Td,Bb=Math.max(ye,Td,Zi,Wb,Bb),Fa=Math.min(ye,Td,Zi,Wb,Fa),gc=Math.max(Kd,gc),yc=Math.min(Kd,yc);else Kd=Wb.data.value,Bb=Math.max(Kd,Bb),Fa=Math.min(Kd,Fa);gb+=Kd;w+=Kd;C=Math.max(C,Kd);p=Math.min(p,Kd);z[f].push(Kd);Ka.push(Kd)}}Bb>t&&(t=Bb,J=V);Fa<v&&(v=Fa,O=V);gb>e&&(e=gb,S=V);gb<h&&(h=gb,da=V);f=bb?gb/bb:0;n.L("seriesSum",gb);n.L("seriesMin",Fa);n.L("seriesMax",Bb);n.L("seriesAverage",f);n.L("seriesPointsCount",bb);n.L("seriesPointCount",bb);n.L("max",Bb);n.L("min",Fa);n.L("sum",gb);n.L("average",f);n.L("pointsCount",bb);q?(n.L("seriesYRangeMax",gc),n.L("seriesYRangeMin",yc),n.L("seriesYRangeSum",gb),n.L("seriesYRangeAverage",f),n.L("seriesYRangeMode",Cl(Ka)),n.L("seriesYRangeMedian",Bl(Ka))):(n.L("seriesYMax",Bb),n.L("seriesYMin",Fa),n.L("seriesYSum",gb),n.L("seriesFirstYValue",Ka[0]),n.L("seriesLastYValue",Ka[Ka.length-1]),n.L("seriesYAverage",f),n.L("seriesYMode",Cl(Ka)),n.L("seriesYMedian",Bl(Ka)))}}Ka=Array(x);bb=Array(x);Fa=Array(x);Bb=Array(x);yc=Array(x);gc=Array(x);for(f=0;f<x;f++){c=z[f];n=0;q=Infinity;F=-Infinity;for(gb=0;gb<c.length;gb++)V=c[gb],n+=V,q=Math.min(q,V),F=Math.max(F,V);Ka[f]=n;bb[f]=q;Fa[f]=F;Bb[f]=n/c.length;yc[f]=Bl(c);gc[f]=Cl(c)}for(c=0;c<k.length;c++)F=k[c],(n=F.Y)&&n.enabled()&&((q=n.check(81920))?(n.L("catYRangeSumArr_",Ka),n.L("catYRangeMinArr_",bb),n.L("catYRangeMaxArr_",Fa),n.L("catYRangeAvgArr_",Bb),n.L("catYRangeMedianArr_",yc),n.L("catYRangeModeArr_",gc)):(n.L("catYSumArr_",Ka),n.L("catYMinArr_",bb),n.L("catYMaxArr_",Fa),n.L("catYAvgArr_",Bb),n.L("catYMedianArr_",yc),n.L("catYModeArr_",gc)))}a.L.dataPlotYSum=w;a.L.dataPlotYRangeSum=w;a.L.dataPlotYMax=C;a.L.dataPlotYRangeMax=C;a.L.dataPlotYMin=p;a.L.dataPlotYRangeMin=p;a.L.dataPlotYAverage=w/l;a.L.dataPlotSeriesCount=a.Jj.length;a.L.dataPlotPointCount=l;a.L.dataPlotMaxYValuePointSeriesName=J;a.L.dataPlotMinYValuePointSeriesName=O;a.L.dataPlotMaxYSumSeriesName=S;a.L.dataPlotMinYSumSeriesName=da;U(a,8388608)}}
g.Zx=function(a,b){var c,d,e,f,h;if(0<a){a=a+(a-1)*this.ka+this.Bb;h=1/a;f=h*this.Bb/2;e={};for(var k=0;k<b.length;k++)d=b[k].Y,d.Yh()&&!d.check(4096)&&(c=d.ba(),"none"==c.ue()?(uC(d,f+h/2),sC(d,h),f+=h*(1+this.ka)):(c=D(c),c in e?(uC(d,e[c]+h/2),sC(d,h)):(uC(d,f+h/2),sC(d,h),e[c]=f,f+=h*(1+this.ka))))}};g.Yx=function(a,b){var c,d,e,f,h;if(0<a){a=a+(a-1)*this.ka+this.Bb;h=1/a;f=h*this.Bb/2;e={};for(var k=0;k<b.length;k++)d=b[k].Y,d.check(4096)&&(c=d.ba(),"none"==c.ue()?(uC(d,f+h/2),sC(d,h),f+=h*(1+this.ka)):(c=D(c),c in e?(uC(d,e[c]+h/2),sC(d,h)):(uC(d,f+h/2),sC(d,h),e[c]=f,f+=h*(1+this.ka))))}};g.km=function(a){if(a instanceof gE)return BL(this,gE,a),this;if(a instanceof dE)return BL(this,dE,a),this;B(a)&&"range"==a.type?BL(this,gE):(B(a)||null==this.b)&&BL(this,dE);return m(a)?(this.b.C(a),this):this.b};g.jm=function(a){this.D||(this.D=new fE,R(this.D,this.qJ,this),L(this,this.D));return m(a)?(this.D.C(a),this):this.D};g.im=function(a){this.B||(this.B=new eE,R(this.B,this.oJ,this),L(this,this.B));return m(a)?(this.B.C(a),this):this.B};function BL(a,b,c){if(a.b instanceof b)c&&a.b.C(c);else{var d=!!a.b;Ad(a.b);a.b=new b;c&&a.b.C(c);R(a.b,a.sJ,a);L(a,a.b);d&&T(a,4608,1)}}g.sJ=function(a){Y(a,2)&&T(this,4608,1)};g.qJ=function(a){Y(a,2)&&T(this,8704,1)};g.oJ=function(a){Y(a,2)&&T(this,16896,1)};g.jl=function(){if(this.Tb&&W(this,28672)){gt(this.a);for(var a=this.a.length;a--;){var b=this.a[a],c=b.wg();b.Fe(this.km().nf(c));b.Ig(this.jm().lg(c));b.ah(this.im().Uf(c))}xL(this);T(this,65536);U(this,28672);qt(this.a)}};g.bF=function(a){return a.clone().round()};function CL(a,b){var c,d,e,f=Xf(a.H,a.J),h=0,k=a.Ng(),l="beforeAxes"==k.position();k.padding(0);k.R(b);var n=k.$a(),p;l?p=n?b.height-k.pb().height:b.width-k.pb().width:b=k.pb();c=0;for(d=a.H.length;c<d;c++)if(e=a.H[c])X(e),e.padding(0);c=0;for(d=a.J.length;c<d;c++)if(e=a.J[c])X(e),e.padding(0);var q;do{var t,v,w=e=d=0,x=0,z=!0;q=b.clone();a.F=NaN;a.c=NaN;a.g=NaN;a.w=NaN;var C;for(c=f.length;c--;)(t=f[c])&&t.enabled()&&(t.R(b),v=t.orientation(),C=Qd(t.stroke()),"top"==v?(t.padding().top(d),t.padding().bottom(0),t=t.pb(),d=b.height-t.height,isNaN(a.F)&&(a.F=C)):"bottom"==v?(t.padding().bottom(e),t.padding().top(0),t=t.pb(),e=b.height-t.height,isNaN(a.c)&&(a.c=C)):"left"==v?(t.padding().left(w),t.padding().right(0),t=t.pb(),w=b.width-t.width,isNaN(a.g)&&(a.g=C)):"right"==v&&(t.padding().right(x),t.padding().left(0),t=t.pb(),x=b.width-t.width,isNaN(a.w)&&(a.w=C)));if(l)switch(k.orientation()){case"top":k.padding().top(d+(a.F||0));k.padding().bottom(0);d+=p;break;case"bottom":k.padding().top(0);k.padding().bottom(e+
(a.c||0));e+=p;break;case"left":k.padding().left(w+(a.g||0));k.padding().right(0);w+=p;break;case"right":k.padding().left(0),k.padding().right(x+(a.w||0)),x+=p}n?(k.padding().left(w),k.padding().right(x)):(k.padding().top(d),k.padding().bottom(e));q.left+=w;q.top+=d;q.width-=x+w;q.height-=e+d;for(c=f.length;c--;)(t=f[c])&&t.enabled()&&(C=t.pb(),t.$a()?(t.padding().left(w),t.padding().right(x),t=t.pb(),t.height!=C.height&&(z=!1)):(t.padding().top(d),t.padding().bottom(e),t=t.pb(),t.width!=C.width&&(z=!1)));h++}while(!z&&5>h);c=0;for(d=a.H.length;c<d;c++)(e=a.H[c])&&e.O(!1);c=0;for(d=a.J.length;c<d;c++)(e=a.J[c])&&e.O(!1);return q.clone().round()}g.WF=ba;g.bb=function(){X(this.Ng());gL(this);hL(this);if(W(this,2097152)){for(var a in this.Sa){var b=this.ji().gj(),c=1/(this.ji().fj()-b);DF(this.Sa[a],c,b)}Px(this.Ng(),this.ji().gj(),this.ji().fj());U(this,2097152);T(this,58720256)}AL(this);this.Ng().O(!1)};g.Tg=function(a){this.Oj();ry(this.Hj,!0);var b,c;X(this.Ng());this.bb();if(this.Tb){gt(this.a,this.H,this.J);var d=Xf(this.H,this.J);if(W(this,131076)){var e;b=0;for(c=this.H.length;b<c;b++)if(e=this.H[b])nB(e.labels()),nB(e.Na()),e&&!e.scale()&&e.scale(this.Z());b=0;for(c=this.J.length;b<c;b++)if(e=this.J[b])nB(e.labels()),nB(e.Na()),e&&!e.scale()&&e.scale(this.ba())}W(this,4)&&(this.fa=CL(this,this.bF(a)),xL(this),EB(this.Oj()),T(this,52363264));W(this,16777216)&&(this.Ng().A(this.h),this.Ng().I(),U(this,16777216));if(W(this,524288)){a=Xf(this.od,this.Hd);b=0;for(c=a.length;b<c;b++)if(e=a[b])X(e),e.scale()||pL(this,e),e.R(this.fa),e.A(this.h),e.pe(this.F,this.w,this.c,this.g),e.I(),e.O(!1);U(this,524288)}if(W(this,131072)){b=0;for(c=d.length;b<c;b++)if(a=d[b])X(a),a.A(this.h),a.I(),a.O(!1);U(this,131072)}if(W(this,262144)){d=Xf(this.pd,this.ae,this.Se);b=0;for(c=d.length;b<c;b++)if(a=d[b])X(a),a.scale()||pL(this,a),a.R(this.fa),a.A(this.h),a.pe(this.F,this.w,this.c,this.g),a.I(),a.O(!1);U(this,262144)}if(W(this,65536)){b=0;for(c=this.a.length;b<c;b++)d=this.a[b],d.A(this.h),d.pe(this.F,this.w,this.c,this.g),d.R(this.fa);this.WF();var f,h,k,l,n;for(f in this.da)if(this.Sa[f]instanceof sb||this.Sa[f]instanceof Yc){d=this.da[f];k=h=0;l={};n={};for(b=0;b<d.length;b++)a=d[b].Y,c=a.ba(),e=D(c),a.check(4096)?"none"==c.ue()?k++:e in n||(k++,n[e]=!0):a.Yh()&&("none"==c.ue()?h++:e in l||(h++,l[e]=!0));this.Zx(h,d);this.Yx(k,d)}b=[Number.MAX_VALUE,-Number.MAX_VALUE];for(f=this.a.length;f--;)this.a[f].og()&&this.a[f].zp(b);for(f=this.a.length;f--;)this.a[f].og()&&this.a[f].ou(b[0],b[1],this.Oi,this.hi);for(b=0;b<this.a.length;b++)this.a[b].I();U(this,65536)}W(this,1048576)&&(this.j&&(X(this.j),this.j.R(this.fa),this.j.A(this.h),f=this.j,b=this.T,m(b)&&(b=!!b,f.F!=b&&(f.F=b)),nz(this.j,this.H[this.j.Ku().Rd()]),pz(this.j,this.J[this.j.Lu().Rd()]),this.j.I(),this.j.O(!1)),U(this,1048576));W(this,33554432)&&(f=this.Oj(),X(f),f.R(this.fa),f.A(this.h),f.I(),f.O(!1),U(this,33554432));this.Ng().O(!1);qt(this.a,this.H,this.J)}else this.Ng().O(!1)};function yL(a){for(var b=a.a.length;b--;)a.a[b].Yh()&&T(a.a[b],1024)}function zL(a){for(var b=a.a.length;b--;)a.a[b].og()&&T(a.a[b],1024)}function xL(a){for(var b=a.a.length;b--;)T(a.a[b],2048)}g.Oj=function(a){this.dd||(this.Hj=new qy(this),this.dd=new DB(this.Hj,this),R(this.dd,this.mI,this),L(this,this.dd));return m(a)?(this.dd.C(a),this):this.dd};g.mI=function(){T(this,33554432,1)};g.Ux=function(a){return m(a)?(this.Ak=a,this):this.Ak};g.oz=function(a){this.Oj().hc();fL.v.oz.call(this,a)};g.Bi=function(a,b){var c,d,e=[];gL(this);hL(this);AL(this);if("categories"==a&&this.Z()instanceof sb){var f=this.Z().names();if(A(b)){var h=this.Z().values(),k;c=0;for(d=h.length;c<d;c++)k={value:h[c],name:f[c]},k=b.call(k,k),u(k)||(k=String(f[c])),e.push({text:k,iconEnabled:!1,sourceUid:D(this),sourceKey:c})}else for(c=0,d=f.length;c<d;c++)e.push({text:String(f[c]),iconEnabled:!1,sourceUid:D(this),sourceKey:c})}else for(c=0,d=this.a.length;c<d;c++)f=this.a[c],h=f.Og(b),h.sourceUid=D(this),h.sourceKey=f.id(),e.push(h);return e};g.uj=function(){return this.fa};g.Vh=function(a){var b=this.fa||Nl(0,0,0,0),c=a.clientX;a=a.clientY;var d,e,f;d=xk(this.A().oa().A());c=c-d.x;a=a-d.y;var h=b.left,k=b.top,l=b.width,n=b.height;if(c<h||c>h+l||a<k||a>k+n)return null;b=[];d=this.Dc();var p;if("bySpot"==d.yb()){d=d.vk();var q;this.T?(q=(n-(a-d-k))/n,n=(n-(a+d-k))/n,h=c,c=a,a=h):(q=(c-d-h)/l,n=(c+d-h)/l);h=0;for(k=this.a.length;h<k;h++)if((l=this.a[h])&&l.enabled()){e=l.Z().ac(q);f=l.Z().ac(n);var t=l.ek(e,f);f=l.Ya();for(var v=[],w=Infinity,x,z=0;z<t.length;z++)if(e=t[z],f.select(e)&&!f.l("missing")){var C=f.l("x"),F=!1;p=l.c.Qf;for(var J=0;J<p.length;J++){var O=f.l(p[J]),O=Math.sqrt(Math.pow(C-c,2)+Math.pow(O-a,2)),F=F||O<=d;O<w&&(w=O,x=e)}F&&v.push(e)}v.length&&b.push({Y:l,zb:v,Nf:v[v.length-1],Wb:{index:x,Vc:w}})}}else if("byX"==this.Dc().yb())for(x="bar"==this.qa()||"bar3d"==this.qa()?(n-(a-k))/n:(c-h)/l,h=0,k=this.a.length;h<k;h++)if((l=this.a[h])&&l.enabled()&&(d=l.Z().ac(x),e=QC(l,d),0>e&&(e=NaN),f=l.Ya(),w=Infinity,f.select(e)&&!f.l("missing"))){C=f.l("x");p=l.c.Qf;for(J=0;J<p.length;J++)O=f.l(p[J]),O=Math.sqrt(Math.pow(C-c,2)+Math.pow(O-a,2)),O<w&&(w=O);b.push({Y:l,zb:[e],Nf:e,Wb:{index:e,Vc:w}})}return b};g.wE=function(){if(this.Zl().enabled()&&0<this.Zl().duration())if(this.ua&&1==this.ua.df)this.ua.update();else if(W(this,2048)){Ad(this.ua);this.ua=new kk;for(var a=this.Zl().duration(),b=0;b<this.a.length;b++){var c=this.a[b],d=ml[c.Dq()];d&&this.ua.add(new d(c,a))}this.ua.pa("begin",function(){setTimeout(na(this.dispatchEvent,this,{type:"animationstart",chart:this}),0)},!1,this);this.ua.pa("end",function(){setTimeout(na(this.dispatchEvent,this,{type:"animationend",chart:this}),0)},!1,this);this.ua.Jy(!1)}};g.mz=function(){};g.K=function(a){fL.v.K.call(this,a);this.T="barChartMode"in a?a.barChartMode:this.T;this.Sf(a.defaultSeriesType);this.km(a.palette);this.jm(a.markerPalette);this.im(a.hatchFillPalette);this.$j(a.barGroupsPadding);this.xp(a.barsPadding);this.Ov(a.minBubbleSize);this.Nv(a.maxBubbleSize);this.Ng(a.xScroller);"defaultSeriesSettings"in a&&pC(this,a.defaultSeriesSettings);"defaultXAxisSettings"in a&&iL(this,a.defaultXAxisSettings);"defaultYAxisSettings"in a&&jL(this,a.defaultYAxisSettings);"defaultGridSettings"in
a&&kL(this,a.defaultGridSettings);"defaultMinorGridSettings"in a&&lL(this,a.defaultMinorGridSettings);"defaultLineMarkerSettings"in a&&mL(this,a.defaultLineMarkerSettings);"defaultTextMarkerSettings"in a&&nL(this,a.defaultTextMarkerSettings);"defaultRangeMarkerSettings"in a&&oL(this,a.defaultRangeMarkerSettings);"defaultAnnotationSettings"in a&&this.Ux(a.defaultAnnotationSettings);this.Oj(a.annotations);var b,c,d,e=a.grids,f=a.minorGrids,h=a.xAxes,k=a.yAxes,l=a.lineAxesMarkers,n=a.rangeAxesMarkers,p=a.textAxesMarkers,q=a.series,t=a.scales,v=this.qa(),w={};if(r(t))for(b=0;b<t.length;b++)c=t[b],u(c)&&(c={type:c}),c=Vq(c,b,v),d=Pw(c.type,!1),d.C(c),w[b]=d;else if(B(t))for(b in t)t.hasOwnProperty(b)&&(c=t[b],u(c)&&(c={type:c}),c=Vq(c,b,v),d=Pw(c.type,!1),d.C(c),w[b]=d);c=a.xScale;y(c)?d=w[c]:u(c)?(d=Pw(c,null))||(d=w[c]):B(c)?(d=Pw(c.type,!0),d.C(c)):d=null;d&&this.Z(d);c=a.yScale;y(c)?d=w[c]:u(c)?(d=Pw(c,null))||(d=w[c]):B(c)?(d=Pw(c.type,!1),d.C(c)):d=null;d&&this.ba(d);if(r(h))for(b=0;b<h.length;b++)c=h[b],this.tr(b,c),B(c)&&"scale"in c&&1<c.scale&&this.tr(b).scale(w[c.scale]);if(r(k))for(b=0;b<k.length;b++)c=k[b],this.ur(b,c),B(c)&&"scale"in c&&1<c.scale&&this.ur(b).scale(w[c.scale]);if(r(e))for(b=0;b<e.length;b++)c=e[b],this.nr(b,c),B(c)&&"scale"in c&&1<c.scale&&this.nr(b).scale(w[c.scale]);if(r(f))for(b=0;b<f.length;b++)c=f[b],this.qr(b,c),B(c)&&"scale"in c&&1<c.scale&&this.qr(b).scale(w[c.scale]);if(r(l))for(b=0;b<l.length;b++)c=l[b],this.pr(b,c),B(c)&&"scale"in c&&1<c.scale&&this.pr(b).scale(w[c.scale]);if(r(n))for(b=0;b<n.length;b++)c=n[b],this.rr(b,c),B(c)&&"scale"in c&&1<c.scale&&this.rr(b).scale(w[c.scale]);if(r(p))for(b=0;b<p.length;b++)c=p[b],this.sr(b,c),B(c)&&"scale"in c&&1<c.scale&&this.sr(b).scale(w[c.scale]);if(r(q))for(b=0;b<q.length;b++)if(c=q[b],d=c.seriesType||this.Sf(),d=vL(this,d,c.data))d.C(c),B(c)&&("xScale"in c&&1<c.xScale&&d.Z(w[c.xScale]),"yScale"in c&&1<c.yScale&&d.ba(w[c.yScale]));b=a.xZoom;B(b)&&(y(b.scale)||u(b.scale))?(c=b.scale,b.scale=w[b.scale],this.ji(b),b.scale=c):this.ji(b);a.crosshair&&this.mr(a.crosshair)};g.o=function(){var a=fL.v.o.call(this),b,c={},d=[],e=[],f,h,k;c[D(this.Z())]=this.Z().o();d.push(c[D(this.Z())]);a.xScale=d.length-1;this.Z()!=this.ba()&&(c[D(this.ba())]=this.ba().o(),d.push(c[D(this.ba())]));a.yScale=d.length-1;a.type=this.m;a.defaultSeriesType=this.Sf();a.barChartMode=this.T;a.palette=this.km().o();a.markerPalette=this.jm().o();a.hatchFillPalette=this.im().o();a.barGroupsPadding=this.$j();a.barsPadding=this.xp();a.minBubbleSize=this.Ov();a.maxBubbleSize=this.Nv();a.crosshair=this.mr().o();a.xScroller=this.Ng().o();a.xZoom=this.ji().o();var l=[];for(b=0;b<this.H.length;b++){var n=this.H[b];h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);e.push(D(n));l.push(h)}l.length&&(a.xAxes=l);l=[];for(b=0;b<this.J.length;b++){n=this.J[b];h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);e.push(D(n));l.push(h)}l.length&&(a.yAxes=l);l=[];for(b=0;b<this.od.length;b++)if(n=this.od[b]){h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.grids=l);l=[];for(b=0;b<this.Hd.length;b++)if(n=this.Hd[b]){h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.minorGrids=l);l=[];for(b=0;b<this.pd.length;b++)if(n=this.pd[b]){h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.lineAxesMarkers=l);l=[];for(b=0;b<this.ae.length;b++)if(n=this.ae[b]){h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in
h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.rangeAxesMarkers=l);l=[];for(b=0;b<this.Se.length;b++)if(n=this.Se[b]){h=n.o();if(f=n.scale())k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1);if(k=n.axis())f=D(k),f=Lf(e,f),0>f?(f=k.scale(),"layout"in h||(k=k.orientation(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"),"scale"in h||(k=D(f),c[k]?h.scale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.textAxesMarkers=l);e=[];for(b=0;b<this.a.length;b++){l=this.a[b];h=l.o();if(f=l.Z())k=D(f),c[k]?h.xScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.xScale=d.length-1);if(f=l.ba())k=D(f),c[k]?h.yScale=Lf(d,c[k]):(c[k]=f.o(),d.push(c[k]),h.yScale=d.length-1);e.push(h)}e.length&&(a.series=e);d.length&&(a.scales=d);return{chart:a}};function DL(a){fL.call(this,a)}G(DL,fL);var EL={};EL.area={Be:1,Te:1,Ue:[gd,hd,id],gf:null,fe:null,Ae:4063232,Le:"value",Ke:"zero"};EL.bar={Be:3,Te:2,Ue:[ld,id],gf:null,fe:null,Ae:4063232,Le:"value",Ke:"zero"};EL.box={Be:5,Te:2,Ue:[ld,id,{name:"median",Yc:"path",jd:null,qd:["medianStroke","hoverMedianStroke","selectMedianStroke"],Ic:!1,zIndex:2E-6},{name:"stem",Yc:"path",jd:null,qd:["stemStroke","hoverStemStroke","selectStemStroke"],Ic:!1,zIndex:2E-6},{name:"whisker",Yc:"path",jd:null,qd:["whiskerStroke","hoverWhiskerStroke","selectWhiskerStroke"],Ic:!1,zIndex:2E-6}],gf:null,fe:null,Ae:4063232,Le:"highest",Ke:"lowest"};EL.bubble={Be:6,Te:2,Ue:[{name:"circle",Yc:"circle",jd:["fill","hoverFill","selectFill"],qd:["stroke","hoverStroke","selectStroke"],Ic:!1,zIndex:0},{name:"hatchFill",Yc:"circle",jd:["hatchFill","hoverHatchFill","selectHatchFill"],qd:null,Ic:!0,zIndex:1E-6},{name:"negative",Yc:"circle",jd:["negativeFill","hoverNegativeFill","selectNegativeFill"],qd:["negativeStroke","hoverNegativeStroke","selectNegativeStroke"],Ic:!1,zIndex:0},{name:"negativeHatchFill",Yc:"circle",jd:["negativeHatchFill","hoverNegativeHatchFill","selectNegativeHatchFill"],qd:null,Ic:!0,zIndex:1E-6}],gf:null,fe:null,Ae:4063232,Le:"value",Ke:"value"};EL.candlestick={Be:7,Te:2,Ue:[{name:"rising",Yc:"path",jd:["risingFill","hoverRisingFill","selectRisingFill"],qd:["risingStroke","hoverRisingStroke","selectRisingStroke"],Ic:!1,zIndex:0},{name:"risingHatchFill",Yc:"path",jd:["risingHatchFill","hoverRisingHatchFill","selectRisingHatchFill"],qd:null,Ic:!0,zIndex:1E-6},{name:"falling",Yc:"path",jd:["fallingFill","hoverFallingFill","selectFallingFill"],qd:["fallingStroke","hoverFallingStroke","selectFallingStroke"],Ic:!1,zIndex:0},{name:"fallingHatchFill",Yc:"path",jd:["fallingHatchFill","hoverFallingHatchFill","selectFallingHatchFill"],qd:null,Ic:!0,zIndex:1E-6}],gf:null,fe:null,Ae:4063232,Le:"high",Ke:"low"};EL.column={Be:8,Te:2,Ue:[ld,id],gf:null,fe:null,Ae:4063232,Le:"value",Ke:"zero"};EL.line={Be:10,Te:1,Ue:[hd],gf:null,fe:null,Ae:4063232,Le:"value",Ke:"value"};EL.marker={Be:11,Te:2,Ue:[ld,id],gf:null,fe:null,Ae:3014656,Le:"value",Ke:"value"};EL.ohlc={Be:12,Te:2,Ue:[{name:"rising",Yc:"path",jd:null,qd:["risingStroke","hoverRisingStroke","selectRisingStroke"],Ic:!1,zIndex:0},{name:"falling",Yc:"path",jd:null,qd:["fallingStroke","hoverFallingStroke","selectFallingStroke"],Ic:!1,zIndex:0}],gf:null,fe:null,Ae:4063232,Le:"high",Ke:"low"};EL.rangeArea={Be:13,Te:1,Ue:[gd,kd,jd,id],gf:null,fe:null,Ae:4063232,Le:"high",Ke:"low"};EL.rangeBar={Be:14,Te:2,Ue:[ld,id],gf:null,fe:null,Ae:4063232,Le:"high",Ke:"low"};EL.rangeColumn={Be:15,Te:2,Ue:[ld,id],gf:null,fe:null,Ae:4063232,Le:"high",Ke:"low"};EL.rangeSplineArea={Be:16,Te:1,Ue:[gd,jd,kd,id],gf:null,fe:null,Ae:4063232,Le:"high",Ke:"low"};EL.rangeStepArea={Be:17,Te:1,Ue:[gd,jd,kd,id],gf:null,fe:null,Ae:4063232,Le:"high",Ke:"low"};EL.spline={Be:18,Te:1,Ue:[hd],gf:null,fe:null,Ae:4063232,Le:"value",Ke:"value"};EL.splineArea={Be:19,Te:1,Ue:[gd,hd,id],gf:null,fe:null,Ae:4063232,Le:"value",Ke:"zero"};EL.stepArea={Be:20,Te:1,Ue:[gd,hd,id],gf:null,fe:null,Ae:4063232,Le:"value",Ke:"zero"};EL.stepLine={Be:21,Te:1,Ue:[hd],gf:null,fe:null,Ae:4063232,Le:"value",Ke:"value"};DL.prototype.Mz=EL;var vs=function(a){a=new DL(a);a.C(Wq().cartesian);return a},FL=fs.cartesian=vs;E("anychart.cartesian",vs);E("anychart.cartesianChart",FL);DL.prototype.xScale=DL.prototype.Z;DL.prototype.yScale=DL.prototype.ba;DL.prototype.barsPadding=DL.prototype.xp;DL.prototype.barGroupsPadding=DL.prototype.$j;DL.prototype.crosshair=DL.prototype.mr;DL.prototype.maxBubbleSize=DL.prototype.Nv;DL.prototype.minBubbleSize=DL.prototype.Ov;DL.prototype.grid=DL.prototype.nr;DL.prototype.minorGrid=DL.prototype.qr;DL.prototype.xAxis=DL.prototype.tr;DL.prototype.getXAxesCount=DL.prototype.hO;DL.prototype.yAxis=DL.prototype.ur;DL.prototype.getYAxesCount=DL.prototype.iO;DL.prototype.getSeries=DL.prototype.Ee;DL.prototype.area=DL.prototype.Qo;DL.prototype.bar=DL.prototype.Ro;DL.prototype.box=DL.prototype.LD;DL.prototype.bubble=DL.prototype.nJ;DL.prototype.candlestick=DL.prototype.OD;DL.prototype.column=DL.prototype.So;DL.prototype.line=DL.prototype.VB;DL.prototype.marker=DL.prototype.pJ;DL.prototype.ohlc=DL.prototype.tP;DL.prototype.rangeArea=DL.prototype.PP;DL.prototype.rangeBar=DL.prototype.tJ;DL.prototype.rangeColumn=DL.prototype.QP;DL.prototype.rangeSplineArea=DL.prototype.RP;DL.prototype.rangeStepArea=DL.prototype.SP;DL.prototype.spline=DL.prototype.vQ;DL.prototype.splineArea=DL.prototype.wQ;DL.prototype.stepLine=DL.prototype.AQ;DL.prototype.stepArea=DL.prototype.zQ;DL.prototype.lineMarker=DL.prototype.pr;DL.prototype.rangeMarker=DL.prototype.rr;DL.prototype.textMarker=DL.prototype.sr;DL.prototype.palette=DL.prototype.km;DL.prototype.markerPalette=DL.prototype.jm;DL.prototype.hatchFillPalette=DL.prototype.im;DL.prototype.getType=DL.prototype.qa;DL.prototype.defaultSeriesType=DL.prototype.Sf;DL.prototype.addSeries=DL.prototype.TB;DL.prototype.getSeriesAt=DL.prototype.Mv;DL.prototype.getSeriesCount=DL.prototype.UB;DL.prototype.removeSeries=DL.prototype.YB;DL.prototype.removeSeriesAt=DL.prototype.Pv;DL.prototype.removeAllSeries=DL.prototype.XB;DL.prototype.getPlotBounds=DL.prototype.uj;DL.prototype.xZoom=DL.prototype.ji;DL.prototype.xScroller=DL.prototype.Ng;DL.prototype.getStat=DL.prototype.$b;DL.prototype.annotations=DL.prototype.Oj;function GL(a){fL.call(this,a);this.sg=this.hb=0;this.eb=null;this.nb=0;this.Si=!1;this.Kg=0;this.m="cartesian3d"}G(GL,fL);function HL(a,b,c){var d,e,f,h,k;k=Iq(["fill","hoverFill","selectFill"],1)(a,c);c=B(k)?k.opacity:1;e=B(k)?k.color:k;k=zq(e);if(null===k)a=e=d=f=h=k="none";else{e=k.ef;var l=Nh(e);f=Sh(l,.2);k=Sh(l,.25);h=Rh([255,255,255],l,.1);d=Kh(Rh(l,f,.7));h=Kh(Rh(f,h,.1));l=Kh(Rh(l,f,.1));a={angle:a.check(4096)?0:90,opacity:c,keys:[Bq(d,.2),Bq(e,.3)]};e=Bq(l,.2);d=Bq(d,.2);f=Kh(f);k=Kh(k)}b.bottom.fill({color:f,opacity:c});b.back.fill({color:h,opacity:c});b.left.fill({color:k,opacity:c});b.right.fill({color:e,opacity:c});b.top.fill({color:d,opacity:c});b.front.fill(a)}var iM={};iM.area={Be:2,Te:1,Ue:[{name:"top",Yc:"path",jd:null,qd:null,Ic:!1,zIndex:3E-6},nd,od,pd,qd,rd,sd],gf:null,fe:function(a,b,c){var d,e,f,h,k;c=Iq(["fill","hoverFill","selectFill"],1)(a,c);a=B(c)?c.opacity:1;d=B(c)?c.color:c;c=zq(d);if(null===c)d=e=f=h=k=c="none";else{d=c.ef;h=Nh(d);var l=Sh(h,.2);f=Sh(h,.3);c=Sh(h,.25);k=Rh([255,255,255],h,.1);e=Kh(Rh(h,l,.7));f=Kh(Rh(h,f,.7));k=Kh(Rh(l,k,.1));h=Kh(Rh(h,l,.1));d={angle:90,opacity:a,keys:[Bq(e,.2),Bq(d,.3)]};e=Bq(f,.2);f=h=Bq(h,.2);c=Kh(c)}b.bottom.fill({color:h,opacity:a});b.back.fill({color:k,opacity:a});b.left.fill({color:c,opacity:a});b.right.fill({color:f,opacity:a});b.top.fill({color:e,opacity:a});b.front.fill(d);b.top.stroke({color:e,thickness:.8})},Ae:3538944,Le:"value",Ke:"zero"};iM.bar={Be:4,Te:2,Ue:[md,nd,od,pd,qd,rd,sd,td,ud],gf:null,fe:HL,Ae:3538944,Le:"value",Ke:"zero"};iM.column={Be:9,Te:2,Ue:[md,nd,od,pd,qd,rd,sd,td,ud],gf:null,fe:HL,Ae:3538944,Le:"value",Ke:"zero"};GL.prototype.Mz=iM;ws=function(a){a=new GL(a);a.C(Wq().cartesian3d);return a};fs.cartesian3d=ws;g=GL.prototype;g.Wy=!0;g.rA=function(a){return m(a)?(this.sg!=a&&(this.sg=ub(I(a),0,90),T(this,4,9)),this):this.sg};g.sA=function(a){return m(a)?(this.hb!=a&&(this.hb=y(a)?Math.max(a,0):a,T(this,4,9)),this):this.hb};g.tA=function(a){K(405,null,["chart.zDepth","chart.zAspect with chart.zPadding"]);return m(a)?(this.eb!=a&&(this.eb=null===a?a:I(a),T(this,4,9)),this):this.eb};g.Lg=function(a){return m(a)?(a=!!a,this.Si!=a&&(this.Si=a,T(this,4194308,9)),this):this.Si};g.uA=function(a){return m(a)?(a=I(a),this.Kg!==a&&(this.Kg=Math.max(a,0),T(this,4,9)),this):this.Kg};function Id(a,b,c){c||!a.Lg()?a=0:(b=a.a.length-b-1,a=(Ld(a,c)+a.Sb)*b);return a}function Jd(a,b,c){c||!a.Lg()?a=0:(b=a.a.length-b-1,a=(Md(a,c)+a.Tc)*b);return a}function Ld(a,b){var c=a.a.length,d=a.Sb,e=a.zd;!b&&a.Lg()&&(e=(e-d*(c-1))/c);return e}function Md(a,b){var c=a.a.length,d=a.Tc,e=a.hd;!b&&a.Lg()&&(e=(e-d*(c-1))/c);return e}g.Lx=function(){return new tw};g.eE=function(){var a=new Uv;a.ce(this);return a};g.iE=function(){var a=new Zv;a.ce(this);return a};g.kE=function(){var a=new OI;a.ce(this);return a};g.WF=function(){this.Kj={};for(var a=this.sd(),b,c=0;c<a.length;c++)if((b=a[c])&&b.enabled())if(b.Fd())for(var d=b.Ya();d.advance();){var e=b,f=1E-5*e.S(),h=e.G(),k=I(h.get("value")),l=30;0<k?l=e.check(4096)?e.Pe()?l+f:this.Lg()?l+f:l-f:l+f:0>k&&(l=e.check(4096)?l-f:e.Pe()?l-f:l+f);h.l("zIndex",l)}else this.Kj[Hd(b)]=c};g.bF=function(a){a=a.clone().round();var b=CL(this,a),c=this.a.length,d=Bh(this.sg),e=Bh(90-this.sg),f=this.Kg;if(null==this.eb&&vr(this.hb)){for(var h=parseFloat(this.hb)/100,k=h*Math.sin(e),l=h*Math.sin(d),n=h=0,p=this.sd(),q,t=0;t<p.length;t++)if((q=p[t])&&q.enabled()){var v=q.Z(),v=1/("ordinal"==v.qa()?v.values().length:q.G().Za()),w;w=q.Pe()||this.Lg()?1/(1+this.$j()):1/(c+(c-1)*this.xp()+this.$j());v*=w;!q.Pe()&&this.Lg()?(h+=v*k,n+=v*l):h||(h=v*k,n=v*l)}this.Sb=Math.round(f*Math.sin(e));this.Tc=Math.round(f*Math.sin(d));d=this.T?b.height/(1+h):b.width/(1+h);this.zd=d*h;this.hd=d*n;!this.Ea&&this.Lg()&&(this.zd+=this.Sb*(c-1),this.hd+=this.Tc*(c-1));this.zd=Math.round(this.zd);this.hd=Math.round(this.hd)}else null!=this.eb?this.nb=this.eb:!this.Ea&&this.Lg()?this.nb=this.hb*c+this.Kg*(c-1):this.nb=I(this.hb),this.zd=Math.round(this.nb*Math.sin(e)),this.hd=Math.round(this.nb*Math.sin(d)),b=c-1,f*b>=this.nb&&(f=(this.nb-c)/b),this.Sb=Math.round(f*Math.sin(e)),this.Tc=Math.round(f*Math.sin(d));this.zd=Math.max(this.zd,0)||0;this.hd=Math.max(this.hd,0)||0;this.Sb=Math.max(this.Sb,0)||0;this.Tc=Math.max(this.Tc,0)||0;a.top+=this.hd;a.height-=this.hd;a.width-=this.zd;return a};g.Zx=function(a,b){var c;if(!this.Ea&&this.Lg()){if(0<a){a=1+this.$j();for(var d=1/a,e=0;e<b.length;e++)c=b[e].Y,c.Yh()&&!c.check(4096)&&(uC(c,.5),sC(c,d))}}else GL.v.Zx.call(this,a,b)};g.Yx=function(a,b){var c;if(!this.Ea&&this.Lg()){if(0<a){a=1+this.$j();for(var d=1/a,e=0;e<b.length;e++)c=b[e].Y,c.check(4096)&&(uC(c,.5),sC(c,d))}}else GL.v.Yx.call(this,a,b)};g.Ro=function(a,b){return vL(this,"bar",a,b)};g.So=function(a,b){return vL(this,"column",a,b)};g.Qo=function(a,b){return vL(this,"area",a,b)};g.ee=function(a){var b=tr(a.target);return(b=b&&b.Y)&&!b.wc&&b.enabled()?b.ee(a):GL.v.ee.call(this,a)};g.K=function(a){GL.v.K.call(this,a);this.rA(a.zAngle);a.zDepth&&this.tA(a.zDepth);this.sA(a.zAspect);this.Lg(a.zDistribution);this.uA(a.zPadding)};g.o=function(){var a=GL.v.o.call(this);a.chart.zAngle=this.rA();null!=this.eb&&(a.chart.zDepth=this.tA());a.chart.zAspect=this.sA();a.chart.zDistribution=this.Lg();a.chart.zPadding=this.uA();return a};E("anychart.cartesian3d",ws);GL.prototype.xScale=GL.prototype.Z;GL.prototype.yScale=GL.prototype.ba;GL.prototype.barsPadding=GL.prototype.xp;GL.prototype.barGroupsPadding=GL.prototype.$j;GL.prototype.crosshair=GL.prototype.mr;GL.prototype.grid=GL.prototype.nr;GL.prototype.minorGrid=GL.prototype.qr;GL.prototype.xAxis=GL.prototype.tr;GL.prototype.yAxis=GL.prototype.ur;GL.prototype.getSeries=GL.prototype.Ee;GL.prototype.area=GL.prototype.Qo;GL.prototype.bar=GL.prototype.Ro;GL.prototype.column=GL.prototype.So;GL.prototype.lineMarker=GL.prototype.pr;GL.prototype.rangeMarker=GL.prototype.rr;GL.prototype.textMarker=GL.prototype.sr;GL.prototype.palette=GL.prototype.km;GL.prototype.markerPalette=GL.prototype.jm;GL.prototype.hatchFillPalette=GL.prototype.im;GL.prototype.getType=GL.prototype.qa;GL.prototype.defaultSeriesType=GL.prototype.Sf;GL.prototype.addSeries=GL.prototype.TB;GL.prototype.getSeriesAt=GL.prototype.Mv;GL.prototype.getSeriesCount=GL.prototype.UB;GL.prototype.removeSeries=GL.prototype.YB;GL.prototype.removeSeriesAt=GL.prototype.Pv;GL.prototype.removeAllSeries=GL.prototype.XB;GL.prototype.getPlotBounds=GL.prototype.uj;GL.prototype.xZoom=GL.prototype.ji;GL.prototype.xScroller=GL.prototype.Ng;GL.prototype.zAspect=GL.prototype.sA;GL.prototype.zAngle=GL.prototype.rA;GL.prototype.zDistribution=GL.prototype.Lg;GL.prototype.zPadding=GL.prototype.uA;GL.prototype.getStat=GL.prototype.$b;GL.prototype.zDepth=GL.prototype.tA;function jM(){cz.call(this)}G(jM,cz);E("anychart.ui.background",function(){var a=new jM;a.C(Wq().standalones.background);return a});jM.prototype.draw=jM.prototype.I;jM.prototype.parentBounds=jM.prototype.R;jM.prototype.container=jM.prototype.A;function kM(){YH.call(this)}G(kM,YH);E("anychart.ui.dataGrid",function(){var a=new kM,b=Wq();a.C(b.standalones.dataGrid);return a});kM.prototype.draw=kM.prototype.I;kM.prototype.data=kM.prototype.data;kM.prototype.parentBounds=kM.prototype.R;kM.prototype.container=kM.prototype.A;kM.prototype.rowStroke=kM.prototype.fu;kM.prototype.backgroundFill=kM.prototype.Im;kM.prototype.titleHeight=kM.prototype.KQ;kM.prototype.headerHeight=kM.prototype.bg;function lM(){dz.call(this)}G(lM,xz);E("anychart.ui.label",function(){var a=new lM;a.C(Wq().standalones.label);return a});lM.prototype.draw=lM.prototype.I;lM.prototype.parentBounds=lM.prototype.R;lM.prototype.container=lM.prototype.A;function mM(){Tt.call(this)}G(mM,Tt);mM.prototype.Nx=function(){return new nM};function nM(){qB.call(this)}G(nM,qB);E("anychart.ui.labelsFactory",function(){var a=new mM;a.C(Wq().standalones.labelsFactory);return a});mM.prototype.draw=mM.prototype.I;mM.prototype.parentBounds=mM.prototype.R;mM.prototype.container=mM.prototype.A;mM.prototype.add=mM.prototype.add;mM.prototype.clear=mM.prototype.clear;mM.prototype.measure=mM.prototype.measure;mM.prototype.measureWithTransform=mM.prototype.Li;function oM(){KA.call(this)}G(oM,KA);oM.prototype.dE=function(){return new pM};function pM(){ex.call(this)}G(pM,ex);E("anychart.ui.legend",function(){var a=new oM;a.C(Wq().standalones.legend);return a});oM.prototype.draw=oM.prototype.I;oM.prototype.parentBounds=oM.prototype.R;oM.prototype.container=oM.prototype.A;oM.prototype.itemsSource=oM.prototype.Zy;ex.prototype.x=ex.prototype.x;ex.prototype.y=ex.prototype.y;ex.prototype.iconType=ex.prototype.Vw;ex.prototype.iconFill=ex.prototype.Rw;ex.prototype.iconStroke=ex.prototype.Tw;ex.prototype.iconHatchFill=ex.prototype.Sw;ex.prototype.iconTextSpacing=ex.prototype.Uw;ex.prototype.maxWidth=ex.prototype.XC;ex.prototype.maxHeight=ex.prototype.WC;ex.prototype.text=ex.prototype.text;ex.prototype.getTextElement=ex.prototype.Hy;ex.prototype.getContentBounds=ex.prototype.wL;ex.prototype.getWidth=ex.prototype.ng;ex.prototype.getHeight=ex.prototype.Wg;ex.prototype.draw=ex.prototype.I;function qM(){tx.call(this)}G(qM,tx);qM.prototype.gE=function(){return new rM};function rM(){yx.call(this)}G(rM,yx);E("anychart.ui.markersFactory",function(){var a=new qM;a.C(Wq().standalones.markersFactory);return a});qM.prototype.draw=qM.prototype.I;qM.prototype.parentBounds=qM.prototype.R;qM.prototype.container=qM.prototype.A;qM.prototype.add=qM.prototype.add;qM.prototype.clear=qM.prototype.clear;qM.prototype.measure=qM.prototype.measure;rM.prototype.enabled=rM.prototype.enabled;rM.prototype.draw=rM.prototype.I;rM.prototype.clear=rM.prototype.clear;rM.prototype.getIndex=rM.prototype.S;function sM(){Ix.call(this);R(this,this.Gb,this)}G(sM,Ix);sM.prototype.nb=function(a,b){Px(this,a,b);return this};sM.prototype.eb=function(a){return m(a)?(Px(this,a,this.j/Jx),this):this.w/Jx};sM.prototype.h=function(a){return m(a)?(Px(this,this.w/Jx,a),this):this.j/Jx};sM.prototype.Gb=function(){this.I()};E("anychart.ui.scroller",function(){var a=new sM;a.C(Wq().standalones.scroller);return a});sM.prototype.setRange=sM.prototype.nb;sM.prototype.startRatio=sM.prototype.eb;sM.prototype.endRatio=sM.prototype.h;sM.prototype.parentBounds=sM.prototype.R;sM.prototype.getRemainingBounds=sM.prototype.pb;sM.prototype.container=sM.prototype.A;sM.prototype.padding=sM.prototype.padding;sM.prototype.draw=sM.prototype.I;function tM(a,b){SD.call(this,a,b)}G(tM,SD);E("anychart.ui.table",function(a,b){return new tM(a,b)});tM.prototype.draw=tM.prototype.I;tM.prototype.parentBounds=tM.prototype.R;tM.prototype.container=tM.prototype.A;function uM(){PI.call(this)}G(uM,PI);function vM(){PI.call(this,void 0,!0)}G(vM,PI);E("anychart.ui.projectTimeline",function(){return new uM});E("anychart.ui.resourceTimeline",function(){return new vM});vM.prototype.draw=vM.prototype.I;vM.prototype.parentBounds=vM.prototype.R;vM.prototype.container=vM.prototype.A;vM.prototype.rowStroke=vM.prototype.fu;vM.prototype.backgroundFill=vM.prototype.Im;vM.prototype.headerHeight=vM.prototype.bg;uM.prototype.draw=uM.prototype.I;uM.prototype.parentBounds=uM.prototype.R;uM.prototype.container=uM.prototype.A;uM.prototype.rowStroke=uM.prototype.fu;uM.prototype.backgroundFill=uM.prototype.Im;uM.prototype.headerHeight=uM.prototype.bg;function wM(){hA.call(this)}G(wM,hA);E("anychart.ui.title",function(){var a=new wM;a.C(Wq().standalones.title);return a});wM.prototype.draw=wM.prototype.I;wM.prototype.parentBounds=wM.prototype.R;wM.prototype.container=wM.prototype.A;var xM=aa.anychart.ui.ganttToolbar||function(){Rc(4,null,["anychart.ui.GanttToolbar"]);return null},yM=aa.anychart.ui.preloader||function(){Rc(4,null,["anychart.ui.preloader"]);return null};E("anychart.ui.contextMenu",aa.anychart.ui.contextMenu||function(a){a||Rc(4,null,["anychart.ui.ContextMenu"]);return null});E("anychart.ui.ganttToolbar",xM);E("anychart.ui.preloader",yM);var os=function(a){var b=new DL,c=Wq();b.Sf("area");b.m="area";b.C(c.area);for(var c=0,d=arguments.length;c<d;c++)b.Qo(arguments[c]);return b},zM=fs.area=os;E("anychart.area",os);E("anychart.areaChart",zM);ps=function(a){var b=new GL,c=Wq();b.Sf("area");b.m="area3d";b.C(c.area3d);for(var c=0,d=arguments.length;c<d;c++)b.Qo(arguments[c]);return b};fs.area3d=ps;E("anychart.area3d",ps);var qs=function(a){var b=new DL(!0),c=Wq();b.Sf("bar");b.m="bar";b.C(c.bar);for(var c=0,d=arguments.length;c<d;c++)b.Ro(arguments[c]);return b},AM=fs.bar=qs;E("anychart.bar",qs);E("anychart.barChart",AM);rs=function(a){var b=new GL(!0),c=Wq();b.Sf("bar");b.m="bar3d";b.C(c.bar3d);for(var c=0,d=arguments.length;c<d;c++)b.Ro(arguments[c]);return b};fs.bar3d=rs;E("anychart.bar3d",rs);As=function(a){var b=new DL,c=Wq();b.Sf("box");b.m="box";b.C(c.box);for(var c=0,d=arguments.length;c<d;c++)b.LD(arguments[c]);return b};fs.box=As;E("anychart.box",As);var us=function(a,b){var c=new aK(a,b),d=Wq();c.C(d.bullet);return c},BM=fs.bullet=us;E("anychart.bullet",us);E("anychart.bulletChart",BM);Ns=function(a,b){var c=new TF(a,b),d=Wq();c.C(d.circularGauge);return c};gs.circular=Ns;Ms=function(a,b){var c=new TF(a,b),d=Wq();c.C(d.circularGauge);return c};gs.circular=Ms;E("anychart.gauges.circular",Ns);E("anychart.circularGauge",Ms);var ys=function(a){var b=new DL,c=Wq();b.Sf("column");b.m="column";b.C(c.column);for(var c=0,d=arguments.length;c<d;c++)b.So(arguments[c]);return b},CM=fs.column=ys;E("anychart.column",ys);E("anychart.columnChart",CM);zs=function(a){var b=new GL,c=Wq();b.Sf("column");b.m="column3d";b.C(c.column3d);for(var c=0,d=arguments.length;c<d;c++)b.So(arguments[c]);return b};fs.column3d=zs;E("anychart.column3d",zs);var Bs=function(a){var b=new DL,c=Wq();b.Sf("candlestick");b.m="financial";b.C(c.financial);for(var c=0,d=arguments.length;c<d;c++)b.OD(arguments[c]);return b},DM=fs.financial=Bs;E("anychart.financial",Bs);E("anychart.financialChart",DM);Cs=function(a,b){var c=new BF(a,b),d=Wq();c.C(d.funnel);return c};fs.funnel=Cs;E("anychart.funnel",Cs);Ls=function(a,b){var c=new xI(a,b),d=Wq();c.C(d.heatMap);return c};fs.heatMap=Ls;E("anychart.heatMap",Ls);var Ds=function(a){var b=new DL,c=Wq();b.Sf("line");b.m="line";b.C(c.line);for(var c=0,d=arguments.length;c<d;c++)b.VB(arguments[c]);return b},EM=fs.line=Ds;E("anychart.line",Ds);E("anychart.lineChart",EM);Os=function(a,b){var c=new fK;c.data(a,b);var d=Wq();c.ck("bar");c.m="linearGauge";c.C(d.linearGauge);return c};gs.linearGauge=Os;gs.bullet=function(a,b){var c=new fK;c.data(a,b);var d=Wq();c.ck("bar");c.m="bullet";c.C(d.bullet);return c};Qs=function(a,b){var c=new fK;c.data(a,b);var d=Wq();c.ck("thermometer");c.m="thermometerGauge";c.C(d.thermometerGauge);return c};gs.thermometerGauge=Qs;Ps=function(a,b){var c=new fK;c.data(a,b);var d=Wq();c.ck("tank");c.m="tankGauge";c.C(d.tankGauge);return c};gs.tankGauge=Ps;Rs=function(a,b){var c=new fK;c.data(a,b);var d=Wq();c.ck("led");c.m="ledGauge";c.C(d.ledGauge);return c};gs.ledGauge=Rs;E("anychart.gauges.linear",Os);E("anychart.gauges.thermometer",Qs);E("anychart.gauges.tank",Ps);E("anychart.gauges.led",Rs);var Fs=function(a,b){var c=new iE(a,b),d=Wq();c.C(d.pie);return c},FM=fs.pie=Fs;E("anychart.pie",Fs);E("anychart.pieChart",FM);Gs=function(a,b){var c=new iE(a,b),d=Wq();c.C(d.pie3d);m(!0)&&1!=c.j&&(c.j=!0,T(c,4112,1));return c};fs.pie3d=Gs;E("anychart.pie3d",Gs);Js=function(a){var b=new nK,c=Wq();b.C(c.polar);for(var c=0,d=arguments.length;c<d;c++)b.EB(arguments[c]);return b};fs.polar=Js;E("anychart.polar",Js);E("anychart.polarChart",Js);Hs=function(a,b){var c=new CF(a,b),d=Wq();c.C(d.pyramid);return c};fs.pyramid=Hs;E("anychart.pyramid",Hs);Is=function(a){var b=new vK,c=Wq();b.C(c.radar);for(var c=0,d=arguments.length;c<d;c++)b.JB(arguments[c]);return b};fs.radar=Is;E("anychart.radar",Is);E("anychart.radarChart",Is);xs=function(a){var b=new GK,c=Wq();b.C(c.scatter);for(var c=0,d=arguments.length;c<d;c++)b.yv(arguments[c]);return b};Es=function(a){var b=new GK,c=Wq();b.C(c.marker);for(var c=0,d=arguments.length;c<d;c++)b.yv(arguments[c]);return b};ss=function(a){var b=new GK,c=Wq();b.C(c.bubble);for(var c=0,d=arguments.length;c<d;c++)b.NB(arguments[c]);return b};fs.bubble=ss;fs.marker=Es;fs.scatter=xs;E("anychart.bubble",ss);E("anychart.scatter",xs);E("anychart.marker",Es);E("anychart.scatterChart",xs);Ks=function(a,b){var c=new UK(a,b),d=Wq();c.C(d.sparkline);return c};fs.sparkline=Ks;E("anychart.sparkline",Ks);ct=function(a,b){var c=new BJ(a,b),d=Wq();c.C(d.treeMap);return c};fs.treeMap=ct;E("anychart.treeMap",ct);})()