UNPKG

quoslibero

Version:

FusionCharts JavaScript charting framework

1 lines 478 kB
!function(e){"object"==typeof module&&"undefined"!=typeof module.exports?module.exports=e:e()}(function(){(window.webpackJsonpFusionCharts=window.webpackJsonpFusionCharts||[]).push([[4],{782:function(e,t,o){"use strict";t.__esModule=!0,t.DragArea=t.Radar=t.HeatMap=t.BoxAndWhisker2D=t.CandleStick=t.DragNode=t.MSStepLine=t.MultiAxisLine=t.MultilevelPie=t.SelectScatter=t.WaterFall2D=t.Kagi=t.Dragline=t.Dragcolumn2d=t.Inversemsline=t.Inversemscolumn2d=t.Inversemsarea=t.Errorscatter=t.Errorline=t.Errorbar2d=t.Mssplinearea=t.Msspline=t.MSSplineDy=t.Splinearea=t.Logmsline=t.LogStackedColumn2d=t.Logmscolumn2d=t.Spline=undefined;var a=O(o(597)),r=O(o(783)),n=O(o(788)),i=O(o(790)),l=O(o(600)),s=O(o(602)),c=O(o(605)),u=O(o(607)),p=O(o(792)),h=O(o(796)),d=O(o(801)),f=O(o(806)),g=O(o(808)),m=O(o(810)),v=O(o(812)),b=O(o(824)),y=O(o(831)),x=O(o(838)),k=O(o(839)),w=O(o(843)),C=O(o(848)),N=O(o(856)),S=O(o(860)),A=O(o(871)),E=O(o(884)),D=O(o(893)),T=O(o(905)),_=O(o(918)),L=O(o(919)),P=O(o(920));function O(e){return e&&e.__esModule?e:{"default":e}}t.Spline=a["default"],t.Logmscolumn2d=r["default"],t.LogStackedColumn2d=i["default"],t.Logmsline=n["default"],t.Splinearea=l["default"],t.MSSplineDy=c["default"],t.Msspline=s["default"],t.Mssplinearea=u["default"],t.Errorbar2d=p["default"],t.Errorline=h["default"],t.Errorscatter=d["default"],t.Inversemsarea=f["default"],t.Inversemscolumn2d=g["default"],t.Inversemsline=m["default"],t.Dragcolumn2d=v["default"],t.Dragline=b["default"],t.Kagi=y["default"],t.WaterFall2D=x["default"],t.SelectScatter=k["default"],t.MultilevelPie=w["default"],t.MultiAxisLine=C["default"],t.MSStepLine=N["default"],t.DragNode=S["default"],t.CandleStick=A["default"],t.BoxAndWhisker2D=E["default"],t.HeatMap=D["default"],t.Radar=T["default"],t.DragArea=_["default"],t["default"]={name:"powercharts",type:"package",requiresFusionCharts:!0,extension:function(e){e.addDep(L["default"]),e.addDep(P["default"]),e.addDep(a["default"]),e.addDep(r["default"]),e.addDep(i["default"]),e.addDep(n["default"]),e.addDep(l["default"]),e.addDep(c["default"]),e.addDep(s["default"]),e.addDep(u["default"]),e.addDep(p["default"]),e.addDep(h["default"]),e.addDep(d["default"]),e.addDep(f["default"]),e.addDep(g["default"]),e.addDep(m["default"]),e.addDep(v["default"]),e.addDep(b["default"]),e.addDep(y["default"]),e.addDep(x["default"]),e.addDep(k["default"]),e.addDep(w["default"]),e.addDep(C["default"]),e.addDep(N["default"]),e.addDep(S["default"]),e.addDep(A["default"]),e.addDep(E["default"]),e.addDep(D["default"]),e.addDep(T["default"]),e.addDep(_["default"])}}},783:function(e,t,o){"use strict";t.__esModule=!0;var a,r=o(784),n=(a=r)&&a.__esModule?a:{"default":a};t["default"]=n["default"]},784:function(e,t,o){"use strict";t.__esModule=!0;var a=i(o(785)),r=i(o(515)),n=i(o(431));function i(e){return e&&e.__esModule?e:{"default":e}}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var o=Object.getOwnPropertyNames(t),a=0;a<o.length;a++){var r=o[a],n=Object.getOwnPropertyDescriptor(t,r);n&&n.configurable&&e[r]===undefined&&Object.defineProperty(e,r,n)}}(e,t))}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return l(t,e),t.getName=function(){return"LogMSColumn2d"},t.prototype.getName=function(){return"LogMSColumn2d"},t.prototype.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Multi-series Log Column Chart",t.defaultDatasetType="column",t.enablemousetracking=!0},t.prototype.getDSGroupdef=function(){return r["default"]},t.prototype.getDSdef=function(){return n["default"]},t}(a["default"]);t["default"]=s},785:function(e,t,o){"use strict";t.__esModule=!0;var a=i(o(458)),r=i(o(786)),n=o(125);function i(e){return e&&e.__esModule?e:{"default":e}}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var o=Object.getOwnPropertyNames(t),a=0;a<o.length;a++){var r=o[a],n=Object.getOwnPropertyDescriptor(t,r);n&&n.configurable&&e[r]===undefined&&Object.defineProperty(e,r,n)}}(e,t))}var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return o.registerFactory("axis",r["default"],["canvas"]),o}return l(t,e),t.getName=function(){return"MsLog"},t.prototype._feedAxesRawData=function(){var e,t,o=this.getFromEnv("dataSource"),a=this.getFromEnv("chart-attrib");return e=this.getSpecificxAxisConf(),"1"===(t=this.getSpecificyAxisConf()).base&&(t.base=10,t.logBase=10),t.minorDivlinecolor=(0,n.pluck)(a.minordivlinecolor,t.divLineColor),t.minorDivLineThickness=(0,n.pluck)(a.minordivlinethickness,1),t.minorDivLineAlpha=(0,n.pluck)(a.minordivlinealpha,t.divLineAlpha/2),e.vtrendlines=o.vtrendlines,t.trendlines=o.trendlines,{yAxisConf:[t],xAxisConf:[e]}},t.prototype.getSpecificxAxisConf=function(){var e=this.getFromEnv("chart-attrib"),t=this.getBasexAxisConf();return t.showZeroPlane=e.showvzeroplane,t.zeroPlaneThickness=e.vzeroplanethickness,t.zeroPlaneAlpha=e.vzeroplanealpha,t.showAxisLine=(0,n.pluckNumber)(e.showxaxisline,e.showaxislines,e.drawAxisLines,0),t.axisLineColor=(0,n.pluck)(e.xaxislinecolor,e.axislinecolor,"#000000"),t.isReverse=!1,t.showAlternateGridColor=(0,n.pluckNumber)(e.showalternatevgridcolor,0),t.numDivLines=e.numvdivlines,t.maxLabelHeight=e.maxlabelheight,t.axisName=e.xaxisname,t.setAdaptiveMin=e.setadaptivexmin,t.showLimits=e.showvlimits,t.showDivLineValues=(0,n.pluckNumber)(e.showvdivlinevalues,e.showvdivlinevalues),t},t.prototype.getSpecificyAxisConf=function(){var e=this.getFromEnv("chart-attrib"),t=this.config.is3D?n.chartPaletteStr.chart3D:n.chartPaletteStr.chart2D,o=!!(0,n.pluckNumber)(e.invertyaxis,0),a=this.getFromEnv("color-manager");return{isVertical:!0,isReverse:!o,isOpposit:!1,outCanfontFamily:(0,n.pluck)(e.outcnvbasefont,e.basefont,"Verdana,sans"),outCanfontSize:(0,n.pluckFontSize)(e.outcnvbasefontsize,e.basefontsize,10),outCancolor:(0,n.pluck)(e.outcnvbasefontcolor,e.basefontcolor,a.getColor(t.baseFontColor)).replace(/^#? ([a-f0-9]+)/gi,"#$1"),axisNamePadding:e.yaxisnamepadding,axisValuePadding:e.yaxisvaluespadding,axisNameFont:e.yaxisnamefont,axisNameFontSize:e.yaxisnamefontsize,axisNameFontColor:e.yaxisnamefontcolor,axisNameFontBold:e.yaxisnamefontbold,axisNameFontItalic:e.yaxisnamefontitalic,axisNameBgColor:e.yaxisnamebgcolor,axisNameBorderColor:e.yaxisnamebordercolor,axisNameAlpha:e.yaxisnamealpha,axisNameFontAlpha:e.yaxisnamefontalpha,axisNameBgAlpha:e.yaxisnamebgalpha,axisNameBorderAlpha:e.yaxisnameborderalpha,axisNameBorderPadding:e.yaxisnameborderpadding,axisNameBorderRadius:e.yaxisnameborderradius,axisNameBorderThickness:e.yaxisnameborderthickness,axisNameBorderDashed:e.yaxisnameborderdashed,axisNameBorderDashLen:e.yaxisnameborderdashlen,axisNameBorderDashGap:e.yaxisnameborderdashgap,axisNameWidth:e.yaxisnamewidth,useEllipsesWhenOverflow:e.useellipseswhenoverflow,rotateAxisName:(0,n.pluckNumber)(e.rotateyaxisname,1),axisName:e.yaxisname,divLineColor:(0,n.pluck)(e.divlinecolor,a.getColor(t.divLineColor)),divLineAlpha:(0,n.pluck)(e.divlinealpha,a.getColor("divLineAlpha")),divLineThickness:(0,n.pluckNumber)(e.divlinethickness,2),divLineIsDashed:Boolean((0,n.pluckNumber)(e.divlinedashed,e.divlineisdashed,0)),divLineDashLen:(0,n.pluckNumber)(e.divlinedashlen,4),divLineDashGap:(0,n.pluckNumber)(e.divlinedashgap,2),showAlternateGridColor:(0,n.pluckNumber)(e.showalternatehgridcolor,1),alternateGridColor:(0,n.pluck)(e.alternatehgridcolor,a.getColor("altHGridColor")),alternateGridAlpha:(0,n.pluck)(e.alternatehgridalpha,a.getColor("altHGridAlpha")),numDivLines:e.numdivlines,axisMinValue:e.yaxisminvalue,axisMaxValue:e.yaxismaxvalue,setAdaptiveMin:e.setadaptiveymin,adjustDiv:e.adjustdiv,labelStep:e.yaxisvaluesstep,showAxisValues:(0,n.pluckNumber)(e.showyaxisvalues,e.showyaxisvalue),showLimits:(0,n.pluckNumber)(e.showyaxislimits,e.showlimits,this.showLimits),showDivLineValues:(0,n.pluckNumber)(e.showdivlinevalues,e.showdivlinevalue),showZeroPlane:e.showzeroplane,zeroPlaneColor:e.zeroplanecolor,zeroPlaneThickness:e.zeroplanethickness,zeroPlaneAlpha:e.zeroplanealpha,showZeroPlaneValue:e.showzeroplanevalue,trendlineColor:e.trendlinecolor,trendlineToolText:e.trendlinetooltext,trendlineThickness:e.trendlinethickness,trendlineAlpha:e.trendlinealpha,showTrendlinesOnTop:e.showtrendlinesontop,showAxisLine:(0,n.pluckNumber)(e.showyaxisline,e.showaxislines,e.drawAxisLines,0),axisLineThickness:(0,n.pluckNumber)(e.yaxislinethickness,e.axislinethickness,1),axisLineAlpha:(0,n.pluckNumber)(e.yaxislinealpha,e.axislinealpha,100),base:e.base,logBase:e.logbase,axisLineColor:(0,n.pluck)(e.yaxislinecolor,e.axislinecolor,"#000000"),showMinorDivLineValues:(0,n.pluckNumber)(e.showminordivlinevalues,0),numMinorDivLines:e.numminordivlines}},t}(a["default"]);t["default"]=s},786:function(e,t,o){"use strict";t.__esModule=!0,t["default"]=function(e){var t=e.getChildren("canvas")[0],o=t.getChildren("axisRefVisualCartesian")[0],i={zoomable:!0,pannable:!0},l=e._feedAxesRawData(),s=void 0,c=void 0,u=function(){return o.asyncDraw()};(0,a.componentFactory)(e,r["default"],"yAxis",1,l.yAxisConf),(0,a.componentFactory)(e,n["default"],"xAxis",1,l.xAxisConf),s=e.getChildren("yAxis")[0],c=e.getChildren("xAxis")[0],s.setLinkedItem("canvas",t),c.setLinkedItem("canvas",t),o.setLinkedItem(s.getId(),s),o.setLinkedItem(c.getId(),c),o.addExtEventListener("visiblerangeset",u,c),o.addExtEventListener("visiblerangeset",u,s),t.attachAxis(c,!1,e.zoomX?i:{}),t.attachAxis(s,!0,e.zoomY?i:{}),e._setCategories()};var a=o(125),r=i(o(787)),n=i(o(421));function i(e){return e&&e.__esModule?e:{"default":e}}},787:function(e,t,o){"use strict";t.__esModule=!0;var a=s(o(378)),r=s(o(742)),n=s(o(382)),i=o(125),l=o(385);function s(e){return e&&e.__esModule?e:{"default":e}}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var o=Object.getOwnPropertyNames(t),a=0;a<o.length;a++){var r=o[a],n=Object.getOwnPropertyDescriptor(t,r);n&&n.configurable&&e[r]===undefined&&Object.defineProperty(e,r,n)}}(e,t))}var u=function(e){return null!==e&&e!==i.UNDEF&&""!==e&&!isNaN(e)},p={wrtVisible:!0},h=i.preDefStr.POSITION_START,d=i.preDefStr.POSITION_TOP,f=i.preDefStr.POSITION_BOTTOM,g=i.preDefStr.POSITION_END,m=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];if(0===e.length)return[];var o=e.length-1,a=t.length-1,r=[e[o]];for(o--;o>=0;)t[a]>e[o]?(r.push(t[a]),a--):(r.push(e[o]),o--);return r},v=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return o.config.scale=new r["default"],o.config.labelMap=[],o}return c(t,e),t.prototype.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.base=10,t.showMinorDivLineValues=1,t.numMinorDivLines=i.UNDEF},t.prototype.getName=function(){return"log"},t.prototype.configureAttributes=function(t){var o,a=this.config,r=this.getFromEnv("number-formatter"),n=this.getFromEnv("color-manager");e.prototype.configureAttributes.call(this,t),o=a.rawAttr,a.minorDivlinecolor=(0,i.convertColor)((0,i.pluck)(o.minorDivlinecolor,n.getColor("divLineColor")),(0,i.pluckNumber)(o.minorDivLineAlpha,n.getColor("divLineAlpha")/2)),a.axisMinValue=r.getCleanValue(o.axisMinValue),a.axisMaxValue=r.getCleanValue(o.axisMaxValue),a.minorTicks=[],a.axisMinValue<=0&&(a.axisMinValue=i.UNDEF),a.axisMaxValue<=0&&(a.axisMaxValue=i.UNDEF),this.getScale().setBase(a.base),a.minorDivLineThickness=(0,i.pluckNumber)(o.minorDivLineThickness,1),a.band.isDraw=0},t.prototype.generateTicks=function(){var e=this.getScale().ticks();return this.config._allTicks=e.slice(),e},t.prototype.generateMinorTicks=function(){return this.getScale().minorTicks(this.config.numMinorDivLines)},t.prototype._setAxisRange=function(e){var t=e.min,o=t===undefined?.1:t,a=e.max,r=a===undefined?1:a,n=this.getScale().setDomain([o,r]).nice(),i=this.config,l=i.axisRange;i.ticks=this.generateTicks(),i.minorTicks=this.generateMinorTicks();var s=n.getDomain();o=s[0],r=s[1],l.max=r,l.min=o,this.setVisibleConfig(o,r)},t.prototype.setDataLimit=function(e,t){var o,a,r=this.config,n=r.axisMaxValue,l=r.axisMinValue;u(l)&&Number(l)<=t&&(t=l),u(n)&&Number(n)>=e&&(e=n),0===t&&(t=1),0===e&&(e=r.base);var s=this.getTrendLineLimits();o=s[0],a=s[1];var c=(0,i.extent)([o,a,t,e],function(e){return Number(e)});t=c[0],e=c[1],this._setAxisRange({min:t,max:e})},t.prototype._parseLabel=function(){var e,t,o,a,r,n,l,s,c,u,v,b,y,x,k,w,C=this.config,N=this.getFromEnv("chart").config,S=C.axisRange,A=C.isOpposit,E=C.labels,D=E.style,T=C.isVertical,_=S.max,L=S.min,P=N.canvasBottom,O=N.canvasLeft,V=N.canvasRight,M=N.canvasTop,F=C.labelPadding,I=this.getFromEnv("number-formatter"),B=C.labelMaxH,R=C.labelMaxW,j=C.axisStartPosition,G=this.components,H=C.minorTicks;if(D.lineHeight&&-1!==(n=D.lineHeight).indexOf("px")&&(n=n.replace("px",""),n=parseFloat(n)),C.labels.isDraw)for(w=1!==this.getZoom(),k=G.labels,e=C.labels.step?S.tickInterval*C.labels.step:S.tickInterval,r=C.labels.rotation,a=this.getVisibleConfig(),G.labelIndexArr=[],C.allTicks=c=m(C.ticks,C.minorTicks),x=T?B:R,u=c.length,t=0;t<u;t++)if(v=c[t],b=this.getPixel(v,p),(!(H.indexOf(v)>=0)||C.showMinorDivLineValues)&&!(y&&b>y-x&&b<y+x)&&(!w||!(v<a.minValue||v>a.maxValue))&&(C.labels.drawNormalVal||C.labels.drawLimitVal&&(v===L||v===_))&&(C.labels.drawNormalVal||v===L||v===_)&&(C.labels.drawLimitVal||v!==L&&v!==_)&&(0!==C.showZeroPlaneValue||0!==C.showZeroPlane||0!==v)){if(1===C.showZeroPlane&&1===C.showZeroPlaneValue&&(v<0&&v+e>0||v>0&&v-e<0))if(T){if(b+B>=this.getPixel(0,p)&&this.getPixel(0,p)>=b-B)continue}else if(b+R>=this.getPixel(0,p)&&this.getPixel(0,p)>=b-R)continue;s={fill:D.color,"font-size":D.fontSize},T?(o=""+(C.numberFormatterFn?I[C.numberFormatterFn]:C.isPercent?I.percentValue:I.yAxis).call(I,v),l=C.hasCategory&&C.categories.category[t].labelPadding||0,s["text-anchor"]=A?h:g,s.text=o,s.x=A?(j||V)+F:(j||O)-F,s.y=l?b+l:b,y=s.y):(o=""+(C.numberFormatterFn?I[C.numberFormatterFn]:C.isPercent?I.percentValue:I.xAxis).call(I,v),l=C.hasCategory&&Number(C.categories.category[t].labelPadding)||0,s.text=o,s.x=b,s.y=A?(j||M)-F:(j||P)+F,l&&(s.y+=l),r?(s["text-anchor"]=A?h:g,s["vertical-align"]="middle"):s["vertical-align"]=A?f:d,y=s.x),E.shiftX&&(s.x+=E.shiftX),E.shiftY&&(s.y+=E.shiftY),s.transform=(0,i.getSuggestiveRotation)(r,s.x,s.y),G.labelIndexArr.push(t),k[t]=k[t]||{config:{props:{label:{}}}},k[t].config.props.label.attr=s,k[t].config.props.label.css=o.css,k[t].config.value=v}},t.prototype._drawLabel=function(){var e,t,o,a,r,i,l,s,c,u=this,p=u.config,h=u.getFromEnv("animationManager"),d=p.labels.style,f=p.axisContainer,g=[],m=u.components,v=m.labelIndexArr,b={fontFamily:d.fontFamily,fontSize:d.fontSize,fontWeight:d.fontWeight,fontStyle:d.fontStyle,lineHeight:d.lineHeight};if(p.labels.isDraw){for(c=m.labels,f.css(b),l=v.length,t=0;t<l;t++)o=(s=c[e=v[t]].config.value)+"_label",i=u.getGraphicalElement(o),g.push(o),i=this.addGraphicalElement(o,h.setAnimation({container:f,el:i||"text",attr:c[e].config.props.label.attr,data:{value:s},component:this,label:"text",css:c[e].config.props.label.css}));a=(0,n["default"])(p.labelMap,g)}else a=p.labelMap;p.labelMap=g,function(t){for(e=0;e<t.length;++e)(r=u.getGraphicalElement(t[e]))&&u.removeGraphicalElement(r)}(a)},t.prototype._getVMaxLabelDimention=function(){var e,t,o,a,r,n,i,l,s=this.config,c=this.getFromEnv("chart"),u=this.getFromEnv("smartLabel"),p=this.getFromEnv("number-formatter"),h=s.labels.style,d=0;for(u.useEllipsesOnOverflow(c.config.useEllipsesWhenOverflow),u.setStyle({fontSize:h.fontSize,fontFamily:h.fontFamily,lineHeight:h.lineHeight,fontWeight:h.fontWeight}),i=s.isPercent?p.percentValue:p.xAxis,s.allTicks=e=m(s.ticks,s.minorTicks),t=e.length,a=0;a<t;a++)l=e[a],r=""+i.call(p,l),n=u.getOriSize(r),this.components.labels[a]={config:{width:n.width,height:n.height,props:{label:{}}}},r.length>d&&(o=n,d=r.length);return o},t.prototype._getHMaxLabelDimention=function(){return this._getVMaxLabelDimention()},t.prototype.getCleanValue=function(e){var t=null;return(e=Math.abs(e))>0&&(t=this.getFromEnv("number-formatter").getCleanValue(e)),t},t}(a["default"]);v.prototype.getTrendLineLimits=l.getTrendLineLimits,t["default"]=v},788:function(e,t,o){"use strict";t.__esModule=!0;var a,r=o(789),n=(a=r)&&a.__esModule?a:{"default":a};t["default"]=n["default"]},789:function(e,t,o){"use strict";t.__esModule=!0;var a=i(o(785)),r=i(o(448)),n=o(550);function i(e){return e&&e.__esModule?e:{"default":e}}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var o=Object.getOwnPropertyNames(t),a=0;a<o.length;a++){var r=o[a],n=Object.getOwnPropertyDescriptor(t,r);n&&n.configurable&&e[r]===undefined&&Object.defineProperty(e,r,n)}}(e,t))}var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return o.defaultPlotShadow=1,o}return l(t,e),t.getName=function(){return"LogMSLine"},t.prototype.getName=function(){return"LogMSLine"},t.prototype.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Multi-series Line Chart",t.defaultDatasetType="line",t.zeroplanethickness=1,t.enablemousetracking=!0,t.zeroplanealpha=40,t.showzeroplaneontop=0,t.enablemousetracking=!0,t.defaultcrosslinethickness=1,n._setDefaultConfig.call(this)},t.prototype.getDSGroupdef=function(){},t.prototype.getDSdef=function(){return r["default"]},t}(a["default"]);t["default"]=s},790:function(e,t,o){"use strict";t.__esModule=!0;var a,r=o(791),n=(a=r)&&a.__esModule?a:{"default":a};t["default"]=n["default"]},791:function(e,t,o){"use strict";t.__esModule=!0;var a=n(o(784)),r=n(o(524));function n(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var o=Object.getOwnPropertyNames(t),a=0;a<o.length;a++){var r=o[a],n=Object.getOwnPropertyDescriptor(t,r);n&&n.configurable&&e[r]===undefined&&Object.defineProperty(e,r,n)}}(e,t))}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return i(t,e),t.getName=function(){return"LogStackedColumn2d"},t.prototype.getName=function(){return"LogStackedColumn2d"},t.prototype.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Stacked Log Column Chart",t.isstacked=!0},t.prototype.getDSGroupdef=function(){return r["default"]},t}(a["default"]);t["default"]=l},792:function(e,t,o){"use strict";t.__esModule=!0;var a,r=o(793),n=(a=r)&&a.__esModule?a:{"default":a};t["default"]=n["default"]},793:function(e,t,o){"use strict";t.__esModule=!0;var a=i(o(458)),r=i(o(515)),n=i(o(794));function i(e){return e&&e.__esModule?e:{"default":e}}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var o=Object.getOwnPropertyNames(t),a=0;a<o.length;a++){var r=o[a],n=Object.getOwnPropertyDescriptor(t,r);n&&n.configurable&&e[r]===undefined&&Object.defineProperty(e,r,n)}}(e,t))}var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return o.showValues=0,o.isErrorChart=!0,o.eiMethods={},o}return l(t,e),t.getName=function(){return"ErrorBar2D"},t.prototype.getName=function(){return"ErrorBar2D"},t.prototype.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Error Bar Chart",t.hasLegend=!0,t.defaultDatasetType="errorbar2d",t.enablemousetracking=!0},t.prototype.getDSGroupdef=function(){return r["default"]},t.prototype.getDSdef=function(){return n["default"]},t}(a["default"]);t["default"]=s},794:function(e,t,o){"use strict";t.__esModule=!0,t._checkPointerOverPlot=t._checkPointerOverErrorBar=t._firePlotEvent=t._rolloutResponseSetter=t._rolloverResponseSetter=t.removePlots=t._getHoveredPlot=undefined;var a=o(125),r=l(o(431)),n=o(132),i=l(o(795));function l(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var o=Object.getOwnPropertyNames(t),a=0;a<o.length;a++){var r=o[a],n=Object.getOwnPropertyDescriptor(t,r);n&&n.configurable&&e[r]===undefined&&Object.defineProperty(e,r,n)}}(e,t))}var c,u,p,h,d,f=a.preDefStr.colors.AAAAAA,g=a.preDefStr.ROUND,m=a.preDefStr.PERCENTAGESTRING,v=a.preDefStr.pStr,b=a.preDefStr.sStr,y=function(e,t,o,a){var r=t.graphics,n=t.errorBarHovered,i=r&&r.element,l=e.getFromEnv("animationManager"),s=i&&i.getData();!n&&i&&0!==s.showHoverEffect&&(l.setAnimationState("mouseOver"),l.setAnimation({el:i,label:"rect",component:a,attr:i.getData().setRolloverAttr,doNotRemove:!0})),i&&e.plotEventHandler(i,o,"DataPlotRollOver")},x=function(e,t,o,a){var r=t.graphics,n=t.errorBarHovered,i=r&&r.element,l=e.getFromEnv("animationManager"),s=i&&i.getData();!n&&i&&0!==s.showHoverEffect&&(l.setAnimationState("mouseOut"),l.setAnimation({el:i,label:"rect",component:a,attr:i.getData().setRolloutAttr,doNotRemove:!0})),i&&e.plotEventHandler(i,o,"DataPlotRollOut")};(0,n.addDep)({name:"errorbar2DColumnAnimation",type:"animationRule",extension:i["default"].column}),(0,n.addDep)({name:"errorbar2DErrorAnimation",type:"animationRule",extension:i["default"].error});var k=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return s(t,e),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"errorBar2D"},t.prototype.ErrorValueConfigure=function(){var e,t,o,r,n,i,l,s,c,u,p,h,d,g,y,x,k,w,C,N,S,A,E,D,T,_,L,P,O=this.config,V=O.JSONData,M=V.data,F=M&&M.length,I=this.getFromEnv("chart-attrib"),B=this.components.data,R=(0,a.parseUnsafeString)(I.yaxisname),j=(0,a.parseUnsafeString)(I.xaxisname),G=(0,a.pluckNumber)(I.seriesnameintooltip,1),H=(0,a.parseUnsafeString)((0,a.pluck)(I.tooltipsepchar,", ")),W=this.getFromEnv("number-formatter"),z=-Infinity,U=Infinity,J=this.getFromEnv("xAxis").getTicksLen(),K=Math.min(J,F),q=function(t){var r;return O.showTooltip?null===h?r=!1:void 0!==t?(l=[1,2,3,4,5,6,7,99,100,101,102,120,121],s={yaxisName:R,xaxisName:j,formattedValue:o.toolTipValue,errorValue:p,errorDataValue:o.errorToolTipValue,errorPercentValue:o.errorPercentValue,errorPercentDataValue:o.errorPercentValue,positiveErrorValue:o.positiveErrorToolTipValue,negativeErrorValue:o.negativeErrorToolTipValue,label:o.label},r=(0,a.parseTooltext)(t,l,s,e,I,V)):(G&&(n=(0,a.getFirstValue)(V&&V.seriesname)),r=n?n+H:"",r+=o.label?o.label+H:""):r=!1,r};for(O.showTooltip=(0,a.pluckNumber)(I.showtooltip,1),O.errorInPercent=i=(0,a.pluckNumber)(V.errorinpercent,I.errorinpercent),O.showValues=(0,a.pluckNumber)(V.showvalues,I.showvalues,0),O.errorBarShadow=g=(0,a.pluckNumber)(I.errorbarshadow,I.showshadow,1),O.ignoreEmptyDatasets=(0,a.pluckNumber)(V.ignoreemptydatasets,0),N=(0,a.pluckNumber)(I.halferrorbar,1),O.notHalfErrorBar=!(0,a.pluckNumber)(I.halferrorbar,1),u=(0,a.getFirstAlpha)((0,a.pluck)(V.errorbaralpha,I.errorbaralpha,O.plotfillalpha)),O.errorBarWidthPercent=(0,a.pluckNumber)(V.errorbarwidthpercent,I.errorbarwidthpercent,70),O.errorBarColor=(0,a.convertColor)((0,a.getFirstColor)((0,a.pluck)(V.errorbarcolor,I.errorbarcolor,f)),u),O.errorBarThickness=(0,a.pluckNumber)(V.errorbarthickness,I.errorbarthickness,1),O.shadowOpacity=g?u/250:0,O.parentYAxis=y=(0,a.pluck)(V.parentyaxis&&V.parentyaxis.toLowerCase(),v)===b?1:0,O.cumulativeValueOnErrorBar=(0,a.pluckNumber)(V.cumulativevalueonerrorbar,I.cumulativevalueonerrorbar,1),P=0;P<K;P++)(t=B[P])&&(e=M&&M[P],o=t&&t.config,_=void 0,L=void 0,void 0!==(0,a.pluckNumber)(e.value)&&(t||(t=B[P]={graphics:{}}),t.config||(o=B[P].config={}),x=o.setValue,o.setErrorValue=p=W.getCleanValue(e.errorvalue),o.errorInPercent=(0,a.pluckNumber)(e.errorinpercent,i,0),o.errorInPercent&&(o.setErrorValue=p=(0,a.pluckNumber)((p/100*x).toFixed(2))),o.cumulativeValueOnErrorBar=(0,a.pluckNumber)(e.cumulativevalueonerrorbar,O.cumulativeValueOnErrorBar,1),o.positiveErrorValue=W.getCleanValue((0,a.pluckNumber)(e.positiveerrorvalue,e.errorvalue)),o.errorInPercent&&o.positiveErrorValue&&(o.positiveErrorValue=(0,a.pluckNumber)((o.positiveErrorValue/100*x).toFixed(2))),o.positiveCumulativeErrorValue=x+(0,a.pluckNumber)(o.positiveErrorValue,o.setErrorValue),o.negativeErrorValue=W.getCleanValue((0,a.pluckNumber)(e.negativeerrorvalue,e.errorvalue)),o.errorInPercent&&o.negativeErrorValue&&(o.negativeErrorValue=(0,a.pluckNumber)((o.negativeErrorValue/100*x).toFixed(2))),o.negativeCumulativeErrorValue=x-(0,a.pluckNumber)(o.negativeErrorValue,o.setErrorValue),o.errorToolTipValue=W.dataLabels(p,y),o.negativeErrorToolTipValue=W.dataLabels(o.negativeErrorValue,y),o.negativeCumulativeErrorTooltipValue=W.dataLabels(o.negativeCumulativeErrorValue,y),o.positiveErrorToolTipValue=W.dataLabels(o.positiveErrorValue,y),o.positiveCumulativeErrorTooltipValue=W.dataLabels(o.positiveCumulativeErrorValue,y),o.errorPercentValue=Math.round(p/x*a.HUNDREDSTRING*a.HUNDREDSTRING)/a.HUNDREDSTRING+m,E=o.cumulativeValueOnErrorBar,o.notHalfErrorBar=O.notHalfErrorBar,o.halfErrorBar=N,o.showValue=(0,a.pluckNumber)(e.showvalue,O.showValues),o.hasErrorValue=void 0!==(0,a.pluckNumber)(e.errorvalue)?1:0,k=o.errorValue=p,c=o.errorToolTipValue,h=c,r=q(d=(0,a.getValidValue)((0,a.parseUnsafeString)((0,a.pluck)(e.errorplottooltext,V.errorplottooltext,I.errorplottooltext,h)))),_=L=void 0,(d=(0,a.getValidValue)((0,a.parseUnsafeString)((0,a.pluck)(e.errorplottooltext,V.errorplottooltext,I.errorplottooltext,o.positiveErrorToolTipValue))))&&o.positiveErrorToolTipValue&&(_=q(d)),(d=(0,a.getValidValue)((0,a.parseUnsafeString)((0,a.pluck)(e.errorplottooltext,V.errorplottooltext,I.errorplottooltext,o.negativeErrorToolTipValue))))&&o.negativeErrorToolTipValue&&(L=q(d)),E&&((d=(0,a.getValidValue)((0,a.parseUnsafeString)((0,a.pluck)(e.errorplottooltext,V.errorplottooltext,I.errorplottooltext,o.positiveCumulativeErrorTooltipValue))))&&o.positiveCumulativeErrorTooltipValue&&(D=q(d)),(d=(0,a.getValidValue)((0,a.parseUnsafeString)((0,a.pluck)(e.errorplottooltext,V.errorplottooltext,I.errorplottooltext,o.negativeCumulativeErrorTooltipValue))))&&o.negativeCumulativeErrorTooltipValue&&(T=q(d))),S=o.positiveErrorValue,A=o.negativeErrorValue,(e.positiveerrorvalue||e.negativeerrorvalue)&&(o.halfErrorBar=0,o.notHalfErrorBar=!0),w=x+(null!==S?S:p),C=x-(o.halfErrorBar?0:A<0&&x<0?0:null!==A?A:p),z=Math.max(z,w,C),U=Math.min(U,w,C),o.errorValueArr=[],null===o.positiveErrorValue&&(o.positiveErrorValue=void 0),k=-o.positiveErrorValue,o.errorValueArr.push({errorValue:k,tooltext:E?D:_||r,errorEdgeBar:!0}),o.errorValueArr.push({errorValue:k,tooltext:_||r}),o.notHalfErrorBar&&(k=o.negativeErrorValue,o.errorValueArr.push({errorValue:k,tooltext:E?T:L||r,errorEdgeBar:!0}),o.errorValueArr.push({errorValue:k,tooltext:L||r})),o.toolText=q(o.setTooltext)));O.maxValue=z,O.minValue=U},t.prototype.drawErrorValue=function(){var e,t,o,r,n,i,l,s,c,u,p,h,d,f,m,v,b,y,x,k,w,C,N,S,A,E,D,T,_,L,P,O,V=this.getJSONIndex(),M=this.config,F=this.getState("visible"),I=this.getFromEnv("chart"),B=this.getFromEnv("yAxis"),R=this.components.data,j=M.errorBarThickness,G=M.errorBarWidthPercent,H=M.errorBarColor,W=M.shadowOpacity,z=this.getContainer("errorPlotGroup"),U=this.getContainer("errorShadowGroup"),J=M.scrollMinVal,K=M.scrollMaxVal,q=function(e){return function(){"disappearing"===e?this.hide():this.show()}},Y=this.getFromEnv("animationManager");for(t=J;t<K;t++)if((l=R[t])&&(L=l.trackerConfig,(O=l.errorTrackerConfig={}).errorTrackerArr=[],s=(c=l&&l.config)&&c.setValue,void 0!==l))if(l&&(void 0===s||null===s||""===c.errorValue||void 0===c.errorValue||null===c.errorValue&&null===c.positiveErrorValue&&null===c.negativeErrorValue))for(k=l.graphics.error&&l.graphics.error.length,o=0;o<k;o++)l.graphics.error&&l.graphics.error[o]&&(Y.setAnimation({el:l.graphics.error[o],label:"path",callback:q("disappearing")}),l.graphics.error[o].shadow({opacity:0}));else{for(l.errorBar&&delete l.errorBar,v=c.errorValueArr,O.errorLen=k=v.length,!l.graphics.error&&(l.graphics.error=[]),C=V+"_"+t,r=c.setLink,S=s<0,A=l._xPos,E=l._yPos,D=l._width,T=l._height,i=S?E+T:E,n=A+D/2,l.errorBar||(l.errorBar=[]);k--;)N=null,O.errorTrackerArr[k]={},b=v[k],O.errorTrackerArr[k].tooltext=b.tooltext,_=b.errorStartValue,x=isNaN(_)?i:B.getPixel(_),null===(y=b.errorValue)||isNaN(y)?l.graphics.error&&l.graphics.error[k]&&Y.setAnimation({el:l.graphics.error[k],label:"path",doNotRemove:!0,callback:q("disappearing")}).shadow({opacity:0}):(w=D*(G/100)/2,m=F?-1:0,f=B.getPixel(B.getValue(isNaN(_)?E:x)+y*m,{wrtVisible:!0}),S&&(f+=T),p=f,h=n,P=(j=(0,a.pluckNumber)(b.errorBarThickness,j))>5?j/2:2.5,p=Math.round(f)+j%2/2,h=Math.round(n)+j%2/2,l.errorBar[k]||(l.errorBar[k]=[]),b.errorEdgeBar?(d=["M",h-w,p,"H",h+w],l.errorBar[k][1]={_xPos:h-w-P,_yPos:p-P,_height:2*P,_width:2*(w+P),_toolText:b.tooltext}):(d=["M",h,x,"V",p],l.errorBar[k][0]={_xPos:h-P,_yPos:p<x?p:x,_height:Math.abs(x-p),_width:2*P,_toolText:b.tooltext}),e={path:d,stroke:H=(0,a.pluck)(b.errorBarColor,H),"stroke-width":j,cursor:r?"pointer":"","stroke-linecap":g},u=!l.graphics.error[k]&&F?"appearing":F?"updating":"disappearing",N=l.graphics.error[k]=Y.setAnimation({el:l.graphics.error[k]||"path",container:z,component:this,attr:e,label:"path",state:u,callback:q(u)}).shadow({opacity:W},U),I.config.enablemousetracking&&N.data("groupId",C).data("eventArgs",L.eventArgs));if(!c.notHalfErrorBar)for(o=2;o<4;o++)l.graphics.error&&l.graphics.error[o]&&Y.setAnimation({el:l.graphics.error[o],label:"path",doNotRemove:!0,callback:q("disappearing")}).shadow({opacity:0})}},t.prototype._firePlotEvent=function(e,t,o){var a=this.getFromEnv("chart"),r=this.components.data[t],n=this.getFromEnv("toolTipController"),i=r.graphics.element,l=r.errorBarHovered,s=r.config.setLink;if(i)switch(e){case"fc-mouseover":this._decideTooltipType(t,o),y(a,r,o,this),s&&(i.node.style.cursor="pointer");break;case"fc-mouseout":n.hide(this.config.currentToolTip),x(a,r,o,this),s&&(i.node.style.cursor="default");break;case"fc-click":a.plotEventHandler(i,o);break;case"fc-mousemove":this._decideTooltipType(t,o),l&&!r._isRollover?(0!==i.showHoverEffect&&i.attr(i.getData().setRolloutAttr),r._isRollover=!0,r._isRollout=!1):l||r._isRollout||(0!==i.showHoverEffect&&i.attr(i.getData().setRolloverAttr),r._isRollover=!1,r._isRollout=!0)}},t.prototype._checkPointerOverErrorBar=function(e,t,o){var a,r,n,i,l,s,c,u,p,h,d=this.components.data,f=d[e];if(f&&(r=f.errorBar))for(i=r&&r.length;i--;)for(l=(n=r[i])&&n.length;l--;)if(n[l]&&n[l]._xPos&&(c=n[l]._xPos,u=n[l]._yPos,p=n[l]._height,h=n[l]._width,s=n[l]._toolText,a=t>=c&&t<=c+h&&o>=u&&o<=u+p))return{pointIndex:e,hovered:a,pointObj:d[e],toolText:s}},t.prototype._checkPointerOverPlot=function(e,t,o){var a,r,n=this.components.data,i=this.getFromEnv("chart-attrib"),l=this.config.JSONData,s=n[e],c=s&&s.config;if(s)return a=l.plottooltext||i.plottooltext?"":c.toolTipValue,(r=this._checkPointerOverErrorBar(e,t,o))?(s.errorBarHovered=!0,c.finalTooltext=r.toolText):(r=this._checkPointerOverColumn(e,t,o),s.errorBarHovered=!1,r&&(c.finalTooltext=!1!==c.toolText&&c.toolText+a)),r},t.prototype._getHoveredPlot=function(e,t){var o,a;return o=this.getFromEnv("xAxis").getValue(e),(a=Math.round(o))-o>0?this._checkPointerOverPlot(a,e,t)||this._checkPointerOverPlot(a-1,e,t):this._checkPointerOverPlot(a+1,e,t)||this._checkPointerOverPlot(a,e,t)},t.prototype.removePlots=function(){var e,t,o,a,r=this.components,n=r.removeDataArr,i=r.pool||(r.pool={element:[],hotElement:[],label:[]}),l=n.length,s=this.getFromEnv("animationManager");for(o=0;o<l;o++)if(e=n[0],n.splice(0,1),e&&e.graphics){for((t=e.graphics).element&&t.element.hide()&&t.element.shadow({opacity:0}),a=0;a<4;a++)t.error&&t.error[a]&&s.setAnimation({el:t.error[a],label:"path"});e.graphics.element&&(i.element=i.element.concat(e.graphics.element)),e.graphics.hotElement&&(i.hotElement=i.hotElement.concat(e.graphics.hotElement)),e.graphics.label&&(i.label=i.label.concat(e.graphics.label))}r.pool=i},t}(r["default"]);t.removePlots=c=k.prototype.removePlots,t._getHoveredPlot=u=k.prototype._getHoveredPlot,t._firePlotEvent=p=k.prototype._firePlotEvent,t._checkPointerOverPlot=h=k.prototype._checkPointerOverPlot,t._checkPointerOverErrorBar=d=k.prototype._checkPointerOverErrorBar,t._getHoveredPlot=u,t.removePlots=c,t._rolloverResponseSetter=y,t._rolloutResponseSetter=x,t._firePlotEvent=p,t._checkPointerOverErrorBar=d,t._checkPointerOverPlot=h,t["default"]=k},795:function(e,t,o){"use strict";t.__esModule=!0;var a,r=o(432),n=(a=r)&&a.__esModule?a:{"default":a};t["default"]={column:{"initial.dataset.errorBar2D":n["default"]["initial.dataset.column"]},error:{"initial.dataset.errorBar2D":function(){return{"path.appearing":[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}]}}}}},796:function(e,t,o){"use strict";t.__esModule=!0;var a,r=o(797),n=(a=r)&&a.__esModule?a:{"default":a};t["default"]=n["default"]},797:function(e,t,o){"use strict";t.__esModule=!0;var a=i(o(458)),r=o(550),n=i(o(798));function i(e){return e&&e.__esModule?e:{"default":e}}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var o=Object.getOwnPropertyNames(t),a=0;a<o.length;a++){var r=o[a],n=Object.getOwnPropertyDescriptor(t,r);n&&n.configurable&&e[r]===undefined&&Object.defineProperty(e,r,n)}}(e,t))}var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return o.useErrorGroup=!0,o.isErrorChart=!0,o.hasAnchor=!0,o.defaultPlotShadow=1,o.axisPaddingLeft=0,o.axisPaddingRight=0,o.canvasPaddingModifiers=["anchor","errorbar"],o}return l(t,e),t.getName=function(){return"ErrorLine"},t.prototype.getName=function(){return"ErrorLine"},t.prototype.__setDefaultConfig=function(){e.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Error Line Chart",t.defaultDatasetType="errorline",r._setDefaultConfig.call(this),this.zeroplanethickness=1,this.zeroplanealpha=40,t.showzeroplaneontop=0,t.defaultcrosslinethickness=1,t.enablemousetracking=!0},t.prototype.getDSGroupdef=function(){},t.prototype.getDSdef=function(){return n["default"]},t}(a["default"]);t["default"]=s},798:function(e,t,o){"use strict";t.__esModule=!0;var a=o(125),r=o(794),n=c(o(448)),i=o(132),l=c(o(799)),s=c(o(800));function c(e){return e&&e.__esModule?e:{"default":e}}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var o=Object.getOwnPropertyNames(t),a=0;a<o.length;a++){var r=o[a],n=Object.getOwnPropertyDescriptor(t,r);n&&n.configurable&&e[r]===undefined&&Object.defineProperty(e,r,n)}}(e,t))}var p=a.preDefStr.colors.AAAAAA,h=a.preDefStr.ROUND,d=a.preDefStr.PERCENTAGESTRING,f="rgba(192,192,192,"+(a.isIE?.002:1e-6)+")",g=Math,m=g.round,v=g.min,b=g.max,y=g.abs,x=a.hasTouch?a.TOUCH_THRESHOLD_PIXELS:a.CLICK_THRESHOLD_PIXELS;(0,i.addDep)({name:"errorlineErrorAnimation",type:"animationRule",extension:l["default"]}),(0,i.addDep)({name:"errorlineLineAnimation",type:"animationRule",extension:s["default"]});var k=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return u(t,e),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"errorLine"},t.prototype.ErrorValueConfigure=function(){var e,t,o,r,n,i,l,s,c,u,h,f,g,y,x,k,w,C,N,S,A,E,D,T,_,L=this.getFromEnv("chart"),P=this.config,O=L.config,V=P.parentYAxis,M=P.JSONData,F=M.data,I=L.getFromEnv("dataSource").chart,B=this.getFromEnv("xAxis").getTicksLen(),R=this.components.data,j=this.getFromEnv("number-formatter"),G=P.linethickness,H=-Infinity,W=Infinity,z=(0,a.parseUnsafeString)(I.yaxisname),U=(0,a.parseUnsafeString)(I.xaxisname),J=(0,a.pluck)(I.tooltipsepchar,", "),K=(0,a.pluckNumber)(I.seriesnameintooltip,1),q=function(t){var r;return O.showtooltip?null===s?r=!1:void 0!==t?(S=[1,2,3,4,5,6,7,99,100,101,102],A={yaxisName:z,xaxisName:U,formattedValue:o.toolTipValue,errorValue:l,errorDataValue:o.errorToolTipValue,errorPercentValue:o.errorPercentValue,errorPercentDataValue:o.errorPercentValue,label:o.label},r=(0,a.parseTooltext)(t,S,A,e,I,M)):(K&&(E=(0,a.getFirstValue)(M&&M.seriesname)),r=E?E+J:"",r+=o.label?o.label+J:""):r=!1,r};for(P.errorBarShadow=y=(0,a.pluckNumber)(I.errorbarshadow,I.showshadow,1),P.ignoreEmptyDatasets=(0,a.pluckNumber)(M.ignoreemptydatasets,0),P.notHalfErrorBar=!(0,a.pluckNumber)(I.halferrorbar,1),n=(0,a.getFirstAlpha)((0,a.pluck)(M.errorbaralpha,I.errorbaralpha,P.alpha)),P.errorBarWidth=(0,a.pluckNumber)(M.errorbarwidth,I.errorbarwidth,5),P.errorBarColor=(0,a.convertColor)((0,a.getFirstColor)((0,a.pluck)(M.errorbarcolor,I.errorbarcolor,p)),n),i=(0,a.pluckNumber)(M.errorbarthickness,I.errorbarthickness,1),P.errorBarThickness=i>G?G:i,P.shadowOpacity=y?n/250:0,P.errorInPercent=D=(0,a.pluckNumber)(M.errorinpercent,I.errorinpercent),P.cumulativeValueOnErrorBar=(0,a.pluckNumber)(M.cumulativevalueonerrorbar,I.cumulativevalueonerrorbar,1),_=0;_<B;_++)e=F&&F[_],F&&e&&(t=R[_],o=t&&t.config,t||(t=R[_]={graphics:{}}),t.config||(o=R[_].config={}),w=o.setValue,o.notHalfErrorBar=P.notHalfErrorBar,l=j.getCleanValue(e.errorvalue),o.errorToolTipValue=j.dataLabels(l,V),o.setErrorValue=o.errorValue=C=l,o.hasErrorValue=void 0!==(0,a.pluckNumber)(e.errorvalue)?1:0,r=o.errorToolTipValue,s=r,T=q(c=(0,a.getValidValue)((0,a.parseUnsafeString)((0,a.pluck)(e.errorplottooltext,M.errorplottooltext,I.errorplottooltext,s)))),o.errorInPercent=(0,a.pluckNumber)(e.errorinpercent,D,0),o.errorInPercent&&(o.setErrorValue=l=(0,a.pluckNumber)((l/100*w).toFixed(2))),o.cumulativeValueOnErrorBar=N=(0,a.pluckNumber)(e.cumulativevalueonerrorbar,P.cumulativeValueOnErrorBar,1),o.positiveErrorValue=j.getCleanValue((0,a.pluckNumber)(e.positiveerrorvalue,e.errorvalue)),o.errorInPercent&&o.positiveErrorValue&&(o.positiveErrorValue=(0,a.pluckNumber)((o.positiveErrorValue/100*w).toFixed(2))),o.positiveCumulativeErrorValue=w+(0,a.pluckNumber)(o.positiveErrorValue,o.setErrorValue),o.negativeErrorValue=j.getCleanValue((0,a.pluckNumber)(e.negativeerrorvalue,e.errorvalue)),o.errorInPercent&&o.negativeErrorValue&&(o.negativeErrorValue=(0,a.pluckNumber)((o.negativeErrorValue/100*w).toFixed(2))),o.negativeCumulativeErrorValue=w-(0,a.pluckNumber)(o.negativeErrorValue,o.setErrorValue),o.errorToolTipValue=j.dataLabels(l,V),o.negativeErrorToolTipValue=j.dataLabels(o.negativeErrorValue,V),o.negativeCumulativeErrorTooltipValue=j.dataLabels(o.negativeCumulativeErrorValue,V),o.positiveErrorToolTipValue=j.dataLabels(o.positiveErrorValue,V),o.positiveCumulativeErrorTooltipValue=j.dataLabels(o.positiveCumulativeErrorValue,V),o.errorPercentValue=m(l/w*a.HUNDREDSTRING*a.HUNDREDSTRING)/a.HUNDREDSTRING+d,f=g=void 0,(c=(0,a.getValidValue)((0,a.parseUnsafeString)((0,a.pluck)(e.errorplottooltext,M.errorplottooltext,I.errorplottooltext,o.positiveErrorToolTipValue))))&&o.positiveErrorToolTipValue&&(f=q(c)),(c=(0,a.getValidValue)((0,a.parseUnsafeString)((0,a.pluck)(e.errorplottooltext,M.errorplottooltext,I.errorplottooltext,o.negativeErrorToolTipValue))))&&o.negativeErrorToolTipValue&&(g=q(c)),(e.positiveerrorvalue||e.negativeerrorvalue)&&(o.halfErrorBar=0,o.notHalfErrorBar=!0),N&&((c=(0,a.getValidValue)((0,a.parseUnsafeString)((0,a.pluck)(e.errorplottooltext,M.errorplottooltext,I.errorplottooltext,o.positiveCumulativeErrorTooltipValue))))&&o.positiveCumulativeErrorTooltipValue&&(u=q(c)),(c=(0,a.getValidValue)((0,a.parseUnsafeString)((0,a.pluck)(e.errorplottooltext,M.errorplottooltext,I.errorplottooltext,o.negativeCumulativeErrorTooltipValue))))&&o.negativeCumulativeErrorTooltipValue&&(h=q(c))),x=w+(null!==o.positiveErrorValue?o.positiveErrorValue:l),k=w-(o.halfErrorBar?0:o.negativeErrorValue<0&&w<0?0:null!==o.negativeErrorValue?o.negativeErrorValue:l),H=b(H,x,k),W=v(W,x,k),null===l&&(l=void 0),o.errorValueArr=[],null===o.positiveErrorValue&&(o.positiveErrorValue=void 0),C=-o.positiveErrorValue,o.errorValueArr.push({errorValue:C,tooltext:N?u:f||T,errorEdgeBar:!0}),o.errorValueArr.push({errorValue:C,tooltext:f||T}),o.notHalfErrorBar&&(C=o.negativeErrorValue,o.errorValueArr.push({errorValue:C,tooltext:N?h:g||T,errorEdgeBar:!0}),o.errorValueArr.push({errorValue:C,tooltext:g||T})),o.toolText=q(o.setTooltext));P.maxValue=H,P.minValue=W},t.prototype._show=function(){var e=this.chart,t=this.yAxis,o=this.graphics&&this.graphics.container,a=this.graphics&&this.graphics.dataLabelContainer,r=this.graphics&&this.graphics.errorGroupContainer,n=this.graphics&&this.graphics.errorShadowContainer;e._chartAnimation(),o.lineGroup.show(),o.anchorGroup.show(),o.anchorShadowGroup.show(),o.lineShadowGroup.show(),a.show(),this.setState("visible",!0),r&&r.show(),n&&n.show(),this._conatinerHidden=!1,e._setAxisLimits(),t.draw(),e._drawDataset()},t.prototype._hide=function(){var e=this.chart,t=this.yAxis;e._chartAnimation(),this.setState("visible",!1),e._setAxisLimits(),t.draw(),e._drawDataset()},t.prototype.draw=function(){e.prototype.draw.call(this),this.drawErrorValue()},t.prototype.drawErrorValue=function(){var e,t,o,a,r,n,i,l,s,c,u,p,d,g,v,b,k,w,C,N,S,A,E,D,T,_,L=this.config,P=this.getFromEnv("xAxis").getTicksLen(),O=this.getState("visible"),V=this.getFromEnv("yAxis"),M=this.components.data,F=L.errorBarThickness,I=L.errorBarWidth,B=L.errorBarColor,R=L.shadowOpacity,j=this.getContainer("errorPlotGroup"),G=this.getContainer("errorShadowGroup"),H=F>5?F/2:2.5,W=this.getFromEnv("animationManager"),z=function(e){return function(){"disappearing"===e&&this.hide()}};for(t=0;t<P;t++)if(c=(u=(s=M[t])&&s.config)&&u.setValue,void 0!==s&&void 0!==c&&null!==c)if((_=s.errorTrackerConfig={}).errorTrackerArr=[],k=u.errorValueArr,_.errorLen=S=k.length,!s.graphics.error&&(s.graphics.error=[]),!s.graphics.errorTracker&&(s.graphics.errorTracker=[]),""===u.errorValue||void 0===u.errorValue||null===u.errorValue&&null===u.positiveErrorValue&&null===u.negativeErrorValue)for(a=0;a<S;a++)s.graphics.error&&s.graphics.error[a]&&W.setAnimation({el:s.graphics.error[a]||"path",label:"path",component:this,callback:z("disappearing")}).shadow({opacity:0});else{for(n=u.setLink,D=s._xPos,l=T=s._yPos,i=D,s.errorBar&&delete s.errorBar,s.errorBar=[];S--;)E=null,_.errorTrackerArr[S]={},w=k[S],_.errorTrackerArr[S].tooltext=w.tooltext,N=l,null===(C=w.errorValue)||isNaN(C)?s.graphics.error&&s.graphics.error[S]&&(s.graphics.error[S].hide(),s.graphics.error[S].shadow({opacity:0})):(A=I/2,b=O?1:0,p=v=T+(V.getPixel(0)-V.getPixel(1))*C*b,d=i,p=m(v)+F%2/2,d=m(i)+F%2/2,s.errorBar[S]||(s.errorBar[S]=[]),w.errorEdgeBar?(g=["M",d-A,p,"H",d+A],s.errorBar[S][1]={_xPos:d-A-H,_yPos:p-H,_height:2*H,_width:2*(A+H),_toolText:w.tooltext}):(g=["M",d,N,"V",p],s.errorBar[S][0]={_xPos:d-H,_yPos:p<N?p:N,_height:y(N-p),_width:2*H,_toolText:w.tooltext}),e={path:g,stroke:B,"stroke-width":F,cursor:n?"pointer":"","stroke-linecap":h},r=!s.graphics.error[S]&&O?"appearing":O?"updating":"disappearing",E=s.graphics.error[S]=W.setAnimation({el:s.graphics.error[S]||"path",state:r,attr:e,label:"path",component:this,container:j,callback:z(r)}),"disappearing"!==r&&E.show(),E&&E.shadow({opacity:R},G),_.errorTrackerArr[S].attr={path:g,stroke:f,"stroke-width":F<x?x:F,cursor:n?"pointer":""});if(!u.notHalfErrorBar)for(a=2;a<4;a++)s.graphics.error&&s.graphics.error[a]&&W.setAnimation({el:s.graphics.error[a]||"path",label:"path",component:this,doNotRemove:!0,callback:z("disappearing")}).shadow({opacity:0})}else if(s&&s.graphics.error)for(o=0;o<s.graphics.error.length;o++)s.graphics.error&&s.graphics.error[o]&&W.setAnimation({el:s.graphics.error[o]||"path",label:"path",component:this,doNotRemove:!0,callback:z("disappearing")}).shadow({opacity:0})},t.prototype._firePlotEvent=function(e,t,o){r._firePlotEvent.call(this,e,t,o)},t.prototype._checkPointerOverErrorBar=function(e,t,o){return r._checkPointerOverErrorBar.call(this,e,t,o)},t.prototype._checkPointerOverPlot=function(e,t,o){var a,r=this.components.data[e],n=r&&r.config;if(r)return(a=this.isWithinShape(r,e,t,o))?(r.errorBarHovered=!1,n.finalTooltext=!1!==n.toolText&&n.toolText):(a=this._checkPointerOverErrorBar(e,t,o))&&(r.errorBarHovered=!0,n.finalTooltext=a.toolText),a},t.prototype._getHoveredPlot=function(e,t){return r._getHoveredPlot.call(this,e,t)},t.prototype.getCanvasPadding=function(){var e,t,o,r,n,i,l=.5*this.config.errorBarWidth,s=this.components||{},c=this.getFromEnv("chart"),u=c.config.dataLabelStyle,p=s.data||[],h=p[0],d=p[p.length-1],f={},g=c.getFromEnv("smartLabel"),m={paddingLeft:0,paddingRight:0};return h&&(i=(e=h.config).showValue,o=e&&e.anchorProps||{},i&&(t=e.displayValue,g.useEllipsesOnOverflow(c.config.useEllipsesWhenOverflow),g.setStyle(u),f=g.getOriSize(t)),e.setValue&&(r=b((0,a.pluckNumber)(o.radius,0),l)+(0,a.pluckNumber)(o.borderThickness,0),n=(f.width||0)/2),m.paddingLeft=b(r,n)),d&&(i=(e=d.config).showValue,o=e&&e.anchorProps||{},i&&(t=e.displayValue,g.setStyle(u),f=g.getOriSize(t)),e.setValue&&(r=b((0,a.pluckNumber)(o.radius,0),l)+(0,a.pluckNumber)(o.borderThickness,0),n=(f.width||0)/2),m.paddingRight=b(r,n)),m},t.prototype.removePlots=function(){r.removePlots.call(this)},t}(n["default"]);t["default"]=k},799:function(e,t,o){"use strict";t.__esModule=!0,t["default"]={"initial.dataset.errorLine":function(){return{"path.appearing":function(){return[{initialAttr:{opacity:0},finalAttr:{opacity:1},startEnd:{start:.5,end:1},slot:"plot"}]},"*":null}}}},800:function(e,t,o){"use strict";t.__esModule=!0;var a,r=o(451),n=(a=r)&&a.__esModule?a:{"default":a};t["default"]={"*.dataset.errorLine":n["default"]["*.dataset.line"]}},801:function(e,t,o){"use strict";t.__esModule=!0;var a,r=o(802),n=(a=r)&&a.__esModule?a:{"default":a};t["default"]=n["default"]},802:function(e,t,o){"use strict";t.__esModule=!0;var a=n(o(533)),r=n(o(803));function n(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configu