/**
 * @license
 * Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris)
 *
 * This sofware is provided under multiple licenses. Please see below for
 * links to appropriate usage.
 *
 * Free amCharts linkware license. Details and conditions:
 * https://github.com/amcharts/amcharts4/blob/master/LICENSE
 *
 * One of the amCharts commercial licenses. Details and pricing:
 * https://www.amcharts.com/online-store/
 * https://www.amcharts.com/online-store/licenses-explained/
 *
 * If in doubt, contact amCharts at contact@amcharts.com
 *
 * PLEASE DO NOT REMOVE THIS COPYRIGHT NOTICE.
 * @hidden
 */
webpackJsonp([4],{102:function(t,e,i){"use strict";i.d(e,"b",function(){return p}),i.d(e,"a",function(){return d});var n,r=i(121),a=i(0),s=i(25),o=i(228),l=i(3),u=i(2),h=i(4),c=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),p=function(t){function e(){var e=t.call(this)||this;return e.className="CategoryAxisDataItem",e.text="{category}",e.locations.category=0,e.locations.startCategory=0,e.locations.endCategory=1,e.applyTheme(),e}return c(e,t),Object.defineProperty(e.prototype,"category",{get:function(){return this.properties.category},set:function(t){this.setProperty("category",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startCategory",{get:function(){return this.properties.category},set:function(t){this.setProperty("category",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endCategory",{get:function(){return this.properties.endCategory},set:function(t){this.setProperty("endCategory",t)},enumerable:!0,configurable:!0}),e}(r.b),d=function(t){function e(){var e=t.call(this)||this;return e.dataItemsByCategory=new s.a,e._preBuildCount=0,e.className="CategoryAxis",e.axisFieldName="category",e.adapter.add("label",function(t){return t=t.replace(/\#id=.*$/,"")}),e._prebuildDisposer=a.b.events.on("enterframe",e.prebuildDataItem,e),e._lastDataItem=e.createDataItem(),e._lastDataItem.component=e,e._disposers.push(e._lastDataItem),e.applyTheme(),e}return c(e,t),e.prototype.prebuildDataItem=function(){if(this.dataItems.length>0){this.dataItems.getIndex(this._preBuildCount);var t=this.dataItems.getIndex(this._preBuildCount);t.__disabled&&(this.appendDataItem(t),this.validateDataElement(t),t.__disabled=!0),this._preBuildCount++,this._preBuildCount>=this.dataItems.length-1&&this._prebuildDisposer.dispose()}},e.prototype.createDataItem=function(){return new p},e.prototype.createAxisBreak=function(){return new o.a},e.prototype.validateDataRange=function(){var i=this,n=this.dataItems.length,r=l.fitToRange(Math.floor(this.start*n-1),0,n),a=l.fitToRange(Math.ceil(this.end*n),0,n);this.renderer.invalid&&this.renderer.validate();var s=this.renderer.axisLength/this.renderer.minGridDistance,o=Math.ceil((a-r)/s);this._startIndex=Math.floor(r/o)*o,this._endIndex=Math.ceil(this.end*n),this.fixAxisBreaks(),this._startIndex==this._endIndex&&this._endIndex++,this._frequency=o,t.prototype.validateDataRange.call(this),h.each(this._series.iterator(),function(t){t.xAxis instanceof e&&t.yAxis instanceof e?t.invalidateDataRange():(t.start=i.start,t.end=i.end,i.axisBreaks.length>0&&t.invalidateDataRange())})},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this),this.maxZoomFactor=this.dataItems.length,this.dataItems.length<=0&&(this.maxZoomFactor=1),this.resetIterators(),h.each(this.dataItems.iterator(),function(t){t.__disabled=!0});for(var i=l.max(0,this._startIndex-this._frequency),n=l.min(this.dataItems.length,this._endIndex+this._frequency),r=0,a=i;a<n;a+=this._frequency)if(a<=this.dataItems.length){var s=this.dataItems.getIndex(a);this.isInBreak(a)||(this.appendDataItem(s),this.validateDataElement(s,r)),r++}this.appendDataItem(this._lastDataItem),this.validateDataElement(this._lastDataItem,r+1,this.dataItems.length);var o=this.axisBreaks;h.each(o.iterator(),function(t){var i=t.adjustedStartValue,n=t.adjustedEndValue;if(l.intersect({start:i,end:n},{start:e._startIndex,end:e._endIndex}))for(var r=l.fitToRange(Math.ceil(e._frequency/t.breakSize),1,n-i),a=0,s=i;s<=n;s+=r){var o=e.dataItems.getIndex(s);e.appendDataItem(o),e.validateDataElement(o,a),a++}})},e.prototype.validateDataElement=function(e,i,n){t.prototype.validateDataElement.call(this,e),e.__disabled=!1;var r=this.renderer;u.isNumber(n)||(n=this.categoryToIndex(e.category));var a=this.categoryToIndex(e.endCategory);u.isNumber(a)||(a=n);var s,o,l,h=this.indexToPosition(n,e.locations.category),c=this.indexToPosition(a,e.locations.endCategory);e.position=h,e.isRange?(s=a,o=this.indexToPosition(n,e.locations.category),l=this.indexToPosition(s,e.locations.endCategory)):(s=n+this._frequency,o=this.indexToPosition(n,e.axisFill.location),l=this.indexToPosition(s,e.axisFill.location)),e.point=r.positionToPoint(h);var p=e.tick;p&&r.updateTickElement(p,h,c);var d=e.grid;d&&r.updateGridElement(d,h,c);var f=e.label;f&&(e.text=e.text,r.updateLabelElement(f,h,c));var y=e.axisFill;y&&(r.updateFillElement(y,o,l),e.isRange||this.fillRule(e,i));var g=e.mask;g&&r.updateFillElement(g,o,l)},e.prototype.processDataItem=function(e,i){t.prototype.processDataItem.call(this,e,i);var n=this.dataItemsByCategory.getKey(e.category);n!=e&&this.dataItems.remove(n),this.dataItemsByCategory.setKey(e.category,e)},e.prototype.indexToPosition=function(t,e){u.isNumber(e)||(e=.5);var i=this.startIndex,n=this.endIndex,r=this.adjustDifference(i,n),a=this.renderer.cellStartLocation;r-=a,r-=1-this.renderer.cellEndLocation;var s=this.axisBreaks;return h.eachContinue(s.iterator(),function(e){var r=e.adjustedStartValue,a=e.adjustedEndValue;if(t<i)return!1;if(l.intersect({start:r,end:a},{start:i,end:n})){r=Math.max(i,r),a=Math.min(n,a);var s=e.breakSize;t>a?i+=(a-r)*(1-s):t<r||(t=r+(t-r)*s)}return!0}),l.round((t+e-a-i)/r,5)},e.prototype.categoryToPosition=function(t,e){var i=this.categoryToIndex(t);return this.indexToPosition(i,e)},e.prototype.categoryToPoint=function(t,e){var i=this.categoryToPosition(t,e),n=this.renderer.positionToPoint(i),r=this.renderer.positionToAngle(i);return{x:n.x,y:n.y,angle:r}},e.prototype.anyToPoint=function(t,e){return this.categoryToPoint(t,e)},e.prototype.anyToPosition=function(t,e){return this.categoryToPosition(t,e)},e.prototype.categoryToIndex=function(t){var e=this.dataItemsByCategory.getKey(t);if(e)return e.index},e.prototype.zoomToCategories=function(t,e){this.zoomToIndexes(this.categoryToIndex(t),this.categoryToIndex(e))},e.prototype.getAnyRangePath=function(t,e,i,n){var r=this.categoryToPosition(t,i),a=this.categoryToPosition(e,n);return this.getPositionRangePath(r,a)},e.prototype.roundPosition=function(t,e){var i=this.positionToIndex(t);return this.indexToPosition(i,e)},e.prototype.getSeriesDataItem=function(t,e){return t.dataItems.getIndex(this.positionToIndex(e))},e.prototype.getX=function(t,e,i){var n=this.categoryToPosition(t.categories[e],i);return u.isNaN(n)?this.basePoint.x:this.renderer.positionToPoint(n).x},e.prototype.getY=function(t,e,i){var n=this.categoryToPosition(t.categories[e],i);return u.isNaN(n)?this.basePoint.y:this.renderer.positionToPoint(n).y},e.prototype.getAngle=function(t,e,i,n){return this.positionToAngle(this.categoryToPosition(t.categories[e],i))},e.prototype.getCellStartPosition=function(t){return this.roundPosition(t,0)},e.prototype.getCellEndPosition=function(t){return this.roundPosition(t,1)},e.prototype.getTooltipText=function(t){var e=this.dataItems.getIndex(this.positionToIndex(t));if(e)return this.adapter.apply("getTooltipText",e.category)},e.prototype.positionToIndex=function(t){t=l.round(t,10);var e=this.startIndex,i=this.endIndex,n=i-e,r=this.axisBreaks,a=null;return h.eachContinue(r.iterator(),function(r){var s=r.startPosition,o=r.endPosition,u=r.adjustedStartValue,h=r.adjustedEndValue;u=l.max(u,e),h=l.min(h,i);var c=r.breakSize;if(n-=(h-u)*(1-c),t>o)e+=(h-u)*(1-c);else if(!(t<s)){var p=(t-s)/(o-s);return a=u+Math.round(p*(h-u)),!1}return!0}),u.isNumber(a)||(a=Math.floor(t*n+e)),a>=i&&a--,a},e.prototype.getPositionLabel=function(t){var e=this.dataItems.getIndex(this.positionToIndex(t));if(e)return e.category},Object.defineProperty(e.prototype,"basePoint",{get:function(){return this.renderer.positionToPoint(1)},enumerable:!0,configurable:!0}),e.prototype.initRenderer=function(){t.prototype.initRenderer.call(this),this.renderer.baseGrid.disabled=!0},e}(r.a);a.b.registeredClasses.CategoryAxis=d,a.b.registeredClasses.CategoryAxisDataItem=p},111:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n,r=i(149),a=i(0),s=i(3),o=i(2),l=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="AxisLabelCircular",e.padding(0,0,0,0),e.location=.5,e.radius=0,e.applyTheme(),e}return l(e,t),Object.defineProperty(e.prototype,"relativeRotation",{get:function(){return this.getPropertyValue("relativeRotation")},set:function(t){this.setPropertyValue("relativeRotation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),e.prototype.fixPoint=function(t,e){var i=s.DEGREES*Math.atan2(t.y,t.x);this.invalid&&this.validate();var n=1;this.inside&&(n=-1);var r=this.relativeRotation;this.dy=-this.measuredHeight*(1-(t.y+e)/(2*e)),this.dx=-this.measuredWidth*(1-(t.x+e)/(2*e));var a=this.radius*n;if(o.isNumber(r)){this.rotation=r+i+90;var l=this.bbox.width,u=this.bbox.height,h=s.sin(r)/2,c=s.cos(r)/2,p=this.rotation;this.dx=u*h*s.sin(p)-l*c*s.cos(p),this.dy=-u*h*s.cos(p)-l*c*s.sin(p);var d=this.pixelPaddingBottom,f=this.pixelPaddingTop,y=this.pixelPaddingLeft,g=this.pixelPaddingRight;this.inside?a-=(d+f)*s.cos(r)+(y+g)*s.sin(r):a+=(u+d+f)*s.cos(r)+(l+y+g)*s.sin(r)}return t.x+=s.cos(i)*a,t.y+=s.sin(i)*a,t},e}(r.a);a.b.registeredClasses.AxisLabelCircular=u},123:function(t,e,i){"use strict";i.d(e,"b",function(){return b}),i.d(e,"a",function(){return _});var n,r=i(86),a=i(13),s=i(65),o=i(25),l=i(16),u=i(102),h=i(163),c=i(0),p=i(4),d=i(3),f=i(6),y=i(2),g=i(14),m=i(10),x=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),v=this&&this.__values||function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],i=0;return e?e.call(t):{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}},b=function(t){function e(){var e=t.call(this)||this;return e.className="XYSeriesDataItem",e.values.valueX={stack:0},e.values.valueY={stack:0},e.values.openValueX={},e.values.openValueY={},e.values.dateX={},e.values.dateY={},e.values.openDateX={},e.values.openDateY={},e.setLocation("dateX",.5,0),e.setLocation("dateY",.5,0),e.setLocation("categoryX",.5,0),e.setLocation("categoryY",.5,0),e.applyTheme(),e}return x(e,t),Object.defineProperty(e.prototype,"valueX",{get:function(){return this.values.valueX.value},set:function(t){this.setValue("valueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueY",{get:function(){return this.values.valueY.value},set:function(t){this.setValue("valueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateX",{get:function(){return this.getDate("dateX")},set:function(t){this.setDate("dateX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateY",{get:function(){return this.getDate("dateY")},set:function(t){this.setDate("dateY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryX",{get:function(){return this.categories.categoryX},set:function(t){this.setCategory("categoryX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryY",{get:function(){return this.categories.categoryY},set:function(t){this.setCategory("categoryY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openValueX",{get:function(){return this.values.openValueX.value},set:function(t){this.setValue("openValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openValueY",{get:function(){return this.values.openValueY.value},set:function(t){this.setValue("openValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openDateX",{get:function(){return this.getDate("openDateX")},set:function(t){this.setDate("openDateX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openDateY",{get:function(){return this.getDate("openDateY")},set:function(t){this.setDate("openDateY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openCategoryX",{get:function(){return this.categories.openCategoryX},set:function(t){this.setProperty("openCategoryX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openCategoryY",{get:function(){return this.categories.openCategoryY},set:function(t){this.setProperty("openCategoryY",t)},enumerable:!0,configurable:!0}),e.prototype.getMin=function(t,e,i){var n,r=this;return y.isNumber(i)||(i=0),g.c(t,function(t){var a;a=e?r.getWorkingValue(t):r.getValue(t),((a+=i)<n||!y.isNumber(n))&&(n=a)}),n},e.prototype.getMax=function(t,e,i){var n,r=this;return y.isNumber(i)||(i=0),g.c(t,function(t){var a;a=e?r.getWorkingValue(t):r.getValue(t),((a+=i)>n||!y.isNumber(n))&&(n=a)}),n},e}(r.b),_=function(t){function e(){var e=t.call(this)||this;return e._xAxis=new l.d,e._yAxis=new l.d,e.className="XYSeries",e.isMeasured=!1,e.mainContainer.mask=new a.a,e.mainContainer.mask.element=e.paper.add("path"),e.stacked=!1,e.tooltip.pointerOrientation="horizontal",e.tooltip.events.on("hidden",function(){e.returnBulletDefaultState()}),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.applyTheme(),e}return x(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y Series"))},e.prototype.createDataItem=function(){return new b},e.prototype.validateData=function(){if(this.defineFields(),t.prototype.validateData.call(this),!y.hasValue(this.dataFields[this._xField])||!y.hasValue(this.dataFields[this._yField]))throw Error('Data fields for series "'+(this.name?this.name:this.uid)+'" are not properly defined.')},e.prototype.processDataItem=function(e,i){try{t.prototype.processDataItem.call(this,e,i),e.events.disable(),this.xAxis.processSeriesDataItem(e),this.yAxis.processSeriesDataItem(e),e.events.enable(),this.setInitialWorkingValues(e)}catch(t){this._chart.raiseCriticalError(t)}},e.prototype.setInitialWorkingValues=function(t){},e.prototype.defineFields=function(){var t=this.xAxis,e=this.yAxis,i=t.axisFieldName,n=i+"X",r="open"+f.capitalize(i)+"X",a=e.axisFieldName,s=a+"Y",o="open"+f.capitalize(a)+"Y";this._xField=n,this._yField=s,this.dataFields[r]&&(this._xOpenField=r),this.dataFields[o]&&(this._yOpenField=o),this.dataFields[o]||this.baseAxis!=this.yAxis||(this._yOpenField=s),this.dataFields[this._xOpenField]||this.baseAxis!=this.xAxis||(this._xOpenField=n),this.stacked&&this.baseAxis==this.xAxis&&(this._xOpenField=n),this.stacked&&this.baseAxis==this.yAxis&&(this._yOpenField=s),this.xAxis instanceof u.a&&this.yAxis instanceof u.a&&(this._yOpenField||(this._yOpenField=s)),this._xValueFields=[],this._yValueFields=[],this.addValueField(this.xAxis,this._xValueFields,this._xField),this.addValueField(this.xAxis,this._xValueFields,this._xOpenField),this.addValueField(this.yAxis,this._yValueFields,this._yField),this.addValueField(this.yAxis,this._yValueFields,this._yOpenField)},e.prototype.addValueField=function(t,e,i){t instanceof s.a&&y.hasValue(this.dataFields[i])&&-1==e.indexOf(i)&&e.push(i)},e.prototype.setCategoryAxisField=function(t,e){y.hasValue(this.dataFields[t])||(this.dataFields[t]=e.dataFields.category)},e.prototype.setDateAxisField=function(t,e){y.hasValue(this.dataFields[t])||(this.dataFields[t]=e.dataFields.date)},e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this),this.createMask()},e.prototype.createMask=function(){if(this.mainContainer.mask){var t=this.getMaskPath();p.each(this.axisRanges.iterator(),function(e){e.axisFill.fillPath&&(e.axisFill.validate(),t+=e.axisFill.fillPath)}),this.mainContainer.mask.element.attr({d:t})}},e.prototype.getMaskPath=function(){return m.rectToPath({x:0,y:0,width:this.xAxis.axisLength,height:this.yAxis.axisLength})},e.prototype.getAxisField=function(t){return t==this.xAxis?this.xField:t==this.yAxis?this.yField:void 0},e.prototype.validateDataItems=function(){this.xAxis.updateAxisBySeries(),this.yAxis.updateAxisBySeries(),t.prototype.validateDataItems.call(this),this.xAxis.postProcessSeriesDataItems(),this.yAxis.postProcessSeriesDataItems()},e.prototype.validateDataRange=function(){this.xAxis.dataRangeInvalid&&this.xAxis.validateDataRange(),this.yAxis.dataRangeInvalid&&this.yAxis.validateDataRange(),t.prototype.validateDataRange.call(this)},e.prototype.validate=function(){this.xAxis.invalid&&this.xAxis.validate(),this.yAxis.invalid&&this.yAxis.validate(),this._showBullets=!0;var e=this.minBulletDistance;y.isNumber(e)&&this.baseAxis.axisLength/(this.endIndex-this.startIndex)<e&&(this._showBullets=!1),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"xAxis",{get:function(){if(!this._xAxis.get()){var t=this.chart.xAxes.getIndex(0);if(!t)throw Error("There are no X axes on chart.");this.xAxis=t}return this._xAxis.get()},set:function(t){var e=this._xAxis.get();e!=t&&(e&&(this.dataItemsByAxis.removeKey(e.uid),this._xAxis.dispose(),e.series.removeValue(this)),this._xAxis.set(t,t.registerSeries(this)),this.dataItemsByAxis.setKey(t.uid,new o.a),this.invalidateData())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yAxis",{get:function(){if(!this._yAxis.get()){var t=this.chart.yAxes.getIndex(0);if(!t)throw Error("There are no Y axes on chart.");this.yAxis=t}return this._yAxis.get()},set:function(t){var e=this._yAxis.get();e!=t&&(e&&(this.dataItemsByAxis.removeKey(e.uid),this._yAxis.dispose(),e.series.removeValue(this)),this._yAxis.set(t,t.registerSeries(this)),this.dataItemsByAxis.setKey(t.uid,new o.a),this.invalidateData())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseAxis",{get:function(){return this._baseAxis||(this.yAxis instanceof h.a&&(this._baseAxis=this.yAxis),this.xAxis instanceof h.a&&(this._baseAxis=this.xAxis),this.yAxis instanceof u.a&&(this._baseAxis=this.yAxis),this.xAxis instanceof u.a&&(this._baseAxis=this.xAxis),this._baseAxis||(this._baseAxis=this.xAxis)),this._baseAxis},set:function(t){this._baseAxis=t,this.invalidateDataRange()},enumerable:!0,configurable:!0}),e.prototype.processValues=function(e){t.prototype.processValues.call(this,e);for(var i=this.dataItems,n=1/0,r=-1/0,a=1/0,s=-1/0,o=this.startIndex,l=this.endIndex,u=o;u<l;u++){var h=i.getIndex(u);this.getStackValue(h,e);var c=h.getValue("valueX","stack"),p=h.getValue("valueY","stack");n=d.min(h.getMin(this._xValueFields,e,c),n),a=d.min(h.getMin(this._yValueFields,e,p),a),r=d.max(h.getMax(this._xValueFields,e,c),r),s=d.max(h.getMax(this._yValueFields,e,p),s)}this.xAxis.processSeriesDataItems(),this.yAxis.processSeriesDataItems();var f=this.xAxis.uid,y=this.yAxis.uid;e||this._tmin.getKey(f)==n&&this._tmax.getKey(f)==r&&this._tmin.getKey(y)==a&&this._tmax.getKey(y)==s||(this._tmin.setKey(f,n),this._tmax.setKey(f,r),this._tmin.setKey(y,a),this._tmax.setKey(y,s),this.dispatchImmediately("extremeschanged")),this._smin.getKey(f)==n&&this._smax.getKey(f)==r&&this._smin.getKey(y)==a&&this._smax.getKey(y)==s||(this._smin.setKey(f,n),this._smax.setKey(f,r),this._smin.setKey(y,a),this._smax.setKey(y,s),this.appeared&&this.dispatchImmediately("selectionextremeschanged"))},e.prototype.showTooltipAtPosition=function(t,e){var i,n,r;if(this.visible&&!this.isHiding){var a=this._xAxis.get(),s=this._yAxis.get();if(a==this.baseAxis&&(i=a.getSeriesDataItem(this,a.toAxisPosition(t))),s==this.baseAxis&&(i=s.getSeriesDataItem(this,s.toAxisPosition(e))),this.returnBulletDefaultState(i),i){this.updateLegendValue(i),this.tooltipDataItem=i;var o=this.tooltipXField,l=this.tooltipYField,u=this.getPoint(i,o,l,i.locations[o],i.locations[l]);if(u){if(this.tooltipX=u.x,this.tooltipY=u.y,this._prevTooltipDataItem!=i){this.dispatchImmediately("tooltipshownat",{type:"tooltipshownat",target:this,dataItem:i});try{for(var h=v(i.bullets),c=h.next();!c.done;c=h.next()){c.value[1].setState("hover")}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}this._prevTooltipDataItem=i}return this.showTooltip()?f.spritePointToSvg({x:u.x,y:u.y},this):void 0}}}this.hideTooltip()},e.prototype.returnBulletDefaultState=function(t){if(this._prevTooltipDataItem&&this._prevTooltipDataItem!=t)try{for(var e=v(this._prevTooltipDataItem.bullets),i=e.next();!i.done;i=e.next()){i.value[1].setState("default")}}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=e.return)&&r.call(e)}finally{if(n)throw n.error}}var n,r},e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem,n=e.xField;y.hasValue(n)||(n=this.xField);var r=e.yField;if(y.hasValue(r)||(r=this.yField),this.xAxis instanceof s.a&&!i.hasValue([n])||this.yAxis instanceof s.a&&!i.hasValue([r]))e.visible=!1;else{var a=this.getBulletLocationX(e,n),o=this.getBulletLocationX(e,r),l=this.getPoint(i,n,r,a,o);if(l){var u=l.x,h=l.y;if(y.isNumber(e.locationX)&&this.xOpenField!=this.xField)u-=(u-this.xAxis.getX(i,this.xOpenField))*e.locationX;if(y.isNumber(e.locationY)&&this.yOpenField!=this.yField)h-=(h-this.yAxis.getY(i,this.yOpenField))*e.locationY;e.moveTo({x:u,y:h})}else e.visible=!1}},e.prototype.getBulletLocationX=function(t,e){var i=t.locationX,n=t.dataItem;return y.isNumber(i)||(i=n.workingLocations[e]),i},e.prototype.getBulletLocationY=function(t,e){var i=t.locationY,n=t.dataItem;return y.isNumber(i)||(i=n.workingLocations[e]),i},Object.defineProperty(e.prototype,"stacked",{get:function(){return this.getPropertyValue("stacked")},set:function(t){this.setPropertyValue("stacked",t,!0)},enumerable:!0,configurable:!0}),e.prototype.show=function(e){var i,n=this,r=t.prototype.show.call(this,e);this.xAxis instanceof s.a&&this.xAxis!=this.baseAxis&&(i=this._xValueFields),this.yAxis instanceof s.a&&this.yAxis!=this.baseAxis&&(i=this._yValueFields);var a=this.startIndex,o=this.endIndex;return p.each(p.indexed(this.dataItems.iterator()),function(t){var s=n.interpolationDuration;y.isNumber(e)&&(s=e);var l=t[0],u=t[1],h=0;n.sequencedInterpolation&&(h=n.sequencedInterpolationDelay*l+s*(l-a)/(o-a)),r=u.show(s,h,i)}),r},e.prototype.hide=function(e){var i,n,r=this,a=t.prototype.hide.call(this,e),o=this.xAxis;o instanceof s.a&&o!=this.baseAxis&&(i=this._xValueFields,n=this.stacked||o.minZoomed<0&&o.maxZoomed>0?0:o.min);var l=this.yAxis;l instanceof s.a&&l!=this.baseAxis&&(i=this._yValueFields,n=this.stacked||l.minZoomed<0&&l.maxZoomed>0?0:l.min);var u=this.startIndex,h=this.endIndex;return p.each(p.indexed(this.dataItems.iterator()),function(t){var s=t[0],o=t[1],l=0,c=r.interpolationDuration;y.isNumber(e)&&(c=e),a&&!a.isDisposed()&&0==c&&a.duration>0?a.events.once("animationended",function(){o.hide(0,0,n,i)}):(r.sequencedInterpolation&&(l=r.sequencedInterpolationDelay*s+c*(s-u)/(h-u)),o.hide(c,l,n,i))}),a},e.prototype.handleDataItemWorkingValueChange=function(e){t.prototype.handleDataItemWorkingValueChange.call(this,e);var i=this.baseAxis.series;p.each(i.iterator(),function(t){t.stacked&&t.invalidateProcessedData()})},e.prototype.getStackValue=function(t,e){var i=this;if(this.stacked){var n,r=this.chart,a=r.series.indexOf(this);this.xAxis!=this.baseAxis&&this.xAxis instanceof s.a&&(n=this.xField),this.yAxis!=this.baseAxis&&this.yAxis instanceof s.a&&(n=this.yField),p.eachContinue(r.series.range(0,a).backwards().iterator(),function(r){if(r.xAxis==i.xAxis&&r.yAxis==i.yAxis){r.stackedSeries=i;var a=r.dataItems.getIndex(t.index);if(a.hasValue(i._xValueFields)&&a.hasValue(i._yValueFields)){var s=t.getValue(n),o=void 0;if(o=e?a.getWorkingValue(n)+a.getValue(n,"stack"):a.getValue(n)+a.getValue(n,"stack"),s>=0&&o>=0||s<0&&o<0)return t.setCalculatedValue(n,o,"stack"),!1}else if(!r.stacked)return!1}return!0})}},Object.defineProperty(e.prototype,"xField",{get:function(){return this._xField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yField",{get:function(){return this._yField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xOpenField",{get:function(){return this._xOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yOpenField",{get:function(){return this._yOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipXField",{get:function(){return this._tooltipXField?this._tooltipXField:this._xField},set:function(t){this._tooltipXField=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipYField",{get:function(){return this._tooltipYField?this._tooltipYField:this._yField},set:function(t){this._tooltipYField=t},enumerable:!0,configurable:!0}),e.prototype.min=function(t){return this._tmin.getKey(t.uid)},e.prototype.max=function(t){return this._tmax.getKey(t.uid)},e.prototype.selectionMin=function(t){var e=this._smin.getKey(t.uid);return y.isNumber(e)||(e=this.min(t)),e},e.prototype.selectionMax=function(t){var e=this._smax.getKey(t.uid);return y.isNumber(e)||(e=this.max(t)),e},e.prototype.processConfig=function(e){if(e){if(y.hasValue(e.xAxis)&&y.isString(e.xAxis)&&this.map.hasKey(e.xAxis)&&(e.xAxis=this.map.getKey(e.xAxis)),y.hasValue(e.yAxis)&&y.isString(e.yAxis)&&this.map.hasKey(e.yAxis)&&(e.yAxis=this.map.getKey(e.yAxis)),y.hasValue(e.axisRanges)&&y.isArray(e.axisRanges))for(var i=0,n=e.axisRanges.length;i<n;i++){var r=e.axisRanges[i];y.hasValue(r.type)||(r.type="AxisDataItem"),y.hasValue(r.axis)&&y.isString(r.axis)&&this.map.hasKey(r.axis)?r.component=this.map.getKey(r.axis):y.hasValue(r.component)&&y.isString(r.component)&&this.map.hasKey(r.component)&&(r.component=this.map.getKey(r.component))}if(!y.hasValue(e.dataFields)||!y.isObject(e.dataFields))throw Error("`dataFields` is not set for series ["+this.name+"]")}t.prototype.processConfig.call(this,e)},e.prototype.getPoint=function(t,e,i,n,r,a,s){var o=this.xAxis.getX(t,e,n),l=this.yAxis.getY(t,i,r);return{x:o=d.fitToRange(o,-2e4,2e4),y:l=d.fitToRange(l,-2e4,2e4)}},e}(r.a);c.b.registeredClasses.XYSeries=_,c.b.registeredClasses.XYSeriesDataItem=b},163:function(t,e,i){"use strict";i.d(e,"b",function(){return m}),i.d(e,"a",function(){return x});var n,r=i(65),a=i(121),s=i(7),o=i(25),l=i(229),u=i(0),h=i(230),c=i(2),p=i(4),d=i(3),f=i(19),y=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),g=this&&this.__assign||Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},m=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisDataItem",e.applyTheme(),e.values.date={},e.values.endDate={},e}return y(e,t),Object.defineProperty(e.prototype,"date",{get:function(){return this.dates.date},set:function(t){this.setDate("date",t),this.value=t.getTime()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startDate",{get:function(){return this.dates.date},set:function(t){this.date=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this.dates.endDate},set:function(t){this.setDate("endDate",t),this.endValue=t.getTime()},enumerable:!0,configurable:!0}),e}(r.b),x=function(t){function e(){var e=t.call(this)||this;return e.gridIntervals=new s.b,e.dateFormats=new o.a,e.periodChangeDateFormats=new o.a,e._markUnitChange=!0,e._boldUnitChange=!0,e._baseIntervalReal={timeUnit:"day",count:1},e._startLocation=0,e._endLocation=1,e._prevSeriesTime=new o.a,e._minSeriesDifference=Number.MAX_VALUE,e.fillRule=function(t){var e=t.value,i=t.component,n=i._gridInterval,r=h.getDuration(n.timeUnit,n.count);Math.round((e-i.min)/r)/2==Math.round(Math.round((e-i.min)/r)/2)?t.axisFill.__disabled=!0:t.axisFill.__disabled=!1},e.className="DateAxis",e.gridIntervals.pushAll([{timeUnit:"millisecond",count:1},{timeUnit:"millisecond",count:5},{timeUnit:"millisecond",count:10},{timeUnit:"millisecond",count:50},{timeUnit:"millisecond",count:100},{timeUnit:"millisecond",count:500},{timeUnit:"second",count:1},{timeUnit:"second",count:5},{timeUnit:"second",count:10},{timeUnit:"second",count:30},{timeUnit:"minute",count:1},{timeUnit:"minute",count:5},{timeUnit:"minute",count:10},{timeUnit:"minute",count:30},{timeUnit:"hour",count:1},{timeUnit:"hour",count:3},{timeUnit:"hour",count:6},{timeUnit:"hour",count:12},{timeUnit:"day",count:1},{timeUnit:"day",count:2},{timeUnit:"day",count:3},{timeUnit:"day",count:4},{timeUnit:"day",count:5},{timeUnit:"week",count:1},{timeUnit:"month",count:1},{timeUnit:"month",count:2},{timeUnit:"month",count:3},{timeUnit:"month",count:6},{timeUnit:"year",count:1},{timeUnit:"year",count:2},{timeUnit:"year",count:5},{timeUnit:"year",count:10},{timeUnit:"year",count:50},{timeUnit:"year",count:100}]),e.axisFieldName="date",e.applyTheme(),e}return y(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),this.dateFormats.hasKey("millisecond")||this.dateFormats.setKey("millisecond",this.language.translate("_date_millisecond")),this.dateFormats.hasKey("second")||this.dateFormats.setKey("second",this.language.translate("_date_second")),this.dateFormats.hasKey("minute")||this.dateFormats.setKey("minute",this.language.translate("_date_minute")),this.dateFormats.hasKey("hour")||this.dateFormats.setKey("hour",this.language.translate("_date_hour")),this.dateFormats.hasKey("day")||this.dateFormats.setKey("day",this.language.translate("_date_day")),this.dateFormats.hasKey("week")||this.dateFormats.setKey("week",this.language.translate("_date_day")),this.dateFormats.hasKey("month")||this.dateFormats.setKey("month",this.language.translate("_date_month")),this.dateFormats.hasKey("year")||this.dateFormats.setKey("year",this.language.translate("_date_year")),this.periodChangeDateFormats.hasKey("millisecond")||this.periodChangeDateFormats.setKey("millisecond",this.language.translate("_date_millisecond")),this.periodChangeDateFormats.hasKey("second")||this.periodChangeDateFormats.setKey("second",this.language.translate("_date_second")),this.periodChangeDateFormats.hasKey("minute")||this.periodChangeDateFormats.setKey("minute",this.language.translate("_date_minute")),this.periodChangeDateFormats.hasKey("hour")||this.periodChangeDateFormats.setKey("hour",this.language.translate("_date_hour")),this.periodChangeDateFormats.hasKey("day")||this.periodChangeDateFormats.setKey("day",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("week")||this.periodChangeDateFormats.setKey("week",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("month")||this.periodChangeDateFormats.setKey("month",this.language.translate("_date_month")+" "+this.language.translate("_date_year"))},e.prototype.createDataItem=function(){return new m},e.prototype.createAxisBreak=function(){return new l.a},e.prototype.validateDataItems=function(){var e=this.start,i=this.end,n=(this.max-this.min)/this.baseDuration;t.prototype.validateDataItems.call(this),this.maxZoomFactor=(this.max-this.min)/this.baseDuration,e+=(i-e)*(1-n/((this.max-this.min)/this.baseDuration)),this.zoom({start:e,end:i},!1,!0)},e.prototype.handleSelectionExtremesChange=function(){},e.prototype.calculateZoom=function(){var e=this;t.prototype.calculateZoom.call(this);var i=this.chooseInterval(0,this.adjustDifference(this._minZoomed,this._maxZoomed),this._gridCount);h.getDuration(i.timeUnit,i.count)<this.baseDuration&&(i=g({},this.baseInterval)),this._gridInterval=i,this._gridDate=h.round(new Date(this.min),i.timeUnit),this._nextGridUnit=h.getNextUnit(i.timeUnit),this._intervalDuration=h.getDuration(i.timeUnit,i.count);var n=Math.ceil(this._difference/this._intervalDuration);n=Math.floor(this.start*n)-3,h.add(this._gridDate,i.timeUnit,n*i.count),p.each(this.series.iterator(),function(t){if(t.baseAxis==e){var i=t.getAxisField(e),n=t.dataItems.findClosestIndex(e._minZoomed,function(t){return t[i]},"left"),r=t.dataItems.findClosestIndex(e._maxZoomed-1,function(t){return t[i]},"left")+1;t.startIndex=n,t.endIndex=r}})},e.prototype.validateData=function(){t.prototype.validateData.call(this),c.isNumber(this.baseInterval.count)||(this.baseInterval.count=1)},e.prototype.dataChangeUpdate=function(){t.prototype.dataChangeUpdate.call(this),this._minSeriesDifference=Number.MAX_VALUE,this.chart.data.length<=1&&(this._minSeriesDifference=h.getDuration("day"))},e.prototype.postProcessSeriesDataItems=function(){var t=this;p.each(this.series.iterator(),function(e){p.each(e.dataItems.iterator(),function(e){t.postProcessSeriesDataItem(e)})}),this.addEmptyUnitsBreaks()},e.prototype.postProcessSeriesDataItem=function(t){var e=this,i=this.baseInterval;f.each(t.dates,function(n){var r=t.getDate(n),a=h.round(h.copy(r),i.timeUnit,i.count),s=h.add(h.copy(a),i.timeUnit,i.count);t.setCalculatedValue(n,a.getTime(),"open"),t.setCalculatedValue(n,s.getTime(),"close"),t.component.dataItemsByAxis.getKey(e.uid).setKey(a.getTime().toString(),t)})},e.prototype.addEmptyUnitsBreaks=function(){var t=this;if(this.skipEmptyPeriods&&c.isNumber(this.min)&&c.isNumber(this.max)){var e=this.baseInterval.timeUnit,i=this.baseInterval.count;this.axisBreaks.clear();for(var n=h.round(new Date(this.min),e,i),r=void 0,a=function(){h.add(n,e,i);var a=n.getTime(),o=a.toString();p.contains(s.series.iterator(),function(e){return!!e.dataItemsByAxis.getKey(t.uid).getKey(o)})?r&&(r.endDate=new Date(a-1),r=void 0):r||((r=s.axisBreaks.create()).startDate=new Date(a))},s=this;n.getTime()<this.max-this.baseDuration;)a()}},e.prototype.fixAxisBreaks=function(){var e=this;t.prototype.fixAxisBreaks.call(this);var i=this._axisBreaks;p.each(i.iterator(),function(t){var i=e._gridCount*(Math.min(e.end,t.endPosition)-Math.max(e.start,t.startPosition))/(e.end-e.start);t.gridInterval=e.chooseInterval(0,t.adjustedEndValue-t.adjustedStartValue,i),t.gridDate=h.round(new Date(t.adjustedStartValue),t.gridInterval.timeUnit)})},e.prototype.getGridDate=function(t,e){var i=this._gridInterval.timeUnit,n=this._gridInterval.count;h.round(t,i);var r=t.getTime(),a=h.copy(t),s=h.add(a,i,e).getTime(),o=this.isInBreak(s);o&&(s=(a=this.getBreaklessDate(o,this.baseInterval.timeUnit,this.baseInterval.count)).getTime());var l=this.adjustDifference(r,s);return Math.round(l/h.getDuration(i))<n?this.getGridDate(t,e+1):a},e.prototype.getBreaklessDate=function(t,e,i){var n=new Date(t.endValue);h.round(n,e,i),h.add(n,e,i);var r=n.getTime();return(t=this.isInBreak(r))?this.getBreaklessDate(t,e,i):n},e.prototype.validateAxisElements=function(){var t=this;if(c.isNumber(this.max)&&c.isNumber(this.min)){this.calculateZoom();var e=this._gridDate.getTime(),i=this._gridInterval.timeUnit,n=this._gridInterval.count,r=h.copy(this._gridDate),a=this._dataItemsIterator;this.resetIterators();for(var s=function(){var t=o.getGridDate(new Date(r),n);e=t.getTime();var s=h.copy(t);s=h.add(s,i,n);var l=o.dateFormats.getKey(i);o._markUnitChange&&r&&h.checkChange(t,r,o._nextGridUnit)&&"year"!==i&&(l=o.periodChangeDateFormats.getKey(i));var u=o.dateFormatter.format(t,l),c=a.find(function(t){return t.text===u});c.__disabled=!1,o.appendDataItem(c),c.axisBreak=void 0,c.date=t,c.endDate=s,c.text=u,r=t,o.validateDataElement(c)},o=this;e<=this._maxZoomed;)s();var l=this.renderer;p.each(this.axisBreaks.iterator(),function(e){if(e.breakSize>0){var i=e.gridInterval.timeUnit,n=e.gridInterval.count;if(d.getDistance(e.startPoint,e.endPoint)>l.minGridDistance)for(var r,s=e.gridDate.getTime(),o=0,u=function(){var l=h.copy(e.gridDate);if(s=h.add(l,i,n*o).getTime(),o++,s>e.adjustedStartValue&&s<e.adjustedEndValue){var u=h.copy(l);u=h.add(u,i,n);var c=t.dateFormats.getKey(i);t._markUnitChange&&r&&h.checkChange(l,r,t._nextGridUnit)&&"year"!==i&&(c=t.periodChangeDateFormats.getKey(i));var p=t.dateFormatter.format(l,c),d=a.find(function(t){return t.text===p});t.appendDataItem(d),d.axisBreak=e,e.dataItems.moveValue(d),d.date=l,d.endDate=u,d.text=p,r=l,t.validateDataElement(d)}};s<=e.adjustedMax;)u()}})}},e.prototype.validateDataElement=function(t){if(c.isNumber(this.max)&&c.isNumber(this.min)){var e=this.renderer,i=t.value,n=t.endValue;c.isNumber(n)||(n=i);var r=this.valueToPosition(i),a=this.valueToPosition(n);t.position=r;var s=t.tick;s&&e.updateTickElement(s,r,a);var o=t.grid;o&&e.updateGridElement(o,r,a);var l=t.axisFill;l&&(e.updateFillElement(l,r,a),t.isRange||this.fillRule(t));var u=t.mask;u&&e.updateFillElement(u,r,a);var h=t.label;h&&(1!=this._gridInterval.count||"week"==this._gridInterval.timeUnit||t.isRange||(a=r+=(a-r)/2),e.updateLabelElement(h,r,a))}},Object.defineProperty(e.prototype,"baseDuration",{get:function(){return h.getDuration(this.baseInterval.timeUnit,this.baseInterval.count)},enumerable:!0,configurable:!0}),e.prototype.adjustMinMax=function(t,e){return{min:t,max:e,step:this.baseDuration}},e.prototype.fixMin=function(t){return t+this.baseDuration*this.startLocation},e.prototype.fixMax=function(t){return t+this.baseDuration*this.endLocation},e.prototype.chooseInterval=function(t,e,i){var n=this.gridIntervals,r=n.getIndex(t),a=h.getDuration(r.timeUnit,r.count),s=n.length-1;if(t>=s)return g({},n.getIndex(s));var o=Math.ceil(e/a);return e<a&&t>0?g({},n.getIndex(t-1)):o<=i?g({},n.getIndex(t)):t+1<n.length?this.chooseInterval(t+1,e,i):g({},n.getIndex(t))},e.prototype.formatLabel=function(t){return this.dateFormatter.format(t)},e.prototype.dateToPosition=function(t){return this.valueToPosition(t.getTime())},e.prototype.anyToPosition=function(t){return t instanceof Date?this.dateToPosition(t):this.valueToPosition(t)},e.prototype.dateToPoint=function(t){var e=this.dateToPosition(t),i=this.renderer.positionToPoint(e),n=this.renderer.positionToAngle(e);return{x:i.x,y:i.y,angle:n}},e.prototype.anyToPoint=function(t){return t instanceof Date?this.dateToPoint(t):this.valueToPoint(t)},e.prototype.positionToDate=function(t){return new Date(this.positionToValue(t))},e.prototype.getX=function(t,e,i){var n=this.getTimeByLocation(t,e,i);return c.isNumber(n)||(n=this.baseValue),this.renderer.positionToPoint(this.valueToPosition(n)).x},e.prototype.getY=function(t,e,i){var n=this.getTimeByLocation(t,e,i),r=t.getValue("valueX","stack");return c.isNumber(n)||(n=this.baseValue),this.renderer.positionToPoint(this.valueToPosition(n+r)).y},e.prototype.getAngle=function(t,e,i,n){var r=this.getTimeByLocation(t,e,i),a=t.getValue(n,"stack");return c.isNumber(r)||(r=this.baseValue),this.positionToAngle(this.valueToPosition(r+a))},e.prototype.getTimeByLocation=function(t,e,i){c.isNumber(i)||(i=t.workingLocations[e],c.isNumber(i)||(i=0));var n=t.values[e].open,r=t.values[e].close;if(c.isNumber(n)&&c.isNumber(r))return n+(r-n)*i},e.prototype.processSeriesDataItem=function(t){var e,i=this;f.each(t.dates,function(t,n){var r=i._prevSeriesTime.getKey(t),a=n.getTime();if(c.isNumber(e)){var s=Math.abs(a-e);i._minSeriesDifference>s&&(i._minSeriesDifference=s)}e=a;var o=a-r;o>0&&i._minSeriesDifference>o&&(i._minSeriesDifference=o),i._prevSeriesTime.setKey(t,a)})},e.prototype.updateAxisBySeries=function(){t.prototype.updateAxisBySeries.call(this);var e=this.chooseInterval(0,this._minSeriesDifference,1);this._minSeriesDifference>=h.getDuration("day",27)&&"week"==e.timeUnit&&(e.timeUnit="month"),this._minSeriesDifference>=h.getDuration("hour",23)&&"hour"==e.timeUnit&&(e.timeUnit="day"),e.count=1,this._baseIntervalReal=e},Object.defineProperty(e.prototype,"baseInterval",{get:function(){return this._baseInterval?this._baseInterval:this._baseIntervalReal},set:function(t){this._baseInterval=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startLocation",{get:function(){return this._startLocation},set:function(t){this._startLocation!=t&&(this._startLocation=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this._endLocation},set:function(t){this._endLocation!=t&&(this._endLocation=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"skipEmptyPeriods",{get:function(){return this.getPropertyValue("skipEmptyPeriods")},set:function(t){if(this.setPropertyValue("skipEmptyPeriods",t)&&this.invalidateData(),t){var e=this.axisBreaks.template;e.startLine.disabled=!0,e.endLine.disabled=!0,e.fillShape.disabled=!0,e.breakSize=0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipDateFormat",{get:function(){return this._tooltipDateFormat},set:function(t){this._tooltipDateFormat!=t&&(this._tooltipDateFormat=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markUnitChange",{get:function(){return this._markUnitChange},set:function(t){this._markUnitChange!=t&&(this._markUnitChange=t,this.invalidateData())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"boldUnitChange",{get:function(){return this._boldUnitChange},set:function(t){this._boldUnitChange!=t&&(this._boldUnitChange=t,this.invalidateData())},enumerable:!0,configurable:!0}),e.prototype.getTooltipText=function(t){var e,i=this.positionToDate(t);if(i=h.round(i,this.baseInterval.timeUnit,this.baseInterval.count),c.hasValue(this.tooltipDateFormat))e=this.dateFormatter.format(i,this.tooltipDateFormat);else{var n=this.dateFormats.getKey(this.baseInterval.timeUnit);e=n?this.dateFormatter.format(i,n):this.getPositionLabel(t)}return this.adapter.apply("getTooltipText",e)},e.prototype.roundPosition=function(t,e){var i=this.baseInterval,n=i.timeUnit,r=i.count,a=this.positionToDate(t);if(h.round(a,n,r),e>0&&h.add(a,n,e),this.isInBreak(a.getTime()))for(;a.getTime()<this.max&&(h.add(a,n,r),!this.isInBreak(a.getTime())););return this.dateToPosition(a)},e.prototype.getCellStartPosition=function(t){return this.roundPosition(t,0)},e.prototype.getCellEndPosition=function(t){return this.roundPosition(t,1)},e.prototype.getSeriesDataItem=function(t,e){var i=this.positionToValue(e),n=h.round(new Date(i),this.baseInterval.timeUnit,this.baseInterval.count);return t.dataItemsByAxis.getKey(this.uid).getKey(n.getTime().toString())},e.prototype.getPositionLabel=function(t){var e=this.positionToDate(t);return this.dateFormatter.format(e,this.getCurrentLabelFormat())},e.prototype.getCurrentLabelFormat=function(){return this.dateFormats.getKey(this._gridInterval?this._gridInterval.timeUnit:"day")},e.prototype.initRenderer=function(){t.prototype.initRenderer.call(this);var e=this.renderer;e&&(e.ticks.template.location=a.c.Start,e.grid.template.location=a.c.Start,e.labels.template.location=a.c.Start,e.baseGrid.disabled=!0)},Object.defineProperty(e.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),e.prototype.zoomToDates=function(t,e,i,n){t=this.dateFormatter.parse(t),e=this.dateFormatter.parse(e),this.zoomToValues(t.getTime(),e.getTime(),i,n)},e}(r.a);u.b.registeredClasses.DateAxis=x,u.b.registeredClasses.DateAxisDataItem=m},164:function(t,e,i){"use strict";i.d(e,"a",function(){return y});var n,r=i(231),a=i(13),s=i(16),o=i(0),l=i(18),u=i(9),h=i(3),c=i(6),p=i(2),d=i(10),f=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),y=function(t){function e(){var e=t.call(this)||this;e._lineX=new s.d,e._lineY=new s.d,e._xAxis=new s.d,e._yAxis=new s.d,e.className="XYCursor",e.behavior="zoomX",e.maxPanOut=.1;var i=new u.a,n=e.createChild(a.a);n.shouldClone=!1,n.fillOpacity=.2,n.fill=i.getFor("alternativeBackground"),n.isMeasured=!1,e.selection=n,e._disposers.push(e.selection);var r=e.createChild(a.a);r.shouldClone=!1,r.stroke=i.getFor("grid"),r.fill=Object(l.c)(),r.strokeDasharray="3,3",r.isMeasured=!1,r.strokeOpacity=.4,e.lineX=r,e._disposers.push(e.lineX);var o=e.createChild(a.a);return o.shouldClone=!1,o.stroke=i.getFor("grid"),o.fill=Object(l.c)(),o.strokeDasharray="3,3",o.isMeasured=!1,o.strokeOpacity=.4,e.lineY=o,e._disposers.push(e.lineY),e.events.on("sizechanged",e.updateSize,e),e._disposers.push(e._lineX),e._disposers.push(e._lineY),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.applyTheme(),e}return f(e,t),e.prototype.updateSize=function(){this.lineX&&this.lineX.element.attr({d:d.moveTo({x:0,y:0})+d.lineTo({x:0,y:this.innerHeight})}),this.lineY&&this.lineY.element.attr({d:d.moveTo({x:0,y:0})+d.lineTo({x:this.innerWidth,y:0})})},e.prototype.updateSelection=function(){if(this._usesSelection){var t=this.downPoint;if(t){var e=this.point;this.lineX&&(e.x=this.lineX.pixelX),this.lineY&&(e.y=this.lineY.pixelY);var i=this.selection,n=Math.min(e.x,t.x),r=Math.min(e.y,t.y),a=h.round(Math.abs(t.x-e.x),this._positionPrecision),s=h.round(Math.abs(t.y-e.y),this._positionPrecision);switch(this.behavior){case"zoomX":r=0,s=this.pixelHeight;break;case"zoomY":n=0,a=this.pixelWidth;break;case"selectX":r=0,s=this.pixelHeight;break;case"selectY":n=0,a=this.pixelWidth}i.x=n,i.y=r,i.element.attr({d:d.rectangle(a,s)}),i.validatePosition()}else this.selection.hide()}},e.prototype.fixPoint=function(t){return t.x=Math.max(0,t.x),t.y=Math.max(0,t.y),t.x=Math.min(this.pixelWidth,t.x),t.y=Math.min(this.pixelHeight,t.y),t},e.prototype.triggerMoveReal=function(e,i){t.prototype.triggerMoveReal.call(this,e,i),this.updateLinePositions(e),this.downPoint&&"pan"==this._generalBehavior&&(this.getPanningRanges(),this.dispatch("panning"))},e.prototype.updateLinePositions=function(t){t=this.fixPoint(this.point),this.lineX&&this.lineX.visible&&!this.xAxis&&(this.lineX.x=t.x),this.lineY&&this.lineY.visible&&!this.yAxis&&(this.lineY.y=t.y),this.updateSelection()},e.prototype.triggerDownReal=function(e,i){if(this.visible&&!this.isHiding)if(this.fitsToBounds(e)){this.downPoint=e,this.updatePoint(e),this.point.x=this.downPoint.x,this.point.y=this.downPoint.y;var n=this.selection,r=this.downPoint.x,a=this.downPoint.y;this._usesSelection&&(n.x=r,n.y=a,n.element.attr({d:""}),n.show()),t.prototype.triggerDownReal.call(this,e,i)}else this.downPoint=void 0;else this.downPoint=void 0},e.prototype.updatePoint=function(t){this.lineX&&(t.x=this.lineX.pixelX),this.lineY&&(t.y=this.lineY.pixelY)},e.prototype.triggerUpReal=function(e,i){this.downPoint&&(this.upPoint=e,this.updatePoint(this.upPoint),this.getRanges(),"selectX"==this.behavior||"selectY"==this.behavior||"selectXY"==this.behavior||this.selection.hide(),t.prototype.triggerUpReal.call(this,e,i)),this.downPoint=void 0,this.updateSelection()},e.prototype.getPanningRanges=function(){var t=h.round(this.downPoint.x/this.innerWidth,5),e=h.round(this.downPoint.y/this.innerHeight,5),i=t-h.round(this.point.x/this.innerWidth,5),n=-e+h.round(this.point.y/this.innerHeight,5);this.xRange={start:i,end:1+i},this.yRange={start:n,end:1+n},"panX"==this.behavior&&(this.yRange.start=0,this.yRange.end=1),"panY"==this.behavior&&(this.xRange.start=0,this.xRange.end=1)},e.prototype.getRanges=function(){this.lineX&&(this.upPoint.x=this.lineX.pixelX),this.lineY&&(this.upPoint.y=this.lineY.pixelY),this.selection;var t=h.round(this.downPoint.x/this.innerWidth,5),e=h.round(this.upPoint.x/this.innerWidth,5),i=h.round(this.downPoint.y/this.innerHeight,5),n=h.round(this.upPoint.y/this.innerHeight,5);this.xRange={start:h.min(t,e),end:h.max(t,e)},this.yRange={start:h.min(i,n),end:h.max(i,n)}},Object.defineProperty(e.prototype,"behavior",{get:function(){return this.getPropertyValue("behavior")},set:function(t){this.setPropertyValue("behavior",t,!0),this._usesSelection=!1,-1!=t.indexOf("zoom")&&(this._generalBehavior="zoom",this._usesSelection=!0),-1!=t.indexOf("select")&&(this._generalBehavior="select",this._usesSelection=!0),-1!=t.indexOf("pan")&&(this._generalBehavior="pan",this._usesSelection=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthLineX",{get:function(){return this.getPropertyValue("fullWidthLineX")},set:function(t){this.setPropertyValue("fullWidthLineX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthLineY",{get:function(){return this.getPropertyValue("fullWidthLineY")},set:function(t){this.setPropertyValue("fullWidthLineY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxPanOut",{get:function(){return this.getPropertyValue("maxPanOut")},set:function(t){this.setPropertyValue("maxPanOut",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xAxis",{get:function(){return this._xAxis.get()},set:function(t){if(this._xAxis.get()!=t){var e=t.chart;this._xAxis.set(t,new s.c([t.tooltip.events.on("positionchanged",this.handleXTooltipPosition,this),t.events.on("validated",e.handleCursorPositionChange,e)]))}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yAxis",{get:function(){return this._yAxis.get()},set:function(t){if(this._yAxis.get()!=t){var e=t.chart;this._yAxis.set(t,new s.c([t.tooltip.events.on("positionchanged",this.handleYTooltipPosition,this),t.events.on("validated",e.handleCursorPositionChange,e)]))}},enumerable:!0,configurable:!0}),e.prototype.handleXTooltipPosition=function(t){var e=this.xAxis.tooltip,i=c.svgPointToSprite({x:e.pixelX,y:e.pixelY},this),n=i.x;if(this.lineX&&(this.lineX.x=n,this.fitsToBounds(i)||this.hide()),this.xAxis&&this.fullWidthLineX){var r=this.xAxis.currentItemStartPoint,a=this.xAxis.currentItemEndPoint;if(r&&a){this.lineX.x=n;var s=a.x-r.x;this.lineX.element.attr({d:d.rectangle(s,this.innerHeight,-s/2)})}}},e.prototype.handleYTooltipPosition=function(t){var e=this.yAxis.tooltip,i=c.svgPointToSprite({x:e.pixelX,y:e.pixelY},this),n=i.y;if(this.lineY&&(this.lineY.y=n,this.fitsToBounds(i)||this.hide()),this.yAxis&&this.fullWidthLineY){var r=this.yAxis.currentItemStartPoint,a=this.yAxis.currentItemEndPoint;if(r&&a){this.lineY.y=n;var s=a.y-r.y;this.lineY.element.attr({d:d.rectangle(this.innerWidth,s,0,-s/2)})}}},Object.defineProperty(e.prototype,"lineX",{get:function(){return this._lineX.get()},set:function(t){t?(t.element=this.paper.add("path"),this._lineX.set(t,t.events.on("positionchanged",this.updateSelection,this)),t.interactionsEnabled=!1,t.parent=this):this._lineX.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineY",{get:function(){return this._lineY.get()},set:function(t){t?(t.element=this.paper.add("path"),this._lineY.set(t,t.events.on("positionchanged",this.updateSelection,this)),t.parent=this,t.interactionsEnabled=!1):this._lineY.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this._selection},set:function(t){this._selection=t,t&&(t.element=this.paper.add("path"),t.parent=this)},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){e&&(p.hasValue(e.xAxis)&&p.isString(e.xAxis)&&this.map.hasKey(e.xAxis)&&(e.xAxis=this.map.getKey(e.xAxis)),p.hasValue(e.yAxis)&&p.isString(e.yAxis)&&this.map.hasKey(e.yAxis)&&(e.yAxis=this.map.getKey(e.yAxis))),t.prototype.processConfig.call(this,e)},e}(r.a);o.b.registeredClasses.XYCursor=y},165:function(t,e,i){"use strict";i.d(e,"b",function(){return v}),i.d(e,"a",function(){return b});var n,r=i(123),a=i(13),s=i(5),o=i(7),l=i(234),u=i(65),h=i(163),c=i(0),p=i(84),d=i(40),f=i(97),y=i(4),g=i(19),m=i(2),x=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),v=function(t){function e(){var e=t.call(this)||this;return e.className="LineSeriesDataItem",e}return x(e,t),e}(r.b),b=function(t){function e(){var e=t.call(this)||this;return e.minDistance=.5,e.segments=new o.e(new l.a),e._disposers.push(new o.c(e.segments)),e._disposers.push(e.segments.template),e._segmentsIterator=new y.ListIterator(e.segments,function(){return e.segments.create()}),e._segmentsIterator.createNewItems=!0,e.className="LineSeries",e.strokeOpacity=1,e.fillOpacity=0,e.connect=!0,e.tensionX=1,e.tensionY=1,e.segmentsContainer=e.mainContainer.createChild(s.a),e.segmentsContainer.isMeasured=!1,e.bulletsContainer.toFront(),e.applyTheme(),e}return x(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Line Series"))},e.prototype.createDataItem=function(){return new v},e.prototype.setInitialWorkingValues=function(t){if(this.appeared&&this.visible){var e=this._yAxis.get(),i=this._xAxis.get(),n=this.dataItems.getIndex(t.index-1);if(t.component=this,this.baseAxis==i&&e instanceof u.a){var r=e.minZoomed;n&&(r=n.values.valueY.workingValue),t.setWorkingValue("valueY",r,0),t.setWorkingValue("valueY",t.values.valueY.value),i instanceof h.a&&(t.setWorkingLocation("dateX",-.5,0),t.setWorkingLocation("dateX",.5))}if(this.baseAxis==e&&i instanceof u.a){var a=i.minZoomed;n&&(a=n.values.valueX.workingValue),t.setWorkingValue("valueX",a,0),t.setWorkingValue("valueX",t.values.valueX.value),e instanceof h.a&&(t.setWorkingLocation("dateY",-.5,0),t.setWorkingLocation("dateY",.5))}}},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this),this._segmentsIterator.reset(),this.openSegment(this._workingStartIndex),y.each(this.axisRanges.iterator(),function(t){e.openSegment(0,t)}),y.each(this._segmentsIterator.iterator(),function(t){t.__disabled=!0})},e.prototype.sliceData=function(){for(var t=this.startIndex,e=this.endIndex,i=this.startIndex-1;i>=0;i++){if((n=this.dataItems.getIndex(i)).hasValue(this._xValueFields)&&n.hasValue(this._yValueFields)){t=i;break}}for(i=this.endIndex;i<this.dataItems.length;i++){var n;if((n=this.dataItems.getIndex(i)).hasValue(this._xValueFields)&&n.hasValue(this._yValueFields)){e=i+1;break}}this._workingStartIndex=t,this._workingEndIndex=e},e.prototype.openSegment=function(t,e){var i,n=[],r=this._workingEndIndex,s=!1,o=this._segmentsIterator.getFirst();o.__disabled=!1,e?(o.parent=e.contents,g.copyProperties(e.contents,o,a.b)):(g.copyProperties(this,o,a.b),o.filters.clear(),o.parent=this.segmentsContainer);for(var l=t;l<r;l++){var u=this.dataItems.getIndex(l);if(u.hasProperties&&(l==t?this.updateSegmentProperties(u.properties,o):s=this.updateSegmentProperties(u.properties)),u.hasValue(this._xValueFields)&&u.hasValue(this._yValueFields))this.addPoints(n,u,this.xField,this.yField);else{if(l==t)continue;if(!this.connect){i=l;break}}if(i=l,s)break}this.closeSegment(o,n,t,i,e)},e.prototype.addPoints=function(t,e,i,n,r){var a=this.getPoint(e,i,n,e.workingLocations[i],e.workingLocations[n]);r||(e.point=a),t.push(a)},e.prototype.closeSegment=function(t,e,i,n,r){var a=[];if(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)for(var s=n;s>=i;s--){var o=this.dataItems.getIndex(s);o.hasValue(this._xValueFields)&&o.hasValue(this._yValueFields)&&this.addPoints(a,o,this.xOpenField,this.yOpenField,!0)}else{var l=this.baseAxis,u=e.length,h=this.xAxis,c=this.yAxis;l==h?(a.push({x:e[u-1].x,y:c.basePoint.y}),a.push({x:e[0].x,y:c.basePoint.y})):(a.push({x:h.basePoint.x,y:e[u-1].y}),a.push({x:h.basePoint.x,y:e[0].y}))}this.drawSegment(t,e,a),n<this._workingEndIndex-1&&this.openSegment(n,r)},e.prototype.drawSegment=function(t,e,i){t.drawSegment(e,i,this.tensionX,this.tensionY)},e.prototype.updateSegmentProperties=function(t,e){var i=!1;return g.each(t,function(t,n){m.hasValue(n)&&(e?e.properties[t]!=n&&(e.setPropertyValue(t,n),e.invalidate(),i=!0):i=!0)}),i},Object.defineProperty(e.prototype,"connect",{get:function(){return this.getPropertyValue("connect")},set:function(t){this.setPropertyValue("connect",t),this.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionX",{get:function(){return this.getPropertyValue("tensionX")},set:function(t){this.setPropertyValue("tensionX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionY",{get:function(){return this.getPropertyValue("tensionY")},set:function(t){this.setPropertyValue("tensionY",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){var e=this,i=t.pixelWidth,n=t.pixelHeight;t.disposeChildren();var r=t.createChild(p.a);if(r.shouldClone=!1,r.copyFrom(this),r.x2=i,r.y=n/2,r.visible=!0,this.fillOpacity>0){var a=t.createChild(f.a);a.copyFrom(this),a.width=i,a.height=n,a.y=0,a.strokeOpacity=0,a.visible=!0,r.y=0}y.eachContinue(this.bullets.iterator(),function(r){if(r.copyToLegendMarker){var a=!1;if(y.each(r.children.iterator(),function(t){if(t instanceof d.a)return a=!0,!0}),!a){var s=r.clone();return s.parent=t,s.isMeasured=!0,s.tooltipText=void 0,s.x=i/2,e.fillOpacity>0?s.y=0:s.y=n/2,s.visible=!0,m.hasValue(s.fill)||(s.fill=e.fill),m.hasValue(s.stroke)||(s.stroke=e.stroke),!1}}})},e}(r.a);c.b.registeredClasses.LineSeries=b,c.b.registeredClasses.LineSeriesDataItem=v},166:function(t,e,i){"use strict";i.d(e,"b",function(){return m}),i.d(e,"a",function(){return x});var n,r=i(86),a=i(90),s=i(111),o=i(241),l=i(7),u=i(5),h=i(64),c=i(0),p=i(3),d=i(4),f=i(39),y=i(2),g=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),m=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeriesDataItem",e.values.radiusValue={},e.applyTheme(),e}return g(e,t),e.prototype.uidAttr=function(){return this.slice.uidAttr()},e.prototype.hide=function(e,i,n,r){return t.prototype.hide.call(this,e,i,0,["value","radiusValue"])},e.prototype.show=function(e,i,n){return t.prototype.show.call(this,e,i,["value","radiusValue"])},Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.setProperty("color",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"category",{get:function(){return this.properties.category},set:function(t){this.setProperty("category",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusValue",{get:function(){return this.values.radiusValue.value},set:function(t){this.setValue("radiusValue",t)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){this.component.createLegendMarker(t,this)},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,t.label.dataItem=this,t.valueLabel.dataItem=this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tick",{get:function(){return this._tick||(this._tick=this.component.ticks.create(),this._disposers.push(this._tick),this.addSprite(this._tick),this._tick.slice=this.slice,this._tick.label=this.label),this._tick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label||(this._label=this.component.labels.create(),this._disposers.push(this._label),this.addSprite(this._label)),this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"slice",{get:function(){return this._slice||(this._slice=this.component.slices.create(),this._disposers.push(this._slice),this.addSprite(this._slice)),this._slice},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenInLegend",{get:function(){return this.properties.hiddenInLegend},set:function(t){this.setProperty("hiddenInLegend",t)},enumerable:!0,configurable:!0}),e}(r.b),x=function(t){function e(){var e=t.call(this)||this;e.className="PieSeries",e.alignLabels=!0,e.startAngle=-90,e.endAngle=270,e.colors=new h.a,e.colors.step=1,e.isMeasured=!0;var i=e.createChild(u.a);i.shouldClone=!1,i.isMeasured=!1,e.slicesContainer=i;var n=e.createChild(u.a);n.shouldClone=!1,n.isMeasured=!1,n.layout="none",e.ticksContainer=n;var r=e.createChild(u.a);r.shouldClone=!1,r.isMeasured=!1,r.layout="none",e.labelsContainer=r,e.bulletsContainer.toFront(),e.initSlice(a.a);var c=new o.a;c.isMeasured=!1,e.ticks=new l.e(c),e._disposers.push(new l.c(e.ticks)),e._disposers.push(e.ticks.template);var p=new s.a;return p.text="{category}: {value.percent.formatNumber('#.0')}%",p.isMeasured=!1,p.radius=25,p.padding(5,5,5,5),p.renderingFrequency=2,e.labels=new l.e(p),e._disposers.push(new l.c(e.labels)),e._disposers.push(e.labels.template),e.skipFocusThreshold=50,e.defaultState.transitionEasing=f.sinOut,e.slices.template.states.create("hover").properties.scale=1.05,e.itemReaderText="{category}: {value.percent.formatNumber('#.#')}%",e.applyTheme(),e}return g(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pie Slice Series"))},e.prototype.createDataItem=function(){return new m},e.prototype.initSlice=function(t){var e=new t;e.isMeasured=!1,e.defaultState.properties.scale=1,e.observe("scale",this.handleSliceScale,this),e.observe(["dx","dy","x","y","shiftRadius"],this.handleSliceMove,this),e.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})",e.states.create("hover"),e.defaultState.properties.shiftRadius=0,e.togglable=!0,e.events.on("toggled",function(t){t.target.hideTooltip()}),e.states.create("active").properties.shiftRadius=.1;var i=e.hiddenState;return i.properties.visible=!0,i.properties.opacity=1,this.slices=new l.e(e),this._disposers.push(new l.c(this.slices)),this._disposers.push(this.slices.template),e},e.prototype.validate=function(){if(!(Math.abs(this.startAngle-this.endAngle)<.01)){this.chart.invalid&&this.chart.validate(),this._leftItems=[],this._rightItems=[],this._currentStartAngle=this.startAngle,this._arcRect=p.getArcRect(this.startAngle,this.endAngle),this._maxRadiusPercent=0;for(var e=this.startIndex;e<this.endIndex;e++){var i=this.dataItems.getIndex(e).values.radiusValue.percent;i>this._maxRadiusPercent&&(this._maxRadiusPercent=i)}t.prototype.validate.call(this),this.alignLabels&&(this.startAngle>this.endAngle?this._rightItems.reverse():this._leftItems.reverse(),this.arrangeLabels(this._rightItems),this.arrangeLabels(this._leftItems))}},e.prototype.validateDataElement=function(e){var i=this;if(this.radius>0){e.values.value.percent;e.__disabled=!1;var n=e.slice;n.parent=this.slicesContainer,n.radius=this.radius,y.isNumber(e.radiusValue)&&(n.radius*=e.values.radiusValue.percent/this._maxRadiusPercent),n.innerRadius=this.innerRadius,n.startAngle=this._currentStartAngle,void 0==n.fill&&(n.fill=this.colors.getIndex(e.index*this.colors.step)),void 0==n.stroke&&(n.stroke=this.colors.getIndex(e.index*this.colors.step)),n.arc=e.values.value.percent*(this.endAngle-this.startAngle)/100;var r=e.label;r.parent=this.labelsContainer;var a=e.tick;a.parent=this.ticksContainer;var s=(n.middleAngle+360)%360,o=void 0;if(this.alignLabels){var l=a.length+r.radius;r.verticalCenter="middle";var u=this._arcRect;s>=270||s<=91?(l+=(u.width+u.x)*this.radius,r.horizontalCenter="left",this._rightItems.push(e)):(l-=u.x*this.radius,r.horizontalCenter="right",this._leftItems.push(e),l*=-1);var h=this.radius+a.length+r.radius;o={x:l,y:n.iy*h}}else{l=n.ix*n.radius;var c=n.iy*n.radiusY;o=r.fixPoint({x:l,y:c},n.radius)}r.moveTo(o),this._currentStartAngle+=n.arc,this.itemsFocusable()?(n.role="menuitem",n.focusable=!0):(n.role="listitem",n.focusable=!1),n.focusable&&(n.events.once("focus",function(t){n.readerTitle=i.populateString(i.itemReaderText,e)}),n.events.once("blur",function(t){n.readerTitle=""})),n.hoverable&&(n.events.once("over",function(t){n.readerTitle=i.populateString(i.itemReaderText,e)}),n.events.once("out",function(t){n.readerTitle=""})),t.prototype.validateDataElement.call(this,e)}},e.prototype.arrangeLabels=function(t){for(var e=0;e<t.length;e++){var i=t[e].label;if(i&&e<t.length-1){var n=this.getNextLabel(e+1,t);i.invalid&&i.validate();var r=i.pixelY+i.measuredHeight;n&&n.y<r&&(n.y=r)}}},e.prototype.getNextLabel=function(t,e){if(e.length>=t){var i=e[t];if(i)return i.label?i.label:this.getNextLabel(t+1,e)}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPropertyValue("innerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",p.normalizeAngle(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLabels",{get:function(){return this.getPropertyValue("alignLabels")},set:function(t){this.setPropertyValue("alignLabels",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t,e){d.each(t.children.iterator(),function(t){var i=e.slice;t.bind("fill",i),t.bind("stroke",i),t.bind("fillOpacity",i),t.bind("strokeOpacity",i)})},e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice,n=e.locationX;y.isNumber(n)||(n=.5);var r=e.locationY;y.isNumber(r)||(r=1);var a=i.startAngle+i.arc*n,s=r*i.radius;e.x=s*p.cos(a),e.y=s*p.sin(a)},e.prototype.handleSliceScale=function(t){var e=this,i=t.target.dataItem;d.each(i.bullets.iterator(),function(t){var i=t[1];e.positionBullet(i)})},e.prototype.handleSliceMove=function(t){if(!this.alignLabels){var e=t.target,i=e.dataItem;i.label.dx=e.dx+e.pixelX,i.label.dy=e.dy+e.pixelY}},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.slices.template.copyFrom(e.slices.template),this.labels.template.copyFrom(e.labels.template),this.ticks.template.copyFrom(e.ticks.template)},e.prototype.getContainerBBox=function(){var t=this.chart;return t?p.getArcRect(t.startAngle,t.endAngle,this.radius):p.getArcRect(this.startAngle,this.endAngle,this.radius)},e}(r.a);c.b.registeredClasses.PieSeries=x,c.b.registeredClasses.PieSeriesDataItem=m},202:function(t,e,i){"use strict";i.d(e,"a",function(){return y});var n,r=i(110),a=i(203),s=i(204),o=i(111),l=i(0),u=i(8),h=i(3),c=i(10),p=i(6),d=i(2),f=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),y=function(t){function e(){var e=t.call(this)||this;return e.pixelRadiusReal=0,e.layout="none",e.className="AxisRendererCircular",e.isMeasured=!1,e.startAngle=-90,e.endAngle=270,e.radius=Object(u.c)(100),e.isMeasured=!1,e.grid.template.location=0,e.labels.template.location=0,e.labels.template.isMeasured=!0,e.labels.template.radius=15,e.ticks.template.location=0,e.ticks.template.pixelPerfect=!1,e.tooltipLocation=0,e.line.strokeOpacity=0,e.applyTheme(),e}return f(e,t),e.prototype.setAxis=function(e){var i=this;t.prototype.setAxis.call(this,e),e.isMeasured=!1;var n=e.tooltip;n.adapter.add("dx",function(t,e){var n=p.svgPointToSprite({x:e.pixelX,y:e.pixelY},i);return i.pixelRadius*Math.cos(Math.atan2(n.y,n.x))-n.x}),n.adapter.add("dy",function(t,e){var n=p.svgPointToSprite({x:e.pixelX,y:e.pixelY},i);return i.pixelRadius*Math.sin(Math.atan2(n.y,n.x))-n.y})},e.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"axisLength",{get:function(){return 2*Math.PI*this.pixelRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return p.relativeRadiusToValue(this.radius,this.pixelRadiusReal)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPropertyValue("innerRadius",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return p.relativeRadiusToValue(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e=this.positionToCoordinate(t),i=this.startAngle+(this.endAngle-this.startAngle)*e/this.axisLength;return{x:this.pixelRadius*h.cos(i),y:this.pixelRadius*h.sin(i)}},e.prototype.positionToAngle=function(t){var e,i=this.axis,n=(this.endAngle-this.startAngle)/(i.end-i.start);return e=i.renderer.inversed?this.startAngle+(i.end-t)*n:this.startAngle+(t-i.start)*n,h.round(e,3)},e.prototype.updateAxisLine=function(){var t=this.line.element;this.chart;var e=this.pixelRadius,i=this.startAngle,n=this.endAngle-i;t.attr({d:c.moveTo({x:e*h.cos(i),y:e*h.sin(i)})+c.arcTo(i,n,e,e)})},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);if(t.element){var r=h.DEGREES*Math.atan2(n.y,n.x),a=p.relativeRadiusToValue(d.hasValue(t.radius)?t.radius:Object(u.c)(100),this.pixelRadius),s=p.relativeRadiusToValue(t.innerRadius,this.pixelRadius);t.zIndex=0;var o=p.relativeRadiusToValue(d.isNumber(s)?s:this.innerRadius,this.pixelRadius,!0);t.element.attr({d:c.moveTo({x:o*h.cos(r),y:o*h.sin(r)})+c.lineTo({x:a*h.cos(r),y:a*h.sin(r)})})}this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);if(t.element){var r=this.pixelRadius,a=h.DEGREES*Math.atan2(n.y,n.x),s=t.length;t.inside&&(s=-s),t.zIndex=1,t.element.attr({d:c.moveTo({x:r*h.cos(a),y:r*h.sin(a)})+c.lineTo({x:(r+s)*h.cos(a),y:(r+s)*h.sin(a)})})}this.toggleVisibility(t,e,0,1)},e.prototype.updateLabelElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);t.fixPoint(n,this.pixelRadius),t.zIndex=2,this.positionItem(t,n),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.fitsToBounds=function(t){return!0},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.getPositionRangePath=function(t,e,i,n,r){var a="";if(d.isNumber(t)&&d.isNumber(e)){d.hasValue(i)||(i=this.radius),t=h.max(t,this.axis.start),(e=h.min(e,this.axis.end))<t&&(e=t);var s=p.relativeRadiusToValue(i,this.pixelRadius),o=p.relativeRadiusToValue(n,this.pixelRadius,!0),l=this.positionToAngle(t),u=this.positionToAngle(e)-l;a=c.arc(l,u,s,o,s,r)}return a},e.prototype.createGrid=function(){return new s.a},e.prototype.createFill=function(t){return new a.a(t)},e.prototype.createLabel=function(){return new o.a},e}(r.a);l.b.registeredClasses.AxisRendererCircular=y},203:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n,r=i(147),a=i(8),s=i(0),o=i(2),l=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(e){var i=t.call(this,e)||this;return i.className="AxisFillCircular",i.element=i.paper.add("path"),i.radius=Object(a.c)(100),i.applyTheme(),i}return l(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),this.axis){var e=this.axis.renderer;this.fillPath=e.getPositionRangePath(this.startPosition,this.endPosition,this.radius,o.hasValue(this.innerRadius)?this.innerRadius:e.innerRadius,this.cornerRadius),this.element.attr({d:this.fillPath})}},Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPropertyValue("innerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);s.b.registeredClasses.AxisFillCircular=u},204:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n,r=i(148),a=i(0),s=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),o=function(t){function e(){var e=t.call(this)||this;return e.className="GridCircular",e.pixelPerfect=!1,e.applyTheme(),e}return s(e,t),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPropertyValue("innerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.GridCircular=o},206:function(t,e,i){"use strict";i.d(e,"b",function(){return v}),i.d(e,"a",function(){return b});var n,r=i(98),a=i(8),s=i(233),o=i(5),l=i(89),u=i(0),h=i(235),c=i(202),p=i(236),d=i(6),f=i(4),y=i(2),g=i(3),m=i(10),x=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),v=function(t){function e(){var e=t.call(this)||this;return e.className="RadarChartDataItem",e.applyTheme(),e}return x(e,t),e}(r.b),b=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=c.a,e._axisRendererY=p.a,e.innerRadiusModifyer=1,e.className="RadarChart",e.startAngle=-90,e.endAngle=270,e.radius=Object(a.c)(80),e.innerRadius=0;var i=e.plotContainer.createChild(o.a);return i.shouldClone=!1,i.layout="absolute",i.align="center",i.valign="middle",e.seriesContainer.parent=i,e.radarContainer=i,e.bulletsContainer.parent=i,e._cursorContainer=i,e._bulletMask=i.createChild(l.a),e._bulletMask.shouldClone=!1,e._bulletMask.element=e.paper.add("path"),e._bulletMask.opacity=0,e.applyTheme(),e}return x(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Radar chart"))},e.prototype.processAxis=function(e){t.prototype.processAxis.call(this,e);var i=e.renderer;i.gridContainer.parent=i,i.breakContainer.parent=i,e.parent=this.radarContainer,i.toBack()},e.prototype.handleXAxisRangeChange=function(e){t.prototype.handleXAxisRangeChange.call(this,e),f.each(this.yAxes.iterator(),function(t){t.invalidate()})},e.prototype.handleYAxisRangeChange=function(e){t.prototype.handleYAxisRangeChange.call(this,e),f.each(this.xAxes.iterator(),function(t){t.invalidate()})},e.prototype.createCursor=function(){return new h.a},e.prototype.processConfig=function(e){if(e&&(y.hasValue(e.cursor)&&!y.hasValue(e.cursor.type)&&(e.cursor.type="RadarCursor"),y.hasValue(e.series)&&y.isArray(e.series)))for(var i=0,n=e.series.length;i<n;i++)e.series[i].type=e.series[i].type||"RadarSeries";t.prototype.processConfig.call(this,e)},e.prototype.beforeDraw=function(){t.prototype.beforeDraw.call(this);this.radarContainer;var e=this.plotContainer,i=g.getArcRect(this.startAngle,this.endAngle,1),n={x:0,y:0,width:0,height:0},r=e.innerWidth/i.width,s=e.innerHeight/i.height,o=this.innerRadius;if(o instanceof a.a){var l=o.value,u=Math.min(r,s);l=Math.max(u*l,u-Math.min(e.innerHeight,e.innerWidth))/u,n=g.getArcRect(this.startAngle,this.endAngle,l),this.innerRadiusModifyer=l/o.value,o=Object(a.c)(100*l)}i=g.getCommonRectangle([i,n]);var h=Math.min(e.innerWidth/i.width,e.innerHeight/i.height),c=2*d.relativeRadiusToValue(this.radius,h),p=c/2,y=this.startAngle,x=this.endAngle;this._pixelInnerRadius=d.relativeRadiusToValue(o,p),this._bulletMask.element.attr({d:m.arc(y,x-y,p,this._pixelInnerRadius)}),f.each(this.xAxes.iterator(),function(t){t.renderer.startAngle=y,t.renderer.endAngle=x,t.width=c,t.height=c,t.renderer.pixelRadiusReal=p,t.renderer.innerRadius=o}),f.each(this.yAxes.iterator(),function(t){t.renderer.startAngle=y,t.renderer.endAngle=x,t.width=c,t.height=c,t.renderer.pixelRadiusReal=p,t.renderer.innerRadius=o});var v=this.cursor;v&&(v.width=c,v.height=c,v.startAngle=y,v.endAngle=x),this.radarContainer.definedBBox={x:p*i.x,y:p*i.y,width:p*i.width,height:p*i.height}},e.prototype.createSeries=function(){return new s.a},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPropertyValue("innerRadius",t,!0)},enumerable:!0,configurable:!0}),e.prototype.updateXAxis=function(t){t.axis.initRenderer()},e.prototype.updateYAxis=function(t){t.axis.initRenderer()},e}(r.a);u.b.registeredClasses.RadarChart=b},228:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n,r=i(122),a=i(0),s=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),o=function(t){function e(){var e=t.call(this)||this;return e.className="CategoryAxisBreak",e.applyTheme(),e}return s(e,t),Object.defineProperty(e.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedStartValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedEndValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startCategory",{get:function(){return this.getPropertyValue("startCategory")},set:function(t){this.setPropertyValue("startCategory",t)&&this.axis&&this.axis.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endCategory",{get:function(){return this.getPropertyValue("endCategory")},set:function(t){this.setPropertyValue("endCategory",t)&&this.axis&&this.axis.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startValue",{get:function(){var t=this.getPropertyValue("startCategory");return t?this.axis.categoryToIndex(t):this.getPropertyValue("startValue")},set:function(t){this.setPropertyValue("startValue",t)&&this.axis&&this.axis.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){var t=this.getPropertyValue("endCategory");return t?this.axis.categoryToIndex(t):this.getPropertyValue("endValue")},set:function(t){this.setPropertyValue("endValue",t)&&this.axis&&this.axis.invalidateDataRange()},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.CategoryAxisBreak=o},229:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n,r=i(162),a=i(0),s=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),o=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisBreak",e.applyTheme(),e}return s(e,t),Object.defineProperty(e.prototype,"startDate",{get:function(){return this.getPropertyValue("startDate")},set:function(t){this.setPropertyValue("startDate",t)&&(this.startValue=t.getTime(),this.axis&&this.axis.invalidateDataRange())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this.getPropertyValue("endDate")},set:function(t){this.setPropertyValue("endDate",t)&&(this.endValue=t.getTime(),this.axis&&this.axis.invalidateDataRange())},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.DateAxisBreak=o},231:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n,r=i(5),a=i(33),s=i(0),o=i(8),l=i(83),u=i(3),h=i(6),c=i(2),p=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),d=function(t){function e(){var e=t.call(this)||this;e.point={x:0,y:0},e.className="Cursor",e.width=Object(o.c)(100),e.height=Object(o.c)(100),e.shouldClone=!1,e.hide(0),e.trackable=!0,e.clickable=!0,e.isMeasured=!1;var i=Object(a.b)();return e._disposers.push(i.body.events.on("down",e.handleCursorDown,e)),e._disposers.push(i.body.events.on("up",e.handleCursorUp,e)),e._disposers.push(i.body.events.on("track",e.handleCursorMove,e)),e.applyTheme(),e}return p(e,t),e.prototype.handleCursorMove=function(t){if(this.interactionsEnabled){var e=h.documentPointToSprite(t.pointer.point,this);return this.triggerMove(e,!0),e}},e.prototype.triggerMove=function(t,e){this.triggerMoveReal(t,e)},e.prototype.triggerMoveReal=function(t,e){this.point.x==t.x&&this.point.y==t.y||(this.fitsToBounds(t)?this.show(0):this.downPoint||this.hide(0),this.point=t,this.visible&&(this.getPositions(),this.dispatch("cursorpositionchanged")))},e.prototype.triggerDown=function(t,e){this.triggerDownReal(t,e)},e.prototype.triggerDownReal=function(t,e){switch(this._generalBehavior){case"zoom":this.dispatchImmediately("zoomstarted");break;case"select":this.dispatchImmediately("selectstarted");break;case"pan":this.dispatchImmediately("panstarted"),Object(a.b)().setGlobalStyle(l.a.grabbing)}},e.prototype.triggerUp=function(t,e){this.triggerUpReal(t,e)},e.prototype.triggerUpReal=function(t,e){this.updatePoint(this.upPoint);var i=Object(a.b)();if(u.getDistance(this.upPoint,this.downPoint)>i.getHitOption(this.interactions,"hitTolerance"))switch(this._generalBehavior){case"zoom":this.dispatchImmediately("zoomended");break;case"select":this.dispatchImmediately("selectended");break;case"pan":this.dispatchImmediately("panended"),i.setGlobalStyle(l.a.default)}else this.dispatchImmediately("behaviorcanceled"),i.setGlobalStyle(l.a.default);this.downPoint=void 0,this.updateSelection()},e.prototype.updateSelection=function(){},e.prototype.getPositions=function(){this.xPosition=this.point.x/this.innerWidth,this.yPosition=1-this.point.y/this.innerHeight},e.prototype.handleCursorDown=function(t){if(this.interactionsEnabled){var e=h.documentPointToSprite(t.pointer.point,this);t.event.cancelable&&this.fitsToBounds(e)&&t.event.preventDefault(),this.triggerMove(e,!0),this.triggerDown(e,!0)}},e.prototype.updatePoint=function(t){},e.prototype.handleCursorUp=function(t){if(this.interactionsEnabled){var e=h.documentPointToSprite(t.pointer.point,this);this.triggerMove(e,!0),this.triggerUp(e,!0)}else this.downPoint=void 0},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t,c.hasValue(this._chart.plotContainer)&&Object(a.b)().lockElement(this._chart.plotContainer.interactions)},enumerable:!0,configurable:!0}),e}(r.a);s.b.registeredClasses.Cursor=d},233:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return h});var n,r=i(165),a=i(0),s=i(3),o=i(10),l=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="RadarSeriesDataItem",e.setLocation("dateX",0,0),e.setLocation("dateY",0,0),e.setLocation("categoryX",0,0),e.setLocation("categoryY",0,0),e.applyTheme(),e}return l(e,t),e}(r.b),h=function(t){function e(){var e=t.call(this)||this;return e.className="RadarSeries",e.connectEnds=!0,e.applyTheme(),e}return l(e,t),e.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},e.prototype.createDataItem=function(){return new u},e.prototype.getPoint=function(t,e,i,n,r,a,o){a||(a="valueX"),o||(o="valueY");var l=this.yAxis.getX(t,i,r,o),u=this.yAxis.getY(t,i,r,o),h=s.getDistance({x:l,y:u}),c=this.xAxis.getAngle(t,e,n,a),p=this.chart.startAngle,d=this.chart.endAngle;return c<p||c>d?void 0:{x:h*s.cos(c),y:h*s.sin(c)}},e.prototype.addPoints=function(t,e,i,n,r){var a=this.getPoint(e,i,n,e.locations[i],e.locations[n]);a&&t.push(a)},e.prototype.getMaskPath=function(){var t=this.yAxis.renderer;return o.arc(t.startAngle,t.endAngle-t.startAngle,t.pixelRadius,t.pixelInnerRadius)},e.prototype.drawSegment=function(e,i,n){var r=this.yAxis.renderer;this.connectEnds&&360==Math.abs(r.endAngle-r.startAngle)&&(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)&&(i.push(i[0]),n.length>0&&n.unshift(n[n.length-1])),t.prototype.drawSegment.call(this,e,i,n)},Object.defineProperty(e.prototype,"connectEnds",{get:function(){return this.getPropertyValue("connectEnds")},set:function(t){this.setPropertyValue("connectEnds",t),this.invalidateDataRange()},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.RadarSeries=h,a.b.registeredClasses.RadarSeriesDataItem=u},234:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n,r=i(5),a=i(13),s=i(0),o=i(10),l=i(19),u=i(85),h=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),c=function(t){function e(){var e=t.call(this)||this;e.className="LineSeriesSegment",e.isMeasured=!1,e.interactionsEnabled=!1,e.layout="none";var i=e.createChild(a.a);e.fillSprite=i,i.shouldClone=!1,i.element=e.paper.add("path"),i.isMeasured=!1,e._disposers.push(i);var n=e.createChild(a.a);return e.strokeSprite=n,n.shouldClone=!1,n.element=e.paper.add("path"),n.isMeasured=!1,e._disposers.push(n),e}return h(e,t),e.prototype.drawSegment=function(t,e,i,n){if(t.length>0&&e.length>0){var r=o.moveTo(t[0])+new u.b(i,n).smooth(t);this.strokeSprite.element.attr({d:r}),(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(r+=o.lineTo(e[0])+new u.b(i,n).smooth(e),r+=o.lineTo(t[0]),r+=o.closePath(),this.fillSprite.element.attr({d:r}))}},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e);var i=this.strokeSprite;l.copyProperties(e,i.properties,a.b),i.fillOpacity=0;var n=this.fillSprite;l.copyProperties(e,n.properties,a.b),n.strokeOpacity=0},e}(r.a);s.b.registeredClasses.LineSeriesSegment=c},235:function(t,e,i){"use strict";i.d(e,"a",function(){return p});var n,r=i(164),a=i(8),s=i(0),o=i(10),l=i(3),u=i(6),h=i(2),c=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),p=function(t){function e(){var e=t.call(this)||this;return e.className="RadarCursor",e.radius=Object(a.c)(100),e.innerRadius=Object(a.c)(0),e.applyTheme(),e}return c(e,t),e.prototype.fitsToBounds=function(t){var e=l.getDistance(t);l.getAngle(t);return e<this.truePixelRadius+1&&e>this.pixelInnerRadius-1},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.triggerMoveReal=function(e,i){this.xAxis&&(!this.xAxis||this.xAxis.cursorTooltipEnabled&&!this.xAxis.tooltip.disabled)||this.updateLineX(this.point),this.yAxis&&(!this.yAxis||this.yAxis.cursorTooltipEnabled&&!this.yAxis.tooltip.disabled)||this.updateLineY(this.point),this.updateSelection(),t.prototype.triggerMoveReal.call(this,e,i)},e.prototype.updateLineX=function(t){var e=this.pixelRadius,i=this.startAngle,n=this.endAngle;if(e>0&&h.isNumber(i)&&h.isNumber(n)){var r=this.pixelInnerRadius,a=l.fitAngleToRange(l.getAngle(t),i,n),s=void 0;if(this.lineX&&this.lineX.visible){if(this.lineX.moveTo({x:0,y:0}),this.xAxis&&this.fullWidthLineX){var u=this.xAxis.currentItemStartPoint,c=this.xAxis.currentItemEndPoint;if(u&&c){var p=l.fitAngleToRange(l.getAngle(u),i,n),d=l.fitAngleToRange(l.getAngle(c),i,n)-p;i<n?d<0&&(d+=360):d>0&&(d-=360),a-=d/2,s=o.moveTo({x:r*l.cos(a),y:r*l.sin(a)})+o.lineTo({x:e*l.cos(a),y:e*l.sin(a)})+o.arcTo(a,d,e)+o.lineTo({x:r*l.cos(a+d),y:r*l.sin(a+d)})+o.arcTo(a+d,-d,r)}}s||(s=o.moveTo({x:r*l.cos(a),y:r*l.sin(a)})+o.lineTo({x:e*l.cos(a),y:e*l.sin(a)})),this.lineX.element.attr({d:s})}}},e.prototype.updateLineY=function(t){if(this.lineY&&this.lineY.visible){var e=this.startAngle,i=this.endAngle,n=this.truePixelRadius,r=l.fitToRange(l.getDistance(t),0,this.truePixelRadius);if(h.isNumber(r)&&h.isNumber(e)){this.lineY.moveTo({x:0,y:0});var a=void 0,s=i-e;if(this.yAxis&&this.fullWidthLineY){var u=this.yAxis.currentItemStartPoint,c=this.yAxis.currentItemEndPoint;if(u&&c){var p=l.fitToRange(l.getDistance(u),0,n);r=l.fitToRange(l.getDistance(c),0,n),a=o.moveTo({x:r*l.cos(e),y:r*l.sin(e)})+o.arcTo(e,s,r),a+=o.moveTo({x:p*l.cos(i),y:p*l.sin(i)})+o.arcTo(i,-s,p)}}a||(a=o.moveTo({x:r*l.cos(e),y:r*l.sin(e)})+o.arcTo(e,i-e,r)),this.lineY.element.attr({d:a})}}},e.prototype.updateSelection=function(){if(this._usesSelection){var t=this.downPoint;if(t){var e=this.point,i=this.pixelRadius,n=this.truePixelRadius,r=this.pixelInnerRadius,a=Math.min(this.startAngle,this.endAngle),s=Math.max(this.startAngle,this.endAngle),u=l.fitAngleToRange(l.getAngle(t),a,s),h=l.fitAngleToRange(l.getAngle(e),a,s),c=l.getDistance(t);if(c<n){var p=l.fitToRange(l.getDistance(e),0,n);this._prevAngle=h;var d=o.moveTo({x:0,y:0}),f=l.sin(u),y=l.cos(u),g=l.sin(h),m=l.cos(h),x=this.behavior;"zoomX"==x||"selectX"==x?d+=o.lineTo({x:i*y,y:i*f})+o.arcTo(u,h-u,i)+o.lineTo({x:r*m,y:r*g})+o.arcTo(h,u-h,r):"zoomY"==x||"selectY"==x?d=o.moveTo({x:p*l.cos(a),y:p*l.sin(a)})+o.arcTo(a,s-a,p)+o.lineTo({x:c*l.cos(s),y:c*l.sin(s)})+o.arcTo(s,a-s,c)+o.closePath():"zoomXY"==x&&(d=o.moveTo({x:p*l.cos(u),y:p*l.sin(u)})+o.arcTo(u,h-u,p)+o.lineTo({x:c*l.cos(h),y:c*l.sin(h)})+o.arcTo(h,u-h,c)+o.closePath()),this.selection.element.attr({d:d})}this.selection.moveTo({x:0,y:0})}}},e.prototype.getPositions=function(){if(this.chart){var t=this.pixelInnerRadius,e=this.truePixelRadius-t,i=this.startAngle,n=this.endAngle,r=(l.fitAngleToRange(l.getAngle(this.point),i,n)-i)/(n-i);this.xPosition=r,this.yPosition=l.fitToRange((l.getDistance(this.point)-t)/e,0,1)}},e.prototype.updatePoint=function(t){},e.prototype.handleXTooltipPosition=function(t){if(this.xAxis.cursorTooltipEnabled){var e=this.xAxis.tooltip;this.updateLineX(u.svgPointToSprite({x:e.pixelX,y:e.pixelY},this))}},e.prototype.handleYTooltipPosition=function(t){if(this.yAxis.cursorTooltipEnabled){var e=this.yAxis.tooltip;this.updateLineY(u.svgPointToSprite({x:e.pixelX,y:e.pixelY},this))}},e.prototype.updateLinePositions=function(t){},e.prototype.getRanges=function(){var t=this.downPoint;if(t){var e=this.upPoint;if(this.chart){var i=this.pixelRadius,n=this.startAngle,r=this.endAngle,a=l.fitAngleToRange(l.getAngle(t),this.startAngle,this.endAngle),s=l.fitAngleToRange(l.getAngle(e),this.startAngle,this.endAngle),o=l.fitToRange(l.getDistance(t),0,i),u=l.fitToRange(l.getDistance(e),0,i),h=0,c=1,p=0,d=1,f=this.behavior;if("zoomX"==f||"selectX"==f||"zoomXY"==f||"selectXY"==f){var y=r-n;h=l.round((a-n)/y,5),c=l.round((s-n)/y,5)}"zoomY"!=f&&"selectY"!=f&&"zoomXY"!=f&&"selectXY"!=f||(p=l.round(o/i,5),d=l.round(u/i,5)),this.xRange={start:Math.min(h,c),end:Math.max(h,c)},this.yRange={start:Math.min(p,d),end:Math.max(p,d)},"selectX"==this.behavior||"selectY"==this.behavior||"selectXY"==this.behavior||this.selection.hide()}}},e.prototype.updateSize=function(){},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return u.relativeRadiusToValue(this.radius,this.truePixelRadius)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"truePixelRadius",{get:function(){return u.relativeToValue(Object(a.c)(100),l.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPropertyValue("innerRadius",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){var t=this.innerRadius;return t instanceof a.a&&(t=Object(a.c)(100*t.value*this.chart.innerRadiusModifyer)),u.relativeRadiusToValue(t,this.truePixelRadius)||0},enumerable:!0,configurable:!0}),e.prototype.fixPoint=function(t){return t},e}(r.a);s.b.registeredClasses.RadarCursor=p},236:function(t,e,i){"use strict";i.d(e,"a",function(){return y});var n,r=i(78),a=i(102),s=i(237),o=i(16),l=i(8),u=i(0),h=i(3),c=i(10),p=i(6),d=i(2),f=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),y=function(t){function e(){var e=t.call(this)||this;return e._chart=new o.d,e.pixelRadiusReal=0,e.className="AxisRendererRadial",e.isMeasured=!1,e.startAngle=-90,e.endAngle=270,e.minGridDistance=30,e.gridType="circles",e.axisAngle=-90,e.isMeasured=!1,e.layout="none",e.radius=Object(l.c)(100),e.line.strokeOpacity=0,e.labels.template.horizontalCenter="middle",e._disposers.push(e._chart),e.applyTheme(),e}return f(e,t),e.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"axisLength",{get:function(){return this.pixelRadius-this.pixelInnerRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return p.relativeRadiusToValue(this.radius,this.pixelRadiusReal)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPropertyValue("innerRadius",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return p.relativeRadiusToValue(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.set(t,null)},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e=h.fitToRange(this.positionToCoordinate(t),0,1/0);return{x:e*h.cos(this.axisAngle),y:e*h.sin(this.axisAngle)}},e.prototype.updateAxisLine=function(){this.line.element.attr({d:c.moveTo({x:this.pixelInnerRadius*h.cos(this.axisAngle),y:this.pixelInnerRadius*h.sin(this.axisAngle)})+c.lineTo({x:this.pixelRadius*h.cos(this.axisAngle),y:this.pixelRadius*h.sin(this.axisAngle)})});var t=this.axis.title;t.valign="none",t.horizontalCenter="middle",t.verticalCenter="bottom",t.y=-this.axisLength/2;var e=90;this.opposite?this.inside||(e=-90):this.inside&&(e=-90),t.rotation=e},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n,r=this.positionToPoint(e),s=h.getDistance(r),o=this.startAngle,l=this.endAngle;if(d.isNumber(s)&&t.element){var u=this.chart,p=u.xAxes.getIndex(0),f=u.dataItems.length,y=u.series.getIndex(0);if("polygons"==this.gridType&&f>0&&y&&p&&p instanceof a.a){var g=p.renderer.grid.template.location,m=p.getAngle(y.dataItems.getIndex(0),"categoryX",g);n=c.moveTo({x:s*h.cos(m),y:s*h.sin(m)});for(var x=u.dataItems.length,v=1;v<x;v++)m=p.getAngle(y.dataItems.getIndex(v),"categoryX",g),n+=c.lineTo({x:s*h.cos(m),y:s*h.sin(m)});m=p.getAngle(y.dataItems.getIndex(x-1),"categoryX",p.renderer.cellEndLocation),n+=c.lineTo({x:s*h.cos(m),y:s*h.sin(m)})}else n=c.moveTo({x:s*h.cos(o),y:s*h.sin(o)})+c.arcTo(o,l-o,s,s);t.element.attr({d:n})}this.toggleVisibility(t,e,0,1)},e.prototype.updateLabelElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);this.positionItem(t,n),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.updateBaseGridElement=function(){},e.prototype.fitsToBounds=function(t){return!0},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t),this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t),this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisAngle",{get:function(){return this.getPropertyValue("axisAngle")},set:function(t){this.setPropertyValue("axisAngle",h.normalizeAngle(t)),this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridType",{get:function(){return this.chart.xAxes.getIndex(0)instanceof a.a?this.getPropertyValue("gridType"):"circles"},set:function(t){this.setPropertyValue("gridType",t,!0)},enumerable:!0,configurable:!0}),e.prototype.getPositionRangePath=function(t,e){var i,n=this.pixelInnerRadius,r=this.axisLength+n,s=h.fitToRange(this.positionToCoordinate(t),n,r),o=h.fitToRange(this.positionToCoordinate(e),n,r),l=this.startAngle,u=this.endAngle-l,p=this.chart,d=p.xAxes.getIndex(0),f=p.dataItems.length,y=p.series.getIndex(0);if("polygons"==this.gridType&&f>0&&y&&d&&d instanceof a.a){var g=d.renderer.grid.template.location,m=d.getAngle(y.dataItems.getIndex(0),"categoryX",g);i=c.moveTo({x:o*h.cos(m),y:o*h.sin(m)});for(var x=p.dataItems.length,v=1;v<x;v++)m=d.getAngle(y.dataItems.getIndex(v),"categoryX",g),i+=c.lineTo({x:o*h.cos(m),y:o*h.sin(m)});m=d.getAngle(y.dataItems.getIndex(x-1),"categoryX",d.renderer.cellEndLocation),i+=c.lineTo({x:o*h.cos(m),y:o*h.sin(m)}),i+=c.moveTo({x:s*h.cos(m),y:s*h.sin(m)});for(v=x-1;v>=0;v--)m=d.getAngle(y.dataItems.getIndex(v),"categoryX",g),i+=c.lineTo({x:s*h.cos(m),y:s*h.sin(m)})}else i=c.arc(l,u,o,s);return i},e.prototype.updateBreakElement=function(t){var e=t.startLine,i=t.endLine,n=t.fillShape,r=t.startPoint,a=t.endPoint;e.radius=Math.abs(r.y),i.radius=Math.abs(a.y),n.radius=Math.abs(a.y),n.innerRadius=Math.abs(r.y)},e.prototype.createBreakSprites=function(t){t.startLine=new s.a,t.endLine=new s.a,t.fillShape=new s.a},e.prototype.updateTooltip=function(){if(this.axis){var t=this.axisAngle;t<0&&(t+=360);var e="vertical";(t>45&&t<135||t>225&&t<315)&&(e="horizontal"),this.axis.updateTooltip(e,{x:-4e3,y:-4e3,width:8e3,height:8e3})}},e.prototype.updateTickElement=function(t,e){var i=this.positionToPoint(e);if(t.element){var n=h.normalizeAngle(this.axisAngle+90);n/90!=Math.round(n/90)?t.pixelPerfect=!1:t.pixelPerfect=!0;var r=-t.length;t.inside&&(r*=-1),t.element.attr({d:c.moveTo({x:0,y:0})+c.lineTo({x:r*h.cos(n),y:r*h.sin(n)})})}this.positionItem(t,i),this.toggleVisibility(t,e,0,1)},e.prototype.positionToCoordinate=function(t){var e,i=this.axis,n=i.axisFullLength,r=this.pixelInnerRadius;return e=i.renderer.inversed?(i.end-t)*n+r:(t-i.start)*n+r,h.round(e,1)},e}(r.a);u.b.registeredClasses.AxisRendererRadial=y},238:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n,r=i(5),a=i(89),s=i(239),o=i(16),l=i(8),u=i(0),h=i(9),c=i(6),p=i(2),d=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),f=function(t){function e(){var e=t.call(this)||this;e._axis=new o.d,e.className="ClockHand";var i=new h.a;e.fill=i.getFor("alternativeBackground"),e.stroke=e.fill;var n=new a.a;n.radius=5,e.pin=n,e.isMeasured=!1,e.startWidth=5,e.endWidth=1,e.width=Object(l.c)(100),e.height=Object(l.c)(100),e.radius=Object(l.c)(100),e.innerRadius=Object(l.c)(0);var r=new s.a;return e.hand=r,e._disposers.push(e._axis),e.applyTheme(),e}return d(e,t),e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.hand;e.width=this.pixelWidth;var i=Math.max(this.startWidth,this.endWidth);if(e.height=i,e.leftSide=Object(l.c)(this.startWidth/i*100),e.rightSide=Object(l.c)(this.endWidth/i*100),this.axis){var n=this.axis.renderer,r=c.relativeRadiusToValue(this.innerRadius,n.pixelRadius),a=c.relativeRadiusToValue(this.radius,n.pixelRadius);e.x=r,e.y=-i/2,e.width=a-r}},Object.defineProperty(e.prototype,"pin",{get:function(){return this._pin},set:function(t){this._pin&&this.removeDispose(this._pin),t&&(this._pin=t,t.parent=this,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hand",{get:function(){return this._hand},set:function(t){this._hand&&this.removeDispose(this._hand),t&&(this._hand=t,t.parent=this,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPropertyValue("innerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startWidth",{get:function(){return this.getPropertyValue("startWidth")},set:function(t){this.setPropertyValue("startWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endWidth",{get:function(){return this.getPropertyValue("endWidth")},set:function(t){this.setPropertyValue("endWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotationDirection",{get:function(){return this.getPropertyValue("rotationDirection")},set:function(t){this.setPropertyValue("rotationDirection",t)},enumerable:!0,configurable:!0}),e.prototype.showValue=function(t,e,i){if(this._value=t,void 0!=t&&(p.isNumber(e)||(e=0),this.axis)){var n=this.axis.renderer.positionToAngle(this.axis.anyToPosition(t)),r=this.rotation;"clockWise"==this.rotationDirection&&n<r&&(this.rotation=r-360),"counterClockWise"==this.rotationDirection&&n>r&&(this.rotation=r+360),this.animate({property:"rotation",to:n},e,i)}},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this.showValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis.get()},set:function(t){var e=this;if(this.axis!=t&&this._axis.set(t,new o.c([t.events.on("datavalidated",function(){return e.updateValue()}),t.events.on("datarangechanged",function(){return e.updateValue()}),t.events.on("valueschanged",function(){return e.updateValue()}),t.events.on("propertychanged",function(){return e.invalidate()})])),t){var i=t.chart;i&&(this.rotation=i.startAngle)}this.parent=t.renderer,this.zIndex=5},enumerable:!0,configurable:!0}),e.prototype.updateValue=function(){this.value=this.value},e.prototype.processConfig=function(e){e&&p.hasValue(e.axis)&&p.isString(e.axis)&&this.map.hasKey(e.axis)&&(e.axis=this.map.getKey(e.axis)),t.prototype.processConfig.call(this,e)},e}(r.a);u.b.registeredClasses.ClockHand=f},240:function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return f});var n,r=i(113),a=i(8),s=i(166),o=i(0),l=i(4),u=i(6),h=i(3),c=i(2),p=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),d=function(t){function e(){var e=t.call(this)||this;return e.className="PieChartDataItem",e.applyTheme(),e}return p(e,t),e}(r.b),f=function(t){function e(){var e=t.call(this)||this;e.className="PieChart",e.innerRadius=0,e.radius=Object(a.c)(80),e.align="none",e.valign="none",e.startAngle=-90,e.endAngle=270;var i=e.seriesContainer;return i.isMeasured=!0,i.valign="middle",i.align="center",i.layout="absolute",i.width=void 0,i.height=void 0,e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.chartContainer.events.on("maxsizechanged",function(){e.invalidate()}),e.applyTheme(),e}return p(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),c.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pie chart"))},e.prototype.validate=function(){t.prototype.validate.call(this),this.updateRadius()},e.prototype.validateData=function(){t.prototype.validateData.call(this),this.feedLegend()},e.prototype.updateRadius=function(){var t=this,e=this.chartContainer,i=h.getArcRect(this.startAngle,this.endAngle,1),n={x:0,y:0,width:0,height:0},r=this.innerRadius;r instanceof a.a&&(n=h.getArcRect(this.startAngle,this.endAngle,r.value)),i=h.getCommonRectangle([i,n]);var s=Math.min(e.innerWidth/i.width,e.innerHeight/i.height),o=u.relativeRadiusToValue(this.radius,s),c=u.relativeRadiusToValue(this.innerRadius,s),p=(o-c)/this.series.length;l.each(l.indexed(this.series.iterator()),function(e){var i=e[0],n=e[1];n.radius=c+p*(i+1),n.innerRadius=c+p*i,n.startAngle=t.startAngle,n.endAngle=t.endAngle})},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];l.each(this.series.iterator(),function(i){l.each(i.dataItems.iterator(),function(n){e.push(n);var r=i.legendSettings;r&&(r.labelText&&(t.labels.template.text=r.labelText),r.itemLabelText&&(t.labels.template.text=r.itemLabelText),r.valueText&&(t.valueLabels.template.text=r.valueText),r.itemValueText&&(t.valueLabels.template.text=r.itemValueText))})}),t.data=e,t.dataFields.name="category",t.itemContainers.template.propertyFields.disabled="hiddenInLegend"}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPropertyValue("innerRadius",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new s.a},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setLegend=function(e){t.prototype.setLegend.call(this,e),e&&(e.labels.template.text="{category}",e.valueLabels.template.text="{value.percent.formatNumber('#.0')}%",e.itemContainers.template.events.on("over",function(t){var e=t.target.dataItem.dataContext;e.visible&&!e.isHiding&&(e.slice.isHover=!0)}),e.itemContainers.template.events.on("out",function(t){t.target.dataItem.dataContext.slice.isHover=!1}))},e}(r.a);o.b.registeredClasses.PieChart=f,o.b.registeredClasses.PieChartDataItem=d},241:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n,r=i(160),a=i(16),s=i(0),o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=function(t){function e(){var e=t.call(this)||this;return e._label=new a.d,e._slice=new a.d,e.className="PieTick",e.element=e.paper.add("polyline"),e._disposers.push(e._label),e._disposers.push(e._slice),e.applyTheme(),e}return o(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.slice,i=this.label,n=e.dataItem.component;if(e&&e.radius>0&&i&&i.text){var r=e.dx+e.slice.dx+e.pixelX+e.ix*e.radius*e.scale,a=e.dy+e.slice.dy+e.pixelY+e.iy*e.radius*e.scale,s=void 0,o=void 0,l=void 0,u=void 0;n.alignLabels?(s=i.pixelX-this.length,o=i.pixelY,l=i.pixelX,u=o,"right"==i.horizontalCenter&&(l=(s+=2*this.length)-this.length)):(l=s=r+i.radius*e.ix,u=o=a+i.radius*e.iy),this.element.attr({points:[r,a,s,o,l,u]})}},Object.defineProperty(e.prototype,"slice",{get:function(){return this._slice.get()},set:function(t){this._slice.set(t,new a.c([t.events.on("transformed",this.invalidate,this),t.events.on("validated",this.invalidate,this)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label.get()},set:function(t){this._label.set(t,t.events.on("transformed",this.invalidate,this))},enumerable:!0,configurable:!0}),e}(r.a);s.b.registeredClasses.PieTick=l},242:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return h});var n,r=i(166),a=i(243),s=i(0),o=i(2),l=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries3DDataItem",e.values.depthValue={},e.applyTheme(),e}return l(e,t),Object.defineProperty(e.prototype,"depthValue",{get:function(){return this.values.depthValue.value},set:function(t){this.setValue("depthValue",t)},enumerable:!0,configurable:!0}),e}(r.b),h=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries3D",e.applyTheme(),e}return l(e,t),e.prototype.createDataItem=function(){return new u},e.prototype.initSlice=function(e){return t.prototype.initSlice.call(this,a.a)},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e);var i=e.slice,n=this.depth;o.isNumber(n)||(n=this.chart.depth);var r=e.values.depthValue.percent;o.isNumber(r)||(r=100),i.depth=r*n/100;var a=this.angle;o.isNumber(a)||(a=this.chart.angle),i.angle=a},e.prototype.validate=function(){t.prototype.validate.call(this);for(var e=this._workingStartIndex;e<this._workingEndIndex;e++){var i=this.dataItems.getIndex(e).slice,n=i.startAngle;n>=-90&&n<90?i.toFront():n>=90&&i.toBack()}},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t)},enumerable:!0,configurable:!0}),e}(r.a);s.b.registeredClasses.PieSeries3D=h,s.b.registeredClasses.PieSeries3DDataItem=u},249:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n,r=i(124),a=i(111),s=i(0),o=i(90),l=i(4),u=i(3),h=i(2),c=i(88),p=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),d=function(t){function e(){var e=t.call(this)||this;return e.className="ChordNode",e.label=e.createChild(a.a),e.label.location=.5,e.label.radius=5,e.label.text="{name}",e.label.zIndex=1,e.label.shouldClone=!1,e.events.on("positionchanged",e.updateRotation,e),e.background.fillOpacity=0,e.slice=e.createChild(o.a),e}return p(e,t),e.prototype.invalidateLinks=function(){var e=this;t.prototype.invalidateLinks.call(this);var i=this.label,n=this.slice,r=this.chart;if(r&&n){var a=0;this._outgoingSorted&&l.each(this._outgoingSorted,function(t){a+=t.getWorkingValue("value")}),this._incomingSorted&&l.each(this._incomingSorted,function(t){a+=t.getWorkingValue("value")});var s=n.arc;this.children.each(function(t){if(t instanceof c.a){var e=t.locationX;h.isNumber(e)||(e=.5);var i=t.locationY;h.isNumber(i)||(i=1);var r=n.startAngle+s*e,a=i*n.radius;t.x=a*u.cos(r),t.y=a*u.sin(r)}});var o=n.startAngle+s*i.location,p=n.startAngle+(1-a/this.value)*s*.5,d={x:(n.radius+i.radius)*u.cos(o),y:(n.radius+i.radius)*u.sin(o)};i.moveTo(d),i.fixPoint(d,n.radius),this.nextAngle=p,this._outgoingSorted&&l.each(this._outgoingSorted,function(t){var i=t.link;i.parent=e.chart.linksContainer;var a=t.getWorkingValue("value");if(r.nonRibbon){var o=i.percentWidth;h.isNumber(o)||(o=5),o/=100,i.startAngle=n.startAngle+s/2-s/2*o,i.arc=s*o}else i.arc=a*r.valueAngle,i.startAngle=e.nextAngle,e.nextAngle+=i.arc;t.toNode||(i.endAngle=i.startAngle),i.radius=n.innerRadius,i.validate()}),this._incomingSorted&&l.each(this._incomingSorted,function(t){var i=t.link;if(i.radius=n.innerRadius,r.nonRibbon){var a=i.percentWidth;h.isNumber(a)||(a=5),a/=100,i.endAngle=n.startAngle+s/2-s/2*a,i.arc=s*a}else i.endAngle=e.nextAngle,i.arc=t.getWorkingValue("value")*r.valueAngle,e.nextAngle+=i.arc;t.fromNode||(i.startAngle=i.endAngle),i.validate()})}},e.prototype.updateRotation=function(){var t=this.trueStartAngle+this.slice.arc/2,e=this.slice.radius*u.cos(t),i=this.slice.radius*u.sin(t),n=u.getAngle({x:e+this.pixelX,y:i+this.pixelY});this.slice.startAngle=this.trueStartAngle+(n-t),this.dx=-this.pixelX,this.dy=-this.pixelY},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label),this.slice.copyFrom(e.slice)},e}(r.a);s.b.registeredClasses.ChordNode=d},250:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n,r=i(125),a=i(0),s=i(316),o=i(3),l=i(10),u=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),h=function(t){function e(){var e=t.call(this)||this;return e.className="ChordLink",e.middleLine=e.createChild(s.a),e.middleLine.shouldClone=!1,e.middleLine.strokeOpacity=0,e.applyTheme(),e}return u(e,t),e.prototype.validate=function(){if(t.prototype.validate.call(this),!this.isTemplate){var e=this.startAngle,i=this.endAngle,n=this.arc,r=this.radius,a=this.dataItem.fromNode,s=this.dataItem.toNode,u=0,h=0;a&&(u=a.pixelX+a.dx,h=a.pixelY+a.dy);var c=0,p=0;if(s&&(c=s.pixelX+s.dx,p=s.pixelY+s.dy),r>0){var d=r*o.cos(e)+u,f=r*o.sin(e)+h,y=r*o.cos(i)+c,g=r*o.sin(i)+p,m=(o.cos(i+n),o.sin(i+n),o.cos(e+n),o.sin(e+n),{x:0,y:0}),x=l.moveTo({x:d,y:f});x+=l.arcTo(e,n,r),x+=l.quadraticCurveTo({x:y,y:g},m),x+=l.arcTo(i,n,r),x+=l.quadraticCurveTo({x:d,y:f},m),this.link.element.attr({d:x}),this.maskBullets&&(this.bulletsMask.element.attr({d:x}),this.bulletsContainer.mask=this.bulletsMask),this.positionBullets();var v=e+n/2,b=i+n/2,_=this.middleLine;_.x1=r*o.cos(v)+u,_.y1=r*o.sin(v)+h,_.x2=r*o.cos(b)+c,_.y2=r*o.sin(b)+p,_.cpx=0,_.cpy=0,_.stroke=this.fill}}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){this.setPropertyValue("arc",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.ChordLink=h},251:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return h});var n,r=i(91),a=i(0),s=i(9),o=i(2),l=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="TreeMapSeriesDataItem",e.applyTheme(),e}return l(e,t),Object.defineProperty(e.prototype,"parentName",{get:function(){var t=this.treeMapDataItem;if(t&&t.parent)return t.parent.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.treeMapDataItem.value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"treeMapDataItem",{get:function(){return this._dataContext},enumerable:!0,configurable:!0}),e}(r.b),h=function(t){function e(){var e=t.call(this)||this;e.className="TreeMapSeries",e.applyTheme(),e.fillOpacity=1,e.strokeOpacity=1,e.minBulletDistance=0,e.columns.template.tooltipText="{parentName} {name}: {value}",e.columns.template.configField="config";var i=new s.a;return e.stroke=i.getFor("stroke"),e.dataFields.openValueX="x0",e.dataFields.valueX="x1",e.dataFields.openValueY="y0",e.dataFields.valueY="y1",e.sequencedInterpolation=!1,e.columns.template.pixelPerfect=!1,e}return l(e,t),e.prototype.processDataItem=function(e,i){i.seriesDataItem=e,t.prototype.processDataItem.call(this,e,i)},e.prototype.createDataItem=function(){return new u},e.prototype.show=function(t){return this.showReal(t)},e.prototype.hide=function(t){return this.hideReal(t)},e.prototype.processValues=function(){},e.prototype.processConfig=function(e){e&&(o.hasValue(e.dataFields)&&o.isObject(e.dataFields)||(e.dataFields={})),t.prototype.processConfig.call(this,e)},e}(r.a);a.b.registeredClasses.TreeMapSeries=h,a.b.registeredClasses.TreeMapSeriesDataItem=u},252:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n,r=i(112),a=i(16),s=i(0),o=i(10),l=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e._chart=new a.d,e.className="AxisRendererX3D",e._disposers.push(e._chart),e.applyTheme(),e}return l(e,t),e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);if(t.element){var r=this.chart.dx3D,a=this.chart.dy3D,s=this.getHeight();t.element.attr({d:o.moveTo({x:r,y:a})+o.lineTo({x:r,y:s+a})+o.lineTo({x:0,y:s})})}this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.getHeight(),i=this.chart.dx3D,n=this.chart.dy3D;this.baseGrid.element.attr({d:o.moveTo({x:i,y:n})+o.lineTo({x:i,y:e+n})+o.lineTo({x:0,y:e})})},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){t&&this._chart.set(t,t.events.on("propertychanged",this.handle3DChanged,this))},enumerable:!0,configurable:!0}),e.prototype.handle3DChanged=function(t){"depth"!=t.property&&"angle"!=t.property||this.invalidate()},e}(r.a);s.b.registeredClasses.AxisRendererX3D=u},253:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n,r=i(78),a=i(16),s=i(10),o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=function(t){function e(){var e=t.call(this)||this;return e._chart=new a.d,e.className="AxisRendererY3D",e._disposers.push(e._chart),e.applyTheme(),e}return o(e,t),e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);if(t.element){var r=this.chart.dx3D,a=this.chart.dy3D,o=this.getWidth();t.element.attr({d:s.moveTo({x:0,y:0})+s.lineTo({x:r,y:a})+s.lineTo({x:o+r,y:a})})}this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.getWidth();this.baseGrid.element.attr({d:s.moveTo({x:0,y:0})+s.lineTo({x:e,y:0})+s.lineTo({x:e+this.chart.dx3D,y:this.chart.dy3D})})},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){t&&this._chart.set(t,t.events.on("propertychanged",this.handle3DChanged,this))},enumerable:!0,configurable:!0}),e.prototype.handle3DChanged=function(t){"depth"!=t.property&&"angle"!=t.property||this.invalidate()},e}(r.a)},254:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return h});var n,r=i(91),a=i(255),s=i(0),o=i(10),l=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeries3DDataItem",e.applyTheme(),e}return l(e,t),e}(r.b),h=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeries3D",e.applyTheme(),e}return l(e,t),Object.defineProperty(e.prototype,"columnsContainer",{get:function(){return this.chart&&this.chart.columnsContainer?this.chart.columnsContainer:this._columnsContainer},enumerable:!0,configurable:!0}),e.prototype.createColumnTemplate=function(){return new a.a},e.prototype.getMaskPath=function(){var t=this.xAxis.axisLength,e=this.yAxis.axisLength,i=this.chart.dx3D||0,n=this.chart.dy3D||0;return o.moveTo({x:0,y:0})+o.lineTo({x:i,y:n})+o.lineTo({x:t+i,y:n})+o.lineTo({x:t+i,y:e+n})+o.lineTo({x:t,y:e})+o.lineTo({x:t,y:e})+o.lineTo({x:0,y:e})+o.closePath()},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0),this.columns.template.column3D.depth=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t),this.columns.template.column3D.angle=t},enumerable:!0,configurable:!0}),e}(r.a);s.b.registeredClasses.ColumnSeries3D=h,s.b.registeredClasses.ColumnSeries3DDataItem=u},255:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n,r=i(92),a=i(256),s=i(0),o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=function(t){function e(){var e=t.call(this)||this;return e.className="Column3D",e}return o(e,t),e.prototype.createAssets=function(){this.column3D=this.createChild(a.a),this.column3D.shouldClone=!1,this.column3D.strokeOpacity=0,this.column=this.column3D},e.prototype.validate=function(){t.prototype.validate.call(this),this.column3D&&(this.column3D.width=this.pixelWidth,this.column3D.height=this.pixelHeight)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.column3D&&this.column3D.copyFrom(e.column3D)},e}(r.a);s.b.registeredClasses.Column3D=l},258:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n,r=i(92),a=i(84),s=i(0),o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=function(t){function e(){var e=t.call(this)||this;return e.className="Candlestick",e.layout="none",e}return o(e,t),e.prototype.createAssets=function(){t.prototype.createAssets.call(this),this.lowLine=this.createChild(a.a),this.lowLine.shouldClone=!1,this.highLine=this.createChild(a.a),this.highLine.shouldClone=!1},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.lowLine&&this.lowLine.copyFrom(e.lowLine),this.highLine&&this.highLine.copyFrom(e.highLine)},e}(r.a);s.b.registeredClasses.Candlestick=l},259:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n,r=i(92),a=i(90),s=i(0),o=i(2),l=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="RadarColumn",e}return l(e,t),e.prototype.createAssets=function(){this.radarColumn=this.createChild(a.a),this.radarColumn.shouldClone=!1,this.radarColumn.strokeOpacity=void 0,this.column=this.radarColumn},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.radarColumn&&this.radarColumn.copyFrom(e.radarColumn)},e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");return o.isNumber(t)||(t=this.radarColumn.tooltipX),t},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipX");return o.isNumber(t)||(t=this.radarColumn.tooltipY),t},e}(r.a);s.b.registeredClasses.RadarColumn=u},260:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n,r=i(92),a=i(261),s=i(0),o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=function(t){function e(){var e=t.call(this)||this;return e.className="ConeColumn",e}return o(e,t),e.prototype.createAssets=function(){this.coneColumn=this.createChild(a.a),this.coneColumn.shouldClone=!1,this.column=this.coneColumn},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.coneColumn&&this.coneColumn.copyFrom(e.coneColumn)},e}(r.a);s.b.registeredClasses.ConeColumn=l},307:function(t,e,i){t.exports=i(308)},308:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(309);window.am4charts=n},309:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(310);i.d(e,"GaugeChartDataItem",function(){return n.b}),i.d(e,"GaugeChart",function(){return n.a});var r=i(206);i.d(e,"RadarChartDataItem",function(){return r.b}),i.d(e,"RadarChart",function(){return r.a});var a=i(98);i.d(e,"XYChartDataItem",function(){return a.b}),i.d(e,"XYChart",function(){return a.a});var s=i(113);i.d(e,"SerialChartDataItem",function(){return s.b}),i.d(e,"SerialChart",function(){return s.a});var o=i(314);i.d(e,"PieChart3DDataItem",function(){return o.b}),i.d(e,"PieChart3D",function(){return o.a});var l=i(240);i.d(e,"PieChartDataItem",function(){return l.b}),i.d(e,"PieChart",function(){return l.a});var u=i(168);i.d(e,"FlowDiagramDataItem",function(){return u.b}),i.d(e,"FlowDiagram",function(){return u.a});var h=i(245);i.d(e,"SankeyDiagramDataItem",function(){return h.b}),i.d(e,"SankeyDiagram",function(){return h.a});var c=i(315);i.d(e,"ChordDiagramDataItem",function(){return c.b}),i.d(e,"ChordDiagram",function(){return c.a});var p=i(317);i.d(e,"TreeMapDataItem",function(){return p.b}),i.d(e,"TreeMap",function(){return p.a});var d=i(318);i.d(e,"XYChart3DDataItem",function(){return d.b}),i.d(e,"XYChart3D",function(){return d.a});var f=i(146);i.d(e,"ChartDataItem",function(){return f.b}),i.d(e,"Chart",function(){return f.a});var y=i(150);i.d(e,"LegendDataItem",function(){return y.b}),i.d(e,"Legend",function(){return y.a}),i.d(e,"LegendSettings",function(){return y.c});var g=i(257);i.d(e,"HeatLegend",function(){return g.a});var m=i(86);i.d(e,"SeriesDataItem",function(){return m.b}),i.d(e,"Series",function(){return m.a});var x=i(123);i.d(e,"XYSeriesDataItem",function(){return x.b}),i.d(e,"XYSeries",function(){return x.a});var v=i(165);i.d(e,"LineSeriesDataItem",function(){return v.b}),i.d(e,"LineSeries",function(){return v.a});var b=i(234);i.d(e,"LineSeriesSegment",function(){return b.a});var _=i(319);i.d(e,"CandlestickSeriesDataItem",function(){return _.b}),i.d(e,"CandlestickSeries",function(){return _.a});var A=i(91);i.d(e,"ColumnSeriesDataItem",function(){return A.b}),i.d(e,"ColumnSeries",function(){return A.a});var P=i(320);i.d(e,"StepLineSeriesDataItem",function(){return P.b}),i.d(e,"StepLineSeries",function(){return P.a});var C=i(233);i.d(e,"RadarSeriesDataItem",function(){return C.b}),i.d(e,"RadarSeries",function(){return C.a});var O=i(321);i.d(e,"RadarColumnSeriesDataItem",function(){return O.b}),i.d(e,"RadarColumnSeries",function(){return O.a});var D=i(166);i.d(e,"PieSeriesDataItem",function(){return D.b}),i.d(e,"PieSeries",function(){return D.a});var I=i(241);i.d(e,"PieTick",function(){return I.a});var T=i(242);i.d(e,"PieSeries3DDataItem",function(){return T.b}),i.d(e,"PieSeries3D",function(){return T.a});var V=i(251);i.d(e,"TreeMapSeriesDataItem",function(){return V.b}),i.d(e,"TreeMapSeries",function(){return V.a});var R=i(254);i.d(e,"ColumnSeries3DDataItem",function(){return R.b}),i.d(e,"ColumnSeries3D",function(){return R.a});var w=i(322);i.d(e,"ConeSeriesDataItem",function(){return w.b}),i.d(e,"ConeSeries",function(){return w.a});var S=i(121);i.d(e,"AxisDataItem",function(){return S.b}),i.d(e,"Axis",function(){return S.a});var F=i(148);i.d(e,"Grid",function(){return F.a});var j=i(224);i.d(e,"AxisTick",function(){return j.a});var k=i(149);i.d(e,"AxisLabel",function(){return k.a});var X=i(223);i.d(e,"AxisLine",function(){return X.a});var Y=i(147);i.d(e,"AxisFill",function(){return Y.a});var L=i(110);i.d(e,"AxisRenderer",function(){return L.a});var N=i(122);i.d(e,"AxisBreak",function(){return N.a});var M=i(65);i.d(e,"ValueAxisDataItem",function(){return M.b}),i.d(e,"ValueAxis",function(){return M.a});var B=i(102);i.d(e,"CategoryAxisDataItem",function(){return B.b}),i.d(e,"CategoryAxis",function(){return B.a});var E=i(228);i.d(e,"CategoryAxisBreak",function(){return E.a});var z=i(163);i.d(e,"DateAxisDataItem",function(){return z.b}),i.d(e,"DateAxis",function(){return z.a});var U=i(229);i.d(e,"DateAxisBreak",function(){return U.a});var W=i(162);i.d(e,"ValueAxisBreak",function(){return W.a});var K=i(112);i.d(e,"AxisRendererX",function(){return K.a});var H=i(78);i.d(e,"AxisRendererY",function(){return H.a});var G=i(236);i.d(e,"AxisRendererRadial",function(){return G.a});var Z=i(111);i.d(e,"AxisLabelCircular",function(){return Z.a});var q=i(202);i.d(e,"AxisRendererCircular",function(){return q.a});var Q=i(203);i.d(e,"AxisFillCircular",function(){return Q.a});var J=i(204);i.d(e,"GridCircular",function(){return J.a});var $=i(252);i.d(e,"AxisRendererX3D",function(){return $.a});var tt=i(253);i.d(e,"AxisRendererY3D",function(){return tt.a});var et=i(160);i.d(e,"Tick",function(){return et.a});var it=i(88);i.d(e,"Bullet",function(){return it.a});var nt=i(247);i.d(e,"LabelBullet",function(){return nt.a});var rt=i(323);i.d(e,"CircleBullet",function(){return rt.a});var at=i(324);i.d(e,"XYChartScrollbar",function(){return at.a});var st=i(238);i.d(e,"ClockHand",function(){return st.a});var ot=i(124);i.d(e,"FlowDiagramNode",function(){return ot.a});var lt=i(125);i.d(e,"FlowDiagramLink",function(){return lt.a});var ut=i(246);i.d(e,"SankeyNode",function(){return ut.a});var ht=i(248);i.d(e,"SankeyLink",function(){return ht.a});var ct=i(249);i.d(e,"ChordNode",function(){return ct.a});var pt=i(250);i.d(e,"ChordLink",function(){return pt.a});var dt=i(325);i.d(e,"NavigationBarDataItem",function(){return dt.b}),i.d(e,"NavigationBar",function(){return dt.a});var ft=i(92);i.d(e,"Column",function(){return ft.a});var yt=i(258);i.d(e,"Candlestick",function(){return yt.a});var gt=i(259);i.d(e,"RadarColumn",function(){return gt.a});var mt=i(255);i.d(e,"Column3D",function(){return mt.a});var xt=i(260);i.d(e,"ConeColumn",function(){return xt.a});var vt=i(164);i.d(e,"XYCursor",function(){return vt.a});var bt=i(231);i.d(e,"Cursor",function(){return bt.a});var _t=i(235);i.d(e,"RadarCursor",function(){return _t.a})},310:function(t,e,i){"use strict";i.d(e,"b",function(){return h}),i.d(e,"a",function(){return c});var n,r=i(206),a=i(7),s=i(238),o=i(0),l=i(2),u=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),h=function(t){function e(){var e=t.call(this)||this;return e.className="GaugeChartDataItem",e.applyTheme(),e}return u(e,t),e}(r.b),c=function(t){function e(){var e=t.call(this)||this;return e.className="GaugeChart",e.startAngle=180,e.endAngle=360,e.hands=new a.e(new s.a),e.hands.events.on("inserted",e.processHand,e),e._disposers.push(new a.c(e.hands)),e._disposers.push(e.hands.template),e.applyTheme(),e}return u(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),l.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Gauge chart"))},e.prototype.processHand=function(t){var e=t.newValue;e.axis||(e.axis=this.xAxes.getIndex(0))},e}(r.a);o.b.registeredClasses.GaugeChart=c},314:function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"a",function(){return u});var n,r=i(240),a=i(242),s=i(0),o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=function(t){function e(){var e=t.call(this)||this;return e.className="PieChart3DDataItem",e.applyTheme(),e}return o(e,t),e}(r.b),u=function(t){function e(){var e=t.call(this)||this;return e.className="PieChart3D",e.depth=20,e.angle=10,e.applyTheme(),e}return o(e,t),Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new a.a},e}(r.a);s.b.registeredClasses.PieChart3D=u},315:function(t,e,i){"use strict";i.d(e,"b",function(){return y}),i.d(e,"a",function(){return g});var n,r=i(168),a=i(8),s=i(5),o=i(0),l=i(249),u=i(250),h=i(4),c=i(3),p=i(2),d=i(6),f=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),y=function(t){function e(){var e=t.call(this)||this;return e.className="ChordDiagramDataItem",e.applyTheme(),e}return f(e,t),e}(r.b),g=function(t){function e(){var e=t.call(this)||this;e.valueAngle=0,e.className="ChordDiagram",e.startAngle=-90,e.endAngle=270,e.radius=Object(a.c)(80),e.innerRadius=-15,e.nodePadding=5;var i=e.chartContainer.createChild(s.a);return i.align="center",i.valign="middle",i.shouldClone=!1,e.chordContainer=i,e.nodesContainer.parent=i,e.linksContainer.parent=i,e.applyTheme(),e}return f(e,t),e.prototype.getNodeValue=function(t){var e=0;h.each(t.incomingDataItems.iterator(),function(t){e+=t.getWorkingValue("value")}),h.each(t.outgoingDataItems.iterator(),function(t){e+=t.getWorkingValue("value")}),t.value=e,this.fixMin(t)},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this);var i=this.chartContainer,n=this.nodesContainer,r=d.relativeRadiusToValue(this.radius,c.min(i.innerWidth,i.innerHeight))/2,a=d.relativeRadiusToValue(this.innerRadius,r,!0),s=this.endAngle,o=this.startAngle+this.nodePadding/2,l=c.getArcRect(this.startAngle,this.endAngle,1),u=0,p=0;h.each(this._sorted,function(t){var i=t[1];e.getNodeValue(i),u+=i.value,p++}),this.valueAngle=(s-this.startAngle-this.nodePadding*p)/u,h.each(this._sorted,function(t){var i,l=t[1],u=l.slice;l.parent=n,u.radius=r,u.innerRadius=a,i=e.nonRibbon?(s-e.startAngle)/p-e.nodePadding:e.valueAngle*l.value,u.arc=i,u.startAngle=o,l.trueStartAngle=o,l.invalidate(),o+=i+e.nodePadding}),this.chordContainer.definedBBox={x:r*l.x,y:r*l.y,width:r*l.width,height:r*l.height},this.chordContainer.invalidateLayout()},e.prototype.appear=function(){t.prototype.appear.call(this)},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),p.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Chord diagram"))},e.prototype.createDataItem=function(){return new y},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPropertyValue("innerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonRibbon",{get:function(){return this.getPropertyValue("nonRibbon")},set:function(t){this.setPropertyValue("nonRibbon",t,!0),this.links.template.middleLine.strokeOpacity=1,this.links.template.link.fillOpacity=0},enumerable:!0,configurable:!0}),e.prototype.createNode=function(){var t=new l.a;return this._disposers.push(t),t},e.prototype.createLink=function(){var t=new u.a;return this._disposers.push(t),t},e}(r.a);o.b.registeredClasses.ChordDiagram=g},316:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n,r=i(84),a=i(18),s=i(10),o=i(3),l=i(2),u=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),h=function(t){function e(){var e=t.call(this)||this;return e.className="QuadraticCurve",e.element=e.paper.add("path"),e.pixelPerfect=!1,e.fill=Object(a.c)(),e.applyTheme(),e}return u(e,t),e.prototype.draw=function(){if(l.isNumber(this.x1+this.x2+this.y1+this.y2+this.cpx+this.cpy)){var t={x:this.x1,y:this.y1},e={x:this.x2,y:this.y2},i={x:this.cpx,y:this.cpy},n=s.moveTo(t)+s.quadraticCurveTo(e,i);this.element.attr({d:n})}},Object.defineProperty(e.prototype,"cpx",{get:function(){return this.getPropertyValue("cpx")},set:function(t){this.setPropertyValue("cpx",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cpy",{get:function(){return this.getPropertyValue("cpy")},set:function(t){this.setPropertyValue("cpy",t,!0)},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e={x:this.x1,y:this.y1},i={x:this.cpx,y:this.cpy},n={x:this.x2,y:this.y2},r=o.getPointOnQuadraticCurve(e,n,i,t),a=o.getPointOnQuadraticCurve(e,n,i,t+.001);return{x:r.x,y:r.y,angle:o.getAngle(r,a)}},e}(r.a)},317:function(t,e,i){"use strict";i.d(e,"b",function(){return y}),i.d(e,"a",function(){return g});var n,r=i(98),a=i(0),s=i(25),o=i(65),l=i(251),u=i(64),h=i(83),c=i(4),p=i(2),d=i(14),f=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),y=function(t){function e(){var e=t.call(this)||this;return e.rows=[],e.className="TreeMapDataItem",e.values.value={},e.values.x0={},e.values.y0={},e.values.x1={},e.values.y1={},e.hasChildren.children=!0,e.applyTheme(),e}return f(e,t),Object.defineProperty(e.prototype,"value",{get:function(){var t=this.values.value.value;return p.isNumber(t)||(t=0,this.children&&c.each(this.children.iterator(),function(e){p.isNumber(e.value)&&(t+=e.value)})),t},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x0",{get:function(){return this.values.x0.value},set:function(t){this.setValue("x0",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x1",{get:function(){return this.values.x1.value},set:function(t){this.setValue("x1",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y0",{get:function(){return this.values.y0.value},set:function(t){this.setValue("y0",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y1",{get:function(){return this.values.y1.value},set:function(t){this.setValue("y1",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.properties.name},set:function(t){this.setProperty("name",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.properties.children},set:function(t){this.setProperty("children",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"level",{get:function(){return this.parent?this.parent.level+1:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){var t=this.properties.color;return void 0==t&&this.parent&&(t=this.parent.color),void 0==t&&this.component&&(t=this.component.colors.getIndex(this.component.colors.step*this.index)),t},set:function(t){this.setProperty("color",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"series",{get:function(){return this._series},set:function(t){this._series&&(this.component.series.removeValue(this._series),this._series.dispose()),this._series=t,this._disposers.push(t)},enumerable:!0,configurable:!0}),e}(r.b),g=function(t){function e(){var e=t.call(this)||this;e.layoutAlgorithm=e.squarify,e.zoomable=!0,e.className="TreeMap",e.maxLevels=2,e.currentLevel=0,e.homeText=e.language.translate("Home"),e.colors=new u.a,e.sorting="descending";var i=e.xAxes.push(new o.a);i.title.disabled=!0,i.strictMinMax=!0;var n=i.renderer;n.inside=!0,n.labels.template.disabled=!0,n.ticks.template.disabled=!0,n.grid.template.disabled=!0,n.axisFills.template.disabled=!0,n.minGridDistance=100,n.line.disabled=!0,n.baseGrid.disabled=!0;var r=e.yAxes.push(new o.a);r.title.disabled=!0,r.strictMinMax=!0;var a=r.renderer;a.inside=!0,a.labels.template.disabled=!0,a.ticks.template.disabled=!0,a.grid.template.disabled=!0,a.axisFills.template.disabled=!0,a.minGridDistance=100,a.line.disabled=!0,a.baseGrid.disabled=!0,a.inversed=!0,e.xAxis=i,e.yAxis=r;var h=new l.a;return e.seriesTemplates=new s.c(h),e._disposers.push(new s.b(e.seriesTemplates)),e._disposers.push(h),e.zoomOutButton.events.on("hit",function(){e.zoomToChartDataItem(e._homeDataItem)}),e.seriesTemplates.events.on("insertKey",function(t){t.newValue.isTemplate=!0}),e.applyTheme(),e}return f(e,t),Object.defineProperty(e.prototype,"navigationBar",{get:function(){return this._navigationBar},set:function(t){var e=this;this._navigationBar!=t&&(this._navigationBar=t,t.parent=this,t.toBack(),t.links.template.events.on("hit",function(t){var i=t.target.dataItem.dataContext;e.zoomToChartDataItem(i),e.createTreeSeries(i)}),this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.validateData=function(){var e=this;this.series.clear(),t.prototype.validateData.call(this),this._homeDataItem&&this._homeDataItem.dispose();var i=this.dataItems.template.clone();this._homeDataItem=i,c.each(this.dataItems.iterator(),function(t){t.parent=i}),i.children=this.dataItems,i.x0=0,i.y0=0,i.name=this._homeText;var n=1e3*this.pixelHeight/this.pixelWidth;i.x1=1e3,i.y1=n,this.xAxis.min=0,this.xAxis.max=1e3,this.yAxis.min=0,this.yAxis.max=n,this.layoutItems(i),this.createTreeSeries(i),a.b.events.once("exitframe",function(){e.toggleBullets(0)})},e.prototype.layoutItems=function(t,e){if(t){var i=t.children;e||(e=this.sorting),"ascending"==e&&i.values.sort(function(t,e){return t.value-e.value}),"descending"==e&&i.values.sort(function(t,e){return e.value-t.value}),this.layoutAlgorithm(t);for(var n=0;n<i.length;n++){var r=i.getIndex(n);r.children&&this.layoutItems(r)}}},e.prototype.createTreeSeries=function(t){var e=this;this._tempSeries=[];for(var i=[t],n=t.parent;void 0!=n;)this.initSeries(n),i.push(n),n=n.parent;i.reverse(),this.navigationBar&&(this.navigationBar.data=i),this.createTreeSeriesReal(t),d.c(this._tempSeries,function(t){-1==e.series.indexOf(t)&&e.series.push(t),t.zIndex=t.level})},e.prototype.createTreeSeriesReal=function(t){if(t.children&&t.level<this.currentLevel+this.maxLevels){this.initSeries(t);for(var e=0;e<t.children.length;e++){var i=t.children.getIndex(e);i.children&&this.createTreeSeriesReal(i)}}},e.prototype.seriesAppeared=function(){return!0},e.prototype.initSeries=function(t){var e=this;if(!t.series){var i=void 0,n=this.seriesTemplates.getKey(t.level.toString());i=n?n.clone():this.series.create(),t.series=i;var r=t.level;i.level=r;var a=t.dataContext;a&&(i.config=a.config),this.dataUsers.removeValue(i),i.data=t.children.values,i.columns.template.adapter.add("fill",function(t,e){var i=e.dataItem;if(i){var n=i.treeMapDataItem;if(n)return e.fill=n.color,e.adapter.remove("fill"),n.color}}),this.zoomable&&(t.level>this.currentLevel||t.children&&t.children.length>0)&&(i.columns.template.cursorOverStyle=h.a.pointer,this.zoomable&&i.columns.template.events.on("hit",function(i){var n=i.target.dataItem;t.level>e.currentLevel?e.zoomToChartDataItem(n.treeMapDataItem.parent):e.zoomToSeriesDataItem(n)},this))}this._tempSeries.push(t.series)},e.prototype.toggleBullets=function(t){var e=this;c.each(this.series.iterator(),function(i){-1==e._tempSeries.indexOf(i)?i.hide():(i.show(),i.level>e.currentLevel+e.maxLevels-1?i.bulletsContainer.hide(t):i.bulletsContainer.show(t))})},e.prototype.zoomToSeriesDataItem=function(t){this.zoomToChartDataItem(t.treeMapDataItem)},e.prototype.zoomToChartDataItem=function(t){var e=this;if(t.children){this.xAxis.zoomToValues(t.x0,t.x1),this.yAxis.zoomToValues(t.y0,t.y1),this.currentLevel=t.level,this.createTreeSeries(t);var i=this.xAxis.rangeChangeAnimation||this.yAxis.rangeChangeAnimation;i?i.events.once("animationended",function(){e.toggleBullets()}):this.toggleBullets()}},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),p.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("TreeMap chart"))},e.prototype.createDataItem=function(){return new y},Object.defineProperty(e.prototype,"maxLevels",{get:function(){return this.getPropertyValue("maxLevels")},set:function(t){this.setPropertyValue("maxLevels",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentLevel",{get:function(){return this.getPropertyValue("currentLevel")},set:function(t){this.setPropertyValue("currentLevel",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sorting",{get:function(){return this.getPropertyValue("sorting")},set:function(t){this.setPropertyValue("sorting",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new l.a},Object.defineProperty(e.prototype,"homeText",{get:function(){return this._homeText},set:function(t){this._homeText=t,this._homeDataItem&&(this._homeDataItem.name=this._homeText)},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){if(e){if(p.hasValue(e.layoutAlgorithm)&&p.isString(e.layoutAlgorithm))switch(e.layoutAlgorithm){case"squarify":e.layoutAlgorithm=this.squarify;break;case"binaryTree":e.layoutAlgorithm=this.binaryTree;break;case"slice":e.layoutAlgorithm=this.slice;break;case"dice":e.layoutAlgorithm=this.dice;break;case"sliceDice":e.layoutAlgorithm=this.sliceDice;break;default:delete e.layoutAlgorithm}p.hasValue(e.navigationBar)&&!p.hasValue(e.navigationBar.type)&&(e.navigationBar.type="NavigationBar"),t.prototype.processConfig.call(this,e)}},e.prototype.handleDataItemValueChange=function(){this.invalidateDataItems()},e.prototype.validateDataItems=function(){t.prototype.validateDataItems.call(this),this.layoutItems(this._homeDataItem),c.each(this.series.iterator(),function(t){t.validateRawData()}),this.zoomToChartDataItem(this._homeDataItem)},e.prototype.binaryTree=function(t){var e,i,n=t.children,r=n.length,a=new Array(r+1);for(a[0]=i=e=0;e<r;++e)a[e+1]=i+=n.getIndex(e).value;!function t(e,i,r,s,o,l,u){if(e>=i-1){var h=n.getIndex(e);return h.x0=s,h.y0=o,h.x1=l,void(h.y1=u)}var c=a[e],p=r/2+c,d=e+1,f=i-1;for(;d<f;){var y=d+f>>>1;a[y]<p?d=y+1:f=y}p-a[d-1]<a[d]-p&&e+1<d&&--d;var g=a[d]-c,m=r-g;if(l-s>u-o){var x=(s*m+l*g)/r;t(e,d,g,s,o,x,u),t(d,i,m,x,o,l,u)}else{var v=(o*m+u*g)/r;t(e,d,g,s,o,l,v),t(d,i,m,s,v,l,u)}}(0,r,t.value,t.x0,t.y0,t.x1,t.y1)},e.prototype.slice=function(t){for(var e,i=t.x0,n=t.x1,r=t.y0,a=t.y1,s=t.children,o=-1,l=s.length,u=t.value&&(a-r)/t.value;++o<l;)(e=s.getIndex(o)).x0=i,e.x1=n,e.y0=r,e.y1=r+=e.value*u},e.prototype.dice=function(t){for(var e,i=t.x0,n=t.x1,r=t.y0,a=t.y1,s=t.children,o=-1,l=s.length,u=t.value&&(n-i)/t.value;++o<l;)(e=s.getIndex(o)).y0=r,e.y1=a,e.x0=i,e.x1=i+=e.value*u},e.prototype.sliceDice=function(t){1&t.level?this.slice(t):this.dice(t)},e.prototype.squarify=function(t){for(var e,i,n,r,a,s,o,l,u,h,c=(1+Math.sqrt(5))/2,p=t.x0,d=t.x1,f=t.y0,y=t.y1,g=t.children,m=0,x=0,v=g.length,b=t.value;m<v;){i=d-p,n=y-f;do{r=g.getIndex(x++).value}while(!r&&x<v);for(a=s=r,h=r*r*(u=Math.max(n/i,i/n)/(b*c)),l=Math.max(s/h,h/a);x<v;++x){if(r+=e=g.getIndex(x).value,e<a&&(a=e),e>s&&(s=e),h=r*r*u,(o=Math.max(s/h,h/a))>l){r-=e;break}l=o}var _=this.dataItems.template.clone();_.value=r,_.dice=i<n,_.children=g.slice(m,x),_.x0=p,_.y0=f,_.x1=d,_.y1=y,_.dice?(_.y1=b?f+=n*r/b:y,this.dice(_)):(_.x1=b?p+=i*r/b:d,this.slice(_)),b-=r,m=x}},e}(r.a);a.b.registeredClasses.TreeMap=g},318:function(t,e,i){"use strict";i.d(e,"b",function(){return f}),i.d(e,"a",function(){return y});var n,r=i(98),a=i(5),s=i(252),o=i(253),l=i(254),u=i(0),h=i(4),c=i(3),p=i(2),d=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),f=function(t){function e(){var e=t.call(this)||this;return e.className="XYChart3DDataItem",e.applyTheme(),e}return d(e,t),e}(r.b),y=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=s.a,e._axisRendererY=o.a,e.className="XYChart3D",e.depth=30,e.angle=30;var i=e.seriesContainer.createChild(a.a);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e.columnsContainer=i,e.applyTheme(),e}return d(e,t),Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx3D",{get:function(){return c.cos(this.angle)*this.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy3D",{get:function(){return-c.sin(this.angle)*this.depth},enumerable:!0,configurable:!0}),e.prototype.validate=function(){t.prototype.validate.call(this),this.fixLayout()},e.prototype.fixLayout=function(){this.chartContainer.marginTop=-this.dy3D,this.chartContainer.paddingRight=this.dx3D,this.scrollbarX&&(this.scrollbarX.dy=this.dy3D,this.scrollbarX.dx=this.dx3D),this.scrollbarY&&(this.scrollbarY.dy=this.dy3D,this.scrollbarY.dx=this.dx3D),this.fixColumns()},e.prototype.fixColumns=function(){var t=this,e=1;h.each(this.series.iterator(),function(t){t instanceof l.a&&(t.clustered||e++,t.depthIndex=e-1)});var i=0;h.each(this.series.iterator(),function(n){if(n instanceof l.a){n.depth=t.depth/e,n.angle=t.angle,n.dx=t.depth/e*c.cos(t.angle)*n.depthIndex,n.dy=-t.depth/e*c.sin(t.angle)*n.depthIndex;var r=1;h.each(n.columns.iterator(),function(t){t.zIndex=1e3*r+i-100*n.depthIndex,r++}),i++}})},e.prototype.processConfig=function(e){if(e&&p.hasValue(e.series)&&p.isArray(e.series))for(var i=0,n=e.series.length;i<n;i++)e.series[i].type=e.series[i].type||"ColumnSeries3D";t.prototype.processConfig.call(this,e)},e}(r.a);u.b.registeredClasses.XYChart3D=y},319:function(t,e,i){"use strict";i.d(e,"b",function(){return f}),i.d(e,"a",function(){return y});var n,r=i(91),a=i(13),s=i(258),o=i(0),l=i(9),u=i(6),h=i(19),c=i(4),p=i(2),d=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),f=function(t){function e(){var e=t.call(this)||this;return e.values.lowValueX={},e.values.lowValueY={},e.values.highValueX={},e.values.highValueY={},e.className="CandlestickSeriesDataItem",e.applyTheme(),e}return d(e,t),Object.defineProperty(e.prototype,"lowValueX",{get:function(){return this.values.lowValueX.value},set:function(t){this.setValue("lowValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lowValueY",{get:function(){return this.values.lowValueY.value},set:function(t){this.setValue("lowValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"highValueX",{get:function(){return this.values.highValueX.value},set:function(t){this.setValue("highValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"highValueY",{get:function(){return this.values.highValueY.value},set:function(t){this.setValue("highValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closeValueX",{get:function(){return this.values.valueX.value},set:function(t){this.setValue("valueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closeValueY",{get:function(){return this.values.valueY.value},set:function(t){this.setValue("valueY",t)},enumerable:!0,configurable:!0}),e}(r.b),y=function(t){function e(){var e=t.call(this)||this;e.className="CandlestickSeries",e.strokeOpacity=1;var i=new l.a,n=i.getFor("positive"),r=i.getFor("negative");return e.dropFromOpenState.properties.fill=r,e.dropFromOpenState.properties.stroke=r,e.riseFromOpenState.properties.fill=n,e.riseFromOpenState.properties.stroke=n,e.applyTheme(),e}return d(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),p.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Candlestick Series"))},e.prototype.createDataItem=function(){return new f},e.prototype.validateDataElementReal=function(e){t.prototype.validateDataElementReal.call(this,e);var i=e.column;if(i){var n=i.lowLine,r=i.highLine;if(this.baseAxis==this.xAxis){var a=i.pixelWidth/2;n.x=a,r.x=a;var s=e.getWorkingValue(this.yOpenField),o=e.getWorkingValue(this.yField),l=this.yAxis.getY(e,this.yOpenField),u=this.yAxis.getY(e,this.yField),h=this.yAxis.getY(e,this.yLowField),p=this.yAxis.getY(e,this.yHighField),d=i.pixelY;n.y1=h-d,r.y1=p-d,s<o?(n.y2=l-d,r.y2=u-d):(n.y2=u-d,r.y2=l-d)}if(this.baseAxis==this.yAxis){var f=i.pixelHeight/2;n.y=f,r.y=f;var y=e.getWorkingValue(this.xOpenField),g=e.getWorkingValue(this.xField),m=this.xAxis.getX(e,this.xOpenField),x=this.xAxis.getX(e,this.xField),v=this.xAxis.getX(e,this.xLowField),b=this.xAxis.getX(e,this.xHighField),_=i.pixelX;n.x1=v-_,r.x1=b-_,y<g?(n.x2=m-_,r.x2=x-_):(n.x2=x-_,r.x2=m-_)}c.each(this.axisRanges.iterator(),function(t){var i=e.rangesColumns.getKey(t.uid);if(i){var a=i.lowLine;a.x=n.x,a.y=n.y,a.x1=n.x1,a.x2=n.x2,a.y1=n.y1,a.y2=n.y2;var s=i.highLine;s.x=r.x,s.y=r.y,s.x1=r.x1,s.x2=r.x2,s.y1=r.y1,s.y2=r.y2}})}},Object.defineProperty(e.prototype,"xLowField",{get:function(){return this._xLowField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yLowField",{get:function(){return this._yLowField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xHighField",{get:function(){return this._xHighField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yHighField",{get:function(){return this._yHighField},enumerable:!0,configurable:!0}),e.prototype.defineFields=function(){if(t.prototype.defineFields.call(this),this.baseAxis==this.xAxis){var e=u.capitalize(this.yAxis.axisFieldName);this._yLowField="low"+e+"Y",this._yHighField="high"+e+"Y"}if(this.baseAxis==this.yAxis){var i=u.capitalize(this.xAxis.axisFieldName);this._xLowField="low"+i+"X",this._xHighField="high"+i+"X"}this.addValueField(this.xAxis,this._xValueFields,this._xLowField),this.addValueField(this.xAxis,this._xValueFields,this._xHighField),this.addValueField(this.yAxis,this._yValueFields,this._yLowField),this.addValueField(this.yAxis,this._yValueFields,this._yHighField)},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var n,r,o=t.createChild(s.a);o.shouldClone=!1,o.copyFrom(this.columns.template);var l=o.lowLine,u=o.highLine;this.baseAxis==this.yAxis?(n=e/3,r=i,l.y=i/2,u.y=i/2,l.x2=e/3,u.x2=e/3,u.x=e/3*2,o.column.x=e/3):(n=e,r=i/3,l.x=e/2,u.x=e/2,l.y2=i/3,u.y2=i/3,u.y=i/3*2,o.column.y=i/3),o.width=n,o.height=r,h.copyProperties(this,t,a.b),h.copyProperties(this.columns.template,o,a.b)},e.prototype.createColumnTemplate=function(){return new s.a},e}(r.a);o.b.registeredClasses.CandlestickSeries=y,o.b.registeredClasses.CandlestickSeriesDataItem=f},320:function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"a",function(){return u});var n,r=i(165),a=i(0),s=i(3),o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeriesDataItem",e.applyTheme(),e}return o(e,t),e}(r.b),u=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeries",e.applyTheme(),e}return o(e,t),e.prototype.createDataItem=function(){return new l},e.prototype.addPoints=function(t,e,i,n,r){var a=this.xAxis.getX(e,i,0),o=this.yAxis.getY(e,n,0),l=this.xAxis.getX(e,i,1),u=this.yAxis.getY(e,n,1);if(a=s.fitToRange(a,-2e4,2e4),o=s.fitToRange(o,-2e4,2e4),l=s.fitToRange(l,-2e4,2e4),u=s.fitToRange(u,-2e4,2e4),this.connect&&t.length>1){var h=t[t.length-1];this.baseAxis==this.xAxis&&(r?t.push({x:h.x,y:u}):t.push({x:a,y:h.y})),this.baseAxis==this.yAxis&&(r?t.push({x:l,y:h.y}):t.push({x:h.x,y:o}))}var c={x:a,y:o},p={x:l,y:u};r?t.push(p,c):t.push(c,p)},e}(r.a);a.b.registeredClasses.StepLineSeries=u,a.b.registeredClasses.StepLineSeriesDataItem=l},321:function(t,e,i){"use strict";i.d(e,"b",function(){return y}),i.d(e,"a",function(){return g});var n,r=i(91),a=i(13),s=i(259),o=i(0),l=i(10),u=i(3),h=i(19),c=i(2),p=i(4),d=i(14),f=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),y=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeriesDataItem",e.applyTheme(),e}return f(e,t),e}(r.b),g=function(t){function e(){var e=t.call(this)||this;return e.className="RadarColumnSeries",e.applyTheme(),e}return f(e,t),e.prototype.createColumnTemplate=function(){return new s.a},e.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},e.prototype.validateDataElementReal=function(t){var e,i,n,r,s=this,o=this.chart.startAngle,l=this.chart.endAngle,f=this.yField,y=this.yOpenField,g=this.xField,m=this.xOpenField,x=this.getStartLocation(t),v=this.getEndLocation(t),b=(l-o)/(this.dataItems.length*(this.end-this.start));o+=x*b,l-=(1-v)*b;var _=this.columns.template.percentWidth;c.isNaN(_)&&(_=100);var A=u.round((v-x)*(1-_/100)/2,5);if(x+=A,v-=A,this.baseAxis==this.xAxis?(n=u.getDistance({x:this.yAxis.getX(t,f,t.locations[f],"valueY"),y:this.yAxis.getY(t,f,t.locations[f],"valueY")}),r=u.getDistance({x:this.yAxis.getX(t,y,t.locations[y],"valueY"),y:this.yAxis.getY(t,y,t.locations[y],"valueY")}),e=this.xAxis.getAngle(t,m,x,"valueX"),i=this.xAxis.getAngle(t,g,v,"valueX")):(n=u.getDistance({x:this.yAxis.getX(t,f,x,"valueY"),y:this.yAxis.getY(t,f,x,"valueY")}),r=u.getDistance({x:this.yAxis.getX(t,y,v,"valueY"),y:this.yAxis.getY(t,y,v,"valueY")}),e=this.xAxis.getAngle(t,g,t.locations[g],"valueX"),i=this.xAxis.getAngle(t,m,t.locations[m],"valueX")),i<e){var P=i;i=e,e=P}e=u.fitToRange(e,o,l),i=u.fitToRange(i,o,l);var C=t.column;C||(C=this.columns.create(),t.column=C,h.forceCopyProperties(this.columns.template,C,a.b),t.addSprite(C),this.setColumnStates(C));var O=C.radarColumn;O.startAngle=e;var D=i-e;D>0?(O.arc=D,O.radius=n,O.innerRadius=r,C.__disabled=!1,C.parent=this.columnsContainer,p.each(this.axisRanges.iterator(),function(i){var o=t.rangesColumns.getKey(i.uid);o||(o=s.columns.create(),h.forceCopyProperties(s.columns.template,o,a.b),h.copyProperties(i.contents,o,a.b),o.dataItem&&d.l(o.dataItem.sprites,o),t.addSprite(o),s.setColumnStates(o),t.rangesColumns.setKey(i.uid,o));var l=C.radarColumn;l.startAngle=e,l.arc=D,l.radius=n,l.innerRadius=r,l.invalid&&l.validate(),o.__disabled=!1,o.parent=s.columnsContainer})):this.disableUnusedColumns(t)},e.prototype.getMaskPath=function(){var t=this.yAxis.renderer;return l.arc(t.startAngle,t.endAngle-t.startAngle,t.pixelRadius,t.pixelInnerRadius)},e.prototype.getPoint=function(t,e,i,n,r,a,s){a||(a="valueX"),s||(s="valueY");var o=this.yAxis.getX(t,i,r,s),l=this.yAxis.getY(t,i,r,s),h=u.getDistance({x:o,y:l}),c=this.xAxis.getAngle(t,e,n,a);return{x:h*u.cos(c),y:h*u.sin(c)}},e}(r.a);o.b.registeredClasses.RadarColumnSeries=g,o.b.registeredClasses.RadarColumnSeriesDataItem=y},322:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return h});var n,r=i(91),a=i(260),s=i(0),o=i(10),l=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="ConeSeriesDataItem",e.applyTheme(),e}return l(e,t),e}(r.b),h=function(t){function e(){var e=t.call(this)||this;return e.className="ConeSeries",e.applyTheme(),e}return l(e,t),e.prototype.createColumnTemplate=function(){return new a.a},e.prototype.validate=function(){t.prototype.validate.call(this)},e.prototype.getMaskPath=function(){var t=0,e=0,i=this.columns.getIndex(0);return this.baseAxis==this.xAxis?e=i.coneColumn.bottom.radiusY+1:t=i.coneColumn.bottom.radiusY+1,o.rectToPath({x:-t,y:0,width:this.xAxis.axisLength+t,height:this.yAxis.axisLength+e})},e.prototype.validateDataElementReal=function(e){t.prototype.validateDataElementReal.call(this,e);var i=e.column.coneColumn;i.fill=e.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical"},e}(r.a);s.b.registeredClasses.ConeSeries=h,s.b.registeredClasses.ConeSeriesDataItem=u},323:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n,r=i(88),a=i(89),s=i(0),o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=function(t){function e(){var e=t.call(this)||this;return e.className="CircleBullet",e.circle=e.createChild(a.a),e.circle.shouldClone=!1,e.circle.radius=5,e.circle.isMeasured=!1,e}return o(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.circle.copyFrom(e.circle)},e}(r.a);s.b.registeredClasses.CircleBullet=l},324:function(t,e,i){"use strict";i.d(e,"a",function(){return g});var n,r=i(104),a=i(13),s=i(7),o=i(16),l=i(98),u=i(0),h=i(9),c=i(171),p=i(4),d=i(2),f=i(10),y=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),g=function(t){function e(){var e=t.call(this)||this;e._chart=new o.d,e.className="XYChartScrollbar";var i=new h.a;e.padding(0,0,0,0);var n=e.createChild(l.a);n.shouldClone=!1,n.margin(0,0,0,0),n.padding(0,0,0,0),n.interactionsEnabled=!1,e._scrollbarChart=n,e._disposers.push(e._scrollbarChart),e.minHeight=60,e.minWidth=60;var r=e.createChild(a.a);r.shouldClone=!1,r.element=e.paper.add("path"),r.fill=i.getFor("background"),r.fillOpacity=.8,r.interactionsEnabled=!1,r.isMeasured=!1,r.toBack(),e._unselectedOverlay=r,e._disposers.push(e._unselectedOverlay),n.toBack(),e.background.cornerRadius(0,0,0,0);var s=e.thumb.background;s.cornerRadius(0,0,0,0),s.fillOpacity=0,s.fill=i.getFor("background");var u=s.states.getKey("hover");u&&(u.properties.fillOpacity=.2);var c=s.states.getKey("down");return c&&(c.properties.fillOpacity=.4),e._disposers.push(e._chart),e.applyTheme(),e}return y(e,t),Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new s.b,this._series.events.on("inserted",this.handleSeriesAdded,this),this._series.events.on("removed",this.handleSeriesRemoved,this)),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(t){var e=t.newValue,i=this.scrollbarChart;i.zoomOutButton.disabled=!0,this.chart=e.chart;var n=!0,r=!0;p.each(this.series.iterator(),function(t){t!=e&&(t.xAxis==e.xAxis&&(n=!1),t.yAxis==e.yAxis&&(r=!1))});var a=new h.a,s=e.clone();if(n){var o=e.xAxis.clone();i.xAxes.moveValue(o),o.title.disabled=!0,o.rangeChangeDuration=0,o.id=e.uid,o.title.disabled=!0,(l=o.renderer).ticks.template.disabled=!0,l.inside=!0,l.line.strokeOpacity=0,l.minLabelPosition=.02,l.maxLabelPosition=.98,l.line.disabled=!0,l.axisFills.template.disabled=!0,l.baseGrid.disabled=!0,l.grid.template.strokeOpacity=.05,l.labels.template.fillOpacity=.5,s.xAxis=o}if(r){var l,u=e.yAxis.clone();i.yAxes.moveValue(u),u.title.disabled=!0,u.rangeChangeDuration=0,(l=u.renderer).ticks.template.disabled=!0,l.inside=!0,l.line.strokeOpacity=0,l.minLabelPosition=.02,l.maxLabelPosition=.98,l.line.disabled=!0,l.axisFills.template.disabled=!0,l.grid.template.stroke=a.getFor("background"),l.baseGrid.disabled=!0,l.grid.template.strokeOpacity=.05,l.labels.template.fillOpacity=.5,s.yAxis=u}s.rangeChangeDuration=0,s.interpolationDuration=0,s.defaultState.transitionDuration=0,s.events.on("validated",this.zoomOutAxes,this),s.defaultState.properties.visible=!0,s.filters.push(new c.a),i.series.push(s)},e.prototype.updateByOrientation=function(){var t=this;p.each(this._scrollbarChart.xAxes.iterator(),function(e){if("vertical"==t.orientation){var i=e.renderer;i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10}}),p.each(this._scrollbarChart.yAxes.iterator(),function(e){if("horizontal"==t.orientation){var i=e.renderer;i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10}})},e.prototype.handleSeriesRemoved=function(t){t.oldValue.events.off("validated",this.zoomOutAxes,this)},Object.defineProperty(e.prototype,"scrollbarChart",{get:function(){return this._scrollbarChart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.get()!==t&&(this._chart.set(t,t.events.on("datavalidated",this.handleDataChanged,this)),this.handleDataChanged(),this._scrollbarChart.dataProvider=t)},enumerable:!0,configurable:!0}),e.prototype.handleDataChanged=function(){this.scrollbarChart.data=this.chart.data},e.prototype.zoomOutAxes=function(){var t=this.scrollbarChart;p.each(t.xAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)}),p.each(t.yAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)})},e.prototype.updateThumb=function(){if(t.prototype.updateThumb.call(this),this._unselectedOverlay){var e=this.thumb,i=e.pixelX,n=e.pixelY,r=e.pixelWidth,a=e.pixelHeight,s=void 0;"horizontal"==this.orientation?(s=f.rectToPath({x:-1,y:0,width:i,height:a}),s+=f.rectToPath({x:i+r,y:0,width:this.pixelWidth-i-r,height:a})):(s=f.rectToPath({x:0,y:0,width:r,height:n}),s+=f.rectToPath({x:0,y:n+a,width:r,height:this.pixelHeight-n-a})),this._unselectedOverlay.element.attr({d:s})}},e.prototype.processConfig=function(e){if(e&&d.hasValue(e.series)&&d.isArray(e.series))for(var i=0,n=e.series.length;i<n;i++){var r=e.series[i];if(d.hasValue(r)&&d.isString(r)){if(!this.map.hasKey(r))throw Error("XYChartScrollbar error: Series with id `"+r+"` does not exist.");e.series[i]=this.map.getKey(r)}}t.prototype.processConfig.call(this,e)},e}(r.a);u.b.registeredClasses.XYChartScrollbar=g},325:function(t,e,i){"use strict";i.d(e,"b",function(){return f}),i.d(e,"a",function(){return y});var n,r=i(55),a=i(63),s=i(7),o=i(263),l=i(127),u=i(0),h=i(9),c=i(8),p=i(4),d=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),f=function(t){function e(){var e=t.call(this)||this;return e.className="NavigationBarDataItem",e.applyTheme(),e}return d(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this.properties.name},set:function(t){this.setProperty("name",t)},enumerable:!0,configurable:!0}),e}(a.a),y=function(t){function e(){var e=t.call(this)||this;e.className="NavigationBar";var i=new h.a,n=new o.a;n.valign="middle",n.paddingTop=8,n.paddingBottom=8,e.paddingBottom=2,e.links=new s.e(n),e._disposers.push(new s.c(e.links)),e._disposers.push(e.links.template),e._linksIterator=new p.ListIterator(e.links,function(){return e.links.create()}),e._linksIterator.createNewItems=!0;var r=new l.a;r.direction="right",r.width=8,r.height=12,r.fill=i.getFor("alternativeBackground"),r.fillOpacity=.5,r.valign="middle",r.marginLeft=10,r.marginRight=10,e.separators=new s.e(r),e._disposers.push(new s.c(e.separators)),e._disposers.push(e.separators.template);var a=new o.a;return e.activeLink=a,a.copyFrom(n),a.valign="middle",a.fontWeight="bold",e.width=Object(c.c)(100),e.layout="grid",e.dataFields.name="name",e.applyTheme(),e}return d(e,t),e.prototype.validateDataElements=function(){this.removeChildren(),this._linksIterator.reset(),t.prototype.validateDataElements.call(this)},e.prototype.validateDataElement=function(e){var i;if(t.prototype.validateDataElement.call(this,e),e.index<this.dataItems.length-1){(i=this._linksIterator.getLast()).parent=this;var n=this.separators.create();n.parent=this,n.valign="middle"}else(i=this.activeLink).events.copyFrom(this.links.template.events),i.hide(0),i.show(),i.parent=this;i.dataItem=e,i.text=e.name},e}(r.a);u.b.registeredClasses.NavigationBar=y,u.b.registeredClasses.NavigationBarDataItem=f},91:function(t,e,i){"use strict";i.d(e,"b",function(){return _}),i.d(e,"a",function(){return A});var n,r=i(123),a=i(13),s=i(5),o=i(7),l=i(25),u=i(65),h=i(102),c=i(0),p=i(92),d=i(49),f=i(8),y=i(3),g=i(19),m=i(4),x=i(14),v=i(2),b=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),_=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeriesDataItem",e.locations.dateX=.5,e.locations.dateY=.5,e.locations.categoryX=.5,e.locations.categoryY=.5,e.applyTheme(),e}return b(e,t),Object.defineProperty(e.prototype,"column",{get:function(){return this._column},set:function(t){this.setColumn(t)},enumerable:!0,configurable:!0}),e.prototype.setColumn=function(t){if(this._column&&t!=this._column&&x.l(this.sprites,this._column),this._column=t,t){var e=t.dataItem;e&&e!=this&&(e.column=void 0),this.addSprite(t)}},Object.defineProperty(e.prototype,"rangesColumns",{get:function(){return this._rangesColumns||(this._rangesColumns=new l.a),this._rangesColumns},enumerable:!0,configurable:!0}),e}(r.b),A=function(t){function e(){var e=t.call(this)||this;e._startLocation=0,e._endLocation=1,e.simplifiedProcessing=!1,e.className="ColumnSeries",e.width=Object(f.c)(100),e.height=Object(f.c)(100),e.strokeOpacity=0,e.fillOpacity=1,e.clustered=!0;var i=e.mainContainer.createChild(s.a);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e._columnsContainer=i,e.columns,e.columns.template.pixelPerfect=!1,e.tooltipColorSource=e.columns.template,e.applyTheme(),e}return b(e,t),Object.defineProperty(e.prototype,"columnsContainer",{get:function(){return this._columnsContainer},enumerable:!0,configurable:!0}),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),v.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Column Series"))},e.prototype.createDataItem=function(){return new _},e.prototype.validate=function(){var i=this,n=this.chart.series,r=0,a=0;m.each(n.iterator(),function(t){t instanceof e&&i.baseAxis==t.baseAxis&&((!t.stacked&&t.clustered||0===r)&&r++,t==i&&(a=r-1))});var s=this.baseAxis.renderer,o=s.cellStartLocation,l=s.cellEndLocation;this._startLocation=o+a/r*(l-o),this._endLocation=o+(a+1)/r*(l-o),m.each(this.columns.iterator(),function(t){t.__disabled=!0}),t.prototype.validate.call(this)},e.prototype.validateDataElement=function(e){this.validateDataElementReal(e),t.prototype.validateDataElement.call(this,e)},e.prototype.getStartLocation=function(t){var e=this._startLocation;return this.baseAxis==this.xAxis?e+=t.locations[this.xOpenField]-.5:e+=t.locations[this.yOpenField]-.5,e},e.prototype.handleDataItemWorkingValueChange=function(e){this.simplifiedProcessing?this.validateDataElement(e.target):t.prototype.handleDataItemWorkingValueChange.call(this,e)},e.prototype.getEndLocation=function(t){var e=this._endLocation;return this.baseAxis==this.xAxis?e+=t.locations[this.xField]-.5:e+=t.locations[this.yField]-.5,e},e.prototype.validateDataElementReal=function(t){var e,i,n,r,s=this,o=this.getStartLocation(t),l=this.getEndLocation(t),c=this.xField,p=this.xOpenField,d=this.yField,f=this.yOpenField,x=this.columns.template,b=x.percentWidth,_=x.percentHeight,A=x.pixelWidth,P=x.pixelHeight,C=x.maxWidth,O=x.maxHeight;if(this.xAxis instanceof h.a&&this.yAxis instanceof h.a){if(o=0,l=1,!v.isNaN(b))o+=T=y.round((l-o)*(1-b/100)/2,5),l-=T;if(e=this.xAxis.getX(t,p,o),i=this.xAxis.getX(t,c,l),v.isNaN(b))e+=T=(i-e-A)/2,i-=T;if(!v.isNaN(C))e+=T=(i-e-C)/2,i-=T;if(o=0,l=1,!v.isNaN(_))o+=T=y.round((1-_/100)/2,5),l-=T;if(n=this.yAxis.getY(t,f,o),r=this.yAxis.getY(t,d,l),v.isNaN(_))r+=T=(r-n-P)/2,n-=T;if(!v.isNaN(O))r+=T=(r-n-O)/2,n-=T;i=this.fixHorizontalCoordinate(i),e=this.fixHorizontalCoordinate(e),n=this.fixVerticalCoordinate(n),r=this.fixVerticalCoordinate(r)}else if(this.baseAxis==this.xAxis){if(!v.isNaN(b))o+=T=y.round((l-o)*(1-b/100)/2,5),l-=T;if(e=this.xAxis.getX(t,p,o),i=this.xAxis.getX(t,c,l),v.isNaN(b))e+=T=(i-e-A)/2,i-=T;if(!v.isNaN(C))e+=T=(i-e-C)/2,i-=T;var D=t.locations[f],I=t.locations[d];this.yAxis instanceof u.a&&(D=0,I=0),r=this.yAxis.getY(t,f,D),n=this.yAxis.getY(t,d,I),n=this.fixVerticalCoordinate(n),r=this.fixVerticalCoordinate(r)}else{var T;if(!v.isNaN(_))o+=T=y.round((1-_/100)/2,5),l-=T;if(n=this.yAxis.getY(t,f,o),r=this.yAxis.getY(t,d,l),v.isNaN(_))r+=T=(r-n-P)/2,n-=T;if(!v.isNaN(O))r+=T=(r-n-O)/2,n-=T;var V=t.locations[c],R=t.locations[p];this.xAxis instanceof u.a&&(V=0,R=0),i=this.xAxis.getX(t,c,V),e=this.xAxis.getX(t,p,R),i=this.fixHorizontalCoordinate(i),e=this.fixHorizontalCoordinate(e)}var w=x.pixelPaddingLeft,S=x.pixelPaddingRight,F=x.pixelPaddingTop,j=x.pixelPaddingBottom,k=Math.abs(i-e),X=Math.abs(r-n),Y=Math.min(e,i),L=Math.min(n,r);if(k-w-S>0&&X-F-j>0){var N=void 0;t.column?N=t.column:(N=this.columns.create(),g.copyProperties(this,N,a.b),g.copyProperties(this.columns.template,N,a.b),t.addSprite(N),t.column=N),N.width=k,N.height=X,N.x=Y,N.y=L,N.parent=this.columnsContainer,this.setColumnStates(N),N.invalid&&N.validate(),N.__disabled=!1,m.each(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i||(i=s.columns.create(),g.copyProperties(e.contents,i,a.b),t.addSprite(i),t.rangesColumns.setKey(e.uid,i)),i.parent=e.contents,i.width=k,i.height=X,i.x=Y,i.y=L,s.setColumnStates(i),i.invalid&&i.validate(),i.__disabled=!1})}else this.disableUnusedColumns(t);t.itemWidth=k,t.itemHeight=X},e.prototype.disableUnusedColumns=function(t){t.column&&(t.column.width=0,t.column.height=0,t.column.__disabled=!0),m.each(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i&&(i.width=0,i.height=0,i.__disabled=!0)})},e.prototype.setColumnStates=function(t){var e=this,i=t.dataItem;if(this.xAxis instanceof u.a||this.yAxis instanceof u.a){var n,r=void 0,a=void 0;this.baseAxis==this.yAxis?(n=i.getValue(this.xOpenField),r=i.getValue(this.xField),a=i.getValue(this.xAxis.axisFieldName+"X","previousChange")):(n=i.getValue(this.yOpenField),r=i.getValue(this.yField),a=i.getValue(this.yAxis.axisFieldName+"Y","previousChange")),r<n?(i.droppedFromOpen=!0,t.setState(this._dropFromOpenState,0)):(i.droppedFromOpen=!1,t.setState(this._riseFromOpenState,0)),a<0?(i.droppedFromPrevious=!0,t.setState(this._dropFromPreviousState,0)):(i.droppedFromPrevious=!1,t.setState(this._riseFromPreviousState,0))}this.isInTransition()||(this.itemsFocusable()?(t.role="menuitem",t.focusable=!0):(t.role="listitem",t.focusable=!1),v.hasValue(this.itemReaderText)&&""!=this.itemReaderText&&(t.focusable&&(t.events.once("focus",function(n){t.readerTitle=e.populateString(e.itemReaderText,i)}),t.events.once("blur",function(e){t.readerTitle=""})),t.hoverable&&(t.events.once("over",function(n){t.readerTitle=e.populateString(e.itemReaderText,i)}),t.events.once("out",function(e){t.readerTitle=""}))))},Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns||(this._columns=new o.e(this.createColumnTemplate()),this._disposers.push(new o.c(this._columns)),this._disposers.push(this._columns.template)),this._columns},enumerable:!0,configurable:!0}),e.prototype.createColumnTemplate=function(){return new p.a},Object.defineProperty(e.prototype,"clustered",{get:function(){return this.getPropertyValue("clustered")},set:function(t){this.setPropertyValue("clustered",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropFromOpenState",{get:function(){return this._dropFromOpenState||(this._dropFromOpenState=this.states.create("dropFromOpenState")),this._dropFromOpenState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropFromPreviousState",{get:function(){return this._dropFromPreviousState||(this._dropFromPreviousState=this.states.create("dropFromPreviousState")),this._dropFromPreviousState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"riseFromOpenState",{get:function(){return this._riseFromOpenState||(this._riseFromOpenState=this.states.create("riseFromOpenState")),this._riseFromOpenState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"riseFromPreviousState",{get:function(){return this._riseFromPreviousState||(this._riseFromPreviousState=this.states.create("riseFromPreviousState")),this._riseFromPreviousState},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(e){var i=this;if(t.prototype.updateLegendValue.call(this,e),this.legendDataItem){var n,r,a=this.legendDataItem.marker;e&&(n=e.droppedFromOpen?this._dropFromOpenState:this._riseFromOpenState,r=e.droppedFromPrevious?this._dropFromPreviousState:this._riseFromPreviousState),m.each(a.children.iterator(),function(t){e?(t.setState(r),t.setState(n)):(t.setState(i._riseFromPreviousState),t.setState(i._riseFromOpenState))})}},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var n=t.createChild(d.a);n.shouldClone=!1,g.copyProperties(this,n,a.b),n.copyFrom(this.columns.template),n.padding(0,0,0,0),n.width=e,n.height=i},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.columns.template.copyFrom(e.columns.template)},e.prototype.getBulletLocationX=function(e,i){return this.baseAxis==this.xAxis?(this._startLocation+this._endLocation)/2:t.prototype.getBulletLocationX.call(this,e,i)},e.prototype.getBulletLocationY=function(e,i){return this.baseAxis==this.yAxis?(this._startLocation+this._endLocation)/2:t.prototype.getBulletLocationY.call(this,e,i)},e.prototype.fixVerticalCoordinate=function(t){var e=this.columns.template.pixelPaddingBottom,i=-this.columns.template.pixelPaddingTop,n=this.yAxis.axisLength+e;return y.fitToRange(t,i,n)},e.prototype.fixHorizontalCoordinate=function(t){var e=this.columns.template.pixelPaddingLeft,i=this.columns.template.pixelPaddingRight,n=-e,r=this.xAxis.axisLength+i;return y.fitToRange(t,n,r)},e}(r.a);c.b.registeredClasses.ColumnSeries=A,c.b.registeredClasses.ColumnSeriesDataItem=_},92:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n,r=i(5),a=i(49),s=i(0),o=i(8),l=i(3),u=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),h=function(t){function e(){var e=t.call(this)||this;return e.className="Column",e.width=Object(o.c)(80),e.height=Object(o.c)(80),e.isMeasured=!0,e.applyOnClones=!0,e.strokeOpacity=1,e.layout="none",e.createAssets(),e.events.on("childadded",function(){"none"==e.layout&&(e.layout="absolute")}),e}return u(e,t),e.prototype.createAssets=function(){this.column=this.createChild(a.a),this.column.shouldClone=!1,this.column.cornerRadius(0,0,0,0),this._disposers.push(this.column)},e.prototype.validate=function(){t.prototype.validate.call(this),this.column&&(this.column.width=l.min(this.pixelWidth,this.maxWidth),this.column.height=l.min(this.pixelHeight,this.maxHeight))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.column&&this.column.copyFrom(e.column)},e}(r.a);s.b.registeredClasses.Column=h},98:function(t,e,i){"use strict";i.d(e,"b",function(){return b}),i.d(e,"a",function(){return _});var n,r=i(113),a=i(5),s=i(7),o=i(112),l=i(78),u=i(102),h=i(123),c=i(164),p=i(232),d=i(8),f=i(0),y=i(3),g=i(4),m=i(2),x=i(6),v=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),b=function(t){function e(){var e=t.call(this)||this;return e.className="XYChartDataItem",e.applyTheme(),e}return v(e,t),e}(r.b),_=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=o.a,e._axisRendererY=l.a,e.className="XYChart",e.maskBullets=!0;var i=e.chartContainer;i.layout="vertical",e.padding(15,15,15,15);var n=i.createChild(a.a);n.shouldClone=!1,n.layout="vertical",n.width=Object(d.c)(100),n.zIndex=1,e.topAxesContainer=n;var r=i.createChild(a.a);r.shouldClone=!1,r.layout="horizontal",r.width=Object(d.c)(100),r.height=Object(d.c)(100),r.zIndex=0,e.yAxesAndPlotContainer=r;var s=i.createChild(a.a);s.shouldClone=!1,s.width=Object(d.c)(100),s.layout="vertical",s.zIndex=1,e.bottomAxesContainer=s;var u=r.createChild(a.a);u.shouldClone=!1,u.layout="horizontal",u.height=Object(d.c)(100),u.contentAlign="right",u.events.on("transformed",e.updateXAxesMargins,e),u.zIndex=1,e.leftAxesContainer=u;var h=r.createChild(a.a);h.shouldClone=!1,h.height=Object(d.c)(100),h.width=Object(d.c)(100),e.plotContainer=h,e._cursorContainer=h;var c=r.createChild(a.a);c.shouldClone=!1,c.layout="horizontal",c.height=Object(d.c)(100),c.zIndex=1,c.events.on("transformed",e.updateXAxesMargins,e),e.rightAxesContainer=c,e.seriesContainer.parent=h,e.bulletsContainer.parent=h;var f=h.createChild(p.a);return f.shouldClone=!1,f.align="right",f.valign="top",f.zIndex=Number.MAX_SAFE_INTEGER,f.marginTop=5,f.marginRight=5,f.hide(0),e.zoomOutButton=f,e._bulletMask=e.plotContainer,e.applyTheme(),e}return v(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y chart"))},e.prototype.draw=function(){t.prototype.draw.call(this),this.seriesContainer.toFront(),this.bulletsContainer.toFront(),this.maskBullets&&(this.bulletsContainer.mask=this._bulletMask)},e.prototype.updatePlotElements=function(){g.each(this.series.iterator(),function(t){t.invalidate()})},e.prototype.validateData=function(){0==this._parseDataFrom&&(g.each(this.xAxes.iterator(),function(t){t.dataChangeUpdate()}),g.each(this.yAxes.iterator(),function(t){t.dataChangeUpdate()})),t.prototype.validateData.call(this),this.cursor&&this.data.length>0&&(this.cursor.__disabled=!1),this.leftAxesContainer.minWidth=void 0,this.rightAxesContainer.minWidth=void 0},e.prototype.updateXAxesMargins=function(){var t=this.leftAxesContainer.measuredWidth,e=this.rightAxesContainer.measuredWidth,i=this.bottomAxesContainer;i.paddingLeft==t&&i.paddingRight==e||(i.paddingLeft=t,i.paddingRight=e);var n=this.topAxesContainer;n.paddingLeft==t&&n.paddingRight==e||(n.paddingLeft=t,n.paddingRight=e)},e.prototype.handleXAxisChange=function(t){this.updateXAxis(t.target)},e.prototype.handleYAxisChange=function(t){this.updateYAxis(t.target)},e.prototype.processXAxis=function(t){var e=t.newValue;e.chart=this,e.renderer=new this._axisRendererX,e.axisLetter="X",e.renderer.observe(["opposite","inside","inversed","minGridDistance"],this.handleXAxisChange,this),e.events.on("datarangechanged",this.handleXAxisRangeChange,this),e.dataProvider=this,this.updateXAxis(e.renderer),this.processAxis(e)},e.prototype.processXAxisRemoval=function(t){t.oldValue.events.off("datarangechanged",this.handleXAxisRangeChange,this)},e.prototype.processYAxis=function(t){var e=t.newValue;e.chart=this,e.renderer=new this._axisRendererY,e.axisLetter="Y",e.renderer.observe(["opposite","inside","inversed","minGridDistance"],this.handleYAxisChange,this),e.events.on("datarangechanged",this.handleYAxisRangeChange,this),e.dataProvider=this,this.updateYAxis(e.renderer),this.processAxis(e)},e.prototype.processYAxisRemoval=function(t){t.oldValue.events.off("datarangechanged",this.handleYAxisRangeChange,this)},e.prototype.handleXAxisRangeChange=function(t){var e=this.getCommonAxisRange(this.xAxes);this.scrollbarX&&this.zoomAxes(this.xAxes,e,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarX,e)},e.prototype.toggleZoomOutButton=function(){if(this.zoomOutButton){var t=!1;g.eachContinue(this.xAxes.iterator(),function(e){return 0==y.round(e.start,3)&&1==y.round(e.end,3)||(t=!0,!1)}),g.eachContinue(this.yAxes.iterator(),function(e){return 0==y.round(e.start,3)&&1==y.round(e.end,3)||(t=!0,!1)}),this.seriesAppeared||(t=!1),t?this.zoomOutButton.show():this.zoomOutButton.hide()}},e.prototype.seriesAppeared=function(){var t=!1;return g.each(this.series.iterator(),function(e){if(!e.appeared)return t=!1,!1}),t},e.prototype.handleYAxisRangeChange=function(t){var e=this.getCommonAxisRange(this.yAxes);this.scrollbarY&&this.zoomAxes(this.yAxes,e,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarY,e)},e.prototype.updateScrollbar=function(t,e){t&&(t.skipRangeEvents(),t.start=e.start,t.end=e.end)},e.prototype.getCommonAxisRange=function(t){var e,i;return g.each(t.iterator(),function(t){var n=t.start,r=t.end;t.renderer.inversed&&(n=1-t.end,r=1-t.start),(!m.isNumber(e)||n<e)&&(e=n),(!m.isNumber(i)||r>i)&&(i=r)}),{start:e,end:i}},e.prototype.updateXAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.topAxesContainer,e.toFront()):(e.parent=this.bottomAxesContainer,e.toBack()),e.initRenderer()},e.prototype.updateYAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.rightAxesContainer,e.toBack()):(e.parent=this.leftAxesContainer,e.toFront()),e.initRenderer()},e.prototype.processAxis=function(t){t instanceof u.a&&this._dataUsers.moveValue(t);var e=t.renderer;e.gridContainer.parent=this.plotContainer,e.gridContainer.toBack(),e.breakContainer.parent=this.plotContainer,e.breakContainer.toFront(),e.breakContainer.zIndex=1,this.plotContainer.events.on("maxsizechanged",function(e){t.invalidateDataItems()})},Object.defineProperty(e.prototype,"xAxes",{get:function(){return this._xAxes||(this._xAxes=new s.b,this._xAxes.events.on("inserted",this.processXAxis,this),this._xAxes.events.on("removed",this.processXAxisRemoval,this)),this._xAxes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yAxes",{get:function(){return this._yAxes||(this._yAxes=new s.b,this._yAxes.events.on("inserted",this.processYAxis,this),this._yAxes.events.on("removed",this.processYAxisRemoval,this)),this._yAxes},enumerable:!0,configurable:!0}),e.prototype.processSeries=function(e){try{t.prototype.processSeries.call(this,e);var i=e.newValue;i.xAxis,i.yAxis,void 0==i.fill&&(i.fill=this.colors.next()),void 0==i.stroke&&(i.stroke=i.fill)}catch(t){this.raiseCriticalError(t)}},Object.defineProperty(e.prototype,"cursor",{get:function(){return this._cursor},set:function(t){this._cursor!=t&&(this._cursor&&this.removeDispose(this._cursor),this._cursor=t,t&&(this._disposers.push(t),t.chart=this,t.parent=this._cursorContainer,t.events.on("cursorpositionchanged",this.handleCursorPositionChange,this),t.events.on("zoomstarted",this.handleCursorZoomStart,this),t.events.on("zoomended",this.handleCursorZoomEnd,this),t.events.on("panstarted",this.handleCursorPanStart,this),t.events.on("panning",this.handleCursorPanning,this),t.events.on("panended",this.handleCursorPanEnd,this),t.events.on("behaviorcanceled",this.handleCursorCanceled,this),t.events.on("hidden",this.handleHideCursor,this),t.zIndex=Number.MAX_SAFE_INTEGER-1,0==this.data.length&&(t.__disabled=!0)))},enumerable:!0,configurable:!0}),e.prototype.createCursor=function(){return new c.a},e.prototype.handleCursorPositionChange=function(){if(this.cursor.visible&&!this.cursor.isHiding){var t=this.cursor.xPosition,e=this.cursor.yPosition;this.showAxisTooltip(this.xAxes,t),this.showAxisTooltip(this.yAxes,e),this.showSeriesTooltip({x:t,y:e})}},e.prototype.handleHideCursor=function(){this.hideObjectTooltip(this.xAxes),this.hideObjectTooltip(this.yAxes),this.hideObjectTooltip(this.series),this.updateSeriesLegend()},e.prototype.updateSeriesLegend=function(){g.each(this.series.iterator(),function(t){t.updateLegendValue()})},e.prototype.hideObjectTooltip=function(t){g.each(t.iterator(),function(t){t.tooltip.hide(0)})},e.prototype.showSeriesTooltip=function(t){var e=this,i=x.spritePointToSvg({x:-.5,y:-.5},this.plotContainer),n=x.spritePointToSvg({x:this.plotContainer.pixelWidth+.5,y:this.plotContainer.pixelHeight+.5},this.plotContainer),r=[];if(this.series.each(function(a){if(a.tooltipText||a.tooltipHTML){a.tooltip.setBounds({x:0,y:0,width:e.pixelWidth,height:e.pixelHeight});var s=a.showTooltipAtPosition(t.x,t.y);s&&y.isInRectangle(s,{x:i.x,y:i.y,width:n.x-i.x,height:n.y-i.y})?r.push({point:s,series:a}):a.tooltip.hide(0)}}),r.sort(function(t,e){return t.point.y>e.point.y?1:0}),r.length>0){for(var a=i.y,s=n.y,o=[],l=[],u=0;u<r.length;u++)r[u].point.y<a+(s-a)/2?o.push(r[u]):l.push(r[u]);var h=a;for(u=0;u<o.length;u++){var c=o[u].series,p=o[u].point.y;(f=c.tooltip).setBounds({x:0,y:h,width:this.pixelWidth,height:s}),f.invalid&&f.validate(),f.toBack(),h=x.spritePointToSvg({x:0,y:f.label.pixelY+f.label.pixelHeight-f.pixelY+p+f.pixelMarginBottom},f).y}var d=s;for(u=l.length-1;u>=0;u--){var f=(c=l[u].series).tooltip;p=l[u].point.y;f.setBounds({x:0,y:0,width:this.pixelWidth,height:d}),f.invalid&&f.validate(),f.toBack(),d=x.spritePointToSvg({x:0,y:f.label.pixelY-f.pixelY+p-f.pixelMarginTop},f).y}}},e.prototype.showAxisTooltip=function(t,e){var i=this;g.each(t.iterator(),function(t){i.dataItems.length>0&&t.showTooltipAtPosition(e)})},e.prototype.getUpdatedRange=function(t,e){var i,n,r=t.renderer.inversed;t.renderer instanceof l.a&&(e=y.invertRange(e)),r?(y.invertRange(e),i=1-t.end,n=1-t.start):(i=t.start,n=t.end);var a=n-i;return{start:i+e.start*a,end:i+e.end*a}},e.prototype.handleCursorZoomEnd=function(t){var e=this.cursor,i=e.behavior;if("zoomX"==i||"zoomXY"==i){var n=e.xRange;n&&((n=this.getUpdatedRange(this.xAxes.getIndex(0),n)).priority="start",this.zoomAxes(this.xAxes,n))}if("zoomY"==i||"zoomXY"==i){var r=e.yRange;r&&((r=this.getUpdatedRange(this.yAxes.getIndex(0),r)).priority="start",this.zoomAxes(this.yAxes,r))}this.handleHideCursor()},e.prototype.handleCursorPanStart=function(t){var e=this.xAxes.getIndex(0);e&&(this._panStartXRange={start:e.start,end:e.end});var i=this.yAxes.getIndex(0);i&&(this._panStartYRange={start:i.start,end:i.end})},e.prototype.handleCursorPanEnd=function(t){var e=this.cursor.behavior;if(this._panEndXRange&&("panX"==e||"panXY"==e)){var i=0;(n=this._panEndXRange).start<0&&(i=n.start),n.end>1&&(i=n.end-1),this.zoomAxes(this.xAxes,{start:n.start-i,end:n.end-i},!1,!0),this._panEndXRange=void 0,this._panStartXRange=void 0}if(this._panEndYRange&&("panY"==e||"panXY"==e)){var n;i=0;(n=this._panEndYRange).start<0&&(i=n.start),n.end>1&&(i=n.end-1),this.zoomAxes(this.yAxes,{start:n.start-i,end:n.end-i},!1,!0),this._panEndYRange=void 0,this._panStartYRange=void 0}},e.prototype.handleCursorCanceled=function(){this._panEndXRange=void 0,this._panStartXRange=void 0},e.prototype.handleCursorPanning=function(t){var e=this.cursor,i=e.behavior,n=e.maxPanOut;if(this._panStartXRange&&("panX"==i||"panXY"==i)){var r=this._panStartXRange,a=e.xRange,s=r.end-r.start,o=a.start,l=Math.max(-n,o+r.start),u=Math.min(a.start+r.end,1+n);l<=0&&(u=l+s),u>=1&&(l=u-s);var h={start:l,end:u};this._panEndXRange=h,this.zoomAxes(this.xAxes,h)}if(this._panStartYRange&&("panY"==i||"panXY"==i)){r=this._panStartYRange,a=e.yRange,s=r.end-r.start,o=a.start,l=Math.max(-n,o+r.start),u=Math.min(a.start+r.end,1+n);l<=0&&(u=l+s),u>=1&&(l=u-s);h={start:l,end:u};this._panEndYRange=h,this.zoomAxes(this.yAxes,h)}this.handleHideCursor()},e.prototype.handleCursorZoomStart=function(t){},Object.defineProperty(e.prototype,"scrollbarX",{get:function(){return this._scrollbarX},set:function(t){var e=this;this._scrollbarX&&this.removeDispose(this._scrollbarX),this._scrollbarX=t,t&&(this._disposers.push(t),t.parent=this.topAxesContainer,t.toBack(),t.orientation="horizontal",t.events.on("rangechanged",this.handleXScrollbarChange,this),t.adapter.add("positionValue",function(t){var i=e.xAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(t.position)),t}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollbarY",{get:function(){return this._scrollbarY},set:function(t){var e=this;this._scrollbarY&&this.removeDispose(this._scrollbarY),this._scrollbarY=t,t&&(this._disposers.push(t),t.parent=this.rightAxesContainer,t.toFront(),t.orientation="vertical",t.events.on("rangechanged",this.handleYScrollbarChange,this),t.adapter.add("positionValue",function(t){var i=e.yAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(t.position)),t}))},enumerable:!0,configurable:!0}),e.prototype.handleXScrollbarChange=function(t){var e=t.target,i=this.zoomAxes(this.xAxes,e.range);e.fixRange(i)},e.prototype.handleYScrollbarChange=function(t){var e=t.target,i=this.zoomAxes(this.yAxes,e.range);e.fixRange(i)},e.prototype.zoomAxes=function(t,e,i,n){var r={start:0,end:1};return this.dataInvalid||g.each(t.iterator(),function(t){if(t.renderer.inversed&&(e=y.invertRange(e)),n){var a=e.end-e.start;e.start=t.roundPosition(e.start+1e-4,0),e.end=e.start+a}var s=t.zoom(e,i,i);t.renderer.inversed&&(s=y.invertRange(s)),r=s}),r},Object.defineProperty(e.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(t){this.setPropertyValue("maskBullets",t,!0)},enumerable:!0,configurable:!0}),e.prototype.dataSourceDateFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),g.each(this.series.iterator(),function(t){e=i.populateDataSourceFields(e,t.dataFields,["dateX","dateY","openDateX","openDateY"])}),e},e.prototype.dataSourceNumberFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),g.each(this.series.iterator(),function(t){e=i.populateDataSourceFields(e,t.dataFields,["valueX","valueY","openValueX","openValueY"])}),e},e.prototype.processConfig=function(e){if(e){var i=[],n=[];if(m.hasValue(e.xAxes)&&m.isArray(e.xAxes))for(var r=0,a=e.xAxes.length;r<a;r++){if(!e.xAxes[r].type)throw Error("[XYChart error] No type set for xAxes["+r+"].");m.hasValue(e.xAxes[r].axisRanges)&&(i.push({axisRanges:e.xAxes[r].axisRanges,index:r}),delete e.xAxes[r].axisRanges)}if(m.hasValue(e.yAxes)&&m.isArray(e.yAxes))for(r=0,a=e.yAxes.length;r<a;r++){if(!e.yAxes[r].type)throw Error("[XYChart error] No type set for yAxes["+r+"].");m.hasValue(e.yAxes[r].axisRanges)&&(n.push({axisRanges:e.yAxes[r].axisRanges,index:r}),delete e.yAxes[r].axisRanges)}if(m.hasValue(e.series)&&m.isArray(e.series))for(r=0,a=e.series.length;r<a;r++)e.series[r].type=e.series[r].type||"LineSeries";if(m.hasValue(e.cursor)&&!m.hasValue(e.cursor.type)&&(e.cursor.type="XYCursor"),m.hasValue(e.scrollbarX)&&!m.hasValue(e.scrollbarX.type)&&(e.scrollbarX.type="Scrollbar"),m.hasValue(e.scrollbarY)&&!m.hasValue(e.scrollbarY.type)&&(e.scrollbarY.type="Scrollbar"),t.prototype.processConfig.call(this,e),n.length)for(r=0;r<n.length;r++)this.yAxes.getIndex(n[r].index).config={axisRanges:n[r].axisRanges};if(i.length)for(r=0;r<i.length;r++)this.xAxes.getIndex(i[r].index).config={axisRanges:i[r].axisRanges}}},e.prototype.configOrder=function(e,i){return e==i?0:"scrollbarX"==e?1:"scrollbarX"==i?-1:"scrollbarY"==e?1:"scrollbarY"==i?-1:"series"==e?1:"series"==i?-1:t.prototype.configOrder.call(this,e,i)},e.prototype.createSeries=function(){return new h.a},Object.defineProperty(e.prototype,"zoomOutButton",{get:function(){return this._zoomOutButton},set:function(t){var e=this;this._zoomOutButton=t,t&&t.events.on("hit",function(){e.zoomAxes(e.xAxes,{start:0,end:1}),e.zoomAxes(e.yAxes,{start:0,end:1})})},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.xAxes.copyFrom(e.xAxes),this.yAxes.copyFrom(e.yAxes),this.zoomOutButton.copyFrom(e.zoomOutButton)},e}(r.a);f.b.registeredClasses.XYChart=_}},[307]);
//# sourceMappingURL=charts.js.map