diff --git a/assets/bigimg/gtacrash.jpg b/assets/bigimg/gtacrash.jpg new file mode 100644 index 00000000..1d19c11d Binary files /dev/null and b/assets/bigimg/gtacrash.jpg differ diff --git a/content/post/2020/09/486-performance-analysis.md b/content/post/2020/09/486-performance-analysis.md new file mode 100644 index 00000000..8bdc395b --- /dev/null +++ b/content/post/2020/09/486-performance-analysis.md @@ -0,0 +1,183 @@ +--- +title: 'An am486 Performance Analysis' +subtitle: "DX-40 VS DX2-66. What's it like, pressing that Turbo button?" +bigimg: gtacrash.jpg +date: 2020-09-26 +--- + +After the [Sound Blaster](/post/2020/09/486-upgrade-sound-blaster) and [SD-to-IDE](/post/2020/09/486-upgrade-sd-hdd) upgrades, it was time to do a decent performance analysis on the vintage DOS computer I now proudly own. The [original 80486 blog post](/post/2020/09/reviving-a-80486) mentioned a CPU upgrade from DX40 to DX2-66 MHz, but how big is this performance gain in practice? Let's install Dosbench and find out. + +### The benchmarks + +The system under test specs can be [found here](/post/2020/09/reviving-a-80486/). I included the following CPUs in each result: + +1. am486 DX-40 MHz, with Turbo switch ON +2. am486 DX-40 MHz, with Turbo switch OFF +3. am486 DX2-66 MHz, with Turbo switch ON +4. [Phil's Ultimate VGA Benchmark DB](https://docs.google.com/spreadsheets/d/1lvF9nOAMKLeCpHR_SaA48M7sUXItwIi72gHRcw0wpNU/edit#gid=0) reference data: the only other 486 DX-40 I could find, from user Mau1wurf1977. He runs with a Tseng ET4000 1MB VLB video card, 4MB RAM, and the same amount of motherboard cache. + +It can indeed be problematic to compare the output of various benchmarks - these might be nothing more than meaningless metrics. However, it's still fun to see bars and numbers appearing on your VGA screen and on the internet, and to try and compare them anyway. Phil's [DOS Benchmark Pack](https://www.philscomputerlab.com/dos-benchmark-pack.html) was used to carry out most of these. + + + + + +#### 3DBench FPS + +
+ +The first thing to note here is the power of the Turbo button! Without these wires jumpered on the motherboard (and the button enabled), the overall power of your PC drops by almost two thirds or `66%`. Also, the DX2, which has a `40%` faster CPU in terms of raw power, only speeds up about `13.5%` for this 3D test. Still, it tops the "magic" 30 FPS limit! + +Back in the day, anyone who was able to run a game at 30 frames per second was a happy gamer. Most games ran at half that rate, and you wouldn't care and play it anyway. In 2020, game critics complain that Mario 64 re-released in Super Mario 3D All Stars for Nintendo Switch was not bumped to 60 FPS. Maybe those guys should also build a DOS PC - and then stop whining. Sure, standards changed, but maybe our expectations are not always realistic... In the end, who cares about FPS when it plays _well_ and you're having fun? + +#### PCPBench FPS + +
+ +The small performance gain trend continues. I must admit that I am a bit disappointed, although I do realise that these benchmarks are usually VGA-intensitive. Since older games are software-accelerated, I hoped simply swapping out the CPU would net a bigger speed increase. + +#### Topbench scores + +
+ +Since I'm running `EMM386.EXE` with the extended `RAM` switch, `/p` was needed to force execution of the tests. The Topbench marks are missing from Phil's sheet. I had high hopes for this test as it's a general score that totals performance (MemTest, MemEA, Opcodes, VidMem, 3DGames). Sadly, the DX2-66 only gave a boost of about `10%`. It might again prove that the old motherboard is not up to snuff. Trying to force the motherboard bus speed into a CPU`/3` rate in the BIOS settings instead of the auto-detected `/4` does not change anything in various benchmarks I re-ran. Same thing with `UNIVBE` VESA 2 drivers. The cache writeback wait state is set on `2`, and a setting of `0` refuses to boot. + +The built-in database shows similar performing PCs: + +![](../topbench.jpg "The Topbench benchmark system (src: sparcie.wordpress.com)") + +The non-turbo DX40 closely matched a 386SX@33MHz, like the one in the screenshot above (score: 61, VS 64). So don't bother building a 80386, just press Turbo. + +#### Games: From DOOM (1993) to Duke3D (1996) + +I tried running the Duke3D shareware version but without throwing out Win3.1 drivers in `AUTOEXEC.BAT`, I couldn't even meet the minimum memory requirements of `6MB` free space. After that, `DNRATE` gave me `7` FPS on average with all settings set to high on the DX2-66. As expected, not very playable - I didn't bother with the DX40. + +For the DOOM dosbemch mark, two settings exist: everything on LOW and on HIGH. On LOW, the non-turbo DX-40 struggles to get `15` FPS (with turbo: `36`), while on HIGH, it's so bad that I had to stop the test. Phil's data sheet reveals `7.5` FPS but I suspect it's run on HIGH (one has to divide `74690` by the amount of realtics). The faster DX2 CPU adds two frames to the DX-40's LOW mode, clocking in `16.3` FPS on HIGH. + +Most games did not come equiped with a built-in frame counter and the Quake timedemos refuse to start for obvious reasons. Oh well, a FPS digit is only a number taken out of its context: I'm very content with the performance of the PC in general, it runs the following later nineties DOS games flawlessly: + +- _Hocus Pocus_ (1994) +- _Mystic Towers_ (1994) - although the sound drops off after a minute +- _Wacky Wheels_ (1994) +- _Raptor_ (1994) +- _Rise of the Triad_ (1994) +- _Jazz Jackrabbit_ (1994) +- _Realms of Chaos_ (1995) + +Even my favorite Windows 3.1 game, _Lode Runner: The Legend Returns_, which is [freeware now](https://web.archive.org/web/20081014012253/http://www.daggert.net/Folio/Programming/Presage/LodeRunner/Loderunner1.htm), works like a charm after installing Cirrus Logic Windows drivers to up the resolution and color grid: + +![](../loderunner.jpg "This game is amazing with the Wave Blaster header board!") + +Any EGA-like games earlier than 1993 (_Cosmo's Comic Adventures_, _Duke 1_, _Bio Menace_, _Crystal Caves_, _Monster Bash_, ...) are of course not a problem. The following games run OK, but not great: + +- _Doom_ and _Doom II_ (1993/1994) +- _Heretic_ and _Hexen: Beyond Heretic_ (1995) + +Unsurprisingly, those games run on the same CPU-hungry engine. It is clear that games up to 1995 are OK but after that (Duke was released in 1996), you'd need a faster Pentium (II) and perhaps even a Voodoo card for Quake to get things running. _Grand Theft Auto_ (1997) crashes after a few crawlingly slow frames (see image on top), and _Death Rally_ (1996) is more like _Stutter Rally_. I was warned: the game advertises my PC rig as the bare minimum. + +The year **1995** is indeed a turning point for PC technology: the Intel Pentium P54C with 120 MHz was finally faster than the 80486DX4-100 and Microsoft released Windows 95. + +### So, what's next, a Pentium? + +My memory is getting foggy as I do my best to recollect what computers my father and I used to build when I was just a kid. A backup of an old self-made website gave me a hint. This is an excerpt from the news entry on that site, entitled '_Merry Christmas, 24/12/2000_': (translated from Dutch) + +``` +Yes yes the christmas holidays are coming so exams are finished! No big failures that's the most important... At least for me because otherwise my dad would install 'the' Athlon Thunderbird processor (1 GHz) into his own PC instead of mine, and I need it that bad :-) Really, becuase that Pentium II 233 is already getting pretty old. Whoever has money is always upgrading! +``` + +A Thunderbird it is. Windows 98 Second Edition: here I come. + +![](../thunderbird.jpg "An Athlon Thunderbird I salvaged from scraps at work.") + +The year **2000** also is special: it was the year where the one Gig processor speed was broken, and between 2000 and 2005, this speed was increasing at a staggering rate, until the plateau of power usage was reached. [The Free Lunch Is Over article](http://www.gotw.ca/publications/concurrency-ddj.htm) explains this in more detail. My 2003 DELL Inspiron laptop used at university came packed with a Pentium 4 with a whopping 3 GHz processor. Three whole gigantic hertz-es! The 2012 MacBook Air I'm typing this on uses a more battery-friendly Core i5 1.8 GHz. + +People fond of graphs and details on the history of PC performance can eat their harts out in the excellent Maximumpc.com article called "[How the Ultimate PC Has Evolved In 15 Years](https://web.archive.org/web/20150418074002/http://www.maximumpc.com:80/article/home/history_dream_how_ultimate_pc_has_evolved_15_years)". + + + diff --git a/content/post/2020/09/486-upgrade-sound-blaster.md b/content/post/2020/09/486-upgrade-sound-blaster.md index 9e94eea9..05b5607d 100644 --- a/content/post/2020/09/486-upgrade-sound-blaster.md +++ b/content/post/2020/09/486-upgrade-sound-blaster.md @@ -60,6 +60,10 @@ Of course, this is just a sample of a single game. Other DOS MIDI masterpieces i This Sound Blaster 16 has made me childishly happy. Now where are all those floppy's? +Right, here: + +![](../dosgames.jpg "A photograph of my 2006 desk with retro DOS manuals") + --- In case anyone wants to jumper the PC Speaker pins on their Sound Blaster, configure them as follows: ([src](https://www.vogons.org/viewtopic.php?f=9&t=18283&p=131727&hilit=sound%20blaster%20speaker#p131727)): @@ -77,5 +81,6 @@ Pin 3 = Ground (No need to connect) Pin 4 = +5V ``` +Note that some static noise will inevitably make it to your boxes if you do decide to connect the motherboard pins to the Sound Blaster. That's part of the charm! [^perf]: It turns out that I forgot that the _TURBO_ pins were jumpered on themotherboard, but the button was not pressed. Without _TURBO_, the performance is comparable to a 386. Ouch, what a stupid mistake to make! Thanks [VOGONS community](https://www.vogons.org/viewtopic.php?f=46&t=76632) for the hints. diff --git a/content/post/2020/09/dos-aspect-ratios.md b/content/post/2020/09/dos-aspect-ratios.md new file mode 100644 index 00000000..e69de29b diff --git a/static/js/amcharts4animated.js b/static/js/amcharts4animated.js new file mode 100644 index 00000000..6674b49d --- /dev/null +++ b/static/js/amcharts4animated.js @@ -0,0 +1,21 @@ +/** + * @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 + */ +am4internal_webpackJsonp(["ab45"],{lhmh:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("aCit"),a=function(t){Object(n.b)(t,"SpriteState")&&(t.transitionDuration=400),Object(n.b)(t,"Component")&&(t.rangeChangeDuration=500,t.interpolationDuration=500,t.sequencedInterpolation=!1,Object(n.b)(t,"SankeyDiagram")&&(t.sequencedInterpolation=!0),Object(n.b)(t,"FunnelSeries")&&(t.sequencedInterpolation=!0)),Object(n.b)(t,"Chart")&&(t.defaultState.transitionDuration=2e3,t.hiddenState.transitionDuration=1e3),Object(n.b)(t,"Tooltip")&&(t.animationDuration=400,t.defaultState.transitionDuration=400,t.hiddenState.transitionDuration=400),Object(n.b)(t,"Scrollbar")&&(t.animationDuration=500),Object(n.b)(t,"Series")&&(t.defaultState.transitionDuration=1e3,t.hiddenState.transitionDuration=700,t.hiddenState.properties.opacity=1,t.showOnInit=!0),Object(n.b)(t,"MapSeries")&&(t.hiddenState.properties.opacity=0),Object(n.b)(t,"PercentSeries")&&(t.hiddenState.properties.opacity=0),Object(n.b)(t,"FunnelSlice")&&(t.defaultState.transitionDuration=800,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),Object(n.b)(t,"Slice")&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),Object(n.b)(t,"Preloader")&&(t.hiddenState.transitionDuration=2e3),Object(n.b)(t,"Column")&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),Object(n.b)(t,"Column3D")&&(t.hiddenState.properties.opacity=0)};window.am4themes_animated=a}},["lhmh"]); +//# sourceMappingURL=animated.js.map \ No newline at end of file diff --git a/static/js/amcharts4charts.js b/static/js/amcharts4charts.js new file mode 100644 index 00000000..57ea1456 --- /dev/null +++ b/static/js/amcharts4charts.js @@ -0,0 +1,21 @@ +/** + * @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 + */ +am4internal_webpackJsonp(["689e"],{XFs4:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={};i.d(n,"GaugeChartDataItem",function(){return F}),i.d(n,"GaugeChart",function(){return Y}),i.d(n,"RadarChartDataItem",function(){return L}),i.d(n,"RadarChart",function(){return S}),i.d(n,"XYChartDataItem",function(){return r.b}),i.d(n,"XYChart",function(){return r.a}),i.d(n,"SerialChartDataItem",function(){return W.b}),i.d(n,"SerialChart",function(){return W.a}),i.d(n,"PieChart3DDataItem",function(){return E}),i.d(n,"PieChart3D",function(){return G}),i.d(n,"PieChartDataItem",function(){return X.b}),i.d(n,"PieChart",function(){return X.a}),i.d(n,"SlicedChart",function(){return U}),i.d(n,"SlicedChartDataItem",function(){return K}),i.d(n,"FlowDiagramDataItem",function(){return ge}),i.d(n,"FlowDiagram",function(){return ye}),i.d(n,"SankeyDiagramDataItem",function(){return Ae}),i.d(n,"SankeyDiagram",function(){return Ie}),i.d(n,"ChordDiagramDataItem",function(){return _e}),i.d(n,"ChordDiagram",function(){return ke}),i.d(n,"TreeMapDataItem",function(){return Fe}),i.d(n,"TreeMap",function(){return Ye}),i.d(n,"XYChart3DDataItem",function(){return qe}),i.d(n,"XYChart3D",function(){return Ke}),i.d(n,"ChartDataItem",function(){return Z.b}),i.d(n,"Chart",function(){return Z.a}),i.d(n,"LegendDataItem",function(){return ae.b}),i.d(n,"Legend",function(){return ae.a}),i.d(n,"LegendSettings",function(){return ae.c}),i.d(n,"HeatLegend",function(){return Ue.a}),i.d(n,"SeriesDataItem",function(){return Ze.b}),i.d(n,"Series",function(){return Ze.a}),i.d(n,"XYSeriesDataItem",function(){return Qe.b}),i.d(n,"XYSeries",function(){return Qe.a}),i.d(n,"LineSeriesDataItem",function(){return s.b}),i.d(n,"LineSeries",function(){return s.a}),i.d(n,"LineSeriesSegment",function(){return Je.a}),i.d(n,"CandlestickSeriesDataItem",function(){return et}),i.d(n,"CandlestickSeries",function(){return tt}),i.d(n,"OHLCSeriesDataItem",function(){return nt}),i.d(n,"OHLCSeries",function(){return at}),i.d(n,"ColumnSeriesDataItem",function(){return Se.b}),i.d(n,"ColumnSeries",function(){return Se.a}),i.d(n,"StepLineSeriesDataItem",function(){return ot}),i.d(n,"StepLineSeries",function(){return st}),i.d(n,"RadarSeriesDataItem",function(){return c}),i.d(n,"RadarSeries",function(){return p}),i.d(n,"RadarColumnSeriesDataItem",function(){return ut}),i.d(n,"RadarColumnSeries",function(){return ht}),i.d(n,"PieSeriesDataItem",function(){return M.b}),i.d(n,"PieSeries",function(){return M.a}),i.d(n,"FunnelSeries",function(){return mt}),i.d(n,"FunnelSeriesDataItem",function(){return ft}),i.d(n,"PyramidSeries",function(){return xt}),i.d(n,"PyramidSeriesDataItem",function(){return vt}),i.d(n,"PictorialStackedSeries",function(){return Pt}),i.d(n,"PictorialStackedSeriesDataItem",function(){return bt}),i.d(n,"PieTick",function(){return Ct.a}),i.d(n,"FunnelSlice",function(){return pt}),i.d(n,"PieSeries3DDataItem",function(){return B}),i.d(n,"PieSeries3D",function(){return z}),i.d(n,"TreeMapSeriesDataItem",function(){return Re}),i.d(n,"TreeMapSeries",function(){return je}),i.d(n,"ColumnSeries3DDataItem",function(){return Ee}),i.d(n,"ColumnSeries3D",function(){return Ge}),i.d(n,"ConeSeriesDataItem",function(){return Dt}),i.d(n,"ConeSeries",function(){return Tt}),i.d(n,"CurvedColumnSeries",function(){return _t}),i.d(n,"CurvedColumnSeriesDataItem",function(){return Vt}),i.d(n,"AxisDataItem",function(){return kt.b}),i.d(n,"Axis",function(){return kt.a}),i.d(n,"Grid",function(){return x.a}),i.d(n,"AxisTick",function(){return Lt.a}),i.d(n,"AxisLabel",function(){return St.a}),i.d(n,"AxisLine",function(){return Rt.a}),i.d(n,"AxisFill",function(){return f.a}),i.d(n,"AxisRenderer",function(){return y.a}),i.d(n,"AxisBreak",function(){return jt.a}),i.d(n,"AxisBullet",function(){return A.a}),i.d(n,"ValueAxisDataItem",function(){return Le.b}),i.d(n,"ValueAxis",function(){return Le.a}),i.d(n,"CategoryAxisDataItem",function(){return T.b}),i.d(n,"CategoryAxis",function(){return T.a}),i.d(n,"CategoryAxisBreak",function(){return wt.a}),i.d(n,"DateAxisDataItem",function(){return Nt.b}),i.d(n,"DateAxis",function(){return Nt.a}),i.d(n,"DurationAxisDataItem",function(){return Ft.b}),i.d(n,"DurationAxis",function(){return Ft.a}),i.d(n,"DateAxisBreak",function(){return Yt.a}),i.d(n,"ValueAxisBreak",function(){return Wt.a}),i.d(n,"AxisRendererX",function(){return We.a}),i.d(n,"AxisRendererY",function(){return D.a}),i.d(n,"AxisRendererRadial",function(){return _}),i.d(n,"AxisLabelCircular",function(){return P.a}),i.d(n,"AxisRendererCircular",function(){return I}),i.d(n,"AxisFillCircular",function(){return v}),i.d(n,"GridCircular",function(){return b}),i.d(n,"AxisRendererX3D",function(){return Xe}),i.d(n,"AxisRendererY3D",function(){return Me}),i.d(n,"Tick",function(){return dt.a}),i.d(n,"Bullet",function(){return se.a}),i.d(n,"LabelBullet",function(){return me}),i.d(n,"CircleBullet",function(){return Xt}),i.d(n,"ErrorBullet",function(){return Mt}),i.d(n,"XYChartScrollbar",function(){return Ht.a}),i.d(n,"ClockHand",function(){return N}),i.d(n,"FlowDiagramNode",function(){return re}),i.d(n,"FlowDiagramLink",function(){return ce}),i.d(n,"SankeyNode",function(){return ve}),i.d(n,"SankeyLink",function(){return Pe}),i.d(n,"ChordNode",function(){return Te}),i.d(n,"ChordLink",function(){return Ve}),i.d(n,"NavigationBarDataItem",function(){return qt}),i.d(n,"NavigationBar",function(){return Kt}),i.d(n,"Column",function(){return He.a}),i.d(n,"Candlestick",function(){return $e}),i.d(n,"OHLC",function(){return it}),i.d(n,"RadarColumn",function(){return lt}),i.d(n,"Column3D",function(){return ze}),i.d(n,"ConeColumn",function(){return It}),i.d(n,"CurvedColumn",function(){return Ot}),i.d(n,"XYCursor",function(){return Ut.a}),i.d(n,"Cursor",function(){return Zt.a}),i.d(n,"RadarCursor",function(){return Qt});var a=i("m4/l"),r=i("0Mwj"),o=i("tjMS"),s=i("v36H"),l=i("aCit"),u=i("Gg2j"),h=i("hGwe"),c=function(e){function t(){var t=e.call(this)||this;return t.className="RadarSeriesDataItem",t.setLocation("dateX",0,0),t.setLocation("dateY",0,0),t.setLocation("categoryX",0,0),t.setLocation("categoryY",0,0),t.applyTheme(),t}return Object(a.c)(t,e),t}(s.b),p=function(e){function t(){var t=e.call(this)||this;return t.className="RadarSeries",t.connectEnds=!0,t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),e.prototype.validate.call(this)},t.prototype.createDataItem=function(){return new c},t.prototype.getPoint=function(e,t,i,n,a,r,o){r||(r="valueX"),o||(o="valueY");var s=this.yAxis.getX(e,i,a,o),l=this.yAxis.getY(e,i,a,o),h=u.getDistance({x:s,y:l});0==h&&(h=1e-5);var c=this.xAxis.getAngle(e,t,n,r),p=this.chart.startAngle,d=this.chart.endAngle;return cd?void 0:{x:h*u.cos(c),y:h*u.sin(c)}},t.prototype.addPoints=function(e,t,i,n,a){var r=this.getPoint(t,i,n,t.locations[i],t.locations[n]);r&&e.push(r)},t.prototype.getMaskPath=function(){var e=this.yAxis.renderer;return h.arc(e.startAngle,e.endAngle-e.startAngle,e.pixelRadius,e.pixelInnerRadius)},t.prototype.drawSegment=function(t,i,n){var a=this.yAxis.renderer;this.connectEnds&&360==Math.abs(a.endAngle-a.startAngle)&&(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)&&(i.push(i[0]),n.length>0&&n.unshift(n[n.length-1])),e.prototype.drawSegment.call(this,t,i,n)},Object.defineProperty(t.prototype,"connectEnds",{get:function(){return this.getPropertyValue("connectEnds")},set:function(e){this.setPropertyValue("connectEnds",e,!0)},enumerable:!0,configurable:!0}),t.prototype.positionBulletReal=function(e,t,i){var n=this.xAxis,a=this.yAxis;(tn.end||ia.end)&&(e.visible=!1),e.moveTo(this.xAxis.renderer.positionToPoint(t,i))},t.prototype.setXAxis=function(t){e.prototype.setXAxis.call(this,t),this.updateRendererRefs()},t.prototype.setYAxis=function(t){e.prototype.setYAxis.call(this,t),this.updateRendererRefs()},t.prototype.updateRendererRefs=function(){var e=this.xAxis.renderer,t=this.yAxis.renderer;e.axisRendererY=t},t}(s.a);l.c.registeredClasses.RadarSeries=p,l.c.registeredClasses.RadarSeriesDataItem=c;var d=i("C6dT"),g=i("FzPm"),y=i("Meme"),f=i("8EhG"),m=i("Mtpk"),v=function(e){function t(t){var i=e.call(this,t)||this;return i.className="AxisFillCircular",i.element=i.paper.add("path"),i.radius=Object(o.c)(100),i.applyTheme(),i}return Object(a.c)(t,e),t.prototype.draw=function(){if(e.prototype.draw.call(this),!this.__disabled&&!this.disabled&&this.axis){var t=this.axis.renderer;this.fillPath=t.getPositionRangePath(this.startPosition,this.endPosition,this.radius,m.hasValue(this.innerRadius)?this.innerRadius:t.innerRadius,this.cornerRadius),this.path=this.fillPath}},Object.defineProperty(t.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(e){this.setPropertyValue("cornerRadius",e,!0)},enumerable:!0,configurable:!0}),t}(f.a);l.c.registeredClasses.AxisFillCircular=v;var x=i("AaJ4"),b=function(e){function t(){var t=e.call(this)||this;return t.className="GridCircular",t.pixelPerfect=!1,t.applyTheme(),t}return Object(a.c)(t,e),Object.defineProperty(t.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),t}(x.a);l.c.registeredClasses.GridCircular=b;var P=i("IbTV"),C=i("v9UT"),A=i("5xph"),I=function(e){function t(){var t=e.call(this)||this;return t.pixelRadiusReal=0,t.layout="none",t.className="AxisRendererCircular",t.isMeasured=!1,t.startAngle=-90,t.endAngle=270,t.useChartAngles=!0,t.radius=Object(o.c)(100),t.isMeasured=!1,t.grid.template.location=0,t.labels.template.location=0,t.labels.template.radius=15,t.ticks.template.location=0,t.ticks.template.pixelPerfect=!1,t.tooltipLocation=0,t.line.strokeOpacity=0,t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.setAxis=function(t){var i=this;e.prototype.setAxis.call(this,t),t.isMeasured=!1;var n=t.tooltip;n.adapter.add("dx",function(e,t){var n=C.svgPointToSprite({x:t.pixelX,y:t.pixelY},i);return i.pixelRadius*Math.cos(Math.atan2(n.y,n.x))-n.x}),n.adapter.add("dy",function(e,t){var n=C.svgPointToSprite({x:t.pixelX,y:t.pixelY},i);return i.pixelRadius*Math.sin(Math.atan2(n.y,n.x))-n.y})},t.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),e.prototype.validate.call(this)},Object.defineProperty(t.prototype,"axisLength",{get:function(){return 2*Math.PI*this.pixelRadius},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pixelRadius",{get:function(){return C.relativeRadiusToValue(this.radius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"innerRadius",{get:function(){var e=this.chart,t=this.getPropertyValue("innerRadius");if(e){if(m.hasValue(t)){if(t instanceof o.a&&e){var i=e.mr,n=t.value;n=Math.max(i*n,i-Math.min(e.plotContainer.innerHeight,e.plotContainer.innerWidth))/i,t=Object(o.c)(100*n)}}else(t=e.innerRadius)instanceof o.a&&e&&(t=Object(o.c)(t.value*e.innerRadiusModifyer*100));return t}},set:function(e){this.setPercentProperty("innerRadius",e,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"useChartAngles",{get:function(){return this.getPropertyValue("useChartAngles")},set:function(e){this.setPropertyValue("useChartAngles",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pixelInnerRadius",{get:function(){return C.relativeRadiusToValue(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),t.prototype.positionToPoint=function(e,t){m.isNumber(t)||(t=1);var i=this.positionToCoordinate(e),n=this.startAngle+(this.endAngle-this.startAngle)*i/this.axisLength,a=this.pixelRadius,r=this.pixelInnerRadius;if(this.axisRendererY){var o=u.fitToRange(this.axisRendererY.positionToCoordinate(t),0,1/0);return{x:o*u.cos(n),y:o*u.sin(n)}}return{x:u.cos(n)*r+(a-r)*u.cos(n)*t,y:u.sin(n)*r+(a-r)*u.sin(n)*t}},t.prototype.positionToAngle=function(e){var t,i=this.axis,n=(this.endAngle-this.startAngle)/(i.end-i.start);return t=i.renderer.inversed?this.startAngle+(i.end-e)*n:this.startAngle+(e-i.start)*n,u.round(t,3)},t.prototype.angleToPosition=function(e){var t,i=this.axis,n=(this.endAngle-this.startAngle)/(i.end-i.start);return t=i.renderer.inversed?i.end-(e-this.startAngle)/n:(e-this.startAngle)/n+i.start,u.round(t,5)},t.prototype.updateAxisLine=function(){var e=this.pixelRadius,t=this.startAngle,i=this.endAngle,n=u.min(360,i-t);this.line.path=h.moveTo({x:e*u.cos(t),y:e*u.sin(t)})+h.arcTo(t,n,e,e)},t.prototype.updateGridElement=function(e,t,i){t+=(i-t)*e.location;var n=this.positionToPoint(t);if(m.isNumber(n.x)&&m.isNumber(n.y)&&e.element){var a=u.DEGREES*Math.atan2(n.y,n.x),r=C.relativeRadiusToValue(m.hasValue(e.radius)?e.radius:Object(o.c)(100),this.pixelRadius),s=C.relativeRadiusToValue(e.innerRadius,this.pixelRadius);e.zIndex=0;var l=C.relativeRadiusToValue(m.isNumber(s)?s:this.innerRadius,this.pixelRadiusReal,!0);m.isNumber(l)||(l=0),e.path=h.moveTo({x:l*u.cos(a),y:l*u.sin(a)})+h.lineTo({x:r*u.cos(a),y:r*u.sin(a)})}this.toggleVisibility(e,t,0,1)},t.prototype.updateTickElement=function(e,t,i){t+=(i-t)*e.location;var n=this.positionToPoint(t);if(e.element){var a=this.pixelRadius,r=u.DEGREES*Math.atan2(n.y,n.x),o=e.length;e.inside&&(o=-o),e.zIndex=1,e.path=h.moveTo({x:a*u.cos(r),y:a*u.sin(r)})+h.lineTo({x:(a+o)*u.cos(r),y:(a+o)*u.sin(r)})}this.toggleVisibility(e,t,0,1)},t.prototype.updateBullet=function(e,t,i){var n=.5;e instanceof A.a&&(n=e.location),t+=(i-t)*n;var a=this.positionToPoint(t),r=this.pixelRadius,o=u.DEGREES*Math.atan2(a.y,a.x);a={x:r*u.cos(o),y:r*u.sin(o)},this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},t.prototype.updateLabelElement=function(e,t,i,n){m.hasValue(n)||(n=e.location),t+=(i-t)*n,e.fixPosition(this.positionToAngle(t),this.pixelRadius),e.zIndex=2,this.toggleVisibility(e,t,this.minLabelPosition,this.maxLabelPosition)},t.prototype.fitsToBounds=function(e){return!0},Object.defineProperty(t.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),t.prototype.getPositionRangePath=function(e,t,i,n,a){var r="";if(m.isNumber(e)&&m.isNumber(t)){m.hasValue(i)||(i=this.radius),e=u.max(e,this.axis.start),(t=u.min(t,this.axis.end))0&&d&&c&&c instanceof T.a){var g=c.renderer.grid.template.location,y=c.getAngle(d.dataItems.getIndex(0),"categoryX",g);n=h.moveTo({x:r*u.cos(y),y:r*u.sin(y)});for(var f=1;f0&&d&&p&&p instanceof T.a){var y=p.renderer.grid.template.location,f=p.getAngle(d.dataItems.getIndex(0),"categoryX",y);i=h.moveTo({x:o*u.cos(f),y:o*u.sin(f)});for(var m=1;m=0;m--)f=p.getAngle(d.dataItems.getIndex(m),"categoryX",y),i+=h.lineTo({x:r*u.cos(f),y:r*u.sin(f)})}else i=h.arc(s,l,o,r);return i},t.prototype.updateBreakElement=function(e){var t=e.startLine,i=e.endLine,n=e.fillShape,a=e.startPoint,r=e.endPoint;t.radius=Math.abs(a.y),i.radius=Math.abs(r.y),n.radius=Math.abs(r.y),n.innerRadius=Math.abs(a.y)},t.prototype.createBreakSprites=function(e){e.startLine=new O.a,e.endLine=new O.a,e.fillShape=new O.a},t.prototype.updateTooltip=function(){if(this.axis){var e=this.axisAngle;e<0&&(e+=360);var t="vertical";(e>45&&e<135||e>225&&e<315)&&(t="horizontal"),this.axis.updateTooltip(t,{x:-4e3,y:-4e3,width:8e3,height:8e3})}},t.prototype.updateTickElement=function(e,t,i){t+=(i-t)*e.location;var n=this.positionToPoint(t);if(e.element){var a=u.normalizeAngle(this.axisAngle+90);a/90!=Math.round(a/90)?e.pixelPerfect=!1:e.pixelPerfect=!0;var r=-e.length;e.inside&&(r*=-1),e.path=h.moveTo({x:0,y:0})+h.lineTo({x:r*u.cos(a),y:r*u.sin(a)})}this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},t.prototype.updateBullet=function(e,t,i){var n=.5;e instanceof A.a&&(n=e.location),t+=(i-t)*n;var a=this.positionToPoint(t);this.positionItem(e,a),this.toggleVisibility(e,t,0,1)},t.prototype.positionToCoordinate=function(e){var t,i=this.axis,n=i.axisFullLength,a=this.pixelInnerRadius;return t=i.renderer.inversed?(i.end-e)*n+a:(e-i.start)*n+a,u.round(t,1)},t.prototype.pointToPosition=function(e){var t=u.getDistance(e)-this.pixelInnerRadius;return this.coordinateToPosition(t)},Object.defineProperty(t.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){this._chart.set(e,null)},enumerable:!0,configurable:!0}),t}(D.a);l.c.registeredClasses.AxisRendererRadial=_;var k=i("Wglt"),L=function(e){function t(){var t=e.call(this)||this;return t.className="RadarChartDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(r.b),S=function(e){function t(){var t=e.call(this)||this;t._axisRendererX=I,t._axisRendererY=_,t.innerRadiusModifyer=1,t.mr=1,t.className="RadarChart",t.startAngle=-90,t.endAngle=270,t.radius=Object(o.c)(80),t.innerRadius=0;var i=t.plotContainer.createChild(d.a);return i.shouldClone=!1,i.layout="absolute",i.align="center",i.valign="middle",t.seriesContainer.parent=i,t.radarContainer=i,t.bulletsContainer.parent=i,t.axisBulletsContainer=i,t._cursorContainer=i,t.chartContainer.events.on("maxsizechanged",t.invalidate,t,!1),t._bulletMask=i.createChild(g.a),t._bulletMask.shouldClone=!1,t._bulletMask.element=t.paper.add("path"),t._bulletMask.opacity=0,t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.applyInternalDefaults=function(){e.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Radar chart"))},t.prototype.processAxis=function(t){e.prototype.processAxis.call(this,t);var i=t.renderer;i.gridContainer.parent=i,i.breakContainer.parent=i,t.parent=this.radarContainer,i.toBack()},t.prototype.handleXAxisRangeChange=function(){e.prototype.handleXAxisRangeChange.call(this),k.each(this.yAxes.iterator(),function(e){e.invalidate()})},t.prototype.handleYAxisRangeChange=function(){e.prototype.handleYAxisRangeChange.call(this),k.each(this.xAxes.iterator(),function(e){e.invalidate()})},t.prototype.processConfig=function(t){if(t&&(m.hasValue(t.cursor)&&!m.hasValue(t.cursor.type)&&(t.cursor.type="RadarCursor"),m.hasValue(t.series)&&m.isArray(t.series)))for(var i=0,n=t.series.length;ia&&(this.rotation=a+360),this.animate({property:"rotation",to:n},t,i)}},Object.defineProperty(t.prototype,"currentPosition",{get:function(){if(this.axis)return this.axis.renderer.angleToPosition(this.rotation)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){this.showValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"axis",{get:function(){return this._axis.get()},set:function(e){if(this.axis!=e&&this._axis.set(e,new V.c([e.events.on("datavalidated",this.updateValue,this,!1),e.events.on("datarangechanged",this.updateValue,this,!1),e.events.on("dataitemsvalidated",this.updateValue,this,!1),e.events.on("propertychanged",this.invalidate,this,!1)])),e){var t=e.chart;t&&(this.rotation=t.startAngle)}this.parent=e.renderer,this.zIndex=5},enumerable:!0,configurable:!0}),t.prototype.updateValue=function(){this.value=this.value},t.prototype.processConfig=function(t){t&&m.hasValue(t.axis)&&m.isString(t.axis)&&this.map.hasKey(t.axis)&&(t.axis=this.map.getKey(t.axis)),e.prototype.processConfig.call(this,t)},t}(d.a);l.c.registeredClasses.ClockHand=N;var F=function(e){function t(){var t=e.call(this)||this;return t.className="GaugeChartDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(L),Y=function(e){function t(){var t=e.call(this)||this;return t.className="GaugeChart",t.startAngle=180,t.endAngle=360,t.hands=new R.e(new N),t.hands.events.on("inserted",t.processHand,t,!1),t._disposers.push(new R.c(t.hands)),t._disposers.push(t.hands.template),t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.applyInternalDefaults=function(){e.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Gauge chart"))},t.prototype.processHand=function(e){var t=e.newValue;t.axis||(t.axis=this.xAxes.getIndex(0))},t.prototype.configOrder=function(t,i){return t==i?0:"hands"==t?1:"hands"==i?-1:e.prototype.configOrder.call(this,t,i)},t}(S);l.c.registeredClasses.GaugeChart=Y;var W=i("2I/e"),X=i("quKg"),M=i("Puh1"),H=i("nPzZ"),B=function(e){function t(){var t=e.call(this)||this;return t.className="PieSeries3DDataItem",t.values.depthValue={},t.applyTheme(),t}return Object(a.c)(t,e),Object.defineProperty(t.prototype,"depthValue",{get:function(){return this.values.depthValue.value},set:function(e){this.setValue("depthValue",e)},enumerable:!0,configurable:!0}),t}(M.b),z=function(e){function t(){var t=e.call(this)||this;return t.className="PieSeries3D",t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.createDataItem=function(){return new B},t.prototype.createSlice=function(){return new H.a},t.prototype.validateDataElement=function(t){var i=t.slice,n=this.depth;m.isNumber(n)||(n=this.chart.depth);var a=t.values.depthValue.percent;m.isNumber(a)||(a=100),i.depth=a*n/100;var r=this.angle;m.isNumber(r)||(r=this.chart.angle),i.angle=r,e.prototype.validateDataElement.call(this,t)},t.prototype.validate=function(){e.prototype.validate.call(this);for(var t=this._workingStartIndex;t=-90&&n<90?i.toFront():n>=90&&i.toBack()}},Object.defineProperty(t.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){this.setPropertyValue("angle",e)},enumerable:!0,configurable:!0}),t.prototype.positionBullet=function(t){e.prototype.positionBullet.call(this,t);var i=t.dataItem.slice;t.y=t.pixelY-i.depth},t}(M.a);l.c.registeredClasses.PieSeries3D=z,l.c.registeredClasses.PieSeries3DDataItem=B;var E=function(e){function t(){var t=e.call(this)||this;return t.className="PieChart3DDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(X.b),G=function(e){function t(){var t=e.call(this)||this;return t.className="PieChart3D",t.depth=20,t.angle=10,t.applyTheme(),t}return Object(a.c)(t,e),Object.defineProperty(t.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e)&&this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){e=u.fitToRange(e,0,90),this.setPropertyValue("angle",e)&&this.invalidateDataUsers()},enumerable:!0,configurable:!0}),t.prototype.createSeries=function(){return new z},t}(X.a);l.c.registeredClasses.PieChart3D=G;var q=i("DXFp"),K=function(e){function t(){var t=e.call(this)||this;return t.className="SlicedChartDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(q.b),U=function(e){function t(){var t=e.call(this)||this;return t.className="SlicedChart",t.seriesContainer.layout="horizontal",t.padding(15,15,15,15),t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.applyInternalDefaults=function(){e.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Sliced chart"))},t.prototype.validate=function(){e.prototype.validate.call(this)},t}(q.a);l.c.registeredClasses.SlicedChart=U,l.c.registeredClasses.SlicedChartDataItem=K;var Z=i("VIOb"),Q=i("+qIf"),J=i("Vs7R"),$=i("wUYf"),ee=i("MlsF"),te=i("3Cxr"),ie=i("CnhP"),ne=i("Qkdp"),ae=i("uWmK"),re=function(e){function t(){var t=e.call(this)||this;return t.legendSettings=new ae.c,t.className="FlowDiagramNode",t.isMeasured=!1,new w.a,t.draggable=!0,t.inert=!0,t.setStateOnChildren=!0,t.events.on("positionchanged",t.invalidateLinks,t,!1),t.events.on("sizechanged",t.invalidateLinks,t,!1),t}return Object(a.c)(t,e),t.prototype.handleHit=function(e){this.isHidden||this.isHiding?this.show():this.hide()},t.prototype.show=function(t){var i=e.prototype.show.call(this,t);return this.outgoingDataItems.each(function(e){(!e.toNode||e.toNode&&!e.toNode.isHidden)&&e.setWorkingValue("value",e.getValue("value"),t)}),this.incomingDataItems.each(function(e){(!e.fromNode||e.fromNode&&!e.fromNode.isHidden)&&e.setWorkingValue("value",e.getValue("value"),t)}),i},t.prototype.hide=function(t){var i=e.prototype.hide.call(this,t);return this.outgoingDataItems.each(function(e){e.setWorkingValue("value",0,t)}),this.incomingDataItems.each(function(e){e.setWorkingValue("value",0,t)}),i},t.prototype.validate=function(){this.isDisposed()||(e.prototype.validate.call(this),this.invalidateLinks())},t.prototype.invalidateLinks=function(){var e=this;this.outgoingDataItems.each(function(t){var i=t.link;if("fromNode"==i.colorMode&&(i.fill=i.dataItem.fromNode.color),"gradient"==i.colorMode){i.fill=i.gradient,i.stroke=i.gradient;var n=i.gradient.stops.getIndex(0);n&&(n.color=e.color,i.gradient.validate())}}),this.incomingDataItems.each(function(t){var i=t.link;if("toNode"==i.colorMode&&(i.fill=i.dataItem.toNode.color),"gradient"==i.colorMode){i.fill=i.gradient,i.stroke=i.gradient;var n=i.gradient.stops.getIndex(1);n&&(n.color=e.color,i.gradient.validate())}})},Object.defineProperty(t.prototype,"incomingDataItems",{get:function(){var e=this;if(!this._incomingDataItems){var t=new R.b;t.events.on("inserted",function(){"name"==e.chart.sortBy?e._incomingSorted=k.sort(e._incomingDataItems.iterator(),function(e,t){return $.order(e.fromName,t.fromName)}):"value"==e.chart.sortBy?e._incomingSorted=k.sort(e._incomingDataItems.iterator(),function(e,t){return ee.b(te.order(e.value,t.value))}):e._incomingSorted=e._incomingDataItems.iterator()},void 0,!1),this._incomingDataItems=t}return this._incomingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outgoingDataItems",{get:function(){var e=this;if(!this._outgoingDataItems){var t=new R.b;t.events.on("inserted",function(){"name"==e.chart.sortBy?e._outgoingSorted=k.sort(e._outgoingDataItems.iterator(),function(e,t){return $.order(e.fromName,t.fromName)}):"value"==e.chart.sortBy?e._outgoingSorted=k.sort(e._outgoingDataItems.iterator(),function(e,t){return ee.b(te.order(e.value,t.value))}):e._outgoingSorted=e._outgoingDataItems.iterator()},void 0,!1),this._outgoingDataItems=t}return this._outgoingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.getPropertyValue("name")},set:function(e){this.setPropertyValue("name",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"total",{get:function(){return this.getPropertyValue("total")},set:function(e){this.setPropertyValue("total",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"totalIncoming",{get:function(){return this.getPropertyValue("totalIncoming")},set:function(e){this.setPropertyValue("totalIncoming",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"totalOutgoing",{get:function(){return this.getPropertyValue("totalOutgoing")},set:function(e){this.setPropertyValue("totalOutgoing",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this.getPropertyValue("color")},set:function(e){this.setColorProperty("color",e),this._background&&(this._background.fill=e),this.fill=e},enumerable:!0,configurable:!0}),t.prototype.createLegendMarker=function(e){var t=e.pixelWidth,i=e.pixelHeight;e.removeChildren();var n=e.createChild(ie.a);n.shouldClone=!1,ne.copyProperties(this,n,J.b),n.stroke=this.fill,n.copyFrom(this),n.padding(0,0,0,0),n.width=t,n.height=i;var a=e.dataItem;a.color=n.fill,a.colorOrig=n.fill},Object.defineProperty(t.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(e){this._legendDataItem=e,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),t}(d.a);l.c.registeredClasses.FlowDiagramNode=re;var oe=i("sxA1"),se=i("TXRX"),le=i("8ZqG"),ue=i("jfaP"),he=i("PTiM"),ce=function(e){function t(){var t=e.call(this)||this;t.className="FlowDiagramLink";var i=new w.a;return t.maskBullets=!1,t.colorMode="fromNode",t.layout="none",t.isMeasured=!1,t.startAngle=0,t.endAngle=0,t.strokeOpacity=0,t.verticalCenter="none",t.horizontalCenter="none",t.tooltipText="{fromName}→{toName}:{value.value}",t.tooltipLocation=.5,t.link=t.createChild(J.a),t.link.shouldClone=!1,t.link.setElement(t.paper.add("path")),t.link.isMeasured=!1,t.fillOpacity=.2,t.fill=i.getFor("alternativeBackground"),t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.positionBullets=function(){var e=this;k.each(this.bullets.iterator(),function(t){t.parent=e.bulletsContainer,t.maxWidth=e.maxWidth,t.maxHeight=e.maxHeight,e.positionBullet(t)})},Object.defineProperty(t.prototype,"bulletsContainer",{get:function(){if(!this._bulletsContainer){var e=this.createChild(d.a);e.shouldClone=!1,e.layout="none",this._bulletsContainer=e}return this._bulletsContainer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bulletsMask",{get:function(){if(!this._bulletsMask){var e=this.createChild(J.a);e.shouldClone=!1,e.setElement(this.paper.add("path")),e.isMeasured=!1,this._bulletsMask=e}return this._bulletsMask},enumerable:!0,configurable:!0}),t.prototype.positionBullet=function(e){var t=e.locationX;m.isNumber(t)||(t=e.locationY),m.isNumber(t)||(t=.5);var i=this.middleLine.positionToPoint(t);e.moveTo(i);var n,a=e.propertyFields.rotation;e.dataItem&&(n=e.dataItem.dataContext[a]);m.isNumber(n)||(n=i.angle),e.rotation=n},Object.defineProperty(t.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"colorMode",{get:function(){return this.getPropertyValue("colorMode")},set:function(e){if("gradient"==e){var t=this.fill;this.gradient.stops.clear(),t instanceof le.a&&(this.gradient.addColor(t),this.gradient.addColor(t)),this.fill=this.gradient,this.stroke=this.gradient}this.setPropertyValue("colorMode",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(e){this.setPropertyValue("maskBullets",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(e){this.setPropertyValue("tooltipLocation",e,!0)},enumerable:!0,configurable:!0}),t.prototype.setFill=function(t){e.prototype.setFill.call(this,t);var i=this._gradient;i&&t instanceof le.a&&(i.stops.clear(),i.addColor(t),i.addColor(t))},t.prototype.measureElement=function(){},Object.defineProperty(t.prototype,"bullets",{get:function(){var e=this;return this._bullets||(this._bullets=new R.e(new se.a),this._disposers.push(new R.c(this._bullets)),this._disposers.push(this._bullets.template),this._bullets.events.on("inserted",function(t){t.newValue.events.on("propertychanged",function(t){"locationX"!=t.property&&"locationY"!=t.property||e.positionBullet(t.target)},void 0,!1)},void 0,!1)),this._bullets},enumerable:!0,configurable:!0}),t.prototype.copyFrom=function(t){e.prototype.copyFrom.call(this,t),this.bullets.copyFrom(t.bullets);var i=this.middleLine;i&&(i instanceof he.a&&t.middleLine instanceof he.a&&i.copyFrom(t.middleLine),i instanceof ue.a&&t.middleLine instanceof ue.a&&i.copyFrom(t.middleLine)),this.link.copyFrom(t.link)},t.prototype.getTooltipX=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).x},t.prototype.getTooltipY=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).y},Object.defineProperty(t.prototype,"gradient",{get:function(){return this._gradient||(this._gradient=new oe.a),this._gradient},enumerable:!0,configurable:!0}),t}(d.a);l.c.registeredClasses.FlowDiagramLink=ce;var pe=i("/e9j"),de=i("DHte"),ge=function(e){function t(){var t=e.call(this)||this;return t.className="FlowDiagramDataItem",t.values.value={},t.applyTheme(),t}return Object(a.c)(t,e),Object.defineProperty(t.prototype,"fromName",{get:function(){return this.properties.fromName},set:function(e){this.setProperty("fromName",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"toName",{get:function(){return this.properties.toName},set:function(e){this.setProperty("toName",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this.properties.color},set:function(e){this.setProperty("color",Object(le.e)(e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.values.value.value},set:function(e){this.setValue("value",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"link",{get:function(){var e=this;if(!this._link){var t=this.component.links.create();this._link=t,this.addSprite(t),this._disposers.push(new V.b(function(){e.component&&e.component.links.removeValue(t)}))}return this._link},enumerable:!0,configurable:!0}),t}(Z.b),ye=function(e){function t(){var t=e.call(this)||this;t.colors=new de.a,t.className="FlowDiagram",t.nodePadding=20,t.sortBy="none",t.sequencedInterpolation=!0,t.colors.step=2,t.minNodeSize=.02;var i=t.chartContainer.createChild(d.a);i.shouldClone=!1,i.layout="none",i.isMeasured=!1,t.linksContainer=i;var n=t.chartContainer.createChild(d.a);return n.shouldClone=!1,n.layout="none",n.isMeasured=!1,t.nodesContainer=n,t.dataItem=t.createDataItem(),t.dataItem.component=t,t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this.dataItem.dispose()},t.prototype.validateData=function(){var t=this;0==this._parseDataFrom&&this.nodes.clear(),this.sortNodes(),this.colors.reset(),e.prototype.validateData.call(this);var i,n,a=0,r=0;k.each(this.dataItems.iterator(),function(e){var o=e.fromName;o&&((s=t.nodes.getKey(o))||((s=t.nodes.create(o)).name=o,s.chart=t,s.dataItem=e),e.fromNode=s,e.fromNode.outgoingDataItems.push(e));var s,l=e.toName;l&&((s=t.nodes.getKey(l))||((s=t.nodes.create(l)).name=l,s.chart=t,s.dataItem=e),e.toNode=s,e.toNode.incomingDataItems.push(e));if(!e.fromNode){var u=new pe.a;u.opacities=[0,1],e.link.strokeModifier=u}if(!e.toNode){var h=new pe.a;h.opacities=[1,0],e.link.strokeModifier=h}var c=e.value;m.isNumber(c)&&(a+=c,r++,(i>c||!m.isNumber(i))&&(i=c),(nthis.dataItems.length||k.each(e.incomingDataItems.iterator(),function(e){t.checkLoop(e.fromNode)})},t.prototype.calculateValueHeight=function(){var e=this;this._levelSum={},this._levelNodesCount={},this.maxSum=0;var t,i,n,a=this.dataItem.values.value.sum;k.each(this._sorted,function(t){var i=t[1];e.getNodeValue(i)}),this.nodes.each(function(t,i){var n=i.level,r=Math.max(i.totalIncoming,i.totalOutgoing);r/al||!m.isNumber(n))&&(n=l,e.maxSum=o,i=m.toNumber(a))}),this._maxSumLevel=i;var r=this._levelNodesCount[this._maxSumLevel],o=(t-(r-1)*this.nodePadding)/this.maxSum;if(o==1/0&&(o=0),m.isNumber(this.valueHeight)){var s=void 0;try{s=this._heightAnimation.animationOptions[0].to}catch(e){}if(s!=o){var l=this.interpolationDuration;try{l=this.nodes.template.states.getKey("active").transitionDuration}catch(e){}this._heightAnimation=new Ce.a(this,{property:"valueHeight",from:this.valueHeight,to:o},l,this.interpolationEasing).start(),this._disposers.push(this._heightAnimation)}}else this.valueHeight=o},t.prototype.validate=function(){var t=this;e.prototype.validate.call(this),this.calculateValueHeight();var i,n=this.nodesContainer,a={},r=this._levelNodesCount[this._maxSumLevel],o=this.dataItem.values.value.sum;i="horizontal"==this.orientation?this.chartContainer.maxHeight-1:this.chartContainer.maxWidth-1,k.each(this._sorted,function(e){var s,l,u,h=e[1],c=h.level,p=0,d=t._levelNodesCount[c];switch(t.nodeAlign){case"bottom":p=(t.maxSum-t._levelSum[c])*t.valueHeight-(d-r)*t.nodePadding;break;case"middle":p=(t.maxSum-t._levelSum[c])*t.valueHeight/2-(d-r)*t.nodePadding/2}if(0==t.maxSum)switch(t.nodeAlign){case"bottom":p=i-d*(t.minNodeSize*i+t.nodePadding);break;case"middle":p=i/2-d/2*(t.minNodeSize*i+t.nodePadding)}h.parent=n;var g=Math.max(h.totalIncoming,h.totalOutgoing);if(g/o0){var n=this.nodesContainer,a=0;k.each(this.links.iterator(),function(e){e.hide(0)}),k.each(this._sorted,function(e){var t,r=e[1];"horizontal"==i.orientation?(r.dx=-(n.pixelWidth-r.pixelWidth)/Math.max(i._levelCount,1),t="dx"):(r.dy=-(n.pixelHeight-r.pixelHeight)/Math.max(i._levelCount,1),t="dy");var o=0,s=i.interpolationDuration;i.sequencedInterpolation&&(o=i.sequencedInterpolationDelay*a+s*a/k.length(i.nodes.iterator())),r.opacity=0,r.invalidateLinks(),r.animate([{property:"opacity",from:0,to:1},{property:t,to:0}],i.interpolationDuration,i.interpolationEasing).delay(o),k.each(r.outgoingDataItems.iterator(),function(e){var t=e.link.show(i.interpolationDuration);t&&!t.isFinished()&&t.delay(o)}),k.each(r.incomingDataItems.iterator(),function(e){if(!e.fromNode){var t=e.link.show(i.interpolationDuration);t&&!t.isFinished()&&t.delay(o)}}),a++})}return e.prototype.showReal.call(this)}},t.prototype.changeSorting=function(){var e=this;this.sortNodes();var t={};k.each(this._sorted,function(i){var n,a,r=i[1],o=r.level,s=(e.maxSum-e._levelSum[o])*e.valueHeight/2;"horizontal"==e.orientation?(n="y",a=r.pixelHeight):(n="x",a=r.pixelWidth),r.animate({property:n,to:t[o]||s},e.interpolationDuration,e.interpolationEasing),t[o]=(t[o]||s)+a+e.nodePadding,r.invalidateLinks()})},t.prototype.applyInternalDefaults=function(){e.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Sankey diagram"))},t.prototype.createDataItem=function(){return new Ae},Object.defineProperty(t.prototype,"nodeAlign",{get:function(){return this.getPropertyValue("nodeAlign")},set:function(e){this.setPropertyValue("nodeAlign",e),this.changeSorting()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e,!0);var t=this.nodes.template.nameLabel;"vertical"==e?(this.nodes.template.width=void 0,t.label.horizontalCenter="middle",t.locationX=.5):(this.nodes.template.height=void 0,t.label.horizontalCenter="left",t.locationX=1)},enumerable:!0,configurable:!0}),t.prototype.createNode=function(){var e=new ve;return this._disposers.push(e),e},t.prototype.createLink=function(){var e=new Pe;return this._disposers.push(e),e},Object.defineProperty(t.prototype,"valueHeight",{get:function(){return this._valueHeight},set:function(e){e!=this._valueHeight&&(this._valueHeight=e,this.invalidate())},enumerable:!0,configurable:!0}),t.prototype.disposeData=function(){e.prototype.disposeData.call(this),this._sorted=this.nodes.iterator()},t}(ye);l.c.registeredClasses.SankeyDiagram=Ie;var De=i("Inf5"),Te=function(e){function t(){var t=e.call(this)||this;t.className="ChordNode";var i=t.createChild(P.a);i.location=.5,i.radius=5,i.text="{name}",i.zIndex=1,i.shouldClone=!1,t.label=i,t.layout="none",t.events.on("positionchanged",t.updateRotation,t,!1),t.isMeasured=!1,t.slice=t.createChild(De.a),t.slice.isMeasured=!1;var n=t.hiddenState;return n.properties.fill=(new w.a).getFor("disabledBackground"),n.properties.opacity=.5,n.properties.visible=!0,t.setStateOnChildren=!1,t.slice.hiddenState.properties.visible=!0,t.adapter.add("tooltipX",function(e,t){return t.slice.ix*(t.slice.radius-(t.slice.radius-t.slice.pixelInnerRadius)/2)}),t.adapter.add("tooltipY",function(e,t){return t.slice.iy*(t.slice.radius-(t.slice.radius-t.slice.pixelInnerRadius)/2)}),t}return Object(a.c)(t,e),t.prototype.invalidateLinks=function(){var t=this;e.prototype.invalidateLinks.call(this);var i=this.label,n=this.slice,a=this.chart;if(a&&n){var r=this.total,o=n.arc,s=n.startAngle;this.children.each(function(e){if(e instanceof se.a){var t=e.locationX;m.isNumber(t)||(t=.5);var i=e.locationY;m.isNumber(i)||(i=1);var a=s+o*t,r=i*n.radius;e.x=r*u.cos(a),e.y=r*u.sin(a)}});var l=s+o*i.location,h=s+(1-r/this.adjustedTotal)*o*.5;m.isNaN(h)&&(h=s),i.fixPosition(l,n.radius),this.nextAngle=h,this._outgoingSorted&&k.each(this._outgoingSorted,function(e){var i=e.link;i.parent=t.chart.linksContainer;var r=e.getWorkingValue("value");if(m.isNumber(r)){if(a.nonRibbon){var l=i.percentWidth;m.isNumber(l)||(l=5),l/=100,i.startAngle=s+o/2-o/2*l,i.arc=o*l}else i.arc=r*a.valueAngle,i.startAngle=t.nextAngle,t.nextAngle+=i.arc;e.toNode||(i.endAngle=i.startAngle),i.radius=n.pixelInnerRadius}}),this._incomingSorted&&k.each(this._incomingSorted,function(e){var i=e.link;if(i.radius=n.pixelInnerRadius,a.nonRibbon){var r=i.percentWidth;m.isNumber(r)||(r=5),r/=100,i.endAngle=s+o/2-o/2*r,i.arc=o*r}else{i.endAngle=t.nextAngle;var l=e.getWorkingValue("value");m.isNumber(l)&&(i.arc=l*a.valueAngle,t.nextAngle+=i.arc)}e.fromNode||(i.startAngle=i.endAngle)})}},t.prototype.updateRotation=function(){var e=this.slice,t=this.trueStartAngle+e.arc/2,i=e.radius,n=i*u.cos(t),a=i*u.sin(t),r=u.getAngle({x:n+this.pixelX,y:a+this.pixelY});e.startAngle=this.trueStartAngle+(r-t),this.dx=-this.pixelX,this.dy=-this.pixelY},t.prototype.copyFrom=function(t){e.prototype.copyFrom.call(this,t),this.label.copyFrom(t.label),this.slice.copyFrom(t.slice)},t}(re);l.c.registeredClasses.ChordNode=Te;var Oe=function(e){function t(){var t=e.call(this)||this;return t.className="QuadraticCurve",t.element=t.paper.add("path"),t.pixelPerfect=!1,t.fill=Object(le.c)(),t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.draw=function(){if(m.isNumber(this.x1+this.x2+this.y1+this.y2+this.cpx+this.cpy)){var e={x:this.x1,y:this.y1},t={x:this.x2,y:this.y2},i={x:this.cpx,y:this.cpy},n=h.moveTo(e)+h.quadraticCurveTo(t,i);this.path=n}},Object.defineProperty(t.prototype,"cpx",{get:function(){return this.getPropertyValue("cpx")},set:function(e){this.setPropertyValue("cpx",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cpy",{get:function(){return this.getPropertyValue("cpy")},set:function(e){this.setPropertyValue("cpy",e,!0)},enumerable:!0,configurable:!0}),t.prototype.positionToPoint=function(e){var t={x:this.x1,y:this.y1},i={x:this.cpx,y:this.cpy},n={x:this.x2,y:this.y2},a=u.getPointOnQuadraticCurve(t,n,i,e),r=u.getPointOnQuadraticCurve(t,n,i,e+.001);return{x:a.x,y:a.y,angle:u.getAngle(a,r)}},t}(he.a),Ve=function(e){function t(){var t=e.call(this)||this;return t.className="ChordLink",t.middleLine=t.createChild(Oe),t.middleLine.shouldClone=!1,t.middleLine.strokeOpacity=0,t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.validate=function(){if(e.prototype.validate.call(this),!this.isTemplate){var t=this.startAngle,i=this.endAngle,n=this.arc,a=this.radius,r=this.dataItem.fromNode,o=this.dataItem.toNode,s=0,l=0;r&&(s=r.pixelX+r.dx,l=r.pixelY+r.dy);var c=0,p=0;if(o&&(c=o.pixelX+o.dx,p=o.pixelY+o.dy),a>0){var d=a*u.cos(t)+s,g=a*u.sin(t)+l,y=a*u.cos(i)+c,f=a*u.sin(i)+p,m={x:0,y:0},v=h.moveTo({x:d,y:g});v+=h.arcTo(t,n,a),v+=h.quadraticCurveTo({x:y,y:f},m),v+=h.arcTo(i,n,a),v+=h.quadraticCurveTo({x:d,y:g},m),this.link.path=n>0?v:"",this.maskBullets&&(this.bulletsMask.path=v,this.bulletsContainer.mask=this.bulletsMask);var x=t+n/2,b=i+n/2,P=this.middleLine;P.x1=a*u.cos(x)+s,P.y1=a*u.sin(x)+l,P.x2=a*u.cos(b)+c,P.y2=a*u.sin(b)+p,P.cpx=0,P.cpy=0,P.stroke=this.fill,this.positionBullets()}}},Object.defineProperty(t.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPropertyValue("radius",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(e){this.setPropertyValue("arc",e,!0)},enumerable:!0,configurable:!0}),t}(ce);l.c.registeredClasses.ChordLink=Ve;var _e=function(e){function t(){var t=e.call(this)||this;return t.className="ChordDiagramDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(ge),ke=function(e){function t(){var t=e.call(this)||this;t.valueAngle=0,t.className="ChordDiagram",t.startAngle=-90,t.endAngle=270,t.radius=Object(o.c)(80),t.innerRadius=-15,t.nodePadding=5;var i=t.chartContainer.createChild(d.a);return i.align="center",i.valign="middle",i.shouldClone=!1,i.layout="absolute",t.chordContainer=i,t.nodesContainer.parent=i,t.linksContainer.parent=i,t.chartContainer.events.on("maxsizechanged",t.invalidate,t,!1),t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.validate=function(){var t=this,i=this.chartContainer,n=this.endAngle,a=this.startAngle+this.nodePadding/2,r=u.getArcRect(this.startAngle,this.endAngle,1);r=u.getCommonRectangle([r,{x:0,y:0,width:0,height:0}]);var o=Math.min(i.innerWidth/r.width,i.innerHeight/r.height);m.isNumber(o)||(o=0);var s=C.relativeRadiusToValue(this.radius,o),l=C.relativeRadiusToValue(this.innerRadius,s,!0),h=this.dataItem.values.value.sum,c=0,p=0;k.each(this._sorted,function(e){var i=e[1];t.getNodeValue(i),c++;var n=i.total;i.total/hthis.currentLevel||e.children&&e.children.length>0)&&(i.columns.template.cursorOverStyle=we.a.pointer,this.zoomable&&i.columns.template.events.on("hit",function(i){var n=i.target.dataItem;e.level>t.currentLevel?t.zoomToChartDataItem(n.treeMapDataItem.parent):t.zoomToSeriesDataItem(n)},this,void 0))}this._tempSeries.push(e.series)},t.prototype.toggleBullets=function(e){var t=this;k.each(this.series.iterator(),function(i){-1==t._tempSeries.indexOf(i)?(i.columnsContainer.hide(),i.bulletsContainer.hide(e)):(i.columnsContainer.show(),i.bulletsContainer.show(e),i.dataItems.each(function(e){e.bullets.each(function(e,t){t.show()})}),i.level1&&i.dataItems.each(function(e){e.treeMapDataItem.children&&e.bullets.each(function(e,t){t.hide()})}))})},t.prototype.zoomToSeriesDataItem=function(e){this.zoomToChartDataItem(e.treeMapDataItem)},t.prototype.zoomToChartDataItem=function(e){var t=this;e||(e=this._homeDataItem);var i=this.zoomOutButton;if(i&&(e!=this._homeDataItem?i.show():i.hide()),e&&e.children){this.xAxis.zoomToValues(e.x0,e.x1),this.yAxis.zoomToValues(e.y0,e.y1),this.currentLevel=e.level,this.currentlyZoomed=e,this.createTreeSeries(e);var n=this.xAxis.rangeChangeAnimation||this.yAxis.rangeChangeAnimation;!n||n.isDisposed()||n.isFinished()?this.toggleBullets():(this._dataDisposers.push(n),n.events.once("animationended",function(){t.toggleBullets()}))}},t.prototype.applyInternalDefaults=function(){e.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("TreeMap chart"))},t.prototype.createDataItem=function(){return new Fe},Object.defineProperty(t.prototype,"maxLevels",{get:function(){return this.getPropertyValue("maxLevels")},set:function(e){this.setPropertyValue("maxLevels",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLevel",{get:function(){return this.getPropertyValue("currentLevel")},set:function(e){this.setPropertyValue("currentLevel",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hideParentColumns",{get:function(){return this.getPropertyValue("hideParentColumns")},set:function(e){this.setPropertyValue("hideParentColumns",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sorting",{get:function(){return this.getPropertyValue("sorting")},set:function(e){this.setPropertyValue("sorting",e,!0)},enumerable:!0,configurable:!0}),t.prototype.createSeries=function(){return new je},Object.defineProperty(t.prototype,"homeText",{get:function(){return this._homeText},set:function(e){this._homeText=e,this._homeDataItem&&(this._homeDataItem.name=this._homeText)},enumerable:!0,configurable:!0}),t.prototype.processConfig=function(t){if(t){if(m.hasValue(t.layoutAlgorithm)&&m.isString(t.layoutAlgorithm))switch(t.layoutAlgorithm){case"squarify":t.layoutAlgorithm=this.squarify;break;case"binaryTree":t.layoutAlgorithm=this.binaryTree;break;case"slice":t.layoutAlgorithm=this.slice;break;case"dice":t.layoutAlgorithm=this.dice;break;case"sliceDice":t.layoutAlgorithm=this.sliceDice;break;default:delete t.layoutAlgorithm}m.hasValue(t.navigationBar)&&!m.hasValue(t.navigationBar.type)&&(t.navigationBar.type="NavigationBar"),e.prototype.processConfig.call(this,t)}},t.prototype.validateLayout=function(){e.prototype.validateLayout.call(this),this.layoutItems(this.currentlyZoomed)},t.prototype.validateDataItems=function(){e.prototype.validateDataItems.call(this),this.layoutItems(this._homeDataItem),k.each(this.series.iterator(),function(e){e.validateRawData()}),this.zoomToChartDataItem(this._homeDataItem)},t.prototype.binaryTree=function(e){var t,i,n=e.children,a=n.length,r=new Array(a+1);for(r[0]=i=t=0;t0&&function e(t,i,a,o,s,l,u){if(t>=i-1){var h=n.getIndex(t);return h.x0=o,h.y0=s,h.x1=l,void(h.y1=u)}var c=r[t],p=a/2+c,d=t+1,g=i-1;for(;d>>1;r[y]u-s){var v=(o*m+l*f)/a;e(t,d,f,o,s,v,u),e(d,i,m,v,s,l,u)}else{var x=(s*m+u*f)/a;e(t,d,f,o,s,l,x),e(d,i,m,o,x,l,u)}}(0,a,e.value,e.x0,e.y0,e.x1,e.y1)},t.prototype.slice=function(e){for(var t,i=e.x0,n=e.x1,a=e.y0,r=e.y1,o=e.children,s=-1,l=o.length,u=e.value&&(r-a)/e.value;++so&&(o=t),h=a*a*u,(s=Math.max(o/h,h/r))>l){a-=t;break}l=s}var P=this.dataItems.template.clone();P.value=a,P.dice=i1)return e;if(1==e.children.length){var t=e.children.getIndex(0);return t.children?this.getLegendLevel(t):e}return e}},Object.defineProperty(t.prototype,"homeDataItem",{get:function(){return this._homeDataItem},enumerable:!0,configurable:!0}),t.prototype.feedLegend=function(){var e=this.legend;if(e){e.dataFields.name="name";var t=this.getLegendLevel(this._homeDataItem);if(t){var i=[];t.children.each(function(e){i.push(e)}),e.data=i}}},t.prototype.disposeData=function(){e.prototype.disposeData.call(this),this._homeDataItem=void 0,this.series.clear(),this.navigationBar&&this.navigationBar.disposeData(),this.xAxis.disposeData(),this.yAxis.disposeData()},t.prototype.getExporting=function(){var t=this,i=e.prototype.getExporting.call(this);return i.adapter.add("formatDataFields",function(e){return"csv"!=e.format&&"xlsx"!=e.format||m.hasValue(t.dataFields.children)&&delete e.dataFields[t.dataFields.children],e}),i},t}(r.a);l.c.registeredClasses.TreeMap=Ye;var We=i("k6kv"),Xe=function(e){function t(){var t=e.call(this)||this;return t._chart=new V.d,t.className="AxisRendererX3D",t._disposers.push(t._chart),t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.updateGridElement=function(e,t,i){t+=(i-t)*e.location;var n=this.positionToPoint(t);if(e.element){var a=this.chart.dx3D||0,r=this.chart.dy3D||0,o=this.getHeight();e.path=h.moveTo({x:a,y:r})+h.lineTo({x:a,y:o+r})+h.lineTo({x:0,y:o})}this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},t.prototype.updateBaseGridElement=function(){e.prototype.updateBaseGridElement.call(this);var t=this.getHeight(),i=this.chart.dx3D||0,n=this.chart.dy3D||0;this.baseGrid.path=h.moveTo({x:i,y:n})+h.lineTo({x:0,y:0})+h.lineTo({x:0,y:t})},Object.defineProperty(t.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){e&&this._chart.set(e,e.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),t.prototype.handle3DChanged=function(e){"depth"!=e.property&&"angle"!=e.property||this.invalidate()},t}(We.a);l.c.registeredClasses.AxisRendererX3D=Xe;var Me=function(e){function t(){var t=e.call(this)||this;return t._chart=new V.d,t.className="AxisRendererY3D",t._disposers.push(t._chart),t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.updateGridElement=function(e,t,i){t+=(i-t)*e.location;var n=this.positionToPoint(t);if(e.element){var a=this.chart.dx3D||0,r=this.chart.dy3D||0,o=this.getWidth();e.path=h.moveTo({x:0,y:0})+h.lineTo({x:a,y:r})+h.lineTo({x:o+a,y:r})}this.positionItem(e,n),this.toggleVisibility(e,t,0,1)},t.prototype.updateBaseGridElement=function(){e.prototype.updateBaseGridElement.call(this);var t=this.chart.dx3D||0,i=this.chart.dy3D||0,n=this.getWidth();this.baseGrid.path=h.moveTo({x:0,y:0})+h.lineTo({x:n,y:0})+h.lineTo({x:n+t,y:i})},Object.defineProperty(t.prototype,"chart",{get:function(){return this._chart.get()},set:function(e){e&&this._chart.set(e,e.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),t.prototype.handle3DChanged=function(e){"depth"!=e.property&&"angle"!=e.property||this.invalidate()},t}(D.a),He=i("DG6Q"),Be=i("Mr4Y"),ze=function(e){function t(){var t=e.call(this)||this;return t.className="Column3D",t}return Object(a.c)(t,e),t.prototype.createAssets=function(){this.column3D=this.createChild(Be.a),this.column3D.shouldClone=!1,this.column3D.strokeOpacity=0,this.column=this.column3D},t.prototype.validate=function(){e.prototype.validate.call(this),this.column3D&&(this.column3D.width=this.pixelWidth,this.column3D.height=this.pixelHeight,this.column3D.invalid&&this.column3D.validate())},t.prototype.copyFrom=function(t){e.prototype.copyFrom.call(this,t),this.column3D&&this.column3D.copyFrom(t.column3D)},t.prototype.setFill=function(t){e.prototype.setFill.call(this,t),this.column.fill=t},t}(He.a);l.c.registeredClasses.Column3D=ze;var Ee=function(e){function t(){var t=e.call(this)||this;return t.className="ColumnSeries3DDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(Se.b),Ge=function(e){function t(){var t=e.call(this)||this;return t.className="ColumnSeries3D",t.columns.template.column3D.applyOnClones=!0,t.columns.template.hiddenState.properties.visible=!0,t.applyTheme(),t}return Object(a.c)(t,e),Object.defineProperty(t.prototype,"columnsContainer",{get:function(){var e=this.chart;return e&&e.columnsContainer&&"vertical"!=e.leftAxesContainer.layout&&"vertical"!=e.rightAxesContainer.layout&&"horizontal"!=e.bottomAxesContainer.layout&&"horizontal"!=e.topAxesContainer.layout?e.columnsContainer:this._columnsContainer},enumerable:!0,configurable:!0}),t.prototype.validateDataElementReal=function(t){e.prototype.validateDataElementReal.call(this,t),t.column&&(t.column.dx=this.dx,t.column.dy=this.dy)},t.prototype.validateDataElements=function(){e.prototype.validateDataElements.call(this),this.chart&&this.chart.invalidateLayout()},t.prototype.createColumnTemplate=function(){return new ze},Object.defineProperty(t.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e,!0),this.columns.template.column3D.depth=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){this.setPropertyValue("angle",e),this.columns.template.column3D.angle=e},enumerable:!0,configurable:!0}),t}(Se.a);l.c.registeredClasses.ColumnSeries3D=Ge,l.c.registeredClasses.ColumnSeries3DDataItem=Ee;var qe=function(e){function t(){var t=e.call(this)||this;return t.className="XYChart3DDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(r.b),Ke=function(e){function t(){var t=e.call(this)||this;t._axisRendererX=Xe,t._axisRendererY=Me,t.className="XYChart3D",t.depth=30,t.angle=30;var i=t.seriesContainer.createChild(d.a);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",t.columnsContainer=i,t.columnsContainer.mask=t.createChild(J.a),t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.updateSeriesMasks=function(){if(e.prototype.updateSeriesMasks.call(this),C.isIE()){var t=this.columnsContainer,i=t.mask;t.mask=void 0,t.mask=i}},Object.defineProperty(t.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(e){this.setPropertyValue("depth",e),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(e){this.setPropertyValue("angle",e),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dx3D",{get:function(){return u.cos(this.angle)*this.depth},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dy3D",{get:function(){return-u.sin(this.angle)*this.depth},enumerable:!0,configurable:!0}),t.prototype.validateLayout=function(){e.prototype.validateLayout.call(this),this.fixColumns()},t.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.fixLayout.call(this)},t.prototype.fixColumns=function(){var e=this,t=1,i=0;k.each(this.series.iterator(),function(e){e instanceof Ge&&(!e.clustered&&i>0&&t++,e.depthIndex=t-1,i++)});var n=0;k.each(this.series.iterator(),function(i){if(i instanceof Ge){i.depth=e.depth/t,i.angle=e.angle,i.columnsContainer==e.columnsContainer&&(i.dx=e.depth/t*u.cos(e.angle)*i.depthIndex,i.dy=-e.depth/t*u.sin(e.angle)*i.depthIndex);var a=!1;(i.baseAxis==i.xAxis&&i.xAxis.renderer.inversed||i.baseAxis==i.yAxis&&i.yAxis.renderer.inversed)&&(a=!0);var r=1;i.dataItems.each(function(e){var t=e.column;t&&(t.zIndex=a?1e3*(1e3-r)+n-100*i.depthIndex:1e3*r+n-100*i.depthIndex),r++}),a?n--:n++}}),this.maskColumns()},t.prototype.processConfig=function(t){if(t&&m.hasValue(t.series)&&m.isArray(t.series))for(var i=0,n=t.series.length;i0&&t.length>0)if(a){var o=h.moveTo(e[0]);if(e.length>0)for(var s=1;s0||this.fillSprite.fillOpacity>0)&&(o=h.moveTo(e[0])+h.polyline(e),o+=h.lineTo(t[0])+h.polyline(t),o+=h.lineTo(e[0]),o+=h.closePath(),this.fillSprite.path=o)}else{o=h.moveTo(e[0])+h.polyline(e);this.strokeSprite.path=o,(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(o+=h.lineTo(t[0])+h.polyline(t),o+=h.lineTo(e[0]),o+=h.closePath(),this.fillSprite.path=o)}},t}(Je.a);l.c.registeredClasses.StepLineSeriesSegment=rt;var ot=function(e){function t(){var t=e.call(this)||this;return t.className="StepLineSeriesDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(s.b),st=function(e){function t(){var t=e.call(this)||this;return t.className="StepLineSeries",t.applyTheme(),t.startLocation=0,t.endLocation=1,t}return Object(a.c)(t,e),t.prototype.createDataItem=function(){return new ot},t.prototype.addPoints=function(e,t,i,n,a){var r,o,s,l;this.baseAxis==this.xAxis&&(r=this.startLocation,o=this.endLocation,s=this.getAdjustedXLocation(t,this.yOpenField),l=this.getAdjustedXLocation(t,this.yField)),this.baseAxis==this.yAxis&&(s=this.startLocation,l=this.endLocation,r=this.getAdjustedXLocation(t,this.xOpenField),o=this.getAdjustedXLocation(t,this.xField));var h=this.xAxis.getX(t,i,r),c=this.yAxis.getY(t,n,s),p=this.xAxis.getX(t,i,o),d=this.yAxis.getY(t,n,l);if(h=u.fitToRange(h,-1e5,1e5),c=u.fitToRange(c,-1e5,1e5),p=u.fitToRange(p,-1e5,1e5),d=u.fitToRange(d,-1e5,1e5),!this.noRisers&&e.length>1){var g=e[e.length-1];this.baseAxis==this.xAxis&&(a?e.push({x:g.x,y:d}):e.push({x:h,y:g.y})),this.baseAxis==this.yAxis&&(a?e.push({x:p,y:g.y}):e.push({x:g.x,y:c}))}var y={x:h,y:c},f={x:p,y:d};a?e.push(f,y):e.push(y,f)},t.prototype.drawSegment=function(e,t,i){var n=!1;this.yAxis==this.baseAxis&&(n=!0),e.drawSegment(t,i,this.tensionX,this.tensionY,this.noRisers,n)},t.prototype.createSegment=function(){return new rt},Object.defineProperty(t.prototype,"noRisers",{get:function(){return this.getPropertyValue("noRisers")},set:function(e){this.setPropertyValue("noRisers",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(e){this.setPropertyValue("startLocation",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(e){this.setPropertyValue("endLocation",e,!0)},enumerable:!0,configurable:!0}),t}(s.a);l.c.registeredClasses.StepLineSeries=st,l.c.registeredClasses.StepLineSeriesDataItem=ot;var lt=function(e){function t(){var t=e.call(this)||this;return t.className="RadarColumn",t}return Object(a.c)(t,e),t.prototype.createAssets=function(){this.radarColumn=this.createChild(De.a),this.radarColumn.shouldClone=!1,this.radarColumn.strokeOpacity=void 0,this.column=this.radarColumn},t.prototype.copyFrom=function(t){e.prototype.copyFrom.call(this,t),this.radarColumn&&this.radarColumn.copyFrom(t.radarColumn)},t.prototype.getTooltipX=function(){var e=this.getPropertyValue("tooltipX");return m.isNumber(e)?e:this.radarColumn.getTooltipX()},t.prototype.getTooltipY=function(){var e=this.getPropertyValue("tooltipX");return m.isNumber(e)?e:this.radarColumn.getTooltipY()},t}(He.a);l.c.registeredClasses.RadarColumn=lt;var ut=function(e){function t(){var t=e.call(this)||this;return t.className="ColumnSeriesDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(Se.b),ht=function(e){function t(){var t=e.call(this)||this;return t.className="RadarColumnSeries",t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.createColumnTemplate=function(){return new lt},t.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),e.prototype.validate.call(this)},t.prototype.disableUnusedColumns=function(e){e&&(e.column&&(e.column.__disabled=!0),k.each(this.axisRanges.iterator(),function(t){var i=e.rangesColumns.getKey(t.uid);i&&(i.__disabled=!0)}))},t.prototype.validateDataElementReal=function(e){var t,i,n,a,r=this,s=this.chart.startAngle,l=this.chart.endAngle,h=this.yField,c=this.yOpenField,p=this.xField,d=this.xOpenField,g=this.getStartLocation(e),y=this.getEndLocation(e),f=(l-s)/(this.dataItems.length*(this.end-this.start)),m=e.column;m||(m=this.columns.create(),e.column=m,ne.copyProperties(this,m,J.b),ne.copyProperties(this.columns.template,m,J.b),e.addSprite(m),m.paper=this.paper,this.setColumnStates(m));var v=m.width,x=100;v instanceof o.a&&(x=v.percent);var b=u.round((y-g)*(1-x/100)/2,5);if(g+=b,y-=b,this.xAxis instanceof T.a&&this.yAxis instanceof T.a?(n=u.getDistance({x:this.yAxis.getX(e,h,0,"valueY"),y:this.yAxis.getY(e,h,0,"valueY")}),a=u.getDistance({x:this.yAxis.getX(e,c,1,"valueY"),y:this.yAxis.getY(e,c,1,"valueY")}),t=this.xAxis.getAngle(e,d,0,"valueX"),i=this.xAxis.getAngle(e,p,1,"valueX"),s+=g*f,l-=(1-y)*f):this.baseAxis==this.xAxis?(n=u.getDistance({x:this.yAxis.getX(e,h,e.locations[h],"valueY"),y:this.yAxis.getY(e,h,e.locations[h],"valueY")}),a=u.getDistance({x:this.yAxis.getX(e,c,e.locations[c],"valueY"),y:this.yAxis.getY(e,c,e.locations[c],"valueY")}),t=this.xAxis.getAngle(e,d,g,"valueX"),i=this.xAxis.getAngle(e,p,y,"valueX"),s+=g*f,l-=(1-y)*f):(n=u.getDistance({x:this.yAxis.getX(e,h,g,"valueY"),y:this.yAxis.getY(e,h,g,"valueY")}),a=u.getDistance({x:this.yAxis.getX(e,c,y,"valueY"),y:this.yAxis.getY(e,c,y,"valueY")}),t=this.xAxis.getAngle(e,p,e.locations[p],"valueX"),i=this.xAxis.getAngle(e,d,e.locations[d],"valueX")),i0?(C.arc=A,C.radius=n,C.innerRadius=a,m.__disabled=!1,m.parent=this.columnsContainer,k.each(this.axisRanges.iterator(),function(i){var o=e.rangesColumns.getKey(i.uid);o||(o=r.columns.create(),ne.forceCopyProperties(r.columns.template,o,J.b),ne.copyProperties(i.contents,o,J.b),o.dataItem&&Ne.remove(o.dataItem.sprites,o),e.addSprite(o),o.paper=r.paper,r.setColumnStates(o),e.rangesColumns.setKey(i.uid,o));var s=o.radarColumn;s.startAngle=t,s.arc=A,s.radius=n,s.innerRadius=a,s.invalid&&(s.paper=r.paper,s.validate()),o.__disabled=!1,o.parent=i.contents})):this.disableUnusedColumns(e)},t.prototype.getPoint=function(e,t,i,n,a,r,o){r||(r="valueX"),o||(o="valueY");var s=this.yAxis.getX(e,i,a,o),l=this.yAxis.getY(e,i,a,o),h=u.getDistance({x:s,y:l});0==h&&(h=1e-5);var c=this.xAxis.getAngle(e,t,n,r);return{x:h*u.cos(c),y:h*u.sin(c)}},t.prototype.getMaskPath=function(){var e=this.yAxis.renderer;return h.arc(e.startAngle,e.endAngle-e.startAngle,e.pixelRadius,e.pixelInnerRadius)},t.prototype.positionBulletReal=function(e,t,i){var n=this.xAxis,a=this.yAxis;(tn.end||ia.end)&&(e.visible=!1),e.moveTo(this.xAxis.renderer.positionToPoint(t,i))},t.prototype.setXAxis=function(t){e.prototype.setXAxis.call(this,t),this.updateRendererRefs()},t.prototype.setYAxis=function(t){e.prototype.setYAxis.call(this,t),this.updateRendererRefs()},t.prototype.updateRendererRefs=function(){var e=this.xAxis.renderer,t=this.yAxis.renderer;e.axisRendererY=t},t}(Se.a);l.c.registeredClasses.RadarColumnSeries=ht,l.c.registeredClasses.RadarColumnSeriesDataItem=ut;var ct=i("AC2I"),pt=function(e){function t(){var t=e.call(this)||this;return t.slice=t.createChild(J.a),t.slice.shouldClone=!1,t.slice.setElement(t.paper.add("path")),t.slice.isMeasured=!1,t.orientation="vertical",t.bottomWidth=Object(o.c)(100),t.topWidth=Object(o.c)(100),t.isMeasured=!1,t.width=10,t.height=10,t.expandDistance=0,t.className="FunnelSlice",t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.draw=function(){e.prototype.draw.call(this);var t=this.pixelPaddingTop,i=this.pixelPaddingBottom,n=this.pixelPaddingRight,a=this.pixelPaddingLeft,r=this.pixelWidth-n-a,o=this.pixelHeight-t-i,s=this.expandDistance,l="";if("vertical"==this.orientation){var u={x:(r-(v=C.relativeToValue(this.topWidth,r)))/2+a,y:t},c={x:(r+v)/2+a,y:t},p={x:(r+(x=C.relativeToValue(this.bottomWidth,r)))/2+a,y:t+o},d={x:(r-x)/2+a,y:t+o},g={x:c.x+(p.x-c.x)/2+s*o,y:c.y+.5*o},y={x:u.x+(d.x-u.x)/2-s*o,y:u.y+.5*o},f=h.lineTo(p),m="";0!=s&&(f=h.quadraticCurveTo(p,g),m=h.quadraticCurveTo(u,y)),l=h.moveTo(u)+h.lineTo(c)+f+h.lineTo(d)+m,this.tickPoint={x:c.x+(p.x-c.x)/2,y:c.y+(p.y-c.y)/2}}else{var v,x,b={x:a,y:(o-(v=C.relativeToValue(this.topWidth,o)))/2+t},P={x:a,y:(o+v)/2+t},A={x:a+r,y:(o-(x=C.relativeToValue(this.bottomWidth,o)))/2+t},I={x:a+r,y:(o+x)/2+t};g={y:b.y+(A.y-b.y)/2-s*r,x:b.x+.5*r},y={y:P.y+(I.y-P.y)/2+s*r,x:P.x+.5*r},f=h.lineTo(A),m="";0!=s&&(f=h.quadraticCurveTo(A,g),m=h.quadraticCurveTo(P,y)),l=h.moveTo(P)+h.lineTo(b)+f+h.lineTo(I)+m,this.tickPoint={y:P.y+(I.y-P.y)/2,x:P.x+(I.x-P.x)/2}}this.slice.path=l,this.invalidateLayout()},t.prototype.getPoint=function(e,t){var i=this.pixelPaddingTop,n=this.pixelPaddingBottom,a=this.pixelPaddingRight,r=this.pixelPaddingLeft,o=this.pixelWidth-a-r,s=this.pixelHeight-i-n;if("vertical"==this.orientation){var l={x:(o-(p=C.relativeToValue(this.topWidth,o)))/2+r,y:i},u={x:(o+p)/2+r,y:i},h={x:(o+(d=C.relativeToValue(this.bottomWidth,o)))/2+r,y:i+s},c=l.x+({x:(o-d)/2+r,y:i+s}.x-l.x)*t;return{x:c+(u.x+(h.x-u.x)*t-c)*e,y:u.y+(h.y-u.y)*t}}var p,d,g={x:r,y:(s-(p=C.relativeToValue(this.topWidth,s)))/2+i},y={x:r,y:(s+p)/2+i},f={x:r+o,y:(s-(d=C.relativeToValue(this.bottomWidth,s)))/2+i},m=g.y+(f.y-g.y)*e;return{y:m+(y.y+({x:r+o,y:(s+d)/2+i}.y-y.y)*e-m)*t,x:g.x+(f.x-g.x)*e}},Object.defineProperty(t.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(e){this.setPercentProperty("bottomWidth",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")},set:function(e){this.setPercentProperty("topWidth",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"expandDistance",{get:function(){return this.getPropertyValue("expandDistance")},set:function(e){this.setPropertyValue("expandDistance",e,!0)},enumerable:!0,configurable:!0}),t.prototype.copyFrom=function(t){e.prototype.copyFrom.call(this,t),this.slice&&this.slice.copyFrom(t.slice)},t}(d.a);l.c.registeredClasses.FunnelSlice=pt;var dt=i("qzbU"),gt=function(e){function t(){var t=e.call(this)||this;return t._label=new V.d,t._slice=new V.d,t.className="FunnelTick",t.element=t.paper.add("path"),t._disposers.push(t._label),t._disposers.push(t._slice),t.setPropertyValue("locationX",0),t.setPropertyValue("locationY",0),t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.draw=function(){e.prototype.draw.call(this);var t=this.slice,i=t.getPoint(this.locationX,this.locationY);if(i){var n=this.label,a=t.dataItem.component,r=void 0,o=void 0,s=void 0;if("vertical"==a.orientation){var l=n.pixelX,u=n.pixelY;a.labelsOpposite||(l+=n.maxRight),r=C.spritePointToSprite(i,t,this.parent),s=C.spritePointToSprite({x:l,y:u},n.parent,this.parent),o={x:n.parent.pixelX-this.length,y:s.y},a.labelsOpposite||(o.x=n.parent.measuredWidth+this.length)}else{l=n.pixelX,u=n.pixelY;a.labelsOpposite||(u+=n.maxBottom),r=C.spritePointToSprite(i,t,this.parent),o={x:(s=C.spritePointToSprite({x:l,y:u},n.parent,this.parent)).x,y:n.parent.pixelY-this.length},a.labelsOpposite||(o.y=n.parent.measuredHeight+this.length)}this.path=h.moveTo(r)+h.lineTo(o)+h.lineTo(s)}},Object.defineProperty(t.prototype,"slice",{get:function(){return this._slice.get()},set:function(e){this._slice.set(e,new V.c([e.events.on("transformed",this.invalidate,this,!1),e.events.on("validated",this.invalidate,this,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this._label.get()},set:function(e){this._label.set(e,e.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(e){this.setPropertyValue("locationX",e,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(e){this.setPropertyValue("locationY",e,!1,!0)},enumerable:!0,configurable:!0}),t}(dt.a);l.c.registeredClasses.FunnelTick=gt;var yt=i("Q4nc"),ft=function(e){function t(){var t=e.call(this)||this;return t.className="FunnelSeriesDataItem",t.events.on("visibilitychanged",function(){t.component&&t.component.invalidateDataItems()},t,!1),t.applyTheme(),t}return Object(a.c)(t,e),Object.defineProperty(t.prototype,"sliceLink",{get:function(){var e=this;if(!this._sliceLink){var t=this.component.sliceLinks.create();this._sliceLink=t,this._disposers.push(t),t.parent=this.component.slicesContainer,this._disposers.push(new V.b(function(){e.component&&e.component.sliceLinks.removeValue(t)})),this.addSprite(t),t.visible=this.visible}return this._sliceLink},enumerable:!0,configurable:!0}),t}(ct.b),mt=function(e){function t(){var t=e.call(this)||this;return t._nextY=0,t.className="FunnelSeries",t.orientation="vertical",t.width=Object(o.c)(100),t.height=Object(o.c)(100),t.slicesContainer.width=Object(o.c)(100),t.slicesContainer.height=Object(o.c)(100),t._disposers.push(t.slicesContainer.events.on("maxsizechanged",t.invalidateDataItems,t,!1)),t.labelsOpposite=!0,t.labelsContainer.layout="absolute",t.bottomRatio=0,t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.createSlice=function(){return new pt},t.prototype.createTick=function(){return new gt},t.prototype.applyInternalDefaults=function(){e.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Funnel Series"))},t.prototype.createDataItem=function(){return new ft},t.prototype.initSlice=function(e){e.isMeasured=!1,e.defaultState.properties.scale=1,e.observe("scale",this.handleSliceScale,this),e.observe(["dx","dy","x","y"],this.handleSliceMove,this),e.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})",e.states.create("hover").properties.expandDistance=.2},t.prototype.initLabel=function(t){e.prototype.initLabel.call(this,t),t.verticalCenter="middle",t.horizontalCenter="middle",t.isMeasured=!0,t.padding(5,5,5,5)},t.prototype.validate=function(){e.prototype.validate.call(this),this._nextY=0},t.prototype.validateDataElements=function(){var t=this,i=this.slicesContainer,n=this.labelsContainer,a=this.labels.template;this.alignLabels?(a.interactionsEnabled=!0,i.isMeasured=!0,n.isMeasured=!0):(a.interactionsEnabled=!1,i.isMeasured=!1,n.isMeasured=!1);var r=0,o=0;this.dataItems.each(function(e){m.hasValue(e.value)&&(o++,e.value>0?r+=Math.abs(e.getWorkingValue("value")/e.value):t.ignoreZeroValues?o--:!e.visible||e.__disabled||e.isHiding?o--:r+=1)}),this._total=1/o*r,this._count=o,e.prototype.validateDataElements.call(this),this.arrangeLabels()},t.prototype.getNextValue=function(e){var t=e.index,i=e.getWorkingValue("value");if(t0){var t=this.labels.getIndex(e);return t.__disabled||!t.visible?this.getLastLabel(e-1):t}},t.prototype.arrangeLabels=function(){if(this.alignLabels){var e=this.labels.length;if(e>1){var t=this.getLastLabel(e-1);if(t){var i=t.pixelY,n=t.pixelX;if(e>1){for(var a=e-2;a>=0;a--){(r=this.labels.getIndex(a)).visible&&!r.__disabled&&(r.invalid&&r.validate(),"vertical"==this.orientation?r.pixelY+r.measuredHeight>i&&(r.y=Math.min(1e6,i-r.measuredHeight)):r.pixelX+r.measuredWidth>n&&(r.x=Math.min(1e6,n-r.measuredWidth)),i=r.pixelY,n=r.pixelX)}i=0,n=0;for(a=0;a0){var a=e.getWorkingValue("value")/e.value,r=e.sliceLink;"vertical"==t.orientation?n-=r.pixelHeight*a:i-=r.pixelWidth*a}}),this._pyramidHeight=C.relativeToValue(this.pyramidHeight,n),this._pyramidWidth=C.relativeToValue(this.pyramidHeight,i),"vertical"==this.orientation){var a=(n-this._pyramidHeight)/2;this.slicesContainer.y=a,this.labelsContainer.y=a,this.ticksContainer.y=a}else{var r=(i-this._pyramidWidth)/2;this.slicesContainer.x=r,this.labelsContainer.x=r,this.ticksContainer.x=r}e.prototype.validateDataElements.call(this)},t.prototype.decorateSlice=function(e){var t=this.dataItem.values.value.absoluteSum;if(0!=t){var i=e.slice,n=e.sliceLink,a=e.label,r=e.tick;this.getNextValue(e);var o=Math.abs(e.getWorkingValue("value")),s=this._pyramidWidth,l=this._pyramidHeight,u=this.slicesContainer.innerWidth,h=this.slicesContainer.innerHeight,c=n.pixelWidth,p=n.pixelHeight;if(0==e.value&&this.ignoreZeroValues?e.__disabled=!0:e.__disabled=!1,"vertical"==this.orientation){var d=C.relativeToValue(this.topWidth,u);m.isNumber(this._nextWidth)||(this._nextWidth=d);var g=C.relativeToValue(this.bottomWidth,u),y=this._nextWidth,f=Math.atan2(l,d-g);0==(A=Math.tan(Math.PI/2-f))&&(A=1e-8);var v=void 0,x=void 0;if("area"==this.valueIs){var b=(d+g)/2*l*o/t,P=Math.abs(y*y-2*b*A);x=(v=(y-Math.sqrt(P))/A)>0?(2*b-v*y)/v:y}else x=y-(v=l*o/t)*A;i.height=v,i.width=u,i.bottomWidth=x,i.topWidth=y,n.topWidth=i.bottomWidth,n.bottomWidth=i.bottomWidth,i.y=this._nextY,this.alignLabels?a.x=0:a.x=u/2,a.y=i.pixelY+i.pixelHeight*r.locationY+i.dy,this._nextY+=i.pixelHeight+p*o/Math.max(Math.abs(e.value),1e-8),n.y=this._nextY-p,n.x=u/2}else{d=C.relativeToValue(this.topWidth,h);m.isNumber(this._nextWidth)||(this._nextWidth=d);var A;g=C.relativeToValue(this.bottomWidth,h),y=this._nextWidth,f=Math.atan2(s,d-g);0==(A=Math.tan(Math.PI/2-f))&&(A=1e-8);var I=void 0;x=void 0;if("area"==this.valueIs)x=(2*(b=(d+g)/2*s*o/t)-(I=(y-Math.sqrt(y*y-2*b*A))/A)*y)/I;else x=y-(I=s*o/t)*A;i.width=I,i.height=h,i.bottomWidth=x,i.topWidth=y,n.topWidth=i.bottomWidth,n.bottomWidth=i.bottomWidth,i.x=this._nextY,this.alignLabels?a.y=this.labelsContainer.measuredHeight:a.y=h/2,a.x=i.pixelX+i.pixelWidth*r.locationX+i.dx,this._nextY+=i.pixelWidth+c*o/Math.max(Math.abs(e.value),1e-8),n.x=this._nextY-c,n.y=h/2}this._nextWidth=i.bottomWidth}},Object.defineProperty(t.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")},set:function(e){this.setPercentProperty("topWidth",e,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pyramidHeight",{get:function(){return this.getPropertyValue("pyramidHeight")},set:function(e){this.setPercentProperty("pyramidHeight",e,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(e){this.setPercentProperty("bottomWidth",e,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueIs",{get:function(){return this.getPropertyValue("valueIs")},set:function(e){this.setPropertyValue("valueIs",e)&&this.invalidate()},enumerable:!0,configurable:!0}),t}(mt);l.c.registeredClasses.PyramidSeries=xt,l.c.registeredClasses.PyramidSeriesDataItem=vt;var bt=function(e){function t(){var t=e.call(this)||this;return t.className="PictorialStackedSeriesDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(vt),Pt=function(e){function t(){var t=e.call(this)||this;return t.className="PictorialStackedSeries",t.topWidth=Object(o.c)(100),t.bottomWidth=Object(o.c)(100),t.valueIs="height",t.applyTheme(),t.startLocation=0,t.endLocation=1,t.align="center",t.valign="middle",t._maskSprite=t.slicesContainer.createChild(J.a),t._maskSprite.visible=!1,t._maskSprite.zIndex=100,t._maskSprite.shouldClone=!1,t}return Object(a.c)(t,e),t.prototype.validateDataElements=function(){var t=this.slicesContainer.maxWidth,i=this.slicesContainer.maxHeight,n=this._maskSprite,a=n.measuredWidth/n.scale,r=n.measuredHeight/n.scale,o=u.min(i/r,t/a);o==1/0&&(o=1),o=u.max(.001,o);var s,l,h=this.startLocation,c=this.endLocation,p=u.min(t,a*o),d=u.min(i,r*o);n.scale=o,"vertical"==this.orientation?(this.topWidth=p+4,this.bottomWidth=p+4,this.pyramidHeight=d*(c-h),n.x=t/2,n.y=d/2):(this.topWidth=d+4,this.bottomWidth=d+4,this.pyramidHeight=p*(c-h),n.valign="middle",n.x=p/2,n.y=i/2),n.verticalCenter="middle",n.horizontalCenter="middle",e.prototype.validateDataElements.call(this),"vertical"==this.orientation?("bottom"==this.valign&&(s=i-d),"middle"==this.valign&&(s=(i-d)/2),"top"==this.valign&&(s=0),"left"==this.align&&(l=-(t-p)/2),"center"==this.align&&(l=0),"right"==this.align&&(l=(t-p)/2),this.slices.template.dy=h*d,this.alignLabels&&(this.slicesContainer.dx=l)):("bottom"==this.valign&&(s=(i-d)/2),"middle"==this.valign&&(s=0),"top"==this.valign&&(s=-(i-d)/2),"left"==this.align&&(l=0),"center"==this.align&&(l=(t-p)/2),"right"==this.align&&(l=t-p),this.slices.template.dx=h*p,this.alignLabels&&(this.slicesContainer.dy=s)),this.slicesContainer.x=l,this.labelsContainer.x=l,this.ticksContainer.x=l,this.slicesContainer.y=s,this.labelsContainer.y=s,this.ticksContainer.y=s,p>0&&d>0&&(this.slicesContainer.mask=n)},t.prototype.applyInternalDefaults=function(){e.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pyramid Series"))},t.prototype.createDataItem=function(){return new bt},Object.defineProperty(t.prototype,"maskSprite",{get:function(){return this._maskSprite},enumerable:!0,configurable:!0}),t.prototype.initSlice=function(t){e.prototype.initSlice.call(this,t);var i=t.states.getKey("hover");i&&(i.properties.expandDistance=0)},Object.defineProperty(t.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(e){this.setPropertyValue("startLocation",e)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(e){this.setPropertyValue("endLocation",e)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),t}(xt);l.c.registeredClasses.PictorialStackedSeries=Pt,l.c.registeredClasses.PictorialStackedSeriesDataItem=bt;var Ct=i("BmDP"),At=i("ncT3"),It=function(e){function t(){var t=e.call(this)||this;return t.className="ConeColumn",t}return Object(a.c)(t,e),t.prototype.createAssets=function(){this.coneColumn=this.createChild(At.a),this.coneColumn.shouldClone=!1,this.column=this.coneColumn},t.prototype.copyFrom=function(t){e.prototype.copyFrom.call(this,t),this.coneColumn&&this.coneColumn.copyFrom(t.coneColumn)},t}(He.a);l.c.registeredClasses.ConeColumn=It;var Dt=function(e){function t(){var t=e.call(this)||this;return t.className="ConeSeriesDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(Se.b),Tt=function(e){function t(){var t=e.call(this)||this;return t.className="ConeSeries",t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.createColumnTemplate=function(){return new It},t.prototype.getMaskPath=function(){var e=0,t=0,i=this.columns.getIndex(0);if(i)return this.baseAxis==this.xAxis?t=i.coneColumn.innerWidth/2+1:e=i.coneColumn.innerHeight/2+1,h.rectToPath({x:-e,y:0,width:this.xAxis.axisLength+e,height:this.yAxis.axisLength+t})},t.prototype.validateDataElementReal=function(t){if(e.prototype.validateDataElementReal.call(this,t),t.column){var i=t.column.coneColumn;i.fill=t.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical"}},t}(Se.a);l.c.registeredClasses.ConeSeries=Tt,l.c.registeredClasses.ConeSeriesDataItem=Dt;var Ot=function(e){function t(){var t=e.call(this)||this;return t.className="CurvedColumn",t}return Object(a.c)(t,e),t.prototype.createAssets=function(){this.curvedColumn=this.createChild(J.a),this.curvedColumn.shouldClone=!1,this.setPropertyValue("tension",.7),this.width=Object(o.c)(120),this.height=Object(o.c)(120),this.column=this.curvedColumn},t.prototype.draw=function(){e.prototype.draw.call(this);var t,i=this.realWidth,n=this.realHeight,a=this.realX-this.pixelX,r=this.realY-this.pixelY;C.used(this.width);var o=1,s=1;"vertical"==this.orientation?(o=this.tension,t=[{x:0,y:n+r},{x:i/2,y:r},{x:i,y:n+r}]):(s=this.tension,t=[{x:a,y:n=Math.abs(n)},{x:a+i,y:n/2},{x:a,y:0}]);var l=h.moveTo(t[0])+new be.d(o,s).smooth(t);this.column.path=l},t.prototype.copyFrom=function(t){e.prototype.copyFrom.call(this,t),this.curvedColumn&&this.curvedColumn.copyFrom(t.curvedColumn)},Object.defineProperty(t.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(e){this.setPropertyValue("tension",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(e){this.setPropertyValue("orientation",e,!0)},enumerable:!0,configurable:!0}),t}(He.a);l.c.registeredClasses.CurvedColumn=Ot;var Vt=function(e){function t(){var t=e.call(this)||this;return t.className="CurvedColumnSeriesDataItem",t.applyTheme(),t}return Object(a.c)(t,e),t}(Se.b),_t=function(e){function t(){var t=e.call(this)||this;return t.className="CurvedColumnSeries",t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.createColumnTemplate=function(){return new Ot},t.prototype.validateDataElementReal=function(t){e.prototype.validateDataElementReal.call(this,t);var i=t.column;(i=t.column)&&(t.column.curvedColumn.fill=t.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical")},t}(Se.a);l.c.registeredClasses.CurvedColumnSeries=_t,l.c.registeredClasses.CurvedColumnSeriesDataItem=Vt;var kt=i("AAkI"),Lt=i("eN1s"),St=i("TDx+"),Rt=i("eAid"),jt=i("Uslz"),wt=i("+K/x"),Nt=i("KknQ"),Ft=i("ncgu"),Yt=i("9ZsQ"),Wt=i("ZoDA"),Xt=function(e){function t(){var t=e.call(this)||this;t.className="CircleBullet";var i=t.createChild(g.a);return i.shouldClone=!1,i.radius=5,i.isMeasured=!1,t.circle=i,t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.copyFrom=function(t){e.prototype.copyFrom.call(this,t),this.circle.copyFrom(t.circle)},t}(se.a);l.c.registeredClasses.CircleBullet=Xt;var Mt=function(e){function t(){var t=e.call(this)||this;return t.className="ErrorBullet",t.errorLine=t.createChild(J.a),t.errorLine.shouldClone=!1,t.width=20,t.height=20,t.strokeOpacity=1,t.isDynamic=!0,t}return Object(a.c)(t,e),t.prototype.validatePosition=function(){e.prototype.validatePosition.call(this);var t=this.pixelWidth/2,i=this.pixelHeight/2;this.errorLine.path=h.moveTo({x:-t,y:-i})+h.lineTo({x:t,y:-i})+h.moveTo({x:0,y:-i})+h.lineTo({x:0,y:i})+h.moveTo({x:-t,y:i})+h.lineTo({x:t,y:i})},t.prototype.copyFrom=function(t){e.prototype.copyFrom.call(this,t),this.errorLine.copyFrom(t.errorLine)},t}(se.a);l.c.registeredClasses.ErrorBullet=Mt;var Ht=i("C6Lh"),Bt=i("Y9w3"),zt=i("A6AV"),Et=i("Trvg"),Gt=i("Rnbi"),qt=function(e){function t(){var t=e.call(this)||this;return t.className="NavigationBarDataItem",t.applyTheme(),t}return Object(a.c)(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return this.properties.name},set:function(e){this.setProperty("name",e)},enumerable:!0,configurable:!0}),t}(zt.a),Kt=function(e){function t(){var t=e.call(this)||this;t.className="NavigationBar";var i=new w.a,n=new Et.a;n.valign="middle",n.paddingTop=8,n.paddingBottom=8,t.paddingBottom=2,t.links=new R.e(n),t._disposers.push(new R.c(t.links)),t._disposers.push(n),t._linksIterator=new k.ListIterator(t.links,function(){return t.links.create()}),t._linksIterator.createNewItems=!0;var a=new Gt.a;a.direction="right",a.width=8,a.height=12,a.fill=i.getFor("alternativeBackground"),a.fillOpacity=.5,a.valign="middle",a.marginLeft=10,a.marginRight=10,t.separators=new R.e(a),t._disposers.push(new R.c(t.separators)),t._disposers.push(a);var r=new Et.a;return t.activeLink=r,r.copyFrom(n),r.valign="middle",r.fontWeight="bold",t.width=Object(o.c)(100),t.layout="grid",t.dataFields.name="name",t.applyTheme(),t}return Object(a.c)(t,e),t.prototype.validateDataElements=function(){this.removeChildren(),this._linksIterator.reset(),e.prototype.validateDataElements.call(this)},t.prototype.validateDataElement=function(t){var i;if(e.prototype.validateDataElement.call(this,t),t.indexthis.pixelInnerRadius-1},Object.defineProperty(t.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e,!0)},enumerable:!0,configurable:!0}),t.prototype.triggerMoveReal=function(t,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(),e.prototype.triggerMoveReal.call(this,t,i)},t.prototype.updateLineX=function(e){var t=this.pixelRadius,i=this.startAngle,n=this.endAngle,a=this.pixelInnerRadius;if(t>0&&m.isNumber(i)&&m.isNumber(n)&&m.isNumber(a)){var r=u.fitAngleToRange(u.getAngle(e),i,n),o=void 0;if(this.lineX&&this.lineX.visible){if(this.lineX.moveTo({x:0,y:0}),this.xAxis&&this.fullWidthLineX){var s=this.xAxis.currentItemStartPoint,l=this.xAxis.currentItemEndPoint;if(s&&l){var c=u.fitAngleToRange(u.getAngle(s),i,n),p=u.fitAngleToRange(u.getAngle(l),i,n)-c;i0&&(p-=360),r-=p/2,o=h.moveTo({x:a*u.cos(r),y:a*u.sin(r)})+h.lineTo({x:t*u.cos(r),y:t*u.sin(r)})+h.arcTo(r,p,t)+h.lineTo({x:a*u.cos(r+p),y:a*u.sin(r+p)})+h.arcTo(r+p,-p,a)}}o||(o=h.moveTo({x:a*u.cos(r),y:a*u.sin(r)})+h.lineTo({x:t*u.cos(r),y:t*u.sin(r)})),this.lineX.path=o}}},t.prototype.updateLineY=function(e){if(this.lineY&&this.lineY.visible){var t=this.startAngle,i=this.endAngle,n=this.truePixelRadius,a=u.fitToRange(u.getDistance(e),0,this.truePixelRadius);if(m.isNumber(a)&&m.isNumber(t)){this.lineY.moveTo({x:0,y:0});var r=void 0,o=i-t;if(this.yAxis&&this.fullWidthLineY){var s=this.yAxis.currentItemStartPoint,l=this.yAxis.currentItemEndPoint;if(s&&l){var c=u.fitToRange(u.getDistance(s),0,n);a=u.fitToRange(u.getDistance(l),0,n),r=h.moveTo({x:a*u.cos(t),y:a*u.sin(t)})+h.arcTo(t,o,a),r+=h.moveTo({x:c*u.cos(i),y:c*u.sin(i)})+h.arcTo(i,-o,c)}}r||(r=h.moveTo({x:a*u.cos(t),y:a*u.sin(t)})+h.arcTo(t,i-t,a)),this.lineY.path=r}}},t.prototype.updateSelection=function(){if(this._usesSelection){var e=this.downPoint;if(e){var t=this.point,i=this.pixelRadius,n=this.truePixelRadius,a=this.pixelInnerRadius,r=Math.min(this.startAngle,this.endAngle),o=Math.max(this.startAngle,this.endAngle),s=u.fitAngleToRange(u.getAngle(e),r,o),l=u.fitAngleToRange(u.getAngle(t),r,o),c=u.getDistance(e);if(c1?arguments[1]:void 0)})},"+qIf":function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return h}),i.d(e,"c",function(){return c});var n=i("m4/l"),r=i("hD5A"),a=i("o0Lc"),o=i("Qkdp"),s=i("Wglt"),l=i("wUYf"),u=function(t){function e(e){var i=e.events.on("removed",function(t){t.oldValue.dispose()},void 0,!1);return t.call(this,function(){i.dispose(),s.each(e.iterator(),function(t){t[1].dispose()})})||this}return Object(n.c)(e,t),e}(r.b),h=function(){function t(){this.events=new a.a,this._dictionary={}}return t.prototype.hasKey=function(t){return o.hasKey(this._dictionary,t)},t.prototype.getKey=function(t){return this._dictionary[t]},t.prototype.insertKey=function(t,e){if(o.hasKey(this._dictionary,t))throw new Error("Key "+t+" already exists in dictionary");this._dictionary[t]=e,this.events.isEnabled("insertKey")&&this.events.dispatchImmediately("insertKey",{type:"insertKey",target:this,key:t,newValue:e})},t.prototype.setKey=function(t,e){if(o.hasKey(this._dictionary,t)){var i=this._dictionary[t];i!==e&&(this._dictionary[t]=e,this.events.isEnabled("setKey")&&this.events.dispatchImmediately("setKey",{type:"setKey",target:this,key:t,oldValue:i,newValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}))}else this._dictionary[t]=e,this.events.isEnabled("insertKey")&&this.events.dispatchImmediately("insertKey",{type:"insertKey",target:this,key:t,newValue:e})},t.prototype.updateKey=function(t,e){if(!o.hasKey(this._dictionary,t))throw new Error("Key "+t+" doesn't exist in dictionary");var i=this._dictionary[t],n=e(i);i!==n&&(this._dictionary[t]=n,this.events.isEnabled("setKey")&&this.events.dispatchImmediately("setKey",{type:"setKey",target:this,key:t,oldValue:i,newValue:n}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}))},t.prototype.removeKey=function(t){if(o.hasKey(this._dictionary,t)){var e=this._dictionary[t];delete this._dictionary[t],this.events.isEnabled("removeKey")&&this.events.dispatchImmediately("removeKey",{type:"removeKey",target:this,key:t,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e})}},t.prototype.insertKeyIfEmpty=function(t,e){return this.hasKey(t)||this.insertKey(t,e()),this.getKey(t)},t.prototype.clear=function(){var t=this;this.events.isEnabled("removed")&&o.each(this._dictionary,function(e,i){t.events.dispatchImmediately("removed",{type:"removed",target:t,oldValue:i})}),this._dictionary={},this.events.isEnabled("cleared")&&this.events.dispatchImmediately("cleared",{type:"cleared",target:this})},t.prototype.copyFrom=function(t){var e=this;s.each(t.iterator(),function(t){e.setKey(t[0],t[1])})},t.prototype.iterator=function(){return o.entries(this._dictionary)},t.prototype[Symbol.iterator]=function(){var t,e,i,r;return Object(n.d)(this,function(n){switch(n.label){case 0:for(e in t=[],this._dictionary)t.push(e);i=0,n.label=1;case 1:return i1&&(o=l(o,r(arguments[1]))),o<0&&(o=i+o);o>=0;o--)if(o in e&&e[o]===t)return o||0;return-1}:u},"+uwN":function(t,e,i){i("0sYB")({target:"Math",stat:!0},{fround:i("I42a")})},"/9XX":function(t,e,i){"use strict";i.d(e,"b",function(){return u}),e.a=function(t){a.push(t),c()},e.c=function(t){o.push(t),c()},e.f=function(t){s.push(t),c()},e.e=function(t){l.push(t)},e.d=function(){for(var t=Date.now(),e=l.length,i=0;i1?arguments[1]:void 0)})},"/arR":function(t,e,i){"use strict";var n=i("3weC");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"/e9j":function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("sxA1"),a=i("3/51"),o=i("aCit"),s=function(t){function e(){var e=t.call(this)||this;return e.className="LinearGradientModifier",e.gradient=new r.a,e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(a.a);o.c.registeredClasses.LinearGradientModifier=s},"/fwt":function(t,e,i){"use strict";var n=i("0sYB"),r=i("3sMl"),a=i("hqo8"),o=i("7X7h"),s=i("HnbP"),l=i("8+rI");r&&n({target:"Object",proto:!0,forced:a},{__defineGetter__:function(t,e){l.f(o(this),t,{get:s(e),enumerable:!0,configurable:!0})}})},"/vWR":function(t,e,i){var n=i("z3p0");t.exports=function(t,e,i){for(var r in e)n(t,r,e[r],i);return t}},"02tF":function(t,e,i){var n=i("0sYB"),r=Math.log,a=Math.LN2;n({target:"Math",stat:!0},{log2:function(t){return r(t)/a}})},"047P":function(t,e,i){var n=i("Kg2n"),r=i("KJuV");t.exports=function(t,e,i){var a,o;return r&&"function"==typeof(a=e.constructor)&&a!==i&&n(o=a.prototype)&&o!==i.prototype&&r(t,o),t}},"06/b":function(t,e,i){i("6WsA")("search")},"09Lt":function(t,e,i){"use strict";var n=i("Kg2n"),r=i("8+rI"),a=i("Ox5T"),o=i("KslR")("hasInstance"),s=Function.prototype;o in s||r.f(s,o,{value:function(t){if("function"!=typeof this||!n(t))return!1;if(!n(this.prototype))return t instanceof this;for(;t=a(t);)if(this.prototype===t)return!0;return!1}})},"0FA2":function(t,e,i){var n=i("KslR"),r=i("QzDi"),a=i("8+rI"),o=n("unscopables"),s=Array.prototype;void 0==s[o]&&a.f(s,o,{configurable:!0,value:r(null)}),t.exports=function(t){s[o][t]=!0}},"0FpR":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.linear=a,e.quadIn=o,e.quadOut=s,e.quadInOut=l,e.polyIn=u,e.polyOut=h,e.polyInOut=c,e.polyIn3=p,e.polyOut3=d,e.polyInOut3=f,e.expIn=g,e.expOut=m,e.expInOut=y,e.sinIn=v,e.sinOut=b,e.sinInOut=x,e.cubicIn=_,e.cubicOut=P,e.cubicInOut=w,e.circleIn=O,e.circleOut=T,e.circleInOut=S,e.bounceIn=R,e.bounceOut=N,e.bounceInOut=L,e.elasticIn=H,e.elasticOut=Y,e.elasticInOut=z;var n=i("Gg2j"),r=i("aCit");function a(t){return+t}function o(t){return t*t}function s(t){return t*(2-t)}function l(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function u(t,e){return Math.pow(t,e)}function h(t,e){return 1-Math.pow(1-t,e)}function c(t,e){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}function p(t){return u(t,3)}function d(t){return h(t,3)}function f(t){return c(t,3)}function g(t){return Math.pow(2,10*t-10)}function m(t){return 1-Math.pow(2,-10*t)}function y(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function v(t){return 1-Math.cos(t*n.HALFPI)}function b(t){return Math.sin(t*n.HALFPI)}function x(t){return(1-Math.cos(n.PI*t))/2}function _(t){return t*t*t}function P(t){return--t*t*t+1}function w(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function O(t){return 1-Math.sqrt(1-t*t)}function T(t){return Math.sqrt(1- --t*t)}function S(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}r.c.registeredClasses["ease.linear"]=a,r.c.registeredClasses["ease.quadIn"]=o,r.c.registeredClasses["ease.quadOut"]=s,r.c.registeredClasses["ease.quadInOut"]=l,r.c.registeredClasses["ease.polyIn"]=u,r.c.registeredClasses["ease.polyOut"]=h,r.c.registeredClasses["ease.polyInOut"]=c,r.c.registeredClasses["ease.polyIn3"]=p,r.c.registeredClasses["ease.polyOut3"]=d,r.c.registeredClasses["ease.polyInOut3"]=f,r.c.registeredClasses["ease.expIn"]=g,r.c.registeredClasses["ease.expOut"]=m,r.c.registeredClasses["ease.expInOut"]=y,r.c.registeredClasses["ease.sinIn"]=v,r.c.registeredClasses["ease.sinOut"]=b,r.c.registeredClasses["ease.sinInOut"]=x,r.c.registeredClasses["ease.cubicIn"]=_,r.c.registeredClasses["ease.cubicOut"]=P,r.c.registeredClasses["ease.cubicInOut"]=w,r.c.registeredClasses["ease.circleIn"]=O,r.c.registeredClasses["ease.circleOut"]=T,r.c.registeredClasses["ease.circleInOut"]=S;var C=4/11,I=6/11,k=8/11,D=.75,j=9/11,V=10/11,A=.9375,M=21/22,F=63/64,E=1/C/C;function R(t){return 1-N(1-t)}function N(t){return(t=+t)0){var i=e.maxZoomFactor/e.maxZoomCount;if(b.round(e.end-e.start,3)<1/i)return t=!0,!1}else if(b.round(e.start,3)>0||b.round(e.end,3)<1)return t=!0,!1;return!0}),x.eachContinue(this.yAxes.iterator(),function(e){if(e.toggleZoomOutButton){if(e.maxZoomCount>0){var i=e.maxZoomFactor/e.maxZoomCount;if(b.round(e.end-e.start,3)<1/i)return t=!0,!1}else if(b.round(e.start,3)>0||b.round(e.end,3)<1)return t=!0,!1;return!0}}),this.seriesAppeared||(t=!1),t?this.zoomOutButton.show():this.zoomOutButton.hide()}},e.prototype.seriesAppeared=function(){var t=!1;return x.each(this.series.iterator(),function(e){if(!e.appeared)return t=!1,!1}),t},e.prototype.handleYAxisRangeChange=function(){var t=this.getCommonAxisRange(this.yAxes);this.scrollbarY&&this.zoomAxes(this.yAxes,t,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarY,t)},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 t.each(function(t){if(!t.zoomable||t instanceof l.a&&t.syncWithAxis);else{var n=t.start,r=t.end;t.renderer.inversed&&(n=1-t.end,r=1-t.start),(!_.isNumber(e)||ni)&&(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.renderer&&e.renderer.processRenderer()},e.prototype.updateYAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.rightAxesContainer,e.toBack()):(e.parent=this.leftAxesContainer,e.toFront()),e.renderer&&e.renderer.processRenderer()},e.prototype.processAxis=function(t){var e=this;t instanceof p.a&&this._dataUsers.moveValue(t);var i=t.renderer;i.gridContainer.parent=this.plotContainer,i.gridContainer.toBack(),i.breakContainer.parent=this.plotContainer,i.breakContainer.toFront(),i.breakContainer.zIndex=10,t.addDisposer(new f.b(function(){e.dataUsers.removeValue(t)})),i.bulletsContainer.parent=this.axisBulletsContainer,this._disposers.push(t.events.on("positionchanged",function(){var n=P.spritePointToSprite({x:0,y:0},t,e.axisBulletsContainer);t.renderer instanceof c.a&&(i.bulletsContainer.y=n.y),t.renderer instanceof h.a&&(i.bulletsContainer.x=n.x)},void 0,!1)),this.plotContainer.events.on("maxsizechanged",function(){e.inited&&(t.invalidateDataItems(),e.updateSeriesMasks())},t,!1)},e.prototype.updateSeriesMasks=function(){P.isIE()&&this.series.each(function(t){var e=t.mainContainer.mask;t.mainContainer.mask=void 0,t.mainContainer.mask=e})},e.prototype.handleSeriesRemoved=function(e){var i=e.oldValue;i&&(i.xAxis&&(i.xAxis.series.removeValue(i),i.xAxis.invalidateProcessedData()),i.yAxis&&(i.yAxis.series.removeValue(i),i.yAxis.invalidateProcessedData()),this.series.each(function(t){t.resetExtremes()})),t.prototype.handleSeriesRemoved.call(this,e)},Object.defineProperty(e.prototype,"xAxes",{get:function(){return this._xAxes||(this._xAxes=new o.b,this._xAxes.events.on("inserted",this.processXAxis,this,!1),this._xAxes.events.on("removed",this.handleAxisRemoval,this,!1),this._disposers.push(new o.c(this._xAxes,!1))),this._xAxes},enumerable:!0,configurable:!0}),e.prototype.handleAxisRemoval=function(t){var e=t.oldValue;this.dataUsers.removeValue(e),e.autoDispose&&e.dispose()},Object.defineProperty(e.prototype,"yAxes",{get:function(){return this._yAxes||(this._yAxes=new o.b,this._yAxes.events.on("inserted",this.processYAxis,this,!1),this._yAxes.events.on("removed",this.handleAxisRemoval,this,!1),this._disposers.push(new o.c(this._yAxes,!1))),this._yAxes},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(e){try{t.prototype.handleSeriesAdded.call(this,e);var i=e.newValue;0!=this.xAxes.length&&0!=this.yAxes.length||(y.c.removeFromInvalidComponents(i),i.dataInvalid=!1),P.used(i.xAxis),P.used(i.yAxis),i.maskBullets=i.maskBullets,void 0==i.fill&&(this.patterns?(_.hasValue(i.stroke)||(i.stroke=this.colors.next()),i.fill=this.patterns.next(),_.hasValue(i.fillOpacity)&&(i.fill.backgroundOpacity=i.fillOpacity),i.stroke instanceof s.a&&(i.fill.stroke=i.stroke,i.fill.fill=i.stroke)):i.fill=this.colors.next()),_.hasValue(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.shouldClone=!1,t.parent=this._cursorContainer,t.events.on("cursorpositionchanged",this.handleCursorPositionChange,this,!1),t.events.on("zoomstarted",this.handleCursorZoomStart,this,!1),t.events.on("zoomended",this.handleCursorZoomEnd,this,!1),t.events.on("panstarted",this.handleCursorPanStart,this,!1),t.events.on("panning",this.handleCursorPanning,this,!1),t.events.on("panended",this.handleCursorPanEnd,this,!1),t.events.on("behaviorcanceled",this.handleCursorCanceled,this,!1),t.events.on("hidden",this.handleHideCursor,this,!1),t.zIndex=Number.MAX_SAFE_INTEGER-1,this.tapToActivate&&this.setTapToActivate(this.tapToActivate)))},enumerable:!0,configurable:!0}),e.prototype.handleCursorPositionChange=function(){var t=this.cursor;if(t.visible&&!t.isHiding){var e=this.cursor.xPosition,i=this.cursor.yPosition;this.showSeriesTooltip({x:e,y:i});var n=[],r=t.snapToSeries;if(r&&!t.downPoint){r instanceof d.a&&(r=[r]);var a=[];w.each(r,function(t){if(!t.isHidden&&!t.isHiding){var r=t.xAxis,o=t.yAxis;r instanceof l.a&&!(r instanceof u.a)&&o instanceof l.a&&!(o instanceof u.a)?(t.dataItems.each(function(t){a.push(t)}),w.move(n,t.yAxis),w.move(n,t.xAxis)):(t.baseAxis==t.xAxis&&(w.move(n,t.yAxis),a.push(r.getSeriesDataItem(t,r.toAxisPosition(e),!0))),t.baseAxis==t.yAxis&&(w.move(n,t.xAxis),a.push(o.getSeriesDataItem(t,o.toAxisPosition(i),!0))))}});var o=this.getClosest(a,e,i);o&&(this.series.each(function(t){var e=o.component;t!=e&&(t.hideTooltip(),t.xAxis!=e.xAxis&&t.xAxis.hideTooltip(),t.yAxis!=e.yAxis&&t.yAxis.hideTooltip())}),o.component.showTooltipAtDataItem(o),t.handleSnap(o.component))}this._seriesPoints=[],this._cursorXPosition!=e&&this.showAxisTooltip(this.xAxes,e,n),this._cursorYPosition!=i&&this.showAxisTooltip(this.yAxes,i,n),this.arrangeTooltips&&this.sortSeriesTooltips(this._seriesPoints),this.legend&&this.legend.afterDraw()}},e.prototype.getClosest=function(t,e,i){var n,r=1/0;return w.eachContinue(t,function(t){if(t){var a=t.component.xAxis,o=t.component.yAxis,s=a.positionToCoordinate(a.toGlobalPosition(a.toAxisPosition(e))),u=o.positionToCoordinate(o.toGlobalPosition(o.toAxisPosition(i))),h=t.component.xField,c=t.component.yField;if(a instanceof l.a&&!_.isNumber(t.getValue(h)))return!0;if(o instanceof l.a&&!_.isNumber(t.getValue(c)))return!0;var p=a.positionToCoordinate(a.toGlobalPosition(a.getPositionX(t,h,t.locations[h],"valueX"))),d=o.positionToCoordinate(o.toGlobalPosition(o.getPositionY(t,c,t.locations[c],"valueY"))),f=Math.sqrt(Math.pow(s-p,2)+Math.pow(u-d,2));return f0){var e=this.cursor;if(e&&_.isNumber(e.maxTooltipDistance)){var i,n,r=P.spritePointToSvg({x:e.point.x,y:e.point.y},e),a=1/0;w.each(t,function(t){var e=t.series,o=t.point;if(o){var s={x:o.x,y:o.y},l=Math.abs(b.getDistance(s,r));l0&&w.each(o,function(t){i!=t.series&&t.series.hideTooltip(0)}),o=[{series:i,point:n}])),t=o}var s=P.spritePointToSvg({x:-.5,y:-.5},this.plotContainer),l=P.spritePointToSvg({x:this.plotContainer.pixelWidth+.5,y:this.plotContainer.pixelHeight+.5},this.plotContainer),u=0,h=[];w.each(t,function(t){var e=t.point;e&&b.isInRectangle(e,{x:s.x,y:s.y,width:l.x-s.x,height:l.y-s.y})&&(h.push({point:e,series:t.series}),u+=e.y)}),t=h;var c=this.series.getIndex(0),p=!1;c&&c.yAxis&&c.yAxis.renderer.inversed&&(p=!0),p?t.sort(function(t,e){return O.order(t.point.y,e.point.y)}):(t.sort(function(t,e){return O.order(e.point.y,t.point.y)}),t.reverse());var d=u/t.length,f=P.svgPointToDocument({x:0,y:0},this.svgContainer.SVGContainer).y;if(t.length>0){var g=s.y,m=l.y;P.spritePointToDocument({x:0,y:g},this);var y=!1;if(d>g+(m-g)/2)for(var v=m,x=t.length-1;x>=0;x--){var T=(k=t[x].series).tooltip,S=t[x].point.y;if(T.setBounds({x:0,y:-f,width:this.pixelWidth,height:v+f}),T.invalid&&T.validate(),T.toBack(),(v=P.spritePointToSvg({x:0,y:T.label.pixelY-T.pixelY+S-T.pixelMarginTop},T).y)<-f){y=!0;break}}if(d<=g+(m-g)/2||y)for(var C=g,I=(x=0,t.length);x0||t.dataItems.length>0)&&t.showTooltipAtPosition(e)})},e.prototype.getUpdatedRange=function(t,e){if(t){var i,n;t.renderer.inversed?(b.invertRange(e),i=1-t.end,n=1-t.start):(i=t.start,n=t.end);var r=n-i;return{start:i+e.start*r,end:i+e.end*r}}},e.prototype.handleCursorZoomEnd=function(t){var e=this.cursor,i=e.behavior;if("zoomX"==i||"zoomXY"==i){var n=e.xRange;n&&this.xAxes.length>0&&((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&&this.yAxes.length>0&&((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,o=this.getCommonAxisRange(this.xAxes),s=r.end-r.start,l=a.start*(o.end-o.start),u=Math.max(-n,l+r.start),h=Math.min(l+r.end,1+n);u<=0&&(h=u+s),h>=1&&(u=h-s);var c={start:u,end:h};this._panEndXRange=c,this.zoomAxes(this.xAxes,c,!1,!1,e.maxPanOut)}if(this._panStartYRange&&("panY"==i||"panXY"==i)){r=this._panStartYRange,a=e.yRange,o=this.getCommonAxisRange(this.yAxes),s=r.end-r.start,l=a.start*(o.end-o.start),u=Math.max(-n,l+r.start),h=Math.min(l+r.end,1+n);u<=0&&(h=u+s),h>=1&&(u=h-s);c={start:u,end:h};this._panEndYRange=c,this.zoomAxes(this.yAxes,c,!1,!1,e.maxPanOut)}this.handleHideCursor()},e.prototype.handleYAxisSet=function(t){},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.shouldClone=!1,t.startGrip.exportable=!1,t.endGrip.exportable=!1,t.toBack(),t.orientation="horizontal",t.events.on("rangechanged",this.handleXScrollbarChange,this,!1),t.adapter.add("positionValue",function(t){var i=e.xAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(i.renderer.inversed?1-t.position: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.startGrip.exportable=!1,t.shouldClone=!1,t.endGrip.exportable=!1,t.toFront(),t.orientation="vertical",t.events.on("rangechanged",this.handleYScrollbarChange,this,!1),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){if(this.inited){var e=t.target,i=e.range;0==i.start&&(i.priority="start"),1==i.end&&(i.priority="end"),i=this.zoomAxes(this.xAxes,i),e.fixRange(i)}},e.prototype.handleYScrollbarChange=function(t){if(this.inited){var e=t.target,i=e.range;1==i.end&&(i.priority="end"),0==i.start&&(i.priority="start"),i=this.zoomAxes(this.yAxes,i),e.fixRange(i)}},e.prototype.zoomAxes=function(t,e,i,n,r){var a={start:0,end:1};return this.showSeriesTooltip(),this.dataInvalid||x.each(t.iterator(),function(t){if(t.zoomable){if(t.renderer.inversed&&(e=b.invertRange(e)),t.hideTooltip(0),n)if(t instanceof p.a){var o=t.getCellEndPosition(0)-t.getCellStartPosition(0);e.start=t.roundPosition(e.start+o/2-t.startLocation*o,t.startLocation),e.end=t.roundPosition(e.end-o/2+(1-t.endLocation)*o,t.endLocation)}else e.start=t.roundPosition(e.start+1e-4,0,t.startLocation),e.end=t.roundPosition(e.end+1e-4,0,t.endLocation);var s=t.zoom(e,i,i,r);t.renderer.inversed&&(s=b.invertRange(s)),a=s}}),a},Object.defineProperty(e.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(t){this.setPropertyValue("maskBullets",t,!0)&&this.bulletsContainer&&(this.bulletsContainer.mask=t?this._bulletMask:void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arrangeTooltips",{get:function(){return this.getPropertyValue("arrangeTooltips")},set:function(t){this.setPropertyValue("arrangeTooltips",t,!0)},enumerable:!0,configurable:!0}),e.prototype.handleWheel=function(t){var e=this.plotContainer,i=P.documentPointToSvg(t.point,this.htmlContainer,this.svgContainer.cssScale),n=P.svgPointToSprite(i,e),r=t.shift.y;this.handleWheelReal(r,this.mouseWheelBehavior,n)},e.prototype.handleHorizontalWheel=function(t){var e=this.plotContainer,i=P.documentPointToSvg(t.point,this.htmlContainer,this.svgContainer.cssScale),n=P.svgPointToSprite(i,e);this.handleWheelReal(t.shift.x,this.horizontalMouseWheelBehavior,n)},e.prototype.handleWheelReal=function(t,e,i){if(0!=t){var n=this.plotContainer,r=this.getCommonAxisRange(this.xAxes),a=this.getCommonAxisRange(this.yAxes);if("panX"==e||"panXY"==e){var o=r.end-r.start,s=Math.max(-0,r.start+.1*t/100*(r.end-r.start)),l=Math.min(r.end+.1*t/100*(r.end-r.start),1);s<=0&&(l=s+o),l>=1&&(s=l-o),this.zoomAxes(this.xAxes,{start:s,end:l})}if("panY"==e||"panXY"==e){t*=-1;var u=a.end-a.start,h=Math.max(-0,a.start+.1*t/100*(a.end-a.start)),c=Math.min(a.end+.1*t/100*(a.end-a.start),1);h<=0&&(c=h+u),c>=1&&(h=c-u),this.zoomAxes(this.yAxes,{start:h,end:c})}if("zoomX"==e||"zoomXY"==e){var p=i.x/n.maxWidth,d=this.xAxes.getIndex(0).toAxisPosition(p);s=Math.max(-0,r.start-.1*(r.end-r.start)*t/100*p);s=Math.min(s,d);l=Math.min(r.end+.1*(r.end-r.start)*t/100*(1-p),1);l=Math.max(l,d),this.zoomAxes(this.xAxes,{start:s,end:l})}if("zoomY"==e||"zoomXY"==e){var f=i.y/n.maxHeight,g=this.yAxes.getIndex(0).toAxisPosition(f);h=Math.max(-0,a.start-.1*(a.end-a.start)*t/100*(1-f));h=Math.min(h,g);c=Math.min(a.end+.1*t/100*f*(a.end-a.start),1);c=Math.max(c,g),this.zoomAxes(this.yAxes,{start:h,end:c})}}},Object.defineProperty(e.prototype,"mouseWheelBehavior",{get:function(){return this.getPropertyValue("mouseWheelBehavior")},set:function(t){this.setPropertyValue("mouseWheelBehavior",t)&&("none"!=t?(this._mouseWheelDisposer=this.plotContainer.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer)):this._mouseWheelDisposer&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer.dispose()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalMouseWheelBehavior",{get:function(){return this.getPropertyValue("horizontalMouseWheelBehavior")},set:function(t){this.setPropertyValue("horizontalMouseWheelBehavior",t)&&("none"!=t?(this._mouseWheelDisposer2=this.plotContainer.events.on("wheel",this.handleHorizontalWheel,this,!1),this._disposers.push(this._mouseWheelDisposer2)):this._mouseWheelDisposer2&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer2.dispose()))},enumerable:!0,configurable:!0}),e.prototype.dataSourceDateFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),x.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),x.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(_.hasValue(e.xAxes)&&_.isArray(e.xAxes))for(var r=0,a=e.xAxes.length;r0;){var n=this.dataItems.getIndex(0);n&&i.dataItems.remove(n),i.dataUsers.each(function(t){var e=t.dataItems.getIndex(0);e&&t.dataItems.remove(e)}),i._parseDataFrom--,e--}i.invalidateData()}},e.prototype.removeData=function(e){this.scrollbarX instanceof v.a&&this.removeScrollbarData(this.scrollbarX,e),this.scrollbarY instanceof v.a&&this.removeScrollbarData(this.scrollbarY,e),t.prototype.removeData.call(this,e)},e.prototype.setTapToActivate=function(e){t.prototype.setTapToActivate.call(this,e),this.cursor&&(this.cursor.interactions.isTouchProtected=e,this.plotContainer.interactions.isTouchProtected=e)},e.prototype.handleTapToActivate=function(){t.prototype.handleTapToActivate.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!1,this.plotContainer.interactions.isTouchProtected=!1)},e.prototype.handleTapToActivateDeactivation=function(){t.prototype.handleTapToActivateDeactivation.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!0,this.plotContainer.interactions.isTouchProtected=!0)},e}(r.a);y.c.registeredClasses.XYChart=C,T.c.push({relevant:T.b.maybeXS,state:function(t,e){if(t instanceof C&&t.scrollbarX){var i=t.states.create(e);return t.scrollbarX.states.create(e).properties.disabled=!0,i}return null}}),T.c.push({relevant:T.b.maybeXS,state:function(t,e){if(t instanceof C&&t.scrollbarY){var i=t.states.create(e);return t.scrollbarY.states.create(e).properties.disabled=!0,i}return null}})},"0PyG":function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Tjl+"),a=i("zhwk"),o=i("1yyj"),s=i("Mtpk"),l=function(t){function e(e,i,n,r){var a=t.call(this)||this;return a.animations=[],a.className="Inertia",a.interaction=e,a.type=i,a.point=n,a.startPoint=r,a._disposers.push(new o.b(a.animations)),a}return Object(n.c)(e,t),Object.defineProperty(e.prototype,"x",{get:function(){return this.point.x},set:function(t){s.isNumber(t)&&(this.point.x=t,this.handleMove())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.point.y},set:function(t){s.isNumber(t)&&(this.point.y=t,this.handleMove())},enumerable:!0,configurable:!0}),e.prototype.handleMove=function(){if(this.interaction.events.isEnabled("drag")){var t={type:"drag",target:this.interaction,shift:{x:this.x-this.startPoint.x,y:this.y-this.startPoint.y},startPoint:this.startPoint,point:{x:this.x,y:this.y},touch:!1};this.interaction.events.dispatchImmediately("drag",t)}},e.prototype.done=function(){this.interaction.inertias.removeKey(this.type),"move"===this.type&&Object(a.b)().processDragStop(this.interaction),this.dispose()},e}(r.a)},"0aVp":function(t,e,i){var n=i("0sYB"),r=i("mtbW");n({global:!0,forced:!i("jqyf")},{DataView:r.DataView})},"0irS":function(t,e,i){var n=i("KslR");e.f=n},"0sYB":function(t,e,i){var n=i("vfdp"),r=i("gxUV").f,a=i("k2B3"),o=i("z3p0"),s=i("29Us"),l=i("z4fB"),u=i("EjSS");t.exports=function(t,e){var i,h,c,p,d,f=t.target,g=t.global,m=t.stat;if(i=g?n:m?n[f]||s(f,{}):(n[f]||{}).prototype)for(h in e){if(p=e[h],c=t.noTargetGet?(d=r(i,h))&&d.value:i[h],!u(g?h:f+(m?".":"#")+h,t.forced)&&void 0!==c){if(typeof p==typeof c)continue;l(p,c)}(t.sham||c&&c.sham)&&a(p,"sham",!0),o(i,h,p,t)}}},"16a9":function(t,e,i){var n=i("0sYB"),r=i("HZlQ");n({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},"1DgP":function(t,e,i){"use strict";var n=function(t,e){var i;function n(){var n,r,a=i.length,o=0,s=0;for(n=0;n=(a=(g+y)/2))?g=a:y=a,(h=i>=(o=(m+v)/2))?m=o:v=o,r=d,!(d=d[c=h<<1|u]))return r[c]=f,t;if(s=+t._x.call(null,d.data),l=+t._y.call(null,d.data),e===s&&i===l)return f.next=d,r?r[c]=f:t._root=f,t;do{r=r?r[c]=new Array(4):t._root=new Array(4),(u=e>=(a=(g+y)/2))?g=a:y=a,(h=i>=(o=(m+v)/2))?m=o:v=o}while((c=h<<1|u)==(p=(l>=o)<<1|s>=a));return r[p]=d,r[c]=f,t}var a=function(t,e,i,n,r){this.node=t,this.x0=e,this.y0=i,this.x1=n,this.y1=r};function o(t){return t[0]}function s(t){return t[1]}function l(t,e,i){var n=new u(null==e?o:e,null==i?s:i,NaN,NaN,NaN,NaN);return null==t?n:n.addAll(t)}function u(t,e,i,n,r,a){this._x=t,this._y=e,this._x0=i,this._y0=n,this._x1=r,this._y1=a,this._root=void 0}function h(t){for(var e={data:t.data},i=e;t=t.next;)i=i.next={data:t.data};return e}var c=l.prototype=u.prototype;c.copy=function(){var t,e,i=new u(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root;if(!n)return i;if(!n.length)return i._root=h(n),i;for(t=[{source:n,target:i._root=new Array(4)}];n=t.pop();)for(var r=0;r<4;++r)(e=n.source[r])&&(e.length?t.push({source:e,target:n.target[r]=new Array(4)}):n.target[r]=h(e));return i},c.add=function(t){var e=+this._x.call(null,t),i=+this._y.call(null,t);return r(this.cover(e,i),e,i,t)},c.addAll=function(t){var e,i,n,a,o=t.length,s=new Array(o),l=new Array(o),u=1/0,h=1/0,c=-1/0,p=-1/0;for(i=0;ic&&(c=n),ap&&(p=a));if(u>c||h>p)return this;for(this.cover(u,h).cover(c,p),i=0;it||t>=r||n>e||e>=a;)switch(s=(ed||(o=u.y0)>f||(s=u.x1)=v)<<1|t>=y)&&(u=g[g.length-1],g[g.length-1]=g[g.length-1-h],g[g.length-1-h]=u)}else{var b=t-+this._x.call(null,m.data),x=e-+this._y.call(null,m.data),_=b*b+x*x;if(_=(s=(f+m)/2))?f=s:m=s,(h=o>=(l=(g+y)/2))?g=l:y=l,e=d,!(d=d[c=h<<1|u]))return this;if(!d.length)break;(e[c+1&3]||e[c+2&3]||e[c+3&3])&&(i=e,p=c)}for(;d.data!==t;)if(n=d,!(d=d.next))return this;return(r=d.next)&&delete d.next,n?(r?n.next=r:delete n.next,this):e?(r?e[c]=r:delete e[c],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(i?i[p]=d:this._root=d),this):(this._root=r,this)},c.removeAll=function(t){for(var e=0,i=t.length;eu+f||rh+f||as.index){var g=u-o.x-o.vx,m=h-o.y-o.vy,y=g*g+m*m;yt.r&&(t.r=t[e].r)}function s(){if(e){var n,r,a=e.length;for(i=new Array(a),n=0;n1?(null==i?s.delete(t):s.set(t,d(i)),e):s.get(t)},find:function(e,i,n){var r,a,o,s,l,u=0,h=t.length;for(null==n?n=1/0:n*=n,u=0;u1?(u.on(t,i),e):u.on(t)}}},I=function(){var t,e,i,n,r=p(-30),a=1,o=1/0,s=.81;function u(n){var r,a=t.length,o=l(t,w,O).visitAfter(c);for(i=n,r=0;r=o)){(t.data!==e||t.next)&&(0===h&&(f+=(h=d())*h),0===c&&(f+=(c=d())*c),fe.getHitOption(this.interactions,"hitTolerance")){switch(this._generalBehavior){case"zoom":this.dispatch("zoomended");break;case"select":this.dispatch("selectended");break;case"pan":this.dispatch("panended"),e.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||this.interactions.isTouchProtected&&t.touch)&&Object(a.b)().isLocalElement(t.pointer,this.paper.svg,this.uid)){p.h();var e=h.documentPointToSprite(t.pointer.point,this);"hard"==this._stick&&this._stickPoint&&(e=this._stickPoint),this._adapterO&&this._adapterO.apply("cursorPoint",e),this.fitsToBounds(e)&&(this._downPointOrig={x:e.x,y:e.y},t.event.cancelable&&this.shouldPreventGestures(t.touch)&&this.fitsToBounds(e)&&t.event.preventDefault(),this.triggerMove(e),this.triggerDown(e))}},e.prototype.shouldPreventGestures=function(t){return!0},e.prototype.updatePoint=function(t){},e.prototype.handleCursorUp=function(t){if(this.interactionsEnabled&&(this.downPoint||Object(a.b)().isLocalElement(t.pointer,this.paper.svg,this.uid))){var e=h.documentPointToSprite(t.pointer.point,this);this._adapterO&&this._adapterO.apply("cursorPoint",e),this.downPoint&&this.fitsToBounds(this.downPoint)&&("hard"==this._stick&&this._stickPoint&&(e=this._stickPoint),this._upPointOrig={x:e.x,y:e.y},this.triggerMove(e),this.triggerUp(e))}},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);o.c.registeredClasses.Cursor=f},"1M4z":function(t,e,i){"use strict";var n=i("0sYB"),r=i("4Wbs");n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},"1ayE":function(t,e,i){"use strict";var n=i("UseD"),r=i("X/sl").some,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",function(t){return r(a(this),t,arguments.length>1?arguments[1]:void 0)})},"1dhw":function(t,e,i){var n=i("0sYB"),r=i("3sMl"),a=i("3weC"),o=i("gxUV");n({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(t,e){return o.f(a(t),e)}})},"1qam":function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i("m4/l"),r=i("Vs7R"),a=i("Mtpk"),o=function(t){function e(){var e=t.call(this)||this;return e.className="PointedShape",e.pointerBaseWidth=15,e.pointerLength=10,e.pointerY=0,e.pointerX=0,e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),a.isNumber(this.pointerX)||(this.pointerX=this.pixelWidth/2),a.isNumber(this.pointerY)||(this.pointerY=this.pixelHeight+10)},Object.defineProperty(e.prototype,"pointerBaseWidth",{get:function(){return this.getPropertyValue("pointerBaseWidth")},set:function(t){this.setPropertyValue("pointerBaseWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerLength",{get:function(){return this.getPropertyValue("pointerLength")},set:function(t){this.setPropertyValue("pointerLength",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerX",{get:function(){return this.getPropertyValue("pointerX")},set:function(t){this.setPropertyValue("pointerX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerY",{get:function(){return this.getPropertyValue("pointerY")},set:function(t){this.setPropertyValue("pointerY",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},"1t1Z":function(t,e,i){"use strict";var n=i("0sYB"),r=i("qK31"),a=i("swFJ");n({target:"String",proto:!0,forced:!i("eVN0")("includes")},{includes:function(t){return!!~String(a(this)).indexOf(r(t),arguments.length>1?arguments[1]:void 0)}})},"1wCr":function(t,e,i){var n=i("lCww"),r=i("vfdp"),a=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?a(n[t])||a(r[t]):n[t]&&n[t][e]||r[t]&&r[t][e]}},"1yyj":function(t,e,i){"use strict";e.c=function(t,e){var i=!1,n=Date.now();return u.a(function r(a){if(!i){var o=a-n;o>=t?e(1):(u.a(r),e(o/t))}}),new o.b(function(){i=!0})},i.d(e,"b",function(){return _}),i.d(e,"a",function(){return P});var n=i("m4/l"),r=i("Tjl+"),a=i("hpNl"),o=i("hD5A"),s=i("8ZqG"),l=i("tjMS"),u=i("/9XX"),h=i("0FpR"),c=i("hxI2"),p=i("Gg2j"),d=i("hJ5i"),f=i("Mtpk"),g=i("Rpw0"),m=i("Q4nc");function y(t,e,i){return e+(i-e)*t}function v(t,e,i){return new l.a(y(t,e.percent,i.percent))}function b(t,e,i){var n=new s.a(c.interpolate(e.rgb,i.rgb,t));return e.alpha!=i.alpha&&(n.alpha=e.alpha+(i.alpha-e.alpha)*t),n}function x(t,e){return e+t.charAt(0).toUpperCase()+t.substr(1)}var _=function(){function t(t){this._disposer=new o.b(function(){for(;0!==t.length;)t[0].dispose()})}return t.prototype.isDisposed=function(){return this._disposer.isDisposed()},t.prototype.dispose=function(){this._disposer.dispose()},t}(),P=function(t){function e(e,i,n,r){var a=t.call(this)||this;return a.duration=0,a.easing=h.linear,a.progress=0,a._loop=0,a._pause=!1,a._delayTimeout=null,a._time=0,a._isFinished=!1,a.className="Animation",!1===m.a.animationsEnabled&&(n=0),a.object=e,a.animationOptions=d.toArray(i),a.duration=n,r&&(a.easing=r),a.applyTheme(),a}return Object(n.c)(e,t),e.prototype.debug=function(){},e.prototype.dispose=function(){t.prototype.dispose.call(this),this.pause()},e.prototype.delay=function(t){var e=this;if(t>0){this.pause(),d.move(this.object.animations,this);var i=setTimeout(function(){e._delayTimeout=null,e.start()},t);this._delayTimeout=new o.b(function(){clearTimeout(i)})}return this},e.prototype._start=function(){this._isFinished=!1,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),this.stopSameAnimations(),this._pause=!1,d.move(g.b.animations,this),d.move(this.object.animations,this),g.b.requestFrame()},e.prototype.start=function(){this._start(),this._startTime=Date.now(),this._time=0,this.staticOptions=[];for(var t=this.animationOptions.length-1;t>=0;t--){var e=this.animationOptions[t];if(f.hasValue(e.from)||(e.childObject?e.from=e.childObject[e.property]:(e.from=this.object[e.property],f.hasValue(e.from)||(e.from=a.a[e.property]))),e.from==e.to)d.remove(this.animationOptions,e);else if(!f.hasValue(e.from)||!(e.from instanceof l.a)&&e.to instanceof l.a||e.from instanceof l.a&&!(e.to instanceof l.a))this.staticOptions.push(e),d.remove(this.animationOptions,e);else if(f.isNumber(e.to))if(e.updateMethod=y,e.from instanceof l.a){var i=this.object[x(e.property,"pixel")];isNaN(i)?(this.staticOptions.push(e),d.remove(this.animationOptions,e)):e.from=i}else isNaN(e.from)&&(this.staticOptions.push(e),d.remove(this.animationOptions,e));else if(e.to instanceof s.a)e.from?e.updateMethod=b:(this.staticOptions.push(e),d.remove(this.animationOptions,e));else if(e.to instanceof l.a){if(e.updateMethod=v,!isNaN(e.from)){i=this.object[x(e.property,"relative")];isNaN(i)||(e.from=Object(l.c)(100*i))}}else this.staticOptions.push(e),d.remove(this.animationOptions,e)}if(this.applyStaticOptions(),this.events.isEnabled("animationstarted")){var n={type:"animationstarted",target:this,progress:this.progress};this.events.dispatchImmediately("animationstarted",n)}return this.update(),0===this.duration&&this.end(),this},e.prototype.loop=function(t){return f.isNumber(t)||(t=1/0),this._loop=t,this},e.prototype.pause=function(){return this._pause=!0,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),d.remove(g.b.animations,this),d.remove(this.object.animations,this),this},e.prototype.resume=function(){return this._start(),this._startTime=Date.now()-this._time,this},e.prototype.end=function(){if(0==this._loop&&this.pause(),this.setProgress(1),this.applyStaticOptions(),this.events.isEnabled("animationended")){var t={type:"animationended",target:this,progress:this.progress};this.events.dispatchImmediately("animationended",t)}return this._loop>0?(this._loop--,this.start()):(this.stop(),this._isFinished=!0),this},e.prototype.kill=function(){this.pause(),this._isFinished=!0},e.prototype.isFinished=function(){return this._isFinished},e.prototype.applyStaticOptions=function(){var t=this;d.each(this.staticOptions,function(e){e.childObject?e.childObject[e.property]=1==t.progress?e.to:e.from:t.object[e.property]=1==t.progress?e.to:e.from})},e.prototype.stop=function(t){if(this.pause(),!t&&this.events.isEnabled("animationstopped")){var e={type:"animationstopped",target:this,progress:this.progress};this.events.dispatchImmediately("animationstopped",e)}return this},e.prototype.setProgress=function(t){var e=this;if(this._time=this.duration*t,d.each(this.animationOptions,function(i){if(i.updateMethod&&f.hasValue(i.from)){var n=i.updateMethod(t,i.from,i.to);i.childObject?i.childObject[i.property]=n:e.object[i.property]=n}}),this.progress=t,this.events.isEnabled("animationprogress")){var i={type:"animationprogress",target:this,progress:this.progress};this.events.dispatchImmediately("animationprogress",i)}g.b.requestFrame()},e.prototype.update=function(){if(!this._pause){var t=void 0;this._time=p.fitToRange(Date.now()-this._startTime,0,this.duration);var e=this._time/this.duration;t=this.easing(e),(0==this.duration||!f.isNumber(t)||e>=1)&&(t=1),this.setProgress(t),1==p.round(this._time/this.duration,6)&&this.end()}return this},Object.defineProperty(e.prototype,"delayed",{get:function(){return!!this._delayTimeout},enumerable:!0,configurable:!0}),e.prototype.stopSameAnimations=function(){var t=this;d.each(d.copy(this.object.animations),function(e){if(e!==t&&!e.delayed){var i=[];d.each(t.animationOptions,function(t){d.each(e.animationOptions,function(n){t.property==n.property&&t.childObject==n.childObject&&(i.push(n),0==e.animationOptions.length&&e.kill())})}),d.each(i,function(t){d.remove(e.animationOptions,t)})}})},e.prototype.asFunction=function(e){return"easing"==e||t.prototype.asIs.call(this,e)},e}(r.b)},"29Us":function(t,e,i){var n=i("vfdp"),r=i("k2B3");t.exports=function(t,e){try{r(n,t,e)}catch(i){n[t]=e}return e}},"2D0i":function(t,e,i){var n,r,a,o,s,l,u,h,c=i("vfdp"),p=i("gxUV").f,d=i("2xmP"),f=i("gBcN").set,g=i("q8hm"),m=c.MutationObserver||c.WebKitMutationObserver,y=c.process,v=c.Promise,b="process"==d(y),x=p(c,"queueMicrotask"),_=x&&x.value;_||(n=function(){var t,e;for(b&&(t=y.domain)&&t.exit();r;){e=r.fn,r=r.next;try{e()}catch(t){throw r?o():a=void 0,t}}a=void 0,t&&t.enter()},b?o=function(){y.nextTick(n)}:m&&!g?(s=!0,l=document.createTextNode(""),new m(n).observe(l,{characterData:!0}),o=function(){l.data=s=!s}):v&&v.resolve?(u=v.resolve(void 0),h=u.then,o=function(){h.call(u,n)}):o=function(){f.call(c,n)}),t.exports=_||function(t){var e={fn:t,next:void 0};a&&(a.next=e),r||(r=e,o()),a=e}},"2I/e":function(t,e,i){"use strict";i.d(e,"b",function(){return g}),i.d(e,"a",function(){return m});var n=i("m4/l"),r=i("VIOb"),a=i("vMqJ"),o=i("C6dT"),s=i("aM7D"),l=i("tjMS"),u=i("DHte"),h=i("aCit"),c=i("Wglt"),p=i("Mtpk"),d=i("hJ5i"),f=i("hD5A"),g=function(t){function e(){var e=t.call(this)||this;return e.className="SerialChartDataItem",e.applyTheme(),e}return Object(n.c)(e,t),e}(r.b),m=function(t){function e(){var e=t.call(this)||this;e.className="SerialChart",e.colors=new u.a,e._usesData=!1;var i=e.chartContainer.createChild(o.a);i.shouldClone=!1,i.width=Object(l.c)(100),i.height=Object(l.c)(100),i.isMeasured=!1,i.layout="none",i.zIndex=2,e.seriesContainer=i;var n=e.chartContainer.createChild(o.a);return n.shouldClone=!1,n.width=Object(l.c)(100),n.height=Object(l.c)(100),n.isMeasured=!1,n.zIndex=3,n.layout="none",e.bulletsContainer=n,e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.colors&&this.colors.dispose(),this.patterns&&this.patterns.dispose()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),p.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Serial chart"))},Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new a.e(this.createSeries()),this._series.events.on("inserted",this.handleSeriesAdded,this,!1),this._series.events.on("removed",this.handleSeriesRemoved,this,!1),this._disposers.push(new a.c(this._series,!1)),this._disposers.push(this._series.template)),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesRemoved=function(t){var e=t.oldValue;this.dataUsers.removeValue(e),this.dataUsers.each(function(t){t.invalidateDataItems()}),e.autoDispose?e.dispose():(e.parent=void 0,e.bulletsContainer.parent=void 0);var i=this.legend;if(i){for(var n=this.legend.dataItems,r=n.length-1;r>=0;r--){var a=n.getIndex(r);a&&a.dataContext==e&&i.dataItems.remove(a)}for(r=i.data.length-1;r>=0;r--){var o=i.data[r];o&&o==e&&d.remove(i.data,o)}}},e.prototype.handleSeriesAdded=function(t){var e=this,i=t.newValue;i.isDisposed()||(i.chart=this,i.parent=this.seriesContainer,i.bulletsContainer.parent=this.bulletsContainer,this._dataUsers.moveValue(i),i.addDisposer(new f.b(function(){e.dataUsers.removeValue(i)})),this.handleSeriesAdded2(i),i.hiddenInLegend||this.legend&&this.legend.addData(i))},e.prototype.handleSeriesAdded2=function(t){var e=this;this.dataInvalid||this._disposers.push(h.c.events.once("exitframe",function(){t.data&&0!=t.data.length||(t.data=e.data,t.showOnInit&&(t.reinit(),t.setPropertyValue("showOnInit",!1),t.showOnInit=!0),t.events.once("datavalidated",function(){t.data==e.data&&(t._data=[])}))}))},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];c.each(this.series.iterator(),function(t){t.hiddenInLegend||e.push(t)}),t.dataFields.name="name",t.data=e}},e.prototype.createSeries=function(){return new s.a},Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"patterns",{get:function(){return this.getPropertyValue("patterns")},set:function(t){this.setPropertyValue("patterns",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.series.copyFrom(e.series)},e.prototype.appear=function(){t.prototype.appear.call(this),this.series.each(function(t){t.showOnInit&&t.inited&&t.appear()})},e}(r.a);h.c.registeredClasses.SerialChart=m},"2K9G":function(t,e,i){"use strict";var n=i("0sYB"),r=i("6aQQ"),a=i("7X7h"),o=i("EErT");n({target:"Date",proto:!0,forced:r(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(t){var e=a(this),i=o(e);return"number"!=typeof i||isFinite(i)?e.toISOString():null}})},"2MCn":function(t,e,i){"use strict";var n=i("0sYB"),r=i("6aQQ"),a=i("WShl");n({target:"Array",stat:!0,forced:r(function(){function t(){}return!(Array.of.call(t)instanceof t)})},{of:function(){for(var t=0,e=arguments.length,i=new("function"==typeof this?this:Array)(e);e>t;)a(i,t,arguments[t++]);return i.length=e,i}})},"2OXf":function(t,e,i){"use strict";i.d(e,"a",function(){return y});var n=i("m4/l"),r=i("C6dT"),a=i("sxA1"),o=i("aCit"),s=i("8ZqG"),l=i("vMqJ"),u=i("tjMS"),h=i("pR7v"),c=i("k6kv"),p=i("OXm9"),d=i("Wglt"),f=i("Mtpk"),g=i("hxI2"),m=i("CnhP"),y=function(t){function e(){var e=t.call(this)||this;e.className="HeatLegend",e.markerContainer=e.createChild(r.a),e.markerContainer.shouldClone=!1,e.markerCount=1;var i=new m.a;return i.minHeight=20,i.minWidth=20,i.interactionsEnabled=!1,i.fillOpacity=1,i.cornerRadius(0,0,0,0),e.markerContainer.minHeight=20,e.markerContainer.minWidth=20,e.orientation="horizontal",e.markers=new l.e(i),e._disposers.push(new l.c(e.markers)),e._disposers.push(e.markers.template),e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.getMinFromRules=function(t){var e,i=this.series;if(i)return d.eachContinue(i.heatRules.iterator(),function(i){return i.property!=t||(e=i.min,!1)}),e},e.prototype.getMaxFromRules=function(t){var e,i=this.series;if(i)return d.each(i.heatRules.iterator(),function(i){return i.property!=t||(e=i.max,!1)}),e},e.prototype.validate=function(){t.prototype.validate.call(this),this.valueAxis.renderer.inversed=this.reverseOrder;var e=this.series,i=this.minColor,n=this.maxColor;if(f.hasValue(i)||(i=Object(s.e)(this.getMinFromRules("fill"))),f.hasValue(n)||(n=Object(s.e)(this.getMaxFromRules("fill"))),e){var r=e.fill;!f.hasValue(i)&&r instanceof s.a&&(i=r),!f.hasValue(n)&&r instanceof s.a&&(n=r)}f.hasValue(n)||(n=Object(s.e)(this.getMaxFromRules("fill")));var o=f.toNumber(this.getMinFromRules("fillOpacity"));f.isNumber(o)||(o=1);var l=f.toNumber(this.getMaxFromRules("fillOpacity"));f.isNumber(l)||(l=1);var h=f.toNumber(this.getMinFromRules("strokeOpacity"));f.isNumber(h)||(h=1);var c=f.toNumber(this.getMaxFromRules("strokeOpacity"));f.isNumber(c)||(c=1);for(var p=Object(s.e)(this.getMinFromRules("stroke")),d=Object(s.e)(this.getMaxFromRules("stroke")),m=0;m1&&("horizontal"==this.orientation?T.minGridDistance=this.measuredWidth/this.markerCount:T.minGridDistance=this.measuredHeight/this.markerCount),this.valueAxis.invalidate();m=this.markerCount;for(var S=this.markers.length;m-1)&&(e=e.replace(/y/g,""));var s=o(_?new y(t,e):y(t,e),n?this:v,w);return P&&i&&f(s,{sticky:i}),s},O=function(t){t in w||s(w,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},T=l(y),S=0;T.length>S;)O(T[S++]);v.constructor=w,w.prototype=v,p(r,"RegExp",w)}g("RegExp")},"2ih1":function(t,e,i){var n=i("0sYB"),r=i("UseD");n({target:"ArrayBuffer",stat:!0,forced:!r.NATIVE_ARRAY_BUFFER_VIEWS},{isView:r.isView})},"2xmP":function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},"3/51":function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("DA7/"),a=i("aCit"),o=i("Gg2j"),s=i("Mtpk"),l=function(t){function e(){var e=t.call(this)||this;return e.lightnesses=[],e.brightnesses=[],e.opacities=[],e.offsets=[],e.className="GradientModifier",e.applyTheme(),e}return Object(n.c)(e,t),Object.defineProperty(e.prototype,"lightnesses",{get:function(){return this._lightnesses},set:function(t){this._lightnesses=t,this._brightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"brightnesses",{get:function(){return this._brightnesses},set:function(t){this._brightnesses=t,this._lightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacities",{get:function(){return this._opacities},set:function(t){this._opacities=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsets",{get:function(){return this._offsets},set:function(t){this._offsets=t},enumerable:!0,configurable:!0}),e.prototype.modify=function(t){this.gradient.clear();var e=0;this.opacities&&(e=o.max(e,this.opacities.length)),this.lightnesses&&(e=o.max(e,this.lightnesses.length)),this.brightnesses&&(e=o.max(e,this.brightnesses.length));for(var i,n,r=1,a=0;at;)i[t]=arguments[t++];return i},r)},"39+r":function(t,e,i){"use strict";var n=i("7X7h"),r=i("Y8n3"),a=i("tHyI"),o=Math.min;t.exports=[].copyWithin||function(t,e){var i=n(this),s=a(i.length),l=r(t,s),u=r(e,s),h=arguments.length>2?arguments[2]:void 0,c=o((void 0===h?s:r(h,s))-u,s-l),p=1;for(u0;)u in i?i[l]=i[u]:delete i[l],l+=p,u+=p;return i}},"3Cxr":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.order=function(t,e){return t===e?0:t1?arguments[1]:void 0,m=void 0!==g,y=a(d);if(void 0!=y&&!o(y))for(p=(c=y.call(d)).next,d=[];!(h=p.call(c)).done;)d.push(h.value);for(m&&f>2&&(g=s(g,arguments[2],2)),i=r(d.length),u=new(l(this))(i),e=0;i>e;e++)u[e]=m?g(d[e],e):d[e];return u}},"3Ok2":function(t,e,i){var n=i("KslR"),r=i("CNF5"),a=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[a]===t)}},"3XS/":function(t,e,i){"use strict";var n=i("0sYB"),r=i("rhk+").start;n({target:"String",proto:!0,forced:i("tf09")},{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},"3Z2E":function(t,e,i){"use strict";var n=i("NZ9V"),r=i("3weC"),a=i("7X7h"),o=i("tHyI"),s=i("exNg"),l=i("swFJ"),u=i("L0in"),h=i("Xw1K"),c=Math.max,p=Math.min,d=Math.floor,f=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,m=function(t){return void 0===t?t:String(t)};n("replace",2,function(t,e,i,n){var y=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=n.REPLACE_KEEPS_$0,b=y?"$":"$0";return[function(i,n){var r=l(this),a=void 0==i?void 0:i[t];return void 0!==a?a.call(i,r,n):e.call(String(r),i,n)},function(t,n){if(!y&&v||"string"==typeof n&&-1===n.indexOf(b)){var a=i(e,t,this,n);if(a.done)return a.value}var l=r(t),d=String(this),f="function"==typeof n;f||(n=String(n));var g=l.global;if(g){var _=l.unicode;l.lastIndex=0}for(var P=[];;){var w=h(l,d);if(null===w)break;if(P.push(w),!g)break;""===String(w[0])&&(l.lastIndex=u(d,o(l.lastIndex),_))}for(var O="",T=0,S=0;S=T&&(O+=d.slice(T,I)+A,T=I+C.length)}return O+d.slice(T)}];function x(t,i,n,r,o,s){var l=n+t.length,u=r.length,h=g;return void 0!==o&&(o=a(o),h=f),e.call(s,h,function(e,a){var s;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return i.slice(0,n);case"'":return i.slice(l);case"<":s=o[a.slice(1,-1)];break;default:var h=+a;if(0===h)return e;if(h>u){var c=d(h/10);return 0===c?e:c<=u?void 0===r[c-1]?a.charAt(1):r[c-1]+a.charAt(1):e}s=r[h-1]}return void 0===s?"":s})}})},"3mR7":function(t,e,i){"use strict";var n=i("3sMl"),r=i("vfdp"),a=i("EjSS"),o=i("z3p0"),s=i("JZRr"),l=i("2xmP"),u=i("047P"),h=i("EErT"),c=i("6aQQ"),p=i("QzDi"),d=i("GtmK").f,f=i("gxUV").f,g=i("8+rI").f,m=i("jnLg").trim,y=r.Number,v=y.prototype,b="Number"==l(p(v)),x=function(t){var e,i,n,r,a,o,s,l,u=h(t,!1);if("string"==typeof u&&u.length>2)if(43===(e=(u=m(u)).charCodeAt(0))||45===e){if(88===(i=u.charCodeAt(2))||120===i)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+u}for(o=(a=u.slice(2)).length,s=0;sr)return NaN;return parseInt(a,n)}return+u};if(a("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var _,P=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof P&&(b?c(function(){v.valueOf.call(i)}):"Number"!=l(i))?u(new y(x(e)),i,P):x(e)},w=n?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),O=0;w.length>O;O++)s(y,_=w[O])&&!s(P,_)&&g(P,_,f(y,_));P.prototype=v,v.constructor=P,o(r,"Number",P)}},"3pky":function(t,e,i){var n=i("JZRr"),r=i("9XRO"),a=i("ojxk").indexOf,o=i("lt6Q");t.exports=function(t,e){var i,s=r(t),l=0,u=[];for(i in s)!n(o,i)&&n(s,i)&&u.push(i);for(;e.length>l;)n(s,i=e[l++])&&(~a(u,i)||u.push(i));return u}},"3sMl":function(t,e,i){var n=i("6aQQ");t.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},"3weC":function(t,e,i){var n=i("Kg2n");t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},"4BZe":function(t,e,i){var n=i("2xmP");t.exports=function(t){if("number"!=typeof t&&"Number"!=n(t))throw TypeError("Incorrect invocation");return+t}},"4DCw":function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("mIpt"),a=i("Mtpk"),o=i("hJ5i"),s=[",",";","\t"],l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.contentType="text/csv",e.options={delimiter:"",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1},e}return Object(n.c)(e,t),e.isCSV=function(t){return!!e.getDelimiterFromData(t)},e.getDelimiterFromData=function(t){var e,i=t.split("\n"),n=i.length;return o.each(s,function(t){for(var r=0,a=0,o=0;o1)){a=0;break}if(0===a)a=r;else if(r!=a){a=0;break}}a&&(e=t)}),e},e.prototype.parse=function(t){this.options.delimiter||(this.options.delimiter=e.getDelimiterFromData(t));var i,n,r,o=this.CSVToArray(t,this.options.delimiter),s=a.hasValue(this.options.emptyAs),l=this.parsableNumbers,u=this.parsableDates,h=[],c=[];for(n=0;n0&&(!c.multiline||c.multiline&&"\n"!==t[c.lastIndex-1])&&(f="(?: "+f+")",m=" "+m,g++),i=new RegExp("^(?:"+f+")",d)),h&&(i=new RegExp("^"+f+"$(?!\\s)",d)),l&&(e=c.lastIndex),r=a.call(p?i:c,m),p?r?(r.input=r.input.slice(g),r[0]=r[0].slice(g),r.index=c.lastIndex,c.lastIndex+=r[0].length):c.lastIndex=0:l&&r&&(c.lastIndex=c.global?r.index+r[0].length:e),h&&r&&r.length>1&&o.call(r[0],i,function(){for(s=1;s=0&&n.left>=0&&n.top<=s.top+s.height&&n.left<=s.left+s.width)return!0}return!1}return n.top>=0&&n.left>=0&&n.top<=(window.innerHeight||document.documentElement.clientHeight)&&n.left<=(window.innerWidth||document.documentElement.clientWidth)};var n,r=i("m4/l"),a=i("hD5A"),o=i("/9XX"),s=i("Q4nc"),l=i("Qkdp"),u=i("hJ5i"),h=i("Mtpk"),c="http://www.w3.org/2000/svg",p="http://www.w3.org/2000/xmlns/",d="http://www.w3.org/1999/xlink";function f(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}var g=function(t){function e(e,i,r){var a=this,o=function(t){if(null==t)return h.hasValue(n)||((e=document.createElement("style")).type="text/css",""!=s.a.nonce&&e.setAttribute("nonce",s.a.nonce),document.head.appendChild(e),n=e.sheet),n;var e;return(e=document.createElement("style")).type="text/css",""!=s.a.nonce&&e.setAttribute("nonce",s.a.nonce),t.appendChild(e),e.sheet}(e);return(a=t.call(this,function(){var t=u.indexOf(o.cssRules,a._rule);if(-1===t)throw new Error("Could not dispose StyleRule");o.deleteRule(t)})||this)._rule=function(t,e){var i=t.cssRules.length;return t.insertRule(e+"{}",i),t.cssRules[i]}(o,i),l.each(r,function(t,e){a.setStyle(t,e)}),a}return Object(r.c)(e,t),Object.defineProperty(e.prototype,"selector",{get:function(){return this._rule.selectorText},set:function(t){this._rule.selectorText=t},enumerable:!0,configurable:!0}),e.prototype._setVendorPrefixName=function(t,e){var i=this._rule.style;i.setProperty("-webkit-"+t,e,""),i.setProperty("-moz-"+t,e,""),i.setProperty("-ms-"+t,e,""),i.setProperty("-o-"+t,e,""),i.setProperty(t,e,"")},e.prototype.setStyle=function(t,e){"transition"===t?this._setVendorPrefixName(t,e):this._rule.style.setProperty(t,e,"")},e}(a.b),m=0,y=function(t){function e(e,i,n){var r=this,a=h.hasValue(n)?n:"__style_"+ ++m+"__";return(r=t.call(this,e,"."+a,i)||this)._className=a,r}return Object(r.c)(e,t),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},set:function(t){this._className=t,this.selector="."+t},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this._className},e}(g)},"5FpK":function(t,e,i){"use strict";var n=i("0sYB"),r=i("saPf");n({target:"String",proto:!0,forced:i("v0oN")("fontsize")},{fontsize:function(t){return r(this,"font","size",t)}})},"5SyC":function(t,e){var i=Math.expm1,n=Math.exp;t.exports=!i||i(10)>22025.465794806718||i(10)<22025.465794806718||-2e-17!=i(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:i},"5hgO":function(t,e,i){"use strict";var n=i("0sYB"),r=i("UjlR"),a=i("7X7h"),o=i("tHyI"),s=i("exNg"),l=i("Rs0P");n({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=a(this),i=o(e.length),n=l(e,0);return n.length=r(n,e,e,i,0,void 0===t?1:s(t)),n}})},"5ou3":function(t,e,i){var n=i("oRlD"),r=i("2xmP"),a=i("KslR")("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=n?r:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),a))?i:o?r(e):"Object"==(n=r(e))&&"function"==typeof e.callee?"Arguments":n}},"5rWR":function(t,e,i){i("0sYB")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},"5tyj":function(t,e,i){var n=i("0sYB"),r=i("aHAe");n({target:"Array",stat:!0,forced:!i("XqrT")(function(t){Array.from(t)})},{from:r})},"5vid":function(t,e,i){"use strict";i.d(e,"b",function(){return _}),i.d(e,"a",function(){return P});var n=i("m4/l"),r=i("Uf57"),a=i("Vs7R"),o=i("C6dT"),s=i("vMqJ"),l=i("+qIf"),u=i("pR7v"),h=i("VB2N"),c=i("aCit"),p=i("DG6Q"),d=i("CnhP"),f=i("tjMS"),g=i("Gg2j"),m=i("Qkdp"),y=i("Wglt"),v=i("hJ5i"),b=i("Mtpk"),x=i("hD5A"),_=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 Object(n.c)(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){var e=this;if(this._column&&t!=this._column&&v.remove(this.sprites,this._column),this._column=t,t){var i=t.dataItem;i&&i!=this&&(i.column=void 0),this.addSprite(t),this._disposers.push(new x.b(function(){e.component&&e.component.columns.removeValue(t)}))}},Object.defineProperty(e.prototype,"width",{get:function(){var t=this.properties.width;return this._adapterO&&(t=this._adapterO.apply("width",t)),t},set:function(t){this.properties.width!=t&&(this.properties.width=t,this.component&&this.component.validateDataElement(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rangesColumns",{get:function(){return this._rangesColumns||(this._rangesColumns=new l.a),this._rangesColumns},enumerable:!0,configurable:!0}),e}(r.b),P=function(t){function e(){var e=t.call(this)||this;e._startLocation=0,e._endLocation=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(o.a);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e._columnsContainer=i,e.columns.template.pixelPerfect=!1,e.tooltipColorSource=e.columns.template,e.applyTheme(),e}return Object(n.c)(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),b.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Column Series"))},e.prototype.createDataItem=function(){return new _},e.prototype.validate=function(){var i=this;if(this.group.node.removeAttribute("fill"),this.chart&&this.xAxis&&this.yAxis){var n,r=this.chart.series,a=0,o=0,s=[];y.each(r.iterator(),function(t){var n;t instanceof e&&(i.baseAxis==t.baseAxis&&(n=i.baseAxis==i.xAxis?i.chart.yAxes.indexOf(t.yAxis):i.chart.xAxes.indexOf(t.xAxis),s.push({series:t,axis:n})))}),s.sort(function(t,e){return t.axis-e.axis}),v.each(s,function(t){var r=t.series;r instanceof e&&((!r.stacked&&r.clustered||n!=t.axis&&r.clustered)&&a++,r==i&&(o=a-1)),n=t.axis}),this.clustered||(o=0,a=1);var l=this.baseAxis.renderer,c=l.cellStartLocation,p=l.cellEndLocation;this._startLocation=c+o/a*(p-c),this._endLocation=c+(o+1)/a*(p-c);var d=this.xAxis,f=this.yAxis;d instanceof h.a&&f instanceof u.a&&d.sortBySeries==this&&this.sortCategoryAxis(d,"valueY"),f instanceof h.a&&d instanceof u.a&&f.sortBySeries==this&&this.sortCategoryAxis(f,"valueX")}t.prototype.validate.call(this);for(var g=0;gthis.endIndex;g--){m=this.dataItems.getIndex(g);this.disableUnusedColumns(m)}this._propertiesChanged=!1},e.prototype.sortCategoryAxis=function(t,e){var i=this;this.dataItems.values.sort(function(t,i){return i.values[e].workingValue-t.values[e].workingValue});var n=0;this.dataItems.each(function(t){t._index=n,n++}),t.dataItems.each(function(t){var e=t.component,n=e.categoryToPosition(t.category)-t.deltaPosition,r=e.getSeriesDataItemByCategory(t.category,i);if(r){var a=i.dataItems.indexOf(r);t._index=a;var o=g.round((a+.5)/i.dataItems.length-n,3);t.deltaAnimation&&!t.deltaAnimation.isDisposed()&&t.deltaAnimation.animationOptions[0].to==o||o!=g.round(t.deltaPosition,3)&&(t.deltaAnimation&&t.deltaAnimation.stop(),t.deltaAnimation=t.animate({property:"deltaPosition",from:-o,to:0},e.interpolationDuration,e.interpolationEasing),i._disposers.push(t.deltaAnimation))}}),t.dataItems.values.sort(function(t,e){return t.index-e.index})},e.prototype.validateDataElement=function(e){this.chart&&this.xAxis&&this.yAxis&&(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.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,o=this,s=this.getStartLocation(t),l=this.getEndLocation(t),c=this.xField,p=this.xOpenField,d=this.yField,x=this.yOpenField,_=this.columns.template,P=_.percentWidth,w=_.percentHeight,O=_.pixelWidth,T=_.pixelHeight,S=_.maxWidth,C=_.maxHeight,I=_.pixelPaddingLeft,k=_.pixelPaddingRight,D=_.pixelPaddingTop,j=_.pixelPaddingBottom,V=!1,A=t.width;if(b.hasValue(A)&&(b.isNumber(A)&&(O=A),A instanceof f.a&&(P=100*A.value)),this.xAxis instanceof h.a&&this.yAxis instanceof h.a){if(!t.hasValue(this._xValueFields)||!t.hasValue(this._yValueFields))return;if(s=0,l=1,!b.isNaN(P))s+=R=g.round((l-s)*(1-P/100)/2,5),l-=R;if(e=this.xAxis.getX(t,p,s),i=this.xAxis.getX(t,c,l),b.isNaN(P))e+=R=(i-e-O)/2,i-=R;if(!b.isNaN(S)&&SE&&r>E)&&(V=!0),n=this.fixVerticalCoordinate(n),r=this.fixVerticalCoordinate(r),Math.abs(i-e)-I-k==0&&(V=!0)}else{if(!t.hasValue(this._xValueFields))return;var R;if(!b.isNaN(w))s+=R=g.round((l-s)*(1-w/100)/2,5),l-=R;if(n=this.yAxis.getY(t,x,s),r=this.yAxis.getY(t,d,l),b.isNaN(w))r-=R=(r-n-T)/2,n+=R;if(!b.isNaN(C)&&CE&&e>E)&&(V=!0),i=this.fixHorizontalCoordinate(i),e=this.fixHorizontalCoordinate(e),Math.abs(n-r)-D-j==0&&(V=!0)}var B,U=Math.abs(i-e),W=Math.abs(r-n),H=Math.min(e,i),Y=Math.min(n,r);V?this.disableUnusedColumns(t):(t.column?(B=t.column,this._propertiesChanged&&(m.copyProperties(this,B,a.b),m.copyProperties(this.columns.template,B,a.b),v.each(a.b,function(t){B[t]=B[t]}))):(B=this.columns.create(),m.copyProperties(this,B,a.b),m.copyProperties(this.columns.template,B,a.b),t.addSprite(B),t.column=B,B.paper=this.paper,this.itemsFocusable()?(b.hasValue(this.role)||(this.role="menu"),b.hasValue(B.role)||(B.role="menuitem"),B.focusable=!0):(b.hasValue(this.role)||(this.role="list"),b.hasValue(B.role)||(B.role="listitem"),B.focusable=!1),B.focusable&&(B.events.on("focus",function(e){B.readerTitle=o.populateString(o.itemReaderText,t)},void 0,!1),B.events.on("blur",function(t){B.readerTitle=""},void 0,!1)),B.hoverable&&(B.events.on("over",function(e){B.readerTitle=o.populateString(o.itemReaderText,t)},void 0,!1),B.events.on("out",function(t){B.readerTitle=""},void 0,!1)),B.parent=this.columnsContainer,B.virtualParent=this),B.width=U,B.height=W,B.x=H,B.y=Y,B.realX=e,B.realY=n,B.realWidth=i-e,B.realHeight=r-n,this.setColumnStates(B),B.invalid&&B.validate(),B.__disabled=!1,y.each(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i||(i=o.columns.create(),m.copyProperties(e.contents,i,a.b),t.addSprite(i),t.rangesColumns.setKey(e.uid,i),i.paper=o.paper),i.parent=e.contents,i.width=U,i.height=W,i.x=H,i.y=Y,o.setColumnStates(i),i.invalid&&i.validate(),i.__disabled=!1}));t.itemWidth=U,t.itemHeight=W},e.prototype.disableUnusedColumns=function(t){t&&(t.column&&(t.column.width=0,t.column.height=0,t.column.__disabled=!0),y.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){if(this._dropFromOpenState||this._dropFromPreviousState||this._riseFromOpenState||this._riseFromPreviousState){var e=t.dataItem;if(this.xAxis instanceof u.a||this.yAxis instanceof u.a){var i,n=void 0,r=void 0;this.baseAxis==this.yAxis?(this.xOpenField&&this.xField&&this.xAxis instanceof u.a&&(i=e.getValue(this.xOpenField),n=e.getValue(this.xField)),r=e.getValue(this.xAxis.axisFieldName+"X","previousChange")):(this.yOpenField&&this.yField&&this.yAxis instanceof u.a&&(i=e.getValue(this.yOpenField),n=e.getValue(this.yField)),r=e.getValue(this.yAxis.axisFieldName+"Y","previousChange")),n1?arguments[1]:void 0)}})},"6EAy":function(t,e,i){var n=i("6aQQ");t.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},"6WsA":function(t,e,i){var n=i("lCww"),r=i("JZRr"),a=i("0irS"),o=i("8+rI").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});r(e,t)||o(e,t,{value:a.f(t)})}},"6aQQ":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7W4+":function(t,e,i){var n=i("xaIW");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"7X7h":function(t,e,i){var n=i("swFJ");t.exports=function(t){return Object(n(t))}},"7XB+":function(t,e,i){"use strict";i.d(e,"a",function(){return p});var n=i("m4/l"),r=i("P/bD"),a=i("Tjl+"),o=i("MipW"),s=i("aCit"),l=i("ScGY"),u=i("v9UT"),h=i("Mtpk"),c=i("L91H"),p=function(t){function e(){var e=t.call(this)||this;return e._dateFormat="yyyy-MM-dd",e._inputDateFormat="yyyy-MM-dd",e._utc=!1,e._firstDayOfWeek=1,e.months=["January","February","March","April","May","June","July","August","September","October","November","December"],e.monthsShort=["Jan","Feb","Mar","Apr","May(short)","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e.weekdays=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],e.weekdaysShort=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],e._outputFormat="svg",e.capitalize=!0,e.className="DateFormatter",e.applyTheme(),e}return Object(n.c)(e,t),Object.defineProperty(e.prototype,"language",{get:function(){return this._language},set:function(t){this._language=t,this.dateFormat=this._language.translate("_date")},enumerable:!0,configurable:!0}),e.prototype.format=function(t,e){var i,n;if(this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a),void 0!==e&&""!==e||(e=this._dateFormat),n=h.isString(t)?this.parse(t):u.anyToDate(t),h.isObject(e))try{return this.intlLocales?new Intl.DateTimeFormat(this.intlLocales,e).format(n):new Intl.DateTimeFormat(void 0,e).format(n)}catch(t){return"Invalid"}else{e=u.cleanFormat(e);var a=this.parseFormat(e);if(h.hasValue(this.timezoneOffset)?n.setMinutes(n.getMinutes()+n.getTimezoneOffset()-this.timezoneOffset):h.hasValue(this.timezone)&&(n=c.setTimezone(n,this.timezone)),!h.isNumber(n.getTime()))return this.language.translate("Invalid date");i=this.applyFormat(n,a,this.language),this.capitalize&&(i=i.replace(/^.{1}/,i.substr(0,1).toUpperCase()))}return i},e.prototype.parseFormat=function(t){var e=this.getCache(t);if(h.hasValue(e))return e;for(var i={template:"",parts:[]},n=Object(o.b)().chunk(t,!0),r=0;r4&&b--,v="YYYY"==e.parts[m]?Math.abs(b).toString():Math.abs(b).toString().substr(-e.parts[m].length),b<0&&(v+=i.translate("_era_bc"));break;case"u":break;case"q":v=""+Math.ceil((t.getMonth()+1)/3);break;case"MMMMM":v=i.translate(this.months[r]).substr(0,1);break;case"MMMM":v=i.translate(this.months[r]);break;case"MMM":v=i.translate(this.monthsShort[r]);break;case"MM":v=u.padString(r+1,2,"0");break;case"M":v=(r+1).toString();break;case"ww":v=u.padString(u.getWeek(t,this.utc),2,"0");break;case"w":v=u.getWeek(t,this.utc).toString();break;case"W":v=u.getMonthWeek(t,this.utc).toString();break;case"dd":v=u.padString(o,2,"0");break;case"d":v=o.toString();break;case"DD":case"DDD":v=u.padString(u.getYearDay(t,this.utc).toString(),e.parts[m].length,"0");break;case"D":v=u.getYearDay(t,this.utc).toString();break;case"F":case"g":break;case"t":v=i.translateFunc("_dateOrd").call(this,o);break;case"E":v=(a||7).toString();break;case"EE":v=u.padString((a||7).toString(),2,"0");break;case"EEE":case"eee":v=i.translate(this.weekdaysShort[a]);break;case"EEEE":case"eeee":v=i.translate(this.weekdays[a]);break;case"EEEEE":case"eeeee":v=i.translate(this.weekdays[a]).substr(0,1);break;case"e":case"ee":v=(a-this.firstDayOfWeek+1).toString(),"ee"==e.parts[m]&&(v=u.padString(v,2,"0"));break;case"a":v=s>=12?i.translate("PM"):i.translate("AM");break;case"aa":v=s>=12?i.translate("P.M."):i.translate("A.M.");break;case"aaa":v=s>=12?i.translate("P"):i.translate("A");break;case"h":v=u.get12Hours(s).toString();break;case"hh":v=u.padString(u.get12Hours(s),2,"0");break;case"H":v=s.toString();break;case"HH":v=u.padString(s,2,"0");break;case"K":v=u.get12Hours(s,0).toString();break;case"KK":v=u.padString(u.get12Hours(s,0),2,"0");break;case"k":v=(s+1).toString();break;case"kk":v=u.padString(s+1,2,"0");break;case"m":v=h.toString();break;case"mm":v=u.padString(h,2,"0");break;case"s":v=c.toString();break;case"ss":v=u.padString(c,2,"0");break;case"S":case"SS":case"SSS":v=Math.round(p/1e3*Math.pow(10,e.parts[m].length)).toString();break;case"x":v=g.toString();break;case"n":case"nn":case"nnn":v=u.padString(p,e.parts[m].length,"0");break;case"z":v=u.getTimeZone(t,!1,!1,this.utc);break;case"zz":v=u.getTimeZone(t,!0,!1,this.utc);break;case"zzz":v=u.getTimeZone(t,!1,!0,this.utc);break;case"zzzz":v=u.getTimeZone(t,!0,!0,this.utc);break;case"Z":case"ZZ":var x=Math.abs(f)/60,_=Math.floor(x),P=60*x-60*_;this.utc&&(_=0,P=0),"Z"==e.parts[m]?(v="GMT",v+=f>0?"-":"+",v+=u.padString(_,2)+":"+u.padString(P,2)):(v=f>0?"-":"+",v+=u.padString(_,2)+u.padString(P,2));break;case"i":v=t.toISOString();break;case"I":v=t.toUTCString()}d=d.replace(l.d,v)}return d},e.prototype.parse=function(t,e){if(h.hasValue(e)||(e=this.inputDateFormat),t instanceof Date)return t;if("number"==typeof t)return new Date(t);var i;"string"!=typeof t&&(t=t.toString()),this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a);var n="";e=(e=u.cleanFormat(e)).substr(0,t.length);for(var a=this.parseFormat(e),o={year:-1,year3:-1,year2:-1,year1:-1,month:-1,monthShort:-1,monthLong:-1,weekdayShort:-1,weekdayLong:-1,day:-1,yearDay:-1,week:-1,hourBase0:-1,hour12Base0:-1,hourBase1:-1,hour12Base1:-1,minute:-1,second:-1,millisecond:-1,millisecondDigits:-1,am:-1,zone:-1,timestamp:-1,iso:-1},s={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:this.utc},l=0,c=0,p=0;p-1&&(s.year=parseInt(f[o.year])),o.year3>-1){var g=parseInt(f[o.year3]);g+=1e3,s.year=g}if(o.year2>-1){g=parseInt(f[o.year2]);g+=g>50?1e3:2e3,s.year=g}if(o.year1>-1){g=parseInt(f[o.year1]);g=10*Math.floor((new Date).getFullYear()/10)+g,s.year=g}if(o.monthLong>-1&&(s.month=this.resolveMonth(f[o.monthLong])),o.monthShort>-1&&(s.month=this.resolveShortMonth(f[o.monthShort])),o.month>-1&&(s.month=parseInt(f[o.month])-1),o.week>-1&&-1===o.day&&(s.month=0,s.day=u.getDayFromWeek(parseInt(f[o.week]),s.year,1,this.utc)),o.day>-1&&(s.day=parseInt(f[o.day])),o.yearDay>-1&&(s.month=0,s.day=parseInt(f[o.yearDay])),o.hourBase0>-1&&(s.hour=parseInt(f[o.hourBase0])),o.hourBase1>-1&&(s.hour=parseInt(f[o.hourBase1])-1),o.hour12Base0>-1)11==(g=parseInt(f[o.hour12Base0]))&&(g=0),o.am>-1&&!this.isAm(f[o.am])&&(g+=12),s.hour=g;if(o.hour12Base1>-1)12==(g=parseInt(f[o.hour12Base1]))&&(g=0),o.am>-1&&!this.isAm(f[o.am])&&(g+=12),s.hour=g;if(o.minute>-1&&(s.minute=parseInt(f[o.minute])),o.second>-1&&(s.second=parseInt(f[o.second])),o.millisecond>-1){g=parseInt(f[o.millisecond]);2==o.millisecondDigits?g*=10:1==o.millisecondDigits&&(g*=100),s.millisecond=g}if(o.timestamp>-1){s.timestamp=parseInt(f[o.timestamp]);var m=new Date(s.timestamp);s.year=m.getUTCFullYear(),s.month=m.getUTCMonth(),s.day=m.getUTCDate(),s.hour=m.getUTCHours(),s.minute=m.getUTCMinutes(),s.second=m.getUTCSeconds(),s.millisecond=m.getUTCMilliseconds()}if(o.zone>-1){var y=f[o.zone].replace(/:/,""),v=h.getValue(y.match(/([+\-]?)([0-9]{2})([0-9]{2})/)),b=v[1],x=v[2],_=v[3],P=60*parseInt(x)+parseInt(_);"+"==b&&(P*=-1);var w=P-(new Date).getTimezoneOffset();s.offset=w}o.iso>-1&&("Z"!=f[o.iso+7]&&"z"!=f[o.iso+7]||(s.utc=!0),s.year=h.toNumber(f[o.iso+0]),s.month=h.toNumber(f[o.iso+1])-1,s.day=h.toNumber(f[o.iso+2]),s.hour=h.toNumber(f[o.iso+3]),s.minute=h.toNumber(f[o.iso+4]),s.second=h.toNumber(f[o.iso+5]),s.millisecond=h.toNumber(f[o.iso+6])),i=s.utc?new Date(Date.UTC(s.year,s.month,s.day,s.hour,s.minute,s.second,s.millisecond)):new Date(s.year,s.month,s.day,s.hour,s.minute+s.offset,s.second,s.millisecond)}else i=new Date(t);return i},e.prototype.resolveMonth=function(t){var e=this.months.indexOf(t);return e>-1?e:this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this.months).indexOf(t))>-1?e:0},e.prototype.resolveShortMonth=function(t){var e=this.monthsShort.indexOf(t);return e>-1?e:(e=this.months.indexOf(t))>-1?e:this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this.monthsShort).indexOf(t))>-1?e:0},e.prototype.isAm=function(t){return this.getStringList(["AM","A.M.","A"]).indexOf(t.toUpperCase())>-1},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},e.prototype.getStringList=function(t){for(var e=[],i=0;i=0:c>p;p+=d)p in h&&(l=i(l,h[p],p,u));return l}};t.exports={left:s(!1),right:s(!0)}},"7gIX":function(t,e,i){"use strict";var n=i("UseD"),r=i("Nfo5"),a=i("6aQQ"),o=n.aTypedArray,s=n.aTypedArrayConstructor,l=n.exportTypedArrayMethod,u=[].slice;l("slice",function(t,e){for(var i=u.call(o(this),t,e),n=r(this,this.constructor),a=0,l=i.length,h=new(s(n))(l);l>a;)h[a]=i[a++];return h},a(function(){new Int8Array(1).slice()}))},"8+rI":function(t,e,i){var n=i("3sMl"),r=i("t+NF"),a=i("3weC"),o=i("EErT"),s=Object.defineProperty;e.f=n?s:function(t,e,i){if(a(t),e=o(e,!0),a(i),r)try{return s(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},"85D4":function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i("m4/l"),r=i("ohjg"),a=i("aCit"),o=function(t){function e(){var e=t.call(this)||this;return e.className="DesaturateFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"saturate"}),e.filterPrimitives.push(e.feColorMatrix),e.width=120,e.height=120,e.saturation=0,e.applyTheme(),e}return Object(n.c)(e,t),Object.defineProperty(e.prototype,"saturation",{get:function(){return this.properties.saturation},set:function(t){this.properties.saturation=t,this.feColorMatrix.attr({values:t.toString()})},enumerable:!0,configurable:!0}),e}(r.a);a.c.registeredClasses.DesaturateFilter=o},"8Cf/":function(t,e,i){"use strict";var n=i("z3p0"),r=i("3weC"),a=i("6aQQ"),o=i("/arR"),s=RegExp.prototype,l=s.toString,u=a(function(){return"/a/b"!=l.call({source:"a",flags:"b"})}),h="toString"!=l.name;(u||h)&&n(RegExp.prototype,"toString",function(){var t=r(this),e=String(t.source),i=t.flags;return"/"+e+"/"+String(void 0===i&&t instanceof RegExp&&!("flags"in s)?o.call(t):i)},{unsafe:!0})},"8EhG":function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Vs7R"),a=i("aCit"),o=i("MIZb"),s=i("Mtpk"),l=function(t){function e(e){var i=t.call(this)||this;i.axis=e,i.element=i.paper.add("path"),i.className="AxisFill",i.isMeasured=!1,i.location=0,i.above=!1;var n=new o.a;return i.fill=n.getFor("alternativeBackground"),i.fillOpacity=0,i.applyTheme(),i}return Object(n.c)(e,t),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e.prototype.draw=function(){t.prototype.draw.call(this),this.__disabled||this.disabled||this.axis&&s.isNumber(this.startPosition)&&s.isNumber(this.endPosition)&&(this.fillPath=this.axis.getPositionRangePath(this.startPosition,this.endPosition),this.path=this.fillPath,this.isMeasured&&this.measure())},Object.defineProperty(e.prototype,"startPosition",{get:function(){return this.getPropertyValue("startPosition")},set:function(t){this.setPropertyValue("startPosition",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){return this.getPropertyValue("endPosition")},set:function(t){this.setPropertyValue("endPosition",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setPath=function(t){return!!this.setPropertyValue("path",t)&&(this.element.attr({d:t}),!0)},Object.defineProperty(e.prototype,"above",{get:function(){return this.getPropertyValue("above")},set:function(t){this.setPropertyValue("above",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);a.c.registeredClasses.AxisFill=l},"8ZqG":function(t,e,i){"use strict";i.d(e,"a",function(){return o}),e.c=s,e.d=l,e.b=u,e.e=function(t){if(a.hasValue(t)&&!l(t))return u(t);return t};var n=i("aCit"),r=i("hxI2"),a=i("Mtpk"),o=function(){function t(t){this._value=t}return Object.defineProperty(t.prototype,"rgb",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hex",{get:function(){return this._value?r.rgbToHex(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rgba",{get:function(){return this._value?r.rgbToRGBA(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return null!=this._value&&null!=this._value.a?this._value.a:1},set:function(t){this._value&&(this._value.a=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lightColor",{get:function(){return this._lightColor||(this._lightColor=new t({r:255,g:255,b:255})),this._lightColor},set:function(t){this._lightColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"darkColor",{get:function(){return this._darkColor||(this._darkColor=new t({r:0,g:0,b:0})),this._darkColor},set:function(t){this._darkColor=t},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.alpha<1?this.rgba:this.hex},t.prototype.lighten=function(e){return new t(r.lighten(this.rgb,e))},t.prototype.brighten=function(e){return new t(r.brighten(this.rgb,e))},t.prototype.saturate=function(e){return new t(r.saturate(this.rgb,e))},Object.defineProperty(t.prototype,"alternative",{get:function(){if(null!=this.rgb)return r.isLight(this.rgb)?this.darkColor:this.lightColor;throw new Error("Color does not exist")},enumerable:!0,configurable:!0}),t}();function s(t,e){if(!a.hasValue(t))return new o(void 0);if("string"==typeof t){var i="_color_"+t+"_"+(e||"1"),s=n.c.getCache(i);if(s)return new o({r:s.r,g:s.g,b:s.b,a:s.a});var l=r.rgb(t,e);return n.c.setCache(i,l),new o(l)}return t instanceof o?(a.hasValue(e)&&(t.alpha=e),t):new o(t)}function l(t){return t instanceof o}function u(t){return s(t)}},"8nEM":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},"8xQt":function(t,e,i){"use strict";var n=i("0sYB"),r=i("HgTb");n({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},"97TN":function(t,e,i){var n=i("vfdp");t.exports=n.Promise},"9HTT":function(t,e,i){var n=i("0sYB"),r=i("3weC"),a=i("Kg2n"),o=i("JZRr"),s=i("6aQQ"),l=i("8+rI"),u=i("gxUV"),h=i("Ox5T"),c=i("Pm8L");n({target:"Reflect",stat:!0,forced:s(function(){var t=l.f({},"a",{configurable:!0});return!1!==Reflect.set(h(t),"a",1,t)})},{set:function t(e,i,n){var s,p,d=arguments.length<4?e:arguments[3],f=u.f(r(e),i);if(!f){if(a(p=h(e)))return t(p,i,n,d);f=c(0)}if(o(f,"value")){if(!1===f.writable||!a(d))return!1;if(s=u.f(d,i)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,l.f(d,i,s)}else l.f(d,i,c(0,n));return!0}return void 0!==f.set&&(f.set.call(d,n),!0)}})},"9PYb":function(t,e,i){i("eygo")("Uint8",function(t){return function(e,i,n){return t(this,e,i,n)}},!0)},"9XRO":function(t,e,i){var n=i("tNpr"),r=i("swFJ");t.exports=function(t){return n(r(t))}},"9ZsQ":function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i("m4/l"),r=i("ZoDA"),a=i("aCit"),o=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisBreak",e.applyTheme(),e}return Object(n.c)(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.invalidate(),this.axis.invalidateSeries()))},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.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),e}(r.a);a.c.registeredClasses.DateAxisBreak=o},"9bPn":function(t,e,i){"use strict";i("HMf+")("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},i("NNEa"))},"9lsj":function(t,e,i){var n=i("0sYB"),r=i("3sMl"),a=i("3weC"),o=i("EErT"),s=i("8+rI");n({target:"Reflect",stat:!0,forced:i("6aQQ")(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})}),sham:!r},{defineProperty:function(t,e,i){a(t);var n=o(e,!0);a(i);try{return s.f(t,n,i),!0}catch(t){return!1}}})},A6AV:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("Tjl+"),a=i("x79X"),o=i("1yyj"),s=i("v9UT"),l=i("hJ5i"),u=i("Mtpk"),h=function(t){function e(){var e=t.call(this)||this;return e._disabled=!1,e.hasProperties=!1,e.values={},e.categories={},e.dates={},e.locations={},e.workingLocations={},e.properties={},e.sprites=[],e.isTemplate=!1,e._index=null,e._visible=!0,e._hidden=!1,e._ignoreMinMax=!1,e.hasChildren={},e.isHiding=!1,e._valueAnimations={},e._locationAnimations={},e.className="DataItem",e.applyTheme(),e}return Object(n.c)(e,t),Object.defineProperty(e.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new a.a(this)),this._adapterO},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this.component&&null!=this._index?this._index:-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new o.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return!this._hidden&&this._visible},set:function(t){t&&(this.hidden=!1),this._visible!=t&&this.setVisibility(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return this._hidden},set:function(t){this._hidden!=t&&(this._hidden=t,t?this.setVisibility(!1):this.setVisibility(!0,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,l.each(this.sprites,function(e){e.__disabled=t})},enumerable:!0,configurable:!0}),e.prototype.setVisibility=function(t,e){if(l.each(this.sprites,function(e){t?e.visible=e.defaultState.properties.visible:e.hiddenState?e.visible=e.hiddenState.properties.visible:e.visible=!1}),this._visible=t,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("visibilitychanged")){var i={type:"visibilitychanged",target:this,visible:t};this.events.dispatchImmediately("visibilitychanged",i)}},e.prototype.show=function(t,e,i){var n,r=this;if(!this.hidden)return this.setVisibility(!0,!0),this.isHiding=!1,this._hideDisposer&&this.removeDispose(this._hideDisposer),i&&l.each(i,function(i){n=r.setWorkingValue(i,r.values[i].value,t,e)}),l.each(this.sprites,function(i){var n=i.show(t);null==n||n.isFinished()||(r._disposers.push(n),null!=e&&e>0&&n.delay(e))}),n},e.prototype.dispose=function(){t.prototype.dispose.call(this),l.each(this.sprites,function(t){t.dispose()}),this.sprites=[]},e.prototype.hide=function(t,e,i,n){var r=this;if(this.isHiding=!0,l.each(this.sprites,function(i){var n=i.hide(t);null==n||n.isFinished()||(r._disposers.push(n),null!=e&&e>0&&n.delay(e))}),u.isNumber(i)&&n){var a;if(l.each(n,function(n){var o=r.setWorkingValue(n,i,t,e);o&&(a=o)}),a&&!a.isFinished())return this._hideDisposer=a.events.on("animationended",function(){r.setVisibility(!1,!0),r.isHiding=!1}),this._disposers.push(this._hideDisposer),a;this.isHiding=!1,this.setVisibility(!1,!0)}else this.isHiding=!1,this.setVisibility(!1)},e.prototype.getDuration=function(t){if(!u.isNumber(t)){var e=this.component;e&&(t=e.interpolationDuration)}if(null!=t)return this._adapterO?this._adapterO.apply("duration",t):t},e.prototype.getValue=function(t,e){if(t&&this.component){e||(e=this.component.dataFields[t+"Show"])||(e="value");var i=this.values[t][e];return this._adapterO&&this._adapterO.isEnabled("value")?this._adapterO.apply("value",{value:i,field:t}).value:i}},e.prototype.getWorkingValue=function(t){if(t&&this.component){var e=this.component.dataFields[t+"Show"];return e||(e="workingValue"),this._adapterO?this._adapterO.apply("workingValue",{workingValue:this.values[t][e],field:t}).workingValue:this.values[t][e]}},e.prototype.getActualWorkingValue=function(t){return this.values[t].workingValue},e.prototype.setValue=function(t,e,i,n){var r=this.values[t].value,a=this.getDuration(i);if(r!==(e=u.toNumber(e))){if(this.values[t].value=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("valuechanged")){var o={type:"valuechanged",target:this,property:t};this.events.dispatchImmediately("valuechanged",o)}this.component&&this.component.handleDataItemValueChange(this,t)}this.setWorkingValue(t,e,a,n)},e.prototype.setCalculatedValue=function(t,e,i){if(this.values[t][i]!==e&&u.isNumber(e)){if(this.values[t][i]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("calculatedvaluechanged")){var n={type:"calculatedvaluechanged",target:this,property:t};this.events.dispatchImmediately("calculatedvaluechanged",n)}this.component&&this.component.handleDataItemCalculatedValueChange(this,t)}},e.prototype.setWorkingValue=function(t,e,i,n){if(u.isNumber(this.values[t].value)){var r=this.getDuration(i),a=this.values[t].workingValue;if(null!=r&&r>0&&u.isNumber(a)&&this.component){if(a!=e){var o=this.animate({childObject:this.values[t],property:"workingValue",from:a,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&o.delay(n),o.events.on("animationstarted",this.handleInterpolationProgress,this),o.events.on("animationprogress",this.handleInterpolationProgress,this),o.events.on("animationended",this.handleInterpolationProgress,this),this._valueAnimations[t]=o,o}(s=this._valueAnimations[t])&&s.stop(),this.values[t].workingValue=e}else{var s;if((s=this._valueAnimations[t])&&s.stop(),this.values[t].workingValue=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var l={type:"workingvaluechanged",target:this,property:t};this.events.dispatchImmediately("workingvaluechanged",l)}this.component&&this.component.handleDataItemWorkingValueChange(this,t)}}},e.prototype.setLocation=function(t,e,i,n){if(this.locations[t]!==e){if(this.locations[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("locationchanged")){var r={type:"locationchanged",target:this,property:t};this.events.dispatchImmediately("locationchanged",r)}this.component&&this.component.handleDataItemValueChange(this,t),this.setWorkingLocation(t,e,i,n)}},e.prototype.setWorkingLocation=function(t,e,i,n){var r=this.getDuration(i),a=this.workingLocations[t];if(null!=r&&r>0&&u.isNumber(a)&&this.component){if(a!=e){var o=this.animate({childObject:this.workingLocations,property:t,from:a,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&o.delay(n),o.events.on("animationstarted",this.handleInterpolationProgress,this),o.events.on("animationprogress",this.handleInterpolationProgress,this),o.events.on("animationended",this.handleInterpolationProgress,this),this._locationAnimations[t]=o,o}(s=this._locationAnimations[t])&&s.stop(),this.workingLocations[t]=e}else{var s;if((s=this._locationAnimations[t])&&s.stop(),this.workingLocations[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workinglocationchanged")){var l={type:"workinglocationchanged",target:this,property:t};this.events.dispatchImmediately("workinglocationchanged",l)}this.component&&this.component.handleDataItemWorkingLocationChange(this,t)}},e.prototype.setDate=function(t,e,i){!u.isDate(e)&&this.component&&(e=this.component.dateFormatter.parse(e)),this.dates[t]!==e&&(this.dates[t]=e,this.setValue(t,e.getTime(),i))},e.prototype.getDate=function(t){return this._adapterO?this._adapterO.apply("date",{date:this.dates[t],field:t}).date:this.dates[t]},e.prototype.setProperty=function(t,e){if(this.properties[t]!==e){if(this.hasProperties=!0,this.properties[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")){var i={type:"propertychanged",target:this,property:t,value:e};this.events.dispatchImmediately("propertychanged",i)}this.component&&this.component.handleDataItemPropertyChange(this,t)}},e.prototype.setCategory=function(t,e){u.isString(e)||(e=u.castString(e)),this.categories[t]!==e&&(this.categories[t]=e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.dataContext&&(this.dataContext=s.copy(e.dataContext,{})),s.copyProperties(e.locations,this.locations),e._adapterO&&this.adapter.copyFrom(e._adapterO),this.component=e.component},Object.defineProperty(e.prototype,"opacity",{set:function(t){l.each(this.sprites,function(e){e.opacity=t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(t){if(this._ignoreMinMax=t,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")){var e={type:"propertychanged",target:this,property:"ignoreMinMax",value:t};this.events.dispatchImmediately("propertychanged",e)}this.component&&this.component.handleDataItemPropertyChange(this,"ignoreMinMax")},enumerable:!0,configurable:!0}),e.prototype.animate=function(t,e,i){return new o.a(this,t,e,i).start()},e.prototype.handleInterpolationProgress=function(t){var e=t.target.animationOptions[0];if(e){if(this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var i={type:"workingvaluechanged",target:this,property:e.dummyData};this.events.dispatchImmediately("workingvaluechanged",i)}this.component&&this.component.handleDataItemWorkingValueChange(this,e.dummyData)}},e.prototype.hasValue=function(t){for(var e=0,i=t.length;ethis.end)return i.hide(0),void(this._tooltipPosition=void 0);var n=this.renderer;i.parent||(i.parent=this.tooltipContainer);var r=n.tooltipLocation,a=this.getCellStartPosition(t),o=this.getCellEndPosition(t);if("fixed"==this.tooltipPosition&&(t=a+(o-a)*r),t=y.fitToRange(t,this.start,this.end),this._tooltipPosition!=t){this._tooltipPosition=t;var s=n.tooltipLocation2,l=n.positionToPoint(a,s),u=n.positionToPoint(o,s);this.currentItemStartPoint=l,this.currentItemEndPoint=u,n.fullWidthTooltip&&(i.width=u.x-l.x,i.height=u.y-l.y);var h=n.positionToPoint(t,s),c=v.spritePointToSvg(h,this.renderer.line);i.text=this.getTooltipText(t),i.text&&(i.delayedPointTo(c),i.show())}this.cursorTooltipEnabled&&!this.tooltip.disabled||i.hide(0)}},e.prototype.toAxisPosition=function(t){if(void 0!=(t=this.renderer.toAxisPosition(t)))return t*=this.end-this.start,t=this.renderer.inversed?this.end-t:this.start+t},e.prototype.toGlobalPosition=function(t){return this.renderer.inversed?t=this.end-t:t-=this.start,t/(this.end-this.start)},e.prototype.getTooltipText=function(t){},e.prototype.updateTooltip=function(t,e){var i=this._tooltip;i&&(i.fixDoc=!1,i.pointerOrientation=t,i.setBounds(v.spriteRectToSvg(e,this.renderer.line)))},e.prototype.roundPosition=function(t,e,i){return t},e.prototype.getCellStartPosition=function(t){return t},e.prototype.getCellEndPosition=function(t){return t},Object.defineProperty(e.prototype,"axisRanges",{get:function(){if(!this._axisRanges){var t=this.createDataItem();t.isRange=!0,t.axisFill=this.renderer.axisFills.template.clone(),t.grid=this.renderer.grid.template.clone(),t.tick=this.renderer.ticks.template.clone(),t.label=this.renderer.labels.template.clone(),t.isTemplate=!0,t.component=this,t.axisFill.disabled=!1,t.tick.disabled=!1,t.grid.disabled=!1,t.label.disabled=!1,this._axisRanges=new p.e(t),this._axisRanges.events.on("inserted",this.processAxisRange,this,!1),this._disposers.push(new p.c(this._axisRanges)),this._disposers.push(this._axisRanges.template)}return this._axisRanges},enumerable:!0,configurable:!0}),e.prototype.processAxisRange=function(t){var e=t.newValue;e.component=this,e.isRange=!0},Object.defineProperty(e.prototype,"axisBreaks",{get:function(){return this._axisBreaks||(this._axisBreaks=new c.d(this.createAxisBreak(),function(t,e){return b.order(t.adjustedStartValue,e.adjustedStartValue)}),this._axisBreaks.events.on("inserted",this.processBreak,this,!1),this._disposers.push(new p.c(this._axisBreaks)),this._disposers.push(this._axisBreaks.template)),this._axisBreaks},enumerable:!0,configurable:!0}),e.prototype.createAxisBreak=function(){return new l.a},Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new p.b),this._series},enumerable:!0,configurable:!0}),e.prototype.processSeriesDataItems=function(){},e.prototype.processSeriesDataItem=function(t,e){},e.prototype.postProcessSeriesDataItems=function(t){},e.prototype.postProcessSeriesDataItem=function(t){},e.prototype.updateAxisBySeries=function(){},e.prototype.hideUnusedDataItems=function(){var t=this,e=this._dataItemsIterator;e.createNewItems=!1,m.each(e.iterator(),function(e){t.validateDataElement(e),e.__disabled=!0}),e.clear(),e.createNewItems=!0},e.prototype.getSeriesDataItem=function(t,e,i){},e.prototype.getAngle=function(t,e,i,n,r){},e.prototype.getX=function(t,e,i,n,r){},e.prototype.getPositionX=function(t,e,i,n,r){},e.prototype.getY=function(t,e,i,n,r){},e.prototype.getPositionY=function(t,e,i,n,r){},Object.defineProperty(e.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),e.prototype.dataChangeUpdate=function(){},e.prototype.seriesDataChangeUpdate=function(t){},e.prototype.adjustDifference=function(t,e){var i=e-t;if(_.isNumber(i))return this._axisBreaks&&m.eachContinue(this._axisBreaks.iterator(),function(n){var r=n.adjustedStartValue,a=n.adjustedEndValue;if(_.isNumber(r)&&_.isNumber(a)){if(r>e)return!1;if(a>=t&&_.isNumber(r)&&_.isNumber(a)){var o=n.breakSize,s=y.intersection({start:r,end:a},{start:t,end:e});s&&(i-=(s.end-s.start)*(1-o))}return!0}}),i},e.prototype.isInBreak=function(t){if(this._axisBreaks)return m.find(this._axisBreaks.iterator(),function(e){return t>=e.adjustedStartValue&&t<=e.adjustedEndValue})},e.prototype.fixAxisBreaks=function(){var t=this;if(this._axisBreaks){var e=this._axisBreaks;if(e.length>0){x.each(m.toArray(e.iterator()),function(e){var i=y.min(e.startValue,e.endValue),n=y.max(e.startValue,e.endValue);e.adjustedStartValue=i,e.adjustedEndValue=n,t._axisBreaks.update(e)});var i=e.first,n=Math.min(i.startValue,i.endValue);m.each(e.iterator(),function(t){var e=t.adjustedStartValue,i=t.adjustedEndValue;e=0;i--){var n=t[i].label;if(n){n.invalid&&n.validate();var r=n.measuredHeight;n.visible||(r=0),i==t.length-1&&(e+=r/2),n.pixelY+r>e&&(n.y=e-r,e=n.y)}}},e.prototype.getNextLabel=function(t,e){if(e.length>=t){var i=e[t];if(i)return i.label&&i.visible?i.label:this.getNextLabel(t+1,e)}},Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"patterns",{get:function(){return this.getPropertyValue("patterns")},set:function(t){this.setPropertyValue("patterns",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t,e){d.each(t.children.iterator(),function(i){var n=e.slice;i.defaultState.properties.fill=n.fill,i.defaultState.properties.stroke=n.stroke,i.defaultState.properties.fillOpacity=n.fillOpacity,i.defaultState.properties.strokeOpacity=n.strokeOpacity,i.fill=n.fill,i.stroke=n.stroke,i.fillOpacity=n.fillOpacity,i.strokeOpacity=n.strokeOpacity,void 0==i.fill&&(i.__disabled=!0);var r=t.dataItem;r.color=n.fill,r.colorOrig=n.fill,i.addDisposer(n.events.on("propertychanged",function(t){"fill"==t.property&&(i.__disabled=!1,i.isActive||(i.fill=n.fill),i.defaultState.properties.fill=n.fill,r.color=n.fill,r.colorOrig=n.fill),"stroke"==t.property&&(i.isActive||(i.stroke=n.stroke),i.defaultState.properties.stroke=n.stroke)},void 0,!1))})},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){},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),this.colors=e.colors.clone()},Object.defineProperty(e.prototype,"alignLabels",{get:function(){return this.getPropertyValue("alignLabels")},set:function(t){this.setAlignLabels(t)},enumerable:!0,configurable:!0}),e.prototype.setAlignLabels=function(t){this.setPropertyValue("alignLabels",t,!0)},Object.defineProperty(e.prototype,"ignoreZeroValues",{get:function(){return this.getPropertyValue("ignoreZeroValues")},set:function(t){this.setPropertyValue("ignoreZeroValues",t,!0)},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(t){if(t){var e=t.legendDataItem,i=t.legendSettings;e&&i&&i&&(i.labelText&&(e.label.text=i.labelText),i.itemLabelText&&(e.label.text=i.itemLabelText),i.valueText&&(e.valueLabel.text=i.valueText),i.itemValueText&&(e.valueLabel.text=i.itemValueText))}},e}(r.a);p.c.registeredClasses.PercentSeries=b,p.c.registeredClasses.PercentSeriesDataItem=v,y.c.push({relevant:y.b.maybeXS,state:function(t,e){if(t instanceof b){var i=t.states.create(e);return t.labels.template.states.create(e).properties.disabled=!0,t.ticks.template.states.create(e).properties.disabled=!0,i}return null}})},AYiJ:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},AaJ4:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("Vs7R"),a=i("aCit"),o=i("8ZqG"),s=i("MIZb"),l=i("TGuK"),u=function(t){function e(){var e=t.call(this)||this;e.className="Grid",e.element=e.paper.add("path"),e.location=.5,e.isMeasured=!1,e.above=!1;var i=new s.a;return e.stroke=i.getFor("grid"),e.pixelPerfect=!0,e.strokeOpacity=.15,e.fill=Object(o.c)(),e.applyTheme(),e}return Object(n.c)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"above",{get:function(){return this.getPropertyValue("above")},set:function(t){this.setPropertyValue("above",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.a);a.c.registeredClasses.Grid=u,l.c.push({relevant:l.b.maybeXS,state:function(t,e){if(t instanceof u){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},AzDz:function(t,e,i){var n=i("Kg2n"),r=i("2xmP"),a=i("KslR")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==r(t))}},BAfC:function(t,e,i){var n=i("vfdp"),r=i("Kg2n"),a=n.document,o=r(a)&&r(a.createElement);t.exports=function(t){return o?a.createElement(t):{}}},BEgH:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("aGXA"),a=i("Vs7R"),o=i("aCit"),s=i("MIZb"),l=i("hGwe"),u=i("Mtpk"),h=function(t){function e(){var e=t.call(this)||this;e.className="ZoomOutButton",e.padding(9,9,9,9),e.showSystemTooltip=!0;var i=new s.a,n=e.background;n.cornerRadius(20,20,20,20),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var r=new a.a;r.element=e.paper.add("path");var o=l.moveTo({x:0,y:0});return o+=l.lineTo({x:11,y:0}),r.path=o,r.pixelPerfect=!0,r.padding(8,3,8,3),r.stroke=i.getFor("primaryButtonText"),e.icon=r,e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),u.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Zoom Out"))},e}(r.a);o.c.registeredClasses.ZoomOutButton=h},BKHV:function(t,e,i){"use strict";var n=i("0sYB"),r=i("saPf");n({target:"String",proto:!0,forced:i("v0oN")("sub")},{sub:function(){return r(this,"sub","","")}})},BmDP:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("qzbU"),a=i("hD5A"),o=i("aCit"),s=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 Object(n.c)(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.radiusY*e.scale,o=void 0,s=void 0,l=void 0,u=void 0;if(n.alignLabels)o=i.pixelX-this.length,s=i.pixelY,l=i.pixelX,u=s,"right"==i.horizontalCenter&&(l=(o+=2*this.length)-this.length);else{var h=i.pixelRadius(e.radius);l=o=r+h*e.ix,u=s=a+h*e.iy}this.element.attr({points:[r,a,o,s,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,!1))},enumerable:!0,configurable:!0}),e}(r.a);o.c.registeredClasses.PieTick=s},C6Lh:function(t,e,i){"use strict";i.d(e,"a",function(){return _});var n=i("m4/l"),r=i("ISWh"),a=i("Vs7R"),o=i("vMqJ"),s=i("hD5A"),l=i("0Mwj"),u=i("pR7v"),h=i("KknQ"),c=i("aCit"),p=i("MIZb"),d=i("85D4"),f=i("Wglt"),g=i("Mtpk"),m=i("hGwe"),y=i("v9UT"),v=i("tjMS"),b=i("8ZqG"),x=i("Q4nc"),_=function(t){function e(){var e=t.call(this)||this;e._chart=new s.d,e.className="XYChartScrollbar";var i=new p.a;e.padding(0,0,0,0);var n=e.createChild(l.a);if(n.shouldClone=!1,n.margin(0,0,0,0),n.padding(0,0,0,0),n.interactionsEnabled=!1,e._scrollbarChart=n,!y.isIE()){var r=new d.a;r.filterUnits="userSpaceOnUse",n.plotContainer.filters.push(r)}e._disposers.push(e._scrollbarChart),e.minHeight=60,e.minWidth=60;var o=e.createChild(a.a);o.shouldClone=!1,o.setElement(e.paper.add("path")),o.fill=i.getFor("background"),o.fillOpacity=.8,o.interactionsEnabled=!1,o.isMeasured=!1,o.toBack(),e._unselectedOverlay=o,e._disposers.push(e._unselectedOverlay),n.toBack(),e.background.cornerRadius(0,0,0,0);var u=e.thumb.background;u.cornerRadius(0,0,0,0),u.fillOpacity=0,u.fill=i.getFor("background");var h=u.states.getKey("hover");h&&(h.properties.fillOpacity=.2);var c=u.states.getKey("down");return c&&(c.properties.fillOpacity=.4),e._disposers.push(e._chart),e.applyTheme(),e}return Object(n.c)(e,t),Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new o.b,this._disposers.push(this._series.events.on("inserted",this.handleSeriesAdded,this,!1)),this._disposers.push(this._series.events.on("removed",this.handleSeriesRemoved,this,!1))),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(t){var e=this,i=t.newValue;if(i.xAxis&&i.yAxis){var n=this.scrollbarChart;n.zoomOutButton.disabled=!0,this.chart=i.chart,n.language.locale=this.chart.language.locale;var r=!0,a=!0;f.each(this.series.iterator(),function(t){t!=i&&(t.xAxis==i.xAxis&&e.scrollbarChart.xAxes.length>0&&(r=!1),t.yAxis==i.yAxis&&e.scrollbarChart.yAxes.length>0&&(a=!1))}),i.events.on("beforedisposed",function(){e.series.removeValue(i)});var o=new p.a,s=i.clone();if((x.a.onlyShowOnViewport||x.a.queue)&&this.addDisposer(this.chart.events.on("removedfromqueue",function(){n.invalidateData()})),y.isIE()&&(s.stroke=Object(b.c)("#aaaaaa"),s.fill=s.stroke,s.propertyFields.fill=void 0,s.propertyFields.stroke=void 0),i.scrollbarSeries=s,r){var l=i.xAxis.clone();if(n.xAxes.moveValue(l),l.title.disabled=!0,l.rangeChangeDuration=0,(_=l.renderer).ticks.template.disabled=!0,_.inside=!0,_.labels.template.inside=!0,_.line.strokeOpacity=0,_.minLabelPosition=.02,_.maxLabelPosition=.98,_.line.disabled=!0,_.axisFills.template.disabled=!0,_.baseGrid.disabled=!0,_.grid.template.strokeOpacity=.05,_.minWidth=void 0,_.minHeight=void 0,_.padding(0,0,0,0),_.chart=n,_.margin(0,0,0,0),l.width=Object(v.c)(100),_.labels.template.fillOpacity=.5,l.maxZoomCount=void 0,l.minZoomCount=void 0,l instanceof h.a){var c=l,d=i.xAxis;c.groupCount=5*d.groupCount,c.min=void 0,c.max=void 0,this._disposers.push(c.clonedFrom.events.on("extremeschanged",function(){g.isNumber(c.clonedFrom.minDefined)&&(c.min=c.clonedFrom.minDefined),g.isNumber(c.clonedFrom.maxDefined)&&(c.max=c.clonedFrom.maxDefined)},void 0,!1))}else if(l instanceof u.a){var m=l;m.min=void 0,m.max=void 0,g.isNumber(m.clonedFrom.minDefined)||(m.min=void 0),g.isNumber(m.clonedFrom.maxDefined)||(m.max=void 0),this._disposers.push(m.clonedFrom.events.on("extremeschanged",function(){g.isNumber(m.clonedFrom.minDefined)&&(m.min=m.clonedFrom.min),g.isNumber(m.clonedFrom.maxDefined)&&(m.max=m.clonedFrom.max)},void 0,!1))}s.xAxis=l}else this.scrollbarChart.xAxes.each(function(t){t.clonedFrom==i.xAxis&&(s.xAxis=t)});if(a){var _,P=i.yAxis.clone();if(n.yAxes.moveValue(P),P.title.disabled=!0,P.rangeChangeDuration=0,(_=P.renderer).ticks.template.disabled=!0,_.inside=!0,_.labels.template.inside=!0,_.line.strokeOpacity=0,_.minLabelPosition=.02,_.maxLabelPosition=.98,_.line.disabled=!0,_.axisFills.template.disabled=!0,_.grid.template.stroke=o.getFor("background"),_.baseGrid.disabled=!0,_.grid.template.strokeOpacity=.05,_.minWidth=void 0,_.minHeight=void 0,_.chart=n,_.padding(0,0,0,0),_.margin(0,0,0,0),P.height=Object(v.c)(100),_.labels.template.fillOpacity=.5,s.yAxis=P,P.maxZoomCount=void 0,P.minZoomCount=void 0,P instanceof h.a){var w=P;w.min=void 0,w.max=void 0;d=i.yAxis;P.groupCount=5*d.groupCount,this._disposers.push(w.clonedFrom.events.on("extremeschanged",function(){g.isNumber(w.clonedFrom.minDefined)&&(w.min=w.clonedFrom.minDefined),g.isNumber(w.clonedFrom.maxDefined)&&(w.max=w.clonedFrom.maxDefined)}))}else if(P instanceof u.a){var O=P;O.min=void 0,O.max=void 0,g.isNumber(O.clonedFrom.minDefined)||(O.min=void 0),g.isNumber(O.clonedFrom.maxDefined)||(O.max=void 0),this._disposers.push(O.clonedFrom.events.on("extremeschanged",function(){g.isNumber(O.clonedFrom.minDefined)&&(O.min=O.clonedFrom.minDefined),g.isNumber(O.clonedFrom.maxDefined)&&(O.max=O.clonedFrom.maxDefined)}))}}else this.scrollbarChart.yAxes.each(function(t){t.clonedFrom==i.yAxis&&(s.yAxis=t)});s.rangeChangeDuration=0,s.interpolationDuration=0,s.defaultState.transitionDuration=0,s.showOnInit=!1,this._disposers.push(s.events.on("validated",this.zoomOutAxes,this,!1)),this._disposers.push(i.events.on("datavalidated",function(){s.data!=i.data&&(s.data=i.data)},void 0,!1)),s.defaultState.properties.visible=!0,n.series.push(s),this.updateByOrientation()}},e.prototype.updateByOrientation=function(){var t=this;this._scrollbarChart&&(f.each(this._scrollbarChart.xAxes.iterator(),function(e){var i=e.renderer;"vertical"==t.orientation?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=e.clonedFrom.renderer.minGridDistance)}),f.each(this._scrollbarChart.yAxes.iterator(),function(e){var i=e.renderer;"horizontal"==t.orientation?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=e.clonedFrom.renderer.minGridDistance)}))},e.prototype.handleSeriesRemoved=function(t){var e=t.oldValue,i=this.scrollbarChart;i.series.each(function(t){t&&t.clonedFrom==e&&i.series.removeValue(t)}),0==i.series.length&&(i.xAxes.clear(),i.yAxes.clear());try{e.events.off("validated",this.zoomOutAxes,this)}catch(t){}},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,!1)),this.handleDataChanged(),this._scrollbarChart.dataProvider=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unselectedOverlay",{get:function(){return this._unselectedOverlay},enumerable:!0,configurable:!0}),e.prototype.handleDataChanged=function(){this.chart.data!=this.scrollbarChart.data?this.scrollbarChart.data=this.chart.data:this.scrollbarChart.invalidateRawData()},e.prototype.zoomOutAxes=function(){var t=this.scrollbarChart;f.each(t.xAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)}),f.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||0,n=e.pixelY||0,r=e.pixelWidth||0,a=e.pixelHeight||0,o="";"horizontal"==this.orientation?(o=m.rectToPath({x:-1,y:0,width:i,height:a}),o+=m.rectToPath({x:i+r,y:0,width:(this.pixelWidth||0)-i-r,height:a})):(o=m.rectToPath({x:0,y:0,width:r,height:n}),o+=m.rectToPath({x:0,y:n+a,width:r,height:(this.pixelHeight||0)-n-a})),this._unselectedOverlay.path=o}},e.prototype.processConfig=function(e){if(e&&g.hasValue(e.series)&&g.isArray(e.series))for(var i=0,n=e.series.length;in?1:t.idx-e.idx}),t=e.map(function(t){return t.data});var i=this.element,n=!0;if(i.node&&i.node.childNodes)for(var r=0,a=i.node.childNodes.length;r0;){var t=this.children.getIndex(0);t.parent=void 0,this.children.removeValue(t)}},e.prototype.disposeChildren=function(){for(;this.children.length>0;){var t=this.children.getIndex(0);t.dispose(),this.children.removeValue(t)}},Object.defineProperty(e.prototype,"background",{get:function(){return this._background||(this._background=this.createBackground(),this.processBackground()),this._background},set:function(t){this._background&&this.background!=t&&this.removeDispose(this._background),t&&(this._background=t,this._disposers.push(t),this.processBackground())},enumerable:!0,configurable:!0}),e.prototype.handleGlobalScale=function(){t.prototype.handleGlobalScale.call(this),this.children.each(function(t){t.handleGlobalScale()})},e.prototype.createBackground=function(){return new h.a},e.prototype.processBackground=function(){var t=this._background;t&&(t.isMeasured=!1,this._background.fill=(new d.a).getFor("background"),t.parent=this,t.isMeasured=!1,this.children.removeValue(t),this._disposers.push(t),this.group.addToBack(this._background.group))},e.prototype.validateLayout=function(){var t=this;p.c.removeFromInvalidLayouts(this),this.layoutInvalid=!1,this._availableWidth=this.innerWidth,this._availableHeight=this.innerHeight;var e=0,i=0,n=!0;this.children&&(this.sortChildren(),g.each(this._childrenByLayout,function(r){var a,o;if(y.isNumber(r.relativeWidth)?(a=m.round(t._availableWidth*r.relativeWidth,2),"horizontal"==t.layout&&(a-=r.pixelMarginRight+r.pixelMarginLeft)):"horizontal"==t.layout&&r.invalid&&r.validate(),y.isNumber(r.relativeHeight)?(o=m.round(t._availableHeight*r.relativeHeight,2),"vertical"==t.layout&&(o-=r.pixelMarginTop+r.pixelMarginBottom)):"vertical"==t.layout&&r.invalid&&r.validate(),0==r.invalid){if(y.isNumber(r.relativeWidth)&&(r.maxWidth=a),y.isNumber(r.relativeHeight)&&(r.maxHeight=o),r.isMeasured){"horizontal"==t.layout&&(y.isNumber(r.percentWidth)||r.measuredWidth>0&&(t._availableWidth-=r.measuredWidth+r.pixelMarginLeft+r.pixelMarginRight)),"vertical"==t.layout&&(y.isNumber(r.percentHeight)||r.measuredHeight>0&&(t._availableHeight-=r.measuredHeight+r.pixelMarginTop+r.pixelMarginBottom));var s=r.measuredWidth,l=r.measuredHeight;"none"!=r.align&&(s+=r.pixelMarginLeft+r.pixelMarginRight),"none"!=r.valign&&(l+=r.pixelMarginTop+r.pixelMarginBottom),e=Math.max(e,s),i=Math.max(i,l)}}else r.isMeasured&&(y.isNumber(r.relativeWidth)&&r.maxWidth!=a&&(r.maxWidth=a,n=!1),y.isNumber(r.relativeHeight)&&r.maxHeight!=o&&(r.maxHeight=o,n=!1))})),this._absoluteWidth=e,this._absoluteHeight=i,n&&this.arrange()},e.prototype.arrange=function(){var t,e,i,n,r,a,o,s,l,u,h,p=this,d=this.children,v=0,b=0,x=m.max(this.innerWidth,this._absoluteWidth),_=m.max(this.innerHeight,this._absoluteHeight),P=this.pixelPaddingLeft,w=this.pixelPaddingRight,O=this.pixelPaddingTop,T=this.pixelPaddingBottom,S=0,C=0,I=0,k=0,D=[],j=[],V=this.maxWidth,A=this.maxHeight,M=this.minWidth,F=this.minHeight,E=g.copy(d.values);if(this.reverseOrder&&E.reverse(),"grid"==this.layout){a=V,r=1;for(var R=0,N=E.length;Rr&&(r=L)}}a=m.fitToRange(a,1,V),r=m.fitToRange(r,1,V),o=this.fixedWidthGrid?V/r:V/a,o=m.max(1,Math.floor(o)),o=m.min(this.maxColumns,o),D=this.getColumnWidth(E,o,r)}for(R=0,N=E.length;Rm.min(this.innerWidth,V)-$+1&&k=o&&(k=0,C+=j[I],I++,S=0)}"none"!==this.layout&&(B.moveTo({x:U,y:W}),q=U+B.maxLeft-H,Z=U+B.maxRight+Y,Q=W+B.maxTop-z,J=W+B.maxBottom+X,(Z>e||!y.isNumber(e))&&(e=Z),(qn||!y.isNumber(n))&&(n=J),(Z>l||!y.isNumber(l))&&(l=Z),(qh||!y.isNumber(h))&&(h=h))}}if("none"==this.layout){var tt=this.bbox;t=tt.x,e=tt.x+tt.width,i=tt.y,n=tt.y+tt.height}y.isNumber(t)||(t=0,s=0),y.isNumber(e)||(l=e=this._availableWidth),y.isNumber(i)||(i=0,u=0),y.isNumber(n)||(h=n=this._availableHeight),y.isNumber(u)||(u=0),y.isNumber(h)||(h=u),y.isNumber(s)||(s=0),y.isNumber(l)||(l=s),v=e-t,b=n-i,y.isNumber(this.relativeWidth)&&(t=0,e=v=V-P-w),y.isNumber(this.relativeHeight)&&(i=0,n=b=A-O-T),y.isNumber(this._pixelWidth)&&(t=0,v=this._pixelWidth-P-w),y.isNumber(M)&&v0){var nt,rt,at=v,ot=b;at=-.5&&e<=this.pixelWidth+.5&&i>=-.5&&i<=this.pixelHeight+.5},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.layout=e.layout,this.setStateOnChildren=e.setStateOnChildren,e._background&&(this.background=e._background.clone(),this.background.copyFrom(e._background)),f.each(e.children.iterator(),function(t){t.shouldClone&&(t.clone().parent=i)})},Object.defineProperty(e.prototype,"preloader",{get:function(){var t=this._preloader;return t||(this.parent?this.parent.preloader:void 0)},set:function(t){this._preloader&&this.removeDispose(this._preloader),this._preloader=t,t&&(t.parent=this.tooltipContainer,this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(e){var i=this,n=t.prototype.setPaper.call(this,e);return n&&(this._background&&(this._background.paper=e,this._background.topParent=this.topParent),this.children.each(function(t){t.setPaper(e),t.topParent=i.topParent})),n},e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),p.c.removeFromInvalidLayouts(this)},e.prototype.setDataItem=function(e){this._dataItem!=e&&(f.each(this.children.iterator(),function(t){t.dataItem=e}),this._background&&(this._background.dataItem=e)),t.prototype.setDataItem.call(this,e)},e.prototype.measureElement=function(){this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||this.validateLayout()},Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this.getPropertyValue("fontFamily")},set:function(t){this.setPropertyValue("fontFamily",t,!0)&&(this.setSVGAttribute({"font-family":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this.getPropertyValue("fontSize")},set:function(t){this.setPropertyValue("fontSize",t,!0)&&(this.setSVGAttribute({"font-size":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),e.prototype.invalidateLabels=function(){this.children.each(function(t){t.hardInvalidate?(t.hardInvalidate(),t.events.once("validated",t.handleValidate,t,!1)):t instanceof e&&t.invalidateLabels()})},Object.defineProperty(e.prototype,"fontWeight",{get:function(){return this.getPropertyValue("fontWeight")},set:function(t){this.setPropertyValue("fontWeight",t),this.setSVGAttribute({"font-weight":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textDecoration",{get:function(){return this.getPropertyValue("textDecoration")},set:function(t){this.setPropertyValue("textDecoration",t),this.setSVGAttribute({"text-decoration":t})},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._background&&this._background.dispose(),this._shouldBeReady=[],this.disposeChildren(),t.prototype.dispose.call(this)},e.prototype.setState=function(e,i,n){var r=e;return e instanceof a.a&&(r=e.name),this.setStateOnChildren&&f.each(this.children.iterator(),function(t){t.setState(r,i,n),"active"!=r&&(t.isActive=!1)}),this._background&&this._background.setState(r),this.setStateOnSprites.length&&g.each(this.setStateOnSprites,function(t){t.setState(r,i,n)}),t.prototype.setState.call(this,e,i,n)},e.prototype.setActive=function(e){t.prototype.setActive.call(this,e),this._background&&(this._background.isActive=e)},e.prototype.dispatchReady=function(){var e=this;if(!this.isReady()&&!this.isDisposed()){var i=!0;f.eachContinue(this.children.iterator(),function(t){return!!(t.__disabled||t.disabled||t.isReady())||(i=!1,!1)}),g.eachContinue(this._shouldBeReady,function(t){return!!(t.__disabled||t.disabled||t.isReady())||(i=!1,!1)}),i?t.prototype.dispatchReady.call(this):p.c.events.once("exitframe",function(){e.dispatchReady(),b.b.requestFrame()},void 0,!1)}},e.prototype._systemUpdate=function(e){this.children.each(function(t){t.invalid&&(t._systemCheckIfValidate()?t.dataItem&&t.dataItem.component&&t.dataItem.component.dataInvalid?e.push(t):t.validate():e.push(t))}),t.prototype._systemUpdate.call(this,e)},e.prototype._systemValidatePositions=function(){this.children.each(function(t){t.positionInvalid&&t.validatePosition()}),t.prototype._systemValidatePositions.call(this)},e.prototype._systemValidateLayouts=function(){this.layoutInvalid&&!this.isDisposed()&&this.validateLayout()},Object.defineProperty(e.prototype,"tapToActivate",{get:function(){return this._tapToActivate},set:function(t){this._tapToActivate!=t&&this.setTapToActivate(t)},enumerable:!0,configurable:!0}),e.prototype.setTapToActivate=function(t){var e=this;this._tapToActivate=t,this.interactions.isTouchProtected=t,t&&this.interactions.setEventDisposer("container-tapToActivate",t,function(){return new s.c([e.events.on("hit",e.handleTapToActivate,e,!1),e.events.on("down",e.initTapTimeout,e,!1),e.events.on("track",e.initTapTimeout,e,!1),Object(u.b)().body.events.on("down",function(t){Object(u.b)().isLocalElement(t.pointer,e.paper.svg,e.uid)||e.handleTapToActivateDeactivation()},e,!1)])}),Object(u.b)()},e.prototype.handleTapToActivate=function(){this.interactions.isTouchProtected=!1,this.initTapTimeout()},e.prototype.handleTapToActivateDeactivation=function(){this.interactions.isTouchProtected=!0},e.prototype.initTapTimeout=function(){var t=this;this._tapToActivateTimeout&&this._tapToActivateTimeout.dispose(),this.tapToActivate&&!this.interactions.isTouchProtected&&this.tapTimeout&&(this._tapToActivateTimeout=this.setTimeout(function(){t.handleTapToActivateDeactivation()},this.tapTimeout))},e.prototype.moveHtmlContainer=function(t){var e=v.q(t);if(e){this.htmlContainer=e;var i=this.svgContainer;i.htmlElement=e,i.htmlElement.appendChild(i.SVGContainer),i.initSensor(),i.measure()}else y.isString(t)&&""!=t&&b.b.log("html container '"+t+"' not found")},e.prototype.hasLicense=function(){if(x.a.commercialLicense)return!0;for(var t=0;tthis._negativeBase?a.positive:r=0?t.toExponential(e.decimals.passive).split("e"):t.toExponential().split("e"),t=Number(u[0]),r="e"+u[1],e.modSpacing&&(r=" "+r)}else if(0===e.decimals.passive)t=Math.round(t);else if(e.decimals.passive>0){var c=Math.pow(10,e.decimals.passive);t=Math.round(t*c)/c}var d="",f=h.numberToString(t).split("."),g=f[0];if(g.length0){for(var m=[],y=g.split("").reverse().join(""),v=0,b=g.length;v<=b;v+=e.thousands.interval){var x=y.substr(v,e.thousands.interval).split("").reverse().join("");""!==x&&m.unshift(x)}g=m.join(e.thousands.separator)}d+=g,1===f.length&&f.push("");var _=f[1];return _.length>>16)*a+r*(65535&n>>>16)<<16>>>0)}})},CnhP:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("Vs7R"),a=i("aCit"),o=i("Gg2j"),s=i("Mtpk"),l=i("v9UT"),u=function(t){function e(){var e=t.call(this)||this;return e.className="RoundedRectangle",e.element=e.paper.add("path"),e.cornerRadius(3,3,3,3),e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight;if(s.isNumber(e)&&s.isNumber(i)){var n=o.min(e,i)/2,r=l.relativeToValue(this.cornerRadiusTopLeft,n),a=l.relativeToValue(this.cornerRadiusTopRight,n),u=l.relativeToValue(this.cornerRadiusBottomRight,n),h=l.relativeToValue(this.cornerRadiusBottomLeft,n),c=o.min(Math.abs(e/2),Math.abs(i/2)),p=o.fitToRange(r,0,c),d=o.fitToRange(a,0,c),f=o.fitToRange(u,0,c),g=o.fitToRange(h,0,c),m="M"+p+",0 L"+(e-d)+",0"+(" a"+d+","+d+" 0 0 1 "+d+","+d)+(" L"+e+","+(i-f))+(" a"+f+","+f+" 0 0 1 -"+f+","+f)+(" L"+g+","+i)+(" a"+g+","+g+" 0 0 1 -"+g+",-"+g)+(" L0,"+p)+(" a"+p+","+p+" 0 0 1 "+p+",-"+p)+" Z";this.path=m}},e.prototype.cornerRadius=function(t,e,i,n){this.cornerRadiusTopLeft=t,this.cornerRadiusTopRight=e,this.cornerRadiusBottomLeft=i,this.cornerRadiusBottomRight=n},Object.defineProperty(e.prototype,"cornerRadiusTopLeft",{get:function(){return this.getPropertyValue("cornerRadiusTopLeft")},set:function(t){this.setPercentProperty("cornerRadiusTopLeft",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusTopRight",{get:function(){return this.getPropertyValue("cornerRadiusTopRight")},set:function(t){this.setPercentProperty("cornerRadiusTopRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusBottomRight",{get:function(){return this.getPropertyValue("cornerRadiusBottomRight")},set:function(t){this.setPercentProperty("cornerRadiusBottomRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusBottomLeft",{get:function(){return this.getPropertyValue("cornerRadiusBottomLeft")},set:function(t){this.setPercentProperty("cornerRadiusBottomLeft",t,!0)},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.isMeasured?{x:0,y:0,width:this.innerWidth,height:this.innerHeight}:{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),e}(r.a);a.c.registeredClasses.RoundedRectangle=u},CqLV:function(t,e,i){var n=i("vfdp"),r=i("jnLg").trim,a=i("DUr5"),o=n.parseFloat,s=1/o(a+"-0")!=-1/0;t.exports=s?function(t){var e=r(String(t)),i=o(e);return 0===i&&"-"==e.charAt(0)?-0:i}:o},CuFa:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("Tjl+"),a=i("vMqJ"),o=i("P7v+"),s=i("aCit"),l=i("Wglt"),u=i("Mtpk"),h=i("tjMS"),c=function(t){function e(){var e=t.call(this)||this;return e._stops=new a.b,e.element=e.paper.addGroup("radialGradient"),e.id="gradient-"+s.c.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.draw=function(){var t,e=this,i=this.element;u.isNumber(this.cx)&&((t=this.cx)instanceof h.a&&(t=t.percent+"%"),i.attr({cx:t}));u.isNumber(this.cy)&&((t=this.cy)instanceof h.a&&(t=t.percent+"%"),i.attr({cy:t}));this.fx&&((t=this.fx)instanceof h.a&&(t=t.percent+"%"),i.attr({fx:t}));this.fy&&((t=this.fy)instanceof h.a&&(t=t.percent+"%"),i.attr({fy:t}));i.removeChildNodes(),l.each(l.indexed(this._stops.iterator()),function(t){var n=t[0],r=t[1],a=r.offset;u.isNumber(a)||(a=n/(e._stops.length-1));var o=e.paper.add("stop");u.hasValue(r.color)&&o.attr({"stop-color":r.color.toString()}),u.isNumber(r.opacity)&&o.attr({"stop-opacity":r.opacity}),u.isNumber(a)&&o.attr({offset:a}),i.add(o)})},e.prototype.addColor=function(t,e,i){this._stops.push({color:t,opacity:e,offset:i}),this.draw()},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(o.b)()},set:function(t){this._paper!=t&&(this._paper=t,this.draw(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cx",{get:function(){return this._cx},set:function(t){this._cx=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cy",{get:function(){return this._cy},set:function(t){this._cy=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fx",{get:function(){return this._fx},set:function(t){this._fx=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fy",{get:function(){return this._fy},set:function(t){this._fy=t,this.draw()},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.stops.copyFrom(e.stops),this.cx=e.cx,this.cy=e.cy,this.fx=e.fx,this.fy=e.fy},Object.defineProperty(e.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this._stops.clear()},e}(r.a);s.c.registeredClasses.RadialGradient=c},D3TA:function(t,e,i){"use strict";var n=i("UseD"),r=i("X/sl").map,a=i("Nfo5"),o=n.aTypedArray,s=n.aTypedArrayConstructor;(0,n.exportTypedArrayMethod)("map",function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0,function(t,e){return new(s(a(t,t.constructor)))(e)})})},"DA7/":function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i("m4/l"),r=i("Tjl+"),a=i("aCit"),o=function(t){function e(){var e=t.call(this)||this;return e.className="ColorModifier",e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.modify=function(t){return t},e}(r.a);a.c.registeredClasses.ColorModifier=o},DDWt:function(t,e,i){var n=i("3sMl"),r=i("8+rI").f,a=Function.prototype,o=a.toString,s=/^\s*function ([^ (]*)/;!n||"name"in a||r(a,"name",{configurable:!0,get:function(){try{return o.call(this).match(s)[1]}catch(t){return""}}})},DG6Q:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("C6dT"),a=i("CnhP"),o=i("aCit"),s=i("tjMS"),l=i("Gg2j"),u=function(t){function e(){var e=t.call(this)||this;return e.className="Column",e.width=Object(s.c)(80),e.height=Object(s.c)(80),e.events.disableType("transformed"),e.applyOnClones=!0,e.strokeOpacity=1,e.layout="none",e.createAssets(),e.events.on("childadded",e.handleKidAdded,e,!1),e}return Object(n.c)(e,t),e.prototype.handleKidAdded=function(){"none"==this.layout&&(this.layout="absolute")},e.prototype.createAssets=function(){this.column=this.createChild(a.a),this.column.shouldClone=!1,this.column.isMeasured=!1,this.column.cornerRadius(0,0,0,0),this._disposers.push(this.column)},e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.column;e&&(e.width=l.min(this.pixelWidth,this.maxWidth),e.height=l.min(this.pixelHeight,this.maxHeight),e.invalid&&e.validate())},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.column&&this.column.copyFrom(e.column)},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.column?{x:0,y:0,width:this.column.measuredWidth,height:this.column.measuredHeight}:{x:0,y:0,width:l.min(this.pixelWidth,this.maxWidth),height:l.min(this.pixelHeight,this.maxHeight)}},enumerable:!0,configurable:!0}),e}(r.a);o.c.registeredClasses.Column=u},DHte:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("Tjl+"),a=i("8ZqG"),o=i("aCit"),s=i("hxI2"),l=i("Mtpk"),u=i("v9UT"),h=i("Gg2j"),c=function(t){function e(){var e=t.call(this)||this;return e._list=[],e._currentStep=0,e._startIndex=0,e._currentPass=0,e.baseColor=new a.a({r:103,g:183,b:220}),e.stepOptions={},e.passOptions={brighten:-.2},e.step=1,e.minColors=20,e.minLightness=.2,e.maxLightness=.9,e.shuffle=!1,e.wrap=!0,e.reuse=!1,e.saturation=1,e.className="ColorSet",e.applyTheme(),e}return Object(n.c)(e,t),Object.defineProperty(e.prototype,"list",{get:function(){return this._list||this.generate(this.minColors),this._list},set:function(t){this._list=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.getReusableColor=function(t){if(0==this._list.length)return this.generate(1),this.list[0];var e=t-Math.floor(t/this._list.length)*this.list.length;return this.list[e]},e.prototype.next=function(){var t;return this.list.length<=this._currentStep?this.reuse?t=this.getReusableColor(this._currentStep):(this.generate(h.max(this.minColors,this._currentStep+1)),t=this.list[this._currentStep]):t=this.list[this._currentStep],this._currentStep+=this.step,t.saturate(this.saturation)},e.prototype.getIndex=function(t){var e;return this.list.length<=t?this.reuse?e=this.getReusableColor(t):(this.generate(this.minColors),e=this.getIndex(t)):e=this.list[t],e.saturate(this.saturation)},e.prototype.reset=function(){this._currentStep=this._startIndex},Object.defineProperty(e.prototype,"currentStep",{get:function(){return this._currentStep},set:function(t){this._currentStep=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return this._startIndex},set:function(t){this._startIndex=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.generate=function(t){var e=this.currentColor,i=s.rgbToHsl(l.getValue(e.rgb)),n=l.hasValue(this.stepOptions.hue)?this.stepOptions.hue:1/t,r={brighten:0,lighten:0,hue:i.h,lightness:i.l,saturation:i.s},o=[],h=0==this.list.length?0:1;if(this.reuse)for(var c=h;c<=t;c++)o.push(s.rgbToHsl(l.getValue(this._list[c].rgb)).h);else for(c=h;c<=t;c++){var p=i.h+n*c;this.wrap&&p>1&&(p-=1),o.push(p)}this.shuffle&&o.sort(function(t,e){return Math.random()-.5});for(c=0;c1?t.l=t.l-Math.floor(t.l):t.l<0&&(t.l=-(t.l-Math.floor(t.l))),t.l=u.fitNumberRelative(t.l,this.minLightness,this.maxLightness)):(t.l>1?t.l=1:t.l<0&&(t.l=0),t.l=u.fitNumber(t.l,this.minLightness,this.maxLightness))},e.prototype.processConfig=function(e){if(e&&l.hasValue(e.list)&&l.isArray(e.list))for(var i=0,n=e.list.length;i0?arguments[0]:void 0,h=[];if(T(this,{type:"URLSearchParams",entries:h,updateURL:function(){},updateSearchParams:N}),void 0!==u)if(m(u))if("function"==typeof(t=x(u)))for(i=(e=t.call(u)).next;!(n=i.call(e)).done;){if((o=(a=(r=b(g(n.value))).next).call(r)).done||(s=a.call(r)).done||!a.call(r).done)throw TypeError("Expected sequence with length 2");h.push({key:o.value+"",value:s.value+""})}else for(l in u)p(u,l)&&h.push({key:l,value:u[l]+""});else R(h,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},W=U.prototype;s(W,{append:function(t,e){L(arguments.length,2);var i=S(this);i.entries.push({key:t+"",value:e+""}),i.updateURL()},delete:function(t){L(arguments.length,1);for(var e=S(this),i=e.entries,n=t+"",r=0;rt.key){r.splice(e,0,t);break}e===i&&r.push(t)}n.updateURL()},forEach:function(t){for(var e,i=S(this).entries,n=d(t,arguments.length>1?arguments[1]:void 0,3),r=0;r1&&(e=arguments[1],m(e)&&(i=e.body,"URLSearchParams"===f(i)&&((n=e.headers?new w(e.headers):new w).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=y(e,{body:v(0,String(i)),headers:v(0,n)}))),r.push(e)),P.apply(this,r)}}),t.exports={URLSearchParams:U,getState:S}},EjGA:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i("m4/l"),r=i("Mpxm"),a=i("ZhuL"),o=i("4DCw"),s=i("Tjl+"),l=i("x79X"),u=i("P/bD"),h=i("7XB+"),c=i("aCit"),p=i("Mtpk"),d=i("Qkdp"),f=function(t){function e(e,i){var n=t.call(this)||this;return n.adapter=new l.a(n),n._requestOptions={},n._incremental=!1,n._incrementalParams={},n._keepCount=!1,n._updateCurrentData=!1,n.showPreloader=!0,n.className="DataSource",e&&(n.url=e),i&&(n.parser="string"==typeof i?r.b.getParserByType(i):i),n}return Object(n.c)(e,t),e.prototype.processData=function(t,e){if(this.dispatchImmediately("parsestarted"),this.parser||(this.parser=r.b.getParserByData(t,e),this.parser)){if(this.parser.options=this.adapter.apply("parserOptions",this.parser.options),this.parser.options.dateFields=this.adapter.apply("dateFields",this.parser.options.dateFields||[]),this.parser.options.numberFields=this.adapter.apply("numberFields",this.parser.options.numberFields||[]),this.parser.options.dateFields&&!this.parser.options.dateFormatter&&(this.parser.options.dateFormatter=this.dateFormatter),this.data=this.adapter.apply("parsedData",this.parser.parse(this.adapter.apply("unparsedData",t))),!p.hasValue(this.data)&&this.events.isEnabled("parseerror")){var i={type:"parseerror",message:this.language.translate("Error parsing file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",i)}this.dispatchImmediately("parseended"),p.hasValue(this.data)&&this.dispatchImmediately("done",{data:this.data}),this.lastLoad=new Date}else{if(this.events.isEnabled("parseerror")){var n={type:"parseerror",message:this.language.translate("No parser available for file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",n)}this.dispatchImmediately("parseended")}},Object.defineProperty(e.prototype,"url",{get:function(){var t=this.disableCache?this.timestampUrl(this._url):this._url;return this.incremental&&this.component.data.length&&(t=this.addUrlParams(t,this.incrementalParams)),this.adapter.apply("url",t)},set:function(t){this._url=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestOptions",{get:function(){return this.adapter.apply("requestOptions",this._requestOptions)},set:function(t){this._requestOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._parser||(this._parser=new a.a),this.adapter.apply("parser",this._parser)},set:function(t){this._parser=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reloadFrequency",{get:function(){return this.adapter.apply("reloadTimeout",this._reloadFrequency)},set:function(t){var e=this;this._reloadFrequency!=t&&(this._reloadFrequency=t,t?p.hasValue(this._reloadDisposer)||(this._reloadDisposer=this.events.on("ended",function(t){e._reloadTimeout=setTimeout(function(){e.load()},e.reloadFrequency)})):p.hasValue(this._reloadDisposer)&&(this._reloadDisposer.dispose(),this._reloadDisposer=void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incremental",{get:function(){return this.adapter.apply("incremental",this._incremental)},set:function(t){this._incremental=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incrementalParams",{get:function(){return this.adapter.apply("incrementalParams",this._incrementalParams)},set:function(t){this._incrementalParams=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepCount",{get:function(){return this.adapter.apply("keepCount",this._keepCount)},set:function(t){this._keepCount=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateCurrentData",{get:function(){return this.adapter.apply("updateCurrentData",this._updateCurrentData)},set:function(t){this._updateCurrentData=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this._language?this._language:this.component?(this._language=this.component.language,this._language):(this.language=new u.a,this.language)},set:function(t){this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.component?(this._dateFormatter=this.component.dateFormatter,this._dateFormatter):(this.dateFormatter=new h.a,this.dateFormatter)},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),e.prototype.timestampUrl=function(t){var e={};return e[(new Date).getTime().toString()]="",this.addUrlParams(t,e)},e.prototype.dispose=function(){t.prototype.dispose.call(this),this._reloadTimeout&&clearTimeout(this._reloadTimeout),p.hasValue(this._reloadDisposer)&&(this._reloadDisposer.dispose(),this._reloadDisposer=void 0)},e.prototype.load=function(){this.url&&(this._reloadTimeout&&clearTimeout(this._reloadTimeout),r.b.load(this))},e.prototype.addUrlParams=function(t,e){var i=t.match(/\?/)?"&":"?",n=[];return d.each(e,function(t,e){""!=e?n.push(t+"="+encodeURIComponent(e)):n.push(t)}),n.length?t+i+n.join("&"):t},e.prototype.processConfig=function(e){c.c.registeredClasses.json=a.a,c.c.registeredClasses.JSONParser=a.a,c.c.registeredClasses.csv=o.a,c.c.registeredClasses.CSVParser=o.a,t.prototype.processConfig.call(this,e)},e}(s.b)},EjSS:function(t,e,i){var n=i("6aQQ"),r=/#|\.prototype\./,a=function(t,e){var i=s[o(t)];return i==u||i!=l&&("function"==typeof e?n(e):!!e)},o=a.normalize=function(t){return String(t).replace(r,".").toLowerCase()},s=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},EyBv:function(t,e,i){i("0sYB")({target:"Object",stat:!0},{setPrototypeOf:i("KJuV")})},"F/ei":function(t,e,i){"use strict";var n=i("WeDP").IteratorPrototype,r=i("QzDi"),a=i("Pm8L"),o=i("NRfM"),s=i("CNF5"),l=function(){return this};t.exports=function(t,e,i){var u=e+" Iterator";return t.prototype=r(n,{next:a(1,i)}),o(t,u,!1,!0),s[u]=l,t}},FBxm:function(t,e,i){"use strict";var n=i("0sYB"),r=i("saPf");n({target:"String",proto:!0,forced:i("v0oN")("link")},{link:function(t){return r(this,"a","href",t)}})},FE89:function(t,e,i){"use strict";var n=i("NZ9V"),r=i("3weC"),a=i("tHyI"),o=i("swFJ"),s=i("L0in"),l=i("Xw1K");n("match",1,function(t,e,i){return[function(e){var i=o(this),n=void 0==e?void 0:e[t];return void 0!==n?n.call(e,i):new RegExp(e)[t](String(i))},function(t){var n=i(e,t,this);if(n.done)return n.value;var o=r(t),u=String(this);if(!o.global)return l(o,u);var h=o.unicode;o.lastIndex=0;for(var c,p=[],d=0;null!==(c=l(o,u));){var f=String(c[0]);p[d]=f,""===f&&(o.lastIndex=s(u,a(o.lastIndex),h)),d++}return 0===d?null:p}]})},FL8s:function(t,e,i){"use strict";var n=i("0sYB"),r=i("7dku").left,a=i("xlUI"),o=i("J+FZ"),s=a("reduce"),l=o("reduce",{1:0});n({target:"Array",proto:!0,forced:!s||!l},{reduce:function(t){return r(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},FZ9I:function(t,e,i){i("0FA2")("flat")},Fhpb:function(t,e,i){"use strict";var n=i("UseD"),r=i("39+r"),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("copyWithin",function(t,e){return r.call(a(this),t,e,arguments.length>2?arguments[2]:void 0)})},FzPm:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("Vs7R"),a=i("tjMS"),o=i("aCit"),s=i("v9UT"),l=i("Gg2j"),u=function(t){function e(){var e=t.call(this)||this;return e.className="Circle",e.element=e.paper.add("circle"),e.setPercentProperty("radius",Object(a.c)(100)),e.setPropertyValue("horizontalCenter","middle"),e.setPropertyValue("verticalCenter","middle"),e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({r:this.pixelRadius})},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return s.relativeToValue(this.radius,l.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){var t=this.pixelRadius;this._bbox={x:-t,y:-t,width:2*t,height:2*t}},e}(r.a);o.c.registeredClasses.Circle=u},G83T:function(t,e,i){var n=i("0sYB"),r=Math.ceil,a=Math.floor;n({target:"Math",stat:!0},{trunc:function(t){return(t>0?a:r)(t)}})},GAaQ:function(t,e,i){"use strict";i.d(e,"a",function(){return V});var n,r=i("m4/l"),a=i("qJno"),o=i("x79X"),s=i("Vs7R"),l=i("W8Sc"),u=i("vMqJ"),h=i("+qIf"),c=i("7XB+"),p=i("akNo"),d=i("CTEm"),f=i("P/bD"),g=i("/IEW"),m=i("8ZqG"),y=i("aCit"),v=i("Q4nc"),b=i("58Sn"),x=i("LBDG"),_=i("Qkdp"),P=i("OVUc"),w=i("Mtpk"),O=i("pjXm"),T=i("v9UT"),S=i("hJ5i"),C=i("Gg2j"),I=i("ScGY");var k=/src: ([^;]+);/;function D(t,e,i){return Object(r.b)(this,void 0,void 0,function(){var n,a,o,s;return Object(r.d)(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,P.load(e)];case 1:return n=l.sent(),[3,3];case 2:return a=l.sent(),console.error("Failed to load stylesheet",e,a),[2];case 3:(o=t.createElement("style")).textContent=n.response,t.head.appendChild(o),l.label=4;case 4:return l.trys.push([4,,7,8]),[4,function(t){return Object(r.b)(this,void 0,void 0,function(){var e;return Object(r.d)(this,function(i){switch(i.label){case 0:e=t.sheet,i.label=1;case 1:return i.trys.push([1,2,,4]),[2,e.cssRules];case 2:return i.sent(),[4,new Promise(function(i,n){t.addEventListener("load",function(){i(e.cssRules)},!0),t.addEventListener("error",function(t){n(t)},!0),setTimeout(function(){n(new Error("Timeout while waiting for "+this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,s,l,c,u,h),y=new Blob([m],{type:"image/svg+xml"}),n=i.createObjectURL(y),[4,this.loadNewImage(n,s*c*p,l*c*p,"anonymous")];case 3:return v=r.sent(),d.drawImage(v,0,0),[3,5];case 4:return null!==n&&i.revokeObjectURL(n),null!==a&&S.each(a,function(t){i.revokeObjectURL(t)}),this.restoreRemovedObjects(),[7];case 5:return[2,o]}})})},e.prototype.getCanvasAdvanced=function(t){return Object(r.b)(this,void 0,void 0,function(){var e,i,n,a,o,s,l,u,h,c,p;return Object(r.d)(this,function(r){switch(r.label){case 0:return w.hasValue(t)||(t={}),[4,this.imagesToDataURI(this.sprite.dom,t)];case 1:return r.sent(),e=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),[4,this.canvg];case 2:return i=r.sent(),n=this.sprite.pixelWidth,a=this.sprite.pixelHeight,o=b.l(this.sprite.dom),s=b.m(this.sprite.dom),l=t.scale||1,u=this.getPixelRatio(t),l=this.getAdjustedScale(n*u,a*u,l,t),h=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,n,a,l,o,s,e),(c=this.getDisposableCanvas()).style.width=n*u*l+"px",c.style.height=a*u*l+"px",c.width=n*u*l,c.height=a*u*l,p={useCORS:!0},1!=u&&(p.ignoreDimensions=!0,p.scaleWidth=n*u*l,p.scaleHeight=a*u*l),[4,i.fromString(c.getContext("2d"),h,p).render()];case 3:return r.sent(),[2,c]}})})},e.prototype.getImageAdvanced=function(t,e,i){return Object(r.b)(this,void 0,void 0,function(){var n,a,o;return Object(r.d)(this,function(r){switch(r.label){case 0:return(n=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),w.hasValue(e)||(e=this.getFormatOptions(t)),[4,this.getCanvasAdvanced(e)];case 1:return a=r.sent(),!1===i?[3,3]:[4,this.addExtras(a,e,!0)];case 2:a=r.sent(),r.label=3;case 3:return o=a.toDataURL(this.getContentType(t),e.quality),this.disposeCanvas(a),n||this.restoreNonExportableSprites(),[2,o]}})})},e.prototype.getDisposableCanvas=function(){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="-10000px",document.body.appendChild(t),t},e.prototype.disposeCanvas=function(t){document.body.removeChild(t)},e.prototype.getPixelRatio=function(t){return this.useRetina?T.getPixelRatio():1},e.prototype.getAdjustedScale=function(t,e,i,n){if(!n)return i;var r,a,o=t*i,s=t*i;return n.maxWidth&&o>n.maxWidth&&(r=n.maxWidth/t),n.maxHeight&&s>n.maxHeight&&(a=n.maxHeight/e),r||a?C.min(r,a):(n.minWidth&&o",{},1,1)],{type:"image/svg+xml"}),o=n.createObjectURL(a),s=void 0,r.label=2;case 2:return r.trys.push([2,4,,5]),[4,this.loadNewImage(o,1,1)];case 3:return s=r.sent(),[3,5];case 4:return r.sent(),[2,!1];case 5:i.drawImage(s,0,0),n.revokeObjectURL(o);try{return y.c.setCache("simplifiedImageExport",!0),[2,!0]}catch(t){return y.c.setCache("simplifiedImageExport",!1),[2,!1]}return[3,7];case 6:return r.sent(),y.c.setCache("simplifiedImageExport",!1),[2,!1];case 7:return[2]}})})},e.prototype.loadNewImage=function(t,e,i,n){return new Promise(function(r,a){var o;function s(){if(n){var e=o.src;o.onerror=function(){a(new Error('Loading image "'+t+'" failed'))},o.removeAttribute("crossorigin"),o.src="",o.src=e}else a(new Error('Loading image "'+t+'" failed'))}o=e&&i?new Image(e,i):new Image,n&&o.setAttribute("crossOrigin",n),o.onload=function(){r(o)},o.onabort=s,o.onerror=s,o.src=t})},e.prototype.getDOMURL=function(){return self.URL||self.webkitURL||self},e.prototype.getSVG=function(t,e,i){return void 0===i&&(i=!0),Object(r.b)(this,void 0,void 0,function(){var n,a,o,s,l,u,h,c;return Object(r.d)(this,function(r){switch(r.label){case 0:return(n=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),[4,this.awaitValidSprites()];case 1:return r.sent(),a=this.sprite.pixelWidth,o=this.sprite.pixelHeight,s=b.l(this.sprite.dom),l=b.m(this.sprite.dom),u=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,a,o,1,s,l),h=this.adapter.apply("charset",{charset:"charset=utf-8",type:"svg",options:e}).charset,c=this.adapter.apply("getSVG",{data:i?"data:"+this.getContentType(t)+";"+h+","+encodeURIComponent(u):u,options:e}).data,n||this.restoreNonExportableSprites(),[2,c]}})})},e.prototype.normalizeSVG=function(t,e,i,n,r,a,o,s){var l="";i&&(l+='width="'+Math.round(i*r)+'px" '),n&&(l+='height="'+Math.round(n*r)+'px" ');var u="";a&&(u+="font-family: "+a.replace(/"/g,"")+";"),o&&(u+="font-size: "+o+";"),r&&(l+='viewBox="0 0 '+i+" "+n+'" ');var h=[],c=t.match(//gi);if(c)for(var p=0;p]*)width="[^"]*"/,"$1")).replace(/(]*)height="[^"]*"/,"$1")).replace(/('+t+"",s&&(t=t.replace(/(]*>)/,'$1')),x.a()&&(t=t.replace(/]*\/>/gi,""));var d=new RegExp("url\\("+T.escapeForRgex(T.getBaseURI()),"g");if(t=(t=t.replace(d,"url(#")).replace(/url\("([^)]*)"\)/gm,"url($1)"),h.length)for(p=0;pn?1:in?1:in?1:in?1:in?-1:i=0)&&(u='"'+u+'"'),o.push(u)},function(t,e){var i=s.indexOf(t),n=s.indexOf(e);return i>n?1:i'),a=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"html"}).dataFields,o=this.data,e.pivot)s=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,n+="\n",_.eachOrdered(a,function(t,i){var r=[];e.addColumnNames&&r.push(i);for(var a=o.length,s=0;sn?-1:i";else{for(e.addColumnNames&&(n+="\n\n"+this.getHTMLRow(a,e,void 0,!0,!0)+"\n"),n+="\n",l=o.length,u=0;u"}return n+="\n",h=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,[2,this.adapter.apply("getHTML",{data:i?"data:"+this.getContentType(t)+";"+h+","+encodeURIComponent(n):n,options:e}).data]})})},e.prototype.getHTMLRow=function(t,e,i,n,r){var a=this;void 0===n&&(n=!1),void 0===r&&(r=!1);var o="\t";e.rowClass&&(o='\t'),i||(i=t);var s=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,l=r?"th":"td",u=!0;return _.eachOrdered(i,function(i,r){var s=a.convertEmptyValue(i,t[i],e),h=n?s:a.convertToSpecialFormat(i,s,e);h=(h=""+h).replace(/[\u00A0-\u9999<>\&]/gim,function(t){return"&#"+t.charCodeAt(0)+";"});var c=l;e.pivot&&u&&(c="th"),e.cellClass?o+="\n\t\t<"+c+' class="'+e.cellClass+'">'+h+"":o+="\n\t\t<"+c+">"+h+"",u=!1},function(t,e){var i=s.indexOf(t),n=s.indexOf(e);return i>n?1:i"},e.prototype.getJSON=function(t,e,i){return void 0===i&&(i=!0),Object(r.b)(this,void 0,void 0,function(){var n,a,o,s,l,u,h,c,p=this;return Object(r.d)(this,function(r){if(a=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"csv"}).dataFields,this._dynamicDataFields)n=this.data;else for(n=[],o=this.data,s=function(t,i){var r=o[i];if("object"==typeof r){var s={};_.each(r,function(t,i){w.hasValue(a[t])&&(s[a[t]]=p.convertToSpecialFormat(t,i,e))}),n.push(s)}},l=o.length,u=0;u

'+this.language.translate('To save the image, right-click thumbnail on the left and choose "Save picture as..."')+'

'+this.language.translate("(Press ESC to close this message)")+"

",this.language.translate("Image Export Complete")):(g=void 0,e.match(/\.svg$/)?g="image/svg+xml":(g="text/plain",e+=".txt"),(m=document.createElement("iframe")).width="1px",m.height="1px",m.style.display="none",document.body.appendChild(m),(y=m.contentDocument).open(g,"replace"),y.write(decodeURIComponent(f[3])),y.close(),y.execCommand("SaveAs",!0,e),document.body.removeChild(m))):window.location.href=t;return[2,!0]})})},e.prototype.downloadSupport=function(){return this.linkDownloadSupport()||this.msBlobDownloadSupport()},e.prototype.linkDownloadSupport=function(){var t=y.c.getCache("linkDownloadSupport");if(!1===t||!0===t)return t;var e=void 0!==document.createElement("a").download;return y.c.setCache("linkDownloadSupport",e),e},e.prototype.blobDownloadSupport=function(){return w.hasValue(window.Blob)},e.prototype.msBlobDownloadSupport=function(){return w.hasValue(window.navigator.msSaveOrOpenBlob)},e.prototype.legacyIE=function(){var t=document.createElement("div");return t.innerHTML="\x3c!--[if lt IE 10]> *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"polygon(0px 0px,0px 0px,0px 0px,0px 0px);"}),i&&document&&document.title&&(o=document.title,document.title=i),(s=new Image).src=t,s.style.maxWidth="100%",s.style.display="block",s.style.position="relative",s.style.visibility="visible",s.style.opacity="1",s.style.clipPath="none",document.body.appendChild(s),this.setTimeout(function(){window.print()},50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout(function(){document.body.removeChild(s),a.dispose(),o&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=n},e.delay||500),[2,!0]})})},e.prototype.printViaIframe=function(t,e,i){return Object(r.b)(this,void 0,void 0,function(){var n,a;return Object(r.d)(this,function(r){return(n=document.createElement("iframe")).style.visibility="hidden",document.body.appendChild(n),n.contentWindow.document.open(),n.contentWindow.document.close(),(a=new Image).src=t,a.style.maxWidth="100%",i&&(n.contentWindow.document.title=i),n.contentWindow.document.body.appendChild(a),n.load=function(){n.contentWindow.document.body.appendChild(a)},this.setTimeout(function(){try{n.contentWindow.document.execCommand("print",!1,null)||n.contentWindow.print()}catch(t){n.contentWindow.print()}},e.delay||50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout(function(){document.body.removeChild(n)},e.delay+50||100),[2,!0]})})},e.prototype.findBackgroundColor=function(t){var e=1,i=Object(b.p)(t,"background-color");if((i.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||"transparent"==i)&&(e=0),0==e){var n=t.parentElement;return n?this.findBackgroundColor(n):Object(m.c)("#fff")}return Object(m.c)(i,e)},Object.defineProperty(e.prototype,"container",{get:function(){return this.adapter.apply("container",{container:this._container}).container},set:function(t){this._container=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sprite",{get:function(){return this.adapter.apply("sprite",{sprite:this._sprite}).sprite},set:function(t){this._sprite=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraSprites",{get:function(){return this.adapter.apply("extraSprites",{extraSprites:this._extraSprites}).extraSprites},set:function(t){this._extraSprites=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validateSprites",{get:function(){return this.adapter.apply("validateSprites",{validateSprites:this._validateSprites}).validateSprites},set:function(t){this._validateSprites=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.adapter.apply("data",{data:this._data}).data},set:function(t){this._data=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataFields",{get:function(){return this._dataFields||this.generateDataFields(),this.adapter.apply("dataFields",{dataFields:this._dataFields}).dataFields},set:function(t){this._dataFields=t,this._dynamicDataFields=!1},enumerable:!0,configurable:!0}),e.prototype.handleDataUpdated=function(){this._dynamicDataFields&&(this._dataFields=void 0);var t=this.data.length>0;this._prevHasData!=t&&(this._prevHasData=t,this.menu&&this.menu.invalidate())},Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter||(this._dateFormatter=new c.a,this._dateFormatter.language=this.language),this.adapter.apply("dateFormatter",{dateFormatter:this._dateFormatter}).dateFormatter},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this.adapter.apply("dateFormat",{dateFormat:this._dateFormat}).dateFormat},set:function(t){this._dateFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFields",{get:function(){return this._dateFields||(this._dateFields=new u.b),this.adapter.apply("dateFields",{dateFields:this._dateFields}).dateFields},set:function(t){this._dateFields=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormatter",{get:function(){return this._numberFormatter||(this._numberFormatter=new d.a,this._numberFormatter.language=this.language),this.adapter.apply("numberFormatter",{numberFormatter:this._numberFormatter}).numberFormatter},set:function(t){this._numberFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormat",{get:function(){return this.adapter.apply("numberFormat",{numberFormat:this._numberFormat}).numberFormat},set:function(t){this._numberFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFields",{get:function(){return this._numberFields||(this._numberFields=new u.b),this.adapter.apply("numberFields",{numberFields:this._numberFields}).numberFields},set:function(t){this._numberFields=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormatter",{get:function(){return this._durationFormatter||(this._durationFormatter=new p.a,this._durationFormatter.language=this.language),this.adapter.apply("durationFormatter",{durationFormatter:this._durationFormatter}).durationFormatter},set:function(t){this._durationFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormat",{get:function(){return this.adapter.apply("durationFormat",{durationFormat:this._durationFormat}).durationFormat},set:function(t){this._durationFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFields",{get:function(){return this._durationFields||(this._durationFields=new u.b),this.adapter.apply("durationFields",{durationFields:this._durationFields}).durationFields},set:function(t){this._durationFields=t},enumerable:!0,configurable:!0}),e.prototype.generateDataFields=function(){var t=this;this._dataFields={},this.data.length&&S.each(this.data,function(e){_.each(e,function(e,i){w.hasValue(t._dataFields[e])||(t._dataFields[e]=t.adapter.apply("dataFieldName",{name:e,field:e}).name)})})},e.prototype.isDateField=function(t){return this.adapter.apply("isDateField",{isDateField:this.dateFields.contains(t),field:t}).isDateField},e.prototype.isNumberField=function(t){return this.adapter.apply("isNumberField",{isNumberField:this.numberFields.contains(t),field:t}).isNumberField},e.prototype.isDurationField=function(t){return this.adapter.apply("isDurationField",{isDurationField:this.durationFields.contains(t),field:t}).isDurationField},e.prototype.getContentType=function(t){var e="";switch(t){case"png":case"gif":e="image/"+t;break;case"jpg":e="image/jpeg";break;case"svg":e="image/svg+xml";break;case"csv":e="text/csv";break;case"json":e="application/json";break;case"html":e="text/html";break;case"pdf":case"pdfdata":e="application/pdf";break;case"xlsx":e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}return this.adapter.apply("contentType",{contentType:e,type:t}).contentType},Object.defineProperty(e.prototype,"filePrefix",{get:function(){return this.adapter.apply("filePrefix",{filePrefix:this._filePrefix}).filePrefix},set:function(t){this._filePrefix=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this.adapter.apply("backgroundColor",{backgroundColor:this._backgroundColor}).backgroundColor},set:function(t){this._backgroundColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.adapter.apply("title",{title:this._title}).title},set:function(t){this._title=t},enumerable:!0,configurable:!0}),e.prototype.showPreloader=function(){var t=this.preloader;t&&(t.progress=.5,t.label.text="...")},e.prototype.hidePreloader=function(){var t=this.preloader;t&&(t.progress=1)},Object.defineProperty(e.prototype,"preloader",{get:function(){return this._sprite&&this._sprite.parent&&this._sprite.parent.preloader?this._sprite.parent.preloader:void 0},enumerable:!0,configurable:!0}),e.prototype.showTimeout=function(){this.showModal(this.adapter.apply("timeoutMessage",{message:this.language.translate("Export operation took longer than expected. Something might have gone wrong.")}).message)},e.prototype.hideTimeout=function(){this._timeoutTimeout&&(this.removeDispose(this._timeoutTimeout),this._timeoutTimeout=null),this.hideModal()},Object.defineProperty(e.prototype,"language",{get:function(){return this._language||(this._language=new f.a),this._language},set:function(t){this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modal",{get:function(){return this._modal||(this._modal=new l.a,this._modal.adapter.add("classPrefix",function(t){return t=v.a.classNamePrefix+t})),this._modal},enumerable:!0,configurable:!0}),e.prototype.showModal=function(t,e){this.hideModal(),this.hidePreloader();var i=this.modal;i.container=this.sprite.svgContainer.SVGContainer,i.content=t,i.readerTitle=e,i.open()},e.prototype.hideModal=function(){this._modal&&this.modal.close()},e.prototype._canvg=function(){return Object(r.b)(this,void 0,void 0,function(){var t;return Object(r.d)(this,function(e){switch(e.label){case 0:return[4,i.e("0471").then(i.bind(null,"6p/1"))];case 1:return null!=(t=e.sent()).default?[2,t.default]:[2,t]}})})},Object.defineProperty(e.prototype,"canvg",{get:function(){return this._canvg()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pdfmake",{get:function(){return null==n&&(n=function(){return Object(r.b)(this,void 0,void 0,function(){var t,e,n,a;return Object(r.d)(this,function(r){switch(r.label){case 0:return[4,Promise.all([i.e("076f").then(i.bind(null,"o2M+")),i.e("076f").then(i.bind(null,"/9Au"))])];case 1:return t=r.sent(),e=t[0],n=t[1],(a=window).pdfMake=a.pdfMake||{},a.pdfMake.vfs=n.default,e.vfs=n.default,[2,e]}})})}()),n},enumerable:!0,configurable:!0}),e.prototype._xlsx=function(){return Object(r.b)(this,void 0,void 0,function(){return Object(r.d)(this,function(t){switch(t.label){case 0:return[4,i.e("bf3e").then(i.bind(null,"s5xg"))];case 1:return[2,t.sent()]}})})},Object.defineProperty(e.prototype,"xlsx",{get:function(){return this._xlsx()},enumerable:!0,configurable:!0}),e.prototype.setFormatOptions=function(t,e){this._formatOptions.setKey(t,e)},e.prototype.getFormatOptions=function(t){return this._formatOptions.getKey(t)},Object.defineProperty(e.prototype,"formatOptions",{get:function(){return this._formatOptions},enumerable:!0,configurable:!0}),e.prototype._disablePointers=function(){w.hasValue(this._spriteInteractionsEnabled)||(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled),this.sprite.interactionsEnabled=!1},e.prototype._releasePointers=function(){w.hasValue(this._spriteInteractionsEnabled)&&!this._exportRunning&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled)},e.prototype.hideNonExportableSprites=function(){var t=this;if(!this._objectsAlreadyHidden){var e=this.sprite.svgContainer;e&&S.each(e.nonExportableSprites,function(e){e.isHidden||e.isHiding||!e.visible||t._hiddenObjects.push(e),e.hide(0)}),this._objectsAlreadyHidden=!0}},e.prototype.restoreNonExportableSprites=function(){this._objectsAlreadyHidden&&(S.each(this._hiddenObjects,function(t){t.show(0)}),this._hiddenObjects=[],this._objectsAlreadyHidden=!1)},e.prototype.awaitValidSprites=function(){return Object(r.b)(this,void 0,void 0,function(){var t;return Object(r.d)(this,function(e){switch(e.label){case 0:return t=[],this.validateSprites.length&&S.each(this.validateSprites,function(e,i){e.invalid&&t.push(new Promise(function(t,i){e.events.once("validated",function(e){t()})}))}),t.length?[4,Promise.all(t)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}})})},e.prototype.processConfig=function(e){y.c.registeredClasses.ExportMenu=a.a,e&&w.hasValue(e.menu)&&!w.hasValue(e.menu.type)&&(e.menu.type="ExportMenu"),t.prototype.processConfig.call(this,e)},e.XLINK="http://www.w3.org/1999/xlink",e}(g.a)},Gg2j:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"PI",function(){return r}),i.d(e,"HALFPI",function(){return a}),i.d(e,"RADIANS",function(){return o}),i.d(e,"DEGREES",function(){return s}),e.toNumberRange=function(t,e,i){if(n.hasValue(t))return u(t=n.toNumber(t),e,i);return t},e.round=l,e.ceil=function(t,e){if(!n.isNumber(e)||e<=0)return Math.ceil(t);var i=Math.pow(10,e);return Math.ceil(t*i)/i},e.stretch=function(t,e,i){return t*(i-e)+e},e.fitToRange=u,e.sin=h,e.tan=function(t){return l(Math.tan(o*t),10)},e.cos=c,e.max=p,e.min=d,e.closest=function(t,e){return t.reduce(function(t,i){return Math.abs(i-e)0)for(var s=0;s<=r;s++){var l=y(t,e,i,n,s/r);a+=f(o,l),o=l}return a},e.getScale=function(t,e,i,n){var r=f(e,n),a=f(t,i);return Math.abs(a/r)},e.getMidPoint=function(t,e,i){n.isNumber(i)||(i=.5);return{x:t.x+(e.x-t.x)*i,y:t.y+(e.y-t.y)*i}},e.getRotation=g,e.getAngle=m,e.getCenterShift=function(t,e,i,n,r){var a=g(e,i,n,r)-90;a<0&&(a+=360);var o=f(e,n),s=Math.cos(a)/o+e.x,l=Math.cos(a)/o+e.y;return{x:s-t.x,y:l-t.y}},e.getBBox=function(t){if(t){var e=t.length;if(0!==e){for(var i,r=void 0,a=void 0,o=void 0,s=0;sa)&&(a=l.x),(!n.isNumber(r)||l.xo)&&(o=l.y)}return{x:r,y:i,width:a-r,height:o-i}}}return{x:0,y:0,width:0,height:0}},e.getCommonRectangle=function(t){var e=t.length;if(0!==e){for(var i=void 0,n=void 0,r=void 0,a=void 0,o=0;oi){var n=e;e=i,i=n}t=b(t);var r=(e-b(e))/360;ti&&(t-360>e?t-=360:t=te+(i-e)/2-180?e:i);return t},e.getArcRect=function(t,e,i){var r=Number.MAX_VALUE,a=Number.MAX_VALUE,o=-Number.MAX_VALUE,s=-Number.MAX_VALUE,l=[];n.isNumber(i)||(i=1);l.push(x(i,t)),l.push(x(i,e));for(var u=Math.min(90*Math.floor(t/90),90*Math.floor(e/90)),h=Math.max(90*Math.ceil(t/90),90*Math.ceil(e/90)),c=u;c<=h;c+=90)c>=t&&c<=e&&l.push(x(i,c));for(var p=0;po&&(o=d.x),d.y>s&&(s=d.y)}return{x:r,y:a,width:o-r,height:s-a}},e.getArcPoint=x,e.isInRectangle=function(t,e){if(t.x>=e.x&&t.x<=e.x+e.width&&t.y>e.y&&t.yi&&(t=i),t}function h(t){return l(Math.sin(o*t),10)}function c(t){return l(Math.cos(o*t),10)}function p(t,e){return n.isNumber(t)?n.isNumber(e)&&e>t?e:t:n.isNumber(e)?e:null}function d(t,e){return n.isNumber(t)?n.isNumber(e)&&e1?arguments[1]:void 0)})},GtDR:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("Vs7R"),a=i("aCit"),o=i("Gg2j"),s=function(t){function e(){var e=t.call(this)||this;return e.className="Rectangle",e.element=e.paper.add("rect"),e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this._positionPrecision;this.pixelPerfect&&(e=0);var i=o.round(this.innerWidth,e),n=o.round(this.innerHeight,e);this.element.attr({width:i,height:n})},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.isMeasured?{x:0,y:0,width:this.innerWidth,height:this.innerHeight}:{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),e}(r.a);a.c.registeredClasses.Rectangle=s},GtmK:function(t,e,i){var n=i("3pky"),r=i("XhXf").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},GzrW:function(t,e,i){var n=i("0sYB"),r=i("Kg2n"),a=i("Tl3C").onFreeze,o=i("6EAy"),s=i("6aQQ"),l=Object.seal;n({target:"Object",stat:!0,forced:s(function(){l(1)}),sham:!o},{seal:function(t){return l&&r(t)?l(a(t)):t}})},HDh7:function(t,e,i){"use strict";var n=i("UsNi"),r=i("W8Sc"),a=i("vMqJ"),o=i("v9UT"),s=i("58Sn"),l=i("hJ5i"),u=i("Mtpk"),h=i("pjXm"),c=function(){function t(){var t=this;this._targets=[],this._observer=new ResizeObserver(function(e){l.each(e,function(e){l.each(t._targets,function(t){t.target===e.target&&t.callback()})})})}return t.prototype.addTarget=function(t,e){this._observer.observe(t,{box:"content-box"}),this._targets.push({target:t,callback:e})},t.prototype.removeTarget=function(t){this._observer.unobserve(t),l.keepIf(this._targets,function(e){return e.target!==t})},t}(),p=function(){function t(){this._targets=[]}return t.prototype.addTarget=function(e,i){var n=this;if(0===this._targets.length){var r=null,a=function(){var e=Date.now();(null===r||e>r+t.delay)&&(r=e,l.each(n._targets,function(t){var e=t.target.getBoundingClientRect();e.width===t.size.width&&e.height===t.size.height||(t.size=e,t.callback())})),n._timer=requestAnimationFrame(a)};this._timer=requestAnimationFrame(a)}var o=e.getBoundingClientRect();this._targets.push({target:e,callback:i,size:o})},t.prototype.removeTarget=function(t){l.keepIf(this._targets,function(e){return e.target!==t}),0===this._targets.length&&cancelAnimationFrame(this._timer)},t.delay=200,t}(),d=null;var f=function(){function t(t,e){this._disposed=!1,this._sensor=(null===d&&(d="undefined"!=typeof ResizeObserver?new c:new p),d),this._element=t,this._sensor.addTarget(t,e)}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._sensor.removeTarget(this._element))},Object.defineProperty(t.prototype,"sensor",{get:function(){return this._sensor},enumerable:!0,configurable:!0}),t.prototype.reset=function(){h.b("resizeSensor.reset() is no longer needed and can be removed")},t}();i.d(e,"b",function(){return g}),i.d(e,"a",function(){return m});var g=[],m=function(){function t(t,e){var i=this;this._disposed=!1,this.autoResize=!0,this.nonExportableSprites=[],this._disposers=[],this.cssScale=1,this._printing=!1,this.htmlElement=t,e||(this._printing=!1,this.initSensor(),this._disposers.push(s.g(window,"beforeprint",function(){i._printing=!0})),this._disposers.push(s.g(window,"afterprint",function(){i._printing=!1}))),g.push(this);var n=document.createElement("div"),r=n.style;r.width="100%",r.height="100%",r.position="relative",t.appendChild(n),this.SVGContainer=n}return t.prototype.initSensor=function(){var t=this;this.resizeSensor&&this.resizeSensor.dispose();this.resizeSensor=new f(this.htmlElement,function(){t.autoResize&&!t._printing&&t.measure()}),this._disposers.push(this.resizeSensor)},t.prototype.measure=function(){var t=o.width(this.htmlElement),e=o.height(this.htmlElement),i=this.container;i&&(this.width==t&&this.height==e||(this.width=t,this.height=e,t>0&&(i.maxWidth=t),e>0&&(i.maxHeight=e),s.n(this.SVGContainer)),i.maxWidth||(i.maxWidth=0),i.maxHeight||(i.maxHeight=0),this.cssScale=1,this.checkTransform(this.htmlElement))},Object.defineProperty(t.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t,this.measure()},enumerable:!0,configurable:!0}),t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||l.remove(g,this),l.each(this._disposers,function(t){t.dispose()})},Object.defineProperty(t.prototype,"hideOverflow",{set:function(t){this.SVGContainer.style.overflow=t?"hidden":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"modal",{get:function(){return u.hasValue(this._modal)||(this._modal=new r.a,this._modal.container=this.SVGContainer,this._disposers.push(this._modal)),this._modal},enumerable:!0,configurable:!0}),t.prototype.openModal=function(t,e){this.closeModal();var i=this.modal;return i.content=t,i.readerTitle=e||"",i.title=e||"",i.open(),i},t.prototype.closeModal=function(){this._modal&&this.modal.close()},Object.defineProperty(t.prototype,"popups",{get:function(){if(!u.hasValue(this._popups)){var t=new n.a;t.container=this.SVGContainer,this._popups=new a.e(t),this._disposers.push(new a.c(this._popups)),this._disposers.push(this._popups.template)}return this._popups},enumerable:!0,configurable:!0}),t.prototype.openPopup=function(t,e){var i=this.popups.create();return i.content=t,u.hasValue(e)&&(i.title=e),i.open(),i},t.prototype.closeAllPopups=function(){this.popups.each(function(t){t.close()})},Object.defineProperty(t.prototype,"readerAlertElement",{get:function(){if(!u.hasValue(this._readerAlertElement)){var t=document.createElement("div");t.setAttribute("role","alert"),t.style.zIndex="-100000",t.style.opacity="0",t.style.position="absolute",t.style.top="0",this.SVGContainer.appendChild(t),this._readerAlertElement=t}return this._readerAlertElement},enumerable:!0,configurable:!0}),t.prototype.readerAlert=function(t){this.readerAlertElement.innerHTML=t},t.prototype.checkTransform=function(t){if(window.getComputedStyle){if(t&&t.style){var e=window.getComputedStyle(t,null);if(e){var i=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform");if(i&&"none"!==i){var n=i.split("(")[1].split(")")[0].split(","),r=Number(n[0]),a=Number(n[1]),o=Math.sqrt(r*r+a*a);isNaN(o)||(this.cssScale*=o)}}}t.parentNode&&t.parentNode instanceof HTMLElement&&this.checkTransform(t.parentNode)}},t}()},"HMf+":function(t,e,i){"use strict";var n=i("0sYB"),r=i("vfdp"),a=i("EjSS"),o=i("z3p0"),s=i("Tl3C"),l=i("L4xm"),u=i("L56b"),h=i("Kg2n"),c=i("6aQQ"),p=i("XqrT"),d=i("NRfM"),f=i("047P");t.exports=function(t,e,i){var g=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),y=g?"set":"add",v=r[t],b=v&&v.prototype,x=v,_={},P=function(t){var e=b[t];o(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(m&&!h(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!h(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!h(t))&&e.call(this,0===t?0:t)}:function(t,i){return e.call(this,0===t?0:t,i),this})};if(a(t,"function"!=typeof v||!(m||b.forEach&&!c(function(){(new v).entries().next()}))))x=i.getConstructor(e,t,g,y),s.REQUIRED=!0;else if(a(t,!0)){var w=new x,O=w[y](m?{}:-0,1)!=w,T=c(function(){w.has(1)}),S=p(function(t){new v(t)}),C=!m&&c(function(){for(var t=new v,e=5;e--;)t[y](e,e);return!t.has(-0)});S||((x=e(function(e,i){u(e,x,t);var n=f(new v,e,x);return void 0!=i&&l(i,n[y],n,g),n})).prototype=b,b.constructor=x),(T||C)&&(P("delete"),P("has"),g&&P("get")),(C||O)&&P(y),m&&b.clear&&delete b.clear}return _[t]=x,n({global:!0,forced:x!=v},_),d(x,t),m||i.setStrong(x,t,g),x}},HZlQ:function(t,e,i){"use strict";var n=i("3sMl"),r=i("6aQQ"),a=i("kcMx"),o=i("KSd4"),s=i("EVp9"),l=i("7X7h"),u=i("tNpr"),h=Object.assign,c=Object.defineProperty;t.exports=!h||r(function(){if(n&&1!==h({b:1},h(c({},"a",{enumerable:!0,get:function(){c(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol();return t[i]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=h({},t)[i]||"abcdefghijklmnopqrst"!=a(h({},e)).join("")})?function(t,e){for(var i=l(t),r=arguments.length,h=1,c=o.f,p=s.f;r>h;)for(var d,f=u(arguments[h++]),g=c?a(f).concat(c(f)):a(f),m=g.length,y=0;m>y;)d=g[y++],n&&!p.call(f,d)||(i[d]=f[d]);return i}:h},Hfxi:function(t,e,i){var n=i("0sYB"),r=i("6EAy"),a=i("6aQQ"),o=i("Kg2n"),s=i("Tl3C").onFreeze,l=Object.freeze;n({target:"Object",stat:!0,forced:a(function(){l(1)}),sham:!r},{freeze:function(t){return l&&o(t)?l(s(t)):t}})},HgTb:function(t,e,i){"use strict";var n=i("X/sl").forEach,r=i("xlUI"),a=i("J+FZ"),o=r("forEach"),s=a("forEach");t.exports=o&&s?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},HnbP:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},Hp8y:function(t,e,i){var n=i("vfdp"),r=i("pVcl"),a=i("yBTm"),o=i("k2B3"),s=i("KslR"),l=s("iterator"),u=s("toStringTag"),h=a.values;for(var c in r){var p=n[c],d=p&&p.prototype;if(d){if(d[l]!==h)try{o(d,l,h)}catch(t){d[l]=h}if(d[u]||o(d,u,c),r[c])for(var f in a)if(d[f]!==a[f])try{o(d,f,a[f])}catch(t){d[f]=a[f]}}}},HyBf:function(t,e,i){i("0sYB")({target:"Number",stat:!0},{isInteger:i("IpLv")})},I42a:function(t,e,i){var n=i("8nEM"),r=Math.abs,a=Math.pow,o=a(2,-52),s=a(2,-23),l=a(2,127)*(2-s),u=a(2,-126);t.exports=Math.fround||function(t){var e,i,a=r(t),h=n(t);return al||i!=i?h*(1/0):h*i}},IN7q:function(t,e,i){"use strict";var n=i("UseD"),r=i("7dku").left,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",function(t){return r(a(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)})},ISWh:function(t,e,i){"use strict";i.d(e,"a",function(){return v});var n=i("m4/l"),r=i("C6dT"),a=i("xIv9"),o=i("aGXA"),s=i("zhwk"),l=i("qCRI"),u=i("CnhP"),h=i("aCit"),c=i("WYhe"),p=i("MIZb"),d=i("tjMS"),f=i("Gg2j"),g=i("0FpR"),m=i("Mtpk"),y=i("v9UT"),v=function(t){function e(){var e=t.call(this)||this;e._previousStart=0,e._previousEnd=1,e._prevStart=0,e._prevEnd=1,e._isBusy=!1,e._skipRangeEvents=!1,e.updateWhileMoving=!0,e.className="Scrollbar",e.minHeight=12,e.minWidth=12,e.animationDuration=0,e.animationEasing=g.cubicOut,e.margin(10,10,10,10);var i=new p.a,n=e.background;return n.cornerRadius(10,10,10,10),n.fill=i.getFor("fill"),n.fillOpacity=.5,e.showSystemTooltip=!0,e.startGrip=new a.a,e.endGrip=new a.a,e.events.on("transformed",e.updateThumb,e,!1),e.start=0,e.end=1,e.role="scrollbar",e.thumb.role="slider",e.thumb.readerLive="polite",e.startGrip.role="slider",e.endGrip.role="slider",e.events.once("inited",function(){e._previousStart=void 0,e.dispatchRangeChange()},void 0,!1),e.hideGrips=!1,e.orientation="horizontal",e.setSVGAttribute({"aria-valuemin":"0"}),e.setSVGAttribute({"aria-valuemax":"100"}),e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),"horizontal"===this.orientation?(m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB to select grip buttons or left and right arrows to change selection")),m.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use left and right arrows to move selection")),m.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use left and right arrows to move left selection")),m.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use left and right arrows to move right selection")),this.readerOrientation="horizontal"):(m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB select grip buttons or up and down arrows to change selection")),m.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use up and down arrows to move selection")),m.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use up and down arrows to move upper selection")),m.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use up and down arrows to move lower selection")),this.readerOrientation="vertical"),this.readerControls=this.baseSprite.uidAttr()},e.prototype.validateLayout=function(){this.updateSize(),t.prototype.validateLayout.call(this),this.updateExtremes()},e.prototype.processBackground=function(){t.prototype.processBackground.call(this);var e=this.background;e.clickable=!0,e.events.on("hit",this.handleBgHit,this,void 0)},e.prototype.handleBgHit=function(t){this.makeBusy();var e=t.spritePoint;e=y.spritePointToSprite(e,this.background,this);var i=this.thumb;if("horizontal"==this.orientation){var n=e.x-i.pixelWidth/2;n=f.fitToRange(n,0,this.innerWidth-i.pixelWidth),this._thumbAnimation=i.animate({property:"x",to:n},this.animationDuration,this.animationEasing)}else{var r=e.y-i.pixelHeight/2;r=f.fitToRange(r,0,this.innerHeight-i.pixelHeight),this._thumbAnimation=i.animate({property:"y",to:r},this.animationDuration,this.animationEasing)}this.animationDuration>0?this._thumbAnimation.events.on("animationended",this.makeUnbusy,this,!1):(this._thumb.validate(),this.makeUnbusy())},e.prototype.makeBusy=function(){this._isBusy=!0,this._skipRangeEvents=!1,this._unbusyTimeout&&this.removeDispose(this._unbusyTimeout),this._unbusyTimeout=void 0,this.stopAnimations()},e.prototype.stopAnimations=function(){this._thumbAnimation&&this._thumbAnimation.stop(!0),this._zoomAnimation&&this._zoomAnimation.stop(!0)},e.prototype.makeUnbusy=function(){this._unbusyTimeout=this.setTimeout(this.makeUnbusyReal.bind(this),1.1*this.animationDuration)},e.prototype.makeUnbusyReal=function(){this._usingGrip=void 0,this._isBusy=!1,this.updateWhileMoving||this.dispatchRangeChange()},e.prototype.dispatchRangeChange=function(){this._previousEnd==this.end&&this._previousStart==this.start||(this._previousStart=this.start,this._previousEnd=this.end,this.dispatch("rangechanged"))},e.prototype.updateThumb=function(){if(this.parent){var t=this.thumb,e=this.start,i=this.end,n=this.startGrip,r=this.endGrip;if("horizontal"==this.orientation){var a=this.innerWidth;t.width=a*(i-e),t.maxX=a-t.pixelWidth,t.x=e*a,n.moveTo({x:t.pixelX,y:0},void 0,void 0,!0),r.moveTo({x:t.pixelX+t.pixelWidth,y:0},void 0,void 0,!0),n.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*e)+"%",position:e}).value),n.readerValueNow=""+Math.round(100*e),n.readerValueText=n.readerTitle,r.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*i)+"%",position:i}).value),r.readerValueNow=""+Math.round(100*i),r.readerValueText=r.readerTitle}else{var o=this.innerHeight;t.height=o*(i-e),t.maxY=o-t.pixelHeight,t.y=(1-i)*o,n.moveTo({x:0,y:t.pixelY+t.pixelHeight},void 0,void 0,!0),r.moveTo({x:0,y:t.pixelY},void 0,void 0,!0),n.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*(1-e))+"%",position:1-e}).value),n.readerValueNow=""+Math.round(100*e),n.readerValueText=n.readerTitle,r.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*(1-i))+"%",position:1-i}).value),r.readerValueNow=""+Math.round(100*i),r.readerValueText=r.readerTitle}t.readerTitle=this.language.translate("From %1 to %2",void 0,this.adapter.apply("positionValue",{value:Math.round(100*e)+"%",position:e}).value,this.adapter.apply("positionValue",{value:Math.round(100*i)+"%",position:i}).value),t.readerValueNow=""+Math.round(100*e),t.readerValueText=t.readerTitle,this.readerValueNow=""+Math.round(100*e),this.readerValueText=t.readerTitle,!this._skipRangeEvents&&this.updateWhileMoving&&this.dispatchRangeChange()}},e.prototype.updateExtremes=function(){var t=0,e=0,i=0,n=0;"horizontal"==this.orientation?(i=this.innerWidth,e=n=this.innerHeight/2):(n=this.innerHeight,t=i=this.innerWidth/2);var r=this.startGrip;r.minX=t,r.maxX=i,r.minY=e,r.maxY=n;var a=this.endGrip;a.minX=t,a.maxX=i,a.minY=e,a.maxY=n;var o=this.thumb;o.minX=t,o.maxX=i,o.minY=e,o.maxY=n},e.prototype.updateSize=function(){var t=this.orientation,e=this.startGrip;e&&(e.orientation=t),this.endGrip&&(this.endGrip.orientation=t);var i=this.thumb;i&&("horizontal"==t?(m.isNumber(this._pixelWidth)||this.width instanceof d.a||(this.width=Object(d.c)(100)),m.hasValue(this.percentHeight)&&(this.height=this.minHeight),i.height=this.innerHeight,i.verticalCenter="middle",i.horizontalCenter="left"):(m.isNumber(this._pixelHeight)||this.height instanceof d.a||(this.height=Object(d.c)(100)),m.hasValue(this.percentWidth)&&(this.width=this.minWidth),i.width=this.innerWidth,i.verticalCenter="top",i.horizontalCenter="middle"))},Object.defineProperty(e.prototype,"isBusy",{get:function(){return this._isBusy},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return Math.min(this.getPosition(this._start),this.getPosition(this._end))},set:function(t){this._isBusy||(this.__start=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__start",{get:function(){return this._start},set:function(t){this._start=this.getPosition(t),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return Math.max(this.getPosition(this._start),this.getPosition(this._end))},set:function(t){this._isBusy||(this.__end=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__end",{get:function(){return this._end},set:function(t){this._end=this.getPosition(t),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return{start:this.start,end:this.end,priority:this._usingGrip}},enumerable:!0,configurable:!0}),e.prototype.skipRangeEvents=function(){this._isBusy||(this._skipRangeEvents=!0)},e.prototype.fixRange=function(t){t.start==f.round(this._start,2)&&t.end==f.round(this._end,2)||(this._start=t.start,this._end=t.end,this._skipRangeEvents=!0,this.updateThumb(),this._skipRangeEvents=!1,this.thumb.validate(),this.thumb.background.validate())},e.prototype.getPosition=function(t){return f.fitToRange(f.round(t,4),0,1)},Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t)&&("horizontal"===t?(this.startGrip.cursorOverStyle=l.a.horizontalResize,this.endGrip.cursorOverStyle=l.a.horizontalResize):(this.startGrip.cursorOverStyle=l.a.verticalResize,this.endGrip.cursorOverStyle=l.a.verticalResize),this.updateByOrientation(),this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.updateByOrientation=function(){},Object.defineProperty(e.prototype,"startGrip",{get:function(){return this._startGrip},set:function(t){this._startGrip&&this.removeDispose(this._startGrip),this._startGrip=t,this.processGrip(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endGrip",{get:function(){return this._endGrip},set:function(t){this._endGrip&&this.removeDispose(this._endGrip),this._endGrip=t,this.processGrip(t)},enumerable:!0,configurable:!0}),e.prototype.processGrip=function(t){t.parent=this,t.isMeasured=!1,t.focusable=!0,t.shouldClone=!1,t.zIndex=100,t.events.on("drag",this.handleGripDrag,this,!1),t.events.on("dragstop",this.makeUnbusy,this,!1),t.events.on("down",this.makeBusy,this,!1),this._disposers.push(t)},e.prototype.handleGripDrag=function(t){this.makeBusy(),t.target===this._startGrip?this._usingGrip="start":this._usingGrip="end","horizontal"==this.orientation?(this._start=this.startGrip.pixelX/this.innerWidth,this._end=this.endGrip.pixelX/this.innerWidth):(this._start=1-this.startGrip.pixelY/this.innerHeight,this._end=1-this.endGrip.pixelY/this.innerHeight),this.updateThumb()},Object.defineProperty(e.prototype,"thumb",{get:function(){if(!this._thumb){var t=new o.a;t.background.cornerRadius(10,10,10,10),t.padding(0,0,0,0),this.thumb=t}return this._thumb},set:function(t){var e=this;t&&(this._thumb&&this.removeDispose(this._thumb),this._thumb=t,t.parent=this,t.isMeasured=!1,t.inert=!0,t.draggable=!0,t.clickable=!0,t.hoverable=!0,t.focusable=!0,t.shouldClone=!1,t.zIndex=0,t.cursorOverStyle=l.a.grab,t.cursorDownStyle=l.a.grabbing,t.events.on("dragstart",this.makeBusy,this,!1),t.events.on("dragstop",this.makeUnbusy,this,!1),t.events.on("positionchanged",this.handleThumbPosition,this,!1),t.events.on("sizechanged",this.handleThumbPosition,this,!1),t.events.on("doublehit",this.handleDoubleClick,this,!1),this._disposers.push(Object(s.b)().body.events.on("keyup",function(t){c.b.isKey(t.event,["space","enter"])&&e.thumb.isFocused&&(t.event.preventDefault(),e.handleDoubleClick())})),this._disposers.push(this._thumb))},enumerable:!0,configurable:!0}),e.prototype.handleDoubleClick=function(){this.makeBusy();var t=0,e=1;0!=this.start||1!=this.end?(this._prevStart=this.start,this._prevEnd=this.end):(t=this._prevStart,e=this._prevEnd);var i=this.animate([{property:"__start",to:t},{property:"__end",to:e}],this.animationDuration,this.animationEasing);i&&!i.isFinished()?(i.events.on("animationended",this.makeUnbusy,this,!1),this._zoomAnimation=i):this.makeUnbusy()},e.prototype.handleThumbPosition=function(){var t=this.thumb;if("horizontal"==this.orientation){var e=this.innerWidth,i=t.innerWidth,n=t.pixelX;this._start=n/e,this._end=(n+i)/e,this.updateThumb()}else{var r=this.innerHeight,a=t.innerHeight,o=t.pixelY;this._start=1-(o+a)/r,this._end=1-o/r,this.updateThumb()}},e.prototype.createBackground=function(){return new u.a},Object.defineProperty(e.prototype,"hideGrips",{get:function(){return this._hideGrips},set:function(t){var e=this;this._hideGrips=t,this._overDisposer&&this.removeDispose(this._overDisposer),this._outDisposer&&this.removeDispose(this._outDisposer),t?(this._overDisposer=this.events.on("over",function(){e.startGrip.show(),e.endGrip.show()},void 0,!1),this._outDisposer=this.events.on("out",function(){e.startGrip.hide(),e.endGrip.hide()},void 0,!1),this.startGrip.hide(),this.endGrip.hide()):(this.startGrip.show(),this.endGrip.show())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(t){this.setPropertyValue("animationDuration",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(t){this.setPropertyValue("animationEasing",t)},enumerable:!0,configurable:!0}),e.prototype.asFunction=function(e){return"animationEasing"==e||t.prototype.asIs.call(this,e)},e}(r.a);h.c.registeredClasses.Scrollbar=v},IbQD:function(t,e,i){"use strict";var n=i("HMf+"),r=i("JZFm");t.exports=n("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},r)},IbTV:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("TDx+"),a=i("aCit"),o=i("Gg2j"),s=i("Mtpk"),l=i("hGwe"),u=i("v9UT"),h=i("tjMS"),c=function(t){function e(){var e=t.call(this)||this;return e.fdx=0,e.fdy=0,e.className="AxisLabelCircular",e.padding(0,0,0,0),e.location=.5,e.locationOnPath=.5,e.radius=0,e.isMeasured=!1,e.applyTheme(),e}return Object(n.c)(e,t),Object.defineProperty(e.prototype,"relativeRotation",{get:function(){return this.getPropertyValue("relativeRotation")},set:function(t){if(this.setPropertyValue("relativeRotation",t,!0),!s.hasValue(t)){this.rotation=void 0;var e=this.dataItem;e&&e.component&&e.component.invalidateDataItems()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bent",{get:function(){return this.getPropertyValue("bent")},set:function(t){this.setPropertyValue("bent",t,!0),this.setPropertyValue("wrap",!1),this.setPropertyValue("horizontalCenter","none"),this.setPropertyValue("verticalCenter","none"),t?(this.setPropertyValue("dx",0),this.setPropertyValue("dy",0),this.setPropertyValue("x",0),this.setPropertyValue("y",0),this.setPropertyValue("rotation",0),this.fdx=0,this.fdy=0,this.textAlign="middle"):this.textPathElement&&(this.textPathElement.dispose(),this.textPathElement=void 0)},enumerable:!0,configurable:!0}),e.prototype.pixelRadius=function(t){var e=1;return this.inside&&(e=-1),u.relativeToValue(this.radius,t)*e},e.prototype.pixelRadiusY=function(t,e){var i=1;this.inside&&(i=-1);var n=this.radius;return s.isNumber(n)?(n*=e/t,u.relativeToValue(n,t)*i):u.relativeToValue(n,e)*i},e.prototype.fixPosition=function(t,e,i,n,r){s.isNumber(i)||(i=e),s.isNumber(n)||(n=0),s.isNumber(r)||(r=0);var a={x:e*o.cos(t),y:i*o.sin(t)};this.invalid&&this.validate();var u=!1,c=this.radius;c instanceof h.a&&c.value<0?u=!0:c<0&&(u=!0);var p=this.relativeRotation,d=this.pixelRadius(e);if(this.bent){var f={x:(e+d)*o.cos(t+180),y:(i+d*i/e)*o.sin(t+180)};return this.path=l.moveTo(f)+l.arcTo(t+180,360,e+d,i+d*i/e),void(this.textPathElement&&this.textPathElement.attr({startOffset:100*this.locationOnPath+"%"}))}if(s.isNumber(p)){this.horizontalCenter="none",this.verticalCenter="none",t=o.fitAngleToRange(t,-180,180);var g=this.bbox.width,m=this.bbox.height,y=this.pixelPaddingBottom,v=this.pixelPaddingTop,b=this.pixelPaddingLeft,x=this.pixelPaddingRight;t>90||t<-90?-90==p&&(p=90,g=0):(-90==p&&(m=-m),90==p&&(p=-90,g=-b-x,m=-m-v-y)),this.rotation=p+t+90;var _=o.sin(p)/2,P=o.cos(p)/2,w=this.rotation;this.dx=m*_*o.sin(w)-g*P*o.cos(w),this.dy=-m*_*o.cos(w)-g*P*o.sin(w),this.inside?t>90||t<-90?d-=(y+v)*o.cos(p)+(b+x)*o.sin(p):d+=(y+this.bbox.height+v)*o.cos(p)+(b+x+this.bbox.width)*o.sin(p):d+=(m+y+v)*o.cos(p)+(g+b+x)*o.sin(p),a.x+=o.cos(t)*d,a.y+=o.sin(t)*d*i/e}else this.horizontalCenter="middle",this.verticalCenter="middle",u?(this.dx=0,this.dy=0,a.x=(e+d)*o.cos(t),a.y=(i+d*i/e)*o.sin(t)):(this.dy=this._measuredHeight/2*o.sin(t),this.dx=this._measuredWidth/2*o.cos(t),a.x+=o.cos(t)*d,a.y+=o.sin(t)*d*i/e);a.x+=n,a.y+=r,this.fdx=this.dx,this.fdy=this.dy,this.moveTo(a)},e}(r.a);a.c.registeredClasses.AxisLabelCircular=c},Ibl2:function(t,e,i){"use strict";var n=i("0sYB"),r=i("rhk+").end;n({target:"String",proto:!0,forced:i("tf09")},{padEnd:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},Inf5:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("C6dT"),a=i("Vs7R"),o=i("aCit"),s=i("Gg2j"),l=i("hGwe"),u=i("Mtpk"),h=i("v9UT"),c=i("tjMS"),p=i("CuFa"),d=function(t){function e(){var e=t.call(this)||this;return e.className="Slice",e.setPropertyValue("cornerRadius",0),e.setPropertyValue("startAngle",0),e.setPercentProperty("innerRadius",0),e.setPercentProperty("radius",0),e.setPropertyValue("arc",0),e.setPropertyValue("shiftRadius",0),e.strokeOpacity=1,e.setPropertyValue("layout","none"),e.slice=e.createChild(a.a),e.slice.isMeasured=!1,e._disposers.push(e.slice),e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.radiusY;this.radius>0&&0==e&&(e=.01),this.slice.path=l.arc(this.startAngle,this.arc,this.radius,this.pixelInnerRadius,e,this.cornerRadius,this.innerCornerRadius),this.slice.invalidate(),this.shiftRadius=this.shiftRadius,this.realFill instanceof p.a&&this.updateGradient(this.realFill),this.realStroke instanceof p.a&&this.updateGradient(this.realStroke)},e.prototype.updateGradient=function(t){t.element.attr({gradientUnits:"userSpaceOnUse"}),t.element.attr({r:this.radius}),t.cx=0,t.cy=0,t.element.attr({radius:this.radius})},Object.defineProperty(e.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;if(this.isMeasured){var t=s.getArcRect(this.startAngle,this.startAngle+this.arc,this.pixelInnerRadius),e=s.getArcRect(this.startAngle,this.startAngle+this.arc,this.radius);return s.getCommonRectangle([t,e])}return{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",s.normalizeAngle(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){u.isNumber(t)||(t=0),this.setPropertyValue("arc",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){var t=this.getPropertyValue("radius");return u.isNumber(t)||(t=0),t},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return u.isNumber(t)||(t=this.radius),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return h.relativeToValue(this.innerRadius,this.radius)},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}),Object.defineProperty(e.prototype,"innerCornerRadius",{get:function(){return this.getPropertyValue("innerCornerRadius")},set:function(t){this.setPropertyValue("innerCornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftRadius",{get:function(){return this.getPropertyValue("shiftRadius")},set:function(t){this.setPropertyValue("shiftRadius",t),this.dx=t*this.radius*this.ix,this.dy=t*this.radiusY*this.iy},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ix",{get:function(){return s.cos(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iy",{get:function(){return this.radius,s.sin(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleAngle",{get:function(){return this.startAngle+this.arc/2},enumerable:!0,configurable:!0}),e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");if(u.isNumber(t))return t;var e=.5;t instanceof c.a&&(e=t.value);var i=h.relativeToValue(this.innerRadius,this.radius);return this.ix*(i+(this.radius-i)*e)},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipY");if(u.isNumber(t))return t;var e=.5;t instanceof c.a&&(e=t.value);var i=h.relativeToValue(this.innerRadius,this.radius);return this.iy*(i+(this.radius-i)*e)+this.slice.dy},e}(r.a);o.c.registeredClasses.Slice=d},IpLv:function(t,e,i){var n=i("Kg2n"),r=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&r(t)===t}},IwOK:function(t,e,i){var n=i("vfdp").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&n(t)}},Iz1H:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(){function t(){this._disposed=!1,this._disposers=[]}return t.prototype.init=function(){},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;for(this._disposers=null;0!==t.length;){t.shift().dispose()}}},t}()},"J+05":function(t,e,i){var n=i("0sYB"),r=i("Kg2n"),a=i("3weC"),o=i("JZRr"),s=i("gxUV"),l=i("Ox5T");n({target:"Reflect",stat:!0},{get:function t(e,i){var n,u,h=arguments.length<3?e:arguments[2];return a(e)===h?e[i]:(n=s.f(e,i))?o(n,"value")?n.value:void 0===n.get?void 0:n.get.call(h):r(u=l(e))?t(u,i,h):void 0}})},"J+FZ":function(t,e,i){var n=i("3sMl"),r=i("6aQQ"),a=i("JZRr"),o=Object.defineProperty,s={},l=function(t){throw t};t.exports=function(t,e){if(a(s,t))return s[t];e||(e={});var i=[][t],u=!!a(e,"ACCESSORS")&&e.ACCESSORS,h=a(e,0)?e[0]:l,c=a(e,1)?e[1]:void 0;return s[t]=!!i&&!r(function(){if(u&&!n)return!0;var t={length:-1};u?o(t,1,{enumerable:!0,get:l}):t[1]=1,i.call(t,h,c)})}},JAqT:function(t,e,i){var n=i("vfdp"),r=i("2fPu"),a=n.WeakMap;t.exports="function"==typeof a&&/native code/.test(r(a))},JNIx:function(t,e,i){"use strict";e.a={_decimalSeparator:".",_thousandSeparator:",",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"μ",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(t){var e="th";if(t<11||t>13)switch(t%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd"}return e},"Zoom Out":"",Play:"",Stop:"",Legend:"","Click, tap or press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:""}},JZFm:function(t,e,i){"use strict";var n=i("8+rI").f,r=i("QzDi"),a=i("/vWR"),o=i("cLsB"),s=i("L56b"),l=i("L4xm"),u=i("vBfr"),h=i("YRD/"),c=i("3sMl"),p=i("Tl3C").fastKey,d=i("SqFF"),f=d.set,g=d.getterFor;t.exports={getConstructor:function(t,e,i,u){var h=t(function(t,n){s(t,h,e),f(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),c||(t.size=0),void 0!=n&&l(n,t[u],t,i)}),d=g(e),m=function(t,e,i){var n,r,a=d(t),o=y(t,e);return o?o.value=i:(a.last=o={index:r=p(e,!0),key:e,value:i,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=o),n&&(n.next=o),c?a.size++:t.size++,"F"!==r&&(a.index[r]=o)),t},y=function(t,e){var i,n=d(t),r=p(e);if("F"!==r)return n.index[r];for(i=n.first;i;i=i.next)if(i.key==e)return i};return a(h.prototype,{clear:function(){for(var t=d(this),e=t.index,i=t.first;i;)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete e[i.index],i=i.next;t.first=t.last=void 0,c?t.size=0:this.size=0},delete:function(t){var e=d(this),i=y(this,t);if(i){var n=i.next,r=i.previous;delete e.index[i.index],i.removed=!0,r&&(r.next=n),n&&(n.previous=r),e.first==i&&(e.first=n),e.last==i&&(e.last=r),c?e.size--:this.size--}return!!i},forEach:function(t){for(var e,i=d(this),n=o(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:i.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),a(h.prototype,i?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),c&&n(h.prototype,"size",{get:function(){return d(this).size}}),h},setStrong:function(t,e,i){var n=e+" Iterator",r=g(e),a=g(n);u(t,e,function(t,e){f(this,{type:n,target:t,state:r(t),kind:e,last:void 0})},function(){for(var t=a(this),e=t.kind,i=t.last;i&&i.removed;)i=i.previous;return t.target&&(t.last=i=i?i.next:t.state.first)?"keys"==e?{value:i.key,done:!1}:"values"==e?{value:i.value,done:!1}:{value:[i.key,i.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},i?"entries":"values",!i,!0),h(e)}}},JZRr:function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},Jdjl:function(t,e,i){"use strict";var n=i("0sYB"),r=i("Kg2n"),a=i("o3G/"),o=i("Y8n3"),s=i("tHyI"),l=i("9XRO"),u=i("WShl"),h=i("KslR"),c=i("ugpH"),p=i("J+FZ"),d=c("slice"),f=p("slice",{ACCESSORS:!0,0:0,1:2}),g=h("species"),m=[].slice,y=Math.max;n({target:"Array",proto:!0,forced:!d||!f},{slice:function(t,e){var i,n,h,c=l(this),p=s(c.length),d=o(t,p),f=o(void 0===e?p:e,p);if(a(c)&&("function"!=typeof(i=c.constructor)||i!==Array&&!a(i.prototype)?r(i)&&null===(i=i[g])&&(i=void 0):i=void 0,i===Array||void 0===i))return m.call(c,d,f);for(n=new(void 0===i?Array:i)(y(f-d,0)),h=0;d1?arguments[1]:void 0)})},KWTK:function(t,e,i){"use strict";var n=i("UseD"),r=i("vjgd"),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("fill",function(t){return r.apply(a(this),arguments)})},Kg2n:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},KknQ:function(t,e,i){"use strict";i.d(e,"b",function(){return y}),i.d(e,"a",function(){return v});var n=i("m4/l"),r=i("pR7v"),a=i("vMqJ"),o=i("+qIf"),s=i("9ZsQ"),l=i("aCit"),u=i("L91H"),h=i("Mtpk"),c=i("Wglt"),p=i("Gg2j"),d=i("hJ5i"),f=i("Qkdp"),g=i("v9UT"),m=i("VGgz"),y=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisDataItem",e.applyTheme(),e.values.date={},e.values.endDate={},e}return Object(n.c)(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,"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),v=function(t){function e(){var e=t.call(this)||this;return e._gapBreaks=!1,e.gridIntervals=new a.b,e.groupIntervals=new a.b,e.dateFormats=new o.a,e.periodChangeDateFormats=new o.a,e._baseIntervalReal={timeUnit:"day",count:1},e._prevSeriesTime={},e._minDifference={},e._firstWeekDay=1,e.groupMin={},e.groupMax={},e.className="DateAxis",e.setPropertyValue("markUnitChange",!0),e.snapTooltip=!0,e.tooltipPosition="pointer",e.setPropertyValue("groupData",!1),e.groupCount=200,e.events.on("parentset",e.getDFFormatter,e,!1),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:15},{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},{timeUnit:"year",count:200},{timeUnit:"year",count:500},{timeUnit:"year",count:1e3},{timeUnit:"year",count:2e3},{timeUnit:"year",count:5e3},{timeUnit:"year",count:1e4},{timeUnit:"year",count:1e5}]),e.groupIntervals.pushAll([{timeUnit:"millisecond",count:1},{timeUnit:"millisecond",count:10},{timeUnit:"millisecond",count:100},{timeUnit:"second",count:1},{timeUnit:"second",count:10},{timeUnit:"minute",count:1},{timeUnit:"minute",count:10},{timeUnit:"hour",count:1},{timeUnit:"day",count:1},{timeUnit:"week",count:1},{timeUnit:"month",count:1},{timeUnit:"year",count:1}]),e.axisFieldName="date",e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.fillRule=function(t){var e=t.value,i=t.component,n=i._gridInterval,r=u.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.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_day")),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 y},e.prototype.createAxisBreak=function(){return new s.a},e.prototype.validateDataItems=function(){var e=this.start,i=this.end,n=this.baseDuration,r=(this.max-this.min)/n;this._firstWeekDay=this.getFirstWeekDay(),this.getDFFormatter(),t.prototype.validateDataItems.call(this);var a=u.getDuration(this.mainBaseInterval.timeUnit,this.mainBaseInterval.count);this.maxZoomFactor=(this.max-this.min)/a,this._deltaMinMax=this.baseDuration/2,e+=(i-e)*(1-r/((this.max-this.min)/n)),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.adjustDifference(this._minZoomed,this._maxZoomed),r=!1;if(this.groupData&&h.hasValue(i)){var a=this.mainBaseInterval,o=i+this.startLocation+(1-this.endLocation)*this.baseDuration,s=void 0;this.groupInterval?s=Object(n.a)({},this.groupInterval):(s=this.chooseInterval(0,o,this.groupCount,this.groupIntervals),u.getDuration(s.timeUnit,s.count)0){var r=t.component.dataItems.getIndex(n-1),a=r[i];return!a||a.getTime()t._minDifference[i.uid]&&(e=t._minDifference[i.uid])}),e!=Number.MAX_VALUE&&0!=e||(e=u.getDuration("day")),e},enumerable:!0,configurable:!0}),e.prototype.seriesDataChangeUpdate=function(t){this._minDifference[t.uid]=Number.MAX_VALUE},e.prototype.postProcessSeriesDataItems=function(t){var e=this;t?this.seriesGroupUpdate(t):this.series.each(function(t){e.seriesGroupUpdate(t)}),this.addEmptyUnitsBreaks()},e.prototype.seriesGroupUpdate=function(t){var e=this;JSON.stringify(t._baseInterval[this.uid])!=JSON.stringify(this.mainBaseInterval)&&(t._baseInterval[this.uid]=this.mainBaseInterval,t.mainDataSet.each(function(t){e.postProcessSeriesDataItem(t)}),this.groupData&&this.groupSeriesData(t))},e.prototype.groupSeriesData=function(t){var e=this;if(t.baseAxis==this&&t.dataItems.length>0&&!t.dataGrouped){t.bulletsContainer.removeChildren();var i=[],n=this.mainBaseInterval,r=u.getDuration(n.timeUnit,n.count);this.groupIntervals.each(function(t){var n=u.getDuration(t.timeUnit,t.count);(n>r&&nl||!h.isNumber(u.low))&&(u.low=l),(u.high0&&i.each(function(t){var i=Math.ceil(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);var n=u.round(new Date(t.adjustedStartValue),t.gridInterval.timeUnit,t.gridInterval.count,e._firstWeekDay,e._df.utc);n.getTime()>t.startDate.getTime()&&u.add(n,t.gridInterval.timeUnit,t.gridInterval.count,e._df.utc),t.gridDate=n})},e.prototype.getFirstWeekDay=function(){return this._df?this._df.firstDayOfWeek:1},e.prototype.getGridDate=function(t,e){var i=this._gridInterval.timeUnit,n=this._gridInterval.count;u.round(t,i,1,this._firstWeekDay,this._df.utc);var r=t.getTime(),a=u.copy(t),o=u.add(a,i,e,this._df.utc).getTime(),s=this.isInBreak(o);s&&s.endDate&&(a=new Date(s.endDate.getTime()),u.round(a,i,n,this._firstWeekDay,this._df.utc),a.getTime()0){var i=e.gridInterval.timeUnit,n=e.gridInterval.count;if(p.getDistance(e.startPoint,e.endPoint)>4*l.minGridDistance)for(var r,o=e.gridDate.getTime(),s=0,h=function(){var l=u.copy(e.gridDate);if(o=u.add(l,i,n*s,t._df.utc).getTime(),s++,o>e.adjustedStartValue&&othis.baseInterval.count&&(a=r+(a-r)/(this._gridInterval.count/this.baseInterval.count)),t.position=r;var s=t.tick;s&&!s.disabled&&e.updateTickElement(s,r,a);var l=t.grid;l&&!l.disabled&&e.updateGridElement(l,r,a);var u=t.axisFill;u&&!u.disabled&&(e.updateFillElement(u,r,o),t.isRange||this.fillRule(t));var c=t.mask;c&&e.updateFillElement(c,r,a),t.bullet&&e.updateBullet(t.bullet,r,a);var p=t.label;if(p&&!p.disabled){var d=p.location;0==d&&(d=1!=this._gridInterval.count||"week"==this._gridInterval.timeUnit||t.isRange?0:.5),e.updateLabelElement(p,r,a,d)}}},Object.defineProperty(e.prototype,"baseDuration",{get:function(){return u.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){var e=this.baseInterval,i=u.round(new Date(t),e.timeUnit,e.count,this._firstWeekDay,this._df.utc).getTime();return i+(u.add(new Date(i),e.timeUnit,e.count,this._df.utc).getTime()-i)*this.startLocation},e.prototype.fixMax=function(t){var e=this.baseInterval,i=u.round(new Date(t),e.timeUnit,e.count,this._firstWeekDay,this._df.utc).getTime();return i+(u.add(new Date(i),e.timeUnit,e.count,this._df.utc).getTime()-i)*this.endLocation},e.prototype.chooseInterval=function(t,e,i,r){r||(r=this.gridIntervals);var a=r.getIndex(t),o=u.getDuration(a.timeUnit,a.count),s=r.length-1;if(t>=s)return Object(n.a)({},r.getIndex(s));var l=Math.ceil(e/o);return e0?Object(n.a)({},r.getIndex(t-1)):l<=i?Object(n.a)({},r.getIndex(t)):t+1l&&(this._minDifference[n.uid]=l)}var c=i-s;c>0&&this._minDifference[n.uid]>c&&(this._minDifference[n.uid]=c),this._prevSeriesTime[n.uid]=i,n._baseInterval[this.uid]&&this.postProcessSeriesDataItem(t)}},e.prototype.updateAxisBySeries=function(){t.prototype.updateAxisBySeries.call(this);var e=this.chooseInterval(0,this.minDifference,1);this.minDifference>=u.getDuration("day",27)&&"week"==e.timeUnit&&(e.timeUnit="month",e.count=1),"month"==e.timeUnit&&(this.minDifference>=u.getDuration("day",58)&&1==e.count&&(e.count=2),this.minDifference>=u.getDuration("day",87)&&2==e.count&&(e.count=3),this.minDifference>=u.getDuration("day",174)&&5==e.count&&(e.count=6)),this.minDifference>=u.getDuration("hour",23)&&"hour"==e.timeUnit&&(e.timeUnit="day",e.count=1),this.minDifference>=u.getDuration("week",1)-u.getDuration("hour",1)&&"day"==e.timeUnit&&(e.timeUnit="week",e.count=1),this.minDifference>=u.getDuration("year",1)-u.getDuration("day",1.01)&&"month"==e.timeUnit&&(e.timeUnit="year",e.count=1),this._baseIntervalReal=e,this._mainBaseInterval=e},Object.defineProperty(e.prototype,"baseInterval",{get:function(){return this._groupInterval?this._groupInterval:this._baseInterval?this._baseInterval:this._baseIntervalReal},set:function(t){JSON.stringify(this._baseInterval)!=JSON.stringify(t)&&(this._baseInterval=t,this._mainBaseInterval=t,h.isNumber(t.count)||(t.count=1),this.invalidate(),this.postProcessSeriesDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mainBaseInterval",{get:function(){return this._baseInterval?this._baseInterval:this._mainBaseInterval?this._mainBaseInterval:this._baseIntervalReal},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"skipEmptyPeriods",{get:function(){return this.getPropertyValue("skipEmptyPeriods")},set:function(t){if(t){var e=this.axisBreaks.template;e.startLine.disabled=!0,e.endLine.disabled=!0,e.fillShape.disabled=!0,e.breakSize=0}else this._gapBreaks&&(this.axisBreaks.clear(),this._gapBreaks=!1);this.setPropertyValue("skipEmptyPeriods",t)&&(this.invalidate(),this.postProcessSeriesDataItems(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipDateFormat",{get:function(){return this.getPropertyValue("tooltipDateFormat")},set:function(t){this.setPropertyValue("tooltipDateFormat",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markUnitChange",{get:function(){return this.getPropertyValue("markUnitChange")},set:function(t){this.setPropertyValue("markUnitChange",t)&&this.invalidateData()},enumerable:!0,configurable:!0}),e.prototype.getTooltipText=function(t){var e,i=this.positionToDate(t);if(i=u.round(i,this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc,new Date(this.min)),this.tooltipDate=i,h.hasValue(this.tooltipDateFormat))e=this._df.format(i,this.tooltipDateFormat);else{var n=this.dateFormats.getKey(this.baseInterval.timeUnit);e=n?this._df.format(i,n):this.getPositionLabel(t)}return this._adapterO?this._adapterO.apply("getTooltipText",e):e},e.prototype.roundPosition=function(t,e,i){var n=this.baseInterval,r=n.timeUnit,a=n.count,o=this.positionToDate(t);if(u.round(o,r,a,this._firstWeekDay,this._df.utc),e>0&&u.add(o,r,e*a,this._df.utc),i>0&&i<1&&o.setTime(o.getTime()+this.baseDuration*i),this.isInBreak(o.getTime()))for(;o.getTime()a.getTime()&&Math.abs(o.getTime()-r)y&&(y=i)}),this.groupMin[g]=m,this.groupMax[g]=y),t=p.fitToRange(t,m,y),e=p.fitToRange(e,m,y),a&&(l&&(t=e-s,t=p.fitToRange(t,m,y)),c&&(e=t+s,e=p.fitToRange(e,m,y)));v=(t-m)/(y-m),b=(e-m)/(y-m);this.zoom({start:v,end:b},i,r)}}else{var v=(t-this.min)/(this.max-this.min),b=(e-this.min)/(this.max-this.min);this.zoom({start:v,end:b},i,r)}},e.prototype.asIs=function(e){return"baseInterval"==e||t.prototype.asIs.call(this,e)},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.dateFormats=e.dateFormats,this.periodChangeDateFormats=e.periodChangeDateFormats,this.groupIntervals.clear(),e.groupIntervals.each(function(t){i.groupIntervals.push(Object(n.a)({},t))}),this.gridIntervals.clear(),e.gridIntervals.each(function(t){i.gridIntervals.push(Object(n.a)({},t))}),e._baseInterval&&(this.baseInterval=e._baseInterval)},e.prototype.showTooltipAtPosition=function(e,i){var n=this;if(i||(e=this.toAxisPosition(e)),this.snapTooltip){var r,a=this.positionToDate(e).getTime();if(this.series.each(function(t){if(t.baseAxis==n){var i=n.getSeriesDataItem(t,e,!0);if(i){var o=void 0;t.xAxis==n&&(o=i.dateX),t.yAxis==n&&(o=i.dateY),r?Math.abs(r.getTime()-a)>Math.abs(o.getTime()-a)&&(r=o):r=o}}}),r){var o=r.getTime();r=u.round(new Date(o),this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc),o=r.getTime();var s=this.renderer.tooltipLocation;0==s&&(s=1e-4),r=new Date(r.getTime()+this.baseDuration*s),e=this.dateToPosition(r),this.chart.cursor&&this.chart.cursor.snapToSeries||this.series.each(function(t){var e=t.dataItemsByAxis.getKey(n.uid).getKey(o+t.currentDataSetId),i=t.showTooltipAtDataItem(e);i?n.chart._seriesPoints.push({series:t,point:i}):(t.tooltipText||t.tooltipHTML)&&t.hideTooltip()})}}t.prototype.showTooltipAtPosition.call(this,e,!0)},Object.defineProperty(e.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(t){this.setPropertyValue("snapTooltip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupData",{get:function(){return this.getPropertyValue("groupData")},set:function(t){var e=this;this.setPropertyValue("groupData",t)&&(this.series.each(function(i){i.setDataSet(""),t&&!i.dataGrouped&&i.inited&&(i._baseInterval[e.uid]=e.mainBaseInterval,e.groupSeriesData(i))}),this._currentDataSetId="",this._groupInterval=void 0,this.invalidate(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupInterval",{get:function(){return this.getPropertyValue("groupInterval")},set:function(t){this.setPropertyValue("groupInterval",t)&&(this.invalidate(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupCount",{get:function(){return this.getPropertyValue("groupCount")},set:function(t){this.setPropertyValue("groupCount",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timezoneOffset",{get:function(){return this.getPropertyValue("timezoneOffset")},set:function(t){this.setPropertyValue("timezoneOffset",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timezone",{get:function(){return this.getPropertyValue("timezone")},set:function(t){this.setPropertyValue("timezone",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridInterval",{get:function(){return this._gridInterval},enumerable:!0,configurable:!0}),e.prototype.makeGap=function(t,e){var i=t.component;if(t&&e&&!i.connect&&h.isNumber(i.autoGapCount)&&i.baseAxis==this){var n=t.dates["date"+this.axisLetter],r=e.dates["date"+this.axisLetter];if(n&&r)if(n.getTime()-r.getTime()>i.autoGapCount*this.baseDuration)return!0}return!1},Object.defineProperty(e.prototype,"baseValue",{get:function(){return this.min},enumerable:!0,configurable:!0}),e}(r.a);l.c.registeredClasses.DateAxis=v,l.c.registeredClasses.DateAxisDataItem=y},KslR:function(t,e,i){var n=i("vfdp"),r=i("LO3D"),a=i("JZRr"),o=i("vfRf"),s=i("xaIW"),l=i("7W4+"),u=r("wks"),h=n.Symbol,c=l?h:h&&h.withoutSetter||o;t.exports=function(t){return a(u,t)||(s&&a(h,t)?u[t]=h[t]:u[t]=c("Symbol."+t)),u[t]}},KvVN:function(t,e,i){i("YRD/")("Array")},L0in:function(t,e,i){"use strict";var n=i("Wqjq").charAt;t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},L4xm:function(t,e,i){var n=i("3weC"),r=i("3Ok2"),a=i("tHyI"),o=i("cLsB"),s=i("Ur2B"),l=i("VwzZ"),u=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,i,h,c){var p,d,f,g,m,y,v,b=o(e,i,h?2:1);if(c)p=t;else{if("function"!=typeof(d=s(t)))throw TypeError("Target is not iterable");if(r(d)){for(f=0,g=a(t.length);g>f;f++)if((m=h?b(n(v=t[f])[0],v[1]):b(t[f]))&&m instanceof u)return m;return new u(!1)}p=d.call(t)}for(y=p.next;!(v=y.call(p)).done;)if("object"==typeof(m=l(p,b,v.value,h))&&m&&m instanceof u)return m;return new u(!1)}).stop=function(t){return new u(!0,t)}},L56b:function(t,e){t.exports=function(t,e,i){if(!(t instanceof e))throw TypeError("Incorrect "+(i?i+" ":"")+"invocation");return t}},L7fL:function(t,e,i){var n=i("0sYB"),r=i("6aQQ"),a=i("5SyC"),o=Math.abs,s=Math.exp,l=Math.E;n({target:"Math",stat:!0,forced:r(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(t){return o(t=+t)<1?(a(t)-a(-t))/2:(s(t-1)-s(-t-1))*(l/2)}})},L91H:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"timeUnitDurations",function(){return r}),e.getNextUnit=a,e.getDuration=o,e.now=s,e.getTime=function(){return s().getTime()},e.copy=function(t){return new Date(t.getTime())},e.checkChange=function t(e,i,n,r){e=new Date(e.getTime());i=new Date(i.getTime());var o=0;var s=0;r||"millisecond"==n||(o=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-o),s=i.getTimezoneOffset(),i.setUTCMinutes(i.getUTCMinutes()-s));var l=!1;switch(n){case"year":e.getUTCFullYear()!=i.getUTCFullYear()&&(l=!0);break;case"month":e.getUTCFullYear()!=i.getUTCFullYear()?l=!0:e.getUTCMonth()!=i.getUTCMonth()&&(l=!0);break;case"day":e.getUTCMonth()!=i.getUTCMonth()?l=!0:e.getUTCDate()!=i.getUTCDate()&&(l=!0);break;case"hour":e.getUTCHours()!=i.getUTCHours()&&(l=!0);break;case"minute":e.getUTCMinutes()!=i.getUTCMinutes()&&(l=!0);break;case"second":e.getUTCSeconds()!=i.getUTCSeconds()&&(l=!0);break;case"millisecond":e.getTime()!=i.getTime()&&(l=!0)}if(l)return!0;var u=a(n);return!!u&&(e.setUTCMinutes(e.getUTCMinutes()+o),i.setUTCMinutes(i.getUTCMinutes()+s),t(e,i,u,r))},e.add=function(t,e,i,n){var r=0;n||"millisecond"==e||(r=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-r));switch(e){case"day":var a=t.getUTCDate();t.setUTCDate(a+i);break;case"second":var o=t.getUTCSeconds();t.setUTCSeconds(o+i);break;case"millisecond":var s=t.getUTCMilliseconds();t.setUTCMilliseconds(s+i);break;case"hour":var l=t.getUTCHours();t.setUTCHours(l+i);break;case"minute":var u=t.getUTCMinutes();t.setUTCMinutes(u+i);break;case"year":var h=t.getUTCFullYear();t.setUTCFullYear(h+i);break;case"month":var c=t.getUTCMonth();t.setUTCMonth(c+i);break;case"week":var p=t.getUTCDate();t.setUTCDate(p+7*i)}if(!n&&"millisecond"!=e&&(t.setUTCMinutes(t.getUTCMinutes()+r),"day"==e||"week"==e||"month"==e||"year"==e)){var d=t.getTimezoneOffset();if(d!=r){var f=d-r;t.setUTCMinutes(t.getUTCMinutes()+f),t.getTimezoneOffset()!=d&&t.setUTCMinutes(t.getUTCMinutes()-f)}}return t},e.round=function t(e,i,r,a,s,l){n.isNumber(r)||(r=1);var u=0;s||"millisecond"==i||(u=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-u));switch(i){case"day":var h=e.getUTCDate();if(r>1){if(l){l=t(l,"day",1);var c=e.getTime()-l.getTime(),p=Math.floor(c/o("day")/r),d=o("day",p*r);e.setTime(l.getTime()+d-u*o("minute"))}}else e.setUTCDate(h);e.setUTCHours(0,0,0,0);break;case"second":var f=e.getUTCSeconds();r>1&&(f=Math.floor(f/r)*r),e.setUTCSeconds(f,0);break;case"millisecond":if(1==r)return e;var g=e.getUTCMilliseconds();g=Math.floor(g/r)*r,e.setUTCMilliseconds(g);break;case"hour":var m=e.getUTCHours();r>1&&(m=Math.floor(m/r)*r),e.setUTCHours(m,0,0,0);break;case"minute":var y=e.getUTCMinutes();g=e.getUTCMilliseconds(),r>1&&(y=Math.floor(y/r)*r),e.setUTCMinutes(y,0,0);break;case"month":var v=e.getUTCMonth();r>1&&(v=Math.floor(v/r)*r),e.setUTCMonth(v,1),e.setUTCHours(0,0,0,0);break;case"year":var b=e.getUTCFullYear();r>1&&(b=Math.floor(b/r)*r),e.setUTCFullYear(b,0,1),e.setUTCHours(0,0,0,0);break;case"week":var x=e.getUTCDate(),_=e.getUTCDay();n.isNumber(a)||(a=1),x=_>=a?x-_+a:x-(7+_)+a,e.setUTCDate(x),e.setUTCHours(0,0,0,0)}if(!s&&"millisecond"!=i&&(e.setUTCMinutes(e.getUTCMinutes()+u),"day"==i||"week"==i||"month"==i||"year"==i)){var P=e.getTimezoneOffset();if(P!=u){var w=P-u;e.setUTCMinutes(e.getUTCMinutes()+w)}}return e},e.setTimezone=function(t,e){return new Date(t.toLocaleString("en-US",{timeZone:e}))};var n=i("Mtpk"),r={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6};function a(t){switch(t){case"year":return;case"month":return"year";case"week":case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function o(t,e){return n.hasValue(e)||(e=1),r[t]*e}function s(){return new Date}},LBDG:function(t,e,i){"use strict";e.b=function(){return/apple/i.test(navigator.vendor)},e.a=function(){return/MSIE |Trident\//.test(navigator.userAgent)}},LO3D:function(t,e,i){var n=i("lnCe"),r=i("bvi0");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},LPN9:function(t,e,i){"use strict";var n=i("0sYB"),r=i("X/sl").every,a=i("xlUI"),o=i("J+FZ"),s=a("every"),l=o("every");n({target:"Array",proto:!0,forced:!s||!l},{every:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},"LV//":function(t,e,i){i("0sYB")({target:"String",proto:!0},{repeat:i("ScUe")})},LoW2:function(t,e,i){var n=i("0sYB"),r=i("6aQQ"),a=i("9XRO"),o=i("gxUV").f,s=i("3sMl"),l=r(function(){o(1)});n({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(t,e){return o(a(t),e)}})},M1hx:function(t,e,i){i("0FA2")("flatMap")},M44V:function(t,e,i){var n=i("0sYB"),r=i("vfdp"),a=i("2D0i"),o=i("2xmP"),s=r.process,l="process"==o(s);n({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){var e=l&&s.domain;a(e?e.bind(t):t)}})},MC1b:function(t,e,i){"use strict";var n,r,a,o,s=i("0sYB"),l=i("lnCe"),u=i("vfdp"),h=i("1wCr"),c=i("97TN"),p=i("z3p0"),d=i("/vWR"),f=i("NRfM"),g=i("YRD/"),m=i("Kg2n"),y=i("HnbP"),v=i("L56b"),b=i("2xmP"),x=i("2fPu"),_=i("L4xm"),P=i("XqrT"),w=i("Nfo5"),O=i("gBcN").set,T=i("2D0i"),S=i("E81g"),C=i("Y2i6"),I=i("TQpL"),k=i("AYiJ"),D=i("SqFF"),j=i("EjSS"),V=i("KslR"),A=i("hvfb"),M=V("species"),F="Promise",E=D.get,R=D.set,N=D.getterFor(F),L=c,B=u.TypeError,U=u.document,W=u.process,H=h("fetch"),Y=I.f,z=Y,X="process"==b(W),G=!!(U&&U.createEvent&&u.dispatchEvent),K=j(F,function(){if(!(x(L)!==String(L))){if(66===A)return!0;if(!X&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!L.prototype.finally)return!0;if(A>=51&&/native code/.test(L))return!1;var t=L.resolve(1),e=function(t){t(function(){},function(){})};return(t.constructor={})[M]=e,!(t.then(function(){})instanceof e)}),q=K||!P(function(t){L.all(t).catch(function(){})}),Z=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},Q=function(t,e,i){if(!e.notified){e.notified=!0;var n=e.reactions;T(function(){for(var r=e.value,a=1==e.state,o=0;n.length>o;){var s,l,u,h=n[o++],c=a?h.ok:h.fail,p=h.resolve,d=h.reject,f=h.domain;try{c?(a||(2===e.rejection&&et(t,e),e.rejection=1),!0===c?s=r:(f&&f.enter(),s=c(r),f&&(f.exit(),u=!0)),s===h.promise?d(B("Promise-chain cycle")):(l=Z(s))?l.call(s,p,d):p(s)):d(r)}catch(t){f&&!u&&f.exit(),d(t)}}e.reactions=[],e.notified=!1,i&&!e.rejection&&$(t,e)})}},J=function(t,e,i){var n,r;G?((n=U.createEvent("Event")).promise=e,n.reason=i,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:i},(r=u["on"+t])?r(n):"unhandledrejection"===t&&C("Unhandled promise rejection",i)},$=function(t,e){O.call(u,function(){var i,n=e.value;if(tt(e)&&(i=k(function(){X?W.emit("unhandledRejection",n,t):J("unhandledrejection",t,n)}),e.rejection=X||tt(e)?2:1,i.error))throw i.value})},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){O.call(u,function(){X?W.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)})},it=function(t,e,i,n){return function(r){t(e,i,r,n)}},nt=function(t,e,i,n){e.done||(e.done=!0,n&&(e=n),e.value=i,e.state=2,Q(t,e,!0))},rt=function(t,e,i,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===i)throw B("Promise can't be resolved itself");var r=Z(i);r?T(function(){var n={done:!1};try{r.call(i,it(rt,t,n,e),it(nt,t,n,e))}catch(i){nt(t,n,i,e)}}):(e.value=i,e.state=1,Q(t,e,!1))}catch(i){nt(t,{done:!1},i,e)}}};K&&(L=function(t){v(this,L,F),y(t),n.call(this);var e=E(this);try{t(it(rt,this,e),it(nt,this,e))}catch(t){nt(this,e,t)}},(n=function(t){R(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(L.prototype,{then:function(t,e){var i=N(this),n=Y(w(this,L));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=X?W.domain:void 0,i.parent=!0,i.reactions.push(n),0!=i.state&&Q(this,i,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),r=function(){var t=new n,e=E(t);this.promise=t,this.resolve=it(rt,t,e),this.reject=it(nt,t,e)},I.f=Y=function(t){return t===L||t===a?new r(t):z(t)},l||"function"!=typeof c||(o=c.prototype.then,p(c.prototype,"then",function(t,e){var i=this;return new L(function(t,e){o.call(i,t,e)}).then(t,e)},{unsafe:!0}),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return S(L,H.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:K},{Promise:L}),f(L,F,!1,!0),g(F),a=h(F),s({target:F,stat:!0,forced:K},{reject:function(t){var e=Y(this);return e.reject.call(void 0,t),e.promise}}),s({target:F,stat:!0,forced:l||K},{resolve:function(t){return S(l&&this===a?L:this,t)}}),s({target:F,stat:!0,forced:q},{all:function(t){var e=this,i=Y(e),n=i.resolve,r=i.reject,a=k(function(){var i=y(e.resolve),a=[],o=0,s=1;_(t,function(t){var l=o++,u=!1;a.push(void 0),s++,i.call(e,t).then(function(t){u||(u=!0,a[l]=t,--s||n(a))},r)}),--s||n(a)});return a.error&&r(a.value),i.promise},race:function(t){var e=this,i=Y(e),n=i.reject,r=k(function(){var r=y(e.resolve);_(t,function(t){r.call(e,t).then(i.resolve,n)})});return r.error&&n(r.value),i.promise}})},MIZb:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("Tjl+"),a=i("aCit"),o=i("8ZqG"),s=function(t){function e(){var e=t.call(this)||this;return e._purposes={stroke:Object(o.c)("#e5e5e5"),fill:Object(o.c)("#f3f3f3"),primaryButton:Object(o.c)("#6794dc"),primaryButtonHover:Object(o.c)("#6771dc"),primaryButtonDown:Object(o.c)("#68dc75"),primaryButtonActive:Object(o.c)("#68dc75"),primaryButtonText:Object(o.c)("#FFFFFF"),primaryButtonStroke:Object(o.c)("#FFFFFF"),secondaryButton:Object(o.c)("#d9d9d9"),secondaryButtonHover:Object(o.c)("#d9d9d9").brighten(-.25),secondaryButtonDown:Object(o.c)("#d9d9d9").brighten(-.35),secondaryButtonActive:Object(o.c)("#d9d9d9").brighten(.35),secondaryButtonText:Object(o.c)("#000000"),secondaryButtonStroke:Object(o.c)("#FFFFFF"),grid:Object(o.c)("#000000"),background:Object(o.c)("#ffffff"),alternativeBackground:Object(o.c)("#000000"),text:Object(o.c)("#000000"),alternativeText:Object(o.c)("#FFFFFF"),disabledBackground:Object(o.c)("#999999"),positive:Object(o.c)("#67dc75"),negative:Object(o.c)("#dc6788")},e.className="InterfaceColorSet",e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.debug=function(){},e.prototype.getFor=function(t){return this._purposes[t]},e.prototype.setFor=function(t,e){this._purposes[t]=e},e}(r.a);a.c.registeredClasses.InterfaceColorSet=s},"MS5+":function(t,e,i){var n=i("0sYB"),r=i("+s7l");n({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},MXvJ:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("jfaP"),a=i("aCit"),o=i("Gg2j"),s=i("hGwe"),l=function(t){function e(){var e=t.call(this)||this;return e.className="Polyarc",e.controlPointDistance=.5,e.controlPointPosition=.5,e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments;if(t&&t.length>0){var e="";this._realSegments=[];for(var i=0,n=t.length;i0){e+=s.moveTo(r[0]);for(var l=1;l0)for(var b=0;b<=y;b++){var x=o.getPointOnCubicCurve(u,h,g,m,b/y);a.push(x),this._distance+=o.getDistance(v,x),v=x}else a.push(u)}}}this.path=e}},Object.defineProperty(e.prototype,"controlPointPosition",{get:function(){return this.getPropertyValue("controlPointPosition")},set:function(t){this.setPropertyValue("controlPointPosition",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(t){this.setPropertyValue("controlPointDistance",t),this.makePath()},enumerable:!0,configurable:!0}),e}(r.a);a.c.registeredClasses.Polyarc=l},MZQ8:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i("m4/l"),r=i("1qam"),a=i("Gg2j"),o=function(t){function e(){var e=t.call(this)||this;return e.className="PointedRectangle",e.element=e.paper.add("path"),e.cornerRadius=6,e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.cornerRadius,i=this.innerWidth,n=this.innerHeight;if(i>0&&n>0){var r,o,s=this.pointerX,l=this.pointerY,u=this.pointerBaseWidth/2,h=a.min(i/2,n/2),c=a.fitToRange(e,0,h),p=a.fitToRange(e,0,h),d=a.fitToRange(e,0,h),f=a.fitToRange(e,0,h),g=void 0,m=void 0,y=void 0,v=void 0,b=(s-0)*(n-0)-(l-0)*(i-0),x=(s-0)*(0-n)-(l-n)*(i-0);if(b>0&&x>0)g="M"+c+",0 L"+((r=a.fitToRange(s,c+u,i-u-p))-u)+",0 L"+s+","+(l=a.fitToRange(l,-1/0,0))+" L"+(r+u)+",0 L"+(i-p)+",0";else g="M"+c+",0 L"+(i-p)+",0";if(b<0&&x<0)y=" L"+(i-d)+","+n+" L"+((r=a.fitToRange(s,f+u,i-u-d))+u)+","+n+" L"+s+","+(l=a.fitToRange(l,n,1/0))+" L"+(r-u)+","+n+" L"+f+","+n;else y=" L"+f+","+n;if(b<0&&x>0)v=" L0,"+(n-f)+" L0,"+((o=a.fitToRange(l,c+u,n-f-u))+u)+" L"+(s=a.fitToRange(s,-1/0,0))+","+l+" L0,"+(o-u)+" L0,"+c;else v=" L0,"+c;if(b>0&&x<0)m=" L"+i+","+p+" L"+i+","+((o=a.fitToRange(l,p+u,n-u-d))-u)+" L"+(s=a.fitToRange(s,i,1/0))+","+l+" L"+i+","+(o+u)+" L"+i+","+(n-d);else m=" L"+i+","+(n-d);var _=" a"+p+","+p+" 0 0 1 "+p+","+p,P=" a"+d+","+d+" 0 0 1 -"+d+","+d,w=" a"+f+","+f+" 0 0 1 -"+f+",-"+f,O=" a"+c+","+c+" 0 0 1 "+c+",-"+c;this.path=g+_+m+P+y+w+v+O}},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)},Mdrz:function(t,e,i){var n=i("3sMl"),r=i("8+rI"),a=i("3weC"),o=i("kcMx");t.exports=n?Object.defineProperties:function(t,e){a(t);for(var i,n=o(e),s=n.length,l=0;s>l;)r.f(t,i=n[l++],e[i]);return t}},Meme:function(t,e,i){"use strict";i.d(e,"a",function(){return y});var n=i("m4/l"),r=i("C6dT"),a=i("hD5A"),o=i("AAkI"),s=i("eAid"),l=i("8EhG"),u=i("AaJ4"),h=i("TDx+"),c=i("eN1s"),p=i("vMqJ"),d=i("aCit"),f=i("tjMS"),g=i("Gg2j"),m=i("Mtpk"),y=function(t){function e(){var e=t.call(this)||this;e._chart=new a.d,e.className="AxisRenderer",e.minGridDistance=50,e.inside=!1,e.inversed=!1,e.tooltipLocation=.5,e.fullWidthTooltip=!1,e.cellStartLocation=0,e.cellEndLocation=1,e.minLabelPosition=0,e.maxLabelPosition=1,e.shouldClone=!1;var i=e.createChild(r.a);i.shouldClone=!1,i.layout="none",i.virtualParent=e,i.width=Object(f.c)(100),i.height=Object(f.c)(100),e.gridContainer=i,i.events.on("maxsizechanged",function(){e.inited&&e.invalidateAxisItems()},e,!1);var n=e.createChild(r.a);n.shouldClone=!1,n.isMeasured=!1,n.layout="none",n.width=Object(f.c)(100),n.height=Object(f.c)(100),e.breakContainer=n;var o=e.createChild(r.a);o.shouldClone=!1,o.isMeasured=!1,o.layout="none",o.width=Object(f.c)(100),o.height=Object(f.c)(100),e.bulletsContainer=o,e.line=e.createChild(s.a),e.line.shouldClone=!1,e.line.strokeOpacity=0;var l=e.createChild(u.a);l.shouldClone=!1,e.baseGrid=l;var h=e._disposers;return h.push(l),h.push(e.line),h.push(i),h.push(n),h.push(o),h.push(e._chart),e.ticks.template.disabled=!0,e.axisFills.template.disabled=!0,e.axisFills.template.interactionsEnabled=!1,e.applyTheme(),e}return Object(n.c)(e,t),Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis},set:function(t){this.setAxis(t)},enumerable:!0,configurable:!0}),e.prototype.setAxis=function(t){this._axis=t,this.baseGrid.parent=t,this.line.parent=t,this.gridContainer.bind("opacity",t)},e.prototype.processRenderer=function(){this.events.on("sizechanged",this.updateTooltip,this,!1),this.events.on("positionchanged",this.updateTooltip,this,!1),this.labels.template.inside=this.inside,this.ticks.template.inside=this.inside},e.prototype.updateTooltip=function(){},Object.defineProperty(e.prototype,"axisLength",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.positionItem=function(t,e){t&&t.moveTo(e)},e.prototype.positionToPoint=function(t,e){return{x:0,y:0}},e.prototype.positionToAngle=function(t){return 0},e.prototype.positionToCoordinate=function(t){var e=this.axis,i=e.axisFullLength;return e.renderer.inversed?(e.end-t)*i:(t-e.start)*i},e.prototype.updateGridContainer=function(){},e.prototype.getHeight=function(){var t=this.gridContainer;return t.parent?t.parent.pixelHeight:this.gridContainer.pixelHeight||0},e.prototype.getWidth=function(){var t=this.gridContainer;return t.parent?t.parent.pixelWidth:this.gridContainer.pixelWidth||0},e.prototype.coordinateToPosition=function(t,e){var i,n=this.axis,r=n.axisFullLength;return i=n.renderer.inversed?n.end-t/r:t/r+n.start,g.round(i,5)},e.prototype.pointToPosition=function(t){return 0},e.prototype.getPositionRangePath=function(t,e){return""},e.prototype.invalidateAxisItems=function(){var t=this.axis;t&&t.invalidateDataItems()},e.prototype.updateGridElement=function(t,e,i){},e.prototype.updateTickElement=function(t,e,i){},e.prototype.updateBullet=function(t,e,i){},e.prototype.updateLabelElement=function(t,e,i,n){},e.prototype.updateFillElement=function(t,e,i){t.startPosition=e,t.endPosition=i},e.prototype.updateAxisLine=function(){},e.prototype.updateBaseGridElement=function(){},e.prototype.updateBreakElement=function(t){this.positionItem(t.startLine,t.startPoint),this.toggleVisibility(t.startLine,t.startPosition,0,1),this.positionItem(t.endLine,t.endPoint),this.toggleVisibility(t.endLine,t.endPosition,0,1)},Object.defineProperty(e.prototype,"minGridDistance",{get:function(){return this.getPropertyValue("minGridDistance")},set:function(t){this.setPropertyValue("minGridDistance",t)&&this.axis&&this.axis.invalidateDataItems()},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.toggleVisibility=function(t,e,i,n){var r=this.axis,a=t.dataItem;a&&a instanceof o.b&&(m.isNumber(a.minPosition)&&(i=a.minPosition),m.isNumber(a.maxPosition)&&(n=a.maxPosition));var s=r.start+(r.end-r.start)*(i-1e-4),l=r.start+(r.end-r.start)*(n+1e-4);t.disabled||(t.__disabled=el)},e.prototype.createBreakSprites=function(t){},Object.defineProperty(e.prototype,"axisFills",{get:function(){if(!this._axisFills){var t=this.createFill(this.axis);this._axisFills=new p.e(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new p.c(this._axisFills)),this._disposers.push(this._axisFills.template)}return this._axisFills},enumerable:!0,configurable:!0}),e.prototype.createFill=function(t){return new l.a(t)},Object.defineProperty(e.prototype,"grid",{get:function(){if(!this._grid){var t=this.createGrid();this._grid=new p.e(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new p.c(this._grid)),this._disposers.push(this._grid.template)}return this._grid},enumerable:!0,configurable:!0}),e.prototype.createGrid=function(){return new u.a},Object.defineProperty(e.prototype,"ticks",{get:function(){if(!this._ticks){var t=this.createTick();t.applyOnClones=!0,t.isMeasured=!1,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._ticks=new p.e(t),this._disposers.push(new p.c(this._ticks)),this._disposers.push(this._ticks.template)}return this._ticks},enumerable:!0,configurable:!0}),e.prototype.createTick=function(){return new c.a},Object.defineProperty(e.prototype,"labels",{get:function(){if(!this._labels){var t=this.createLabel();this._labels=new p.e(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new p.c(this._labels)),this._disposers.push(this._labels.template)}return this._labels},enumerable:!0,configurable:!0}),e.prototype.createLabel=function(){return new h.a},Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t)&&this.axis&&this.axis.invalidate(),t?(this.width=0,this.height=0):(this.width=void 0,this.height=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opposite",{get:function(){return this.getPropertyValue("opposite")},set:function(t){this.setPropertyValue("opposite",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthTooltip",{get:function(){return this.getPropertyValue("fullWidthTooltip")},set:function(t){this.setPropertyValue("fullWidthTooltip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(t){this.setPropertyValue("tooltipLocation",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation2",{get:function(){return this.getPropertyValue("tooltipLocation2")},set:function(t){this.setPropertyValue("tooltipLocation2",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellStartLocation",{get:function(){return this.getPropertyValue("cellStartLocation")},set:function(t){this.setPropertyValue("cellStartLocation",t)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellEndLocation",{get:function(){return this.getPropertyValue("cellEndLocation")},set:function(t){this.setPropertyValue("cellEndLocation",t)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inversed",{get:function(){return this.getPropertyValue("inversed")},set:function(t){this.setPropertyValue("inversed",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minLabelPosition",{get:function(){return this.getPropertyValue("minLabelPosition")},set:function(t){this.setPropertyValue("minLabelPosition",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLabelPosition",{get:function(){return this.getPropertyValue("maxLabelPosition")},set:function(t){this.setPropertyValue("maxLabelPosition",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.grid.template.copyFrom(e.grid.template),this.ticks.template.copyFrom(e.ticks.template),this.labels.template.copyFrom(e.labels.template),this.axisFills.template.copyFrom(e.axisFills.template),this.line.copyFrom(e.line),this.baseGrid.copyFrom(e.baseGrid)},e.prototype.toAxisPosition=function(t){return t},e.prototype.setVisibility=function(e){t.prototype.setVisibility.call(this,e),this.bulletsContainer.visible=e},e}(r.a);d.c.registeredClasses.AxisRenderer=y},MfFr:function(t,e){var i=Math.abs,n=Math.pow,r=Math.floor,a=Math.log,o=Math.LN2;t.exports={pack:function(t,e,s){var l,u,h,c=new Array(s),p=8*s-e-1,d=(1<>1,g=23===e?n(2,-24)-n(2,-77):0,m=t<0||0===t&&1/t<0?1:0,y=0;for((t=i(t))!=t||t===1/0?(u=t!=t?1:0,l=d):(l=r(a(t)/o),t*(h=n(2,-l))<1&&(l--,h*=2),(t+=l+f>=1?g/h:g*n(2,1-f))*h>=2&&(l++,h/=2),l+f>=d?(u=0,l=d):l+f>=1?(u=(t*h-1)*n(2,e),l+=f):(u=t*n(2,f-1)*n(2,e),l=0));e>=8;c[y++]=255&u,u/=256,e-=8);for(l=l<0;c[y++]=255&l,l/=256,p-=8);return c[--y]|=128*m,c},unpack:function(t,e){var i,r=t.length,a=8*r-e-1,o=(1<>1,l=a-7,u=r-1,h=t[u--],c=127&h;for(h>>=7;l>0;c=256*c+t[u],u--,l-=8);for(i=c&(1<<-l)-1,c>>=-l,l+=e;l>0;i=256*i+t[u],u--,l-=8);if(0===c)c=1-s;else{if(c===o)return i?NaN:h?-1/0:1/0;i+=n(2,e),c-=s}return(h?-1:1)*i*n(2,c-e)}}},MipW:function(t,e,i){"use strict";i.d(e,"a",function(){return c}),e.b=function(){null==n&&(n=new c);return n};var n,r=i("m4/l"),a=i("Tjl+"),o=i("pzs1"),s=i("x79X"),l=i("aCit"),u=i("ScGY"),h=i("Mtpk"),c=function(t){function e(){var e=t.call(this)||this;return e.adapter=new s.a(e),e.className="TextFormatter",e.applyTheme(),e}return Object(r.c)(e,t),e.prototype.debug=function(){},e.prototype.format=function(t,e){h.hasValue(e)||(e="svg");var i="",n=(t=this.escape(t)).match(/\[([^\]]*?)\]/gm);if(!n)return this.wrap(t,"",e);for(var r=t.split(/\[[^\[\]]*\]/),a=0,o=r.length;a0&&(l=n[a-1].replace("[","").replace("]","")),i+=this.wrap(s,l,e)}}return i=this.unescape(i),this.cleanUp(i)},e.prototype.escape=function(t){return t.replace(/\[\[/g,l.c.getPlaceholder("1")).replace(/([^\/]{1})\]\]/g,"$1"+l.c.getPlaceholder("2")).replace(/\]\]/g,l.c.getPlaceholder("2")).replace(/\{\{/g,l.c.getPlaceholder("3")).replace(/\}\}/g,l.c.getPlaceholder("4")).replace(/\'\'/g,l.c.getPlaceholder("5"))},e.prototype.unescape=function(t){return t.replace(new RegExp(l.c.getPlaceholder("1"),"g"),"[[").replace(new RegExp(l.c.getPlaceholder("2"),"g"),"]]").replace(new RegExp(l.c.getPlaceholder("3"),"g"),"{{").replace(new RegExp(l.c.getPlaceholder("4"),"g"),"}}").replace(new RegExp(l.c.getPlaceholder("5"),"g"),"'")},e.prototype.cleanUp=function(t){return t.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")},e.prototype.wrap=function(t,e,i){switch(""!==e&&"/"!==e||(e=""),i){case"html":return this.wrapHtml(t,this.translateStyleShortcuts(e));default:return this.wrapSvg(t,this.translateStyleShortcuts(e))}},e.prototype.wrapSvg=function(t,e){return""===e?""+t+"":""+t+""},e.prototype.getSvgElement=function(t,e){var i=new o.a("tspan");return i.textContent=t,e&&i.node.setAttribute("style",e),i},e.prototype.wrapHtml=function(t,e){return""===e?""+t+"":""+t+""},e.prototype.getHtmlElement=function(t,e){var i=document.createElement("span");return i.innerHTML=t,e&&i.setAttribute("style",e),i},e.prototype.styleSvgToHtml=function(t){return t=t.replace(/fill:/,"color:")},e.prototype.translateStyleShortcuts=function(t){if(""==t||"[ ]"==t)return"";var e=l.c.getCache("translateStyleShortcuts_"+t);if(e)return e;var i=t.match(/('[^']*')|("[^"]*")/gi);if(i)for(var n=0;n1?arguments[1]:void 0),e}})},NNEa:function(t,e,i){"use strict";var n=i("/vWR"),r=i("Tl3C").getWeakData,a=i("3weC"),o=i("Kg2n"),s=i("L56b"),l=i("L4xm"),u=i("X/sl"),h=i("JZRr"),c=i("SqFF"),p=c.set,d=c.getterFor,f=u.find,g=u.findIndex,m=0,y=function(t){return t.frozen||(t.frozen=new v)},v=function(){this.entries=[]},b=function(t,e){return f(t.entries,function(t){return t[0]===e})};v.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var i=b(this,t);i?i[1]=e:this.entries.push([t,e])},delete:function(t){var e=g(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,i,u){var c=t(function(t,n){s(t,c,e),p(t,{type:e,id:m++,frozen:void 0}),void 0!=n&&l(n,t[u],t,i)}),f=d(e),g=function(t,e,i){var n=f(t),o=r(a(e),!0);return!0===o?y(n).set(e,i):o[n.id]=i,t};return n(c.prototype,{delete:function(t){var e=f(this);if(!o(t))return!1;var i=r(t);return!0===i?y(e).delete(t):i&&h(i,e.id)&&delete i[e.id]},has:function(t){var e=f(this);if(!o(t))return!1;var i=r(t);return!0===i?y(e).has(t):i&&h(i,e.id)}}),n(c.prototype,i?{get:function(t){var e=f(this);if(o(t)){var i=r(t);return!0===i?y(e).get(t):i?i[e.id]:void 0}},set:function(t,e){return g(this,t,e)}}:{add:function(t){return g(this,t,!0)}}),c}}},NR9A:function(t,e,i){i("NRfM")(Math,"Math",!0)},NRfM:function(t,e,i){var n=i("8+rI").f,r=i("JZRr"),a=i("KslR")("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,a)&&n(t,a,{configurable:!0,value:e})}},NSJ1:function(t,e,i){var n=i("vfdp"),r=i("6aQQ"),a=i("XqrT"),o=i("UseD").NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,l=n.Int8Array;t.exports=!o||!r(function(){l(1)})||!r(function(){new l(-1)})||!a(function(t){new l,new l(null),new l(1.5),new l(t)},!0)||r(function(){return 1!==new l(new s(2),1,void 0).length})},NWlt:function(t,e,i){"use strict";var n=i("0sYB"),r=i("saPf");n({target:"String",proto:!0,forced:i("v0oN")("big")},{big:function(){return r(this,"big","","")}})},NZ9V:function(t,e,i){"use strict";i("1M4z");var n=i("z3p0"),r=i("6aQQ"),a=i("KslR"),o=i("4Wbs"),s=i("k2B3"),l=a("species"),u=!r(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),h="$0"==="a".replace(/./,"$0"),c=a("replace"),p=!!/./[c]&&""===/./[c]("a","$0"),d=!r(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]});t.exports=function(t,e,i,c){var f=a(t),g=!r(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)}),m=g&&!r(function(){var e=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[l]=function(){return i},i.flags="",i[f]=/./[f]),i.exec=function(){return e=!0,null},i[f](""),!e});if(!g||!m||"replace"===t&&(!u||!h||p)||"split"===t&&!d){var y=/./[f],v=i(f,""[t],function(t,e,i,n,r){return e.exec===o?g&&!r?{done:!0,value:y.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=v[0],x=v[1];n(String.prototype,t,b),n(RegExp.prototype,f,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}c&&s(RegExp.prototype[f],"sham",!0)}},Nfo5:function(t,e,i){var n=i("3weC"),r=i("HnbP"),a=i("KslR")("species");t.exports=function(t,e){var i,o=n(t).constructor;return void 0===o||void 0==(i=n(o)[a])?e:r(i)}},"Nv8/":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={};i.d(n,"System",function(){return m.a}),i.d(n,"system",function(){return m.b}),i.d(n,"BaseObject",function(){return y.a}),i.d(n,"BaseObjectEvents",function(){return y.b}),i.d(n,"Component",function(){return v.a}),i.d(n,"Container",function(){return b.a}),i.d(n,"DataItem",function(){return x.a}),i.d(n,"Sprite",function(){return _.a}),i.d(n,"SpriteEventDispatcher",function(){return P.a}),i.d(n,"SpriteState",function(){return w.a}),i.d(n,"registry",function(){return O.c}),i.d(n,"Registry",function(){return O.a}),i.d(n,"is",function(){return O.b}),i.d(n,"options",function(){return T.a}),i.d(n,"CSVParser",function(){return S.a}),i.d(n,"DataLoader",function(){return C.a}),i.d(n,"dataLoader",function(){return C.b}),i.d(n,"DataParser",function(){return I.a}),i.d(n,"DataSource",function(){return k.a}),i.d(n,"JSONParser",function(){return D.a}),i.d(n,"SVGDefaults",function(){return j.a}),i.d(n,"Button",function(){return V.a}),i.d(n,"Circle",function(){return A.a}),i.d(n,"Ellipse",function(){return M.a}),i.d(n,"Image",function(){return N}),i.d(n,"Label",function(){return L.a}),i.d(n,"Line",function(){return B.a}),i.d(n,"Popup",function(){return U.a}),i.d(n,"Modal",function(){return W.a}),i.d(n,"PointedRectangle",function(){return H.a}),i.d(n,"PointedShape",function(){return Y.a}),i.d(n,"Polyarc",function(){return z.a}),i.d(n,"Polygon",function(){return X.a}),i.d(n,"Polyline",function(){return G.a}),i.d(n,"Polyspline",function(){return K.a}),i.d(n,"Preloader",function(){return J}),i.d(n,"Rectangle",function(){return $.a}),i.d(n,"ResizeButton",function(){return tt.a}),i.d(n,"CloseButton",function(){return nt}),i.d(n,"SwitchButton",function(){return rt}),i.d(n,"RoundedRectangle",function(){return at.a}),i.d(n,"Scrollbar",function(){return ot.a}),i.d(n,"Slider",function(){return st}),i.d(n,"Slice",function(){return Z.a}),i.d(n,"TextLink",function(){return lt.a}),i.d(n,"Tooltip",function(){return ut.a}),i.d(n,"Trapezoid",function(){return ht.a}),i.d(n,"Triangle",function(){return ct.a}),i.d(n,"WavedCircle",function(){return pt.a}),i.d(n,"WavedLine",function(){return dt.a}),i.d(n,"WavedRectangle",function(){return ft.a}),i.d(n,"ZoomOutButton",function(){return gt.a}),i.d(n,"PlayButton",function(){return mt}),i.d(n,"Cone",function(){return yt.a}),i.d(n,"Rectangle3D",function(){return vt.a}),i.d(n,"Slice3D",function(){return bt.a}),i.d(n,"Export",function(){return xt.a}),i.d(n,"ExportMenu",function(){return _t.a}),i.d(n,"DateFormatter",function(){return Pt.a}),i.d(n,"DurationFormatter",function(){return wt.a}),i.d(n,"NumberFormatter",function(){return Ot.a}),i.d(n,"TextFormatter",function(){return Tt.a}),i.d(n,"getTextFormatter",function(){return Tt.b}),i.d(n,"Inertia",function(){return St.a}),i.d(n,"Interaction",function(){return Ct.a}),i.d(n,"getInteraction",function(){return Ct.b}),i.d(n,"InteractionKeyboardObject",function(){return It.a}),i.d(n,"InteractionObject",function(){return kt.a}),i.d(n,"InteractionObjectEventDispatcher",function(){return Dt.a}),i.d(n,"MouseCursorStyle",function(){return it.a}),i.d(n,"AMElement",function(){return jt.a}),i.d(n,"Group",function(){return Vt.a}),i.d(n,"Paper",function(){return At.a}),i.d(n,"Tension",function(){return Mt.d}),i.d(n,"Basis",function(){return Mt.a}),i.d(n,"SVGContainer",function(){return Ft.a}),i.d(n,"ColorModifier",function(){return Et.a}),i.d(n,"LinearGradient",function(){return Rt.a}),i.d(n,"LinearGradientModifier",function(){return Nt.a}),i.d(n,"RadialGradientModifier",function(){return Bt}),i.d(n,"LinePattern",function(){return Ut.a}),i.d(n,"CirclePattern",function(){return Wt.a}),i.d(n,"Pattern",function(){return Ht.a}),i.d(n,"RadialGradient",function(){return Lt.a}),i.d(n,"RectPattern",function(){return Yt.a}),i.d(n,"ColorizeFilter",function(){return Xt}),i.d(n,"DesaturateFilter",function(){return Gt.a}),i.d(n,"DropShadowFilter",function(){return Kt.a}),i.d(n,"BlurFilter",function(){return qt}),i.d(n,"Filter",function(){return zt.a}),i.d(n,"FocusFilter",function(){return Zt}),i.d(n,"LightenFilter",function(){return Qt.a}),i.d(n,"GlobalAdapter",function(){return Jt.b}),i.d(n,"globalAdapter",function(){return Jt.c}),i.d(n,"Adapter",function(){return Jt.a}),i.d(n,"Animation",function(){return $t.a}),i.d(n,"animate",function(){return $t.c}),i.d(n,"nextFrame",function(){return te.a}),i.d(n,"readFrame",function(){return te.c}),i.d(n,"writeFrame",function(){return te.f}),i.d(n,"whenIdle",function(){return te.e}),i.d(n,"triggerIdle",function(){return te.d}),i.d(n,"Cache",function(){return ee.a}),i.d(n,"cache",function(){return ee.b}),i.d(n,"Color",function(){return ie.a}),i.d(n,"color",function(){return ie.c}),i.d(n,"isColor",function(){return ie.d}),i.d(n,"castColor",function(){return ie.b}),i.d(n,"ColorSet",function(){return ne.a}),i.d(n,"PatternSet",function(){return re.a}),i.d(n,"InterfaceColorSet",function(){return q.a}),i.d(n,"DictionaryDisposer",function(){return ae.b}),i.d(n,"Dictionary",function(){return ae.a}),i.d(n,"DictionaryTemplate",function(){return ae.c}),i.d(n,"Disposer",function(){return oe.b}),i.d(n,"MultiDisposer",function(){return oe.c}),i.d(n,"MutableValueDisposer",function(){return oe.d}),i.d(n,"CounterDisposer",function(){return oe.a}),i.d(n,"StyleRule",function(){return E.c}),i.d(n,"StyleClass",function(){return E.b}),i.d(n,"getElement",function(){return E.q}),i.d(n,"addClass",function(){return E.f}),i.d(n,"removeClass",function(){return E.y}),i.d(n,"blur",function(){return E.h}),i.d(n,"focus",function(){return E.o}),i.d(n,"outerHTML",function(){return E.w}),i.d(n,"isElement",function(){return E.t}),i.d(n,"copyAttributes",function(){return E.j}),i.d(n,"fixPixelPerfect",function(){return E.n}),i.d(n,"ready",function(){return E.x}),i.d(n,"EventDispatcher",function(){return se.a}),i.d(n,"TargetedEventDispatcher",function(){return se.b}),i.d(n,"ListIterator",function(){return le.ListIterator}),i.d(n,"min",function(){return le.min}),i.d(n,"max",function(){return le.max}),i.d(n,"join",function(){return le.join}),i.d(n,"Keyboard",function(){return ue.a}),i.d(n,"keyboard",function(){return ue.b}),i.d(n,"Language",function(){return he.a}),i.d(n,"IndexedIterable",function(){return ce.a}),i.d(n,"ListGrouper",function(){return ce.d}),i.d(n,"ListDisposer",function(){return ce.c}),i.d(n,"List",function(){return ce.b}),i.d(n,"ListTemplate",function(){return ce.e}),i.d(n,"Morpher",function(){return pe.a}),i.d(n,"reverse",function(){return de.b}),i.d(n,"or",function(){return de.a}),i.d(n,"Percent",function(){return Q.a}),i.d(n,"percent",function(){return Q.c}),i.d(n,"isPercent",function(){return Q.b}),i.d(n,"Plugin",function(){return fe.a}),i.d(n,"Responsive",function(){return ge.a}),i.d(n,"ResponsiveBreakpoints",function(){return ge.b}),i.d(n,"defaultRules",function(){return ge.c}),i.d(n,"OrderedList",function(){return me.a}),i.d(n,"SortedList",function(){return me.c}),i.d(n,"OrderedListTemplate",function(){return me.b}),i.d(n,"SortedListTemplate",function(){return me.d}),i.d(n,"PX",function(){return ye.f}),i.d(n,"STRING",function(){return ye.g}),i.d(n,"NUMBER",function(){return ye.c}),i.d(n,"DATE",function(){return ye.a}),i.d(n,"DURATION",function(){return ye.b}),i.d(n,"PLACEHOLDER",function(){return ye.d}),i.d(n,"PLACEHOLDER2",function(){return ye.e}),i.d(n,"isNaN",function(){return R.isNaN}),i.d(n,"checkString",function(){return R.checkString}),i.d(n,"checkBoolean",function(){return R.checkBoolean}),i.d(n,"checkNumber",function(){return R.checkNumber}),i.d(n,"checkObject",function(){return R.checkObject}),i.d(n,"castString",function(){return R.castString}),i.d(n,"castNumber",function(){return R.castNumber}),i.d(n,"isString",function(){return R.isString}),i.d(n,"isNumber",function(){return R.isNumber}),i.d(n,"isObject",function(){return R.isObject}),i.d(n,"isArray",function(){return R.isArray}),i.d(n,"Validatable",function(){return ve.a}),i.d(n,"path",function(){return et}),i.d(n,"colors",function(){return be}),i.d(n,"ease",function(){return xe}),i.d(n,"math",function(){return _e}),i.d(n,"array",function(){return Pe}),i.d(n,"number",function(){return we}),i.d(n,"object",function(){return Oe}),i.d(n,"string",function(){return Te}),i.d(n,"time",function(){return Se}),i.d(n,"utils",function(){return Ce}),i.d(n,"iter",function(){return le}),i.d(n,"type",function(){return R}),i.d(n,"net",function(){return Ie}),i.d(n,"create",function(){return Re}),i.d(n,"createFromConfig",function(){return Ne}),i.d(n,"createDeferred",function(){return Le}),i.d(n,"disposeAllCharts",function(){return Ve}),i.d(n,"useTheme",function(){return Ue}),i.d(n,"unuseTheme",function(){return We}),i.d(n,"unuseAllThemes",function(){return He}),i.d(n,"addLicense",function(){return Ye});const r=window.Promise,a=r&&r.prototype.then,o=r&&r.prototype.catch,s=r&&r.prototype.finally,l=r&&r.reject,u=r&&r.resolve,h=r&&r.allSettled,c=r&&r.all,p=r&&r.race,d=window.fetch,f=String.prototype.startsWith,g=String.prototype.endsWith;i("nj15");var m=i("Rpw0"),y=i("Tjl+"),v=i("Y9w3"),b=i("C6dT"),x=i("A6AV"),_=i("Vs7R"),P=i("kQxV"),w=i("ux7t"),O=i("aCit"),T=i("Q4nc"),S=i("4DCw"),C=i("Mpxm"),I=i("mIpt"),k=i("EjGA"),D=i("ZhuL"),j=i("hpNl"),V=i("aGXA"),A=i("FzPm"),M=i("Ybtf"),F=i("m4/l"),E=i("58Sn"),R=i("Mtpk"),N=function(t){function e(){var e=t.call(this)||this;return e.className="Image",e.element=e.paper.add("image"),e.applyTheme(),e.width=50,e.height=50,e}return Object(F.c)(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),this.href){var e=this.innerWidth,i=this.innerHeight;R.isNumber(this.widthRatio)&&(e=i*this.widthRatio,this.width=e),R.isNumber(this.heightRatio)&&(i=e*this.heightRatio,this.height=i),this.element.attr({width:e,height:i}),this.element.attrNS(E.d,"xlink:href",this.href)}},Object.defineProperty(e.prototype,"href",{get:function(){return this.getPropertyValue("href")},set:function(t){this.setPropertyValue("href",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widthRatio",{get:function(){return this.getPropertyValue("widthRatio")},set:function(t){this.setPropertyValue("widthRatio",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"heightRatio",{get:function(){return this.getPropertyValue("heightRatio")},set:function(t){this.setPropertyValue("heightRatio",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bbox",{get:function(){return{x:0,y:0,width:this.pixelWidth,height:this.pixelHeight}},enumerable:!0,configurable:!0}),e}(_.a);O.c.registeredClasses.Image=N;var L=i("p9TX"),B=i("PTiM"),U=i("UsNi"),W=i("W8Sc"),H=i("MZQ8"),Y=i("1qam"),z=i("MXvJ"),X=i("R6wv"),G=i("jfaP"),K=i("xgTw"),q=i("MIZb"),Z=i("Inf5"),Q=i("tjMS"),J=function(t){function e(){var e=t.call(this)||this;e.className="Preloader",e.width=Object(Q.c)(100),e.height=Object(Q.c)(100);var i=new q.a,n=e.createChild(b.a);n.shouldClone=!1;var r=n.createChild(Z.a);r.shouldClone=!1,r.radius=53,r.arc=360,r.fill=i.getFor("fill"),r.fillOpacity=.8,r.innerRadius=42,r.isMeasured=!1,e.backgroundSlice=r;var a=n.createChild(Z.a);a.shouldClone=!1,a.radius=50,a.innerRadius=45,a.fill=i.getFor("alternativeBackground"),a.fillOpacity=.2,a.isMeasured=!1,e.progressSlice=a;var o=n.createChild(L.a);return o.shouldClone=!1,o.horizontalCenter="middle",o.verticalCenter="middle",o.isMeasured=!1,o.fill=i.getFor("text"),o.align="center",o.valign="middle",o.textAlign="middle",o.fillOpacity=.4,e.label=o,e.background.opacity=1,e.background.fill=i.getFor("background"),e.contentAlign="center",e.contentValign="middle",e.delay=300,e.states.create("hidden").properties.opacity=0,e.visible=!1,e.hide(0),e.__disabled=!0,e._disposers.push(e.backgroundSlice),e._disposers.push(e.progressSlice),e._disposers.push(e.label),e._disposers.push(n),e}return Object(F.c)(e,t),Object.defineProperty(e.prototype,"progress",{get:function(){return this.getPropertyValue("progress")},set:function(t){var e=this;this.__disabled=!1,this.validateLayout(),this.setPropertyValue("progress",t),this.progressSlice.arc=360*t,this.label&&(this.label.text=Math.round(100*t)+"%"),t>=1?(this._started&&(this._started=void 0),O.c.events.once("enterframe",function(){var t=e.hide();t&&!t.isFinished()?t.events.once("animationended",function(){e.__disabled=!0}):e.__disabled=!0}),this.interactionsEnabled=!1,this.setPropertyValue("progress",0)):t>0&&(this.delay?this._started?this._started+this.delay<=(new Date).getTime()&&(this.__disabled=!1,this.show(),this.interactionsEnabled=!0):this._started=(new Date).getTime():(this.__disabled=!1,this.show(),this.interactionsEnabled=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"delay",{get:function(){return this.getPropertyValue("delay")},set:function(t){this.setPropertyValue("delay",t)},enumerable:!0,configurable:!0}),e}(b.a);O.c.registeredClasses.Preloader=J;var $=i("GtDR"),tt=i("xIv9"),et=i("hGwe"),it=i("qCRI"),nt=function(t){function e(){var e=t.call(this)||this;e.className="CloseButton",e.padding(8,8,8,8),e.showSystemTooltip=!0,e.width=30,e.height=30;var i=new q.a;e.cursorOverStyle=it.a.pointer;var n=e.background;n.cornerRadius(20,20,20,20);var r=i.getFor("background");n.fill=r,n.stroke=i.getFor("primaryButton"),n.strokeOpacity=1,n.strokeWidth=1;var a=i.getFor("primaryButtonActive"),o=n.states.getKey("hover");o.properties.strokeWidth=3,o.properties.fill=r;var s=n.states.getKey("down");s.properties.stroke=a,s.properties.fill=r;var l=new _.a;return l.element=e.paper.add("path"),l.stroke=n.stroke,e.icon=l,e.applyTheme(),e}return Object(F.c)(e,t),e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.pixelWidth/3,i=this.pixelHeight/3,n=et.moveTo({x:-e/2,y:-i/2});n+=et.lineTo({x:e/2,y:i/2}),n+=et.moveTo({x:e/2,y:-i/2}),n+=et.lineTo({x:-e/2,y:i/2}),this.icon.path=n,this.invalidateLayout()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),R.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Close"))},e}(V.a);O.c.registeredClasses.CloseButton=nt;var rt=function(t){function e(){var e=t.call(this)||this;e.className="SwitchButton",e.tooltipY=0,e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16),e.setStateOnChildren=!0,e.states.create("active");var i=new q.a,n=new L.a;n.fillOpacity=.3,n.states.create("active").properties.fillOpacity=1,n.isActive=!0,e.leftLabel=n;var r=new V.a,a=new A.a;r.contentValign="none",r.padding(0,0,0,0),a.radius=10,r.icon=a,r.icon.valign="middle",r.label=void 0;var o=Object(Q.c)(100);r.background.cornerRadius(o,o,o,o),r.width=3.5*a.radius,r.height=2.1*a.radius,r.marginLeft=8,r.marginRight=8,r.togglable=!0,a.dx=.7*-a.radius,a.fill=i.getFor("primaryButton"),a.states.create("hover").properties.fill=i.getFor("primaryButtonHover");var s=a.states.create("active");s.properties.fill=i.getFor("primaryButtonActive"),s.properties.dx=.7*a.radius,e.switchButton=r,e.events.on("toggled",function(){e.leftLabel.isActive=!e.isActive,e.rightLabel.isActive=e.isActive});var l=new L.a;return l.fillOpacity=.3,l.states.create("active").properties.fillOpacity=1,e.rightLabel=l,e.role="button",e.focusable=!0,l.valign="middle",n.valign="middle",r.valign="middle",e.applyTheme(),e}return Object(F.c)(e,t),Object.defineProperty(e.prototype,"leftLabel",{get:function(){return this._leftLabel},set:function(t){this._leftLabel&&this.removeDispose(this._leftLabel),this._leftLabel=t,t&&(t.parent=this,t.interactionsEnabled=!1,t.shouldClone=!1,this._disposers.push(this._leftLabel))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightLabel",{get:function(){return this._rightLabel},set:function(t){this._rightLabel&&this.removeDispose(this._rightLabel),this._rightLabel=t,t&&(t.parent=this,t.interactionsEnabled=!1,t.shouldClone=!1,this._disposers.push(this._rightLabel))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"switch",{get:function(){return this._switchButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"switchButton",{set:function(t){this._switchButton&&this.removeDispose(this._switchButton),this._switchButton=t,t&&(t.parent=this,t.shouldClone=!1,this._disposers.push(this._switchButton))},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.leftLabel&&this.leftLabel.copyFrom(e.leftLabel),e.rightLabel&&this.rightLabel.copyFrom(e.rightLabel),e.switchButton&&this.switchButton.copyFrom(e.switchButton)},e}(b.a);O.c.registeredClasses.SwitchButton=rt;var at=i("CnhP"),ot=i("ISWh"),st=function(t){function e(){var e=t.call(this)||this;return e.className="Slider",e.thumb.opacity=0,e.thumb.interactionsEnabled=!1,e.endGrip.opacity=0,e.endGrip.interactionsEnabled=!1,e.startGrip.events.on("drag",function(){e.endGrip.x=e.startGrip.x,e.endGrip.y=e.startGrip.y}),e.applyTheme(),e}return Object(F.c)(e,t),Object.defineProperty(e.prototype,"__end",{get:function(){return this._start},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._start},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._start},set:function(t){this._isBusy||(this.__start=t)},enumerable:!0,configurable:!0}),e}(ot.a);O.c.registeredClasses.Slider=st;var lt=i("Trvg"),ut=i("cxKZ"),ht=i("DziZ"),ct=i("Rnbi"),pt=i("Vk33"),dt=i("ND2/"),ft=i("w4m0"),gt=i("BEgH"),mt=function(t){function e(){var e=t.call(this)||this;e.className="PlayButton",e.padding(12,12,12,12),e.showSystemTooltip=!0;var i=new q.a,n=e.background;n.cornerRadius(25,25,25,25),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var r=new ct.a;r.direction="right",r.width=9,r.height=11,r.marginLeft=1,r.marginRight=1,r.horizontalCenter="middle",r.verticalCenter="middle",r.stroke=i.getFor("primaryButtonText"),r.fill=r.stroke,e.icon=r;var a=new at.a;a.width=11,a.height=11,a.horizontalCenter="middle",a.verticalCenter="middle",a.cornerRadius(0,0,0,0),a.stroke=i.getFor("primaryButtonText"),a.fill=r.stroke,e.togglable=!0;var o=e.states.create("active");return o.transitionDuration=0,o.properties.icon=a,e.defaultState.transitionDuration=0,e.applyTheme(),e}return Object(F.c)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),R.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Play"))},e}(V.a);O.c.registeredClasses.PlayButton=mt;var yt=i("ncT3"),vt=i("Mr4Y"),bt=i("nPzZ"),xt=i("GAaQ"),_t=i("qJno"),Pt=i("7XB+"),wt=i("akNo"),Ot=i("CTEm"),Tt=i("MipW"),St=i("0PyG"),Ct=i("zhwk"),It=i("Oe1l"),kt=i("vbOF"),Dt=i("YotE"),jt=i("pzs1"),Vt=i("cOH5"),At=i("P7v+"),Mt=i("aFzC"),Ft=i("HDh7"),Et=i("DA7/"),Rt=i("sxA1"),Nt=i("/e9j"),Lt=i("CuFa"),Bt=function(t){function e(){var e=t.call(this)||this;return e.className="RadialGradientModifier",e.gradient=new Lt.a,e.applyTheme(),e}return Object(F.c)(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(i("3/51").a);O.c.registeredClasses.RadialGradientModifier=Bt;var Ut=i("WODi"),Wt=i("TZWN"),Ht=i("ZLF9"),Yt=i("2gKx"),zt=i("ohjg"),Xt=function(t){function e(){var e=t.call(this)||this;return e.className="ColorizeFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"matrix"}),e.filterPrimitives.push(e.feColorMatrix),e.intensity=1,e.applyTheme(),e}return Object(F.c)(e,t),e.prototype.applyFilter=function(){var t,e,i,n=this.intensity,r=1-n,a=this.color;a&&a.rgb?(t=a.rgb.r/255*n,e=a.rgb.g/255*n,i=a.rgb.b/255*n):(t=0,e=0,i=0),this.feColorMatrix.attr({values:r+" 0 0 0 "+t+" 0 "+r+" 0 0 "+e+" 0 0 "+r+" 0 "+i+" 0 0 0 1 0"})},Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.properties.color=t,this.applyFilter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intensity",{get:function(){return this.properties.intensity},set:function(t){this.properties.intensity=t,this.applyFilter()},enumerable:!0,configurable:!0}),e}(zt.a);O.c.registeredClasses.ColorizeFilter=Xt;var Gt=i("85D4"),Kt=i("VAFc"),qt=function(t){function e(){var e=t.call(this)||this;return e.className="BlurFilter",e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.width=200,e.height=200,e.blur=1.5,e.applyTheme(),e}return Object(F.c)(e,t),Object.defineProperty(e.prototype,"blur",{get:function(){return this.properties.blur},set:function(t){this.properties.blur=t,this.feGaussianBlur.attr({stdDeviation:t/this.scale})},enumerable:!0,configurable:!0}),e}(zt.a);O.c.registeredClasses.BlurFilter=qt;var Zt=function(t){function e(){var e=t.call(this)||this;return e.className="FocusFilter",e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":(new q.a).getFor("primaryButtonHover"),result:"base"}),e.filterPrimitives.push(e.feFlood),e.feMorphology=e.paper.add("feMorphology"),e.feMorphology.attr({result:"bigger",in:"SourceGraphic",operator:"dilate",radius:"2"}),e.filterPrimitives.push(e.feMorphology),e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({result:"mask",in:"bigger",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"}),e.filterPrimitives.push(e.feColorMatrix),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({result:"drop",in:"base",in2:"mask",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feBlend=e.paper.add("feBlend"),e.feBlend.attr({in:"SourceGraphic",in2:"drop",mode:"normal"}),e.filterPrimitives.push(e.feBlend),e.width=130,e.height=130,e.applyTheme(),e}return Object(F.c)(e,t),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(t){this.properties.stroke=t,this.feFlood.attr({"flood-color":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(t){this.properties.strokeWidth=t,this.feMorphology.attr({radius:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(t){this.properties.opacity=t,this.feColorMatrix.attr({values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "+t+" 0"})},enumerable:!0,configurable:!0}),e.prototype.setSprite=function(e){this._sprite&&this._sprite!=e&&this._sprite.group.removeStyle("outline"),e.group.addStyle({outline:"none"}),t.prototype.setSprite.call(this,e)},e}(zt.a),Qt=i("C84C"),Jt=i("x79X"),$t=i("1yyj"),te=i("/9XX"),ee=i("eCqC"),ie=i("8ZqG"),ne=i("DHte"),re=i("W0E6"),ae=i("+qIf"),oe=i("hD5A"),se=i("o0Lc"),le=i("Wglt"),ue=i("WYhe"),he=i("P/bD"),ce=i("vMqJ"),pe=i("oC3T"),de=i("MlsF"),fe=i("Iz1H"),ge=i("TGuK"),me=i("VGgz"),ye=i("ScGY"),ve=i("/IEW"),be=i("hxI2"),xe=i("0FpR"),_e=i("Gg2j"),Pe=i("hJ5i"),we=i("3Cxr"),Oe=i("Qkdp"),Te=i("wUYf"),Se=i("L91H"),Ce=i("v9UT"),Ie=i("OVUc"),ke=function(t){function e(){var e=t.call(this)||this;e.className="AmChartsLogo",e.valign="bottom";var i=.3;e.opacity=.3,e.defaultState.properties.opacity=.4,e.url="https://www.amcharts.com/",e.urlTarget="_blank",e.showSystemTooltip=!0,e.readerTitle="Chart created using amCharts library",e.width=66,e.height=21,e.background.opacity=0;var n=Object(ie.c)("#474758");"#ffffff"==(new q.a).getFor("background").alternative.hex&&(n=Object(ie.c)("#ffffff"));var r=new Rt.a;r.addColor(n),r.addColor(n,1,.75),r.addColor(Object(ie.c)("#3cabff"),1,.755),r.rotation=-10;var a=r,o=e.createChild(K.a);o.shouldClone=!1,o.isMeasured=!1,o.segments=[[{x:15,y:15},{x:27,y:15},{x:36,y:6},{x:40.5,y:10.5},{x:45,y:6},{x:54,y:15},{x:60,y:15}]],o.strokeWidth=6*i,o.tensionX=.8,o.tensionY=1,o.stroke=Object(ie.c)("#3cabff");var s=e.createChild(K.a);s.shouldClone=!1,s.isMeasured=!1,s.segments=[[{x:6,y:15},{x:15,y:15},{x:27,y:12*i},{x:39.9,y:15},{x:51,y:15},{x:60,y:15}]],s.strokeWidth=6*i,s.tensionX=.75,s.tensionY=1,s.stroke=a,e._disposers.push(s);var l=new Gt.a;e.filters.push(l);var u=new Gt.a;u.saturation=1;var h=e.states.create("hover");return h.properties.opacity=1,h.filters.push(u),e.applyTheme(),e}return Object(F.c)(e,t),e}(b.a),De=i("pjXm");function je(t,e){var i=E.q(t),n=!1;if(i||((i=document.createElement("div")).style.width="200px",i.style.height="200px",i.style.visibility="hidden",i.style.position="absolute",document.body.appendChild(i),n=!0),i){i.innerHTML="";var r=new Ft.a(i),a=new At.a(r.SVGContainer,"svg-"+(Ft.b.length-1)),o=new b.a;o.htmlContainer=i,o.svgContainer=r,o.width=Object(Q.c)(100),o.height=Object(Q.c)(100),o.background.fillOpacity=0,o.paper=a,a.append(o.group),n&&E.x(function(){o.moveHtmlContainer(t)}),o.relativeWidth=1,o.relativeHeight=1,r.container=o;var s=o.createChild(e);s.topParent=o;var l=s.uid;O.c.invalidSprites[l]=[],O.c.invalidDatas[l]=[],O.c.invalidPositions[l]=[],O.c.invalidLayouts[l]=[],o.baseId=l,s.isBaseSprite=!0,s.focusFilter=new Zt,O.c.baseSprites.push(s),O.c.baseSpritesByUid[l]=s,s.maskRectangle={x:0,y:0,width:Math.max(r.width||0,0),height:Math.max(r.height||0,0)},o.events.on("maxsizechanged",function(t){0!=t.previousWidth&&0!=t.previousHeight||o.deepInvalidate(),s.maskRectangle&&(s.maskRectangle={x:0,y:0,width:Math.max(r.width||0,0),height:Math.max(r.height||0,0)})});var u=null,h=function(){s.isDisposed()?u=null:null==E.r(s.dom)?(T.a.autoDispose?(o.htmlContainer=void 0,r.htmlElement=void 0,s.dispose()):De.b("Chart was not disposed",s.uid),u=null):u=window.setTimeout(h,1e3)};h(),s.addDisposer(new oe.b(function(){null!==u&&clearTimeout(u),Pe.remove(O.c.baseSprites,s),O.c.baseSpritesByUid[s.uid]=void 0})),s.addDisposer(o);var c=o.createChild(b.a);c.topParent=o,c.width=Object(Q.c)(100),c.height=Object(Q.c)(100),c.isMeasured=!1,o.tooltipContainer=c,s.tooltip=new ut.a,s.tooltip.hide(0),s.tooltip.setBounds({x:0,y:0,width:c.maxWidth,height:c.maxHeight}),c.events.on("maxsizechanged",function(){R.getValue(s.tooltip).setBounds({x:0,y:0,width:c.maxWidth,height:c.maxHeight})},void 0,!1);var p=new J;if(p.events.on("inited",function(){p.__disabled=!0},void 0,!1),o.preloader=p,s instanceof b.a&&!s.hasLicense()){var d=c.createChild(ke);c.events.on("maxsizechanged",function(t){c.maxWidth<=100||c.maxHeight<=50?d.hide():(d.isHidden||d.isHiding)&&d.show()},void 0,!1),s.logo=d,d.align="left",d.valign="bottom"}if(Ce.used(s.numberFormatter),o.isStandaloneInstance=!0,T.a.onlyShowOnViewport)if(E.u(i,T.a.viewportTarget))T.a.queue&&Ae(s);else{s.__disabled=!0,s.tooltipContainer.__disabled=!0;var f=[E.g(window,"DOMContentLoaded",function(){Fe(s)}),E.g(window,"load",function(){Fe(s)}),E.g(window,"resize",function(){Fe(s)}),E.g(window,"scroll",function(){Fe(s)})];if(T.a.viewportTarget)for(var g=R.isArray(T.a.viewportTarget)?T.a.viewportTarget:T.a.viewportTarget?[T.a.viewportTarget]:[],y=0;y=0){O.c.queue.splice(O.c.queue.indexOf(t),1);var i=O.c.queue[e];i&&Ee(i)}}function Fe(t){t.__disabled&&E.u(t.htmlContainer,T.a.viewportTarget)&&(t.vpDisposer&&t.vpDisposer.dispose(),Ae(t))}function Ee(t){t.__disabled=!1,t.tooltipContainer.__disabled=!1,t.events.enableType("appeared"),t.dispatch("removedfromqueue"),t.showOnInit&&t.events.on("appeared",function(){Me(t)}),t.vpDisposer&&t.vpDisposer.dispose(),t instanceof b.a&&t.invalidateLabels(),t.tooltipContainer&&t.tooltipContainer.invalidateLayout(),t instanceof v.a?(t.invalidateData(),t.reinit(),t.events.once("datavalidated",function(){t.showOnInit?t.appear():Me(t)})):(t.reinit(),t.events.once("inited",function(){Me(t)}),t.showOnInit&&t.appear())}function Re(t,e){var i;R.isString(e)&&(R.hasValue(O.c.registeredClasses[e])?e=O.c.registeredClasses[e]:(e=O.c.registeredClasses.Container,i=new Error("Class ["+e+"] is not loaded.")));var n=je(t,e);return i&&n.raiseCriticalError(i),n}function Ne(t,e,i){var n,r;R.hasValue(i)||(i=t.type,delete t.type),R.hasValue(e)||(e=t.container,delete t.container),R.isString(i)&&R.hasValue(O.c.registeredClasses[i])?n=O.c.registeredClasses[i]:"function"!=typeof i?(n=b.a,r=new Error("Class ["+i+"] is not loaded.")):n=i;var a=je(e,n);return r?a.raiseCriticalError(r):a.config=t,a}function Le(t,e){for(var i=[],n=2;nn+.2)a.hide(0);else{var o=c.spritePointToSprite({x:0,y:0},this.gridContainer,a.parent).x;a.path=h.moveTo({x:0,y:0})+h.lineTo({x:i,y:0}),a.moveTo({x:o,y:r}),a.show(0)}},e.prototype.updateLabelElement=function(t,e,i,n){p.hasValue(n)||(n=t.location),e+=(i-e)*n,t.isMeasured=!t.inside;var r,a=this.positionToPoint(e),o=0,s=this.gridContainer.maxWidth;this.opposite?(t.inside?(r="right","left"==t.align&&(o=-s,r="left"),"center"==t.align&&(o=-s/2,r="middle")):r="left",a.x=0+o):(t.inside?(r="left","right"==t.align&&(o=s,r="right"),"center"==t.align&&(o=s/2,r="middle")):r="right",a.x=this.measuredWidth+o),0==t.rotation&&(t.horizontalCenter=r),this.positionItem(t,a),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.updateBreakElement=function(e){t.prototype.updateBreakElement.call(this,e);var i=e.startLine,n=e.endLine,r=e.fillShape,a=e.startPoint,o=e.endPoint,s=e.pixelMarginLeft,l=this.getWidth()-e.pixelMarginLeft-e.pixelMarginRight;a.y=u.fitToRange(a.y,-1,this.axisLength+1),o.y=u.fitToRange(o.y,-1,this.axisLength+1),a.y==o.y&&(a.y<0||a.y>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1;var h=Math.abs(l-s);i.x=s,i.height=0,i.width=h,n.x=s,n.height=0,n.width=h,r.width=h,r.height=Math.abs(o.y-a.y),r.x=s,r.y=o.y},e.prototype.createBreakSprites=function(t){t.startLine=new a.a,t.endLine=new a.a;var e=new o.a;e.setWavedSides(!0,!1,!0,!1),t.fillShape=e},e.prototype.positionToCoordinate=function(t){var e=this.axis,i=e.axisFullLength;return e.renderer.inversed?(t-e.start)*i:(e.end-t)*i},e.prototype.updateBullet=function(t,e,i){var n=.5;t instanceof f.a&&(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);r.x=c.spritePointToSprite({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.positionItem(t,r),this.toggleVisibility(t,e,0,1)},e}(r.a);s.c.registeredClasses.AxisRendererY=g,d.c.push({relevant:d.b.widthS,state:function(t,e){if(t instanceof g){var i=t.states.create(e);return i.properties.inside=!0,i.properties.maxLabelPosition=.9,i.properties.minLabelPosition=.1,i}return null}}),d.c.push({relevant:d.b.widthXS,state:function(t,e){if(t instanceof g){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},Oe1l:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i("zhwk"),r=i("Rpw0"),a=i("hJ5i"),o=function(){function t(t,e){this._disposed=!1,this.directionX=0,this.directionY=0,this.interaction=t,this.keyboardEvent=e,this._startedOn=(new Date).getTime(),Object(n.b)().processDragStart(t),r.b.animations.push(this),this.update()}return t.prototype.update=function(){var t=this.interaction,e=Object(n.b)().getKeyboardOption(t,"speed"),i=Object(n.b)().getKeyboardOption(t,"accelleration"),r=Object(n.b)().getKeyboardOption(t,"accellerationDelay"),a={x:0,y:0};this.keyboardEvent.shiftKey?(e*=.5,i=1):this.keyboardEvent.ctrlKey&&(e*=2);var o=(new Date).getTime()-this._startedOn,s=o-r;if(i>0&&s>0){var l=o/r;o=r,a.x+=this.directionX*(e*i*l*s),a.y+=this.directionY*(e*i*l*s)}a.x+=this.directionX*(e*o),a.y+=this.directionY*(e*o),Object(n.b)().handleTransformMove(t,a,{x:0,y:0},this.keyboardEvent,!0,!1)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(Object(n.b)().processDragStop(this.interaction),a.remove(r.b.animations,this))},t}()},OhoW:function(t,e,i){"use strict";var n=i("NZ9V"),r=i("AzDz"),a=i("3weC"),o=i("swFJ"),s=i("Nfo5"),l=i("L0in"),u=i("tHyI"),h=i("Xw1K"),c=i("4Wbs"),p=i("6aQQ"),d=[].push,f=Math.min,g=!p(function(){return!RegExp(4294967295,"y")});n("split",2,function(t,e,i){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,i){var n=String(o(this)),a=void 0===i?4294967295:i>>>0;if(0===a)return[];if(void 0===t)return[n];if(!r(t))return e.call(n,t,a);for(var s,l,u,h=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,g=new RegExp(t.source,p+"g");(s=c.call(g,n))&&!((l=g.lastIndex)>f&&(h.push(n.slice(f,s.index)),s.length>1&&s.index=a));)g.lastIndex===s.index&&g.lastIndex++;return f===n.length?!u&&g.test("")||h.push(""):h.push(n.slice(f)),h.length>a?h.slice(0,a):h}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:e.call(this,t,i)}:e,[function(e,i){var r=o(this),a=void 0==e?void 0:e[t];return void 0!==a?a.call(e,r,i):n.call(String(r),e,i)},function(t,r){var o=i(n,t,this,r,n!==e);if(o.done)return o.value;var c=a(t),p=String(this),d=s(c,RegExp),m=c.unicode,y=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(g?"y":"g"),v=new d(g?c:"^(?:"+c.source+")",y),b=void 0===r?4294967295:r>>>0;if(0===b)return[];if(0===p.length)return null===h(v,p)?[p]:[];for(var x=0,_=0,P=[];_1?arguments[1]:void 0)})},Puh1:function(t,e,i){"use strict";i.d(e,"b",function(){return p}),i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("AC2I"),a=i("Inf5"),o=i("IbTV"),s=i("BmDP"),l=i("aCit"),u=i("Gg2j"),h=i("Mtpk"),c=i("tjMS"),p=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeriesDataItem",e.values.radiusValue={},e.applyTheme(),e}return Object(n.c)(e,t),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.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"])},e}(r.b),d=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries",e.alignLabels=!0,e.layout="none",e.labels.template.radius=Object(c.c)(5),e.addDisposer(e.labels.template.events.on("enabled",e.invalidate,e,!1)),e.applyTheme(),e}return Object(n.c)(e,t),e.prototype.createSlice=function(){return new a.a},e.prototype.createTick=function(){return new s.a},e.prototype.createLabel=function(){return new o.a},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),h.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pie Slice Series"))},e.prototype.createDataItem=function(){return new p},e.prototype.initSlice=function(t){t.isMeasured=!1,t.defaultState.properties.scale=1,t.observe("scale",this.handleSliceScale,this),t.observe(["dx","dy","x","y","shiftRadius"],this.handleSliceMove,this),t.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})",t.states.create("hover").properties.scale=1.05,t.defaultState.properties.shiftRadius=0,t.togglable=!0,t.events.on("toggled",function(t){t.target.hideTooltip()}),t.states.create("active").properties.shiftRadius=.1},e.prototype.validate=function(){this._leftItems=[],this._rightItems=[],this._currentStartAngle=this.startAngle,this._arcRect=u.getArcRect(this.startAngle,this.endAngle),this._maxRadiusPercent=0;for(var e=this.startIndex;ethis._maxRadiusPercent&&(this._maxRadiusPercent=i)}t.prototype.validate.call(this),this.alignLabels&&(this.startAngle>this.endAngle?this._rightItems.reverse():this._leftItems.reverse(),this._rightItems.sort(function(t,e){var i=(t.slice.middleAngle+360)%360,n=(e.slice.middleAngle+360)%360;return i>270&&(i-=360),n>270&&(n-=360),in?1:0}),this._leftItems.sort(function(t,e){var i=(t.slice.middleAngle+360)%360,n=(e.slice.middleAngle+360)%360;return in?-1:0}),this.arrangeLabels(this._rightItems),this.arrangeLabels2(this._rightItems),this.arrangeLabels(this._leftItems),this.arrangeLabels2(this._leftItems))},e.prototype.validateDataElement=function(e){if(this.pixelRadius>0){this.ignoreZeroValues&&0==e.value?e.__disabled=!0:e.__disabled=!1;var i=e.slice;if(i.radius=this.pixelRadius,h.isNumber(e.radiusValue)&&(i.radius=this.pixelInnerRadius+(this.pixelRadius-this.pixelInnerRadius)*e.values.radiusValue.percent/this._maxRadiusPercent),i.innerRadius instanceof c.a||(i.innerRadius=this.pixelInnerRadius),i.startAngle=this._currentStartAngle,i.arc=Math.abs(e.values.value.percent)*(this.endAngle-this.startAngle)/100,!this.labels.template.disabled){var n=e.label,r=e.tick;r.slice=i,r.label=n;var a=(i.middleAngle+360)%360,o=void 0;if(this.alignLabels){var s=n.pixelRadius(i.radius),l=r.length+s;n.dx=0,n.dy=0,n.verticalCenter="middle";var u=this._arcRect;a>270||a<=90?(l+=(u.width+u.x)*this.pixelRadius,n.horizontalCenter="left",this._rightItems.push(e)):(l-=u.x*this.pixelRadius,n.horizontalCenter="right",this._leftItems.push(e),l*=-1);var p=i.radius+r.length+s;o={x:l,y:i.iy*p},n.moveTo(o)}else{var d=i.depth;h.isNumber(d)||(d=0),n.fixPosition(i.middleAngle,i.radius,i.radiusY,0,-d)}}this._currentStartAngle+=i.arc,t.prototype.validateDataElement.call(this,e)}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return this._pixelRadius},set:function(t){this._pixelRadius!=t&&(this._pixelRadius=t,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},set:function(t){this._pixelInnerRadius!=t&&(this._pixelInnerRadius=t,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){var t=this.getPropertyValue("startAngle");return h.isNumber(t)?t:this._startAngleInternal},set:function(t){this.setPropertyValue("startAngle",u.normalizeAngle(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){var t=this.getPropertyValue("endAngle");return h.isNumber(t)?t:this._endAngleInternal},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice,n=e.locationX;h.isNumber(n)||(n=.5);var r=e.locationY;h.isNumber(r)||(r=1);var a=i.startAngle+i.arc*n;e.x=r*i.radius*u.cos(a),e.y=r*i.radiusY*u.sin(a)},e.prototype.handleSliceMove=function(t){if(!this.alignLabels){var e=t.target,i=e.dataItem;if(i){var n=i.label;n&&(n.dx=n.fdx+e.dx+e.pixelX,n.dy=n.fdy+e.dy+e.pixelY)}}},Object.defineProperty(e.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;var t=this.chart;return t?u.getArcRect(t.startAngle,t.endAngle,this.pixelRadius):u.getArcRect(this.startAngle,this.endAngle,this.pixelRadius)},enumerable:!0,configurable:!0}),e}(r.a);l.c.registeredClasses.PieSeries=d,l.c.registeredClasses.PieSeriesDataItem=p},Q0ab:function(t,e,i){"use strict";var n=i("0sYB"),r=i("X/sl").map,a=i("ugpH"),o=i("J+FZ"),s=a("map"),l=o("map");n({target:"Array",proto:!0,forced:!s||!l},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},Q4nc:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n={verbose:!0,commercialLicense:!1,classNamePrefix:"amcharts-",autoSetClassName:!1,minPolylineStep:.5,onlyShowOnViewport:!1,queue:!1,autoDispose:!1,licenses:[],suppressErrors:!1,suppressWarnings:!1,animationsEnabled:!0,nonce:"",deferredDelay:100,disableHoverOnTransform:"never"}},QKtu:function(t,e,i){var n=i("6aQQ");t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},QQDG:function(t,e,i){var n=i("0sYB"),r=i("5SyC"),a=Math.cosh,o=Math.abs,s=Math.E;n({target:"Math",stat:!0,forced:!a||a(710)===1/0},{cosh:function(t){var e=r(o(t)-1)+1;return(e+1/(e*s*s))*(s/2)}})},QgOz:function(t,e,i){"use strict";var n=i("UseD"),r=i("tHyI"),a=i("oxAz"),o=i("7X7h"),s=i("6aQQ"),l=n.aTypedArray;(0,n.exportTypedArrayMethod)("set",function(t){l(this);var e=a(arguments.length>1?arguments[1]:void 0,1),i=this.length,n=o(t),s=r(n.length),u=0;if(s+e>i)throw RangeError("Wrong length");for(;u94906265.62425156?o(t)+l:r(t-1+s(t-1)*s(t+1))}})},QzDi:function(t,e,i){var n,r=i("3weC"),a=i("Mdrz"),o=i("XhXf"),s=i("lt6Q"),l=i("fGTV"),u=i("BAfC"),h=i("fYap")("IE_PROTO"),c=function(){},p=function(t){return"