=c.min&&b+g<=c.max&&!this.isInBreak(b)};a.prototype.tickVisible=function(b){var a=!!b.pop;if(this.valVisible(b))return(a=-12*H;L=[];for(var O=0,P=A.length;O/);if(K&&Z&&Q._metrics.altTextSize&&(X||W)){if(!M&&N&&(M=A[O-1],S=Cf(this,M,{altTextSize:!0}),N=S.textBBox,L[L.length-1]=S.textLength,Kd(M.currentOptions.label)&&g.tickVisible(M.value())&&(k[k.length-1]=M._bbox,F[F.length-1]=N),!bd(N,T))){N=T;M=!1;continue}S=Cf(this,Q,{altTextSize:!0});T=S.textBBox;M=!0}else M=!1;L.push(S.textLength);Kd(Q.currentOptions.label)&&g.tickVisible(Q.value())&&
(k.push(Q._bbox),F.push(T));N=T}}L.length&&(g.tickMetricsData.maxLength=Math.max.apply(Math,G(L)));if(y||g.isHoriz&&Do(F)||b&&"angled"===g.labelMode){g.labelMode="angled";var Y=a()||Y}else g.labelMode="normal";"angled"===g.labelMode&&(p=[],x(l,function(b){p.push(u(b,!0))}),g.tickMetricsData.maxLength=Math.max.apply(Math,G(p)),k=[],x(A,function(b){b.invalid||(Cf(f,b,{tickPointsOnly:!0}),Kd(b.currentOptions.label)&&k.push(b._bbox))}));Y=Ha(k)||[0,0,0,0];b=ea(D,function(b){return b._rngData.visible});
b.length&&(b=c(b),y=0===w.fullRangesLevel,Y[r+2]=v?0:y?Math.max(b[r+2],Y[r+2]):b[r+2]+Y[r+2],g.tickMetricsData.maxLengthRange=v?0:b[r+2],g.tickMetricsData.overlapRange=y)}r=g.currentOptions.caOffset;t(r)&&(g.isHoriz?Y[3]=Math.max(0,Y[3]+r):Y[2]=Math.max(0,Y[2]+r));return Y||[0,0,0,0]};a.prototype.sideIndex=function(){var b=this.currentOptions.orientation;b="right"===b||"top"===b||"opposite"===b;return this.isHoriz?b?0:2:b?1:3};a.prototype.sideDepth=function(){var b=this._sizeMetrics.size;return this.isHoriz?
b[1]:b[0]};a.prototype.autoHideGrid=function(){t(this._autoHideGrid)||(this._autoHideGrid=iE(this));return this._autoHideGrid};a.prototype.render=function(b,a){void 0===a&&(a=this.updateOptions);var c,d=this.viewState,g=this.viewStatePrev;if(c=this.syncAxis)d=this.viewState=la(c.viewState),g=this.viewStatePrev=la(c.viewStatePrev);if(d){var h=A({},a);h.isTransitioning=this.isTransitioning;if(!1!==this.isVisible&&this.isAdded){b=b||this.chartArea.renderRect;var k=this.isTransitioning?[g,d]:d;if(d.caRect=
b)this.measure(b),this._autoHideGrid=void 0,pA(this),qA(this),this.render_rngLines(b,h),x(this._ticks,function(b){return b.render(k,h)}),this.garbageCollection(),this.render_line(b,a),this.render_alignLabel()}else!1===this.isVisible&&this.isAdded&&this.resetVisuals();!a.invalidate&&this.validate()}return this};a.prototype.garbageCollection=function(){x(this._ticks.slice(0),function(b){b&&6=b[1]&&b.reverse(),l=fb(b.map(l)),h.d=l,h.caps.start={type:"none"})}g=g.color;if(O(g)&&-1k.o[k.vc]?(a.add(c),f.add(c)):(f.add(c),a.add(c));this.rootVisuals={stack:c,main:f,label:b,labelContainer:a,line:g,mainRng:h};this.applyCaOffset();
this.rootPanel&&c.add(this.rootPanel);this.rootPanel=c}return this};a.prototype.applyCaOffset=function(){var b=this.currentOptions,a=t(b.anchorWidth)?b.anchorWidth:z(C((this.chartArea||this.chart.chartAreas(0)).currentOptions,"outline.width"),1)/2,c=this.duV(),f=c.o,g=c.hc;c=c.i.slice(0);c[g]=1;a=De([0,0],c,a);b=De(a,f,b.caOffset||0);this.rootVisuals.stack.attr({offsetX:b[0],offsetY:b[1]})};a.prototype.setAttribs=function(){var b=this.isHoriz,a=this.currentOptions.alternateGridFill,c=K(a);b=this.isRadial?
Ja.altGridFillRad:b?Ja.altGridFillX:Ja.altGridFillY;var f={fill:a||"none"};a&&"none"!==a?"object"!==c?f={fill:hd(b,a)}:vi(f,a):f={fill:"none"};this.attribs.altGrid=f;return this};a.prototype.setViewState=function(b,a){var c=this.viewState,d;(d=this.syncAxis)?(this.viewState=la(d.viewState),this.viewStatePrev=la(d.viewStatePrev)):c&&c.equalsRange(this)?this.posDirty=!1:(c&&(this.isTransitioning=!0),this.viewStatePrev=c,this.coordinatesDirty=this.posDirty=!0,this.viewState=new yu(this,this._getValToLin(),
this.chartArea),!b&&this.viewState.isValid()&&this.render(null,a),this.trigger("setRange",this.viewState.range));return this};a.prototype.setViewStateSize=function(){var b;if(b=this.viewState)b.axisSize=this._sizeMetrics.clipped.slice(0),b.axisBBox=this._sizeMetrics.bbox.slice(0);return this};a.prototype.validate=function(){this.isTransitioning=this.coordinatesDirty=this.posDirty=!1;return this};a.prototype.getCaPath=function(b,a,c,f){var d=this;void 0===c&&(c=this.viewState);void 0===f&&(f=1);var e=
t(b.pop),k=!1,l=b;if(!e||t(b[0])&&!t(b[0].pop))l=[b];if("object"===typeof f){var m=f;f=z(m.lineWidth,1);k=m.multiShape}var n="";x(k&&e?b:l,function(b){b=d.getCaPoints(b,a,c,f);n+=fb(b).join(" ")+(k||!e&&!d.isRadial?"":"Z")});return n};a.prototype.getCaPoints=function(b,a,c,f){void 0===c&&(c=this.viewState);void 0===f&&(f=1);b=this.toPosition(b);var d=!1;if("object"===typeof f){var e=f;f=z(e.lineWidth,1);d=e.posOnly}var k=function(b){return Math.max(-1E6,Math.min(1E6,c.valToLin(b)))},l=c.caRect||c.chartArea.contentRect||
c.chartArea.innerRect,m=c.chartArea,n=this.isHoriz,p=t(b.pop),q=m.rootVisuals.gridLinesBehind;e=function(b){b=k(b);b=n?b*l.width:b*l.height;b=n?[[b,l.y],[b,l.y+l.height]]:[[l.x,b],[l.x+l.width,b]];return(2===b.length?Pr:Be)(a||q,b,f)};if(this.isRadial){var r=ha(l),u=r[2],y=r[3],v=r[1],w=r[0];r=m.getRadarType();var x=function(b){return d?[b[0],b[1]]:[w+b[0]*u,v+b[1]*y]},A=this.interpolationAxis;if(this.isHoriz){var D=m.projection.val2linxy,C=function(b,a){return x(D(b,a))};"polar"===r?e=function(b){b=
k(b);return[C(b,0),C(b,1)]}:p||(C=m.projection.webVal2linxy,e=function(b){b=k(b);return[C(b,0),C(b,1)]})}else if(!this.isHoriz){var F=m.projection.val2linxy,H=A.getTicksPos();e=function(b){var a=k(b);return B(H,function(b){return x(F(b,a))})}}}if(p){m=e(b[0]);e=e(b[1]).reverse();var J=this._duV();if(b[0]===b[1]||1>ma(m[0][J.hc],e[0][J.hc]))e=e.map(function(b){return Hc(b,J.f)});m.push.apply(m,G(e))}else m=e(b);return m};a.prototype.ticksToDashAttr=function(b,a,c){void 0===a&&(a=1);c=c||{};kd(c,{gap:.01,
cap:!0,invert:!1});var d=this,e=c.custom,h=[],k=0,l={},m=d.getTicksPos();e?(m=e,1m[m.length-1]&&(m=B(m,function(b){return 1-b}));m=lk(m,[0,1],a);var n=fg(m,[0,1]);x(n,function(a,c){var d=c===n.length-1,e=d?void 0:n[c+1],f=a[1]-a[0];0===c&&0a[1]&&h.push((1-a[1])*b+2)});c.invert&&h.unshift(0);l["stroke-dasharray"]=
h.join(",");k&&(l["stroke-dashoffset"]=-k);return l};a.prototype.getCaLen=function(b,a){void 0===a&&(a=this.viewState);var c=a.caRect||a.chartArea.contentRect,d=this.isHoriz,g=a.valToLin;return hb(b,function(b){b=g(b);return d?b*c.width:b*c.height})};a.prototype.getLinePath=function(b){var a=this.currentOptions,c=F(this.getLinePathPoints(b),2),f=c[0];c=c[1];a=wb(a.line);return this.breakLine(b,[f,c],a["stroke-width"])};a.prototype.getLinePathPoints=function(b){b="inside"===C(this.currentOptions,"defaultTick.placement");
var a=this.range,c=b?0:this.tickMetricsData.getMaxLength();b=this.getCaLen(a.min);a=this.getCaLen(a.max);switch(this.sideIndex()){case 0:var f=[a,c],g=[b,c];break;case 1:c=[0,a];g=[0,b];f=c;break;case 2:c=[a,0];g=[b,0];f=c;break;case 3:f=[c,a],g=[c,b]}return[g,f]};a.prototype.breakLine=function(b,a,c,f){var d=this,e=d.currentOptions,k=d.rootVisuals.main,l=[],m=a[0][0],n=a[0][1],p=d.isInverted();a=(C(e,"scale.defaultBreak.type")||"").toLowerCase();a="gap"===a||"zigzag"===a?C(e,"scale.defaultBreak.line.width")/
2:0;var q=b.y,r=b.x,u=b.x+b.width,y=b.y+b.height;b=d._openRanges();var v=function(b){return d.isHoriz?[b,n]:[m,b]},w=function(b,a){var f="";a=p?-a:a;d.isHoriz&&(a=-a);for(var g=0,h=b.length;gw?n+x:n-x),C=v(w>n?w+x:w-x),B=v(n),E=v(w);E=[B,E];d.isHoriz?(E.push([B[0],q]),E.push([B[0],y])):(E.push([u,B[1]]),E.push([r,B[1]]));B=sb(Xa(E),
-.5);l.push(B);1n?x-a:a-x)));g&&(A=v(d.getCaLen(m[0])+(n>w?x-a:a-x)));k&&(m=Pr(k,[A,C],c,x||void 0),A=m[0],C=m[1]);f+=wa(fb([A,C]))}return f};d._nRects=l;return f?w(eg(b.ranges,f),a):w(b.ranges,a)};a.prototype.getBreakRects=function(){return this._nRects.slice(0)};a.prototype.resetTimers=function(){x(this._markers,function(b){return b.resetTimers()})};a.prototype.getPointTicks=function(){var b=this,a=b.dataInfo.serColl,c=b.prefix,f=c+"AxisTick",g=
"category"===b.type,h=g&&"x"===c,k=b._isZoomLive,l=!!b.syncAxis,m=b.usedDataKeys;if(a&&!a.items.length&&b.syncAxis)a=b.syncAxis.dataInfo.serColl;else if(a&&!a.items.length){a=b.chart.series().filter(function(b){return b.isVisible});var n=!0}else b.parentAxis&&(a=b.parentAxis.dataInfo.serColl);if(!k){var p=[],q=[],r=function(b){var a=b&&b.series[("x"===c?"y":"x")+"Axis"];if(a)return a.getValToLin()("x"===c?b.y:b.x)},u=function(a,d,e,f,k){f=h?z(f.name,f.x):b.isStacked()&&k.hasKey(c+"s")?[k.getValue(c+
"s",d),k.getValue(c+"e",d)]:z(f[c],k.getValue(c,d),k.getValue(m[0],d));f=g&&"number"===typeof f?[f-.5,f+.5]:b.normUserValue(f);e={point:function(){a._points.length||a.setPoints();return a._points[d]},config:e,value:f};if(k=P(p,{value:f})){var l=k.point(),n=e.point();if(l!==n)switch(l=r(l),n=r(n),b.sideIndex()){case 0:case 3:var u=l>n;break;case 1:case 2:u=lc[1]&&(b=c[1]-a[1]);a[0]+=b;a[1]+=b;if(b)return this._isDragHost?this.zoomRange=a:this.zoom(a[0],a[1],!1),!0};a.prototype.canDrag=function(){if(this._isDragHost){var b=this.zoomRange.slice(0),a=this.unZoomedRange?this.unZoomedRange:this;return ma(b[0],b[1])<
ma(a.min,a.max)}return this.isZoomed};a.prototype.canZoom=function(b,a){a=F(Au(b,a),2);b=a[0];a=a[1];if(this._isMapHost||this._isDragHost&&(this.min!==this.range.min||this.max!==this.range.max))return!0;if(b!==a){var c=this.zoomLimit;"object"===K(this.zoomLimit)&&"time"===this.type&&(c=rg(this.zoomLimit));if(ma(a,b)>c)return!0}};a.prototype.destroyVisuals=function(){x(this.rootVisuals,function(b){return b&&b.destroy()});x(this._ticks.slice(0),function(b){return b&&b.destroy()});this._ticks=[];this.rootPanel.destroy();
this.rootVisuals=this.rootPanel=void 0};a.prototype.destroy=function(){c.prototype.destroy.call(this);var b=this.chartArea._axes.indexOf(this);-1b[2];g=g[1]>b[3];if(c||g)if(d=this.getUserWH(),!a&&c&&!t(d[0])||g&&!t(d[1]))return this.measure(b,!0)}return this.size};
a.prototype.renderAxis=function(){var b=this.axis,a=this.contentRect,c=b.range.min;null!==c&&!Aa(c)&&t(c)&&t(b.range.max)&&b.render(a).renderOnCa(a)};a.prototype.patchAxis=function(){var b=this,a=b.rootVisuals,c=b.axis;c.isAdded||(a=[a.topAxes,a.rightAxes,a.bottomAxes,a.leftAxes][b.axis.sideIndex()],c.isVisible&&c.rootPanel&&(c.add(a),a.on("pixelCorrection",function(){b.renderAxis()}),c.rootPanel.isPatched||c.rootPanel.await(function(){return b.renderAxis()})))};a.prototype.render=function(b){var a=
this.rootVisuals;b=this.getBarSize(b);this.rootPanel.attr({width:this.size[0],height:this.size[1]});this.contentRect={x:0,y:0,width:b[0],height:b[1]};this.patchAxis();var c=this.axis.options("scale.invert");c={stops:this.palette.getTraditionalStops(null,!0),angle:this.isHoriz?c?180:0:c?90:-90};c=dc(c);a.colorContent.attr({fill:c,width:b[0],height:b[1]});return this};a.prototype.updateOverflows=function(){var b=Rr(this);this.overflows=b.slice(0);return[b[1]+b[3],b[0]+b[2]]};a.prototype.setRootVisuals=
function(){var b=this.renderer;if(!this.rootVisuals){var a=this.rootVisuals=Rl(b).build({outline:{width:0},axis:{offset:.5},content:{holder:{stretch:!1}},axisMarkers:!0,overflow:!0});a.colorContent=b.rect({radius:3}).add(a.dataContent);this.rootPanel=a.mainStacks}return this};a.prototype.destroy=function(){c.prototype.destroy.call(this);this.axis.destroy()};return a}(mc),Cu=25,Bu=300,Fe=function(c){return c&&"Series"===c.kind},Ge=function(c){return c&&"Point"===c.kind},lE=function(c){function a(b,
a,e){var d=c.call(this,b.chart,C(a.currentOptions,"legendEntry")||{},[b,a])||this;d.legend=b;d.target=a;d.sortOrderValue=e;d.rowVisuals=[];d.textVisualsRef=[];d.state="";d.icons={};d.legend=b;d.bindEvents();d.optionsApplied();return d}L(a,c);a.prototype.init=function(){for(var b=[],a=0;a").attr({xAlignment:"center",width:"100%",fontSize:5,padding:[0,5],suspend:!0}).visible(!1).add(c),a.gridSp=this.renderer.panel({type:"grid",
xAlignment:"center",cellSpacing:z(b.cellSpacing,5)}).add(c)));return this};a.prototype.setAttribs=function(){var b=this.currentOptions,a=b.margin;"position"===Mr(b.position)&&a&&"number"===typeof a&&(b.margin=this.getAdjustedMarginVal(a));b=Ig(b,this.fillShading);delete b.width;this.attribs={bg:b};return this};a.prototype.getAdjustedMarginVal=function(b){var a=[0,0,0,0];a[{t:2,r:3,b:0,l:1}[Kr(this.options("position"))]]=b;return a};a.prototype.measure=function(b){this.render(t(b)?Kc(b):this.chart.renderer.rootBox);
this.isMeasured=!0;return this.getLegendBoxWithMargins()};a.prototype.render=function(b){var a=this,c=a.currentOptions,f="vertical"!==a.layoutDirection,g=a.rootPanel,h=a.rootVisuals,k=b?ha(b):void 0;if(b){b=la(b);var l=!0}else b={};a.updateSp();if(!l)return this;if(a.isDirty||b)if(a.isVisible){g.visible(!0);a.setTargetItems();a.sortByInternalSortValue();var m="colorBar"===a.spMode&&a.smartPalette,n=01.5*b[3]&&k[2]>Eu[0]?(b=[0,0,k[2],b[3]],l=!0):140=b&&(c=z(c.maxWidth,c.width))&&(b=f.width/c);return b};a.prototype.getRows=
function(b){void 0===b&&(b=1);return this.getSetRows(this.getVisibleItems(),b)};a.prototype.getSetRows=function(b,a){void 0===a&&(a=1);var c=this,d=[],g=c.renderer,h=c.currentOptions,k=[],l=[],m=b.length&&b[0].set,n=function(a,b){return x(a,function(a){k.push(a);l.push(b)})},p=function(a,b){a?a.setColumns?(b=a.setColumns().rowVisuals,n(b,a.currentOptions.lineAbove?[!0,!1,!1,!1]:null)):n(a,null):n(c.getBlankEntry(m),null)},q=function(){k.push(g.panel({width:h.horizontalSpacing}));l.push(null)},r=function(a){if(u&&
a){for(var b=0;ba[2]){m=w.slice(0);m.id=v;break}w[3]b)&&(b=this.items.indexOf(e));a=new lE(this,a,c);-1c?1:0});this.options("reversed")&&this.items.reverse()};a.prototype.add=function(a){this.render();this.rootPanel&&this.rootPanel.add(a);return this};return a}(mc),FA=
{zigzag:ws,gap:function(c,a,b,d){var e=a/2,f="c"===c||"l"===c,g="m"===c||"t"===c;f=F(d([b[0]+(f?e:0),b[1]+(g?e:0),b[2]-(f||"r"===c?"c"===c?a:e:0),b[3]-(g||"b"===c?"m"===c?a:e:0)]),4);b=f[0];d=f[1];e=f[2];g=f[3];f={clipPath:fi(b,d,e,g)};if("r"!==c&&"b"!==c){var h=d+.5,k=b+.5;c="t"===c||"m"===c?[[[b,h],[b+e,h]],[[b,h-a],[b+e,h-a]]]:[[[k,d],[k,d+g]],[[k-a,d],[k-a,d+g]]];f.outlinePath=fb(c[0]).concat(fb(c[1]))}return f},line:function(c,a,b,d){if("r"===c||"b"===c)return null;var e=a/2,f="c"===c||"l"===
c;c="m"===c||"t"===c;a=d([b[0]-(f?e:0),b[1]-(c?e:0),f?a:b[2],c?a:b[3]]);return{path:fi(a[0],a[1],a[2],a[3])}},hidden:function(){return null}},HA=function(c,a,b){var d=a.id,e=function(a){return a.crosshair(b)};c.axes().filter({userOptions:{scale:{syncWith:d}}}).each(e);e(a)},IA=function(c){var a=[];x(c,function(b){b.yVal.pop?x(b.yVal,function(c){a.push(en(A({},b,{yVal:c})))}):a.push(en(b))});return a},Fu=["column","area","candlestick","ohlc","variwide"],vj=["column","candlestick","ohlc","variwide"],
Gu=function(c){function a(a,d){var b=c.call(this,a.chart,d,[a.chart,d])||this;b.chartAreaSet=a;b.kind="chartArea";b._series=[];b.yAxis=[];b.xAxis=[];b.zAxis=[];b._axes=[];b.axConfList={};b.renderedRect=Rk();b.preRenderedRect=Rk();b.isDirtyPreRender=!0;b.isRendering=!1;b.renderRect={x:0,y:0,width:0,height:0,borderWidth:0};b.projection={lin2valxy:function(a,b){return[a,b]},val2linxy:function(a,b){return[a,b]}};b._awaitRenderCallbacks=[];b.maxSeriesZIndex=0;b.events={contentBox:new ud,click:new ud};
b.isZoomedDragArea=!1;b.zoomAxes=[];b.computeVals2=function(a,c){var d=a.slice(0,2);b.isHoriz&&d.reverse();var e=[];x(b.zoomAxes,function(a,b){return e[b]=a?a.linToVal(d[b],c):void 0});return b.projection.lin2valxy(e[0],e[1])};b.computeValsTouch=function(a,c){return B(a,function(a){return b.computeVals2(a,c)})};b._lastPointers=[];b.mouseMove=Xi(function(a){var c=function(){var a=e.getCursor();return!a||"crosshair"===a||"move"===a},d=a.pointers||[[a.x,a.y]],e=b.chart,f="touch"===a.device,g;if(2===
d.length&&b.isPinchZooming)b.pinch(a);else if(1===d.length){d=d[0];var h=void 0;if(b.isZooming)return b.zoomEndVals=h=b.computeVals2(d,!0),b.moveZoom(b,h),!0;if(b.isDragging)return b.drag(b.computeVals2(d));var r=b.renderer.renderer.isAnimatingOwn()&&!b._ignoreAnimation;h=b.isType("map");if(!r&&(g=b.renderBySortedSeriesRev)){r=void 0;if(b.crosshair(d,a))b.debounce.run("unmute");else for(var u=0,t=g.length;uc.deltaY?
"+":"-")+Math.abs(.5*c.deltaY)}),this.resetTimers(),a.eventArgs.preventDefault()))};a.prototype.pinch=function(a){var b=this,c=b.isType("map");a=a.pointers;var f=b.getZoomAxes(),g=b.isType("map")&&"xy"||b.chart.currentOptions.axisToZoom,h=function(){return c?Vs(b.zoomBBox||b.zoomBBoxSet):B(f,function(a){return[a.range.min,a.range.max]})};b.isPinchZooming?(b.pinchZoom(b.computeValsTouch(b.pinchStartTouches),b.computeValsTouch(a)),b.pinchStartTouches=a,b.zoomStartRanges=h()):(b.cancelAll(),g&&"none"!==
g&&(b.isPinchZooming=g,b.pinchStartTouches=a,b.zoomStartRanges=h(),b.renderer.attr("disableAnimation",!0)))};a.prototype.resetZoom=function(){clearInterval(this.zoomStartIntervalId);var a=this.isDragging=this.isZooming=!1;this.isZoomed=!1;this.isType("map")?this.chart.zoom("initial"):(x(this.zoomAxes,function(b){b&&(a=!0,b.zoom(void 0,void 0,!1))}),this.series().each(function(a){a.seriesDirty.pos(!0);a.seriesDirty.coord(!0)}),this.renderData());this.chart.setCursor();a&&this.chart.redraw();return this};
a.prototype.cancelAll=function(){this.endDrag();this.isZooming=!1;this.zoomVisual&&this.zoomVisual.attr({display:"none"});this.isPinchZooming=!1;return this};a.prototype.endDrag=function(){this.isDragging&&(this.isDragging=!1,this.series().each(function(a){J(a,["indexer","data","coordinates","0","hitTest"])||a.setCoordinates(void 0,{forceCoordinates:!0})}),this.renderer.attr("disableAnimation",!1),!this._prevCursor&&this.chart.setCursor(),this._prevCursor=null);return this};a.prototype.endZoom=function(){var a=
this;clearInterval(a.zoomStartIntervalId);a.renderer.attr("disableAnimation",!1);if(a.isZooming&&a.zoomEndVals){var c={},e=!1,f=[],g=function(b,d){if(-1").add(e),e.on("click",function(a){ia.location.href="https://jscharting.com"}),
a.renderer.renderer.cssText("#brandingLogo:hover{\n\t\t\t\topacity:1;\n\t\t\t\tfilter:none;\n\t\t\t} #brandingLogo {\n\t\t\t\t-webkit-transition: opacity 1s ease;\n\t\t\t\t-moz-transition: opacity 1s ease;\n\t\t\t\t-o-transition: opacity 1s ease;\n\t\t\t\ttransition: opacity 1s ease;\n\t\t\t}"));a.chartAreaSet=a.chartAreaSet||(new nE(this)).add(f);c.itemsBox=c.itemsBox||b.panel({width:"*",height:"*"}).add(f)};c.prototype.boxDefaults=function(a){var b=Va(this.userOptions.defaultBox);a=Hf(z(a,this.getStyling()));
b&&(b.fill||b.outline&&0!==b.outline.width)&&(a.boxVisible=!0);return b?A(a,b):a};c.prototype.getStyling=function(){var a=this.currentOptions,b=Va(this.userOptions.defaultBox);return z(a.legacyStyling,b&&b.boxVisible)?1:0};c.prototype.touched=function(a){if(t(a))Iu=!0;else return Iu};c.prototype.setCursor=function(a){this.renderer.renderer.setCursor(a)};c.prototype.getCursor=function(){return this.renderer.renderer.getCursor()};c.prototype.getWrapper=function(){return C(this,"renderer.renderer.wrapper.el")};
c.prototype.resetTimers=function(){this.chartAreas().each(function(a){return a.resetTimers()})};c.prototype.redraw=function(a){var b=this;if(!1===b.dirty){var c=b.renderer.getRootBox(),e=b.renderer.renderer.isDefaultSizeSet();if(!c.height||!c.width||e){b.renderer.refreshRootBox();b.renderer.refresh();b.renderer.renderer.rootResize();e?setTimeout(function(){return b.renderer.renderer.resubscribeResize()},1E3):b.renderer.renderer.resubscribeResize();return}}a=Va(a);c=b.disableAnimation(a);b.tooltipRef&&
b.tooltipRef.hide();b.series().each(function(a){return a.visualizer.hideHalo()});b.chartAreaSet.enumerateData();b.chartAreaSet.reflow(a,!0);b.triggerUser("redraw");c&&b.enableAnimation();b.dirty=!1;a&&a.then&&Pd.await(function(){a.then&&(a.then.call(b),delete a.then)})};c.prototype.updateSideItems=function(a){this._grid&&this._grid.setDataFromChart(a)};c.prototype.disableAnimation=function(a){var b=this.renderer;(a=t(a)&&(!1===a||!1===a.animation)&&b.disableAnimation())&&b.attr("disableAnimation",
!0);return a};c.prototype.enableAnimation=function(){this.renderer.attr("disableAnimation",!1)};c.prototype.hideTooltip=function(){var a=this.tooltipRef;a&&a.isVisible&&a.hideActiveTooltip(this)};c.prototype.zoomInOut=function(a){};c.prototype.refreshAnnotations=function(){this.annotations().each(function(a){var b=a.options("label_text");b&&-1a?d=c*e:e>b&&(e=d/c);return[e,d]},ltrbMargins:function(c,a,b){c=$b(c);a=$b(a);var d=function(a){return 0parseInt(c)&&(c=parseInt(c)+1);b||(f=f/Math.min(a.width,a.height)*100);return{cols:c,rows:e,maxSize:f}}}),yE=Object.freeze({changeBrightness:function(c,a){return qa(Mk(c,a))},brightness:function(c){return lf(c)},cushionEffect:mg,aquaEffect:ng,roundedEffect:mf,
colorMods:Oa,parseJscColor:Ob,toHexOpacity:og,parseJscFill:dc,modifyColor:da,modifyFill:hd,addOpacity:Mh,tween:we,colorToPalette:gp,simplify:kg}),zE=Object.freeze({math:Yb,round:sa,avg:Zf,mapValue:T,arraySum:function(c){return Wa(c)},diff:ma,decimalPlaces:ag}),AE=Object.freeze({lowerFirst:Ze,getRandomString:he,shortenEllipsis:$r}),BE=Object.freeze({toDegrees:io,toRadians:zb,normalizeAngle:zh,quadrant:function(c){c=zh(io(c));return 180>c?90<=c?2:3:270<=c?0:1},getPolarPoint:ie,getPolarDegPoint:Yc,gpdp:pa,
gpdp_text:function(c,a,b,d,e,f){var g=F(e,2);e=g[0];g=g[1];e+=b;g+=b;var h=function(a,b){void 0===b&&(b=0);if(0===b)return a;b=Math.min(Math.abs(b),1);return 1===b?1:ll(a,Math.max(1-b,.1))},k=a*Math.PI/180,l=function(a){return.001>Math.abs(a)?0:a};a=l(Math.cos(k));var m=Math.cos(2*k);k=l(Math.sin(k));l=Math.abs;var n=function(a){return 0a?-1:0},p=n(a),q=n(k),r=h(l(k),f[0])*q;h=h(l(a),f[1])*p;f=((0>m?q:r)-1)*e/2;m=-((0k?(d=-e-d,f=Math.max(l(f),l(d))*n(f)):f=Math.min(l(f),l(d))*n(f);return[c[0]+b+f,c[1]+b+m]},gpp:Lb,angleOfPoints:La,pointDistance:Mb,pDist:oc,lineIntersect:$e,lineDistance:jo,pointInsidePolygon:bg,arcCapDegOffset:function(c,a){var b=c-a;c=[pa([0,0],0,(c+a)/2)];b=pa(c[0],108,b);return Math.abs(zb(La([0,0],b)))/2},ensureUprightText:lo}),CE=Object.freeze({isValInsideInc:Nb,intersect:af,positionsToPadRanges:lk,invert:fg}),DE=Object.freeze({win:W,doc:ia,getRootScriptPath:ne,getScript:xk,getJson:function(c,
a,b,d){Eh(c,a,b,d,JSON.parse)}}),EE=Object.freeze({Formatter:Vg,formatString:jg}),FE=Object.freeze({getApiEnum:pe}),GE=Object.freeze({zero:Rk,resize:Sk,scale:Ed,moveTL:function(c,a,b){"undefined"!==typeof a&&(c.width-=a-c.x,c.x=a);"undefined"!==typeof b&&(c.height-=b-c.y,c.y=b);return c},padBox:Tk,padRect:hp,translate:ip,padBoxRel:jp,centerRect:qg,normalize:kp,toLTRB:lp,fromLTRB:mp,round:function(c){c=lp(c);c=B(c,Math.round);return mp(c)},fromBBox:Kc,compare:np}),HE=Object.freeze({registerIcons:zk}),
IE=Object.freeze({measureText:ig}),JE=Object.freeze({getPalette:gj,getPaletteConfig:mt}),KE=Object.freeze({registerModule:function(c,a){c=nf[c]=nf[c]||{};c.afterLoad=a;return c.loaded?!1:c.loaded=!0}}),LE=Object.freeze({idFyObj:Ab,percOrNum:db}),ME=Object.freeze({toDate:Z,toDateNum:id,intervalToSpan:rg,addTimeInterval:ec,unitToFormatOptions:pf,unitListToFormatOptions:Sh,GroupingFunctions:qt,CalendarPattern:Zk}),NE=Object.freeze({calculations:$k,keyArg:sg,nest:Pi}),OE=Object.freeze({fromPoints:eb,
bbox:tl,pathIntersects:function(c,a,b){return Zh(c.shapes[0],a,b)},Path:tf,fromString:Ca,subPath:Gd,shapeBbox:Pb,visualCenterForShape:vg,shapeIntersects:Zh}),PE=Object.freeze({pointsToPath:fb,multiLineToPath:zg,flattenD:wa,arcCornerR:Fp,arc:ul,arcSegment:Mc,pointsEqual:bb,roundCorners:Nc,roundRectCorners:nq}),QE=Object.freeze({parseSize:Ta}),RE=Object.freeze({padMargin:Ll,lineToAttr:wb,shapeToAttr:ic,boxToAttr:Hg,completeDependentOptions:$m,annotationToHtmlAttr:rr,labelToAttr:uc,offsetToAttr:sr,boxToLayoutBoxAttr:Ig}),
SE=Object.freeze({fitBoxInPath:Er,fitBoxData:function(c,a){var b=Fr(c),d=function(b){return[T(0,1,a[0],a[0]+a[2],b[0]),T(0,1,a[1],a[1]+a[3],b[1])]};c=Fi(c);c=Pb(c);return(b=b?Hr(b,d):void 0)?{scans:b,pathBBox:ED(c,d)}:void 0},fitBoxInScanData:function(c,a,b,d){var e=b[1];c=sz(c,a).scans;var f=Math.max(a[2],a[3]),g=[],h=a[1]+1;try{for(;h+e=b[0]&&g.push([f-Mb(va(k),d),k]);h+=1}}catch(m){}if(g.length){g.sort(function(a,b){return a[0]b[0]?1:0}).reverse();
var l=g[0][1]}l&&(l=ob(va(l),b));return l}}),TE=Object.freeze({parseObjectTokens:Ei,parseGridTokens:function(c,a,b){void 0===b&&(b={});var d=Af(c);return d.result?Bf(c,{},{gOptions:b,item:a,atribs:a}):d.text}}),UE=Object.freeze({snapToPanel:od,snapPointToPanel:pd,snapPointsToPanel:Be}),VE=Object.freeze({axesBySideIndex:ls,addXlatD:Rg}),Qf=Object.freeze({__proto__:null,jsLib:wE,mathLib:zE,layoutLib:QE,rectLib:GE,trigLib:BE,SeriesBaseType:Oe,SeriesTypeColumn:ch,minimumHittestSize:15,registerSeriesType:function(c,
a){Sc[c]=a},undefVal:void 0,undef:"undefined",bboxLib:xE,stylingLib:RE,polyFitLib:SE,shapeLib:PE,Annotation:pj,moduleLoader:KE,collectionPropFactory:Qa,consts:vE,en:{error:{}},idleDefer:He,platform:DE,strLib:AE,getColumnIconPathsStatic:$l,BaseChartItem:mc,AxisCollectionWrapper:Pf,AxisViewState:yu,getShapeOptions:Yr,Axis:uj,panels:Rl,dmUtils:UE,ChartArea:Gu,CollisionManager:fn,getBreaksPath:vs,zIndexReference:lu,registerPanes:function(c){dn=c},shapes:sc,colorLib:yE,Series:kn,parsePointValues:Ii,parentNoodles:ds,
parentPropToIds:Li,mapParentChain:cm,pathsToUniqueKeys:es,visStyleConnectors:fs,columnPointBodyD:am,getIconPathsStatic:Ki,getShapePath:Nd,registerTag:function(c,a){Um[c]=a},VirtualElement:ub,rangeLib:CE,TextBox:au,LayoutItem:Lf,Panel:$g,StackPanel:ah,Layout:Kl,registerPanel:function(c,a){Qc[c]=a},UpdatablesCollection:mb,miUtils:FE,isTouchDevice:function(){return"ontouchstart"in W},annotationDefaults:bn,getAlignToOffsets:It,iconsStore:HE,chartOptionsAppliers:lm,pathLib:OE,updateOverflows:Rr,cachedPositionInfo:Og,
isAlignInside:gs,EntryWrapper:cn,formatting:EE,timeLib:ME,chartOptionsModifiers:mm,registerVisual:function(c,a){Qd[c]=a},generateId:Fd,snapPixels:Kf,textLib:IE,palettes:JE,chartInitializers:nn,CompositeElement:VC,CompositeAttrApplier:Ft,Label:Ni,tokenLib:TE,label:mr,dataUtil:NE,registerDataGridFunction:function(c,a){wc[c]=a},jscLabel:As,normalizationUtils:LE,rendererFactory:Bt,emitter:oa,BaseOptions:gu,axisUtils:VE,hideVisual:Ua,generateIdRandom:Ep});Y(Pe,"_modules.types.export",Qf);Y(Pe,"_modules.maps.export",
Qf);Y(Pe,"_modules.toolbar.export",Qf);Y(Pe,"_modules.accessibility.export",Qf);Y(Pe,"_modules.datagrid.export",Qf);Y(Pe,"_modules.debug.export",Qf);S.Chart=wj;S.Grid=Es;S.Nest=uE;S.chart=function(c,a){var b=Object.create(wj.prototype);wj.apply(b,arguments);return b};S.colorToPalette=function(c,a,b,d){return gp(c,a,b,d)};S.csv2Json=function(c,a){return el(c,",",a)};S.defaults=function(c){if(t(c))if(null===c)var a={};else a=rd?rd():{},A(a,c);else return rd?rd():{};a.baseUrl&&(gg=a.baseUrl);return(rd=
Gi(a))?rd():{}};S.dsv2Json=function(c,a,b){void 0===b&&(b={});return el(c,a,b)};S.fetch=function(c,a){Qh||(Qh=W.fetch||Xw);return Qh(c,a)};S.fontsReady=function(c){return rt(c)};S.formatDate=function(c,a,b){void 0===a&&(a="d");return jg(new Date(c),a,b).replace(/\u200E/gi,"")};S.formatNumber=function(c,a,b){void 0===a&&(a="n");return jg(parseFloat(c),a,b)};S.formatString=function(c,a,b){void 0===b&&(b="en-US");return jg(c,a,b)};S.getPalette=Ju;S.getVersion=Cs;S.globalCharts=Ku;S.internal=Pe;S.json2Csv=
function(c,a){return fl(c,",",a)};S.json2Dsv=function(c,a,b){void 0===b&&(b={});return fl(c,a,b)};S.json2Tsv=function(c,a){return fl(c,"\t",a)};S.label=function(c,a,b){return As(c,a,Ri(b))};S.map=sE;S.max=function(c,a){return xj(c,"max",a)};S.mean=function(c,a){return xj(c,"average",a)};S.merge=tE;S.min=function(c,a){return xj(c,"min",a)};S.nest=function(){return new Pi};S.parseCsv=function(c,a){void 0===a&&(a={});return Dp(c,a)};S.parsePoints=function(c,a){return Bp(c,a)};S.pointsFromArray=function(c,
a){return Cp(c,a)};S.ready=function(){for(var c=[],a=0;a