Number(vc)&&(d.src='javascript:""');c.bf=Jf(c.te).c("IFRAME",d);d=c.bf.style;d.visibility="hidden";d.width=d.height="10px";d.display="none";oc?d.marginTop=d.marginLeft="-10px":(d.position="absolute",d.top=d.left="-10px");if(kc&&!zc("11")){c.te.target=c.gn||"";Jf(c.te).b.body.appendChild(c.bf);Xc(c.bf,"readystatechange",c.RB,!1,c);try{c.b=!1,c.te.submit()}catch(Lb){ed(c.bf,"readystatechange",c.RB,!1,c),dn(c)}}else{nl(c.uf,"Setting up iframes and cloning form");
Jf(c.te).b.body.appendChild(c.bf);var d=c.gn+"_inner",e=gg(c.bf),f;document.baseURI?(f=Da(d),kf("Short HTML snippet, input escaped, safe URL, for performance"),f='',f=Cf(f,null)):(f=Da(d),kf("Short HTML snippet, input escaped, for performance"),f=Cf('',null));if(jc&&!oc){var h=e.documentElement;if(If[h.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+
h.tagName+".");h.innerHTML=Af(f)}else e.write(Af(f));Xc(e.getElementById(d),"load",c.vw,!1,c);var k=Of("TEXTAREA",c.te);f=0;for(h=k.length;f.");if("A"in Gf)throw Error("Tag name is not allowed for SafeHtml.");y=null;var va;B="";if(x)for(var Ya in x){if(!Ef.test(Ya))throw Error('Invalid attribute name "'+Ya+'".');var qa=x[Ya];if(null!=qa){E=B;var Mb,R=Ya,S=qa;if(S instanceof gf)S=jf(S);else if("style"==R.toLowerCase()){Y=S;if(!z(Y))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+
typeof Y+" given: "+Y);if(!(Y instanceof lf)){pa=Y;h="";k=void 0;for(k in pa){if(!/^[-_a-zA-Z0-9]+$/.test(k))throw Error("Name allows only [-_a-zA-Z0-9], got: "+k);var eb=pa[k];if(null!=eb){if(eb instanceof gf)eb=jf(eb);else if(pf.test(eb)){n=l=!0;for(p=0;p";else{var Ic=Hf(M);va+=">"+Af(Ic)+"";y=Ic.rp()}var ub=x&&x.dir;ub&&(/^(ltr|rtl|auto)$/i.test(ub)?y=0:y=null);Z=Cf(va,y);v=Hf(ca,Z,Df("\nLine: "+w.lineNumber+"\n\nBrowser stack:\n"+w.stack+"-> [end]\n\nJS stack traversal:\n"+
Uk(void 0)+"-> "))}catch(Lf){v=Df("Exception trying to expose exception! You win, we lose. "+Lf)}v=Af(v);f&&f.log(cl,"Error when submitting form: "+v,void 0);ed(e.getElementById(d),"load",c.vw,!1,c);e.close();dn(c)}}en(c)}function cn(a,b){var c=Jf(a);mk(b,function(b,e){q(b)||(b=[b]);$a(b,function(b){b=c.c("INPUT",{type:"hidden",name:e,value:b});a.appendChild(b)})})}g=Zm.prototype;g.uf=ll("goog.net.IframeIo");g.te=null;g.bf=null;g.gn=null;g.pU=0;g.uk=!1;g.hB=null;g.AB=null;g.fn=null;
g.abort=function(){this.uk&&(ml(this.uf,"Request aborted"),hd(fn(this)),this.uk=!1,this.dispatchEvent("abort"),gn(this))};g.M=function(){nl(this.uf,"Disposing iframeIo instance");this.uk&&(nl(this.uf,"Aborting active request"),this.abort());Zm.o.M.call(this);this.bf&&hn(this);en(this);delete this.f;this.hB=this.AB=this.te=null;delete an[this.ag]};g.zl=function(){return this.uk};
g.RB=function(){if("complete"==this.bf.readyState){ed(this.bf,"readystatechange",this.RB,!1,this);var a;try{if(a=gg(this.bf),kc&&"about:blank"==a.location&&!navigator.onLine){dn(this);return}}catch(b){dn(this);return}jn(this,a)}};g.vw=function(){if(!jc||oc||"about:blank"!=(this.bf?gg(fn(this)):null).location){ed(fn(this),"load",this.vw,!1,this);try{jn(this,this.bf?gg(fn(this)):null)}catch(a){dn(this)}}};
function jn(a,b){nl(a.uf,"Iframe loaded");a.uk=!1;var c;try{var d=b.body;a.AB=d.textContent||d.innerText}catch(e){c=1}c||"function"!=typeof a.f||(d=a.f(b))&&(c=4);(d=a.uf)&&d.log(hl,"Last content: "+a.AB,void 0);(d=a.uf)&&d.log(hl,"Last uri: "+a.hB,void 0);c?(nl(a.uf,"Load event occurred but failed"),dn(a)):(nl(a.uf,"Load succeeded"),a.dispatchEvent("complete"),a.dispatchEvent("success"),gn(a))}function dn(a){a.b||(a.uk=!1,a.dispatchEvent("complete"),a.dispatchEvent("error"),gn(a),a.b=!0)}
function gn(a){ml(a.uf,"Ready for new requests");hn(a);en(a);a.te=null;a.dispatchEvent("ready")}function hn(a){var b=a.bf;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.c.push(b));a.fn&&(ba.clearTimeout(a.fn),a.fn=null);mc||jc&&!oc?a.fn=pd(a.nH,2E3,a):a.nH();a.bf=null;a.gn=null}g.nH=function(){this.fn&&(ba.clearTimeout(this.fn),this.fn=null);for(;this.c.length;){var a=this.c.pop();ml(this.uf,"Disposing iframe");dg(a)}};function en(a){a.te&&a.te==bn&&bg(a.te)}
function fn(a){return a.bf?kc&&!zc("11")?a.bf:gg(a.bf).getElementById(a.gn+"_inner"):null}g.MK=function(){if(this.uk){var a=this.bf?gg(fn(this)):null;a&&!gc(a,"documentUri")?(ed(fn(this),"load",this.vw,!1,this),navigator.onLine?(a=this.uf)&&a.log(dl,"Silent Firefox error detected",void 0):(a=this.uf)&&a.log(dl,"Firefox is offline so report offline error instead of silent error",void 0),dn(this)):pd(this.MK,250,this)}};var kn={};function $g(a){var b=a.P();if(b){var c=String(ka(a));kn[c]=a;b.setAttribute("data-ac-wrapper-id",c)}}function dh(a){delete kn[String(ka(a))];(a=a.P())&&a.removeAttribute("data-ac-wrapper-id")}function Oj(a,b){for(var c,d=b.P().parentNode;a&&a!=d;){c=a.getAttribute&&a.getAttribute("data-ac-wrapper-id")||null;if(null!=c)break;a=a.parentNode}return(c=kn[c||""]||null)&&c.P()==a?c:null}var Wl="svg",Vl=null,Vl=kc&&!zc("9")?"vml":Wl,Tg="vml"==Vl?wm.xe():vj.xe();
function cm(a,b,c){return"vml"==Vl?new Wm(a,b,c):new fm(a,b,c)}var Tl="//export.anychart.com";function ak(a,b){var c;a&&(c=Xf("STYLE"),c.type="text/css",c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(String(a))),cg(Pf("head",void 0,b)[0],c))}ba.acgraph=ba.acgraph||{};ba.acgraph.fontSize="10px";ba.acgraph.fontColor="#000";ba.acgraph.textDirection="ltr";ba.acgraph.fontFamily="Verdana";function ph(a,b,c,d){return new mh(a,b,c,d)}function sh(a,b,c){return new jh(a,b,c)}
function Mh(){return new Lh}function th(a,b,c,d){return new hh(a,b,c,d)}function uh(){return new nh}function Rh(a,b,c,d,e){return new ui(a,b,c,d,e)}function Oh(a,b,c,d){a="vml"==Vl?new Sm(a,b):new aj(a,b);d&&a.style(d);c&&a.text(c);return a}function Te(a,b,c,d){return new fh(a,b,c,d)}function Pe(a){return new Oe(a)}function ch(a,b,c,d){return"vml"==Vl?new gm(null,a,b,c,d):new ah(null,a,b,c,d)}var ln=void 0;
function Ij(){return m(ln)?ln:kc&&zc("9")&&!zc("10")?ln="":ln=de||null===de&&Pf("base",void 0,void 0).length?window.location.origin+window.location.pathname+window.location.search:""}F("acgraph.create",cm);F("acgraph.type",function(){return Vl});F("acgraph.server",function(a){m(a)&&(Tl=a);return Tl});F("acgraph.StageType.SVG",Wl);F("acgraph.StageType.VML","vml");F("acgraph.rect",ph);F("acgraph.circle",sh);F("acgraph.ellipse",th);F("acgraph.path",uh);F("acgraph.text",Oh);F("acgraph.layer",Mh);
F("acgraph.image",Rh);F("acgraph.hatchFill",Te);F("acgraph.patternFill",Pe);F("acgraph.clip",ch);F("acgraph.useAbsoluteReferences",function(a){if(m(a))de=a;else return!!Ij()});F("acgraph.updateReferences",function(){var a=ln;ln=void 0;if(m(a)&&Ij()!=a){var b=Tg,c;for(c in kn)if(kn.hasOwnProperty(c)){var a=kn[c],d=a.ha();d&&(a instanceof Qg&&(d.bc()?a.ya(512):a.ec(512)||b.vC(a)),a instanceof bh&&(d.bc()?a.ya(24):(a.ec(8)||Hj(b,a),a.ec(16)||Lj(b,a))))}}});F("anychart.VERSION","7.14.0.1429");F("anychart.DEVELOP",!0);F("anychart.DEFAULT_THEME","defaultTheme");F("anychart.PERFORMANCE_MONITORING",!1);function mn(a){a=String(a).toLowerCase();switch(a){case "byspot":case "spot":case "sp":return"bySpot";case "single":case "s":return"single"}return"byX"}function nn(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 on(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 pn(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 qn(a,b){a=pn(a,b);return"auto"==a&&m(b)?b:a}
function rn(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 sn(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 tn(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 un(a){a=String(a).toLowerCase();switch(a){case "radial":case "r":case "rad":return"radial"}return"circuit"}
function vn(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 wn(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 xn={KW:"circle",PX:"square",dY:"triangleUp",aX:"diamond",aY:"triangleDown",cY:"triangleRight",bY:"triangleLeft",NW:"cross",IL:"diagonalCross",RX:"star4",SX:"star5",TX:"star6",UX:"star7",QX:"star10",nX:"pentagon",$X:"trapezium",iX:"line",gY:"vline",hW:"arrowhead",lW:"arrowUp",kW:"arrowRight",iW:"arrowDown",jW:"arrowLeft"};
function yn(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 zn(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 An;case "line":return Bn;case "ellipse":return Cn;case "bar":return Dn;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 En(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 Fn(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 An="x",Bn="line",Cn="ellipse",Dn="bar";function Gn(a){a=String(a).toLowerCase();switch(a){case "x":return An;case "line":return Bn;case "ellipse":return Cn}return Dn}
function Hn(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 In(a){a=String(a).toLowerCase();switch(a){case "outside":case "out":case "o":case "outer":return"outside";case "middle":case "mid":case "m":case "center":case "c":return"center"}return"inside"}
function Jn(a){a=String(a).toLowerCase();switch(a){case "inside":case "in":case "i":case "inner":return"inside";case "outside":case "out":case "o":case "outer":case "l":case "left":case "outsideleft":case "outleft":case "ol":case "outerleft":return"outsideLeft";case "r":case "right":case "outsideright":case "outright":case "or":case "outerright":return"outsideRight";case "outsiderightincolumn":case "outsiderightcolumn":case "outrightincolumn":case "outrightcolumn":case "oric":case "orc":case "rc":case "outerrightincolumn":case "outerrightcolumn":return"outsideRightInColumn"}return"outsideLeftInColumn"}
function Kn(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 Ln(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 Mn(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 Nn(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 On(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 Pn(){var a;a="undefined";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 Qn(a){a=String(a).toLowerCase();switch(a){case "area":return"area";case "marker":return"marker"}return"line"}
function Rn(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 Sn(a){a=String(a).toLowerCase();switch(a){case "bubble":return"bubble";case "marker":return"marker"}return"line"}function Tn(a){a=String(a).toLowerCase();switch(a){case "raw":return"raw";case "grouped":return"grouped"}return"specific"}
function Un(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 Vn(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 Wn(a){z(a)&&(a=a.mode);a=String(a).toLowerCase();switch(a){case "byword":return"byWord";case "bychar":return"byChar"}return"csv"}
function Xn(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 Yn(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 Zn(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 $n(a){a=String(a).toLowerCase();switch(a){case "italic":case "i":return"italic";case "oblique":case "o":return"oblique"}return"normal"}
function ao(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 bo(a){a=String(a).toLowerCase();switch(a){case "rtl":case "r":return"rtl"}return"ltr"}function co(a){a=String(a).toLowerCase();switch(a){case "nowrap":case "no":case "n":return"noWrap";case "byword":return"byWord";default:return"byLetter"}}
function eo(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 fo(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 go(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 ho={mW:"average",dL:"bubbleSize",eL:"bubbleSizePercentOfCategory",fL:"bubbleSizePercentOfSeries",gL:"bubbleSizePercentOfTotal",pW:"categoryName",hL:"categoryYAverage",rW:"categoryYMax",iL:"categoryYMedian",uW:"categoryYMin",jL:"categoryYMode",kL:"categoryYPercentOfTotal",xW:"categoryYRangeAverage",lL:"categoryYRangeMax",AW:"categoryYRangeMedian",mL:"categoryYRangeMin",EW:"categoryYRangeMode",nL:"categoryYRangePercentOfTotal",oL:"categoryYRangeSum",pL:"categoryYSum",qL:"close",MW:"count",rL:"dataPlotBubbleMaxSize",
sL:"dataPlotBubbleMinSize",tL:"dataPlotBubbleSizeAverage",uL:"dataPlotBubbleSizeSum",SW:"dataPlotMaxXSumSeriesName",UW:"dataPlotMaxYSumSeriesName",TW:"dataPlotMaxXValuePointSeriesName",VW:"dataPlotMaxYValuePointSeriesName",WW:"dataPlotMinXSumSeriesName",YW:"dataPlotMinYSumSeriesName",XW:"dataPlotMinXValuePointSeriesName",ZW:"dataPlotMinYValuePointSeriesName",vL:"dataPlotPointCount",wL:"dataPlotSeriesCount",xL:"dataPlotXAverage",yL:"dataPlotXMax",zL:"dataPlotXMin",AL:"dataPlotXSum",BL:"dataPlotYAverage",
CL:"dataPlotYMax",DL:"dataPlotYMin",EL:"dataPlotYRangeMax",FL:"dataPlotYRangeMin",GL:"dataPlotYRangeSum",HL:"dataPlotYSum",KL:"high",LL:"index",ML:"low",jX:"max",lX:"min",mX:"name",OPEN:"open",DX:"pointsCount",AX:"pertChartCriticalPathStandardDeviation",BX:"pertChartProjectDuration",QL:"range",RL:"rangeEnd",SL:"rangeStart",GX:"seriesAverage",TL:"seriesBubbleMaxSize",UL:"seriesBubbleMinSize",VL:"seriesBubbleSizeAverage",WL:"seriesBubbleSizeMedian",XL:"seriesBubbleSizeMode",YL:"seriesBubbleSizeSum",
ZL:"seriesFirstXValue",$L:"seriesFirstYValue",aM:"seriesLastXValue",bM:"seriesLastYValue",HX:"seriesMax",IX:"seriesMin",JX:"seriesName",dM:"seriesPointCount",cM:"seriesPointsCount",KX:"seriesSum",eM:"seriesXAverage",fM:"seriesXMax",gM:"seriesXMedian",hM:"seriesXMin",iM:"seriesXMode",jM:"seriesXSum",kM:"seriesYAverage",lM:"seriesYMax",mM:"seriesYMedian",nM:"seriesYMin",oM:"seriesYMode",LX:"seriesYRangeAverage",pM:"seriesYRangeMax",MX:"seriesYRangeMedian",qM:"seriesYRangeMin",NX:"seriesYRangeMode",
rM:"seriesYRangeSum",sM:"seriesYSum",XX:"sum",tM:"value",OL:"percentValue",vM:"xPercentOfSeries",wM:"xPercentOfTotal",xM:"xValue",yM:"yPercentOfCategory",zM:"yPercentOfSeries",AM:"yPercentOfTotal",BM:"yValue",jY:"xScalesMin",iY:"xScalesMax",lY:"yScalesMin",kY:"yScalesMax",HW:"catYSumArr_",vW:"catYMinArr_",sW:"catYMaxArr_",qW:"catYAvgArr_",tW:"catYMedianArr_",wW:"catYModeArr_",GW:"catYRangeSumArr_",DW:"catYRangeMinArr_",zW:"catYRangeMaxArr_",yW:"catYRangeAvgArr_",BW:"catYRangeMedianArr_",FW:"catYRangeModeArr_"},
io={},jo;for(jo in ho)ho.hasOwnProperty(jo)&&(io[jo]=ho[jo].toLowerCase());
function ko(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 lo(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"}F("anychart.enums.RadialGridLayout.CIRCUIT","circuit");F("anychart.enums.RadialGridLayout.RADIAL","radial");F("anychart.enums.HoverMode.BY_SPOT","bySpot");F("anychart.enums.HoverMode.BY_X","byX");F("anychart.enums.SelectionMode.NONE","none");F("anychart.enums.SelectionMode.SINGLE_SELECT","singleSelect");
F("anychart.enums.SelectionMode.MULTI_SELECT","multiSelect");F("anychart.enums.SelectionMode.DRILL_DOWN","drillDown");F("anychart.enums.Anchor.LEFT_TOP","leftTop");F("anychart.enums.Anchor.LEFT_CENTER","leftCenter");F("anychart.enums.Anchor.LEFT_BOTTOM","leftBottom");F("anychart.enums.Anchor.CENTER_TOP","centerTop");F("anychart.enums.Anchor.CENTER","center");F("anychart.enums.Anchor.CENTER_BOTTOM","centerBottom");F("anychart.enums.Anchor.RIGHT_TOP","rightTop");
F("anychart.enums.Anchor.RIGHT_CENTER","rightCenter");F("anychart.enums.Anchor.RIGHT_BOTTOM","rightBottom");F("anychart.enums.Anchor.AUTO","auto");F("anychart.enums.Cursor.DEFAULT","default");F("anychart.enums.Cursor.CROSSHAIR","crosshair");F("anychart.enums.Cursor.POINTER","pointer");F("anychart.enums.Cursor.MOVE","move");F("anychart.enums.Cursor.TEXT","text");F("anychart.enums.Cursor.WAIT","wait");F("anychart.enums.Cursor.HELP","help");F("anychart.enums.Cursor.N_RESIZE","n-resize");
F("anychart.enums.Cursor.NE_RESIZE","ne-resize");F("anychart.enums.Cursor.E_RESIZE","e-resize");F("anychart.enums.Cursor.SE_RESIZE","se-resize");F("anychart.enums.Cursor.S_RESIZE","s-resize");F("anychart.enums.Cursor.SW_RESIZE","sw-resize");F("anychart.enums.Cursor.W_RESIZE","w-resize");F("anychart.enums.Cursor.NW_RESIZE","nw-resize");F("anychart.enums.Position.LEFT_TOP","leftTop");F("anychart.enums.Position.LEFT_CENTER","leftCenter");F("anychart.enums.Position.LEFT_BOTTOM","leftBottom");
F("anychart.enums.Position.CENTER_TOP","centerTop");F("anychart.enums.Position.CENTER","center");F("anychart.enums.Position.CENTER_BOTTOM","centerBottom");F("anychart.enums.Position.RIGHT_TOP","rightTop");F("anychart.enums.Position.RIGHT_CENTER","rightCenter");F("anychart.enums.Position.RIGHT_BOTTOM","rightBottom");F("anychart.enums.Align.CENTER","center");F("anychart.enums.Align.LEFT","left");F("anychart.enums.Align.RIGHT","right");F("anychart.enums.Align.TOP","top");
F("anychart.enums.Align.BOTTOM","bottom");F("anychart.enums.Orientation.LEFT","left");F("anychart.enums.Orientation.RIGHT","right");F("anychart.enums.Orientation.TOP","top");F("anychart.enums.Orientation.BOTTOM","bottom");F("anychart.enums.Layout.HORIZONTAL","horizontal");F("anychart.enums.Layout.VERTICAL","vertical");F("anychart.enums.LegendLayout.HORIZONTAL","horizontal");F("anychart.enums.LegendLayout.VERTICAL","vertical");F("anychart.enums.LegendLayout.HORIZONTAL_EXPANDABLE","horizontalexpandable");
F("anychart.enums.LegendLayout.VERTICAL_EXPANDABLE","verticalexpandable");F("anychart.enums.LegendPositionMode.INSIDE","inside");F("anychart.enums.LegendPositionMode.OUTSIDE","outside");F("anychart.enums.Sort.NONE","none");F("anychart.enums.Sort.ASC","asc");F("anychart.enums.Sort.DESC","desc");F("anychart.enums.BulletMarkerType.X",An);F("anychart.enums.BulletMarkerType.BAR",Dn);F("anychart.enums.BulletMarkerType.ELLIPSE",Cn);F("anychart.enums.BulletMarkerType.LINE",Bn);
F("anychart.enums.MarkerType.CIRCLE","circle");F("anychart.enums.MarkerType.SQUARE","square");F("anychart.enums.MarkerType.TRIANGLE_UP","triangleUp");F("anychart.enums.MarkerType.DIAMOND","diamond");F("anychart.enums.MarkerType.TRIANGLE_DOWN","triangleDown");F("anychart.enums.MarkerType.TRIANGLE_LEFT","triangleLeft");F("anychart.enums.MarkerType.TRIANGLE_RIGHT","triangleRight");F("anychart.enums.MarkerType.CROSS","cross");F("anychart.enums.MarkerType.DIAGONAL_CROSS","diagonalCross");
F("anychart.enums.MarkerType.STAR4","star4");F("anychart.enums.MarkerType.STAR5","star5");F("anychart.enums.MarkerType.STAR6","star6");F("anychart.enums.MarkerType.STAR7","star7");F("anychart.enums.MarkerType.STAR10","star10");F("anychart.enums.MarkerType.PENTAGON","pentagon");F("anychart.enums.MarkerType.TRAPEZIUM","trapezium");F("anychart.enums.MarkerType.LINE","line");F("anychart.enums.MapAsTableMode.VALUE","value");F("anychart.enums.MapAsTableMode.RANGE","range");
F("anychart.enums.MapAsTableMode.OHLC","ohlc");F("anychart.enums.MapProjections.BONNE","bonne");F("anychart.enums.MapProjections.AITOFF","aitoff");F("anychart.enums.MapProjections.AUGUST","august");F("anychart.enums.MapProjections.ECKERT1","eckert1");F("anychart.enums.MapProjections.ECKERT3","eckert3");F("anychart.enums.MapProjections.EQUIRECTANGULAR","equirectangular");F("anychart.enums.MapProjections.FAHEY","fahey");F("anychart.enums.MapProjections.HAMMER","hammer");
F("anychart.enums.MapProjections.MERCATOR","mercator");F("anychart.enums.MapProjections.ORTHOGRAPHIC","orthographic");F("anychart.enums.MapProjections.ROBINSON","robinson");F("anychart.enums.MapProjections.WAGNER6","wagner6");F("anychart.enums.MapProjections.WSG84","wsg84");F("anychart.enums.MapGridZIndex.UNDER_MAP",5);F("anychart.enums.MapGridZIndex.OVER_MAP",45);F("anychart.enums.MapUnboundRegionsMode.AS_IS","asis");F("anychart.enums.MapUnboundRegionsMode.HIDE","hide");
F("anychart.enums.MapPointMiddlePositionMode.ABSOLUTE","absolute");F("anychart.enums.MapPointMiddlePositionMode.RELATIVE","relative");F("anychart.enums.MapPointOutsidePositionMode.RELATIVE","relative");F("anychart.enums.MapPointOutsidePositionMode.ABSOLUTE","absolute");F("anychart.enums.MapPointOutsidePositionMode.OFFSET","offset");F("anychart.enums.TreeFillingMethod.AS_TREE","asTree");F("anychart.enums.TreeFillingMethod.AS_TABLE","asTable");F("anychart.enums.LabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");
F("anychart.enums.LabelsOverlapMode.NO_OVERLAP","noOverlap");F("anychart.enums.BackgroundCornersType.NONE","none");F("anychart.enums.BackgroundCornersType.ROUND","round");F("anychart.enums.BackgroundCornersType.CUT","cut");F("anychart.enums.BackgroundCornersType.ROUND_INNER","roundInner");F("anychart.enums.LegendItemIconType.AREA","area");F("anychart.enums.LegendItemIconType.BAR","bar");F("anychart.enums.LegendItemIconType.BUBBLE","bubble");F("anychart.enums.LegendItemIconType.CANDLESTICK","candlestick");
F("anychart.enums.LegendItemIconType.COLUMN","column");F("anychart.enums.LegendItemIconType.LINE","line");F("anychart.enums.LegendItemIconType.MARKER","marker");F("anychart.enums.LegendItemIconType.OHLC","ohlc");F("anychart.enums.LegendItemIconType.RANGE_AREA","rangearea");F("anychart.enums.LegendItemIconType.RANGE_BAR","rangebar");F("anychart.enums.LegendItemIconType.RANGE_COLUMN","rangecolumn");F("anychart.enums.LegendItemIconType.RANGE_SPLINE_AREA","rangesplinearea");
F("anychart.enums.LegendItemIconType.RANGE_STEP_AREA","rangesteparea");F("anychart.enums.LegendItemIconType.SPLINE","spline");F("anychart.enums.LegendItemIconType.SPLINE_AREA","splinearea");F("anychart.enums.LegendItemIconType.STEP_LINE","stepline");F("anychart.enums.LegendItemIconType.STEP_AREA","steparea");F("anychart.enums.LegendItemIconType.CIRCLE","circle");F("anychart.enums.LegendItemIconType.SQUARE","square");F("anychart.enums.LegendItemsSourceMode.DEFAULT","default");
F("anychart.enums.LegendItemsSourceMode.CATEGORIES","categories");F("anychart.enums.SidePosition.INSIDE","inside");F("anychart.enums.SidePosition.OUTSIDE","outside");F("anychart.enums.PyramidLabelsPosition.INSIDE","inside");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_LEFT","outsideLeft");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_LEFT_IN_COLUMN","outsideLeftInColumn");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_RIGHT","outsideRight");
F("anychart.enums.PyramidLabelsPosition.OUTSIDE_RIGHT_IN_COLUMN","outsideRightInColumn");F("anychart.enums.GaugeSidePosition.INSIDE","inside");F("anychart.enums.GaugeSidePosition.CENTER","center");F("anychart.enums.GaugeSidePosition.OUTSIDE","outside");F("anychart.enums.EventType.POINT_MOUSE_OUT","pointmouseout");F("anychart.enums.EventType.POINT_MOUSE_OVER","pointmouseover");F("anychart.enums.EventType.POINT_MOUSE_DOWN","pointmousedown");F("anychart.enums.EventType.POINT_MOUSE_UP","pointmouseup");
F("anychart.enums.EventType.POINT_MOUSE_MOVE","pointmousemove");F("anychart.enums.EventType.POINT_CLICK","pointclick");F("anychart.enums.EventType.POINT_DBLCLICK","pointdblclick");F("anychart.enums.EventType.POINT_HOVER","pointhover");F("anychart.enums.EventType.POINTS_SELECT","pointsselect");F("anychart.enums.EventType.POINTS_HOVER","pointshover");F("anychart.enums.EventType.DRILL_CHANGE","drillchange");F("anychart.enums.EventType.CHART_DRAW","chartdraw");
F("anychart.enums.EventType.ANIMATION_START","animationstart");F("anychart.enums.EventType.ANIMATION_END","animationend");F("anychart.enums.EventType.ZOOM_START","zoomstart");F("anychart.enums.EventType.ZOOM","zoom");F("anychart.enums.EventType.ZOOM_END","zoomend");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OUT","legenditemmouseout");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OVER","legenditemmouseover");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_MOVE","legenditemmousemove");
F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_DOWN","legenditemmousedown");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_UP","legenditemmouseup");F("anychart.enums.EventType.LEGEND_ITEM_CLICK","legenditemclick");F("anychart.enums.EventType.LEGEND_ITEM_DBLCLICK","legenditemdblclick");F("anychart.enums.EventType.DRAG_START","dragstart");F("anychart.enums.EventType.DRAG","drag");F("anychart.enums.EventType.DRAG_END","dragend");F("anychart.enums.EventType.SCROLL_CHANGE","scrollchange");
F("anychart.enums.EventType.SPLITTER_CHANGE","splitterchange");F("anychart.enums.EventType.SIGNAL","signal");F("anychart.enums.EventType.ROW_SELECT","rowSelect");F("anychart.enums.EventType.ROW_CLICK","rowClick");F("anychart.enums.EventType.ROW_DBL_CLICK","rowDblClick");F("anychart.enums.EventType.ROW_MOUSE_OVER","rowMouseOver");F("anychart.enums.EventType.ROW_MOUSE_OUT","rowMouseOut");F("anychart.enums.EventType.ROW_MOUSE_MOVE","rowMouseMove");F("anychart.enums.EventType.ROW_MOUSE_DOWN","rowMouseDown");
F("anychart.enums.EventType.ROW_MOUSE_UP","rowMouseUp");F("anychart.enums.EventType.CONNECTOR_SELECT","connectorselect");F("anychart.enums.EventType.CONNECTOR_CLICK","connectorclick");F("anychart.enums.EventType.CONNECTOR_DBL_CLICK","connectordblclick");F("anychart.enums.EventType.CONNECTOR_MOUSE_OVER","connectormouseover");F("anychart.enums.EventType.CONNECTOR_MOUSE_OUT","connectormouseout");F("anychart.enums.EventType.CONNECTOR_MOUSE_MOVE","connectormousemove");
F("anychart.enums.EventType.CONNECTOR_MOUSE_DOWN","connectormousedown");F("anychart.enums.EventType.CONNECTOR_MOUSE_UP","connectormouseup");F("anychart.enums.EventType.ROW_COLLAPSE_EXPAND","rowcollapseexpand");F("anychart.enums.EventType.BEFORE_CREATE_CONNECTOR","beforeCreateConnector");F("anychart.enums.EventType.TREE_ITEM_CREATE","treeItemCreate");F("anychart.enums.EventType.TREE_ITEM_MOVE","treeItemMove");F("anychart.enums.EventType.TREE_ITEM_REMOVE","treeItemRemove");
F("anychart.enums.EventType.TREE_ITEM_UPDATE","treeItemUpdate");F("anychart.enums.ScaleStackMode.NONE","none");F("anychart.enums.ScaleStackMode.VALUE","value");F("anychart.enums.ScaleStackMode.PERCENT","percent");F("anychart.enums.ScaleComparisonMode.NONE","none");F("anychart.enums.ScaleComparisonMode.VALUE","value");F("anychart.enums.ScaleComparisonMode.PERCENT","percent");F("anychart.enums.ScaleCompareWithMode.SERIES_START","seriesStart");F("anychart.enums.ScaleCompareWithMode.FIRST_VISIBLE","firstVisible");
F("anychart.enums.ScatterTicksMode.LINEAR","linear");F("anychart.enums.ScatterTicksMode.LOGARITHMIC","logarithmic");F("anychart.enums.SparklineSeriesType.AREA","area");F("anychart.enums.SparklineSeriesType.LINE","line");F("anychart.enums.SparklineSeriesType.COLUMN","column");F("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");F("anychart.enums.LinearGaugePointerType.BAR","bar");F("anychart.enums.LinearGaugePointerType.RANGE_BAR","rangeBar");
F("anychart.enums.LinearGaugePointerType.THERMOMETER","thermometer");F("anychart.enums.LinearGaugePointerType.MARKER","marker");F("anychart.enums.LinearGaugePointerType.TANK","tank");F("anychart.enums.LinearGaugePointerType.LED","led");F("anychart.enums.GanttDataFields.ACTUAL","actual");F("anychart.enums.GanttDataFields.ACTUAL_START","actualStart");F("anychart.enums.GanttDataFields.ACTUAL_END","actualEnd");F("anychart.enums.GanttDataFields.BASELINE_START","baselineStart");
F("anychart.enums.GanttDataFields.BASELINE_END","baselineEnd");F("anychart.enums.GanttDataFields.CHILDREN","children");F("anychart.enums.GanttDataFields.PROGRESS","progress");F("anychart.enums.GanttDataFields.PROGRESS_VALUE","progressValue");F("anychart.enums.GanttDataFields.MILESTONE","milestone");F("anychart.enums.GanttDataFields.NAME","name");F("anychart.enums.GanttDataFields.COLLAPSED","collapsed");F("anychart.enums.GanttDataFields.ROW_HEIGHT","rowHeight");
F("anychart.enums.GanttDataFields.ID","id");F("anychart.enums.GanttDataFields.PERIODS","periods");F("anychart.enums.GanttDataFields.PARENT","parent");F("anychart.enums.GanttDataFields.START","start");F("anychart.enums.GanttDataFields.END","end");F("anychart.enums.GanttDataFields.FILL","fill");F("anychart.enums.GanttDataFields.STROKE","stroke");F("anychart.enums.GanttDataFields.HOVER_FILL","hoverFill");F("anychart.enums.GanttDataFields.HOVER_STROKE","hoverStroke");
F("anychart.enums.GanttDataFields.CONNECT_TO","connectTo");F("anychart.enums.GanttDataFields.CONNECTOR","connector");F("anychart.enums.GanttDataFields.CONNECTOR_TYPE","connectorType");F("anychart.enums.GanttDataFields.START_MARKER","startMarker");F("anychart.enums.GanttDataFields.END_MARKER","endMarker");F("anychart.enums.GanttDataFields.LABEL","label");F("anychart.enums.GanttRangeAnchor.FIRST_DATE","firstDate");F("anychart.enums.GanttRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");
F("anychart.enums.GanttRangeAnchor.LAST_DATE","lastDate");F("anychart.enums.GanttRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");F("anychart.enums.ConnectorType.FINISH_START","finishstart");F("anychart.enums.ConnectorType.FINISH_FINISH","finishfinish");F("anychart.enums.ConnectorType.START_FINISH","startfinish");F("anychart.enums.ConnectorType.START_START","startstart");F("anychart.enums.ColumnFormats.DIRECT_NUMBERING","directNumbering");F("anychart.enums.ColumnFormats.TEXT","text");
F("anychart.enums.ColumnFormats.SHORT_TEXT","shortText");F("anychart.enums.ColumnFormats.PERCENT","percent");F("anychart.enums.ColumnFormats.DATE_COMMON_LOG","dateCommonLog");F("anychart.enums.ColumnFormats.DATE_ISO_8601","dateIso8601");F("anychart.enums.ColumnFormats.DATE_US_SHORT","dateUsShort");F("anychart.enums.ColumnFormats.DATE_DMY_DOTS","dateDmyDots");F("anychart.enums.ColumnFormats.FINANCIAL","financial");F("anychart.enums.GanttDateTimeMarkers.START","start");
F("anychart.enums.GanttDateTimeMarkers.END","end");F("anychart.enums.GanttDateTimeMarkers.CURRENT","current");F("anychart.enums.DataField.DEPENDS_ON","dependsOn");F("anychart.enums.DataField.OPTIMISTIC","optimistic");F("anychart.enums.DataField.PESSIMISTIC","pessimistic");F("anychart.enums.DataField.MOST_LIKELY","mostLikely");F("anychart.enums.DataField.EXPECTED","expected");F("anychart.enums.DataField.FROM","from");F("anychart.enums.DataField.TO","to");F("anychart.enums.DataField.ID","id");
F("anychart.enums.DataField.NAME","name");F("anychart.enums.Interval.YEARS","year");F("anychart.enums.Interval.MONTHS","month");F("anychart.enums.Interval.DAYS","day");F("anychart.enums.Interval.HOURS","hour");F("anychart.enums.Interval.MINUTES","minute");F("anychart.enums.Interval.SECONDS","second");F("anychart.enums.Interval.YEAR","year");F("anychart.enums.Interval.SEMESTER","semester");F("anychart.enums.Interval.QUARTER","quarter");F("anychart.enums.Interval.MONTH","month");
F("anychart.enums.Interval.THIRD_OF_MONTH","thirdofmonth");F("anychart.enums.Interval.WEEK","week");F("anychart.enums.Interval.DAY","day");F("anychart.enums.Interval.HOUR","hour");F("anychart.enums.Interval.MINUTE","minute");F("anychart.enums.Interval.SECOND","second");F("anychart.enums.Interval.MILLISECOND","millisecond");F("anychart.enums.ErrorMode.NONE","none");F("anychart.enums.ErrorMode.X","x");F("anychart.enums.ErrorMode.VALUE","value");F("anychart.enums.ErrorMode.BOTH","both");
F("anychart.enums.ScaleTypes.LINEAR","linear");F("anychart.enums.ScaleTypes.LOG","log");F("anychart.enums.ScaleTypes.DATE_TIME","dateTime");F("anychart.enums.ScaleTypes.ORDINAL","ordinal");F("anychart.enums.ScatterScaleTypes.LINEAR","linear");F("anychart.enums.ScatterScaleTypes.LOG","log");F("anychart.enums.ScatterScaleTypes.DATE_TIME","dateTime");F("anychart.enums.GaugeScaleTypes.LINEAR","linear");F("anychart.enums.GaugeScaleTypes.LOG","log");F("anychart.enums.AggregationType.AVERAGE","average");
F("anychart.enums.AggregationType.FIRST","first");F("anychart.enums.AggregationType.FIRST_VALUE","firstValue");F("anychart.enums.AggregationType.LAST","last");F("anychart.enums.AggregationType.LAST_VALUE","lastValue");F("anychart.enums.AggregationType.LIST","list");F("anychart.enums.AggregationType.MAX","max");F("anychart.enums.AggregationType.MIN","min");F("anychart.enums.AggregationType.SUM","sum");F("anychart.enums.AggregationType.WEIGHTED_AVERAGE","weightedAverage");
F("anychart.enums.TooltipDisplayMode.UNION","union");F("anychart.enums.TooltipDisplayMode.SEPARATED","separated");F("anychart.enums.TooltipDisplayMode.SINGLE","single");F("anychart.enums.TooltipPositionMode.FLOAT","float");F("anychart.enums.TooltipPositionMode.POINT","point");F("anychart.enums.TooltipPositionMode.CHART","chart");F("anychart.enums.CrosshairDisplayMode.FLOAT","float");F("anychart.enums.CrosshairDisplayMode.STICKY","sticky");F("anychart.enums.StockLabelsOverlapMode.NO_OVERLAP","noOverlap");
F("anychart.enums.StockLabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_MAJOR_OVERLAP","allowMajorOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_MINOR_OVERLAP","allowMinorOverlap");F("anychart.enums.StockRangeType.UNIT","Unit");F("anychart.enums.StockRangeType.YTD","YTD");F("anychart.enums.StockRangeType.QTD","QTD");F("anychart.enums.StockRangeType.MTD","MTD");F("anychart.enums.StockRangeType.MAX","Max");
F("anychart.enums.StockRangeAnchor.FIRST_DATE","firstDate");F("anychart.enums.StockRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");F("anychart.enums.StockRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");F("anychart.enums.StockRangeAnchor.LAST_DATE","lastDate");F("anychart.enums.TableSearchMode.EXACT_OR_PREV","exactOrPrev");F("anychart.enums.TableSearchMode.EXACT","exact");F("anychart.enums.TableSearchMode.EXACT_OR_NEXT","exactOrNext");F("anychart.enums.TableSearchMode.NEAREST","nearest");
F("anychart.enums.ChartScrollerPosition.AFTER_AXES","afterAxes");F("anychart.enums.ChartScrollerPosition.BEFORE_AXES","beforeAxes");F("anychart.enums.LabelsDisplayMode.ALWAYS_SHOW","alwaysShow");F("anychart.enums.LabelsDisplayMode.DROP","drop");F("anychart.enums.LabelsDisplayMode.CLIP","clip");F("anychart.enums.StepDirection.CENTER","center");F("anychart.enums.StepDirection.FORWARD","forward");F("anychart.enums.StepDirection.BACKWARD","backward");F("anychart.enums.TokenType.UNKNOWN","");
F("anychart.enums.TokenType.NUMBER","number");F("anychart.enums.TokenType.STRING","string");F("anychart.enums.TokenType.DATE_TIME","datetime");F("anychart.enums.TokenType.PERCENT","percent");F("anychart.enums.StringToken.AXIS_NAME","%AxisName");F("anychart.enums.StringToken.AXIS_SCALE_MAX","%AxisScaleMax");F("anychart.enums.StringToken.AXIS_SCALE_MIN","%AxisScaleMin");F("anychart.enums.StringToken.BUBBLE_SIZE","%BubbleSize");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_CATEGORY","%BubbleSizePercentOfCategory");
F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_SERIES","%BubbleSizePercentOfSeries");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_TOTAL","%BubbleSizePercentOfTotal");F("anychart.enums.StringToken.CATEGORY_NAME","%CategoryName");F("anychart.enums.StringToken.CATEGORY_Y_AVERAGE","%CategoryYAverage");F("anychart.enums.StringToken.CATEGORY_Y_MEDIAN","%CategoryYMedian");F("anychart.enums.StringToken.CATEGORY_Y_MODE","%CategoryYMode");
F("anychart.enums.StringToken.CATEGORY_Y_PERCENT_OF_TOTAL","%CategoryYPercentOfTotal");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_AVERAGE","%CategoryYRangeAverage");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","%CategoryYRangePercentOfTotal");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MAX","%CategoryYRangeMax");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MIN","%CategoryYRangeMin");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MEDIAN","%CategoryYRangeMedian");
F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MODE","%CategoryYRangeMode");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_SUM","%CategoryYRangeSum");F("anychart.enums.StringToken.CATEGORY_Y_SUM","%CategoryYSum");F("anychart.enums.StringToken.CLOSE","%Close");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MAX_SIZE","%DataPlotBubbleMaxSize");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MIN_SIZE","%DataPlotBubbleMinSize");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_AVERAGE","%DataPlotBubbleSizeAverage");
F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_SUM","%DataPlotBubbleSizeSum");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","%DataPlotMaxYSumSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_NAME","%DataPlotMaxYValuePointName");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","%DataPlotMaxYValuePointSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","%DataPlotMinYSumSeriesName");
F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_NAME","%DataPlotMinYValuePointName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","%DataPlotMinYValuePointSeriesName");F("anychart.enums.StringToken.DATA_PLOT_POINT_COUNT","%DataPlotPointCount");F("anychart.enums.StringToken.DATA_PLOT_SERIES_COUNT","%DataPlotSeriesCount");F("anychart.enums.StringToken.DATA_PLOT_X_AVERAGE","%DataPlotXAverage");F("anychart.enums.StringToken.DATA_PLOT_X_MAX","%DataPlotXMax");
F("anychart.enums.StringToken.DATA_PLOT_X_MIN","%DataPlotXMin");F("anychart.enums.StringToken.DATA_PLOT_X_SUM","%DataPlotXSum");F("anychart.enums.StringToken.DATA_PLOT_Y_AVERAGE","%DataPlotYAverage");F("anychart.enums.StringToken.DATA_PLOT_Y_MAX","%DataPlotYMax");F("anychart.enums.StringToken.DATA_PLOT_Y_MIN","%DataPlotYMin");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MAX","%DataPlotYRangeMax");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MIN","%DataPlotYRangeMin");
F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_SUM","%DataPlotYRangeSum");F("anychart.enums.StringToken.DATA_PLOT_Y_SUM","%DataPlotYSum");F("anychart.enums.StringToken.HIGH","%High");F("anychart.enums.StringToken.INDEX","%Index");F("anychart.enums.StringToken.LOW","%Low");F("anychart.enums.StringToken.NAME","%Name");F("anychart.enums.StringToken.OPEN","%Open");F("anychart.enums.StringToken.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","%PertChartCriticalPathStandardDeviation");
F("anychart.enums.StringToken.PERT_CHART_PROJECT_DURATION","%PertChartProjectDuration");F("anychart.enums.StringToken.RANGE","%Range");F("anychart.enums.StringToken.RANGE_END","%RangeEnd");F("anychart.enums.StringToken.RANGE_START","%RangeStart");F("anychart.enums.StringToken.SERIES_BUBBLE_MAX_SIZE","%SeriesBubbleMaxSize");F("anychart.enums.StringToken.SERIES_BUBBLE_MIN_SIZE","%SeriesBubbleMinSize");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_AVERAGE","%SeriesBubbleSizeAverage");
F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MEDIAN","%SeriesBubbleSizeMedian");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MODE","%SeriesBubbleSizeMode");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_SUM","%SeriesBubbleSizeSum");F("anychart.enums.StringToken.SERIES_FIRST_X_VALUE","%SeriesFirstXValue");F("anychart.enums.StringToken.SERIES_FIRST_Y_VALUE","%SeriesFirstYValue");F("anychart.enums.StringToken.SERIES_LAST_X_VALUE","%SeriesLastXValue");
F("anychart.enums.StringToken.SERIES_LAST_Y_VALUE","%SeriesLastYValue");F("anychart.enums.StringToken.SERIES_MIN","%SeriesMin");F("anychart.enums.StringToken.SERIES_MAX","%SeriesMax");F("anychart.enums.StringToken.SERIES_NAME","%SeriesName");F("anychart.enums.StringToken.SERIES_POINT_COUNT","%SeriesPointCount");F("anychart.enums.StringToken.SERIES_X_AVERAGE","%SeriesXAverage");F("anychart.enums.StringToken.SERIES_X_AXIS_NAME","%SeriesXAxisName");F("anychart.enums.StringToken.SERIES_X_MAX","%SeriesXMax");
F("anychart.enums.StringToken.SERIES_X_MEDIAN","%SeriesXMedian");F("anychart.enums.StringToken.SERIES_X_MIN","%SeriesXMin");F("anychart.enums.StringToken.SERIES_X_MODE","%SeriesXMode");F("anychart.enums.StringToken.SERIES_X_SUM","%SeriesXSum");F("anychart.enums.StringToken.SERIES_Y_AVERAGE","%SeriesYAverage");F("anychart.enums.StringToken.SERIES_Y_AXIS_NAME","%SeriesYAxisName");F("anychart.enums.StringToken.SERIES_Y_MAX","%SeriesYMax");F("anychart.enums.StringToken.SERIES_Y_MEDIAN","%SeriesYMedian");
F("anychart.enums.StringToken.SERIES_Y_MIN","%SeriesYMin");F("anychart.enums.StringToken.SERIES_Y_MODE","%SeriesYMode");F("anychart.enums.StringToken.SERIES_Y_RANGE_MAX","%SeriesYRangeMax");F("anychart.enums.StringToken.SERIES_Y_RANGE_MIN","%SeriesYRangeMin");F("anychart.enums.StringToken.SERIES_Y_RANGE_SUM","%SeriesYRangeSum");F("anychart.enums.StringToken.SERIES_Y_SUM","%SeriesYSum");F("anychart.enums.StringToken.VALUE","%Value");F("anychart.enums.StringToken.PERCENT_VALUE","%PercentValue");
F("anychart.enums.StringToken.X_PERCENT_OF_SERIES","%XPercentOfSeries");F("anychart.enums.StringToken.X_PERCENT_OF_TOTAL","%XPercentOfTotal");F("anychart.enums.StringToken.X_VALUE","%XValue");F("anychart.enums.StringToken.Y_PERCENT_OF_CATEGORY","%YPercentOfCategory");F("anychart.enums.StringToken.Y_PERCENT_OF_SERIES","%YPercentOfSeries");F("anychart.enums.StringToken.Y_PERCENT_OF_TOTAL","%YPercentOfTotal");F("anychart.enums.StringToken.Y_VALUE","%YValue");
F("anychart.enums.StringToken.RESOURCE_INDEX","resourceIndex");F("anychart.enums.StringToken.ACTIVITY_INDEX","activityIndex");F("anychart.enums.StringToken.START","start");F("anychart.enums.StringToken.END","end");F("anychart.enums.StringToken.MINUTES_PER_DAY","minutesPerDay");F("anychart.enums.Statistics.AVERAGE","average");F("anychart.enums.Statistics.BUBBLE_SIZE","bubbleSize");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_CATEGORY","bubbleSizePercentOfCategory");
F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_SERIES","bubbleSizePercentOfSeries");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_TOTAL","bubbleSizePercentOfTotal");F("anychart.enums.Statistics.CATEGORY_NAME","categoryName");F("anychart.enums.Statistics.CATEGORY_Y_AVERAGE","categoryYAverage");F("anychart.enums.Statistics.CATEGORY_Y_MAX","categoryYMax");F("anychart.enums.Statistics.CATEGORY_Y_MEDIAN","categoryYMedian");F("anychart.enums.Statistics.CATEGORY_Y_MIN","categoryYMin");
F("anychart.enums.Statistics.CATEGORY_Y_MODE","categoryYMode");F("anychart.enums.Statistics.CATEGORY_Y_PERCENT_OF_TOTAL","categoryYPercentOfTotal");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_AVERAGE","categoryYRangeAverage");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MAX","categoryYRangeMax");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MEDIAN","categoryYRangeMedian");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MIN","categoryYRangeMin");
F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MODE","categoryYRangeMode");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","categoryYRangePercentOfTotal");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_SUM","categoryYRangeSum");F("anychart.enums.Statistics.CATEGORY_Y_SUM","categoryYSum");F("anychart.enums.Statistics.CLOSE","close");F("anychart.enums.Statistics.COUNT","count");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MAX_SIZE","dataPlotBubbleMaxSize");
F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MIN_SIZE","dataPlotBubbleMinSize");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_AVERAGE","dataPlotBubbleSizeAverage");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_SUM","dataPlotBubbleSizeSum");F("anychart.enums.Statistics.DATA_PLOT_MAX_X_SUM_SERIES_NAME","dataPlotMaxXSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","dataPlotMaxYSumSeriesName");
F("anychart.enums.Statistics.DATA_PLOT_MAX_X_VALUE_POINT_SERIES_NAME","dataPlotMaxXValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","dataPlotMaxYValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_X_SUM_SERIES_NAME","dataPlotMinXSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","dataPlotMinYSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_X_VALUE_POINT_SERIES_NAME","dataPlotMinXValuePointSeriesName");
F("anychart.enums.Statistics.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","dataPlotMinYValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_POINT_COUNT","dataPlotPointCount");F("anychart.enums.Statistics.DATA_PLOT_SERIES_COUNT","dataPlotSeriesCount");F("anychart.enums.Statistics.DATA_PLOT_X_AVERAGE","dataPlotXAverage");F("anychart.enums.Statistics.DATA_PLOT_X_MAX","dataPlotXMax");F("anychart.enums.Statistics.DATA_PLOT_X_MIN","dataPlotXMin");F("anychart.enums.Statistics.DATA_PLOT_X_SUM","dataPlotXSum");
F("anychart.enums.Statistics.DATA_PLOT_Y_AVERAGE","dataPlotYAverage");F("anychart.enums.Statistics.DATA_PLOT_Y_MAX","dataPlotYMax");F("anychart.enums.Statistics.DATA_PLOT_Y_MIN","dataPlotYMin");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MAX","dataPlotYRangeMax");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MIN","dataPlotYRangeMin");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_SUM","dataPlotYRangeSum");F("anychart.enums.Statistics.DATA_PLOT_Y_SUM","dataPlotYSum");
F("anychart.enums.Statistics.HIGH","high");F("anychart.enums.Statistics.INDEX","index");F("anychart.enums.Statistics.LOW","low");F("anychart.enums.Statistics.NAME","name");F("anychart.enums.Statistics.MAX","max");F("anychart.enums.Statistics.MIN","min");F("anychart.enums.Statistics.OPEN","open");F("anychart.enums.Statistics.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","pertChartCriticalPathStandardDeviation");F("anychart.enums.Statistics.PERT_CHART_PROJECT_DURATION","pertChartProjectDuration");
F("anychart.enums.Statistics.POINTS_COUNT","pointsCount");F("anychart.enums.Statistics.RANGE","range");F("anychart.enums.Statistics.RANGE_END","rangeEnd");F("anychart.enums.Statistics.RANGE_START","rangeStart");F("anychart.enums.Statistics.SERIES_AVERAGE","seriesAverage");F("anychart.enums.Statistics.SERIES_BUBBLE_MAX_SIZE","seriesBubbleMaxSize");F("anychart.enums.Statistics.SERIES_BUBBLE_MIN_SIZE","seriesBubbleMinSize");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_AVERAGE","seriesBubbleSizeAverage");
F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MEDIAN","seriesBubbleSizeMedian");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MODE","seriesBubbleSizeMode");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_SUM","seriesBubbleSizeSum");F("anychart.enums.Statistics.SERIES_FIRST_X_VALUE","seriesFirstXValue");F("anychart.enums.Statistics.SERIES_FIRST_Y_VALUE","seriesFirstYValue");F("anychart.enums.Statistics.SERIES_LAST_X_VALUE","seriesLastXValue");F("anychart.enums.Statistics.SERIES_LAST_Y_VALUE","seriesLastYValue");
F("anychart.enums.Statistics.SERIES_MIN","seriesMin");F("anychart.enums.Statistics.SERIES_MAX","seriesMax");F("anychart.enums.Statistics.SERIES_NAME","seriesName");F("anychart.enums.Statistics.SERIES_POINT_COUNT","seriesPointCount");F("anychart.enums.Statistics.SERIES_POINTS_COUNT","seriesPointsCount");F("anychart.enums.Statistics.SERIES_SUM","seriesSum");F("anychart.enums.Statistics.SERIES_X_AVERAGE","seriesXAverage");F("anychart.enums.Statistics.SERIES_X_MAX","seriesXMax");
F("anychart.enums.Statistics.SERIES_X_MEDIAN","seriesXMedian");F("anychart.enums.Statistics.SERIES_X_MIN","seriesXMin");F("anychart.enums.Statistics.SERIES_X_MODE","seriesXMode");F("anychart.enums.Statistics.SERIES_X_SUM","seriesXSum");F("anychart.enums.Statistics.SERIES_Y_AVERAGE","seriesYAverage");F("anychart.enums.Statistics.SERIES_Y_MAX","seriesYMax");F("anychart.enums.Statistics.SERIES_Y_MEDIAN","seriesYMedian");F("anychart.enums.Statistics.SERIES_Y_MIN","seriesYMin");
F("anychart.enums.Statistics.SERIES_Y_MODE","seriesYMode");F("anychart.enums.Statistics.SERIES_Y_RANGE_AVERAGE","seriesYRangeAverage");F("anychart.enums.Statistics.SERIES_Y_RANGE_MAX","seriesYRangeMax");F("anychart.enums.Statistics.SERIES_Y_RANGE_MEDIAN","seriesYRangeMedian");F("anychart.enums.Statistics.SERIES_Y_RANGE_MIN","seriesYRangeMin");F("anychart.enums.Statistics.SERIES_Y_RANGE_MODE","seriesYRangeMode");F("anychart.enums.Statistics.SERIES_Y_RANGE_SUM","seriesYRangeSum");
F("anychart.enums.Statistics.SERIES_Y_SUM","seriesYSum");F("anychart.enums.Statistics.SUM","sum");F("anychart.enums.Statistics.VALUE","value");F("anychart.enums.Statistics.PERCENT_VALUE","percentValue");F("anychart.enums.Statistics.X_PERCENT_OF_SERIES","xPercentOfSeries");F("anychart.enums.Statistics.X_PERCENT_OF_TOTAL","xPercentOfTotal");F("anychart.enums.Statistics.X_VALUE","xValue");F("anychart.enums.Statistics.Y_PERCENT_OF_CATEGORY","yPercentOfCategory");
F("anychart.enums.Statistics.Y_PERCENT_OF_SERIES","yPercentOfSeries");F("anychart.enums.Statistics.Y_PERCENT_OF_TOTAL","yPercentOfTotal");F("anychart.enums.Statistics.Y_VALUE","yValue");F("anychart.enums.Statistics.X_SCALES_MIN","xScalesMin");F("anychart.enums.Statistics.X_SCALES_MAX","xScalesMax");F("anychart.enums.Statistics.Y_SCALES_MIN","yScalesMin");F("anychart.enums.Statistics.Y_SCALES_MAX","yScalesMax");F("anychart.enums.ChartDataExportMode.RAW","raw");
F("anychart.enums.ChartDataExportMode.SPECIFIC","specific");F("anychart.enums.ChartDataExportMode.GROUPED","grouped");F("anychart.enums.MapSeriesType.CHOROPLETH","choropleth");F("anychart.enums.MapSeriesType.BUBBLE","bubble");F("anychart.enums.MapSeriesType.MARKER","marker");F("anychart.enums.MapSeriesType.CONNECTOR","connector");F("anychart.enums.CartesianSeriesType.AREA","area");F("anychart.enums.CartesianSeriesType.BAR","bar");F("anychart.enums.CartesianSeriesType.BOX","box");
F("anychart.enums.CartesianSeriesType.BUBBLE","bubble");F("anychart.enums.CartesianSeriesType.CANDLESTICK","candlestick");F("anychart.enums.CartesianSeriesType.COLUMN","column");F("anychart.enums.CartesianSeriesType.LINE","line");F("anychart.enums.CartesianSeriesType.MARKER","marker");F("anychart.enums.CartesianSeriesType.OHLC","ohlc");F("anychart.enums.CartesianSeriesType.RANGE_AREA","rangeArea");F("anychart.enums.CartesianSeriesType.RANGE_BAR","rangeBar");
F("anychart.enums.CartesianSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.CartesianSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");F("anychart.enums.CartesianSeriesType.RANGE_STEP_AREA","rangeStepArea");F("anychart.enums.CartesianSeriesType.SPLINE","spline");F("anychart.enums.CartesianSeriesType.SPLINE_AREA","splineArea");F("anychart.enums.CartesianSeriesType.STEP_AREA","stepArea");F("anychart.enums.CartesianSeriesType.STEP_LINE","stepLine");
F("anychart.enums.Cartesian3dSeriesType.AREA","area");F("anychart.enums.Cartesian3dSeriesType.BAR","bar");F("anychart.enums.Cartesian3dSeriesType.COLUMN","column");F("anychart.enums.ScatterSeriesType.BUBBLE","bubble");F("anychart.enums.ScatterSeriesType.LINE","line");F("anychart.enums.ScatterSeriesType.MARKER","marker");F("anychart.enums.SparklineSeriesType.AREA","area");F("anychart.enums.SparklineSeriesType.COLUMN","column");F("anychart.enums.SparklineSeriesType.LINE","line");
F("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");F("anychart.enums.StockSeriesType.AREA","area");F("anychart.enums.StockSeriesType.CANDLESTICK","candlestick");F("anychart.enums.StockSeriesType.COLUMN","column");F("anychart.enums.StockSeriesType.LINE","line");F("anychart.enums.StockSeriesType.MARKER","marker");F("anychart.enums.StockSeriesType.OHLC","ohlc");F("anychart.enums.StockSeriesType.RANGE_AREA","rangeArea");F("anychart.enums.StockSeriesType.RANGE_COLUMN","rangeColumn");
F("anychart.enums.StockSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");F("anychart.enums.StockSeriesType.RANGE_STEP_AREA","rangeStepArea");F("anychart.enums.StockSeriesType.SPLINE","spline");F("anychart.enums.StockSeriesType.SPLINE_AREA","splineArea");F("anychart.enums.StockSeriesType.STEP_AREA","stepArea");F("anychart.enums.StockSeriesType.STEP_LINE","stepLine");F("anychart.enums.MovingAverageType.SMA","sma");F("anychart.enums.MovingAverageType.EMA","ema");
F("anychart.enums.RadarSeriesType.AREA","area");F("anychart.enums.RadarSeriesType.LINE","line");F("anychart.enums.RadarSeriesType.MARKER","marker");F("anychart.enums.PolarSeriesType.AREA","area");F("anychart.enums.PolarSeriesType.LINE","line");F("anychart.enums.PolarSeriesType.MARKER","marker");F("anychart.enums.PolarSeriesType.POLYGON","polygon");F("anychart.enums.PolarSeriesType.POLYLINE","polyline");F("anychart.enums.PolarSeriesType.COLUMN","column");
F("anychart.enums.PolarSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.MekkoSeriesType.MEKKO","mekko");F("anychart.enums.MilestoneShape.CIRCLE","circle");F("anychart.enums.MilestoneShape.RHOMBUS","rhombus");F("anychart.enums.MilestoneShape.RECTANGLE","rectangle");F("anychart.enums.AnnotationTypes.RAY","ray");F("anychart.enums.AnnotationTypes.LINE","line");F("anychart.enums.AnnotationTypes.INFINITE_LINE","infiniteLine");F("anychart.enums.AnnotationTypes.VERTICAL_LINE","verticalLine");
F("anychart.enums.AnnotationTypes.HORIZONTAL_LINE","horizontalLine");F("anychart.enums.AnnotationTypes.RECTANGLE","rectangle");F("anychart.enums.AnnotationTypes.ELLIPSE","ellipse");F("anychart.enums.AnnotationTypes.TRIANGLE","triangle");F("anychart.enums.AnnotationTypes.TREND_CHANNEL","trendChannel");F("anychart.enums.AnnotationTypes.ANDREWS_PITCHFORK","andrewsPitchfork");F("anychart.enums.AnnotationTypes.FIBONACCI_FAN","fibonacciFan");F("anychart.enums.AnnotationTypes.FIBONACCI_ARC","fibonacciArc");
F("anychart.enums.AnnotationTypes.FIBONACCI_RETRACEMENT","fibonacciRetracement");F("anychart.enums.AnnotationTypes.FIBONACCI_TIMEZONES","fibonacciTimezones");F("anychart.enums.AnnotationTypes.MARKER","marker");F("anychart.enums.A11yMode.CHART_ELEMENTS","chartElements");F("anychart.enums.A11yMode.DATA_TABLE","dataTable");F("anychart.enums.LocaleDateTimeFormat.YEAR","year");F("anychart.enums.LocaleDateTimeFormat.YEAR_SEMESTER","year_semester");F("anychart.enums.LocaleDateTimeFormat.YEAR_QUARTER","year_quarter");
F("anychart.enums.LocaleDateTimeFormat.YEAR_MONTH","year_month");F("anychart.enums.LocaleDateTimeFormat.YEAR_THIRD_OF_MONTH","year_third_of_month");F("anychart.enums.LocaleDateTimeFormat.YEAR_WEEK","year_week");F("anychart.enums.LocaleDateTimeFormat.YEAR_DAY","year_day");F("anychart.enums.LocaleDateTimeFormat.YEAR_HOUR","year_hour");F("anychart.enums.LocaleDateTimeFormat.YEAR_MINUTE","year_minute");F("anychart.enums.LocaleDateTimeFormat.YEAR_SECOND","year_second");
F("anychart.enums.LocaleDateTimeFormat.YEAR_MILLISECOND","year_millisecond");F("anychart.enums.LocaleDateTimeFormat.SEMESTER","semester");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_QUARTER","semester_quarter");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MONTH","semester_month");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_THIRD_OF_MONTH","semester_third_of_month");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_WEEK","semester_week");
F("anychart.enums.LocaleDateTimeFormat.SEMESTER_DAY","semester_day");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_HOUR","semester_hour");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MINUTE","semester_minute");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_SECOND","semester_second");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MILLISECOND","semester_millisecond");F("anychart.enums.LocaleDateTimeFormat.QUARTER","quarter");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MONTH","quarter_month");
F("anychart.enums.LocaleDateTimeFormat.QUARTER_THIRD_OF_MONTH","quarter_third_of_month");F("anychart.enums.LocaleDateTimeFormat.QUARTER_WEEK","quarter_week");F("anychart.enums.LocaleDateTimeFormat.QUARTER_DAY","quarter_day");F("anychart.enums.LocaleDateTimeFormat.QUARTER_HOUR","quarter_hour");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MINUTE","quarter_minute");F("anychart.enums.LocaleDateTimeFormat.QUARTER_SECOND","quarter_second");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MILLISECOND","quarter_millisecond");
F("anychart.enums.LocaleDateTimeFormat.MONTH","month");F("anychart.enums.LocaleDateTimeFormat.MONTH_THIRD_OF_MONTH","month_third_of_month");F("anychart.enums.LocaleDateTimeFormat.MONTH_WEEK","month_week");F("anychart.enums.LocaleDateTimeFormat.MONTH_DAY","month_day");F("anychart.enums.LocaleDateTimeFormat.MONTH_HOUR","month_hour");F("anychart.enums.LocaleDateTimeFormat.MONTH_MINUTE","month_minute");F("anychart.enums.LocaleDateTimeFormat.MONTH_SECOND","month_second");
F("anychart.enums.LocaleDateTimeFormat.MONTH_MILLISECOND","month_millisecond");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH","third_of_month");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_WEEK","third_of_month_week");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_DAY","third_of_month_day");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_HOUR","third_of_month_hour");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MINUTE","third_of_month_minute");
F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_SECOND","third_of_month_second");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MILLISECOND","third_of_month_millisecond");F("anychart.enums.LocaleDateTimeFormat.WEEK","week");F("anychart.enums.LocaleDateTimeFormat.WEEK_DAY","week_day");F("anychart.enums.LocaleDateTimeFormat.WEEK_HOUR","week_hour");F("anychart.enums.LocaleDateTimeFormat.WEEK_MINUTE","week_minute");F("anychart.enums.LocaleDateTimeFormat.WEEK_SECOND","week_second");
F("anychart.enums.LocaleDateTimeFormat.WEEK_MILLISECOND","week_millisecond");F("anychart.enums.LocaleDateTimeFormat.DAY","day");F("anychart.enums.LocaleDateTimeFormat.DAY_HOUR","day_hour");F("anychart.enums.LocaleDateTimeFormat.DAY_MINUTE","day_minute");F("anychart.enums.LocaleDateTimeFormat.DAY_SECOND","day_second");F("anychart.enums.LocaleDateTimeFormat.DAY_MILLISECOND","day_millisecond");F("anychart.enums.LocaleDateTimeFormat.HOUR","hour");F("anychart.enums.LocaleDateTimeFormat.HOUR_MINUTE","hour_minute");
F("anychart.enums.LocaleDateTimeFormat.HOUR_SECOND","hour_second");F("anychart.enums.LocaleDateTimeFormat.HOUR_MILLISECOND","hour_millisecond");F("anychart.enums.LocaleDateTimeFormat.MINUTE","minute");F("anychart.enums.LocaleDateTimeFormat.MINUTE_SECOND","minute_second");F("anychart.enums.LocaleDateTimeFormat.MINUTE_MILLISECOND","minute_millisecond");F("anychart.enums.LocaleDateTimeFormat.SECOND","second");F("anychart.enums.LocaleDateTimeFormat.SECOND_MILLISECOND","second_millisecond");
F("anychart.enums.LocaleDateTimeFormat.MILLISECOND","millisecond");F("anychart.enums.IntervalFormatPrefix.NONE","");F("anychart.enums.IntervalFormatPrefix.FULL","full");F("anychart.enums.AvailabilityPeriod.YEAR","year");F("anychart.enums.AvailabilityPeriod.WEEK","week");F("anychart.enums.AvailabilityPeriod.DAY","day");F("anychart.enums.AvailabilityPeriod.NONE","none");F("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_CHART","availabilityPerChart");
F("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_RESOURCE","availabilityPerResource");F("anychart.enums.TimeTrackingMode.ACTIVITY_PER_CHART","activityPerChart");F("anychart.enums.TimeTrackingMode.ACTIVITY_PER_RESOURCE","activityPerResource");F("anychart.enums.ShapeType.PATH","path");F("anychart.enums.ShapeType.CIRCLE","circle");F("anychart.enums.ShapeType.ELLIPSE","ellipse");F("anychart.enums.ShapeType.RECT","rect");F("anychart.enums.FontStyle.NORMAL","normal");
F("anychart.enums.FontStyle.ITALIC","italic");F("anychart.enums.FontStyle.OBLIQUE","oblique");F("anychart.enums.FontVariant.NORMAL","normal");F("anychart.enums.FontVariant.SMALL_CAP","small-caps");F("anychart.enums.TextParsingMode.CSV","csv");F("anychart.enums.TextParsingMode.BY_WORD","byWord");F("anychart.enums.TextParsingMode.BY_CHAR","byChar");F("anychart.enums.HAlign.LEFT","left");F("anychart.enums.HAlign.START","start");F("anychart.enums.HAlign.CENTER","center");
F("anychart.enums.HAlign.END","end");F("anychart.enums.HAlign.RIGHT","right");F("anychart.enums.VAlign.TOP","top");F("anychart.enums.VAlign.MIDDLE","middle");F("anychart.enums.VAlign.BOTTOM","bottom");F("anychart.enums.TextWrap.NO_WRAP","noWrap");F("anychart.enums.TextWrap.BY_LETTER","byLetter");F("anychart.enums.TextWrap.BY_WORD","byWord");F("anychart.enums.TagCloudMode.SPIRAL","spiral");F("anychart.enums.TagCloudMode.RECT","rect");F("anychart.enums.WaterfallDataMode.ABSOLUTE","absolute");
F("anychart.enums.WaterfallDataMode.DIFF","diff");var mo=-1,no=-1;function oo(a,b,c){po("error","Error: "+a+"\nDescription: "+qo(a,c),b||"")}
function qo(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 ro(a,b){C(a)?mo!=a&&(mo=a,po("info","Info: "+a+"\nDescription: "+so(a,b),"")):po("info",a,"")}
function so(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 K(a,b,c){no!=a&&(no=a,po("warn","Warning: "+a+"\nDescription: "+to(a,c),b||""))}
function to(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 po(a,b,c){var d=ba.console;d&&(a=d[a]||d.log,"object"!=typeof a&&a.call(d,b,c))};function uo(a,b){Gb.call(this);this.c=a;this.s=b;this.F=vo.test(Wf().location.hostname);this.m=!(this.s||this.F);this.b=wo|xo|yo|zo}G(uo,Gb);var vo=/^(.*\.)?anychart\.(com|stg|dev)$/i,Ao=!1,wo=1,xo=2,yo=4,zo=8;g=uo.prototype;g.w=function(a){this.b&=~a};g.i=function(a,b){var c=a&~this.b;this.b|=c;!this.jc&&!this.c.bc()&&c&&b&&this.c.Vd()};function Bo(){return("https:"==Wf().location.protocol?"https://":"http://")+"static.anychart.com/logo.png"}
g.enabled=function(a){return m(a)?(this.m!=a&&(this.m=a,(Co(this)||this.s)&&this.i(wo,!0)),this):this.m};g.text=function(a){return m(a)?(this.Wa!=a&&(this.Wa=a,Co(this)&&this.i(yo,!0)),this):this.Wa};g.Eu=function(a){return m(a)?(this.J!=a&&(this.J=a,Co(this)&&this.i(xo,!0)),this):this.J};g.Cu=function(a){return m(a)?(this.A!=a&&(this.A=a,Co(this)&&this.i(xo,!0)),this):this.A};g.Du=function(a){return m(a)?(this.da!=a&&(this.da=a,Co(this)&&this.i(xo,!0)),this):this.da};
g.pr=function(a){return m(a)?(this.G!=a&&(this.G=a,Co(this)&&this.i(zo,!0)),this):this.G};g.ha=function(){return this.c};g.P=function(){return this.Bb};
g.Vd=function(){var a=Co(this);a&&m(this.N)&&!this.N&&this.i(wo,!1);this.N=a;if(!this.b||this.jc||!this.c||this.c.bc())return this;if(!this.enabled()&&(this.s||a))return this.b&wo&&(dg(this.Bb),this.w(wo)),this;if(!Ao){var b="",c=Xf("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)));cg(Pf("head",void 0,void 0)[0],c);Ao=!0}this.Bb||(this.Bb=Xf("DIV","anychart-credits"));this.g||(this.g=Xf("A"),this.j=Xf("SPAN","anychart-credits-text"),this.f=Xf("IMG","anychart-credits-logo"),ag(this.g,this.j),this.Bb.appendChild(this.g));b=this.c.sp();this.b&wo&&(b&&b.appendChild(this.Bb),this.w(wo));this.b&xo&&(Qf(this.g,{href:a?this.Eu():"https://www.anychart.com/?utm_source=trial",title:a?this.Cu():"AnyChart - JavaScript Charts designed to be embedded and integrated",
target:"_blank"}),Qf(this.f,{alt:a?this.Du():"AnyChart - JavaScript Charts"}),this.w(xo));this.b&yo&&(a=a?this.text():"AnyChart Trial Version",hg(this.j,a),this.w(yo));if(this.b&zo){if(a=Co(this)?this.pr():Bo()){if(this.v=a,b=Mi(Tg))Xc(b,"complete",this.nJ,!1,this),Xc(b,"load",this.uF,!1,this),Xc(b,"error",this.oJ,!1,this),this.h&&(Di(b,a),this.h=!1),Ci(b,a,a),this.h=!0,b.start()}else dg(this.f);this.w(zo)}return this};function Co(a){return Do()||a.F}
g.uF=function(a){var b=this.v;a.target.id==b&&(this.jc||(Co(this)?this.pr():Bo())!=b||this.f.parentNode||cg(this.g,this.f),Qf(this.f,{src:b}),this.h=!1)};g.nJ=function(a){a.target.id==this.v&&(this.h=!1)};g.oJ=function(a){a.target.id==this.v&&dg(this.f)};g.C=function(a){this.c.Cc();A(a)?(this.text(a),this.enabled(!0)):ja(a)||null===a?this.enabled(!!a):z(a)&&(this.Eu(a.url),this.text(a.text),this.Cu(a.alt),this.Du(a.imgAlt),this.pr(a.logoSrc),this.enabled(a.enabled));this.c.uc()};
g.u=function(){var a={};a.url=this.Eu();a.alt=this.Cu();a.imgAlt=this.Du();a.text=this.text();a.logoSrc=this.pr();a.enabled=this.enabled();return a};g.M=function(){var a=Mi(Tg);a&&(ed(a,"load",this.uF,!1,this),ed(a,"complete",this.nJ,!1,this),ed(a,"error",this.oJ,!1,this));dg(this.j);dg(this.f);dg(this.g);dg(this.Bb);this.c=this.Bb=this.g=this.f=this.j=null;uo.o.M.call(this)};var Eo=uo.prototype;Eo.text=Eo.text;Eo.url=Eo.Eu;Eo.alt=Eo.Cu;Eo.imgAlt=Eo.Du;Eo.logoSrc=Eo.pr;Eo.enabled=Eo.enabled;var Fo=ba.performance&&D(ba.performance.now)?ra(ba.performance.now,ba.performance):ua;var Go={color:"#fff",opacity:1E-5};function Ho(a,b,c){a=Io(a);b=Io(b);var d=(a.opacity+b.opacity)/2;return{color:Qe(sm(a.QJ,b.QJ,m(c)?c:.5)),opacity:d}}function Io(a){var b=a,c=1;q(a)||(A(a)?b=a:(b=a.color||"#000",c=m(a.opacity)?a.opacity:1),a=Jo(b).Ce,b=pm(a));return{QJ:b,opacity:c}}
function Lo(a,b,c,d){b=null==b||isNaN(+b)?7:+b;d=null!=d?ee(d,0,1):NaN;var e,f;a=Jo(a||"#000").Ce;f=pm(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?ee(c,0,1):.95):c=null!=c?ee(c,0,1):f;f=1l?l*(1+e):l+e-e*l;r=2*l-t;l=255*rm(r,t,p+1/3);n=255*rm(r,t,p);p=255*rm(r,t,p-1/3)}else l=n=p=255*l;h.push(Qe([Math.round(l),Math.round(n),Math.round(p)]))}return h}function Mo(a){if(z(a))if(a.color)a=a.color;else return null;if(A(a))try{return km(a).Ce}catch(b){}return null}
function No(a,b){if(z(a)&&m(a.keys)){for(var c=cc(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.Ce=Qe(c),b.type="rgb",b):jm&&(a=jm[a.toLowerCase()])?(b.Ce=a,b.type="named",b):null}function So(a,b,c){var d;c?d=Ke(a):d=Re(a);A(d)?d={color:d,opacity:b}:z(d)&&(d.opacity=b);return d}
function To(a,b,c){a=Re(a);A(a)?a={color:a,thickness:b}:z(a)&&(a.thickness=b);c&&(a.opacity=c);return a}var Uo={};function Vo(a,b){var c;if(!a)return Wo;if(q(a)){var d=b+"|"+a.join("|");c=Uo[d];if(!c){switch(b){case 2:c=Xo;break;case 3:c=Yo;break;default:case 1:c=Zo}Uo[d]=c=sa($o,a,c,3==b)}}else(c=Uo.transparent)||(c=Uo.transparent=function(){return Go});return c}function Wo(){return"none"}
function $o(a,b,c,d,e,f,h){var k;e=Math.min(e&(N|ap),ap);if(e!=bp&&1a++;){if(this.jc)return;this.Jg.Hk();b=Np(this)}b&&this.Jg.Hk();this.jc||(b?(this.Jg.Ie(this.Pc),this.eC=setTimeout(this.Fw,0)):this.Jg.Lu())};function Mp(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e=d){f="";e=0;a.Bg=-1;a.Cg=-1;a.Pc=c+1;h=0;break}else return 0d&&(c=f,d=b[f])}return c}function Zp(a,b){var c=!1,d,e,f,h;if(!a||!b)return!1;f=0;for(h=a.length;f=aq(a,b,c,d,e[h],e[h+1]);return f}
function aq(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 cq(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 dq(a,b,c,d){var e=!1,f,h;if(!d)return!1;f=0;for(h=d.length;fc*c;return e}
function eq(a,b,c,d,e){var f=e.left+e.width,h=e.top+e.height,k=(d-b)/(c-a),l,n,p,r,t=!1;if(isNaN(k))af||bh?t=!0:(l=n=a,p=r=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,r=h):(n=f,r=w))}else af?t=!0:(l=n=a,p=e.top,r=h);else bh?t=!0:(l=e.left,n=f,p=r=b);if(t)return null;if(a>c||a==c&&b>d)a=l,l=n,n=a,a=p,p=r,r=a;
return[l,p,n,r]}function fq(a,b,c,d,e){if(e=eq(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 gq(a,b,c,d,e){if(e=eq(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 B=Tp(t+v*Math.PI*2,4),E=(v-c)/x+d,R=r+(p-r)*E,S=iq(B,R,l),B=jq(B,R,n);y.push(c%1?0:1);kq(a,b,c,d,S,B,v,E,l,n,p,r,t,y);a=S;b=B;c=v;d=E}y.push(c%1?0:1);kq(a,b,c,d,e,f,h,k,l,n,p,r,t,y);return y}
function lq(a,b,c,d,e,f,h,k,l,n,p,r,t,u){u?(c(x-h)*u;x+=u){var y=Tp(t+x*Math.PI*2,4),B=(x-c)/v+d,E=r+(p-r)*B,R=iq(y,E,l),y=jq(y,E,n);kq(a,b,c,d,R,y,x,B,l,n,p,r,t,w);a=R;b=y;c=x;d=B}kq(a,b,c,d,e,f,h,k,l,n,p,r,t,w);return w}
function kq(a,b,c,d,e,f,h,k,l,n,p,r,t,u){c=Tp(t+c*Math.PI*2,4);h=Tp(t+h*Math.PI*2,4);t=(h-c)/3;c=Tp(c+t,4);h=Tp(h-t,4);t=(k-d)/3;d=r+(d+t)*(p-r);p=r+(k-t)*(p-r);k=iq(c,d,l);r=jq(c,d,n);l=iq(h,p,l);n=jq(h,p,n);u.push((-5*a+18*k-9*l+2*e)/6,(-5*b+18*r-9*n+2*f)/6,(2*a-9*k+18*l-5*e)/6,(2*b-9*r+18*n-5*f)/6,e,f)}
function mq(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.j||b)&&d.push(Math.abs(a.j)+"Y");(a.h||b)&&d.push(Math.abs(a.h)+"M");(a.b||b)&&d.push(Math.abs(a.b)+"D");if(a.f||a.g||a.c||b)d.push("T"),(a.f||b)&&d.push(Math.abs(a.f)+"H"),(a.g||b)&&d.push(Math.abs(a.g)+"M"),(a.c||b)&&d.push(Math.abs(a.c)+"S");return d.join("")}
vq.prototype.clone=function(){return new vq(this.j,this.h,this.b,this.f,this.g,this.c)};var wq="y",xq="m",yq="d",zq="h",Aq="n",Bq="s";vq.prototype.m=function(a){return new vq(this.j*a,this.h*a,this.b*a,this.f*a,this.g*a,this.c*a)};vq.prototype.add=function(a){this.j+=a.j;this.h+=a.h;this.b+=a.b;this.f+=a.f;this.g+=a.g;this.c+=a.c};
function Eq(a,b,c){C(a)?(this.b=Fq(a,b||0,c||1),Hq(this,c||1)):z(a)?(this.b=Fq(a.getFullYear(),a.getMonth(),a.getDate()),Hq(this,a.getDate())):(this.b=new Date(ua()),a=this.b.getDate(),this.b.setHours(0),this.b.setMinutes(0),this.b.setSeconds(0),this.b.setMilliseconds(0),Hq(this,a))}function Fq(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}g=Eq.prototype;g.hp=sq.Bx;g.ip=sq.Cx;g.clone=function(){var a=new Eq(this.b);a.hp=this.hp;a.ip=this.ip;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.Xv=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 Iq(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(uq(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()),Hq(this,a.getDate()))};
g.Yv=function(a,b){return[this.getFullYear(),Qa(this.getMonth()+1,2),Qa(this.getDate(),2)].join(a?"-":"")+(b?Iq(this):"")};g.MC=function(a,b){return[this.getUTCFullYear(),Qa(this.getUTCMonth()+1,2),Qa(this.getUTCDate(),2)].join(a?"-":"")+(b?"Z":"")};g.toString=function(){return this.Yv()};function Hq(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(":",Qa(c,2));c=d.join("")}else c="Etc/GMT";b.g=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=Qq(a);b.h=[c,c];b.b={WX:a,lD:a};b.f=[];return b}b=new Oq;b.g=a.id;b.c=-a.std_offset;b.h=a.names;b.b=a.names_ext;b.f=a.transitions;return b}
function Qq(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Qa(Math.floor(a/60)%100,2),":",Qa(a%60,2));return b.join("")}function Rq(a,b){for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d=a.f[d];)d+=2;return d?a.f[d-1]:0};function Sq(a,b){this.c=[];this.b=b||sq;"number"==typeof a?Tq(this,a):Uq(this,a)}var Vq=[/^\'(?:[^\']|\'\')*(\'|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function Wq(a){return a.getHours?a.getHours():0}
function Uq(a,b){for(Xq&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;db)c=a.b.eq[b];else if(8>b)c=a.b.gq[b-4];else if(12>b)c=a.b.yx[b-8],c=c.replace("{1}",a.b.eq[b-8]),c=c.replace("{0}",a.b.gq[b-8]);else{Tq(a,10);return}Uq(a,c)}function $q(a,b){var c;c=String(b);var d=a.b||sq;if(void 0!==d.Wx){for(var e=[],f=0;f=h?String.fromCharCode(d.Wx+h-48):c.charAt(f))}c=e.join("")}return c}var Xq=!1;
function ar(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 Zq(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),$q(a,Qa(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.b.fD[c];break a;case 4:h=a.b.Kx[c];break a;case 3:h=a.b.Px[c];break a;default:h=$q(a,Qa(c+1,h))}return h;case "k":return ar(e),c=Wq(e)||24,$q(a,Qa(c,h));case "S":return $q(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3h?1:0];case "h":return ar(e),c=Wq(e)%12||12,$q(a,Qa(c,h));case "K":return ar(e),c=Wq(e)%12,$q(a,Qa(c,h));case "H":return ar(e),c=Wq(e),$q(a,Qa(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.b.iD[c];break a;case 4:h=a.b.kD[c];break a;case 3:h=a.b.jD[c];break a;default:h=$q(a,Qa(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.b.hD[c];break a;case 4:h=a.b.Tx[c];break a;case 3:h=a.b.Ux[c];break a;default:h=
$q(a,Qa(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.b.Qx[c]:a.b.Ox[c];case "d":return $q(a,Qa(d.getDate(),h));case "m":return ar(e),$q(a,Qa(e.getMinutes(),h));case "s":return ar(e),$q(a,Qa(e.getSeconds(),h));case "v":return h=f||Pq(c.getTimezoneOffset()),h.g;case "V":return a=f||Pq(c.getTimezoneOffset()),2>=h?a.g:0h?a.h[0h?(h=-(e.c-Rq(e,c)),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Qa(Math.floor(h/60)%100,2),Qa(h%60,2)),h=a.join("")):h=$q(a,Qq(e.c-Rq(e,c))),h;default:return""}}
;function br(a){if(ba.JSON)try{return ba.JSON.stringify(a)}catch(b){}return Ok(a)}function cr(a){if(ba.JSON)try{var b=ba.JSON.parse(a);return b}catch(c){}return b=Nk(a)};var dr;function er(a,b,c,d,e){if(c)for(var f=0;fb?1:a==b?0:-1}function ir(a,b){return-fr(a,b)}function gr(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function jr(a){for(var b;a instanceof Qg;){b=a.tag;if(m(b))return b;a=a.parent()}}
function kr(a,b){if(!a)return!1;for(;b instanceof ld&&b!=a;)b=b.Mg;return b==a}function hr(a){return z(a)?"o"+ka(a):(typeof a).charAt(0)+a}function O(a,b,c){a=C(a)?a:!isNaN(b)&&lr(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function lr(a){return A(a)&&ya(a,"%")&&!isNaN(parseFloat(a))}function mr(a,b){if(null===a)return null;a=m(a)?a:0;b=m(b)?b:0;var c=lr(a),d=parseFloat(a);return isNaN(d)?b:c?a:d}
function nr(a,b){if(lr(a))return a;C(a)||(a=parseFloat(a));return isNaN(a)?b?NaN:"0%":a+"%"}function P(a){return null==a||ja(a)?NaN:+a}function or(a){return A(a)?a:P(a)}function pr(a){return C(a)&&!isNaN(a)||A(a)&&""!=Aa(a)?a:null}function qr(a){return isNaN(P(a))}function rr(a,b,c){C(a)||(a=parseFloat(a));a=Math.round(a);return!isNaN(a)&&(0c&&(c+=b);c>=b&&(c-=b);return Tp(a-c,7)}
function Fr(a,b,c){c=Tp((a-(c||0))%b,7);c>=b&&(c-=b);if(c)0>c&&(c+=b);else return Tp(a,7);return Tp(a+b-c,7)}
function Gr(a,b){var c=new Date(a),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=c.getUTCDate(),h=c.getUTCHours(),k=c.getUTCMinutes(),l=c.getUTCSeconds(),n=c.getUTCMilliseconds();if(b.j)return d=Er(d,b.j,(new Date(0)).getUTCFullYear()),Date.UTC(d,0);if(b.h)return e=Er(e,b.h),Date.UTC(d,e);if(!b.b||b.b%7)return b.b?(f=Er(f,b.b),Date.UTC(d,e,f)):b.f?(h=Er(h,b.f),Date.UTC(d,e,f,h)):b.g?(k=Er(k,b.g),Date.UTC(d,e,f,h,k)):1<=b.c?(l=Er(l,b.c),Date.UTC(d,e,f,h,k,l)):b.c?(n=Er(n,1E3*b.c),Date.UTC(d,e,f,h,k,l,n)):
a;d=Hr(Ir());return Er(c.getTime(),864E5*b.b,Date.UTC(2E3,0,2+(d?d.firstDayOfWeek:0)))}function Jr(a,b){var c,d;switch(a){case "year":c=wq;d=b;break;case "semester":c=xq;d=6*b;break;case "quarter":c=xq;d=3*b;break;case "month":c=xq;d=b;break;case "thirdofmonth":c=yq;d=10*b;break;case "week":c=yq;d=7*b;break;case "day":c=yq;d=b;break;case "hour":c=zq;d=b;break;case "minute":c=Aq;d=b;break;case "second":c=Bq;d=b;break;case "millisecond":c=Bq;d=b/1E3;break;default:c=wq,d=b}return new vq(c,d)}
function Kr(a,b){var c=(b&1)/2;return.5<=a%1?Math.ceil(a)-c:Math.floor(a)+c}function Lr(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 Mr(a){for(var b=0,c=arguments.length;bb;b++)a.lineTo(c+e*is[b],d+e*js[b]);a.lineTo(c+e*is[0],d+e*js[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=Kr(b,f),k=Kr(k,f),c=Kr(c,f),d=Kr(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=Kr(c,f),d=Kr(d,f),b=Kr(b,f),e=Kr(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=Kr(e,f),l=Kr(l,f),n=Kr(n,f),b=Kr(b,f),p=Kr(p,f),k=Kr(k,f),c=Kr(c,f),d=Kr(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=Kr(e,f),l=Kr(l,f),n=Kr(n,f),b=Kr(b,f),p=Kr(p,f),k=Kr(k,f),c=Kr(c,f),d=Kr(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=Kr(e,f),l=Kr(l,f),n=Kr(n,f),b=Kr(b,f),p=Kr(p,f),k=Kr(k,f),c=Kr(c,
f),d=Kr(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=Kr(e,f),l=Kr(l,f),n=Kr(n,f),b=Kr(b,f),p=Kr(p,f),k=Kr(k,f),c=Kr(c,f),d=Kr(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 Yh}}
function ls(a,b,c,d){var e=new Lp;c=!0;z(d)&&(e.Os(d.rowsSeparator),e.Er(d.columnsSeparator),e.ns(d.ignoreTrailingSpaces),c=!d.ignoreFirstRow,e.ls(c));if(a=e.vr(a)){d=Xf("table");b&&(e=Xf("caption"),ag(e,b),d.appendChild(e));var f,h;c&&(f=Xf("thead"),h=Xf("tr"),f.appendChild(h));b=Xf("tbody");for(e=0;e=a||96<=a&&106>=a||65<=a&&90>=a||(oc||lc)&&!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 ps(a){if(mc)a=qs(a);else if(qc&&oc)switch(a){case 93:a=91}return a}
function qs(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 rs(a,b){ld.call(this);a&&(this.ew&&ss(this),this.ds=a,this.dw=Xc(this.ds,"keypress",this,b),this.zB=Xc(this.ds,"keydown",this.vT,b,this),this.ew=Xc(this.ds,"keyup",this.wT,b,this))}G(rs,ld);g=rs.prototype;g.ds=null;g.dw=null;g.zB=null;g.ew=null;g.Ch=-1;g.mn=-1;g.hy=!1;
var ts={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},us={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},vs=kc||lc||oc&&zc("525"),ws=qc&&mc;g=rs.prototype;
g.vT=function(a){(oc||lc)&&(17==this.Ch&&!a.ctrlKey||18==this.Ch&&!a.altKey||qc&&91==this.Ch&&!a.metaKey)&&this.Lw();-1==this.Ch&&(a.ctrlKey&&17!=a.keyCode?this.Ch=17:a.altKey&&18!=a.keyCode?this.Ch=18:a.metaKey&&91!=a.keyCode&&(this.Ch=91));vs&&!ns(a.keyCode,this.Ch,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.mn=ps(a.keyCode),ws&&(this.hy=a.altKey))};g.Lw=function(){this.mn=this.Ch=-1};g.wT=function(a){this.Lw();this.hy=a.altKey};
g.handleEvent=function(a){var b=a.b,c,d,e=b.altKey;kc&&"keypress"==a.type?(c=this.mn,d=13!=c&&27!=c?b.keyCode:0):(oc||lc)&&"keypress"==a.type?(c=this.mn,d=0<=b.charCode&&63232>b.charCode&&os(c)?b.charCode:0):jc&&!oc?(c=this.mn,d=os(c)?b.keyCode:0):(c=b.keyCode||this.mn,d=b.charCode||0,ws&&(e=this.hy),qc&&63==d&&224==c&&(c=191));var f=c=ps(c);c?63232<=c&&c in ts?f=ts[c]:25==c&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in us&&(f=us[b.keyIdentifier]);a=f==this.Ch;this.Ch=f;b=new xs(f,d,a,b);
b.altKey=e;this.dispatchEvent(b)};function ss(a){a.dw&&(fd(a.dw),fd(a.zB),fd(a.ew),a.dw=null,a.zB=null,a.ew=null);a.ds=null;a.Ch=-1;a.mn=-1}g.M=function(){rs.o.M.call(this);ss(this)};function xs(a,b,c,d){Fc.call(this,d);this.type="key";this.keyCode=a;this.f=b;this.repeat=c}G(xs,Fc);var ys=ba.acgraph;Ml.prototype.m=!1;Ml.prototype.j=function(a){this.hc||(this.hc=new uo(this,this.m),this.hc.C(ip("stageCredits")));return m(a)?(this.hc.C(a),this):this.hc};var zs=0,As=[];function Bs(a,b){zs?As.push(ra(a,b)):a.apply(b)}function Cs(){zs--;if(!zs)for(var a=As.slice(0),b=As.length=0;be;e++){c=e;for(var f=0;8>f;f++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}as=d}c=-1;for(d=0;d>>8^as[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a}var Ms=[],Ns=[],Os=[];
function ip(a){var b;Ns.length||(Ns.push(ba.anychart.themes.defaultTheme||{}),Os.push(Ns[0]));for(b=Ns.length-1;bc.length?c[0]:c[b]):0}
g.parent=function(a){return m(a)?(this.ga!=a&&(a?(this.ga&&Yu(this.ga,this.ez,this),this.ga=a,Q(this.ga,this.ez,this)):(Yu(this.ga,this.ez,this),this.ga=null)),this):this.ga};g.ez=function(a){var b=0,c=0;V(a,1)&&(b|=16,c|=1);V(a,8)&&(b|=4,c|=8);V(a,32768)&&(b|=1,c|=1);this.f=null;this.i(b,c)};function mw(a,b,c,d,e,f,h){switch(a.B("cornerType")){case "round":b.dc(e,f,h,h,!1,!0);break;case "roundInner":b.dc(e,f,h,h,!1,!1);break;case "cut":b.lineTo(e,f);break;default:b.lineTo(c,d).lineTo(e,f)}}
g.WA=function(){return this.Ma()};
g.I=function(){if(!this.ub())return this;var a=this.B("fill")||"none",b=this.B("stroke"),c=this.B("topStroke"),d=this.B("rightStroke"),e=this.B("bottomStroke"),f=this.B("leftStroke"),h=!!(c||d||e||f),k=c&&d&&e&&f,l,n,p=this.D()?this.D().ha():null,r=p&&!p.bc();r&&p.Cc();if(T(this,4)){this.ta||(this.ta=Mh());k&&this.b?this.b.clear().parent(null):(this.b||(this.b=uh()),this.b.parent(this.ta),this.b.clear());h?(this.g||(this.g=uh()),this.g.parent(this.ta),this.g.clear()):this.g&&this.g.clear().parent(null);
if(this.m)for(k=0,l=this.m.length;kd||c>e)return 1;if(bd)return 1}else if(a.J){if(ce)return 1}return 0}
function Dw(a){var b=a.W(),c,d,e;b?(c=b.width,b=b.height,null!=a.va?(a.N=d=O(a.va,c),c=!1):(d=0,c=!0),null!=a.bb?(a.g=e=O(a.bb,b),b=!1):(e=0,b=!0)):(qr(a.va)?(c=!0,d=0):(c=!1,a.N=d=P(a.va)),qr(a.bb)?(b=!0,e=0):(b=!1,a.g=e=P(a.bb)));var f=a.Zd();a.b.width(null);a.b.height(null);c?(d+=a.b.Oa().width,a.R=d,a.N=f.hf(d)):d=a.R=f.Xd(d);a.b.width(a.R);b?(e+=a.b.Oa().height,a.K=e,a.g=f.gf(e)):e=a.K=f.Wd(e);a.b.height(a.K);var h=!c&&a.c||!b&&a.J;U(a);if(h){var h=Math.round((a.T+a.aa)/2),k=a.aa,l=a.T,n;n=a.j;
var p=Oh();p.Ob("aria-hidden","true");a.Hc(p,!0);a.j=n;p.fontSize(a.T);if(0>=Cw(a,p.Oa().width,p.Oa().height,d,e))d=a.T;else{p.fontSize(h);for(var r=n=Cw(a,p.Oa().width,p.Oa().height,d,e);k!=l;){if(0>n)k=Math.min(h+1,l),h+=Math.floor((l-h)/2);else if(0=r*n)break}if(n){do h+=r,p.fontSize(h),n=Cw(a,p.Oa().width,p.Oa().height,d,e);while(0>r*n);Jb(p);0b?null:b;m(a.width())||a.i(4)}function Bx(a,b){a.F=0>b?null:b;m(a.height())||a.i(4)}g.margin=function(a,b,c,d){this.G||(this.G=new ex,H(this,this.G),Q(this.G,this.KF,this));return m(a)?(this.G.C.apply(this.G,arguments),this):this.G};
g.ei=function(a,b,c,d){this.Ha||(this.Ha=new yw,H(this,this.Ha),Q(this.Ha,this.KF,this));return m(a)?(this.Ha.C.apply(this.Ha,arguments),this):this.Ha};function Cx(a,b){if(m(b)){var c=a.B("orientation")!=b;a.j.orientation=b;c&&a.i(4);return a}return a.j.orientation}g.yQ=function(a,b){if(m(a)){if(A(a))if(m(b)){if(a in this.m)this[a](b)}else return this.nb(a);else if(z(a))for(var c in a)if(c in this.m)this[c](a[c]);return this}c={};for(var d in this.g)d in this.m&&(c[d]=this.g[d]);return c};
function Dx(a,b){if(m(b)){var c=null==b?"":String(b);a.N!=c&&(a.N=c,a.i(20,9));return a}return a.N}g.i=function(a,b){var c=xx.o.i.call(this,a,b);!c&&this.la&&this.X(b||0);return c};function Ex(a){var b=!1;a.Aa||(b=!0,a.Aa=Mh(),a.el().D(a.Aa),a.Wa=a.Aa.text(),a.Wa.zIndex(.1),a.Wa.Ob("aria-hidden","true"),H(a,a.Aa),rv(a,a.Aa));return b}
g.I=function(){if(!this.ub())return this;var a=Ex(this),b=this.D();U(this);T(this,2)&&(this.Aa.parent(b),this.w(2));T(this,8)&&(this.Aa.zIndex(this.zIndex()),this.w(8));T(this,16)&&(this.Hc(a),this.w(16));T(this,4)&&(Fx(this),this.Wa.x(O(this.ei().B("left"),this.c)),this.Wa.y(O(this.ei().B("top"),this.b)),this.Aa.Eb(this.h.b,this.h.c,this.h.f,this.h.g,this.h.h,this.h.j),this.i(64),this.w(4));T(this,64)&&(a=this.el(),U(a),a.W(0,0,this.c,this.b),a.I(),a.S(!1),this.w(64));this.S(!1);return this};
g.remove=function(){this.Aa?this.Aa.parent(null):this.Wa&&this.Wa.parent(null)};g.lc=function(){var a=this.W(),a=a?a.clone():qq(0,0,0,0);if(!this.enabled())return a;this.xa&&!T(this,4)||Fx(this);switch(this.B("orientation")){case "top":a.top+=this.xa.height;a.height-=this.xa.height;break;case "right":a.width-=this.xa.width;break;case "bottom":a.height-=this.xa.height;break;case "left":a.left+=this.xa.width,a.width-=this.xa.width}return a};
g.ve=function(){if(!this.enabled())return new I(0,0,0,0);this.xa&&!T(this,4)||Fx(this);return this.xa.clone()};
g.Hc=function(a){var b=this.B("text"),c=Dx(this),d=this.B("useHtml");if(a||m(b)||m(c)||m(d))a=!b&&m(c)?c:b,d?this.Wa.htmlText(a):this.Wa.text(a);this.Wa.fontSize(this.B("fontSize"));this.Wa.fontFamily(this.B("fontFamily"));this.Wa.color(this.B("fontColor"));this.Wa.Ok(this.B("textDirection"));this.Wa.bo(this.B("textWrap"));this.Wa.opacity(this.B("fontOpacity"));this.Wa.lj(this.B("fontDecoration"));this.Wa.fontStyle(this.B("fontStyle"));this.Wa.fontVariant(this.B("fontVariant"));this.Wa.fontWeight(this.B("fontWeight"));
this.Wa.letterSpacing(this.B("letterSpacing"));this.Wa.$n(this.B("lineHeight"));this.Wa.ao(this.B("textIndent"));this.Wa.Yi(this.B("vAlign"));this.Wa.Sg(this.B("hAlign"));this.Wa.nh(this.B("textOverflow"));this.Wa.Pk(this.B("selectable"));this.Wa.Hb(this.B("disablePointerEvents"))};
function Gx(a){var b=a.nb("rotation");delete a.j.rotation;b=m(b)?b:a.B("rotation");if(m(b))return b;switch(a.B("orientation")){case "left":return a.j.rotation=-90;case "right":return a.j.rotation=90;default:return a.j.rotation=0}}
function Fx(a){var b=a.ei(),c=a.margin(),d=a.W(),e,f,h=a.B("orientation"),k=!(Gx(a)%180);f=!((Gx(a)+90)%180);d?f?(e=d.height,f=d.width):(e=d.width,f=d.height):e=f=void 0;var l=Ex(a);if(l||T(a,16))a.Hc(l),a.w(16);a.Wa.width(null);a.Wa.height(null);a.Wa.Eb(1,0,0,1,0,0);var l=a.Wa.Oa(),n=a.rc("width")?a.nb("width"):a.J||null;null===n?(a.A=l.width,a.c=b.hf(a.A)):(a.c=O(n,e),a.A=b.Xd(a.c));d&&e=a.documentMode)?qg(this.c,Sx):qg(this.c,Rx);qg(this.ha().sp(),Kx);qg(this.ha().P(),Tx);this.j()};Qx.prototype.j=function(){var a;a=this.g;a=a.b?a.b.clone():null;this.ha().Zn(a.width,a.height)};Qx.prototype.ln=function(){return!1};function Ux(a,b,c){this.b={values:a||{},Jf:b||null,Cf:c||[],wg:{},xg:{}};this.b.wg["%Value"]="value";this.b.wg["%YValue"]="value";this.b.wg["%Index"]="index"}g=Ux.prototype;g.values=function(a){return m(a)?(this.b.values=a,this):this.b.values};g.Jf=function(a){return m(a)?(this.b.Jf=a,this):this.b.Jf};g.Cf=function(a){return m(a)?(this.b.Cf=a,this):this.b.Cf};g.wg=function(a){return m(a)?(this.b.wg=a,this):this.b.wg};g.xg=function(a){return m(a)?(this.b.xg=a,this):this.b.xg};
g.jm=function(a){var b=this.b.Jf;return b?b.get.apply(b,arguments):void 0};g.iO=function(a){var b=this.b.Jf?this.b.Jf.l(a):void 0;m(b)||(b=(b=this.b.values.series)?b.value.l(a):void 0);return b};g.nd=function(a){var b=void 0;if(a)for(var c=0;cc?d=this.c.eq[c]:8>c?d=this.c.gq[c-4]:(d=this.c.yx[c-8],d=d.replace("{1}",this.c.eq[c-8]),d=d.replace("{0}",this.c.gq[c-8]));Zx(this,d)}else Zx(this,a)}
function Zx(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 by(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)}
function cy(a,b,c,d,e,f){by(b,c);var h=c[0],k=d.text.charAt(0),l=-1;if(ay(d))if(0b.length)return!1;l=dy(a,b.substring(0,h+e),c)}else l=dy(a,b,c);switch(k){case "G":return l=ey(b,c,a.c.zx),0<=l&&(f.era=l),!0;case "M":case "L":a:{d=l;if(0>d){d=ey(b,c,a.c.Kx.concat(a.c.Tx).concat(a.c.Px).concat(a.c.Ux));if(0>d){f=!1;break a}f.month=d%12}else f.month=d-1;f=!0}return f;case "E":return d=ey(b,c,a.c.Vx),0>d&&(d=ey(b,c,a.c.Rx)),0>d?f=!1:(f.c=d,f=!0),f;case "a":return l=ey(b,c,a.c.xx),0<=l&&(f.g=
l),!0;case "y":a:{var n;if(0>l){n=b.charAt(c[0]);if("+"!=n&&"-"!=n){f=!1;break a}c[0]++;l=dy(a,b,c);if(0>l){f=!1;break a}"-"==n&&(l=-l)}n||2!=c[0]-h||2!=d.count?f.year=l:(a=l,b=(new Date).getFullYear()-80,c=b%100,f.s=a==c,a+=100*Math.floor(b/100)+(al?(d=ey(b,c,a.c.Ox),0>d&&(d=ey(b,c,a.c.Qx)),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 a=c[0]-h,f.m=3>a?l*Math.pow(10,3-a):Math.round(l/Math.pow(10,
a-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.h=l),!0;case "s":return 0<=l&&(f.j=l),!0;case "z":case "Z":case "v":b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);a:if(c[0]>=b.length)f.f=0,f=!0;else{d=1;switch(b.charAt(c[0])){case "-":d=-1;case "+":c[0]++}h=c[0];l=dy(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.f=-(n*d);f=!0}}return f;
default:return!1}}function dy(a,b,c){if(a.c.Wx){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 ey(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 fy(){};F("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"}});F("anychart.format.locales.default.numberLocale",{decimalsCount:1,decimalPoint:".",groupsSeparator:"",scale:!1,zeroFillDecimals:!1,scaleSuffixSeparator:"",useBracketsForNegative:!1});F("anychart.format.locales.default.messages",{});
var gy=/^([-]?\d+\.?\d*)(.*?)?$/,hy={factors:[1E15,1E12,1E9,1E6,1E3,1E3,1,.001,1E-6,1E-9],suffixes:"P T G M K k m u n".split(" ")},iy="default",jy=null,ky=NaN,ly="default",my=null,ny=null,oy=null,py=0,qy={},ry={},sy={},ty={};function uy(a){z(a)||(a=ba.anychart.format.locales[String(a)]);return a||null}function Hr(a){return(a=uy(a))&&a.dateTimeLocale||null}function vy(a){return(a=uy(a))&&a.numberLocale||null}function wy(a,b){var c=Hr(a);return c&&c[b||"dateTimeFormat"]||null}
function xy(a){if(!a)return sq;var b=ka(a);b in ty||(ty[b]={zx:a.eras,dD:a.eraNames,fD:a.narrowMonths,hD:a.standaloneNarrowMonths,Kx:a.months,Tx:a.standaloneMonths,Px:a.shortMonths,Ux:a.standaloneShortMonths,Vx:a.weekdays,kD:a.standaloneWeekdays,Rx:a.shortWeekdays,jD:a.standaloneShortWeekdays,NL:a.narrowWeekdays,iD:a.standaloneNarrowWeekdays,Qx:a.shortQuarters,Ox:a.quarters,xx:a.ampms||a.amPmS,eq:a.dateFormats||[],gq:a.timeFormats||[],yx:a.dateTimeFormats||[],Bx:a.firstDayOfWeek,uM:a.weekendRange,
Cx:a.firstWeekCutOffDay||a.firstWeekCutOfDay});return ty[b]}function yy(a){m(a)&&(ky=ia(a)?a.getTime():P(a));return isNaN(ky)?(a=new Date,a.setTime(Date.UTC(a.getUTCFullYear(),a.getUTCMonth())),a):new Date(ky)}function Ir(a){m(a)&&(A(a)||z(a)?ly=a:ly="default");return ly}function zy(a){m(a)&&(A(a)?my=a:my=null);return my||wy(ly)||wy("default")||"yyyy.MM.dd"}function Ay(a){m(a)&&(A(a)?ny=a:ny=null);return ny||wy(ly,"dateFormat")||wy("default","dateFormat")||"yyyy.MM.dd"}
function By(a){m(a)&&(A(a)?oy=a:oy=null);return oy||wy(ly,"timeFormat")||wy("default","timeFormat")||"HH:mm:ss"}function Cy(a){m(a)&&(py=P(a)||0);return py}
function Dy(a,b,c,d){if(ia(a))return a;if(C(a))return isNaN(a)?null:new Date(a);if(A(a)){if(b=(m(b)?b:jy)||null){d=Hr(d)||Hr(iy)||Hr("default");var e=ka(d),e=b+e,f;e in ry||(d=xy(d),ry[e]=new Yx(b,d));f=ry[e];c=ia(c)?c:yy();(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 fy,e=[0],k=-1,l=0,n=0,p=0;pk&&f.b[p].Wn&&(k=p,n=l=0),0<=k){var r=f.b[p].count;if(p==k&&(r-=n,n++,0==r)){a=0;break a}cy(f,
a,e,f.b[p],r,h)||(p=k-1,e[0]=l)}else{if(k=-1,!cy(f,a,e,f.b[p],0,h)){a=0;break a}}else{k=-1;if(" "==f.b[p].text.charAt(0)){if(r=e[0],by(a,e),e[0]>r)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.g&&0h.b&&(h.b+=12),c.setHours(h.b));D(c.setMinutes)&&void 0!=h.h&&c.setMinutes(h.h);D(c.setSeconds)&&void 0!=h.j&&c.setSeconds(h.j);D(c.setMilliseconds)&&void 0!=h.m&&c.setMilliseconds(h.m);void 0!=h.f&&c.setTime(c.getTime()+6E4*(h.f-c.getTimezoneOffset()));h.s&&(a=new Date,a.setFullYear(a.getFullYear()-80),c.getTime()a)&&(a=-a);n="";if(z(e)&&q(e.factors)&&q(e.suffixes)){var p=1,r=e.factors;e=e.suffixes;for(var t=Math.min(r.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):Tp(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}F("anychart.format.inputLocale",function(a){m(a)&&(A(a)||z(a)?iy=a:iy="default");return iy});F("anychart.format.inputBaseDate",yy);F("anychart.format.inputDateTimeFormat",function(a){m(a)&&(A(a)?jy=a:jy=null);return jy});F("anychart.format.outputLocale",Ir);F("anychart.format.outputTimezone",Cy);F("anychart.format.outputDateFormat",Ay);F("anychart.format.outputTimeFormat",By);
F("anychart.format.outputDateTimeFormat",zy);F("anychart.format.parseDateTime",Dy);
F("anychart.format.parseNumber",function(a,b){var c=vy(b)||vy(iy)||vy("default"),d=1;if(A(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(Oa(c.groupsSeparator),"g"),"");var e=c.scale;!0===e&&(e=hy);if(z(e)&&q(e.factors)&&q(e.suffixes)){a=a.replace(new RegExp(Oa(c.scaleSuffixSeparator),"g"),"");var f=a.match(gy);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.ra()-v+c>l.width&&(h-=d.ra()-v+c-l.width),d.ka()-w+e>l.height&&(k-=d.ka()-w+e-l.height));r||(b.x(h),b.y(k),d=b.Ma(),d.leftf.width+v&&(h-=d.ra()-f.width-v),d.ka()>f.height+w&&(k-=d.ka()-f.height-w));u||(b.x(h),b.y(k),d=b.Ma(),d.lefta.ra()+v&&(h-=d.ra()-v-a.ra()),d.ka()>a.ka()+w&&(k-=
d.ka()-w-a.ka()));b.x(h);b.y(k)}
function Yy(a,b,c,d,e){if(a.check(3)&&(a.b=e?e.Za():a,Zy(a,[a.b]),a.b.enabled())){for(var f={clientX:{value:c,type:"number"},clientY:{value:d,type:"number"},formattedValues:{value:[],type:""},points:{value:[],type:""}},h=[],k=0;kd.ka()?(e=d.Ra(),f=d.ra(),h=d.$a(),k=d.ka(),c+=2):(e=f=d.Ra()+2,h=d.$a(),k=d.ka(),b-=2);else if(b>d.ra())cd.ka()?(e=d.Ra(),f=d.ra(),h=d.ka(),k=d.$a(),c+=2):(e=f=d.ra()-2,h=d.$a(),k=d.ka(),b+=2);else if(c<
d.$a())h=k=d.$a()+2,e=d.ra(),f=d.Ra(),c-=2;else if(c>d.ka())h=k=d.ka()-2,e=d.Ra(),f=d.ra(),c+=2;else break a;a.s=[e,h,f,k,b,c]}ed(document,"mousemove",a.qw,!1,a)}else e&&d.Hb(!0)}}function lz(a,b,c,d){Qy(a);a.b=a;d&&(d.clientX=b,d.clientY=c,Dx(a.title(),hz(a,d)),a.je().text(gz(a,d)));Ry(a,a);Vy(a,a,b,c);iz(a,b,c)}
function mz(a,b,c){var d=a.B("displayMode");"single"==d&&(Vy(a,a.b,b,c),iz(a.b,b,c));if("union"==d)Vy(a,a.b,b,c),iz(a.b,b,c);else if("separated"==d)for(var e in a.j)if(d=a.j[e])kz(a,d,b,c),iz(d,b,c)}function hz(a,b){b.values().titleText={value:a.ab.B("text"),type:"string"};Vx(b);var c=a.B("titleFormat");A(c)&&(c=nz(oz.xe(),c));return c.call(b,b)}
function gz(a,b,c){b.values().valuePrefix={value:a.B("valuePrefix")||"",type:"string"};b.values().valuePostfix={value:a.B("valuePostfix")||"",type:"string"};Vx(b);a=c?a.B("unionFormat"):a.B("format");A(a)&&(a=nz(oz.xe(),a));return a.call(b,b)}g.je=function(a){this.A||(this.A=new Fw,Q(this.A,this.GU,this),this.A.Sa(this),this.A.width("100%").height("100%"),H(this,this.A));return m(a)?(this.A.C(a),this):this.A};
g.MF=function(a){K(405,null,[".content()","the following behaviour",": the method called through the .content()-method should be applied to the .tooltip()-method directly"]);return this.je(a)};g.GU=function(a){V(a,8)?(this.N=this.m=null,this.i(1988,1)):V(a,1)&&this.i(512,1)};
function Oy(a,b,c){if(b)return a.g&&a.g.stop(),a.remove(),!0;if(a.B("selectable")&&c){b=c.originalEvent.clientX;c=c.originalEvent.clientY;var d=a.Ma().td(new ke(b,c)),e=Sy(a).P();if(e&&!d)return Xc(e,"mouseleave",a.aw,!1,a),a.s=null,!1;if(pz(a,b,c))return Xc(document,"mousemove",a.qw,!1,a),e&&(Xc(Sy(a).P(),"mouseenter",a.NC,!1,a),Xc(Sy(a).P(),"mouseleave",a.OC,!1,a)),!1;a.s=null}if(a.yp())return Py(a),a.g.zl()||a.g.start(),!1;a.remove();return!0}g.remove=function(){Sy(this).parent(null)};
function Qy(a){var b;b=a.check(1)&&!Zb(a.j);a.title().la=b;a.fj().pa=b;a.Qj().oa=b}g.Ma=function(){this.N=this.m=null;Uy(this);return new I(this.N.x+this.B("offsetX"),this.N.y+this.B("offsetY"),this.m.width,this.m.height)};g.ve=function(){Ty(this);return this.m};g.Hc=function(){if(T(this,512)){U(this.je());for(var a in this.J){var b=this.B(a);m(b)&&this.je().Dc(a,b)}this.je().fm(this.B("adjustFontSize"));this.je().qu(this.B("minFontSize"));this.je().pu(this.B("maxFontSize"));this.je().S(!1)}};
g.i=function(a,b){var c=Ly.o.i.call(this,a,b);!c&&this.check(1)&&!Zb(this.j)&&this.X(b||0);return c};function Sy(a){if(!a.F){a.F=Mh();H(a,a.F);rv(a,a.F);var b=a.Qj(),c=a.title(),d=a.fj(),e=a.je();b.D(a.F);c.D(a.F);d.D(a.F);e.D(a.F)}return a.F}function Wy(a,b){return m(b)?(a.aa=b,a):a.aa}function Xy(a){return Wu&&a.B("allowLeaveStage")&&a.B("allowLeaveChart")}function Py(a){a.g&&a.g.zl()?a.ma=!0:(Jb(a.g),a.g=new qd(function(){this.remove();this.ma&&(this.ma=!1,Py(this))},a.yp(),a))}
function Zy(a,b){b=b||[];for(var c in a.j)db(b,function(a){return String(ka(a))==c})||a.j[c].Cd(!0)}
function Ty(a){if(!a.m){U(a.je());a.Hc();a.je().S(!1);var b=a.B("width"),c=a.B("height"),d=(a.h||Wy(a)).Ma(),b=O(b,d.width),c=O(c,d.height),d=!isNaN(b),e=!isNaN(c),f=new I(0,0,0,0),h,k=null,l=null,n=a.title(),p=a.fj(),r=a.je(),t;if(!d||!e){if(n.enabled()){n.W(null);t=n.B("width");var u=null!=n.nb("width");h=n.B("height");var v=null!=n.nb("height");lr(t)&&(k=t,d?(t=a.Zd().Xd(b),n.width(t)):n.width(null));lr(h)&&(l=h,e?(t=a.Zd().Wd(c),n.height(t)):n.height(null));h=n.ve();f.width=b||Math.max(f.width,
h.width);u?n.width(k):delete n.g.width;v?n.height(l):delete n.g.height;l=k=null;e||(f.height+=h.height)}if(r.enabled()){var w=(u=a.ga?a.ga.je():null)?u.width():void 0,u=u?u.height():void 0;r.W(null);w=r.width()||w;u=r.height()||u;lr(w)&&(k=w,d?(t=a.Zd().Xd(b),r.width(t)):r.width(null));lr(u)&&(l=u,e?(t=a.Zd().Wd(c),r.height(t)):r.height(null));w=r.ve();f.width=b||Math.max(f.width,w.width);k&&r.width(k);l&&r.height(l);e||(f.height+=w.height)}n.enabled()&&n.W(new I(0,0,f.width,h.height));r.enabled()&&
r.W(new I(0,0,f.width,w.height));p.enabled()&&(p.W(n.enabled()||r.enabled()?f:null),h=p.ve(),f.width=b||Math.max(f.width,h.width),e||(f.height+=h.height))}f=a.Zd().cL(f);d&&(f.width=b);e&&(f.height=c);f.left=0;f.top=0;a.m=f}}function Uy(a){Ty(a);if(!a.N){var b=a.B("anchor"),c=a.B("offsetX"),d=a.B("offsetY"),e=a.B("x"),f=a.B("y"),e=new ke(e,f);Lr(e,b,c,d);b=tr(a.m,b);e.x-=b.x;e.y-=b.y;a.N=e}}
function kz(a,b,c,d,e){var f=c,h=d,k,l=a.B("positionMode")||"float",n=a.B("displayMode"),p=(a.ba()||Wy(a)).Ma(),r=a.aa.D().ha(),t=r.Oa();k=Ql(r);var u=Xy(b),r=b.B("allowLeaveStage"),v=b.B("allowLeaveScreen"),w=b.B("allowLeaveChart"),x=b.B("offsetX"),y=b.B("offsetY");"float"==l?(f=u?c:c-k.x,h=u?d:d-k.y):"point"==l?(h="union"==n?a.B("position"):b.B("position"),h=e.Aq(h,!0).value,f=u?h.x+k.x:h.x,h=u?h.y+k.y:h.y):"chart"==l&&(f=a.ba().Ma(),h="union"==n?a.B("position"):b.B("position"),h=tr(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.Ma(),a=Sf(window),0>k.left-x+v&&(f-=k.left-x+v),0>k.top-y+u&&(h-=k.top-y+u),k.ra()-x+v>a.width&&(f-=k.ra()-x+v-a.width),k.ka()-y+u>a.height&&(h-=k.ka()-y+u-a.height));r||(b.x(f),b.y(h),k=b.Ma(),k.leftt.width+x&&(f-=k.ra()-t.width-x),k.ka()>t.height+y&&(h-=k.ka()-t.height-y));w||(b.x(f),b.y(h),k=b.Ma(),k.leftp.ra()+
x&&(f-=k.ra()-x-p.ra()),k.ka()>p.ka()+y&&(h-=k.ka()-y-p.ka()));b.x(f);b.y(h)}function qz(a){var b=null;Wy(a)?b=Wy(a).D():a.ba()?b=a.ba().D():a.parent()&&(Wy(a.parent())?b=Wy(a.parent()).D():a.parent().ba()&&(b=a.parent().ba().D()));return b}
function Ry(a,b){if(T(b,2)){var c;if(Xy(b))c=Qx.xe(),a.c&&a.c.ln()&&b.c.D(null),b.c=c,b.c.D(document.body),b.D(c.b),Sy(b).parent(b.D()),b.w(2);else{var d=qz(b);if(d){var e=rz(b);c=gs[e];c||(c=new Ix,gs[e]=c);b.c=c;Sy(b).parent(b.D());d=d.ha().sp();c.D(d);b.D(c.b);b.w(2)}}}}g.qw=function(a){if(pz(this,a.clientX,a.clientY))this.c.ln()||Mx(this.c,!0);else{ed(document,"mousemove",this.qw,!1,this);var b=Sy(this).P();b&&(ed(b,"mouseenter",this.NC,!1,this),ed(b,"mouseleave",this.OC,!1,this));this.aw(a)}};
function pz(a,b,c){if(!a.s)return!1;var d=a.s[0],e=a.s[1],f=a.s[2],h=a.s[3],k=a.s[4],l=a.s[5];a=aq(f,h,k,l,b,c);k=aq(k,l,d,e,b,c);return aq(d,e,f,h,b,c)==a&&a==k}g.NC=function(){ed(document,"mousemove",this.qw,!1,this);Sy(this).P()&&ed(Sy(this).P(),"mouseenter",this.NC,!1,this);this.s=null};g.OC=function(a){Sy(this).P()&&ed(Sy(this).P(),"mouseleave",this.OC,!1,this);this.aw(a)};
g.aw=function(a){if(2==a.b.buttons)return!0;this.c.ln()||Mx(this.c,!1);Sy(this).P()&&ed(Sy(this).P(),"mouseleave",this.aw,!1,this);this.s=null;this.yp()?(Py(this),this.g.zl()||this.g.start()):this.Cd(!0)};function rz(a){a=qz(a).ha();return"stg"+ka(a)}
g.parent=function(a){if(m(a)){if(this.ga!=a){var b=String(ka(this));a?(this.ga&&Yu(this.ga,this.Hu,this),this.ga=a,this.title().parent(this.ga.title()),this.fj().parent(this.ga.fj()),this.Qj().parent(this.ga.Qj()),this.Zd().parent(this.ga.Zd()),this.je().Zd().parent(this.ga.je().Zd()),this.ga.j[b]=this,Q(this.ga,this.Hu,this)):(Yu(this.ga,this.Hu,this),this.title().parent(null),this.fj().parent(null),this.Qj().parent(null),this.Zd().parent(null),this.je().Zd().parent(null),delete this.ga.j[b],this.ga=
null)}return this}return this.ga};g.Hu=function(a){var b=0,c=0;if(V(a,8)||V(a,1))b|=1988,c|=8;V(a,32768)&&(b|=1,c|=1);this.f=null;this.i(b,c)};g.nb=function(a){return this.G[a]};g.rc=function(a){return null!=this.G[a]};g.qc=function(a){return this.Xa[a]};g.B=hw;g.Tb=function(a,b){this.G[a]=b};g.check=function(a){return m(a)?!!(a&this.Da):!0};g.Te=function(a){m(a)&&(this.f=a);return this.f};g.rj=gw;g.me=function(){var a=[this.Xa];this.ga&&(a=ob(a,this.ga.me()));return a};
g.be=function(){var a=[this.G];this.ga&&(a=ob(a,this.ga.be()));return a};g.QI=function(a){K(405,null,["isFloating()","positionMode()"]);var b=this.B("positionMode");return m(a)?("float"==b!=a&&this.Tb("positionMode",a?"float":"chart"),this):"float"==b};g.enabled=function(a){return m(a)?(this.G.enabled!=a&&(this.G.enabled=a,this.i(1,32777),this.G.enabled?(this.eg=!1,this.S(!0)):isNaN(this.Rf)?U(this):this.eg=!0),this):this.B("enabled")};
g.u=function(){var a={};Mv(this,this.J,a);Mv(this,this.tt,a);delete a.x;delete a.y;var b=this.title().u();Zb(b)||(a.title=b);b=this.fj().u();Zb(b)||(a.separator=b);b=this.Qj().u();Zb(b)||(a.background=b);b=this.Zd().u();Zb(b)||(a.padding=b);m(this.R)&&(a.hideDelay=this.R);m(this.zIndex())&&(a.zIndex=this.zIndex());this.rc("enabled")&&(a.enabled=this.G.enabled);return a};
g.H=function(a,b){a.content&&this.MF(a.content);a.isFloating&&this.QI(a.isFloating);if(b){for(var c in this.J){var d=a[c];m(d)&&(this.Xa[c]=d)}for(c in this.tt)d=a[c],m(d)&&(this.Xa[c]=d);"enabled"in a&&(this.Xa.enabled=a.enabled)}else Lv(this,this.J,a),Lv(this,this.tt,a);this.title().na(!!b,a.title);this.fj().na(!!b,a.separator);this.Qj().na(!!b,a.background);this.Zd().na(!!b,a.padding);this.yp(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.rj(),h=0;hb?(w=Math.max(w,p),x+=n,r++,p=e+a.c,n=k+a.c):(p+=e+a.c,n=Math.max(n,k+a.c)):"verticalexpandable"==a.J&&(t+k>c?(x=Math.max(x,t),w+=u,v++,u=e+a.c,t=k+a.c):(t+=k+a.c,u=Math.max(u,e+a.c))));!d||0>f?f=d=0:d-=a.c;!h||
0>l?l=h=0:h-=a.c;a.ae=v;return"vertical"==a.J?qq(0,0,Math.max(0,f),Math.max(0,h)):"horizontal"==a.J?qq(0,0,Math.max(0,d),Math.max(0,l)):"verticalexpandable"==a.J?(w+=u-a.c,x=Math.max(x,t)-a.c,qq(0,0,Math.max(0,w),Math.max(0,x))):"horizontalexpandable"==a.J?(w=Math.max(w,p)-a.c,x+=n-a.c,qq(0,0,Math.max(0,w),Math.max(0,x))):qq(0,0,0,0)}
function wz(a){var b=a.W();b&&0>=b.width&&0>=b.height&&(b=null);var c,d,e=a.margin(),f=a.Oo(),h,k,l,n,p=0,r=0,t,u;b?(c=b.width,d=b.height,null!=a.va?(l=Math.min(c,O(a.va,c),null!=a.Od?O(a.Od,c):c),t=f.Xd(e.Xd(l))):t=null!=a.Od?f.Xd(e.Xd(O(a.Od,c))):f.Xd(e.Xd(c)),null!=a.bb?(n=Math.min(d,O(a.bb,d),null!=a.ed?O(a.ed,d):d),u=f.Wd(e.Wd(n))):u=null!=a.ed?f.Wd(e.Wd(O(a.ed,d))):f.Wd(e.Wd(d))):(C(a.va)&&!isNaN(a.va)?(l=a.va,t=f.Xd(a.va)):t=C(a.Od)&&!isNaN(a.Od)?f.Xd(a.Od):Infinity,C(a.bb)&&!isNaN(a.bb)?(n=
a.bb,u=f.Wd(a.bb)):u=C(a.ed)&&!isNaN(a.ed)?f.Wd(a.ed):Infinity);var v,w,x,y=a.ht(),B=a.xj(),E=a.title(),R=B.Gm(),R="bottom"==R||"top"==R,S=E.B("orientation")||Cx(E),S="bottom"==S||"top"==S,Y=!(Gx(E)%180),pa=y.fb();U(y);U(B);U(E);var ca=w=null;do{w&&(ca=w);var Z=w=0,M=0,va=0;E.enabled()?(E.W(null),Ax(E,null),Bx(E,null),x=E.ve(),S?(x.width>t&&(Y?Ax(E,t):Bx(E,t),x=E.ve()),va=x.width,w+=x.height):(x.height>u&&(Y?Bx(E,u):Ax(E,u),x=E.ve()),M=x.height,Z+=x.width)):x=null;y.enabled()?(y.W(null),v=y.ve(),
pa?w+=v.height:Z+=v.width):v=null;h=t-Z;k=xz(a,h,u-w);var Ya=k.width;k=k.height;w+=k;Z+=Ya;M=Math.max(M,k);va=Math.max(va,Ya);Z=Math.max(va,Z);va=Math.max(M,w);M=u;S&&(M-=x?x.height:0);pa&&(M-=v?v.height:0);B.W(null);w=qx(B,1);if("horizontal"==a.J)Ya>h&&a.b&&1h&&1M&&a.b&&1=t-x.width?va:Ya,x=Math.max(Math.min(E.text().length,1),E.margin().Xd(M-qa<=x?M-x:qa)),Ax(E,x);else if(!Y&&va>u){x=0;v&&pa&&(x+=v.height);if("top"==B.Gm()||"bottom"==B.Gm())x+=w.height;Ya=ox(B)&&!R?w.height:0;Ya=Math.max(a.b&&a.b.length?a.b[0].Ma().height:0,Ya);x=Math.max(1,E.margin().Wd(u-x-
Ya));Y?Bx(E,x):Ax(E,x)}x=E.ve();y.width(h)}else x=E.ve(),y.width(k);v=y.ve();S?Z-=x.height:M-=x.width}y.enabled()&&(pa?Z-=v.height:M-=v.width);Ya=M;x=Z;B.Gm();ox(B)&&(R?x=Z-w.height:Ya=M-w.width);w=a;v=x;var Mb;w.g=[];x=0;Z=w.b&&w.b.length;for(M=0;MYa?(x++,w.g[x]=[],w.g[x][0]=w.b[M],v=w.b[M].Ma().oe()):(v=v+w.c+w.b[M].Ma().oe(),w.g[x].push(w.b[M])));
break;case "vertical":Ya=w.b[M].Ma().ke();M+=1;for(Z=w.b.length;Mv?(x++,w.g[x]=[],w.g[x][0]=w.b[M],Ya=w.b[M].Ma().ke()):(Ya=Ya+w.c+w.b[M].Ma().ke(),w.g[x].push(w.b[M])));break;case "horizontalexpandable":for(var eb=w.b[M].Ma().oe()+w.c,nc=w.b[M].Ma().ke()+w.c,Ic=0,M=M+1;MYa?(Ic+=nc,Ic+Mb>v?(x++,w.g[x]=[],w.g[x][0]=va,Ic=0):w.g[x].push(va),eb=qa+w.c,nc=Mb+w.c):(eb+=qa+w.c,nc=Math.max(nc,Mb+w.c),
w.g[x].push(va)));break;case "verticalexpandable":for(eb=w.b[M].Ma().oe()+w.c,nc=w.b[M].Ma().ke()+w.c,Ic=0,M+=1;Mv?(Ic+=eb,Ic+qa>Ya?(x++,w.g[x]=[],w.g[x][0]=va,Ic=0):w.g[x].push(va),eb=qa+w.c,nc=Mb+w.c):(eb=Math.max(eb,qa+w.c),nc+=Mb+w.c,w.g[x].push(va)))}gx(w.xj(),x+1);B.W(null);w=B.Ma()}while(!oe(ca,w));l||(l=h);n||(n=k);a.xa=new I(p,r,l,n);if(a.Qa)p=a.ddb.ra()&&(p=b.ra()-l),rb.ka()&&(r=b.ka()-n));else if(b){p=b.Ra();r=b.$a();switch(a.h){case "left":case "right":switch(a.m){case "center":r+=(d-n)/2;break;case "right":case "bottom":r=b.ka()-n}break;case "top":case "bottom":switch(a.m){case "center":p+=(c-l)/2;break;case "right":case "bottom":p=b.ra()-l}}switch(a.h){case "right":p=b.ra()-l;break;
case "bottom":r=b.ka()-n}}else p=O(e.B("left"),0),r=O(e.B("top"),0);a.xa.left=p;a.xa.top=r;a.Ib=a.Oo().ff(a.margin().ff(a.xa));b=a.xa.clone();b.left=0;b.top=0;a.Da=a.margin().ff(b);a.kc=a.Oo().ff(a.Da);y.S(!1);B.S(!1);E.S(!1);a.w(4)}function yz(a){if(q(a.Fa))return a.Fa;if(null!=a.F){for(var b,c=[],d=0;dc.width&&(e+=f,f=d=0),n.i(4),U(n).W(c).x(d).y(e).enabled(!0).S(!1).I(),d+=n.Ma().oe()+
a.c,f=Math.max(f,p.ke()+a.c);break;case "verticalexpandable":for(k=0;kc.height&&(d+=h,h=e=0),n.i(4),U(n).W(c).x(d).y(e).enabled(!0).S(!1).I(),e+=l[k].Ma().ke()+a.c,h=Math.max(h,p.oe()+a.c)}if(a.title().enabled()&&(c=a.title().B("orientation")||Cx(a.title()),"top"!=c&&"bottom"!=c)){d=c=0;if(e=a.ta.Jb)c=e.h,d=e.j;e=a.R.kp();f=a.ab.ve();f.top+=d;f.left+=c;c=f.top+f.height/2-(e.top+e.height/2);c=Math.min(a.Ib.height-e.height,Math.max(c,0));a.R.Eb(1,0,0,1,0,c)}}a.ua=
b}g.sT=function(a){return this.dispatchEvent(a.type)};g.Dd=function(a){a=tz.o.Dd.call(this,a);var b=jr(a.domTarget),b=P(b&&b.index);isNaN(b)||(a.itemIndex=b);return a};g.zT=function(a){var b=Ez(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&D(b.zi)&&b.zi(c,a),c.pa=!0,Rw(c,!0),Nw(c,!0),Qw(c,!0),a&&vz(this,a))}};g.yT=function(a){var b=Ez(this,a);b&&this.dispatchEvent(b)&&a&&vz(this,a)};
g.QP=function(a){var b=Ez(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&D(b.yi)&&b.yi(c,a),c.pa=!1,Rw(c,!1),Nw(c,!1),Qw(c,!1),this.Za().Cd())}};g.PP=function(a){if(a.button==Pj){var b=Ez(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&b&&D(b.wj)&&b.wj.call(b,c,a)}}};g.pe=function(a){(a=Ez(this,a))&&this.dispatchEvent(a)};
function Ez(a,b){var c=P(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.T?a.b.length-1-c:c,e=null,f=NaN,h=a.b[c];if(h&&a.F)for(var k=0;ke?(kb(a.f,c,~e),kb(a.c,b,~e)):(f=!(a.c[e]&b))?a.c[e]|=b:m(d)&&(a.c[e]=d);a.target.enabled()&&a.target.L().select(c)&&(a.target.Ud()||"single"!=a.target.Cb()||(h?a.target.Oe(b):m(d)&&!h&&Sz(a,NaN)&&a.target.Oe(d)),f?a.target.$e(b):m(d)&&a.target.$e(d))}}}
function Sz(a,b){var c;if(m(b)){if(isNaN(b))return!Tz(a,ap)&&!(a.b&ap);c=Ud(a,+b)}else c=a.b;return!(c&ap)}
Pz.prototype.g=function(a,b,c){var d;if(m(b)){var e=this.target.L().Ya(),f=!0;if(q(b))for(zb(b),d=b.length;d--;){var h=+b[d];hc?(kb(this.f,b,~c),kb(this.c,a,~c),this.b==bp&&this.target.$e(a),Sz(this,NaN)&&!this.target.Ud()&&"single"==this.target.Cb()&&this.target.Oe(a)):this.c[c]|=a)}};
function Vz(a,b,c){var d;if(m(c)){if(!(c>=a.target.L().Ya())){if(q(c))for(zb(c),d=c.length;d--;)a.j(b,+c[d]);else a.j(b,+c);a.target.Kf()}}else if(a.b&b)if(b==N){for(d=a.c.length;d--;)Uz(a,b,d)&&(lb(a.c,d,1),lb(a.f,d,1));a.b=bp}else b==ap&&(a.c.length=0,a.f.length=0,a.b=bp);else{for(d=a.c.length;d--;)Uz(a,b,d)&&(lb(a.c,d,1),lb(a.f,d,1));a.b=b}}function Uz(a,b,c){return!(a.c[c]&=~b)}
function Rz(a,b,c){var d=a.f[c];Uz(a,b,c)?(lb(a.f,c,1),lb(a.c,c,1),a.target.enabled()&&a.target.L().select(d)&&a.b==bp&&a.target.$e(bp)):a.target.enabled()&&a.target.L().select(d)&&a.b==bp&&a.target.$e(a.c[c])}function Wz(a,b,c){isNaN(c)||(c=vb(a.f,c),0<=c&&Rz(a,b,c))}
Pz.prototype.h=function(a,b){var c;if(m(b)){if(q(b))for(zb(b),c=b.length;c--;)Wz(this,a,+b[c]);else if(isNaN(b))for(c=this.f.length;c--;)Rz(this,a,c);else Wz(this,a,+b);this.target.Kf();this.target.Ud()||"single"!=this.target.Cb()||this.target.Oe(Tz(this,ap)?ap:Tz(this,N)?N:bp)}else{for(c=this.c.length;c--;)Uz(this,a,c)&&(this.target.L().select(this.f[c])&&this.target.$e(bp),lb(this.f,c,1),lb(this.c,c,1));this.target.Kf();this.b&=~a;if(Zu(this.target))if(this.target.Ud())for(c=this.target.ob();c.advance();){var d=
c.U();c.select(d)&&Sz(this,d)&&this.target.Oe(this.b)}else this.target.Oe(this.b)}};function Xz(a,b){for(var c=[],d=0,e=a.c.length;dc?(kb(this.f,b,~c),kb(this.c,a,~c),this.b==bp&&this.target.$e(a),Sz(this,NaN)&&!this.target.Ud()&&"single"==this.target.Cb()&&this.target.Oe(a)):(this.c[c]|=a,this.target.$e(this.c[c])))}};function bA(a){Pz.call(this,a)}G(bA,Pz);
bA.prototype.g=function(a,b,c){var d;if(m(b)){var e=this.target.L().Ya(),f=!0;if(q(b))for(zb(b),d=b.length;d--;){var h=+b[d];ha.nearestPointToCursor.distance&&(a.series.L().select(a.nearestPointToCursor.index),e=a)});"single"==this.N.B("displayMode")?jz(this.N,[e],a.originalEvent.clientX,a.originalEvent.clientY,
e.series,this.Zl()):jz(this.N,b,a.originalEvent.clientX,a.originalEvent.clientY,e.series,this.Zl())}}};g.px=function(a){mz(this.N,a.clientX,a.clientY)};g.Zl=function(){return!1};g.contextMenu=function(a){!this.kd&&(this.kd=ba.anychart.ui.contextMenu(!!z(a)&&a.fromTheme))&&(H(this,this.kd),this.kd.itemsProvider(this.fS));return m(a)?(this.kd&&this.kd.setup(a),this):this.kd};
g.fS=function(a){var b=a.event?a.event.target.Mg:null,c=a.event?jr(a.event.domTarget):null,b=z(c)&&m(c.O)&&c.O.seriesType&&m(c.index)||b&&b.seriesType,c=Po(eA),d=Po(fA);d.href="https://anychart.com/products/anychart/history?version=7.14.0.1429";c.push(null,gA,hA,d);return a.chart.HC(Po(c),a,b)};g.HC=function(a){return a};g.cB=function(){var a=[],b,c,d,e,f=this.ld();for(d=0;dp.td||!d)d=n.O,e=p.index,f=jb(n.Ab,p.index),h=p.td}}a={index:e,series:d};a[b]=c?!f:f;return a};
g.zf=function(a,b,c,d,e){var f=this.Cp(c,a,d),h=[],k;if(!d)for(var l=0;lv.cc.td&&(w=v));p=w.O;f=Xz(p.state,ap);l=1==f.length&&f[0]==w.cc.index;
n=!l||l&&(k||a.shiftKey);f=(k||a.shiftKey)&&Zz(p.state.ze(),ap);!f&&(k||a.shiftKey)||l||p.Vb();p.Je(w.cc.index,a);f=Xz(p.state,ap);if(f.length)for(d.push({O:p,Ab:[w.cc.index],cc:w.cc}),e=this.ld(),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.VU=function(a,b,c,d,e,f){return this.dispatchEvent(this.Gr("selectmarqueestart",a,b,c,d,e,f))};g.TU=function(a,b,c,d,e,f){return this.dispatchEvent(this.Gr("selectmarqueechange",a,b,c,d,e,f))};g.UU=function(a,b,c,d,e,f){a=this.Gr("selectmarqueefinish",a,b,c,d,e,f);(b=this.dispatchEvent(a))&&this.aK(a);this.Jl=!1;return b};g.aK=function(){};
function rA(a,b,c){var d,e,f=a.length;for(d=0;dthis.Nh&&(k.__original_id__=h.length,k.__original_parent__=h.length+1,h.push("__original_id__","__original_parent__"));f||p.push(h.join(e));
for(l=0;l=this.Nh?(v=t[0],w=t[1]):(v=k.id,w=t[2]);for(n=0;nb||h&&d>c?-1:f&&a==b||h&&d==c?0:1});0>d&&(d=~d-1);return a[ee(d,0,a.length)]}
function ZA(a){var b=KA(a),c=b.useHtml,d=a.Ld();T(a,1024)&&(HA(a.Ah,a.U()),a.w(1024));b=LA(a.Ah,b.format,d,a.U());a.Zm||(a.Zm=Oh(),a.Zm.Ob("aria-hidden","true"));c?a.Zm.htmlText(m(b)?String(b):""):a.Zm.text(m(b)?String(b):"");RA(a,function(a,b,c){a=0==c;b instanceof lA||b instanceof IA?this.Hc.call(b,this.Zm,a):this.Hc(this.Zm,a,b)},!0);return a.Zm}g.clear=function(){this.Se();this.Aa&&(this.Aa.parent(null),this.Aa.sg());this.i(2)};
g.lF=function(a,b){var c=this.g.positionFormatter,d=zA(this.g.anchor)||"leftTop",e=VA(this),f=this.g.offsetX,h=this.g.offsetY,k=0,l=0;b&&(k=b.width,l=b.height);var n=this.Db(),p=cc(c.call(n,n)),p=new ke(p.x,p.y),n=n&&n.connectorPoint;this.j&&(this.j.clear(),this.j.Eb(1,0,0,1,0,0));n&&(this.j||(this.j=this.Aa.path(),this.j.Bv(!0)),this.j.stroke(this.g.connectorStroke),c=cc(c.call(n,n)),this.j.moveTo(p.x,p.y).lineTo(c.x,c.y));c=tr(new I(0,0,a.width,a.height),d);p.x-=c.x;p.y-=c.y;f=m(f)?O(f,k):0;h=m(h)?
O(h,l):0;e?Lr(p,d,h,f):Lr(p,d,f,h);a.left=p.x;a.top=p.y;this.h.x(this.m+p.x).y(this.s+p.y)};function $A(a){var b=a.Db(),c=a.g.positionFormatter,d=cc(c.call(b,b)),d=new ke(d.x,d.y),b=b&&b.connectorPoint;a.j&&(a.j.clear(),a.j.Eb(1,0,0,1,0,0));b&&(a.j||(a.j=a.Aa.path(),a.j.Bv(!0)),a.j.stroke(a.g.connectorStroke),c=cc(c.call(b,b)),a.j.moveTo(d.x,d.y).lineTo(c.x,c.y))}
g.Hc=function(a,b,c){var d,e,f=m(c)?function(a){return c[a]}:this instanceof IA?this.nb:lA.prototype.aB;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.Ok(f.call(this,"textDirection"));a.bo(f.call(this,"textWrap"));a.opacity(f.call(this,"fontOpacity"));a.lj(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.$n(f.call(this,"lineHeight"));a.ao(f.call(this,"textIndent"));a.Yi(f.call(this,"vAlign"));a.Sg(f.call(this,"hAlign"));a.nh(f.call(this,"textOverflow"));a.Pk(f.call(this,"selectable"));a.Hb(f.call(this,"disablePointerEvents"))};
g.I=function(){var a=this.Ah,b;this.Aa||(this.Aa=Mh());this.Aa.tag=this.R;b=WA(this,"enabled");if(QA(this,1))if(b)this.D()&&!this.Aa.parent()&&this.Aa.parent(this.D()),this.w(1);else return this.Aa&&this.Aa.parent(null),this.w(4294967295),this;if(!b)return this;QA(this,2)&&(b&&((!this.Ah.enabled()||m(this.enabled())&&!this.enabled())&&this.Ah.Bd()&&(this.D()||this.D(a.Bd()),this.D().parent()||this.D().parent(a.D())),this.D()&&this.Aa.parent(this.D())),this.w(2));T(this,8)&&(this.D()&&this.D().zIndex(a.zIndex()),
this.Aa.zIndex(this.zIndex()),this.w(8));T(this,1024)&&(HA(a,this.U()),this.w(1024));if(QA(this,20)){this.g=null;b=KA(this);var c=this.Ld(),d=LA(a,b.format,c,this.U());this.Aa.Eb(1,0,0,1,0,0);var e,f=b.background;if(f instanceof iw){if(f.enabled()||this.v&&this.v.enabled())e=f.u()}else e=f;!z(e)||!e||"enabled"in e||(e.enabled=!1);(c=A(e)||ja(e)||e&&e.enabled)||this.v?(this.v||(this.v=new iw,this.v.zIndex(0),this.v.D(this.Aa)),this.J&&this.v.C(this.J instanceof iw?this.J.u():this.J),this.v.C(e),this.v.I()):
f&&(this.J=f);this.dn();var h,k;this.G=RA(this,function(a,b){if(b instanceof lA){var c=b.W();if(c)return c}});this.G||(a.D()?this.G=a.D().Oa():this.G=qq(0,0,0,0));this.G&&(h=this.G.width,k=this.G.height);e=this.g.useHtml;this.h.width(null);this.h.height(null);e?this.h.htmlText(m(d)?String(d):""):this.h.text(m(d)?String(d):"");this.Hc(this.h,!0,b);e=null!==b.width;var d=null!==b.height,f=new I(0,0,0,0),l;if(b.padding instanceof yw)l=b.padding;else if(z(b.padding)||C(b.padding)||A(b.padding))l=new yw,
l.C(b.padding);var n,p,r;e?(n=Math.ceil(O(b.width,h)),l?(r=l.Xd(n),this.m=O(l.B("left"),n)):(this.m=0,r=n),f.width=n,n=!1):(p=this.h.Oa(),n=p.width,l?(f.width=l.hf(n),this.m=O(l.B("left"),f.width)):(this.m=0,f.width=n),n=!0);m(r)&&this.h.width(r);var t;d?(p=Math.ceil(O(b.height,k)),l?(t=l.Wd(p),this.s=O(l.B("top"),p)):(this.s=0,t=p),f.height=p,p=!1):(p=this.h.Oa(),p=p.height,l?(f.height=l.gf(p),this.s=O(l.B("top"),f.height)):(this.s=0,f.height=p),p=!0);m(t)&&this.h.height(t);if(!n&&b.adjustByHeight||
!p&&b.adjustByHeight){var u;"different"==yA(a)?u=YA(this,r,t,b.minFontSize,b.maxFontSize,b.adjustByWidth,b.adjustByHeight):u=RA(this,function(a,b){if(b instanceof lA&&m(b.c.fontSize))return b.c.fontSize});U(this);this.h.fontSize(u);e?(n=Math.ceil(O(b.width,h)),f.width=n):(p=this.h.Oa(),n=p.width,l?f.width=l.hf(n):f.width=n);d?(p=Math.ceil(O(b.height,k)),f.height=p):(p=this.h.Oa(),p=p.height,l?f.height=l.gf(p):f.height=p);this.S(!1)}this.wc=f;this.i(2048);this.w(20)}QA(this,2048)&&(this.lF(this.wc,
this.G),c&&(this.v.W(this.wc),this.v.I()),a=tr(this.wc,this.g.anchor),this.Aa.Jn(this.g.rotation,a.x,a.y),this.i(512),this.w(2048));T(this,512)&&($A(this),this.w(512));QA(this,256)&&(this.Aa&&this.Aa.clip(this.g.clip),this.w(256));return this};g.dn=function(){this.h||(this.h=Oh(),this.h.Ob("aria-hidden","true"),this.h.zIndex(1),this.Aa||(this.Aa=Mh()),this.h.parent(this.Aa),this.h.Hb(!0));return this.h};
g.u=function(){var a=IA.o.u.call(this),b;m(this.rc("background"))&&(b=this.wz().u(),Zb(b)||(a.background=b));m(this.rc("padding"))&&(b=this.ru().u(),Zb(b)||(a.padding=b));Mv(this,this.vz,a,"Labels factory label text");Mv(this,this.No,a,"Labels factory label props");(b=a.adjustFontSize)&&(m(b.width)||m(b.height))||delete a.adjustFontSize;this.rc("enabled")||delete a.enabled;return a};
g.H=function(a,b){var c=this.B("enabled");Lv(this,this.vz,a);Lv(this,this.No,a);IA.o.H.call(this,a,b);m(a.enabled)||delete this.b.enabled;this.Tb("enabled","enabled"in a?a.enabled:c);"background"in a&&this.wz(a.background);"padding"in a&&this.ru(a.padding)};g.M=function(){Kb(this.b.background,this.b.padding,this.v,this.h,this.Aa);this.h=this.v=null;this.b.background=null;this.b.padding=null;IA.o.M.call(this)};var aB=lA.prototype;aB.background=aB.su;aB.padding=aB.Dm;aB.enabled=aB.enabled;
aB.getLabel=aB.vd;aB.getLabelsCount=aB.RT;aB=IA.prototype;aB.getIndex=aB.U;aB.padding=aB.ru;aB.background=aB.wz;aB.clear=aB.clear;aB.draw=aB.I;function bB(){ld.call(this);this.R=0;this.da=!1;this.ua=1;this.aa=0;this.ea="none"}G(bB,Xu);g=bB.prototype;g.ia=6;g.zk=function(){return!1};g.Ta=ea;g.Yz=function(a){return a};function cB(a,b,c){if(a.ua!=b||a.aa!=c)a.ua=b,a.aa=c,a.X(2)}function dB(a,b){var c=(b-a.aa)*a.ua;return a.da?1-c:c}function eB(a,b){a.da&&(b=1-b);return b/a.ua+a.aa}g.wf=function(a){return qr(a)};g.zc=function(a){return m(a)?(a=!!a,this.da!=a&&(this.da=a,this.X(2)),this):this.da};g.Le=function(){this.R||this.Di();this.R++;return this};
g.Qe=function(a){return(this.R=Math.max(this.R-1,0))?!0:this.cv(!!a)};g.Nm=function(){return!1};g.Uv=function(){return 0};g.fA=!1;g.Rp=function(a){return m(a)?(a=this.fA?Kn(a):"none",this.ea!=a&&(this.ea=a,this.X(6)),this):this.fA?this.ea:"none"};g.u=function(){var a=bB.o.u.call(this);a.type=this.Ca();a.inverted=this.zc();return a};g.H=function(a,b){bB.o.H.call(this,a,b);this.zc(a.inverted)};
function fB(a,b){a=(a+"").toLowerCase();switch(a){case "log":case "logarithmic":return gB();case "lin":case "linear":return hB();case "date":case "datetime":case "dt":return iB();case "ordinal":case "ord":case "discrete":return jB();case "color":case "ordinalcolor":case "discretecolor":return kB();case "linearcolor":return lB();default:return null===b?null:b?jB():hB()}}var mB=bB.prototype;mB.inverted=mB.zc;mB.startAutoCalc=mB.Le;mB.finishAutoCalc=mB.Qe;function nB(a){ld.call(this);this.scale=a;this.f=oB;this.c=pB;this.b=qB}G(nB,Xu);g=nB.prototype;g.ia=2;g.Zg=null;g.Wf=4;g.Gf=null;g.Yj=null;
g.xR=function(a,b,c,d,e,f){if(m(a)){var h;if(null===a)h=null;else if(A(a)&&1==arguments.length)h=Cq(a);else{if(A(a))switch(a=Un(a),b=P(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 vq(a,b,c,d,e,f)}var k;if(k=h&&this.Zg)k=this.Zg,
k=h.j==k.j&&h.h==k.h&&h.b==k.b&&h.f==k.f&&h.g==k.g&&h.c==k.c;k||!h&&!this.Zg||(h?(this.Wf=NaN,this.Zg=h):(this.Wf=4,this.Zg=null),this.Yj=this.Gf=null,this.X(2));return this}return Dq(this.Zg,!1)};g.count=function(a){return m(a)?(this.Wf!=a&&(this.Zg=null,this.Wf=isNaN(a)||2>a?4:Math.ceil(+a),this.Yj=this.Gf=null,this.X(2)),this):this.Wf};
g.set=function(a){if(this.Gf!=a){this.Wf=NaN;this.Zg=null;this.Gf=bb(a,function(a){return Dy(a)});zb(this.Gf);for(var b=this.Gf[0],c=1,d=1;da||1this.g&&(this.g=c,this.c=!1)}return this};
g.cv=function(a){var b=this.pa!=this.f||this.oa!=this.g;b&&(this.c=!1,a||this.X(2));return b};g.Pd=function(){return this.s||this.m};g.transform=function(a){this.Hf();a=P(a);return dB(this,(a-this.min)/this.ce)};g.Hf=function(){this.c||(this.c=!0,this.kH())};
g.kH=function(){isFinite(this.g)?isFinite(this.f)?1E-10>Math.abs(this.f-this.g)&&(this.f-=.5,this.g+=.5):this.f=this.g-1:isFinite(this.f)?this.g=this.f+1:(this.f=0,this.g=1);var a=(this.m?isNaN(this.v)?this.g:Math.max(this.g,this.v):this.max)-(this.s?isNaN(this.A)?this.f:Math.min(this.f,this.A):this.min);1E-4>Math.abs(a)&&!this.s&&!this.m&&(this.max+=1E-4);var b,c="percent"!=this.Rp();this.s&&(b=c?this.N:0,this.min=this.f-a*b,isNaN(this.A)||(this.min=0this.min&&0<=this.f&&this.min!=this.A&&(this.min=0));this.m&&(b=c?this.F:0,this.max=this.g+a*b,isNaN(this.v)||(this.max=0this.max&&0<=this.g&&this.max!=this.v&&(this.max=0))};g.Rc=function(a){this.Hf();a=eB(this,a);return a*this.ce+this.min};
g.u=function(){var a=tB.o.u.call(this);a.maximum=this.m?null:this.max;a.minimum=this.s?null:this.min;a.minimumGap=this.xr();a.maximumGap=this.wr();a.softMinimum=isNaN(this.A)?null:this.A;a.softMaximum=isNaN(this.v)?null:this.v;a.maxTicksCount=this.T;return a};g.H=function(a,b){tB.o.H.call(this,a,b);this.xr(a.minimumGap);this.wr(a.maximumGap);this.Wz(a.softMinimum);this.Vz(a.softMaximum);this.kg(a.minimum);this.jg(a.maximum);this.tn(a.maxTicksCount)};var uB=tB.prototype;uB.maxTicksCount=uB.tn;
uB.minimum=uB.kg;uB.maximum=uB.jg;uB.extendDataRange=uB.Yb;function vB(){tB.call(this);this.h=this.j=null;tB.call(this)}G(vB,tB);g=vB.prototype;g.wf=function(a){return!Dy(a)};g.Ca=function(){return"dateTime"};g.Ta=function(a){this.j||(this.j=new nB(this),H(this,this.j),Q(this.j,this.$F,this));return m(a)?(this.j.C(a),this):this.j};g.Pa=function(a){this.h||(this.h=new nB(this),H(this,this.h),Q(this.h,this.$F,this));return m(a)?(this.h.C(a),this):this.h};g.Yb=function(a){for(var b=0;ba.scale.tn()&&(K(20,null,[c-b,hs(k)]),k=null,a.Wf=4);k||(k=rB(a,b,c,!1));d&&(f[0]=b=Gr(b,k));b=new Kq(new Date(b));c=new Kq(new Date(c));for(d=0;0>=b.getTime()-c.getTime()&&150>d;b.add(k),d++)h.push(b.getTime());e&&0a.scale.tn()&&(K(20,null,[l-d,hs(h)]),h=null,a.Wf=4);h||(h=rB(a,c,b,!0));c=new Kq(new Date(d));l=new Kq(new Date(l));for(b=0;0>=c.getTime()-l.getTime()&&150>b;c.add(h),b++)e.push(c.getTime());a.Yj=e;a.Wf=k}this.s&&(this.min=f[0]);this.m&&(this.max=f[1]);this.ce=this.max-this.min}};g.$F=function(a){V(a,2)&&(this.c=!1,this.X(2))};g.u=function(){var a=vB.o.u.call(this);a.ticks=this.Ta().u();a.minorTicks=this.Pa().u();return a};
g.H=function(a,b){vB.o.H.call(this,a,b);this.Ta(a.ticks);this.Pa(a.minorTicks)};function iB(){var a=new vB;a.H(ip("defaultScaleSettings.dateTime"));return a}var wB=vB.prototype;F("anychart.scales.dateTime",iB);wB.getType=wB.Ca;wB.ticks=wB.Ta;wB.minorTicks=wB.Pa;wB.transform=wB.transform;wB.inverseTransform=wB.Rc;wB.extendDataRange=wB.Yb;wB.softMinimum=wB.Wz;wB.softMaximum=wB.Vz;wB.minimumGap=wB.xr;wB.maximumGap=wB.wr;function xB(a){ld.call(this);this.Y=a}G(xB,Xu);g=xB.prototype;g.ia=2;g.re=NaN;g.Vc=4;g.Ze=6;g.$d=null;g.Ne=null;g.zg=0;g.Xo="linear";g.FR=function(a){return m(a)?(this.re!=a&&(a=P(a),0>=a?(this.Vc=4,this.Ze=6,this.re=NaN):(this.Ze=this.Vc=NaN,this.re=+a),this.Ne=this.$d=null,this.X(2)),this):this.re};
g.count=function(a,b){return m(a)?(this.Vc!=a&&(this.re=NaN,this.Vc=Math.ceil(P(a)),this.Ze=Math.ceil(P(b)),2<=this.Vc||(this.Vc=4),this.Ze>=this.Vc||(this.Ze=this.Vc),this.Ne=this.$d=null,this.X(2)),this):[this.Vc,this.Ze]};g.Vu=function(a){return m(a)?(a=+a||0,this.zg!=a&&(this.zg=a,this.Ne=null,this.$d||this.X(2)),this):this.zg};g.set=function(a){Db(this.$d,a)||(this.re=this.Ze=this.Vc=NaN,this.$d=sb(a,0),tb(this.$d),zb(this.$d,gr),this.Ne=null,this.X(2));return this};
g.get=function(){var a=yB(this);return ab(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.Y)};function yB(a){a.$d?a=a.$d:(a.Y.Hf(),a=a.Ne);return a||[]}g.mode=function(a){return m(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.Xo!=a&&(this.Ne=null,this.Xo=a,this.$d||this.X(2)),this):this.Xo};
function zB(a,b,c,d,e,f){if("logarithmic"==a.Xo){f=f||10;a.Ne=null;var h=[b,c];if(a.$d)d&&(h[0]=Math.min(b,a.$d[0]||0)),e&&(h[1]=Math.max(c,a.$d[a.$d.length-1]||0));else{b=Vp(b,f);c=Vp(c,f);var k=[],l=a.re,n=a.Vc,p=a.Ze;!isNaN(l)&&(c-b)/l>a.Y.tn()&&(K(20,null,[c-b,l]),l=NaN,n=4,p=6);if(isNaN(l))for(var r=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(Fr(n,v),Fr(n,Math.ceil(Math.pow(10,Math.ceil(u*Math.LOG10E)))),Fr(n,Math.ceil(Math.pow(2,
Math.floor(u*Math.LOG2E)))),Fr(n,Math.ceil(Math.pow(2,Math.ceil(u*Math.LOG2E)))),Fr(n,Math.ceil(v/2)),Fr(n,Math.ceil(v/4)),Fr(n,Math.ceil(v/8))),n=Math.max(n,1E-7),u=Up(Er(b,n,a.zg))-b,u=u*u,v=Up(Fr(c,n,a.zg))-c,v=v*v,u=u+v;if(isNaN(r)||ua.Y.tn()&&(K(20,null,[c-b,k]),k=NaN,r=4,l=6);if(isNaN(k))for(p=NaN,n=r;n<=l;n++){var r=(c-b)/(n-1),t=Math.log(r),u=Math.pow(10,Math.floor(t*Math.LOG10E)),v=Math.pow(10,Math.ceil(t*Math.LOG10E)),w=rb.length)){c=c||10;var f="logarithmic"==a.Xo,h=f?a.pN:a.oN,k,l,n=b.length-1,p=a.re,r=a.Vc;isNaN(a.re)||(l=b[n],k=b[0],f&&(k=Vp(k,c),l=Vp(l,c)),(l-k)/a.re>a.Y.tn()&&(K(20,null,[l-k,a.re]),a.re=NaN,a.Vc=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.re=p;a.Vc=r}}
g.oN=function(a,b,c,d){var e=this.re;isNaN(e)&&(e=(d-c)/(this.Vc-1));e=Math.max(e,1E-7);c=this.Ne[this.Ne.length-1];b=Tp(b,7);for(a=Tp(a,7);a<=b;a=Tp(a+e,7))c!=a&&this.Ne.push(a),c=a};g.pN=function(a,b,c,d,e){var f=this.re;a=Vp(a,e);b=Vp(b,e);c=Vp(c,e);d=Vp(d,e);isNaN(f)&&(f=(d-c)/(this.Vc-1));f=Math.max(f,1E-7);c=this.Ne[this.Ne.length-1];b=Tp(b,7);for(a=Tp(a,7);a<=b;a=Tp(a+f,7))c!=a&&this.Ne.push(Wp(e,a)),c=a};
g.u=function(){var a=xB.o.u.call(this);a.mode=this.Xo;a.base=this.zg;this.$d?a.explicit=this.$d:(this.Vc==this.Ze?isNaN(this.Vc)||(a.count=this.Vc):(isNaN(this.Vc)||(a.minCount=this.Vc),isNaN(this.Ze)||(a.maxCount=this.Ze)),isNaN(this.re)||(a.interval=this.re));return a};g.vc=function(a,b){var c=arguments[1];return q(c)?(this.set(c),!0):Xu.prototype.vc.apply(this,arguments)};
g.H=function(a,b){xB.o.H.call(this,a,b);this.mode(a.mode);this.Vu(a.base);this.$d=a.explicit||null;this.Vc=a.count||a.minCount||NaN;this.Ze=a.count||a.maxCount||NaN;this.re=a.interval||NaN;this.$d?this.Vc=this.Ze=this.re=NaN:this.re?this.Vc=this.Ze=NaN:(this.Vc=Math.ceil(P(this.Vc)),this.Ze=Math.ceil(P(this.Ze)),2<=this.Vc||(this.Vc=4),this.Ze>=this.Vc||(this.Ze=this.Vc))};var BB=xB.prototype;BB.interval=BB.FR;BB.count=BB.count;BB.base=BB.Vu;BB.set=BB.set;BB.get=BB.get;BB.mode=BB.mode;function CB(){tB.call(this);this.h=this.j=null;this.fA=!0;this.b=10;this.J=!0;this.V=this.$I}G(CB,tB);g=CB.prototype;g.hv="none";g.nA="firstVisible";g.Ca=function(){return"linear"};g.Ta=function(a){this.j||(this.j=DB(this));return m(a)?(this.j.C(a),this):this.j};g.Pa=function(a){this.h||(this.h=DB(this),U(this.h),this.h.count(5),this.h.S(!1));return m(a)?(this.h.C(a),this):this.h};g.KC=function(a){return m(a)?(a=!!a,a!=this.J&&(this.J=a,this.s||this.m)&&(this.c=!1,this.X(4)),this):this.J};
g.Hf=function(){if(!this.c){CB.o.Hf.call(this);var a=zB(this.Ta(),this.min,this.max,this.s&&this.min!=this.A,this.m&&this.max!=this.v,this.b);this.s&&(this.min=a[0]);this.m&&(this.max=a[1]);AB(this.Pa(),yB(this.Ta()),this.b,a[2],a[3]);this.ce=this.max-this.min}};g.AR=function(a){V(a,2)&&(this.c=!1,this.X(2))};function DB(a){var b=new xB(a);H(a,b);Q(b,a.AR,a);return b}
g.bS=function(a){if(m(a)){a=Kn(a);if(this.hv!=a){this.hv=a;switch(this.hv){case "none":this.V=this.$I;break;case "value":this.V=this.$T;break;case "percent":this.V=this.WT}this.X(6)}return this}return this.hv};g.aS=function(a){return m(a)?(a=Ln(a)||sr(a),this.nA!=a&&(this.nA=a,this.X(6)),this):this.nA};g.Yz=function(a,b){return this.V(a,b)};g.$I=function(a){return a};g.$T=function(a,b){return P(a)-b};g.WT=function(a,b){return(P(a)-b)/(b||1)*100};
g.u=function(){var a=CB.o.u.call(this);a.ticks=this.Ta().u();a.minorTicks=this.Pa().u();a.stackMode=this.Rp();a.stickToZero=this.KC();return a};g.H=function(a,b){CB.o.H.call(this,a,b);this.Ta(a.ticks);this.Pa(a.minorTicks);this.Rp(a.stackMode);this.KC(a.stickToZero)};function hB(){var a=new CB;a.H(ip("defaultScaleSettings.linear"));return a}var EB=CB.prototype;F("anychart.scales.linear",hB);EB.transform=EB.transform;EB.inverseTransform=EB.Rc;EB.getType=EB.Ca;EB.ticks=EB.Ta;EB.minorTicks=EB.Pa;
EB.stackMode=EB.Rp;EB.stickToZero=EB.KC;EB.softMinimum=EB.Wz;EB.softMaximum=EB.Vz;EB.minimumGap=EB.xr;EB.maximumGap=EB.wr;EB.comparisonMode=EB.bS;EB.compareWith=EB.aS;function FB(a){ld.call(this);this.scale=a}G(FB,Xu);g=FB.prototype;g.ia=2;g.ml=NaN;g.wh=null;g.Lm=null;g.eh=null;g.ll=null;g.se=null;g.Mm=100;g.Qu=function(a){return m(a)?(a=rr(a,NaN),isNaN(a)||this.ml==a||(this.ml=a,this.Mm=NaN,this.se=this.ll=this.eh=this.Lm=null,this.X(2)),this):this.ml};g.EB=function(a){return m(a)?(a=rr(a,NaN),isNaN(a)||this.Mm==a||(this.Mm=a,this.ml=NaN,this.se=this.ll=this.eh=this.Lm=null,this.X(2)),this):this.Mm};
g.set=function(a){Db(this.eh,a)||(this.eh=qb(a),this.eh=bb(this.eh,function(a){return P(a)}),zb(this.eh),tb(this.eh),this.eh[0]=0,this.se=this.ll=this.Lm=null,this.X(2));return this};
g.names=function(a){if(m(a))return this.wh!=a&&(this.wh=a,this.X(2)),this;a=GB(this);var b,c;if(this.wh&&this.wh.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 HB(a){a.Lm=null;a.ll=null;a.se=null}g.u=function(){var a=FB.o.u.call(this);this.eh?a.explicit=this.eh:isNaN(this.Mm)?isNaN(this.ml)||(a.interval=this.ml):a.maxCount=this.Mm;this.wh&&(a.names=this.wh);return a};
g.vc=function(a,b){var c=arguments[1];return q(c)?(this.set(c),!0):Xu.prototype.vc.apply(this,arguments)};g.H=function(a,b){FB.o.H.call(this,a,b);"explicit"in a?this.set(a.explicit):"interval"in a?this.Qu(a.interval):"maxCount"in a&&this.EB(a.maxCount);this.wh=a.names||null;this.se=this.ll=null};var IB=FB.prototype;IB.interval=IB.Qu;IB.maxCount=IB.EB;IB.set=IB.set;IB.get=IB.get;IB.names=IB.names;function JB(){this.b=[];this.f=[];this.c=[];this.h=[];this.m=[];this.G=!0;this.s={};this.F=null;this.v=!0;this.j=null;bB.call(this)}G(JB,bB);g=JB.prototype;g.Ca=function(){return"ordinal"};g.wf=function(a){return!m(a)};g.Ta=function(a){this.j||(this.j=new FB(this),H(this,this.j),Q(this.j,this.ER,this));return m(a)?(this.j.C(a),this):this.j};
g.values=function(a,b){if(!m(a))return this.b;if(null===a)this.v||(this.v=!0,this.X(4));else{this.v=!1;var c=q(a);this.Di();c&&a.length?this.Yb.apply(this,a):this.Yb.apply(this,arguments);this.cv(!1)}return this};
g.names=function(a){if(m(a)){if(null===a)this.f=[];else if(q(a))this.f=qb(a);else{if(!A(a)||this.f==a)return this;this.f=a}this.g=null;HB(this.Ta());this.X(2);return this}if(q(this.f)){this.g||(this.g=qb(this.f));if(this.g.lengtha.Ul?a.Ul:a.bt}else a.J=a.Sp;if((null!==a.Sp||null!==a.Ul&&a.bt>a.Ul)&&"noOverlap"==a.Xt()){p=[];for(h=0;h=B&&a.rh()||1<=B&&a.hg()?t=E:0B&&(t=E)),E++;x<=Y&&h=B&&a.rh()||1<=B&&a.hg()?(u=l,n.push(!0)):0B?(u=l,n.push(!0)):n.push(!1))):n.push(!1),l++)}pa||(n=!1)}else if(p instanceof bB)for(h=0;h
h&&(h=d)}if(n&&!a.Ln())for(n=z(p)?p.Va:!p,r=b.Pa().get(),e=0,f=n.length;ek&&(k=d);return a.wG(h,k)+l}g.YA=function(a){return this.fb()?this.jd().Xd(a):this.jd().Wd(a)};
g.lc=function(){var a=this.W();if(a){var b=a.clone();if(this.scale()&&this.enabled()){var c=this.Ma(),d=this.jd(),e=a.height-d.Wd(a.height)+c.height,a=a.width-d.Xd(a.width)+c.width;switch(this.fd()){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 I(0,0,0,0)};g.JE=function(a,b,c){return this.va?O(this.va,a):VB(this,c,b)};
g.Ma=function(){if(!this.Gk||T(this,4)){var a=this.W();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.fb()?(b=a.width,c=a.height):(b=a.height,c=a.width);b=this.YA(b);c=this.JE(c,b,a);var d,e,f=this.jd(),h=O(f.B("top"),a.height),k=O(f.B("right"),a.width),l=O(f.B("bottom"),a.height),f=O(f.B("left"),a.width),n,p;switch(this.fd()){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.Gk=new I(Math.round(d),Math.round(e),Math.round(n),Math.round(p))}else this.Gk=new I(0,0,0,0);this.w(4)}return this.Gk};
function UB(a,b,c,d,e){if(!c&&a.scale()&&!(a.scale()instanceof tB))return null;var f=c?a.Vt:a.Wt;if(m(f[b]))return f[b];var h=m(e)?e:a.Ma();e=m(e)?e:a.Zb.Oa();var k=c?a.lf():a.Pa(),l=k.length(),n=a.stroke(),n=!n||Nr(n)?0:n.thickness?parseFloat(a.stroke().thickness):1;c=c?a.labels():a.Va();var p,r,t=a.scale();d=d[b];q(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,B,f,c),l==k-1&&(v=a.transform(ca,1),0<=v&&1>=v&&b.call(e,v,y,B,f,c))),w=q(p)?p[l]:p,WB(this,d,t,l,c,!0,h,w&&0<=t&&1>=t);this.labels().I()}this.title().S(!1);this.labels().S(!1);this.Va().S(!1);
this.lf().S(!1);this.Pa().S(!1);return this};g.remove=function(){this.ab&&this.ab.remove();this.Zb&&this.Zb.parent(null);this.lf().remove();this.Pa().remove();this.fa&&this.fa.remove();this.Tg&&this.Tg.remove()};
g.u=function(){var a=QB.o.u.call(this);a.title=this.title().u();a.labels=this.labels().u();a.minorLabels=this.Va().u();a.ticks=this.lf().u();a.minorTicks=this.Pa().u();a.stroke=L(this.stroke());a.staggerMode=this.Ln();a.staggerLines=this.IC();a.staggerMaxLines=this.JC();a.width=this.width();this.A&&(a.orientation=this.A);a.drawFirstLabel=this.rh();a.drawLastLabel=this.hg();a.overlapMode=this.Xt();return a};
g.H=function(a,b){QB.o.H.call(this,a,b);"title"in a&&this.title(a.title);this.labels().na(!!b,a.labels);this.Va().na(!!b,a.minorLabels);this.lf(a.ticks);this.Pa(a.minorTicks);this.Ln(a.staggerMode);this.IC(a.staggerLines);this.JC(a.staggerMaxLines);this.stroke(a.stroke);this.width(a.width);this.fd(a.orientation);this.rh(a.drawFirstLabel);this.hg(a.drawLastLabel);this.Xt(a.overlapMode)};
g.M=function(){QB.o.M.call(this);this.wi&&Yu(this.wi,this.Hy,this);delete this.wi;this.ab=this.Wt=this.Vt=null;Kb(this.Ha,this.Zb,this.fa,this.Tg);this.Tg=this.fa=this.Gk=this.ci=this.Mj=this.Zb=this.Ha=null};var XB=QB.prototype;XB.staggerMode=XB.Ln;XB.staggerLines=XB.IC;XB.staggerMaxLines=XB.JC;XB.title=XB.title;XB.labels=XB.labels;XB.minorLabels=XB.Va;XB.ticks=XB.lf;XB.minorTicks=XB.Pa;XB.stroke=XB.stroke;XB.orientation=XB.fd;XB.scale=XB.scale;XB.width=XB.width;XB.getRemainingBounds=XB.lc;
XB.drawFirstLabel=XB.rh;XB.drawLastLabel=XB.hg;XB.overlapMode=XB.Xt;XB.isHorizontal=XB.fb;XB.padding=XB.jd;XB.getPixelBounds=XB.Ma;function YB(){W.call(this);this.h=this.c=null}G(YB,W);g=YB.prototype;g.ia=W.prototype.ia|8;g.Z=W.prototype.Z|20;g.kb=function(){return this.h};g.Hi=function(a){return m(a)?(this.Y!=a&&(this.Y&&Yu(this.Y,this.Ky,this),(this.Y=a)&&Q(this.Y,this.Ky,this),this.i(4,9)),this):this.Y?this.Y:this.c?this.c.scale():null};g.Ky=function(a){var b=0;V(a,4)&&(b|=4);V(a,2)&&(b|=1);this.i(4,b|8)};function ZB(a,b){return m(b)?(a.f!==b&&(a.f=b,a.i(4,9)),a):a.f}g.PE=function(){this.i(4,9)};
g.mf=function(a){return m(a)?(this.c!=a&&(this.c&&Yu(this.c,this.PE,this),this.c=a,Q(this.c,this.PE,this),this.Y&&Yu(this.Y,this.Ky,this),this.Y=null,this.i(4,9)),this):this.c};g.Ag=function(a,b,c,d){this.v||(this.v=new yw,H(this,this.v));return m(a)?(this.v.C.apply(this.v,arguments),this):this.v};g.fb=function(){return"horizontal"==this.vh()};g.wm=void 0;g.Xq=void 0;
g.I=function(){if(!this.scale())return oo(2),this;if(!this.ub())return this;if(T(this,8)){var a=this.zIndex();$B(this).zIndex(a);this.w(8)}T(this,2)&&(a=this.D(),$B(this).parent(a),this.w(2));T(this,16)&&(this.Xq(),this.w(16));T(this,4)&&(this.wm(),this.w(4));return this};
function aC(a){var b=a.scale();if(b){var c=$B(a),b=b.transform(a.f,.5);if(!isNaN(b)&&(c.clear(),0<=b&&1>=b)){var d=c.Vl()%2?-.5:0,e=a.W(),f=a.Ag();a.fb()?(a=Math.round(e.$a()+e.height-b*e.height),1==b?a-=d:a+=d,c.moveTo(e.Ra(),a),c.lineTo(e.ra(),a)):(a=Math.round(e.Ra()+b*e.width),1==b?a+=d:a-=d,c.moveTo(a,e.$a()),c.lineTo(a,e.ka()));c.clip(f.ff(e))}}else oo(2)}
function bC(a){var b=a.f,c=a.scale();if(c){var d=$B(a);d.clear();var e=b.Yc,f=b.from,h=c.transform(f),k=c.transform(e);h>k&&(e=b.from,f=b.Yc);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=ee(b,0,1),f=ee(f,0,1),c=a.W(),e=a.Ag(),a.fb()?(a=Math.floor(c.ka()-c.height*f),b=Math.ceil(c.ka()-c.height*b),f=c.Ra(),h=c.ra(),d.moveTo(f,a).lineTo(h,a).lineTo(h,b).lineTo(f,b).close()):(a=c.ka(),h=c.$a(),b=Math.floor(c.Ra()+c.width*b),f=Math.ceil(c.Ra()+
c.width*f),d.moveTo(b,a).lineTo(b,h).lineTo(f,h).lineTo(f,a).close()),d.clip(e.ff(c)))}else oo(2)}g.remove=function(){$B(this).parent(null)};function $B(a){a.j||(a.j=uh(),H(a,a.j));return a.j}g.H=function(a,b){YB.o.H.call(this,a,b);"layout"in a&&a.layout&&this.vh(a.layout);if("axis"in a){var c=a.axis;C(c)?this.h&&this.mf(this.h.lp(c)):c instanceof QB&&this.mf(c)}};g.M=function(){this.h=this.c=null;YB.o.M.call(this)};function cC(){YB.call(this);this.f={from:0,Yc:0};this.b="black";this.m="horizontal";dC(this,"#c1c1c1 0.4")}G(cC,YB);g=cC.prototype;g.ia=YB.prototype.ia;g.Z=YB.prototype.Z;g.vh=function(a){return m(a)?(a=sn(a),this.s!=a&&(this.s=a,this.i(4,9)),this):this.s?this.s:this.mf()?(a=this.mf().fd(),"left"==a||"right"==a?"horizontal":"vertical"):this.m};function eC(a,b){var c=!a.s&&a.m!=b;a.m=b;c&&a.i(4)}g.scale=function(a){return this.Hi(a)};
g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Ke.apply(null,arguments);k!=this.g&&(this.g=k,this.i(16,1));return this}return this.g||this.b};function dC(a,b){var c=!a.g&&a.b!=b;a.b=b;c&&a.i(16)}g.from=function(a){return m(a)?(this.f.from!=a&&(this.f.from=a,this.i(4,9)),this):this.f.from};g.Yc=function(a){return m(a)?(this.f.Yc!=a&&(this.f.Yc=a,this.i(4,9)),this):this.f.Yc};g.wm=function(){bC(this)};g.Xq=function(){$B(this).stroke(null).fill(this.fill())};g.M=function(){delete this.g;cC.o.M.call(this)};
g.u=function(){var a=cC.o.u.call(this);a.from=this.from();a.to=this.Yc();this.g&&(a.fill=L(this.g));this.s&&(a.layout=this.s);return a};g.H=function(a,b){cC.o.H.call(this,a,b);this.from(a.from);this.Yc(a.to);this.fill(a.fill)};var fC=cC.prototype;fC.from=fC.from;fC.to=fC.Yc;fC.scale=fC.scale;fC.axis=fC.mf;fC.layout=fC.vh;fC.fill=fC.fill;fC.isHorizontal=fC.fb;function gC(){W.call(this);this.f=null;this.m=NaN;this.j=this.h="black"}G(gC,W);var hC={x:"30%",line:"30%",ellipse:"30%",bar:"50%"};g=gC.prototype;g.ia=W.prototype.ia;g.Z=W.prototype.Z|20;g.type=function(a){return m(a)?(a=Gn(a),this.A!=a&&(this.A=a,this.i(4,9)),this):this.A||this.G};function iC(a,b){var c=!a.A&&a.G!=b;a.G=b;c&&a.i(4)}g.fh=function(a){return m(a)?(this.f!=a&&(this.f=a,this.i(4,9)),this):null===this.f?hC[this.type()]:this.f};
g.value=function(a){return m(a)?(a=P(a),this.m!=a&&(this.m=a,this.i(4,9)),this):this.m};function jC(a){if(m(void 0)){var b=sn(void 0);a.s!=b&&(a.s=b,a.i(4,9));return a}return a.s||a.v}g.fb=function(){return"horizontal"==jC(this)};g.scale=function(a){return m(a)?(this.Y!=a&&(this.Y=a,Q(this.Y,this.RU,this),this.i(4,9)),this):this.Y};g.RU=function(a){var b=0;V(a,4)&&(b|=4);V(a,2)&&(b|=1);this.i(4,b|8)};
g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Ke.apply(null,arguments);k!=this.g&&(this.g=k,this.i(16,1));return this}return this.g||this.h};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Re.apply(null,arguments);this.b!=f&&(this.b=f,this.i(16,1));return this}return this.b||this.j};
function kC(a,b){if("horizontal"==a)switch(b){default:case Dn:return function(a,b){var c=this.scale().transform(0),c=isNaN(c)?0:ee(c,0,1),d=this.W(),h=this.fh(),k=lr(h)?O(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 Bn:return function(a,b){var c=this.W(),d=this.fh(),h=Math.round(c.left+c.width*b),k=Math.round(c.top+c.height/2),c=c.height-(lr(d)?O(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 Cn:return function(a,b){var c=this.W(),d=this.fh(),h=c.left+c.width*b,k=c.top+c.height/2,c=(c.height-(lr(d)?O(d,c.height):c.height*d))/2,d=c/4;a.clear();a.Gb(h,k,d,c,0,360).close()};case An:return function(a,b){var c=this.W(),d=this.fh(),h=Math.round(c.left+c.width*b),k=Math.round(c.top+c.height/2),c=(c.height-(lr(d)?O(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 Dn:return function(a,b){var c=this.scale().transform(0),c=isNaN(c)?0:ee(c,0,1),d=this.W(),h=this.fh(),k=lr(h)?O(h,d.width):d.width*h,h=d.left+k/2,l=d.ka()-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 Bn:return function(a,b){var c=this.W(),d=this.fh(),h=Math.round(c.left+c.width/2),
k=Math.round(c.ka()-c.height*b),c=c.width-(lr(d)?O(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 Cn:return function(a,b){var c=this.W(),d=this.fh(),h=Math.round(c.left+c.width/2),k=Math.round(c.ka()-c.height*b),c=(c.width-(lr(d)?O(d,c.width):c.width*d))/2,d=c/4;a.clear();a.Gb(h,k,c,d,0,360).close()};case An:return function(a,b){var c=this.W(),d=this.fh(),h=Math.round(c.left+c.width/2),k=Math.round(c.ka()-c.height*b),c=(c.width-
(lr(d)?O(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.I=function(){if(!this.scale())return oo(2),this;if(!this.ub())return this;var a=this.D()?this.D().ha():null,b=a&&!a.bc();b&&a.Cc();this.c||(this.c=uh(),H(this,this.c));if(T(this,8)){var c=this.zIndex();this.c.zIndex(c);this.w(8)}T(this,2)&&(c=this.D(),this.c.parent(c),this.w(2));T(this,16)&&(this.c.stroke(this.stroke()),this.c.fill(this.fill()),this.w(16));T(this,4)&&(c=this.value(),c=this.scale().transform(c,0),this.c.clear(),isNaN(c)||(c=ee(c,0,1),kC(jC(this),this.type()).call(this,this.c,c)),
this.w(4));b&&a.uc();return this};g.remove=function(){this.c&&this.c.parent(null)};function lC(a){this.g=a;this.reset()}g=lC.prototype;g.select=function(a){this.f=a-1;return this.advance()};g.reset=function(){this.f=-1;this.b=void 0;return this};g.advance=function(){this.b=this.g.Gc(++this.f);var a=this.Ya();return!!a&&this.f=this.Ya()))return this.g.af(this.f).il(this.b,this.f,a)};g.op=function(a){return this.get(a)};g.U=function(){return this.f};g.Qz=function(){return this.get("x")};g.Ya=function(){return this.g.Ya()};
g.l=function(a,b){return 1b){var f=a;a=b;b=f}var f=this.L(),h,k=d||"x",l=[];for(f.reset();f.advance();)h=f.U(),d=c?h:f.get(k),d>=a&&d<=b&&l.push(h);return this.j[e]=l};g.get=function(a,b){if(!(a>=this.Ya()))return this.af(a).il(this.Gc(a),a,b)};g.set=function(a,b,c){var d=this.Gc(a);m(d)&&this.Gc(a,wC(this.af(a),d,b,c));return this};g.L=function(){oC(this);return new lC(this)};g.Ar=function(){return null};
g.Hs=function(a){this.j=this.c=null;V(a,16)&&this.i(1,16)};g.l=function(a,b,c){if(this.QC)return this.Cw.apply(this,arguments);this.Dp||(this.Dp=[]);var d=this.Dp[a];d||(this.Dp[a]=d={});return 2a:!(!this.jl||!this.jl[a])};g.wp=function(){return this.GK};g.l=function(){throw Error("Wrong usage of the data Set");};g.an=function(){return[this]};function HC(a,b){return new tC(a,b)}var IC=tC.prototype;F("anychart.data.set",HC);IC.data=IC.data;IC.mapAs=IC.cd;IC.row=IC.Gc;IC.append=IC.kR;IC.insert=IC.MT;IC.remove=IC.remove;IC.getRowsCount=IC.Ya;function JC(){ld.call(this);this.b=null;this.b=qb(ip("palette.items"));this.X(2)}G(JC,Xu);g=JC.prototype;g.ia=2;g.vR=function(a,b){K(405,null,["colorAt()","itemAt()"]);return this.pf(a,b)};g.pf=function(a,b){this.b||(this.b=[]);var c=this.b.length;a>=c&&0=f&&0=c&&0this.b.length||!this.c)return null;if(m(b))return this.f[a]=b,this.X(2),this;a>this.c-1&&(a=this.c-1);0>a&&(a=0);var c=this.f[a];return c?c:null};
function QC(a){if(a.b&&a.c){var b=[],c=q(a.b)?a.b:a.b.keys;if(q(c)&&c.length){isNaN(a.c)&&(a.c=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.f[f]={color:c.color}:(e=1-(e-c.offset)/(d.offset-c.offset),a.f[f]={color:Qe(sm(pm(c.color),pm(d.color),e))})}}}}g.u=function(){var a=PC.o.u.call(this);a.type="range";for(var b=[],c=0;ca&&(c=b,b=a,a=c),c=[b,a])):c=null;this.j=!1;this.b=c;this.c={};this.X(2);return this}return this.b};g.TK=function(a){return m(a)?(this.g=P(a),this.c={},this.X(2),this):this.g};g.lG=function(a){if(m(a)){this.f=q(a)?a.slice():[];for(a=this.h.length=0;aa.b[1])&&d.push([b.getTime(),b.getTime()+864E5-6E4]));!d&&a.ga&&(d=YC(a.ga,b));d||(d=[]);return a.c[c]=d}g.DI=function(a){V(a,2)&&!this.b&&(this.c={})};
function XC(a){var b=a.isWorking;this.h=m(b)?!b:!1;b=lo(a.each);switch(b){case "year":var c=a.on,d=a.from,e=a.to;this.j=this.HR;(c=Dy(c,"dd.MM",TC))?(this.g=this.GB,this.b=new Kq(2E3,c.getUTCMonth(),c.getUTCDate()),e=ZC(d,e),this.m=e[0],this.f=e[1]):(this.g=this.LJ,this.b=null,c=(c=Dy(d,"dd.MM",TC))?new Kq(c):UC,this.m=new Kq(2E3,c.getUTCMonth(),c.getUTCDate()),c=(c=Dy(e,"dd.MM",TC))?new Kq(c):VC,this.f=new Kq(2E3,c.getUTCMonth(),c.getUTCDate()),this.f.add(WC));break;case "week":$C(this,a.on,a.from,
a.to);break;case "day":$C(this,NaN,a.from,a.to);break;default:c=a.on,d=a.from,e=a.to,this.j=this.WC,(c=Dy(c))?(this.g=this.GB,this.b=new Kq(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),e=ZC(d,e),this.m=e[0],this.f=e[1]):(this.g=this.LJ,this.b=null,c=(c=Dy(d))?new Kq(c):UC,this.m=new Kq(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),c=(c=Dy(e))?new Kq(c):VC,this.f=new Kq(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),this.f.add(WC))}"none"==b?this.b?(this.s=this.b.clone(),this.c=this.b.clone(),
this.c.add(WC)):(this.s=this.m.clone(),this.c=this.f.clone()):(this.s=(b=Dy(a.starts))?new Kq(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()):UC,(b=Dy(a.ends))?(this.c=new Kq(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),this.c.add(WC)):this.c=VC)}function $C(a,b,c,d){a.j=a.IR;a.g=a.GB;b=Math.min(rr(b,NaN,!0),6);a.b=isNaN(b)?null:b;b=ZC(c,d);a.m=b[0];a.f=b[1]}g=XC.prototype;g.WC=function(a){return a.getTime()>=this.s.getTime()&&a.getTime()<=this.c.getTime()};
g.IR=function(a){return this.WC(a)&&(null===this.b||(a.Xv()+6)%7==this.b)};g.HR=function(a){if(!this.WC(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.m.clone();c.gB(b);var d=this.f.clone();d.gB(b);return a>=c.getTime()&&a<=d.getTime()};
g.GB=function(a,b){for(var c=this.m,d=b.getTime()+36E5*c[0]+6E4*c[1],c=this.f,e=b.getTime()+36E5*c[0]+6E4*c[1],f=[],h=0;(c=a[h])&&c[1]e)this.h||f.push([d,e]);else{this.h?(c[0]=f.offset?b=f:c=f}var h;b?c?h=Ho(c.color,b.color,(a-b.offset)/(c.offset-b.offset)):h=b.color:h=c.color;return q(h)?Qe(h):h.color};
g.yR=function(a){this.Hf();a=pm(Jo(a).Ce);var b,c,d,e,f,h,k;h=0;for(k=this.b.length;hMath.abs(l-n)&&.01>Math.abs(l-p)&&.01>Math.abs(n-p)&&(n=Math.round(f[1]*n+(1-n)*e[1])==a[1],p=Math.round(f[2]*p+(1-p)*e[2])==a[2],Math.round(f[0]*l+(1-l)*e[0])==a[0]&&n&&p)){b=this.ce*(l/(1/
(d.offset-c.offset))+c.offset)+this.min;break}}return m(b)?b:NaN};g.Ta=function(a){this.j||(this.j=cD(this));return m(a)?(this.j.C(a),this.X(2),this):this.j};g.Pa=function(a){this.h||(this.h=cD(this),this.h.count(5));return m(a)?(this.h.C(a),this.X(2),this):this.h};
g.Hf=function(){if(!this.c){bD.o.Hf.call(this);var a=zB(this.Ta(),this.min,this.max,this.s&&this.min!=this.A,this.m&&this.max!=this.v,10);this.s&&(this.min=a[0]);this.m&&(this.max=a[1]);AB(this.Pa(),yB(this.Ta()),10,a[2],a[3]);this.ce=this.max-this.min}};g.zR=function(a){V(a,2)&&(this.c=!1,this.X(2))};function cD(a){var b=new xB(a);H(a,b);Q(b,a.zR,a);return b}function lB(a){var b=new bD;b.H(ip("defaultScaleSettings.linear"));b.H(ip("defaultLinearColorScale"));b.Ye.apply(b,arguments);return b}
g.u=function(){var a=bD.o.u.call(this);a.ticks=this.Ta().u();a.minorTicks=this.Pa().u();a.colors=bb(this.Ye(),function(a){return Qe(a.color)});return a};g.H=function(a,b){bD.o.H.call(this,a,b);this.Ta(a.ticks);this.Pa(a.minorTicks);this.Ye(a.colors)};var dD=bD.prototype;F("anychart.scales.linearColor",lB);dD.colors=dD.Ye;dD.valueToColor=dD.Pn;dD.colorToValue=dD.yR;dD.ticks=dD.Ta;dD.minorTicks=dD.Pa;function eD(){CB.call(this)}G(eD,CB);g=eD.prototype;g.CB=function(a){return m(a)?(a=isNaN(+a)?this.b:+a,a!=this.b&&(this.b=a,this.X(2)),this):this.b};g.Ca=function(){return"log"};g.transform=function(a){this.Hf();a=P(a);return dB(this,(Vp(a,this.b)-this.G)/this.ce)};g.Rc=function(a){this.Hf();a=eB(this,a);return Wp(this.b,a*this.ce+this.G)};g.Hf=function(){this.c||(eD.o.Hf.call(this),this.G=Vp(this.min,this.b),this.K=Vp(this.max,this.b),this.ce=this.K-this.G)};
g.kH=function(){var a=Vp(this.g,this.b),b=Vp(this.f,this.b),c=a-b;c||(this.f-=Math.E/2,this.g+=Math.E/2,c=1);this.s&&(this.G=b-c*this.N,isNaN(this.A)||(b=Vp(this.A,this.b),this.G=0=d?(l=d-1,f=!0):l--;var n=m(c[k].zh)?c[k].zh:(c[k].start+c[k].end)/2,p=m(c[l].zh)?c[l].zh:(c[l].start+c[l].end)/2;e.push(k==l?n:[n,p])}return e};function hD(){bB.call(this);this.s=this.b=null;this.h=[];this.K=this.f=null;this.m=[];this.G=!1}G(hD,bB);g=hD.prototype;g.zk=function(){return!0};g.Ca=function(){return"ordinalColor"};g.zc=function(a){return m(a)?(a=!!a,this.da!=a&&(this.da=a,this.Di(),this.X(2)),this):this.da};
g.Ye=function(a){if(m(a))return a?q(a)&&(this.b=qb(a)):this.b=[],this.Di(),this.X(2),this;if(q(this.b)){this.v||(this.v=qb(this.b));if(this.v.length "+c.start:"< "+c.end;c.name||(c.name=d);this.se.push(d)}}return this.se};g.Ks=function(a){return m(a)?(this.h!=a&&(this.h=a,this.G||(this.K=ip("defaultOrdinalColorScale.autoColors")(this.h.length)),this.Di(),HB(this.Ta()),this.X(4)),this):this.h};g.ti=function(){jD(this);this.names();return this.f};g.Hg=function(a){jD(this);var b=null;if(this.f)for(var c=this.f.length;c--;){var d=this.f[c];if(m(d.zh)&&d.zh===a||a>=d.start&&a<=d.end&&-1d.length-1?d[d.length-1]:d[c])}}return b};g.CR=function(a){jD(this);a=Jo(a).Ce;for(var b=NaN,c=0,d=this.f.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;bc.Vw&&(c.Vw=f),fc&&(c=gd,h=Ic);Yde&&(e=uc,l=Ic);ucr&&(r=Ii,w=Ic);Wcu&&(u=ze,y=Ic);ze=v,e.push(w?t:v),w&&(r++,t=r=v,y.push(w?t:v),w&&(r++,t=rt&&(t=~t-1),t=ee(t,0,d-1),u=vb(n,u,h),0>u&&(u=~u),u=ee(u,0,d-1),f.inverted()&&(n=t,t=u,u=n)):u=t=NaN);h=a.Si[r];for(var v in h){f=h[v];d=a.ua[v];n=a.bs(d);var w="none"!=
n,x="percent"==n,y;if(w)for(y=[],c=t;c<=u;c++)y.push({Ew:0,Jp:0,tw:0,Dw:0,Ep:0,sw:0,cC:!1,PB:!1,JB:!1});for(b=0;bk+n||al+p)return null;var b=[],h=this.yc(),r;if("bySpot"==h.Cb())for(h=h.$s(),this.ea?(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.b.length;k=ap}),d=d&&f,e.push({series:k,pointsInRect:c,allPointsAreSelected:f});a.seriesStatus=e;a.allPointsAreSelected=d;return a};
g.aK=function(a){var b=a.shiftKey||a.ctrlKey||a.metaKey,c=a.seriesStatus;if(b&&a.allPointsAreSelected)for(a=0;athis.yv()&&f.wa(b[d.xScale]),"yScale"in d&&d.yScale>this.yv()&&f.Ua(b[d.yScale]))}};g.dK=function(a,b,c){var d,e,f=[];for(d=0;da.yv()&&h.scale(d[f.scale])}}function BE(a,b,c,d,e,f,h,k){for(var l=[],n=0;n=b.top&&a<=b.ka();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.ra());return!c&&!d};function OE(a,b){return a.h.left+b*a.h.width}function PE(a,b){return a.h.ka()-b*a.h.height}
g.I=function(){if(!this.ub())return this;U(this);T(this,4)&&(this.h=this.Ma(),this.i(64),this.w(4));this.Kd();var a=this.ic();this.Mw();T(this,16)&&(this.rd(this.state),this.w(16));if(T(this,256)){if(a)15==this.$b&&15==this.G?this.Gv(this.g.xAnchor,this.g.valueAnchor,this.g.secondXAnchor,this.g.secondValueAnchor,this.g.thirdXAnchor,this.g.thirdValueAnchor):7<=this.$b&&7<=this.G?this.mi(this.g.xAnchor,this.g.valueAnchor,this.g.secondXAnchor,this.g.secondValueAnchor):(3<=this.$b&&3<=this.G||this.G==
this.$b)&&this.Eg(this.g.xAnchor,this.g.valueAnchor);else return this.remove(),this.i(2),this.S(!1),this;this.w(256)}T(this,1024)&&(this.c.Hb(!this.B("allowEdit")),this.w(1024));if(T(this,512)){if(this.Na){var a=this.Ja(),b=this.Co().enabled()||this.Do().enabled();U(a);if(!1!==a.enabled()||b){a.D(this.c);a.clear();a.W(this.h);a.lg=5;var c=this.state,b=this.Ja(),c=$z(c);switch(c){case N:c=this.Co();break;case ap:c=this.Do();break;default:c=null}if(c&&null!==c.enabled()?c.enabled():b.enabled())for(var d=
QE(this),e=0;e=b||a>this.h.ra()&&0<=b);return a};g.u=function(){var a=aF.o.u.call(this);Mv(this,BD,a,"Annotation");Mv(this,xD,a,"Annotation");Mv(this,yD,a,"Annotation");Mv(this,zD,a,"Annotation");Mv(this,AD,a,"Annotation");return a};
g.H=function(a,b){Lv(this,BD,a);Lv(this,xD,a);Lv(this,yD,a);Lv(this,zD,a);Lv(this,AD,a);aF.o.H.call(this,a,b)};g.M=function(){aF.o.M.call(this);Kb(this.b);delete this.j};function bF(a){IE.call(this,a);this.b=null;this.v=RE(["stroke","hoverStroke","selectStroke"],2);this.j=RE(["fill","hoverFill","selectFill"],1);this.m=RE(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(bF,IE);Jv(bF,xD);Jv(bF,yD);Jv(bF,zD);Jv(bF,AD);Jv(bF,BD);Jv(bF,ED);vD.ellipse=bF;g=bF.prototype;g.type="ellipse";g.$b=7;g.Kd=function(){bF.o.Kd.call(this);this.b||(this.b=[this.c.path(),this.c.path(),this.c.path()],this.b[0].zIndex(0),this.b[1].zIndex(1),this.b[2].zIndex(3))};
g.Eg=function(a,b){for(var c=0;cthis.h.ra());return a};function gF(a){cF.call(this,a);this.J=[];this.m=null;this.Ea=RE(["grid","hoverGrid","selectGrid"],2)}G(gF,cF);Jv(gF,DD);vD.fibonacciFan=gF;g=gF.prototype;g.type="fibonacciFan";g.lx=function(a){if(m(a)){if(q(a)){for(var b=this.J.length=0;b=b||a>this.h.ra()&&0<=b);return a};g.rd=function(a){gF.o.rd.call(this,a);for(var b=0;b=this.v.length?c.timeLevel=this.J[b-this.v.length]:c.level=this.v[b]);return c};
g.Mw=function(){if(T(this,4096)){this.b||(this.b=[]);this.m||(this.m=[]);var a,b=this.v.length+this.J.length;for(a=this.b.length;a=b||a>this.h.ra()&&0<=b);return a};
g.u=function(){var a=oF.o.u.call(this);Mv(this,BD,a,"Annotation");Mv(this,xD,a,"Annotation");Mv(this,yD,a,"Annotation");Mv(this,zD,a,"Annotation");return a};g.H=function(a,b){Lv(this,BD,a);Lv(this,xD,a);Lv(this,yD,a);Lv(this,zD,a);oF.o.H.call(this,a,b)};g.M=function(){oF.o.M.call(this);Kb(this.b);delete this.j};function pF(a){IE.call(this,a);this.b=null;this.v=RE(["stroke","hoverStroke","selectStroke"],2);this.j=RE(["fill","hoverFill","selectFill"],1);this.m=RE(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(pF,IE);Jv(pF,xD);Jv(pF,yD);Jv(pF,zD);Jv(pF,BD);Jv(pF,ED);vD.rectangle=pF;g=pF.prototype;g.type="rectangle";g.$b=7;g.Kd=function(){pF.o.Kd.call(this);this.b||(this.b=[this.c.path(),this.c.path(),this.c.path()],this.b[0].zIndex(0),this.b[1].zIndex(1),this.b[2].zIndex(3))};
g.Eg=function(a,b){for(var c=0;ck&&e>l?c=f=d=h=null:(c=eq(a,b,a,b+d,this.h),f=eq(e,f,e,f+d,this.h),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=gq(a,c,e,k,this.h),f=gq(a,f,e,l,this.h),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.h.ra()&&c=b){var c=this.W(),c=c.clone().round(),d=this.Yq();a.Eb(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.Oa(),k=e?Math.ceil(O(this.width(),c.width)):h.width;
e&&a.width(k);h=a.Oa();c=f?Math.ceil(O(this.height(),c.height)):h.height;f&&a.height(c);var l=this.W(),l=l.clone().round();if(this.fb())switch(e=Math.round(l.$a()+l.height-b*l.height),1==b?e-=-.5:e+=-.5,this.m){case "left":f=l.Ra();break;case "right":f=l.ra();break;default:f=l.Ra()+l.width/2}else switch(f=Math.round(l.Ra()+b*l.width),1==b?f+=-.5:f-=-.5,this.m){case "top":e=l.$a();break;case "bottom":e=l.ka();break;default:e=l.$a()+l.height/2}b=new ke(f,e);f=P(this.F);f=isNaN(f)?this.fb()?0:-90:f;
e=Fe(Sd(f),0,0);h=we(h,e);e=tr(qq(0,0,h.width,h.height),d);b.x-=e.x;b.y-=e.y;e=O(this.offsetX(),k);l=O(this.offsetY(),c);Lr(b,d,e,l);this.Hc(a,!0);a.x(b.x+h.width/2-k/2).y(b.y+h.height/2-c/2).Vs(f,"center");this.i(2)}else this.remove(),this.w(2);this.w(4)}T(this,2)&&(a=this.D(),DF(this).parent(a),this.w(2));return this};g.remove=function(){DF(this).parent(null)};function DF(a){a.b||(a.b=Oh(),a.b.Ob("aria-hidden","true"),H(a,a.b));return a.b}g.M=function(){Jb(this.b);this.c=this.h=this.b=null;BF.o.M.call(this)};
g.u=function(){var a=BF.o.u.call(this);a.anchor=this.Yq();a.align=this.au();this.s&&(a.layout=this.s);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.H=function(a,b){BF.o.H.call(this,a,b);this.Yq(a.anchor);this.au(a.align);"layout"in a&&a.layout&&this.Zq(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;C(c)?this.h&&this.mf(this.h.lp(c)):c instanceof QB&&this.mf(c)}};function EF(){BF.call(this)}G(EF,BF);g=EF.prototype;g.ia=BF.prototype.ia;g.Z=BF.prototype.Z;g.scale=function(a){return this.Hi(a)};g.value=function(a){return CF(this,a)};g.u=function(){var a=EF.o.u.call(this);a.value=this.value();return a};g.H=function(a,b){EF.o.H.call(this,a,b);this.value(a.value)};var FF=EF.prototype;FF.value=FF.value;FF.scale=FF.scale;FF.axis=FF.mf;FF.anchor=FF.Yq;FF.align=FF.au;FF.layout=FF.Zq;FF.rotation=FF.rotation;FF.offsetX=FF.offsetX;FF.offsetY=FF.offsetY;FF.text=FF.text;
FF.height=FF.height;FF.width=FF.width;FF.isHorizontal=FF.fb;function GF(){W.call(this);this.Y=this.f=this.g=this.j=null;this.N=!1;this.c=null;this.F="horizontal"}G(GF,W);g=GF.prototype;g.ia=W.prototype.ia|8;g.Z=W.prototype.Z|80;g.kb=function(){return this.h};g.Oy=function(a){return m(a)?(a=sn(a),this.s!=a&&(this.s=a,this.i(64,9)),this):this.s?this.s:this.c?(a=this.c.fd(),"left"==a||"right"==a?"horizontal":"vertical"):this.F};function HF(a,b){var c=!a.s&&a.F!=b;a.F=b;c&&a.i(64)}
g.scale=function(a){return m(a)?(this.Y!=a&&(this.Y=a,Q(this.Y,this.gP,this),this.i(68,9)),this):this.Y?this.Y:this.c?this.c.scale():null};g.gP=function(a){var b=0;V(a,4)&&(b|=4);V(a,2)&&(b|=1);this.i(20,b|8)};g.WE=function(){this.i(64,9)};g.mf=function(a){return m(a)?(this.c!=a&&(this.c&&Yu(this.c,this.WE,this),this.c=a,Q(this.c,this.WE,this),this.i(64,9)),this):this.c};g.Ag=function(a,b,c,d){this.v||(this.v=new yw,H(this,this.v));return m(a)?(this.v.C.apply(this.v,arguments),this):this.v};
g.Kg=function(a,b,c,d,e,f,h){if(m(a)){var k=Ke.apply(null,arguments);this.G!=k&&(this.G=k,this.i(16,1));return this}return this.G};g.Fg=function(a,b,c,d,e,f,h){if(m(a)){var k=Ke.apply(null,arguments);this.A!=k&&(this.A=k,this.i(16,1));return this}return this.A};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Re.apply(null,arguments);if(this.b!=f){var h=this.b?We(this.b):0;this.b=f;var f=16,k=1;h!=(this.b?We(this.b):0)&&(f|=68,k|=8);this.i(f,k)}return this}return this.b};
g.CA=function(a){return m(a)?(this.J!=a&&(this.J=a,this.i(64,9)),this):this.J};g.Ny=function(a){return m(a)?(this.m!=a&&(this.m=a,this.i(64,9)),this):this.m};g.bu=function(a){return m(a)?(this.N!=a&&(this.N=a,this.i(80,9)),this):this.N};g.vH=function(a,b){var c=this.W()||qq(0,0,0,0),d=Math.round(c.ka()-a*c.height);1==a?d-=b:d+=b;this.f.moveTo(c.Ra(),d);this.f.lineTo(c.ra(),d)};
g.wH=function(a,b){var c=this.W()||qq(0,0,0,0),d=Math.round(c.Ra()+a*c.width);1==a?d+=b:d-=b;this.f.moveTo(d,c.ka());this.f.lineTo(d,c.$a())};g.fb=function(){return"horizontal"==this.Oy()};g.sH=function(a,b,c,d,e){if(!isNaN(b)){c=this.W()||qq(0,0,0,0);var f,h;f=Math.round(c.ka()-b*c.height);h=Math.round(c.ka()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Ra(),f);d.lineTo(c.ra(),f);d.lineTo(c.ra(),h);d.lineTo(c.Ra(),h);d.close()}};
g.tH=function(a,b,c,d,e){if(!isNaN(b)){c=this.W()||qq(0,0,0,0);var f,h;f=Math.round(c.Ra()+b*c.width);h=Math.round(c.Ra()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f,c.$a());d.lineTo(h,c.$a());d.lineTo(h,c.ka());d.lineTo(f,c.ka());d.close()}};
g.I=function(){var a=this.scale();if(!a)return oo(2),this;if(!this.ub())return this;if(T(this,8)){var b=this.zIndex();IF(this).zIndex(b);JF(this).zIndex(b);KF(this).zIndex(b);this.w(8)}T(this,2)&&(b=this.D(),IF(this).parent(b),JF(this).parent(b),KF(this).parent(b),this.w(2));T(this,16)&&(KF(this).stroke(this.stroke()),JF(this).fill(this.Kg()),IF(this).fill(this.Fg()),this.w(16));if(T(this,64)||T(this,4)){var c,d,e,f,b=NaN,h=this.scale()instanceof JB,k=(h?a.Ta():this.bu()?a.Pa():a.Ta()).get();c=this.fb()?
[this.vH,this.sH]:[this.wH,this.tH];IF(this).clear();JF(this).clear();KF(this).clear();var l=this.W()||qq(0,0,0,0);if(d=this.h&&this.h.SI()){this.pa=this.kb().pa;this.oa=this.kb().oa;var n=We(this.stroke())/2;l.top-=this.oa+n;l.height+=this.oa+n;l.width+=this.pa}l=this.Ag().ff(l);IF(this).clip(l);JF(this).clip(l);KF(this).clip(l);l=c[1];c=c[0];n=-KF(this).Vl()%2/2;d&&this.fb()&&c.call(this,0,n);for(var p=0,r=k.length;pa.nearestPointToCursor.distance&&(a.series.L().select(a.nearestPointToCursor.index),c=a)});var d=c.series;a=this.D();var e=this.W(),f=this.f.Vl()%2?-.5:0,h=this.j.Vl()%2?-.5:0,k=d.wa(),l=d.Ua(),d=d.L(),n=P(d.l("x")),p=P(d.l("value"));if(this.m&&"none"!=this.m){var r;
this.f.clear();r=ee(n,e.Ra(),e.ra()-1);r=Math.round(r)-f;this.f.moveTo(r,e.$a()).lineTo(r,e.ka())}this.g&&this.g.enabled()&&this.b.enabled()&&(f=RF(this.g,k.transform(d.get("x"))),r=this.b.Yg()||Pr,this.b.text(r.call(f,f)),k=SF(this,this.g,this.b,n,p,k.transform(d.get("x"))),this.b.x(k.x).y(k.y),this.b.D(a).I());this.s&&"none"!=this.s&&(this.j.clear(),k=ee(p,e.$a(),e.ka()-1),k=Math.round(k)-h,this.j.moveTo(e.Ra(),k).lineTo(e.ra(),k));this.h&&this.h.enabled()&&this.c.enabled()&&(e=RF(this.h,l.transform(d.get("value"))),
h=this.c.Yg()||Pr,this.c.text(h.call(e,e)),l=SF(this,this.h,this.c,n,p,l.transform(d.get("value"))),this.c.x(l.x).y(l.y),this.c.D(a).I())}else this.Cd()};g.Cd=function(){this.f.clear();this.b.D(null).remove();this.j.clear();this.c.D(null).remove()};
g.Mo=function(a){if(this.enabled()){var b=this.D(),c=this.W(),d=Ql(this.D().ha()),e=a.clientX-d.x;a=a.clientY-d.y;if(e>=c.Ra()&&e<=c.ra()&&a>=c.$a()&&a<=c.ka()){var d=this.f.Vl()%2?-.5:0,f=this.j.Vl()%2?-.5:0,h=c.ra()-c.Ra(),k=c.ka()-c.$a(),l=e-c.Ra(),n=a-c.$a(),p;this.A?(p=(k-n)/k,h=l/h):(p=l/h,h=(k-n)/k);this.g&&m(this.g.scale().Rc(0))?(this.m&&"none"!=this.m&&(this.f.clear(),this.g.fb()?(k=ee(TF(this,this.g,p,e),c.Ra(),c.ra()-1),this.f.moveTo(k-d,c.$a()).lineTo(k-d,c.ka())):(k=ee(TF(this,this.g,
p,a),c.$a(),c.ka()-1),this.f.moveTo(c.Ra(),k-f).lineTo(c.ra(),k-f))),this.b.enabled()&&(k=RF(this.g,p),l=this.b.Yg()||Pr,this.b.text(l.call(k,k)),p=SF(this,this.g,this.b,e,a,p),this.b.x(p.x).y(p.y),this.b.D(b).I())):(this.f.clear(),this.b.D(null).remove());this.h&&m(this.h.scale().Rc(0))?(this.s&&"none"!=this.s&&(this.j.clear(),this.h.fb()?(p=ee(TF(this,this.h,h,e),c.Ra(),c.ra()-1),this.j.moveTo(p-d,c.$a()).lineTo(p-d,c.ka())):(p=ee(TF(this,this.h,h,a),c.$a(),c.ka()-1),this.j.moveTo(c.Ra(),p-f).lineTo(c.ra(),
p-f))),this.c.enabled()&&(c=RF(this.h,h),d=this.c.Yg()||Pr,this.c.text(d.call(c,c)),e=SF(this,this.h,this.c,e,a,h),this.c.x(e.x).y(e.y),this.c.D(b).I())):(this.j.clear(),this.c.D(null).remove())}else this.Cd()}};function TF(a,b,c,d){a=a.W();var e=b.scale(),f="ordinal"==e.Ca();c=e.transform(e.Rc(c),.5);return b.fb()?f?Math.round(a.left+c*a.width):d:f?Math.round(a.top+a.height-c*a.height):d}
function SF(a,b,c,d,e,f){a=a.W();var h=0,k=0;if(!b)return{x:h,y:k};var l=b.scale(),n=b.Ma(),p="ordinal"==l.Ca();f=l.transform(l.Rc(f),.5);var r=b.enabled(),l=r?n.Ra():a.ra(),t=r?n.$a():a.ka(),u=r?n.ra():a.Ra(),n=r?n.ka():a.$a();switch(b.fd()){case "left":h=UF(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=VF(c)?n-1:n+1;break;case "right":h=UF(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=VF(c)?t-1:t+1}return{x:h,y:k}}function UF(a){a=Bw(a);return"leftTop"==a||"leftCenter"==a||"leftBottom"==a}function VF(a){a=Bw(a);return"leftTop"==a||"centerTop"==a||"rightTop"==a}
function RF(a,b){if(!a)return null;var c=a.scale(),d=c.Ca(),e=c.Rc(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.qz=function(a){var b=this.W(),c=a.offsetX;a=a.offsetY;(c<=b.Ra()||c>=b.ra()||a<=b.$a()||a>=b.ka())&&this.Cd()};g.remove=function(){this.Cd()};g.M=function(){this.ba&&(this.ba.Bc("mouseover",this.Mo,!1,this),this.ba.Bc("mousemove",this.Mo,!1,this),this.ba.Bc("mouseout",this.qz,!1,this),this.ba.Bc("pointshover",this.rz,!1,this),this.ba=null);Jb(this.f);this.f=null;Jb(this.j);this.h=this.g=this.j=null;Jb(this.b);this.b=null;Jb(this.c);this.c=null;OF.o.M.call(this)};
g.u=function(){var a=OF.o.u.call(this);a.displayMode=this.yA();a.xStroke=L(this.ZC());a.yStroke=L(this.bD());a.xLabel=this.b.u();a.yLabel=this.c.u();return a};g.H=function(a,b){OF.o.H.call(this,a,b);this.yA(a.displayMode);this.ZC(a.xStroke);this.bD(a.yStroke);this.XC(a.xLabel);this.$C(a.yLabel)};var WF=OF.prototype;WF.displayMode=WF.yA;WF.xStroke=WF.ZC;WF.yStroke=WF.bD;WF.xLabel=WF.XC;WF.yLabel=WF.$C;function XF(){ld.call(this)}G(XF,Xu);g=XF.prototype;g.Z=Xu.prototype.Z;g.ia=Xu.prototype.ia|1;g.stroke=function(a,b,c,d,e){if(m(a)){var f=Re.apply(null,arguments);f!=this.b&&(this.b=f,this.X(1));return this}return this.b};g.u=function(){var a=XF.o.u.call(this);a.stroke=L(this.stroke());return a};g.H=function(a,b){XF.o.H.call(this,a,b);this.stroke(a.stroke)};g.M=function(){this.b=null;XF.o.M.call(this)};function iG(){iw.call(this);this.Ha=this.G=this.ab=null;this.fa=[]}G(iG,iw);g=iG.prototype;g.Z=iw.prototype.Z|384;g.title=function(a){this.ab||(this.ab=new xx,this.ab.Sa(this),Q(this.ab,this.hR,this));return m(a)?(this.ab.C(a),this):this.ab};g.hR=function(a){var b=0,c=0;V(a,1)&&(b|=128,c|=1);V(a,8)&&(b|=4,c|=8);this.i(b,c)};g.margin=function(a,b,c,d){this.G||(this.G=new ex,Q(this.G,this.fR,this));return m(a)?(this.G.C.apply(this.G,arguments),this):this.G};g.fR=function(a){V(a,2)&&this.i(4,9)};
g.Iu=function(a,b,c,d){this.Ha||(this.Ha=new yw,Q(this.Ha,this.gR,this));return m(a)?(this.Ha.C.apply(this.Ha,arguments),this):this.Ha};g.gR=function(a){V(a,2)&&this.i(4,9)};function jG(a,b){return m(b)?(a.ak=b,a):a.ak||{}}g.label=function(a,b){var c,d;C(a)||A(a)&&!isNaN(+a)?(c=+a,d=b):(c=0,d=a);var e=this.fa[c];e||(e=new Fw,e.Sa(this),e.C(jG(this)),this.fa[c]=e,Q(e,this.QT,this),this.i(256,1));return m(d)?(e.C(d),this):e};g.QT=function(){this.i(256,1)};g.WA=function(){return this.margin().ff(this.Ma())};
g.I=function(){if(!this.ub())return this;T(this,4)&&this.i(384);iG.o.I.call(this);if(T(this,128)){var a=this.title();U(a);a.D(this.ta);a.zIndex(10);a.W(this.Ma());a.S(!1);a.I();this.w(128)}if(T(this,256)){for(var a=this.WA(),b=0,c=this.fa.length;b=this.s.length?this.J[a-this.s.length]:this.s[a]};g.xK=function(a){a.scale(this.Ua())};g.QG=function(){return new zF};
g.lm=function(a,b){var c,d;c=P(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.jb[c];if(!e){e=this.QG();e.h=this;e.C(rG(this));var f=e,h=this.ea?"vertical":"horizontal",k=!f.s&&f.g!=h;f.g=h;k&&f.i(4);this.jb[c]=e;H(this,e);Q(e,this.TB,this);this.i(5242880,1)}return m(d)?(e.C(d),this):e};g.VG=function(){return new cC};
g.mm=function(a,b){var c,d;c=P(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.wb[c];e||(e=this.VG(),e.h=this,e.C(tG(this)),eC(e,this.ea?"vertical":"horizontal"),this.wb[c]=e,H(this,e),Q(e,this.TB,this),this.i(5242880,1));return m(d)?(e.C(d),this):e};g.$G=function(){return new EF};
g.nm=function(a,b){var c,d;c=P(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.kc[c];if(!e){e=this.$G();e.h=this;e.C(sG(this));var f=e,h=this.ea?"vertical":"horizontal",k=!f.s&&f.A!=h;f.A=h;k&&f.i(4);this.kc[c]=e;H(this,e);Q(e,this.TB,this);this.i(5242880,1)}return m(d)?(e.C(d),this):e};g.TB=function(){this.i(4194304,1)};
function uG(a,b,c){a.ic();b=cc(b);var d=ob(a.jb,a.wb,a.kc,a.tb,a.Mb),e,f,h;for(h=0;hh);c=0;for(d=this.s.length;cd?("layout"in e||(e.layout=a.fb()?"horizontal":"vertical"),"scale"in e||zE(e,"scale",a.scale(),b,c)):e.axis=d;return e};g.sC=function(a,b,c,d){var e=a.u();zE(e,"scale",a.Hi(),b,c);if(a=a.mf())d=Za(d,ka(a)),0>d?("layout"in e||(e.layout=a.fb()?"horizontal":"vertical"),"scale"in e||zE(e,"scale",a.scale(),b,c)):e.axis=d;return e};
g.M=function(){Kb(this.s,this.J,this.jb,this.wb,this.kc,this.tb,this.Mb,this.Rh,this.Wc);delete this.s;delete this.J;this.Wc=this.Rh=this.Mb=this.tb=this.kc=this.wb=this.jb=null;nG.o.M.call(this)};function vG(a,b){this.ba=a;this.index=rr(b,0,!0);this.b={}}g=vG.prototype;g.U=function(){return this.index};g.kb=function(){return this.ba};g.get=function(a){return this.ba.data().get(this.index,a)};g.set=function(a,b){this.ba.data().set(this.index,a,b);return this};g.Sk=function(a){var b=this.kb(),c=Yz(b.state,N,this.index);return m(a)&&c!=a?(a?b.De(this.index):b.Ub(this.index),this):c};
g.aj=function(a){var b=this.kb(),c=Yz(b.state,ap,this.index);return m(a)&&c!=a?(a?b.select(this.index):b.Vb(this.index),this):c};g.Vm=function(){return this.indexthis.j[u]?v=this.h[u][this.j[u]]:this.h[u].push(v=t.VR());this.j[u]++;this.c[u].push(v);l=pH(this,l,n,p,r,v,!0);e[k]=l}this.lb(this.O,e,a);return e};g.by=function(a,b){return this.xb(a,void 0,b)};
g.cl=function(a,b){if(q(b))for(var c=0;cb;b=Math.abs(b);var d=(b-a.HB)/(a.aJ-a.HB);if(isNaN(d)||!isFinite(d))d=.5;b=a.IB+d*(a.bJ-a.IB);return c?-b:b}
function FH(a){return ka(a.sj())+"_"+ka(a.Ua())}function UD(a){return a.oa.B("yValues")}g.kb=function(){return this.ba};g.L=function(){return this.ef||this.ob()};g.ob=function(){return this.ef=this.we()};g.sj=function(){return this.ba.wa()};g.Ua=function(a){return m(a)?(a instanceof bB||(a=null),this.Wb!=a&&(this.Wb&&Yu(this.Wb,this.fu,this),(this.Wb=a)&&Q(this.Wb,this.fu,this),this.i(1024,5)),this):this.Wb||this.dd.Ua()};g.fu=function(a){var b=0;V(a,4)&&(b|=4);V(a,2)?this.i(1024,b|1):this.X(b)};
g.YV=function(a,b){return this.Fd(this.sj().transform(a,b),!0)};g.ZK=function(a,b){return this.Fd(this.Ua().transform(a,b),!1)};g.Ql=function(a){return m(a)?(this.oa.C(a),this):this.oa};g.error=function(a){mE(this)||K(12,void 0,[this.Ss()]);this.Na||(this.Na=new uH(this),Q(this.Na,this.JU,this));return m(a)?(this.Na.C(a),this):this.Na};g.JU=function(a){var b=0;V(a,1)&&(b|=1);V(a,4)&&(b|=4);this.i(1024,b)};g.si=function(a){return this.error().si(a)};
g.rP=function(a){if(a=!a.l("missing")){var b=this.error(),c=b.c.L();a=c.get("xError")||b.Zp();var d=c.get("xLowerError")||b.$p(),e=c.get("xUpperError")||b.aq(),f=c.get("valueError")||b.Vp(),h=c.get("valueLowerError")||b.Wp(),b=c.get("valueUpperError")||b.Xp(),f=m(h)||m(b)||lr(f)||!qr(f);a=m(d)||m(e)||lr(a)||!qr(a)||f}if(a)switch(a=this.error(),d=a.mode(),e=this.B("isVertical"),d){case "x":a.I(!0,e);break;case "value":a.I(!1,e);break;case "both":a.I(!0,e),a.I(!1,e)}};
g.clip=function(a){return m(a)?(null===a&&(a=!1),this.ea!=a&&(this.ea=a,this.i(4096,1)),this):this.ea};g.jr=function(a){this.N||(this.N=new xH,Q(this.N,this.vP,this));return m(a)?(this.N.C(a),this):this.N};g.vP=function(a){var b=64,c=!1;V(a,8)&&(b|=8,c=!0);this.X(b,c)};
g.XA=function(a){var b=this.jr();b.w(b.Z);var c=sw.prototype.u.call(b);m(b.Uo())&&(c.iconTextSpacing=b.Uo());m(b.text())&&(c.text=b.text());m(b.Ro())&&(c.iconEnabled=b.Ro());m(b.Vo())&&(c.iconType=b.Vo());m(b.To())&&(c.iconSize=b.To());m(b.Sj())&&(c.iconFill=b.Sj());m(b.Uj())&&(c.iconStroke=b.Uj());m(b.Tj())&&(c.iconHatchFill=b.Tj());m(b.So())&&(c.iconMarkerType=b.So());m(b.Im())&&(c.iconMarkerFill=b.Im());m(b.Jm())&&(c.iconMarkerStroke=b.Jm());m(b.disabled())&&(c.disabled=b.disabled());var b=this.B("color"),
d;this.Ib||(this.Ib=new Jy(void 0,void 0,[this,this.ba]));d={series:{value:this,type:""},chart:{value:this.kb(),type:""}};this.Ib.Cf([this,this.ba]);d=Vx(this.Ib,d);a=c.text||a;A(a)&&(a=nz(oz.xe(),a));c.text=D(a)?a.call(d,d):this.name();c.disabled="disabled"in c?!!c.disabled:!this.enabled();c.meta=this.l();"marker"!=c.iconType||this.check(8192)||(c.iconFill=this.f.fill(),c.iconStroke=this.f.stroke());a=c.iconType;"marker"==a?(this.check(8192)?a=this.B("type"):this.check(4194304)?a=this.Ja().type():
a="square","line"==a&&(a="vline")):D(a)||(a=Fn(a));c.iconType=a;c.iconEnabled="iconEnabled"in c?!!c.iconEnabled:!0;c.iconStroke=GH(this,c.iconStroke,2,b);c.iconFill=GH(this,c.iconFill,1,b);c.iconHatchFill=GH(this,c.iconHatchFill,3,this.no());this.check(4194304)&&this.Ja().enabled()?(c.iconMarkerType=c.iconMarkerType||this.f.type(),c.iconMarkerFill=c.iconMarkerFill||this.f.fill(),c.iconMarkerStroke=c.iconMarkerStroke||this.f.stroke()):(c.iconMarkerType=null,c.iconMarkerFill=null,c.iconMarkerStroke=
null);return c};function GH(a,b,c,d){if(b)D(b)?(a={sourceColor:d},b=b.call(a,a)):b=L(b);else{if(2==c)b="stroke";else if(3==c){if(a.check(8))return null;b="hatchFill"}else a.check(8)?(b="stroke",c=2):b="fill";b=Vo([b],c)(a,bp,!0)}return b}g.Za=function(a){if(!this.Qa){this.Qa=new Ly(0);var b=this.ba,c=b.Za();this.Qa.parent(c);this.Qa.ba(b)}return m(a)?(this.Qa.C(a),this):this.Qa};
function HH(a,b,c){if(!a)return IH;var d=ka(b)+"|"+a.join("|")+(c?"|"+c.join("|"):"");c=c||a;var e=BH[d];e||(BH[d]=e=function(d,e,k){k=$z(k);return k!=bp&&1this.h.left+this.h.width){var f=d,d=Za(ur,f);0<=d&&(f=ur.length,f=ur[(f-d)%f]);d=f}if(("leftBottom"==d||"centerBottom"==d||"rightBottom"==d)&&c.topthis.h.top+this.h.height)c=Za(ur,d),0<=c&&(d=ur.length,d=ur[(d-c+4)%d]);d=wr(d,e);UA(b,d)};
g.zK=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.Xa:null);a.state("chartStateTheme",d?d.Xa:null);a.state("auto",a.c);a.state("seriesNormalTheme",c.Xa);a.state("chartNormalTheme",b?b.Xa:null)};
function MH(a,b,c,d,e,f,h,k,l,n,p,r){var t=e?b.vd(c):CE(b,c);t?(e&&t.Ld(e),t.Db(d)):t=e?b.add(e,d,c):b.add(d,c);t.Se();e?(c=t,a.zK(c,f,b,k,h,l,n),f=WA(c,"anchor"),VA(c,a.B("isVertical")),m(r)&&"auto"==f&&(f=Number(WA(c,"rotation"))||0,(h=qn(r,null))?r=a.MJ(h):(r=a.jA(r),r=a.lI(r),r=vr(r)),UA(c,wr(r,f)),a.AG(b,c))):(FE(t,h||b),t.ug(l,n));p&&t.I();return t}
g.labels=function(a){this.F||(this.F=new lA,this.F.Sa(this),Q(this.F,this.sP,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.F.C(a),this):this.F};g.rb=function(a){this.Lb||(this.Lb=new lA,this.Lb.w(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Lb.C(a),this):this.Lb};g.Kb=function(a){this.ib||(this.ib=new lA,this.ib.w(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.ib.C(a),this):this.ib};g.sP=function(a){V(a,1)&&this.i(256,1025)};
g.bl=function(a,b,c){a.l("label",KH(this,[this.labels,this.rb,this.Kb],[this.kb().labels,this.kb().rb,this.kb().Kb],["label","hoverLabel","selectLabel"],this.Is(),!0,null,a,b,c))};g.dy=function(){};g.Ja=function(a){this.f||(this.f=new mA,this.f.Sa(this),Q(this.f,this.tP,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.f.C(a),this):this.f};g.ir=function(a){this.s||(this.s=new mA,this.s.w(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.s.C(a),this):this.s};
g.kr=function(a){this.K||(this.K=new mA,this.K.w(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.K.C(a),this):this.K};g.tP=function(a){V(a,1)&&this.i(128,65)};g.Tk=function(a,b,c){a.l("marker",KH(this,[this.Ja,this.ir,this.kr],null,["marker","hoverMarker","selectMarker"],this.ZB(),!1,null,a,b,c))};g.Fk=function(a){this.T||(this.T=new mA,this.T.Sa(this),Q(this.T,this.YU,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.T.C(a),this):this.T};
g.ks=function(a){this.Mb||(this.Mb=new mA);return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Mb.C(a),this):this.Mb};g.Rs=function(a){this.wb||(this.wb=new mA);return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.wb.C(a),this):this.wb};g.YU=function(a){V(a,1)&&this.i(128,1)};g.FA=function(a,b,c){var d=a.l("outliers");d&&d.length&&KH(this,[this.Fk,this.ks,this.Rs],null,["outlierMarker","hoverOutlierMarker","selectOutlierMarker"],this.$B(),!1,d,a,b,c)};
function NH(a,b){return+Yb(a.Tc,function(a){return db(a,function(a){return a==b})})}g.Is=function(){return!1};g.ZB=function(){return!1};g.$B=function(){return!1};g.uJ=function(){return!1};g.Qd=function(){return!1};g.Hp=function(){return!1};g.remove=function(){this.check(4)?oH(this.Qf,null):this.c&&this.c.remove();this.F&&this.F.Bd()&&(this.F.Bd().remove(),this.F.i(2));this.f&&(this.f.remove(),this.f.i(2));this.T&&(this.T.remove(),this.T.i(2))};
g.Uh=function(a){this.aa||(this.aa=new Lz(this),H(this,this.aa),Q(this.aa,this.uP,this),this.ba instanceof cA&&(Jz(this.aa,this.ba.Uh()),Jz(this.aa).X(2)));return m(a)?(this.aa.C.apply(this.aa,arguments),this):this.aa};g.uP=function(){this.i(32,1)};
g.I=function(){if(!this.ub())return this;U(this);m(this.J.color)&&T(this,16768)&&this.Ik(this.J.color);T(this,32768)&&(CH(this),this.w(32768));if(T(this,4)){this.h=this.Ma();this.hc=this.v?this.v.ff(this.h):this.h;var a=Math.min(this.h.height,this.h.width);this.IB=O(this.Of,a);this.bJ=O(this.Sc,a);this.i(7168)}T(this,512)&&(this.bC(),this.i(3104,2049),this.w(512));T(this,1024)&&this.i(24960);var a=[],b=[],c,d,e,f;d=!1;T(this,1026)&&(this.check(4)?this.c=this.D():(this.c||(this.c=Mh(),rv(this,this.c)),
this.c.zIndex(this.zIndex()),this.c.parent(this.D())),T(this,1024)&&this.Qf.ev(),oH(this.Qf,this.c),this.Js());T(this,1282)&&(c=this.labels(),f=this.rb().enabled()||this.Kb().enabled(),JH(this,c,f,this.Is(),SD,256)&&(d=this.zIndex()+this.eD+(this.Qd()?1:0),c.lg=d,c.i(8),this.check(SD)&&a.push(this.bl),b.push(c),d=!0),this.w(256));T(this,1154)&&(c=this.Ja(),f=this.ir().enabled()||this.kr().enabled(),JH(this,c,f,this.ZB(),4194304,128)&&(f=this.zIndex()+1.1E-5+(this.Qd()?1:0),c.lg=f,this.check(4194304)&&
a.push(this.Tk),b.push(c)),this.w(128));if(T(this,9218)){this.tb||(this.tb=[]);if(this.Fa)for(;this.Fa.length;)c=this.Fa.pop(),c.clear(),c.parent(null),this.tb.push(c);else this.Fa=[];mE(this)&&"none"!=this.error().mode()&&(this.uJ()||nE(this.error()))&&a.push(this.rP);this.w(8192)}T(this,17410)&&(c=this.Fk(),f=this.ks().enabled()||this.Rs().enabled(),JH(this,c,f,this.$B(),256,16384)&&(f=this.zIndex()+FG,c.lg=f,this.check(256)&&a.push(this.FA),b.push(c)),this.w(16384));c=a.length;if(T(this,1024)){f=
UD(this);var h;if(f){var k=UD(this);this.Kp(f,k);d&&this.dy();this.Jd.Jc(this.Qf);h=this.ob();for(h.reset();h.advance();)for(e=this.cn(h.U()),OH(this,h,k,f),this.Jd.J(h,e),d=0;da)&&(a=0);return a};
g.Ar=function(){this.m=[];this.h=[];this.b=[];this.f=0;this.w(1);for(var a=this.L(),b;a.advance();)b=a.get("value"),this.b.push(b),this.f+=b;if(this.b.length)if(this.f)for(this.m[0]=this.h[0]=100*this.b[0]/this.f,a=1;ad)throw Error("Index can not be masked by this View");return a>=d?(a-=d,2x[n]&&(x[n]=E)}else for(n in u)E=P(S.values[n]),Ex[n]&&(x[n]=E);for(n=0;n<=a.f;n++)E=P(S.c[n]),EB[n]&&
(B[n]=E);S=S.next}if(v)for(n=0;nd)if(d=~d,"exactOrNext"==c)d=d=mI)this.f=-1,this.b.length=0,oI(this,a,b,this.h,!1);else{if(this.c&2){this.f=-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.j){d&&(c|=1);if(a.j){for(var c=c|2,e=new sI(a.b,null,!0),f=0,d=e.next();d&&d.f;)f++,d=e.next();lb(a.b,0,f);if(d=a.b[0])d.b=null}tI(a,new sI(null,a.c,b))}else e=new sI(a.b,a.c,b),a.b=[],tI(a,e),c=mI;a.c.length=0;a.g=a.FJ;a.f=-1;a.j=0;fI(a);uI(a.m,c,!0)}}g=pI.prototype;
g.remove=function(a,b){for(var c=new sI(this.b,this.c,rI(this),a,b),d;d=c.next();)d.f=!0;this.j=2;this.v||qI(this);return this};function vI(a,b){b=rr(b);for(var c=new sI(a.b,a.c,rI(a)),d=NaN,e;(e=c.next())&&0a.key?(this.g=1==b?this.EJ:this.gC,this.c.push(a)):this.c[b-1]=a};g.EJ=function(a){var b=this.c.length,c=this.c[b-1];c.key>a.key?this.c.push(a):c.keya?~a:a];c?(this.f=this.lU,this.b=isNaN(d)?0:yb(this.g,aI,d),0>this.b&&(this.b=~this.b)):(this.f=this.nU,this.b=isNaN(d)?this.g.length-1:yb(this.g,bI,d),0>this.b&&(this.b=~this.b-1))}g=sI.prototype;g.Fp=function(){return null};
g.lU=function(){var a=this.c,b=this.g[this.b];if(a){if(b){if(0>$H(a,b))return this.c=this.c.next,a;this.b++;return b}this.c=this.c.next;this.f=this.kJ;return a}if(b)return this.b++,this.f=this.jU,b;this.next=this.Fp;return null};g.nU=function(){var a=this.c,b=this.g[this.b];if(a){if(b){if(0>$H(a,b))return this.c=this.c.next,a;this.b--;return b}this.c=this.c.next;this.f=this.kJ;return a}if(b)return this.b--,this.f=this.kU,b;this.next=this.Fp;return null};
g.kJ=function(){var a=this.c;if(a)return this.c=this.c.next,a;this.next=this.Fp;return null};g.jU=function(){var a=this.g[this.b++];if(a)return a;this.next=this.Fp;return null};g.kU=function(){var a=this.g[this.b--];if(a)return a;this.next=this.Fp;return null};g.RR=function(){var a=this.f();return!a||a.key>this.j?(this.next=this.Fp,null):a};g.AU=function(){return this.f()};function wI(a,b){this.f=Un(a);this.c=b||1;this.b=new Date(0);switch(this.f){case "year":return this.m=this.CN,this.next=this.yU,this;case "semester":return this.m=this.zN,this.next=this.vU,this;case "quarter":return this.m=this.xN,this.next=this.tU,this;case "month":return this.m=this.ey,this.next=this.sU,this;case "thirdofmonth":return this.m=this.AN,this.next=this.wU,this;case "week":return this.m=this.BN,this.next=this.xU,this;default:this.m=this.tN;this.next=this.mU;break;case "hour":this.m=this.uN;
this.next=this.oU;break;case "minute":this.m=this.wN;this.next=this.rU;break;case "second":this.m=this.yN;this.next=this.uU;break;case "millisecond":this.m=this.vN,this.next=this.qU}}g=wI.prototype;g.CN=function(a){this.b.setTime(Date.UTC(Er(this.b.getUTCFullYear(),this.c,a?a.getUTCFullYear():2E3)-this.c,0))};g.zN=function(a){var b=this.c;this.c*=6;this.ey(a);this.c=b};g.xN=function(a){var b=this.c;this.c*=3;this.ey(a);this.c=b};
g.ey=function(a){var b=Er(this.b.getUTCMonth()+12*this.b.getUTCFullYear(),this.c,a?a.getUTCMonth()+12*a.getUTCFullYear():24E3)-this.c;a=Math.floor(b/12);b%=12;0>b&&(b+=12);this.b.setTime(Date.UTC(a,b))};g.AN=function(a){a=Er(xI(this.b),this.c,a?xI(a):72E3)-this.c;var b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.b.setTime(Date.UTC(b,c,1+10*a))};g.BN=function(a){yI(this,6048E5*this.c,a||new Date(Date.UTC(2E3,0,2)))};g.tN=function(a){yI(this,864E5*this.c,a)};
g.uN=function(a){yI(this,36E5*this.c,a)};g.wN=function(a){yI(this,6E4*this.c,a)};g.yN=function(a){yI(this,1E3*this.c,a)};g.vN=function(a){yI(this,this.c,a)};function yI(a,b,c){a.b.setTime(Er(a.b.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)}function xI(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)}g.yU=function(){this.b.setUTCFullYear(this.b.getUTCFullYear()+this.c);return this.b.getTime()};
g.vU=function(){var a=this.b.getUTCMonth()+6*this.c,b=this.b.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.b.setUTCFullYear(b);this.b.setUTCMonth(a);return this.b.getTime()};g.tU=function(){var a=this.b.getUTCMonth()+3*this.c,b=this.b.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.b.setUTCFullYear(b);this.b.setUTCMonth(a);return this.b.getTime()};
g.sU=function(){var a=this.b.getUTCMonth()+this.c,b=this.b.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.b.setUTCFullYear(b);this.b.setUTCMonth(a);return this.b.getTime()};g.wU=function(){var a,b=this.b.getUTCDate();a=3*(12*this.b.getUTCFullYear()+this.b.getUTCMonth())+(10>=b?0:20>=b?1:2)+this.c;b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.b.setTime(Date.UTC(b,c,1+10*a));return this.b.getTime()};
g.xU=function(){var a=this.b.getTime()+6048E5*this.c;this.b.setTime(a);return a};g.mU=function(){var a=this.b.getTime()+864E5*this.c;this.b.setTime(a);return a};g.oU=function(){var a=this.b.getTime()+36E5*this.c;this.b.setTime(a);return a};g.rU=function(){var a=this.b.getTime()+6E4*this.c;this.b.setTime(a);return a};g.uU=function(){var a=this.b.getTime()+1E3*this.c;this.b.setTime(a);return a};g.qU=function(){var a=this.b.getTime()+this.c;this.b.setTime(a);return a};g.Sv=function(){return this.c};function zI(a,b,c,d,e){this.s=a;this.da=d;this.j=new YH(isNaN(b.zJ)?-1:b.zJ,[]);this.j.next=b.RS;this.v=b.cV;this.F=b.lastIndex-b.Rr+1||0;this.A=(this.c=e||null)?this.WR:this.sN;this.N=this.c?this.ZS:this.cT;this.G=c;this.reset()}g=zI.prototype;g.reset=function(){this.c&&this.c.reset();this.b=this.j;this.h=this.c?this.c.f():this.j.key;this.g=!1;this.f=NaN;this.m=!0;return this};g.advance=function(){return this.A()};g.get=function(a){return this.op(this.da?AI(this.s,a):BI(this.s,a))};
g.l=function(a,b){var c=this.G[this.U()];c||(c=this.G[this.U()]={});return 1a?this.b.c&&(b=this.b.c[~a]):b=this.b.values[a]);return b};g.Qz=function(){return this.f};g.U=function(){return this.N()};g.Ya=function(){return this.F};g.lR=function(){return this.f};g.cT=function(){return this.h};g.ZS=function(){return this.c.f()};
g.sN=function(){if(this.b){this.h++;if((this.b=this.b.next)&&this.b!=this.v)return this.g=!0,this.f=this.b.key,!0;this.b=null;this.g=!1;this.h=this.f=NaN}return!1};g.WR=function(){if(this.c.advance())return this.m&&(this.b=this.b.next),(this.m=!(!this.b||this.b.key!=this.c.b()||this.b==this.v))?(this.g=!0,this.f=this.b.key):(this.g=!1,this.f=this.c.b()),!0;this.b=null;this.f=NaN;return this.g=!1};var CI=zI.prototype;CI.reset=CI.reset;CI.advance=CI.advance;CI.get=CI.get;CI.getKey=CI.lR;
CI.getIndex=CI.U;CI.meta=CI.l;function DI(a){this.f=a;this.b=nI(a.b);this.g=!0;this.c=kI(this.b);this.j=!1;this.h=[];EI(this)}function EI(a){for(var b=a.b.Ya();a.h.lengthb&&(d=a,a=b,b=d);d=nI(this.f.b,c);if(this.j||d!=this.b||this.c.KK!=a||this.c.WH!=b)this.j=!1,this.b=d,this.g=!c,this.c=d.select(a,b),EI(this);return this};DI.prototype.m=function(a,b){var c=m(a)?new wI(a,P(b)):void 0,d=nI(this.f.b,c);this.b=d;this.g=!c;this.c=kI(d);EI(this);return this};DI.prototype.L=function(){return new zI(this.f,this.c,this.h,!this.g,null)};
function FI(a,b,c,d,e){this.Gc=a;this.b=b;this.f=c;this.g=d;this.G=e}g=FI.prototype;g.get=function(a){return this.op(this.f?AI(this.b,a):BI(this.b,a))};g.op=function(a){var b;C(a)&&0>a?this.Gc.c&&(b=this.Gc.c[~a]):b=this.Gc.values[a];return b};g.U=function(){return this.g};g.Qz=function(){return this.Gc.key};g.l=function(a,b){return 1e)this.c[a]={IK:e,OJ:e};else if(A(e)||!isNaN(e)){if((b=z(c))&&!D(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:eo(m(c)?c:a);b=d;"weightedAverage"==f&&(C(d)?b=Math.round(d):A(d)?(b=this.b.g[d]||NaN,isNaN(b)&&(b=d)):b=NaN,C(b)&&isNaN(b)&&(f="average"));U(this.b);d=this.b;c=e;var h=b;b=KI(f,c,h);b in d.s?b=d.s[b]:(c=LI(f,c,h),d.s[b]=
b=d.j.length,d.j.push(c),uI(d,4,!1));this.c[a]={IK:e,OJ:b};this.b.S(!0)}return this};function AI(a,b){return b in a.c?a.c[b].OJ:NaN}function BI(a,b){return b in a.c?a.c[b].IK:NaN}var MI=JI.prototype;MI.addField=MI.f;MI.createSelectable=MI.g;function NI(a,b){Gb.call(this);this.g=a;this.h=m(b)?b:NaN;this.clear()}G(NI,Gb);NI.prototype.clear=function(){this.value=void 0};NI.prototype.c=function(){var a=this.value;this.clear();return a};NI.prototype.M=function(){delete this.value;NI.o.M.call(this)};function OI(a){NI.call(this,a)}G(OI,NI);OI.prototype.clear=function(){this.value=this.f=0};OI.prototype.b=function(a){a=P(a);isNaN(a)||(this.value+=a,this.f++)};OI.prototype.c=function(){var a=this.f?this.value/this.f:NaN;this.clear();return a};function PI(a,b){this.f=b;NI.call(this,a)}G(PI,NI);PI.prototype.clear=function(){this.f.reset()};PI.prototype.b=function(a,b,c){this.f.considerItem(a,c)};PI.prototype.c=function(){var a=this.f.getResult();this.clear();return a};PI.prototype.M=function(){delete this.f;PI.o.M.call(this)};function QI(a,b,c){this.j=b;this.f=c;NI.call(this,a)}G(QI,NI);QI.prototype.clear=function(){this.value=[];this.m=[]};QI.prototype.b=function(a,b,c){this.value.push(a);this.m.push(c)};QI.prototype.c=function(){var a=this.j.call(this.f,this.value,this.m);this.clear();return a};QI.prototype.M=function(){delete this.j;delete this.f;QI.o.M.call(this)};function RI(a){NI.call(this,a)}G(RI,NI);RI.prototype.clear=function(){this.value=NaN};RI.prototype.b=function(a){isNaN(this.value)&&(this.value=P(a))};function SI(a){NI.call(this,a)}G(SI,NI);SI.prototype.b=function(a){m(this.value)||(this.value=a)};function TI(a){NI.call(this,a)}G(TI,NI);TI.prototype.clear=function(){this.value=NaN};TI.prototype.b=function(a){a=P(a);isNaN(a)||(this.value=a)};function UI(a){NI.call(this,a)}G(UI,NI);UI.prototype.b=function(a){m(a)&&(this.value=a)};function VI(a){NI.call(this,a)}G(VI,NI);VI.prototype.clear=function(){this.value=[]};VI.prototype.b=function(a){m(a)&&this.value.push(a)};function WI(a){NI.call(this,a)}G(WI,NI);WI.prototype.clear=function(){this.value=NaN};WI.prototype.b=function(a){a=P(a);isNaN(a)||this.value>=a||(this.value=a)};function XI(a){NI.call(this,a)}G(XI,NI);XI.prototype.clear=function(){this.value=NaN};XI.prototype.b=function(a){a=P(a);isNaN(a)||this.value<=a||(this.value=a)};function YI(a){NI.call(this,a)}G(YI,NI);YI.prototype.clear=function(){this.value=0};YI.prototype.b=function(a){a=P(a);isNaN(a)||(this.value+=a)};function ZI(a,b){NI.call(this,a,b)}G(ZI,NI);ZI.prototype.clear=function(){this.value=this.f=0};ZI.prototype.b=function(a,b){a=P(a);b=P(b)||0;isNaN(a)||(this.value+=a*b,this.f+=b)};ZI.prototype.c=function(){var a=this.f?this.value/this.f:NaN;this.clear();return a};function LI(a,b,c){if(D(a))return new QI(b,a,c);if(z(a))return new PI(b,a);switch(a){case "average":return new OI(b);case "first":return new RI(b);case "firstValue":return new SI(b);case "lastValue":return new UI(b);case "list":return new VI(b);case "max":return new WI(b);case "min":return new XI(b);case "sum":return new YI(b);case "weightedAverage":return new ZI(b,c);default:case "last":return new TI(b)}}
function KI(a,b,c){C(b)&&(b=b.toFixed(0));if(z(a))return ka(a)+"|"+b+"|"+hr(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 C(c)&&(c=c.toFixed(0)),"w"+b+":"+String(c);default:case "last":return"l"+b}};function $I(a,b,c,d,e){ld.call(this);this.f=new pI(this,a,b,c,d,e);this.b={};this.s={};this.g={};this.v=0;this.h=[];this.j=[];this.c=[];this.m=[]}G($I,Xu);g=$I.prototype;g.ia=16;
g.nR=function(a,b,c){var d=this.f,e=!d.v;e&&(d.v&&K(101),d.v=!0);if(A(a)){var f=new cI(d),h=new Lp;z(c)&&(h.Os(c.rowsSeparator),h.Er(c.columnsSeparator),h.ns(c.ignoreTrailingSpaces),h.ls(c.ignoreFirstRow));h.vr(a,f);!0===b&&(b=f.Sv())}else if(q(a)){for(f=c=0;fk){var p=~k;kb(d,n,p);(k=this.search("id",n))?(k=k instanceof gJ?k:k[0],kb(e,k,p),k.l("nc",!0),K(1,null,[n])):kb(e,l,p)}else K(2,null,[n])}for(b=0;bk?((k=this.search("id",l))?(k=k instanceof gJ?k:k[0],qJ(k,h)):(this.f.push(h),K(3,null,[l])),rJ(this,h)):(k=e[k],qJ(k,h),k.l("nc")&&rJ(this,h))):(this.f.push(h),rJ(this,h));for(b=0;ba?kb(d,e,~a):(a=d[a],q(a.value)?(a=a.value,jb(a,b)||a.push(b)):a.value!=b&&(a.value=[a.value],a.value.push(b)))}else for(e in a.b)sJ(a,b,e,d)}
function tJ(a,b,c,d){if(c){if(d)for(var e=b.gb();e--;)tJ(a,b.xc(e),c,d);if(d=a.b[c])e={key:b.get(c)},a.h[c]&&(e.key=""+e.key),e=vb(d,e,a.gv),(d=d[e])&&(q(d.value)&&1k||b=d)return[];a=new tC(a);c=[];if(1==b)for(b=0;bf?(kb(d,e,-(f+1)),d=!0):d=!1;b=d||b}b&&this.i(1024,5);return b};g.sB=function(a){if(!this.m)return!1;q(a)||(a=[a]);for(var b=!1,c=0;c=this.b.Rr&&a<=this.b.lastIndex};
function AJ(a,b,c,d,e){var f=a.data(),h=f.L(),k=a.Ua(),l=!1,n=!1,p=a.xf(),r,t,u=[];a.Ud()&&a.Hh()&&u.push("zIndex");p&&u.push("size");a.Li()&&u.push("outliers");mE(a)&&(vH(a.wa())&&(f.Id("xError")&&(u.push("xError"),l=!0),f.Id("xLowerError")&&(u.push("xLowerError"),l=!0),f.Id("xUpperError")&&(u.push("xUpperError"),l=!0)),vH(a.Ua())&&(f.Id("valueError")&&(u.push("valueError"),n=!0),f.Id("valueLowerError")&&(u.push("valueLowerError"),n=!0),f.Id("valueUpperError")&&(u.push("valueUpperError"),n=!0)));
k instanceof JB&&(t=NB(k))&&f.Id(t)&&u.push(t);var v=a.wa();v instanceof JB&&(t=NB(v))&&f.Id(t)&&u.push(t);for(v=a.KI();h.advance();){var w=d(h.get("x"));if(!e(w)){var x={};x.x=w;var y,B,w=!1,E=UD(a);r=0;for(y=E.length;rr&&!a.B("displayNegative"))&&(w=!0);r={};r.missing=w?1:0;r.rawIndex=h.U();x={data:x,l:r};a.xJ(h,x,v);c(b,x)}}a.i(512);return a.b={data:b,O:a,
CT:a.check(SD)&&(f.Id("label")||f.Id("hoverLabel")||f.Id("selectLabel")),DT:a.check(4194304)&&(f.Id("marker")||f.Id("hoverMarker")||f.Id("selectMarker")),ET:a.Li()&&(f.Id("outliers")||f.Id("outlierMarker")||f.Id("hoverOutlierMarker")||f.Id("selectOutlierMarker")),FI:l,FT:n,BT:l||n}}g.KI=function(){return null};g.xJ=function(){};g.lJ=function(a){return a};
function iE(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.b.data[c-1].data.x&&c--)),c):-1:a.pc.Uz("x",b)}
g.Lv=function(a,b){if(this.b){var c=[],d,e;this.b.Sn?(d=this.b.Sn[hr(a)],e=this.b.Sn[hr(b)]):(d=yb(this.b.data,function(b){return a-b.data.x}),0>d&&(d=~d),e=yb(this.b.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.b.data.length-1);d<=e;d++)c.push(d)}return c}c=this.wa();if(e=c instanceof JB)a=c.tl(a),b=c.tl(b);return this.pc.Lv(a,b,e)};
function xE(a,b,c,d,e){var f=a.L();f.reset();for(var h=[];f.advance();){var k=a,l=f,n=b,p=c,r=d,t=e,u=void 0,v;if(k.Qf instanceof sH&&(u=l.l(k.Qf.m)))a:{v=u;var w=n,x=p,k=r,y=t,B=void 0;for(B in v){var E=v[B];if(E instanceof Qg&&(E=E.Oa(),E.left<=w+k&&w<=E.left+E.width&&E.top<=x+y&&x<=E.top+E.height)){v=!0;break a}}v=!1}else v=l.l(k.j.cb+"X"),w=l.l(k.j.cb),k.j.cb==k.j.eb?v=n<=v&&v<=n+r&&p<=w&&w<=p+t:(x=l.l(k.j.eb+"X"),k=l.l(k.j.eb),v=Zp([v,w,x,k],[n,p,n+r,p,n+r,p+t,n,p+t]));!v&&(u=l.l("marker"))&&
(l=u.Bd().Oa(),n=new I(n,p,r,t),v=l.left<=n.left+n.width&&n.left<=l.left+l.width&&l.top<=n.top+n.height&&n.top<=l.top+l.height);v&&h.push(f.U())}return h}g.$e=function(a){var b=this.L();this.Ud()&&this.Qf.ej(a,b.l("shapes"));this.Li()&&this.FA(b,a,!0);this.Jd.ox(b,a);this.check(4194304)&&this.Tk(b,a,!0);this.check(SD)&&this.bl(b,a,!0)};g.Kf=ea;g.Oe=function(a){var b=this.L();this.Qf.ej(a,b.l("shapes"));this.Jd.ox(b,a);this.Li()&&this.FA(b,a,!0)};
g.Lc=function(a){return m(a)?(a=null===a?null:nn(a),a!=this.V&&(this.V=a),this):this.V};g.Cb=function(a){return m(a)?this:this.ba.yc().Cb()};g.De=function(a){m(a)?this.Ee(a):sD(this);return this};g.Ub=function(a){if(!Tz(this.state,N)&&!Zz(this.state.ze(),N)||!this.enabled())return this;var b;m(a)?b=a:b=this.state.b==bp?NaN:void 0;this.state.h(N,b);return this};
g.Ee=function(a){if(!this.enabled())return this;if(q(a)){for(var b=Xz(this.state,N),c=0;cc&&(c=NaN);a.pointIndex=c}return a};g.pe=function(a){(a=this.Nd(a))&&this.dispatchEvent(a)};
g.Nd=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.Fk()||isNaN(a.markerIndex)?"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex):
c=NH(this,a.markerIndex);c=P(c);a.pointIndex=c;var d=this.we();d.select(c)||d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a,point:this.Ec(c)}};
g.Ec=function(a){var b;this.xf()?b=new zG(this,a):b=new xG(this,a);var c=this.ba;c.Nr();var d=this.check($D|aE),e=d?b.get("high")-b.get("low"):b.get("value");b.ca("index",a);m(e)&&b.ca("value",e);var f=b.get("size"),h;C(c.ca("dataPlotXSum"))&&(h=e/c.ca("dataPlotXSum"),b.ca("xPercentOfTotal",100*h));C(this.ca("seriesXSum"))&&(h=e/this.ca("seriesXSum"),b.ca("xPercentOfSeries",100*h));C(this.ca("seriesBubbleSizeSum"))&&(h=f/this.ca("seriesBubbleSizeSum"),b.ca("bubbleSizePercentOfSeries",100*h),h=f/c.ca("dataPlotBubbleSizeSum"),
b.ca("bubbleSizePercentOfTotal",100*h),b.ca("bubbleSize",f));h=d?this.ca("catYRangeSumArr_"):this.ca("catYSumArr_");f=b.get("x");h?(b.ca("categoryName",f),f=h[a],d?(h=e/this.ca("seriesYRangeSum"),b.ca("yPercentOfSeries",100*h),h=e/c.ca("dataPlotYSum"),b.ca("yPercentOfTotal",100*h),b.ca("yPercentOfCategory",e/f*100),h=f/c.ca("dataPlotYSum"),b.ca("categoryYRangePercentOfTotal",100*h),b.ca("categoryYRangeSum",f),b.ca("categoryYRangeMax",this.ca("catYRangeMaxArr_")[a]),b.ca("categoryYRangeMin",this.ca("catYRangeMinArr_")[a]),
b.ca("categoryYRangeAverage",this.ca("catYRangeAvgArr_")[a]),b.ca("categoryYRangeMedian",this.ca("catYRangeMedianArr_")[a]),b.ca("categoryYRangeMode",this.ca("catYRangeModeArr_")[a])):(h=e/this.ca("seriesYSum"),b.ca("yPercentOfSeries",100*h),h=e/c.ca("dataPlotYSum"),b.ca("yPercentOfTotal",100*h),b.ca("yPercentOfCategory",e/f*100),h=f/c.ca("dataPlotYSum"),b.ca("categoryYPercentOfTotal",100*h),b.ca("categoryYSum",f),b.ca("categoryYMax",this.ca("catYMaxArr_")[a]),b.ca("categoryYMin",this.ca("catYMinArr_")[a]),
b.ca("categoryYAverage",this.ca("catYAvgArr_")[a]),b.ca("categoryYMedian",this.ca("catYMedianArr_")[a]),b.ca("categoryYMode",this.ca("catYModeArr_")[a]))):(h=f/this.ca("seriesXSum"),b.ca("xPercentOfSeries",100*h),h=e/this.ca("seriesYSum"),b.ca("yPercentOfSeries",100*h),h=f/c.ca("dataPlotXSum"),b.ca("xPercentOfTotal",100*h),h=e/c.ca("dataPlotYSum"),b.ca("yPercentOfTotal",100*h));return b};
g.u=function(){var a=zJ.o.u.call(this);if(this.b){for(var b=[],c=this.data(),d=new TH(this);d.advance();){var e=d.l("rawIndex");isNaN(e)?b.push({x:d.get("x")}):b.push(xC(c,e))}a.data=b}else a.data=this.data().u();m(this.Lc())&&(a.selectionMode=this.Lc());return a};g.H=function(a,b){zJ.o.H.call(this,a,b);"data"in a&&this.data(a.data||null);this.Lc(a.selectionMode)};g.M=function(){Jb(this.la);delete this.pc;this.Xb=this.b=this.state=this.g=this.la=null;zJ.o.M.call(this)};var CJ=zJ.prototype;
CJ.data=CJ.data;CJ.xScale=CJ.wa;CJ.hover=CJ.De;CJ.unhover=CJ.Ub;CJ.select=CJ.select;CJ.unselect=CJ.Vb;CJ.selectionMode=CJ.Lc;CJ.getPoint=CJ.Ec;CJ.excludePoint=CJ.YH;CJ.includePoint=CJ.sB;CJ.keepOnlyPoints=CJ.UI;CJ.includeAllPoints=CJ.rB;CJ.getExcludedPoints=CJ.cF;function DJ(a){W.call(this);this.Fa=this.ea=!1;this.R=this.Ea=this.v=this.J=this.N=this.b=this.f=this.c=null;this.s=0;this.m=EJ;this.j=new I(0,0,0,0);this.g=new I(0,0,0,0);this.V=this.K=this.T=null;this.pa=0;this.Qa=this.Na=this.ua=!1;this.Ha=this.aa=null;this.A="bottom";this.G=!0;this.tb=!!a;this.F=!1}G(DJ,W);var EJ=1E6;g=DJ.prototype;g.ia=W.prototype.ia;g.Z=W.prototype.Z|464;g.Zj=function(a){return m(a)?(a=!!a,this.ea!=a&&(this.ea=a,this.i(256,9)),this):this.ea};
g.Xl=function(a){this.aa||(this.aa=new FJ(this));return m(a)?(this.aa.na(!1,a),this):this.aa};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Ke.apply(null,arguments);this.la!=k&&(this.la=k,this.i(16,1));return this}return this.la};g.qC=function(a,b,c,d,e,f,h){if(m(a)){var k=Ke.apply(null,arguments);this.ma!=k&&(this.ma=k,this.i(16,1));return this}return this.ma};g.WB=function(a,b,c,d,e){if(m(a)){var f=Re.apply(null,arguments);f!=this.Da&&(this.Da=f,this.i(16,1));return this}return this.Da};
g.height=function(a){return m(a)?(a=or(a)||this.bb,a!=this.bb&&(this.bb=a,this.i(4,9)),this):this.bb};g.Kz=function(a){return m(a)?(a=pr(a),a!==this.oa&&(this.oa=a,this.i(4,9)),this):this.oa};g.Jz=function(a){return m(a)?(a=pr(a),a!==this.ed&&(this.ed=a,this.i(4,9)),this):this.ed};g.nf=function(a,b,c,d){this.Ha||(this.Ha=new yw,Q(this.Ha,this.$P,this));return m(a)?(this.Ha.C.apply(this.Ha,arguments),this):this.Ha};g.$P=function(a){V(a,2)&&this.i(4,9)};
g.Bu=function(a){return m(a)?(a=vn(a),this.A!=a&&(this.A=a,this.i(196,9)),this):this.A};g.zc=function(a){return m(a)?(a=!!a,this.F!=a&&(this.F=a,this.i(16,1)),this):this.F};g.fb=function(){return"bottom"==this.A||"top"==this.A};function GJ(a){return a.fb()?"ew-resize":"ns-resize"}g.remove=function(){this.c&&this.c.remove()};g.Ap=function(){return this.enabled()&&(!this.ea||this.G||!!this.s||this.m!=EJ)};
g.I=function(){if(!this.ub())return this;this.w(256);if(!this.Ap())return this.remove(),this.i(2),this;if(Zu(this))return this;this.c||(this.c=Mh(),this.f=uh(),this.f.zIndex(100),this.b=uh(),this.b.zIndex(100),this.J=this.c.rect(),this.J.zIndex(1),this.Ea=ch(),this.J.clip(this.Ea),this.v=this.c.rect(),this.v.zIndex(50),this.R=ch(),this.v.clip(this.R),this.N=this.c.path(),this.N.zIndex(99),rv(this,this.c,this.ZP,this.fU),this.da.ja(this.f,"mouseover",this.OK),this.da.ja(this.f,"mouseout",this.NK),
og(this.da,this.f,"mousedown",this.Tp,void 0),og(this.da,this.f,"touchstart",this.Tp,void 0),this.da.ja(this.b,"mouseover",this.OK),this.da.ja(this.b,"mouseout",this.NK),og(this.da,this.b,"mousedown",this.Tp,void 0),og(this.da,this.b,"touchstart",this.Tp,void 0),og(this.da,this.v,"mousedown",this.Tp,void 0),og(this.da,this.v,"touchstart",this.Tp,void 0),this.da.ja(this.J,"click",this.BU));T(this,2)&&(this.c.parent(this.D()),this.w(2));T(this,8)&&(this.c.zIndex(this.zIndex()),this.w(8));T(this,128)&&
(this.f.cursor(GJ(this)),this.b.cursor(GJ(this)),this.v.cursor(GJ(this)),this.i(84),this.w(128));T(this,4)&&(HJ(this),this.w(4));if(T(this,64)){var a=(Math.max(We(this.Da),5)-1)/2;if(this.fb()){var b=this.j.top;if(this.Xl().enabled())a=b+this.j.height/2,this.f.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.b.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.j.height;this.f.clear().moveTo(-a,b).lineTo(a,b).lineTo(a,c).lineTo(-a,c).close();this.b.clear().moveTo(-a,b).lineTo(a,b).lineTo(a,c).lineTo(-a,c).close()}}else b=this.j.left,this.Xl().enabled()?(a=b+this.j.width/2,this.f.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.b.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.j.height,this.f.clear().moveTo(b,-a).lineTo(b,a).lineTo(c,a).lineTo(c,-a).close(),this.b.clear().moveTo(b,-a).lineTo(b,a).lineTo(c,a).lineTo(c,-a).close());this.i(16);this.w(64)}if(T(this,16)){this.J.ee(this.j);this.v.ee(this.j);
this.Ea.fg(this.j);this.J.fill("none"==this.la?Go:this.la).stroke(null);this.v.fill("none"==this.ma?Go:this.ma).stroke(null);this.N.stroke(this.Da).fill(null);IJ(this,this.f,this.Na);IJ(this,this.b,this.Qa);switch(this.A){case "top":a=this.j;b=this.s;c=this.m;this.F&&(b=EJ-b,c=EJ-c);var b=a.left+b/EJ*a.width,d=a.left+c/EJ*a.width;this.f.Eb(1,0,0,1,b,0);this.b.Eb(1,0,0,1,d,0);c=Math.min(b,d);b=Math.max(b,d);this.R.fg(c,a.top,b-c,a.height);this.N.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.j;b=this.s;c=this.m;this.F||(b=EJ-b,c=EJ-c);b=a.top+b/EJ*a.height;d=a.top+c/EJ*a.height;this.f.Eb(1,0,0,1,0,b);this.b.Eb(1,0,0,1,0,d);c=Math.min(b,d);b=Math.max(b,d);this.R.fg(a.left,c,a.width,b-c);this.N.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.j;b=this.s;c=this.m;this.F&&(b=EJ-b,c=EJ-c);b=a.left+b/EJ*a.width;d=a.left+c/EJ*a.width;this.f.Eb(1,0,0,1,b,0);this.b.Eb(1,0,0,1,d,0);c=Math.min(b,d);b=Math.max(b,d);this.R.fg(c,a.top,b-c,a.height);this.N.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.j,b=this.s,c=this.m,this.F&&(b=EJ-b,c=EJ-c),b=a.top+b/EJ*a.height,d=a.top+c/EJ*a.height,this.f.Eb(1,0,0,1,0,b),this.b.Eb(1,0,0,
1,0,d),c=Math.min(b,d),b=Math.max(b,d),this.R.fg(a.left,c,a.width,b-c),this.N.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.Xl().Zj()||JJ(this);this.w(16)}return this};function KJ(a,b,c){b=LJ(b);c=LJ(c);if(b>c){var d=b;b=c;c=d}if(b!=a.s||c!=a.m)a.s=b,a.m=c,a.i(16,1)}g.gy=function(a){return m(a)?(this.G=!!a,this):this.G};
g.lc=function(){var a=this.W(),a=a?a.clone():qq(0,0,0,0);this.Ap()&&(T(this,4)&&(HJ(this),this.w(4)),this.fb()?(a.height-=this.g.height,"top"==this.A&&(a.top+=this.g.height)):(a.width-=this.g.width,"left"==this.A&&(a.left+=this.g.width)));return a};
function HJ(a){var b=a.W(),c=a.fb()?b.height:b.width,d=O(a.bb,c);null===a.oa||(d=Math.max(d,O(a.oa,c)));null===a.ed||(d=Math.min(d,O(a.ed,c)));d=a.fb()?a.nf().gf(d):a.nf().hf(d);a.g.left=b.left;a.g.top=b.top;a.fb()?(a.g.width=b.width,a.g.height=d,"bottom"==a.A&&(a.g.top+=b.height-d)):(a.g.width=d,a.g.height=b.height,"right"==a.A&&(a.g.left+=b.width-d));var e;a.tb||a.fb()?a.j=a.nf().ff(a.g):(e=a.nf(),"left"==a.A?(c=O(e.B("left"),a.g.width),b=O(e.B("top"),a.g.height),d=O(e.B("right"),a.g.width),e=O(e.B("bottom"),
a.g.height)):(c=O(e.B("right"),a.g.width),b=O(e.B("bottom"),a.g.height),d=O(e.B("left"),a.g.width),e=O(e.B("top"),a.g.height)),a.j.left=a.g.left+e,a.j.top=a.g.top+c,a.j.width=a.g.width-e-b,a.j.height=a.g.height-c-d);a.i(80)}g.ZP=function(a){a.f();!kr(this.c,a.relatedTarget)&&this.Td(a)&&(this.ua=!0,JJ(this))};g.fU=function(a){a.f();!kr(this.c,a.relatedTarget)&&this.Td(a)&&(this.ua=!1,MJ(this))};
g.OK=function(a){a=a.target;a instanceof nh&&(a==this.f?IJ(this,this.f,this.Na=!0):a==this.b&&IJ(this,this.b,this.Qa=!0))};g.NK=function(a){a=a.target;a instanceof nh&&(a==this.f?IJ(this,this.f,this.Na=!1):a==this.b&&IJ(this,this.b,this.Qa=!1))};
g.Tp=function(a){if(a.c instanceof Qg){var b=a.c,c;b!=this.f||this.T?b!=this.b||this.K?b!=this.v||this.V||(this.V=c=new NJ(this,this.v,!1)):this.K=c=new NJ(this,this.b,!0):this.T=c=new NJ(this,this.f,!0);c&&(this.da.ja(c,"start",this.YP),this.da.ja(c,"end",this.XP),c.vg(a.b))}};g.BU=function(a){var b=Ql(this.c.ha());a=this.fb()?a.clientX-b.x:a.clientY-b.y;OJ(this,"backgroundClick","scrollerchangestart")&&(PJ(this,!1,a),OJ(this,"backgroundClick","scrollerchangefinish"))};
g.YP=function(a){var b;this.G&&a.f!=this.V?(a=GJ(this),b="thumbDrag"):(a=GJ(this),b="selectedRangeDrag");if(b=OJ(this,b,"scrollerchangestart"))this.pa++,this.f.cursor(null),this.b.cursor(null),this.v.cursor(null),qg(document.body,"cursor",a);return b};g.XP=function(a){this.pa=Math.max(this.pa-1,0);MJ(this);this.f.cursor(GJ(this));this.b.cursor(GJ(this));this.v.cursor(GJ(this));qg(document.body,"cursor","");OJ(this,this.G&&a.f!=this.V?"thumbDrag":"selectedRangeDrag","scrollerchangefinish")};
function JJ(a){a.Fa||(a.c.nc(a.f),a.c.nc(a.b),a.Fa=!0)}function MJ(a){a.Fa&&a.Xl().Zj()&&!a.pa&&!a.ua&&(a.c.removeChild(a.f),a.c.removeChild(a.b),a.Fa=!1)}function IJ(a,b,c){a=a.Xl();a.enabled()?c?(c=a.zu(),a=a.Au()):(c=a.fill(),a=a.stroke()):(c=Go,a="none");b.fill(c);b.stroke(a)}function LJ(a){return ee(Math.round(a*EJ),0,EJ)}function OJ(a,b,c,d,e){return a.dispatchEvent({type:c,startRatio:(m(d)?d:a.s)/EJ,endRatio:(m(e)?e:a.m)/EJ,source:b})}
function PJ(a,b,c){c=QJ(a,b,c);var d=a.j;switch(a.A){case "right":d=(d.top+d.height-c)/d.height;break;case "left":d=(c-d.top)/d.height;break;default:d=(c-d.left)/d.width}a.F&&(d=1-d);if(a.G&&b==a.f)c=d,d=a.m/EJ,b="thumbDrag";else if(a.G&&b==a.b)c=a.s/EJ,b="thumbDrag";else{var e=(a.m-a.s)/EJ/2;c=d-e;d+=e;b=!0===b?"selectedRangeDrag":"backgroundClick"}c=LJ(c);d=LJ(d);c==d&&(d+=dd&&(e=a.f,a.f=a.b,a.b=e,e=a.T,a.T=a.K,a.K=e,e=c,c=d,d=e);c==a.s&&d==a.m||!OJ(a,b,"scrollerchange",c,d)||(a.s=c,
a.m=d,a.i(16,1))}function QJ(a,b,c){var d=a.j,e=a.fb();a=ja(b)||!a.G?(a.m-a.s)/EJ*(e?d.width:d.height)/2:0;return e?ee(c,d.left+a,d.left+d.width-a):ee(c,d.top+a,d.top+d.height-a)}function RJ(a,b){var c;c=a.G&&b==a.f?a.s:a.G&&b==a.b?a.m:(a.s+a.m)/2;c/=EJ;a.F&&(c=1-c);var d=a.j;return a.fb()?d.left+d.width*c:"left"==a.A?d.top+d.height*c:d.top+d.height*(1-c)}
g.M=function(){Jb(this.c);this.v=this.J=this.N=this.b=this.f=this.c=null;Jb(this.T);this.T=null;Jb(this.K);this.K=null;Jb(this.V);this.V=null;Jb(this.aa);this.aa=null;Jb(this.Ha);this.Ha=null;DJ.o.M.call(this)};g.u=function(){var a=DJ.o.u.call(this);a.fill=this.fill();a.selectedFill=this.qC();a.outlineStroke=this.WB();a.height=this.height();a.minHeight=this.Kz();a.maxHeight=this.Jz();a.orientation=this.Bu();a.autoHide=this.Zj();a.allowRangeChange=this.gy();a.thumbs=this.Xl().u();return a};
g.H=function(a,b){DJ.o.H.call(this,a,b);this.Bu(a.orientation);this.Zj(a.autoHide);this.gy(a.allowRangeChange);this.fill(a.fill);this.qC(a.selectedFill);this.WB(a.outlineStroke);this.height(a.height);this.Kz(a.minHeight);this.Jz(a.maxHeight);this.Xl().na(!!b,a.thumbs)};function NJ(a,b,c){Hg.call(this,b.P());this.f=a;this.s=c?b:null;this.h=void 0;this.F=ra(function(){this.h=void 0;PJ(this.f,this.s||!0,this.K)},this);this.da=Math.pow(3,2);this.ja("end",this.WP)}G(NJ,Hg);g=NJ.prototype;
g.WP=function(){m(this.h)&&(window.cancelAnimationFrame(this.h),this.F(0))};g.fk=function(){this.f.fb()?(this.b=RJ(this.f,this.s),this.c=0):(this.b=0,this.c=RJ(this.f,this.s))};g.pl=function(a,b){this.K=this.f.fb()?a:b;m(this.h)||(this.h=window.requestAnimationFrame(this.F))};g.rs=function(a){return this.f.fb()?QJ(this.f,this.s,a):0};g.qn=function(a){return this.f.fb()?0:QJ(this.f,this.s,a)};function FJ(a){this.b=a}g=FJ.prototype;
g.enabled=function(a){return m(a)?(a=!!a,this.f!=a&&(this.f=a,this.b.i(16,1)),this):this.f};g.Zj=function(a){return m(a)?(a=!!a,this.c!=a&&(this.c=a,this.b.i(16,1)),this):this.c};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Ke.apply(null,arguments);this.g!=k&&(this.g=k,this.b.i(16,1));return this}return this.g};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Re.apply(null,arguments);f!=this.m&&(this.m=f,this.b.i(16,1));return this}return this.m};
g.zu=function(a,b,c,d,e,f,h){if(m(a)){var k=Ke.apply(null,arguments);this.h!=k&&(this.h=k,this.b.i(16,1));return this}return this.h};g.Au=function(a,b,c,d,e){if(m(a)){var f=Re.apply(null,arguments);f!=this.j&&(this.j=f,this.b.i(16,1));return this}return this.j};g.u=function(){var a={};a.fill=L(this.fill());a.stroke=L(this.stroke());a.hoverFill=L(this.zu());a.hoverStroke=L(this.Au());a.enabled=this.enabled();a.autoHide=this.Zj();return a};
g.na=function(a,b){if(m(b)){var c;ja(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.zu(b.hoverFill),this.Au(b.hoverStroke),this.Zj(b.autoHide))}return this};var SJ=DJ.prototype;SJ.fill=SJ.fill;SJ.selectedFill=SJ.qC;SJ.outlineStroke=SJ.WB;SJ.height=SJ.height;SJ.minHeight=SJ.Kz;SJ.maxHeight=SJ.Jz;SJ.thumbs=SJ.Xl;SJ.orientation=SJ.Bu;SJ.allowRangeChange=SJ.gy;SJ.autoHide=SJ.Zj;SJ=FJ.prototype;SJ.enabled=SJ.enabled;
SJ.autoHide=SJ.Zj;SJ.fill=SJ.fill;SJ.stroke=SJ.stroke;SJ.hoverFill=SJ.zu;SJ.hoverStroke=SJ.Au;function TJ(){DJ.call(this,!0);this.h="afterAxes"}G(TJ,DJ);TJ.prototype.position=function(a){if(m(a)){a:{a=String(a).toLowerCase();switch(a){case "beforeaxes":case "before":case "ba":case "b":case "inside":case "in":case "i":a="beforeAxes";break a}a="afterAxes"}a!=this.h&&(this.h=a,this.i(20,9));return this}return this.h};TJ.prototype.u=function(){var a=TJ.o.u.call(this);a.position=this.position();a.inverted=this.zc();return a};
TJ.prototype.H=function(a,b){TJ.o.H.call(this,a,b);this.position(a.position);this.zc(a.inverted)};var UJ=TJ.prototype;UJ.position=UJ.position;UJ.inverted=UJ.zc;function VJ(a,b){this.g=b;this.h=a;this.c=0;this.b=1;this.f=!0;this.K=null}function WJ(a){a.h.XH();if(a.K){var b;(b=a.K.scale)||(b=a.h,b=a.g?b.wa():b.Ua());if(a.K.count&&b instanceof JB)b=a.K.count/b.values().length,a.K.VS?a.Tl(1-b,1):a.Tl(0,b);else if(m(a.K.start)&&m(a.K.end)&&b){var c=eB(b,b.transform(a.K.start,0)),d=eB(b,b.transform(a.K.end,1));c>d&&(c=eB(b,b.transform(a.K.end,0)),d=eB(b,b.transform(a.K.start,1)));a.Tl(c,d)}else a.K=null}}g=VJ.prototype;
g.Tl=function(a,b){a=ee(P(a),0,1);isNaN(a)&&(a=this.c);b=ee(P(b),0,1);isNaN(b)&&(b=this.b);this.K=null;if(this.c!=a||this.b!=b)this.c=a,this.b=b,this.h.i(268435456,1);return this};g.vK=function(a,b,c){this.K={start:a,end:b,scale:c};this.h.i(268435456,1);return this};g.uK=function(a,b,c){this.K={count:rr(a),scale:c,VS:!!b};this.h.i(268435456,1);return this};g.Wj=function(){WJ(this);return this.c};g.Vj=function(){WJ(this);return this.b};
g.jv=function(a){return m(a)?(a=!!a,this.f!=a&&(this.f=a),this):this.f};g.C=function(a){m(a)&&(isNaN(+a)?z(a)&&(this.jv(a.continuous),m(a.startValue)&&m(a.endValue)?this.vK(a.startValue,a.endValue,a.scale instanceof bB?a.scale:void 0):m(a.pointsCount)?this.uK(a.pointsCount,a.fromEnd,a.scale instanceof bB?a.scale:void 0):this.Tl(a.startRatio,a.endRatio)):this.Tl(0,1/Math.abs(+a||1)));return this};g.u=function(){return{startRatio:this.Wj(),endRatio:this.Vj(),continuous:this.f}};var XJ=VJ.prototype;
XJ.setTo=XJ.Tl;XJ.setToValues=XJ.vK;XJ.setToPointsCount=XJ.uK;XJ.getStartRatio=XJ.Wj;XJ.getEndRatio=XJ.Vj;XJ.continuous=XJ.jv;function YJ(a){nG.call(this,m(a)?a:!0);this.bd=new VJ(this,!0);this.Sh=this.Sb=0;this.ib=null;this.Ll=!1;this.Th=0}G(YJ,nG);g=YJ.prototype;g.ux=function(a){return m(a)?(this.Sh!=a&&(this.Sh=ee(P(a),0,90),this.i(4,9)),this):this.Sh};g.vx=function(a){return m(a)?(this.Sb!=a&&(this.Sb=C(a)?Math.max(a,0):a,this.i(4,9)),this):this.Sb};g.cD=function(a){K(405,null,["chart.zDepth","chart.zAspect with chart.zPadding"]);return m(a)?(this.ib!=a&&(this.ib=null===a?a:P(a),this.i(4,9)),this):this.ib};
g.Qg=function(a){return m(a)?(a=!!a,this.Ll!=a&&(this.Ll=a,this.i(131076,9)),this):this.Ll};g.wx=function(a){return m(a)?(a=P(a),this.Th!==a&&(this.Th=Math.max(a,0),this.i(4,9)),this):this.Th};g.Z=nG.prototype.Z|805306368;g.XH=function(){eE(this);T(this,65536)&&this.jf().K&&fE(this)};g.jf=function(a){return m(a)?(U(this),this.bd.C(a),this.S(!0),this):this.bd};
g.Pg=function(a){this.Na||(this.Na=new TJ,this.Na.Sa(this),Q(this.Na,this.yV,this),this.da.ja(this.Na,"scrollerchange",this.Ps),this.da.ja(this.Na,"scrollerchangefinish",this.Ps),this.i(536870916,1));return m(a)?(this.Na.C(a),this):this.Na};g.yV=function(a){var b=536870912,c=1;V(a,8)&&(b|=4,c|=8);this.i(b,c)};g.Ps=function(a){this.bd.jv()^"scrollerchangefinish"==a.type&&(a.preventDefault(),U(this),this.bd.Tl(a.startRatio,a.endRatio),this.S(!0))};g.ol=function(a,b){return new zJ(this,this,a,b,!0)};
g.Ek=function(a){return Mn(a)};g.mp=function(a){var b=this.Pg();a=ZJ(b,a);return YJ.o.mp.call(this,a.FG,a.$J)};g.Tu=function(a,b){return $J(this,a,this.Pg(),b)};function ZJ(a,b){var c="beforeAxes"==a.position();a.nf(0);a.W(b);var d=a.fb(),e=NaN;c?e=d?b.height-a.lc().height:b.width-a.lc().width:b=a.lc();return{FG:b,$J:e}}
function $J(a,b,c,d){if("beforeAxes"==c.position())switch(c.Bu()){case "top":c.nf().top(b[0]+(a.ad||0));c.nf().bottom(0);b[0]+=d;break;case "bottom":c.nf().top(0);c.nf().bottom(b[2]+(a.Fc||0));b[2]+=d;break;case "left":c.nf().left(b[3]+(a.Nc||0));c.nf().right(0);b[3]+=d;break;case "right":c.nf().left(0),c.nf().right(b[1]+(a.$c||0)),b[1]+=d}c.fb()?(c.nf().left(b[3]),c.nf().right(b[1])):(c.nf().top(b[0]),c.nf().bottom(b[2]));return b}
g.iG=function(){if(T(this,268435456)){for(var a in this.ma){var b=this.jf().Wj(),c=1/(this.jf().Vj()-b);cB(this.ma[a],c,b)}KJ(this.Pg(),this.jf().Wj(),this.jf().Vj());this.w(268435456);this.i(570687488)}};g.vI=function(){return this.bd.Wj()};g.uI=function(){return this.bd.Vj()};g.Vr=function(){return YJ.o.Vr.call(this)|536870912};g.Iq=function(){YJ.o.Iq.call(this);T(this,536870912)&&(this.Pg().D(this.ta),this.Pg().I(),this.w(536870912))};
g.Ki=function(a,b,c){YJ.o.Ki.call(this,a,b,c);this.gi(a.barGroupsPadding);this.$j(a.barsPadding);this.Pg(a.xScroller);a=a.xZoom;z(a)&&(C(a.scale)||A(a.scale))?(c=a.scale,a.scale=b[a.scale],this.jf(a),a.scale=c):this.jf(a)};g.u=function(){var a=YJ.o.u.call(this);a.type=this.Ca();a.barGroupsPadding=this.gi();a.barsPadding=this.$j();a.xScroller=this.Pg().u();a.xZoom=this.jf().u();return{chart:a}};g.M=function(){YJ.o.M.call(this);Jb(this.Na);this.Na=null};function aK(){YJ.call(this);this.A="cartesian"}G(aK,YJ);var bK={},cK=SD|7864320;bK.area={mb:1,sb:1,pb:[GG,HG,IG],vb:null,lb:null,qb:cK,eb:"value",cb:"zero"};bK.bar={mb:6,sb:2,pb:[VG,IG],vb:null,lb:null,qb:cK,eb:"value",cb:"zero"};bK.box={mb:3,sb:2,pb:[VG,IG,WG,XG,YG],vb:null,lb:null,qb:cK,eb:"highest",cb:"lowest"};bK.bubble={mb:4,sb:2,pb:[JG,KG,LG,MG],vb:null,lb:null,qb:cK,eb:"value",cb:"value"};bK.candlestick={mb:5,sb:2,pb:[NG,PG,QG,SG],vb:null,lb:null,qb:cK,eb:"high",cb:"low"};
bK.column={mb:6,sb:2,pb:[VG,IG],vb:null,lb:null,qb:cK,eb:"value",cb:"zero"};bK.jumpLine={mb:19,sb:2,pb:[HG],vb:null,lb:null,qb:cK,eb:"value",cb:"value"};bK.line={mb:8,sb:1,pb:[HG],vb:null,lb:null,qb:cK,eb:"value",cb:"value"};bK.marker={mb:9,sb:2,pb:[VG,IG],vb:null,lb:null,qb:SD|3670016,eb:"value",cb:"value"};bK.ohlc={mb:10,sb:2,pb:[OG,RG],vb:null,lb:null,qb:cK,eb:"high",cb:"low"};bK.rangeArea={mb:11,sb:1,pb:[GG,UG,TG,IG],vb:null,lb:null,qb:cK,eb:"high",cb:"low"};
bK.rangeBar={mb:12,sb:2,pb:[VG,IG],vb:null,lb:null,qb:cK,eb:"high",cb:"low"};bK.rangeColumn={mb:12,sb:2,pb:[VG,IG],vb:null,lb:null,qb:cK,eb:"high",cb:"low"};bK.rangeSplineArea={mb:13,sb:1,pb:[GG,TG,UG,IG],vb:null,lb:null,qb:cK,eb:"high",cb:"low"};bK.rangeStepArea={mb:14,sb:1,pb:[GG,TG,UG,IG],vb:null,lb:null,qb:cK,eb:"high",cb:"low"};bK.spline={mb:15,sb:1,pb:[HG],vb:null,lb:null,qb:cK,eb:"value",cb:"value"};bK.splineArea={mb:16,sb:1,pb:[GG,HG,IG],vb:null,lb:null,qb:cK,eb:"value",cb:"zero"};
bK.stepArea={mb:17,sb:1,pb:[GG,HG,IG],vb:null,lb:null,qb:cK,eb:"value",cb:"zero"};bK.stepLine={mb:18,sb:1,pb:[HG],vb:null,lb:null,qb:cK,eb:"value",cb:"value"};bK.stick={mb:20,sb:2,pb:[HG],vb:null,lb:null,qb:cK,eb:"value",cb:"zero"};bK.hilo={mb:31,sb:2,pb:[HG],vb:null,lb:null,qb:cK,eb:"high",cb:"low"};aK.prototype.Bf=bK;HD(aK,aK.prototype.Bf);Ys=function(a){var b=new aK;b.na(!0,ip("cartesian"));m(a)&&(b.ea=!!a);return b};Ds.cartesian=Ys;var dK=aK.prototype;F("anychart.cartesian",Ys);dK.xScale=dK.wa;
dK.yScale=dK.Ua;dK.barsPadding=dK.$j;dK.barGroupsPadding=dK.gi;dK.crosshair=dK.ik;dK.maxBubbleSize=dK.ts;dK.minBubbleSize=dK.As;dK.grid=dK.km;dK.minorGrid=dK.oo;dK.xAxis=dK.Rk;dK.getXAxesCount=dK.$r;dK.yAxis=dK.Ij;dK.getYAxesCount=dK.as;dK.getSeries=dK.ye;dK.lineMarker=dK.lm;dK.rangeMarker=dK.mm;dK.textMarker=dK.nm;dK.palette=dK.qh;dK.markerPalette=dK.$h;dK.hatchFillPalette=dK.Zh;dK.getType=dK.Ca;dK.defaultSeriesType=dK.sd;dK.addSeries=dK.Zi;dK.getSeriesAt=dK.Ig;dK.getSeriesCount=dK.pg;
dK.removeSeries=dK.Nl;dK.removeSeriesAt=dK.Ol;dK.removeAllSeries=dK.Ml;dK.getPlotBounds=dK.Bh;dK.xZoom=dK.jf;dK.xScroller=dK.Pg;dK.zAspect=dK.vx;dK.zAngle=dK.ux;dK.zDistribution=dK.Qg;dK.zPadding=dK.wx;dK.getStat=dK.nd;dK.zDepth=dK.cD;dK.annotations=dK.ph;dK.getXScales=dK.vl;dK.getYScales=dK.wl;function eK(){zF.call(this)}G(eK,zF);
eK.prototype.wm=function(){var a=ee(this.scale().transform(this.value(),.5),0,1);if(!isNaN(a)){var b=$B(this).Vl()%2?-.5:0,c=this.W(),d=this.Ag();$B(this).clear();var e=this.kb().pa,f=this.kb().oa;if("horizontal"==this.vh()){var h=Math.round(c.$a()+c.height-a*c.height);1==a?h-=b:h+=b;$B(this).moveTo(c.Ra(),h).lineTo(c.Ra()+e,h-f).lineTo(c.ra()+e,h-f)}else"vertical"==this.vh()&&(h=Math.round(c.Ra()+a*c.width),1==a?h+=b:h-=b,$B(this).moveTo(h+e,c.$a()-f).lineTo(h+e,c.ka()-f).lineTo(h,c.ka()));c.top-=
f;c.height+=f;c.width+=e;$B(this).clip(d.ff(c))}};function fK(){cC.call(this)}G(fK,cC);
fK.prototype.wm=function(){var a=this.vh(),b=this.from(),c=this.Yc();this.from()>this.Yc()&&(b=this.from(),c=this.Yc());var d=ee(this.scale().transform(b,0),0,1),e=ee(this.scale().transform(c,1),0,1);if(!isNaN(d)&&!isNaN(e)){c=this.W();b=this.Ag();$B(this).clear();var f=this.kb().pa,h=this.kb().oa;if("horizontal"==a){var e=Math.floor(c.ka()-c.height*e),d=Math.ceil(c.ka()-c.height*d),a=c.Ra(),k=c.ra();$B(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.ka(),k=c.$a(),d=Math.floor(c.Ra()+c.width*d),e=Math.ceil(c.Ra()+c.width*e),$B(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;$B(this).clip(b.ff(c))}};function gK(){BF.call(this)}G(gK,EF);gK.prototype.W=function(a,b,c,d){b=gK.o.W.call(this,a,b,c,d);m(a)||(a=this.kb().pa,c=this.kb().oa,b.top-=c,b.height+=c,b.width+=a);return b};function hK(a){DG.call(this,a)}G(hK,DG);KD[2]=hK;g=hK.prototype;g.type=2;g.ud=MD|177;g.xd={top:"path",bottom:"path",left:"path",right:"path",back:"path",front:"path",frontHatch:"path"};g.Ly=function(){for(var a=this.O.we();a.advance();){var b=a.l("shapes");if(b){var c=a.l("zIndex");this.c.cl(c+1E-8*a.U(),b)}}};
g.Jc=function(a){hK.o.Jc.call(this,a);this.G=!0;a=this.O.ba;var b=this.O.U(),c=this.O.Qd(),d=FH(this.O);this.R=!c||b==a.la[d];this.K=PH(a,b,c);this.da=QH(a,b,c);this.h=iK(a,c);this.m=jK(a,c);a.wa().zc()?(rH(this.c,"left",4E-6),rH(this.c,"right",1E-6)):(rH(this.c,"left",1E-6),rH(this.c,"right",4E-6));a.Ua().zc()?(rH(this.c,"top",2E-6),rH(this.c,"bottom",3E-6)):(rH(this.c,"top",3E-6),rH(this.c,"bottom",2E-6))};
g.Xg=function(a){var b=this.c.xb(this.g,null,this.O.zIndex()),c=a.l("x")+this.K,d=a.l("zero")-this.da,e=a.l("zeroMissing");a=a.l("value")-this.da;b.front.moveTo(c,d).lineTo(c,a);b.frontHatch.moveTo(c,d).lineTo(c,a);this.O.Qd()?this.f=[c,d,e]:(b.back.moveTo(c+this.h,d-this.m).lineTo(c+this.h,a-this.m),b.bottom.moveTo(c,d).lineTo(c+this.h,d-this.m),b.left.moveTo(c,d).lineTo(c,a).lineTo(c+this.h,a-this.m).lineTo(c+this.h,d-this.m).close());this.v=c;this.F=a;this.Ed=this.N=d};
g.gd=function(a){var b=this.c.xb(this.g),c=a.l("x")+this.K,d=a.l("zero")-this.da,e=a.l("zeroMissing");a=a.l("value")-this.da;this.O.Qd()?this.f.push(c,d,e):(b.bottom.lineTo(c+this.h,d-this.m),b.back.lineTo(c+this.h,a-this.m));this.R&&(e=b.front.hI(),this.G?b.top.moveTo(e.x,e.y).lineTo(e.x+this.h,e.y-this.m).lineTo(c+this.h,a-this.m).lineTo(c,a).close():b.top.moveTo(e.x,e.y).lineTo(c,a).lineTo(c+this.h,a-this.m).lineTo(e.x+this.h,e.y-this.m).close(),this.G=!this.G);b.front.lineTo(c,a);b.frontHatch.lineTo(c,
a);this.v=c;this.F=a;this.N=d};
g.Uf=function(){if(this.s){var a=this.c.xb(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.v)||(b.lineTo(this.v,this.Ed).close(),c.lineTo(this.v,this.Ed).close(),a.back.lineTo(this.v+this.h,this.Ed-this.m).close(),a.bottom.lineTo(this.v,
this.Ed).close());isNaN(this.v)||a.right.moveTo(this.v,this.N).lineTo(this.v,this.F).lineTo(this.v+this.h,this.F-this.m).lineTo(this.v+this.h,this.N-this.m).close()}};function kK(a){DG.call(this,a)}G(kK,DG);KD[7]=kK;g=kK.prototype;g.type=7;g.ud=MD|263845;g.xd={top:"path",bottom:"path",left:"path",right:"path",back:"path",front:"path",frontHatch:"path",rightHatch:"path",topHatch:"path"};g.Jc=function(a){kK.o.Jc.call(this,a);a=this.O.ba;var b=this.O.U(),c=this.O.Qd();this.h=PH(a,b,c);this.f=QH(a,b,c);this.m=iK(a,c);this.v=jK(a,c)};g.Ly=function(a){for(var b=this.O.we();b.advance();){var c=b.l("shapes");c&&(a=b.l("zIndex"),this.c.cl(a+1E-8*b.U(),c))}};
g.gd=function(a,b){var c=a.l("zIndex"),c=this.c.xb(b,null,c+1E-8*a.U());lK(this,a,c)};g.bj=function(a){var b=a.l("shapes"),c;for(c in b)b[c].clear();lK(this,a,b)};
function lK(a,b,c){var d=b.l("x"),e=b.l("zero"),f=b.l("value");a.b||(d+=a.h,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,r=c.rightHatch,t=c.frontHatch;c=c.topHatch;var u=a.m,v=a.v,w,x,y=n.stroke().thickness%2/2||0;a.b?(x=a.j,w=Math.min(e,f)+a.h,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();r.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 mK(){GF.call(this)}G(mK,GF);mK.prototype.vH=function(a,b){var c=this.W()||qq(0,0,0,0),d=Math.round(c.ka()-a*c.height);1==a?d-=b:d+=b;var e=c.Ra()+this.pa,f=d-this.oa;this.f.moveTo(c.Ra(),d).lineTo(e,f).lineTo(c.ra()+this.pa,f)};mK.prototype.wH=function(a,b){var c=this.W()||qq(0,0,0,0),d=Math.round(c.Ra()+a*c.width);1==a?d+=b:d-=b;var e=d+this.pa,f=c.ka()-this.oa;this.f.moveTo(d,c.ka()).lineTo(e,f).lineTo(e,c.$a()-this.oa)};
mK.prototype.sH=function(a,b,c,d,e){if(!isNaN(b)){c=this.W()||qq(0,0,0,0);var f,h;f=Math.round(c.ka()-b*c.height);h=Math.round(c.ka()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Ra(),f).lineTo(c.Ra()+this.pa,f-this.oa).lineTo(c.ra()+this.pa,f-this.oa).lineTo(c.ra()+this.pa,h-this.oa).lineTo(c.Ra()+this.pa,h-this.oa).lineTo(c.Ra(),h).close()}};
mK.prototype.tH=function(a,b,c,d,e){if(!isNaN(b)){c=this.W()||qq(0,0,0,0);var f,h;f=Math.round(c.Ra()+b*c.width);h=Math.round(c.Ra()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f+this.pa,c.$a()-this.oa).lineTo(h+this.pa,c.$a()-this.oa).lineTo(h+this.pa,c.ka()-this.oa).lineTo(h,c.ka()).lineTo(f,c.ka()).lineTo(f+this.pa,c.ka()-this.oa).close()}};function nK(){YJ.call(this);this.c=0;this.A="cartesian3d"}G(nK,YJ);function oK(a){var b=jr(a.domTarget);if(b&&b.O&&b.O.check(4)){var c=jr(a.relatedDomTarget);c&&c.O&&c.O==b.O&&c.index==b.index||(b=b.O)&&!b.jc&&b.enabled()&&(c=b.Mg,b.Sa(null),b.Td(a.qJ),b.Sa(c))}}nK.prototype.$i=function(a){oK(a);nK.o.$i.call(this,a)};nK.prototype.qo=function(a){oK(a);nK.o.qo.call(this,a)};nK.prototype.Jj=function(a){oK(a);nK.o.Jj.call(this,a)};nK.prototype.pe=function(a){oK(a);nK.o.pe.call(this,a)};
function pK(a,b,c){var d,e,f,h,k;k=Vo(["fill","hoverFill","selectFill"],1)(a,c);c=z(k)?k.opacity:1;e=z(k)?k.color:k;if(k=Jo(e)){e=k.Ce;var l=pm(e);f=tm(l,.2);k=tm(l,.25);h=sm([255,255,255],l,.1);d=Qe(sm(l,f,.7));h=Qe(sm(f,h,.1));l=Qe(sm(l,f,.1));a={angle:a.B("isVertical")?0:90,opacity:c,keys:[No(d,.2),No(e,.3)]};e=No(l,.2);d=No(d,.2);f=Qe(f);k=Qe(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 qK={},rK=SD|5767168;
qK.area={mb:2,sb:1,pb:[{name:"top",sc:"path",Kc:null,Mc:null,fc:!1,zIndex:3E-6},$G,aH,bH,cH,dH,eH],vb:null,lb:function(a,b,c){var d,e,f,h,k;c=Vo(["fill","hoverFill","selectFill"],1)(a,c);a=z(c)?c.opacity:1;d=z(c)?c.color:c;if(c=Jo(d)){d=c.Ce;h=pm(d);var l=tm(h,.2);f=tm(h,.3);c=tm(h,.25);k=sm([255,255,255],h,.1);e=Qe(sm(h,l,.7));f=Qe(sm(h,f,.7));k=Qe(sm(l,k,.1));h=Qe(sm(h,l,.1));d={angle:90,opacity:a,keys:[No(e,.2),No(d,.3)]};e=No(f,.2);f=h=No(h,.2);c=Qe(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})},qb:rK,eb:"value",cb:"zero"};qK.bar={mb:7,sb:2,pb:[ZG,$G,aH,bH,cH,dH,eH,fH,gH],vb:null,lb:pK,qb:rK,eb:"value",cb:"zero"};qK.column={mb:7,sb:2,pb:[ZG,$G,aH,bH,cH,dH,eH,fH,gH],vb:null,lb:pK,qb:rK,eb:"value",cb:"zero"};nK.prototype.Bf=qK;HD(nK,nK.prototype.Bf);
Zs=function(a){var b=new nK;b.na(!0,ip("cartesian3d"));m(a)&&(b.ea=!!a);return b};Ds.cartesian3d=Zs;g=nK.prototype;g.SI=function(){return!0};function PH(a,b,c){c||!a.Qg()?a=0:(b=a.pg()-b-1,a=(iK(a,c)+a.g)*b);return a}function QH(a,b,c){c||!a.Qg()?a=0:(b=a.pg()-b-1,a=(jK(a,c)+a.h)*b);return a}function iK(a,b){var c=a.pg(),d=a.g,e=a.pa;!b&&a.Qg()&&(e=(e-d*(c-1))/c);return e}function jK(a,b){var c=a.pg(),d=a.h,e=a.oa;!b&&a.Qg()&&(e=(e-d*(c-1))/c);return e}g.vy=function(){return new mK};
g.QG=function(){var a=new eK;a.h=this;return a};g.VG=function(){var a=new fK;a.h=this;return a};g.$G=function(){var a=new gK;a.h=this;return a};g.aC=function(){this.la={};for(var a=this.ld(),b,c=0;ck&&(l=e.B("isVertical")?l-f:e.Qd()?l-f:l+f);h.l("zIndex",l)}else this.la[FH(b)]=c};
g.gI=function(a){a=a.clone().round();var b=this.mp(a),c=this.pg(),d=Sd(this.Sh),e=Sd(90-this.Sh),f=this.Th;if(null==this.ib&&lr(this.Sb)){for(var h=parseFloat(this.Sb)/100,k=h*Math.sin(e),l=h*Math.sin(d),n=h=0,p=this.ld(),r,t=0;t=this.c&&(f=(this.c-c)/b),this.g=Math.round(f*Math.sin(e)),this.h=Math.round(f*Math.sin(d));this.pa=
Math.max(this.pa,0)||0;this.oa=Math.max(this.oa,0)||0;this.g=Math.max(this.g,0)||0;this.h=Math.max(this.h,0)||0;a.top+=this.oa;a.height-=this.oa;a.width-=this.pa;return a};g.Cv=function(a,b,c){if(!this.Xc&&this.Qg()){if(0h?e+h+270:e+h+90:e,f=m(c)&&c.anchor||this.B("anchor"));a=JA(this,a,b,c,d);b=tr(a,f);b=Fe(Sd(e),b.x,b.y);a=oq(a)||[];b.transform(a,0,a,0,4);return a};
CK.prototype.lv=function(){return new JK};function JK(){IA.call(this)}G(JK,IA);var LK=JK.prototype,MK=cc(IA.prototype.No);X(MK,0,"autoRotate",Iv,16,9);LK.No=MK;Jv(JK,JK.prototype.No);function KK(a,b){var c=WA(a,"rotation");return WA(a,"autoRotate")?0b?c+b+270:c+b+90:c}
JK.prototype.lF=function(a,b){var c=this.g.positionFormatter,d=zA(this.g.anchor)||"leftTop",e=this.g.offsetX||0,f=this.g.offsetY||0,h=this.Ah,k=this.Db(),l=cc(c.call(k,k)),c=l.angle,k=l.radius,l=m(l.radiusY)?l.radiusY:k,n=0,p=0,r=DK(h),t=EK(h),u=h.tc(),h=FK(h);if(b||!isNaN(r)&&!isNaN(t))var n=b.left,p=b.top,v=b.width,w=b.height,n=isNaN(r)?n+v/2:r,p=isNaN(t)?p+w/2:t,f=m(h)&&!isNaN(h)?O(f,h):b?O(f,Math.min(v,w)/2):0,c=c+O(e,null!=u?u:360),k=k+f,l=l+f;e=n+ie(c,k);f=p+je(c,l);d=tr(new I(0,0,a.width,a.height),
d);e-=d.x;f-=d.y;this.m+=e;this.s+=f;a.left=e;a.top=f;this.g.rotation=KK(this,c);this.h.x(this.m).y(this.s)};function NK(){W.call(this);this.f=[];this.v=[];this.G=[];this.F=[]}G(NK,W);NK.prototype.ia=W.prototype.ia|2;NK.prototype.Z=W.prototype.Z|912;var AK=2,xK=3;g=NK.prototype;g.kf=null;g.fa=null;g.vm=null;g.Lj=null;g.Kj=null;g.scale=function(a){if(m(a))return A(a)&&(a=OK(a)),this.Y!=a&&(this.Y&&Yu(this.Y,this.Ey,this),this.Y=a,Q(this.Y,this.Ey,this),this.i(388,3)),this;this.Y||(this.Y=hB(),Q(this.Y,this.Ey,this));return this.Y};
function OK(a){a:{a=String(a).toLowerCase();switch(a){case "log":case "logarithmic":a="log";break a}a="linear"}switch(a){case "log":return gB()}return hB()}g.Ey=function(a){V(a,2)&&this.i(388,3)};g.Va=function(a){this.vm||(this.vm=new CK,this.vm.Sa(this),Q(this.vm,this.HE,this),H(this,this.vm));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.vm.C(a),this):this.vm};
g.labels=function(a){this.fa||(this.fa=new CK,this.fa.Sa(this),Q(this.fa,this.HE,this),H(this,this.fa));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.fa.C(a),this):this.fa};g.HE=function(){PK(this);this.i(384,1)};g.tm=function(a){return m(a)?(this.mj!=a&&(this.mj=a,this.i(388,9)),this):this.mj};g.um=function(a){return m(a)?(this.nj!=a&&(this.nj=a,this.i(388,9)),this):this.nj};
g.Pa=function(a){this.Kj||(this.Kj=new tK,this.Kj.Sa(this),this.Kj.c=this,Q(this.Kj,this.IE,this),H(this,this.Kj));return m(a)?(this.Kj.C(a),this):this.Kj};g.Ta=function(a){this.Lj||(this.Lj=new tK,this.Lj.Sa(this),this.Lj.c=this,Q(this.Lj,this.IE,this),H(this,this.Lj));return m(a)?(this.Lj.C(a),this):this.Lj};g.IE=function(a){var b=0;V(a,8)&&(b=384,PK(this));V(a,1)&&(b|=256);this.i(b,1)};g.zb=function(a){return m(a)?(a=null===a?a:ge(P(a)||0),this.Fb!=a&&(this.Fb=a,this.i(388,9)),this):this.Fb};
g.tc=function(a){return m(a)?(a=null===a?a:ee(P(a)||0,-360,360),this.A!=a&&(this.A=a,this.i(388,9)),this):this.A};g.sa=function(a){return m(a)?(a=null===a?a:nr(a),this.qa!=a&&(this.qa=a,this.i(388,9)),this):this.qa};g.Sq=function(a){return m(a)?(a=nr(a),this.c!=a&&(this.c=a,this.i(388,9)),this):this.c};g.width=function(a){return m(a)?(a=null===a?a:nr(a),this.va!=a&&(this.va=a,this.i(388,1)),this):this.va};
g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Ke.apply(null,arguments);k!=this.g&&(this.g=k,this.i(16,1));return this}return this.g};g.Dy=function(a){return m(a)?(a=En(a,this.b),this.b!=a&&(this.b=a,this.i(388,1)),this):this.b};g.md=function(){return this.h};g.Ae=function(){return null!=this.Fb?this.Fb+QK:this.j.Ae()};function PK(a){a.f.length=0;a.v.length=0;a.G.length=0;a.F.length=0;a.s=null}
function RK(a,b,c){var d=b?a.Ta():a.Pa();b=b?a.labels():a.Va();b=Hn(b.B("position"));var e=a.h;"outside"==b?(e+=a.Hd/2+c,d.enabled()&&("outside"==d.position()?e+=d.m:"center"==d.position()&&(e+=d.m>a.Hd?(d.m-a.Hd)/2:0))):"inside"==b&&(e-=a.Hd/2+c,d.enabled()&&("inside"==d.position()?e-=d.m:"center"==d.position()&&(e-=d.m>a.Hd?(d.m-a.Hd)/2:0)));return e}
function SK(a,b,c){var d=c?a.G:a.F;if(m(d[b]))return d[b];var e=c?a.labels():a.Va(),f=e.vd(b),h=a.Y;c=(c?h.Ta():h.Pa()).get()[b];a=TK(a,b,c);c={value:{angle:0,radius:0}};d[b]=f?IK(e,f):IK(e,a,c);return d[b]}
function UK(a,b,c){var d=c?a.f:a.v;if(m(d[b]))return d[b];var e=SK(a,b,c),f=c?a.labels():a.Va(),h=a.Y,k=(c?h.Ta():h.Pa()).get()[b],l=h.transform(k),k=(h=f.vd(b))&&m(h.B("autoRotate"))?h.B("autoRotate"):f.B("autoRotate"),n=h&&m(h.B("offsetX"))?h.B("offsetX"):f.B("offsetX"),p=h&&m(h.B("offsetY"))?h.B("offsetY"):f.B("offsetY");c=RK(a,c,k?e.height:0);c+=O(p,a.j.md());var r=a.Ae(),p=m(a.A)?a.A:a.j.tc(),l=ge(r+l*p),l=l+O(n,p),p=Sd(l),n=a.j.Ba+c*Math.cos(p),p=a.j.za+c*Math.sin(p);c=h&&m(h.B("rotation"))?
h.B("rotation"):f.B("rotation");k&&(c+=0l?l+270:l+90);a=h&&m(h.B("anchor"))?h.B("anchor"):k?f.B("anchor"):VK(a,l);e.left=n;e.top=p;f=tr(new I(0,0,e.width,e.height),a);e.left-=f.x;e.top-=f.y;a=tr(e,a);a=Fe(Sd(c),a.x,a.y);e=oq(e);a.transform(e,0,e,0,4);return d[b]=e}
function TK(a,b,c){var d=a.scale();a=new Jy({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.wg({"%AxisScaleMax":"max","%AxisScaleMin":"mix"});return Vx(a)}
function VK(a,b){b=ge(b);var c="center",d=Hn(a.labels().B("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=Z&&this.tm()||1<=Z&&this.um()?B=M:0Z&&(B=M)),M++;S<=nc&&qa=Z||1<=Z?(-1==u&&(u=Mb),E=Mb,v.push(!0)):0Z?(-1==u&&(u=Mb),E=Mb,v.push(!0)):v.push(!1))):v.push(!1),Mb++)}Ic||(v=!1);va||(r=!1);this.s={labels:r,Va:v};this.w(512)}r=this.s}z(r)?(t=r.labels,w=r.Va):(t=!r,w=!r);v=r=0;for(var ub;rc)for(a=c;a<=d;a++)k=e+p*(a-c),n=a*Math.PI/180,l=r+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=r+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=r+f*Math.cos(n);k=t+f*Math.sin(n);b.lineTo(l,k)}
function $K(a,b,c,d,e){return"outside"==a.h?b*(1+(e?0:d))+c/2:"inside"==a.h?b*(1-(e?0:d))-c/2:b*(1+(e?-.5:.5)*d)}g.remove=function(){this.P&&this.P.parent(null);this.b&&this.b.length&&$a(this.b,function(a){a.parent(null)})};function aL(a,b,c,d){var e=a.j.za;d=Sd(d);b.x=a.j.Ba+c*Math.cos(d);b.y=e+c*Math.sin(d)}
function bL(a,b,c,d,e,f,h,k,l,n,p,r,t,u,v,w,x){var y=(c+d)/2,B=(e+f)/2,E=(h+k)/2,R=a.j.Ba,S=a.j.za,Y=b[t],pa={},ca={},Z={},M={};aL(a,pa,e,c);aL(a,ca,f,d);aL(a,Z,k,d);aL(a,M,h,c);var va=qq(0,0,0,0);va.left=Math.min(pa.x,ca.x,Z.x,M.x);va.top=Math.min(pa.y,ca.y,Z.y,M.y);va.width=Math.max(pa.x,ca.x,Z.x,M.x)-va.left;va.height=Math.max(pa.y,ca.y,Z.y,M.y)-va.top;pa=[];ca={};Z={};ca.position="0";ca.opacity=n;ca.color=l;pa.push(ca);Z.position="1";Z.opacity=r;Z.color=p;pa.push(Z);n=(l=cL(a.j,a.Sd()).scale().zc())?
-1:1;p={};p.angle=-(y+90*n);p.keys=pa;r=uh();ZK(a,r,c,y,(h+e)/2,(E+B)/2,!0);ZK(a,r,y,d,(E+B)/2,(k+f)/2,!1);p.mode=r.Oa();ZK(a,Y,c,y,e,B,!0);ZK(a,Y,y,c,E,h,!1);!t&&u&&(h=R+ie(c,e),c=S+je(c,e),ua?0:a);this.f&&(this.f.hj(b),this.f.ij(c),this.f.sa(a));this.w(4)}return this};g.u=function(){var a=fL.o.u.call(this);a.fill=L(this.fill());a.stroke=L(this.stroke());a.hatchFill=L(this.My());a.radius=this.sa();return a};g.H=function(a,b){fL.o.H.call(this,a,b);this.fill(a.fill);this.stroke(a.stroke);this.My(a.hatchFill);this.sa(a.radius)};var gL=fL.prototype;gL.radius=gL.sa;gL.stroke=gL.stroke;gL.fill=gL.fill;
gL.hatchFill=gL.My;function hL(){W.call(this);this.f={};this.state=new Pz(this)}G(hL,W);g=hL.prototype;g.Z=W.prototype.Z|65552;g.ia=W.prototype.ia|4;g.Ud=function(){return!0};g.xf=function(){return!1};g.Nf=function(){return!0};g.Al=function(){return!1};g.stroke=function(a,b,c,d,e){if(m(a)){var f=D(a)?a:Re.apply(null,arguments);f!=this.b&&(this.b=f,this.i(16,1));return this}return this.b};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=D(a)?a:Ke.apply(null,arguments);k!=this.g&&(this.g=k,this.i(16,1));return this}return this.g};
function iL(a,b,c){D(b)?(a=b.call(a.f,a.f),a=c?Ke(a):Re(a)):a=b;return a}g.ym=function(a,b,c,d){if(m(a)){ja(a)&&(a=a?vK:"none");var e=Se.apply(null,arguments);e!==this.ea&&(this.ea=e,this.i(65536,1));return this}return this.ea};g.Sd=function(a){return m(a)?(this.F!=a&&(this.F=a,this.i(4,5)),this):this.F};g.hd=function(a){return m(a)?(this.N!=a&&(this.N=a,this.i(4,5)),this):this.N};g.Ic=function(a){return m(a)?(this.j!=a&&(this.j=a),this):this.j};
g.remove=function(){this.P&&(this.P instanceof nh?this.P.parent(null):this.P.D(null));this.c&&(this.c instanceof nh?this.c.parent(null):this.c.D(null))};g.L=function(){return this.Ic().L()};g.ob=function(){return this.Ic().ob()};
g.I=function(){T(this,16)&&(this.P.fill(iL(this,this.g,!0)),this.P.stroke(iL(this,this.b,!1)),this.w(16));T(this,8)&&(this.P.zIndex(this.zIndex()),this.c&&this.c.zIndex(this.zIndex()+.1*zK),this.w(8));T(this,2)&&(this.P instanceof nh?this.P.parent(this.D()):this.P.D(this.D()),this.c&&(this.c instanceof nh?this.c.parent(this.D()):this.c.D(this.D())),this.w(2));return this};
g.qf=function(){this.J||(this.J=new Jy);var a=this.L(),b={series:{value:this,type:""},index:{value:a.U(),type:"number"},value:{value:a.get("value"),type:"number"}};this.J.Jf(a).Cf([this]);return Vx(this.J,b)};g.$e=ea;g.Kf=ea;g.Oe=ea;g.Dd=function(a){a=hL.o.Dd.call(this,a);a.pointIndex=P(jr(a.domTarget).index);return a};
g.Nd=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}var c;"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex);c=P(c);a.pointIndex=c;var d=this.Ic().L();d.select(c)||d.reset();
return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a}};g.pe=function(a){(a=this.Nd(a))&&this.dispatchEvent(a)};function jL(a,b){b&&(b.tag={O:a},b.tag.index=a.Ic().L().U())}g.De=function(a){m(a)?this.Ee(a):this.enabled()&&this.state.g(N);return this};g.Ub=function(){if(!Tz(this.state,N)&&!Zz(this.state.ze(),N)||!this.enabled())return this;this.state.h(N,this.state.b==bp?NaN:void 0);return this};
g.Ee=function(a){if(!this.enabled())return this;if(q(a)){for(var b=Xz(this.state,N),c=0;c=l?(n=e,h=l):(n=l,h=e);n=ge(f+n*b);(f=ge(ge(f+h*b)-n))||(f=e==l?0:360);this.f.cx=c;this.f.cy=d;this.f.radius=k;this.f.startAngle=ge(n-
QK);this.f.sweepAngle=f;this.f.width=a;this.P.Gb(c,d,k-a/2,k-a/2,n,f);this.P.Gb(c,d,k+a/2,k+a/2,n+f,-f,!0);this.P.close();jL(this,this.P);this.c&&(this.c.clear(),this.c.Gb(c,d,k-a/2,k-a/2,n,f),this.c.Gb(c,d,k+a/2,k+a/2,n+f,-f,!0),this.c.close());(D(this.fill())||D(this.stroke()))&&this.i(16);this.w(4)}lL.o.I.call(this);return this};g.u=function(){var a=lL.o.u.call(this);a.position=this.position();m(this.width())&&(a.width=this.width());m(this.sa())&&(a.radius=this.sa());return a};
g.H=function(a,b){lL.o.H.call(this,a,b);this.position(a.position);this.width(a.width);this.sa(a.radius)};var mL=lL.prototype;mL.width=mL.width;mL.position=mL.position;mL.radius=mL.sa;function nL(){hL.call(this)}G(nL,hL);g=nL.prototype;g.SC=function(a){return m(a)?(this.m!=a&&(this.m=a,this.i(4,9)),this):this.m};g.TC=function(a){return m(a)?(this.h!=a&&(this.h=a,this.i(4,9)),this):this.h};g.PC=function(a){return m(a)?(a=ee(a,0,1),this.G!=a&&(this.G=a,this.i(4,9)),this):this.G};g.bA=function(a){return m(a)?(a=ee(a,0,1),this.v!=a&&(this.v=a,this.i(4,9)),this):this.v};g.mx=function(a){return m(a)?(a=null===a?a:nr(a),this.A!=a&&(this.A=a,this.i(4,9)),this):this.A};
g.Xu=function(a){return m(a)?(a=null===a?a:nr(a),this.s!=a&&(this.s=a,this.i(4,9)),this):this.s};
function oL(a,b,c,d,e,f,h,k,l,n,p,r,t,u){var v;u?(f=ge(c+f),d=ge(c+d/2-e)):(f=ge(c+d-f),d=ge(c+d/2+e));c=l+Math.cos(Sd(f))*k;k=n+Math.sin(Sd(f))*k;l+=Math.cos(Sd(d))*h;h=n+Math.sin(Sd(d))*h;d=Sd(f+90);n=c+100*Math.cos(d);e=k+100*Math.sin(d);d=(c*Math.pow(e-k,2)+l*Math.pow(n-c,2)+(n-c)*(e-k)*(h-k))/(Math.pow(e-k,2)+Math.pow(n-c,2))||0;n=(n-c)*(l-d)/(e-k)+h||0;n=he(Math.atan(nq(l,h,d,n)/nq(c,k,d,n)));n=a.G<1-a.v?u?90-n:-(90-n):u?-(90-n):90-n;n=f+(u?-p:p)+n;v=(c+l)/2+Math.cos(Sd(n))*r;d=(k+h)/2+Math.sin(Sd(n))*
r;e=.5>a.h?90:-90;p=v+.5*Math.cos(Sd(n+e))*r;f=d+.5*Math.sin(Sd(n+e))*r;e=.5>a.h?-90:90;a=v+.5*Math.cos(Sd(n+e))*r;r=d+.5*Math.sin(Sd(n+e))*r;u?t?b.bh(p,f,a,r,l,h):b.bh(a,r,p,f,l,h):t?b.bh(p,f,a,r,c,k):b.bh(a,r,p,f,c,k)}
g.I=function(){var a=this.Ic(),b=cL(a,this.Sd());if(!this.ub())return this;if(!b||!b.enabled())return this.P&&this.P.clear(),this.c&&this.c.clear(),this;if(T(this,65536)){var c=this.ym();this.c||Nr(c)||(this.c=uh(),this.c.parent(this.D()),this.c.zIndex(this.zIndex()+1));this.c&&(this.c.Hb(!0),this.c.fill(c),this.c.stroke(null),this.i(4));this.w(65536)}if(T(this,4)){var c=a.Ba,d=a.za,e=b.scale(),f=a.ob();f.select(this.hd());var h=parseFloat(f.get("value"));if(e.wf(h))return this.P&&this.P.clear(),
this.c&&this.c.clear(),this.w(4),this;this.P?this.P.clear():(this.P=uh(),H(this,this.P));var f=b.md(),k=m(b.zb())?b.Ae():a.Ae(),l=m(b.tc())?b.tc():a.tc(),b=null!=this.A?O(this.A,a.md()):.7*f,a=null!=this.s?O(this.s,a.md()):.6*f,f=360/this.m,n=f/2*this.G,p=f/2*this.v,e=ee(e.transform(h),0,1),e=ge(k+e*l);this.f.cx=c;this.f.cy=d;this.f.topRadius=b;this.f.bottomRadius=a;this.f.angle=ge(e-QK);var k=b