Number(Fc)&&(d.src='javascript:""');c.Gh=Jg(c.Mg).bc("IFRAME",d);d=c.Gh.style;d.visibility="hidden";d.width=d.height="10px";d.display="none";Ac?d.marginTop=d.marginLeft="-10px":(d.position="absolute",d.top=d.left="-10px");if(wc&&!Kc("11")){c.Mg.target=c.Ds||"";Jg(c.Mg).Ee.body.appendChild(c.Gh);id(c.Gh,"readystatechange",c.FK,!1,c);try{c.b=!1,c.Mg.submit()}catch(Ub){qd(c.Gh,"readystatechange",c.FK,!1,c),np(c)}}else{un(c.ii,"Setting up iframes and cloning form");
Jg(c.Mg).Ee.body.appendChild(c.Gh);var d=c.Ds+"_inner",e=mh(c.Gh),f;document.baseURI?(f=Ga(d),gg("Short HTML snippet, input escaped, safe URL, for performance"),f='',f=zg(f,null)):(f=Ga(d),gg("Short HTML snippet, input escaped, for performance"),f=zg('',null));if(vc&&!Ac){var h=e.documentElement;if(Ig[h.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+
h.tagName+".");h.innerHTML=xg(f)}else e.write(xg(f));id(e.getElementById(d),"load",c.XD,!1,c);var k=Ng("TEXTAREA",c.Mg);f=0;for(h=k.length;f.");if("A"in Dg)throw Error("Tag name is not allowed for SafeHtml.");y=null;var ia;A="";if(x)for(var xa in x){if(!Bg.test(xa))throw Error('Invalid attribute name "'+xa+'".');var ka=x[xa];if(null!=ka){C=A;var wb,O=xa,Q=ka;if(Q instanceof dg)Q=fg(Q);else if("style"==O.toLowerCase()){R=Q;if(!z(R))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+
typeof R+" given: "+R);if(!(R instanceof hg)){ba=R;h="";k=void 0;for(k in ba){if(!/^[-_a-zA-Z0-9]+$/.test(k))throw Error("Name allows only [-_a-zA-Z0-9], got: "+k);var ab=ba[k];if(null!=ab){if(ab instanceof dg)ab=fg(ab);else if(mg.test(ab)){n=l=!0;for(p=0;p";else{var Oc=Eg(P);ia+=">"+xg(Oc)+"";y=Oc.av()}var xb=x&&x.dir;xb&&(/^(ltr|rtl|auto)$/i.test(xb)?y=0:y=null);U=zg(ia,y);v=Eg(Y,U,Ag("\nLine: "+w.lineNumber+"\n\nBrowser stack:\n"+w.stack+"-> [end]\n\nJS stack traversal:\n"+
an(void 0)+"-> "))}catch(We){v=Ag("Exception trying to expose exception! You win, we lose. "+We)}v=xg(v);f&&f.log(jn,"Error when submitting form: "+v,void 0);qd(e.getElementById(d),"load",c.XD,!1,c);e.close();np(c)}}op(c)}function mp(a,b){var c=Jg(a);jm(b,function(b,e){r(b)||(b=[b]);db(b,function(b){b=c.bc("INPUT",{type:"hidden",name:e,value:b});a.appendChild(b)})})}g=ip.prototype;g.ii=sn("goog.net.IframeIo");g.Mg=null;g.Gh=null;g.Ds=null;g.A9=0;g.Ho=!1;g.CJ=null;g.jK=null;g.Cs=null;
g.abort=function(){this.Ho&&(tn(this.ii,"Request aborted"),sd(pp(this)),this.Ho=!1,this.dispatchEvent("abort"),qp(this))};g.ca=function(){un(this.ii,"Disposing iframeIo instance");this.Ho&&(un(this.ii,"Aborting active request"),this.abort());ip.G.ca.call(this);this.Gh&&rp(this);op(this);delete this.g;this.CJ=this.jK=this.Mg=null;delete kp[this.Ki]};g.tk=function(){return this.Ho};
g.FK=function(){if("complete"==this.Gh.readyState){qd(this.Gh,"readystatechange",this.FK,!1,this);var a;try{if(a=mh(this.Gh),wc&&"about:blank"==a.location&&!navigator.onLine){np(this);return}}catch(b){np(this);return}sp(this,a)}};g.XD=function(){if(!vc||Ac||"about:blank"!=(this.Gh?mh(pp(this)):null).location){qd(pp(this),"load",this.XD,!1,this);try{sp(this,this.Gh?mh(pp(this)):null)}catch(a){np(this)}}};
function sp(a,b){un(a.ii,"Iframe loaded");a.Ho=!1;var c;try{var d=b.body;a.jK=d.textContent||d.innerText}catch(e){c=1}c||"function"!=typeof a.g||(d=a.g(b))&&(c=4);(d=a.ii)&&d.log(on,"Last content: "+a.jK,void 0);(d=a.ii)&&d.log(on,"Last uri: "+a.CJ,void 0);c?(un(a.ii,"Load event occurred but failed"),np(a)):(un(a.ii,"Load succeeded"),a.dispatchEvent("complete"),a.dispatchEvent("success"),qp(a))}function np(a){a.b||(a.Ho=!1,a.dispatchEvent("complete"),a.dispatchEvent("error"),qp(a),a.b=!0)}
function qp(a){tn(a.ii,"Ready for new requests");rp(a);op(a);a.Mg=null;a.dispatchEvent("ready")}function rp(a){var b=a.Gh;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.f.push(b));a.Cs&&(ca.clearTimeout(a.Cs),a.Cs=null);zc||vc&&!Ac?a.Cs=Ed(a.iR,2E3,a):a.iR();a.Gh=null;a.Ds=null}g.iR=function(){this.Cs&&(ca.clearTimeout(this.Cs),this.Cs=null);for(;this.f.length;){var a=this.f.pop();tn(this.ii,"Disposing iframe");gh(a)}};function op(a){a.Mg&&a.Mg==lp&&dh(a.Mg)}
function pp(a){return a.Gh?wc&&!Kc("11")?a.Gh:mh(a.Gh).getElementById(a.Ds+"_inner"):null}g.uV=function(){if(this.Ho){var a=this.Gh?mh(pp(this)):null;a&&!sc(a,"documentUri")?(qd(pp(this),"load",this.XD,!1,this),navigator.onLine?(a=this.ii)&&a.log(kn,"Silent Firefox error detected",void 0):(a=this.ii)&&a.log(kn,"Firefox is offline so report offline error instead of silent error",void 0),np(this)):Ed(this.uV,250,this)}};var tp={};function yi(a){var b=a.ga();if(b){var c=String(na(a));tp[c]=a;b.setAttribute("data-ac-wrapper-id",c)}}function Ci(a){delete tp[String(na(a))];(a=a.ga())&&a.removeAttribute("data-ac-wrapper-id")}function Ml(a,b){for(var c,d=b.ga().parentNode;a&&a!=d;){c=a.getAttribute&&a.getAttribute("data-ac-wrapper-id")||null;if(null!=c)break;a=a.parentNode}return(c=tp[c||""]||null)&&c.ga()==a?c:null}var co="svg",bo=null,bo=wc&&!Kc("9")?"vml":co,ti="vml"==bo?Co.dd():ll.dd();
function io(a,b,c){return"vml"==bo?new fp(a,b,c):new lo(a,b,c)}var $n="//export.anychart.com";function Yl(a,b){var c;a&&(c=Xg("STYLE"),c.type="text/css",c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(String(a))),fh(Og(document,"head",void 0,b)[0],c,0))}ca.acgraph=ca.acgraph||{};ca.acgraph.fontSize="10px";ca.acgraph.fontColor="#000";ca.acgraph.textDirection="ltr";ca.acgraph.fontFamily="Verdana";function Oi(a,b,c,d){return new Mi(a,b,c,d)}
function $i(a,b,c){return new Ji(a,b,c)}function tj(){return new sj}function aj(a,b,c,d){return new Hi(a,b,c,d)}function bj(){return new Ni}function yj(a,b,c,d,e){return new ck(a,b,c,d,e)}function vj(a,b,c,d){a="vml"==bo?new bp(a,b):new Rk(a,b);d&&a.style(d);c&&a.text(c);return a}function Of(a,b,c,d){return new Ei(a,b,c,d)}function Kf(a){return new Jf(a)}function Bi(a,b,c,d){return"vml"==bo?new mo(null,a,b,c,d):new zi(null,a,b,c,d)}var up=void 0;
function yl(){return m(up)?up:wc&&Kc("9")&&!Kc("10")?up="":up=Qe||null===Qe&&Og(document,"base",void 0,void 0).length?window.location.origin+window.location.pathname+window.location.search:""}E("acgraph.create",io);E("acgraph.type",function(){return bo});E("acgraph.server",function(a){m(a)&&($n=a);return $n});E("acgraph.StageType.SVG",co);E("acgraph.StageType.VML","vml");E("acgraph.rect",Oi);E("acgraph.circle",$i);E("acgraph.ellipse",aj);E("acgraph.path",bj);E("acgraph.text",vj);
E("acgraph.layer",tj);E("acgraph.image",yj);E("acgraph.hatchFill",Of);E("acgraph.patternFill",Kf);E("acgraph.clip",Bi);E("acgraph.useAbsoluteReferences",function(a){if(m(a))Qe=a;else return!!yl()});E("acgraph.updateReferences",function(){var a=up;up=void 0;if(m(a)&&yl()!=a){var b=ti,c;for(c in tp)if(tp.hasOwnProperty(c)){var a=tp[c],d=a.Ca();d&&(a instanceof qi&&(d.Bd()?a.qb(512):a.Ud(512)||b.gL(a)),a instanceof Ai&&(d.Bd()?a.qb(24):(a.Ud(8)||xl(b,a),a.Ud(16)||Bl(b,a))))}}});E("anychart.VERSION","7.14.0.1429");E("anychart.DEVELOP",!0);E("anychart.DEFAULT_THEME","defaultTheme");E("anychart.PERFORMANCE_MONITORING",!1);function vp(a){a=String(a).toLowerCase();switch(a){case "byspot":case "spot":case "sp":return"bySpot";case "single":case "s":return"single"}return"byX"}function wp(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 xp(a,b){a=String(a).toLowerCase();switch(a){case "default":case "def":case "d":return"default";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 b||"default"}
function yp(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";case "auto":case "null":return"auto"}return m(b)?b:"leftTop"}function zp(a,b){a=yp(a,b);return"auto"==a&&m(b)?b:a}
function Ap(a,b){a=String(a).toLowerCase();switch(a){case "left":return"left";case "right":return"right";case "center":case "middle":return"center";case "top":return"top";case "bottom":return"bottom"}return b||"center"}function Bp(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 Cp(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";case "verticalexpandable":case "vexpandable":case "evertical":case "ve":case "vertical_expandable":return"verticalexpandable";case "horizontalexpandable":case "expandable":case "hexpandable":case "ehorizontal":case "he":case "horizontal_expandable":return"horizontalexpandable"}return b||"vertical"}
function Dp(a){a=String(a).toLowerCase();switch(a){case "radial":case "r":case "rad":return"radial"}return"circuit"}
function Ep(a,b){a=String(a).toLowerCase();switch(a){case "centertop":case "topcenter":case "top":case "t":case "up":case "u":return"top";case "rightcenter":case "centerright":case "right":case "r":return"right";case "bottomcenter":case "centerbottom":case "bottom":case "b":case "down":case "d":return"bottom";case "leftcenter":case "centerleft":case "left":case "l":return"left"}return b||"top"}
function Fp(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 Gp={sba:"circle",wca:"square",Kca:"triangleUp",Jba:"diamond",Hca:"triangleDown",Jca:"triangleRight",Ica:"triangleLeft",vba:"cross",vW:"diagonalCross",yca:"star4",zca:"star5",Aca:"star6",Bca:"star7",xca:"star10",Wba:"pentagon",Gca:"trapezium",Rba:"line",Nca:"vline",Raa:"arrowhead",Vaa:"arrowUp",Uaa:"arrowRight",Saa:"arrowDown",Taa:"arrowLeft"};
function Hp(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 Ip(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 Jp;case "line":return Kp;case "ellipse":return Lp;case "bar":return Mp;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 Np(a,b,c){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";case "autowidth":if(c)return"autoWidth"}return b||"allowOverlap"}
function Op(a){a=String(a).toLowerCase();switch(a){case "min":case "minor":case "nomajor":case "notmajor":case "forbidmajor":case "allowminor":case "allowminoroverlap":return"allowMinorOverlap";case "maj":case "major":case "nominor":case "notminor":case "forbidminor":case "allowmajor":case "allowmajoroverlap":return"allowMajorOverlap";case "yes":case "allow":case "overlap":case "allowoverlap":case "true":case "1":return"allowOverlap"}return"noOverlap"}
function Pp(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 Jp="x",Kp="line",Lp="ellipse",Mp="bar";function Qp(a){a=String(a).toLowerCase();switch(a){case "x":return Jp;case "line":return Kp;case "ellipse":return Lp}return Mp}
function Rp(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 Sp(a,b){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";case "middle":case "mid":case "m":case "center":case "c":return"center"}return b||"inside"}
function Tp(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"}
var le="animationstart",je="animationend",ye="zoom",Be="zoomend";function Up(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 Vp(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 Wp(a){a=String(a).toLowerCase();switch(a){case "bubble":return"bubble";case "marker":return"marker";case "connector":return"connector"}return"choropleth"}
function Xp(a){switch(String(a).toLowerCase()){case "bonne":return"bonne";case "eckert1":return"eckert1";case "eckert3":return"eckert3";case "fahey":return"fahey";case "hammeraitoff":case "hammer-aitoff":case "hammer":return"hammer";case "aitoff":return"aitoff";case "mercator":return"mercator";case "orthographic":return"orthographic";case "robinson":return"robinson";case "wagner":case "wagner6":return"wagner6";case "undefined":case "null":case "none":case "wsg84":case "base":case "+proj=longlat +datum=WGS84 +no_defs":return"wsg84";
case "equirectangular":return"equirectangular";case "august":return"august"}return a}
function Yp(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 "jumpline":return"jumpLine";case "stick":return"stick";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";case "hilo":return"hilo"}return"line"}
function Zp(a,b){a=String(a).toLowerCase();switch(a){case "area":return"area";case "candlestick":return"candlestick";case "column":return"column";case "jumpline":return"jumpLine";case "stick":return"stick";case "line":return"line";case "marker":return"marker";case "ohlc":return"ohlc";case "rangearea":return"rangeArea";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";case "hilo":return"hilo"}return b||"line"}function $p(a,b){a=String(a).toLowerCase();switch(a){case "sma":return"sma";case "ema":return"ema"}return b||"sma"}function aq(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 bq(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 cq(a){a=String(a).toLowerCase();switch(a){case "firstdate":case "fd":return"firstDate";case "firstvisibledate":case "fvd":return"firstVisibleDate";case "lastvisibledate":case "lvd":return"lastVisibleDate";case "lastdate":case "ld":return"lastDate"}return m(void 0)?void 0:"firstVisibleDate"}function dq(a){a=String(a).toLowerCase();switch(a){case "area":return"area";case "marker":return"marker"}return"line"}
function eq(a){a=String(a).toLowerCase();switch(a){case "area":return"area";case "polygon":return"polygon";case "polyline":return"polyline";case "marker":return"marker";case "column":return"column";case "rangecolumn":return"rangeColumn"}return"line"}function fq(a){a=String(a).toLowerCase();switch(a){case "bubble":return"bubble";case "marker":return"marker"}return"line"}function gq(a){a=String(a).toLowerCase();switch(a){case "raw":return"raw";case "grouped":return"grouped"}return"specific"}
function hq(a,b,c){a=String(a).toLowerCase();switch(a){case "years":case "year":case "yyyy":case "yy":case "y":return"year";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 c?"day":"hour";case "minutes":case "minute":case "min":case "n":return c?"day":"minute";case "seconds":case "second":case "secs":case "sec":case "s":return c?"day":"second";case "milliseconds":case "millisecond":case "millis":case "milli":case "ms":return c?"day":"millisecond"}return m(b)?b:"year"}
function iq(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 jq(a){z(a)&&(a=a.mode);a=String(a).toLowerCase();switch(a){case "byword":return"byWord";case "bychar":return"byChar"}return"csv"}
function kq(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 lq(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 mq(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 nq(a){a=String(a).toLowerCase();switch(a){case "italic":case "i":return"italic";case "oblique":case "o":return"oblique"}return"normal"}
function oq(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 pq(a){a=String(a).toLowerCase();switch(a){case "rtl":case "r":return"rtl"}return"ltr"}function qq(a){a=String(a).toLowerCase();switch(a){case "nowrap":case "no":case "n":return"noWrap";case "byword":return"byWord";default:return"byLetter"}}
function rq(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":case "fill":case "hoverfill":case "risingfill":case "hoverrisingfill":case "fallingfill":case "hoverfallingfill":case "stroke":case "hoverstroke":case "lowstroke":case "hoverlowstroke":case "highstroke":case "hoverhighstroke":case "risingstroke":case "hoverrisingstroke":case "fallingstroke":case "hoverfallingstroke":case "hatchfill":case "hoverhatchfill":case "risinghatchfill":case "hoverrisinghatchfill":case "fallinghatchfill":case "hoverfallinghatchfill":case "marker":case "hovermarker":return"lastValue";
case "sum":case "add":return"sum";case "list":case "group":case "array":return"list";default:return"last"}}function sq(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 tq(a){a=String(a).toLowerCase();switch(a){case "unit":case "u":return"Unit";case "ytd":return"YTD";case "qtd":return"QTD";case "mtd":return"MTD";case "max":return"Max"}return m(null)?null:"Max"}function uq(a){a=String(a).toLowerCase();switch(a){case "firstdate":case "fd":return"firstDate";case "firstvisibledate":case "fvd":return"firstVisibleDate";case "lastvisibledate":case "lvd":return"lastVisibleDate";case "lastdate":case "ld":return"lastDate"}return m(void 0)?void 0:"lastDate"}
function vq(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"}
var wq={Waa:"average",RV:"bubbleSize",SV:"bubbleSizePercentOfCategory",TV:"bubbleSizePercentOfSeries",UV:"bubbleSizePercentOfTotal",Zaa:"categoryName",VV:"categoryYAverage",aba:"categoryYMax",WV:"categoryYMedian",dba:"categoryYMin",XV:"categoryYMode",YV:"categoryYPercentOfTotal",gba:"categoryYRangeAverage",ZV:"categoryYRangeMax",jba:"categoryYRangeMedian",$V:"categoryYRangeMin",mba:"categoryYRangeMode",aW:"categoryYRangePercentOfTotal",bW:"categoryYRangeSum",cW:"categoryYSum",dW:"close",uba:"count",
eW:"dataPlotBubbleMaxSize",fW:"dataPlotBubbleMinSize",gW:"dataPlotBubbleSizeAverage",hW:"dataPlotBubbleSizeSum",Aba:"dataPlotMaxXSumSeriesName",Cba:"dataPlotMaxYSumSeriesName",Bba:"dataPlotMaxXValuePointSeriesName",Dba:"dataPlotMaxYValuePointSeriesName",Eba:"dataPlotMinXSumSeriesName",Gba:"dataPlotMinYSumSeriesName",Fba:"dataPlotMinXValuePointSeriesName",Hba:"dataPlotMinYValuePointSeriesName",iW:"dataPlotPointCount",jW:"dataPlotSeriesCount",kW:"dataPlotXAverage",lW:"dataPlotXMax",mW:"dataPlotXMin",
nW:"dataPlotXSum",oW:"dataPlotYAverage",pW:"dataPlotYMax",qW:"dataPlotYMin",rW:"dataPlotYRangeMax",sW:"dataPlotYRangeMin",tW:"dataPlotYRangeSum",uW:"dataPlotYSum",xW:"high",yW:"index",zW:"low",Sba:"max",Uba:"min",Vba:"name",OPEN:"open",lca:"pointsCount",ica:"pertChartCriticalPathStandardDeviation",jca:"pertChartProjectDuration",DW:"range",EW:"rangeEnd",FW:"rangeStart",nca:"seriesAverage",GW:"seriesBubbleMaxSize",HW:"seriesBubbleMinSize",IW:"seriesBubbleSizeAverage",JW:"seriesBubbleSizeMedian",KW:"seriesBubbleSizeMode",
LW:"seriesBubbleSizeSum",MW:"seriesFirstXValue",NW:"seriesFirstYValue",OW:"seriesLastXValue",PW:"seriesLastYValue",oca:"seriesMax",pca:"seriesMin",qca:"seriesName",RW:"seriesPointCount",QW:"seriesPointsCount",rca:"seriesSum",SW:"seriesXAverage",TW:"seriesXMax",UW:"seriesXMedian",VW:"seriesXMin",WW:"seriesXMode",XW:"seriesXSum",YW:"seriesYAverage",ZW:"seriesYMax",$W:"seriesYMedian",aX:"seriesYMin",bX:"seriesYMode",sca:"seriesYRangeAverage",cX:"seriesYRangeMax",tca:"seriesYRangeMedian",dX:"seriesYRangeMin",
uca:"seriesYRangeMode",eX:"seriesYRangeSum",fX:"seriesYSum",Eca:"sum",gX:"value",BW:"percentValue",iX:"xPercentOfSeries",jX:"xPercentOfTotal",kX:"xValue",lX:"yPercentOfCategory",mX:"yPercentOfSeries",nX:"yPercentOfTotal",oX:"yValue",Qca:"xScalesMin",Pca:"xScalesMax",Sca:"yScalesMin",Rca:"yScalesMax",pba:"catYSumArr_",eba:"catYMinArr_",bba:"catYMaxArr_",$aa:"catYAvgArr_",cba:"catYMedianArr_",fba:"catYModeArr_",oba:"catYRangeSumArr_",lba:"catYRangeMinArr_",iba:"catYRangeMaxArr_",hba:"catYRangeAvgArr_",
kba:"catYRangeMedianArr_",nba:"catYRangeModeArr_"},xq={},yq;for(yq in wq)wq.hasOwnProperty(yq)&&(xq[yq]=wq[yq].toLowerCase());
function zq(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"}
function Aq(a){a=String(a).toLowerCase();switch(a){case "rhomb":case "rhombus":return"rhombus";case "rect":case "rectangle":return"rectangle";default:return"circle"}}function Bq(a){a=String(a).toLowerCase();switch(a){case "y":case "year":return"year";case "w":case "week":return"week";case "d":case "day":return"day"}return"none"}
function Cq(a){a=String(a).toLowerCase();switch(a){case "availabilityperchart":return"availabilityPerChart";case "availabilityperresource":return"availabilityPerResource";case "activityperchart":return"activityPerChart";default:return"activityPerResource"}}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.Anchor.AUTO","auto");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.LegendLayout.HORIZONTAL","horizontal");E("anychart.enums.LegendLayout.VERTICAL","vertical");
E("anychart.enums.LegendLayout.HORIZONTAL_EXPANDABLE","horizontalexpandable");E("anychart.enums.LegendLayout.VERTICAL_EXPANDABLE","verticalexpandable");E("anychart.enums.LegendPositionMode.INSIDE","inside");E("anychart.enums.LegendPositionMode.OUTSIDE","outside");E("anychart.enums.Sort.NONE","none");E("anychart.enums.Sort.ASC","asc");E("anychart.enums.Sort.DESC","desc");E("anychart.enums.BulletMarkerType.X",Jp);E("anychart.enums.BulletMarkerType.BAR",Mp);
E("anychart.enums.BulletMarkerType.ELLIPSE",Lp);E("anychart.enums.BulletMarkerType.LINE",Kp);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.MapGridZIndex.UNDER_MAP",5);E("anychart.enums.MapGridZIndex.OVER_MAP",45);
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",le);E("anychart.enums.EventType.ANIMATION_END",je);E("anychart.enums.EventType.ZOOM_START","zoomstart");E("anychart.enums.EventType.ZOOM",ye);E("anychart.enums.EventType.ZOOM_END",Be);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.DRAG_START","dragstart");E("anychart.enums.EventType.DRAG","drag");E("anychart.enums.EventType.DRAG_END","dragend");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.CONNECTOR_SELECT","connectorselect");E("anychart.enums.EventType.CONNECTOR_CLICK","connectorclick");E("anychart.enums.EventType.CONNECTOR_DBL_CLICK","connectordblclick");E("anychart.enums.EventType.CONNECTOR_MOUSE_OVER","connectormouseover");E("anychart.enums.EventType.CONNECTOR_MOUSE_OUT","connectormouseout");E("anychart.enums.EventType.CONNECTOR_MOUSE_MOVE","connectormousemove");
E("anychart.enums.EventType.CONNECTOR_MOUSE_DOWN","connectormousedown");E("anychart.enums.EventType.CONNECTOR_MOUSE_UP","connectormouseup");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.GanttRangeAnchor.FIRST_DATE","firstDate");E("anychart.enums.GanttRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");
E("anychart.enums.GanttRangeAnchor.LAST_DATE","lastDate");E("anychart.enums.GanttRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");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.StockRangeType.UNIT","Unit");E("anychart.enums.StockRangeType.YTD","YTD");E("anychart.enums.StockRangeType.QTD","QTD");E("anychart.enums.StockRangeType.MTD","MTD");E("anychart.enums.StockRangeType.MAX","Max");
E("anychart.enums.StockRangeAnchor.FIRST_DATE","firstDate");E("anychart.enums.StockRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");E("anychart.enums.StockRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");E("anychart.enums.StockRangeAnchor.LAST_DATE","lastDate");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.StepDirection.CENTER","center");E("anychart.enums.StepDirection.FORWARD","forward");E("anychart.enums.StepDirection.BACKWARD","backward");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.TokenType.PERCENT","percent");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.PERCENT_VALUE","%PercentValue");
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.StringToken.RESOURCE_INDEX","resourceIndex");E("anychart.enums.StringToken.ACTIVITY_INDEX","activityIndex");E("anychart.enums.StringToken.START","start");E("anychart.enums.StringToken.END","end");E("anychart.enums.StringToken.MINUTES_PER_DAY","minutesPerDay");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.PERCENT_VALUE","percentValue");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.Statistics.X_SCALES_MIN","xScalesMin");E("anychart.enums.Statistics.X_SCALES_MAX","xScalesMax");E("anychart.enums.Statistics.Y_SCALES_MIN","yScalesMin");E("anychart.enums.Statistics.Y_SCALES_MAX","yScalesMax");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.MovingAverageType.SMA","sma");E("anychart.enums.MovingAverageType.EMA","ema");
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.PolarSeriesType.POLYGON","polygon");E("anychart.enums.PolarSeriesType.POLYLINE","polyline");E("anychart.enums.PolarSeriesType.COLUMN","column");
E("anychart.enums.PolarSeriesType.RANGE_COLUMN","rangeColumn");E("anychart.enums.MekkoSeriesType.MEKKO","mekko");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");E("anychart.enums.LocaleDateTimeFormat.YEAR","year");E("anychart.enums.LocaleDateTimeFormat.YEAR_SEMESTER","year_semester");E("anychart.enums.LocaleDateTimeFormat.YEAR_QUARTER","year_quarter");
E("anychart.enums.LocaleDateTimeFormat.YEAR_MONTH","year_month");E("anychart.enums.LocaleDateTimeFormat.YEAR_THIRD_OF_MONTH","year_third_of_month");E("anychart.enums.LocaleDateTimeFormat.YEAR_WEEK","year_week");E("anychart.enums.LocaleDateTimeFormat.YEAR_DAY","year_day");E("anychart.enums.LocaleDateTimeFormat.YEAR_HOUR","year_hour");E("anychart.enums.LocaleDateTimeFormat.YEAR_MINUTE","year_minute");E("anychart.enums.LocaleDateTimeFormat.YEAR_SECOND","year_second");
E("anychart.enums.LocaleDateTimeFormat.YEAR_MILLISECOND","year_millisecond");E("anychart.enums.LocaleDateTimeFormat.SEMESTER","semester");E("anychart.enums.LocaleDateTimeFormat.SEMESTER_QUARTER","semester_quarter");E("anychart.enums.LocaleDateTimeFormat.SEMESTER_MONTH","semester_month");E("anychart.enums.LocaleDateTimeFormat.SEMESTER_THIRD_OF_MONTH","semester_third_of_month");E("anychart.enums.LocaleDateTimeFormat.SEMESTER_WEEK","semester_week");
E("anychart.enums.LocaleDateTimeFormat.SEMESTER_DAY","semester_day");E("anychart.enums.LocaleDateTimeFormat.SEMESTER_HOUR","semester_hour");E("anychart.enums.LocaleDateTimeFormat.SEMESTER_MINUTE","semester_minute");E("anychart.enums.LocaleDateTimeFormat.SEMESTER_SECOND","semester_second");E("anychart.enums.LocaleDateTimeFormat.SEMESTER_MILLISECOND","semester_millisecond");E("anychart.enums.LocaleDateTimeFormat.QUARTER","quarter");E("anychart.enums.LocaleDateTimeFormat.QUARTER_MONTH","quarter_month");
E("anychart.enums.LocaleDateTimeFormat.QUARTER_THIRD_OF_MONTH","quarter_third_of_month");E("anychart.enums.LocaleDateTimeFormat.QUARTER_WEEK","quarter_week");E("anychart.enums.LocaleDateTimeFormat.QUARTER_DAY","quarter_day");E("anychart.enums.LocaleDateTimeFormat.QUARTER_HOUR","quarter_hour");E("anychart.enums.LocaleDateTimeFormat.QUARTER_MINUTE","quarter_minute");E("anychart.enums.LocaleDateTimeFormat.QUARTER_SECOND","quarter_second");E("anychart.enums.LocaleDateTimeFormat.QUARTER_MILLISECOND","quarter_millisecond");
E("anychart.enums.LocaleDateTimeFormat.MONTH","month");E("anychart.enums.LocaleDateTimeFormat.MONTH_THIRD_OF_MONTH","month_third_of_month");E("anychart.enums.LocaleDateTimeFormat.MONTH_WEEK","month_week");E("anychart.enums.LocaleDateTimeFormat.MONTH_DAY","month_day");E("anychart.enums.LocaleDateTimeFormat.MONTH_HOUR","month_hour");E("anychart.enums.LocaleDateTimeFormat.MONTH_MINUTE","month_minute");E("anychart.enums.LocaleDateTimeFormat.MONTH_SECOND","month_second");
E("anychart.enums.LocaleDateTimeFormat.MONTH_MILLISECOND","month_millisecond");E("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH","third_of_month");E("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_WEEK","third_of_month_week");E("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_DAY","third_of_month_day");E("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_HOUR","third_of_month_hour");E("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MINUTE","third_of_month_minute");
E("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_SECOND","third_of_month_second");E("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MILLISECOND","third_of_month_millisecond");E("anychart.enums.LocaleDateTimeFormat.WEEK","week");E("anychart.enums.LocaleDateTimeFormat.WEEK_DAY","week_day");E("anychart.enums.LocaleDateTimeFormat.WEEK_HOUR","week_hour");E("anychart.enums.LocaleDateTimeFormat.WEEK_MINUTE","week_minute");E("anychart.enums.LocaleDateTimeFormat.WEEK_SECOND","week_second");
E("anychart.enums.LocaleDateTimeFormat.WEEK_MILLISECOND","week_millisecond");E("anychart.enums.LocaleDateTimeFormat.DAY","day");E("anychart.enums.LocaleDateTimeFormat.DAY_HOUR","day_hour");E("anychart.enums.LocaleDateTimeFormat.DAY_MINUTE","day_minute");E("anychart.enums.LocaleDateTimeFormat.DAY_SECOND","day_second");E("anychart.enums.LocaleDateTimeFormat.DAY_MILLISECOND","day_millisecond");E("anychart.enums.LocaleDateTimeFormat.HOUR","hour");E("anychart.enums.LocaleDateTimeFormat.HOUR_MINUTE","hour_minute");
E("anychart.enums.LocaleDateTimeFormat.HOUR_SECOND","hour_second");E("anychart.enums.LocaleDateTimeFormat.HOUR_MILLISECOND","hour_millisecond");E("anychart.enums.LocaleDateTimeFormat.MINUTE","minute");E("anychart.enums.LocaleDateTimeFormat.MINUTE_SECOND","minute_second");E("anychart.enums.LocaleDateTimeFormat.MINUTE_MILLISECOND","minute_millisecond");E("anychart.enums.LocaleDateTimeFormat.SECOND","second");E("anychart.enums.LocaleDateTimeFormat.SECOND_MILLISECOND","second_millisecond");
E("anychart.enums.LocaleDateTimeFormat.MILLISECOND","millisecond");E("anychart.enums.IntervalFormatPrefix.NONE","");E("anychart.enums.IntervalFormatPrefix.FULL","full");E("anychart.enums.AvailabilityPeriod.YEAR","year");E("anychart.enums.AvailabilityPeriod.WEEK","week");E("anychart.enums.AvailabilityPeriod.DAY","day");E("anychart.enums.AvailabilityPeriod.NONE","none");E("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_CHART","availabilityPerChart");
E("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_RESOURCE","availabilityPerResource");E("anychart.enums.TimeTrackingMode.ACTIVITY_PER_CHART","activityPerChart");E("anychart.enums.TimeTrackingMode.ACTIVITY_PER_RESOURCE","activityPerResource");E("anychart.enums.ShapeType.PATH","path");E("anychart.enums.ShapeType.CIRCLE","circle");E("anychart.enums.ShapeType.ELLIPSE","ellipse");E("anychart.enums.ShapeType.RECT","rect");E("anychart.enums.FontStyle.NORMAL","normal");
E("anychart.enums.FontStyle.ITALIC","italic");E("anychart.enums.FontStyle.OBLIQUE","oblique");E("anychart.enums.FontVariant.NORMAL","normal");E("anychart.enums.FontVariant.SMALL_CAP","small-caps");E("anychart.enums.TextParsingMode.CSV","csv");E("anychart.enums.TextParsingMode.BY_WORD","byWord");E("anychart.enums.TextParsingMode.BY_CHAR","byChar");E("anychart.enums.HAlign.LEFT","left");E("anychart.enums.HAlign.START","start");E("anychart.enums.HAlign.CENTER","center");
E("anychart.enums.HAlign.END","end");E("anychart.enums.HAlign.RIGHT","right");E("anychart.enums.VAlign.TOP","top");E("anychart.enums.VAlign.MIDDLE","middle");E("anychart.enums.VAlign.BOTTOM","bottom");E("anychart.enums.TextWrap.NO_WRAP","noWrap");E("anychart.enums.TextWrap.BY_LETTER","byLetter");E("anychart.enums.TextWrap.BY_WORD","byWord");E("anychart.enums.TagCloudMode.SPIRAL","spiral");E("anychart.enums.TagCloudMode.RECT","rect");E("anychart.enums.WaterfallDataMode.ABSOLUTE","absolute");
E("anychart.enums.WaterfallDataMode.DIFF","diff");var Dq=-1,Eq=-1;function Fq(a,b,c){Gq("error","Error: "+a+"\nDescription: "+Hq(a,c),b||"")}
function Hq(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 "+b[1]+" type"+(b[2]?" ("+b[2]+").":".");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';case 300:var c=b[2],d=[],e;for(e in c)d.push(e+" ("+c[e]+")");return['Series "',b[0],'" of type "',b[1],'" cannot be drawn, because it requires ',c.length," shapes with the following names: ",d.join(", ")].join("");default:return"Unknown error occurred. Please, contact support team at http://support.anychart.com/.\nWe will be very grateful for your report."}}
function Iq(a,b){ma(a)?Dq!=a&&(Dq=a,Gq("info","Info: "+a+"\nDescription: "+Jq(a,b),"")):Gq("info",a,"")}
function Jq(a,b){switch(a){case 1:return"It is not recommended to use more than 5 ranges in Bullet Chart. Currently there are '"+b[0]+"' ranges.\nExpert opinion at http://cdn.anychart.com/warning/1.html";case 2:return"It is not recommended to use more than 2 markers in Bullet Chart. Currently there are '"+b[0]+"' markers.\nExpert opinion at http://cdn.anychart.com/warning/2.html";case 3:return"It is not recommended to use more then 5 - 7 points in Pie Chart. Currently there are '"+b[0]+"' points.\nExpert opinion at http://cdn.anychart.com/warning/3.html";
default:return"We think we can help you improve your data visualization, please contact us at http://support.anychart.com/."}}function L(a,b,c){Eq!=a&&(Eq=a,Gq("warn","Warning: "+a+"\nDescription: "+Kq(a,c),b||""))}
function Kq(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(b[3]||"Method")+" "+b[0]+" is deprecated. Use "+b[1]+" instead"+(b[2]?b[2]+".":".");case 19:return"The projection that used cannot work correctly without Proj4. Please include Proj4 binary (https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.15/proj4.js) into your page, or use another projection";
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 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';case 20:var c=
b[1];return"Current scale ticks settings resulted in too many ticks: trying to generate about "+b[0]/c+" ticks with interval "+c;case 21:return"Data item with ID='"+b[0]+"' already exists. You should use another key.";case 22:return"Area "+b[0]+" not represented on screen.";default:return"Unknown error. Please, contact support team at http://support.anychart.com/.\nWe will be very grateful for your report!"}}
function Gq(a,b,c){var d=ca.console;d&&(a=d[a]||d.log,"object"!=typeof a&&a.call(d,b,c))};function Lq(a,b){Mb.call(this);this.f=a;this.F=b;this.U=Mq.test(Wg().location.hostname);this.D=!(this.F||this.U);this.b=Nq|Oq|Pq|Qq}F(Lq,Mb);var Mq=/^(.*\.)?anychart\.(com|stg|dev)$/i,Rq=!1,Nq=1,Oq=2,Pq=4,Qq=8;g=Lq.prototype;g.K=function(a){this.b&=~a};g.o=function(a,b){var c=a&~this.b;this.b|=c;!this.ud&&!this.f.Bd()&&c&&b&&this.f.fd()};function Sq(){return("https:"==Wg().location.protocol?"https://":"http://")+"static.anychart.com/logo.png"}
g.enabled=function(a){return m(a)?(this.D!=a&&(this.D=a,(Tq(this)||this.F)&&this.o(Nq,!0)),this):this.D};g.text=function(a){return m(a)?(this.Rb!=a&&(this.Rb=a,Tq(this)&&this.o(Pq,!0)),this):this.Rb};g.CB=function(a){return m(a)?(this.aa!=a&&(this.aa=a,Tq(this)&&this.o(Oq,!0)),this):this.aa};g.AB=function(a){return m(a)?(this.ma!=a&&(this.ma=a,Tq(this)&&this.o(Oq,!0)),this):this.ma};g.BB=function(a){return m(a)?(this.N!=a&&(this.N=a,Tq(this)&&this.o(Oq,!0)),this):this.N};
g.wx=function(a){return m(a)?(this.W!=a&&(this.W=a,Tq(this)&&this.o(Qq,!0)),this):this.W};g.Ca=function(){return this.f};g.ga=function(){return this.Kc};
g.fd=function(){var a=Tq(this);a&&m(this.X)&&!this.X&&this.o(Nq,!1);this.X=a;if(!this.b||this.ud||!this.f||this.f.Bd())return this;if(!this.enabled()&&(this.F||a))return this.b&Nq&&(gh(this.Kc),this.K(Nq)),this;if(!Rq){var b="",c=Xg("STYLE");c.type="text/css";b+='.anychart-credits{position:absolute;overflow:hidden;right:9px;bottom:6px;height:10px;}.anychart-credits a {text-decoration:none;}.anychart-credits-logo{border:none;margin-right:2px;height:10px;width:10px;display:inline-block;vertical-align:top;}.anychart-credits-text{font-size:10px;line-height:9px;display:inline-block;vertical-align:top;text-decoration:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#929292;height:10px;}';c.styleSheet?
c.styleSheet.cssText=b:c.appendChild(document.createTextNode(String(b)));fh(Og(document,"head",void 0,void 0)[0],c,0);Rq=!0}this.Kc||(this.Kc=Xg("DIV","anychart-credits"));this.i||(this.i=Xg("A"),this.u=Xg("SPAN","anychart-credits-text"),this.g=Xg("IMG","anychart-credits-logo"),ch(this.i,this.u),this.Kc.appendChild(this.i));b=this.f.Qj();this.b&Nq&&(b&&b.appendChild(this.Kc),this.K(Nq));this.b&Oq&&(Pg(this.i,{href:a?this.CB():"https://www.anychart.com/?utm_source=trial",title:a?this.AB():"AnyChart - JavaScript Charts designed to be embedded and integrated",
target:"_blank"}),Pg(this.g,{alt:a?this.BB():"AnyChart - JavaScript Charts"}),this.K(Oq));this.b&Pq&&(a=a?this.text():"AnyChart Trial Version",nh(this.u,a),this.K(Pq));if(this.b&Qq){if(a=Tq(this)?this.wx():Sq()){if(this.J=a,b=tk(ti))id(b,"complete",this.FT,!1,this),id(b,"load",this.eP,!1,this),id(b,"error",this.GT,!1,this),this.j&&(lk(b,a),this.j=!1),kk(b,a,a),this.j=!0,b.start()}else gh(this.g);this.K(Qq)}return this};function Tq(a){return Xq()||a.U}
g.eP=function(a){var b=this.J;a.target.id==b&&(this.ud||(Tq(this)?this.wx():Sq())!=b||this.g.parentNode||fh(this.i,this.g,0),Pg(this.g,{src:b}),this.j=!1)};g.FT=function(a){a.target.id==this.J&&(this.j=!1)};g.GT=function(a){a.target.id==this.J&&gh(this.g)};g.P=function(a){this.f.me();B(a)?(this.text(a),this.enabled(!0)):la(a)||null===a?this.enabled(!!a):z(a)&&(this.CB(a.url),this.text(a.text),this.AB(a.alt),this.BB(a.imgAlt),this.wx(a.logoSrc),this.enabled(a.enabled));this.f.ee()};
g.I=function(){var a={};a.url=this.CB();a.alt=this.AB();a.imgAlt=this.BB();a.text=this.text();a.logoSrc=this.wx();a.enabled=this.enabled();return a};g.ca=function(){var a=tk(ti);a&&(qd(a,"load",this.eP,!1,this),qd(a,"complete",this.FT,!1,this),qd(a,"error",this.GT,!1,this));gh(this.u);gh(this.g);gh(this.i);gh(this.Kc);this.f=this.Kc=this.i=this.g=this.u=null;Lq.G.ca.call(this)};var Yq=Lq.prototype;Yq.text=Yq.text;Yq.url=Yq.CB;Yq.alt=Yq.AB;Yq.imgAlt=Yq.BB;Yq.logoSrc=Yq.wx;Yq.enabled=Yq.enabled;var Zq=ca.performance&&D(ca.performance.now)?sa(ca.performance.now,ca.performance):va;var $q={color:"#fff",opacity:1E-5};function ar(a,b,c){a=br(a);b=br(b);var d=(a.opacity+b.opacity)/2;return{color:Lf(yo(a.sU,b.sU,m(c)?c:.5)),opacity:d}}function br(a){var b=a,c=1;r(a)||(B(a)?b=a:(b=a.color||"#000",c=m(a.opacity)?a.opacity:1),a=cr(b).Pg,b=vo(a));return{sU:b,opacity:c}}
function dr(a,b,c,d){b=null==b||isNaN(+b)?7:+b;d=null!=d?Re(d,0,1):NaN;var e,f;a=cr(a||"#000").Pg;f=vo(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?(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?Re(c,0,1):.95):c=null!=c?Re(c,0,1):f;f=1l?l*(1+e):l+e-e*l;q=2*l-t;l=255*xo(q,t,p+1/3);n=255*xo(q,t,p);p=255*xo(q,t,p-1/3)}else l=n=p=255*l;h.push(Lf([Math.round(l),Math.round(n),Math.round(p)]))}return h}function er(a){if(z(a))if(a.color)a=a.color;else return null;if(B(a))try{return qo(a).Pg}catch(b){}return null}
function fr(a,b){if(z(a)&&m(a.keys)){for(var c=kc(a),d=c.keys,e=[],f=0,h=d.length;f=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}return c.length?(b.Pg=Lf(c),b.type="rgb",b):po&&(a=po[a.toLowerCase()])?(b.Pg=a,b.type="named",b):null}function kr(a,b,c){var d;c?d=Ff(a):d=Mf(a);B(d)?d={color:d,opacity:b}:z(d)&&(d.opacity=b);return d}
function lr(a,b,c){a=Mf(a);B(a)?a={color:a,thickness:b}:z(a)&&(a.thickness=b);c&&(a.opacity=c);return a}var mr={};function nr(a,b){var c;if(!a)return or;if(r(a)){var d=b+"|"+a.join("|");c=mr[d];if(!c){switch(b){case 2:c=pr;break;case 3:c=qr;break;default:case 1:c=rr}mr[d]=c=ta(sr,a,c,3==b)}}else(c=mr.transparent)||(c=mr.transparent=function(){return $q});return c}function or(){return"none"}
function sr(a,b,c,d,e,f,h){var k;e=Math.min(e&(tr|ur),ur);if(e!=vr&&1a++;){if(this.ud)return;this.Uj.cp();b=gs(this)}b&&this.Uj.cp();this.ud||(b?(this.Uj.jf(this.Ie),this.TK=setTimeout(this.lE,0)):this.Uj.LB())};function fs(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e=d){f="";e=0;a.Kj=-1;a.Lj=-1;a.Ie=c+1;h=0;break}else return 0d&&(c=f,d=b[f])}return c}function ss(a,b){var c=!1,d,e,f,h;if(!a||!b)return!1;f=0;for(h=a.length;f=us(a,b,c,d,e[h],e[h+1]);return f}function us(a,b,c,d,e,f){return(a=(b-d)*e+(c-a)*f+(a*d-c*b))?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 ws(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 xs(a,b,c,d){var e=!1,f,h;if(!d)return!1;f=0;for(h=d.length;fc*c;return e}
function ys(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))af||bh?t=!0:(l=n=a,p=q=b);else if(k)if(isFinite(k)){var u=b-a*k,v=k*e.left+u,w=k*f+u;vh&&w>h?t=!0:(n=(e.top-u)/k,k=(h-u)/k,vh?(l=k,p=h):(l=e.left,p=v),wh?(n=k,q=h):(n=f,q=w))}else af?t=!0:(l=n=a,p=e.top,q=h);else bh?t=!0:(l=e.left,n=f,p=q=b);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 zs(a,b,c,d,e){if(e=ys(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 As(a,b,c,d,e){if(e=ys(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||0h*f&&(e[0]=a,e[1]=b),0=(v-w)*u;v+=u){var A=ms(t+v*Math.PI*2,4),C=(v-c)/x+d,O=q+(p-q)*C,Q=Cs(A,O,l),A=Ds(A,O,n);y.push(c%1?0:1);Es(a,b,c,d,Q,A,v,C,l,n,p,q,t,y);a=Q;b=A;c=v;d=C}y.push(c%1?0:1);Es(a,b,c,d,e,f,h,k,l,n,p,q,t,y);return y}
function Fs(a,b,c,d,e,f,h,k,l,n,p,q,t,u){u?(c(x-h)*u;x+=u){var y=ms(t+x*Math.PI*2,4),A=(x-c)/v+d,C=q+(p-q)*A,O=Cs(y,C,l),y=Ds(y,C,n);Es(a,b,c,d,O,y,x,A,l,n,p,q,t,w);a=O;b=y;c=x;d=A}Es(a,b,c,d,e,f,h,k,l,n,p,q,t,w);return w}
function Es(a,b,c,d,e,f,h,k,l,n,p,q,t,u){c=ms(t+c*Math.PI*2,4);h=ms(t+h*Math.PI*2,4);t=(h-c)/3;c=ms(c+t,4);h=ms(h-t,4);t=(k-d)/3;d=q+(d+t)*(p-q);p=q+(k-t)*(p-q);k=Cs(c,d,l);q=Ds(c,d,n);l=Cs(h,p,l);n=Ds(h,p,n);u.push((-5*a+18*k-9*l+2*e)/6,(-5*b+18*q-9*n+2*f)/6,(2*a-9*k+18*l-5*e)/6,(2*b-9*q+18*n-5*f)/6,e,f)}
function Gs(a,b,c,d,e){var f;if(b&&c){f=b/c;var h=c/b;d=((e+c)*d-e*(d+b))/b;for(b=0;bc&&0c&&d.push("-");d.push("P");(a.u||b)&&d.push(Math.abs(a.u)+"Y");(a.j||b)&&d.push(Math.abs(a.j)+"M");(a.b||b)&&d.push(Math.abs(a.b)+"D");if(a.g||a.i||a.f||b)d.push("T"),(a.g||b)&&d.push(Math.abs(a.g)+"H"),(a.i||b)&&d.push(Math.abs(a.i)+"M"),(a.f||b)&&d.push(Math.abs(a.f)+"S");return d.join("")}
Ps.prototype.clone=function(){return new Ps(this.u,this.j,this.b,this.g,this.i,this.f)};var Qs="y",Rs="m",Ss="d",Ts="h",Us="n",Vs="s";Ps.prototype.D=function(a){return new Ps(this.u*a,this.j*a,this.b*a,this.g*a,this.i*a,this.f*a)};Ps.prototype.add=function(a){this.u+=a.u;this.j+=a.j;this.b+=a.b;this.g+=a.g;this.i+=a.i;this.f+=a.f};
function Ys(a,b,c){ma(a)?(this.b=Zs(a,b||0,c||1),$s(this,c||1)):z(a)?(this.b=Zs(a.getFullYear(),a.getMonth(),a.getDate()),$s(this,a.getDate())):(this.b=new Date(va()),a=this.b.getDate(),this.b.setHours(0),this.b.setMinutes(0),this.b.setSeconds(0),this.b.setMilliseconds(0),$s(this,a))}function Zs(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}g=Ys.prototype;g.Uu=Ms.rF;g.Wu=Ms.sF;g.clone=function(){var a=new Ys(this.b);a.Uu=this.Uu;a.Wu=this.Wu;return a};
g.getFullYear=function(){return this.b.getFullYear()};g.getMonth=function(){return this.b.getMonth()};g.getDate=function(){return this.b.getDate()};g.getTime=function(){return this.b.getTime()};g.getDay=function(){return this.b.getDay()};g.getUTCFullYear=function(){return this.b.getUTCFullYear()};g.getUTCMonth=function(){return this.b.getUTCMonth()};g.getUTCDate=function(){return this.b.getUTCDate()};g.hD=function(){return this.b.getDay()};g.getUTCHours=function(){return this.b.getUTCHours()};
g.getUTCMinutes=function(){return this.b.getUTCMinutes()};g.getTimezoneOffset=function(){return this.b.getTimezoneOffset()};function at(a){if(a=a.getTimezoneOffset()){var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0b&&(b+=12);var d=Math.min(Os(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.b&&(b=new Date(this.getFullYear(),this.getMonth(),this.getDate(),12),a=new Date(b.getTime()+864E5*a.b),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),$s(this,a.getDate()))};
g.iD=function(a,b){return[this.getFullYear(),Ta(this.getMonth()+1,2),Ta(this.getDate(),2)].join(a?"-":"")+(b?at(this):"")};g.GL=function(a,b){return[this.getUTCFullYear(),Ta(this.getUTCMonth()+1,2),Ta(this.getUTCDate(),2)].join(a?"-":"")+(b?"Z":"")};g.toString=function(){return this.iD()};function $s(a,b){if(a.getDate()!=b){var c=a.getDate()c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);(c%=60)&&d.push(":",Ta(c,2));c=d.join("")}else c="Etc/GMT";b.i=c;(c=a)?(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),(c%=60)&&d.push(":",c),c=d.join("")):c="UTC";a=it(a);b.j=[c,c];b.b={Dca:a,aM:a};b.g=[];return b}b=new gt;b.i=a.id;b.f=-a.std_offset;b.j=a.names;b.b=a.names_ext;b.g=a.transitions;return b}
function it(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Ta(Math.floor(a/60)%100,2),":",Ta(a%60,2));return b.join("")}function jt(a,b){for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d=a.g[d];)d+=2;return d?a.g[d-1]:0};function kt(a,b){this.f=[];this.b=b||Ms;"number"==typeof a?lt(this,a):mt(this,a)}var nt=[/^\'(?:[^\']|\'\')*(\'|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function ot(a){return a.getHours?a.getHours():0}
function mt(a,b){for(pt&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;db)c=a.b.dw[b];else if(8>b)c=a.b.ew[b-4];else if(12>b)c=a.b.pF[b-8],c=c.replace("{1}",a.b.dw[b-8]),c=c.replace("{0}",a.b.ew[b-8]);else{lt(a,10);return}mt(a,c)}function st(a,b){var c;c=String(b);var d=a.b||Ms;if(void 0!==d.EF){for(var e=[],f=0;f=h?String.fromCharCode(d.EF+h-48):c.charAt(f))}c=e.join("")}return c}var pt=!1;
function tt(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 rt(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==h&&(c%=100),st(a,Ta(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.b.WL[c];break a;case 4:h=a.b.uF[c];break a;case 3:h=a.b.wF[c];break a;default:h=st(a,Ta(c+1,h))}return h;case "k":return tt(e),c=ot(e)||24,st(a,Ta(c,h));case "S":return st(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3h?1:0];case "h":return tt(e),c=ot(e)%12||12,st(a,Ta(c,h));case "K":return tt(e),c=ot(e)%12,st(a,Ta(c,h));case "H":return tt(e),c=ot(e),st(a,Ta(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.b.YL[c];break a;case 4:h=a.b.$L[c];break a;case 3:h=a.b.ZL[c];break a;default:h=st(a,Ta(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.b.XL[c];break a;case 4:h=a.b.AF[c];break a;case 3:h=a.b.BF[c];break a;default:h=
st(a,Ta(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.b.xF[c]:a.b.vF[c];case "d":return st(a,Ta(d.getDate(),h));case "m":return tt(e),st(a,Ta(e.getMinutes(),h));case "s":return tt(e),st(a,Ta(e.getSeconds(),h));case "v":return h=f||ht(c.getTimezoneOffset()),h.i;case "V":return a=f||ht(c.getTimezoneOffset()),2>=h?a.i:0h?a.j[0h?(h=-(e.f-jt(e,c)),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Ta(Math.floor(h/60)%100,2),Ta(h%60,2)),h=a.join("")):h=st(a,it(e.f-jt(e,c))),h;default:return""}}
;function ut(a){if(ca.JSON)try{return ca.JSON.stringify(a)}catch(b){}return Qm(a)}function vt(a){if(ca.JSON)try{var b=ca.JSON.parse(a);return b}catch(c){}return b=Pm(a)};var wt;function xt(a,b,c,d,e){if(c)for(var f=0;fb?1:a==b?0:-1}function Bt(a,b){return-yt(a,b)}function zt(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function Ct(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:b-a}
function Dt(a){for(var b;a instanceof qi;){b=a.tag;if(m(b))return b;a=a.parent()}}function Et(a,b){if(!a)return!1;for(;b instanceof xd&&b!=a;)b=b.gi();return b==a}function At(a){return z(a)?"o"+na(a):(typeof a).charAt(0)+a}function N(a,b,c){a=ma(a)?a:!isNaN(b)&&Ft(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function Ft(a){return B(a)&&za(a,"%")&&!isNaN(parseFloat(a))}
function Gt(a,b){if(null===a)return null;a=m(a)?a:0;b=m(b)?b:0;var c=Ft(a),d=parseFloat(a);return isNaN(d)?b:c?a:d}function Ht(a,b){if(Ft(a))return a;ma(a)||(a=parseFloat(a));return isNaN(a)?b?NaN:"0%":a+"%"}function S(a){return null==a||la(a)?NaN:+a}function It(a){return B(a)?a:S(a)}function Jt(a){return ma(a)&&!isNaN(a)||B(a)&&""!=Da(a)?a:null}function Kt(a){return isNaN(S(a))}function Lt(a,b,c){ma(a)||(a=parseFloat(a));a=Math.round(a);return!isNaN(a)&&(0c&&(c+=b);c>=b&&(c-=b);return ms(a-c,7)}
function Zt(a,b,c){c=ms((a-(c||0))%b,7);c>=b&&(c-=b);if(c)0>c&&(c+=b);else return ms(a,7);return ms(a+b-c,7)}
function $t(a,b,c){var d=new Date(a),e=d.getUTCFullYear(),f=d.getUTCMonth(),h=d.getUTCDate(),k=d.getUTCHours(),l=d.getUTCMinutes(),n=d.getUTCSeconds(),p=d.getUTCMilliseconds();if(b.u)return e=Yt(e,b.u,(new Date(c)).getUTCFullYear()),Date.UTC(e,0);if(b.j)return f=Yt(f,b.j),Date.UTC(e,f);if(!b.b||b.b%7)return b.b?(h=Yt(h,b.b),Date.UTC(e,f,h)):b.g?(k=Yt(k,b.g),Date.UTC(e,f,h,k)):b.i?(l=Yt(l,b.i),Date.UTC(e,f,h,k,l)):1<=b.f?(n=Yt(n,b.f),Date.UTC(e,f,h,k,l,n)):b.f?(p=Yt(p,1E3*b.f),Date.UTC(e,f,h,k,l,n,
p)):a;a=au(bu());return Yt(d.getTime(),864E5*b.b,Date.UTC(2E3,0,2+(a?a.firstDayOfWeek:0)))}
function cu(a,b,c){var d=new Date(a),e=d.getUTCFullYear(),f=d.getUTCMonth(),h=d.getUTCDate(),k=d.getUTCHours(),l=d.getUTCMinutes(),n=d.getUTCSeconds(),p=d.getUTCMilliseconds();switch(b){case "year":return e=Yt(e,c,(new Date(2E3)).getUTCFullYear()),Date.UTC(e,0);case "semester":return f=Yt(f,6*c),Date.UTC(e,f);case "quarter":return f=Yt(f,3*c),Date.UTC(e,f);case "month":return f=Yt(f,c),Date.UTC(e,f);case "thirdofmonth":return Yt(d.getTime(),864E6*c,Date.UTC(2E3,0,2));case "week":return a=au(bu()),
Yt(d.getTime(),6048E5*c,Date.UTC(2E3,0,2+(a?a.firstDayOfWeek:0)));case "day":return Yt(d.getTime(),864E5*c,Date.UTC(2E3,0,2));case "hour":return k=Yt(k,c),Date.UTC(e,f,h,k);case "minute":return l=Yt(l,c),Date.UTC(e,f,h,k,l);case "second":return n=Yt(n,c),Date.UTC(e,f,h,k,l,n);case "millisecond":return p=Yt(p,c),Date.UTC(e,f,h,k,l,n,p)}return a}
function du(a,b){var c,d;switch(a){case "year":c=Qs;d=b;break;case "semester":c=Rs;d=6*b;break;case "quarter":c=Rs;d=3*b;break;case "month":c=Rs;d=b;break;case "thirdofmonth":c=Ss;d=10*b;break;case "week":c=Ss;d=7*b;break;case "day":c=Ss;d=b;break;case "hour":c=Ts;d=b;break;case "minute":c=Us;d=b;break;case "second":c=Vs;d=b;break;case "millisecond":c=Vs;d=b/1E3;break;default:c=Qs,d=b}return new Ps(c,d)}function eu(a,b,c){b=(b&1)/2;return.5<=a%1?Math.ceil(a)-(c?-b:b):Math.floor(a)+(c?-b:b)}
function fu(a){var b=a.Ja(),c=a.Ea();a.left=eu(a.left,0);a.top=eu(a.top,0);a.width=eu(b,0)-a.left;a.height=eu(c,0)-a.top;return a}function gu(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 hu(a){for(var b=0,c=arguments.length;bb;b++)a.lineTo(c+e*Fu[b],d+e*Gu[b]);a.lineTo(c+e*Fu[0],d+e*Gu[0]);a.close();return a};case "square":return function(a,c,d,e,f){var b=c-e,k=d-e;c+=e;d+=e;m(f)&&(f=f||0,b=eu(b,f),k=eu(k,f),c=eu(c,f),d=eu(d,f));a.moveTo(b,
k).lineTo(c,k).lineTo(c,d).lineTo(b,d).lineTo(b,k).close();return a};case "vline":case "line":return function(a,c,d,e,f){f=f||0;e*=2;var b=e/2;c-=b/2;d-=e/2;b=c+b;e=d+e;m(f)&&(f=f||0,c=eu(c,f),d=eu(d,f),b=eu(b,f),e=eu(e,f));a.moveTo(c,d).lineTo(b,d).lineTo(b,e).lineTo(c,e).lineTo(c,d).close();return a};case "arrowup":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,p=c+k,k=c-k;m(f)&&(f=f||0,e=eu(e,f),l=eu(l,f),n=eu(n,f),b=eu(b,f),p=eu(p,f),k=eu(k,f),c=eu(c,f),d=eu(d,f));a.moveTo(c,
b);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 b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,p=c+k,k=c-k;m(f)&&(f=f||0,e=eu(e,f),l=eu(l,f),n=eu(n,f),b=eu(b,f),p=eu(p,f),k=eu(k,f),c=eu(c,f),d=eu(d,f));a.moveTo(c,n);a.lineTo(e,d,p,d,p,b,k,b,k,d,l,d);a.close();return a};case "arrowleft":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,p=d+k,k=d-k;m(f)&&(f=f||0,e=eu(e,f),l=eu(l,f),n=eu(n,f),b=eu(b,f),p=eu(p,f),k=eu(k,f),c=eu(c,
f),d=eu(d,f));a.moveTo(l,d);a.lineTo(c,n,c,p,e,p,e,k,c,k,c,b);a.close();return a};case "arrowright":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,p=d+k,k=d-k;m(f)&&(f=f||0,e=eu(e,f),l=eu(l,f),n=eu(n,f),b=eu(b,f),p=eu(p,f),k=eu(k,f),c=eu(c,f),d=eu(d,f));a.moveTo(e,d);a.lineTo(c,n,c,p,l,p,l,k,c,k,c,b);a.close();return a};default:return Fj}}
function Iu(a,b,c,d){var e=new es;c=!0;z(d)&&(e.Az(d.rowsSeparator),e.Ox(d.columnsSeparator),e.Vy(d.ignoreTrailingSpaces),c=!d.ignoreFirstRow,e.Ty(c));if(a=e.Ax(a)){d=Xg("table");b&&(e=Xg("caption"),ch(e,b),d.appendChild(e));var f,h;c&&(f=Xg("thead"),h=Xg("tr"),f.appendChild(h));b=Xg("tbody");for(e=0;e=a||96<=a&&106>=a||65<=a&&90>=a||(Ac||xc)&&!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 Mu(a){if(zc)a=Nu(a);else if(Bc&&Ac)switch(a){case 93:a=91}return a}
function Nu(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 Ou(a,b){xd.call(this);a&&Pu(this,a,b)}F(Ou,xd);g=Ou.prototype;g.cd=null;g.BD=null;g.hK=null;g.CD=null;g.ll=-1;g.Hs=-1;g.TF=!1;
var Qu={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},Ru={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},Su=wc||xc||Ac&&Kc("525"),Tu=Bc&&zc;g=Ou.prototype;
g.r7=function(a){(Ac||xc)&&(17==this.ll&&!a.ctrlKey||18==this.ll&&!a.altKey||Bc&&91==this.ll&&!a.metaKey)&&this.sE();-1==this.ll&&(a.ctrlKey&&17!=a.keyCode?this.ll=17:a.altKey&&18!=a.keyCode?this.ll=18:a.metaKey&&91!=a.keyCode&&(this.ll=91));Su&&!Ku(a.keyCode,this.ll,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.Hs=Mu(a.keyCode),Tu&&(this.TF=a.altKey))};g.sE=function(){this.Hs=this.ll=-1};g.U7=function(a){this.sE();this.TF=a.altKey};
g.handleEvent=function(a){var b=a.Hi,c,d,e=b.altKey;wc&&"keypress"==a.type?(c=this.Hs,d=13!=c&&27!=c?b.keyCode:0):(Ac||xc)&&"keypress"==a.type?(c=this.Hs,d=0<=b.charCode&&63232>b.charCode&&Lu(c)?b.charCode:0):vc&&!Ac?(c=this.Hs,d=Lu(c)?b.keyCode:0):(c=b.keyCode||this.Hs,d=b.charCode||0,Tu&&(e=this.TF),Bc&&63==d&&224==c&&(c=191));var f=c=Mu(c);c?63232<=c&&c in Qu?f=Qu[c]:25==c&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in Ru&&(f=Ru[b.keyIdentifier]);a=f==this.ll;this.ll=f;b=new Uu(f,d,a,b);
b.altKey=e;this.dispatchEvent(b)};g.Ia=function(){return this.cd};function Pu(a,b,c){a.CD&&Vu(a);a.cd=b;a.BD=id(a.cd,"keypress",a,c);a.hK=id(a.cd,"keydown",a.r7,c,a);a.CD=id(a.cd,"keyup",a.U7,c,a)}function Vu(a){a.BD&&(rd(a.BD),rd(a.hK),rd(a.CD),a.BD=null,a.hK=null,a.CD=null);a.cd=null;a.ll=-1;a.Hs=-1}g.ca=function(){Ou.G.ca.call(this);Vu(this)};function Uu(a,b,c,d){Tc.call(this,d);this.type="key";this.keyCode=a;this.D=b;this.repeat=c}F(Uu,Tc);var Wu=ca.acgraph;Tn.prototype.D=!1;Tn.prototype.u=function(a){this.re||(this.re=new Lq(this,this.D),this.re.P(Cr("stageCredits")));return m(a)?(this.re.P(a),this):this.re};var Xu=0,Yu=[];function Zu(a,b){Xu?Yu.push(sa(a,b)):a.apply(b)}function $u(){Xu--;if(!Xu)for(var a=Yu.slice(0),b=Yu.length=0;be;e++){c=e;for(var f=0;8>f;f++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}wu=d}c=-1;for(d=0;d>>8^wu[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a}var jv=[],kv=[],lv=[];
function Cr(a){var b;kv.length||(kv.push(ca.anychart.themes.defaultTheme||{}),lv.push(kv[0]));for(b=kv.length-1;bc.length?c[0]:c[b]):0}
g.parent=function(a){return m(a)?(this.ja!=a&&(a?(this.ja&&zx(this.ja,this.pH,this),this.ja=a,T(this.ja,this.pH,this)):(zx(this.ja,this.pH,this),this.ja=null)),this):this.ja};g.pH=function(a){var b=0,c=0;W(a,1)&&(b|=16,c|=1);W(a,8)&&(b|=4,c|=8);W(a,32768)&&(b|=1,c|=1);this.g=null;this.o(b,c)};function Oy(a,b,c,d,e,f,h){switch(a.O("cornerType")){case "round":b.Sd(e,f,h,h,!1,!0);break;case "roundInner":b.Sd(e,f,h,h,!1,!1);break;case "cut":b.lineTo(e,f);break;default:b.lineTo(c,d).lineTo(e,f)}}
g.nJ=function(){return this.eb()};
g.Y=function(){if(!this.Sb())return this;var a=this.O("fill")||"none",b=this.O("stroke"),c=this.O("topStroke"),d=this.O("rightStroke"),e=this.O("bottomStroke"),f=this.O("leftStroke"),h=!!(c||d||e||f),k=c&&d&&e&&f,l,n,p=this.R()?this.R().Ca():null,q=p&&!p.Bd();q&&p.me();if(V(this,4)){this.Ma||(this.Ma=tj());k&&this.b?this.b.clear().parent(null):(this.b||(this.b=bj()),this.b.parent(this.Ma),this.b.clear());h?(this.i||(this.i=bj()),this.i.parent(this.Ma),this.i.clear()):this.i&&this.i.clear().parent(null);
if(this.F)for(k=0,l=this.F.length;kd||c>e)return 1;if(bd)return 1}else if(a.ba){if(ce)return 1}return 0}
function ez(a){var b=a.la(),c,d,e;b?(c=b.width,b=b.height,null!=a.bb?(a.aa=d=N(a.bb,c),c=!1):(d=0,c=!0),null!=a.Nb?(a.X=e=N(a.Nb,b),b=!1):(e=0,b=!0)):(Kt(a.bb)?(c=!0,d=0):(c=!1,a.aa=d=S(a.bb)),Kt(a.Nb)?(b=!0,e=0):(b=!1,a.X=e=S(a.Nb)));var f=a.fg();a.b.width(null);a.b.height(null);c?(d+=a.b.vb().width,a.fa=d,a.aa=f.Qh(d)):d=a.fa=f.eg(d);a.b.width(a.fa);b?(e+=a.b.vb().height,a.ha=e,a.X=f.kh(e)):e=a.ha=f.dg(e);a.b.height(a.ha);var h=!c&&a.U||!b&&a.ba;H(a);if(h){var h=Math.round((a.ka+a.qa)/2),k=a.qa,
l=a.ka,n;n=a.F;var p=vj();p.$c("aria-hidden","true");a.ze(p,!0);a.F=n;p.fontSize(a.ka);if(0>=dz(a,p.vb().width,p.vb().height,d,e))d=a.ka;else{p.fontSize(h);for(var q=n=dz(a,p.vb().width,p.vb().height,d,e);k!=l;){if(0>n)k=Math.min(h+1,l),h+=Math.floor((l-h)/2);else if(0=q*n)break}if(n){do h+=q,p.fontSize(h),n=dz(a,p.vb().width,p.vb().height,d,e);while(0>q*n);Qb(p);0b?null:b;m(a.width())||a.o(4)}function cA(a,b){a.N=0>b?null:b;m(a.height())||a.o(4)}g.margin=function(a,b,c,d){this.sc||(this.sc=new Gz,G(this,this.sc),T(this.sc,this.rP,this));return m(a)?(this.sc.P.apply(this.sc,arguments),this):this.sc};
g.Rl=function(a,b,c,d){this.Sa||(this.Sa=new az,G(this,this.Sa),T(this.Sa,this.rP,this));return m(a)?(this.Sa.P.apply(this.Sa,arguments),this):this.Sa};function dA(a,b){if(m(b)){var c=a.O("orientation")!=b;a.ad.orientation=b;c&&a.o(4);return a}return a.ad.orientation}g.K3=function(a,b){if(m(a)){if(B(a))if(m(b)){if(a in this.D)this[a](b)}else return this.Jb(a);else if(z(a))for(var c in a)if(c in this.D)this[c](a[c]);return this}c={};for(var d in this.j)d in this.D&&(c[d]=this.j[d]);return c};
function eA(a,b){if(m(b)){var c=null==b?"":String(b);a.W!=c&&(a.W=c,a.o(20,9));return a}return a.W}g.o=function(a,b){var c=Zz.G.o.call(this,a,b);!c&&this.Ra&&this.ra(b||0);return c};function fA(a){var b=!1;a.kb||(b=!0,a.kb=tj(),a.Qp().R(a.kb),a.Rb=a.kb.text(),a.Rb.zIndex(.1),a.Rb.$c("aria-hidden","true"),G(a,a.kb),Tx(a,a.kb));return b}
g.Y=function(){if(!this.Sb())return this;var a=fA(this),b=this.R();H(this);V(this,2)&&(this.kb.parent(b),this.K(2));V(this,8)&&(this.kb.zIndex(this.zIndex()),this.K(8));V(this,16)&&(this.ze(a),this.K(16));V(this,4)&&(gA(this),this.Rb.x(N(this.Rl().O("left"),this.f)),this.Rb.y(N(this.Rl().O("top"),this.b)),this.kb.Pb(this.u.Tc,this.u.Hd,this.u.Nd,this.u.Cd,this.u.Uc,this.u.Vc),this.o(64),this.K(4));V(this,64)&&(a=this.Qp(),H(a),a.la(0,0,this.f,this.b),a.Y(),a.ia(!1),this.K(64));this.ia(!1);return this};
g.remove=function(){this.kb?this.kb.parent(null):this.Rb&&this.Rb.parent(null)};g.Ic=function(){var a=this.la(),a=a?a.clone():Ks(0,0,0,0);if(!this.enabled())return a;this.nb&&!V(this,4)||gA(this);switch(this.O("orientation")){case "top":a.top+=this.nb.height;a.height-=this.nb.height;break;case "right":a.width-=this.nb.width;break;case "bottom":a.height-=this.nb.height;break;case "left":a.left+=this.nb.width,a.width-=this.nb.width}return a};
g.Ef=function(){if(!this.enabled())return new J(0,0,0,0);this.nb&&!V(this,4)||gA(this);return this.nb.clone()};
g.ze=function(a){var b=this.O("text"),c=eA(this),d=this.O("useHtml");if(a||m(b)||m(c)||m(d))a=!b&&m(c)?c:b,d?this.Rb.htmlText(a):this.Rb.text(a);this.Rb.fontSize(this.O("fontSize"));this.Rb.fontFamily(this.O("fontFamily"));this.Rb.color(this.O("fontColor"));this.Rb.Bp(this.O("textDirection"));this.Rb.zt(this.O("textWrap"));this.Rb.opacity(this.O("fontOpacity"));this.Rb.bn(this.O("fontDecoration"));this.Rb.fontStyle(this.O("fontStyle"));this.Rb.fontVariant(this.O("fontVariant"));this.Rb.fontWeight(this.O("fontWeight"));
this.Rb.letterSpacing(this.O("letterSpacing"));this.Rb.xt(this.O("lineHeight"));this.Rb.yt(this.O("textIndent"));this.Rb.Jm(this.O("vAlign"));this.Rb.ek(this.O("hAlign"));this.Rb.Tk(this.O("textOverflow"));this.Rb.Cp(this.O("selectable"));this.Rb.xc(this.O("disablePointerEvents"))};
function hA(a){var b=a.Jb("rotation");delete a.ad.rotation;b=m(b)?b:a.O("rotation");if(m(b))return b;switch(a.O("orientation")){case "left":return a.ad.rotation=-90;case "right":return a.ad.rotation=90;default:return a.ad.rotation=0}}
function gA(a){var b=a.Rl(),c=a.margin(),d=a.la(),e,f,h=a.O("orientation"),k=!(hA(a)%180);f=!((hA(a)+90)%180);d?f?(e=d.height,f=d.width):(e=d.width,f=d.height):e=f=void 0;var l=fA(a);if(l||V(a,16))a.ze(l),a.K(16);a.Rb.width(null);a.Rb.height(null);a.Rb.Pb(1,0,0,1,0,0);var l=a.Rb.vb(),n=a.Mc("width")?a.Jb("width"):a.U||null;null===n?(a.J=l.width,a.f=b.Qh(a.J)):(a.f=N(n,e),a.J=b.eg(a.f));d&&e=a.documentMode)?Ah(this.f,tA):Ah(this.f,sA);Ah(this.Ca().Qj(),lA);Ah(this.Ca().ga(),uA);this.u()};rA.prototype.u=function(){var a;a=this.i;a=a.b?a.b.clone():null;this.Ca().wt(a.width,a.height)};rA.prototype.Gs=function(){return!1};function vA(a,b,c){this.b={values:a||{},Zg:b||null,Tg:c||[],Oi:{},mi:{}};this.b.Oi["%Value"]="value";this.b.Oi["%YValue"]="value";this.b.Oi["%Index"]="index"}g=vA.prototype;g.values=function(a){return m(a)?(this.b.values=a,this):this.b.values};g.Zg=function(a){return m(a)?(this.b.Zg=a,this):this.b.Zg};g.Tg=function(a){return m(a)?(this.b.Tg=a,this):this.b.Tg};g.Oi=function(a){return m(a)?(this.b.Oi=a,this):this.b.Oi};g.mi=function(a){return m(a)?(this.b.mi=a,this):this.b.mi};
g.wr=function(a){var b=this.b.Zg;return b?b.get.apply(b,arguments):void 0};g.rZ=function(a){var b=this.b.Zg?this.b.Zg.B(a):void 0;m(b)||(b=(b=this.b.values.series)?b.value.B(a):void 0);return b};g.ff=function(a){var b=void 0;if(a)for(var c=0;cc?d=this.f.dw[c]:8>c?d=this.f.ew[c-4]:(d=this.f.pF[c-8],d=d.replace("{1}",this.f.dw[c-8]),d=d.replace("{0}",this.f.ew[c-8]));AA(this,d)}else AA(this,a)}
function AA(a,b){for(var c=!1,d="",e=0;e=a.count)return!1;var b="MydhHmsSDkK".indexOf(a.text.charAt(0));return 0a.count}function DA(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)}
function EA(a,b,c,d,e,f){DA(b,c);var h=c[0],k=d.text.charAt(0),l=-1;if(CA(d))if(0b.length)return!1;l=FA(a,b.substring(0,h+e),c)}else l=FA(a,b,c);switch(k){case "G":return l=GA(b,c,a.f.qF),0<=l&&(f.era=l),!0;case "M":case "L":a:{d=l;if(0>d){a=a.f.uF.concat(a.f.AF).concat(a.f.wF).concat(a.f.BF);d=GA(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=GA(b,c,a.f.DF),0>d&&(d=GA(b,c,a.f.yF)),0>d?f=!1:(f.f=d,f=!0),f;case "a":return l=GA(b,c,a.f.oF),0<=l&&
(f.i=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=FA(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.F=b==a,b+=100*Math.floor(c/100)+(bl?(d=GA(b,c,a.f.vF),0>d&&(d=GA(b,c,a.f.xF)),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.D=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.b=l),!0;case "m":return 0<=l&&(f.j=l),!0;case "s":return 0<=l&&(f.u=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.g=0,f=!0;else{d=1;switch(b.charAt(c[0])){case "-":d=-1;case "+":c[0]++}h=c[0];l=FA(a,b,c);if(0>l)f=!1;else{if(c[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.g=-(n*d);f=!0}}return f;
default:return!1}}function FA(a,b,c){if(a.f.EF){for(var d=[],e=c[0];e=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 GA(a,b,c){var d=0,e=-1;a=a.substring(b[0]).toLowerCase();for(var f=0;fd&&!a.indexOf(c[f].toLowerCase())&&(e=f,d=h)}0<=e&&(b[0]+=d);return e}function HA(){};E("anychart.format.locales.default.dateTimeLocale",{eras:["BC","AD"],eraNames:["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"],firstDayOfWeek:0,
weekendRange:[5,6],firstWeekCutOffDay:3,dateFormat:"y MMM d",timeFormat:"HH:mm:ss",dateTimeFormat:"y MMM d 'at' HH:mm:ss",formats:{full_year:"yyyy",full_year_semester:"MMM yyyy",full_year_quarter:"MMM yyyy",full_year_month:"MMM yyyy",full_year_third_of_month:"dd MMM yyyy",full_year_week:"dd MMM yyyy",full_year_day:"dd MMM yyyy",full_year_hour:"HH dd MMM yyyy",full_year_minute:"dd MMM yyyy, HH:mm",full_year_second:"dd MMM yyyy, HH:mm:ss",full_year_millisecond:"dd MMM yyyy, HH:mm:ss.SSS",timeline_year:["yyyy",
"yy"],timeline_year_semester:["MMMM yyyy","MMM ''yyyy","MMM ''yy","MM ''yy"],timeline_year_quarter:["MMMM yyyy","MMM ''yyyy","MMM ''yy","MM ''yy"],timeline_year_month:["MMMM yyyy","MMM ''yyyy","MMM ''yy","MM ''yy"],timeline_year_third_of_month:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),timeline_year_week:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),timeline_year_day:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),
timeline_semester:["MMMM","MMM","MM"],timeline_semester_quarter:["MMMM","MMM","MM"],timeline_semester_month:["MMMM","MMM","MM"],timeline_semester_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_semester_week:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_semester_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter:["MMMM","MMM","MM"],timeline_quarter_month:["MMMM",
"MMM","MM"],timeline_quarter_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter_week:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_month:["MMMM","MMM","MM"],timeline_month_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_month_week:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),
timeline_month_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_third_of_month:["dd"],timeline_third_of_month_week:["dd"],timeline_third_of_month_day:["EEEE, dd","EE, dd","dd"],timeline_week:["dd"],timeline_week_day:["EEEE, dd","EE, dd","dd"],timeline_day:["EEEE, dd","EEEE","EE, dd","EE","dd"],year:"yyyy",year_semester:"yyyy MMM",year_quarter:"yyyy MMM",year_month:"yyyy MMM",year_third_of_month:"MMM dd",year_week:"MMM dd",year_day:"MMM dd",year_hour:"MMM-dd HH",
year_minute:"dd HH:mm",year_second:"HH:mm:ss",year_millisecond:"HH:mm:ss.SSS",semester:"MMM",semester_quarter:"MMM",semester_month:"MMM",semester_third_of_month:"dd",semester_week:"dd",semester_day:"dd",semester_hour:"HH",semester_minute:"HH:mm",semester_second:"HH:mm:ss",semester_millisecond:"SSS",quarter:"MMM",quarter_month:"MMM",quarter_third_of_month:"dd",quarter_week:"dd",quarter_day:"dd",quarter_hour:"HH",quarter_minute:"HH:mm",quarter_second:"HH:mm:ss",quarter_millisecond:"SSS",month:"MMM",
month_third_of_month:"dd",month_week:"dd",month_day:"dd",month_hour:"HH",month_minute:"HH:mm",month_second:"HH:mm:ss",month_millisecond:"SSS",third_of_month:"dd",third_of_month_week:"dd",third_of_month_day:"dd",third_of_month_hour:"HH",third_of_month_minute:"HH:mm",third_of_month_second:"HH:mm:ss",third_of_month_millisecond:"SSS",week:"dd",week_day:"dd",week_hour:"HH",week_minute:"HH:mm",week_second:"HH:mm:ss",week_millisecond:"SSS",day:"dd",day_hour:"HH",day_minute:"HH:mm",day_second:"HH:mm:ss",
day_millisecond:"SSS",hour:"HH",hour_minute:"HH:mm",hour_second:"HH:mm:ss",hour_millisecond:"SSS",minute:"HH:mm",minute_second:"HH:mm:ss",minute_millisecond:"SSS",second:"HH:mm:ss",second_millisecond:"SSS",millisecond:"SSS",timelineHeader_year:"yyyy",timelineHeader_year_month:"MMMM, yyyy",timelineHeader_year_week:"dd MMM yy",timelineHeader_year_quarter:"MMM yyyy",timelineHeader_year_day:"dd MMM yy",timelineHeader_quarter_month:"MMMM",timelineHeader_month_week:"dd-MMM",timelineHeader_week_day:"d MMM, EEE",
timelineHeader_day_hour:"HH:mm",timelineHeader_hour_minute:"H:mm"}});E("anychart.format.locales.default.numberLocale",{decimalsCount:1,decimalPoint:".",groupsSeparator:"",scale:!1,zeroFillDecimals:!1,scaleSuffixSeparator:"",useBracketsForNegative:!1});E("anychart.format.locales.default.messages",{});
var IA=/^([-]?\d+\.?\d*)(.*?)?$/,JA={factors:[1E15,1E12,1E9,1E6,1E3,1E3,1,.001,1E-6,1E-9],suffixes:"P T G M K k m u n".split(" ")},KA="default",LA=null,PA=NaN,QA="default",RA=null,SA=null,TA=null,UA=0,VA={},WA={},XA={},YA={};function ZA(a){z(a)||(a=ca.anychart.format.locales[String(a)]);return a||null}function au(a){return(a=ZA(a))&&a.dateTimeLocale||null}function $A(a){return(a=ZA(a))&&a.numberLocale||null}function aB(a,b){var c=au(a);return c&&c[b||"dateTimeFormat"]||null}
function bB(a){if(!a)return Ms;var b=na(a);b in YA||(YA[b]={qF:a.eras,VL:a.eraNames,WL:a.narrowMonths,XL:a.standaloneNarrowMonths,uF:a.months,AF:a.standaloneMonths,wF:a.shortMonths,BF:a.standaloneShortMonths,DF:a.weekdays,$L:a.standaloneWeekdays,yF:a.shortWeekdays,ZL:a.standaloneShortWeekdays,AW:a.narrowWeekdays,YL:a.standaloneNarrowWeekdays,xF:a.shortQuarters,vF:a.quarters,oF:a.ampms||a.amPmS,dw:a.dateFormats||[],ew:a.timeFormats||[],pF:a.dateTimeFormats||[],rF:a.firstDayOfWeek,hX:a.weekendRange,
sF:a.firstWeekCutOffDay||a.firstWeekCutOfDay});return YA[b]}function cB(a){m(a)&&(PA=ja(a)?a.getTime():S(a));return isNaN(PA)?(a=new Date,a.setTime(Date.UTC(a.getUTCFullYear(),a.getUTCMonth())),a):new Date(PA)}function bu(a){m(a)&&(B(a)||z(a)?QA=a:QA="default");return QA}function dB(a){m(a)&&(B(a)?RA=a:RA=null);return RA||aB(QA)||aB("default")||"yyyy.MM.dd"}function eB(a){m(a)&&(B(a)?SA=a:SA=null);return SA||aB(QA,"dateFormat")||aB("default","dateFormat")||"yyyy.MM.dd"}
function fB(a){m(a)&&(B(a)?TA=a:TA=null);return TA||aB(QA,"timeFormat")||aB("default","timeFormat")||"HH:mm:ss"}function gB(a){m(a)&&(UA=S(a)||0);return UA}
function hB(a,b,c,d){if(ja(a))return a;if(ma(a))return isNaN(a)?null:new Date(a);if(B(a)){if(b=(m(b)?b:LA)||null){d=au(d)||au(KA)||au("default");var e=na(d),e=b+e,f;e in WA||(d=bB(d),WA[e]=new zA(b,d));f=WA[e];c=ja(c)?c:cB();(b=-1==b.replace(/'.+?'/g,"").search(/z+/i)?6E4*c.getTimezoneOffset():0)&&c.setTime(c.getTime()+b);d=a.length;a:{for(var h=new HA,e=[0],k=-1,l=0,n=0,p=0;pk&&f.b[p].tt&&(k=p,n=l=0),0<=k){var q=f.b[p].count;if(p==k&&(q-=n,n++,0==q)){a=0;break a}EA(f,
a,e,f.b[p],q,h)||(p=k-1,e[0]=l)}else{if(k=-1,!EA(f,a,e,f.b[p],0,h)){a=0;break a}}else{k=-1;if(" "==f.b[p].text.charAt(0)){if(q=e[0],DA(a,e),e[0]>q)continue}else if(a.indexOf(f.b[p].text,e[0])==e[0]){e[0]+=f.b[p].text.length;continue}a=0;break a}b:{void 0!=h.era&&void 0!=h.year&&!h.era&&0f?
f:a));D(c.setHours)&&(void 0==h.b&&(h.b=c.getHours()),void 0!=h.i&&0h.b&&(h.b+=12),c.setHours(h.b));D(c.setMinutes)&&void 0!=h.j&&c.setMinutes(h.j);D(c.setSeconds)&&void 0!=h.u&&c.setSeconds(h.u);D(c.setMilliseconds)&&void 0!=h.D&&c.setMilliseconds(h.D);void 0!=h.g&&c.setTime(c.getTime()+6E4*(h.g-c.getTimezoneOffset()));h.F&&(a=new Date,a.setFullYear(a.getFullYear()-80),c.getTime()a)&&(a=-a);n="";if(z(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),u=0;u=p||1>=p&&a>.1*p){n=e[u];break}n?n=h+n:p=1;a/=p}f=f?a.toFixed(b):ms(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.inputLocale",function(a){m(a)&&(B(a)||z(a)?KA=a:KA="default");return KA});E("anychart.format.inputBaseDate",cB);E("anychart.format.inputDateTimeFormat",function(a){m(a)&&(B(a)?LA=a:LA=null);return LA});E("anychart.format.outputLocale",bu);E("anychart.format.outputTimezone",gB);E("anychart.format.outputDateFormat",eB);E("anychart.format.outputTimeFormat",fB);
E("anychart.format.outputDateTimeFormat",dB);E("anychart.format.parseDateTime",hB);
E("anychart.format.parseNumber",function(a,b){var c=$A(b)||$A(KA)||$A("default"),d=1;if(B(a)){c.useBracketsForNegative&&"("==a.charAt(0)&&")"==a.charAt(a.length-1)&&(d=-1,a=a.substring(1,a.length-1));a=a.replace(c.decimalPoint,".");a=a.replace(new RegExp(Ra(c.groupsSeparator),"g"),"");var e=c.scale;!0===e&&(e=JA);if(z(e)&&r(e.factors)&&r(e.suffixes)){a=a.replace(new RegExp(Ra(c.scaleSuffixSeparator),"g"),"");var f=a.match(IA);if(!f)return NaN;var h=1;a=+f[1];if(f=f[2])for(var k=e.factors,e=e.suffixes,
l=Math.min(k.length,e.length),n=0;nd.left-v+c&&(h-=d.left-v+c),0>d.top-w+e&&(k-=d.top-w+e),d.Ja()-v+c>l.width&&(h-=d.Ja()-v+c-l.width),d.Ea()-w+e>l.height&&(k-=d.Ea()-w+e-l.height));q||(b.x(h),b.y(k),d=b.eb(),d.leftf.width+v&&(h-=d.Ja()-f.width-v),d.Ea()>f.height+w&&(k-=d.Ea()-f.height-w));u||(b.x(h),b.y(k),d=b.eb(),d.lefta.Ja()+v&&(h-=d.Ja()-v-a.Ja()),d.Ea()>a.Ea()+w&&(k-=
d.Ea()-w-a.Ea()));b.x(h);b.y(k)}
function DB(a,b,c,d,e,f){if(a.check(3)&&(a.b=e?e.ub():a,EB(a,[a.b]),a.b.enabled())){for(var h={clientX:{value:c,type:"number"},clientY:{value:d,type:"number"},formattedValues:{value:[],type:""},points:{value:[],type:""}},k=[],l=0;ld.Ea()?(e=d.$a(),f=d.Ja(),h=d.Ab(),k=d.Ea(),c+=2):(e=f=d.$a()+2,h=d.Ab(),k=d.Ea(),b-=2);else if(b>d.Ja())cd.Ea()?(e=d.$a(),f=d.Ja(),h=d.Ea(),k=d.Ab(),c+=2):(e=f=d.Ja()-2,h=d.Ab(),k=d.Ea(),b+=2);else if(c<
d.Ab())h=k=d.Ab()+2,e=d.Ja(),f=d.$a(),c-=2;else if(c>d.Ea())h=k=d.Ea()-2,e=d.$a(),f=d.Ja(),c+=2;else break a;a.J=[e,h,f,k,b,c]}qd(document,"mousemove",a.TD,!1,a)}else e&&d.xc(!0)}}function KB(a,b,c,d){vB(a);a.b=a;d&&(d.clientX=b,d.clientY=c,eA(a.title(),GB(a,d)),a.ug().text(FB(a,d)));wB(a,a);AB(a,a,b,c);HB(a,b,c)}
function LB(a,b,c){var d=a.O("displayMode");"single"==d&&(AB(a,a.b,b,c),HB(a.b,b,c));if("union"==d)AB(a,a.b,b,c),HB(a.b,b,c);else if("separated"==d)for(var e in a.D)if(d=a.D[e])JB(a,d,b,c),HB(d,b,c)}function GB(a,b){b.values().titleText={value:a.yb.O("text"),type:"string"};wA(b);var c=a.O("titleFormat");B(c)&&(c=MB(NB.dd(),c));return c.call(b,b)}
function FB(a,b,c){b.values().valuePrefix={value:a.O("valuePrefix")||"",type:"string"};b.values().valuePostfix={value:a.O("valuePostfix")||"",type:"string"};wA(b);a=c?a.O("unionFormat"):a.O("format");B(a)&&(a=MB(NB.dd(),a));return a.call(b,b)}g.ug=function(a){this.N||(this.N=new gz,T(this.N,this.U9,this),this.N.Ya(this),this.N.width("100%").height("100%"),G(this,this.N));return m(a)?(this.N.P(a),this):this.N};
g.content=function(a){L(405,null,[".content()","the following behaviour",": the method called through the .content()-method should be applied to the .tooltip()-method directly"]);return this.ug(a)};g.U9=function(a){W(a,8)?(this.U=this.F=null,this.o(1988,1)):W(a,1)&&this.o(512,1)};
function tB(a,b,c){if(b)return a.u&&a.u.stop(),a.remove(),!0;if(a.O("selectable")&&c){b=c.originalEvent.clientX;c=c.originalEvent.clientY;var d=a.eb().Je(new Ye(b,c)),e=xB(a).ga();if(e&&!d)return id(e,"mouseleave",a.sD,!1,a),a.J=null,!1;if(OB(a,b,c))return id(document,"mousemove",a.TD,!1,a),e&&(id(xB(a).ga(),"mouseenter",a.HL,!1,a),id(xB(a).ga(),"mouseleave",a.IL,!1,a)),!1;a.J=null}if(a.kv())return uB(a),a.u.tk()||a.u.start(),!1;a.remove();return!0}g.remove=function(){xB(this).parent(null)};
function vB(a){var b;b=a.check(1)&&!fc(a.D);a.title().Ra=b;a.Tm().Aa=b;a.fo().va=b}g.eb=function(){this.U=this.F=null;zB(this);return new J(this.U.x+this.O("offsetX"),this.U.y+this.O("offsetY"),this.F.width,this.F.height)};g.Ef=function(){yB(this);return this.F};g.ze=function(){if(V(this,512)){H(this.ug());for(var a in this.X){var b=this.O(a);m(b)&&this.ug().we(a,b)}this.ug().qr(this.O("adjustFontSize"));this.ug().pB(this.O("minFontSize"));this.ug().oB(this.O("maxFontSize"));this.ug().ia(!1)}};
g.o=function(a,b){var c=qB.G.o.call(this,a,b);!c&&this.check(1)&&!fc(this.D)&&this.ra(b||0);return c};function xB(a){if(!a.f){a.f=tj();G(a,a.f);Tx(a,a.f);var b=a.fo(),c=a.title(),d=a.Tm(),e=a.ug();b.R(a.f);c.R(a.f);d.R(a.f);e.R(a.f)}return a.f}function BB(a,b){return m(b)?(a.ka=b,a):a.ka}function CB(a){return wx&&a.O("allowLeaveStage")&&a.O("allowLeaveChart")}function uB(a){a.u&&a.u.tk()?a.Ha=!0:(Qb(a.u),a.u=new Fd(function(){this.remove();this.Ha&&(this.Ha=!1,uB(this))},a.kv(),a))}
function EB(a,b){b=b||[];for(var c in a.D)hb(b,function(a){return String(na(a))==c})||a.D[c].Xc(!0)}
function yB(a){if(!a.F){H(a.ug());a.ze();a.ug().ia(!1);var b=a.O("width"),c=a.O("height"),d=(a.Da||BB(a)).eb(),b=N(b,d.width),c=N(c,d.height),d=!isNaN(b),e=!isNaN(c),f=new J(0,0,0,0),h,k=null,l=null,n=a.title(),p=a.Tm(),q=a.ug(),t;if(!d||!e){if(n.enabled()){n.la(null);t=n.O("width");var u=null!=n.Jb("width");h=n.O("height");var v=null!=n.Jb("height");Ft(t)&&(k=t,d?(t=a.fg().eg(b),n.width(t)):n.width(null));Ft(h)&&(l=h,e?(t=a.fg().dg(c),n.height(t)):n.height(null));h=n.Ef();f.width=b||Math.max(f.width,
h.width);u?n.width(k):delete n.j.width;v?n.height(l):delete n.j.height;l=k=null;e||(f.height+=h.height)}if(q.enabled()){var w=(u=a.ja?a.ja.ug():null)?u.width():void 0,u=u?u.height():void 0;q.la(null);w=q.width()||w;u=q.height()||u;Ft(w)&&(k=w,d?(t=a.fg().eg(b),q.width(t)):q.width(null));Ft(u)&&(l=u,e?(t=a.fg().dg(c),q.height(t)):q.height(null));w=q.Ef();f.width=b||Math.max(f.width,w.width);k&&q.width(k);l&&q.height(l);e||(f.height+=w.height)}n.enabled()&&n.la(new J(0,0,f.width,h.height));q.enabled()&&
q.la(new J(0,0,f.width,w.height));p.enabled()&&(p.la(n.enabled()||q.enabled()?f:null),h=p.Ef(),f.width=b||Math.max(f.width,h.width),e||(f.height+=h.height))}f=a.fg().OV(f);d&&(f.width=b);e&&(f.height=c);f.left=0;f.top=0;a.F=f}}function zB(a){yB(a);if(!a.U){var b=a.O("anchor"),c=a.O("offsetX"),d=a.O("offsetY"),e=a.O("x"),f=a.O("y"),e=new Ye(e,f);gu(e,b,c,d);b=Nt(a.F,b);e.x-=b.x;e.y-=b.y;a.U=e}}
function JB(a,b,c,d,e){var f=c,h=d,k,l=a.O("positionMode")||"float",n=a.O("displayMode"),p=(a.ua()||BB(a)).eb(),q=a.ka.R().Ca(),t=q.vb();k=Xn(q);var u=CB(b),q=b.O("allowLeaveStage"),v=b.O("allowLeaveScreen"),w=b.O("allowLeaveChart"),x=b.O("offsetX"),y=b.O("offsetY");"float"==l?(f=u?c:c-k.x,h=u?d:d-k.y):"point"==l?(h="union"==n?a.O("position"):b.O("position"),h=e.Vn(h,!0).value,f=u?h.x+k.x:h.x,h=u?h.y+k.y:h.y):"chart"==l&&(f=a.ua().eb(),h="union"==n?a.O("position"):b.O("position"),h=Nt(f,h),f=h.x+
(u?k.x:0),h=h.y+(u?k.y:0));v||(b.x(f),b.y(h),v=u?0:k.x,u=u?0:k.y,k=b.eb(),a=Rg(window),0>k.left-x+v&&(f-=k.left-x+v),0>k.top-y+u&&(h-=k.top-y+u),k.Ja()-x+v>a.width&&(f-=k.Ja()-x+v-a.width),k.Ea()-y+u>a.height&&(h-=k.Ea()-y+u-a.height));q||(b.x(f),b.y(h),k=b.eb(),k.leftt.width+x&&(f-=k.Ja()-t.width-x),k.Ea()>t.height+y&&(h-=k.Ea()-t.height-y));w||(b.x(f),b.y(h),k=b.eb(),k.leftp.Ja()+
x&&(f-=k.Ja()-x-p.Ja()),k.Ea()>p.Ea()+y&&(h-=k.Ea()-y-p.Ea()));b.x(f);b.y(h)}function PB(a){var b=null;BB(a)?b=BB(a).R():a.ua()?b=a.ua().R():a.parent()&&(BB(a.parent())?b=BB(a.parent()).R():a.parent().ua()&&(b=a.parent().ua().R()));return b}
function wB(a,b){if(V(b,2)){var c;if(CB(b))c=rA.dd(),a.j&&a.j.Gs()&&b.j.R(null),b.j=c,b.j.R(document.body),b.R(c.b),xB(b).parent(b.R()),b.K(2);else{var d=PB(b);if(d){var e=QB(b);c=Cu[e];c||(c=new jA,Cu[e]=c);b.j=c;xB(b).parent(b.R());d=d.Ca().Qj();c.R(d);b.R(c.b);b.K(2)}}}}g.TD=function(a){if(OB(this,a.clientX,a.clientY))this.j.Gs()||nA(this.j,!0);else{qd(document,"mousemove",this.TD,!1,this);var b=xB(this).ga();b&&(qd(b,"mouseenter",this.HL,!1,this),qd(b,"mouseleave",this.IL,!1,this));this.sD(a)}};
function OB(a,b,c){if(!a.J)return!1;var d=a.J[0],e=a.J[1],f=a.J[2],h=a.J[3],k=a.J[4],l=a.J[5];a=us(f,h,k,l,b,c);k=us(k,l,d,e,b,c);return us(d,e,f,h,b,c)==a&&a==k}g.HL=function(){qd(document,"mousemove",this.TD,!1,this);xB(this).ga()&&qd(xB(this).ga(),"mouseenter",this.HL,!1,this);this.J=null};g.IL=function(a){xB(this).ga()&&qd(xB(this).ga(),"mouseleave",this.IL,!1,this);this.sD(a)};
g.sD=function(a){if(2==a.Hi.buttons)return!0;this.j.Gs()||nA(this.j,!1);xB(this).ga()&&qd(xB(this).ga(),"mouseleave",this.sD,!1,this);this.J=null;this.kv()?(uB(this),this.u.tk()||this.u.start()):this.Xc(!0)};function QB(a){a=PB(a).Ca();return"stg"+na(a)}
g.parent=function(a){if(m(a)){if(this.ja!=a){var b=String(na(this));a?(this.ja&&zx(this.ja,this.FB,this),this.ja=a,this.title().parent(this.ja.title()),this.Tm().parent(this.ja.Tm()),this.fo().parent(this.ja.fo()),this.fg().parent(this.ja.fg()),this.ug().fg().parent(this.ja.ug().fg()),this.ja.D[b]=this,T(this.ja,this.FB,this)):(zx(this.ja,this.FB,this),this.title().parent(null),this.Tm().parent(null),this.fo().parent(null),this.fg().parent(null),this.ug().fg().parent(null),delete this.ja.D[b],this.ja=
null)}return this}return this.ja};g.FB=function(a){var b=0,c=0;if(W(a,8)||W(a,1))b|=1988,c|=8;W(a,32768)&&(b|=1,c|=1);this.g=null;this.o(b,c)};g.Jb=function(a){return this.W[a]};g.Mc=function(a){return null!=this.W[a]};g.Lc=function(a){return this.Ua[a]};g.O=Jy;g.Dc=function(a,b){this.W[a]=b};g.check=function(a){return m(a)?!!(a&this.Bb):!0};g.tf=function(a){m(a)&&(this.g=a);return this.g};g.Gi=Iy;g.ue=function(){var a=[this.Ua];this.ja&&(a=sb(a,this.ja.ue()));return a};
g.oe=function(){var a=[this.W];this.ja&&(a=sb(a,this.ja.oe()));return a};g.VS=function(a){L(405,null,["isFloating()","positionMode()"]);var b=this.O("positionMode");return m(a)?("float"==b!=a&&this.Dc("positionMode",a?"float":"chart"),this):"float"==b};g.enabled=function(a){return m(a)?(this.W.enabled!=a&&(this.W.enabled=a,this.o(1,32777),this.W.enabled?(this.Xe=!1,this.ia(!0)):isNaN(this.jh)?H(this):this.Xe=!0),this):this.O("enabled")};
g.I=function(){var a={};ny(this,this.X,a);ny(this,this.dA,a);delete a.x;delete a.y;var b=this.title().I();fc(b)||(a.title=b);b=this.Tm().I();fc(b)||(a.separator=b);b=this.fo().I();fc(b)||(a.background=b);b=this.fg().I();fc(b)||(a.padding=b);m(this.ba)&&(a.hideDelay=this.ba);m(this.zIndex())&&(a.zIndex=this.zIndex());this.Mc("enabled")&&(a.enabled=this.W.enabled);return a};
g.$=function(a,b){a.content&&this.content(a.content);a.isFloating&&this.VS(a.isFloating);if(b){for(var c in this.X){var d=a[c];m(d)&&(this.Ua[c]=d)}for(c in this.dA)d=a[c],m(d)&&(this.Ua[c]=d);"enabled"in a&&(this.Ua.enabled=a.enabled)}else my(this,this.X,a),my(this,this.dA,a);this.title().Ba(!!b,a.title);this.Tm().Ba(!!b,a.separator);this.fo().Ba(!!b,a.background);this.fg().Ba(!!b,a.padding);this.kv(a.hideDelay);c=a.contentInternal;if(!(c&&"anchor"in a&&"position"in a)){var e,f;c&&(e=c.position,
f=c.anchor);if(!e||!f){for(var d=this.Gi(),h=0;hb?(w=Math.max(w,p),x+=n,q++,p=e+a.f,n=k+a.f):(p+=e+a.f,n=Math.max(n,k+a.f)):"verticalexpandable"==a.X&&(t+k>c?(x=Math.max(x,t),w+=u,v++,u=e+a.f,t=k+a.f):(t+=k+a.f,u=Math.max(u,e+a.f))));!d||0>f?f=d=0:d-=a.f;!h||
0>l?l=h=0:h-=a.f;a.vc=v;return"vertical"==a.X?Ks(0,0,Math.max(0,f),Math.max(0,h)):"horizontal"==a.X?Ks(0,0,Math.max(0,d),Math.max(0,l)):"verticalexpandable"==a.X?(w+=u-a.f,x=Math.max(x,t)-a.f,Ks(0,0,Math.max(0,w),Math.max(0,x))):"horizontalexpandable"==a.X?(w=Math.max(w,p)-a.f,x+=n-a.f,Ks(0,0,Math.max(0,w),Math.max(0,x))):Ks(0,0,0,0)}
function VB(a){var b=a.la();b&&0>=b.width&&0>=b.height&&(b=null);var c,d,e=a.margin(),f=a.su(),h,k,l,n,p=0,q=0,t,u;b?(c=b.width,d=b.height,null!=a.bb?(l=Math.min(c,N(a.bb,c),null!=a.Wf?N(a.Wf,c):c),t=f.eg(e.eg(l))):t=null!=a.Wf?f.eg(e.eg(N(a.Wf,c))):f.eg(e.eg(c)),null!=a.Nb?(n=Math.min(d,N(a.Nb,d),null!=a.Se?N(a.Se,d):d),u=f.dg(e.dg(n))):u=null!=a.Se?f.dg(e.dg(N(a.Se,d))):f.dg(e.dg(d))):(ma(a.bb)&&!isNaN(a.bb)?(l=a.bb,t=f.eg(a.bb)):t=ma(a.Wf)&&!isNaN(a.Wf)?f.eg(a.Wf):Infinity,ma(a.Nb)&&!isNaN(a.Nb)?
(n=a.Nb,u=f.dg(a.Nb)):u=ma(a.Se)&&!isNaN(a.Se)?f.dg(a.Se):Infinity);var v,w,x,y=a.Sz(),A=a.Dn(),C=a.title(),O=A.Ur(),O="bottom"==O||"top"==O,Q=C.O("orientation")||dA(C),Q="bottom"==Q||"top"==Q,R=!(hA(C)%180),ba=y.mb();H(y);H(A);H(C);var Y=w=null;do{w&&(Y=w);var U=w=0,P=0,ia=0;C.enabled()?(C.la(null),bA(C,null),cA(C,null),x=C.Ef(),Q?(x.width>t&&(R?bA(C,t):cA(C,t),x=C.Ef()),ia=x.width,w+=x.height):(x.height>u&&(R?cA(C,u):bA(C,u),x=C.Ef()),P=x.height,U+=x.width)):x=null;y.enabled()?(y.la(null),v=y.Ef(),
ba?w+=v.height:U+=v.width):v=null;h=t-U;k=WB(a,h,u-w);var xa=k.width;k=k.height;w+=k;U+=xa;P=Math.max(P,k);ia=Math.max(ia,xa);U=Math.max(ia,U);ia=Math.max(P,w);P=u;Q&&(P-=x?x.height:0);ba&&(P-=v?v.height:0);A.la(null);w=Sz(A,1);if("horizontal"==a.X)xa>h&&a.b&&1h&&1P&&a.b&&1=t-x.width?ia:xa,x=Math.max(Math.min(C.text().length,1),C.margin().eg(P-ka<=x?P-x:ka)),bA(C,x);else if(!R&&ia>u){x=0;v&&ba&&(x+=v.height);if("top"==A.Ur()||"bottom"==A.Ur())x+=w.height;xa=Qz(A)&&!O?w.height:0;xa=Math.max(a.b&&a.b.length?a.b[0].eb().height:0,xa);x=Math.max(1,C.margin().dg(u-
x-xa));R?cA(C,x):bA(C,x)}x=C.Ef();y.width(h)}else x=C.Ef(),y.width(k);v=y.Ef();Q?U-=x.height:P-=x.width}y.enabled()&&(ba?U-=v.height:P-=v.width);xa=P;x=U;A.Ur();Qz(A)&&(O?x=U-w.height:xa=P-w.width);w=a;v=x;var wb;w.J=[];x=0;U=w.b&&w.b.length;for(P=0;Pxa?(x++,w.J[x]=[],w.J[x][0]=w.b[P],v=w.b[P].eb().rd()):(v=v+w.f+w.b[P].eb().rd(),w.J[x].push(w.b[P])));
break;case "vertical":xa=w.b[P].eb().qd();P+=1;for(U=w.b.length;Pv?(x++,w.J[x]=[],w.J[x][0]=w.b[P],xa=w.b[P].eb().qd()):(xa=xa+w.f+w.b[P].eb().qd(),w.J[x].push(w.b[P])));break;case "horizontalexpandable":for(var ab=w.b[P].eb().rd()+w.f,Xb=w.b[P].eb().qd()+w.f,Oc=0,P=P+1;Pxa?(Oc+=Xb,Oc+wb>v?(x++,w.J[x]=[],w.J[x][0]=ia,Oc=0):w.J[x].push(ia),ab=ka+w.f,Xb=wb+w.f):(ab+=ka+w.f,Xb=Math.max(Xb,wb+
w.f),w.J[x].push(ia)));break;case "verticalexpandable":for(ab=w.b[P].eb().rd()+w.f,Xb=w.b[P].eb().qd()+w.f,Oc=0,P+=1;Pv?(Oc+=ab,Oc+ka>xa?(x++,w.J[x]=[],w.J[x][0]=ia,Oc=0):w.J[x].push(ia),ab=ka+w.f,Xb=wb+w.f):(ab=Math.max(ab,ka+w.f),Xb+=wb+w.f,w.J[x].push(ia)))}Iz(w.Dn(),x+1);A.la(null);w=A.eb()}while(!ff(Y,w));l||(l=h);n||(n=k);a.nb=new J(p,q,l,n);if(a.Fa)p=a.$bb.Ja()&&(p=b.Ja()-l),qb.Ea()&&(q=b.Ea()-n));else if(b){p=b.$a();q=b.Ab();switch(a.D){case "left":case "right":switch(a.u){case "center":q+=(d-n)/2;break;case "right":case "bottom":q=b.Ea()-n}break;case "top":case "bottom":switch(a.u){case "center":p+=(c-l)/2;break;case "right":case "bottom":p=b.Ja()-l}}switch(a.D){case "right":p=b.Ja()-
l;break;case "bottom":q=b.Ea()-n}}else p=N(e.O("left"),0),q=N(e.O("top"),0);a.nb.left=p;a.nb.top=q;a.oc=a.su().Ug(a.margin().Ug(a.nb));b=a.nb.clone();b.left=0;b.top=0;a.La=a.margin().Ug(b);a.ac=a.su().Ug(a.La);y.ia(!1);A.ia(!1);C.ia(!1);a.K(4)}function XB(a){if(r(a.ib))return a.ib;if(null!=a.N){for(var b,c=[],d=0;dc.width&&(e+=f,f=d=0),n.o(4),H(n).la(c).x(d).y(e).enabled(!0).ia(!1).Y(),
d+=n.eb().rd()+a.f,f=Math.max(f,p.qd()+a.f);break;case "verticalexpandable":for(k=0;kc.height&&(d+=h,h=e=0),n.o(4),H(n).la(c).x(d).y(e).enabled(!0).ia(!1).Y(),e+=l[k].eb().qd()+a.f,h=Math.max(h,p.rd()+a.f)}if(a.title().enabled()&&(c=a.title().O("orientation")||dA(a.title()),"top"!=c&&"bottom"!=c)){d=c=0;if(e=a.Ma.nc)c=e.Uc,d=e.Vc;e=a.ba.qk();f=a.yb.Ef();f.top+=d;f.left+=c;c=f.top+f.height/2-(e.top+e.height/2);c=Math.min(a.oc.height-e.height,Math.max(c,0));a.ba.Pb(1,
0,0,1,0,c)}}a.zb=b}g.N7=function(a){return this.dispatchEvent(a.type)};g.sf=function(a){a=SB.G.sf.call(this,a);var b=Dt(a.domTarget),b=S(b&&b.index);isNaN(b)||(a.itemIndex=b);return a};g.c8=function(a){var b=cC(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&D(b.vk)&&b.vk(c,a),c.Ra=!0,sz(c,!0),oz(c,!0),rz(c,!0),a&&UB(this,a))}};g.Z7=function(a){var b=cC(this,a);b&&this.dispatchEvent(b)&&a&&UB(this,a)};
g.U2=function(a){var b=cC(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&D(b.uk)&&b.uk(c,a),c.Ra=!1,sz(c,!1),oz(c,!1),rz(c,!1),this.ub().Xc())}};g.T2=function(a){if(a.button==Nl){var b=cC(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&b&&D(b.ml)&&b.ml.call(b,c,a)}}};g.Sf=function(a){(a=cC(this,a))&&this.dispatchEvent(a)};
function cC(a,b){var c=S(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.fa?a.b.length-1-c:c,e=null,f=NaN,h=a.b[c];if(h&&a.N)for(var k=0;ke?(ob(a.i,c,~e),ob(a.b,b,~e)):(f=!(a.b[e]&b))?a.b[e]|=b:m(d)&&(a.b[e]=d);a.target.enabled()&&a.target.ea().select(c)&&(a.target.Hf()||"single"!=a.target.qc()||(h?a.target.Jg(b):m(d)&&!h&&qC(a,NaN)&&a.target.Jg(d)),f?a.target.Ig(b):m(d)&&a.target.Ig(d))}}}
function qC(a,b){var c;if(m(b)){if(isNaN(b))return!rC(a,ur)&&!(a.g&ur);c=He(a,+b)}else c=a.g;return!(c&ur)}
nC.prototype.j=function(a,b,c){var d;if(m(b)){var e=this.target.ea().Kb(),f=!0;if(r(b))for(Eb(b),d=b.length;d--;){var h=+b[d];hc?(ob(this.i,b,~c),ob(this.b,a,~c),this.g==vr&&this.target.Ig(a),qC(this,NaN)&&!this.target.Hf()&&"single"==this.target.qc()&&this.target.Jg(a)):this.b[c]|=a)}};
function tC(a,b,c){var d;if(m(c)){if(!(c>=a.target.ea().Kb())){if(r(c))for(Eb(c),d=c.length;d--;)a.u(b,+c[d]);else a.u(b,+c);a.target.di()}}else if(a.g&b)if(b==tr){for(d=a.b.length;d--;)sC(a,b,d)&&(pb(a.b,d,1),pb(a.i,d,1));a.g=vr}else b==ur&&(a.b.length=0,a.i.length=0,a.g=vr);else{for(d=a.b.length;d--;)sC(a,b,d)&&(pb(a.b,d,1),pb(a.i,d,1));a.g=b}}function sC(a,b,c){return!(a.b[c]&=~b)}
function pC(a,b,c){var d=a.i[c];sC(a,b,c)?(pb(a.i,c,1),pb(a.b,c,1),a.target.enabled()&&a.target.ea().select(d)&&a.g==vr&&a.target.Ig(vr)):a.target.enabled()&&a.target.ea().select(d)&&a.g==vr&&a.target.Ig(a.b[c])}function uC(a,b,c){isNaN(c)||(c=Ab(a.i,c),0<=c&&pC(a,b,c))}
nC.prototype.f=function(a,b){var c;if(m(b)){if(r(b))for(Eb(b),c=b.length;c--;)uC(this,a,+b[c]);else if(isNaN(b))for(c=this.i.length;c--;)pC(this,a,c);else uC(this,a,+b);this.target.di();this.target.Hf()||"single"!=this.target.qc()||this.target.Jg(rC(this,ur)?ur:rC(this,tr)?tr:vr)}else{for(c=this.b.length;c--;)sC(this,a,c)&&(this.target.ea().select(this.i[c])&&this.target.Ig(vr),pb(this.i,c,1),pb(this.b,c,1));this.target.di();this.g&=~a;if(Ax(this.target))if(this.target.Hf())for(c=this.target.Zb();c.advance();){var d=
c.oa();c.select(d)&&qC(this,d)&&this.target.Jg(this.g)}else this.target.Jg(this.g)}};function vC(a,b){for(var c=[],d=0,e=a.b.length;dc?(ob(this.i,b,~c),ob(this.b,a,~c),this.g==vr&&this.target.Ig(a),qC(this,NaN)&&!this.target.Hf()&&"single"==this.target.qc()&&this.target.Jg(a)):(this.b[c]|=a,this.target.Ig(this.b[c])))}};function AC(a){nC.call(this,a)}F(AC,nC);
AC.prototype.j=function(a,b,c){var d;if(m(b)){var e=this.target.ea().Kb(),f=!0;if(r(b))for(Eb(b),d=b.length;d--;){var h=+b[d];ha.nearestPointToCursor.distance&&(a.series.ea().select(a.nearestPointToCursor.index),e=a)});"single"==this.W.O("displayMode")?IB(this.W,[e],a.originalEvent.clientX,a.originalEvent.clientY,
e.series,this.mp()):IB(this.W,b,a.originalEvent.clientX,a.originalEvent.clientY,e.series,this.mp())}}};g.Wz=function(a){LB(this.W,a.clientX,a.clientY)};g.mp=function(){return!1};g.Ot=function(a){!this.Zf&&(this.Zf=ca.anychart.ui.contextMenu(!!z(a)&&a.fromTheme))&&(G(this,this.Zf),this.Zf.itemsProvider(this.J5));return m(a)?(this.Zf&&this.Zf.setup(a),this):this.Zf};g.fD=function(){return"https://anychart.com/products/anychart/history"};
g.J5=function(a){var b=a.event?a.event.target.gi():null,c=a.event?Dt(a.event.domTarget):null,b=z(c)&&m(c.da)&&c.da.seriesType&&m(c.index)||b&&b.seriesType,c=hr(DC),d=hr(EC);d.href=a.chart.fD()+"?version=7.14.0.1429";c.push(null,FC,GC,d);return a.chart.SE(hr(c),a,b)};g.SE=function(a){return a};g.xJ=function(){var a=[],b,c,d,e,f=this.yd();for(d=0;dp.Je||!d)d=n.da,e=p.index,f=mb(n.gc,p.index),h=p.Je}}a={index:e,series:d};a[b]=c?!f:f;return a};
g.Rg=function(a,b,c,d,e){var f=this.rv(c,a,d),h=[],k;if(!d)for(var l=0;lv.ed.Je&&(w=v));p=w.da;f=vC(p.state,ur);l=1==f.length&&f[0]==
w.ed.index;n=!l||l&&(k||a.shiftKey);f=(k||a.shiftKey)&&xC(p.state.hg(),ur);!f&&(k||a.shiftKey)||l||p.gd();p.Xf(w.ed.index,a);f=vC(p.state,ur);if(f.length)for(d.push({da:p,gc:[w.ed.index],ed:w.ed}),e=this.yd(),h=0;he?c+e:c,l=0>f?d+f:d;return{type:a,offsetX:h.offsetX,offsetY:h.offsetY,clientX:h.clientX,clientY:h.clientY,screenX:h.screenX,screenY:h.screenY,button:h.button,actionButton:h.actionButton,keyCode:h.keyCode,charCode:h.charCode,ctrlKey:h.ctrlKey,altKey:h.altKey,shiftKey:h.shiftKey,metaKey:h.metaKey,platformModifierKey:h.platformModifierKey,clientStartX:c+b.x,clientStartY:d+b.y,clientLeft:k+b.x,clientTop:l+b.y,startX:c,startY:d,left:k,top:l,width:Math.abs(e),
height:Math.abs(f)}};g.j$=function(a,b,c,d,e,f){return this.dispatchEvent(this.hs("selectmarqueestart",a,b,c,d,e,f))};g.h$=function(a,b,c,d,e,f){return this.dispatchEvent(this.hs("selectmarqueechange",a,b,c,d,e,f))};g.i$=function(a,b,c,d,e,f){a=this.hs("selectmarqueefinish",a,b,c,d,e,f);(b=this.dispatchEvent(a))&&this.FU(a);this.zp=!1;return b};g.FU=function(){};
g.SC=function(a,b,c){for(var d,e=0,f=a.Kb();ethis.Xl&&(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=this.Xl?(v=t[0],w=t[1]):(v=p.id,w=t[2]);for(f=0;fb||h&&d>c?-1:f&&a==b||h&&d==c?0:1});0>d&&(d=~d-1);return a[Re(d,0,a.length)]}
function wD(a){var b=jD(a),c=b.useHtml,d=a.Oe();V(a,1024)&&(gD(a.il,a.oa()),a.K(1024));b=kD(a.il,b.format,d,a.oa());a.ss||(a.ss=vj(),a.ss.$c("aria-hidden","true"));c?a.ss.htmlText(m(b)?String(b):""):a.ss.text(m(b)?String(b):"");qD(a,function(a,b,c){a=0==c;b instanceof LC||b instanceof hD?this.ze.call(b,this.ss,a):this.ze(this.ss,a,b)},!0);return a.ss}g.clear=function(){this.mg();this.kb&&(this.kb.parent(null),this.kb.Mh());this.o(2)};
g.XO=function(a,b){var c=this.f.positionFormatter,d=ZC(this.f.anchor)||"leftTop",e=tD(this),f=this.f.offsetX,h=this.f.offsetY,k=0,l=0;b&&(k=b.width,l=b.height);var n=this.lc(),p=kc(c.call(n,n)),p=new Ye(p.x,p.y),n=n&&n.connectorPoint;this.D&&(this.D.clear(),this.D.Pb(1,0,0,1,0,0));n&&(this.D||(this.D=this.kb.path(),this.D.en(!0)),this.D.stroke(this.f.connectorStroke),c=kc(c.call(n,n)),this.D.moveTo(p.x,p.y).lineTo(c.x,c.y));c=Nt(new J(0,0,a.width,a.height),d);p.x-=c.x;p.y-=c.y;f=m(f)?N(f,k):0;h=m(h)?
N(h,l):0;e?gu(p,d,h,f):gu(p,d,f,h);a.left=p.x;a.top=p.y;this.i.x(this.u+p.x).y(this.J+p.y)};function xD(a){var b=a.lc(),c=a.f.positionFormatter,d=kc(c.call(b,b)),d=new Ye(d.x,d.y),b=b&&b.connectorPoint;a.D&&(a.D.clear(),a.D.Pb(1,0,0,1,0,0));b&&(a.D||(a.D=a.kb.path(),a.D.en(!0)),a.D.stroke(a.f.connectorStroke),c=kc(c.call(b,b)),a.D.moveTo(d.x,d.y).lineTo(c.x,c.y))}
g.ze=function(a,b,c){var d,e,f=m(c)?function(a){return c[a]}:this instanceof hD?this.Jb:LC.prototype.tJ;d=f.call(this,"text");e=f.call(this,"useHtml");if(b||m(d)||m(e))e?a.htmlText(d):a.text(d);a.fontSize(f.call(this,"fontSize"));a.fontFamily(f.call(this,"fontFamily"));a.color(f.call(this,"fontColor"));a.Bp(f.call(this,"textDirection"));a.zt(f.call(this,"textWrap"));a.opacity(f.call(this,"fontOpacity"));a.bn(f.call(this,"fontDecoration"));a.fontStyle(f.call(this,"fontStyle"));a.fontVariant(f.call(this,
"fontVariant"));a.fontWeight(f.call(this,"fontWeight"));a.letterSpacing(f.call(this,"letterSpacing"));a.xt(f.call(this,"lineHeight"));a.yt(f.call(this,"textIndent"));a.Jm(f.call(this,"vAlign"));a.ek(f.call(this,"hAlign"));a.Tk(f.call(this,"textOverflow"));a.Cp(f.call(this,"selectable"));a.xc(f.call(this,"disablePointerEvents"))};
g.Y=function(){var a=this.il,b;this.kb||(this.kb=tj());this.kb.tag=this.ha;b=this.ag("enabled");if(pD(this,1))if(b)this.R()&&!this.kb.parent()&&this.kb.parent(this.R()),this.K(1);else return this.kb&&this.kb.parent(null),this.K(4294967295),this;if(!b)return this;pD(this,2)&&(b&&((!this.il.enabled()||m(this.enabled())&&!this.enabled())&&this.il.Re()&&(this.R()||this.R(a.Re()),this.R().parent()||this.R().parent(a.R())),this.R()&&this.kb.parent(this.R())),this.K(2));V(this,8)&&(this.R()&&this.R().zIndex(a.zIndex()),
this.kb.zIndex(this.zIndex()),this.K(8));V(this,1024)&&(gD(a,this.oa()),this.K(1024));if(pD(this,20)){this.f=null;b=jD(this);var c=this.Oe(),d=kD(a,b.format,c,this.oa());this.kb.Pb(1,0,0,1,0,0);var e,f=b.background;if(f instanceof Ky){if(f.enabled()||this.F&&this.F.enabled())e=f.I()}else e=f;!z(e)||!e||"enabled"in e||(e.enabled=!1);(c=B(e)||la(e)||e&&e.enabled)||this.F?(this.F||(this.F=new Ky,this.F.zIndex(0),this.F.R(this.kb)),this.aa&&this.F.P(this.aa instanceof Ky?this.aa.I():this.aa),this.F.P(e),
this.F.Y()):f&&(this.aa=f);this.ws();var h,k;this.W=qD(this,function(a,b){if(b instanceof LC){var c=b.la();if(c)return c}});this.W||(a.R()?this.W=a.R().vb():this.W=Ks(0,0,0,0));this.W&&(h=this.W.width,k=this.W.height);e=this.f.useHtml;this.i.width(null);this.i.height(null);e?this.i.htmlText(m(d)?String(d):""):this.i.text(m(d)?String(d):"");this.ze(this.i,!0,b);e=null!==b.width;var d=null!==b.height,f=new J(0,0,0,0),l;if(b.padding instanceof az)l=b.padding;else if(z(b.padding)||ma(b.padding)||B(b.padding))l=
new az,l.P(b.padding);var n,p,q;e?(n=Math.ceil(N(b.width,h)),l?(q=l.eg(n),this.u=N(l.O("left"),n)):(this.u=0,q=n),f.width=n,n=!1):(p=this.i.vb(),n=p.width,l?(f.width=l.Qh(n),this.u=N(l.O("left"),f.width)):(this.u=0,f.width=n),n=!0);m(q)&&this.i.width(q);var t;d?(p=Math.ceil(N(b.height,k)),l?(t=l.dg(p),this.J=N(l.O("top"),p)):(this.J=0,t=p),f.height=p,p=!1):(p=this.i.vb(),p=p.height,l?(f.height=l.kh(p),this.J=N(l.O("top"),f.height)):(this.J=0,f.height=p),p=!0);m(t)&&this.i.height(t);if(!n&&b.adjustByHeight||
!p&&b.adjustByHeight){var u;"different"==YC(a)?u=vD(this,q,t,b.minFontSize,b.maxFontSize,b.adjustByWidth,b.adjustByHeight):u=qD(this,function(a,b){if(b instanceof LC&&m(b.ad.fontSize))return b.ad.fontSize});H(this);this.i.fontSize(u);e?(n=Math.ceil(N(b.width,h)),f.width=n):(p=this.i.vb(),n=p.width,l?f.width=l.Qh(n):f.width=n);d?(p=Math.ceil(N(b.height,k)),f.height=p):(p=this.i.vb(),p=p.height,l?f.height=l.kh(p):f.height=p);this.ia(!1)}this.Tb=f;this.o(2048);this.K(20)}pD(this,2048)&&(this.XO(this.Tb,
this.W),c&&(this.F.la(this.Tb),this.F.Y()),a=Nt(this.Tb,this.f.anchor),this.kb.ft(this.f.rotation,a.x,a.y),this.o(512),this.K(2048));V(this,512)&&(xD(this),this.K(512));pD(this,256)&&(this.kb&&this.kb.clip(this.f.clip),this.K(256));return this};g.ws=function(){this.i||(this.i=vj(),this.i.$c("aria-hidden","true"),this.i.zIndex(1),this.kb||(this.kb=tj()),this.i.parent(this.kb),this.i.xc(!0));return this.i};
g.I=function(){var a=hD.G.I.call(this),b;m(this.Mc("background"))&&(b=this.qB().I(),fc(b)||(a.background=b));m(this.Mc("padding"))&&(b=this.rB().I(),fc(b)||(a.padding=b));ny(this,this.FH,a,"Labels factory label text");ny(this,this.ru,a,"Labels factory label props");(b=a.adjustFontSize)&&(m(b.width)||m(b.height))||delete a.adjustFontSize;this.Mc("enabled")||delete a.enabled;return a};
g.$=function(a,b){var c=this.O("enabled");my(this,this.FH,a);my(this,this.ru,a);hD.G.$.call(this,a,b);m(a.enabled)||delete this.b.enabled;this.Dc("enabled","enabled"in a?a.enabled:c);"background"in a&&this.qB(a.background);"padding"in a&&this.rB(a.padding)};g.ca=function(){Rb(this.b.background,this.b.padding,this.F,this.i,this.kb);this.i=this.F=null;this.b.background=null;this.b.padding=null;hD.G.ca.call(this)};var yD=LC.prototype;yD.background=yD.sB;yD.padding=yD.Rr;yD.enabled=yD.enabled;
yD.getLabel=yD.Ld;yD.getLabelsCount=yD.ED;yD=hD.prototype;yD.getIndex=yD.oa;yD.padding=yD.rB;yD.background=yD.qB;yD.clear=yD.clear;yD.draw=yD.Y;function zD(){xd.call(this);this.ha=0;this.W=!1;this.Ha=1;this.Aa=0;this.Ra="none"}F(zD,yx);g=zD.prototype;g.ta=6;g.Lo=function(){return!1};g.Lb=ea;g.Qv=function(a,b,c){return this.transform(a,c)};g.cs=function(a){return a};function AD(a,b,c){if(a.Ha!=b||a.Aa!=c)a.Ha=b,a.Aa=c,a.ra(2)}function BD(a,b){var c=(b-a.Aa)*a.Ha;return a.W?1-c:c}function CD(a,b){a.W&&(b=1-b);return b/a.Ha+a.Aa}g.Ih=function(a){return Kt(a)};g.$d=function(a){return m(a)?(a=!!a,this.W!=a&&(this.W=a,this.ra(2)),this):this.W};
g.vf=function(){this.ha||this.Kk();this.ha++;return this};g.Df=function(a){return(this.ha=Math.max(this.ha-1,0))?!0:this.MB(!!a)};g.eq=function(){return!1};g.bD=function(){return 0};g.lI=!1;g.Nn=function(a){return m(a)?(a=this.lI?Up(a):"none",this.Ra!=a&&(this.Ra=a,this.ra(6)),this):this.lI?this.Ra:"none"};g.I=function(){var a=zD.G.I.call(this);a.type=this.Na();a.inverted=this.$d();return a};g.$=function(a,b){zD.G.$.call(this,a,b);this.$d(a.inverted)};
function DD(a,b){a=(a+"").toLowerCase();switch(a){case "log":case "logarithmic":return ED();case "lin":case "linear":return FD();case "date":case "datetime":case "dt":return GD();case "ordinal":case "ord":case "discrete":return HD();case "color":case "ordinalcolor":case "discretecolor":return ID();case "linearcolor":return JD();default:return null===b?null:b?HD():FD()}}var KD=zD.prototype;KD.inverted=KD.$d;KD.startAutoCalc=KD.vf;KD.finishAutoCalc=KD.Df;function LD(a){xd.call(this);this.scale=a;this.g=MD;this.f=ND;this.b=OD}F(LD,yx);g=LD.prototype;g.ta=2;g.jk=null;g.Vi=4;g.vi=null;g.lo=null;
g.J4=function(a,b,c,d,e,f){if(m(a)){var h;if(null===a)h=null;else if(B(a)&&1==arguments.length)h=Ws(a);else{if(B(a))switch(a=hq(a),b=S(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 Ps(a,b,c,d,e,f)}var k;if(k=h&&this.jk)k=this.jk,
k=h.u==k.u&&h.j==k.j&&h.b==k.b&&h.g==k.g&&h.i==k.i&&h.f==k.f;k||!h&&!this.jk||(h?(this.Vi=NaN,this.jk=h):(this.Vi=4,this.jk=null),this.lo=this.vi=null,this.ra(2));return this}return Xs(this.jk,!1)};g.count=function(a){return m(a)?(this.Vi!=a&&(this.jk=null,this.Vi=isNaN(a)||2>a?4:Math.ceil(+a),this.lo=this.vi=null,this.ra(2)),this):this.Vi};
g.set=function(a){if(this.vi!=a){this.Vi=NaN;this.jk=null;this.vi=fb(a,function(a){return hB(a)});Eb(this.vi);for(var b=this.vi[0],c=1,d=1;da||1this.i&&(this.i=c,this.b=!1)}return this};
g.MB=function(a){var b=this.ib!=this.g||this.La!=this.i;b&&(this.b=!1,a||this.ra(2));return b};g.Ze=function(){return this.F||this.D};g.transform=function(a){this.Gg();a=S(a);return BD(this,(a-this.min)/this.de)};g.Gg=function(){this.b||(this.b=!0,this.KP())};
g.KP=function(){isFinite(this.i)?isFinite(this.g)?we(this.g,this.i,1E-10)&&(this.g-=.5,this.i+=.5):this.g=this.i-1:isFinite(this.g)?this.i=this.g+1:(this.g=0,this.i=1);var a=(this.D?isNaN(this.J)?this.i:Math.max(this.i,this.J):this.max)-(this.F?isNaN(this.ma)?this.g:Math.min(this.g,this.ma):this.min);1E-4>Math.abs(a)&&!this.F&&!this.D&&(this.max+=1E-4);var b,c="percent"!=this.Nn();this.F&&(b=c?this.X:0,this.min=this.g-a*b,isNaN(this.ma)||(this.min=0this.min&&0<=this.g&&this.min!=this.ma&&(this.min=0));this.D&&(b=c?this.U:0,this.max=this.i+a*b,isNaN(this.J)||(this.max=0this.max&&0<=this.i&&this.max!=this.J&&(this.max=0))};g.Hc=function(a){this.Gg();a=CD(this,a);return a*this.de+this.min};
g.I=function(){var a=RD.G.I.call(this);a.maximum=this.D?null:this.max;a.minimum=this.F?null:this.min;a.minimumGap=this.Cu();a.maximumGap=this.Bu();a.softMinimum=isNaN(this.ma)?null:this.ma;a.softMaximum=isNaN(this.J)?null:this.J;a.maxTicksCount=this.qa;return a};g.$=function(a,b){RD.G.$.call(this,a,b);this.Cu(a.minimumGap);this.Bu(a.maximumGap);this.SB(a.softMinimum);this.RB(a.softMaximum);this.wh(a.minimum);this.yi(a.maximum);this.cq(a.maxTicksCount)};
function SD(a,b){a=(a+"").toLowerCase();switch(a){case "log":case "logarithmic":return ED();case "lin":case "linear":return FD();case "date":case "datetime":case "dt":return GD();default:return b?null:FD()}}var TD=RD.prototype;TD.maxTicksCount=TD.cq;TD.minimum=TD.wh;TD.maximum=TD.yi;TD.extendDataRange=TD.Cc;function UD(){RD.call(this);this.j=this.u=null;RD.call(this)}F(UD,RD);g=UD.prototype;g.Ih=function(a){return!hB(a)};g.Na=function(){return"dateTime"};g.Lb=function(a){this.u||(this.u=new LD(this),G(this,this.u),T(this.u,this.FP,this));return m(a)?(this.u.P(a),this):this.u};g.Za=function(a){this.j||(this.j=new LD(this),G(this,this.j),T(this.j,this.FP,this));return m(a)?(this.j.P(a),this):this.j};g.Cc=function(a){for(var b=0;ba.scale.cq()&&(L(20,null,[c-b,Eu(k)]),k=null,a.Vi=4);k||(k=PD(a,b,c,!1));d&&(f[0]=b=$t(b,k,0));b=new ct(new Date(b));c=new ct(new Date(c));for(d=0;0>=b.getTime()-c.getTime()&&150>d;b.add(k),d++)h.push(b.getTime());e&&0a.scale.cq()&&(L(20,null,[l-d,Eu(h)]),h=null,a.Vi=4);h||(h=PD(a,c,b,!0));c=new ct(new Date(d));l=new ct(new Date(l));for(b=0;0>=c.getTime()-l.getTime()&&150>b;c.add(h),b++)e.push(c.getTime());a.lo=e;a.Vi=k}this.F&&(this.min=f[0]);this.D&&(this.max=f[1]);this.de=this.max-this.min}};g.FP=function(a){W(a,2)&&(this.b=!1,this.ra(2))};g.I=function(){var a=UD.G.I.call(this);a.ticks=this.Lb().I();a.minorTicks=this.Za().I();return a};
g.$=function(a,b){UD.G.$.call(this,a,b);this.Lb(a.ticks);this.Za(a.minorTicks)};function GD(){var a=new UD;a.$(Cr("defaultScaleSettings.dateTime"));return a}var VD=UD.prototype;E("anychart.scales.dateTime",GD);VD.getType=VD.Na;VD.ticks=VD.Lb;VD.minorTicks=VD.Za;VD.transform=VD.transform;VD.inverseTransform=VD.Hc;VD.extendDataRange=VD.Cc;VD.softMinimum=VD.SB;VD.softMaximum=VD.RB;VD.minimumGap=VD.Cu;VD.maximumGap=VD.Bu;function WD(a){xd.call(this);this.na=a}F(WD,yx);g=WD.prototype;g.ta=2;g.Hg=NaN;g.Ne=4;g.xh=6;g.gg=null;g.Xg=null;g.Ij=0;g.Du="linear";g.U4=function(a){return m(a)?(this.Hg!=a&&(a=S(a),0>=a?(this.Ne=4,this.xh=6,this.Hg=NaN):(this.xh=this.Ne=NaN,this.Hg=+a),this.Xg=this.gg=null,this.ra(2)),this):this.Hg};
g.count=function(a,b){return m(a)?(this.Ne!=a&&(this.Hg=NaN,this.Ne=Math.ceil(S(a)),this.xh=Math.ceil(S(b)),2<=this.Ne||(this.Ne=4),this.xh>=this.Ne||(this.xh=this.Ne),this.Xg=this.gg=null,this.ra(2)),this):[this.Ne,this.xh]};g.Fx=function(a){return m(a)?(a=+a||0,this.Ij!=a&&(this.Ij=a,this.Xg=null,this.gg||this.ra(2)),this):this.Ij};g.set=function(a){Ib(this.gg,a)||(this.Hg=this.xh=this.Ne=NaN,this.gg=yb(a,0),zb(this.gg),Eb(this.gg,zt),this.Xg=null,this.ra(2));return this};
g.get=function(){var a=XD(this);return eb(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.na)};function XD(a){a.gg?a=a.gg:(a.na.Gg(),a=a.Xg);return a||[]}g.mode=function(a){return m(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.Du!=a&&(this.Xg=null,this.Du=a,this.gg||this.ra(2)),this):this.Du};
function YD(a,b,c,d,e,f){if("logarithmic"==a.Du){f=f||10;a.Xg=null;var h=[b,c];if(a.gg)d&&(h[0]=Math.min(b,a.gg[0]||0)),e&&(h[1]=Math.max(c,a.gg[a.gg.length-1]||0));else{b=os(b,f);c=os(c,f);var k=[],l=a.Hg,n=a.Ne,p=a.xh;!isNaN(l)&&(c-b)/l>a.na.cq()&&(L(20,null,[c-b,l]),l=NaN,n=4,p=6);if(isNaN(l))for(var q=NaN,t=n;t<=p;t++){var n=(c-b)/(t-1),u=Math.log(n),v=Math.ceil(Math.pow(10,Math.floor(u*Math.LOG10E))),n=Math.min(Zt(n,v),Zt(n,Math.ceil(Math.pow(10,Math.ceil(u*Math.LOG10E)))),Zt(n,Math.ceil(Math.pow(2,
Math.floor(u*Math.LOG2E)))),Zt(n,Math.ceil(Math.pow(2,Math.ceil(u*Math.LOG2E)))),Zt(n,Math.ceil(v/2)),Zt(n,Math.ceil(v/4)),Zt(n,Math.ceil(v/8))),n=Math.max(n,1E-7),u=ns(Yt(b,n,a.Ij))-b,u=u*u,v=ns(Zt(c,n,a.Ij))-c,v=v*v,u=u+v;if(isNaN(q)||ua.na.cq()&&(L(20,null,[c-b,k]),k=NaN,q=4,l=6);if(isNaN(k))for(p=NaN,n=q;n<=l;n++){var q=(c-b)/(n-1),t=Math.log(q),u=Math.pow(10,Math.floor(t*Math.LOG10E)),v=Math.pow(10,Math.ceil(t*Math.LOG10E)),w=qb.length)){c=c||10;var f="logarithmic"==a.Du,h=f?a.bY:a.T4,k,l,n=b.length-1,p=a.Hg,q=a.Ne;isNaN(a.Hg)||(l=b[n],k=b[0],f&&(k=os(k,c),l=os(l,c)),(l-k)/a.Hg>a.na.cq()&&(L(20,null,[l-k,a.Hg]),a.Hg=NaN,a.Ne=4));m(d)?(k=b[0],l=b[1],h.call(a,k,l,d,l,c),k=1):k=0;m(e)&&n--;for(d=k;d<=n-1;d++)k=b[d],l=b[d+1],h.call(a,k,l,k,l,c);m(e)&&(k=b[n],l=b[n+1],h.call(a,k,l,k,e,c));a.Hg=p;a.Ne=q}}
g.T4=function(a,b,c,d){var e=this.Hg;isNaN(e)&&(e=(d-c)/(this.Ne-1));e=Math.max(e,1E-7);c=this.Xg[this.Xg.length-1];b=ms(b,7);for(a=ms(a,7);a<=b;a=ms(a+e,7))c!=a&&this.Xg.push(a),c=a};g.bY=function(a,b,c,d,e){var f=this.Hg;a=os(a,e);b=os(b,e);c=os(c,e);d=os(d,e);isNaN(f)&&(f=(d-c)/(this.Ne-1));f=Math.max(f,1E-7);c=this.Xg[this.Xg.length-1];b=ms(b,7);for(a=ms(a,7);a<=b;a=ms(a+f,7))c!=a&&this.Xg.push(ps(e,a)),c=a};
g.I=function(){var a=WD.G.I.call(this);a.mode=this.Du;a.base=this.Ij;this.gg?a.explicit=this.gg:(this.Ne==this.xh?isNaN(this.Ne)||(a.count=this.Ne):(isNaN(this.Ne)||(a.minCount=this.Ne),isNaN(this.xh)||(a.maxCount=this.xh)),isNaN(this.Hg)||(a.interval=this.Hg));return a};g.md=function(a,b){var c=arguments[1];return r(c)?(this.set(c),!0):yx.prototype.md.apply(this,arguments)};
g.$=function(a,b){WD.G.$.call(this,a,b);this.mode(a.mode);this.Fx(a.base);this.gg=a.explicit||null;this.Ne=a.count||a.minCount||NaN;this.xh=a.count||a.maxCount||NaN;this.Hg=a.interval||NaN;this.gg?this.Ne=this.xh=this.Hg=NaN:this.Hg?this.Ne=this.xh=NaN:(this.Ne=Math.ceil(S(this.Ne)),this.xh=Math.ceil(S(this.xh)),2<=this.Ne||(this.Ne=4),this.xh>=this.Ne||(this.xh=this.Ne))};var $D=WD.prototype;$D.interval=$D.U4;$D.count=$D.count;$D.base=$D.Fx;$D.set=$D.set;$D.get=$D.get;$D.mode=$D.mode;function aE(){RD.call(this);this.j=this.u=null;this.lI=!0;this.f=10;this.aa=!0;this.fa=this.iT}F(aE,RD);g=aE.prototype;g.hC="none";g.uI="firstVisible";g.Na=function(){return"linear"};g.Lb=function(a){this.u||(this.u=bE(this));return m(a)?(this.u.P(a),this):this.u};g.Za=function(a){this.j||(this.j=bE(this),H(this.j),this.j.count(5),this.j.ia(!1));return m(a)?(this.j.P(a),this):this.j};g.DL=function(a){return m(a)?(a=!!a,a!=this.aa&&(this.aa=a,this.F||this.D)&&(this.b=!1,this.ra(4)),this):this.aa};
g.Gg=function(){if(!this.b){aE.G.Gg.call(this);var a=YD(this.Lb(),this.min,this.max,this.F&&this.min!=this.ma,this.D&&this.max!=this.J,this.f);this.F&&(this.min=a[0]);this.D&&(this.max=a[1]);ZD(this.Za(),XD(this.Lb()),this.f,a[2],a[3]);this.de=this.max-this.min}};g.P4=function(a){W(a,2)&&(this.b=!1,this.ra(2))};function bE(a){var b=new WD(a);G(a,b);T(b,a.P4,a);return b}
g.tQ=function(a){if(m(a)){a=Up(a);if(this.hC!=a){this.hC=a;switch(this.hC){case "none":this.fa=this.iT;break;case "value":this.fa=this.X8;break;case "percent":this.fa=this.T8}this.ra(6)}return this}return this.hC};g.sQ=function(a){return m(a)?(a=Vp(a)||Mt(a),this.uI!=a&&(this.uI=a,this.ra(6)),this):this.uI};g.cs=function(a,b){return this.fa(a,b)};g.iT=function(a){return a};g.X8=function(a,b){return S(a)-b};g.T8=function(a,b){return(S(a)-b)/(b||1)*100};
g.I=function(){var a=aE.G.I.call(this);a.ticks=this.Lb().I();a.minorTicks=this.Za().I();a.stackMode=this.Nn();a.stickToZero=this.DL();return a};g.$=function(a,b){aE.G.$.call(this,a,b);this.Lb(a.ticks);this.Za(a.minorTicks);this.Nn(a.stackMode);this.DL(a.stickToZero)};function FD(){var a=new aE;a.$(Cr("defaultScaleSettings.linear"));return a}var cE=aE.prototype;E("anychart.scales.linear",FD);cE.transform=cE.transform;cE.inverseTransform=cE.Hc;cE.getType=cE.Na;cE.ticks=cE.Lb;cE.minorTicks=cE.Za;
cE.stackMode=cE.Nn;cE.stickToZero=cE.DL;cE.softMinimum=cE.SB;cE.softMaximum=cE.RB;cE.minimumGap=cE.Cu;cE.maximumGap=cE.Bu;cE.comparisonMode=cE.tQ;cE.compareWith=cE.sQ;function dE(a){xd.call(this);this.scale=a}F(dE,yx);g=dE.prototype;g.ta=2;g.bq=NaN;g.cl=null;g.as=null;g.mk=null;g.aq=null;g.Kg=null;g.bs=100;g.QB=function(a){return m(a)?(a=Lt(a,NaN),isNaN(a)||this.bq==a||(this.bq=a,this.bs=NaN,this.Kg=this.aq=this.mk=this.as=null,this.ra(2)),this):this.bq};g.rK=function(a){return m(a)?(a=Lt(a,NaN),isNaN(a)||this.bs==a||(this.bs=a,this.bq=NaN,this.Kg=this.aq=this.mk=this.as=null,this.ra(2)),this):this.bs};
g.set=function(a){Ib(this.mk,a)||(this.mk=ub(a),this.mk=fb(this.mk,function(a){return S(a)}),Eb(this.mk),zb(this.mk),this.mk[0]=0,this.Kg=this.aq=this.as=null,this.ra(2));return this};
g.names=function(a){if(m(a))return this.cl!=a&&(this.cl=a,this.ra(2)),this;a=eE(this);var b,c;if(this.cl&&this.cl.lengthf&&0>h||1b&&0>a||1=d?(l=d-1,f=!0):l--;e.push(k==l?c[k]:[c[k],c[l]])}return e};function fE(a){a.as=null;a.aq=null;a.Kg=null}g.I=function(){var a=dE.G.I.call(this);this.mk?a.explicit=this.mk:isNaN(this.bs)?isNaN(this.bq)||(a.interval=this.bq):a.maxCount=this.bs;this.cl&&(a.names=this.cl);return a};
g.md=function(a,b){var c=arguments[1];return r(c)?(this.set(c),!0):yx.prototype.md.apply(this,arguments)};g.$=function(a,b){dE.G.$.call(this,a,b);"explicit"in a?this.set(a.explicit):"interval"in a?this.QB(a.interval):"maxCount"in a&&this.rK(a.maxCount);this.cl=a.names||null;this.Kg=this.aq=null};var gE=dE.prototype;gE.interval=gE.QB;gE.maxCount=gE.rK;gE.set=gE.set;gE.get=gE.get;gE.names=gE.names;function hE(){this.b=[];this.g=[];this.f=[];this.j=[];this.u=[];this.ma=!0;this.D={};this.N=null;this.F=!0;this.Va=null;zD.call(this)}F(hE,zD);g=hE.prototype;g.Na=function(){return"ordinal"};g.Ih=function(a){return!m(a)};g.Lb=function(a){this.Va||(this.Va=new dE(this),G(this,this.Va),T(this.Va,this.S4,this));return m(a)?(this.Va.P(a),this):this.Va};
g.values=function(a,b){if(!m(a))return this.b;if(null===a)this.F||(this.F=!0,this.ra(4));else{this.F=!1;var c=r(a);this.Kk();c&&a.length?this.Cc.apply(this,a):this.Cc.apply(this,arguments);this.MB(!1)}return this};
g.names=function(a){if(m(a)){if(null===a)this.g=[];else if(r(a))this.g=ub(a);else{if(!B(a)||this.g==a)return this;this.g=a}this.i=null;fE(this.Lb());this.ra(2);return this}if(r(this.g)){this.i||(this.i=ub(this.g));if(this.i.lengtha.Pq?a.Pq:a.Lz}else a.U=a.Nv;if((null!==a.Nv||null!==a.Pq&&a.Lz>a.Pq)&&"noOverlap"==a.LA()){p=[];for(h=0;h=A&&a.Yk()||1<=A&&a.oj()?t=C:0A&&(t=C)),C++;x<=R&&h=A&&a.Yk()||1<=A&&a.oj()?(u=l,n.push(!0)):0A?(u=l,n.push(!0)):n.push(!1))):n.push(!1),l++)}ba||(n=!1)}else if(p instanceof zD)for(h=0;hh&&(h=d)}if(n&&!a.kt())for(n=z(p)?p.Pa:!p,q=b.Za().get(),e=0,f=n.length;ek&&(k=d);return a.jQ(h,k)+l}g.fi=function(a){return this.mb()?this.df().eg(a):this.df().dg(a)};
g.Ic=function(){var a=this.la();if(a){var b=a.clone();if(this.scale()&&this.enabled()){var c=this.eb(),d=this.df(),e=a.height-d.dg(a.height)+c.height,a=a.width-d.eg(a.width)+c.width;switch(this.Xd()){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 J(0,0,0,0)};g.LN=function(a,b,c){return this.bb?N(this.bb,a):sE(this,c,b)};
g.eb=function(){if(!this.rl||V(this,4)){var a=this.la();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.mb()?(b=a.width,c=a.height):(b=a.height,c=a.width);b=this.fi(b);c=this.LN(c,b,a);var d,e,f=this.df(),h=N(f.O("top"),a.height),k=N(f.O("right"),a.width),l=N(f.O("bottom"),a.height),f=N(f.O("left"),a.width),n,p;switch(this.Xd()){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.rl=new J(Math.round(d),Math.round(e),Math.round(n),Math.round(p))}else this.rl=new J(0,0,0,0);this.K(4)}return this.rl};
function rE(a,b,c,d,e){if(!c&&a.scale()&&!(a.scale()instanceof RD))return null;var f=c?a.JA:a.KA;if(m(f[b]))return f[b];var h=m(e)?e:a.eb();e=m(e)?e:a.Wb.vb();var k=c?a.Yh():a.Za(),l=k.length(),n=a.stroke(),n=!n||iu(n)?0:n.thickness?parseFloat(a.stroke().thickness):1;c=c?a.labels():a.Pa();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=v&&b.call(e,v,y,A,f,c),l==k-1&&(v=a.transform(Y,1),0<=v&&1>=v&&b.call(e,v,y,A,f,c))),w=r(p)?p[l]:p,tE(this,d,t,l,c,!0,h,w&&0<=t&&1>=t);this.labels().Y()}this.title().ia(!1);this.labels().ia(!1);this.Pa().ia(!1);
this.Yh().ia(!1);this.Za().ia(!1);return this};g.remove=function(){this.yb&&this.yb.remove();this.Wb&&this.Wb.parent(null);this.Yh().remove();this.Za().remove();this.pa&&this.pa.remove();this.Fb&&this.Fb.remove()};
g.I=function(){var a=oE.G.I.call(this);a.title=this.title().I();a.labels=this.labels().I();a.minorLabels=this.Pa().I();a.ticks=this.Yh().I();a.minorTicks=this.Za().I();a.stroke=M(this.stroke());a.staggerMode=this.kt();a.staggerLines=this.BL();a.staggerMaxLines=this.CL();a.width=this.width();this.tc&&(a.orientation=this.tc);a.drawFirstLabel=this.Yk();a.drawLastLabel=this.oj();a.overlapMode=this.LA();return a};
g.$=function(a,b){oE.G.$.call(this,a,b);"title"in a&&this.title(a.title);this.labels().Ba(!!b,a.labels);this.Pa().Ba(!!b,a.minorLabels);this.Yh(a.ticks);this.Za(a.minorTicks);this.kt(a.staggerMode);this.BL(a.staggerLines);this.CL(a.staggerMaxLines);this.stroke(a.stroke);this.width(a.width);this.Xd(a.orientation);this.Yk(a.drawFirstLabel);this.oj(a.drawLastLabel);this.LA(a.overlapMode)};
g.ca=function(){oE.G.ca.call(this);this.eh&&zx(this.eh,this.CG,this);delete this.eh;this.yb=this.KA=this.JA=null;Rb(this.Sa,this.Wb,this.pa,this.Fb);this.Fb=this.pa=this.rl=this.cc=this.Va=this.Wb=this.Sa=null};var uE=oE.prototype;uE.staggerMode=uE.kt;uE.staggerLines=uE.BL;uE.staggerMaxLines=uE.CL;uE.title=uE.title;uE.labels=uE.labels;uE.minorLabels=uE.Pa;uE.ticks=uE.Yh;uE.minorTicks=uE.Za;uE.stroke=uE.stroke;uE.orientation=uE.Xd;uE.scale=uE.scale;uE.width=uE.width;uE.getRemainingBounds=uE.Ic;
uE.drawFirstLabel=uE.Yk;uE.drawLastLabel=uE.oj;uE.overlapMode=uE.LA;uE.isHorizontal=uE.mb;uE.padding=uE.df;uE.getPixelBounds=uE.eb;function vE(){X.call(this);this.Da=this.b=null}F(vE,X);g=vE.prototype;g.ta=X.prototype.ta|8;g.sa=X.prototype.sa|20;g.Ib=function(){return this.Da};g.Am=function(a){return m(a)?(this.na!=a&&(this.na&&zx(this.na,this.KG,this),(this.na=a)&&T(this.na,this.KG,this),this.o(4,9)),this):this.na?this.na:this.b?this.b.scale():null};g.KG=function(a){var b=0;W(a,4)&&(b|=4);W(a,2)&&(b|=1);this.o(4,b|8)};function wE(a,b){return m(b)?(a.f!==b&&(a.f=b,a.o(4,9)),a):a.f}g.dO=function(){this.o(4,9)};
g.Zh=function(a){return m(a)?(this.b!=a&&(this.b&&zx(this.b,this.dO,this),this.b=a,T(this.b,this.dO,this),this.na&&zx(this.na,this.KG,this),this.na=null,this.o(4,9)),this):this.b};g.Wi=function(a,b,c,d){this.i||(this.i=new az,G(this,this.i));return m(a)?(this.i.P.apply(this.i,arguments),this):this.i};g.mb=function(){return"horizontal"==this.fc()};g.Ir=void 0;g.$w=void 0;
g.Y=function(){if(!this.scale())return Fq(2),this;if(!this.Sb())return this;if(V(this,8)){var a=this.zIndex();xE(this).zIndex(a);this.K(8)}V(this,2)&&(a=this.R(),xE(this).parent(a),this.K(2));V(this,16)&&(this.$w(),this.K(16));V(this,4)&&(this.Ir(),this.K(4));return this};
function yE(a){var b=a.scale();if(b){var c=xE(a),b=b.transform(a.f,.5);if(!isNaN(b)&&(c.clear(),0<=b&&1>=b)){var d=c.sl()%2?-.5:0,e=a.la(),f=a.Wi();a.mb()?(a=Math.round(e.Ab()+e.height-b*e.height),1==b?a-=d:a+=d,c.moveTo(e.$a(),a),c.lineTo(e.Ja(),a)):(a=Math.round(e.$a()+b*e.width),1==b?a+=d:a-=d,c.moveTo(a,e.Ab()),c.lineTo(a,e.Ea()));c.clip(f.Ug(e))}}else Fq(2)}
function zE(a){var b=a.f,c=a.scale();if(c){var d=xE(a);d.clear();var e=b.Zc,f=b.from,h=c.transform(f),k=c.transform(e);h>k&&(e=b.from,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)&&0<=f&&1>=b&&(b=Re(b,0,1),f=Re(f,0,1),c=a.la(),e=a.Wi(),a.mb()?(a=Math.floor(c.Ea()-c.height*f),b=Math.ceil(c.Ea()-c.height*b),f=c.$a(),h=c.Ja(),d.moveTo(f,a).lineTo(h,a).lineTo(h,b).lineTo(f,b).close()):(a=c.Ea(),h=c.Ab(),b=Math.floor(c.$a()+c.width*b),f=Math.ceil(c.$a()+
c.width*f),d.moveTo(b,a).lineTo(b,h).lineTo(f,h).lineTo(f,a).close()),d.clip(e.Ug(c)))}else Fq(2)}g.remove=function(){xE(this).parent(null)};function xE(a){a.u||(a.u=bj(),G(a,a.u));return a.u}g.$=function(a,b){vE.G.$.call(this,a,b);"layout"in a&&a.layout&&this.fc(a.layout);if("axis"in a){var c=a.axis;ma(c)?this.Da&&this.Zh(this.Da.nq(c)):c instanceof oE&&this.Zh(c)}};g.ca=function(){this.Da=this.b=null;vE.G.ca.call(this)};function AE(){vE.call(this);this.f={from:0,Zc:0};this.g="black";this.D="horizontal";BE(this,"#c1c1c1 0.4")}F(AE,vE);g=AE.prototype;g.ta=vE.prototype.ta;g.sa=vE.prototype.sa;g.fc=function(a){return m(a)?(a=Bp(a),this.J!=a&&(this.J=a,this.o(4,9)),this):this.J?this.J:this.Zh()?(a=this.Zh().Xd(),"left"==a||"right"==a?"horizontal":"vertical"):this.D};function CE(a,b){var c=!a.J&&a.D!=b;a.D=b;c&&a.o(4)}g.scale=function(a){return this.Am(a)};
g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Ff.apply(null,arguments);k!=this.j&&(this.j=k,this.o(16,1));return this}return this.j||this.g};function BE(a,b){var c=!a.j&&a.g!=b;a.g=b;c&&a.o(16)}g.from=function(a){return m(a)?(this.f.from!=a&&(this.f.from=a,this.o(4,9)),this):this.f.from};g.Zc=function(a){return m(a)?(this.f.Zc!=a&&(this.f.Zc=a,this.o(4,9)),this):this.f.Zc};g.Ir=function(){zE(this)};g.$w=function(){xE(this).stroke(null).fill(this.fill())};g.ca=function(){delete this.j;AE.G.ca.call(this)};
g.I=function(){var a=AE.G.I.call(this);a.from=this.from();a.to=this.Zc();this.j&&(a.fill=M(this.j));this.J&&(a.layout=this.J);return a};g.$=function(a,b){AE.G.$.call(this,a,b);this.from(a.from);this.Zc(a.to);this.fill(a.fill)};var DE=AE.prototype;DE.from=DE.from;DE.to=DE.Zc;DE.scale=DE.scale;DE.axis=DE.Zh;DE.layout=DE.fc;DE.fill=DE.fill;DE.isHorizontal=DE.mb;function EE(){X.call(this);this.f=null;this.u=NaN;this.D=this.i="black"}F(EE,X);var FE={x:"30%",line:"30%",ellipse:"30%",bar:"50%"};g=EE.prototype;g.ta=X.prototype.ta;g.sa=X.prototype.sa|20;g.type=function(a){return m(a)?(a=Qp(a),this.N!=a&&(this.N=a,this.o(4,9)),this):this.N||this.W};function GE(a,b){var c=!a.N&&a.W!=b;a.W=b;c&&a.o(4)}g.Ei=function(a){return m(a)?(this.f!=a&&(this.f=a,this.o(4,9)),this):null===this.f?FE[this.type()]:this.f};
g.value=function(a){return m(a)?(a=S(a),this.u!=a&&(this.u=a,this.o(4,9)),this):this.u};g.fc=function(a){return m(a)?(a=Bp(a),this.J!=a&&(this.J=a,this.o(4,9)),this):this.J||this.F};g.mb=function(){return"horizontal"==this.fc()};g.scale=function(a){return m(a)?(this.na!=a&&(this.na=a,T(this.na,this.f$,this),this.o(4,9)),this):this.na};g.f$=function(a){var b=0;W(a,4)&&(b|=4);W(a,2)&&(b|=1);this.o(4,b|8)};
g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Ff.apply(null,arguments);k!=this.j&&(this.j=k,this.o(16,1));return this}return this.j||this.i};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Mf.apply(null,arguments);this.g!=f&&(this.g=f,this.o(16,1));return this}return this.g||this.D};
function HE(a,b){if("horizontal"==a)switch(b){default:case Mp:return function(a,b){var c=this.scale().transform(0),c=isNaN(c)?0:Re(c,0,1),d=this.la(),h=this.Ei(),k=Ft(h)?N(h,d.height):d.height*h,h=d.left+c*d.width,l=d.top+k/2,c=(b-c)*d.width,d=d.height-k;a.clear().moveTo(h,l).lineTo(h+c,l).lineTo(h+c,l+d).lineTo(h,l+d).close()};case Kp:return function(a,b){var c=this.la(),d=this.Ei(),h=Math.round(c.left+c.width*b),k=Math.round(c.top+c.height/2),c=c.height-(Ft(d)?N(d,c.height):c.height*d);a.clear().moveTo(h-
1,k-c/2).lineTo(h-1,k+c/2).lineTo(h+1,k+c/2).lineTo(h+1,k-c/2).close()};case Lp:return function(a,b){var c=this.la(),d=this.Ei(),h=c.left+c.width*b,k=c.top+c.height/2,c=(c.height-(Ft(d)?N(d,c.height):c.height*d))/2,d=c/4;a.clear();a.Qc(h,k,d,c,0,360).close()};case Jp:return function(a,b){var c=this.la(),d=this.Ei(),h=Math.round(c.left+c.width*b),k=Math.round(c.top+c.height/2),c=(c.height-(Ft(d)?N(d,c.height):c.height*d))/2,d=c/1.5;a.clear().moveTo(h-d-1,k-c).lineTo(h+d-1,k+c).lineTo(h+d+1,k+c).lineTo(h-
d+1,k-c).moveTo(h+d-1,k-c).lineTo(h-d-1,k+c).lineTo(h-d+1,k+c).lineTo(h+d+1,k-c).close()}}else switch(b){default:case Mp:return function(a,b){var c=this.scale().transform(0),c=isNaN(c)?0:Re(c,0,1),d=this.la(),h=this.Ei(),k=Ft(h)?N(h,d.width):d.width*h,h=d.left+k/2,l=d.Ea()-d.height*b,k=d.width-k,c=(b-c)*d.height;a.clear().moveTo(h-.25,l-.5).lineTo(h+k+.25,l-.5).lineTo(h+k+.25,l+c-.5).lineTo(h-.25,l+c-.5).close()};case Kp:return function(a,b){var c=this.la(),d=this.Ei(),h=Math.round(c.left+c.width/
2),k=Math.round(c.Ea()-c.height*b),c=c.width-(Ft(d)?N(d,c.width):c.width*d);a.clear().moveTo(h-c/2,k-1).lineTo(h+c/2,k-1).lineTo(h+c/2,k+1).lineTo(h-c/2,k+1).close()};case Lp:return function(a,b){var c=this.la(),d=this.Ei(),h=Math.round(c.left+c.width/2),k=Math.round(c.Ea()-c.height*b),c=(c.width-(Ft(d)?N(d,c.width):c.width*d))/2,d=c/4;a.clear();a.Qc(h,k,c,d,0,360).close()};case Jp:return function(a,b){var c=this.la(),d=this.Ei(),h=Math.round(c.left+c.width/2),k=Math.round(c.Ea()-c.height*b),c=(c.width-
(Ft(d)?N(d,c.width):c.width*d))/2,d=c/1.5;a.clear().moveTo(h-c-1,k-d).lineTo(h+c-1,k+d).lineTo(h+c+1,k+d).lineTo(h-c+1,k-d).moveTo(h+c-1,k-d).lineTo(h-c-1,k+d).lineTo(h-c+1,k+d).lineTo(h+c+1,k-d).close()}}}
g.Y=function(){if(!this.scale())return Fq(2),this;if(!this.Sb())return this;var a=this.R()?this.R().Ca():null,b=a&&!a.Bd();b&&a.me();this.b||(this.b=bj(),G(this,this.b));if(V(this,8)){var c=this.zIndex();this.b.zIndex(c);this.K(8)}V(this,2)&&(c=this.R(),this.b.parent(c),this.K(2));V(this,16)&&(this.b.stroke(this.stroke()),this.b.fill(this.fill()),this.K(16));V(this,4)&&(c=this.value(),c=this.scale().transform(c,0),this.b.clear(),isNaN(c)||(c=Re(c,0,1),HE(this.fc(),this.type()).call(this,this.b,c)),
this.K(4));b&&a.ee();return this};g.remove=function(){this.b&&this.b.parent(null)};function IE(a){this.i=a;this.reset()}g=IE.prototype;g.select=function(a){this.g=a-1;return this.advance()};g.reset=function(){this.g=-1;this.f=void 0;return this};g.advance=function(){this.f=this.i.se(++this.g);var a=this.Kb();return!!a&&this.g=this.Kb()))return this.i.Dh(this.g).Wp(this.f,this.g,a)};g.hm=function(a){return this.get(a)};g.oa=function(){return this.g};g.YH=function(){return this.get("x")};g.Kb=function(){return this.i.Kb()};
g.B=function(a,b){return 1b){var f=a;a=b;b=f}var f=this.ea(),h,k=d||"x",l=[];for(f.reset();f.advance();)h=f.oa(),d=c?h:f.get(k),d>=a&&d<=b&&l.push(h);return this.u[e]=l};g.get=function(a,b){if(!(a>=this.Kb()))return this.Dh(a).Wp(this.se(a),a,b)};g.set=function(a,b,c){var d=this.se(a);m(d)&&this.se(a,TE(this.Dh(a),d,b,c));return this};g.ea=function(){LE(this);return new IE(this)};g.Ix=function(){return null};
g.sz=function(a){this.u=this.g=null;W(a,16)&&this.o(1,16)};g.B=function(a,b,c){if(this.KL)return this.gE.apply(this,arguments);this.uv||(this.uv=[]);var d=this.uv[a];d||(this.uv[a]=d={});return 2a:!(!this.Xp||!this.Xp[a])};g.iv=function(){return this.kV};g.B=function(){throw Error("Wrong usage of the data Set");};g.vs=function(){return[this]};function dF(a,b){return new QE(a,b)}var eF=QE.prototype;E("anychart.data.set",dF);eF.data=eF.data;eF.mapAs=eF.He;eF.row=eF.se;eF.append=eF.x4;eF.insert=eF.B8;eF.remove=eF.remove;eF.getRowsCount=eF.Kb;function fF(){xd.call(this);this.f=null;this.f=ub(Cr("palette.items"));this.ra(2)}F(fF,yx);g=fF.prototype;g.ta=2;g.H4=function(a,b){L(405,null,["colorAt()","itemAt()"]);return this.rg(a,b)};g.rg=function(a,b){this.f||(this.f=[]);var c=this.f.length;a>=c&&0=f&&0=c&&0this.f.length||!this.b)return null;if(m(b))return this.g[a]=b,this.ra(2),this;a>this.b-1&&(a=this.b-1);0>a&&(a=0);var c=this.g[a];return c?c:null};
function mF(a){if(a.f&&a.b){var b=[],c=r(a.f)?a.f:a.f.keys;if(r(c)&&c.length){isNaN(a.b)&&(a.b=c.length);for(var d=1/(c.length-1),e,f=0;f=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.g[f]={color:c.color}:(e=1-(e-c.offset)/(d.offset-c.offset),a.g[f]={color:Lf(yo(vo(c.color),vo(d.color),e))})}}}}g.I=function(){var a=lF.G.I.call(this);a.type="range";for(var b=[],c=0;ca&&(c=b,b=a,a=c),c=[b,a])):c=null;this.F=!1;this.b=c;tF(this);this.ra(2);return this}return this.b};g.BV=function(a){return m(a)?(this.i=S(a),tF(this),this.ra(2),this):this.i};g.XP=function(a){if(m(a)){this.g=r(a)?a.slice():[];for(a=this.f.length=0;a=a.u&&--d;){b.add(c);f=b.getTime();if(wF(a,f,e))return f;e=f}return d&&a.ja?zF(a.ja,b.getTime(),c):NaN}
function xF(a,b){var c=Ys.prototype.GL.call(b),d=a.j[c];if(m(d))return d;for(var d=null,e=0;ea.b[1])&&d.push([b.getTime(),b.getTime()+864E5-6E4]));!d&&a.ja&&(d=xF(a.ja,b));d||(d=[]);return a.j[c]=d}function tF(a){a.j={};a.D=null;a.u=null}g.ES=function(a){W(a,2)&&!this.b&&tF(this)};
function uF(a){var b=a.isWorking;this.g=m(b)?!b:!1;b=Bq(a.each);switch(b){case "year":var c=a.on,d=a.from,e=a.to;this.D=this.g5;(c=hB(c,"dd.MM",pF))?(this.j=this.vK,this.b=new ct(2E3,c.getUTCMonth(),c.getUTCDate()),e=AF(d,e),this.N=e[0],this.i=e[1]):(this.j=this.mU,this.b=null,c=(c=hB(d,"dd.MM",pF))?new ct(c):qF,this.N=new ct(2E3,c.getUTCMonth(),c.getUTCDate()),c=(c=hB(e,"dd.MM",pF))?new ct(c):rF,this.i=new ct(2E3,c.getUTCMonth(),c.getUTCDate()),this.i.add(sF));break;case "week":BF(this,a.on,a.from,
a.to);break;case "day":BF(this,NaN,a.from,a.to);break;default:c=a.on,d=a.from,e=a.to,this.D=this.RL,(c=hB(c))?(this.j=this.vK,this.b=new ct(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),e=AF(d,e),this.N=e[0],this.i=e[1]):(this.j=this.mU,this.b=null,c=(c=hB(d))?new ct(c):qF,this.N=new ct(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),c=(c=hB(e))?new ct(c):rF,this.i=new ct(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),this.i.add(sF))}"none"==b?this.b?(this.u=this.b.clone(),this.f=this.b.clone(),
this.f.add(sF)):(this.u=this.N.clone(),this.f=this.i.clone()):(this.u=(b=hB(a.starts))?new ct(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()):qF,(b=hB(a.ends))?(this.f=new ct(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),this.f.add(sF)):this.f=rF)}function BF(a,b,c,d){a.D=a.h5;a.j=a.vK;b=Math.min(Lt(b,NaN,!0),6);a.b=isNaN(b)?null:b;b=AF(c,d);a.N=b[0];a.i=b[1]}g=uF.prototype;g.RL=function(a){return a.getTime()>=this.u.getTime()&&a.getTime()<=this.f.getTime()};
g.h5=function(a){return this.RL(a)&&(null===this.b||(a.hD()+6)%7==this.b)};g.g5=function(a){if(!this.RL(a))return!1;if(this.b)return a.getUTCMonth()==this.b.getUTCMonth()&&a.getUTCDate()==this.b.getUTCDate();var b=a.getUTCFullYear();a=a.getTime();var c=this.N.clone();c.BJ(b);var d=this.i.clone();d.BJ(b);return a>=c.getTime()&&a<=d.getTime()};
g.vK=function(a,b){for(var c=this.N,d=b.getTime()+36E5*c[0]+6E4*c[1],c=this.i,e=b.getTime()+36E5*c[0]+6E4*c[1],f=[],h=0;(c=a[h])&&c[1]e)this.g||f.push([d,e]);else{this.g?(c[0]=f.offset?b=f:c=f}var h;b?c?h=ar(c.color,b.color,(a-b.offset)/(c.offset-b.offset)):h=b.color:h=c.color;return r(h)?Lf(h):h.color};
g.N4=function(a){this.Gg();a=vo(cr(a).Pg);var b,c,d,e,f,h,k;h=0;for(k=this.f.length;h=d?(l=d-1,f=!0):l--;var n=m(c[k].hl)?c[k].hl:(c[k].start+c[k].end)/2,p=m(c[l].hl)?c[l].hl:(c[l].start+c[l].end)/2;e.push(k==l?n:[n,p])}return e};function JF(){zD.call(this);this.D=this.f=null;this.j=[];this.J=this.g=null;this.Ga=[];this.N=!1}F(JF,zD);g=JF.prototype;g.Lo=function(){return!0};g.Na=function(){return"ordinalColor"};g.$d=function(a){return m(a)?(a=!!a,this.W!=a&&(this.W=a,this.Kk(),this.ra(2)),this):this.W};
g.vh=function(a){if(m(a))return a?r(a)&&(this.f=ub(a)):this.f=[],this.Kk(),this.ra(2),this;if(r(this.f)){this.F||(this.F=ub(this.f));if(this.F.length "+c.start:"< "+c.end;c.name||(c.name=d);this.Kg.push(d)}}return this.Kg};g.Cx=function(a){return m(a)?(this.j!=a&&(this.j=a,this.N||(this.J=Cr("defaultOrdinalColorScale.autoColors")(this.j.length)),this.Kk(),fE(this.Lb()),this.ra(4)),this):this.j};g.jl=function(){LF(this);this.names();return this.g};g.ej=function(a){LF(this);var b=null;if(this.g)for(var c=this.g.length;c--;){var d=this.g[c];if(m(d.hl)&&d.hl===a||a>=d.start&&a<=d.end&&-1d.length-1?d[d.length-1]:d[c])}}return b};g.Q4=function(a){LF(this);a=cr(a).Pg;for(var b=NaN,c=0,d=this.g.length;cb.start?1:a.startb.start?a.sourceIndex>b.sourceIndex?b.end=a.start:(a.start=b.end,a.start>=a.end&&(a.enabled=!1)):a.startb.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});e=[];b=0;for(c=h.length;bd.EE&&(d.EE=h),hc&&(c=mc,h=Oc);Cde&&(e=Ua,l=Oc);Uaq&&(q=Od,w=Oc);ncu&&(u=Pd,y=Oc);Pd=v,e.push(w?t:v),w&&(q++,t=q=v,y.push(w?t:v),w&&(q++,t=qt&&(t=~t-1),t=Re(t,0,d-1),u=Ab(n,u,h),0>u&&(u=~u),u=Re(u,0,d-1),f.inverted()&&(n=t,t=u,u=n)):u=t=NaN);h=a.Gk[q];for(var v in h){f=h[v];d=a.La[v];n=a.Ey(d);var w="none"!=
n,x="percent"==n,y;if(w)for(y=[],c=t;c<=u;c++)y.push({bp:0,Ik:0,Uo:0,ap:0,Fk:0,To:0,Dv:!1,xv:!1,tm:!1});for(b=0;bk+n||al+p)return null;var b=[],h=this.Rc(),q;if("bySpot"==h.qc())for(h=h.Lv(),this.ka?(d=(p-(a-h-l))/p,p=(p-(a+h-l))/p,k=c,c=a,a=k):(d=(c-h-k)/n,p=(c+h-k)/n),k=0,l=this.f.length;k=ur}),d=d&&f,e.push({series:k,pointsInRect:c,allPointsAreSelected:f});a.seriesStatus=e;a.allPointsAreSelected=d;return a};
g.FU=function(a){var b=a.shiftKey||a.ctrlKey||a.metaKey,c=a.seriesStatus;if(b&&a.allPointsAreSelected)for(a=0;athis.CC()&&f.Ka(b[d.xScale]),"yScale"in d&&d.yScale>this.CC()&&f.fb(b[d.yScale]))}};g.JU=function(a,b,c){var d,e,f=[];for(d=0;da.CC()&&h.scale(d[f.scale])}}function aH(a,b,c,d,e,f,h,k){for(var l=[],n=0;n=b.top&&a<=b.Ea();a=[];a.push(this.g.xAnchor);a.push(this.g.secondXAnchor);a.push(this.g.thirdXAnchor);for(var c=!0,d=!0,e=0;eb.Ja());return!c&&!d};function oH(a,b){return a.i.left+b*a.i.width}function pH(a,b){return a.i.Ea()-b*a.i.height}
g.Y=function(){if(!this.Sb())return this;H(this);V(this,4)&&(this.i=this.eb(),this.o(64),this.K(4));this.Qf();var a=lH(this);this.tE();V(this,16)&&(this.qf(this.state),this.K(16));if(V(this,256)){if(a)15==this.Id&&15==this.W?this.LC(this.g.xAnchor,this.g.valueAnchor,this.g.secondXAnchor,this.g.secondValueAnchor,this.g.thirdXAnchor,this.g.thirdValueAnchor):7<=this.Id&&7<=this.W?this.em(this.g.xAnchor,this.g.valueAnchor,this.g.secondXAnchor,this.g.secondValueAnchor):(3<=this.Id&&3<=this.W||this.W==
this.Id)&&this.Pj(this.g.xAnchor,this.g.valueAnchor);else return this.remove(),this.o(2),this.ia(!1),this;this.K(256)}V(this,1024)&&(this.f.xc(!this.O("allowEdit")),this.K(1024));if(V(this,512)){if(this.Oa){var a=this.xb(),b=this.Zt().enabled()||this.$t().enabled();H(a);if(!1!==a.enabled()||b){a.R(this.f);a.clear();a.la(this.i);a.nf=5;var c=this.state,b=this.xb(),c=yC(c);switch(c){case tr:c=this.Zt();break;case ur:c=this.$t();break;default:c=null}if(c&&null!==c.enabled()?c.enabled():b.enabled())for(var d=
qH(this),e=0;e=b||a>this.i.Ja()&&0<=b);return a};g.I=function(){var a=BH.G.I.call(this);ny(this,bG,a,"Annotation");ny(this,YF,a,"Annotation");ny(this,ZF,a,"Annotation");ny(this,$F,a,"Annotation");ny(this,aG,a,"Annotation");return a};
g.$=function(a,b){my(this,bG,a);my(this,YF,a);my(this,ZF,a);my(this,$F,a);my(this,aG,a);BH.G.$.call(this,a,b)};g.ca=function(){BH.G.ca.call(this);Rb(this.b);delete this.j};function CH(a){hH.call(this,a);this.b=null;this.F=rH(["stroke","hoverStroke","selectStroke"],2);this.j=rH(["fill","hoverFill","selectFill"],1);this.D=rH(["hatchFill","hoverHatchFill","selectHatchFill"],3)}F(CH,hH);ky(CH,YF);ky(CH,ZF);ky(CH,$F);ky(CH,aG);ky(CH,bG);ky(CH,eG);WF.ellipse=CH;g=CH.prototype;g.type="ellipse";g.Id=7;g.Qf=function(){CH.G.Qf.call(this);this.b||(this.b=[this.f.path(),this.f.path(),this.f.path()],this.b[0].zIndex(0),this.b[1].zIndex(1),this.b[2].zIndex(3))};
g.Pj=function(a,b){for(var c=0;cthis.i.Ja());return a};function HH(a){DH.call(this,a);this.ba=[];this.D=null;this.Wa=rH(["grid","hoverGrid","selectGrid"],2)}F(HH,DH);ky(HH,dG);WF.fibonacciFan=HH;g=HH.prototype;g.type="fibonacciFan";g.aF=function(a){if(m(a)){if(r(a)){for(var b=this.ba.length=0;b=b||a>this.i.Ja()&&0<=b);return a};g.qf=function(a){HH.G.qf.call(this,a);for(var b=0;b=this.F.length?c.timeLevel=this.ba[b-this.F.length]:c.level=this.F[b]);return c};
g.tE=function(){if(V(this,4096)){this.j||(this.j=[]);this.D||(this.D=[]);var a,b=this.F.length+this.ba.length;for(a=this.j.length;a=b||a>this.i.Ja()&&0<=b);return a};
g.I=function(){var a=PH.G.I.call(this);ny(this,bG,a,"Annotation");ny(this,YF,a,"Annotation");ny(this,ZF,a,"Annotation");ny(this,$F,a,"Annotation");return a};g.$=function(a,b){my(this,bG,a);my(this,YF,a);my(this,ZF,a);my(this,$F,a);PH.G.$.call(this,a,b)};g.ca=function(){PH.G.ca.call(this);Rb(this.b);delete this.j};function QH(a){hH.call(this,a);this.b=null;this.F=rH(["stroke","hoverStroke","selectStroke"],2);this.j=rH(["fill","hoverFill","selectFill"],1);this.D=rH(["hatchFill","hoverHatchFill","selectHatchFill"],3)}F(QH,hH);ky(QH,YF);ky(QH,ZF);ky(QH,$F);ky(QH,bG);ky(QH,eG);WF.rectangle=QH;g=QH.prototype;g.type="rectangle";g.Id=7;g.Qf=function(){QH.G.Qf.call(this);this.b||(this.b=[this.f.path(),this.f.path(),this.f.path()],this.b[0].zIndex(0),this.b[1].zIndex(1),this.b[2].zIndex(3))};
g.Pj=function(a,b){for(var c=0;ck&&e>l?c=f=d=h=null:(c=ys(a,b,a,b+d,this.i),f=ys(e,f,e,f+d,this.i),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||ea?(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,fn&&k>n?c=
f=d=h=null:(c=As(a,c,e,k,this.i),f=As(a,f,e,l,this.i),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)):0b?Math.min(b,d):Math.max(b,d),a=!(aa||a>this.i.Ja()&&c=b){var c=this.la(),c=c.clone().round(),d=this.ax();a.Pb(1,0,0,1,0,0);a.width(null);a.height(null);a.x(0);a.y(0);var e=null!==this.width(),f=null!==this.height(),h=a.vb(),k=e?Math.ceil(N(this.width(),c.width)):h.width;
e&&a.width(k);h=a.vb();c=f?Math.ceil(N(this.height(),c.height)):h.height;f&&a.height(c);var l=this.la(),l=l.clone().round();if(this.mb())switch(e=Math.round(l.Ab()+l.height-b*l.height),1==b?e-=-.5:e+=-.5,this.u){case "left":f=l.$a();break;case "right":f=l.Ja();break;default:f=l.$a()+l.width/2}else switch(f=Math.round(l.$a()+b*l.width),1==b?f+=-.5:f-=-.5,this.u){case "top":e=l.Ab();break;case "bottom":e=l.Ea();break;default:e=l.Ab()+l.height/2}b=new Ye(f,e);f=S(this.W);f=isNaN(f)?this.mb()?0:-90:f;
e=yf(I(f),0,0);h=qf(h,e);e=Nt(Ks(0,0,h.width,h.height),d);b.x-=e.x;b.y-=e.y;e=N(this.offsetX(),k);l=N(this.offsetY(),c);gu(b,d,e,l);this.ze(a,!0);a.x(b.x+h.width/2-k/2).y(b.y+h.height/2-c/2).Fz(f,"center");this.o(2)}else this.remove(),this.K(2);this.K(4)}V(this,2)&&(a=this.R(),dI(this).parent(a),this.K(2));return this};g.remove=function(){dI(this).parent(null)};function dI(a){a.f||(a.f=vj(),a.f.$c("aria-hidden","true"),G(a,a.f));return a.f}g.ca=function(){Qb(this.f);this.b=this.Da=this.f=null;bI.G.ca.call(this)};
g.I=function(){var a=bI.G.I.call(this);a.anchor=this.ax();a.align=this.SA();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.$=function(a,b){bI.G.$.call(this,a,b);this.ax(a.anchor);this.SA(a.align);"layout"in a&&a.layout&&this.fc(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);if("axis"in a){var c=a.axis;ma(c)?this.Da&&this.Zh(this.Da.nq(c)):c instanceof oE&&this.Zh(c)}};function eI(){bI.call(this)}F(eI,bI);g=eI.prototype;g.ta=bI.prototype.ta;g.sa=bI.prototype.sa;g.scale=function(a){return this.Am(a)};g.value=function(a){return cI(this,a)};g.I=function(){var a=eI.G.I.call(this);a.value=this.value();return a};g.$=function(a,b){eI.G.$.call(this,a,b);this.value(a.value)};var fI=eI.prototype;fI.value=fI.value;fI.scale=fI.scale;fI.axis=fI.Zh;fI.anchor=fI.ax;fI.align=fI.SA;fI.layout=fI.fc;fI.rotation=fI.rotation;fI.offsetX=fI.offsetX;fI.offsetY=fI.offsetY;fI.text=fI.text;
fI.height=fI.height;fI.width=fI.width;fI.isHorizontal=fI.mb;function gI(){X.call(this);this.na=this.f=this.j=this.u=null;this.X=!1;this.b=null;this.W="horizontal"}F(gI,X);g=gI.prototype;g.ta=X.prototype.ta|8;g.sa=X.prototype.sa|80;g.Ib=function(){return this.Da};g.fc=function(a){return m(a)?(a=Bp(a),this.J!=a&&(this.J=a,this.o(64,9)),this):this.J?this.J:this.b?(a=this.b.Xd(),"left"==a||"right"==a?"horizontal":"vertical"):this.W};function hI(a,b){var c=!a.J&&a.W!=b;a.W=b;c&&a.o(64)}
g.scale=function(a){return m(a)?(this.na!=a&&(this.na=a,T(this.na,this.K_,this),this.o(68,9)),this):this.na?this.na:this.b?this.b.scale():null};g.K_=function(a){var b=0;W(a,4)&&(b|=4);W(a,2)&&(b|=1);this.o(20,b|8)};g.kO=function(){this.o(64,9)};g.Zh=function(a){return m(a)?(this.b!=a&&(this.b&&zx(this.b,this.kO,this),this.b=a,T(this.b,this.kO,this),this.o(64,9)),this):this.b};g.Wi=function(a,b,c,d){this.i||(this.i=new az,G(this,this.i));return m(a)?(this.i.P.apply(this.i,arguments),this):this.i};
g.Jh=function(a,b,c,d,e,f,h){if(m(a)){var k=Ff.apply(null,arguments);this.N!=k&&(this.N=k,this.o(16,1));return this}return this.N};g.Bh=function(a,b,c,d,e,f,h){if(m(a)){var k=Ff.apply(null,arguments);this.F!=k&&(this.F=k,this.o(16,1));return this}return this.F};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Mf.apply(null,arguments);if(this.g!=f){var h=this.g?Rf(this.g):0;this.g=f;var f=16,k=1;h!=(this.g?Rf(this.g):0)&&(f|=68,k|=8);this.o(f,k)}return this}return this.g};
g.NG=function(a){return m(a)?(this.U!=a&&(this.U=a,this.o(64,9)),this):this.U};g.OG=function(a){return m(a)?(this.D!=a&&(this.D=a,this.o(64,9)),this):this.D};g.TA=function(a){return m(a)?(this.X!=a&&(this.X=a,this.o(80,9)),this):this.X};g.nO=function(a,b){var c=this.la()||Ks(0,0,0,0),d=Math.round(c.Ea()-a*c.height);1==a?d-=b:d+=b;this.f.moveTo(c.$a(),d);this.f.lineTo(c.Ja(),d)};
g.oO=function(a,b){var c=this.la()||Ks(0,0,0,0),d=Math.round(c.$a()+a*c.width);1==a?d+=b:d-=b;this.f.moveTo(d,c.Ea());this.f.lineTo(d,c.Ab())};g.mb=function(){return"horizontal"==this.fc()};g.lO=function(a,b,c,d,e){if(!isNaN(b)){c=this.la()||Ks(0,0,0,0);var f,h;f=Math.round(c.Ea()-b*c.height);h=Math.round(c.Ea()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.$a(),f);d.lineTo(c.Ja(),f);d.lineTo(c.Ja(),h);d.lineTo(c.$a(),h);d.close()}};
g.mO=function(a,b,c,d,e){if(!isNaN(b)){c=this.la()||Ks(0,0,0,0);var f,h;f=Math.round(c.$a()+b*c.width);h=Math.round(c.$a()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f,c.Ab());d.lineTo(h,c.Ab());d.lineTo(h,c.Ea());d.lineTo(f,c.Ea());d.close()}};
g.Y=function(){var a=this.scale();if(!a)return Fq(2),this;if(!this.Sb())return this;if(V(this,8)){var b=this.zIndex();iI(this).zIndex(b);jI(this).zIndex(b);kI(this).zIndex(b);this.K(8)}V(this,2)&&(b=this.R(),iI(this).parent(b),jI(this).parent(b),kI(this).parent(b),this.K(2));V(this,16)&&(kI(this).stroke(this.stroke()),jI(this).fill(this.Jh()),iI(this).fill(this.Bh()),this.K(16));if(V(this,64)||V(this,4)){var c,d,e,f,b=NaN,h=this.scale()instanceof hE,k=(h?a.Lb():this.TA()?a.Za():a.Lb()).get();c=this.mb()?
[this.nO,this.lO]:[this.oO,this.mO];iI(this).clear();jI(this).clear();kI(this).clear();var l=this.la()||Ks(0,0,0,0);if(d=this.Da&&this.Da.XS()){this.Bb=this.Ib().Bb;this.Ra=this.Ib().Ra;var n=Rf(this.stroke())/2;l.top-=this.Ra+n;l.height+=this.Ra+n;l.width+=this.Bb}l=this.Wi().Ug(l);iI(this).clip(l);jI(this).clip(l);kI(this).clip(l);l=c[1];c=c[0];n=-kI(this).sl()%2/2;d&&this.mb()&&c.call(this,0,n);for(var p=0,q=k.length;pa.nearestPointToCursor.distance&&(a.series.ea().select(a.nearestPointToCursor.index),c=a)});var d=c.series;a=this.R();var e=this.la(),f=this.u.sl()%2?-.5:0,h=this.D.sl()%2?-.5:0,k=d.Ka(),l=d.fb(),d=d.ea(),n=S(d.B("x")),p=S(d.B("value"));if(this.F&&"none"!=this.F){var q;
this.u.clear();q=Re(n,e.$a(),e.Ja()-1);q=Math.round(q)-f;this.u.moveTo(q,e.Ab()).lineTo(q,e.Ea())}this.g&&this.g.enabled()&&this.i.enabled()&&(f=this.qu(this.g,k.transform(d.get("x"))),q=this.i.Gj()||ku,this.i.text(q.call(f,f)),k=tI(this,this.g,this.i,n,p,k.transform(d.get("x"))),this.i.x(k.x).y(k.y),this.i.R(a).Y());this.J&&"none"!=this.J&&(this.D.clear(),k=Re(p,e.Ab(),e.Ea()-1),k=Math.round(k)-h,this.D.moveTo(e.$a(),k).lineTo(e.Ja(),k));this.b&&this.b.enabled()&&this.j.enabled()&&(e=this.qu(this.b,
l.transform(d.get("value"))),h=this.j.Gj()||ku,this.j.text(h.call(e,e)),l=tI(this,this.b,this.j,n,p,l.transform(d.get("value"))),this.j.x(l.x).y(l.y),this.j.R(a).Y())}else this.Xc()};g.Xc=function(){uI(this);vI(this)};function uI(a){a.u.clear();a.i.R(null).remove()}function vI(a){a.D.clear();a.j.R(null).remove()}function wI(a){return m(a.scale().Hc(0))}
g.Or=function(a){if(this.enabled()){var b=this.R(),c=this.la(),d=Xn(this.R().Ca()),e=a.clientX-d.x;a=a.clientY-d.y;if(e>=c.$a()&&e<=c.Ja()&&a>=c.Ab()&&a<=c.Ea()){var d=this.u.sl()%2?-.5:0,f=this.D.sl()%2?-.5:0,h=c.Ja()-c.$a(),k=c.Ea()-c.Ab(),l=e-c.$a(),n=a-c.Ab(),p;this.W?(p=(k-n)/k,h=l/h):(p=l/h,h=(k-n)/k);this.g&&wI(this.g)?(this.F&&"none"!=this.F&&(this.u.clear(),this.g.mb()?(k=Re(xI(this,this.g,p,e),c.$a(),c.Ja()-1),this.u.moveTo(k-d,c.Ab()).lineTo(k-d,c.Ea())):(k=Re(xI(this,this.g,p,a),c.Ab(),
c.Ea()-1),this.u.moveTo(c.$a(),k-f).lineTo(c.Ja(),k-f))),this.i.enabled()&&(k=this.qu(this.g,p),l=this.i.Gj()||ku,this.i.text(l.call(k,k)),p=tI(this,this.g,this.i,e,a,p),this.i.x(p.x).y(p.y),this.i.R(b).Y())):uI(this);this.b&&wI(this.b)?(this.J&&"none"!=this.J&&(this.D.clear(),this.b.mb()?(p=Re(xI(this,this.b,h,e),c.$a(),c.Ja()-1),this.D.moveTo(p-d,c.Ab()).lineTo(p-d,c.Ea())):(p=Re(xI(this,this.b,h,a),c.Ab(),c.Ea()-1),this.D.moveTo(c.$a(),p-f).lineTo(c.Ja(),p-f))),this.j.enabled()&&(c=this.qu(this.b,
h),d=this.j.Gj()||ku,this.j.text(d.call(c,c)),e=tI(this,this.b,this.j,e,a,h),this.j.x(e.x).y(e.y),this.j.R(b).Y())):vI(this)}else this.Xc()}};function xI(a,b,c,d){a=a.la();var e=b.scale(),f="ordinal"==e.Na();c=e.transform(e.Hc(c),.5);return b.mb()?f?Math.round(a.left+c*a.width):d:f?Math.round(a.top+a.height-c*a.height):d}
function tI(a,b,c,d,e,f){a=a.la();var h=0,k=0;if(!b)return{x:h,y:k};var l=b.scale(),n=b.eb(),p="ordinal"==l.Na();f=l.transform(l.Hc(f),.5);var q=b.enabled(),l=q?n.$a():a.Ja(),t=q?n.Ab():a.Ea(),u=q?n.Ja():a.$a(),n=q?n.Ea():a.Ab();switch(b.Xd()){case "left":h=yI(c)?u-1:u+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=zI(c)?n-1:n+1;break;case "right":h=yI(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=zI(c)?t-1:t+1}return{x:h,y:k}}function yI(a){a=cz(a);return"leftTop"==a||"leftCenter"==a||"leftBottom"==a}function zI(a){a=cz(a);return"leftTop"==a||"centerTop"==a||"rightTop"==a}
g.qu=function(a,b){if(!a)return null;var c=a.scale(),d=c.Na(),e=c.Hc(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.mB=function(a){var b=this.la(),c=a.offsetX;a=a.offsetY;(c<=b.$a()||c>=b.Ja()||a<=b.Ab()||a>=b.Ea())&&this.Xc()};g.remove=function(){this.Xc()};g.ca=function(){this.ua&&(this.ua.yc("mouseover",this.Or,!1,this),this.ua.yc("mousemove",this.Or,!1,this),this.ua.yc("mouseout",this.mB,!1,this),this.ua.yc("pointshover",this.show,!1,this),this.ua=null);Qb(this.u);this.u=null;Qb(this.D);this.b=this.g=this.D=null;Qb(this.i);this.i=null;Qb(this.j);this.j=null;oI.G.ca.call(this)};
g.I=function(){var a=oI.G.I.call(this);a.displayMode=this.MI();a.xStroke=M(this.Yv());a.yStroke=M(this.$v());a.xLabel=this.i.I();a.yLabel=this.j.I();return a};g.$=function(a,b){oI.G.$.call(this,a,b);this.MI(a.displayMode);this.Yv(a.xStroke);this.$v(a.yStroke);this.ot(a.xLabel);this.pt(a.yLabel)};var AI=oI.prototype;AI.displayMode=AI.MI;AI.xStroke=AI.Yv;AI.yStroke=AI.$v;AI.xLabel=AI.ot;AI.yLabel=AI.pt;function BI(){xd.call(this)}F(BI,yx);g=BI.prototype;g.sa=yx.prototype.sa;g.ta=yx.prototype.ta|1;g.stroke=function(a,b,c,d,e){if(m(a)){var f=Mf.apply(null,arguments);f!=this.g&&(this.g=f,this.ra(1));return this}return this.g};g.I=function(){var a=BI.G.I.call(this);a.stroke=M(this.stroke());return a};g.$=function(a,b){BI.G.$.call(this,a,b);this.stroke(a.stroke)};g.ca=function(){this.g=null;BI.G.ca.call(this)};function CI(){Ky.call(this);this.Sa=this.sc=this.yb=null;this.pa=[]}F(CI,Ky);g=CI.prototype;g.sa=Ky.prototype.sa|384;g.title=function(a){this.yb||(this.yb=new Zz,this.yb.Ya(this),T(this.yb,this.u4,this));return m(a)?(this.yb.P(a),this):this.yb};g.u4=function(a){var b=0,c=0;W(a,1)&&(b|=128,c|=1);W(a,8)&&(b|=4,c|=8);this.o(b,c)};g.margin=function(a,b,c,d){this.sc||(this.sc=new Gz,T(this.sc,this.s4,this));return m(a)?(this.sc.P.apply(this.sc,arguments),this):this.sc};
g.s4=function(a){W(a,2)&&this.o(4,9)};g.GB=function(a,b,c,d){this.Sa||(this.Sa=new az,T(this.Sa,this.t4,this));return m(a)?(this.Sa.P.apply(this.Sa,arguments),this):this.Sa};g.t4=function(a){W(a,2)&&this.o(4,9)};function DI(a,b){return m(b)?(a.np=b,a):a.np||{}}g.label=function(a,b){var c,d;ma(a)||B(a)&&!isNaN(+a)?(c=+a,d=b):(c=0,d=a);var e=this.pa[c];e||(e=new gz,e.Ya(this),e.P(DI(this)),this.pa[c]=e,T(e,this.K8,this),this.o(256,1));return m(d)?(e.P(d),this):e};g.K8=function(){this.o(256,1)};
g.nJ=function(){return this.margin().Ug(this.eb())};g.Y=function(){if(!this.Sb())return this;V(this,4)&&this.o(384);CI.G.Y.call(this);if(V(this,128)){var a=this.title();H(a);a.R(this.Ma);a.zIndex(10);a.la(this.eb());a.ia(!1);a.Y();this.K(128)}if(V(this,256)){for(var a=this.nJ(),b=0,c=this.pa.length;b=this.g.length?this.X[a-this.g.length]:this.g[a]};g.bV=function(a){a.scale(this.fb())};g.LQ=function(){return new $H};
g.yr=function(a,b){var c,d;c=S(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Eb[c];if(!e){e=this.LQ();e.Da=this;e.P(LI(this));var f=e,h=this.ka?"vertical":"horizontal",k=!f.J&&f.j!=h;f.j=h;k&&f.o(4);this.Eb[c]=e;G(this,e);T(e,this.IK,this);this.o(5242880,1)}return m(d)?(e.P(d),this):e};g.QQ=function(){return new AE};
g.zr=function(a,b){var c,d;c=S(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.$b[c];e||(e=this.QQ(),e.Da=this,e.P(NI(this)),CE(e,this.ka?"vertical":"horizontal"),this.$b[c]=e,G(this,e),T(e,this.IK,this),this.o(5242880,1));return m(d)?(e.P(d),this):e};g.UQ=function(){return new eI};
g.Ar=function(a,b){var c,d;c=S(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.ac[c];if(!e){e=this.UQ();e.Da=this;e.P(MI(this));var f=e,h=this.ka?"vertical":"horizontal",k=!f.J&&f.D!=h;f.D=h;k&&f.o(4);this.ac[c]=e;G(this,e);T(e,this.IK,this);this.o(5242880,1)}return m(d)?(e.P(d),this):e};g.IK=function(){this.o(4194304,1)};
function OI(a,b,c){a.pc();b=kc(b);var d=sb(a.Eb,a.$b,a.ac,a.Oa,a.Hb),e,f,h;for(h=0;hh);c=0;for(d=this.g.length;cd?("layout"in e||(e.layout=a.mb()?"horizontal":"vertical"),"scale"in e||ZG(e,"scale",a.scale(),b,c)):e.axis=d;return e};g.fL=function(a,b,c,d){var e=a.I();ZG(e,"scale",a.Am(),b,c);if(a=a.Zh())d=cb(d,na(a)),0>d?("layout"in e||(e.layout=a.mb()?"horizontal":"vertical"),"scale"in e||ZG(e,"scale",a.scale(),b,c)):e.axis=d;return e};
g.ca=function(){Rb(this.g,this.X,this.Eb,this.$b,this.ac,this.Oa,this.Hb,this.xj,this.Dd);delete this.g;delete this.X;this.Dd=this.xj=this.Hb=this.Oa=this.ac=this.$b=this.Eb=null;HI.G.ca.call(this)};function PI(a,b){this.ua=a;this.index=Lt(b,0,!0);this.b={}}g=PI.prototype;g.oa=function(){return this.index};g.Ib=function(){return this.ua};g.get=function(a){return this.ua.data().get(this.index,a)};g.set=function(a,b){this.ua.data().set(this.index,a,b);return this};g.Ip=function(a){var b=this.Ib(),c=wC(b.state,tr,this.index);return m(a)&&c!=a?(a?b.jg(this.index):b.Gc(this.index),this):c};
g.Nm=function(a){var b=this.Ib(),c=wC(b.state,ur,this.index);return m(a)&&c!=a?(a?b.select(this.index):b.gd(this.index),this):c};g.ns=function(){return this.indexthis.u[u]?v=this.j[u][this.u[u]]:this.j[u].push(v=t.y5());this.u[u]++;this.f[u].push(v);l=VJ(this,l,n,p,q,v,!0);e[k]=l}this.lb(this.da,e,a);return e};g.MF=function(a,b){return this.wc(a,void 0,b)};
g.bo=function(a,b){if(r(b))for(var c=0;cb;b=Math.abs(b);var d=(b-a.wK)/(a.lT-a.wK);if(isNaN(d)||!isFinite(d))d=.5;b=a.xK+d*(a.mT-a.xK);return c?-b:b}
function jK(a){return na(a.kl())+"_"+na(a.fb())}function tG(a){return a.Ra.O("yValues")}g.Ib=function(){return this.ua};g.ea=function(){return this.mh||this.Zb()};g.Zb=function(){return this.mh=this.Rf()};g.kl=function(){return this.ua.Ka()};g.fb=function(a){return m(a)?(a instanceof zD||(a=null),this.Xb!=a&&(this.Xb&&zx(this.Xb,this.$A,this),(this.Xb=a)&&T(this.Xb,this.$A,this),this.o(1024,5)),this):this.Xb||this.Hb.fb()};g.$A=function(a){var b=0;W(a,4)&&(b|=4);W(a,2)?this.o(1024,b|1):this.ra(b)};
g.B0=function(a,b){return this.Lf(this.kl().transform(a,b),!0)};g.EO=function(a,b){return this.Lf(this.fb().transform(a,b),!1)};g.Kq=function(a){return m(a)?(this.Ra.P(a),this):this.Ra};g.error=function(a){MG(this)||L(12,void 0,[this.Bj()]);this.hc||(this.hc=new $J(this),T(this.hc,this.X9,this));return m(a)?(this.hc.P(a),this):this.hc};g.X9=function(a){var b=0;W(a,1)&&(b|=1);W(a,4)&&(b|=4);this.o(1024,b)};g.jm=function(a){return this.error().jm(a)};
g.w0=function(a){if(a=!a.B("missing")){var b=this.error(),c=b.b.ea();a=c.get("xError")||b.Wv();var d=c.get("xLowerError")||b.Xv(),e=c.get("xUpperError")||b.Zv(),f=c.get("valueError")||b.Tv(),h=c.get("valueLowerError")||b.Uv(),b=c.get("valueUpperError")||b.Vv(),f=m(h)||m(b)||Ft(f)||!Kt(f);a=m(d)||m(e)||Ft(a)||!Kt(a)||f}if(a)switch(a=this.error(),d=a.mode(),e=this.O("isVertical"),d){case "x":a.Y(!0,e);break;case "value":a.Y(!1,e);break;case "both":a.Y(!0,e),a.Y(!1,e)}};
g.clip=function(a){return m(a)?(null===a&&(a=!1),this.U!=a&&(this.U=a,this.o(4096,1)),this):this.U};g.pm=function(a){this.ba||(this.ba=new cK,T(this.ba,this.A0,this));return m(a)?(this.ba.P(a),this):this.ba};g.A0=function(a){var b=64,c=!1;W(a,8)&&(b|=8,c=!0);this.ra(b,c)};
g.cv=function(a){var b=this.pm();b.K(b.sa);var c=Vy.prototype.I.call(b);m(b.yu())&&(c.iconTextSpacing=b.yu());m(b.text())&&(c.text=b.text());m(b.vu())&&(c.iconEnabled=b.vu());m(b.zu())&&(c.iconType=b.zu());m(b.xu())&&(c.iconSize=b.xu());m(b.Sl())&&(c.iconFill=b.Sl());m(b.Ul())&&(c.iconStroke=b.Ul());m(b.Tl())&&(c.iconHatchFill=b.Tl());m(b.wu())&&(c.iconMarkerType=b.wu());m(b.Xr())&&(c.iconMarkerFill=b.Xr());m(b.Yr())&&(c.iconMarkerStroke=b.Yr());m(b.disabled())&&(c.disabled=b.disabled());var b=this.O("color"),
d=this.Rx();a=c.text||a;B(a)&&(a=MB(NB.dd(),a));c.text=D(a)?a.call(d,d):this.hS(d);c.disabled="disabled"in c?!!c.disabled:!this.enabled();c.meta=this.B();"marker"!=c.iconType||this.check(8192)||(c.iconFill=this.u.fill(),c.iconStroke=this.u.stroke());c.iconType=this.bv(c.iconType,d);c.iconEnabled="iconEnabled"in c?!!c.iconEnabled:!0;c.iconStroke=this.uy(c.iconStroke,2,b,d);c.iconFill=this.uy(c.iconFill,1,b,d);c.iconHatchFill=this.uy(c.iconHatchFill,3,this.Gp(),d);this.check(4194304)&&this.xb().enabled()?
(c.iconMarkerType=c.iconMarkerType||this.u.type(),c.iconMarkerFill=c.iconMarkerFill||this.u.fill(),c.iconMarkerStroke=c.iconMarkerStroke||this.u.stroke()):(c.iconMarkerType=null,c.iconMarkerFill=null,c.iconMarkerStroke=null);return c};g.bv=function(a){"marker"==a?(this.check(8192)?a=this.O("type"):this.check(4194304)?a=this.xb().type():a="square","line"==a&&(a="vline")):D(a)||(a=Pp(a));return a};
g.uy=function(a,b,c){if(a)D(a)?(b={sourceColor:c},a=a.call(b,b)):a=M(a);else{if(2==b)a="stroke";else if(3==b){if(this.check(8))return null;a="hatchFill"}else this.check(8)?(a="stroke",b=2):a="fill";a=nr([a],b)(this,vr,!0)}return a};g.hS=function(){return this.name()};g.ub=function(a){if(!this.zb&&(this.zb=new qB(0),this.ua.rV())){var b=this.ua,c=b.ub();this.zb.parent(c);this.zb.ua(b)}return m(a)?(this.zb.P(a),this):this.zb};
function kK(a,b,c){if(!a)return lK;var d=na(b)+"|"+a.join("|")+(c?"|"+c.join("|"):"");c=c||a;var e=fK[d];e||(fK[d]=e=function(d,e,k){k=yC(k);return k!=vr&&1this.j.left+this.j.width){var f=d,d=cb(Ot,f);0<=d&&(f=Ot.length,f=Ot[(f-d)%f]);d=f}if(("leftBottom"==d||"centerBottom"==d||"rightBottom"==d)&&c.topthis.j.top+this.j.height)c=cb(Ot,d),0<=c&&(d=Ot.length,d=Ot[(d-c+4)%d]);d=Vt(d,e);b.dl(d)};
g.dV=function(a,b,c,d,e,f,h){a.state("pointState",z(h)?h:null);a.state("seriesState",e);a.state("chartState",d);a.state("pointNormal",z(f)?f:null);a.state("seriesNormal",c);a.state("chartNormal",b);a.state("seriesStateTheme",e?e.Ua:null);a.state("chartStateTheme",d?d.Ua:null);a.state("auto",a.ad);a.state("seriesNormalTheme",c.Ua);a.state("chartNormalTheme",b?b.Ua:null)};
g.KC=function(a,b,c,d,e,f,h,k,l,n,p){var q=d?a.Ld(b):bH(a,b);q?(d&&q.Oe(d),q.lc(c)):q=d?a.add(d,c,b):a.add(c,b);q.mg();d?(b=q,this.dV(b,e,a,h,f,k,l),e=b.ag("anchor"),tD(b,this.O("isVertical")),m(p)&&"auto"==e&&(b.dl(oK(this,p,Number(b.ag("rotation"))||0)),this.pQ(a,b))):(eH(q,f||a),q.jc(k,l));n&&q.Y();return q};g.labels=function(a){this.aa||(this.aa=new LC,this.aa.Ya(this),T(this.aa,this.x0,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.aa.P(a),this):this.aa};
g.Mb=function(a){this.Eb||(this.Eb=new LC,this.Eb.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Eb.P(a),this):this.Eb};g.Vb=function(a){this.kc||(this.kc=new LC,this.kc.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.kc.P(a),this):this.kc};g.x0=function(a){W(a,1)&&this.o(256,1025)};
g.Nl=function(a,b,c){a.B("label",nK(this,[this.labels,this.Mb,this.Vb],[this.Ib().labels,this.Ib().Mb,this.Ib().Vb],["label","hoverLabel","selectLabel"],this.vz(),!0,null,a,b,c))};g.NF=function(){};g.xb=function(a){this.u||(this.u=new MC,this.u.Ya(this),T(this.u,this.y0,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.u.P(a),this):this.u};g.Ol=function(a){this.fa||(this.fa=new MC,this.fa.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.fa.P(a),this):this.fa};
g.ao=function(a){this.ka||(this.ka=new MC,this.ka.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.ka.P(a),this):this.ka};g.y0=function(a){W(a,1)&&this.o(128,65)};g.Zn=function(a,b,c){a.B("marker",nK(this,[this.xb,this.Ol,this.ao],null,["marker","hoverMarker","selectMarker"],this.hE(),!1,null,a,b,c))};g.Wo=function(a){this.qa||(this.qa=new MC,this.qa.Ya(this),T(this.qa,this.q$,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.qa.P(a),this):this.qa};
g.Sy=function(a){this.Be||(this.Be=new MC);return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Be.P(a),this):this.Be};g.Dz=function(a){this.ac||(this.ac=new MC);return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.ac.P(a),this):this.ac};g.q$=function(a){W(a,1)&&this.o(128,1)};g.JC=function(a,b,c){var d=a.B("outliers");d&&d.length&&nK(this,[this.Wo,this.Sy,this.Dz],null,["outlierMarker","hoverOutlierMarker","selectOutlierMarker"],this.NK(),!1,d,a,b,c)};
function pK(a,b){return+dc(a.Fe,function(a){return hb(a,function(a){return a==b})})}g.vz=function(){return!1};g.hE=function(){return!1};g.NK=function(){return!1};g.QT=function(){return!1};g.$e=function(){return!1};g.Bv=function(){return!1};g.remove=function(){this.check(4)?UJ(this.Nh,null):this.f&&this.f.remove();this.aa&&this.aa.Re()&&(this.aa.Re().remove(),this.aa.o(2));this.u&&(this.u.remove(),this.u.o(2));this.qa&&(this.qa.remove(),this.qa.o(2))};
g.Bl=function(a){this.va||(this.va=new jC(this),G(this,this.va),T(this.va,this.z0,this),this.ua instanceof BC&&(hC(this.va,this.ua.Bl()),hC(this.va).ra(2)));return m(a)?(this.va.P.apply(this.va,arguments),this):this.va};g.z0=function(){this.o(32,1)};
g.Y=function(){if(!this.Sb())return this;H(this);m(this.ad.color)&&V(this,16768)&&this.Lk(this.ad.color);V(this,32768)&&(gK(this),this.K(32768));if(V(this,4)){this.j=this.eb();this.ve=this.i?this.i.Ug(this.j):this.j;var a=Math.min(this.j.height,this.j.width);this.xK=N(this.Dd,a);this.mT=N(this.ri,a);this.o(7168)}V(this,512)&&(this.QK(),this.o(3104,2049),this.K(512));V(this,1024)&&this.o(24960);var a=[],b=[],c,d,e,f;d=!1;V(this,1026)&&(this.RK(),this.wz());V(this,1282)&&(c=this.labels(),f=this.Mb().enabled()||
this.Vb().enabled(),mK(this,c,f,this.vz(),qG,256)&&(d=this.zIndex()+this.tF+(this.$e()?1:0),c.nf=d,c.o(8),this.check(qG)&&a.push(this.Nl),b.push(c),d=!0),this.K(256));V(this,1154)&&(c=this.xb(),f=this.Ol().enabled()||this.ao().enabled(),mK(this,c,f,this.hE(),4194304,128)&&(f=this.zIndex()+1.1E-5+(this.$e()?1:0),c.nf=f,this.check(4194304)&&a.push(this.Zn),b.push(c)),this.K(128));if(V(this,9218)){this.Oc||(this.Oc=[]);if(this.ib)for(;this.ib.length;)c=this.ib.pop(),c.clear(),c.parent(null),this.Oc.push(c);
else this.ib=[];MG(this)&&"none"!=this.error().mode()&&(this.QT()||NG(this.error()))&&a.push(this.w0);this.K(8192)}V(this,17410)&&(c=this.Wo(),f=this.Sy().enabled()||this.Dz().enabled(),mK(this,c,f,this.NK(),256,16384)&&(f=this.zIndex()+ZI,c.nf=f,this.check(256)&&a.push(this.JC),b.push(c)),this.K(16384));c=a.length;if(V(this,1024)){f=this.ZK();var h;if(f){var k=tG(this);this.Cv(f,k);d&&this.NF();this.kx();h=this.Zb();if(d=this.vJ())this.dz(d,k,f),this.Nr(d,this.km(d.oa()));for(h.reset();h.advance();)for(e=
this.km(h.oa()),this.dz(h,k,f),this.Nr(h,e),d=0;da)&&(a=0);return a};
g.Ix=function(){this.D=[];this.j=[];this.f=[];this.i=0;this.K(1);for(var a=this.ea(),b;a.advance();)b=a.get("value"),this.f.push(b),this.i+=b;if(this.f.length)if(this.i)for(this.D[0]=this.j[0]=100*this.f[0]/this.i,a=1;ad)throw Error("Index can not be masked by this View");return a>=d?(a-=d,2x[n]&&(x[n]=C)}else for(n in u)C=S(Q.values[n]),Cx[n]&&(x[n]=C);for(n=0;n<=a.g;n++)C=
S(Q.f[n]),CA[n]&&(A[n]=C);Q=Q.next}if(v)for(n=0;nd)if(d=~d,"exactOrNext"==c)d=d=OK)this.g=-1,this.b.length=0,QK(this,a,b,this.j,!1);else{if(this.f&2){this.g=-1;var c=a.length?a[0]:null;if(c){var d=this.b.length?this.b[0]:null,e=c.key;if(d&&!(d.key>=e)){for(var f=0,h;(h=d.next)&&h.keya.u){d&&(c|=1);if(a.u){for(var c=c|2,e=new UK(a.b,null,!0),f=0,d=e.next();d&&d.g;)f++,d=e.next();pb(a.b,0,f);if(d=a.b[0])d.b=null}VK(a,new UK(null,a.f,b))}else e=new UK(a.b,a.f,b),a.b=[],VK(a,e),c=OK;a.f.length=0;a.i=a.dU;a.g=-1;a.u=0;IK(a);WK(a.D,c,!0)}}g=RK.prototype;
g.remove=function(a,b){for(var c=new UK(this.b,this.f,TK(this),a,b),d;d=c.next();)d.g=!0;this.u=2;this.J||SK(this);return this};function XK(a,b){b=Lt(b);for(var c=new UK(a.b,a.f,TK(a)),d=NaN,e;(e=c.next())&&0a.key?(this.i=1==b?this.cU:this.VK,this.f.push(a)):this.f[b-1]=a};g.cU=function(a){var b=this.f.length,c=this.f[b-1];c.key>a.key?this.f.push(a):c.keya?~a:a];c?(this.g=this.w9,this.b=isNaN(d)?0:Db(this.i,DK,d),0>this.b&&(this.b=~this.b)):(this.g=this.y9,this.b=isNaN(d)?this.i.length-1:Db(this.i,EK,d),0>this.b&&(this.b=~this.b-1))}g=UK.prototype;g.yv=function(){return null};
g.w9=function(){var a=this.f,b=this.i[this.b];if(a){if(b){if(0>CK(a,b))return this.f=this.f.next,a;this.b++;return b}this.f=this.f.next;this.g=this.yT;return a}if(b)return this.b++,this.g=this.u9,b;this.next=this.yv;return null};g.y9=function(){var a=this.f,b=this.i[this.b];if(a){if(b){if(0>CK(a,b))return this.f=this.f.next,a;this.b--;return b}this.f=this.f.next;this.g=this.yT;return a}if(b)return this.b--,this.g=this.v9,b;this.next=this.yv;return null};
g.yT=function(){var a=this.f;if(a)return this.f=this.f.next,a;this.next=this.yv;return null};g.u9=function(){var a=this.i[this.b++];if(a)return a;this.next=this.yv;return null};g.v9=function(){var a=this.i[this.b--];if(a)return a;this.next=this.yv;return null};g.t5=function(){var a=this.g();return!a||a.key>this.u?(this.next=this.yv,null):a};g.L9=function(){return this.g()};function YK(a,b){this.i=hq(a);this.b=b||1;this.f=new Date(0);switch(this.i){case "year":return this.g=315576E5*this.b,this.u=this.pY,this.next=this.K9,this;case "semester":return this.g=315576E5*this.b/2,this.u=this.mY,this.next=this.H9,this;case "quarter":return this.g=315576E5*this.b/4,this.u=this.kY,this.next=this.E9,this;case "month":return this.g=315576E5*this.b/12,this.u=this.QF,this.next=this.D9,this;case "thirdofmonth":return this.g=315576E5*this.b/36,this.u=this.nY,this.next=this.I9,this;
case "week":return this.g=6048E5*this.b,this.u=this.oY,this.next=this.J9,this;default:this.g=864E5*this.b;this.u=this.gY;this.next=this.x9;break;case "hour":this.g=36E5*this.b;this.u=this.hY;this.next=this.z9;break;case "minute":this.g=6E4*this.b;this.u=this.jY;this.next=this.C9;break;case "second":this.g=1E3*this.b;this.u=this.lY;this.next=this.G9;break;case "millisecond":this.g=this.b,this.u=this.iY,this.next=this.B9}}g=YK.prototype;
g.pY=function(a){this.f.setTime(Date.UTC(Yt(this.f.getUTCFullYear(),this.b,a?a.getUTCFullYear():2E3)-this.b,0))};g.mY=function(a){var b=this.b;this.b*=6;this.QF(a);this.b=b};g.kY=function(a){var b=this.b;this.b*=3;this.QF(a);this.b=b};g.QF=function(a){var b=Yt(this.f.getUTCMonth()+12*this.f.getUTCFullYear(),this.b,a?a.getUTCMonth()+12*a.getUTCFullYear():24E3)-this.b;a=Math.floor(b/12);b%=12;0>b&&(b+=12);this.f.setTime(Date.UTC(a,b))};
g.nY=function(a){a=Yt(ZK(this.f),this.b,a?ZK(a):72E3)-this.b;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.f.setTime(Date.UTC(b,c,1+10*a))};g.oY=function(a){$K(this,6048E5*this.b,a||new Date(Date.UTC(2E3,0,2)))};g.gY=function(a){$K(this,864E5*this.b,a)};g.hY=function(a){$K(this,36E5*this.b,a)};g.jY=function(a){$K(this,6E4*this.b,a)};g.lY=function(a){$K(this,1E3*this.b,a)};g.iY=function(a){$K(this,this.b,a)};
function $K(a,b,c){a.f.setTime(Yt(a.f.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)}function ZK(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)}g.K9=function(){this.f.setUTCFullYear(this.f.getUTCFullYear()+this.b);return this.f.getTime()};g.H9=function(){var a=this.f.getUTCMonth()+6*this.b,b=this.f.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.f.setUTCFullYear(b);this.f.setUTCMonth(a);return this.f.getTime()};
g.E9=function(){var a=this.f.getUTCMonth()+3*this.b,b=this.f.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.f.setUTCFullYear(b);this.f.setUTCMonth(a);return this.f.getTime()};g.D9=function(){var a=this.f.getUTCMonth()+this.b,b=this.f.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.f.setUTCFullYear(b);this.f.setUTCMonth(a);return this.f.getTime()};
g.I9=function(){var a,b=this.f.getUTCDate();a=3*(12*this.f.getUTCFullYear()+this.f.getUTCMonth())+(10>=b?0:20>=b?1:2)+this.b;b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.f.setTime(Date.UTC(b,c,1+10*a));return this.f.getTime()};g.J9=function(){var a=this.f.getTime()+6048E5*this.b;this.f.setTime(a);return a};g.x9=function(){var a=this.f.getTime()+864E5*this.b;this.f.setTime(a);return a};g.z9=function(){var a=this.f.getTime()+36E5*this.b;this.f.setTime(a);return a};
g.C9=function(){var a=this.f.getTime()+6E4*this.b;this.f.setTime(a);return a};g.G9=function(){var a=this.f.getTime()+1E3*this.b;this.f.setTime(a);return a};g.B9=function(){var a=this.f.getTime()+this.b;this.f.setTime(a);return a};g.sy=function(){return this.b};function aL(a,b){var c=a.g-b.g;return c?c:b.b-a.b};function bL(a,b,c,d,e){this.J=a;this.W=d;this.u=new AK(isNaN(b.Zo)?-1:b.Zo,[]);this.u.next=b.fJ;this.ma=b.OK;this.U=b.lastIndex-b.Lg+1||0;this.N=(this.f=e||null)?this.z5:this.dY;this.X=this.f?this.Q6:this.Z6;this.D=c;this.reset()}g=bL.prototype;g.reset=function(){this.f&&this.f.reset();this.b=this.u;this.j=this.f?this.f.f:this.u.key;this.i=!1;this.g=NaN;this.F=!0;return this};g.advance=function(){return this.N()};g.get=function(a){return this.hm(this.W?cL(this.J,a):dL(this.J,a))};
g.B=function(a,b){var c=this.D[this.oa()];c||(c=this.D[this.oa()]={});return 1a?this.b.f&&(b=this.b.f[~a]):b=this.b.values[a]);return b};g.YH=function(){return this.g};g.oa=function(){return this.X()};g.Kb=function(){return this.U};g.y4=function(){return this.g};g.Z6=function(){return this.j};g.Q6=function(){return this.f.f};
g.dY=function(){if(this.b){this.j++;if((this.b=this.b.next)&&this.b!=this.ma)return this.i=!0,this.g=this.b.key,!0;this.b=null;this.i=!1;this.j=this.g=NaN}return!1};g.z5=function(){if(this.f.advance())return this.F&&(this.b=this.b.next),(this.F=!(!this.b||this.b.key!=this.f.g||this.b==this.ma))?(this.i=!0,this.g=this.b.key):(this.i=!1,this.g=this.f.g),!0;this.b=null;this.g=NaN;return this.i=!1};var eL=bL.prototype;eL.reset=eL.reset;eL.advance=eL.advance;eL.get=eL.get;eL.getKey=eL.y4;eL.getIndex=eL.oa;
eL.meta=eL.B;function fL(a){this.f=a;this.i=PK(a.b);this.j=!0;this.b=NK(this.i);this.g=null;this.D=!1;this.u=[];gL(this)}function gL(a){for(var b=a.g?a.g.f.b.length:a.i.Kb();a.u.lengthc){var e=b;b=c;c=e}e=PK(a.f.b,d);if(a.D||e!=a.i||a.b.Eg!=b||a.b.ah!=c)a.D=!1,a.i=e,a.j=!d,a.b=e.select(b,c),gL(a);return a}function kL(a,b,c){return b?(c=a.g?lL(a.g,b.key):c,new hL(b,a.f,!a.j,c,a.u[c])):null}function mL(a){return kL(a,a.b.WT,a.b.Zo)}function nL(a){return kL(a,a.b.OK,a.b.Vs)}
function oL(a,b){return a.j?dL(a.f,b):cL(a.f,b)}function jL(a,b){return new bL(a.f,a.b,a.u,!a.j,a.g?pL(a.g,!!b):null)}function hL(a,b,c,d,e){this.se=a;this.b=b;this.i=c;this.j=d;this.D=e}g=hL.prototype;g.get=function(a){return this.hm(this.i?cL(this.b,a):dL(this.b,a))};g.hm=function(a){var b;ma(a)&&0>a?this.se.f&&(b=this.se.f[~a]):b=this.se.values[a];return b};g.oa=function(){return this.j};g.YH=function(){return this.se.key};
g.B=function(a,b){return 1e)this.g[a]={mV:e,qU:e};else if(B(e)||!isNaN(e)){if((b=z(c))&&!D(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:rq(m(c)?c:a);b=d;"weightedAverage"==f&&(ma(d)?b=Math.round(d):B(d)?(b=this.b.i[d]||NaN,isNaN(b)&&(b=d)):b=NaN,ma(b)&&isNaN(b)&&(f="average"));H(this.b);d=this.b;c=e;var h=b;b=uL(f,c,h);b in d.F?b=d.F[b]:(c=vL(f,c,h),
d.F[b]=b=d.u.length,d.u.push(c),WK(d,4,!1));this.g[a]={mV:e,qU:b};this.b.ia(!0)}return this};function cL(a,b){return b in a.g?a.g[b].qU:NaN}function dL(a,b){return b in a.g?a.g[b].mV:NaN}var wL=tL.prototype;wL.addField=wL.f;wL.createSelectable=wL.i;function xL(a,b){Mb.call(this);this.i=a;this.j=m(b)?b:NaN;this.clear()}F(xL,Mb);xL.prototype.clear=function(){this.value=void 0};xL.prototype.f=function(){var a=this.value;this.clear();return a};xL.prototype.ca=function(){delete this.value;xL.G.ca.call(this)};function yL(a){xL.call(this,a)}F(yL,xL);yL.prototype.clear=function(){this.value=this.g=0};yL.prototype.b=function(a){a=S(a);isNaN(a)||(this.value+=a,this.g++)};yL.prototype.f=function(){var a=this.g?this.value/this.g:NaN;this.clear();return a};function zL(a,b){this.g=b;xL.call(this,a)}F(zL,xL);zL.prototype.clear=function(){this.g.reset()};zL.prototype.b=function(a,b,c){this.g.considerItem(a,c)};zL.prototype.f=function(){var a=this.g.getResult();this.clear();return a};zL.prototype.ca=function(){delete this.g;zL.G.ca.call(this)};function AL(a,b,c){this.u=b;this.g=c;xL.call(this,a)}F(AL,xL);AL.prototype.clear=function(){this.value=[];this.D=[]};AL.prototype.b=function(a,b,c){this.value.push(a);this.D.push(c)};AL.prototype.f=function(){var a=this.u.call(this.g,this.value,this.D);this.clear();return a};AL.prototype.ca=function(){delete this.u;delete this.g;AL.G.ca.call(this)};function BL(a){xL.call(this,a)}F(BL,xL);BL.prototype.clear=function(){this.value=NaN};BL.prototype.b=function(a){isNaN(this.value)&&(this.value=S(a))};function CL(a){xL.call(this,a)}F(CL,xL);CL.prototype.b=function(a){m(this.value)||(this.value=a)};function DL(a){xL.call(this,a)}F(DL,xL);DL.prototype.clear=function(){this.value=NaN};DL.prototype.b=function(a){a=S(a);isNaN(a)||(this.value=a)};function EL(a){xL.call(this,a)}F(EL,xL);EL.prototype.b=function(a){m(a)&&(this.value=a)};function FL(a){xL.call(this,a)}F(FL,xL);FL.prototype.clear=function(){this.value=[]};FL.prototype.b=function(a){m(a)&&this.value.push(a)};function GL(a){xL.call(this,a)}F(GL,xL);GL.prototype.clear=function(){this.value=NaN};GL.prototype.b=function(a){a=S(a);isNaN(a)||this.value>=a||(this.value=a)};function HL(a){xL.call(this,a)}F(HL,xL);HL.prototype.clear=function(){this.value=NaN};HL.prototype.b=function(a){a=S(a);isNaN(a)||this.value<=a||(this.value=a)};function IL(a){xL.call(this,a)}F(IL,xL);IL.prototype.clear=function(){this.value=0};IL.prototype.b=function(a){a=S(a);isNaN(a)||(this.value+=a)};function JL(a,b){xL.call(this,a,b)}F(JL,xL);JL.prototype.clear=function(){this.value=this.g=0};JL.prototype.b=function(a,b){a=S(a);b=S(b)||0;isNaN(a)||(this.value+=a*b,this.g+=b)};JL.prototype.f=function(){var a=this.g?this.value/this.g:NaN;this.clear();return a};function vL(a,b,c){if(D(a))return new AL(b,a,c);if(z(a))return new zL(b,a);switch(a){case "average":return new yL(b);case "first":return new BL(b);case "firstValue":return new CL(b);case "lastValue":return new EL(b);case "list":return new FL(b);case "max":return new GL(b);case "min":return new HL(b);case "sum":return new IL(b);case "weightedAverage":return new JL(b,c);default:case "last":return new DL(b)}}
function uL(a,b,c){ma(b)&&(b=b.toFixed(0));if(z(a))return na(a)+"|"+b+"|"+At(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 ma(c)&&(c=c.toFixed(0)),"w"+b+":"+String(c);default:case "last":return"l"+b}};function KL(a,b,c,d,e){xd.call(this);this.g=new RK(this,a,b,c,d,e);this.b={};this.F={};this.i={};this.J=0;this.j=[];this.u=[];this.f=[];this.D=[]}F(KL,yx);g=KL.prototype;g.ta=16;
g.wP=function(a,b,c){var d=this.g,e=!d.J;e&&(d.J&&L(101),d.J=!0);if(B(a)){var f=new FK(d),h=new es;z(c)&&(h.Az(c.rowsSeparator),h.Ox(c.columnsSeparator),h.Vy(c.ignoreTrailingSpaces),h.Ty(c.ignoreFirstRow));h.Ax(a,f);!0===b&&(b=f.sy())}else if(r(a)){for(f=c=0;fh){var p=~h;ob(d,n,p);(h=this.search("id",n))?(h=h instanceof RL?h:h[0],ob(e,h,p),h.B("nc",!0),L(1,null,[n])):ob(e,k,p)}else L(2,null,[n])}for(b=0;bh?((h=this.search("id",k))?(h=h instanceof RL?h:h[0],aM(h,f)):(this.g.push(f),L(3,null,[k])),bM(this,f)):(h=e[h],aM(h,f),h.B("nc")&&bM(this,f))):(this.g.push(f),bM(this,f));for(b=0;ba?ob(d,e,~a):(a=d[a],r(a.value)?nb(a.value,b):a.value!=b&&(a.value=[a.value],a.value.push(b)))}else for(e in a.b)cM(a,b,e,d)}
function dM(a,b,c,d){if(c){if(d)for(var e=b.Ub();e--;)dM(a,b.ld(e),c,d);if(d=a.b[c])e={key:b.get(c)},a.j[c]&&(e.key=""+e.key),e=Ab(d,e,a.gC),(d=d[e])&&(r(d.value)&&1k||b=d)return[];a=new QE(a);c=[];if(1==b)for(b=0;b=this.g.Lg&&a<=this.g.lastIndex};
function kM(a,b,c,d,e){var f=a.data(),h=f.ea(),k=a.fb(),l=!1,n=!1,p=a.zg(),q,t,u=[];a.Hf()&&a.Zj()&&u.push("zIndex");p&&u.push("size");a.tl()&&u.push("outliers");MG(a)&&(aK(a.Ka())&&(f.Of("xError")&&(u.push("xError"),l=!0),f.Of("xLowerError")&&(u.push("xLowerError"),l=!0),f.Of("xUpperError")&&(u.push("xUpperError"),l=!0)),aK(a.fb())&&(f.Of("valueError")&&(u.push("valueError"),n=!0),f.Of("valueLowerError")&&(u.push("valueLowerError"),n=!0),f.Of("valueUpperError")&&(u.push("valueUpperError"),n=!0)));
k instanceof hE&&(t=lE(k))&&f.Of(t)&&u.push(t);var v=a.Ka();v instanceof hE&&(t=lE(v))&&f.Of(t)&&u.push(t);for(v=a.QS();h.advance();){var w=d(h.get("x"));if(!e(w)){var x={};x.x=w;var y,A,w=!1,C=tG(a);q=0;for(y=C.length;qq&&!a.O("displayNegative"))&&(w=!0);q={};q.missing=w?1:0;q.rawIndex=h.oa();x={data:x,B:q};a.UT(h,x,v);c(b,x)}}a.o(512);return a.g={data:b,da:a,
p8:a.check(qG)&&(f.Of("label")||f.Of("hoverLabel")||f.Of("selectLabel")),q8:a.check(4194304)&&(f.Of("marker")||f.Of("hoverMarker")||f.Of("selectMarker")),r8:a.tl()&&(f.Of("outliers")||f.Of("outlierMarker")||f.Of("hoverOutlierMarker")||f.Of("selectOutlierMarker")),IS:l,s8:n,o8:l||n}}g.QS=function(){return null};g.UT=function(){};g.AT=function(a){return a};
function IG(a,b,c){if(b){var d={},e=-Infinity;b=function(a,b){var c,h=b.data.x;h in d?(c=a[d[h]],a[d[h]]=b):(d[h]=a.length,a.push(b),hc&&(c=~c,0b-a.g.data[c-1].data.x&&c--)),c):-1:a.$b.bI("x",b)}
g.UC=function(a,b){if(this.g){var c=[],d,e;this.g.nt?(d=this.g.nt[At(a)],e=this.g.nt[At(b)]):(d=Db(this.g.data,function(b){return a-b.data.x}),0>d&&(d=~d),e=Db(this.g.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.g.data.length-1);d<=e;d++)c.push(d)}return c}c=this.Ka();if(e=c instanceof hE)a=c.rq(a),b=c.rq(b);return this.$b.UC(a,b,e)};
function XG(a,b,c,d,e){var f=a.ea();f.reset();for(var h=[];f.advance();){var k=a,l=f,n=b,p=c,q=d,t=e,u=void 0,v;if(k.Nh instanceof YJ&&(u=l.B(k.Nh.D)))a:{v=u;var w=n,x=p,k=q,y=t,A=void 0;for(A in v){var C=v[A];if(C instanceof qi&&(C=C.vb(),C.left<=w+k&&w<=C.left+C.width&&C.top<=x+y&&x<=C.top+C.height)){v=!0;break a}}v=!1}else v=l.B(k.J.gb+"X"),w=l.B(k.J.gb),k.J.gb==k.J.hb?v=n<=v&&v<=n+q&&p<=w&&w<=p+t:(x=l.B(k.J.hb+"X"),k=l.B(k.J.hb),v=ss([v,w,x,k],[n,p,n+q,p,n+q,p+t,n,p+t]));!v&&(u=l.B("marker"))&&
(v=u.Re().vb().Sj(new J(n,p,q,t)));v&&h.push(f.oa())}return h}g.Ig=function(a){var b=this.ea();this.Hf()&&this.Nh.$j(a,b.B("shapes"));this.tl()&&this.JC(b,a,!0);this.Td.Vz(b,a);this.check(4194304)&&this.Zn(b,a,!0);this.check(qG)&&this.Nl(b,a,!0)};g.di=ea;g.Jg=function(a){var b=this.ea();this.Nh.$j(a,b.B("shapes"));this.Td.Vz(b,a);this.tl()&&this.JC(b,a,!0)};g.Od=function(a){return m(a)?(a=null===a?null:wp(a),a!=this.X&&(this.X=a),this):this.X};g.qc=function(a){return m(a)?this:this.ua.Rc().qc()};
g.jg=function(a){m(a)?this.Tf(a):this.Fh();return this};g.Gc=function(a){if(!rC(this.state,tr)&&!xC(this.state.hg(),tr)||!this.enabled())return this;var b;m(a)?b=a:b=this.state.g==vr?NaN:void 0;this.state.f(tr,b);return this};g.Tf=function(a){if(!this.enabled())return this;if(r(a)){for(var b=vC(this.state,tr),c=0;cc&&(c=NaN);a.pointIndex=c}return a};
g.Sf=function(a){(a=this.Ye(a))&&this.dispatchEvent(a)};
g.Ye=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.Wo()||isNaN(a.markerIndex)?"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex):
c=pK(this,a.markerIndex);c=S(c);a.pointIndex=c;var d=this.Rf();d.select(c)||d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a,point:this.zd(c)}};
g.zd=function(a){var b;this.zg()?b=new TI(this,a):b=new RI(this,a);var c=this.ua;c.Tu();var d=this.check(zG|AG),e=d?b.get("high")-b.get("low"):b.get("value");b.za("index",a);m(e)&&b.za("value",e);var f=b.get("size"),h;ma(c.za("dataPlotXSum"))&&(h=e/c.za("dataPlotXSum"),b.za("xPercentOfTotal",100*h));ma(this.za("seriesXSum"))&&(h=e/this.za("seriesXSum"),b.za("xPercentOfSeries",100*h));ma(this.za("seriesBubbleSizeSum"))&&(h=f/this.za("seriesBubbleSizeSum"),b.za("bubbleSizePercentOfSeries",100*h),h=
f/c.za("dataPlotBubbleSizeSum"),b.za("bubbleSizePercentOfTotal",100*h),b.za("bubbleSize",f));h=d?this.za("catYRangeSumArr_"):this.za("catYSumArr_");f=b.get("x");h?(b.za("categoryName",f),f=h[a],d?(h=e/this.za("seriesYRangeSum"),b.za("yPercentOfSeries",100*h),h=e/c.za("dataPlotYSum"),b.za("yPercentOfTotal",100*h),b.za("yPercentOfCategory",e/f*100),h=f/c.za("dataPlotYSum"),b.za("categoryYRangePercentOfTotal",100*h),b.za("categoryYRangeSum",f),b.za("categoryYRangeMax",this.za("catYRangeMaxArr_")[a]),
b.za("categoryYRangeMin",this.za("catYRangeMinArr_")[a]),b.za("categoryYRangeAverage",this.za("catYRangeAvgArr_")[a]),b.za("categoryYRangeMedian",this.za("catYRangeMedianArr_")[a]),b.za("categoryYRangeMode",this.za("catYRangeModeArr_")[a])):(h=e/this.za("seriesYSum"),b.za("yPercentOfSeries",100*h),h=e/c.za("dataPlotYSum"),b.za("yPercentOfTotal",100*h),b.za("yPercentOfCategory",e/f*100),h=f/c.za("dataPlotYSum"),b.za("categoryYPercentOfTotal",100*h),b.za("categoryYSum",f),b.za("categoryYMax",this.za("catYMaxArr_")[a]),
b.za("categoryYMin",this.za("catYMinArr_")[a]),b.za("categoryYAverage",this.za("catYAvgArr_")[a]),b.za("categoryYMedian",this.za("catYMedianArr_")[a]),b.za("categoryYMode",this.za("catYModeArr_")[a]))):(h=f/this.za("seriesXSum"),b.za("xPercentOfSeries",100*h),h=e/this.za("seriesYSum"),b.za("yPercentOfSeries",100*h),h=f/c.za("dataPlotXSum"),b.za("xPercentOfTotal",100*h),h=e/c.za("dataPlotYSum"),b.za("yPercentOfTotal",100*h));return b};
g.I=function(){var a=jM.G.I.call(this);if(this.g){for(var b=[],c=this.data(),d=new vK(this);d.advance();){var e=d.B("rawIndex");isNaN(e)?b.push({x:d.get("x")}):b.push(UE(c,e))}a.data=b}else a.data=this.data().I();m(this.Od())&&(a.selectionMode=this.Od());return a};g.$=function(a,b){jM.G.$.call(this,a,b);"data"in a&&this.data(a.data||null);this.Od(a.selectionMode)};g.ca=function(){Qb(this.Fa);delete this.$b;this.Ta=this.g=this.state=this.b=this.Fa=null;jM.G.ca.call(this)};var mM=jM.prototype;
mM.data=mM.data;mM.xScale=mM.Ka;mM.hover=mM.jg;mM.unhover=mM.Gc;mM.select=mM.select;mM.unselect=mM.gd;mM.selectionMode=mM.Od;mM.getPoint=mM.zd;mM.excludePoint=mM.OR;mM.includePoint=mM.aK;mM.keepOnlyPoints=mM.$S;mM.includeAllPoints=mM.$J;mM.getExcludedPoints=mM.FO;function nM(a){X.call(this);this.ab=this.La=!1;this.ka=this.zb=this.X=this.fa=this.ha=this.i=this.j=this.f=null;this.W=0;this.N=oM;this.F=new J(0,0,0,0);this.u=new J(0,0,0,0);this.Ra=this.Aa=this.Ha=null;this.Fa=0;this.Oc=this.sd=this.Eb=!1;this.Sa=this.Bb=null;this.tc="bottom";this.aa=!0;this.Hb=!!a;this.ba=!1}F(nM,X);var oM=1E6;g=nM.prototype;g.ta=X.prototype.ta;g.sa=X.prototype.sa|464;g.mo=function(a){return m(a)?(a=!!a,this.La!=a&&(this.La=a,this.o(256,9)),this):this.La};
g.Rq=function(a){this.Bb||(this.Bb=new pM(this));return m(a)?(this.Bb.Ba(!1,a),this):this.Bb};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Ff.apply(null,arguments);this.Wa!=k&&(this.Wa=k,this.o(16,1));return this}return this.Wa};g.dL=function(a,b,c,d,e,f,h){if(m(a)){var k=Ff.apply(null,arguments);this.Oa!=k&&(this.Oa=k,this.o(16,1));return this}return this.Oa};g.KK=function(a,b,c,d,e){if(m(a)){var f=Mf.apply(null,arguments);f!=this.hc&&(this.hc=f,this.o(16,1));return this}return this.hc};
g.height=function(a){return m(a)?(a=It(a)||this.Nb,a!=this.Nb&&(this.Nb=a,this.o(4,9)),this):this.Nb};g.RH=function(a){return m(a)?(a=Jt(a),a!==this.ib&&(this.ib=a,this.o(4,9)),this):this.ib};g.maxHeight=function(a){return m(a)?(a=Jt(a),a!==this.Se&&(this.Se=a,this.o(4,9)),this):this.Se};g.$h=function(a,b,c,d){this.Sa||(this.Sa=new az,T(this.Sa,this.f3,this));return m(a)?(this.Sa.P.apply(this.Sa,arguments),this):this.Sa};g.f3=function(a){W(a,2)&&this.o(4,9)};
g.zB=function(a){return m(a)?(a=Ep(a),this.tc!=a&&(this.tc=a,this.o(196,9)),this):this.tc};g.$d=function(a){return m(a)?(a=!!a,this.ba!=a&&(this.ba=a,this.o(16,1)),this):this.ba};g.mb=function(){return"bottom"==this.tc||"top"==this.tc};function qM(a){return a.mb()?"ew-resize":"ns-resize"}g.remove=function(){this.f&&this.f.remove()};g.qe=function(){return this.enabled()&&(!this.La||this.aa||!!this.W||this.N!=oM)};
g.Y=function(){if(!this.Sb())return this;this.K(256);if(!this.qe())return this.remove(),this.o(2),this;if(Ax(this))return this;this.f||(this.f=tj(),this.j=bj(),this.j.zIndex(100),this.i=bj(),this.i.zIndex(100),this.fa=this.f.rect(),this.fa.zIndex(1),this.zb=Bi(),this.fa.clip(this.zb),this.X=this.f.rect(),this.X.zIndex(50),this.ka=Bi(),this.X.clip(this.ka),this.ha=this.f.path(),this.ha.zIndex(99),Tx(this,this.f,this.e3,this.p9),this.ma.wa(this.j,"mouseover",this.wV),this.ma.wa(this.j,"mouseout",this.vV),
this.ma.Md(this.j,"mousedown",this.Ov),this.ma.Md(this.j,"touchstart",this.Ov),this.ma.wa(this.i,"mouseover",this.wV),this.ma.wa(this.i,"mouseout",this.vV),this.ma.Md(this.i,"mousedown",this.Ov),this.ma.Md(this.i,"touchstart",this.Ov),this.ma.Md(this.X,"mousedown",this.Ov),this.ma.Md(this.X,"touchstart",this.Ov),this.ma.wa(this.fa,"click",this.M9));V(this,2)&&(this.f.parent(this.R()),this.K(2));V(this,8)&&(this.f.zIndex(this.zIndex()),this.K(8));V(this,128)&&(this.j.cursor(qM(this)),this.i.cursor(qM(this)),
this.X.cursor(qM(this)),this.o(84),this.K(128));V(this,4)&&(this.dF(),this.K(4));if(V(this,64)){var a=(Math.max(Rf(this.hc),5)-1)/2;if(this.mb()){var b=this.F.top;if(this.Rq().enabled())a=b+this.F.height/2,this.j.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.i.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.F.height;this.j.clear().moveTo(-a,b).lineTo(a,b).lineTo(a,c).lineTo(-a,c).close();this.i.clear().moveTo(-a,b).lineTo(a,b).lineTo(a,c).lineTo(-a,c).close()}}else b=this.F.left,this.Rq().enabled()?(a=b+this.F.width/2,this.j.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.i.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.F.height,this.j.clear().moveTo(b,-a).lineTo(b,a).lineTo(c,a).lineTo(c,-a).close(),this.i.clear().moveTo(b,-a).lineTo(b,a).lineTo(c,a).lineTo(c,-a).close());this.o(16);this.K(64)}if(V(this,16)){this.fa.Le(this.F);this.X.Le(this.F);this.zb.shape(this.F);this.fa.fill("none"==this.Wa?
$q:this.Wa).stroke(null);this.X.fill("none"==this.Oa?$q:this.Oa).stroke(null);this.ha.stroke(this.hc).fill(null);rM(this,this.j,this.sd);rM(this,this.i,this.Oc);switch(this.tc){case "top":a=this.F;b=this.W;c=this.N;this.ba&&(b=oM-b,c=oM-c);var b=a.left+b/oM*a.width,d=a.left+c/oM*a.width;this.j.Pb(1,0,0,1,b,0);this.i.Pb(1,0,0,1,d,0);c=Math.min(b,d);b=Math.max(b,d);this.ka.shape(c,a.top,b-c,a.height);this.ha.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.F;b=this.W;c=this.N;this.ba||(b=oM-b,c=oM-c);b=a.top+b/oM*a.height;d=a.top+c/oM*a.height;this.j.Pb(1,0,0,1,0,b);this.i.Pb(1,0,0,1,0,d);c=Math.min(b,d);b=Math.max(b,d);this.ka.shape(a.left,c,a.width,b-c);this.ha.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.F;b=this.W;c=this.N;this.ba&&(b=oM-b,c=oM-
c);b=a.left+b/oM*a.width;d=a.left+c/oM*a.width;this.j.Pb(1,0,0,1,b,0);this.i.Pb(1,0,0,1,d,0);c=Math.min(b,d);b=Math.max(b,d);this.ka.shape(c,a.top,b-c,a.height);this.ha.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.F,b=this.W,c=this.N,this.ba&&(b=oM-b,c=oM-c),b=a.top+b/oM*a.height,d=a.top+c/oM*a.height,this.j.Pb(1,0,0,1,0,b),this.i.Pb(1,0,0,1,0,d),c=Math.min(b,d),b=Math.max(b,d),
this.ka.shape(a.left,c,a.width,b-c),this.ha.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.Rq().mo()||sM(this);this.K(16)}return this};function tM(a,b,c){b=uM(b);c=uM(c);if(b>c){var d=b;b=c;c=d}if(b!=a.W||c!=a.N)a.W=b,a.N=c,a.o(16,1)}g.SF=function(a){return m(a)?(this.aa=!!a,this):this.aa};
g.Ic=function(){var a=this.la(),a=a?a.clone():Ks(0,0,0,0);this.qe()&&(V(this,4)&&(this.dF(),this.K(4)),this.mb()?(a.height-=this.u.height,"top"==this.tc&&(a.top+=this.u.height)):(a.width-=this.u.width,"left"==this.tc&&(a.left+=this.u.width)));return a};
g.dF=function(){var a=this.la(),b=this.mb()?a.height:a.width,c=N(this.Nb,b);null===this.ib||(c=Math.max(c,N(this.ib,b)));null===this.Se||(c=Math.min(c,N(this.Se,b)));c=this.mb()?this.$h().kh(c):this.$h().Qh(c);this.u.left=a.left;this.u.top=a.top;this.mb()?(this.u.width=a.width,this.u.height=c,"bottom"==this.tc&&(this.u.top+=a.height-c)):(this.u.width=c,this.u.height=a.height,"right"==this.tc&&(this.u.left+=a.width-c));var d;this.Hb||this.mb()?this.F=this.$h().Ug(this.u):(d=this.$h(),"left"==this.tc?
(b=N(d.O("left"),this.u.width),a=N(d.O("top"),this.u.height),c=N(d.O("right"),this.u.width),d=N(d.O("bottom"),this.u.height)):(b=N(d.O("right"),this.u.width),a=N(d.O("bottom"),this.u.height),c=N(d.O("left"),this.u.width),d=N(d.O("top"),this.u.height)),this.F.left=this.u.left+d,this.F.top=this.u.top+b,this.F.width=this.u.width-d-a,this.F.height=this.u.height-b-c);this.o(80)};g.e3=function(a){a.f();!Et(this.f,a.relatedTarget)&&this.bg(a)&&(this.Eb=!0,sM(this))};
g.p9=function(a){a.f();!Et(this.f,a.relatedTarget)&&this.bg(a)&&(this.Eb=!1,vM(this))};g.wV=function(a){a=a.target;a instanceof Ni&&(a==this.j?rM(this,this.j,this.sd=!0):a==this.i&&rM(this,this.i,this.Oc=!0))};g.vV=function(a){a=a.target;a instanceof Ni&&(a==this.j?rM(this,this.j,this.sd=!1):a==this.i&&rM(this,this.i,this.Oc=!1))};
g.Ov=function(a){if(a.b instanceof qi){var b=a.b,c;b!=this.j||this.Ha?b!=this.i||this.Aa?b!=this.X||this.Ra||(this.Ra=c=new wM(this,this.X,!1)):this.Aa=c=new wM(this,this.i,!0):this.Ha=c=new wM(this,this.j,!0);c&&(this.ma.wa(c,"start",this.d3),this.ma.wa(c,"end",this.c3),c.Oh(a.Sh))}};g.M9=function(a){var b=Xn(this.f.Ca());a=this.mb()?a.clientX-b.x:a.clientY-b.y;xM(this,"backgroundClick","scrollerchangestart")&&(yM(this,!1,a),xM(this,"backgroundClick","scrollerchangefinish"))};
g.d3=function(a){var b;this.aa&&a.j!=this.Ra?(a=qM(this),b="thumbDrag"):(a=qM(this),b="selectedRangeDrag");if(b=xM(this,b,"scrollerchangestart"))this.Fa++,this.j.cursor(null),this.i.cursor(null),this.X.cursor(null),Ah(document.body,"cursor",a);return b};g.c3=function(a){this.Fa=Math.max(this.Fa-1,0);vM(this);this.j.cursor(qM(this));this.i.cursor(qM(this));this.X.cursor(qM(this));Ah(document.body,"cursor","");xM(this,this.aa&&a.j!=this.Ra?"thumbDrag":"selectedRangeDrag","scrollerchangefinish")};
function sM(a){a.ab||(a.f.Yb(a.j),a.f.Yb(a.i),a.ab=!0)}function vM(a){a.ab&&a.Rq().mo()&&!a.Fa&&!a.Eb&&(a.f.removeChild(a.j),a.f.removeChild(a.i),a.ab=!1)}function rM(a,b,c){a=a.Rq();a.enabled()?c?(c=a.xB(),a=a.yB()):(c=a.fill(),a=a.stroke()):(c=$q,a="none");b.fill(c);b.stroke(a)}function uM(a){return Re(Math.round(a*oM),0,oM)}g.jT=function(a,b,c,d){return{type:a,startRatio:b,endRatio:c,source:d}};function xM(a,b,c,d,e){return a.dispatchEvent(a.jT(c,(m(d)?d:a.W)/oM,(m(e)?e:a.N)/oM,b))}
function yM(a,b,c){c=zM(a,b,c);var d=a.F;switch(a.tc){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.ba&&(d=1-d);if(a.aa&&b==a.j)c=d,d=a.N/oM,b="thumbDrag";else if(a.aa&&b==a.i)c=a.W/oM,b="thumbDrag";else{var e=(a.N-a.W)/oM/2;c=d-e;d+=e;b=!0===b?"selectedRangeDrag":"backgroundClick"}c=uM(c);d=uM(d);c==d&&(d+=dd&&(e=a.j,a.j=a.i,a.i=e,e=a.Ha,a.Ha=a.Aa,a.Aa=e,e=c,c=d,d=e);c==a.W&&d==a.N||!xM(a,b,"scrollerchange",c,d)||
(a.W=c,a.N=d,a.o(16,1))}function zM(a,b,c){var d=a.F,e=a.mb();a=la(b)||!a.aa?(a.N-a.W)/oM*(e?d.width:d.height)/2:0;return e?Re(c,d.left+a,d.left+d.width-a):Re(c,d.top+a,d.top+d.height-a)}function AM(a,b){var c;c=a.aa&&b==a.j?a.W:a.aa&&b==a.i?a.N:(a.W+a.N)/2;c/=oM;a.ba&&(c=1-c);var d=a.F;return a.mb()?d.left+d.width*c:"left"==a.tc?d.top+d.height*c:d.top+d.height*(1-c)}
g.ca=function(){Qb(this.f);this.X=this.fa=this.ha=this.i=this.j=this.f=null;Qb(this.Ha);this.Ha=null;Qb(this.Aa);this.Aa=null;Qb(this.Ra);this.Ra=null;Qb(this.Bb);this.Bb=null;Qb(this.Sa);this.Sa=null;nM.G.ca.call(this)};
g.I=function(){var a=nM.G.I.call(this);a.fill=this.fill();a.selectedFill=this.dL();a.outlineStroke=this.KK();a.height=this.height();a.minHeight=this.RH();a.maxHeight=this.maxHeight();a.orientation=this.zB();a.autoHide=this.mo();a.allowRangeChange=this.SF();a.thumbs=this.Rq().I();return a};
g.$=function(a,b){nM.G.$.call(this,a,b);this.zB(a.orientation);this.mo(a.autoHide);this.SF(a.allowRangeChange);this.fill(a.fill);this.dL(a.selectedFill);this.KK(a.outlineStroke);this.height(a.height);this.RH(a.minHeight);this.maxHeight(a.maxHeight);this.Rq().Ba(!!b,a.thumbs)};function wM(a,b,c){fi.call(this,b.ga());this.b=a;this.D=c?b:null;this.f=void 0;this.U=sa(function(){this.f=void 0;yM(this.b,this.D||!0,this.ba)},this);hi(this);this.wa("end",this.Z2)}F(wM,fi);g=wM.prototype;
g.Z2=function(){m(this.f)&&(window.cancelAnimationFrame(this.f),this.U(0))};g.bm=function(){this.b.mb()?(this.g=AM(this.b,this.D),this.deltaY=0):(this.g=0,this.deltaY=AM(this.b,this.D))};g.cn=function(a,b){this.ba=this.b.mb()?a:b;m(this.f)||(this.f=window.requestAnimationFrame(this.U))};g.qv=function(a){return this.b.mb()?zM(this.b,this.D,a):0};g.Cq=function(a){return this.b.mb()?0:zM(this.b,this.D,a)};function pM(a){this.b=a}g=pM.prototype;
g.enabled=function(a){return m(a)?(a=!!a,this.g!=a&&(this.g=a,this.b.o(16,1)),this):this.g};g.mo=function(a){return m(a)?(a=!!a,this.f!=a&&(this.f=a,this.b.o(16,1)),this):this.f};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Ff.apply(null,arguments);this.i!=k&&(this.i=k,this.b.o(16,1));return this}return this.i};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Mf.apply(null,arguments);f!=this.D&&(this.D=f,this.b.o(16,1));return this}return this.D};
g.xB=function(a,b,c,d,e,f,h){if(m(a)){var k=Ff.apply(null,arguments);this.j!=k&&(this.j=k,this.b.o(16,1));return this}return this.j};g.yB=function(a,b,c,d,e){if(m(a)){var f=Mf.apply(null,arguments);f!=this.u&&(this.u=f,this.b.o(16,1));return this}return this.u};g.I=function(){var a={};a.fill=M(this.fill());a.stroke=M(this.stroke());a.hoverFill=M(this.xB());a.hoverStroke=M(this.yB());a.enabled=this.enabled();a.autoHide=this.mo();return a};
g.Ba=function(a,b){if(m(b)){var c;la(b)||null===b?(this.enabled(!!b),c=!0):c=!1;!c&&z(b)&&(this.enabled("enabled"in b?!!b.enabled:!0),this.fill(b.fill),this.stroke(b.stroke),this.xB(b.hoverFill),this.yB(b.hoverStroke),this.mo(b.autoHide))}return this};var BM=nM.prototype;BM.fill=BM.fill;BM.selectedFill=BM.dL;BM.outlineStroke=BM.KK;BM.height=BM.height;BM.minHeight=BM.RH;BM.maxHeight=BM.maxHeight;BM.thumbs=BM.Rq;BM.orientation=BM.zB;BM.allowRangeChange=BM.SF;BM.autoHide=BM.mo;BM=pM.prototype;
BM.enabled=BM.enabled;BM.autoHide=BM.mo;BM.fill=BM.fill;BM.stroke=BM.stroke;BM.hoverFill=BM.xB;BM.hoverStroke=BM.yB;function CM(){nM.call(this,!0);this.D="afterAxes"}F(CM,nM);CM.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.D&&(this.D=a,this.o(20,9));return this}return this.D};CM.prototype.I=function(){var a=CM.G.I.call(this);a.position=this.position();a.inverted=this.$d();return a};
CM.prototype.$=function(a,b){CM.G.$.call(this,a,b);this.position(a.position);this.$d(a.inverted)};var DM=CM.prototype;DM.position=DM.position;DM.inverted=DM.$d;function EM(a,b){this.i=b;this.Da=a;this.f=0;this.b=1;this.g=!0;this.fa=null}function FM(a){a.Da.MR();if(a.fa){var b;(b=a.fa.scale)||(b=a.Da,b=a.i?b.Ka():b.fb());if(a.fa.count&&b instanceof hE)b=a.fa.count/b.values().length,a.fa.K6?a.Oq(1-b,1):a.Oq(0,b);else if(m(a.fa.start)&&m(a.fa.end)&&b){var c=CD(b,b.transform(a.fa.start,0)),d=CD(b,b.transform(a.fa.end,1));c>d&&(c=CD(b,b.transform(a.fa.end,0)),d=CD(b,b.transform(a.fa.start,1)));a.Oq(c,d)}else a.fa=null}}g=EM.prototype;
g.Oq=function(a,b){a=Re(S(a),0,1);isNaN(a)&&(a=this.f);b=Re(S(b),0,1);isNaN(b)&&(b=this.b);this.fa=null;if(this.f!=a||this.b!=b)this.f=a,this.b=b,this.Da.o(268435456,1);return this};g.aV=function(a,b,c){this.fa={start:a,end:b,scale:c};this.Da.o(268435456,1);return this};g.$U=function(a,b,c){this.fa={count:Lt(a),scale:c,K6:!!b};this.Da.o(268435456,1);return this};g.jo=function(){FM(this);return this.f};g.io=function(){FM(this);return this.b};
g.kC=function(a){return m(a)?(a=!!a,this.g!=a&&(this.g=a),this):this.g};g.P=function(a){m(a)&&(isNaN(+a)?z(a)&&(this.kC(a.continuous),m(a.startValue)&&m(a.endValue)?this.aV(a.startValue,a.endValue,a.scale instanceof zD?a.scale:void 0):m(a.pointsCount)?this.$U(a.pointsCount,a.fromEnd,a.scale instanceof zD?a.scale:void 0):this.Oq(a.startRatio,a.endRatio)):this.Oq(0,1/Math.abs(+a||1)));return this};g.I=function(){return{startRatio:this.jo(),endRatio:this.io(),continuous:this.g}};var GM=EM.prototype;
GM.setTo=GM.Oq;GM.setToValues=GM.aV;GM.setToPointsCount=GM.$U;GM.getStartRatio=GM.jo;GM.getEndRatio=GM.io;GM.continuous=GM.kC;function HM(a){HI.call(this,m(a)?a:!0);this.Pe=new EM(this,!0);this.yj=this.oc=0;this.ab=null;this.Al=!1;this.Vj=0}F(HM,HI);g=HM.prototype;g.kF=function(a){return m(a)?(this.yj!=a&&(this.yj=Re(S(a),0,90),this.o(4,9)),this):this.yj};g.lF=function(a){return m(a)?(this.oc!=a&&(this.oc=ma(a)?Math.max(a,0):a,this.o(4,9)),this):this.oc};g.TL=function(a){L(405,null,["chart.zDepth","chart.zAspect with chart.zPadding"]);return m(a)?(this.ab!=a&&(this.ab=null===a?a:S(a),this.o(4,9)),this):this.ab};
g.bk=function(a){return m(a)?(a=!!a,this.Al!=a&&(this.Al=a,this.o(131076,9)),this):this.Al};g.mF=function(a){return m(a)?(a=S(a),this.Vj!==a&&(this.Vj=Math.max(a,0),this.o(4,9)),this):this.Vj};g.sa=HI.prototype.sa|805306368;g.MR=function(){EG(this);V(this,65536)&&this.Rh().fa&&FG(this)};g.Rh=function(a){return m(a)?(H(this),this.Pe.P(a),this.ia(!0),this):this.Pe};
g.ak=function(a){this.Wa||(this.Wa=new CM,this.Wa.Ya(this),T(this.Wa,this.sZ,this),this.ma.wa(this.Wa,"scrollerchange",this.Bz),this.ma.wa(this.Wa,"scrollerchangefinish",this.Bz),this.o(536870916,1));return m(a)?(this.Wa.P(a),this):this.Wa};g.sZ=function(a){var b=536870912,c=1;W(a,8)&&(b|=4,c|=8);this.o(b,c)};g.Bz=function(a){this.Pe.kC()^"scrollerchangefinish"==a.type&&(a.preventDefault(),H(this),this.Pe.Oq(a.startRatio,a.endRatio),this.ia(!0))};g.xo=function(a,b){return new jM(this,this,a,b,!0)};
g.Cn=function(a){return Yp(a)};g.Mt=function(a){var b=this.ak();a=IM(b,a);return HM.G.Mt.call(this,a.xQ,a.EU)};g.VB=function(a,b){return JM(this,a,this.ak(),b)};function IM(a,b){var c="beforeAxes"==a.position();a.$h(0);a.la(b);var d=a.mb(),e=NaN;c?e=d?b.height-a.Ic().height:b.width-a.Ic().width:b=a.Ic();return{xQ:b,EU:e}}
function JM(a,b,c,d){if("beforeAxes"==c.position())switch(c.zB()){case "top":c.$h().top(b[0]+(a.Wd||0));c.$h().bottom(0);b[0]+=d;break;case "bottom":c.$h().top(0);c.$h().bottom(b[2]+(a.Fc||0));b[2]+=d;break;case "left":c.$h().left(b[3]+(a.Qd||0));c.$h().right(0);b[3]+=d;break;case "right":c.$h().left(0),c.$h().right(b[1]+(a.Rd||0)),b[1]+=d}c.mb()?(c.$h().left(b[3]),c.$h().right(b[1])):(c.$h().top(b[0]),c.$h().bottom(b[2]));return b}
g.SP=function(){if(V(this,268435456)){for(var a in this.va){var b=this.Rh().jo(),c=1/(this.Rh().io()-b);AD(this.va[a],c,b)}tM(this.ak(),this.Rh().jo(),this.Rh().io());this.K(268435456);this.o(570687488)}};g.pS=function(){return this.Pe.jo()};g.oS=function(){return this.Pe.io()};g.oy=function(){return HM.G.oy.call(this)|536870912};g.Lw=function(){HM.G.Lw.call(this);V(this,536870912)&&(this.ak().R(this.Ma),this.ak().Y(),this.K(536870912))};
g.Cm=function(a,b,c){HM.G.Cm.call(this,a,b,c);this.Vl(a.barGroupsPadding);this.oo(a.barsPadding);this.ak(a.xScroller);a=a.xZoom;z(a)&&(ma(a.scale)||B(a.scale))?(c=a.scale,a.scale=b[a.scale],this.Rh(a),a.scale=c):this.Rh(a)};g.I=function(){var a=HM.G.I.call(this);a.type=this.Na();a.barGroupsPadding=this.Vl();a.barsPadding=this.oo();a.xScroller=this.ak().I();a.xZoom=this.Rh().I();return{chart:a}};g.ca=function(){HM.G.ca.call(this);Qb(this.Wa);this.Wa=null};function KM(){HM.call(this);this.N="cartesian"}F(KM,HM);var LM={},MM=qG|7864320;LM.area={jb:1,sb:1,tb:[$I,aJ,bJ],rb:null,lb:null,ob:MM,hb:"value",gb:"zero"};LM.bar={jb:6,sb:2,tb:[oJ,bJ],rb:null,lb:null,ob:MM,hb:"value",gb:"zero"};LM.box={jb:3,sb:2,tb:[oJ,bJ,pJ,qJ,rJ],rb:null,lb:null,ob:MM,hb:"highest",gb:"lowest"};LM.bubble={jb:4,sb:2,tb:[cJ,dJ,eJ,fJ],rb:null,lb:null,ob:MM,hb:"value",gb:"value"};LM.candlestick={jb:5,sb:2,tb:[gJ,iJ,jJ,lJ],rb:null,lb:null,ob:MM,hb:"high",gb:"low"};
LM.column={jb:6,sb:2,tb:[oJ,bJ],rb:null,lb:null,ob:MM,hb:"value",gb:"zero"};LM.jumpLine={jb:19,sb:2,tb:[aJ],rb:null,lb:null,ob:MM,hb:"value",gb:"value"};LM.line={jb:8,sb:1,tb:[aJ],rb:null,lb:null,ob:MM,hb:"value",gb:"value"};LM.marker={jb:9,sb:2,tb:[oJ,bJ],rb:null,lb:null,ob:qG|3670016,hb:"value",gb:"value"};LM.ohlc={jb:10,sb:2,tb:[hJ,kJ],rb:null,lb:null,ob:MM,hb:"high",gb:"low"};LM.rangeArea={jb:11,sb:1,tb:[$I,nJ,mJ,bJ],rb:null,lb:null,ob:MM,hb:"high",gb:"low"};
LM.rangeBar={jb:12,sb:2,tb:[oJ,bJ],rb:null,lb:null,ob:MM,hb:"high",gb:"low"};LM.rangeColumn={jb:12,sb:2,tb:[oJ,bJ],rb:null,lb:null,ob:MM,hb:"high",gb:"low"};LM.rangeSplineArea={jb:13,sb:1,tb:[$I,mJ,nJ,bJ],rb:null,lb:null,ob:MM,hb:"high",gb:"low"};LM.rangeStepArea={jb:14,sb:1,tb:[$I,mJ,nJ,bJ],rb:null,lb:null,ob:MM,hb:"high",gb:"low"};LM.spline={jb:15,sb:1,tb:[aJ],rb:null,lb:null,ob:MM,hb:"value",gb:"value"};LM.splineArea={jb:16,sb:1,tb:[$I,aJ,bJ],rb:null,lb:null,ob:MM,hb:"value",gb:"zero"};
LM.stepArea={jb:17,sb:1,tb:[$I,aJ,bJ],rb:null,lb:null,ob:MM,hb:"value",gb:"zero"};LM.stepLine={jb:18,sb:1,tb:[aJ],rb:null,lb:null,ob:MM,hb:"value",gb:"value"};LM.stick={jb:20,sb:2,tb:[aJ],rb:null,lb:null,ob:MM,hb:"value",gb:"zero"};LM.hilo={jb:31,sb:2,tb:[aJ],rb:null,lb:null,ob:MM,hb:"high",gb:"low"};KM.prototype.cg=LM;hG(KM,KM.prototype.cg);vv=function(a){var b=new KM;b.Ba(!0,Cr("cartesian"));m(a)&&(b.ka=!!a);return b};av.cartesian=vv;var NM=KM.prototype;E("anychart.cartesian",vv);NM.xScale=NM.Ka;
NM.yScale=NM.fb;NM.barsPadding=NM.oo;NM.barGroupsPadding=NM.Vl;NM.crosshair=NM.Wn;NM.maxBubbleSize=NM.sv;NM.minBubbleSize=NM.wv;NM.grid=NM.xr;NM.minorGrid=NM.Nt;NM.xAxis=NM.Hp;NM.getXAxesCount=NM.Cy;NM.yAxis=NM.Xn;NM.getYAxesCount=NM.Dy;NM.getSeries=NM.Yd;NM.lineMarker=NM.yr;NM.rangeMarker=NM.zr;NM.textMarker=NM.Ar;NM.palette=NM.ph;NM.markerPalette=NM.Wh;NM.hatchFillPalette=NM.Vh;NM.getType=NM.Na;NM.defaultSeriesType=NM.Fd;NM.addSeries=NM.fk;NM.getSeriesAt=NM.Th;NM.getSeriesCount=NM.Uh;
NM.removeSeries=NM.Wj;NM.removeSeriesAt=NM.Wk;NM.removeAllSeries=NM.Kl;NM.getPlotBounds=NM.Gf;NM.xZoom=NM.Rh;NM.xScroller=NM.ak;NM.zAspect=NM.lF;NM.zAngle=NM.kF;NM.zDistribution=NM.bk;NM.zPadding=NM.mF;NM.getStat=NM.ff;NM.zDepth=NM.TL;NM.annotations=NM.qg;NM.getXScales=NM.tq;NM.getYScales=NM.uq;function OM(){$H.call(this)}F(OM,$H);
OM.prototype.Ir=function(){var a=Re(this.scale().transform(this.value(),.5),0,1);if(!isNaN(a)){var b=xE(this).sl()%2?-.5:0,c=this.la(),d=this.Wi();xE(this).clear();var e=this.Ib().Bb,f=this.Ib().Ra;if("horizontal"==this.fc()){var h=Math.round(c.Ab()+c.height-a*c.height);1==a?h-=b:h+=b;xE(this).moveTo(c.$a(),h).lineTo(c.$a()+e,h-f).lineTo(c.Ja()+e,h-f)}else"vertical"==this.fc()&&(h=Math.round(c.$a()+a*c.width),1==a?h+=b:h-=b,xE(this).moveTo(h+e,c.Ab()-f).lineTo(h+e,c.Ea()-f).lineTo(h,c.Ea()));c.top-=
f;c.height+=f;c.width+=e;xE(this).clip(d.Ug(c))}};function PM(){AE.call(this)}F(PM,AE);
PM.prototype.Ir=function(){var a=this.fc(),b=this.from(),c=this.Zc();this.from()>this.Zc()&&(b=this.from(),c=this.Zc());var d=Re(this.scale().transform(b,0),0,1),e=Re(this.scale().transform(c,1),0,1);if(!isNaN(d)&&!isNaN(e)){c=this.la();b=this.Wi();xE(this).clear();var f=this.Ib().Bb,h=this.Ib().Ra;if("horizontal"==a){var e=Math.floor(c.Ea()-c.height*e),d=Math.ceil(c.Ea()-c.height*d),a=c.$a(),k=c.Ja();xE(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.Ea(),k=c.Ab(),d=Math.floor(c.$a()+c.width*d),e=Math.ceil(c.$a()+c.width*e),xE(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;xE(this).clip(b.Ug(c))}};function QM(){bI.call(this)}F(QM,eI);QM.prototype.la=function(a,b,c,d){b=QM.G.la.call(this,a,b,c,d);m(a)||(a=this.Ib().Bb,c=this.Ib().Ra,b.top-=c,b.height+=c,b.width+=a);return b};function RM(a){XI.call(this,a)}F(RM,XI);iG[2]=RM;g=RM.prototype;g.type=2;g.We=kG|177;g.af={top:"path",bottom:"path",left:"path",right:"path",back:"path",front:"path",frontHatch:"path"};g.LG=function(){for(var a=this.da.Rf();a.advance();){var b=a.B("shapes");if(b){var c=a.B("zIndex");this.mc.bo(c+1E-8*a.oa(),b)}}};
g.ye=function(a){RM.G.ye.call(this,a);this.W=!0;a=this.da.ua;var b=this.da.oa(),c=this.da.$e(),d=jK(this.da);this.ba=!c||b==a.ke[d];this.aa=rK(a,b,c);this.N=sK(a,b,c);this.i=SM(a,c);this.u=TM(a,c);a.Ka().$d()?(XJ(this.mc,"left",4E-6),XJ(this.mc,"right",1E-6)):(XJ(this.mc,"left",1E-6),XJ(this.mc,"right",4E-6));a.fb().$d()?(XJ(this.mc,"top",2E-6),XJ(this.mc,"bottom",3E-6)):(XJ(this.mc,"top",3E-6),XJ(this.mc,"bottom",2E-6))};
g.ik=function(a){var b=this.mc.wc(this.g,null,this.da.zIndex()),c=a.B("x")+this.aa,d=a.B("zero")-this.N,e=a.B("zeroMissing");a=a.B("value")-this.N;b.front.moveTo(c,d).lineTo(c,a);b.frontHatch.moveTo(c,d).lineTo(c,a);this.da.$e()?this.f=[c,d,e]:(b.back.moveTo(c+this.i,d-this.u).lineTo(c+this.i,a-this.u),b.bottom.moveTo(c,d).lineTo(c+this.i,d-this.u),b.left.moveTo(c,d).lineTo(c,a).lineTo(c+this.i,a-this.u).lineTo(c+this.i,d-this.u).close());this.D=c;this.U=a;this.Kf=this.X=d};
g.Ge=function(a){var b=this.mc.wc(this.g),c=a.B("x")+this.aa,d=a.B("zero")-this.N,e=a.B("zeroMissing");a=a.B("value")-this.N;this.da.$e()?this.f.push(c,d,e):(b.bottom.lineTo(c+this.i,d-this.u),b.back.lineTo(c+this.i,a-this.u));this.ba&&(e=b.front.zM(),this.W?b.top.moveTo(e.x,e.y).lineTo(e.x+this.i,e.y-this.u).lineTo(c+this.i,a-this.u).lineTo(c,a).close():b.top.moveTo(e.x,e.y).lineTo(c,a).lineTo(c+this.i,a-this.u).lineTo(e.x+this.i,e.y-this.u).close(),this.W=!this.W);b.front.lineTo(c,a);b.frontHatch.lineTo(c,
a);this.D=c;this.U=a;this.X=d};
g.Ui=function(){if(this.F){var a=this.mc.wc(this.g),b=a.front,c=a.frontHatch;if(this.f){for(var d=NaN,e=NaN,f=!1,h=this.f.length-1;0<=h;h-=3){var k=this.f[h-2],l=this.f[h-1],n=this.f[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.f=null}else isNaN(this.D)||(b.lineTo(this.D,this.Kf).close(),c.lineTo(this.D,this.Kf).close(),a.back.lineTo(this.D+this.i,this.Kf-this.u).close(),a.bottom.lineTo(this.D,
this.Kf).close());isNaN(this.D)||a.right.moveTo(this.D,this.X).lineTo(this.D,this.U).lineTo(this.D+this.i,this.U-this.u).lineTo(this.D+this.i,this.X-this.u).close()}};function UM(a){XI.call(this,a)}F(UM,XI);iG[7]=UM;g=UM.prototype;g.type=7;g.We=kG|263845;g.af={top:"path",bottom:"path",left:"path",right:"path",back:"path",front:"path",frontHatch:"path",rightHatch:"path",topHatch:"path"};g.ye=function(a){UM.G.ye.call(this,a);a=this.da.ua;var b=this.da.oa(),c=this.da.$e();this.i=rK(a,b,c);this.f=sK(a,b,c);this.u=SM(a,c);this.D=TM(a,c)};g.LG=function(a){for(var b=this.da.Rf();b.advance();){var c=b.B("shapes");c&&(a=b.B("zIndex"),this.mc.bo(a+1E-8*b.oa(),c))}};
g.Ge=function(a,b){var c=a.B("zIndex"),c=this.mc.wc(b,null,c+1E-8*a.oa());VM(this,a,c)};g.Om=function(a){var b=a.B("shapes"),c;for(c in b)b[c].clear();VM(this,a,b)};
function VM(a,b,c){var d=b.B("x"),e=b.B("zero"),f=b.B("value");a.b||(d+=a.i,e-=a.f,f-=a.f);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 u=a.u,v=a.D,w,x,y=n.stroke().thickness%2/2||0;a.b?(x=a.j,w=Math.min(e,f)+a.i,d=d-x/2-a.f,a=Math.abs(e-f),e=y,f=0):(a=a.j,w=d-a/2,d=Math.min(e,f),x=Math.abs(e-f),f=e=-y);b.moveTo(w+y,d+x).lineTo(w+a,d+x).lineTo(w+a+u-y,d+x-v+y).lineTo(w+u,d+x-v).close();h.moveTo(w+u,d-v).lineTo(w+u+a,d-v).lineTo(w+u+a,
d-v+x).lineTo(w+u,d-v+x).close();k.moveTo(w,d).lineTo(w+u+e,d-v+y).lineTo(w+u,d+x-v).lineTo(w,d+x-y).close();l.moveTo(w+a,d).lineTo(w+a+u+f,d-v+y).lineTo(w+a+u,d+x-v).lineTo(w+a,d+x-y).close();q.moveTo(w+a,d).lineTo(w+a+u+f,d-v+y).lineTo(w+a+u,d+x-v).lineTo(w+a,d+x-y).close();n.moveTo(w,d).lineTo(w+a,d).lineTo(w+a,d+x).lineTo(w,d+x).close();t.moveTo(w,d).lineTo(w+a,d).lineTo(w+a,d+x).lineTo(w,d+x).close();p.moveTo(w+y,d).lineTo(w+a,d).lineTo(w+a+u-y,d-v+y).lineTo(w+u,d-v).close();c.moveTo(w+y,d).lineTo(w+
a,d).lineTo(w+a+u-y,d-v+y).lineTo(w+u,d-v).close()};function WM(){gI.call(this)}F(WM,gI);WM.prototype.nO=function(a,b){var c=this.la()||Ks(0,0,0,0),d=Math.round(c.Ea()-a*c.height);1==a?d-=b:d+=b;var e=c.$a()+this.Bb,f=d-this.Ra;this.f.moveTo(c.$a(),d).lineTo(e,f).lineTo(c.Ja()+this.Bb,f)};WM.prototype.oO=function(a,b){var c=this.la()||Ks(0,0,0,0),d=Math.round(c.$a()+a*c.width);1==a?d+=b:d-=b;var e=d+this.Bb,f=c.Ea()-this.Ra;this.f.moveTo(d,c.Ea()).lineTo(e,f).lineTo(e,c.Ab()-this.Ra)};
WM.prototype.lO=function(a,b,c,d,e){if(!isNaN(b)){c=this.la()||Ks(0,0,0,0);var f,h;f=Math.round(c.Ea()-b*c.height);h=Math.round(c.Ea()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.$a(),f).lineTo(c.$a()+this.Bb,f-this.Ra).lineTo(c.Ja()+this.Bb,f-this.Ra).lineTo(c.Ja()+this.Bb,h-this.Ra).lineTo(c.$a()+this.Bb,h-this.Ra).lineTo(c.$a(),h).close()}};
WM.prototype.mO=function(a,b,c,d,e){if(!isNaN(b)){c=this.la()||Ks(0,0,0,0);var f,h;f=Math.round(c.$a()+b*c.width);h=Math.round(c.$a()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f+this.Bb,c.Ab()-this.Ra).lineTo(h+this.Bb,c.Ab()-this.Ra).lineTo(h+this.Bb,c.Ea()-this.Ra).lineTo(h,c.Ea()).lineTo(f,c.Ea()).lineTo(f+this.Bb,c.Ea()-this.Ra).close()}};function XM(){HM.call(this);this.b=0;this.N="cartesian3d"}F(XM,HM);function YM(a){var b=Dt(a.domTarget);if(b&&b.da&&b.da.check(4)){var c=Dt(a.relatedDomTarget);c&&c.da&&c.da==b.da&&c.index==b.index||(b=b.da)&&!b.ud&&b.enabled()&&(c=b.gi(),b.Ya(null),b.bg(a.cE),b.Ya(c))}}XM.prototype.Ti=function(a){YM(a);XM.G.Ti.call(this,a)};XM.prototype.Lm=function(a){YM(a);XM.G.Lm.call(this,a)};XM.prototype.Xk=function(a){YM(a);XM.G.Xk.call(this,a)};XM.prototype.Sf=function(a){YM(a);XM.G.Sf.call(this,a)};
function ZM(a,b,c){var d,e,f,h,k;k=nr(["fill","hoverFill","selectFill"],1)(a,c);c=z(k)?k.opacity:1;e=z(k)?k.color:k;if(k=cr(e)){e=k.Pg;var l=vo(e);f=zo(l,.2);k=zo(l,.25);h=yo([255,255,255],l,.1);d=Lf(yo(l,f,.7));h=Lf(yo(f,h,.1));l=Lf(yo(l,f,.1));a={angle:a.O("isVertical")?0:90,opacity:c,keys:[fr(d,.2),fr(e,.3)]};e=fr(l,.2);d=fr(d,.2);f=Lf(f);k=Lf(k)}else a=e=d=f=h=k="none";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 $M={},aN=qG|5767168;
$M.area={jb:2,sb:1,tb:[{name:"top",rc:"path",zc:null,Ac:null,ic:!1,zIndex:3E-6},tJ,uJ,vJ,wJ,xJ,yJ],rb:null,lb:function(a,b,c){var d,e,f,h,k;c=nr(["fill","hoverFill","selectFill"],1)(a,c);a=z(c)?c.opacity:1;d=z(c)?c.color:c;if(c=cr(d)){d=c.Pg;h=vo(d);var l=zo(h,.2);f=zo(h,.3);c=zo(h,.25);k=yo([255,255,255],h,.1);e=Lf(yo(h,l,.7));f=Lf(yo(h,f,.7));k=Lf(yo(l,k,.1));h=Lf(yo(h,l,.1));d={angle:90,opacity:a,keys:[fr(e,.2),fr(d,.3)]};e=fr(f,.2);f=h=fr(h,.2);c=Lf(c)}else d=e=f=h=k=c="none";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})},ob:aN,hb:"value",gb:"zero"};$M.bar={jb:7,sb:2,tb:[sJ,tJ,uJ,vJ,wJ,xJ,yJ,zJ,AJ],rb:null,lb:ZM,ob:aN,hb:"value",gb:"zero"};$M.column={jb:7,sb:2,tb:[sJ,tJ,uJ,vJ,wJ,xJ,yJ,zJ,AJ],rb:null,lb:ZM,ob:aN,hb:"value",gb:"zero"};XM.prototype.cg=$M;hG(XM,XM.prototype.cg);
wv=function(a){var b=new XM;b.Ba(!0,Cr("cartesian3d"));m(a)&&(b.ka=!!a);return b};av.cartesian3d=wv;g=XM.prototype;g.XS=function(){return!0};function rK(a,b,c){c||!a.bk()?a=0:(b=a.Uh()-b-1,a=(SM(a,c)+a.F)*b);return a}function sK(a,b,c){c||!a.bk()?a=0:(b=a.Uh()-b-1,a=(TM(a,c)+a.Fa)*b);return a}function SM(a,b){var c=a.Uh(),d=a.F,e=a.Bb;!b&&a.bk()&&(e=(e-d*(c-1))/c);return e}function TM(a,b){var c=a.Uh(),d=a.Fa,e=a.Ra;!b&&a.bk()&&(e=(e-d*(c-1))/c);return e}g.kG=function(){return new WM};
g.LQ=function(){var a=new OM;a.Da=this;return a};g.QQ=function(){var a=new PM;a.Da=this;return a};g.UQ=function(){var a=new QM;a.Da=this;return a};g.PK=function(){this.ke={};for(var a=this.yd(),b,c=0;ck&&(l=e.O("isVertical")?l-f:e.$e()?l-f:l+f);h.B("zIndex",l)}else this.ke[jK(b)]=c};
g.$R=function(a){a=a.clone().round();var b=this.Mt(a),c=this.Uh(),d=I(this.yj),e=I(90-this.yj),f=this.Vj;if(null==this.ab&&Ft(this.oc)){for(var h=parseFloat(this.oc)/100,k=h*Math.sin(e),l=h*Math.sin(d),n=h=0,p=this.yd(),q,t=0;t=this.b&&(f=(this.b-c)/b),this.F=Math.round(f*Math.sin(e)),this.Fa=Math.round(f*Math.sin(d));this.Bb=
Math.max(this.Bb,0)||0;this.Ra=Math.max(this.Ra,0)||0;this.F=Math.max(this.F,0)||0;this.Fa=Math.max(this.Fa,0)||0;a.top+=this.Ra;a.height-=this.Ra;a.width-=this.Bb;return a};g.FC=function(a,b,c){if(!this.Pd&&this.bk()){if(0h?e+h+270:e+h+90:e,f=m(c)&&c.anchor||this.O("anchor"));a=iD(this,a,b,c,d);b=Nt(a,f);b=yf(I(e),b.x,b.y);a=Is(a)||[];b.transform(a,0,a,0,4);return a};
lN.prototype.mC=function(){return new qN};function qN(){hD.call(this)}F(qN,hD);var sN=qN.prototype,tN=kc(hD.prototype.ru);Z(tN,0,"autoRotate",jy,16,9);sN.ru=tN;ky(qN,qN.prototype.ru);function rN(a,b){var c=a.ag("rotation");return a.ag("autoRotate")?0b?c+b+270:c+b+90:c}
qN.prototype.XO=function(a,b){var c=this.f.positionFormatter,d=ZC(this.f.anchor)||"leftTop",e=this.f.offsetX||0,f=this.f.offsetY||0,h=this.il,k=this.lc(),l=kc(c.call(k,k)),c=l.angle,k=l.radius,l=m(l.radiusY)?l.radiusY:k,n=0,p=0,q=h.jd(),t=h.kd(),u=h.te(),h=mN(h);if(b||!isNaN(q)&&!isNaN(t))var n=b.left,p=b.top,v=b.width,w=b.height,n=isNaN(q)?n+v/2:q,p=isNaN(t)?p+w/2:t,f=m(h)&&!isNaN(h)?N(f,h):b?N(f,Math.min(v,w)/2):0,c=c+N(e,null!=u?u:360),k=k+f,l=l+f;e=n+Ve(c,k);f=p+Xe(c,l);d=Nt(new J(0,0,a.width,
a.height),d);e-=d.x;f-=d.y;this.u+=e;this.J+=f;a.left=e;a.top=f;this.f.rotation=rN(this,c);this.i.x(this.u).y(this.J)};function uN(){X.call(this);this.F=[];this.J=[];this.W=[];this.U=[]}F(uN,X);uN.prototype.ta=X.prototype.ta|2;uN.prototype.sa=X.prototype.sa|912;var jN=2,gN=3;g=uN.prototype;g.Xh=null;g.pa=null;g.Fb=null;g.Va=null;g.cc=null;g.scale=function(a){if(m(a))return B(a)&&(a=vN(a)),this.na!=a&&(this.na&&zx(this.na,this.uG,this),this.na=a,T(this.na,this.uG,this),this.o(388,3)),this;this.na||(this.na=FD(),T(this.na,this.uG,this));return this.na};
function vN(a){a:{a=String(a).toLowerCase();switch(a){case "log":case "logarithmic":a="log";break a}a="linear"}switch(a){case "log":return ED()}return FD()}g.uG=function(a){W(a,2)&&this.o(388,3)};g.Pa=function(a){this.Fb||(this.Fb=new lN,this.Fb.Ya(this),T(this.Fb,this.JN,this),G(this,this.Fb));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Fb.P(a),this):this.Fb};
g.labels=function(a){this.pa||(this.pa=new lN,this.pa.Ya(this),T(this.pa,this.JN,this),G(this,this.pa));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.pa.P(a),this):this.pa};g.JN=function(){wN(this);this.o(384,1)};g.Gr=function(a){return m(a)?(this.fn!=a&&(this.fn=a,this.o(388,9)),this):this.fn};g.Hr=function(a){return m(a)?(this.gn!=a&&(this.gn=a,this.o(388,9)),this):this.gn};
g.Za=function(a){this.cc||(this.cc=new cN,this.cc.Ya(this),this.cc.b=this,T(this.cc,this.KN,this),G(this,this.cc));return m(a)?(this.cc.P(a),this):this.cc};g.Lb=function(a){this.Va||(this.Va=new cN,this.Va.Ya(this),this.Va.b=this,T(this.Va,this.KN,this),G(this,this.Va));return m(a)?(this.Va.P(a),this):this.Va};g.KN=function(a){var b=0;W(a,8)&&(b=384,wN(this));W(a,1)&&(b|=256);this.o(b,1)};g.Ec=function(a){return m(a)?(a=null===a?a:Te(S(a)||0),this.Pc!=a&&(this.Pc=a,this.o(388,9)),this):this.Pc};
g.te=function(a){return m(a)?(a=null===a?a:Re(S(a)||0,-360,360),this.N!=a&&(this.N=a,this.o(388,9)),this):this.N};g.Qa=function(a){return m(a)?(a=null===a?a:Ht(a),this.Xa!=a&&(this.Xa=a,this.o(388,9)),this):this.Xa};g.Vw=function(a){return m(a)?(a=Ht(a),this.g!=a&&(this.g=a,this.o(388,9)),this):this.g};g.width=function(a){return m(a)?(a=null===a?a:Ht(a),this.bb!=a&&(this.bb=a,this.o(388,1)),this):this.bb};
g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Ff.apply(null,arguments);k!=this.j&&(this.j=k,this.o(16,1));return this}return this.j};g.tG=function(a){return m(a)?(a=Np(a,this.b),this.b!=a&&(this.b=a,this.o(388,1)),this):this.b};g.ef=function(){return this.D};g.Og=function(){return null!=this.Pc?this.Pc+xN:this.u.Og()};function wN(a){a.F.length=0;a.J.length=0;a.W.length=0;a.U.length=0;a.i=null}
function yN(a,b,c){var d=b?a.Lb():a.Za();b=b?a.labels():a.Pa();b=Rp(b.O("position"));var e=a.D;"outside"==b?(e+=a.Nf/2+c,d.enabled()&&("outside"==d.position()?e+=d.f:"center"==d.position()&&(e+=d.f>a.Nf?(d.f-a.Nf)/2:0))):"inside"==b&&(e-=a.Nf/2+c,d.enabled()&&("inside"==d.position()?e-=d.f:"center"==d.position()&&(e-=d.f>a.Nf?(d.f-a.Nf)/2:0)));return e}
function zN(a,b,c){var d=c?a.W:a.U;if(m(d[b]))return d[b];var e=c?a.labels():a.Pa(),f=e.Ld(b),h=a.na;c=(c?h.Lb():h.Za()).get()[b];a=AN(a,b,c);c={value:{angle:0,radius:0}};d[b]=f?pN(e,f):pN(e,a,c);return d[b]}
function BN(a,b,c){var d=c?a.F:a.J;if(m(d[b]))return d[b];var e=zN(a,b,c),f=c?a.labels():a.Pa(),h=a.na,k=(c?h.Lb():h.Za()).get()[b],l=h.transform(k),k=(h=f.Ld(b))&&m(h.O("autoRotate"))?h.O("autoRotate"):f.O("autoRotate"),n=h&&m(h.O("offsetX"))?h.O("offsetX"):f.O("offsetX"),p=h&&m(h.O("offsetY"))?h.O("offsetY"):f.O("offsetY");c=yN(a,c,k?e.height:0);c+=N(p,a.u.ef());var q=a.Og(),p=m(a.N)?a.N:a.u.te(),l=Te(q+l*p),l=l+N(n,p),p=I(l),n=a.u.wb+c*Math.cos(p),p=a.u.pb+c*Math.sin(p);c=h&&m(h.O("rotation"))?
h.O("rotation"):f.O("rotation");k&&(c+=0l?l+270:l+90);a=h&&m(h.O("anchor"))?h.O("anchor"):k?f.O("anchor"):CN(a,l);e.left=n;e.top=p;f=Nt(new J(0,0,e.width,e.height),a);e.left-=f.x;e.top-=f.y;a=Nt(e,a);a=yf(I(c),a.x,a.y);e=Is(e);a.transform(e,0,e,0,4);return d[b]=e}
function AN(a,b,c){var d=a.scale();a=new oB({axis:{value:a,type:""},index:{value:b,type:"number"},value:{value:parseFloat(c),type:"number"},tickValue:{value:parseFloat(c),type:"number"},max:{value:m(d.max)?d.max:null,type:"number"},min:{value:m(d.min)?d.min:null,type:"number"},scale:{value:d,type:""}});a.Oi({"%AxisScaleMax":"max","%AxisScaleMin":"mix"});return wA(a)}
function CN(a,b){b=Te(b);var c="center",d=Rp(a.labels().O("position"));"inside"==d?b?0b?c="rightBottom":90==b?c="centerBottom":90b?c="leftBottom":180==b?c="leftCenter":180b?c="leftTop":270==b?c="centerTop":270b?c="leftTop":90==b?c="centerTop":90b?c="rightTop":180==b?c="rightCenter":180b?c="rightBottom":270==b?c="centerBottom":270=U&&this.Gr()||1<=U&&this.Hr()?A=P:0U&&(A=P)),P++;Q<=Xb&&ka=U||1<=U?(-1==u&&(u=wb),C=wb,v.push(!0)):0U?(-1==u&&(u=wb),C=wb,v.push(!0)):v.push(!1))):v.push(!1),wb++)}Oc||(v=!1);ia||(q=!1);this.i={labels:q,Pa:v};this.K(512)}q=this.i}z(q)?(t=q.labels,w=q.Pa):(t=!q,w=!q);v=q=0;for(var xb;qc)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 HN(a,b,c,d,e){return"outside"==a.D?b*(1+(e?0:d))+c/2:"inside"==a.D?b*(1-(e?0:d))-c/2:b*(1+(e?-.5:.5)*d)}g.remove=function(){this.ga&&this.ga.parent(null);this.b&&this.b.length&&db(this.b,function(a){a.parent(null)})};function IN(a,b,c,d){var e=a.u.pb;d=I(d);b.x=a.u.wb+c*Math.cos(d);b.y=e+c*Math.sin(d)}
function JN(a,b,c,d,e,f,h,k,l,n,p,q,t,u,v,w,x){var y=(c+d)/2,A=(e+f)/2,C=(h+k)/2,O=a.u.wb,Q=a.u.pb,R=b[t],ba={},Y={},U={},P={};IN(a,ba,e,c);IN(a,Y,f,d);IN(a,U,k,d);IN(a,P,h,c);var ia=Ks(0,0,0,0);ia.left=Math.min(ba.x,Y.x,U.x,P.x);ia.top=Math.min(ba.y,Y.y,U.y,P.y);ia.width=Math.max(ba.x,Y.x,U.x,P.x)-ia.left;ia.height=Math.max(ba.y,Y.y,U.y,P.y)-ia.top;ba=[];Y={};U={};Y.position="0";Y.opacity=n;Y.color=l;ba.push(Y);U.position="1";U.opacity=q;U.color=p;ba.push(U);n=(l=KN(a.u,a.Bf()).scale().$d())?-1:
1;p={};p.angle=-(y+90*n);p.keys=ba;q=bj();GN(a,q,c,y,(h+e)/2,(C+A)/2,!0);GN(a,q,y,d,(C+A)/2,(k+f)/2,!1);p.mode=q.vb();GN(a,R,c,y,e,A,!0);GN(a,R,y,c,C,h,!1);!t&&u&&(h=O+Ve(c,e),c=Q+Xe(c,e),u